@rippling/pebble-sdui-web 0.6.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 +601 -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 +195 -184
- 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 +876 -876
- 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 +1053 -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;
|
|
@@ -583,6 +914,10 @@ export interface LocationCardAction {
|
|
|
583
914
|
id: string;
|
|
584
915
|
label: string;
|
|
585
916
|
}
|
|
917
|
+
export interface LocationCardTo {
|
|
918
|
+
openInNewTab?: boolean;
|
|
919
|
+
path: string;
|
|
920
|
+
}
|
|
586
921
|
export interface MaskerArg {
|
|
587
922
|
[key: string]: unknown;
|
|
588
923
|
}
|
|
@@ -652,7 +987,46 @@ export interface ObjectUIStatsAction {
|
|
|
652
987
|
iconType: string;
|
|
653
988
|
id: string;
|
|
654
989
|
isDisabled?: boolean;
|
|
655
|
-
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';
|
|
656
1030
|
}
|
|
657
1031
|
export interface PageHeaderAction {
|
|
658
1032
|
actionType?: 'button';
|
|
@@ -665,7 +1039,7 @@ export interface PageHeaderAction {
|
|
|
665
1039
|
variant?: 'NORMAL' | 'TEXT';
|
|
666
1040
|
}
|
|
667
1041
|
export interface PaginateListList {
|
|
668
|
-
id:
|
|
1042
|
+
id: string | number;
|
|
669
1043
|
label: string;
|
|
670
1044
|
}
|
|
671
1045
|
/** Partner company data for profile URL routing */
|
|
@@ -732,10 +1106,14 @@ export interface RadioOption {
|
|
|
732
1106
|
isDisabled?: boolean;
|
|
733
1107
|
label: string;
|
|
734
1108
|
secondaryLabel?: string;
|
|
735
|
-
tag?:
|
|
1109
|
+
tag?: string | RadioTag;
|
|
736
1110
|
tip?: string;
|
|
737
1111
|
value: unknown;
|
|
738
1112
|
}
|
|
1113
|
+
export interface RadioTag {
|
|
1114
|
+
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
1115
|
+
label: string;
|
|
1116
|
+
}
|
|
739
1117
|
export interface RangeSliderArg {
|
|
740
1118
|
[key: string]: unknown;
|
|
741
1119
|
}
|
|
@@ -769,7 +1147,7 @@ export interface Row {
|
|
|
769
1147
|
[key: string]: string | number | boolean;
|
|
770
1148
|
}
|
|
771
1149
|
export interface Segment {
|
|
772
|
-
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';
|
|
773
1151
|
value: number;
|
|
774
1152
|
}
|
|
775
1153
|
export interface SegmentedControlArg {
|
|
@@ -827,6 +1205,11 @@ export interface SelectCheck {
|
|
|
827
1205
|
message: string;
|
|
828
1206
|
type: string;
|
|
829
1207
|
}
|
|
1208
|
+
export interface SelectEmptyListPlaceholder {
|
|
1209
|
+
onLoading?: string;
|
|
1210
|
+
onNoSearchQuery?: string;
|
|
1211
|
+
onNoSearchResults?: string;
|
|
1212
|
+
}
|
|
830
1213
|
/** Fixed footer at bottom of dropdown menu */
|
|
831
1214
|
export interface SelectFooter {
|
|
832
1215
|
label: string;
|
|
@@ -852,6 +1235,9 @@ export interface SelectOption {
|
|
|
852
1235
|
tertiaryLabel?: string;
|
|
853
1236
|
value: unknown;
|
|
854
1237
|
}
|
|
1238
|
+
export interface ShouldShowHeader {
|
|
1239
|
+
headerActions: boolean;
|
|
1240
|
+
}
|
|
855
1241
|
/** Configuration for show more behavior */
|
|
856
1242
|
export interface ShowMoreValue {
|
|
857
1243
|
size: number;
|
|
@@ -895,6 +1281,10 @@ export interface SliderCheck {
|
|
|
895
1281
|
export interface SliderMark {
|
|
896
1282
|
[key: string]: string;
|
|
897
1283
|
}
|
|
1284
|
+
export interface Src {
|
|
1285
|
+
dark?: string;
|
|
1286
|
+
light?: string;
|
|
1287
|
+
}
|
|
898
1288
|
export interface SsnArg {
|
|
899
1289
|
[key: string]: unknown;
|
|
900
1290
|
}
|
|
@@ -904,13 +1294,18 @@ export interface SsnCheck {
|
|
|
904
1294
|
type: string;
|
|
905
1295
|
}
|
|
906
1296
|
export interface StandAloneStep {
|
|
907
|
-
avatar?:
|
|
1297
|
+
avatar?: StepperAvatar;
|
|
908
1298
|
badge?: StepperBadge;
|
|
909
1299
|
description?: string;
|
|
910
1300
|
href?: string;
|
|
911
1301
|
status?: 'COMPLETE' | 'ERROR' | 'TODO' | 'SKIPPED';
|
|
912
1302
|
title: string;
|
|
913
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
|
+
}
|
|
914
1309
|
/** Badge configuration to display alongside the step title */
|
|
915
1310
|
export interface StepperBadge {
|
|
916
1311
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
@@ -918,7 +1313,7 @@ export interface StepperBadge {
|
|
|
918
1313
|
text: string;
|
|
919
1314
|
}
|
|
920
1315
|
export interface StepperStep {
|
|
921
|
-
avatar?:
|
|
1316
|
+
avatar?: StepperAvatar;
|
|
922
1317
|
badge?: StepperBadge;
|
|
923
1318
|
description?: string;
|
|
924
1319
|
href?: string;
|
|
@@ -933,6 +1328,10 @@ export interface SubmitButtonProp {
|
|
|
933
1328
|
label?: string;
|
|
934
1329
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
935
1330
|
}
|
|
1331
|
+
export interface SupportButtonTo {
|
|
1332
|
+
openInNewTab?: boolean;
|
|
1333
|
+
path: string;
|
|
1334
|
+
}
|
|
936
1335
|
export interface SurveyArg {
|
|
937
1336
|
[key: string]: unknown;
|
|
938
1337
|
}
|
|
@@ -943,9 +1342,9 @@ export interface SurveyCheck {
|
|
|
943
1342
|
}
|
|
944
1343
|
export interface SurveyList {
|
|
945
1344
|
isDisabled?: boolean;
|
|
946
|
-
label?:
|
|
1345
|
+
label?: string | number;
|
|
947
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';
|
|
948
|
-
value:
|
|
1347
|
+
value: string | number;
|
|
949
1348
|
}
|
|
950
1349
|
/** Labels for lowest and highest options */
|
|
951
1350
|
export interface SurveyRangeLabel {
|
|
@@ -970,9 +1369,13 @@ export interface TabItem {
|
|
|
970
1369
|
disabled?: boolean;
|
|
971
1370
|
icon?: string;
|
|
972
1371
|
label: string;
|
|
973
|
-
tip?:
|
|
1372
|
+
tip?: string | TabTip;
|
|
974
1373
|
value: unknown;
|
|
975
1374
|
}
|
|
1375
|
+
export interface TabTip {
|
|
1376
|
+
content: string;
|
|
1377
|
+
testId?: string;
|
|
1378
|
+
}
|
|
976
1379
|
export interface TextareaArg {
|
|
977
1380
|
[key: string]: unknown;
|
|
978
1381
|
}
|
|
@@ -997,7 +1400,7 @@ export interface TextAutoSuggestStringPadding {
|
|
|
997
1400
|
}
|
|
998
1401
|
export interface TextAutoSuggestSuggestion {
|
|
999
1402
|
label: string;
|
|
1000
|
-
value:
|
|
1403
|
+
value: string | number;
|
|
1001
1404
|
}
|
|
1002
1405
|
export interface TextInputArg {
|
|
1003
1406
|
[key: string]: unknown;
|
|
@@ -1055,6 +1458,12 @@ export interface TreeCheck {
|
|
|
1055
1458
|
message: string;
|
|
1056
1459
|
type: string;
|
|
1057
1460
|
}
|
|
1461
|
+
export interface TreeDisabledInfo {
|
|
1462
|
+
content: string;
|
|
1463
|
+
isMobileSupported?: boolean;
|
|
1464
|
+
maxHeight?: number | string;
|
|
1465
|
+
maxWidth?: number | string;
|
|
1466
|
+
}
|
|
1058
1467
|
/** Fixed footer with clickable action at bottom of tree */
|
|
1059
1468
|
export interface TreeFooter {
|
|
1060
1469
|
label: string;
|
|
@@ -1064,12 +1473,12 @@ export interface TreeFuseOption {
|
|
|
1064
1473
|
[key: string]: unknown;
|
|
1065
1474
|
}
|
|
1066
1475
|
export interface TreeList {
|
|
1067
|
-
disabledInfo?:
|
|
1476
|
+
disabledInfo?: string | TreeDisabledInfo;
|
|
1068
1477
|
isDisabled?: boolean;
|
|
1069
1478
|
label: string;
|
|
1070
1479
|
parent?: string;
|
|
1071
1480
|
secondaryLabel?: string;
|
|
1072
|
-
tag?:
|
|
1481
|
+
tag?: string | TreeTag;
|
|
1073
1482
|
value: string;
|
|
1074
1483
|
}
|
|
1075
1484
|
export interface TreeSelectArg {
|
|
@@ -1091,6 +1500,10 @@ export interface TreeSelectList {
|
|
|
1091
1500
|
secondaryLabel?: string;
|
|
1092
1501
|
value: string;
|
|
1093
1502
|
}
|
|
1503
|
+
export interface TreeTag {
|
|
1504
|
+
appearance?: string;
|
|
1505
|
+
text: string;
|
|
1506
|
+
}
|
|
1094
1507
|
/** User cache data with smallPhoto fallback */
|
|
1095
1508
|
export interface User_cache {
|
|
1096
1509
|
smallPhoto?: string;
|
|
@@ -1102,6 +1515,18 @@ export interface VerticalSize {
|
|
|
1102
1515
|
max?: string;
|
|
1103
1516
|
min?: string;
|
|
1104
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
|
+
}
|
|
1105
1530
|
export interface WorkEmailArg {
|
|
1106
1531
|
[key: string]: unknown;
|
|
1107
1532
|
}
|
|
@@ -1119,11 +1544,11 @@ export interface ActionCardProps {
|
|
|
1119
1544
|
primaryActionIcon?: string;
|
|
1120
1545
|
primaryActionIsDisabled?: boolean;
|
|
1121
1546
|
primaryActionTitle?: string;
|
|
1122
|
-
primaryActionTo?:
|
|
1547
|
+
primaryActionTo?: string | ActionCardPrimaryActionTo;
|
|
1123
1548
|
secondaryActionIcon?: string;
|
|
1124
1549
|
secondaryActionIsDisabled?: boolean;
|
|
1125
1550
|
secondaryActionTitle?: string;
|
|
1126
|
-
secondaryActionTo?:
|
|
1551
|
+
secondaryActionTo?: string | ActionCardSecondaryActionTo;
|
|
1127
1552
|
shouldShowAsset?: boolean;
|
|
1128
1553
|
title?: string;
|
|
1129
1554
|
}
|
|
@@ -1141,12 +1566,12 @@ export interface AlertProps {
|
|
|
1141
1566
|
primaryActionIsDisabled?: boolean;
|
|
1142
1567
|
primaryActionShouldShowSpinner?: boolean;
|
|
1143
1568
|
primaryActionTitle?: string;
|
|
1144
|
-
primaryActionTo?:
|
|
1569
|
+
primaryActionTo?: string | AlertPrimaryActionTo;
|
|
1145
1570
|
secondaryActionIcon?: string;
|
|
1146
1571
|
secondaryActionIsDisabled?: boolean;
|
|
1147
1572
|
secondaryActionShouldShowSpinner?: boolean;
|
|
1148
1573
|
secondaryActionTitle?: string;
|
|
1149
|
-
secondaryActionTo?:
|
|
1574
|
+
secondaryActionTo?: string | AlertSecondaryActionTo;
|
|
1150
1575
|
title?: string;
|
|
1151
1576
|
type?: 'INFO' | 'SUCCESS' | 'WARNING' | 'ERROR' | 'NEUTRAL';
|
|
1152
1577
|
}
|
|
@@ -1171,7 +1596,7 @@ export interface AppGroupSelectProps {
|
|
|
1171
1596
|
creatable?: boolean;
|
|
1172
1597
|
defaultSearchQuery?: string;
|
|
1173
1598
|
dropdownHeight?: number;
|
|
1174
|
-
emptyListPlaceholder?:
|
|
1599
|
+
emptyListPlaceholder?: string | AppGroupSelectEmptyListPlaceholder;
|
|
1175
1600
|
footer?: AppGroupSelectFooter;
|
|
1176
1601
|
fuseOptions?: AppGroupSelectFuseOption;
|
|
1177
1602
|
id?: string;
|
|
@@ -1182,9 +1607,9 @@ export interface AppGroupSelectProps {
|
|
|
1182
1607
|
isRequired?: boolean;
|
|
1183
1608
|
isSearchable?: boolean;
|
|
1184
1609
|
label?: string;
|
|
1185
|
-
maxHeight?:
|
|
1610
|
+
maxHeight?: string | number;
|
|
1186
1611
|
maxTruncationLines?: number;
|
|
1187
|
-
options?:
|
|
1612
|
+
options?: AppGroupSelectOption | AppGroupSelectOption[];
|
|
1188
1613
|
placeholder?: string;
|
|
1189
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';
|
|
1190
1615
|
rows?: number;
|
|
@@ -1195,7 +1620,7 @@ export interface AppGroupSelectProps {
|
|
|
1195
1620
|
shouldUsePortal?: boolean;
|
|
1196
1621
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1197
1622
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1198
|
-
value?: unknown;
|
|
1623
|
+
value?: unknown | unknown[];
|
|
1199
1624
|
}
|
|
1200
1625
|
export interface AppNavBarProps {
|
|
1201
1626
|
actionClickedId?: string;
|
|
@@ -1227,7 +1652,7 @@ export interface AvatarProps {
|
|
|
1227
1652
|
caption?: string;
|
|
1228
1653
|
flagCountryCode?: string;
|
|
1229
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';
|
|
1230
|
-
icon?:
|
|
1655
|
+
icon?: string | AvatarIcon;
|
|
1231
1656
|
image?: string;
|
|
1232
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';
|
|
1233
1658
|
isCompact?: boolean;
|
|
@@ -1235,7 +1660,7 @@ export interface AvatarProps {
|
|
|
1235
1660
|
size?: '2XS' | 'XS' | 'S' | 'M' | 'L';
|
|
1236
1661
|
tip?: AvatarTip;
|
|
1237
1662
|
title?: string;
|
|
1238
|
-
to?:
|
|
1663
|
+
to?: string | AvatarTo;
|
|
1239
1664
|
truncate?: boolean;
|
|
1240
1665
|
type?: 'USER' | 'ICON' | 'TEXT' | 'NUMBER' | 'RIPPLING';
|
|
1241
1666
|
}
|
|
@@ -1261,36 +1686,36 @@ export interface BoxProps {
|
|
|
1261
1686
|
align?: string;
|
|
1262
1687
|
alignSelf?: string;
|
|
1263
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';
|
|
1264
|
-
basis?:
|
|
1265
|
-
border?:
|
|
1689
|
+
basis?: number | string;
|
|
1690
|
+
border?: string | BoxBorder | BoxBorder;
|
|
1266
1691
|
boxSizing?: string;
|
|
1267
1692
|
changeDirectionAbove?: number;
|
|
1268
1693
|
child?: boolean;
|
|
1269
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';
|
|
1270
|
-
container?:
|
|
1695
|
+
container?: boolean | string;
|
|
1271
1696
|
direction?: string;
|
|
1272
1697
|
flex?: string;
|
|
1273
|
-
gap?:
|
|
1274
|
-
grow?:
|
|
1275
|
-
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;
|
|
1276
1701
|
id?: string;
|
|
1277
1702
|
isInline?: boolean;
|
|
1278
1703
|
justify?: string;
|
|
1279
|
-
margin?:
|
|
1280
|
-
maxHeight?:
|
|
1281
|
-
maxWidth?:
|
|
1282
|
-
minHeight?:
|
|
1283
|
-
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;
|
|
1284
1709
|
overflow?: string;
|
|
1285
|
-
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;
|
|
1286
1711
|
position?: string;
|
|
1287
|
-
radius?:
|
|
1712
|
+
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull' | BoxRadiu;
|
|
1288
1713
|
reverse?: boolean;
|
|
1289
1714
|
role?: string;
|
|
1290
|
-
shrink?:
|
|
1291
|
-
width?:
|
|
1715
|
+
shrink?: number | string;
|
|
1716
|
+
width?: number | string;
|
|
1292
1717
|
wrap?: string;
|
|
1293
|
-
zIndex?:
|
|
1718
|
+
zIndex?: number | string;
|
|
1294
1719
|
}
|
|
1295
1720
|
export interface BrandBadgeProps {
|
|
1296
1721
|
motion?: 'animated' | 'static';
|
|
@@ -1307,13 +1732,13 @@ export interface ButtonProps {
|
|
|
1307
1732
|
'aria-controls'?: string;
|
|
1308
1733
|
'aria-describedby'?: string;
|
|
1309
1734
|
'aria-expanded'?: boolean;
|
|
1310
|
-
'aria-haspopup'?:
|
|
1735
|
+
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
1311
1736
|
'aria-label'?: string;
|
|
1312
1737
|
'aria-labelledby'?: string;
|
|
1313
|
-
'aria-pressed'?:
|
|
1738
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
1314
1739
|
badge?: string;
|
|
1315
1740
|
fontInherit?: boolean;
|
|
1316
|
-
icon?:
|
|
1741
|
+
icon?: string | ButtonIcon;
|
|
1317
1742
|
id?: string;
|
|
1318
1743
|
inverseDisabledColors?: boolean;
|
|
1319
1744
|
isDisabled?: boolean;
|
|
@@ -1323,14 +1748,14 @@ export interface ButtonProps {
|
|
|
1323
1748
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
1324
1749
|
tabIndex?: number;
|
|
1325
1750
|
testId?: string;
|
|
1326
|
-
tip?:
|
|
1327
|
-
to?:
|
|
1751
|
+
tip?: string | ButtonTip;
|
|
1752
|
+
to?: string | ButtonTo;
|
|
1328
1753
|
type?: 'button' | 'reset' | 'submit';
|
|
1329
1754
|
variant?: 'NORMAL' | 'TEXT';
|
|
1330
1755
|
}
|
|
1331
1756
|
export interface ButtonGroupProps {
|
|
1332
1757
|
alignment?: 'center' | 'flex-start' | 'flex-end';
|
|
1333
|
-
containerHeight?:
|
|
1758
|
+
containerHeight?: string | number;
|
|
1334
1759
|
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
1335
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';
|
|
1336
1761
|
placement?: 'horizontallyLeft' | 'horizontallyCenter' | 'horizontallyRight' | 'horizontallySpaceBetween' | 'verticallyTop' | 'verticallyCenter' | 'verticallyBottom' | 'verticallySpaceBetween';
|
|
@@ -1342,10 +1767,10 @@ export interface CalendarProps {
|
|
|
1342
1767
|
maxDate?: string;
|
|
1343
1768
|
minDate?: string;
|
|
1344
1769
|
shouldShowFooter?: boolean;
|
|
1345
|
-
shouldShowHeader?:
|
|
1770
|
+
shouldShowHeader?: boolean | ShouldShowHeader;
|
|
1346
1771
|
shouldShowWeekDayInitials?: boolean;
|
|
1347
1772
|
testId?: string;
|
|
1348
|
-
value?:
|
|
1773
|
+
value?: string | string[];
|
|
1349
1774
|
}
|
|
1350
1775
|
export interface CardProps {
|
|
1351
1776
|
actions?: CardAction[];
|
|
@@ -1358,7 +1783,7 @@ export interface CardProps {
|
|
|
1358
1783
|
showDelete?: boolean;
|
|
1359
1784
|
showEdit?: boolean;
|
|
1360
1785
|
title?: string;
|
|
1361
|
-
to?:
|
|
1786
|
+
to?: string | CardTo;
|
|
1362
1787
|
value?: unknown;
|
|
1363
1788
|
}
|
|
1364
1789
|
export interface CardGroupProps {
|
|
@@ -1427,8 +1852,8 @@ export interface ChipProps {
|
|
|
1427
1852
|
'aria-describedby'?: string;
|
|
1428
1853
|
'aria-label'?: string;
|
|
1429
1854
|
'aria-labelledby'?: string;
|
|
1430
|
-
avatar?:
|
|
1431
|
-
icon?:
|
|
1855
|
+
avatar?: string | ChipAvatar;
|
|
1856
|
+
icon?: string | ChipIcon;
|
|
1432
1857
|
isActive?: boolean;
|
|
1433
1858
|
isDisabled?: boolean;
|
|
1434
1859
|
isDismissible?: boolean;
|
|
@@ -1437,7 +1862,7 @@ export interface ChipProps {
|
|
|
1437
1862
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
1438
1863
|
text?: string;
|
|
1439
1864
|
tip?: ChipTip;
|
|
1440
|
-
to?:
|
|
1865
|
+
to?: string | ChipTo;
|
|
1441
1866
|
}
|
|
1442
1867
|
export interface ChipGroupProps {
|
|
1443
1868
|
batchSize?: number;
|
|
@@ -1488,7 +1913,7 @@ export interface CountDownProps {
|
|
|
1488
1913
|
}
|
|
1489
1914
|
export interface CountryProps {
|
|
1490
1915
|
countryCode: string;
|
|
1491
|
-
icon?:
|
|
1916
|
+
icon?: string | CountryIcon;
|
|
1492
1917
|
onlyFlag?: boolean;
|
|
1493
1918
|
shouldShowFlag?: boolean;
|
|
1494
1919
|
shouldShowTipOnOverflow?: boolean;
|
|
@@ -1507,7 +1932,7 @@ export interface CurrencyProps {
|
|
|
1507
1932
|
currencyType?: string;
|
|
1508
1933
|
currencyTypeDefaultValue?: string;
|
|
1509
1934
|
decimalPlaces?: number;
|
|
1510
|
-
defaultValue?:
|
|
1935
|
+
defaultValue?: string | number;
|
|
1511
1936
|
isDisabled?: boolean;
|
|
1512
1937
|
isIntegerOnly?: boolean;
|
|
1513
1938
|
isReadOnly?: boolean;
|
|
@@ -1527,7 +1952,7 @@ export interface CurrencyProps {
|
|
|
1527
1952
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1528
1953
|
step?: number;
|
|
1529
1954
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1530
|
-
value?:
|
|
1955
|
+
value?: string | number;
|
|
1531
1956
|
}
|
|
1532
1957
|
export interface DateProps {
|
|
1533
1958
|
name?: string;
|
|
@@ -1611,14 +2036,14 @@ export interface DateRangeProps {
|
|
|
1611
2036
|
export interface DaySelectorProps {
|
|
1612
2037
|
name?: string;
|
|
1613
2038
|
checks?: DaySelectorCheck[];
|
|
1614
|
-
defaultValue?:
|
|
2039
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1615
2040
|
isMulti?: boolean;
|
|
1616
2041
|
isReadOnly?: boolean;
|
|
1617
2042
|
isRequired?: boolean;
|
|
1618
2043
|
label?: string;
|
|
1619
2044
|
renderProps?: RenderProp;
|
|
1620
2045
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
1621
|
-
value?:
|
|
2046
|
+
value?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1622
2047
|
}
|
|
1623
2048
|
export interface DistributionBarProps {
|
|
1624
2049
|
segments: Segment[];
|
|
@@ -1646,14 +2071,14 @@ export interface DrawerProps {
|
|
|
1646
2071
|
caption?: string;
|
|
1647
2072
|
isCompact?: boolean;
|
|
1648
2073
|
isVisible?: boolean;
|
|
1649
|
-
maxWidth?:
|
|
2074
|
+
maxWidth?: string | number;
|
|
1650
2075
|
shouldAttachToRoot?: boolean;
|
|
1651
2076
|
shouldCloseOnBackdropClick?: boolean;
|
|
1652
2077
|
shouldCloseOnEscape?: boolean;
|
|
1653
2078
|
shouldNotAnimate?: boolean;
|
|
1654
2079
|
theme?: 'BACKGROUND_V2_GRAY' | 'GRAY' | 'NO_PADDING';
|
|
1655
2080
|
title?: string;
|
|
1656
|
-
width?:
|
|
2081
|
+
width?: string | number;
|
|
1657
2082
|
}
|
|
1658
2083
|
export interface DropdownProps {
|
|
1659
2084
|
defaultValue?: string;
|
|
@@ -1733,7 +2158,7 @@ export interface ExpansionPanelGroupProps {
|
|
|
1733
2158
|
isSingleOpen?: boolean;
|
|
1734
2159
|
}
|
|
1735
2160
|
export interface FieldProps {
|
|
1736
|
-
helperMessage?:
|
|
2161
|
+
helperMessage?: string | HelperMessage;
|
|
1737
2162
|
isHiddenInput?: boolean;
|
|
1738
2163
|
isInline?: boolean;
|
|
1739
2164
|
isReadOnly?: boolean;
|
|
@@ -1786,11 +2211,11 @@ export interface FloatingButtonProps {
|
|
|
1786
2211
|
'aria-controls'?: string;
|
|
1787
2212
|
'aria-describedby'?: string;
|
|
1788
2213
|
'aria-expanded'?: boolean;
|
|
1789
|
-
'aria-haspopup'?:
|
|
2214
|
+
'aria-haspopup'?: boolean | string;
|
|
1790
2215
|
'aria-label'?: string;
|
|
1791
2216
|
'aria-labelledby'?: string;
|
|
1792
|
-
'aria-pressed'?:
|
|
1793
|
-
icon:
|
|
2217
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
2218
|
+
icon: string | FloatingButtonIcon;
|
|
1794
2219
|
id?: string;
|
|
1795
2220
|
inverseDisabledColors?: boolean;
|
|
1796
2221
|
isDisabled?: boolean;
|
|
@@ -1799,8 +2224,8 @@ export interface FloatingButtonProps {
|
|
|
1799
2224
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
1800
2225
|
tabIndex?: number;
|
|
1801
2226
|
testId?: string;
|
|
1802
|
-
tip?:
|
|
1803
|
-
to?:
|
|
2227
|
+
tip?: string | FloatingButtonTip;
|
|
2228
|
+
to?: string | FloatingButtonTo;
|
|
1804
2229
|
type?: 'button' | 'submit' | 'reset';
|
|
1805
2230
|
}
|
|
1806
2231
|
export interface FormProps {
|
|
@@ -1826,7 +2251,7 @@ export interface FormProps {
|
|
|
1826
2251
|
title?: string;
|
|
1827
2252
|
validationErrors?: FormValidationError;
|
|
1828
2253
|
values?: FormValue;
|
|
1829
|
-
width?:
|
|
2254
|
+
width?: number | string;
|
|
1830
2255
|
}
|
|
1831
2256
|
export interface FormCheckboxProps {
|
|
1832
2257
|
name: string;
|
|
@@ -1927,7 +2352,7 @@ export interface FormDateRangeProps {
|
|
|
1927
2352
|
}
|
|
1928
2353
|
export interface FormDaySelectorProps {
|
|
1929
2354
|
name: string;
|
|
1930
|
-
defaultValue?:
|
|
2355
|
+
defaultValue?: 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'[];
|
|
1931
2356
|
isDisabled?: boolean;
|
|
1932
2357
|
isMulti?: boolean;
|
|
1933
2358
|
isReadOnly?: boolean;
|
|
@@ -2023,14 +2448,14 @@ export interface FormInputGroupProps {
|
|
|
2023
2448
|
isReadOnly?: boolean;
|
|
2024
2449
|
isRequired?: boolean;
|
|
2025
2450
|
label?: string;
|
|
2026
|
-
prefix?:
|
|
2451
|
+
prefix?: FormInputGroupPrefix | FormInputGroupPrefix[];
|
|
2027
2452
|
prefixMaxWidthPercent?: number;
|
|
2028
|
-
prefixMinWidth?:
|
|
2453
|
+
prefixMinWidth?: number | string;
|
|
2029
2454
|
shouldHideAddons?: boolean;
|
|
2030
2455
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2031
|
-
suffix?:
|
|
2456
|
+
suffix?: FormInputGroupSuffix | FormInputGroupSuffix[];
|
|
2032
2457
|
suffixMaxWidthPercent?: number;
|
|
2033
|
-
suffixMinWidth?:
|
|
2458
|
+
suffixMinWidth?: number | string;
|
|
2034
2459
|
tip?: string;
|
|
2035
2460
|
validationErrors?: FormInputGroupValidationError;
|
|
2036
2461
|
validations?: string;
|
|
@@ -2050,7 +2475,7 @@ export interface FormMaskerProps {
|
|
|
2050
2475
|
isRequired?: boolean;
|
|
2051
2476
|
isSensitive?: boolean;
|
|
2052
2477
|
label?: string;
|
|
2053
|
-
mask:
|
|
2478
|
+
mask: string | string[];
|
|
2054
2479
|
maxLength?: number;
|
|
2055
2480
|
maxWidth?: string;
|
|
2056
2481
|
minLength?: number;
|
|
@@ -2067,7 +2492,7 @@ export interface FormMaskerProps {
|
|
|
2067
2492
|
export interface FormNumberProps {
|
|
2068
2493
|
name: string;
|
|
2069
2494
|
decimalPlaces?: number;
|
|
2070
|
-
defaultValue?:
|
|
2495
|
+
defaultValue?: string | number;
|
|
2071
2496
|
isDisabled?: boolean;
|
|
2072
2497
|
isIntegerOnly?: boolean;
|
|
2073
2498
|
isReadOnly?: boolean;
|
|
@@ -2084,7 +2509,7 @@ export interface FormNumberProps {
|
|
|
2084
2509
|
tip?: string;
|
|
2085
2510
|
validationErrors?: FormNumberValidationError;
|
|
2086
2511
|
validations?: string;
|
|
2087
|
-
value?:
|
|
2512
|
+
value?: string | number;
|
|
2088
2513
|
}
|
|
2089
2514
|
export interface FormPasswordProps {
|
|
2090
2515
|
name: string;
|
|
@@ -2117,7 +2542,7 @@ export interface FormPercentageProps {
|
|
|
2117
2542
|
upperLimit?: number;
|
|
2118
2543
|
validationErrors?: FormPercentageValidationError;
|
|
2119
2544
|
validations?: string;
|
|
2120
|
-
value?:
|
|
2545
|
+
value?: string | number;
|
|
2121
2546
|
}
|
|
2122
2547
|
export interface FormPhoneProps {
|
|
2123
2548
|
name: string;
|
|
@@ -2155,7 +2580,7 @@ export interface FormRadioProps {
|
|
|
2155
2580
|
export interface FormSegmentedControlProps {
|
|
2156
2581
|
name: string;
|
|
2157
2582
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
2158
|
-
defaultValue?:
|
|
2583
|
+
defaultValue?: string | string[];
|
|
2159
2584
|
isDisabled?: boolean;
|
|
2160
2585
|
isFluid?: boolean;
|
|
2161
2586
|
isMulti?: boolean;
|
|
@@ -2179,7 +2604,7 @@ export interface FormSelectProps {
|
|
|
2179
2604
|
isRequired?: boolean;
|
|
2180
2605
|
isSearchable?: boolean;
|
|
2181
2606
|
label?: string;
|
|
2182
|
-
options?:
|
|
2607
|
+
options?: FormSelectOption[] | FormSelectOption[];
|
|
2183
2608
|
placeholder?: string;
|
|
2184
2609
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2185
2610
|
tip?: string;
|
|
@@ -2192,7 +2617,7 @@ export interface FormSelectableGroupProps {
|
|
|
2192
2617
|
'aria-describedby'?: string;
|
|
2193
2618
|
'aria-label'?: string;
|
|
2194
2619
|
'aria-labelledby'?: string;
|
|
2195
|
-
defaultValue?:
|
|
2620
|
+
defaultValue?: string | number | string | number[];
|
|
2196
2621
|
id?: string;
|
|
2197
2622
|
isDisabled?: boolean;
|
|
2198
2623
|
isMulti?: boolean;
|
|
@@ -2205,7 +2630,7 @@ export interface FormSelectableGroupProps {
|
|
|
2205
2630
|
tip?: string;
|
|
2206
2631
|
validationErrors?: FormSelectableGroupValidationError;
|
|
2207
2632
|
validations?: string;
|
|
2208
|
-
value?:
|
|
2633
|
+
value?: string | number | string | number[];
|
|
2209
2634
|
valueIdentifier?: string;
|
|
2210
2635
|
}
|
|
2211
2636
|
export interface FormSignatureProps {
|
|
@@ -2282,7 +2707,7 @@ export interface FormSsnProps {
|
|
|
2282
2707
|
export interface FormSurveyProps {
|
|
2283
2708
|
name: string;
|
|
2284
2709
|
caption?: string;
|
|
2285
|
-
defaultValue?:
|
|
2710
|
+
defaultValue?: string | number | string | number[];
|
|
2286
2711
|
isDisabled?: boolean;
|
|
2287
2712
|
isMulti?: boolean;
|
|
2288
2713
|
isReadOnly?: boolean;
|
|
@@ -2295,7 +2720,7 @@ export interface FormSurveyProps {
|
|
|
2295
2720
|
tip?: string;
|
|
2296
2721
|
validationErrors?: FormSurveyValidationError;
|
|
2297
2722
|
validations?: string;
|
|
2298
|
-
value?:
|
|
2723
|
+
value?: string | number | string | number[];
|
|
2299
2724
|
}
|
|
2300
2725
|
export interface FormSwitchProps {
|
|
2301
2726
|
name: string;
|
|
@@ -2458,7 +2883,7 @@ export interface FormTreeSelectProps {
|
|
|
2458
2883
|
isRequired?: boolean;
|
|
2459
2884
|
label?: string;
|
|
2460
2885
|
list: FormTreeSelectList[];
|
|
2461
|
-
maxHeight?:
|
|
2886
|
+
maxHeight?: string | number;
|
|
2462
2887
|
placeholder?: string;
|
|
2463
2888
|
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
2464
2889
|
shouldExpandNodeOnSelection?: boolean;
|
|
@@ -2488,7 +2913,7 @@ export interface FormWorkEmailProps {
|
|
|
2488
2913
|
export interface GridProps {
|
|
2489
2914
|
actionClickedId?: string;
|
|
2490
2915
|
actions?: GridAction[];
|
|
2491
|
-
list:
|
|
2916
|
+
list: GridList | GridList[];
|
|
2492
2917
|
theme?: 'NO_CARD' | 'TRANSPARENT' | 'NO_PADDING';
|
|
2493
2918
|
}
|
|
2494
2919
|
export interface HeadingProps {
|
|
@@ -2496,7 +2921,7 @@ export interface HeadingProps {
|
|
|
2496
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';
|
|
2497
2922
|
decoration?: string;
|
|
2498
2923
|
inline?: boolean;
|
|
2499
|
-
level?:
|
|
2924
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2500
2925
|
lineClamp?: number;
|
|
2501
2926
|
maxWidth?: string;
|
|
2502
2927
|
mono?: boolean;
|
|
@@ -2512,23 +2937,23 @@ export interface HStackProps {
|
|
|
2512
2937
|
align?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
2513
2938
|
alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
2514
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';
|
|
2515
|
-
basis?:
|
|
2940
|
+
basis?: number | string;
|
|
2516
2941
|
boxSizing?: 'content-box' | 'border-box';
|
|
2517
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';
|
|
2518
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';
|
|
2519
2944
|
grow?: number;
|
|
2520
|
-
height?:
|
|
2945
|
+
height?: number | string;
|
|
2521
2946
|
justify?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2522
|
-
margin?:
|
|
2523
|
-
maxHeight?:
|
|
2524
|
-
maxWidth?:
|
|
2525
|
-
minHeight?:
|
|
2526
|
-
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;
|
|
2527
2952
|
overflow?: 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
2528
|
-
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;
|
|
2529
2954
|
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
2530
2955
|
shrink?: number;
|
|
2531
|
-
width?:
|
|
2956
|
+
width?: number | string;
|
|
2532
2957
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
2533
2958
|
}
|
|
2534
2959
|
export interface IconProps {
|
|
@@ -2543,7 +2968,7 @@ export interface IconProps {
|
|
|
2543
2968
|
isFocused?: boolean;
|
|
2544
2969
|
showCursor?: boolean;
|
|
2545
2970
|
size?: 'sizeIcon2xl' | 'sizeIcon2xs' | 'sizeIcon3xl' | 'sizeIcon3xs' | 'sizeIcon4xl' | 'sizeIconLg' | 'sizeIconMd' | 'sizeIconSm' | 'sizeIconXl' | 'sizeIconXs';
|
|
2546
|
-
tip?:
|
|
2971
|
+
tip?: string | IconTip;
|
|
2547
2972
|
type: string;
|
|
2548
2973
|
}
|
|
2549
2974
|
export interface IconButtonProps {
|
|
@@ -2551,11 +2976,11 @@ export interface IconButtonProps {
|
|
|
2551
2976
|
'aria-controls'?: string;
|
|
2552
2977
|
'aria-describedby'?: string;
|
|
2553
2978
|
'aria-expanded'?: boolean;
|
|
2554
|
-
'aria-haspopup'?:
|
|
2979
|
+
'aria-haspopup'?: boolean | string;
|
|
2555
2980
|
'aria-label'?: string;
|
|
2556
2981
|
'aria-labelledby'?: string;
|
|
2557
|
-
'aria-pressed'?:
|
|
2558
|
-
icon:
|
|
2982
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
2983
|
+
icon: string | IconButtonIcon;
|
|
2559
2984
|
id?: string;
|
|
2560
2985
|
isDisabled?: boolean;
|
|
2561
2986
|
shouldPreventFocus?: boolean;
|
|
@@ -2563,19 +2988,19 @@ export interface IconButtonProps {
|
|
|
2563
2988
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2564
2989
|
tabIndex?: number;
|
|
2565
2990
|
testId?: string;
|
|
2566
|
-
tip?:
|
|
2567
|
-
to?:
|
|
2991
|
+
tip?: string | IconButtonTip;
|
|
2992
|
+
to?: string | IconButtonTo;
|
|
2568
2993
|
type?: 'button' | 'submit' | 'reset';
|
|
2569
2994
|
}
|
|
2570
2995
|
export interface ImageProps {
|
|
2571
2996
|
alt: string;
|
|
2572
2997
|
assetFilter?: boolean;
|
|
2573
2998
|
borderRadius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
2574
|
-
height?:
|
|
2999
|
+
height?: number | string;
|
|
2575
3000
|
loading?: 'eager' | 'lazy';
|
|
2576
|
-
src:
|
|
3001
|
+
src: string | Src;
|
|
2577
3002
|
theme?: 'COVER';
|
|
2578
|
-
width?:
|
|
3003
|
+
width?: number | string;
|
|
2579
3004
|
}
|
|
2580
3005
|
export interface ImageViewerProps {
|
|
2581
3006
|
alt?: string;
|
|
@@ -2587,14 +3012,14 @@ export interface InputGroupProps {
|
|
|
2587
3012
|
isDisabled?: boolean;
|
|
2588
3013
|
isInvalid?: boolean;
|
|
2589
3014
|
isReadOnly?: boolean;
|
|
2590
|
-
prefix?:
|
|
3015
|
+
prefix?: InputGroupPrefix | InputGroupPrefix[];
|
|
2591
3016
|
prefixMaxWidthPercent?: number;
|
|
2592
|
-
prefixMinWidth?:
|
|
3017
|
+
prefixMinWidth?: number | string;
|
|
2593
3018
|
shouldHideAddons?: boolean;
|
|
2594
3019
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
2595
|
-
suffix?:
|
|
3020
|
+
suffix?: InputGroupSuffix | InputGroupSuffix[];
|
|
2596
3021
|
suffixMaxWidthPercent?: number;
|
|
2597
|
-
suffixMinWidth?:
|
|
3022
|
+
suffixMinWidth?: number | string;
|
|
2598
3023
|
}
|
|
2599
3024
|
export interface ItemNavigatorProps {
|
|
2600
3025
|
currentItemIndex: number;
|
|
@@ -2609,12 +3034,12 @@ export interface ItemNavigatorProps {
|
|
|
2609
3034
|
}
|
|
2610
3035
|
export interface LabelProps {
|
|
2611
3036
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
2612
|
-
leftIcon?:
|
|
3037
|
+
leftIcon?: string | LabelLeftIcon;
|
|
2613
3038
|
maxWidth?: string;
|
|
2614
|
-
rightIcon?:
|
|
3039
|
+
rightIcon?: string | LabelRightIcon;
|
|
2615
3040
|
size?: 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2616
3041
|
text: string;
|
|
2617
|
-
tip?:
|
|
3042
|
+
tip?: string | LabelTip;
|
|
2618
3043
|
}
|
|
2619
3044
|
export interface LabelGroupProps {
|
|
2620
3045
|
maxLinesToWrap?: number;
|
|
@@ -2624,31 +3049,31 @@ export interface LayoutProps {
|
|
|
2624
3049
|
align?: string;
|
|
2625
3050
|
alignSelf?: string;
|
|
2626
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';
|
|
2627
|
-
basis?:
|
|
2628
|
-
border?:
|
|
3052
|
+
basis?: number | string;
|
|
3053
|
+
border?: string | LayoutBorder | LayoutBorder;
|
|
2629
3054
|
boxSizing?: 'content-box' | 'border-box';
|
|
2630
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';
|
|
2631
3056
|
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
2632
|
-
flex?:
|
|
2633
|
-
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;
|
|
2634
3059
|
grow?: number;
|
|
2635
|
-
height?:
|
|
3060
|
+
height?: number | string;
|
|
2636
3061
|
id?: string;
|
|
2637
3062
|
isInline?: boolean;
|
|
2638
3063
|
justify?: string;
|
|
2639
|
-
margin?:
|
|
2640
|
-
maxHeight?:
|
|
2641
|
-
maxWidth?:
|
|
2642
|
-
minHeight?:
|
|
2643
|
-
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;
|
|
2644
3069
|
overflow?: string;
|
|
2645
|
-
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;
|
|
2646
3071
|
position?: string;
|
|
2647
|
-
radius?:
|
|
3072
|
+
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull' | LayoutRadiu;
|
|
2648
3073
|
reverse?: boolean;
|
|
2649
3074
|
role?: string;
|
|
2650
3075
|
shrink?: number;
|
|
2651
|
-
width?:
|
|
3076
|
+
width?: number | string;
|
|
2652
3077
|
wrap?: string;
|
|
2653
3078
|
zIndex?: number;
|
|
2654
3079
|
}
|
|
@@ -2658,13 +3083,13 @@ export interface LayoutCardProps {
|
|
|
2658
3083
|
}
|
|
2659
3084
|
export interface LinkProps {
|
|
2660
3085
|
'aria-controls'?: string;
|
|
2661
|
-
'aria-current'?:
|
|
2662
|
-
'aria-haspopup'?:
|
|
3086
|
+
'aria-current'?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
3087
|
+
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
2663
3088
|
'aria-hidden'?: boolean;
|
|
2664
3089
|
'aria-label'?: string;
|
|
2665
3090
|
'aria-labelledby'?: string;
|
|
2666
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';
|
|
2667
|
-
download?:
|
|
3092
|
+
download?: string | boolean;
|
|
2668
3093
|
href: string;
|
|
2669
3094
|
rel?: string;
|
|
2670
3095
|
target?: '_blank' | '_self';
|
|
@@ -2686,13 +3111,13 @@ export interface LocationCardProps {
|
|
|
2686
3111
|
selectedActionId?: string;
|
|
2687
3112
|
showDelete?: boolean;
|
|
2688
3113
|
showEdit?: boolean;
|
|
2689
|
-
to?:
|
|
3114
|
+
to?: string | LocationCardTo;
|
|
2690
3115
|
}
|
|
2691
3116
|
export interface LottiePlayerProps {
|
|
2692
3117
|
animationData?: AnimationData;
|
|
2693
3118
|
autoplay?: boolean;
|
|
2694
3119
|
height?: string;
|
|
2695
|
-
loop?:
|
|
3120
|
+
loop?: boolean | number;
|
|
2696
3121
|
path?: string;
|
|
2697
3122
|
renderer?: 'svg' | 'canvas' | 'html';
|
|
2698
3123
|
testId?: string;
|
|
@@ -2712,7 +3137,7 @@ export interface MaskerProps {
|
|
|
2712
3137
|
isRequired?: boolean;
|
|
2713
3138
|
isSensitive?: boolean;
|
|
2714
3139
|
label?: string;
|
|
2715
|
-
mask:
|
|
3140
|
+
mask: string | string[];
|
|
2716
3141
|
maxLength?: number;
|
|
2717
3142
|
maxWidth?: string;
|
|
2718
3143
|
minLength?: number;
|
|
@@ -2733,7 +3158,7 @@ export interface MenuListProps {
|
|
|
2733
3158
|
minWidth?: number;
|
|
2734
3159
|
searchable?: boolean;
|
|
2735
3160
|
selectedValues?: string[];
|
|
2736
|
-
width?:
|
|
3161
|
+
width?: number | 'auto';
|
|
2737
3162
|
}
|
|
2738
3163
|
export interface ModalProps {
|
|
2739
3164
|
animation?: string;
|
|
@@ -2776,7 +3201,7 @@ export interface NumberProps {
|
|
|
2776
3201
|
autoFocus?: boolean;
|
|
2777
3202
|
checks?: NumberCheck[];
|
|
2778
3203
|
decimalPlaces?: number;
|
|
2779
|
-
defaultValue?:
|
|
3204
|
+
defaultValue?: string | number;
|
|
2780
3205
|
isDisabled?: boolean;
|
|
2781
3206
|
isIntegerOnly?: boolean;
|
|
2782
3207
|
isReadOnly?: boolean;
|
|
@@ -2800,7 +3225,7 @@ export interface NumberProps {
|
|
|
2800
3225
|
suffix?: string;
|
|
2801
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';
|
|
2802
3227
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2803
|
-
value?:
|
|
3228
|
+
value?: string | number;
|
|
2804
3229
|
}
|
|
2805
3230
|
export interface ObjectListViewProps {
|
|
2806
3231
|
defaultListViewId?: string;
|
|
@@ -2822,7 +3247,7 @@ export interface ObjectUIHeaderProps {
|
|
|
2822
3247
|
export interface ObjectUIStatsProps {
|
|
2823
3248
|
actionClickedId?: string;
|
|
2824
3249
|
actions?: ObjectUIStatsAction[];
|
|
2825
|
-
list:
|
|
3250
|
+
list: ObjectUIStatsList | ObjectUIStatsList[];
|
|
2826
3251
|
}
|
|
2827
3252
|
export interface ObjectUITemplateProps {
|
|
2828
3253
|
}
|
|
@@ -2946,7 +3371,7 @@ export interface PercentageProps {
|
|
|
2946
3371
|
step?: number;
|
|
2947
3372
|
upperLimit?: number;
|
|
2948
3373
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
2949
|
-
value?:
|
|
3374
|
+
value?: string | number;
|
|
2950
3375
|
}
|
|
2951
3376
|
export interface PhoneProps {
|
|
2952
3377
|
name?: string;
|
|
@@ -3086,7 +3511,7 @@ export interface SegmentedControlProps {
|
|
|
3086
3511
|
name?: string;
|
|
3087
3512
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
3088
3513
|
checks?: SegmentedControlCheck[];
|
|
3089
|
-
defaultValue?:
|
|
3514
|
+
defaultValue?: string | string[];
|
|
3090
3515
|
isDisabled?: boolean;
|
|
3091
3516
|
isFluid?: boolean;
|
|
3092
3517
|
isMulti?: boolean;
|
|
@@ -3098,7 +3523,7 @@ export interface SegmentedControlProps {
|
|
|
3098
3523
|
rangeLabels?: SegmentedControlRangeLabel;
|
|
3099
3524
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3100
3525
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3101
|
-
value?:
|
|
3526
|
+
value?: string | string[];
|
|
3102
3527
|
}
|
|
3103
3528
|
export interface SelectProps {
|
|
3104
3529
|
name?: string;
|
|
@@ -3111,7 +3536,7 @@ export interface SelectProps {
|
|
|
3111
3536
|
creatable?: boolean;
|
|
3112
3537
|
defaultSearchQuery?: string;
|
|
3113
3538
|
dropdownHeight?: number;
|
|
3114
|
-
emptyListPlaceholder?:
|
|
3539
|
+
emptyListPlaceholder?: string | SelectEmptyListPlaceholder;
|
|
3115
3540
|
footer?: SelectFooter;
|
|
3116
3541
|
fuseOptions?: SelectFuseOption;
|
|
3117
3542
|
id?: string;
|
|
@@ -3123,7 +3548,7 @@ export interface SelectProps {
|
|
|
3123
3548
|
isRequired?: boolean;
|
|
3124
3549
|
isSearchable?: boolean;
|
|
3125
3550
|
label?: string;
|
|
3126
|
-
maxHeight?:
|
|
3551
|
+
maxHeight?: string | number;
|
|
3127
3552
|
maxTruncationLines?: number;
|
|
3128
3553
|
options?: SelectOption[];
|
|
3129
3554
|
placeholder?: string;
|
|
@@ -3145,7 +3570,7 @@ export interface SelectableGroupProps {
|
|
|
3145
3570
|
'aria-label'?: string;
|
|
3146
3571
|
'aria-labelledby'?: string;
|
|
3147
3572
|
checks?: SelectableGroupCheck[];
|
|
3148
|
-
defaultValue?:
|
|
3573
|
+
defaultValue?: string | number | string | number[];
|
|
3149
3574
|
id?: string;
|
|
3150
3575
|
isDisabled?: boolean;
|
|
3151
3576
|
isMulti?: boolean;
|
|
@@ -3156,7 +3581,7 @@ export interface SelectableGroupProps {
|
|
|
3156
3581
|
renderer: 'BASIC_CARD' | 'LOCATION_CARD';
|
|
3157
3582
|
testId?: string;
|
|
3158
3583
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3159
|
-
value?:
|
|
3584
|
+
value?: string | number | string | number[];
|
|
3160
3585
|
valueIdentifier?: string;
|
|
3161
3586
|
}
|
|
3162
3587
|
export interface SelectableMenuProps {
|
|
@@ -3178,7 +3603,7 @@ export interface SelectableMenuProps {
|
|
|
3178
3603
|
}
|
|
3179
3604
|
export interface SettingsLoaderProps {
|
|
3180
3605
|
isCenter?: boolean;
|
|
3181
|
-
margin?:
|
|
3606
|
+
margin?: string | number;
|
|
3182
3607
|
}
|
|
3183
3608
|
export interface ShowMoreProps {
|
|
3184
3609
|
buttonSize?: 'XS' | 'S' | 'M' | 'L';
|
|
@@ -3234,12 +3659,12 @@ export interface SkeletonProps {
|
|
|
3234
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';
|
|
3235
3660
|
height?: number;
|
|
3236
3661
|
initialTimestamp?: number;
|
|
3237
|
-
lineHeight?:
|
|
3662
|
+
lineHeight?: string | number;
|
|
3238
3663
|
lines?: number;
|
|
3239
3664
|
show?: boolean;
|
|
3240
3665
|
size?: number;
|
|
3241
3666
|
variant?: 'TEXT' | 'CIRCLE' | 'BOX';
|
|
3242
|
-
width?:
|
|
3667
|
+
width?: string | number;
|
|
3243
3668
|
}
|
|
3244
3669
|
export interface SliderProps {
|
|
3245
3670
|
name?: string;
|
|
@@ -3348,7 +3773,7 @@ export interface SupportButtonProps {
|
|
|
3348
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';
|
|
3349
3774
|
testId?: string;
|
|
3350
3775
|
title: string;
|
|
3351
|
-
to?:
|
|
3776
|
+
to?: string | SupportButtonTo;
|
|
3352
3777
|
}
|
|
3353
3778
|
export interface SurveyProps {
|
|
3354
3779
|
name?: string;
|
|
@@ -3364,7 +3789,7 @@ export interface SurveyProps {
|
|
|
3364
3789
|
rangeLabels?: SurveyRangeLabel;
|
|
3365
3790
|
theme?: 'TWO_LINE';
|
|
3366
3791
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3367
|
-
value?:
|
|
3792
|
+
value?: string | number | string | number[];
|
|
3368
3793
|
}
|
|
3369
3794
|
export interface SwitchProps {
|
|
3370
3795
|
name?: string;
|
|
@@ -3486,7 +3911,7 @@ export interface TextAutoSuggestProps {
|
|
|
3486
3911
|
testId?: string;
|
|
3487
3912
|
theme?: string;
|
|
3488
3913
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3489
|
-
value?:
|
|
3914
|
+
value?: string | number;
|
|
3490
3915
|
}
|
|
3491
3916
|
export interface TextClipProps {
|
|
3492
3917
|
collapseLabel?: string;
|
|
@@ -3636,8 +4061,8 @@ export interface TipProps {
|
|
|
3636
4061
|
isMobileSupported?: boolean;
|
|
3637
4062
|
isPositionFixed?: boolean;
|
|
3638
4063
|
isVisible?: boolean;
|
|
3639
|
-
maxHeight?:
|
|
3640
|
-
maxWidth?:
|
|
4064
|
+
maxHeight?: number | string;
|
|
4065
|
+
maxWidth?: number | string;
|
|
3641
4066
|
onlyIfChildOverflow?: boolean;
|
|
3642
4067
|
onlyIfOverflow?: boolean;
|
|
3643
4068
|
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
@@ -3692,7 +4117,7 @@ export interface TreeProps {
|
|
|
3692
4117
|
size?: 'XS' | 'S' | 'M' | 'L';
|
|
3693
4118
|
theme?: 'NO_BORDER' | 'NO_PADDING' | 'REVERSE' | 'NO_BOX';
|
|
3694
4119
|
validateOn?: 'change' | 'blur' | 'submit';
|
|
3695
|
-
value?:
|
|
4120
|
+
value?: string | string[];
|
|
3696
4121
|
}
|
|
3697
4122
|
export interface TreeSelectProps {
|
|
3698
4123
|
name?: string;
|
|
@@ -3718,7 +4143,7 @@ export interface TreeSelectProps {
|
|
|
3718
4143
|
isRequired?: boolean;
|
|
3719
4144
|
label?: string;
|
|
3720
4145
|
list: TreeSelectList[];
|
|
3721
|
-
maxHeight?:
|
|
4146
|
+
maxHeight?: string | number;
|
|
3722
4147
|
placeholder?: string;
|
|
3723
4148
|
placement?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
3724
4149
|
selectedOptionsModalClassName?: string;
|
|
@@ -3741,23 +4166,23 @@ export interface VStackProps {
|
|
|
3741
4166
|
align?: 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
3742
4167
|
alignSelf?: 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
3743
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';
|
|
3744
|
-
basis?:
|
|
4169
|
+
basis?: number | string;
|
|
3745
4170
|
boxSizing?: 'content-box' | 'border-box';
|
|
3746
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';
|
|
3747
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';
|
|
3748
4173
|
grow?: number;
|
|
3749
|
-
height?:
|
|
4174
|
+
height?: number | string;
|
|
3750
4175
|
justify?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
3751
|
-
margin?:
|
|
3752
|
-
maxHeight?:
|
|
3753
|
-
maxWidth?:
|
|
3754
|
-
minHeight?:
|
|
3755
|
-
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;
|
|
3756
4181
|
overflow?: 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
3757
|
-
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;
|
|
3758
4183
|
radius?: 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
3759
4184
|
shrink?: number;
|
|
3760
|
-
width?:
|
|
4185
|
+
width?: number | string;
|
|
3761
4186
|
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
3762
4187
|
}
|
|
3763
4188
|
export interface WorkEmailProps {
|