@skeletonlabs/skeleton-react 1.0.0-next.2 → 1.0.0-next.4
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/dist/components/Accordion/Accordion.d.ts +9 -8
- package/dist/components/Accordion/Accordion.js +47 -68
- package/dist/components/Accordion/types.d.ts +24 -25
- package/dist/components/AppBar/AppBar.d.ts +2 -2
- package/dist/components/AppBar/AppBar.js +18 -20
- package/dist/components/AppBar/types.d.ts +1 -1
- package/dist/components/Avatar/Avatar.d.ts +2 -2
- package/dist/components/Avatar/Avatar.js +21 -7
- package/dist/components/Avatar/types.d.ts +10 -5
- package/dist/components/Navigation/Navigation.d.ts +2 -2
- package/dist/components/Navigation/Navigation.js +53 -30
- package/dist/components/Navigation/types.d.ts +6 -1
- package/dist/components/Progress/Progress.d.ts +2 -2
- package/dist/components/Progress/Progress.js +21 -14
- package/dist/components/Progress/types.d.ts +20 -8
- package/dist/components/ProgressRing/ProgressRing.d.ts +2 -2
- package/dist/components/ProgressRing/ProgressRing.js +22 -27
- package/dist/components/ProgressRing/types.d.ts +9 -13
- package/dist/components/Rating/Rating.d.ts +3 -3
- package/dist/components/Rating/Rating.js +50 -76
- package/dist/components/Rating/types.d.ts +35 -54
- package/dist/components/Segment/Segment.d.ts +6 -0
- package/dist/components/Segment/Segment.js +62 -0
- package/dist/components/Segment/types.d.ts +59 -0
- package/dist/components/Segment/types.js +2 -0
- package/dist/components/Switch/Switch.d.ts +2 -2
- package/dist/components/Switch/Switch.js +34 -27
- package/dist/components/Switch/types.d.ts +28 -25
- package/dist/components/Tabs/Tabs.d.ts +12 -7
- package/dist/components/Tabs/Tabs.js +65 -99
- package/dist/components/Tabs/types.d.ts +48 -81
- package/dist/components/Test/Test.js +1 -1
- package/dist/index.d.ts +11 -10
- package/dist/index.js +11 -10
- package/dist/internal/nodes.d.ts +3 -0
- package/dist/internal/nodes.js +4 -0
- package/dist/internal/noop.d.ts +1 -0
- package/dist/internal/noop.js +2 -0
- package/package.json +36 -35
- package/dist/utils/react-compose.d.ts +0 -4
- package/dist/utils/react-compose.js +0 -3
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton-react",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"default": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./schemas": "./src/lib/schemas.ts"
|
|
12
|
+
},
|
|
13
|
+
"typesVersions": {
|
|
14
|
+
">4.0": {
|
|
15
|
+
"index.d.ts": [
|
|
16
|
+
"./dist/index.d.ts"
|
|
17
|
+
]
|
|
10
18
|
}
|
|
11
19
|
},
|
|
12
20
|
"files": [
|
|
@@ -21,55 +29,48 @@
|
|
|
21
29
|
"!./dist/schemas.d.ts"
|
|
22
30
|
],
|
|
23
31
|
"dependencies": {
|
|
24
|
-
"react": "^18.
|
|
25
|
-
"react-dom": "^18.
|
|
32
|
+
"react": "^18.3.1",
|
|
33
|
+
"react-dom": "^18.3.1"
|
|
26
34
|
},
|
|
27
35
|
"devDependencies": {
|
|
28
36
|
"@tailwindcss/forms": "^0.5.7",
|
|
29
|
-
"@testing-library/jest-dom": "^6.4.
|
|
30
|
-
"@testing-library/react": "^14.
|
|
37
|
+
"@testing-library/jest-dom": "^6.4.7",
|
|
38
|
+
"@testing-library/react": "^14.3.1",
|
|
31
39
|
"@testing-library/user-event": "^14.5.2",
|
|
32
|
-
"@types/react": "^18.
|
|
33
|
-
"@types/react-dom": "^18.
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
40
|
+
"@types/react": "^18.3.3",
|
|
41
|
+
"@types/react-dom": "^18.3.0",
|
|
42
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
43
|
+
"@zag-js/accordion": "^0.65.0",
|
|
44
|
+
"@zag-js/avatar": "^0.65.0",
|
|
45
|
+
"@zag-js/progress": "^0.65.0",
|
|
46
|
+
"@zag-js/radio-group": "^0.65.0",
|
|
47
|
+
"@zag-js/rating-group": "^0.65.0",
|
|
48
|
+
"@zag-js/react": "^0.65.0",
|
|
49
|
+
"@zag-js/switch": "^0.65.0",
|
|
50
|
+
"@zag-js/tabs": "^0.65.0",
|
|
37
51
|
"autoprefixer": "^10.4.19",
|
|
38
|
-
"
|
|
39
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
40
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
41
|
-
"jsdom": "^24.0.0",
|
|
52
|
+
"jsdom": "^24.1.1",
|
|
42
53
|
"lucide-react": "^0.341.0",
|
|
43
|
-
"postcss": "^8.4.
|
|
44
|
-
"react-router-dom": "^6.
|
|
45
|
-
"tailwindcss": "^3.4.
|
|
46
|
-
"typescript": "^5.
|
|
54
|
+
"postcss": "^8.4.39",
|
|
55
|
+
"react-router-dom": "^6.25.1",
|
|
56
|
+
"tailwindcss": "^3.4.6",
|
|
57
|
+
"typescript": "^5.5.3",
|
|
47
58
|
"typescript-json-schema": "^0.63.0",
|
|
48
|
-
"vite": "^5.
|
|
59
|
+
"vite": "^5.3.4",
|
|
49
60
|
"vite-plugin-remix-router": "^2.0.0",
|
|
50
|
-
"vitest": "^1.
|
|
51
|
-
"@skeletonlabs/skeleton": "3.0.0-next.
|
|
52
|
-
"vite-plugin-tw-plugin-watcher": "0.0.0"
|
|
53
|
-
},
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"framer-motion": "^11.0.24"
|
|
61
|
+
"vitest": "^1.6.0",
|
|
62
|
+
"@skeletonlabs/skeleton": "3.0.0-next.3",
|
|
63
|
+
"vite-plugin-tw-plugin-watcher": "0.0.1-next.0"
|
|
56
64
|
},
|
|
57
65
|
"scripts": {
|
|
58
66
|
"dev": "vite",
|
|
59
67
|
"build": "vite build",
|
|
68
|
+
"check": "pnpm package",
|
|
60
69
|
"package": "tsc --project tsconfig.package.json",
|
|
61
70
|
"package:watch": "tsc --project tsconfig.package.json --watch --preserveWatchOutput",
|
|
62
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
63
71
|
"preview": "vite preview",
|
|
64
|
-
"test": "
|
|
65
|
-
"test:
|
|
72
|
+
"test": "pnpm run \"/test:/\"",
|
|
73
|
+
"test:unit": "vitest",
|
|
66
74
|
"schema": "node ./scripts/generator.js"
|
|
67
|
-
},
|
|
68
|
-
"typesVersions": {
|
|
69
|
-
">4.0": {
|
|
70
|
-
"index.d.ts": [
|
|
71
|
-
"./dist/index.d.ts"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
75
|
}
|
|
75
76
|
}
|