@szum-tech/design-system 3.4.0 → 3.5.1
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/{chunk-Y6EVJSAH.cjs → chunk-3ZRMIVJM.cjs} +6 -0
- package/dist/chunk-5Q3H4MOX.js +123 -0
- package/dist/chunk-6WGZMVJT.cjs +132 -0
- package/dist/{chunk-777F7WSJ.js → chunk-FN24XAO4.js} +1 -1
- package/dist/{chunk-U4AWAABZ.js → chunk-O7QFYWMK.js} +6 -0
- package/dist/chunk-PBEZZMAB.js +25 -0
- package/dist/chunk-TH44JYXB.cjs +27 -0
- package/dist/{chunk-P2MKLQQK.cjs → chunk-UPL5LJOP.cjs} +3 -3
- package/dist/components/badge/index.cjs +2 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/button/index.cjs +10 -9
- package/dist/components/button/index.js +9 -8
- package/dist/components/dialog/index.cjs +9 -9
- package/dist/components/dialog/index.d.cts +13 -12
- package/dist/components/dialog/index.d.ts +13 -12
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/field/index.cjs +11 -11
- package/dist/components/field/index.js +1 -1
- package/dist/components/index.cjs +80 -75
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +9 -8
- package/dist/components/progress/index.cjs +12 -0
- package/dist/components/progress/index.d.cts +8 -0
- package/dist/components/progress/index.d.ts +8 -0
- package/dist/components/progress/index.js +3 -0
- package/dist/components/select/index.cjs +7 -7
- package/dist/components/select/index.js +1 -1
- package/dist/components/stepper/index.cjs +28 -27
- package/dist/components/stepper/index.js +9 -8
- package/dist/components/toaster/index.cjs +11 -10
- package/dist/components/toaster/index.js +9 -8
- package/package.json +28 -36
- package/dist/chunk-AGVEKVWD.js +0 -78
- package/dist/chunk-PH4LO5TE.cjs +0 -87
- /package/dist/{chunk-PAHTQUQC.js → chunk-6VC76QIP.js} +0 -0
- /package/dist/{chunk-6U4URFAI.js → chunk-KYFNEU4K.js} +0 -0
- /package/dist/{chunk-NT3AA6QQ.cjs → chunk-RDYKJP7U.cjs} +0 -0
- /package/dist/{chunk-H3CLI4CJ.cjs → chunk-YTVV2IUF.cjs} +0 -0
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUPL5LJOP_cjs = require('../../chunk-UPL5LJOP.cjs');
|
|
4
|
+
require('../../chunk-NU5UQPBX.cjs');
|
|
4
5
|
require('../../chunk-GR37JJQK.cjs');
|
|
6
|
+
require('../../chunk-TH44JYXB.cjs');
|
|
5
7
|
require('../../chunk-XENOUBSI.cjs');
|
|
6
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-3ZRMIVJM.cjs');
|
|
7
9
|
require('../../chunk-GHV2TURY.cjs');
|
|
8
10
|
require('../../chunk-3WSQRFUY.cjs');
|
|
9
|
-
require('../../chunk-NU5UQPBX.cjs');
|
|
10
11
|
require('../../chunk-2Y2ZCPNV.cjs');
|
|
11
12
|
require('../../chunk-HCHVDUI6.cjs');
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-H3CLI4CJ.cjs');
|
|
14
|
-
require('../../chunk-S3ANEJJ7.cjs');
|
|
13
|
+
require('../../chunk-6WGZMVJT.cjs');
|
|
15
14
|
require('../../chunk-YWG7TML6.cjs');
|
|
15
|
+
require('../../chunk-YTVV2IUF.cjs');
|
|
16
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
16
17
|
require('../../chunk-5AA4IE2T.cjs');
|
|
17
18
|
require('../../chunk-3DUJHGXE.cjs');
|
|
18
19
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
19
20
|
require('../../chunk-EW6TE3N5.cjs');
|
|
20
21
|
require('../../chunk-7EYMOUWG.cjs');
|
|
21
|
-
require('../../chunk-I7AV5IQO.cjs');
|
|
22
22
|
require('../../chunk-TMXVL5CV.cjs');
|
|
23
|
-
require('../../chunk-
|
|
23
|
+
require('../../chunk-I7AV5IQO.cjs');
|
|
24
|
+
require('../../chunk-RDYKJP7U.cjs');
|
|
24
25
|
require('../../chunk-H2BWO3SI.cjs');
|
|
25
26
|
require('../../chunk-3376ZTRC.cjs');
|
|
26
27
|
|
|
@@ -28,77 +29,77 @@ require('../../chunk-3376ZTRC.cjs');
|
|
|
28
29
|
|
|
29
30
|
Object.defineProperty(exports, "Stepper", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkUPL5LJOP_cjs.Stepper; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "StepperActivationMode", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperActivationMode; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "StepperContent", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperContent; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "StepperDataState", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperDataState; }
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(exports, "StepperDescription", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperDescription; }
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "StepperFocusIntent", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperFocusIntent; }
|
|
52
53
|
});
|
|
53
54
|
Object.defineProperty(exports, "StepperIndicator", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperIndicator; }
|
|
56
57
|
});
|
|
57
58
|
Object.defineProperty(exports, "StepperItem", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperItem; }
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "StepperNav", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperNav; }
|
|
64
65
|
});
|
|
65
66
|
Object.defineProperty(exports, "StepperNavigationDirection", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperNavigationDirection; }
|
|
68
69
|
});
|
|
69
70
|
Object.defineProperty(exports, "StepperNextTrigger", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperNextTrigger; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "StepperOrientation", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperOrientation; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "StepperPanel", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperPanel; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "StepperPrevTrigger", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperPrevTrigger; }
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "StepperTitle", {
|
|
86
87
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperTitle; }
|
|
88
89
|
});
|
|
89
90
|
Object.defineProperty(exports, "StepperTrigger", {
|
|
90
91
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkUPL5LJOP_cjs.StepperTrigger; }
|
|
92
93
|
});
|
|
93
94
|
Object.defineProperty(exports, "useStepperContext", {
|
|
94
95
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkUPL5LJOP_cjs.useStepperContext; }
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "useStepperFocusContext", {
|
|
98
99
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkUPL5LJOP_cjs.useStepperFocusContext; }
|
|
100
101
|
});
|
|
101
102
|
Object.defineProperty(exports, "useStepperItemContext", {
|
|
102
103
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkUPL5LJOP_cjs.useStepperItemContext; }
|
|
104
105
|
});
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { Stepper, StepperActivationMode, StepperContent, StepperDataState, StepperDescription, StepperFocusIntent, StepperIndicator, StepperItem, StepperNav, StepperNavigationDirection, StepperNextTrigger, StepperOrientation, StepperPanel, StepperPrevTrigger, StepperTitle, StepperTrigger, useStepperContext, useStepperFocusContext, useStepperItemContext } from '../../chunk-
|
|
1
|
+
export { Stepper, StepperActivationMode, StepperContent, StepperDataState, StepperDescription, StepperFocusIntent, StepperIndicator, StepperItem, StepperNav, StepperNavigationDirection, StepperNextTrigger, StepperOrientation, StepperPanel, StepperPrevTrigger, StepperTitle, StepperTrigger, useStepperContext, useStepperFocusContext, useStepperItemContext } from '../../chunk-FN24XAO4.js';
|
|
2
|
+
import '../../chunk-OQCNPNPS.js';
|
|
2
3
|
import '../../chunk-HJJPEVIH.js';
|
|
4
|
+
import '../../chunk-PBEZZMAB.js';
|
|
3
5
|
import '../../chunk-4TRADSTP.js';
|
|
4
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-O7QFYWMK.js';
|
|
5
7
|
import '../../chunk-DTSFPOLX.js';
|
|
6
8
|
import '../../chunk-P5IUC7HJ.js';
|
|
7
|
-
import '../../chunk-OQCNPNPS.js';
|
|
8
9
|
import '../../chunk-6BSR3O2J.js';
|
|
9
10
|
import '../../chunk-5F2Y65JH.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-6U4URFAI.js';
|
|
12
|
-
import '../../chunk-I3RSTJP6.js';
|
|
11
|
+
import '../../chunk-5Q3H4MOX.js';
|
|
13
12
|
import '../../chunk-UW6GOD7J.js';
|
|
13
|
+
import '../../chunk-KYFNEU4K.js';
|
|
14
|
+
import '../../chunk-I3RSTJP6.js';
|
|
14
15
|
import '../../chunk-UGSNASZM.js';
|
|
15
16
|
import '../../chunk-XV3AQ6NS.js';
|
|
16
17
|
import '../../chunk-XJIUGEPN.js';
|
|
17
18
|
import '../../chunk-H5O5L6XT.js';
|
|
18
19
|
import '../../chunk-DFD2WUOU.js';
|
|
19
|
-
import '../../chunk-NGVFYKAT.js';
|
|
20
20
|
import '../../chunk-5MJPZUTO.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-NGVFYKAT.js';
|
|
22
|
+
import '../../chunk-6VC76QIP.js';
|
|
22
23
|
import '../../chunk-ZD2QRAOX.js';
|
|
23
24
|
import '../../chunk-BYXBJQAS.js';
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUPL5LJOP_cjs = require('../../chunk-UPL5LJOP.cjs');
|
|
4
|
+
require('../../chunk-NU5UQPBX.cjs');
|
|
4
5
|
require('../../chunk-GR37JJQK.cjs');
|
|
6
|
+
require('../../chunk-TH44JYXB.cjs');
|
|
5
7
|
require('../../chunk-XENOUBSI.cjs');
|
|
6
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-3ZRMIVJM.cjs');
|
|
7
9
|
require('../../chunk-GHV2TURY.cjs');
|
|
8
10
|
require('../../chunk-3WSQRFUY.cjs');
|
|
9
|
-
require('../../chunk-NU5UQPBX.cjs');
|
|
10
11
|
require('../../chunk-2Y2ZCPNV.cjs');
|
|
11
12
|
require('../../chunk-HCHVDUI6.cjs');
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-H3CLI4CJ.cjs');
|
|
14
|
-
require('../../chunk-S3ANEJJ7.cjs');
|
|
13
|
+
require('../../chunk-6WGZMVJT.cjs');
|
|
15
14
|
require('../../chunk-YWG7TML6.cjs');
|
|
15
|
+
require('../../chunk-YTVV2IUF.cjs');
|
|
16
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
16
17
|
require('../../chunk-5AA4IE2T.cjs');
|
|
17
18
|
require('../../chunk-3DUJHGXE.cjs');
|
|
18
19
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
19
20
|
require('../../chunk-EW6TE3N5.cjs');
|
|
20
21
|
require('../../chunk-7EYMOUWG.cjs');
|
|
21
|
-
require('../../chunk-I7AV5IQO.cjs');
|
|
22
22
|
require('../../chunk-TMXVL5CV.cjs');
|
|
23
|
-
require('../../chunk-
|
|
23
|
+
require('../../chunk-I7AV5IQO.cjs');
|
|
24
|
+
require('../../chunk-RDYKJP7U.cjs');
|
|
24
25
|
require('../../chunk-H2BWO3SI.cjs');
|
|
25
26
|
require('../../chunk-3376ZTRC.cjs');
|
|
26
27
|
|
|
@@ -28,9 +29,9 @@ require('../../chunk-3376ZTRC.cjs');
|
|
|
28
29
|
|
|
29
30
|
Object.defineProperty(exports, "Toaster", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkUPL5LJOP_cjs.Toaster; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "toast", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkUPL5LJOP_cjs.toast; }
|
|
36
37
|
});
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { Toaster, toast } from '../../chunk-
|
|
1
|
+
export { Toaster, toast } from '../../chunk-FN24XAO4.js';
|
|
2
|
+
import '../../chunk-OQCNPNPS.js';
|
|
2
3
|
import '../../chunk-HJJPEVIH.js';
|
|
4
|
+
import '../../chunk-PBEZZMAB.js';
|
|
3
5
|
import '../../chunk-4TRADSTP.js';
|
|
4
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-O7QFYWMK.js';
|
|
5
7
|
import '../../chunk-DTSFPOLX.js';
|
|
6
8
|
import '../../chunk-P5IUC7HJ.js';
|
|
7
|
-
import '../../chunk-OQCNPNPS.js';
|
|
8
9
|
import '../../chunk-6BSR3O2J.js';
|
|
9
10
|
import '../../chunk-5F2Y65JH.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-6U4URFAI.js';
|
|
12
|
-
import '../../chunk-I3RSTJP6.js';
|
|
11
|
+
import '../../chunk-5Q3H4MOX.js';
|
|
13
12
|
import '../../chunk-UW6GOD7J.js';
|
|
13
|
+
import '../../chunk-KYFNEU4K.js';
|
|
14
|
+
import '../../chunk-I3RSTJP6.js';
|
|
14
15
|
import '../../chunk-UGSNASZM.js';
|
|
15
16
|
import '../../chunk-XV3AQ6NS.js';
|
|
16
17
|
import '../../chunk-XJIUGEPN.js';
|
|
17
18
|
import '../../chunk-H5O5L6XT.js';
|
|
18
19
|
import '../../chunk-DFD2WUOU.js';
|
|
19
|
-
import '../../chunk-NGVFYKAT.js';
|
|
20
20
|
import '../../chunk-5MJPZUTO.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-NGVFYKAT.js';
|
|
22
|
+
import '../../chunk-6VC76QIP.js';
|
|
22
23
|
import '../../chunk-ZD2QRAOX.js';
|
|
23
24
|
import '../../chunk-BYXBJQAS.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"require": "./dist/components/index.cjs"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
"./
|
|
41
|
+
"./components/*": {
|
|
42
42
|
"import": {
|
|
43
43
|
"types": "./dist/components/*/index.d.ts",
|
|
44
44
|
"import": "./dist/components/*/index.js"
|
|
@@ -119,29 +119,22 @@
|
|
|
119
119
|
"test:watch": "vitest --watch",
|
|
120
120
|
"type-check": "tsc --noEmit"
|
|
121
121
|
},
|
|
122
|
-
"overrides": {
|
|
123
|
-
"@storybook-community/storybook-dark-mode": {
|
|
124
|
-
"storybook": "^10.0.6",
|
|
125
|
-
"@storybook/addon-docs": "^10.0.6"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
122
|
"dependencies": {
|
|
129
123
|
"class-variance-authority": "^0.7.1",
|
|
130
124
|
"clsx": "^2.1.1",
|
|
131
|
-
"lucide-react": "^0.
|
|
132
|
-
"radix-ui": "^1.4.
|
|
125
|
+
"lucide-react": "^0.555.0",
|
|
126
|
+
"radix-ui": "^1.4.3",
|
|
133
127
|
"sonner": "^2.0.7",
|
|
134
128
|
"tailwind-merge": "^3.3.1",
|
|
135
129
|
"tailwindcss-animate": "^1.0.7"
|
|
136
130
|
},
|
|
137
131
|
"devDependencies": {
|
|
138
|
-
"@
|
|
139
|
-
"@storybook
|
|
140
|
-
"@storybook/addon-docs": "^10.
|
|
141
|
-
"@storybook/addon-
|
|
142
|
-
"@storybook/
|
|
143
|
-
"@storybook/
|
|
144
|
-
"@storybook/react-vite": "^10.0.6",
|
|
132
|
+
"@storybook-community/storybook-dark-mode": "^7.0.3",
|
|
133
|
+
"@storybook/addon-a11y": "^10.1.3",
|
|
134
|
+
"@storybook/addon-docs": "^10.1.3",
|
|
135
|
+
"@storybook/addon-vitest": "^10.1.3",
|
|
136
|
+
"@storybook/builder-vite": "^10.1.3",
|
|
137
|
+
"@storybook/react-vite": "^10.1.3",
|
|
145
138
|
"@szum-tech/eslint-config": "^2.1.7",
|
|
146
139
|
"@szum-tech/prettier-config": "^1.6.2",
|
|
147
140
|
"@szum-tech/semantic-release-config": "^2.3.1",
|
|
@@ -150,38 +143,37 @@
|
|
|
150
143
|
"@testing-library/jest-dom": "^6.6.4",
|
|
151
144
|
"@testing-library/react": "^16.3.0",
|
|
152
145
|
"@testing-library/user-event": "^14.6.1",
|
|
153
|
-
"@types/node": "^24.1
|
|
154
|
-
"@types/react": "^19.
|
|
155
|
-
"@types/react-dom": "^19.
|
|
156
|
-
"@vitejs/plugin-react": "^5.
|
|
157
|
-
"@vitest/browser": "^4.0.
|
|
158
|
-
"@vitest/browser-playwright": "^4.0.
|
|
159
|
-
"@vitest/coverage-v8": "^4.0.
|
|
160
|
-
"@vitest/ui": "^4.0.
|
|
146
|
+
"@types/node": "^24.10.1",
|
|
147
|
+
"@types/react": "^19.2.7",
|
|
148
|
+
"@types/react-dom": "^19.2.3",
|
|
149
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
150
|
+
"@vitest/browser": "^4.0.13",
|
|
151
|
+
"@vitest/browser-playwright": "^4.0.15",
|
|
152
|
+
"@vitest/coverage-v8": "^4.0.15",
|
|
153
|
+
"@vitest/ui": "^4.0.15",
|
|
161
154
|
"cpy-cli": "^6.0.0",
|
|
162
|
-
"eslint": "^9.
|
|
155
|
+
"eslint": "^9.39.1",
|
|
163
156
|
"happy-dom": "^20.0.2",
|
|
164
|
-
"playwright": "^1.
|
|
157
|
+
"playwright": "^1.56.1",
|
|
165
158
|
"prettier": "^3.6.2",
|
|
166
159
|
"react": "^19.1.1",
|
|
167
160
|
"react-docgen": "^8.0.0",
|
|
168
161
|
"react-docgen-typescript": "^2.4.0",
|
|
169
162
|
"react-dom": "^19.1.0",
|
|
170
|
-
"semantic-release": "^
|
|
163
|
+
"semantic-release": "^25.0.2",
|
|
171
164
|
"serve": "^14.2.4",
|
|
172
|
-
"storybook": "^10.
|
|
165
|
+
"storybook": "^10.1.3",
|
|
173
166
|
"storybook-addon-tag-badges": "^3.0.2",
|
|
174
167
|
"tailwindcss": "^4.1.11",
|
|
175
|
-
"tsup": "^8.5.
|
|
176
|
-
"typescript": "^5.
|
|
177
|
-
"vite": "^7.
|
|
168
|
+
"tsup": "^8.5.1",
|
|
169
|
+
"typescript": "^5.9.3",
|
|
170
|
+
"vite": "^7.2.4",
|
|
178
171
|
"vite-tsconfig-paths": "^5.1.4",
|
|
179
|
-
"vitest": "^4.0.
|
|
180
|
-
"zod": "^4.0.14"
|
|
172
|
+
"vitest": "^4.0.15"
|
|
181
173
|
},
|
|
182
174
|
"peerDependencies": {
|
|
183
|
-
"react": ">=19.
|
|
184
|
-
"react-dom": ">=19.
|
|
175
|
+
"react": ">=19.1.0",
|
|
176
|
+
"react-dom": ">=19.1.0",
|
|
185
177
|
"tailwindcss": ">=4"
|
|
186
178
|
},
|
|
187
179
|
"engines": {
|
package/dist/chunk-AGVEKVWD.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { cn } from './chunk-ZD2QRAOX.js';
|
|
2
|
-
import { Dialog as Dialog$1 } from 'radix-ui';
|
|
3
|
-
import { clsx } from 'clsx';
|
|
4
|
-
import { X } from 'lucide-react';
|
|
5
|
-
import { twMerge } from 'tailwind-merge';
|
|
6
|
-
import { cva } from 'class-variance-authority';
|
|
7
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
|
-
|
|
9
|
-
var Dialog = Dialog$1.Root;
|
|
10
|
-
var DialogClose = Dialog$1.Close;
|
|
11
|
-
var dialogContentStyles = cva(
|
|
12
|
-
[
|
|
13
|
-
"bg-app-foreground fixed left-1/2 top-1/2 z-50 flex w-full -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-800 p-4 shadow-lg",
|
|
14
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] duration-200"
|
|
15
|
-
],
|
|
16
|
-
{
|
|
17
|
-
variants: {
|
|
18
|
-
width: {
|
|
19
|
-
xs: "max-w-xs",
|
|
20
|
-
sm: "max-w-sm",
|
|
21
|
-
md: "max-w-md",
|
|
22
|
-
lg: "max-w-lg",
|
|
23
|
-
xl: "max-w-xl",
|
|
24
|
-
"2xl": "max-w-2xl",
|
|
25
|
-
"3xl": "max-w-3xl",
|
|
26
|
-
"4xl": "max-w-4xl",
|
|
27
|
-
"5xl": "max-w-5xl",
|
|
28
|
-
"6xl": "max-w-6xl",
|
|
29
|
-
full: "max-w-full"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
defaultVariants: {
|
|
33
|
-
width: "md"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
function DialogContent({ className, children, width = "md", ...props }) {
|
|
38
|
-
return /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
40
|
-
Dialog$1.Overlay,
|
|
41
|
-
{
|
|
42
|
-
className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",
|
|
43
|
-
...props
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ jsxs(Dialog$1.Content, { "aria-modal": "true", className: twMerge(dialogContentStyles({ width }), className), ...props, children: [
|
|
47
|
-
children,
|
|
48
|
-
/* @__PURE__ */ jsxs(
|
|
49
|
-
Dialog$1.Close,
|
|
50
|
-
{
|
|
51
|
-
className: clsx([
|
|
52
|
-
"data-[state=open]:bg-app-foreground absolute top-4 right-4 cursor-pointer rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",
|
|
53
|
-
"focus-visible:ring-primary-500/40 ring-offset-app-foreground focus-visible:ring-2 focus-visible:ring-offset-2"
|
|
54
|
-
]),
|
|
55
|
-
children: [
|
|
56
|
-
/* @__PURE__ */ jsx(X, { className: "size-4" }),
|
|
57
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close dialog" })
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
] })
|
|
62
|
-
] });
|
|
63
|
-
}
|
|
64
|
-
var DialogTrigger = Dialog$1.Trigger;
|
|
65
|
-
function DialogHeader({ className, ...props }) {
|
|
66
|
-
return /* @__PURE__ */ jsx("div", { className: cn("mb-4 flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
|
|
67
|
-
}
|
|
68
|
-
function DialogFooter({ className, ...props }) {
|
|
69
|
-
return /* @__PURE__ */ jsx("div", { className: cn("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
|
|
70
|
-
}
|
|
71
|
-
function DialogTitle({ className, ...props }) {
|
|
72
|
-
return /* @__PURE__ */ jsx(Dialog$1.Title, { className: cn("text-heading-6", className), ...props });
|
|
73
|
-
}
|
|
74
|
-
function DialogDescription({ className, ...props }) {
|
|
75
|
-
return /* @__PURE__ */ jsx(Dialog$1.Description, { className: cn("text-body-2 text-gray-300", className), ...props });
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
|
package/dist/chunk-PH4LO5TE.cjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
|
|
4
|
-
var radixUi = require('radix-ui');
|
|
5
|
-
var clsx = require('clsx');
|
|
6
|
-
var lucideReact = require('lucide-react');
|
|
7
|
-
var tailwindMerge = require('tailwind-merge');
|
|
8
|
-
var classVarianceAuthority = require('class-variance-authority');
|
|
9
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
-
|
|
11
|
-
var Dialog = radixUi.Dialog.Root;
|
|
12
|
-
var DialogClose = radixUi.Dialog.Close;
|
|
13
|
-
var dialogContentStyles = classVarianceAuthority.cva(
|
|
14
|
-
[
|
|
15
|
-
"bg-app-foreground fixed left-1/2 top-1/2 z-50 flex w-full -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-800 p-4 shadow-lg",
|
|
16
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] duration-200"
|
|
17
|
-
],
|
|
18
|
-
{
|
|
19
|
-
variants: {
|
|
20
|
-
width: {
|
|
21
|
-
xs: "max-w-xs",
|
|
22
|
-
sm: "max-w-sm",
|
|
23
|
-
md: "max-w-md",
|
|
24
|
-
lg: "max-w-lg",
|
|
25
|
-
xl: "max-w-xl",
|
|
26
|
-
"2xl": "max-w-2xl",
|
|
27
|
-
"3xl": "max-w-3xl",
|
|
28
|
-
"4xl": "max-w-4xl",
|
|
29
|
-
"5xl": "max-w-5xl",
|
|
30
|
-
"6xl": "max-w-6xl",
|
|
31
|
-
full: "max-w-full"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
width: "md"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
function DialogContent({ className, children, width = "md", ...props }) {
|
|
40
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Portal, { children: [
|
|
41
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42
|
-
radixUi.Dialog.Overlay,
|
|
43
|
-
{
|
|
44
|
-
className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",
|
|
45
|
-
...props
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Content, { "aria-modal": "true", className: tailwindMerge.twMerge(dialogContentStyles({ width }), className), ...props, children: [
|
|
49
|
-
children,
|
|
50
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
51
|
-
radixUi.Dialog.Close,
|
|
52
|
-
{
|
|
53
|
-
className: clsx.clsx([
|
|
54
|
-
"data-[state=open]:bg-app-foreground absolute top-4 right-4 cursor-pointer rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",
|
|
55
|
-
"focus-visible:ring-primary-500/40 ring-offset-app-foreground focus-visible:ring-2 focus-visible:ring-offset-2"
|
|
56
|
-
]),
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4" }),
|
|
59
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close dialog" })
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
] })
|
|
64
|
-
] });
|
|
65
|
-
}
|
|
66
|
-
var DialogTrigger = radixUi.Dialog.Trigger;
|
|
67
|
-
function DialogHeader({ className, ...props }) {
|
|
68
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("mb-4 flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
|
|
69
|
-
}
|
|
70
|
-
function DialogFooter({ className, ...props }) {
|
|
71
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
|
|
72
|
-
}
|
|
73
|
-
function DialogTitle({ className, ...props }) {
|
|
74
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Title, { className: chunkH2BWO3SI_cjs.cn("text-heading-6", className), ...props });
|
|
75
|
-
}
|
|
76
|
-
function DialogDescription({ className, ...props }) {
|
|
77
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Description, { className: chunkH2BWO3SI_cjs.cn("text-body-2 text-gray-300", className), ...props });
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
exports.Dialog = Dialog;
|
|
81
|
-
exports.DialogClose = DialogClose;
|
|
82
|
-
exports.DialogContent = DialogContent;
|
|
83
|
-
exports.DialogDescription = DialogDescription;
|
|
84
|
-
exports.DialogFooter = DialogFooter;
|
|
85
|
-
exports.DialogHeader = DialogHeader;
|
|
86
|
-
exports.DialogTitle = DialogTitle;
|
|
87
|
-
exports.DialogTrigger = DialogTrigger;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|