fulldev-ui 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Fulldev UI
2
2
 
3
+ ## 0.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#231](https://github.com/fulldotdev/ui/pull/231) [`ddf24cc`](https://github.com/fulldotdev/ui/commit/ddf24cc1ecae126f75e8ef8196bf5fc8a443cb9b) Thanks [@silveltman](https://github.com/silveltman)! - - `src/lib/utils.ts` re-exports `cn` from shadcn's `cn` package, which replaces `clsx` and `tailwind-merge`. The `init` item installs `cn` instead of those two. Existing sites keep working; to switch, replace `src/lib/utils.ts` with `export { cn } from "cn"`, add `cn`, and remove `clsx` and `tailwind-merge`.
8
+
3
9
  ## 0.16.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
3
  "type": "module",
4
- "version": "0.16.0",
4
+ "version": "0.16.1",
5
5
  "description": "Open-source Astro UI components and blocks",
6
6
  "homepage": "https://ui.full.dev",
7
7
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -73,12 +73,11 @@
73
73
  "@lexingtonthemes/seo": "^0.4.0",
74
74
  "@lucide/astro": "^1.49.0",
75
75
  "class-variance-authority": "^0.7.1",
76
- "clsx": "^2.1.1",
76
+ "cn": "^0.4.0",
77
77
  "embla-carousel": "8.6.0",
78
78
  "lucide-static": "^1.22.0",
79
79
  "shadcn": "^4.12.0",
80
80
  "simple-icons": "^16.24.1",
81
- "tailwind-merge": "^3.6.0",
82
81
  "tw-animate-css": "^1.4.0"
83
82
  },
84
83
  "peerDependencies": {
@@ -5,15 +5,14 @@
5
5
  "description": "Shared setup: class helper, Tailwind token layer, and dependencies.",
6
6
  "dependencies": [
7
7
  "class-variance-authority",
8
- "clsx",
8
+ "cn",
9
9
  "shadcn",
10
- "tailwind-merge",
11
10
  "tw-animate-css"
12
11
  ],
13
12
  "files": [
14
13
  {
15
14
  "path": "src/lib/utils.ts",
16
- "content": "import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n",
15
+ "content": "export { cn } from \"cn\"\n",
17
16
  "type": "registry:lib"
18
17
  },
19
18
  {
@@ -4491,9 +4491,8 @@
4491
4491
  "docs": "https://ui.full.dev/docs/installation/",
4492
4492
  "dependencies": [
4493
4493
  "class-variance-authority",
4494
- "clsx",
4494
+ "cn",
4495
4495
  "shadcn",
4496
- "tailwind-merge",
4497
4496
  "tw-animate-css"
4498
4497
  ],
4499
4498
  "files": [
package/registry.json CHANGED
@@ -3976,9 +3976,8 @@
3976
3976
  "docs": "https://ui.full.dev/docs/installation/",
3977
3977
  "dependencies": [
3978
3978
  "class-variance-authority",
3979
- "clsx",
3979
+ "cn",
3980
3980
  "shadcn",
3981
- "tailwind-merge",
3982
3981
  "tw-animate-css"
3983
3982
  ],
3984
3983
  "files": [
package/src/lib/utils.ts CHANGED
@@ -1,6 +1 @@
1
- import { clsx, type ClassValue } from "clsx"
2
- import { twMerge } from "tailwind-merge"
3
-
4
- export function cn(...inputs: ClassValue[]) {
5
- return twMerge(clsx(inputs))
6
- }
1
+ export { cn } from "cn"