@jonapin006/tiger 1.0.0 → 1.0.1
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/dist/index.d.ts +764 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,764 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare interface BaseComponentProps {
|
|
4
|
+
children?: default_2.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: default_2.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
10
|
+
variant?: TigerButtonVariant;
|
|
11
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare interface CardProps extends SizedComponentProps {
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export declare enum ComponentSize {
|
|
20
|
+
Xsmall = "xsmall",
|
|
21
|
+
Small = "small",
|
|
22
|
+
Medium = "medium",
|
|
23
|
+
Large = "large",
|
|
24
|
+
Xlarge = "xlarge"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export declare const glassmorphismTheme: ThemeDefinition;
|
|
28
|
+
|
|
29
|
+
declare interface IconButtonProps extends VariantComponentProps<TigerButtonVariant> {
|
|
30
|
+
icon?: default_2.ReactNode;
|
|
31
|
+
onClick?: default_2.MouseEventHandler<HTMLButtonElement>;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
'aria-label'?: string;
|
|
34
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare const mandalaTheme: ThemeDefinition;
|
|
38
|
+
|
|
39
|
+
export declare const mispuntosTheme: ThemeDefinition;
|
|
40
|
+
|
|
41
|
+
declare type ProgressVariant = 'bar' | 'steps';
|
|
42
|
+
|
|
43
|
+
export declare interface SizedComponentProps extends BaseComponentProps {
|
|
44
|
+
size?: ComponentSize;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare type StackAlign = 'start' | 'center' | 'end';
|
|
48
|
+
|
|
49
|
+
declare type StackDirection = 'vertical' | 'horizontal';
|
|
50
|
+
|
|
51
|
+
export declare interface ThemeConfig extends ThemeModeConfig {
|
|
52
|
+
name: string;
|
|
53
|
+
subName: string;
|
|
54
|
+
pageTitle: string;
|
|
55
|
+
websiteUrl: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare interface ThemeContextType {
|
|
59
|
+
theme: ThemeDefinition;
|
|
60
|
+
mode: ThemeMode;
|
|
61
|
+
themeConfig: ThemeModeConfig;
|
|
62
|
+
setTheme: (themeName: string) => void;
|
|
63
|
+
toggleMode: () => void;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export declare interface ThemeDefinition {
|
|
67
|
+
name: string;
|
|
68
|
+
subName: string;
|
|
69
|
+
pageTitle: string;
|
|
70
|
+
websiteUrl: string;
|
|
71
|
+
geometry: ThemeGeometryConfig;
|
|
72
|
+
modes: {
|
|
73
|
+
light: ThemeModeConfig;
|
|
74
|
+
dark: ThemeModeConfig;
|
|
75
|
+
};
|
|
76
|
+
defaultMode: ThemeMode;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export declare interface ThemeGeometryConfig {
|
|
80
|
+
typography: {
|
|
81
|
+
small: string;
|
|
82
|
+
medium: string;
|
|
83
|
+
large: string;
|
|
84
|
+
xlarge: string;
|
|
85
|
+
weights: {
|
|
86
|
+
bold: string;
|
|
87
|
+
normal: string;
|
|
88
|
+
};
|
|
89
|
+
styles: {
|
|
90
|
+
italic: string;
|
|
91
|
+
normal: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
buttons: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
95
|
+
size: string;
|
|
96
|
+
}> & {
|
|
97
|
+
typographyMappings: {
|
|
98
|
+
small: ComponentSize;
|
|
99
|
+
medium: ComponentSize;
|
|
100
|
+
large: ComponentSize;
|
|
101
|
+
xlarge: ComponentSize;
|
|
102
|
+
};
|
|
103
|
+
baseTypography: string;
|
|
104
|
+
baseStyles: string;
|
|
105
|
+
});
|
|
106
|
+
iconButtons: Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
107
|
+
size: string;
|
|
108
|
+
padding: string;
|
|
109
|
+
iconSize: number;
|
|
110
|
+
}> & {
|
|
111
|
+
baseStyles: string;
|
|
112
|
+
};
|
|
113
|
+
badges: (Record<ComponentSize.Small | ComponentSize.Medium, {
|
|
114
|
+
container: string;
|
|
115
|
+
}> & {
|
|
116
|
+
typography: string;
|
|
117
|
+
baseStyles: string;
|
|
118
|
+
});
|
|
119
|
+
tabs: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
120
|
+
size: string;
|
|
121
|
+
contentSize: string;
|
|
122
|
+
}> & {
|
|
123
|
+
typographyMappings: {
|
|
124
|
+
small: ComponentSize;
|
|
125
|
+
medium: ComponentSize;
|
|
126
|
+
large: ComponentSize;
|
|
127
|
+
xlarge: ComponentSize;
|
|
128
|
+
};
|
|
129
|
+
wrapper: string;
|
|
130
|
+
disabled: string;
|
|
131
|
+
segment: {
|
|
132
|
+
container: string;
|
|
133
|
+
fullWidth: string;
|
|
134
|
+
fitted: string;
|
|
135
|
+
button: string;
|
|
136
|
+
buttonFullWidth: string;
|
|
137
|
+
};
|
|
138
|
+
underline: {
|
|
139
|
+
container: string;
|
|
140
|
+
fullWidth: string;
|
|
141
|
+
fitted: string;
|
|
142
|
+
button: string;
|
|
143
|
+
buttonFullWidth: string;
|
|
144
|
+
indicator: string;
|
|
145
|
+
indicatorActive: string;
|
|
146
|
+
indicatorInactive: string;
|
|
147
|
+
};
|
|
148
|
+
pill: {
|
|
149
|
+
container: string;
|
|
150
|
+
fullWidth: string;
|
|
151
|
+
fitted: string;
|
|
152
|
+
button: string;
|
|
153
|
+
};
|
|
154
|
+
content: string;
|
|
155
|
+
});
|
|
156
|
+
cards: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
157
|
+
size: string;
|
|
158
|
+
}> & {
|
|
159
|
+
typographyMappings: {
|
|
160
|
+
small: ComponentSize;
|
|
161
|
+
medium: ComponentSize;
|
|
162
|
+
large: ComponentSize;
|
|
163
|
+
xlarge: ComponentSize;
|
|
164
|
+
};
|
|
165
|
+
baseStyles: string;
|
|
166
|
+
interactiveStyles: string;
|
|
167
|
+
borderStyle: string;
|
|
168
|
+
});
|
|
169
|
+
checkbox: (Record<ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large, {
|
|
170
|
+
size: string;
|
|
171
|
+
iconSize: number;
|
|
172
|
+
}> & {
|
|
173
|
+
typographyMappings: {
|
|
174
|
+
small: ComponentSize;
|
|
175
|
+
medium: ComponentSize;
|
|
176
|
+
large: ComponentSize;
|
|
177
|
+
};
|
|
178
|
+
disabledStyles: string;
|
|
179
|
+
icon: {
|
|
180
|
+
baseStyles: string;
|
|
181
|
+
checked: string;
|
|
182
|
+
unchecked: string;
|
|
183
|
+
};
|
|
184
|
+
});
|
|
185
|
+
glassContainer: {
|
|
186
|
+
defaultPadding: string;
|
|
187
|
+
defaultBorderRadius: string;
|
|
188
|
+
transition: string;
|
|
189
|
+
interactiveStyles: string;
|
|
190
|
+
typographyMappings: {
|
|
191
|
+
default: ComponentSize;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
input: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
195
|
+
size: string;
|
|
196
|
+
}> & {
|
|
197
|
+
baseStyles: string;
|
|
198
|
+
typographyMappings: {
|
|
199
|
+
small: ComponentSize;
|
|
200
|
+
medium: ComponentSize;
|
|
201
|
+
large: ComponentSize;
|
|
202
|
+
xlarge: ComponentSize;
|
|
203
|
+
};
|
|
204
|
+
});
|
|
205
|
+
list: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
206
|
+
size: string;
|
|
207
|
+
}> & {
|
|
208
|
+
gap: string;
|
|
209
|
+
itemGap: string;
|
|
210
|
+
iconOpacity: string;
|
|
211
|
+
transition: string;
|
|
212
|
+
itemCorner: string;
|
|
213
|
+
containerCorner: string;
|
|
214
|
+
typographyMappings: {
|
|
215
|
+
small: ComponentSize;
|
|
216
|
+
medium: ComponentSize;
|
|
217
|
+
large: ComponentSize;
|
|
218
|
+
xlarge: ComponentSize;
|
|
219
|
+
};
|
|
220
|
+
itemHoverResetColor: string;
|
|
221
|
+
typographyInherit: string;
|
|
222
|
+
});
|
|
223
|
+
message: {
|
|
224
|
+
base: string;
|
|
225
|
+
containerPadding: string;
|
|
226
|
+
borderRadius: string;
|
|
227
|
+
gap: string;
|
|
228
|
+
contentWrapper: string;
|
|
229
|
+
actionsWrapper: string;
|
|
230
|
+
iconSize: string;
|
|
231
|
+
typographyMappings: {
|
|
232
|
+
title: ComponentSize;
|
|
233
|
+
description: ComponentSize;
|
|
234
|
+
};
|
|
235
|
+
titleExtra: string;
|
|
236
|
+
descriptionExtra: string;
|
|
237
|
+
actionGap: string;
|
|
238
|
+
actionMarginLeft: string;
|
|
239
|
+
closeIconSize: number;
|
|
240
|
+
thumbnailVariant: TigerThumbnailVariant;
|
|
241
|
+
thumbnailSize: string;
|
|
242
|
+
transition: string;
|
|
243
|
+
};
|
|
244
|
+
table: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
245
|
+
headerCellSize: string;
|
|
246
|
+
dataCellSize: string;
|
|
247
|
+
}> & {
|
|
248
|
+
container: string;
|
|
249
|
+
containerBorder: string;
|
|
250
|
+
wrapper: string;
|
|
251
|
+
table: string;
|
|
252
|
+
head: string;
|
|
253
|
+
headRow: string;
|
|
254
|
+
headerCell: string;
|
|
255
|
+
headerBorder: string;
|
|
256
|
+
headerTypography: string;
|
|
257
|
+
rowBackground: string;
|
|
258
|
+
dataCell: string;
|
|
259
|
+
dataBorder: string;
|
|
260
|
+
dataTypography: string;
|
|
261
|
+
typographyMappings: {
|
|
262
|
+
header: ComponentSize;
|
|
263
|
+
data: ComponentSize;
|
|
264
|
+
};
|
|
265
|
+
});
|
|
266
|
+
modal: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
267
|
+
size: string;
|
|
268
|
+
}> & {
|
|
269
|
+
wrapper: string;
|
|
270
|
+
overlay: string;
|
|
271
|
+
container: string;
|
|
272
|
+
headerSpacing: string;
|
|
273
|
+
contentSpacing: string;
|
|
274
|
+
footerSpacing: string;
|
|
275
|
+
closeIconSize: number;
|
|
276
|
+
closeButton: string;
|
|
277
|
+
titleExtra: string;
|
|
278
|
+
footerBorder: string;
|
|
279
|
+
typographyMappings: {
|
|
280
|
+
title: ComponentSize;
|
|
281
|
+
content: ComponentSize;
|
|
282
|
+
};
|
|
283
|
+
});
|
|
284
|
+
progress: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
285
|
+
height: string;
|
|
286
|
+
trackRadius: string;
|
|
287
|
+
gap: string;
|
|
288
|
+
}> & {
|
|
289
|
+
container: string;
|
|
290
|
+
wrapper: string;
|
|
291
|
+
track: string;
|
|
292
|
+
fill: string;
|
|
293
|
+
fillEffect: string;
|
|
294
|
+
stepContainer: string;
|
|
295
|
+
step: string;
|
|
296
|
+
stepEffect: string;
|
|
297
|
+
valueContainer: string;
|
|
298
|
+
valueStyles: string;
|
|
299
|
+
typographyMappings: Record<'small' | 'medium' | 'large' | 'xlarge', ComponentSize>;
|
|
300
|
+
});
|
|
301
|
+
stack: (Record<Exclude<ComponentSize, ComponentSize.Xsmall>, {
|
|
302
|
+
gap: string;
|
|
303
|
+
}> & {
|
|
304
|
+
flexBase: string;
|
|
305
|
+
directions: {
|
|
306
|
+
vertical: string;
|
|
307
|
+
horizontal: string;
|
|
308
|
+
};
|
|
309
|
+
alignments: {
|
|
310
|
+
vertical: {
|
|
311
|
+
start: string;
|
|
312
|
+
center: string;
|
|
313
|
+
end: string;
|
|
314
|
+
};
|
|
315
|
+
horizontal: {
|
|
316
|
+
start: string;
|
|
317
|
+
center: string;
|
|
318
|
+
end: string;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
});
|
|
322
|
+
thumbnail: (Record<ComponentSize, {
|
|
323
|
+
size: string;
|
|
324
|
+
shapes: Record<ThumbnailShape, string>;
|
|
325
|
+
}> & {
|
|
326
|
+
variants: {
|
|
327
|
+
soft: {
|
|
328
|
+
bg: string;
|
|
329
|
+
text: string;
|
|
330
|
+
};
|
|
331
|
+
solid: {
|
|
332
|
+
bg: string;
|
|
333
|
+
text: string;
|
|
334
|
+
};
|
|
335
|
+
glass: {
|
|
336
|
+
bg: string;
|
|
337
|
+
text: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
baseStyles: string;
|
|
341
|
+
imageStyles: string;
|
|
342
|
+
contentStyles: string;
|
|
343
|
+
});
|
|
344
|
+
toasts: {
|
|
345
|
+
containerPadding: string;
|
|
346
|
+
contentWrapper: string;
|
|
347
|
+
stackItem: string;
|
|
348
|
+
width: string;
|
|
349
|
+
height: string;
|
|
350
|
+
containerStyles: string;
|
|
351
|
+
stackStyles: string;
|
|
352
|
+
title: string;
|
|
353
|
+
description: string;
|
|
354
|
+
closeButton: string;
|
|
355
|
+
corner: string;
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export declare enum ThemeMode {
|
|
360
|
+
Light = "light",
|
|
361
|
+
Dark = "dark"
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export declare interface ThemeModeConfig {
|
|
365
|
+
isDark: boolean;
|
|
366
|
+
logo: string;
|
|
367
|
+
primaryColor: string;
|
|
368
|
+
secondaryColor: string;
|
|
369
|
+
gradient: string;
|
|
370
|
+
bgImage?: string;
|
|
371
|
+
buttonText: string;
|
|
372
|
+
sidebarActive: string;
|
|
373
|
+
sidebarInactive: string;
|
|
374
|
+
card: string;
|
|
375
|
+
secondaryCard: string;
|
|
376
|
+
cardText: string;
|
|
377
|
+
input: string;
|
|
378
|
+
mutedText: string;
|
|
379
|
+
dialog: string;
|
|
380
|
+
popover: string;
|
|
381
|
+
tabsList: string;
|
|
382
|
+
tabActive: string;
|
|
383
|
+
surface: string;
|
|
384
|
+
accent: string;
|
|
385
|
+
accentActive: string;
|
|
386
|
+
accentSoft: string;
|
|
387
|
+
blobs: {
|
|
388
|
+
color1: string;
|
|
389
|
+
color2: string;
|
|
390
|
+
color3: string;
|
|
391
|
+
aura: string;
|
|
392
|
+
};
|
|
393
|
+
borders: {
|
|
394
|
+
header: string;
|
|
395
|
+
row: string;
|
|
396
|
+
container: string;
|
|
397
|
+
};
|
|
398
|
+
table: {
|
|
399
|
+
headerBg: string;
|
|
400
|
+
headerText: string;
|
|
401
|
+
rowHover: string;
|
|
402
|
+
};
|
|
403
|
+
shadows: {
|
|
404
|
+
small: string;
|
|
405
|
+
medium: string;
|
|
406
|
+
large: string;
|
|
407
|
+
xlarge: string;
|
|
408
|
+
};
|
|
409
|
+
layout: {
|
|
410
|
+
sidebar: string;
|
|
411
|
+
main: string;
|
|
412
|
+
};
|
|
413
|
+
statusColors: {
|
|
414
|
+
success: {
|
|
415
|
+
bg: string;
|
|
416
|
+
text: string;
|
|
417
|
+
dot: string;
|
|
418
|
+
};
|
|
419
|
+
warning: {
|
|
420
|
+
bg: string;
|
|
421
|
+
text: string;
|
|
422
|
+
dot: string;
|
|
423
|
+
};
|
|
424
|
+
error: {
|
|
425
|
+
bg: string;
|
|
426
|
+
text: string;
|
|
427
|
+
dot: string;
|
|
428
|
+
};
|
|
429
|
+
info: {
|
|
430
|
+
bg: string;
|
|
431
|
+
text: string;
|
|
432
|
+
dot: string;
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
glass: {
|
|
436
|
+
blur: string;
|
|
437
|
+
container: string;
|
|
438
|
+
};
|
|
439
|
+
buttons: Record<TigerButtonVariant, string>;
|
|
440
|
+
iconButtons: Record<TigerButtonVariant, string>;
|
|
441
|
+
checkbox: {
|
|
442
|
+
base: string;
|
|
443
|
+
checked: string;
|
|
444
|
+
unchecked: string;
|
|
445
|
+
};
|
|
446
|
+
badges: {
|
|
447
|
+
base: string;
|
|
448
|
+
variants: Record<TigerBadgeVariant, string>;
|
|
449
|
+
};
|
|
450
|
+
tabs: {
|
|
451
|
+
container: string;
|
|
452
|
+
active: string;
|
|
453
|
+
inactive: string;
|
|
454
|
+
};
|
|
455
|
+
toasts: {
|
|
456
|
+
container: string;
|
|
457
|
+
title: string;
|
|
458
|
+
description: string;
|
|
459
|
+
closeButton: string;
|
|
460
|
+
variants: {
|
|
461
|
+
info: string;
|
|
462
|
+
success: string;
|
|
463
|
+
warning: string;
|
|
464
|
+
error: string;
|
|
465
|
+
neutral: string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
list: {
|
|
469
|
+
base: string;
|
|
470
|
+
itemBase: string;
|
|
471
|
+
itemHover: string;
|
|
472
|
+
divider: string;
|
|
473
|
+
iconContainer: string;
|
|
474
|
+
iconColor: string;
|
|
475
|
+
textContainer: string;
|
|
476
|
+
};
|
|
477
|
+
message: {
|
|
478
|
+
variants: {
|
|
479
|
+
info: {
|
|
480
|
+
container: string;
|
|
481
|
+
thumbnail: string;
|
|
482
|
+
icon: string;
|
|
483
|
+
};
|
|
484
|
+
success: {
|
|
485
|
+
container: string;
|
|
486
|
+
thumbnail: string;
|
|
487
|
+
icon: string;
|
|
488
|
+
};
|
|
489
|
+
warning: {
|
|
490
|
+
container: string;
|
|
491
|
+
thumbnail: string;
|
|
492
|
+
icon: string;
|
|
493
|
+
};
|
|
494
|
+
error: {
|
|
495
|
+
container: string;
|
|
496
|
+
thumbnail: string;
|
|
497
|
+
icon: string;
|
|
498
|
+
};
|
|
499
|
+
neutral: {
|
|
500
|
+
container: string;
|
|
501
|
+
thumbnail: string;
|
|
502
|
+
icon: string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
closeButton: string;
|
|
506
|
+
};
|
|
507
|
+
progress: {
|
|
508
|
+
track: string;
|
|
509
|
+
fill: string;
|
|
510
|
+
unfilled: string;
|
|
511
|
+
fillEffectColor: string;
|
|
512
|
+
value: string;
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export declare const ThemeProvider: default_2.FC<{
|
|
517
|
+
children: default_2.ReactNode;
|
|
518
|
+
}>;
|
|
519
|
+
|
|
520
|
+
export declare enum ThumbnailShape {
|
|
521
|
+
Squircle = "squircle",
|
|
522
|
+
Circle = "circle"
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export declare const TigerBadge: default_2.FC<TigerBadgeProps>;
|
|
526
|
+
|
|
527
|
+
declare interface TigerBadgeProps extends BaseComponentProps {
|
|
528
|
+
variant?: TigerBadgeVariant;
|
|
529
|
+
size?: ComponentSize.Small | ComponentSize.Medium;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export declare enum TigerBadgeVariant {
|
|
533
|
+
Primary = "primary",
|
|
534
|
+
Accent = "accent",
|
|
535
|
+
Success = "success",
|
|
536
|
+
Warning = "warning",
|
|
537
|
+
Error = "error"
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export declare const TigerButton: default_2.FC<ButtonProps>;
|
|
541
|
+
|
|
542
|
+
export declare enum TigerButtonVariant {
|
|
543
|
+
Primary = "primary",
|
|
544
|
+
Secondary = "secondary",
|
|
545
|
+
Ghost = "ghost"
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export declare const TigerCard: default_2.FC<CardProps>;
|
|
549
|
+
|
|
550
|
+
export declare const TigerCheckbox: default_2.FC<TigerCheckboxProps>;
|
|
551
|
+
|
|
552
|
+
declare interface TigerCheckboxProps extends BaseComponentProps {
|
|
553
|
+
checked?: boolean;
|
|
554
|
+
onChange?: (checked: boolean) => void;
|
|
555
|
+
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
556
|
+
disabled?: boolean;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export declare const TigerGlassContainer: default_2.FC<TigerGlassContainerProps>;
|
|
560
|
+
|
|
561
|
+
declare interface TigerGlassContainerProps extends BaseComponentProps, default_2.HTMLAttributes<HTMLDivElement> {
|
|
562
|
+
onClick?: () => void;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export declare const TigerIconButton: default_2.FC<IconButtonProps>;
|
|
566
|
+
|
|
567
|
+
export declare const TigerInput: default_2.FC<TigerInputProps>;
|
|
568
|
+
|
|
569
|
+
declare interface TigerInputProps extends Omit<BaseComponentProps, 'children'> {
|
|
570
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
571
|
+
type?: string;
|
|
572
|
+
placeholder?: string;
|
|
573
|
+
disabled?: boolean;
|
|
574
|
+
value?: string | number | readonly string[];
|
|
575
|
+
onChange?: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export declare const TigerList: default_2.FC<TigerListProps>;
|
|
579
|
+
|
|
580
|
+
export declare const TigerListItem: default_2.FC<TigerListItemProps>;
|
|
581
|
+
|
|
582
|
+
declare interface TigerListItemProps extends Omit<SizedComponentProps, 'size'> {
|
|
583
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
584
|
+
icon?: default_2.ReactNode;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
declare interface TigerListProps extends Omit<SizedComponentProps, 'size'> {
|
|
588
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
589
|
+
divided?: boolean;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export declare const TigerMessage: default_2.FC<TigerMessageProps>;
|
|
593
|
+
|
|
594
|
+
export declare interface TigerMessageProps extends BaseComponentProps {
|
|
595
|
+
title: string;
|
|
596
|
+
description?: default_2.ReactNode;
|
|
597
|
+
icon?: default_2.ReactNode;
|
|
598
|
+
variant?: TigerMessageVariant;
|
|
599
|
+
action?: default_2.ReactNode;
|
|
600
|
+
onClose?: () => void;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export declare enum TigerMessageVariant {
|
|
604
|
+
Info = "info",
|
|
605
|
+
Success = "success",
|
|
606
|
+
Warning = "warning",
|
|
607
|
+
Error = "error",
|
|
608
|
+
Neutral = "neutral"
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export declare const TigerModal: default_2.FC<TigerModalProps>;
|
|
612
|
+
|
|
613
|
+
export declare interface TigerModalProps extends BaseComponentProps {
|
|
614
|
+
isOpen: boolean;
|
|
615
|
+
onClose: () => void;
|
|
616
|
+
title?: string;
|
|
617
|
+
footer?: default_2.ReactNode;
|
|
618
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
619
|
+
showCloseButton?: boolean;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export declare const TigerProgress: default_2.FC<TigerProgressProps>;
|
|
623
|
+
|
|
624
|
+
declare interface TigerProgressProps {
|
|
625
|
+
value?: number;
|
|
626
|
+
currentStep?: number;
|
|
627
|
+
totalSteps?: number;
|
|
628
|
+
variant?: ProgressVariant;
|
|
629
|
+
max?: number;
|
|
630
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
631
|
+
showValue?: boolean;
|
|
632
|
+
className?: string;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export declare const TigerStack: default_2.FC<TigerStackProps>;
|
|
636
|
+
|
|
637
|
+
declare interface TigerStackProps {
|
|
638
|
+
children: default_2.ReactNode;
|
|
639
|
+
direction?: StackDirection;
|
|
640
|
+
gap?: ComponentSize;
|
|
641
|
+
align?: StackAlign;
|
|
642
|
+
className?: string;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export declare interface TigerTabItem {
|
|
646
|
+
id: string;
|
|
647
|
+
label: default_2.ReactNode;
|
|
648
|
+
icon?: default_2.ReactNode;
|
|
649
|
+
content?: default_2.ReactNode;
|
|
650
|
+
disabled?: boolean;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export declare const TigerTable: default_2.FC<TigerTableProps>;
|
|
654
|
+
|
|
655
|
+
declare interface TigerTableProps extends BaseComponentProps {
|
|
656
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export declare const TigerTabs: default_2.FC<TigerTabsProps>;
|
|
660
|
+
|
|
661
|
+
export declare interface TigerTabsProps extends VariantComponentProps<TigerTabsVariant> {
|
|
662
|
+
items: TigerTabItem[];
|
|
663
|
+
activeId?: string;
|
|
664
|
+
defaultActiveId?: string;
|
|
665
|
+
onChange?: (id: string) => void;
|
|
666
|
+
fullWidth?: boolean;
|
|
667
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export declare enum TigerTabsVariant {
|
|
671
|
+
Segment = "segment",
|
|
672
|
+
Underline = "underline",
|
|
673
|
+
Pill = "pill"
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export declare const TigerTbody: default_2.FC<TigerTbodyProps>;
|
|
677
|
+
|
|
678
|
+
declare interface TigerTbodyProps extends BaseComponentProps {
|
|
679
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export declare const TigerTd: default_2.FC<TigerTdProps>;
|
|
683
|
+
|
|
684
|
+
declare interface TigerTdProps extends BaseComponentProps {
|
|
685
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export declare const TigerTh: default_2.FC<TigerThProps>;
|
|
689
|
+
|
|
690
|
+
export declare const TigerThead: default_2.FC<TigerTheadProps>;
|
|
691
|
+
|
|
692
|
+
declare interface TigerTheadProps extends BaseComponentProps {
|
|
693
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
declare interface TigerThProps extends BaseComponentProps {
|
|
697
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export declare const TigerThumbnail: default_2.FC<TigerThumbnailProps>;
|
|
701
|
+
|
|
702
|
+
declare interface TigerThumbnailProps extends BaseComponentProps {
|
|
703
|
+
src?: string;
|
|
704
|
+
alt?: string;
|
|
705
|
+
size?: ComponentSize;
|
|
706
|
+
shape?: ThumbnailShape;
|
|
707
|
+
variant?: TigerThumbnailVariant;
|
|
708
|
+
bgColor?: string;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export declare enum TigerThumbnailVariant {
|
|
712
|
+
Soft = "soft",
|
|
713
|
+
Solid = "solid",
|
|
714
|
+
Glass = "glass"
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export declare const TigerToast: default_2.FC<TigerToastProps>;
|
|
718
|
+
|
|
719
|
+
export declare const TigerToastContainer: default_2.FC<TigerToastContainerProps>;
|
|
720
|
+
|
|
721
|
+
declare interface TigerToastContainerProps {
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
declare interface TigerToastItem {
|
|
725
|
+
id: string;
|
|
726
|
+
title: string;
|
|
727
|
+
description?: string;
|
|
728
|
+
type: TigerToastType;
|
|
729
|
+
duration?: number;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
declare interface TigerToastProps extends TigerToastItem {
|
|
733
|
+
onClose: () => void;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
declare type TigerToastType = 'success' | 'error' | 'info' | 'warning' | 'neutral';
|
|
737
|
+
|
|
738
|
+
export declare const TigerTr: default_2.FC<TigerTrProps>;
|
|
739
|
+
|
|
740
|
+
declare interface TigerTrProps extends BaseComponentProps {
|
|
741
|
+
isHeader?: boolean;
|
|
742
|
+
size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export declare const TigerTypography: default_2.FC<TigerTypographyProps>;
|
|
746
|
+
|
|
747
|
+
declare interface TigerTypographyProps {
|
|
748
|
+
children: default_2.ReactNode;
|
|
749
|
+
size?: ComponentSize;
|
|
750
|
+
variant?: 'h1' | 'h2' | 'h3' | 'p' | 'span';
|
|
751
|
+
bold?: boolean;
|
|
752
|
+
italic?: boolean;
|
|
753
|
+
className?: string;
|
|
754
|
+
style?: default_2.CSSProperties;
|
|
755
|
+
id?: string;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export declare const useTheme: () => ThemeContextType;
|
|
759
|
+
|
|
760
|
+
export declare interface VariantComponentProps<T = string> extends SizedComponentProps {
|
|
761
|
+
variant?: T;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
export { }
|