@frontile/theme 0.18.0-alpha.12 → 0.18.0-alpha.13
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/README.md +3 -2
- package/declarations/colors/config.d.ts +8 -4
- package/declarations/colors/semantic.d.ts +4 -0
- package/declarations/colors/types.d.ts +58 -12
- package/declarations/components/avatar.d.ts +2 -0
- package/declarations/components/button.d.ts +34 -12
- package/declarations/components/chip.d.ts +27 -5
- package/declarations/components/close-button.d.ts +2 -0
- package/declarations/components/divider.d.ts +2 -0
- package/declarations/components/dropdown.d.ts +2 -0
- package/declarations/components/forms/forms-legacy.d.ts +24 -0
- package/declarations/components/forms/forms.d.ts +72 -10
- package/declarations/components/listbox.d.ts +9 -5
- package/declarations/components/notification-card.d.ts +2 -0
- package/declarations/components/notifications-container.d.ts +2 -0
- package/declarations/components/overlays.d.ts +8 -0
- package/declarations/components/popover.d.ts +2 -0
- package/declarations/components/progress-bar.d.ts +22 -5
- package/declarations/components/skeleton.d.ts +2 -0
- package/declarations/components/spinner.d.ts +12 -5
- package/declarations/components/table.d.ts +2 -0
- package/declarations/plugin/default-config.d.ts +8 -4
- package/declarations/tw.d.ts +2 -0
- package/dist/colors.js +1 -1
- package/dist/config-ClW7jR7w.js +439 -0
- package/dist/config-ClW7jR7w.js.map +1 -0
- package/dist/{forms-legacy-B5rhfjDu.js → forms-legacy-BYj1fPB4.js} +175 -100
- package/dist/forms-legacy-BYj1fPB4.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/plugin.js +26 -8
- package/dist/plugin.js.map +1 -1
- package/package.json +2 -2
- package/dist/config-CDp8PRHs.js +0 -370
- package/dist/config-CDp8PRHs.js.map +0 -1
- package/dist/forms-legacy-B5rhfjDu.js.map +0 -1
package/README.md
CHANGED
|
@@ -180,8 +180,9 @@ module.exports = frontile({
|
|
|
180
180
|
```
|
|
181
181
|
|
|
182
182
|
You can override on-colors for any semantic color category:
|
|
183
|
-
- `on-neutral`, `on-primary`, `on-
|
|
184
|
-
- `on-
|
|
183
|
+
- `on-neutral`, `on-primary`, `on-secondary`, `on-tertiary`, `on-success`,
|
|
184
|
+
`on-warning`, `on-danger`
|
|
185
|
+
- `on-surface-modal`
|
|
185
186
|
|
|
186
187
|
#### Option 2: Via CSS Variables
|
|
187
188
|
|
|
@@ -2,14 +2,16 @@ export declare const semanticColors: {
|
|
|
2
2
|
light: {
|
|
3
3
|
neutral: import("./types").SemanticColorCategory;
|
|
4
4
|
primary: import("./types").SemanticColorCategory;
|
|
5
|
-
|
|
5
|
+
secondary: import("./types").SemanticColorCategory;
|
|
6
|
+
tertiary: import("./types").SemanticColorCategory;
|
|
6
7
|
success: import("./types").SemanticColorCategory;
|
|
7
8
|
warning: import("./types").SemanticColorCategory;
|
|
8
9
|
danger: import("./types").SemanticColorCategory;
|
|
9
10
|
surface: import("./types").SurfaceColors;
|
|
10
11
|
'on-neutral'?: import("./types").OnColorCategory;
|
|
11
12
|
'on-primary'?: import("./types").OnColorCategory;
|
|
12
|
-
'on-
|
|
13
|
+
'on-secondary'?: import("./types").OnColorCategory;
|
|
14
|
+
'on-tertiary'?: import("./types").OnColorCategory;
|
|
13
15
|
'on-success'?: import("./types").OnColorCategory;
|
|
14
16
|
'on-warning'?: import("./types").OnColorCategory;
|
|
15
17
|
'on-danger'?: import("./types").OnColorCategory;
|
|
@@ -21,14 +23,16 @@ export declare const semanticColors: {
|
|
|
21
23
|
dark: {
|
|
22
24
|
neutral: import("./types").SemanticColorCategory;
|
|
23
25
|
primary: import("./types").SemanticColorCategory;
|
|
24
|
-
|
|
26
|
+
secondary: import("./types").SemanticColorCategory;
|
|
27
|
+
tertiary: import("./types").SemanticColorCategory;
|
|
25
28
|
success: import("./types").SemanticColorCategory;
|
|
26
29
|
warning: import("./types").SemanticColorCategory;
|
|
27
30
|
danger: import("./types").SemanticColorCategory;
|
|
28
31
|
surface: import("./types").SurfaceColors;
|
|
29
32
|
'on-neutral'?: import("./types").OnColorCategory;
|
|
30
33
|
'on-primary'?: import("./types").OnColorCategory;
|
|
31
|
-
'on-
|
|
34
|
+
'on-secondary'?: import("./types").OnColorCategory;
|
|
35
|
+
'on-tertiary'?: import("./types").OnColorCategory;
|
|
32
36
|
'on-success'?: import("./types").OnColorCategory;
|
|
33
37
|
'on-warning'?: import("./types").OnColorCategory;
|
|
34
38
|
'on-danger'?: import("./types").OnColorCategory;
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* Frontile Semantic Colors
|
|
3
3
|
*
|
|
4
4
|
* Semantic color mappings for light and dark themes.
|
|
5
|
+
*
|
|
6
|
+
* Values are transcribed from the Beacon design tokens (Figma), where alpha is
|
|
7
|
+
* expressed as a 0–1 float. Here it is folded into the color as a two-digit
|
|
8
|
+
* hex suffix — e.g. 20% becomes `33` (round(0.2 * 255) = 51 = 0x33).
|
|
5
9
|
*/
|
|
6
10
|
import type { ThemeColors } from './types';
|
|
7
11
|
declare const _default: {
|
|
@@ -37,7 +37,7 @@ export type SemanticBaseColors = {
|
|
|
37
37
|
* Surface band — fills. Backgrounds and decorative borders for filled/tinted
|
|
38
38
|
* surfaces, ordered low → high emphasis:
|
|
39
39
|
*
|
|
40
|
-
* subtle → muted → soft → DEFAULT → firm
|
|
40
|
+
* subtle → muted → soft → mild → DEFAULT → firm
|
|
41
41
|
*
|
|
42
42
|
* `DEFAULT` is the resting fill (the bare `bg-{category}` class); `firm` is the
|
|
43
43
|
* most emphatic fill, e.g. a pressed/active background.
|
|
@@ -49,6 +49,8 @@ export interface SurfaceBand {
|
|
|
49
49
|
muted: string;
|
|
50
50
|
/** Soft fill — the hover step for solid fills. */
|
|
51
51
|
soft: string;
|
|
52
|
+
/** Between `soft` and `DEFAULT` — a lower-emphasis fill just short of resting. */
|
|
53
|
+
mild: string;
|
|
52
54
|
/** Resting fill — the bare `bg-{category}` / `border-{category}` token. */
|
|
53
55
|
DEFAULT: string;
|
|
54
56
|
/** Most emphatic fill — pressed/active backgrounds. */
|
|
@@ -104,6 +106,7 @@ export interface OnColorCategory {
|
|
|
104
106
|
subtle?: string;
|
|
105
107
|
muted?: string;
|
|
106
108
|
soft?: string;
|
|
109
|
+
mild?: string;
|
|
107
110
|
DEFAULT?: string;
|
|
108
111
|
firm?: string;
|
|
109
112
|
strong?: string;
|
|
@@ -112,22 +115,53 @@ export interface OnColorCategory {
|
|
|
112
115
|
export interface SurfaceOverlay {
|
|
113
116
|
subtle: string;
|
|
114
117
|
soft: string;
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
mild: string;
|
|
119
|
+
firm: string;
|
|
117
120
|
/**
|
|
118
|
-
*
|
|
121
|
+
* Heaviest overlay step, used as the backdrop tint behind modals and
|
|
122
|
+
* drawers.
|
|
119
123
|
*
|
|
120
124
|
* Follows the same darken-in-light / lighten-in-dark direction as
|
|
121
|
-
* `subtle`/`soft`/`
|
|
125
|
+
* `subtle`/`soft`/`mild`/`firm`, just at much higher opacity (75%) so it
|
|
122
126
|
* reads as a deliberate backdrop rather than a hover/elevation hint. A black
|
|
123
|
-
* tint is used in light mode; a black
|
|
127
|
+
* tint is used in light mode; a black backdrop in dark mode would barely
|
|
124
128
|
* register against an already near-black page, so dark mode lightens
|
|
125
129
|
* (white tint) instead — same visual weight, opposite direction.
|
|
126
130
|
*
|
|
127
131
|
* @example
|
|
128
|
-
* <div className="fixed inset-0 bg-surface-overlay-
|
|
132
|
+
* <div className="fixed inset-0 bg-surface-overlay-strong">
|
|
133
|
+
*/
|
|
134
|
+
strong: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Translucent overlay system that *lightens* in light mode and *darkens* in
|
|
138
|
+
* dark mode — the mirror of {@link SurfaceOverlay}.
|
|
139
|
+
*
|
|
140
|
+
* Where overlay pushes an element down into its background, lift pulls it up
|
|
141
|
+
* off of it: a white veil on a light page, a black veil on a dark one. Use it
|
|
142
|
+
* for frosted/glass panels, sticky headers over content, and any surface that
|
|
143
|
+
* should read as floating above what it covers.
|
|
144
|
+
*
|
|
145
|
+
* Levels run low → high emphasis, same as overlay: `subtle`, `soft`, `mild`,
|
|
146
|
+
* `firm`, `strong`.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* // Frosted sticky header
|
|
150
|
+
* <header className="bg-surface-lift-firm backdrop-blur-md" />
|
|
151
|
+
*/
|
|
152
|
+
export interface SurfaceLift {
|
|
153
|
+
subtle: string;
|
|
154
|
+
soft: string;
|
|
155
|
+
mild: string;
|
|
156
|
+
firm: string;
|
|
157
|
+
/**
|
|
158
|
+
* Heaviest lift step, near-opaque (95%) — a panel lifted essentially clear
|
|
159
|
+
* of the page rather than a veil you see through.
|
|
160
|
+
*
|
|
161
|
+
* Flips with the scheme like every other lift level: white in light mode,
|
|
162
|
+
* black in dark mode. (Overlay's `strong` is the one that does *not* flip.)
|
|
129
163
|
*/
|
|
130
|
-
|
|
164
|
+
strong: string;
|
|
131
165
|
}
|
|
132
166
|
/**
|
|
133
167
|
* Surface color system defining background colors for UI containers.
|
|
@@ -157,6 +191,16 @@ export interface SurfaceColors {
|
|
|
157
191
|
* <div className="bg-surface-app bg-surface-overlay-soft" />
|
|
158
192
|
*/
|
|
159
193
|
overlay: SurfaceOverlay;
|
|
194
|
+
/**
|
|
195
|
+
* Translucent lift system for elements that float above the page.
|
|
196
|
+
*
|
|
197
|
+
* The mirror of {@link overlay}: lightens in light mode, darkens in dark
|
|
198
|
+
* mode. See {@link SurfaceLift}.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* <div className="bg-surface-lift-soft backdrop-blur-sm" />
|
|
202
|
+
*/
|
|
203
|
+
lift: SurfaceLift;
|
|
160
204
|
/**
|
|
161
205
|
* Root application background layer (hierarchy level 0).
|
|
162
206
|
*
|
|
@@ -239,7 +283,7 @@ export interface SurfaceColors {
|
|
|
239
283
|
*
|
|
240
284
|
* Used for modal dialogs, drawers, dropdown menus, and other floating
|
|
241
285
|
* content that appears above all other surfaces. Modals and drawers pair it
|
|
242
|
-
* with a
|
|
286
|
+
* with a `surface-overlay-strong` backdrop to focus attention.
|
|
243
287
|
*
|
|
244
288
|
* Light: Pure white, highest elevation
|
|
245
289
|
* Dark: Medium gray, lightest surface for maximum elevation
|
|
@@ -253,7 +297,7 @@ export interface SurfaceColors {
|
|
|
253
297
|
*
|
|
254
298
|
* @example
|
|
255
299
|
* // Drawer with backdrop
|
|
256
|
-
* <div className="fixed inset-0 bg-surface-overlay-
|
|
300
|
+
* <div className="fixed inset-0 bg-surface-overlay-strong">
|
|
257
301
|
* <aside className="bg-surface-modal h-full w-80">
|
|
258
302
|
* <DrawerContent />
|
|
259
303
|
* </aside>
|
|
@@ -270,14 +314,16 @@ export interface SurfaceColors {
|
|
|
270
314
|
export interface ThemeColors {
|
|
271
315
|
neutral: SemanticColorCategory;
|
|
272
316
|
primary: SemanticColorCategory;
|
|
273
|
-
|
|
317
|
+
secondary: SemanticColorCategory;
|
|
318
|
+
tertiary: SemanticColorCategory;
|
|
274
319
|
success: SemanticColorCategory;
|
|
275
320
|
warning: SemanticColorCategory;
|
|
276
321
|
danger: SemanticColorCategory;
|
|
277
322
|
surface: SurfaceColors;
|
|
278
323
|
'on-neutral'?: OnColorCategory;
|
|
279
324
|
'on-primary'?: OnColorCategory;
|
|
280
|
-
'on-
|
|
325
|
+
'on-secondary'?: OnColorCategory;
|
|
326
|
+
'on-tertiary'?: OnColorCategory;
|
|
281
327
|
'on-success'?: OnColorCategory;
|
|
282
328
|
'on-warning'?: OnColorCategory;
|
|
283
329
|
'on-danger'?: OnColorCategory;
|
|
@@ -56,6 +56,8 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
|
|
|
56
56
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
57
57
|
}, {
|
|
58
58
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
59
|
+
}, {
|
|
60
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
59
61
|
}, {
|
|
60
62
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
61
63
|
}, {
|
|
@@ -40,6 +40,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
41
41
|
}, {
|
|
42
42
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
43
|
+
}, {
|
|
44
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
43
45
|
}, {
|
|
44
46
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
45
47
|
}, {
|
|
@@ -60,7 +62,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
60
62
|
intent: {
|
|
61
63
|
default: string;
|
|
62
64
|
primary: string;
|
|
63
|
-
|
|
65
|
+
secondary: string;
|
|
66
|
+
tertiary: string;
|
|
64
67
|
success: string;
|
|
65
68
|
warning: string;
|
|
66
69
|
danger: string;
|
|
@@ -83,7 +86,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
83
86
|
intent: {
|
|
84
87
|
default: string;
|
|
85
88
|
primary: string;
|
|
86
|
-
|
|
89
|
+
secondary: string;
|
|
90
|
+
tertiary: string;
|
|
87
91
|
success: string;
|
|
88
92
|
warning: string;
|
|
89
93
|
danger: string;
|
|
@@ -132,6 +136,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
132
136
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
133
137
|
}, {
|
|
134
138
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
139
|
+
}, {
|
|
140
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
135
141
|
}, {
|
|
136
142
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
137
143
|
}, {
|
|
@@ -152,7 +158,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
152
158
|
intent: {
|
|
153
159
|
default: string;
|
|
154
160
|
primary: string;
|
|
155
|
-
|
|
161
|
+
secondary: string;
|
|
162
|
+
tertiary: string;
|
|
156
163
|
success: string;
|
|
157
164
|
warning: string;
|
|
158
165
|
danger: string;
|
|
@@ -175,7 +182,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
175
182
|
intent: {
|
|
176
183
|
default: string;
|
|
177
184
|
primary: string;
|
|
178
|
-
|
|
185
|
+
secondary: string;
|
|
186
|
+
tertiary: string;
|
|
179
187
|
success: string;
|
|
180
188
|
warning: string;
|
|
181
189
|
danger: string;
|
|
@@ -198,7 +206,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
198
206
|
intent: {
|
|
199
207
|
default: string;
|
|
200
208
|
primary: string;
|
|
201
|
-
|
|
209
|
+
secondary: string;
|
|
210
|
+
tertiary: string;
|
|
202
211
|
success: string;
|
|
203
212
|
warning: string;
|
|
204
213
|
danger: string;
|
|
@@ -221,7 +230,8 @@ declare const button: import("tailwind-variants").TVReturnType<{
|
|
|
221
230
|
intent: {
|
|
222
231
|
default: string;
|
|
223
232
|
primary: string;
|
|
224
|
-
|
|
233
|
+
secondary: string;
|
|
234
|
+
tertiary: string;
|
|
225
235
|
success: string;
|
|
226
236
|
warning: string;
|
|
227
237
|
danger: string;
|
|
@@ -276,6 +286,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
276
286
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
277
287
|
}, {
|
|
278
288
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
289
|
+
}, {
|
|
290
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
279
291
|
}, {
|
|
280
292
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
281
293
|
}, {
|
|
@@ -296,7 +308,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
296
308
|
intent: {
|
|
297
309
|
default: string;
|
|
298
310
|
primary: string;
|
|
299
|
-
|
|
311
|
+
secondary: string;
|
|
312
|
+
tertiary: string;
|
|
300
313
|
success: string;
|
|
301
314
|
warning: string;
|
|
302
315
|
danger: string;
|
|
@@ -319,7 +332,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
319
332
|
intent: {
|
|
320
333
|
default: string;
|
|
321
334
|
primary: string;
|
|
322
|
-
|
|
335
|
+
secondary: string;
|
|
336
|
+
tertiary: string;
|
|
323
337
|
success: string;
|
|
324
338
|
warning: string;
|
|
325
339
|
danger: string;
|
|
@@ -368,6 +382,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
368
382
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
369
383
|
}, {
|
|
370
384
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
385
|
+
}, {
|
|
386
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
371
387
|
}, {
|
|
372
388
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
373
389
|
}, {
|
|
@@ -388,7 +404,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
388
404
|
intent: {
|
|
389
405
|
default: string;
|
|
390
406
|
primary: string;
|
|
391
|
-
|
|
407
|
+
secondary: string;
|
|
408
|
+
tertiary: string;
|
|
392
409
|
success: string;
|
|
393
410
|
warning: string;
|
|
394
411
|
danger: string;
|
|
@@ -411,7 +428,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
411
428
|
intent: {
|
|
412
429
|
default: string;
|
|
413
430
|
primary: string;
|
|
414
|
-
|
|
431
|
+
secondary: string;
|
|
432
|
+
tertiary: string;
|
|
415
433
|
success: string;
|
|
416
434
|
warning: string;
|
|
417
435
|
danger: string;
|
|
@@ -434,7 +452,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
434
452
|
intent: {
|
|
435
453
|
default: string;
|
|
436
454
|
primary: string;
|
|
437
|
-
|
|
455
|
+
secondary: string;
|
|
456
|
+
tertiary: string;
|
|
438
457
|
success: string;
|
|
439
458
|
warning: string;
|
|
440
459
|
danger: string;
|
|
@@ -457,7 +476,8 @@ declare const toggleButton: import("tailwind-variants").TVReturnType<{
|
|
|
457
476
|
intent: {
|
|
458
477
|
default: string;
|
|
459
478
|
primary: string;
|
|
460
|
-
|
|
479
|
+
secondary: string;
|
|
480
|
+
tertiary: string;
|
|
461
481
|
success: string;
|
|
462
482
|
warning: string;
|
|
463
483
|
danger: string;
|
|
@@ -502,6 +522,8 @@ declare const buttonGroup: import("tailwind-variants").TVReturnType<{} | {} | {}
|
|
|
502
522
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
503
523
|
}, {
|
|
504
524
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
525
|
+
}, {
|
|
526
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
505
527
|
}, {
|
|
506
528
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
507
529
|
}, {
|
|
@@ -16,7 +16,11 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
16
16
|
dot: string;
|
|
17
17
|
closeButton: string[];
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
secondary: {
|
|
20
|
+
dot: string;
|
|
21
|
+
closeButton: string[];
|
|
22
|
+
};
|
|
23
|
+
tertiary: {
|
|
20
24
|
dot: string;
|
|
21
25
|
closeButton: string[];
|
|
22
26
|
};
|
|
@@ -95,6 +99,8 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
95
99
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
96
100
|
}, {
|
|
97
101
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
102
|
+
}, {
|
|
103
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
98
104
|
}, {
|
|
99
105
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
100
106
|
}, {
|
|
@@ -126,7 +132,11 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
126
132
|
dot: string;
|
|
127
133
|
closeButton: string[];
|
|
128
134
|
};
|
|
129
|
-
|
|
135
|
+
secondary: {
|
|
136
|
+
dot: string;
|
|
137
|
+
closeButton: string[];
|
|
138
|
+
};
|
|
139
|
+
tertiary: {
|
|
130
140
|
dot: string;
|
|
131
141
|
closeButton: string[];
|
|
132
142
|
};
|
|
@@ -189,7 +199,11 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
189
199
|
dot: string;
|
|
190
200
|
closeButton: string[];
|
|
191
201
|
};
|
|
192
|
-
|
|
202
|
+
secondary: {
|
|
203
|
+
dot: string;
|
|
204
|
+
closeButton: string[];
|
|
205
|
+
};
|
|
206
|
+
tertiary: {
|
|
193
207
|
dot: string;
|
|
194
208
|
closeButton: string[];
|
|
195
209
|
};
|
|
@@ -252,7 +266,11 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
252
266
|
dot: string;
|
|
253
267
|
closeButton: string[];
|
|
254
268
|
};
|
|
255
|
-
|
|
269
|
+
secondary: {
|
|
270
|
+
dot: string;
|
|
271
|
+
closeButton: string[];
|
|
272
|
+
};
|
|
273
|
+
tertiary: {
|
|
256
274
|
dot: string;
|
|
257
275
|
closeButton: string[];
|
|
258
276
|
};
|
|
@@ -310,7 +328,11 @@ declare const chip: import("tailwind-variants").TVReturnType<{
|
|
|
310
328
|
dot: string;
|
|
311
329
|
closeButton: string[];
|
|
312
330
|
};
|
|
313
|
-
|
|
331
|
+
secondary: {
|
|
332
|
+
dot: string;
|
|
333
|
+
closeButton: string[];
|
|
334
|
+
};
|
|
335
|
+
tertiary: {
|
|
314
336
|
dot: string;
|
|
315
337
|
closeButton: string[];
|
|
316
338
|
};
|
|
@@ -59,6 +59,8 @@ declare const closeButton: import("tailwind-variants").TVReturnType<{
|
|
|
59
59
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
60
60
|
}, {
|
|
61
61
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
62
|
+
}, {
|
|
63
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
62
64
|
}, {
|
|
63
65
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
64
66
|
}, {
|
|
@@ -33,6 +33,8 @@ declare const divider: import("tailwind-variants").TVReturnType<{
|
|
|
33
33
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
34
34
|
}, {
|
|
35
35
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
36
|
+
}, {
|
|
37
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
36
38
|
}, {
|
|
37
39
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
38
40
|
}, {
|
|
@@ -26,6 +26,8 @@ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {}
|
|
|
26
26
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
27
27
|
}, {
|
|
28
28
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
29
|
+
}, {
|
|
30
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
29
31
|
}, {
|
|
30
32
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
31
33
|
}, {
|
|
@@ -48,6 +48,8 @@ declare const formCheckbox: import("tailwind-variants").TVReturnType<{
|
|
|
48
48
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
49
49
|
}, {
|
|
50
50
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
51
|
+
}, {
|
|
52
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
51
53
|
}, {
|
|
52
54
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
53
55
|
}, {
|
|
@@ -119,6 +121,8 @@ declare const formCheckbox: import("tailwind-variants").TVReturnType<{
|
|
|
119
121
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
120
122
|
}, {
|
|
121
123
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
124
|
+
}, {
|
|
125
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
122
126
|
}, {
|
|
123
127
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
124
128
|
}, {
|
|
@@ -227,6 +231,8 @@ declare const formRadio: import("tailwind-variants").TVReturnType<{
|
|
|
227
231
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
228
232
|
}, {
|
|
229
233
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
234
|
+
}, {
|
|
235
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
230
236
|
}, {
|
|
231
237
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
232
238
|
}, {
|
|
@@ -298,6 +304,8 @@ declare const formRadio: import("tailwind-variants").TVReturnType<{
|
|
|
298
304
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
299
305
|
}, {
|
|
300
306
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
307
|
+
}, {
|
|
308
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
301
309
|
}, {
|
|
302
310
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
303
311
|
}, {
|
|
@@ -394,6 +402,8 @@ declare const formCheckboxGroup: import("tailwind-variants").TVReturnType<{
|
|
|
394
402
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
395
403
|
}, {
|
|
396
404
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
405
|
+
}, {
|
|
406
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
397
407
|
}, {
|
|
398
408
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
399
409
|
}, {
|
|
@@ -465,6 +475,8 @@ declare const formCheckboxGroup: import("tailwind-variants").TVReturnType<{
|
|
|
465
475
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
466
476
|
}, {
|
|
467
477
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
478
|
+
}, {
|
|
479
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
468
480
|
}, {
|
|
469
481
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
470
482
|
}, {
|
|
@@ -563,6 +575,8 @@ declare const formRadioGroup: import("tailwind-variants").TVReturnType<{
|
|
|
563
575
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
564
576
|
}, {
|
|
565
577
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
578
|
+
}, {
|
|
579
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
566
580
|
}, {
|
|
567
581
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
568
582
|
}, {
|
|
@@ -634,6 +648,8 @@ declare const formRadioGroup: import("tailwind-variants").TVReturnType<{
|
|
|
634
648
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
635
649
|
}, {
|
|
636
650
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
651
|
+
}, {
|
|
652
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
637
653
|
}, {
|
|
638
654
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
639
655
|
}, {
|
|
@@ -736,6 +752,8 @@ declare const formInput: import("tailwind-variants").TVReturnType<{
|
|
|
736
752
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
737
753
|
}, {
|
|
738
754
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
755
|
+
}, {
|
|
756
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
739
757
|
}, {
|
|
740
758
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
741
759
|
}, {
|
|
@@ -822,6 +840,8 @@ declare const formTextarea: import("tailwind-variants").TVReturnType<{} | {
|
|
|
822
840
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
823
841
|
}, {
|
|
824
842
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
843
|
+
}, {
|
|
844
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
825
845
|
}, {
|
|
826
846
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
827
847
|
}, {
|
|
@@ -889,6 +909,8 @@ declare const formTextarea: import("tailwind-variants").TVReturnType<{} | {
|
|
|
889
909
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
890
910
|
}, {
|
|
891
911
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
912
|
+
}, {
|
|
913
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
892
914
|
}, {
|
|
893
915
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
894
916
|
}, {
|
|
@@ -981,6 +1003,8 @@ declare const formSelect: import("tailwind-variants").TVReturnType<{
|
|
|
981
1003
|
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
982
1004
|
}, {
|
|
983
1005
|
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
984
1008
|
}, {
|
|
985
1009
|
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
986
1010
|
}, {
|