@metamask-previews/design-system-react-native 0.4.1-preview.c08e845 → 0.5.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 (39) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
  3. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +5 -5
  4. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
  5. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +5 -5
  6. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
  7. package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
  8. package/dist/components/ButtonIcon/ButtonIcon.cjs +1 -1
  9. package/dist/components/ButtonIcon/ButtonIcon.cjs.map +1 -1
  10. package/dist/components/ButtonIcon/ButtonIcon.constants.cjs +3 -3
  11. package/dist/components/ButtonIcon/ButtonIcon.constants.cjs.map +1 -1
  12. package/dist/components/ButtonIcon/ButtonIcon.constants.mjs +3 -3
  13. package/dist/components/ButtonIcon/ButtonIcon.constants.mjs.map +1 -1
  14. package/dist/components/ButtonIcon/ButtonIcon.mjs +1 -1
  15. package/dist/components/ButtonIcon/ButtonIcon.mjs.map +1 -1
  16. package/dist/components/Icon/Icon.assets.cjs +2 -0
  17. package/dist/components/Icon/Icon.assets.cjs.map +1 -1
  18. package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
  19. package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
  20. package/dist/components/Icon/Icon.assets.mjs +2 -0
  21. package/dist/components/Icon/Icon.assets.mjs.map +1 -1
  22. package/dist/components/Icon/assets/after-hours.svg +1 -0
  23. package/dist/components/Text/Text.types.cjs.map +1 -1
  24. package/dist/components/Text/Text.types.d.cts +1 -1
  25. package/dist/components/Text/Text.types.d.mts +1 -1
  26. package/dist/components/Text/Text.types.mjs.map +1 -1
  27. package/dist/components/temp-components/Jazzicon/Jazzicon.cjs.map +1 -1
  28. package/dist/components/temp-components/Jazzicon/Jazzicon.d.cts.map +1 -1
  29. package/dist/components/temp-components/Jazzicon/Jazzicon.d.mts.map +1 -1
  30. package/dist/components/temp-components/Jazzicon/Jazzicon.mjs.map +1 -1
  31. package/dist/types/index.cjs +260 -356
  32. package/dist/types/index.cjs.map +1 -1
  33. package/dist/types/index.d.cts +275 -247
  34. package/dist/types/index.d.cts.map +1 -1
  35. package/dist/types/index.d.mts +275 -247
  36. package/dist/types/index.d.mts.map +1 -1
  37. package/dist/types/index.mjs +248 -356
  38. package/dist/types/index.mjs.map +1 -1
  39. package/package.json +8 -8
@@ -1,530 +1,433 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IconName = exports.IconSize = exports.IconColor = exports.TextButtonSize = exports.FontFamily = exports.FontStyle = exports.FontWeight = exports.TextColor = exports.TextVariant = exports.ButtonIconSize = exports.ButtonVariant = exports.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonSize = 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.AvatarIconSeverity = exports.AvatarGroupVariant = 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"] = "16";
8
+ Xs: '16',
13
9
  /**
14
10
  * Represents a small avatar size (24px).
15
11
  */
16
- AvatarBaseSize["Sm"] = "24";
12
+ Sm: '24',
17
13
  /**
18
14
  * Represents a medium avatar size (32px).
19
15
  */
20
- AvatarBaseSize["Md"] = "32";
16
+ Md: '32',
21
17
  /**
22
18
  * Represents a large avatar size (40px).
23
19
  */
24
- AvatarBaseSize["Lg"] = "40";
20
+ Lg: '40',
25
21
  /**
26
22
  * Represents an extra large avatar size (48px).
27
23
  */
28
- AvatarBaseSize["Xl"] = "48";
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: '48',
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
- * AvatarGroup - variant
55
- */
56
- var AvatarGroupVariant;
57
- (function (AvatarGroupVariant) {
58
- AvatarGroupVariant["Account"] = "Account";
59
- AvatarGroupVariant["Favicon"] = "Favicon";
60
- AvatarGroupVariant["Network"] = "Network";
61
- AvatarGroupVariant["Token"] = "Token";
62
- })(AvatarGroupVariant || (exports.AvatarGroupVariant = AvatarGroupVariant = {}));
63
- /**
64
- * AvatarIcon - severity
65
- */
66
- var AvatarIconSeverity;
67
- (function (AvatarIconSeverity) {
68
- AvatarIconSeverity["Neutral"] = "neutral";
69
- AvatarIconSeverity["Info"] = "info";
70
- AvatarIconSeverity["Success"] = "success";
71
- // eslint-disable-next-line @typescript-eslint/no-shadow
72
- AvatarIconSeverity["Error"] = "error";
73
- AvatarIconSeverity["Warning"] = "warning";
74
- })(AvatarIconSeverity || (exports.AvatarIconSeverity = AvatarIconSeverity = {}));
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.AvatarGroupVariant = {
50
+ Account: 'Account',
51
+ Favicon: 'Favicon',
52
+ Network: 'Network',
53
+ Token: 'Token',
54
+ };
55
+ exports.AvatarIconSeverity = {
56
+ Neutral: 'neutral',
57
+ Info: 'info',
58
+ Success: 'success',
59
+ Error: 'error',
60
+ Warning: 'warning',
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.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonSize = exports.ButtonBaseSize = ButtonBaseSize = {}));
322
- /**
323
- * Button - variant
324
- */
325
- var ButtonVariant;
326
- (function (ButtonVariant) {
327
- ButtonVariant["Primary"] = "Primary";
328
- ButtonVariant["Secondary"] = "Secondary";
329
- ButtonVariant["Tertiary"] = "Tertiary";
330
- })(ButtonVariant || (exports.ButtonVariant = ButtonVariant = {}));
331
- /**
332
- * ButtonIcon - size
333
- */
334
- var ButtonIconSize;
335
- (function (ButtonIconSize) {
259
+ Lg: 'lg',
260
+ };
261
+ exports.ButtonSize = exports.ButtonBaseSize;
262
+ exports.ButtonPrimarySize = exports.ButtonBaseSize;
263
+ exports.ButtonSecondarySize = exports.ButtonBaseSize;
264
+ exports.ButtonTertiarySize = exports.ButtonBaseSize;
265
+ exports.ButtonVariant = {
266
+ Primary: 'Primary',
267
+ Secondary: 'Secondary',
268
+ Tertiary: 'Tertiary',
269
+ };
270
+ exports.ButtonIconSize = {
336
271
  /**
337
272
  * Represents a small button size (24px).
338
273
  */
339
- ButtonIconSize["Sm"] = "sm";
274
+ Sm: 'sm',
340
275
  /**
341
276
  * Represents a medium button size (32px).
342
277
  */
343
- ButtonIconSize["Md"] = "md";
278
+ Md: 'md',
344
279
  /**
345
280
  * Represents a large button size (40px).
346
281
  */
347
- ButtonIconSize["Lg"] = "lg";
348
- })(ButtonIconSize || (exports.ButtonIconSize = ButtonIconSize = {}));
349
- /**
350
- * Text - variant
351
- */
352
- var TextVariant;
353
- (function (TextVariant) {
282
+ Lg: 'lg',
283
+ };
284
+ exports.TextVariant = {
354
285
  // Display Sizes
355
- TextVariant["DisplayLg"] = "display-lg";
356
- TextVariant["DisplayMd"] = "display-md";
286
+ DisplayLg: 'display-lg',
287
+ DisplayMd: 'display-md',
357
288
  // Heading Sizes
358
- TextVariant["HeadingLg"] = "heading-lg";
359
- TextVariant["HeadingMd"] = "heading-md";
360
- TextVariant["HeadingSm"] = "heading-sm";
289
+ HeadingLg: 'heading-lg',
290
+ HeadingMd: 'heading-md',
291
+ HeadingSm: 'heading-sm',
361
292
  // Body Sizes
362
- TextVariant["BodyLg"] = "body-lg";
363
- TextVariant["BodyMd"] = "body-md";
364
- TextVariant["BodySm"] = "body-sm";
365
- TextVariant["BodyXs"] = "body-xs";
293
+ BodyLg: 'body-lg',
294
+ BodyMd: 'body-md',
295
+ BodySm: 'body-sm',
296
+ BodyXs: 'body-xs',
366
297
  // Special Typography Variants
367
- TextVariant["PageHeading"] = "page-heading";
368
- TextVariant["SectionHeading"] = "section-heading";
369
- TextVariant["ButtonLabelMd"] = "button-label-md";
370
- TextVariant["ButtonLabelLg"] = "button-label-lg";
371
- TextVariant["AmountDisplayLg"] = "amount-display-lg";
372
- })(TextVariant || (exports.TextVariant = TextVariant = {}));
373
- /**
374
- * Text - color
375
- */
376
- var TextColor;
377
- (function (TextColor) {
298
+ PageHeading: 'page-heading',
299
+ SectionHeading: 'section-heading',
300
+ ButtonLabelMd: 'button-label-md',
301
+ ButtonLabelLg: 'button-label-lg',
302
+ AmountDisplayLg: 'amount-display-lg',
303
+ };
304
+ exports.TextColor = {
378
305
  /** For default neutral text. */
379
- TextColor["TextDefault"] = "text-default";
306
+ TextDefault: 'text-default',
380
307
  /** For softer contrast neutral text */
381
- TextColor["TextAlternative"] = "text-alternative";
308
+ TextAlternative: 'text-alternative',
382
309
  /** For the softest contrast neutral text (not accessible) */
383
- TextColor["TextMuted"] = "text-muted";
310
+ TextMuted: 'text-muted',
384
311
  /** For elements used on top of overlay/alternative. */
385
- TextColor["OverlayInverse"] = "text-overlay-inverse";
312
+ OverlayInverse: 'text-overlay-inverse',
386
313
  /** For interactive, active, and selected semantics. */
387
- TextColor["PrimaryDefault"] = "text-primary-default";
314
+ PrimaryDefault: 'text-primary-default',
388
315
  /** For softer variants of primary text. */
389
- TextColor["PrimaryAlternative"] = "text-primary-alternative";
316
+ PrimaryAlternative: 'text-primary-alternative',
390
317
  /** For elements used on top of primary/default. */
391
- TextColor["PrimaryInverse"] = "text-primary-inverse";
318
+ PrimaryInverse: 'text-primary-inverse',
392
319
  /** For primary text in a pressed state. */
393
- TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
320
+ PrimaryDefaultPressed: 'text-primary-default-pressed',
394
321
  /** For critical alert text. */
395
- TextColor["ErrorDefault"] = "text-error-default";
322
+ ErrorDefault: 'text-error-default',
396
323
  /** For stronger contrast error text. */
397
- TextColor["ErrorAlternative"] = "text-error-alternative";
324
+ ErrorAlternative: 'text-error-alternative',
398
325
  /** For elements used on top of error/default. */
399
- TextColor["ErrorInverse"] = "text-error-inverse";
326
+ ErrorInverse: 'text-error-inverse',
400
327
  /** For critical alert text in a pressed state. */
401
- TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
328
+ ErrorDefaultPressed: 'text-error-default-pressed',
402
329
  /** For caution alert text. */
403
- TextColor["WarningDefault"] = "text-warning-default";
330
+ WarningDefault: 'text-warning-default',
404
331
  /** For elements used on top of warning/default. */
405
- TextColor["WarningInverse"] = "text-warning-inverse";
332
+ WarningInverse: 'text-warning-inverse',
406
333
  /** For caution text in a pressed state. */
407
- TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
334
+ WarningDefaultPressed: 'text-warning-default-pressed',
408
335
  /** For positive semantic text. */
409
- TextColor["SuccessDefault"] = "text-success-default";
336
+ SuccessDefault: 'text-success-default',
410
337
  /** For elements used on top of success/default. */
411
- TextColor["SuccessInverse"] = "text-success-inverse";
338
+ SuccessInverse: 'text-success-inverse',
412
339
  /** For positive text in a pressed state. */
413
- TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
340
+ SuccessDefaultPressed: 'text-success-default-pressed',
414
341
  /** For informational read-only text. */
415
- TextColor["InfoDefault"] = "text-info-default";
342
+ InfoDefault: 'text-info-default',
416
343
  /** For elements used on top of info/default. */
417
- TextColor["InfoInverse"] = "text-info-inverse";
344
+ InfoInverse: 'text-info-inverse',
418
345
  /** Make the text color transparent. */
419
- TextColor["Transparent"] = "text-transparent";
420
- })(TextColor || (exports.TextColor = TextColor = {}));
421
- /**
422
- * Text - fontWeight
423
- */
424
- var FontWeight;
425
- (function (FontWeight) {
346
+ Transparent: 'text-transparent',
347
+ };
348
+ exports.FontWeight = {
426
349
  /**
427
- * Weight - 600
350
+ * Weight - 700
428
351
  */
429
- FontWeight["Bold"] = "600";
352
+ Bold: '700',
430
353
  /**
431
354
  * Weight - 500
432
355
  */
433
- FontWeight["Medium"] = "500";
356
+ Medium: '500',
434
357
  /**
435
358
  * Weight - 400
436
359
  */
437
- FontWeight["Regular"] = "400";
438
- })(FontWeight || (exports.FontWeight = FontWeight = {}));
439
- /**
440
- * Text - fontStyle
441
- */
442
- var FontStyle;
443
- (function (FontStyle) {
444
- FontStyle["Italic"] = "italic";
445
- FontStyle["Normal"] = "normal";
446
- })(FontStyle || (exports.FontStyle = FontStyle = {}));
447
- /**
448
- * Text - fontFamily
449
- */
450
- var FontFamily;
451
- (function (FontFamily) {
452
- FontFamily["Default"] = "default";
453
- FontFamily["Accent"] = "accent";
454
- FontFamily["Hero"] = "hero";
455
- })(FontFamily || (exports.FontFamily = FontFamily = {}));
456
- /**
457
- * TextButton - Size
458
- */
459
- var TextButtonSize;
460
- (function (TextButtonSize) {
461
- TextButtonSize["BodyLg"] = "body-lg";
462
- TextButtonSize["BodyMd"] = "body-md";
463
- TextButtonSize["BodySm"] = "body-sm";
464
- TextButtonSize["BodyXs"] = "body-xs";
465
- })(TextButtonSize || (exports.TextButtonSize = TextButtonSize = {}));
466
- /**
467
- * Icon - color
468
- */
469
- var IconColor;
470
- (function (IconColor) {
360
+ Regular: '400',
361
+ };
362
+ exports.FontStyle = {
363
+ Italic: 'italic',
364
+ Normal: 'normal',
365
+ };
366
+ exports.FontFamily = {
367
+ Default: 'default',
368
+ Accent: 'accent',
369
+ Hero: 'hero',
370
+ };
371
+ exports.TextButtonSize = {
372
+ BodyLg: 'body-lg',
373
+ BodyMd: 'body-md',
374
+ BodySm: 'body-sm',
375
+ BodyXs: 'body-xs',
376
+ };
377
+ exports.IconColor = {
471
378
  /** For default neutral icons */
472
- IconColor["IconDefault"] = "text-icon-default";
379
+ IconDefault: 'text-icon-default',
473
380
  /** For softer neutral icons */
474
- IconColor["IconAlternative"] = "text-icon-alternative";
381
+ IconAlternative: 'text-icon-alternative',
475
382
  /** For the weakest contrast neutral icons (not accessible) */
476
- IconColor["IconMuted"] = "text-icon-muted";
383
+ IconMuted: 'text-icon-muted',
477
384
  /** For elements used on top of overlay/alternative. Used for text, icon, or border */
478
- IconColor["OverlayInverse"] = "text-overlay-inverse";
385
+ OverlayInverse: 'text-overlay-inverse',
479
386
  /** For interactive, active, and selected semantics. Used for text, background, icon, or border */
480
- IconColor["PrimaryDefault"] = "text-primary-default";
387
+ PrimaryDefault: 'text-primary-default',
481
388
  /** For softer variants of primary interactive elements */
482
- IconColor["PrimaryAlternative"] = "text-primary-alternative";
389
+ PrimaryAlternative: 'text-primary-alternative',
483
390
  /** For elements used on top of primary/default. Used for text, icon, or border */
484
- IconColor["PrimaryInverse"] = "text-primary-inverse";
391
+ PrimaryInverse: 'text-primary-inverse',
485
392
  /** For primary interactive elements in a pressed state */
486
- IconColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
393
+ PrimaryDefaultPressed: 'text-primary-default-pressed',
487
394
  /** For critical alert semantic elements. Used for text, background, icon, or border */
488
- IconColor["ErrorDefault"] = "text-error-default";
395
+ ErrorDefault: 'text-error-default',
489
396
  /** For softer variants of error elements */
490
- IconColor["ErrorAlternative"] = "text-error-alternative";
397
+ ErrorAlternative: 'text-error-alternative',
491
398
  /** For elements used on top of error/default. Used for text, icon, or border */
492
- IconColor["ErrorInverse"] = "text-error-inverse";
399
+ ErrorInverse: 'text-error-inverse',
493
400
  /** For critical alert semantic elements in a pressed state */
494
- IconColor["ErrorDefaultPressed"] = "text-error-default-pressed";
401
+ ErrorDefaultPressed: 'text-error-default-pressed',
495
402
  /** For caution alert semantic elements. Used for text, background, icon, or border */
496
- IconColor["WarningDefault"] = "text-warning-default";
403
+ WarningDefault: 'text-warning-default',
497
404
  /** For elements used on top of warning/default. Used for text, icon, or border */
498
- IconColor["WarningInverse"] = "text-warning-inverse";
405
+ WarningInverse: 'text-warning-inverse',
499
406
  /** For caution alert semantic elements in a pressed state */
500
- IconColor["WarningDefaultPressed"] = "text-warning-default-pressed";
407
+ WarningDefaultPressed: 'text-warning-default-pressed',
501
408
  /** For positive semantic elements. Used for text, background, icon, or border */
502
- IconColor["SuccessDefault"] = "text-success-default";
409
+ SuccessDefault: 'text-success-default',
503
410
  /** For elements used on top of success/default. Used for text, icon, or border */
504
- IconColor["SuccessInverse"] = "text-success-inverse";
411
+ SuccessInverse: 'text-success-inverse',
505
412
  /** For positive semantic elements in a pressed state */
506
- IconColor["SuccessDefaultPressed"] = "text-success-default-pressed";
413
+ SuccessDefaultPressed: 'text-success-default-pressed',
507
414
  /** For informational read-only elements. Used for text, background, icon, or border */
508
- IconColor["InfoDefault"] = "text-info-default";
415
+ InfoDefault: 'text-info-default',
509
416
  /** For elements used on top of info/default. Used for text, icon, or border */
510
- IconColor["InfoInverse"] = "text-info-inverse";
511
- })(IconColor || (exports.IconColor = IconColor = {}));
512
- /**
513
- * Icon - size
514
- */
515
- var IconSize;
516
- (function (IconSize) {
417
+ InfoInverse: 'text-info-inverse',
418
+ };
419
+ exports.IconSize = {
517
420
  /** Extra small - 12px */
518
- IconSize["Xs"] = "12";
421
+ Xs: '12',
519
422
  /** Small - 16px */
520
- IconSize["Sm"] = "16";
423
+ Sm: '16',
521
424
  /** Medium - 20px (Default) */
522
- IconSize["Md"] = "20";
425
+ Md: '20',
523
426
  /** Large - 24px */
524
- IconSize["Lg"] = "24";
427
+ Lg: '24',
525
428
  /** Extra large - 32px */
526
- IconSize["Xl"] = "32";
527
- })(IconSize || (exports.IconSize = IconSize = {}));
429
+ Xl: '32',
430
+ };
528
431
  // /////////////////////////////////////////////////////
529
432
  // This is generated code - Manually add types above
530
433
  // DO NOT EDIT - Use generate-assets.js
@@ -541,6 +444,7 @@ var IconName;
541
444
  IconName["AddCircle"] = "AddCircle";
542
445
  IconName["AddSquare"] = "AddSquare";
543
446
  IconName["Add"] = "Add";
447
+ IconName["AfterHours"] = "AfterHours";
544
448
  IconName["Ai"] = "Ai";
545
449
  IconName["AlternateEmail"] = "AlternateEmail";
546
450
  IconName["AppleLogo"] = "AppleLogo";