@elastic/eui-theme-borealis 1.0.0 → 2.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/eui_theme_borealis_dark.json.d.js +1 -2
- package/lib/cjs/eui_theme_borealis_light.json.d.js +1 -2
- package/lib/cjs/index.d.ts +0 -1
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/variables/_animation.d.ts +0 -1
- package/lib/cjs/variables/_animation.js +1 -2
- package/lib/cjs/variables/_borders.d.ts +0 -1
- package/lib/cjs/variables/_borders.js +1 -2
- package/lib/cjs/variables/_breakpoint.d.ts +0 -1
- package/lib/cjs/variables/_breakpoint.js +1 -2
- package/lib/cjs/variables/_buttons.d.ts +0 -1
- package/lib/cjs/variables/_buttons.js +184 -108
- package/lib/cjs/variables/_components.d.ts +0 -1
- package/lib/cjs/variables/_components.js +146 -148
- package/lib/cjs/variables/_forms.d.ts +0 -1
- package/lib/cjs/variables/_forms.js +1 -2
- package/lib/cjs/variables/_levels.d.ts +0 -1
- package/lib/cjs/variables/_levels.js +1 -2
- package/lib/cjs/variables/_overrides.d.ts +0 -1
- package/lib/cjs/variables/_overrides.js +1 -2
- package/lib/cjs/variables/_size.d.ts +0 -1
- package/lib/cjs/variables/_size.js +1 -2
- package/lib/cjs/variables/_states.d.ts +0 -1
- package/lib/cjs/variables/_states.js +1 -2
- package/lib/cjs/variables/_typography.d.ts +0 -1
- package/lib/cjs/variables/_typography.js +1 -2
- package/lib/cjs/variables/colors/_colors_dark.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_dark.js +2 -3
- package/lib/cjs/variables/colors/_colors_light.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_light.js +1 -2
- package/lib/cjs/variables/colors/_colors_severity.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_severity.js +1 -2
- package/lib/cjs/variables/colors/_colors_vis.d.ts +0 -1
- package/lib/cjs/variables/colors/_colors_vis.js +8 -4
- package/lib/cjs/variables/colors/_primitive_colors.d.ts +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.js +1 -2
- package/lib/cjs/variables/colors/_semantic_colors.d.ts +17 -4
- package/lib/cjs/variables/colors/_semantic_colors.js +18 -5
- package/lib/cjs/variables/colors/index.d.ts +0 -1
- package/lib/cjs/variables/colors/index.js +1 -2
- package/lib/esm/index.js +1 -1
- package/lib/esm/variables/_animation.js +0 -1
- package/lib/esm/variables/_borders.js +0 -1
- package/lib/esm/variables/_breakpoint.js +0 -1
- package/lib/esm/variables/_buttons.js +128 -13
- package/lib/esm/variables/_components.js +7 -5
- package/lib/esm/variables/_forms.js +0 -1
- package/lib/esm/variables/_levels.js +0 -1
- package/lib/esm/variables/_overrides.js +0 -1
- package/lib/esm/variables/_size.js +0 -1
- package/lib/esm/variables/_states.js +0 -1
- package/lib/esm/variables/_typography.js +0 -1
- package/lib/esm/variables/colors/_colors_dark.js +1 -2
- package/lib/esm/variables/colors/_colors_light.js +0 -1
- package/lib/esm/variables/colors/_colors_severity.js +0 -1
- package/lib/esm/variables/colors/_colors_vis.js +7 -3
- package/lib/esm/variables/colors/_primitive_colors.js +0 -1
- package/lib/esm/variables/colors/_semantic_colors.d.ts +17 -3
- package/lib/esm/variables/colors/_semantic_colors.js +17 -4
- package/lib/esm/variables/colors/index.js +0 -1
- package/lib/eui_theme_borealis_dark.json +1 -1
- package/package.json +3 -3
- package/src/variables/colors/_colors_dark.scss +1 -1
- package/src/variables/colors/_semantic_colors.scss +8 -2
- package/lib/cjs/eui_theme_borealis_dark.json.d.js.map +0 -1
- package/lib/cjs/eui_theme_borealis_light.json.d.js.map +0 -1
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/variables/_animation.d.ts.map +0 -1
- package/lib/cjs/variables/_animation.js.map +0 -1
- package/lib/cjs/variables/_borders.d.ts.map +0 -1
- package/lib/cjs/variables/_borders.js.map +0 -1
- package/lib/cjs/variables/_breakpoint.d.ts.map +0 -1
- package/lib/cjs/variables/_breakpoint.js.map +0 -1
- package/lib/cjs/variables/_buttons.d.ts.map +0 -1
- package/lib/cjs/variables/_buttons.js.map +0 -1
- package/lib/cjs/variables/_components.d.ts.map +0 -1
- package/lib/cjs/variables/_components.js.map +0 -1
- package/lib/cjs/variables/_forms.d.ts.map +0 -1
- package/lib/cjs/variables/_forms.js.map +0 -1
- package/lib/cjs/variables/_levels.d.ts.map +0 -1
- package/lib/cjs/variables/_levels.js.map +0 -1
- package/lib/cjs/variables/_overrides.d.ts.map +0 -1
- package/lib/cjs/variables/_overrides.js.map +0 -1
- package/lib/cjs/variables/_size.d.ts.map +0 -1
- package/lib/cjs/variables/_size.js.map +0 -1
- package/lib/cjs/variables/_states.d.ts.map +0 -1
- package/lib/cjs/variables/_states.js.map +0 -1
- package/lib/cjs/variables/_typography.d.ts.map +0 -1
- package/lib/cjs/variables/_typography.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_dark.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_dark.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_light.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_light.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_severity.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_severity.js.map +0 -1
- package/lib/cjs/variables/colors/_colors_vis.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_colors_vis.js.map +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_primitive_colors.js.map +0 -1
- package/lib/cjs/variables/colors/_semantic_colors.d.ts.map +0 -1
- package/lib/cjs/variables/colors/_semantic_colors.js.map +0 -1
- package/lib/cjs/variables/colors/index.d.ts.map +0 -1
- package/lib/cjs/variables/colors/index.js.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/variables/_animation.js.map +0 -1
- package/lib/esm/variables/_borders.js.map +0 -1
- package/lib/esm/variables/_breakpoint.js.map +0 -1
- package/lib/esm/variables/_buttons.js.map +0 -1
- package/lib/esm/variables/_components.js.map +0 -1
- package/lib/esm/variables/_forms.js.map +0 -1
- package/lib/esm/variables/_levels.js.map +0 -1
- package/lib/esm/variables/_overrides.js.map +0 -1
- package/lib/esm/variables/_size.js.map +0 -1
- package/lib/esm/variables/_states.js.map +0 -1
- package/lib/esm/variables/_typography.js.map +0 -1
- package/lib/esm/variables/colors/_colors_dark.js.map +0 -1
- package/lib/esm/variables/colors/_colors_light.js.map +0 -1
- package/lib/esm/variables/colors/_colors_severity.js.map +0 -1
- package/lib/esm/variables/colors/_colors_vis.js.map +0 -1
- package/lib/esm/variables/colors/_primitive_colors.js.map +0 -1
- package/lib/esm/variables/colors/_semantic_colors.js.map +0 -1
- package/lib/esm/variables/colors/index.js.map +0 -1
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=eui_theme_borealis_dark.json.d.js.map
|
|
1
|
+
"use strict";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=eui_theme_borealis_light.json.d.js.map
|
|
1
|
+
"use strict";
|
package/lib/cjs/index.d.ts
CHANGED
package/lib/cjs/index.js
CHANGED
|
@@ -45,9 +45,9 @@ var euiThemeBorealis = exports.euiThemeBorealis = {
|
|
|
45
45
|
components: _components.components,
|
|
46
46
|
flags: {
|
|
47
47
|
hasGlobalFocusColor: true,
|
|
48
|
-
hasVisColorAdjustment: false
|
|
48
|
+
hasVisColorAdjustment: false,
|
|
49
|
+
buttonVariant: 'refresh'
|
|
49
50
|
},
|
|
50
51
|
overrides: _overrides.overrides
|
|
51
52
|
};
|
|
52
|
-
var EuiThemeBorealis = exports.EuiThemeBorealis = (0, _euiThemeCommon.buildTheme)(euiThemeBorealis, EUI_THEME_BOREALIS_KEY);
|
|
53
|
-
//# sourceMappingURL=index.js.map
|
|
53
|
+
var EuiThemeBorealis = exports.EuiThemeBorealis = (0, _euiThemeCommon.buildTheme)(euiThemeBorealis, EUI_THEME_BOREALIS_KEY);
|
|
@@ -2,4 +2,3 @@ import type { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnim
|
|
|
2
2
|
export declare const animation_speed: _EuiThemeAnimationSpeeds;
|
|
3
3
|
export declare const animation_ease: _EuiThemeAnimationEasings;
|
|
4
4
|
export declare const animation: _EuiThemeAnimation;
|
|
5
|
-
//# sourceMappingURL=_animation.d.ts.map
|
|
@@ -29,5 +29,4 @@ var animation_ease = exports.animation_ease = {
|
|
|
29
29
|
bounce: 'cubic-bezier(.34, 1.61, .7, 1)',
|
|
30
30
|
resistance: 'cubic-bezier(.694, .0482, .335, 1)'
|
|
31
31
|
};
|
|
32
|
-
var animation = exports.animation = _objectSpread(_objectSpread({}, animation_speed), animation_ease);
|
|
33
|
-
//# sourceMappingURL=_animation.js.map
|
|
32
|
+
var animation = exports.animation = _objectSpread(_objectSpread({}, animation_speed), animation_ease);
|
|
@@ -24,6 +24,16 @@ 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
|
+
};
|
|
27
37
|
var _buttons = {
|
|
28
38
|
backgroundPrimary: (0, _euiThemeCommon.computed)(function (_ref) {
|
|
29
39
|
var _ref2 = _slicedToArray(_ref, 1),
|
|
@@ -66,15 +76,38 @@ var _buttons = {
|
|
|
66
76
|
return backgroundLightDanger;
|
|
67
77
|
}, ['colors.backgroundLightDanger']),
|
|
68
78
|
backgroundText: (0, _euiThemeCommon.computed)(function (_ref17) {
|
|
69
|
-
var _ref18 = _slicedToArray(_ref17,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
79
|
+
var _ref18 = _slicedToArray(_ref17, 3),
|
|
80
|
+
buttonVariant = _ref18[0],
|
|
81
|
+
backgroundBasePlain = _ref18[1],
|
|
82
|
+
backgroundLightText = _ref18[2];
|
|
83
|
+
return getTokenByVariant(buttonVariant, {
|
|
84
|
+
refresh: backgroundBasePlain,
|
|
85
|
+
classic: backgroundLightText
|
|
86
|
+
});
|
|
87
|
+
}, ['flags.buttonVariant', 'colors.backgroundBasePlain', 'colors.backgroundLightText']),
|
|
73
88
|
backgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref19) {
|
|
74
89
|
var _ref20 = _slicedToArray(_ref19, 1),
|
|
75
90
|
backgroundBaseDisabled = _ref20[0];
|
|
76
91
|
return backgroundBaseDisabled;
|
|
77
92
|
}, ['colors.backgroundBaseDisabled']),
|
|
93
|
+
backgroundPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary70Alpha12,
|
|
94
|
+
backgroundAccentHover: _semantic_colors.SEMANTIC_COLORS.accent70Alpha12,
|
|
95
|
+
backgroundAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha12,
|
|
96
|
+
backgroundNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha12,
|
|
97
|
+
backgroundSuccessHover: _semantic_colors.SEMANTIC_COLORS.success70Alpha12,
|
|
98
|
+
backgroundWarningHover: _semantic_colors.SEMANTIC_COLORS.warning60Alpha16,
|
|
99
|
+
backgroundRiskHover: _semantic_colors.SEMANTIC_COLORS.risk60Alpha16,
|
|
100
|
+
backgroundDangerHover: _semantic_colors.SEMANTIC_COLORS.danger70Alpha12,
|
|
101
|
+
backgroundTextHover: _semantic_colors.SEMANTIC_COLORS.primary100Alpha8,
|
|
102
|
+
backgroundPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary70Alpha16,
|
|
103
|
+
backgroundAccentActive: _semantic_colors.SEMANTIC_COLORS.accent70Alpha16,
|
|
104
|
+
backgroundAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha16,
|
|
105
|
+
backgroundNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha16,
|
|
106
|
+
backgroundSuccessActive: _semantic_colors.SEMANTIC_COLORS.success70Alpha16,
|
|
107
|
+
backgroundWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60Alpha20,
|
|
108
|
+
backgroundRiskActive: _semantic_colors.SEMANTIC_COLORS.risk60Alpha20,
|
|
109
|
+
backgroundDangerActive: _semantic_colors.SEMANTIC_COLORS.danger70Alpha16,
|
|
110
|
+
backgroundTextActive: _semantic_colors.SEMANTIC_COLORS.primary100Alpha12,
|
|
78
111
|
backgroundFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref21) {
|
|
79
112
|
var _ref22 = _slicedToArray(_ref21, 1),
|
|
80
113
|
backgroundFilledPrimary = _ref22[0];
|
|
@@ -125,154 +158,197 @@ var _buttons = {
|
|
|
125
158
|
backgroundBaseDisabled = _ref40[0];
|
|
126
159
|
return backgroundBaseDisabled;
|
|
127
160
|
}, ['colors.backgroundBaseDisabled']),
|
|
128
|
-
|
|
129
|
-
|
|
161
|
+
backgroundFilledPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary100,
|
|
162
|
+
backgroundFilledAccentHover: _semantic_colors.SEMANTIC_COLORS.accent100,
|
|
163
|
+
backgroundFilledAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary100,
|
|
164
|
+
backgroundFilledNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral100,
|
|
165
|
+
backgroundFilledSuccessHover: _semantic_colors.SEMANTIC_COLORS.success100,
|
|
166
|
+
backgroundFilledWarningHover: _semantic_colors.SEMANTIC_COLORS.warning50,
|
|
167
|
+
backgroundFilledRiskHover: _semantic_colors.SEMANTIC_COLORS.risk80,
|
|
168
|
+
backgroundFilledDangerHover: _semantic_colors.SEMANTIC_COLORS.danger100,
|
|
169
|
+
backgroundFilledTextHover: _semantic_colors.SEMANTIC_COLORS.shade100,
|
|
170
|
+
backgroundFilledPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary110,
|
|
171
|
+
backgroundFilledAccentActive: _semantic_colors.SEMANTIC_COLORS.accent110,
|
|
172
|
+
backgroundFilledAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary110,
|
|
173
|
+
backgroundFilledNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral110,
|
|
174
|
+
backgroundFilledSuccessActive: _semantic_colors.SEMANTIC_COLORS.success110,
|
|
175
|
+
backgroundFilledWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60,
|
|
176
|
+
backgroundFilledRiskActive: _semantic_colors.SEMANTIC_COLORS.risk90,
|
|
177
|
+
backgroundFilledDangerActive: _semantic_colors.SEMANTIC_COLORS.danger110,
|
|
178
|
+
backgroundFilledTextActive: _semantic_colors.SEMANTIC_COLORS.shade110,
|
|
179
|
+
backgroundEmptyPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary70Alpha12,
|
|
180
|
+
backgroundEmptyAccentHover: _semantic_colors.SEMANTIC_COLORS.accent70Alpha12,
|
|
181
|
+
backgroundEmptyAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha12,
|
|
182
|
+
backgroundEmptyNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha12,
|
|
183
|
+
backgroundEmptySuccessHover: _semantic_colors.SEMANTIC_COLORS.success70Alpha12,
|
|
184
|
+
backgroundEmptyWarningHover: _semantic_colors.SEMANTIC_COLORS.warning60Alpha16,
|
|
185
|
+
backgroundEmptyRiskHover: _semantic_colors.SEMANTIC_COLORS.risk60Alpha16,
|
|
186
|
+
backgroundEmptyDangerHover: _semantic_colors.SEMANTIC_COLORS.danger70Alpha12,
|
|
187
|
+
backgroundEmptyTextHover: _semantic_colors.SEMANTIC_COLORS.primary100Alpha8,
|
|
188
|
+
backgroundEmptyPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary70Alpha16,
|
|
189
|
+
backgroundEmptyAccentActive: _semantic_colors.SEMANTIC_COLORS.accent70Alpha16,
|
|
190
|
+
backgroundEmptyAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha16,
|
|
191
|
+
backgroundEmptyNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha16,
|
|
192
|
+
backgroundEmptySuccessActive: _semantic_colors.SEMANTIC_COLORS.success70Alpha16,
|
|
193
|
+
backgroundEmptyWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60Alpha20,
|
|
194
|
+
backgroundEmptyRiskActive: _semantic_colors.SEMANTIC_COLORS.risk60Alpha20,
|
|
195
|
+
backgroundEmptyDangerActive: _semantic_colors.SEMANTIC_COLORS.danger70Alpha16,
|
|
196
|
+
backgroundEmptyTextActive: _semantic_colors.SEMANTIC_COLORS.primary100Alpha12,
|
|
197
|
+
textColorPrimary: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
130
198
|
var _ref42 = _slicedToArray(_ref41, 1),
|
|
131
|
-
|
|
132
|
-
return backgroundBaseInteractiveHover;
|
|
133
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
134
|
-
backgroundEmptyAccentHover: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
135
|
-
var _ref44 = _slicedToArray(_ref43, 1),
|
|
136
|
-
backgroundBaseInteractiveHover = _ref44[0];
|
|
137
|
-
return backgroundBaseInteractiveHover;
|
|
138
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
139
|
-
backgroundEmptyAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
140
|
-
var _ref46 = _slicedToArray(_ref45, 1),
|
|
141
|
-
backgroundBaseInteractiveHover = _ref46[0];
|
|
142
|
-
return backgroundBaseInteractiveHover;
|
|
143
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
144
|
-
backgroundEmptyNeutralHover: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
145
|
-
var _ref48 = _slicedToArray(_ref47, 1),
|
|
146
|
-
backgroundBaseInteractiveHover = _ref48[0];
|
|
147
|
-
return backgroundBaseInteractiveHover;
|
|
148
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
149
|
-
backgroundEmptySuccessHover: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
150
|
-
var _ref50 = _slicedToArray(_ref49, 1),
|
|
151
|
-
backgroundBaseInteractiveHover = _ref50[0];
|
|
152
|
-
return backgroundBaseInteractiveHover;
|
|
153
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
154
|
-
backgroundEmptyWarningHover: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
155
|
-
var _ref52 = _slicedToArray(_ref51, 1),
|
|
156
|
-
backgroundBaseInteractiveHover = _ref52[0];
|
|
157
|
-
return backgroundBaseInteractiveHover;
|
|
158
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
159
|
-
backgroundEmptyRiskHover: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
160
|
-
var _ref54 = _slicedToArray(_ref53, 1),
|
|
161
|
-
backgroundBaseInteractiveHover = _ref54[0];
|
|
162
|
-
return backgroundBaseInteractiveHover;
|
|
163
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
164
|
-
backgroundEmptyDangerHover: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
165
|
-
var _ref56 = _slicedToArray(_ref55, 1),
|
|
166
|
-
backgroundBaseInteractiveHover = _ref56[0];
|
|
167
|
-
return backgroundBaseInteractiveHover;
|
|
168
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
169
|
-
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
170
|
-
var _ref58 = _slicedToArray(_ref57, 1),
|
|
171
|
-
backgroundBaseInteractiveHover = _ref58[0];
|
|
172
|
-
return backgroundBaseInteractiveHover;
|
|
173
|
-
}, ['colors.backgroundBaseInteractiveHover']),
|
|
174
|
-
textColorPrimary: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
175
|
-
var _ref60 = _slicedToArray(_ref59, 1),
|
|
176
|
-
textPrimary = _ref60[0];
|
|
199
|
+
textPrimary = _ref42[0];
|
|
177
200
|
return textPrimary;
|
|
178
201
|
}, ['colors.textPrimary']),
|
|
179
|
-
textColorAccent: (0, _euiThemeCommon.computed)(function (
|
|
180
|
-
var
|
|
181
|
-
textAccent =
|
|
202
|
+
textColorAccent: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
203
|
+
var _ref44 = _slicedToArray(_ref43, 1),
|
|
204
|
+
textAccent = _ref44[0];
|
|
182
205
|
return textAccent;
|
|
183
206
|
}, ['colors.textAccent']),
|
|
184
|
-
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
185
|
-
var
|
|
186
|
-
textAccentSecondary =
|
|
207
|
+
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
208
|
+
var _ref46 = _slicedToArray(_ref45, 1),
|
|
209
|
+
textAccentSecondary = _ref46[0];
|
|
187
210
|
return textAccentSecondary;
|
|
188
211
|
}, ['colors.textAccentSecondary']),
|
|
189
|
-
textColorNeutral: (0, _euiThemeCommon.computed)(function (
|
|
190
|
-
var
|
|
191
|
-
textNeutral =
|
|
212
|
+
textColorNeutral: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
213
|
+
var _ref48 = _slicedToArray(_ref47, 1),
|
|
214
|
+
textNeutral = _ref48[0];
|
|
192
215
|
return textNeutral;
|
|
193
216
|
}, ['colors.textNeutral']),
|
|
194
|
-
textColorSuccess: (0, _euiThemeCommon.computed)(function (
|
|
195
|
-
var
|
|
196
|
-
textSuccess =
|
|
217
|
+
textColorSuccess: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
218
|
+
var _ref50 = _slicedToArray(_ref49, 1),
|
|
219
|
+
textSuccess = _ref50[0];
|
|
197
220
|
return textSuccess;
|
|
198
221
|
}, ['colors.textSuccess']),
|
|
199
|
-
textColorWarning: (0, _euiThemeCommon.computed)(function (
|
|
200
|
-
var
|
|
201
|
-
textWarning =
|
|
222
|
+
textColorWarning: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
223
|
+
var _ref52 = _slicedToArray(_ref51, 1),
|
|
224
|
+
textWarning = _ref52[0];
|
|
202
225
|
return textWarning;
|
|
203
226
|
}, ['colors.textWarning']),
|
|
204
|
-
textColorRisk: (0, _euiThemeCommon.computed)(function (
|
|
205
|
-
var
|
|
206
|
-
textRisk =
|
|
227
|
+
textColorRisk: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
228
|
+
var _ref54 = _slicedToArray(_ref53, 1),
|
|
229
|
+
textRisk = _ref54[0];
|
|
207
230
|
return textRisk;
|
|
208
231
|
}, ['colors.textRisk']),
|
|
209
|
-
textColorDanger: (0, _euiThemeCommon.computed)(function (
|
|
210
|
-
var
|
|
211
|
-
textDanger =
|
|
232
|
+
textColorDanger: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
233
|
+
var _ref56 = _slicedToArray(_ref55, 1),
|
|
234
|
+
textDanger = _ref56[0];
|
|
212
235
|
return textDanger;
|
|
213
236
|
}, ['colors.textDanger']),
|
|
214
|
-
textColorText: (0, _euiThemeCommon.computed)(function (
|
|
215
|
-
var
|
|
216
|
-
textParagraph =
|
|
237
|
+
textColorText: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
238
|
+
var _ref58 = _slicedToArray(_ref57, 1),
|
|
239
|
+
textParagraph = _ref58[0];
|
|
217
240
|
return textParagraph;
|
|
218
241
|
}, ['colors.textParagraph']),
|
|
219
|
-
textColorDisabled: (0, _euiThemeCommon.computed)(function (
|
|
220
|
-
var
|
|
221
|
-
textDisabled =
|
|
242
|
+
textColorDisabled: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
243
|
+
var _ref60 = _slicedToArray(_ref59, 1),
|
|
244
|
+
textDisabled = _ref60[0];
|
|
222
245
|
return textDisabled;
|
|
223
246
|
}, ['colors.textDisabled']),
|
|
224
|
-
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (
|
|
225
|
-
var
|
|
226
|
-
textInverse =
|
|
247
|
+
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref61) {
|
|
248
|
+
var _ref62 = _slicedToArray(_ref61, 1),
|
|
249
|
+
textInverse = _ref62[0];
|
|
227
250
|
return textInverse;
|
|
228
251
|
}, ['colors.textInverse']),
|
|
229
|
-
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
230
|
-
var
|
|
231
|
-
textInverse =
|
|
252
|
+
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (_ref63) {
|
|
253
|
+
var _ref64 = _slicedToArray(_ref63, 1),
|
|
254
|
+
textInverse = _ref64[0];
|
|
232
255
|
return textInverse;
|
|
233
256
|
}, ['colors.textInverse']),
|
|
234
|
-
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
235
|
-
var
|
|
236
|
-
textInverse =
|
|
257
|
+
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref65) {
|
|
258
|
+
var _ref66 = _slicedToArray(_ref65, 1),
|
|
259
|
+
textInverse = _ref66[0];
|
|
237
260
|
return textInverse;
|
|
238
261
|
}, ['colors.textInverse']),
|
|
239
|
-
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (
|
|
240
|
-
var
|
|
241
|
-
textInverse =
|
|
262
|
+
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
263
|
+
var _ref68 = _slicedToArray(_ref67, 1),
|
|
264
|
+
textInverse = _ref68[0];
|
|
242
265
|
return textInverse;
|
|
243
266
|
}, ['colors.textInverse']),
|
|
244
|
-
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
245
|
-
var
|
|
246
|
-
textInverse =
|
|
267
|
+
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
268
|
+
var _ref70 = _slicedToArray(_ref69, 1),
|
|
269
|
+
textInverse = _ref70[0];
|
|
247
270
|
return textInverse;
|
|
248
271
|
}, ['colors.textInverse']),
|
|
249
272
|
textColorFilledWarning: _semantic_colors.SEMANTIC_COLORS.warning110,
|
|
250
|
-
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (
|
|
251
|
-
var
|
|
252
|
-
textInverse =
|
|
273
|
+
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
274
|
+
var _ref72 = _slicedToArray(_ref71, 1),
|
|
275
|
+
textInverse = _ref72[0];
|
|
253
276
|
return textInverse;
|
|
254
277
|
}, ['colors.textInverse']),
|
|
255
|
-
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (
|
|
256
|
-
var
|
|
257
|
-
textInverse =
|
|
278
|
+
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
279
|
+
var _ref74 = _slicedToArray(_ref73, 1),
|
|
280
|
+
textInverse = _ref74[0];
|
|
258
281
|
return textInverse;
|
|
259
282
|
}, ['colors.textInverse']),
|
|
260
|
-
textColorFilledText: (0, _euiThemeCommon.computed)(function (
|
|
261
|
-
var
|
|
262
|
-
textInverse =
|
|
283
|
+
textColorFilledText: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
284
|
+
var _ref76 = _slicedToArray(_ref75, 1),
|
|
285
|
+
textInverse = _ref76[0];
|
|
263
286
|
return textInverse;
|
|
264
287
|
}, ['colors.textInverse']),
|
|
265
|
-
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
266
|
-
var
|
|
267
|
-
textDisabled =
|
|
288
|
+
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
289
|
+
var _ref78 = _slicedToArray(_ref77, 1),
|
|
290
|
+
textDisabled = _ref78[0];
|
|
268
291
|
return textDisabled;
|
|
269
292
|
}, ['colors.textDisabled'])
|
|
270
293
|
};
|
|
271
294
|
var _dark_buttons = _objectSpread(_objectSpread({}, _buttons), {}, {
|
|
295
|
+
backgroundPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary70Alpha16,
|
|
296
|
+
backgroundAccentHover: _semantic_colors.SEMANTIC_COLORS.accent70Alpha16,
|
|
297
|
+
backgroundAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha16,
|
|
298
|
+
backgroundNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha16,
|
|
299
|
+
backgroundSuccessHover: _semantic_colors.SEMANTIC_COLORS.success70Alpha16,
|
|
300
|
+
backgroundWarningHover: _semantic_colors.SEMANTIC_COLORS.warning60Alpha12,
|
|
301
|
+
backgroundRiskHover: _semantic_colors.SEMANTIC_COLORS.risk60Alpha12,
|
|
302
|
+
backgroundDangerHover: _semantic_colors.SEMANTIC_COLORS.danger70Alpha16,
|
|
303
|
+
backgroundTextHover: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha12,
|
|
304
|
+
backgroundPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary70Alpha20,
|
|
305
|
+
backgroundAccentActive: _semantic_colors.SEMANTIC_COLORS.accent70Alpha20,
|
|
306
|
+
backgroundAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha20,
|
|
307
|
+
backgroundNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha20,
|
|
308
|
+
backgroundSuccessActive: _semantic_colors.SEMANTIC_COLORS.success70Alpha20,
|
|
309
|
+
backgroundWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60Alpha16,
|
|
310
|
+
backgroundRiskActive: _semantic_colors.SEMANTIC_COLORS.risk60Alpha16,
|
|
311
|
+
backgroundDangerActive: _semantic_colors.SEMANTIC_COLORS.danger70Alpha20,
|
|
312
|
+
backgroundTextActive: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha16,
|
|
313
|
+
backgroundFilledPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary70,
|
|
314
|
+
backgroundFilledAccentHover: _semantic_colors.SEMANTIC_COLORS.accent70,
|
|
315
|
+
backgroundFilledAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary70,
|
|
316
|
+
backgroundFilledNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral70,
|
|
317
|
+
backgroundFilledSuccessHover: _semantic_colors.SEMANTIC_COLORS.success70,
|
|
318
|
+
backgroundFilledWarningHover: _semantic_colors.SEMANTIC_COLORS.warning50,
|
|
319
|
+
backgroundFilledRiskHover: _semantic_colors.SEMANTIC_COLORS.risk60,
|
|
320
|
+
backgroundFilledDangerHover: _semantic_colors.SEMANTIC_COLORS.danger70,
|
|
321
|
+
backgroundFilledTextHover: _semantic_colors.SEMANTIC_COLORS.shade70,
|
|
322
|
+
backgroundFilledPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary80,
|
|
323
|
+
backgroundFilledAccentActive: _semantic_colors.SEMANTIC_COLORS.accent80,
|
|
324
|
+
backgroundFilledAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary80,
|
|
325
|
+
backgroundFilledNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral80,
|
|
326
|
+
backgroundFilledSuccessActive: _semantic_colors.SEMANTIC_COLORS.success80,
|
|
327
|
+
backgroundFilledWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60,
|
|
328
|
+
backgroundFilledRiskActive: _semantic_colors.SEMANTIC_COLORS.risk70,
|
|
329
|
+
backgroundFilledDangerActive: _semantic_colors.SEMANTIC_COLORS.danger80,
|
|
330
|
+
backgroundFilledTextActive: _semantic_colors.SEMANTIC_COLORS.shade80,
|
|
331
|
+
backgroundEmptyPrimaryHover: _semantic_colors.SEMANTIC_COLORS.primary70Alpha16,
|
|
332
|
+
backgroundEmptyAccentHover: _semantic_colors.SEMANTIC_COLORS.accent70Alpha16,
|
|
333
|
+
backgroundEmptyAccentSecondaryHover: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha16,
|
|
334
|
+
backgroundEmptyNeutralHover: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha16,
|
|
335
|
+
backgroundEmptySuccessHover: _semantic_colors.SEMANTIC_COLORS.success70Alpha16,
|
|
336
|
+
backgroundEmptyWarningHover: _semantic_colors.SEMANTIC_COLORS.warning60Alpha12,
|
|
337
|
+
backgroundEmptyRiskHover: _semantic_colors.SEMANTIC_COLORS.risk60Alpha12,
|
|
338
|
+
backgroundEmptyDangerHover: _semantic_colors.SEMANTIC_COLORS.danger70Alpha16,
|
|
339
|
+
backgroundEmptyTextHover: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha12,
|
|
340
|
+
backgroundEmptyPrimaryActive: _semantic_colors.SEMANTIC_COLORS.primary70Alpha20,
|
|
341
|
+
backgroundEmptyAccentActive: _semantic_colors.SEMANTIC_COLORS.accent70Alpha20,
|
|
342
|
+
backgroundEmptyAccentSecondaryActive: _semantic_colors.SEMANTIC_COLORS.accentSecondary70Alpha20,
|
|
343
|
+
backgroundEmptySuccessActive: _semantic_colors.SEMANTIC_COLORS.success70Alpha20,
|
|
344
|
+
backgroundEmptyNeutralActive: _semantic_colors.SEMANTIC_COLORS.neutral70Alpha20,
|
|
345
|
+
backgroundEmptyWarningActive: _semantic_colors.SEMANTIC_COLORS.warning60Alpha16,
|
|
346
|
+
backgroundEmptyRiskActive: _semantic_colors.SEMANTIC_COLORS.risk60Alpha16,
|
|
347
|
+
backgroundEmptyDangerActive: _semantic_colors.SEMANTIC_COLORS.danger70Alpha20,
|
|
348
|
+
backgroundEmptyTextActive: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha16,
|
|
272
349
|
textColorFilledWarning: _semantic_colors.SEMANTIC_COLORS.warning110
|
|
273
350
|
});
|
|
274
351
|
var buttons = exports.buttons = {
|
|
275
352
|
LIGHT: _buttons,
|
|
276
353
|
DARK: _dark_buttons
|
|
277
|
-
};
|
|
278
|
-
//# sourceMappingURL=_buttons.js.map
|
|
354
|
+
};
|