@deepnoid/ui 0.0.87 → 0.0.89
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-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
- package/dist/{chunk-4SWFYTMR.mjs → chunk-6YE26GOI.mjs} +10 -8
- package/dist/{chunk-QX6VJLEM.mjs → chunk-7HHFRKJU.mjs} +2 -2
- package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
- package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
- package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
- package/dist/{chunk-QIZOXBOY.mjs → chunk-DWROPKZW.mjs} +4 -4
- package/dist/{chunk-PHQY5T3E.mjs → chunk-HFVZFUC3.mjs} +7 -14
- package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
- package/dist/{chunk-4VIEZ5FT.mjs → chunk-JN7EGKJL.mjs} +8 -7
- package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
- package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
- package/dist/{chunk-IZOMH2SL.mjs → chunk-MOINJECK.mjs} +16 -15
- package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
- package/dist/chunk-OJ2OEI5B.mjs +202 -0
- package/dist/{chunk-2COCX2VX.mjs → chunk-PXUBPWKU.mjs} +2 -2
- package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
- package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
- package/dist/chunk-UR64ZUAU.mjs +671 -0
- package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
- package/dist/components/accordion/accordion.d.mts +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +1 -1
- package/dist/components/accordion/accordionItem.d.ts +1 -1
- package/dist/components/accordion/accordionItem.js +31 -1
- package/dist/components/accordion/accordionItem.mjs +3 -3
- package/dist/components/accordion/index.js +31 -1
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/button/button-group.test.js +4103 -167
- package/dist/components/button/button-group.test.mjs +7 -3
- package/dist/components/button/button.d.mts +360 -12
- package/dist/components/button/button.d.ts +360 -12
- package/dist/components/button/button.js +4054 -110
- package/dist/components/button/button.mjs +5 -1
- package/dist/components/button/button.test.js +4059 -125
- package/dist/components/button/button.test.mjs +7 -3
- package/dist/components/button/index.d.mts +3 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.js +4046 -112
- package/dist/components/button/index.mjs +5 -1
- package/dist/components/card/card.d.mts +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.mts +69 -69
- package/dist/components/checkbox/checkbox.d.ts +69 -69
- package/dist/components/checkbox/checkbox.js +28 -21
- package/dist/components/checkbox/checkbox.mjs +1 -1
- package/dist/components/checkbox/checkbox.test.js +28 -21
- package/dist/components/checkbox/checkbox.test.mjs +3 -3
- package/dist/components/checkbox/index.js +28 -21
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +30 -0
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +30 -0
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -0
- package/dist/components/icon/template.d.ts +1 -0
- package/dist/components/icon/template.js +30 -0
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +36 -4
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +7 -2
- package/dist/components/input/input.d.ts +7 -2
- package/dist/components/input/input.js +36 -4
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/input/input.test.js +36 -4
- package/dist/components/input/input.test.mjs +4 -4
- package/dist/components/list/list.d.mts +1 -1
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/list/listItem.d.mts +1 -1
- package/dist/components/list/listItem.d.ts +1 -1
- package/dist/components/modal/index.js +505 -127
- package/dist/components/modal/index.mjs +5 -4
- package/dist/components/modal/modal.js +505 -127
- package/dist/components/modal/modal.mjs +5 -4
- package/dist/components/modal/modal.test.js +497 -129
- package/dist/components/modal/modal.test.mjs +5 -4
- package/dist/components/pagination/index.js +16 -16
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/pagination/pagination.js +16 -16
- package/dist/components/pagination/pagination.mjs +1 -1
- package/dist/components/pagination/pagination.test.js +16 -16
- package/dist/components/pagination/pagination.test.mjs +1 -1
- package/dist/components/progress/index.js +9 -9
- package/dist/components/progress/index.mjs +1 -1
- package/dist/components/progress/progress.d.mts +33 -33
- package/dist/components/progress/progress.d.ts +33 -33
- package/dist/components/progress/progress.js +9 -9
- package/dist/components/progress/progress.mjs +1 -1
- package/dist/components/progress/progress.test.js +9 -9
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/index.js +37 -19
- package/dist/components/radio/index.mjs +1 -1
- package/dist/components/radio/radio.d.mts +33 -33
- package/dist/components/radio/radio.d.ts +33 -33
- package/dist/components/radio/radio.js +37 -19
- package/dist/components/radio/radio.mjs +1 -1
- package/dist/components/radio/radio.test.js +37 -19
- package/dist/components/radio/radio.test.mjs +1 -1
- package/dist/components/select/index.js +36 -5
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +30 -0
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.d.mts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/select/select.js +36 -5
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/select/select.test.js +36 -5
- package/dist/components/select/select.test.mjs +7 -7
- package/dist/components/slider/index.js +9 -4
- package/dist/components/slider/index.mjs +1 -1
- package/dist/components/slider/slider.d.mts +26 -0
- package/dist/components/slider/slider.d.ts +26 -0
- package/dist/components/slider/slider.js +9 -4
- package/dist/components/slider/slider.mjs +1 -1
- package/dist/components/slider/slider.test.js +9 -4
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/index.js +16 -15
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +48 -48
- package/dist/components/switch/switch.d.ts +48 -48
- package/dist/components/switch/switch.js +16 -15
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +16 -15
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/index.js +66 -27
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.js +60 -23
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table-head.js +28 -21
- package/dist/components/table/table-head.mjs +2 -2
- package/dist/components/table/table.d.mts +21 -7
- package/dist/components/table/table.d.ts +21 -7
- package/dist/components/table/table.js +66 -27
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/table/table.test.js +66 -27
- package/dist/components/table/table.test.mjs +6 -6
- package/dist/components/tabs/tabs.d.mts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.test.mjs +3 -3
- package/dist/components/textarea/index.d.mts +3 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.js +89 -30
- package/dist/components/textarea/index.mjs +2 -1
- package/dist/components/textarea/textarea.d.mts +510 -9
- package/dist/components/textarea/textarea.d.ts +510 -9
- package/dist/components/textarea/textarea.js +89 -30
- package/dist/components/textarea/textarea.mjs +2 -1
- package/dist/components/textarea/textarea.test.js +89 -30
- package/dist/components/textarea/textarea.test.mjs +3 -2
- package/dist/components/toast/index.js +32 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +31 -1
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/toast.test.js +31 -1
- package/dist/components/toast/toast.test.mjs +3 -3
- package/dist/components/toast/use-toast.js +32 -2
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tooltip/tooltip.test.js +4034 -118
- package/dist/components/tooltip/tooltip.test.mjs +6 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2773 -2334
- package/dist/index.mjs +33 -33
- package/package.json +1 -1
- package/dist/chunk-66WCZEEU.mjs +0 -320
- package/dist/chunk-WOX3SLJB.mjs +0 -162
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LCI6RPWE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
mapPropsVariants
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -137,12 +137,13 @@ var inputStyle = tv({
|
|
|
137
137
|
inputWrapper: [
|
|
138
138
|
"flex",
|
|
139
139
|
"items-center",
|
|
140
|
+
"transition",
|
|
141
|
+
"duration-200",
|
|
140
142
|
"group-has-[p]/input:border-danger-main",
|
|
141
|
-
"group-has-[p]/input:bg-danger-soft"
|
|
142
|
-
"transition duration-200"
|
|
143
|
+
"group-has-[p]/input:bg-danger-soft"
|
|
143
144
|
],
|
|
144
145
|
input: ["w-full", "h-full", "bg-transparent", "placeholder:text-neutral-main", "focus-visible:outline-none"],
|
|
145
|
-
content: ["flex", "items-center", "group-has-[p]/input:text-danger-main"
|
|
146
|
+
content: ["flex", "items-center", "select-none", "group-has-[p]/input:text-danger-main"],
|
|
146
147
|
errorMessage: ["text-danger-main"]
|
|
147
148
|
},
|
|
148
149
|
variants: {
|
|
@@ -221,7 +222,8 @@ var inputStyle = tv({
|
|
|
221
222
|
label: ["text-neutral-light"],
|
|
222
223
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
223
224
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
224
|
-
content: ["text-neutral-light"]
|
|
225
|
+
content: ["text-neutral-light"],
|
|
226
|
+
errorMessage: ["text-danger-light"]
|
|
225
227
|
}
|
|
226
228
|
},
|
|
227
229
|
isRequired: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
table_head_default
|
|
4
|
-
} from "./chunk-PUFNT5LS.mjs";
|
|
5
2
|
import {
|
|
6
3
|
table_body_default
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DWROPKZW.mjs";
|
|
5
|
+
import {
|
|
6
|
+
table_head_default
|
|
7
|
+
} from "./chunk-VG4644BG.mjs";
|
|
8
8
|
import {
|
|
9
9
|
clsx
|
|
10
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -185,7 +185,9 @@ var table = tv({
|
|
|
185
185
|
true: {}
|
|
186
186
|
},
|
|
187
187
|
isSelectedRow: {
|
|
188
|
-
true: {
|
|
188
|
+
true: {
|
|
189
|
+
tr: "cursor-pointer"
|
|
190
|
+
}
|
|
189
191
|
},
|
|
190
192
|
hideHeader: {
|
|
191
193
|
true: {
|
|
@@ -274,7 +276,7 @@ var table = tv({
|
|
|
274
276
|
variant: "stripe",
|
|
275
277
|
color: "primary",
|
|
276
278
|
class: {
|
|
277
|
-
tr: "data-[
|
|
279
|
+
tr: "data-[odd=true]:bg-primary-soft",
|
|
278
280
|
td: "group-hover:bg-primary-light"
|
|
279
281
|
}
|
|
280
282
|
},
|
|
@@ -282,7 +284,7 @@ var table = tv({
|
|
|
282
284
|
variant: "stripe",
|
|
283
285
|
color: "secondary",
|
|
284
286
|
class: {
|
|
285
|
-
tr: "data-[
|
|
287
|
+
tr: "data-[odd=true]:bg-secondary-soft",
|
|
286
288
|
td: "group-hover:bg-secondary-light"
|
|
287
289
|
}
|
|
288
290
|
},
|
|
@@ -290,7 +292,7 @@ var table = tv({
|
|
|
290
292
|
variant: "stripe",
|
|
291
293
|
color: "neutral",
|
|
292
294
|
class: {
|
|
293
|
-
tr: "data-[
|
|
295
|
+
tr: "data-[odd=true]:bg-trans-soft",
|
|
294
296
|
td: "group-hover:bg-neutral-light"
|
|
295
297
|
}
|
|
296
298
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PXUBPWKU.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|
|
@@ -25,7 +25,7 @@ var ToastProvider = ({
|
|
|
25
25
|
const [containerStyle, setContainerStyle] = useState({});
|
|
26
26
|
const toastRef = useRef();
|
|
27
27
|
const addToast = useCallback((content, options) => {
|
|
28
|
-
const id = Date.now() +
|
|
28
|
+
const id = Date.now() + Math.floor(Math.random() * 1e5);
|
|
29
29
|
const newToast = {
|
|
30
30
|
id,
|
|
31
31
|
content,
|
|
@@ -113,18 +113,18 @@ var slider = tv({
|
|
|
113
113
|
size: {
|
|
114
114
|
sm: {
|
|
115
115
|
track: "h-[2px]",
|
|
116
|
-
thumb: ["w-[
|
|
116
|
+
thumb: ["w-[6px] h-[6px]", "hover:shadow-[0px_0px_0px_2px]"],
|
|
117
117
|
label: "text-sm",
|
|
118
118
|
value: "text-sm"
|
|
119
119
|
},
|
|
120
120
|
md: {
|
|
121
121
|
track: "h-[4px]",
|
|
122
|
-
thumb: ["w-[
|
|
122
|
+
thumb: ["w-[8px] h-[8px]", "hover:shadow-[0px_0px_0px_3px]"],
|
|
123
123
|
label: "text-md",
|
|
124
124
|
value: "text-md"
|
|
125
125
|
},
|
|
126
126
|
lg: {
|
|
127
|
-
track: "h-[
|
|
127
|
+
track: "h-[6px]",
|
|
128
128
|
thumb: ["w-[12px] h-[12px]", "hover:shadow-[0px_0px_0px_4px]"],
|
|
129
129
|
label: "text-lg",
|
|
130
130
|
value: "text-lg"
|
|
@@ -140,6 +140,11 @@ var slider = tv({
|
|
|
140
140
|
thumb: "bg-secondary-main"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
+
gradient: {
|
|
144
|
+
true: {
|
|
145
|
+
filter: ["bg-gradient-to-r", "from-primary-main", "to-secondary-main"]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
143
148
|
fullWidth: {
|
|
144
149
|
true: {
|
|
145
150
|
base: "w-full"
|
|
@@ -157,7 +162,7 @@ var slider = tv({
|
|
|
157
162
|
},
|
|
158
163
|
true: {
|
|
159
164
|
thumb: ["bg-neutral-light", "hover:shadow-none", "cursor-default"],
|
|
160
|
-
filter: ["bg-neutral-light", "cursor-default"]
|
|
165
|
+
filter: ["bg-neutral-light", "from-none", "to-none", "cursor-default"]
|
|
161
166
|
}
|
|
162
167
|
}
|
|
163
168
|
},
|
|
@@ -51,10 +51,7 @@ var CheckBox = forwardRef((originalProps, ref) => {
|
|
|
51
51
|
fill: "none",
|
|
52
52
|
points: "1 9 7 14 15 4",
|
|
53
53
|
stroke: "currentColor",
|
|
54
|
-
strokeDasharray: 22,
|
|
55
|
-
strokeDashoffset: isSelected ? 44 : 66,
|
|
56
54
|
strokeLinecap: "round",
|
|
57
|
-
strokeLinejoin: "round",
|
|
58
55
|
strokeWidth: 3,
|
|
59
56
|
style: isSelected ? {
|
|
60
57
|
transition: "stroke-dashoffset 250ms linear 0.2s"
|
|
@@ -72,7 +69,7 @@ CheckBox.displayName = "CheckBox";
|
|
|
72
69
|
var checkbox_default = CheckBox;
|
|
73
70
|
var checkbox = tv({
|
|
74
71
|
slots: {
|
|
75
|
-
base: "group relative inline-flex items-center cursor-pointer",
|
|
72
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
76
73
|
wrapper: [
|
|
77
74
|
"relative",
|
|
78
75
|
"inline-flex",
|
|
@@ -99,33 +96,33 @@ var checkbox = tv({
|
|
|
99
96
|
"group-hover:before:bg-neutral-soft",
|
|
100
97
|
"before:transition duration-200"
|
|
101
98
|
],
|
|
102
|
-
icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
|
|
103
|
-
label: "relative text-foreground select-none"
|
|
99
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
|
|
100
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
104
101
|
},
|
|
105
102
|
variants: {
|
|
106
103
|
color: {
|
|
107
104
|
primary: {
|
|
108
|
-
wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
|
|
105
|
+
wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
|
|
109
106
|
},
|
|
110
107
|
secondary: {
|
|
111
|
-
wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
|
|
108
|
+
wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
|
|
112
109
|
}
|
|
113
110
|
},
|
|
114
111
|
size: {
|
|
115
112
|
sm: {
|
|
116
|
-
wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[
|
|
117
|
-
label: "text-sm ml-[
|
|
118
|
-
icon: "w-[10px] h-[10px]"
|
|
113
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
114
|
+
label: ["text-sm", "ml-[6px]"],
|
|
115
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
119
116
|
},
|
|
120
117
|
md: {
|
|
121
|
-
wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[
|
|
122
|
-
label: "text-md ml-[
|
|
123
|
-
icon: "w-[12px] h-[12px]"
|
|
118
|
+
wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
119
|
+
label: ["text-md", "ml-[8px]"],
|
|
120
|
+
icon: ["w-[12px]", "h-[12px]"]
|
|
124
121
|
},
|
|
125
122
|
lg: {
|
|
126
|
-
wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[
|
|
127
|
-
label: "text-lg ml-[10px]",
|
|
128
|
-
icon: "w-[15px] h-[15px]"
|
|
123
|
+
wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
|
|
124
|
+
label: ["text-lg", "ml-[10px]"],
|
|
125
|
+
icon: ["w-[15px]", "h-[15px]"]
|
|
129
126
|
}
|
|
130
127
|
},
|
|
131
128
|
lineThrough: {
|
|
@@ -146,14 +143,24 @@ var checkbox = tv({
|
|
|
146
143
|
},
|
|
147
144
|
isInvalid: {
|
|
148
145
|
true: {
|
|
149
|
-
wrapper:
|
|
146
|
+
wrapper: [
|
|
147
|
+
"before:border-danger-main",
|
|
148
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
149
|
+
"group-has-[:checked]:before:border-danger-main"
|
|
150
|
+
],
|
|
150
151
|
label: "text-danger-main"
|
|
151
152
|
}
|
|
152
153
|
},
|
|
153
154
|
isDisabled: {
|
|
154
155
|
true: {
|
|
155
156
|
base: "opacity-disabled pointer-events-none text-neutral-light",
|
|
156
|
-
wrapper:
|
|
157
|
+
wrapper: [
|
|
158
|
+
"after:bg-neutral-soft",
|
|
159
|
+
"before:border-neutral-light",
|
|
160
|
+
"before:bg-neutral-soft",
|
|
161
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
162
|
+
"group-has-[:checked]:before:border-neutral-light"
|
|
163
|
+
],
|
|
157
164
|
label: "text-neutral-light",
|
|
158
165
|
icon: "text-neutral-light"
|
|
159
166
|
}
|
|
@@ -174,8 +181,8 @@ var checkbox = tv({
|
|
|
174
181
|
"after:!duration-200",
|
|
175
182
|
"motion-reduce:transition-none"
|
|
176
183
|
],
|
|
177
|
-
icon: "transition-opacity motion-reduce:transition-none",
|
|
178
|
-
label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
|
|
184
|
+
icon: ["transition-opacity", "motion-reduce:transition-none"],
|
|
185
|
+
label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
|
|
179
186
|
}
|
|
180
187
|
}
|
|
181
188
|
},
|
|
@@ -107,7 +107,7 @@ var pagination = tv(
|
|
|
107
107
|
{
|
|
108
108
|
slots: {
|
|
109
109
|
base: "flex items-center select-none",
|
|
110
|
-
label: "text-primary-main text-right",
|
|
110
|
+
label: "text-primary-main text-right whitespace-nowrap",
|
|
111
111
|
wrapper: "flex overflow-hidden",
|
|
112
112
|
icon: "flex items-center justify-center cursor-pointer",
|
|
113
113
|
button: "flex items-center justify-center cursor-pointer data-[selected=true]:font-[600] transition duration-200"
|
|
@@ -126,22 +126,22 @@ var pagination = tv(
|
|
|
126
126
|
},
|
|
127
127
|
size: {
|
|
128
128
|
sm: {
|
|
129
|
-
wrapper: "gap-[
|
|
130
|
-
label: "w-[85px] text-sm mr-[10px]",
|
|
129
|
+
wrapper: "gap-[6px]",
|
|
130
|
+
label: "min-w-[85px] text-sm mr-[10px]",
|
|
131
131
|
icon: ["h-[15px] text-sm"],
|
|
132
|
-
button: ["w-[28px] h-[15px] text-sm"]
|
|
132
|
+
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
133
133
|
},
|
|
134
134
|
md: {
|
|
135
|
-
wrapper: "gap-[
|
|
136
|
-
label: "w-[95px] text-md mr-[12px]",
|
|
135
|
+
wrapper: "gap-[8px]",
|
|
136
|
+
label: "min-w-[95px] text-md mr-[12px]",
|
|
137
137
|
icon: ["h-[17px] text-md"],
|
|
138
|
-
button: ["w-[32px] h-[17px] text-md"]
|
|
138
|
+
button: ["min-w-[32px] h-[17px] text-md"]
|
|
139
139
|
},
|
|
140
140
|
lg: {
|
|
141
|
-
wrapper: "gap-[
|
|
142
|
-
label: "w-[105px] text-lg mr-[14px]",
|
|
141
|
+
wrapper: "gap-[10px]",
|
|
142
|
+
label: "min-w-[105px] text-lg mr-[14px]",
|
|
143
143
|
icon: ["h-[20px] text-lg"],
|
|
144
|
-
button: ["w-[37px] h-[20px] text-lg"]
|
|
144
|
+
button: ["min-w-[37px] h-[20px] text-lg"]
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
color: {
|
|
@@ -180,8 +180,8 @@ var pagination = tv(
|
|
|
180
180
|
size: "sm",
|
|
181
181
|
class: {
|
|
182
182
|
wrapper: "border rounded-sm gap-0",
|
|
183
|
-
button: "!w-[40px] h-[
|
|
184
|
-
icon: "w-[40px] h-[
|
|
183
|
+
button: "!min-w-[40px] h-[20px] border-l",
|
|
184
|
+
icon: "min-w-[40px] h-[20px] border-l"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
{
|
|
@@ -189,8 +189,8 @@ var pagination = tv(
|
|
|
189
189
|
size: "md",
|
|
190
190
|
class: {
|
|
191
191
|
wrapper: "border rounded-md gap-0",
|
|
192
|
-
button: "!w-[
|
|
193
|
-
icon: "w-[
|
|
192
|
+
button: "!min-w-[45px] h-[22px] border-l",
|
|
193
|
+
icon: "min-w-[45px] h-[22px] border-l"
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
{
|
|
@@ -198,8 +198,8 @@ var pagination = tv(
|
|
|
198
198
|
size: "lg",
|
|
199
199
|
class: {
|
|
200
200
|
wrapper: "border rounded-lg gap-0",
|
|
201
|
-
button: "!w-[
|
|
202
|
-
icon: "w-[
|
|
201
|
+
button: "!min-w-[50px] h-[24px] border-l",
|
|
202
|
+
icon: "min-w-[50px] h-[24px] border-l"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
checkbox_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ANYPMQH4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
clsx
|
|
7
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LCI6RPWE.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/table/table-body.tsx
|
|
13
13
|
import React, { useState, useCallback, useEffect } from "react";
|
|
@@ -42,7 +42,7 @@ var TableBody = ({
|
|
|
42
42
|
const getTrProps = useCallback(
|
|
43
43
|
(index) => ({
|
|
44
44
|
className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
|
|
45
|
-
"data-
|
|
45
|
+
"data-odd": index % 2 !== 0,
|
|
46
46
|
"data-expanded": expandedRows.has(index)
|
|
47
47
|
}),
|
|
48
48
|
[classNames == null ? void 0 : classNames.tr, expandedRows, slots]
|
|
@@ -109,7 +109,7 @@ var TableBody = ({
|
|
|
109
109
|
isExpanded && /* @__PURE__ */ jsx("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ jsx(
|
|
110
110
|
Icon_default,
|
|
111
111
|
{
|
|
112
|
-
name: expandedRows.has(rowIndex) ? "
|
|
112
|
+
name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
|
|
113
113
|
className: `ml-2 transition-transform`,
|
|
114
114
|
size
|
|
115
115
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
button_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UR64ZUAU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCI6RPWE.mjs";
|
|
8
8
|
import {
|
|
9
9
|
mapPropsVariants
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -126,7 +126,7 @@ var Modal = forwardRef((originalProps, ref) => {
|
|
|
126
126
|
}, [isOpen, isKeyboardDismissDisabled, onCancel]);
|
|
127
127
|
return /* @__PURE__ */ jsx(Fragment, { children: isOpen && createPortal(
|
|
128
128
|
/* @__PURE__ */ jsx("div", { ...getBackdropProps(), children: /* @__PURE__ */ jsxs("div", { ref, ...getModalWrapperProps(), children: [
|
|
129
|
-
|
|
129
|
+
typeof icon === "string" ? /* @__PURE__ */ jsx("div", { ...getIconProps(), children: /* @__PURE__ */ jsx(Icon_default, { name: icon, className: "w-[80px] h-[80px]" }) }) : /* @__PURE__ */ jsx("div", { ...getIconProps(), children: icon }),
|
|
130
130
|
/* @__PURE__ */ jsxs("div", { ...getBodyWrapperProps(), children: [
|
|
131
131
|
showCloseButton && /* @__PURE__ */ jsx(Icon_default, { name: "close", ...getCloseIconProps(), onClick: onCancel }),
|
|
132
132
|
/* @__PURE__ */ jsxs("div", { ...getBodyProps(), children: [
|
|
@@ -151,21 +151,14 @@ var modal = tv({
|
|
|
151
151
|
slots: {
|
|
152
152
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[9999]"],
|
|
153
153
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
154
|
-
icon: [
|
|
155
|
-
"absolute",
|
|
156
|
-
"top-[20px]",
|
|
157
|
-
"left-1/2",
|
|
158
|
-
"-translate-x-1/2",
|
|
159
|
-
"z-10",
|
|
160
|
-
"group-data-[modal-icon-visibility=true]/modal:top-[80px]"
|
|
161
|
-
],
|
|
154
|
+
icon: ["absolute", "top-[20px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
162
155
|
closeIcon: [
|
|
163
156
|
"absolute",
|
|
164
157
|
"top-[20px]",
|
|
165
158
|
"right-[20px]",
|
|
166
159
|
"cursor-pointer",
|
|
167
160
|
"z-10",
|
|
168
|
-
"group-data-[
|
|
161
|
+
"group-data-[icon-visibility=true]/modal:top-[80px]"
|
|
169
162
|
],
|
|
170
163
|
titleWrapper: ["relative", "flex", "flex-col", "gap-[10px]"],
|
|
171
164
|
title: "text-h5 text-center text-foreground",
|
|
@@ -177,8 +170,8 @@ var modal = tv({
|
|
|
177
170
|
"bg-background",
|
|
178
171
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
179
172
|
"overflow-hidden",
|
|
180
|
-
"group-data-[
|
|
181
|
-
"group-data-[
|
|
173
|
+
"group-data-[icon-visibility=true]/modal:mt-[60px]",
|
|
174
|
+
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
182
175
|
],
|
|
183
176
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
184
177
|
content: ["text-md text-center", "break-words", "bg-neutral-soft", "rounded-[5px]", "p-[10px]"],
|
|
@@ -286,6 +286,36 @@ var template = {
|
|
|
286
286
|
}
|
|
287
287
|
);
|
|
288
288
|
},
|
|
289
|
+
loading: ({ className, fill }) => {
|
|
290
|
+
return /* @__PURE__ */ jsxs(
|
|
291
|
+
"svg",
|
|
292
|
+
{
|
|
293
|
+
width: "24",
|
|
294
|
+
height: "24",
|
|
295
|
+
viewBox: "0 0 24 24",
|
|
296
|
+
fill: "none",
|
|
297
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
298
|
+
className,
|
|
299
|
+
children: [
|
|
300
|
+
/* @__PURE__ */ jsx(
|
|
301
|
+
"path",
|
|
302
|
+
{
|
|
303
|
+
d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM6.6 12C6.6 14.9823 9.01766 17.4 12 17.4C14.9823 17.4 17.4 14.9823 17.4 12C17.4 9.01766 14.9823 6.6 12 6.6C9.01766 6.6 6.6 9.01766 6.6 12Z",
|
|
304
|
+
fill: "currentColor",
|
|
305
|
+
fillOpacity: "0.1"
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
/* @__PURE__ */ jsx(
|
|
309
|
+
"path",
|
|
310
|
+
{
|
|
311
|
+
d: "M21 12C21 13.9006 20.3983 15.7524 19.2812 17.2901C18.164 18.8277 16.5887 19.9722 14.7812 20.5595C12.9736 21.1468 11.0264 21.1468 9.21885 20.5595C7.41126 19.9722 5.836 18.8277 4.71885 17.2901C3.60169 15.7524 3 13.9006 3 12C3 10.0994 3.60169 8.24756 4.71885 6.70993C5.836 5.1723 7.41126 4.02781 9.21885 3.44049C11.0264 2.85317 12.9736 2.85317 14.7812 3.44049L13.6687 6.8643C12.5841 6.5119 11.4159 6.5119 10.3313 6.86429C9.24675 7.21669 8.3016 7.90338 7.63131 8.82596C6.96102 9.74854 6.6 10.8596 6.6 12C6.6 13.1404 6.96102 14.2515 7.63131 15.174C8.3016 16.0966 9.24675 16.7833 10.3313 17.1357C11.4159 17.4881 12.5841 17.4881 13.6687 17.1357C14.7532 16.7833 15.6984 16.0966 16.3687 15.174C17.039 14.2515 17.4 13.1404 17.4 12H21Z",
|
|
312
|
+
fill: "currentColor"
|
|
313
|
+
}
|
|
314
|
+
)
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
);
|
|
318
|
+
},
|
|
289
319
|
// ** User **
|
|
290
320
|
"user-circle": ({ className, fill }) => {
|
|
291
321
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
option_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RZZWHI6O.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useSelect
|
|
7
7
|
} from "./chunk-S3QS5B7F.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LCI6RPWE.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -125,7 +125,7 @@ Select.displayName = "Select";
|
|
|
125
125
|
var select_default = Select;
|
|
126
126
|
var select = tv({
|
|
127
127
|
slots: {
|
|
128
|
-
base: ["group", "flex flex-col"],
|
|
128
|
+
base: ["group/select", "flex flex-col"],
|
|
129
129
|
label: ["flex", "items-center"],
|
|
130
130
|
selectWrapper: [
|
|
131
131
|
"flex",
|
|
@@ -133,8 +133,9 @@ var select = tv({
|
|
|
133
133
|
"bg-transparent",
|
|
134
134
|
"border-neutral-main",
|
|
135
135
|
"transition duration-200",
|
|
136
|
-
"group-has-[p]:border-danger-main",
|
|
137
|
-
"group-has-[p]:text-danger-main"
|
|
136
|
+
"group-has-[p]/select:border-danger-main",
|
|
137
|
+
"group-has-[p]/select:text-danger-main",
|
|
138
|
+
"group-has-[p]/select:bg-danger-soft"
|
|
138
139
|
],
|
|
139
140
|
select: [
|
|
140
141
|
"w-full",
|
|
@@ -143,7 +144,7 @@ var select = tv({
|
|
|
143
144
|
"cursor-inherit",
|
|
144
145
|
"cursor-pointer",
|
|
145
146
|
"placeholder:text-neutral-main",
|
|
146
|
-
"group-has-[p]:text-danger-main",
|
|
147
|
+
"group-has-[p]/select:text-danger-main",
|
|
147
148
|
"focus-visible:outline-none"
|
|
148
149
|
],
|
|
149
150
|
optionsWrapper: ["w-[240px]", "border", "bg-background", "cursor-pointer", "overflow-y-auto"],
|
|
@@ -152,7 +153,7 @@ var select = tv({
|
|
|
152
153
|
variants: {
|
|
153
154
|
variant: {
|
|
154
155
|
solid: {
|
|
155
|
-
selectWrapper: "bg-trans-soft hover:bg-trans-light data-[expanded=true]:bg-trans-light group-has-[p]:bg-danger-soft"
|
|
156
|
+
selectWrapper: "bg-trans-soft hover:bg-trans-light data-[expanded=true]:bg-trans-light group-has-[p]/select:bg-danger-soft"
|
|
156
157
|
},
|
|
157
158
|
normal: {
|
|
158
159
|
selectWrapper: "border hover:bg-trans-soft data-[expanded=true]:bg-trans-soft"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LCI6RPWE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
mapPropsVariants
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -71,7 +71,7 @@ var AccordionItem = forwardRef((originalProps, ref) => {
|
|
|
71
71
|
/* @__PURE__ */ jsx("span", { ...getHeaderTitleProps(), children: title })
|
|
72
72
|
] }),
|
|
73
73
|
endContent && endContent,
|
|
74
|
-
/* @__PURE__ */ jsx(Icon_default, { name: isOpen ? "
|
|
74
|
+
/* @__PURE__ */ jsx(Icon_default, { name: isOpen ? "brace-up" : "brace-down", ...getHeaderArrowIconProps() })
|
|
75
75
|
] }),
|
|
76
76
|
/* @__PURE__ */ jsx("div", { ...getContentWrapperProps(), children: /* @__PURE__ */ jsx("div", { ref: contentRef, ...getContentProps(), children }) })
|
|
77
77
|
] });
|
|
@@ -63,17 +63,18 @@ Switch.displayName = "Switch";
|
|
|
63
63
|
var switch_default = Switch;
|
|
64
64
|
var toggle = tv({
|
|
65
65
|
slots: {
|
|
66
|
-
base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer",
|
|
66
|
+
base: ["group/switch", "relative", "max-w-fit", "inline-flex", "items-center", "justify-start", "cursor-pointer"],
|
|
67
67
|
outerWrapper: [
|
|
68
68
|
"relative",
|
|
69
69
|
"inline-flex",
|
|
70
70
|
"items-center",
|
|
71
71
|
"justify-start",
|
|
72
72
|
"flex-shrink-0",
|
|
73
|
-
"overflow-hidden",
|
|
74
73
|
"bg-neutral-soft",
|
|
74
|
+
"overflow-hidden",
|
|
75
75
|
"rounded-full",
|
|
76
|
-
"px-[2px]"
|
|
76
|
+
"px-[2px]",
|
|
77
|
+
"hover:bg-primary-main/20"
|
|
77
78
|
],
|
|
78
79
|
wrapper: [
|
|
79
80
|
"relative",
|
|
@@ -84,7 +85,7 @@ var toggle = tv({
|
|
|
84
85
|
"overflow-hidden",
|
|
85
86
|
"bg-neutral-light",
|
|
86
87
|
"rounded-full",
|
|
87
|
-
"group-has-[:checked]:bg-primary-main"
|
|
88
|
+
"group-has-[:checked]/switch:bg-primary-main"
|
|
88
89
|
],
|
|
89
90
|
thumb: [
|
|
90
91
|
"z-10",
|
|
@@ -96,33 +97,33 @@ var toggle = tv({
|
|
|
96
97
|
"rounded-full",
|
|
97
98
|
"origin-right"
|
|
98
99
|
],
|
|
99
|
-
label: "relative text-foreground select-none"
|
|
100
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
100
101
|
},
|
|
101
102
|
variants: {
|
|
102
103
|
size: {
|
|
103
104
|
sm: {
|
|
104
|
-
outerWrapper: "w-[48px] h-[24px] px-[3px]",
|
|
105
|
-
wrapper: "w-[42px] h-[18px] px-[3px]",
|
|
106
|
-
thumb: ["w-[12px] h-[12px]", "group-has-[:checked]:ml-[24px]"],
|
|
105
|
+
outerWrapper: ["w-[48px]", "h-[24px]", "px-[3px]"],
|
|
106
|
+
wrapper: ["w-[42px]", "h-[18px]", "px-[3px]"],
|
|
107
|
+
thumb: ["w-[12px]", "h-[12px]", "group-has-[:checked]/switch:ml-[24px]"],
|
|
107
108
|
label: "text-sm"
|
|
108
109
|
},
|
|
109
110
|
md: {
|
|
110
|
-
outerWrapper: "w-[60px] h-[30px] px-[3px]",
|
|
111
|
-
wrapper: "w-[54px] h-[24px] px-[3px]",
|
|
112
|
-
thumb: ["w-[18px] h-[18px]", "group-has-[:checked]:ml-[30px]"],
|
|
111
|
+
outerWrapper: ["w-[60px]", "h-[30px]", "px-[3px]"],
|
|
112
|
+
wrapper: ["w-[54px]", "h-[24px]", "px-[3px]"],
|
|
113
|
+
thumb: ["w-[18px]", "h-[18px]", "group-has-[:checked]/switch:ml-[30px]"],
|
|
113
114
|
label: "text-md"
|
|
114
115
|
},
|
|
115
116
|
lg: {
|
|
116
|
-
outerWrapper: "w-[72px] h-[36px] px-[3px]",
|
|
117
|
-
wrapper: "w-[66px] h-[30px] px-[3px]",
|
|
118
|
-
thumb: ["w-[24px] h-[24px]", "group-has-[:checked]:ml-[36px]"],
|
|
117
|
+
outerWrapper: ["w-[72px]", "h-[36px]", "px-[3px]"],
|
|
118
|
+
wrapper: ["w-[66px]", "h-[30px]", "px-[3px]"],
|
|
119
|
+
thumb: ["w-[24px]", "h-[24px]", "group-has-[:checked]/switch:ml-[36px]"],
|
|
119
120
|
label: "text-lg"
|
|
120
121
|
}
|
|
121
122
|
},
|
|
122
123
|
isDisabled: {
|
|
123
124
|
true: {
|
|
124
125
|
base: "pointer-events-none",
|
|
125
|
-
wrapper: "bg-neutral-light group-has-[:checked]:bg-neutral-light",
|
|
126
|
+
wrapper: "bg-neutral-light group-has-[:checked]/switch:bg-neutral-light",
|
|
126
127
|
thumb: "bg-trans-soft"
|
|
127
128
|
}
|
|
128
129
|
},
|
|
@@ -80,12 +80,12 @@ Progress.displayName = "Progress";
|
|
|
80
80
|
var progress_default = Progress;
|
|
81
81
|
var progress = tv({
|
|
82
82
|
slots: {
|
|
83
|
-
base: "flex flex-col gap-2 w-[200px]",
|
|
84
|
-
labelWrapper: "flex justify-between",
|
|
85
|
-
label: "font-[500]",
|
|
86
|
-
output: "font-[500]",
|
|
87
|
-
track: "relative bg-neutral-soft rounded-full overflow-hidden",
|
|
88
|
-
indicator: "absolute h-full rounded-full"
|
|
83
|
+
base: ["flex", "flex-col", "gap-2", "w-[200px]"],
|
|
84
|
+
labelWrapper: ["flex", "justify-between"],
|
|
85
|
+
label: ["font-[500]"],
|
|
86
|
+
output: ["font-[500]"],
|
|
87
|
+
track: ["relative", "bg-neutral-soft", "rounded-full", "overflow-hidden"],
|
|
88
|
+
indicator: ["absolute", "h-full", "rounded-full"]
|
|
89
89
|
},
|
|
90
90
|
variants: {
|
|
91
91
|
color: {
|
|
@@ -115,7 +115,7 @@ var progress = tv({
|
|
|
115
115
|
},
|
|
116
116
|
gradient: {
|
|
117
117
|
true: {
|
|
118
|
-
indicator: "bg-gradient-to-r from-primary-main to-secondary-main"
|
|
118
|
+
indicator: ["bg-gradient-to-r", "from-primary-main", "to-secondary-main"]
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
fullWidth: {
|
|
@@ -125,8 +125,8 @@ var progress = tv({
|
|
|
125
125
|
},
|
|
126
126
|
isDisabled: {
|
|
127
127
|
true: {
|
|
128
|
-
base: "opacity-disabled cursor-not-allowed",
|
|
129
|
-
indicator: "bg-neutral-light"
|
|
128
|
+
base: ["opacity-disabled", "cursor-not-allowed"],
|
|
129
|
+
indicator: ["bg-neutral-light", "from-none", "to-none"]
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
},
|