@rippling/pebble-sdui-web 0.8.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/component-events.d.ts +15 -14
- package/dist/catalogs/custom-apps/component-props.d.ts +960 -219
- package/dist/catalogs/custom-apps/components.d.ts +4 -3
- 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 +5725 -1400
- 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 +433 -287
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +250 -288
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1307 -157
- 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,23 +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
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
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';
|
|
332
466
|
}
|
|
333
467
|
export interface DraggableListList {
|
|
334
468
|
id: string | number;
|
|
335
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;
|
|
336
510
|
}
|
|
337
511
|
export interface DropdownDisabledInfo {
|
|
338
512
|
content: string;
|
|
339
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
|
+
}
|
|
340
529
|
export interface DropdownList {
|
|
341
530
|
label: string;
|
|
342
531
|
value: string;
|
|
@@ -344,15 +533,25 @@ export interface DropdownList {
|
|
|
344
533
|
export interface DropdownList2 {
|
|
345
534
|
disabledInfo?: string | DropdownDisabledInfo;
|
|
346
535
|
isDisabled?: boolean;
|
|
347
|
-
label
|
|
536
|
+
label?: string;
|
|
348
537
|
labelIcon?: string;
|
|
349
538
|
leftIconType?: string;
|
|
350
539
|
quaternaryLabel?: string;
|
|
351
540
|
secondaryLabel?: string;
|
|
352
|
-
tag?: string;
|
|
541
|
+
tag?: string | DropdownTag;
|
|
353
542
|
tertiaryLabel?: string;
|
|
354
543
|
type?: 'WARNING' | 'ALERT';
|
|
355
|
-
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;
|
|
356
555
|
}
|
|
357
556
|
export interface EmailArg {
|
|
358
557
|
[key: string]: unknown;
|
|
@@ -362,6 +561,43 @@ export interface EmailCheck {
|
|
|
362
561
|
message: string;
|
|
363
562
|
type: string;
|
|
364
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
|
+
}
|
|
365
601
|
export interface FileDropArg {
|
|
366
602
|
[key: string]: unknown;
|
|
367
603
|
}
|
|
@@ -397,30 +633,67 @@ export interface FileDropValue {
|
|
|
397
633
|
type?: string;
|
|
398
634
|
url?: string;
|
|
399
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
|
+
}
|
|
400
648
|
export interface FloatingButtonIcon {
|
|
401
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';
|
|
402
650
|
type: string;
|
|
403
651
|
}
|
|
404
652
|
export interface FloatingButtonTip {
|
|
653
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
405
654
|
content: string;
|
|
406
|
-
|
|
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';
|
|
407
659
|
}
|
|
408
660
|
export interface FloatingButtonTo {
|
|
409
661
|
openInNewTab?: boolean;
|
|
410
662
|
path: string;
|
|
411
663
|
}
|
|
412
|
-
export interface
|
|
664
|
+
export interface FormCheckboxGroupList {
|
|
413
665
|
isDisabled?: boolean;
|
|
414
666
|
label: string;
|
|
415
667
|
secondaryLabel?: string;
|
|
416
668
|
tag?: string | FormCheckboxGroupTag;
|
|
417
|
-
tip?: string;
|
|
669
|
+
tip?: string | FormCheckboxGroupTip;
|
|
418
670
|
value: unknown;
|
|
419
671
|
}
|
|
420
672
|
export interface FormCheckboxGroupTag {
|
|
421
673
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
422
674
|
label: string;
|
|
423
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
|
+
}
|
|
424
697
|
/** Map of rule name to error message */
|
|
425
698
|
export interface FormCheckboxGroupValidationError {
|
|
426
699
|
[key: string]: string;
|
|
@@ -429,10 +702,54 @@ export interface FormCheckboxGroupValidationError {
|
|
|
429
702
|
export interface FormCheckboxValidationError {
|
|
430
703
|
[key: string]: string;
|
|
431
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
|
+
}
|
|
432
745
|
/** Map of rule name to error message */
|
|
433
746
|
export interface FormCurrencyValidationError {
|
|
434
747
|
[key: string]: string;
|
|
435
748
|
}
|
|
749
|
+
export interface FormCurrencyValue {
|
|
750
|
+
type: string;
|
|
751
|
+
value: string | number;
|
|
752
|
+
}
|
|
436
753
|
/** Map of rule name to error message */
|
|
437
754
|
export interface FormDateRangeValidationError {
|
|
438
755
|
[key: string]: string;
|
|
@@ -441,14 +758,34 @@ export interface FormDateRangeValidationError {
|
|
|
441
758
|
export interface FormDateValidationError {
|
|
442
759
|
[key: string]: string;
|
|
443
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
|
+
}
|
|
444
772
|
/** Map of rule name to error message */
|
|
445
773
|
export interface FormDaySelectorValidationError {
|
|
446
774
|
[key: string]: string;
|
|
447
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
|
+
}
|
|
448
782
|
/** Map of rule name to error message */
|
|
449
783
|
export interface FormEmailValidationError {
|
|
450
784
|
[key: string]: string;
|
|
451
785
|
}
|
|
786
|
+
export interface FormFileAllowCameraCapture {
|
|
787
|
+
quality?: number;
|
|
788
|
+
}
|
|
452
789
|
/** Cropper configuration */
|
|
453
790
|
export interface FormFileCropperConfig {
|
|
454
791
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -460,12 +797,17 @@ export interface FormFileDefaultValue {
|
|
|
460
797
|
name?: string;
|
|
461
798
|
content?: string;
|
|
462
799
|
hasError?: boolean;
|
|
800
|
+
isMultipart?: boolean;
|
|
463
801
|
previewUrl?: string;
|
|
464
802
|
progress?: number;
|
|
803
|
+
size?: number;
|
|
465
804
|
tooltipText?: string;
|
|
466
805
|
type?: string;
|
|
467
806
|
url?: string;
|
|
468
807
|
}
|
|
808
|
+
export interface FormFileDropAllowCameraCapture {
|
|
809
|
+
quality?: number;
|
|
810
|
+
}
|
|
469
811
|
/** Cropper configuration */
|
|
470
812
|
export interface FormFileDropCropperConfig {
|
|
471
813
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -505,12 +847,19 @@ export interface FormFileValue {
|
|
|
505
847
|
name?: string;
|
|
506
848
|
content?: string;
|
|
507
849
|
hasError?: boolean;
|
|
850
|
+
isMultipart?: boolean;
|
|
508
851
|
previewUrl?: string;
|
|
509
852
|
progress?: number;
|
|
853
|
+
size?: number;
|
|
510
854
|
tooltipText?: string;
|
|
511
855
|
type?: string;
|
|
512
856
|
url?: string;
|
|
513
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
|
+
}
|
|
514
863
|
/** Main input configuration with type and inputProps */
|
|
515
864
|
export interface FormInputGroupInput {
|
|
516
865
|
inputProps: FormInputGroupInputProp;
|
|
@@ -536,10 +885,22 @@ export interface FormInputGroupValidationError {
|
|
|
536
885
|
export interface FormMaskerValidationError {
|
|
537
886
|
[key: string]: string;
|
|
538
887
|
}
|
|
888
|
+
/** Adds padding characters to the input value */
|
|
889
|
+
export interface FormNumberStringPadding {
|
|
890
|
+
character: string;
|
|
891
|
+
maxLength: number;
|
|
892
|
+
position: 'start' | 'end';
|
|
893
|
+
}
|
|
539
894
|
/** Map of rule name to error message */
|
|
540
895
|
export interface FormNumberValidationError {
|
|
541
896
|
[key: string]: string;
|
|
542
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
|
+
}
|
|
543
904
|
/** Map of rule name to error message */
|
|
544
905
|
export interface FormPasswordValidationError {
|
|
545
906
|
[key: string]: string;
|
|
@@ -548,11 +909,55 @@ export interface FormPasswordValidationError {
|
|
|
548
909
|
export interface FormPercentageValidationError {
|
|
549
910
|
[key: string]: string;
|
|
550
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
|
+
}
|
|
551
956
|
/** Map of rule name to error message */
|
|
552
957
|
export interface FormPhoneValidationError {
|
|
553
958
|
[key: string]: string;
|
|
554
959
|
}
|
|
555
|
-
export interface
|
|
960
|
+
export interface FormRadioList {
|
|
556
961
|
isActive?: boolean;
|
|
557
962
|
isDisabled?: boolean;
|
|
558
963
|
label: string;
|
|
@@ -569,7 +974,7 @@ export interface FormRadioTag {
|
|
|
569
974
|
export interface FormRadioValidationError {
|
|
570
975
|
[key: string]: string;
|
|
571
976
|
}
|
|
572
|
-
export interface
|
|
977
|
+
export interface FormSegmentedControlList {
|
|
573
978
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
574
979
|
'aria-label'?: string;
|
|
575
980
|
icon?: string;
|
|
@@ -578,6 +983,11 @@ export interface FormSegmentedControlOption {
|
|
|
578
983
|
tip?: FormSegmentedControlTip;
|
|
579
984
|
value: string;
|
|
580
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
|
+
}
|
|
581
991
|
/** Tooltip to show on hover for this option */
|
|
582
992
|
export interface FormSegmentedControlTip {
|
|
583
993
|
content: string;
|
|
@@ -598,7 +1008,16 @@ export interface FormSelectAvatarProp {
|
|
|
598
1008
|
image?: string;
|
|
599
1009
|
title?: string;
|
|
600
1010
|
}
|
|
601
|
-
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 {
|
|
602
1021
|
avatarProps?: FormSelectAvatarProp;
|
|
603
1022
|
description?: string;
|
|
604
1023
|
flag?: string;
|
|
@@ -639,6 +1058,7 @@ export interface FormSsnValidationError {
|
|
|
639
1058
|
[key: string]: string;
|
|
640
1059
|
}
|
|
641
1060
|
export interface FormSurveyList {
|
|
1061
|
+
icon?: string;
|
|
642
1062
|
isDisabled?: boolean;
|
|
643
1063
|
label?: string | number;
|
|
644
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';
|
|
@@ -653,6 +1073,23 @@ export interface FormSurveyRangeLabel {
|
|
|
653
1073
|
export interface FormSurveyValidationError {
|
|
654
1074
|
[key: string]: string;
|
|
655
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
|
+
}
|
|
656
1093
|
/** Map of rule name to error message */
|
|
657
1094
|
export interface FormSwitchValidationError {
|
|
658
1095
|
[key: string]: string;
|
|
@@ -661,18 +1098,38 @@ export interface FormSwitchValidationError {
|
|
|
661
1098
|
export interface FormTextareaValidationError {
|
|
662
1099
|
[key: string]: string;
|
|
663
1100
|
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
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;
|
|
667
1110
|
}
|
|
668
1111
|
/** Map of rule name to error message */
|
|
669
1112
|
export interface FormTextAutoSuggestValidationError {
|
|
670
1113
|
[key: string]: string;
|
|
671
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
|
+
}
|
|
672
1121
|
/** Map of rule name to error message */
|
|
673
1122
|
export interface FormTextValidationError {
|
|
674
1123
|
[key: string]: string;
|
|
675
1124
|
}
|
|
1125
|
+
export interface FormTimeShouldAllowTimeSelection {
|
|
1126
|
+
reference?: string;
|
|
1127
|
+
}
|
|
1128
|
+
export interface FormTimeTimezone {
|
|
1129
|
+
name: string;
|
|
1130
|
+
isRequired?: boolean;
|
|
1131
|
+
value?: string;
|
|
1132
|
+
}
|
|
676
1133
|
/** Map of rule name to error message */
|
|
677
1134
|
export interface FormTimeValidationError {
|
|
678
1135
|
[key: string]: string;
|
|
@@ -694,6 +1151,7 @@ export interface FormTreeFuseOption {
|
|
|
694
1151
|
export interface FormTreeList {
|
|
695
1152
|
disabledInfo?: string | FormTreeDisabledInfo;
|
|
696
1153
|
isDisabled?: boolean;
|
|
1154
|
+
isLeaf?: boolean;
|
|
697
1155
|
label: string;
|
|
698
1156
|
parent?: string;
|
|
699
1157
|
secondaryLabel?: string;
|
|
@@ -706,6 +1164,7 @@ export interface FormTreeSelectFuseOption {
|
|
|
706
1164
|
}
|
|
707
1165
|
export interface FormTreeSelectList {
|
|
708
1166
|
isDisabled?: boolean;
|
|
1167
|
+
isLeaf?: boolean;
|
|
709
1168
|
label: string;
|
|
710
1169
|
parent?: string;
|
|
711
1170
|
secondaryLabel?: string;
|
|
@@ -731,6 +1190,16 @@ export interface FormValidationError {
|
|
|
731
1190
|
export interface FormValue {
|
|
732
1191
|
[key: string]: unknown;
|
|
733
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
|
+
}
|
|
734
1203
|
/** Map of rule name to error message */
|
|
735
1204
|
export interface FormWorkEmailValidationError {
|
|
736
1205
|
[key: string]: string;
|
|
@@ -804,8 +1273,12 @@ export interface IconButtonIcon {
|
|
|
804
1273
|
type: string;
|
|
805
1274
|
}
|
|
806
1275
|
export interface IconButtonTip {
|
|
1276
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
807
1277
|
content: string;
|
|
808
|
-
|
|
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';
|
|
809
1282
|
}
|
|
810
1283
|
export interface IconButtonTo {
|
|
811
1284
|
openInNewTab?: boolean;
|
|
@@ -875,6 +1348,16 @@ export interface LabelTip {
|
|
|
875
1348
|
title?: string;
|
|
876
1349
|
truncateClassName?: string;
|
|
877
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
|
+
}
|
|
878
1361
|
/** Structured border using strict token parts */
|
|
879
1362
|
export interface LayoutBorder {
|
|
880
1363
|
color?: 'colorError' | 'colorOutline' | 'colorOutlineVariant' | 'colorSuccess' | 'colorInfo' | 'colorWarning' | 'colorDisabled' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse' | 'colorDisabledInverse';
|
|
@@ -917,6 +1400,18 @@ export interface LayoutValue {
|
|
|
917
1400
|
x?: number;
|
|
918
1401
|
y?: number;
|
|
919
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
|
+
}
|
|
920
1415
|
/** Location object with nickname and address. Required for displaying location information */
|
|
921
1416
|
export interface Location {
|
|
922
1417
|
address: Addres;
|
|
@@ -957,6 +1452,12 @@ export interface MenuListList {
|
|
|
957
1452
|
export interface Metadata {
|
|
958
1453
|
[key: string]: unknown;
|
|
959
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
|
+
}
|
|
960
1461
|
export interface NumberArg {
|
|
961
1462
|
[key: string]: unknown;
|
|
962
1463
|
}
|
|
@@ -987,6 +1488,26 @@ export interface ObjectUIHeaderAvatarProp {
|
|
|
987
1488
|
isRound?: boolean;
|
|
988
1489
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
989
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
|
+
}
|
|
990
1511
|
export interface ObjectUIStatsAction {
|
|
991
1512
|
'aria-label'?: string;
|
|
992
1513
|
'aria-labelledby'?: string;
|
|
@@ -1083,21 +1604,54 @@ export interface PhoneCheck {
|
|
|
1083
1604
|
message: string;
|
|
1084
1605
|
type: string;
|
|
1085
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
|
+
}
|
|
1086
1645
|
/** Pads input value with character until reaching maxLength */
|
|
1087
1646
|
export interface PhoneStringPadding {
|
|
1088
1647
|
character: string;
|
|
1089
1648
|
maxLength: number;
|
|
1090
1649
|
position: 'start' | 'end';
|
|
1091
1650
|
}
|
|
1092
|
-
/**
|
|
1093
|
-
export interface
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
export interface ProductThread {
|
|
1097
|
-
display?: Display;
|
|
1098
|
-
groupId?: string;
|
|
1099
|
-
productId: string;
|
|
1100
|
-
productMetadata?: ProductMetadata;
|
|
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;
|
|
1101
1655
|
}
|
|
1102
1656
|
export interface ProgressStepsStep {
|
|
1103
1657
|
hasError?: boolean;
|
|
@@ -1118,7 +1672,7 @@ export interface RadioCheck {
|
|
|
1118
1672
|
message: string;
|
|
1119
1673
|
type: string;
|
|
1120
1674
|
}
|
|
1121
|
-
export interface
|
|
1675
|
+
export interface RadioList {
|
|
1122
1676
|
isActive?: boolean;
|
|
1123
1677
|
isDisabled?: boolean;
|
|
1124
1678
|
label: string;
|
|
@@ -1143,18 +1697,6 @@ export interface RangeSliderCheck {
|
|
|
1143
1697
|
export interface RangeSliderMark {
|
|
1144
1698
|
[key: string]: string;
|
|
1145
1699
|
}
|
|
1146
|
-
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
1147
|
-
export interface RenderProp {
|
|
1148
|
-
[key: string]: RenderPropValue;
|
|
1149
|
-
}
|
|
1150
|
-
export interface RenderPropValue {
|
|
1151
|
-
isDisabled?: boolean;
|
|
1152
|
-
tip?: DaySelectorTip;
|
|
1153
|
-
}
|
|
1154
|
-
/** Request options passed to the comments API calls. */
|
|
1155
|
-
export interface RequestOption {
|
|
1156
|
-
[key: string]: unknown;
|
|
1157
|
-
}
|
|
1158
1700
|
export interface Role {
|
|
1159
1701
|
fullName?: string;
|
|
1160
1702
|
id?: string;
|
|
@@ -1179,6 +1721,15 @@ export interface SegmentedControlCheck {
|
|
|
1179
1721
|
message: string;
|
|
1180
1722
|
type: string;
|
|
1181
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
|
+
}
|
|
1182
1733
|
export interface SegmentedControlOption {
|
|
1183
1734
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
1184
1735
|
'aria-label'?: string;
|
|
@@ -1226,6 +1777,15 @@ export interface SelectCheck {
|
|
|
1226
1777
|
message: string;
|
|
1227
1778
|
type: string;
|
|
1228
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
|
+
}
|
|
1229
1789
|
export interface SelectEmptyListPlaceholder {
|
|
1230
1790
|
onLoading?: string;
|
|
1231
1791
|
onNoSearchQuery?: string;
|
|
@@ -1240,6 +1800,22 @@ export interface SelectFooter {
|
|
|
1240
1800
|
export interface SelectFuseOption {
|
|
1241
1801
|
[key: string]: unknown;
|
|
1242
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
|
+
}
|
|
1243
1819
|
export interface SelectOption {
|
|
1244
1820
|
avatarProps?: SelectAvatarProp;
|
|
1245
1821
|
description?: string;
|
|
@@ -1285,6 +1861,10 @@ export interface Size {
|
|
|
1285
1861
|
max?: string;
|
|
1286
1862
|
min?: string;
|
|
1287
1863
|
}
|
|
1864
|
+
/** Secondary skip action. Click emits the skip event. */
|
|
1865
|
+
export interface SkipButton {
|
|
1866
|
+
label?: string;
|
|
1867
|
+
}
|
|
1288
1868
|
export interface Slide {
|
|
1289
1869
|
alt?: string;
|
|
1290
1870
|
heading: string;
|
|
@@ -1322,13 +1902,6 @@ export interface StandAloneStep {
|
|
|
1322
1902
|
status?: 'COMPLETE' | 'ERROR' | 'TODO' | 'SKIPPED';
|
|
1323
1903
|
title: string;
|
|
1324
1904
|
}
|
|
1325
|
-
/** Optional state paths written before emitting comment events. */
|
|
1326
|
-
export interface StatePath {
|
|
1327
|
-
commentChainId?: string;
|
|
1328
|
-
lastAddedComment?: string;
|
|
1329
|
-
lastEditedComment?: string;
|
|
1330
|
-
lastRemovedComment?: string;
|
|
1331
|
-
}
|
|
1332
1905
|
/** Avatar configuration to display with the step. Supports image URLs */
|
|
1333
1906
|
export interface StepperAvatar {
|
|
1334
1907
|
imageUrl?: string;
|
|
@@ -1350,6 +1923,7 @@ export interface StepperStep {
|
|
|
1350
1923
|
}
|
|
1351
1924
|
/** Configuration for the form submit button */
|
|
1352
1925
|
export interface SubmitButtonProp {
|
|
1926
|
+
icon?: string | FormIcon;
|
|
1353
1927
|
isDisabled?: boolean;
|
|
1354
1928
|
isFluid?: boolean;
|
|
1355
1929
|
isLoading?: boolean;
|
|
@@ -1360,6 +1934,11 @@ export interface SupportButtonTo {
|
|
|
1360
1934
|
openInNewTab?: boolean;
|
|
1361
1935
|
path: string;
|
|
1362
1936
|
}
|
|
1937
|
+
export interface SupportLink {
|
|
1938
|
+
href?: string;
|
|
1939
|
+
icon?: string;
|
|
1940
|
+
text?: string;
|
|
1941
|
+
}
|
|
1363
1942
|
export interface SurveyArg {
|
|
1364
1943
|
[key: string]: unknown;
|
|
1365
1944
|
}
|
|
@@ -1369,6 +1948,7 @@ export interface SurveyCheck {
|
|
|
1369
1948
|
type: string;
|
|
1370
1949
|
}
|
|
1371
1950
|
export interface SurveyList {
|
|
1951
|
+
icon?: string;
|
|
1372
1952
|
isDisabled?: boolean;
|
|
1373
1953
|
label?: string | number;
|
|
1374
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';
|
|
@@ -1387,6 +1967,10 @@ export interface SwitchCheck {
|
|
|
1387
1967
|
message: string;
|
|
1388
1968
|
type: string;
|
|
1389
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
|
+
}
|
|
1390
1974
|
/** Badge to display on the tab */
|
|
1391
1975
|
export interface TabBadge {
|
|
1392
1976
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
@@ -1394,12 +1978,18 @@ export interface TabBadge {
|
|
|
1394
1978
|
}
|
|
1395
1979
|
export interface TabItem {
|
|
1396
1980
|
badge?: TabBadge;
|
|
1397
|
-
|
|
1981
|
+
href?: string;
|
|
1398
1982
|
icon?: string;
|
|
1399
|
-
|
|
1983
|
+
isDisabled?: boolean;
|
|
1400
1984
|
tip?: string | TabTip;
|
|
1985
|
+
title: string;
|
|
1401
1986
|
value: unknown;
|
|
1402
1987
|
}
|
|
1988
|
+
export interface TabList {
|
|
1989
|
+
badge?: TabBadge;
|
|
1990
|
+
links?: LinkValue[];
|
|
1991
|
+
title: string;
|
|
1992
|
+
}
|
|
1403
1993
|
export interface TabTip {
|
|
1404
1994
|
content: string;
|
|
1405
1995
|
testId?: string;
|
|
@@ -1420,16 +2010,20 @@ export interface TextAutoSuggestCheck {
|
|
|
1420
2010
|
message: string;
|
|
1421
2011
|
type: string;
|
|
1422
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
|
+
}
|
|
1423
2021
|
/** Pads input value with character until reaching maxLength */
|
|
1424
2022
|
export interface TextAutoSuggestStringPadding {
|
|
1425
2023
|
character: string;
|
|
1426
2024
|
maxLength: number;
|
|
1427
2025
|
position: 'start' | 'end';
|
|
1428
2026
|
}
|
|
1429
|
-
export interface TextAutoSuggestSuggestion {
|
|
1430
|
-
label: string;
|
|
1431
|
-
value: string | number;
|
|
1432
|
-
}
|
|
1433
2027
|
export interface TextInputArg {
|
|
1434
2028
|
[key: string]: unknown;
|
|
1435
2029
|
}
|
|
@@ -1464,6 +2058,17 @@ export interface TimeRangeCheck {
|
|
|
1464
2058
|
message: string;
|
|
1465
2059
|
type: string;
|
|
1466
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
|
+
}
|
|
1467
2072
|
export interface TimezoneArg {
|
|
1468
2073
|
[key: string]: unknown;
|
|
1469
2074
|
}
|
|
@@ -1472,11 +2077,9 @@ export interface TimezoneCheck {
|
|
|
1472
2077
|
message: string;
|
|
1473
2078
|
type: string;
|
|
1474
2079
|
}
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
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';
|
|
1479
|
-
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
2080
|
+
export interface Title {
|
|
2081
|
+
kind: 'BREADCRUMB';
|
|
2082
|
+
props: DrawerProp;
|
|
1480
2083
|
}
|
|
1481
2084
|
export interface TreeArg {
|
|
1482
2085
|
[key: string]: unknown;
|
|
@@ -1503,6 +2106,7 @@ export interface TreeFuseOption {
|
|
|
1503
2106
|
export interface TreeList {
|
|
1504
2107
|
disabledInfo?: string | TreeDisabledInfo;
|
|
1505
2108
|
isDisabled?: boolean;
|
|
2109
|
+
isLeaf?: boolean;
|
|
1506
2110
|
label: string;
|
|
1507
2111
|
parent?: string;
|
|
1508
2112
|
secondaryLabel?: string;
|
|
@@ -1523,6 +2127,7 @@ export interface TreeSelectFuseOption {
|
|
|
1523
2127
|
}
|
|
1524
2128
|
export interface TreeSelectList {
|
|
1525
2129
|
isDisabled?: boolean;
|
|
2130
|
+
isLeaf?: boolean;
|
|
1526
2131
|
label: string;
|
|
1527
2132
|
parent?: string;
|
|
1528
2133
|
secondaryLabel?: string;
|
|
@@ -1563,20 +2168,25 @@ export interface WorkEmailCheck {
|
|
|
1563
2168
|
message: string;
|
|
1564
2169
|
type: string;
|
|
1565
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
|
+
}
|
|
1566
2181
|
export interface ActionCardProps {
|
|
1567
2182
|
alignment?: 'LEFT' | 'CENTER' | 'RIGHT';
|
|
1568
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';
|
|
1569
|
-
caption: string;
|
|
2184
|
+
caption: string | number;
|
|
1570
2185
|
icon?: string;
|
|
1571
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';
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
primaryActionTo?: string | ActionCardPrimaryActionTo;
|
|
1576
|
-
secondaryActionIcon?: string;
|
|
1577
|
-
secondaryActionIsDisabled?: boolean;
|
|
1578
|
-
secondaryActionTitle?: string;
|
|
1579
|
-
secondaryActionTo?: string | ActionCardSecondaryActionTo;
|
|
2187
|
+
padding?: ActionCardPadding;
|
|
2188
|
+
primaryAction?: ActionCardPrimaryAction;
|
|
2189
|
+
secondaryAction?: ActionCardSecondaryAction;
|
|
1580
2190
|
shouldShowAsset?: boolean;
|
|
1581
2191
|
title?: string;
|
|
1582
2192
|
}
|
|
@@ -1584,24 +2194,15 @@ export interface AiIconProps {
|
|
|
1584
2194
|
'aria-label'?: string;
|
|
1585
2195
|
showText?: boolean;
|
|
1586
2196
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1587
|
-
testId?: string;
|
|
1588
2197
|
}
|
|
1589
2198
|
export interface AlertProps {
|
|
1590
|
-
|
|
2199
|
+
description?: string;
|
|
2200
|
+
isCloseable?: boolean;
|
|
1591
2201
|
isFluid?: boolean;
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
primaryActionIsDisabled?: boolean;
|
|
1595
|
-
primaryActionShouldShowSpinner?: boolean;
|
|
1596
|
-
primaryActionTitle?: string;
|
|
1597
|
-
primaryActionTo?: string | AlertPrimaryActionTo;
|
|
1598
|
-
secondaryActionIcon?: string;
|
|
1599
|
-
secondaryActionIsDisabled?: boolean;
|
|
1600
|
-
secondaryActionShouldShowSpinner?: boolean;
|
|
1601
|
-
secondaryActionTitle?: string;
|
|
1602
|
-
secondaryActionTo?: string | AlertSecondaryActionTo;
|
|
2202
|
+
primaryAction?: AlertPrimaryAction;
|
|
2203
|
+
secondaryAction?: AlertSecondaryAction;
|
|
1603
2204
|
title?: string;
|
|
1604
|
-
type?: '
|
|
2205
|
+
type?: 'Info' | 'Success' | 'Warning' | 'Error' | 'Neutral';
|
|
1605
2206
|
}
|
|
1606
2207
|
export interface AnimationProps {
|
|
1607
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';
|
|
@@ -1635,9 +2236,9 @@ export interface AppGroupSelectProps {
|
|
|
1635
2236
|
isRequired?: boolean;
|
|
1636
2237
|
isSearchable?: boolean;
|
|
1637
2238
|
label?: string;
|
|
2239
|
+
list?: AppGroupSelectList | AppGroupSelectList[];
|
|
1638
2240
|
maxHeight?: string | number;
|
|
1639
2241
|
maxTruncationLines?: number;
|
|
1640
|
-
options?: AppGroupSelectOption | AppGroupSelectOption[];
|
|
1641
2242
|
placeholder?: string;
|
|
1642
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';
|
|
1643
2244
|
rows?: number;
|
|
@@ -1675,17 +2276,16 @@ export interface AvatarProps {
|
|
|
1675
2276
|
'aria-label'?: string;
|
|
1676
2277
|
'aria-labelledby'?: string;
|
|
1677
2278
|
'aria-role'?: string;
|
|
1678
|
-
|
|
1679
|
-
badgeChar?: string;
|
|
2279
|
+
badge?: AvatarBadge;
|
|
1680
2280
|
caption?: string;
|
|
1681
2281
|
flagCountryCode?: string;
|
|
1682
|
-
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';
|
|
1683
2282
|
icon?: string | AvatarIcon;
|
|
1684
2283
|
image?: string;
|
|
1685
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';
|
|
1686
2285
|
isCompact?: boolean;
|
|
1687
2286
|
isRounded?: boolean;
|
|
1688
|
-
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';
|
|
1689
2289
|
tip?: AvatarTip;
|
|
1690
2290
|
title?: string;
|
|
1691
2291
|
to?: string | AvatarTo;
|
|
@@ -1693,20 +2293,22 @@ export interface AvatarProps {
|
|
|
1693
2293
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1694
2294
|
}
|
|
1695
2295
|
export interface AvatarListProps {
|
|
2296
|
+
'aria-describedby'?: string;
|
|
2297
|
+
'aria-label'?: string;
|
|
2298
|
+
'aria-labelledby'?: string;
|
|
1696
2299
|
isRounded?: boolean;
|
|
1697
2300
|
limit?: number;
|
|
1698
2301
|
modalTitle?: string;
|
|
1699
2302
|
roles?: Role[];
|
|
1700
|
-
size?:
|
|
2303
|
+
size?: 24 | 32 | 40 | 56 | 64;
|
|
1701
2304
|
totalCount?: number;
|
|
1702
2305
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1703
2306
|
}
|
|
1704
2307
|
export interface BadgeProps {
|
|
1705
2308
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
size?: '
|
|
1709
|
-
testId?: string;
|
|
2309
|
+
'aria-hidden'?: boolean;
|
|
2310
|
+
'aria-label'?: string;
|
|
2311
|
+
size?: 'EXTRA_SMALL' | 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1710
2312
|
text: string;
|
|
1711
2313
|
tip?: BadgeTip;
|
|
1712
2314
|
}
|
|
@@ -1751,6 +2353,9 @@ export interface BrandBadgeProps {
|
|
|
1751
2353
|
}
|
|
1752
2354
|
export interface BreadcrumbProps {
|
|
1753
2355
|
active?: string;
|
|
2356
|
+
'aria-describedby'?: string;
|
|
2357
|
+
'aria-label'?: string;
|
|
2358
|
+
'aria-labelledby'?: string;
|
|
1754
2359
|
items: BreadcrumbItem[];
|
|
1755
2360
|
noMargin?: boolean;
|
|
1756
2361
|
shouldCollapseMiddle?: boolean;
|
|
@@ -1775,7 +2380,6 @@ export interface ButtonProps {
|
|
|
1775
2380
|
shouldShowSpinner?: boolean;
|
|
1776
2381
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1777
2382
|
tabIndex?: number;
|
|
1778
|
-
testId?: string;
|
|
1779
2383
|
tip?: string | ButtonTip;
|
|
1780
2384
|
to?: string | ButtonTo;
|
|
1781
2385
|
type?: 'button' | 'reset' | 'submit';
|
|
@@ -1789,15 +2393,17 @@ export interface ButtonGroupProps {
|
|
|
1789
2393
|
placement?: 'horizontallyLeft' | 'horizontallyCenter' | 'horizontallyRight' | 'horizontallySpaceBetween' | 'verticallyTop' | 'verticallyCenter' | 'verticallyBottom' | 'verticallySpaceBetween';
|
|
1790
2394
|
}
|
|
1791
2395
|
export interface CalendarProps {
|
|
2396
|
+
displayDate?: string;
|
|
1792
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';
|
|
1793
2398
|
isDisabled?: boolean;
|
|
1794
2399
|
isLarge?: boolean;
|
|
2400
|
+
locale?: string;
|
|
1795
2401
|
maxDate?: string;
|
|
1796
2402
|
minDate?: string;
|
|
1797
2403
|
shouldShowFooter?: boolean;
|
|
1798
2404
|
shouldShowHeader?: boolean | ShouldShowHeader;
|
|
1799
2405
|
shouldShowWeekDayInitials?: boolean;
|
|
1800
|
-
|
|
2406
|
+
showMonthYearPicker?: boolean;
|
|
1801
2407
|
value?: string | string[];
|
|
1802
2408
|
}
|
|
1803
2409
|
export interface CardProps {
|
|
@@ -1807,9 +2413,11 @@ export interface CardProps {
|
|
|
1807
2413
|
isAddCard?: boolean;
|
|
1808
2414
|
isDisabled?: boolean;
|
|
1809
2415
|
minCardHeight?: number;
|
|
2416
|
+
padding?: 0 | 8 | 16 | 24 | 32 | string;
|
|
1810
2417
|
selectedActionId?: string;
|
|
1811
2418
|
showDelete?: boolean;
|
|
1812
2419
|
showEdit?: boolean;
|
|
2420
|
+
theme?: 'DEFAULT' | 'SELECTABLE';
|
|
1813
2421
|
title?: string;
|
|
1814
2422
|
to?: string | CardTo;
|
|
1815
2423
|
value?: unknown;
|
|
@@ -1855,7 +2463,7 @@ export interface CheckboxGroupProps {
|
|
|
1855
2463
|
isReadOnly?: boolean;
|
|
1856
2464
|
isRequired?: boolean;
|
|
1857
2465
|
label?: string;
|
|
1858
|
-
|
|
2466
|
+
list?: CheckboxGroupList[];
|
|
1859
2467
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
1860
2468
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1861
2469
|
value?: unknown[];
|
|
@@ -1883,11 +2491,11 @@ export interface ChipProps {
|
|
|
1883
2491
|
avatar?: string | ChipAvatar;
|
|
1884
2492
|
icon?: string | ChipIcon;
|
|
1885
2493
|
isActive?: boolean;
|
|
2494
|
+
isCloseable?: boolean;
|
|
1886
2495
|
isDisabled?: boolean;
|
|
1887
|
-
isDismissible?: boolean;
|
|
1888
2496
|
isFluid?: boolean;
|
|
1889
2497
|
maxWidth?: number;
|
|
1890
|
-
size?: '
|
|
2498
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1891
2499
|
text?: string;
|
|
1892
2500
|
tip?: ChipTip;
|
|
1893
2501
|
to?: string | ChipTo;
|
|
@@ -1896,8 +2504,8 @@ export interface ChipGroupProps {
|
|
|
1896
2504
|
batchSize?: number;
|
|
1897
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';
|
|
1898
2506
|
maxLinesToWrap?: number;
|
|
2507
|
+
overflowModalIsOpen?: boolean;
|
|
1899
2508
|
overflowModalTitle?: string;
|
|
1900
|
-
testId?: string;
|
|
1901
2509
|
}
|
|
1902
2510
|
export interface CircleProps {
|
|
1903
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';
|
|
@@ -1922,29 +2530,6 @@ export interface ColorPickerProps {
|
|
|
1922
2530
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1923
2531
|
value?: string;
|
|
1924
2532
|
}
|
|
1925
|
-
export interface CommentsProps {
|
|
1926
|
-
commentsOrder?: 'NEWEST_FIRST' | 'OLDEST_FIRST';
|
|
1927
|
-
dataTestId?: string;
|
|
1928
|
-
enableReactions?: boolean;
|
|
1929
|
-
groupId?: string;
|
|
1930
|
-
headerText?: string;
|
|
1931
|
-
hideNewCommentEditor?: boolean;
|
|
1932
|
-
maxHeight?: string | number;
|
|
1933
|
-
productId?: string;
|
|
1934
|
-
productMetadata?: ProductMetadata;
|
|
1935
|
-
productName: string;
|
|
1936
|
-
productSubCategory?: string;
|
|
1937
|
-
productThreads?: ProductThread[];
|
|
1938
|
-
readOnly?: boolean;
|
|
1939
|
-
requestOptions?: RequestOption;
|
|
1940
|
-
rumExcluded?: boolean;
|
|
1941
|
-
scrollToTop?: boolean;
|
|
1942
|
-
showHeaderText?: boolean;
|
|
1943
|
-
showInlineAttachments?: boolean;
|
|
1944
|
-
showUnreadCountBadge?: boolean;
|
|
1945
|
-
statePaths?: StatePath;
|
|
1946
|
-
theme?: 'NO_BORDER_AND_PADDING';
|
|
1947
|
-
}
|
|
1948
2533
|
export interface ContentLoaderProps {
|
|
1949
2534
|
animate?: boolean;
|
|
1950
2535
|
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';
|
|
@@ -1968,7 +2553,7 @@ export interface CountryProps {
|
|
|
1968
2553
|
onlyFlag?: boolean;
|
|
1969
2554
|
shouldShowFlag?: boolean;
|
|
1970
2555
|
shouldShowTipOnOverflow?: boolean;
|
|
1971
|
-
size?: '
|
|
2556
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1972
2557
|
}
|
|
1973
2558
|
export interface CurrencyProps {
|
|
1974
2559
|
name?: string;
|
|
@@ -1980,10 +2565,9 @@ export interface CurrencyProps {
|
|
|
1980
2565
|
autoFocus?: boolean;
|
|
1981
2566
|
canSelectCurrencyType?: boolean;
|
|
1982
2567
|
checks?: CurrencyCheck[];
|
|
1983
|
-
|
|
1984
|
-
currencyTypeDefaultValue?: string;
|
|
2568
|
+
currencyTypeProps?: CurrencyCurrencyTypeProp;
|
|
1985
2569
|
decimalPlaces?: number;
|
|
1986
|
-
defaultValue?: string | number;
|
|
2570
|
+
defaultValue?: string | number | CurrencyDefaultValue;
|
|
1987
2571
|
isDisabled?: boolean;
|
|
1988
2572
|
isIntegerOnly?: boolean;
|
|
1989
2573
|
isReadOnly?: boolean;
|
|
@@ -2000,10 +2584,11 @@ export interface CurrencyProps {
|
|
|
2000
2584
|
shouldAllowCalculation?: boolean;
|
|
2001
2585
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
2002
2586
|
shouldLocalize?: boolean;
|
|
2587
|
+
shouldSendCurrencyType?: boolean;
|
|
2003
2588
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2004
2589
|
step?: number;
|
|
2005
2590
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2006
|
-
value?: string | number;
|
|
2591
|
+
value?: string | number | CurrencyValue;
|
|
2007
2592
|
}
|
|
2008
2593
|
export interface DateProps {
|
|
2009
2594
|
name?: string;
|
|
@@ -2013,6 +2598,7 @@ export interface DateProps {
|
|
|
2013
2598
|
'aria-labelledby'?: string;
|
|
2014
2599
|
canClear?: boolean;
|
|
2015
2600
|
checks?: DateCheck[];
|
|
2601
|
+
defaultValue?: string;
|
|
2016
2602
|
divider?: string;
|
|
2017
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';
|
|
2018
2604
|
hideStepper?: boolean;
|
|
@@ -2033,6 +2619,7 @@ export interface DateProps {
|
|
|
2033
2619
|
shouldShowTime?: boolean;
|
|
2034
2620
|
shouldShowTimezoneLabel?: boolean;
|
|
2035
2621
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2622
|
+
theme?: 'NO_BOX';
|
|
2036
2623
|
timeProps?: TimeProp;
|
|
2037
2624
|
timezone?: string;
|
|
2038
2625
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
@@ -2041,6 +2628,7 @@ export interface DateProps {
|
|
|
2041
2628
|
export interface DateInlineMultiProps {
|
|
2042
2629
|
name?: string;
|
|
2043
2630
|
checks?: DateInlineMultiCheck[];
|
|
2631
|
+
defaultValue?: string[];
|
|
2044
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';
|
|
2045
2633
|
isDisabled?: boolean;
|
|
2046
2634
|
isReadOnly?: boolean;
|
|
@@ -2060,10 +2648,12 @@ export interface DateRangeProps {
|
|
|
2060
2648
|
'aria-labelledby'?: string;
|
|
2061
2649
|
canClear?: boolean;
|
|
2062
2650
|
checks?: DateRangeCheck[];
|
|
2651
|
+
defaultValue?: string[];
|
|
2063
2652
|
divider?: string;
|
|
2064
2653
|
endDateLabel?: string;
|
|
2065
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';
|
|
2066
2655
|
hideStepper?: boolean;
|
|
2656
|
+
id?: string;
|
|
2067
2657
|
isCalendarDefaultOpen?: boolean;
|
|
2068
2658
|
isDisabled?: boolean;
|
|
2069
2659
|
isLarge?: boolean;
|
|
@@ -2080,6 +2670,7 @@ export interface DateRangeProps {
|
|
|
2080
2670
|
shouldShowTimezoneLabel?: boolean;
|
|
2081
2671
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2082
2672
|
startDateLabel?: string;
|
|
2673
|
+
theme?: 'NO_BOX';
|
|
2083
2674
|
timezone?: string;
|
|
2084
2675
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2085
2676
|
value?: string[];
|
|
@@ -2092,7 +2683,7 @@ export interface DaySelectorProps {
|
|
|
2092
2683
|
isReadOnly?: boolean;
|
|
2093
2684
|
isRequired?: boolean;
|
|
2094
2685
|
label?: string;
|
|
2095
|
-
renderProps?:
|
|
2686
|
+
renderProps?: DaySelectorRenderProp;
|
|
2096
2687
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2097
2688
|
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
2098
2689
|
}
|
|
@@ -2116,6 +2707,7 @@ export interface DraggableListProps {
|
|
|
2116
2707
|
limitDragToDragIcon?: boolean;
|
|
2117
2708
|
list: DraggableListList[];
|
|
2118
2709
|
showDragIcon?: boolean;
|
|
2710
|
+
tip?: DraggableListTip;
|
|
2119
2711
|
width?: string;
|
|
2120
2712
|
}
|
|
2121
2713
|
export interface DrawerProps {
|
|
@@ -2128,21 +2720,23 @@ export interface DrawerProps {
|
|
|
2128
2720
|
shouldCloseOnEscape?: boolean;
|
|
2129
2721
|
shouldNotAnimate?: boolean;
|
|
2130
2722
|
theme?: 'BACKGROUND_V2_GRAY' | 'GRAY' | 'NO_PADDING';
|
|
2131
|
-
title?: string;
|
|
2723
|
+
title?: string | Title;
|
|
2132
2724
|
width?: string | number;
|
|
2133
2725
|
}
|
|
2134
2726
|
export interface DropdownProps {
|
|
2135
|
-
defaultValue?:
|
|
2727
|
+
defaultValue?: unknown;
|
|
2728
|
+
dropdownIsOpen?: boolean;
|
|
2729
|
+
footer?: DropdownFooter;
|
|
2136
2730
|
isCompact?: boolean;
|
|
2137
2731
|
isDisabled?: boolean;
|
|
2138
|
-
list: DropdownList2[];
|
|
2732
|
+
list: DropdownList2 | DropdownList2 | DropdownList2[];
|
|
2139
2733
|
maxHeight?: number;
|
|
2140
2734
|
placement?: 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'left-start' | 'left' | 'left-end' | 'right-start' | 'right' | 'right-end';
|
|
2141
2735
|
searchable?: boolean;
|
|
2142
2736
|
shouldAutoClose?: boolean;
|
|
2143
2737
|
shouldCloseOnScroll?: boolean;
|
|
2144
2738
|
triggerLabel: string;
|
|
2145
|
-
value?:
|
|
2739
|
+
value?: unknown;
|
|
2146
2740
|
width?: number;
|
|
2147
2741
|
}
|
|
2148
2742
|
export interface EmailProps {
|
|
@@ -2175,8 +2769,8 @@ export interface EmailProps {
|
|
|
2175
2769
|
shrinkToValue?: boolean;
|
|
2176
2770
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2177
2771
|
spellCheck?: boolean;
|
|
2772
|
+
stringPadding?: EmailStringPadding;
|
|
2178
2773
|
suffix?: string;
|
|
2179
|
-
testId?: string;
|
|
2180
2774
|
theme?: string;
|
|
2181
2775
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2182
2776
|
value?: string;
|
|
@@ -2184,32 +2778,31 @@ export interface EmailProps {
|
|
|
2184
2778
|
export interface EmojiPickerProps {
|
|
2185
2779
|
autoFocus?: boolean;
|
|
2186
2780
|
categories?: 'frequent' | 'people' | 'nature' | 'foods' | 'activity' | 'places' | 'objects' | 'symbols' | 'flags'[];
|
|
2781
|
+
excludeIds?: string[];
|
|
2187
2782
|
fluid?: boolean;
|
|
2188
2783
|
height?: string;
|
|
2189
2784
|
inline?: boolean;
|
|
2190
2785
|
minHeight?: string;
|
|
2191
2786
|
minWidth?: string;
|
|
2192
|
-
|
|
2787
|
+
popperProps?: PopperProp;
|
|
2788
|
+
preventCloseOnSelect?: boolean;
|
|
2789
|
+
selectedEmoji?: SelectedEmoji;
|
|
2790
|
+
triggerIcon?: string;
|
|
2193
2791
|
width?: string;
|
|
2194
2792
|
}
|
|
2195
2793
|
export interface EmployeeSearchProps {
|
|
2196
|
-
name?: string;
|
|
2197
2794
|
canClear?: boolean;
|
|
2198
2795
|
defaultValue?: string | string[];
|
|
2199
|
-
enableEmptySearch?: boolean;
|
|
2200
|
-
helperMessage?: string;
|
|
2201
2796
|
isDisabled?: boolean;
|
|
2202
|
-
isInfiniteScroll?: boolean;
|
|
2203
2797
|
isMulti?: boolean;
|
|
2798
|
+
isReadOnly?: boolean;
|
|
2204
2799
|
isRequired?: boolean;
|
|
2205
|
-
|
|
2800
|
+
label?: string;
|
|
2206
2801
|
placeholder?: string;
|
|
2207
|
-
|
|
2802
|
+
roleIdsToExclude?: string[];
|
|
2208
2803
|
roleIdsToInclude?: string[];
|
|
2209
|
-
roleTypes?: 'ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | '
|
|
2210
|
-
shouldShowSearchIcon?: boolean;
|
|
2804
|
+
roleTypes?: 'ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | 'TERMINATED'[];
|
|
2211
2805
|
tip?: string;
|
|
2212
|
-
title?: string;
|
|
2213
2806
|
value?: string | string[];
|
|
2214
2807
|
}
|
|
2215
2808
|
export interface ExpansionPanelProps {
|
|
@@ -2224,6 +2817,7 @@ export interface ExpansionPanelProps {
|
|
|
2224
2817
|
shouldNotUnmountChild?: boolean;
|
|
2225
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';
|
|
2226
2819
|
title: string;
|
|
2820
|
+
toggleIcon?: ExpansionPanelToggleIcon;
|
|
2227
2821
|
}
|
|
2228
2822
|
export interface ExpansionPanelGroupProps {
|
|
2229
2823
|
isSingleOpen?: boolean;
|
|
@@ -2240,6 +2834,11 @@ export interface FieldProps {
|
|
|
2240
2834
|
}
|
|
2241
2835
|
export interface FileProps {
|
|
2242
2836
|
name?: string;
|
|
2837
|
+
allowCameraCapture?: boolean | FileAllowCameraCapture;
|
|
2838
|
+
clickedFile?: ClickedFile;
|
|
2839
|
+
cropperConfig?: FileCropperConfig;
|
|
2840
|
+
defaultValue?: FileDefaultValue[];
|
|
2841
|
+
icon?: string;
|
|
2243
2842
|
isDisabled?: boolean;
|
|
2244
2843
|
isInvalid?: boolean;
|
|
2245
2844
|
isReadOnly?: boolean;
|
|
@@ -2251,10 +2850,11 @@ export interface FileProps {
|
|
|
2251
2850
|
showProgress?: boolean;
|
|
2252
2851
|
supportTypes?: string[];
|
|
2253
2852
|
type?: 'DEFAULT' | 'RECEIPT';
|
|
2853
|
+
value?: FileValue[];
|
|
2254
2854
|
}
|
|
2255
2855
|
export interface FileDropProps {
|
|
2256
2856
|
name?: string;
|
|
2257
|
-
allowCameraCapture?: boolean;
|
|
2857
|
+
allowCameraCapture?: boolean | FileDropAllowCameraCapture;
|
|
2258
2858
|
'aria-describedby'?: string;
|
|
2259
2859
|
'aria-label'?: string;
|
|
2260
2860
|
'aria-labelledby'?: string;
|
|
@@ -2270,10 +2870,12 @@ export interface FileDropProps {
|
|
|
2270
2870
|
label?: string;
|
|
2271
2871
|
maxFileSize?: number;
|
|
2272
2872
|
maxTotalFileSize?: number;
|
|
2873
|
+
metadata?: unknown;
|
|
2874
|
+
module?: string;
|
|
2273
2875
|
multiPartUpload?: boolean;
|
|
2274
2876
|
multiple?: boolean;
|
|
2275
2877
|
placeholder?: string;
|
|
2276
|
-
supportTypes?:
|
|
2878
|
+
supportTypes?: string[];
|
|
2277
2879
|
type?: 'upload' | 'content';
|
|
2278
2880
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2279
2881
|
value?: FileDropValue[];
|
|
@@ -2294,7 +2896,6 @@ export interface FloatingButtonProps {
|
|
|
2294
2896
|
shouldShowSpinner?: boolean;
|
|
2295
2897
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2296
2898
|
tabIndex?: number;
|
|
2297
|
-
testId?: string;
|
|
2298
2899
|
tip?: string | FloatingButtonTip;
|
|
2299
2900
|
to?: string | FloatingButtonTo;
|
|
2300
2901
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -2302,7 +2903,7 @@ export interface FloatingButtonProps {
|
|
|
2302
2903
|
export interface FormProps {
|
|
2303
2904
|
bottomPadding?: boolean;
|
|
2304
2905
|
caption?: string;
|
|
2305
|
-
editButton?: boolean;
|
|
2906
|
+
editButton?: boolean | EditButton;
|
|
2306
2907
|
inlineLabel?: boolean;
|
|
2307
2908
|
isDefaultEdit?: boolean;
|
|
2308
2909
|
isDisabled?: boolean;
|
|
@@ -2316,6 +2917,8 @@ export interface FormProps {
|
|
|
2316
2917
|
shouldStopFormPropagation?: boolean;
|
|
2317
2918
|
shouldTriggerChangeOnInputUnmount?: boolean;
|
|
2318
2919
|
shouldTrimOnSubmit?: boolean;
|
|
2920
|
+
skipButton?: SkipButton;
|
|
2921
|
+
submitButtonLabel?: string;
|
|
2319
2922
|
submitButtonProps?: SubmitButtonProp;
|
|
2320
2923
|
successMessage?: string;
|
|
2321
2924
|
theme?: 'NO_CARD' | 'NO_MARGIN_Y' | 'V2';
|
|
@@ -2328,12 +2931,15 @@ export interface FormCheckboxProps {
|
|
|
2328
2931
|
name: string;
|
|
2329
2932
|
defaultValue?: boolean;
|
|
2330
2933
|
isDisabled?: boolean;
|
|
2934
|
+
isIndeterminate?: boolean;
|
|
2331
2935
|
isReadOnly?: boolean;
|
|
2332
2936
|
isRequired?: boolean;
|
|
2333
2937
|
label?: string;
|
|
2334
2938
|
secondaryLabel?: string;
|
|
2939
|
+
shouldPreventFocus?: boolean;
|
|
2335
2940
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2336
2941
|
tip?: string;
|
|
2942
|
+
title?: string;
|
|
2337
2943
|
validationErrors?: FormCheckboxValidationError;
|
|
2338
2944
|
validations?: string;
|
|
2339
2945
|
value?: boolean;
|
|
@@ -2342,12 +2948,13 @@ export interface FormCheckboxProps {
|
|
|
2342
2948
|
export interface FormCheckboxGroupProps {
|
|
2343
2949
|
name: string;
|
|
2344
2950
|
defaultValue?: unknown[];
|
|
2951
|
+
id?: string;
|
|
2345
2952
|
isDisabled?: boolean;
|
|
2346
2953
|
isHorizontal?: boolean;
|
|
2347
2954
|
isReadOnly?: boolean;
|
|
2348
2955
|
isRequired?: boolean;
|
|
2349
2956
|
label?: string;
|
|
2350
|
-
|
|
2957
|
+
list: FormCheckboxGroupList[];
|
|
2351
2958
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2352
2959
|
validationErrors?: FormCheckboxGroupValidationError;
|
|
2353
2960
|
validations?: string;
|
|
@@ -2360,22 +2967,28 @@ export interface FormContentProps {
|
|
|
2360
2967
|
export interface FormCurrencyProps {
|
|
2361
2968
|
name: string;
|
|
2362
2969
|
allowNegative?: boolean;
|
|
2970
|
+
canSelectCurrencyType?: boolean;
|
|
2971
|
+
currencyTypeProps?: FormCurrencyCurrencyTypeProp;
|
|
2363
2972
|
decimalPlaces?: number;
|
|
2364
|
-
defaultValue?: number;
|
|
2973
|
+
defaultValue?: string | number | FormCurrencyDefaultValue;
|
|
2365
2974
|
isDisabled?: boolean;
|
|
2366
2975
|
isReadOnly?: boolean;
|
|
2367
2976
|
isRequired?: boolean;
|
|
2368
2977
|
label?: string;
|
|
2978
|
+
locale?: string;
|
|
2979
|
+
placeholder?: string;
|
|
2369
2980
|
prefix?: string;
|
|
2981
|
+
shouldSendCurrencyType?: boolean;
|
|
2370
2982
|
validationErrors?: FormCurrencyValidationError;
|
|
2371
2983
|
validations?: string;
|
|
2372
|
-
value?:
|
|
2984
|
+
value?: string | number | FormCurrencyValue;
|
|
2373
2985
|
}
|
|
2374
2986
|
export interface FormDateProps {
|
|
2375
2987
|
name: string;
|
|
2376
2988
|
canClear?: boolean;
|
|
2377
2989
|
defaultValue?: string;
|
|
2378
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;
|
|
2379
2992
|
isDisabled?: boolean;
|
|
2380
2993
|
isReadOnly?: boolean;
|
|
2381
2994
|
isRequired?: boolean;
|
|
@@ -2383,8 +2996,10 @@ export interface FormDateProps {
|
|
|
2383
2996
|
locale?: string;
|
|
2384
2997
|
maxDate?: string;
|
|
2385
2998
|
minDate?: string;
|
|
2999
|
+
shouldLocalize?: boolean;
|
|
2386
3000
|
shouldShowTime?: boolean;
|
|
2387
3001
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3002
|
+
theme?: 'NO_BOX';
|
|
2388
3003
|
timezone?: string;
|
|
2389
3004
|
tip?: string;
|
|
2390
3005
|
validationErrors?: FormDateValidationError;
|
|
@@ -2400,6 +3015,7 @@ export interface FormDateRangeProps {
|
|
|
2400
3015
|
endDateLabel?: string;
|
|
2401
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';
|
|
2402
3017
|
hideStepper?: boolean;
|
|
3018
|
+
id?: string;
|
|
2403
3019
|
isCalendarDefaultOpen?: boolean;
|
|
2404
3020
|
isDisabled?: boolean;
|
|
2405
3021
|
isLarge?: boolean;
|
|
@@ -2415,6 +3031,7 @@ export interface FormDateRangeProps {
|
|
|
2415
3031
|
shouldShowTimezoneLabel?: boolean;
|
|
2416
3032
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2417
3033
|
startDateLabel?: string;
|
|
3034
|
+
theme?: 'NO_BOX';
|
|
2418
3035
|
timezone?: string;
|
|
2419
3036
|
tip?: string;
|
|
2420
3037
|
validationErrors?: FormDateRangeValidationError;
|
|
@@ -2429,12 +3046,14 @@ export interface FormDaySelectorProps {
|
|
|
2429
3046
|
isReadOnly?: boolean;
|
|
2430
3047
|
isRequired?: boolean;
|
|
2431
3048
|
label?: string;
|
|
3049
|
+
renderProps?: FormDaySelectorRenderProp;
|
|
2432
3050
|
validationErrors?: FormDaySelectorValidationError;
|
|
2433
3051
|
validations?: string;
|
|
2434
3052
|
value?: unknown;
|
|
2435
3053
|
}
|
|
2436
3054
|
export interface FormEmailProps {
|
|
2437
3055
|
name: string;
|
|
3056
|
+
autoComplete?: string;
|
|
2438
3057
|
defaultValue?: string;
|
|
2439
3058
|
isDisabled?: boolean;
|
|
2440
3059
|
isReadOnly?: boolean;
|
|
@@ -2442,14 +3061,32 @@ export interface FormEmailProps {
|
|
|
2442
3061
|
label?: string;
|
|
2443
3062
|
maxLength?: number;
|
|
2444
3063
|
placeholder?: string;
|
|
3064
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3065
|
+
stringPadding?: FormEmailStringPadding;
|
|
2445
3066
|
tip?: string;
|
|
2446
3067
|
validationErrors?: FormEmailValidationError;
|
|
2447
3068
|
validations?: string;
|
|
2448
3069
|
value?: string;
|
|
2449
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
|
+
}
|
|
2450
3087
|
export interface FormFileProps {
|
|
2451
3088
|
name: string;
|
|
2452
|
-
allowCameraCapture?: boolean;
|
|
3089
|
+
allowCameraCapture?: boolean | FormFileAllowCameraCapture;
|
|
2453
3090
|
cropperConfig?: FormFileCropperConfig;
|
|
2454
3091
|
defaultValue?: FormFileDefaultValue[];
|
|
2455
3092
|
enableCropper?: boolean;
|
|
@@ -2462,15 +3099,17 @@ export interface FormFileProps {
|
|
|
2462
3099
|
maxTotalFileSize?: number;
|
|
2463
3100
|
multiple?: boolean;
|
|
2464
3101
|
placeholder?: string;
|
|
2465
|
-
|
|
3102
|
+
showProgress?: boolean;
|
|
3103
|
+
supportTypes?: string[];
|
|
2466
3104
|
tip?: string;
|
|
3105
|
+
type?: 'DEFAULT' | 'RECEIPT';
|
|
2467
3106
|
validationErrors?: FormFileValidationError;
|
|
2468
3107
|
validations?: string;
|
|
2469
3108
|
value?: FormFileValue[];
|
|
2470
3109
|
}
|
|
2471
3110
|
export interface FormFileDropProps {
|
|
2472
3111
|
name: string;
|
|
2473
|
-
allowCameraCapture?: boolean;
|
|
3112
|
+
allowCameraCapture?: boolean | FormFileDropAllowCameraCapture;
|
|
2474
3113
|
cropperConfig?: FormFileDropCropperConfig;
|
|
2475
3114
|
defaultValue?: FormFileDropDefaultValue[];
|
|
2476
3115
|
enableCropper?: boolean;
|
|
@@ -2484,7 +3123,7 @@ export interface FormFileDropProps {
|
|
|
2484
3123
|
multiPartUpload?: boolean;
|
|
2485
3124
|
multiple?: boolean;
|
|
2486
3125
|
placeholder?: string;
|
|
2487
|
-
supportTypes?:
|
|
3126
|
+
supportTypes?: string[];
|
|
2488
3127
|
tip?: string;
|
|
2489
3128
|
type?: 'upload' | 'content';
|
|
2490
3129
|
validationErrors?: FormFileDropValidationError;
|
|
@@ -2562,6 +3201,8 @@ export interface FormMaskerProps {
|
|
|
2562
3201
|
}
|
|
2563
3202
|
export interface FormNumberProps {
|
|
2564
3203
|
name: string;
|
|
3204
|
+
autoComplete?: string;
|
|
3205
|
+
autoFocus?: boolean;
|
|
2565
3206
|
decimalPlaces?: number;
|
|
2566
3207
|
defaultValue?: string | number;
|
|
2567
3208
|
isDisabled?: boolean;
|
|
@@ -2569,13 +3210,22 @@ export interface FormNumberProps {
|
|
|
2569
3210
|
isReadOnly?: boolean;
|
|
2570
3211
|
isRequired?: boolean;
|
|
2571
3212
|
label?: string;
|
|
3213
|
+
locale?: string;
|
|
2572
3214
|
max?: number;
|
|
3215
|
+
maxLength?: number;
|
|
3216
|
+
maxWidth?: string;
|
|
2573
3217
|
min?: number;
|
|
3218
|
+
minLength?: number;
|
|
2574
3219
|
placeholder?: string;
|
|
2575
3220
|
prefix?: string;
|
|
2576
3221
|
shouldAllowCalculation?: boolean;
|
|
3222
|
+
shouldDisableFormatting?: boolean;
|
|
3223
|
+
shouldDisableRedundantZeroFormatting?: boolean;
|
|
3224
|
+
shouldStripLeadingZeros?: boolean;
|
|
2577
3225
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3226
|
+
spellCheck?: boolean;
|
|
2578
3227
|
step?: number;
|
|
3228
|
+
stringPadding?: FormNumberStringPadding;
|
|
2579
3229
|
suffix?: string;
|
|
2580
3230
|
tip?: string;
|
|
2581
3231
|
validationErrors?: FormNumberValidationError;
|
|
@@ -2584,14 +3234,28 @@ export interface FormNumberProps {
|
|
|
2584
3234
|
}
|
|
2585
3235
|
export interface FormPasswordProps {
|
|
2586
3236
|
name: string;
|
|
3237
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
3238
|
+
autoComplete?: string;
|
|
3239
|
+
autoCorrect?: 'off' | 'on';
|
|
3240
|
+
autoFocus?: boolean;
|
|
2587
3241
|
defaultValue?: string;
|
|
3242
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2588
3243
|
isDisabled?: boolean;
|
|
3244
|
+
isOriginalInputReadOnly?: boolean;
|
|
2589
3245
|
isReadOnly?: boolean;
|
|
2590
3246
|
isRequired?: boolean;
|
|
2591
3247
|
label?: string;
|
|
2592
3248
|
maxLength?: number;
|
|
3249
|
+
minLength?: number;
|
|
2593
3250
|
placeholder?: string;
|
|
3251
|
+
prefix?: string;
|
|
3252
|
+
readOnlyAffixSpacing?: boolean;
|
|
3253
|
+
shouldAllowReveal?: boolean;
|
|
3254
|
+
shouldPersistCursorPosition?: boolean;
|
|
2594
3255
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3256
|
+
spellCheck?: boolean;
|
|
3257
|
+
stringPadding?: FormPasswordStringPadding;
|
|
3258
|
+
suffix?: string;
|
|
2595
3259
|
tip?: string;
|
|
2596
3260
|
validationErrors?: FormPasswordValidationError;
|
|
2597
3261
|
validations?: string;
|
|
@@ -2606,10 +3270,13 @@ export interface FormPercentageProps {
|
|
|
2606
3270
|
isReadOnly?: boolean;
|
|
2607
3271
|
isRequired?: boolean;
|
|
2608
3272
|
label?: string;
|
|
3273
|
+
locale?: string;
|
|
2609
3274
|
lowerLimit?: number;
|
|
2610
3275
|
placeholder?: string;
|
|
3276
|
+
shouldDisableFormatting?: boolean;
|
|
2611
3277
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2612
3278
|
step?: number;
|
|
3279
|
+
tip?: string;
|
|
2613
3280
|
upperLimit?: number;
|
|
2614
3281
|
validationErrors?: FormPercentageValidationError;
|
|
2615
3282
|
validations?: string;
|
|
@@ -2618,15 +3285,27 @@ export interface FormPercentageProps {
|
|
|
2618
3285
|
export interface FormPhoneProps {
|
|
2619
3286
|
name: string;
|
|
2620
3287
|
autoComplete?: string;
|
|
2621
|
-
|
|
3288
|
+
autoFocus?: boolean;
|
|
3289
|
+
countryCode?: string | FormPhoneCountryCode;
|
|
3290
|
+
countryCodeDefaultValue?: string;
|
|
3291
|
+
countryCodeValue?: string;
|
|
2622
3292
|
defaultRegion?: string;
|
|
2623
3293
|
defaultValue?: string;
|
|
3294
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3295
|
+
isCountryCodeDisabled?: boolean;
|
|
3296
|
+
isCountryCodeReadOnly?: boolean;
|
|
3297
|
+
isCountryCodeRequired?: boolean;
|
|
2624
3298
|
isDisabled?: boolean;
|
|
2625
3299
|
isReadOnly?: boolean;
|
|
2626
3300
|
isRequired?: boolean;
|
|
2627
3301
|
label?: string;
|
|
2628
3302
|
maxLength?: number;
|
|
3303
|
+
minLength?: number;
|
|
2629
3304
|
placeholder?: string;
|
|
3305
|
+
prefix?: string;
|
|
3306
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3307
|
+
stringPadding?: FormPhoneStringPadding;
|
|
3308
|
+
suffix?: string;
|
|
2630
3309
|
tip?: string;
|
|
2631
3310
|
validationErrors?: FormPhoneValidationError;
|
|
2632
3311
|
validations?: string;
|
|
@@ -2640,7 +3319,7 @@ export interface FormRadioProps {
|
|
|
2640
3319
|
isReadOnly?: boolean;
|
|
2641
3320
|
isRequired?: boolean;
|
|
2642
3321
|
label?: string;
|
|
2643
|
-
|
|
3322
|
+
list: FormRadioList[];
|
|
2644
3323
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2645
3324
|
tip?: string;
|
|
2646
3325
|
validationErrors?: FormRadioValidationError;
|
|
@@ -2659,7 +3338,8 @@ export interface FormSegmentedControlProps {
|
|
|
2659
3338
|
isRequired?: boolean;
|
|
2660
3339
|
isVertical?: boolean;
|
|
2661
3340
|
label?: string;
|
|
2662
|
-
|
|
3341
|
+
list?: FormSegmentedControlList[];
|
|
3342
|
+
rangeLabels?: FormSegmentedControlRangeLabel;
|
|
2663
3343
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2664
3344
|
validationErrors?: FormSegmentedControlValidationError;
|
|
2665
3345
|
validations?: string;
|
|
@@ -2669,14 +3349,28 @@ export interface FormSelectProps {
|
|
|
2669
3349
|
name: string;
|
|
2670
3350
|
canClear?: boolean;
|
|
2671
3351
|
canSelectAll?: boolean;
|
|
3352
|
+
creatable?: boolean;
|
|
3353
|
+
defaultSearchQuery?: string;
|
|
3354
|
+
defaultValue?: unknown[] | unknown;
|
|
3355
|
+
dropdownHeight?: number;
|
|
3356
|
+
emptyListPlaceholder?: string | FormSelectEmptyListPlaceholder;
|
|
3357
|
+
fuseOptions?: FormSelectFuseOption;
|
|
2672
3358
|
isDisabled?: boolean;
|
|
3359
|
+
isMenuDefaultOpen?: boolean;
|
|
2673
3360
|
isMulti?: boolean;
|
|
3361
|
+
isPositionFixed?: boolean;
|
|
2674
3362
|
isReadOnly?: boolean;
|
|
2675
3363
|
isRequired?: boolean;
|
|
2676
3364
|
isSearchable?: boolean;
|
|
2677
3365
|
label?: string;
|
|
2678
|
-
|
|
3366
|
+
list?: FormSelectList[] | FormSelectList[];
|
|
3367
|
+
maxHeight?: string | number;
|
|
3368
|
+
maxTruncationLines?: number;
|
|
2679
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;
|
|
2680
3374
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2681
3375
|
tip?: string;
|
|
2682
3376
|
validationErrors?: FormSelectValidationError;
|
|
@@ -2804,25 +3498,35 @@ export interface FormSwitchProps {
|
|
|
2804
3498
|
offLabel?: string;
|
|
2805
3499
|
onLabel?: string;
|
|
2806
3500
|
rightAlign?: boolean;
|
|
3501
|
+
tip?: string | FormSwitchTip;
|
|
2807
3502
|
validationErrors?: FormSwitchValidationError;
|
|
2808
3503
|
validations?: string;
|
|
2809
3504
|
value?: boolean;
|
|
2810
3505
|
}
|
|
2811
3506
|
export interface FormTextProps {
|
|
2812
3507
|
name: string;
|
|
3508
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
2813
3509
|
autoComplete?: string;
|
|
3510
|
+
autoCorrect?: 'off' | 'on';
|
|
2814
3511
|
autoFocus?: boolean;
|
|
2815
3512
|
canClear?: boolean;
|
|
2816
3513
|
defaultValue?: string;
|
|
3514
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2817
3515
|
isDisabled?: boolean;
|
|
3516
|
+
isOriginalInputReadOnly?: boolean;
|
|
2818
3517
|
isReadOnly?: boolean;
|
|
2819
3518
|
isRequired?: boolean;
|
|
2820
3519
|
label?: string;
|
|
2821
3520
|
maxLength?: number;
|
|
2822
3521
|
maxWidth?: string;
|
|
3522
|
+
minLength?: number;
|
|
2823
3523
|
placeholder?: string;
|
|
2824
3524
|
prefix?: string;
|
|
3525
|
+
readOnlyAffixSpacing?: boolean;
|
|
3526
|
+
shouldPersistCursorPosition?: boolean;
|
|
2825
3527
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3528
|
+
spellCheck?: boolean;
|
|
3529
|
+
stringPadding?: FormTextStringPadding;
|
|
2826
3530
|
suffix?: string;
|
|
2827
3531
|
tip?: string;
|
|
2828
3532
|
validationErrors?: FormTextValidationError;
|
|
@@ -2839,6 +3543,7 @@ export interface FormTextareaProps {
|
|
|
2839
3543
|
isReadOnly?: boolean;
|
|
2840
3544
|
isRequired?: boolean;
|
|
2841
3545
|
label?: string;
|
|
3546
|
+
maxHeight?: number;
|
|
2842
3547
|
maxLength?: number;
|
|
2843
3548
|
placeholder?: string;
|
|
2844
3549
|
rows?: number;
|
|
@@ -2851,33 +3556,44 @@ export interface FormTextareaProps {
|
|
|
2851
3556
|
export interface FormTextAutoSuggestProps {
|
|
2852
3557
|
name: string;
|
|
2853
3558
|
defaultValue?: string;
|
|
3559
|
+
fuseOptions?: FormTextAutoSuggestFuseOption;
|
|
2854
3560
|
isDisabled?: boolean;
|
|
3561
|
+
isPositionFixed?: boolean;
|
|
2855
3562
|
isReadOnly?: boolean;
|
|
2856
3563
|
isRequired?: boolean;
|
|
2857
3564
|
label?: string;
|
|
3565
|
+
list: FormTextAutoSuggestList[];
|
|
2858
3566
|
maxLength?: number;
|
|
2859
3567
|
placeholder?: string;
|
|
2860
3568
|
shouldShowMenuOnFocus?: boolean;
|
|
2861
3569
|
shouldShowSearchIcon?: boolean;
|
|
2862
3570
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2863
|
-
suggestions: FormTextAutoSuggestSuggestion[];
|
|
2864
3571
|
validationErrors?: FormTextAutoSuggestValidationError;
|
|
2865
3572
|
validations?: string;
|
|
2866
|
-
value?: string;
|
|
3573
|
+
value?: string | number;
|
|
2867
3574
|
}
|
|
2868
3575
|
export interface FormTimeProps {
|
|
2869
3576
|
name: string;
|
|
3577
|
+
alwaysShowTimezone?: boolean;
|
|
3578
|
+
defaultSelectionStartTime?: string;
|
|
2870
3579
|
defaultValue?: string;
|
|
3580
|
+
isDateTimeInline?: boolean;
|
|
2871
3581
|
isDisabled?: boolean;
|
|
2872
3582
|
isReadOnly?: boolean;
|
|
2873
3583
|
isRequired?: boolean;
|
|
2874
3584
|
label?: string;
|
|
2875
|
-
|
|
3585
|
+
locale?: string;
|
|
3586
|
+
maxWidth?: string;
|
|
3587
|
+
pickClosestMeridiem?: boolean;
|
|
3588
|
+
referenceDate?: string;
|
|
3589
|
+
shouldAllowTimeSelection?: boolean | FormTimeShouldAllowTimeSelection;
|
|
2876
3590
|
shouldDisplaySeconds?: boolean;
|
|
3591
|
+
shouldFormatInTimezone?: boolean;
|
|
2877
3592
|
shouldLocalize?: boolean;
|
|
2878
3593
|
shouldReturnISO?: boolean;
|
|
3594
|
+
shouldShowTimezoneLabel?: boolean;
|
|
2879
3595
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2880
|
-
timezone?: string;
|
|
3596
|
+
timezone?: string | FormTimeTimezone;
|
|
2881
3597
|
validationErrors?: FormTimeValidationError;
|
|
2882
3598
|
validations?: string;
|
|
2883
3599
|
value?: string;
|
|
@@ -2970,7 +3686,7 @@ export interface FormWorkEmailProps {
|
|
|
2970
3686
|
name: string;
|
|
2971
3687
|
autoComplete?: string;
|
|
2972
3688
|
defaultValue?: string;
|
|
2973
|
-
domainList?:
|
|
3689
|
+
domainList?: string | string[] | FormWorkEmailDomainList[] | FormWorkEmailDomainList[];
|
|
2974
3690
|
isDisabled?: boolean;
|
|
2975
3691
|
isReadOnly?: boolean;
|
|
2976
3692
|
isRequired?: boolean;
|
|
@@ -3028,12 +3744,12 @@ export interface HStackProps {
|
|
|
3028
3744
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
3029
3745
|
}
|
|
3030
3746
|
export interface IconProps {
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
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;
|
|
3037
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';
|
|
3038
3754
|
isDisabled?: boolean;
|
|
3039
3755
|
isFocused?: boolean;
|
|
@@ -3058,7 +3774,6 @@ export interface IconButtonProps {
|
|
|
3058
3774
|
shouldShowSpinner?: boolean;
|
|
3059
3775
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3060
3776
|
tabIndex?: number;
|
|
3061
|
-
testId?: string;
|
|
3062
3777
|
tip?: string | IconButtonTip;
|
|
3063
3778
|
to?: string | IconButtonTo;
|
|
3064
3779
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -3069,7 +3784,7 @@ export interface ImageProps {
|
|
|
3069
3784
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3070
3785
|
height?: number | string;
|
|
3071
3786
|
loading?: 'eager' | 'lazy';
|
|
3072
|
-
src
|
|
3787
|
+
src?: string | Src;
|
|
3073
3788
|
theme?: 'COVER';
|
|
3074
3789
|
width?: number | string;
|
|
3075
3790
|
}
|
|
@@ -3185,13 +3900,8 @@ export interface LocationCardProps {
|
|
|
3185
3900
|
to?: string | LocationCardTo;
|
|
3186
3901
|
}
|
|
3187
3902
|
export interface LottiePlayerProps {
|
|
3188
|
-
animationData?: AnimationData;
|
|
3189
|
-
autoplay?: boolean;
|
|
3190
3903
|
height?: string;
|
|
3191
|
-
|
|
3192
|
-
path?: string;
|
|
3193
|
-
renderer?: 'svg' | 'canvas' | 'html';
|
|
3194
|
-
testId?: string;
|
|
3904
|
+
loadConfig?: LoadConfig;
|
|
3195
3905
|
width?: string;
|
|
3196
3906
|
}
|
|
3197
3907
|
export interface MaskerProps {
|
|
@@ -3234,15 +3944,15 @@ export interface MenuListProps {
|
|
|
3234
3944
|
export interface ModalProps {
|
|
3235
3945
|
animation?: string;
|
|
3236
3946
|
backdropAnimation?: string;
|
|
3237
|
-
hasCloseButton?: boolean;
|
|
3238
3947
|
isFullScreen?: boolean;
|
|
3239
|
-
|
|
3948
|
+
isVisible?: boolean;
|
|
3240
3949
|
shouldCloseOnBackdropClick?: boolean;
|
|
3241
3950
|
shouldCloseOnEscape?: boolean;
|
|
3951
|
+
shouldHideCancelIcon?: boolean;
|
|
3242
3952
|
shouldNotAnimate?: boolean;
|
|
3243
|
-
size?: 'small' | 'medium' | 'large';
|
|
3244
3953
|
theme?: 'GRAY' | 'NO_PADDING';
|
|
3245
3954
|
title?: string;
|
|
3955
|
+
width?: number | string;
|
|
3246
3956
|
}
|
|
3247
3957
|
export interface ModalCloseButtonProps {
|
|
3248
3958
|
appearance?: 'ACCENT' | 'ACTIVE' | 'PRIMARY' | 'DESTRUCTIVE' | 'SUCCESS' | 'INFO' | 'WARNING' | 'OUTLINE' | 'SOLID' | 'GHOST';
|
|
@@ -3264,7 +3974,7 @@ export interface NestedListProps {
|
|
|
3264
3974
|
showMore?: ShowMoreValue;
|
|
3265
3975
|
theme?: 'NO_CARD' | 'TRANSPARENT_NO_SEPARATOR' | 'TRANSPARENT_NO_SEPARATOR_NO_CARD';
|
|
3266
3976
|
title?: string;
|
|
3267
|
-
toggleIcon?:
|
|
3977
|
+
toggleIcon?: NestedListToggleIcon;
|
|
3268
3978
|
}
|
|
3269
3979
|
export interface NumberProps {
|
|
3270
3980
|
name?: string;
|
|
@@ -3289,6 +3999,7 @@ export interface NumberProps {
|
|
|
3289
3999
|
shouldAllowCalculation?: boolean;
|
|
3290
4000
|
shouldDisableFormatting?: boolean;
|
|
3291
4001
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
4002
|
+
shouldStripLeadingZeros?: boolean;
|
|
3292
4003
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3293
4004
|
spellCheck?: boolean;
|
|
3294
4005
|
step?: number;
|
|
@@ -3312,6 +4023,8 @@ export interface ObjectUIContentProps {
|
|
|
3312
4023
|
export interface ObjectUIHeaderProps {
|
|
3313
4024
|
avatarProps?: ObjectUIHeaderAvatarProp;
|
|
3314
4025
|
caption?: string;
|
|
4026
|
+
label?: LabelValue;
|
|
4027
|
+
primaryAction?: ObjectUIHeaderPrimaryAction;
|
|
3315
4028
|
primaryActionLabel?: string;
|
|
3316
4029
|
title?: string;
|
|
3317
4030
|
}
|
|
@@ -3371,7 +4084,7 @@ export interface PaginateListProps {
|
|
|
3371
4084
|
pageSize?: number;
|
|
3372
4085
|
}
|
|
3373
4086
|
export interface PaneProps {
|
|
3374
|
-
|
|
4087
|
+
'aria-label': string;
|
|
3375
4088
|
collapsed?: boolean;
|
|
3376
4089
|
collapsible?: boolean;
|
|
3377
4090
|
containerName?: string;
|
|
@@ -3400,6 +4113,7 @@ export interface PasswordProps {
|
|
|
3400
4113
|
defaultValue?: string;
|
|
3401
4114
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3402
4115
|
isDisabled?: boolean;
|
|
4116
|
+
isInvalid?: boolean;
|
|
3403
4117
|
isOriginalInputReadOnly?: boolean;
|
|
3404
4118
|
isReadOnly?: boolean;
|
|
3405
4119
|
isRequired?: boolean;
|
|
@@ -3418,7 +4132,6 @@ export interface PasswordProps {
|
|
|
3418
4132
|
spellCheck?: boolean;
|
|
3419
4133
|
stringPadding?: PasswordStringPadding;
|
|
3420
4134
|
suffix?: string;
|
|
3421
|
-
testId?: string;
|
|
3422
4135
|
theme?: string;
|
|
3423
4136
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3424
4137
|
value?: string;
|
|
@@ -3429,7 +4142,9 @@ export interface PercentageProps {
|
|
|
3429
4142
|
checks?: PercentageCheck[];
|
|
3430
4143
|
decimalPlaces?: number;
|
|
3431
4144
|
defaultValue?: number;
|
|
4145
|
+
id?: string;
|
|
3432
4146
|
isDisabled?: boolean;
|
|
4147
|
+
isInvalid?: boolean;
|
|
3433
4148
|
isReadOnly?: boolean;
|
|
3434
4149
|
isRequired?: boolean;
|
|
3435
4150
|
label?: string;
|
|
@@ -3454,7 +4169,7 @@ export interface PhoneProps {
|
|
|
3454
4169
|
autoCorrect?: 'off' | 'on';
|
|
3455
4170
|
autoFocus?: boolean;
|
|
3456
4171
|
checks?: PhoneCheck[];
|
|
3457
|
-
countryCode?: string;
|
|
4172
|
+
countryCode?: string | PhoneCountryCode;
|
|
3458
4173
|
countryCodeDefaultValue?: string;
|
|
3459
4174
|
countryCodeValue?: string;
|
|
3460
4175
|
defaultRegion?: string;
|
|
@@ -3502,6 +4217,7 @@ export interface ProgressBarProps {
|
|
|
3502
4217
|
'aria-label'?: string;
|
|
3503
4218
|
'aria-labelledby'?: string;
|
|
3504
4219
|
'aria-valuetext'?: string;
|
|
4220
|
+
completedPercent?: number;
|
|
3505
4221
|
isIndeterminate?: boolean;
|
|
3506
4222
|
label?: string;
|
|
3507
4223
|
showPercentage?: boolean;
|
|
@@ -3526,10 +4242,11 @@ export interface RadioProps {
|
|
|
3526
4242
|
id?: string;
|
|
3527
4243
|
isDisabled?: boolean;
|
|
3528
4244
|
isHorizontal?: boolean;
|
|
4245
|
+
isInvalid?: boolean;
|
|
3529
4246
|
isReadOnly?: boolean;
|
|
3530
4247
|
isRequired?: boolean;
|
|
3531
4248
|
label?: string;
|
|
3532
|
-
|
|
4249
|
+
list?: RadioList[];
|
|
3533
4250
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
3534
4251
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3535
4252
|
value?: unknown;
|
|
@@ -3560,6 +4277,9 @@ export interface RangeSliderProps {
|
|
|
3560
4277
|
}
|
|
3561
4278
|
export interface ReportLoaderProps {
|
|
3562
4279
|
}
|
|
4280
|
+
export interface ReportsProps {
|
|
4281
|
+
reportId: string;
|
|
4282
|
+
}
|
|
3563
4283
|
export interface ReportShareLoaderProps {
|
|
3564
4284
|
}
|
|
3565
4285
|
export interface ReportViewerLoaderProps {
|
|
@@ -3585,12 +4305,14 @@ export interface SegmentedControlProps {
|
|
|
3585
4305
|
defaultValue?: string | string[];
|
|
3586
4306
|
isDisabled?: boolean;
|
|
3587
4307
|
isFluid?: boolean;
|
|
4308
|
+
isInvalid?: boolean;
|
|
3588
4309
|
isMulti?: boolean;
|
|
3589
4310
|
isReadOnly?: boolean;
|
|
3590
4311
|
isRequired?: boolean;
|
|
3591
4312
|
isVertical?: boolean;
|
|
3592
4313
|
label?: string;
|
|
3593
|
-
|
|
4314
|
+
list: SegmentedControlList[];
|
|
4315
|
+
options?: SegmentedControlOption[];
|
|
3594
4316
|
rangeLabels?: SegmentedControlRangeLabel;
|
|
3595
4317
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3596
4318
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
@@ -3606,12 +4328,14 @@ export interface SelectProps {
|
|
|
3606
4328
|
checks?: SelectCheck[];
|
|
3607
4329
|
creatable?: boolean;
|
|
3608
4330
|
defaultSearchQuery?: string;
|
|
4331
|
+
defaultValue?: unknown[] | unknown;
|
|
3609
4332
|
dropdownHeight?: number;
|
|
3610
4333
|
emptyListPlaceholder?: string | SelectEmptyListPlaceholder;
|
|
3611
4334
|
footer?: SelectFooter;
|
|
3612
4335
|
fuseOptions?: SelectFuseOption;
|
|
3613
4336
|
id?: string;
|
|
3614
4337
|
isDisabled?: boolean;
|
|
4338
|
+
isInvalid?: boolean;
|
|
3615
4339
|
isMenuDefaultOpen?: boolean;
|
|
3616
4340
|
isMulti?: boolean;
|
|
3617
4341
|
isPositionFixed?: boolean;
|
|
@@ -3619,9 +4343,10 @@ export interface SelectProps {
|
|
|
3619
4343
|
isRequired?: boolean;
|
|
3620
4344
|
isSearchable?: boolean;
|
|
3621
4345
|
label?: string;
|
|
4346
|
+
list?: SelectList[] | SelectList[];
|
|
3622
4347
|
maxHeight?: string | number;
|
|
3623
4348
|
maxTruncationLines?: number;
|
|
3624
|
-
options?: SelectOption[];
|
|
4349
|
+
options?: SelectOption[] | SelectOption[];
|
|
3625
4350
|
placeholder?: string;
|
|
3626
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';
|
|
3627
4352
|
rows?: number;
|
|
@@ -3644,6 +4369,7 @@ export interface SelectableGroupProps {
|
|
|
3644
4369
|
defaultValue?: string | number | string | number[];
|
|
3645
4370
|
id?: string;
|
|
3646
4371
|
isDisabled?: boolean;
|
|
4372
|
+
isInvalid?: boolean;
|
|
3647
4373
|
isMulti?: boolean;
|
|
3648
4374
|
isReadOnly?: boolean;
|
|
3649
4375
|
isRequired?: boolean;
|
|
@@ -3691,6 +4417,7 @@ export interface SignatureProps {
|
|
|
3691
4417
|
defaultValue?: string;
|
|
3692
4418
|
id?: string;
|
|
3693
4419
|
isDisabled?: boolean;
|
|
4420
|
+
isInvalid?: boolean;
|
|
3694
4421
|
isReadOnly?: boolean;
|
|
3695
4422
|
isRequired?: boolean;
|
|
3696
4423
|
isTypeSignatureDisabled?: boolean;
|
|
@@ -3707,10 +4434,12 @@ export interface SinProps {
|
|
|
3707
4434
|
autoComplete?: string;
|
|
3708
4435
|
autoFocus?: boolean;
|
|
3709
4436
|
checks?: SinCheck[];
|
|
4437
|
+
defaultValue?: string;
|
|
3710
4438
|
fixedCharsPrefix?: string;
|
|
3711
4439
|
fixedCharsSuffix?: string;
|
|
3712
4440
|
id?: string;
|
|
3713
4441
|
isDisabled?: boolean;
|
|
4442
|
+
isInvalid?: boolean;
|
|
3714
4443
|
isReadOnly?: boolean;
|
|
3715
4444
|
isRequired?: boolean;
|
|
3716
4445
|
label?: string;
|
|
@@ -3725,16 +4454,16 @@ export interface SinProps {
|
|
|
3725
4454
|
value?: string;
|
|
3726
4455
|
}
|
|
3727
4456
|
export interface SkeletonProps {
|
|
3728
|
-
animation?: '
|
|
4457
|
+
animation?: 'wave' | 'pulse' | 'none';
|
|
3729
4458
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3730
|
-
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';
|
|
3731
|
-
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;
|
|
3732
4461
|
initialTimestamp?: number;
|
|
3733
4462
|
lineHeight?: string | number;
|
|
3734
4463
|
lines?: number;
|
|
3735
4464
|
show?: boolean;
|
|
3736
|
-
size?: number;
|
|
3737
|
-
variant?: '
|
|
4465
|
+
size?: number | string;
|
|
4466
|
+
variant?: 'text' | 'circle' | 'box';
|
|
3738
4467
|
width?: string | number;
|
|
3739
4468
|
}
|
|
3740
4469
|
export interface SliderProps {
|
|
@@ -3800,10 +4529,12 @@ export interface SsnProps {
|
|
|
3800
4529
|
autoComplete?: string;
|
|
3801
4530
|
autoFocus?: boolean;
|
|
3802
4531
|
checks?: SsnCheck[];
|
|
4532
|
+
defaultValue?: string;
|
|
3803
4533
|
fixedCharsPrefix?: string;
|
|
3804
4534
|
fixedCharsSuffix?: string;
|
|
3805
4535
|
id?: string;
|
|
3806
4536
|
isDisabled?: boolean;
|
|
4537
|
+
isInvalid?: boolean;
|
|
3807
4538
|
isReadOnly?: boolean;
|
|
3808
4539
|
isRequired?: boolean;
|
|
3809
4540
|
label?: string;
|
|
@@ -3821,7 +4552,6 @@ export interface StatusProps {
|
|
|
3821
4552
|
appearance: 'PRIMARY' | 'SUCCESS' | 'ERROR' | 'WARNING' | 'TERTIARY' | 'DISABLED';
|
|
3822
4553
|
outlined?: boolean;
|
|
3823
4554
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
3824
|
-
testId?: string;
|
|
3825
4555
|
text: string;
|
|
3826
4556
|
}
|
|
3827
4557
|
export interface StepperProps {
|
|
@@ -3842,7 +4572,6 @@ export interface SupportButtonProps {
|
|
|
3842
4572
|
id?: string;
|
|
3843
4573
|
image?: string;
|
|
3844
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';
|
|
3845
|
-
testId?: string;
|
|
3846
4575
|
title: string;
|
|
3847
4576
|
to?: string | SupportButtonTo;
|
|
3848
4577
|
}
|
|
@@ -3850,7 +4579,9 @@ export interface SurveyProps {
|
|
|
3850
4579
|
name?: string;
|
|
3851
4580
|
caption?: string;
|
|
3852
4581
|
checks?: SurveyCheck[];
|
|
4582
|
+
defaultValue?: string | number | string | number[];
|
|
3853
4583
|
isDisabled?: boolean;
|
|
4584
|
+
isInvalid?: boolean;
|
|
3854
4585
|
isMulti?: boolean;
|
|
3855
4586
|
isReadOnly?: boolean;
|
|
3856
4587
|
isRequired?: boolean;
|
|
@@ -3876,24 +4607,25 @@ export interface SwitchProps {
|
|
|
3876
4607
|
offLabel?: string;
|
|
3877
4608
|
onLabel?: string;
|
|
3878
4609
|
rightAlign?: boolean;
|
|
3879
|
-
tip?: string;
|
|
4610
|
+
tip?: string | SwitchTip;
|
|
3880
4611
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3881
4612
|
value?: boolean;
|
|
3882
4613
|
}
|
|
3883
4614
|
export interface TabProps {
|
|
4615
|
+
activeIndex?: number;
|
|
3884
4616
|
'aria-label'?: string;
|
|
3885
4617
|
'aria-labelledby'?: string;
|
|
3886
4618
|
defaultActiveIndex?: number;
|
|
3887
4619
|
isCompact?: boolean;
|
|
3888
4620
|
isLogoRound?: boolean;
|
|
3889
4621
|
isVertical?: boolean;
|
|
3890
|
-
items
|
|
4622
|
+
items?: TabItem[];
|
|
4623
|
+
list?: TabList[];
|
|
3891
4624
|
logoUrl?: string;
|
|
3892
4625
|
stretchH?: boolean;
|
|
3893
4626
|
stretchV?: boolean;
|
|
3894
4627
|
subtitle?: string;
|
|
3895
|
-
supportLink?: string;
|
|
3896
|
-
testId?: string;
|
|
4628
|
+
supportLink?: string | SupportLink;
|
|
3897
4629
|
theme?: 'BOX' | 'BOX_HEADER' | 'CENTER' | 'GREY_OVERFLOW_GRADIENT' | 'WHITE_OVERFLOW_GRADIENT' | 'NO_PADDING';
|
|
3898
4630
|
title?: string;
|
|
3899
4631
|
titleContent?: string;
|
|
@@ -3933,6 +4665,7 @@ export interface TextareaProps {
|
|
|
3933
4665
|
height?: number;
|
|
3934
4666
|
id?: string;
|
|
3935
4667
|
isDisabled?: boolean;
|
|
4668
|
+
isInvalid?: boolean;
|
|
3936
4669
|
isReadOnly?: boolean;
|
|
3937
4670
|
isRequired?: boolean;
|
|
3938
4671
|
label?: string;
|
|
@@ -3954,6 +4687,8 @@ export interface TextAutoSuggestProps {
|
|
|
3954
4687
|
autoCorrect?: 'off' | 'on';
|
|
3955
4688
|
autoFocus?: boolean;
|
|
3956
4689
|
checks?: TextAutoSuggestCheck[];
|
|
4690
|
+
defaultValue?: string | number;
|
|
4691
|
+
fuseOptions?: TextAutoSuggestFuseOption;
|
|
3957
4692
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3958
4693
|
isDisabled?: boolean;
|
|
3959
4694
|
isOriginalInputReadOnly?: boolean;
|
|
@@ -3961,6 +4696,7 @@ export interface TextAutoSuggestProps {
|
|
|
3961
4696
|
isReadOnly?: boolean;
|
|
3962
4697
|
isRequired?: boolean;
|
|
3963
4698
|
label?: string;
|
|
4699
|
+
list?: TextAutoSuggestList[];
|
|
3964
4700
|
maxLength?: number;
|
|
3965
4701
|
maxWidth?: string;
|
|
3966
4702
|
minLength?: number;
|
|
@@ -3978,15 +4714,12 @@ export interface TextAutoSuggestProps {
|
|
|
3978
4714
|
spellCheck?: boolean;
|
|
3979
4715
|
stringPadding?: TextAutoSuggestStringPadding;
|
|
3980
4716
|
suffix?: string;
|
|
3981
|
-
suggestions?: TextAutoSuggestSuggestion[];
|
|
3982
|
-
testId?: string;
|
|
3983
4717
|
theme?: string;
|
|
3984
4718
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3985
4719
|
value?: string | number;
|
|
3986
4720
|
}
|
|
3987
4721
|
export interface TextClipProps {
|
|
3988
|
-
|
|
3989
|
-
expandLabel?: string;
|
|
4722
|
+
buttonLabels?: ButtonLabel;
|
|
3990
4723
|
maxHeight: number;
|
|
3991
4724
|
theme?: 'NO_CARD';
|
|
3992
4725
|
}
|
|
@@ -4011,6 +4744,7 @@ export interface TextInputProps {
|
|
|
4011
4744
|
defaultValue?: string;
|
|
4012
4745
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4013
4746
|
isDisabled?: boolean;
|
|
4747
|
+
isInvalid?: boolean;
|
|
4014
4748
|
isOriginalInputReadOnly?: boolean;
|
|
4015
4749
|
isReadOnly?: boolean;
|
|
4016
4750
|
isRequired?: boolean;
|
|
@@ -4031,7 +4765,6 @@ export interface TextInputProps {
|
|
|
4031
4765
|
spellCheck?: boolean;
|
|
4032
4766
|
stringPadding?: TextInputStringPadding;
|
|
4033
4767
|
suffix?: string;
|
|
4034
|
-
testId?: string;
|
|
4035
4768
|
theme?: string;
|
|
4036
4769
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4037
4770
|
value?: string;
|
|
@@ -4051,8 +4784,12 @@ export interface TimeProps {
|
|
|
4051
4784
|
'aria-labelledby'?: string;
|
|
4052
4785
|
checks?: TimeCheck[];
|
|
4053
4786
|
defaultSelectionStartTime?: string;
|
|
4787
|
+
defaultValue?: string;
|
|
4788
|
+
id?: string;
|
|
4789
|
+
inferredTime?: string;
|
|
4054
4790
|
isDateTimeInline?: boolean;
|
|
4055
4791
|
isDisabled?: boolean;
|
|
4792
|
+
isInvalid?: boolean;
|
|
4056
4793
|
isReadOnly?: boolean;
|
|
4057
4794
|
isRequired?: boolean;
|
|
4058
4795
|
label?: string;
|
|
@@ -4060,7 +4797,7 @@ export interface TimeProps {
|
|
|
4060
4797
|
maxWidth?: string;
|
|
4061
4798
|
pickClosestMeridiem?: boolean;
|
|
4062
4799
|
referenceDate?: string;
|
|
4063
|
-
shouldAllowTimeSelection?: boolean;
|
|
4800
|
+
shouldAllowTimeSelection?: boolean | TimeShouldAllowTimeSelection;
|
|
4064
4801
|
shouldDisplaySeconds?: boolean;
|
|
4065
4802
|
shouldFormatInTimezone?: boolean;
|
|
4066
4803
|
shouldLocalize?: boolean;
|
|
@@ -4068,7 +4805,7 @@ export interface TimeProps {
|
|
|
4068
4805
|
shouldShowTimezoneLabel?: boolean;
|
|
4069
4806
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4070
4807
|
theme?: string;
|
|
4071
|
-
timezone?: string;
|
|
4808
|
+
timezone?: string | TimeTimezone;
|
|
4072
4809
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4073
4810
|
value?: string;
|
|
4074
4811
|
}
|
|
@@ -4084,13 +4821,15 @@ export interface TimeRangeProps {
|
|
|
4084
4821
|
defaultValue?: unknown[];
|
|
4085
4822
|
hideDayDifference?: boolean;
|
|
4086
4823
|
hideTimeIcon?: boolean;
|
|
4824
|
+
id?: string;
|
|
4087
4825
|
isDisabled?: boolean;
|
|
4826
|
+
isInvalid?: boolean;
|
|
4088
4827
|
isReadOnly?: boolean;
|
|
4089
4828
|
isRequired?: boolean;
|
|
4090
4829
|
label?: string;
|
|
4091
4830
|
locale?: string;
|
|
4092
4831
|
referenceDate?: string;
|
|
4093
|
-
shouldAllowTimeSelection?: boolean;
|
|
4832
|
+
shouldAllowTimeSelection?: boolean | TimeRangeShouldAllowTimeSelection;
|
|
4094
4833
|
shouldDisplaySeconds?: boolean;
|
|
4095
4834
|
shouldFormatInTimezone?: boolean;
|
|
4096
4835
|
shouldLocalize?: boolean;
|
|
@@ -4109,6 +4848,7 @@ export interface TimezoneProps {
|
|
|
4109
4848
|
dropdownHeight?: number;
|
|
4110
4849
|
emptyListPlaceholder?: string;
|
|
4111
4850
|
isDisabled?: boolean;
|
|
4851
|
+
isInvalid?: boolean;
|
|
4112
4852
|
isMenuDefaultOpen?: boolean;
|
|
4113
4853
|
isPositionFixed?: boolean;
|
|
4114
4854
|
isReadOnly?: boolean;
|
|
@@ -4167,6 +4907,7 @@ export interface TreeProps {
|
|
|
4167
4907
|
'aria-labelledby'?: string;
|
|
4168
4908
|
canSelectAll?: boolean;
|
|
4169
4909
|
checks?: TreeCheck[];
|
|
4910
|
+
defaultValue?: string | string[];
|
|
4170
4911
|
dropdownWidth?: number;
|
|
4171
4912
|
emptyListPlaceholder?: string;
|
|
4172
4913
|
footer?: TreeFooter;
|
|
@@ -4267,9 +5008,10 @@ export interface WorkEmailProps {
|
|
|
4267
5008
|
autoFocus?: boolean;
|
|
4268
5009
|
checks?: WorkEmailCheck[];
|
|
4269
5010
|
defaultValue?: string;
|
|
4270
|
-
domainList?:
|
|
5011
|
+
domainList?: string | string[] | WorkEmailDomainList[] | WorkEmailDomainList[];
|
|
4271
5012
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4272
5013
|
isDisabled?: boolean;
|
|
5014
|
+
isInvalid?: boolean;
|
|
4273
5015
|
isOriginalInputReadOnly?: boolean;
|
|
4274
5016
|
isReadOnly?: boolean;
|
|
4275
5017
|
isRequired?: boolean;
|
|
@@ -4288,7 +5030,6 @@ export interface WorkEmailProps {
|
|
|
4288
5030
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4289
5031
|
spellCheck?: boolean;
|
|
4290
5032
|
suffix?: string;
|
|
4291
|
-
testId?: string;
|
|
4292
5033
|
theme?: string;
|
|
4293
5034
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4294
5035
|
value?: string;
|