Js Park
6f3050248c
docs(www): update installation of Astro ( #1958 )
...
- The latest version of Astro generates `tailwind.config.mjs` file instead of `tailwind.config.cjs`.
- The `index.astro` file is located in `/src/pages`.
2023-11-19 07:24:12 +00:00
Danilo Britto
9f3ae7746f
docs(www): add indeterminate state checkboxes on all data table demos and code examples ( #1959 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-11-19 11:15:44 +04:00
Max Wiseman
1db90baaf2
feat(toggle-group): add toggle-group component ( #1547 )
...
* feat: added toggle-group component
* fix(components): ran build:registry script
* fix(components): fixed colors in toggle-group
- Dark mode border color is now consistent with the toggle component
* fix(components): fixed component.json toggle-group
- Added the content field to `components.json` for toggle-group
- Ran build:registry again
* feat(toggle-group): simplify implementation
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-11-12 23:03:14 +04:00
shadcn
8fad64a854
feat(select): add scroll up and down button
2023-11-12 14:25:35 +04:00
miquelvir
35f776d38c
Fix combobox examples using labels as value ( #1788 )
...
Fix #1785
2023-10-21 14:09:57 +00:00
Greg
e0782b328b
docs(scroll-area): add example for horizontal scroll area ( #1515 )
...
Adds documentation to the `<ScrollArea>` component for creating a scroll area with a horizontal scrollbar. There is also a commit to fix the improper sizing of a horizontal scroll bars.
Before:
https://github.com/shadcn-ui/ui/assets/9381099/a8b512f1-37f7-4107-a9fa-42a26e124696
After:
https://github.com/shadcn-ui/ui/assets/9381099/480f881c-b0fe-4b1b-9472-c533135e6769
2023-10-21 13:54:16 +00:00
onurhan
dd94aa936f
fix(docs): present useForm when copy form ( #1486 )
...
When I tried it after the attached issue, I realized;
For someone who's absolutely copying and pasting form the guide, this would give an error, as useForm is not imported in the guide. So I fixed that.
Related issue: https://github.com/shadcn-ui/ui/issues/1482
Fix #1482
2023-10-21 12:16:22 +00:00
Luka Hartwig
4ec8a67dab
Support tailwind.config.ts ( #1247 )
...
Fixes #659
Fixes #633
Create Next App is using `tailwind.config.ts` in the TypeScript template. Since this is a very common use case it would be nice to preserve the type safety of the file.
I added new templates for TypeScript files. I see there is an issue #1073 which asks for ESM support as well. This is not included in this PR.
I also fixed the type error in the keyframes that is also handled in #636
2023-10-19 17:44:11 +00:00
shadcn
2a346ede51
feat(www): add custom close button example ( #1753 )
2023-10-15 16:28:57 +04:00
vinay
f68976b667
docs(www): remove unused Link import in form docs. ( #1251 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-17 13:50:34 +04:00
Edgaras Benediktavicius
7a1f80af2c
docs(www): @hookform/resolvers installation missing ( #1257 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-17 13:43:32 +04:00
Daniele Luisetto
48e3a4a326
fix(docs): add missing files in toast manual installation ( #1243 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-16 07:32:09 +04:00
Daniele Luisetto
98078fbe01
fix(docs): missing form manual installation and aspect-ratio typo ( #1242 )
...
* fix(docs): add form manual installation
* fix(docs): typo in aspect-ratio
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-08-16 07:26:49 +04:00
vinay
6a1354e52d
fix(examples): update keyboard shortcut for opening dialog on Windows ( #1004 )
2023-08-03 22:22:38 +04:00
Rudy Orre
1532a15894
docs(www): add missing "command" component to imports ( #550 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-03 21:57:39 +04:00
shadcn
b4dda36cc9
docs(www): add radix-ui deps install ( #827 )
2023-07-04 12:01:50 +04:00
Daniele Luisetto
7b5582e5d0
fix(docs): remove duplicate install command ( #679 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-06-24 15:51:23 +04:00
shadcn
343acb3a51
docs: update toast.mdx ( #670 )
2023-06-23 19:13:29 +04:00
shadcn
cf139e5fa1
feat: add manual installation for components ( #666 )
2023-06-23 14:28:34 +04:00
shadcn
379d1560c3
docs: add latest to cli ( #649 )
2023-06-23 00:07:19 +04:00
shadcn
eeb17545a1
feat: new CLI, Styles and more ( #637 )
2023-06-22 22:44:52 +04:00
Dev
c4da22ffe9
docs(www): Fix unmatched closing brace typo ( #423 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-05-23 11:31:32 +04:00
Usman S. (Max Programming)
5afb8d530f
docs(www): fix typo ( #375 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-05-20 10:09: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
Nirmalya Ghosh
87ad14cb2a
fix(shadcn-ui): add missing deps for Button ( #259 )
...
* fix: add missing deps for Button
* fix: use correct dep
Co-authored-by: Pablo <its.monotype@gmail.com >
* chore: add changeset
---------
Co-authored-by: Pablo <its.monotype@gmail.com >
Co-authored-by: shadcn <m@shadcn.com >
2023-05-13 13:07:39 +04:00
Jack
5a2ce61e2e
fix(data-table): uncontrolled input error on data-table ( #335 )
2023-05-11 10:07:39 +04:00
Connor Stevens
21890afa80
docs(www): fix typo
...
Co-authored-by: shadcn <m@shadcn.com >
2023-05-10 07:49:17 +04:00
Ben Jacobson
84b7200178
docs(www): fix link to DataTable ( #322 )
2023-05-10 00:09:15 +04:00
shadcn
f8272baf07
feat: add table and data table ( #321 )
2023-05-09 23:25:26 +04:00
shadcn
b19199a35d
docs: move combobox and date picker to their own page ( #283 )
2023-05-03 15:59:00 +04:00
Evan Rosenfeld
d99b992e27
feat(button): support render delegation with asChild parameter ( #174 )
2023-04-30 12:01:41 +04:00
Esteban De la Rosa
5b004f7565
docs(www): Fix typo in alert component usage ( #196 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-04-20 12:49:15 +04:00
shadcn
a703c6fb58
feat: CSS variables and CLI ( #180 )
2023-04-17 19:19:40 +04:00