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