@metamask-previews/design-system-react-native 0.5.1-preview.ab80aae → 0.5.1-preview.abc15cd
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/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/types/index.cjs +355 -258
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +246 -273
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +246 -273
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +355 -246
- package/dist/types/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/types/index.cjs
CHANGED
|
@@ -1,433 +1,530 @@
|
|
|
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
|
-
|
|
4
|
+
/**
|
|
5
|
+
* AvatarBase - size
|
|
6
|
+
*/
|
|
7
|
+
var AvatarBaseSize;
|
|
8
|
+
(function (AvatarBaseSize) {
|
|
5
9
|
/**
|
|
6
10
|
* Represents an extra small avatar size (16px).
|
|
7
11
|
*/
|
|
8
|
-
Xs
|
|
12
|
+
AvatarBaseSize["Xs"] = "16";
|
|
9
13
|
/**
|
|
10
14
|
* Represents a small avatar size (24px).
|
|
11
15
|
*/
|
|
12
|
-
Sm
|
|
16
|
+
AvatarBaseSize["Sm"] = "24";
|
|
13
17
|
/**
|
|
14
18
|
* Represents a medium avatar size (32px).
|
|
15
19
|
*/
|
|
16
|
-
Md
|
|
20
|
+
AvatarBaseSize["Md"] = "32";
|
|
17
21
|
/**
|
|
18
22
|
* Represents a large avatar size (40px).
|
|
19
23
|
*/
|
|
20
|
-
Lg
|
|
24
|
+
AvatarBaseSize["Lg"] = "40";
|
|
21
25
|
/**
|
|
22
26
|
* Represents an extra large avatar size (48px).
|
|
23
27
|
*/
|
|
24
|
-
Xl
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.AvatarTokenSize = exports.AvatarBaseSize;
|
|
32
|
-
exports.AvatarSize = exports.AvatarBaseSize;
|
|
33
|
-
exports.AvatarShape = {
|
|
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) {
|
|
34
35
|
/**
|
|
35
36
|
* Represents a circular Avatar.
|
|
36
37
|
*/
|
|
37
|
-
Circle
|
|
38
|
+
AvatarShape["Circle"] = "circle";
|
|
38
39
|
/**
|
|
39
40
|
* Represents a squared Avatar
|
|
40
41
|
*/
|
|
41
|
-
Square
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
|
|
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) {
|
|
63
80
|
/**
|
|
64
81
|
* Represents a medium badge count (14px height).
|
|
65
82
|
*/
|
|
66
|
-
Md
|
|
83
|
+
BadgeCountSize["Md"] = "Md";
|
|
67
84
|
/**
|
|
68
85
|
* Represents a large badge count (20px height).
|
|
69
86
|
*/
|
|
70
|
-
Lg
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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) {
|
|
80
105
|
/**
|
|
81
106
|
* Represents a medium badge status size (8px).
|
|
82
107
|
*/
|
|
83
|
-
Md
|
|
108
|
+
BadgeStatusSize["Md"] = "Md";
|
|
84
109
|
/**
|
|
85
110
|
* Represents a large avatar size (10px).
|
|
86
111
|
*/
|
|
87
|
-
Lg
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
exports.
|
|
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) {
|
|
126
179
|
/** Default background color */
|
|
127
|
-
BackgroundDefault
|
|
180
|
+
BoxBackgroundColor["BackgroundDefault"] = "bg-default";
|
|
128
181
|
/** Alternative background color */
|
|
129
|
-
BackgroundAlternative
|
|
182
|
+
BoxBackgroundColor["BackgroundAlternative"] = "bg-alternative";
|
|
130
183
|
/** Section background color */
|
|
131
|
-
BackgroundSection
|
|
184
|
+
BoxBackgroundColor["BackgroundSection"] = "bg-section";
|
|
132
185
|
/** Subsection background color */
|
|
133
|
-
BackgroundSubsection
|
|
186
|
+
BoxBackgroundColor["BackgroundSubsection"] = "bg-subsection";
|
|
134
187
|
/** Muted background color */
|
|
135
|
-
BackgroundMuted
|
|
188
|
+
BoxBackgroundColor["BackgroundMuted"] = "bg-muted";
|
|
136
189
|
/** Primary default background color */
|
|
137
|
-
PrimaryDefault
|
|
190
|
+
BoxBackgroundColor["PrimaryDefault"] = "bg-primary-default";
|
|
138
191
|
/** Primary alternative background color */
|
|
139
|
-
PrimaryAlternative
|
|
192
|
+
BoxBackgroundColor["PrimaryAlternative"] = "bg-primary-alternative";
|
|
140
193
|
/** Primary muted background color */
|
|
141
|
-
PrimaryMuted
|
|
194
|
+
BoxBackgroundColor["PrimaryMuted"] = "bg-primary-muted";
|
|
142
195
|
/** Primary inverse background color */
|
|
143
|
-
PrimaryInverse
|
|
196
|
+
BoxBackgroundColor["PrimaryInverse"] = "bg-primary-inverse";
|
|
144
197
|
/** Error default background color */
|
|
145
|
-
ErrorDefault
|
|
198
|
+
BoxBackgroundColor["ErrorDefault"] = "bg-error-default";
|
|
146
199
|
/** Error alternative background color */
|
|
147
|
-
ErrorAlternative
|
|
200
|
+
BoxBackgroundColor["ErrorAlternative"] = "bg-error-alternative";
|
|
148
201
|
/** Error muted background color */
|
|
149
|
-
ErrorMuted
|
|
202
|
+
BoxBackgroundColor["ErrorMuted"] = "bg-error-muted";
|
|
150
203
|
/** Error inverse background color */
|
|
151
|
-
ErrorInverse
|
|
204
|
+
BoxBackgroundColor["ErrorInverse"] = "bg-error-inverse";
|
|
152
205
|
/** Warning default background color */
|
|
153
|
-
WarningDefault
|
|
206
|
+
BoxBackgroundColor["WarningDefault"] = "bg-warning-default";
|
|
154
207
|
/** Warning alternative background color */
|
|
155
|
-
WarningAlternative
|
|
208
|
+
BoxBackgroundColor["WarningAlternative"] = "bg-warning-alternative";
|
|
156
209
|
/** Warning muted background color */
|
|
157
|
-
WarningMuted
|
|
210
|
+
BoxBackgroundColor["WarningMuted"] = "bg-warning-muted";
|
|
158
211
|
/** Warning inverse background color */
|
|
159
|
-
WarningInverse
|
|
212
|
+
BoxBackgroundColor["WarningInverse"] = "bg-warning-inverse";
|
|
160
213
|
/** Success default background color */
|
|
161
|
-
SuccessDefault
|
|
214
|
+
BoxBackgroundColor["SuccessDefault"] = "bg-success-default";
|
|
162
215
|
/** Success alternative background color */
|
|
163
|
-
SuccessAlternative
|
|
216
|
+
BoxBackgroundColor["SuccessAlternative"] = "bg-success-alternative";
|
|
164
217
|
/** Success muted background color */
|
|
165
|
-
SuccessMuted
|
|
218
|
+
BoxBackgroundColor["SuccessMuted"] = "bg-success-muted";
|
|
166
219
|
/** Success inverse background color */
|
|
167
|
-
SuccessInverse
|
|
220
|
+
BoxBackgroundColor["SuccessInverse"] = "bg-success-inverse";
|
|
168
221
|
/** Info default background color */
|
|
169
|
-
InfoDefault
|
|
222
|
+
BoxBackgroundColor["InfoDefault"] = "bg-info-default";
|
|
170
223
|
/** Info muted background color */
|
|
171
|
-
InfoMuted
|
|
224
|
+
BoxBackgroundColor["InfoMuted"] = "bg-info-muted";
|
|
172
225
|
/** Info inverse background color */
|
|
173
|
-
InfoInverse
|
|
226
|
+
BoxBackgroundColor["InfoInverse"] = "bg-info-inverse";
|
|
174
227
|
/** Flask default background color */
|
|
175
|
-
FlaskDefault
|
|
228
|
+
BoxBackgroundColor["FlaskDefault"] = "bg-flask-default";
|
|
176
229
|
/** Flask inverse background color */
|
|
177
|
-
FlaskInverse
|
|
230
|
+
BoxBackgroundColor["FlaskInverse"] = "bg-flask-inverse";
|
|
178
231
|
/** Overlay alternative background color */
|
|
179
|
-
OverlayAlternative
|
|
232
|
+
BoxBackgroundColor["OverlayAlternative"] = "bg-overlay-alternative";
|
|
180
233
|
/** Overlay default background color */
|
|
181
|
-
OverlayDefault
|
|
234
|
+
BoxBackgroundColor["OverlayDefault"] = "bg-overlay-default";
|
|
182
235
|
/** Overlay inverse background color */
|
|
183
|
-
OverlayInverse
|
|
236
|
+
BoxBackgroundColor["OverlayInverse"] = "bg-overlay-inverse";
|
|
184
237
|
/** Transparent background color */
|
|
185
|
-
Transparent
|
|
186
|
-
};
|
|
187
|
-
|
|
238
|
+
BoxBackgroundColor["Transparent"] = "bg-transparent";
|
|
239
|
+
})(BoxBackgroundColor || (exports.BoxBackgroundColor = BoxBackgroundColor = {}));
|
|
240
|
+
/**
|
|
241
|
+
* Box - borderColor
|
|
242
|
+
*/
|
|
243
|
+
var BoxBorderColor;
|
|
244
|
+
(function (BoxBorderColor) {
|
|
188
245
|
/** Background default for cut out effect*/
|
|
189
|
-
BackgroundDefault
|
|
246
|
+
BoxBorderColor["BackgroundDefault"] = "border-background-default";
|
|
190
247
|
/** Default border color */
|
|
191
|
-
BorderDefault
|
|
248
|
+
BoxBorderColor["BorderDefault"] = "border-default";
|
|
192
249
|
/** Muted border color */
|
|
193
|
-
BorderMuted
|
|
250
|
+
BoxBorderColor["BorderMuted"] = "border-muted";
|
|
194
251
|
/** Primary default border color */
|
|
195
|
-
PrimaryDefault
|
|
252
|
+
BoxBorderColor["PrimaryDefault"] = "border-primary-default";
|
|
196
253
|
/** Primary alternative border color */
|
|
197
|
-
PrimaryAlternative
|
|
254
|
+
BoxBorderColor["PrimaryAlternative"] = "border-primary-alternative";
|
|
198
255
|
/** Primary muted border color */
|
|
199
|
-
PrimaryMuted
|
|
256
|
+
BoxBorderColor["PrimaryMuted"] = "border-primary-muted";
|
|
200
257
|
/** Primary inverse border color */
|
|
201
|
-
PrimaryInverse
|
|
258
|
+
BoxBorderColor["PrimaryInverse"] = "border-primary-inverse";
|
|
202
259
|
/** Error default border color */
|
|
203
|
-
ErrorDefault
|
|
260
|
+
BoxBorderColor["ErrorDefault"] = "border-error-default";
|
|
204
261
|
/** Error alternative border color */
|
|
205
|
-
ErrorAlternative
|
|
262
|
+
BoxBorderColor["ErrorAlternative"] = "border-error-alternative";
|
|
206
263
|
/** Error muted border color */
|
|
207
|
-
ErrorMuted
|
|
264
|
+
BoxBorderColor["ErrorMuted"] = "border-error-muted";
|
|
208
265
|
/** Error inverse border color */
|
|
209
|
-
ErrorInverse
|
|
266
|
+
BoxBorderColor["ErrorInverse"] = "border-error-inverse";
|
|
210
267
|
/** Warning default border color */
|
|
211
|
-
WarningDefault
|
|
268
|
+
BoxBorderColor["WarningDefault"] = "border-warning-default";
|
|
212
269
|
/** Warning alternative border color */
|
|
213
|
-
WarningAlternative
|
|
270
|
+
BoxBorderColor["WarningAlternative"] = "border-warning-alternative";
|
|
214
271
|
/** Warning muted border color */
|
|
215
|
-
WarningMuted
|
|
272
|
+
BoxBorderColor["WarningMuted"] = "border-warning-muted";
|
|
216
273
|
/** Warning inverse border color */
|
|
217
|
-
WarningInverse
|
|
274
|
+
BoxBorderColor["WarningInverse"] = "border-warning-inverse";
|
|
218
275
|
/** Success default border color */
|
|
219
|
-
SuccessDefault
|
|
276
|
+
BoxBorderColor["SuccessDefault"] = "border-success-default";
|
|
220
277
|
/** Success alternative border color */
|
|
221
|
-
SuccessAlternative
|
|
278
|
+
BoxBorderColor["SuccessAlternative"] = "border-success-alternative";
|
|
222
279
|
/** Success muted border color */
|
|
223
|
-
SuccessMuted
|
|
280
|
+
BoxBorderColor["SuccessMuted"] = "border-success-muted";
|
|
224
281
|
/** Success inverse border color */
|
|
225
|
-
SuccessInverse
|
|
282
|
+
BoxBorderColor["SuccessInverse"] = "border-success-inverse";
|
|
226
283
|
/** Info default border color */
|
|
227
|
-
InfoDefault
|
|
284
|
+
BoxBorderColor["InfoDefault"] = "border-info-default";
|
|
228
285
|
/** Info alternative border color */
|
|
229
|
-
InfoAlternative
|
|
286
|
+
BoxBorderColor["InfoAlternative"] = "border-info-alternative";
|
|
230
287
|
/** Info muted border color */
|
|
231
|
-
InfoMuted
|
|
288
|
+
BoxBorderColor["InfoMuted"] = "border-info-muted";
|
|
232
289
|
/** Info inverse border color */
|
|
233
|
-
InfoInverse
|
|
290
|
+
BoxBorderColor["InfoInverse"] = "border-info-inverse";
|
|
234
291
|
/** Flask default border color */
|
|
235
|
-
FlaskDefault
|
|
292
|
+
BoxBorderColor["FlaskDefault"] = "border-flask-default";
|
|
236
293
|
/** Flask inverse border color */
|
|
237
|
-
FlaskInverse
|
|
294
|
+
BoxBorderColor["FlaskInverse"] = "border-flask-inverse";
|
|
238
295
|
/** Overlay alternative border color */
|
|
239
|
-
OverlayAlternative
|
|
296
|
+
BoxBorderColor["OverlayAlternative"] = "border-overlay-alternative";
|
|
240
297
|
/** Overlay default border color */
|
|
241
|
-
OverlayDefault
|
|
298
|
+
BoxBorderColor["OverlayDefault"] = "border-overlay-default";
|
|
242
299
|
/** Overlay inverse border color */
|
|
243
|
-
OverlayInverse
|
|
300
|
+
BoxBorderColor["OverlayInverse"] = "border-overlay-inverse";
|
|
244
301
|
/** Transparent border color */
|
|
245
|
-
Transparent
|
|
246
|
-
};
|
|
247
|
-
|
|
302
|
+
BoxBorderColor["Transparent"] = "border-transparent";
|
|
303
|
+
})(BoxBorderColor || (exports.BoxBorderColor = BoxBorderColor = {}));
|
|
304
|
+
/**
|
|
305
|
+
* ButtonBase - size
|
|
306
|
+
*/
|
|
307
|
+
var ButtonBaseSize;
|
|
308
|
+
(function (ButtonBaseSize) {
|
|
248
309
|
/**
|
|
249
310
|
* Represents a small button size (32px).
|
|
250
311
|
*/
|
|
251
|
-
Sm
|
|
312
|
+
ButtonBaseSize["Sm"] = "sm";
|
|
252
313
|
/**
|
|
253
314
|
* Represents a medium button size (40px).
|
|
254
315
|
*/
|
|
255
|
-
Md
|
|
316
|
+
ButtonBaseSize["Md"] = "md";
|
|
256
317
|
/**
|
|
257
318
|
* Represents a large button size (48px).
|
|
258
319
|
*/
|
|
259
|
-
Lg
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Primary
|
|
267
|
-
Secondary
|
|
268
|
-
Tertiary
|
|
269
|
-
};
|
|
270
|
-
|
|
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) {
|
|
271
336
|
/**
|
|
272
337
|
* Represents a small button size (24px).
|
|
273
338
|
*/
|
|
274
|
-
Sm
|
|
339
|
+
ButtonIconSize["Sm"] = "sm";
|
|
275
340
|
/**
|
|
276
341
|
* Represents a medium button size (32px).
|
|
277
342
|
*/
|
|
278
|
-
Md
|
|
343
|
+
ButtonIconSize["Md"] = "md";
|
|
279
344
|
/**
|
|
280
345
|
* Represents a large button size (40px).
|
|
281
346
|
*/
|
|
282
|
-
Lg
|
|
283
|
-
};
|
|
284
|
-
|
|
347
|
+
ButtonIconSize["Lg"] = "lg";
|
|
348
|
+
})(ButtonIconSize || (exports.ButtonIconSize = ButtonIconSize = {}));
|
|
349
|
+
/**
|
|
350
|
+
* Text - variant
|
|
351
|
+
*/
|
|
352
|
+
var TextVariant;
|
|
353
|
+
(function (TextVariant) {
|
|
285
354
|
// Display Sizes
|
|
286
|
-
DisplayLg
|
|
287
|
-
DisplayMd
|
|
355
|
+
TextVariant["DisplayLg"] = "display-lg";
|
|
356
|
+
TextVariant["DisplayMd"] = "display-md";
|
|
288
357
|
// Heading Sizes
|
|
289
|
-
HeadingLg
|
|
290
|
-
HeadingMd
|
|
291
|
-
HeadingSm
|
|
358
|
+
TextVariant["HeadingLg"] = "heading-lg";
|
|
359
|
+
TextVariant["HeadingMd"] = "heading-md";
|
|
360
|
+
TextVariant["HeadingSm"] = "heading-sm";
|
|
292
361
|
// Body Sizes
|
|
293
|
-
BodyLg
|
|
294
|
-
BodyMd
|
|
295
|
-
BodySm
|
|
296
|
-
BodyXs
|
|
362
|
+
TextVariant["BodyLg"] = "body-lg";
|
|
363
|
+
TextVariant["BodyMd"] = "body-md";
|
|
364
|
+
TextVariant["BodySm"] = "body-sm";
|
|
365
|
+
TextVariant["BodyXs"] = "body-xs";
|
|
297
366
|
// Special Typography Variants
|
|
298
|
-
PageHeading
|
|
299
|
-
SectionHeading
|
|
300
|
-
ButtonLabelMd
|
|
301
|
-
ButtonLabelLg
|
|
302
|
-
AmountDisplayLg
|
|
303
|
-
};
|
|
304
|
-
|
|
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) {
|
|
305
378
|
/** For default neutral text. */
|
|
306
|
-
TextDefault
|
|
379
|
+
TextColor["TextDefault"] = "text-default";
|
|
307
380
|
/** For softer contrast neutral text */
|
|
308
|
-
TextAlternative
|
|
381
|
+
TextColor["TextAlternative"] = "text-alternative";
|
|
309
382
|
/** For the softest contrast neutral text (not accessible) */
|
|
310
|
-
TextMuted
|
|
383
|
+
TextColor["TextMuted"] = "text-muted";
|
|
311
384
|
/** For elements used on top of overlay/alternative. */
|
|
312
|
-
OverlayInverse
|
|
385
|
+
TextColor["OverlayInverse"] = "text-overlay-inverse";
|
|
313
386
|
/** For interactive, active, and selected semantics. */
|
|
314
|
-
PrimaryDefault
|
|
387
|
+
TextColor["PrimaryDefault"] = "text-primary-default";
|
|
315
388
|
/** For softer variants of primary text. */
|
|
316
|
-
PrimaryAlternative
|
|
389
|
+
TextColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
317
390
|
/** For elements used on top of primary/default. */
|
|
318
|
-
PrimaryInverse
|
|
391
|
+
TextColor["PrimaryInverse"] = "text-primary-inverse";
|
|
319
392
|
/** For primary text in a pressed state. */
|
|
320
|
-
PrimaryDefaultPressed
|
|
393
|
+
TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
321
394
|
/** For critical alert text. */
|
|
322
|
-
ErrorDefault
|
|
395
|
+
TextColor["ErrorDefault"] = "text-error-default";
|
|
323
396
|
/** For stronger contrast error text. */
|
|
324
|
-
ErrorAlternative
|
|
397
|
+
TextColor["ErrorAlternative"] = "text-error-alternative";
|
|
325
398
|
/** For elements used on top of error/default. */
|
|
326
|
-
ErrorInverse
|
|
399
|
+
TextColor["ErrorInverse"] = "text-error-inverse";
|
|
327
400
|
/** For critical alert text in a pressed state. */
|
|
328
|
-
ErrorDefaultPressed
|
|
401
|
+
TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
329
402
|
/** For caution alert text. */
|
|
330
|
-
WarningDefault
|
|
403
|
+
TextColor["WarningDefault"] = "text-warning-default";
|
|
331
404
|
/** For elements used on top of warning/default. */
|
|
332
|
-
WarningInverse
|
|
405
|
+
TextColor["WarningInverse"] = "text-warning-inverse";
|
|
333
406
|
/** For caution text in a pressed state. */
|
|
334
|
-
WarningDefaultPressed
|
|
407
|
+
TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
335
408
|
/** For positive semantic text. */
|
|
336
|
-
SuccessDefault
|
|
409
|
+
TextColor["SuccessDefault"] = "text-success-default";
|
|
337
410
|
/** For elements used on top of success/default. */
|
|
338
|
-
SuccessInverse
|
|
411
|
+
TextColor["SuccessInverse"] = "text-success-inverse";
|
|
339
412
|
/** For positive text in a pressed state. */
|
|
340
|
-
SuccessDefaultPressed
|
|
413
|
+
TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
341
414
|
/** For informational read-only text. */
|
|
342
|
-
InfoDefault
|
|
415
|
+
TextColor["InfoDefault"] = "text-info-default";
|
|
343
416
|
/** For elements used on top of info/default. */
|
|
344
|
-
InfoInverse
|
|
417
|
+
TextColor["InfoInverse"] = "text-info-inverse";
|
|
345
418
|
/** Make the text color transparent. */
|
|
346
|
-
Transparent
|
|
347
|
-
};
|
|
348
|
-
|
|
419
|
+
TextColor["Transparent"] = "text-transparent";
|
|
420
|
+
})(TextColor || (exports.TextColor = TextColor = {}));
|
|
421
|
+
/**
|
|
422
|
+
* Text - fontWeight
|
|
423
|
+
*/
|
|
424
|
+
var FontWeight;
|
|
425
|
+
(function (FontWeight) {
|
|
349
426
|
/**
|
|
350
427
|
* Weight - 700
|
|
351
428
|
*/
|
|
352
|
-
Bold
|
|
429
|
+
FontWeight["Bold"] = "700";
|
|
353
430
|
/**
|
|
354
431
|
* Weight - 500
|
|
355
432
|
*/
|
|
356
|
-
Medium
|
|
433
|
+
FontWeight["Medium"] = "500";
|
|
357
434
|
/**
|
|
358
435
|
* Weight - 400
|
|
359
436
|
*/
|
|
360
|
-
Regular
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
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) {
|
|
378
471
|
/** For default neutral icons */
|
|
379
|
-
IconDefault
|
|
472
|
+
IconColor["IconDefault"] = "text-icon-default";
|
|
380
473
|
/** For softer neutral icons */
|
|
381
|
-
IconAlternative
|
|
474
|
+
IconColor["IconAlternative"] = "text-icon-alternative";
|
|
382
475
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
383
|
-
IconMuted
|
|
476
|
+
IconColor["IconMuted"] = "text-icon-muted";
|
|
384
477
|
/** For elements used on top of overlay/alternative. Used for text, icon, or border */
|
|
385
|
-
OverlayInverse
|
|
478
|
+
IconColor["OverlayInverse"] = "text-overlay-inverse";
|
|
386
479
|
/** For interactive, active, and selected semantics. Used for text, background, icon, or border */
|
|
387
|
-
PrimaryDefault
|
|
480
|
+
IconColor["PrimaryDefault"] = "text-primary-default";
|
|
388
481
|
/** For softer variants of primary interactive elements */
|
|
389
|
-
PrimaryAlternative
|
|
482
|
+
IconColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
390
483
|
/** For elements used on top of primary/default. Used for text, icon, or border */
|
|
391
|
-
PrimaryInverse
|
|
484
|
+
IconColor["PrimaryInverse"] = "text-primary-inverse";
|
|
392
485
|
/** For primary interactive elements in a pressed state */
|
|
393
|
-
PrimaryDefaultPressed
|
|
486
|
+
IconColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
394
487
|
/** For critical alert semantic elements. Used for text, background, icon, or border */
|
|
395
|
-
ErrorDefault
|
|
488
|
+
IconColor["ErrorDefault"] = "text-error-default";
|
|
396
489
|
/** For softer variants of error elements */
|
|
397
|
-
ErrorAlternative
|
|
490
|
+
IconColor["ErrorAlternative"] = "text-error-alternative";
|
|
398
491
|
/** For elements used on top of error/default. Used for text, icon, or border */
|
|
399
|
-
ErrorInverse
|
|
492
|
+
IconColor["ErrorInverse"] = "text-error-inverse";
|
|
400
493
|
/** For critical alert semantic elements in a pressed state */
|
|
401
|
-
ErrorDefaultPressed
|
|
494
|
+
IconColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
402
495
|
/** For caution alert semantic elements. Used for text, background, icon, or border */
|
|
403
|
-
WarningDefault
|
|
496
|
+
IconColor["WarningDefault"] = "text-warning-default";
|
|
404
497
|
/** For elements used on top of warning/default. Used for text, icon, or border */
|
|
405
|
-
WarningInverse
|
|
498
|
+
IconColor["WarningInverse"] = "text-warning-inverse";
|
|
406
499
|
/** For caution alert semantic elements in a pressed state */
|
|
407
|
-
WarningDefaultPressed
|
|
500
|
+
IconColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
408
501
|
/** For positive semantic elements. Used for text, background, icon, or border */
|
|
409
|
-
SuccessDefault
|
|
502
|
+
IconColor["SuccessDefault"] = "text-success-default";
|
|
410
503
|
/** For elements used on top of success/default. Used for text, icon, or border */
|
|
411
|
-
SuccessInverse
|
|
504
|
+
IconColor["SuccessInverse"] = "text-success-inverse";
|
|
412
505
|
/** For positive semantic elements in a pressed state */
|
|
413
|
-
SuccessDefaultPressed
|
|
506
|
+
IconColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
414
507
|
/** For informational read-only elements. Used for text, background, icon, or border */
|
|
415
|
-
InfoDefault
|
|
508
|
+
IconColor["InfoDefault"] = "text-info-default";
|
|
416
509
|
/** For elements used on top of info/default. Used for text, icon, or border */
|
|
417
|
-
InfoInverse
|
|
418
|
-
};
|
|
419
|
-
|
|
510
|
+
IconColor["InfoInverse"] = "text-info-inverse";
|
|
511
|
+
})(IconColor || (exports.IconColor = IconColor = {}));
|
|
512
|
+
/**
|
|
513
|
+
* Icon - size
|
|
514
|
+
*/
|
|
515
|
+
var IconSize;
|
|
516
|
+
(function (IconSize) {
|
|
420
517
|
/** Extra small - 12px */
|
|
421
|
-
Xs
|
|
518
|
+
IconSize["Xs"] = "12";
|
|
422
519
|
/** Small - 16px */
|
|
423
|
-
Sm
|
|
520
|
+
IconSize["Sm"] = "16";
|
|
424
521
|
/** Medium - 20px (Default) */
|
|
425
|
-
Md
|
|
522
|
+
IconSize["Md"] = "20";
|
|
426
523
|
/** Large - 24px */
|
|
427
|
-
Lg
|
|
524
|
+
IconSize["Lg"] = "24";
|
|
428
525
|
/** Extra large - 32px */
|
|
429
|
-
Xl
|
|
430
|
-
};
|
|
526
|
+
IconSize["Xl"] = "32";
|
|
527
|
+
})(IconSize || (exports.IconSize = IconSize = {}));
|
|
431
528
|
// /////////////////////////////////////////////////////
|
|
432
529
|
// This is generated code - Manually add types above
|
|
433
530
|
// DO NOT EDIT - Use generate-assets.js
|