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