@jonapin006/tiger 1.0.45 → 1.0.47
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 +798 -129
- package/dist/index.d.ts +50 -48
- package/dist/tiger.css +1 -1
- package/dist/tiger.es.js +637 -452
- package/dist/tiger.umd.js +1 -1
- package/package.json +1 -1
package/dist/tiger.es.js
CHANGED
|
@@ -41,25 +41,41 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
41
41
|
xlarge: "text-[32px] md:text-[48px] font-black tracking-tighter leading-tight",
|
|
42
42
|
weights: {
|
|
43
43
|
bold: "font-black",
|
|
44
|
+
semibold: "font-semibold",
|
|
44
45
|
normal: "font-medium"
|
|
45
46
|
},
|
|
46
47
|
styles: {
|
|
47
48
|
italic: "italic",
|
|
48
|
-
normal: ""
|
|
49
|
+
normal: "",
|
|
50
|
+
underline: "underline",
|
|
51
|
+
strikethrough: "line-through"
|
|
49
52
|
}
|
|
50
53
|
},
|
|
51
54
|
buttons: {
|
|
52
|
-
small: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
small: {
|
|
56
|
+
height: "h-7",
|
|
57
|
+
padding: "px-3",
|
|
58
|
+
typography: b.Small
|
|
59
|
+
},
|
|
60
|
+
none: {
|
|
61
|
+
height: "h-0 overflow-hidden",
|
|
62
|
+
padding: "px-0",
|
|
63
|
+
typography: b.Small
|
|
64
|
+
},
|
|
65
|
+
medium: {
|
|
66
|
+
height: "h-9",
|
|
67
|
+
padding: "px-5",
|
|
68
|
+
typography: b.Medium
|
|
69
|
+
},
|
|
70
|
+
large: {
|
|
71
|
+
height: "h-11",
|
|
72
|
+
padding: "px-7",
|
|
73
|
+
typography: b.Large
|
|
74
|
+
},
|
|
75
|
+
xlarge: {
|
|
76
|
+
height: "h-13",
|
|
77
|
+
padding: "px-9",
|
|
78
|
+
typography: b.Xlarge
|
|
63
79
|
},
|
|
64
80
|
baseTypography: "text-inherit leading-none font-black uppercase tracking-widest whitespace-nowrap",
|
|
65
81
|
baseStyles: "transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 inline-flex items-center justify-center shrink-0",
|
|
@@ -98,42 +114,49 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
98
114
|
baseStyles: "flex items-center justify-center transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 rounded-full"
|
|
99
115
|
},
|
|
100
116
|
badges: {
|
|
101
|
-
small: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
117
|
+
small: {
|
|
118
|
+
padding: "px-2 py-0.5",
|
|
119
|
+
corner: "rounded-sm",
|
|
120
|
+
typography: b.Xsmall
|
|
121
|
+
},
|
|
122
|
+
medium: {
|
|
123
|
+
padding: "px-3 py-1",
|
|
124
|
+
corner: "rounded-md",
|
|
125
|
+
typography: b.Small
|
|
106
126
|
},
|
|
107
127
|
typography: "leading-none tracking-widest uppercase",
|
|
108
128
|
baseStyles: "inline-flex items-center justify-center transition-all duration-300 shadow-none"
|
|
109
129
|
},
|
|
110
130
|
tabs: {
|
|
111
131
|
small: {
|
|
112
|
-
|
|
113
|
-
|
|
132
|
+
height: "h-8",
|
|
133
|
+
padding: "px-6",
|
|
134
|
+
contentSize: "pt-4",
|
|
135
|
+
typography: b.Small
|
|
114
136
|
},
|
|
115
137
|
none: {
|
|
116
|
-
|
|
117
|
-
|
|
138
|
+
height: "h-0",
|
|
139
|
+
padding: "px-0",
|
|
140
|
+
contentSize: "pt-0",
|
|
141
|
+
typography: b.Small
|
|
118
142
|
},
|
|
119
143
|
medium: {
|
|
120
|
-
|
|
121
|
-
|
|
144
|
+
height: "h-10",
|
|
145
|
+
padding: "px-8",
|
|
146
|
+
contentSize: "pt-6",
|
|
147
|
+
typography: b.Medium
|
|
122
148
|
},
|
|
123
149
|
large: {
|
|
124
|
-
|
|
125
|
-
|
|
150
|
+
height: "h-12",
|
|
151
|
+
padding: "px-10",
|
|
152
|
+
contentSize: "pt-8",
|
|
153
|
+
typography: b.Large
|
|
126
154
|
},
|
|
127
155
|
xlarge: {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
xsmall: b.Xsmall,
|
|
133
|
-
small: b.Small,
|
|
134
|
-
medium: b.Medium,
|
|
135
|
-
large: b.Large,
|
|
136
|
-
xlarge: b.Xlarge
|
|
156
|
+
height: "h-14",
|
|
157
|
+
padding: "px-12",
|
|
158
|
+
contentSize: "pt-10",
|
|
159
|
+
typography: b.Xlarge
|
|
137
160
|
},
|
|
138
161
|
wrapper: "w-full flex flex-col",
|
|
139
162
|
disabled: "opacity-50 cursor-not-allowed",
|
|
@@ -165,30 +188,28 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
165
188
|
cards: {
|
|
166
189
|
none: {
|
|
167
190
|
corner: "rounded-none",
|
|
168
|
-
padding: "p-4 md:p-4"
|
|
191
|
+
padding: "p-4 md:p-4",
|
|
192
|
+
typography: b.Xsmall
|
|
169
193
|
},
|
|
170
194
|
small: {
|
|
171
195
|
corner: "rounded-xl",
|
|
172
|
-
padding: "p-4 md:p-4"
|
|
196
|
+
padding: "p-4 md:p-4",
|
|
197
|
+
typography: b.Small
|
|
173
198
|
},
|
|
174
199
|
medium: {
|
|
175
200
|
corner: "rounded-2xl",
|
|
176
|
-
padding: "p-4 md:p-4"
|
|
201
|
+
padding: "p-4 md:p-4",
|
|
202
|
+
typography: b.Medium
|
|
177
203
|
},
|
|
178
204
|
large: {
|
|
179
205
|
corner: "rounded-3xl",
|
|
180
|
-
padding: "p-4 md:p-4"
|
|
206
|
+
padding: "p-4 md:p-4",
|
|
207
|
+
typography: b.Large
|
|
181
208
|
},
|
|
182
209
|
xlarge: {
|
|
183
210
|
corner: "rounded-4xl",
|
|
184
|
-
padding: "p-4 md:p-4"
|
|
185
|
-
|
|
186
|
-
typographyMappings: {
|
|
187
|
-
xsmall: b.Xsmall,
|
|
188
|
-
small: b.Small,
|
|
189
|
-
medium: b.Medium,
|
|
190
|
-
large: b.Large,
|
|
191
|
-
xlarge: b.Xlarge
|
|
211
|
+
padding: "p-4 md:p-4",
|
|
212
|
+
typography: b.Xlarge
|
|
192
213
|
},
|
|
193
214
|
baseStyles: "transition-all duration-300",
|
|
194
215
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
@@ -196,21 +217,22 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
196
217
|
},
|
|
197
218
|
checkbox: {
|
|
198
219
|
small: {
|
|
199
|
-
size: "w-5 h-5
|
|
200
|
-
|
|
220
|
+
size: "w-5 h-5",
|
|
221
|
+
corner: "rounded-md",
|
|
222
|
+
iconSize: 12,
|
|
223
|
+
typography: b.Small
|
|
201
224
|
},
|
|
202
225
|
medium: {
|
|
203
|
-
size: "w-6 h-6
|
|
204
|
-
|
|
226
|
+
size: "w-6 h-6",
|
|
227
|
+
corner: "rounded-lg",
|
|
228
|
+
iconSize: 18,
|
|
229
|
+
typography: b.Medium
|
|
205
230
|
},
|
|
206
231
|
large: {
|
|
207
|
-
size: "w-10 h-10
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
small: b.Small,
|
|
212
|
-
medium: b.Medium,
|
|
213
|
-
large: b.Large
|
|
232
|
+
size: "w-10 h-10",
|
|
233
|
+
corner: "rounded-lg",
|
|
234
|
+
iconSize: 20,
|
|
235
|
+
typography: b.Large
|
|
214
236
|
},
|
|
215
237
|
disabledStyles: "opacity-50 cursor-not-allowed",
|
|
216
238
|
icon: {
|
|
@@ -224,29 +246,57 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
224
246
|
defaultBorderRadius: "rounded-2xl",
|
|
225
247
|
transition: "transition-all duration-300",
|
|
226
248
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
227
|
-
|
|
249
|
+
typography: b.Small
|
|
228
250
|
},
|
|
229
251
|
input: {
|
|
230
|
-
small: {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
252
|
+
small: {
|
|
253
|
+
height: "h-8",
|
|
254
|
+
padding: "px-3",
|
|
255
|
+
fontSize: "text-xs"
|
|
256
|
+
},
|
|
257
|
+
none: {
|
|
258
|
+
height: "h-0",
|
|
259
|
+
padding: "px-0",
|
|
260
|
+
fontSize: "text-[0px]"
|
|
261
|
+
},
|
|
262
|
+
medium: {
|
|
263
|
+
height: "h-11",
|
|
264
|
+
padding: "px-4",
|
|
265
|
+
fontSize: "text-sm"
|
|
266
|
+
},
|
|
267
|
+
large: {
|
|
268
|
+
height: "h-14",
|
|
269
|
+
padding: "px-6",
|
|
270
|
+
fontSize: "text-base"
|
|
271
|
+
},
|
|
272
|
+
xlarge: {
|
|
273
|
+
height: "h-16",
|
|
274
|
+
padding: "px-8",
|
|
275
|
+
fontSize: "text-lg"
|
|
276
|
+
},
|
|
277
|
+
baseStyles: "w-full font-medium transition-all"
|
|
243
278
|
},
|
|
244
279
|
modal: {
|
|
245
|
-
small: {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
280
|
+
small: {
|
|
281
|
+
width: "max-w-md",
|
|
282
|
+
typography: b.Small
|
|
283
|
+
},
|
|
284
|
+
none: {
|
|
285
|
+
width: "max-w-0",
|
|
286
|
+
typography: b.Small
|
|
287
|
+
},
|
|
288
|
+
medium: {
|
|
289
|
+
width: "max-w-2xl",
|
|
290
|
+
typography: b.Medium
|
|
291
|
+
},
|
|
292
|
+
large: {
|
|
293
|
+
width: "max-w-4xl",
|
|
294
|
+
typography: b.Large
|
|
295
|
+
},
|
|
296
|
+
xlarge: {
|
|
297
|
+
width: "max-w-6xl",
|
|
298
|
+
typography: b.Xlarge
|
|
299
|
+
},
|
|
250
300
|
wrapper: "fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6 overflow-hidden",
|
|
251
301
|
overlay: "absolute inset-0 backdrop-blur-[8px] bg-transparent animate-in fade-in duration-500",
|
|
252
302
|
container: "relative w-full flex flex-col transition-all animate-in zoom-in-95 fade-in slide-in-from-bottom-4 duration-500",
|
|
@@ -256,34 +306,35 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
256
306
|
closeIconSize: 20,
|
|
257
307
|
contentSpacing: "flex-1 overflow-y-auto",
|
|
258
308
|
footerSpacing: "mt-8 pt-8 flex items-center justify-end gap-4",
|
|
259
|
-
footerBorder: "border-t border-white/5"
|
|
260
|
-
typographyMappings: {
|
|
261
|
-
xsmall: b.Xsmall,
|
|
262
|
-
small: b.Small,
|
|
263
|
-
medium: b.Medium,
|
|
264
|
-
large: b.Large,
|
|
265
|
-
xlarge: b.Xlarge
|
|
266
|
-
}
|
|
309
|
+
footerBorder: "border-t border-white/5"
|
|
267
310
|
},
|
|
268
311
|
list: {
|
|
269
|
-
small: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
312
|
+
small: {
|
|
313
|
+
padding: "py-2 px-2",
|
|
314
|
+
typography: b.Small
|
|
315
|
+
},
|
|
316
|
+
none: {
|
|
317
|
+
padding: "py-0 px-0",
|
|
318
|
+
typography: b.Small
|
|
319
|
+
},
|
|
320
|
+
medium: {
|
|
321
|
+
padding: "py-2.5 px-4",
|
|
322
|
+
typography: b.Medium
|
|
323
|
+
},
|
|
324
|
+
large: {
|
|
325
|
+
padding: "py-3.5 px-5",
|
|
326
|
+
typography: b.Large
|
|
327
|
+
},
|
|
328
|
+
xlarge: {
|
|
329
|
+
padding: "py-4 px-6",
|
|
330
|
+
typography: b.Xlarge
|
|
331
|
+
},
|
|
274
332
|
gap: "gap-0",
|
|
275
333
|
itemGap: "gap-3",
|
|
276
334
|
iconOpacity: "opacity-40",
|
|
277
335
|
transition: "transition-all duration-300",
|
|
278
336
|
itemCorner: "rounded-md",
|
|
279
337
|
containerCorner: "first:rounded-t-2xl last:rounded-b-2xl",
|
|
280
|
-
typographyMappings: {
|
|
281
|
-
xsmall: b.Xsmall,
|
|
282
|
-
small: b.Small,
|
|
283
|
-
medium: b.Medium,
|
|
284
|
-
large: b.Large,
|
|
285
|
-
xlarge: b.Xlarge
|
|
286
|
-
},
|
|
287
338
|
itemHoverResetColor: "transparent",
|
|
288
339
|
typographyInherit: "text-inherit"
|
|
289
340
|
},
|
|
@@ -295,10 +346,8 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
295
346
|
contentWrapper: "flex-1 flex flex-col justify-center",
|
|
296
347
|
actionsWrapper: "flex items-center shrink-0",
|
|
297
348
|
iconSize: "[&>svg]:w-5 [&>svg]:h-5",
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
description: b.Medium
|
|
301
|
-
},
|
|
349
|
+
titleTypographySize: b.Medium,
|
|
350
|
+
descriptionTypographySize: b.Medium,
|
|
302
351
|
titleExtra: "tracking-tight mb-0.5",
|
|
303
352
|
descriptionExtra: "leading-snug",
|
|
304
353
|
actionGap: "gap-3",
|
|
@@ -342,36 +391,39 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
342
391
|
dataCell: "",
|
|
343
392
|
dataBorder: "1px solid",
|
|
344
393
|
dataTypography: "text-inherit opacity-90 whitespace-nowrap leading-none font-medium",
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
data: b.Medium
|
|
348
|
-
}
|
|
394
|
+
headerTypographySize: b.Medium,
|
|
395
|
+
dataTypographySize: b.Medium
|
|
349
396
|
},
|
|
350
397
|
progress: {
|
|
351
398
|
small: {
|
|
352
399
|
height: "h-1",
|
|
353
400
|
trackRadius: "rounded-full",
|
|
354
|
-
gap: "gap-0.5"
|
|
401
|
+
gap: "gap-0.5",
|
|
402
|
+
typography: b.Small
|
|
355
403
|
},
|
|
356
404
|
none: {
|
|
357
405
|
height: "h-0",
|
|
358
406
|
trackRadius: "rounded-none",
|
|
359
|
-
gap: "gap-0"
|
|
407
|
+
gap: "gap-0",
|
|
408
|
+
typography: b.Small
|
|
360
409
|
},
|
|
361
410
|
medium: {
|
|
362
411
|
height: "h-1.5",
|
|
363
412
|
trackRadius: "rounded-full",
|
|
364
|
-
gap: "gap-1"
|
|
413
|
+
gap: "gap-1",
|
|
414
|
+
typography: b.Medium
|
|
365
415
|
},
|
|
366
416
|
large: {
|
|
367
417
|
height: "h-2",
|
|
368
418
|
trackRadius: "rounded-full",
|
|
369
|
-
gap: "gap-1.5"
|
|
419
|
+
gap: "gap-1.5",
|
|
420
|
+
typography: b.Large
|
|
370
421
|
},
|
|
371
422
|
xlarge: {
|
|
372
423
|
height: "h-2.5",
|
|
373
424
|
trackRadius: "rounded-full",
|
|
374
|
-
gap: "gap-2"
|
|
425
|
+
gap: "gap-2",
|
|
426
|
+
typography: b.Xlarge
|
|
375
427
|
},
|
|
376
428
|
container: "w-full group space-y-2",
|
|
377
429
|
wrapper: "w-full flex items-center min-h-[12px]",
|
|
@@ -382,14 +434,7 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
382
434
|
step: "flex-1 transition-all duration-500 relative overflow-hidden border",
|
|
383
435
|
stepEffect: "absolute inset-0 animate-pulse",
|
|
384
436
|
valueContainer: "flex justify-start px-0.5",
|
|
385
|
-
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
386
|
-
typographyMappings: {
|
|
387
|
-
xsmall: b.Xsmall,
|
|
388
|
-
small: b.Small,
|
|
389
|
-
medium: b.Medium,
|
|
390
|
-
large: b.Large,
|
|
391
|
-
xlarge: b.Xlarge
|
|
392
|
-
}
|
|
437
|
+
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
393
438
|
},
|
|
394
439
|
stack: {
|
|
395
440
|
small: { gap: "gap-2" },
|
|
@@ -490,19 +535,27 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
490
535
|
closeButton: "absolute top-2 right-2"
|
|
491
536
|
},
|
|
492
537
|
dropdown: {
|
|
493
|
-
small: {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
538
|
+
small: {
|
|
539
|
+
width: "min-w-[120px]",
|
|
540
|
+
typography: b.Small
|
|
541
|
+
},
|
|
542
|
+
none: {
|
|
543
|
+
width: "min-w-0",
|
|
544
|
+
typography: b.Small
|
|
545
|
+
},
|
|
546
|
+
medium: {
|
|
547
|
+
width: "min-w-[160px]",
|
|
548
|
+
typography: b.Medium
|
|
549
|
+
},
|
|
550
|
+
large: {
|
|
551
|
+
width: "min-w-[200px]",
|
|
552
|
+
typography: b.Large
|
|
553
|
+
},
|
|
554
|
+
xlarge: {
|
|
555
|
+
width: "min-w-[240px]",
|
|
556
|
+
typography: b.Xlarge
|
|
557
|
+
},
|
|
558
|
+
contentPositioning: "mt-2"
|
|
506
559
|
},
|
|
507
560
|
switch: {
|
|
508
561
|
small: {
|
|
@@ -523,10 +576,14 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
523
576
|
translateChecked: "translate-x-7",
|
|
524
577
|
translateUnchecked: "translate-x-0.5"
|
|
525
578
|
},
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
579
|
+
layout: {
|
|
580
|
+
container: "flex items-start gap-3",
|
|
581
|
+
contentWrapper: "flex flex-col gap-1",
|
|
582
|
+
baseStyles: "relative rounded-full transition-all duration-300 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-950 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
583
|
+
thumbStyles: "absolute rounded-full transition-transform duration-300 bg-white dark:bg-gray-200 shadow-md top-1/2 -translate-y-1/2 left-0.5",
|
|
584
|
+
label: "text-sm font-bold cursor-pointer",
|
|
585
|
+
description: "text-xs opacity-60"
|
|
586
|
+
}
|
|
530
587
|
},
|
|
531
588
|
sidebar: {
|
|
532
589
|
wrapper: "w-full md:w-80 md:min-w-[320px] md:max-w-[320px] h-full",
|
|
@@ -554,11 +611,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
554
611
|
title: "block w-full",
|
|
555
612
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
556
613
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
557
|
-
|
|
614
|
+
titleTypography: {
|
|
558
615
|
medium: b.Medium,
|
|
559
616
|
large: b.Large,
|
|
560
617
|
xlarge: b.Xlarge
|
|
561
|
-
}
|
|
618
|
+
},
|
|
619
|
+
descriptionTypography: b.Medium
|
|
562
620
|
},
|
|
563
621
|
layout: {
|
|
564
622
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -961,25 +1019,46 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
961
1019
|
xlarge: "text-[28px] md:text-[42px] font-black tracking-tighter leading-[0.9]",
|
|
962
1020
|
weights: {
|
|
963
1021
|
bold: "font-black",
|
|
1022
|
+
semibold: "font-semibold",
|
|
964
1023
|
normal: "font-medium"
|
|
965
1024
|
},
|
|
966
1025
|
styles: {
|
|
967
1026
|
italic: "italic",
|
|
968
|
-
normal: ""
|
|
1027
|
+
normal: "",
|
|
1028
|
+
underline: "underline",
|
|
1029
|
+
strikethrough: "line-through"
|
|
969
1030
|
}
|
|
970
1031
|
},
|
|
971
1032
|
buttons: {
|
|
972
|
-
small: {
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1033
|
+
small: {
|
|
1034
|
+
height: "h-8",
|
|
1035
|
+
padding: "px-4",
|
|
1036
|
+
corner: "rounded-md",
|
|
1037
|
+
typography: b.Small
|
|
1038
|
+
},
|
|
1039
|
+
none: {
|
|
1040
|
+
height: "h-0 overflow-hidden",
|
|
1041
|
+
padding: "px-0",
|
|
1042
|
+
corner: "rounded-none",
|
|
1043
|
+
typography: b.Small
|
|
1044
|
+
},
|
|
1045
|
+
medium: {
|
|
1046
|
+
height: "h-10",
|
|
1047
|
+
padding: "px-5",
|
|
1048
|
+
corner: "rounded-lg",
|
|
1049
|
+
typography: b.Medium
|
|
1050
|
+
},
|
|
1051
|
+
large: {
|
|
1052
|
+
height: "h-12",
|
|
1053
|
+
padding: "px-6",
|
|
1054
|
+
corner: "rounded-xl",
|
|
1055
|
+
typography: b.Large
|
|
1056
|
+
},
|
|
1057
|
+
xlarge: {
|
|
1058
|
+
height: "h-14",
|
|
1059
|
+
padding: "px-8",
|
|
1060
|
+
corner: "rounded-2xl",
|
|
1061
|
+
typography: b.Xlarge
|
|
983
1062
|
},
|
|
984
1063
|
baseTypography: "text-inherit leading-none font-black uppercase tracking-widest whitespace-nowrap",
|
|
985
1064
|
baseStyles: "transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 inline-flex items-center justify-center shrink-0",
|
|
@@ -1018,42 +1097,49 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1018
1097
|
baseStyles: "flex items-center justify-center transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 rounded-full"
|
|
1019
1098
|
},
|
|
1020
1099
|
badges: {
|
|
1021
|
-
small: {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1100
|
+
small: {
|
|
1101
|
+
padding: "px-2 py-0.5",
|
|
1102
|
+
corner: "rounded-md",
|
|
1103
|
+
typography: b.Xsmall
|
|
1104
|
+
},
|
|
1105
|
+
medium: {
|
|
1106
|
+
padding: "px-2.5 py-1",
|
|
1107
|
+
corner: "rounded-lg",
|
|
1108
|
+
typography: b.Small
|
|
1026
1109
|
},
|
|
1027
1110
|
typography: "leading-none tracking-widest uppercase font-black",
|
|
1028
1111
|
baseStyles: "inline-flex items-center justify-center transition-all duration-300 shadow-none"
|
|
1029
1112
|
},
|
|
1030
1113
|
tabs: {
|
|
1031
1114
|
small: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1115
|
+
height: "h-8",
|
|
1116
|
+
padding: "px-6",
|
|
1117
|
+
contentSize: "pt-4",
|
|
1118
|
+
typography: b.Small
|
|
1034
1119
|
},
|
|
1035
1120
|
none: {
|
|
1036
|
-
|
|
1037
|
-
|
|
1121
|
+
height: "h-0",
|
|
1122
|
+
padding: "px-0",
|
|
1123
|
+
contentSize: "pt-0",
|
|
1124
|
+
typography: b.Small
|
|
1038
1125
|
},
|
|
1039
1126
|
medium: {
|
|
1040
|
-
|
|
1041
|
-
|
|
1127
|
+
height: "h-10",
|
|
1128
|
+
padding: "px-8",
|
|
1129
|
+
contentSize: "pt-6",
|
|
1130
|
+
typography: b.Medium
|
|
1042
1131
|
},
|
|
1043
1132
|
large: {
|
|
1044
|
-
|
|
1045
|
-
|
|
1133
|
+
height: "h-12",
|
|
1134
|
+
padding: "px-10",
|
|
1135
|
+
contentSize: "pt-8",
|
|
1136
|
+
typography: b.Large
|
|
1046
1137
|
},
|
|
1047
1138
|
xlarge: {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
xsmall: b.Xsmall,
|
|
1053
|
-
small: b.Small,
|
|
1054
|
-
medium: b.Medium,
|
|
1055
|
-
large: b.Large,
|
|
1056
|
-
xlarge: b.Xlarge
|
|
1139
|
+
height: "h-14",
|
|
1140
|
+
padding: "px-12",
|
|
1141
|
+
contentSize: "pt-10",
|
|
1142
|
+
typography: b.Xlarge
|
|
1057
1143
|
},
|
|
1058
1144
|
wrapper: "w-full flex flex-col",
|
|
1059
1145
|
disabled: "opacity-50 cursor-not-allowed",
|
|
@@ -1085,30 +1171,28 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1085
1171
|
cards: {
|
|
1086
1172
|
none: {
|
|
1087
1173
|
corner: "rounded-none",
|
|
1088
|
-
padding: "p-4 md:p-4"
|
|
1174
|
+
padding: "p-4 md:p-4",
|
|
1175
|
+
typography: b.Xsmall
|
|
1089
1176
|
},
|
|
1090
1177
|
small: {
|
|
1091
1178
|
corner: "rounded-xl",
|
|
1092
|
-
padding: "p-4 md:p-4"
|
|
1179
|
+
padding: "p-4 md:p-4",
|
|
1180
|
+
typography: b.Small
|
|
1093
1181
|
},
|
|
1094
1182
|
medium: {
|
|
1095
1183
|
corner: "rounded-2xl",
|
|
1096
|
-
padding: "p-4 md:p-4"
|
|
1184
|
+
padding: "p-4 md:p-4",
|
|
1185
|
+
typography: b.Medium
|
|
1097
1186
|
},
|
|
1098
1187
|
large: {
|
|
1099
1188
|
corner: "rounded-3xl",
|
|
1100
|
-
padding: "p-4 md:p-4"
|
|
1189
|
+
padding: "p-4 md:p-4",
|
|
1190
|
+
typography: b.Large
|
|
1101
1191
|
},
|
|
1102
1192
|
xlarge: {
|
|
1103
1193
|
corner: "rounded-4xl",
|
|
1104
|
-
padding: "p-4 md:p-4"
|
|
1105
|
-
|
|
1106
|
-
typographyMappings: {
|
|
1107
|
-
xsmall: b.Xsmall,
|
|
1108
|
-
small: b.Small,
|
|
1109
|
-
medium: b.Medium,
|
|
1110
|
-
large: b.Large,
|
|
1111
|
-
xlarge: b.Xlarge
|
|
1194
|
+
padding: "p-4 md:p-4",
|
|
1195
|
+
typography: b.Xlarge
|
|
1112
1196
|
},
|
|
1113
1197
|
baseStyles: "transition-all duration-300",
|
|
1114
1198
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
@@ -1116,21 +1200,22 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1116
1200
|
},
|
|
1117
1201
|
checkbox: {
|
|
1118
1202
|
small: {
|
|
1119
|
-
size: "w-5 h-5
|
|
1120
|
-
|
|
1203
|
+
size: "w-5 h-5",
|
|
1204
|
+
corner: "rounded-md",
|
|
1205
|
+
iconSize: 12,
|
|
1206
|
+
typography: b.Small
|
|
1121
1207
|
},
|
|
1122
1208
|
medium: {
|
|
1123
|
-
size: "w-6 h-6
|
|
1124
|
-
|
|
1209
|
+
size: "w-6 h-6",
|
|
1210
|
+
corner: "rounded-lg",
|
|
1211
|
+
iconSize: 18,
|
|
1212
|
+
typography: b.Medium
|
|
1125
1213
|
},
|
|
1126
1214
|
large: {
|
|
1127
|
-
size: "w-10 h-10
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
small: b.Small,
|
|
1132
|
-
medium: b.Medium,
|
|
1133
|
-
large: b.Large
|
|
1215
|
+
size: "w-10 h-10",
|
|
1216
|
+
corner: "rounded-lg",
|
|
1217
|
+
iconSize: 20,
|
|
1218
|
+
typography: b.Large
|
|
1134
1219
|
},
|
|
1135
1220
|
disabledStyles: "opacity-50 cursor-not-allowed",
|
|
1136
1221
|
icon: {
|
|
@@ -1144,29 +1229,57 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1144
1229
|
defaultBorderRadius: "rounded-xl",
|
|
1145
1230
|
transition: "transition-all duration-300",
|
|
1146
1231
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
1147
|
-
|
|
1232
|
+
typography: b.Medium
|
|
1148
1233
|
},
|
|
1149
1234
|
input: {
|
|
1150
|
-
small: {
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1235
|
+
small: {
|
|
1236
|
+
height: "h-8",
|
|
1237
|
+
padding: "px-3",
|
|
1238
|
+
fontSize: "text-xs"
|
|
1239
|
+
},
|
|
1240
|
+
none: {
|
|
1241
|
+
height: "h-0",
|
|
1242
|
+
padding: "px-0",
|
|
1243
|
+
fontSize: "text-[0px]"
|
|
1244
|
+
},
|
|
1245
|
+
medium: {
|
|
1246
|
+
height: "h-11",
|
|
1247
|
+
padding: "px-4",
|
|
1248
|
+
fontSize: "text-sm"
|
|
1249
|
+
},
|
|
1250
|
+
large: {
|
|
1251
|
+
height: "h-14",
|
|
1252
|
+
padding: "px-6",
|
|
1253
|
+
fontSize: "text-base"
|
|
1254
|
+
},
|
|
1255
|
+
xlarge: {
|
|
1256
|
+
height: "h-16",
|
|
1257
|
+
padding: "px-8",
|
|
1258
|
+
fontSize: "text-lg"
|
|
1259
|
+
},
|
|
1260
|
+
baseStyles: "w-full font-medium transition-all"
|
|
1163
1261
|
},
|
|
1164
1262
|
modal: {
|
|
1165
|
-
small: {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1263
|
+
small: {
|
|
1264
|
+
width: "max-w-md",
|
|
1265
|
+
typography: b.Small
|
|
1266
|
+
},
|
|
1267
|
+
none: {
|
|
1268
|
+
width: "max-w-0",
|
|
1269
|
+
typography: b.Small
|
|
1270
|
+
},
|
|
1271
|
+
medium: {
|
|
1272
|
+
width: "max-w-2xl",
|
|
1273
|
+
typography: b.Medium
|
|
1274
|
+
},
|
|
1275
|
+
large: {
|
|
1276
|
+
width: "max-w-4xl",
|
|
1277
|
+
typography: b.Large
|
|
1278
|
+
},
|
|
1279
|
+
xlarge: {
|
|
1280
|
+
width: "max-w-6xl",
|
|
1281
|
+
typography: b.Xlarge
|
|
1282
|
+
},
|
|
1170
1283
|
wrapper: "fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6 overflow-hidden",
|
|
1171
1284
|
overlay: "absolute inset-0 backdrop-blur-sm bg-black/5",
|
|
1172
1285
|
container: "relative w-full flex flex-col bg-white border border-zinc-200 shadow-2xl",
|
|
@@ -1176,34 +1289,35 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1176
1289
|
closeIconSize: 16,
|
|
1177
1290
|
contentSpacing: "flex-1",
|
|
1178
1291
|
footerSpacing: "mt-6 pt-6 flex items-center justify-end gap-3",
|
|
1179
|
-
footerBorder: "border-t border-zinc-100"
|
|
1180
|
-
typographyMappings: {
|
|
1181
|
-
xsmall: b.Xsmall,
|
|
1182
|
-
small: b.Small,
|
|
1183
|
-
medium: b.Medium,
|
|
1184
|
-
large: b.Large,
|
|
1185
|
-
xlarge: b.Xlarge
|
|
1186
|
-
}
|
|
1292
|
+
footerBorder: "border-t border-zinc-100"
|
|
1187
1293
|
},
|
|
1188
1294
|
list: {
|
|
1189
|
-
small: {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1295
|
+
small: {
|
|
1296
|
+
padding: "py-2 px-3",
|
|
1297
|
+
typography: b.Small
|
|
1298
|
+
},
|
|
1299
|
+
none: {
|
|
1300
|
+
padding: "py-0 px-0",
|
|
1301
|
+
typography: b.Small
|
|
1302
|
+
},
|
|
1303
|
+
medium: {
|
|
1304
|
+
padding: "py-2.5 px-4",
|
|
1305
|
+
typography: b.Medium
|
|
1306
|
+
},
|
|
1307
|
+
large: {
|
|
1308
|
+
padding: "py-3.5 px-5",
|
|
1309
|
+
typography: b.Large
|
|
1310
|
+
},
|
|
1311
|
+
xlarge: {
|
|
1312
|
+
padding: "py-4 px-6",
|
|
1313
|
+
typography: b.Xlarge
|
|
1314
|
+
},
|
|
1194
1315
|
gap: "gap-0",
|
|
1195
1316
|
itemGap: "gap-4",
|
|
1196
1317
|
iconOpacity: "opacity-40",
|
|
1197
1318
|
transition: "transition-all duration-300",
|
|
1198
1319
|
itemCorner: "rounded-md",
|
|
1199
1320
|
containerCorner: "first:rounded-t-2xl last:rounded-b-2xl",
|
|
1200
|
-
typographyMappings: {
|
|
1201
|
-
xsmall: b.Xsmall,
|
|
1202
|
-
small: b.Small,
|
|
1203
|
-
medium: b.Medium,
|
|
1204
|
-
large: b.Large,
|
|
1205
|
-
xlarge: b.Xlarge
|
|
1206
|
-
},
|
|
1207
1321
|
itemHoverResetColor: "transparent",
|
|
1208
1322
|
typographyInherit: "text-inherit"
|
|
1209
1323
|
},
|
|
@@ -1215,10 +1329,8 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1215
1329
|
contentWrapper: "flex-1 flex flex-col justify-center",
|
|
1216
1330
|
actionsWrapper: "flex items-center shrink-0",
|
|
1217
1331
|
iconSize: "[&>svg]:w-5 [&>svg]:h-5",
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
description: b.Small
|
|
1221
|
-
},
|
|
1332
|
+
titleTypographySize: b.Medium,
|
|
1333
|
+
descriptionTypographySize: b.Small,
|
|
1222
1334
|
titleExtra: "tracking-tight",
|
|
1223
1335
|
descriptionExtra: "leading-normal",
|
|
1224
1336
|
actionGap: "gap-2",
|
|
@@ -1262,36 +1374,39 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1262
1374
|
dataCell: "",
|
|
1263
1375
|
dataBorder: "1px solid",
|
|
1264
1376
|
dataTypography: "text-inherit opacity-90 whitespace-nowrap leading-none font-medium",
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
data: b.Medium
|
|
1268
|
-
}
|
|
1377
|
+
headerTypographySize: b.Medium,
|
|
1378
|
+
dataTypographySize: b.Medium
|
|
1269
1379
|
},
|
|
1270
1380
|
progress: {
|
|
1271
1381
|
small: {
|
|
1272
1382
|
height: "h-1",
|
|
1273
1383
|
trackRadius: "rounded-full",
|
|
1274
|
-
gap: "gap-0.5"
|
|
1384
|
+
gap: "gap-0.5",
|
|
1385
|
+
typography: b.Small
|
|
1275
1386
|
},
|
|
1276
1387
|
none: {
|
|
1277
1388
|
height: "h-0",
|
|
1278
1389
|
trackRadius: "rounded-none",
|
|
1279
|
-
gap: "gap-0"
|
|
1390
|
+
gap: "gap-0",
|
|
1391
|
+
typography: b.Small
|
|
1280
1392
|
},
|
|
1281
1393
|
medium: {
|
|
1282
1394
|
height: "h-1.5",
|
|
1283
1395
|
trackRadius: "rounded-full",
|
|
1284
|
-
gap: "gap-1"
|
|
1396
|
+
gap: "gap-1",
|
|
1397
|
+
typography: b.Medium
|
|
1285
1398
|
},
|
|
1286
1399
|
large: {
|
|
1287
1400
|
height: "h-2",
|
|
1288
1401
|
trackRadius: "rounded-full",
|
|
1289
|
-
gap: "gap-1.5"
|
|
1402
|
+
gap: "gap-1.5",
|
|
1403
|
+
typography: b.Large
|
|
1290
1404
|
},
|
|
1291
1405
|
xlarge: {
|
|
1292
1406
|
height: "h-2.5",
|
|
1293
1407
|
trackRadius: "rounded-full",
|
|
1294
|
-
gap: "gap-2"
|
|
1408
|
+
gap: "gap-2",
|
|
1409
|
+
typography: b.Xlarge
|
|
1295
1410
|
},
|
|
1296
1411
|
container: "w-full group space-y-2",
|
|
1297
1412
|
wrapper: "w-full flex items-center min-h-[12px]",
|
|
@@ -1302,14 +1417,7 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1302
1417
|
step: "flex-1 transition-all duration-500 relative overflow-hidden border",
|
|
1303
1418
|
stepEffect: "absolute inset-0 animate-pulse",
|
|
1304
1419
|
valueContainer: "flex justify-start px-0.5",
|
|
1305
|
-
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
1306
|
-
typographyMappings: {
|
|
1307
|
-
xsmall: b.Xsmall,
|
|
1308
|
-
small: b.Small,
|
|
1309
|
-
medium: b.Medium,
|
|
1310
|
-
large: b.Large,
|
|
1311
|
-
xlarge: b.Xlarge
|
|
1312
|
-
}
|
|
1420
|
+
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
1313
1421
|
},
|
|
1314
1422
|
stack: {
|
|
1315
1423
|
small: { gap: "gap-2" },
|
|
@@ -1410,19 +1518,27 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1410
1518
|
corner: "rounded-2xl"
|
|
1411
1519
|
},
|
|
1412
1520
|
dropdown: {
|
|
1413
|
-
small: {
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1521
|
+
small: {
|
|
1522
|
+
width: "min-w-[120px]",
|
|
1523
|
+
typography: b.Small
|
|
1524
|
+
},
|
|
1525
|
+
none: {
|
|
1526
|
+
width: "min-w-0",
|
|
1527
|
+
typography: b.Small
|
|
1528
|
+
},
|
|
1529
|
+
medium: {
|
|
1530
|
+
width: "min-w-[160px]",
|
|
1531
|
+
typography: b.Medium
|
|
1532
|
+
},
|
|
1533
|
+
large: {
|
|
1534
|
+
width: "min-w-[200px]",
|
|
1535
|
+
typography: b.Large
|
|
1536
|
+
},
|
|
1537
|
+
xlarge: {
|
|
1538
|
+
width: "min-w-[240px]",
|
|
1539
|
+
typography: b.Xlarge
|
|
1540
|
+
},
|
|
1541
|
+
contentPositioning: "mt-2"
|
|
1426
1542
|
},
|
|
1427
1543
|
switch: {
|
|
1428
1544
|
small: {
|
|
@@ -1443,10 +1559,14 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1443
1559
|
translateChecked: "translate-x-7",
|
|
1444
1560
|
translateUnchecked: "translate-x-0.5"
|
|
1445
1561
|
},
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1562
|
+
layout: {
|
|
1563
|
+
container: "flex items-start gap-3",
|
|
1564
|
+
contentWrapper: "flex flex-col gap-1",
|
|
1565
|
+
baseStyles: "relative rounded-full transition-all duration-300 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-950 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
1566
|
+
thumbStyles: "absolute rounded-full transition-transform duration-300 bg-white dark:bg-gray-200 shadow-md top-1/2 -translate-y-1/2 left-0.5",
|
|
1567
|
+
label: "text-sm font-bold cursor-pointer",
|
|
1568
|
+
description: "text-xs opacity-60"
|
|
1569
|
+
}
|
|
1450
1570
|
},
|
|
1451
1571
|
sidebar: {
|
|
1452
1572
|
wrapper: "w-full md:w-80 md:min-w-[320px] md:max-w-[320px] h-full",
|
|
@@ -1474,11 +1594,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1474
1594
|
title: "block w-full",
|
|
1475
1595
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
1476
1596
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
1477
|
-
|
|
1597
|
+
titleTypography: {
|
|
1478
1598
|
medium: b.Medium,
|
|
1479
1599
|
large: b.Large,
|
|
1480
1600
|
xlarge: b.Xlarge
|
|
1481
|
-
}
|
|
1601
|
+
},
|
|
1602
|
+
descriptionTypography: b.Medium
|
|
1482
1603
|
},
|
|
1483
1604
|
layout: {
|
|
1484
1605
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -1881,25 +2002,46 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1881
2002
|
xlarge: "text-[28px] md:text-[42px] font-black tracking-tighter leading-[0.95]",
|
|
1882
2003
|
weights: {
|
|
1883
2004
|
bold: "font-black",
|
|
2005
|
+
semibold: "font-semibold",
|
|
1884
2006
|
normal: "font-medium"
|
|
1885
2007
|
},
|
|
1886
2008
|
styles: {
|
|
1887
2009
|
italic: "italic",
|
|
1888
|
-
normal: ""
|
|
2010
|
+
normal: "",
|
|
2011
|
+
underline: "underline",
|
|
2012
|
+
strikethrough: "line-through"
|
|
1889
2013
|
}
|
|
1890
2014
|
},
|
|
1891
2015
|
buttons: {
|
|
1892
|
-
small: {
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
2016
|
+
small: {
|
|
2017
|
+
height: "h-9",
|
|
2018
|
+
padding: "px-4",
|
|
2019
|
+
corner: "rounded-full",
|
|
2020
|
+
typography: b.Small
|
|
2021
|
+
},
|
|
2022
|
+
none: {
|
|
2023
|
+
height: "h-0 overflow-hidden",
|
|
2024
|
+
padding: "px-0",
|
|
2025
|
+
corner: "rounded-none",
|
|
2026
|
+
typography: b.Small
|
|
2027
|
+
},
|
|
2028
|
+
medium: {
|
|
2029
|
+
height: "h-11",
|
|
2030
|
+
padding: "px-6",
|
|
2031
|
+
corner: "rounded-full",
|
|
2032
|
+
typography: b.Medium
|
|
2033
|
+
},
|
|
2034
|
+
large: {
|
|
2035
|
+
height: "h-14",
|
|
2036
|
+
padding: "px-8",
|
|
2037
|
+
corner: "rounded-full",
|
|
2038
|
+
typography: b.Large
|
|
2039
|
+
},
|
|
2040
|
+
xlarge: {
|
|
2041
|
+
height: "h-16",
|
|
2042
|
+
padding: "px-10",
|
|
2043
|
+
corner: "rounded-full",
|
|
2044
|
+
typography: b.Xlarge
|
|
1903
2045
|
},
|
|
1904
2046
|
baseTypography: "text-inherit leading-none font-bold tracking-tight whitespace-nowrap",
|
|
1905
2047
|
baseStyles: "transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 inline-flex items-center justify-center shrink-0",
|
|
@@ -1938,42 +2080,49 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1938
2080
|
baseStyles: "flex items-center justify-center transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 rounded-full"
|
|
1939
2081
|
},
|
|
1940
2082
|
badges: {
|
|
1941
|
-
small: {
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
2083
|
+
small: {
|
|
2084
|
+
padding: "px-2.5 py-0.5",
|
|
2085
|
+
corner: "rounded-full",
|
|
2086
|
+
typography: b.Xsmall
|
|
2087
|
+
},
|
|
2088
|
+
medium: {
|
|
2089
|
+
padding: "px-3.5 py-1",
|
|
2090
|
+
corner: "rounded-full",
|
|
2091
|
+
typography: b.Small
|
|
1946
2092
|
},
|
|
1947
2093
|
typography: "leading-none tracking-tight font-bold",
|
|
1948
2094
|
baseStyles: "inline-flex items-center justify-center transition-all duration-300 shadow-none"
|
|
1949
2095
|
},
|
|
1950
2096
|
tabs: {
|
|
1951
2097
|
small: {
|
|
1952
|
-
|
|
1953
|
-
|
|
2098
|
+
height: "h-8",
|
|
2099
|
+
padding: "px-6",
|
|
2100
|
+
contentSize: "pt-4",
|
|
2101
|
+
typography: b.Small
|
|
1954
2102
|
},
|
|
1955
2103
|
none: {
|
|
1956
|
-
|
|
1957
|
-
|
|
2104
|
+
height: "h-0",
|
|
2105
|
+
padding: "px-0",
|
|
2106
|
+
contentSize: "pt-0",
|
|
2107
|
+
typography: b.Small
|
|
1958
2108
|
},
|
|
1959
2109
|
medium: {
|
|
1960
|
-
|
|
1961
|
-
|
|
2110
|
+
height: "h-10",
|
|
2111
|
+
padding: "px-8",
|
|
2112
|
+
contentSize: "pt-6",
|
|
2113
|
+
typography: b.Medium
|
|
1962
2114
|
},
|
|
1963
2115
|
large: {
|
|
1964
|
-
|
|
1965
|
-
|
|
2116
|
+
height: "h-12",
|
|
2117
|
+
padding: "px-10",
|
|
2118
|
+
contentSize: "pt-8",
|
|
2119
|
+
typography: b.Large
|
|
1966
2120
|
},
|
|
1967
2121
|
xlarge: {
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
xsmall: b.Xsmall,
|
|
1973
|
-
small: b.Small,
|
|
1974
|
-
medium: b.Medium,
|
|
1975
|
-
large: b.Large,
|
|
1976
|
-
xlarge: b.Xlarge
|
|
2122
|
+
height: "h-14",
|
|
2123
|
+
padding: "px-12",
|
|
2124
|
+
contentSize: "pt-10",
|
|
2125
|
+
typography: b.Xlarge
|
|
1977
2126
|
},
|
|
1978
2127
|
wrapper: "w-full flex flex-col",
|
|
1979
2128
|
disabled: "opacity-50 cursor-not-allowed",
|
|
@@ -2005,30 +2154,28 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2005
2154
|
cards: {
|
|
2006
2155
|
none: {
|
|
2007
2156
|
corner: "rounded-none",
|
|
2008
|
-
padding: "p-4 md:p-4"
|
|
2157
|
+
padding: "p-4 md:p-4",
|
|
2158
|
+
typography: b.Xsmall
|
|
2009
2159
|
},
|
|
2010
2160
|
small: {
|
|
2011
2161
|
corner: "rounded-xl",
|
|
2012
|
-
padding: "p-4 md:p-4"
|
|
2162
|
+
padding: "p-4 md:p-4",
|
|
2163
|
+
typography: b.Small
|
|
2013
2164
|
},
|
|
2014
2165
|
medium: {
|
|
2015
2166
|
corner: "rounded-2xl",
|
|
2016
|
-
padding: "p-4 md:p-4"
|
|
2167
|
+
padding: "p-4 md:p-4",
|
|
2168
|
+
typography: b.Medium
|
|
2017
2169
|
},
|
|
2018
2170
|
large: {
|
|
2019
2171
|
corner: "rounded-3xl",
|
|
2020
|
-
padding: "p-4 md:p-4"
|
|
2172
|
+
padding: "p-4 md:p-4",
|
|
2173
|
+
typography: b.Large
|
|
2021
2174
|
},
|
|
2022
2175
|
xlarge: {
|
|
2023
2176
|
corner: "rounded-4xl",
|
|
2024
|
-
padding: "p-4 md:p-4"
|
|
2025
|
-
|
|
2026
|
-
typographyMappings: {
|
|
2027
|
-
xsmall: b.Xsmall,
|
|
2028
|
-
small: b.Small,
|
|
2029
|
-
medium: b.Medium,
|
|
2030
|
-
large: b.Large,
|
|
2031
|
-
xlarge: b.Xlarge
|
|
2177
|
+
padding: "p-4 md:p-4",
|
|
2178
|
+
typography: b.Xlarge
|
|
2032
2179
|
},
|
|
2033
2180
|
baseStyles: "transition-all duration-300",
|
|
2034
2181
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
@@ -2036,21 +2183,22 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2036
2183
|
},
|
|
2037
2184
|
checkbox: {
|
|
2038
2185
|
small: {
|
|
2039
|
-
size: "w-6 h-6
|
|
2040
|
-
|
|
2186
|
+
size: "w-6 h-6",
|
|
2187
|
+
corner: "rounded-full",
|
|
2188
|
+
iconSize: 14,
|
|
2189
|
+
typography: b.Small
|
|
2041
2190
|
},
|
|
2042
2191
|
medium: {
|
|
2043
|
-
size: "w-8 h-8
|
|
2044
|
-
|
|
2192
|
+
size: "w-8 h-8",
|
|
2193
|
+
corner: "rounded-full",
|
|
2194
|
+
iconSize: 20,
|
|
2195
|
+
typography: b.Medium
|
|
2045
2196
|
},
|
|
2046
2197
|
large: {
|
|
2047
|
-
size: "w-12 h-12
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
small: b.Small,
|
|
2052
|
-
medium: b.Medium,
|
|
2053
|
-
large: b.Large
|
|
2198
|
+
size: "w-12 h-12",
|
|
2199
|
+
corner: "rounded-full",
|
|
2200
|
+
iconSize: 24,
|
|
2201
|
+
typography: b.Large
|
|
2054
2202
|
},
|
|
2055
2203
|
disabledStyles: "opacity-50 cursor-not-allowed",
|
|
2056
2204
|
icon: {
|
|
@@ -2064,29 +2212,57 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2064
2212
|
defaultBorderRadius: "rounded-[2.5rem]",
|
|
2065
2213
|
transition: "transition-all duration-700 cubic-bezier(0.23, 1, 0.32, 1)",
|
|
2066
2214
|
interactiveStyles: "cursor-pointer hover:shadow-3xl hover:bg-white/[0.03] active:scale-[0.99] group",
|
|
2067
|
-
|
|
2215
|
+
typography: b.Small
|
|
2068
2216
|
},
|
|
2069
2217
|
input: {
|
|
2070
|
-
small: {
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2218
|
+
small: {
|
|
2219
|
+
height: "h-9",
|
|
2220
|
+
padding: "px-3",
|
|
2221
|
+
fontSize: "text-xs"
|
|
2222
|
+
},
|
|
2223
|
+
none: {
|
|
2224
|
+
height: "h-0",
|
|
2225
|
+
padding: "px-0",
|
|
2226
|
+
fontSize: "text-[0px]"
|
|
2227
|
+
},
|
|
2228
|
+
medium: {
|
|
2229
|
+
height: "h-12",
|
|
2230
|
+
padding: "px-3",
|
|
2231
|
+
fontSize: "text-sm"
|
|
2232
|
+
},
|
|
2233
|
+
large: {
|
|
2234
|
+
height: "h-16",
|
|
2235
|
+
padding: "px-3",
|
|
2236
|
+
fontSize: "text-base"
|
|
2237
|
+
},
|
|
2238
|
+
xlarge: {
|
|
2239
|
+
height: "h-20",
|
|
2240
|
+
padding: "px-3",
|
|
2241
|
+
fontSize: "text-lg"
|
|
2242
|
+
},
|
|
2243
|
+
baseStyles: "w-full font-medium transition-all duration-500"
|
|
2083
2244
|
},
|
|
2084
2245
|
modal: {
|
|
2085
|
-
small: {
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2246
|
+
small: {
|
|
2247
|
+
width: "max-w-md",
|
|
2248
|
+
typography: b.Small
|
|
2249
|
+
},
|
|
2250
|
+
none: {
|
|
2251
|
+
width: "max-w-0",
|
|
2252
|
+
typography: b.Small
|
|
2253
|
+
},
|
|
2254
|
+
medium: {
|
|
2255
|
+
width: "max-w-2xl",
|
|
2256
|
+
typography: b.Medium
|
|
2257
|
+
},
|
|
2258
|
+
large: {
|
|
2259
|
+
width: "max-w-4xl",
|
|
2260
|
+
typography: b.Large
|
|
2261
|
+
},
|
|
2262
|
+
xlarge: {
|
|
2263
|
+
width: "max-w-6xl",
|
|
2264
|
+
typography: b.Xlarge
|
|
2265
|
+
},
|
|
2090
2266
|
wrapper: "fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6 overflow-hidden",
|
|
2091
2267
|
overlay: "absolute inset-0 backdrop-blur-xl bg-black/40",
|
|
2092
2268
|
titleExtra: "tracking-tighter",
|
|
@@ -2096,34 +2272,35 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2096
2272
|
contentSpacing: "flex-1 px-6 pb-6 md:px-8 md:pb-8",
|
|
2097
2273
|
footerSpacing: "p-6 flex items-center justify-end gap-3 md:p-8 md:gap-4",
|
|
2098
2274
|
closeIconSize: 20,
|
|
2099
|
-
closeButton: "absolute top-4 right-4 z-50 w-10 h-10 p-0 rounded-full flex items-center justify-center bg-white/10 hover:bg-white/20 backdrop-blur-xl transition-all"
|
|
2100
|
-
typographyMappings: {
|
|
2101
|
-
xsmall: b.Xsmall,
|
|
2102
|
-
small: b.Small,
|
|
2103
|
-
medium: b.Medium,
|
|
2104
|
-
large: b.Large,
|
|
2105
|
-
xlarge: b.Xlarge
|
|
2106
|
-
}
|
|
2275
|
+
closeButton: "absolute top-4 right-4 z-50 w-10 h-10 p-0 rounded-full flex items-center justify-center bg-white/10 hover:bg-white/20 backdrop-blur-xl transition-all"
|
|
2107
2276
|
},
|
|
2108
2277
|
list: {
|
|
2109
|
-
small: {
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2278
|
+
small: {
|
|
2279
|
+
padding: "py-2 px-4 shadow-none",
|
|
2280
|
+
typography: b.Small
|
|
2281
|
+
},
|
|
2282
|
+
none: {
|
|
2283
|
+
padding: "py-0 px-0 shadow-none",
|
|
2284
|
+
typography: b.Small
|
|
2285
|
+
},
|
|
2286
|
+
medium: {
|
|
2287
|
+
padding: "py-3 px-4 shadow-none",
|
|
2288
|
+
typography: b.Medium
|
|
2289
|
+
},
|
|
2290
|
+
large: {
|
|
2291
|
+
padding: "py-4 px-4 shadow-none",
|
|
2292
|
+
typography: b.Medium
|
|
2293
|
+
},
|
|
2294
|
+
xlarge: {
|
|
2295
|
+
padding: "py-5 px-4 shadow-none",
|
|
2296
|
+
typography: b.Large
|
|
2297
|
+
},
|
|
2114
2298
|
gap: "gap-0",
|
|
2115
2299
|
itemGap: "gap-2",
|
|
2116
2300
|
iconOpacity: "opacity-60",
|
|
2117
2301
|
transition: "transition-all duration-500 cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2118
2302
|
itemCorner: "rounded-none",
|
|
2119
2303
|
containerCorner: "rounded-[1.0rem]",
|
|
2120
|
-
typographyMappings: {
|
|
2121
|
-
xsmall: b.Xsmall,
|
|
2122
|
-
small: b.Small,
|
|
2123
|
-
medium: b.Medium,
|
|
2124
|
-
large: b.Medium,
|
|
2125
|
-
xlarge: b.Large
|
|
2126
|
-
},
|
|
2127
2304
|
itemHoverResetColor: "transparent",
|
|
2128
2305
|
typographyInherit: "bg-transparent transition-all"
|
|
2129
2306
|
},
|
|
@@ -2135,10 +2312,8 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2135
2312
|
contentWrapper: "flex-1 flex flex-col justify-center",
|
|
2136
2313
|
actionsWrapper: "flex items-center shrink-0",
|
|
2137
2314
|
iconSize: "[&>svg]:w-5 [&>svg]:h-5",
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
description: b.Small
|
|
2141
|
-
},
|
|
2315
|
+
titleTypographySize: b.Medium,
|
|
2316
|
+
descriptionTypographySize: b.Small,
|
|
2142
2317
|
titleExtra: "tracking-tighter",
|
|
2143
2318
|
descriptionExtra: "leading-tight",
|
|
2144
2319
|
actionGap: "gap-4",
|
|
@@ -2182,36 +2357,39 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2182
2357
|
dataCell: "",
|
|
2183
2358
|
dataBorder: "1px solid",
|
|
2184
2359
|
dataTypography: "text-inherit opacity-90 whitespace-nowrap leading-none font-medium",
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
data: b.Medium
|
|
2188
|
-
}
|
|
2360
|
+
headerTypographySize: b.Medium,
|
|
2361
|
+
dataTypographySize: b.Medium
|
|
2189
2362
|
},
|
|
2190
2363
|
progress: {
|
|
2191
2364
|
small: {
|
|
2192
2365
|
height: "h-1",
|
|
2193
2366
|
trackRadius: "rounded-full",
|
|
2194
|
-
gap: "gap-0.5"
|
|
2367
|
+
gap: "gap-0.5",
|
|
2368
|
+
typography: b.Small
|
|
2195
2369
|
},
|
|
2196
2370
|
none: {
|
|
2197
2371
|
height: "h-0",
|
|
2198
2372
|
trackRadius: "rounded-none",
|
|
2199
|
-
gap: "gap-0"
|
|
2373
|
+
gap: "gap-0",
|
|
2374
|
+
typography: b.Small
|
|
2200
2375
|
},
|
|
2201
2376
|
medium: {
|
|
2202
2377
|
height: "h-1.5",
|
|
2203
2378
|
trackRadius: "rounded-full",
|
|
2204
|
-
gap: "gap-1"
|
|
2379
|
+
gap: "gap-1",
|
|
2380
|
+
typography: b.Medium
|
|
2205
2381
|
},
|
|
2206
2382
|
large: {
|
|
2207
2383
|
height: "h-2",
|
|
2208
2384
|
trackRadius: "rounded-full",
|
|
2209
|
-
gap: "gap-1.5"
|
|
2385
|
+
gap: "gap-1.5",
|
|
2386
|
+
typography: b.Large
|
|
2210
2387
|
},
|
|
2211
2388
|
xlarge: {
|
|
2212
2389
|
height: "h-2.5",
|
|
2213
2390
|
trackRadius: "rounded-full",
|
|
2214
|
-
gap: "gap-2"
|
|
2391
|
+
gap: "gap-2",
|
|
2392
|
+
typography: b.Xlarge
|
|
2215
2393
|
},
|
|
2216
2394
|
container: "w-full group space-y-2",
|
|
2217
2395
|
wrapper: "w-full flex items-center min-h-[12px]",
|
|
@@ -2222,14 +2400,7 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2222
2400
|
step: "flex-1 transition-all duration-500 relative overflow-hidden border border-white/10 backdrop-blur-xl",
|
|
2223
2401
|
stepEffect: "absolute inset-0 animate-pulse",
|
|
2224
2402
|
valueContainer: "flex justify-start px-0.5",
|
|
2225
|
-
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
2226
|
-
typographyMappings: {
|
|
2227
|
-
xsmall: b.Xsmall,
|
|
2228
|
-
small: b.Small,
|
|
2229
|
-
medium: b.Medium,
|
|
2230
|
-
large: b.Large,
|
|
2231
|
-
xlarge: b.Xlarge
|
|
2232
|
-
}
|
|
2403
|
+
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
2233
2404
|
},
|
|
2234
2405
|
stack: {
|
|
2235
2406
|
small: { gap: "gap-2" },
|
|
@@ -2330,19 +2501,27 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2330
2501
|
corner: "rounded-[1rem]"
|
|
2331
2502
|
},
|
|
2332
2503
|
dropdown: {
|
|
2333
|
-
small: {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2504
|
+
small: {
|
|
2505
|
+
width: "min-w-[120px]",
|
|
2506
|
+
typography: b.Small
|
|
2507
|
+
},
|
|
2508
|
+
none: {
|
|
2509
|
+
width: "min-w-0",
|
|
2510
|
+
typography: b.Small
|
|
2511
|
+
},
|
|
2512
|
+
medium: {
|
|
2513
|
+
width: "min-w-[160px]",
|
|
2514
|
+
typography: b.Medium
|
|
2515
|
+
},
|
|
2516
|
+
large: {
|
|
2517
|
+
width: "min-w-[200px]",
|
|
2518
|
+
typography: b.Large
|
|
2519
|
+
},
|
|
2520
|
+
xlarge: {
|
|
2521
|
+
width: "min-w-[240px]",
|
|
2522
|
+
typography: b.Xlarge
|
|
2523
|
+
},
|
|
2524
|
+
contentPositioning: "mt-2"
|
|
2346
2525
|
},
|
|
2347
2526
|
switch: {
|
|
2348
2527
|
small: {
|
|
@@ -2363,10 +2542,14 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2363
2542
|
translateChecked: "translate-x-7",
|
|
2364
2543
|
translateUnchecked: "translate-x-0.5"
|
|
2365
2544
|
},
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2545
|
+
layout: {
|
|
2546
|
+
container: "flex items-start gap-3",
|
|
2547
|
+
contentWrapper: "flex flex-col gap-1",
|
|
2548
|
+
baseStyles: "relative rounded-full transition-all duration-300 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-950 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
2549
|
+
thumbStyles: "absolute rounded-full transition-transform duration-300 bg-white dark:bg-gray-200 shadow-md top-1/2 -translate-y-1/2 left-0.5",
|
|
2550
|
+
label: "text-sm font-bold cursor-pointer",
|
|
2551
|
+
description: "text-xs opacity-60"
|
|
2552
|
+
}
|
|
2370
2553
|
},
|
|
2371
2554
|
sidebar: {
|
|
2372
2555
|
wrapper: "w-full md:w-70 md:min-w-[280px] md:max-w-[280px] h-full",
|
|
@@ -2394,11 +2577,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2394
2577
|
title: "block w-full",
|
|
2395
2578
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
2396
2579
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
2397
|
-
|
|
2580
|
+
titleTypography: {
|
|
2398
2581
|
medium: b.Medium,
|
|
2399
2582
|
large: b.Large,
|
|
2400
2583
|
xlarge: b.Xlarge
|
|
2401
|
-
}
|
|
2584
|
+
},
|
|
2585
|
+
descriptionTypography: b.Medium
|
|
2402
2586
|
},
|
|
2403
2587
|
layout: {
|
|
2404
2588
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -2843,18 +3027,18 @@ function I(...e) {
|
|
|
2843
3027
|
}
|
|
2844
3028
|
//#endregion
|
|
2845
3029
|
//#region src/presentation/components/TigerTypography.tsx
|
|
2846
|
-
var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p",
|
|
2847
|
-
let { theme:
|
|
2848
|
-
return /* @__PURE__ */ c(
|
|
2849
|
-
id:
|
|
2850
|
-
className: I(
|
|
2851
|
-
style:
|
|
3030
|
+
var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", weight: r, bold: i = !1, italic: a = !1, underline: o = !1, strikethrough: s = !1, className: l, style: u, id: d }) => {
|
|
3031
|
+
let { theme: f } = F(), p = n, m = f.geometry.typography, h = r ?? (i ? "bold" : void 0), g = h === "bold" ? m.weights.bold : h === "semibold" ? m.weights.semibold : h === "regular" ? m.weights.normal : t === b.Xlarge ? m.weights.bold : m.weights.normal, _ = a ? m.styles.italic : m.styles.normal, v = o ? m.styles.underline : "", y = s ? m.styles.strikethrough : "";
|
|
3032
|
+
return /* @__PURE__ */ c(p, {
|
|
3033
|
+
id: d,
|
|
3034
|
+
className: I(m[t], g, _, v, y, l),
|
|
3035
|
+
style: u,
|
|
2852
3036
|
children: e
|
|
2853
3037
|
});
|
|
2854
3038
|
}, R = ({ children: e, variant: t = T.Primary, size: n = y.Medium, typographySize: r, className: i, style: a }) => {
|
|
2855
|
-
let { theme: o, themeConfig: s } = F(), l = o.geometry.badges[n], u = r ||
|
|
3039
|
+
let { theme: o, themeConfig: s } = F(), l = o.geometry.badges[n], u = r || l.typography;
|
|
2856
3040
|
return /* @__PURE__ */ c("div", {
|
|
2857
|
-
className: I(o.geometry.badges.baseStyles, s.badges.base, l.
|
|
3041
|
+
className: I(o.geometry.badges.baseStyles, s.badges.base, l.padding, l.corner, s.badges.variants[t], i),
|
|
2858
3042
|
style: a,
|
|
2859
3043
|
children: /* @__PURE__ */ c(L, {
|
|
2860
3044
|
typographySize: u,
|
|
@@ -2864,9 +3048,9 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2864
3048
|
})
|
|
2865
3049
|
});
|
|
2866
3050
|
}, te = ({ variant: e = E.Primary, size: t = y.Medium, typographySize: n, iconLeft: r, iconRight: i, fullWidth: a = !1, className: o, children: s, ...u }) => {
|
|
2867
|
-
let { theme: d, themeConfig: f } = F(), p = f.buttons[e], m = t, h = d.geometry.buttons[m], g = n ||
|
|
3051
|
+
let { theme: d, themeConfig: f } = F(), p = f.buttons[e], m = t, h = d.geometry.buttons[m], g = n || h.typography;
|
|
2868
3052
|
return /* @__PURE__ */ l("button", {
|
|
2869
|
-
className: I(d.geometry.buttons.baseStyles, p, h.
|
|
3053
|
+
className: I(d.geometry.buttons.baseStyles, p, h.height, h.padding, h.corner, d.geometry.buttons.layout.container, a && d.geometry.buttons.layout.fullWidth, o),
|
|
2870
3054
|
...u,
|
|
2871
3055
|
children: [
|
|
2872
3056
|
r && /* @__PURE__ */ c(r, { className: d.geometry.buttons.layout.icon }),
|
|
@@ -2888,7 +3072,7 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2888
3072
|
"aria-checked": e,
|
|
2889
3073
|
disabled: i,
|
|
2890
3074
|
onClick: l,
|
|
2891
|
-
className: I(o.checkbox.base, s.size, e ? o.checkbox.checked : o.checkbox.unchecked, i && a.geometry.checkbox.disabledStyles, r),
|
|
3075
|
+
className: I(o.checkbox.base, s.size, s.corner, e ? o.checkbox.checked : o.checkbox.unchecked, i && a.geometry.checkbox.disabledStyles, r),
|
|
2892
3076
|
children: /* @__PURE__ */ c(f, {
|
|
2893
3077
|
size: s.iconSize,
|
|
2894
3078
|
strokeWidth: 4,
|
|
@@ -2908,10 +3092,10 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2908
3092
|
children: m()
|
|
2909
3093
|
});
|
|
2910
3094
|
}, B = n(({ size: e = y.Medium, className: t, style: n, ...r }, i) => {
|
|
2911
|
-
let { theme: a, themeConfig: o } = F(), s = e;
|
|
3095
|
+
let { theme: a, themeConfig: o } = F(), s = e, l = a.geometry.input[s];
|
|
2912
3096
|
return /* @__PURE__ */ c("input", {
|
|
2913
3097
|
ref: i,
|
|
2914
|
-
className: I(a.geometry.input.baseStyles, o.input,
|
|
3098
|
+
className: I(a.geometry.input.baseStyles, o.input, l.height, l.padding, l.fontSize, t),
|
|
2915
3099
|
style: n,
|
|
2916
3100
|
...r
|
|
2917
3101
|
});
|
|
@@ -2920,32 +3104,32 @@ B.displayName = "TigerInput";
|
|
|
2920
3104
|
//#endregion
|
|
2921
3105
|
//#region src/presentation/components/TigerProgress.tsx
|
|
2922
3106
|
var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "bar", max: i = 100, size: a = y.Medium, typographySize: o, showValue: s = !0, className: u }) => {
|
|
2923
|
-
let { theme: d, themeConfig: f } = F(), p = Math.min(Math.max(r === "bar" ? e / i * 100 : t / n * 100, 0), 100), m = d.geometry.progress, h = f.progress, g = m[
|
|
2924
|
-
className: I(m.track,
|
|
3107
|
+
let { theme: d, themeConfig: f } = F(), p = Math.min(Math.max(r === "bar" ? e / i * 100 : t / n * 100, 0), 100), m = d.geometry.progress, h = f.progress, g = a, _ = m[g], v = o || m[g].typography, b = () => /* @__PURE__ */ c("div", {
|
|
3108
|
+
className: I(m.track, _.height, _.trackRadius, h.track),
|
|
2925
3109
|
children: /* @__PURE__ */ c("div", {
|
|
2926
|
-
className: I(m.fill,
|
|
3110
|
+
className: I(m.fill, _.trackRadius, h.fill),
|
|
2927
3111
|
style: { width: `${p}%` },
|
|
2928
3112
|
children: /* @__PURE__ */ c("div", { className: I(m.fillEffect, h.fillEffectColor) })
|
|
2929
3113
|
})
|
|
2930
|
-
}),
|
|
2931
|
-
className: I(m.stepContainer,
|
|
3114
|
+
}), x = () => /* @__PURE__ */ c("div", {
|
|
3115
|
+
className: I(m.stepContainer, _.gap),
|
|
2932
3116
|
children: Array.from({ length: n }).map((e, n) => /* @__PURE__ */ c("div", {
|
|
2933
|
-
className: I(m.step,
|
|
3117
|
+
className: I(m.step, _.height, _.trackRadius, n < t ? h.fill : h.unfilled),
|
|
2934
3118
|
children: n < t && /* @__PURE__ */ c("div", { className: I(m.stepEffect, h.fillEffectColor) })
|
|
2935
3119
|
}, n))
|
|
2936
|
-
}),
|
|
3120
|
+
}), S = r === "bar" ? `${Math.round(p)}%` : `${t}/${n}`;
|
|
2937
3121
|
return /* @__PURE__ */ l("div", {
|
|
2938
3122
|
className: I(m.container, u),
|
|
2939
3123
|
children: [/* @__PURE__ */ c("div", {
|
|
2940
3124
|
className: m.wrapper,
|
|
2941
|
-
children: r === "bar" ?
|
|
3125
|
+
children: r === "bar" ? b() : x()
|
|
2942
3126
|
}), s && /* @__PURE__ */ c("div", {
|
|
2943
3127
|
className: m.valueContainer,
|
|
2944
3128
|
children: /* @__PURE__ */ c(L, {
|
|
2945
|
-
typographySize:
|
|
3129
|
+
typographySize: v,
|
|
2946
3130
|
bold: !0,
|
|
2947
3131
|
className: I(m.valueStyles, h.value),
|
|
2948
|
-
children:
|
|
3132
|
+
children: S
|
|
2949
3133
|
})
|
|
2950
3134
|
})]
|
|
2951
3135
|
});
|
|
@@ -2959,28 +3143,29 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
2959
3143
|
return d.switch.disabled;
|
|
2960
3144
|
};
|
|
2961
3145
|
return /* @__PURE__ */ l("div", {
|
|
2962
|
-
className: I(
|
|
3146
|
+
className: I(u.geometry.switch.layout.container, s),
|
|
2963
3147
|
children: [/* @__PURE__ */ c("button", {
|
|
2964
3148
|
role: "switch",
|
|
2965
3149
|
"aria-checked": e,
|
|
2966
3150
|
"aria-disabled": n,
|
|
2967
3151
|
onClick: () => !n && t(!e),
|
|
2968
3152
|
disabled: n,
|
|
2969
|
-
className: I(u.geometry.switch.baseStyles, p.track, m()),
|
|
2970
|
-
children: /* @__PURE__ */ c("div", { className: I(u.geometry.switch.thumbStyles, p.thumb, e ? p.translateChecked : p.translateUnchecked) })
|
|
3153
|
+
className: I(u.geometry.switch.layout.baseStyles, p.track, m()),
|
|
3154
|
+
children: /* @__PURE__ */ c("div", { className: I(u.geometry.switch.layout.thumbStyles, p.thumb, e ? p.translateChecked : p.translateUnchecked) })
|
|
2971
3155
|
}), (a || o) && /* @__PURE__ */ l("div", {
|
|
2972
|
-
className:
|
|
3156
|
+
className: u.geometry.switch.layout.contentWrapper,
|
|
2973
3157
|
children: [a && /* @__PURE__ */ c("label", {
|
|
2974
|
-
className: u.geometry.switch.label,
|
|
3158
|
+
className: u.geometry.switch.layout.label,
|
|
3159
|
+
onClick: () => !n && t(!e),
|
|
2975
3160
|
children: a
|
|
2976
3161
|
}), o && /* @__PURE__ */ c("p", {
|
|
2977
|
-
className: u.geometry.switch.description,
|
|
3162
|
+
className: u.geometry.switch.layout.description,
|
|
2978
3163
|
children: o
|
|
2979
3164
|
})]
|
|
2980
3165
|
})]
|
|
2981
3166
|
});
|
|
2982
3167
|
}, ae = ({ children: e, className: t, style: n, size: r = y.Medium, typographySize: i, onClick: a }) => {
|
|
2983
|
-
let { theme: o, themeConfig: s } = F(), l = r, u = o.geometry.cards[l], d = i ||
|
|
3168
|
+
let { theme: o, themeConfig: s } = F(), l = r, u = o.geometry.cards[l], d = i || u.typography, f = o.geometry.typography[d];
|
|
2984
3169
|
return /* @__PURE__ */ c("div", {
|
|
2985
3170
|
onClick: a,
|
|
2986
3171
|
role: a ? "button" : void 0,
|
|
@@ -3093,7 +3278,7 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
3093
3278
|
children: e
|
|
3094
3279
|
});
|
|
3095
3280
|
}, U = ({ title: e, description: t, actions: n, className: r, size: i = y.Xlarge, titleTypographySize: a, descriptionTypographySize: o }) => {
|
|
3096
|
-
let { themeConfig: s, theme: u } = F(), d = u.geometry.topbar, f = a || d.
|
|
3281
|
+
let { themeConfig: s, theme: u } = F(), d = u.geometry.topbar, f = a || d.titleTypography[i], p = o || d.descriptionTypography;
|
|
3097
3282
|
return /* @__PURE__ */ l("header", {
|
|
3098
3283
|
className: I(d.wrapper, s.layout.topbar.container, d.padding, d.margin, d.corner, d.height, d.width, r),
|
|
3099
3284
|
children: [
|
|
@@ -3249,7 +3434,7 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
3249
3434
|
}, [s, u]), s ? g(/* @__PURE__ */ c("div", {
|
|
3250
3435
|
ref: l,
|
|
3251
3436
|
role: "listbox",
|
|
3252
|
-
className: I(f.dropdown?.content || "", d.geometry.dropdown?.[h]?.
|
|
3437
|
+
className: I(f.dropdown?.content || "", d.geometry.dropdown?.[h]?.width || "", d.geometry.dropdown?.contentPositioning || "", n),
|
|
3253
3438
|
style: {
|
|
3254
3439
|
position: "absolute",
|
|
3255
3440
|
top: p.top,
|
|
@@ -3288,9 +3473,9 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3288
3473
|
}) : t)
|
|
3289
3474
|
});
|
|
3290
3475
|
}, de = ({ children: t, className: n, icon: r, size: i = y.Medium, typographySize: a, style: o }) => {
|
|
3291
|
-
let { theme: s, themeConfig: u } = F(), d = s.geometry.list, { itemCorner: f, itemGap: p, iconOpacity: m, transition: h } = d, g = i, _ = a || d
|
|
3476
|
+
let { theme: s, themeConfig: u } = F(), d = s.geometry.list, { itemCorner: f, itemGap: p, iconOpacity: m, transition: h } = d, g = i, _ = a || d[g].typography;
|
|
3292
3477
|
return /* @__PURE__ */ l("div", {
|
|
3293
|
-
className: I(u.list.itemBase, h, p, f,
|
|
3478
|
+
className: I(u.list.itemBase, h, p, f, d[g].padding, n),
|
|
3294
3479
|
style: { ...o },
|
|
3295
3480
|
onMouseEnter: (e) => e.currentTarget.style.backgroundColor = u.list.itemHover,
|
|
3296
3481
|
onMouseLeave: (e) => e.currentTarget.style.backgroundColor = s.geometry.list.itemHoverResetColor,
|
|
@@ -3324,7 +3509,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3324
3509
|
})
|
|
3325
3510
|
});
|
|
3326
3511
|
}, fe = ({ title: e, description: t, icon: n, variant: r = x.Neutral, action: i, onClose: a, className: o, typographySize: s }) => {
|
|
3327
|
-
let { theme: u, themeConfig: d } = F(), f = u.geometry.message, p = d.message.variants[r], m = s ||
|
|
3512
|
+
let { theme: u, themeConfig: d } = F(), f = u.geometry.message, p = d.message.variants[r], m = s || f.titleTypographySize, h = s || f.descriptionTypographySize;
|
|
3328
3513
|
return /* @__PURE__ */ l("div", {
|
|
3329
3514
|
className: I(f.base, f.containerPadding, f.borderRadius, f.transition, p.container, o),
|
|
3330
3515
|
role: "alert",
|
|
@@ -3353,7 +3538,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3353
3538
|
className: I(f.titleExtra, d.cardText),
|
|
3354
3539
|
children: e
|
|
3355
3540
|
}), t && /* @__PURE__ */ c(L, {
|
|
3356
|
-
typographySize:
|
|
3541
|
+
typographySize: h,
|
|
3357
3542
|
className: I(f.descriptionExtra, d.mutedText),
|
|
3358
3543
|
children: t
|
|
3359
3544
|
})]
|
|
@@ -3395,7 +3580,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3395
3580
|
}, [t]);
|
|
3396
3581
|
let v = (e) => {
|
|
3397
3582
|
g(e), r && r(e);
|
|
3398
|
-
}, b = p.geometry.tabs, x = a, S = s || b
|
|
3583
|
+
}, b = p.geometry.tabs, x = a, S = s || b[x].typography, C = () => /* @__PURE__ */ c("div", {
|
|
3399
3584
|
className: I(m.tabs.container, b.segment.container, d ? b.segment.fullWidth : b.segment.fitted, f),
|
|
3400
3585
|
children: e.map((e) => {
|
|
3401
3586
|
let t = _ === e.id;
|
|
@@ -3405,7 +3590,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3405
3590
|
"aria-selected": t,
|
|
3406
3591
|
disabled: e.disabled,
|
|
3407
3592
|
onClick: () => !e.disabled && v(e.id),
|
|
3408
|
-
className: I(b.segment.button, b[x].
|
|
3593
|
+
className: I(b.segment.button, I(b[x].height, b[x].padding), p.geometry.typography[S], d && b.segment.buttonFullWidth, t ? m.tabs.active : m.tabs.inactive, e.disabled && b.disabled),
|
|
3409
3594
|
children: [e.icon, e.label]
|
|
3410
3595
|
}, e.id);
|
|
3411
3596
|
})
|
|
@@ -3419,7 +3604,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3419
3604
|
"aria-selected": t,
|
|
3420
3605
|
disabled: e.disabled,
|
|
3421
3606
|
onClick: () => !e.disabled && v(e.id),
|
|
3422
|
-
className: I(b.underline.button, b[x].
|
|
3607
|
+
className: I(b.underline.button, I(b[x].height, b[x].padding), p.geometry.typography[S], d && b.underline.buttonFullWidth, e.disabled && b.disabled, t ? m.cardText : m.mutedText),
|
|
3423
3608
|
children: [
|
|
3424
3609
|
e.icon,
|
|
3425
3610
|
e.label,
|
|
@@ -3437,7 +3622,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3437
3622
|
"aria-selected": t,
|
|
3438
3623
|
disabled: e.disabled,
|
|
3439
3624
|
onClick: () => !e.disabled && v(e.id),
|
|
3440
|
-
className: I(b.pill.button, b[x].
|
|
3625
|
+
className: I(b.pill.button, I(b[x].height, b[x].padding), p.geometry.typography[S], t ? m.tabs.active : m.tabs.inactive, e.disabled && b.disabled),
|
|
3441
3626
|
style: t ? void 0 : { borderColor: m.borders.row },
|
|
3442
3627
|
children: [e.icon, e.label]
|
|
3443
3628
|
}, e.id);
|
|
@@ -3457,7 +3642,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3457
3642
|
]
|
|
3458
3643
|
});
|
|
3459
3644
|
}, me = ({ isOpen: e, onClose: t, title: n, children: r, footer: a, size: s = y.Medium, typographySize: u, showCloseButton: d = !0, className: f }) => {
|
|
3460
|
-
let { theme: p } = F(), m = s, _ = p.geometry.modal, v = u || _
|
|
3645
|
+
let { theme: p } = F(), m = s, _ = p.geometry.modal, v = u || _[m].typography, [b, x] = o(!1);
|
|
3461
3646
|
if (i(() => (x(!0), e && (document.body.style.overflow = "hidden"), () => {
|
|
3462
3647
|
document.body.style.overflow = "unset";
|
|
3463
3648
|
}), [e]), i(() => {
|
|
@@ -3474,7 +3659,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3474
3659
|
onClick: t,
|
|
3475
3660
|
"aria-hidden": "true"
|
|
3476
3661
|
}), /* @__PURE__ */ l(V, {
|
|
3477
|
-
className: I(S.container, S[m].
|
|
3662
|
+
className: I(S.container, S[m].width, f),
|
|
3478
3663
|
role: "dialog",
|
|
3479
3664
|
"aria-modal": "true",
|
|
3480
3665
|
"aria-labelledby": n ? "tiger-modal-title" : void 0,
|
|
@@ -3546,7 +3731,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3546
3731
|
}) : t)
|
|
3547
3732
|
});
|
|
3548
3733
|
}, Q = ({ children: e, size: t = y.Medium, className: n, typographySize: r, ...i }) => {
|
|
3549
|
-
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.
|
|
3734
|
+
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.headerTypographySize;
|
|
3550
3735
|
return /* @__PURE__ */ c("th", {
|
|
3551
3736
|
className: I(s.headerCell, s[l].headerCellSize, n),
|
|
3552
3737
|
style: {
|
|
@@ -3563,7 +3748,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3563
3748
|
})
|
|
3564
3749
|
});
|
|
3565
3750
|
}, ye = ({ children: e, size: t = y.Medium, className: n, typographySize: r, ...i }) => {
|
|
3566
|
-
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.
|
|
3751
|
+
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.dataTypographySize;
|
|
3567
3752
|
return /* @__PURE__ */ c("td", {
|
|
3568
3753
|
className: I(s[l].dataCellSize, n),
|
|
3569
3754
|
style: { borderBottom: `${s.dataBorder} ${o.borders.row}` },
|