@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.mjs
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* AvatarBase - size
|
|
3
|
+
*/
|
|
4
|
+
export var AvatarBaseSize;
|
|
5
|
+
(function (AvatarBaseSize) {
|
|
2
6
|
/**
|
|
3
7
|
* Represents an extra small avatar size (16px).
|
|
4
8
|
*/
|
|
5
|
-
Xs
|
|
9
|
+
AvatarBaseSize["Xs"] = "16";
|
|
6
10
|
/**
|
|
7
11
|
* Represents a small avatar size (24px).
|
|
8
12
|
*/
|
|
9
|
-
Sm
|
|
13
|
+
AvatarBaseSize["Sm"] = "24";
|
|
10
14
|
/**
|
|
11
15
|
* Represents a medium avatar size (32px).
|
|
12
16
|
*/
|
|
13
|
-
Md
|
|
17
|
+
AvatarBaseSize["Md"] = "32";
|
|
14
18
|
/**
|
|
15
19
|
* Represents a large avatar size (40px).
|
|
16
20
|
*/
|
|
17
|
-
Lg
|
|
21
|
+
AvatarBaseSize["Lg"] = "40";
|
|
18
22
|
/**
|
|
19
23
|
* Represents an extra large avatar size (48px).
|
|
20
24
|
*/
|
|
21
|
-
Xl
|
|
22
|
-
};
|
|
25
|
+
AvatarBaseSize["Xl"] = "48";
|
|
26
|
+
})(AvatarBaseSize || (AvatarBaseSize = {}));
|
|
23
27
|
export { AvatarBaseSize as AvatarAccountSize };
|
|
24
28
|
export { AvatarBaseSize as AvatarFaviconSize };
|
|
25
29
|
export { AvatarBaseSize as AvatarGroupSize };
|
|
@@ -27,404 +31,484 @@ export { AvatarBaseSize as AvatarIconSize };
|
|
|
27
31
|
export { AvatarBaseSize as AvatarNetworkSize };
|
|
28
32
|
export { AvatarBaseSize as AvatarTokenSize };
|
|
29
33
|
export { AvatarBaseSize as AvatarSize };
|
|
30
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Avatar - shape
|
|
36
|
+
*/
|
|
37
|
+
export var AvatarShape;
|
|
38
|
+
(function (AvatarShape) {
|
|
31
39
|
/**
|
|
32
40
|
* Represents a circular Avatar.
|
|
33
41
|
*/
|
|
34
|
-
Circle
|
|
42
|
+
AvatarShape["Circle"] = "circle";
|
|
35
43
|
/**
|
|
36
44
|
* Represents a squared Avatar
|
|
37
45
|
*/
|
|
38
|
-
Square
|
|
39
|
-
};
|
|
46
|
+
AvatarShape["Square"] = "square";
|
|
47
|
+
})(AvatarShape || (AvatarShape = {}));
|
|
40
48
|
export { AvatarShape as AvatarBaseShape };
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
/**
|
|
50
|
+
* AvatarAccount - variant
|
|
51
|
+
*/
|
|
52
|
+
export var AvatarAccountVariant;
|
|
53
|
+
(function (AvatarAccountVariant) {
|
|
54
|
+
AvatarAccountVariant["Blockies"] = "blockies";
|
|
55
|
+
AvatarAccountVariant["Jazzicon"] = "jazzicon";
|
|
56
|
+
AvatarAccountVariant["Maskicon"] = "maskicon";
|
|
57
|
+
})(AvatarAccountVariant || (AvatarAccountVariant = {}));
|
|
58
|
+
/**
|
|
59
|
+
* AvatarGroup - variant
|
|
60
|
+
*/
|
|
61
|
+
export var AvatarGroupVariant;
|
|
62
|
+
(function (AvatarGroupVariant) {
|
|
63
|
+
AvatarGroupVariant["Account"] = "account";
|
|
64
|
+
AvatarGroupVariant["Favicon"] = "favicon";
|
|
65
|
+
AvatarGroupVariant["Network"] = "network";
|
|
66
|
+
AvatarGroupVariant["Token"] = "token";
|
|
67
|
+
})(AvatarGroupVariant || (AvatarGroupVariant = {}));
|
|
68
|
+
/**
|
|
69
|
+
* AvatarIcon - severity
|
|
70
|
+
*/
|
|
71
|
+
export var AvatarIconSeverity;
|
|
72
|
+
(function (AvatarIconSeverity) {
|
|
73
|
+
AvatarIconSeverity["Neutral"] = "neutral";
|
|
74
|
+
AvatarIconSeverity["Info"] = "info";
|
|
75
|
+
AvatarIconSeverity["Success"] = "success";
|
|
76
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
77
|
+
AvatarIconSeverity["Error"] = "error";
|
|
78
|
+
AvatarIconSeverity["Warning"] = "warning";
|
|
79
|
+
})(AvatarIconSeverity || (AvatarIconSeverity = {}));
|
|
80
|
+
/**
|
|
81
|
+
* BadgeCount - size
|
|
82
|
+
*/
|
|
83
|
+
export var BadgeCountSize;
|
|
84
|
+
(function (BadgeCountSize) {
|
|
60
85
|
/**
|
|
61
86
|
* Represents a medium badge count (14px height).
|
|
62
87
|
*/
|
|
63
|
-
Md
|
|
88
|
+
BadgeCountSize["Md"] = "md";
|
|
64
89
|
/**
|
|
65
90
|
* Represents a large badge count (20px height).
|
|
66
91
|
*/
|
|
67
|
-
Lg
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export
|
|
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
|
-
|
|
92
|
+
BadgeCountSize["Lg"] = "lg";
|
|
93
|
+
})(BadgeCountSize || (BadgeCountSize = {}));
|
|
94
|
+
/**
|
|
95
|
+
* BadgeWrapper - positionAnchorShape
|
|
96
|
+
*/
|
|
97
|
+
export var BadgeWrapperPositionAnchorShape;
|
|
98
|
+
(function (BadgeWrapperPositionAnchorShape) {
|
|
99
|
+
BadgeWrapperPositionAnchorShape["Rectangular"] = "rectangular";
|
|
100
|
+
BadgeWrapperPositionAnchorShape["Circular"] = "circular";
|
|
101
|
+
})(BadgeWrapperPositionAnchorShape || (BadgeWrapperPositionAnchorShape = {}));
|
|
102
|
+
/**
|
|
103
|
+
* BadgeWrapper - position.
|
|
104
|
+
*/
|
|
105
|
+
export var BadgeWrapperPosition;
|
|
106
|
+
(function (BadgeWrapperPosition) {
|
|
107
|
+
BadgeWrapperPosition["TopRight"] = "top-right";
|
|
108
|
+
BadgeWrapperPosition["BottomRight"] = "bottom-right";
|
|
109
|
+
BadgeWrapperPosition["BottomLeft"] = "bottom-left";
|
|
110
|
+
BadgeWrapperPosition["TopLeft"] = "top-left";
|
|
111
|
+
})(BadgeWrapperPosition || (BadgeWrapperPosition = {}));
|
|
112
|
+
/**
|
|
113
|
+
* Box - flexDirection
|
|
114
|
+
*/
|
|
115
|
+
export var BoxFlexDirection;
|
|
116
|
+
(function (BoxFlexDirection) {
|
|
117
|
+
BoxFlexDirection["Row"] = "flex-row";
|
|
118
|
+
BoxFlexDirection["RowReverse"] = "flex-row-reverse";
|
|
119
|
+
BoxFlexDirection["Column"] = "flex-col";
|
|
120
|
+
BoxFlexDirection["ColumnReverse"] = "flex-col-reverse";
|
|
121
|
+
})(BoxFlexDirection || (BoxFlexDirection = {}));
|
|
122
|
+
/**
|
|
123
|
+
* Box - flexWrap
|
|
124
|
+
*/
|
|
125
|
+
export var BoxFlexWrap;
|
|
126
|
+
(function (BoxFlexWrap) {
|
|
127
|
+
BoxFlexWrap["NoWrap"] = "flex-nowrap";
|
|
128
|
+
BoxFlexWrap["Wrap"] = "flex-wrap";
|
|
129
|
+
BoxFlexWrap["WrapReverse"] = "flex-wrap-reverse";
|
|
130
|
+
})(BoxFlexWrap || (BoxFlexWrap = {}));
|
|
131
|
+
/**
|
|
132
|
+
* Box - alignItems
|
|
133
|
+
*/
|
|
134
|
+
export var BoxAlignItems;
|
|
135
|
+
(function (BoxAlignItems) {
|
|
136
|
+
BoxAlignItems["Start"] = "items-start";
|
|
137
|
+
BoxAlignItems["Center"] = "items-center";
|
|
138
|
+
BoxAlignItems["End"] = "items-end";
|
|
139
|
+
BoxAlignItems["Stretch"] = "items-stretch";
|
|
140
|
+
BoxAlignItems["Baseline"] = "items-baseline";
|
|
141
|
+
})(BoxAlignItems || (BoxAlignItems = {}));
|
|
142
|
+
/**
|
|
143
|
+
* Box - justifyContent
|
|
144
|
+
*/
|
|
145
|
+
export var BoxJustifyContent;
|
|
146
|
+
(function (BoxJustifyContent) {
|
|
147
|
+
BoxJustifyContent["Start"] = "justify-start";
|
|
148
|
+
BoxJustifyContent["Center"] = "justify-center";
|
|
149
|
+
BoxJustifyContent["End"] = "justify-end";
|
|
150
|
+
BoxJustifyContent["Between"] = "justify-between";
|
|
151
|
+
BoxJustifyContent["Around"] = "justify-around";
|
|
152
|
+
BoxJustifyContent["Evenly"] = "justify-evenly";
|
|
153
|
+
})(BoxJustifyContent || (BoxJustifyContent = {}));
|
|
154
|
+
/**
|
|
155
|
+
* Box - backgroundColor
|
|
156
|
+
*/
|
|
157
|
+
export var BoxBackgroundColor;
|
|
158
|
+
(function (BoxBackgroundColor) {
|
|
123
159
|
/** Default background color */
|
|
124
|
-
BackgroundDefault
|
|
160
|
+
BoxBackgroundColor["BackgroundDefault"] = "bg-default";
|
|
125
161
|
/** Alternative background color */
|
|
126
|
-
BackgroundAlternative
|
|
162
|
+
BoxBackgroundColor["BackgroundAlternative"] = "bg-alternative";
|
|
127
163
|
/** Section background color */
|
|
128
|
-
BackgroundSection
|
|
164
|
+
BoxBackgroundColor["BackgroundSection"] = "bg-section";
|
|
129
165
|
/** Subsection background color */
|
|
130
|
-
BackgroundSubsection
|
|
166
|
+
BoxBackgroundColor["BackgroundSubsection"] = "bg-subsection";
|
|
131
167
|
/** Muted background color */
|
|
132
|
-
BackgroundMuted
|
|
168
|
+
BoxBackgroundColor["BackgroundMuted"] = "bg-muted";
|
|
133
169
|
/** Primary default background color */
|
|
134
|
-
PrimaryDefault
|
|
170
|
+
BoxBackgroundColor["PrimaryDefault"] = "bg-primary-default";
|
|
135
171
|
/** Primary alternative background color */
|
|
136
|
-
PrimaryAlternative
|
|
172
|
+
BoxBackgroundColor["PrimaryAlternative"] = "bg-primary-alternative";
|
|
137
173
|
/** Primary muted background color */
|
|
138
|
-
PrimaryMuted
|
|
174
|
+
BoxBackgroundColor["PrimaryMuted"] = "bg-primary-muted";
|
|
139
175
|
/** Primary inverse background color */
|
|
140
|
-
PrimaryInverse
|
|
176
|
+
BoxBackgroundColor["PrimaryInverse"] = "bg-primary-inverse";
|
|
141
177
|
/** Error default background color */
|
|
142
|
-
ErrorDefault
|
|
178
|
+
BoxBackgroundColor["ErrorDefault"] = "bg-error-default";
|
|
143
179
|
/** Error alternative background color */
|
|
144
|
-
ErrorAlternative
|
|
180
|
+
BoxBackgroundColor["ErrorAlternative"] = "bg-error-alternative";
|
|
145
181
|
/** Error muted background color */
|
|
146
|
-
ErrorMuted
|
|
182
|
+
BoxBackgroundColor["ErrorMuted"] = "bg-error-muted";
|
|
147
183
|
/** Error inverse background color */
|
|
148
|
-
ErrorInverse
|
|
184
|
+
BoxBackgroundColor["ErrorInverse"] = "bg-error-inverse";
|
|
149
185
|
/** Warning default background color */
|
|
150
|
-
WarningDefault
|
|
186
|
+
BoxBackgroundColor["WarningDefault"] = "bg-warning-default";
|
|
151
187
|
/** Warning alternative background color */
|
|
152
|
-
WarningAlternative
|
|
188
|
+
BoxBackgroundColor["WarningAlternative"] = "bg-warning-alternative";
|
|
153
189
|
/** Warning muted background color */
|
|
154
|
-
WarningMuted
|
|
190
|
+
BoxBackgroundColor["WarningMuted"] = "bg-warning-muted";
|
|
155
191
|
/** Warning inverse background color */
|
|
156
|
-
WarningInverse
|
|
192
|
+
BoxBackgroundColor["WarningInverse"] = "bg-warning-inverse";
|
|
157
193
|
/** Success default background color */
|
|
158
|
-
SuccessDefault
|
|
194
|
+
BoxBackgroundColor["SuccessDefault"] = "bg-success-default";
|
|
159
195
|
/** Success alternative background color */
|
|
160
|
-
SuccessAlternative
|
|
196
|
+
BoxBackgroundColor["SuccessAlternative"] = "bg-success-alternative";
|
|
161
197
|
/** Success muted background color */
|
|
162
|
-
SuccessMuted
|
|
198
|
+
BoxBackgroundColor["SuccessMuted"] = "bg-success-muted";
|
|
163
199
|
/** Success inverse background color */
|
|
164
|
-
SuccessInverse
|
|
200
|
+
BoxBackgroundColor["SuccessInverse"] = "bg-success-inverse";
|
|
165
201
|
/** Info default background color */
|
|
166
|
-
InfoDefault
|
|
202
|
+
BoxBackgroundColor["InfoDefault"] = "bg-info-default";
|
|
167
203
|
/** Info muted background color */
|
|
168
|
-
InfoMuted
|
|
204
|
+
BoxBackgroundColor["InfoMuted"] = "bg-info-muted";
|
|
169
205
|
/** Info inverse background color */
|
|
170
|
-
InfoInverse
|
|
206
|
+
BoxBackgroundColor["InfoInverse"] = "bg-info-inverse";
|
|
171
207
|
/** Flask default background color */
|
|
172
|
-
FlaskDefault
|
|
208
|
+
BoxBackgroundColor["FlaskDefault"] = "bg-flask-default";
|
|
173
209
|
/** Flask inverse background color */
|
|
174
|
-
FlaskInverse
|
|
210
|
+
BoxBackgroundColor["FlaskInverse"] = "bg-flask-inverse";
|
|
175
211
|
/** Overlay alternative background color */
|
|
176
|
-
OverlayAlternative
|
|
212
|
+
BoxBackgroundColor["OverlayAlternative"] = "bg-overlay-alternative";
|
|
177
213
|
/** Overlay default background color */
|
|
178
|
-
OverlayDefault
|
|
214
|
+
BoxBackgroundColor["OverlayDefault"] = "bg-overlay-default";
|
|
179
215
|
/** Overlay inverse background color */
|
|
180
|
-
OverlayInverse
|
|
216
|
+
BoxBackgroundColor["OverlayInverse"] = "bg-overlay-inverse";
|
|
181
217
|
/** Transparent background color */
|
|
182
|
-
Transparent
|
|
183
|
-
};
|
|
184
|
-
|
|
218
|
+
BoxBackgroundColor["Transparent"] = "bg-transparent";
|
|
219
|
+
})(BoxBackgroundColor || (BoxBackgroundColor = {}));
|
|
220
|
+
/**
|
|
221
|
+
* Box - borderColor
|
|
222
|
+
*/
|
|
223
|
+
export var BoxBorderColor;
|
|
224
|
+
(function (BoxBorderColor) {
|
|
185
225
|
/** Background default for cut out effect*/
|
|
186
|
-
BackgroundDefault
|
|
226
|
+
BoxBorderColor["BackgroundDefault"] = "border-background-default";
|
|
187
227
|
/** Default border color */
|
|
188
|
-
BorderDefault
|
|
228
|
+
BoxBorderColor["BorderDefault"] = "border-default";
|
|
189
229
|
/** Muted border color */
|
|
190
|
-
BorderMuted
|
|
230
|
+
BoxBorderColor["BorderMuted"] = "border-muted";
|
|
191
231
|
/** Primary default border color */
|
|
192
|
-
PrimaryDefault
|
|
232
|
+
BoxBorderColor["PrimaryDefault"] = "border-primary-default";
|
|
193
233
|
/** Primary alternative border color */
|
|
194
|
-
PrimaryAlternative
|
|
234
|
+
BoxBorderColor["PrimaryAlternative"] = "border-primary-alternative";
|
|
195
235
|
/** Primary muted border color */
|
|
196
|
-
PrimaryMuted
|
|
236
|
+
BoxBorderColor["PrimaryMuted"] = "border-primary-muted";
|
|
197
237
|
/** Primary inverse border color */
|
|
198
|
-
PrimaryInverse
|
|
238
|
+
BoxBorderColor["PrimaryInverse"] = "border-primary-inverse";
|
|
199
239
|
/** Error default border color */
|
|
200
|
-
ErrorDefault
|
|
240
|
+
BoxBorderColor["ErrorDefault"] = "border-error-default";
|
|
201
241
|
/** Error alternative border color */
|
|
202
|
-
ErrorAlternative
|
|
242
|
+
BoxBorderColor["ErrorAlternative"] = "border-error-alternative";
|
|
203
243
|
/** Error muted border color */
|
|
204
|
-
ErrorMuted
|
|
244
|
+
BoxBorderColor["ErrorMuted"] = "border-error-muted";
|
|
205
245
|
/** Error inverse border color */
|
|
206
|
-
ErrorInverse
|
|
246
|
+
BoxBorderColor["ErrorInverse"] = "border-error-inverse";
|
|
207
247
|
/** Warning default border color */
|
|
208
|
-
WarningDefault
|
|
248
|
+
BoxBorderColor["WarningDefault"] = "border-warning-default";
|
|
209
249
|
/** Warning alternative border color */
|
|
210
|
-
WarningAlternative
|
|
250
|
+
BoxBorderColor["WarningAlternative"] = "border-warning-alternative";
|
|
211
251
|
/** Warning muted border color */
|
|
212
|
-
WarningMuted
|
|
252
|
+
BoxBorderColor["WarningMuted"] = "border-warning-muted";
|
|
213
253
|
/** Warning inverse border color */
|
|
214
|
-
WarningInverse
|
|
254
|
+
BoxBorderColor["WarningInverse"] = "border-warning-inverse";
|
|
215
255
|
/** Success default border color */
|
|
216
|
-
SuccessDefault
|
|
256
|
+
BoxBorderColor["SuccessDefault"] = "border-success-default";
|
|
217
257
|
/** Success alternative border color */
|
|
218
|
-
SuccessAlternative
|
|
258
|
+
BoxBorderColor["SuccessAlternative"] = "border-success-alternative";
|
|
219
259
|
/** Success muted border color */
|
|
220
|
-
SuccessMuted
|
|
260
|
+
BoxBorderColor["SuccessMuted"] = "border-success-muted";
|
|
221
261
|
/** Success inverse border color */
|
|
222
|
-
SuccessInverse
|
|
262
|
+
BoxBorderColor["SuccessInverse"] = "border-success-inverse";
|
|
223
263
|
/** Info default border color */
|
|
224
|
-
InfoDefault
|
|
264
|
+
BoxBorderColor["InfoDefault"] = "border-info-default";
|
|
225
265
|
/** Info alternative border color */
|
|
226
|
-
InfoAlternative
|
|
266
|
+
BoxBorderColor["InfoAlternative"] = "border-info-alternative";
|
|
227
267
|
/** Info muted border color */
|
|
228
|
-
InfoMuted
|
|
268
|
+
BoxBorderColor["InfoMuted"] = "border-info-muted";
|
|
229
269
|
/** Info inverse border color */
|
|
230
|
-
InfoInverse
|
|
270
|
+
BoxBorderColor["InfoInverse"] = "border-info-inverse";
|
|
231
271
|
/** Flask default border color */
|
|
232
|
-
FlaskDefault
|
|
272
|
+
BoxBorderColor["FlaskDefault"] = "border-flask-default";
|
|
233
273
|
/** Flask inverse border color */
|
|
234
|
-
FlaskInverse
|
|
274
|
+
BoxBorderColor["FlaskInverse"] = "border-flask-inverse";
|
|
235
275
|
/** Overlay alternative border color */
|
|
236
|
-
OverlayAlternative
|
|
276
|
+
BoxBorderColor["OverlayAlternative"] = "border-overlay-alternative";
|
|
237
277
|
/** Overlay default border color */
|
|
238
|
-
OverlayDefault
|
|
278
|
+
BoxBorderColor["OverlayDefault"] = "border-overlay-default";
|
|
239
279
|
/** Overlay inverse border color */
|
|
240
|
-
OverlayInverse
|
|
280
|
+
BoxBorderColor["OverlayInverse"] = "border-overlay-inverse";
|
|
241
281
|
/** Transparent border color */
|
|
242
|
-
Transparent
|
|
243
|
-
};
|
|
244
|
-
|
|
282
|
+
BoxBorderColor["Transparent"] = "border-transparent";
|
|
283
|
+
})(BoxBorderColor || (BoxBorderColor = {}));
|
|
284
|
+
/**
|
|
285
|
+
* ButtonBase - size
|
|
286
|
+
*/
|
|
287
|
+
export var ButtonBaseSize;
|
|
288
|
+
(function (ButtonBaseSize) {
|
|
245
289
|
/**
|
|
246
290
|
* Represents a small button size (32px).
|
|
247
291
|
*/
|
|
248
|
-
Sm
|
|
292
|
+
ButtonBaseSize["Sm"] = "sm";
|
|
249
293
|
/**
|
|
250
294
|
* Represents a medium button size (40px).
|
|
251
295
|
*/
|
|
252
|
-
Md
|
|
296
|
+
ButtonBaseSize["Md"] = "md";
|
|
253
297
|
/**
|
|
254
298
|
* Represents a large button size (48px).
|
|
255
299
|
*/
|
|
256
|
-
Lg
|
|
257
|
-
};
|
|
300
|
+
ButtonBaseSize["Lg"] = "lg";
|
|
301
|
+
})(ButtonBaseSize || (ButtonBaseSize = {}));
|
|
258
302
|
export { ButtonBaseSize as ButtonSize };
|
|
259
303
|
export { ButtonBaseSize as ButtonPrimarySize };
|
|
260
304
|
export { ButtonBaseSize as ButtonSecondarySize };
|
|
261
305
|
export { ButtonBaseSize as ButtonTertiarySize };
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
306
|
+
/**
|
|
307
|
+
* Button - variant
|
|
308
|
+
*/
|
|
309
|
+
export var ButtonVariant;
|
|
310
|
+
(function (ButtonVariant) {
|
|
311
|
+
ButtonVariant["Primary"] = "primary";
|
|
312
|
+
ButtonVariant["Secondary"] = "secondary";
|
|
313
|
+
ButtonVariant["Tertiary"] = "tertiary";
|
|
314
|
+
})(ButtonVariant || (ButtonVariant = {}));
|
|
315
|
+
/**
|
|
316
|
+
* ButtonIcon - size
|
|
317
|
+
*/
|
|
318
|
+
export var ButtonIconSize;
|
|
319
|
+
(function (ButtonIconSize) {
|
|
268
320
|
/**
|
|
269
321
|
* Represents a small button size (24px).
|
|
270
322
|
*/
|
|
271
|
-
Sm
|
|
323
|
+
ButtonIconSize["Sm"] = "sm";
|
|
272
324
|
/**
|
|
273
325
|
* Represents a medium button size (32px).
|
|
274
326
|
*/
|
|
275
|
-
Md
|
|
327
|
+
ButtonIconSize["Md"] = "md";
|
|
276
328
|
/**
|
|
277
329
|
* Represents a large button size (40px).
|
|
278
330
|
*/
|
|
279
|
-
Lg
|
|
280
|
-
};
|
|
281
|
-
|
|
331
|
+
ButtonIconSize["Lg"] = "lg";
|
|
332
|
+
})(ButtonIconSize || (ButtonIconSize = {}));
|
|
333
|
+
/**
|
|
334
|
+
* Text - variant
|
|
335
|
+
*/
|
|
336
|
+
export var TextVariant;
|
|
337
|
+
(function (TextVariant) {
|
|
282
338
|
// Display Sizes
|
|
283
|
-
DisplayLg
|
|
284
|
-
DisplayMd
|
|
339
|
+
TextVariant["DisplayLg"] = "display-lg";
|
|
340
|
+
TextVariant["DisplayMd"] = "display-md";
|
|
285
341
|
// Heading Sizes
|
|
286
|
-
HeadingLg
|
|
287
|
-
HeadingMd
|
|
288
|
-
HeadingSm
|
|
342
|
+
TextVariant["HeadingLg"] = "heading-lg";
|
|
343
|
+
TextVariant["HeadingMd"] = "heading-md";
|
|
344
|
+
TextVariant["HeadingSm"] = "heading-sm";
|
|
289
345
|
// Body Sizes
|
|
290
|
-
BodyLg
|
|
291
|
-
BodyMd
|
|
292
|
-
BodySm
|
|
293
|
-
BodyXs
|
|
346
|
+
TextVariant["BodyLg"] = "body-lg";
|
|
347
|
+
TextVariant["BodyMd"] = "body-md";
|
|
348
|
+
TextVariant["BodySm"] = "body-sm";
|
|
349
|
+
TextVariant["BodyXs"] = "body-xs";
|
|
294
350
|
// Special Typography Variants
|
|
295
|
-
PageHeading
|
|
296
|
-
SectionHeading
|
|
297
|
-
ButtonLabelMd
|
|
298
|
-
ButtonLabelLg
|
|
299
|
-
AmountDisplayLg
|
|
300
|
-
};
|
|
301
|
-
|
|
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 || (TextVariant = {}));
|
|
357
|
+
/**
|
|
358
|
+
* Text - color
|
|
359
|
+
*/
|
|
360
|
+
export var TextColor;
|
|
361
|
+
(function (TextColor) {
|
|
302
362
|
/** For default neutral text. */
|
|
303
|
-
TextDefault
|
|
363
|
+
TextColor["TextDefault"] = "text-default";
|
|
304
364
|
/** For softer contrast neutral text */
|
|
305
|
-
TextAlternative
|
|
365
|
+
TextColor["TextAlternative"] = "text-alternative";
|
|
306
366
|
/** For the softest contrast neutral text (not accessible) */
|
|
307
|
-
TextMuted
|
|
367
|
+
TextColor["TextMuted"] = "text-muted";
|
|
308
368
|
/** For elements used on top of overlay/alternative. */
|
|
309
|
-
OverlayInverse
|
|
369
|
+
TextColor["OverlayInverse"] = "text-overlay-inverse";
|
|
310
370
|
/** For interactive, active, and selected semantics. */
|
|
311
|
-
PrimaryDefault
|
|
371
|
+
TextColor["PrimaryDefault"] = "text-primary-default";
|
|
312
372
|
/** For softer variants of primary text. */
|
|
313
|
-
PrimaryAlternative
|
|
373
|
+
TextColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
314
374
|
/** For elements used on top of primary/default. */
|
|
315
|
-
PrimaryInverse
|
|
375
|
+
TextColor["PrimaryInverse"] = "text-primary-inverse";
|
|
316
376
|
/** For primary text in a pressed state. */
|
|
317
|
-
PrimaryDefaultPressed
|
|
377
|
+
TextColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
318
378
|
/** For critical alert text. */
|
|
319
|
-
ErrorDefault
|
|
379
|
+
TextColor["ErrorDefault"] = "text-error-default";
|
|
320
380
|
/** For stronger contrast error text. */
|
|
321
|
-
ErrorAlternative
|
|
381
|
+
TextColor["ErrorAlternative"] = "text-error-alternative";
|
|
322
382
|
/** For elements used on top of error/default. */
|
|
323
|
-
ErrorInverse
|
|
383
|
+
TextColor["ErrorInverse"] = "text-error-inverse";
|
|
324
384
|
/** For critical alert text in a pressed state. */
|
|
325
|
-
ErrorDefaultPressed
|
|
385
|
+
TextColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
326
386
|
/** For caution alert text. */
|
|
327
|
-
WarningDefault
|
|
387
|
+
TextColor["WarningDefault"] = "text-warning-default";
|
|
328
388
|
/** For elements used on top of warning/default. */
|
|
329
|
-
WarningInverse
|
|
389
|
+
TextColor["WarningInverse"] = "text-warning-inverse";
|
|
330
390
|
/** For caution text in a pressed state. */
|
|
331
|
-
WarningDefaultPressed
|
|
391
|
+
TextColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
332
392
|
/** For positive semantic text. */
|
|
333
|
-
SuccessDefault
|
|
393
|
+
TextColor["SuccessDefault"] = "text-success-default";
|
|
334
394
|
/** For elements used on top of success/default. */
|
|
335
|
-
SuccessInverse
|
|
395
|
+
TextColor["SuccessInverse"] = "text-success-inverse";
|
|
336
396
|
/** For positive text in a pressed state. */
|
|
337
|
-
SuccessDefaultPressed
|
|
397
|
+
TextColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
338
398
|
/** For informational read-only text. */
|
|
339
|
-
InfoDefault
|
|
399
|
+
TextColor["InfoDefault"] = "text-info-default";
|
|
340
400
|
/** For elements used on top of info/default. */
|
|
341
|
-
InfoInverse
|
|
401
|
+
TextColor["InfoInverse"] = "text-info-inverse";
|
|
342
402
|
/** Make the text color transparent. */
|
|
343
|
-
Transparent
|
|
344
|
-
};
|
|
345
|
-
|
|
403
|
+
TextColor["Transparent"] = "text-transparent";
|
|
404
|
+
})(TextColor || (TextColor = {}));
|
|
405
|
+
/**
|
|
406
|
+
* Text - fontWeight
|
|
407
|
+
*/
|
|
408
|
+
export var FontWeight;
|
|
409
|
+
(function (FontWeight) {
|
|
346
410
|
/**
|
|
347
411
|
* Weight - 700
|
|
348
412
|
*/
|
|
349
|
-
Bold
|
|
413
|
+
FontWeight["Bold"] = "700";
|
|
350
414
|
/**
|
|
351
415
|
* Weight - 500
|
|
352
416
|
*/
|
|
353
|
-
Medium
|
|
417
|
+
FontWeight["Medium"] = "500";
|
|
354
418
|
/**
|
|
355
419
|
* Weight - 400
|
|
356
420
|
*/
|
|
357
|
-
Regular
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
421
|
+
FontWeight["Regular"] = "400";
|
|
422
|
+
})(FontWeight || (FontWeight = {}));
|
|
423
|
+
/**
|
|
424
|
+
* Text - fontStyle
|
|
425
|
+
*/
|
|
426
|
+
export var FontStyle;
|
|
427
|
+
(function (FontStyle) {
|
|
428
|
+
FontStyle["Italic"] = "italic";
|
|
429
|
+
FontStyle["Normal"] = "normal";
|
|
430
|
+
})(FontStyle || (FontStyle = {}));
|
|
431
|
+
/**
|
|
432
|
+
* Text - fontFamily
|
|
433
|
+
*/
|
|
434
|
+
export var FontFamily;
|
|
435
|
+
(function (FontFamily) {
|
|
436
|
+
FontFamily["Default"] = "default";
|
|
437
|
+
FontFamily["Accent"] = "accent";
|
|
438
|
+
FontFamily["Hero"] = "hero";
|
|
439
|
+
})(FontFamily || (FontFamily = {}));
|
|
440
|
+
/**
|
|
441
|
+
* TextButton - Size
|
|
442
|
+
*/
|
|
443
|
+
export var TextButtonSize;
|
|
444
|
+
(function (TextButtonSize) {
|
|
445
|
+
TextButtonSize["BodyLg"] = "body-lg";
|
|
446
|
+
TextButtonSize["BodyMd"] = "body-md";
|
|
447
|
+
TextButtonSize["BodySm"] = "body-sm";
|
|
448
|
+
TextButtonSize["BodyXs"] = "body-xs";
|
|
449
|
+
})(TextButtonSize || (TextButtonSize = {}));
|
|
450
|
+
/**
|
|
451
|
+
* Icon - color
|
|
452
|
+
*/
|
|
453
|
+
export var IconColor;
|
|
454
|
+
(function (IconColor) {
|
|
375
455
|
/** For default neutral icons */
|
|
376
|
-
IconDefault
|
|
456
|
+
IconColor["IconDefault"] = "text-icon-default";
|
|
377
457
|
/** For softer neutral icons */
|
|
378
|
-
IconAlternative
|
|
458
|
+
IconColor["IconAlternative"] = "text-icon-alternative";
|
|
379
459
|
/** For the weakest contrast neutral icons (not accessible) */
|
|
380
|
-
IconMuted
|
|
460
|
+
IconColor["IconMuted"] = "text-icon-muted";
|
|
381
461
|
/** For elements used on top of overlay/alternative. Used for text, icon, or border */
|
|
382
|
-
OverlayInverse
|
|
462
|
+
IconColor["OverlayInverse"] = "text-overlay-inverse";
|
|
383
463
|
/** For interactive, active, and selected semantics. Used for text, background, icon, or border */
|
|
384
|
-
PrimaryDefault
|
|
464
|
+
IconColor["PrimaryDefault"] = "text-primary-default";
|
|
385
465
|
/** For softer variants of primary interactive elements */
|
|
386
|
-
PrimaryAlternative
|
|
466
|
+
IconColor["PrimaryAlternative"] = "text-primary-alternative";
|
|
387
467
|
/** For elements used on top of primary/default. Used for text, icon, or border */
|
|
388
|
-
PrimaryInverse
|
|
468
|
+
IconColor["PrimaryInverse"] = "text-primary-inverse";
|
|
389
469
|
/** For primary interactive elements in a pressed state */
|
|
390
|
-
PrimaryDefaultPressed
|
|
470
|
+
IconColor["PrimaryDefaultPressed"] = "text-primary-default-pressed";
|
|
391
471
|
/** For critical alert semantic elements. Used for text, background, icon, or border */
|
|
392
|
-
ErrorDefault
|
|
472
|
+
IconColor["ErrorDefault"] = "text-error-default";
|
|
393
473
|
/** For softer variants of error elements */
|
|
394
|
-
ErrorAlternative
|
|
474
|
+
IconColor["ErrorAlternative"] = "text-error-alternative";
|
|
395
475
|
/** For elements used on top of error/default. Used for text, icon, or border */
|
|
396
|
-
ErrorInverse
|
|
476
|
+
IconColor["ErrorInverse"] = "text-error-inverse";
|
|
397
477
|
/** For critical alert semantic elements in a pressed state */
|
|
398
|
-
ErrorDefaultPressed
|
|
478
|
+
IconColor["ErrorDefaultPressed"] = "text-error-default-pressed";
|
|
399
479
|
/** For caution alert semantic elements. Used for text, background, icon, or border */
|
|
400
|
-
WarningDefault
|
|
480
|
+
IconColor["WarningDefault"] = "text-warning-default";
|
|
401
481
|
/** For elements used on top of warning/default. Used for text, icon, or border */
|
|
402
|
-
WarningInverse
|
|
482
|
+
IconColor["WarningInverse"] = "text-warning-inverse";
|
|
403
483
|
/** For caution alert semantic elements in a pressed state */
|
|
404
|
-
WarningDefaultPressed
|
|
484
|
+
IconColor["WarningDefaultPressed"] = "text-warning-default-pressed";
|
|
405
485
|
/** For positive semantic elements. Used for text, background, icon, or border */
|
|
406
|
-
SuccessDefault
|
|
486
|
+
IconColor["SuccessDefault"] = "text-success-default";
|
|
407
487
|
/** For elements used on top of success/default. Used for text, icon, or border */
|
|
408
|
-
SuccessInverse
|
|
488
|
+
IconColor["SuccessInverse"] = "text-success-inverse";
|
|
409
489
|
/** For positive semantic elements in a pressed state */
|
|
410
|
-
SuccessDefaultPressed
|
|
490
|
+
IconColor["SuccessDefaultPressed"] = "text-success-default-pressed";
|
|
411
491
|
/** For informational read-only elements. Used for text, background, icon, or border */
|
|
412
|
-
InfoDefault
|
|
492
|
+
IconColor["InfoDefault"] = "text-info-default";
|
|
413
493
|
/** For elements used on top of info/default. Used for text, icon, or border */
|
|
414
|
-
InfoInverse
|
|
415
|
-
};
|
|
416
|
-
|
|
494
|
+
IconColor["InfoInverse"] = "text-info-inverse";
|
|
495
|
+
})(IconColor || (IconColor = {}));
|
|
496
|
+
/**
|
|
497
|
+
* Icon - size
|
|
498
|
+
*/
|
|
499
|
+
export var IconSize;
|
|
500
|
+
(function (IconSize) {
|
|
417
501
|
/** Extra small - 12px */
|
|
418
|
-
Xs
|
|
502
|
+
IconSize["Xs"] = "12";
|
|
419
503
|
/** Small - 16px */
|
|
420
|
-
Sm
|
|
504
|
+
IconSize["Sm"] = "16";
|
|
421
505
|
/** Medium - 20px (Default) */
|
|
422
|
-
Md
|
|
506
|
+
IconSize["Md"] = "20";
|
|
423
507
|
/** Large - 24px */
|
|
424
|
-
Lg
|
|
508
|
+
IconSize["Lg"] = "24";
|
|
425
509
|
/** Extra large - 32px */
|
|
426
|
-
Xl
|
|
427
|
-
};
|
|
510
|
+
IconSize["Xl"] = "32";
|
|
511
|
+
})(IconSize || (IconSize = {}));
|
|
428
512
|
// /////////////////////////////////////////////////////
|
|
429
513
|
// This is generated code - Manually add types above
|
|
430
514
|
// DO NOT EDIT - Use generate-assets.js
|