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