@metamask-previews/design-system-react-native 0.5.1-preview.ab80aae → 0.6.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/AvatarBase/AvatarBase.cjs +9 -11
- package/dist/components/AvatarBase/AvatarBase.cjs.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.d.cts.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.d.mts.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.mjs +9 -11
- package/dist/components/AvatarBase/AvatarBase.mjs.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.cjs +2 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.cjs.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.d.cts +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.d.cts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.d.mts +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.d.mts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.mjs +2 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.mjs.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.cjs +4 -5
- package/dist/components/AvatarGroup/AvatarGroup.cjs.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.mjs +4 -5
- package/dist/components/AvatarGroup/AvatarGroup.mjs.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/AvatarIcon/AvatarIcon.cjs +5 -6
- package/dist/components/AvatarIcon/AvatarIcon.cjs.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.d.cts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.d.mts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.mjs +5 -6
- package/dist/components/AvatarIcon/AvatarIcon.mjs.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.cjs +2 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.cjs.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.cts +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.cts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.mts +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.mts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.mjs +2 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.mjs.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.cjs +2 -2
- package/dist/components/AvatarToken/AvatarToken.cjs.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.cts +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.cts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.mts +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.mts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.mjs +2 -2
- package/dist/components/AvatarToken/AvatarToken.mjs.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.cjs +5 -10
- package/dist/components/BadgeCount/BadgeCount.cjs.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.cts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.mts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.mjs +5 -10
- package/dist/components/BadgeCount/BadgeCount.mjs.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.cjs +5 -10
- package/dist/components/BadgeIcon/BadgeIcon.cjs.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.d.cts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.d.mts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.mjs +5 -10
- package/dist/components/BadgeIcon/BadgeIcon.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.cjs +6 -6
- 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 +6 -6
- 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 +5 -29
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +5 -29
- 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 +4 -4
- 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/BadgeWrapper/BadgeWrapper.cjs +3 -3
- package/dist/components/BadgeWrapper/BadgeWrapper.cjs.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.d.cts.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.d.mts.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.mjs +3 -3
- package/dist/components/BadgeWrapper/BadgeWrapper.mjs.map +1 -1
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.cjs +51 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.cjs.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.cjs +7 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.cjs.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.d.cts +3 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.d.cts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.d.mts +3 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.d.mts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.mjs +4 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.constants.mjs.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.d.cts +4 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.d.cts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.d.mts +4 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.d.mts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.mjs +31 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.mjs.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.cjs +3 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.cjs.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.cts +20 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.cts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.mts +20 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.d.mts.map +1 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.mjs +2 -0
- package/dist/components/BottomSheetOverlay/BottomSheetOverlay.types.mjs.map +1 -0
- package/dist/components/BottomSheetOverlay/index.cjs +6 -0
- package/dist/components/BottomSheetOverlay/index.cjs.map +1 -0
- package/dist/components/BottomSheetOverlay/index.d.cts +3 -0
- package/dist/components/BottomSheetOverlay/index.d.cts.map +1 -0
- package/dist/components/BottomSheetOverlay/index.d.mts +3 -0
- package/dist/components/BottomSheetOverlay/index.d.mts.map +1 -0
- package/dist/components/BottomSheetOverlay/index.mjs +2 -0
- package/dist/components/BottomSheetOverlay/index.mjs.map +1 -0
- package/dist/components/Box/Box.cjs +12 -27
- package/dist/components/Box/Box.cjs.map +1 -1
- package/dist/components/Box/Box.d.cts.map +1 -1
- package/dist/components/Box/Box.d.mts.map +1 -1
- package/dist/components/Box/Box.mjs +12 -27
- package/dist/components/Box/Box.mjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.cjs +50 -41
- package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.mjs +50 -41
- package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.cjs +5 -10
- package/dist/components/ButtonIcon/ButtonIcon.cjs.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.d.cts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.d.mts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.mjs +5 -10
- package/dist/components/ButtonIcon/ButtonIcon.mjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.cjs +4 -4
- package/dist/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.cts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.mts.map +1 -1
- package/dist/components/Checkbox/Checkbox.mjs +4 -4
- package/dist/components/Checkbox/Checkbox.mjs.map +1 -1
- package/dist/components/Icon/Icon.cjs +4 -32
- package/dist/components/Icon/Icon.cjs.map +1 -1
- package/dist/components/Icon/Icon.d.cts.map +1 -1
- package/dist/components/Icon/Icon.d.mts.map +1 -1
- package/dist/components/Icon/Icon.mjs +2 -10
- package/dist/components/Icon/Icon.mjs.map +1 -1
- package/dist/components/Text/Text.cjs +9 -14
- package/dist/components/Text/Text.cjs.map +1 -1
- package/dist/components/Text/Text.d.cts.map +1 -1
- package/dist/components/Text/Text.d.mts.map +1 -1
- package/dist/components/Text/Text.mjs +10 -15
- package/dist/components/Text/Text.mjs.map +1 -1
- package/dist/components/index.cjs +4 -2
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -0
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +1 -0
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs +17 -9
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.cjs.map +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.cts +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.cts.map +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.mts +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.mts.map +1 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs +17 -6
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.mjs.map +1 -1
- package/dist/components/temp-components/Spinner/Spinner.cjs +2 -2
- package/dist/components/temp-components/Spinner/Spinner.cjs.map +1 -1
- package/dist/components/temp-components/Spinner/Spinner.d.cts.map +1 -1
- package/dist/components/temp-components/Spinner/Spinner.d.mts.map +1 -1
- package/dist/components/temp-components/Spinner/Spinner.mjs +2 -2
- package/dist/components/temp-components/Spinner/Spinner.mjs.map +1 -1
- package/dist/types/index.cjs +337 -265
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +235 -285
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +235 -285
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +336 -252
- package/dist/types/index.mjs.map +1 -1
- package/package.json +13 -9
- package/dist/components/Icon/Icon.utilities.cjs +0 -31
- package/dist/components/Icon/Icon.utilities.cjs.map +0 -1
- package/dist/components/Icon/Icon.utilities.d.cts +0 -22
- package/dist/components/Icon/Icon.utilities.d.cts.map +0 -1
- package/dist/components/Icon/Icon.utilities.d.mts +0 -22
- package/dist/components/Icon/Icon.utilities.d.mts.map +0 -1
- package/dist/components/Icon/Icon.utilities.mjs +0 -27
- package/dist/components/Icon/Icon.utilities.mjs.map +0 -1
- package/dist/components/Text/Text.utilities.cjs +0 -46
- package/dist/components/Text/Text.utilities.cjs.map +0 -1
- package/dist/components/Text/Text.utilities.d.cts +0 -32
- package/dist/components/Text/Text.utilities.d.cts.map +0 -1
- package/dist/components/Text/Text.utilities.d.mts +0 -32
- package/dist/components/Text/Text.utilities.d.mts.map +0 -1
- package/dist/components/Text/Text.utilities.mjs +0 -42
- package/dist/components/Text/Text.utilities.mjs.map +0 -1
package/dist/types/index.cjs
CHANGED
|
@@ -1,433 +1,505 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
4
|
-
|
|
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.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarGroupVariant = exports.AvatarAccountVariant = exports.AvatarBaseShape = exports.AvatarShape = exports.AvatarSize = exports.AvatarTokenSize = exports.AvatarNetworkSize = exports.AvatarIconSize = exports.AvatarGroupSize = exports.AvatarFaviconSize = exports.AvatarAccountSize = exports.AvatarBaseSize = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* AvatarBase - size
|
|
6
|
+
*/
|
|
7
|
+
var AvatarBaseSize;
|
|
8
|
+
(function (AvatarBaseSize) {
|
|
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
|
-
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
|
-
Primary
|
|
267
|
-
Secondary
|
|
268
|
-
Tertiary
|
|
269
|
-
};
|
|
270
|
-
|
|
295
|
+
ButtonBaseSize["Lg"] = "lg";
|
|
296
|
+
})(ButtonBaseSize || (exports.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonSize = exports.ButtonBaseSize = ButtonBaseSize = {}));
|
|
297
|
+
/**
|
|
298
|
+
* Button - variant
|
|
299
|
+
*/
|
|
300
|
+
var ButtonVariant;
|
|
301
|
+
(function (ButtonVariant) {
|
|
302
|
+
ButtonVariant["Primary"] = "primary";
|
|
303
|
+
ButtonVariant["Secondary"] = "secondary";
|
|
304
|
+
ButtonVariant["Tertiary"] = "tertiary";
|
|
305
|
+
})(ButtonVariant || (exports.ButtonVariant = ButtonVariant = {}));
|
|
306
|
+
/**
|
|
307
|
+
* ButtonIcon - size
|
|
308
|
+
*/
|
|
309
|
+
var ButtonIconSize;
|
|
310
|
+
(function (ButtonIconSize) {
|
|
271
311
|
/**
|
|
272
312
|
* Represents a small button size (24px).
|
|
273
313
|
*/
|
|
274
|
-
Sm
|
|
314
|
+
ButtonIconSize["Sm"] = "sm";
|
|
275
315
|
/**
|
|
276
316
|
* Represents a medium button size (32px).
|
|
277
317
|
*/
|
|
278
|
-
Md
|
|
318
|
+
ButtonIconSize["Md"] = "md";
|
|
279
319
|
/**
|
|
280
320
|
* Represents a large button size (40px).
|
|
281
321
|
*/
|
|
282
|
-
Lg
|
|
283
|
-
};
|
|
284
|
-
|
|
322
|
+
ButtonIconSize["Lg"] = "lg";
|
|
323
|
+
})(ButtonIconSize || (exports.ButtonIconSize = ButtonIconSize = {}));
|
|
324
|
+
/**
|
|
325
|
+
* Text - variant
|
|
326
|
+
*/
|
|
327
|
+
var TextVariant;
|
|
328
|
+
(function (TextVariant) {
|
|
285
329
|
// Display Sizes
|
|
286
|
-
DisplayLg
|
|
287
|
-
DisplayMd
|
|
330
|
+
TextVariant["DisplayLg"] = "display-lg";
|
|
331
|
+
TextVariant["DisplayMd"] = "display-md";
|
|
288
332
|
// Heading Sizes
|
|
289
|
-
HeadingLg
|
|
290
|
-
HeadingMd
|
|
291
|
-
HeadingSm
|
|
333
|
+
TextVariant["HeadingLg"] = "heading-lg";
|
|
334
|
+
TextVariant["HeadingMd"] = "heading-md";
|
|
335
|
+
TextVariant["HeadingSm"] = "heading-sm";
|
|
292
336
|
// Body Sizes
|
|
293
|
-
BodyLg
|
|
294
|
-
BodyMd
|
|
295
|
-
BodySm
|
|
296
|
-
BodyXs
|
|
337
|
+
TextVariant["BodyLg"] = "body-lg";
|
|
338
|
+
TextVariant["BodyMd"] = "body-md";
|
|
339
|
+
TextVariant["BodySm"] = "body-sm";
|
|
340
|
+
TextVariant["BodyXs"] = "body-xs";
|
|
297
341
|
// Special Typography Variants
|
|
298
|
-
PageHeading
|
|
299
|
-
SectionHeading
|
|
300
|
-
ButtonLabelMd
|
|
301
|
-
ButtonLabelLg
|
|
302
|
-
AmountDisplayLg
|
|
303
|
-
};
|
|
304
|
-
|
|
342
|
+
TextVariant["PageHeading"] = "page-heading";
|
|
343
|
+
TextVariant["SectionHeading"] = "section-heading";
|
|
344
|
+
TextVariant["ButtonLabelMd"] = "button-label-md";
|
|
345
|
+
TextVariant["ButtonLabelLg"] = "button-label-lg";
|
|
346
|
+
TextVariant["AmountDisplayLg"] = "amount-display-lg";
|
|
347
|
+
})(TextVariant || (exports.TextVariant = TextVariant = {}));
|
|
348
|
+
/**
|
|
349
|
+
* Text - color
|
|
350
|
+
*/
|
|
351
|
+
var TextColor;
|
|
352
|
+
(function (TextColor) {
|
|
305
353
|
/** For default neutral text. */
|
|
306
|
-
TextDefault
|
|
354
|
+
TextColor["TextDefault"] = "text-default";
|
|
307
355
|
/** For softer contrast neutral text */
|
|
308
|
-
TextAlternative
|
|
356
|
+
TextColor["TextAlternative"] = "text-alternative";
|
|
309
357
|
/** For the softest contrast neutral text (not accessible) */
|
|
310
|
-
TextMuted
|
|
358
|
+
TextColor["TextMuted"] = "text-muted";
|
|
311
359
|
/** For elements used on top of overlay/alternative. */
|
|
312
|
-
OverlayInverse
|
|
360
|
+
TextColor["OverlayInverse"] = "text-overlay-inverse";
|
|
313
361
|
/** For interactive, active, and selected semantics. */
|
|
314
|
-
PrimaryDefault
|
|
362
|
+
TextColor["PrimaryDefault"] = "text-primary-default";
|
|
315
363
|
/** For softer variants of primary text. */
|
|
316
|
-
PrimaryAlternative
|
|
364
|
+
TextColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
317
365
|
/** For elements used on top of primary/default. */
|
|
318
|
-
PrimaryInverse
|
|
366
|
+
TextColor["PrimaryInverse"] = "text-primary-inverse";
|
|
319
367
|
/** For primary text in a pressed state. */
|
|
320
|
-
PrimaryDefaultPressed
|
|
368
|
+
TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
321
369
|
/** For critical alert text. */
|
|
322
|
-
ErrorDefault
|
|
370
|
+
TextColor["ErrorDefault"] = "text-error-default";
|
|
323
371
|
/** For stronger contrast error text. */
|
|
324
|
-
ErrorAlternative
|
|
372
|
+
TextColor["ErrorAlternative"] = "text-error-alternative";
|
|
325
373
|
/** For elements used on top of error/default. */
|
|
326
|
-
ErrorInverse
|
|
374
|
+
TextColor["ErrorInverse"] = "text-error-inverse";
|
|
327
375
|
/** For critical alert text in a pressed state. */
|
|
328
|
-
ErrorDefaultPressed
|
|
376
|
+
TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
329
377
|
/** For caution alert text. */
|
|
330
|
-
WarningDefault
|
|
378
|
+
TextColor["WarningDefault"] = "text-warning-default";
|
|
331
379
|
/** For elements used on top of warning/default. */
|
|
332
|
-
WarningInverse
|
|
380
|
+
TextColor["WarningInverse"] = "text-warning-inverse";
|
|
333
381
|
/** For caution text in a pressed state. */
|
|
334
|
-
WarningDefaultPressed
|
|
382
|
+
TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
335
383
|
/** For positive semantic text. */
|
|
336
|
-
SuccessDefault
|
|
384
|
+
TextColor["SuccessDefault"] = "text-success-default";
|
|
337
385
|
/** For elements used on top of success/default. */
|
|
338
|
-
SuccessInverse
|
|
386
|
+
TextColor["SuccessInverse"] = "text-success-inverse";
|
|
339
387
|
/** For positive text in a pressed state. */
|
|
340
|
-
SuccessDefaultPressed
|
|
388
|
+
TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
341
389
|
/** For informational read-only text. */
|
|
342
|
-
InfoDefault
|
|
390
|
+
TextColor["InfoDefault"] = "text-info-default";
|
|
343
391
|
/** For elements used on top of info/default. */
|
|
344
|
-
InfoInverse
|
|
392
|
+
TextColor["InfoInverse"] = "text-info-inverse";
|
|
345
393
|
/** Make the text color transparent. */
|
|
346
|
-
Transparent
|
|
347
|
-
};
|
|
348
|
-
|
|
394
|
+
TextColor["Transparent"] = "text-transparent";
|
|
395
|
+
})(TextColor || (exports.TextColor = TextColor = {}));
|
|
396
|
+
/**
|
|
397
|
+
* Text - fontWeight
|
|
398
|
+
*/
|
|
399
|
+
var FontWeight;
|
|
400
|
+
(function (FontWeight) {
|
|
349
401
|
/**
|
|
350
402
|
* Weight - 700
|
|
351
403
|
*/
|
|
352
|
-
Bold
|
|
404
|
+
FontWeight["Bold"] = "700";
|
|
353
405
|
/**
|
|
354
406
|
* Weight - 500
|
|
355
407
|
*/
|
|
356
|
-
Medium
|
|
408
|
+
FontWeight["Medium"] = "500";
|
|
357
409
|
/**
|
|
358
410
|
* Weight - 400
|
|
359
411
|
*/
|
|
360
|
-
Regular
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
412
|
+
FontWeight["Regular"] = "400";
|
|
413
|
+
})(FontWeight || (exports.FontWeight = FontWeight = {}));
|
|
414
|
+
/**
|
|
415
|
+
* Text - fontStyle
|
|
416
|
+
*/
|
|
417
|
+
var FontStyle;
|
|
418
|
+
(function (FontStyle) {
|
|
419
|
+
FontStyle["Italic"] = "italic";
|
|
420
|
+
FontStyle["Normal"] = "normal";
|
|
421
|
+
})(FontStyle || (exports.FontStyle = FontStyle = {}));
|
|
422
|
+
/**
|
|
423
|
+
* Text - fontFamily
|
|
424
|
+
*/
|
|
425
|
+
var FontFamily;
|
|
426
|
+
(function (FontFamily) {
|
|
427
|
+
FontFamily["Default"] = "default";
|
|
428
|
+
FontFamily["Accent"] = "accent";
|
|
429
|
+
FontFamily["Hero"] = "hero";
|
|
430
|
+
})(FontFamily || (exports.FontFamily = FontFamily = {}));
|
|
431
|
+
/**
|
|
432
|
+
* TextButton - Size
|
|
433
|
+
*/
|
|
434
|
+
var TextButtonSize;
|
|
435
|
+
(function (TextButtonSize) {
|
|
436
|
+
TextButtonSize["BodyLg"] = "body-lg";
|
|
437
|
+
TextButtonSize["BodyMd"] = "body-md";
|
|
438
|
+
TextButtonSize["BodySm"] = "body-sm";
|
|
439
|
+
TextButtonSize["BodyXs"] = "body-xs";
|
|
440
|
+
})(TextButtonSize || (exports.TextButtonSize = TextButtonSize = {}));
|
|
441
|
+
/**
|
|
442
|
+
* Icon - color
|
|
443
|
+
*/
|
|
444
|
+
var IconColor;
|
|
445
|
+
(function (IconColor) {
|
|
378
446
|
/** For default neutral icons */
|
|
379
|
-
IconDefault
|
|
447
|
+
IconColor["IconDefault"] = "text-icon-default";
|
|
380
448
|
/** For softer neutral icons */
|
|
381
|
-
IconAlternative
|
|
449
|
+
IconColor["IconAlternative"] = "text-icon-alternative";
|
|
382
450
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
383
|
-
IconMuted
|
|
451
|
+
IconColor["IconMuted"] = "text-icon-muted";
|
|
384
452
|
/** For elements used on top of overlay/alternative. Used for text, icon, or border */
|
|
385
|
-
OverlayInverse
|
|
453
|
+
IconColor["OverlayInverse"] = "text-overlay-inverse";
|
|
386
454
|
/** For interactive, active, and selected semantics. Used for text, background, icon, or border */
|
|
387
|
-
PrimaryDefault
|
|
455
|
+
IconColor["PrimaryDefault"] = "text-primary-default";
|
|
388
456
|
/** For softer variants of primary interactive elements */
|
|
389
|
-
PrimaryAlternative
|
|
457
|
+
IconColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
390
458
|
/** For elements used on top of primary/default. Used for text, icon, or border */
|
|
391
|
-
PrimaryInverse
|
|
459
|
+
IconColor["PrimaryInverse"] = "text-primary-inverse";
|
|
392
460
|
/** For primary interactive elements in a pressed state */
|
|
393
|
-
PrimaryDefaultPressed
|
|
461
|
+
IconColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
394
462
|
/** For critical alert semantic elements. Used for text, background, icon, or border */
|
|
395
|
-
ErrorDefault
|
|
463
|
+
IconColor["ErrorDefault"] = "text-error-default";
|
|
396
464
|
/** For softer variants of error elements */
|
|
397
|
-
ErrorAlternative
|
|
465
|
+
IconColor["ErrorAlternative"] = "text-error-alternative";
|
|
398
466
|
/** For elements used on top of error/default. Used for text, icon, or border */
|
|
399
|
-
ErrorInverse
|
|
467
|
+
IconColor["ErrorInverse"] = "text-error-inverse";
|
|
400
468
|
/** For critical alert semantic elements in a pressed state */
|
|
401
|
-
ErrorDefaultPressed
|
|
469
|
+
IconColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
402
470
|
/** For caution alert semantic elements. Used for text, background, icon, or border */
|
|
403
|
-
WarningDefault
|
|
471
|
+
IconColor["WarningDefault"] = "text-warning-default";
|
|
404
472
|
/** For elements used on top of warning/default. Used for text, icon, or border */
|
|
405
|
-
WarningInverse
|
|
473
|
+
IconColor["WarningInverse"] = "text-warning-inverse";
|
|
406
474
|
/** For caution alert semantic elements in a pressed state */
|
|
407
|
-
WarningDefaultPressed
|
|
475
|
+
IconColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
408
476
|
/** For positive semantic elements. Used for text, background, icon, or border */
|
|
409
|
-
SuccessDefault
|
|
477
|
+
IconColor["SuccessDefault"] = "text-success-default";
|
|
410
478
|
/** For elements used on top of success/default. Used for text, icon, or border */
|
|
411
|
-
SuccessInverse
|
|
479
|
+
IconColor["SuccessInverse"] = "text-success-inverse";
|
|
412
480
|
/** For positive semantic elements in a pressed state */
|
|
413
|
-
SuccessDefaultPressed
|
|
481
|
+
IconColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
414
482
|
/** For informational read-only elements. Used for text, background, icon, or border */
|
|
415
|
-
InfoDefault
|
|
483
|
+
IconColor["InfoDefault"] = "text-info-default";
|
|
416
484
|
/** For elements used on top of info/default. Used for text, icon, or border */
|
|
417
|
-
InfoInverse
|
|
418
|
-
};
|
|
419
|
-
|
|
485
|
+
IconColor["InfoInverse"] = "text-info-inverse";
|
|
486
|
+
})(IconColor || (exports.IconColor = IconColor = {}));
|
|
487
|
+
/**
|
|
488
|
+
* Icon - size
|
|
489
|
+
*/
|
|
490
|
+
var IconSize;
|
|
491
|
+
(function (IconSize) {
|
|
420
492
|
/** Extra small - 12px */
|
|
421
|
-
Xs
|
|
493
|
+
IconSize["Xs"] = "12";
|
|
422
494
|
/** Small - 16px */
|
|
423
|
-
Sm
|
|
495
|
+
IconSize["Sm"] = "16";
|
|
424
496
|
/** Medium - 20px (Default) */
|
|
425
|
-
Md
|
|
497
|
+
IconSize["Md"] = "20";
|
|
426
498
|
/** Large - 24px */
|
|
427
|
-
Lg
|
|
499
|
+
IconSize["Lg"] = "24";
|
|
428
500
|
/** Extra large - 32px */
|
|
429
|
-
Xl
|
|
430
|
-
};
|
|
501
|
+
IconSize["Xl"] = "32";
|
|
502
|
+
})(IconSize || (exports.IconSize = IconSize = {}));
|
|
431
503
|
// /////////////////////////////////////////////////////
|
|
432
504
|
// This is generated code - Manually add types above
|
|
433
505
|
// DO NOT EDIT - Use generate-assets.js
|