@rippling/pebble-sdui-web 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalogs/custom-apps/action-params.d.ts +4 -0
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +2 -2
- package/dist/catalogs/custom-apps/component-events.d.ts +16 -14
- package/dist/catalogs/custom-apps/component-props.d.ts +1041 -260
- package/dist/catalogs/custom-apps/components.d.ts +5 -3
- package/dist/catalogs/custom-apps/index.cjs +4 -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 +5983 -1661
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/catalogs/hub_platform/catalog.d.ts +1 -1
- package/dist/catalogs/hub_platform/component-props.d.ts +14 -6
- package/dist/catalogs/hub_platform/index.cjs +1 -1
- package/dist/catalogs/hub_platform/index.cjs.map +1 -1
- package/dist/catalogs/hub_platform/index.d.ts +1 -1
- package/dist/catalogs/hub_platform/index.js +86 -137
- package/dist/catalogs/hub_platform/index.js.map +1 -1
- package/dist/core/catalog-validation.cjs +2 -0
- package/dist/core/catalog-validation.cjs.map +1 -0
- package/dist/core/catalog-validation.d.ts +21 -0
- package/dist/core/catalog-validation.js +245 -0
- package/dist/core/catalog-validation.js.map +1 -0
- package/dist/core/directives.cjs +2 -0
- package/dist/core/directives.cjs.map +1 -0
- package/dist/core/directives.d.ts +72 -0
- package/dist/core/directives.js +35 -0
- package/dist/core/directives.js.map +1 -0
- package/dist/core/expressions.d.ts +5 -15
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +28 -20
- package/dist/core/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +31 -2
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +468 -291
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +250 -288
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1362 -148
- package/dist/docs/typescript/web/catalogs/hub_platform/components.md +1 -1
- package/dist/docs/typescript/web/catalogs/hub_platform/types.md +14 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +25 -17
- package/dist/index.js.map +1 -1
- package/dist/sdk-docs.cjs +208 -1
- package/dist/sdk-docs.cjs.map +1 -1
- package/dist/sdk-docs.js +213 -0
- package/dist/sdk-docs.js.map +1 -1
- package/package.json +1 -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,35 +29,64 @@ 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
|
}
|
|
39
57
|
/** Address object with street, city, state, country, and zip */
|
|
40
58
|
export interface Addres {
|
|
41
|
-
city?: string;
|
|
59
|
+
city?: string | null;
|
|
42
60
|
country: string;
|
|
43
|
-
countyName?: string;
|
|
44
|
-
state?: string;
|
|
61
|
+
countyName?: string | null;
|
|
62
|
+
state?: string | null;
|
|
45
63
|
streetLine1: string;
|
|
46
|
-
streetLine2?: string;
|
|
47
|
-
streetLine3?: string;
|
|
48
|
-
streetLine4?: string;
|
|
64
|
+
streetLine2?: string | null;
|
|
65
|
+
streetLine3?: string | null;
|
|
66
|
+
streetLine4?: string | null;
|
|
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;
|
|
76
|
+
}
|
|
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;
|
|
54
84
|
}
|
|
55
|
-
export interface
|
|
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;
|
|
@@ -103,6 +133,10 @@ export interface AppGroupSelectOption {
|
|
|
103
133
|
tertiaryLabel?: string;
|
|
104
134
|
value: unknown;
|
|
105
135
|
}
|
|
136
|
+
export interface AppGroupSelectListVariant2 {
|
|
137
|
+
label: string;
|
|
138
|
+
list: AppGroupSelectList[];
|
|
139
|
+
}
|
|
106
140
|
export interface AppNavBarAction {
|
|
107
141
|
appearance?: 'PRIMARY' | 'DESTRUCTIVE' | 'OUTLINE' | 'GHOST' | 'ACCENT' | 'SUCCESS' | 'INFO' | 'WARNING';
|
|
108
142
|
icon?: string;
|
|
@@ -116,6 +150,11 @@ export interface AppNavBarNavItemBadge {
|
|
|
116
150
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
117
151
|
text: string;
|
|
118
152
|
}
|
|
153
|
+
/** Badge overlay configuration for the avatar */
|
|
154
|
+
export interface AvatarBadge {
|
|
155
|
+
'aria-label': string;
|
|
156
|
+
char?: string;
|
|
157
|
+
}
|
|
119
158
|
export interface AvatarIcon {
|
|
120
159
|
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
160
|
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 +217,11 @@ export interface ButtonIcon {
|
|
|
178
217
|
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
218
|
type: string;
|
|
180
219
|
}
|
|
220
|
+
/** Labels for the expand and collapse buttons */
|
|
221
|
+
export interface ButtonLabel {
|
|
222
|
+
collapse: string;
|
|
223
|
+
expand: string;
|
|
224
|
+
}
|
|
181
225
|
export interface ButtonTip {
|
|
182
226
|
appearance?: 'LIGHT' | 'DARK';
|
|
183
227
|
content: string;
|
|
@@ -215,18 +259,39 @@ export interface CheckboxGroupCheck {
|
|
|
215
259
|
message: string;
|
|
216
260
|
type: string;
|
|
217
261
|
}
|
|
218
|
-
export interface
|
|
262
|
+
export interface CheckboxGroupList {
|
|
219
263
|
isDisabled?: boolean;
|
|
220
264
|
label: string;
|
|
221
265
|
secondaryLabel?: string;
|
|
222
266
|
tag?: string | CheckboxGroupTag;
|
|
223
|
-
tip?: string;
|
|
267
|
+
tip?: string | CheckboxGroupTip;
|
|
224
268
|
value: unknown;
|
|
225
269
|
}
|
|
226
270
|
export interface CheckboxGroupTag {
|
|
227
271
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
228
272
|
label: string;
|
|
229
273
|
}
|
|
274
|
+
export interface CheckboxGroupTip {
|
|
275
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
276
|
+
content: string;
|
|
277
|
+
hideOnDocumentScroll?: boolean;
|
|
278
|
+
isDelayed?: boolean;
|
|
279
|
+
isMobileSupported?: boolean;
|
|
280
|
+
isPositionFixed?: boolean;
|
|
281
|
+
isVisible?: boolean;
|
|
282
|
+
maxHeight?: number | string;
|
|
283
|
+
maxWidth?: number | string;
|
|
284
|
+
onlyIfChildOverflow?: boolean;
|
|
285
|
+
onlyIfOverflow?: boolean;
|
|
286
|
+
overwriteMiddleware?: boolean;
|
|
287
|
+
padding?: string;
|
|
288
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
289
|
+
shallSkipOverflowY?: boolean;
|
|
290
|
+
tipHideDelay?: number;
|
|
291
|
+
tipShowDelay?: number;
|
|
292
|
+
title?: string;
|
|
293
|
+
truncateClassName?: string;
|
|
294
|
+
}
|
|
230
295
|
/** Per-item input type overrides */
|
|
231
296
|
export interface CheckListOption {
|
|
232
297
|
shouldHaveNegativeCheckbox?: boolean;
|
|
@@ -255,6 +320,19 @@ export interface ChipTo {
|
|
|
255
320
|
openInNewTab?: boolean;
|
|
256
321
|
path: string;
|
|
257
322
|
}
|
|
323
|
+
/** Bindable clicked file metadata written before chipClick emits */
|
|
324
|
+
export interface ClickedFile {
|
|
325
|
+
name?: string;
|
|
326
|
+
content?: string;
|
|
327
|
+
hasError?: boolean;
|
|
328
|
+
isMultipart?: boolean;
|
|
329
|
+
previewUrl?: string;
|
|
330
|
+
progress?: number;
|
|
331
|
+
size?: number;
|
|
332
|
+
tooltipText?: string;
|
|
333
|
+
type?: string;
|
|
334
|
+
url?: string;
|
|
335
|
+
}
|
|
258
336
|
/** 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
337
|
export interface CollapseBelow {
|
|
260
338
|
[key: string]: 'breakpoint2xl' | 'breakpointLg' | 'breakpointMd' | 'breakpointSm' | 'breakpointXl' | false;
|
|
@@ -276,7 +354,14 @@ export interface Column {
|
|
|
276
354
|
}
|
|
277
355
|
export interface CountryIcon {
|
|
278
356
|
alignment?: 'RIGHT';
|
|
357
|
+
'aria-describedby'?: string;
|
|
358
|
+
'aria-label'?: string;
|
|
359
|
+
'aria-labelledby'?: string;
|
|
279
360
|
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';
|
|
361
|
+
isDisabled?: boolean;
|
|
362
|
+
isFocused?: boolean;
|
|
363
|
+
showCursor?: boolean;
|
|
364
|
+
size?: number | string;
|
|
280
365
|
tip?: string;
|
|
281
366
|
type: string;
|
|
282
367
|
}
|
|
@@ -288,6 +373,50 @@ export interface CurrencyCheck {
|
|
|
288
373
|
message: string;
|
|
289
374
|
type: string;
|
|
290
375
|
}
|
|
376
|
+
/** Nested Select props for the currency selector */
|
|
377
|
+
export interface CurrencyCurrencyTypeProp {
|
|
378
|
+
name?: string;
|
|
379
|
+
'aria-describedby'?: string;
|
|
380
|
+
'aria-label'?: string;
|
|
381
|
+
'aria-labelledby'?: string;
|
|
382
|
+
canClear?: boolean;
|
|
383
|
+
defaultSearchQuery?: string;
|
|
384
|
+
defaultValue?: unknown;
|
|
385
|
+
dropdownHeight?: number;
|
|
386
|
+
emptyListPlaceholder?: string | CurrencyEmptyListPlaceholder;
|
|
387
|
+
fuseOptions?: CurrencyFuseOption;
|
|
388
|
+
isDisabled?: boolean;
|
|
389
|
+
isMenuDefaultOpen?: boolean;
|
|
390
|
+
isPositionFixed?: boolean;
|
|
391
|
+
isReadOnly?: boolean;
|
|
392
|
+
isRequired?: boolean;
|
|
393
|
+
isSearchable?: boolean;
|
|
394
|
+
maxHeight?: string | number;
|
|
395
|
+
placeholder?: string;
|
|
396
|
+
scrollThreshold?: number;
|
|
397
|
+
shouldFocusFirstElement?: boolean;
|
|
398
|
+
shouldShowSearchIcon?: boolean;
|
|
399
|
+
shouldUsePortal?: boolean;
|
|
400
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
401
|
+
value?: unknown;
|
|
402
|
+
}
|
|
403
|
+
export interface CurrencyDefaultValue {
|
|
404
|
+
type: string;
|
|
405
|
+
value: string | number;
|
|
406
|
+
}
|
|
407
|
+
export interface CurrencyEmptyListPlaceholder {
|
|
408
|
+
onLoading?: string;
|
|
409
|
+
onNoSearchQuery?: string;
|
|
410
|
+
onNoSearchResults?: string;
|
|
411
|
+
}
|
|
412
|
+
/** Fuse.js search options */
|
|
413
|
+
export interface CurrencyFuseOption {
|
|
414
|
+
[key: string]: unknown;
|
|
415
|
+
}
|
|
416
|
+
export interface CurrencyValue {
|
|
417
|
+
type: string;
|
|
418
|
+
value: string | number;
|
|
419
|
+
}
|
|
291
420
|
export interface DateArg {
|
|
292
421
|
[key: string]: unknown;
|
|
293
422
|
}
|
|
@@ -320,23 +449,87 @@ export interface DaySelectorCheck {
|
|
|
320
449
|
message: string;
|
|
321
450
|
type: string;
|
|
322
451
|
}
|
|
452
|
+
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
453
|
+
export interface DaySelectorRenderProp {
|
|
454
|
+
[key: string]: DaySelectorRenderPropValue;
|
|
455
|
+
}
|
|
456
|
+
export interface DaySelectorRenderPropValue {
|
|
457
|
+
isDisabled?: boolean;
|
|
458
|
+
tip?: DaySelectorTip;
|
|
459
|
+
}
|
|
323
460
|
export interface DaySelectorTip {
|
|
324
461
|
content: string;
|
|
325
462
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
463
|
+
export interface DisabledTip {
|
|
464
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
465
|
+
content: string;
|
|
466
|
+
isVisible?: boolean;
|
|
467
|
+
maxHeight?: number | string;
|
|
468
|
+
maxWidth?: number | string;
|
|
469
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
332
470
|
}
|
|
333
471
|
export interface DraggableListList {
|
|
334
472
|
id: string | number;
|
|
335
473
|
label?: string;
|
|
474
|
+
[key: string]: unknown | string | number | string | undefined;
|
|
475
|
+
}
|
|
476
|
+
/** Tooltip configuration for the default chip renderer */
|
|
477
|
+
export interface DraggableListTip {
|
|
478
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
479
|
+
contentKey?: string;
|
|
480
|
+
hideOnDocumentScroll?: boolean;
|
|
481
|
+
isDelayed?: boolean;
|
|
482
|
+
isMobileSupported?: boolean;
|
|
483
|
+
isPositionFixed?: boolean;
|
|
484
|
+
isVisible?: boolean;
|
|
485
|
+
maxHeight?: number | string;
|
|
486
|
+
maxWidth?: number | string;
|
|
487
|
+
onlyIfChildOverflow?: boolean;
|
|
488
|
+
onlyIfOverflow?: boolean;
|
|
489
|
+
overwriteMiddleware?: boolean;
|
|
490
|
+
padding?: string;
|
|
491
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
492
|
+
shallSkipOverflowY?: boolean;
|
|
493
|
+
tipHideDelay?: number;
|
|
494
|
+
tipShowDelay?: number;
|
|
495
|
+
title?: string;
|
|
496
|
+
titleKey?: string;
|
|
497
|
+
truncateClassName?: string;
|
|
498
|
+
}
|
|
499
|
+
export interface DrawerItem {
|
|
500
|
+
href?: string;
|
|
501
|
+
isDisabled?: boolean;
|
|
502
|
+
title: string;
|
|
503
|
+
value: string;
|
|
504
|
+
}
|
|
505
|
+
/** Breadcrumb props for the drawer title */
|
|
506
|
+
export interface DrawerProp {
|
|
507
|
+
active?: string;
|
|
508
|
+
'aria-describedby'?: string;
|
|
509
|
+
'aria-label'?: string;
|
|
510
|
+
'aria-labelledby'?: string;
|
|
511
|
+
items: DrawerItem[];
|
|
512
|
+
noMargin?: boolean;
|
|
513
|
+
shouldCollapseMiddle?: boolean;
|
|
336
514
|
}
|
|
337
515
|
export interface DropdownDisabledInfo {
|
|
338
516
|
content: string;
|
|
339
517
|
}
|
|
518
|
+
/** Footer item rendered at the bottom of the list */
|
|
519
|
+
export interface DropdownFooter {
|
|
520
|
+
disabledInfo?: string | DropdownDisabledInfo;
|
|
521
|
+
isDisabled?: boolean;
|
|
522
|
+
label?: string;
|
|
523
|
+
labelIcon?: string;
|
|
524
|
+
leftIconType?: string;
|
|
525
|
+
quaternaryLabel?: string;
|
|
526
|
+
secondaryLabel?: string;
|
|
527
|
+
tag?: string | DropdownTag;
|
|
528
|
+
tertiaryLabel?: string;
|
|
529
|
+
type?: 'WARNING' | 'ALERT';
|
|
530
|
+
value?: unknown;
|
|
531
|
+
[key: string]: unknown | string | DropdownDisabledInfo | boolean | string | string | DropdownTag | 'WARNING' | 'ALERT' | undefined;
|
|
532
|
+
}
|
|
340
533
|
export interface DropdownList {
|
|
341
534
|
label: string;
|
|
342
535
|
value: string;
|
|
@@ -344,15 +537,36 @@ export interface DropdownList {
|
|
|
344
537
|
export interface DropdownList2 {
|
|
345
538
|
disabledInfo?: string | DropdownDisabledInfo;
|
|
346
539
|
isDisabled?: boolean;
|
|
347
|
-
label
|
|
540
|
+
label?: string;
|
|
348
541
|
labelIcon?: string;
|
|
349
542
|
leftIconType?: string;
|
|
350
543
|
quaternaryLabel?: string;
|
|
351
544
|
secondaryLabel?: string;
|
|
352
|
-
tag?: string;
|
|
545
|
+
tag?: string | DropdownTag;
|
|
353
546
|
tertiaryLabel?: string;
|
|
354
547
|
type?: 'WARNING' | 'ALERT';
|
|
355
|
-
value
|
|
548
|
+
value?: unknown;
|
|
549
|
+
[key: string]: unknown | string | DropdownDisabledInfo | boolean | string | string | DropdownTag | 'WARNING' | 'ALERT' | undefined;
|
|
550
|
+
}
|
|
551
|
+
export interface DropdownListVariant2 {
|
|
552
|
+
isDisabled?: boolean;
|
|
553
|
+
isNestedMenu?: boolean;
|
|
554
|
+
label: string;
|
|
555
|
+
labelIcon?: string;
|
|
556
|
+
leftIconType?: string;
|
|
557
|
+
list: DropdownList2[];
|
|
558
|
+
tag?: string | DropdownTag;
|
|
559
|
+
value?: unknown;
|
|
560
|
+
[key: string]: unknown | boolean | string | DropdownList2[] | string | DropdownTag | undefined;
|
|
561
|
+
}
|
|
562
|
+
export interface DropdownTag {
|
|
563
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
564
|
+
text: string;
|
|
565
|
+
}
|
|
566
|
+
export interface EditButton {
|
|
567
|
+
disabledTip?: string | DisabledTip;
|
|
568
|
+
isDisabled?: boolean;
|
|
569
|
+
show?: boolean;
|
|
356
570
|
}
|
|
357
571
|
export interface EmailArg {
|
|
358
572
|
[key: string]: unknown;
|
|
@@ -362,6 +576,43 @@ export interface EmailCheck {
|
|
|
362
576
|
message: string;
|
|
363
577
|
type: string;
|
|
364
578
|
}
|
|
579
|
+
/** Pads input value with character until reaching maxLength */
|
|
580
|
+
export interface EmailStringPadding {
|
|
581
|
+
character: string;
|
|
582
|
+
maxLength: number;
|
|
583
|
+
position: 'start' | 'end';
|
|
584
|
+
}
|
|
585
|
+
/** Toggle icon layout options */
|
|
586
|
+
export interface ExpansionPanelToggleIcon {
|
|
587
|
+
align?: string;
|
|
588
|
+
margin?: string;
|
|
589
|
+
size?: number | string;
|
|
590
|
+
}
|
|
591
|
+
export interface FileAllowCameraCapture {
|
|
592
|
+
quality?: number;
|
|
593
|
+
}
|
|
594
|
+
/** Image cropper configuration */
|
|
595
|
+
export interface FileCropperConfig {
|
|
596
|
+
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
597
|
+
enforceAspectRatio?: boolean;
|
|
598
|
+
showUploadButton?: boolean;
|
|
599
|
+
title?: string;
|
|
600
|
+
}
|
|
601
|
+
export interface FileDefaultValue {
|
|
602
|
+
name?: string;
|
|
603
|
+
content?: string;
|
|
604
|
+
hasError?: boolean;
|
|
605
|
+
isMultipart?: boolean;
|
|
606
|
+
previewUrl?: string;
|
|
607
|
+
progress?: number;
|
|
608
|
+
size?: number;
|
|
609
|
+
tooltipText?: string;
|
|
610
|
+
type?: string;
|
|
611
|
+
url?: string;
|
|
612
|
+
}
|
|
613
|
+
export interface FileDropAllowCameraCapture {
|
|
614
|
+
quality?: number;
|
|
615
|
+
}
|
|
365
616
|
export interface FileDropArg {
|
|
366
617
|
[key: string]: unknown;
|
|
367
618
|
}
|
|
@@ -397,30 +648,67 @@ export interface FileDropValue {
|
|
|
397
648
|
type?: string;
|
|
398
649
|
url?: string;
|
|
399
650
|
}
|
|
651
|
+
export interface FileValue {
|
|
652
|
+
name?: string;
|
|
653
|
+
content?: string;
|
|
654
|
+
hasError?: boolean;
|
|
655
|
+
isMultipart?: boolean;
|
|
656
|
+
previewUrl?: string;
|
|
657
|
+
progress?: number;
|
|
658
|
+
size?: number;
|
|
659
|
+
tooltipText?: string;
|
|
660
|
+
type?: string;
|
|
661
|
+
url?: string;
|
|
662
|
+
}
|
|
400
663
|
export interface FloatingButtonIcon {
|
|
401
664
|
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
665
|
type: string;
|
|
403
666
|
}
|
|
404
667
|
export interface FloatingButtonTip {
|
|
668
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
405
669
|
content: string;
|
|
406
|
-
|
|
670
|
+
isVisible?: boolean;
|
|
671
|
+
maxHeight?: number | string;
|
|
672
|
+
maxWidth?: number | string;
|
|
673
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
407
674
|
}
|
|
408
675
|
export interface FloatingButtonTo {
|
|
409
676
|
openInNewTab?: boolean;
|
|
410
677
|
path: string;
|
|
411
678
|
}
|
|
412
|
-
export interface
|
|
679
|
+
export interface FormCheckboxGroupList {
|
|
413
680
|
isDisabled?: boolean;
|
|
414
681
|
label: string;
|
|
415
682
|
secondaryLabel?: string;
|
|
416
683
|
tag?: string | FormCheckboxGroupTag;
|
|
417
|
-
tip?: string;
|
|
684
|
+
tip?: string | FormCheckboxGroupTip;
|
|
418
685
|
value: unknown;
|
|
419
686
|
}
|
|
420
687
|
export interface FormCheckboxGroupTag {
|
|
421
688
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
422
689
|
label: string;
|
|
423
690
|
}
|
|
691
|
+
export interface FormCheckboxGroupTip {
|
|
692
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
693
|
+
content: string;
|
|
694
|
+
hideOnDocumentScroll?: boolean;
|
|
695
|
+
isDelayed?: boolean;
|
|
696
|
+
isMobileSupported?: boolean;
|
|
697
|
+
isPositionFixed?: boolean;
|
|
698
|
+
isVisible?: boolean;
|
|
699
|
+
maxHeight?: number | string;
|
|
700
|
+
maxWidth?: number | string;
|
|
701
|
+
onlyIfChildOverflow?: boolean;
|
|
702
|
+
onlyIfOverflow?: boolean;
|
|
703
|
+
overwriteMiddleware?: boolean;
|
|
704
|
+
padding?: string;
|
|
705
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
706
|
+
shallSkipOverflowY?: boolean;
|
|
707
|
+
tipHideDelay?: number;
|
|
708
|
+
tipShowDelay?: number;
|
|
709
|
+
title?: string;
|
|
710
|
+
truncateClassName?: string;
|
|
711
|
+
}
|
|
424
712
|
/** Map of rule name to error message */
|
|
425
713
|
export interface FormCheckboxGroupValidationError {
|
|
426
714
|
[key: string]: string;
|
|
@@ -429,10 +717,54 @@ export interface FormCheckboxGroupValidationError {
|
|
|
429
717
|
export interface FormCheckboxValidationError {
|
|
430
718
|
[key: string]: string;
|
|
431
719
|
}
|
|
720
|
+
/** Nested Select props for the currency selector */
|
|
721
|
+
export interface FormCurrencyCurrencyTypeProp {
|
|
722
|
+
name?: string;
|
|
723
|
+
'aria-describedby'?: string;
|
|
724
|
+
'aria-label'?: string;
|
|
725
|
+
'aria-labelledby'?: string;
|
|
726
|
+
canClear?: boolean;
|
|
727
|
+
defaultSearchQuery?: string;
|
|
728
|
+
defaultValue?: unknown;
|
|
729
|
+
dropdownHeight?: number;
|
|
730
|
+
emptyListPlaceholder?: string | FormCurrencyEmptyListPlaceholder;
|
|
731
|
+
fuseOptions?: FormCurrencyFuseOption;
|
|
732
|
+
isDisabled?: boolean;
|
|
733
|
+
isMenuDefaultOpen?: boolean;
|
|
734
|
+
isPositionFixed?: boolean;
|
|
735
|
+
isReadOnly?: boolean;
|
|
736
|
+
isRequired?: boolean;
|
|
737
|
+
isSearchable?: boolean;
|
|
738
|
+
maxHeight?: string | number;
|
|
739
|
+
placeholder?: string;
|
|
740
|
+
scrollThreshold?: number;
|
|
741
|
+
shouldFocusFirstElement?: boolean;
|
|
742
|
+
shouldShowSearchIcon?: boolean;
|
|
743
|
+
shouldUsePortal?: boolean;
|
|
744
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
745
|
+
value?: unknown;
|
|
746
|
+
}
|
|
747
|
+
export interface FormCurrencyDefaultValue {
|
|
748
|
+
type: string;
|
|
749
|
+
value: string | number;
|
|
750
|
+
}
|
|
751
|
+
export interface FormCurrencyEmptyListPlaceholder {
|
|
752
|
+
onLoading?: string;
|
|
753
|
+
onNoSearchQuery?: string;
|
|
754
|
+
onNoSearchResults?: string;
|
|
755
|
+
}
|
|
756
|
+
/** Fuse.js search options */
|
|
757
|
+
export interface FormCurrencyFuseOption {
|
|
758
|
+
[key: string]: unknown;
|
|
759
|
+
}
|
|
432
760
|
/** Map of rule name to error message */
|
|
433
761
|
export interface FormCurrencyValidationError {
|
|
434
762
|
[key: string]: string;
|
|
435
763
|
}
|
|
764
|
+
export interface FormCurrencyValue {
|
|
765
|
+
type: string;
|
|
766
|
+
value: string | number;
|
|
767
|
+
}
|
|
436
768
|
/** Map of rule name to error message */
|
|
437
769
|
export interface FormDateRangeValidationError {
|
|
438
770
|
[key: string]: string;
|
|
@@ -441,14 +773,34 @@ export interface FormDateRangeValidationError {
|
|
|
441
773
|
export interface FormDateValidationError {
|
|
442
774
|
[key: string]: string;
|
|
443
775
|
}
|
|
776
|
+
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
777
|
+
export interface FormDaySelectorRenderProp {
|
|
778
|
+
[key: string]: FormDaySelectorRenderPropValue;
|
|
779
|
+
}
|
|
780
|
+
export interface FormDaySelectorRenderPropValue {
|
|
781
|
+
isDisabled?: boolean;
|
|
782
|
+
tip?: FormDaySelectorTip;
|
|
783
|
+
}
|
|
784
|
+
export interface FormDaySelectorTip {
|
|
785
|
+
content: string;
|
|
786
|
+
}
|
|
444
787
|
/** Map of rule name to error message */
|
|
445
788
|
export interface FormDaySelectorValidationError {
|
|
446
789
|
[key: string]: string;
|
|
447
790
|
}
|
|
791
|
+
/** Pads input value with character until reaching maxLength */
|
|
792
|
+
export interface FormEmailStringPadding {
|
|
793
|
+
character: string;
|
|
794
|
+
maxLength: number;
|
|
795
|
+
position: 'start' | 'end';
|
|
796
|
+
}
|
|
448
797
|
/** Map of rule name to error message */
|
|
449
798
|
export interface FormEmailValidationError {
|
|
450
799
|
[key: string]: string;
|
|
451
800
|
}
|
|
801
|
+
export interface FormFileAllowCameraCapture {
|
|
802
|
+
quality?: number;
|
|
803
|
+
}
|
|
452
804
|
/** Cropper configuration */
|
|
453
805
|
export interface FormFileCropperConfig {
|
|
454
806
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -460,12 +812,17 @@ export interface FormFileDefaultValue {
|
|
|
460
812
|
name?: string;
|
|
461
813
|
content?: string;
|
|
462
814
|
hasError?: boolean;
|
|
815
|
+
isMultipart?: boolean;
|
|
463
816
|
previewUrl?: string;
|
|
464
817
|
progress?: number;
|
|
818
|
+
size?: number;
|
|
465
819
|
tooltipText?: string;
|
|
466
820
|
type?: string;
|
|
467
821
|
url?: string;
|
|
468
822
|
}
|
|
823
|
+
export interface FormFileDropAllowCameraCapture {
|
|
824
|
+
quality?: number;
|
|
825
|
+
}
|
|
469
826
|
/** Cropper configuration */
|
|
470
827
|
export interface FormFileDropCropperConfig {
|
|
471
828
|
aspectRatio?: '16:9' | '4:3' | '1:1';
|
|
@@ -505,12 +862,19 @@ export interface FormFileValue {
|
|
|
505
862
|
name?: string;
|
|
506
863
|
content?: string;
|
|
507
864
|
hasError?: boolean;
|
|
865
|
+
isMultipart?: boolean;
|
|
508
866
|
previewUrl?: string;
|
|
509
867
|
progress?: number;
|
|
868
|
+
size?: number;
|
|
510
869
|
tooltipText?: string;
|
|
511
870
|
type?: string;
|
|
512
871
|
url?: string;
|
|
513
872
|
}
|
|
873
|
+
export interface FormIcon {
|
|
874
|
+
alignment?: 'LEFT' | 'RIGHT';
|
|
875
|
+
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';
|
|
876
|
+
type: string;
|
|
877
|
+
}
|
|
514
878
|
/** Main input configuration with type and inputProps */
|
|
515
879
|
export interface FormInputGroupInput {
|
|
516
880
|
inputProps: FormInputGroupInputProp;
|
|
@@ -536,10 +900,22 @@ export interface FormInputGroupValidationError {
|
|
|
536
900
|
export interface FormMaskerValidationError {
|
|
537
901
|
[key: string]: string;
|
|
538
902
|
}
|
|
903
|
+
/** Adds padding characters to the input value */
|
|
904
|
+
export interface FormNumberStringPadding {
|
|
905
|
+
character: string;
|
|
906
|
+
maxLength: number;
|
|
907
|
+
position: 'start' | 'end';
|
|
908
|
+
}
|
|
539
909
|
/** Map of rule name to error message */
|
|
540
910
|
export interface FormNumberValidationError {
|
|
541
911
|
[key: string]: string;
|
|
542
912
|
}
|
|
913
|
+
/** Pads input value with character until reaching maxLength */
|
|
914
|
+
export interface FormPasswordStringPadding {
|
|
915
|
+
character: string;
|
|
916
|
+
maxLength: number;
|
|
917
|
+
position: 'start' | 'end';
|
|
918
|
+
}
|
|
543
919
|
/** Map of rule name to error message */
|
|
544
920
|
export interface FormPasswordValidationError {
|
|
545
921
|
[key: string]: string;
|
|
@@ -548,11 +924,55 @@ export interface FormPasswordValidationError {
|
|
|
548
924
|
export interface FormPercentageValidationError {
|
|
549
925
|
[key: string]: string;
|
|
550
926
|
}
|
|
927
|
+
/** Country-code dropdown configuration preserving the serializable CountryCodeProp shape */
|
|
928
|
+
export interface FormPhoneCountryCode {
|
|
929
|
+
name?: string;
|
|
930
|
+
'aria-describedby'?: string;
|
|
931
|
+
'aria-label'?: string;
|
|
932
|
+
'aria-labelledby'?: string;
|
|
933
|
+
canClear?: boolean;
|
|
934
|
+
defaultSearchQuery?: string;
|
|
935
|
+
defaultValue?: string;
|
|
936
|
+
dropdownHeight?: number;
|
|
937
|
+
emptyListPlaceholder?: string | FormPhoneEmptyListPlaceholder;
|
|
938
|
+
fuseOptions?: FormPhoneFuseOption;
|
|
939
|
+
id?: string;
|
|
940
|
+
isDisabled?: boolean;
|
|
941
|
+
isMenuDefaultOpen?: boolean;
|
|
942
|
+
isPositionFixed?: boolean;
|
|
943
|
+
isReadOnly?: boolean;
|
|
944
|
+
isRequired?: boolean;
|
|
945
|
+
maxHeight?: string | number;
|
|
946
|
+
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';
|
|
947
|
+
rows?: number;
|
|
948
|
+
scrollThreshold?: number;
|
|
949
|
+
shouldFocusFirstElement?: boolean;
|
|
950
|
+
shouldShowSearchIcon?: boolean;
|
|
951
|
+
shouldUsePortal?: boolean;
|
|
952
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
953
|
+
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';
|
|
954
|
+
value?: string | null;
|
|
955
|
+
}
|
|
956
|
+
export interface FormPhoneEmptyListPlaceholder {
|
|
957
|
+
onLoading?: string;
|
|
958
|
+
onNoSearchQuery?: string;
|
|
959
|
+
onNoSearchResults?: string;
|
|
960
|
+
}
|
|
961
|
+
/** Fuse.js search options for the country-code dropdown */
|
|
962
|
+
export interface FormPhoneFuseOption {
|
|
963
|
+
[key: string]: unknown;
|
|
964
|
+
}
|
|
965
|
+
/** Pads input value with character until reaching maxLength */
|
|
966
|
+
export interface FormPhoneStringPadding {
|
|
967
|
+
character: string;
|
|
968
|
+
maxLength: number;
|
|
969
|
+
position: 'start' | 'end';
|
|
970
|
+
}
|
|
551
971
|
/** Map of rule name to error message */
|
|
552
972
|
export interface FormPhoneValidationError {
|
|
553
973
|
[key: string]: string;
|
|
554
974
|
}
|
|
555
|
-
export interface
|
|
975
|
+
export interface FormRadioList {
|
|
556
976
|
isActive?: boolean;
|
|
557
977
|
isDisabled?: boolean;
|
|
558
978
|
label: string;
|
|
@@ -569,7 +989,7 @@ export interface FormRadioTag {
|
|
|
569
989
|
export interface FormRadioValidationError {
|
|
570
990
|
[key: string]: string;
|
|
571
991
|
}
|
|
572
|
-
export interface
|
|
992
|
+
export interface FormSegmentedControlList {
|
|
573
993
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
574
994
|
'aria-label'?: string;
|
|
575
995
|
icon?: string;
|
|
@@ -578,6 +998,11 @@ export interface FormSegmentedControlOption {
|
|
|
578
998
|
tip?: FormSegmentedControlTip;
|
|
579
999
|
value: string;
|
|
580
1000
|
}
|
|
1001
|
+
/** Labels to display at the start and end of the control range */
|
|
1002
|
+
export interface FormSegmentedControlRangeLabel {
|
|
1003
|
+
end: string;
|
|
1004
|
+
start: string;
|
|
1005
|
+
}
|
|
581
1006
|
/** Tooltip to show on hover for this option */
|
|
582
1007
|
export interface FormSegmentedControlTip {
|
|
583
1008
|
content: string;
|
|
@@ -598,7 +1023,16 @@ export interface FormSelectAvatarProp {
|
|
|
598
1023
|
image?: string;
|
|
599
1024
|
title?: string;
|
|
600
1025
|
}
|
|
601
|
-
export interface
|
|
1026
|
+
export interface FormSelectEmptyListPlaceholder {
|
|
1027
|
+
onLoading?: string;
|
|
1028
|
+
onNoSearchQuery?: string;
|
|
1029
|
+
onNoSearchResults?: string;
|
|
1030
|
+
}
|
|
1031
|
+
/** Fuse.js search options for customizing fuzzy search behavior */
|
|
1032
|
+
export interface FormSelectFuseOption {
|
|
1033
|
+
[key: string]: unknown;
|
|
1034
|
+
}
|
|
1035
|
+
export interface FormSelectList {
|
|
602
1036
|
avatarProps?: FormSelectAvatarProp;
|
|
603
1037
|
description?: string;
|
|
604
1038
|
flag?: string;
|
|
@@ -639,6 +1073,7 @@ export interface FormSsnValidationError {
|
|
|
639
1073
|
[key: string]: string;
|
|
640
1074
|
}
|
|
641
1075
|
export interface FormSurveyList {
|
|
1076
|
+
icon?: string;
|
|
642
1077
|
isDisabled?: boolean;
|
|
643
1078
|
label?: string | number;
|
|
644
1079
|
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 +1088,23 @@ export interface FormSurveyRangeLabel {
|
|
|
653
1088
|
export interface FormSurveyValidationError {
|
|
654
1089
|
[key: string]: string;
|
|
655
1090
|
}
|
|
1091
|
+
export interface FormSwitchTip {
|
|
1092
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
1093
|
+
content: string;
|
|
1094
|
+
hideOnDocumentScroll?: boolean;
|
|
1095
|
+
isDelayed?: boolean;
|
|
1096
|
+
isMobileSupported?: boolean;
|
|
1097
|
+
isPositionFixed?: boolean;
|
|
1098
|
+
isVisible?: boolean;
|
|
1099
|
+
maxHeight?: number | string;
|
|
1100
|
+
maxWidth?: number | string;
|
|
1101
|
+
onlyIfChildOverflow?: boolean;
|
|
1102
|
+
onlyIfOverflow?: boolean;
|
|
1103
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
1104
|
+
tipHideDelay?: number;
|
|
1105
|
+
tipShowDelay?: number;
|
|
1106
|
+
title?: string;
|
|
1107
|
+
}
|
|
656
1108
|
/** Map of rule name to error message */
|
|
657
1109
|
export interface FormSwitchValidationError {
|
|
658
1110
|
[key: string]: string;
|
|
@@ -661,18 +1113,38 @@ export interface FormSwitchValidationError {
|
|
|
661
1113
|
export interface FormTextareaValidationError {
|
|
662
1114
|
[key: string]: string;
|
|
663
1115
|
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
1116
|
+
/** Fuse.js search options for customizing suggestion filtering */
|
|
1117
|
+
export interface FormTextAutoSuggestFuseOption {
|
|
1118
|
+
[key: string]: unknown;
|
|
1119
|
+
}
|
|
1120
|
+
export interface FormTextAutoSuggestList {
|
|
1121
|
+
isDisabled?: boolean;
|
|
1122
|
+
label?: string;
|
|
1123
|
+
value?: string | number;
|
|
1124
|
+
[key: string]: unknown | boolean | string | string | number | undefined;
|
|
667
1125
|
}
|
|
668
1126
|
/** Map of rule name to error message */
|
|
669
1127
|
export interface FormTextAutoSuggestValidationError {
|
|
670
1128
|
[key: string]: string;
|
|
671
1129
|
}
|
|
1130
|
+
/** Pads input value with character until reaching maxLength */
|
|
1131
|
+
export interface FormTextStringPadding {
|
|
1132
|
+
character: string;
|
|
1133
|
+
maxLength: number;
|
|
1134
|
+
position: 'start' | 'end';
|
|
1135
|
+
}
|
|
672
1136
|
/** Map of rule name to error message */
|
|
673
1137
|
export interface FormTextValidationError {
|
|
674
1138
|
[key: string]: string;
|
|
675
1139
|
}
|
|
1140
|
+
export interface FormTimeShouldAllowTimeSelection {
|
|
1141
|
+
reference?: string;
|
|
1142
|
+
}
|
|
1143
|
+
export interface FormTimeTimezone {
|
|
1144
|
+
name: string;
|
|
1145
|
+
isRequired?: boolean;
|
|
1146
|
+
value?: string;
|
|
1147
|
+
}
|
|
676
1148
|
/** Map of rule name to error message */
|
|
677
1149
|
export interface FormTimeValidationError {
|
|
678
1150
|
[key: string]: string;
|
|
@@ -694,8 +1166,9 @@ export interface FormTreeFuseOption {
|
|
|
694
1166
|
export interface FormTreeList {
|
|
695
1167
|
disabledInfo?: string | FormTreeDisabledInfo;
|
|
696
1168
|
isDisabled?: boolean;
|
|
1169
|
+
isLeaf?: boolean;
|
|
697
1170
|
label: string;
|
|
698
|
-
parent?: string;
|
|
1171
|
+
parent?: string | null;
|
|
699
1172
|
secondaryLabel?: string;
|
|
700
1173
|
tag?: string | FormTreeTag;
|
|
701
1174
|
value: string;
|
|
@@ -706,8 +1179,9 @@ export interface FormTreeSelectFuseOption {
|
|
|
706
1179
|
}
|
|
707
1180
|
export interface FormTreeSelectList {
|
|
708
1181
|
isDisabled?: boolean;
|
|
1182
|
+
isLeaf?: boolean;
|
|
709
1183
|
label: string;
|
|
710
|
-
parent?: string;
|
|
1184
|
+
parent?: string | null;
|
|
711
1185
|
secondaryLabel?: string;
|
|
712
1186
|
value: string;
|
|
713
1187
|
}
|
|
@@ -731,6 +1205,16 @@ export interface FormValidationError {
|
|
|
731
1205
|
export interface FormValue {
|
|
732
1206
|
[key: string]: unknown;
|
|
733
1207
|
}
|
|
1208
|
+
export interface FormWorkEmailDomainList {
|
|
1209
|
+
isDisabled?: boolean;
|
|
1210
|
+
label?: string;
|
|
1211
|
+
tag?: string | FormWorkEmailTag;
|
|
1212
|
+
value: string;
|
|
1213
|
+
}
|
|
1214
|
+
export interface FormWorkEmailTag {
|
|
1215
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1216
|
+
text: string;
|
|
1217
|
+
}
|
|
734
1218
|
/** Map of rule name to error message */
|
|
735
1219
|
export interface FormWorkEmailValidationError {
|
|
736
1220
|
[key: string]: string;
|
|
@@ -757,6 +1241,12 @@ export interface GridList {
|
|
|
757
1241
|
renderer: 'LABEL';
|
|
758
1242
|
tip?: string | GridTip;
|
|
759
1243
|
}
|
|
1244
|
+
export interface GridListVariant2 {
|
|
1245
|
+
label: string | number;
|
|
1246
|
+
props: GridProp;
|
|
1247
|
+
renderer?: 'TEXT';
|
|
1248
|
+
tip?: string | GridTip;
|
|
1249
|
+
}
|
|
760
1250
|
/** Props passed to LabelRenderer. Icon colors must be Pebble text/icon color tokens. */
|
|
761
1251
|
export interface GridProp {
|
|
762
1252
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
@@ -804,8 +1294,12 @@ export interface IconButtonIcon {
|
|
|
804
1294
|
type: string;
|
|
805
1295
|
}
|
|
806
1296
|
export interface IconButtonTip {
|
|
1297
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
807
1298
|
content: string;
|
|
808
|
-
|
|
1299
|
+
isVisible?: boolean;
|
|
1300
|
+
maxHeight?: number | string;
|
|
1301
|
+
maxWidth?: number | string;
|
|
1302
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
809
1303
|
}
|
|
810
1304
|
export interface IconButtonTo {
|
|
811
1305
|
openInNewTab?: boolean;
|
|
@@ -875,6 +1369,16 @@ export interface LabelTip {
|
|
|
875
1369
|
title?: string;
|
|
876
1370
|
truncateClassName?: string;
|
|
877
1371
|
}
|
|
1372
|
+
/** Label chip displayed next to the title */
|
|
1373
|
+
export interface LabelValue {
|
|
1374
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1375
|
+
children?: string;
|
|
1376
|
+
leftIcon?: string | ObjectUIHeaderLeftIcon;
|
|
1377
|
+
maxWidth?: string;
|
|
1378
|
+
rightIcon?: string | ObjectUIHeaderRightIcon;
|
|
1379
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1380
|
+
tip?: string;
|
|
1381
|
+
}
|
|
878
1382
|
/** Structured border using strict token parts */
|
|
879
1383
|
export interface LayoutBorder {
|
|
880
1384
|
color?: 'colorError' | 'colorOutline' | 'colorOutlineVariant' | 'colorSuccess' | 'colorInfo' | 'colorWarning' | 'colorDisabled' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse' | 'colorDisabledInverse';
|
|
@@ -917,6 +1421,21 @@ export interface LayoutValue {
|
|
|
917
1421
|
x?: number;
|
|
918
1422
|
y?: number;
|
|
919
1423
|
}
|
|
1424
|
+
export interface LinkValue {
|
|
1425
|
+
badge?: TabBadge;
|
|
1426
|
+
title: string;
|
|
1427
|
+
}
|
|
1428
|
+
export interface ListVariant3 {
|
|
1429
|
+
isSeparator: true;
|
|
1430
|
+
}
|
|
1431
|
+
/** Semantic Lottie load configuration object */
|
|
1432
|
+
export interface LoadConfig {
|
|
1433
|
+
animationData?: AnimationData;
|
|
1434
|
+
autoplay?: boolean;
|
|
1435
|
+
loop?: boolean | number;
|
|
1436
|
+
path?: string;
|
|
1437
|
+
renderer?: 'svg' | 'canvas' | 'html';
|
|
1438
|
+
}
|
|
920
1439
|
/** Location object with nickname and address. Required for displaying location information */
|
|
921
1440
|
export interface Location {
|
|
922
1441
|
address: Addres;
|
|
@@ -957,6 +1476,12 @@ export interface MenuListList {
|
|
|
957
1476
|
export interface Metadata {
|
|
958
1477
|
[key: string]: unknown;
|
|
959
1478
|
}
|
|
1479
|
+
/** Toggle icon configuration */
|
|
1480
|
+
export interface NestedListToggleIcon {
|
|
1481
|
+
align?: string;
|
|
1482
|
+
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';
|
|
1483
|
+
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
1484
|
+
}
|
|
960
1485
|
export interface NumberArg {
|
|
961
1486
|
[key: string]: unknown;
|
|
962
1487
|
}
|
|
@@ -987,6 +1512,26 @@ export interface ObjectUIHeaderAvatarProp {
|
|
|
987
1512
|
isRound?: boolean;
|
|
988
1513
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
989
1514
|
}
|
|
1515
|
+
export interface ObjectUIHeaderLeftIcon {
|
|
1516
|
+
'aria-describedby'?: string;
|
|
1517
|
+
'aria-label'?: string;
|
|
1518
|
+
'aria-labelledby'?: string;
|
|
1519
|
+
color?: string;
|
|
1520
|
+
type: string;
|
|
1521
|
+
}
|
|
1522
|
+
/** Primary action button. Clicking it emits the primaryAction event */
|
|
1523
|
+
export interface ObjectUIHeaderPrimaryAction {
|
|
1524
|
+
icon?: string;
|
|
1525
|
+
label: string;
|
|
1526
|
+
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1527
|
+
}
|
|
1528
|
+
export interface ObjectUIHeaderRightIcon {
|
|
1529
|
+
'aria-describedby'?: string;
|
|
1530
|
+
'aria-label'?: string;
|
|
1531
|
+
'aria-labelledby'?: string;
|
|
1532
|
+
color?: string;
|
|
1533
|
+
type: string;
|
|
1534
|
+
}
|
|
990
1535
|
export interface ObjectUIStatsAction {
|
|
991
1536
|
'aria-label'?: string;
|
|
992
1537
|
'aria-labelledby'?: string;
|
|
@@ -1009,6 +1554,12 @@ export interface ObjectUIStatsList {
|
|
|
1009
1554
|
renderer: 'LABEL';
|
|
1010
1555
|
tip?: string | ObjectUIStatsTip;
|
|
1011
1556
|
}
|
|
1557
|
+
export interface ObjectUIStatsListVariant2 {
|
|
1558
|
+
label: string | number;
|
|
1559
|
+
props: ObjectUIStatsProp;
|
|
1560
|
+
renderer?: 'TEXT';
|
|
1561
|
+
tip?: string | ObjectUIStatsTip;
|
|
1562
|
+
}
|
|
1012
1563
|
/** Props passed to LabelRenderer. Icon colors must be Pebble text/icon color tokens. */
|
|
1013
1564
|
export interface ObjectUIStatsProp {
|
|
1014
1565
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
@@ -1083,21 +1634,54 @@ export interface PhoneCheck {
|
|
|
1083
1634
|
message: string;
|
|
1084
1635
|
type: string;
|
|
1085
1636
|
}
|
|
1637
|
+
/** Country-code dropdown configuration preserving the serializable CountryCodeProp shape */
|
|
1638
|
+
export interface PhoneCountryCode {
|
|
1639
|
+
name?: string;
|
|
1640
|
+
'aria-describedby'?: string;
|
|
1641
|
+
'aria-label'?: string;
|
|
1642
|
+
'aria-labelledby'?: string;
|
|
1643
|
+
canClear?: boolean;
|
|
1644
|
+
defaultSearchQuery?: string;
|
|
1645
|
+
defaultValue?: string;
|
|
1646
|
+
dropdownHeight?: number;
|
|
1647
|
+
emptyListPlaceholder?: string | PhoneEmptyListPlaceholder;
|
|
1648
|
+
fuseOptions?: PhoneFuseOption;
|
|
1649
|
+
id?: string;
|
|
1650
|
+
isDisabled?: boolean;
|
|
1651
|
+
isMenuDefaultOpen?: boolean;
|
|
1652
|
+
isPositionFixed?: boolean;
|
|
1653
|
+
isReadOnly?: boolean;
|
|
1654
|
+
isRequired?: boolean;
|
|
1655
|
+
maxHeight?: string | number;
|
|
1656
|
+
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';
|
|
1657
|
+
rows?: number;
|
|
1658
|
+
scrollThreshold?: number;
|
|
1659
|
+
shouldFocusFirstElement?: boolean;
|
|
1660
|
+
shouldShowSearchIcon?: boolean;
|
|
1661
|
+
shouldUsePortal?: boolean;
|
|
1662
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1663
|
+
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';
|
|
1664
|
+
value?: string | null;
|
|
1665
|
+
}
|
|
1666
|
+
export interface PhoneEmptyListPlaceholder {
|
|
1667
|
+
onLoading?: string;
|
|
1668
|
+
onNoSearchQuery?: string;
|
|
1669
|
+
onNoSearchResults?: string;
|
|
1670
|
+
}
|
|
1671
|
+
/** Fuse.js search options for the country-code dropdown */
|
|
1672
|
+
export interface PhoneFuseOption {
|
|
1673
|
+
[key: string]: unknown;
|
|
1674
|
+
}
|
|
1086
1675
|
/** Pads input value with character until reaching maxLength */
|
|
1087
1676
|
export interface PhoneStringPadding {
|
|
1088
1677
|
character: string;
|
|
1089
1678
|
maxLength: number;
|
|
1090
1679
|
position: 'start' | 'end';
|
|
1091
1680
|
}
|
|
1092
|
-
/**
|
|
1093
|
-
export interface
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
export interface ProductThread {
|
|
1097
|
-
display?: Display;
|
|
1098
|
-
groupId?: string;
|
|
1099
|
-
productId: string;
|
|
1100
|
-
productMetadata?: ProductMetadata;
|
|
1681
|
+
/** Serializable popover options; middleware functions are not supported */
|
|
1682
|
+
export interface PopperProp {
|
|
1683
|
+
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
1684
|
+
shouldFlipIfNoSpace?: boolean;
|
|
1101
1685
|
}
|
|
1102
1686
|
export interface ProgressStepsStep {
|
|
1103
1687
|
hasError?: boolean;
|
|
@@ -1118,7 +1702,7 @@ export interface RadioCheck {
|
|
|
1118
1702
|
message: string;
|
|
1119
1703
|
type: string;
|
|
1120
1704
|
}
|
|
1121
|
-
export interface
|
|
1705
|
+
export interface RadioList {
|
|
1122
1706
|
isActive?: boolean;
|
|
1123
1707
|
isDisabled?: boolean;
|
|
1124
1708
|
label: string;
|
|
@@ -1143,18 +1727,6 @@ export interface RangeSliderCheck {
|
|
|
1143
1727
|
export interface RangeSliderMark {
|
|
1144
1728
|
[key: string]: string;
|
|
1145
1729
|
}
|
|
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
1730
|
export interface Role {
|
|
1159
1731
|
fullName?: string;
|
|
1160
1732
|
id?: string;
|
|
@@ -1165,7 +1737,7 @@ export interface Role {
|
|
|
1165
1737
|
workEmail?: string;
|
|
1166
1738
|
}
|
|
1167
1739
|
export interface Row {
|
|
1168
|
-
[key: string]: string | number | boolean;
|
|
1740
|
+
[key: string]: string | number | boolean | null;
|
|
1169
1741
|
}
|
|
1170
1742
|
export interface Segment {
|
|
1171
1743
|
segmentColor: 'chartColorSeries1Chart1' | 'chartColorSeries1Chart2' | 'chartColorSeries1Chart3' | 'chartColorSeries1Chart4' | 'chartColorSeries1Chart5' | 'chartColorSeries2Chart1' | 'chartColorSeries2Chart2' | 'chartColorSeries2Chart3' | 'chartColorSeries2Chart4' | 'chartColorSeries2Chart5' | 'chartColorSeries3Chart1' | 'chartColorSeries3Chart2' | 'chartColorSeries3Chart3' | 'chartColorSeries3Chart4' | 'chartColorSeries3Chart5' | 'chartColorSeries4Chart1' | 'chartColorSeries4Chart2' | 'chartColorSeries4Chart3' | 'chartColorSeries4Chart4' | 'chartColorSeries4Chart5' | 'chartColorSeries5Chart1' | 'chartColorSeries5Chart2' | 'chartColorSeries5Chart3' | 'chartColorSeries5Chart4' | 'chartColorSeries5Chart5' | 'chartColorSeries6Chart1' | 'chartColorSeries6Chart2' | 'chartColorSeries6Chart3' | 'chartColorSeries6Chart4' | 'chartColorSeries6Chart5' | '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' | 'colorOnPrimary' | 'colorOnSecondary' | 'colorOnTertiary' | 'colorOnPrimaryContainer' | 'colorOnSecondaryContainer' | 'colorOnTertiaryContainer' | 'colorOnError' | 'colorOnErrorContainer' | 'colorOnSurface' | 'colorOnSurfaceVariant' | 'colorOnSurfaceInverse' | 'colorOnSuccess' | 'colorOnSuccessContainer' | 'colorOnInfo' | 'colorOnInfoContainer' | 'colorOnWarning' | 'colorOnWarningContainer' | 'colorOnDisabledSurface' | 'colorOnDisabledSurfaceInverse' | 'colorOnSecondaryVariant' | 'colorOnPrimaryVariant' | 'colorOnTertiaryVariant' | 'colorOutline' | 'colorOutlineVariant' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse';
|
|
@@ -1179,6 +1751,15 @@ export interface SegmentedControlCheck {
|
|
|
1179
1751
|
message: string;
|
|
1180
1752
|
type: string;
|
|
1181
1753
|
}
|
|
1754
|
+
export interface SegmentedControlList {
|
|
1755
|
+
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
1756
|
+
'aria-label'?: string;
|
|
1757
|
+
icon?: string;
|
|
1758
|
+
isDisabled?: boolean;
|
|
1759
|
+
label?: string;
|
|
1760
|
+
tip?: SegmentedControlTip;
|
|
1761
|
+
value: string;
|
|
1762
|
+
}
|
|
1182
1763
|
export interface SegmentedControlOption {
|
|
1183
1764
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
1184
1765
|
'aria-label'?: string;
|
|
@@ -1226,6 +1807,15 @@ export interface SelectCheck {
|
|
|
1226
1807
|
message: string;
|
|
1227
1808
|
type: string;
|
|
1228
1809
|
}
|
|
1810
|
+
/** Bindable selected emoji data written before the change event emits */
|
|
1811
|
+
export interface SelectedEmoji {
|
|
1812
|
+
name: string;
|
|
1813
|
+
id: string;
|
|
1814
|
+
keywords: string[];
|
|
1815
|
+
native: string;
|
|
1816
|
+
shortcodes: string;
|
|
1817
|
+
unified: string;
|
|
1818
|
+
}
|
|
1229
1819
|
export interface SelectEmptyListPlaceholder {
|
|
1230
1820
|
onLoading?: string;
|
|
1231
1821
|
onNoSearchQuery?: string;
|
|
@@ -1240,6 +1830,22 @@ export interface SelectFooter {
|
|
|
1240
1830
|
export interface SelectFuseOption {
|
|
1241
1831
|
[key: string]: unknown;
|
|
1242
1832
|
}
|
|
1833
|
+
export interface SelectList {
|
|
1834
|
+
avatarProps?: SelectAvatarProp;
|
|
1835
|
+
description?: string;
|
|
1836
|
+
flag?: string;
|
|
1837
|
+
isDisabled?: boolean;
|
|
1838
|
+
isRecommended?: boolean;
|
|
1839
|
+
isSeparator?: boolean;
|
|
1840
|
+
label: string;
|
|
1841
|
+
labelIcon?: string;
|
|
1842
|
+
leftIconType?: string;
|
|
1843
|
+
quaternaryLabel?: string;
|
|
1844
|
+
rightLabel?: string;
|
|
1845
|
+
secondaryLabel?: string;
|
|
1846
|
+
tertiaryLabel?: string;
|
|
1847
|
+
value: unknown;
|
|
1848
|
+
}
|
|
1243
1849
|
export interface SelectOption {
|
|
1244
1850
|
avatarProps?: SelectAvatarProp;
|
|
1245
1851
|
description?: string;
|
|
@@ -1285,6 +1891,10 @@ export interface Size {
|
|
|
1285
1891
|
max?: string;
|
|
1286
1892
|
min?: string;
|
|
1287
1893
|
}
|
|
1894
|
+
/** Secondary skip action. Click emits the skip event. */
|
|
1895
|
+
export interface SkipButton {
|
|
1896
|
+
label?: string;
|
|
1897
|
+
}
|
|
1288
1898
|
export interface Slide {
|
|
1289
1899
|
alt?: string;
|
|
1290
1900
|
heading: string;
|
|
@@ -1322,13 +1932,6 @@ export interface StandAloneStep {
|
|
|
1322
1932
|
status?: 'COMPLETE' | 'ERROR' | 'TODO' | 'SKIPPED';
|
|
1323
1933
|
title: string;
|
|
1324
1934
|
}
|
|
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
1935
|
/** Avatar configuration to display with the step. Supports image URLs */
|
|
1333
1936
|
export interface StepperAvatar {
|
|
1334
1937
|
imageUrl?: string;
|
|
@@ -1350,6 +1953,7 @@ export interface StepperStep {
|
|
|
1350
1953
|
}
|
|
1351
1954
|
/** Configuration for the form submit button */
|
|
1352
1955
|
export interface SubmitButtonProp {
|
|
1956
|
+
icon?: string | FormIcon;
|
|
1353
1957
|
isDisabled?: boolean;
|
|
1354
1958
|
isFluid?: boolean;
|
|
1355
1959
|
isLoading?: boolean;
|
|
@@ -1360,6 +1964,11 @@ export interface SupportButtonTo {
|
|
|
1360
1964
|
openInNewTab?: boolean;
|
|
1361
1965
|
path: string;
|
|
1362
1966
|
}
|
|
1967
|
+
export interface SupportLink {
|
|
1968
|
+
href?: string;
|
|
1969
|
+
icon?: string;
|
|
1970
|
+
text?: string;
|
|
1971
|
+
}
|
|
1363
1972
|
export interface SurveyArg {
|
|
1364
1973
|
[key: string]: unknown;
|
|
1365
1974
|
}
|
|
@@ -1369,6 +1978,7 @@ export interface SurveyCheck {
|
|
|
1369
1978
|
type: string;
|
|
1370
1979
|
}
|
|
1371
1980
|
export interface SurveyList {
|
|
1981
|
+
icon?: string;
|
|
1372
1982
|
isDisabled?: boolean;
|
|
1373
1983
|
label?: string | number;
|
|
1374
1984
|
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 +1997,10 @@ export interface SwitchCheck {
|
|
|
1387
1997
|
message: string;
|
|
1388
1998
|
type: string;
|
|
1389
1999
|
}
|
|
2000
|
+
export interface SwitchTip {
|
|
2001
|
+
content: string;
|
|
2002
|
+
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';
|
|
2003
|
+
}
|
|
1390
2004
|
/** Badge to display on the tab */
|
|
1391
2005
|
export interface TabBadge {
|
|
1392
2006
|
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 +2008,18 @@ export interface TabBadge {
|
|
|
1394
2008
|
}
|
|
1395
2009
|
export interface TabItem {
|
|
1396
2010
|
badge?: TabBadge;
|
|
1397
|
-
|
|
2011
|
+
href?: string;
|
|
1398
2012
|
icon?: string;
|
|
1399
|
-
|
|
2013
|
+
isDisabled?: boolean;
|
|
1400
2014
|
tip?: string | TabTip;
|
|
2015
|
+
title: string;
|
|
1401
2016
|
value: unknown;
|
|
1402
2017
|
}
|
|
2018
|
+
export interface TabList {
|
|
2019
|
+
badge?: TabBadge;
|
|
2020
|
+
links?: LinkValue[];
|
|
2021
|
+
title: string;
|
|
2022
|
+
}
|
|
1403
2023
|
export interface TabTip {
|
|
1404
2024
|
content: string;
|
|
1405
2025
|
testId?: string;
|
|
@@ -1420,16 +2040,20 @@ export interface TextAutoSuggestCheck {
|
|
|
1420
2040
|
message: string;
|
|
1421
2041
|
type: string;
|
|
1422
2042
|
}
|
|
2043
|
+
/** Fuse.js search options for customizing suggestion filtering */
|
|
2044
|
+
export interface TextAutoSuggestFuseOption {
|
|
2045
|
+
[key: string]: unknown;
|
|
2046
|
+
}
|
|
2047
|
+
export interface TextAutoSuggestList {
|
|
2048
|
+
label: string;
|
|
2049
|
+
value: string | number;
|
|
2050
|
+
}
|
|
1423
2051
|
/** Pads input value with character until reaching maxLength */
|
|
1424
2052
|
export interface TextAutoSuggestStringPadding {
|
|
1425
2053
|
character: string;
|
|
1426
2054
|
maxLength: number;
|
|
1427
2055
|
position: 'start' | 'end';
|
|
1428
2056
|
}
|
|
1429
|
-
export interface TextAutoSuggestSuggestion {
|
|
1430
|
-
label: string;
|
|
1431
|
-
value: string | number;
|
|
1432
|
-
}
|
|
1433
2057
|
export interface TextInputArg {
|
|
1434
2058
|
[key: string]: unknown;
|
|
1435
2059
|
}
|
|
@@ -1464,6 +2088,17 @@ export interface TimeRangeCheck {
|
|
|
1464
2088
|
message: string;
|
|
1465
2089
|
type: string;
|
|
1466
2090
|
}
|
|
2091
|
+
export interface TimeRangeShouldAllowTimeSelection {
|
|
2092
|
+
reference?: string;
|
|
2093
|
+
}
|
|
2094
|
+
export interface TimeShouldAllowTimeSelection {
|
|
2095
|
+
reference?: string;
|
|
2096
|
+
}
|
|
2097
|
+
export interface TimeTimezone {
|
|
2098
|
+
name: string;
|
|
2099
|
+
isRequired?: boolean;
|
|
2100
|
+
value?: string;
|
|
2101
|
+
}
|
|
1467
2102
|
export interface TimezoneArg {
|
|
1468
2103
|
[key: string]: unknown;
|
|
1469
2104
|
}
|
|
@@ -1472,11 +2107,9 @@ export interface TimezoneCheck {
|
|
|
1472
2107
|
message: string;
|
|
1473
2108
|
type: string;
|
|
1474
2109
|
}
|
|
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';
|
|
2110
|
+
export interface Title {
|
|
2111
|
+
kind: 'BREADCRUMB';
|
|
2112
|
+
props: DrawerProp;
|
|
1480
2113
|
}
|
|
1481
2114
|
export interface TreeArg {
|
|
1482
2115
|
[key: string]: unknown;
|
|
@@ -1503,8 +2136,9 @@ export interface TreeFuseOption {
|
|
|
1503
2136
|
export interface TreeList {
|
|
1504
2137
|
disabledInfo?: string | TreeDisabledInfo;
|
|
1505
2138
|
isDisabled?: boolean;
|
|
2139
|
+
isLeaf?: boolean;
|
|
1506
2140
|
label: string;
|
|
1507
|
-
parent?: string;
|
|
2141
|
+
parent?: string | null;
|
|
1508
2142
|
secondaryLabel?: string;
|
|
1509
2143
|
tag?: string | TreeTag;
|
|
1510
2144
|
value: string;
|
|
@@ -1523,8 +2157,9 @@ export interface TreeSelectFuseOption {
|
|
|
1523
2157
|
}
|
|
1524
2158
|
export interface TreeSelectList {
|
|
1525
2159
|
isDisabled?: boolean;
|
|
2160
|
+
isLeaf?: boolean;
|
|
1526
2161
|
label: string;
|
|
1527
|
-
parent?: string;
|
|
2162
|
+
parent?: string | null;
|
|
1528
2163
|
secondaryLabel?: string;
|
|
1529
2164
|
value: string;
|
|
1530
2165
|
}
|
|
@@ -1563,20 +2198,25 @@ export interface WorkEmailCheck {
|
|
|
1563
2198
|
message: string;
|
|
1564
2199
|
type: string;
|
|
1565
2200
|
}
|
|
2201
|
+
export interface WorkEmailDomainList {
|
|
2202
|
+
isDisabled?: boolean;
|
|
2203
|
+
label?: string;
|
|
2204
|
+
tag?: string | WorkEmailTag;
|
|
2205
|
+
value: string;
|
|
2206
|
+
}
|
|
2207
|
+
export interface WorkEmailTag {
|
|
2208
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
2209
|
+
text: string;
|
|
2210
|
+
}
|
|
1566
2211
|
export interface ActionCardProps {
|
|
1567
2212
|
alignment?: 'LEFT' | 'CENTER' | 'RIGHT';
|
|
1568
2213
|
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;
|
|
2214
|
+
caption: string | number;
|
|
1570
2215
|
icon?: string;
|
|
1571
2216
|
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;
|
|
2217
|
+
padding?: ActionCardPadding;
|
|
2218
|
+
primaryAction?: ActionCardPrimaryAction;
|
|
2219
|
+
secondaryAction?: ActionCardSecondaryAction;
|
|
1580
2220
|
shouldShowAsset?: boolean;
|
|
1581
2221
|
title?: string;
|
|
1582
2222
|
}
|
|
@@ -1584,24 +2224,15 @@ export interface AiIconProps {
|
|
|
1584
2224
|
'aria-label'?: string;
|
|
1585
2225
|
showText?: boolean;
|
|
1586
2226
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1587
|
-
testId?: string;
|
|
1588
2227
|
}
|
|
1589
2228
|
export interface AlertProps {
|
|
1590
|
-
|
|
2229
|
+
description?: string;
|
|
2230
|
+
isCloseable?: boolean;
|
|
1591
2231
|
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;
|
|
2232
|
+
primaryAction?: AlertPrimaryAction;
|
|
2233
|
+
secondaryAction?: AlertSecondaryAction;
|
|
1603
2234
|
title?: string;
|
|
1604
|
-
type?: '
|
|
2235
|
+
type?: 'Info' | 'Success' | 'Warning' | 'Error' | 'Neutral';
|
|
1605
2236
|
}
|
|
1606
2237
|
export interface AnimationProps {
|
|
1607
2238
|
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 +2266,9 @@ export interface AppGroupSelectProps {
|
|
|
1635
2266
|
isRequired?: boolean;
|
|
1636
2267
|
isSearchable?: boolean;
|
|
1637
2268
|
label?: string;
|
|
2269
|
+
list?: (AppGroupSelectList | AppGroupSelectListVariant2)[];
|
|
1638
2270
|
maxHeight?: string | number;
|
|
1639
2271
|
maxTruncationLines?: number;
|
|
1640
|
-
options?: AppGroupSelectOption | AppGroupSelectOption[];
|
|
1641
2272
|
placeholder?: string;
|
|
1642
2273
|
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
2274
|
rows?: number;
|
|
@@ -1675,17 +2306,16 @@ export interface AvatarProps {
|
|
|
1675
2306
|
'aria-label'?: string;
|
|
1676
2307
|
'aria-labelledby'?: string;
|
|
1677
2308
|
'aria-role'?: string;
|
|
1678
|
-
|
|
1679
|
-
badgeChar?: string;
|
|
2309
|
+
badge?: AvatarBadge;
|
|
1680
2310
|
caption?: string;
|
|
1681
2311
|
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
2312
|
icon?: string | AvatarIcon;
|
|
1684
2313
|
image?: string;
|
|
1685
2314
|
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
2315
|
isCompact?: boolean;
|
|
1687
2316
|
isRounded?: boolean;
|
|
1688
|
-
size?:
|
|
2317
|
+
size?: 24 | 32 | 40 | 56 | 64;
|
|
2318
|
+
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
2319
|
tip?: AvatarTip;
|
|
1690
2320
|
title?: string;
|
|
1691
2321
|
to?: string | AvatarTo;
|
|
@@ -1693,26 +2323,33 @@ export interface AvatarProps {
|
|
|
1693
2323
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1694
2324
|
}
|
|
1695
2325
|
export interface AvatarListProps {
|
|
2326
|
+
'aria-describedby'?: string;
|
|
2327
|
+
'aria-label'?: string;
|
|
2328
|
+
'aria-labelledby'?: string;
|
|
1696
2329
|
isRounded?: boolean;
|
|
1697
2330
|
limit?: number;
|
|
1698
2331
|
modalTitle?: string;
|
|
1699
2332
|
roles?: Role[];
|
|
1700
|
-
size?:
|
|
2333
|
+
size?: 24 | 32 | 40 | 56 | 64;
|
|
1701
2334
|
totalCount?: number;
|
|
1702
2335
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1703
2336
|
}
|
|
1704
2337
|
export interface BadgeProps {
|
|
1705
2338
|
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;
|
|
2339
|
+
'aria-hidden'?: boolean;
|
|
2340
|
+
'aria-label'?: string;
|
|
2341
|
+
size?: 'EXTRA_SMALL' | 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1710
2342
|
text: string;
|
|
1711
2343
|
tip?: BadgeTip;
|
|
1712
2344
|
}
|
|
1713
2345
|
export interface BoxProps {
|
|
1714
2346
|
align?: string;
|
|
1715
2347
|
alignSelf?: string;
|
|
2348
|
+
'aria-describedby'?: string;
|
|
2349
|
+
'aria-disabled'?: boolean;
|
|
2350
|
+
'aria-hidden'?: boolean;
|
|
2351
|
+
'aria-label'?: string;
|
|
2352
|
+
'aria-labelledby'?: string;
|
|
1716
2353
|
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';
|
|
1717
2354
|
basis?: number | string;
|
|
1718
2355
|
border?: string | BoxBorder | BoxBorder;
|
|
@@ -1721,6 +2358,7 @@ export interface BoxProps {
|
|
|
1721
2358
|
child?: boolean;
|
|
1722
2359
|
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';
|
|
1723
2360
|
container?: boolean | string;
|
|
2361
|
+
containerType?: string;
|
|
1724
2362
|
direction?: string;
|
|
1725
2363
|
flex?: string;
|
|
1726
2364
|
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' | BoxGap;
|
|
@@ -1751,9 +2389,13 @@ export interface BrandBadgeProps {
|
|
|
1751
2389
|
}
|
|
1752
2390
|
export interface BreadcrumbProps {
|
|
1753
2391
|
active?: string;
|
|
2392
|
+
'aria-describedby'?: string;
|
|
2393
|
+
'aria-label'?: string;
|
|
2394
|
+
'aria-labelledby'?: string;
|
|
1754
2395
|
items: BreadcrumbItem[];
|
|
1755
2396
|
noMargin?: boolean;
|
|
1756
2397
|
shouldCollapseMiddle?: boolean;
|
|
2398
|
+
shouldTruncateItems?: boolean;
|
|
1757
2399
|
}
|
|
1758
2400
|
export interface ButtonProps {
|
|
1759
2401
|
appearance?: 'PRIMARY' | 'DESTRUCTIVE' | 'OUTLINE' | 'GHOST' | 'ACCENT' | 'SUCCESS' | 'INFO' | 'WARNING' | 'SOLID' | 'ACTIVE';
|
|
@@ -1775,7 +2417,6 @@ export interface ButtonProps {
|
|
|
1775
2417
|
shouldShowSpinner?: boolean;
|
|
1776
2418
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1777
2419
|
tabIndex?: number;
|
|
1778
|
-
testId?: string;
|
|
1779
2420
|
tip?: string | ButtonTip;
|
|
1780
2421
|
to?: string | ButtonTo;
|
|
1781
2422
|
type?: 'button' | 'reset' | 'submit';
|
|
@@ -1789,15 +2430,17 @@ export interface ButtonGroupProps {
|
|
|
1789
2430
|
placement?: 'horizontallyLeft' | 'horizontallyCenter' | 'horizontallyRight' | 'horizontallySpaceBetween' | 'verticallyTop' | 'verticallyCenter' | 'verticallyBottom' | 'verticallySpaceBetween';
|
|
1790
2431
|
}
|
|
1791
2432
|
export interface CalendarProps {
|
|
2433
|
+
displayDate?: string;
|
|
1792
2434
|
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
2435
|
isDisabled?: boolean;
|
|
1794
2436
|
isLarge?: boolean;
|
|
2437
|
+
locale?: string;
|
|
1795
2438
|
maxDate?: string;
|
|
1796
2439
|
minDate?: string;
|
|
1797
2440
|
shouldShowFooter?: boolean;
|
|
1798
2441
|
shouldShowHeader?: boolean | ShouldShowHeader;
|
|
1799
2442
|
shouldShowWeekDayInitials?: boolean;
|
|
1800
|
-
|
|
2443
|
+
showMonthYearPicker?: boolean;
|
|
1801
2444
|
value?: string | string[];
|
|
1802
2445
|
}
|
|
1803
2446
|
export interface CardProps {
|
|
@@ -1807,9 +2450,11 @@ export interface CardProps {
|
|
|
1807
2450
|
isAddCard?: boolean;
|
|
1808
2451
|
isDisabled?: boolean;
|
|
1809
2452
|
minCardHeight?: number;
|
|
2453
|
+
padding?: 0 | 8 | 16 | 24 | 32 | string;
|
|
1810
2454
|
selectedActionId?: string;
|
|
1811
2455
|
showDelete?: boolean;
|
|
1812
2456
|
showEdit?: boolean;
|
|
2457
|
+
theme?: 'DEFAULT' | 'SELECTABLE';
|
|
1813
2458
|
title?: string;
|
|
1814
2459
|
to?: string | CardTo;
|
|
1815
2460
|
value?: unknown;
|
|
@@ -1855,7 +2500,7 @@ export interface CheckboxGroupProps {
|
|
|
1855
2500
|
isReadOnly?: boolean;
|
|
1856
2501
|
isRequired?: boolean;
|
|
1857
2502
|
label?: string;
|
|
1858
|
-
|
|
2503
|
+
list?: CheckboxGroupList[];
|
|
1859
2504
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
1860
2505
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1861
2506
|
value?: unknown[];
|
|
@@ -1883,11 +2528,11 @@ export interface ChipProps {
|
|
|
1883
2528
|
avatar?: string | ChipAvatar;
|
|
1884
2529
|
icon?: string | ChipIcon;
|
|
1885
2530
|
isActive?: boolean;
|
|
2531
|
+
isCloseable?: boolean;
|
|
1886
2532
|
isDisabled?: boolean;
|
|
1887
|
-
isDismissible?: boolean;
|
|
1888
2533
|
isFluid?: boolean;
|
|
1889
2534
|
maxWidth?: number;
|
|
1890
|
-
size?: '
|
|
2535
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1891
2536
|
text?: string;
|
|
1892
2537
|
tip?: ChipTip;
|
|
1893
2538
|
to?: string | ChipTo;
|
|
@@ -1896,8 +2541,8 @@ export interface ChipGroupProps {
|
|
|
1896
2541
|
batchSize?: number;
|
|
1897
2542
|
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
2543
|
maxLinesToWrap?: number;
|
|
2544
|
+
overflowModalIsOpen?: boolean;
|
|
1899
2545
|
overflowModalTitle?: string;
|
|
1900
|
-
testId?: string;
|
|
1901
2546
|
}
|
|
1902
2547
|
export interface CircleProps {
|
|
1903
2548
|
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 +2567,6 @@ export interface ColorPickerProps {
|
|
|
1922
2567
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1923
2568
|
value?: string;
|
|
1924
2569
|
}
|
|
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
2570
|
export interface ContentLoaderProps {
|
|
1949
2571
|
animate?: boolean;
|
|
1950
2572
|
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 +2590,7 @@ export interface CountryProps {
|
|
|
1968
2590
|
onlyFlag?: boolean;
|
|
1969
2591
|
shouldShowFlag?: boolean;
|
|
1970
2592
|
shouldShowTipOnOverflow?: boolean;
|
|
1971
|
-
size?: '
|
|
2593
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
1972
2594
|
}
|
|
1973
2595
|
export interface CurrencyProps {
|
|
1974
2596
|
name?: string;
|
|
@@ -1980,10 +2602,9 @@ export interface CurrencyProps {
|
|
|
1980
2602
|
autoFocus?: boolean;
|
|
1981
2603
|
canSelectCurrencyType?: boolean;
|
|
1982
2604
|
checks?: CurrencyCheck[];
|
|
1983
|
-
|
|
1984
|
-
currencyTypeDefaultValue?: string;
|
|
2605
|
+
currencyTypeProps?: CurrencyCurrencyTypeProp;
|
|
1985
2606
|
decimalPlaces?: number;
|
|
1986
|
-
defaultValue?: string | number;
|
|
2607
|
+
defaultValue?: string | number | CurrencyDefaultValue;
|
|
1987
2608
|
isDisabled?: boolean;
|
|
1988
2609
|
isIntegerOnly?: boolean;
|
|
1989
2610
|
isReadOnly?: boolean;
|
|
@@ -2000,10 +2621,14 @@ export interface CurrencyProps {
|
|
|
2000
2621
|
shouldAllowCalculation?: boolean;
|
|
2001
2622
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
2002
2623
|
shouldLocalize?: boolean;
|
|
2624
|
+
shouldSendCurrencyType?: boolean;
|
|
2003
2625
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2004
2626
|
step?: number;
|
|
2005
2627
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2006
|
-
value?: string | number;
|
|
2628
|
+
value?: string | number | CurrencyValue;
|
|
2629
|
+
}
|
|
2630
|
+
export interface DashboardProps {
|
|
2631
|
+
dashboardId: string;
|
|
2007
2632
|
}
|
|
2008
2633
|
export interface DateProps {
|
|
2009
2634
|
name?: string;
|
|
@@ -2013,6 +2638,7 @@ export interface DateProps {
|
|
|
2013
2638
|
'aria-labelledby'?: string;
|
|
2014
2639
|
canClear?: boolean;
|
|
2015
2640
|
checks?: DateCheck[];
|
|
2641
|
+
defaultValue?: string | null;
|
|
2016
2642
|
divider?: string;
|
|
2017
2643
|
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
2644
|
hideStepper?: boolean;
|
|
@@ -2033,14 +2659,16 @@ export interface DateProps {
|
|
|
2033
2659
|
shouldShowTime?: boolean;
|
|
2034
2660
|
shouldShowTimezoneLabel?: boolean;
|
|
2035
2661
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2662
|
+
theme?: 'NO_BOX';
|
|
2036
2663
|
timeProps?: TimeProp;
|
|
2037
2664
|
timezone?: string;
|
|
2038
2665
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2039
|
-
value?: string;
|
|
2666
|
+
value?: string | null;
|
|
2040
2667
|
}
|
|
2041
2668
|
export interface DateInlineMultiProps {
|
|
2042
2669
|
name?: string;
|
|
2043
2670
|
checks?: DateInlineMultiCheck[];
|
|
2671
|
+
defaultValue?: string[];
|
|
2044
2672
|
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
2673
|
isDisabled?: boolean;
|
|
2046
2674
|
isReadOnly?: boolean;
|
|
@@ -2050,7 +2678,7 @@ export interface DateInlineMultiProps {
|
|
|
2050
2678
|
maxDate?: string;
|
|
2051
2679
|
minDate?: string;
|
|
2052
2680
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2053
|
-
value?: string[];
|
|
2681
|
+
value?: string[] | null;
|
|
2054
2682
|
}
|
|
2055
2683
|
export interface DateRangeProps {
|
|
2056
2684
|
name?: string;
|
|
@@ -2060,10 +2688,12 @@ export interface DateRangeProps {
|
|
|
2060
2688
|
'aria-labelledby'?: string;
|
|
2061
2689
|
canClear?: boolean;
|
|
2062
2690
|
checks?: DateRangeCheck[];
|
|
2691
|
+
defaultValue?: (string | null)[] | null;
|
|
2063
2692
|
divider?: string;
|
|
2064
2693
|
endDateLabel?: string;
|
|
2065
2694
|
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
2695
|
hideStepper?: boolean;
|
|
2696
|
+
id?: string;
|
|
2067
2697
|
isCalendarDefaultOpen?: boolean;
|
|
2068
2698
|
isDisabled?: boolean;
|
|
2069
2699
|
isLarge?: boolean;
|
|
@@ -2080,21 +2710,22 @@ export interface DateRangeProps {
|
|
|
2080
2710
|
shouldShowTimezoneLabel?: boolean;
|
|
2081
2711
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2082
2712
|
startDateLabel?: string;
|
|
2713
|
+
theme?: 'NO_BOX';
|
|
2083
2714
|
timezone?: string;
|
|
2084
2715
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2085
|
-
value?: string[];
|
|
2716
|
+
value?: (string | null)[] | null;
|
|
2086
2717
|
}
|
|
2087
2718
|
export interface DaySelectorProps {
|
|
2088
2719
|
name?: string;
|
|
2089
2720
|
checks?: DaySelectorCheck[];
|
|
2090
|
-
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
2721
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | ('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[];
|
|
2091
2722
|
isMulti?: boolean;
|
|
2092
2723
|
isReadOnly?: boolean;
|
|
2093
2724
|
isRequired?: boolean;
|
|
2094
2725
|
label?: string;
|
|
2095
|
-
renderProps?:
|
|
2726
|
+
renderProps?: DaySelectorRenderProp;
|
|
2096
2727
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2097
|
-
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
2728
|
+
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | ('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[];
|
|
2098
2729
|
}
|
|
2099
2730
|
export interface DistributionBarProps {
|
|
2100
2731
|
segments: Segment[];
|
|
@@ -2116,6 +2747,7 @@ export interface DraggableListProps {
|
|
|
2116
2747
|
limitDragToDragIcon?: boolean;
|
|
2117
2748
|
list: DraggableListList[];
|
|
2118
2749
|
showDragIcon?: boolean;
|
|
2750
|
+
tip?: DraggableListTip;
|
|
2119
2751
|
width?: string;
|
|
2120
2752
|
}
|
|
2121
2753
|
export interface DrawerProps {
|
|
@@ -2128,21 +2760,24 @@ export interface DrawerProps {
|
|
|
2128
2760
|
shouldCloseOnEscape?: boolean;
|
|
2129
2761
|
shouldNotAnimate?: boolean;
|
|
2130
2762
|
theme?: 'BACKGROUND_V2_GRAY' | 'GRAY' | 'NO_PADDING';
|
|
2131
|
-
title?: string;
|
|
2763
|
+
title?: string | Title;
|
|
2132
2764
|
width?: string | number;
|
|
2133
2765
|
}
|
|
2134
2766
|
export interface DropdownProps {
|
|
2135
|
-
defaultValue?:
|
|
2767
|
+
defaultValue?: unknown;
|
|
2768
|
+
dropdownIsOpen?: boolean;
|
|
2769
|
+
footer?: DropdownFooter;
|
|
2136
2770
|
isCompact?: boolean;
|
|
2137
2771
|
isDisabled?: boolean;
|
|
2138
|
-
list: DropdownList2[];
|
|
2772
|
+
list: (DropdownList2 | DropdownListVariant2 | ListVariant3)[];
|
|
2139
2773
|
maxHeight?: number;
|
|
2140
2774
|
placement?: 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' | 'left-start' | 'left' | 'left-end' | 'right-start' | 'right' | 'right-end';
|
|
2141
2775
|
searchable?: boolean;
|
|
2142
2776
|
shouldAutoClose?: boolean;
|
|
2143
2777
|
shouldCloseOnScroll?: boolean;
|
|
2778
|
+
showSelectedLabel?: boolean;
|
|
2144
2779
|
triggerLabel: string;
|
|
2145
|
-
value?:
|
|
2780
|
+
value?: unknown;
|
|
2146
2781
|
width?: number;
|
|
2147
2782
|
}
|
|
2148
2783
|
export interface EmailProps {
|
|
@@ -2175,41 +2810,40 @@ export interface EmailProps {
|
|
|
2175
2810
|
shrinkToValue?: boolean;
|
|
2176
2811
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2177
2812
|
spellCheck?: boolean;
|
|
2813
|
+
stringPadding?: EmailStringPadding;
|
|
2178
2814
|
suffix?: string;
|
|
2179
|
-
testId?: string;
|
|
2180
2815
|
theme?: string;
|
|
2181
2816
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2182
|
-
value?: string;
|
|
2817
|
+
value?: string | null;
|
|
2183
2818
|
}
|
|
2184
2819
|
export interface EmojiPickerProps {
|
|
2185
2820
|
autoFocus?: boolean;
|
|
2186
|
-
categories?: 'frequent' | 'people' | 'nature' | 'foods' | 'activity' | 'places' | 'objects' | 'symbols' | 'flags'[];
|
|
2821
|
+
categories?: ('frequent' | 'people' | 'nature' | 'foods' | 'activity' | 'places' | 'objects' | 'symbols' | 'flags')[];
|
|
2822
|
+
excludeIds?: string[];
|
|
2187
2823
|
fluid?: boolean;
|
|
2188
2824
|
height?: string;
|
|
2189
2825
|
inline?: boolean;
|
|
2190
2826
|
minHeight?: string;
|
|
2191
2827
|
minWidth?: string;
|
|
2192
|
-
|
|
2828
|
+
popperProps?: PopperProp;
|
|
2829
|
+
preventCloseOnSelect?: boolean;
|
|
2830
|
+
selectedEmoji?: SelectedEmoji;
|
|
2831
|
+
triggerIcon?: string;
|
|
2193
2832
|
width?: string;
|
|
2194
2833
|
}
|
|
2195
2834
|
export interface EmployeeSearchProps {
|
|
2196
|
-
name?: string;
|
|
2197
2835
|
canClear?: boolean;
|
|
2198
2836
|
defaultValue?: string | string[];
|
|
2199
|
-
enableEmptySearch?: boolean;
|
|
2200
|
-
helperMessage?: string;
|
|
2201
2837
|
isDisabled?: boolean;
|
|
2202
|
-
isInfiniteScroll?: boolean;
|
|
2203
2838
|
isMulti?: boolean;
|
|
2839
|
+
isReadOnly?: boolean;
|
|
2204
2840
|
isRequired?: boolean;
|
|
2205
|
-
|
|
2841
|
+
label?: string;
|
|
2206
2842
|
placeholder?: string;
|
|
2207
|
-
|
|
2843
|
+
roleIdsToExclude?: string[];
|
|
2208
2844
|
roleIdsToInclude?: string[];
|
|
2209
|
-
roleTypes?: 'ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | '
|
|
2210
|
-
shouldShowSearchIcon?: boolean;
|
|
2845
|
+
roleTypes?: ('ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | 'TERMINATED')[];
|
|
2211
2846
|
tip?: string;
|
|
2212
|
-
title?: string;
|
|
2213
2847
|
value?: string | string[];
|
|
2214
2848
|
}
|
|
2215
2849
|
export interface ExpansionPanelProps {
|
|
@@ -2224,6 +2858,7 @@ export interface ExpansionPanelProps {
|
|
|
2224
2858
|
shouldNotUnmountChild?: boolean;
|
|
2225
2859
|
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
2860
|
title: string;
|
|
2861
|
+
toggleIcon?: ExpansionPanelToggleIcon;
|
|
2227
2862
|
}
|
|
2228
2863
|
export interface ExpansionPanelGroupProps {
|
|
2229
2864
|
isSingleOpen?: boolean;
|
|
@@ -2240,6 +2875,11 @@ export interface FieldProps {
|
|
|
2240
2875
|
}
|
|
2241
2876
|
export interface FileProps {
|
|
2242
2877
|
name?: string;
|
|
2878
|
+
allowCameraCapture?: boolean | FileAllowCameraCapture;
|
|
2879
|
+
clickedFile?: ClickedFile;
|
|
2880
|
+
cropperConfig?: FileCropperConfig;
|
|
2881
|
+
defaultValue?: FileDefaultValue[];
|
|
2882
|
+
icon?: string;
|
|
2243
2883
|
isDisabled?: boolean;
|
|
2244
2884
|
isInvalid?: boolean;
|
|
2245
2885
|
isReadOnly?: boolean;
|
|
@@ -2251,10 +2891,11 @@ export interface FileProps {
|
|
|
2251
2891
|
showProgress?: boolean;
|
|
2252
2892
|
supportTypes?: string[];
|
|
2253
2893
|
type?: 'DEFAULT' | 'RECEIPT';
|
|
2894
|
+
value?: FileValue[];
|
|
2254
2895
|
}
|
|
2255
2896
|
export interface FileDropProps {
|
|
2256
2897
|
name?: string;
|
|
2257
|
-
allowCameraCapture?: boolean;
|
|
2898
|
+
allowCameraCapture?: boolean | FileDropAllowCameraCapture;
|
|
2258
2899
|
'aria-describedby'?: string;
|
|
2259
2900
|
'aria-label'?: string;
|
|
2260
2901
|
'aria-labelledby'?: string;
|
|
@@ -2270,10 +2911,12 @@ export interface FileDropProps {
|
|
|
2270
2911
|
label?: string;
|
|
2271
2912
|
maxFileSize?: number;
|
|
2272
2913
|
maxTotalFileSize?: number;
|
|
2914
|
+
metadata?: unknown;
|
|
2915
|
+
module?: string;
|
|
2273
2916
|
multiPartUpload?: boolean;
|
|
2274
2917
|
multiple?: boolean;
|
|
2275
2918
|
placeholder?: string;
|
|
2276
|
-
supportTypes?:
|
|
2919
|
+
supportTypes?: string[];
|
|
2277
2920
|
type?: 'upload' | 'content';
|
|
2278
2921
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2279
2922
|
value?: FileDropValue[];
|
|
@@ -2294,7 +2937,6 @@ export interface FloatingButtonProps {
|
|
|
2294
2937
|
shouldShowSpinner?: boolean;
|
|
2295
2938
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2296
2939
|
tabIndex?: number;
|
|
2297
|
-
testId?: string;
|
|
2298
2940
|
tip?: string | FloatingButtonTip;
|
|
2299
2941
|
to?: string | FloatingButtonTo;
|
|
2300
2942
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -2302,7 +2944,7 @@ export interface FloatingButtonProps {
|
|
|
2302
2944
|
export interface FormProps {
|
|
2303
2945
|
bottomPadding?: boolean;
|
|
2304
2946
|
caption?: string;
|
|
2305
|
-
editButton?: boolean;
|
|
2947
|
+
editButton?: boolean | EditButton;
|
|
2306
2948
|
inlineLabel?: boolean;
|
|
2307
2949
|
isDefaultEdit?: boolean;
|
|
2308
2950
|
isDisabled?: boolean;
|
|
@@ -2316,6 +2958,8 @@ export interface FormProps {
|
|
|
2316
2958
|
shouldStopFormPropagation?: boolean;
|
|
2317
2959
|
shouldTriggerChangeOnInputUnmount?: boolean;
|
|
2318
2960
|
shouldTrimOnSubmit?: boolean;
|
|
2961
|
+
skipButton?: SkipButton;
|
|
2962
|
+
submitButtonLabel?: string;
|
|
2319
2963
|
submitButtonProps?: SubmitButtonProp;
|
|
2320
2964
|
successMessage?: string;
|
|
2321
2965
|
theme?: 'NO_CARD' | 'NO_MARGIN_Y' | 'V2';
|
|
@@ -2328,12 +2972,15 @@ export interface FormCheckboxProps {
|
|
|
2328
2972
|
name: string;
|
|
2329
2973
|
defaultValue?: boolean;
|
|
2330
2974
|
isDisabled?: boolean;
|
|
2975
|
+
isIndeterminate?: boolean;
|
|
2331
2976
|
isReadOnly?: boolean;
|
|
2332
2977
|
isRequired?: boolean;
|
|
2333
2978
|
label?: string;
|
|
2334
2979
|
secondaryLabel?: string;
|
|
2980
|
+
shouldPreventFocus?: boolean;
|
|
2335
2981
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2336
2982
|
tip?: string;
|
|
2983
|
+
title?: string;
|
|
2337
2984
|
validationErrors?: FormCheckboxValidationError;
|
|
2338
2985
|
validations?: string;
|
|
2339
2986
|
value?: boolean;
|
|
@@ -2342,12 +2989,13 @@ export interface FormCheckboxProps {
|
|
|
2342
2989
|
export interface FormCheckboxGroupProps {
|
|
2343
2990
|
name: string;
|
|
2344
2991
|
defaultValue?: unknown[];
|
|
2992
|
+
id?: string;
|
|
2345
2993
|
isDisabled?: boolean;
|
|
2346
2994
|
isHorizontal?: boolean;
|
|
2347
2995
|
isReadOnly?: boolean;
|
|
2348
2996
|
isRequired?: boolean;
|
|
2349
2997
|
label?: string;
|
|
2350
|
-
|
|
2998
|
+
list: FormCheckboxGroupList[];
|
|
2351
2999
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2352
3000
|
validationErrors?: FormCheckboxGroupValidationError;
|
|
2353
3001
|
validations?: string;
|
|
@@ -2360,22 +3008,28 @@ export interface FormContentProps {
|
|
|
2360
3008
|
export interface FormCurrencyProps {
|
|
2361
3009
|
name: string;
|
|
2362
3010
|
allowNegative?: boolean;
|
|
3011
|
+
canSelectCurrencyType?: boolean;
|
|
3012
|
+
currencyTypeProps?: FormCurrencyCurrencyTypeProp;
|
|
2363
3013
|
decimalPlaces?: number;
|
|
2364
|
-
defaultValue?: number;
|
|
3014
|
+
defaultValue?: string | number | FormCurrencyDefaultValue | null;
|
|
2365
3015
|
isDisabled?: boolean;
|
|
2366
3016
|
isReadOnly?: boolean;
|
|
2367
3017
|
isRequired?: boolean;
|
|
2368
3018
|
label?: string;
|
|
3019
|
+
locale?: string;
|
|
3020
|
+
placeholder?: string;
|
|
2369
3021
|
prefix?: string;
|
|
3022
|
+
shouldSendCurrencyType?: boolean;
|
|
2370
3023
|
validationErrors?: FormCurrencyValidationError;
|
|
2371
3024
|
validations?: string;
|
|
2372
|
-
value?:
|
|
3025
|
+
value?: string | number | FormCurrencyValue | null;
|
|
2373
3026
|
}
|
|
2374
3027
|
export interface FormDateProps {
|
|
2375
3028
|
name: string;
|
|
2376
3029
|
canClear?: boolean;
|
|
2377
|
-
defaultValue?: string;
|
|
3030
|
+
defaultValue?: string | null;
|
|
2378
3031
|
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';
|
|
3032
|
+
id?: string;
|
|
2379
3033
|
isDisabled?: boolean;
|
|
2380
3034
|
isReadOnly?: boolean;
|
|
2381
3035
|
isRequired?: boolean;
|
|
@@ -2383,23 +3037,26 @@ export interface FormDateProps {
|
|
|
2383
3037
|
locale?: string;
|
|
2384
3038
|
maxDate?: string;
|
|
2385
3039
|
minDate?: string;
|
|
3040
|
+
shouldLocalize?: boolean;
|
|
2386
3041
|
shouldShowTime?: boolean;
|
|
2387
3042
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3043
|
+
theme?: 'NO_BOX';
|
|
2388
3044
|
timezone?: string;
|
|
2389
3045
|
tip?: string;
|
|
2390
3046
|
validationErrors?: FormDateValidationError;
|
|
2391
3047
|
validations?: string;
|
|
2392
|
-
value?: string;
|
|
3048
|
+
value?: string | null;
|
|
2393
3049
|
}
|
|
2394
3050
|
export interface FormDateRangeProps {
|
|
2395
3051
|
name: string;
|
|
2396
3052
|
alwaysShowTimezone?: boolean;
|
|
2397
3053
|
canClear?: boolean;
|
|
2398
|
-
defaultValue?: string[];
|
|
3054
|
+
defaultValue?: (string | null)[] | null;
|
|
2399
3055
|
divider?: string;
|
|
2400
3056
|
endDateLabel?: string;
|
|
2401
3057
|
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
3058
|
hideStepper?: boolean;
|
|
3059
|
+
id?: string;
|
|
2403
3060
|
isCalendarDefaultOpen?: boolean;
|
|
2404
3061
|
isDisabled?: boolean;
|
|
2405
3062
|
isLarge?: boolean;
|
|
@@ -2415,26 +3072,29 @@ export interface FormDateRangeProps {
|
|
|
2415
3072
|
shouldShowTimezoneLabel?: boolean;
|
|
2416
3073
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2417
3074
|
startDateLabel?: string;
|
|
3075
|
+
theme?: 'NO_BOX';
|
|
2418
3076
|
timezone?: string;
|
|
2419
3077
|
tip?: string;
|
|
2420
3078
|
validationErrors?: FormDateRangeValidationError;
|
|
2421
3079
|
validations?: string;
|
|
2422
|
-
value?: string[];
|
|
3080
|
+
value?: (string | null)[] | null;
|
|
2423
3081
|
}
|
|
2424
3082
|
export interface FormDaySelectorProps {
|
|
2425
3083
|
name: string;
|
|
2426
|
-
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
3084
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | ('Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday')[];
|
|
2427
3085
|
isDisabled?: boolean;
|
|
2428
3086
|
isMulti?: boolean;
|
|
2429
3087
|
isReadOnly?: boolean;
|
|
2430
3088
|
isRequired?: boolean;
|
|
2431
3089
|
label?: string;
|
|
3090
|
+
renderProps?: FormDaySelectorRenderProp;
|
|
2432
3091
|
validationErrors?: FormDaySelectorValidationError;
|
|
2433
3092
|
validations?: string;
|
|
2434
3093
|
value?: unknown;
|
|
2435
3094
|
}
|
|
2436
3095
|
export interface FormEmailProps {
|
|
2437
3096
|
name: string;
|
|
3097
|
+
autoComplete?: string;
|
|
2438
3098
|
defaultValue?: string;
|
|
2439
3099
|
isDisabled?: boolean;
|
|
2440
3100
|
isReadOnly?: boolean;
|
|
@@ -2442,14 +3102,32 @@ export interface FormEmailProps {
|
|
|
2442
3102
|
label?: string;
|
|
2443
3103
|
maxLength?: number;
|
|
2444
3104
|
placeholder?: string;
|
|
3105
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3106
|
+
stringPadding?: FormEmailStringPadding;
|
|
2445
3107
|
tip?: string;
|
|
2446
3108
|
validationErrors?: FormEmailValidationError;
|
|
2447
3109
|
validations?: string;
|
|
2448
|
-
value?: string;
|
|
3110
|
+
value?: string | null;
|
|
3111
|
+
}
|
|
3112
|
+
export interface FormEmployeeSearchProps {
|
|
3113
|
+
name: string;
|
|
3114
|
+
canClear?: boolean;
|
|
3115
|
+
defaultValue?: string | string[];
|
|
3116
|
+
isDisabled?: boolean;
|
|
3117
|
+
isMulti?: boolean;
|
|
3118
|
+
isReadOnly?: boolean;
|
|
3119
|
+
isRequired?: boolean;
|
|
3120
|
+
label?: string;
|
|
3121
|
+
placeholder?: string;
|
|
3122
|
+
roleIdsToExclude?: string[];
|
|
3123
|
+
roleIdsToInclude?: string[];
|
|
3124
|
+
roleTypes?: ('ACTIVE' | 'GOOD' | 'ACCEPTED_AND_ACTIVE' | 'NON_INIT' | 'INIT' | 'TERMINATED')[];
|
|
3125
|
+
tip?: string;
|
|
3126
|
+
value?: string | string[];
|
|
2449
3127
|
}
|
|
2450
3128
|
export interface FormFileProps {
|
|
2451
3129
|
name: string;
|
|
2452
|
-
allowCameraCapture?: boolean;
|
|
3130
|
+
allowCameraCapture?: boolean | FormFileAllowCameraCapture;
|
|
2453
3131
|
cropperConfig?: FormFileCropperConfig;
|
|
2454
3132
|
defaultValue?: FormFileDefaultValue[];
|
|
2455
3133
|
enableCropper?: boolean;
|
|
@@ -2462,15 +3140,17 @@ export interface FormFileProps {
|
|
|
2462
3140
|
maxTotalFileSize?: number;
|
|
2463
3141
|
multiple?: boolean;
|
|
2464
3142
|
placeholder?: string;
|
|
2465
|
-
|
|
3143
|
+
showProgress?: boolean;
|
|
3144
|
+
supportTypes?: string[];
|
|
2466
3145
|
tip?: string;
|
|
3146
|
+
type?: 'DEFAULT' | 'RECEIPT';
|
|
2467
3147
|
validationErrors?: FormFileValidationError;
|
|
2468
3148
|
validations?: string;
|
|
2469
3149
|
value?: FormFileValue[];
|
|
2470
3150
|
}
|
|
2471
3151
|
export interface FormFileDropProps {
|
|
2472
3152
|
name: string;
|
|
2473
|
-
allowCameraCapture?: boolean;
|
|
3153
|
+
allowCameraCapture?: boolean | FormFileDropAllowCameraCapture;
|
|
2474
3154
|
cropperConfig?: FormFileDropCropperConfig;
|
|
2475
3155
|
defaultValue?: FormFileDropDefaultValue[];
|
|
2476
3156
|
enableCropper?: boolean;
|
|
@@ -2484,7 +3164,7 @@ export interface FormFileDropProps {
|
|
|
2484
3164
|
multiPartUpload?: boolean;
|
|
2485
3165
|
multiple?: boolean;
|
|
2486
3166
|
placeholder?: string;
|
|
2487
|
-
supportTypes?:
|
|
3167
|
+
supportTypes?: string[];
|
|
2488
3168
|
tip?: string;
|
|
2489
3169
|
type?: 'upload' | 'content';
|
|
2490
3170
|
validationErrors?: FormFileDropValidationError;
|
|
@@ -2562,6 +3242,8 @@ export interface FormMaskerProps {
|
|
|
2562
3242
|
}
|
|
2563
3243
|
export interface FormNumberProps {
|
|
2564
3244
|
name: string;
|
|
3245
|
+
autoComplete?: string;
|
|
3246
|
+
autoFocus?: boolean;
|
|
2565
3247
|
decimalPlaces?: number;
|
|
2566
3248
|
defaultValue?: string | number;
|
|
2567
3249
|
isDisabled?: boolean;
|
|
@@ -2569,13 +3251,22 @@ export interface FormNumberProps {
|
|
|
2569
3251
|
isReadOnly?: boolean;
|
|
2570
3252
|
isRequired?: boolean;
|
|
2571
3253
|
label?: string;
|
|
3254
|
+
locale?: string;
|
|
2572
3255
|
max?: number;
|
|
3256
|
+
maxLength?: number;
|
|
3257
|
+
maxWidth?: string;
|
|
2573
3258
|
min?: number;
|
|
3259
|
+
minLength?: number;
|
|
2574
3260
|
placeholder?: string;
|
|
2575
3261
|
prefix?: string;
|
|
2576
3262
|
shouldAllowCalculation?: boolean;
|
|
3263
|
+
shouldDisableFormatting?: boolean;
|
|
3264
|
+
shouldDisableRedundantZeroFormatting?: boolean;
|
|
3265
|
+
shouldStripLeadingZeros?: boolean;
|
|
2577
3266
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3267
|
+
spellCheck?: boolean;
|
|
2578
3268
|
step?: number;
|
|
3269
|
+
stringPadding?: FormNumberStringPadding;
|
|
2579
3270
|
suffix?: string;
|
|
2580
3271
|
tip?: string;
|
|
2581
3272
|
validationErrors?: FormNumberValidationError;
|
|
@@ -2584,14 +3275,28 @@ export interface FormNumberProps {
|
|
|
2584
3275
|
}
|
|
2585
3276
|
export interface FormPasswordProps {
|
|
2586
3277
|
name: string;
|
|
3278
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
3279
|
+
autoComplete?: string;
|
|
3280
|
+
autoCorrect?: 'off' | 'on';
|
|
3281
|
+
autoFocus?: boolean;
|
|
2587
3282
|
defaultValue?: string;
|
|
3283
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2588
3284
|
isDisabled?: boolean;
|
|
3285
|
+
isOriginalInputReadOnly?: boolean;
|
|
2589
3286
|
isReadOnly?: boolean;
|
|
2590
3287
|
isRequired?: boolean;
|
|
2591
3288
|
label?: string;
|
|
2592
3289
|
maxLength?: number;
|
|
3290
|
+
minLength?: number;
|
|
2593
3291
|
placeholder?: string;
|
|
3292
|
+
prefix?: string;
|
|
3293
|
+
readOnlyAffixSpacing?: boolean;
|
|
3294
|
+
shouldAllowReveal?: boolean;
|
|
3295
|
+
shouldPersistCursorPosition?: boolean;
|
|
2594
3296
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3297
|
+
spellCheck?: boolean;
|
|
3298
|
+
stringPadding?: FormPasswordStringPadding;
|
|
3299
|
+
suffix?: string;
|
|
2595
3300
|
tip?: string;
|
|
2596
3301
|
validationErrors?: FormPasswordValidationError;
|
|
2597
3302
|
validations?: string;
|
|
@@ -2606,10 +3311,13 @@ export interface FormPercentageProps {
|
|
|
2606
3311
|
isReadOnly?: boolean;
|
|
2607
3312
|
isRequired?: boolean;
|
|
2608
3313
|
label?: string;
|
|
3314
|
+
locale?: string;
|
|
2609
3315
|
lowerLimit?: number;
|
|
2610
3316
|
placeholder?: string;
|
|
3317
|
+
shouldDisableFormatting?: boolean;
|
|
2611
3318
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2612
3319
|
step?: number;
|
|
3320
|
+
tip?: string;
|
|
2613
3321
|
upperLimit?: number;
|
|
2614
3322
|
validationErrors?: FormPercentageValidationError;
|
|
2615
3323
|
validations?: string;
|
|
@@ -2618,15 +3326,27 @@ export interface FormPercentageProps {
|
|
|
2618
3326
|
export interface FormPhoneProps {
|
|
2619
3327
|
name: string;
|
|
2620
3328
|
autoComplete?: string;
|
|
2621
|
-
|
|
3329
|
+
autoFocus?: boolean;
|
|
3330
|
+
countryCode?: string | FormPhoneCountryCode;
|
|
3331
|
+
countryCodeDefaultValue?: string;
|
|
3332
|
+
countryCodeValue?: string;
|
|
2622
3333
|
defaultRegion?: string;
|
|
2623
3334
|
defaultValue?: string;
|
|
3335
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3336
|
+
isCountryCodeDisabled?: boolean;
|
|
3337
|
+
isCountryCodeReadOnly?: boolean;
|
|
3338
|
+
isCountryCodeRequired?: boolean;
|
|
2624
3339
|
isDisabled?: boolean;
|
|
2625
3340
|
isReadOnly?: boolean;
|
|
2626
3341
|
isRequired?: boolean;
|
|
2627
3342
|
label?: string;
|
|
2628
3343
|
maxLength?: number;
|
|
3344
|
+
minLength?: number;
|
|
2629
3345
|
placeholder?: string;
|
|
3346
|
+
prefix?: string;
|
|
3347
|
+
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3348
|
+
stringPadding?: FormPhoneStringPadding;
|
|
3349
|
+
suffix?: string;
|
|
2630
3350
|
tip?: string;
|
|
2631
3351
|
validationErrors?: FormPhoneValidationError;
|
|
2632
3352
|
validations?: string;
|
|
@@ -2640,7 +3360,7 @@ export interface FormRadioProps {
|
|
|
2640
3360
|
isReadOnly?: boolean;
|
|
2641
3361
|
isRequired?: boolean;
|
|
2642
3362
|
label?: string;
|
|
2643
|
-
|
|
3363
|
+
list: FormRadioList[];
|
|
2644
3364
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
2645
3365
|
tip?: string;
|
|
2646
3366
|
validationErrors?: FormRadioValidationError;
|
|
@@ -2659,7 +3379,8 @@ export interface FormSegmentedControlProps {
|
|
|
2659
3379
|
isRequired?: boolean;
|
|
2660
3380
|
isVertical?: boolean;
|
|
2661
3381
|
label?: string;
|
|
2662
|
-
|
|
3382
|
+
list?: FormSegmentedControlList[];
|
|
3383
|
+
rangeLabels?: FormSegmentedControlRangeLabel;
|
|
2663
3384
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2664
3385
|
validationErrors?: FormSegmentedControlValidationError;
|
|
2665
3386
|
validations?: string;
|
|
@@ -2669,14 +3390,28 @@ export interface FormSelectProps {
|
|
|
2669
3390
|
name: string;
|
|
2670
3391
|
canClear?: boolean;
|
|
2671
3392
|
canSelectAll?: boolean;
|
|
3393
|
+
creatable?: boolean;
|
|
3394
|
+
defaultSearchQuery?: string;
|
|
3395
|
+
defaultValue?: unknown[] | unknown;
|
|
3396
|
+
dropdownHeight?: number;
|
|
3397
|
+
emptyListPlaceholder?: string | FormSelectEmptyListPlaceholder;
|
|
3398
|
+
fuseOptions?: FormSelectFuseOption;
|
|
2672
3399
|
isDisabled?: boolean;
|
|
3400
|
+
isMenuDefaultOpen?: boolean;
|
|
2673
3401
|
isMulti?: boolean;
|
|
3402
|
+
isPositionFixed?: boolean;
|
|
2674
3403
|
isReadOnly?: boolean;
|
|
2675
3404
|
isRequired?: boolean;
|
|
2676
3405
|
isSearchable?: boolean;
|
|
2677
3406
|
label?: string;
|
|
2678
|
-
|
|
3407
|
+
list?: FormSelectList[] | FormSelectList[];
|
|
3408
|
+
maxHeight?: string | number;
|
|
3409
|
+
maxTruncationLines?: number;
|
|
2679
3410
|
placeholder?: string;
|
|
3411
|
+
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';
|
|
3412
|
+
shouldFocusFirstElement?: boolean;
|
|
3413
|
+
shouldShowSearchIcon?: boolean;
|
|
3414
|
+
shouldUsePortal?: boolean;
|
|
2680
3415
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2681
3416
|
tip?: string;
|
|
2682
3417
|
validationErrors?: FormSelectValidationError;
|
|
@@ -2688,7 +3423,7 @@ export interface FormSelectableGroupProps {
|
|
|
2688
3423
|
'aria-describedby'?: string;
|
|
2689
3424
|
'aria-label'?: string;
|
|
2690
3425
|
'aria-labelledby'?: string;
|
|
2691
|
-
defaultValue?: string | number | string | number[];
|
|
3426
|
+
defaultValue?: string | number | (string | number)[];
|
|
2692
3427
|
id?: string;
|
|
2693
3428
|
isDisabled?: boolean;
|
|
2694
3429
|
isMulti?: boolean;
|
|
@@ -2701,7 +3436,7 @@ export interface FormSelectableGroupProps {
|
|
|
2701
3436
|
tip?: string;
|
|
2702
3437
|
validationErrors?: FormSelectableGroupValidationError;
|
|
2703
3438
|
validations?: string;
|
|
2704
|
-
value?: string | number | string | number[];
|
|
3439
|
+
value?: string | number | (string | number)[];
|
|
2705
3440
|
valueIdentifier?: string;
|
|
2706
3441
|
}
|
|
2707
3442
|
export interface FormSignatureProps {
|
|
@@ -2754,7 +3489,7 @@ export interface FormSliderProps {
|
|
|
2754
3489
|
max?: number;
|
|
2755
3490
|
min?: number;
|
|
2756
3491
|
shouldShowMarker?: boolean;
|
|
2757
|
-
step?: number;
|
|
3492
|
+
step?: number | null;
|
|
2758
3493
|
validationErrors?: FormSliderValidationError;
|
|
2759
3494
|
validations?: string;
|
|
2760
3495
|
value?: unknown;
|
|
@@ -2778,7 +3513,7 @@ export interface FormSsnProps {
|
|
|
2778
3513
|
export interface FormSurveyProps {
|
|
2779
3514
|
name: string;
|
|
2780
3515
|
caption?: string;
|
|
2781
|
-
defaultValue?: string | number | string | number[];
|
|
3516
|
+
defaultValue?: string | number | (string | number)[];
|
|
2782
3517
|
isDisabled?: boolean;
|
|
2783
3518
|
isMulti?: boolean;
|
|
2784
3519
|
isReadOnly?: boolean;
|
|
@@ -2791,7 +3526,7 @@ export interface FormSurveyProps {
|
|
|
2791
3526
|
tip?: string;
|
|
2792
3527
|
validationErrors?: FormSurveyValidationError;
|
|
2793
3528
|
validations?: string;
|
|
2794
|
-
value?: string | number | string | number[];
|
|
3529
|
+
value?: string | number | (string | number)[];
|
|
2795
3530
|
}
|
|
2796
3531
|
export interface FormSwitchProps {
|
|
2797
3532
|
name: string;
|
|
@@ -2804,25 +3539,35 @@ export interface FormSwitchProps {
|
|
|
2804
3539
|
offLabel?: string;
|
|
2805
3540
|
onLabel?: string;
|
|
2806
3541
|
rightAlign?: boolean;
|
|
3542
|
+
tip?: string | FormSwitchTip;
|
|
2807
3543
|
validationErrors?: FormSwitchValidationError;
|
|
2808
3544
|
validations?: string;
|
|
2809
3545
|
value?: boolean;
|
|
2810
3546
|
}
|
|
2811
3547
|
export interface FormTextProps {
|
|
2812
3548
|
name: string;
|
|
3549
|
+
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
2813
3550
|
autoComplete?: string;
|
|
3551
|
+
autoCorrect?: 'off' | 'on';
|
|
2814
3552
|
autoFocus?: boolean;
|
|
2815
3553
|
canClear?: boolean;
|
|
2816
3554
|
defaultValue?: string;
|
|
3555
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
2817
3556
|
isDisabled?: boolean;
|
|
3557
|
+
isOriginalInputReadOnly?: boolean;
|
|
2818
3558
|
isReadOnly?: boolean;
|
|
2819
3559
|
isRequired?: boolean;
|
|
2820
3560
|
label?: string;
|
|
2821
3561
|
maxLength?: number;
|
|
2822
3562
|
maxWidth?: string;
|
|
3563
|
+
minLength?: number;
|
|
2823
3564
|
placeholder?: string;
|
|
2824
3565
|
prefix?: string;
|
|
3566
|
+
readOnlyAffixSpacing?: boolean;
|
|
3567
|
+
shouldPersistCursorPosition?: boolean;
|
|
2825
3568
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3569
|
+
spellCheck?: boolean;
|
|
3570
|
+
stringPadding?: FormTextStringPadding;
|
|
2826
3571
|
suffix?: string;
|
|
2827
3572
|
tip?: string;
|
|
2828
3573
|
validationErrors?: FormTextValidationError;
|
|
@@ -2839,6 +3584,7 @@ export interface FormTextareaProps {
|
|
|
2839
3584
|
isReadOnly?: boolean;
|
|
2840
3585
|
isRequired?: boolean;
|
|
2841
3586
|
label?: string;
|
|
3587
|
+
maxHeight?: number;
|
|
2842
3588
|
maxLength?: number;
|
|
2843
3589
|
placeholder?: string;
|
|
2844
3590
|
rows?: number;
|
|
@@ -2851,33 +3597,44 @@ export interface FormTextareaProps {
|
|
|
2851
3597
|
export interface FormTextAutoSuggestProps {
|
|
2852
3598
|
name: string;
|
|
2853
3599
|
defaultValue?: string;
|
|
3600
|
+
fuseOptions?: FormTextAutoSuggestFuseOption;
|
|
2854
3601
|
isDisabled?: boolean;
|
|
3602
|
+
isPositionFixed?: boolean;
|
|
2855
3603
|
isReadOnly?: boolean;
|
|
2856
3604
|
isRequired?: boolean;
|
|
2857
3605
|
label?: string;
|
|
3606
|
+
list: FormTextAutoSuggestList[];
|
|
2858
3607
|
maxLength?: number;
|
|
2859
3608
|
placeholder?: string;
|
|
2860
3609
|
shouldShowMenuOnFocus?: boolean;
|
|
2861
3610
|
shouldShowSearchIcon?: boolean;
|
|
2862
3611
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2863
|
-
suggestions: FormTextAutoSuggestSuggestion[];
|
|
2864
3612
|
validationErrors?: FormTextAutoSuggestValidationError;
|
|
2865
3613
|
validations?: string;
|
|
2866
|
-
value?: string;
|
|
3614
|
+
value?: string | number;
|
|
2867
3615
|
}
|
|
2868
3616
|
export interface FormTimeProps {
|
|
2869
3617
|
name: string;
|
|
3618
|
+
alwaysShowTimezone?: boolean;
|
|
3619
|
+
defaultSelectionStartTime?: string;
|
|
2870
3620
|
defaultValue?: string;
|
|
3621
|
+
isDateTimeInline?: boolean;
|
|
2871
3622
|
isDisabled?: boolean;
|
|
2872
3623
|
isReadOnly?: boolean;
|
|
2873
3624
|
isRequired?: boolean;
|
|
2874
3625
|
label?: string;
|
|
2875
|
-
|
|
3626
|
+
locale?: string;
|
|
3627
|
+
maxWidth?: string;
|
|
3628
|
+
pickClosestMeridiem?: boolean;
|
|
3629
|
+
referenceDate?: string;
|
|
3630
|
+
shouldAllowTimeSelection?: boolean | FormTimeShouldAllowTimeSelection;
|
|
2876
3631
|
shouldDisplaySeconds?: boolean;
|
|
3632
|
+
shouldFormatInTimezone?: boolean;
|
|
2877
3633
|
shouldLocalize?: boolean;
|
|
2878
3634
|
shouldReturnISO?: boolean;
|
|
3635
|
+
shouldShowTimezoneLabel?: boolean;
|
|
2879
3636
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2880
|
-
timezone?: string;
|
|
3637
|
+
timezone?: string | FormTimeTimezone;
|
|
2881
3638
|
validationErrors?: FormTimeValidationError;
|
|
2882
3639
|
validations?: string;
|
|
2883
3640
|
value?: string;
|
|
@@ -2911,7 +3668,7 @@ export interface FormTimezoneProps {
|
|
|
2911
3668
|
export interface FormTreeProps {
|
|
2912
3669
|
name: string;
|
|
2913
3670
|
canSelectAll?: boolean;
|
|
2914
|
-
defaultValue?: string | string[];
|
|
3671
|
+
defaultValue?: string | string[] | null;
|
|
2915
3672
|
dropdownWidth?: number;
|
|
2916
3673
|
emptyListPlaceholder?: string;
|
|
2917
3674
|
fuseOptions?: FormTreeFuseOption;
|
|
@@ -2939,7 +3696,7 @@ export interface FormTreeSelectProps {
|
|
|
2939
3696
|
name: string;
|
|
2940
3697
|
canSelectAll?: boolean;
|
|
2941
3698
|
defaultSearchQuery?: string;
|
|
2942
|
-
defaultValue?: string | string[];
|
|
3699
|
+
defaultValue?: string | string[] | null;
|
|
2943
3700
|
dropdownWidth?: number;
|
|
2944
3701
|
emptyListPlaceholder?: string;
|
|
2945
3702
|
fuseOptions?: FormTreeSelectFuseOption;
|
|
@@ -2970,7 +3727,7 @@ export interface FormWorkEmailProps {
|
|
|
2970
3727
|
name: string;
|
|
2971
3728
|
autoComplete?: string;
|
|
2972
3729
|
defaultValue?: string;
|
|
2973
|
-
domainList?:
|
|
3730
|
+
domainList?: string | string[] | FormWorkEmailDomainList[] | FormWorkEmailDomainList[];
|
|
2974
3731
|
isDisabled?: boolean;
|
|
2975
3732
|
isReadOnly?: boolean;
|
|
2976
3733
|
isRequired?: boolean;
|
|
@@ -2984,7 +3741,7 @@ export interface FormWorkEmailProps {
|
|
|
2984
3741
|
export interface GridProps {
|
|
2985
3742
|
actionClickedId?: string;
|
|
2986
3743
|
actions?: GridAction[];
|
|
2987
|
-
list: GridList |
|
|
3744
|
+
list: (GridList | GridListVariant2)[];
|
|
2988
3745
|
theme?: 'NO_CARD' | 'TRANSPARENT' | 'NO_PADDING';
|
|
2989
3746
|
}
|
|
2990
3747
|
export interface HeadingProps {
|
|
@@ -3028,12 +3785,12 @@ export interface HStackProps {
|
|
|
3028
3785
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
3029
3786
|
}
|
|
3030
3787
|
export interface IconProps {
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3788
|
+
'aria-controls'?: string;
|
|
3789
|
+
'aria-describedby'?: string;
|
|
3790
|
+
'aria-expanded'?: boolean;
|
|
3791
|
+
'aria-haspopup'?: 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
3792
|
+
'aria-label'?: string;
|
|
3793
|
+
'aria-labelledby'?: string;
|
|
3037
3794
|
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
3795
|
isDisabled?: boolean;
|
|
3039
3796
|
isFocused?: boolean;
|
|
@@ -3058,7 +3815,6 @@ export interface IconButtonProps {
|
|
|
3058
3815
|
shouldShowSpinner?: boolean;
|
|
3059
3816
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3060
3817
|
tabIndex?: number;
|
|
3061
|
-
testId?: string;
|
|
3062
3818
|
tip?: string | IconButtonTip;
|
|
3063
3819
|
to?: string | IconButtonTo;
|
|
3064
3820
|
type?: 'button' | 'submit' | 'reset';
|
|
@@ -3069,7 +3825,7 @@ export interface ImageProps {
|
|
|
3069
3825
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3070
3826
|
height?: number | string;
|
|
3071
3827
|
loading?: 'eager' | 'lazy';
|
|
3072
|
-
src
|
|
3828
|
+
src?: string | Src;
|
|
3073
3829
|
theme?: 'COVER';
|
|
3074
3830
|
width?: number | string;
|
|
3075
3831
|
}
|
|
@@ -3185,13 +3941,8 @@ export interface LocationCardProps {
|
|
|
3185
3941
|
to?: string | LocationCardTo;
|
|
3186
3942
|
}
|
|
3187
3943
|
export interface LottiePlayerProps {
|
|
3188
|
-
animationData?: AnimationData;
|
|
3189
|
-
autoplay?: boolean;
|
|
3190
3944
|
height?: string;
|
|
3191
|
-
|
|
3192
|
-
path?: string;
|
|
3193
|
-
renderer?: 'svg' | 'canvas' | 'html';
|
|
3194
|
-
testId?: string;
|
|
3945
|
+
loadConfig?: LoadConfig;
|
|
3195
3946
|
width?: string;
|
|
3196
3947
|
}
|
|
3197
3948
|
export interface MaskerProps {
|
|
@@ -3234,15 +3985,15 @@ export interface MenuListProps {
|
|
|
3234
3985
|
export interface ModalProps {
|
|
3235
3986
|
animation?: string;
|
|
3236
3987
|
backdropAnimation?: string;
|
|
3237
|
-
hasCloseButton?: boolean;
|
|
3238
3988
|
isFullScreen?: boolean;
|
|
3239
|
-
|
|
3989
|
+
isVisible?: boolean;
|
|
3240
3990
|
shouldCloseOnBackdropClick?: boolean;
|
|
3241
3991
|
shouldCloseOnEscape?: boolean;
|
|
3992
|
+
shouldHideCancelIcon?: boolean;
|
|
3242
3993
|
shouldNotAnimate?: boolean;
|
|
3243
|
-
size?: 'small' | 'medium' | 'large';
|
|
3244
3994
|
theme?: 'GRAY' | 'NO_PADDING';
|
|
3245
3995
|
title?: string;
|
|
3996
|
+
width?: number | string;
|
|
3246
3997
|
}
|
|
3247
3998
|
export interface ModalCloseButtonProps {
|
|
3248
3999
|
appearance?: 'ACCENT' | 'ACTIVE' | 'PRIMARY' | 'DESTRUCTIVE' | 'SUCCESS' | 'INFO' | 'WARNING' | 'OUTLINE' | 'SOLID' | 'GHOST';
|
|
@@ -3264,7 +4015,7 @@ export interface NestedListProps {
|
|
|
3264
4015
|
showMore?: ShowMoreValue;
|
|
3265
4016
|
theme?: 'NO_CARD' | 'TRANSPARENT_NO_SEPARATOR' | 'TRANSPARENT_NO_SEPARATOR_NO_CARD';
|
|
3266
4017
|
title?: string;
|
|
3267
|
-
toggleIcon?:
|
|
4018
|
+
toggleIcon?: NestedListToggleIcon;
|
|
3268
4019
|
}
|
|
3269
4020
|
export interface NumberProps {
|
|
3270
4021
|
name?: string;
|
|
@@ -3289,6 +4040,7 @@ export interface NumberProps {
|
|
|
3289
4040
|
shouldAllowCalculation?: boolean;
|
|
3290
4041
|
shouldDisableFormatting?: boolean;
|
|
3291
4042
|
shouldDisableRedundantZeroFormatting?: boolean;
|
|
4043
|
+
shouldStripLeadingZeros?: boolean;
|
|
3292
4044
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3293
4045
|
spellCheck?: boolean;
|
|
3294
4046
|
step?: number;
|
|
@@ -3299,7 +4051,6 @@ export interface NumberProps {
|
|
|
3299
4051
|
value?: string | number;
|
|
3300
4052
|
}
|
|
3301
4053
|
export interface ObjectListViewProps {
|
|
3302
|
-
defaultListViewId?: string;
|
|
3303
4054
|
objectApiName: string;
|
|
3304
4055
|
}
|
|
3305
4056
|
export interface ObjectUIProps {
|
|
@@ -3312,13 +4063,15 @@ export interface ObjectUIContentProps {
|
|
|
3312
4063
|
export interface ObjectUIHeaderProps {
|
|
3313
4064
|
avatarProps?: ObjectUIHeaderAvatarProp;
|
|
3314
4065
|
caption?: string;
|
|
4066
|
+
label?: LabelValue;
|
|
4067
|
+
primaryAction?: ObjectUIHeaderPrimaryAction;
|
|
3315
4068
|
primaryActionLabel?: string;
|
|
3316
4069
|
title?: string;
|
|
3317
4070
|
}
|
|
3318
4071
|
export interface ObjectUIStatsProps {
|
|
3319
4072
|
actionClickedId?: string;
|
|
3320
4073
|
actions?: ObjectUIStatsAction[];
|
|
3321
|
-
list: ObjectUIStatsList |
|
|
4074
|
+
list: (ObjectUIStatsList | ObjectUIStatsListVariant2)[];
|
|
3322
4075
|
}
|
|
3323
4076
|
export interface ObjectUITemplateProps {
|
|
3324
4077
|
}
|
|
@@ -3371,7 +4124,7 @@ export interface PaginateListProps {
|
|
|
3371
4124
|
pageSize?: number;
|
|
3372
4125
|
}
|
|
3373
4126
|
export interface PaneProps {
|
|
3374
|
-
|
|
4127
|
+
'aria-label': string;
|
|
3375
4128
|
collapsed?: boolean;
|
|
3376
4129
|
collapsible?: boolean;
|
|
3377
4130
|
containerName?: string;
|
|
@@ -3400,6 +4153,7 @@ export interface PasswordProps {
|
|
|
3400
4153
|
defaultValue?: string;
|
|
3401
4154
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3402
4155
|
isDisabled?: boolean;
|
|
4156
|
+
isInvalid?: boolean;
|
|
3403
4157
|
isOriginalInputReadOnly?: boolean;
|
|
3404
4158
|
isReadOnly?: boolean;
|
|
3405
4159
|
isRequired?: boolean;
|
|
@@ -3418,7 +4172,6 @@ export interface PasswordProps {
|
|
|
3418
4172
|
spellCheck?: boolean;
|
|
3419
4173
|
stringPadding?: PasswordStringPadding;
|
|
3420
4174
|
suffix?: string;
|
|
3421
|
-
testId?: string;
|
|
3422
4175
|
theme?: string;
|
|
3423
4176
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3424
4177
|
value?: string;
|
|
@@ -3429,7 +4182,9 @@ export interface PercentageProps {
|
|
|
3429
4182
|
checks?: PercentageCheck[];
|
|
3430
4183
|
decimalPlaces?: number;
|
|
3431
4184
|
defaultValue?: number;
|
|
4185
|
+
id?: string;
|
|
3432
4186
|
isDisabled?: boolean;
|
|
4187
|
+
isInvalid?: boolean;
|
|
3433
4188
|
isReadOnly?: boolean;
|
|
3434
4189
|
isRequired?: boolean;
|
|
3435
4190
|
label?: string;
|
|
@@ -3454,7 +4209,7 @@ export interface PhoneProps {
|
|
|
3454
4209
|
autoCorrect?: 'off' | 'on';
|
|
3455
4210
|
autoFocus?: boolean;
|
|
3456
4211
|
checks?: PhoneCheck[];
|
|
3457
|
-
countryCode?: string;
|
|
4212
|
+
countryCode?: string | PhoneCountryCode;
|
|
3458
4213
|
countryCodeDefaultValue?: string;
|
|
3459
4214
|
countryCodeValue?: string;
|
|
3460
4215
|
defaultRegion?: string;
|
|
@@ -3502,6 +4257,7 @@ export interface ProgressBarProps {
|
|
|
3502
4257
|
'aria-label'?: string;
|
|
3503
4258
|
'aria-labelledby'?: string;
|
|
3504
4259
|
'aria-valuetext'?: string;
|
|
4260
|
+
completedPercent?: number;
|
|
3505
4261
|
isIndeterminate?: boolean;
|
|
3506
4262
|
label?: string;
|
|
3507
4263
|
showPercentage?: boolean;
|
|
@@ -3526,10 +4282,11 @@ export interface RadioProps {
|
|
|
3526
4282
|
id?: string;
|
|
3527
4283
|
isDisabled?: boolean;
|
|
3528
4284
|
isHorizontal?: boolean;
|
|
4285
|
+
isInvalid?: boolean;
|
|
3529
4286
|
isReadOnly?: boolean;
|
|
3530
4287
|
isRequired?: boolean;
|
|
3531
4288
|
label?: string;
|
|
3532
|
-
|
|
4289
|
+
list?: RadioList[];
|
|
3533
4290
|
theme?: 'FLUID_WIDTH' | 'REVERSE' | 'FLUID_WIDTH_SPACE_BETWEEN_REVERSE';
|
|
3534
4291
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3535
4292
|
value?: unknown;
|
|
@@ -3554,12 +4311,15 @@ export interface RangeSliderProps {
|
|
|
3554
4311
|
max?: number;
|
|
3555
4312
|
min?: number;
|
|
3556
4313
|
shouldShowMarker?: boolean;
|
|
3557
|
-
step?: number;
|
|
4314
|
+
step?: number | null;
|
|
3558
4315
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3559
4316
|
value?: number[];
|
|
3560
4317
|
}
|
|
3561
4318
|
export interface ReportLoaderProps {
|
|
3562
4319
|
}
|
|
4320
|
+
export interface ReportsProps {
|
|
4321
|
+
reportId: string;
|
|
4322
|
+
}
|
|
3563
4323
|
export interface ReportShareLoaderProps {
|
|
3564
4324
|
}
|
|
3565
4325
|
export interface ReportViewerLoaderProps {
|
|
@@ -3585,12 +4345,14 @@ export interface SegmentedControlProps {
|
|
|
3585
4345
|
defaultValue?: string | string[];
|
|
3586
4346
|
isDisabled?: boolean;
|
|
3587
4347
|
isFluid?: boolean;
|
|
4348
|
+
isInvalid?: boolean;
|
|
3588
4349
|
isMulti?: boolean;
|
|
3589
4350
|
isReadOnly?: boolean;
|
|
3590
4351
|
isRequired?: boolean;
|
|
3591
4352
|
isVertical?: boolean;
|
|
3592
4353
|
label?: string;
|
|
3593
|
-
|
|
4354
|
+
list: SegmentedControlList[];
|
|
4355
|
+
options?: SegmentedControlOption[];
|
|
3594
4356
|
rangeLabels?: SegmentedControlRangeLabel;
|
|
3595
4357
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3596
4358
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
@@ -3606,12 +4368,14 @@ export interface SelectProps {
|
|
|
3606
4368
|
checks?: SelectCheck[];
|
|
3607
4369
|
creatable?: boolean;
|
|
3608
4370
|
defaultSearchQuery?: string;
|
|
4371
|
+
defaultValue?: unknown[] | unknown;
|
|
3609
4372
|
dropdownHeight?: number;
|
|
3610
4373
|
emptyListPlaceholder?: string | SelectEmptyListPlaceholder;
|
|
3611
4374
|
footer?: SelectFooter;
|
|
3612
4375
|
fuseOptions?: SelectFuseOption;
|
|
3613
4376
|
id?: string;
|
|
3614
4377
|
isDisabled?: boolean;
|
|
4378
|
+
isInvalid?: boolean;
|
|
3615
4379
|
isMenuDefaultOpen?: boolean;
|
|
3616
4380
|
isMulti?: boolean;
|
|
3617
4381
|
isPositionFixed?: boolean;
|
|
@@ -3619,9 +4383,10 @@ export interface SelectProps {
|
|
|
3619
4383
|
isRequired?: boolean;
|
|
3620
4384
|
isSearchable?: boolean;
|
|
3621
4385
|
label?: string;
|
|
4386
|
+
list?: SelectList[] | SelectList[];
|
|
3622
4387
|
maxHeight?: string | number;
|
|
3623
4388
|
maxTruncationLines?: number;
|
|
3624
|
-
options?: SelectOption[];
|
|
4389
|
+
options?: SelectOption[] | SelectOption[];
|
|
3625
4390
|
placeholder?: string;
|
|
3626
4391
|
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
4392
|
rows?: number;
|
|
@@ -3641,9 +4406,10 @@ export interface SelectableGroupProps {
|
|
|
3641
4406
|
'aria-label'?: string;
|
|
3642
4407
|
'aria-labelledby'?: string;
|
|
3643
4408
|
checks?: SelectableGroupCheck[];
|
|
3644
|
-
defaultValue?: string | number | string | number[];
|
|
4409
|
+
defaultValue?: string | number | (string | number)[];
|
|
3645
4410
|
id?: string;
|
|
3646
4411
|
isDisabled?: boolean;
|
|
4412
|
+
isInvalid?: boolean;
|
|
3647
4413
|
isMulti?: boolean;
|
|
3648
4414
|
isReadOnly?: boolean;
|
|
3649
4415
|
isRequired?: boolean;
|
|
@@ -3652,7 +4418,7 @@ export interface SelectableGroupProps {
|
|
|
3652
4418
|
renderer: 'BASIC_CARD' | 'LOCATION_CARD';
|
|
3653
4419
|
testId?: string;
|
|
3654
4420
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3655
|
-
value?: string | number | string | number[];
|
|
4421
|
+
value?: string | number | (string | number)[];
|
|
3656
4422
|
valueIdentifier?: string;
|
|
3657
4423
|
}
|
|
3658
4424
|
export interface SelectableMenuProps {
|
|
@@ -3691,6 +4457,7 @@ export interface SignatureProps {
|
|
|
3691
4457
|
defaultValue?: string;
|
|
3692
4458
|
id?: string;
|
|
3693
4459
|
isDisabled?: boolean;
|
|
4460
|
+
isInvalid?: boolean;
|
|
3694
4461
|
isReadOnly?: boolean;
|
|
3695
4462
|
isRequired?: boolean;
|
|
3696
4463
|
isTypeSignatureDisabled?: boolean;
|
|
@@ -3707,10 +4474,12 @@ export interface SinProps {
|
|
|
3707
4474
|
autoComplete?: string;
|
|
3708
4475
|
autoFocus?: boolean;
|
|
3709
4476
|
checks?: SinCheck[];
|
|
4477
|
+
defaultValue?: string;
|
|
3710
4478
|
fixedCharsPrefix?: string;
|
|
3711
4479
|
fixedCharsSuffix?: string;
|
|
3712
4480
|
id?: string;
|
|
3713
4481
|
isDisabled?: boolean;
|
|
4482
|
+
isInvalid?: boolean;
|
|
3714
4483
|
isReadOnly?: boolean;
|
|
3715
4484
|
isRequired?: boolean;
|
|
3716
4485
|
label?: string;
|
|
@@ -3725,16 +4494,16 @@ export interface SinProps {
|
|
|
3725
4494
|
value?: string;
|
|
3726
4495
|
}
|
|
3727
4496
|
export interface SkeletonProps {
|
|
3728
|
-
animation?: '
|
|
4497
|
+
animation?: 'wave' | 'pulse' | 'none';
|
|
3729
4498
|
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;
|
|
4499
|
+
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;
|
|
4500
|
+
height?: number | string;
|
|
3732
4501
|
initialTimestamp?: number;
|
|
3733
4502
|
lineHeight?: string | number;
|
|
3734
4503
|
lines?: number;
|
|
3735
4504
|
show?: boolean;
|
|
3736
|
-
size?: number;
|
|
3737
|
-
variant?: '
|
|
4505
|
+
size?: number | string;
|
|
4506
|
+
variant?: 'text' | 'circle' | 'box';
|
|
3738
4507
|
width?: string | number;
|
|
3739
4508
|
}
|
|
3740
4509
|
export interface SliderProps {
|
|
@@ -3755,7 +4524,7 @@ export interface SliderProps {
|
|
|
3755
4524
|
max?: number;
|
|
3756
4525
|
min?: number;
|
|
3757
4526
|
shouldShowMarker?: boolean;
|
|
3758
|
-
step?: number;
|
|
4527
|
+
step?: number | null;
|
|
3759
4528
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3760
4529
|
value?: number;
|
|
3761
4530
|
}
|
|
@@ -3800,10 +4569,12 @@ export interface SsnProps {
|
|
|
3800
4569
|
autoComplete?: string;
|
|
3801
4570
|
autoFocus?: boolean;
|
|
3802
4571
|
checks?: SsnCheck[];
|
|
4572
|
+
defaultValue?: string;
|
|
3803
4573
|
fixedCharsPrefix?: string;
|
|
3804
4574
|
fixedCharsSuffix?: string;
|
|
3805
4575
|
id?: string;
|
|
3806
4576
|
isDisabled?: boolean;
|
|
4577
|
+
isInvalid?: boolean;
|
|
3807
4578
|
isReadOnly?: boolean;
|
|
3808
4579
|
isRequired?: boolean;
|
|
3809
4580
|
label?: string;
|
|
@@ -3821,7 +4592,6 @@ export interface StatusProps {
|
|
|
3821
4592
|
appearance: 'PRIMARY' | 'SUCCESS' | 'ERROR' | 'WARNING' | 'TERTIARY' | 'DISABLED';
|
|
3822
4593
|
outlined?: boolean;
|
|
3823
4594
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
3824
|
-
testId?: string;
|
|
3825
4595
|
text: string;
|
|
3826
4596
|
}
|
|
3827
4597
|
export interface StepperProps {
|
|
@@ -3842,7 +4612,6 @@ export interface SupportButtonProps {
|
|
|
3842
4612
|
id?: string;
|
|
3843
4613
|
image?: string;
|
|
3844
4614
|
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
4615
|
title: string;
|
|
3847
4616
|
to?: string | SupportButtonTo;
|
|
3848
4617
|
}
|
|
@@ -3850,7 +4619,9 @@ export interface SurveyProps {
|
|
|
3850
4619
|
name?: string;
|
|
3851
4620
|
caption?: string;
|
|
3852
4621
|
checks?: SurveyCheck[];
|
|
4622
|
+
defaultValue?: string | number | (string | number)[];
|
|
3853
4623
|
isDisabled?: boolean;
|
|
4624
|
+
isInvalid?: boolean;
|
|
3854
4625
|
isMulti?: boolean;
|
|
3855
4626
|
isReadOnly?: boolean;
|
|
3856
4627
|
isRequired?: boolean;
|
|
@@ -3860,7 +4631,7 @@ export interface SurveyProps {
|
|
|
3860
4631
|
rangeLabels?: SurveyRangeLabel;
|
|
3861
4632
|
theme?: 'TWO_LINE';
|
|
3862
4633
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3863
|
-
value?: string | number | string | number[];
|
|
4634
|
+
value?: string | number | (string | number)[];
|
|
3864
4635
|
}
|
|
3865
4636
|
export interface SwitchProps {
|
|
3866
4637
|
name?: string;
|
|
@@ -3876,24 +4647,25 @@ export interface SwitchProps {
|
|
|
3876
4647
|
offLabel?: string;
|
|
3877
4648
|
onLabel?: string;
|
|
3878
4649
|
rightAlign?: boolean;
|
|
3879
|
-
tip?: string;
|
|
4650
|
+
tip?: string | SwitchTip;
|
|
3880
4651
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3881
4652
|
value?: boolean;
|
|
3882
4653
|
}
|
|
3883
4654
|
export interface TabProps {
|
|
4655
|
+
activeIndex?: number;
|
|
3884
4656
|
'aria-label'?: string;
|
|
3885
4657
|
'aria-labelledby'?: string;
|
|
3886
4658
|
defaultActiveIndex?: number;
|
|
3887
4659
|
isCompact?: boolean;
|
|
3888
4660
|
isLogoRound?: boolean;
|
|
3889
4661
|
isVertical?: boolean;
|
|
3890
|
-
items
|
|
4662
|
+
items?: TabItem[];
|
|
4663
|
+
list?: TabList[];
|
|
3891
4664
|
logoUrl?: string;
|
|
3892
4665
|
stretchH?: boolean;
|
|
3893
4666
|
stretchV?: boolean;
|
|
3894
4667
|
subtitle?: string;
|
|
3895
|
-
supportLink?: string;
|
|
3896
|
-
testId?: string;
|
|
4668
|
+
supportLink?: string | SupportLink;
|
|
3897
4669
|
theme?: 'BOX' | 'BOX_HEADER' | 'CENTER' | 'GREY_OVERFLOW_GRADIENT' | 'WHITE_OVERFLOW_GRADIENT' | 'NO_PADDING';
|
|
3898
4670
|
title?: string;
|
|
3899
4671
|
titleContent?: string;
|
|
@@ -3933,6 +4705,7 @@ export interface TextareaProps {
|
|
|
3933
4705
|
height?: number;
|
|
3934
4706
|
id?: string;
|
|
3935
4707
|
isDisabled?: boolean;
|
|
4708
|
+
isInvalid?: boolean;
|
|
3936
4709
|
isReadOnly?: boolean;
|
|
3937
4710
|
isRequired?: boolean;
|
|
3938
4711
|
label?: string;
|
|
@@ -3954,6 +4727,8 @@ export interface TextAutoSuggestProps {
|
|
|
3954
4727
|
autoCorrect?: 'off' | 'on';
|
|
3955
4728
|
autoFocus?: boolean;
|
|
3956
4729
|
checks?: TextAutoSuggestCheck[];
|
|
4730
|
+
defaultValue?: string | number;
|
|
4731
|
+
fuseOptions?: TextAutoSuggestFuseOption;
|
|
3957
4732
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
3958
4733
|
isDisabled?: boolean;
|
|
3959
4734
|
isOriginalInputReadOnly?: boolean;
|
|
@@ -3961,6 +4736,7 @@ export interface TextAutoSuggestProps {
|
|
|
3961
4736
|
isReadOnly?: boolean;
|
|
3962
4737
|
isRequired?: boolean;
|
|
3963
4738
|
label?: string;
|
|
4739
|
+
list?: TextAutoSuggestList[];
|
|
3964
4740
|
maxLength?: number;
|
|
3965
4741
|
maxWidth?: string;
|
|
3966
4742
|
minLength?: number;
|
|
@@ -3978,15 +4754,12 @@ export interface TextAutoSuggestProps {
|
|
|
3978
4754
|
spellCheck?: boolean;
|
|
3979
4755
|
stringPadding?: TextAutoSuggestStringPadding;
|
|
3980
4756
|
suffix?: string;
|
|
3981
|
-
suggestions?: TextAutoSuggestSuggestion[];
|
|
3982
|
-
testId?: string;
|
|
3983
4757
|
theme?: string;
|
|
3984
4758
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3985
4759
|
value?: string | number;
|
|
3986
4760
|
}
|
|
3987
4761
|
export interface TextClipProps {
|
|
3988
|
-
|
|
3989
|
-
expandLabel?: string;
|
|
4762
|
+
buttonLabels?: ButtonLabel;
|
|
3990
4763
|
maxHeight: number;
|
|
3991
4764
|
theme?: 'NO_CARD';
|
|
3992
4765
|
}
|
|
@@ -4011,6 +4784,7 @@ export interface TextInputProps {
|
|
|
4011
4784
|
defaultValue?: string;
|
|
4012
4785
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4013
4786
|
isDisabled?: boolean;
|
|
4787
|
+
isInvalid?: boolean;
|
|
4014
4788
|
isOriginalInputReadOnly?: boolean;
|
|
4015
4789
|
isReadOnly?: boolean;
|
|
4016
4790
|
isRequired?: boolean;
|
|
@@ -4031,7 +4805,6 @@ export interface TextInputProps {
|
|
|
4031
4805
|
spellCheck?: boolean;
|
|
4032
4806
|
stringPadding?: TextInputStringPadding;
|
|
4033
4807
|
suffix?: string;
|
|
4034
|
-
testId?: string;
|
|
4035
4808
|
theme?: string;
|
|
4036
4809
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4037
4810
|
value?: string;
|
|
@@ -4051,8 +4824,12 @@ export interface TimeProps {
|
|
|
4051
4824
|
'aria-labelledby'?: string;
|
|
4052
4825
|
checks?: TimeCheck[];
|
|
4053
4826
|
defaultSelectionStartTime?: string;
|
|
4827
|
+
defaultValue?: string;
|
|
4828
|
+
id?: string;
|
|
4829
|
+
inferredTime?: string | null;
|
|
4054
4830
|
isDateTimeInline?: boolean;
|
|
4055
4831
|
isDisabled?: boolean;
|
|
4832
|
+
isInvalid?: boolean;
|
|
4056
4833
|
isReadOnly?: boolean;
|
|
4057
4834
|
isRequired?: boolean;
|
|
4058
4835
|
label?: string;
|
|
@@ -4060,7 +4837,7 @@ export interface TimeProps {
|
|
|
4060
4837
|
maxWidth?: string;
|
|
4061
4838
|
pickClosestMeridiem?: boolean;
|
|
4062
4839
|
referenceDate?: string;
|
|
4063
|
-
shouldAllowTimeSelection?: boolean;
|
|
4840
|
+
shouldAllowTimeSelection?: boolean | TimeShouldAllowTimeSelection;
|
|
4064
4841
|
shouldDisplaySeconds?: boolean;
|
|
4065
4842
|
shouldFormatInTimezone?: boolean;
|
|
4066
4843
|
shouldLocalize?: boolean;
|
|
@@ -4068,7 +4845,7 @@ export interface TimeProps {
|
|
|
4068
4845
|
shouldShowTimezoneLabel?: boolean;
|
|
4069
4846
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4070
4847
|
theme?: string;
|
|
4071
|
-
timezone?: string;
|
|
4848
|
+
timezone?: string | TimeTimezone;
|
|
4072
4849
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4073
4850
|
value?: string;
|
|
4074
4851
|
}
|
|
@@ -4084,13 +4861,15 @@ export interface TimeRangeProps {
|
|
|
4084
4861
|
defaultValue?: unknown[];
|
|
4085
4862
|
hideDayDifference?: boolean;
|
|
4086
4863
|
hideTimeIcon?: boolean;
|
|
4864
|
+
id?: string;
|
|
4087
4865
|
isDisabled?: boolean;
|
|
4866
|
+
isInvalid?: boolean;
|
|
4088
4867
|
isReadOnly?: boolean;
|
|
4089
4868
|
isRequired?: boolean;
|
|
4090
4869
|
label?: string;
|
|
4091
4870
|
locale?: string;
|
|
4092
4871
|
referenceDate?: string;
|
|
4093
|
-
shouldAllowTimeSelection?: boolean;
|
|
4872
|
+
shouldAllowTimeSelection?: boolean | TimeRangeShouldAllowTimeSelection;
|
|
4094
4873
|
shouldDisplaySeconds?: boolean;
|
|
4095
4874
|
shouldFormatInTimezone?: boolean;
|
|
4096
4875
|
shouldLocalize?: boolean;
|
|
@@ -4109,6 +4888,7 @@ export interface TimezoneProps {
|
|
|
4109
4888
|
dropdownHeight?: number;
|
|
4110
4889
|
emptyListPlaceholder?: string;
|
|
4111
4890
|
isDisabled?: boolean;
|
|
4891
|
+
isInvalid?: boolean;
|
|
4112
4892
|
isMenuDefaultOpen?: boolean;
|
|
4113
4893
|
isPositionFixed?: boolean;
|
|
4114
4894
|
isReadOnly?: boolean;
|
|
@@ -4167,6 +4947,7 @@ export interface TreeProps {
|
|
|
4167
4947
|
'aria-labelledby'?: string;
|
|
4168
4948
|
canSelectAll?: boolean;
|
|
4169
4949
|
checks?: TreeCheck[];
|
|
4950
|
+
defaultValue?: string | string[];
|
|
4170
4951
|
dropdownWidth?: number;
|
|
4171
4952
|
emptyListPlaceholder?: string;
|
|
4172
4953
|
footer?: TreeFooter;
|
|
@@ -4198,7 +4979,7 @@ export interface TreeSelectProps {
|
|
|
4198
4979
|
canSelectAll?: boolean;
|
|
4199
4980
|
checks?: TreeSelectCheck[];
|
|
4200
4981
|
defaultSearchQuery?: string;
|
|
4201
|
-
defaultValue?: string | string[];
|
|
4982
|
+
defaultValue?: string | string[] | null;
|
|
4202
4983
|
dropdownWidth?: number;
|
|
4203
4984
|
emptyListPlaceholder?: string;
|
|
4204
4985
|
fuseOptions?: TreeSelectFuseOption;
|
|
@@ -4224,7 +5005,7 @@ export interface TreeSelectProps {
|
|
|
4224
5005
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4225
5006
|
theme?: 'NO_BOX';
|
|
4226
5007
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4227
|
-
value?: string | string[];
|
|
5008
|
+
value?: string | string[] | null;
|
|
4228
5009
|
}
|
|
4229
5010
|
export interface VideoProps {
|
|
4230
5011
|
name?: string;
|
|
@@ -4267,9 +5048,10 @@ export interface WorkEmailProps {
|
|
|
4267
5048
|
autoFocus?: boolean;
|
|
4268
5049
|
checks?: WorkEmailCheck[];
|
|
4269
5050
|
defaultValue?: string;
|
|
4270
|
-
domainList?:
|
|
5051
|
+
domainList?: string | string[] | WorkEmailDomainList[] | WorkEmailDomainList[];
|
|
4271
5052
|
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4272
5053
|
isDisabled?: boolean;
|
|
5054
|
+
isInvalid?: boolean;
|
|
4273
5055
|
isOriginalInputReadOnly?: boolean;
|
|
4274
5056
|
isReadOnly?: boolean;
|
|
4275
5057
|
isRequired?: boolean;
|
|
@@ -4288,7 +5070,6 @@ export interface WorkEmailProps {
|
|
|
4288
5070
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
4289
5071
|
spellCheck?: boolean;
|
|
4290
5072
|
suffix?: string;
|
|
4291
|
-
testId?: string;
|
|
4292
5073
|
theme?: string;
|
|
4293
5074
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
4294
5075
|
value?: string;
|