shadcn-ui-react 0.7.8 → 0.7.10
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/bin/shadcn-ui-react.mjs +2 -2
- package/dist/index.cjs +1566 -1354
- package/dist/index.d.cts +90 -69
- package/dist/index.d.ts +90 -69
- package/dist/index.js +1504 -1297
- package/dist/style.css +174 -140
- package/package.json +43 -31
package/package.json
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Bleker <bleker@gliyen.com>",
|
|
6
6
|
"description": "A collection of components for building beautiful and accessible user interfaces with React and Tailwind CSS.",
|
|
7
|
-
"sideEffect": [
|
|
8
|
-
"**/*.css"
|
|
9
|
-
],
|
|
10
7
|
"type": "module",
|
|
11
|
-
"main": "dist/index.
|
|
12
|
-
"module": "dist/index.js",
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
|
-
"style": "dist/style.css",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"style": "./dist/style.css",
|
|
15
12
|
"files": [
|
|
16
13
|
"dist",
|
|
17
|
-
"dist/style.css",
|
|
18
14
|
"bin",
|
|
19
|
-
"templates"
|
|
15
|
+
"templates",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
20
18
|
],
|
|
21
19
|
"bin": {
|
|
22
20
|
"shadcn-ui-react": "./bin/shadcn-ui-react.mjs"
|
|
23
21
|
},
|
|
24
22
|
"sideEffects": [
|
|
25
|
-
"
|
|
23
|
+
"**/*.css",
|
|
24
|
+
"./dist/style.css"
|
|
26
25
|
],
|
|
27
26
|
"lint-staged": {
|
|
28
27
|
"*.{js,jsx,ts,tsx}": "eslint --fix"
|
|
@@ -47,9 +46,12 @@
|
|
|
47
46
|
"homepage": "https://github.com/blencm/shadcn-ui-react#readme",
|
|
48
47
|
"scripts": {
|
|
49
48
|
"dev": "vite",
|
|
50
|
-
"build": "
|
|
49
|
+
"build": "rimraf ./dist && tsup && node scripts/postbuild.js",
|
|
51
50
|
"test": "cross-env NODE_ENV=test && jest",
|
|
52
|
-
"test:watch": "jest --watch"
|
|
51
|
+
"test:watch": "jest --watch",
|
|
52
|
+
"clean": "rimraf ./dist",
|
|
53
|
+
"build:vite": "vite build",
|
|
54
|
+
"prepack": "npm run build"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
57
|
"@babel/core": "^7.29.0",
|
|
@@ -59,45 +61,47 @@
|
|
|
59
61
|
"@eslint/config-array": "^0.23.5",
|
|
60
62
|
"@eslint/object-schema": "^3.0.5",
|
|
61
63
|
"@hookform/resolvers": "^5.2.2",
|
|
62
|
-
"@tailwindcss/postcss": "^4.
|
|
63
|
-
"@tailwindcss/vite": "^4.
|
|
64
|
+
"@tailwindcss/postcss": "^4.3.0",
|
|
65
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
64
66
|
"@testing-library/dom": "^10.4.1",
|
|
65
67
|
"@testing-library/jest-dom": "^6.9.1",
|
|
66
68
|
"@testing-library/react": "^16.3.2",
|
|
67
69
|
"@testing-library/user-event": "^14.6.1",
|
|
68
70
|
"@types/jest": "^30.0.0",
|
|
69
|
-
"@types/node": "^25.6.
|
|
71
|
+
"@types/node": "^25.6.2",
|
|
70
72
|
"@types/react": "^19.2.14",
|
|
71
73
|
"@types/react-dom": "^19.2.3",
|
|
72
74
|
"@typescript-eslint/eslint-plugin": "^8.59.2",
|
|
73
75
|
"@typescript-eslint/parser": "^8.59.2",
|
|
74
76
|
"autoprefixer": "^10.5.0",
|
|
75
|
-
"babel-jest": "^30.
|
|
77
|
+
"babel-jest": "^30.4.1",
|
|
76
78
|
"cross-env": "^10.1.0",
|
|
77
79
|
"eslint": "^10.3.0",
|
|
78
80
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
79
81
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
80
82
|
"identity-obj-proxy": "^3.0.0",
|
|
81
|
-
"jest": "^30.
|
|
82
|
-
"jest-environment-jsdom": "^30.
|
|
83
|
-
"react": "^19.2.
|
|
84
|
-
"react-day-picker": "^
|
|
85
|
-
"react-dom": "^19.2.
|
|
86
|
-
"react-test-renderer": "^19.2.
|
|
83
|
+
"jest": "^30.4.2",
|
|
84
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
85
|
+
"react": "^19.2.6",
|
|
86
|
+
"react-day-picker": "^10.0.0",
|
|
87
|
+
"react-dom": "^19.2.6",
|
|
88
|
+
"react-test-renderer": "^19.2.6",
|
|
87
89
|
"rimraf": "^6.1.3",
|
|
88
|
-
"tailwindcss": "^4.
|
|
90
|
+
"tailwindcss": "^4.3.0",
|
|
89
91
|
"tailwindcss-animate": "^1.0.7",
|
|
90
92
|
"tsup": "^8.5.1",
|
|
91
93
|
"typescript": "^6.0.3",
|
|
92
94
|
"vaul": "^1.1.2",
|
|
93
|
-
"vite": "^8.0.
|
|
95
|
+
"vite": "^8.0.11",
|
|
94
96
|
"vite-plugin-dts": "^5.0.0",
|
|
95
97
|
"vite-plugin-ts-alias": "^0.1.1",
|
|
96
|
-
"zod": "^4.4.3"
|
|
98
|
+
"zod": "^4.4.3",
|
|
99
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
100
|
+
"@vitejs/plugin-react-swc": "^4.3.0"
|
|
97
101
|
},
|
|
98
102
|
"peerDependencies": {
|
|
99
|
-
"react": "
|
|
100
|
-
"react-dom": "
|
|
103
|
+
"react": ">=17.0.0 <21.0.0",
|
|
104
|
+
"react-dom": ">=17.0.0 <21.0.0"
|
|
101
105
|
},
|
|
102
106
|
"publishConfig": {
|
|
103
107
|
"access": "public"
|
|
@@ -132,8 +136,6 @@
|
|
|
132
136
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
133
137
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
134
138
|
"@tanstack/react-table": "^8.21.3",
|
|
135
|
-
"@vitejs/plugin-react": "^6.0.1",
|
|
136
|
-
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
137
139
|
"class-variance-authority": "^0.7.1",
|
|
138
140
|
"clsx": "^2.1.1",
|
|
139
141
|
"cmdk": "^1.1.1",
|
|
@@ -151,5 +153,15 @@
|
|
|
151
153
|
"tailwind-variants": "^3.2.2",
|
|
152
154
|
"use-debounce": "^10.1.1",
|
|
153
155
|
"vaul": "^1.1.2"
|
|
156
|
+
},
|
|
157
|
+
"exports": {
|
|
158
|
+
".": {
|
|
159
|
+
"types": "./dist/index.d.ts",
|
|
160
|
+
"import": "./dist/index.js",
|
|
161
|
+
"require": "./dist/index.cjs"
|
|
162
|
+
},
|
|
163
|
+
"./style.css": "./dist/style.css",
|
|
164
|
+
"./dist/style.css": "./dist/style.css",
|
|
165
|
+
"./package.json": "./package.json"
|
|
154
166
|
}
|
|
155
|
-
}
|
|
167
|
+
}
|