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