@metamask-previews/design-system-react 0.6.1-preview.ab80aae → 0.7.0-preview.3dc70e1
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/CHANGELOG.md +8 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.cts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.mts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.cjs +2 -2
- package/dist/components/BadgeStatus/BadgeStatus.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs +8 -8
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +4 -28
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +4 -28
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.mjs.map +1 -1
- package/dist/components/BadgeStatus/index.cjs +3 -3
- package/dist/components/BadgeStatus/index.cjs.map +1 -1
- package/dist/components/BadgeStatus/index.d.cts +1 -1
- package/dist/components/BadgeStatus/index.d.cts.map +1 -1
- package/dist/components/BadgeStatus/index.d.mts +1 -1
- package/dist/components/BadgeStatus/index.d.mts.map +1 -1
- package/dist/components/BadgeStatus/index.mjs +1 -1
- package/dist/components/BadgeStatus/index.mjs.map +1 -1
- package/dist/components/Button/Button.types.cjs.map +1 -1
- package/dist/components/Button/Button.types.d.cts +3 -3
- package/dist/components/Button/Button.types.d.cts.map +1 -1
- package/dist/components/Button/Button.types.d.mts +3 -3
- package/dist/components/Button/Button.types.d.mts.map +1 -1
- package/dist/components/Button/Button.types.mjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts +4 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts +4 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts.map +1 -1
- package/dist/components/Icon/icons/PopUp.cjs +32 -0
- package/dist/components/Icon/icons/PopUp.cjs.map +1 -0
- package/dist/components/Icon/icons/PopUp.d.cts +4 -0
- package/dist/components/Icon/icons/PopUp.d.cts.map +1 -0
- package/dist/components/Icon/icons/PopUp.d.mts +4 -0
- package/dist/components/Icon/icons/PopUp.d.mts.map +1 -0
- package/dist/components/Icon/icons/PopUp.mjs +7 -0
- package/dist/components/Icon/icons/PopUp.mjs.map +1 -0
- package/dist/components/Icon/icons/SidePanel.cjs +32 -0
- package/dist/components/Icon/icons/SidePanel.cjs.map +1 -0
- package/dist/components/Icon/icons/SidePanel.d.cts +4 -0
- package/dist/components/Icon/icons/SidePanel.d.cts.map +1 -0
- package/dist/components/Icon/icons/SidePanel.d.mts +4 -0
- package/dist/components/Icon/icons/SidePanel.d.mts.map +1 -0
- package/dist/components/Icon/icons/SidePanel.mjs +7 -0
- package/dist/components/Icon/icons/SidePanel.mjs.map +1 -0
- package/dist/components/Icon/icons/index.cjs +4 -0
- package/dist/components/Icon/icons/index.cjs.map +1 -1
- package/dist/components/Icon/icons/index.d.cts +2 -0
- package/dist/components/Icon/icons/index.d.cts.map +1 -1
- package/dist/components/Icon/icons/index.d.mts +2 -0
- package/dist/components/Icon/icons/index.d.mts.map +1 -1
- package/dist/components/Icon/icons/index.mjs +4 -0
- package/dist/components/Icon/icons/index.mjs.map +1 -1
- package/dist/types/index.cjs +369 -281
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +252 -303
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +252 -303
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +368 -267
- package/dist/types/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/types/index.d.mts
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AvatarBase - size
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
5
|
-
export declare const AvatarBaseSize: {
|
|
4
|
+
export declare enum AvatarBaseSize {
|
|
6
5
|
/**
|
|
7
6
|
* Represents an extra small avatar size (16px).
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
Xs = "xs",
|
|
10
9
|
/**
|
|
11
10
|
* Represents a small avatar size (24px).
|
|
12
11
|
*/
|
|
13
|
-
|
|
12
|
+
Sm = "sm",
|
|
14
13
|
/**
|
|
15
14
|
* Represents a medium avatar size (32px).
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
Md = "md",
|
|
18
17
|
/**
|
|
19
18
|
* Represents a large avatar size (40px).
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
Lg = "lg",
|
|
22
21
|
/**
|
|
23
22
|
* Represents an extra large avatar size (48px).
|
|
24
23
|
*/
|
|
25
|
-
|
|
26
|
-
}
|
|
24
|
+
Xl = "xl"
|
|
25
|
+
}
|
|
27
26
|
export { AvatarBaseSize as AvatarAccountSize };
|
|
28
27
|
export { AvatarBaseSize as AvatarFaviconSize };
|
|
29
28
|
export { AvatarBaseSize as AvatarGroupSize };
|
|
@@ -34,105 +33,73 @@ export { AvatarBaseSize as AvatarSize };
|
|
|
34
33
|
/**
|
|
35
34
|
* Avatar - shape
|
|
36
35
|
*/
|
|
37
|
-
export
|
|
38
|
-
export declare const AvatarShape: {
|
|
36
|
+
export declare enum AvatarShape {
|
|
39
37
|
/**
|
|
40
38
|
* Represents a circular Avatar.
|
|
41
39
|
*/
|
|
42
|
-
|
|
40
|
+
Circle = "circle",
|
|
43
41
|
/**
|
|
44
42
|
* Represents a squared Avatar
|
|
45
43
|
*/
|
|
46
|
-
|
|
47
|
-
}
|
|
44
|
+
Square = "square"
|
|
45
|
+
}
|
|
48
46
|
export { AvatarShape as AvatarBaseShape };
|
|
49
47
|
/**
|
|
50
48
|
* AvatarAccount - variant
|
|
51
49
|
*/
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
50
|
+
export declare enum AvatarAccountVariant {
|
|
51
|
+
Blockies = "blockies",
|
|
52
|
+
Jazzicon = "jazzicon",
|
|
53
|
+
Maskicon = "maskicon"
|
|
54
|
+
}
|
|
58
55
|
/**
|
|
59
56
|
* AvatarIcon - severity
|
|
60
57
|
*/
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
58
|
+
export declare enum AvatarIconSeverity {
|
|
59
|
+
Neutral = "neutral",
|
|
60
|
+
Info = "info",
|
|
61
|
+
Success = "success",
|
|
62
|
+
Error = "error",
|
|
63
|
+
Warning = "warning"
|
|
64
|
+
}
|
|
69
65
|
/**
|
|
70
66
|
* AvatarGroup - variant
|
|
71
67
|
*/
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
};
|
|
68
|
+
export declare enum AvatarGroupVariant {
|
|
69
|
+
Account = "account",
|
|
70
|
+
Favicon = "favicon",
|
|
71
|
+
Network = "network",
|
|
72
|
+
Token = "token"
|
|
73
|
+
}
|
|
79
74
|
/**
|
|
80
75
|
* BadgeCount - size
|
|
81
76
|
*/
|
|
82
|
-
export
|
|
83
|
-
export declare const BadgeCountSize: {
|
|
77
|
+
export declare enum BadgeCountSize {
|
|
84
78
|
/**
|
|
85
79
|
* Represents a medium badge count (14px height).
|
|
86
80
|
*/
|
|
87
|
-
|
|
81
|
+
Md = "md",
|
|
88
82
|
/**
|
|
89
83
|
* Represents a large badge count (20px height).
|
|
90
84
|
*/
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* BadgeStatus - status
|
|
95
|
-
*/
|
|
96
|
-
export type BadgeStatusStatus = 'active' | 'inactive' | 'disconnected' | 'new' | 'attention';
|
|
97
|
-
export declare const BadgeStatusStatus: {
|
|
98
|
-
readonly Active: "active";
|
|
99
|
-
readonly Inactive: "inactive";
|
|
100
|
-
readonly Disconnected: "disconnected";
|
|
101
|
-
readonly New: "new";
|
|
102
|
-
readonly Attention: "attention";
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* BadgeStatus - size
|
|
106
|
-
*/
|
|
107
|
-
export type BadgeStatusSize = 'md' | 'lg';
|
|
108
|
-
export declare const BadgeStatusSize: {
|
|
109
|
-
/**
|
|
110
|
-
* Represents a medium badge status size (8px).
|
|
111
|
-
*/
|
|
112
|
-
readonly Md: "md";
|
|
113
|
-
/**
|
|
114
|
-
* Represents a large avatar size (10px).
|
|
115
|
-
*/
|
|
116
|
-
readonly Lg: "lg";
|
|
117
|
-
};
|
|
85
|
+
Lg = "lg"
|
|
86
|
+
}
|
|
118
87
|
/**
|
|
119
88
|
* BadgeWrapper - positionAnchorShape
|
|
120
89
|
*/
|
|
121
|
-
export
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
};
|
|
90
|
+
export declare enum BadgeWrapperPositionAnchorShape {
|
|
91
|
+
Rectangular = "rectangular",
|
|
92
|
+
Circular = "circular"
|
|
93
|
+
}
|
|
126
94
|
/**
|
|
127
95
|
* BadgeWrapper - position.
|
|
128
96
|
*/
|
|
129
|
-
export
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
};
|
|
97
|
+
export declare enum BadgeWrapperPosition {
|
|
98
|
+
TopRight = "top-right",
|
|
99
|
+
BottomRight = "bottom-right",
|
|
100
|
+
BottomLeft = "bottom-left",
|
|
101
|
+
TopLeft = "top-left"
|
|
102
|
+
}
|
|
136
103
|
/**
|
|
137
104
|
* BadgeWrapper - customPosition
|
|
138
105
|
*/
|
|
@@ -153,193 +120,186 @@ export type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;
|
|
|
153
120
|
/**
|
|
154
121
|
* Box - flexDirection
|
|
155
122
|
*/
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
};
|
|
123
|
+
export declare enum BoxFlexDirection {
|
|
124
|
+
Row = "flex-row",
|
|
125
|
+
RowReverse = "flex-row-reverse",
|
|
126
|
+
Column = "flex-col",
|
|
127
|
+
ColumnReverse = "flex-col-reverse"
|
|
128
|
+
}
|
|
163
129
|
/**
|
|
164
130
|
* Box - flexWrap
|
|
165
131
|
*/
|
|
166
|
-
export
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
};
|
|
132
|
+
export declare enum BoxFlexWrap {
|
|
133
|
+
NoWrap = "flex-nowrap",
|
|
134
|
+
Wrap = "flex-wrap",
|
|
135
|
+
WrapReverse = "flex-wrap-reverse"
|
|
136
|
+
}
|
|
172
137
|
/**
|
|
173
138
|
* Box - alignItems
|
|
174
139
|
*/
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
};
|
|
140
|
+
export declare enum BoxAlignItems {
|
|
141
|
+
Start = "items-start",
|
|
142
|
+
Center = "items-center",
|
|
143
|
+
End = "items-end",
|
|
144
|
+
Stretch = "items-stretch",
|
|
145
|
+
Baseline = "items-baseline"
|
|
146
|
+
}
|
|
183
147
|
/**
|
|
184
148
|
* Box - justifyContent
|
|
185
149
|
*/
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
};
|
|
150
|
+
export declare enum BoxJustifyContent {
|
|
151
|
+
Start = "justify-start",
|
|
152
|
+
Center = "justify-center",
|
|
153
|
+
End = "justify-end",
|
|
154
|
+
Between = "justify-between",
|
|
155
|
+
Around = "justify-around",
|
|
156
|
+
Evenly = "justify-evenly"
|
|
157
|
+
}
|
|
195
158
|
/**
|
|
196
159
|
* Box - backgroundColor
|
|
197
160
|
*/
|
|
198
|
-
export
|
|
199
|
-
export declare const BoxBackgroundColor: {
|
|
161
|
+
export declare enum BoxBackgroundColor {
|
|
200
162
|
/** Default background color */
|
|
201
|
-
|
|
163
|
+
BackgroundDefault = "bg-default",
|
|
202
164
|
/** Alternative background color */
|
|
203
|
-
|
|
165
|
+
BackgroundAlternative = "bg-alternative",
|
|
204
166
|
/** Section background color */
|
|
205
|
-
|
|
167
|
+
BackgroundSection = "bg-section",
|
|
206
168
|
/** Subsection background color */
|
|
207
|
-
|
|
169
|
+
BackgroundSubsection = "bg-subsection",
|
|
208
170
|
/** Muted background color */
|
|
209
|
-
|
|
171
|
+
BackgroundMuted = "bg-muted",
|
|
210
172
|
/** Primary default background color */
|
|
211
|
-
|
|
173
|
+
PrimaryDefault = "bg-primary-default",
|
|
212
174
|
/** Primary alternative background color */
|
|
213
|
-
|
|
175
|
+
PrimaryAlternative = "bg-primary-alternative",
|
|
214
176
|
/** Primary muted background color */
|
|
215
|
-
|
|
177
|
+
PrimaryMuted = "bg-primary-muted",
|
|
216
178
|
/** Primary inverse background color */
|
|
217
|
-
|
|
179
|
+
PrimaryInverse = "bg-primary-inverse",
|
|
218
180
|
/** Error default background color */
|
|
219
|
-
|
|
181
|
+
ErrorDefault = "bg-error-default",
|
|
220
182
|
/** Error alternative background color */
|
|
221
|
-
|
|
183
|
+
ErrorAlternative = "bg-error-alternative",
|
|
222
184
|
/** Error muted background color */
|
|
223
|
-
|
|
185
|
+
ErrorMuted = "bg-error-muted",
|
|
224
186
|
/** Error inverse background color */
|
|
225
|
-
|
|
187
|
+
ErrorInverse = "bg-error-inverse",
|
|
226
188
|
/** Warning default background color */
|
|
227
|
-
|
|
189
|
+
WarningDefault = "bg-warning-default",
|
|
228
190
|
/** Warning alternative background color */
|
|
229
|
-
|
|
191
|
+
WarningAlternative = "bg-warning-alternative",
|
|
230
192
|
/** Warning muted background color */
|
|
231
|
-
|
|
193
|
+
WarningMuted = "bg-warning-muted",
|
|
232
194
|
/** Warning inverse background color */
|
|
233
|
-
|
|
195
|
+
WarningInverse = "bg-warning-inverse",
|
|
234
196
|
/** Success default background color */
|
|
235
|
-
|
|
197
|
+
SuccessDefault = "bg-success-default",
|
|
236
198
|
/** Success alternative background color */
|
|
237
|
-
|
|
199
|
+
SuccessAlternative = "bg-success-alternative",
|
|
238
200
|
/** Success muted background color */
|
|
239
|
-
|
|
201
|
+
SuccessMuted = "bg-success-muted",
|
|
240
202
|
/** Success inverse background color */
|
|
241
|
-
|
|
203
|
+
SuccessInverse = "bg-success-inverse",
|
|
242
204
|
/** Info default background color */
|
|
243
|
-
|
|
205
|
+
InfoDefault = "bg-info-default",
|
|
244
206
|
/** Info muted background color */
|
|
245
|
-
|
|
207
|
+
InfoMuted = "bg-info-muted",
|
|
246
208
|
/** Info inverse background color */
|
|
247
|
-
|
|
209
|
+
InfoInverse = "bg-info-inverse",
|
|
248
210
|
/** Flask default background color */
|
|
249
|
-
|
|
211
|
+
FlaskDefault = "bg-flask-default",
|
|
250
212
|
/** Flask inverse background color */
|
|
251
|
-
|
|
213
|
+
FlaskInverse = "bg-flask-inverse",
|
|
252
214
|
/** Overlay alternative background color */
|
|
253
|
-
|
|
215
|
+
OverlayAlternative = "bg-overlay-alternative",
|
|
254
216
|
/** Overlay default background color */
|
|
255
|
-
|
|
217
|
+
OverlayDefault = "bg-overlay-default",
|
|
256
218
|
/** Overlay inverse background color */
|
|
257
|
-
|
|
219
|
+
OverlayInverse = "bg-overlay-inverse",
|
|
258
220
|
/** Transparent background color */
|
|
259
|
-
|
|
260
|
-
}
|
|
221
|
+
Transparent = "bg-transparent"
|
|
222
|
+
}
|
|
261
223
|
/**
|
|
262
224
|
* Box - borderColor
|
|
263
225
|
*/
|
|
264
|
-
export
|
|
265
|
-
export declare const BoxBorderColor: {
|
|
226
|
+
export declare enum BoxBorderColor {
|
|
266
227
|
/** Background default for cut out effect */
|
|
267
|
-
|
|
228
|
+
BackgroundDefault = "border-background-default",
|
|
268
229
|
/** Default border color */
|
|
269
|
-
|
|
230
|
+
BorderDefault = "border-default",
|
|
270
231
|
/** Muted border color */
|
|
271
|
-
|
|
232
|
+
BorderMuted = "border-muted",
|
|
272
233
|
/** Primary default border color */
|
|
273
|
-
|
|
234
|
+
PrimaryDefault = "border-primary-default",
|
|
274
235
|
/** Primary alternative border color */
|
|
275
|
-
|
|
236
|
+
PrimaryAlternative = "border-primary-alternative",
|
|
276
237
|
/** Primary muted border color */
|
|
277
|
-
|
|
238
|
+
PrimaryMuted = "border-primary-muted",
|
|
278
239
|
/** Primary inverse border color */
|
|
279
|
-
|
|
240
|
+
PrimaryInverse = "border-primary-inverse",
|
|
280
241
|
/** Error default border color */
|
|
281
|
-
|
|
242
|
+
ErrorDefault = "border-error-default",
|
|
282
243
|
/** Error alternative border color */
|
|
283
|
-
|
|
244
|
+
ErrorAlternative = "border-error-alternative",
|
|
284
245
|
/** Error muted border color */
|
|
285
|
-
|
|
246
|
+
ErrorMuted = "border-error-muted",
|
|
286
247
|
/** Error inverse border color */
|
|
287
|
-
|
|
248
|
+
ErrorInverse = "border-error-inverse",
|
|
288
249
|
/** Warning default border color */
|
|
289
|
-
|
|
250
|
+
WarningDefault = "border-warning-default",
|
|
290
251
|
/** Warning alternative border color */
|
|
291
|
-
|
|
252
|
+
WarningAlternative = "border-warning-alternative",
|
|
292
253
|
/** Warning muted border color */
|
|
293
|
-
|
|
254
|
+
WarningMuted = "border-warning-muted",
|
|
294
255
|
/** Warning inverse border color */
|
|
295
|
-
|
|
256
|
+
WarningInverse = "border-warning-inverse",
|
|
296
257
|
/** Success default border color */
|
|
297
|
-
|
|
258
|
+
SuccessDefault = "border-success-default",
|
|
298
259
|
/** Success alternative border color */
|
|
299
|
-
|
|
260
|
+
SuccessAlternative = "border-success-alternative",
|
|
300
261
|
/** Success muted border color */
|
|
301
|
-
|
|
262
|
+
SuccessMuted = "border-success-muted",
|
|
302
263
|
/** Success inverse border color */
|
|
303
|
-
|
|
264
|
+
SuccessInverse = "border-success-inverse",
|
|
304
265
|
/** Info default border color */
|
|
305
|
-
|
|
266
|
+
InfoDefault = "border-info-default",
|
|
306
267
|
/** Info alternative border color */
|
|
307
|
-
|
|
268
|
+
InfoAlternative = "border-info-alternative",
|
|
308
269
|
/** Info muted border color */
|
|
309
|
-
|
|
270
|
+
InfoMuted = "border-info-muted",
|
|
310
271
|
/** Info inverse border color */
|
|
311
|
-
|
|
272
|
+
InfoInverse = "border-info-inverse",
|
|
312
273
|
/** Flask default border color */
|
|
313
|
-
|
|
274
|
+
FlaskDefault = "border-flask-default",
|
|
314
275
|
/** Flask inverse border color */
|
|
315
|
-
|
|
276
|
+
FlaskInverse = "border-flask-inverse",
|
|
316
277
|
/** Overlay alternative border color */
|
|
317
|
-
|
|
278
|
+
OverlayAlternative = "border-overlay-alternative",
|
|
318
279
|
/** Overlay default border color */
|
|
319
|
-
|
|
280
|
+
OverlayDefault = "border-overlay-default",
|
|
320
281
|
/** Overlay inverse border color */
|
|
321
|
-
|
|
282
|
+
OverlayInverse = "border-overlay-inverse",
|
|
322
283
|
/** Transparent border color */
|
|
323
|
-
|
|
324
|
-
}
|
|
284
|
+
Transparent = "border-transparent"
|
|
285
|
+
}
|
|
325
286
|
/**
|
|
326
287
|
* ButtonBase - size
|
|
327
288
|
*/
|
|
328
|
-
export
|
|
329
|
-
export declare const ButtonBaseSize: {
|
|
289
|
+
export declare enum ButtonBaseSize {
|
|
330
290
|
/**
|
|
331
291
|
* Represents a small button size (32px).
|
|
332
292
|
*/
|
|
333
|
-
|
|
293
|
+
Sm = "sm",
|
|
334
294
|
/**
|
|
335
295
|
* Represents a medium button size (40px).
|
|
336
296
|
*/
|
|
337
|
-
|
|
297
|
+
Md = "md",
|
|
338
298
|
/**
|
|
339
299
|
* Represents a large button size (48px).
|
|
340
300
|
*/
|
|
341
|
-
|
|
342
|
-
}
|
|
301
|
+
Lg = "lg"
|
|
302
|
+
}
|
|
343
303
|
export { ButtonBaseSize as ButtonPrimarySize };
|
|
344
304
|
export { ButtonBaseSize as ButtonSecondarySize };
|
|
345
305
|
export { ButtonBaseSize as ButtonTertiarySize };
|
|
@@ -348,239 +308,226 @@ export { ButtonBaseSize as ButtonSize };
|
|
|
348
308
|
/**
|
|
349
309
|
* Button - variant
|
|
350
310
|
*/
|
|
351
|
-
export
|
|
352
|
-
export declare const ButtonVariant: {
|
|
311
|
+
export declare enum ButtonVariant {
|
|
353
312
|
/**
|
|
354
313
|
* Primary button variant - used for primary actions
|
|
355
314
|
*/
|
|
356
|
-
|
|
315
|
+
Primary = "primary",
|
|
357
316
|
/**
|
|
358
317
|
* Secondary button variant - used for secondary actions
|
|
359
318
|
*/
|
|
360
|
-
|
|
319
|
+
Secondary = "secondary",
|
|
361
320
|
/**
|
|
362
321
|
* Tertiary button variant - used for tertiary-like actions
|
|
363
322
|
*/
|
|
364
|
-
|
|
365
|
-
}
|
|
323
|
+
Tertiary = "tertiary"
|
|
324
|
+
}
|
|
366
325
|
/**
|
|
367
326
|
* ButtonIcon - size
|
|
368
327
|
*/
|
|
369
|
-
export
|
|
370
|
-
export declare const ButtonIconSize: {
|
|
328
|
+
export declare enum ButtonIconSize {
|
|
371
329
|
/**
|
|
372
330
|
* Represents a small button size (24px).
|
|
373
331
|
*/
|
|
374
|
-
|
|
332
|
+
Sm = "sm",
|
|
375
333
|
/**
|
|
376
334
|
* Represents a medium button size (32px).
|
|
377
335
|
*/
|
|
378
|
-
|
|
336
|
+
Md = "md",
|
|
379
337
|
/**
|
|
380
338
|
* Represents a large button size (40px).
|
|
381
339
|
*/
|
|
382
|
-
|
|
383
|
-
}
|
|
340
|
+
Lg = "lg"
|
|
341
|
+
}
|
|
384
342
|
/**
|
|
385
343
|
* Text - variant
|
|
386
344
|
*/
|
|
387
|
-
export
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
};
|
|
345
|
+
export declare enum TextVariant {
|
|
346
|
+
DisplayLg = "display-lg",
|
|
347
|
+
DisplayMd = "display-md",
|
|
348
|
+
HeadingLg = "heading-lg",
|
|
349
|
+
HeadingMd = "heading-md",
|
|
350
|
+
HeadingSm = "heading-sm",
|
|
351
|
+
BodyLg = "body-lg",
|
|
352
|
+
BodyMd = "body-md",
|
|
353
|
+
BodySm = "body-sm",
|
|
354
|
+
BodyXs = "body-xs",
|
|
355
|
+
PageHeading = "page-heading",
|
|
356
|
+
SectionHeading = "section-heading",
|
|
357
|
+
ButtonLabelMd = "button-label-md",
|
|
358
|
+
ButtonLabelLg = "button-label-lg",
|
|
359
|
+
AmountDisplayLg = "amount-display-lg"
|
|
360
|
+
}
|
|
404
361
|
/**
|
|
405
362
|
* Text - color
|
|
406
363
|
*/
|
|
407
|
-
export
|
|
408
|
-
export declare const TextColor: {
|
|
364
|
+
export declare enum TextColor {
|
|
409
365
|
/** For default neutral text. */
|
|
410
|
-
|
|
366
|
+
TextDefault = "text-default",
|
|
411
367
|
/** For softer contrast neutral text */
|
|
412
|
-
|
|
368
|
+
TextAlternative = "text-alternative",
|
|
413
369
|
/** For the softest contrast neutral text (not accessible) */
|
|
414
|
-
|
|
370
|
+
TextMuted = "text-muted",
|
|
415
371
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
416
|
-
|
|
372
|
+
OverlayInverse = "text-overlay-inverse",
|
|
417
373
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
418
|
-
|
|
374
|
+
PrimaryDefault = "text-primary-default",
|
|
419
375
|
/** For primary text in a hover state. */
|
|
420
|
-
|
|
376
|
+
PrimaryDefaultHover = "text-primary-default-hover",
|
|
421
377
|
/** For primary text in a pressed state. */
|
|
422
|
-
|
|
378
|
+
PrimaryDefaultPressed = "text-primary-default-pressed",
|
|
423
379
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
424
|
-
|
|
380
|
+
PrimaryInverse = "text-primary-inverse",
|
|
425
381
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
426
|
-
|
|
382
|
+
ErrorDefault = "text-error-default",
|
|
427
383
|
/** For critical alert text in a hover state. */
|
|
428
|
-
|
|
384
|
+
ErrorDefaultHover = "text-error-default-hover",
|
|
429
385
|
/** For critical alert text in a pressed state. */
|
|
430
|
-
|
|
386
|
+
ErrorDefaultPressed = "text-error-default-pressed",
|
|
431
387
|
/** For the stronger contrast error semantic elements. */
|
|
432
|
-
|
|
388
|
+
ErrorAlternative = "text-error-alternative",
|
|
433
389
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
434
|
-
|
|
390
|
+
ErrorInverse = "text-error-inverse",
|
|
435
391
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
436
|
-
|
|
392
|
+
SuccessDefault = "text-success-default",
|
|
437
393
|
/** For positive text in a hover state. */
|
|
438
|
-
|
|
394
|
+
SuccessDefaultHover = "text-success-default-hover",
|
|
439
395
|
/** For positive text in a pressed state. */
|
|
440
|
-
|
|
396
|
+
SuccessDefaultPressed = "text-success-default-pressed",
|
|
441
397
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
442
|
-
|
|
398
|
+
SuccessInverse = "text-success-inverse",
|
|
443
399
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
444
|
-
|
|
400
|
+
WarningDefault = "text-warning-default",
|
|
445
401
|
/** For caution text in a hover state. */
|
|
446
|
-
|
|
402
|
+
WarningDefaultHover = "text-warning-default-hover",
|
|
447
403
|
/** For caution text in a pressed state. */
|
|
448
|
-
|
|
404
|
+
WarningDefaultPressed = "text-warning-default-pressed",
|
|
449
405
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
450
|
-
|
|
406
|
+
WarningInverse = "text-warning-inverse",
|
|
451
407
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
452
|
-
|
|
408
|
+
InfoDefault = "text-info-default",
|
|
453
409
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
454
|
-
|
|
410
|
+
InfoInverse = "text-info-inverse",
|
|
455
411
|
/** Inherit the color of the parent element */
|
|
456
|
-
|
|
412
|
+
Inherit = "text-inherit",
|
|
457
413
|
/** Make the text color transparent */
|
|
458
|
-
|
|
459
|
-
}
|
|
414
|
+
Transparent = "text-transparent"
|
|
415
|
+
}
|
|
460
416
|
/**
|
|
461
417
|
* Text - textAlign
|
|
462
418
|
*/
|
|
463
|
-
export
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
};
|
|
419
|
+
export declare enum TextAlign {
|
|
420
|
+
Left = "text-left",
|
|
421
|
+
Center = "text-center",
|
|
422
|
+
Right = "text-right",
|
|
423
|
+
Justify = "text-justify"
|
|
424
|
+
}
|
|
470
425
|
/**
|
|
471
426
|
* Text - fontWeight
|
|
472
427
|
*/
|
|
473
|
-
export
|
|
474
|
-
export declare const FontWeight: {
|
|
428
|
+
export declare enum FontWeight {
|
|
475
429
|
/**
|
|
476
430
|
* Weight - 700
|
|
477
431
|
*/
|
|
478
|
-
|
|
432
|
+
Bold = "font-bold",
|
|
479
433
|
/**
|
|
480
434
|
* Weight - 500
|
|
481
435
|
*/
|
|
482
|
-
|
|
436
|
+
Medium = "font-medium",
|
|
483
437
|
/**
|
|
484
438
|
* Weight - 400
|
|
485
439
|
*/
|
|
486
|
-
|
|
487
|
-
}
|
|
440
|
+
Regular = "font-regular"
|
|
441
|
+
}
|
|
488
442
|
/**
|
|
489
443
|
* Text - overflowWrap
|
|
490
444
|
*/
|
|
491
|
-
export
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
};
|
|
445
|
+
export declare enum OverflowWrap {
|
|
446
|
+
BreakWord = "break-words",
|
|
447
|
+
Anywhere = "break-all",
|
|
448
|
+
Normal = "break-normal"
|
|
449
|
+
}
|
|
497
450
|
/**
|
|
498
451
|
* Text - fontStyle
|
|
499
452
|
*/
|
|
500
|
-
export
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
};
|
|
453
|
+
export declare enum FontStyle {
|
|
454
|
+
Italic = "italic",
|
|
455
|
+
Normal = "not-italic"
|
|
456
|
+
}
|
|
505
457
|
/**
|
|
506
458
|
* Text - textTransform
|
|
507
459
|
*/
|
|
508
|
-
export
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
};
|
|
460
|
+
export declare enum TextTransform {
|
|
461
|
+
Uppercase = "uppercase",
|
|
462
|
+
Lowercase = "lowercase",
|
|
463
|
+
Capitalize = "capitalize",
|
|
464
|
+
Normal = "normal-case"
|
|
465
|
+
}
|
|
515
466
|
/**
|
|
516
467
|
* Text - fontFamily
|
|
517
468
|
*/
|
|
518
|
-
export
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
};
|
|
469
|
+
export declare enum FontFamily {
|
|
470
|
+
Default = "font-default",
|
|
471
|
+
Accent = "font-accent",
|
|
472
|
+
Hero = "font-hero"
|
|
473
|
+
}
|
|
524
474
|
/**
|
|
525
475
|
* TextButton - size
|
|
526
476
|
*/
|
|
527
|
-
export
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
};
|
|
477
|
+
export declare enum TextButtonSize {
|
|
478
|
+
BodyLg = "body-lg",
|
|
479
|
+
BodyMd = "body-md",
|
|
480
|
+
BodySm = "body-sm",
|
|
481
|
+
BodyXs = "body-xs"
|
|
482
|
+
}
|
|
534
483
|
/**
|
|
535
484
|
* Icon - size
|
|
536
485
|
*/
|
|
537
|
-
export
|
|
538
|
-
export declare const IconSize: {
|
|
486
|
+
export declare enum IconSize {
|
|
539
487
|
/** Extra small - 12px */
|
|
540
|
-
|
|
488
|
+
Xs = "xs",
|
|
541
489
|
/** Small - 16px */
|
|
542
|
-
|
|
490
|
+
Sm = "sm",
|
|
543
491
|
/** Medium - 20px (Default) */
|
|
544
|
-
|
|
492
|
+
Md = "md",
|
|
545
493
|
/** Large - 24px */
|
|
546
|
-
|
|
494
|
+
Lg = "lg",
|
|
547
495
|
/** Extra large - 32px */
|
|
548
|
-
|
|
549
|
-
}
|
|
496
|
+
Xl = "xl"
|
|
497
|
+
}
|
|
550
498
|
/**
|
|
551
499
|
* Icon - color
|
|
552
500
|
*/
|
|
553
|
-
export
|
|
554
|
-
export declare const IconColor: {
|
|
501
|
+
export declare enum IconColor {
|
|
555
502
|
/** For default neutral icons */
|
|
556
|
-
|
|
503
|
+
IconDefault = "text-icon-default",
|
|
557
504
|
/** For softer neutral icons */
|
|
558
|
-
|
|
505
|
+
IconAlternative = "text-icon-alternative",
|
|
559
506
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
560
|
-
|
|
507
|
+
IconMuted = "text-icon-muted",
|
|
561
508
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
562
|
-
|
|
509
|
+
OverlayInverse = "text-overlay-inverse",
|
|
563
510
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
564
|
-
|
|
511
|
+
PrimaryDefault = "text-primary-default",
|
|
565
512
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
566
|
-
|
|
513
|
+
PrimaryInverse = "text-primary-inverse",
|
|
567
514
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
568
|
-
|
|
515
|
+
ErrorDefault = "text-error-default",
|
|
569
516
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
570
|
-
|
|
517
|
+
ErrorInverse = "text-error-inverse",
|
|
571
518
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
572
|
-
|
|
519
|
+
SuccessDefault = "text-success-default",
|
|
573
520
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
574
|
-
|
|
521
|
+
SuccessInverse = "text-success-inverse",
|
|
575
522
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
576
|
-
|
|
523
|
+
WarningDefault = "text-warning-default",
|
|
577
524
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
578
|
-
|
|
525
|
+
WarningInverse = "text-warning-inverse",
|
|
579
526
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
580
|
-
|
|
527
|
+
InfoDefault = "text-info-default",
|
|
581
528
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
582
|
-
|
|
583
|
-
}
|
|
529
|
+
InfoInverse = "text-info-inverse"
|
|
530
|
+
}
|
|
584
531
|
/**
|
|
585
532
|
* Autogenerated from the generate-icon-script.ts script.
|
|
586
533
|
* Please do not edit this enum directly.
|
|
@@ -764,6 +711,7 @@ export declare enum IconName {
|
|
|
764
711
|
Plug = "Plug",
|
|
765
712
|
PlusAndMinus = "PlusAndMinus",
|
|
766
713
|
PolicyAlert = "PolicyAlert",
|
|
714
|
+
PopUp = "PopUp",
|
|
767
715
|
Print = "Print",
|
|
768
716
|
PriorityHigh = "PriorityHigh",
|
|
769
717
|
PrivacyTip = "PrivacyTip",
|
|
@@ -804,6 +752,7 @@ export declare enum IconName {
|
|
|
804
752
|
ShieldLock = "ShieldLock",
|
|
805
753
|
ShoppingBag = "ShoppingBag",
|
|
806
754
|
ShoppingCart = "ShoppingCart",
|
|
755
|
+
SidePanel = "SidePanel",
|
|
807
756
|
SignalCellular = "SignalCellular",
|
|
808
757
|
Slash = "Slash",
|
|
809
758
|
Sms = "Sms",
|