@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,567 +1,456 @@
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
- /**
5
- * AvatarBase - size
6
- */
7
- var AvatarBaseSize;
8
- (function (AvatarBaseSize) {
4
+ exports.AvatarBaseSize = {
9
5
  /**
10
6
  * Represents an extra small avatar size (16px).
11
7
  */
12
- AvatarBaseSize["Xs"] = "xs";
8
+ Xs: 'xs',
13
9
  /**
14
10
  * Represents a small avatar size (24px).
15
11
  */
16
- AvatarBaseSize["Sm"] = "sm";
12
+ Sm: 'sm',
17
13
  /**
18
14
  * Represents a medium avatar size (32px).
19
15
  */
20
- AvatarBaseSize["Md"] = "md";
16
+ Md: 'md',
21
17
  /**
22
18
  * Represents a large avatar size (40px).
23
19
  */
24
- AvatarBaseSize["Lg"] = "lg";
20
+ Lg: 'lg',
25
21
  /**
26
22
  * Represents an extra large avatar size (48px).
27
23
  */
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) {
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 = {
35
34
  /**
36
35
  * Represents a circular Avatar.
37
36
  */
38
- AvatarShape["Circle"] = "circle";
37
+ Circle: 'circle',
39
38
  /**
40
39
  * Represents a squared Avatar
41
40
  */
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) {
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 = {
80
63
  /**
81
64
  * Represents a medium badge count (14px height).
82
65
  */
83
- BadgeCountSize["Md"] = "md";
66
+ Md: 'md',
84
67
  /**
85
68
  * Represents a large badge count (20px height).
86
69
  */
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) {
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 = {
105
80
  /**
106
81
  * Represents a medium badge status size (8px).
107
82
  */
108
- BadgeStatusSize["Md"] = "md";
83
+ Md: 'md',
109
84
  /**
110
85
  * Represents a large avatar size (10px).
111
86
  */
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) {
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 = {
179
126
  /** Default background color */
180
- BoxBackgroundColor["BackgroundDefault"] = "bg-default";
127
+ BackgroundDefault: 'bg-default',
181
128
  /** Alternative background color */
182
- BoxBackgroundColor["BackgroundAlternative"] = "bg-alternative";
129
+ BackgroundAlternative: 'bg-alternative',
183
130
  /** Section background color */
184
- BoxBackgroundColor["BackgroundSection"] = "bg-section";
131
+ BackgroundSection: 'bg-section',
185
132
  /** Subsection background color */
186
- BoxBackgroundColor["BackgroundSubsection"] = "bg-subsection";
133
+ BackgroundSubsection: 'bg-subsection',
187
134
  /** Muted background color */
188
- BoxBackgroundColor["BackgroundMuted"] = "bg-muted";
135
+ BackgroundMuted: 'bg-muted',
189
136
  /** Primary default background color */
190
- BoxBackgroundColor["PrimaryDefault"] = "bg-primary-default";
137
+ PrimaryDefault: 'bg-primary-default',
191
138
  /** Primary alternative background color */
192
- BoxBackgroundColor["PrimaryAlternative"] = "bg-primary-alternative";
139
+ PrimaryAlternative: 'bg-primary-alternative',
193
140
  /** Primary muted background color */
194
- BoxBackgroundColor["PrimaryMuted"] = "bg-primary-muted";
141
+ PrimaryMuted: 'bg-primary-muted',
195
142
  /** Primary inverse background color */
196
- BoxBackgroundColor["PrimaryInverse"] = "bg-primary-inverse";
143
+ PrimaryInverse: 'bg-primary-inverse',
197
144
  /** Error default background color */
198
- BoxBackgroundColor["ErrorDefault"] = "bg-error-default";
145
+ ErrorDefault: 'bg-error-default',
199
146
  /** Error alternative background color */
200
- BoxBackgroundColor["ErrorAlternative"] = "bg-error-alternative";
147
+ ErrorAlternative: 'bg-error-alternative',
201
148
  /** Error muted background color */
202
- BoxBackgroundColor["ErrorMuted"] = "bg-error-muted";
149
+ ErrorMuted: 'bg-error-muted',
203
150
  /** Error inverse background color */
204
- BoxBackgroundColor["ErrorInverse"] = "bg-error-inverse";
151
+ ErrorInverse: 'bg-error-inverse',
205
152
  /** Warning default background color */
206
- BoxBackgroundColor["WarningDefault"] = "bg-warning-default";
153
+ WarningDefault: 'bg-warning-default',
207
154
  /** Warning alternative background color */
208
- BoxBackgroundColor["WarningAlternative"] = "bg-warning-alternative";
155
+ WarningAlternative: 'bg-warning-alternative',
209
156
  /** Warning muted background color */
210
- BoxBackgroundColor["WarningMuted"] = "bg-warning-muted";
157
+ WarningMuted: 'bg-warning-muted',
211
158
  /** Warning inverse background color */
212
- BoxBackgroundColor["WarningInverse"] = "bg-warning-inverse";
159
+ WarningInverse: 'bg-warning-inverse',
213
160
  /** Success default background color */
214
- BoxBackgroundColor["SuccessDefault"] = "bg-success-default";
161
+ SuccessDefault: 'bg-success-default',
215
162
  /** Success alternative background color */
216
- BoxBackgroundColor["SuccessAlternative"] = "bg-success-alternative";
163
+ SuccessAlternative: 'bg-success-alternative',
217
164
  /** Success muted background color */
218
- BoxBackgroundColor["SuccessMuted"] = "bg-success-muted";
165
+ SuccessMuted: 'bg-success-muted',
219
166
  /** Success inverse background color */
220
- BoxBackgroundColor["SuccessInverse"] = "bg-success-inverse";
167
+ SuccessInverse: 'bg-success-inverse',
221
168
  /** Info default background color */
222
- BoxBackgroundColor["InfoDefault"] = "bg-info-default";
169
+ InfoDefault: 'bg-info-default',
223
170
  /** Info muted background color */
224
- BoxBackgroundColor["InfoMuted"] = "bg-info-muted";
171
+ InfoMuted: 'bg-info-muted',
225
172
  /** Info inverse background color */
226
- BoxBackgroundColor["InfoInverse"] = "bg-info-inverse";
173
+ InfoInverse: 'bg-info-inverse',
227
174
  /** Flask default background color */
228
- BoxBackgroundColor["FlaskDefault"] = "bg-flask-default";
175
+ FlaskDefault: 'bg-flask-default',
229
176
  /** Flask inverse background color */
230
- BoxBackgroundColor["FlaskInverse"] = "bg-flask-inverse";
177
+ FlaskInverse: 'bg-flask-inverse',
231
178
  /** Overlay alternative background color */
232
- BoxBackgroundColor["OverlayAlternative"] = "bg-overlay-alternative";
179
+ OverlayAlternative: 'bg-overlay-alternative',
233
180
  /** Overlay default background color */
234
- BoxBackgroundColor["OverlayDefault"] = "bg-overlay-default";
181
+ OverlayDefault: 'bg-overlay-default',
235
182
  /** Overlay inverse background color */
236
- BoxBackgroundColor["OverlayInverse"] = "bg-overlay-inverse";
183
+ OverlayInverse: 'bg-overlay-inverse',
237
184
  /** Transparent background color */
238
- BoxBackgroundColor["Transparent"] = "bg-transparent";
239
- })(BoxBackgroundColor || (exports.BoxBackgroundColor = BoxBackgroundColor = {}));
240
- /**
241
- * Box - borderColor
242
- */
243
- var BoxBorderColor;
244
- (function (BoxBorderColor) {
185
+ Transparent: 'bg-transparent',
186
+ };
187
+ exports.BoxBorderColor = {
245
188
  /** Background default for cut out effect */
246
- BoxBorderColor["BackgroundDefault"] = "border-background-default";
189
+ BackgroundDefault: 'border-background-default',
247
190
  /** Default border color */
248
- BoxBorderColor["BorderDefault"] = "border-default";
191
+ BorderDefault: 'border-default',
249
192
  /** Muted border color */
250
- BoxBorderColor["BorderMuted"] = "border-muted";
193
+ BorderMuted: 'border-muted',
251
194
  /** Primary default border color */
252
- BoxBorderColor["PrimaryDefault"] = "border-primary-default";
195
+ PrimaryDefault: 'border-primary-default',
253
196
  /** Primary alternative border color */
254
- BoxBorderColor["PrimaryAlternative"] = "border-primary-alternative";
197
+ PrimaryAlternative: 'border-primary-alternative',
255
198
  /** Primary muted border color */
256
- BoxBorderColor["PrimaryMuted"] = "border-primary-muted";
199
+ PrimaryMuted: 'border-primary-muted',
257
200
  /** Primary inverse border color */
258
- BoxBorderColor["PrimaryInverse"] = "border-primary-inverse";
201
+ PrimaryInverse: 'border-primary-inverse',
259
202
  /** Error default border color */
260
- BoxBorderColor["ErrorDefault"] = "border-error-default";
203
+ ErrorDefault: 'border-error-default',
261
204
  /** Error alternative border color */
262
- BoxBorderColor["ErrorAlternative"] = "border-error-alternative";
205
+ ErrorAlternative: 'border-error-alternative',
263
206
  /** Error muted border color */
264
- BoxBorderColor["ErrorMuted"] = "border-error-muted";
207
+ ErrorMuted: 'border-error-muted',
265
208
  /** Error inverse border color */
266
- BoxBorderColor["ErrorInverse"] = "border-error-inverse";
209
+ ErrorInverse: 'border-error-inverse',
267
210
  /** Warning default border color */
268
- BoxBorderColor["WarningDefault"] = "border-warning-default";
211
+ WarningDefault: 'border-warning-default',
269
212
  /** Warning alternative border color */
270
- BoxBorderColor["WarningAlternative"] = "border-warning-alternative";
213
+ WarningAlternative: 'border-warning-alternative',
271
214
  /** Warning muted border color */
272
- BoxBorderColor["WarningMuted"] = "border-warning-muted";
215
+ WarningMuted: 'border-warning-muted',
273
216
  /** Warning inverse border color */
274
- BoxBorderColor["WarningInverse"] = "border-warning-inverse";
217
+ WarningInverse: 'border-warning-inverse',
275
218
  /** Success default border color */
276
- BoxBorderColor["SuccessDefault"] = "border-success-default";
219
+ SuccessDefault: 'border-success-default',
277
220
  /** Success alternative border color */
278
- BoxBorderColor["SuccessAlternative"] = "border-success-alternative";
221
+ SuccessAlternative: 'border-success-alternative',
279
222
  /** Success muted border color */
280
- BoxBorderColor["SuccessMuted"] = "border-success-muted";
223
+ SuccessMuted: 'border-success-muted',
281
224
  /** Success inverse border color */
282
- BoxBorderColor["SuccessInverse"] = "border-success-inverse";
225
+ SuccessInverse: 'border-success-inverse',
283
226
  /** Info default border color */
284
- BoxBorderColor["InfoDefault"] = "border-info-default";
227
+ InfoDefault: 'border-info-default',
285
228
  /** Info alternative border color */
286
- BoxBorderColor["InfoAlternative"] = "border-info-alternative";
229
+ InfoAlternative: 'border-info-alternative',
287
230
  /** Info muted border color */
288
- BoxBorderColor["InfoMuted"] = "border-info-muted";
231
+ InfoMuted: 'border-info-muted',
289
232
  /** Info inverse border color */
290
- BoxBorderColor["InfoInverse"] = "border-info-inverse";
233
+ InfoInverse: 'border-info-inverse',
291
234
  /** Flask default border color */
292
- BoxBorderColor["FlaskDefault"] = "border-flask-default";
235
+ FlaskDefault: 'border-flask-default',
293
236
  /** Flask inverse border color */
294
- BoxBorderColor["FlaskInverse"] = "border-flask-inverse";
237
+ FlaskInverse: 'border-flask-inverse',
295
238
  /** Overlay alternative border color */
296
- BoxBorderColor["OverlayAlternative"] = "border-overlay-alternative";
239
+ OverlayAlternative: 'border-overlay-alternative',
297
240
  /** Overlay default border color */
298
- BoxBorderColor["OverlayDefault"] = "border-overlay-default";
241
+ OverlayDefault: 'border-overlay-default',
299
242
  /** Overlay inverse border color */
300
- BoxBorderColor["OverlayInverse"] = "border-overlay-inverse";
243
+ OverlayInverse: 'border-overlay-inverse',
301
244
  /** Transparent border color */
302
- BoxBorderColor["Transparent"] = "border-transparent";
303
- })(BoxBorderColor || (exports.BoxBorderColor = BoxBorderColor = {}));
304
- /**
305
- * ButtonBase - size
306
- */
307
- var ButtonBaseSize;
308
- (function (ButtonBaseSize) {
245
+ Transparent: 'border-transparent',
246
+ };
247
+ exports.ButtonBaseSize = {
309
248
  /**
310
249
  * Represents a small button size (32px).
311
250
  */
312
- ButtonBaseSize["Sm"] = "sm";
251
+ Sm: 'sm',
313
252
  /**
314
253
  * Represents a medium button size (40px).
315
254
  */
316
- ButtonBaseSize["Md"] = "md";
255
+ Md: 'md',
317
256
  /**
318
257
  * Represents a large button size (48px).
319
258
  */
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) {
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 = {
327
267
  /**
328
268
  * Primary button variant - used for primary actions
329
269
  */
330
- ButtonVariant["Primary"] = "primary";
270
+ Primary: 'primary',
331
271
  /**
332
272
  * Secondary button variant - used for secondary actions
333
273
  */
334
- ButtonVariant["Secondary"] = "secondary";
274
+ Secondary: 'secondary',
335
275
  /**
336
276
  * Tertiary button variant - used for tertiary-like actions
337
277
  */
338
- ButtonVariant["Tertiary"] = "tertiary";
339
- })(ButtonVariant || (exports.ButtonVariant = ButtonVariant = {}));
340
- /**
341
- * ButtonIcon - size
342
- */
343
- var ButtonIconSize;
344
- (function (ButtonIconSize) {
278
+ Tertiary: 'tertiary',
279
+ };
280
+ exports.ButtonIconSize = {
345
281
  /**
346
282
  * Represents a small button size (24px).
347
283
  */
348
- ButtonIconSize["Sm"] = "sm";
284
+ Sm: 'sm',
349
285
  /**
350
286
  * Represents a medium button size (32px).
351
287
  */
352
- ButtonIconSize["Md"] = "md";
288
+ Md: 'md',
353
289
  /**
354
290
  * Represents a large button size (40px).
355
291
  */
356
- ButtonIconSize["Lg"] = "lg";
357
- })(ButtonIconSize || (exports.ButtonIconSize = ButtonIconSize = {}));
358
- /**
359
- * Text - variant
360
- */
361
- var TextVariant;
362
- (function (TextVariant) {
292
+ Lg: 'lg',
293
+ };
294
+ exports.TextVariant = {
363
295
  // Display Sizes
364
- TextVariant["DisplayLg"] = "display-lg";
365
- TextVariant["DisplayMd"] = "display-md";
296
+ DisplayLg: 'display-lg',
297
+ DisplayMd: 'display-md',
366
298
  // Heading Sizes
367
- TextVariant["HeadingLg"] = "heading-lg";
368
- TextVariant["HeadingMd"] = "heading-md";
369
- TextVariant["HeadingSm"] = "heading-sm";
299
+ HeadingLg: 'heading-lg',
300
+ HeadingMd: 'heading-md',
301
+ HeadingSm: 'heading-sm',
370
302
  // Font Sizes
371
- TextVariant["BodyLg"] = "body-lg";
372
- TextVariant["BodyMd"] = "body-md";
373
- TextVariant["BodySm"] = "body-sm";
374
- TextVariant["BodyXs"] = "body-xs";
303
+ BodyLg: 'body-lg',
304
+ BodyMd: 'body-md',
305
+ BodySm: 'body-sm',
306
+ BodyXs: 'body-xs',
375
307
  // Special Typography Variants
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) {
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 = {
387
315
  /** For default neutral text. */
388
- TextColor["TextDefault"] = "text-default";
316
+ TextDefault: 'text-default',
389
317
  /** For softer contrast neutral text */
390
- TextColor["TextAlternative"] = "text-alternative";
318
+ TextAlternative: 'text-alternative',
391
319
  /** For the softest contrast neutral text (not accessible) */
392
- TextColor["TextMuted"] = "text-muted";
320
+ TextMuted: 'text-muted',
393
321
  /** For elements used on top of overlay/alternative. Used for text, icon or border */
394
- TextColor["OverlayInverse"] = "text-overlay-inverse";
322
+ OverlayInverse: 'text-overlay-inverse',
395
323
  /** For interactive, active, and selected semantics. Used for text, background, icon or border */
396
- TextColor["PrimaryDefault"] = "text-primary-default";
324
+ PrimaryDefault: 'text-primary-default',
397
325
  /** For primary text in a hover state. */
398
- TextColor["PrimaryDefaultHover"] = "text-primary-default-hover";
326
+ PrimaryDefaultHover: 'text-primary-default-hover',
399
327
  /** For primary text in a pressed state. */
400
- TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
328
+ PrimaryDefaultPressed: 'text-primary-default-pressed',
401
329
  /** For elements used on top of primary/default. Used for text, icon or border */
402
- TextColor["PrimaryInverse"] = "text-primary-inverse";
330
+ PrimaryInverse: 'text-primary-inverse',
403
331
  /** For the critical alert semantic elements. Used for text, background, icon or border */
404
- TextColor["ErrorDefault"] = "text-error-default";
332
+ ErrorDefault: 'text-error-default',
405
333
  /** For critical alert text in a hover state. */
406
- TextColor["ErrorDefaultHover"] = "text-error-default-hover";
334
+ ErrorDefaultHover: 'text-error-default-hover',
407
335
  /** For critical alert text in a pressed state. */
408
- TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
336
+ ErrorDefaultPressed: 'text-error-default-pressed',
409
337
  /** For the stronger contrast error semantic elements. */
410
- TextColor["ErrorAlternative"] = "text-error-alternative";
338
+ ErrorAlternative: 'text-error-alternative',
411
339
  /** For elements used on top of error/default. Used for text, icon or border */
412
- TextColor["ErrorInverse"] = "text-error-inverse";
340
+ ErrorInverse: 'text-error-inverse',
413
341
  /** For the positive semantic elements. Used for text, background, icon or border */
414
- TextColor["SuccessDefault"] = "text-success-default";
342
+ SuccessDefault: 'text-success-default',
415
343
  /** For positive text in a hover state. */
416
- TextColor["SuccessDefaultHover"] = "text-success-default-hover";
344
+ SuccessDefaultHover: 'text-success-default-hover',
417
345
  /** For positive text in a pressed state. */
418
- TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
346
+ SuccessDefaultPressed: 'text-success-default-pressed',
419
347
  /** For elements used on top of success/default. Used for text, icon or border */
420
- TextColor["SuccessInverse"] = "text-success-inverse";
348
+ SuccessInverse: 'text-success-inverse',
421
349
  /** For the caution alert semantic elements. Used for text, background, icon or border */
422
- TextColor["WarningDefault"] = "text-warning-default";
350
+ WarningDefault: 'text-warning-default',
423
351
  /** For caution text in a hover state. */
424
- TextColor["WarningDefaultHover"] = "text-warning-default-hover";
352
+ WarningDefaultHover: 'text-warning-default-hover',
425
353
  /** For caution text in a pressed state. */
426
- TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
354
+ WarningDefaultPressed: 'text-warning-default-pressed',
427
355
  /** For elements used on top of warning/default. Used for text, icon or border */
428
- TextColor["WarningInverse"] = "text-warning-inverse";
356
+ WarningInverse: 'text-warning-inverse',
429
357
  /** For informational read-only elements. Used for text, background, icon or border */
430
- TextColor["InfoDefault"] = "text-info-default";
358
+ InfoDefault: 'text-info-default',
431
359
  /** For elements used on top of info/default. Used for text, icon or border */
432
- TextColor["InfoInverse"] = "text-info-inverse";
360
+ InfoInverse: 'text-info-inverse',
433
361
  /** Inherit the color of the parent element */
434
- TextColor["Inherit"] = "text-inherit";
362
+ Inherit: 'text-inherit',
435
363
  /** Make the text color transparent */
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) {
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 = {
453
373
  /**
454
- * Weight - 600
374
+ * Weight - 700
455
375
  */
456
- FontWeight["Bold"] = "font-bold";
376
+ Bold: 'font-bold',
457
377
  /**
458
378
  * Weight - 500
459
379
  */
460
- FontWeight["Medium"] = "font-medium";
380
+ Medium: 'font-medium',
461
381
  /**
462
382
  * Weight - 400
463
383
  */
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) {
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 = {
520
413
  /** Extra small - 12px */
521
- IconSize["Xs"] = "xs";
414
+ Xs: 'xs',
522
415
  /** Small - 16px */
523
- IconSize["Sm"] = "sm";
416
+ Sm: 'sm',
524
417
  /** Medium - 20px (Default) */
525
- IconSize["Md"] = "md";
418
+ Md: 'md',
526
419
  /** Large - 24px */
527
- IconSize["Lg"] = "lg";
420
+ Lg: 'lg',
528
421
  /** Extra large - 32px */
529
- IconSize["Xl"] = "xl";
530
- })(IconSize || (exports.IconSize = IconSize = {}));
531
- /**
532
- * Icon - color
533
- */
534
- var IconColor;
535
- (function (IconColor) {
422
+ Xl: 'xl',
423
+ };
424
+ exports.IconColor = {
536
425
  /** For default neutral icons */
537
- IconColor["IconDefault"] = "text-icon-default";
426
+ IconDefault: 'text-icon-default',
538
427
  /** For softer neutral icons */
539
- IconColor["IconAlternative"] = "text-icon-alternative";
428
+ IconAlternative: 'text-icon-alternative',
540
429
  /** For the weakest contrast neutral icons (not accessible) */
541
- IconColor["IconMuted"] = "text-icon-muted";
430
+ IconMuted: 'text-icon-muted',
542
431
  /** For elements used on top of overlay/alternative. Used for text, icon or border */
543
- IconColor["OverlayInverse"] = "text-overlay-inverse";
432
+ OverlayInverse: 'text-overlay-inverse',
544
433
  /** For interactive, active, and selected semantics. Used for text, background, icon or border */
545
- IconColor["PrimaryDefault"] = "text-primary-default";
434
+ PrimaryDefault: 'text-primary-default',
546
435
  /** For elements used on top of primary/default. Used for text, icon or border */
547
- IconColor["PrimaryInverse"] = "text-primary-inverse";
436
+ PrimaryInverse: 'text-primary-inverse',
548
437
  /** For the critical alert semantic elements. Used for text, background, icon or border */
549
- IconColor["ErrorDefault"] = "text-error-default";
438
+ ErrorDefault: 'text-error-default',
550
439
  /** For elements used on top of error/default. Used for text, icon or border */
551
- IconColor["ErrorInverse"] = "text-error-inverse";
440
+ ErrorInverse: 'text-error-inverse',
552
441
  /** For the positive semantic elements. Used for text, background, icon or border */
553
- IconColor["SuccessDefault"] = "text-success-default";
442
+ SuccessDefault: 'text-success-default',
554
443
  /** For elements used on top of success/default. Used for text, icon or border */
555
- IconColor["SuccessInverse"] = "text-success-inverse";
444
+ SuccessInverse: 'text-success-inverse',
556
445
  /** For the caution alert semantic elements. Used for text, background, icon or border */
557
- IconColor["WarningDefault"] = "text-warning-default";
446
+ WarningDefault: 'text-warning-default',
558
447
  /** For elements used on top of warning/default. Used for text, icon or border */
559
- IconColor["WarningInverse"] = "text-warning-inverse";
448
+ WarningInverse: 'text-warning-inverse',
560
449
  /** For informational read-only elements. Used for text, background, icon or border */
561
- IconColor["InfoDefault"] = "text-info-default";
450
+ InfoDefault: 'text-info-default',
562
451
  /** For elements used on top of info/default. Used for text, icon or border */
563
- IconColor["InfoInverse"] = "text-info-inverse";
564
- })(IconColor || (exports.IconColor = IconColor = {}));
452
+ InfoInverse: 'text-info-inverse',
453
+ };
565
454
  /**
566
455
  * Autogenerated from the generate-icon-script.ts script.
567
456
  * Please do not edit this enum directly.
@@ -578,6 +467,7 @@ var IconName;
578
467
  IconName["AddCard"] = "AddCard";
579
468
  IconName["AddCircle"] = "AddCircle";
580
469
  IconName["AddSquare"] = "AddSquare";
470
+ IconName["AfterHours"] = "AfterHours";
581
471
  IconName["Ai"] = "Ai";
582
472
  IconName["AlternateEmail"] = "AlternateEmail";
583
473
  IconName["AppleLogo"] = "AppleLogo";