@deepnoid/ui 0.1.224 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +208 -208
- package/dist/{chunk-2K3HZMC6.mjs → chunk-3STWFJVX.mjs} +6 -6
- package/dist/chunk-67DEFPS6.mjs +74 -0
- package/dist/{chunk-CBFUVFGI.mjs → chunk-AVUO6TGC.mjs} +2 -2
- package/dist/{chunk-YBDQSEPV.mjs → chunk-BTAOTEW7.mjs} +1 -1
- package/dist/{chunk-7JCCPTBU.mjs → chunk-CVDI2GQ2.mjs} +3 -3
- package/dist/{chunk-VOOEH6OJ.mjs → chunk-FFKXQUER.mjs} +1 -1
- package/dist/{chunk-E4VJDQD5.mjs → chunk-G5OQBVYQ.mjs} +1 -1
- package/dist/{chunk-S2T4GHJA.mjs → chunk-HJ2RUGGG.mjs} +1 -0
- package/dist/{chunk-TEERNFIT.mjs → chunk-IE7ERNC7.mjs} +3 -3
- package/dist/{chunk-63JRWMWN.mjs → chunk-JXIQOVRO.mjs} +1 -1
- package/dist/{chunk-OPGGL4CG.mjs → chunk-KZPHD6CA.mjs} +2 -2
- package/dist/{chunk-TBRF36RK.mjs → chunk-MCSP3FVE.mjs} +1 -1
- package/dist/{chunk-23KGTXH2.mjs → chunk-NKYNCXOU.mjs} +1 -1
- package/dist/{chunk-CGJBY53Q.mjs → chunk-PWISIPC6.mjs} +1 -1
- package/dist/{chunk-Z4NO7SMY.mjs → chunk-ROG3BOMM.mjs} +19 -66
- package/dist/{chunk-RFHWRBAB.mjs → chunk-T6IFFFAD.mjs} +1 -1
- package/dist/{chunk-OPSMMRA2.mjs → chunk-TY7T5O3Z.mjs} +1 -1
- package/dist/{chunk-V5XX3CGL.mjs → chunk-WGVOWTFG.mjs} +1 -1
- package/dist/{chunk-EAWNUQDB.mjs → chunk-XNDDHEW6.mjs} +1 -1
- package/dist/components/accordion/accordionItem.js +1 -1
- package/dist/components/accordion/accordionItem.mjs +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.mjs +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +19 -66
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.js +19 -66
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button-group.js +95 -10
- package/dist/components/button/button-group.mjs +2 -1
- package/dist/components/button/button.d.mts +52 -44
- package/dist/components/button/button.d.ts +52 -44
- package/dist/components/button/button.js +19 -66
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/button.style.d.mts +39 -33
- package/dist/components/button/button.style.d.ts +39 -33
- package/dist/components/button/button.style.js +19 -66
- package/dist/components/button/button.style.mjs +1 -1
- package/dist/components/button/icon-button.d.mts +52 -44
- package/dist/components/button/icon-button.d.ts +52 -44
- package/dist/components/button/icon-button.js +19 -66
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.js +74 -76
- package/dist/components/button/index.mjs +7 -7
- package/dist/components/button/text-button.d.mts +52 -44
- package/dist/components/button/text-button.d.ts +52 -44
- package/dist/components/button/text-button.js +19 -66
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +20 -66
- package/dist/components/fileUpload/fileUpload.mjs +7 -7
- package/dist/components/fileUpload/index.js +20 -66
- package/dist/components/fileUpload/index.mjs +7 -7
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.js +1 -0
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/modal/GlobalModalProvider.js +19 -66
- package/dist/components/modal/GlobalModalProvider.mjs +7 -7
- package/dist/components/modal/index.js +19 -66
- package/dist/components/modal/index.mjs +8 -8
- package/dist/components/modal/modal.js +19 -66
- package/dist/components/modal/modal.mjs +6 -6
- package/dist/components/modal/useGlobalModal.mjs +8 -8
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +1 -0
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/picker/datePicker.js +20 -66
- package/dist/components/picker/datePicker.mjs +7 -7
- package/dist/components/picker/index.js +20 -66
- package/dist/components/picker/index.mjs +9 -9
- package/dist/components/picker/timePicker/Panel.js +19 -66
- package/dist/components/picker/timePicker/Panel.mjs +6 -6
- package/dist/components/picker/timePicker/index.js +20 -66
- package/dist/components/picker/timePicker/index.mjs +8 -8
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.mjs +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio/radio.mjs +1 -1
- package/dist/components/select/index.js +19 -66
- package/dist/components/select/index.mjs +6 -6
- package/dist/components/select/select.js +19 -66
- package/dist/components/select/select.mjs +6 -6
- package/dist/components/table/index.js +3 -2
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.js +3 -2
- package/dist/components/table/table-body.mjs +6 -6
- package/dist/components/table/table-head.js +3 -2
- package/dist/components/table/table-head.mjs +6 -6
- package/dist/components/table/table.js +3 -2
- package/dist/components/table/table.mjs +6 -6
- package/dist/index.js +79 -80
- package/dist/index.mjs +69 -69
- package/package.json +1 -1
- package/dist/chunk-TBI5O3OL.mjs +0 -26
|
@@ -5677,19 +5677,19 @@ var buttonBaseStyle = tv({
|
|
|
5677
5677
|
},
|
|
5678
5678
|
variants: {
|
|
5679
5679
|
variant: {
|
|
5680
|
-
solid:
|
|
5681
|
-
soft:
|
|
5682
|
-
outline: [],
|
|
5683
|
-
ghost:
|
|
5680
|
+
solid: {},
|
|
5681
|
+
soft: {},
|
|
5682
|
+
outline: { base: ["bg-transparent"] },
|
|
5683
|
+
ghost: {}
|
|
5684
5684
|
},
|
|
5685
5685
|
color: {
|
|
5686
|
-
primary:
|
|
5687
|
-
secondary:
|
|
5688
|
-
neutral:
|
|
5689
|
-
info:
|
|
5690
|
-
success:
|
|
5691
|
-
warning:
|
|
5692
|
-
danger:
|
|
5686
|
+
primary: {},
|
|
5687
|
+
secondary: {},
|
|
5688
|
+
neutral: {},
|
|
5689
|
+
info: {},
|
|
5690
|
+
success: {},
|
|
5691
|
+
warning: {},
|
|
5692
|
+
danger: {}
|
|
5693
5693
|
},
|
|
5694
5694
|
disabled: {
|
|
5695
5695
|
true: {
|
|
@@ -5698,12 +5698,7 @@ var buttonBaseStyle = tv({
|
|
|
5698
5698
|
},
|
|
5699
5699
|
isInGroup: {
|
|
5700
5700
|
true: {
|
|
5701
|
-
base: [
|
|
5702
|
-
"[&:not(:first-child):not(:last-child)]:rounded-none",
|
|
5703
|
-
"first:rounded-r-none",
|
|
5704
|
-
"last:rounded-l-none",
|
|
5705
|
-
"[&:not(:first-child)]:border-l-0"
|
|
5706
|
-
]
|
|
5701
|
+
base: ["!rounded-none", "[&:not(:first-child)]:border-l-0"]
|
|
5707
5702
|
}
|
|
5708
5703
|
}
|
|
5709
5704
|
},
|
|
@@ -5883,91 +5878,49 @@ var buttonBaseStyle = tv({
|
|
|
5883
5878
|
variant: "outline",
|
|
5884
5879
|
color: "primary",
|
|
5885
5880
|
class: {
|
|
5886
|
-
base: [
|
|
5887
|
-
"bg-body-background",
|
|
5888
|
-
"border-primary-main",
|
|
5889
|
-
"text-primary-main",
|
|
5890
|
-
"hover:bg-primary-soft",
|
|
5891
|
-
"active:bg-primary-light"
|
|
5892
|
-
]
|
|
5881
|
+
base: ["border-primary-main", "text-primary-main", "hover:bg-primary-soft", "active:bg-primary-light"]
|
|
5893
5882
|
}
|
|
5894
5883
|
},
|
|
5895
5884
|
{
|
|
5896
5885
|
variant: "outline",
|
|
5897
5886
|
color: "secondary",
|
|
5898
5887
|
class: {
|
|
5899
|
-
base: [
|
|
5900
|
-
"bg-body-background",
|
|
5901
|
-
"border-secondary-main",
|
|
5902
|
-
"text-secondary-main",
|
|
5903
|
-
"hover:bg-secondary-soft",
|
|
5904
|
-
"active:bg-secondary-light"
|
|
5905
|
-
]
|
|
5888
|
+
base: ["border-secondary-main", "text-secondary-main", "hover:bg-secondary-soft", "active:bg-secondary-light"]
|
|
5906
5889
|
}
|
|
5907
5890
|
},
|
|
5908
5891
|
{
|
|
5909
5892
|
variant: "outline",
|
|
5910
5893
|
color: "neutral",
|
|
5911
5894
|
class: {
|
|
5912
|
-
base: [
|
|
5913
|
-
"bg-body-background",
|
|
5914
|
-
"border-neutral-main",
|
|
5915
|
-
"text-neutral-main",
|
|
5916
|
-
"hover:bg-neutral-soft",
|
|
5917
|
-
"active:bg-neutral-light"
|
|
5918
|
-
]
|
|
5895
|
+
base: ["border-neutral-main", "text-neutral-main", "hover:bg-neutral-soft", "active:bg-neutral-light"]
|
|
5919
5896
|
}
|
|
5920
5897
|
},
|
|
5921
5898
|
{
|
|
5922
5899
|
variant: "outline",
|
|
5923
5900
|
color: "info",
|
|
5924
5901
|
class: {
|
|
5925
|
-
base: [
|
|
5926
|
-
"bg-body-background",
|
|
5927
|
-
"border-info-main",
|
|
5928
|
-
"text-info-main",
|
|
5929
|
-
"hover:bg-info-soft",
|
|
5930
|
-
"active:bg-info-light"
|
|
5931
|
-
]
|
|
5902
|
+
base: ["border-info-main", "text-info-main", "hover:bg-info-soft", "active:bg-info-light"]
|
|
5932
5903
|
}
|
|
5933
5904
|
},
|
|
5934
5905
|
{
|
|
5935
5906
|
variant: "outline",
|
|
5936
5907
|
color: "success",
|
|
5937
5908
|
class: {
|
|
5938
|
-
base: [
|
|
5939
|
-
"bg-body-background",
|
|
5940
|
-
"border-success-main",
|
|
5941
|
-
"text-success-main",
|
|
5942
|
-
"hover:bg-success-soft",
|
|
5943
|
-
"active:bg-success-light"
|
|
5944
|
-
]
|
|
5909
|
+
base: ["border-success-main", "text-success-main", "hover:bg-success-soft", "active:bg-success-light"]
|
|
5945
5910
|
}
|
|
5946
5911
|
},
|
|
5947
5912
|
{
|
|
5948
5913
|
variant: "outline",
|
|
5949
5914
|
color: "warning",
|
|
5950
5915
|
class: {
|
|
5951
|
-
base: [
|
|
5952
|
-
"bg-body-background",
|
|
5953
|
-
"border-warning-main",
|
|
5954
|
-
"text-warning-main",
|
|
5955
|
-
"hover:bg-warning-soft",
|
|
5956
|
-
"active:bg-warning-light"
|
|
5957
|
-
]
|
|
5916
|
+
base: ["border-warning-main", "text-warning-main", "hover:bg-warning-soft", "active:bg-warning-light"]
|
|
5958
5917
|
}
|
|
5959
5918
|
},
|
|
5960
5919
|
{
|
|
5961
5920
|
variant: "outline",
|
|
5962
5921
|
color: "danger",
|
|
5963
5922
|
class: {
|
|
5964
|
-
base: [
|
|
5965
|
-
"bg-body-background",
|
|
5966
|
-
"border-danger-main",
|
|
5967
|
-
"text-danger-main",
|
|
5968
|
-
"hover:bg-danger-soft",
|
|
5969
|
-
"active:bg-danger-light"
|
|
5970
|
-
]
|
|
5923
|
+
base: ["border-danger-main", "text-danger-main", "hover:bg-danger-soft", "active:bg-danger-light"]
|
|
5971
5924
|
}
|
|
5972
5925
|
},
|
|
5973
5926
|
// ghost & color
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import "../../chunk-KYIODWXL.mjs";
|
|
3
3
|
import {
|
|
4
4
|
breadcrumb_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-CVDI2GQ2.mjs";
|
|
6
6
|
import "../../chunk-MY5U63QO.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-RFHWRBAB.mjs";
|
|
7
|
+
import "../../chunk-67DEFPS6.mjs";
|
|
8
|
+
import "../../chunk-JXIQOVRO.mjs";
|
|
9
|
+
import "../../chunk-T6IFFFAD.mjs";
|
|
11
10
|
import "../../chunk-6WSACUIB.mjs";
|
|
12
11
|
import "../../chunk-LXHUO6VM.mjs";
|
|
13
12
|
import "../../chunk-SZL743JC.mjs";
|
|
14
13
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
14
|
import "../../chunk-A6UUVHC6.mjs";
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-BTAOTEW7.mjs";
|
|
16
|
+
import "../../chunk-ROG3BOMM.mjs";
|
|
17
17
|
import "../../chunk-AOU4QX7H.mjs";
|
|
18
18
|
import "../../chunk-27Y6K5NK.mjs";
|
|
19
19
|
import "../../chunk-E3G5QXSH.mjs";
|
|
@@ -716,19 +716,104 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
716
716
|
}
|
|
717
717
|
});
|
|
718
718
|
|
|
719
|
+
// src/utils/clsx.ts
|
|
720
|
+
function clsx(...args) {
|
|
721
|
+
var i = 0, tmp, x, str = "";
|
|
722
|
+
while (i < args.length) {
|
|
723
|
+
if (tmp = args[i++]) {
|
|
724
|
+
if (x = toVal(tmp)) {
|
|
725
|
+
str && (str += " ");
|
|
726
|
+
str += x;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
return str;
|
|
731
|
+
}
|
|
732
|
+
function toVal(mix) {
|
|
733
|
+
var k, y, str = "";
|
|
734
|
+
if (typeof mix === "string" || typeof mix === "number") {
|
|
735
|
+
str += mix;
|
|
736
|
+
} else if (typeof mix === "object") {
|
|
737
|
+
if (Array.isArray(mix)) {
|
|
738
|
+
var len = mix.length;
|
|
739
|
+
for (k = 0; k < len; k++) {
|
|
740
|
+
if (mix[k]) {
|
|
741
|
+
if (y = toVal(mix[k])) {
|
|
742
|
+
str && (str += " ");
|
|
743
|
+
str += y;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
} else {
|
|
748
|
+
for (y in mix) {
|
|
749
|
+
if (mix[y]) {
|
|
750
|
+
str && (str += " ");
|
|
751
|
+
str += y;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
return str;
|
|
757
|
+
}
|
|
758
|
+
|
|
719
759
|
// src/components/button/button-group.tsx
|
|
720
760
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
721
|
-
var ButtonGroup = (0, import_react.forwardRef)(
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
})
|
|
728
|
-
|
|
729
|
-
|
|
761
|
+
var ButtonGroup = (0, import_react.forwardRef)(
|
|
762
|
+
({ children, classNames, size, radius, full, color, variant, disabled, ...props }, ref) => {
|
|
763
|
+
const childSharedProps = { color, size, variant, disabled, ...props };
|
|
764
|
+
const validChildren = import_react.default.Children.toArray(children).filter(import_react.isValidElement);
|
|
765
|
+
const lastValidIndex = validChildren.length - 1;
|
|
766
|
+
let validIndex = -1;
|
|
767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref, className: buttonGroup({ full, className: classNames == null ? void 0 : classNames.base }), children: import_react.default.Children.map(children, (child) => {
|
|
768
|
+
var _a, _b;
|
|
769
|
+
if (!(0, import_react.isValidElement)(child)) return child;
|
|
770
|
+
const childElement = child;
|
|
771
|
+
const childProps = (_a = childElement.props) != null ? _a : {};
|
|
772
|
+
validIndex += 1;
|
|
773
|
+
const isFirst = validIndex === 0;
|
|
774
|
+
const isLast = validIndex === lastValidIndex;
|
|
775
|
+
const defaultRadiusMap = {
|
|
776
|
+
sm: "!rounded-sm",
|
|
777
|
+
md: "!rounded-md",
|
|
778
|
+
lg: "!rounded-lg",
|
|
779
|
+
xl: "!rounded-xl"
|
|
780
|
+
};
|
|
781
|
+
const currentRadius = defaultRadiusMap[size != null ? size : "md"];
|
|
782
|
+
const radiusClass = radius === "none" ? "!rounded-none" : radius === "full" ? clsx(
|
|
783
|
+
isFirst && "!rounded-r-none !rounded-l-full",
|
|
784
|
+
isLast && "!rounded-l-none !rounded-r-full",
|
|
785
|
+
!isFirst && !isLast && "!rounded-none"
|
|
786
|
+
) : (
|
|
787
|
+
// default
|
|
788
|
+
clsx(
|
|
789
|
+
isFirst && `${currentRadius} !rounded-r-none`,
|
|
790
|
+
isLast && `${currentRadius} !rounded-l-none`,
|
|
791
|
+
!isFirst && !isLast && "!rounded-none"
|
|
792
|
+
)
|
|
793
|
+
);
|
|
794
|
+
const mergedClassNames = {
|
|
795
|
+
...childProps.classNames || {},
|
|
796
|
+
base: clsx((_b = childProps.classNames) == null ? void 0 : _b.base, radiusClass)
|
|
797
|
+
};
|
|
798
|
+
return import_react.default.cloneElement(childElement, {
|
|
799
|
+
isInGroup: true,
|
|
800
|
+
...childSharedProps,
|
|
801
|
+
...childProps,
|
|
802
|
+
classNames: mergedClassNames
|
|
803
|
+
});
|
|
804
|
+
}) });
|
|
805
|
+
}
|
|
806
|
+
);
|
|
730
807
|
ButtonGroup.displayName = "ButtonGroup";
|
|
731
808
|
var button_group_default = ButtonGroup;
|
|
732
809
|
var buttonGroup = tv({
|
|
733
|
-
base: ["flex"]
|
|
810
|
+
base: ["inline-flex"],
|
|
811
|
+
variants: {
|
|
812
|
+
full: {
|
|
813
|
+
true: { base: ["w-full", "[&>*]:flex-1"] }
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
defaultVariants: {
|
|
817
|
+
full: false
|
|
818
|
+
}
|
|
734
819
|
});
|
|
@@ -55,19 +55,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
55
55
|
content: never[];
|
|
56
56
|
}, undefined, {
|
|
57
57
|
variant: {
|
|
58
|
-
solid:
|
|
59
|
-
soft:
|
|
60
|
-
outline:
|
|
61
|
-
|
|
58
|
+
solid: {};
|
|
59
|
+
soft: {};
|
|
60
|
+
outline: {
|
|
61
|
+
base: string[];
|
|
62
|
+
};
|
|
63
|
+
ghost: {};
|
|
62
64
|
};
|
|
63
65
|
color: {
|
|
64
|
-
primary:
|
|
65
|
-
secondary:
|
|
66
|
-
neutral:
|
|
67
|
-
info:
|
|
68
|
-
success:
|
|
69
|
-
warning:
|
|
70
|
-
danger:
|
|
66
|
+
primary: {};
|
|
67
|
+
secondary: {};
|
|
68
|
+
neutral: {};
|
|
69
|
+
info: {};
|
|
70
|
+
success: {};
|
|
71
|
+
warning: {};
|
|
72
|
+
danger: {};
|
|
71
73
|
};
|
|
72
74
|
disabled: {
|
|
73
75
|
true: {
|
|
@@ -83,19 +85,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
83
85
|
base: string[];
|
|
84
86
|
}, tailwind_variants.TVReturnType<{
|
|
85
87
|
variant: {
|
|
86
|
-
solid:
|
|
87
|
-
soft:
|
|
88
|
-
outline:
|
|
89
|
-
|
|
88
|
+
solid: {};
|
|
89
|
+
soft: {};
|
|
90
|
+
outline: {
|
|
91
|
+
base: string[];
|
|
92
|
+
};
|
|
93
|
+
ghost: {};
|
|
90
94
|
};
|
|
91
95
|
color: {
|
|
92
|
-
primary:
|
|
93
|
-
secondary:
|
|
94
|
-
neutral:
|
|
95
|
-
info:
|
|
96
|
-
success:
|
|
97
|
-
warning:
|
|
98
|
-
danger:
|
|
96
|
+
primary: {};
|
|
97
|
+
secondary: {};
|
|
98
|
+
neutral: {};
|
|
99
|
+
info: {};
|
|
100
|
+
success: {};
|
|
101
|
+
warning: {};
|
|
102
|
+
danger: {};
|
|
99
103
|
};
|
|
100
104
|
disabled: {
|
|
101
105
|
true: {
|
|
@@ -111,19 +115,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
111
115
|
base: string[];
|
|
112
116
|
}, undefined, {
|
|
113
117
|
variant: {
|
|
114
|
-
solid:
|
|
115
|
-
soft:
|
|
116
|
-
outline:
|
|
117
|
-
|
|
118
|
+
solid: {};
|
|
119
|
+
soft: {};
|
|
120
|
+
outline: {
|
|
121
|
+
base: string[];
|
|
122
|
+
};
|
|
123
|
+
ghost: {};
|
|
118
124
|
};
|
|
119
125
|
color: {
|
|
120
|
-
primary:
|
|
121
|
-
secondary:
|
|
122
|
-
neutral:
|
|
123
|
-
info:
|
|
124
|
-
success:
|
|
125
|
-
warning:
|
|
126
|
-
danger:
|
|
126
|
+
primary: {};
|
|
127
|
+
secondary: {};
|
|
128
|
+
neutral: {};
|
|
129
|
+
info: {};
|
|
130
|
+
success: {};
|
|
131
|
+
warning: {};
|
|
132
|
+
danger: {};
|
|
127
133
|
};
|
|
128
134
|
disabled: {
|
|
129
135
|
true: {
|
|
@@ -139,19 +145,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
139
145
|
base: string[];
|
|
140
146
|
}, tailwind_variants.TVReturnType<{
|
|
141
147
|
variant: {
|
|
142
|
-
solid:
|
|
143
|
-
soft:
|
|
144
|
-
outline:
|
|
145
|
-
|
|
148
|
+
solid: {};
|
|
149
|
+
soft: {};
|
|
150
|
+
outline: {
|
|
151
|
+
base: string[];
|
|
152
|
+
};
|
|
153
|
+
ghost: {};
|
|
146
154
|
};
|
|
147
155
|
color: {
|
|
148
|
-
primary:
|
|
149
|
-
secondary:
|
|
150
|
-
neutral:
|
|
151
|
-
info:
|
|
152
|
-
success:
|
|
153
|
-
warning:
|
|
154
|
-
danger:
|
|
156
|
+
primary: {};
|
|
157
|
+
secondary: {};
|
|
158
|
+
neutral: {};
|
|
159
|
+
info: {};
|
|
160
|
+
success: {};
|
|
161
|
+
warning: {};
|
|
162
|
+
danger: {};
|
|
155
163
|
};
|
|
156
164
|
disabled: {
|
|
157
165
|
true: {
|
|
@@ -55,19 +55,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
55
55
|
content: never[];
|
|
56
56
|
}, undefined, {
|
|
57
57
|
variant: {
|
|
58
|
-
solid:
|
|
59
|
-
soft:
|
|
60
|
-
outline:
|
|
61
|
-
|
|
58
|
+
solid: {};
|
|
59
|
+
soft: {};
|
|
60
|
+
outline: {
|
|
61
|
+
base: string[];
|
|
62
|
+
};
|
|
63
|
+
ghost: {};
|
|
62
64
|
};
|
|
63
65
|
color: {
|
|
64
|
-
primary:
|
|
65
|
-
secondary:
|
|
66
|
-
neutral:
|
|
67
|
-
info:
|
|
68
|
-
success:
|
|
69
|
-
warning:
|
|
70
|
-
danger:
|
|
66
|
+
primary: {};
|
|
67
|
+
secondary: {};
|
|
68
|
+
neutral: {};
|
|
69
|
+
info: {};
|
|
70
|
+
success: {};
|
|
71
|
+
warning: {};
|
|
72
|
+
danger: {};
|
|
71
73
|
};
|
|
72
74
|
disabled: {
|
|
73
75
|
true: {
|
|
@@ -83,19 +85,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
83
85
|
base: string[];
|
|
84
86
|
}, tailwind_variants.TVReturnType<{
|
|
85
87
|
variant: {
|
|
86
|
-
solid:
|
|
87
|
-
soft:
|
|
88
|
-
outline:
|
|
89
|
-
|
|
88
|
+
solid: {};
|
|
89
|
+
soft: {};
|
|
90
|
+
outline: {
|
|
91
|
+
base: string[];
|
|
92
|
+
};
|
|
93
|
+
ghost: {};
|
|
90
94
|
};
|
|
91
95
|
color: {
|
|
92
|
-
primary:
|
|
93
|
-
secondary:
|
|
94
|
-
neutral:
|
|
95
|
-
info:
|
|
96
|
-
success:
|
|
97
|
-
warning:
|
|
98
|
-
danger:
|
|
96
|
+
primary: {};
|
|
97
|
+
secondary: {};
|
|
98
|
+
neutral: {};
|
|
99
|
+
info: {};
|
|
100
|
+
success: {};
|
|
101
|
+
warning: {};
|
|
102
|
+
danger: {};
|
|
99
103
|
};
|
|
100
104
|
disabled: {
|
|
101
105
|
true: {
|
|
@@ -111,19 +115,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
111
115
|
base: string[];
|
|
112
116
|
}, undefined, {
|
|
113
117
|
variant: {
|
|
114
|
-
solid:
|
|
115
|
-
soft:
|
|
116
|
-
outline:
|
|
117
|
-
|
|
118
|
+
solid: {};
|
|
119
|
+
soft: {};
|
|
120
|
+
outline: {
|
|
121
|
+
base: string[];
|
|
122
|
+
};
|
|
123
|
+
ghost: {};
|
|
118
124
|
};
|
|
119
125
|
color: {
|
|
120
|
-
primary:
|
|
121
|
-
secondary:
|
|
122
|
-
neutral:
|
|
123
|
-
info:
|
|
124
|
-
success:
|
|
125
|
-
warning:
|
|
126
|
-
danger:
|
|
126
|
+
primary: {};
|
|
127
|
+
secondary: {};
|
|
128
|
+
neutral: {};
|
|
129
|
+
info: {};
|
|
130
|
+
success: {};
|
|
131
|
+
warning: {};
|
|
132
|
+
danger: {};
|
|
127
133
|
};
|
|
128
134
|
disabled: {
|
|
129
135
|
true: {
|
|
@@ -139,19 +145,21 @@ declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
|
139
145
|
base: string[];
|
|
140
146
|
}, tailwind_variants.TVReturnType<{
|
|
141
147
|
variant: {
|
|
142
|
-
solid:
|
|
143
|
-
soft:
|
|
144
|
-
outline:
|
|
145
|
-
|
|
148
|
+
solid: {};
|
|
149
|
+
soft: {};
|
|
150
|
+
outline: {
|
|
151
|
+
base: string[];
|
|
152
|
+
};
|
|
153
|
+
ghost: {};
|
|
146
154
|
};
|
|
147
155
|
color: {
|
|
148
|
-
primary:
|
|
149
|
-
secondary:
|
|
150
|
-
neutral:
|
|
151
|
-
info:
|
|
152
|
-
success:
|
|
153
|
-
warning:
|
|
154
|
-
danger:
|
|
156
|
+
primary: {};
|
|
157
|
+
secondary: {};
|
|
158
|
+
neutral: {};
|
|
159
|
+
info: {};
|
|
160
|
+
success: {};
|
|
161
|
+
warning: {};
|
|
162
|
+
danger: {};
|
|
155
163
|
};
|
|
156
164
|
disabled: {
|
|
157
165
|
true: {
|