@rippling/pebble-sdui-web 0.7.0 → 0.9.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/catalogs/ai_gateway/action-params.d.ts +5 -0
- package/dist/catalogs/ai_gateway/actions.d.ts +5 -0
- package/dist/catalogs/ai_gateway/catalog.d.ts +33 -0
- package/dist/catalogs/ai_gateway/component-events.d.ts +6 -0
- package/dist/catalogs/ai_gateway/component-props.d.ts +51 -0
- package/dist/catalogs/ai_gateway/components.d.ts +7 -0
- package/dist/catalogs/ai_gateway/function-params.d.ts +5 -0
- package/dist/catalogs/ai_gateway/functions.d.ts +5 -0
- package/dist/catalogs/ai_gateway/index.cjs +2 -0
- package/dist/catalogs/ai_gateway/index.cjs.map +1 -0
- package/dist/catalogs/ai_gateway/index.d.ts +11 -0
- package/dist/catalogs/ai_gateway/index.js +366 -0
- package/dist/catalogs/ai_gateway/index.js.map +1 -0
- package/dist/catalogs/ai_gateway/render.d.ts +20 -0
- package/dist/catalogs/custom-apps/action-params.d.ts +4 -0
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +16 -13
- package/dist/catalogs/custom-apps/component-props.d.ts +973 -161
- package/dist/catalogs/custom-apps/components.d.ts +5 -2
- package/dist/catalogs/custom-apps/index.cjs +3 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +5 -5
- package/dist/catalogs/custom-apps/index.js +5951 -1306
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/ai_gateway/actions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/components.md +31 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/computed-functions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/definitions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/readme.md +16 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/types.md +75 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +28 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +450 -222
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +274 -242
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1329 -116
- package/package.json +6 -1
|
@@ -10,6 +10,7 @@ export interface AppNavBarNavItem {
|
|
|
10
10
|
links?: AppNavBarNavItem[];
|
|
11
11
|
path?: string;
|
|
12
12
|
queryParams?: QueryParam;
|
|
13
|
+
size?: number;
|
|
13
14
|
title: string;
|
|
14
15
|
}
|
|
15
16
|
export interface CheckListItem {
|
|
@@ -28,11 +29,28 @@ export interface NestedListItem {
|
|
|
28
29
|
label: string;
|
|
29
30
|
value?: string;
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
/** Override container padding per side using Pebble spacing tokens */
|
|
33
|
+
export interface ActionCardPadding {
|
|
34
|
+
bottom?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
35
|
+
left?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
36
|
+
right?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
37
|
+
top?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
38
|
+
}
|
|
39
|
+
/** Primary action button configuration */
|
|
40
|
+
export interface ActionCardPrimaryAction {
|
|
41
|
+
icon?: string;
|
|
42
|
+
isDisabled?: boolean;
|
|
43
|
+
title: string;
|
|
44
|
+
to?: string | ActionCardTo;
|
|
45
|
+
}
|
|
46
|
+
/** Secondary action button configuration */
|
|
47
|
+
export interface ActionCardSecondaryAction {
|
|
48
|
+
icon?: string;
|
|
49
|
+
isDisabled?: boolean;
|
|
50
|
+
title: string;
|
|
51
|
+
to?: string | ActionCardTo;
|
|
34
52
|
}
|
|
35
|
-
export interface
|
|
53
|
+
export interface ActionCardTo {
|
|
36
54
|
openInNewTab?: boolean;
|
|
37
55
|
path: string;
|
|
38
56
|
}
|
|
@@ -48,15 +66,27 @@ export interface Addres {
|
|
|
48
66
|
streetLine4?: string;
|
|
49
67
|
zip: string;
|
|
50
68
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
69
|
+
/** Primary action button configuration */
|
|
70
|
+
export interface AlertPrimaryAction {
|
|
71
|
+
icon?: string;
|
|
72
|
+
isDisabled?: boolean;
|
|
73
|
+
shouldShowSpinner?: boolean;
|
|
74
|
+
title: string;
|
|
75
|
+
to?: string | AlertTo;
|
|
54
76
|
}
|
|
55
|
-
|
|
77
|
+
/** Secondary action button configuration */
|
|
78
|
+
export interface AlertSecondaryAction {
|
|
79
|
+
icon?: string;
|
|
80
|
+
isDisabled?: boolean;
|
|
81
|
+
shouldShowSpinner?: boolean;
|
|
82
|
+
title: string;
|
|
83
|
+
to?: string | AlertTo;
|
|
84
|
+
}
|
|
85
|
+
export interface AlertTo {
|
|
56
86
|
openInNewTab?: boolean;
|
|
57
87
|
path: string;
|
|
58
88
|
}
|
|
59
|
-
/** Lottie animation JSON object. Required if path not provided */
|
|
89
|
+
/** Lottie animation JSON object. Required if path is not provided */
|
|
60
90
|
export interface AnimationData {
|
|
61
91
|
[key: string]: unknown;
|
|
62
92
|
}
|
|
@@ -87,7 +117,7 @@ export interface AppGroupSelectFooter {
|
|
|
87
117
|
export interface AppGroupSelectFuseOption {
|
|
88
118
|
[key: string]: unknown;
|
|
89
119
|
}
|
|
90
|
-
export interface
|
|
120
|
+
export interface AppGroupSelectList {
|
|
91
121
|
avatarProps?: AppGroupSelectAvatarProp;
|
|
92
122
|
description?: string;
|
|
93
123
|
flag?: string;
|
|
@@ -116,6 +146,11 @@ export interface AppNavBarNavItemBadge {
|
|
|
116
146
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
117
147
|
text: string;
|
|
118
148
|
}
|
|
149
|
+
/** Badge overlay configuration for the avatar */
|
|
150
|
+
export interface AvatarBadge {
|
|
151
|
+
'aria-label': string;
|
|
152
|
+
char?: string;
|
|
153
|
+
}
|
|
119
154
|
export interface AvatarIcon {
|
|
120
155
|
backgroundColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
121
156
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
@@ -178,6 +213,11 @@ export interface ButtonIcon {
|
|
|
178
213
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
179
214
|
type: string;
|
|
180
215
|
}
|
|
216
|
+
/** Labels for the expand and collapse buttons */
|
|
217
|
+
export interface ButtonLabel {
|
|
218
|
+
collapse: string;
|
|
219
|
+
expand: string;
|
|
220
|
+
}
|
|
181
221
|
export interface ButtonTip {
|
|
182
222
|
appearance?: 'LIGHT' | 'DARK';
|
|
183
223
|
content: string;
|
|
@@ -215,18 +255,39 @@ export interface CheckboxGroupCheck {
|
|
|
215
255
|
message: string;
|
|
216
256
|
type: string;
|
|
217
257
|
}
|
|
218
|
-
export interface
|
|
258
|
+
export interface CheckboxGroupList {
|
|
219
259
|
isDisabled?: boolean;
|
|
220
260
|
label: string;
|
|
221
261
|
secondaryLabel?: string;
|
|
222
262
|
tag?: string | CheckboxGroupTag;
|
|
223
|
-
tip?: string;
|
|
263
|
+
tip?: string | CheckboxGroupTip;
|
|
224
264
|
value: unknown;
|
|
225
265
|
}
|
|
226
266
|
export interface CheckboxGroupTag {
|
|
227
267
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
228
268
|
label: string;
|
|
229
269
|
}
|
|
270
|
+
export interface CheckboxGroupTip {
|
|
271
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
272
|
+
content: string;
|
|
273
|
+
hideOnDocumentScroll?: boolean;
|
|
274
|
+
isDelayed?: boolean;
|
|
275
|
+
isMobileSupported?: boolean;
|
|
276
|
+
isPositionFixed?: boolean;
|
|
277
|
+
isVisible?: boolean;
|
|
278
|
+
maxHeight?: number | string;
|
|
279
|
+
maxWidth?: number | string;
|
|
280
|
+
onlyIfChildOverflow?: boolean;
|
|
281
|
+
onlyIfOverflow?: boolean;
|
|
282
|
+
overwriteMiddleware?: boolean;
|
|
283
|
+
padding?: string;
|
|
284
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
285
|
+
shallSkipOverflowY?: boolean;
|
|
286
|
+
tipHideDelay?: number;
|
|
287
|
+
tipShowDelay?: number;
|
|
288
|
+
title?: string;
|
|
289
|
+
truncateClassName?: string;
|
|
290
|
+
}
|
|
230
291
|
/** Per-item input type overrides */
|
|
231
292
|
export interface CheckListOption {
|
|
232
293
|
shouldHaveNegativeCheckbox?: boolean;
|
|
@@ -255,6 +316,19 @@ export interface ChipTo {
|
|
|
255
316
|
openInNewTab?: boolean;
|
|
256
317
|
path: string;
|
|
257
318
|
}
|
|
319
|
+
/** Bindable clicked file metadata written before chipClick emits */
|
|
320
|
+
export interface ClickedFile {
|
|
321
|
+
name?: string;
|
|
322
|
+
content?: string;
|
|
323
|
+
hasError?: boolean;
|
|
324
|
+
isMultipart?: boolean;
|
|
325
|
+
previewUrl?: string;
|
|
326
|
+
progress?: number;
|
|
327
|
+
size?: number;
|
|
328
|
+
tooltipText?: string;
|
|
329
|
+
type?: string;
|
|
330
|
+
url?: string;
|
|
331
|
+
}
|
|
258
332
|
/** Configure when each priority level auto-collapses based on container width. Keys are priority numbers, values are breakpoint tokens. Use false to disable auto-collapse for a priority level */
|
|
259
333
|
export interface CollapseBelow {
|
|
260
334
|
[key: string]: 'breakpoint2xl' | 'breakpointLg' | 'breakpointMd' | 'breakpointSm' | 'breakpointXl' | false;
|
|
@@ -276,7 +350,14 @@ export interface Column {
|
|
|
276
350
|
}
|
|
277
351
|
export interface CountryIcon {
|
|
278
352
|
alignment?: 'RIGHT';
|
|
353
|
+
'aria-describedby'?: string;
|
|
354
|
+
'aria-label'?: string;
|
|
355
|
+
'aria-labelledby'?: string;
|
|
279
356
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
357
|
+
isDisabled?: boolean;
|
|
358
|
+
isFocused?: boolean;
|
|
359
|
+
showCursor?: boolean;
|
|
360
|
+
size?: number | string;
|
|
280
361
|
tip?: string;
|
|
281
362
|
type: string;
|
|
282
363
|
}
|
|
@@ -288,6 +369,50 @@ export interface CurrencyCheck {
|
|
|
288
369
|
message: string;
|
|
289
370
|
type: string;
|
|
290
371
|
}
|
|
372
|
+
/** Nested Select props for the currency selector */
|
|
373
|
+
export interface CurrencyCurrencyTypeProp {
|
|
374
|
+
name?: string;
|
|
375
|
+
'aria-describedby'?: string;
|
|
376
|
+
'aria-label'?: string;
|
|
377
|
+
'aria-labelledby'?: string;
|
|
378
|
+
canClear?: boolean;
|
|
379
|
+
defaultSearchQuery?: string;
|
|
380
|
+
defaultValue?: unknown;
|
|
381
|
+
dropdownHeight?: number;
|
|
382
|
+
emptyListPlaceholder?: string | CurrencyEmptyListPlaceholder;
|
|
383
|
+
fuseOptions?: CurrencyFuseOption;
|
|
384
|
+
isDisabled?: boolean;
|
|
385
|
+
isMenuDefaultOpen?: boolean;
|
|
386
|
+
isPositionFixed?: boolean;
|
|
387
|
+
isReadOnly?: boolean;
|
|
388
|
+
isRequired?: boolean;
|
|
389
|
+
isSearchable?: boolean;
|
|
390
|
+
maxHeight?: string | number;
|
|
391
|
+
placeholder?: string;
|
|
392
|
+
scrollThreshold?: number;
|
|
393
|
+
shouldFocusFirstElement?: boolean;
|
|
394
|
+
shouldShowSearchIcon?: boolean;
|
|
395
|
+
shouldUsePortal?: boolean;
|
|
396
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
397
|
+
value?: unknown;
|
|
398
|
+
}
|
|
399
|
+
export interface CurrencyDefaultValue {
|
|
400
|
+
type: string;
|
|
401
|
+
value: string | number;
|
|
402
|
+
}
|
|
403
|
+
export interface CurrencyEmptyListPlaceholder {
|
|
404
|
+
onLoading?: string;
|
|
405
|
+
onNoSearchQuery?: string;
|
|
406
|
+
onNoSearchResults?: string;
|
|
407
|
+
}
|
|
408
|
+
/** Fuse.js search options */
|
|
409
|
+
export interface CurrencyFuseOption {
|
|
410
|
+
[key: string]: unknown;
|
|
411
|
+
}
|
|
412
|
+
export interface CurrencyValue {
|
|
413
|
+
type: string;
|
|
414
|
+
value: string | number;
|
|
415
|
+
}
|
|
291
416
|
export interface DateArg {
|
|
292
417
|
[key: string]: unknown;
|
|
293
418
|
}
|
|
@@ -320,16 +445,87 @@ export interface DaySelectorCheck {
|
|
|
320
445
|
message: string;
|
|
321
446
|
type: string;
|
|
322
447
|
}
|
|
448
|
+
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
449
|
+
export interface DaySelectorRenderProp {
|
|
450
|
+
[key: string]: DaySelectorRenderPropValue;
|
|
451
|
+
}
|
|
452
|
+
export interface DaySelectorRenderPropValue {
|
|
453
|
+
isDisabled?: boolean;
|
|
454
|
+
tip?: DaySelectorTip;
|
|
455
|
+
}
|
|
323
456
|
export interface DaySelectorTip {
|
|
324
457
|
content: string;
|
|
325
458
|
}
|
|
459
|
+
export interface DisabledTip {
|
|
460
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
461
|
+
content: string;
|
|
462
|
+
isVisible?: boolean;
|
|
463
|
+
maxHeight?: number | string;
|
|
464
|
+
maxWidth?: number | string;
|
|
465
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
466
|
+
}
|
|
326
467
|
export interface DraggableListList {
|
|
327
468
|
id: string | number;
|
|
328
469
|
label?: string;
|
|
470
|
+
[key: string]: unknown | string | number | string | undefined;
|
|
471
|
+
}
|
|
472
|
+
/** Tooltip configuration for the default chip renderer */
|
|
473
|
+
export interface DraggableListTip {
|
|
474
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
475
|
+
contentKey?: string;
|
|
476
|
+
hideOnDocumentScroll?: boolean;
|
|
477
|
+
isDelayed?: boolean;
|
|
478
|
+
isMobileSupported?: boolean;
|
|
479
|
+
isPositionFixed?: boolean;
|
|
480
|
+
isVisible?: boolean;
|
|
481
|
+
maxHeight?: number | string;
|
|
482
|
+
maxWidth?: number | string;
|
|
483
|
+
onlyIfChildOverflow?: boolean;
|
|
484
|
+
onlyIfOverflow?: boolean;
|
|
485
|
+
overwriteMiddleware?: boolean;
|
|
486
|
+
padding?: string;
|
|
487
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
488
|
+
shallSkipOverflowY?: boolean;
|
|
489
|
+
tipHideDelay?: number;
|
|
490
|
+
tipShowDelay?: number;
|
|
491
|
+
title?: string;
|
|
492
|
+
titleKey?: string;
|
|
493
|
+
truncateClassName?: string;
|
|
494
|
+
}
|
|
495
|
+
export interface DrawerItem {
|
|
496
|
+
href?: string;
|
|
497
|
+
isDisabled?: boolean;
|
|
498
|
+
title: string;
|
|
499
|
+
value: string;
|
|
500
|
+
}
|
|
501
|
+
/** Breadcrumb props for the drawer title */
|
|
502
|
+
export interface DrawerProp {
|
|
503
|
+
active?: string;
|
|
504
|
+
'aria-describedby'?: string;
|
|
505
|
+
'aria-label'?: string;
|
|
506
|
+
'aria-labelledby'?: string;
|
|
507
|
+
items: DrawerItem[];
|
|
508
|
+
noMargin?: boolean;
|
|
509
|
+
shouldCollapseMiddle?: boolean;
|
|
329
510
|
}
|
|
330
511
|
export interface DropdownDisabledInfo {
|
|
331
512
|
content: string;
|
|
332
513
|
}
|
|
514
|
+
/** Footer item rendered at the bottom of the list */
|
|
515
|
+
export interface DropdownFooter {
|
|
516
|
+
disabledInfo?: string | DropdownDisabledInfo;
|
|
517
|
+
isDisabled?: boolean;
|
|
518
|
+
label?: string;
|
|
519
|
+
labelIcon?: string;
|
|
520
|
+
leftIconType?: string;
|
|
521
|
+
quaternaryLabel?: string;
|
|
522
|
+
secondaryLabel?: string;
|
|
523
|
+
tag?: string | DropdownTag;
|
|
524
|
+
tertiaryLabel?: string;
|
|
525
|
+
type?: 'WARNING' | 'ALERT';
|
|
526
|
+
value?: unknown;
|
|
527
|
+
[key: string]: unknown | string | DropdownDisabledInfo | boolean | string | string | DropdownTag | 'WARNING' | 'ALERT' | undefined;
|
|
528
|
+
}
|
|
333
529
|
export interface DropdownList {
|
|
334
530
|
label: string;
|
|
335
531
|
value: string;
|
|
@@ -337,15 +533,25 @@ export interface DropdownList {
|
|
|
337
533
|
export interface DropdownList2 {
|
|
338
534
|
disabledInfo?: string | DropdownDisabledInfo;
|
|
339
535
|
isDisabled?: boolean;
|
|
340
|
-
label
|
|
536
|
+
label?: string;
|
|
341
537
|
labelIcon?: string;
|
|
342
538
|
leftIconType?: string;
|
|
343
539
|
quaternaryLabel?: string;
|
|
344
540
|
secondaryLabel?: string;
|
|
345
|
-
tag?: string;
|
|
541
|
+
tag?: string | DropdownTag;
|
|
346
542
|
tertiaryLabel?: string;
|
|
347
543
|
type?: 'WARNING' | 'ALERT';
|
|
348
|
-
value
|
|
544
|
+
value?: unknown;
|
|
545
|
+
[key: string]: unknown | string | DropdownDisabledInfo | boolean | string | string | DropdownTag | 'WARNING' | 'ALERT' | undefined;
|
|
546
|
+
}
|
|
547
|
+
export interface DropdownTag {
|
|
548
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
549
|
+
text: string;
|
|
550
|
+
}
|
|
551
|
+
export interface EditButton {
|
|
552
|
+
disabledTip?: string | DisabledTip;
|
|
553
|
+
isDisabled?: boolean;
|
|
554
|
+
show?: boolean;
|
|
349
555
|
}
|
|
350
556
|
export interface EmailArg {
|
|
351
557
|
[key: string]: unknown;
|
|
@@ -355,6 +561,43 @@ export interface EmailCheck {
|
|
|
355
561
|
message: string;
|
|
356
562
|
type: string;
|
|
357
563
|
}
|
|
564
|
+
/** Pads input value with character until reaching maxLength */
|
|
565
|
+
export interface EmailStringPadding {
|
|
566
|
+
character: string;
|
|
567
|
+
maxLength: number;
|
|
568
|
+
position: 'start' | 'end';
|
|
569
|
+
}
|
|
570
|
+
/** Toggle icon layout options */
|
|
571
|
+
export interface ExpansionPanelToggleIcon {
|
|
572
|
+
align?: string;
|
|
573
|
+
margin?: string;
|
|
574
|
+
size?: number | string;
|
|
575
|
+
}
|
|
576
|
+
export interface FileAllowCameraCapture {
|
|
577
|
+
quality?: number;
|
|
578
|
+
}
|
|
579
|
+
/** Image cropper configuration */
|
|
580
|
+
export interface FileCropperConfig {
|
|
581
|
+
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
582
|
+
enforceAspectRatio?: boolean;
|
|
583
|
+
showUploadButton?: boolean;
|
|
584
|
+
title?: string;
|
|
585
|
+
}
|
|
586
|
+
export interface FileDefaultValue {
|
|
587
|
+
name?: string;
|
|
588
|
+
content?: string;
|
|
589
|
+
hasError?: boolean;
|
|
590
|
+
isMultipart?: boolean;
|
|
591
|
+
previewUrl?: string;
|
|
592
|
+
progress?: number;
|
|
593
|
+
size?: number;
|
|
594
|
+
tooltipText?: string;
|
|
595
|
+
type?: string;
|
|
596
|
+
url?: string;
|
|
597
|
+
}
|
|
598
|
+
export interface FileDropAllowCameraCapture {
|
|
599
|
+
quality?: number;
|
|
600
|
+
}
|
|
358
601
|
export interface FileDropArg {
|
|
359
602
|
[key: string]: unknown;
|
|
360
603
|
}
|
|
@@ -390,30 +633,67 @@ export interface FileDropValue {
|
|
|
390
633
|
type?: string;
|
|
391
634
|
url?: string;
|
|
392
635
|
}
|
|
636
|
+
export interface FileValue {
|
|
637
|
+
name?: string;
|
|
638
|
+
content?: string;
|
|
639
|
+
hasError?: boolean;
|
|
640
|
+
isMultipart?: boolean;
|
|
641
|
+
previewUrl?: string;
|
|
642
|
+
progress?: number;
|
|
643
|
+
size?: number;
|
|
644
|
+
tooltipText?: string;
|
|
645
|
+
type?: string;
|
|
646
|
+
url?: string;
|
|
647
|
+
}
|
|
393
648
|
export interface FloatingButtonIcon {
|
|
394
649
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
395
650
|
type: string;
|
|
396
651
|
}
|
|
397
652
|
export interface FloatingButtonTip {
|
|
653
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
398
654
|
content: string;
|
|
399
|
-
|
|
655
|
+
isVisible?: boolean;
|
|
656
|
+
maxHeight?: number | string;
|
|
657
|
+
maxWidth?: number | string;
|
|
658
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
400
659
|
}
|
|
401
660
|
export interface FloatingButtonTo {
|
|
402
661
|
openInNewTab?: boolean;
|
|
403
662
|
path: string;
|
|
404
663
|
}
|
|
405
|
-
export interface
|
|
664
|
+
export interface FormCheckboxGroupList {
|
|
406
665
|
isDisabled?: boolean;
|
|
407
666
|
label: string;
|
|
408
667
|
secondaryLabel?: string;
|
|
409
668
|
tag?: string | FormCheckboxGroupTag;
|
|
410
|
-
tip?: string;
|
|
669
|
+
tip?: string | FormCheckboxGroupTip;
|
|
411
670
|
value: unknown;
|
|
412
671
|
}
|
|
413
672
|
export interface FormCheckboxGroupTag {
|
|
414
673
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
415
674
|
label: string;
|
|
416
675
|
}
|
|
676
|
+
export interface FormCheckboxGroupTip {
|
|
677
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
678
|
+
content: string;
|
|
679
|
+
hideOnDocumentScroll?: boolean;
|
|
680
|
+
isDelayed?: boolean;
|
|
681
|
+
isMobileSupported?: boolean;
|
|
682
|
+
isPositionFixed?: boolean;
|
|
683
|
+
isVisible?: boolean;
|
|
684
|
+
maxHeight?: number | string;
|
|
685
|
+
maxWidth?: number | string;
|
|
686
|
+
onlyIfChildOverflow?: boolean;
|
|
687
|
+
onlyIfOverflow?: boolean;
|
|
688
|
+
overwriteMiddleware?: boolean;
|
|
689
|
+
padding?: string;
|
|
690
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
691
|
+
shallSkipOverflowY?: boolean;
|
|
692
|
+
tipHideDelay?: number;
|
|
693
|
+
tipShowDelay?: number;
|
|
694
|
+
title?: string;
|
|
695
|
+
truncateClassName?: string;
|
|
696
|
+
}
|
|
417
697
|
/** Map of rule name to error message */
|
|
418
698
|
export interface FormCheckboxGroupValidationError {
|
|
419
699
|
[key: string]: string;
|
|
@@ -422,10 +702,54 @@ export interface FormCheckboxGroupValidationError {
|
|
|
422
702
|
export interface FormCheckboxValidationError {
|
|
423
703
|
[key: string]: string;
|
|
424
704
|
}
|
|
705
|
+
/** Nested Select props for the currency selector */
|
|
706
|
+
export interface FormCurrencyCurrencyTypeProp {
|
|
707
|
+
name?: string;
|
|
708
|
+
'aria-describedby'?: string;
|
|
709
|
+
'aria-label'?: string;
|
|
710
|
+
'aria-labelledby'?: string;
|
|
711
|
+
canClear?: boolean;
|
|
712
|
+
defaultSearchQuery?: string;
|
|
713
|
+
defaultValue?: unknown;
|
|
714
|
+
dropdownHeight?: number;
|
|
715
|
+
emptyListPlaceholder?: string | FormCurrencyEmptyListPlaceholder;
|
|
716
|
+
fuseOptions?: FormCurrencyFuseOption;
|
|
717
|
+
isDisabled?: boolean;
|
|
718
|
+
isMenuDefaultOpen?: boolean;
|
|
719
|
+
isPositionFixed?: boolean;
|
|
720
|
+
isReadOnly?: boolean;
|
|
721
|
+
isRequired?: boolean;
|
|
722
|
+
isSearchable?: boolean;
|
|
723
|
+
maxHeight?: string | number;
|
|
724
|
+
placeholder?: string;
|
|
725
|
+
scrollThreshold?: number;
|
|
726
|
+
shouldFocusFirstElement?: boolean;
|
|
727
|
+
shouldShowSearchIcon?: boolean;
|
|
728
|
+
shouldUsePortal?: boolean;
|
|
729
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
730
|
+
value?: unknown;
|
|
731
|
+
}
|
|
732
|
+
export interface FormCurrencyDefaultValue {
|
|
733
|
+
type: string;
|
|
734
|
+
value: string | number;
|
|
735
|
+
}
|
|
736
|
+
export interface FormCurrencyEmptyListPlaceholder {
|
|
737
|
+
onLoading?: string;
|
|
738
|
+
onNoSearchQuery?: string;
|
|
739
|
+
onNoSearchResults?: string;
|
|
740
|
+
}
|
|
741
|
+
/** Fuse.js search options */
|
|
742
|
+
export interface FormCurrencyFuseOption {
|
|
743
|
+
[key: string]: unknown;
|
|
744
|
+
}
|
|
425
745
|
/** Map of rule name to error message */
|
|
426
746
|
export interface FormCurrencyValidationError {
|
|
427
747
|
[key: string]: string;
|
|
428
748
|
}
|
|
749
|
+
export interface FormCurrencyValue {
|
|
750
|
+
type: string;
|
|
751
|
+
value: string | number;
|
|
752
|
+
}
|
|
429
753
|
/** Map of rule name to error message */
|
|
430
754
|
export interface FormDateRangeValidationError {
|
|
431
755
|
[key: string]: string;
|
|
@@ -434,14 +758,34 @@ export interface FormDateRangeValidationError {
|
|
|
434
758
|
export interface FormDateValidationError {
|
|
435
759
|
[key: string]: string;
|
|
436
760
|
}
|
|
761
|
+
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
762
|
+
export interface FormDaySelectorRenderProp {
|
|
763
|
+
[key: string]: FormDaySelectorRenderPropValue;
|
|
764
|
+
}
|
|
765
|
+
export interface FormDaySelectorRenderPropValue {
|
|
766
|
+
isDisabled?: boolean;
|
|
767
|
+
tip?: FormDaySelectorTip;
|
|
768
|
+
}
|
|
769
|
+
export interface FormDaySelectorTip {
|
|
770
|
+
content: string;
|
|
771
|
+
}
|
|
437
772
|
/** Map of rule name to error message */
|
|
438
773
|
export interface FormDaySelectorValidationError {
|
|
439
774
|
[key: string]: string;
|
|
440
775
|
}
|
|
776
|
+
/** Pads input value with character until reaching maxLength */
|
|
777
|
+
export interface FormEmailStringPadding {
|
|
778
|
+
character: string;
|
|
779
|
+
maxLength: number;
|
|
780
|
+
position: 'start' | 'end';
|
|
781
|
+
}
|
|
441
782
|
/** Map of rule name to error message */
|
|
442
783
|
export interface FormEmailValidationError {
|
|
443
784
|
[key: string]: string;
|
|
444
785
|
}
|
|
786
|
+
export interface FormFileAllowCameraCapture {
|
|
787
|
+
quality?: number;
|
|
788
|
+
}
|
|
445
789
|
/** Cropper configuration */
|
|
446
790
|
export interface FormFileCropperConfig {
|
|
447
791
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -453,12 +797,17 @@ export interface FormFileDefaultValue {
|
|
|
453
797
|
name?: string;
|
|
454
798
|
content?: string;
|
|
455
799
|
hasError?: boolean;
|
|
800
|
+
isMultipart?: boolean;
|
|
456
801
|
previewUrl?: string;
|
|
457
802
|
progress?: number;
|
|
803
|
+
size?: number;
|
|
458
804
|
tooltipText?: string;
|
|
459
805
|
type?: string;
|
|
460
806
|
url?: string;
|
|
461
807
|
}
|
|
808
|
+
export interface FormFileDropAllowCameraCapture {
|
|
809
|
+
quality?: number;
|
|
810
|
+
}
|
|
462
811
|
/** Cropper configuration */
|
|
463
812
|
export interface FormFileDropCropperConfig {
|
|
464
813
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -498,12 +847,19 @@ export interface FormFileValue {
|
|
|
498
847
|
name?: string;
|
|
499
848
|
content?: string;
|
|
500
849
|
hasError?: boolean;
|
|
850
|
+
isMultipart?: boolean;
|
|
501
851
|
previewUrl?: string;
|
|
502
852
|
progress?: number;
|
|
853
|
+
size?: number;
|
|
503
854
|
tooltipText?: string;
|
|
504
855
|
type?: string;
|
|
505
856
|
url?: string;
|
|
506
857
|
}
|
|
858
|
+
export interface FormIcon {
|
|
859
|
+
alignment?: 'LEFT' | 'RIGHT';
|
|
860
|
+
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
861
|
+
type: string;
|
|
862
|
+
}
|
|
507
863
|
/** Main input configuration with type and inputProps */
|
|
508
864
|
export interface FormInputGroupInput {
|
|
509
865
|
inputProps: FormInputGroupInputProp;
|
|
@@ -529,10 +885,22 @@ export interface FormInputGroupValidationError {
|
|
|
529
885
|
export interface FormMaskerValidationError {
|
|
530
886
|
[key: string]: string;
|
|
531
887
|
}
|
|
888
|
+
/** Adds padding characters to the input value */
|
|
889
|
+
export interface FormNumberStringPadding {
|
|
890
|
+
character: string;
|
|
891
|
+
maxLength: number;
|
|
892
|
+
position: 'start' | 'end';
|
|
893
|
+
}
|
|
532
894
|
/** Map of rule name to error message */
|
|
533
895
|
export interface FormNumberValidationError {
|
|
534
896
|
[key: string]: string;
|
|
535
897
|
}
|
|
898
|
+
/** Pads input value with character until reaching maxLength */
|
|
899
|
+
export interface FormPasswordStringPadding {
|
|
900
|
+
character: string;
|
|
901
|
+
maxLength: number;
|
|
902
|
+
position: 'start' | 'end';
|
|
903
|
+
}
|
|
536
904
|
/** Map of rule name to error message */
|
|
537
905
|
export interface FormPasswordValidationError {
|
|
538
906
|
[key: string]: string;
|
|
@@ -541,11 +909,55 @@ export interface FormPasswordValidationError {
|
|
|
541
909
|
export interface FormPercentageValidationError {
|
|
542
910
|
[key: string]: string;
|
|
543
911
|
}
|
|
912
|
+
/** Country-code dropdown configuration preserving the serializable CountryCodeProp shape */
|
|
913
|
+
export interface FormPhoneCountryCode {
|
|
914
|
+
name?: string;
|
|
915
|
+
'aria-describedby'?: string;
|
|
916
|
+
'aria-label'?: string;
|
|
917
|
+
'aria-labelledby'?: string;
|
|
918
|
+
canClear?: boolean;
|
|
919
|
+
defaultSearchQuery?: string;
|
|
920
|
+
defaultValue?: string;
|
|
921
|
+
dropdownHeight?: number;
|
|
922
|
+
emptyListPlaceholder?: string | FormPhoneEmptyListPlaceholder;
|
|
923
|
+
fuseOptions?: FormPhoneFuseOption;
|
|
924
|
+
id?: string;
|
|
925
|
+
isDisabled?: boolean;
|
|
926
|
+
isMenuDefaultOpen?: boolean;
|
|
927
|
+
isPositionFixed?: boolean;
|
|
928
|
+
isReadOnly?: boolean;
|
|
929
|
+
isRequired?: boolean;
|
|
930
|
+
maxHeight?: string | number;
|
|
931
|
+
placement?: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
932
|
+
rows?: number;
|
|
933
|
+
scrollThreshold?: number;
|
|
934
|
+
shouldFocusFirstElement?: boolean;
|
|
935
|
+
shouldShowSearchIcon?: boolean;
|
|
936
|
+
shouldUsePortal?: boolean;
|
|
937
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
938
|
+
theme?: 'TRANSPARENT_BORDER' | 'TOP_NAV' | 'INLINE_TRANSPARENT_BORDER' | 'INLINE_TOP_NAV' | 'NO_PADDING_RIGHT_NO_BOX_TRANSPARENT_BORDER' | 'NO_PADDING_RIGHT_NO_BOX_TOP_NAV' | 'NO_PADDING_LEFT_NO_BOX_TRANSPARENT_BORDER' | 'NO_PADDING_LEFT_NO_BOX_TOP_NAV';
|
|
939
|
+
value?: string;
|
|
940
|
+
}
|
|
941
|
+
export interface FormPhoneEmptyListPlaceholder {
|
|
942
|
+
onLoading?: string;
|
|
943
|
+
onNoSearchQuery?: string;
|
|
944
|
+
onNoSearchResults?: string;
|
|
945
|
+
}
|
|
946
|
+
/** Fuse.js search options for the country-code dropdown */
|
|
947
|
+
export interface FormPhoneFuseOption {
|
|
948
|
+
[key: string]: unknown;
|
|
949
|
+
}
|
|
950
|
+
/** Pads input value with character until reaching maxLength */
|
|
951
|
+
export interface FormPhoneStringPadding {
|
|
952
|
+
character: string;
|
|
953
|
+
maxLength: number;
|
|
954
|
+
position: 'start' | 'end';
|
|
955
|
+
}
|
|
544
956
|
/** Map of rule name to error message */
|
|
545
957
|
export interface FormPhoneValidationError {
|
|
546
958
|
[key: string]: string;
|
|
547
959
|
}
|
|
548
|
-
export interface
|
|
960
|
+
export interface FormRadioList {
|
|
549
961
|
isActive?: boolean;
|
|
550
962
|
isDisabled?: boolean;
|
|
551
963
|
label: string;
|
|
@@ -562,7 +974,7 @@ export interface FormRadioTag {
|
|
|
562
974
|
export interface FormRadioValidationError {
|
|
563
975
|
[key: string]: string;
|
|
564
976
|
}
|
|
565
|
-
export interface
|
|
977
|
+
export interface FormSegmentedControlList {
|
|
566
978
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
567
979
|
'aria-label'?: string;
|
|
568
980
|
icon?: string;
|
|
@@ -571,6 +983,11 @@ export interface FormSegmentedControlOption {
|
|
|
571
983
|
tip?: FormSegmentedControlTip;
|
|
572
984
|
value: string;
|
|
573
985
|
}
|
|
986
|
+
/** Labels to display at the start and end of the control range */
|
|
987
|
+
export interface FormSegmentedControlRangeLabel {
|
|
988
|
+
end: string;
|
|
989
|
+
start: string;
|
|
990
|
+
}
|
|
574
991
|
/** Tooltip to show on hover for this option */
|
|
575
992
|
export interface FormSegmentedControlTip {
|
|
576
993
|
content: string;
|
|
@@ -591,7 +1008,16 @@ export interface FormSelectAvatarProp {
|
|
|
591
1008
|
image?: string;
|
|
592
1009
|
title?: string;
|
|
593
1010
|
}
|
|
594
|
-
export interface
|
|
1011
|
+
export interface FormSelectEmptyListPlaceholder {
|
|
1012
|
+
onLoading?: string;
|
|
1013
|
+
onNoSearchQuery?: string;
|
|
1014
|
+
onNoSearchResults?: string;
|
|
1015
|
+
}
|
|
1016
|
+
/** Fuse.js search options for customizing fuzzy search behavior */
|
|
1017
|
+
export interface FormSelectFuseOption {
|
|
1018
|
+
[key: string]: unknown;
|
|
1019
|
+
}
|
|
1020
|
+
export interface FormSelectList {
|
|
595
1021
|
avatarProps?: FormSelectAvatarProp;
|
|
596
1022
|
description?: string;
|
|
597
1023
|
flag?: string;
|
|
@@ -632,6 +1058,7 @@ export interface FormSsnValidationError {
|
|
|
632
1058
|
[key: string]: string;
|
|
633
1059
|
}
|
|
634
1060
|
export interface FormSurveyList {
|
|
1061
|
+
icon?: string;
|
|
635
1062
|
isDisabled?: boolean;
|
|
636
1063
|
label?: string | number;
|
|
637
1064
|
selectionColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
@@ -646,6 +1073,23 @@ export interface FormSurveyRangeLabel {
|
|
|
646
1073
|
export interface FormSurveyValidationError {
|
|
647
1074
|
[key: string]: string;
|
|
648
1075
|
}
|
|
1076
|
+
export interface FormSwitchTip {
|
|
1077
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
1078
|
+
content: string;
|
|
1079
|
+
hideOnDocumentScroll?: boolean;
|
|
1080
|
+
isDelayed?: boolean;
|
|
1081
|
+
isMobileSupported?: boolean;
|
|
1082
|
+
isPositionFixed?: boolean;
|
|
1083
|
+
isVisible?: boolean;
|
|
1084
|
+
maxHeight?: number | string;
|
|
1085
|
+
maxWidth?: number | string;
|
|
1086
|
+
onlyIfChildOverflow?: boolean;
|
|
1087
|
+
onlyIfOverflow?: boolean;
|
|
1088
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
1089
|
+
tipHideDelay?: number;
|
|
1090
|
+
tipShowDelay?: number;
|
|
1091
|
+
title?: string;
|
|
1092
|
+
}
|
|
649
1093
|
/** Map of rule name to error message */
|
|
650
1094
|
export interface FormSwitchValidationError {
|
|
651
1095
|
[key: string]: string;
|
|
@@ -654,18 +1098,38 @@ export interface FormSwitchValidationError {
|
|
|
654
1098
|
export interface FormTextareaValidationError {
|
|
655
1099
|
[key: string]: string;
|
|
656
1100
|
}
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
1101
|
+
/** Fuse.js search options for customizing suggestion filtering */
|
|
1102
|
+
export interface FormTextAutoSuggestFuseOption {
|
|
1103
|
+
[key: string]: unknown;
|
|
1104
|
+
}
|
|
1105
|
+
export interface FormTextAutoSuggestList {
|
|
1106
|
+
isDisabled?: boolean;
|
|
1107
|
+
label?: string;
|
|
1108
|
+
value?: string | number;
|
|
1109
|
+
[key: string]: unknown | boolean | string | string | number | undefined;
|
|
660
1110
|
}
|
|
661
1111
|
/** Map of rule name to error message */
|
|
662
1112
|
export interface FormTextAutoSuggestValidationError {
|
|
663
1113
|
[key: string]: string;
|
|
664
1114
|
}
|
|
1115
|
+
/** Pads input value with character until reaching maxLength */
|
|
1116
|
+
export interface FormTextStringPadding {
|
|
1117
|
+
character: string;
|
|
1118
|
+
maxLength: number;
|
|
1119
|
+
position: 'start' | 'end';
|
|
1120
|
+
}
|
|
665
1121
|
/** Map of rule name to error message */
|
|
666
1122
|
export interface FormTextValidationError {
|
|
667
1123
|
[key: string]: string;
|
|
668
1124
|
}
|
|
1125
|
+
export interface FormTimeShouldAllowTimeSelection {
|
|
1126
|
+
reference?: string;
|
|
1127
|
+
}
|
|
1128
|
+
export interface FormTimeTimezone {
|
|
1129
|
+
name: string;
|
|
1130
|
+
isRequired?: boolean;
|
|
1131
|
+
value?: string;
|
|
1132
|
+
}
|
|
669
1133
|
/** Map of rule name to error message */
|
|
670
1134
|
export interface FormTimeValidationError {
|
|
671
1135
|
[key: string]: string;
|
|
@@ -687,6 +1151,7 @@ export interface FormTreeFuseOption {
|
|
|
687
1151
|
export interface FormTreeList {
|
|
688
1152
|
disabledInfo?: string | FormTreeDisabledInfo;
|
|
689
1153
|
isDisabled?: boolean;
|
|
1154
|
+
isLeaf?: boolean;
|
|
690
1155
|
label: string;
|
|
691
1156
|
parent?: string;
|
|
692
1157
|
secondaryLabel?: string;
|
|
@@ -699,6 +1164,7 @@ export interface FormTreeSelectFuseOption {
|
|
|
699
1164
|
}
|
|
700
1165
|
export interface FormTreeSelectList {
|
|
701
1166
|
isDisabled?: boolean;
|
|
1167
|
+
isLeaf?: boolean;
|
|
702
1168
|
label: string;
|
|
703
1169
|
parent?: string;
|
|
704
1170
|
secondaryLabel?: string;
|
|
@@ -724,6 +1190,16 @@ export interface FormValidationError {
|
|
|
724
1190
|
export interface FormValue {
|
|
725
1191
|
[key: string]: unknown;
|
|
726
1192
|
}
|
|
1193
|
+
export interface FormWorkEmailDomainList {
|
|
1194
|
+
isDisabled?: boolean;
|
|
1195
|
+
label?: string;
|
|
1196
|
+
tag?: string | FormWorkEmailTag;
|
|
1197
|
+
value: string;
|
|
1198
|
+
}
|
|
1199
|
+
export interface FormWorkEmailTag {
|
|
1200
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1201
|
+
text: string;
|
|
1202
|
+
}
|
|
727
1203
|
/** Map of rule name to error message */
|
|
728
1204
|
export interface FormWorkEmailValidationError {
|
|
729
1205
|
[key: string]: string;
|
|
@@ -797,8 +1273,12 @@ export interface IconButtonIcon {
|
|
|
797
1273
|
type: string;
|
|
798
1274
|
}
|
|
799
1275
|
export interface IconButtonTip {
|
|
1276
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
800
1277
|
content: string;
|
|
801
|
-
|
|
1278
|
+
isVisible?: boolean;
|
|
1279
|
+
maxHeight?: number | string;
|
|
1280
|
+
maxWidth?: number | string;
|
|
1281
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
802
1282
|
}
|
|
803
1283
|
export interface IconButtonTo {
|
|
804
1284
|
openInNewTab?: boolean;
|
|
@@ -868,6 +1348,16 @@ export interface LabelTip {
|
|
|
868
1348
|
title?: string;
|
|
869
1349
|
truncateClassName?: string;
|
|
870
1350
|
}
|
|
1351
|
+
/** Label chip displayed next to the title */
|
|
1352
|
+
export interface LabelValue {
|
|
1353
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1354
|
+
children?: string;
|
|
1355
|
+
leftIcon?: string | ObjectUIHeaderLeftIcon;
|
|
1356
|
+
maxWidth?: string;
|
|
1357
|
+
rightIcon?: string | ObjectUIHeaderRightIcon;
|
|
1358
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1359
|
+
tip?: string;
|
|
1360
|
+
}
|
|
871
1361
|
/** Structured border using strict token parts */
|
|
872
1362
|
export interface LayoutBorder {
|
|
873
1363
|
color?: 'colorError' | 'colorOutline' | 'colorOutlineVariant' | 'colorSuccess' | 'colorInfo' | 'colorWarning' | 'colorDisabled' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse' | 'colorDisabledInverse';
|
|
@@ -910,6 +1400,18 @@ export interface LayoutValue {
|
|
|
910
1400
|
x?: number;
|
|
911
1401
|
y?: number;
|
|
912
1402
|
}
|
|
1403
|
+
export interface LinkValue {
|
|
1404
|
+
badge?: TabBadge;
|
|
1405
|
+
title: string;
|
|
1406
|
+
}
|
|
1407
|
+
/** Semantic Lottie load configuration object */
|
|
1408
|
+
export interface LoadConfig {
|
|
1409
|
+
animationData?: AnimationData;
|
|
1410
|
+
autoplay?: boolean;
|
|
1411
|
+
loop?: boolean | number;
|
|
1412
|
+
path?: string;
|
|
1413
|
+
renderer?: 'svg' | 'canvas' | 'html';
|
|
1414
|
+
}
|
|
913
1415
|
/** Location object with nickname and address. Required for displaying location information */
|
|
914
1416
|
export interface Location {
|
|
915
1417
|
address: Addres;
|
|
@@ -950,6 +1452,12 @@ export interface MenuListList {
|
|
|
950
1452
|
export interface Metadata {
|
|
951
1453
|
[key: string]: unknown;
|
|
952
1454
|
}
|
|
1455
|
+
/** Toggle icon configuration */
|
|
1456
|
+
export interface NestedListToggleIcon {
|
|
1457
|
+
align?: string;
|
|
1458
|
+
margin?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
1459
|
+
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
1460
|
+
}
|
|
953
1461
|
export interface NumberArg {
|
|
954
1462
|
[key: string]: unknown;
|
|
955
1463
|
}
|
|
@@ -980,6 +1488,26 @@ export interface ObjectUIHeaderAvatarProp {
|
|
|
980
1488
|
isRound?: boolean;
|
|
981
1489
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
982
1490
|
}
|
|
1491
|
+
export interface ObjectUIHeaderLeftIcon {
|
|
1492
|
+
'aria-describedby'?: string;
|
|
1493
|
+
'aria-label'?: string;
|
|
1494
|
+
'aria-labelledby'?: string;
|
|
1495
|
+
color?: string;
|
|
1496
|
+
type: string;
|
|
1497
|
+
}
|
|
1498
|
+
/** Primary action button. Clicking it emits the primaryAction event */
|
|
1499
|
+
export interface ObjectUIHeaderPrimaryAction {
|
|
1500
|
+
icon?: string;
|
|
1501
|
+
label: string;
|
|
1502
|
+
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1503
|
+
}
|
|
1504
|
+
export interface ObjectUIHeaderRightIcon {
|
|
1505
|
+
'aria-describedby'?: string;
|
|
1506
|
+
'aria-label'?: string;
|
|
1507
|
+
'aria-labelledby'?: string;
|
|
1508
|
+
color?: string;
|
|
1509
|
+
type: string;
|
|
1510
|
+
}
|
|
983
1511
|
export interface ObjectUIStatsAction {
|
|
984
1512
|
'aria-label'?: string;
|
|
985
1513
|
'aria-labelledby'?: string;
|
|
@@ -1076,12 +1604,55 @@ export interface PhoneCheck {
|
|
|
1076
1604
|
message: string;
|
|
1077
1605
|
type: string;
|
|
1078
1606
|
}
|
|
1607
|
+
/** Country-code dropdown configuration preserving the serializable CountryCodeProp shape */
|
|
1608
|
+
export interface PhoneCountryCode {
|
|
1609
|
+
name?: string;
|
|
1610
|
+
'aria-describedby'?: string;
|
|
1611
|
+
'aria-label'?: string;
|
|
1612
|
+
'aria-labelledby'?: string;
|
|
1613
|
+
canClear?: boolean;
|
|
1614
|
+
defaultSearchQuery?: string;
|
|
1615
|
+
defaultValue?: string;
|
|
1616
|
+
dropdownHeight?: number;
|
|
1617
|
+
emptyListPlaceholder?: string | PhoneEmptyListPlaceholder;
|
|
1618
|
+
fuseOptions?: PhoneFuseOption;
|
|
1619
|
+
id?: string;
|
|
1620
|
+
isDisabled?: boolean;
|
|
1621
|
+
isMenuDefaultOpen?: boolean;
|
|
1622
|
+
isPositionFixed?: boolean;
|
|
1623
|
+
isReadOnly?: boolean;
|
|
1624
|
+
isRequired?: boolean;
|
|
1625
|
+
maxHeight?: string | number;
|
|
1626
|
+
placement?: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
1627
|
+
rows?: number;
|
|
1628
|
+
scrollThreshold?: number;
|
|
1629
|
+
shouldFocusFirstElement?: boolean;
|
|
1630
|
+
shouldShowSearchIcon?: boolean;
|
|
1631
|
+
shouldUsePortal?: boolean;
|
|
1632
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1633
|
+
theme?: 'TRANSPARENT_BORDER' | 'TOP_NAV' | 'INLINE_TRANSPARENT_BORDER' | 'INLINE_TOP_NAV' | 'NO_PADDING_RIGHT_NO_BOX_TRANSPARENT_BORDER' | 'NO_PADDING_RIGHT_NO_BOX_TOP_NAV' | 'NO_PADDING_LEFT_NO_BOX_TRANSPARENT_BORDER' | 'NO_PADDING_LEFT_NO_BOX_TOP_NAV';
|
|
1634
|
+
value?: string;
|
|
1635
|
+
}
|
|
1636
|
+
export interface PhoneEmptyListPlaceholder {
|
|
1637
|
+
onLoading?: string;
|
|
1638
|
+
onNoSearchQuery?: string;
|
|
1639
|
+
onNoSearchResults?: string;
|
|
1640
|
+
}
|
|
1641
|
+
/** Fuse.js search options for the country-code dropdown */
|
|
1642
|
+
export interface PhoneFuseOption {
|
|
1643
|
+
[key: string]: unknown;
|
|
1644
|
+
}
|
|
1079
1645
|
/** Pads input value with character until reaching maxLength */
|
|
1080
1646
|
export interface PhoneStringPadding {
|
|
1081
1647
|
character: string;
|
|
1082
1648
|
maxLength: number;
|
|
1083
1649
|
position: 'start' | 'end';
|
|
1084
1650
|
}
|
|
1651
|
+
/** Serializable popover options; middleware functions are not supported */
|
|
1652
|
+
export interface PopperProp {
|
|
1653
|
+
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
1654
|
+
shouldFlipIfNoSpace?: boolean;
|
|
1655
|
+
}
|
|
1085
1656
|
export interface ProgressStepsStep {
|
|
1086
1657
|
hasError?: boolean;
|
|
1087
1658
|
icon?: string;
|
|
@@ -1101,7 +1672,7 @@ export interface RadioCheck {
|
|
|
1101
1672
|
message: string;
|
|
1102
1673
|
type: string;
|
|
1103
1674
|
}
|
|
1104
|
-
export interface
|
|
1675
|
+
export interface RadioList {
|
|
1105
1676
|
isActive?: boolean;
|
|
1106
1677
|
isDisabled?: boolean;
|
|
1107
1678
|
label: string;
|
|
@@ -1126,14 +1697,6 @@ export interface RangeSliderCheck {
|
|
|
1126
1697
|
export interface RangeSliderMark {
|
|
1127
1698
|
[key: string]: string;
|
|
1128
1699
|
}
|
|
1129
|
-
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
1130
|
-
export interface RenderProp {
|
|
1131
|
-
[key: string]: RenderPropValue;
|
|
1132
|
-
}
|
|
1133
|
-
export interface RenderPropValue {
|
|
1134
|
-
isDisabled?: boolean;
|
|
1135
|
-
tip?: DaySelectorTip;
|
|
1136
|
-
}
|
|
1137
1700
|
export interface Role {
|
|
1138
1701
|
fullName?: string;
|
|
1139
1702
|
id?: string;
|
|
@@ -1158,6 +1721,15 @@ export interface SegmentedControlCheck {
|
|
|
1158
1721
|
message: string;
|
|
1159
1722
|
type: string;
|
|
1160
1723
|
}
|
|
1724
|
+
export interface SegmentedControlList {
|
|
1725
|
+
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
1726
|
+
'aria-label'?: string;
|
|
1727
|
+
icon?: string;
|
|
1728
|
+
isDisabled?: boolean;
|
|
1729
|
+
label?: string;
|
|
1730
|
+
tip?: SegmentedControlTip;
|
|
1731
|
+
value: string;
|
|
1732
|
+
}
|
|
1161
1733
|
export interface SegmentedControlOption {
|
|
1162
1734
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
1163
1735
|
'aria-label'?: string;
|
|
@@ -1205,6 +1777,15 @@ export interface SelectCheck {
|
|
|
1205
1777
|
message: string;
|
|
1206
1778
|
type: string;
|
|
1207
1779
|
}
|
|
1780
|
+
/** Bindable selected emoji data written before the change event emits */
|
|
1781
|
+
export interface SelectedEmoji {
|
|
1782
|
+
name: string;
|
|
1783
|
+
id: string;
|
|
1784
|
+
keywords: string[];
|
|
1785
|
+
native: string;
|
|
1786
|
+
shortcodes: string;
|
|
1787
|
+
unified: string;
|
|
1788
|
+
}
|
|
1208
1789
|
export interface SelectEmptyListPlaceholder {
|
|
1209
1790
|
onLoading?: string;
|
|
1210
1791
|
onNoSearchQuery?: string;
|
|
@@ -1219,6 +1800,22 @@ export interface SelectFooter {
|
|
|
1219
1800
|
export interface SelectFuseOption {
|
|
1220
1801
|
[key: string]: unknown;
|
|
1221
1802
|
}
|
|
1803
|
+
export interface SelectList {
|
|
1804
|
+
avatarProps?: SelectAvatarProp;
|
|
1805
|
+
description?: string;
|
|
1806
|
+
flag?: string;
|
|
1807
|
+
isDisabled?: boolean;
|
|
1808
|
+
isRecommended?: boolean;
|
|
1809
|
+
isSeparator?: boolean;
|
|
1810
|
+
label: string;
|
|
1811
|
+
labelIcon?: string;
|
|
1812
|
+
leftIconType?: string;
|
|
1813
|
+
quaternaryLabel?: string;
|
|
1814
|
+
rightLabel?: string;
|
|
1815
|
+
secondaryLabel?: string;
|
|
1816
|
+
tertiaryLabel?: string;
|
|
1817
|
+
value: unknown;
|
|
1818
|
+
}
|
|
1222
1819
|
export interface SelectOption {
|
|
1223
1820
|
avatarProps?: SelectAvatarProp;
|
|
1224
1821
|
description?: string;
|
|
@@ -1264,6 +1861,10 @@ export interface Size {
|
|
|
1264
1861
|
max?: string;
|
|
1265
1862
|
min?: string;
|
|
1266
1863
|
}
|
|
1864
|
+
/** Secondary skip action. Click emits the skip event. */
|
|
1865
|
+
export interface SkipButton {
|
|
1866
|
+
label?: string;
|
|
1867
|
+
}
|
|
1267
1868
|
export interface Slide {
|
|
1268
1869
|
alt?: string;
|
|
1269
1870
|
heading: string;
|
|
@@ -1322,6 +1923,7 @@ export interface StepperStep {
|
|
|
1322
1923
|
}
|
|
1323
1924
|
/** Configuration for the form submit button */
|
|
1324
1925
|
export interface SubmitButtonProp {
|
|
1926
|
+
icon?: string | FormIcon;
|
|
1325
1927
|
isDisabled?: boolean;
|
|
1326
1928
|
isFluid?: boolean;
|
|
1327
1929
|
isLoading?: boolean;
|
|
@@ -1332,6 +1934,11 @@ export interface SupportButtonTo {
|
|
|
1332
1934
|
openInNewTab?: boolean;
|
|
1333
1935
|
path: string;
|
|
1334
1936
|
}
|
|
1937
|
+
export interface SupportLink {
|
|
1938
|
+
href?: string;
|
|
1939
|
+
icon?: string;
|
|
1940
|
+
text?: string;
|
|
1941
|
+
}
|
|
1335
1942
|
export interface SurveyArg {
|
|
1336
1943
|
[key: string]: unknown;
|
|
1337
1944
|
}
|
|
@@ -1341,6 +1948,7 @@ export interface SurveyCheck {
|
|
|
1341
1948
|
type: string;
|
|
1342
1949
|
}
|
|
1343
1950
|
export interface SurveyList {
|
|
1951
|
+
icon?: string;
|
|
1344
1952
|
isDisabled?: boolean;
|
|
1345
1953
|
label?: string | number;
|
|
1346
1954
|
selectionColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
@@ -1359,6 +1967,10 @@ export interface SwitchCheck {
|
|
|
1359
1967
|
message: string;
|
|
1360
1968
|
type: string;
|
|
1361
1969
|
}
|
|
1970
|
+
export interface SwitchTip {
|
|
1971
|
+
content: string;
|
|
1972
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'auto' | 'auto-start' | 'auto-end';
|
|
1973
|
+
}
|
|
1362
1974
|
/** Badge to display on the tab */
|
|
1363
1975
|
export interface TabBadge {
|
|
1364
1976
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
@@ -1366,12 +1978,18 @@ export interface TabBadge {
|
|
|
1366
1978
|
}
|
|
1367
1979
|
export interface TabItem {
|
|
1368
1980
|
badge?: TabBadge;
|
|
1369
|
-
|
|
1981
|
+
href?: string;
|
|
1370
1982
|
icon?: string;
|
|
1371
|
-
|
|
1983
|
+
isDisabled?: boolean;
|
|
1372
1984
|
tip?: string | TabTip;
|
|
1985
|
+
title: string;
|
|
1373
1986
|
value: unknown;
|
|
1374
1987
|
}
|
|
1988
|
+
export interface TabList {
|
|
1989
|
+
badge?: TabBadge;
|
|
1990
|
+
links?: LinkValue[];
|
|
1991
|
+
title: string;
|
|
1992
|
+
}
|
|
1375
1993
|
export interface TabTip {
|
|
1376
1994
|
content: string;
|
|
1377
1995
|
testId?: string;
|
|
@@ -1392,16 +2010,20 @@ export interface TextAutoSuggestCheck {
|
|
|
1392
2010
|
message: string;
|
|
1393
2011
|
type: string;
|
|
1394
2012
|
}
|
|
2013
|
+
/** Fuse.js search options for customizing suggestion filtering */
|
|
2014
|
+
export interface TextAutoSuggestFuseOption {
|
|
2015
|
+
[key: string]: unknown;
|
|
2016
|
+
}
|
|
2017
|
+
export interface TextAutoSuggestList {
|
|
2018
|
+
label: string;
|
|
2019
|
+
value: string | number;
|
|
2020
|
+
}
|
|
1395
2021
|
/** Pads input value with character until reaching maxLength */
|
|
1396
2022
|
export interface TextAutoSuggestStringPadding {
|
|
1397
2023
|
character: string;
|
|
1398
2024
|
maxLength: number;
|
|
1399
2025
|
position: 'start' | 'end';
|
|
1400
2026
|
}
|
|
1401
|
-
export interface TextAutoSuggestSuggestion {
|
|
1402
|
-
label: string;
|
|
1403
|
-
value: string | number;
|
|
1404
|
-
}
|
|
1405
2027
|
export interface TextInputArg {
|
|
1406
2028
|
[key: string]: unknown;
|
|
1407
2029
|
}
|
|
@@ -1436,6 +2058,17 @@ export interface TimeRangeCheck {
|
|
|
1436
2058
|
message: string;
|
|
1437
2059
|
type: string;
|
|
1438
2060
|
}
|
|
2061
|
+
export interface TimeRangeShouldAllowTimeSelection {
|
|
2062
|
+
reference?: string;
|
|
2063
|
+
}
|
|
2064
|
+
export interface TimeShouldAllowTimeSelection {
|
|
2065
|
+
reference?: string;
|
|
2066
|
+
}
|
|
2067
|
+
export interface TimeTimezone {
|
|
2068
|
+
name: string;
|
|
2069
|
+
isRequired?: boolean;
|
|
2070
|
+
value?: string;
|
|
2071
|
+
}
|
|
1439
2072
|
export interface TimezoneArg {
|
|
1440
2073
|
[key: string]: unknown;
|
|
1441
2074
|
}
|
|
@@ -1444,11 +2077,9 @@ export interface TimezoneCheck {
|
|
|
1444
2077
|
message: string;
|
|
1445
2078
|
type: string;
|
|
1446
2079
|
}
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
margin?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
1451
|
-
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
2080
|
+
export interface Title {
|
|
2081
|
+
kind: 'BREADCRUMB';
|
|
2082
|
+
props: DrawerProp;
|
|
1452
2083
|
}
|
|
1453
2084
|
export interface TreeArg {
|
|
1454
2085
|
[key: string]: unknown;
|
|
@@ -1475,6 +2106,7 @@ export interface TreeFuseOption {
|
|
|
1475
2106
|
export interface TreeList {
|
|
1476
2107
|
disabledInfo?: string | TreeDisabledInfo;
|
|
1477
2108
|
isDisabled?: boolean;
|
|
2109
|
+
isLeaf?: boolean;
|
|
1478
2110
|
label: string;
|
|
1479
2111
|
parent?: string;
|
|
1480
2112
|
secondaryLabel?: string;
|
|
@@ -1495,6 +2127,7 @@ export interface TreeSelectFuseOption {
|
|
|
1495
2127
|
}
|
|
1496
2128
|
export interface TreeSelectList {
|
|
1497
2129
|
isDisabled?: boolean;
|
|
2130
|
+
isLeaf?: boolean;
|
|
1498
2131
|
label: string;
|
|
1499
2132
|
parent?: string;
|
|
1500
2133
|
secondaryLabel?: string;
|
|
@@ -1535,20 +2168,25 @@ export interface WorkEmailCheck {
|
|
|
1535
2168
|
message: string;
|
|
1536
2169
|
type: string;
|
|
1537
2170
|
}
|
|
2171
|
+
export interface WorkEmailDomainList {
|
|
2172
|
+
isDisabled?: boolean;
|
|
2173
|
+
label?: string;
|
|
2174
|
+
tag?: string | WorkEmailTag;
|
|
2175
|
+
value: string;
|
|
2176
|
+
}
|
|
2177
|
+
export interface WorkEmailTag {
|
|
2178
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
2179
|
+
text: string;
|
|
2180
|
+
}
|
|
1538
2181
|
export interface ActionCardProps {
|
|
1539
2182
|
alignment?: 'LEFT' | 'CENTER' | 'RIGHT';
|
|
1540
2183
|
animation?: 'ADD' | 'AIRPLANE' | 'BAR_CHART_DECREASE' | 'BAR_CHART_INCREASE' | 'BRAIN' | 'BRAIN_AI' | 'CALENDAR' | 'CHECK_MARK' | 'CLOCK' | 'COINS_USD' | 'CREDIT_CARD' | 'DOCUMENT' | 'ENTERPRISE' | 'EXCLAMATION_MARK' | 'FOLDERS' | 'GEAR' | 'GEAR_HEART' | 'GEAR_PLAY' | 'GLOBE' | 'GRAD_CAP' | 'HANDSHAKE' | 'HEART' | 'INTEGRATION' | 'INVENTORY_MANAGEMENT' | 'LAPTOP' | 'LAPTOP_DEV' | 'LIGHTNING_BOLT' | 'LOCK' | 'LOCK_UNLOCKED' | 'MAGNIFYING_GLASS' | 'MAGNIFYING_GLASS_QUESTION_MARK' | 'NO_WIFI' | 'OFFBOARDING' | 'ONBOARDING' | 'PAYROLL_EURO' | 'PAYROLL_RUPEE' | 'PAYROLL_USD' | 'PAYROLL_YEN' | 'QUESTION_MARK' | 'RECEIPT' | 'REFRESH' | 'SHIELD_CHECK' | 'SPEECH_BUBBLE' | 'THIRD_PARTY' | 'TRAIN' | 'UNIFIED_SYSTEM' | 'X';
|
|
1541
|
-
caption: string;
|
|
2184
|
+
caption: string | number;
|
|
1542
2185
|
icon?: string;
|
|
1543
2186
|
iconColor?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
primaryActionTo?: string | ActionCardPrimaryActionTo;
|
|
1548
|
-
secondaryActionIcon?: string;
|
|
1549
|
-
secondaryActionIsDisabled?: boolean;
|
|
1550
|
-
secondaryActionTitle?: string;
|
|
1551
|
-
secondaryActionTo?: string | ActionCardSecondaryActionTo;
|
|
2187
|
+
padding?: ActionCardPadding;
|
|
2188
|
+
primaryAction?: ActionCardPrimaryAction;
|
|
2189
|
+
secondaryAction?: ActionCardSecondaryAction;
|
|
1552
2190
|
shouldShowAsset?: boolean;
|
|
1553
2191
|
title?: string;
|
|
1554
2192
|
}
|
|
@@ -1556,24 +2194,15 @@ export interface AiIconProps {
|
|
|
1556
2194
|
'aria-label'?: string;
|
|
1557
2195
|
showText?: boolean;
|
|
1558
2196
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1559
|
-
testId?: string;
|
|
1560
2197
|
}
|
|
1561
2198
|
export interface AlertProps {
|
|
1562
|
-
|
|
2199
|
+
description?: string;
|
|
2200
|
+
isCloseable?: boolean;
|
|
1563
2201
|
isFluid?: boolean;
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
primaryActionIsDisabled?: boolean;
|
|
1567
|
-
primaryActionShouldShowSpinner?: boolean;
|
|
1568
|
-
primaryActionTitle?: string;
|
|
1569
|
-
primaryActionTo?: string | AlertPrimaryActionTo;
|
|
1570
|
-
secondaryActionIcon?: string;
|
|
1571
|
-
secondaryActionIsDisabled?: boolean;
|
|
1572
|
-
secondaryActionShouldShowSpinner?: boolean;
|
|
1573
|
-
secondaryActionTitle?: string;
|
|
1574
|
-
secondaryActionTo?: string | AlertSecondaryActionTo;
|
|
2202
|
+
primaryAction?: AlertPrimaryAction;
|
|
2203
|
+
secondaryAction?: AlertSecondaryAction;
|
|
1575
2204
|
title?: string;
|
|
1576
|
-
type?: '
|
|
2205
|
+
type?: 'Info' | 'Success' | 'Warning' | 'Error' | 'Neutral';
|
|
1577
2206
|
}
|
|
1578
2207
|
export interface AnimationProps {
|
|
1579
2208
|
type: 'ADD' | 'AIRPLANE' | 'BAR_CHART_DECREASE' | 'BAR_CHART_INCREASE' | 'BRAIN' | 'BRAIN_AI' | 'CALENDAR' | 'CHECK_MARK' | 'CLOCK' | 'COINS_USD' | 'CREDIT_CARD' | 'DOCUMENT' | 'ENTERPRISE' | 'EXCLAMATION_MARK' | 'FOLDERS' | 'GEAR' | 'GEAR_HEART' | 'GEAR_PLAY' | 'GLOBE' | 'GRAD_CAP' | 'HANDSHAKE' | 'HEART' | 'INTEGRATION' | 'INVENTORY_MANAGEMENT' | 'LAPTOP' | 'LAPTOP_DEV' | 'LIGHTNING_BOLT' | 'LOCK' | 'LOCK_UNLOCKED' | 'MAGNIFYING_GLASS' | 'MAGNIFYING_GLASS_QUESTION_MARK' | 'NO_WIFI' | 'OFFBOARDING' | 'ONBOARDING' | 'PAYROLL_EURO' | 'PAYROLL_RUPEE' | 'PAYROLL_USD' | 'PAYROLL_YEN' | 'QUESTION_MARK' | 'RECEIPT' | 'REFRESH' | 'SHIELD_CHECK' | 'SPEECH_BUBBLE' | 'THIRD_PARTY' | 'TRAIN' | 'UNIFIED_SYSTEM' | 'X';
|
|
@@ -1607,9 +2236,9 @@ export interface AppGroupSelectProps {
|
|
|
1607
2236
|
isRequired?: boolean;
|
|
1608
2237
|
isSearchable?: boolean;
|
|
1609
2238
|
label?: string;
|
|
2239
|
+
list?: AppGroupSelectList | AppGroupSelectList[];
|
|
1610
2240
|
maxHeight?: string | number;
|
|
1611
2241
|
maxTruncationLines?: number;
|
|
1612
|
-
options?: AppGroupSelectOption | AppGroupSelectOption[];
|
|
1613
2242
|
placeholder?: string;
|
|
1614
2243
|
placement?: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
1615
2244
|
rows?: number;
|
|
@@ -1647,17 +2276,16 @@ export interface AvatarProps {
|
|
|
1647
2276
|
'aria-label'?: string;
|
|
1648
2277
|
'aria-labelledby'?: string;
|
|
1649
2278
|
'aria-role'?: string;
|
|
1650
|
-
|
|
1651
|
-
badgeChar?: string;
|
|
2279
|
+
badge?: AvatarBadge;
|
|
1652
2280
|
caption?: string;
|
|
1653
2281
|
flagCountryCode?: string;
|
|
1654
|
-
flagSurfaceColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
1655
2282
|
icon?: string | AvatarIcon;
|
|
1656
2283
|
image?: string;
|
|
1657
2284
|
imageBackground?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
1658
2285
|
isCompact?: boolean;
|
|
1659
2286
|
isRounded?: boolean;
|
|
1660
|
-
size?:
|
|
2287
|
+
size?: 24 | 32 | 40 | 56 | 64;
|
|
2288
|
+
surfaceColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
1661
2289
|
tip?: AvatarTip;
|
|
1662
2290
|
title?: string;
|
|
1663
2291
|
to?: string | AvatarTo;
|
|
@@ -1665,20 +2293,22 @@ export interface AvatarProps {
|
|
|
1665
2293
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1666
2294
|
}
|
|
1667
2295
|
export interface AvatarListProps {
|
|
2296
|
+
'aria-describedby'?: string;
|
|
2297
|
+
'aria-label'?: string;
|
|
2298
|
+
'aria-labelledby'?: string;
|
|
1668
2299
|
isRounded?: boolean;
|
|
1669
2300
|
limit?: number;
|
|
1670
2301
|
modalTitle?: string;
|
|
1671
2302
|
roles?: Role[];
|
|
1672
|
-
size?:
|
|
2303
|
+
size?: 24 | 32 | 40 | 56 | 64;
|
|
1673
2304
|
totalCount?: number;
|
|
1674
2305
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1675
2306
|
}
|
|
1676
2307
|
export interface BadgeProps {
|
|
1677
2308
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
size?: '
|
|
1681
|
-
testId?: string;
|
|
2309
|
+
'aria-hidden'?: boolean;
|
|
2310
|
+
'aria-label'?: string;
|
|
2311
|
+
size?: 'EXTRA_SMALL' | 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1682
2312
|
text: string;
|
|
1683
2313
|
tip?: BadgeTip;
|
|
1684
2314
|
}
|
|
@@ -1723,6 +2353,9 @@ export interface BrandBadgeProps {
|
|
|
1723
2353
|
}
|
|
1724
2354
|
export interface BreadcrumbProps {
|
|
1725
2355
|
active?: string;
|
|
2356
|
+
'aria-describedby'?: string;
|
|
2357
|
+
'aria-label'?: string;
|
|
2358
|
+
'aria-labelledby'?: string;
|
|
1726
2359
|
items: BreadcrumbItem[];
|
|
1727
2360
|
noMargin?: boolean;
|
|
1728
2361
|
shouldCollapseMiddle?: boolean;
|
|
@@ -1747,7 +2380,6 @@ export interface ButtonProps {
|
|
|
1747
2380
|
shouldShowSpinner?: boolean;
|
|
1748
2381
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1749
2382
|
tabIndex?: number;
|
|
1750
|
-
testId?: string;
|
|
1751
2383
|
tip?: string | ButtonTip;
|
|
1752
2384
|
to?: string | ButtonTo;
|
|
1753
2385
|
type?: 'button' | 'reset' | 'submit';
|
|
@@ -1761,15 +2393,17 @@ export interface ButtonGroupProps {
|
|
|
1761
2393
|
placement?: 'horizontallyLeft' | 'horizontallyCenter' | 'horizontallyRight' | 'horizontallySpaceBetween' | 'verticallyTop' | 'verticallyCenter' | 'verticallyBottom' | 'verticallySpaceBetween';
|
|
1762
2394
|
}
|
|
1763
2395
|
export interface CalendarProps {
|
|
2396
|
+
displayDate?: string;
|
|
1764
2397
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
1765
2398
|
isDisabled?: boolean;
|
|
1766
2399
|
isLarge?: boolean;
|
|
2400
|
+
locale?: string;
|
|
1767
2401
|
maxDate?: string;
|
|
1768
2402
|
minDate?: string;
|
|
1769
2403
|
shouldShowFooter?: boolean;
|
|
1770
2404
|
shouldShowHeader?: boolean | ShouldShowHeader;
|
|
1771
2405
|
shouldShowWeekDayInitials?: boolean;
|
|
1772
|
-
|
|
2406
|
+
showMonthYearPicker?: boolean;
|
|
1773
2407
|
value?: string | string[];
|
|
1774
2408
|
}
|
|
1775
2409
|
export interface CardProps {
|
|
@@ -1779,9 +2413,11 @@ export interface CardProps {
|
|
|
1779
2413
|
isAddCard?: boolean;
|
|
1780
2414
|
isDisabled?: boolean;
|
|
1781
2415
|
minCardHeight?: number;
|
|
2416
|
+
padding?: 0 | 8 | 16 | 24 | 32 | string;
|
|
1782
2417
|
selectedActionId?: string;
|
|
1783
2418
|
showDelete?: boolean;
|
|
1784
2419
|
showEdit?: boolean;
|
|
2420
|
+
theme?: 'DEFAULT' | 'SELECTABLE';
|
|
1785
2421
|
title?: string;
|
|
1786
2422
|
to?: string | CardTo;
|
|
1787
2423
|
value?: unknown;
|
|
@@ -1827,7 +2463,7 @@ export interface CheckboxGroupProps {
|
|
|
1827
2463
|
isReadOnly?: boolean;
|
|
1828
2464
|
isRequired?: boolean;
|
|
1829
2465
|
label?: string;
|
|
1830
|
-
|
|
2466
|
+
list?: CheckboxGroupList[];
|
|
1831
2467
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
1832
2468
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1833
2469
|
value?: unknown[];
|
|
@@ -1855,11 +2491,11 @@ export interface ChipProps {
|
|
|
1855
2491
|
avatar?: string | ChipAvatar;
|
|
1856
2492
|
icon?: string | ChipIcon;
|
|
1857
2493
|
isActive?: boolean;
|
|
2494
|
+
isCloseable?: boolean;
|
|
1858
2495
|
isDisabled?: boolean;
|
|
1859
|
-
isDismissible?: boolean;
|
|
1860
2496
|
isFluid?: boolean;
|
|
1861
2497
|
maxWidth?: number;
|
|
1862
|
-
size?: '
|
|
2498
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1863
2499
|
text?: string;
|
|
1864
2500
|
tip?: ChipTip;
|
|
1865
2501
|
to?: string | ChipTo;
|
|
@@ -1868,8 +2504,8 @@ export interface ChipGroupProps {
|
|
|
1868
2504
|
batchSize?: number;
|
|
1869
2505
|
gap?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
1870
2506
|
maxLinesToWrap?: number;
|
|
2507
|
+
overflowModalIsOpen?: boolean;
|
|
1871
2508
|
overflowModalTitle?: string;
|
|
1872
|
-
testId?: string;
|
|
1873
2509
|
}
|
|
1874
2510
|
export interface CircleProps {
|
|
1875
2511
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
@@ -1917,7 +2553,7 @@ export interface CountryProps {
|
|
|
1917
2553
|
onlyFlag?: boolean;
|
|
1918
2554
|
shouldShowFlag?: boolean;
|
|
1919
2555
|
shouldShowTipOnOverflow?: boolean;
|
|
1920
|
-
size?: '
|
|
2556
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1921
2557
|
}
|
|
1922
2558
|
export interface CurrencyProps {
|
|
1923
2559
|
name?: string;
|
|
@@ -1929,10 +2565,9 @@ export interface CurrencyProps {
|
|
|
1929
2565
|
autoFocus?: boolean;
|
|
1930
2566
|
canSelectCurrencyType?: boolean;
|
|
1931
2567
|
checks?: CurrencyCheck[];
|
|
1932
|
-
|
|
1933
|
-
currencyTypeDefaultValue?: string;
|
|
2568
|
+
currencyTypeProps?: CurrencyCurrencyTypeProp;
|
|
1934
2569
|
decimalPlaces?: number;
|
|
1935
|
-
defaultValue?: string | number;
|
|
2570
|
+
defaultValue?: string | number | CurrencyDefaultValue;
|
|
1936
2571
|
isDisabled?: boolean;
|
|
1937
2572
|
isIntegerOnly?: boolean;
|
|
1938
2573
|
isReadOnly?: boolean;
|
|
@@ -1949,10 +2584,11 @@ export interface CurrencyProps {
|
|
|
1949
2584
|
shouldAllowCalculation?: boolean;
|
|
1950
2585
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
1951
2586
|
shouldLocalize?: boolean;
|
|
2587
|
+
shouldSendCurrencyType?: boolean;
|
|
1952
2588
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1953
2589
|
step?: number;
|
|
1954
2590
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1955
|
-
value?: string | number;
|
|
2591
|
+
value?: string | number | CurrencyValue;
|
|
1956
2592
|
}
|
|
1957
2593
|
export interface DateProps {
|
|
1958
2594
|
name?: string;
|
|
@@ -1962,6 +2598,7 @@ export interface DateProps {
|
|
|
1962
2598
|
'aria-labelledby'?: string;
|
|
1963
2599
|
canClear?: boolean;
|
|
1964
2600
|
checks?: DateCheck[];
|
|
2601
|
+
defaultValue?: string;
|
|
1965
2602
|
divider?: string;
|
|
1966
2603
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
1967
2604
|
hideStepper?: boolean;
|
|
@@ -1982,6 +2619,7 @@ export interface DateProps {
|
|
|
1982
2619
|
shouldShowTime?: boolean;
|
|
1983
2620
|
shouldShowTimezoneLabel?: boolean;
|
|
1984
2621
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2622
|
+
theme?: 'NO_BOX';
|
|
1985
2623
|
timeProps?: TimeProp;
|
|
1986
2624
|
timezone?: string;
|
|
1987
2625
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
@@ -1990,6 +2628,7 @@ export interface DateProps {
|
|
|
1990
2628
|
export interface DateInlineMultiProps {
|
|
1991
2629
|
name?: string;
|
|
1992
2630
|
checks?: DateInlineMultiCheck[];
|
|
2631
|
+
defaultValue?: string[];
|
|
1993
2632
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
1994
2633
|
isDisabled?: boolean;
|
|
1995
2634
|
isReadOnly?: boolean;
|
|
@@ -2009,10 +2648,12 @@ export interface DateRangeProps {
|
|
|
2009
2648
|
'aria-labelledby'?: string;
|
|
2010
2649
|
canClear?: boolean;
|
|
2011
2650
|
checks?: DateRangeCheck[];
|
|
2651
|
+
defaultValue?: string[];
|
|
2012
2652
|
divider?: string;
|
|
2013
2653
|
endDateLabel?: string;
|
|
2014
2654
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
2015
2655
|
hideStepper?: boolean;
|
|
2656
|
+
id?: string;
|
|
2016
2657
|
isCalendarDefaultOpen?: boolean;
|
|
2017
2658
|
isDisabled?: boolean;
|
|
2018
2659
|
isLarge?: boolean;
|
|
@@ -2029,6 +2670,7 @@ export interface DateRangeProps {
|
|
|
2029
2670
|
shouldShowTimezoneLabel?: boolean;
|
|
2030
2671
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2031
2672
|
startDateLabel?: string;
|
|
2673
|
+
theme?: 'NO_BOX';
|
|
2032
2674
|
timezone?: string;
|
|
2033
2675
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2034
2676
|
value?: string[];
|
|
@@ -2041,7 +2683,7 @@ export interface DaySelectorProps {
|
|
|
2041
2683
|
isReadOnly?: boolean;
|
|
2042
2684
|
isRequired?: boolean;
|
|
2043
2685
|
label?: string;
|
|
2044
|
-
renderProps?:
|
|
2686
|
+
renderProps?: DaySelectorRenderProp;
|
|
2045
2687
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2046
2688
|
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
2047
2689
|
}
|
|
@@ -2065,6 +2707,7 @@ export interface DraggableListProps {
|
|
|
2065
2707
|
limitDragToDragIcon?: boolean;
|
|
2066
2708
|
list: DraggableListList[];
|
|
2067
2709
|
showDragIcon?: boolean;
|
|
2710
|
+
tip?: DraggableListTip;
|
|
2068
2711
|
width?: string;
|
|
2069
2712
|
}
|
|
2070
2713
|
export interface DrawerProps {
|
|
@@ -2077,21 +2720,23 @@ export interface DrawerProps {
|
|
|
2077
2720
|
shouldCloseOnEscape?: boolean;
|
|
2078
2721
|
shouldNotAnimate?: boolean;
|
|
2079
2722
|
theme?: 'BACKGROUND_V2_GRAY' | 'GRAY' | 'NO_PADDING';
|
|
2080
|
-
title?: string;
|
|
2723
|
+
title?: string | Title;
|
|
2081
2724
|
width?: string | number;
|
|
2082
2725
|
}
|
|
2083
2726
|
export interface DropdownProps {
|
|
2084
|
-
defaultValue?:
|
|
2727
|
+
defaultValue?: unknown;
|
|
2728
|
+
dropdownIsOpen?: boolean;
|
|
2729
|
+
footer?: DropdownFooter;
|
|
2085
2730
|
isCompact?: boolean;
|
|
2086
2731
|
isDisabled?: boolean;
|
|
2087
|
-
list: DropdownList2[];
|
|
2732
|
+
list: DropdownList2 | DropdownList2 | DropdownList2[];
|
|
2088
2733
|
maxHeight?: number;
|
|
2089
2734
|
placement?: 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'left-start' | 'left' | 'left-end' | 'right-start' | 'right' | 'right-end';
|
|
2090
2735
|
searchable?: boolean;
|
|
2091
2736
|
shouldAutoClose?: boolean;
|
|
2092
2737
|
shouldCloseOnScroll?: boolean;
|
|
2093
2738
|
triggerLabel: string;
|
|
2094
|
-
value?:
|
|
2739
|
+
value?: unknown;
|
|
2095
2740
|
width?: number;
|
|
2096
2741
|
}
|
|
2097
2742
|
export interface EmailProps {
|
|
@@ -2124,8 +2769,8 @@ export interface EmailProps {
|
|
|
2124
2769
|
shrinkToValue?: boolean;
|
|
2125
2770
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2126
2771
|
spellCheck?: boolean;
|
|
2772
|
+
stringPadding?: EmailStringPadding;
|
|
2127
2773
|
suffix?: string;
|
|
2128
|
-
testId?: string;
|
|
2129
2774
|
theme?: string;
|
|
2130
2775
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2131
2776
|
value?: string;
|
|
@@ -2133,14 +2778,33 @@ export interface EmailProps {
|
|
|
2133
2778
|
export interface EmojiPickerProps {
|
|
2134
2779
|
autoFocus?: boolean;
|
|
2135
2780
|
categories?: 'frequent' | 'people' | 'nature' | 'foods' | 'activity' | 'places' | 'objects' | 'symbols' | 'flags'[];
|
|
2781
|
+
excludeIds?: string[];
|
|
2136
2782
|
fluid?: boolean;
|
|
2137
2783
|
height?: string;
|
|
2138
2784
|
inline?: boolean;
|
|
2139
2785
|
minHeight?: string;
|
|
2140
2786
|
minWidth?: string;
|
|
2141
|
-
|
|
2787
|
+
popperProps?: PopperProp;
|
|
2788
|
+
preventCloseOnSelect?: boolean;
|
|
2789
|
+
selectedEmoji?: SelectedEmoji;
|
|
2790
|
+
triggerIcon?: string;
|
|
2142
2791
|
width?: string;
|
|
2143
2792
|
}
|
|
2793
|
+
export interface EmployeeSearchProps {
|
|
2794
|
+
canClear?: boolean;
|
|
2795
|
+
defaultValue?: string | string[];
|
|
2796
|
+
isDisabled?: boolean;
|
|
2797
|
+
isMulti?: boolean;
|
|
2798
|
+
isReadOnly?: boolean;
|
|
2799
|
+
isRequired?: boolean;
|
|
2800
|
+
label?: string;
|
|
2801
|
+
placeholder?: string;
|
|
2802
|
+
roleIdsToExclude?: string[];
|
|
2803
|
+
roleIdsToInclude?: string[];
|
|
2804
|
+
roleTypes?: 'ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | 'TERMINATED'[];
|
|
2805
|
+
tip?: string;
|
|
2806
|
+
value?: string | string[];
|
|
2807
|
+
}
|
|
2144
2808
|
export interface ExpansionPanelProps {
|
|
2145
2809
|
depth?: number;
|
|
2146
2810
|
horizontalCollapsedArrow?: boolean;
|
|
@@ -2153,6 +2817,7 @@ export interface ExpansionPanelProps {
|
|
|
2153
2817
|
shouldNotUnmountChild?: boolean;
|
|
2154
2818
|
theme?: 'COMPACT' | 'NO_PADDING' | 'REVERSED' | 'UNDERLINED' | 'LIST' | 'NO_TOGGLE' | 'NESTEDTAB_PADDING' | 'HOVERBALE' | 'TRANSPARENT' | 'NESTEDTAB_PADDING_TRANSPARENT' | 'NO_PADDING_TRANSPARENT' | 'NO_PADDING_UNDERLINED' | 'NO_PADDING_REVERSED' | 'REVERSED_TRANSPARENT_LIST' | 'REVERSED_UNDERLINED_LIST' | 'REVERSED_TRANSPARENT_LIST_NO_TOGGLE' | 'REVERSED_UNDERLINED_LIST_NO_TOGGLE' | 'LIST_NO_TOGGLE_REVERSED' | 'NO_TOGGLE_TRANSPARENT' | 'SURFACE_BACKGROUND';
|
|
2155
2819
|
title: string;
|
|
2820
|
+
toggleIcon?: ExpansionPanelToggleIcon;
|
|
2156
2821
|
}
|
|
2157
2822
|
export interface ExpansionPanelGroupProps {
|
|
2158
2823
|
isSingleOpen?: boolean;
|
|
@@ -2169,6 +2834,11 @@ export interface FieldProps {
|
|
|
2169
2834
|
}
|
|
2170
2835
|
export interface FileProps {
|
|
2171
2836
|
name?: string;
|
|
2837
|
+
allowCameraCapture?: boolean | FileAllowCameraCapture;
|
|
2838
|
+
clickedFile?: ClickedFile;
|
|
2839
|
+
cropperConfig?: FileCropperConfig;
|
|
2840
|
+
defaultValue?: FileDefaultValue[];
|
|
2841
|
+
icon?: string;
|
|
2172
2842
|
isDisabled?: boolean;
|
|
2173
2843
|
isInvalid?: boolean;
|
|
2174
2844
|
isReadOnly?: boolean;
|
|
@@ -2180,10 +2850,11 @@ export interface FileProps {
|
|
|
2180
2850
|
showProgress?: boolean;
|
|
2181
2851
|
supportTypes?: string[];
|
|
2182
2852
|
type?: 'DEFAULT' | 'RECEIPT';
|
|
2853
|
+
value?: FileValue[];
|
|
2183
2854
|
}
|
|
2184
2855
|
export interface FileDropProps {
|
|
2185
2856
|
name?: string;
|
|
2186
|
-
allowCameraCapture?: boolean;
|
|
2857
|
+
allowCameraCapture?: boolean | FileDropAllowCameraCapture;
|
|
2187
2858
|
'aria-describedby'?: string;
|
|
2188
2859
|
'aria-label'?: string;
|
|
2189
2860
|
'aria-labelledby'?: string;
|
|
@@ -2199,10 +2870,12 @@ export interface FileDropProps {
|
|
|
2199
2870
|
label?: string;
|
|
2200
2871
|
maxFileSize?: number;
|
|
2201
2872
|
maxTotalFileSize?: number;
|
|
2873
|
+
metadata?: unknown;
|
|
2874
|
+
module?: string;
|
|
2202
2875
|
multiPartUpload?: boolean;
|
|
2203
2876
|
multiple?: boolean;
|
|
2204
2877
|
placeholder?: string;
|
|
2205
|
-
supportTypes?:
|
|
2878
|
+
supportTypes?: string[];
|
|
2206
2879
|
type?: 'upload' | 'content';
|
|
2207
2880
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2208
2881
|
value?: FileDropValue[];
|
|
@@ -2223,7 +2896,6 @@ export interface FloatingButtonProps {
|
|
|
2223
2896
|
shouldShowSpinner?: boolean;
|
|
2224
2897
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2225
2898
|
tabIndex?: number;
|
|
2226
|
-
testId?: string;
|
|
2227
2899
|
tip?: string | FloatingButtonTip;
|
|
2228
2900
|
to?: string | FloatingButtonTo;
|
|
2229
2901
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -2231,7 +2903,7 @@ export interface FloatingButtonProps {
|
|
|
2231
2903
|
export interface FormProps {
|
|
2232
2904
|
bottomPadding?: boolean;
|
|
2233
2905
|
caption?: string;
|
|
2234
|
-
editButton?: boolean;
|
|
2906
|
+
editButton?: boolean | EditButton;
|
|
2235
2907
|
inlineLabel?: boolean;
|
|
2236
2908
|
isDefaultEdit?: boolean;
|
|
2237
2909
|
isDisabled?: boolean;
|
|
@@ -2245,6 +2917,8 @@ export interface FormProps {
|
|
|
2245
2917
|
shouldStopFormPropagation?: boolean;
|
|
2246
2918
|
shouldTriggerChangeOnInputUnmount?: boolean;
|
|
2247
2919
|
shouldTrimOnSubmit?: boolean;
|
|
2920
|
+
skipButton?: SkipButton;
|
|
2921
|
+
submitButtonLabel?: string;
|
|
2248
2922
|
submitButtonProps?: SubmitButtonProp;
|
|
2249
2923
|
successMessage?: string;
|
|
2250
2924
|
theme?: 'NO_CARD' | 'NO_MARGIN_Y' | 'V2';
|
|
@@ -2257,12 +2931,15 @@ export interface FormCheckboxProps {
|
|
|
2257
2931
|
name: string;
|
|
2258
2932
|
defaultValue?: boolean;
|
|
2259
2933
|
isDisabled?: boolean;
|
|
2934
|
+
isIndeterminate?: boolean;
|
|
2260
2935
|
isReadOnly?: boolean;
|
|
2261
2936
|
isRequired?: boolean;
|
|
2262
2937
|
label?: string;
|
|
2263
2938
|
secondaryLabel?: string;
|
|
2939
|
+
shouldPreventFocus?: boolean;
|
|
2264
2940
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2265
2941
|
tip?: string;
|
|
2942
|
+
title?: string;
|
|
2266
2943
|
validationErrors?: FormCheckboxValidationError;
|
|
2267
2944
|
validations?: string;
|
|
2268
2945
|
value?: boolean;
|
|
@@ -2271,12 +2948,13 @@ export interface FormCheckboxProps {
|
|
|
2271
2948
|
export interface FormCheckboxGroupProps {
|
|
2272
2949
|
name: string;
|
|
2273
2950
|
defaultValue?: unknown[];
|
|
2951
|
+
id?: string;
|
|
2274
2952
|
isDisabled?: boolean;
|
|
2275
2953
|
isHorizontal?: boolean;
|
|
2276
2954
|
isReadOnly?: boolean;
|
|
2277
2955
|
isRequired?: boolean;
|
|
2278
2956
|
label?: string;
|
|
2279
|
-
|
|
2957
|
+
list: FormCheckboxGroupList[];
|
|
2280
2958
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2281
2959
|
validationErrors?: FormCheckboxGroupValidationError;
|
|
2282
2960
|
validations?: string;
|
|
@@ -2289,22 +2967,28 @@ export interface FormContentProps {
|
|
|
2289
2967
|
export interface FormCurrencyProps {
|
|
2290
2968
|
name: string;
|
|
2291
2969
|
allowNegative?: boolean;
|
|
2970
|
+
canSelectCurrencyType?: boolean;
|
|
2971
|
+
currencyTypeProps?: FormCurrencyCurrencyTypeProp;
|
|
2292
2972
|
decimalPlaces?: number;
|
|
2293
|
-
defaultValue?: number;
|
|
2973
|
+
defaultValue?: string | number | FormCurrencyDefaultValue;
|
|
2294
2974
|
isDisabled?: boolean;
|
|
2295
2975
|
isReadOnly?: boolean;
|
|
2296
2976
|
isRequired?: boolean;
|
|
2297
2977
|
label?: string;
|
|
2978
|
+
locale?: string;
|
|
2979
|
+
placeholder?: string;
|
|
2298
2980
|
prefix?: string;
|
|
2981
|
+
shouldSendCurrencyType?: boolean;
|
|
2299
2982
|
validationErrors?: FormCurrencyValidationError;
|
|
2300
2983
|
validations?: string;
|
|
2301
|
-
value?:
|
|
2984
|
+
value?: string | number | FormCurrencyValue;
|
|
2302
2985
|
}
|
|
2303
2986
|
export interface FormDateProps {
|
|
2304
2987
|
name: string;
|
|
2305
2988
|
canClear?: boolean;
|
|
2306
2989
|
defaultValue?: string;
|
|
2307
2990
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
2991
|
+
id?: string;
|
|
2308
2992
|
isDisabled?: boolean;
|
|
2309
2993
|
isReadOnly?: boolean;
|
|
2310
2994
|
isRequired?: boolean;
|
|
@@ -2312,8 +2996,10 @@ export interface FormDateProps {
|
|
|
2312
2996
|
locale?: string;
|
|
2313
2997
|
maxDate?: string;
|
|
2314
2998
|
minDate?: string;
|
|
2999
|
+
shouldLocalize?: boolean;
|
|
2315
3000
|
shouldShowTime?: boolean;
|
|
2316
3001
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3002
|
+
theme?: 'NO_BOX';
|
|
2317
3003
|
timezone?: string;
|
|
2318
3004
|
tip?: string;
|
|
2319
3005
|
validationErrors?: FormDateValidationError;
|
|
@@ -2329,6 +3015,7 @@ export interface FormDateRangeProps {
|
|
|
2329
3015
|
endDateLabel?: string;
|
|
2330
3016
|
format?: 'yyyy/MM/dd' | 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd hh:mm a' | 'yyyy-MM-dd hh:mm a' | 'MM/dd/yyyy hh:mm a' | 'dd/MM/yyyy hh:mm a' | 'yyyy/MM/dd hh:mm:ss a' | 'yyyy-MM-dd hh:mm:ss a' | 'MM/dd/yyyy hh:mm:ss a' | 'dd/MM/yyyy hh:mm:ss a' | 'ISO_STRING';
|
|
2331
3017
|
hideStepper?: boolean;
|
|
3018
|
+
id?: string;
|
|
2332
3019
|
isCalendarDefaultOpen?: boolean;
|
|
2333
3020
|
isDisabled?: boolean;
|
|
2334
3021
|
isLarge?: boolean;
|
|
@@ -2344,6 +3031,7 @@ export interface FormDateRangeProps {
|
|
|
2344
3031
|
shouldShowTimezoneLabel?: boolean;
|
|
2345
3032
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2346
3033
|
startDateLabel?: string;
|
|
3034
|
+
theme?: 'NO_BOX';
|
|
2347
3035
|
timezone?: string;
|
|
2348
3036
|
tip?: string;
|
|
2349
3037
|
validationErrors?: FormDateRangeValidationError;
|
|
@@ -2358,12 +3046,14 @@ export interface FormDaySelectorProps {
|
|
|
2358
3046
|
isReadOnly?: boolean;
|
|
2359
3047
|
isRequired?: boolean;
|
|
2360
3048
|
label?: string;
|
|
3049
|
+
renderProps?: FormDaySelectorRenderProp;
|
|
2361
3050
|
validationErrors?: FormDaySelectorValidationError;
|
|
2362
3051
|
validations?: string;
|
|
2363
3052
|
value?: unknown;
|
|
2364
3053
|
}
|
|
2365
3054
|
export interface FormEmailProps {
|
|
2366
3055
|
name: string;
|
|
3056
|
+
autoComplete?: string;
|
|
2367
3057
|
defaultValue?: string;
|
|
2368
3058
|
isDisabled?: boolean;
|
|
2369
3059
|
isReadOnly?: boolean;
|
|
@@ -2371,14 +3061,32 @@ export interface FormEmailProps {
|
|
|
2371
3061
|
label?: string;
|
|
2372
3062
|
maxLength?: number;
|
|
2373
3063
|
placeholder?: string;
|
|
3064
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3065
|
+
stringPadding?: FormEmailStringPadding;
|
|
2374
3066
|
tip?: string;
|
|
2375
3067
|
validationErrors?: FormEmailValidationError;
|
|
2376
3068
|
validations?: string;
|
|
2377
3069
|
value?: string;
|
|
2378
3070
|
}
|
|
3071
|
+
export interface FormEmployeeSearchProps {
|
|
3072
|
+
name: string;
|
|
3073
|
+
canClear?: boolean;
|
|
3074
|
+
defaultValue?: string | string[];
|
|
3075
|
+
isDisabled?: boolean;
|
|
3076
|
+
isMulti?: boolean;
|
|
3077
|
+
isReadOnly?: boolean;
|
|
3078
|
+
isRequired?: boolean;
|
|
3079
|
+
label?: string;
|
|
3080
|
+
placeholder?: string;
|
|
3081
|
+
roleIdsToExclude?: string[];
|
|
3082
|
+
roleIdsToInclude?: string[];
|
|
3083
|
+
roleTypes?: 'ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | 'TERMINATED'[];
|
|
3084
|
+
tip?: string;
|
|
3085
|
+
value?: string | string[];
|
|
3086
|
+
}
|
|
2379
3087
|
export interface FormFileProps {
|
|
2380
3088
|
name: string;
|
|
2381
|
-
allowCameraCapture?: boolean;
|
|
3089
|
+
allowCameraCapture?: boolean | FormFileAllowCameraCapture;
|
|
2382
3090
|
cropperConfig?: FormFileCropperConfig;
|
|
2383
3091
|
defaultValue?: FormFileDefaultValue[];
|
|
2384
3092
|
enableCropper?: boolean;
|
|
@@ -2391,15 +3099,17 @@ export interface FormFileProps {
|
|
|
2391
3099
|
maxTotalFileSize?: number;
|
|
2392
3100
|
multiple?: boolean;
|
|
2393
3101
|
placeholder?: string;
|
|
2394
|
-
|
|
3102
|
+
showProgress?: boolean;
|
|
3103
|
+
supportTypes?: string[];
|
|
2395
3104
|
tip?: string;
|
|
3105
|
+
type?: 'DEFAULT' | 'RECEIPT';
|
|
2396
3106
|
validationErrors?: FormFileValidationError;
|
|
2397
3107
|
validations?: string;
|
|
2398
3108
|
value?: FormFileValue[];
|
|
2399
3109
|
}
|
|
2400
3110
|
export interface FormFileDropProps {
|
|
2401
3111
|
name: string;
|
|
2402
|
-
allowCameraCapture?: boolean;
|
|
3112
|
+
allowCameraCapture?: boolean | FormFileDropAllowCameraCapture;
|
|
2403
3113
|
cropperConfig?: FormFileDropCropperConfig;
|
|
2404
3114
|
defaultValue?: FormFileDropDefaultValue[];
|
|
2405
3115
|
enableCropper?: boolean;
|
|
@@ -2413,7 +3123,7 @@ export interface FormFileDropProps {
|
|
|
2413
3123
|
multiPartUpload?: boolean;
|
|
2414
3124
|
multiple?: boolean;
|
|
2415
3125
|
placeholder?: string;
|
|
2416
|
-
supportTypes?:
|
|
3126
|
+
supportTypes?: string[];
|
|
2417
3127
|
tip?: string;
|
|
2418
3128
|
type?: 'upload' | 'content';
|
|
2419
3129
|
validationErrors?: FormFileDropValidationError;
|
|
@@ -2491,6 +3201,8 @@ export interface FormMaskerProps {
|
|
|
2491
3201
|
}
|
|
2492
3202
|
export interface FormNumberProps {
|
|
2493
3203
|
name: string;
|
|
3204
|
+
autoComplete?: string;
|
|
3205
|
+
autoFocus?: boolean;
|
|
2494
3206
|
decimalPlaces?: number;
|
|
2495
3207
|
defaultValue?: string | number;
|
|
2496
3208
|
isDisabled?: boolean;
|
|
@@ -2498,13 +3210,22 @@ export interface FormNumberProps {
|
|
|
2498
3210
|
isReadOnly?: boolean;
|
|
2499
3211
|
isRequired?: boolean;
|
|
2500
3212
|
label?: string;
|
|
3213
|
+
locale?: string;
|
|
2501
3214
|
max?: number;
|
|
3215
|
+
maxLength?: number;
|
|
3216
|
+
maxWidth?: string;
|
|
2502
3217
|
min?: number;
|
|
3218
|
+
minLength?: number;
|
|
2503
3219
|
placeholder?: string;
|
|
2504
3220
|
prefix?: string;
|
|
2505
3221
|
shouldAllowCalculation?: boolean;
|
|
3222
|
+
shouldDisableFormatting?: boolean;
|
|
3223
|
+
shouldDisableRedundantZeroFormatting?: boolean;
|
|
3224
|
+
shouldStripLeadingZeros?: boolean;
|
|
2506
3225
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3226
|
+
spellCheck?: boolean;
|
|
2507
3227
|
step?: number;
|
|
3228
|
+
stringPadding?: FormNumberStringPadding;
|
|
2508
3229
|
suffix?: string;
|
|
2509
3230
|
tip?: string;
|
|
2510
3231
|
validationErrors?: FormNumberValidationError;
|
|
@@ -2513,14 +3234,28 @@ export interface FormNumberProps {
|
|
|
2513
3234
|
}
|
|
2514
3235
|
export interface FormPasswordProps {
|
|
2515
3236
|
name: string;
|
|
3237
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
3238
|
+
autoComplete?: string;
|
|
3239
|
+
autoCorrect?: 'off' | 'on';
|
|
3240
|
+
autoFocus?: boolean;
|
|
2516
3241
|
defaultValue?: string;
|
|
3242
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2517
3243
|
isDisabled?: boolean;
|
|
3244
|
+
isOriginalInputReadOnly?: boolean;
|
|
2518
3245
|
isReadOnly?: boolean;
|
|
2519
3246
|
isRequired?: boolean;
|
|
2520
3247
|
label?: string;
|
|
2521
3248
|
maxLength?: number;
|
|
3249
|
+
minLength?: number;
|
|
2522
3250
|
placeholder?: string;
|
|
3251
|
+
prefix?: string;
|
|
3252
|
+
readOnlyAffixSpacing?: boolean;
|
|
3253
|
+
shouldAllowReveal?: boolean;
|
|
3254
|
+
shouldPersistCursorPosition?: boolean;
|
|
2523
3255
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3256
|
+
spellCheck?: boolean;
|
|
3257
|
+
stringPadding?: FormPasswordStringPadding;
|
|
3258
|
+
suffix?: string;
|
|
2524
3259
|
tip?: string;
|
|
2525
3260
|
validationErrors?: FormPasswordValidationError;
|
|
2526
3261
|
validations?: string;
|
|
@@ -2535,10 +3270,13 @@ export interface FormPercentageProps {
|
|
|
2535
3270
|
isReadOnly?: boolean;
|
|
2536
3271
|
isRequired?: boolean;
|
|
2537
3272
|
label?: string;
|
|
3273
|
+
locale?: string;
|
|
2538
3274
|
lowerLimit?: number;
|
|
2539
3275
|
placeholder?: string;
|
|
3276
|
+
shouldDisableFormatting?: boolean;
|
|
2540
3277
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2541
3278
|
step?: number;
|
|
3279
|
+
tip?: string;
|
|
2542
3280
|
upperLimit?: number;
|
|
2543
3281
|
validationErrors?: FormPercentageValidationError;
|
|
2544
3282
|
validations?: string;
|
|
@@ -2547,15 +3285,27 @@ export interface FormPercentageProps {
|
|
|
2547
3285
|
export interface FormPhoneProps {
|
|
2548
3286
|
name: string;
|
|
2549
3287
|
autoComplete?: string;
|
|
2550
|
-
|
|
3288
|
+
autoFocus?: boolean;
|
|
3289
|
+
countryCode?: string | FormPhoneCountryCode;
|
|
3290
|
+
countryCodeDefaultValue?: string;
|
|
3291
|
+
countryCodeValue?: string;
|
|
2551
3292
|
defaultRegion?: string;
|
|
2552
3293
|
defaultValue?: string;
|
|
3294
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3295
|
+
isCountryCodeDisabled?: boolean;
|
|
3296
|
+
isCountryCodeReadOnly?: boolean;
|
|
3297
|
+
isCountryCodeRequired?: boolean;
|
|
2553
3298
|
isDisabled?: boolean;
|
|
2554
3299
|
isReadOnly?: boolean;
|
|
2555
3300
|
isRequired?: boolean;
|
|
2556
3301
|
label?: string;
|
|
2557
3302
|
maxLength?: number;
|
|
3303
|
+
minLength?: number;
|
|
2558
3304
|
placeholder?: string;
|
|
3305
|
+
prefix?: string;
|
|
3306
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3307
|
+
stringPadding?: FormPhoneStringPadding;
|
|
3308
|
+
suffix?: string;
|
|
2559
3309
|
tip?: string;
|
|
2560
3310
|
validationErrors?: FormPhoneValidationError;
|
|
2561
3311
|
validations?: string;
|
|
@@ -2569,7 +3319,7 @@ export interface FormRadioProps {
|
|
|
2569
3319
|
isReadOnly?: boolean;
|
|
2570
3320
|
isRequired?: boolean;
|
|
2571
3321
|
label?: string;
|
|
2572
|
-
|
|
3322
|
+
list: FormRadioList[];
|
|
2573
3323
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2574
3324
|
tip?: string;
|
|
2575
3325
|
validationErrors?: FormRadioValidationError;
|
|
@@ -2588,7 +3338,8 @@ export interface FormSegmentedControlProps {
|
|
|
2588
3338
|
isRequired?: boolean;
|
|
2589
3339
|
isVertical?: boolean;
|
|
2590
3340
|
label?: string;
|
|
2591
|
-
|
|
3341
|
+
list?: FormSegmentedControlList[];
|
|
3342
|
+
rangeLabels?: FormSegmentedControlRangeLabel;
|
|
2592
3343
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2593
3344
|
validationErrors?: FormSegmentedControlValidationError;
|
|
2594
3345
|
validations?: string;
|
|
@@ -2598,14 +3349,28 @@ export interface FormSelectProps {
|
|
|
2598
3349
|
name: string;
|
|
2599
3350
|
canClear?: boolean;
|
|
2600
3351
|
canSelectAll?: boolean;
|
|
3352
|
+
creatable?: boolean;
|
|
3353
|
+
defaultSearchQuery?: string;
|
|
3354
|
+
defaultValue?: unknown[] | unknown;
|
|
3355
|
+
dropdownHeight?: number;
|
|
3356
|
+
emptyListPlaceholder?: string | FormSelectEmptyListPlaceholder;
|
|
3357
|
+
fuseOptions?: FormSelectFuseOption;
|
|
2601
3358
|
isDisabled?: boolean;
|
|
3359
|
+
isMenuDefaultOpen?: boolean;
|
|
2602
3360
|
isMulti?: boolean;
|
|
3361
|
+
isPositionFixed?: boolean;
|
|
2603
3362
|
isReadOnly?: boolean;
|
|
2604
3363
|
isRequired?: boolean;
|
|
2605
3364
|
isSearchable?: boolean;
|
|
2606
3365
|
label?: string;
|
|
2607
|
-
|
|
3366
|
+
list?: FormSelectList[] | FormSelectList[];
|
|
3367
|
+
maxHeight?: string | number;
|
|
3368
|
+
maxTruncationLines?: number;
|
|
2608
3369
|
placeholder?: string;
|
|
3370
|
+
placement?: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
3371
|
+
shouldFocusFirstElement?: boolean;
|
|
3372
|
+
shouldShowSearchIcon?: boolean;
|
|
3373
|
+
shouldUsePortal?: boolean;
|
|
2609
3374
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2610
3375
|
tip?: string;
|
|
2611
3376
|
validationErrors?: FormSelectValidationError;
|
|
@@ -2733,25 +3498,35 @@ export interface FormSwitchProps {
|
|
|
2733
3498
|
offLabel?: string;
|
|
2734
3499
|
onLabel?: string;
|
|
2735
3500
|
rightAlign?: boolean;
|
|
3501
|
+
tip?: string | FormSwitchTip;
|
|
2736
3502
|
validationErrors?: FormSwitchValidationError;
|
|
2737
3503
|
validations?: string;
|
|
2738
3504
|
value?: boolean;
|
|
2739
3505
|
}
|
|
2740
3506
|
export interface FormTextProps {
|
|
2741
3507
|
name: string;
|
|
3508
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
2742
3509
|
autoComplete?: string;
|
|
3510
|
+
autoCorrect?: 'off' | 'on';
|
|
2743
3511
|
autoFocus?: boolean;
|
|
2744
3512
|
canClear?: boolean;
|
|
2745
3513
|
defaultValue?: string;
|
|
3514
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2746
3515
|
isDisabled?: boolean;
|
|
3516
|
+
isOriginalInputReadOnly?: boolean;
|
|
2747
3517
|
isReadOnly?: boolean;
|
|
2748
3518
|
isRequired?: boolean;
|
|
2749
3519
|
label?: string;
|
|
2750
3520
|
maxLength?: number;
|
|
2751
3521
|
maxWidth?: string;
|
|
3522
|
+
minLength?: number;
|
|
2752
3523
|
placeholder?: string;
|
|
2753
3524
|
prefix?: string;
|
|
3525
|
+
readOnlyAffixSpacing?: boolean;
|
|
3526
|
+
shouldPersistCursorPosition?: boolean;
|
|
2754
3527
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3528
|
+
spellCheck?: boolean;
|
|
3529
|
+
stringPadding?: FormTextStringPadding;
|
|
2755
3530
|
suffix?: string;
|
|
2756
3531
|
tip?: string;
|
|
2757
3532
|
validationErrors?: FormTextValidationError;
|
|
@@ -2768,6 +3543,7 @@ export interface FormTextareaProps {
|
|
|
2768
3543
|
isReadOnly?: boolean;
|
|
2769
3544
|
isRequired?: boolean;
|
|
2770
3545
|
label?: string;
|
|
3546
|
+
maxHeight?: number;
|
|
2771
3547
|
maxLength?: number;
|
|
2772
3548
|
placeholder?: string;
|
|
2773
3549
|
rows?: number;
|
|
@@ -2780,33 +3556,44 @@ export interface FormTextareaProps {
|
|
|
2780
3556
|
export interface FormTextAutoSuggestProps {
|
|
2781
3557
|
name: string;
|
|
2782
3558
|
defaultValue?: string;
|
|
3559
|
+
fuseOptions?: FormTextAutoSuggestFuseOption;
|
|
2783
3560
|
isDisabled?: boolean;
|
|
3561
|
+
isPositionFixed?: boolean;
|
|
2784
3562
|
isReadOnly?: boolean;
|
|
2785
3563
|
isRequired?: boolean;
|
|
2786
3564
|
label?: string;
|
|
3565
|
+
list: FormTextAutoSuggestList[];
|
|
2787
3566
|
maxLength?: number;
|
|
2788
3567
|
placeholder?: string;
|
|
2789
3568
|
shouldShowMenuOnFocus?: boolean;
|
|
2790
3569
|
shouldShowSearchIcon?: boolean;
|
|
2791
3570
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2792
|
-
suggestions: FormTextAutoSuggestSuggestion[];
|
|
2793
3571
|
validationErrors?: FormTextAutoSuggestValidationError;
|
|
2794
3572
|
validations?: string;
|
|
2795
|
-
value?: string;
|
|
3573
|
+
value?: string | number;
|
|
2796
3574
|
}
|
|
2797
3575
|
export interface FormTimeProps {
|
|
2798
3576
|
name: string;
|
|
3577
|
+
alwaysShowTimezone?: boolean;
|
|
3578
|
+
defaultSelectionStartTime?: string;
|
|
2799
3579
|
defaultValue?: string;
|
|
3580
|
+
isDateTimeInline?: boolean;
|
|
2800
3581
|
isDisabled?: boolean;
|
|
2801
3582
|
isReadOnly?: boolean;
|
|
2802
3583
|
isRequired?: boolean;
|
|
2803
3584
|
label?: string;
|
|
2804
|
-
|
|
3585
|
+
locale?: string;
|
|
3586
|
+
maxWidth?: string;
|
|
3587
|
+
pickClosestMeridiem?: boolean;
|
|
3588
|
+
referenceDate?: string;
|
|
3589
|
+
shouldAllowTimeSelection?: boolean | FormTimeShouldAllowTimeSelection;
|
|
2805
3590
|
shouldDisplaySeconds?: boolean;
|
|
3591
|
+
shouldFormatInTimezone?: boolean;
|
|
2806
3592
|
shouldLocalize?: boolean;
|
|
2807
3593
|
shouldReturnISO?: boolean;
|
|
3594
|
+
shouldShowTimezoneLabel?: boolean;
|
|
2808
3595
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2809
|
-
timezone?: string;
|
|
3596
|
+
timezone?: string | FormTimeTimezone;
|
|
2810
3597
|
validationErrors?: FormTimeValidationError;
|
|
2811
3598
|
validations?: string;
|
|
2812
3599
|
value?: string;
|
|
@@ -2899,7 +3686,7 @@ export interface FormWorkEmailProps {
|
|
|
2899
3686
|
name: string;
|
|
2900
3687
|
autoComplete?: string;
|
|
2901
3688
|
defaultValue?: string;
|
|
2902
|
-
domainList?:
|
|
3689
|
+
domainList?: string | string[] | FormWorkEmailDomainList[] | FormWorkEmailDomainList[];
|
|
2903
3690
|
isDisabled?: boolean;
|
|
2904
3691
|
isReadOnly?: boolean;
|
|
2905
3692
|
isRequired?: boolean;
|
|
@@ -2957,12 +3744,12 @@ export interface HStackProps {
|
|
|
2957
3744
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2958
3745
|
}
|
|
2959
3746
|
export interface IconProps {
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
3747
|
+
'aria-controls'?: string;
|
|
3748
|
+
'aria-describedby'?: string;
|
|
3749
|
+
'aria-expanded'?: boolean;
|
|
3750
|
+
'aria-haspopup'?: 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
3751
|
+
'aria-label'?: string;
|
|
3752
|
+
'aria-labelledby'?: string;
|
|
2966
3753
|
color?: 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorError' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorSuccess' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorInfo' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorWarning' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorDisabled' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorDisabledInverse';
|
|
2967
3754
|
isDisabled?: boolean;
|
|
2968
3755
|
isFocused?: boolean;
|
|
@@ -2987,7 +3774,6 @@ export interface IconButtonProps {
|
|
|
2987
3774
|
shouldShowSpinner?: boolean;
|
|
2988
3775
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2989
3776
|
tabIndex?: number;
|
|
2990
|
-
testId?: string;
|
|
2991
3777
|
tip?: string | IconButtonTip;
|
|
2992
3778
|
to?: string | IconButtonTo;
|
|
2993
3779
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -2998,7 +3784,7 @@ export interface ImageProps {
|
|
|
2998
3784
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
2999
3785
|
height?: number | string;
|
|
3000
3786
|
loading?: 'eager' | 'lazy';
|
|
3001
|
-
src
|
|
3787
|
+
src?: string | Src;
|
|
3002
3788
|
theme?: 'COVER';
|
|
3003
3789
|
width?: number | string;
|
|
3004
3790
|
}
|
|
@@ -3114,13 +3900,8 @@ export interface LocationCardProps {
|
|
|
3114
3900
|
to?: string | LocationCardTo;
|
|
3115
3901
|
}
|
|
3116
3902
|
export interface LottiePlayerProps {
|
|
3117
|
-
animationData?: AnimationData;
|
|
3118
|
-
autoplay?: boolean;
|
|
3119
3903
|
height?: string;
|
|
3120
|
-
|
|
3121
|
-
path?: string;
|
|
3122
|
-
renderer?: 'svg' | 'canvas' | 'html';
|
|
3123
|
-
testId?: string;
|
|
3904
|
+
loadConfig?: LoadConfig;
|
|
3124
3905
|
width?: string;
|
|
3125
3906
|
}
|
|
3126
3907
|
export interface MaskerProps {
|
|
@@ -3163,15 +3944,15 @@ export interface MenuListProps {
|
|
|
3163
3944
|
export interface ModalProps {
|
|
3164
3945
|
animation?: string;
|
|
3165
3946
|
backdropAnimation?: string;
|
|
3166
|
-
hasCloseButton?: boolean;
|
|
3167
3947
|
isFullScreen?: boolean;
|
|
3168
|
-
|
|
3948
|
+
isVisible?: boolean;
|
|
3169
3949
|
shouldCloseOnBackdropClick?: boolean;
|
|
3170
3950
|
shouldCloseOnEscape?: boolean;
|
|
3951
|
+
shouldHideCancelIcon?: boolean;
|
|
3171
3952
|
shouldNotAnimate?: boolean;
|
|
3172
|
-
size?: 'small' | 'medium' | 'large';
|
|
3173
3953
|
theme?: 'GRAY' | 'NO_PADDING';
|
|
3174
3954
|
title?: string;
|
|
3955
|
+
width?: number | string;
|
|
3175
3956
|
}
|
|
3176
3957
|
export interface ModalCloseButtonProps {
|
|
3177
3958
|
appearance?: 'ACCENT' | 'ACTIVE' | 'PRIMARY' | 'DESTRUCTIVE' | 'SUCCESS' | 'INFO' | 'WARNING' | 'OUTLINE' | 'SOLID' | 'GHOST';
|
|
@@ -3193,7 +3974,7 @@ export interface NestedListProps {
|
|
|
3193
3974
|
showMore?: ShowMoreValue;
|
|
3194
3975
|
theme?: 'NO_CARD' | 'TRANSPARENT_NO_SEPARATOR' | 'TRANSPARENT_NO_SEPARATOR_NO_CARD';
|
|
3195
3976
|
title?: string;
|
|
3196
|
-
toggleIcon?:
|
|
3977
|
+
toggleIcon?: NestedListToggleIcon;
|
|
3197
3978
|
}
|
|
3198
3979
|
export interface NumberProps {
|
|
3199
3980
|
name?: string;
|
|
@@ -3218,6 +3999,7 @@ export interface NumberProps {
|
|
|
3218
3999
|
shouldAllowCalculation?: boolean;
|
|
3219
4000
|
shouldDisableFormatting?: boolean;
|
|
3220
4001
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
4002
|
+
shouldStripLeadingZeros?: boolean;
|
|
3221
4003
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3222
4004
|
spellCheck?: boolean;
|
|
3223
4005
|
step?: number;
|
|
@@ -3241,6 +4023,8 @@ export interface ObjectUIContentProps {
|
|
|
3241
4023
|
export interface ObjectUIHeaderProps {
|
|
3242
4024
|
avatarProps?: ObjectUIHeaderAvatarProp;
|
|
3243
4025
|
caption?: string;
|
|
4026
|
+
label?: LabelValue;
|
|
4027
|
+
primaryAction?: ObjectUIHeaderPrimaryAction;
|
|
3244
4028
|
primaryActionLabel?: string;
|
|
3245
4029
|
title?: string;
|
|
3246
4030
|
}
|
|
@@ -3300,7 +4084,7 @@ export interface PaginateListProps {
|
|
|
3300
4084
|
pageSize?: number;
|
|
3301
4085
|
}
|
|
3302
4086
|
export interface PaneProps {
|
|
3303
|
-
|
|
4087
|
+
'aria-label': string;
|
|
3304
4088
|
collapsed?: boolean;
|
|
3305
4089
|
collapsible?: boolean;
|
|
3306
4090
|
containerName?: string;
|
|
@@ -3329,6 +4113,7 @@ export interface PasswordProps {
|
|
|
3329
4113
|
defaultValue?: string;
|
|
3330
4114
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3331
4115
|
isDisabled?: boolean;
|
|
4116
|
+
isInvalid?: boolean;
|
|
3332
4117
|
isOriginalInputReadOnly?: boolean;
|
|
3333
4118
|
isReadOnly?: boolean;
|
|
3334
4119
|
isRequired?: boolean;
|
|
@@ -3347,7 +4132,6 @@ export interface PasswordProps {
|
|
|
3347
4132
|
spellCheck?: boolean;
|
|
3348
4133
|
stringPadding?: PasswordStringPadding;
|
|
3349
4134
|
suffix?: string;
|
|
3350
|
-
testId?: string;
|
|
3351
4135
|
theme?: string;
|
|
3352
4136
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3353
4137
|
value?: string;
|
|
@@ -3358,7 +4142,9 @@ export interface PercentageProps {
|
|
|
3358
4142
|
checks?: PercentageCheck[];
|
|
3359
4143
|
decimalPlaces?: number;
|
|
3360
4144
|
defaultValue?: number;
|
|
4145
|
+
id?: string;
|
|
3361
4146
|
isDisabled?: boolean;
|
|
4147
|
+
isInvalid?: boolean;
|
|
3362
4148
|
isReadOnly?: boolean;
|
|
3363
4149
|
isRequired?: boolean;
|
|
3364
4150
|
label?: string;
|
|
@@ -3383,7 +4169,7 @@ export interface PhoneProps {
|
|
|
3383
4169
|
autoCorrect?: 'off' | 'on';
|
|
3384
4170
|
autoFocus?: boolean;
|
|
3385
4171
|
checks?: PhoneCheck[];
|
|
3386
|
-
countryCode?: string;
|
|
4172
|
+
countryCode?: string | PhoneCountryCode;
|
|
3387
4173
|
countryCodeDefaultValue?: string;
|
|
3388
4174
|
countryCodeValue?: string;
|
|
3389
4175
|
defaultRegion?: string;
|
|
@@ -3431,6 +4217,7 @@ export interface ProgressBarProps {
|
|
|
3431
4217
|
'aria-label'?: string;
|
|
3432
4218
|
'aria-labelledby'?: string;
|
|
3433
4219
|
'aria-valuetext'?: string;
|
|
4220
|
+
completedPercent?: number;
|
|
3434
4221
|
isIndeterminate?: boolean;
|
|
3435
4222
|
label?: string;
|
|
3436
4223
|
showPercentage?: boolean;
|
|
@@ -3455,10 +4242,11 @@ export interface RadioProps {
|
|
|
3455
4242
|
id?: string;
|
|
3456
4243
|
isDisabled?: boolean;
|
|
3457
4244
|
isHorizontal?: boolean;
|
|
4245
|
+
isInvalid?: boolean;
|
|
3458
4246
|
isReadOnly?: boolean;
|
|
3459
4247
|
isRequired?: boolean;
|
|
3460
4248
|
label?: string;
|
|
3461
|
-
|
|
4249
|
+
list?: RadioList[];
|
|
3462
4250
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
3463
4251
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3464
4252
|
value?: unknown;
|
|
@@ -3489,6 +4277,9 @@ export interface RangeSliderProps {
|
|
|
3489
4277
|
}
|
|
3490
4278
|
export interface ReportLoaderProps {
|
|
3491
4279
|
}
|
|
4280
|
+
export interface ReportsProps {
|
|
4281
|
+
reportId: string;
|
|
4282
|
+
}
|
|
3492
4283
|
export interface ReportShareLoaderProps {
|
|
3493
4284
|
}
|
|
3494
4285
|
export interface ReportViewerLoaderProps {
|
|
@@ -3514,12 +4305,14 @@ export interface SegmentedControlProps {
|
|
|
3514
4305
|
defaultValue?: string | string[];
|
|
3515
4306
|
isDisabled?: boolean;
|
|
3516
4307
|
isFluid?: boolean;
|
|
4308
|
+
isInvalid?: boolean;
|
|
3517
4309
|
isMulti?: boolean;
|
|
3518
4310
|
isReadOnly?: boolean;
|
|
3519
4311
|
isRequired?: boolean;
|
|
3520
4312
|
isVertical?: boolean;
|
|
3521
4313
|
label?: string;
|
|
3522
|
-
|
|
4314
|
+
list: SegmentedControlList[];
|
|
4315
|
+
options?: SegmentedControlOption[];
|
|
3523
4316
|
rangeLabels?: SegmentedControlRangeLabel;
|
|
3524
4317
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3525
4318
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
@@ -3535,12 +4328,14 @@ export interface SelectProps {
|
|
|
3535
4328
|
checks?: SelectCheck[];
|
|
3536
4329
|
creatable?: boolean;
|
|
3537
4330
|
defaultSearchQuery?: string;
|
|
4331
|
+
defaultValue?: unknown[] | unknown;
|
|
3538
4332
|
dropdownHeight?: number;
|
|
3539
4333
|
emptyListPlaceholder?: string | SelectEmptyListPlaceholder;
|
|
3540
4334
|
footer?: SelectFooter;
|
|
3541
4335
|
fuseOptions?: SelectFuseOption;
|
|
3542
4336
|
id?: string;
|
|
3543
4337
|
isDisabled?: boolean;
|
|
4338
|
+
isInvalid?: boolean;
|
|
3544
4339
|
isMenuDefaultOpen?: boolean;
|
|
3545
4340
|
isMulti?: boolean;
|
|
3546
4341
|
isPositionFixed?: boolean;
|
|
@@ -3548,9 +4343,10 @@ export interface SelectProps {
|
|
|
3548
4343
|
isRequired?: boolean;
|
|
3549
4344
|
isSearchable?: boolean;
|
|
3550
4345
|
label?: string;
|
|
4346
|
+
list?: SelectList[] | SelectList[];
|
|
3551
4347
|
maxHeight?: string | number;
|
|
3552
4348
|
maxTruncationLines?: number;
|
|
3553
|
-
options?: SelectOption[];
|
|
4349
|
+
options?: SelectOption[] | SelectOption[];
|
|
3554
4350
|
placeholder?: string;
|
|
3555
4351
|
placement?: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
3556
4352
|
rows?: number;
|
|
@@ -3573,6 +4369,7 @@ export interface SelectableGroupProps {
|
|
|
3573
4369
|
defaultValue?: string | number | string | number[];
|
|
3574
4370
|
id?: string;
|
|
3575
4371
|
isDisabled?: boolean;
|
|
4372
|
+
isInvalid?: boolean;
|
|
3576
4373
|
isMulti?: boolean;
|
|
3577
4374
|
isReadOnly?: boolean;
|
|
3578
4375
|
isRequired?: boolean;
|
|
@@ -3620,6 +4417,7 @@ export interface SignatureProps {
|
|
|
3620
4417
|
defaultValue?: string;
|
|
3621
4418
|
id?: string;
|
|
3622
4419
|
isDisabled?: boolean;
|
|
4420
|
+
isInvalid?: boolean;
|
|
3623
4421
|
isReadOnly?: boolean;
|
|
3624
4422
|
isRequired?: boolean;
|
|
3625
4423
|
isTypeSignatureDisabled?: boolean;
|
|
@@ -3636,10 +4434,12 @@ export interface SinProps {
|
|
|
3636
4434
|
autoComplete?: string;
|
|
3637
4435
|
autoFocus?: boolean;
|
|
3638
4436
|
checks?: SinCheck[];
|
|
4437
|
+
defaultValue?: string;
|
|
3639
4438
|
fixedCharsPrefix?: string;
|
|
3640
4439
|
fixedCharsSuffix?: string;
|
|
3641
4440
|
id?: string;
|
|
3642
4441
|
isDisabled?: boolean;
|
|
4442
|
+
isInvalid?: boolean;
|
|
3643
4443
|
isReadOnly?: boolean;
|
|
3644
4444
|
isRequired?: boolean;
|
|
3645
4445
|
label?: string;
|
|
@@ -3654,16 +4454,16 @@ export interface SinProps {
|
|
|
3654
4454
|
value?: string;
|
|
3655
4455
|
}
|
|
3656
4456
|
export interface SkeletonProps {
|
|
3657
|
-
animation?: '
|
|
4457
|
+
animation?: 'wave' | 'pulse' | 'none';
|
|
3658
4458
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3659
|
-
gap?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
3660
|
-
height?: number;
|
|
4459
|
+
gap?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600' | string | number;
|
|
4460
|
+
height?: number | string;
|
|
3661
4461
|
initialTimestamp?: number;
|
|
3662
4462
|
lineHeight?: string | number;
|
|
3663
4463
|
lines?: number;
|
|
3664
4464
|
show?: boolean;
|
|
3665
|
-
size?: number;
|
|
3666
|
-
variant?: '
|
|
4465
|
+
size?: number | string;
|
|
4466
|
+
variant?: 'text' | 'circle' | 'box';
|
|
3667
4467
|
width?: string | number;
|
|
3668
4468
|
}
|
|
3669
4469
|
export interface SliderProps {
|
|
@@ -3729,10 +4529,12 @@ export interface SsnProps {
|
|
|
3729
4529
|
autoComplete?: string;
|
|
3730
4530
|
autoFocus?: boolean;
|
|
3731
4531
|
checks?: SsnCheck[];
|
|
4532
|
+
defaultValue?: string;
|
|
3732
4533
|
fixedCharsPrefix?: string;
|
|
3733
4534
|
fixedCharsSuffix?: string;
|
|
3734
4535
|
id?: string;
|
|
3735
4536
|
isDisabled?: boolean;
|
|
4537
|
+
isInvalid?: boolean;
|
|
3736
4538
|
isReadOnly?: boolean;
|
|
3737
4539
|
isRequired?: boolean;
|
|
3738
4540
|
label?: string;
|
|
@@ -3750,7 +4552,6 @@ export interface StatusProps {
|
|
|
3750
4552
|
appearance: 'PRIMARY' | 'SUCCESS' | 'ERROR' | 'WARNING' | 'TERTIARY' | 'DISABLED';
|
|
3751
4553
|
outlined?: boolean;
|
|
3752
4554
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
3753
|
-
testId?: string;
|
|
3754
4555
|
text: string;
|
|
3755
4556
|
}
|
|
3756
4557
|
export interface StepperProps {
|
|
@@ -3771,7 +4572,6 @@ export interface SupportButtonProps {
|
|
|
3771
4572
|
id?: string;
|
|
3772
4573
|
image?: string;
|
|
3773
4574
|
imageBackground?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
3774
|
-
testId?: string;
|
|
3775
4575
|
title: string;
|
|
3776
4576
|
to?: string | SupportButtonTo;
|
|
3777
4577
|
}
|
|
@@ -3779,7 +4579,9 @@ export interface SurveyProps {
|
|
|
3779
4579
|
name?: string;
|
|
3780
4580
|
caption?: string;
|
|
3781
4581
|
checks?: SurveyCheck[];
|
|
4582
|
+
defaultValue?: string | number | string | number[];
|
|
3782
4583
|
isDisabled?: boolean;
|
|
4584
|
+
isInvalid?: boolean;
|
|
3783
4585
|
isMulti?: boolean;
|
|
3784
4586
|
isReadOnly?: boolean;
|
|
3785
4587
|
isRequired?: boolean;
|
|
@@ -3805,24 +4607,25 @@ export interface SwitchProps {
|
|
|
3805
4607
|
offLabel?: string;
|
|
3806
4608
|
onLabel?: string;
|
|
3807
4609
|
rightAlign?: boolean;
|
|
3808
|
-
tip?: string;
|
|
4610
|
+
tip?: string | SwitchTip;
|
|
3809
4611
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3810
4612
|
value?: boolean;
|
|
3811
4613
|
}
|
|
3812
4614
|
export interface TabProps {
|
|
4615
|
+
activeIndex?: number;
|
|
3813
4616
|
'aria-label'?: string;
|
|
3814
4617
|
'aria-labelledby'?: string;
|
|
3815
4618
|
defaultActiveIndex?: number;
|
|
3816
4619
|
isCompact?: boolean;
|
|
3817
4620
|
isLogoRound?: boolean;
|
|
3818
4621
|
isVertical?: boolean;
|
|
3819
|
-
items
|
|
4622
|
+
items?: TabItem[];
|
|
4623
|
+
list?: TabList[];
|
|
3820
4624
|
logoUrl?: string;
|
|
3821
4625
|
stretchH?: boolean;
|
|
3822
4626
|
stretchV?: boolean;
|
|
3823
4627
|
subtitle?: string;
|
|
3824
|
-
supportLink?: string;
|
|
3825
|
-
testId?: string;
|
|
4628
|
+
supportLink?: string | SupportLink;
|
|
3826
4629
|
theme?: 'BOX' | 'BOX_HEADER' | 'CENTER' | 'GREY_OVERFLOW_GRADIENT' | 'WHITE_OVERFLOW_GRADIENT' | 'NO_PADDING';
|
|
3827
4630
|
title?: string;
|
|
3828
4631
|
titleContent?: string;
|
|
@@ -3862,6 +4665,7 @@ export interface TextareaProps {
|
|
|
3862
4665
|
height?: number;
|
|
3863
4666
|
id?: string;
|
|
3864
4667
|
isDisabled?: boolean;
|
|
4668
|
+
isInvalid?: boolean;
|
|
3865
4669
|
isReadOnly?: boolean;
|
|
3866
4670
|
isRequired?: boolean;
|
|
3867
4671
|
label?: string;
|
|
@@ -3883,6 +4687,8 @@ export interface TextAutoSuggestProps {
|
|
|
3883
4687
|
autoCorrect?: 'off' | 'on';
|
|
3884
4688
|
autoFocus?: boolean;
|
|
3885
4689
|
checks?: TextAutoSuggestCheck[];
|
|
4690
|
+
defaultValue?: string | number;
|
|
4691
|
+
fuseOptions?: TextAutoSuggestFuseOption;
|
|
3886
4692
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3887
4693
|
isDisabled?: boolean;
|
|
3888
4694
|
isOriginalInputReadOnly?: boolean;
|
|
@@ -3890,6 +4696,7 @@ export interface TextAutoSuggestProps {
|
|
|
3890
4696
|
isReadOnly?: boolean;
|
|
3891
4697
|
isRequired?: boolean;
|
|
3892
4698
|
label?: string;
|
|
4699
|
+
list?: TextAutoSuggestList[];
|
|
3893
4700
|
maxLength?: number;
|
|
3894
4701
|
maxWidth?: string;
|
|
3895
4702
|
minLength?: number;
|
|
@@ -3907,15 +4714,12 @@ export interface TextAutoSuggestProps {
|
|
|
3907
4714
|
spellCheck?: boolean;
|
|
3908
4715
|
stringPadding?: TextAutoSuggestStringPadding;
|
|
3909
4716
|
suffix?: string;
|
|
3910
|
-
suggestions?: TextAutoSuggestSuggestion[];
|
|
3911
|
-
testId?: string;
|
|
3912
4717
|
theme?: string;
|
|
3913
4718
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3914
4719
|
value?: string | number;
|
|
3915
4720
|
}
|
|
3916
4721
|
export interface TextClipProps {
|
|
3917
|
-
|
|
3918
|
-
expandLabel?: string;
|
|
4722
|
+
buttonLabels?: ButtonLabel;
|
|
3919
4723
|
maxHeight: number;
|
|
3920
4724
|
theme?: 'NO_CARD';
|
|
3921
4725
|
}
|
|
@@ -3940,6 +4744,7 @@ export interface TextInputProps {
|
|
|
3940
4744
|
defaultValue?: string;
|
|
3941
4745
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3942
4746
|
isDisabled?: boolean;
|
|
4747
|
+
isInvalid?: boolean;
|
|
3943
4748
|
isOriginalInputReadOnly?: boolean;
|
|
3944
4749
|
isReadOnly?: boolean;
|
|
3945
4750
|
isRequired?: boolean;
|
|
@@ -3960,7 +4765,6 @@ export interface TextInputProps {
|
|
|
3960
4765
|
spellCheck?: boolean;
|
|
3961
4766
|
stringPadding?: TextInputStringPadding;
|
|
3962
4767
|
suffix?: string;
|
|
3963
|
-
testId?: string;
|
|
3964
4768
|
theme?: string;
|
|
3965
4769
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3966
4770
|
value?: string;
|
|
@@ -3980,8 +4784,12 @@ export interface TimeProps {
|
|
|
3980
4784
|
'aria-labelledby'?: string;
|
|
3981
4785
|
checks?: TimeCheck[];
|
|
3982
4786
|
defaultSelectionStartTime?: string;
|
|
4787
|
+
defaultValue?: string;
|
|
4788
|
+
id?: string;
|
|
4789
|
+
inferredTime?: string;
|
|
3983
4790
|
isDateTimeInline?: boolean;
|
|
3984
4791
|
isDisabled?: boolean;
|
|
4792
|
+
isInvalid?: boolean;
|
|
3985
4793
|
isReadOnly?: boolean;
|
|
3986
4794
|
isRequired?: boolean;
|
|
3987
4795
|
label?: string;
|
|
@@ -3989,7 +4797,7 @@ export interface TimeProps {
|
|
|
3989
4797
|
maxWidth?: string;
|
|
3990
4798
|
pickClosestMeridiem?: boolean;
|
|
3991
4799
|
referenceDate?: string;
|
|
3992
|
-
shouldAllowTimeSelection?: boolean;
|
|
4800
|
+
shouldAllowTimeSelection?: boolean | TimeShouldAllowTimeSelection;
|
|
3993
4801
|
shouldDisplaySeconds?: boolean;
|
|
3994
4802
|
shouldFormatInTimezone?: boolean;
|
|
3995
4803
|
shouldLocalize?: boolean;
|
|
@@ -3997,7 +4805,7 @@ export interface TimeProps {
|
|
|
3997
4805
|
shouldShowTimezoneLabel?: boolean;
|
|
3998
4806
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3999
4807
|
theme?: string;
|
|
4000
|
-
timezone?: string;
|
|
4808
|
+
timezone?: string | TimeTimezone;
|
|
4001
4809
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4002
4810
|
value?: string;
|
|
4003
4811
|
}
|
|
@@ -4013,13 +4821,15 @@ export interface TimeRangeProps {
|
|
|
4013
4821
|
defaultValue?: unknown[];
|
|
4014
4822
|
hideDayDifference?: boolean;
|
|
4015
4823
|
hideTimeIcon?: boolean;
|
|
4824
|
+
id?: string;
|
|
4016
4825
|
isDisabled?: boolean;
|
|
4826
|
+
isInvalid?: boolean;
|
|
4017
4827
|
isReadOnly?: boolean;
|
|
4018
4828
|
isRequired?: boolean;
|
|
4019
4829
|
label?: string;
|
|
4020
4830
|
locale?: string;
|
|
4021
4831
|
referenceDate?: string;
|
|
4022
|
-
shouldAllowTimeSelection?: boolean;
|
|
4832
|
+
shouldAllowTimeSelection?: boolean | TimeRangeShouldAllowTimeSelection;
|
|
4023
4833
|
shouldDisplaySeconds?: boolean;
|
|
4024
4834
|
shouldFormatInTimezone?: boolean;
|
|
4025
4835
|
shouldLocalize?: boolean;
|
|
@@ -4038,6 +4848,7 @@ export interface TimezoneProps {
|
|
|
4038
4848
|
dropdownHeight?: number;
|
|
4039
4849
|
emptyListPlaceholder?: string;
|
|
4040
4850
|
isDisabled?: boolean;
|
|
4851
|
+
isInvalid?: boolean;
|
|
4041
4852
|
isMenuDefaultOpen?: boolean;
|
|
4042
4853
|
isPositionFixed?: boolean;
|
|
4043
4854
|
isReadOnly?: boolean;
|
|
@@ -4096,6 +4907,7 @@ export interface TreeProps {
|
|
|
4096
4907
|
'aria-labelledby'?: string;
|
|
4097
4908
|
canSelectAll?: boolean;
|
|
4098
4909
|
checks?: TreeCheck[];
|
|
4910
|
+
defaultValue?: string | string[];
|
|
4099
4911
|
dropdownWidth?: number;
|
|
4100
4912
|
emptyListPlaceholder?: string;
|
|
4101
4913
|
footer?: TreeFooter;
|
|
@@ -4196,9 +5008,10 @@ export interface WorkEmailProps {
|
|
|
4196
5008
|
autoFocus?: boolean;
|
|
4197
5009
|
checks?: WorkEmailCheck[];
|
|
4198
5010
|
defaultValue?: string;
|
|
4199
|
-
domainList?:
|
|
5011
|
+
domainList?: string | string[] | WorkEmailDomainList[] | WorkEmailDomainList[];
|
|
4200
5012
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4201
5013
|
isDisabled?: boolean;
|
|
5014
|
+
isInvalid?: boolean;
|
|
4202
5015
|
isOriginalInputReadOnly?: boolean;
|
|
4203
5016
|
isReadOnly?: boolean;
|
|
4204
5017
|
isRequired?: boolean;
|
|
@@ -4217,7 +5030,6 @@ export interface WorkEmailProps {
|
|
|
4217
5030
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4218
5031
|
spellCheck?: boolean;
|
|
4219
5032
|
suffix?: string;
|
|
4220
|
-
testId?: string;
|
|
4221
5033
|
theme?: string;
|
|
4222
5034
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4223
5035
|
value?: string;
|