@uniskin/flowbite 0.0.0-stage → 1.2.0
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/LICENSE +21 -0
- package/README.md +72 -2
- package/dist/index.d.ts +1305 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +579 -0
- package/dist/index.js.map +1 -0
- package/package.json +49 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1305 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly name: "flowbite";
|
|
3
|
+
readonly darkTokens: {
|
|
4
|
+
"--ui-primary": string;
|
|
5
|
+
"--ui-primary-hover": string;
|
|
6
|
+
"--ui-secondary": string;
|
|
7
|
+
"--ui-secondary-hover": string;
|
|
8
|
+
"--ui-danger": string;
|
|
9
|
+
"--ui-danger-hover": string;
|
|
10
|
+
"--ui-primary-text": string;
|
|
11
|
+
"--ui-secondary-text": string;
|
|
12
|
+
"--ui-success-text": string;
|
|
13
|
+
"--ui-warning-text": string;
|
|
14
|
+
"--ui-danger-text": string;
|
|
15
|
+
"--ui-primary-soft": string;
|
|
16
|
+
"--ui-primary-soft-fg": string;
|
|
17
|
+
"--ui-secondary-soft": string;
|
|
18
|
+
"--ui-secondary-soft-fg": string;
|
|
19
|
+
"--ui-success-soft": string;
|
|
20
|
+
"--ui-success-soft-fg": string;
|
|
21
|
+
"--ui-warning-soft": string;
|
|
22
|
+
"--ui-warning-soft-fg": string;
|
|
23
|
+
"--ui-danger-soft": string;
|
|
24
|
+
"--ui-danger-soft-fg": string;
|
|
25
|
+
"--ui-neutral": string;
|
|
26
|
+
"--ui-neutral-fg": string;
|
|
27
|
+
"--ui-neutral-soft": string;
|
|
28
|
+
"--ui-neutral-soft-fg": string;
|
|
29
|
+
"--ui-surface": string;
|
|
30
|
+
"--ui-surface-fg": string;
|
|
31
|
+
"--ui-surface-muted": string;
|
|
32
|
+
"--ui-border": string;
|
|
33
|
+
"--ui-ring": string;
|
|
34
|
+
"--ui-overlay": string;
|
|
35
|
+
"--ui-overlay-soft": string;
|
|
36
|
+
"--ui-primary-fg": string;
|
|
37
|
+
"--ui-secondary-fg": string;
|
|
38
|
+
"--ui-success": string;
|
|
39
|
+
"--ui-success-fg": string;
|
|
40
|
+
"--ui-warning": string;
|
|
41
|
+
"--ui-warning-fg": string;
|
|
42
|
+
"--ui-danger-fg": string;
|
|
43
|
+
"--ui-success-hover": string;
|
|
44
|
+
"--ui-warning-hover": string;
|
|
45
|
+
"--ui-radius": string;
|
|
46
|
+
"--ui-font-sans": string;
|
|
47
|
+
"--ui-text-sm": string;
|
|
48
|
+
"--ui-text-md": string;
|
|
49
|
+
"--ui-text-lg": string;
|
|
50
|
+
};
|
|
51
|
+
readonly tokens: {
|
|
52
|
+
"--ui-primary": string;
|
|
53
|
+
"--ui-primary-fg": string;
|
|
54
|
+
"--ui-secondary": string;
|
|
55
|
+
"--ui-secondary-fg": string;
|
|
56
|
+
"--ui-success": string;
|
|
57
|
+
"--ui-success-fg": string;
|
|
58
|
+
"--ui-warning": string;
|
|
59
|
+
"--ui-warning-fg": string;
|
|
60
|
+
"--ui-danger": string;
|
|
61
|
+
"--ui-danger-fg": string;
|
|
62
|
+
"--ui-primary-hover": string;
|
|
63
|
+
"--ui-secondary-hover": string;
|
|
64
|
+
"--ui-success-hover": string;
|
|
65
|
+
"--ui-warning-hover": string;
|
|
66
|
+
"--ui-danger-hover": string;
|
|
67
|
+
"--ui-primary-soft": string;
|
|
68
|
+
"--ui-primary-soft-fg": string;
|
|
69
|
+
"--ui-secondary-soft": string;
|
|
70
|
+
"--ui-secondary-soft-fg": string;
|
|
71
|
+
"--ui-success-soft": string;
|
|
72
|
+
"--ui-success-soft-fg": string;
|
|
73
|
+
"--ui-warning-soft": string;
|
|
74
|
+
"--ui-warning-soft-fg": string;
|
|
75
|
+
"--ui-danger-soft": string;
|
|
76
|
+
"--ui-danger-soft-fg": string;
|
|
77
|
+
"--ui-primary-text": string;
|
|
78
|
+
"--ui-secondary-text": string;
|
|
79
|
+
"--ui-success-text": string;
|
|
80
|
+
"--ui-warning-text": string;
|
|
81
|
+
"--ui-danger-text": string;
|
|
82
|
+
"--ui-neutral": string;
|
|
83
|
+
"--ui-neutral-fg": string;
|
|
84
|
+
"--ui-neutral-soft": string;
|
|
85
|
+
"--ui-neutral-soft-fg": string;
|
|
86
|
+
"--ui-surface": string;
|
|
87
|
+
"--ui-surface-fg": string;
|
|
88
|
+
"--ui-surface-muted": string;
|
|
89
|
+
"--ui-border": string;
|
|
90
|
+
"--ui-ring": string;
|
|
91
|
+
"--ui-radius": string;
|
|
92
|
+
"--ui-font-sans": string;
|
|
93
|
+
"--ui-text-sm": string;
|
|
94
|
+
"--ui-text-md": string;
|
|
95
|
+
"--ui-text-lg": string;
|
|
96
|
+
"--ui-overlay": string;
|
|
97
|
+
"--ui-overlay-soft": string;
|
|
98
|
+
};
|
|
99
|
+
readonly components: {
|
|
100
|
+
readonly button: {
|
|
101
|
+
readonly base: {
|
|
102
|
+
readonly padding: "0.625rem 1.25rem";
|
|
103
|
+
readonly "font-size": "0.875rem";
|
|
104
|
+
readonly "font-weight": "500";
|
|
105
|
+
readonly "line-height": "1.25rem";
|
|
106
|
+
readonly "border-radius": "0.5rem";
|
|
107
|
+
readonly gap: "0.5rem";
|
|
108
|
+
readonly transition: "none";
|
|
109
|
+
readonly "&:focus-visible": {
|
|
110
|
+
readonly outline: "0";
|
|
111
|
+
readonly "box-shadow": "0 0 0 2px var(--ui-surface), 0 0 0 4px var(--ui-c-text, var(--ui-ring))";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
readonly styles: {
|
|
115
|
+
readonly outline: {
|
|
116
|
+
readonly "&:hover": {
|
|
117
|
+
readonly "background-color": "var(--ui-c)";
|
|
118
|
+
readonly color: "var(--ui-on-c)";
|
|
119
|
+
readonly "border-color": "var(--ui-c)";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
readonly ghost: {
|
|
123
|
+
readonly "&:hover": {
|
|
124
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
125
|
+
readonly color: "var(--ui-c-soft-fg)";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly soft: {
|
|
129
|
+
readonly "&:hover": {
|
|
130
|
+
readonly "background-color": "var(--ui-c-soft-hover, var(--ui-c))";
|
|
131
|
+
readonly color: "var(--ui-on-c)";
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
readonly sizes: {
|
|
136
|
+
readonly sm: {
|
|
137
|
+
readonly padding: "0.375rem 0.75rem";
|
|
138
|
+
readonly "font-size": "0.75rem";
|
|
139
|
+
};
|
|
140
|
+
readonly lg: {
|
|
141
|
+
readonly padding: "0.75rem 1.5rem";
|
|
142
|
+
readonly "font-size": "1rem";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly states: {
|
|
146
|
+
disabled: {
|
|
147
|
+
opacity: string;
|
|
148
|
+
cursor: string;
|
|
149
|
+
"pointer-events": string;
|
|
150
|
+
};
|
|
151
|
+
loading: {
|
|
152
|
+
cursor: string;
|
|
153
|
+
};
|
|
154
|
+
active: {
|
|
155
|
+
"box-shadow": string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly input: {
|
|
160
|
+
readonly base: {
|
|
161
|
+
padding: string;
|
|
162
|
+
"font-size": string;
|
|
163
|
+
"font-weight": string;
|
|
164
|
+
"line-height": string;
|
|
165
|
+
"border-radius": string;
|
|
166
|
+
"border-width": string;
|
|
167
|
+
"border-color": string;
|
|
168
|
+
"background-color": string;
|
|
169
|
+
"box-shadow": string;
|
|
170
|
+
transition: string;
|
|
171
|
+
"&:hover": {
|
|
172
|
+
"border-color": string;
|
|
173
|
+
};
|
|
174
|
+
"&:focus-visible": {
|
|
175
|
+
outline: string;
|
|
176
|
+
"border-color": string;
|
|
177
|
+
"box-shadow": string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly styles: {
|
|
181
|
+
outline: {
|
|
182
|
+
"background-color": string;
|
|
183
|
+
"border-color": string;
|
|
184
|
+
};
|
|
185
|
+
ghost: {
|
|
186
|
+
"background-color": string;
|
|
187
|
+
"border-color": string;
|
|
188
|
+
};
|
|
189
|
+
soft: {
|
|
190
|
+
"background-color": string;
|
|
191
|
+
"border-color": string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly sizes: {
|
|
195
|
+
sm: {
|
|
196
|
+
padding: string;
|
|
197
|
+
"font-size": string;
|
|
198
|
+
"border-radius": string;
|
|
199
|
+
};
|
|
200
|
+
lg: {
|
|
201
|
+
padding: string;
|
|
202
|
+
"font-size": string;
|
|
203
|
+
"border-radius": string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly states: {
|
|
207
|
+
disabled: {
|
|
208
|
+
opacity: string;
|
|
209
|
+
cursor: string;
|
|
210
|
+
};
|
|
211
|
+
loading: {
|
|
212
|
+
cursor: string;
|
|
213
|
+
};
|
|
214
|
+
active: {
|
|
215
|
+
"border-color": string;
|
|
216
|
+
"box-shadow": string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
readonly textarea: {
|
|
221
|
+
readonly base: {
|
|
222
|
+
readonly "min-height": "5rem";
|
|
223
|
+
readonly padding: string;
|
|
224
|
+
readonly "font-size": string;
|
|
225
|
+
readonly "font-weight": string;
|
|
226
|
+
readonly "line-height": string;
|
|
227
|
+
readonly "border-radius": string;
|
|
228
|
+
readonly "border-width": string;
|
|
229
|
+
readonly "border-color": string;
|
|
230
|
+
readonly "background-color": string;
|
|
231
|
+
readonly "box-shadow": string;
|
|
232
|
+
readonly transition: string;
|
|
233
|
+
readonly "&:hover": {
|
|
234
|
+
"border-color": string;
|
|
235
|
+
};
|
|
236
|
+
readonly "&:focus-visible": {
|
|
237
|
+
outline: string;
|
|
238
|
+
"border-color": string;
|
|
239
|
+
"box-shadow": string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
readonly styles: {
|
|
243
|
+
outline: {
|
|
244
|
+
"background-color": string;
|
|
245
|
+
"border-color": string;
|
|
246
|
+
};
|
|
247
|
+
ghost: {
|
|
248
|
+
"background-color": string;
|
|
249
|
+
"border-color": string;
|
|
250
|
+
};
|
|
251
|
+
soft: {
|
|
252
|
+
"background-color": string;
|
|
253
|
+
"border-color": string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly sizes: {
|
|
257
|
+
sm: {
|
|
258
|
+
padding: string;
|
|
259
|
+
"font-size": string;
|
|
260
|
+
"border-radius": string;
|
|
261
|
+
};
|
|
262
|
+
lg: {
|
|
263
|
+
padding: string;
|
|
264
|
+
"font-size": string;
|
|
265
|
+
"border-radius": string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly states: {
|
|
269
|
+
disabled: {
|
|
270
|
+
opacity: string;
|
|
271
|
+
cursor: string;
|
|
272
|
+
};
|
|
273
|
+
loading: {
|
|
274
|
+
cursor: string;
|
|
275
|
+
};
|
|
276
|
+
active: {
|
|
277
|
+
"border-color": string;
|
|
278
|
+
"box-shadow": string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly select: {
|
|
283
|
+
readonly base: {
|
|
284
|
+
padding: string;
|
|
285
|
+
"font-size": string;
|
|
286
|
+
"font-weight": string;
|
|
287
|
+
"line-height": string;
|
|
288
|
+
"border-radius": string;
|
|
289
|
+
"border-width": string;
|
|
290
|
+
"border-color": string;
|
|
291
|
+
"background-color": string;
|
|
292
|
+
"box-shadow": string;
|
|
293
|
+
transition: string;
|
|
294
|
+
"&:hover": {
|
|
295
|
+
"border-color": string;
|
|
296
|
+
};
|
|
297
|
+
"&:focus-visible": {
|
|
298
|
+
outline: string;
|
|
299
|
+
"border-color": string;
|
|
300
|
+
"box-shadow": string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
readonly styles: {
|
|
304
|
+
outline: {
|
|
305
|
+
"background-color": string;
|
|
306
|
+
"border-color": string;
|
|
307
|
+
};
|
|
308
|
+
ghost: {
|
|
309
|
+
"background-color": string;
|
|
310
|
+
"border-color": string;
|
|
311
|
+
};
|
|
312
|
+
soft: {
|
|
313
|
+
"background-color": string;
|
|
314
|
+
"border-color": string;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
readonly sizes: {
|
|
318
|
+
sm: {
|
|
319
|
+
padding: string;
|
|
320
|
+
"font-size": string;
|
|
321
|
+
"border-radius": string;
|
|
322
|
+
};
|
|
323
|
+
lg: {
|
|
324
|
+
padding: string;
|
|
325
|
+
"font-size": string;
|
|
326
|
+
"border-radius": string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly states: {
|
|
330
|
+
disabled: {
|
|
331
|
+
opacity: string;
|
|
332
|
+
cursor: string;
|
|
333
|
+
};
|
|
334
|
+
loading: {
|
|
335
|
+
cursor: string;
|
|
336
|
+
};
|
|
337
|
+
active: {
|
|
338
|
+
"border-color": string;
|
|
339
|
+
"box-shadow": string;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly checkbox: {
|
|
344
|
+
readonly base: {
|
|
345
|
+
"--ui-check-size": string;
|
|
346
|
+
"border-color": string;
|
|
347
|
+
"border-radius": string;
|
|
348
|
+
};
|
|
349
|
+
readonly styles: {
|
|
350
|
+
outline: {
|
|
351
|
+
"border-color": string;
|
|
352
|
+
"border-width": string;
|
|
353
|
+
};
|
|
354
|
+
ghost: {
|
|
355
|
+
"background-color": string;
|
|
356
|
+
};
|
|
357
|
+
soft: {
|
|
358
|
+
"background-color": string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
readonly sizes: {
|
|
362
|
+
sm: {
|
|
363
|
+
"--ui-check-size": string;
|
|
364
|
+
};
|
|
365
|
+
lg: {
|
|
366
|
+
"--ui-check-size": string;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly states: {
|
|
370
|
+
disabled: {
|
|
371
|
+
opacity: string;
|
|
372
|
+
cursor: string;
|
|
373
|
+
"pointer-events": string;
|
|
374
|
+
};
|
|
375
|
+
loading: {
|
|
376
|
+
cursor: string;
|
|
377
|
+
};
|
|
378
|
+
active: {
|
|
379
|
+
"box-shadow": string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
readonly radio: {
|
|
384
|
+
readonly base: {
|
|
385
|
+
readonly "--ui-radio-size": "1rem";
|
|
386
|
+
readonly "border-color": "color-mix(in oklab, var(--ui-surface-fg) 55%, var(--ui-surface))";
|
|
387
|
+
};
|
|
388
|
+
readonly styles: {
|
|
389
|
+
outline: {
|
|
390
|
+
"border-color": string;
|
|
391
|
+
"border-width": string;
|
|
392
|
+
};
|
|
393
|
+
ghost: {
|
|
394
|
+
"background-color": string;
|
|
395
|
+
};
|
|
396
|
+
soft: {
|
|
397
|
+
"background-color": string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
readonly sizes: {
|
|
401
|
+
readonly sm: {
|
|
402
|
+
readonly "--ui-radio-size": "0.875rem";
|
|
403
|
+
};
|
|
404
|
+
readonly lg: {
|
|
405
|
+
readonly "--ui-radio-size": "1.25rem";
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
readonly states: {
|
|
409
|
+
disabled: {
|
|
410
|
+
opacity: string;
|
|
411
|
+
cursor: string;
|
|
412
|
+
"pointer-events": string;
|
|
413
|
+
};
|
|
414
|
+
loading: {
|
|
415
|
+
cursor: string;
|
|
416
|
+
};
|
|
417
|
+
active: {
|
|
418
|
+
"box-shadow": string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
readonly switch: {
|
|
423
|
+
readonly base: {
|
|
424
|
+
readonly "--ui-switch-size": "1.5rem";
|
|
425
|
+
readonly "--ui-switch-pad": "2px";
|
|
426
|
+
};
|
|
427
|
+
readonly styles: {
|
|
428
|
+
outline: {
|
|
429
|
+
"border-color": string;
|
|
430
|
+
"border-width": string;
|
|
431
|
+
};
|
|
432
|
+
ghost: {
|
|
433
|
+
"background-color": string;
|
|
434
|
+
};
|
|
435
|
+
soft: {
|
|
436
|
+
"background-color": string;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
readonly sizes: {
|
|
440
|
+
readonly sm: {
|
|
441
|
+
readonly "--ui-switch-size": "1.25rem";
|
|
442
|
+
};
|
|
443
|
+
readonly lg: {
|
|
444
|
+
readonly "--ui-switch-size": "1.75rem";
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
readonly states: {
|
|
448
|
+
disabled: {
|
|
449
|
+
opacity: string;
|
|
450
|
+
cursor: string;
|
|
451
|
+
"pointer-events": string;
|
|
452
|
+
};
|
|
453
|
+
loading: {
|
|
454
|
+
cursor: string;
|
|
455
|
+
};
|
|
456
|
+
active: {
|
|
457
|
+
"box-shadow": string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
readonly field: {
|
|
462
|
+
readonly base: {
|
|
463
|
+
readonly "--ui-field-gap": "0.5rem";
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
readonly "field-label": {
|
|
467
|
+
readonly base: {
|
|
468
|
+
readonly "font-size": "0.875rem";
|
|
469
|
+
readonly "font-weight": "500";
|
|
470
|
+
readonly "margin-bottom": "0.5rem";
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
readonly "field-hint": {
|
|
474
|
+
readonly base: {
|
|
475
|
+
readonly "font-size": "0.875rem";
|
|
476
|
+
readonly color: "var(--ui-hint, color-mix(in oklab, var(--ui-surface-fg) 70%, var(--ui-surface)))";
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
readonly "field-error": {
|
|
480
|
+
readonly base: {
|
|
481
|
+
readonly "font-size": "0.875rem";
|
|
482
|
+
readonly color: "var(--ui-danger-text, var(--ui-danger))";
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
readonly card: {
|
|
486
|
+
readonly base: {
|
|
487
|
+
readonly "--ui-card-pad": "1.5rem";
|
|
488
|
+
readonly "border-radius": "0.5rem";
|
|
489
|
+
readonly "border-color": "var(--ui-border)";
|
|
490
|
+
readonly "box-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
491
|
+
};
|
|
492
|
+
readonly styles: {
|
|
493
|
+
readonly outline: {
|
|
494
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
495
|
+
readonly "border-width": "2px";
|
|
496
|
+
};
|
|
497
|
+
readonly ghost: {
|
|
498
|
+
readonly "border-color": "transparent";
|
|
499
|
+
readonly "box-shadow": "none";
|
|
500
|
+
readonly "background-color": "transparent";
|
|
501
|
+
};
|
|
502
|
+
readonly soft: {
|
|
503
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
504
|
+
readonly "border-color": "transparent";
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
readonly sizes: {
|
|
508
|
+
readonly sm: {
|
|
509
|
+
readonly "--ui-card-pad": "1rem";
|
|
510
|
+
};
|
|
511
|
+
readonly lg: {
|
|
512
|
+
readonly "--ui-card-pad": "2rem";
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
readonly states: {
|
|
516
|
+
disabled: {
|
|
517
|
+
opacity: string;
|
|
518
|
+
cursor: string;
|
|
519
|
+
"pointer-events": string;
|
|
520
|
+
};
|
|
521
|
+
loading: {
|
|
522
|
+
cursor: string;
|
|
523
|
+
};
|
|
524
|
+
active: {
|
|
525
|
+
"box-shadow": string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly "card-header": {
|
|
530
|
+
readonly base: {
|
|
531
|
+
readonly "border-bottom": "0";
|
|
532
|
+
readonly "padding-bottom": "0";
|
|
533
|
+
readonly "font-weight": "700";
|
|
534
|
+
readonly "font-size": "1.25rem";
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
readonly "card-body": {
|
|
538
|
+
readonly base: {
|
|
539
|
+
readonly padding: "var(--ui-card-pad, 1.5rem)";
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
readonly "card-footer": {
|
|
543
|
+
readonly base: {
|
|
544
|
+
readonly "border-top": "0";
|
|
545
|
+
readonly "background-color": "transparent";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
readonly badge: {
|
|
549
|
+
readonly base: {
|
|
550
|
+
readonly padding: "0.125rem 0.625rem";
|
|
551
|
+
readonly "font-size": "0.75rem";
|
|
552
|
+
readonly "font-weight": "500";
|
|
553
|
+
readonly "line-height": "1rem";
|
|
554
|
+
readonly "border-radius": "0.25rem";
|
|
555
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
556
|
+
readonly color: "var(--ui-c-soft-fg)";
|
|
557
|
+
readonly "border-color": "transparent";
|
|
558
|
+
};
|
|
559
|
+
readonly styles: {
|
|
560
|
+
readonly outline: {
|
|
561
|
+
readonly "background-color": "transparent";
|
|
562
|
+
readonly color: "var(--ui-c-text)";
|
|
563
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
564
|
+
};
|
|
565
|
+
readonly ghost: {
|
|
566
|
+
readonly "background-color": "transparent";
|
|
567
|
+
readonly "border-color": "transparent";
|
|
568
|
+
readonly color: "var(--ui-c-text)";
|
|
569
|
+
};
|
|
570
|
+
readonly soft: {
|
|
571
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
572
|
+
readonly color: "var(--ui-c-soft-fg)";
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly sizes: {
|
|
576
|
+
readonly sm: {
|
|
577
|
+
readonly "font-size": "0.75rem";
|
|
578
|
+
readonly padding: "0.125rem 0.375rem";
|
|
579
|
+
};
|
|
580
|
+
readonly lg: {
|
|
581
|
+
readonly "font-size": "0.875rem";
|
|
582
|
+
readonly padding: "0.25rem 0.625rem";
|
|
583
|
+
readonly "border-radius": "0.25rem";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly states: {
|
|
587
|
+
disabled: {
|
|
588
|
+
opacity: string;
|
|
589
|
+
cursor: string;
|
|
590
|
+
"pointer-events": string;
|
|
591
|
+
};
|
|
592
|
+
loading: {
|
|
593
|
+
cursor: string;
|
|
594
|
+
};
|
|
595
|
+
active: {
|
|
596
|
+
"box-shadow": string;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
readonly alert: {
|
|
601
|
+
readonly base: {
|
|
602
|
+
readonly padding: "1rem";
|
|
603
|
+
readonly "font-size": "0.875rem";
|
|
604
|
+
readonly "border-radius": "0.5rem";
|
|
605
|
+
readonly "border-width": "1px";
|
|
606
|
+
readonly "border-color": "transparent";
|
|
607
|
+
};
|
|
608
|
+
readonly intents: {
|
|
609
|
+
readonly primary: {
|
|
610
|
+
"&:not(.ui-soft):not(.ui-ghost):not(.ui-outline)": {
|
|
611
|
+
"background-color": string;
|
|
612
|
+
color: string;
|
|
613
|
+
};
|
|
614
|
+
"&:not(.ui-soft):not(.ui-ghost)": {
|
|
615
|
+
"border-color": string;
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
readonly secondary: {
|
|
619
|
+
"&:not(.ui-soft):not(.ui-ghost):not(.ui-outline)": {
|
|
620
|
+
"background-color": string;
|
|
621
|
+
color: string;
|
|
622
|
+
};
|
|
623
|
+
"&:not(.ui-soft):not(.ui-ghost)": {
|
|
624
|
+
"border-color": string;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
readonly success: {
|
|
628
|
+
"&:not(.ui-soft):not(.ui-ghost):not(.ui-outline)": {
|
|
629
|
+
"background-color": string;
|
|
630
|
+
color: string;
|
|
631
|
+
};
|
|
632
|
+
"&:not(.ui-soft):not(.ui-ghost)": {
|
|
633
|
+
"border-color": string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
readonly warning: {
|
|
637
|
+
"&:not(.ui-soft):not(.ui-ghost):not(.ui-outline)": {
|
|
638
|
+
"background-color": string;
|
|
639
|
+
color: string;
|
|
640
|
+
};
|
|
641
|
+
"&:not(.ui-soft):not(.ui-ghost)": {
|
|
642
|
+
"border-color": string;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
readonly danger: {
|
|
646
|
+
"&:not(.ui-soft):not(.ui-ghost):not(.ui-outline)": {
|
|
647
|
+
"background-color": string;
|
|
648
|
+
color: string;
|
|
649
|
+
};
|
|
650
|
+
"&:not(.ui-soft):not(.ui-ghost)": {
|
|
651
|
+
"border-color": string;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
readonly styles: {
|
|
656
|
+
readonly outline: {
|
|
657
|
+
readonly "background-color": "transparent";
|
|
658
|
+
readonly color: "var(--ui-c-text)";
|
|
659
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
660
|
+
};
|
|
661
|
+
readonly ghost: {
|
|
662
|
+
readonly "background-color": "transparent";
|
|
663
|
+
readonly "border-color": "transparent";
|
|
664
|
+
};
|
|
665
|
+
readonly soft: {
|
|
666
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
667
|
+
readonly color: "var(--ui-c-soft-fg)";
|
|
668
|
+
readonly "border-color": "transparent";
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
readonly sizes: {
|
|
672
|
+
readonly sm: {
|
|
673
|
+
readonly padding: "0.5rem 0.75rem";
|
|
674
|
+
readonly "font-size": "0.75rem";
|
|
675
|
+
};
|
|
676
|
+
readonly lg: {
|
|
677
|
+
readonly padding: "1.25rem";
|
|
678
|
+
readonly "font-size": "1rem";
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
readonly states: {
|
|
682
|
+
disabled: {
|
|
683
|
+
opacity: string;
|
|
684
|
+
cursor: string;
|
|
685
|
+
"pointer-events": string;
|
|
686
|
+
};
|
|
687
|
+
loading: {
|
|
688
|
+
cursor: string;
|
|
689
|
+
};
|
|
690
|
+
active: {
|
|
691
|
+
"box-shadow": string;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
readonly table: {
|
|
696
|
+
readonly base: {
|
|
697
|
+
readonly "--ui-table-pad-y": "1rem";
|
|
698
|
+
readonly "--ui-table-pad-x": "1.5rem";
|
|
699
|
+
readonly "--ui-table-border": "var(--ui-border)";
|
|
700
|
+
readonly "--ui-table-stripe": "var(--ui-surface-muted)";
|
|
701
|
+
readonly "--ui-table-row-hover": "var(--ui-surface-muted)";
|
|
702
|
+
readonly "--ui-table-head-bg": "var(--ui-surface-muted)";
|
|
703
|
+
readonly "font-size": "0.875rem";
|
|
704
|
+
};
|
|
705
|
+
readonly styles: {
|
|
706
|
+
readonly outline: {
|
|
707
|
+
readonly "--ui-table-border": "var(--ui-c-border, var(--ui-c))";
|
|
708
|
+
};
|
|
709
|
+
readonly ghost: {
|
|
710
|
+
readonly "--ui-table-border": "transparent";
|
|
711
|
+
};
|
|
712
|
+
readonly soft: {
|
|
713
|
+
readonly "--ui-table-stripe": "var(--ui-c-soft, var(--ui-surface-muted))";
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
readonly sizes: {
|
|
717
|
+
readonly sm: {
|
|
718
|
+
readonly "--ui-table-pad-y": "0.5rem";
|
|
719
|
+
readonly "--ui-table-pad-x": "0.75rem";
|
|
720
|
+
};
|
|
721
|
+
readonly lg: {
|
|
722
|
+
readonly "--ui-table-pad-y": "1.25rem";
|
|
723
|
+
readonly "--ui-table-pad-x": "1.75rem";
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
readonly states: {
|
|
727
|
+
readonly loading: {
|
|
728
|
+
readonly cursor: "progress";
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
readonly "table-wrap": {
|
|
733
|
+
readonly base: {
|
|
734
|
+
readonly "border-radius": "0.5rem";
|
|
735
|
+
readonly "box-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
readonly accordion: {
|
|
739
|
+
readonly base: {
|
|
740
|
+
readonly "--ui-accordion-pad-x": "1.25rem";
|
|
741
|
+
readonly "--ui-accordion-pad-y": "1.25rem";
|
|
742
|
+
readonly "--ui-accordion-border": "var(--ui-border)";
|
|
743
|
+
readonly "--ui-accordion-hover": "var(--ui-surface-muted)";
|
|
744
|
+
readonly "border-radius": "0.75rem";
|
|
745
|
+
};
|
|
746
|
+
readonly styles: {
|
|
747
|
+
readonly outline: {
|
|
748
|
+
readonly "--ui-accordion-border": "var(--ui-c-border, var(--ui-c))";
|
|
749
|
+
};
|
|
750
|
+
readonly ghost: {
|
|
751
|
+
readonly "--ui-accordion-border": "transparent";
|
|
752
|
+
};
|
|
753
|
+
readonly soft: {
|
|
754
|
+
readonly "--ui-accordion-soft-bg": "var(--ui-c-soft)";
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
readonly sizes: {
|
|
758
|
+
readonly sm: {
|
|
759
|
+
readonly "--ui-accordion-pad-x": "0.75rem";
|
|
760
|
+
readonly "--ui-accordion-pad-y": "0.75rem";
|
|
761
|
+
};
|
|
762
|
+
readonly lg: {
|
|
763
|
+
readonly "--ui-accordion-pad-x": "1.75rem";
|
|
764
|
+
readonly "--ui-accordion-pad-y": "1.5rem";
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
readonly "accordion-item": {
|
|
769
|
+
readonly base: {
|
|
770
|
+
readonly "background-color": "var(--ui-surface)";
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
readonly "accordion-trigger": {
|
|
774
|
+
readonly base: {
|
|
775
|
+
readonly "font-weight": "500";
|
|
776
|
+
readonly "font-size": "1rem";
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
readonly "accordion-panel": {
|
|
780
|
+
readonly base: {
|
|
781
|
+
readonly "font-size": "1rem";
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
readonly progress: {
|
|
785
|
+
readonly base: {
|
|
786
|
+
readonly "--ui-progress-h": "0.625rem";
|
|
787
|
+
readonly "--ui-progress-track": "var(--ui-surface-muted)";
|
|
788
|
+
};
|
|
789
|
+
readonly styles: {
|
|
790
|
+
readonly outline: {
|
|
791
|
+
readonly "--ui-progress-border": "var(--ui-c-border, var(--ui-c))";
|
|
792
|
+
};
|
|
793
|
+
readonly ghost: {
|
|
794
|
+
readonly "--ui-progress-track": "transparent";
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
readonly sizes: {
|
|
798
|
+
readonly sm: {
|
|
799
|
+
readonly "--ui-progress-h": "0.375rem";
|
|
800
|
+
};
|
|
801
|
+
readonly lg: {
|
|
802
|
+
readonly "--ui-progress-h": "1rem";
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
readonly tooltip: {
|
|
807
|
+
readonly base: {
|
|
808
|
+
readonly "--ui-tooltip-fs": "0.875rem";
|
|
809
|
+
readonly "--ui-tooltip-pad-y": "0.5rem";
|
|
810
|
+
readonly "--ui-tooltip-pad-x": "0.75rem";
|
|
811
|
+
readonly "--ui-tooltip-bg": string;
|
|
812
|
+
readonly "--ui-tooltip-fg": "#fff";
|
|
813
|
+
readonly "border-radius": "0.5rem";
|
|
814
|
+
readonly "font-weight": "500";
|
|
815
|
+
readonly "box-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
816
|
+
};
|
|
817
|
+
readonly styles: {
|
|
818
|
+
readonly outline: {
|
|
819
|
+
readonly "--ui-tooltip-bg": "var(--ui-surface)";
|
|
820
|
+
readonly "--ui-tooltip-fg": "var(--ui-surface-fg)";
|
|
821
|
+
};
|
|
822
|
+
readonly soft: {
|
|
823
|
+
readonly "--ui-tooltip-bg": "var(--ui-c-soft)";
|
|
824
|
+
readonly "--ui-tooltip-fg": "var(--ui-c-soft-fg)";
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
readonly sizes: {
|
|
828
|
+
readonly sm: {
|
|
829
|
+
readonly "--ui-tooltip-fs": "0.75rem";
|
|
830
|
+
readonly "--ui-tooltip-pad-y": "0.25rem";
|
|
831
|
+
readonly "--ui-tooltip-pad-x": "0.5rem";
|
|
832
|
+
};
|
|
833
|
+
readonly lg: {
|
|
834
|
+
readonly "--ui-tooltip-fs": "1rem";
|
|
835
|
+
readonly "--ui-tooltip-pad-y": "0.625rem";
|
|
836
|
+
readonly "--ui-tooltip-pad-x": "1rem";
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
readonly states: {
|
|
840
|
+
readonly active: {
|
|
841
|
+
readonly visibility: "visible";
|
|
842
|
+
readonly opacity: "1";
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
readonly "tooltip-anchor": {
|
|
847
|
+
readonly base: {
|
|
848
|
+
readonly "vertical-align": "middle";
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
readonly toast: {
|
|
852
|
+
readonly base: {
|
|
853
|
+
readonly "--ui-toast-w": "20rem";
|
|
854
|
+
readonly "--ui-toast-fs": "0.875rem";
|
|
855
|
+
readonly "--ui-toast-pad-x": "1rem";
|
|
856
|
+
readonly "--ui-toast-pad-y": "1rem";
|
|
857
|
+
readonly "--ui-toast-gap": "1rem";
|
|
858
|
+
readonly "--ui-toast-edge": "transparent";
|
|
859
|
+
readonly "--ui-toast-shadow": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
860
|
+
readonly "border-radius": "0.5rem";
|
|
861
|
+
};
|
|
862
|
+
readonly styles: {
|
|
863
|
+
readonly outline: {};
|
|
864
|
+
readonly soft: {};
|
|
865
|
+
};
|
|
866
|
+
readonly sizes: {
|
|
867
|
+
readonly sm: {
|
|
868
|
+
readonly "--ui-toast-fs": "0.75rem";
|
|
869
|
+
readonly "--ui-toast-pad-x": "0.75rem";
|
|
870
|
+
readonly "--ui-toast-pad-y": "0.75rem";
|
|
871
|
+
};
|
|
872
|
+
readonly lg: {
|
|
873
|
+
readonly "--ui-toast-fs": "1rem";
|
|
874
|
+
readonly "--ui-toast-pad-x": "1.25rem";
|
|
875
|
+
readonly "--ui-toast-pad-y": "1.25rem";
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
readonly states: {
|
|
879
|
+
readonly loading: {
|
|
880
|
+
readonly cursor: "progress";
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
readonly "toast-region": {
|
|
885
|
+
readonly base: {
|
|
886
|
+
readonly "--ui-toast-offset": "1.25rem";
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
readonly dropdown: {
|
|
890
|
+
readonly base: {
|
|
891
|
+
readonly "vertical-align": "middle";
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
readonly menu: {
|
|
895
|
+
readonly base: {
|
|
896
|
+
readonly "--ui-menu-fs": "0.875rem";
|
|
897
|
+
readonly "--ui-menu-w": "11rem";
|
|
898
|
+
readonly "--ui-menu-pad": "0.25rem 0";
|
|
899
|
+
readonly "--ui-menu-gap": "0.5rem";
|
|
900
|
+
readonly "--ui-menu-shadow": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
901
|
+
readonly "--ui-menu-item-py": "0.5rem";
|
|
902
|
+
readonly "--ui-menu-item-px": "1rem";
|
|
903
|
+
readonly "border-color": "var(--ui-border)";
|
|
904
|
+
readonly "border-radius": "0.5rem";
|
|
905
|
+
readonly gap: "0";
|
|
906
|
+
};
|
|
907
|
+
readonly styles: {
|
|
908
|
+
readonly ghost: {
|
|
909
|
+
readonly "border-color": "transparent";
|
|
910
|
+
readonly "box-shadow": "none";
|
|
911
|
+
};
|
|
912
|
+
readonly soft: {
|
|
913
|
+
readonly "background-color": "var(--ui-surface-muted)";
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
readonly sizes: {
|
|
917
|
+
readonly sm: {
|
|
918
|
+
readonly "--ui-menu-fs": "0.75rem";
|
|
919
|
+
readonly "--ui-menu-item-py": "0.25rem";
|
|
920
|
+
readonly "--ui-menu-item-px": "0.75rem";
|
|
921
|
+
};
|
|
922
|
+
readonly lg: {
|
|
923
|
+
readonly "--ui-menu-fs": "1rem";
|
|
924
|
+
readonly "--ui-menu-item-py": "0.625rem";
|
|
925
|
+
readonly "--ui-menu-item-px": "1.25rem";
|
|
926
|
+
};
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
readonly "menu-item": {
|
|
930
|
+
readonly base: {
|
|
931
|
+
readonly "--ui-menu-item-hover-bg": "var(--ui-surface-muted)";
|
|
932
|
+
readonly "--ui-menu-item-hover-fg": "var(--ui-surface-fg)";
|
|
933
|
+
readonly "border-radius": "0";
|
|
934
|
+
readonly "font-weight": "400";
|
|
935
|
+
};
|
|
936
|
+
readonly sizes: {
|
|
937
|
+
readonly sm: {
|
|
938
|
+
readonly "--ui-menu-fs": "0.75rem";
|
|
939
|
+
readonly "--ui-menu-item-py": "0.25rem";
|
|
940
|
+
readonly "--ui-menu-item-px": "0.75rem";
|
|
941
|
+
};
|
|
942
|
+
readonly lg: {
|
|
943
|
+
readonly "--ui-menu-fs": "1rem";
|
|
944
|
+
readonly "--ui-menu-item-py": "0.625rem";
|
|
945
|
+
readonly "--ui-menu-item-px": "1.25rem";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
readonly states: {
|
|
949
|
+
readonly disabled: {
|
|
950
|
+
readonly opacity: "0.5";
|
|
951
|
+
readonly "pointer-events": "none";
|
|
952
|
+
};
|
|
953
|
+
readonly active: {
|
|
954
|
+
readonly "background-color": "var(--ui-surface-muted)";
|
|
955
|
+
readonly color: "var(--ui-primary-text)";
|
|
956
|
+
readonly "font-weight": "500";
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
readonly "menu-label": {
|
|
961
|
+
readonly base: {
|
|
962
|
+
readonly "font-size": "0.75rem";
|
|
963
|
+
readonly "font-weight": "500";
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
readonly "menu-separator": {
|
|
967
|
+
readonly base: {
|
|
968
|
+
readonly margin: "0.25rem 0";
|
|
969
|
+
readonly "background-color": "var(--ui-border)";
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly avatar: {
|
|
973
|
+
readonly base: {
|
|
974
|
+
readonly "--ui-avatar-size": "2.5rem";
|
|
975
|
+
readonly "font-weight": "500";
|
|
976
|
+
};
|
|
977
|
+
readonly styles: {
|
|
978
|
+
readonly soft: {
|
|
979
|
+
readonly "font-weight": "500";
|
|
980
|
+
};
|
|
981
|
+
readonly outline: {
|
|
982
|
+
readonly "border-width": "2px";
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
readonly sizes: {
|
|
986
|
+
readonly sm: {
|
|
987
|
+
readonly "--ui-avatar-size": "2rem";
|
|
988
|
+
};
|
|
989
|
+
readonly lg: {
|
|
990
|
+
readonly "--ui-avatar-size": "3.5rem";
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
readonly skeleton: {
|
|
995
|
+
readonly base: {
|
|
996
|
+
readonly "--ui-skeleton-bg": "var(--ui-surface-muted)";
|
|
997
|
+
readonly "--ui-skeleton-radius": "9999px";
|
|
998
|
+
readonly "--ui-skeleton-h": "0.625rem";
|
|
999
|
+
};
|
|
1000
|
+
readonly sizes: {
|
|
1001
|
+
sm: {
|
|
1002
|
+
"--ui-skeleton-h": string;
|
|
1003
|
+
};
|
|
1004
|
+
lg: {
|
|
1005
|
+
"--ui-skeleton-h": string;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
readonly "skeleton-text": {
|
|
1010
|
+
readonly base: {
|
|
1011
|
+
readonly "--ui-skeleton-bg": "var(--ui-surface-muted)";
|
|
1012
|
+
readonly "--ui-skeleton-radius": "9999px";
|
|
1013
|
+
};
|
|
1014
|
+
readonly sizes: {
|
|
1015
|
+
sm: {
|
|
1016
|
+
"--ui-skeleton-h": string;
|
|
1017
|
+
};
|
|
1018
|
+
lg: {
|
|
1019
|
+
"--ui-skeleton-h": string;
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
readonly "skeleton-circle": {
|
|
1024
|
+
readonly base: {
|
|
1025
|
+
readonly "--ui-skeleton-bg": "var(--ui-surface-muted)";
|
|
1026
|
+
};
|
|
1027
|
+
readonly sizes: {
|
|
1028
|
+
sm: {
|
|
1029
|
+
"--ui-skeleton-w": string;
|
|
1030
|
+
};
|
|
1031
|
+
lg: {
|
|
1032
|
+
"--ui-skeleton-w": string;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
readonly popover: {
|
|
1037
|
+
readonly base: {
|
|
1038
|
+
readonly "--ui-popover-w": "16rem";
|
|
1039
|
+
readonly "--ui-popover-pad": "0.75rem";
|
|
1040
|
+
};
|
|
1041
|
+
readonly sizes: {
|
|
1042
|
+
readonly sm: {
|
|
1043
|
+
readonly "--ui-popover-w": "12rem";
|
|
1044
|
+
readonly "--ui-popover-pad": "0.5rem";
|
|
1045
|
+
};
|
|
1046
|
+
readonly lg: {
|
|
1047
|
+
readonly "--ui-popover-w": "20rem";
|
|
1048
|
+
readonly "--ui-popover-pad": "1rem";
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
readonly kbd: {
|
|
1053
|
+
readonly base: {
|
|
1054
|
+
readonly "--ui-kbd-bg": "var(--ui-surface-muted)";
|
|
1055
|
+
readonly "--ui-kbd-radius": "0.375rem";
|
|
1056
|
+
readonly "font-weight": "600";
|
|
1057
|
+
};
|
|
1058
|
+
readonly sizes: {
|
|
1059
|
+
readonly sm: {
|
|
1060
|
+
readonly padding: "0.0625rem 0.25rem";
|
|
1061
|
+
readonly "font-size": "0.75em";
|
|
1062
|
+
};
|
|
1063
|
+
readonly lg: {
|
|
1064
|
+
readonly padding: "0.1875rem 0.5rem";
|
|
1065
|
+
readonly "font-size": "1em";
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
readonly spinner: {
|
|
1070
|
+
readonly base: {
|
|
1071
|
+
readonly "--ui-spinner-size": "2rem";
|
|
1072
|
+
readonly "--ui-spinner-width": "3px";
|
|
1073
|
+
};
|
|
1074
|
+
readonly intents: {
|
|
1075
|
+
readonly primary: {
|
|
1076
|
+
"--ui-spinner-color": string;
|
|
1077
|
+
};
|
|
1078
|
+
readonly secondary: {
|
|
1079
|
+
"--ui-spinner-color": string;
|
|
1080
|
+
};
|
|
1081
|
+
readonly success: {
|
|
1082
|
+
"--ui-spinner-color": string;
|
|
1083
|
+
};
|
|
1084
|
+
readonly warning: {
|
|
1085
|
+
"--ui-spinner-color": string;
|
|
1086
|
+
};
|
|
1087
|
+
readonly danger: {
|
|
1088
|
+
"--ui-spinner-color": string;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly sizes: {
|
|
1092
|
+
readonly sm: {
|
|
1093
|
+
readonly "--ui-spinner-size": "1.25rem";
|
|
1094
|
+
readonly "--ui-spinner-width": "2px";
|
|
1095
|
+
};
|
|
1096
|
+
readonly lg: {
|
|
1097
|
+
readonly "--ui-spinner-size": "3rem";
|
|
1098
|
+
readonly "--ui-spinner-width": "4px";
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
readonly separator: {
|
|
1103
|
+
readonly base: {
|
|
1104
|
+
readonly "--ui-separator-color": "var(--ui-border)";
|
|
1105
|
+
readonly "--ui-separator-gap": "1.5rem";
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
readonly breadcrumb: {
|
|
1109
|
+
readonly base: {
|
|
1110
|
+
readonly "--ui-breadcrumb-fs": "0.875rem";
|
|
1111
|
+
readonly "--ui-breadcrumb-sep": "var(--ui-surface-fg)";
|
|
1112
|
+
readonly gap: "0.5rem";
|
|
1113
|
+
};
|
|
1114
|
+
readonly sizes: {
|
|
1115
|
+
readonly sm: {
|
|
1116
|
+
readonly "--ui-breadcrumb-fs": "0.75rem";
|
|
1117
|
+
};
|
|
1118
|
+
readonly lg: {
|
|
1119
|
+
readonly "--ui-breadcrumb-fs": "1rem";
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
readonly pagination: {
|
|
1124
|
+
readonly base: {
|
|
1125
|
+
readonly "--ui-pagination-size": "2rem";
|
|
1126
|
+
readonly "--ui-pagination-fs": "0.875rem";
|
|
1127
|
+
readonly gap: "0";
|
|
1128
|
+
};
|
|
1129
|
+
readonly sizes: {
|
|
1130
|
+
readonly sm: {
|
|
1131
|
+
readonly "--ui-pagination-size": "1.75rem";
|
|
1132
|
+
readonly "--ui-pagination-fs": "0.75rem";
|
|
1133
|
+
};
|
|
1134
|
+
readonly lg: {
|
|
1135
|
+
readonly "--ui-pagination-size": "2.5rem";
|
|
1136
|
+
readonly "--ui-pagination-fs": "1rem";
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
readonly "pagination-item": {
|
|
1141
|
+
readonly base: {
|
|
1142
|
+
readonly "border-radius": "0";
|
|
1143
|
+
readonly "margin-left": "-1px";
|
|
1144
|
+
readonly "font-weight": "400";
|
|
1145
|
+
readonly "background-color": "transparent";
|
|
1146
|
+
readonly color: "color-mix(in oklab, var(--ui-surface-fg) 75%, var(--ui-surface))";
|
|
1147
|
+
readonly "&:hover": {
|
|
1148
|
+
readonly "background-color": "var(--ui-surface-muted)";
|
|
1149
|
+
};
|
|
1150
|
+
readonly '&[aria-current="page"], &[aria-current="page"]:hover': {
|
|
1151
|
+
readonly "background-color": "var(--ui-c-soft, var(--ui-neutral-soft))";
|
|
1152
|
+
readonly color: "var(--ui-c-soft-fg, var(--ui-neutral-soft-fg))";
|
|
1153
|
+
readonly "border-color": "var(--ui-c)";
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
readonly states: {
|
|
1157
|
+
readonly disabled: {
|
|
1158
|
+
readonly opacity: "0.5";
|
|
1159
|
+
readonly "pointer-events": "none";
|
|
1160
|
+
};
|
|
1161
|
+
readonly active: {
|
|
1162
|
+
readonly "background-color": "var(--ui-c-soft, var(--ui-neutral-soft))";
|
|
1163
|
+
readonly color: "var(--ui-c-soft-fg, var(--ui-neutral-soft-fg))";
|
|
1164
|
+
readonly "border-color": "var(--ui-c)";
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
readonly slider: {
|
|
1169
|
+
readonly base: {
|
|
1170
|
+
readonly "--ui-slider-track": "0.5rem";
|
|
1171
|
+
readonly "--ui-slider-thumb": "1rem";
|
|
1172
|
+
readonly "--ui-slider-track-bg": "var(--ui-surface-muted)";
|
|
1173
|
+
};
|
|
1174
|
+
readonly sizes: {
|
|
1175
|
+
readonly sm: {
|
|
1176
|
+
readonly "--ui-slider-track": "0.25rem";
|
|
1177
|
+
readonly "--ui-slider-thumb": "0.875rem";
|
|
1178
|
+
};
|
|
1179
|
+
readonly lg: {
|
|
1180
|
+
readonly "--ui-slider-track": "0.75rem";
|
|
1181
|
+
readonly "--ui-slider-thumb": "1.5rem";
|
|
1182
|
+
};
|
|
1183
|
+
};
|
|
1184
|
+
readonly states: {
|
|
1185
|
+
readonly disabled: {
|
|
1186
|
+
readonly opacity: "0.5";
|
|
1187
|
+
readonly cursor: "not-allowed";
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
readonly modal: {
|
|
1192
|
+
readonly base: {
|
|
1193
|
+
readonly "--ui-modal-w": "32rem";
|
|
1194
|
+
readonly padding: "1rem";
|
|
1195
|
+
};
|
|
1196
|
+
readonly styles: {
|
|
1197
|
+
readonly ghost: {
|
|
1198
|
+
readonly "background-color": "transparent";
|
|
1199
|
+
};
|
|
1200
|
+
readonly soft: {
|
|
1201
|
+
readonly "background-color": "var(--ui-overlay-soft)";
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
readonly sizes: {
|
|
1205
|
+
readonly sm: {
|
|
1206
|
+
readonly "--ui-modal-w": "28rem";
|
|
1207
|
+
};
|
|
1208
|
+
readonly lg: {
|
|
1209
|
+
readonly "--ui-modal-w": "56rem";
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
readonly states: {
|
|
1213
|
+
readonly active: {
|
|
1214
|
+
readonly visibility: "visible";
|
|
1215
|
+
readonly opacity: "1";
|
|
1216
|
+
readonly "pointer-events": "auto";
|
|
1217
|
+
readonly "transition-delay": "0s";
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
readonly "modal-box": {
|
|
1222
|
+
readonly base: {
|
|
1223
|
+
readonly padding: "1.25rem";
|
|
1224
|
+
readonly "border-radius": "0.5rem";
|
|
1225
|
+
readonly "border-top": "0";
|
|
1226
|
+
readonly "box-shadow": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
1227
|
+
};
|
|
1228
|
+
readonly sizes: {
|
|
1229
|
+
readonly sm: {
|
|
1230
|
+
readonly padding: "1rem";
|
|
1231
|
+
};
|
|
1232
|
+
readonly lg: {
|
|
1233
|
+
readonly padding: "1.75rem";
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
readonly tabs: {
|
|
1238
|
+
readonly base: {
|
|
1239
|
+
readonly "border-color": "var(--ui-border)";
|
|
1240
|
+
};
|
|
1241
|
+
readonly styles: {
|
|
1242
|
+
readonly outline: {
|
|
1243
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
1244
|
+
};
|
|
1245
|
+
readonly ghost: {
|
|
1246
|
+
readonly "border-color": "transparent";
|
|
1247
|
+
};
|
|
1248
|
+
readonly soft: {
|
|
1249
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
readonly sizes: {
|
|
1253
|
+
readonly sm: {
|
|
1254
|
+
readonly "font-size": "0.75rem";
|
|
1255
|
+
};
|
|
1256
|
+
readonly lg: {
|
|
1257
|
+
readonly "font-size": "1rem";
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
readonly tab: {
|
|
1262
|
+
readonly base: {
|
|
1263
|
+
readonly "--ui-tab-fs": "0.875rem";
|
|
1264
|
+
readonly "--ui-tab-px": "1rem";
|
|
1265
|
+
readonly "--ui-tab-py": "1rem";
|
|
1266
|
+
readonly "--ui-tab-radius": "0.5rem 0.5rem 0 0";
|
|
1267
|
+
readonly "font-weight": "500";
|
|
1268
|
+
readonly color: "color-mix(in oklab, var(--ui-surface-fg) 75%, var(--ui-surface))";
|
|
1269
|
+
readonly "&:hover": {
|
|
1270
|
+
readonly color: "var(--ui-surface-fg)";
|
|
1271
|
+
readonly "background-color": "transparent";
|
|
1272
|
+
readonly "border-color": "var(--ui-border)";
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
readonly sizes: {
|
|
1276
|
+
readonly sm: {
|
|
1277
|
+
readonly "--ui-tab-fs": "0.75rem";
|
|
1278
|
+
readonly "--ui-tab-px": "0.75rem";
|
|
1279
|
+
readonly "--ui-tab-py": "0.5rem";
|
|
1280
|
+
};
|
|
1281
|
+
readonly lg: {
|
|
1282
|
+
readonly "--ui-tab-fs": "1rem";
|
|
1283
|
+
readonly "--ui-tab-px": "1.25rem";
|
|
1284
|
+
readonly "--ui-tab-py": "1.25rem";
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
readonly states: {
|
|
1288
|
+
readonly disabled: {
|
|
1289
|
+
readonly opacity: "0.5";
|
|
1290
|
+
readonly "pointer-events": "none";
|
|
1291
|
+
};
|
|
1292
|
+
readonly loading: {
|
|
1293
|
+
readonly cursor: "progress";
|
|
1294
|
+
};
|
|
1295
|
+
readonly active: {
|
|
1296
|
+
readonly color: "var(--ui-primary-text)";
|
|
1297
|
+
readonly "background-color": "transparent";
|
|
1298
|
+
readonly "border-bottom-color": "var(--ui-primary-text)";
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
export default _default;
|
|
1305
|
+
//# sourceMappingURL=index.d.ts.map
|