@metamask-previews/design-system-react 0.6.1-preview.ab80aae → 0.7.0-preview.3dc70e1
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 +8 -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/BadgeStatus/BadgeStatus.cjs +2 -2
- package/dist/components/BadgeStatus/BadgeStatus.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs +8 -8
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +4 -28
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +4 -28
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.mjs.map +1 -1
- package/dist/components/BadgeStatus/index.cjs +3 -3
- package/dist/components/BadgeStatus/index.cjs.map +1 -1
- package/dist/components/BadgeStatus/index.d.cts +1 -1
- package/dist/components/BadgeStatus/index.d.cts.map +1 -1
- package/dist/components/BadgeStatus/index.d.mts +1 -1
- package/dist/components/BadgeStatus/index.d.mts.map +1 -1
- package/dist/components/BadgeStatus/index.mjs +1 -1
- package/dist/components/BadgeStatus/index.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.constants.d.cts +4 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts +4 -3
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts.map +1 -1
- package/dist/components/Icon/icons/PopUp.cjs +32 -0
- package/dist/components/Icon/icons/PopUp.cjs.map +1 -0
- package/dist/components/Icon/icons/PopUp.d.cts +4 -0
- package/dist/components/Icon/icons/PopUp.d.cts.map +1 -0
- package/dist/components/Icon/icons/PopUp.d.mts +4 -0
- package/dist/components/Icon/icons/PopUp.d.mts.map +1 -0
- package/dist/components/Icon/icons/PopUp.mjs +7 -0
- package/dist/components/Icon/icons/PopUp.mjs.map +1 -0
- package/dist/components/Icon/icons/SidePanel.cjs +32 -0
- package/dist/components/Icon/icons/SidePanel.cjs.map +1 -0
- package/dist/components/Icon/icons/SidePanel.d.cts +4 -0
- package/dist/components/Icon/icons/SidePanel.d.cts.map +1 -0
- package/dist/components/Icon/icons/SidePanel.d.mts +4 -0
- package/dist/components/Icon/icons/SidePanel.d.mts.map +1 -0
- package/dist/components/Icon/icons/SidePanel.mjs +7 -0
- package/dist/components/Icon/icons/SidePanel.mjs.map +1 -0
- package/dist/components/Icon/icons/index.cjs +4 -0
- package/dist/components/Icon/icons/index.cjs.map +1 -1
- package/dist/components/Icon/icons/index.d.cts +2 -0
- package/dist/components/Icon/icons/index.d.cts.map +1 -1
- package/dist/components/Icon/icons/index.d.mts +2 -0
- package/dist/components/Icon/icons/index.d.mts.map +1 -1
- package/dist/components/Icon/icons/index.mjs +4 -0
- package/dist/components/Icon/icons/index.mjs.map +1 -1
- package/dist/types/index.cjs +369 -281
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +252 -303
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +252 -303
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +368 -267
- package/dist/types/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/types/index.cjs
CHANGED
|
@@ -1,456 +1,542 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
4
|
-
|
|
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.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) {
|
|
5
9
|
/**
|
|
6
10
|
* Represents an extra small avatar size (16px).
|
|
7
11
|
*/
|
|
8
|
-
Xs
|
|
12
|
+
AvatarBaseSize["Xs"] = "xs";
|
|
9
13
|
/**
|
|
10
14
|
* Represents a small avatar size (24px).
|
|
11
15
|
*/
|
|
12
|
-
Sm
|
|
16
|
+
AvatarBaseSize["Sm"] = "sm";
|
|
13
17
|
/**
|
|
14
18
|
* Represents a medium avatar size (32px).
|
|
15
19
|
*/
|
|
16
|
-
Md
|
|
20
|
+
AvatarBaseSize["Md"] = "md";
|
|
17
21
|
/**
|
|
18
22
|
* Represents a large avatar size (40px).
|
|
19
23
|
*/
|
|
20
|
-
Lg
|
|
24
|
+
AvatarBaseSize["Lg"] = "lg";
|
|
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"] = "xl";
|
|
29
|
+
})(AvatarBaseSize || (exports.AvatarSize = exports.AvatarTokenSize = exports.AvatarNetworkSize = exports.AvatarIconSize = exports.AvatarGroupSize = exports.AvatarFaviconSize = exports.AvatarAccountSize = exports.AvatarBaseSize = AvatarBaseSize = {}));
|
|
30
|
+
/**
|
|
31
|
+
* Avatar - shape
|
|
32
|
+
*/
|
|
33
|
+
var AvatarShape;
|
|
34
|
+
(function (AvatarShape) {
|
|
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
|
+
* AvatarIcon - severity
|
|
55
|
+
*/
|
|
56
|
+
var AvatarIconSeverity;
|
|
57
|
+
(function (AvatarIconSeverity) {
|
|
58
|
+
AvatarIconSeverity["Neutral"] = "neutral";
|
|
59
|
+
AvatarIconSeverity["Info"] = "info";
|
|
60
|
+
AvatarIconSeverity["Success"] = "success";
|
|
61
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
62
|
+
AvatarIconSeverity["Error"] = "error";
|
|
63
|
+
AvatarIconSeverity["Warning"] = "warning";
|
|
64
|
+
})(AvatarIconSeverity || (exports.AvatarIconSeverity = AvatarIconSeverity = {}));
|
|
65
|
+
/**
|
|
66
|
+
* AvatarGroup - variant
|
|
67
|
+
*/
|
|
68
|
+
var AvatarGroupVariant;
|
|
69
|
+
(function (AvatarGroupVariant) {
|
|
70
|
+
AvatarGroupVariant["Account"] = "account";
|
|
71
|
+
AvatarGroupVariant["Favicon"] = "favicon";
|
|
72
|
+
AvatarGroupVariant["Network"] = "network";
|
|
73
|
+
AvatarGroupVariant["Token"] = "token";
|
|
74
|
+
})(AvatarGroupVariant || (exports.AvatarGroupVariant = AvatarGroupVariant = {}));
|
|
75
|
+
/**
|
|
76
|
+
* BadgeCount - size
|
|
77
|
+
*/
|
|
78
|
+
var BadgeCountSize;
|
|
79
|
+
(function (BadgeCountSize) {
|
|
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
|
-
exports.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
exports.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
exports.BoxFlexDirection = {
|
|
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
|
-
|
|
87
|
+
BadgeCountSize["Lg"] = "lg";
|
|
88
|
+
})(BadgeCountSize || (exports.BadgeCountSize = BadgeCountSize = {}));
|
|
89
|
+
/**
|
|
90
|
+
* BadgeWrapper - positionAnchorShape
|
|
91
|
+
*/
|
|
92
|
+
var BadgeWrapperPositionAnchorShape;
|
|
93
|
+
(function (BadgeWrapperPositionAnchorShape) {
|
|
94
|
+
BadgeWrapperPositionAnchorShape["Rectangular"] = "rectangular";
|
|
95
|
+
BadgeWrapperPositionAnchorShape["Circular"] = "circular";
|
|
96
|
+
})(BadgeWrapperPositionAnchorShape || (exports.BadgeWrapperPositionAnchorShape = BadgeWrapperPositionAnchorShape = {}));
|
|
97
|
+
/**
|
|
98
|
+
* BadgeWrapper - position.
|
|
99
|
+
*/
|
|
100
|
+
var BadgeWrapperPosition;
|
|
101
|
+
(function (BadgeWrapperPosition) {
|
|
102
|
+
BadgeWrapperPosition["TopRight"] = "top-right";
|
|
103
|
+
BadgeWrapperPosition["BottomRight"] = "bottom-right";
|
|
104
|
+
BadgeWrapperPosition["BottomLeft"] = "bottom-left";
|
|
105
|
+
BadgeWrapperPosition["TopLeft"] = "top-left";
|
|
106
|
+
})(BadgeWrapperPosition || (exports.BadgeWrapperPosition = BadgeWrapperPosition = {}));
|
|
107
|
+
/**
|
|
108
|
+
* Box - flexDirection
|
|
109
|
+
*/
|
|
110
|
+
var BoxFlexDirection;
|
|
111
|
+
(function (BoxFlexDirection) {
|
|
112
|
+
BoxFlexDirection["Row"] = "flex-row";
|
|
113
|
+
BoxFlexDirection["RowReverse"] = "flex-row-reverse";
|
|
114
|
+
BoxFlexDirection["Column"] = "flex-col";
|
|
115
|
+
BoxFlexDirection["ColumnReverse"] = "flex-col-reverse";
|
|
116
|
+
})(BoxFlexDirection || (exports.BoxFlexDirection = BoxFlexDirection = {}));
|
|
117
|
+
/**
|
|
118
|
+
* Box - flexWrap
|
|
119
|
+
*/
|
|
120
|
+
var BoxFlexWrap;
|
|
121
|
+
(function (BoxFlexWrap) {
|
|
122
|
+
BoxFlexWrap["NoWrap"] = "flex-nowrap";
|
|
123
|
+
BoxFlexWrap["Wrap"] = "flex-wrap";
|
|
124
|
+
BoxFlexWrap["WrapReverse"] = "flex-wrap-reverse";
|
|
125
|
+
})(BoxFlexWrap || (exports.BoxFlexWrap = BoxFlexWrap = {}));
|
|
126
|
+
/**
|
|
127
|
+
* Box - alignItems
|
|
128
|
+
*/
|
|
129
|
+
var BoxAlignItems;
|
|
130
|
+
(function (BoxAlignItems) {
|
|
131
|
+
BoxAlignItems["Start"] = "items-start";
|
|
132
|
+
BoxAlignItems["Center"] = "items-center";
|
|
133
|
+
BoxAlignItems["End"] = "items-end";
|
|
134
|
+
BoxAlignItems["Stretch"] = "items-stretch";
|
|
135
|
+
BoxAlignItems["Baseline"] = "items-baseline";
|
|
136
|
+
})(BoxAlignItems || (exports.BoxAlignItems = BoxAlignItems = {}));
|
|
137
|
+
/**
|
|
138
|
+
* Box - justifyContent
|
|
139
|
+
*/
|
|
140
|
+
var BoxJustifyContent;
|
|
141
|
+
(function (BoxJustifyContent) {
|
|
142
|
+
BoxJustifyContent["Start"] = "justify-start";
|
|
143
|
+
BoxJustifyContent["Center"] = "justify-center";
|
|
144
|
+
BoxJustifyContent["End"] = "justify-end";
|
|
145
|
+
BoxJustifyContent["Between"] = "justify-between";
|
|
146
|
+
BoxJustifyContent["Around"] = "justify-around";
|
|
147
|
+
BoxJustifyContent["Evenly"] = "justify-evenly";
|
|
148
|
+
})(BoxJustifyContent || (exports.BoxJustifyContent = BoxJustifyContent = {}));
|
|
149
|
+
/**
|
|
150
|
+
* Box - backgroundColor
|
|
151
|
+
*/
|
|
152
|
+
var BoxBackgroundColor;
|
|
153
|
+
(function (BoxBackgroundColor) {
|
|
126
154
|
/** Default background color */
|
|
127
|
-
BackgroundDefault
|
|
155
|
+
BoxBackgroundColor["BackgroundDefault"] = "bg-default";
|
|
128
156
|
/** Alternative background color */
|
|
129
|
-
BackgroundAlternative
|
|
157
|
+
BoxBackgroundColor["BackgroundAlternative"] = "bg-alternative";
|
|
130
158
|
/** Section background color */
|
|
131
|
-
BackgroundSection
|
|
159
|
+
BoxBackgroundColor["BackgroundSection"] = "bg-section";
|
|
132
160
|
/** Subsection background color */
|
|
133
|
-
BackgroundSubsection
|
|
161
|
+
BoxBackgroundColor["BackgroundSubsection"] = "bg-subsection";
|
|
134
162
|
/** Muted background color */
|
|
135
|
-
BackgroundMuted
|
|
163
|
+
BoxBackgroundColor["BackgroundMuted"] = "bg-muted";
|
|
136
164
|
/** Primary default background color */
|
|
137
|
-
PrimaryDefault
|
|
165
|
+
BoxBackgroundColor["PrimaryDefault"] = "bg-primary-default";
|
|
138
166
|
/** Primary alternative background color */
|
|
139
|
-
PrimaryAlternative
|
|
167
|
+
BoxBackgroundColor["PrimaryAlternative"] = "bg-primary-alternative";
|
|
140
168
|
/** Primary muted background color */
|
|
141
|
-
PrimaryMuted
|
|
169
|
+
BoxBackgroundColor["PrimaryMuted"] = "bg-primary-muted";
|
|
142
170
|
/** Primary inverse background color */
|
|
143
|
-
PrimaryInverse
|
|
171
|
+
BoxBackgroundColor["PrimaryInverse"] = "bg-primary-inverse";
|
|
144
172
|
/** Error default background color */
|
|
145
|
-
ErrorDefault
|
|
173
|
+
BoxBackgroundColor["ErrorDefault"] = "bg-error-default";
|
|
146
174
|
/** Error alternative background color */
|
|
147
|
-
ErrorAlternative
|
|
175
|
+
BoxBackgroundColor["ErrorAlternative"] = "bg-error-alternative";
|
|
148
176
|
/** Error muted background color */
|
|
149
|
-
ErrorMuted
|
|
177
|
+
BoxBackgroundColor["ErrorMuted"] = "bg-error-muted";
|
|
150
178
|
/** Error inverse background color */
|
|
151
|
-
ErrorInverse
|
|
179
|
+
BoxBackgroundColor["ErrorInverse"] = "bg-error-inverse";
|
|
152
180
|
/** Warning default background color */
|
|
153
|
-
WarningDefault
|
|
181
|
+
BoxBackgroundColor["WarningDefault"] = "bg-warning-default";
|
|
154
182
|
/** Warning alternative background color */
|
|
155
|
-
WarningAlternative
|
|
183
|
+
BoxBackgroundColor["WarningAlternative"] = "bg-warning-alternative";
|
|
156
184
|
/** Warning muted background color */
|
|
157
|
-
WarningMuted
|
|
185
|
+
BoxBackgroundColor["WarningMuted"] = "bg-warning-muted";
|
|
158
186
|
/** Warning inverse background color */
|
|
159
|
-
WarningInverse
|
|
187
|
+
BoxBackgroundColor["WarningInverse"] = "bg-warning-inverse";
|
|
160
188
|
/** Success default background color */
|
|
161
|
-
SuccessDefault
|
|
189
|
+
BoxBackgroundColor["SuccessDefault"] = "bg-success-default";
|
|
162
190
|
/** Success alternative background color */
|
|
163
|
-
SuccessAlternative
|
|
191
|
+
BoxBackgroundColor["SuccessAlternative"] = "bg-success-alternative";
|
|
164
192
|
/** Success muted background color */
|
|
165
|
-
SuccessMuted
|
|
193
|
+
BoxBackgroundColor["SuccessMuted"] = "bg-success-muted";
|
|
166
194
|
/** Success inverse background color */
|
|
167
|
-
SuccessInverse
|
|
195
|
+
BoxBackgroundColor["SuccessInverse"] = "bg-success-inverse";
|
|
168
196
|
/** Info default background color */
|
|
169
|
-
InfoDefault
|
|
197
|
+
BoxBackgroundColor["InfoDefault"] = "bg-info-default";
|
|
170
198
|
/** Info muted background color */
|
|
171
|
-
InfoMuted
|
|
199
|
+
BoxBackgroundColor["InfoMuted"] = "bg-info-muted";
|
|
172
200
|
/** Info inverse background color */
|
|
173
|
-
InfoInverse
|
|
201
|
+
BoxBackgroundColor["InfoInverse"] = "bg-info-inverse";
|
|
174
202
|
/** Flask default background color */
|
|
175
|
-
FlaskDefault
|
|
203
|
+
BoxBackgroundColor["FlaskDefault"] = "bg-flask-default";
|
|
176
204
|
/** Flask inverse background color */
|
|
177
|
-
FlaskInverse
|
|
205
|
+
BoxBackgroundColor["FlaskInverse"] = "bg-flask-inverse";
|
|
178
206
|
/** Overlay alternative background color */
|
|
179
|
-
OverlayAlternative
|
|
207
|
+
BoxBackgroundColor["OverlayAlternative"] = "bg-overlay-alternative";
|
|
180
208
|
/** Overlay default background color */
|
|
181
|
-
OverlayDefault
|
|
209
|
+
BoxBackgroundColor["OverlayDefault"] = "bg-overlay-default";
|
|
182
210
|
/** Overlay inverse background color */
|
|
183
|
-
OverlayInverse
|
|
211
|
+
BoxBackgroundColor["OverlayInverse"] = "bg-overlay-inverse";
|
|
184
212
|
/** Transparent background color */
|
|
185
|
-
Transparent
|
|
186
|
-
};
|
|
187
|
-
|
|
213
|
+
BoxBackgroundColor["Transparent"] = "bg-transparent";
|
|
214
|
+
})(BoxBackgroundColor || (exports.BoxBackgroundColor = BoxBackgroundColor = {}));
|
|
215
|
+
/**
|
|
216
|
+
* Box - borderColor
|
|
217
|
+
*/
|
|
218
|
+
var BoxBorderColor;
|
|
219
|
+
(function (BoxBorderColor) {
|
|
188
220
|
/** Background default for cut out effect */
|
|
189
|
-
BackgroundDefault
|
|
221
|
+
BoxBorderColor["BackgroundDefault"] = "border-background-default";
|
|
190
222
|
/** Default border color */
|
|
191
|
-
BorderDefault
|
|
223
|
+
BoxBorderColor["BorderDefault"] = "border-default";
|
|
192
224
|
/** Muted border color */
|
|
193
|
-
BorderMuted
|
|
225
|
+
BoxBorderColor["BorderMuted"] = "border-muted";
|
|
194
226
|
/** Primary default border color */
|
|
195
|
-
PrimaryDefault
|
|
227
|
+
BoxBorderColor["PrimaryDefault"] = "border-primary-default";
|
|
196
228
|
/** Primary alternative border color */
|
|
197
|
-
PrimaryAlternative
|
|
229
|
+
BoxBorderColor["PrimaryAlternative"] = "border-primary-alternative";
|
|
198
230
|
/** Primary muted border color */
|
|
199
|
-
PrimaryMuted
|
|
231
|
+
BoxBorderColor["PrimaryMuted"] = "border-primary-muted";
|
|
200
232
|
/** Primary inverse border color */
|
|
201
|
-
PrimaryInverse
|
|
233
|
+
BoxBorderColor["PrimaryInverse"] = "border-primary-inverse";
|
|
202
234
|
/** Error default border color */
|
|
203
|
-
ErrorDefault
|
|
235
|
+
BoxBorderColor["ErrorDefault"] = "border-error-default";
|
|
204
236
|
/** Error alternative border color */
|
|
205
|
-
ErrorAlternative
|
|
237
|
+
BoxBorderColor["ErrorAlternative"] = "border-error-alternative";
|
|
206
238
|
/** Error muted border color */
|
|
207
|
-
ErrorMuted
|
|
239
|
+
BoxBorderColor["ErrorMuted"] = "border-error-muted";
|
|
208
240
|
/** Error inverse border color */
|
|
209
|
-
ErrorInverse
|
|
241
|
+
BoxBorderColor["ErrorInverse"] = "border-error-inverse";
|
|
210
242
|
/** Warning default border color */
|
|
211
|
-
WarningDefault
|
|
243
|
+
BoxBorderColor["WarningDefault"] = "border-warning-default";
|
|
212
244
|
/** Warning alternative border color */
|
|
213
|
-
WarningAlternative
|
|
245
|
+
BoxBorderColor["WarningAlternative"] = "border-warning-alternative";
|
|
214
246
|
/** Warning muted border color */
|
|
215
|
-
WarningMuted
|
|
247
|
+
BoxBorderColor["WarningMuted"] = "border-warning-muted";
|
|
216
248
|
/** Warning inverse border color */
|
|
217
|
-
WarningInverse
|
|
249
|
+
BoxBorderColor["WarningInverse"] = "border-warning-inverse";
|
|
218
250
|
/** Success default border color */
|
|
219
|
-
SuccessDefault
|
|
251
|
+
BoxBorderColor["SuccessDefault"] = "border-success-default";
|
|
220
252
|
/** Success alternative border color */
|
|
221
|
-
SuccessAlternative
|
|
253
|
+
BoxBorderColor["SuccessAlternative"] = "border-success-alternative";
|
|
222
254
|
/** Success muted border color */
|
|
223
|
-
SuccessMuted
|
|
255
|
+
BoxBorderColor["SuccessMuted"] = "border-success-muted";
|
|
224
256
|
/** Success inverse border color */
|
|
225
|
-
SuccessInverse
|
|
257
|
+
BoxBorderColor["SuccessInverse"] = "border-success-inverse";
|
|
226
258
|
/** Info default border color */
|
|
227
|
-
InfoDefault
|
|
259
|
+
BoxBorderColor["InfoDefault"] = "border-info-default";
|
|
228
260
|
/** Info alternative border color */
|
|
229
|
-
InfoAlternative
|
|
261
|
+
BoxBorderColor["InfoAlternative"] = "border-info-alternative";
|
|
230
262
|
/** Info muted border color */
|
|
231
|
-
InfoMuted
|
|
263
|
+
BoxBorderColor["InfoMuted"] = "border-info-muted";
|
|
232
264
|
/** Info inverse border color */
|
|
233
|
-
InfoInverse
|
|
265
|
+
BoxBorderColor["InfoInverse"] = "border-info-inverse";
|
|
234
266
|
/** Flask default border color */
|
|
235
|
-
FlaskDefault
|
|
267
|
+
BoxBorderColor["FlaskDefault"] = "border-flask-default";
|
|
236
268
|
/** Flask inverse border color */
|
|
237
|
-
FlaskInverse
|
|
269
|
+
BoxBorderColor["FlaskInverse"] = "border-flask-inverse";
|
|
238
270
|
/** Overlay alternative border color */
|
|
239
|
-
OverlayAlternative
|
|
271
|
+
BoxBorderColor["OverlayAlternative"] = "border-overlay-alternative";
|
|
240
272
|
/** Overlay default border color */
|
|
241
|
-
OverlayDefault
|
|
273
|
+
BoxBorderColor["OverlayDefault"] = "border-overlay-default";
|
|
242
274
|
/** Overlay inverse border color */
|
|
243
|
-
OverlayInverse
|
|
275
|
+
BoxBorderColor["OverlayInverse"] = "border-overlay-inverse";
|
|
244
276
|
/** Transparent border color */
|
|
245
|
-
Transparent
|
|
246
|
-
};
|
|
247
|
-
|
|
277
|
+
BoxBorderColor["Transparent"] = "border-transparent";
|
|
278
|
+
})(BoxBorderColor || (exports.BoxBorderColor = BoxBorderColor = {}));
|
|
279
|
+
/**
|
|
280
|
+
* ButtonBase - size
|
|
281
|
+
*/
|
|
282
|
+
var ButtonBaseSize;
|
|
283
|
+
(function (ButtonBaseSize) {
|
|
248
284
|
/**
|
|
249
285
|
* Represents a small button size (32px).
|
|
250
286
|
*/
|
|
251
|
-
Sm
|
|
287
|
+
ButtonBaseSize["Sm"] = "sm";
|
|
252
288
|
/**
|
|
253
289
|
* Represents a medium button size (40px).
|
|
254
290
|
*/
|
|
255
|
-
Md
|
|
291
|
+
ButtonBaseSize["Md"] = "md";
|
|
256
292
|
/**
|
|
257
293
|
* Represents a large button size (48px).
|
|
258
294
|
*/
|
|
259
|
-
Lg
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
exports.ButtonVariant = {
|
|
295
|
+
ButtonBaseSize["Lg"] = "lg";
|
|
296
|
+
})(ButtonBaseSize || (exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonBaseSize = ButtonBaseSize = {}));
|
|
297
|
+
/**
|
|
298
|
+
* Button - variant
|
|
299
|
+
*/
|
|
300
|
+
var ButtonVariant;
|
|
301
|
+
(function (ButtonVariant) {
|
|
267
302
|
/**
|
|
268
303
|
* Primary button variant - used for primary actions
|
|
269
304
|
*/
|
|
270
|
-
Primary
|
|
305
|
+
ButtonVariant["Primary"] = "primary";
|
|
271
306
|
/**
|
|
272
307
|
* Secondary button variant - used for secondary actions
|
|
273
308
|
*/
|
|
274
|
-
Secondary
|
|
309
|
+
ButtonVariant["Secondary"] = "secondary";
|
|
275
310
|
/**
|
|
276
311
|
* Tertiary button variant - used for tertiary-like actions
|
|
277
312
|
*/
|
|
278
|
-
Tertiary
|
|
279
|
-
};
|
|
280
|
-
|
|
313
|
+
ButtonVariant["Tertiary"] = "tertiary";
|
|
314
|
+
})(ButtonVariant || (exports.ButtonVariant = ButtonVariant = {}));
|
|
315
|
+
/**
|
|
316
|
+
* ButtonIcon - size
|
|
317
|
+
*/
|
|
318
|
+
var ButtonIconSize;
|
|
319
|
+
(function (ButtonIconSize) {
|
|
281
320
|
/**
|
|
282
321
|
* Represents a small button size (24px).
|
|
283
322
|
*/
|
|
284
|
-
Sm
|
|
323
|
+
ButtonIconSize["Sm"] = "sm";
|
|
285
324
|
/**
|
|
286
325
|
* Represents a medium button size (32px).
|
|
287
326
|
*/
|
|
288
|
-
Md
|
|
327
|
+
ButtonIconSize["Md"] = "md";
|
|
289
328
|
/**
|
|
290
329
|
* Represents a large button size (40px).
|
|
291
330
|
*/
|
|
292
|
-
Lg
|
|
293
|
-
};
|
|
294
|
-
|
|
331
|
+
ButtonIconSize["Lg"] = "lg";
|
|
332
|
+
})(ButtonIconSize || (exports.ButtonIconSize = ButtonIconSize = {}));
|
|
333
|
+
/**
|
|
334
|
+
* Text - variant
|
|
335
|
+
*/
|
|
336
|
+
var TextVariant;
|
|
337
|
+
(function (TextVariant) {
|
|
295
338
|
// Display Sizes
|
|
296
|
-
DisplayLg
|
|
297
|
-
DisplayMd
|
|
339
|
+
TextVariant["DisplayLg"] = "display-lg";
|
|
340
|
+
TextVariant["DisplayMd"] = "display-md";
|
|
298
341
|
// Heading Sizes
|
|
299
|
-
HeadingLg
|
|
300
|
-
HeadingMd
|
|
301
|
-
HeadingSm
|
|
342
|
+
TextVariant["HeadingLg"] = "heading-lg";
|
|
343
|
+
TextVariant["HeadingMd"] = "heading-md";
|
|
344
|
+
TextVariant["HeadingSm"] = "heading-sm";
|
|
302
345
|
// Font Sizes
|
|
303
|
-
BodyLg
|
|
304
|
-
BodyMd
|
|
305
|
-
BodySm
|
|
306
|
-
BodyXs
|
|
346
|
+
TextVariant["BodyLg"] = "body-lg";
|
|
347
|
+
TextVariant["BodyMd"] = "body-md";
|
|
348
|
+
TextVariant["BodySm"] = "body-sm";
|
|
349
|
+
TextVariant["BodyXs"] = "body-xs";
|
|
307
350
|
// Special Typography Variants
|
|
308
|
-
PageHeading
|
|
309
|
-
SectionHeading
|
|
310
|
-
ButtonLabelMd
|
|
311
|
-
ButtonLabelLg
|
|
312
|
-
AmountDisplayLg
|
|
313
|
-
};
|
|
314
|
-
|
|
351
|
+
TextVariant["PageHeading"] = "page-heading";
|
|
352
|
+
TextVariant["SectionHeading"] = "section-heading";
|
|
353
|
+
TextVariant["ButtonLabelMd"] = "button-label-md";
|
|
354
|
+
TextVariant["ButtonLabelLg"] = "button-label-lg";
|
|
355
|
+
TextVariant["AmountDisplayLg"] = "amount-display-lg";
|
|
356
|
+
})(TextVariant || (exports.TextVariant = TextVariant = {}));
|
|
357
|
+
/**
|
|
358
|
+
* Text - color
|
|
359
|
+
*/
|
|
360
|
+
var TextColor;
|
|
361
|
+
(function (TextColor) {
|
|
315
362
|
/** For default neutral text. */
|
|
316
|
-
TextDefault
|
|
363
|
+
TextColor["TextDefault"] = "text-default";
|
|
317
364
|
/** For softer contrast neutral text */
|
|
318
|
-
TextAlternative
|
|
365
|
+
TextColor["TextAlternative"] = "text-alternative";
|
|
319
366
|
/** For the softest contrast neutral text (not accessible) */
|
|
320
|
-
TextMuted
|
|
367
|
+
TextColor["TextMuted"] = "text-muted";
|
|
321
368
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
322
|
-
OverlayInverse
|
|
369
|
+
TextColor["OverlayInverse"] = "text-overlay-inverse";
|
|
323
370
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
324
|
-
PrimaryDefault
|
|
371
|
+
TextColor["PrimaryDefault"] = "text-primary-default";
|
|
325
372
|
/** For primary text in a hover state. */
|
|
326
|
-
PrimaryDefaultHover
|
|
373
|
+
TextColor["PrimaryDefaultHover"] = "text-primary-default-hover";
|
|
327
374
|
/** For primary text in a pressed state. */
|
|
328
|
-
PrimaryDefaultPressed
|
|
375
|
+
TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
329
376
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
330
|
-
PrimaryInverse
|
|
377
|
+
TextColor["PrimaryInverse"] = "text-primary-inverse";
|
|
331
378
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
332
|
-
ErrorDefault
|
|
379
|
+
TextColor["ErrorDefault"] = "text-error-default";
|
|
333
380
|
/** For critical alert text in a hover state. */
|
|
334
|
-
ErrorDefaultHover
|
|
381
|
+
TextColor["ErrorDefaultHover"] = "text-error-default-hover";
|
|
335
382
|
/** For critical alert text in a pressed state. */
|
|
336
|
-
ErrorDefaultPressed
|
|
383
|
+
TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
337
384
|
/** For the stronger contrast error semantic elements. */
|
|
338
|
-
ErrorAlternative
|
|
385
|
+
TextColor["ErrorAlternative"] = "text-error-alternative";
|
|
339
386
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
340
|
-
ErrorInverse
|
|
387
|
+
TextColor["ErrorInverse"] = "text-error-inverse";
|
|
341
388
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
342
|
-
SuccessDefault
|
|
389
|
+
TextColor["SuccessDefault"] = "text-success-default";
|
|
343
390
|
/** For positive text in a hover state. */
|
|
344
|
-
SuccessDefaultHover
|
|
391
|
+
TextColor["SuccessDefaultHover"] = "text-success-default-hover";
|
|
345
392
|
/** For positive text in a pressed state. */
|
|
346
|
-
SuccessDefaultPressed
|
|
393
|
+
TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
347
394
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
348
|
-
SuccessInverse
|
|
395
|
+
TextColor["SuccessInverse"] = "text-success-inverse";
|
|
349
396
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
350
|
-
WarningDefault
|
|
397
|
+
TextColor["WarningDefault"] = "text-warning-default";
|
|
351
398
|
/** For caution text in a hover state. */
|
|
352
|
-
WarningDefaultHover
|
|
399
|
+
TextColor["WarningDefaultHover"] = "text-warning-default-hover";
|
|
353
400
|
/** For caution text in a pressed state. */
|
|
354
|
-
WarningDefaultPressed
|
|
401
|
+
TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
355
402
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
356
|
-
WarningInverse
|
|
403
|
+
TextColor["WarningInverse"] = "text-warning-inverse";
|
|
357
404
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
358
|
-
InfoDefault
|
|
405
|
+
TextColor["InfoDefault"] = "text-info-default";
|
|
359
406
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
360
|
-
InfoInverse
|
|
407
|
+
TextColor["InfoInverse"] = "text-info-inverse";
|
|
361
408
|
/** Inherit the color of the parent element */
|
|
362
|
-
Inherit
|
|
409
|
+
TextColor["Inherit"] = "text-inherit";
|
|
363
410
|
/** Make the text color transparent */
|
|
364
|
-
Transparent
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
411
|
+
TextColor["Transparent"] = "text-transparent";
|
|
412
|
+
})(TextColor || (exports.TextColor = TextColor = {}));
|
|
413
|
+
/**
|
|
414
|
+
* Text - textAlign
|
|
415
|
+
*/
|
|
416
|
+
var TextAlign;
|
|
417
|
+
(function (TextAlign) {
|
|
418
|
+
TextAlign["Left"] = "text-left";
|
|
419
|
+
TextAlign["Center"] = "text-center";
|
|
420
|
+
TextAlign["Right"] = "text-right";
|
|
421
|
+
TextAlign["Justify"] = "text-justify";
|
|
422
|
+
})(TextAlign || (exports.TextAlign = TextAlign = {}));
|
|
423
|
+
/**
|
|
424
|
+
* Text - fontWeight
|
|
425
|
+
*/
|
|
426
|
+
var FontWeight;
|
|
427
|
+
(function (FontWeight) {
|
|
373
428
|
/**
|
|
374
429
|
* Weight - 700
|
|
375
430
|
*/
|
|
376
|
-
Bold
|
|
431
|
+
FontWeight["Bold"] = "font-bold";
|
|
377
432
|
/**
|
|
378
433
|
* Weight - 500
|
|
379
434
|
*/
|
|
380
|
-
Medium
|
|
435
|
+
FontWeight["Medium"] = "font-medium";
|
|
381
436
|
/**
|
|
382
437
|
* Weight - 400
|
|
383
438
|
*/
|
|
384
|
-
Regular
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
Normal
|
|
394
|
-
};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
439
|
+
FontWeight["Regular"] = "font-regular";
|
|
440
|
+
})(FontWeight || (exports.FontWeight = FontWeight = {}));
|
|
441
|
+
/**
|
|
442
|
+
* Text - overflowWrap
|
|
443
|
+
*/
|
|
444
|
+
var OverflowWrap;
|
|
445
|
+
(function (OverflowWrap) {
|
|
446
|
+
OverflowWrap["BreakWord"] = "break-words";
|
|
447
|
+
OverflowWrap["Anywhere"] = "break-all";
|
|
448
|
+
OverflowWrap["Normal"] = "break-normal";
|
|
449
|
+
})(OverflowWrap || (exports.OverflowWrap = OverflowWrap = {}));
|
|
450
|
+
/**
|
|
451
|
+
* Text - fontStyle
|
|
452
|
+
*/
|
|
453
|
+
var FontStyle;
|
|
454
|
+
(function (FontStyle) {
|
|
455
|
+
FontStyle["Italic"] = "italic";
|
|
456
|
+
FontStyle["Normal"] = "not-italic";
|
|
457
|
+
})(FontStyle || (exports.FontStyle = FontStyle = {}));
|
|
458
|
+
/**
|
|
459
|
+
* Text - textTransform
|
|
460
|
+
*/
|
|
461
|
+
var TextTransform;
|
|
462
|
+
(function (TextTransform) {
|
|
463
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
464
|
+
TextTransform["Uppercase"] = "uppercase";
|
|
465
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
466
|
+
TextTransform["Lowercase"] = "lowercase";
|
|
467
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
468
|
+
TextTransform["Capitalize"] = "capitalize";
|
|
469
|
+
TextTransform["Normal"] = "normal-case";
|
|
470
|
+
})(TextTransform || (exports.TextTransform = TextTransform = {}));
|
|
471
|
+
/**
|
|
472
|
+
* Text - fontFamily
|
|
473
|
+
*/
|
|
474
|
+
var FontFamily;
|
|
475
|
+
(function (FontFamily) {
|
|
476
|
+
FontFamily["Default"] = "font-default";
|
|
477
|
+
FontFamily["Accent"] = "font-accent";
|
|
478
|
+
FontFamily["Hero"] = "font-hero";
|
|
479
|
+
})(FontFamily || (exports.FontFamily = FontFamily = {}));
|
|
480
|
+
/**
|
|
481
|
+
* TextButton - size
|
|
482
|
+
*/
|
|
483
|
+
var TextButtonSize;
|
|
484
|
+
(function (TextButtonSize) {
|
|
485
|
+
TextButtonSize["BodyLg"] = "body-lg";
|
|
486
|
+
TextButtonSize["BodyMd"] = "body-md";
|
|
487
|
+
TextButtonSize["BodySm"] = "body-sm";
|
|
488
|
+
TextButtonSize["BodyXs"] = "body-xs";
|
|
489
|
+
})(TextButtonSize || (exports.TextButtonSize = TextButtonSize = {}));
|
|
490
|
+
/**
|
|
491
|
+
* Icon - size
|
|
492
|
+
*/
|
|
493
|
+
var IconSize;
|
|
494
|
+
(function (IconSize) {
|
|
413
495
|
/** Extra small - 12px */
|
|
414
|
-
Xs
|
|
496
|
+
IconSize["Xs"] = "xs";
|
|
415
497
|
/** Small - 16px */
|
|
416
|
-
Sm
|
|
498
|
+
IconSize["Sm"] = "sm";
|
|
417
499
|
/** Medium - 20px (Default) */
|
|
418
|
-
Md
|
|
500
|
+
IconSize["Md"] = "md";
|
|
419
501
|
/** Large - 24px */
|
|
420
|
-
Lg
|
|
502
|
+
IconSize["Lg"] = "lg";
|
|
421
503
|
/** Extra large - 32px */
|
|
422
|
-
Xl
|
|
423
|
-
};
|
|
424
|
-
|
|
504
|
+
IconSize["Xl"] = "xl";
|
|
505
|
+
})(IconSize || (exports.IconSize = IconSize = {}));
|
|
506
|
+
/**
|
|
507
|
+
* Icon - color
|
|
508
|
+
*/
|
|
509
|
+
var IconColor;
|
|
510
|
+
(function (IconColor) {
|
|
425
511
|
/** For default neutral icons */
|
|
426
|
-
IconDefault
|
|
512
|
+
IconColor["IconDefault"] = "text-icon-default";
|
|
427
513
|
/** For softer neutral icons */
|
|
428
|
-
IconAlternative
|
|
514
|
+
IconColor["IconAlternative"] = "text-icon-alternative";
|
|
429
515
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
430
|
-
IconMuted
|
|
516
|
+
IconColor["IconMuted"] = "text-icon-muted";
|
|
431
517
|
/** For elements used on top of overlay/alternative. Used for text, icon or border */
|
|
432
|
-
OverlayInverse
|
|
518
|
+
IconColor["OverlayInverse"] = "text-overlay-inverse";
|
|
433
519
|
/** For interactive, active, and selected semantics. Used for text, background, icon or border */
|
|
434
|
-
PrimaryDefault
|
|
520
|
+
IconColor["PrimaryDefault"] = "text-primary-default";
|
|
435
521
|
/** For elements used on top of primary/default. Used for text, icon or border */
|
|
436
|
-
PrimaryInverse
|
|
522
|
+
IconColor["PrimaryInverse"] = "text-primary-inverse";
|
|
437
523
|
/** For the critical alert semantic elements. Used for text, background, icon or border */
|
|
438
|
-
ErrorDefault
|
|
524
|
+
IconColor["ErrorDefault"] = "text-error-default";
|
|
439
525
|
/** For elements used on top of error/default. Used for text, icon or border */
|
|
440
|
-
ErrorInverse
|
|
526
|
+
IconColor["ErrorInverse"] = "text-error-inverse";
|
|
441
527
|
/** For the positive semantic elements. Used for text, background, icon or border */
|
|
442
|
-
SuccessDefault
|
|
528
|
+
IconColor["SuccessDefault"] = "text-success-default";
|
|
443
529
|
/** For elements used on top of success/default. Used for text, icon or border */
|
|
444
|
-
SuccessInverse
|
|
530
|
+
IconColor["SuccessInverse"] = "text-success-inverse";
|
|
445
531
|
/** For the caution alert semantic elements. Used for text, background, icon or border */
|
|
446
|
-
WarningDefault
|
|
532
|
+
IconColor["WarningDefault"] = "text-warning-default";
|
|
447
533
|
/** For elements used on top of warning/default. Used for text, icon or border */
|
|
448
|
-
WarningInverse
|
|
534
|
+
IconColor["WarningInverse"] = "text-warning-inverse";
|
|
449
535
|
/** For informational read-only elements. Used for text, background, icon or border */
|
|
450
|
-
InfoDefault
|
|
536
|
+
IconColor["InfoDefault"] = "text-info-default";
|
|
451
537
|
/** For elements used on top of info/default. Used for text, icon or border */
|
|
452
|
-
InfoInverse
|
|
453
|
-
};
|
|
538
|
+
IconColor["InfoInverse"] = "text-info-inverse";
|
|
539
|
+
})(IconColor || (exports.IconColor = IconColor = {}));
|
|
454
540
|
/**
|
|
455
541
|
* Autogenerated from the generate-icon-script.ts script.
|
|
456
542
|
* Please do not edit this enum directly.
|
|
@@ -636,6 +722,7 @@ var IconName;
|
|
|
636
722
|
IconName["Plug"] = "Plug";
|
|
637
723
|
IconName["PlusAndMinus"] = "PlusAndMinus";
|
|
638
724
|
IconName["PolicyAlert"] = "PolicyAlert";
|
|
725
|
+
IconName["PopUp"] = "PopUp";
|
|
639
726
|
IconName["Print"] = "Print";
|
|
640
727
|
IconName["PriorityHigh"] = "PriorityHigh";
|
|
641
728
|
IconName["PrivacyTip"] = "PrivacyTip";
|
|
@@ -676,6 +763,7 @@ var IconName;
|
|
|
676
763
|
IconName["ShieldLock"] = "ShieldLock";
|
|
677
764
|
IconName["ShoppingBag"] = "ShoppingBag";
|
|
678
765
|
IconName["ShoppingCart"] = "ShoppingCart";
|
|
766
|
+
IconName["SidePanel"] = "SidePanel";
|
|
679
767
|
IconName["SignalCellular"] = "SignalCellular";
|
|
680
768
|
IconName["Slash"] = "Slash";
|
|
681
769
|
IconName["Sms"] = "Sms";
|