shadcn
1e357cb20d
(8/n) shadcn: default to new-york for v4 ( #6574 )
...
* feat(shadcn): handle radius for v4
* feat(shadcn): default to new-york for v4
* chore: changeset
2025-02-05 21:28:49 +04:00
shadcn
c74a094f14
(6/n) shadcn: handle registry for v4 ( #6571 )
...
* feat(shadcn): hotswap registry style for v4
* chore: changeset
* style(shadcn): remove unused import
* chore: registry
* fix(shadcn): cmon
2025-02-05 14:54:24 +04:00
shadcn
d1eb24e23a
(4/n) shadcn: fix handling of sidebar colors ( #6515 )
...
* fix(shadcn): background, foreground and sidebar colors
* chore: changeset
* ci: update artifact
2025-01-30 22:57:57 +04:00
shadcn
9a14c1d092
(3/n) shadcn: tailwind config ( #6490 )
...
* feat(shadcn): add tailwind version detection
* chore: changeset
* feat(shadcn): css vars for tailwind v4
* fix(shadcn): handle color space
* fix(shadcn): add oklch support
* feat(shadcn): handle single quote
* feat(shadcn): update tailwind config
* feat(shadcn): add keyframes
* feat(shadcn): add animation vars
* fix: var name
* fix(shadcn): handle color values
* feat(shadcn): handle radius
* feat(shadcn): clean up formatting
* feat(shadcn): update next clean up function
* chore: changeset
* feat(shadcn): fix formatting for v3 and v4
* test(shadcn): update snapshots
* fix(shadcn): update tailwind version handling
2025-01-30 11:59:47 +04:00
shadcn
5ef2bc5f45
(2/n) shadcn: css vars for tailwind v4 ( #6487 )
...
* feat(shadcn): add tailwind version detection
* chore: changeset
* feat(shadcn): css vars for tailwind v4
* fix(shadcn): handle color space
* fix(shadcn): add oklch support
* feat(shadcn): handle single quote
* chore: add changeset
2025-01-30 11:55:22 +04:00
shadcn
8f6a64f176
(1/n) shadcn: add tailwind version detection ( #6478 )
...
* feat(shadcn): add tailwind version detection
* chore: changeset
2025-01-30 11:49:09 +04:00
shadcn
5f7957ab51
feat(shadcn): add new registry:file type ( #6377 )
...
* feat(shadcn): add new registry:file type
* chore: add changeset
* fix: file target
2025-01-16 15:46:33 +04:00
shadcn
f07c7ad5d0
feat(shadcn): handle nested paths for components ( #6369 )
...
* feat(shadcn): handle nested paths for components
* chore: add changeset
2025-01-15 18:01:44 +04:00
shadcn
254198b4bf
feat: add shadcn/registry ( #6339 )
...
* feat: implement shadcn/registry
* feat: add schema field
* fix: import
* chore: add changeset
* chore: remove console
* fix: tests
* fix: diff command
* feat: move to schema/registy-item.json
* fix
* ci: switch to node 20
* ci: build packages
2025-01-14 10:50:19 +04:00
Braden Corbold
500dbe2664
fix(shadcn) arrays and nested deeply nested spread ( #5711 )
...
* fix: tailwind config updater parser
* fix: remove quote around spread element
* fix: specify deepmerge option for array
* fix(shadcn): Nested and spread array elements
* add test case for boolean primitive
---------
Co-authored-by: matsuyoshi30 <sfbgwm30@gmail.com >
Co-authored-by: shadcn <m@shadcn.com >
2024-11-13 15:19:21 +04:00
Tobbe Lundberg
fb36ca4159
fix(transform): Support aliases that are longer than one character ( #5678 )
...
* fix(transform): Support aliases that are longer than one character
* feat(shadcn): update handling of aliases
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-11-12 22:13:38 +04:00
JEM
824a35ada1
test(snapshots): update test snapshots for consistency ( #5801 )
...
Updated snapshot components to use `React.ComponentProps` instead of custom interfaces for `input` and `Dialog` components. This simplifies the code by leveraging built-in React types, ensuring consistency and reducing potential errors arising from custom definitions.
2024-11-12 12:54:31 +04:00
shadcn
8f0c26f22a
feat(www): code for blocks ( #5756 )
...
* feat: update blocks
* fix: scrollbars
* fix: code viewer
* test(shadcn): fix
2024-11-07 17:09:41 +04:00
shadcn
2c2fe97eb9
feat: move new-york to lucide-react ( #5602 )
...
* feat: move new-york to lucide-react
* fix: mail open
* chore: update registry
* chore: add test:dev
* chore: add changeset
* feat: build an icon registry
* chore: add missing registry icons
* feat: add an icons debug page
* feat: add an icon migration
* chore(www): migrate all radix icons to lucide
* feat: update migration script
* chore: update changeset
* feat(shadcn): implement icons transformer
* fix: missing registry icons
* fix(shadcn): handling of missing icons
* feat: add support for multiple libraries
2024-11-06 00:00:41 +04:00
shadcn
64739f8399
feat: react 19 ( #5621 )
...
* feat(shadcn): add flag prompt for npm
* docs: add docs for react 19
* chore: add changeset
* test: update snapshots
* docs: add notes for recharts
* docs: fix
* fix
* fix: linting
2024-10-29 21:30:05 +04:00
shadcn
f0cff7e0eb
fix: gaps in command and dropdown-menu ( #5570 )
...
* fix: gaps in command and dropdown-menu
* chore: update snapshots
2024-10-25 18:13:13 +04:00
Braden Corbold
bf5a79c4d4
fix(shadcn): fix transformRsc to account for ' ( #5518 )
...
* fix(shadcn): fix transformRsc to account for '
* chore: add changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-10-23 11:33:11 +04:00
shadcn
93ae8bd67f
chore: deprecate next-template ( #5478 )
...
* chore: deprecate next-template
* chore: tests
2024-10-21 11:40:54 +04:00
shadcn
bc9e5eaaab
test: fix
2024-10-18 22:52:25 +04:00
Thomas Raffray
4b546bfb13
fix(cli): remix detection ( #4972 )
...
# What
Some remix templates doesn't package a `vite.config.*` file at their root.
It's the case for the recommended starter "stack" templates: blues-stack, indie-stack and grunge-stack.
As recommended in a TODO comment, it's more suitable to check for a `@remix-run/*` dependency in the package dependencies.
# How
- decouple vite and remix checks
- retrieve the `package.json`
- allow passing a `cwd` to the retrieval method
- remove the "empty config file list" that can be empty for a remix stack
- check that the `package.json` contains a `@remix-run/*` dependency
# Test
Added a fixture by running `npx create-remix@latest --template remix-run/indie-stack` in the [frameworks](/Fluf22/shadcn-ui/tree/fix/cli-remix-detection/packages/cli/test/fixtures/frameworks) folder and named it `remix-indie-stack`, if ever we want another stack as a fixture later
---
Fixes shadcn-ui/ui#4967
2024-09-27 17:58:46 +00:00
shadcn
28f34ed3c3
feat(shadcn): recursively resolve registry dependencies ( #4961 )
...
* feat(shadcn): recursively resolve registry dependencies
* chore: add changeset
* ci: update actions/upload-artifact
2024-09-25 22:56:39 +04:00
Braden Corbold
ce3adfa075
fix(shadcn): Support single quote formatted registry files ( #4870 ) ( #4871 )
2024-09-23 11:47:37 +04:00
sapenlei
c62167a449
fix(shadcn): default next styles are not completely cleared ( #4922 )
...
* fix(shadcn): default next styles are not completely cleared
* chore: add changeset
* fix(shadcn): tests
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-09-23 11:38:59 +04:00
Jack Herrington
1af66c2d08
Adding support for ~ in target specification ( #4848 )
...
* Adding support for ~ in target specification
* test(shadcn): add a test for srcDir false
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com >
2024-09-15 13:27:48 +04:00
shadcn
64b2f1a5ad
feat(shadcn): add experimental docs ( #4820 )
...
* feat(shadcn): add cli docs
* chore: add changeset
* fix: tests
2024-09-12 17:51:59 +04:00
shadcn
99ff9caf71
fix(shadcn): add src to content in tailwind config ( #4787 )
...
* feat(shadcn): handle src dir
* chore: changeset
2024-09-09 12:32:12 +04:00
shadcn
078dfe6607
docs(www): Open in v0 docs ( #4734 )
...
* feat(www): open in v0
* feat: update copy
* fix: sidebar link
* fix(tests): snapshots
2024-09-04 00:37:57 +04:00
shadcn
fab9877586
fix(shadcn): handle quote in theme values ( #4726 )
...
* fix(shadcn): handle quote in theme values
* chore(shadcn): fix theme values bug
2024-09-03 16:22:45 +04:00
shadcn
a62a155aac
(1/N) cli: framework support ( #4569 )
2024-08-31 01:54:48 +04:00