@metamask-previews/design-system-react-native 0.5.1-preview.ab80aae → 0.5.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.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/types/index.cjs +355 -258
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +246 -273
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +246 -273
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +355 -246
- package/dist/types/index.mjs.map +1 -1
- package/package.json +4 -4
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 = "16",
|
|
10
9
|
/**
|
|
11
10
|
* Represents a small avatar size (24px).
|
|
12
11
|
*/
|
|
13
|
-
|
|
12
|
+
Sm = "24",
|
|
14
13
|
/**
|
|
15
14
|
* Represents a medium avatar size (32px).
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
Md = "32",
|
|
18
17
|
/**
|
|
19
18
|
* Represents a large avatar size (40px).
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
Lg = "40",
|
|
22
21
|
/**
|
|
23
22
|
* Represents an extra large avatar size (48px).
|
|
24
23
|
*/
|
|
25
|
-
|
|
26
|
-
}
|
|
24
|
+
Xl = "48"
|
|
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
|
* AvatarGroup - variant
|
|
60
57
|
*/
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
};
|
|
58
|
+
export declare enum AvatarGroupVariant {
|
|
59
|
+
Account = "Account",
|
|
60
|
+
Favicon = "Favicon",
|
|
61
|
+
Network = "Network",
|
|
62
|
+
Token = "Token"
|
|
63
|
+
}
|
|
68
64
|
/**
|
|
69
65
|
* AvatarIcon - severity
|
|
70
66
|
*/
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
};
|
|
67
|
+
export declare enum AvatarIconSeverity {
|
|
68
|
+
Neutral = "neutral",
|
|
69
|
+
Info = "info",
|
|
70
|
+
Success = "success",
|
|
71
|
+
Error = "error",
|
|
72
|
+
Warning = "warning"
|
|
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 ButtonSize };
|
|
344
327
|
export { ButtonBaseSize as ButtonPrimarySize };
|
|
345
328
|
export { ButtonBaseSize as ButtonSecondarySize };
|
|
@@ -347,205 +330,195 @@ export { ButtonBaseSize as ButtonTertiarySize };
|
|
|
347
330
|
/**
|
|
348
331
|
* Button - variant
|
|
349
332
|
*/
|
|
350
|
-
export
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
};
|
|
333
|
+
export declare enum ButtonVariant {
|
|
334
|
+
Primary = "Primary",
|
|
335
|
+
Secondary = "Secondary",
|
|
336
|
+
Tertiary = "Tertiary"
|
|
337
|
+
}
|
|
356
338
|
/**
|
|
357
339
|
* ButtonIcon - size
|
|
358
340
|
*/
|
|
359
|
-
export
|
|
360
|
-
export declare const ButtonIconSize: {
|
|
341
|
+
export declare enum ButtonIconSize {
|
|
361
342
|
/**
|
|
362
343
|
* Represents a small button size (24px).
|
|
363
344
|
*/
|
|
364
|
-
|
|
345
|
+
Sm = "sm",
|
|
365
346
|
/**
|
|
366
347
|
* Represents a medium button size (32px).
|
|
367
348
|
*/
|
|
368
|
-
|
|
349
|
+
Md = "md",
|
|
369
350
|
/**
|
|
370
351
|
* Represents a large button size (40px).
|
|
371
352
|
*/
|
|
372
|
-
|
|
373
|
-
}
|
|
353
|
+
Lg = "lg"
|
|
354
|
+
}
|
|
374
355
|
/**
|
|
375
356
|
* Text - variant
|
|
376
357
|
*/
|
|
377
|
-
export
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
};
|
|
358
|
+
export declare enum TextVariant {
|
|
359
|
+
DisplayLg = "display-lg",
|
|
360
|
+
DisplayMd = "display-md",
|
|
361
|
+
HeadingLg = "heading-lg",
|
|
362
|
+
HeadingMd = "heading-md",
|
|
363
|
+
HeadingSm = "heading-sm",
|
|
364
|
+
BodyLg = "body-lg",
|
|
365
|
+
BodyMd = "body-md",
|
|
366
|
+
BodySm = "body-sm",
|
|
367
|
+
BodyXs = "body-xs",
|
|
368
|
+
PageHeading = "page-heading",
|
|
369
|
+
SectionHeading = "section-heading",
|
|
370
|
+
ButtonLabelMd = "button-label-md",
|
|
371
|
+
ButtonLabelLg = "button-label-lg",
|
|
372
|
+
AmountDisplayLg = "amount-display-lg"
|
|
373
|
+
}
|
|
394
374
|
/**
|
|
395
375
|
* Text - color
|
|
396
376
|
*/
|
|
397
|
-
export
|
|
398
|
-
export declare const TextColor: {
|
|
377
|
+
export declare enum TextColor {
|
|
399
378
|
/** For default neutral text. */
|
|
400
|
-
|
|
379
|
+
TextDefault = "text-default",
|
|
401
380
|
/** For softer contrast neutral text */
|
|
402
|
-
|
|
381
|
+
TextAlternative = "text-alternative",
|
|
403
382
|
/** For the softest contrast neutral text (not accessible) */
|
|
404
|
-
|
|
383
|
+
TextMuted = "text-muted",
|
|
405
384
|
/** For elements used on top of overlay/alternative. */
|
|
406
|
-
|
|
385
|
+
OverlayInverse = "text-overlay-inverse",
|
|
407
386
|
/** For interactive, active, and selected semantics. */
|
|
408
|
-
|
|
387
|
+
PrimaryDefault = "text-primary-default",
|
|
409
388
|
/** For softer variants of primary text. */
|
|
410
|
-
|
|
389
|
+
PrimaryAlternative = "text-primary-alternative",
|
|
411
390
|
/** For elements used on top of primary/default. */
|
|
412
|
-
|
|
391
|
+
PrimaryInverse = "text-primary-inverse",
|
|
413
392
|
/** For primary text in a pressed state. */
|
|
414
|
-
|
|
393
|
+
PrimaryDefaultPressed = "text-primary-default-pressed",
|
|
415
394
|
/** For critical alert text. */
|
|
416
|
-
|
|
395
|
+
ErrorDefault = "text-error-default",
|
|
417
396
|
/** For stronger contrast error text. */
|
|
418
|
-
|
|
397
|
+
ErrorAlternative = "text-error-alternative",
|
|
419
398
|
/** For elements used on top of error/default. */
|
|
420
|
-
|
|
399
|
+
ErrorInverse = "text-error-inverse",
|
|
421
400
|
/** For critical alert text in a pressed state. */
|
|
422
|
-
|
|
401
|
+
ErrorDefaultPressed = "text-error-default-pressed",
|
|
423
402
|
/** For caution alert text. */
|
|
424
|
-
|
|
403
|
+
WarningDefault = "text-warning-default",
|
|
425
404
|
/** For elements used on top of warning/default. */
|
|
426
|
-
|
|
405
|
+
WarningInverse = "text-warning-inverse",
|
|
427
406
|
/** For caution text in a pressed state. */
|
|
428
|
-
|
|
407
|
+
WarningDefaultPressed = "text-warning-default-pressed",
|
|
429
408
|
/** For positive semantic text. */
|
|
430
|
-
|
|
409
|
+
SuccessDefault = "text-success-default",
|
|
431
410
|
/** For elements used on top of success/default. */
|
|
432
|
-
|
|
411
|
+
SuccessInverse = "text-success-inverse",
|
|
433
412
|
/** For positive text in a pressed state. */
|
|
434
|
-
|
|
413
|
+
SuccessDefaultPressed = "text-success-default-pressed",
|
|
435
414
|
/** For informational read-only text. */
|
|
436
|
-
|
|
415
|
+
InfoDefault = "text-info-default",
|
|
437
416
|
/** For elements used on top of info/default. */
|
|
438
|
-
|
|
417
|
+
InfoInverse = "text-info-inverse",
|
|
439
418
|
/** Make the text color transparent. */
|
|
440
|
-
|
|
441
|
-
}
|
|
419
|
+
Transparent = "text-transparent"
|
|
420
|
+
}
|
|
442
421
|
/**
|
|
443
422
|
* Text - fontWeight
|
|
444
423
|
*/
|
|
445
|
-
export
|
|
446
|
-
export declare const FontWeight: {
|
|
424
|
+
export declare enum FontWeight {
|
|
447
425
|
/**
|
|
448
426
|
* Weight - 700
|
|
449
427
|
*/
|
|
450
|
-
|
|
428
|
+
Bold = "700",
|
|
451
429
|
/**
|
|
452
430
|
* Weight - 500
|
|
453
431
|
*/
|
|
454
|
-
|
|
432
|
+
Medium = "500",
|
|
455
433
|
/**
|
|
456
434
|
* Weight - 400
|
|
457
435
|
*/
|
|
458
|
-
|
|
459
|
-
}
|
|
436
|
+
Regular = "400"
|
|
437
|
+
}
|
|
460
438
|
/**
|
|
461
439
|
* Text - fontStyle
|
|
462
440
|
*/
|
|
463
|
-
export
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
};
|
|
441
|
+
export declare enum FontStyle {
|
|
442
|
+
Italic = "italic",
|
|
443
|
+
Normal = "normal"
|
|
444
|
+
}
|
|
468
445
|
/**
|
|
469
446
|
* Text - fontFamily
|
|
470
447
|
*/
|
|
471
|
-
export
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
};
|
|
448
|
+
export declare enum FontFamily {
|
|
449
|
+
Default = "default",
|
|
450
|
+
Accent = "accent",
|
|
451
|
+
Hero = "hero"
|
|
452
|
+
}
|
|
477
453
|
/**
|
|
478
454
|
* TextButton - Size
|
|
479
455
|
*/
|
|
480
|
-
export
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
};
|
|
456
|
+
export declare enum TextButtonSize {
|
|
457
|
+
BodyLg = "body-lg",
|
|
458
|
+
BodyMd = "body-md",
|
|
459
|
+
BodySm = "body-sm",
|
|
460
|
+
BodyXs = "body-xs"
|
|
461
|
+
}
|
|
487
462
|
/**
|
|
488
463
|
* Icon - color
|
|
489
464
|
*/
|
|
490
|
-
export
|
|
491
|
-
export declare const IconColor: {
|
|
465
|
+
export declare enum IconColor {
|
|
492
466
|
/** For default neutral icons */
|
|
493
|
-
|
|
467
|
+
IconDefault = "text-icon-default",
|
|
494
468
|
/** For softer neutral icons */
|
|
495
|
-
|
|
469
|
+
IconAlternative = "text-icon-alternative",
|
|
496
470
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
497
|
-
|
|
471
|
+
IconMuted = "text-icon-muted",
|
|
498
472
|
/** For elements used on top of overlay/alternative. Used for text, icon, or border */
|
|
499
|
-
|
|
473
|
+
OverlayInverse = "text-overlay-inverse",
|
|
500
474
|
/** For interactive, active, and selected semantics. Used for text, background, icon, or border */
|
|
501
|
-
|
|
475
|
+
PrimaryDefault = "text-primary-default",
|
|
502
476
|
/** For softer variants of primary interactive elements */
|
|
503
|
-
|
|
477
|
+
PrimaryAlternative = "text-primary-alternative",
|
|
504
478
|
/** For elements used on top of primary/default. Used for text, icon, or border */
|
|
505
|
-
|
|
479
|
+
PrimaryInverse = "text-primary-inverse",
|
|
506
480
|
/** For primary interactive elements in a pressed state */
|
|
507
|
-
|
|
481
|
+
PrimaryDefaultPressed = "text-primary-default-pressed",
|
|
508
482
|
/** For critical alert semantic elements. Used for text, background, icon, or border */
|
|
509
|
-
|
|
483
|
+
ErrorDefault = "text-error-default",
|
|
510
484
|
/** For softer variants of error elements */
|
|
511
|
-
|
|
485
|
+
ErrorAlternative = "text-error-alternative",
|
|
512
486
|
/** For elements used on top of error/default. Used for text, icon, or border */
|
|
513
|
-
|
|
487
|
+
ErrorInverse = "text-error-inverse",
|
|
514
488
|
/** For critical alert semantic elements in a pressed state */
|
|
515
|
-
|
|
489
|
+
ErrorDefaultPressed = "text-error-default-pressed",
|
|
516
490
|
/** For caution alert semantic elements. Used for text, background, icon, or border */
|
|
517
|
-
|
|
491
|
+
WarningDefault = "text-warning-default",
|
|
518
492
|
/** For elements used on top of warning/default. Used for text, icon, or border */
|
|
519
|
-
|
|
493
|
+
WarningInverse = "text-warning-inverse",
|
|
520
494
|
/** For caution alert semantic elements in a pressed state */
|
|
521
|
-
|
|
495
|
+
WarningDefaultPressed = "text-warning-default-pressed",
|
|
522
496
|
/** For positive semantic elements. Used for text, background, icon, or border */
|
|
523
|
-
|
|
497
|
+
SuccessDefault = "text-success-default",
|
|
524
498
|
/** For elements used on top of success/default. Used for text, icon, or border */
|
|
525
|
-
|
|
499
|
+
SuccessInverse = "text-success-inverse",
|
|
526
500
|
/** For positive semantic elements in a pressed state */
|
|
527
|
-
|
|
501
|
+
SuccessDefaultPressed = "text-success-default-pressed",
|
|
528
502
|
/** For informational read-only elements. Used for text, background, icon, or border */
|
|
529
|
-
|
|
503
|
+
InfoDefault = "text-info-default",
|
|
530
504
|
/** For elements used on top of info/default. Used for text, icon, or border */
|
|
531
|
-
|
|
532
|
-
}
|
|
505
|
+
InfoInverse = "text-info-inverse"
|
|
506
|
+
}
|
|
533
507
|
/**
|
|
534
508
|
* Icon - size
|
|
535
509
|
*/
|
|
536
|
-
export
|
|
537
|
-
export declare const IconSize: {
|
|
510
|
+
export declare enum IconSize {
|
|
538
511
|
/** Extra small - 12px */
|
|
539
|
-
|
|
512
|
+
Xs = "12",
|
|
540
513
|
/** Small - 16px */
|
|
541
|
-
|
|
514
|
+
Sm = "16",
|
|
542
515
|
/** Medium - 20px (Default) */
|
|
543
|
-
|
|
516
|
+
Md = "20",
|
|
544
517
|
/** Large - 24px */
|
|
545
|
-
|
|
518
|
+
Lg = "24",
|
|
546
519
|
/** Extra large - 32px */
|
|
547
|
-
|
|
548
|
-
}
|
|
520
|
+
Xl = "32"
|
|
521
|
+
}
|
|
549
522
|
/**
|
|
550
523
|
* Icon - name
|
|
551
524
|
*/
|