shadcn
1aa35048a5
feat: v4 updates ( #7499 )
...
* feat(v4): update home page
* fix
* fix: cards
* feat(v4): charts page
* feat: update pages
* feat: colors
* fix
* feat: add docs
* feat: mdx work
* fix
* fix
* fix: sidebar
* fix: lint
* feat: updates
* feat: update components
* feat: fix docs
* fix: responsive
* feat: implement cmdk
* fix: update navigation menu demo
* fix: code style
* fix: themes
* feat: implement blocks page
* fix: docs config
* refactor
* fix: outputFileTracingIncludes
* fix
* fix: output
* fix
* fix: registry
* refactor: move docs
* debug: docs
* debug
* revert
* fix: mjs
* deps: pin fumadocs
* debug
* fix: downgrade next
* fix: index page
* refactor: move mdx components
* fix: remove copy button
* fix
* was it zod
* yes it was
* remove copy page
* fix: color page
* fix: colors page
* fix: meta colors
* fix: copy button
* feat: sync registry
* fix: registry build script
* feat: update port
* feat: clean up examples
* fix
* fix: mobile nav
* fix: blur for mobile
* fix: sidebar nav
* feat: update examples
* fix: build scripts
* feat: update components
* feat: restyle
* fix: types
* fix: styles
* fix: margins
* fix: screenshots
* fix
* feat: update theme
* fix: charts nav
* fix: image
* feat: optimize images
* fix: menu
* fix: card
* fix: border
* check
* feat: implement charts page
* fix: charts
* fix: og images
* feat: extend touch
* fix: static
* fix: sizing
* fix: mobile screenshots
* fix: page nav
* fix
* feat: update favicon
* fix: theme selector
* fix: feedback
* fix: sink
* docs: update
* fix: styles
* chore: update registry
* fix: command
* fix
* fix: minor updates
* fix: typography on smaller devices
* fix: format
* fix: remove unused icon
* feat: update favicon
* fix: typography
* docs: typography page
* fix: steps
2025-05-30 11:35:16 +04:00
github-actions[bot]
d85b8eff06
chore(release): version packages ( #7415 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-30 10:32:54 +04:00
Thibault Le Ouay
b84c990e42
fix registry item schema ( #7486 )
2025-05-28 16:52:24 +04:00
shadcn
c41c6ece86
fix: move tw-animate-css to devDependencies ( #7251 )
2025-04-23 16:45:23 +04:00
github-actions[bot]
11267f2fed
chore(release): version packages ( #7228 )
...
* chore(release): version packages
* deps: update pnpm lock
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: shadcn <m@shadcn.com >
2025-04-23 16:28:59 +04:00
shadcn
e8468793fc
chore: temporarily move tw-animate-css to dependencies
2025-04-22 05:07:56 +04:00
Neeraj Dalal
f1e5cc4666
🔥 feat(fix): mark "tw-animate-css" as devDep ( #6985 )
...
* chore: tweaks to build-registry.mts ~ 1 file 2+ 5-
apps/v4/scripts/build-registry.mts
* chore: tweaks to index.json ~ 1 file 4+ 9-
apps/www/public/r/styles/new-york-v4/index.json
* chore: tweaks to registry.json ~ 1 file 221+ 850-
apps/v4/registry.json
* chore: tweaks to index.json ~ 1 file 47+ 144-
apps/www/public/r/index.json
* chore: tweaks to registry.json ~ 1 file 852+ 221-
apps/v4/registry.json
* chore: tweaks to build-registry.mts ~ 1 file 7+ 2-
apps/v4/scripts/build-registry.mts
* chore: tweaks to build-registry.mts ~ 1 file 2+ 2-
apps/v4/scripts/build-registry.mts
* chore: tweaks to index.json ~ 1 file 11+ 4-
apps/www/public/r/styles/new-york-v4/index.json
* chore: tweaks to index.json ~ 1 file 1+ 1-
apps/www/public/r/index.json
* chore: tweaks to index.json ~ 1 file 143+ 46-
apps/www/public/r/index.json
* chore: tweaks to update-dependencies.ts ~ 1 file 20+
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 1-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 19-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to add-components.ts update-dependencies.ts ~ 2 files 21+ 2-
packages/shadcn/src/utils/add-components.ts
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: tweaks to update-dependencies.ts ~ 1 file 29+ 28-
packages/shadcn/src/utils/updaters/update-dependencies.ts
* refactor: remove redundant code
tw-animate-css already has accordion animations
* chore: tweaks > migrate-icons.ts
packages/shadcn/src/migrations/migrate-icons.ts
* fix: formatting > add-components.ts update-dependencies.ts
packages/shadcn/src/utils/add-components.ts
packages/shadcn/src/utils/updaters/update-dependencies.ts
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-04-19 13:05:52 +04:00
Titouan V
e3ca257f6e
chore(www): replace shadcn-ui deprecated mentions to shadcn ( #7207 )
2025-04-18 10:44:46 +04:00
github-actions[bot]
d1a36d3e17
chore(release): version packages ( #7198 )
...
* chore(release): version packages
* fix
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: shadcn <m@shadcn.com >
2025-04-15 16:30:10 +04:00
github-actions[bot]
625be136f4
chore(release): version packages ( #6505 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-07 15:16:43 +04:00
shadcn
1bd209a4db
feat: add oklch colors to themes ( #7090 )
...
* wip
* feat: add oklch theme
* fix: keys
2025-03-31 10:33:48 +04:00
shadcn
b52fa4559c
docs(www): update registry examples
2025-03-28 21:05:55 +04:00
shadcn
2fade2326a
feat(shadcn): add css props to schema ( #7072 )
...
* feat(shadcn): add css props to schema
* fix: types
2025-03-28 17:48:59 +04:00
dependabot[bot]
754a66061d
chore(deps): bump sharp from 0.31.3 to 0.32.6 ( #7053 )
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.31.3 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/v0.32.6/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.31.3...v0.32.6 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 22:24:16 +04:00
nicognaw
99fbf4cb77
fix: code block command overflow ( #7031 )
2025-03-27 18:15:14 +04:00
dependabot[bot]
79eed50e5b
chore(deps): bump next from 15.2.0-canary.33 to 15.2.3 ( #7052 )
...
Bumps [next](https://github.com/vercel/next.js ) from 15.2.0-canary.33 to 15.2.3.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v15.2.0-canary.33...v15.2.3 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 18:12:28 +04:00
dependabot[bot]
799a7f8aa7
chore(deps-dev): bump remark-gfm from 4.0.0 to 4.0.1 ( #7048 )
...
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases )
- [Commits](https://github.com/remarkjs/remark-gfm/compare/4.0.0...4.0.1 )
---
updated-dependencies:
- dependency-name: remark-gfm
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 17:51:55 +04:00
dependabot[bot]
79a6f54d4e
chore(deps): bump @radix-ui/react-scroll-area from 1.2.2 to 1.2.3 ( #7045 )
...
Bumps [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives ) from 1.2.2 to 1.2.3.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md )
- [Commits](https://github.com/radix-ui/primitives/commits )
---
updated-dependencies:
- dependency-name: "@radix-ui/react-scroll-area"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 17:51:19 +04:00
dependabot[bot]
26edb8275e
chore(deps-dev): bump esbuild from 0.17.19 to 0.25.0 ( #7043 )
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.17.19 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.19...v0.25.0 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 17:50:57 +04:00
shadcn
074eed5605
feat(shadcn): extend styles ( #7033 )
...
* feat(shadcn): extend styles
* fix(shadcn): typecheck
2025-03-26 17:11:08 +04:00
shadcn
ca7fbc3b64
fix(v4): minor focus styles ( #7030 )
2025-03-26 13:03:23 +04:00
shadcn
b3b2fe2755
feat(shadcn): registry updates ( #7016 )
...
* feat(shadcn): registry updates
* tests: fix snapshots
* feat(shadcn): add new theme prop
* fix: handle theme for index
* tests(shadcn): fix
* docs(www): update registry item docs
* chore: add changeset
* docs: update theming docs
2025-03-26 13:03:10 +04:00
shadcn
1fcb318c56
feat: use latest cmdk version
2025-03-24 09:45:59 +04:00
shadcn
2a783175c5
docs: update tanstack start
2025-03-24 08:40:00 +04:00
FatahChan
84ec2f6079
fix(v4): card - css syntax warning in tailwind v4 and vite ( #6955 )
...
when building using vite and tailwind vite plugin
this following warning appears
```
rendering chunks (10)...warnings when minifying css:
▲ [WARNING] Unexpected ")" [css-syntax-error]
grid-cols-\[1fr_auto\]:has(:is()){grid-template-columns:1fr
^
```
this is fixed by complying to tailwind new way of writing data attribute documented [here](https://tailwindcss.com/docs/hover-focus-and-other-states#data-attributes )
change
```
[data-slot=card-action]:
```
to
```
data-[slot=card-action]:
```
resolves https://github.com/shadcn-ui/ui/issues/6930
2025-03-20 09:01:20 +00:00
shadcn
37e5192fe7
fix(shadcn): only add tw-animate-css if no tailwindcss-animate ( #6972 )
...
* feat(shadcn): fix existing tailwindcss-animate
* docs: changelog
* tests(shadcn): update snapshots
2025-03-19 15:35:59 +04:00
shadcn
205bfc637e
feat(shadcn): replace tailwindcss-animate with tw-animate-css ( #6968 )
...
* feat(shadcn): replace tailwindcss-animate with tw-animate-css
* chore: changeset
2025-03-19 10:57:10 +04:00
shadcn
c77ddfc8b7
fix: tailwind config
2025-03-18 13:59:28 +04:00
shadcn
516ed3d17e
feat(www): add dashboard-01 ( #6961 )
...
* fix(v4): minor fixes
* fix: format
* feat(www): add dashboard-01 block
* chore: capture screenshots
2025-03-18 13:42:39 +04:00
shadcn
bbda8c0b5a
fix(v4): minor fixes for dashboard ( #6959 )
...
* fix(v4): minor fixes
* fix: format
2025-03-18 11:28:42 +04:00
shadcn
d5be468d32
fix: meta
2025-03-17 22:39:47 +04:00
shadcn
9f094a13b9
fix: meta
2025-03-17 22:34:10 +04:00
shadcn
829ef0cbf6
feat(v4): move dashboard
2025-03-17 22:26:43 +04:00
shadcn
4ebfd6896f
Merge branch 'main' of github.com:shadcn-ui/ui
2025-03-17 22:07:10 +04:00
shadcn
911c52022a
feat(v4): dashboard demo
2025-03-17 22:07:02 +04:00
Yordan Iliev
61e21e3356
docs: fix typo in CSS selector ( #6928 )
...
There was a typo
2025-03-17 11:29:20 +00:00
shadcn
28d97b7fc1
fix: github link
2025-03-17 15:10:44 +04:00
Kian Bazza
5085e48241
feat(components): add origin-aware animations ( #6945 )
...
This PR adds origin-aware animations to the following components:
- Context menu
- Dropdown menu
- Hover card
- Menu bar
- Popover
- Select
- Tooltip
This is accomplished with the custom property `--radix-<component>-transform-origin`, exposed by Radix on the following components:
For more information on this custom property, see the Radix docs; context menu as an example: https://www.radix-ui.com/primitives/docs/components/context-menu#origin-aware-animations
You can see a side-by-side comparison in the following video:
https://github.com/user-attachments/assets/ad8d548b-eb8d-4818-acb4-73c7cdaecc3f
2025-03-17 11:04:00 +00:00
shadcn
b7afb5aa1e
feat(v4): dashboard 02 ( #6950 )
...
* feat(v4): dashboard 02
* fix: lint
2025-03-17 15:00:23 +04:00
t.yang
a6e2d3672f
fix(sidebar): update type SidebarContext -> SidebarContextProps ( #6926 )
...
Hey, I noticed that the original code triggers the `ts/no-redeclare` ESLint error due to the naming conflict between the `SidebarContext` interface and the `SidebarContext` component.

I think `ts/no-redeclare` is a pretty common ESLint rule, I renamed the interface to `SidebarContextProps` to avoid the conflict. This naming style is consistent with the `carousel` component: (0f6efb9769/apps/v4/registry/new-york-v4/ui/carousel.tsx (L24) ).
Hope this makes sense!
2025-03-14 12:53:22 +00:00
JEM
0f6efb9769
fix(navigation-menu v4): 6888 - Remove "use client" directive ( #6913 )
...
Removes unnecessary "use client" directive from navigation menu components to simplify the code and avoid potential issues.
Co-authored-by: shadcn <m@shadcn.com >
2025-03-13 15:03:20 +04:00
shadcn
415b02b4bc
docs: add dark mode changelog ( #6918 )
...
* docs: dark mode changelog
* docs: add base colors reference
2025-03-13 14:42:19 +04:00
shadcn
f1dd9c6903
feat: update dark mode colors ( #6903 )
...
* feat: update dark colors
* feat(v4): update dark mode colors
* fix
* fix
* fix: slate and stone mismatches
* feat(v4): update skeleton and switch colors
* feat(v4): add dashboard example
* fix(v4): update dashboard components
* fix: themes
* feat: update sonner
* feat(v4): update dashboard buttons
* fix: test new colors
* fix: build commands
* feat(v4): more color updates
* feat(v4): update theme selector
* fix(v4): minor component fixes
2025-03-13 13:06:08 +04:00
shadcn
79f2498b28
docs(www): add auth section for registry ( #6910 )
2025-03-12 18:33:36 +04:00
Valentin Gavran
d999f803a8
fix(select): make select content scrollable if height is limited ( #6681 )
...
* fix(select): make select content scrollable if height is limited
Select content now becomes scrollable when the browser window height is too small to display the full menu. This improves usability on smaller screens.
Radix also supports the same behavior for other components. I will also submit PRs for the other components separately.
Added the following properties to the Select Content component:
- `max-h-[--radix-select-content-available-height]`
- `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before)
* fix(select): make select content scrollable if height is limited
Select content now becomes scrollable when the browser window height is too small to display the full menu. This improves usability on smaller screens.
Radix also supports the same behavior for other components. I will also submit PRs for the other components separately.
Added the following properties to the Select Content component:
- `max-h-[--radix-select-content-available-height]`
- `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before)
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-03-12 11:16:21 +04:00
Valentin Gavran
1d8fe41d64
fix(context-menu): make context menu scrollable if height is limited ( #6682 )
...
* fix(context-menu): make context menu scrollable if height is limited
Context menu content now becomes scrollable when the browser window height is too small to display the full menu. This improves usability on smaller screens.
Radix also supports the same behavior for other components. I will also submit PRs for the other components separately.
Added the following properties to the Context Menu Content component:
- `max-h-[--radix-context-menu-content-available-height]`
- `overflow-y-auto` & `overflow-x-hidden` instead of `overflow-hidden` (existed before)
* fix(v4): context menu
---------
Co-authored-by: shadcn <m@shadcn.com >
2025-03-12 10:48:56 +04:00
Kasper Aamodt
33b6146fde
docs(www): fix typo in site-header.tsx ( #6897 )
...
Fixed a small typo in the site-header.tsx
2025-03-10 17:41:00 +00:00
shadcn
1d55420629
docs(www): add callout for tailwind v3
2025-03-10 21:15:23 +04:00
shadcn
12d4cf2ab0
Merge branch 'main' of github.com:shadcn-ui/ui
2025-03-06 09:46:06 +04:00
shadcn
5466432b01
docs(www): update registry
2025-03-06 09:45:53 +04:00