@ovotech/element-native 3.8.0 → 3.8.1-canary-dff71b6-233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.js +4 -9
- package/dist/components/Accordion/styles.d.ts +1225 -484
- package/dist/components/Accordion/styles.js +4 -3
- package/dist/components/ActionCard/ActionCard.js +4 -3
- package/dist/components/ActionList/ActionList.d.ts +1 -1
- package/dist/components/ActionList/ActionList.js +2 -1
- package/dist/components/ActionList/styled.d.ts +2502 -1020
- package/dist/components/ActionList/styled.js +6 -5
- package/dist/components/Badge/Badge.d.ts +408 -161
- package/dist/components/Badge/Badge.js +3 -2
- package/dist/components/CTAButton/CTAButton.js +7 -6
- package/dist/components/Card/Card.d.ts +410 -161
- package/dist/components/Card/Card.js +5 -4
- package/dist/components/Checkbox/Checkbox.js +4 -3
- package/dist/components/DataTable/styles.d.ts +5472 -2261
- package/dist/components/DataTable/styles.js +14 -15
- package/dist/components/DateField/DateField.js +4 -3
- package/dist/components/DescriptionList/styled.d.ts +407 -160
- package/dist/components/DescriptionList/styled.js +5 -4
- package/dist/components/Disclosure/Disclosure.js +4 -3
- package/dist/components/Em/Em.d.ts +407 -160
- package/dist/components/ErrorText/ErrorText.d.ts +407 -160
- package/dist/components/ErrorText/ErrorText.js +2 -3
- package/dist/components/FilterSelect/FilterSelect.js +5 -4
- package/dist/components/Grid/Col.d.ts +407 -160
- package/dist/components/Grid/Col.js +3 -3
- package/dist/components/Grid/Row.d.ts +407 -160
- package/dist/components/Grid/Row.js +4 -4
- package/dist/components/Heading1/Heading1.d.ts +3 -1
- package/dist/components/Heading1/Heading1.js +6 -4
- package/dist/components/Heading2/Heading2.d.ts +3 -1
- package/dist/components/Heading2/Heading2.js +6 -4
- package/dist/components/Heading3/Heading3.d.ts +3 -1
- package/dist/components/Heading3/Heading3.js +6 -4
- package/dist/components/Heading4/Heading4.d.ts +3 -1
- package/dist/components/Heading4/Heading4.js +6 -4
- package/dist/components/HintText/HintText.d.ts +407 -160
- package/dist/components/HintText/HintText.js +2 -3
- package/dist/components/Input/Input.js +7 -4
- package/dist/components/Label/Label.d.ts +5 -241
- package/dist/components/Label/Label.js +17 -4
- package/dist/components/LabelText/LabelText.d.ts +407 -160
- package/dist/components/LabelText/LabelText.js +2 -1
- package/dist/components/Lead/Lead.d.ts +5 -241
- package/dist/components/Lead/Lead.js +19 -4
- package/dist/components/LineThrough/LineThrough.d.ts +407 -160
- package/dist/components/List/styled.d.ts +1636 -648
- package/dist/components/List/styled.js +4 -4
- package/dist/components/Margin/Margin.d.ts +408 -162
- package/dist/components/Margin/Margin.js +2 -3
- package/dist/components/NavHeader/NavHeader.d.ts +10 -2
- package/dist/components/NavHeader/NavHeader.js +25 -29
- package/dist/components/NavHeader/NavHeader.styles.d.ts +3845 -1387
- package/dist/components/NavHeader/NavHeader.styles.js +18 -17
- package/dist/components/Notification/Notification.d.ts +816 -322
- package/dist/components/Notification/Notification.js +18 -15
- package/dist/components/P/P.d.ts +2 -0
- package/dist/components/P/P.js +3 -2
- package/dist/components/PasswordInput/PasswordInput.styled.d.ts +407 -160
- package/dist/components/PasswordInput/PasswordInput.styled.js +2 -1
- package/dist/components/{HorizontalCarousel/HorizontalCarousel.d.ts → ProductCarousel/ProductCarousel.d.ts} +2 -2
- package/dist/components/ProductCarousel/ProductCarousel.js +128 -0
- package/dist/components/ProductCarousel/anchor-point.d.ts +10 -0
- package/dist/components/ProductCarousel/anchor-point.js +53 -0
- package/dist/components/ProductCarousel/index.d.ts +1 -0
- package/dist/components/ProductCarousel/index.js +5 -0
- package/dist/components/Radio/Radio.js +5 -4
- package/dist/components/RadioCard/RadioCard.d.ts +9 -0
- package/dist/components/RadioCard/RadioCard.js +72 -0
- package/dist/components/RadioCard/index.d.ts +1 -0
- package/dist/components/RadioCard/index.js +5 -0
- package/dist/components/SelectField/Select.d.ts +407 -160
- package/dist/components/SelectField/Select.js +8 -7
- package/dist/components/SkeletonCTA/SkeletonCTA.js +2 -1
- package/dist/components/SkeletonCircle/SkeletonCircle.js +2 -2
- package/dist/components/SkeletonText/SkeletonText.js +4 -1
- package/dist/components/Small/Small.d.ts +407 -160
- package/dist/components/Small/Small.js +2 -1
- package/dist/components/Stack/Stack.d.ts +1 -2
- package/dist/components/Stack/Stack.js +2 -1
- package/dist/components/Strong/Strong.d.ts +407 -160
- package/dist/components/SubLabelText/SubLabelText.d.ts +407 -160
- package/dist/components/SubLabelText/SubLabelText.js +2 -1
- package/dist/components/Tabs/Tab.js +8 -7
- package/dist/components/Tabs/TabList.js +2 -1
- package/dist/components/Tabs/TabPanel.js +2 -1
- package/dist/components/Tabs/Tabs.js +2 -1
- package/dist/components/TextareaInput/TextareaInput.js +2 -2
- package/dist/components/Toast/Toast.js +3 -2
- package/dist/components/Toggle/Toggle.js +2 -2
- package/dist/components/Toggle/styles.d.ts +1638 -650
- package/dist/components/Toggle/styles.js +5 -4
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/esm/components/Accordion/Accordion.js +4 -9
- package/dist/esm/components/Accordion/styles.js +4 -3
- package/dist/esm/components/ActionCard/ActionCard.js +4 -3
- package/dist/esm/components/ActionList/ActionList.js +2 -1
- package/dist/esm/components/ActionList/styled.js +6 -5
- package/dist/esm/components/Badge/Badge.js +3 -2
- package/dist/esm/components/CTAButton/CTAButton.js +7 -6
- package/dist/esm/components/Card/Card.js +5 -4
- package/dist/esm/components/Checkbox/Checkbox.js +4 -3
- package/dist/esm/components/DataTable/styles.js +14 -15
- package/dist/esm/components/DateField/DateField.js +4 -3
- package/dist/esm/components/DescriptionList/styled.js +5 -4
- package/dist/esm/components/Disclosure/Disclosure.js +4 -3
- package/dist/esm/components/ErrorText/ErrorText.js +2 -3
- package/dist/esm/components/FilterSelect/FilterSelect.js +5 -4
- package/dist/esm/components/Grid/Col.js +3 -3
- package/dist/esm/components/Grid/Row.js +4 -4
- package/dist/esm/components/Heading1/Heading1.js +5 -3
- package/dist/esm/components/Heading2/Heading2.js +5 -3
- package/dist/esm/components/Heading3/Heading3.js +5 -3
- package/dist/esm/components/Heading4/Heading4.js +5 -3
- package/dist/esm/components/HintText/HintText.js +2 -3
- package/dist/esm/components/Input/Input.js +7 -4
- package/dist/esm/components/Label/Label.js +17 -4
- package/dist/esm/components/LabelText/LabelText.js +2 -1
- package/dist/esm/components/Lead/Lead.js +19 -4
- package/dist/esm/components/List/styled.js +4 -4
- package/dist/esm/components/Margin/Margin.js +2 -3
- package/dist/esm/components/NavHeader/NavHeader.js +26 -30
- package/dist/esm/components/NavHeader/NavHeader.styles.js +17 -16
- package/dist/esm/components/Notification/Notification.js +18 -15
- package/dist/esm/components/P/P.js +3 -2
- package/dist/esm/components/PasswordInput/PasswordInput.styled.js +2 -1
- package/dist/esm/components/ProductCarousel/ProductCarousel.js +98 -0
- package/dist/esm/components/ProductCarousel/anchor-point.js +49 -0
- package/dist/esm/components/ProductCarousel/index.js +1 -0
- package/dist/esm/components/Radio/Radio.js +5 -4
- package/dist/esm/components/RadioCard/RadioCard.js +66 -0
- package/dist/esm/components/RadioCard/index.js +1 -0
- package/dist/esm/components/SelectField/Select.js +8 -7
- package/dist/esm/components/SkeletonCTA/SkeletonCTA.js +2 -1
- package/dist/esm/components/SkeletonCircle/SkeletonCircle.js +1 -1
- package/dist/esm/components/SkeletonText/SkeletonText.js +4 -1
- package/dist/esm/components/Small/Small.js +2 -1
- package/dist/esm/components/Stack/Stack.js +2 -1
- package/dist/esm/components/SubLabelText/SubLabelText.js +2 -1
- package/dist/esm/components/Tabs/Tab.js +9 -8
- package/dist/esm/components/Tabs/TabList.js +2 -1
- package/dist/esm/components/Tabs/TabPanel.js +2 -1
- package/dist/esm/components/Tabs/Tabs.js +2 -1
- package/dist/esm/components/TextareaInput/TextareaInput.js +2 -2
- package/dist/esm/components/Toast/Toast.js +3 -2
- package/dist/esm/components/Toggle/Toggle.js +2 -2
- package/dist/esm/components/Toggle/styles.js +5 -4
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/utils/utils.js +1 -7
- package/dist/styled.native.d.ts +2523 -1041
- package/dist/utils/utils.d.ts +1 -3
- package/dist/utils/utils.js +1 -9
- package/package.json +5 -4
- package/dist/components/HorizontalCarousel/HorizontalCarousel.js +0 -92
- package/dist/components/HorizontalCarousel/index.d.ts +0 -1
- package/dist/components/HorizontalCarousel/index.js +0 -17
- package/dist/esm/components/HorizontalCarousel/HorizontalCarousel.js +0 -62
- package/dist/esm/components/HorizontalCarousel/index.js +0 -1
- /package/dist/components/{HorizontalCarousel → ProductCarousel}/NavigationDots.d.ts +0 -0
- /package/dist/components/{HorizontalCarousel → ProductCarousel}/NavigationDots.js +0 -0
- /package/dist/esm/components/{HorizontalCarousel → ProductCarousel}/NavigationDots.js +0 -0
|
@@ -27,12 +27,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
exports.SkeletonCTA = void 0;
|
|
29
29
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
var element_core_1 = require("@ovotech/element-core");
|
|
30
31
|
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
31
32
|
var P_1 = require("../P");
|
|
32
33
|
var SkeletonAnimation_1 = require("../SkeletonAnimation");
|
|
33
34
|
var StyledSkeletonCTA = styled_native_1.default.View(function (_a) {
|
|
34
35
|
var core = _a.theme.core, size = _a.size;
|
|
35
|
-
return "\n background-color: ".concat(core.color.neutral.light, ";\n width: ").concat(size, ";\n height: ").concat(core.space[12], ";\n ");
|
|
36
|
+
return "\n background-color: ".concat(core.color.neutral.light, ";\n width: ").concat(size, ";\n height: ").concat((0, element_core_1.numToPx)(core.space[12]), ";\n ");
|
|
36
37
|
});
|
|
37
38
|
var SkeletonCTA = function (_a) {
|
|
38
39
|
var _b = _a.size, size = _b === void 0 ? '250px' : _b, rest = __rest(_a, ["size"]);
|
|
@@ -27,8 +27,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
exports.SkeletonCircle = void 0;
|
|
29
29
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
var element_core_1 = require("@ovotech/element-core");
|
|
30
31
|
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
31
|
-
var utils_1 = require("../../utils");
|
|
32
32
|
var SkeletonAnimation_1 = require("../SkeletonAnimation");
|
|
33
33
|
var StyledSkeletonCircleWrapper = styled_native_1.default.View(function (_a) {
|
|
34
34
|
var size = _a.size;
|
|
@@ -36,7 +36,7 @@ var StyledSkeletonCircleWrapper = styled_native_1.default.View(function (_a) {
|
|
|
36
36
|
});
|
|
37
37
|
var StyledSkeletonCircle = styled_native_1.default.View(function (_a) {
|
|
38
38
|
var core = _a.theme.core, size = _a.size;
|
|
39
|
-
return "\n background-color: ".concat(core.color.neutral.light, ";\n height: 0;\n padding-bottom: 100%;\n border-radius: ").concat((0,
|
|
39
|
+
return "\n background-color: ".concat(core.color.neutral.light, ";\n height: 0;\n padding-bottom: 100%;\n border-radius: ").concat((0, element_core_1.pxToNumber)(size) / 2, "px;\n ");
|
|
40
40
|
});
|
|
41
41
|
var SkeletonCircle = function (_a) {
|
|
42
42
|
var _b = _a.size, size = _b === void 0 ? '120px' : _b, rest = __rest(_a, ["size"]);
|
|
@@ -27,13 +27,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
exports.SkeletonText = void 0;
|
|
29
29
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
var element_core_1 = require("@ovotech/element-core");
|
|
30
31
|
var hooks_1 = require("../../hooks");
|
|
31
32
|
var styled_native_1 = __importDefault(require("../../styled.native"));
|
|
32
33
|
var P_1 = require("../P");
|
|
33
34
|
var SkeletonAnimation_1 = require("../SkeletonAnimation");
|
|
34
35
|
var StyledSkeletonText = styled_native_1.default.View(function (_a) {
|
|
35
36
|
var core = _a.theme.core, aboveSmallBreakpoint = _a.aboveSmallBreakpoint, short = _a.short;
|
|
36
|
-
return "\n background-color: ".concat(core.color.neutral.light, ";\n margin-bottom: ").concat(core.space[2], ";\n height: ").concat(aboveSmallBreakpoint
|
|
37
|
+
return "\n background-color: ".concat(core.color.neutral.light, ";\n margin-bottom: ").concat((0, element_core_1.numToPx)(core.space[2]), ";\n height: ").concat(aboveSmallBreakpoint
|
|
38
|
+
? (0, element_core_1.numToPx)(core.fontSize.body.large)
|
|
39
|
+
: (0, element_core_1.numToPx)(core.fontSize.body.small), ";\n\n ").concat(short ? 'width: 50%' : '', ";\n ");
|
|
37
40
|
});
|
|
38
41
|
var SkeletonText = function (_a) {
|
|
39
42
|
var _b = _a.lines, lines = _b === void 0 ? 1 : _b, rest = __rest(_a, ["lines"]);
|
|
@@ -7,172 +7,351 @@ export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
7
7
|
} & {
|
|
8
8
|
theme?: {
|
|
9
9
|
core: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
10
|
+
color: {
|
|
11
|
+
brand: {
|
|
12
|
+
midnight: string;
|
|
13
|
+
midnightTint: string;
|
|
14
|
+
forest: string;
|
|
15
|
+
forestTint: string;
|
|
16
|
+
ovo: string;
|
|
17
|
+
ovoTint: string;
|
|
18
|
+
leaf: string;
|
|
19
|
+
leafTint: string;
|
|
20
|
+
energised: string;
|
|
21
|
+
energisedTint: string;
|
|
22
|
+
offwhite: string;
|
|
23
|
+
white: string;
|
|
24
|
+
black: string;
|
|
25
|
+
};
|
|
26
|
+
neutral: {
|
|
27
|
+
darkest: string;
|
|
28
|
+
darker: string;
|
|
29
|
+
dark: string;
|
|
30
|
+
base: string;
|
|
31
|
+
light: string;
|
|
32
|
+
lighter: string;
|
|
33
|
+
lightest: string;
|
|
34
|
+
};
|
|
35
|
+
red: {
|
|
36
|
+
darkest: string;
|
|
37
|
+
darker: string;
|
|
38
|
+
dark: string;
|
|
39
|
+
base: string;
|
|
40
|
+
light: string;
|
|
41
|
+
lighter: string;
|
|
42
|
+
lightest: string;
|
|
43
|
+
};
|
|
44
|
+
orange: {
|
|
45
|
+
darkest: string;
|
|
46
|
+
darker: string;
|
|
47
|
+
dark: string;
|
|
48
|
+
base: string;
|
|
49
|
+
light: string;
|
|
50
|
+
lighter: string;
|
|
51
|
+
lightest: string;
|
|
52
|
+
};
|
|
53
|
+
yellow: {
|
|
54
|
+
darkest: string;
|
|
55
|
+
darker: string;
|
|
56
|
+
dark: string;
|
|
57
|
+
base: string;
|
|
58
|
+
light: string;
|
|
59
|
+
lighter: string;
|
|
60
|
+
lightest: string;
|
|
61
|
+
};
|
|
62
|
+
green: {
|
|
63
|
+
darkest: string;
|
|
64
|
+
darker: string;
|
|
65
|
+
dark: string;
|
|
66
|
+
base: string;
|
|
67
|
+
light: string;
|
|
68
|
+
lighter: string;
|
|
69
|
+
lightest: string;
|
|
70
|
+
};
|
|
71
|
+
blue: {
|
|
72
|
+
darkest: string;
|
|
73
|
+
darker: string;
|
|
74
|
+
dark: string;
|
|
75
|
+
base: string;
|
|
76
|
+
light: string;
|
|
77
|
+
lighter: string;
|
|
78
|
+
lightest: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
fontFamily: {
|
|
82
|
+
mono: {
|
|
83
|
+
native: string;
|
|
84
|
+
web: string;
|
|
85
|
+
};
|
|
86
|
+
heading: {
|
|
87
|
+
native: string;
|
|
88
|
+
web: string;
|
|
89
|
+
};
|
|
90
|
+
body: {
|
|
91
|
+
native: string;
|
|
92
|
+
web: string;
|
|
93
|
+
};
|
|
94
|
+
bodyBold: {
|
|
95
|
+
native: string;
|
|
96
|
+
web: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
fontWeight: {
|
|
100
|
+
book: number;
|
|
101
|
+
bold: number;
|
|
102
|
+
black: number;
|
|
103
|
+
};
|
|
104
|
+
fontSize: {
|
|
105
|
+
heading1: {
|
|
106
|
+
small: number;
|
|
107
|
+
large: number;
|
|
108
|
+
};
|
|
109
|
+
heading2: {
|
|
110
|
+
small: number;
|
|
111
|
+
large: number;
|
|
112
|
+
};
|
|
113
|
+
heading3: {
|
|
114
|
+
small: number;
|
|
115
|
+
large: number;
|
|
116
|
+
};
|
|
117
|
+
heading4: {
|
|
118
|
+
small: number;
|
|
119
|
+
large: number;
|
|
120
|
+
};
|
|
121
|
+
lead: {
|
|
122
|
+
small: number;
|
|
123
|
+
large: number;
|
|
124
|
+
};
|
|
125
|
+
body: {
|
|
126
|
+
small: number;
|
|
127
|
+
large: number;
|
|
128
|
+
};
|
|
129
|
+
small: {
|
|
130
|
+
small: number;
|
|
131
|
+
large: number;
|
|
132
|
+
};
|
|
133
|
+
label: {
|
|
134
|
+
small: number;
|
|
135
|
+
large: number;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
letterSpacing: {
|
|
139
|
+
base: number;
|
|
140
|
+
compressed: number;
|
|
141
|
+
extraCompressed: number;
|
|
142
|
+
};
|
|
143
|
+
lineHeight: {
|
|
144
|
+
heading1: {
|
|
145
|
+
small: number;
|
|
146
|
+
large: number;
|
|
147
|
+
};
|
|
148
|
+
heading2: {
|
|
149
|
+
small: number;
|
|
150
|
+
large: number;
|
|
151
|
+
};
|
|
152
|
+
heading3: {
|
|
153
|
+
small: number;
|
|
154
|
+
large: number;
|
|
155
|
+
};
|
|
156
|
+
heading4: {
|
|
157
|
+
small: number;
|
|
158
|
+
large: number;
|
|
159
|
+
};
|
|
160
|
+
lead: {
|
|
161
|
+
small: number;
|
|
162
|
+
large: number;
|
|
163
|
+
};
|
|
164
|
+
body: {
|
|
165
|
+
small: number;
|
|
166
|
+
large: number;
|
|
167
|
+
};
|
|
168
|
+
small: {
|
|
169
|
+
small: number;
|
|
170
|
+
large: number;
|
|
171
|
+
};
|
|
172
|
+
label: {
|
|
173
|
+
small: number;
|
|
174
|
+
large: number;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
borderWidth: {
|
|
178
|
+
small: number;
|
|
179
|
+
medium: number;
|
|
180
|
+
large: number;
|
|
181
|
+
};
|
|
182
|
+
breakpoint: {
|
|
183
|
+
small: number;
|
|
184
|
+
medium: number;
|
|
185
|
+
large: number;
|
|
186
|
+
};
|
|
187
|
+
mediaQuery: {
|
|
188
|
+
small: number;
|
|
189
|
+
medium: number;
|
|
190
|
+
large: number;
|
|
191
|
+
};
|
|
192
|
+
customMediaQuery: {
|
|
193
|
+
'small-and-up': number;
|
|
194
|
+
'medium-and-up': number;
|
|
195
|
+
'large-and-up': number;
|
|
196
|
+
};
|
|
197
|
+
opacity: {
|
|
198
|
+
solid: number;
|
|
199
|
+
translucent: number;
|
|
200
|
+
transparent: number;
|
|
201
|
+
};
|
|
202
|
+
radius: {
|
|
203
|
+
small: number;
|
|
204
|
+
medium: number;
|
|
205
|
+
large: number;
|
|
206
|
+
max: number;
|
|
207
|
+
};
|
|
208
|
+
space: {
|
|
209
|
+
'0': number;
|
|
210
|
+
'1': number;
|
|
211
|
+
'2': number;
|
|
212
|
+
'3': number;
|
|
213
|
+
'4': number;
|
|
214
|
+
'5': number;
|
|
215
|
+
'6': number;
|
|
216
|
+
'7': number;
|
|
217
|
+
'8': number;
|
|
218
|
+
'9': number;
|
|
219
|
+
'10': number;
|
|
220
|
+
'11': number;
|
|
221
|
+
'12': number;
|
|
222
|
+
'13': number;
|
|
223
|
+
'14': number;
|
|
224
|
+
'15': number;
|
|
225
|
+
};
|
|
226
|
+
transition: {
|
|
227
|
+
slow: number;
|
|
228
|
+
medium: number;
|
|
229
|
+
fast: number;
|
|
230
|
+
};
|
|
42
231
|
};
|
|
43
232
|
semantic: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
inverted: Record<"surface" | "border", string> & {
|
|
49
|
-
message: Record<"base" | "link" | "secondary" | "branded", string>;
|
|
233
|
+
border: {
|
|
234
|
+
graphic: string;
|
|
235
|
+
differentiated: string;
|
|
236
|
+
functional: string;
|
|
50
237
|
};
|
|
51
|
-
|
|
52
|
-
|
|
238
|
+
branded: {
|
|
239
|
+
surface: string;
|
|
240
|
+
message: string;
|
|
241
|
+
heading: string;
|
|
242
|
+
};
|
|
243
|
+
neutral: {
|
|
53
244
|
surface: string;
|
|
245
|
+
message: string;
|
|
54
246
|
surfaceEmphasis: string;
|
|
247
|
+
messageOnEmphasis: string;
|
|
248
|
+
border: string;
|
|
249
|
+
};
|
|
250
|
+
success: {
|
|
251
|
+
surface: string;
|
|
55
252
|
message: string;
|
|
253
|
+
surfaceEmphasis: string;
|
|
56
254
|
messageOnEmphasis: string;
|
|
255
|
+
border: string;
|
|
57
256
|
};
|
|
58
257
|
warning: {
|
|
59
|
-
border: string;
|
|
60
258
|
surface: string;
|
|
61
|
-
surfaceEmphasis: string;
|
|
62
259
|
message: string;
|
|
260
|
+
surfaceEmphasis: string;
|
|
63
261
|
messageOnEmphasis: string;
|
|
262
|
+
border: string;
|
|
64
263
|
};
|
|
65
264
|
error: {
|
|
66
|
-
border: string;
|
|
67
265
|
surface: string;
|
|
68
|
-
surfaceEmphasis: string;
|
|
69
266
|
message: string;
|
|
267
|
+
surfaceEmphasis: string;
|
|
70
268
|
messageOnEmphasis: string;
|
|
269
|
+
border: string;
|
|
71
270
|
};
|
|
72
271
|
info: {
|
|
73
|
-
border: string;
|
|
74
272
|
surface: string;
|
|
75
|
-
surfaceEmphasis: string;
|
|
76
273
|
message: string;
|
|
274
|
+
surfaceEmphasis: string;
|
|
77
275
|
messageOnEmphasis: string;
|
|
276
|
+
border: string;
|
|
78
277
|
};
|
|
79
|
-
data:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
fontSize: {
|
|
86
|
-
small: string | number;
|
|
87
|
-
large: string | number;
|
|
88
|
-
};
|
|
89
|
-
lineHeight: {
|
|
90
|
-
small: string | number;
|
|
91
|
-
large: string | number;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
heading2: {
|
|
95
|
-
fontFamily: string;
|
|
96
|
-
fontWeight: string | number;
|
|
97
|
-
fontSize: {
|
|
98
|
-
small: string | number;
|
|
99
|
-
large: string | number;
|
|
278
|
+
data: {
|
|
279
|
+
branded: {
|
|
280
|
+
'1': string;
|
|
281
|
+
'2': string;
|
|
282
|
+
'3': string;
|
|
283
|
+
'4': string;
|
|
100
284
|
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
285
|
+
electric: {
|
|
286
|
+
'1': string;
|
|
287
|
+
'2': string;
|
|
288
|
+
'3': string;
|
|
289
|
+
'4': string;
|
|
104
290
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
small: string | number;
|
|
111
|
-
large: string | number;
|
|
112
|
-
};
|
|
113
|
-
lineHeight: {
|
|
114
|
-
small: string | number;
|
|
115
|
-
large: string | number;
|
|
291
|
+
gas: {
|
|
292
|
+
'1': string;
|
|
293
|
+
'2': string;
|
|
294
|
+
'3': string;
|
|
295
|
+
'4': string;
|
|
116
296
|
};
|
|
117
297
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
small: string | number;
|
|
123
|
-
large: string | number;
|
|
124
|
-
};
|
|
125
|
-
lineHeight: {
|
|
126
|
-
small: string | number;
|
|
127
|
-
large: string | number;
|
|
128
|
-
};
|
|
298
|
+
focus: {
|
|
299
|
+
outline: string;
|
|
300
|
+
hover: string;
|
|
301
|
+
surface: string;
|
|
129
302
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
303
|
+
inverted: {
|
|
304
|
+
surface: string;
|
|
305
|
+
surfaceAlt: string;
|
|
306
|
+
border: string;
|
|
307
|
+
borderAlt: string;
|
|
308
|
+
message: {
|
|
309
|
+
branded: string;
|
|
310
|
+
base: string;
|
|
311
|
+
secondary: string;
|
|
312
|
+
link: string;
|
|
140
313
|
};
|
|
141
314
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
lineHeight: {
|
|
150
|
-
small: string | number;
|
|
151
|
-
large: string | number;
|
|
152
|
-
};
|
|
315
|
+
message: {
|
|
316
|
+
base: string;
|
|
317
|
+
secondary: string;
|
|
318
|
+
link: string;
|
|
319
|
+
error: string;
|
|
320
|
+
branded: string;
|
|
153
321
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
small: string | number;
|
|
159
|
-
large: string | number;
|
|
160
|
-
};
|
|
161
|
-
lineHeight: {
|
|
162
|
-
small: string | number;
|
|
163
|
-
large: string | number;
|
|
164
|
-
};
|
|
322
|
+
surface: {
|
|
323
|
+
base: string;
|
|
324
|
+
cutout: string;
|
|
325
|
+
elevated: string;
|
|
165
326
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
327
|
+
};
|
|
328
|
+
component: {
|
|
329
|
+
badge: {
|
|
330
|
+
variants: {
|
|
331
|
+
neutral: {
|
|
332
|
+
background: string;
|
|
333
|
+
foreground: string;
|
|
334
|
+
};
|
|
335
|
+
red: {
|
|
336
|
+
background: string;
|
|
337
|
+
foreground: string;
|
|
338
|
+
};
|
|
339
|
+
orange: {
|
|
340
|
+
background: string;
|
|
341
|
+
foreground: string;
|
|
342
|
+
};
|
|
343
|
+
yellow: {
|
|
344
|
+
background: string;
|
|
345
|
+
foreground: string;
|
|
346
|
+
};
|
|
347
|
+
green: {
|
|
348
|
+
background: string;
|
|
349
|
+
foreground: string;
|
|
350
|
+
};
|
|
351
|
+
blue: {
|
|
352
|
+
background: string;
|
|
353
|
+
foreground: string;
|
|
354
|
+
};
|
|
176
355
|
};
|
|
177
356
|
};
|
|
178
357
|
cta: {
|
|
@@ -207,32 +386,100 @@ export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
207
386
|
backgroundFocused: string;
|
|
208
387
|
};
|
|
209
388
|
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
389
|
+
heading1: {
|
|
390
|
+
fontFamily: string;
|
|
391
|
+
fontWeight: number;
|
|
392
|
+
lineHeight: {
|
|
393
|
+
small: number;
|
|
394
|
+
large: number;
|
|
395
|
+
};
|
|
396
|
+
fontSize: {
|
|
397
|
+
small: number;
|
|
398
|
+
large: number;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
heading2: {
|
|
402
|
+
fontFamily: string;
|
|
403
|
+
fontWeight: number;
|
|
404
|
+
lineHeight: {
|
|
405
|
+
small: number;
|
|
406
|
+
large: number;
|
|
407
|
+
};
|
|
408
|
+
fontSize: {
|
|
409
|
+
small: number;
|
|
410
|
+
large: number;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
heading3: {
|
|
414
|
+
fontFamily: string;
|
|
415
|
+
fontWeight: number;
|
|
416
|
+
lineHeight: {
|
|
417
|
+
small: number;
|
|
418
|
+
large: number;
|
|
419
|
+
};
|
|
420
|
+
fontSize: {
|
|
421
|
+
small: number;
|
|
422
|
+
large: number;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
heading4: {
|
|
426
|
+
fontFamily: string;
|
|
427
|
+
fontWeight: number;
|
|
428
|
+
lineHeight: {
|
|
429
|
+
small: number;
|
|
430
|
+
large: number;
|
|
431
|
+
};
|
|
432
|
+
fontSize: {
|
|
433
|
+
small: number;
|
|
434
|
+
large: number;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
lead: {
|
|
438
|
+
fontFamily: string;
|
|
439
|
+
fontWeight: number;
|
|
440
|
+
lineHeight: {
|
|
441
|
+
small: number;
|
|
442
|
+
large: number;
|
|
443
|
+
};
|
|
444
|
+
fontSize: {
|
|
445
|
+
small: number;
|
|
446
|
+
large: number;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
body: {
|
|
450
|
+
fontFamily: string;
|
|
451
|
+
fontWeight: number;
|
|
452
|
+
lineHeight: {
|
|
453
|
+
small: number;
|
|
454
|
+
large: number;
|
|
455
|
+
};
|
|
456
|
+
fontSize: {
|
|
457
|
+
small: number;
|
|
458
|
+
large: number;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
small: {
|
|
462
|
+
fontFamily: string;
|
|
463
|
+
fontWeight: number;
|
|
464
|
+
lineHeight: {
|
|
465
|
+
small: number;
|
|
466
|
+
large: number;
|
|
467
|
+
};
|
|
468
|
+
fontSize: {
|
|
469
|
+
small: number;
|
|
470
|
+
large: number;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
label: {
|
|
474
|
+
fontFamily: string;
|
|
475
|
+
fontWeight: number;
|
|
476
|
+
lineHeight: {
|
|
477
|
+
small: number;
|
|
478
|
+
large: number;
|
|
479
|
+
};
|
|
480
|
+
fontSize: {
|
|
481
|
+
small: number;
|
|
482
|
+
large: number;
|
|
236
483
|
};
|
|
237
484
|
};
|
|
238
485
|
};
|