Justin Nguyen
59a931055f
fix(command): disabled items and cmdk 1.0.0 ( #2945 )
...
* fix: fix breaking changes for Command component that comes with cmdk 1.0.0
* chore: build registry
* chore: moving paths for some examples
* chore: moving paths for some examples
* chore: use data instead of aria
* fix: update command and pin cmdk
* fix: model selector
* fix: command for new york
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-08-05 15:28:14 +04:00
Erdiansyah
59f2d558b6
docs: Fix docs dark-mode astro.mdx ( #4491 )
...
remove redundant script closing tag
2024-08-03 20:54:17 +00:00
Liron Abutbul
4a77cdc41c
fix(www): remove unused import ( #4324 )
2024-08-04 00:35:04 +04:00
Jaeung Jang
6cc38903b8
fix: missing close tag for command ( #4330 )
...
* fix: missing close tag for command
* docs(www): fix formatting
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-08-04 00:06:52 +04:00
Diogo Martino
cc70f6ef43
docs: add missing command ( #4301 )
2024-07-18 11:45:39 +04:00
Ethan Brown
dd9900ba0e
docs(www): update Vite instructions ( #4260 )
2024-07-15 12:33:40 +04:00
Sushant Mishra
238e492181
fix(docs): resolve imports for IDE ( #4275 )
...
IDE uses the config mentioned in the `tsconfig.app.json` file whereas shadcn uses the config mentioned in the `tsconfig.json` file for path resolution
Before adding the path to `tsconfig.app.json`

After adding the path to `tsconfig.app.json`

This commit mentions the same in the installation with `vite` docs
2024-07-15 06:57:48 +00:00
rds_agi
36a9c1bb71
Fixed all issues related Command component ( #4154 )
...
# Fix Command Component issues and update documentation
## Changes
- Resolve Command Component issues by wrapping `<CommandGroup />` inside `<CommandList>`
- Update deprecated docs in `combobox.mdx` to reflect latest `<Command />` component usage
### Code Changes
From:
```tsx
<Command>
...
<CommandGroup>
...
</CommandGroup>
</Command>
```
To:
```tsx
<Command>
...
<CommandList>
<CommandGroup>
...
</CommandGroup>
</CommandList>
</Command>
```
## Visual Comparison
Before & After comparison:
https://github.com/shadcn-ui/ui/assets/77154365/156b7180-54e6-45aa-8934-b4fb99e6160e
## Summary
By wrapping `<CommandGroup />` inside `<CommandList>{children}</CommandList>`, all issues related to the Command Component have been resolved.
2024-07-10 12:40:55 +00:00
Howard Chiam
dbbb2a427e
docs: minor typo in the first page's FAQ ( #4174 )
...
Co-authored-by: shadcn <m@shadcn.com >
2024-07-10 16:37:11 +04:00
Christian F
1369d3ca96
Update data-table.mdx ( #4153 )
...
Docs link was broken ...
2024-07-10 12:24:25 +00:00
OGPowell
f6ad10abd5
docs(www): fix typo ( #4232 )
2024-07-09 21:08:37 +04:00
shadcn
4ac9db98fe
Charts ( #4181 )
2024-07-06 02:06:40 +04:00
shadcn
afc553d8f8
fix: edit components
2024-04-17 23:05:45 +04:00
shadcn
11c31af94f
feat(www): add description and edit in v0 to examples ( #3518 )
...
* feat(www): add description and edit in v0 to examples
* fix: missing icon
2024-04-17 22:14:40 +04:00
shadcn
7590fb7636
feat: lift mode ( #3380 )
...
* feat(www): wip break everything
* feat(www): wip chunks
* feat(www): wip chunk mode
* feat: lift mode
* feat: update chunks
* fix: resize in lift mode
* fix: hasLiftMode
* fix: types
* fix: toolbar
Thanks @mrnbpt
* chore: format check
* feat: add tracking for enable_lift_mode
* chore: format write
* docs: add changelog
2024-04-05 21:28:05 +04:00
shadcn
7c3da3e348
fix: display of txt code block ( #3149 )
2024-03-25 16:16:40 +04:00
shadcn
79c054ac7a
feat: blocks ( #3094 )
2024-03-22 21:39:33 +04:00
Dominik Ferber
3a4c3b2f7d
fix nextjs docs ( #3075 )
2024-03-21 13:38:21 +04:00
shadcn
f199dd3bbf
feat: switch input-otp to composition ( #3052 )
...
* feat: switch input-otp to composition
* feat: add disabled
2024-03-19 10:25:06 +04:00
shadcn
1f0a7008d6
docs(www): update chancelog
2024-03-08 06:04:57 +04:00
shadcn
c04f1cac2d
docs: update changelog ( #2937 )
...
* docs(www): changelog
* docs(www): update changelog
2024-03-07 23:56:37 +04:00
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
its-monotype
7f0af435e1
feat(breadcrumb): add breadcrumb component ( #133 )
...
* feat(breadcrumb): add breadcrumb component
* refactor(breadcrumb): improve variable name and simplify object key passing
* refactor(breadcrumb): remove unnecessary color transition
* chore(breadcrumb): wip
* chore: build registry
* feat: update breadcrumb component
* fix(breadcrumb): update code highlight
* chore(www): remove menu
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-03-07 22:42:39 +04:00
alpaca
2de7bbf32e
docs(next-installation): Fixed type error in Next.js installation by removing export from fontSans ( #2673 )
...
This PR fixes the issue [#2337 ](https://github.com/shadcn-ui/ui/issues/2377 ).
I removed `export` of `fontSans` from `app/layout.tsx`, which was causing a type error.
I have ensured that this modification does not impact other functionalities. Your feedback on this pull request would be greatly appreciated.
Thank you for your consideration.
2024-03-03 11:03:04 +00:00
Șener Ali
f859d4857e
feat(components): skeleton example ( #2036 )
...
Co-authored-by: Sener <sener@MacBook-Pro-3.local >
2024-01-28 13:23:06 +04:00
kevinmitch14
7df1007a5b
refactor: update zod import ( #2466 )
2024-01-28 12:47:45 +04:00
vinay
73be841162
[Docs] Update CLI options while configuring components.json ( #2283 )
...
New Line added to the docs.
Just for the consistency.

2024-01-07 09:23:35 +00:00
Nuriman Quddus
ad32fdeb7d
fix: typo on carousel import ( #2216 )
...
# What's changed
- [x] Fixed the typo on carousel component
before fix: "@/registry/new-york/ui/carousel"
after fix: "@/components/ui/carousel"
this is ease the user to copy paste without error
2024-01-07 08:04:54 +00:00
Chase
4b59cb812e
fix(docs): Resizable panel direction should be horizontal ( #2295 )
...
In the [resizable documentation](https://ui.shadcn.com/docs/components/resizable ) the handle example shows a horizontal handle but the code example has `direction="vertical"` when it should be `direction="horizontal"`
<img width="745" alt="Screenshot 2024-01-05 at 9 34 43 AM" src="https://github.com/shadcn-ui/ui/assets/7241069/68c21241-e0c7-41b1-81d7-579306149520 ">
2024-01-07 07:43:51 +00:00
Anshul Kanwar
4b200ebf59
docs: typo in drawer, dialog and sheet ( #2306 )
2024-01-07 07:26:21 +00:00
shadcn
be580dbf76
feat(cli): add support for custom ui dir ( #2266 )
...
* feat(cli): add support for custom ui dir
* docs(www): update docs for aliases.ui
* chore: add changeset
2024-01-02 22:32:15 +04:00
kal07
6b523b60db
Update pagination.mdx ( #2191 )
...
fix the Nextjs import example
2023-12-26 14:23:04 +00:00
shadcn
f60945c252
fix: add tailwind.prefix to schema ( #2200 )
...
* fix: add tailwind.prefix to schema
* fix(www): format
2023-12-26 18:00:26 +04:00
Rishabh
5eb33f7830
docs(pagination): wrong import path of components in pagination usage ( #2180 )
...
This PR:
Fixes : #2150
2023-12-26 13:35:19 +00:00
Rishabh
f6fef4a2ed
docs(drawer): missing drawer footer import in drawer usage example ( #2169 )
...
This PR:
- Fixes: #2168
2023-12-24 05:47:02 +00:00
arshad
f6f64ce773
Update: Rename 'ResizableGroup' to 'ResizablePanelGroup' in Documentation ( #2166 )
...
### Overview
This pull request updates the documentation to reflect the correct component name, changing `ResizableGroup` to `ResizablePanelGroup`. This change ensures consistency and correctness in the documentation, aiding developers in correctly implementing the component.
### Changes Made
- In the code examples within the documentation, `ResizableGroup` has been renamed to `ResizablePanelGroup`.
- This change is applied to both horizontal and vertical orientation examples.
### Additional Information
- These changes are confined to documentation and do not alter the actual implementation or functionality of the components in question.
Please review the changes for accuracy and merge if appropriate. Thanks!
2023-12-24 05:40:05 +00:00
Nader Ferjani
7ce4414445
docs: typo in drawer ( #2164 )
...
Co-authored-by: shadcn <m@shadcn.com >
2023-12-24 09:35:26 +04:00
shadcn
57d404b5d3
feat: new components ( #2144 )
2023-12-22 23:36:59 +04:00
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
shadcn
6e399abdb4
fix(table): update style for table footer ( #1931 )
...
* fix(table): update table footer style
* chore: run registry
* style: fix docs
2023-11-12 11:20:18 +04:00
Cole Cline
c82a6fab5f
docs(www): Missing import statement ( #1877 )
...
Added missing import statement in fonts example in Next.js installation docs
2023-11-12 10:17:56 +04:00
Kevin Mok
42e8eaf7cb
docs(www): add remix dark mode docs ( #1920 )
...
* docs(www): add remix dark mode docs
* docs(www): add modification to tailwindcss file
2023-11-12 10:16:22 +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
kevinmitch14
b8810caac7
fix: remove invalid collapsible prop ( #496 )
...
only available when type="single"
Co-authored-by: shadcn <m@shadcn.com >
2023-10-21 16:28:00 +04:00
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