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