@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
|
@@ -5,12 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
button_group_default
|
|
7
7
|
} from "../../chunk-NGQ3MK2J.mjs";
|
|
8
|
+
import {
|
|
9
|
+
button_default
|
|
10
|
+
} from "../../chunk-UR64ZUAU.mjs";
|
|
8
11
|
import {
|
|
9
12
|
render
|
|
10
13
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
|
+
import "../../chunk-LCI6RPWE.mjs";
|
|
16
|
+
import "../../chunk-IOCRFIQF.mjs";
|
|
17
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
14
18
|
import "../../chunk-J725QONZ.mjs";
|
|
15
19
|
import "../../chunk-IZ6II3QA.mjs";
|
|
16
20
|
|
|
@@ -1,18 +1,366 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
+
import React__default, { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
3
6
|
|
|
4
|
-
interface
|
|
7
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
8
|
children?: ReactNode;
|
|
6
|
-
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger";
|
|
7
|
-
size?: "sm" | "md" | "lg";
|
|
8
|
-
variant?: "solid" | "line" | "tonal" | "trans" | "ghost";
|
|
9
|
-
radius?: "default" | "full" | "none";
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
isInGroup?: boolean;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
9
|
startContent?: ReactNode;
|
|
14
10
|
endContent?: ReactNode;
|
|
11
|
+
classNames?: SlotsToClasses<ButtonSlots>;
|
|
15
12
|
}
|
|
16
|
-
|
|
13
|
+
type ButtonProps = Props & ButtonVariantProps;
|
|
14
|
+
declare const Button: React__default.ForwardRefExoticComponent<Props & ButtonVariantProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
variant: {
|
|
18
|
+
solid: string;
|
|
19
|
+
line: string;
|
|
20
|
+
tonal: string;
|
|
21
|
+
trans: {
|
|
22
|
+
base: string;
|
|
23
|
+
};
|
|
24
|
+
ghost: string;
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
primary: string;
|
|
28
|
+
secondary: string;
|
|
29
|
+
neutral: string;
|
|
30
|
+
info: string;
|
|
31
|
+
success: string;
|
|
32
|
+
warning: string;
|
|
33
|
+
danger: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
sm: {
|
|
37
|
+
base: string;
|
|
38
|
+
};
|
|
39
|
+
md: {
|
|
40
|
+
base: string;
|
|
41
|
+
};
|
|
42
|
+
lg: {
|
|
43
|
+
base: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
radius: {
|
|
47
|
+
default: {
|
|
48
|
+
base: string;
|
|
49
|
+
};
|
|
50
|
+
full: {
|
|
51
|
+
base: string;
|
|
52
|
+
};
|
|
53
|
+
none: {
|
|
54
|
+
base: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
fullWidth: {
|
|
58
|
+
true: {
|
|
59
|
+
base: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
isDisabled: {
|
|
63
|
+
true: {
|
|
64
|
+
base: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isLoading: {
|
|
68
|
+
true: {
|
|
69
|
+
base: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
isInGroup: {
|
|
73
|
+
true: {
|
|
74
|
+
base: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
base: string;
|
|
79
|
+
content: string;
|
|
80
|
+
}, undefined, {
|
|
81
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
82
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
83
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
84
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
85
|
+
fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
86
|
+
isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
87
|
+
isLoading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
88
|
+
isInGroup?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
89
|
+
radius?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
} & tailwind_variants_dist_config.TWMConfig & {
|
|
92
|
+
twMergeConfig: {
|
|
93
|
+
classGroups: {
|
|
94
|
+
fontSize: {
|
|
95
|
+
text: string[];
|
|
96
|
+
}[];
|
|
97
|
+
borderRadius: {
|
|
98
|
+
rounded: string[];
|
|
99
|
+
}[];
|
|
100
|
+
boxShadow: {
|
|
101
|
+
shadow: string[];
|
|
102
|
+
}[];
|
|
103
|
+
padding: {
|
|
104
|
+
p: string[];
|
|
105
|
+
}[];
|
|
106
|
+
gap: {
|
|
107
|
+
gap: string[];
|
|
108
|
+
}[];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
variant: {
|
|
113
|
+
solid: string;
|
|
114
|
+
line: string;
|
|
115
|
+
tonal: string;
|
|
116
|
+
trans: {
|
|
117
|
+
base: string;
|
|
118
|
+
};
|
|
119
|
+
ghost: string;
|
|
120
|
+
};
|
|
121
|
+
color: {
|
|
122
|
+
primary: string;
|
|
123
|
+
secondary: string;
|
|
124
|
+
neutral: string;
|
|
125
|
+
info: string;
|
|
126
|
+
success: string;
|
|
127
|
+
warning: string;
|
|
128
|
+
danger: string;
|
|
129
|
+
};
|
|
130
|
+
size: {
|
|
131
|
+
sm: {
|
|
132
|
+
base: string;
|
|
133
|
+
};
|
|
134
|
+
md: {
|
|
135
|
+
base: string;
|
|
136
|
+
};
|
|
137
|
+
lg: {
|
|
138
|
+
base: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
radius: {
|
|
142
|
+
default: {
|
|
143
|
+
base: string;
|
|
144
|
+
};
|
|
145
|
+
full: {
|
|
146
|
+
base: string;
|
|
147
|
+
};
|
|
148
|
+
none: {
|
|
149
|
+
base: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
fullWidth: {
|
|
153
|
+
true: {
|
|
154
|
+
base: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
isDisabled: {
|
|
158
|
+
true: {
|
|
159
|
+
base: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
isLoading: {
|
|
163
|
+
true: {
|
|
164
|
+
base: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
isInGroup: {
|
|
168
|
+
true: {
|
|
169
|
+
base: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}, {
|
|
173
|
+
base: string;
|
|
174
|
+
content: string;
|
|
175
|
+
}, tailwind_variants.TVReturnType<{
|
|
176
|
+
variant: {
|
|
177
|
+
solid: string;
|
|
178
|
+
line: string;
|
|
179
|
+
tonal: string;
|
|
180
|
+
trans: {
|
|
181
|
+
base: string;
|
|
182
|
+
};
|
|
183
|
+
ghost: string;
|
|
184
|
+
};
|
|
185
|
+
color: {
|
|
186
|
+
primary: string;
|
|
187
|
+
secondary: string;
|
|
188
|
+
neutral: string;
|
|
189
|
+
info: string;
|
|
190
|
+
success: string;
|
|
191
|
+
warning: string;
|
|
192
|
+
danger: string;
|
|
193
|
+
};
|
|
194
|
+
size: {
|
|
195
|
+
sm: {
|
|
196
|
+
base: string;
|
|
197
|
+
};
|
|
198
|
+
md: {
|
|
199
|
+
base: string;
|
|
200
|
+
};
|
|
201
|
+
lg: {
|
|
202
|
+
base: string;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
radius: {
|
|
206
|
+
default: {
|
|
207
|
+
base: string;
|
|
208
|
+
};
|
|
209
|
+
full: {
|
|
210
|
+
base: string;
|
|
211
|
+
};
|
|
212
|
+
none: {
|
|
213
|
+
base: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
fullWidth: {
|
|
217
|
+
true: {
|
|
218
|
+
base: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
isDisabled: {
|
|
222
|
+
true: {
|
|
223
|
+
base: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
isLoading: {
|
|
227
|
+
true: {
|
|
228
|
+
base: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
isInGroup: {
|
|
232
|
+
true: {
|
|
233
|
+
base: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
}, {
|
|
237
|
+
base: string;
|
|
238
|
+
content: string;
|
|
239
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
240
|
+
variant: {
|
|
241
|
+
solid: string;
|
|
242
|
+
line: string;
|
|
243
|
+
tonal: string;
|
|
244
|
+
trans: {
|
|
245
|
+
base: string;
|
|
246
|
+
};
|
|
247
|
+
ghost: string;
|
|
248
|
+
};
|
|
249
|
+
color: {
|
|
250
|
+
primary: string;
|
|
251
|
+
secondary: string;
|
|
252
|
+
neutral: string;
|
|
253
|
+
info: string;
|
|
254
|
+
success: string;
|
|
255
|
+
warning: string;
|
|
256
|
+
danger: string;
|
|
257
|
+
};
|
|
258
|
+
size: {
|
|
259
|
+
sm: {
|
|
260
|
+
base: string;
|
|
261
|
+
};
|
|
262
|
+
md: {
|
|
263
|
+
base: string;
|
|
264
|
+
};
|
|
265
|
+
lg: {
|
|
266
|
+
base: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
radius: {
|
|
270
|
+
default: {
|
|
271
|
+
base: string;
|
|
272
|
+
};
|
|
273
|
+
full: {
|
|
274
|
+
base: string;
|
|
275
|
+
};
|
|
276
|
+
none: {
|
|
277
|
+
base: string;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
fullWidth: {
|
|
281
|
+
true: {
|
|
282
|
+
base: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
isDisabled: {
|
|
286
|
+
true: {
|
|
287
|
+
base: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
isLoading: {
|
|
291
|
+
true: {
|
|
292
|
+
base: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
isInGroup: {
|
|
296
|
+
true: {
|
|
297
|
+
base: string;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
}, {
|
|
301
|
+
variant: {
|
|
302
|
+
solid: string;
|
|
303
|
+
line: string;
|
|
304
|
+
tonal: string;
|
|
305
|
+
trans: {
|
|
306
|
+
base: string;
|
|
307
|
+
};
|
|
308
|
+
ghost: string;
|
|
309
|
+
};
|
|
310
|
+
color: {
|
|
311
|
+
primary: string;
|
|
312
|
+
secondary: string;
|
|
313
|
+
neutral: string;
|
|
314
|
+
info: string;
|
|
315
|
+
success: string;
|
|
316
|
+
warning: string;
|
|
317
|
+
danger: string;
|
|
318
|
+
};
|
|
319
|
+
size: {
|
|
320
|
+
sm: {
|
|
321
|
+
base: string;
|
|
322
|
+
};
|
|
323
|
+
md: {
|
|
324
|
+
base: string;
|
|
325
|
+
};
|
|
326
|
+
lg: {
|
|
327
|
+
base: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
radius: {
|
|
331
|
+
default: {
|
|
332
|
+
base: string;
|
|
333
|
+
};
|
|
334
|
+
full: {
|
|
335
|
+
base: string;
|
|
336
|
+
};
|
|
337
|
+
none: {
|
|
338
|
+
base: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
fullWidth: {
|
|
342
|
+
true: {
|
|
343
|
+
base: string;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
isDisabled: {
|
|
347
|
+
true: {
|
|
348
|
+
base: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
isLoading: {
|
|
352
|
+
true: {
|
|
353
|
+
base: string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
isInGroup: {
|
|
357
|
+
true: {
|
|
358
|
+
base: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
}>, unknown, unknown, undefined>>;
|
|
362
|
+
type ButtonVariantProps = VariantProps<typeof buttonStyle>;
|
|
363
|
+
type ButtonSlots = keyof ReturnType<typeof buttonStyle>;
|
|
364
|
+
type ButtonReturnType = ReturnType<typeof buttonStyle>;
|
|
365
|
+
|
|
366
|
+
export { type ButtonProps, type ButtonReturnType, type ButtonSlots, type ButtonVariantProps, type Props, Button as default };
|