@elastic/eui-theme-borealis 0.1.0 → 0.2.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.d.ts.map +1 -1
- package/lib/cjs/index.js +3 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/variables/_borders.js +1 -1
- package/lib/cjs/variables/_borders.js.map +1 -1
- package/lib/cjs/variables/_buttons.d.ts.map +1 -1
- package/lib/cjs/variables/_buttons.js +206 -83
- package/lib/cjs/variables/_buttons.js.map +1 -1
- package/lib/cjs/variables/_components.d.ts.map +1 -1
- package/lib/cjs/variables/_components.js +307 -125
- package/lib/cjs/variables/_components.js.map +1 -1
- package/lib/cjs/variables/_forms.d.ts +32 -32
- package/lib/cjs/variables/_forms.d.ts.map +1 -1
- package/lib/cjs/variables/_forms.js +91 -47
- package/lib/cjs/variables/_forms.js.map +1 -1
- package/lib/cjs/variables/_overrides.d.ts +3 -0
- package/lib/cjs/variables/_overrides.d.ts.map +1 -0
- package/lib/cjs/variables/_overrides.js +24 -0
- package/lib/cjs/variables/_overrides.js.map +1 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/variables/_borders.js +1 -1
- package/lib/esm/variables/_borders.js.map +1 -1
- package/lib/esm/variables/_buttons.js +40 -78
- package/lib/esm/variables/_buttons.js.map +1 -1
- package/lib/esm/variables/_components.js +64 -124
- package/lib/esm/variables/_components.js.map +1 -1
- package/lib/esm/variables/_forms.d.ts +32 -32
- package/lib/esm/variables/_forms.js +16 -35
- package/lib/esm/variables/_forms.js.map +1 -1
- package/lib/esm/variables/_overrides.d.ts +2 -0
- package/lib/esm/variables/_overrides.js +17 -0
- package/lib/esm/variables/_overrides.js.map +1 -0
- package/lib/eui_theme_borealis_dark.json +3 -3
- package/lib/eui_theme_borealis_light.json +3 -3
- package/package.json +2 -2
- package/src/variables/_borders.scss +11 -0
- package/src/variables/_index.scss +7 -0
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.components = void 0;
|
|
8
|
+
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
7
9
|
var _semantic_colors = require("./colors/_semantic_colors");
|
|
8
10
|
var _colors_dark = require("./colors/_colors_dark");
|
|
9
11
|
var _buttons = require("./_buttons");
|
|
10
12
|
var _forms = require("./_forms");
|
|
11
|
-
var _colors_light = require("./colors/_colors_light");
|
|
12
13
|
var _colors_vis = require("./colors/_colors_vis");
|
|
13
|
-
|
|
14
|
+
var _colors_light = require("./colors/_colors_light");
|
|
14
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
17
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
21
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
22
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
23
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
24
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
25
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /*
|
|
19
26
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
20
27
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
21
28
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
@@ -23,22 +30,74 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
23
30
|
* Side Public License, v 1.
|
|
24
31
|
*/
|
|
25
32
|
var component_colors = {
|
|
26
|
-
badgeBackground:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
badgeBackground: (0, _euiThemeCommon.computed)(function (_ref) {
|
|
34
|
+
var _ref2 = _slicedToArray(_ref, 1),
|
|
35
|
+
backgroundLightText = _ref2[0];
|
|
36
|
+
return backgroundLightText;
|
|
37
|
+
}, ['colors.backgroundLightText']),
|
|
38
|
+
badgeBackgroundSubdued: (0, _euiThemeCommon.computed)(function (_ref3) {
|
|
39
|
+
var _ref4 = _slicedToArray(_ref3, 1),
|
|
40
|
+
backgroundLightText = _ref4[0];
|
|
41
|
+
return backgroundLightText;
|
|
42
|
+
}, ['colors.backgroundLightText']),
|
|
43
|
+
badgeBorderColorHollow: (0, _euiThemeCommon.computed)(function (_ref5) {
|
|
44
|
+
var _ref6 = _slicedToArray(_ref5, 1),
|
|
45
|
+
borderBasePlain = _ref6[0];
|
|
46
|
+
return borderBasePlain;
|
|
47
|
+
}, ['colors.borderBasePlain']),
|
|
48
|
+
badgeIconButtonBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref7) {
|
|
49
|
+
var _ref8 = _slicedToArray(_ref7, 1),
|
|
50
|
+
backgroundBaseInteractiveHover = _ref8[0];
|
|
51
|
+
return backgroundBaseInteractiveHover;
|
|
52
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
53
|
+
breadcrumbsApplicationBackground: (0, _euiThemeCommon.computed)(function (_ref9) {
|
|
54
|
+
var _ref10 = _slicedToArray(_ref9, 1),
|
|
55
|
+
backgroundLightText = _ref10[0];
|
|
56
|
+
return backgroundLightText;
|
|
57
|
+
}, ['colors.backgroundLightText']),
|
|
58
|
+
breadcrumbsApplicationColor: (0, _euiThemeCommon.computed)(function (_ref11) {
|
|
59
|
+
var _ref12 = _slicedToArray(_ref11, 1),
|
|
60
|
+
textSubdued = _ref12[0];
|
|
61
|
+
return textSubdued;
|
|
62
|
+
}, ['colors.textSubdued']),
|
|
32
63
|
bottomBarBackground: _semantic_colors.SEMANTIC_COLORS.plainDark,
|
|
33
|
-
buttonGroupBackgroundDisabledSelected:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
64
|
+
buttonGroupBackgroundDisabledSelected: (0, _euiThemeCommon.computed)(function (_ref13) {
|
|
65
|
+
var _ref14 = _slicedToArray(_ref13, 1),
|
|
66
|
+
backgroundBaseFormsControlDisabled = _ref14[0];
|
|
67
|
+
return backgroundBaseFormsControlDisabled;
|
|
68
|
+
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
69
|
+
buttonGroupBorderColor: (0, _euiThemeCommon.computed)(function (_ref15) {
|
|
70
|
+
var _ref16 = _slicedToArray(_ref15, 1),
|
|
71
|
+
borderBasePlain = _ref16[0];
|
|
72
|
+
return borderBasePlain;
|
|
73
|
+
}, ['colors.borderBasePlain']),
|
|
74
|
+
buttonGroupBorderColorSelected: (0, _euiThemeCommon.computed)(function (_ref17) {
|
|
75
|
+
var _ref18 = _slicedToArray(_ref17, 1),
|
|
76
|
+
borderBasePlain = _ref18[0];
|
|
77
|
+
return borderBasePlain;
|
|
78
|
+
}, ['colors.borderBasePlain']),
|
|
79
|
+
buttonGroupFocusColor: (0, _euiThemeCommon.computed)(function (_ref19) {
|
|
80
|
+
var _ref20 = _slicedToArray(_ref19, 1),
|
|
81
|
+
textPrimary = _ref20[0];
|
|
82
|
+
return textPrimary;
|
|
83
|
+
}, ['colors.textPrimary']),
|
|
84
|
+
codeBackground: (0, _euiThemeCommon.computed)(function (_ref21) {
|
|
85
|
+
var _ref22 = _slicedToArray(_ref21, 1),
|
|
86
|
+
backgroundBaseHighlighted = _ref22[0];
|
|
87
|
+
return backgroundBaseHighlighted;
|
|
88
|
+
}, ['colors.backgroundBaseHighlighted']),
|
|
38
89
|
codeBackgroundSelected: 'inherit',
|
|
39
|
-
codeColor:
|
|
90
|
+
codeColor: (0, _euiThemeCommon.computed)(function (_ref23) {
|
|
91
|
+
var _ref24 = _slicedToArray(_ref23, 1),
|
|
92
|
+
textParagraph = _ref24[0];
|
|
93
|
+
return textParagraph;
|
|
94
|
+
}, ['colors.textParagraph']),
|
|
40
95
|
codeInlineColor: _colors_vis.colorVis.euiColorVisAsTextLight6,
|
|
41
|
-
codeCommentColor:
|
|
96
|
+
codeCommentColor: (0, _euiThemeCommon.computed)(function (_ref25) {
|
|
97
|
+
var _ref26 = _slicedToArray(_ref25, 1),
|
|
98
|
+
textSubdued = _ref26[0];
|
|
99
|
+
return textSubdued;
|
|
100
|
+
}, ['colors.textSubdued']),
|
|
42
101
|
codeSelectorColor: 'inherit',
|
|
43
102
|
codeStringColor: _colors_vis.colorVis.euiColorVisAsTextLight2,
|
|
44
103
|
codeTagColor: _colors_vis.colorVis.euiColorVisAsTextLight1,
|
|
@@ -51,163 +110,286 @@ var component_colors = {
|
|
|
51
110
|
codeAttributeColor: 'inherit',
|
|
52
111
|
codeSymbolColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
|
|
53
112
|
codeParamsColor: 'inherit',
|
|
54
|
-
codeMetaColor:
|
|
113
|
+
codeMetaColor: (0, _euiThemeCommon.computed)(function (_ref27) {
|
|
114
|
+
var _ref28 = _slicedToArray(_ref27, 1),
|
|
115
|
+
textSubdued = _ref28[0];
|
|
116
|
+
return textSubdued;
|
|
117
|
+
}, ['colors.textSubdued']),
|
|
55
118
|
codeTitleColor: _colors_vis.colorVis.euiColorVisAsTextLight4,
|
|
56
119
|
codeSectionColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
|
|
57
120
|
codeAdditionColor: _colors_vis.colorVis.euiColorVisAsTextLight0,
|
|
58
121
|
codeDeletionColor: _colors_vis.colorVis.euiColorVisAsTextLight3,
|
|
59
122
|
codeSelectorClassColor: 'inherit',
|
|
60
123
|
codeSelectorIdColor: 'inherit',
|
|
61
|
-
collapsibleNavGroupBackground:
|
|
124
|
+
collapsibleNavGroupBackground: (0, _euiThemeCommon.computed)(function (_ref29) {
|
|
125
|
+
var _ref30 = _slicedToArray(_ref29, 1),
|
|
126
|
+
backgroundBaseSubdued = _ref30[0];
|
|
127
|
+
return backgroundBaseSubdued;
|
|
128
|
+
}, ['colors.backgroundBaseSubdued']),
|
|
62
129
|
collapsibleNavGroupBackgroundDark: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
63
|
-
dataGridBorderColor:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
130
|
+
dataGridBorderColor: (0, _euiThemeCommon.computed)(function (_ref31) {
|
|
131
|
+
var _ref32 = _slicedToArray(_ref31, 1),
|
|
132
|
+
borderBaseSubdued = _ref32[0];
|
|
133
|
+
return borderBaseSubdued;
|
|
134
|
+
}, ['colors.borderBaseSubdued']),
|
|
135
|
+
dataGridVerticalLineBorderColor: (0, _euiThemeCommon.computed)(function (_ref33) {
|
|
136
|
+
var _ref34 = _slicedToArray(_ref33, 1),
|
|
137
|
+
borderBaseSubdued = _ref34[0];
|
|
138
|
+
return borderBaseSubdued;
|
|
139
|
+
}, ['colors.borderBaseSubdued']),
|
|
140
|
+
dataGridRowBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref35) {
|
|
141
|
+
var _ref36 = _slicedToArray(_ref35, 1),
|
|
142
|
+
backgroundBaseSubdued = _ref36[0];
|
|
143
|
+
return backgroundBaseSubdued;
|
|
144
|
+
}, ['colors.backgroundBaseSubdued']),
|
|
145
|
+
dataGridRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref37) {
|
|
146
|
+
var _ref38 = _slicedToArray(_ref37, 1),
|
|
147
|
+
backgroundBaseInteractiveHover = _ref38[0];
|
|
148
|
+
return backgroundBaseInteractiveHover;
|
|
149
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
150
|
+
dataGridRowBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref39) {
|
|
151
|
+
var _ref40 = _slicedToArray(_ref39, 1),
|
|
152
|
+
backgroundBaseInteractiveSelect = _ref40[0];
|
|
153
|
+
return backgroundBaseInteractiveSelect;
|
|
154
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
155
|
+
dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
156
|
+
var _ref42 = _slicedToArray(_ref41, 1),
|
|
157
|
+
backgroundBaseSuccess = _ref42[0];
|
|
158
|
+
return backgroundBaseSuccess;
|
|
159
|
+
}, ['colors.backgroundBaseSuccess']),
|
|
160
|
+
dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
161
|
+
var _ref44 = _slicedToArray(_ref43, 1),
|
|
162
|
+
backgroundLightSuccess = _ref44[0];
|
|
163
|
+
return backgroundLightSuccess;
|
|
164
|
+
}, ['colors.backgroundLightSuccess']),
|
|
165
|
+
filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
166
|
+
var _ref46 = _slicedToArray(_ref45, 1),
|
|
167
|
+
backgroundBaseDisabled = _ref46[0];
|
|
168
|
+
return backgroundBaseDisabled;
|
|
169
|
+
}, ['colors.backgroundBaseDisabled']),
|
|
170
|
+
flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
171
|
+
var _ref48 = _slicedToArray(_ref47, 1),
|
|
172
|
+
backgroundBaseHighlighted = _ref48[0];
|
|
173
|
+
return backgroundBaseHighlighted;
|
|
174
|
+
}, ['colors.backgroundBaseHighlighted']),
|
|
175
|
+
flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
176
|
+
var _ref50 = _slicedToArray(_ref49, 1),
|
|
177
|
+
backgroundBasePlain = _ref50[0];
|
|
178
|
+
return backgroundBasePlain;
|
|
179
|
+
}, ['colors.backgroundBasePlain']),
|
|
180
|
+
headerBackground: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
181
|
+
var _ref52 = _slicedToArray(_ref51, 1),
|
|
182
|
+
backgroundBasePlain = _ref52[0];
|
|
183
|
+
return backgroundBasePlain;
|
|
184
|
+
}, ['colors.backgroundBasePlain']),
|
|
74
185
|
headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
75
186
|
headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
|
|
76
187
|
headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
|
|
77
|
-
keyPadMenuItemBackgroundDisabledSelect:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
188
|
+
keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
189
|
+
var _ref54 = _slicedToArray(_ref53, 1),
|
|
190
|
+
backgroundBaseDisabled = _ref54[0];
|
|
191
|
+
return backgroundBaseDisabled;
|
|
192
|
+
}, ['colors.backgroundBaseDisabled']),
|
|
193
|
+
listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
194
|
+
var _ref56 = _slicedToArray(_ref55, 1),
|
|
195
|
+
backgroundBaseInteractiveSelect = _ref56[0];
|
|
196
|
+
return backgroundBaseInteractiveSelect;
|
|
197
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
198
|
+
listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
199
|
+
var _ref58 = _slicedToArray(_ref57, 1),
|
|
200
|
+
backgroundBaseInteractiveSelect = _ref58[0];
|
|
201
|
+
return backgroundBaseInteractiveSelect;
|
|
202
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
203
|
+
listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
204
|
+
var _ref60 = _slicedToArray(_ref59, 1),
|
|
205
|
+
backgroundBaseInteractiveHover = _ref60[0];
|
|
206
|
+
return backgroundBaseInteractiveHover;
|
|
207
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
208
|
+
listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref61) {
|
|
209
|
+
var _ref62 = _slicedToArray(_ref61, 1),
|
|
210
|
+
backgroundBaseInteractiveHover = _ref62[0];
|
|
211
|
+
return backgroundBaseInteractiveHover;
|
|
212
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
213
|
+
// we don't want to inherit overrides (e.g. HCM)
|
|
82
214
|
loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
|
|
83
|
-
loadingSpinnerHighlight:
|
|
215
|
+
loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref63) {
|
|
216
|
+
var _ref64 = _slicedToArray(_ref63, 1),
|
|
217
|
+
borderStrongPrimary = _ref64[0];
|
|
218
|
+
return borderStrongPrimary;
|
|
219
|
+
}, ['colors.borderStrongPrimary']),
|
|
84
220
|
loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
|
|
85
221
|
loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
|
|
86
222
|
loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
|
|
87
223
|
loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
|
|
88
|
-
markBackground:
|
|
89
|
-
|
|
90
|
-
|
|
224
|
+
markBackground: (0, _euiThemeCommon.computed)(function (_ref65) {
|
|
225
|
+
var _ref66 = _slicedToArray(_ref65, 1),
|
|
226
|
+
backgroundLightPrimary = _ref66[0];
|
|
227
|
+
return backgroundLightPrimary;
|
|
228
|
+
}, ['colors.backgroundLightPrimary']),
|
|
229
|
+
markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
230
|
+
var _ref68 = _slicedToArray(_ref67, 1),
|
|
231
|
+
borderBasePlain = _ref68[0];
|
|
232
|
+
return borderBasePlain;
|
|
233
|
+
}, ['colors.borderBasePlain']),
|
|
234
|
+
overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
235
|
+
var _ref70 = _slicedToArray(_ref69, 1),
|
|
236
|
+
backgroundBaseInteractiveOverlay = _ref70[0];
|
|
237
|
+
return backgroundBaseInteractiveOverlay;
|
|
238
|
+
}, ['colors.backgroundBaseInteractiveOverlay']),
|
|
91
239
|
overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
|
|
92
|
-
popoverPanelBackground:
|
|
93
|
-
|
|
240
|
+
popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
241
|
+
var _ref72 = _slicedToArray(_ref71, 1),
|
|
242
|
+
backgroundBasePlain = _ref72[0];
|
|
243
|
+
return backgroundBasePlain;
|
|
244
|
+
}, ['colors.backgroundBasePlain']),
|
|
245
|
+
popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
246
|
+
var _ref74 = _slicedToArray(_ref73, 1),
|
|
247
|
+
borderBaseSubdued = _ref74[0];
|
|
248
|
+
return borderBaseSubdued;
|
|
249
|
+
}, ['colors.borderBaseSubdued']),
|
|
94
250
|
scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
|
|
95
|
-
sideNavItemEmphasizedBackground:
|
|
96
|
-
|
|
251
|
+
sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
252
|
+
var _ref76 = _slicedToArray(_ref75, 1),
|
|
253
|
+
backgroundBaseInteractiveSelect = _ref76[0];
|
|
254
|
+
return backgroundBaseInteractiveSelect;
|
|
255
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
256
|
+
selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
257
|
+
var _ref78 = _slicedToArray(_ref77, 1),
|
|
258
|
+
borderBaseSubdued = _ref78[0];
|
|
259
|
+
return borderBaseSubdued;
|
|
260
|
+
}, ['colors.borderBaseSubdued']),
|
|
97
261
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade100RGB, ", 0.04)"),
|
|
98
|
-
superDatePickerBackgroundSuccees:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
262
|
+
superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
263
|
+
var _ref80 = _slicedToArray(_ref79, 1),
|
|
264
|
+
backgroundBaseSuccess = _ref80[0];
|
|
265
|
+
return backgroundBaseSuccess;
|
|
266
|
+
}, ['colors.backgroundBaseSuccess']),
|
|
267
|
+
switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
268
|
+
var _ref82 = _slicedToArray(_ref81, 1),
|
|
269
|
+
backgroundFilledPrimary = _ref82[0];
|
|
270
|
+
return backgroundFilledPrimary;
|
|
271
|
+
}, ['colors.backgroundFilledPrimary']),
|
|
272
|
+
switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
273
|
+
var _ref84 = _slicedToArray(_ref83, 1),
|
|
274
|
+
backgroundFilledText = _ref84[0];
|
|
275
|
+
return backgroundFilledText;
|
|
276
|
+
}, ['colors.backgroundFilledText']),
|
|
277
|
+
switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
278
|
+
var _ref86 = _slicedToArray(_ref85, 1),
|
|
279
|
+
backgroundBaseFormsControlDisabled = _ref86[0];
|
|
280
|
+
return backgroundBaseFormsControlDisabled;
|
|
281
|
+
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
282
|
+
switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
283
|
+
var _ref88 = _slicedToArray(_ref87, 1),
|
|
284
|
+
backgroundBaseFormsControlDisabled = _ref88[0];
|
|
285
|
+
return backgroundBaseFormsControlDisabled;
|
|
286
|
+
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
287
|
+
switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
288
|
+
var _ref90 = _slicedToArray(_ref89, 1),
|
|
289
|
+
backgroundBaseFormsControlDisabled = _ref90[0];
|
|
290
|
+
return backgroundBaseFormsControlDisabled;
|
|
291
|
+
}, ['colors.backgroundBaseFormsControlDisabled']),
|
|
292
|
+
switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
293
|
+
var _ref92 = _slicedToArray(_ref91, 1),
|
|
294
|
+
backgroundBasePlain = _ref92[0];
|
|
295
|
+
return backgroundBasePlain;
|
|
296
|
+
}, ['colors.backgroundBasePlain']),
|
|
297
|
+
switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
298
|
+
var _ref94 = _slicedToArray(_ref93, 1),
|
|
299
|
+
backgroundFilledPrimary = _ref94[0];
|
|
300
|
+
return backgroundFilledPrimary;
|
|
301
|
+
}, ['colors.backgroundFilledPrimary']),
|
|
302
|
+
switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
303
|
+
var _ref96 = _slicedToArray(_ref95, 1),
|
|
304
|
+
backgroundFilledText = _ref96[0];
|
|
305
|
+
return backgroundFilledText;
|
|
306
|
+
}, ['colors.backgroundFilledText']),
|
|
107
307
|
switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
|
|
108
|
-
tableRowBackgroundHover:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
308
|
+
tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
309
|
+
var _ref98 = _slicedToArray(_ref97, 1),
|
|
310
|
+
backgroundBaseInteractiveHover = _ref98[0];
|
|
311
|
+
return backgroundBaseInteractiveHover;
|
|
312
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
313
|
+
tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
314
|
+
var _ref100 = _slicedToArray(_ref99, 1),
|
|
315
|
+
backgroundBaseInteractiveSelect = _ref100[0];
|
|
316
|
+
return backgroundBaseInteractiveSelect;
|
|
317
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
318
|
+
tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
319
|
+
var _ref102 = _slicedToArray(_ref101, 1),
|
|
320
|
+
backgroundBaseInteractiveSelect = _ref102[0];
|
|
321
|
+
return backgroundBaseInteractiveSelect;
|
|
322
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
323
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
324
|
+
var _ref104 = _slicedToArray(_ref103, 1),
|
|
325
|
+
backgroundBaseInteractiveSelect = _ref104[0];
|
|
326
|
+
return backgroundBaseInteractiveSelect;
|
|
327
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
328
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
329
|
+
var _ref106 = _slicedToArray(_ref105, 1),
|
|
330
|
+
backgroundBaseInteractiveSelect = _ref106[0];
|
|
331
|
+
return backgroundBaseInteractiveSelect;
|
|
332
|
+
}, ['colors.backgroundBaseInteractiveSelect']),
|
|
333
|
+
tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref107) {
|
|
334
|
+
var _ref108 = _slicedToArray(_ref107, 1),
|
|
335
|
+
backgroundFilledText = _ref108[0];
|
|
336
|
+
return backgroundFilledText;
|
|
337
|
+
}, ['colors.backgroundFilledText']),
|
|
114
338
|
tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
115
339
|
tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
116
|
-
tooltipBorderFloating:
|
|
117
|
-
|
|
118
|
-
|
|
340
|
+
tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref109) {
|
|
341
|
+
var _ref110 = _slicedToArray(_ref109, 1),
|
|
342
|
+
borderBaseFloating = _ref110[0];
|
|
343
|
+
return borderBaseFloating;
|
|
344
|
+
}, ['colors.borderBaseFloating']),
|
|
345
|
+
tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref111) {
|
|
346
|
+
var _ref112 = _slicedToArray(_ref111, 1),
|
|
347
|
+
backgroundBaseHighlighted = _ref112[0];
|
|
348
|
+
return backgroundBaseHighlighted;
|
|
349
|
+
}, ['colors.backgroundBaseHighlighted']),
|
|
350
|
+
treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref113) {
|
|
351
|
+
var _ref114 = _slicedToArray(_ref113, 1),
|
|
352
|
+
backgroundBaseInteractiveHover = _ref114[0];
|
|
353
|
+
return backgroundBaseInteractiveHover;
|
|
354
|
+
}, ['colors.backgroundBaseInteractiveHover'])
|
|
119
355
|
};
|
|
120
356
|
var components = exports.components = {
|
|
121
357
|
buttons: _buttons.buttons,
|
|
122
358
|
forms: _forms.forms,
|
|
123
359
|
LIGHT: component_colors,
|
|
124
360
|
DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
|
|
125
|
-
badgeBackground: _colors_dark.dark_background_colors.backgroundLightText,
|
|
126
|
-
badgeBackgroundSubdued: _colors_dark.dark_background_colors.backgroundLightText,
|
|
127
|
-
badgeBorderColorHollow: _colors_dark.dark_border_colors.borderBasePlain,
|
|
128
|
-
badgeIconButtonBackgroundHover: _colors_dark.dark_background_colors.backgroundBaseInteractiveHover,
|
|
129
|
-
breadcrumbsApplicationBackground: _colors_dark.dark_background_colors.backgroundLightText,
|
|
130
|
-
breadcrumbsApplicationColor: _colors_dark.dark_text_colors.textSubdued,
|
|
131
|
-
buttonGroupBackgroundDisabledSelected: _colors_dark.dark_background_colors.backgroundBaseFormsControlDisabled,
|
|
132
|
-
buttonGroupBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
|
|
133
|
-
buttonGroupBorderColorSelected: _colors_dark.dark_border_colors.borderBasePlain,
|
|
134
|
-
buttonGroupFocusColor: _colors_dark.dark_brand_text_colors.textPrimary,
|
|
135
|
-
codeBackground: _colors_dark.dark_background_colors.backgroundBaseHighlighted,
|
|
136
|
-
codeBackgroundSelected: 'inherit',
|
|
137
|
-
codeColor: _colors_dark.dark_text_colors.textParagraph,
|
|
138
361
|
codeInlineColor: _colors_vis.colorVis.euiColorVisAsTextDark6,
|
|
139
|
-
codeCommentColor: _colors_dark.dark_text_colors.textSubdued,
|
|
140
|
-
codeSelectorColor: 'inherit',
|
|
141
362
|
codeStringColor: _colors_vis.colorVis.euiColorVisAsTextDark2,
|
|
142
363
|
codeTagColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
|
|
143
364
|
codeNameColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
|
|
144
365
|
codeNumberColor: _colors_vis.colorVis.euiColorVisAsTextDark0,
|
|
145
366
|
codeKeywordColor: _colors_vis.colorVis.euiColorVisAsTextDark6,
|
|
146
|
-
codeFunctionTitleColor: 'inherit',
|
|
147
367
|
codeTypeColor: _colors_vis.colorVis.euiColorVisAsTextDark1,
|
|
148
|
-
codeAttributeColor: 'inherit',
|
|
149
368
|
codeSymbolColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
|
|
150
|
-
codeParamsColor: 'inherit',
|
|
151
|
-
codeMetaColor: _colors_dark.dark_text_colors.textSubdued,
|
|
152
369
|
codeTitleColor: _colors_vis.colorVis.euiColorVisAsTextDark4,
|
|
153
370
|
codeSectionColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
|
|
154
371
|
codeAdditionColor: _colors_vis.colorVis.euiColorVisAsTextDark0,
|
|
155
372
|
codeDeletionColor: _colors_vis.colorVis.euiColorVisAsTextDark3,
|
|
156
|
-
codeSelectorClassColor: 'inherit',
|
|
157
|
-
codeSelectorIdColor: 'inherit',
|
|
158
|
-
collapsibleNavGroupBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
159
|
-
collapsibleNavGroupBackgroundDark: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
160
|
-
dataGridBorderColor: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
161
|
-
dataGridVerticalLineBorderColor: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
162
|
-
dataGridRowBackgroundStriped: _colors_dark.dark_background_colors.backgroundBaseSubdued,
|
|
163
|
-
dataGridRowBackgroundHover: _colors_dark.dark_background_colors.backgroundBaseInteractiveHover,
|
|
164
|
-
dataGridRowBackgroundSelect: _colors_dark.dark_background_colors.backgroundBaseInteractiveSelect,
|
|
165
|
-
dragDropDraggingBackground: _colors_dark.dark_background_colors.backgroundBaseSuccess,
|
|
166
|
-
dragDropDraggingOverBackground: _colors_dark.dark_background_colors.backgroundLightSuccess,
|
|
167
|
-
filterSelectItemBackgroundFocusDisabled: _colors_dark.dark_background_colors.backgroundBaseDisabled,
|
|
168
|
-
flyoutFooterBackground: _colors_dark.dark_background_colors.backgroundBaseHighlighted,
|
|
169
|
-
flyoutCloseButtonInsideBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
170
|
-
headerBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
171
|
-
keyPadMenuItemBackgroundDisabledSelect: _colors_dark.dark_background_colors.backgroundBaseDisabled,
|
|
172
|
-
listGroupItemBackgroundPrimaryActive: _colors_dark.dark_background_colors.backgroundBaseInteractiveSelect,
|
|
173
|
-
listGroupItemBackgroundSubduedActive: _colors_dark.dark_background_colors.backgroundBaseInteractiveSelect,
|
|
174
|
-
listGroupItemBackgroundHover: _colors_dark.dark_background_colors.backgroundBaseInteractiveHover,
|
|
175
|
-
listGroupItemBackgroundPrimaryHover: _colors_dark.dark_background_colors.backgroundBaseInteractiveHover,
|
|
176
373
|
loadingSpinnerBorder: _colors_dark.dark_border_colors.borderBasePlain,
|
|
177
|
-
loadingSpinnerHighlight: _colors_dark.dark_border_colors.borderStrongPrimary,
|
|
178
374
|
loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade110,
|
|
179
375
|
loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade100,
|
|
180
376
|
loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade90,
|
|
181
377
|
loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade80,
|
|
182
|
-
markBackground: _colors_dark.dark_background_colors.backgroundLightPrimary,
|
|
183
|
-
markdownFormatTableBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
|
|
184
|
-
overlayMaskBackground: _colors_dark.dark_background_colors.backgroundBaseInteractiveOverlay,
|
|
185
378
|
overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
|
|
186
|
-
popoverPanelBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
187
|
-
popoverFooterBorderColor: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
188
379
|
scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade145,
|
|
189
|
-
sideNavItemEmphasizedBackground: _colors_dark.dark_background_colors.backgroundBaseInteractiveSelect,
|
|
190
|
-
selectableListItemBorderColor: _colors_dark.dark_border_colors.borderBaseSubdued,
|
|
191
380
|
skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
|
|
192
|
-
switchBackgroundOn: _colors_dark.dark_background_colors.backgroundFilledPrimary,
|
|
193
|
-
switchBackgroundOff: _colors_dark.dark_background_colors.backgroundFilledText,
|
|
194
|
-
switchUncompressedBackgroundDisabled: _colors_dark.dark_background_colors.backgroundBaseFormsControlDisabled,
|
|
195
|
-
switchCompressedBackgroundDisabled: _colors_dark.dark_background_colors.backgroundBaseFormsControlDisabled,
|
|
196
|
-
switchMiniBackgroundDisabled: _colors_dark.dark_background_colors.backgroundBaseFormsControlDisabled,
|
|
197
|
-
switchThumbBackgroundDisabled: _colors_dark.dark_background_colors.backgroundBasePlain,
|
|
198
|
-
switchThumbBorderOn: _colors_dark.dark_background_colors.backgroundFilledPrimary,
|
|
199
|
-
switchThumbBorderOff: _colors_dark.dark_background_colors.backgroundFilledText,
|
|
200
381
|
switchIconDisabled: _forms.forms.DARK.iconDisabled,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
382
|
+
// TODO: align table hover states
|
|
383
|
+
tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
|
|
384
|
+
var _ref116 = _slicedToArray(_ref115, 1),
|
|
385
|
+
backgroundBaseInteractiveHover = _ref116[0];
|
|
386
|
+
return backgroundBaseInteractiveHover;
|
|
387
|
+
}, ['colors.backgroundBaseInteractiveHover']),
|
|
388
|
+
tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref117) {
|
|
389
|
+
var _ref118 = _slicedToArray(_ref117, 1),
|
|
390
|
+
backgroundBaseInteractiveHover = _ref118[0];
|
|
391
|
+
return backgroundBaseInteractiveHover;
|
|
392
|
+
}, ['colors.backgroundBaseInteractiveHover'])
|
|
211
393
|
})
|
|
212
394
|
};
|
|
213
395
|
//# sourceMappingURL=_components.js.map
|