@frontile/theme 0.18.0-alpha.16 → 0.18.0-alpha.18
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/declarations/colors/util.d.ts +2 -1
- package/declarations/colors.d.ts +1 -0
- package/declarations/components/button.d.ts +49 -1
- package/declarations/components/command.d.ts +281 -0
- package/declarations/components/forms/forms.d.ts +259 -1
- package/declarations/components/index.d.ts +4 -0
- package/declarations/components/kbd.d.ts +315 -0
- package/declarations/components/listbox.d.ts +96 -4
- package/declarations/components/notification-card.d.ts +173 -104
- package/declarations/components/notifications-container.d.ts +102 -33
- package/declarations/components/overlays.d.ts +45 -0
- package/declarations/components/segmented-control.d.ts +463 -0
- package/declarations/components/table.d.ts +1 -1
- package/declarations/components/tabs.d.ts +463 -0
- package/dist/colors.js +2 -1
- package/dist/colors.js.map +1 -1
- package/dist/index.js +2999 -4
- package/dist/index.js.map +1 -1
- package/dist/overlays-aq0rSm6R.js +372 -0
- package/dist/overlays-aq0rSm6R.js.map +1 -0
- package/dist/plugin.js +6 -42
- package/dist/plugin.js.map +1 -1
- package/dist/{config-BZyMPeuH.js → util-CHV5ZmrC.js} +40 -2
- package/dist/util-CHV5ZmrC.js.map +1 -0
- package/package.json +2 -2
- package/src/index.css +17 -0
- package/dist/config-BZyMPeuH.js.map +0 -1
- package/dist/forms-legacy-D7knB8hB.js +0 -2363
- package/dist/forms-legacy-D7knB8hB.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { parse, wcagContrast } from 'culori';
|
|
1
2
|
declare function swapColorValues<T extends Record<string, unknown>>(colors: T): Record<string, unknown>;
|
|
2
3
|
/**
|
|
3
4
|
* Get optimal contrasting color (black or white) for text on a given background.
|
|
4
5
|
* Uses WCAG contrast ratios to determine which provides better readability.
|
|
5
6
|
*/
|
|
6
7
|
declare function getContrastingColor(backgroundColor: string): string;
|
|
7
|
-
export { swapColorValues, getContrastingColor };
|
|
8
|
+
export { swapColorValues, getContrastingColor, parse, wcagContrast };
|
package/declarations/colors.d.ts
CHANGED
|
@@ -7,12 +7,16 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
tonal: string;
|
|
8
8
|
custom: string;
|
|
9
9
|
};
|
|
10
|
+
isLoading: {
|
|
11
|
+
true: string;
|
|
12
|
+
};
|
|
10
13
|
}, undefined, string[], {
|
|
11
14
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
12
15
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
13
16
|
appearance?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
14
17
|
intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
15
18
|
isInGroup?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
19
|
+
isLoading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
16
20
|
} | undefined;
|
|
17
21
|
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
18
22
|
twMerge: true;
|
|
@@ -538,4 +542,48 @@ declare const buttonGroup: import("tailwind-variants").TVReturnType<{} | {} | {}
|
|
|
538
542
|
};
|
|
539
543
|
};
|
|
540
544
|
}, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, string[], import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
541
|
-
|
|
545
|
+
declare const buttonSpinner: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "size-[1em] text-current/25 fill-current", {
|
|
546
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
|
|
547
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
548
|
+
twMerge: true;
|
|
549
|
+
twMergeConfig: {
|
|
550
|
+
readonly extend: {
|
|
551
|
+
readonly classGroups: {
|
|
552
|
+
readonly 'icon-size': readonly [{
|
|
553
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
554
|
+
}];
|
|
555
|
+
readonly 'border-w': readonly [{
|
|
556
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
557
|
+
}];
|
|
558
|
+
readonly rounded: readonly [{
|
|
559
|
+
readonly rounded: readonly ["default", "pill"];
|
|
560
|
+
}];
|
|
561
|
+
readonly shadow: readonly [{
|
|
562
|
+
readonly 'shadow-elevation': string[];
|
|
563
|
+
}];
|
|
564
|
+
readonly opacity: readonly [{
|
|
565
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
566
|
+
}];
|
|
567
|
+
readonly 'font-size': readonly [{
|
|
568
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
569
|
+
}, {
|
|
570
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
571
|
+
}, {
|
|
572
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
573
|
+
}, {
|
|
574
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
575
|
+
}, {
|
|
576
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
577
|
+
}, {
|
|
578
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
579
|
+
}, {
|
|
580
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
581
|
+
}];
|
|
582
|
+
};
|
|
583
|
+
readonly conflictingClassGroups: {
|
|
584
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
}, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "size-[1em] text-current/25 fill-current", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
589
|
+
export { button, toggleButton, buttonGroup, buttonSpinner };
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import type { VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const command: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
size: {
|
|
4
|
+
sm: {
|
|
5
|
+
list: string;
|
|
6
|
+
};
|
|
7
|
+
md: {
|
|
8
|
+
list: string;
|
|
9
|
+
};
|
|
10
|
+
lg: {
|
|
11
|
+
list: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Draws the palette's own surface, for use outside a dialog. A shrink-wrap
|
|
16
|
+
* layout would otherwise size it to its widest row, so it also carries a
|
|
17
|
+
* sensible minimum width.
|
|
18
|
+
*/
|
|
19
|
+
isBordered: {
|
|
20
|
+
true: {
|
|
21
|
+
base: string[];
|
|
22
|
+
footer: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
base: string[];
|
|
27
|
+
inputWrapper: string[];
|
|
28
|
+
inputIcon: string[];
|
|
29
|
+
input: string[];
|
|
30
|
+
list: string[];
|
|
31
|
+
empty: string[];
|
|
32
|
+
loading: string[];
|
|
33
|
+
footer: string[];
|
|
34
|
+
footerHint: string;
|
|
35
|
+
kbd: string;
|
|
36
|
+
}, undefined, {
|
|
37
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
38
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
39
|
+
isBordered?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
42
|
+
twMerge: true;
|
|
43
|
+
twMergeConfig: {
|
|
44
|
+
readonly extend: {
|
|
45
|
+
readonly classGroups: {
|
|
46
|
+
readonly 'icon-size': readonly [{
|
|
47
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
48
|
+
}];
|
|
49
|
+
readonly 'border-w': readonly [{
|
|
50
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
51
|
+
}];
|
|
52
|
+
readonly rounded: readonly [{
|
|
53
|
+
readonly rounded: readonly ["default", "pill"];
|
|
54
|
+
}];
|
|
55
|
+
readonly shadow: readonly [{
|
|
56
|
+
readonly 'shadow-elevation': string[];
|
|
57
|
+
}];
|
|
58
|
+
readonly opacity: readonly [{
|
|
59
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
60
|
+
}];
|
|
61
|
+
readonly 'font-size': readonly [{
|
|
62
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
63
|
+
}, {
|
|
64
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
65
|
+
}, {
|
|
66
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
67
|
+
}, {
|
|
68
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
69
|
+
}, {
|
|
70
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
71
|
+
}, {
|
|
72
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
73
|
+
}, {
|
|
74
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
75
|
+
}];
|
|
76
|
+
};
|
|
77
|
+
readonly conflictingClassGroups: {
|
|
78
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
size: {
|
|
84
|
+
sm: {
|
|
85
|
+
list: string;
|
|
86
|
+
};
|
|
87
|
+
md: {
|
|
88
|
+
list: string;
|
|
89
|
+
};
|
|
90
|
+
lg: {
|
|
91
|
+
list: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Draws the palette's own surface, for use outside a dialog. A shrink-wrap
|
|
96
|
+
* layout would otherwise size it to its widest row, so it also carries a
|
|
97
|
+
* sensible minimum width.
|
|
98
|
+
*/
|
|
99
|
+
isBordered: {
|
|
100
|
+
true: {
|
|
101
|
+
base: string[];
|
|
102
|
+
footer: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
base: string[];
|
|
107
|
+
inputWrapper: string[];
|
|
108
|
+
inputIcon: string[];
|
|
109
|
+
input: string[];
|
|
110
|
+
list: string[];
|
|
111
|
+
empty: string[];
|
|
112
|
+
loading: string[];
|
|
113
|
+
footer: string[];
|
|
114
|
+
footerHint: string;
|
|
115
|
+
kbd: string;
|
|
116
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
117
|
+
size: {
|
|
118
|
+
sm: {
|
|
119
|
+
list: string;
|
|
120
|
+
};
|
|
121
|
+
md: {
|
|
122
|
+
list: string;
|
|
123
|
+
};
|
|
124
|
+
lg: {
|
|
125
|
+
list: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Draws the palette's own surface, for use outside a dialog. A shrink-wrap
|
|
130
|
+
* layout would otherwise size it to its widest row, so it also carries a
|
|
131
|
+
* sensible minimum width.
|
|
132
|
+
*/
|
|
133
|
+
isBordered: {
|
|
134
|
+
true: {
|
|
135
|
+
base: string[];
|
|
136
|
+
footer: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
base: string[];
|
|
141
|
+
inputWrapper: string[];
|
|
142
|
+
inputIcon: string[];
|
|
143
|
+
input: string[];
|
|
144
|
+
list: string[];
|
|
145
|
+
empty: string[];
|
|
146
|
+
loading: string[];
|
|
147
|
+
footer: string[];
|
|
148
|
+
footerHint: string;
|
|
149
|
+
kbd: string;
|
|
150
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
151
|
+
size: {
|
|
152
|
+
sm: {
|
|
153
|
+
list: string;
|
|
154
|
+
};
|
|
155
|
+
md: {
|
|
156
|
+
list: string;
|
|
157
|
+
};
|
|
158
|
+
lg: {
|
|
159
|
+
list: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Draws the palette's own surface, for use outside a dialog. A shrink-wrap
|
|
164
|
+
* layout would otherwise size it to its widest row, so it also carries a
|
|
165
|
+
* sensible minimum width.
|
|
166
|
+
*/
|
|
167
|
+
isBordered: {
|
|
168
|
+
true: {
|
|
169
|
+
base: string[];
|
|
170
|
+
footer: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
size: {
|
|
175
|
+
sm: {
|
|
176
|
+
list: string;
|
|
177
|
+
};
|
|
178
|
+
md: {
|
|
179
|
+
list: string;
|
|
180
|
+
};
|
|
181
|
+
lg: {
|
|
182
|
+
list: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Draws the palette's own surface, for use outside a dialog. A shrink-wrap
|
|
187
|
+
* layout would otherwise size it to its widest row, so it also carries a
|
|
188
|
+
* sensible minimum width.
|
|
189
|
+
*/
|
|
190
|
+
isBordered: {
|
|
191
|
+
true: {
|
|
192
|
+
base: string[];
|
|
193
|
+
footer: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}>, unknown, unknown, undefined>>;
|
|
197
|
+
declare const commandDialog: import("tailwind-variants").TVReturnType<{
|
|
198
|
+
[key: string]: {
|
|
199
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
200
|
+
base?: import("tailwind-variants").ClassValue;
|
|
201
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
} | {
|
|
205
|
+
[x: string]: {
|
|
206
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
207
|
+
base?: import("tailwind-variants").ClassValue;
|
|
208
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
} | {}, {
|
|
212
|
+
base: string;
|
|
213
|
+
panel: string[];
|
|
214
|
+
}, undefined, {
|
|
215
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
|
|
216
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
217
|
+
twMerge: true;
|
|
218
|
+
twMergeConfig: {
|
|
219
|
+
readonly extend: {
|
|
220
|
+
readonly classGroups: {
|
|
221
|
+
readonly 'icon-size': readonly [{
|
|
222
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
223
|
+
}];
|
|
224
|
+
readonly 'border-w': readonly [{
|
|
225
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
226
|
+
}];
|
|
227
|
+
readonly rounded: readonly [{
|
|
228
|
+
readonly rounded: readonly ["default", "pill"];
|
|
229
|
+
}];
|
|
230
|
+
readonly shadow: readonly [{
|
|
231
|
+
readonly 'shadow-elevation': string[];
|
|
232
|
+
}];
|
|
233
|
+
readonly opacity: readonly [{
|
|
234
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
235
|
+
}];
|
|
236
|
+
readonly 'font-size': readonly [{
|
|
237
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
238
|
+
}, {
|
|
239
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
240
|
+
}, {
|
|
241
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
242
|
+
}, {
|
|
243
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
244
|
+
}, {
|
|
245
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
246
|
+
}, {
|
|
247
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
248
|
+
}, {
|
|
249
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
250
|
+
}];
|
|
251
|
+
};
|
|
252
|
+
readonly conflictingClassGroups: {
|
|
253
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
}, {
|
|
258
|
+
[key: string]: {
|
|
259
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
260
|
+
base?: import("tailwind-variants").ClassValue;
|
|
261
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
} | {}, {
|
|
265
|
+
base: string;
|
|
266
|
+
panel: string[];
|
|
267
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
268
|
+
base: string;
|
|
269
|
+
panel: string[];
|
|
270
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<unknown, {
|
|
271
|
+
[key: string]: {
|
|
272
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
273
|
+
base?: import("tailwind-variants").ClassValue;
|
|
274
|
+
panel?: import("tailwind-variants").ClassValue;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
278
|
+
export type CommandVariants = VariantProps<typeof command>;
|
|
279
|
+
export type CommandSlots = keyof ReturnType<typeof command>;
|
|
280
|
+
export type CommandDialogSlots = keyof ReturnType<typeof commandDialog>;
|
|
281
|
+
export { command, commandDialog };
|
|
@@ -1038,6 +1038,262 @@ declare const textarea: import("tailwind-variants").TVReturnType<{
|
|
|
1038
1038
|
};
|
|
1039
1039
|
};
|
|
1040
1040
|
}>, unknown, unknown, undefined>>>;
|
|
1041
|
+
declare const inputOtp: import("tailwind-variants").TVReturnType<{
|
|
1042
|
+
size: {
|
|
1043
|
+
sm: {
|
|
1044
|
+
cell: string;
|
|
1045
|
+
group: string;
|
|
1046
|
+
separator: string;
|
|
1047
|
+
caret: string;
|
|
1048
|
+
};
|
|
1049
|
+
md: {
|
|
1050
|
+
cell: string;
|
|
1051
|
+
group: string;
|
|
1052
|
+
separator: string;
|
|
1053
|
+
caret: string;
|
|
1054
|
+
};
|
|
1055
|
+
lg: {
|
|
1056
|
+
cell: string;
|
|
1057
|
+
group: string;
|
|
1058
|
+
separator: string;
|
|
1059
|
+
caret: string;
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
isActive: {
|
|
1063
|
+
true: {
|
|
1064
|
+
cell: string;
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
isInvalid: {
|
|
1068
|
+
true: {
|
|
1069
|
+
cell: string;
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
isDisabled: {
|
|
1073
|
+
true: {
|
|
1074
|
+
cell: string;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
}, {
|
|
1078
|
+
base: string;
|
|
1079
|
+
container: string;
|
|
1080
|
+
group: string;
|
|
1081
|
+
cell: string[];
|
|
1082
|
+
cellChar: string;
|
|
1083
|
+
caret: string;
|
|
1084
|
+
separator: string;
|
|
1085
|
+
input: string[];
|
|
1086
|
+
}, undefined, {
|
|
1087
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
1088
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1089
|
+
isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1090
|
+
isActive?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1091
|
+
isInvalid?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1092
|
+
} | undefined;
|
|
1093
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
1094
|
+
twMerge: true;
|
|
1095
|
+
twMergeConfig: {
|
|
1096
|
+
readonly extend: {
|
|
1097
|
+
readonly classGroups: {
|
|
1098
|
+
readonly 'icon-size': readonly [{
|
|
1099
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1100
|
+
}];
|
|
1101
|
+
readonly 'border-w': readonly [{
|
|
1102
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
1103
|
+
}];
|
|
1104
|
+
readonly rounded: readonly [{
|
|
1105
|
+
readonly rounded: readonly ["default", "pill"];
|
|
1106
|
+
}];
|
|
1107
|
+
readonly shadow: readonly [{
|
|
1108
|
+
readonly 'shadow-elevation': string[];
|
|
1109
|
+
}];
|
|
1110
|
+
readonly opacity: readonly [{
|
|
1111
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
1112
|
+
}];
|
|
1113
|
+
readonly 'font-size': readonly [{
|
|
1114
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1127
|
+
}];
|
|
1128
|
+
};
|
|
1129
|
+
readonly conflictingClassGroups: {
|
|
1130
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
}, {
|
|
1135
|
+
size: {
|
|
1136
|
+
sm: {
|
|
1137
|
+
cell: string;
|
|
1138
|
+
group: string;
|
|
1139
|
+
separator: string;
|
|
1140
|
+
caret: string;
|
|
1141
|
+
};
|
|
1142
|
+
md: {
|
|
1143
|
+
cell: string;
|
|
1144
|
+
group: string;
|
|
1145
|
+
separator: string;
|
|
1146
|
+
caret: string;
|
|
1147
|
+
};
|
|
1148
|
+
lg: {
|
|
1149
|
+
cell: string;
|
|
1150
|
+
group: string;
|
|
1151
|
+
separator: string;
|
|
1152
|
+
caret: string;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
isActive: {
|
|
1156
|
+
true: {
|
|
1157
|
+
cell: string;
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
1160
|
+
isInvalid: {
|
|
1161
|
+
true: {
|
|
1162
|
+
cell: string;
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
isDisabled: {
|
|
1166
|
+
true: {
|
|
1167
|
+
cell: string;
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
}, {
|
|
1171
|
+
base: string;
|
|
1172
|
+
container: string;
|
|
1173
|
+
group: string;
|
|
1174
|
+
cell: string[];
|
|
1175
|
+
cellChar: string;
|
|
1176
|
+
caret: string;
|
|
1177
|
+
separator: string;
|
|
1178
|
+
input: string[];
|
|
1179
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
1180
|
+
size: {
|
|
1181
|
+
sm: {
|
|
1182
|
+
cell: string;
|
|
1183
|
+
group: string;
|
|
1184
|
+
separator: string;
|
|
1185
|
+
caret: string;
|
|
1186
|
+
};
|
|
1187
|
+
md: {
|
|
1188
|
+
cell: string;
|
|
1189
|
+
group: string;
|
|
1190
|
+
separator: string;
|
|
1191
|
+
caret: string;
|
|
1192
|
+
};
|
|
1193
|
+
lg: {
|
|
1194
|
+
cell: string;
|
|
1195
|
+
group: string;
|
|
1196
|
+
separator: string;
|
|
1197
|
+
caret: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
isActive: {
|
|
1201
|
+
true: {
|
|
1202
|
+
cell: string;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
isInvalid: {
|
|
1206
|
+
true: {
|
|
1207
|
+
cell: string;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
isDisabled: {
|
|
1211
|
+
true: {
|
|
1212
|
+
cell: string;
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
}, {
|
|
1216
|
+
base: string;
|
|
1217
|
+
container: string;
|
|
1218
|
+
group: string;
|
|
1219
|
+
cell: string[];
|
|
1220
|
+
cellChar: string;
|
|
1221
|
+
caret: string;
|
|
1222
|
+
separator: string;
|
|
1223
|
+
input: string[];
|
|
1224
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
1225
|
+
size: {
|
|
1226
|
+
sm: {
|
|
1227
|
+
cell: string;
|
|
1228
|
+
group: string;
|
|
1229
|
+
separator: string;
|
|
1230
|
+
caret: string;
|
|
1231
|
+
};
|
|
1232
|
+
md: {
|
|
1233
|
+
cell: string;
|
|
1234
|
+
group: string;
|
|
1235
|
+
separator: string;
|
|
1236
|
+
caret: string;
|
|
1237
|
+
};
|
|
1238
|
+
lg: {
|
|
1239
|
+
cell: string;
|
|
1240
|
+
group: string;
|
|
1241
|
+
separator: string;
|
|
1242
|
+
caret: string;
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
isActive: {
|
|
1246
|
+
true: {
|
|
1247
|
+
cell: string;
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
isInvalid: {
|
|
1251
|
+
true: {
|
|
1252
|
+
cell: string;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
isDisabled: {
|
|
1256
|
+
true: {
|
|
1257
|
+
cell: string;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
}, {
|
|
1261
|
+
size: {
|
|
1262
|
+
sm: {
|
|
1263
|
+
cell: string;
|
|
1264
|
+
group: string;
|
|
1265
|
+
separator: string;
|
|
1266
|
+
caret: string;
|
|
1267
|
+
};
|
|
1268
|
+
md: {
|
|
1269
|
+
cell: string;
|
|
1270
|
+
group: string;
|
|
1271
|
+
separator: string;
|
|
1272
|
+
caret: string;
|
|
1273
|
+
};
|
|
1274
|
+
lg: {
|
|
1275
|
+
cell: string;
|
|
1276
|
+
group: string;
|
|
1277
|
+
separator: string;
|
|
1278
|
+
caret: string;
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
isActive: {
|
|
1282
|
+
true: {
|
|
1283
|
+
cell: string;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
isInvalid: {
|
|
1287
|
+
true: {
|
|
1288
|
+
cell: string;
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
isDisabled: {
|
|
1292
|
+
true: {
|
|
1293
|
+
cell: string;
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
}>, unknown, unknown, undefined>>;
|
|
1041
1297
|
declare const checkbox: import("tailwind-variants").TVReturnType<{
|
|
1042
1298
|
size: {
|
|
1043
1299
|
sm: {};
|
|
@@ -3372,6 +3628,8 @@ export type InputVariants = VariantProps<typeof input>;
|
|
|
3372
3628
|
export type InputSlots = keyof ReturnType<typeof input>;
|
|
3373
3629
|
export type TextareaVariants = VariantProps<typeof textarea>;
|
|
3374
3630
|
export type TextareaSlots = keyof ReturnType<typeof textarea>;
|
|
3631
|
+
export type InputOtpVariants = VariantProps<typeof inputOtp>;
|
|
3632
|
+
export type InputOtpSlots = keyof ReturnType<typeof inputOtp>;
|
|
3375
3633
|
export type CheckboxVariants = VariantProps<typeof checkbox>;
|
|
3376
3634
|
export type CheckboxSlots = keyof ReturnType<typeof checkbox>;
|
|
3377
3635
|
export type RadioVariants = VariantProps<typeof radio>;
|
|
@@ -3388,4 +3646,4 @@ export type RadioGroupVariants = VariantProps<typeof radioGroup>;
|
|
|
3388
3646
|
export type RadioGroupSlots = keyof ReturnType<typeof radioGroup>;
|
|
3389
3647
|
export type SwitchVariants = VariantProps<typeof switchInput>;
|
|
3390
3648
|
export type SwitchSlots = keyof ReturnType<typeof switchInput>;
|
|
3391
|
-
export { label, formDescription, formFeedback, input, textarea, checkbox, radio, select, autocomplete, nativeSelect, checkboxGroup, radioGroup, switchInput };
|
|
3649
|
+
export { label, formDescription, formFeedback, input, inputOtp, textarea, checkbox, radio, select, autocomplete, nativeSelect, checkboxGroup, radioGroup, switchInput };
|
|
@@ -3,6 +3,8 @@ export * from './button';
|
|
|
3
3
|
export * from './chip';
|
|
4
4
|
export * from './progress-bar';
|
|
5
5
|
export * from './close-button';
|
|
6
|
+
export * from './command';
|
|
7
|
+
export * from './kbd';
|
|
6
8
|
export * from './listbox';
|
|
7
9
|
export * from './dropdown';
|
|
8
10
|
export * from './popover';
|
|
@@ -10,6 +12,8 @@ export * from './divider';
|
|
|
10
12
|
export * from './skeleton';
|
|
11
13
|
export * from './spinner';
|
|
12
14
|
export * from './table';
|
|
15
|
+
export * from './segmented-control';
|
|
16
|
+
export * from './tabs';
|
|
13
17
|
export * from './notifications-container';
|
|
14
18
|
export * from './notification-card';
|
|
15
19
|
export * from './overlays';
|