@skeletonlabs/skeleton-react 1.0.0-next.7 → 1.0.0-next.9

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.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx } from "react/jsx-runtime";
2
3
  // Components ---
3
4
  const AppBarRoot = ({
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
3
  import { useId } from 'react';
3
4
  import * as pagination from '@zag-js/pagination';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import * as progress from '@zag-js/progress';
3
4
  import { normalizeProps, useMachine } from '@zag-js/react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { useId } from 'react';
3
4
  import { normalizeProps, useMachine } from '@zag-js/react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import * as rating from '@zag-js/rating-group';
3
4
  import { useMachine, normalizeProps } from '@zag-js/react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { useId } from 'react';
3
4
  import * as slider from '@zag-js/slider';
@@ -29,7 +29,7 @@ children,
29
29
  };
30
30
  const TabsList = ({
31
31
  // Root
32
- base = 'flex', justify = 'justify-start', border = 'border-b border-surface-200-800', margin = 'mb-4', gap = 'gap-2', classes = '',
32
+ base = 'flex', justify = 'justify-start', border = 'border-b-[1px] border-surface-200-800', margin = 'mb-4', gap = 'gap-2', classes = '',
33
33
  // Children
34
34
  children }) => {
35
35
  const ctx = useContext(TabsContext);
@@ -37,7 +37,7 @@ children }) => {
37
37
  };
38
38
  const TabsControl = ({
39
39
  // Root
40
- base = 'border-b border-transparent', padding = 'pb-2', translateX = 'translate-y-[1px]', classes = '',
40
+ base = 'border-b-[1px] border-transparent', padding = 'pb-2', translateX = 'translate-y-[1px]', classes = '',
41
41
  // Label
42
42
  labelBase = 'btn hover:preset-tonal-primary', labelClasses = '',
43
43
  // State
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton-react",
3
- "version": "1.0.0-next.7",
3
+ "version": "1.0.0-next.9",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -29,46 +29,46 @@
29
29
  "!./dist/schemas.d.ts"
30
30
  ],
31
31
  "dependencies": {
32
- "@zag-js/accordion": "^0.65.1",
33
- "@zag-js/avatar": "^0.65.1",
34
- "@zag-js/file-upload": "^0.65.1",
35
- "@zag-js/pagination": "^0.65.1",
36
- "@zag-js/progress": "^0.65.1",
37
- "@zag-js/radio-group": "^0.65.1",
38
- "@zag-js/rating-group": "^0.65.1",
39
- "@zag-js/react": "^0.65.1",
40
- "@zag-js/slider": "^0.65.1",
41
- "@zag-js/switch": "^0.65.1",
42
- "@zag-js/tabs": "^0.65.1",
43
- "@zag-js/tags-input": "^0.65.1"
32
+ "@zag-js/accordion": "^0.75.0",
33
+ "@zag-js/avatar": "^0.75.0",
34
+ "@zag-js/file-upload": "^0.75.0",
35
+ "@zag-js/pagination": "^0.75.0",
36
+ "@zag-js/progress": "^0.75.0",
37
+ "@zag-js/radio-group": "^0.75.0",
38
+ "@zag-js/rating-group": "^0.75.0",
39
+ "@zag-js/react": "^0.75.0",
40
+ "@zag-js/slider": "^0.75.0",
41
+ "@zag-js/switch": "^0.75.0",
42
+ "@zag-js/tabs": "^0.75.0",
43
+ "@zag-js/tags-input": "^0.75.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "^18.0.0",
47
47
  "react-dom": "^18.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@tailwindcss/forms": "^0.5.7",
51
- "@testing-library/jest-dom": "^6.4.7",
52
- "@testing-library/react": "^14.3.1",
50
+ "@tailwindcss/forms": "^0.5.9",
51
+ "@testing-library/jest-dom": "^6.6.2",
52
+ "@testing-library/react": "^16.0.1",
53
53
  "@testing-library/user-event": "^14.5.2",
54
- "@types/react": "^18.3.3",
55
- "@types/react-dom": "^18.3.0",
56
- "@vitejs/plugin-react": "^4.3.1",
57
- "autoprefixer": "^10.4.19",
58
- "jsdom": "^24.1.1",
59
- "lucide-react": "^0.436.0",
60
- "postcss": "^8.4.39",
61
- "react": "^18.2.0",
62
- "react-dom": "^18.2.0",
63
- "react-router-dom": "^6.25.1",
64
- "tailwindcss": "^3.4.6",
65
- "typescript": "^5.5.4",
66
- "typescript-json-schema": "^0.63.0",
67
- "vite": "^5.3.4",
54
+ "@types/react": "^18.3.12",
55
+ "@types/react-dom": "^18.3.1",
56
+ "@vitejs/plugin-react": "^4.3.3",
57
+ "autoprefixer": "^10.4.20",
58
+ "jsdom": "^25.0.1",
59
+ "lucide-react": "^0.453.0",
60
+ "postcss": "^8.4.47",
61
+ "react": "^18.3.1",
62
+ "react-dom": "^18.3.1",
63
+ "react-router-dom": "^6.27.0",
64
+ "tailwindcss": "^3.4.14",
65
+ "typescript": "^5.6.3",
66
+ "typescript-json-schema": "^0.65.1",
67
+ "vite": "^5.4.10",
68
68
  "vite-plugin-remix-router": "^2.0.0",
69
- "vitest": "^1.6.0",
70
- "vite-plugin-tw-plugin-watcher": "0.0.1-next.0",
71
- "@skeletonlabs/skeleton": "3.0.0-next.4"
69
+ "vitest": "^2.1.3",
70
+ "@skeletonlabs/skeleton": "3.0.0-next.6",
71
+ "vite-plugin-tw-plugin-watcher": "0.0.1-next.0"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "vite",