Peeranat Danaidusadeekul
24ec36ee7b
docs: add missing tailwind config in Astro install ( #1264 )
...
* docs: add missing tailwind config in Astro install
* style: prettier format
---------
Co-authored-by: Peeranat Danaidusadeekul <ppeeranat.d@skooldio.com >
Co-authored-by: shadcn <m@shadcn.com >
2023-10-21 16:26:28 +04: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
CamTheGoblin
9091dcdc1b
docs(install): Clarify & Match tsconfig Edits ( #1642 )
...
This is a small update to the installation instructions for some of the frameworks to make the instructions on editing the tsconfig file consistant across the frameworks, and remove some potentially confusing wording (if people read too fast...like me).
Mainly applying the gatsby tsconfig instructions to vite and astro, as it is the most clear.
Additionally changed the wording from:
```
Add the code below to the compilerOptions...
```
to:
```
Add the following code to the compilerOptions...
```
to avoid people easily misreading it as "add the code **below the** compilerOptions".
2023-10-19 17:27:01 +00:00
Robert Soriano
4083876e80
docs: update Remix config to use ESM ( #1710 )
...
* docs(remix): replace postcss config sample to use export default
* docs(remix): replace tailwind config sample to use export default
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-10-16 12:56:08 +04:00
alex
0176754ff2
docs(www): add astro dark mode implementation ( #1755 )
...
* docs(www): add astro dark mode implementation
* docs(www): reduce redundancy in mode toggle
2023-10-16 12:37:25 +04:00
shadcn
2a346ede51
feat(www): add custom close button example ( #1753 )
2023-10-15 16:28:57 +04:00
shadcn
82c56f9503
docs(www): add fonts docs ( #1752 )
2023-10-15 15:37:25 +04:00
Abderrahim Guerfi
b838ffe8cc
docs(www): add missing prop to ThemeProvider ( #1447 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-09-18 16:47:58 +04:00
MD
c9ca64d2b9
docs(www): update manual.mdx ( #1471 )
...
Fix file name
Co-authored-by: shadcn <m@shadcn.com >
2023-09-18 16:25:26 +04:00
Arjun Raj
4bb9e9de53
docs(www): update cli add options ( #1484 )
2023-09-18 16:23:47 +04:00
Nikhar Pandya
c21ecfb665
docs(www): update contrubuting.md and next.mdx ( #1343 )
...
* docs: Update CONTRIBUTING.md
added commit convention section to the contribution docs.
* docs: Update next.mdx for dark mode
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-08-31 17:01:36 +04:00
sanka
613ec3583f
docs(www): update dark-mode for vite ( #1118 )
...
Co-authored-by: sanka <sanka.s@fidenz.com >
Co-authored-by: shadcn <m@shadcn.com >
2023-08-26 14:45:34 +04:00
rcrosbourne
c34193cd34
docs(www): add Laravel install docs ( #1279 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-24 20:01:29 +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
shadcn
c598f19845
docs(www): fix typo
2023-08-04 20:54:46 +04:00
Paul Ebose
7962cee384
docs(www): add api reference for components.json ( #982 )
...
* docs: add api reference for component.json file
* docs: use Link for internal links in component.json
* docs(www): update docs for components.json
---------
Co-authored-by: shadcn <m@shadcn.com >
2023-08-04 17:03:41 +04:00
Guten Ye
de3c34845b
docs(www): update import in remix installation ( #974 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-03 22:27:39 +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
Alan Daniel
8e5d080900
docs(www): add dark mode for Vite. ( #814 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-03 19:41:33 +04:00
GrungeElFz
cf95943446
docs(www): update import path for button ( #839 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-08-03 19:03:44 +04:00
munan56
6cf598d47f
docs(www): update import path next.mdx ( #1062 )
2023-07-28 15:56:19 +04:00
Pedro Vítor Ribeiro Martins
5e172fc34f
docs(www): add typescript configuration question to cli docs ( #898 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-07-12 20:34:05 +04:00
Lennart Gastler
26c8d0f662
docs(www): improve astro guide ( #858 )
2023-07-12 20:17:25 +04:00
vinay
ac5c727fc9
docs(www): add links to frameworks ( #744 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-07-05 23:29:14 +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
b4dda36cc9
docs(www): add radix-ui deps install ( #827 )
2023-07-04 12:01:50 +04:00
Lennart
cbe0f1959c
docs(www): improve Gatsby guide ( #826 )
2023-07-04 10:55:01 +04:00
Daniele Luisetto
dbd3b8f066
docs(www): add astro installation guide ( #824 )
2023-07-04 10:02:34 +04:00
Moinul Moin
7abb4019c3
docs(www): add installation guide for Gatsby ( #822 )
...
* docs: add installation guide for Gatsby
* docs: add PR review changes
2023-07-03 22:23:52 +04:00
shadcn
b14081631f
docs(www): fix link
2023-06-30 23:32:17 +04:00
shadcn
ea6699adbf
feat: restructure installation docs
2023-06-30 22:37:43 +04:00
Samuel Adebayo
1f004243d4
docs(www): add react with vite installation guide ( #714 )
...
* docs: add react with vite installation guide
* refactor(docs): move Ract with vite page into installation.mdx as tab
* fix(docs): remove classnames and wrapper divs
* fix(docs): update tsconfig file path to default @
* docs(www): fix code style
---------
Co-authored-by: Samuel Adebayo <samuel.adebayo@engagetech.com >
Co-authored-by: shadcn <m@shadcn.com >
2023-06-30 21:21:10 +04:00
Christoffer Hallas
eee7ce6879
docs(www): add remix and tabbed installation docs ( #753 )
...
* docs: add react with vite installation guide
* refactor(docs): move Ract with vite page into installation.mdx as tab
* fix(docs): remove classnames and wrapper divs
* fix(docs): update tsconfig file path to default @
* feat: added remix installation docs
* feat: added tabbed installation docs
* fix: remove log statement
* fix: cleaned up, restored usage notice, removed vite for now
* fix: moved installation.mdx into folder
---------
Co-authored-by: Samuel Adebayo <samuel.adebayo@engagetech.com >
Co-authored-by: shadcn <m@shadcn.com >
2023-06-29 17:27:03 +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
Bryce Kalow
2ca7476c9b
docs(www): directory -> directive ( #685 )
2023-06-24 15:49:47 +04:00
Reda
aea12e9762
docs(www): missing RSC anchor link ( #664 )
...
adda a missing # for the RSC section anchor link, resulting in 404.
Co-authored-by: shadcn <m@shadcn.com >
2023-06-23 20:08:18 +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
puneet-sarhali
0a5df3ac85
docs(www): broken link to React Hook Form's useController hook ( #479 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-05-29 11:10:34 +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
Zwyx
3f01388389
docs(www): fix inconsistency in forms docs + add note about uncontrolled components ( #417 )
...
* fix(forms): correct inconsistency in forms example
* doc(forms): add note about uncontrolled components
2023-05-22 17:00:59 +04:00
shadcn
c584f01163
docs(www): update defaultValues for useForm
2023-05-22 13:43:29 +04:00