@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.
- package/CHANGELOG.md +31 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.cts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.mts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +5 -5
- package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
- package/dist/components/Button/Button.types.cjs.map +1 -1
- package/dist/components/Button/Button.types.d.cts +3 -3
- package/dist/components/Button/Button.types.d.cts.map +1 -1
- package/dist/components/Button/Button.types.d.mts +3 -3
- package/dist/components/Button/Button.types.d.mts.map +1 -1
- package/dist/components/Button/Button.types.mjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.cjs +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.cjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.cjs +3 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.cjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts +3 -4
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts +3 -4
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.mjs +3 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.mjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.mjs +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.mjs.map +1 -1
- package/dist/components/Icon/icons/AfterHours.cjs +32 -0
- package/dist/components/Icon/icons/AfterHours.cjs.map +1 -0
- package/dist/components/Icon/icons/AfterHours.d.cts +4 -0
- package/dist/components/Icon/icons/AfterHours.d.cts.map +1 -0
- package/dist/components/Icon/icons/AfterHours.d.mts +4 -0
- package/dist/components/Icon/icons/AfterHours.d.mts.map +1 -0
- package/dist/components/Icon/icons/AfterHours.mjs +7 -0
- package/dist/components/Icon/icons/AfterHours.mjs.map +1 -0
- package/dist/components/Icon/icons/index.cjs +2 -0
- package/dist/components/Icon/icons/index.cjs.map +1 -1
- package/dist/components/Icon/icons/index.d.cts +1 -0
- package/dist/components/Icon/icons/index.d.cts.map +1 -1
- package/dist/components/Icon/icons/index.d.mts +1 -0
- package/dist/components/Icon/icons/index.d.mts.map +1 -1
- package/dist/components/Icon/icons/index.mjs +2 -0
- package/dist/components/Icon/icons/index.mjs.map +1 -1
- package/dist/components/Text/Text.types.cjs.map +1 -1
- package/dist/components/Text/Text.types.d.cts +1 -1
- package/dist/components/Text/Text.types.d.mts +1 -1
- package/dist/components/Text/Text.types.mjs.map +1 -1
- package/dist/types/index.cjs +276 -386
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +293 -262
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +293 -262
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +263 -386
- package/dist/types/index.mjs.map +1 -1
- package/package.json +6 -7
package/dist/types/index.cjs
CHANGED
|
@@ -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
|
-
|
|
8
|
+
Xs: 'xs',
|
|
13
9
|
/**
|
|
14
10
|
* Represents a small avatar size (24px).
|
|
15
11
|
*/
|
|
16
|
-
|
|
12
|
+
Sm: 'sm',
|
|
17
13
|
/**
|
|
18
14
|
* Represents a medium avatar size (32px).
|
|
19
15
|
*/
|
|
20
|
-
|
|
16
|
+
Md: 'md',
|
|
21
17
|
/**
|
|
22
18
|
* Represents a large avatar size (40px).
|
|
23
19
|
*/
|
|
24
|
-
|
|
20
|
+
Lg: 'lg',
|
|
25
21
|
/**
|
|
26
22
|
* Represents an extra large avatar size (48px).
|
|
27
23
|
*/
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
|
|
37
|
+
Circle: 'circle',
|
|
39
38
|
/**
|
|
40
39
|
* Represents a squared Avatar
|
|
41
40
|
*/
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
66
|
+
Md: 'md',
|
|
84
67
|
/**
|
|
85
68
|
* Represents a large badge count (20px height).
|
|
86
69
|
*/
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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
|
-
|
|
83
|
+
Md: 'md',
|
|
109
84
|
/**
|
|
110
85
|
* Represents a large avatar size (10px).
|
|
111
86
|
*/
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
-
|
|
127
|
+
BackgroundDefault: 'bg-default',
|
|
181
128
|
/** Alternative background color */
|
|
182
|
-
|
|
129
|
+
BackgroundAlternative: 'bg-alternative',
|
|
183
130
|
/** Section background color */
|
|
184
|
-
|
|
131
|
+
BackgroundSection: 'bg-section',
|
|
185
132
|
/** Subsection background color */
|
|
186
|
-
|
|
133
|
+
BackgroundSubsection: 'bg-subsection',
|
|
187
134
|
/** Muted background color */
|
|
188
|
-
|
|
135
|
+
BackgroundMuted: 'bg-muted',
|
|
189
136
|
/** Primary default background color */
|
|
190
|
-
|
|
137
|
+
PrimaryDefault: 'bg-primary-default',
|
|
191
138
|
/** Primary alternative background color */
|
|
192
|
-
|
|
139
|
+
PrimaryAlternative: 'bg-primary-alternative',
|
|
193
140
|
/** Primary muted background color */
|
|
194
|
-
|
|
141
|
+
PrimaryMuted: 'bg-primary-muted',
|
|
195
142
|
/** Primary inverse background color */
|
|
196
|
-
|
|
143
|
+
PrimaryInverse: 'bg-primary-inverse',
|
|
197
144
|
/** Error default background color */
|
|
198
|
-
|
|
145
|
+
ErrorDefault: 'bg-error-default',
|
|
199
146
|
/** Error alternative background color */
|
|
200
|
-
|
|
147
|
+
ErrorAlternative: 'bg-error-alternative',
|
|
201
148
|
/** Error muted background color */
|
|
202
|
-
|
|
149
|
+
ErrorMuted: 'bg-error-muted',
|
|
203
150
|
/** Error inverse background color */
|
|
204
|
-
|
|
151
|
+
ErrorInverse: 'bg-error-inverse',
|
|
205
152
|
/** Warning default background color */
|
|
206
|
-
|
|
153
|
+
WarningDefault: 'bg-warning-default',
|
|
207
154
|
/** Warning alternative background color */
|
|
208
|
-
|
|
155
|
+
WarningAlternative: 'bg-warning-alternative',
|
|
209
156
|
/** Warning muted background color */
|
|
210
|
-
|
|
157
|
+
WarningMuted: 'bg-warning-muted',
|
|
211
158
|
/** Warning inverse background color */
|
|
212
|
-
|
|
159
|
+
WarningInverse: 'bg-warning-inverse',
|
|
213
160
|
/** Success default background color */
|
|
214
|
-
|
|
161
|
+
SuccessDefault: 'bg-success-default',
|
|
215
162
|
/** Success alternative background color */
|
|
216
|
-
|
|
163
|
+
SuccessAlternative: 'bg-success-alternative',
|
|
217
164
|
/** Success muted background color */
|
|
218
|
-
|
|
165
|
+
SuccessMuted: 'bg-success-muted',
|
|
219
166
|
/** Success inverse background color */
|
|
220
|
-
|
|
167
|
+
SuccessInverse: 'bg-success-inverse',
|
|
221
168
|
/** Info default background color */
|
|
222
|
-
|
|
169
|
+
InfoDefault: 'bg-info-default',
|
|
223
170
|
/** Info muted background color */
|
|
224
|
-
|
|
171
|
+
InfoMuted: 'bg-info-muted',
|
|
225
172
|
/** Info inverse background color */
|
|
226
|
-
|
|
173
|
+
InfoInverse: 'bg-info-inverse',
|
|
227
174
|
/** Flask default background color */
|
|
228
|
-
|
|
175
|
+
FlaskDefault: 'bg-flask-default',
|
|
229
176
|
/** Flask inverse background color */
|
|
230
|
-
|
|
177
|
+
FlaskInverse: 'bg-flask-inverse',
|
|
231
178
|
/** Overlay alternative background color */
|
|
232
|
-
|
|
179
|
+
OverlayAlternative: 'bg-overlay-alternative',
|
|
233
180
|
/** Overlay default background color */
|
|
234
|
-
|
|
181
|
+
OverlayDefault: 'bg-overlay-default',
|
|
235
182
|
/** Overlay inverse background color */
|
|
236
|
-
|
|
183
|
+
OverlayInverse: 'bg-overlay-inverse',
|
|
237
184
|
/** Transparent background color */
|
|
238
|
-
|
|
239
|
-
}
|
|
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
|
-
|
|
189
|
+
BackgroundDefault: 'border-background-default',
|
|
247
190
|
/** Default border color */
|
|
248
|
-
|
|
191
|
+
BorderDefault: 'border-default',
|
|
249
192
|
/** Muted border color */
|
|
250
|
-
|
|
193
|
+
BorderMuted: 'border-muted',
|
|
251
194
|
/** Primary default border color */
|
|
252
|
-
|
|
195
|
+
PrimaryDefault: 'border-primary-default',
|
|
253
196
|
/** Primary alternative border color */
|
|
254
|
-
|
|
197
|
+
PrimaryAlternative: 'border-primary-alternative',
|
|
255
198
|
/** Primary muted border color */
|
|
256
|
-
|
|
199
|
+
PrimaryMuted: 'border-primary-muted',
|
|
257
200
|
/** Primary inverse border color */
|
|
258
|
-
|
|
201
|
+
PrimaryInverse: 'border-primary-inverse',
|
|
259
202
|
/** Error default border color */
|
|
260
|
-
|
|
203
|
+
ErrorDefault: 'border-error-default',
|
|
261
204
|
/** Error alternative border color */
|
|
262
|
-
|
|
205
|
+
ErrorAlternative: 'border-error-alternative',
|
|
263
206
|
/** Error muted border color */
|
|
264
|
-
|
|
207
|
+
ErrorMuted: 'border-error-muted',
|
|
265
208
|
/** Error inverse border color */
|
|
266
|
-
|
|
209
|
+
ErrorInverse: 'border-error-inverse',
|
|
267
210
|
/** Warning default border color */
|
|
268
|
-
|
|
211
|
+
WarningDefault: 'border-warning-default',
|
|
269
212
|
/** Warning alternative border color */
|
|
270
|
-
|
|
213
|
+
WarningAlternative: 'border-warning-alternative',
|
|
271
214
|
/** Warning muted border color */
|
|
272
|
-
|
|
215
|
+
WarningMuted: 'border-warning-muted',
|
|
273
216
|
/** Warning inverse border color */
|
|
274
|
-
|
|
217
|
+
WarningInverse: 'border-warning-inverse',
|
|
275
218
|
/** Success default border color */
|
|
276
|
-
|
|
219
|
+
SuccessDefault: 'border-success-default',
|
|
277
220
|
/** Success alternative border color */
|
|
278
|
-
|
|
221
|
+
SuccessAlternative: 'border-success-alternative',
|
|
279
222
|
/** Success muted border color */
|
|
280
|
-
|
|
223
|
+
SuccessMuted: 'border-success-muted',
|
|
281
224
|
/** Success inverse border color */
|
|
282
|
-
|
|
225
|
+
SuccessInverse: 'border-success-inverse',
|
|
283
226
|
/** Info default border color */
|
|
284
|
-
|
|
227
|
+
InfoDefault: 'border-info-default',
|
|
285
228
|
/** Info alternative border color */
|
|
286
|
-
|
|
229
|
+
InfoAlternative: 'border-info-alternative',
|
|
287
230
|
/** Info muted border color */
|
|
288
|
-
|
|
231
|
+
InfoMuted: 'border-info-muted',
|
|
289
232
|
/** Info inverse border color */
|
|
290
|
-
|
|
233
|
+
InfoInverse: 'border-info-inverse',
|
|
291
234
|
/** Flask default border color */
|
|
292
|
-
|
|
235
|
+
FlaskDefault: 'border-flask-default',
|
|
293
236
|
/** Flask inverse border color */
|
|
294
|
-
|
|
237
|
+
FlaskInverse: 'border-flask-inverse',
|
|
295
238
|
/** Overlay alternative border color */
|
|
296
|
-
|
|
239
|
+
OverlayAlternative: 'border-overlay-alternative',
|
|
297
240
|
/** Overlay default border color */
|
|
298
|
-
|
|
241
|
+
OverlayDefault: 'border-overlay-default',
|
|
299
242
|
/** Overlay inverse border color */
|
|
300
|
-
|
|
243
|
+
OverlayInverse: 'border-overlay-inverse',
|
|
301
244
|
/** Transparent border color */
|
|
302
|
-
|
|
303
|
-
}
|
|
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
|
-
|
|
251
|
+
Sm: 'sm',
|
|
313
252
|
/**
|
|
314
253
|
* Represents a medium button size (40px).
|
|
315
254
|
*/
|
|
316
|
-
|
|
255
|
+
Md: 'md',
|
|
317
256
|
/**
|
|
318
257
|
* Represents a large button size (48px).
|
|
319
258
|
*/
|
|
320
|
-
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
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
|
-
|
|
270
|
+
Primary: 'primary',
|
|
331
271
|
/**
|
|
332
272
|
* Secondary button variant - used for secondary actions
|
|
333
273
|
*/
|
|
334
|
-
|
|
274
|
+
Secondary: 'secondary',
|
|
335
275
|
/**
|
|
336
276
|
* Tertiary button variant - used for tertiary-like actions
|
|
337
277
|
*/
|
|
338
|
-
|
|
339
|
-
}
|
|
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
|
-
|
|
284
|
+
Sm: 'sm',
|
|
349
285
|
/**
|
|
350
286
|
* Represents a medium button size (32px).
|
|
351
287
|
*/
|
|
352
|
-
|
|
288
|
+
Md: 'md',
|
|
353
289
|
/**
|
|
354
290
|
* Represents a large button size (40px).
|
|
355
291
|
*/
|
|
356
|
-
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
* Text - variant
|
|
360
|
-
*/
|
|
361
|
-
var TextVariant;
|
|
362
|
-
(function (TextVariant) {
|
|
292
|
+
Lg: 'lg',
|
|
293
|
+
};
|
|
294
|
+
exports.TextVariant = {
|
|
363
295
|
// Display Sizes
|
|
364
|
-
|
|
365
|
-
|
|
296
|
+
DisplayLg: 'display-lg',
|
|
297
|
+
DisplayMd: 'display-md',
|
|
366
298
|
// Heading Sizes
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
299
|
+
HeadingLg: 'heading-lg',
|
|
300
|
+
HeadingMd: 'heading-md',
|
|
301
|
+
HeadingSm: 'heading-sm',
|
|
370
302
|
// Font Sizes
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
303
|
+
BodyLg: 'body-lg',
|
|
304
|
+
BodyMd: 'body-md',
|
|
305
|
+
BodySm: 'body-sm',
|
|
306
|
+
BodyXs: 'body-xs',
|
|
375
307
|
// Special Typography Variants
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
}
|
|
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
|
-
|
|
316
|
+
TextDefault: 'text-default',
|
|
389
317
|
/** For softer contrast neutral text */
|
|
390
|
-
|
|
318
|
+
TextAlternative: 'text-alternative',
|
|
391
319
|
/** For the softest contrast neutral text (not accessible) */
|
|
392
|
-
|
|
320
|
+
TextMuted: 'text-muted',
|
|
393
321
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
394
|
-
|
|
322
|
+
OverlayInverse: 'text-overlay-inverse',
|
|
395
323
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
396
|
-
|
|
324
|
+
PrimaryDefault: 'text-primary-default',
|
|
397
325
|
/** For primary text in a hover state. */
|
|
398
|
-
|
|
326
|
+
PrimaryDefaultHover: 'text-primary-default-hover',
|
|
399
327
|
/** For primary text in a pressed state. */
|
|
400
|
-
|
|
328
|
+
PrimaryDefaultPressed: 'text-primary-default-pressed',
|
|
401
329
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
402
|
-
|
|
330
|
+
PrimaryInverse: 'text-primary-inverse',
|
|
403
331
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
404
|
-
|
|
332
|
+
ErrorDefault: 'text-error-default',
|
|
405
333
|
/** For critical alert text in a hover state. */
|
|
406
|
-
|
|
334
|
+
ErrorDefaultHover: 'text-error-default-hover',
|
|
407
335
|
/** For critical alert text in a pressed state. */
|
|
408
|
-
|
|
336
|
+
ErrorDefaultPressed: 'text-error-default-pressed',
|
|
409
337
|
/** For the stronger contrast error semantic elements. */
|
|
410
|
-
|
|
338
|
+
ErrorAlternative: 'text-error-alternative',
|
|
411
339
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
412
|
-
|
|
340
|
+
ErrorInverse: 'text-error-inverse',
|
|
413
341
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
414
|
-
|
|
342
|
+
SuccessDefault: 'text-success-default',
|
|
415
343
|
/** For positive text in a hover state. */
|
|
416
|
-
|
|
344
|
+
SuccessDefaultHover: 'text-success-default-hover',
|
|
417
345
|
/** For positive text in a pressed state. */
|
|
418
|
-
|
|
346
|
+
SuccessDefaultPressed: 'text-success-default-pressed',
|
|
419
347
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
420
|
-
|
|
348
|
+
SuccessInverse: 'text-success-inverse',
|
|
421
349
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
422
|
-
|
|
350
|
+
WarningDefault: 'text-warning-default',
|
|
423
351
|
/** For caution text in a hover state. */
|
|
424
|
-
|
|
352
|
+
WarningDefaultHover: 'text-warning-default-hover',
|
|
425
353
|
/** For caution text in a pressed state. */
|
|
426
|
-
|
|
354
|
+
WarningDefaultPressed: 'text-warning-default-pressed',
|
|
427
355
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
428
|
-
|
|
356
|
+
WarningInverse: 'text-warning-inverse',
|
|
429
357
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
430
|
-
|
|
358
|
+
InfoDefault: 'text-info-default',
|
|
431
359
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
432
|
-
|
|
360
|
+
InfoInverse: 'text-info-inverse',
|
|
433
361
|
/** Inherit the color of the parent element */
|
|
434
|
-
|
|
362
|
+
Inherit: 'text-inherit',
|
|
435
363
|
/** Make the text color transparent */
|
|
436
|
-
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
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 -
|
|
374
|
+
* Weight - 700
|
|
455
375
|
*/
|
|
456
|
-
|
|
376
|
+
Bold: 'font-bold',
|
|
457
377
|
/**
|
|
458
378
|
* Weight - 500
|
|
459
379
|
*/
|
|
460
|
-
|
|
380
|
+
Medium: 'font-medium',
|
|
461
381
|
/**
|
|
462
382
|
* Weight - 400
|
|
463
383
|
*/
|
|
464
|
-
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
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
|
-
|
|
414
|
+
Xs: 'xs',
|
|
522
415
|
/** Small - 16px */
|
|
523
|
-
|
|
416
|
+
Sm: 'sm',
|
|
524
417
|
/** Medium - 20px (Default) */
|
|
525
|
-
|
|
418
|
+
Md: 'md',
|
|
526
419
|
/** Large - 24px */
|
|
527
|
-
|
|
420
|
+
Lg: 'lg',
|
|
528
421
|
/** Extra large - 32px */
|
|
529
|
-
|
|
530
|
-
}
|
|
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
|
-
|
|
426
|
+
IconDefault: 'text-icon-default',
|
|
538
427
|
/** For softer neutral icons */
|
|
539
|
-
|
|
428
|
+
IconAlternative: 'text-icon-alternative',
|
|
540
429
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
541
|
-
|
|
430
|
+
IconMuted: 'text-icon-muted',
|
|
542
431
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
543
|
-
|
|
432
|
+
OverlayInverse: 'text-overlay-inverse',
|
|
544
433
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
545
|
-
|
|
434
|
+
PrimaryDefault: 'text-primary-default',
|
|
546
435
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
547
|
-
|
|
436
|
+
PrimaryInverse: 'text-primary-inverse',
|
|
548
437
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
549
|
-
|
|
438
|
+
ErrorDefault: 'text-error-default',
|
|
550
439
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
551
|
-
|
|
440
|
+
ErrorInverse: 'text-error-inverse',
|
|
552
441
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
553
|
-
|
|
442
|
+
SuccessDefault: 'text-success-default',
|
|
554
443
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
555
|
-
|
|
444
|
+
SuccessInverse: 'text-success-inverse',
|
|
556
445
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
557
|
-
|
|
446
|
+
WarningDefault: 'text-warning-default',
|
|
558
447
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
559
|
-
|
|
448
|
+
WarningInverse: 'text-warning-inverse',
|
|
560
449
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
561
|
-
|
|
450
|
+
InfoDefault: 'text-info-default',
|
|
562
451
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
563
|
-
|
|
564
|
-
}
|
|
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";
|