@rippling/pebble-sdui-web 0.4.2 → 0.6.3
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 +0 -5
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +605 -176
- package/dist/catalogs/custom-apps/index.cjs +3 -3
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +1 -1
- package/dist/catalogs/custom-apps/index.js +212 -185
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +15 -21
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +880 -878
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +655 -149
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +2 -2
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1055 -104
- package/package.json +1 -1
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
|
|
5
5
|
*/
|
|
6
|
+
export interface ActionCardPrimaryActionTo {
|
|
7
|
+
openInNewTab?: boolean;
|
|
8
|
+
path: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ActionCardSecondaryActionTo {
|
|
11
|
+
openInNewTab?: boolean;
|
|
12
|
+
path: string;
|
|
13
|
+
}
|
|
6
14
|
/** Address object with street, city, state, country, and zip */
|
|
7
15
|
export interface Addres {
|
|
8
16
|
city?: string;
|
|
@@ -15,6 +23,14 @@ export interface Addres {
|
|
|
15
23
|
streetLine4?: string;
|
|
16
24
|
zip: string;
|
|
17
25
|
}
|
|
26
|
+
export interface AlertPrimaryActionTo {
|
|
27
|
+
openInNewTab?: boolean;
|
|
28
|
+
path: string;
|
|
29
|
+
}
|
|
30
|
+
export interface AlertSecondaryActionTo {
|
|
31
|
+
openInNewTab?: boolean;
|
|
32
|
+
path: string;
|
|
33
|
+
}
|
|
18
34
|
/** Lottie animation JSON object. Required if path not provided */
|
|
19
35
|
export interface AnimationData {
|
|
20
36
|
[key: string]: unknown;
|
|
@@ -22,11 +38,21 @@ export interface AnimationData {
|
|
|
22
38
|
export interface AppGroupSelectArg {
|
|
23
39
|
[key: string]: unknown;
|
|
24
40
|
}
|
|
41
|
+
/** Avatar configuration for the option */
|
|
42
|
+
export interface AppGroupSelectAvatarProp {
|
|
43
|
+
image?: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
}
|
|
25
46
|
export interface AppGroupSelectCheck {
|
|
26
47
|
args?: AppGroupSelectArg;
|
|
27
48
|
message: string;
|
|
28
49
|
type: string;
|
|
29
50
|
}
|
|
51
|
+
export interface AppGroupSelectEmptyListPlaceholder {
|
|
52
|
+
onLoading?: string;
|
|
53
|
+
onNoSearchQuery?: string;
|
|
54
|
+
onNoSearchResults?: string;
|
|
55
|
+
}
|
|
30
56
|
/** Fixed footer at bottom of dropdown menu */
|
|
31
57
|
export interface AppGroupSelectFooter {
|
|
32
58
|
label: string;
|
|
@@ -36,6 +62,22 @@ export interface AppGroupSelectFooter {
|
|
|
36
62
|
export interface AppGroupSelectFuseOption {
|
|
37
63
|
[key: string]: unknown;
|
|
38
64
|
}
|
|
65
|
+
export interface AppGroupSelectOption {
|
|
66
|
+
avatarProps?: AppGroupSelectAvatarProp;
|
|
67
|
+
description?: string;
|
|
68
|
+
flag?: string;
|
|
69
|
+
isDisabled?: boolean;
|
|
70
|
+
isRecommended?: boolean;
|
|
71
|
+
isSeparator?: boolean;
|
|
72
|
+
label: string;
|
|
73
|
+
labelIcon?: string;
|
|
74
|
+
leftIconType?: string;
|
|
75
|
+
quaternaryLabel?: string;
|
|
76
|
+
rightLabel?: string;
|
|
77
|
+
secondaryLabel?: string;
|
|
78
|
+
tertiaryLabel?: string;
|
|
79
|
+
value: unknown;
|
|
80
|
+
}
|
|
39
81
|
export interface AppNavBarAction {
|
|
40
82
|
appearance?: 'PRIMARY' | 'DESTRUCTIVE' | 'OUTLINE' | 'GHOST' | 'ACCENT' | 'SUCCESS' | 'INFO' | 'WARNING';
|
|
41
83
|
icon?: string;
|
|
@@ -49,36 +91,89 @@ export interface AppNavBarBadge {
|
|
|
49
91
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
50
92
|
text: string;
|
|
51
93
|
}
|
|
94
|
+
export interface AvatarIcon {
|
|
95
|
+
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';
|
|
96
|
+
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';
|
|
97
|
+
type: string;
|
|
98
|
+
}
|
|
52
99
|
/** Tooltip shown on avatar hover. Object with content string and optional title */
|
|
53
100
|
export interface AvatarTip {
|
|
54
101
|
appearance?: 'LIGHT' | 'DARK';
|
|
55
102
|
content: string;
|
|
56
103
|
title?: string;
|
|
57
104
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
type?: 'ICON' | 'RIPPLING' | 'TEXT' | 'USER' | 'NUMBER';
|
|
105
|
+
export interface AvatarTo {
|
|
106
|
+
openInNewTab?: boolean;
|
|
107
|
+
path: string;
|
|
62
108
|
}
|
|
63
109
|
/** Tooltip configuration to show on hover */
|
|
64
110
|
export interface BadgeTip {
|
|
65
111
|
appearance?: 'LIGHT' | 'DARK';
|
|
66
112
|
content: string;
|
|
67
113
|
isDelayed?: boolean;
|
|
68
|
-
maxWidth?:
|
|
114
|
+
maxWidth?: number | string;
|
|
69
115
|
placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
70
116
|
}
|
|
117
|
+
/** Structured border using strict token parts */
|
|
118
|
+
export interface BoxBorder {
|
|
119
|
+
color?: 'colorError' | 'colorOutline' | 'colorOutlineVariant' | 'colorSuccess' | 'colorInfo' | 'colorWarning' | 'colorDisabled' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse' | 'colorDisabledInverse';
|
|
120
|
+
style?: 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
|
121
|
+
width?: 'shapeBorderWidthLg' | 'shapeBorderWidthMd' | 'shapeBorderWidthNone' | 'shapeBorderWidthSm' | 'shapeBorderWidthXl' | 'shapeBorderWidthXs';
|
|
122
|
+
}
|
|
123
|
+
export interface BoxGap {
|
|
124
|
+
column?: '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';
|
|
125
|
+
row?: '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';
|
|
126
|
+
}
|
|
127
|
+
export interface BoxMargin {
|
|
128
|
+
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';
|
|
129
|
+
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';
|
|
130
|
+
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';
|
|
131
|
+
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';
|
|
132
|
+
}
|
|
133
|
+
export interface BoxPadding {
|
|
134
|
+
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';
|
|
135
|
+
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';
|
|
136
|
+
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';
|
|
137
|
+
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';
|
|
138
|
+
}
|
|
139
|
+
export interface BoxRadiu {
|
|
140
|
+
bottomLeft?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
141
|
+
bottomRight?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
142
|
+
topLeft?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
143
|
+
topRight?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
144
|
+
}
|
|
71
145
|
export interface BreadcrumbItem {
|
|
72
146
|
href?: string;
|
|
73
147
|
isDisabled?: boolean;
|
|
74
148
|
title: string;
|
|
75
149
|
value: string;
|
|
76
150
|
}
|
|
151
|
+
export interface ButtonIcon {
|
|
152
|
+
alignment?: 'LEFT' | 'RIGHT';
|
|
153
|
+
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';
|
|
154
|
+
type: string;
|
|
155
|
+
}
|
|
156
|
+
export interface ButtonTip {
|
|
157
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
158
|
+
content: string;
|
|
159
|
+
isVisible?: boolean;
|
|
160
|
+
maxHeight?: number | string;
|
|
161
|
+
maxWidth?: number | string;
|
|
162
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
163
|
+
}
|
|
164
|
+
export interface ButtonTo {
|
|
165
|
+
openInNewTab?: boolean;
|
|
166
|
+
path: string;
|
|
167
|
+
}
|
|
77
168
|
export interface CardAction {
|
|
78
169
|
icon?: string;
|
|
79
170
|
id: string;
|
|
80
171
|
label: string;
|
|
81
172
|
}
|
|
173
|
+
export interface CardTo {
|
|
174
|
+
openInNewTab?: boolean;
|
|
175
|
+
path: string;
|
|
176
|
+
}
|
|
82
177
|
export interface CheckboxArg {
|
|
83
178
|
[key: string]: unknown;
|
|
84
179
|
}
|
|
@@ -99,10 +194,14 @@ export interface CheckboxGroupOption {
|
|
|
99
194
|
isDisabled?: boolean;
|
|
100
195
|
label: string;
|
|
101
196
|
secondaryLabel?: string;
|
|
102
|
-
tag?:
|
|
197
|
+
tag?: string | CheckboxGroupTag;
|
|
103
198
|
tip?: string;
|
|
104
199
|
value: unknown;
|
|
105
200
|
}
|
|
201
|
+
export interface CheckboxGroupTag {
|
|
202
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
203
|
+
label: string;
|
|
204
|
+
}
|
|
106
205
|
export interface CheckListList {
|
|
107
206
|
branches?: CheckListList[];
|
|
108
207
|
checkListOptions?: CheckListOption;
|
|
@@ -118,18 +217,32 @@ export interface CheckListOption {
|
|
|
118
217
|
shouldHaveNegativeCheckbox?: boolean;
|
|
119
218
|
type?: 'SWITCH' | 'CHECKBOX';
|
|
120
219
|
}
|
|
220
|
+
export interface ChipAvatar {
|
|
221
|
+
image?: string;
|
|
222
|
+
imageProps?: ImageProp;
|
|
223
|
+
title?: string;
|
|
224
|
+
}
|
|
225
|
+
export interface ChipIcon {
|
|
226
|
+
alignment?: 'Left' | 'Right' | 'None';
|
|
227
|
+
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';
|
|
228
|
+
type: string;
|
|
229
|
+
}
|
|
121
230
|
/** Tooltip configuration. Chip has default overflow tooltip behavior */
|
|
122
231
|
export interface ChipTip {
|
|
123
232
|
appearance?: 'LIGHT' | 'DARK';
|
|
124
233
|
content: string;
|
|
125
234
|
isVisible?: boolean;
|
|
126
|
-
maxHeight?:
|
|
127
|
-
maxWidth?:
|
|
235
|
+
maxHeight?: number | string;
|
|
236
|
+
maxWidth?: number | string;
|
|
128
237
|
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
129
238
|
}
|
|
239
|
+
export interface ChipTo {
|
|
240
|
+
openInNewTab?: boolean;
|
|
241
|
+
path: string;
|
|
242
|
+
}
|
|
130
243
|
/** 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 */
|
|
131
244
|
export interface CollapseBelow {
|
|
132
|
-
[key: string]:
|
|
245
|
+
[key: string]: 'breakpoint2xl' | 'breakpointLg' | 'breakpointMd' | 'breakpointSm' | 'breakpointXl' | false;
|
|
133
246
|
}
|
|
134
247
|
export interface ColorPickerArg {
|
|
135
248
|
[key: string]: unknown;
|
|
@@ -143,9 +256,15 @@ export interface Column {
|
|
|
143
256
|
align?: 'left' | 'center' | 'right';
|
|
144
257
|
header: string;
|
|
145
258
|
key: string;
|
|
146
|
-
width?:
|
|
259
|
+
width?: number | string;
|
|
147
260
|
wrapText?: boolean;
|
|
148
261
|
}
|
|
262
|
+
export interface CountryIcon {
|
|
263
|
+
alignment?: 'RIGHT';
|
|
264
|
+
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';
|
|
265
|
+
tip?: string;
|
|
266
|
+
type: string;
|
|
267
|
+
}
|
|
149
268
|
export interface CurrencyArg {
|
|
150
269
|
[key: string]: unknown;
|
|
151
270
|
}
|
|
@@ -190,15 +309,18 @@ export interface DaySelectorTip {
|
|
|
190
309
|
content: string;
|
|
191
310
|
}
|
|
192
311
|
export interface DraggableListList {
|
|
193
|
-
id:
|
|
312
|
+
id: string | number;
|
|
194
313
|
label?: string;
|
|
195
314
|
}
|
|
315
|
+
export interface DropdownDisabledInfo {
|
|
316
|
+
content: string;
|
|
317
|
+
}
|
|
196
318
|
export interface DropdownList {
|
|
197
319
|
label: string;
|
|
198
320
|
value: string;
|
|
199
321
|
}
|
|
200
322
|
export interface DropdownList2 {
|
|
201
|
-
disabledInfo?:
|
|
323
|
+
disabledInfo?: string | DropdownDisabledInfo;
|
|
202
324
|
isDisabled?: boolean;
|
|
203
325
|
label: string;
|
|
204
326
|
labelIcon?: string;
|
|
@@ -253,14 +375,30 @@ export interface FileDropValue {
|
|
|
253
375
|
type?: string;
|
|
254
376
|
url?: string;
|
|
255
377
|
}
|
|
378
|
+
export interface FloatingButtonIcon {
|
|
379
|
+
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';
|
|
380
|
+
type: string;
|
|
381
|
+
}
|
|
382
|
+
export interface FloatingButtonTip {
|
|
383
|
+
content: string;
|
|
384
|
+
placement?: string;
|
|
385
|
+
}
|
|
386
|
+
export interface FloatingButtonTo {
|
|
387
|
+
openInNewTab?: boolean;
|
|
388
|
+
path: string;
|
|
389
|
+
}
|
|
256
390
|
export interface FormCheckboxGroupOption {
|
|
257
391
|
isDisabled?: boolean;
|
|
258
392
|
label: string;
|
|
259
393
|
secondaryLabel?: string;
|
|
260
|
-
tag?:
|
|
394
|
+
tag?: string | FormCheckboxGroupTag;
|
|
261
395
|
tip?: string;
|
|
262
396
|
value: unknown;
|
|
263
397
|
}
|
|
398
|
+
export interface FormCheckboxGroupTag {
|
|
399
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
400
|
+
label: string;
|
|
401
|
+
}
|
|
264
402
|
/** Map of rule name to error message */
|
|
265
403
|
export interface FormCheckboxGroupValidationError {
|
|
266
404
|
[key: string]: string;
|
|
@@ -360,6 +498,14 @@ export interface FormInputGroupInput {
|
|
|
360
498
|
export interface FormInputGroupInputProp {
|
|
361
499
|
[key: string]: unknown;
|
|
362
500
|
}
|
|
501
|
+
export interface FormInputGroupPrefix {
|
|
502
|
+
inputProps: FormInputGroupInputProp;
|
|
503
|
+
type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
|
|
504
|
+
}
|
|
505
|
+
export interface FormInputGroupSuffix {
|
|
506
|
+
inputProps: FormInputGroupInputProp;
|
|
507
|
+
type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
|
|
508
|
+
}
|
|
363
509
|
/** Map of rule name to error message */
|
|
364
510
|
export interface FormInputGroupValidationError {
|
|
365
511
|
[key: string]: string;
|
|
@@ -389,10 +535,14 @@ export interface FormRadioOption {
|
|
|
389
535
|
isDisabled?: boolean;
|
|
390
536
|
label: string;
|
|
391
537
|
secondaryLabel?: string;
|
|
392
|
-
tag?:
|
|
538
|
+
tag?: string | FormRadioTag;
|
|
393
539
|
tip?: string;
|
|
394
540
|
value: unknown;
|
|
395
541
|
}
|
|
542
|
+
export interface FormRadioTag {
|
|
543
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
544
|
+
label: string;
|
|
545
|
+
}
|
|
396
546
|
/** Map of rule name to error message */
|
|
397
547
|
export interface FormRadioValidationError {
|
|
398
548
|
[key: string]: string;
|
|
@@ -421,6 +571,27 @@ export interface FormSelectableGroupList {
|
|
|
421
571
|
export interface FormSelectableGroupValidationError {
|
|
422
572
|
[key: string]: string;
|
|
423
573
|
}
|
|
574
|
+
/** Avatar configuration for the option */
|
|
575
|
+
export interface FormSelectAvatarProp {
|
|
576
|
+
image?: string;
|
|
577
|
+
title?: string;
|
|
578
|
+
}
|
|
579
|
+
export interface FormSelectOption {
|
|
580
|
+
avatarProps?: FormSelectAvatarProp;
|
|
581
|
+
description?: string;
|
|
582
|
+
flag?: string;
|
|
583
|
+
isDisabled?: boolean;
|
|
584
|
+
isRecommended?: boolean;
|
|
585
|
+
isSeparator?: boolean;
|
|
586
|
+
label: string;
|
|
587
|
+
labelIcon?: string;
|
|
588
|
+
leftIconType?: string;
|
|
589
|
+
quaternaryLabel?: string;
|
|
590
|
+
rightLabel?: string;
|
|
591
|
+
secondaryLabel?: string;
|
|
592
|
+
tertiaryLabel?: string;
|
|
593
|
+
value: unknown;
|
|
594
|
+
}
|
|
424
595
|
/** Map of rule name to error message */
|
|
425
596
|
export interface FormSelectValidationError {
|
|
426
597
|
[key: string]: string;
|
|
@@ -447,9 +618,9 @@ export interface FormSsnValidationError {
|
|
|
447
618
|
}
|
|
448
619
|
export interface FormSurveyList {
|
|
449
620
|
isDisabled?: boolean;
|
|
450
|
-
label?:
|
|
621
|
+
label?: string | number;
|
|
451
622
|
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';
|
|
452
|
-
value:
|
|
623
|
+
value: string | number;
|
|
453
624
|
}
|
|
454
625
|
/** Labels for lowest and highest options */
|
|
455
626
|
export interface FormSurveyRangeLabel {
|
|
@@ -470,7 +641,7 @@ export interface FormTextareaValidationError {
|
|
|
470
641
|
}
|
|
471
642
|
export interface FormTextAutoSuggestSuggestion {
|
|
472
643
|
label: string;
|
|
473
|
-
value:
|
|
644
|
+
value: string | number;
|
|
474
645
|
}
|
|
475
646
|
/** Map of rule name to error message */
|
|
476
647
|
export interface FormTextAutoSuggestValidationError {
|
|
@@ -488,17 +659,23 @@ export interface FormTimeValidationError {
|
|
|
488
659
|
export interface FormTimezoneValidationError {
|
|
489
660
|
[key: string]: string;
|
|
490
661
|
}
|
|
662
|
+
export interface FormTreeDisabledInfo {
|
|
663
|
+
content: string;
|
|
664
|
+
isMobileSupported?: boolean;
|
|
665
|
+
maxHeight?: number | string;
|
|
666
|
+
maxWidth?: number | string;
|
|
667
|
+
}
|
|
491
668
|
/** Fuse.js search options for customizing search behavior */
|
|
492
669
|
export interface FormTreeFuseOption {
|
|
493
670
|
[key: string]: unknown;
|
|
494
671
|
}
|
|
495
672
|
export interface FormTreeList {
|
|
496
|
-
disabledInfo?:
|
|
673
|
+
disabledInfo?: string | FormTreeDisabledInfo;
|
|
497
674
|
isDisabled?: boolean;
|
|
498
675
|
label: string;
|
|
499
676
|
parent?: string;
|
|
500
677
|
secondaryLabel?: string;
|
|
501
|
-
tag?:
|
|
678
|
+
tag?: string | FormTreeTag;
|
|
502
679
|
value: string;
|
|
503
680
|
}
|
|
504
681
|
/** Fuse.js search configuration. Default: { keys: ["label", "name"] } */
|
|
@@ -516,6 +693,10 @@ export interface FormTreeSelectList {
|
|
|
516
693
|
export interface FormTreeSelectValidationError {
|
|
517
694
|
[key: string]: string;
|
|
518
695
|
}
|
|
696
|
+
export interface FormTreeTag {
|
|
697
|
+
appearance?: string;
|
|
698
|
+
text: string;
|
|
699
|
+
}
|
|
519
700
|
/** Map of rule name to error message */
|
|
520
701
|
export interface FormTreeValidationError {
|
|
521
702
|
[key: string]: string;
|
|
@@ -539,7 +720,85 @@ export interface GridAction {
|
|
|
539
720
|
iconType: string;
|
|
540
721
|
id: string;
|
|
541
722
|
isDisabled?: boolean;
|
|
542
|
-
tip?:
|
|
723
|
+
tip?: string | GridTip;
|
|
724
|
+
}
|
|
725
|
+
export interface GridLeftIcon {
|
|
726
|
+
'aria-describedby'?: string;
|
|
727
|
+
'aria-label'?: string;
|
|
728
|
+
'aria-labelledby'?: string;
|
|
729
|
+
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';
|
|
730
|
+
type: string;
|
|
731
|
+
}
|
|
732
|
+
export interface GridList {
|
|
733
|
+
label: string | number;
|
|
734
|
+
props: GridProp;
|
|
735
|
+
renderer: 'LABEL';
|
|
736
|
+
tip?: string | GridTip;
|
|
737
|
+
}
|
|
738
|
+
/** Props passed to LabelRenderer. Icon colors must be Pebble text/icon color tokens. */
|
|
739
|
+
export interface GridProp {
|
|
740
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
741
|
+
children?: string;
|
|
742
|
+
leftIcon?: string | GridLeftIcon;
|
|
743
|
+
maxWidth?: string;
|
|
744
|
+
rightIcon?: string | GridRightIcon;
|
|
745
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
746
|
+
text?: string;
|
|
747
|
+
tip?: string | GridTip;
|
|
748
|
+
}
|
|
749
|
+
export interface GridRightIcon {
|
|
750
|
+
'aria-describedby'?: string;
|
|
751
|
+
'aria-label'?: string;
|
|
752
|
+
'aria-labelledby'?: string;
|
|
753
|
+
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';
|
|
754
|
+
type: string;
|
|
755
|
+
}
|
|
756
|
+
export interface GridTip {
|
|
757
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
758
|
+
content: string;
|
|
759
|
+
isVisible?: boolean;
|
|
760
|
+
maxHeight?: number | string;
|
|
761
|
+
maxWidth?: number | string;
|
|
762
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
763
|
+
}
|
|
764
|
+
export interface HelperMessage {
|
|
765
|
+
message: string;
|
|
766
|
+
status?: string;
|
|
767
|
+
}
|
|
768
|
+
export interface HStackMargin {
|
|
769
|
+
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';
|
|
770
|
+
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';
|
|
771
|
+
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';
|
|
772
|
+
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';
|
|
773
|
+
}
|
|
774
|
+
export interface HStackPadding {
|
|
775
|
+
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';
|
|
776
|
+
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';
|
|
777
|
+
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';
|
|
778
|
+
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';
|
|
779
|
+
}
|
|
780
|
+
export interface IconButtonIcon {
|
|
781
|
+
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';
|
|
782
|
+
type: string;
|
|
783
|
+
}
|
|
784
|
+
export interface IconButtonTip {
|
|
785
|
+
content: string;
|
|
786
|
+
placement?: string;
|
|
787
|
+
}
|
|
788
|
+
export interface IconButtonTo {
|
|
789
|
+
openInNewTab?: boolean;
|
|
790
|
+
path: string;
|
|
791
|
+
}
|
|
792
|
+
export interface IconTip {
|
|
793
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
794
|
+
content: string;
|
|
795
|
+
maxHeight?: number | string;
|
|
796
|
+
maxWidth?: number | string;
|
|
797
|
+
placement?: 'TOP_START' | 'TOP' | 'TOP_END' | 'RIGHT_START' | 'RIGHT' | 'RIGHT_END' | 'BOTTOM_START' | 'BOTTOM' | 'BOTTOM_END' | 'LEFT_START' | 'LEFT' | 'LEFT_END';
|
|
798
|
+
title?: string;
|
|
799
|
+
}
|
|
800
|
+
export interface ImageProp {
|
|
801
|
+
alt?: string;
|
|
543
802
|
}
|
|
544
803
|
/** Main input configuration with type and inputProps */
|
|
545
804
|
export interface InputGroupInput {
|
|
@@ -550,6 +809,78 @@ export interface InputGroupInput {
|
|
|
550
809
|
export interface InputGroupInputProp {
|
|
551
810
|
[key: string]: unknown;
|
|
552
811
|
}
|
|
812
|
+
export interface InputGroupPrefix {
|
|
813
|
+
inputProps: InputGroupInputProp;
|
|
814
|
+
type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
|
|
815
|
+
}
|
|
816
|
+
export interface InputGroupSuffix {
|
|
817
|
+
inputProps: InputGroupInputProp;
|
|
818
|
+
type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
|
|
819
|
+
}
|
|
820
|
+
export interface LabelLeftIcon {
|
|
821
|
+
'aria-describedby'?: string;
|
|
822
|
+
'aria-label'?: string;
|
|
823
|
+
'aria-labelledby'?: string;
|
|
824
|
+
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';
|
|
825
|
+
type: string;
|
|
826
|
+
}
|
|
827
|
+
export interface LabelRightIcon {
|
|
828
|
+
'aria-describedby'?: string;
|
|
829
|
+
'aria-label'?: string;
|
|
830
|
+
'aria-labelledby'?: string;
|
|
831
|
+
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';
|
|
832
|
+
type: string;
|
|
833
|
+
}
|
|
834
|
+
export interface LabelTip {
|
|
835
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
836
|
+
className?: string;
|
|
837
|
+
content: string;
|
|
838
|
+
hideOnDocumentScroll?: boolean;
|
|
839
|
+
isDelayed?: boolean;
|
|
840
|
+
isMobileSupported?: boolean;
|
|
841
|
+
isPositionFixed?: boolean;
|
|
842
|
+
isVisible?: boolean;
|
|
843
|
+
maxHeight?: number | string;
|
|
844
|
+
maxWidth?: number | string;
|
|
845
|
+
onlyIfChildOverflow?: boolean;
|
|
846
|
+
onlyIfOverflow?: boolean;
|
|
847
|
+
overwriteMiddleware?: boolean;
|
|
848
|
+
padding?: string;
|
|
849
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
850
|
+
shallSkipOverflowY?: boolean;
|
|
851
|
+
tipHideDelay?: number;
|
|
852
|
+
tipShowDelay?: number;
|
|
853
|
+
title?: string;
|
|
854
|
+
truncateClassName?: string;
|
|
855
|
+
}
|
|
856
|
+
/** Structured border using strict token parts */
|
|
857
|
+
export interface LayoutBorder {
|
|
858
|
+
color?: 'colorError' | 'colorOutline' | 'colorOutlineVariant' | 'colorSuccess' | 'colorInfo' | 'colorWarning' | 'colorDisabled' | 'colorOutlineFocus' | 'colorOutlineInvalid' | 'colorHover' | 'colorHoverInverse' | 'colorPressed' | 'colorPressedInverse' | 'colorOutlineInverse' | 'colorOutlineVariantInverse' | 'colorDisabledInverse';
|
|
859
|
+
style?: 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
|
860
|
+
width?: 'shapeBorderWidthLg' | 'shapeBorderWidthMd' | 'shapeBorderWidthNone' | 'shapeBorderWidthSm' | 'shapeBorderWidthXl' | 'shapeBorderWidthXs';
|
|
861
|
+
}
|
|
862
|
+
export interface LayoutGap {
|
|
863
|
+
column?: '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';
|
|
864
|
+
row?: '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';
|
|
865
|
+
}
|
|
866
|
+
export interface LayoutMargin {
|
|
867
|
+
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';
|
|
868
|
+
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';
|
|
869
|
+
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';
|
|
870
|
+
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';
|
|
871
|
+
}
|
|
872
|
+
export interface LayoutPadding {
|
|
873
|
+
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';
|
|
874
|
+
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';
|
|
875
|
+
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';
|
|
876
|
+
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';
|
|
877
|
+
}
|
|
878
|
+
export interface LayoutRadiu {
|
|
879
|
+
bottomLeft?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
880
|
+
bottomRight?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
881
|
+
topLeft?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
882
|
+
topRight?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
883
|
+
}
|
|
553
884
|
export interface LayoutValue {
|
|
554
885
|
border?: string;
|
|
555
886
|
height?: number;
|
|
@@ -561,6 +892,8 @@ export interface LayoutValue {
|
|
|
561
892
|
shadow?: 'shadow2xl' | 'shadowLg' | 'shadowMd' | 'shadowNone' | 'shadowSm' | 'shadowXl' | 'shadowXs';
|
|
562
893
|
shapeCorner?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
563
894
|
width?: number;
|
|
895
|
+
x?: number;
|
|
896
|
+
y?: number;
|
|
564
897
|
}
|
|
565
898
|
export interface LinkValue {
|
|
566
899
|
badge?: AppNavBarBadge;
|
|
@@ -581,6 +914,10 @@ export interface LocationCardAction {
|
|
|
581
914
|
id: string;
|
|
582
915
|
label: string;
|
|
583
916
|
}
|
|
917
|
+
export interface LocationCardTo {
|
|
918
|
+
openInNewTab?: boolean;
|
|
919
|
+
path: string;
|
|
920
|
+
}
|
|
584
921
|
export interface MaskerArg {
|
|
585
922
|
[key: string]: unknown;
|
|
586
923
|
}
|
|
@@ -650,7 +987,46 @@ export interface ObjectUIStatsAction {
|
|
|
650
987
|
iconType: string;
|
|
651
988
|
id: string;
|
|
652
989
|
isDisabled?: boolean;
|
|
653
|
-
tip?:
|
|
990
|
+
tip?: string | ObjectUIStatsTip;
|
|
991
|
+
}
|
|
992
|
+
export interface ObjectUIStatsLeftIcon {
|
|
993
|
+
'aria-describedby'?: string;
|
|
994
|
+
'aria-label'?: string;
|
|
995
|
+
'aria-labelledby'?: string;
|
|
996
|
+
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';
|
|
997
|
+
type: string;
|
|
998
|
+
}
|
|
999
|
+
export interface ObjectUIStatsList {
|
|
1000
|
+
label: string | number;
|
|
1001
|
+
props: ObjectUIStatsProp;
|
|
1002
|
+
renderer: 'LABEL';
|
|
1003
|
+
tip?: string | ObjectUIStatsTip;
|
|
1004
|
+
}
|
|
1005
|
+
/** Props passed to LabelRenderer. Icon colors must be Pebble text/icon color tokens. */
|
|
1006
|
+
export interface ObjectUIStatsProp {
|
|
1007
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1008
|
+
children?: string;
|
|
1009
|
+
leftIcon?: string | ObjectUIStatsLeftIcon;
|
|
1010
|
+
maxWidth?: string;
|
|
1011
|
+
rightIcon?: string | ObjectUIStatsRightIcon;
|
|
1012
|
+
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
1013
|
+
text?: string;
|
|
1014
|
+
tip?: string | ObjectUIStatsTip;
|
|
1015
|
+
}
|
|
1016
|
+
export interface ObjectUIStatsRightIcon {
|
|
1017
|
+
'aria-describedby'?: string;
|
|
1018
|
+
'aria-label'?: string;
|
|
1019
|
+
'aria-labelledby'?: string;
|
|
1020
|
+
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';
|
|
1021
|
+
type: string;
|
|
1022
|
+
}
|
|
1023
|
+
export interface ObjectUIStatsTip {
|
|
1024
|
+
appearance?: 'LIGHT' | 'DARK';
|
|
1025
|
+
content: string;
|
|
1026
|
+
isVisible?: boolean;
|
|
1027
|
+
maxHeight?: number | string;
|
|
1028
|
+
maxWidth?: number | string;
|
|
1029
|
+
placement?: 'TOP' | 'TOP_START' | 'TOP_END' | 'BOTTOM' | 'BOTTOM_START' | 'BOTTOM_END' | 'LEFT' | 'LEFT_START' | 'LEFT_END' | 'RIGHT' | 'RIGHT_START' | 'RIGHT_END';
|
|
654
1030
|
}
|
|
655
1031
|
export interface PageHeaderAction {
|
|
656
1032
|
actionType?: 'button';
|
|
@@ -663,7 +1039,7 @@ export interface PageHeaderAction {
|
|
|
663
1039
|
variant?: 'NORMAL' | 'TEXT';
|
|
664
1040
|
}
|
|
665
1041
|
export interface PaginateListList {
|
|
666
|
-
id:
|
|
1042
|
+
id: string | number;
|
|
667
1043
|
label: string;
|
|
668
1044
|
}
|
|
669
1045
|
/** Partner company data for profile URL routing */
|
|
@@ -730,10 +1106,14 @@ export interface RadioOption {
|
|
|
730
1106
|
isDisabled?: boolean;
|
|
731
1107
|
label: string;
|
|
732
1108
|
secondaryLabel?: string;
|
|
733
|
-
tag?:
|
|
1109
|
+
tag?: string | RadioTag;
|
|
734
1110
|
tip?: string;
|
|
735
1111
|
value: unknown;
|
|
736
1112
|
}
|
|
1113
|
+
export interface RadioTag {
|
|
1114
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1115
|
+
label: string;
|
|
1116
|
+
}
|
|
737
1117
|
export interface RangeSliderArg {
|
|
738
1118
|
[key: string]: unknown;
|
|
739
1119
|
}
|
|
@@ -767,7 +1147,7 @@ export interface Row {
|
|
|
767
1147
|
[key: string]: string | number | boolean;
|
|
768
1148
|
}
|
|
769
1149
|
export interface Segment {
|
|
770
|
-
segmentColor:
|
|
1150
|
+
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';
|
|
771
1151
|
value: number;
|
|
772
1152
|
}
|
|
773
1153
|
export interface SegmentedControlArg {
|
|
@@ -825,6 +1205,11 @@ export interface SelectCheck {
|
|
|
825
1205
|
message: string;
|
|
826
1206
|
type: string;
|
|
827
1207
|
}
|
|
1208
|
+
export interface SelectEmptyListPlaceholder {
|
|
1209
|
+
onLoading?: string;
|
|
1210
|
+
onNoSearchQuery?: string;
|
|
1211
|
+
onNoSearchResults?: string;
|
|
1212
|
+
}
|
|
828
1213
|
/** Fixed footer at bottom of dropdown menu */
|
|
829
1214
|
export interface SelectFooter {
|
|
830
1215
|
label: string;
|
|
@@ -850,6 +1235,9 @@ export interface SelectOption {
|
|
|
850
1235
|
tertiaryLabel?: string;
|
|
851
1236
|
value: unknown;
|
|
852
1237
|
}
|
|
1238
|
+
export interface ShouldShowHeader {
|
|
1239
|
+
headerActions: boolean;
|
|
1240
|
+
}
|
|
853
1241
|
/** Configuration for show more behavior */
|
|
854
1242
|
export interface ShowMoreValue {
|
|
855
1243
|
size: number;
|
|
@@ -893,6 +1281,10 @@ export interface SliderCheck {
|
|
|
893
1281
|
export interface SliderMark {
|
|
894
1282
|
[key: string]: string;
|
|
895
1283
|
}
|
|
1284
|
+
export interface Src {
|
|
1285
|
+
dark?: string;
|
|
1286
|
+
light?: string;
|
|
1287
|
+
}
|
|
896
1288
|
export interface SsnArg {
|
|
897
1289
|
[key: string]: unknown;
|
|
898
1290
|
}
|
|
@@ -902,13 +1294,18 @@ export interface SsnCheck {
|
|
|
902
1294
|
type: string;
|
|
903
1295
|
}
|
|
904
1296
|
export interface StandAloneStep {
|
|
905
|
-
avatar?:
|
|
1297
|
+
avatar?: StepperAvatar;
|
|
906
1298
|
badge?: StepperBadge;
|
|
907
1299
|
description?: string;
|
|
908
1300
|
href?: string;
|
|
909
1301
|
status?: 'COMPLETE' | 'ERROR' | 'TODO' | 'SKIPPED';
|
|
910
1302
|
title: string;
|
|
911
1303
|
}
|
|
1304
|
+
/** Avatar configuration to display with the step. Supports image URLs */
|
|
1305
|
+
export interface StepperAvatar {
|
|
1306
|
+
imageUrl?: string;
|
|
1307
|
+
type?: 'ICON' | 'RIPPLING' | 'TEXT' | 'USER' | 'NUMBER';
|
|
1308
|
+
}
|
|
912
1309
|
/** Badge configuration to display alongside the step title */
|
|
913
1310
|
export interface StepperBadge {
|
|
914
1311
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
@@ -916,7 +1313,7 @@ export interface StepperBadge {
|
|
|
916
1313
|
text: string;
|
|
917
1314
|
}
|
|
918
1315
|
export interface StepperStep {
|
|
919
|
-
avatar?:
|
|
1316
|
+
avatar?: StepperAvatar;
|
|
920
1317
|
badge?: StepperBadge;
|
|
921
1318
|
description?: string;
|
|
922
1319
|
href?: string;
|
|
@@ -931,6 +1328,10 @@ export interface SubmitButtonProp {
|
|
|
931
1328
|
label?: string;
|
|
932
1329
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
933
1330
|
}
|
|
1331
|
+
export interface SupportButtonTo {
|
|
1332
|
+
openInNewTab?: boolean;
|
|
1333
|
+
path: string;
|
|
1334
|
+
}
|
|
934
1335
|
export interface SurveyArg {
|
|
935
1336
|
[key: string]: unknown;
|
|
936
1337
|
}
|
|
@@ -941,9 +1342,9 @@ export interface SurveyCheck {
|
|
|
941
1342
|
}
|
|
942
1343
|
export interface SurveyList {
|
|
943
1344
|
isDisabled?: boolean;
|
|
944
|
-
label?:
|
|
1345
|
+
label?: string | number;
|
|
945
1346
|
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';
|
|
946
|
-
value:
|
|
1347
|
+
value: string | number;
|
|
947
1348
|
}
|
|
948
1349
|
/** Labels for lowest and highest options */
|
|
949
1350
|
export interface SurveyRangeLabel {
|
|
@@ -968,9 +1369,13 @@ export interface TabItem {
|
|
|
968
1369
|
disabled?: boolean;
|
|
969
1370
|
icon?: string;
|
|
970
1371
|
label: string;
|
|
971
|
-
tip?:
|
|
1372
|
+
tip?: string | TabTip;
|
|
972
1373
|
value: unknown;
|
|
973
1374
|
}
|
|
1375
|
+
export interface TabTip {
|
|
1376
|
+
content: string;
|
|
1377
|
+
testId?: string;
|
|
1378
|
+
}
|
|
974
1379
|
export interface TextareaArg {
|
|
975
1380
|
[key: string]: unknown;
|
|
976
1381
|
}
|
|
@@ -995,7 +1400,7 @@ export interface TextAutoSuggestStringPadding {
|
|
|
995
1400
|
}
|
|
996
1401
|
export interface TextAutoSuggestSuggestion {
|
|
997
1402
|
label: string;
|
|
998
|
-
value:
|
|
1403
|
+
value: string | number;
|
|
999
1404
|
}
|
|
1000
1405
|
export interface TextInputArg {
|
|
1001
1406
|
[key: string]: unknown;
|
|
@@ -1053,6 +1458,12 @@ export interface TreeCheck {
|
|
|
1053
1458
|
message: string;
|
|
1054
1459
|
type: string;
|
|
1055
1460
|
}
|
|
1461
|
+
export interface TreeDisabledInfo {
|
|
1462
|
+
content: string;
|
|
1463
|
+
isMobileSupported?: boolean;
|
|
1464
|
+
maxHeight?: number | string;
|
|
1465
|
+
maxWidth?: number | string;
|
|
1466
|
+
}
|
|
1056
1467
|
/** Fixed footer with clickable action at bottom of tree */
|
|
1057
1468
|
export interface TreeFooter {
|
|
1058
1469
|
label: string;
|
|
@@ -1062,12 +1473,12 @@ export interface TreeFuseOption {
|
|
|
1062
1473
|
[key: string]: unknown;
|
|
1063
1474
|
}
|
|
1064
1475
|
export interface TreeList {
|
|
1065
|
-
disabledInfo?:
|
|
1476
|
+
disabledInfo?: string | TreeDisabledInfo;
|
|
1066
1477
|
isDisabled?: boolean;
|
|
1067
1478
|
label: string;
|
|
1068
1479
|
parent?: string;
|
|
1069
1480
|
secondaryLabel?: string;
|
|
1070
|
-
tag?:
|
|
1481
|
+
tag?: string | TreeTag;
|
|
1071
1482
|
value: string;
|
|
1072
1483
|
}
|
|
1073
1484
|
export interface TreeSelectArg {
|
|
@@ -1089,6 +1500,10 @@ export interface TreeSelectList {
|
|
|
1089
1500
|
secondaryLabel?: string;
|
|
1090
1501
|
value: string;
|
|
1091
1502
|
}
|
|
1503
|
+
export interface TreeTag {
|
|
1504
|
+
appearance?: string;
|
|
1505
|
+
text: string;
|
|
1506
|
+
}
|
|
1092
1507
|
/** User cache data with smallPhoto fallback */
|
|
1093
1508
|
export interface User_cache {
|
|
1094
1509
|
smallPhoto?: string;
|
|
@@ -1100,6 +1515,18 @@ export interface VerticalSize {
|
|
|
1100
1515
|
max?: string;
|
|
1101
1516
|
min?: string;
|
|
1102
1517
|
}
|
|
1518
|
+
export interface VStackMargin {
|
|
1519
|
+
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';
|
|
1520
|
+
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';
|
|
1521
|
+
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';
|
|
1522
|
+
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';
|
|
1523
|
+
}
|
|
1524
|
+
export interface VStackPadding {
|
|
1525
|
+
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';
|
|
1526
|
+
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';
|
|
1527
|
+
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';
|
|
1528
|
+
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';
|
|
1529
|
+
}
|
|
1103
1530
|
export interface WorkEmailArg {
|
|
1104
1531
|
[key: string]: unknown;
|
|
1105
1532
|
}
|
|
@@ -1117,11 +1544,11 @@ export interface ActionCardProps {
|
|
|
1117
1544
|
primaryActionIcon?: string;
|
|
1118
1545
|
primaryActionIsDisabled?: boolean;
|
|
1119
1546
|
primaryActionTitle?: string;
|
|
1120
|
-
primaryActionTo?:
|
|
1547
|
+
primaryActionTo?: string | ActionCardPrimaryActionTo;
|
|
1121
1548
|
secondaryActionIcon?: string;
|
|
1122
1549
|
secondaryActionIsDisabled?: boolean;
|
|
1123
1550
|
secondaryActionTitle?: string;
|
|
1124
|
-
secondaryActionTo?:
|
|
1551
|
+
secondaryActionTo?: string | ActionCardSecondaryActionTo;
|
|
1125
1552
|
shouldShowAsset?: boolean;
|
|
1126
1553
|
title?: string;
|
|
1127
1554
|
}
|
|
@@ -1139,12 +1566,12 @@ export interface AlertProps {
|
|
|
1139
1566
|
primaryActionIsDisabled?: boolean;
|
|
1140
1567
|
primaryActionShouldShowSpinner?: boolean;
|
|
1141
1568
|
primaryActionTitle?: string;
|
|
1142
|
-
primaryActionTo?:
|
|
1569
|
+
primaryActionTo?: string | AlertPrimaryActionTo;
|
|
1143
1570
|
secondaryActionIcon?: string;
|
|
1144
1571
|
secondaryActionIsDisabled?: boolean;
|
|
1145
1572
|
secondaryActionShouldShowSpinner?: boolean;
|
|
1146
1573
|
secondaryActionTitle?: string;
|
|
1147
|
-
secondaryActionTo?:
|
|
1574
|
+
secondaryActionTo?: string | AlertSecondaryActionTo;
|
|
1148
1575
|
title?: string;
|
|
1149
1576
|
type?: 'INFO' | 'SUCCESS' | 'WARNING' | 'ERROR' | 'NEUTRAL';
|
|
1150
1577
|
}
|
|
@@ -1169,7 +1596,7 @@ export interface AppGroupSelectProps {
|
|
|
1169
1596
|
creatable?: boolean;
|
|
1170
1597
|
defaultSearchQuery?: string;
|
|
1171
1598
|
dropdownHeight?: number;
|
|
1172
|
-
emptyListPlaceholder?:
|
|
1599
|
+
emptyListPlaceholder?: string | AppGroupSelectEmptyListPlaceholder;
|
|
1173
1600
|
footer?: AppGroupSelectFooter;
|
|
1174
1601
|
fuseOptions?: AppGroupSelectFuseOption;
|
|
1175
1602
|
id?: string;
|
|
@@ -1180,9 +1607,9 @@ export interface AppGroupSelectProps {
|
|
|
1180
1607
|
isRequired?: boolean;
|
|
1181
1608
|
isSearchable?: boolean;
|
|
1182
1609
|
label?: string;
|
|
1183
|
-
maxHeight?:
|
|
1610
|
+
maxHeight?: string | number;
|
|
1184
1611
|
maxTruncationLines?: number;
|
|
1185
|
-
options?:
|
|
1612
|
+
options?: AppGroupSelectOption | AppGroupSelectOption[];
|
|
1186
1613
|
placeholder?: string;
|
|
1187
1614
|
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';
|
|
1188
1615
|
rows?: number;
|
|
@@ -1193,7 +1620,7 @@ export interface AppGroupSelectProps {
|
|
|
1193
1620
|
shouldUsePortal?: boolean;
|
|
1194
1621
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1195
1622
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1196
|
-
value?: unknown;
|
|
1623
|
+
value?: unknown | unknown[];
|
|
1197
1624
|
}
|
|
1198
1625
|
export interface AppNavBarProps {
|
|
1199
1626
|
actionClickedId?: string;
|
|
@@ -1225,7 +1652,7 @@ export interface AvatarProps {
|
|
|
1225
1652
|
caption?: string;
|
|
1226
1653
|
flagCountryCode?: string;
|
|
1227
1654
|
flagSurfaceColor?: 'colorPrimary' | 'colorSecondary' | 'colorTertiary' | 'colorPrimaryContainer' | 'colorSecondaryContainer' | 'colorTertiaryContainer' | 'colorError' | 'colorErrorContainer' | 'colorSurface' | 'colorSurfaceDim' | 'colorSurfaceBright' | 'colorSurfaceContainer' | 'colorSurfaceContainerHighest' | 'colorSurfaceInverse' | 'colorSuccess' | 'colorSuccessContainer' | 'colorInfo' | 'colorInfoContainer' | 'colorWarning' | 'colorWarningContainer' | 'colorDisabled' | 'colorOverlay' | 'colorDisabledSurfaceSelected' | 'colorOverlayInverse' | 'colorDisabledSurfaceInverse' | 'colorSecondaryVariant' | 'colorPrimaryVariant' | 'colorTertiaryVariant' | 'colorDisabledInverse' | 'colorDisabledSurface' | 'colorSurfaceContainerLowest' | 'colorSurfaceContainerLow' | 'colorSurfaceContainerHigh';
|
|
1228
|
-
icon?:
|
|
1655
|
+
icon?: string | AvatarIcon;
|
|
1229
1656
|
image?: string;
|
|
1230
1657
|
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';
|
|
1231
1658
|
isCompact?: boolean;
|
|
@@ -1233,7 +1660,7 @@ export interface AvatarProps {
|
|
|
1233
1660
|
size?: '2XS' | 'XS' | 'S' | 'M' | 'L';
|
|
1234
1661
|
tip?: AvatarTip;
|
|
1235
1662
|
title?: string;
|
|
1236
|
-
to?:
|
|
1663
|
+
to?: string | AvatarTo;
|
|
1237
1664
|
truncate?: boolean;
|
|
1238
1665
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1239
1666
|
}
|
|
@@ -1259,36 +1686,36 @@ export interface BoxProps {
|
|
|
1259
1686
|
align?: string;
|
|
1260
1687
|
alignSelf?: string;
|
|
1261
1688
|
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';
|
|
1262
|
-
basis?:
|
|
1263
|
-
border?:
|
|
1689
|
+
basis?: number | string;
|
|
1690
|
+
border?: string | BoxBorder | BoxBorder;
|
|
1264
1691
|
boxSizing?: string;
|
|
1265
1692
|
changeDirectionAbove?: number;
|
|
1266
1693
|
child?: boolean;
|
|
1267
1694
|
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';
|
|
1268
|
-
container?:
|
|
1695
|
+
container?: boolean | string;
|
|
1269
1696
|
direction?: string;
|
|
1270
1697
|
flex?: string;
|
|
1271
|
-
gap?:
|
|
1272
|
-
grow?:
|
|
1273
|
-
height?:
|
|
1698
|
+
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;
|
|
1699
|
+
grow?: number | string;
|
|
1700
|
+
height?: number | string;
|
|
1274
1701
|
id?: string;
|
|
1275
1702
|
isInline?: boolean;
|
|
1276
1703
|
justify?: string;
|
|
1277
|
-
margin?:
|
|
1278
|
-
maxHeight?:
|
|
1279
|
-
maxWidth?:
|
|
1280
|
-
minHeight?:
|
|
1281
|
-
minWidth?:
|
|
1704
|
+
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' | BoxMargin;
|
|
1705
|
+
maxHeight?: number | string;
|
|
1706
|
+
maxWidth?: number | string;
|
|
1707
|
+
minHeight?: number | string;
|
|
1708
|
+
minWidth?: number | string;
|
|
1282
1709
|
overflow?: string;
|
|
1283
|
-
padding?:
|
|
1710
|
+
padding?: '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' | BoxPadding;
|
|
1284
1711
|
position?: string;
|
|
1285
|
-
radius?:
|
|
1712
|
+
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull' | BoxRadiu;
|
|
1286
1713
|
reverse?: boolean;
|
|
1287
1714
|
role?: string;
|
|
1288
|
-
shrink?:
|
|
1289
|
-
width?:
|
|
1715
|
+
shrink?: number | string;
|
|
1716
|
+
width?: number | string;
|
|
1290
1717
|
wrap?: string;
|
|
1291
|
-
zIndex?:
|
|
1718
|
+
zIndex?: number | string;
|
|
1292
1719
|
}
|
|
1293
1720
|
export interface BrandBadgeProps {
|
|
1294
1721
|
motion?: 'animated' | 'static';
|
|
@@ -1305,13 +1732,13 @@ export interface ButtonProps {
|
|
|
1305
1732
|
'aria-controls'?: string;
|
|
1306
1733
|
'aria-describedby'?: string;
|
|
1307
1734
|
'aria-expanded'?: boolean;
|
|
1308
|
-
'aria-haspopup'?:
|
|
1735
|
+
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
1309
1736
|
'aria-label'?: string;
|
|
1310
1737
|
'aria-labelledby'?: string;
|
|
1311
|
-
'aria-pressed'?:
|
|
1738
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
1312
1739
|
badge?: string;
|
|
1313
1740
|
fontInherit?: boolean;
|
|
1314
|
-
icon?:
|
|
1741
|
+
icon?: string | ButtonIcon;
|
|
1315
1742
|
id?: string;
|
|
1316
1743
|
inverseDisabledColors?: boolean;
|
|
1317
1744
|
isDisabled?: boolean;
|
|
@@ -1321,14 +1748,14 @@ export interface ButtonProps {
|
|
|
1321
1748
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1322
1749
|
tabIndex?: number;
|
|
1323
1750
|
testId?: string;
|
|
1324
|
-
tip?:
|
|
1325
|
-
to?:
|
|
1751
|
+
tip?: string | ButtonTip;
|
|
1752
|
+
to?: string | ButtonTo;
|
|
1326
1753
|
type?: 'button' | 'reset' | 'submit';
|
|
1327
1754
|
variant?: 'NORMAL' | 'TEXT';
|
|
1328
1755
|
}
|
|
1329
1756
|
export interface ButtonGroupProps {
|
|
1330
1757
|
alignment?: 'center' | 'flex-start' | 'flex-end';
|
|
1331
|
-
containerHeight?:
|
|
1758
|
+
containerHeight?: string | number;
|
|
1332
1759
|
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
1333
1760
|
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';
|
|
1334
1761
|
placement?: 'horizontallyLeft' | 'horizontallyCenter' | 'horizontallyRight' | 'horizontallySpaceBetween' | 'verticallyTop' | 'verticallyCenter' | 'verticallyBottom' | 'verticallySpaceBetween';
|
|
@@ -1340,10 +1767,10 @@ export interface CalendarProps {
|
|
|
1340
1767
|
maxDate?: string;
|
|
1341
1768
|
minDate?: string;
|
|
1342
1769
|
shouldShowFooter?: boolean;
|
|
1343
|
-
shouldShowHeader?:
|
|
1770
|
+
shouldShowHeader?: boolean | ShouldShowHeader;
|
|
1344
1771
|
shouldShowWeekDayInitials?: boolean;
|
|
1345
1772
|
testId?: string;
|
|
1346
|
-
value?:
|
|
1773
|
+
value?: string | string[];
|
|
1347
1774
|
}
|
|
1348
1775
|
export interface CardProps {
|
|
1349
1776
|
actions?: CardAction[];
|
|
@@ -1356,7 +1783,7 @@ export interface CardProps {
|
|
|
1356
1783
|
showDelete?: boolean;
|
|
1357
1784
|
showEdit?: boolean;
|
|
1358
1785
|
title?: string;
|
|
1359
|
-
to?:
|
|
1786
|
+
to?: string | CardTo;
|
|
1360
1787
|
value?: unknown;
|
|
1361
1788
|
}
|
|
1362
1789
|
export interface CardGroupProps {
|
|
@@ -1425,8 +1852,8 @@ export interface ChipProps {
|
|
|
1425
1852
|
'aria-describedby'?: string;
|
|
1426
1853
|
'aria-label'?: string;
|
|
1427
1854
|
'aria-labelledby'?: string;
|
|
1428
|
-
avatar?:
|
|
1429
|
-
icon?:
|
|
1855
|
+
avatar?: string | ChipAvatar;
|
|
1856
|
+
icon?: string | ChipIcon;
|
|
1430
1857
|
isActive?: boolean;
|
|
1431
1858
|
isDisabled?: boolean;
|
|
1432
1859
|
isDismissible?: boolean;
|
|
@@ -1435,7 +1862,7 @@ export interface ChipProps {
|
|
|
1435
1862
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
1436
1863
|
text?: string;
|
|
1437
1864
|
tip?: ChipTip;
|
|
1438
|
-
to?:
|
|
1865
|
+
to?: string | ChipTo;
|
|
1439
1866
|
}
|
|
1440
1867
|
export interface ChipGroupProps {
|
|
1441
1868
|
batchSize?: number;
|
|
@@ -1486,7 +1913,7 @@ export interface CountDownProps {
|
|
|
1486
1913
|
}
|
|
1487
1914
|
export interface CountryProps {
|
|
1488
1915
|
countryCode: string;
|
|
1489
|
-
icon?:
|
|
1916
|
+
icon?: string | CountryIcon;
|
|
1490
1917
|
onlyFlag?: boolean;
|
|
1491
1918
|
shouldShowFlag?: boolean;
|
|
1492
1919
|
shouldShowTipOnOverflow?: boolean;
|
|
@@ -1505,7 +1932,7 @@ export interface CurrencyProps {
|
|
|
1505
1932
|
currencyType?: string;
|
|
1506
1933
|
currencyTypeDefaultValue?: string;
|
|
1507
1934
|
decimalPlaces?: number;
|
|
1508
|
-
defaultValue?:
|
|
1935
|
+
defaultValue?: string | number;
|
|
1509
1936
|
isDisabled?: boolean;
|
|
1510
1937
|
isIntegerOnly?: boolean;
|
|
1511
1938
|
isReadOnly?: boolean;
|
|
@@ -1525,7 +1952,7 @@ export interface CurrencyProps {
|
|
|
1525
1952
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1526
1953
|
step?: number;
|
|
1527
1954
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1528
|
-
value?:
|
|
1955
|
+
value?: string | number;
|
|
1529
1956
|
}
|
|
1530
1957
|
export interface DateProps {
|
|
1531
1958
|
name?: string;
|
|
@@ -1549,6 +1976,7 @@ export interface DateProps {
|
|
|
1549
1976
|
locale?: string;
|
|
1550
1977
|
maxDate?: string;
|
|
1551
1978
|
minDate?: string;
|
|
1979
|
+
shouldDisplaySeconds?: boolean;
|
|
1552
1980
|
shouldFormatInTimezone?: boolean;
|
|
1553
1981
|
shouldLocalize?: boolean;
|
|
1554
1982
|
shouldShowTime?: boolean;
|
|
@@ -1594,6 +2022,7 @@ export interface DateRangeProps {
|
|
|
1594
2022
|
locale?: string;
|
|
1595
2023
|
maxDate?: string;
|
|
1596
2024
|
minDate?: string;
|
|
2025
|
+
shouldDisplaySeconds?: boolean;
|
|
1597
2026
|
shouldFormatInTimezone?: boolean;
|
|
1598
2027
|
shouldLocalize?: boolean;
|
|
1599
2028
|
shouldShowTime?: boolean;
|
|
@@ -1607,14 +2036,14 @@ export interface DateRangeProps {
|
|
|
1607
2036
|
export interface DaySelectorProps {
|
|
1608
2037
|
name?: string;
|
|
1609
2038
|
checks?: DaySelectorCheck[];
|
|
1610
|
-
defaultValue?:
|
|
2039
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1611
2040
|
isMulti?: boolean;
|
|
1612
2041
|
isReadOnly?: boolean;
|
|
1613
2042
|
isRequired?: boolean;
|
|
1614
2043
|
label?: string;
|
|
1615
2044
|
renderProps?: RenderProp;
|
|
1616
2045
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1617
|
-
value?:
|
|
2046
|
+
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1618
2047
|
}
|
|
1619
2048
|
export interface DistributionBarProps {
|
|
1620
2049
|
segments: Segment[];
|
|
@@ -1642,14 +2071,14 @@ export interface DrawerProps {
|
|
|
1642
2071
|
caption?: string;
|
|
1643
2072
|
isCompact?: boolean;
|
|
1644
2073
|
isVisible?: boolean;
|
|
1645
|
-
maxWidth?:
|
|
2074
|
+
maxWidth?: string | number;
|
|
1646
2075
|
shouldAttachToRoot?: boolean;
|
|
1647
2076
|
shouldCloseOnBackdropClick?: boolean;
|
|
1648
2077
|
shouldCloseOnEscape?: boolean;
|
|
1649
2078
|
shouldNotAnimate?: boolean;
|
|
1650
2079
|
theme?: 'BACKGROUND_V2_GRAY' | 'GRAY' | 'NO_PADDING';
|
|
1651
2080
|
title?: string;
|
|
1652
|
-
width?:
|
|
2081
|
+
width?: string | number;
|
|
1653
2082
|
}
|
|
1654
2083
|
export interface DropdownProps {
|
|
1655
2084
|
defaultValue?: string;
|
|
@@ -1729,7 +2158,7 @@ export interface ExpansionPanelGroupProps {
|
|
|
1729
2158
|
isSingleOpen?: boolean;
|
|
1730
2159
|
}
|
|
1731
2160
|
export interface FieldProps {
|
|
1732
|
-
helperMessage?:
|
|
2161
|
+
helperMessage?: string | HelperMessage;
|
|
1733
2162
|
isHiddenInput?: boolean;
|
|
1734
2163
|
isInline?: boolean;
|
|
1735
2164
|
isReadOnly?: boolean;
|
|
@@ -1782,11 +2211,11 @@ export interface FloatingButtonProps {
|
|
|
1782
2211
|
'aria-controls'?: string;
|
|
1783
2212
|
'aria-describedby'?: string;
|
|
1784
2213
|
'aria-expanded'?: boolean;
|
|
1785
|
-
'aria-haspopup'?:
|
|
2214
|
+
'aria-haspopup'?: boolean | string;
|
|
1786
2215
|
'aria-label'?: string;
|
|
1787
2216
|
'aria-labelledby'?: string;
|
|
1788
|
-
'aria-pressed'?:
|
|
1789
|
-
icon:
|
|
2217
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
2218
|
+
icon: string | FloatingButtonIcon;
|
|
1790
2219
|
id?: string;
|
|
1791
2220
|
inverseDisabledColors?: boolean;
|
|
1792
2221
|
isDisabled?: boolean;
|
|
@@ -1795,8 +2224,8 @@ export interface FloatingButtonProps {
|
|
|
1795
2224
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1796
2225
|
tabIndex?: number;
|
|
1797
2226
|
testId?: string;
|
|
1798
|
-
tip?:
|
|
1799
|
-
to?:
|
|
2227
|
+
tip?: string | FloatingButtonTip;
|
|
2228
|
+
to?: string | FloatingButtonTo;
|
|
1800
2229
|
type?: 'button' | 'submit' | 'reset';
|
|
1801
2230
|
}
|
|
1802
2231
|
export interface FormProps {
|
|
@@ -1822,7 +2251,7 @@ export interface FormProps {
|
|
|
1822
2251
|
title?: string;
|
|
1823
2252
|
validationErrors?: FormValidationError;
|
|
1824
2253
|
values?: FormValue;
|
|
1825
|
-
width?:
|
|
2254
|
+
width?: number | string;
|
|
1826
2255
|
}
|
|
1827
2256
|
export interface FormCheckboxProps {
|
|
1828
2257
|
name: string;
|
|
@@ -1923,7 +2352,7 @@ export interface FormDateRangeProps {
|
|
|
1923
2352
|
}
|
|
1924
2353
|
export interface FormDaySelectorProps {
|
|
1925
2354
|
name: string;
|
|
1926
|
-
defaultValue?:
|
|
2355
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1927
2356
|
isDisabled?: boolean;
|
|
1928
2357
|
isMulti?: boolean;
|
|
1929
2358
|
isReadOnly?: boolean;
|
|
@@ -2019,14 +2448,14 @@ export interface FormInputGroupProps {
|
|
|
2019
2448
|
isReadOnly?: boolean;
|
|
2020
2449
|
isRequired?: boolean;
|
|
2021
2450
|
label?: string;
|
|
2022
|
-
prefix?:
|
|
2451
|
+
prefix?: FormInputGroupPrefix | FormInputGroupPrefix[];
|
|
2023
2452
|
prefixMaxWidthPercent?: number;
|
|
2024
|
-
prefixMinWidth?:
|
|
2453
|
+
prefixMinWidth?: number | string;
|
|
2025
2454
|
shouldHideAddons?: boolean;
|
|
2026
2455
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2027
|
-
suffix?:
|
|
2456
|
+
suffix?: FormInputGroupSuffix | FormInputGroupSuffix[];
|
|
2028
2457
|
suffixMaxWidthPercent?: number;
|
|
2029
|
-
suffixMinWidth?:
|
|
2458
|
+
suffixMinWidth?: number | string;
|
|
2030
2459
|
tip?: string;
|
|
2031
2460
|
validationErrors?: FormInputGroupValidationError;
|
|
2032
2461
|
validations?: string;
|
|
@@ -2046,7 +2475,7 @@ export interface FormMaskerProps {
|
|
|
2046
2475
|
isRequired?: boolean;
|
|
2047
2476
|
isSensitive?: boolean;
|
|
2048
2477
|
label?: string;
|
|
2049
|
-
mask:
|
|
2478
|
+
mask: string | string[];
|
|
2050
2479
|
maxLength?: number;
|
|
2051
2480
|
maxWidth?: string;
|
|
2052
2481
|
minLength?: number;
|
|
@@ -2063,7 +2492,7 @@ export interface FormMaskerProps {
|
|
|
2063
2492
|
export interface FormNumberProps {
|
|
2064
2493
|
name: string;
|
|
2065
2494
|
decimalPlaces?: number;
|
|
2066
|
-
defaultValue?:
|
|
2495
|
+
defaultValue?: string | number;
|
|
2067
2496
|
isDisabled?: boolean;
|
|
2068
2497
|
isIntegerOnly?: boolean;
|
|
2069
2498
|
isReadOnly?: boolean;
|
|
@@ -2080,7 +2509,7 @@ export interface FormNumberProps {
|
|
|
2080
2509
|
tip?: string;
|
|
2081
2510
|
validationErrors?: FormNumberValidationError;
|
|
2082
2511
|
validations?: string;
|
|
2083
|
-
value?:
|
|
2512
|
+
value?: string | number;
|
|
2084
2513
|
}
|
|
2085
2514
|
export interface FormPasswordProps {
|
|
2086
2515
|
name: string;
|
|
@@ -2113,7 +2542,7 @@ export interface FormPercentageProps {
|
|
|
2113
2542
|
upperLimit?: number;
|
|
2114
2543
|
validationErrors?: FormPercentageValidationError;
|
|
2115
2544
|
validations?: string;
|
|
2116
|
-
value?:
|
|
2545
|
+
value?: string | number;
|
|
2117
2546
|
}
|
|
2118
2547
|
export interface FormPhoneProps {
|
|
2119
2548
|
name: string;
|
|
@@ -2151,7 +2580,7 @@ export interface FormRadioProps {
|
|
|
2151
2580
|
export interface FormSegmentedControlProps {
|
|
2152
2581
|
name: string;
|
|
2153
2582
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
2154
|
-
defaultValue?:
|
|
2583
|
+
defaultValue?: string | string[];
|
|
2155
2584
|
isDisabled?: boolean;
|
|
2156
2585
|
isFluid?: boolean;
|
|
2157
2586
|
isMulti?: boolean;
|
|
@@ -2175,7 +2604,7 @@ export interface FormSelectProps {
|
|
|
2175
2604
|
isRequired?: boolean;
|
|
2176
2605
|
isSearchable?: boolean;
|
|
2177
2606
|
label?: string;
|
|
2178
|
-
options?:
|
|
2607
|
+
options?: FormSelectOption[] | FormSelectOption[];
|
|
2179
2608
|
placeholder?: string;
|
|
2180
2609
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2181
2610
|
tip?: string;
|
|
@@ -2188,7 +2617,7 @@ export interface FormSelectableGroupProps {
|
|
|
2188
2617
|
'aria-describedby'?: string;
|
|
2189
2618
|
'aria-label'?: string;
|
|
2190
2619
|
'aria-labelledby'?: string;
|
|
2191
|
-
defaultValue?:
|
|
2620
|
+
defaultValue?: string | number | string | number[];
|
|
2192
2621
|
id?: string;
|
|
2193
2622
|
isDisabled?: boolean;
|
|
2194
2623
|
isMulti?: boolean;
|
|
@@ -2201,7 +2630,7 @@ export interface FormSelectableGroupProps {
|
|
|
2201
2630
|
tip?: string;
|
|
2202
2631
|
validationErrors?: FormSelectableGroupValidationError;
|
|
2203
2632
|
validations?: string;
|
|
2204
|
-
value?:
|
|
2633
|
+
value?: string | number | string | number[];
|
|
2205
2634
|
valueIdentifier?: string;
|
|
2206
2635
|
}
|
|
2207
2636
|
export interface FormSignatureProps {
|
|
@@ -2278,7 +2707,7 @@ export interface FormSsnProps {
|
|
|
2278
2707
|
export interface FormSurveyProps {
|
|
2279
2708
|
name: string;
|
|
2280
2709
|
caption?: string;
|
|
2281
|
-
defaultValue?:
|
|
2710
|
+
defaultValue?: string | number | string | number[];
|
|
2282
2711
|
isDisabled?: boolean;
|
|
2283
2712
|
isMulti?: boolean;
|
|
2284
2713
|
isReadOnly?: boolean;
|
|
@@ -2291,7 +2720,7 @@ export interface FormSurveyProps {
|
|
|
2291
2720
|
tip?: string;
|
|
2292
2721
|
validationErrors?: FormSurveyValidationError;
|
|
2293
2722
|
validations?: string;
|
|
2294
|
-
value?:
|
|
2723
|
+
value?: string | number | string | number[];
|
|
2295
2724
|
}
|
|
2296
2725
|
export interface FormSwitchProps {
|
|
2297
2726
|
name: string;
|
|
@@ -2454,7 +2883,7 @@ export interface FormTreeSelectProps {
|
|
|
2454
2883
|
isRequired?: boolean;
|
|
2455
2884
|
label?: string;
|
|
2456
2885
|
list: FormTreeSelectList[];
|
|
2457
|
-
maxHeight?:
|
|
2886
|
+
maxHeight?: string | number;
|
|
2458
2887
|
placeholder?: string;
|
|
2459
2888
|
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
2460
2889
|
shouldExpandNodeOnSelection?: boolean;
|
|
@@ -2484,7 +2913,7 @@ export interface FormWorkEmailProps {
|
|
|
2484
2913
|
export interface GridProps {
|
|
2485
2914
|
actionClickedId?: string;
|
|
2486
2915
|
actions?: GridAction[];
|
|
2487
|
-
list:
|
|
2916
|
+
list: GridList | GridList[];
|
|
2488
2917
|
theme?: 'NO_CARD' | 'TRANSPARENT' | 'NO_PADDING';
|
|
2489
2918
|
}
|
|
2490
2919
|
export interface HeadingProps {
|
|
@@ -2492,7 +2921,7 @@ export interface HeadingProps {
|
|
|
2492
2921
|
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';
|
|
2493
2922
|
decoration?: string;
|
|
2494
2923
|
inline?: boolean;
|
|
2495
|
-
level?:
|
|
2924
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2496
2925
|
lineClamp?: number;
|
|
2497
2926
|
maxWidth?: string;
|
|
2498
2927
|
mono?: boolean;
|
|
@@ -2508,23 +2937,23 @@ export interface HStackProps {
|
|
|
2508
2937
|
align?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
2509
2938
|
alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
2510
2939
|
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';
|
|
2511
|
-
basis?:
|
|
2940
|
+
basis?: number | string;
|
|
2512
2941
|
boxSizing?: 'content-box' | 'border-box';
|
|
2513
2942
|
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';
|
|
2514
2943
|
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';
|
|
2515
2944
|
grow?: number;
|
|
2516
|
-
height?:
|
|
2945
|
+
height?: number | string;
|
|
2517
2946
|
justify?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2518
|
-
margin?:
|
|
2519
|
-
maxHeight?:
|
|
2520
|
-
maxWidth?:
|
|
2521
|
-
minHeight?:
|
|
2522
|
-
minWidth?:
|
|
2947
|
+
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' | HStackMargin;
|
|
2948
|
+
maxHeight?: number | string;
|
|
2949
|
+
maxWidth?: number | string;
|
|
2950
|
+
minHeight?: number | string;
|
|
2951
|
+
minWidth?: number | string;
|
|
2523
2952
|
overflow?: 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
2524
|
-
padding?:
|
|
2953
|
+
padding?: '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' | HStackPadding;
|
|
2525
2954
|
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
2526
2955
|
shrink?: number;
|
|
2527
|
-
width?:
|
|
2956
|
+
width?: number | string;
|
|
2528
2957
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2529
2958
|
}
|
|
2530
2959
|
export interface IconProps {
|
|
@@ -2539,7 +2968,7 @@ export interface IconProps {
|
|
|
2539
2968
|
isFocused?: boolean;
|
|
2540
2969
|
showCursor?: boolean;
|
|
2541
2970
|
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
2542
|
-
tip?:
|
|
2971
|
+
tip?: string | IconTip;
|
|
2543
2972
|
type: string;
|
|
2544
2973
|
}
|
|
2545
2974
|
export interface IconButtonProps {
|
|
@@ -2547,11 +2976,11 @@ export interface IconButtonProps {
|
|
|
2547
2976
|
'aria-controls'?: string;
|
|
2548
2977
|
'aria-describedby'?: string;
|
|
2549
2978
|
'aria-expanded'?: boolean;
|
|
2550
|
-
'aria-haspopup'?:
|
|
2979
|
+
'aria-haspopup'?: boolean | string;
|
|
2551
2980
|
'aria-label'?: string;
|
|
2552
2981
|
'aria-labelledby'?: string;
|
|
2553
|
-
'aria-pressed'?:
|
|
2554
|
-
icon:
|
|
2982
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
2983
|
+
icon: string | IconButtonIcon;
|
|
2555
2984
|
id?: string;
|
|
2556
2985
|
isDisabled?: boolean;
|
|
2557
2986
|
shouldPreventFocus?: boolean;
|
|
@@ -2559,19 +2988,19 @@ export interface IconButtonProps {
|
|
|
2559
2988
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2560
2989
|
tabIndex?: number;
|
|
2561
2990
|
testId?: string;
|
|
2562
|
-
tip?:
|
|
2563
|
-
to?:
|
|
2991
|
+
tip?: string | IconButtonTip;
|
|
2992
|
+
to?: string | IconButtonTo;
|
|
2564
2993
|
type?: 'button' | 'submit' | 'reset';
|
|
2565
2994
|
}
|
|
2566
2995
|
export interface ImageProps {
|
|
2567
2996
|
alt: string;
|
|
2568
2997
|
assetFilter?: boolean;
|
|
2569
2998
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
2570
|
-
height?:
|
|
2999
|
+
height?: number | string;
|
|
2571
3000
|
loading?: 'eager' | 'lazy';
|
|
2572
|
-
src:
|
|
3001
|
+
src: string | Src;
|
|
2573
3002
|
theme?: 'COVER';
|
|
2574
|
-
width?:
|
|
3003
|
+
width?: number | string;
|
|
2575
3004
|
}
|
|
2576
3005
|
export interface ImageViewerProps {
|
|
2577
3006
|
alt?: string;
|
|
@@ -2583,14 +3012,14 @@ export interface InputGroupProps {
|
|
|
2583
3012
|
isDisabled?: boolean;
|
|
2584
3013
|
isInvalid?: boolean;
|
|
2585
3014
|
isReadOnly?: boolean;
|
|
2586
|
-
prefix?:
|
|
3015
|
+
prefix?: InputGroupPrefix | InputGroupPrefix[];
|
|
2587
3016
|
prefixMaxWidthPercent?: number;
|
|
2588
|
-
prefixMinWidth?:
|
|
3017
|
+
prefixMinWidth?: number | string;
|
|
2589
3018
|
shouldHideAddons?: boolean;
|
|
2590
3019
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2591
|
-
suffix?:
|
|
3020
|
+
suffix?: InputGroupSuffix | InputGroupSuffix[];
|
|
2592
3021
|
suffixMaxWidthPercent?: number;
|
|
2593
|
-
suffixMinWidth?:
|
|
3022
|
+
suffixMinWidth?: number | string;
|
|
2594
3023
|
}
|
|
2595
3024
|
export interface ItemNavigatorProps {
|
|
2596
3025
|
currentItemIndex: number;
|
|
@@ -2605,12 +3034,12 @@ export interface ItemNavigatorProps {
|
|
|
2605
3034
|
}
|
|
2606
3035
|
export interface LabelProps {
|
|
2607
3036
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
2608
|
-
leftIcon?:
|
|
3037
|
+
leftIcon?: string | LabelLeftIcon;
|
|
2609
3038
|
maxWidth?: string;
|
|
2610
|
-
rightIcon?:
|
|
3039
|
+
rightIcon?: string | LabelRightIcon;
|
|
2611
3040
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2612
3041
|
text: string;
|
|
2613
|
-
tip?:
|
|
3042
|
+
tip?: string | LabelTip;
|
|
2614
3043
|
}
|
|
2615
3044
|
export interface LabelGroupProps {
|
|
2616
3045
|
maxLinesToWrap?: number;
|
|
@@ -2620,31 +3049,31 @@ export interface LayoutProps {
|
|
|
2620
3049
|
align?: string;
|
|
2621
3050
|
alignSelf?: string;
|
|
2622
3051
|
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';
|
|
2623
|
-
basis?:
|
|
2624
|
-
border?:
|
|
3052
|
+
basis?: number | string;
|
|
3053
|
+
border?: string | LayoutBorder | LayoutBorder;
|
|
2625
3054
|
boxSizing?: 'content-box' | 'border-box';
|
|
2626
3055
|
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';
|
|
2627
3056
|
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
2628
|
-
flex?:
|
|
2629
|
-
gap?:
|
|
3057
|
+
flex?: number | string;
|
|
3058
|
+
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' | LayoutGap;
|
|
2630
3059
|
grow?: number;
|
|
2631
|
-
height?:
|
|
3060
|
+
height?: number | string;
|
|
2632
3061
|
id?: string;
|
|
2633
3062
|
isInline?: boolean;
|
|
2634
3063
|
justify?: string;
|
|
2635
|
-
margin?:
|
|
2636
|
-
maxHeight?:
|
|
2637
|
-
maxWidth?:
|
|
2638
|
-
minHeight?:
|
|
2639
|
-
minWidth?:
|
|
3064
|
+
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' | LayoutMargin;
|
|
3065
|
+
maxHeight?: number | string;
|
|
3066
|
+
maxWidth?: number | string;
|
|
3067
|
+
minHeight?: number | string;
|
|
3068
|
+
minWidth?: number | string;
|
|
2640
3069
|
overflow?: string;
|
|
2641
|
-
padding?:
|
|
3070
|
+
padding?: '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' | LayoutPadding;
|
|
2642
3071
|
position?: string;
|
|
2643
|
-
radius?:
|
|
3072
|
+
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull' | LayoutRadiu;
|
|
2644
3073
|
reverse?: boolean;
|
|
2645
3074
|
role?: string;
|
|
2646
3075
|
shrink?: number;
|
|
2647
|
-
width?:
|
|
3076
|
+
width?: number | string;
|
|
2648
3077
|
wrap?: string;
|
|
2649
3078
|
zIndex?: number;
|
|
2650
3079
|
}
|
|
@@ -2654,13 +3083,13 @@ export interface LayoutCardProps {
|
|
|
2654
3083
|
}
|
|
2655
3084
|
export interface LinkProps {
|
|
2656
3085
|
'aria-controls'?: string;
|
|
2657
|
-
'aria-current'?:
|
|
2658
|
-
'aria-haspopup'?:
|
|
3086
|
+
'aria-current'?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
3087
|
+
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
2659
3088
|
'aria-hidden'?: boolean;
|
|
2660
3089
|
'aria-label'?: string;
|
|
2661
3090
|
'aria-labelledby'?: string;
|
|
2662
3091
|
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';
|
|
2663
|
-
download?:
|
|
3092
|
+
download?: string | boolean;
|
|
2664
3093
|
href: string;
|
|
2665
3094
|
rel?: string;
|
|
2666
3095
|
target?: '_blank' | '_self';
|
|
@@ -2682,13 +3111,13 @@ export interface LocationCardProps {
|
|
|
2682
3111
|
selectedActionId?: string;
|
|
2683
3112
|
showDelete?: boolean;
|
|
2684
3113
|
showEdit?: boolean;
|
|
2685
|
-
to?:
|
|
3114
|
+
to?: string | LocationCardTo;
|
|
2686
3115
|
}
|
|
2687
3116
|
export interface LottiePlayerProps {
|
|
2688
3117
|
animationData?: AnimationData;
|
|
2689
3118
|
autoplay?: boolean;
|
|
2690
3119
|
height?: string;
|
|
2691
|
-
loop?:
|
|
3120
|
+
loop?: boolean | number;
|
|
2692
3121
|
path?: string;
|
|
2693
3122
|
renderer?: 'svg' | 'canvas' | 'html';
|
|
2694
3123
|
testId?: string;
|
|
@@ -2708,7 +3137,7 @@ export interface MaskerProps {
|
|
|
2708
3137
|
isRequired?: boolean;
|
|
2709
3138
|
isSensitive?: boolean;
|
|
2710
3139
|
label?: string;
|
|
2711
|
-
mask:
|
|
3140
|
+
mask: string | string[];
|
|
2712
3141
|
maxLength?: number;
|
|
2713
3142
|
maxWidth?: string;
|
|
2714
3143
|
minLength?: number;
|
|
@@ -2729,7 +3158,7 @@ export interface MenuListProps {
|
|
|
2729
3158
|
minWidth?: number;
|
|
2730
3159
|
searchable?: boolean;
|
|
2731
3160
|
selectedValues?: string[];
|
|
2732
|
-
width?:
|
|
3161
|
+
width?: number | 'auto';
|
|
2733
3162
|
}
|
|
2734
3163
|
export interface ModalProps {
|
|
2735
3164
|
animation?: string;
|
|
@@ -2772,7 +3201,7 @@ export interface NumberProps {
|
|
|
2772
3201
|
autoFocus?: boolean;
|
|
2773
3202
|
checks?: NumberCheck[];
|
|
2774
3203
|
decimalPlaces?: number;
|
|
2775
|
-
defaultValue?:
|
|
3204
|
+
defaultValue?: string | number;
|
|
2776
3205
|
isDisabled?: boolean;
|
|
2777
3206
|
isIntegerOnly?: boolean;
|
|
2778
3207
|
isReadOnly?: boolean;
|
|
@@ -2796,7 +3225,7 @@ export interface NumberProps {
|
|
|
2796
3225
|
suffix?: string;
|
|
2797
3226
|
theme?: 'DARK' | 'INLINE_DATE_DAY' | 'INLINE_DATE_MONTH' | 'INLINE_DATE_YEAR' | 'INLINE_SELECT_SEARCH' | 'INLINE_TEXT' | 'INLINE_TIME' | 'INLINE_TIME_WITH_SECONDS' | 'ITALIC_FONT' | 'INLINE_SELECT_SEARCH_DARK' | 'INLINE_SELECT_SEARCH_INLINE_DATE_DAY' | 'INLINE_SELECT_SEARCH_INLINE_DATE_YEAR' | 'INLINE_SELECT_SEARCH_INLINE_TEXT' | 'INLINE_SELECT_SEARCH_ITALIC_FONT' | 'NO_BOX' | 'NO_BOX_INLINE_SELECT_SEARCH' | 'NO_BOX_DARK' | 'NO_BOX_INLINE_DATE_DAY' | 'NO_BOX_INLINE_DATE_YEAR' | 'NO_BOX_INLINE_TEXT' | 'NO_BOX_ITALIC_FONT' | 'NO_BOX_INLINE_SELECT_SEARCH_DARK' | 'NO_BOX_INLINE_SELECT_SEARCH_INLINE_DATE_DAY' | 'NO_BOX_INLINE_SELECT_SEARCH_INLINE_DATE_YEAR' | 'NO_BOX_INLINE_SELECT_SEARCH_INLINE_TEXT' | 'NO_BOX_INLINE_SELECT_SEARCH_ITALIC_FONT' | 'NO_PADDING_NO_BOX_INLINE_SELECT_SEARCH' | 'NO_PADDING_NO_BOX_INLINE_TIME' | 'NO_PADDING_NO_BOX_INLINE_TIME_WITH_SECONDS' | 'NO_PADDING_RIGHT_NO_BOX_DARK' | 'NO_PADDING_NO_BOX_INLINE_DATE_MONTH' | 'NO_PADDING_NO_BOX_INLINE_DATE_YEAR' | 'NO_PADDING_RIGHT_NO_BOX_INLINE_TEXT' | 'NO_PADDING_RIGHT_NO_BOX_ITALIC_FONT' | 'NO_PADDING_RIGHT_NO_BOX_INLINE_SELECT_SEARCH_DARK' | 'NO_PADDING_NO_BOX_INLINE_SELECT_SEARCH_INLINE_DATE' | 'NO_PADDING_RIGHT_NO_BOX_INLINE_SELECT_SEARCH_INLINE_DATE_YEAR' | 'NO_PADDING_RIGHT_NO_BOX_INLINE_SELECT_SEARCH_INLINE_TEXT' | 'NO_PADDING_RIGHT_NO_BOX_INLINE_SELECT_SEARCH_ITALIC_FONT' | 'NO_PADDING_LEFT_NO_BOX_INLINE_SELECT_SEARCH' | 'NO_PADDING_LEFT_NO_BOX_DARK' | 'NO_PADDING_NO_BOX_INLINE_DATE_DAY' | 'NO_PADDING_LEFT_NO_BOX_INLINE_TEXT' | 'NO_PADDING_LEFT_NO_BOX_ITALIC_FONT' | 'NO_PADDING_LEFT_NO_BOX_INLINE_SELECT_SEARCH_DARK' | 'NO_PADDING_LEFT_NO_BOX_INLINE_SELECT_SEARCH_INLINE_DATE_DAY' | 'NO_PADDING_LEFT_NO_BOX_INLINE_SELECT_SEARCH_INLINE_TEXT' | 'NO_PADDING_LEFT_NO_BOX_INLINE_SELECT_SEARCH_ITALIC_FONT' | 'NO_PADDING_NO_BOX_INLINE_TEXT';
|
|
2798
3227
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2799
|
-
value?:
|
|
3228
|
+
value?: string | number;
|
|
2800
3229
|
}
|
|
2801
3230
|
export interface ObjectListViewProps {
|
|
2802
3231
|
defaultListViewId?: string;
|
|
@@ -2818,7 +3247,7 @@ export interface ObjectUIHeaderProps {
|
|
|
2818
3247
|
export interface ObjectUIStatsProps {
|
|
2819
3248
|
actionClickedId?: string;
|
|
2820
3249
|
actions?: ObjectUIStatsAction[];
|
|
2821
|
-
list:
|
|
3250
|
+
list: ObjectUIStatsList | ObjectUIStatsList[];
|
|
2822
3251
|
}
|
|
2823
3252
|
export interface ObjectUITemplateProps {
|
|
2824
3253
|
}
|
|
@@ -2942,7 +3371,7 @@ export interface PercentageProps {
|
|
|
2942
3371
|
step?: number;
|
|
2943
3372
|
upperLimit?: number;
|
|
2944
3373
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2945
|
-
value?:
|
|
3374
|
+
value?: string | number;
|
|
2946
3375
|
}
|
|
2947
3376
|
export interface PhoneProps {
|
|
2948
3377
|
name?: string;
|
|
@@ -3082,7 +3511,7 @@ export interface SegmentedControlProps {
|
|
|
3082
3511
|
name?: string;
|
|
3083
3512
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
3084
3513
|
checks?: SegmentedControlCheck[];
|
|
3085
|
-
defaultValue?:
|
|
3514
|
+
defaultValue?: string | string[];
|
|
3086
3515
|
isDisabled?: boolean;
|
|
3087
3516
|
isFluid?: boolean;
|
|
3088
3517
|
isMulti?: boolean;
|
|
@@ -3094,7 +3523,7 @@ export interface SegmentedControlProps {
|
|
|
3094
3523
|
rangeLabels?: SegmentedControlRangeLabel;
|
|
3095
3524
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3096
3525
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3097
|
-
value?:
|
|
3526
|
+
value?: string | string[];
|
|
3098
3527
|
}
|
|
3099
3528
|
export interface SelectProps {
|
|
3100
3529
|
name?: string;
|
|
@@ -3107,7 +3536,7 @@ export interface SelectProps {
|
|
|
3107
3536
|
creatable?: boolean;
|
|
3108
3537
|
defaultSearchQuery?: string;
|
|
3109
3538
|
dropdownHeight?: number;
|
|
3110
|
-
emptyListPlaceholder?:
|
|
3539
|
+
emptyListPlaceholder?: string | SelectEmptyListPlaceholder;
|
|
3111
3540
|
footer?: SelectFooter;
|
|
3112
3541
|
fuseOptions?: SelectFuseOption;
|
|
3113
3542
|
id?: string;
|
|
@@ -3119,7 +3548,7 @@ export interface SelectProps {
|
|
|
3119
3548
|
isRequired?: boolean;
|
|
3120
3549
|
isSearchable?: boolean;
|
|
3121
3550
|
label?: string;
|
|
3122
|
-
maxHeight?:
|
|
3551
|
+
maxHeight?: string | number;
|
|
3123
3552
|
maxTruncationLines?: number;
|
|
3124
3553
|
options?: SelectOption[];
|
|
3125
3554
|
placeholder?: string;
|
|
@@ -3141,7 +3570,7 @@ export interface SelectableGroupProps {
|
|
|
3141
3570
|
'aria-label'?: string;
|
|
3142
3571
|
'aria-labelledby'?: string;
|
|
3143
3572
|
checks?: SelectableGroupCheck[];
|
|
3144
|
-
defaultValue?:
|
|
3573
|
+
defaultValue?: string | number | string | number[];
|
|
3145
3574
|
id?: string;
|
|
3146
3575
|
isDisabled?: boolean;
|
|
3147
3576
|
isMulti?: boolean;
|
|
@@ -3152,7 +3581,7 @@ export interface SelectableGroupProps {
|
|
|
3152
3581
|
renderer: 'BASIC_CARD' | 'LOCATION_CARD';
|
|
3153
3582
|
testId?: string;
|
|
3154
3583
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3155
|
-
value?:
|
|
3584
|
+
value?: string | number | string | number[];
|
|
3156
3585
|
valueIdentifier?: string;
|
|
3157
3586
|
}
|
|
3158
3587
|
export interface SelectableMenuProps {
|
|
@@ -3174,7 +3603,7 @@ export interface SelectableMenuProps {
|
|
|
3174
3603
|
}
|
|
3175
3604
|
export interface SettingsLoaderProps {
|
|
3176
3605
|
isCenter?: boolean;
|
|
3177
|
-
margin?:
|
|
3606
|
+
margin?: string | number;
|
|
3178
3607
|
}
|
|
3179
3608
|
export interface ShowMoreProps {
|
|
3180
3609
|
buttonSize?: 'XS' | 'S' | 'M' | 'L';
|
|
@@ -3230,12 +3659,12 @@ export interface SkeletonProps {
|
|
|
3230
3659
|
gap?: 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
3231
3660
|
height?: number;
|
|
3232
3661
|
initialTimestamp?: number;
|
|
3233
|
-
lineHeight?:
|
|
3662
|
+
lineHeight?: string | number;
|
|
3234
3663
|
lines?: number;
|
|
3235
3664
|
show?: boolean;
|
|
3236
3665
|
size?: number;
|
|
3237
3666
|
variant?: 'TEXT' | 'CIRCLE' | 'BOX';
|
|
3238
|
-
width?:
|
|
3667
|
+
width?: string | number;
|
|
3239
3668
|
}
|
|
3240
3669
|
export interface SliderProps {
|
|
3241
3670
|
name?: string;
|
|
@@ -3344,7 +3773,7 @@ export interface SupportButtonProps {
|
|
|
3344
3773
|
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';
|
|
3345
3774
|
testId?: string;
|
|
3346
3775
|
title: string;
|
|
3347
|
-
to?:
|
|
3776
|
+
to?: string | SupportButtonTo;
|
|
3348
3777
|
}
|
|
3349
3778
|
export interface SurveyProps {
|
|
3350
3779
|
name?: string;
|
|
@@ -3360,7 +3789,7 @@ export interface SurveyProps {
|
|
|
3360
3789
|
rangeLabels?: SurveyRangeLabel;
|
|
3361
3790
|
theme?: 'TWO_LINE';
|
|
3362
3791
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3363
|
-
value?:
|
|
3792
|
+
value?: string | number | string | number[];
|
|
3364
3793
|
}
|
|
3365
3794
|
export interface SwitchProps {
|
|
3366
3795
|
name?: string;
|
|
@@ -3482,7 +3911,7 @@ export interface TextAutoSuggestProps {
|
|
|
3482
3911
|
testId?: string;
|
|
3483
3912
|
theme?: string;
|
|
3484
3913
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3485
|
-
value?:
|
|
3914
|
+
value?: string | number;
|
|
3486
3915
|
}
|
|
3487
3916
|
export interface TextClipProps {
|
|
3488
3917
|
collapseLabel?: string;
|
|
@@ -3632,8 +4061,8 @@ export interface TipProps {
|
|
|
3632
4061
|
isMobileSupported?: boolean;
|
|
3633
4062
|
isPositionFixed?: boolean;
|
|
3634
4063
|
isVisible?: boolean;
|
|
3635
|
-
maxHeight?:
|
|
3636
|
-
maxWidth?:
|
|
4064
|
+
maxHeight?: number | string;
|
|
4065
|
+
maxWidth?: number | string;
|
|
3637
4066
|
onlyIfChildOverflow?: boolean;
|
|
3638
4067
|
onlyIfOverflow?: boolean;
|
|
3639
4068
|
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
@@ -3688,7 +4117,7 @@ export interface TreeProps {
|
|
|
3688
4117
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3689
4118
|
theme?: 'NO_BORDER' | 'NO_PADDING' | 'REVERSE' | 'NO_BOX';
|
|
3690
4119
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3691
|
-
value?:
|
|
4120
|
+
value?: string | string[];
|
|
3692
4121
|
}
|
|
3693
4122
|
export interface TreeSelectProps {
|
|
3694
4123
|
name?: string;
|
|
@@ -3714,7 +4143,7 @@ export interface TreeSelectProps {
|
|
|
3714
4143
|
isRequired?: boolean;
|
|
3715
4144
|
label?: string;
|
|
3716
4145
|
list: TreeSelectList[];
|
|
3717
|
-
maxHeight?:
|
|
4146
|
+
maxHeight?: string | number;
|
|
3718
4147
|
placeholder?: string;
|
|
3719
4148
|
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
3720
4149
|
selectedOptionsModalClassName?: string;
|
|
@@ -3737,23 +4166,23 @@ export interface VStackProps {
|
|
|
3737
4166
|
align?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
3738
4167
|
alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
3739
4168
|
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';
|
|
3740
|
-
basis?:
|
|
4169
|
+
basis?: number | string;
|
|
3741
4170
|
boxSizing?: 'content-box' | 'border-box';
|
|
3742
4171
|
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';
|
|
3743
4172
|
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';
|
|
3744
4173
|
grow?: number;
|
|
3745
|
-
height?:
|
|
4174
|
+
height?: number | string;
|
|
3746
4175
|
justify?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
3747
|
-
margin?:
|
|
3748
|
-
maxHeight?:
|
|
3749
|
-
maxWidth?:
|
|
3750
|
-
minHeight?:
|
|
3751
|
-
minWidth?:
|
|
4176
|
+
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' | VStackMargin;
|
|
4177
|
+
maxHeight?: number | string;
|
|
4178
|
+
maxWidth?: number | string;
|
|
4179
|
+
minHeight?: number | string;
|
|
4180
|
+
minWidth?: number | string;
|
|
3752
4181
|
overflow?: 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
3753
|
-
padding?:
|
|
4182
|
+
padding?: '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' | VStackPadding;
|
|
3754
4183
|
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3755
4184
|
shrink?: number;
|
|
3756
|
-
width?:
|
|
4185
|
+
width?: number | string;
|
|
3757
4186
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
3758
4187
|
}
|
|
3759
4188
|
export interface WorkEmailProps {
|