shadcn-ui-react 0.0.2 → 0.0.5
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/README.md +76 -4
- package/dist/index.cjs +9215 -0
- package/dist/index.d.cts +654 -0
- package/{lib → dist}/index.d.ts +72 -72
- package/dist/index.js +9017 -0
- package/dist/style.css +1895 -0
- package/package.json +54 -26
- package/.env +0 -1
- package/.gitattributes +0 -2
- package/lib/index.js +0 -20115
- package/tsconfig.json +0 -24
package/package.json
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Blencm",
|
|
6
6
|
"description": "React UI library for ShadCN",
|
|
7
|
-
"
|
|
8
|
-
|
|
7
|
+
"sideEffect": [
|
|
8
|
+
"**/*.css"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"module": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"style": "dist/style.css",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"dist/style.css"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"dist/*.css"
|
|
21
|
+
],
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.{js,jsx,ts,tsx}": "eslint --fix"
|
|
24
|
+
},
|
|
9
25
|
"keywords": [
|
|
10
26
|
"react",
|
|
11
27
|
"react-component",
|
|
28
|
+
"ui",
|
|
12
29
|
"shadcn",
|
|
13
30
|
"shadcn-ui",
|
|
14
31
|
"shadcn-ui-react"
|
|
@@ -23,15 +40,43 @@
|
|
|
23
40
|
},
|
|
24
41
|
"homepage": "https://github.com/blencm/shadcn-ui-react#readme",
|
|
25
42
|
"scripts": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
43
|
+
"dev": "vite",
|
|
44
|
+
"build": "rimraf ./dist && vite build && tsup && node scripts/postbuild.js",
|
|
28
45
|
"test": "cross-env NODE_ENV=test && jest",
|
|
29
46
|
"test:watch": "jest --watch"
|
|
30
47
|
},
|
|
31
|
-
"sideEffects": false,
|
|
32
48
|
"devDependencies": {
|
|
33
49
|
"@eslint/config-array": "^0.19.2",
|
|
34
50
|
"@eslint/object-schema": "^2.1.6",
|
|
51
|
+
"@tailwindcss/postcss": "^4.0.8",
|
|
52
|
+
"@tailwindcss/vite": "^4.0.8",
|
|
53
|
+
"@types/node": "^22.13.5",
|
|
54
|
+
"@types/react": "^19.0.10",
|
|
55
|
+
"@types/react-dom": "^19.0.4",
|
|
56
|
+
"autoprefixer": "^10.4.20",
|
|
57
|
+
"cross-env": "^7.0.3",
|
|
58
|
+
"react": "^19.0.0",
|
|
59
|
+
"react-day-picker": "^9.5.1",
|
|
60
|
+
"react-dom": "^19.0.0",
|
|
61
|
+
"react-test-renderer": "^19.0.0",
|
|
62
|
+
"rimraf": "^6.0.1",
|
|
63
|
+
"tailwindcss": "^4.0.8",
|
|
64
|
+
"tailwindcss-animate": "^1.0.7",
|
|
65
|
+
"tsup": "^8.3.6",
|
|
66
|
+
"vite-plugin-dts": "^4.5.0",
|
|
67
|
+
"vite-plugin-ts-alias": "^0.1.1",
|
|
68
|
+
"typescript": "^5.7.3",
|
|
69
|
+
"vaul": "^1.1.2",
|
|
70
|
+
"vite": "^6.1.1"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"react": "^17.0.0 || ^18.3.1 || ^19.0.0",
|
|
74
|
+
"react-dom": "^17.0.0 || ^18.3.1 || ^19.0.0"
|
|
75
|
+
},
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"access": "public"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
35
80
|
"@hookform/resolvers": "^4.1.1",
|
|
36
81
|
"@radix-ui/react-accordion": "^1.2.3",
|
|
37
82
|
"@radix-ui/react-alert-dialog": "^1.1.6",
|
|
@@ -61,25 +106,8 @@
|
|
|
61
106
|
"@radix-ui/react-toggle": "^1.1.2",
|
|
62
107
|
"@radix-ui/react-toggle-group": "^1.1.2",
|
|
63
108
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"cross-env": "^7.0.3",
|
|
67
|
-
"react": "^19.0.0",
|
|
68
|
-
"react-day-picker": "^9.5.1",
|
|
69
|
-
"react-dom": "^19.0.0",
|
|
70
|
-
"react-test-renderer": "^19.0.0",
|
|
71
|
-
"rimraf": "^6.0.1",
|
|
72
|
-
"tsup": "^8.3.6",
|
|
73
|
-
"typescript": "^5.7.3"
|
|
74
|
-
},
|
|
75
|
-
"peerDependencies": {
|
|
76
|
-
"react": "^17.0.0 || ^18.3.1 || ^19.0.0",
|
|
77
|
-
"react-dom": "^17.0.0 || ^18.3.1 || ^19.0.0"
|
|
78
|
-
},
|
|
79
|
-
"publishConfig": {
|
|
80
|
-
"access": "public"
|
|
81
|
-
},
|
|
82
|
-
"dependencies": {
|
|
109
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
110
|
+
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
83
111
|
"class-variance-authority": "^0.7.1",
|
|
84
112
|
"clsx": "^2.1.1",
|
|
85
113
|
"cmdk": "^1.0.4",
|
|
@@ -90,6 +118,6 @@
|
|
|
90
118
|
"react-resizable-panels": "^2.1.7",
|
|
91
119
|
"sonner": "^2.0.1",
|
|
92
120
|
"tailwind-merge": "^3.0.2",
|
|
93
|
-
"
|
|
121
|
+
"tailwind-variants": "^0.3.1"
|
|
94
122
|
}
|
|
95
123
|
}
|
package/.env
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
NODE_ENV=production
|
package/.gitattributes
DELETED