@elastic/eui-theme-common 8.0.0 → 9.0.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 = {
|
|
@@ -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 = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui-theme-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.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",
|