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