@elastic/eui-theme-borealis 3.5.0 → 4.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.
- package/lib/cjs/index.js +3 -4
- package/lib/cjs/variables/_buttons.js +4 -19
- package/lib/cjs/variables/_components.js +91 -96
- package/lib/cjs/variables/_shadows.d.ts +8 -0
- package/lib/cjs/variables/_shadows.js +438 -0
- package/lib/esm/index.js +3 -4
- package/lib/esm/variables/_buttons.js +2 -20
- package/lib/esm/variables/_components.js +0 -1
- package/lib/esm/variables/_shadows.d.ts +8 -0
- package/lib/esm/variables/_shadows.js +477 -0
- package/lib/eui_theme_borealis_dark.json +36 -0
- package/lib/eui_theme_borealis_dark.json.d.ts +36 -0
- package/lib/eui_theme_borealis_light.json +37 -1
- package/lib/eui_theme_borealis_light.json.d.ts +36 -0
- package/package.json +2 -2
- package/src/mixins/_index.scss +1 -0
- package/src/mixins/_shadow.scss +131 -0
- package/src/theme_dark.scss +2 -0
- package/src/theme_light.scss +2 -0
- package/src/variables/_shadows_dark.scss +20 -0
- package/src/variables/_shadows_light.scss +20 -0
package/lib/cjs/index.js
CHANGED
|
@@ -31,6 +31,7 @@ var _size = require("./variables/_size");
|
|
|
31
31
|
var _borders = require("./variables/_borders");
|
|
32
32
|
var _levels = require("./variables/_levels");
|
|
33
33
|
var _typography = require("./variables/_typography");
|
|
34
|
+
var _shadows = require("./variables/_shadows");
|
|
34
35
|
var _states = require("./variables/_states");
|
|
35
36
|
var _components = require("./variables/_components");
|
|
36
37
|
var _overrides = require("./variables/_overrides");
|
|
@@ -54,13 +55,11 @@ var euiThemeBorealis = exports.euiThemeBorealis = {
|
|
|
54
55
|
animation: _animation.animation,
|
|
55
56
|
breakpoint: _breakpoint.breakpoint,
|
|
56
57
|
levels: _levels.levels,
|
|
58
|
+
shadows: _shadows.shadows,
|
|
57
59
|
focus: _states.focus,
|
|
58
60
|
components: _components.components,
|
|
59
61
|
flags: {
|
|
60
|
-
|
|
61
|
-
hasVisColorAdjustment: false,
|
|
62
|
-
buttonVariant: 'refresh',
|
|
63
|
-
formVariant: 'refresh'
|
|
62
|
+
shadowVariant: 'refresh'
|
|
64
63
|
},
|
|
65
64
|
overrides: _overrides.overrides
|
|
66
65
|
};
|
|
@@ -24,16 +24,6 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /*
|
|
|
24
24
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
25
25
|
* Side Public License, v 1.
|
|
26
26
|
*/
|
|
27
|
-
var getTokenByVariant = function getTokenByVariant(buttonVariant, tokens) {
|
|
28
|
-
switch (buttonVariant) {
|
|
29
|
-
case 'refresh':
|
|
30
|
-
return tokens.refresh;
|
|
31
|
-
default:
|
|
32
|
-
{
|
|
33
|
-
return tokens.classic;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
27
|
var _buttons = {
|
|
38
28
|
backgroundPrimary: (0, _euiThemeCommon.computed)(function (_ref) {
|
|
39
29
|
var _ref2 = _slicedToArray(_ref, 1),
|
|
@@ -76,15 +66,10 @@ var _buttons = {
|
|
|
76
66
|
return backgroundLightDanger;
|
|
77
67
|
}, ['colors.backgroundLightDanger']),
|
|
78
68
|
backgroundText: (0, _euiThemeCommon.computed)(function (_ref17) {
|
|
79
|
-
var _ref18 = _slicedToArray(_ref17,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
return getTokenByVariant(buttonVariant, {
|
|
84
|
-
refresh: backgroundBasePlain,
|
|
85
|
-
classic: backgroundLightText
|
|
86
|
-
});
|
|
87
|
-
}, ['flags.buttonVariant', 'colors.backgroundBasePlain', 'colors.backgroundLightText']),
|
|
69
|
+
var _ref18 = _slicedToArray(_ref17, 1),
|
|
70
|
+
backgroundBasePlain = _ref18[0];
|
|
71
|
+
return backgroundBasePlain;
|
|
72
|
+
}, ['colors.backgroundBasePlain']),
|
|
88
73
|
backgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref19) {
|
|
89
74
|
var _ref20 = _slicedToArray(_ref19, 1),
|
|
90
75
|
backgroundBaseDisabled = _ref20[0];
|
|
@@ -226,173 +226,168 @@ var component_colors = {
|
|
|
226
226
|
headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
227
227
|
headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
|
|
228
228
|
headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
|
|
229
|
-
|
|
229
|
+
listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
230
230
|
var _ref68 = _slicedToArray(_ref67, 1),
|
|
231
|
-
|
|
232
|
-
return
|
|
233
|
-
}, ['colors.
|
|
234
|
-
|
|
231
|
+
backgroundBaseInteractiveSelect = _ref68[0];
|
|
232
|
+
return backgroundBaseInteractiveSelect;
|
|
233
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
234
|
+
listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
235
235
|
var _ref70 = _slicedToArray(_ref69, 1),
|
|
236
236
|
backgroundBaseInteractiveSelect = _ref70[0];
|
|
237
237
|
return backgroundBaseInteractiveSelect;
|
|
238
238
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
239
|
-
|
|
239
|
+
listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
240
240
|
var _ref72 = _slicedToArray(_ref71, 1),
|
|
241
|
-
|
|
242
|
-
return backgroundBaseInteractiveSelect;
|
|
243
|
-
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
244
|
-
listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
245
|
-
var _ref74 = _slicedToArray(_ref73, 1),
|
|
246
|
-
backgroundBaseInteractiveHover = _ref74[0];
|
|
241
|
+
backgroundBaseInteractiveHover = _ref72[0];
|
|
247
242
|
return backgroundBaseInteractiveHover;
|
|
248
243
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
249
|
-
listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (
|
|
250
|
-
var
|
|
251
|
-
backgroundBaseInteractiveHover =
|
|
244
|
+
listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
245
|
+
var _ref74 = _slicedToArray(_ref73, 1),
|
|
246
|
+
backgroundBaseInteractiveHover = _ref74[0];
|
|
252
247
|
return backgroundBaseInteractiveHover;
|
|
253
248
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
254
249
|
// we don't want to inherit overrides (e.g. HCM)
|
|
255
250
|
loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
|
|
256
|
-
loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (
|
|
257
|
-
var
|
|
258
|
-
borderStrongPrimary =
|
|
251
|
+
loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
252
|
+
var _ref76 = _slicedToArray(_ref75, 1),
|
|
253
|
+
borderStrongPrimary = _ref76[0];
|
|
259
254
|
return borderStrongPrimary;
|
|
260
255
|
}, ['colors.borderStrongPrimary']),
|
|
261
256
|
loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
|
|
262
257
|
loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
|
|
263
258
|
loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
|
|
264
259
|
loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
|
|
265
|
-
markBackground: (0, _euiThemeCommon.computed)(function (
|
|
266
|
-
var
|
|
267
|
-
backgroundLightPrimary =
|
|
260
|
+
markBackground: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
261
|
+
var _ref78 = _slicedToArray(_ref77, 1),
|
|
262
|
+
backgroundLightPrimary = _ref78[0];
|
|
268
263
|
return backgroundLightPrimary;
|
|
269
264
|
}, ['colors.backgroundLightPrimary']),
|
|
270
|
-
markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
271
|
-
var
|
|
272
|
-
borderBasePlain =
|
|
265
|
+
markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
266
|
+
var _ref80 = _slicedToArray(_ref79, 1),
|
|
267
|
+
borderBasePlain = _ref80[0];
|
|
273
268
|
return borderBasePlain;
|
|
274
269
|
}, ['colors.borderBasePlain']),
|
|
275
|
-
overlayMaskBackground: (0, _euiThemeCommon.computed)(function (
|
|
276
|
-
var
|
|
277
|
-
backgroundBaseInteractiveOverlay =
|
|
270
|
+
overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
271
|
+
var _ref82 = _slicedToArray(_ref81, 1),
|
|
272
|
+
backgroundBaseInteractiveOverlay = _ref82[0];
|
|
278
273
|
return backgroundBaseInteractiveOverlay;
|
|
279
274
|
}, ['colors.backgroundBaseInteractiveOverlay']),
|
|
280
275
|
overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
|
|
281
|
-
popoverPanelBackground: (0, _euiThemeCommon.computed)(function (
|
|
282
|
-
var
|
|
283
|
-
backgroundBasePlain =
|
|
276
|
+
popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
277
|
+
var _ref84 = _slicedToArray(_ref83, 1),
|
|
278
|
+
backgroundBasePlain = _ref84[0];
|
|
284
279
|
return backgroundBasePlain;
|
|
285
280
|
}, ['colors.backgroundBasePlain']),
|
|
286
|
-
popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
287
|
-
var
|
|
288
|
-
borderBaseSubdued =
|
|
281
|
+
popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
282
|
+
var _ref86 = _slicedToArray(_ref85, 1),
|
|
283
|
+
borderBaseSubdued = _ref86[0];
|
|
289
284
|
return borderBaseSubdued;
|
|
290
285
|
}, ['colors.borderBaseSubdued']),
|
|
291
286
|
scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
|
|
292
|
-
sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (
|
|
293
|
-
var
|
|
294
|
-
backgroundBaseInteractiveSelect =
|
|
287
|
+
sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
288
|
+
var _ref88 = _slicedToArray(_ref87, 1),
|
|
289
|
+
backgroundBaseInteractiveSelect = _ref88[0];
|
|
295
290
|
return backgroundBaseInteractiveSelect;
|
|
296
291
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
297
|
-
selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (
|
|
298
|
-
var
|
|
299
|
-
borderBaseSubdued =
|
|
292
|
+
selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
293
|
+
var _ref90 = _slicedToArray(_ref89, 1),
|
|
294
|
+
borderBaseSubdued = _ref90[0];
|
|
300
295
|
return borderBaseSubdued;
|
|
301
296
|
}, ['colors.borderBaseSubdued']),
|
|
302
297
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade100RGB, ", 0.04)"),
|
|
303
|
-
superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (
|
|
304
|
-
var
|
|
305
|
-
backgroundBaseSuccess =
|
|
298
|
+
superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
299
|
+
var _ref92 = _slicedToArray(_ref91, 1),
|
|
300
|
+
backgroundBaseSuccess = _ref92[0];
|
|
306
301
|
return backgroundBaseSuccess;
|
|
307
302
|
}, ['colors.backgroundBaseSuccess']),
|
|
308
|
-
switchBackgroundOn: (0, _euiThemeCommon.computed)(function (
|
|
309
|
-
var
|
|
310
|
-
backgroundFilledPrimary =
|
|
303
|
+
switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
304
|
+
var _ref94 = _slicedToArray(_ref93, 1),
|
|
305
|
+
backgroundFilledPrimary = _ref94[0];
|
|
311
306
|
return backgroundFilledPrimary;
|
|
312
307
|
}, ['colors.backgroundFilledPrimary']),
|
|
313
|
-
switchBackgroundOff: (0, _euiThemeCommon.computed)(function (
|
|
314
|
-
var
|
|
315
|
-
backgroundFilledText =
|
|
308
|
+
switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
309
|
+
var _ref96 = _slicedToArray(_ref95, 1),
|
|
310
|
+
backgroundFilledText = _ref96[0];
|
|
316
311
|
return backgroundFilledText;
|
|
317
312
|
}, ['colors.backgroundFilledText']),
|
|
318
|
-
switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (
|
|
313
|
+
switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
314
|
+
var _ref98 = _slicedToArray(_ref97, 1),
|
|
315
|
+
backgroundBaseFormsControlDisabled = _ref98[0];
|
|
316
|
+
return backgroundBaseFormsControlDisabled;
|
|
317
|
+
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
318
|
+
switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
319
319
|
var _ref100 = _slicedToArray(_ref99, 1),
|
|
320
320
|
backgroundBaseFormsControlDisabled = _ref100[0];
|
|
321
321
|
return backgroundBaseFormsControlDisabled;
|
|
322
322
|
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
323
|
-
|
|
323
|
+
switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
324
324
|
var _ref102 = _slicedToArray(_ref101, 1),
|
|
325
325
|
backgroundBaseFormsControlDisabled = _ref102[0];
|
|
326
326
|
return backgroundBaseFormsControlDisabled;
|
|
327
327
|
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
328
|
-
|
|
328
|
+
switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
329
329
|
var _ref104 = _slicedToArray(_ref103, 1),
|
|
330
|
-
|
|
331
|
-
return backgroundBaseFormsControlDisabled;
|
|
332
|
-
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
333
|
-
switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
334
|
-
var _ref106 = _slicedToArray(_ref105, 1),
|
|
335
|
-
backgroundBasePlain = _ref106[0];
|
|
330
|
+
backgroundBasePlain = _ref104[0];
|
|
336
331
|
return backgroundBasePlain;
|
|
337
332
|
}, ['colors.backgroundBasePlain']),
|
|
338
|
-
switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (
|
|
339
|
-
var
|
|
340
|
-
backgroundFilledPrimary =
|
|
333
|
+
switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
334
|
+
var _ref106 = _slicedToArray(_ref105, 1),
|
|
335
|
+
backgroundFilledPrimary = _ref106[0];
|
|
341
336
|
return backgroundFilledPrimary;
|
|
342
337
|
}, ['colors.backgroundFilledPrimary']),
|
|
343
|
-
switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (
|
|
344
|
-
var
|
|
345
|
-
backgroundFilledText =
|
|
338
|
+
switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref107) {
|
|
339
|
+
var _ref108 = _slicedToArray(_ref107, 1),
|
|
340
|
+
backgroundFilledText = _ref108[0];
|
|
346
341
|
return backgroundFilledText;
|
|
347
342
|
}, ['colors.backgroundFilledText']),
|
|
348
343
|
switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
|
|
349
|
-
tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
350
|
-
var
|
|
351
|
-
backgroundBaseInteractiveHover =
|
|
344
|
+
tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref109) {
|
|
345
|
+
var _ref110 = _slicedToArray(_ref109, 1),
|
|
346
|
+
backgroundBaseInteractiveHover = _ref110[0];
|
|
352
347
|
return backgroundBaseInteractiveHover;
|
|
353
348
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
354
|
-
tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (
|
|
355
|
-
var
|
|
356
|
-
backgroundBaseInteractiveSelect =
|
|
349
|
+
tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref111) {
|
|
350
|
+
var _ref112 = _slicedToArray(_ref111, 1),
|
|
351
|
+
backgroundBaseInteractiveSelect = _ref112[0];
|
|
357
352
|
return backgroundBaseInteractiveSelect;
|
|
358
353
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
359
|
-
tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (
|
|
360
|
-
var
|
|
361
|
-
backgroundBaseInteractiveSelectHover =
|
|
354
|
+
tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref113) {
|
|
355
|
+
var _ref114 = _slicedToArray(_ref113, 1),
|
|
356
|
+
backgroundBaseInteractiveSelectHover = _ref114[0];
|
|
362
357
|
return backgroundBaseInteractiveSelectHover;
|
|
363
358
|
}, ['colors.backgroundBaseInteractiveSelectHover']),
|
|
364
|
-
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
365
|
-
var
|
|
366
|
-
backgroundBaseInteractiveSelect =
|
|
359
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
|
|
360
|
+
var _ref116 = _slicedToArray(_ref115, 1),
|
|
361
|
+
backgroundBaseInteractiveSelect = _ref116[0];
|
|
367
362
|
return backgroundBaseInteractiveSelect;
|
|
368
363
|
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
369
|
-
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (
|
|
370
|
-
var
|
|
371
|
-
backgroundBaseInteractiveHover =
|
|
364
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref117) {
|
|
365
|
+
var _ref118 = _slicedToArray(_ref117, 1),
|
|
366
|
+
backgroundBaseInteractiveHover = _ref118[0];
|
|
372
367
|
return backgroundBaseInteractiveHover;
|
|
373
368
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
374
369
|
tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning10,
|
|
375
370
|
tableRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning20,
|
|
376
|
-
tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (
|
|
377
|
-
var
|
|
378
|
-
backgroundFilledText =
|
|
371
|
+
tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref119) {
|
|
372
|
+
var _ref120 = _slicedToArray(_ref119, 1),
|
|
373
|
+
backgroundFilledText = _ref120[0];
|
|
379
374
|
return backgroundFilledText;
|
|
380
375
|
}, ['colors.backgroundFilledText']),
|
|
381
376
|
tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
382
377
|
tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
383
|
-
tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (
|
|
384
|
-
var
|
|
385
|
-
borderBaseFloating =
|
|
378
|
+
tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref121) {
|
|
379
|
+
var _ref122 = _slicedToArray(_ref121, 1),
|
|
380
|
+
borderBaseFloating = _ref122[0];
|
|
386
381
|
return borderBaseFloating;
|
|
387
382
|
}, ['colors.borderBaseFloating']),
|
|
388
|
-
tourFooterBackground: (0, _euiThemeCommon.computed)(function (
|
|
389
|
-
var
|
|
390
|
-
backgroundBaseHighlighted =
|
|
383
|
+
tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref123) {
|
|
384
|
+
var _ref124 = _slicedToArray(_ref123, 1),
|
|
385
|
+
backgroundBaseHighlighted = _ref124[0];
|
|
391
386
|
return backgroundBaseHighlighted;
|
|
392
387
|
}, ['colors.backgroundBaseHighlighted']),
|
|
393
|
-
treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
394
|
-
var
|
|
395
|
-
backgroundBaseInteractiveHover =
|
|
388
|
+
treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref125) {
|
|
389
|
+
var _ref126 = _slicedToArray(_ref125, 1),
|
|
390
|
+
backgroundBaseInteractiveHover = _ref126[0];
|
|
396
391
|
return backgroundBaseInteractiveHover;
|
|
397
392
|
}, ['colors.backgroundBaseInteractiveHover'])
|
|
398
393
|
};
|
|
@@ -431,14 +426,14 @@ var components = exports.components = {
|
|
|
431
426
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
|
|
432
427
|
switchIconDisabled: _forms.forms.DARK.iconDisabled,
|
|
433
428
|
// TODO: align table hover states
|
|
434
|
-
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (
|
|
435
|
-
var
|
|
436
|
-
backgroundBaseInteractiveHover =
|
|
429
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref127) {
|
|
430
|
+
var _ref128 = _slicedToArray(_ref127, 1),
|
|
431
|
+
backgroundBaseInteractiveHover = _ref128[0];
|
|
437
432
|
return backgroundBaseInteractiveHover;
|
|
438
433
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
439
|
-
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (
|
|
440
|
-
var
|
|
441
|
-
backgroundBaseInteractiveHover =
|
|
434
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref129) {
|
|
435
|
+
var _ref130 = _slicedToArray(_ref129, 1),
|
|
436
|
+
backgroundBaseInteractiveHover = _ref130[0];
|
|
442
437
|
return backgroundBaseInteractiveHover;
|
|
443
438
|
}, ['colors.backgroundBaseInteractiveHover']),
|
|
444
439
|
tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning140,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type _EuiThemeShadows, type _EuiThemeShadowPrimitives } from '@elastic/eui-theme-common';
|
|
2
|
+
/**
|
|
3
|
+
* This structure holds "primitives" (or actual design tokens as they
|
|
4
|
+
* would be stored in a design token repository).
|
|
5
|
+
* Not exposing them in the theme object is intentional.
|
|
6
|
+
*/
|
|
7
|
+
export declare const shadowPrimitives: _EuiThemeShadowPrimitives;
|
|
8
|
+
export declare const shadows: _EuiThemeShadows;
|