@deepnoid/ui 0.0.88 → 0.0.90
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-4VIEZ5FT.mjs → chunk-2BCJZILI.mjs} +10 -9
- package/dist/chunk-2ZFHB4JM.mjs +76 -0
- package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
- package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
- package/dist/chunk-75HLCORR.mjs +1 -0
- package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
- 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-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
- package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
- package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
- package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
- package/dist/{chunk-YGTJU3GD.mjs → chunk-L7P6OBUX.mjs} +10 -17
- package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
- package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
- package/dist/chunk-N6IEGD4K.mjs +119 -0
- package/dist/chunk-OJ2OEI5B.mjs +202 -0
- package/dist/chunk-P732YGHO.mjs +18 -0
- package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
- package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
- package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
- package/dist/chunk-S2VUKVCH.mjs +319 -0
- package/dist/{chunk-IZOMH2SL.mjs → chunk-S3O52LLG.mjs} +14 -14
- package/dist/chunk-UR64ZUAU.mjs +671 -0
- package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
- package/dist/chunk-WX32MAKV.mjs +219 -0
- package/dist/components/accordion/accordion.d.mts +3 -3
- package/dist/components/accordion/accordion.d.ts +3 -3
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +3 -3
- package/dist/components/accordion/accordionItem.d.ts +3 -3
- 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.d.mts +2 -2
- package/dist/components/button/button-group.d.ts +2 -2
- 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 +3 -3
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.mts +71 -71
- package/dist/components/checkbox/checkbox.d.ts +71 -71
- 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 +4 -4
- package/dist/components/checkbox/index.js +28 -21
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/dateTimePicker/calendar.d.mts +118 -0
- package/dist/components/dateTimePicker/calendar.d.ts +118 -0
- package/dist/components/dateTimePicker/calendar.js +3854 -0
- package/dist/components/dateTimePicker/calendar.mjs +16 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.js +4486 -0
- package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
- package/dist/components/dateTimePicker/index.d.mts +5 -0
- package/dist/components/dateTimePicker/index.d.ts +5 -0
- package/dist/components/dateTimePicker/index.js +4487 -0
- package/dist/components/dateTimePicker/index.mjs +21 -0
- package/dist/components/dateTimePicker/timePicker.d.mts +10 -0
- package/dist/components/dateTimePicker/timePicker.d.ts +10 -0
- package/dist/components/dateTimePicker/timePicker.js +342 -0
- package/dist/components/dateTimePicker/timePicker.mjs +13 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.js +106 -0
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
- package/dist/components/dateTimePicker/util.d.mts +4 -0
- package/dist/components/dateTimePicker/util.d.ts +4 -0
- package/dist/components/dateTimePicker/util.js +42 -0
- package/dist/components/dateTimePicker/util.mjs +10 -0
- 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 +9 -4
- package/dist/components/input/input.d.ts +9 -4
- 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 +6 -6
- package/dist/components/list/index.js +3 -3
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/list/list.d.mts +3 -3
- package/dist/components/list/list.d.ts +3 -3
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/list/listItem.d.mts +4 -4
- package/dist/components/list/listItem.d.ts +4 -4
- package/dist/components/list/listItem.js +3 -3
- package/dist/components/list/listItem.mjs +1 -1
- package/dist/components/modal/index.js +506 -128
- package/dist/components/modal/index.mjs +6 -5
- package/dist/components/modal/modal.d.mts +2 -2
- package/dist/components/modal/modal.d.ts +2 -2
- package/dist/components/modal/modal.js +506 -128
- package/dist/components/modal/modal.mjs +6 -5
- package/dist/components/modal/modal.test.js +498 -130
- package/dist/components/modal/modal.test.mjs +6 -5
- package/dist/components/pagination/index.js +16 -16
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/pagination/pagination.d.mts +2 -2
- package/dist/components/pagination/pagination.d.ts +2 -2
- 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 +2 -2
- package/dist/components/progress/index.js +9 -9
- package/dist/components/progress/index.mjs +1 -1
- package/dist/components/progress/progress.d.mts +35 -35
- package/dist/components/progress/progress.d.ts +35 -35
- 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 +35 -35
- package/dist/components/radio/radio.d.ts +35 -35
- 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 +2 -2
- 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 +4 -4
- package/dist/components/select/select.d.ts +4 -4
- 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 +9 -9
- package/dist/components/select/useSelect.d.mts +3 -3
- package/dist/components/select/useSelect.d.ts +3 -3
- package/dist/components/slider/index.js +9 -4
- package/dist/components/slider/index.mjs +1 -1
- package/dist/components/slider/slider.d.mts +28 -2
- package/dist/components/slider/slider.d.ts +28 -2
- 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 +14 -14
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +50 -50
- package/dist/components/switch/switch.d.ts +50 -50
- package/dist/components/switch/switch.js +14 -14
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +14 -14
- package/dist/components/switch/switch.test.mjs +2 -2
- package/dist/components/table/index.js +66 -27
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.d.mts +2 -2
- package/dist/components/table/table-body.d.ts +2 -2
- package/dist/components/table/table-body.js +60 -23
- package/dist/components/table/table-body.mjs +5 -5
- 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 +26 -12
- package/dist/components/table/table.d.ts +26 -12
- package/dist/components/table/table.js +66 -27
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/table/table.test.js +66 -27
- package/dist/components/table/table.test.mjs +8 -8
- package/dist/components/tabs/tabs.d.mts +3 -3
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.test.mjs +4 -4
- 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 +512 -11
- package/dist/components/textarea/textarea.d.ts +512 -11
- 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 +30 -0
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.d.mts +2 -2
- package/dist/components/toast/toast.d.ts +2 -2
- package/dist/components/toast/toast.js +30 -0
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/toast.test.js +30 -0
- package/dist/components/toast/toast.test.mjs +5 -5
- package/dist/components/toast/use-toast.js +30 -0
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tooltip/index.d.mts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.mts +3 -3
- package/dist/components/tooltip/tooltip.d.ts +3 -3
- package/dist/components/tooltip/tooltip.test.js +4034 -118
- package/dist/components/tooltip/tooltip.test.mjs +7 -4
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3741 -2611
- package/dist/index.mjs +71 -52
- package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
- package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-66WCZEEU.mjs +0 -320
- package/dist/chunk-WOX3SLJB.mjs +0 -162
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import
|
|
4
|
+
import React__default, { ReactElement } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
|
-
interface Props extends Omit<
|
|
7
|
+
interface Props extends Omit<React__default.ComponentPropsWithRef<"table">, "ref" | "color" | "slot" | "size" | "defaultChecked" | "defaultValue"> {
|
|
8
8
|
rows: TableRow[];
|
|
9
9
|
columns: TableColumn[];
|
|
10
10
|
isLoading?: boolean;
|
|
11
11
|
emptyContent?: ReactElement;
|
|
12
12
|
classNames?: SlotsToClasses<TableSlots>;
|
|
13
|
-
onRowAction?: (e:
|
|
13
|
+
onRowAction?: (e: React__default.MouseEvent, params: TableRow) => void;
|
|
14
14
|
}
|
|
15
15
|
interface TableRef {
|
|
16
16
|
selectedRows: Set<number>;
|
|
17
17
|
setSelectedRows: (rows: Set<number>) => void;
|
|
18
18
|
}
|
|
19
|
-
declare const Table:
|
|
19
|
+
declare const Table: React__default.ForwardRefExoticComponent<Props & TableVariantProps & React__default.RefAttributes<TableRef>>;
|
|
20
20
|
|
|
21
21
|
declare const table: tailwind_variants.TVReturnType<{
|
|
22
22
|
variant: {
|
|
@@ -66,7 +66,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
66
66
|
true: {};
|
|
67
67
|
};
|
|
68
68
|
isSelectedRow: {
|
|
69
|
-
true: {
|
|
69
|
+
true: {
|
|
70
|
+
tr: string;
|
|
71
|
+
};
|
|
70
72
|
};
|
|
71
73
|
hideHeader: {
|
|
72
74
|
true: {
|
|
@@ -150,7 +152,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
150
152
|
true: {};
|
|
151
153
|
};
|
|
152
154
|
isSelectedRow: {
|
|
153
|
-
true: {
|
|
155
|
+
true: {
|
|
156
|
+
tr: string;
|
|
157
|
+
};
|
|
154
158
|
};
|
|
155
159
|
hideHeader: {
|
|
156
160
|
true: {
|
|
@@ -221,7 +225,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
221
225
|
true: {};
|
|
222
226
|
};
|
|
223
227
|
isSelectedRow: {
|
|
224
|
-
true: {
|
|
228
|
+
true: {
|
|
229
|
+
tr: string;
|
|
230
|
+
};
|
|
225
231
|
};
|
|
226
232
|
hideHeader: {
|
|
227
233
|
true: {
|
|
@@ -292,7 +298,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
292
298
|
true: {};
|
|
293
299
|
};
|
|
294
300
|
isSelectedRow: {
|
|
295
|
-
true: {
|
|
301
|
+
true: {
|
|
302
|
+
tr: string;
|
|
303
|
+
};
|
|
296
304
|
};
|
|
297
305
|
hideHeader: {
|
|
298
306
|
true: {
|
|
@@ -376,7 +384,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
376
384
|
true: {};
|
|
377
385
|
};
|
|
378
386
|
isSelectedRow: {
|
|
379
|
-
true: {
|
|
387
|
+
true: {
|
|
388
|
+
tr: string;
|
|
389
|
+
};
|
|
380
390
|
};
|
|
381
391
|
hideHeader: {
|
|
382
392
|
true: {
|
|
@@ -460,7 +470,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
460
470
|
true: {};
|
|
461
471
|
};
|
|
462
472
|
isSelectedRow: {
|
|
463
|
-
true: {
|
|
473
|
+
true: {
|
|
474
|
+
tr: string;
|
|
475
|
+
};
|
|
464
476
|
};
|
|
465
477
|
hideHeader: {
|
|
466
478
|
true: {
|
|
@@ -531,7 +543,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
531
543
|
true: {};
|
|
532
544
|
};
|
|
533
545
|
isSelectedRow: {
|
|
534
|
-
true: {
|
|
546
|
+
true: {
|
|
547
|
+
tr: string;
|
|
548
|
+
};
|
|
535
549
|
};
|
|
536
550
|
hideHeader: {
|
|
537
551
|
true: {
|
|
@@ -577,7 +591,7 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
|
|
|
577
591
|
headerName?: string | ReactElement;
|
|
578
592
|
className?: string;
|
|
579
593
|
valueFormatter?: (params: ValueFormatterParams<V>) => F;
|
|
580
|
-
renderCell?: (params: CellParams<R, V, F>) =>
|
|
594
|
+
renderCell?: (params: CellParams<R, V, F>) => React__default.ReactNode;
|
|
581
595
|
};
|
|
582
596
|
|
|
583
597
|
export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
|
|
@@ -165,10 +165,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
165
165
|
fill: "none",
|
|
166
166
|
points: "1 9 7 14 15 4",
|
|
167
167
|
stroke: "currentColor",
|
|
168
|
-
strokeDasharray: 22,
|
|
169
|
-
strokeDashoffset: isSelected ? 44 : 66,
|
|
170
168
|
strokeLinecap: "round",
|
|
171
|
-
strokeLinejoin: "round",
|
|
172
169
|
strokeWidth: 3,
|
|
173
170
|
style: isSelected ? {
|
|
174
171
|
transition: "stroke-dashoffset 250ms linear 0.2s"
|
|
@@ -186,7 +183,7 @@ CheckBox.displayName = "CheckBox";
|
|
|
186
183
|
var checkbox_default = CheckBox;
|
|
187
184
|
var checkbox = tv({
|
|
188
185
|
slots: {
|
|
189
|
-
base: "group relative inline-flex items-center cursor-pointer",
|
|
186
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
190
187
|
wrapper: [
|
|
191
188
|
"relative",
|
|
192
189
|
"inline-flex",
|
|
@@ -213,33 +210,33 @@ var checkbox = tv({
|
|
|
213
210
|
"group-hover:before:bg-neutral-soft",
|
|
214
211
|
"before:transition duration-200"
|
|
215
212
|
],
|
|
216
|
-
icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
|
|
217
|
-
label: "relative text-foreground select-none"
|
|
213
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
|
|
214
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
218
215
|
},
|
|
219
216
|
variants: {
|
|
220
217
|
color: {
|
|
221
218
|
primary: {
|
|
222
|
-
wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
|
|
219
|
+
wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
|
|
223
220
|
},
|
|
224
221
|
secondary: {
|
|
225
|
-
wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
|
|
222
|
+
wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
|
|
226
223
|
}
|
|
227
224
|
},
|
|
228
225
|
size: {
|
|
229
226
|
sm: {
|
|
230
|
-
wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[
|
|
231
|
-
label: "text-sm ml-[
|
|
232
|
-
icon: "w-[10px] h-[10px]"
|
|
227
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
228
|
+
label: ["text-sm", "ml-[6px]"],
|
|
229
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
233
230
|
},
|
|
234
231
|
md: {
|
|
235
|
-
wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[
|
|
236
|
-
label: "text-md ml-[
|
|
237
|
-
icon: "w-[12px] h-[12px]"
|
|
232
|
+
wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
233
|
+
label: ["text-md", "ml-[8px]"],
|
|
234
|
+
icon: ["w-[12px]", "h-[12px]"]
|
|
238
235
|
},
|
|
239
236
|
lg: {
|
|
240
|
-
wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[
|
|
241
|
-
label: "text-lg ml-[10px]",
|
|
242
|
-
icon: "w-[15px] h-[15px]"
|
|
237
|
+
wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
|
|
238
|
+
label: ["text-lg", "ml-[10px]"],
|
|
239
|
+
icon: ["w-[15px]", "h-[15px]"]
|
|
243
240
|
}
|
|
244
241
|
},
|
|
245
242
|
lineThrough: {
|
|
@@ -260,14 +257,24 @@ var checkbox = tv({
|
|
|
260
257
|
},
|
|
261
258
|
isInvalid: {
|
|
262
259
|
true: {
|
|
263
|
-
wrapper:
|
|
260
|
+
wrapper: [
|
|
261
|
+
"before:border-danger-main",
|
|
262
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
263
|
+
"group-has-[:checked]:before:border-danger-main"
|
|
264
|
+
],
|
|
264
265
|
label: "text-danger-main"
|
|
265
266
|
}
|
|
266
267
|
},
|
|
267
268
|
isDisabled: {
|
|
268
269
|
true: {
|
|
269
270
|
base: "opacity-disabled pointer-events-none text-neutral-light",
|
|
270
|
-
wrapper:
|
|
271
|
+
wrapper: [
|
|
272
|
+
"after:bg-neutral-soft",
|
|
273
|
+
"before:border-neutral-light",
|
|
274
|
+
"before:bg-neutral-soft",
|
|
275
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
276
|
+
"group-has-[:checked]:before:border-neutral-light"
|
|
277
|
+
],
|
|
271
278
|
label: "text-neutral-light",
|
|
272
279
|
icon: "text-neutral-light"
|
|
273
280
|
}
|
|
@@ -288,8 +295,8 @@ var checkbox = tv({
|
|
|
288
295
|
"after:!duration-200",
|
|
289
296
|
"motion-reduce:transition-none"
|
|
290
297
|
],
|
|
291
|
-
icon: "transition-opacity motion-reduce:transition-none",
|
|
292
|
-
label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
|
|
298
|
+
icon: ["transition-opacity", "motion-reduce:transition-none"],
|
|
299
|
+
label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
|
|
293
300
|
}
|
|
294
301
|
}
|
|
295
302
|
},
|
|
@@ -635,6 +642,36 @@ var template = {
|
|
|
635
642
|
}
|
|
636
643
|
);
|
|
637
644
|
},
|
|
645
|
+
loading: ({ className, fill }) => {
|
|
646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
647
|
+
"svg",
|
|
648
|
+
{
|
|
649
|
+
width: "24",
|
|
650
|
+
height: "24",
|
|
651
|
+
viewBox: "0 0 24 24",
|
|
652
|
+
fill: "none",
|
|
653
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
654
|
+
className,
|
|
655
|
+
children: [
|
|
656
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
657
|
+
"path",
|
|
658
|
+
{
|
|
659
|
+
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",
|
|
660
|
+
fill: "currentColor",
|
|
661
|
+
fillOpacity: "0.1"
|
|
662
|
+
}
|
|
663
|
+
),
|
|
664
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
665
|
+
"path",
|
|
666
|
+
{
|
|
667
|
+
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",
|
|
668
|
+
fill: "currentColor"
|
|
669
|
+
}
|
|
670
|
+
)
|
|
671
|
+
]
|
|
672
|
+
}
|
|
673
|
+
);
|
|
674
|
+
},
|
|
638
675
|
// ** User **
|
|
639
676
|
"user-circle": ({ className, fill }) => {
|
|
640
677
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
@@ -3920,7 +3957,7 @@ var TableBody = ({
|
|
|
3920
3957
|
const getTrProps = (0, import_react4.useCallback)(
|
|
3921
3958
|
(index) => ({
|
|
3922
3959
|
className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
|
|
3923
|
-
"data-
|
|
3960
|
+
"data-odd": index % 2 !== 0,
|
|
3924
3961
|
"data-expanded": expandedRows.has(index)
|
|
3925
3962
|
}),
|
|
3926
3963
|
[classNames == null ? void 0 : classNames.tr, expandedRows, slots]
|
|
@@ -3987,7 +4024,7 @@ var TableBody = ({
|
|
|
3987
4024
|
isExpanded && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3988
4025
|
Icon_default,
|
|
3989
4026
|
{
|
|
3990
|
-
name: expandedRows.has(rowIndex) ? "
|
|
4027
|
+
name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
|
|
3991
4028
|
className: `ml-2 transition-transform`,
|
|
3992
4029
|
size
|
|
3993
4030
|
}
|
|
@@ -4172,7 +4209,9 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
4172
4209
|
true: {}
|
|
4173
4210
|
},
|
|
4174
4211
|
isSelectedRow: {
|
|
4175
|
-
true: {
|
|
4212
|
+
true: {
|
|
4213
|
+
tr: "cursor-pointer"
|
|
4214
|
+
}
|
|
4176
4215
|
},
|
|
4177
4216
|
hideHeader: {
|
|
4178
4217
|
true: {
|
|
@@ -4261,7 +4300,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
4261
4300
|
variant: "stripe",
|
|
4262
4301
|
color: "primary",
|
|
4263
4302
|
class: {
|
|
4264
|
-
tr: "data-[
|
|
4303
|
+
tr: "data-[odd=true]:bg-primary-soft",
|
|
4265
4304
|
td: "group-hover:bg-primary-light"
|
|
4266
4305
|
}
|
|
4267
4306
|
},
|
|
@@ -4269,7 +4308,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
4269
4308
|
variant: "stripe",
|
|
4270
4309
|
color: "secondary",
|
|
4271
4310
|
class: {
|
|
4272
|
-
tr: "data-[
|
|
4311
|
+
tr: "data-[odd=true]:bg-secondary-soft",
|
|
4273
4312
|
td: "group-hover:bg-secondary-light"
|
|
4274
4313
|
}
|
|
4275
4314
|
},
|
|
@@ -4277,7 +4316,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
4277
4316
|
variant: "stripe",
|
|
4278
4317
|
color: "neutral",
|
|
4279
4318
|
class: {
|
|
4280
|
-
tr: "data-[
|
|
4319
|
+
tr: "data-[odd=true]:bg-trans-soft",
|
|
4281
4320
|
td: "group-hover:bg-neutral-light"
|
|
4282
4321
|
}
|
|
4283
4322
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-6YE26GOI.mjs";
|
|
5
|
+
import "../../chunk-DWROPKZW.mjs";
|
|
6
|
+
import "../../chunk-VG4644BG.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-ZYIIXWVY.mjs";
|
|
10
|
-
import "../../chunk-PRUAIZTU.mjs";
|
|
11
|
-
import "../../chunk-IOV7MEPG.mjs";
|
|
8
|
+
import "../../chunk-ANYPMQH4.mjs";
|
|
12
9
|
import "../../chunk-27Y6K5NK.mjs";
|
|
10
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
|
+
import "../../chunk-LCI6RPWE.mjs";
|
|
12
|
+
import "../../chunk-IOCRFIQF.mjs";
|
|
13
13
|
import "../../chunk-E3G5QXSH.mjs";
|
|
14
14
|
import "../../chunk-J725QONZ.mjs";
|
|
15
15
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -13002,10 +13002,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
13002
13002
|
fill: "none",
|
|
13003
13003
|
points: "1 9 7 14 15 4",
|
|
13004
13004
|
stroke: "currentColor",
|
|
13005
|
-
strokeDasharray: 22,
|
|
13006
|
-
strokeDashoffset: isSelected ? 44 : 66,
|
|
13007
13005
|
strokeLinecap: "round",
|
|
13008
|
-
strokeLinejoin: "round",
|
|
13009
13006
|
strokeWidth: 3,
|
|
13010
13007
|
style: isSelected ? {
|
|
13011
13008
|
transition: "stroke-dashoffset 250ms linear 0.2s"
|
|
@@ -13023,7 +13020,7 @@ CheckBox.displayName = "CheckBox";
|
|
|
13023
13020
|
var checkbox_default = CheckBox;
|
|
13024
13021
|
var checkbox = tv({
|
|
13025
13022
|
slots: {
|
|
13026
|
-
base: "group relative inline-flex items-center cursor-pointer",
|
|
13023
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
13027
13024
|
wrapper: [
|
|
13028
13025
|
"relative",
|
|
13029
13026
|
"inline-flex",
|
|
@@ -13050,33 +13047,33 @@ var checkbox = tv({
|
|
|
13050
13047
|
"group-hover:before:bg-neutral-soft",
|
|
13051
13048
|
"before:transition duration-200"
|
|
13052
13049
|
],
|
|
13053
|
-
icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
|
|
13054
|
-
label: "relative text-foreground select-none"
|
|
13050
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
|
|
13051
|
+
label: ["relative", "text-foreground", "select-none"]
|
|
13055
13052
|
},
|
|
13056
13053
|
variants: {
|
|
13057
13054
|
color: {
|
|
13058
13055
|
primary: {
|
|
13059
|
-
wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
|
|
13056
|
+
wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
|
|
13060
13057
|
},
|
|
13061
13058
|
secondary: {
|
|
13062
|
-
wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
|
|
13059
|
+
wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
|
|
13063
13060
|
}
|
|
13064
13061
|
},
|
|
13065
13062
|
size: {
|
|
13066
13063
|
sm: {
|
|
13067
|
-
wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[
|
|
13068
|
-
label: "text-sm ml-[
|
|
13069
|
-
icon: "w-[10px] h-[10px]"
|
|
13064
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
13065
|
+
label: ["text-sm", "ml-[6px]"],
|
|
13066
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
13070
13067
|
},
|
|
13071
13068
|
md: {
|
|
13072
|
-
wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[
|
|
13073
|
-
label: "text-md ml-[
|
|
13074
|
-
icon: "w-[12px] h-[12px]"
|
|
13069
|
+
wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
|
|
13070
|
+
label: ["text-md", "ml-[8px]"],
|
|
13071
|
+
icon: ["w-[12px]", "h-[12px]"]
|
|
13075
13072
|
},
|
|
13076
13073
|
lg: {
|
|
13077
|
-
wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[
|
|
13078
|
-
label: "text-lg ml-[10px]",
|
|
13079
|
-
icon: "w-[15px] h-[15px]"
|
|
13074
|
+
wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
|
|
13075
|
+
label: ["text-lg", "ml-[10px]"],
|
|
13076
|
+
icon: ["w-[15px]", "h-[15px]"]
|
|
13080
13077
|
}
|
|
13081
13078
|
},
|
|
13082
13079
|
lineThrough: {
|
|
@@ -13097,14 +13094,24 @@ var checkbox = tv({
|
|
|
13097
13094
|
},
|
|
13098
13095
|
isInvalid: {
|
|
13099
13096
|
true: {
|
|
13100
|
-
wrapper:
|
|
13097
|
+
wrapper: [
|
|
13098
|
+
"before:border-danger-main",
|
|
13099
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
13100
|
+
"group-has-[:checked]:before:border-danger-main"
|
|
13101
|
+
],
|
|
13101
13102
|
label: "text-danger-main"
|
|
13102
13103
|
}
|
|
13103
13104
|
},
|
|
13104
13105
|
isDisabled: {
|
|
13105
13106
|
true: {
|
|
13106
13107
|
base: "opacity-disabled pointer-events-none text-neutral-light",
|
|
13107
|
-
wrapper:
|
|
13108
|
+
wrapper: [
|
|
13109
|
+
"after:bg-neutral-soft",
|
|
13110
|
+
"before:border-neutral-light",
|
|
13111
|
+
"before:bg-neutral-soft",
|
|
13112
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
13113
|
+
"group-has-[:checked]:before:border-neutral-light"
|
|
13114
|
+
],
|
|
13108
13115
|
label: "text-neutral-light",
|
|
13109
13116
|
icon: "text-neutral-light"
|
|
13110
13117
|
}
|
|
@@ -13125,8 +13132,8 @@ var checkbox = tv({
|
|
|
13125
13132
|
"after:!duration-200",
|
|
13126
13133
|
"motion-reduce:transition-none"
|
|
13127
13134
|
],
|
|
13128
|
-
icon: "transition-opacity motion-reduce:transition-none",
|
|
13129
|
-
label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
|
|
13135
|
+
icon: ["transition-opacity", "motion-reduce:transition-none"],
|
|
13136
|
+
label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
|
|
13130
13137
|
}
|
|
13131
13138
|
}
|
|
13132
13139
|
},
|
|
@@ -13472,6 +13479,36 @@ var template = {
|
|
|
13472
13479
|
}
|
|
13473
13480
|
);
|
|
13474
13481
|
},
|
|
13482
|
+
loading: ({ className, fill }) => {
|
|
13483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
13484
|
+
"svg",
|
|
13485
|
+
{
|
|
13486
|
+
width: "24",
|
|
13487
|
+
height: "24",
|
|
13488
|
+
viewBox: "0 0 24 24",
|
|
13489
|
+
fill: "none",
|
|
13490
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13491
|
+
className,
|
|
13492
|
+
children: [
|
|
13493
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
13494
|
+
"path",
|
|
13495
|
+
{
|
|
13496
|
+
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",
|
|
13497
|
+
fill: "currentColor",
|
|
13498
|
+
fillOpacity: "0.1"
|
|
13499
|
+
}
|
|
13500
|
+
),
|
|
13501
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
13502
|
+
"path",
|
|
13503
|
+
{
|
|
13504
|
+
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",
|
|
13505
|
+
fill: "currentColor"
|
|
13506
|
+
}
|
|
13507
|
+
)
|
|
13508
|
+
]
|
|
13509
|
+
}
|
|
13510
|
+
);
|
|
13511
|
+
},
|
|
13475
13512
|
// ** User **
|
|
13476
13513
|
"user-circle": ({ className, fill }) => {
|
|
13477
13514
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
@@ -16757,7 +16794,7 @@ var TableBody = ({
|
|
|
16757
16794
|
const getTrProps = (0, import_react4.useCallback)(
|
|
16758
16795
|
(index) => ({
|
|
16759
16796
|
className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
|
|
16760
|
-
"data-
|
|
16797
|
+
"data-odd": index % 2 !== 0,
|
|
16761
16798
|
"data-expanded": expandedRows.has(index)
|
|
16762
16799
|
}),
|
|
16763
16800
|
[classNames == null ? void 0 : classNames.tr, expandedRows, slots]
|
|
@@ -16824,7 +16861,7 @@ var TableBody = ({
|
|
|
16824
16861
|
isExpanded && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
16825
16862
|
Icon_default,
|
|
16826
16863
|
{
|
|
16827
|
-
name: expandedRows.has(rowIndex) ? "
|
|
16864
|
+
name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
|
|
16828
16865
|
className: `ml-2 transition-transform`,
|
|
16829
16866
|
size
|
|
16830
16867
|
}
|
|
@@ -17009,7 +17046,9 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
17009
17046
|
true: {}
|
|
17010
17047
|
},
|
|
17011
17048
|
isSelectedRow: {
|
|
17012
|
-
true: {
|
|
17049
|
+
true: {
|
|
17050
|
+
tr: "cursor-pointer"
|
|
17051
|
+
}
|
|
17013
17052
|
},
|
|
17014
17053
|
hideHeader: {
|
|
17015
17054
|
true: {
|
|
@@ -17098,7 +17137,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
17098
17137
|
variant: "stripe",
|
|
17099
17138
|
color: "primary",
|
|
17100
17139
|
class: {
|
|
17101
|
-
tr: "data-[
|
|
17140
|
+
tr: "data-[odd=true]:bg-primary-soft",
|
|
17102
17141
|
td: "group-hover:bg-primary-light"
|
|
17103
17142
|
}
|
|
17104
17143
|
},
|
|
@@ -17106,7 +17145,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
17106
17145
|
variant: "stripe",
|
|
17107
17146
|
color: "secondary",
|
|
17108
17147
|
class: {
|
|
17109
|
-
tr: "data-[
|
|
17148
|
+
tr: "data-[odd=true]:bg-secondary-soft",
|
|
17110
17149
|
td: "group-hover:bg-secondary-light"
|
|
17111
17150
|
}
|
|
17112
17151
|
},
|
|
@@ -17114,7 +17153,7 @@ var table = (0, import_tailwind_variants3.tv)({
|
|
|
17114
17153
|
variant: "stripe",
|
|
17115
17154
|
color: "neutral",
|
|
17116
17155
|
class: {
|
|
17117
|
-
tr: "data-[
|
|
17156
|
+
tr: "data-[odd=true]:bg-trans-soft",
|
|
17118
17157
|
td: "group-hover:bg-neutral-light"
|
|
17119
17158
|
}
|
|
17120
17159
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-6YE26GOI.mjs";
|
|
5
|
+
import "../../chunk-DWROPKZW.mjs";
|
|
6
|
+
import "../../chunk-VG4644BG.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-ZYIIXWVY.mjs";
|
|
10
|
-
import "../../chunk-PRUAIZTU.mjs";
|
|
11
|
-
import "../../chunk-IOV7MEPG.mjs";
|
|
8
|
+
import "../../chunk-ANYPMQH4.mjs";
|
|
12
9
|
import "../../chunk-27Y6K5NK.mjs";
|
|
13
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
14
10
|
import {
|
|
15
11
|
render
|
|
16
12
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
13
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
14
|
+
import "../../chunk-LCI6RPWE.mjs";
|
|
15
|
+
import "../../chunk-IOCRFIQF.mjs";
|
|
16
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
17
17
|
import "../../chunk-J725QONZ.mjs";
|
|
18
18
|
import "../../chunk-IZ6II3QA.mjs";
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -16,7 +16,7 @@ type TabsDataType = {
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
component: ReactNode;
|
|
18
18
|
};
|
|
19
|
-
declare const Tabs:
|
|
19
|
+
declare const Tabs: React__default.ForwardRefExoticComponent<Props & TabsVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
|
|
21
21
|
declare const tabs: tailwind_variants.TVReturnType<{
|
|
22
22
|
variant: {
|
|
@@ -61,8 +61,8 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
}, undefined, {
|
|
62
62
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
63
63
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
64
|
-
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
65
64
|
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
65
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
66
66
|
fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
67
67
|
} | undefined;
|
|
68
68
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -16,7 +16,7 @@ type TabsDataType = {
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
component: ReactNode;
|
|
18
18
|
};
|
|
19
|
-
declare const Tabs:
|
|
19
|
+
declare const Tabs: React__default.ForwardRefExoticComponent<Props & TabsVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
|
|
21
21
|
declare const tabs: tailwind_variants.TVReturnType<{
|
|
22
22
|
variant: {
|
|
@@ -61,8 +61,8 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
61
61
|
}, undefined, {
|
|
62
62
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
63
63
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
64
|
-
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
65
64
|
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
65
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
66
66
|
fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
67
67
|
} | undefined;
|
|
68
68
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tabs_default
|
|
4
|
-
} from "../../chunk-KRI5IALM.mjs";
|
|
5
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
6
2
|
import {
|
|
7
3
|
userEvent
|
|
8
4
|
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tabs_default
|
|
7
|
+
} from "../../chunk-KRI5IALM.mjs";
|
|
9
8
|
import {
|
|
10
9
|
act,
|
|
11
10
|
render
|
|
12
11
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-J725QONZ.mjs";
|
|
14
14
|
import "../../chunk-IZ6II3QA.mjs";
|
|
15
15
|
|