@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,8 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
10
|
for (var name in all)
|
|
@@ -16,6 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
18
|
}
|
|
17
19
|
return to;
|
|
18
20
|
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
19
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
30
|
|
|
21
31
|
// src/components/modal/index.ts
|
|
@@ -354,6 +364,36 @@ var template = {
|
|
|
354
364
|
}
|
|
355
365
|
);
|
|
356
366
|
},
|
|
367
|
+
loading: ({ className, fill }) => {
|
|
368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
369
|
+
"svg",
|
|
370
|
+
{
|
|
371
|
+
width: "24",
|
|
372
|
+
height: "24",
|
|
373
|
+
viewBox: "0 0 24 24",
|
|
374
|
+
fill: "none",
|
|
375
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
376
|
+
className,
|
|
377
|
+
children: [
|
|
378
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
379
|
+
"path",
|
|
380
|
+
{
|
|
381
|
+
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",
|
|
382
|
+
fill: "currentColor",
|
|
383
|
+
fillOpacity: "0.1"
|
|
384
|
+
}
|
|
385
|
+
),
|
|
386
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
387
|
+
"path",
|
|
388
|
+
{
|
|
389
|
+
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",
|
|
390
|
+
fill: "currentColor"
|
|
391
|
+
}
|
|
392
|
+
)
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
);
|
|
396
|
+
},
|
|
357
397
|
// ** User **
|
|
358
398
|
"user-circle": ({ className, fill }) => {
|
|
359
399
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -3608,45 +3648,63 @@ var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) =
|
|
|
3608
3648
|
var Icon_default = Icon;
|
|
3609
3649
|
|
|
3610
3650
|
// src/components/button/button.tsx
|
|
3611
|
-
var import_react = require("react");
|
|
3651
|
+
var import_react = __toESM(require("react"));
|
|
3612
3652
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
3613
|
-
var Button = (0, import_react.forwardRef)(
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
)
|
|
3653
|
+
var Button = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
3654
|
+
const [props, variantProps] = mapPropsVariants(originalProps, buttonStyle.variantKeys);
|
|
3655
|
+
const { classNames, startContent, endContent, children, ...buttonProps } = props;
|
|
3656
|
+
const slots = (0, import_react.useMemo)(() => buttonStyle({ ...variantProps }), [variantProps]);
|
|
3657
|
+
const getBaseProps = (0, import_react.useCallback)(
|
|
3658
|
+
() => ({
|
|
3659
|
+
...buttonProps,
|
|
3660
|
+
ref,
|
|
3661
|
+
disabled: originalProps.isDisabled || originalProps.isLoading,
|
|
3662
|
+
"data-loading": originalProps.isLoading,
|
|
3663
|
+
className: slots.base({ class: classNames == null ? void 0 : classNames.base })
|
|
3664
|
+
}),
|
|
3665
|
+
[buttonProps, ref, originalProps.isDisabled, originalProps.isLoading, slots, classNames == null ? void 0 : classNames.base]
|
|
3666
|
+
);
|
|
3667
|
+
const getContentProps = (0, import_react.useCallback)(
|
|
3668
|
+
() => ({
|
|
3669
|
+
className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
3670
|
+
size: originalProps.size
|
|
3671
|
+
}),
|
|
3672
|
+
[slots, classNames, originalProps.size]
|
|
3673
|
+
);
|
|
3674
|
+
const renderContent = (content) => {
|
|
3675
|
+
if (import_react.default.isValidElement(content)) {
|
|
3676
|
+
const existingProps = content.props;
|
|
3677
|
+
const mergedProps = {
|
|
3678
|
+
...getContentProps(),
|
|
3679
|
+
className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
|
|
3680
|
+
};
|
|
3681
|
+
return import_react.default.cloneElement(content, mergedProps);
|
|
3682
|
+
} else {
|
|
3683
|
+
const contentProps = getContentProps();
|
|
3684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...contentProps, children: content });
|
|
3685
|
+
}
|
|
3686
|
+
};
|
|
3687
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("button", { ...getBaseProps(), children: originalProps.isLoading ? renderContent(/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "loading", className: "animate-spin" })) : /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
3688
|
+
startContent && renderContent(startContent),
|
|
3689
|
+
children,
|
|
3690
|
+
endContent && renderContent(endContent)
|
|
3691
|
+
] }) });
|
|
3692
|
+
});
|
|
3640
3693
|
Button.displayName = "Button";
|
|
3641
3694
|
var button_default = Button;
|
|
3642
|
-
var
|
|
3643
|
-
|
|
3695
|
+
var buttonStyle = tv({
|
|
3696
|
+
slots: {
|
|
3697
|
+
base: "flex items-center justify-center border whitespace-nowrap transition duration-200 select-none",
|
|
3698
|
+
content: ""
|
|
3699
|
+
},
|
|
3644
3700
|
variants: {
|
|
3645
3701
|
variant: {
|
|
3646
3702
|
solid: "",
|
|
3647
3703
|
line: "",
|
|
3648
3704
|
tonal: "",
|
|
3649
|
-
trans:
|
|
3705
|
+
trans: {
|
|
3706
|
+
base: "bg-transparent border-transparent"
|
|
3707
|
+
},
|
|
3650
3708
|
ghost: ""
|
|
3651
3709
|
},
|
|
3652
3710
|
color: {
|
|
@@ -3659,23 +3717,46 @@ var button = tv({
|
|
|
3659
3717
|
danger: ""
|
|
3660
3718
|
},
|
|
3661
3719
|
size: {
|
|
3662
|
-
sm:
|
|
3663
|
-
|
|
3664
|
-
|
|
3720
|
+
sm: {
|
|
3721
|
+
base: "h-[24px] px-[8px] py-[4.5px] text-sm font-[500] rounded-sm gap-sm"
|
|
3722
|
+
},
|
|
3723
|
+
md: {
|
|
3724
|
+
base: "h-[30px] px-[16px] py-[6.5px] text-md font-[500] rounded-md gap-md"
|
|
3725
|
+
},
|
|
3726
|
+
lg: {
|
|
3727
|
+
base: "h-[36px] px-[24px] py-[8px] text-lg font-[500] rounded-lg gap-lg"
|
|
3728
|
+
}
|
|
3665
3729
|
},
|
|
3666
3730
|
radius: {
|
|
3667
|
-
default:
|
|
3668
|
-
|
|
3669
|
-
|
|
3731
|
+
default: {
|
|
3732
|
+
base: ""
|
|
3733
|
+
},
|
|
3734
|
+
full: {
|
|
3735
|
+
base: "rounded-full"
|
|
3736
|
+
},
|
|
3737
|
+
none: {
|
|
3738
|
+
base: "rounded-none"
|
|
3739
|
+
}
|
|
3670
3740
|
},
|
|
3671
3741
|
fullWidth: {
|
|
3672
|
-
true:
|
|
3742
|
+
true: {
|
|
3743
|
+
base: "w-full"
|
|
3744
|
+
}
|
|
3673
3745
|
},
|
|
3674
3746
|
isDisabled: {
|
|
3675
|
-
true:
|
|
3747
|
+
true: {
|
|
3748
|
+
base: "!bg-neutral-soft !border-neutral-soft !text-neutral-light pointer-events-none"
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
isLoading: {
|
|
3752
|
+
true: {
|
|
3753
|
+
base: "pointer-events-none"
|
|
3754
|
+
}
|
|
3676
3755
|
},
|
|
3677
3756
|
isInGroup: {
|
|
3678
|
-
true:
|
|
3757
|
+
true: {
|
|
3758
|
+
base: "[&:not(:first-child):not(:last-child)]:rounded-none first:rounded-r-none last:rounded-l-none"
|
|
3759
|
+
}
|
|
3679
3760
|
}
|
|
3680
3761
|
},
|
|
3681
3762
|
defaultVariants: {
|
|
@@ -3684,6 +3765,7 @@ var button = tv({
|
|
|
3684
3765
|
color: "primary",
|
|
3685
3766
|
fullWidth: false,
|
|
3686
3767
|
isDisabled: false,
|
|
3768
|
+
isLoading: false,
|
|
3687
3769
|
isInGroup: false
|
|
3688
3770
|
},
|
|
3689
3771
|
compoundVariants: [
|
|
@@ -3691,230 +3773,533 @@ var button = tv({
|
|
|
3691
3773
|
{
|
|
3692
3774
|
variant: "solid",
|
|
3693
3775
|
color: "primary",
|
|
3694
|
-
class:
|
|
3776
|
+
class: {
|
|
3777
|
+
base: [
|
|
3778
|
+
"text-white",
|
|
3779
|
+
"bg-primary-main",
|
|
3780
|
+
"border-primary-main",
|
|
3781
|
+
"hover:bg-primary-dark",
|
|
3782
|
+
"hover:border-primary-dark",
|
|
3783
|
+
"data-[loading=true]:bg-primary-dark",
|
|
3784
|
+
"data-[loading=true]:border-primary-dark"
|
|
3785
|
+
]
|
|
3786
|
+
}
|
|
3695
3787
|
},
|
|
3696
3788
|
{
|
|
3697
3789
|
variant: "solid",
|
|
3698
3790
|
color: "secondary",
|
|
3699
|
-
class:
|
|
3791
|
+
class: {
|
|
3792
|
+
base: [
|
|
3793
|
+
"text-white",
|
|
3794
|
+
"bg-secondary-main",
|
|
3795
|
+
"border-secondary-main",
|
|
3796
|
+
"hover:bg-secondary-dark",
|
|
3797
|
+
"hover:border-secondary-dark",
|
|
3798
|
+
"data-[loading=true]:bg-secondary-dark",
|
|
3799
|
+
"data-[loading=true]:border-secondary-dark"
|
|
3800
|
+
]
|
|
3801
|
+
}
|
|
3700
3802
|
},
|
|
3701
3803
|
{
|
|
3702
3804
|
variant: "solid",
|
|
3703
3805
|
color: "neutral",
|
|
3704
|
-
class:
|
|
3806
|
+
class: {
|
|
3807
|
+
base: [
|
|
3808
|
+
"text-white",
|
|
3809
|
+
"bg-neutral-main",
|
|
3810
|
+
"border-neutral-main",
|
|
3811
|
+
"hover:bg-neutral-dark",
|
|
3812
|
+
"hover:border-neutral-dark",
|
|
3813
|
+
"data-[loading=true]:bg-neutral-dark",
|
|
3814
|
+
"data-[loading=true]:border-neutral-dark"
|
|
3815
|
+
]
|
|
3816
|
+
}
|
|
3705
3817
|
},
|
|
3706
3818
|
{
|
|
3707
3819
|
variant: "solid",
|
|
3708
3820
|
color: "info",
|
|
3709
|
-
class:
|
|
3821
|
+
class: {
|
|
3822
|
+
base: [
|
|
3823
|
+
"text-white",
|
|
3824
|
+
"bg-info-main",
|
|
3825
|
+
"border-info-main",
|
|
3826
|
+
"hover:bg-info-dark",
|
|
3827
|
+
"hover:border-info-dark",
|
|
3828
|
+
"data-[loading=true]:bg-info-dark",
|
|
3829
|
+
"data-[loading=true]:border-info-dark"
|
|
3830
|
+
]
|
|
3831
|
+
}
|
|
3710
3832
|
},
|
|
3711
3833
|
{
|
|
3712
3834
|
variant: "solid",
|
|
3713
3835
|
color: "success",
|
|
3714
|
-
class:
|
|
3836
|
+
class: {
|
|
3837
|
+
base: [
|
|
3838
|
+
"text-white",
|
|
3839
|
+
"bg-success-main",
|
|
3840
|
+
"border-success-main",
|
|
3841
|
+
"hover:bg-success-dark",
|
|
3842
|
+
"hover:border-success-dark",
|
|
3843
|
+
"data-[loading=true]:bg-success-dark",
|
|
3844
|
+
"data-[loading=true]:border-success-dark"
|
|
3845
|
+
]
|
|
3846
|
+
}
|
|
3715
3847
|
},
|
|
3716
3848
|
{
|
|
3717
3849
|
variant: "solid",
|
|
3718
3850
|
color: "warning",
|
|
3719
|
-
class:
|
|
3851
|
+
class: {
|
|
3852
|
+
base: [
|
|
3853
|
+
"text-white",
|
|
3854
|
+
"bg-warning-main",
|
|
3855
|
+
"border-warning-main",
|
|
3856
|
+
"hover:bg-warning-dark",
|
|
3857
|
+
"hover:border-warning-dark",
|
|
3858
|
+
"data-[loading=true]:bg-warning-dark",
|
|
3859
|
+
"data-[loading=true]:border-warning-dark"
|
|
3860
|
+
]
|
|
3861
|
+
}
|
|
3720
3862
|
},
|
|
3721
3863
|
{
|
|
3722
3864
|
variant: "solid",
|
|
3723
3865
|
color: "danger",
|
|
3724
|
-
class:
|
|
3866
|
+
class: {
|
|
3867
|
+
base: [
|
|
3868
|
+
"text-white",
|
|
3869
|
+
"bg-danger-main",
|
|
3870
|
+
"border-danger-main",
|
|
3871
|
+
"hover:bg-danger-dark",
|
|
3872
|
+
"hover:border-danger-dark",
|
|
3873
|
+
"data-[loading=true]:bg-danger-dark",
|
|
3874
|
+
"data-[loading=true]:border-danger-dark"
|
|
3875
|
+
]
|
|
3876
|
+
}
|
|
3725
3877
|
},
|
|
3726
3878
|
// line & color
|
|
3727
3879
|
{
|
|
3728
3880
|
variant: "line",
|
|
3729
3881
|
color: "primary",
|
|
3730
|
-
class:
|
|
3882
|
+
class: {
|
|
3883
|
+
base: [
|
|
3884
|
+
"bg-transparent",
|
|
3885
|
+
"border-primary-main",
|
|
3886
|
+
"text-primary-main",
|
|
3887
|
+
"hover:bg-neutral-soft",
|
|
3888
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3889
|
+
]
|
|
3890
|
+
}
|
|
3731
3891
|
},
|
|
3732
3892
|
{
|
|
3733
3893
|
variant: "line",
|
|
3734
3894
|
color: "secondary",
|
|
3735
|
-
class:
|
|
3895
|
+
class: {
|
|
3896
|
+
base: [
|
|
3897
|
+
"bg-transparent",
|
|
3898
|
+
"border-secondary-main",
|
|
3899
|
+
"text-secondary-main",
|
|
3900
|
+
"hover:bg-neutral-soft",
|
|
3901
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3902
|
+
]
|
|
3903
|
+
}
|
|
3736
3904
|
},
|
|
3737
3905
|
{
|
|
3738
3906
|
variant: "line",
|
|
3739
3907
|
color: "neutral",
|
|
3740
|
-
class:
|
|
3908
|
+
class: {
|
|
3909
|
+
base: [
|
|
3910
|
+
"bg-transparent",
|
|
3911
|
+
"border-neutral-main",
|
|
3912
|
+
"text-neutral-main",
|
|
3913
|
+
"hover:bg-neutral-soft",
|
|
3914
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3915
|
+
]
|
|
3916
|
+
}
|
|
3741
3917
|
},
|
|
3742
3918
|
{
|
|
3743
3919
|
variant: "line",
|
|
3744
3920
|
color: "info",
|
|
3745
|
-
class:
|
|
3921
|
+
class: {
|
|
3922
|
+
base: [
|
|
3923
|
+
"bg-transparent",
|
|
3924
|
+
"border-info-main",
|
|
3925
|
+
"text-info-main",
|
|
3926
|
+
"hover:bg-neutral-soft",
|
|
3927
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3928
|
+
]
|
|
3929
|
+
}
|
|
3746
3930
|
},
|
|
3747
3931
|
{
|
|
3748
3932
|
variant: "line",
|
|
3749
3933
|
color: "success",
|
|
3750
|
-
class:
|
|
3934
|
+
class: {
|
|
3935
|
+
base: [
|
|
3936
|
+
"bg-transparent",
|
|
3937
|
+
"border-success-main",
|
|
3938
|
+
"text-success-main",
|
|
3939
|
+
"hover:bg-neutral-soft",
|
|
3940
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3941
|
+
]
|
|
3942
|
+
}
|
|
3751
3943
|
},
|
|
3752
3944
|
{
|
|
3753
3945
|
variant: "line",
|
|
3754
3946
|
color: "warning",
|
|
3755
|
-
class:
|
|
3947
|
+
class: {
|
|
3948
|
+
base: [
|
|
3949
|
+
"bg-transparent",
|
|
3950
|
+
"border-warning-main",
|
|
3951
|
+
"text-warning-main",
|
|
3952
|
+
"hover:bg-neutral-soft",
|
|
3953
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3954
|
+
]
|
|
3955
|
+
}
|
|
3756
3956
|
},
|
|
3757
3957
|
{
|
|
3758
3958
|
variant: "line",
|
|
3759
3959
|
color: "danger",
|
|
3760
|
-
class:
|
|
3960
|
+
class: {
|
|
3961
|
+
base: [
|
|
3962
|
+
"bg-transparent",
|
|
3963
|
+
"border-danger-main",
|
|
3964
|
+
"text-danger-main",
|
|
3965
|
+
"hover:bg-neutral-soft",
|
|
3966
|
+
"data-[loading=true]:bg-neutral-soft"
|
|
3967
|
+
]
|
|
3968
|
+
}
|
|
3761
3969
|
},
|
|
3762
3970
|
// tonal & color
|
|
3763
3971
|
{
|
|
3764
3972
|
variant: "tonal",
|
|
3765
3973
|
color: "primary",
|
|
3766
|
-
class:
|
|
3974
|
+
class: {
|
|
3975
|
+
base: [
|
|
3976
|
+
"bg-primary-soft",
|
|
3977
|
+
"border-primary-soft",
|
|
3978
|
+
"text-primary-main",
|
|
3979
|
+
"hover:border-primary-light",
|
|
3980
|
+
"hover:bg-primary-light",
|
|
3981
|
+
"data-[loading=true]:border-primary-light",
|
|
3982
|
+
"data-[loading=true]:bg-primary-light"
|
|
3983
|
+
]
|
|
3984
|
+
}
|
|
3767
3985
|
},
|
|
3768
3986
|
{
|
|
3769
3987
|
variant: "tonal",
|
|
3770
3988
|
color: "secondary",
|
|
3771
|
-
class:
|
|
3989
|
+
class: {
|
|
3990
|
+
base: [
|
|
3991
|
+
"bg-secondary-soft",
|
|
3992
|
+
"border-secondary-soft",
|
|
3993
|
+
"text-secondary-main",
|
|
3994
|
+
"hover:border-secondary-light",
|
|
3995
|
+
"hover:bg-secondary-light",
|
|
3996
|
+
"data-[loading=true]:border-secondary-light",
|
|
3997
|
+
"data-[loading=true]:bg-secondary-light"
|
|
3998
|
+
]
|
|
3999
|
+
}
|
|
3772
4000
|
},
|
|
3773
4001
|
{
|
|
3774
4002
|
variant: "tonal",
|
|
3775
4003
|
color: "neutral",
|
|
3776
|
-
class:
|
|
4004
|
+
class: {
|
|
4005
|
+
base: [
|
|
4006
|
+
"bg-neutral-soft",
|
|
4007
|
+
"border-neutral-soft",
|
|
4008
|
+
"text-neutral-main",
|
|
4009
|
+
"hover:border-neutral-light",
|
|
4010
|
+
"hover:bg-neutral-light",
|
|
4011
|
+
"data-[loading=true]:border-neutral-light",
|
|
4012
|
+
"data-[loading=true]:bg-neutral-light"
|
|
4013
|
+
]
|
|
4014
|
+
}
|
|
3777
4015
|
},
|
|
3778
4016
|
{
|
|
3779
4017
|
variant: "tonal",
|
|
3780
4018
|
color: "info",
|
|
3781
|
-
class:
|
|
4019
|
+
class: {
|
|
4020
|
+
base: [
|
|
4021
|
+
"bg-info-soft",
|
|
4022
|
+
"border-info-soft",
|
|
4023
|
+
"text-info-main",
|
|
4024
|
+
"hover:border-info-light",
|
|
4025
|
+
"hover:bg-info-light",
|
|
4026
|
+
"data-[loading=true]:border-info-light",
|
|
4027
|
+
"data-[loading=true]:bg-info-light"
|
|
4028
|
+
]
|
|
4029
|
+
}
|
|
3782
4030
|
},
|
|
3783
4031
|
{
|
|
3784
4032
|
variant: "tonal",
|
|
3785
4033
|
color: "success",
|
|
3786
|
-
class:
|
|
4034
|
+
class: {
|
|
4035
|
+
base: [
|
|
4036
|
+
"bg-success-soft",
|
|
4037
|
+
"border-success-soft",
|
|
4038
|
+
"text-success-main",
|
|
4039
|
+
"hover:border-success-light",
|
|
4040
|
+
"hover:bg-success-light",
|
|
4041
|
+
"data-[loading=true]:border-success-light",
|
|
4042
|
+
"data-[loading=true]:bg-success-light"
|
|
4043
|
+
]
|
|
4044
|
+
}
|
|
3787
4045
|
},
|
|
3788
4046
|
{
|
|
3789
4047
|
variant: "tonal",
|
|
3790
4048
|
color: "warning",
|
|
3791
|
-
class:
|
|
4049
|
+
class: {
|
|
4050
|
+
base: [
|
|
4051
|
+
"bg-warning-soft",
|
|
4052
|
+
"border-warning-soft",
|
|
4053
|
+
"text-warning-main",
|
|
4054
|
+
"hover:border-warning-light",
|
|
4055
|
+
"hover:bg-warning-light",
|
|
4056
|
+
"data-[loading=true]:border-warning-light",
|
|
4057
|
+
"data-[loading=true]:bg-warning-light"
|
|
4058
|
+
]
|
|
4059
|
+
}
|
|
3792
4060
|
},
|
|
3793
4061
|
{
|
|
3794
4062
|
variant: "tonal",
|
|
3795
4063
|
color: "danger",
|
|
3796
|
-
class:
|
|
4064
|
+
class: {
|
|
4065
|
+
base: [
|
|
4066
|
+
"bg-danger-soft",
|
|
4067
|
+
"border-danger-soft",
|
|
4068
|
+
"text-danger-main",
|
|
4069
|
+
"hover:border-danger-light",
|
|
4070
|
+
"hover:bg-danger-light",
|
|
4071
|
+
"data-[loading=true]:border-danger-light",
|
|
4072
|
+
"data-[loading=true]:bg-danger-light"
|
|
4073
|
+
]
|
|
4074
|
+
}
|
|
3797
4075
|
},
|
|
3798
4076
|
// trans & color
|
|
3799
4077
|
{
|
|
3800
4078
|
variant: "trans",
|
|
3801
4079
|
color: "primary",
|
|
3802
|
-
class:
|
|
4080
|
+
class: {
|
|
4081
|
+
base: [
|
|
4082
|
+
"text-primary-main",
|
|
4083
|
+
"border-transparent",
|
|
4084
|
+
"hover:bg-primary-soft",
|
|
4085
|
+
"hover:text-primary-main",
|
|
4086
|
+
"hover:border-primary-soft",
|
|
4087
|
+
"data-[loading=true]:bg-primary-soft",
|
|
4088
|
+
"data-[loading=true]:text-primary-main",
|
|
4089
|
+
"data-[loading=true]:border-primary-soft"
|
|
4090
|
+
]
|
|
4091
|
+
}
|
|
3803
4092
|
},
|
|
3804
4093
|
{
|
|
3805
4094
|
variant: "trans",
|
|
3806
4095
|
color: "secondary",
|
|
3807
|
-
class:
|
|
4096
|
+
class: {
|
|
4097
|
+
base: [
|
|
4098
|
+
"text-secondary-main",
|
|
4099
|
+
"border-transparent",
|
|
4100
|
+
"hover:bg-secondary-soft",
|
|
4101
|
+
"hover:text-secondary-main",
|
|
4102
|
+
"hover:border-secondary-soft",
|
|
4103
|
+
"data-[loading=true]:bg-secondary-soft",
|
|
4104
|
+
"data-[loading=true]:text-secondary-main",
|
|
4105
|
+
"data-[loading=true]:border-secondary-soft"
|
|
4106
|
+
]
|
|
4107
|
+
}
|
|
3808
4108
|
},
|
|
3809
4109
|
{
|
|
3810
4110
|
variant: "trans",
|
|
3811
4111
|
color: "neutral",
|
|
3812
|
-
class:
|
|
4112
|
+
class: {
|
|
4113
|
+
base: [
|
|
4114
|
+
"text-neutral-main",
|
|
4115
|
+
"border-transparent",
|
|
4116
|
+
"hover:bg-neutral-soft",
|
|
4117
|
+
"hover:text-neutral-main",
|
|
4118
|
+
"hover:border-neutral-soft",
|
|
4119
|
+
"data-[loading=true]:bg-neutral-soft",
|
|
4120
|
+
"data-[loading=true]:text-neutral-main",
|
|
4121
|
+
"data-[loading=true]:border-neutral-soft"
|
|
4122
|
+
]
|
|
4123
|
+
}
|
|
3813
4124
|
},
|
|
3814
4125
|
{
|
|
3815
4126
|
variant: "trans",
|
|
3816
4127
|
color: "info",
|
|
3817
|
-
class:
|
|
4128
|
+
class: {
|
|
4129
|
+
base: [
|
|
4130
|
+
"text-info-main",
|
|
4131
|
+
"border-transparent",
|
|
4132
|
+
"hover:bg-info-soft",
|
|
4133
|
+
"hover:text-info-main",
|
|
4134
|
+
"hover:border-info-soft",
|
|
4135
|
+
"data-[loading=true]:bg-info-soft",
|
|
4136
|
+
"data-[loading=true]:text-info-main",
|
|
4137
|
+
"data-[loading=true]:border-info-soft"
|
|
4138
|
+
]
|
|
4139
|
+
}
|
|
3818
4140
|
},
|
|
3819
4141
|
{
|
|
3820
4142
|
variant: "trans",
|
|
3821
4143
|
color: "success",
|
|
3822
|
-
class:
|
|
4144
|
+
class: {
|
|
4145
|
+
base: [
|
|
4146
|
+
"text-success-main",
|
|
4147
|
+
"border-transparent",
|
|
4148
|
+
"hover:bg-success-soft",
|
|
4149
|
+
"hover:text-success-main",
|
|
4150
|
+
"hover:border-success-soft",
|
|
4151
|
+
"data-[loading=true]:bg-success-soft",
|
|
4152
|
+
"data-[loading=true]:text-success-main",
|
|
4153
|
+
"data-[loading=true]:border-success-soft"
|
|
4154
|
+
]
|
|
4155
|
+
}
|
|
3823
4156
|
},
|
|
3824
4157
|
{
|
|
3825
4158
|
variant: "trans",
|
|
3826
4159
|
color: "warning",
|
|
3827
|
-
class:
|
|
4160
|
+
class: {
|
|
4161
|
+
base: [
|
|
4162
|
+
"text-warning-main",
|
|
4163
|
+
"border-transparent",
|
|
4164
|
+
"hover:bg-warning-soft",
|
|
4165
|
+
"hover:text-warning-main",
|
|
4166
|
+
"hover:border-warning-soft",
|
|
4167
|
+
"data-[loading=true]:bg-warning-soft",
|
|
4168
|
+
"data-[loading=true]:text-warning-main",
|
|
4169
|
+
"data-[loading=true]:border-warning-soft"
|
|
4170
|
+
]
|
|
4171
|
+
}
|
|
3828
4172
|
},
|
|
3829
4173
|
{
|
|
3830
4174
|
variant: "trans",
|
|
3831
4175
|
color: "danger",
|
|
3832
|
-
class:
|
|
4176
|
+
class: {
|
|
4177
|
+
base: [
|
|
4178
|
+
"text-danger-main",
|
|
4179
|
+
"border-transparent",
|
|
4180
|
+
"hover:bg-danger-soft",
|
|
4181
|
+
"hover:text-danger-main",
|
|
4182
|
+
"hover:border-danger-soft",
|
|
4183
|
+
"data-[loading=true]:bg-danger-soft",
|
|
4184
|
+
"data-[loading=true]:text-danger-main",
|
|
4185
|
+
"data-[loading=true]:border-danger-soft"
|
|
4186
|
+
]
|
|
4187
|
+
}
|
|
3833
4188
|
},
|
|
3834
4189
|
// ghost & color
|
|
3835
4190
|
{
|
|
3836
4191
|
variant: "ghost",
|
|
3837
4192
|
color: "primary",
|
|
3838
|
-
class:
|
|
4193
|
+
class: {
|
|
4194
|
+
base: [
|
|
4195
|
+
"text-primary-main",
|
|
4196
|
+
"border-primary-main",
|
|
4197
|
+
"hover:text-white",
|
|
4198
|
+
"hover:bg-primary-main",
|
|
4199
|
+
"data-[loading=true]:text-white",
|
|
4200
|
+
"data-[loading=true]:bg-primary-main"
|
|
4201
|
+
]
|
|
4202
|
+
}
|
|
3839
4203
|
},
|
|
3840
4204
|
{
|
|
3841
4205
|
variant: "ghost",
|
|
3842
4206
|
color: "secondary",
|
|
3843
|
-
class:
|
|
4207
|
+
class: {
|
|
4208
|
+
base: [
|
|
4209
|
+
"text-secondary-main",
|
|
4210
|
+
"border-secondary-main",
|
|
4211
|
+
"hover:text-white",
|
|
4212
|
+
"hover:bg-secondary-main",
|
|
4213
|
+
"data-[loading=true]:text-white",
|
|
4214
|
+
"data-[loading=true]:bg-secondary-main"
|
|
4215
|
+
]
|
|
4216
|
+
}
|
|
3844
4217
|
},
|
|
3845
4218
|
{
|
|
3846
4219
|
variant: "ghost",
|
|
3847
4220
|
color: "neutral",
|
|
3848
|
-
class:
|
|
4221
|
+
class: {
|
|
4222
|
+
base: [
|
|
4223
|
+
"text-neutral-main",
|
|
4224
|
+
"border-neutral-main",
|
|
4225
|
+
"hover:text-white",
|
|
4226
|
+
"hover:bg-neutral-main",
|
|
4227
|
+
"data-[loading=true]:text-white",
|
|
4228
|
+
"data-[loading=true]:bg-neutral-main"
|
|
4229
|
+
]
|
|
4230
|
+
}
|
|
3849
4231
|
},
|
|
3850
4232
|
{
|
|
3851
4233
|
variant: "ghost",
|
|
3852
4234
|
color: "info",
|
|
3853
|
-
class:
|
|
4235
|
+
class: {
|
|
4236
|
+
base: [
|
|
4237
|
+
"text-info-main",
|
|
4238
|
+
"border-info-main",
|
|
4239
|
+
"hover:text-white",
|
|
4240
|
+
"hover:bg-info-main",
|
|
4241
|
+
"data-[loading=true]:text-white",
|
|
4242
|
+
"data-[loading=true]:bg-info-main"
|
|
4243
|
+
]
|
|
4244
|
+
}
|
|
3854
4245
|
},
|
|
3855
4246
|
{
|
|
3856
4247
|
variant: "ghost",
|
|
3857
4248
|
color: "success",
|
|
3858
|
-
class:
|
|
4249
|
+
class: {
|
|
4250
|
+
base: [
|
|
4251
|
+
"text-success-main",
|
|
4252
|
+
"border-success-main",
|
|
4253
|
+
"hover:text-white",
|
|
4254
|
+
"hover:bg-success-main",
|
|
4255
|
+
"data-[loading=true]:text-white",
|
|
4256
|
+
"data-[loading=true]:bg-success-main"
|
|
4257
|
+
]
|
|
4258
|
+
}
|
|
3859
4259
|
},
|
|
3860
4260
|
{
|
|
3861
4261
|
variant: "ghost",
|
|
3862
4262
|
color: "warning",
|
|
3863
|
-
class:
|
|
4263
|
+
class: {
|
|
4264
|
+
base: [
|
|
4265
|
+
"text-warning-main",
|
|
4266
|
+
"border-warning-main",
|
|
4267
|
+
"hover:text-white",
|
|
4268
|
+
"hover:bg-warning-main",
|
|
4269
|
+
"data-[loading=true]:text-white",
|
|
4270
|
+
"data-[loading=true]:bg-warning-main"
|
|
4271
|
+
]
|
|
4272
|
+
}
|
|
3864
4273
|
},
|
|
3865
4274
|
{
|
|
3866
4275
|
variant: "ghost",
|
|
3867
4276
|
color: "danger",
|
|
3868
|
-
class:
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
variant: ["line", "ghost"],
|
|
3879
|
-
color: "secondary",
|
|
3880
|
-
isInGroup: true,
|
|
3881
|
-
class: ["shadow-none", "border", "[&:not(:last-child)]:border-r-0", "border-secondary-main"]
|
|
3882
|
-
},
|
|
3883
|
-
{
|
|
3884
|
-
variant: ["line", "ghost"],
|
|
3885
|
-
color: "neutral",
|
|
3886
|
-
isInGroup: true,
|
|
3887
|
-
class: ["shadow-none", "border", "[&:not(:last-child)]:border-r-0", "border-neutral-main"]
|
|
3888
|
-
},
|
|
3889
|
-
{
|
|
3890
|
-
variant: ["line", "ghost"],
|
|
3891
|
-
color: "info",
|
|
3892
|
-
isInGroup: true,
|
|
3893
|
-
class: ["shadow-none", "border", "[&:not(:last-child)]:border-r-0", "border-info-main"]
|
|
3894
|
-
},
|
|
3895
|
-
{
|
|
3896
|
-
variant: ["line", "ghost"],
|
|
3897
|
-
color: "success",
|
|
3898
|
-
isInGroup: true,
|
|
3899
|
-
class: ["shadow-none", "border", "[&:not(:last-child)]:border-r-0", "border-success-main"]
|
|
3900
|
-
},
|
|
3901
|
-
{
|
|
3902
|
-
variant: ["line", "ghost"],
|
|
3903
|
-
color: "warning",
|
|
3904
|
-
isInGroup: true,
|
|
3905
|
-
class: ["shadow-none", "border", "[&:not(:last-child)]:border-r-0", "border-warning-main"]
|
|
4277
|
+
class: {
|
|
4278
|
+
base: [
|
|
4279
|
+
"text-danger-main",
|
|
4280
|
+
"border-danger-main",
|
|
4281
|
+
"hover:text-white",
|
|
4282
|
+
"hover:bg-danger-main",
|
|
4283
|
+
"data-[loading=true]:text-white",
|
|
4284
|
+
"data-[loading=true]:bg-danger-main"
|
|
4285
|
+
]
|
|
4286
|
+
}
|
|
3906
4287
|
},
|
|
4288
|
+
// variant && isInGroup
|
|
3907
4289
|
{
|
|
3908
4290
|
variant: ["line", "ghost"],
|
|
3909
|
-
color: "danger",
|
|
3910
4291
|
isInGroup: true,
|
|
3911
|
-
class:
|
|
4292
|
+
class: {
|
|
4293
|
+
base: "[&:not(:last-child)]:border-r-0"
|
|
4294
|
+
}
|
|
3912
4295
|
},
|
|
3913
4296
|
// variant && isDisabled
|
|
3914
4297
|
{
|
|
3915
4298
|
variant: ["line", "ghost"],
|
|
3916
4299
|
isDisabled: true,
|
|
3917
|
-
class:
|
|
4300
|
+
class: {
|
|
4301
|
+
base: "!border-neutral-light"
|
|
4302
|
+
}
|
|
3918
4303
|
}
|
|
3919
4304
|
]
|
|
3920
4305
|
});
|
|
@@ -4031,7 +4416,7 @@ var Modal = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
4031
4416
|
}, [isOpen, isKeyboardDismissDisabled, onCancel]);
|
|
4032
4417
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: isOpen && (0, import_react_dom.createPortal)(
|
|
4033
4418
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { ...getBackdropProps(), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ref, ...getModalWrapperProps(), children: [
|
|
4034
|
-
|
|
4419
|
+
typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { ...getIconProps(), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: icon, className: "w-[80px] h-[80px]" }) }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { ...getIconProps(), children: icon }),
|
|
4035
4420
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ...getBodyWrapperProps(), children: [
|
|
4036
4421
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "close", ...getCloseIconProps(), onClick: onCancel }),
|
|
4037
4422
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ...getBodyProps(), children: [
|
|
@@ -4056,21 +4441,14 @@ var modal = tv({
|
|
|
4056
4441
|
slots: {
|
|
4057
4442
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[9999]"],
|
|
4058
4443
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
4059
|
-
icon: [
|
|
4060
|
-
"absolute",
|
|
4061
|
-
"top-[20px]",
|
|
4062
|
-
"left-1/2",
|
|
4063
|
-
"-translate-x-1/2",
|
|
4064
|
-
"z-10",
|
|
4065
|
-
"group-data-[modal-icon-visibility=true]/modal:top-[80px]"
|
|
4066
|
-
],
|
|
4444
|
+
icon: ["absolute", "top-[20px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
4067
4445
|
closeIcon: [
|
|
4068
4446
|
"absolute",
|
|
4069
4447
|
"top-[20px]",
|
|
4070
4448
|
"right-[20px]",
|
|
4071
4449
|
"cursor-pointer",
|
|
4072
4450
|
"z-10",
|
|
4073
|
-
"group-data-[
|
|
4451
|
+
"group-data-[icon-visibility=true]/modal:top-[80px]"
|
|
4074
4452
|
],
|
|
4075
4453
|
titleWrapper: ["relative", "flex", "flex-col", "gap-[10px]"],
|
|
4076
4454
|
title: "text-h5 text-center text-foreground",
|
|
@@ -4082,8 +4460,8 @@ var modal = tv({
|
|
|
4082
4460
|
"bg-background",
|
|
4083
4461
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
4084
4462
|
"overflow-hidden",
|
|
4085
|
-
"group-data-[
|
|
4086
|
-
"group-data-[
|
|
4463
|
+
"group-data-[icon-visibility=true]/modal:mt-[60px]",
|
|
4464
|
+
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
4087
4465
|
],
|
|
4088
4466
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
4089
4467
|
content: ["text-md text-center", "break-words", "bg-neutral-soft", "rounded-[5px]", "p-[10px]"],
|