Commit Graph

41 Commits

Author SHA1 Message Date
shadcn
e8856d1dea feat: add input-otp (#2919)
* feat: add input-otp

* feat: update input-otp and add examples

* feat(input-otp): add controlled and form examples

* chore(input-otp): update to latest

* docs(www): fix example code for input-otp

* fix(www): disable menu
2024-03-07 22:57:33 +04:00
Gravy59
f3ff4a4fc3 fix(build): replace ts-node with tsx to resolve issues with modules (#1977)
This pull request resolves #1926 and prevents issues like it from happening in the future

## Rationale for this PR

This PR changes the TypeScript execution package for use in scripts like `build:registry` from `ts-node` to `tsx`. This is because `ts-node` has many difficult quirks to work through (and is slow). In addition, it also has a difficult to understand error for newcomers that *is* reproducible.

### The ts-node error

As shown in #1926, using `ts-node` (specifically in `build:registry`) results in this error: `Unknown file extension ".ts" for /ui/apps/www/scripts/build-registry.ts`. There are many issues in the `ts-node` repository documenting this problem:
* TypeStrong/ts-node/issues/1062
* TypeStrong/ts-node/issues/2033
* TypeStrong/ts-node/issues/1997

Switching the typescript-in-node system to `tsx`, which uses esbuild under the hood, resolves this error.

This PR shouldn't affect tests, representation, etc. and is merely a change of build tools. There is no urgent need to merge this.

I accidentally deleted the head repository on #1937. That will not happen again.
2024-01-28 09:18:18 +00:00
shadcn
0374ba874d feat(cli): add min-config support for Next.js (#2454)
* feat(cli): add zero-config support for Next.js

* chore: add changeset

* feat(cli): add preflight
2024-01-16 22:05:39 +04:00
shadcn
57d404b5d3 feat: new components (#2144) 2023-12-22 23:36:59 +04:00
Yahor Barkouski
5d2373fb7a fix(www): update faker version, reduce int() deprecation (#1832)
* fix: update faker version, reduce int() deprecation

* chore: pnpm format:write

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-11-12 22:12:58 +04:00
Chongyi Zheng
1ae9ffcf58 chore: upgrade @radix-ui/react-select to 2.0.0 (#1688) 2023-11-12 10:32:03 +00:00
shadcn
3c9f7ca0e2 feat: themes (#1135) 2023-08-07 22:39:16 +04:00
shadcn
54b1f5b661 feat: update next-template 2023-07-05 23:00:03 +04:00
shadcn
edc653c01e feat(shadcn-ui): add support for jsx (#834) 2023-07-04 23:22:20 +04:00
shadcn
f78a4aaa28 chore(www): site updates (#829)
* chore(www): update to latest Next.js

* feat(www): replace lucide icons
2023-07-04 17:04:22 +04:00
shadcn
ea6699adbf feat: restructure installation docs 2023-06-30 22:37:43 +04:00
Samuel Corsi-House
0f84973b4d fix(shadcn-ui): use @antfu/ni to detect package manager (#677)
* fix(cli): use @antfu/ni to detect package manager

* chore(cli): cleanup imports

* Create cyan-houses-dress.md

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-06-24 21:01:22 +04:00
shadcn
eeb17545a1 feat: new CLI, Styles and more (#637) 2023-06-22 22:44:52 +04:00
shadcn
eb27529f50 feat(next-template): update template and dependencies (#483)
* feat(next-template): update template and deps

* docs(next-template): update README

* fix(www): update deps

* chore: remove console.log
2023-05-29 11:02:02 +04:00
Prince Hernandez
dffbe89f7d feat(cli): add support for config file (#245)
* feat(cli): add config files and examples in docs

* docs(www): remove cli advanced options

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-05-28 10:21:11 +04:00
Daniel Rotärmel
5aecccc586 feat(cli): use https_proxy and consider previous install locations (#430)
* feat(cli): use system proxy

* feat(cli): adds default installation directory

* style: formatting

* feat: update lockfile

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-05-25 14:37:37 +04:00
shadcn
36881682cf feat: switch to stable next 2023-05-20 20:02:42 +04:00
shadcn
4ccff13f9c feat: react-hook-form (#377)
* feat(form): add form component

* feat(www): update site styles

* feat: add form examples

* docs(www): add docs for forms

* docs(www): hide tabs for docs demo
2023-05-19 22:56:49 +04:00
shadcn
f8272baf07 feat: add table and data table (#321) 2023-05-09 23:25:26 +04:00
shadcn
6e67107170 fix(www): update to canary with scrolling fix (#279) 2023-05-03 10:53:59 +04:00
shadcn
5e915756d5 feat(www): implement event tracking (#218)
* feat(www): implement event tracking

* fix(www): always show copy button

* fix(www): update align props for copy button
2023-04-20 12:21:50 +04:00
shadcn
68e1c5624a chore(www): update deps and fix CI errors (#204) 2023-04-19 13:22:53 +04:00
shadcn
2953c6cb0a fix(shadcn-ui): support for array of dependencies (#195) 2023-04-18 18:34:25 +04:00
shadcn
a703c6fb58 feat: CSS variables and CLI (#180) 2023-04-17 19:19:40 +04:00
shadcn
a243262748 feat(shadcn-ui): init command 2023-04-17 15:41:03 +04:00
shadcn
b5d43688b9 feat(shadcn-ui): add support for aliases 2023-04-17 12:59:57 +04:00
shadcn
a86af454cc chore: update pnpm lock 2023-04-01 06:47:39 +04:00
shadcn
3961f15dc6 fix: remove unist dependency 2023-04-01 06:46:01 +04:00
shadcn
92fe54184b feat: add COMPONENTS_BASE_URL for development (#115) 2023-03-08 17:50:06 +04:00
shadcn
385cc1a57d chore: add @changesets/changelog-github 2023-03-08 11:39:28 +04:00
shadcn
be701cf139 feat: add @shadcn/ui cli (#112) 2023-03-08 11:37:15 +04:00
shadcn
6da17138a6 feat(next-template): update to latest components 2023-02-19 10:26:04 +04:00
shadcn
7f092ca3c9 chore: temporarily remove logsnag (#91) 2023-02-16 13:13:06 +04:00
shadcn
e77f7d2d23 feat(examples): add example app (#80) 2023-02-13 21:28:40 +04:00
Vincent Dusautoir
a94375fb85 feat(toast): add toast component 2023-02-10 10:03:52 +04:00
shadcn
b09a75275a feat(command): add command component 2023-02-07 21:39:08 +04:00
Swapnanil Gupta
1334ac57be feat(toggle): add the Toggle component
* Added Toggle UI component

* Added Toggle examples and docs

* Added radix ui package installation instruction

* fix(toggle): simplify variants
2023-02-04 10:44:49 +04:00
shadcn
2420618bbd chore: update template 2023-01-29 21:32:02 +04:00
Vincent Dusautoir
a0b1f89455 feat: add navigation-menu (#31)
* feat: navigation-menu

* fix: export at the end

* fix: rounded-md

* fix: demo design

* rename: NavigationMenuRoot -> NavigationMenu

* feat: update roadmap

* feat: update style for navigation menu

* feat: implement navigation menu component

* feat: implement navigation menu for www

---------

Co-authored-by: shadcn <m@shadcn.com>
2023-01-29 21:28:13 +04:00
shadcn
e03e004d9a chore: update next and next/font 2023-01-29 13:36:06 +04:00
shadcn
0a241be17f feat: initial commit 2023-01-24 19:51:29 +04:00