@functionalui/functionalui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/feather-sprite.svg +1 -0
- package/dist/functionalui.css +1 -0
- package/dist/main.cjs +3 -0
- package/dist/main.d.ts +1638 -0
- package/dist/main.js +9316 -0
- package/dist/types-B-Wi5X54.cjs +1 -0
- package/dist/types-B2oLQKyl.js +2080 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +2042 -0
- package/dist/types.js +155 -0
- package/package.json +87 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,2042 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare interface AdmoitionSize {
|
|
7
|
+
title: {
|
|
8
|
+
padding: Spacings;
|
|
9
|
+
paddingBottom: Spacings;
|
|
10
|
+
paddingLeft?: Spacings;
|
|
11
|
+
paddingRight?: Spacings;
|
|
12
|
+
fontSize: FontSizes;
|
|
13
|
+
fontWeight: FontWeights;
|
|
14
|
+
iconSize: Sizings;
|
|
15
|
+
iconMargin: Spacings;
|
|
16
|
+
};
|
|
17
|
+
content: {
|
|
18
|
+
padding: Spacings;
|
|
19
|
+
paddingTop: Spacings;
|
|
20
|
+
paddingLeft?: Spacings;
|
|
21
|
+
paddingRight?: Spacings;
|
|
22
|
+
fontSize: FontSizes;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export declare const ADMONITION_SIZE: {
|
|
27
|
+
[key: number]: AdmoitionSize;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** colors
|
|
31
|
+
* types - info, warning, success, error, attention
|
|
32
|
+
* border color
|
|
33
|
+
* bg color
|
|
34
|
+
* title color
|
|
35
|
+
* icon color
|
|
36
|
+
* text description color
|
|
37
|
+
*/
|
|
38
|
+
export declare const AdmonitionColors: {
|
|
39
|
+
1: {
|
|
40
|
+
borderColor: ColorPalettes;
|
|
41
|
+
bgColor: ColorPalettes;
|
|
42
|
+
textTitleColor: ColorPalettes;
|
|
43
|
+
textDescriptionColor: ColorPalettes;
|
|
44
|
+
iconColor: ColorPalettes;
|
|
45
|
+
};
|
|
46
|
+
2: {
|
|
47
|
+
borderColor: ColorPalettes;
|
|
48
|
+
bgColor: ColorPalettes;
|
|
49
|
+
textTitleColor: ColorPalettes;
|
|
50
|
+
textDescriptionColor: ColorPalettes;
|
|
51
|
+
iconColor: ColorPalettes;
|
|
52
|
+
};
|
|
53
|
+
3: {
|
|
54
|
+
borderColor: ColorPalettes;
|
|
55
|
+
bgColor: ColorPalettes;
|
|
56
|
+
textTitleColor: ColorPalettes;
|
|
57
|
+
textDescriptionColor: ColorPalettes;
|
|
58
|
+
iconColor: ColorPalettes;
|
|
59
|
+
};
|
|
60
|
+
4: {
|
|
61
|
+
borderColor: ColorPalettes;
|
|
62
|
+
bgColor: ColorPalettes;
|
|
63
|
+
textTitleColor: ColorPalettes;
|
|
64
|
+
textDescriptionColor: ColorPalettes;
|
|
65
|
+
iconColor: ColorPalettes;
|
|
66
|
+
};
|
|
67
|
+
5: {
|
|
68
|
+
borderColor: ColorPalettes;
|
|
69
|
+
bgColor: ColorPalettes;
|
|
70
|
+
textTitleColor: ColorPalettes;
|
|
71
|
+
textDescriptionColor: ColorPalettes;
|
|
72
|
+
iconColor: ColorPalettes;
|
|
73
|
+
};
|
|
74
|
+
6: {
|
|
75
|
+
borderColor: ColorPalettes;
|
|
76
|
+
bgColor: ColorPalettes;
|
|
77
|
+
textTitleColor: ColorPalettes;
|
|
78
|
+
textDescriptionColor: ColorPalettes;
|
|
79
|
+
iconColor: ColorPalettes;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const AdmonitionIcons: {
|
|
84
|
+
1: {
|
|
85
|
+
titleIcon: string;
|
|
86
|
+
};
|
|
87
|
+
2: {
|
|
88
|
+
titleIcon: string;
|
|
89
|
+
};
|
|
90
|
+
3: {
|
|
91
|
+
titleIcon: string;
|
|
92
|
+
};
|
|
93
|
+
4: {
|
|
94
|
+
titleIcon: string;
|
|
95
|
+
};
|
|
96
|
+
5: {
|
|
97
|
+
titleIcon: string;
|
|
98
|
+
};
|
|
99
|
+
6: {
|
|
100
|
+
titleIcon: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export declare enum AdmonitionLevels {
|
|
105
|
+
Info = 1,
|
|
106
|
+
Note = 2,
|
|
107
|
+
Success = 3,
|
|
108
|
+
Warning = 4,
|
|
109
|
+
Attention = 5,
|
|
110
|
+
Error = 6
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export declare enum AdmonitionSizes {
|
|
114
|
+
Small = 1,
|
|
115
|
+
Medium = 2,
|
|
116
|
+
Big = 3
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export declare const AdmonitionTitles: {
|
|
120
|
+
1: string;
|
|
121
|
+
2: string;
|
|
122
|
+
3: string;
|
|
123
|
+
4: string;
|
|
124
|
+
5: string;
|
|
125
|
+
6: string;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export declare const ALIGN_SELF_CLASSES: {
|
|
129
|
+
1: string;
|
|
130
|
+
2: string;
|
|
131
|
+
3: string;
|
|
132
|
+
4: string;
|
|
133
|
+
5: string;
|
|
134
|
+
6: string;
|
|
135
|
+
7: string;
|
|
136
|
+
8: string;
|
|
137
|
+
9: string;
|
|
138
|
+
10: string;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export declare enum AlignSelfs {
|
|
142
|
+
Start = 1,
|
|
143
|
+
End = 2,
|
|
144
|
+
Center = 3,
|
|
145
|
+
Left = 4,
|
|
146
|
+
Right = 5,
|
|
147
|
+
SelfStart = 6,
|
|
148
|
+
SelfEnd = 7,
|
|
149
|
+
Stretch = 8,
|
|
150
|
+
Normal = 9,
|
|
151
|
+
Auto = 10
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export declare const AVATAR_SIZE: {
|
|
155
|
+
1: {
|
|
156
|
+
image: number;
|
|
157
|
+
fontSize: FontSizes;
|
|
158
|
+
};
|
|
159
|
+
2: {
|
|
160
|
+
image: number;
|
|
161
|
+
fontSize: FontSizes;
|
|
162
|
+
};
|
|
163
|
+
3: {
|
|
164
|
+
image: number;
|
|
165
|
+
fontSize: FontSizes;
|
|
166
|
+
};
|
|
167
|
+
4: {
|
|
168
|
+
image: number;
|
|
169
|
+
fontSize: FontSizes;
|
|
170
|
+
};
|
|
171
|
+
5: {
|
|
172
|
+
image: number;
|
|
173
|
+
fontSize: FontSizes;
|
|
174
|
+
};
|
|
175
|
+
6: {
|
|
176
|
+
image: number;
|
|
177
|
+
fontSize: FontSizes;
|
|
178
|
+
};
|
|
179
|
+
7: {
|
|
180
|
+
image: number;
|
|
181
|
+
fontSize: FontSizes;
|
|
182
|
+
};
|
|
183
|
+
8: {
|
|
184
|
+
image: number;
|
|
185
|
+
fontSize: FontSizes;
|
|
186
|
+
};
|
|
187
|
+
9: {
|
|
188
|
+
image: number;
|
|
189
|
+
fontSize: FontSizes;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export declare enum AvatarSizes {
|
|
194
|
+
Size1 = 1,
|
|
195
|
+
Size2 = 2,
|
|
196
|
+
Size3 = 3,
|
|
197
|
+
Size4 = 4,
|
|
198
|
+
Size5 = 5,
|
|
199
|
+
Size6 = 6,
|
|
200
|
+
Size7 = 7,
|
|
201
|
+
Size8 = 8,
|
|
202
|
+
Size9 = 9
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export declare const BACKGROUND_COLOR_CLASSES: ClassType_2;
|
|
206
|
+
|
|
207
|
+
export declare const BASE_FONT_SIZE = FontSizes.Size2;
|
|
208
|
+
|
|
209
|
+
export declare const BORDER_BOTTOM_LEFT_RADIUS_CLASSES: ClassType;
|
|
210
|
+
|
|
211
|
+
export declare const BORDER_BOTTOM_RIGHT_RADIUS_CLASSES: ClassType;
|
|
212
|
+
|
|
213
|
+
export declare const BORDER_BOTTOM_STYLE_CLASSES: ClassType;
|
|
214
|
+
|
|
215
|
+
export declare const BORDER_COLOR_CLASSES: ClassType_2;
|
|
216
|
+
|
|
217
|
+
export declare const BORDER_LEFT_STYLE_CLASSES: ClassType;
|
|
218
|
+
|
|
219
|
+
export declare const BORDER_RADIUS_CLASSES: ClassType;
|
|
220
|
+
|
|
221
|
+
export declare const BORDER_RIGHT_STYLE_CLASSES: ClassType;
|
|
222
|
+
|
|
223
|
+
export declare const BORDER_STYLE_CLASSES: ClassType;
|
|
224
|
+
|
|
225
|
+
export declare const BORDER_STYLE_VALUES: {
|
|
226
|
+
[key: number]: string;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
export declare const BORDER_TOP_LEFT_RADIUS_CLASSES: ClassType;
|
|
230
|
+
|
|
231
|
+
export declare const BORDER_TOP_RIGHT_RADIUS_CLASSES: ClassType;
|
|
232
|
+
|
|
233
|
+
export declare const BORDER_TOP_STYLE_CLASSES: ClassType;
|
|
234
|
+
|
|
235
|
+
export declare const BORDER_WIDTH_CLASSES: ClassType;
|
|
236
|
+
|
|
237
|
+
export declare const BORDER_WIDTH_VALUES: {
|
|
238
|
+
[key: number]: number;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export declare enum BorderStyles {
|
|
242
|
+
None = 1,
|
|
243
|
+
Hidden = 2,
|
|
244
|
+
Dotted = 3,
|
|
245
|
+
Dashed = 4,
|
|
246
|
+
Solid = 5,
|
|
247
|
+
Double = 6,
|
|
248
|
+
Groove = 7,
|
|
249
|
+
Ridge = 8,
|
|
250
|
+
Inset = 9,
|
|
251
|
+
Outset = 10
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export declare enum BorderWidths {
|
|
255
|
+
Size0 = 1,
|
|
256
|
+
Size1 = 2,
|
|
257
|
+
Size2 = 3,
|
|
258
|
+
Size3 = 4,
|
|
259
|
+
Size4 = 5,
|
|
260
|
+
Size5 = 6,
|
|
261
|
+
Size6 = 7,
|
|
262
|
+
Size7 = 8
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export declare const BOX_SHADOW_CLASSES: ClassType;
|
|
266
|
+
|
|
267
|
+
export declare const BOX_SHADOW_VALUES: {
|
|
268
|
+
[key: number]: string;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
export declare const BOX_SIZING_CLASSES: ClassType;
|
|
272
|
+
|
|
273
|
+
export declare enum BoxShadows {
|
|
274
|
+
Size0 = 1,
|
|
275
|
+
Size1 = 2,
|
|
276
|
+
Size2 = 3,
|
|
277
|
+
Size3 = 4,
|
|
278
|
+
Size4 = 5,
|
|
279
|
+
Size5 = 6,
|
|
280
|
+
Size6 = 7
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export declare enum BoxSizings {
|
|
284
|
+
ContentBox = 1,
|
|
285
|
+
BorderBox = 2
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export declare const BUTTON_COLORS: {
|
|
289
|
+
[key: number]: ButtonColorType;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export declare const BUTTON_SHADOWS_CLASSES: {
|
|
293
|
+
1: string;
|
|
294
|
+
2: string;
|
|
295
|
+
3: string;
|
|
296
|
+
4: string;
|
|
297
|
+
5: string;
|
|
298
|
+
6: string;
|
|
299
|
+
7: string;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
export declare const BUTTON_SIZE: {
|
|
303
|
+
[key: number]: ButtonSizeType;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
export declare enum ButtonColors {
|
|
307
|
+
Primary5 = 1,
|
|
308
|
+
Secondary5 = 2,
|
|
309
|
+
Grey5 = 3,
|
|
310
|
+
Blue5 = 4,
|
|
311
|
+
Green5 = 5,
|
|
312
|
+
Red5 = 6,
|
|
313
|
+
Yellow5 = 7,
|
|
314
|
+
OutlinePrimary5 = 8,
|
|
315
|
+
OutlineSecondary5 = 9,
|
|
316
|
+
OutlineGrey5 = 10,
|
|
317
|
+
OutlineBlue5 = 11,
|
|
318
|
+
OutlineGreen5 = 12,
|
|
319
|
+
OutlineRed5 = 13,
|
|
320
|
+
OutlineYellow5 = 14
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare type ButtonColorType = {
|
|
324
|
+
text: ColorPalettes;
|
|
325
|
+
icon: ColorPalettes;
|
|
326
|
+
background: ColorPalettes;
|
|
327
|
+
outline?: ColorPalettes;
|
|
328
|
+
shadow?: ColorPalettes;
|
|
329
|
+
hover?: ColorPalettes;
|
|
330
|
+
borderColor: ColorPalettes;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export declare enum ButtonIconPositions {
|
|
334
|
+
Left = 1,
|
|
335
|
+
Right = 2
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export declare interface ButtonProps extends AnimatedProps<HTMLAttributes<HTMLButtonElement>>, StyleProps, ButtonStyleProps {
|
|
339
|
+
children?: ReactNode;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export declare enum ButtonShadows {
|
|
343
|
+
Size1 = 1,
|
|
344
|
+
Size2 = 2,
|
|
345
|
+
Size3 = 3,
|
|
346
|
+
Size4 = 4,
|
|
347
|
+
Size5 = 5
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export declare enum ButtonSizes {
|
|
351
|
+
Tiny = 1,
|
|
352
|
+
Smaller = 2,
|
|
353
|
+
Small = 3,
|
|
354
|
+
Medium = 4,
|
|
355
|
+
Big = 5,
|
|
356
|
+
Large = 6
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
declare type ButtonSizeType = {
|
|
360
|
+
paddingTop: Spacings;
|
|
361
|
+
paddingBottom: Spacings;
|
|
362
|
+
paddingLeft: Spacings;
|
|
363
|
+
paddingRight: Spacings;
|
|
364
|
+
icon: Sizings;
|
|
365
|
+
iconMargin?: Spacings;
|
|
366
|
+
text: FontSizes;
|
|
367
|
+
borderRadius: Radiuses;
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
export declare const ButtonStateIcon: {
|
|
371
|
+
2: string;
|
|
372
|
+
3: string;
|
|
373
|
+
4: string;
|
|
374
|
+
5: string;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
export declare enum ButtonStates {
|
|
378
|
+
Icon = 1,// default
|
|
379
|
+
Loading = 2,
|
|
380
|
+
Success = 3,
|
|
381
|
+
Error = 4,
|
|
382
|
+
Disabled = 5
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
declare interface ButtonStyleProps {
|
|
386
|
+
disabled?: boolean;
|
|
387
|
+
type?: ButtonTypes;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export declare enum ButtonStyles {
|
|
391
|
+
Plain = 1,
|
|
392
|
+
Gray = 2,
|
|
393
|
+
Tinted = 3,
|
|
394
|
+
Outlined = 4,
|
|
395
|
+
Filled = 5
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export declare enum ButtonTypes {
|
|
399
|
+
Button = "button",
|
|
400
|
+
Submit = "submit",
|
|
401
|
+
Reset = "reset"
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare interface CellStyles {
|
|
405
|
+
position: {
|
|
406
|
+
justifySelf: JustifySelfs;
|
|
407
|
+
alignSelf: AlignSelfs;
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export declare const CHECKBOX_COLORS: {
|
|
412
|
+
1: {
|
|
413
|
+
borderColor: string;
|
|
414
|
+
checkedColor: string;
|
|
415
|
+
};
|
|
416
|
+
2: {
|
|
417
|
+
borderColor: string;
|
|
418
|
+
checkedColor: string;
|
|
419
|
+
};
|
|
420
|
+
3: {
|
|
421
|
+
borderColor: string;
|
|
422
|
+
checkedColor: string;
|
|
423
|
+
};
|
|
424
|
+
4: {
|
|
425
|
+
borderColor: string;
|
|
426
|
+
checkedColor: string;
|
|
427
|
+
};
|
|
428
|
+
5: {
|
|
429
|
+
borderColor: string;
|
|
430
|
+
checkedColor: string;
|
|
431
|
+
};
|
|
432
|
+
6: {
|
|
433
|
+
borderColor: string;
|
|
434
|
+
checkedColor: string;
|
|
435
|
+
};
|
|
436
|
+
7: {
|
|
437
|
+
borderColor: string;
|
|
438
|
+
checkedColor: string;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
export declare const CHECKBOX_SIZES: {
|
|
443
|
+
1: {
|
|
444
|
+
checkedColor: {
|
|
445
|
+
w: number;
|
|
446
|
+
h: number;
|
|
447
|
+
};
|
|
448
|
+
checkedBorderRadius: Radiuses;
|
|
449
|
+
boxBorderRadius: Radiuses;
|
|
450
|
+
padding: number;
|
|
451
|
+
borderWidth: string;
|
|
452
|
+
};
|
|
453
|
+
2: {
|
|
454
|
+
checkedColor: {
|
|
455
|
+
w: number;
|
|
456
|
+
h: number;
|
|
457
|
+
};
|
|
458
|
+
checkedBorderRadius: Radiuses;
|
|
459
|
+
boxBorderRadius: Radiuses;
|
|
460
|
+
padding: number;
|
|
461
|
+
borderWidth: string;
|
|
462
|
+
};
|
|
463
|
+
3: {
|
|
464
|
+
checkedColor: {
|
|
465
|
+
w: number;
|
|
466
|
+
h: number;
|
|
467
|
+
};
|
|
468
|
+
checkedBorderRadius: Radiuses;
|
|
469
|
+
boxBorderRadius: Radiuses;
|
|
470
|
+
padding: number;
|
|
471
|
+
borderWidth: string;
|
|
472
|
+
};
|
|
473
|
+
4: {
|
|
474
|
+
checkedColor: {
|
|
475
|
+
w: number;
|
|
476
|
+
h: number;
|
|
477
|
+
};
|
|
478
|
+
checkedBorderRadius: Radiuses;
|
|
479
|
+
boxBorderRadius: Radiuses;
|
|
480
|
+
padding: number;
|
|
481
|
+
borderWidth: string;
|
|
482
|
+
};
|
|
483
|
+
5: {
|
|
484
|
+
checkedColor: {
|
|
485
|
+
w: number;
|
|
486
|
+
h: number;
|
|
487
|
+
};
|
|
488
|
+
checkedBorderRadius: Radiuses;
|
|
489
|
+
boxBorderRadius: Radiuses;
|
|
490
|
+
padding: number;
|
|
491
|
+
borderWidth: string;
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
export declare enum CheckboxColors {
|
|
496
|
+
Primary5 = 1,
|
|
497
|
+
Secondary5 = 2,
|
|
498
|
+
Grey5 = 3,
|
|
499
|
+
Red5 = 4,
|
|
500
|
+
Green5 = 5,
|
|
501
|
+
Blue5 = 6,
|
|
502
|
+
Yellow5 = 7
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export declare enum CheckboxSizes {
|
|
506
|
+
Size1 = 1,
|
|
507
|
+
Size2 = 2,
|
|
508
|
+
Size3 = 3,
|
|
509
|
+
Size4 = 4,
|
|
510
|
+
Size5 = 5
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare type ClassType = {
|
|
514
|
+
[key: number]: string;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
declare type ClassType_2 = {
|
|
518
|
+
[key: number]: string;
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
export declare const COLOR_CLASSES: ClassType_2;
|
|
522
|
+
|
|
523
|
+
export declare const COLOR_RGBA_ALPHA: {
|
|
524
|
+
/**
|
|
525
|
+
* 6 (a-f (f is darker)) + 10 (0-9 (9 is darker)) | same concept (starts with 0 end with f)
|
|
526
|
+
* 18 | 18
|
|
527
|
+
* 18 / 2 = 9 | 2, 4, 6, 8 | 10 | 12, 14, 16, 18
|
|
528
|
+
* 0 2 4 6 8 a c e(f)
|
|
529
|
+
*/
|
|
530
|
+
1: string;
|
|
531
|
+
2: string;
|
|
532
|
+
3: string;
|
|
533
|
+
4: string;
|
|
534
|
+
5: string;
|
|
535
|
+
6: string;
|
|
536
|
+
7: string;
|
|
537
|
+
8: string;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
export declare const COLOR_VALUES: {
|
|
541
|
+
[key: number]: string;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export declare enum ColorPalettes {
|
|
545
|
+
Transparent = 1,// (0, 1)
|
|
546
|
+
Grey1 = 2,
|
|
547
|
+
Grey2 = 3,
|
|
548
|
+
Grey3 = 4,
|
|
549
|
+
Grey4 = 5,
|
|
550
|
+
Grey5 = 6,
|
|
551
|
+
Grey6 = 7,
|
|
552
|
+
Grey7 = 8,
|
|
553
|
+
Grey8 = 9,
|
|
554
|
+
Grey9 = 10,
|
|
555
|
+
Grey10 = 11,// (2, 11)
|
|
556
|
+
Primary1 = 12,
|
|
557
|
+
Primary2 = 13,
|
|
558
|
+
Primary3 = 14,
|
|
559
|
+
Primary4 = 15,
|
|
560
|
+
Primary5 = 16,
|
|
561
|
+
Primary6 = 17,
|
|
562
|
+
Primary7 = 18,
|
|
563
|
+
Primary8 = 19,
|
|
564
|
+
Primary9 = 20,// (12, 20)
|
|
565
|
+
Secondary1 = 21,
|
|
566
|
+
Secondary2 = 22,
|
|
567
|
+
Secondary3 = 23,
|
|
568
|
+
Secondary4 = 24,
|
|
569
|
+
Secondary5 = 25,
|
|
570
|
+
Secondary6 = 26,
|
|
571
|
+
Secondary7 = 27,
|
|
572
|
+
Secondary8 = 28,
|
|
573
|
+
Secondary9 = 29,// (21, 29)
|
|
574
|
+
Red1 = 30,
|
|
575
|
+
Red2 = 31,
|
|
576
|
+
Red3 = 32,
|
|
577
|
+
Red4 = 33,
|
|
578
|
+
Red5 = 34,
|
|
579
|
+
Red6 = 35,
|
|
580
|
+
Red7 = 36,
|
|
581
|
+
Red8 = 37,
|
|
582
|
+
Red9 = 38,// (30, 38)
|
|
583
|
+
Green1 = 39,
|
|
584
|
+
Green2 = 40,
|
|
585
|
+
Green3 = 41,
|
|
586
|
+
Green4 = 42,
|
|
587
|
+
Green5 = 43,
|
|
588
|
+
Green6 = 44,
|
|
589
|
+
Green7 = 45,
|
|
590
|
+
Green8 = 46,
|
|
591
|
+
Green9 = 47,// (39, 47)
|
|
592
|
+
Blue1 = 48,
|
|
593
|
+
Blue2 = 49,
|
|
594
|
+
Blue3 = 50,
|
|
595
|
+
Blue4 = 51,
|
|
596
|
+
Blue5 = 52,
|
|
597
|
+
Blue6 = 53,
|
|
598
|
+
Blue7 = 54,
|
|
599
|
+
Blue8 = 55,
|
|
600
|
+
Blue9 = 56,// (48, 56)
|
|
601
|
+
Yellow1 = 57,
|
|
602
|
+
Yellow2 = 58,
|
|
603
|
+
Yellow3 = 59,
|
|
604
|
+
Yellow4 = 60,
|
|
605
|
+
Yellow5 = 61,
|
|
606
|
+
Yellow6 = 62,
|
|
607
|
+
Yellow7 = 63,
|
|
608
|
+
Yellow8 = 64,
|
|
609
|
+
Yellow9 = 65,// (57, 65)
|
|
610
|
+
Accent1_1 = 66,
|
|
611
|
+
Accent1_2 = 67,
|
|
612
|
+
Accent1_3 = 68,
|
|
613
|
+
Accent1_4 = 69,
|
|
614
|
+
Accent1_5 = 70,
|
|
615
|
+
Accent1_6 = 71,
|
|
616
|
+
Accent1_7 = 72,
|
|
617
|
+
Accent1_8 = 73,
|
|
618
|
+
Accent1_9 = 74,// (57, 65)
|
|
619
|
+
Accent2_1 = 75,
|
|
620
|
+
Accent2_2 = 76,
|
|
621
|
+
Accent2_3 = 77,
|
|
622
|
+
Accent2_4 = 78,
|
|
623
|
+
Accent2_5 = 79,
|
|
624
|
+
Accent2_6 = 80,
|
|
625
|
+
Accent2_7 = 81,
|
|
626
|
+
Accent2_8 = 82,
|
|
627
|
+
Accent2_9 = 83
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export declare const ColorRanges: {
|
|
631
|
+
1: number[];
|
|
632
|
+
2: number[];
|
|
633
|
+
3: number[];
|
|
634
|
+
4: number[];
|
|
635
|
+
5: number[];
|
|
636
|
+
6: number[];
|
|
637
|
+
7: number[];
|
|
638
|
+
8: number[];
|
|
639
|
+
9: number[];
|
|
640
|
+
10: number[];
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
export declare enum ColorRGBAAlphas {
|
|
644
|
+
Opaque = 1,// max, max
|
|
645
|
+
Dark3 = 2,
|
|
646
|
+
Dark2 = 3,
|
|
647
|
+
Dark1 = 4,
|
|
648
|
+
Light1 = 5,
|
|
649
|
+
Light2 = 6,
|
|
650
|
+
Light3 = 7,
|
|
651
|
+
Transparent = 8
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export declare enum ColorSets {
|
|
655
|
+
Transparents = 1,
|
|
656
|
+
Greys = 2,
|
|
657
|
+
Primarys = 3,
|
|
658
|
+
Secondarys = 4,
|
|
659
|
+
Reds = 5,
|
|
660
|
+
Greens = 6,
|
|
661
|
+
Blues = 7,
|
|
662
|
+
Yellows = 8,
|
|
663
|
+
Accents1 = 9,
|
|
664
|
+
Accents2 = 10
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export declare const CURSOR_CLASSES: ClassType;
|
|
668
|
+
|
|
669
|
+
export declare enum Cursors {
|
|
670
|
+
Auto = 1,
|
|
671
|
+
Default = 2,
|
|
672
|
+
Pointer = 3,
|
|
673
|
+
ContextMenu = 4,
|
|
674
|
+
Help = 5,
|
|
675
|
+
Progress = 6,
|
|
676
|
+
Wait = 7,
|
|
677
|
+
Cell = 8,
|
|
678
|
+
Crosshair = 9,
|
|
679
|
+
Text = 10,
|
|
680
|
+
VerticalText = 11,
|
|
681
|
+
Alias = 12,
|
|
682
|
+
Copy = 13,
|
|
683
|
+
Move = 14,
|
|
684
|
+
NoDrop = 15,
|
|
685
|
+
NotAllowed = 16,
|
|
686
|
+
Grab = 17,
|
|
687
|
+
Grabbing = 18,
|
|
688
|
+
ZoomIn = 19,
|
|
689
|
+
ZoomOut = 20
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export declare const DISPLAY_CLASSES: {
|
|
693
|
+
1: string;
|
|
694
|
+
2: string;
|
|
695
|
+
3: string;
|
|
696
|
+
4: string;
|
|
697
|
+
5: string;
|
|
698
|
+
6: string;
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
export declare enum Displays {
|
|
702
|
+
None = 1,
|
|
703
|
+
Block = 2,
|
|
704
|
+
InlineBlock = 3,
|
|
705
|
+
Flex = 4,
|
|
706
|
+
InlineFlex = 5,
|
|
707
|
+
Grid = 6
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export declare interface DivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, StyleProps {
|
|
711
|
+
children?: ReactNode;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* border styles - has border | no border - dont include here
|
|
716
|
+
* dont do too many border styles - its confusing
|
|
717
|
+
* dropdown styles
|
|
718
|
+
*/
|
|
719
|
+
export declare enum DropdownHeightStyles {
|
|
720
|
+
Default = 1,
|
|
721
|
+
AutoHeight = 2
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export declare enum DropdownPositions {
|
|
725
|
+
Top = 1,
|
|
726
|
+
Bottom = 2
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export declare const ELEMENT_RESIZE_CLASSES: {
|
|
730
|
+
1: string;
|
|
731
|
+
2: string;
|
|
732
|
+
3: string;
|
|
733
|
+
4: string;
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
export declare enum ElementResizes {
|
|
737
|
+
None = 1,
|
|
738
|
+
Both = 2,
|
|
739
|
+
Horizontal = 3,
|
|
740
|
+
Vertical = 4
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare type elementSize = {
|
|
744
|
+
w: number;
|
|
745
|
+
h: number;
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
export declare const FLEX_ALIGN_CONTENT_CLASSES: {
|
|
749
|
+
1: string;
|
|
750
|
+
2: string;
|
|
751
|
+
3: string;
|
|
752
|
+
4: string;
|
|
753
|
+
5: string;
|
|
754
|
+
6: string;
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
export declare const FLEX_ALIGN_ITEMS_CLASSES: {
|
|
758
|
+
1: string;
|
|
759
|
+
2: string;
|
|
760
|
+
3: string;
|
|
761
|
+
4: string;
|
|
762
|
+
5: string;
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
export declare const FLEX_DIRECTION_CLASSES: {
|
|
766
|
+
1: string;
|
|
767
|
+
2: string;
|
|
768
|
+
3: string;
|
|
769
|
+
4: string;
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
export declare const FLEX_JUSTIFY_CONTENT_CLASSES: {
|
|
773
|
+
1: string;
|
|
774
|
+
2: string;
|
|
775
|
+
3: string;
|
|
776
|
+
4: string;
|
|
777
|
+
5: string;
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
export declare const FLEX_WRAP_CLASSES: {
|
|
781
|
+
1: string;
|
|
782
|
+
2: string;
|
|
783
|
+
3: string;
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
export declare enum FlexAlignContents {
|
|
787
|
+
FlexStart = 1,
|
|
788
|
+
FlexEnd = 2,
|
|
789
|
+
Center = 3,
|
|
790
|
+
SpaceBetween = 4,
|
|
791
|
+
SpaceAround = 5,
|
|
792
|
+
Stretch = 6
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export declare enum FlexAlignItems {
|
|
796
|
+
FlexStart = 1,
|
|
797
|
+
FlexEnd = 2,
|
|
798
|
+
Center = 3,
|
|
799
|
+
Baseline = 4,
|
|
800
|
+
Stretch = 5
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export declare enum FlexDirections {
|
|
804
|
+
Row = 1,
|
|
805
|
+
Column = 2,
|
|
806
|
+
RowReverse = 3,
|
|
807
|
+
ColumnReverse = 4
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export declare enum FlexJustifyContents {
|
|
811
|
+
FlexStart = 1,
|
|
812
|
+
FlexEnd = 2,
|
|
813
|
+
Center = 3,
|
|
814
|
+
SpaceBetween = 4,
|
|
815
|
+
SpaceAround = 5
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export declare enum FlexWraps {
|
|
819
|
+
NoWrap = 1,
|
|
820
|
+
Wrap = 2,
|
|
821
|
+
WrapReverse = 3
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export declare const FONT_FAMILY_CLASSES: {
|
|
825
|
+
1: string;
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
export declare const FONT_SIZE_CLASSES: ClassType;
|
|
829
|
+
|
|
830
|
+
export declare const FONT_SIZE_VALUES: {
|
|
831
|
+
[key: number]: string;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
export declare const FONT_STYLE_CLASSES: {
|
|
835
|
+
1: string;
|
|
836
|
+
2: string;
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
export declare const FONT_WEIGHT_CLASSES: {
|
|
840
|
+
1: string;
|
|
841
|
+
2: string;
|
|
842
|
+
3: string;
|
|
843
|
+
4: string;
|
|
844
|
+
5: string;
|
|
845
|
+
6: string;
|
|
846
|
+
};
|
|
847
|
+
|
|
848
|
+
export declare enum FontFamilies {
|
|
849
|
+
Default = 1
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export declare enum FontSizes {
|
|
853
|
+
Size1 = 1,
|
|
854
|
+
Size2 = 2,
|
|
855
|
+
Size3 = 3,
|
|
856
|
+
Size4 = 4,
|
|
857
|
+
Size5 = 5,
|
|
858
|
+
Size6 = 6,
|
|
859
|
+
Size7 = 7,
|
|
860
|
+
Size8 = 8,
|
|
861
|
+
Size9 = 9,
|
|
862
|
+
Size10 = 10
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export declare enum FontStyles {
|
|
866
|
+
Normal = 1,
|
|
867
|
+
Italic = 2
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export declare enum FontWeights {
|
|
871
|
+
Size1 = 1,
|
|
872
|
+
Size2 = 2,
|
|
873
|
+
Size3 = 3,
|
|
874
|
+
Size4 = 4,
|
|
875
|
+
Size5 = 5,
|
|
876
|
+
Size6 = 6
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export declare type GlobalEventContextType = {
|
|
880
|
+
globalEventRef: any | null;
|
|
881
|
+
handleGlobalEventRef: (props: string, type: ToastTypes) => void;
|
|
882
|
+
catchUserAxiosNextApiError: any | undefined;
|
|
883
|
+
catchUserAxiosFetcherError: any | undefined;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
export declare const GRID_ALIGN_CONTENT_CLASSES: {
|
|
887
|
+
1: string;
|
|
888
|
+
2: string;
|
|
889
|
+
3: string;
|
|
890
|
+
4: string;
|
|
891
|
+
5: string;
|
|
892
|
+
6: string;
|
|
893
|
+
7: string;
|
|
894
|
+
8: string;
|
|
895
|
+
9: string;
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
export declare const GRID_COLUMN_GAP_CLASSES: {
|
|
899
|
+
1: string;
|
|
900
|
+
2: string;
|
|
901
|
+
3: string;
|
|
902
|
+
4: string;
|
|
903
|
+
5: string;
|
|
904
|
+
6: string;
|
|
905
|
+
7: string;
|
|
906
|
+
8: string;
|
|
907
|
+
9: string;
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
export declare const GRID_GAP_CLASSES: {
|
|
911
|
+
1: string;
|
|
912
|
+
2: string;
|
|
913
|
+
3: string;
|
|
914
|
+
4: string;
|
|
915
|
+
5: string;
|
|
916
|
+
6: string;
|
|
917
|
+
7: string;
|
|
918
|
+
8: string;
|
|
919
|
+
9: string;
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
export declare const GRID_JUSTIFY_CONTENT_CLASSES: {
|
|
923
|
+
1: string;
|
|
924
|
+
2: string;
|
|
925
|
+
3: string;
|
|
926
|
+
4: string;
|
|
927
|
+
5: string;
|
|
928
|
+
6: string;
|
|
929
|
+
7: string;
|
|
930
|
+
8: string;
|
|
931
|
+
9: string;
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
export declare const GRID_ROW_GAP_CLASSES: {
|
|
935
|
+
1: string;
|
|
936
|
+
2: string;
|
|
937
|
+
3: string;
|
|
938
|
+
4: string;
|
|
939
|
+
5: string;
|
|
940
|
+
6: string;
|
|
941
|
+
7: string;
|
|
942
|
+
8: string;
|
|
943
|
+
9: string;
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
export declare enum GridAlignContents {
|
|
947
|
+
Start = 1,
|
|
948
|
+
End = 2,
|
|
949
|
+
Center = 3,
|
|
950
|
+
Left = 4,
|
|
951
|
+
Right = 5,
|
|
952
|
+
SpaceAround = 6,
|
|
953
|
+
SpaceBetween = 7,
|
|
954
|
+
Stretch = 8,
|
|
955
|
+
SpaceEvenly = 9
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export declare enum GridColumnGaps {
|
|
959
|
+
Size1 = 1,
|
|
960
|
+
Size2 = 2,
|
|
961
|
+
Size3 = 3,
|
|
962
|
+
Size4 = 4,
|
|
963
|
+
Size5 = 5,
|
|
964
|
+
Size6 = 6,
|
|
965
|
+
Size7 = 7,
|
|
966
|
+
Size8 = 8,
|
|
967
|
+
Size9 = 9
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export declare enum GridGaps {
|
|
971
|
+
Size1 = 1,
|
|
972
|
+
Size2 = 2,
|
|
973
|
+
Size3 = 3,
|
|
974
|
+
Size4 = 4,
|
|
975
|
+
Size5 = 5,
|
|
976
|
+
Size6 = 6,
|
|
977
|
+
Size7 = 7,
|
|
978
|
+
Size8 = 8,
|
|
979
|
+
Size9 = 9
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export declare enum GridJustifyContents {
|
|
983
|
+
Start = 1,
|
|
984
|
+
End = 2,
|
|
985
|
+
Center = 3,
|
|
986
|
+
Left = 4,
|
|
987
|
+
Right = 5,
|
|
988
|
+
SpaceAround = 6,
|
|
989
|
+
SpaceBetween = 7,
|
|
990
|
+
Stretch = 8,
|
|
991
|
+
SpaceEvenly = 9
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export declare enum GridRowGaps {
|
|
995
|
+
Size1 = 1,
|
|
996
|
+
Size2 = 2,
|
|
997
|
+
Size3 = 3,
|
|
998
|
+
Size4 = 4,
|
|
999
|
+
Size5 = 5,
|
|
1000
|
+
Size6 = 6,
|
|
1001
|
+
Size7 = 7,
|
|
1002
|
+
Size8 = 8,
|
|
1003
|
+
Size9 = 9
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
export declare interface HeadElementProps extends AnimatedProps<HTMLAttributes<HTMLHeadElement>>, TextStyleProps, HeaderProps {
|
|
1007
|
+
children?: ReactNode;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
declare interface HeaderProps {
|
|
1011
|
+
header: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export declare enum Icons {
|
|
1015
|
+
Activity = "activity",
|
|
1016
|
+
Airplay = "airplay",
|
|
1017
|
+
AlertCircle = "alert-circle",
|
|
1018
|
+
AlertOctagon = "alert-octagon",
|
|
1019
|
+
AlertTriangle = "alert-triangle",
|
|
1020
|
+
AlignCenter = "align-center",
|
|
1021
|
+
AlignJustify = "align-justify",
|
|
1022
|
+
AlignLeft = "align-left",
|
|
1023
|
+
AlignRight = "align-right",
|
|
1024
|
+
Anchor = "anchor",
|
|
1025
|
+
Aperture = "aperture",
|
|
1026
|
+
Apps = "apps",
|
|
1027
|
+
Archive = "archive",
|
|
1028
|
+
ArrowDownCircle = "arrow-down-circle",
|
|
1029
|
+
ArrowDownLeft = "arrow-down-left",
|
|
1030
|
+
ArrowDownRight = "arrow-down-right",
|
|
1031
|
+
ArrowDown = "arrow-down",
|
|
1032
|
+
ArrowLeftCircle = "arrow-left-circle",
|
|
1033
|
+
ArrowLeft = "arrow-left",
|
|
1034
|
+
ArrowRightCircle = "arrow-right-circle",
|
|
1035
|
+
ArrowRight = "arrow-right",
|
|
1036
|
+
ArrowUpCircle = "arrow-up-circle",
|
|
1037
|
+
ArrowUpLeft = "arrow-up-left",
|
|
1038
|
+
ArrowUpRight = "arrow-up-right",
|
|
1039
|
+
ArrowUp = "arrow-up",
|
|
1040
|
+
AtSign = "at-sign",
|
|
1041
|
+
Award = "award",
|
|
1042
|
+
BarChart2 = "bar-chart-2",
|
|
1043
|
+
BarChart = "bar-chart",
|
|
1044
|
+
BatteryCharging = "battery-charging",
|
|
1045
|
+
Battery = "battery",
|
|
1046
|
+
BellOff = "bell-off",
|
|
1047
|
+
Bell = "bell",
|
|
1048
|
+
Bluetooth = "bluetooth",
|
|
1049
|
+
Bold = "bold",
|
|
1050
|
+
BookOpen = "book-open",
|
|
1051
|
+
Book = "book",
|
|
1052
|
+
Bookmark = "bookmark",
|
|
1053
|
+
Box = "box",
|
|
1054
|
+
Briefcase = "briefcase",
|
|
1055
|
+
Calendar = "calendar",
|
|
1056
|
+
CameraOff = "camera-off",
|
|
1057
|
+
Camera = "camera",
|
|
1058
|
+
Cast = "cast",
|
|
1059
|
+
CheckCircle = "check-circle",
|
|
1060
|
+
CheckSquare = "check-square",
|
|
1061
|
+
Check = "check",
|
|
1062
|
+
ChevronDown = "chevron-down",
|
|
1063
|
+
ChevronLeft = "chevron-left",
|
|
1064
|
+
ChevronRight = "chevron-right",
|
|
1065
|
+
ChevronUp = "chevron-up",
|
|
1066
|
+
ChevronsDown = "chevrons-down",
|
|
1067
|
+
ChevronsLeft = "chevrons-left",
|
|
1068
|
+
ChevronsRight = "chevrons-right",
|
|
1069
|
+
ChevronsUp = "chevrons-up",
|
|
1070
|
+
Chrome = "chrome",
|
|
1071
|
+
Circle = "circle",
|
|
1072
|
+
Clipboard = "clipboard",
|
|
1073
|
+
Clock = "clock",
|
|
1074
|
+
CloudDrizzle = "cloud-drizzle",
|
|
1075
|
+
CloudLightning = "cloud-lightning",
|
|
1076
|
+
CloudOff = "cloud-off",
|
|
1077
|
+
CloudRain = "cloud-rain",
|
|
1078
|
+
CloudSnow = "cloud-snow",
|
|
1079
|
+
Cloud = "cloud",
|
|
1080
|
+
Code = "code",
|
|
1081
|
+
Codepen = "codepen",
|
|
1082
|
+
Codesandbox = "codesandbox",
|
|
1083
|
+
Coffee = "coffee",
|
|
1084
|
+
Columns = "columns",
|
|
1085
|
+
Command = "command",
|
|
1086
|
+
Compass = "compass",
|
|
1087
|
+
Copy = "copy",
|
|
1088
|
+
CornerDownLeft = "corner-down-left",
|
|
1089
|
+
CornerDownRight = "corner-down-right",
|
|
1090
|
+
CornerLeftDown = "corner-left-down",
|
|
1091
|
+
CornerLeftUp = "corner-left-up",
|
|
1092
|
+
CornerRightDown = "corner-right-down",
|
|
1093
|
+
CornerRightUp = "corner-right-up",
|
|
1094
|
+
CornerUpLeft = "corner-up-left",
|
|
1095
|
+
CornerUpRight = "corner-up-right",
|
|
1096
|
+
Cpu = "cpu",
|
|
1097
|
+
CreditCard = "credit-card",
|
|
1098
|
+
Crop = "crop",
|
|
1099
|
+
Crosshair = "crosshair",
|
|
1100
|
+
Database = "database",
|
|
1101
|
+
Delete = "delete",
|
|
1102
|
+
Disc = "disc",
|
|
1103
|
+
DivideCircle = "divide-circle",
|
|
1104
|
+
DivideSquare = "divide-square",
|
|
1105
|
+
Divide = "divide",
|
|
1106
|
+
DollarSign = "dollar-sign",
|
|
1107
|
+
DownloadCloud = "download-cloud",
|
|
1108
|
+
Download = "download",
|
|
1109
|
+
Dribbble = "dribbble",
|
|
1110
|
+
Droplet = "droplet",
|
|
1111
|
+
Edit2 = "edit-2",
|
|
1112
|
+
Edit3 = "edit-3",
|
|
1113
|
+
Edit = "edit",
|
|
1114
|
+
ExternalLink = "external-link",
|
|
1115
|
+
EyeOff = "eye-off",
|
|
1116
|
+
Eye = "eye",
|
|
1117
|
+
Facebook = "facebook",
|
|
1118
|
+
FastForward = "fast-forward",
|
|
1119
|
+
FeatherSprite = "feather-sprite",
|
|
1120
|
+
Feather = "feather",
|
|
1121
|
+
Figma = "figma",
|
|
1122
|
+
FileMinus = "file-minus",
|
|
1123
|
+
FilePlus = "file-plus",
|
|
1124
|
+
FileText = "file-text",
|
|
1125
|
+
File = "file",
|
|
1126
|
+
Film = "film",
|
|
1127
|
+
Filter = "filter",
|
|
1128
|
+
Flag = "flag",
|
|
1129
|
+
FolderMinus = "folder-minus",
|
|
1130
|
+
FolderPlus = "folder-plus",
|
|
1131
|
+
Folder = "folder",
|
|
1132
|
+
Framer = "framer",
|
|
1133
|
+
Frown = "frown",
|
|
1134
|
+
Gift = "gift",
|
|
1135
|
+
GitBranch = "git-branch",
|
|
1136
|
+
GitCommit = "git-commit",
|
|
1137
|
+
GitMerge = "git-merge",
|
|
1138
|
+
GitPullRequest = "git-pull-request",
|
|
1139
|
+
Github = "github",
|
|
1140
|
+
Gitlab = "gitlab",
|
|
1141
|
+
Globe = "globe",
|
|
1142
|
+
Grid = "grid",
|
|
1143
|
+
HardDrive = "hard-drive",
|
|
1144
|
+
Hash = "hash",
|
|
1145
|
+
Headphones = "headphones",
|
|
1146
|
+
Heart = "heart",
|
|
1147
|
+
HelpCircle = "help-circle",
|
|
1148
|
+
Hexagon = "hexagon",
|
|
1149
|
+
Home = "home",
|
|
1150
|
+
Image = "image",
|
|
1151
|
+
Inbox = "inbox",
|
|
1152
|
+
Info = "info",
|
|
1153
|
+
Instagram = "instagram",
|
|
1154
|
+
Italic = "italic",
|
|
1155
|
+
Key = "key",
|
|
1156
|
+
Layers = "layers",
|
|
1157
|
+
Layout = "layout",
|
|
1158
|
+
LifeBuoy = "life-buoy",
|
|
1159
|
+
Link2 = "link-2",
|
|
1160
|
+
Link = "link",
|
|
1161
|
+
Linkedin = "linkedin",
|
|
1162
|
+
List = "list",
|
|
1163
|
+
Loader = "loader",
|
|
1164
|
+
Lock = "lock",
|
|
1165
|
+
LogIn = "log-in",
|
|
1166
|
+
LogOut = "log-out",
|
|
1167
|
+
Mail = "mail",
|
|
1168
|
+
MapPin = "map-pin",
|
|
1169
|
+
Map = "map",
|
|
1170
|
+
Maximize2 = "maximize-2",
|
|
1171
|
+
Maximize = "maximize",
|
|
1172
|
+
Meh = "meh",
|
|
1173
|
+
Menu = "menu",
|
|
1174
|
+
MessageCircle = "message-circle",
|
|
1175
|
+
MessageSquare = "message-square",
|
|
1176
|
+
MicOff = "mic-off",
|
|
1177
|
+
Mic = "mic",
|
|
1178
|
+
Minimize2 = "minimize-2",
|
|
1179
|
+
Minimize = "minimize",
|
|
1180
|
+
MinusCircle = "minus-circle",
|
|
1181
|
+
MinusSquare = "minus-square",
|
|
1182
|
+
Minus = "minus",
|
|
1183
|
+
Monitor = "monitor",
|
|
1184
|
+
Moon = "moon",
|
|
1185
|
+
MoreHorizontal = "more-horizontal",
|
|
1186
|
+
MoreVertical = "more-vertical",
|
|
1187
|
+
MousePointer = "mouse-pointer",
|
|
1188
|
+
Move = "move",
|
|
1189
|
+
Music = "music",
|
|
1190
|
+
Navigation2 = "navigation-2",
|
|
1191
|
+
Navigation = "navigation",
|
|
1192
|
+
Octagon = "octagon",
|
|
1193
|
+
Package = "package",
|
|
1194
|
+
Paperclip = "paperclip",
|
|
1195
|
+
PauseCircle = "pause-circle",
|
|
1196
|
+
Pause = "pause",
|
|
1197
|
+
PenTool = "pen-tool",
|
|
1198
|
+
Percent = "percent",
|
|
1199
|
+
PhoneCall = "phone-call",
|
|
1200
|
+
PhoneForwarded = "phone-forwarded",
|
|
1201
|
+
PhoneIncoming = "phone-incoming",
|
|
1202
|
+
PhoneMissed = "phone-missed",
|
|
1203
|
+
PhoneOff = "phone-off",
|
|
1204
|
+
PhoneOutgoing = "phone-outgoing",
|
|
1205
|
+
Phone = "phone",
|
|
1206
|
+
PieChart = "pie-chart",
|
|
1207
|
+
PlayCircle = "play-circle",
|
|
1208
|
+
Play = "play",
|
|
1209
|
+
PlusCircle = "plus-circle",
|
|
1210
|
+
PlusSquare = "plus-square",
|
|
1211
|
+
Plus = "plus",
|
|
1212
|
+
Pocket = "pocket",
|
|
1213
|
+
Power = "power",
|
|
1214
|
+
Printer = "printer",
|
|
1215
|
+
Radio = "radio",
|
|
1216
|
+
RefreshCcw = "refresh-ccw",
|
|
1217
|
+
RefreshCw = "refresh-cw",
|
|
1218
|
+
Repeat = "repeat",
|
|
1219
|
+
Rewind = "rewind",
|
|
1220
|
+
RotateCcw = "rotate-ccw",
|
|
1221
|
+
RotateCw = "rotate-cw",
|
|
1222
|
+
Rss = "rss",
|
|
1223
|
+
Save = "save",
|
|
1224
|
+
Scissors = "scissors",
|
|
1225
|
+
Search = "search",
|
|
1226
|
+
Send = "send",
|
|
1227
|
+
Server = "server",
|
|
1228
|
+
Settings = "settings",
|
|
1229
|
+
Share2 = "share-2",
|
|
1230
|
+
Share = "share",
|
|
1231
|
+
ShieldOff = "shield-off",
|
|
1232
|
+
Shield = "shield",
|
|
1233
|
+
ShoppingBag = "shopping-bag",
|
|
1234
|
+
ShoppingCart = "shopping-cart",
|
|
1235
|
+
Shuffle = "shuffle",
|
|
1236
|
+
Sidebar = "sidebar",
|
|
1237
|
+
SkipBack = "skip-back",
|
|
1238
|
+
SkipForward = "skip-forward",
|
|
1239
|
+
Slack = "slack",
|
|
1240
|
+
Slash = "slash",
|
|
1241
|
+
Sliders = "sliders",
|
|
1242
|
+
Smartphone = "smartphone",
|
|
1243
|
+
Smile = "smile",
|
|
1244
|
+
Speaker = "speaker",
|
|
1245
|
+
Spinner = "spinner",
|
|
1246
|
+
Square = "square",
|
|
1247
|
+
Star = "star",
|
|
1248
|
+
StopCircle = "stop-circle",
|
|
1249
|
+
Sun = "sun",
|
|
1250
|
+
Sunrise = "sunrise",
|
|
1251
|
+
Sunset = "sunset",
|
|
1252
|
+
Table = "table",
|
|
1253
|
+
Tablet = "tablet",
|
|
1254
|
+
Tag = "tag",
|
|
1255
|
+
Target = "target",
|
|
1256
|
+
Terminal = "terminal",
|
|
1257
|
+
Thermometer = "thermometer",
|
|
1258
|
+
ThumbsDown = "thumbs-down",
|
|
1259
|
+
ThumbsUp = "thumbs-up",
|
|
1260
|
+
ToggleLeft = "toggle-left",
|
|
1261
|
+
ToggleRight = "toggle-right",
|
|
1262
|
+
Tool = "tool",
|
|
1263
|
+
Trash2 = "trash-2",
|
|
1264
|
+
Trash = "trash",
|
|
1265
|
+
Trello = "trello",
|
|
1266
|
+
TrendingDown = "trending-down",
|
|
1267
|
+
TrendingUp = "trending-up",
|
|
1268
|
+
Triangle = "triangle",
|
|
1269
|
+
Truck = "truck",
|
|
1270
|
+
Tv = "tv",
|
|
1271
|
+
Twitch = "twitch",
|
|
1272
|
+
Twitter = "twitter",
|
|
1273
|
+
Type = "type",
|
|
1274
|
+
Umbrella = "umbrella",
|
|
1275
|
+
Underline = "underline",
|
|
1276
|
+
Unlock = "unlock",
|
|
1277
|
+
UploadCloud = "upload-cloud",
|
|
1278
|
+
Upload = "upload",
|
|
1279
|
+
UserCheck = "user-check",
|
|
1280
|
+
UserMinus = "user-minus",
|
|
1281
|
+
UserPlus = "user-plus",
|
|
1282
|
+
UserX = "user-x",
|
|
1283
|
+
User = "user",
|
|
1284
|
+
Users = "users",
|
|
1285
|
+
VideoOff = "video-off",
|
|
1286
|
+
Video = "video",
|
|
1287
|
+
Voicemail = "voicemail",
|
|
1288
|
+
Volume1 = "volume-1",
|
|
1289
|
+
Volume2 = "volume-2",
|
|
1290
|
+
VolumeX = "volume-x",
|
|
1291
|
+
Volume = "volume",
|
|
1292
|
+
Watch = "watch",
|
|
1293
|
+
WifiOff = "wifi-off",
|
|
1294
|
+
Wifi = "wifi",
|
|
1295
|
+
Wind = "wind",
|
|
1296
|
+
XCircle = "x-circle",
|
|
1297
|
+
XOctagon = "x-octagon",
|
|
1298
|
+
XSquare = "x-square",
|
|
1299
|
+
X = "x",
|
|
1300
|
+
Youtube = "youtube",
|
|
1301
|
+
ZapOff = "zap-off",
|
|
1302
|
+
Zap = "zap",
|
|
1303
|
+
ZoomIn = "zoom-in",
|
|
1304
|
+
ZoomOut = "zoom-out"
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
export declare const INPUT_TEXT_COLOR: {
|
|
1308
|
+
[key: number]: any;
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
export declare const INPUT_TEXT_SIZE: {
|
|
1312
|
+
[key: number]: any;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
export declare const INPUT_TEXT_STYLE: {
|
|
1316
|
+
[key: number]: any;
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
export declare enum InputTextLabelStyles {
|
|
1320
|
+
Top = 1,
|
|
1321
|
+
Material = 2
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export declare enum InputTextModes {
|
|
1325
|
+
Default = 1,
|
|
1326
|
+
Error = 2,
|
|
1327
|
+
Disabled = 3,
|
|
1328
|
+
ReadOnly = 4
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* text size
|
|
1333
|
+
* label size
|
|
1334
|
+
* padding left right
|
|
1335
|
+
* padding top bottom
|
|
1336
|
+
* border width
|
|
1337
|
+
*/
|
|
1338
|
+
export declare enum InputTextSizes {
|
|
1339
|
+
Small = 1,
|
|
1340
|
+
Default = 2,// medium
|
|
1341
|
+
Big = 3,
|
|
1342
|
+
Huge = 4
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
export declare enum InputTextStyles {
|
|
1346
|
+
Default = 1,// border bottom
|
|
1347
|
+
Outlined = 2,// outline overall
|
|
1348
|
+
Filled = 3
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export declare enum InputTextTypes {
|
|
1352
|
+
Text = "text",
|
|
1353
|
+
Number = "number",
|
|
1354
|
+
Password = "password"
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
export declare interface InsetGroupOption {
|
|
1358
|
+
id: string | number;
|
|
1359
|
+
text: string;
|
|
1360
|
+
value?: any;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
export declare const JUSTIFY_SELF_CLASSES: {
|
|
1364
|
+
1: string;
|
|
1365
|
+
2: string;
|
|
1366
|
+
3: string;
|
|
1367
|
+
4: string;
|
|
1368
|
+
5: string;
|
|
1369
|
+
6: string;
|
|
1370
|
+
7: string;
|
|
1371
|
+
8: string;
|
|
1372
|
+
9: string;
|
|
1373
|
+
10: string;
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
export declare enum JustifySelfs {
|
|
1377
|
+
Start = 1,
|
|
1378
|
+
End = 2,
|
|
1379
|
+
Center = 3,
|
|
1380
|
+
Left = 4,
|
|
1381
|
+
Right = 5,
|
|
1382
|
+
SelfStart = 6,
|
|
1383
|
+
SelfEnd = 7,
|
|
1384
|
+
Stretch = 8,
|
|
1385
|
+
Normal = 9,
|
|
1386
|
+
Auto = 10
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
export declare interface LayoutDivProps extends AnimatedProps<HTMLAttributes<HTMLDivElement>>, LayoutProps {
|
|
1390
|
+
children?: ReactNode;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
declare interface LayoutProps {
|
|
1394
|
+
display?: Displays;
|
|
1395
|
+
flexDirection?: FlexDirections;
|
|
1396
|
+
flexWrap?: FlexWraps;
|
|
1397
|
+
flexJustifyContent?: FlexJustifyContents;
|
|
1398
|
+
flexAlignItem?: FlexAlignItems;
|
|
1399
|
+
flexAlignContent?: FlexAlignContents;
|
|
1400
|
+
gridGap?: GridGaps;
|
|
1401
|
+
gridRowGap?: GridRowGaps;
|
|
1402
|
+
gridColumnGap?: GridColumnGaps;
|
|
1403
|
+
gridJustifyContent?: GridJustifyContents;
|
|
1404
|
+
gridAlignContent?: GridAlignContents;
|
|
1405
|
+
justifySelf?: JustifySelfs;
|
|
1406
|
+
alignSelf?: AlignSelfs;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export declare interface LiProps extends AnimatedProps<HTMLAttributes<HTMLLIElement>>, StyleProps {
|
|
1410
|
+
children?: ReactNode;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export declare const MARGIN_BOTTOM_CLASSES: ClassType;
|
|
1414
|
+
|
|
1415
|
+
export declare const MARGIN_CLASSES: ClassType;
|
|
1416
|
+
|
|
1417
|
+
export declare const MARGIN_LEFT_CLASSES: ClassType;
|
|
1418
|
+
|
|
1419
|
+
export declare const MARGIN_RIGHT_CLASSES: ClassType;
|
|
1420
|
+
|
|
1421
|
+
export declare const MARGIN_TOP_CLASSES: ClassType;
|
|
1422
|
+
|
|
1423
|
+
export declare const MEDIA_SIZES: ClassType;
|
|
1424
|
+
|
|
1425
|
+
export declare enum MediaSizes {
|
|
1426
|
+
Mobile = 1,
|
|
1427
|
+
SmallTablet = 2,
|
|
1428
|
+
Tablet = 3,
|
|
1429
|
+
BigTablet = 4,
|
|
1430
|
+
HalfScreen = 5,
|
|
1431
|
+
Laptop = 6,
|
|
1432
|
+
Large = 7,
|
|
1433
|
+
Extra = 8
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
export declare enum ModalStyles {
|
|
1437
|
+
Default = 1,
|
|
1438
|
+
Nocard = 2
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
export declare const OUTLINE_COLOR_CLASSES: ClassType_2;
|
|
1442
|
+
|
|
1443
|
+
export declare enum OutlineStyles {
|
|
1444
|
+
None = 1,
|
|
1445
|
+
Solid = 2,
|
|
1446
|
+
Inset = 3,
|
|
1447
|
+
Outset = 4,
|
|
1448
|
+
Dotted = 5,
|
|
1449
|
+
Dashed = 6,
|
|
1450
|
+
Double = 7,
|
|
1451
|
+
Auto = 8
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
export declare const PADDING_BOTTOM_CLASSES: ClassType;
|
|
1455
|
+
|
|
1456
|
+
export declare const PADDING_CLASSES: ClassType;
|
|
1457
|
+
|
|
1458
|
+
export declare const PADDING_LEFT_CLASSES: ClassType;
|
|
1459
|
+
|
|
1460
|
+
export declare const PADDING_RIGHT_CLASSES: ClassType;
|
|
1461
|
+
|
|
1462
|
+
export declare const PADDING_TOP_CLASSES: ClassType;
|
|
1463
|
+
|
|
1464
|
+
export declare interface ParagraphProps extends AnimatedProps<HTMLAttributes<HTMLParagraphElement>>, TextStyleProps {
|
|
1465
|
+
children?: ReactNode;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
export declare enum Portals {
|
|
1469
|
+
GlobalEventNotification = 1,
|
|
1470
|
+
Modals = 2
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
export declare const POSITION_BOTTOM_CLASSES: ClassType;
|
|
1474
|
+
|
|
1475
|
+
export declare const POSITION_LEFT_CLASSES: ClassType;
|
|
1476
|
+
|
|
1477
|
+
export declare const POSITION_RIGHT_CLASSES: ClassType;
|
|
1478
|
+
|
|
1479
|
+
export declare const POSITION_TOP_CLASSES: ClassType;
|
|
1480
|
+
|
|
1481
|
+
export declare enum Positions {
|
|
1482
|
+
Size0 = 1,
|
|
1483
|
+
Size1 = 2,
|
|
1484
|
+
Size2 = 3,
|
|
1485
|
+
Size3 = 4,
|
|
1486
|
+
Size4 = 5,
|
|
1487
|
+
Size5 = 6,
|
|
1488
|
+
Size6 = 7,
|
|
1489
|
+
Size7 = 8,
|
|
1490
|
+
Size8 = 9,
|
|
1491
|
+
Size9 = 10,
|
|
1492
|
+
Auto = 11
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export declare const RADIUS_VALUES: {
|
|
1496
|
+
[key: number]: number;
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
export declare enum Radiuses {
|
|
1500
|
+
Size0 = 1,
|
|
1501
|
+
Size1 = 2,
|
|
1502
|
+
Size2 = 3,
|
|
1503
|
+
Size3 = 4,
|
|
1504
|
+
Size4 = 5,
|
|
1505
|
+
Size5 = 6,
|
|
1506
|
+
Size6 = 7,
|
|
1507
|
+
Size7 = 8,
|
|
1508
|
+
Size8 = 9,
|
|
1509
|
+
Size9 = 10
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
export declare const SELECT_SIZES: {
|
|
1513
|
+
1: {
|
|
1514
|
+
li: {
|
|
1515
|
+
paddingLeft: Spacings;
|
|
1516
|
+
paddingRight: Spacings;
|
|
1517
|
+
paddingTop: Spacings;
|
|
1518
|
+
PaddingRights: Spacings;
|
|
1519
|
+
};
|
|
1520
|
+
font: {
|
|
1521
|
+
size: FontSizes;
|
|
1522
|
+
};
|
|
1523
|
+
icon: {
|
|
1524
|
+
size: Sizings;
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
2: {
|
|
1528
|
+
li: {
|
|
1529
|
+
paddingLeft: Spacings;
|
|
1530
|
+
paddingRight: Spacings;
|
|
1531
|
+
paddingTop: Spacings;
|
|
1532
|
+
PaddingRights: Spacings;
|
|
1533
|
+
};
|
|
1534
|
+
font: {
|
|
1535
|
+
size: FontSizes;
|
|
1536
|
+
};
|
|
1537
|
+
icon: {
|
|
1538
|
+
size: Sizings;
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
3: {
|
|
1542
|
+
li: {
|
|
1543
|
+
paddingLeft: Spacings;
|
|
1544
|
+
paddingRight: Spacings;
|
|
1545
|
+
paddingTop: Spacings;
|
|
1546
|
+
PaddingRights: Spacings;
|
|
1547
|
+
};
|
|
1548
|
+
font: {
|
|
1549
|
+
size: FontSizes;
|
|
1550
|
+
};
|
|
1551
|
+
icon: {
|
|
1552
|
+
size: Sizings;
|
|
1553
|
+
};
|
|
1554
|
+
};
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
export declare const SELECT_STATES: {
|
|
1558
|
+
1: {
|
|
1559
|
+
header: {
|
|
1560
|
+
borderRadius: Radiuses;
|
|
1561
|
+
borderWidth: BorderWidths;
|
|
1562
|
+
borderColor: ColorPalettes;
|
|
1563
|
+
bgColor: ColorPalettes;
|
|
1564
|
+
};
|
|
1565
|
+
dropdown: {
|
|
1566
|
+
borderRadius: Radiuses;
|
|
1567
|
+
borderWidth: BorderWidths;
|
|
1568
|
+
borderColor: ColorPalettes;
|
|
1569
|
+
bgColor: ColorPalettes;
|
|
1570
|
+
};
|
|
1571
|
+
info: {
|
|
1572
|
+
label: undefined;
|
|
1573
|
+
labelColor: ColorPalettes;
|
|
1574
|
+
};
|
|
1575
|
+
};
|
|
1576
|
+
2: {
|
|
1577
|
+
header: {
|
|
1578
|
+
borderRadius: Radiuses;
|
|
1579
|
+
borderWidth: BorderWidths;
|
|
1580
|
+
borderColor: ColorPalettes;
|
|
1581
|
+
bgColor: ColorPalettes;
|
|
1582
|
+
};
|
|
1583
|
+
dropdown: {
|
|
1584
|
+
borderRadius: Radiuses;
|
|
1585
|
+
borderWidth: BorderWidths;
|
|
1586
|
+
borderColor: ColorPalettes;
|
|
1587
|
+
bgColor: ColorPalettes;
|
|
1588
|
+
};
|
|
1589
|
+
info: {
|
|
1590
|
+
label: undefined;
|
|
1591
|
+
labelColor: ColorPalettes;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
3: {
|
|
1595
|
+
header: {
|
|
1596
|
+
borderRadius: Radiuses;
|
|
1597
|
+
borderWidth: BorderWidths;
|
|
1598
|
+
borderColor: ColorPalettes;
|
|
1599
|
+
bgColor: ColorPalettes;
|
|
1600
|
+
};
|
|
1601
|
+
dropdown: {
|
|
1602
|
+
borderRadius: Radiuses;
|
|
1603
|
+
borderWidth: BorderWidths;
|
|
1604
|
+
borderColor: ColorPalettes;
|
|
1605
|
+
bgColor: ColorPalettes;
|
|
1606
|
+
};
|
|
1607
|
+
info: {
|
|
1608
|
+
label: string;
|
|
1609
|
+
labelColor: ColorPalettes;
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
4: {
|
|
1613
|
+
header: {
|
|
1614
|
+
borderRadius: Radiuses;
|
|
1615
|
+
borderWidth: BorderWidths;
|
|
1616
|
+
borderColor: ColorPalettes;
|
|
1617
|
+
bgColor: ColorPalettes;
|
|
1618
|
+
};
|
|
1619
|
+
dropdown: {
|
|
1620
|
+
borderRadius: Radiuses;
|
|
1621
|
+
borderWidth: BorderWidths;
|
|
1622
|
+
borderColor: ColorPalettes;
|
|
1623
|
+
bgColor: ColorPalettes;
|
|
1624
|
+
};
|
|
1625
|
+
info: {
|
|
1626
|
+
label: string;
|
|
1627
|
+
labelColor: ColorPalettes;
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
5: {
|
|
1631
|
+
header: {
|
|
1632
|
+
borderRadius: Radiuses;
|
|
1633
|
+
borderWidth: BorderWidths;
|
|
1634
|
+
borderColor: ColorPalettes;
|
|
1635
|
+
bgColor: ColorPalettes;
|
|
1636
|
+
};
|
|
1637
|
+
dropdown: {
|
|
1638
|
+
borderRadius: Radiuses;
|
|
1639
|
+
borderWidth: BorderWidths;
|
|
1640
|
+
borderColor: ColorPalettes;
|
|
1641
|
+
bgColor: ColorPalettes;
|
|
1642
|
+
};
|
|
1643
|
+
info: {
|
|
1644
|
+
label: string;
|
|
1645
|
+
labelColor: ColorPalettes;
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
6: {
|
|
1649
|
+
header: {
|
|
1650
|
+
borderRadius: Radiuses;
|
|
1651
|
+
borderWidth: BorderWidths;
|
|
1652
|
+
borderColor: ColorPalettes;
|
|
1653
|
+
bgColor: ColorPalettes;
|
|
1654
|
+
};
|
|
1655
|
+
dropdown: {
|
|
1656
|
+
borderRadius: Radiuses;
|
|
1657
|
+
borderWidth: BorderWidths;
|
|
1658
|
+
borderColor: ColorPalettes;
|
|
1659
|
+
bgColor: ColorPalettes;
|
|
1660
|
+
};
|
|
1661
|
+
info: {
|
|
1662
|
+
label: string;
|
|
1663
|
+
labelColor: ColorPalettes;
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
export declare enum SelectedValuesStyles {
|
|
1669
|
+
Text = 1,
|
|
1670
|
+
Chip = 2
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export declare interface SelectOption {
|
|
1674
|
+
id: string | number;
|
|
1675
|
+
text: string;
|
|
1676
|
+
selected: boolean;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* border width -- error | none | selected |
|
|
1681
|
+
* border radius
|
|
1682
|
+
* font size
|
|
1683
|
+
* title size -- padding
|
|
1684
|
+
* li sizes -- padding
|
|
1685
|
+
*/
|
|
1686
|
+
export declare enum SelectSizes {
|
|
1687
|
+
Small = 1,
|
|
1688
|
+
Medium = 2,
|
|
1689
|
+
Big = 3
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
export declare enum SelectStates {
|
|
1693
|
+
Default = 1,
|
|
1694
|
+
Selected = 2,
|
|
1695
|
+
Error = 3,
|
|
1696
|
+
Disabled = 4,
|
|
1697
|
+
ReadOnly = 5,
|
|
1698
|
+
Required = 6
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
export declare enum Sizings {
|
|
1702
|
+
Size1 = 8,
|
|
1703
|
+
Size2 = 12,
|
|
1704
|
+
Size3 = 16,
|
|
1705
|
+
Size4 = 20,
|
|
1706
|
+
Size5 = 24,
|
|
1707
|
+
Size6 = 28,
|
|
1708
|
+
Size7 = 32,
|
|
1709
|
+
Size8 = 36,
|
|
1710
|
+
Size9 = 44,
|
|
1711
|
+
Size10 = 52,
|
|
1712
|
+
Size11 = 60,
|
|
1713
|
+
Size12 = 68,
|
|
1714
|
+
Size13 = 76,
|
|
1715
|
+
Size14 = 84,
|
|
1716
|
+
Size15 = 92
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
export declare const SPACING_VALUES: {
|
|
1720
|
+
[key: number]: string;
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
export declare enum Spacings {
|
|
1724
|
+
Size0 = 1,
|
|
1725
|
+
Size1 = 2,
|
|
1726
|
+
Size2 = 3,
|
|
1727
|
+
Size3 = 4,
|
|
1728
|
+
Size4 = 5,
|
|
1729
|
+
Size5 = 6,
|
|
1730
|
+
Size6 = 7,
|
|
1731
|
+
Size7 = 8,
|
|
1732
|
+
Size8 = 9,
|
|
1733
|
+
Size9 = 10,
|
|
1734
|
+
Auto = 11
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
export declare interface SpanProps extends AnimatedProps<HTMLAttributes<HTMLSpanElement>>, TextStyleProps {
|
|
1738
|
+
children?: ReactNode;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
declare interface StyleProps {
|
|
1742
|
+
margin?: Spacings;
|
|
1743
|
+
marginTop?: Spacings;
|
|
1744
|
+
marginBottom?: Spacings;
|
|
1745
|
+
marginLeft?: Spacings;
|
|
1746
|
+
marginRight?: Spacings;
|
|
1747
|
+
padding?: Spacings;
|
|
1748
|
+
paddingTop?: Spacings;
|
|
1749
|
+
paddingBottom?: Spacings;
|
|
1750
|
+
paddingLeft?: Spacings;
|
|
1751
|
+
paddingRight?: Spacings;
|
|
1752
|
+
boxShadow?: BoxShadows;
|
|
1753
|
+
borderRadius?: Radiuses;
|
|
1754
|
+
borderBottomLeftRadius?: Radiuses;
|
|
1755
|
+
borderBottomRightRadius?: Radiuses;
|
|
1756
|
+
borderTopLeftRadius?: Radiuses;
|
|
1757
|
+
borderTopRightRadius?: Radiuses;
|
|
1758
|
+
borderStyle?: BorderStyles;
|
|
1759
|
+
borderLeftStyle?: BorderStyles;
|
|
1760
|
+
borderRightStyle?: BorderStyles;
|
|
1761
|
+
borderTopStyle?: BorderStyles;
|
|
1762
|
+
borderBottomStyle?: BorderStyles;
|
|
1763
|
+
borderWidth?: BorderWidths;
|
|
1764
|
+
bgColor?: ColorPalettes;
|
|
1765
|
+
paletteColor?: ColorPalettes;
|
|
1766
|
+
borderColor?: ColorPalettes;
|
|
1767
|
+
outlineColor?: ColorPalettes;
|
|
1768
|
+
boxSizing?: BoxSizings;
|
|
1769
|
+
top?: Positions;
|
|
1770
|
+
bottom?: Positions;
|
|
1771
|
+
left?: Positions;
|
|
1772
|
+
right?: Positions;
|
|
1773
|
+
cursor?: Cursors;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
export declare interface TableHeaderElement {
|
|
1777
|
+
headerId: string | number;
|
|
1778
|
+
element: ReactNode;
|
|
1779
|
+
styles: CellStyles;
|
|
1780
|
+
onClickHeaderCell?: (v?: string | number, e?: any) => void;
|
|
1781
|
+
sortable?: boolean;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
export declare type TableRowCellElement = {
|
|
1785
|
+
cellId?: string | number;
|
|
1786
|
+
element: ReactNode;
|
|
1787
|
+
styles: CellStyles;
|
|
1788
|
+
onClickCell?: (v?: string | number, e?: any) => void;
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
export declare type TableRowElement = {
|
|
1792
|
+
rowId: string | number;
|
|
1793
|
+
templateColumns: string[];
|
|
1794
|
+
cells: TableRowCellElement[];
|
|
1795
|
+
hover: boolean;
|
|
1796
|
+
onClickRow?: (v?: string | number, e?: any) => void;
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
export declare interface TabMenu {
|
|
1800
|
+
name: string;
|
|
1801
|
+
menuWrapper?: ComponentType<any>;
|
|
1802
|
+
route?: string;
|
|
1803
|
+
path?: string;
|
|
1804
|
+
element?: ReactNode;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
export declare const TAG_SIZE: {
|
|
1808
|
+
1: {
|
|
1809
|
+
borderRadius: string;
|
|
1810
|
+
width: number;
|
|
1811
|
+
height: number;
|
|
1812
|
+
margins: {
|
|
1813
|
+
marginTop: Spacings;
|
|
1814
|
+
marginBottom: Spacings;
|
|
1815
|
+
marginLeft: Spacings;
|
|
1816
|
+
marginRight: Spacings;
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
2: {
|
|
1820
|
+
borderRadius: string;
|
|
1821
|
+
width: number;
|
|
1822
|
+
height: number;
|
|
1823
|
+
margins: {
|
|
1824
|
+
marginTop: Spacings;
|
|
1825
|
+
marginBottom: Spacings;
|
|
1826
|
+
marginLeft: Spacings;
|
|
1827
|
+
marginRight: Spacings;
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
3: {
|
|
1831
|
+
borderRadius: string;
|
|
1832
|
+
width: number;
|
|
1833
|
+
height: number;
|
|
1834
|
+
margins: {
|
|
1835
|
+
marginTop: Spacings;
|
|
1836
|
+
marginBottom: Spacings;
|
|
1837
|
+
marginLeft: Spacings;
|
|
1838
|
+
marginRight: Spacings;
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
4: {
|
|
1842
|
+
borderRadius: string;
|
|
1843
|
+
width: number;
|
|
1844
|
+
height: number;
|
|
1845
|
+
margins: {
|
|
1846
|
+
marginTop: Spacings;
|
|
1847
|
+
marginBottom: Spacings;
|
|
1848
|
+
marginLeft: Spacings;
|
|
1849
|
+
marginRight: Spacings;
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
export declare enum TagColorSizes {
|
|
1855
|
+
Small = 1,
|
|
1856
|
+
Medium = 2,
|
|
1857
|
+
Big = 3,
|
|
1858
|
+
Large = 4
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
export declare const TEXT_ALIGN_CLASSES: {
|
|
1862
|
+
1: string;
|
|
1863
|
+
2: string;
|
|
1864
|
+
3: string;
|
|
1865
|
+
4: string;
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
export declare const TEXT_AREA_COLOR: {
|
|
1869
|
+
[key: number]: any;
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
export declare const TEXT_AREA_SIZE: {
|
|
1873
|
+
[key: number]: any;
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
export declare const TEXT_AREA_STYLE: {
|
|
1877
|
+
[key: number]: any;
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1880
|
+
export declare enum TextAligns {
|
|
1881
|
+
Start = 1,
|
|
1882
|
+
End = 2,
|
|
1883
|
+
Center = 3,
|
|
1884
|
+
Justify = 4
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export declare enum TextAreaModes {
|
|
1888
|
+
Default = 1,
|
|
1889
|
+
Error = 2,
|
|
1890
|
+
Disabled = 3,
|
|
1891
|
+
ReadOnly = 4
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
declare interface TextAreaProp {
|
|
1895
|
+
type?: string;
|
|
1896
|
+
required?: boolean | undefined;
|
|
1897
|
+
disabled?: boolean | undefined;
|
|
1898
|
+
placeholder?: string | undefined;
|
|
1899
|
+
name?: string;
|
|
1900
|
+
value?: any | undefined;
|
|
1901
|
+
min?: number | undefined;
|
|
1902
|
+
step?: number | undefined;
|
|
1903
|
+
rows?: number | undefined;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
export declare interface TextAreaProps extends AnimatedProps<HTMLAttributes<HTMLTextAreaElement>>, TextStyleProps, TextAreaStyles_2, TextAreaProp {
|
|
1907
|
+
children?: ReactNode;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
export declare enum TextAreaSizes {
|
|
1911
|
+
Small = 1,
|
|
1912
|
+
Default = 2,// medium
|
|
1913
|
+
Big = 3,
|
|
1914
|
+
Huge = 4
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
export declare enum TextAreaStyles {
|
|
1918
|
+
Default = 1,// outline
|
|
1919
|
+
Outlined = 2,// outline overall
|
|
1920
|
+
Filled = 3,// border bottom & bg color
|
|
1921
|
+
BorderBottom = 4,
|
|
1922
|
+
Transparent = 5
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
declare interface TextAreaStyles_2 {
|
|
1926
|
+
resize?: ElementResizes;
|
|
1927
|
+
outlineStyle?: OutlineStyles;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
declare interface TextInputProp {
|
|
1931
|
+
type?: string;
|
|
1932
|
+
required?: boolean | undefined;
|
|
1933
|
+
disabled?: boolean | undefined;
|
|
1934
|
+
placeholder?: string | undefined;
|
|
1935
|
+
name?: string;
|
|
1936
|
+
value?: any | undefined;
|
|
1937
|
+
min?: number | undefined;
|
|
1938
|
+
step?: number | undefined;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
export declare interface TextInputProps extends AnimatedProps<HTMLAttributes<HTMLInputElement>>, TextStyleProps, TextInputProp {
|
|
1942
|
+
children?: ReactNode;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
declare interface TextStyleProps {
|
|
1946
|
+
paletteColor?: ColorPalettes;
|
|
1947
|
+
fontSize?: FontSizes;
|
|
1948
|
+
fontFamily?: FontFamilies;
|
|
1949
|
+
fontWeight?: FontWeights;
|
|
1950
|
+
fontStyle?: FontStyles;
|
|
1951
|
+
textAlign?: TextAligns;
|
|
1952
|
+
cursor?: Cursors;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
export declare const THEME_CLASSES: {
|
|
1956
|
+
1: string;
|
|
1957
|
+
2: string;
|
|
1958
|
+
3: string;
|
|
1959
|
+
};
|
|
1960
|
+
|
|
1961
|
+
export declare enum Themes {
|
|
1962
|
+
Default = 1,
|
|
1963
|
+
Light = 2,
|
|
1964
|
+
Dark = 3
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
export declare const TOAST_TYPE: {
|
|
1968
|
+
[key: number]: ToastNotification;
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
export declare type ToastNotification = {
|
|
1972
|
+
icon: string;
|
|
1973
|
+
color: ColorPalettes;
|
|
1974
|
+
default: string;
|
|
1975
|
+
isTimeout?: boolean;
|
|
1976
|
+
classname?: string;
|
|
1977
|
+
};
|
|
1978
|
+
|
|
1979
|
+
export declare enum ToastTypes {
|
|
1980
|
+
Success = 1,
|
|
1981
|
+
Alert = 2,
|
|
1982
|
+
Error = 3,
|
|
1983
|
+
Info = 4,
|
|
1984
|
+
Static = 5,
|
|
1985
|
+
Loading = 6,
|
|
1986
|
+
SuccessStatic = 7,
|
|
1987
|
+
ErrorStatic = 8,
|
|
1988
|
+
LoadingStatic = 9
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
export declare const TOGGLE_SIZE: ToggleSizeLiteral;
|
|
1992
|
+
|
|
1993
|
+
export declare const TOGGLE_STATE_ICON: {
|
|
1994
|
+
1: null;
|
|
1995
|
+
2: string;
|
|
1996
|
+
3: string;
|
|
1997
|
+
4: string;
|
|
1998
|
+
5: string;
|
|
1999
|
+
};
|
|
2000
|
+
|
|
2001
|
+
declare interface ToggleSizeLiteral {
|
|
2002
|
+
[key: number]: ToggleSizeType;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
export declare enum ToggleSizes {
|
|
2006
|
+
Tiny = 1,
|
|
2007
|
+
Smaller = 2,
|
|
2008
|
+
Small = 3,
|
|
2009
|
+
Medium = 4,
|
|
2010
|
+
Big = 5,
|
|
2011
|
+
Large = 6
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
declare type ToggleSizeType = {
|
|
2015
|
+
container: elementSize;
|
|
2016
|
+
bg: elementSize;
|
|
2017
|
+
thumb: elementSize;
|
|
2018
|
+
icon: elementSize;
|
|
2019
|
+
bgBorderRadius: string;
|
|
2020
|
+
thumbBR: string;
|
|
2021
|
+
};
|
|
2022
|
+
|
|
2023
|
+
export declare enum ToggleStates {
|
|
2024
|
+
Icon = 1,
|
|
2025
|
+
Loading = 2,
|
|
2026
|
+
Success = 3,
|
|
2027
|
+
Error = 4,
|
|
2028
|
+
Disabled = 5
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
export declare type UiContextType = {
|
|
2032
|
+
theme: Themes;
|
|
2033
|
+
baseFontSize: FontSizes;
|
|
2034
|
+
handleSetTheme: (p: Themes) => void;
|
|
2035
|
+
onSetBaseFontSize: (v: number) => void;
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
export declare interface UlProps extends AnimatedProps<HTMLAttributes<HTMLUListElement>>, StyleProps {
|
|
2039
|
+
children?: ReactNode;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
export { }
|