@metamask-previews/design-system-react 0.5.0-preview.c08e845 → 0.6.1-preview.ab80aae

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