@jonapin006/tiger 1.0.45 → 1.0.46
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 +42 -44
- package/dist/tiger.css +1 -1
- package/dist/tiger.es.js +606 -434
- 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: {
|
|
@@ -554,11 +607,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
554
607
|
title: "block w-full",
|
|
555
608
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
556
609
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
557
|
-
|
|
610
|
+
titleTypography: {
|
|
558
611
|
medium: b.Medium,
|
|
559
612
|
large: b.Large,
|
|
560
613
|
xlarge: b.Xlarge
|
|
561
|
-
}
|
|
614
|
+
},
|
|
615
|
+
descriptionTypography: b.Medium
|
|
562
616
|
},
|
|
563
617
|
layout: {
|
|
564
618
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -961,25 +1015,46 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
961
1015
|
xlarge: "text-[28px] md:text-[42px] font-black tracking-tighter leading-[0.9]",
|
|
962
1016
|
weights: {
|
|
963
1017
|
bold: "font-black",
|
|
1018
|
+
semibold: "font-semibold",
|
|
964
1019
|
normal: "font-medium"
|
|
965
1020
|
},
|
|
966
1021
|
styles: {
|
|
967
1022
|
italic: "italic",
|
|
968
|
-
normal: ""
|
|
1023
|
+
normal: "",
|
|
1024
|
+
underline: "underline",
|
|
1025
|
+
strikethrough: "line-through"
|
|
969
1026
|
}
|
|
970
1027
|
},
|
|
971
1028
|
buttons: {
|
|
972
|
-
small: {
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1029
|
+
small: {
|
|
1030
|
+
height: "h-8",
|
|
1031
|
+
padding: "px-4",
|
|
1032
|
+
corner: "rounded-md",
|
|
1033
|
+
typography: b.Small
|
|
1034
|
+
},
|
|
1035
|
+
none: {
|
|
1036
|
+
height: "h-0 overflow-hidden",
|
|
1037
|
+
padding: "px-0",
|
|
1038
|
+
corner: "rounded-none",
|
|
1039
|
+
typography: b.Small
|
|
1040
|
+
},
|
|
1041
|
+
medium: {
|
|
1042
|
+
height: "h-10",
|
|
1043
|
+
padding: "px-5",
|
|
1044
|
+
corner: "rounded-lg",
|
|
1045
|
+
typography: b.Medium
|
|
1046
|
+
},
|
|
1047
|
+
large: {
|
|
1048
|
+
height: "h-12",
|
|
1049
|
+
padding: "px-6",
|
|
1050
|
+
corner: "rounded-xl",
|
|
1051
|
+
typography: b.Large
|
|
1052
|
+
},
|
|
1053
|
+
xlarge: {
|
|
1054
|
+
height: "h-14",
|
|
1055
|
+
padding: "px-8",
|
|
1056
|
+
corner: "rounded-2xl",
|
|
1057
|
+
typography: b.Xlarge
|
|
983
1058
|
},
|
|
984
1059
|
baseTypography: "text-inherit leading-none font-black uppercase tracking-widest whitespace-nowrap",
|
|
985
1060
|
baseStyles: "transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 inline-flex items-center justify-center shrink-0",
|
|
@@ -1018,42 +1093,49 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1018
1093
|
baseStyles: "flex items-center justify-center transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 rounded-full"
|
|
1019
1094
|
},
|
|
1020
1095
|
badges: {
|
|
1021
|
-
small: {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1096
|
+
small: {
|
|
1097
|
+
padding: "px-2 py-0.5",
|
|
1098
|
+
corner: "rounded-md",
|
|
1099
|
+
typography: b.Xsmall
|
|
1100
|
+
},
|
|
1101
|
+
medium: {
|
|
1102
|
+
padding: "px-2.5 py-1",
|
|
1103
|
+
corner: "rounded-lg",
|
|
1104
|
+
typography: b.Small
|
|
1026
1105
|
},
|
|
1027
1106
|
typography: "leading-none tracking-widest uppercase font-black",
|
|
1028
1107
|
baseStyles: "inline-flex items-center justify-center transition-all duration-300 shadow-none"
|
|
1029
1108
|
},
|
|
1030
1109
|
tabs: {
|
|
1031
1110
|
small: {
|
|
1032
|
-
|
|
1033
|
-
|
|
1111
|
+
height: "h-8",
|
|
1112
|
+
padding: "px-6",
|
|
1113
|
+
contentSize: "pt-4",
|
|
1114
|
+
typography: b.Small
|
|
1034
1115
|
},
|
|
1035
1116
|
none: {
|
|
1036
|
-
|
|
1037
|
-
|
|
1117
|
+
height: "h-0",
|
|
1118
|
+
padding: "px-0",
|
|
1119
|
+
contentSize: "pt-0",
|
|
1120
|
+
typography: b.Small
|
|
1038
1121
|
},
|
|
1039
1122
|
medium: {
|
|
1040
|
-
|
|
1041
|
-
|
|
1123
|
+
height: "h-10",
|
|
1124
|
+
padding: "px-8",
|
|
1125
|
+
contentSize: "pt-6",
|
|
1126
|
+
typography: b.Medium
|
|
1042
1127
|
},
|
|
1043
1128
|
large: {
|
|
1044
|
-
|
|
1045
|
-
|
|
1129
|
+
height: "h-12",
|
|
1130
|
+
padding: "px-10",
|
|
1131
|
+
contentSize: "pt-8",
|
|
1132
|
+
typography: b.Large
|
|
1046
1133
|
},
|
|
1047
1134
|
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
|
|
1135
|
+
height: "h-14",
|
|
1136
|
+
padding: "px-12",
|
|
1137
|
+
contentSize: "pt-10",
|
|
1138
|
+
typography: b.Xlarge
|
|
1057
1139
|
},
|
|
1058
1140
|
wrapper: "w-full flex flex-col",
|
|
1059
1141
|
disabled: "opacity-50 cursor-not-allowed",
|
|
@@ -1085,30 +1167,28 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1085
1167
|
cards: {
|
|
1086
1168
|
none: {
|
|
1087
1169
|
corner: "rounded-none",
|
|
1088
|
-
padding: "p-4 md:p-4"
|
|
1170
|
+
padding: "p-4 md:p-4",
|
|
1171
|
+
typography: b.Xsmall
|
|
1089
1172
|
},
|
|
1090
1173
|
small: {
|
|
1091
1174
|
corner: "rounded-xl",
|
|
1092
|
-
padding: "p-4 md:p-4"
|
|
1175
|
+
padding: "p-4 md:p-4",
|
|
1176
|
+
typography: b.Small
|
|
1093
1177
|
},
|
|
1094
1178
|
medium: {
|
|
1095
1179
|
corner: "rounded-2xl",
|
|
1096
|
-
padding: "p-4 md:p-4"
|
|
1180
|
+
padding: "p-4 md:p-4",
|
|
1181
|
+
typography: b.Medium
|
|
1097
1182
|
},
|
|
1098
1183
|
large: {
|
|
1099
1184
|
corner: "rounded-3xl",
|
|
1100
|
-
padding: "p-4 md:p-4"
|
|
1185
|
+
padding: "p-4 md:p-4",
|
|
1186
|
+
typography: b.Large
|
|
1101
1187
|
},
|
|
1102
1188
|
xlarge: {
|
|
1103
1189
|
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
|
|
1190
|
+
padding: "p-4 md:p-4",
|
|
1191
|
+
typography: b.Xlarge
|
|
1112
1192
|
},
|
|
1113
1193
|
baseStyles: "transition-all duration-300",
|
|
1114
1194
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
@@ -1116,21 +1196,22 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1116
1196
|
},
|
|
1117
1197
|
checkbox: {
|
|
1118
1198
|
small: {
|
|
1119
|
-
size: "w-5 h-5
|
|
1120
|
-
|
|
1199
|
+
size: "w-5 h-5",
|
|
1200
|
+
corner: "rounded-md",
|
|
1201
|
+
iconSize: 12,
|
|
1202
|
+
typography: b.Small
|
|
1121
1203
|
},
|
|
1122
1204
|
medium: {
|
|
1123
|
-
size: "w-6 h-6
|
|
1124
|
-
|
|
1205
|
+
size: "w-6 h-6",
|
|
1206
|
+
corner: "rounded-lg",
|
|
1207
|
+
iconSize: 18,
|
|
1208
|
+
typography: b.Medium
|
|
1125
1209
|
},
|
|
1126
1210
|
large: {
|
|
1127
|
-
size: "w-10 h-10
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
small: b.Small,
|
|
1132
|
-
medium: b.Medium,
|
|
1133
|
-
large: b.Large
|
|
1211
|
+
size: "w-10 h-10",
|
|
1212
|
+
corner: "rounded-lg",
|
|
1213
|
+
iconSize: 20,
|
|
1214
|
+
typography: b.Large
|
|
1134
1215
|
},
|
|
1135
1216
|
disabledStyles: "opacity-50 cursor-not-allowed",
|
|
1136
1217
|
icon: {
|
|
@@ -1144,29 +1225,57 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1144
1225
|
defaultBorderRadius: "rounded-xl",
|
|
1145
1226
|
transition: "transition-all duration-300",
|
|
1146
1227
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
1147
|
-
|
|
1228
|
+
typography: b.Medium
|
|
1148
1229
|
},
|
|
1149
1230
|
input: {
|
|
1150
|
-
small: {
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1231
|
+
small: {
|
|
1232
|
+
height: "h-8",
|
|
1233
|
+
padding: "px-3",
|
|
1234
|
+
fontSize: "text-xs"
|
|
1235
|
+
},
|
|
1236
|
+
none: {
|
|
1237
|
+
height: "h-0",
|
|
1238
|
+
padding: "px-0",
|
|
1239
|
+
fontSize: "text-[0px]"
|
|
1240
|
+
},
|
|
1241
|
+
medium: {
|
|
1242
|
+
height: "h-11",
|
|
1243
|
+
padding: "px-4",
|
|
1244
|
+
fontSize: "text-sm"
|
|
1245
|
+
},
|
|
1246
|
+
large: {
|
|
1247
|
+
height: "h-14",
|
|
1248
|
+
padding: "px-6",
|
|
1249
|
+
fontSize: "text-base"
|
|
1250
|
+
},
|
|
1251
|
+
xlarge: {
|
|
1252
|
+
height: "h-16",
|
|
1253
|
+
padding: "px-8",
|
|
1254
|
+
fontSize: "text-lg"
|
|
1255
|
+
},
|
|
1256
|
+
baseStyles: "w-full font-medium transition-all"
|
|
1163
1257
|
},
|
|
1164
1258
|
modal: {
|
|
1165
|
-
small: {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1259
|
+
small: {
|
|
1260
|
+
width: "max-w-md",
|
|
1261
|
+
typography: b.Small
|
|
1262
|
+
},
|
|
1263
|
+
none: {
|
|
1264
|
+
width: "max-w-0",
|
|
1265
|
+
typography: b.Small
|
|
1266
|
+
},
|
|
1267
|
+
medium: {
|
|
1268
|
+
width: "max-w-2xl",
|
|
1269
|
+
typography: b.Medium
|
|
1270
|
+
},
|
|
1271
|
+
large: {
|
|
1272
|
+
width: "max-w-4xl",
|
|
1273
|
+
typography: b.Large
|
|
1274
|
+
},
|
|
1275
|
+
xlarge: {
|
|
1276
|
+
width: "max-w-6xl",
|
|
1277
|
+
typography: b.Xlarge
|
|
1278
|
+
},
|
|
1170
1279
|
wrapper: "fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6 overflow-hidden",
|
|
1171
1280
|
overlay: "absolute inset-0 backdrop-blur-sm bg-black/5",
|
|
1172
1281
|
container: "relative w-full flex flex-col bg-white border border-zinc-200 shadow-2xl",
|
|
@@ -1176,34 +1285,35 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1176
1285
|
closeIconSize: 16,
|
|
1177
1286
|
contentSpacing: "flex-1",
|
|
1178
1287
|
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
|
-
}
|
|
1288
|
+
footerBorder: "border-t border-zinc-100"
|
|
1187
1289
|
},
|
|
1188
1290
|
list: {
|
|
1189
|
-
small: {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1291
|
+
small: {
|
|
1292
|
+
padding: "py-2 px-3",
|
|
1293
|
+
typography: b.Small
|
|
1294
|
+
},
|
|
1295
|
+
none: {
|
|
1296
|
+
padding: "py-0 px-0",
|
|
1297
|
+
typography: b.Small
|
|
1298
|
+
},
|
|
1299
|
+
medium: {
|
|
1300
|
+
padding: "py-2.5 px-4",
|
|
1301
|
+
typography: b.Medium
|
|
1302
|
+
},
|
|
1303
|
+
large: {
|
|
1304
|
+
padding: "py-3.5 px-5",
|
|
1305
|
+
typography: b.Large
|
|
1306
|
+
},
|
|
1307
|
+
xlarge: {
|
|
1308
|
+
padding: "py-4 px-6",
|
|
1309
|
+
typography: b.Xlarge
|
|
1310
|
+
},
|
|
1194
1311
|
gap: "gap-0",
|
|
1195
1312
|
itemGap: "gap-4",
|
|
1196
1313
|
iconOpacity: "opacity-40",
|
|
1197
1314
|
transition: "transition-all duration-300",
|
|
1198
1315
|
itemCorner: "rounded-md",
|
|
1199
1316
|
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
1317
|
itemHoverResetColor: "transparent",
|
|
1208
1318
|
typographyInherit: "text-inherit"
|
|
1209
1319
|
},
|
|
@@ -1215,10 +1325,8 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1215
1325
|
contentWrapper: "flex-1 flex flex-col justify-center",
|
|
1216
1326
|
actionsWrapper: "flex items-center shrink-0",
|
|
1217
1327
|
iconSize: "[&>svg]:w-5 [&>svg]:h-5",
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
description: b.Small
|
|
1221
|
-
},
|
|
1328
|
+
titleTypographySize: b.Medium,
|
|
1329
|
+
descriptionTypographySize: b.Small,
|
|
1222
1330
|
titleExtra: "tracking-tight",
|
|
1223
1331
|
descriptionExtra: "leading-normal",
|
|
1224
1332
|
actionGap: "gap-2",
|
|
@@ -1262,36 +1370,39 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1262
1370
|
dataCell: "",
|
|
1263
1371
|
dataBorder: "1px solid",
|
|
1264
1372
|
dataTypography: "text-inherit opacity-90 whitespace-nowrap leading-none font-medium",
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
data: b.Medium
|
|
1268
|
-
}
|
|
1373
|
+
headerTypographySize: b.Medium,
|
|
1374
|
+
dataTypographySize: b.Medium
|
|
1269
1375
|
},
|
|
1270
1376
|
progress: {
|
|
1271
1377
|
small: {
|
|
1272
1378
|
height: "h-1",
|
|
1273
1379
|
trackRadius: "rounded-full",
|
|
1274
|
-
gap: "gap-0.5"
|
|
1380
|
+
gap: "gap-0.5",
|
|
1381
|
+
typography: b.Small
|
|
1275
1382
|
},
|
|
1276
1383
|
none: {
|
|
1277
1384
|
height: "h-0",
|
|
1278
1385
|
trackRadius: "rounded-none",
|
|
1279
|
-
gap: "gap-0"
|
|
1386
|
+
gap: "gap-0",
|
|
1387
|
+
typography: b.Small
|
|
1280
1388
|
},
|
|
1281
1389
|
medium: {
|
|
1282
1390
|
height: "h-1.5",
|
|
1283
1391
|
trackRadius: "rounded-full",
|
|
1284
|
-
gap: "gap-1"
|
|
1392
|
+
gap: "gap-1",
|
|
1393
|
+
typography: b.Medium
|
|
1285
1394
|
},
|
|
1286
1395
|
large: {
|
|
1287
1396
|
height: "h-2",
|
|
1288
1397
|
trackRadius: "rounded-full",
|
|
1289
|
-
gap: "gap-1.5"
|
|
1398
|
+
gap: "gap-1.5",
|
|
1399
|
+
typography: b.Large
|
|
1290
1400
|
},
|
|
1291
1401
|
xlarge: {
|
|
1292
1402
|
height: "h-2.5",
|
|
1293
1403
|
trackRadius: "rounded-full",
|
|
1294
|
-
gap: "gap-2"
|
|
1404
|
+
gap: "gap-2",
|
|
1405
|
+
typography: b.Xlarge
|
|
1295
1406
|
},
|
|
1296
1407
|
container: "w-full group space-y-2",
|
|
1297
1408
|
wrapper: "w-full flex items-center min-h-[12px]",
|
|
@@ -1302,14 +1413,7 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1302
1413
|
step: "flex-1 transition-all duration-500 relative overflow-hidden border",
|
|
1303
1414
|
stepEffect: "absolute inset-0 animate-pulse",
|
|
1304
1415
|
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
|
-
}
|
|
1416
|
+
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
1313
1417
|
},
|
|
1314
1418
|
stack: {
|
|
1315
1419
|
small: { gap: "gap-2" },
|
|
@@ -1410,19 +1514,27 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1410
1514
|
corner: "rounded-2xl"
|
|
1411
1515
|
},
|
|
1412
1516
|
dropdown: {
|
|
1413
|
-
small: {
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1517
|
+
small: {
|
|
1518
|
+
width: "min-w-[120px]",
|
|
1519
|
+
typography: b.Small
|
|
1520
|
+
},
|
|
1521
|
+
none: {
|
|
1522
|
+
width: "min-w-0",
|
|
1523
|
+
typography: b.Small
|
|
1524
|
+
},
|
|
1525
|
+
medium: {
|
|
1526
|
+
width: "min-w-[160px]",
|
|
1527
|
+
typography: b.Medium
|
|
1528
|
+
},
|
|
1529
|
+
large: {
|
|
1530
|
+
width: "min-w-[200px]",
|
|
1531
|
+
typography: b.Large
|
|
1532
|
+
},
|
|
1533
|
+
xlarge: {
|
|
1534
|
+
width: "min-w-[240px]",
|
|
1535
|
+
typography: b.Xlarge
|
|
1536
|
+
},
|
|
1537
|
+
contentPositioning: "mt-2"
|
|
1426
1538
|
},
|
|
1427
1539
|
switch: {
|
|
1428
1540
|
small: {
|
|
@@ -1474,11 +1586,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1474
1586
|
title: "block w-full",
|
|
1475
1587
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
1476
1588
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
1477
|
-
|
|
1589
|
+
titleTypography: {
|
|
1478
1590
|
medium: b.Medium,
|
|
1479
1591
|
large: b.Large,
|
|
1480
1592
|
xlarge: b.Xlarge
|
|
1481
|
-
}
|
|
1593
|
+
},
|
|
1594
|
+
descriptionTypography: b.Medium
|
|
1482
1595
|
},
|
|
1483
1596
|
layout: {
|
|
1484
1597
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -1881,25 +1994,46 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1881
1994
|
xlarge: "text-[28px] md:text-[42px] font-black tracking-tighter leading-[0.95]",
|
|
1882
1995
|
weights: {
|
|
1883
1996
|
bold: "font-black",
|
|
1997
|
+
semibold: "font-semibold",
|
|
1884
1998
|
normal: "font-medium"
|
|
1885
1999
|
},
|
|
1886
2000
|
styles: {
|
|
1887
2001
|
italic: "italic",
|
|
1888
|
-
normal: ""
|
|
2002
|
+
normal: "",
|
|
2003
|
+
underline: "underline",
|
|
2004
|
+
strikethrough: "line-through"
|
|
1889
2005
|
}
|
|
1890
2006
|
},
|
|
1891
2007
|
buttons: {
|
|
1892
|
-
small: {
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
2008
|
+
small: {
|
|
2009
|
+
height: "h-9",
|
|
2010
|
+
padding: "px-4",
|
|
2011
|
+
corner: "rounded-full",
|
|
2012
|
+
typography: b.Small
|
|
2013
|
+
},
|
|
2014
|
+
none: {
|
|
2015
|
+
height: "h-0 overflow-hidden",
|
|
2016
|
+
padding: "px-0",
|
|
2017
|
+
corner: "rounded-none",
|
|
2018
|
+
typography: b.Small
|
|
2019
|
+
},
|
|
2020
|
+
medium: {
|
|
2021
|
+
height: "h-11",
|
|
2022
|
+
padding: "px-6",
|
|
2023
|
+
corner: "rounded-full",
|
|
2024
|
+
typography: b.Medium
|
|
2025
|
+
},
|
|
2026
|
+
large: {
|
|
2027
|
+
height: "h-14",
|
|
2028
|
+
padding: "px-8",
|
|
2029
|
+
corner: "rounded-full",
|
|
2030
|
+
typography: b.Large
|
|
2031
|
+
},
|
|
2032
|
+
xlarge: {
|
|
2033
|
+
height: "h-16",
|
|
2034
|
+
padding: "px-10",
|
|
2035
|
+
corner: "rounded-full",
|
|
2036
|
+
typography: b.Xlarge
|
|
1903
2037
|
},
|
|
1904
2038
|
baseTypography: "text-inherit leading-none font-bold tracking-tight whitespace-nowrap",
|
|
1905
2039
|
baseStyles: "transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 inline-flex items-center justify-center shrink-0",
|
|
@@ -1938,42 +2072,49 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
1938
2072
|
baseStyles: "flex items-center justify-center transition-all duration-300 transform-gpu active:scale-95 disabled:opacity-50 rounded-full"
|
|
1939
2073
|
},
|
|
1940
2074
|
badges: {
|
|
1941
|
-
small: {
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
2075
|
+
small: {
|
|
2076
|
+
padding: "px-2.5 py-0.5",
|
|
2077
|
+
corner: "rounded-full",
|
|
2078
|
+
typography: b.Xsmall
|
|
2079
|
+
},
|
|
2080
|
+
medium: {
|
|
2081
|
+
padding: "px-3.5 py-1",
|
|
2082
|
+
corner: "rounded-full",
|
|
2083
|
+
typography: b.Small
|
|
1946
2084
|
},
|
|
1947
2085
|
typography: "leading-none tracking-tight font-bold",
|
|
1948
2086
|
baseStyles: "inline-flex items-center justify-center transition-all duration-300 shadow-none"
|
|
1949
2087
|
},
|
|
1950
2088
|
tabs: {
|
|
1951
2089
|
small: {
|
|
1952
|
-
|
|
1953
|
-
|
|
2090
|
+
height: "h-8",
|
|
2091
|
+
padding: "px-6",
|
|
2092
|
+
contentSize: "pt-4",
|
|
2093
|
+
typography: b.Small
|
|
1954
2094
|
},
|
|
1955
2095
|
none: {
|
|
1956
|
-
|
|
1957
|
-
|
|
2096
|
+
height: "h-0",
|
|
2097
|
+
padding: "px-0",
|
|
2098
|
+
contentSize: "pt-0",
|
|
2099
|
+
typography: b.Small
|
|
1958
2100
|
},
|
|
1959
2101
|
medium: {
|
|
1960
|
-
|
|
1961
|
-
|
|
2102
|
+
height: "h-10",
|
|
2103
|
+
padding: "px-8",
|
|
2104
|
+
contentSize: "pt-6",
|
|
2105
|
+
typography: b.Medium
|
|
1962
2106
|
},
|
|
1963
2107
|
large: {
|
|
1964
|
-
|
|
1965
|
-
|
|
2108
|
+
height: "h-12",
|
|
2109
|
+
padding: "px-10",
|
|
2110
|
+
contentSize: "pt-8",
|
|
2111
|
+
typography: b.Large
|
|
1966
2112
|
},
|
|
1967
2113
|
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
|
|
2114
|
+
height: "h-14",
|
|
2115
|
+
padding: "px-12",
|
|
2116
|
+
contentSize: "pt-10",
|
|
2117
|
+
typography: b.Xlarge
|
|
1977
2118
|
},
|
|
1978
2119
|
wrapper: "w-full flex flex-col",
|
|
1979
2120
|
disabled: "opacity-50 cursor-not-allowed",
|
|
@@ -2005,30 +2146,28 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2005
2146
|
cards: {
|
|
2006
2147
|
none: {
|
|
2007
2148
|
corner: "rounded-none",
|
|
2008
|
-
padding: "p-4 md:p-4"
|
|
2149
|
+
padding: "p-4 md:p-4",
|
|
2150
|
+
typography: b.Xsmall
|
|
2009
2151
|
},
|
|
2010
2152
|
small: {
|
|
2011
2153
|
corner: "rounded-xl",
|
|
2012
|
-
padding: "p-4 md:p-4"
|
|
2154
|
+
padding: "p-4 md:p-4",
|
|
2155
|
+
typography: b.Small
|
|
2013
2156
|
},
|
|
2014
2157
|
medium: {
|
|
2015
2158
|
corner: "rounded-2xl",
|
|
2016
|
-
padding: "p-4 md:p-4"
|
|
2159
|
+
padding: "p-4 md:p-4",
|
|
2160
|
+
typography: b.Medium
|
|
2017
2161
|
},
|
|
2018
2162
|
large: {
|
|
2019
2163
|
corner: "rounded-3xl",
|
|
2020
|
-
padding: "p-4 md:p-4"
|
|
2164
|
+
padding: "p-4 md:p-4",
|
|
2165
|
+
typography: b.Large
|
|
2021
2166
|
},
|
|
2022
2167
|
xlarge: {
|
|
2023
2168
|
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
|
|
2169
|
+
padding: "p-4 md:p-4",
|
|
2170
|
+
typography: b.Xlarge
|
|
2032
2171
|
},
|
|
2033
2172
|
baseStyles: "transition-all duration-300",
|
|
2034
2173
|
interactiveStyles: "cursor-pointer hover:shadow-2xl active:scale-[0.98]",
|
|
@@ -2036,21 +2175,22 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2036
2175
|
},
|
|
2037
2176
|
checkbox: {
|
|
2038
2177
|
small: {
|
|
2039
|
-
size: "w-6 h-6
|
|
2040
|
-
|
|
2178
|
+
size: "w-6 h-6",
|
|
2179
|
+
corner: "rounded-full",
|
|
2180
|
+
iconSize: 14,
|
|
2181
|
+
typography: b.Small
|
|
2041
2182
|
},
|
|
2042
2183
|
medium: {
|
|
2043
|
-
size: "w-8 h-8
|
|
2044
|
-
|
|
2184
|
+
size: "w-8 h-8",
|
|
2185
|
+
corner: "rounded-full",
|
|
2186
|
+
iconSize: 20,
|
|
2187
|
+
typography: b.Medium
|
|
2045
2188
|
},
|
|
2046
2189
|
large: {
|
|
2047
|
-
size: "w-12 h-12
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
small: b.Small,
|
|
2052
|
-
medium: b.Medium,
|
|
2053
|
-
large: b.Large
|
|
2190
|
+
size: "w-12 h-12",
|
|
2191
|
+
corner: "rounded-full",
|
|
2192
|
+
iconSize: 24,
|
|
2193
|
+
typography: b.Large
|
|
2054
2194
|
},
|
|
2055
2195
|
disabledStyles: "opacity-50 cursor-not-allowed",
|
|
2056
2196
|
icon: {
|
|
@@ -2064,29 +2204,57 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2064
2204
|
defaultBorderRadius: "rounded-[2.5rem]",
|
|
2065
2205
|
transition: "transition-all duration-700 cubic-bezier(0.23, 1, 0.32, 1)",
|
|
2066
2206
|
interactiveStyles: "cursor-pointer hover:shadow-3xl hover:bg-white/[0.03] active:scale-[0.99] group",
|
|
2067
|
-
|
|
2207
|
+
typography: b.Small
|
|
2068
2208
|
},
|
|
2069
2209
|
input: {
|
|
2070
|
-
small: {
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2210
|
+
small: {
|
|
2211
|
+
height: "h-9",
|
|
2212
|
+
padding: "px-3",
|
|
2213
|
+
fontSize: "text-xs"
|
|
2214
|
+
},
|
|
2215
|
+
none: {
|
|
2216
|
+
height: "h-0",
|
|
2217
|
+
padding: "px-0",
|
|
2218
|
+
fontSize: "text-[0px]"
|
|
2219
|
+
},
|
|
2220
|
+
medium: {
|
|
2221
|
+
height: "h-12",
|
|
2222
|
+
padding: "px-3",
|
|
2223
|
+
fontSize: "text-sm"
|
|
2224
|
+
},
|
|
2225
|
+
large: {
|
|
2226
|
+
height: "h-16",
|
|
2227
|
+
padding: "px-3",
|
|
2228
|
+
fontSize: "text-base"
|
|
2229
|
+
},
|
|
2230
|
+
xlarge: {
|
|
2231
|
+
height: "h-20",
|
|
2232
|
+
padding: "px-3",
|
|
2233
|
+
fontSize: "text-lg"
|
|
2234
|
+
},
|
|
2235
|
+
baseStyles: "w-full font-medium transition-all duration-500"
|
|
2083
2236
|
},
|
|
2084
2237
|
modal: {
|
|
2085
|
-
small: {
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2238
|
+
small: {
|
|
2239
|
+
width: "max-w-md",
|
|
2240
|
+
typography: b.Small
|
|
2241
|
+
},
|
|
2242
|
+
none: {
|
|
2243
|
+
width: "max-w-0",
|
|
2244
|
+
typography: b.Small
|
|
2245
|
+
},
|
|
2246
|
+
medium: {
|
|
2247
|
+
width: "max-w-2xl",
|
|
2248
|
+
typography: b.Medium
|
|
2249
|
+
},
|
|
2250
|
+
large: {
|
|
2251
|
+
width: "max-w-4xl",
|
|
2252
|
+
typography: b.Large
|
|
2253
|
+
},
|
|
2254
|
+
xlarge: {
|
|
2255
|
+
width: "max-w-6xl",
|
|
2256
|
+
typography: b.Xlarge
|
|
2257
|
+
},
|
|
2090
2258
|
wrapper: "fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-6 overflow-hidden",
|
|
2091
2259
|
overlay: "absolute inset-0 backdrop-blur-xl bg-black/40",
|
|
2092
2260
|
titleExtra: "tracking-tighter",
|
|
@@ -2096,34 +2264,35 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2096
2264
|
contentSpacing: "flex-1 px-6 pb-6 md:px-8 md:pb-8",
|
|
2097
2265
|
footerSpacing: "p-6 flex items-center justify-end gap-3 md:p-8 md:gap-4",
|
|
2098
2266
|
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
|
-
}
|
|
2267
|
+
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
2268
|
},
|
|
2108
2269
|
list: {
|
|
2109
|
-
small: {
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2270
|
+
small: {
|
|
2271
|
+
padding: "py-2 px-4 shadow-none",
|
|
2272
|
+
typography: b.Small
|
|
2273
|
+
},
|
|
2274
|
+
none: {
|
|
2275
|
+
padding: "py-0 px-0 shadow-none",
|
|
2276
|
+
typography: b.Small
|
|
2277
|
+
},
|
|
2278
|
+
medium: {
|
|
2279
|
+
padding: "py-3 px-4 shadow-none",
|
|
2280
|
+
typography: b.Medium
|
|
2281
|
+
},
|
|
2282
|
+
large: {
|
|
2283
|
+
padding: "py-4 px-4 shadow-none",
|
|
2284
|
+
typography: b.Medium
|
|
2285
|
+
},
|
|
2286
|
+
xlarge: {
|
|
2287
|
+
padding: "py-5 px-4 shadow-none",
|
|
2288
|
+
typography: b.Large
|
|
2289
|
+
},
|
|
2114
2290
|
gap: "gap-0",
|
|
2115
2291
|
itemGap: "gap-2",
|
|
2116
2292
|
iconOpacity: "opacity-60",
|
|
2117
2293
|
transition: "transition-all duration-500 cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2118
2294
|
itemCorner: "rounded-none",
|
|
2119
2295
|
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
2296
|
itemHoverResetColor: "transparent",
|
|
2128
2297
|
typographyInherit: "bg-transparent transition-all"
|
|
2129
2298
|
},
|
|
@@ -2135,10 +2304,8 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2135
2304
|
contentWrapper: "flex-1 flex flex-col justify-center",
|
|
2136
2305
|
actionsWrapper: "flex items-center shrink-0",
|
|
2137
2306
|
iconSize: "[&>svg]:w-5 [&>svg]:h-5",
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
description: b.Small
|
|
2141
|
-
},
|
|
2307
|
+
titleTypographySize: b.Medium,
|
|
2308
|
+
descriptionTypographySize: b.Small,
|
|
2142
2309
|
titleExtra: "tracking-tighter",
|
|
2143
2310
|
descriptionExtra: "leading-tight",
|
|
2144
2311
|
actionGap: "gap-4",
|
|
@@ -2182,36 +2349,39 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2182
2349
|
dataCell: "",
|
|
2183
2350
|
dataBorder: "1px solid",
|
|
2184
2351
|
dataTypography: "text-inherit opacity-90 whitespace-nowrap leading-none font-medium",
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
data: b.Medium
|
|
2188
|
-
}
|
|
2352
|
+
headerTypographySize: b.Medium,
|
|
2353
|
+
dataTypographySize: b.Medium
|
|
2189
2354
|
},
|
|
2190
2355
|
progress: {
|
|
2191
2356
|
small: {
|
|
2192
2357
|
height: "h-1",
|
|
2193
2358
|
trackRadius: "rounded-full",
|
|
2194
|
-
gap: "gap-0.5"
|
|
2359
|
+
gap: "gap-0.5",
|
|
2360
|
+
typography: b.Small
|
|
2195
2361
|
},
|
|
2196
2362
|
none: {
|
|
2197
2363
|
height: "h-0",
|
|
2198
2364
|
trackRadius: "rounded-none",
|
|
2199
|
-
gap: "gap-0"
|
|
2365
|
+
gap: "gap-0",
|
|
2366
|
+
typography: b.Small
|
|
2200
2367
|
},
|
|
2201
2368
|
medium: {
|
|
2202
2369
|
height: "h-1.5",
|
|
2203
2370
|
trackRadius: "rounded-full",
|
|
2204
|
-
gap: "gap-1"
|
|
2371
|
+
gap: "gap-1",
|
|
2372
|
+
typography: b.Medium
|
|
2205
2373
|
},
|
|
2206
2374
|
large: {
|
|
2207
2375
|
height: "h-2",
|
|
2208
2376
|
trackRadius: "rounded-full",
|
|
2209
|
-
gap: "gap-1.5"
|
|
2377
|
+
gap: "gap-1.5",
|
|
2378
|
+
typography: b.Large
|
|
2210
2379
|
},
|
|
2211
2380
|
xlarge: {
|
|
2212
2381
|
height: "h-2.5",
|
|
2213
2382
|
trackRadius: "rounded-full",
|
|
2214
|
-
gap: "gap-2"
|
|
2383
|
+
gap: "gap-2",
|
|
2384
|
+
typography: b.Xlarge
|
|
2215
2385
|
},
|
|
2216
2386
|
container: "w-full group space-y-2",
|
|
2217
2387
|
wrapper: "w-full flex items-center min-h-[12px]",
|
|
@@ -2222,14 +2392,7 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2222
2392
|
step: "flex-1 transition-all duration-500 relative overflow-hidden border border-white/10 backdrop-blur-xl",
|
|
2223
2393
|
stepEffect: "absolute inset-0 animate-pulse",
|
|
2224
2394
|
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
|
-
}
|
|
2395
|
+
valueStyles: "opacity-80 tracking-tighter tabular-nums"
|
|
2233
2396
|
},
|
|
2234
2397
|
stack: {
|
|
2235
2398
|
small: { gap: "gap-2" },
|
|
@@ -2330,19 +2493,27 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2330
2493
|
corner: "rounded-[1rem]"
|
|
2331
2494
|
},
|
|
2332
2495
|
dropdown: {
|
|
2333
|
-
small: {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2496
|
+
small: {
|
|
2497
|
+
width: "min-w-[120px]",
|
|
2498
|
+
typography: b.Small
|
|
2499
|
+
},
|
|
2500
|
+
none: {
|
|
2501
|
+
width: "min-w-0",
|
|
2502
|
+
typography: b.Small
|
|
2503
|
+
},
|
|
2504
|
+
medium: {
|
|
2505
|
+
width: "min-w-[160px]",
|
|
2506
|
+
typography: b.Medium
|
|
2507
|
+
},
|
|
2508
|
+
large: {
|
|
2509
|
+
width: "min-w-[200px]",
|
|
2510
|
+
typography: b.Large
|
|
2511
|
+
},
|
|
2512
|
+
xlarge: {
|
|
2513
|
+
width: "min-w-[240px]",
|
|
2514
|
+
typography: b.Xlarge
|
|
2515
|
+
},
|
|
2516
|
+
contentPositioning: "mt-2"
|
|
2346
2517
|
},
|
|
2347
2518
|
switch: {
|
|
2348
2519
|
small: {
|
|
@@ -2394,11 +2565,12 @@ var v = /* @__PURE__ */ function(e) {
|
|
|
2394
2565
|
title: "block w-full",
|
|
2395
2566
|
descriptionContainer: "mt-0.5 opacity-60 w-full",
|
|
2396
2567
|
actionsContainer: "flex items-center justify-end flex-shrink-0",
|
|
2397
|
-
|
|
2568
|
+
titleTypography: {
|
|
2398
2569
|
medium: b.Medium,
|
|
2399
2570
|
large: b.Large,
|
|
2400
2571
|
xlarge: b.Xlarge
|
|
2401
|
-
}
|
|
2572
|
+
},
|
|
2573
|
+
descriptionTypography: b.Medium
|
|
2402
2574
|
},
|
|
2403
2575
|
layout: {
|
|
2404
2576
|
bodyWrapper: "min-h-screen relative overflow-hidden transition-theme flex flex-col font-sans bg-fixed bg-cover bg-center",
|
|
@@ -2843,18 +3015,18 @@ function I(...e) {
|
|
|
2843
3015
|
}
|
|
2844
3016
|
//#endregion
|
|
2845
3017
|
//#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:
|
|
3018
|
+
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 }) => {
|
|
3019
|
+
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 : "";
|
|
3020
|
+
return /* @__PURE__ */ c(p, {
|
|
3021
|
+
id: d,
|
|
3022
|
+
className: I(m[t], g, _, v, y, l),
|
|
3023
|
+
style: u,
|
|
2852
3024
|
children: e
|
|
2853
3025
|
});
|
|
2854
3026
|
}, 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 ||
|
|
3027
|
+
let { theme: o, themeConfig: s } = F(), l = o.geometry.badges[n], u = r || l.typography;
|
|
2856
3028
|
return /* @__PURE__ */ c("div", {
|
|
2857
|
-
className: I(o.geometry.badges.baseStyles, s.badges.base, l.
|
|
3029
|
+
className: I(o.geometry.badges.baseStyles, s.badges.base, l.padding, l.corner, s.badges.variants[t], i),
|
|
2858
3030
|
style: a,
|
|
2859
3031
|
children: /* @__PURE__ */ c(L, {
|
|
2860
3032
|
typographySize: u,
|
|
@@ -2864,9 +3036,9 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2864
3036
|
})
|
|
2865
3037
|
});
|
|
2866
3038
|
}, 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 ||
|
|
3039
|
+
let { theme: d, themeConfig: f } = F(), p = f.buttons[e], m = t, h = d.geometry.buttons[m], g = n || h.typography;
|
|
2868
3040
|
return /* @__PURE__ */ l("button", {
|
|
2869
|
-
className: I(d.geometry.buttons.baseStyles, p, h.
|
|
3041
|
+
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
3042
|
...u,
|
|
2871
3043
|
children: [
|
|
2872
3044
|
r && /* @__PURE__ */ c(r, { className: d.geometry.buttons.layout.icon }),
|
|
@@ -2888,7 +3060,7 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2888
3060
|
"aria-checked": e,
|
|
2889
3061
|
disabled: i,
|
|
2890
3062
|
onClick: l,
|
|
2891
|
-
className: I(o.checkbox.base, s.size, e ? o.checkbox.checked : o.checkbox.unchecked, i && a.geometry.checkbox.disabledStyles, r),
|
|
3063
|
+
className: I(o.checkbox.base, s.size, s.corner, e ? o.checkbox.checked : o.checkbox.unchecked, i && a.geometry.checkbox.disabledStyles, r),
|
|
2892
3064
|
children: /* @__PURE__ */ c(f, {
|
|
2893
3065
|
size: s.iconSize,
|
|
2894
3066
|
strokeWidth: 4,
|
|
@@ -2908,10 +3080,10 @@ var L = ({ children: e, typographySize: t = b.Medium, variant: n = "p", bold: r
|
|
|
2908
3080
|
children: m()
|
|
2909
3081
|
});
|
|
2910
3082
|
}, B = n(({ size: e = y.Medium, className: t, style: n, ...r }, i) => {
|
|
2911
|
-
let { theme: a, themeConfig: o } = F(), s = e;
|
|
3083
|
+
let { theme: a, themeConfig: o } = F(), s = e, l = a.geometry.input[s];
|
|
2912
3084
|
return /* @__PURE__ */ c("input", {
|
|
2913
3085
|
ref: i,
|
|
2914
|
-
className: I(a.geometry.input.baseStyles, o.input,
|
|
3086
|
+
className: I(a.geometry.input.baseStyles, o.input, l.height, l.padding, l.fontSize, t),
|
|
2915
3087
|
style: n,
|
|
2916
3088
|
...r
|
|
2917
3089
|
});
|
|
@@ -2920,32 +3092,32 @@ B.displayName = "TigerInput";
|
|
|
2920
3092
|
//#endregion
|
|
2921
3093
|
//#region src/presentation/components/TigerProgress.tsx
|
|
2922
3094
|
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,
|
|
3095
|
+
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", {
|
|
3096
|
+
className: I(m.track, _.height, _.trackRadius, h.track),
|
|
2925
3097
|
children: /* @__PURE__ */ c("div", {
|
|
2926
|
-
className: I(m.fill,
|
|
3098
|
+
className: I(m.fill, _.trackRadius, h.fill),
|
|
2927
3099
|
style: { width: `${p}%` },
|
|
2928
3100
|
children: /* @__PURE__ */ c("div", { className: I(m.fillEffect, h.fillEffectColor) })
|
|
2929
3101
|
})
|
|
2930
|
-
}),
|
|
2931
|
-
className: I(m.stepContainer,
|
|
3102
|
+
}), x = () => /* @__PURE__ */ c("div", {
|
|
3103
|
+
className: I(m.stepContainer, _.gap),
|
|
2932
3104
|
children: Array.from({ length: n }).map((e, n) => /* @__PURE__ */ c("div", {
|
|
2933
|
-
className: I(m.step,
|
|
3105
|
+
className: I(m.step, _.height, _.trackRadius, n < t ? h.fill : h.unfilled),
|
|
2934
3106
|
children: n < t && /* @__PURE__ */ c("div", { className: I(m.stepEffect, h.fillEffectColor) })
|
|
2935
3107
|
}, n))
|
|
2936
|
-
}),
|
|
3108
|
+
}), S = r === "bar" ? `${Math.round(p)}%` : `${t}/${n}`;
|
|
2937
3109
|
return /* @__PURE__ */ l("div", {
|
|
2938
3110
|
className: I(m.container, u),
|
|
2939
3111
|
children: [/* @__PURE__ */ c("div", {
|
|
2940
3112
|
className: m.wrapper,
|
|
2941
|
-
children: r === "bar" ?
|
|
3113
|
+
children: r === "bar" ? b() : x()
|
|
2942
3114
|
}), s && /* @__PURE__ */ c("div", {
|
|
2943
3115
|
className: m.valueContainer,
|
|
2944
3116
|
children: /* @__PURE__ */ c(L, {
|
|
2945
|
-
typographySize:
|
|
3117
|
+
typographySize: v,
|
|
2946
3118
|
bold: !0,
|
|
2947
3119
|
className: I(m.valueStyles, h.value),
|
|
2948
|
-
children:
|
|
3120
|
+
children: S
|
|
2949
3121
|
})
|
|
2950
3122
|
})]
|
|
2951
3123
|
});
|
|
@@ -2980,7 +3152,7 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
2980
3152
|
})]
|
|
2981
3153
|
});
|
|
2982
3154
|
}, 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 ||
|
|
3155
|
+
let { theme: o, themeConfig: s } = F(), l = r, u = o.geometry.cards[l], d = i || u.typography, f = o.geometry.typography[d];
|
|
2984
3156
|
return /* @__PURE__ */ c("div", {
|
|
2985
3157
|
onClick: a,
|
|
2986
3158
|
role: a ? "button" : void 0,
|
|
@@ -3093,7 +3265,7 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
3093
3265
|
children: e
|
|
3094
3266
|
});
|
|
3095
3267
|
}, 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.
|
|
3268
|
+
let { themeConfig: s, theme: u } = F(), d = u.geometry.topbar, f = a || d.titleTypography[i], p = o || d.descriptionTypography;
|
|
3097
3269
|
return /* @__PURE__ */ l("header", {
|
|
3098
3270
|
className: I(d.wrapper, s.layout.topbar.container, d.padding, d.margin, d.corner, d.height, d.width, r),
|
|
3099
3271
|
children: [
|
|
@@ -3249,7 +3421,7 @@ var re = ({ value: e = 0, currentStep: t = 0, totalSteps: n = 5, variant: r = "b
|
|
|
3249
3421
|
}, [s, u]), s ? g(/* @__PURE__ */ c("div", {
|
|
3250
3422
|
ref: l,
|
|
3251
3423
|
role: "listbox",
|
|
3252
|
-
className: I(f.dropdown?.content || "", d.geometry.dropdown?.[h]?.
|
|
3424
|
+
className: I(f.dropdown?.content || "", d.geometry.dropdown?.[h]?.width || "", d.geometry.dropdown?.contentPositioning || "", n),
|
|
3253
3425
|
style: {
|
|
3254
3426
|
position: "absolute",
|
|
3255
3427
|
top: p.top,
|
|
@@ -3288,9 +3460,9 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3288
3460
|
}) : t)
|
|
3289
3461
|
});
|
|
3290
3462
|
}, 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
|
|
3463
|
+
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
3464
|
return /* @__PURE__ */ l("div", {
|
|
3293
|
-
className: I(u.list.itemBase, h, p, f,
|
|
3465
|
+
className: I(u.list.itemBase, h, p, f, d[g].padding, n),
|
|
3294
3466
|
style: { ...o },
|
|
3295
3467
|
onMouseEnter: (e) => e.currentTarget.style.backgroundColor = u.list.itemHover,
|
|
3296
3468
|
onMouseLeave: (e) => e.currentTarget.style.backgroundColor = s.geometry.list.itemHoverResetColor,
|
|
@@ -3324,7 +3496,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3324
3496
|
})
|
|
3325
3497
|
});
|
|
3326
3498
|
}, 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 ||
|
|
3499
|
+
let { theme: u, themeConfig: d } = F(), f = u.geometry.message, p = d.message.variants[r], m = s || f.titleTypographySize, h = s || f.descriptionTypographySize;
|
|
3328
3500
|
return /* @__PURE__ */ l("div", {
|
|
3329
3501
|
className: I(f.base, f.containerPadding, f.borderRadius, f.transition, p.container, o),
|
|
3330
3502
|
role: "alert",
|
|
@@ -3353,7 +3525,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3353
3525
|
className: I(f.titleExtra, d.cardText),
|
|
3354
3526
|
children: e
|
|
3355
3527
|
}), t && /* @__PURE__ */ c(L, {
|
|
3356
|
-
typographySize:
|
|
3528
|
+
typographySize: h,
|
|
3357
3529
|
className: I(f.descriptionExtra, d.mutedText),
|
|
3358
3530
|
children: t
|
|
3359
3531
|
})]
|
|
@@ -3395,7 +3567,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3395
3567
|
}, [t]);
|
|
3396
3568
|
let v = (e) => {
|
|
3397
3569
|
g(e), r && r(e);
|
|
3398
|
-
}, b = p.geometry.tabs, x = a, S = s || b
|
|
3570
|
+
}, b = p.geometry.tabs, x = a, S = s || b[x].typography, C = () => /* @__PURE__ */ c("div", {
|
|
3399
3571
|
className: I(m.tabs.container, b.segment.container, d ? b.segment.fullWidth : b.segment.fitted, f),
|
|
3400
3572
|
children: e.map((e) => {
|
|
3401
3573
|
let t = _ === e.id;
|
|
@@ -3405,7 +3577,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3405
3577
|
"aria-selected": t,
|
|
3406
3578
|
disabled: e.disabled,
|
|
3407
3579
|
onClick: () => !e.disabled && v(e.id),
|
|
3408
|
-
className: I(b.segment.button, b[x].
|
|
3580
|
+
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
3581
|
children: [e.icon, e.label]
|
|
3410
3582
|
}, e.id);
|
|
3411
3583
|
})
|
|
@@ -3419,7 +3591,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3419
3591
|
"aria-selected": t,
|
|
3420
3592
|
disabled: e.disabled,
|
|
3421
3593
|
onClick: () => !e.disabled && v(e.id),
|
|
3422
|
-
className: I(b.underline.button, b[x].
|
|
3594
|
+
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
3595
|
children: [
|
|
3424
3596
|
e.icon,
|
|
3425
3597
|
e.label,
|
|
@@ -3437,7 +3609,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3437
3609
|
"aria-selected": t,
|
|
3438
3610
|
disabled: e.disabled,
|
|
3439
3611
|
onClick: () => !e.disabled && v(e.id),
|
|
3440
|
-
className: I(b.pill.button, b[x].
|
|
3612
|
+
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
3613
|
style: t ? void 0 : { borderColor: m.borders.row },
|
|
3442
3614
|
children: [e.icon, e.label]
|
|
3443
3615
|
}, e.id);
|
|
@@ -3457,7 +3629,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3457
3629
|
]
|
|
3458
3630
|
});
|
|
3459
3631
|
}, 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 || _
|
|
3632
|
+
let { theme: p } = F(), m = s, _ = p.geometry.modal, v = u || _[m].typography, [b, x] = o(!1);
|
|
3461
3633
|
if (i(() => (x(!0), e && (document.body.style.overflow = "hidden"), () => {
|
|
3462
3634
|
document.body.style.overflow = "unset";
|
|
3463
3635
|
}), [e]), i(() => {
|
|
@@ -3474,7 +3646,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3474
3646
|
onClick: t,
|
|
3475
3647
|
"aria-hidden": "true"
|
|
3476
3648
|
}), /* @__PURE__ */ l(V, {
|
|
3477
|
-
className: I(S.container, S[m].
|
|
3649
|
+
className: I(S.container, S[m].width, f),
|
|
3478
3650
|
role: "dialog",
|
|
3479
3651
|
"aria-modal": "true",
|
|
3480
3652
|
"aria-labelledby": n ? "tiger-modal-title" : void 0,
|
|
@@ -3546,7 +3718,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3546
3718
|
}) : t)
|
|
3547
3719
|
});
|
|
3548
3720
|
}, 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.
|
|
3721
|
+
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.headerTypographySize;
|
|
3550
3722
|
return /* @__PURE__ */ c("th", {
|
|
3551
3723
|
className: I(s.headerCell, s[l].headerCellSize, n),
|
|
3552
3724
|
style: {
|
|
@@ -3563,7 +3735,7 @@ var ue = ({ children: t, className: n, size: r = y.Medium, divided: i = !0 }) =>
|
|
|
3563
3735
|
})
|
|
3564
3736
|
});
|
|
3565
3737
|
}, 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.
|
|
3738
|
+
let { theme: a, themeConfig: o } = F(), s = a.geometry.table, l = t, u = r || s.dataTypographySize;
|
|
3567
3739
|
return /* @__PURE__ */ c("td", {
|
|
3568
3740
|
className: I(s[l].dataCellSize, n),
|
|
3569
3741
|
style: { borderBottom: `${s.dataBorder} ${o.borders.row}` },
|