@elastic/eui-theme-common 8.0.0 → 8.1.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.
|
@@ -18,6 +18,7 @@ export declare type _EuiThemeButtonColors = {
|
|
|
18
18
|
backgroundWarningHover: ColorModeSwitch;
|
|
19
19
|
backgroundRiskHover: ColorModeSwitch;
|
|
20
20
|
backgroundDangerHover: ColorModeSwitch;
|
|
21
|
+
backgroundAssistanceHover: ColorModeSwitch;
|
|
21
22
|
backgroundTextHover: ColorModeSwitch;
|
|
22
23
|
backgroundPrimaryActive: ColorModeSwitch;
|
|
23
24
|
backgroundAccentActive: ColorModeSwitch;
|
|
@@ -46,6 +47,7 @@ export declare type _EuiThemeButtonColors = {
|
|
|
46
47
|
backgroundFilledWarningHover: ColorModeSwitch;
|
|
47
48
|
backgroundFilledRiskHover: ColorModeSwitch;
|
|
48
49
|
backgroundFilledDangerHover: ColorModeSwitch;
|
|
50
|
+
backgroundFilledAssistanceHover: ColorModeSwitch;
|
|
49
51
|
backgroundFilledTextHover: ColorModeSwitch;
|
|
50
52
|
backgroundFilledPrimaryActive: ColorModeSwitch;
|
|
51
53
|
backgroundFilledAccentActive: ColorModeSwitch;
|
|
@@ -65,6 +65,7 @@ export declare type _EuiThemeBrandTextColors = {
|
|
|
65
65
|
textWarning: ColorModeSwitch;
|
|
66
66
|
textRisk: ColorModeSwitch;
|
|
67
67
|
textDanger: ColorModeSwitch;
|
|
68
|
+
textAssistance: ColorModeSwitch;
|
|
68
69
|
};
|
|
69
70
|
export declare type _EuiThemeShadeColors = {
|
|
70
71
|
/**
|
|
@@ -167,6 +168,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
167
168
|
backgroundBaseWarning: ColorModeSwitch;
|
|
168
169
|
backgroundBaseRisk: ColorModeSwitch;
|
|
169
170
|
backgroundBaseDanger: ColorModeSwitch;
|
|
171
|
+
backgroundBaseAssistance: ColorModeSwitch;
|
|
170
172
|
backgroundBaseSubdued: ColorModeSwitch;
|
|
171
173
|
backgroundBasePlain: ColorModeSwitch;
|
|
172
174
|
backgroundBaseDisabled: ColorModeSwitch;
|
|
@@ -174,6 +176,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
174
176
|
backgroundBaseFormsPrepend: ColorModeSwitch;
|
|
175
177
|
backgroundBaseFormsControlDisabled: ColorModeSwitch;
|
|
176
178
|
backgroundBaseInteractiveHover: ColorModeSwitch;
|
|
179
|
+
backgroundBaseInteractiveHoverAssistance: ColorModeSwitch;
|
|
177
180
|
backgroundBaseInteractiveSelect: ColorModeSwitch;
|
|
178
181
|
backgroundBaseInteractiveSelectHover: ColorModeSwitch;
|
|
179
182
|
backgroundBaseInteractiveOverlay: ColorModeSwitch;
|
|
@@ -187,6 +190,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
187
190
|
backgroundLightWarning: ColorModeSwitch;
|
|
188
191
|
backgroundLightRisk: ColorModeSwitch;
|
|
189
192
|
backgroundLightDanger: ColorModeSwitch;
|
|
193
|
+
backgroundLightAssistance: ColorModeSwitch;
|
|
190
194
|
backgroundLightText: ColorModeSwitch;
|
|
191
195
|
backgroundFilledPrimary: ColorModeSwitch;
|
|
192
196
|
backgroundFilledAccent: ColorModeSwitch;
|
|
@@ -196,6 +200,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
196
200
|
backgroundFilledWarning: ColorModeSwitch;
|
|
197
201
|
backgroundFilledRisk: ColorModeSwitch;
|
|
198
202
|
backgroundFilledDanger: ColorModeSwitch;
|
|
203
|
+
backgroundFilledAssistance: ColorModeSwitch;
|
|
199
204
|
backgroundFilledText: ColorModeSwitch;
|
|
200
205
|
};
|
|
201
206
|
/** TODO: remove once usages are re-mapped */
|
|
@@ -234,6 +239,7 @@ export declare type _EuiThemeBorderColors = {
|
|
|
234
239
|
borderBaseWarning: ColorModeSwitch;
|
|
235
240
|
borderBaseRisk: ColorModeSwitch;
|
|
236
241
|
borderBaseDanger: ColorModeSwitch;
|
|
242
|
+
borderBaseAssistance: ColorModeSwitch;
|
|
237
243
|
borderBasePlain: ColorModeSwitch;
|
|
238
244
|
borderBaseSubdued: ColorModeSwitch;
|
|
239
245
|
borderBaseProminent: ColorModeSwitch;
|
|
@@ -255,6 +261,7 @@ export declare type _EuiThemeBorderColors = {
|
|
|
255
261
|
borderStrongWarning: ColorModeSwitch;
|
|
256
262
|
borderStrongRisk: ColorModeSwitch;
|
|
257
263
|
borderStrongDanger: ColorModeSwitch;
|
|
264
|
+
borderStrongAssistance: ColorModeSwitch;
|
|
258
265
|
borderStrongText: ColorModeSwitch;
|
|
259
266
|
};
|
|
260
267
|
export declare type _EuiThemeVisColors = {
|
|
@@ -268,6 +275,8 @@ export declare type _EuiThemeVisColors = {
|
|
|
268
275
|
euiColorVis7: string;
|
|
269
276
|
euiColorVis8: string;
|
|
270
277
|
euiColorVis9: string;
|
|
278
|
+
euiColorVis10: string;
|
|
279
|
+
euiColorVis11: string;
|
|
271
280
|
/** @deprecated - temp token; used only during theme migration */
|
|
272
281
|
euiColorVisBehindText0: string;
|
|
273
282
|
/** @deprecated - temp token; used only during theme migration */
|
|
@@ -288,6 +297,10 @@ export declare type _EuiThemeVisColors = {
|
|
|
288
297
|
euiColorVisBehindText8: string;
|
|
289
298
|
/** @deprecated - temp token; used only during theme migration */
|
|
290
299
|
euiColorVisBehindText9: string;
|
|
300
|
+
/** @deprecated - temp token; used only during theme migration */
|
|
301
|
+
euiColorVisBehindText10: string;
|
|
302
|
+
/** @deprecated - temp token; used only during theme migration */
|
|
303
|
+
euiColorVisBehindText11: string;
|
|
291
304
|
euiColorVisText0: string;
|
|
292
305
|
euiColorVisText1: string;
|
|
293
306
|
euiColorVisText2: string;
|
|
@@ -298,6 +311,8 @@ export declare type _EuiThemeVisColors = {
|
|
|
298
311
|
euiColorVisText7: string;
|
|
299
312
|
euiColorVisText8: string;
|
|
300
313
|
euiColorVisText9: string;
|
|
314
|
+
euiColorVisText10: string;
|
|
315
|
+
euiColorVisText11: string;
|
|
301
316
|
euiColorVisNeutral0: string;
|
|
302
317
|
euiColorVisNeutral1: string;
|
|
303
318
|
euiColorVisSuccess0: string;
|
|
@@ -308,6 +323,7 @@ export declare type _EuiThemeVisColors = {
|
|
|
308
323
|
euiColorVisRisk1: string;
|
|
309
324
|
euiColorVisDanger0: string;
|
|
310
325
|
euiColorVisDanger1: string;
|
|
326
|
+
euiColorVisAssistance: string;
|
|
311
327
|
euiColorVisBase0: string;
|
|
312
328
|
euiColorVisGrey0: string;
|
|
313
329
|
euiColorVisGrey1: string;
|
|
@@ -329,6 +345,7 @@ export declare type _EuiThemeSeverityColors = {
|
|
|
329
345
|
warning: string;
|
|
330
346
|
risk: string;
|
|
331
347
|
danger: string;
|
|
348
|
+
assistance: string;
|
|
332
349
|
};
|
|
333
350
|
export declare type _EuiThemeConstantColors = {
|
|
334
351
|
plainLight: string;
|
|
@@ -18,6 +18,7 @@ export declare type _EuiThemeButtonColors = {
|
|
|
18
18
|
backgroundWarningHover: ColorModeSwitch;
|
|
19
19
|
backgroundRiskHover: ColorModeSwitch;
|
|
20
20
|
backgroundDangerHover: ColorModeSwitch;
|
|
21
|
+
backgroundAssistanceHover: ColorModeSwitch;
|
|
21
22
|
backgroundTextHover: ColorModeSwitch;
|
|
22
23
|
backgroundPrimaryActive: ColorModeSwitch;
|
|
23
24
|
backgroundAccentActive: ColorModeSwitch;
|
|
@@ -46,6 +47,7 @@ export declare type _EuiThemeButtonColors = {
|
|
|
46
47
|
backgroundFilledWarningHover: ColorModeSwitch;
|
|
47
48
|
backgroundFilledRiskHover: ColorModeSwitch;
|
|
48
49
|
backgroundFilledDangerHover: ColorModeSwitch;
|
|
50
|
+
backgroundFilledAssistanceHover: ColorModeSwitch;
|
|
49
51
|
backgroundFilledTextHover: ColorModeSwitch;
|
|
50
52
|
backgroundFilledPrimaryActive: ColorModeSwitch;
|
|
51
53
|
backgroundFilledAccentActive: ColorModeSwitch;
|
|
@@ -65,6 +65,7 @@ export declare type _EuiThemeBrandTextColors = {
|
|
|
65
65
|
textWarning: ColorModeSwitch;
|
|
66
66
|
textRisk: ColorModeSwitch;
|
|
67
67
|
textDanger: ColorModeSwitch;
|
|
68
|
+
textAssistance: ColorModeSwitch;
|
|
68
69
|
};
|
|
69
70
|
export declare type _EuiThemeShadeColors = {
|
|
70
71
|
/**
|
|
@@ -167,6 +168,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
167
168
|
backgroundBaseWarning: ColorModeSwitch;
|
|
168
169
|
backgroundBaseRisk: ColorModeSwitch;
|
|
169
170
|
backgroundBaseDanger: ColorModeSwitch;
|
|
171
|
+
backgroundBaseAssistance: ColorModeSwitch;
|
|
170
172
|
backgroundBaseSubdued: ColorModeSwitch;
|
|
171
173
|
backgroundBasePlain: ColorModeSwitch;
|
|
172
174
|
backgroundBaseDisabled: ColorModeSwitch;
|
|
@@ -174,6 +176,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
174
176
|
backgroundBaseFormsPrepend: ColorModeSwitch;
|
|
175
177
|
backgroundBaseFormsControlDisabled: ColorModeSwitch;
|
|
176
178
|
backgroundBaseInteractiveHover: ColorModeSwitch;
|
|
179
|
+
backgroundBaseInteractiveHoverAssistance: ColorModeSwitch;
|
|
177
180
|
backgroundBaseInteractiveSelect: ColorModeSwitch;
|
|
178
181
|
backgroundBaseInteractiveSelectHover: ColorModeSwitch;
|
|
179
182
|
backgroundBaseInteractiveOverlay: ColorModeSwitch;
|
|
@@ -187,6 +190,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
187
190
|
backgroundLightWarning: ColorModeSwitch;
|
|
188
191
|
backgroundLightRisk: ColorModeSwitch;
|
|
189
192
|
backgroundLightDanger: ColorModeSwitch;
|
|
193
|
+
backgroundLightAssistance: ColorModeSwitch;
|
|
190
194
|
backgroundLightText: ColorModeSwitch;
|
|
191
195
|
backgroundFilledPrimary: ColorModeSwitch;
|
|
192
196
|
backgroundFilledAccent: ColorModeSwitch;
|
|
@@ -196,6 +200,7 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
196
200
|
backgroundFilledWarning: ColorModeSwitch;
|
|
197
201
|
backgroundFilledRisk: ColorModeSwitch;
|
|
198
202
|
backgroundFilledDanger: ColorModeSwitch;
|
|
203
|
+
backgroundFilledAssistance: ColorModeSwitch;
|
|
199
204
|
backgroundFilledText: ColorModeSwitch;
|
|
200
205
|
};
|
|
201
206
|
/** TODO: remove once usages are re-mapped */
|
|
@@ -234,6 +239,7 @@ export declare type _EuiThemeBorderColors = {
|
|
|
234
239
|
borderBaseWarning: ColorModeSwitch;
|
|
235
240
|
borderBaseRisk: ColorModeSwitch;
|
|
236
241
|
borderBaseDanger: ColorModeSwitch;
|
|
242
|
+
borderBaseAssistance: ColorModeSwitch;
|
|
237
243
|
borderBasePlain: ColorModeSwitch;
|
|
238
244
|
borderBaseSubdued: ColorModeSwitch;
|
|
239
245
|
borderBaseProminent: ColorModeSwitch;
|
|
@@ -255,6 +261,7 @@ export declare type _EuiThemeBorderColors = {
|
|
|
255
261
|
borderStrongWarning: ColorModeSwitch;
|
|
256
262
|
borderStrongRisk: ColorModeSwitch;
|
|
257
263
|
borderStrongDanger: ColorModeSwitch;
|
|
264
|
+
borderStrongAssistance: ColorModeSwitch;
|
|
258
265
|
borderStrongText: ColorModeSwitch;
|
|
259
266
|
};
|
|
260
267
|
export declare type _EuiThemeVisColors = {
|
|
@@ -268,6 +275,8 @@ export declare type _EuiThemeVisColors = {
|
|
|
268
275
|
euiColorVis7: string;
|
|
269
276
|
euiColorVis8: string;
|
|
270
277
|
euiColorVis9: string;
|
|
278
|
+
euiColorVis10: string;
|
|
279
|
+
euiColorVis11: string;
|
|
271
280
|
/** @deprecated - temp token; used only during theme migration */
|
|
272
281
|
euiColorVisBehindText0: string;
|
|
273
282
|
/** @deprecated - temp token; used only during theme migration */
|
|
@@ -288,6 +297,10 @@ export declare type _EuiThemeVisColors = {
|
|
|
288
297
|
euiColorVisBehindText8: string;
|
|
289
298
|
/** @deprecated - temp token; used only during theme migration */
|
|
290
299
|
euiColorVisBehindText9: string;
|
|
300
|
+
/** @deprecated - temp token; used only during theme migration */
|
|
301
|
+
euiColorVisBehindText10: string;
|
|
302
|
+
/** @deprecated - temp token; used only during theme migration */
|
|
303
|
+
euiColorVisBehindText11: string;
|
|
291
304
|
euiColorVisText0: string;
|
|
292
305
|
euiColorVisText1: string;
|
|
293
306
|
euiColorVisText2: string;
|
|
@@ -298,6 +311,8 @@ export declare type _EuiThemeVisColors = {
|
|
|
298
311
|
euiColorVisText7: string;
|
|
299
312
|
euiColorVisText8: string;
|
|
300
313
|
euiColorVisText9: string;
|
|
314
|
+
euiColorVisText10: string;
|
|
315
|
+
euiColorVisText11: string;
|
|
301
316
|
euiColorVisNeutral0: string;
|
|
302
317
|
euiColorVisNeutral1: string;
|
|
303
318
|
euiColorVisSuccess0: string;
|
|
@@ -308,6 +323,7 @@ export declare type _EuiThemeVisColors = {
|
|
|
308
323
|
euiColorVisRisk1: string;
|
|
309
324
|
euiColorVisDanger0: string;
|
|
310
325
|
euiColorVisDanger1: string;
|
|
326
|
+
euiColorVisAssistance: string;
|
|
311
327
|
euiColorVisBase0: string;
|
|
312
328
|
euiColorVisGrey0: string;
|
|
313
329
|
euiColorVisGrey1: string;
|
|
@@ -329,6 +345,7 @@ export declare type _EuiThemeSeverityColors = {
|
|
|
329
345
|
warning: string;
|
|
330
346
|
risk: string;
|
|
331
347
|
danger: string;
|
|
348
|
+
assistance: string;
|
|
332
349
|
};
|
|
333
350
|
export declare type _EuiThemeConstantColors = {
|
|
334
351
|
plainLight: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui-theme-common",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "EUI theme common",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"scripts": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build:compile:cjs": "NODE_ENV=production NO_COREJS_POLYFILL=true babel src --out-dir=lib/cjs --extensions .js,.ts,.tsx",
|
|
11
11
|
"build:types": "NODE_ENV=production tsc --project tsconfig.types.json",
|
|
12
12
|
"build-pack": "yarn build && npm pack",
|
|
13
|
+
"watch": "node ../../scripts/watch-eui.js --package @elastic/eui-theme-common",
|
|
13
14
|
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-sass",
|
|
14
15
|
"lint-es": "eslint --cache src/**/*.ts --max-warnings 0",
|
|
15
16
|
"lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings",
|