@skeletonlabs/skeleton-react 1.0.0-next.1 → 1.0.0-next.3
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 +2 -2
- package/dist/components/Accordion/Accordion.js +21 -21
- package/dist/components/Accordion/types.d.ts +1 -1
- package/dist/components/AppBar/AppBar.d.ts +6 -8
- package/dist/components/AppBar/AppBar.js +26 -31
- package/dist/components/AppBar/types.d.ts +5 -5
- package/dist/components/Avatar/Avatar.d.ts +2 -2
- package/dist/components/Avatar/Avatar.js +5 -5
- package/dist/components/Navigation/Navigation.d.ts +11 -0
- package/dist/components/Navigation/Navigation.js +104 -0
- package/dist/components/Navigation/types.d.ts +131 -0
- package/dist/components/Navigation/types.js +2 -0
- package/dist/components/Progress/Progress.d.ts +2 -2
- package/dist/components/Progress/Progress.js +6 -6
- package/dist/components/ProgressRing/ProgressRing.d.ts +3 -0
- package/dist/components/ProgressRing/ProgressRing.js +36 -0
- package/dist/components/ProgressRing/types.d.ts +55 -0
- package/dist/components/ProgressRing/types.js +1 -0
- package/dist/components/Rating/Rating.d.ts +3 -0
- package/dist/components/Rating/Rating.js +82 -0
- package/dist/components/Rating/types.d.ts +59 -0
- package/dist/components/Rating/types.js +1 -0
- package/dist/components/Segment/Segment.d.ts +6 -0
- package/dist/components/Segment/Segment.js +60 -0
- package/dist/components/Segment/types.d.ts +56 -0
- package/dist/components/Segment/types.js +2 -0
- package/dist/components/Switch/Switch.d.ts +2 -2
- package/dist/components/Switch/Switch.js +14 -16
- package/dist/components/Switch/types.d.ts +2 -2
- package/dist/components/Tabs/Tabs.d.ts +4 -4
- package/dist/components/Tabs/Tabs.js +35 -28
- package/dist/components/Tabs/types.d.ts +19 -15
- package/dist/components/Test/Test.js +1 -1
- package/dist/index.d.ts +11 -7
- package/dist/index.js +11 -7
- package/package.json +14 -18
- package/dist/utils/react-compose.d.ts +0 -4
- package/dist/utils/react-compose.js +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { default as TestReact } from
|
|
2
|
-
export { Accordion } from
|
|
3
|
-
export { Avatar } from
|
|
4
|
-
export { AppBar
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
1
|
+
export { default as TestReact } from './components/Test/Test.js';
|
|
2
|
+
export { Accordion } from './components/Accordion/Accordion.js';
|
|
3
|
+
export { Avatar } from './components/Avatar/Avatar.js';
|
|
4
|
+
export { AppBar } from './components/AppBar/AppBar.js';
|
|
5
|
+
export { Nav } from './components/Navigation/Navigation.js';
|
|
6
|
+
export { Progress } from './components/Progress/Progress.js';
|
|
7
|
+
export { ProgressRing } from './components/ProgressRing/ProgressRing.js';
|
|
8
|
+
export { Switch } from './components/Switch/Switch.js';
|
|
9
|
+
export { Segment } from './components/Segment/Segment.js';
|
|
10
|
+
export { Tabs } from './components/Tabs/Tabs.js';
|
|
11
|
+
export { Rating } from './components/Rating/Rating.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
export { default as TestReact } from
|
|
1
|
+
export { default as TestReact } from './components/Test/Test.js';
|
|
2
2
|
// Components
|
|
3
|
-
export { Accordion } from
|
|
4
|
-
export { Avatar } from
|
|
5
|
-
export { AppBar
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
3
|
+
export { Accordion } from './components/Accordion/Accordion.js';
|
|
4
|
+
export { Avatar } from './components/Avatar/Avatar.js';
|
|
5
|
+
export { AppBar } from './components/AppBar/AppBar.js';
|
|
6
|
+
export { Nav } from './components/Navigation/Navigation.js';
|
|
7
|
+
export { Progress } from './components/Progress/Progress.js';
|
|
8
|
+
export { ProgressRing } from './components/ProgressRing/ProgressRing.js';
|
|
9
|
+
export { Switch } from './components/Switch/Switch.js';
|
|
10
|
+
export { Segment } from './components/Segment/Segment.js';
|
|
11
|
+
export { Tabs } from './components/Tabs/Tabs.js';
|
|
12
|
+
export { Rating } from './components/Rating/Rating.js';
|
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.3",
|
|
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": [
|
|
@@ -31,13 +39,8 @@
|
|
|
31
39
|
"@testing-library/user-event": "^14.5.2",
|
|
32
40
|
"@types/react": "^18.2.74",
|
|
33
41
|
"@types/react-dom": "^18.2.24",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
35
|
-
"@typescript-eslint/parser": "^6.21.0",
|
|
36
42
|
"@vitejs/plugin-react": "^4.2.1",
|
|
37
43
|
"autoprefixer": "^10.4.19",
|
|
38
|
-
"eslint": "^8.57.0",
|
|
39
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
40
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
41
44
|
"jsdom": "^24.0.0",
|
|
42
45
|
"lucide-react": "^0.341.0",
|
|
43
46
|
"postcss": "^8.4.38",
|
|
@@ -48,8 +51,8 @@
|
|
|
48
51
|
"vite": "^5.2.8",
|
|
49
52
|
"vite-plugin-remix-router": "^2.0.0",
|
|
50
53
|
"vitest": "^1.4.0",
|
|
51
|
-
"@skeletonlabs/skeleton": "3.0.0-next.
|
|
52
|
-
"vite-plugin-tw-plugin-watcher": "0.0.0"
|
|
54
|
+
"@skeletonlabs/skeleton": "3.0.0-next.2",
|
|
55
|
+
"vite-plugin-tw-plugin-watcher": "0.0.1-next.0"
|
|
53
56
|
},
|
|
54
57
|
"peerDependencies": {
|
|
55
58
|
"framer-motion": "^11.0.24"
|
|
@@ -57,19 +60,12 @@
|
|
|
57
60
|
"scripts": {
|
|
58
61
|
"dev": "vite",
|
|
59
62
|
"build": "vite build",
|
|
63
|
+
"check": "pnpm package",
|
|
60
64
|
"package": "tsc --project tsconfig.package.json",
|
|
61
65
|
"package:watch": "tsc --project tsconfig.package.json --watch --preserveWatchOutput",
|
|
62
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
63
66
|
"preview": "vite preview",
|
|
64
|
-
"test": "
|
|
65
|
-
"test:
|
|
67
|
+
"test": "pnpm run \"/test:/\"",
|
|
68
|
+
"test:unit": "vitest",
|
|
66
69
|
"schema": "node ./scripts/generator.js"
|
|
67
|
-
},
|
|
68
|
-
"typesVersions": {
|
|
69
|
-
">4.0": {
|
|
70
|
-
"index.d.ts": [
|
|
71
|
-
"./dist/index.d.ts"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
70
|
}
|
|
75
71
|
}
|