@drivy/cobalt 0.26.3 → 0.28.0
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/cjs/tokens/colors.js +13 -1
- package/cjs/tokens/colors.js.map +1 -1
- package/cjs/tokens/palette.js +14 -1
- package/cjs/tokens/palette.js.map +1 -1
- package/cjs/tokens/theme.js +18 -8
- package/cjs/tokens/theme.js.map +1 -1
- package/package.json +4 -4
- package/styles/components/Buttons/index.scss +1 -1
- package/styles/components/Form/Autocomplete/index.scss +1 -3
- package/styles/components/Form/CheckablePill.scss +25 -30
- package/styles/components/Form/Checkmark.scss +19 -34
- package/styles/components/Form/Fieldset.scss +3 -3
- package/styles/components/Form/Hint.scss +4 -7
- package/styles/components/Form/RadioWithDetails.scss +20 -21
- package/styles/components/Form/Select.scss +2 -1
- package/styles/components/Form/Slider.scss +16 -12
- package/styles/components/Form/Stepper.scss +5 -7
- package/styles/components/Form/TextArea.scss +3 -3
- package/styles/components/Form/TextInput.scss +9 -8
- package/styles/components/Form/ToggleSwitch.scss +16 -18
- package/styles/components/Form/field.scss +1 -1
- package/styles/components/Form/form.scss +14 -45
- package/styles/components/Icon/iconColors.scss +8 -8
- package/styles/components/Modal/index.scss +1 -1
- package/styles/core/_colors-map.scss +18 -8
- package/styles/core/palette.scss +13 -0
- package/styles/core/theme.scss +14 -6
- package/styles/core/typography.scss +0 -174
- package/styles/core.scss +0 -1
- package/styles/global.scss +0 -1
- package/tokens/colors.js +10 -2
- package/tokens/colors.js.map +1 -1
- package/tokens/palette.js +14 -2
- package/tokens/palette.js.map +1 -1
- package/tokens/theme.js +18 -8
- package/tokens/theme.js.map +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/tokens/index.d.ts +31 -6
- package/utilities.css +194 -14
- package/styles/core/card.scss +0 -31
- package/styles/global/typography.scss +0 -78
|
@@ -72,177 +72,3 @@ $text-variants-data: (
|
|
|
72
72
|
@function line-height($name) {
|
|
73
73
|
@return nth(font-styles($name), 2);
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
// Those mixins are deprecated, please use the ones from ./text.scss
|
|
77
|
-
|
|
78
|
-
@mixin text-style-hero-heading {
|
|
79
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
80
|
-
margin-bottom: 0;
|
|
81
|
-
|
|
82
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
83
|
-
font-size: remToPx(2.25rem);
|
|
84
|
-
font-weight: 700;
|
|
85
|
-
line-height: remToPx(2.5rem);
|
|
86
|
-
color: color(white);
|
|
87
|
-
|
|
88
|
-
text-shadow: 0 3px 20px rgba(#000, 0.3);
|
|
89
|
-
|
|
90
|
-
@include breakpoint($from: sm) {
|
|
91
|
-
font-size: remToPx(3.5rem);
|
|
92
|
-
line-height: remToPx(3.75rem);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@mixin text-style-hero-subheading {
|
|
97
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
98
|
-
margin-bottom: 0;
|
|
99
|
-
|
|
100
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
101
|
-
font-size: remToPx(1.25rem);
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
line-height: remToPx(1.5rem);
|
|
104
|
-
color: color(white);
|
|
105
|
-
|
|
106
|
-
text-shadow: 0 3px 20px rgba(#000, 0.3);
|
|
107
|
-
|
|
108
|
-
@include breakpoint($from: sm) {
|
|
109
|
-
font-size: remToPx(1.75rem);
|
|
110
|
-
line-height: remToPx(2rem);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@mixin text-style-title-extralarge {
|
|
115
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
116
|
-
margin-bottom: 0;
|
|
117
|
-
|
|
118
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
119
|
-
font-size: 2rem;
|
|
120
|
-
font-weight: 700;
|
|
121
|
-
line-height: 2.25rem;
|
|
122
|
-
color: color(indigo, dark);
|
|
123
|
-
|
|
124
|
-
@include breakpoint($from: sm) {
|
|
125
|
-
font-size: remToPx(2.5rem);
|
|
126
|
-
line-height: remToPx(2.75rem);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@mixin text-style-title-large {
|
|
131
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
132
|
-
margin-bottom: 0;
|
|
133
|
-
|
|
134
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
135
|
-
font-size: 1.5rem;
|
|
136
|
-
font-weight: 700;
|
|
137
|
-
line-height: 1.75rem;
|
|
138
|
-
color: color(indigo, dark);
|
|
139
|
-
|
|
140
|
-
@include breakpoint($from: sm) {
|
|
141
|
-
font-size: remToPx(2rem);
|
|
142
|
-
line-height: remToPx(2.25rem);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@mixin text-style-title {
|
|
147
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
148
|
-
margin-bottom: 0;
|
|
149
|
-
|
|
150
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
151
|
-
font-size: 1.125rem;
|
|
152
|
-
font-weight: 700;
|
|
153
|
-
line-height: 1.25rem;
|
|
154
|
-
color: color(indigo, dark);
|
|
155
|
-
|
|
156
|
-
@include breakpoint($from: sm) {
|
|
157
|
-
font-size: remToPx(1.5rem);
|
|
158
|
-
line-height: remToPx(1.75rem);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@mixin text-style-title-small {
|
|
163
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
164
|
-
margin-bottom: 0;
|
|
165
|
-
|
|
166
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
167
|
-
font-size: 0.9375rem;
|
|
168
|
-
font-weight: 600;
|
|
169
|
-
line-height: 1.25rem;
|
|
170
|
-
color: color(indigo, dark);
|
|
171
|
-
|
|
172
|
-
@include breakpoint($from: sm) {
|
|
173
|
-
font-size: remToPx(1.125rem);
|
|
174
|
-
line-height: remToPx(1.5rem);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@mixin text-style-title-tiny {
|
|
179
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
180
|
-
margin-bottom: 0;
|
|
181
|
-
|
|
182
|
-
font-family: BrownPro,BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
|
|
183
|
-
font-size: 0.9375rem;
|
|
184
|
-
font-weight: 600;
|
|
185
|
-
line-height: 1.25rem;
|
|
186
|
-
color: color(indigo, dark);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@mixin text-style--titleSubdued {
|
|
190
|
-
color: color(purple);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@mixin text-style-body-large {
|
|
194
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
195
|
-
margin-bottom: 0;
|
|
196
|
-
|
|
197
|
-
font-size: font-size(body-large);
|
|
198
|
-
line-height: line-height(body-large);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
@mixin text-style-body {
|
|
202
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
203
|
-
margin-bottom: 0;
|
|
204
|
-
|
|
205
|
-
font-size: font-size(body);
|
|
206
|
-
line-height: line-height(body);
|
|
207
|
-
color: color(graphite);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
@mixin text-style-body-small {
|
|
211
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
212
|
-
margin-bottom: 0;
|
|
213
|
-
|
|
214
|
-
font-size: font-size(body-small);
|
|
215
|
-
line-height: line-height(body-small);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@mixin text-style--bodySubdued {
|
|
219
|
-
color: color(graphite, light);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@mixin text-style--bodyInversed {
|
|
223
|
-
color: color(white);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
@mixin text-style-caption {
|
|
227
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
228
|
-
margin-bottom: 0;
|
|
229
|
-
|
|
230
|
-
font-size: font-size(caption);
|
|
231
|
-
line-height: line-height(caption);
|
|
232
|
-
|
|
233
|
-
color: rgba(color(graphite), 0.5);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
@mixin text-style-section-header {
|
|
237
|
-
@include text-color(subdued);
|
|
238
|
-
|
|
239
|
-
// reset is necessary as we still apply default style to html tags such as hX
|
|
240
|
-
margin-bottom: 0;
|
|
241
|
-
|
|
242
|
-
font-family: font-family(brand);
|
|
243
|
-
font-weight: 700;
|
|
244
|
-
font-size: font-size(section-header);
|
|
245
|
-
line-height: line-height(section-header);
|
|
246
|
-
|
|
247
|
-
text-transform: uppercase;
|
|
248
|
-
}
|
package/styles/core.scss
CHANGED
package/styles/global.scss
CHANGED
package/tokens/colors.js
CHANGED
|
@@ -29,6 +29,10 @@ const green = {
|
|
|
29
29
|
const blue = "#2ea2ea";
|
|
30
30
|
const deprecatedBlueGhost = "#2ea2ea0f";
|
|
31
31
|
const deprecatedDriver = "#ffd988";
|
|
32
|
+
const deprecatedSeasonLow = "#BDFFAC";
|
|
33
|
+
const deprecatedSeasonMedium = "#94EA84";
|
|
34
|
+
const deprecatedSeasonHigh = "#73C865";
|
|
35
|
+
const deprecatedSeasonVeryHigh = "#54A949";
|
|
32
36
|
var _colors = {
|
|
33
37
|
white: white,
|
|
34
38
|
grey: grey,
|
|
@@ -42,8 +46,12 @@ var _colors = {
|
|
|
42
46
|
green: green,
|
|
43
47
|
blue: blue,
|
|
44
48
|
deprecatedBlueGhost: deprecatedBlueGhost,
|
|
45
|
-
deprecatedDriver: deprecatedDriver
|
|
49
|
+
deprecatedDriver: deprecatedDriver,
|
|
50
|
+
deprecatedSeasonLow: deprecatedSeasonLow,
|
|
51
|
+
deprecatedSeasonMedium: deprecatedSeasonMedium,
|
|
52
|
+
deprecatedSeasonHigh: deprecatedSeasonHigh,
|
|
53
|
+
deprecatedSeasonVeryHigh: deprecatedSeasonVeryHigh
|
|
46
54
|
};
|
|
47
55
|
|
|
48
|
-
export { amber, blue, coral, _colors as default, deprecatedBlueGhost, deprecatedDriver, graphite, green, grey, indigo, purple, red, turquoise, white };
|
|
56
|
+
export { amber, blue, coral, _colors as default, deprecatedBlueGhost, deprecatedDriver, deprecatedSeasonHigh, deprecatedSeasonLow, deprecatedSeasonMedium, deprecatedSeasonVeryHigh, graphite, green, grey, indigo, purple, red, turquoise, white };
|
|
49
57
|
//# sourceMappingURL=colors.js.map
|
package/tokens/colors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/tokens/palette.js
CHANGED
|
@@ -20,6 +20,7 @@ const green = {
|
|
|
20
20
|
const navy = {
|
|
21
21
|
"50": "#F1F1F4",
|
|
22
22
|
"100": "#E3E2E8",
|
|
23
|
+
"200": "#BBB8C7",
|
|
23
24
|
"300": "#7B728E",
|
|
24
25
|
"500": "#362E53",
|
|
25
26
|
"700": "#261A48",
|
|
@@ -75,6 +76,16 @@ const yellow = {
|
|
|
75
76
|
"900": "#75592D",
|
|
76
77
|
"1000": "#3B2E17"
|
|
77
78
|
};
|
|
79
|
+
const season = {
|
|
80
|
+
"100": "#BDFFAC",
|
|
81
|
+
"200": "#94EA84",
|
|
82
|
+
"300": "#73C865",
|
|
83
|
+
"400": "#54A949",
|
|
84
|
+
"700": "#0B7011",
|
|
85
|
+
"800": "#005100",
|
|
86
|
+
"900": "#030",
|
|
87
|
+
"1000": "#001900"
|
|
88
|
+
};
|
|
78
89
|
var _palette = {
|
|
79
90
|
black: black,
|
|
80
91
|
grey: grey,
|
|
@@ -87,8 +98,9 @@ var _palette = {
|
|
|
87
98
|
red: red,
|
|
88
99
|
turquoise: turquoise,
|
|
89
100
|
white: white,
|
|
90
|
-
yellow: yellow
|
|
101
|
+
yellow: yellow,
|
|
102
|
+
season: season
|
|
91
103
|
};
|
|
92
104
|
|
|
93
|
-
export { black, _palette as default, green, grey, navy, orange, purple, purpleDeep, purpleLight, red, turquoise, white, yellow };
|
|
105
|
+
export { black, _palette as default, green, grey, navy, orange, purple, purpleDeep, purpleLight, red, season, turquoise, white, yellow };
|
|
94
106
|
//# sourceMappingURL=palette.js.map
|
package/tokens/palette.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"palette.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/tokens/theme.js
CHANGED
|
@@ -34,7 +34,11 @@ const background = {
|
|
|
34
34
|
owner: "indigo.dark/navy.700/navy.700",
|
|
35
35
|
disabled: "grey.light/navy.100/black.50",
|
|
36
36
|
neutral: "grey.light/navy.100/black.50",
|
|
37
|
-
neutralAlt: "grey.lighter/navy.50/black.100"
|
|
37
|
+
neutralAlt: "grey.lighter/navy.50/black.100",
|
|
38
|
+
seasonLow: "deprecatedSeasonLow/season.100/season.700",
|
|
39
|
+
seasonMedium: "deprecatedSeasonMedium/season.200/season.800",
|
|
40
|
+
seasonHigh: "deprecatedSeasonHigh/season.300/season.900",
|
|
41
|
+
seasonVeryHigh: "deprecatedSeasonVeryHigh/season.400/season.1000"
|
|
38
42
|
};
|
|
39
43
|
const text = {
|
|
40
44
|
base: "graphite/navy.700/grey.100",
|
|
@@ -58,15 +62,15 @@ const text = {
|
|
|
58
62
|
hover: "white/purple.700/grey.100"
|
|
59
63
|
},
|
|
60
64
|
info: "graphite.light/yellow.900/yellow.300",
|
|
65
|
+
infoAlt: "turquoise/yellow.500/yellow.700",
|
|
61
66
|
error: "red/red.500/red.400",
|
|
62
67
|
errorAlt: "white/red.500/red.500",
|
|
63
68
|
success: "green/green.700/green.700",
|
|
64
69
|
successAlt: "white/green.900/green.100",
|
|
70
|
+
warning: "coral/orange.500/orange.300",
|
|
65
71
|
connect: "turquoise/turquoise.500/turquoise.500",
|
|
66
72
|
driver: "graphite/navy.700/navy.700",
|
|
67
73
|
owner: "white/white/grey.100",
|
|
68
|
-
warning: "coral/orange.500/orange.300",
|
|
69
|
-
infoAlt: "turquoise/yellow.500/yellow.700",
|
|
70
74
|
inversed: "white/white/white"
|
|
71
75
|
};
|
|
72
76
|
const buttonBackground = {
|
|
@@ -181,16 +185,16 @@ const icon = {
|
|
|
181
185
|
hover: "white/purple.700/grey.100"
|
|
182
186
|
},
|
|
183
187
|
info: "graphite.light/yellow.900/yellow.300",
|
|
188
|
+
infoAlt: "turquoise/yellow.500/yellow.700",
|
|
184
189
|
error: "red/red.500/red.400",
|
|
185
190
|
errorAlt: "red/red.500/red.200",
|
|
186
191
|
success: "green/green.700/green.700",
|
|
187
192
|
successAlt: "white/green.900/green.100",
|
|
193
|
+
warning: "coral/orange.500/orange.300",
|
|
188
194
|
connect: "turquoise/turquoise.500/white",
|
|
189
195
|
connectAlt: "turquoise/turquoise.900/turquoise.50",
|
|
190
196
|
driver: "graphite/navy.700//navy.700",
|
|
191
197
|
owner: "white/white/white",
|
|
192
|
-
warning: "coral/orange.500/orange.300",
|
|
193
|
-
infoAlt: "turquoise/yellow.500/yellow.700",
|
|
194
198
|
inversed: "white/white/white",
|
|
195
199
|
disabled: "grey.lighter/navy.100/black.50"
|
|
196
200
|
};
|
|
@@ -201,6 +205,12 @@ const stroke = {
|
|
|
201
205
|
hover: "graphite.light/navy.300/purpleDeep.400",
|
|
202
206
|
press: "graphite/navy.500/purpleDeep.400"
|
|
203
207
|
},
|
|
208
|
+
strong: "grey.dark/navy.300/navy.200",
|
|
209
|
+
strongInteractive: {
|
|
210
|
+
DEFAULT: "grey.dark/navy.300/navy.200",
|
|
211
|
+
hover: "graphite.light/navy.500/purpleDeep.400",
|
|
212
|
+
press: "graphite/navy.700/purpleDeep.400"
|
|
213
|
+
},
|
|
204
214
|
subdued: "grey.light/navy.100/black.50",
|
|
205
215
|
accent: "indigo/purple.500/purpleDeep.400",
|
|
206
216
|
accentInteractive: {
|
|
@@ -221,10 +231,10 @@ const fill = {
|
|
|
221
231
|
accent: "purple/purple.500/purpleDeep.400",
|
|
222
232
|
accentAlt: "purple/purple.100/purpleDeep.900",
|
|
223
233
|
error: "red/red.500/red.500",
|
|
224
|
-
success: "green/green.500/green.700",
|
|
225
234
|
negative: "red/red.150/red.900",
|
|
226
|
-
|
|
227
|
-
disabled: "grey.dark/navy.300/grey.300"
|
|
235
|
+
success: "green/green.500/green.700",
|
|
236
|
+
disabled: "grey.dark/navy.300/grey.300",
|
|
237
|
+
neutral: "grey.lighter/navy.50/black.100"
|
|
228
238
|
};
|
|
229
239
|
var _theme = {
|
|
230
240
|
background: background,
|
package/tokens/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ interface IconsMap {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const BUNDLED_ICONS: IconsMap;
|
|
7
7
|
export type IconSources = keyof typeof iconTokens.icons;
|
|
8
|
-
export declare const iconColors: ("info" | "amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "baseInteractive" | "subdued" | "subduedInteractive" | "accent" | "accentInteractive" | "accentAlt" | "accentAltInteractive" | "
|
|
8
|
+
export declare const iconColors: ("info" | "amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "baseInteractive" | "subdued" | "subduedInteractive" | "accent" | "accentInteractive" | "accentAlt" | "accentAltInteractive" | "infoAlt" | "error" | "errorAlt" | "success" | "successAlt" | "warning" | "connect" | "connectAlt" | "driver" | "owner" | "inversed" | "disabled")[];
|
|
9
9
|
export type IconColorsType = typeof iconColors[number];
|
|
10
10
|
export interface IconProps {
|
|
11
11
|
source: IconSources;
|
package/types/tokens/index.d.ts
CHANGED
|
@@ -36,6 +36,10 @@ export declare const colors: {
|
|
|
36
36
|
blue: string;
|
|
37
37
|
deprecatedBlueGhost: string;
|
|
38
38
|
deprecatedDriver: string;
|
|
39
|
+
deprecatedSeasonLow: string;
|
|
40
|
+
deprecatedSeasonMedium: string;
|
|
41
|
+
deprecatedSeasonHigh: string;
|
|
42
|
+
deprecatedSeasonVeryHigh: string;
|
|
39
43
|
};
|
|
40
44
|
export declare const countries: {
|
|
41
45
|
flags: {
|
|
@@ -382,6 +386,7 @@ export declare const palette: {
|
|
|
382
386
|
navy: {
|
|
383
387
|
"50": string;
|
|
384
388
|
"100": string;
|
|
389
|
+
"200": string;
|
|
385
390
|
"300": string;
|
|
386
391
|
"500": string;
|
|
387
392
|
"700": string;
|
|
@@ -437,6 +442,16 @@ export declare const palette: {
|
|
|
437
442
|
"900": string;
|
|
438
443
|
"1000": string;
|
|
439
444
|
};
|
|
445
|
+
season: {
|
|
446
|
+
"100": string;
|
|
447
|
+
"200": string;
|
|
448
|
+
"300": string;
|
|
449
|
+
"400": string;
|
|
450
|
+
"700": string;
|
|
451
|
+
"800": string;
|
|
452
|
+
"900": string;
|
|
453
|
+
"1000": string;
|
|
454
|
+
};
|
|
440
455
|
};
|
|
441
456
|
export declare const theme: {
|
|
442
457
|
background: {
|
|
@@ -476,6 +491,10 @@ export declare const theme: {
|
|
|
476
491
|
disabled: string;
|
|
477
492
|
neutral: string;
|
|
478
493
|
neutralAlt: string;
|
|
494
|
+
seasonLow: string;
|
|
495
|
+
seasonMedium: string;
|
|
496
|
+
seasonHigh: string;
|
|
497
|
+
seasonVeryHigh: string;
|
|
479
498
|
};
|
|
480
499
|
text: {
|
|
481
500
|
base: string;
|
|
@@ -499,15 +518,15 @@ export declare const theme: {
|
|
|
499
518
|
hover: string;
|
|
500
519
|
};
|
|
501
520
|
info: string;
|
|
521
|
+
infoAlt: string;
|
|
502
522
|
error: string;
|
|
503
523
|
errorAlt: string;
|
|
504
524
|
success: string;
|
|
505
525
|
successAlt: string;
|
|
526
|
+
warning: string;
|
|
506
527
|
connect: string;
|
|
507
528
|
driver: string;
|
|
508
529
|
owner: string;
|
|
509
|
-
warning: string;
|
|
510
|
-
infoAlt: string;
|
|
511
530
|
inversed: string;
|
|
512
531
|
};
|
|
513
532
|
buttonBackground: {
|
|
@@ -622,16 +641,16 @@ export declare const theme: {
|
|
|
622
641
|
hover: string;
|
|
623
642
|
};
|
|
624
643
|
info: string;
|
|
644
|
+
infoAlt: string;
|
|
625
645
|
error: string;
|
|
626
646
|
errorAlt: string;
|
|
627
647
|
success: string;
|
|
628
648
|
successAlt: string;
|
|
649
|
+
warning: string;
|
|
629
650
|
connect: string;
|
|
630
651
|
connectAlt: string;
|
|
631
652
|
driver: string;
|
|
632
653
|
owner: string;
|
|
633
|
-
warning: string;
|
|
634
|
-
infoAlt: string;
|
|
635
654
|
inversed: string;
|
|
636
655
|
disabled: string;
|
|
637
656
|
};
|
|
@@ -642,6 +661,12 @@ export declare const theme: {
|
|
|
642
661
|
hover: string;
|
|
643
662
|
press: string;
|
|
644
663
|
};
|
|
664
|
+
strong: string;
|
|
665
|
+
strongInteractive: {
|
|
666
|
+
DEFAULT: string;
|
|
667
|
+
hover: string;
|
|
668
|
+
press: string;
|
|
669
|
+
};
|
|
645
670
|
subdued: string;
|
|
646
671
|
accent: string;
|
|
647
672
|
accentInteractive: {
|
|
@@ -662,9 +687,9 @@ export declare const theme: {
|
|
|
662
687
|
accent: string;
|
|
663
688
|
accentAlt: string;
|
|
664
689
|
error: string;
|
|
665
|
-
success: string;
|
|
666
690
|
negative: string;
|
|
667
|
-
|
|
691
|
+
success: string;
|
|
668
692
|
disabled: string;
|
|
693
|
+
neutral: string;
|
|
669
694
|
};
|
|
670
695
|
};
|