@elastic/eui 102.2.0 → 102.3.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/dist/eui_theme_borealis_dark.json +1 -1
- package/es/components/badge/color_utils.js +1 -3
- package/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/es/components/basic_table/basic_table.js +4 -1
- package/es/components/basic_table/in_memory_table.js +4 -1
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display.styles.js +11 -2
- package/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/es/components/button/button_group/button_group.styles.js +5 -3
- package/es/components/button/button_group/button_group_button.js +19 -9
- package/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/es/components/button/button_icon/button_icon.js +4 -2
- package/es/components/collapsible_nav/collapsible_nav.js +1 -0
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/es/components/datagrid/utils/focus.js +2 -2
- package/es/components/filter_group/filter_button.js +88 -23
- package/es/components/filter_group/filter_button.styles.js +51 -15
- package/es/components/filter_group/filter_group.styles.js +18 -6
- package/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/es/components/search_bar/filters/is_filter.js +3 -1
- package/es/components/search_bar/search_bar.a11y.js +3 -3
- package/es/global_styling/mixins/_button.js +95 -28
- package/es/services/theme/index.js +2 -1
- package/es/services/theme/provider.js +28 -2
- package/es/services/theme/theme_variant.js +22 -0
- package/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/es/themes/amsterdam/theme.js +2 -1
- package/es/themes/json/eui_theme_borealis_dark.json +1 -1
- package/eui.d.ts +194 -161
- package/lib/components/badge/color_utils.js +1 -3
- package/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/lib/components/basic_table/basic_table.js +4 -1
- package/lib/components/basic_table/in_memory_table.js +4 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/lib/components/button/button_group/button_group.styles.js +5 -3
- package/lib/components/button/button_group/button_group_button.js +18 -8
- package/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/lib/components/button/button_icon/button_icon.js +3 -1
- package/lib/components/collapsible_nav/collapsible_nav.js +1 -0
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/lib/components/datagrid/utils/focus.js +1 -1
- package/lib/components/filter_group/filter_button.js +86 -21
- package/lib/components/filter_group/filter_button.styles.js +51 -15
- package/lib/components/filter_group/filter_group.styles.js +18 -6
- package/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/lib/components/search_bar/filters/is_filter.js +3 -1
- package/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/lib/global_styling/mixins/_button.js +94 -27
- package/lib/services/theme/index.js +42 -1
- package/lib/services/theme/provider.js +28 -2
- package/lib/services/theme/theme_variant.js +28 -0
- package/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/lib/themes/amsterdam/theme.js +2 -1
- package/lib/themes/json/eui_theme_borealis_dark.json +1 -1
- package/optimize/es/components/badge/color_utils.js +1 -3
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/optimize/es/components/button/button_display/_button_display.js +1 -1
- package/optimize/es/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/optimize/es/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/es/components/button/button_group/button_group_button.js +12 -8
- package/optimize/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/optimize/es/components/button/button_icon/button_icon.js +4 -2
- package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/es/components/datagrid/utils/focus.js +2 -2
- package/optimize/es/components/filter_group/filter_button.js +78 -21
- package/optimize/es/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/es/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/es/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/es/global_styling/mixins/_button.js +95 -28
- package/optimize/es/services/theme/index.js +2 -1
- package/optimize/es/services/theme/provider.js +28 -2
- package/optimize/es/services/theme/theme_variant.js +22 -0
- package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/es/themes/amsterdam/theme.js +2 -1
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +1 -1
- package/optimize/lib/components/badge/color_utils.js +1 -3
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/optimize/lib/components/button/button_display/_button_display.js +1 -1
- package/optimize/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/optimize/lib/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/lib/components/button/button_group/button_group_button.js +11 -7
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/optimize/lib/components/button/button_icon/button_icon.js +3 -1
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/lib/components/datagrid/utils/focus.js +1 -1
- package/optimize/lib/components/filter_group/filter_button.js +76 -19
- package/optimize/lib/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/lib/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/lib/global_styling/mixins/_button.js +94 -27
- package/optimize/lib/services/theme/index.js +42 -1
- package/optimize/lib/services/theme/provider.js +28 -2
- package/optimize/lib/services/theme/theme_variant.js +28 -0
- package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/lib/themes/amsterdam/theme.js +2 -1
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +1 -1
- package/package.json +4 -4
- package/test-env/components/badge/color_utils.js +1 -3
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/test-env/components/basic_table/basic_table.js +4 -1
- package/test-env/components/basic_table/in_memory_table.js +4 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display.styles.js +11 -2
- package/test-env/components/button/button_display/_button_display_content.styles.js +6 -3
- package/test-env/components/button/button_empty/button_empty.styles.js +10 -11
- package/test-env/components/button/button_group/button_group.styles.js +5 -3
- package/test-env/components/button/button_group/button_group_button.js +18 -8
- package/test-env/components/button/button_group/button_group_button.styles.js +41 -17
- package/test-env/components/button/button_icon/button_icon.js +3 -1
- package/test-env/components/collapsible_nav/collapsible_nav.js +1 -0
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/test-env/components/datagrid/utils/focus.js +1 -1
- package/test-env/components/filter_group/filter_button.js +86 -21
- package/test-env/components/filter_group/filter_button.styles.js +51 -15
- package/test-env/components/filter_group/filter_group.styles.js +18 -6
- package/test-env/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/test-env/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/test-env/components/search_bar/filters/is_filter.js +3 -1
- package/test-env/components/search_bar/search_bar.a11y.js +3 -3
- package/test-env/global_styling/mixins/_button.js +94 -27
- package/test-env/services/theme/index.js +42 -1
- package/test-env/services/theme/provider.js +28 -2
- package/test-env/services/theme/theme_variant.js +28 -0
- package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/test-env/themes/amsterdam/theme.js +2 -1
- package/test-env/themes/json/eui_theme_borealis_dark.json +1 -1
|
@@ -85,244 +85,445 @@ var _buttons = {
|
|
|
85
85
|
lightShade = _ref20[0];
|
|
86
86
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
87
87
|
}, ['colors.lightShade']),
|
|
88
|
-
|
|
88
|
+
backgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref21) {
|
|
89
89
|
var _ref22 = _slicedToArray(_ref21, 1),
|
|
90
|
-
|
|
90
|
+
primary = _ref22[0];
|
|
91
|
+
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
92
|
+
}, ['colors.primary']),
|
|
93
|
+
backgroundAccentHover: (0, _euiThemeCommon.computed)(function (_ref23) {
|
|
94
|
+
var _ref24 = _slicedToArray(_ref23, 1),
|
|
95
|
+
accent = _ref24[0];
|
|
96
|
+
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
97
|
+
}, ['colors.accent']),
|
|
98
|
+
backgroundAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref25) {
|
|
99
|
+
var _ref26 = _slicedToArray(_ref25, 1),
|
|
100
|
+
success = _ref26[0];
|
|
101
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
102
|
+
}, ['colors.success']),
|
|
103
|
+
backgroundNeutralHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
104
|
+
backgroundSuccessHover: (0, _euiThemeCommon.computed)(function (_ref27) {
|
|
105
|
+
var _ref28 = _slicedToArray(_ref27, 1),
|
|
106
|
+
success = _ref28[0];
|
|
107
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
108
|
+
}, ['colors.success']),
|
|
109
|
+
backgroundWarningHover: (0, _euiThemeCommon.computed)(function (_ref29) {
|
|
110
|
+
var _ref30 = _slicedToArray(_ref29, 1),
|
|
111
|
+
warning = _ref30[0];
|
|
112
|
+
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
113
|
+
}, ['colors.warning']),
|
|
114
|
+
backgroundRiskHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
115
|
+
backgroundDangerHover: (0, _euiThemeCommon.computed)(function (_ref31) {
|
|
116
|
+
var _ref32 = _slicedToArray(_ref31, 1),
|
|
117
|
+
danger = _ref32[0];
|
|
118
|
+
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
119
|
+
}, ['colors.danger']),
|
|
120
|
+
backgroundTextHover: (0, _euiThemeCommon.computed)(function (_ref33) {
|
|
121
|
+
var _ref34 = _slicedToArray(_ref33, 1),
|
|
122
|
+
lightShade = _ref34[0];
|
|
123
|
+
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
124
|
+
}, ['colors.lightShade']),
|
|
125
|
+
backgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref35) {
|
|
126
|
+
var _ref36 = _slicedToArray(_ref35, 1),
|
|
127
|
+
primary = _ref36[0];
|
|
128
|
+
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
129
|
+
}, ['colors.primary']),
|
|
130
|
+
backgroundAccentActive: (0, _euiThemeCommon.computed)(function (_ref37) {
|
|
131
|
+
var _ref38 = _slicedToArray(_ref37, 1),
|
|
132
|
+
accent = _ref38[0];
|
|
133
|
+
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
134
|
+
}, ['colors.accent']),
|
|
135
|
+
backgroundAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref39) {
|
|
136
|
+
var _ref40 = _slicedToArray(_ref39, 1),
|
|
137
|
+
success = _ref40[0];
|
|
138
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
139
|
+
}, ['colors.success']),
|
|
140
|
+
backgroundNeutralActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
141
|
+
backgroundSuccessActive: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
142
|
+
var _ref42 = _slicedToArray(_ref41, 1),
|
|
143
|
+
success = _ref42[0];
|
|
144
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
145
|
+
}, ['colors.success']),
|
|
146
|
+
backgroundWarningActive: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
147
|
+
var _ref44 = _slicedToArray(_ref43, 1),
|
|
148
|
+
warning = _ref44[0];
|
|
149
|
+
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
150
|
+
}, ['colors.warning']),
|
|
151
|
+
backgroundRiskActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
152
|
+
backgroundDangerActive: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
153
|
+
var _ref46 = _slicedToArray(_ref45, 1),
|
|
154
|
+
danger = _ref46[0];
|
|
155
|
+
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
156
|
+
}, ['colors.danger']),
|
|
157
|
+
backgroundTextActive: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
158
|
+
var _ref48 = _slicedToArray(_ref47, 1),
|
|
159
|
+
lightShade = _ref48[0];
|
|
160
|
+
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
161
|
+
}, ['colors.lightShade']),
|
|
162
|
+
backgroundFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
163
|
+
var _ref50 = _slicedToArray(_ref49, 1),
|
|
164
|
+
backgroundFilledPrimary = _ref50[0];
|
|
91
165
|
return backgroundFilledPrimary;
|
|
92
166
|
}, ['colors.backgroundFilledPrimary']),
|
|
93
|
-
backgroundFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
94
|
-
var
|
|
95
|
-
backgroundFilledAccent =
|
|
167
|
+
backgroundFilledAccent: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
168
|
+
var _ref52 = _slicedToArray(_ref51, 1),
|
|
169
|
+
backgroundFilledAccent = _ref52[0];
|
|
96
170
|
return backgroundFilledAccent;
|
|
97
171
|
}, ['colors.backgroundFilledAccent']),
|
|
98
|
-
backgroundFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
99
|
-
var
|
|
100
|
-
backgroundFilledAccent =
|
|
172
|
+
backgroundFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
173
|
+
var _ref54 = _slicedToArray(_ref53, 1),
|
|
174
|
+
backgroundFilledAccent = _ref54[0];
|
|
101
175
|
return backgroundFilledAccent;
|
|
102
176
|
}, ['colors.backgroundFilledAccent']),
|
|
103
|
-
backgroundFilledNeutral: (0, _euiThemeCommon.computed)(function (
|
|
104
|
-
var
|
|
105
|
-
backgroundFilledNeutral =
|
|
177
|
+
backgroundFilledNeutral: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
178
|
+
var _ref56 = _slicedToArray(_ref55, 1),
|
|
179
|
+
backgroundFilledNeutral = _ref56[0];
|
|
106
180
|
return backgroundFilledNeutral;
|
|
107
181
|
}, ['colors.backgroundFilledNeutral']),
|
|
108
|
-
backgroundFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
109
|
-
var
|
|
110
|
-
backgroundFilledSuccess =
|
|
182
|
+
backgroundFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
183
|
+
var _ref58 = _slicedToArray(_ref57, 1),
|
|
184
|
+
backgroundFilledSuccess = _ref58[0];
|
|
111
185
|
return backgroundFilledSuccess;
|
|
112
186
|
}, ['colors.backgroundFilledSuccess']),
|
|
113
|
-
backgroundFilledWarning: (0, _euiThemeCommon.computed)(function (
|
|
114
|
-
var
|
|
115
|
-
backgroundFilledWarning =
|
|
187
|
+
backgroundFilledWarning: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
188
|
+
var _ref60 = _slicedToArray(_ref59, 1),
|
|
189
|
+
backgroundFilledWarning = _ref60[0];
|
|
116
190
|
return backgroundFilledWarning;
|
|
117
191
|
}, ['colors.backgroundFilledWarning']),
|
|
118
|
-
backgroundFilledRisk: (0, _euiThemeCommon.computed)(function (
|
|
119
|
-
var
|
|
120
|
-
backgroundFilledRisk =
|
|
192
|
+
backgroundFilledRisk: (0, _euiThemeCommon.computed)(function (_ref61) {
|
|
193
|
+
var _ref62 = _slicedToArray(_ref61, 1),
|
|
194
|
+
backgroundFilledRisk = _ref62[0];
|
|
121
195
|
return backgroundFilledRisk;
|
|
122
196
|
}, ['colors.backgroundFilledRisk']),
|
|
123
|
-
backgroundFilledDanger: (0, _euiThemeCommon.computed)(function (
|
|
124
|
-
var
|
|
125
|
-
backgroundFilledDanger =
|
|
197
|
+
backgroundFilledDanger: (0, _euiThemeCommon.computed)(function (_ref63) {
|
|
198
|
+
var _ref64 = _slicedToArray(_ref63, 1),
|
|
199
|
+
backgroundFilledDanger = _ref64[0];
|
|
126
200
|
return backgroundFilledDanger;
|
|
127
201
|
}, ['colors.backgroundFilledDanger']),
|
|
128
|
-
backgroundFilledText: (0, _euiThemeCommon.computed)(function (
|
|
129
|
-
var
|
|
130
|
-
backgroundFilledText =
|
|
202
|
+
backgroundFilledText: (0, _euiThemeCommon.computed)(function (_ref65) {
|
|
203
|
+
var _ref66 = _slicedToArray(_ref65, 1),
|
|
204
|
+
backgroundFilledText = _ref66[0];
|
|
131
205
|
return backgroundFilledText;
|
|
132
206
|
}, ['colors.backgroundFilledText']),
|
|
133
|
-
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
134
|
-
var
|
|
135
|
-
lightShade =
|
|
207
|
+
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
208
|
+
var _ref68 = _slicedToArray(_ref67, 1),
|
|
209
|
+
lightShade = _ref68[0];
|
|
136
210
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
137
211
|
}, ['colors.lightShade']),
|
|
138
|
-
|
|
139
|
-
var
|
|
140
|
-
|
|
212
|
+
backgroundFilledPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
213
|
+
var _ref70 = _slicedToArray(_ref69, 1),
|
|
214
|
+
backgroundFilledPrimary = _ref70[0];
|
|
215
|
+
return backgroundFilledPrimary;
|
|
216
|
+
}, ['components.buttons.backgroundFilledPrimary']),
|
|
217
|
+
backgroundFilledAccentHover: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
218
|
+
var _ref72 = _slicedToArray(_ref71, 1),
|
|
219
|
+
backgroundFilledPrimary = _ref72[0];
|
|
220
|
+
return backgroundFilledPrimary;
|
|
221
|
+
}, ['components.buttons.backgroundFilledAccent']),
|
|
222
|
+
backgroundFilledAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
223
|
+
var _ref74 = _slicedToArray(_ref73, 1),
|
|
224
|
+
backgroundFilledPrimary = _ref74[0];
|
|
225
|
+
return backgroundFilledPrimary;
|
|
226
|
+
}, ['components.buttons.backgroundFilledAccentSecondary']),
|
|
227
|
+
backgroundFilledNeutralHover: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
228
|
+
var _ref76 = _slicedToArray(_ref75, 1),
|
|
229
|
+
backgroundFilledNeutral = _ref76[0];
|
|
230
|
+
return backgroundFilledNeutral;
|
|
231
|
+
}, ['components.buttons.backgroundFilledNeutral']),
|
|
232
|
+
backgroundFilledSuccessHover: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
233
|
+
var _ref78 = _slicedToArray(_ref77, 1),
|
|
234
|
+
backgroundFilledPrimary = _ref78[0];
|
|
235
|
+
return backgroundFilledPrimary;
|
|
236
|
+
}, ['components.buttons.backgroundFilledSuccess']),
|
|
237
|
+
backgroundFilledWarningHover: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
238
|
+
var _ref80 = _slicedToArray(_ref79, 1),
|
|
239
|
+
backgroundFilledPrimary = _ref80[0];
|
|
240
|
+
return backgroundFilledPrimary;
|
|
241
|
+
}, ['components.buttons.backgroundFilledWarning']),
|
|
242
|
+
backgroundFilledRiskHover: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
243
|
+
var _ref82 = _slicedToArray(_ref81, 1),
|
|
244
|
+
backgroundFilledRisk = _ref82[0];
|
|
245
|
+
return backgroundFilledRisk;
|
|
246
|
+
}, ['components.buttons.backgroundFilledRisk']),
|
|
247
|
+
backgroundFilledDangerHover: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
248
|
+
var _ref84 = _slicedToArray(_ref83, 1),
|
|
249
|
+
backgroundFilledPrimary = _ref84[0];
|
|
250
|
+
return backgroundFilledPrimary;
|
|
251
|
+
}, ['components.buttons.backgroundFilledDanger']),
|
|
252
|
+
backgroundFilledTextHover: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
253
|
+
var _ref86 = _slicedToArray(_ref85, 1),
|
|
254
|
+
backgroundFilledPrimary = _ref86[0];
|
|
255
|
+
return backgroundFilledPrimary;
|
|
256
|
+
}, ['components.buttons.backgroundFilledText']),
|
|
257
|
+
backgroundFilledPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
258
|
+
var _ref88 = _slicedToArray(_ref87, 1),
|
|
259
|
+
backgroundFilledPrimary = _ref88[0];
|
|
260
|
+
return backgroundFilledPrimary;
|
|
261
|
+
}, ['components.buttons.backgroundFilledPrimary']),
|
|
262
|
+
backgroundFilledAccentActive: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
263
|
+
var _ref90 = _slicedToArray(_ref89, 1),
|
|
264
|
+
backgroundFilledPrimary = _ref90[0];
|
|
265
|
+
return backgroundFilledPrimary;
|
|
266
|
+
}, ['components.buttons.backgroundFilledAccent']),
|
|
267
|
+
backgroundFilledAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
268
|
+
var _ref92 = _slicedToArray(_ref91, 1),
|
|
269
|
+
backgroundFilledPrimary = _ref92[0];
|
|
270
|
+
return backgroundFilledPrimary;
|
|
271
|
+
}, ['components.buttons.backgroundFilledAccentSecondary']),
|
|
272
|
+
backgroundFilledNeutralActive: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
273
|
+
var _ref94 = _slicedToArray(_ref93, 1),
|
|
274
|
+
backgroundFilledNeutral = _ref94[0];
|
|
275
|
+
return backgroundFilledNeutral;
|
|
276
|
+
}, ['components.buttons.backgroundFilledNeutral']),
|
|
277
|
+
backgroundFilledSuccessActive: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
278
|
+
var _ref96 = _slicedToArray(_ref95, 1),
|
|
279
|
+
backgroundFilledPrimary = _ref96[0];
|
|
280
|
+
return backgroundFilledPrimary;
|
|
281
|
+
}, ['components.buttons.backgroundFilledSuccess']),
|
|
282
|
+
backgroundFilledWarningActive: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
283
|
+
var _ref98 = _slicedToArray(_ref97, 1),
|
|
284
|
+
backgroundFilledPrimary = _ref98[0];
|
|
285
|
+
return backgroundFilledPrimary;
|
|
286
|
+
}, ['components.buttons.backgroundFilledWarning']),
|
|
287
|
+
backgroundFilledRiskActive: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
288
|
+
var _ref100 = _slicedToArray(_ref99, 1),
|
|
289
|
+
backgroundFilledRisk = _ref100[0];
|
|
290
|
+
return backgroundFilledRisk;
|
|
291
|
+
}, ['components.buttons.backgroundFilledRisk']),
|
|
292
|
+
backgroundFilledDangerActive: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
293
|
+
var _ref102 = _slicedToArray(_ref101, 1),
|
|
294
|
+
backgroundFilledPrimary = _ref102[0];
|
|
295
|
+
return backgroundFilledPrimary;
|
|
296
|
+
}, ['components.buttons.backgroundFilledDanger']),
|
|
297
|
+
backgroundFilledTextActive: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
298
|
+
var _ref104 = _slicedToArray(_ref103, 1),
|
|
299
|
+
backgroundFilledPrimary = _ref104[0];
|
|
300
|
+
return backgroundFilledPrimary;
|
|
301
|
+
}, ['components.buttons.backgroundFilledText']),
|
|
302
|
+
backgroundEmptyPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
303
|
+
var _ref106 = _slicedToArray(_ref105, 1),
|
|
304
|
+
primary = _ref106[0];
|
|
141
305
|
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
142
306
|
}, ['colors.primary']),
|
|
143
|
-
backgroundEmptyAccentHover: (0, _euiThemeCommon.computed)(function (
|
|
144
|
-
var
|
|
145
|
-
accent =
|
|
307
|
+
backgroundEmptyAccentHover: (0, _euiThemeCommon.computed)(function (_ref107) {
|
|
308
|
+
var _ref108 = _slicedToArray(_ref107, 1),
|
|
309
|
+
accent = _ref108[0];
|
|
146
310
|
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
147
311
|
}, ['colors.accent']),
|
|
148
|
-
backgroundEmptyAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (
|
|
149
|
-
var
|
|
150
|
-
success =
|
|
312
|
+
backgroundEmptyAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref109) {
|
|
313
|
+
var _ref110 = _slicedToArray(_ref109, 1),
|
|
314
|
+
success = _ref110[0];
|
|
151
315
|
return (0, _manipulation.transparentize)(success, 0.1);
|
|
152
316
|
}, ['colors.success']),
|
|
153
317
|
backgroundEmptyNeutralHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
154
|
-
backgroundEmptySuccessHover: (0, _euiThemeCommon.computed)(function (
|
|
155
|
-
var
|
|
156
|
-
success =
|
|
318
|
+
backgroundEmptySuccessHover: (0, _euiThemeCommon.computed)(function (_ref111) {
|
|
319
|
+
var _ref112 = _slicedToArray(_ref111, 1),
|
|
320
|
+
success = _ref112[0];
|
|
157
321
|
return (0, _manipulation.transparentize)(success, 0.1);
|
|
158
322
|
}, ['colors.success']),
|
|
159
|
-
backgroundEmptyWarningHover: (0, _euiThemeCommon.computed)(function (
|
|
160
|
-
var
|
|
161
|
-
warning =
|
|
323
|
+
backgroundEmptyWarningHover: (0, _euiThemeCommon.computed)(function (_ref113) {
|
|
324
|
+
var _ref114 = _slicedToArray(_ref113, 1),
|
|
325
|
+
warning = _ref114[0];
|
|
162
326
|
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
163
327
|
}, ['colors.warning']),
|
|
164
328
|
backgroundEmptyRiskHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
165
|
-
backgroundEmptyDangerHover: (0, _euiThemeCommon.computed)(function (
|
|
166
|
-
var
|
|
167
|
-
danger =
|
|
329
|
+
backgroundEmptyDangerHover: (0, _euiThemeCommon.computed)(function (_ref115) {
|
|
330
|
+
var _ref116 = _slicedToArray(_ref115, 1),
|
|
331
|
+
danger = _ref116[0];
|
|
168
332
|
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
169
333
|
}, ['colors.danger']),
|
|
170
|
-
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (
|
|
171
|
-
var
|
|
172
|
-
lightShade =
|
|
334
|
+
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref117) {
|
|
335
|
+
var _ref118 = _slicedToArray(_ref117, 1),
|
|
336
|
+
lightShade = _ref118[0];
|
|
173
337
|
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
174
338
|
}, ['colors.lightShade']),
|
|
175
|
-
|
|
176
|
-
var
|
|
177
|
-
|
|
339
|
+
backgroundEmptyPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref119) {
|
|
340
|
+
var _ref120 = _slicedToArray(_ref119, 1),
|
|
341
|
+
primary = _ref120[0];
|
|
342
|
+
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
343
|
+
}, ['colors.primary']),
|
|
344
|
+
backgroundEmptyAccentActive: (0, _euiThemeCommon.computed)(function (_ref121) {
|
|
345
|
+
var _ref122 = _slicedToArray(_ref121, 1),
|
|
346
|
+
accent = _ref122[0];
|
|
347
|
+
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
348
|
+
}, ['colors.accent']),
|
|
349
|
+
backgroundEmptyAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref123) {
|
|
350
|
+
var _ref124 = _slicedToArray(_ref123, 1),
|
|
351
|
+
success = _ref124[0];
|
|
352
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
353
|
+
}, ['colors.success']),
|
|
354
|
+
backgroundEmptyNeutralActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
355
|
+
backgroundEmptySuccessActive: (0, _euiThemeCommon.computed)(function (_ref125) {
|
|
356
|
+
var _ref126 = _slicedToArray(_ref125, 1),
|
|
357
|
+
success = _ref126[0];
|
|
358
|
+
return (0, _manipulation.transparentize)(success, 0.1);
|
|
359
|
+
}, ['colors.success']),
|
|
360
|
+
backgroundEmptyWarningActive: (0, _euiThemeCommon.computed)(function (_ref127) {
|
|
361
|
+
var _ref128 = _slicedToArray(_ref127, 1),
|
|
362
|
+
warning = _ref128[0];
|
|
363
|
+
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
364
|
+
}, ['colors.warning']),
|
|
365
|
+
backgroundEmptyRiskActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
366
|
+
backgroundEmptyDangerActive: (0, _euiThemeCommon.computed)(function (_ref129) {
|
|
367
|
+
var _ref130 = _slicedToArray(_ref129, 1),
|
|
368
|
+
danger = _ref130[0];
|
|
369
|
+
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
370
|
+
}, ['colors.danger']),
|
|
371
|
+
backgroundEmptyTextActive: (0, _euiThemeCommon.computed)(function (_ref131) {
|
|
372
|
+
var _ref132 = _slicedToArray(_ref131, 1),
|
|
373
|
+
lightShade = _ref132[0];
|
|
374
|
+
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
375
|
+
}, ['colors.lightShade']),
|
|
376
|
+
textColorPrimary: (0, _euiThemeCommon.computed)(function (_ref133) {
|
|
377
|
+
var _ref134 = _slicedToArray(_ref133, 1),
|
|
378
|
+
primaryText = _ref134[0];
|
|
178
379
|
return primaryText;
|
|
179
380
|
}, ['colors.primaryText']),
|
|
180
|
-
textColorAccent: (0, _euiThemeCommon.computed)(function (
|
|
181
|
-
var
|
|
182
|
-
accentText =
|
|
381
|
+
textColorAccent: (0, _euiThemeCommon.computed)(function (_ref135) {
|
|
382
|
+
var _ref136 = _slicedToArray(_ref135, 1),
|
|
383
|
+
accentText = _ref136[0];
|
|
183
384
|
return accentText;
|
|
184
385
|
}, ['colors.accentText']),
|
|
185
|
-
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
186
|
-
var
|
|
187
|
-
successText =
|
|
386
|
+
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref137) {
|
|
387
|
+
var _ref138 = _slicedToArray(_ref137, 1),
|
|
388
|
+
successText = _ref138[0];
|
|
188
389
|
return successText;
|
|
189
390
|
}, ['colors.successText']),
|
|
190
|
-
textColorNeutral: (0, _euiThemeCommon.computed)(function (
|
|
191
|
-
var
|
|
192
|
-
textNeutral =
|
|
391
|
+
textColorNeutral: (0, _euiThemeCommon.computed)(function (_ref139) {
|
|
392
|
+
var _ref140 = _slicedToArray(_ref139, 1),
|
|
393
|
+
textNeutral = _ref140[0];
|
|
193
394
|
return textNeutral;
|
|
194
395
|
}, ['colors.textNeutral']),
|
|
195
|
-
textColorSuccess: (0, _euiThemeCommon.computed)(function (
|
|
196
|
-
var
|
|
197
|
-
successText =
|
|
396
|
+
textColorSuccess: (0, _euiThemeCommon.computed)(function (_ref141) {
|
|
397
|
+
var _ref142 = _slicedToArray(_ref141, 1),
|
|
398
|
+
successText = _ref142[0];
|
|
198
399
|
return successText;
|
|
199
400
|
}, ['colors.successText']),
|
|
200
|
-
textColorWarning: (0, _euiThemeCommon.computed)(function (
|
|
201
|
-
var
|
|
202
|
-
warningText =
|
|
401
|
+
textColorWarning: (0, _euiThemeCommon.computed)(function (_ref143) {
|
|
402
|
+
var _ref144 = _slicedToArray(_ref143, 1),
|
|
403
|
+
warningText = _ref144[0];
|
|
203
404
|
return warningText;
|
|
204
405
|
}, ['colors.warningText']),
|
|
205
|
-
textColorRisk: (0, _euiThemeCommon.computed)(function (
|
|
206
|
-
var
|
|
207
|
-
textRisk =
|
|
406
|
+
textColorRisk: (0, _euiThemeCommon.computed)(function (_ref145) {
|
|
407
|
+
var _ref146 = _slicedToArray(_ref145, 1),
|
|
408
|
+
textRisk = _ref146[0];
|
|
208
409
|
return textRisk;
|
|
209
410
|
}, ['colors.textRisk']),
|
|
210
|
-
textColorDanger: (0, _euiThemeCommon.computed)(function (
|
|
211
|
-
var
|
|
212
|
-
dangerText =
|
|
411
|
+
textColorDanger: (0, _euiThemeCommon.computed)(function (_ref147) {
|
|
412
|
+
var _ref148 = _slicedToArray(_ref147, 1),
|
|
413
|
+
dangerText = _ref148[0];
|
|
213
414
|
return dangerText;
|
|
214
415
|
}, ['colors.dangerText']),
|
|
215
|
-
textColorText: (0, _euiThemeCommon.computed)(function (
|
|
216
|
-
var
|
|
217
|
-
text =
|
|
416
|
+
textColorText: (0, _euiThemeCommon.computed)(function (_ref149) {
|
|
417
|
+
var _ref150 = _slicedToArray(_ref149, 1),
|
|
418
|
+
text = _ref150[0];
|
|
218
419
|
return text;
|
|
219
420
|
}, ['colors.text']),
|
|
220
|
-
textColorDisabled: (0, _euiThemeCommon.computed)(function (
|
|
221
|
-
var
|
|
222
|
-
disabledText =
|
|
421
|
+
textColorDisabled: (0, _euiThemeCommon.computed)(function (_ref151) {
|
|
422
|
+
var _ref152 = _slicedToArray(_ref151, 1),
|
|
423
|
+
disabledText = _ref152[0];
|
|
223
424
|
return disabledText;
|
|
224
425
|
}, ['colors.disabledText']),
|
|
225
|
-
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (
|
|
226
|
-
var
|
|
227
|
-
primary =
|
|
228
|
-
ghost =
|
|
229
|
-
ink =
|
|
426
|
+
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref153) {
|
|
427
|
+
var _ref154 = _slicedToArray(_ref153, 3),
|
|
428
|
+
primary = _ref154[0],
|
|
429
|
+
ghost = _ref154[1],
|
|
430
|
+
ink = _ref154[2];
|
|
230
431
|
return isDark(primary) ? ghost : ink;
|
|
231
432
|
}, ['colors.primary', 'colors.ghost', 'colors.ink']),
|
|
232
|
-
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
233
|
-
var
|
|
234
|
-
accent =
|
|
235
|
-
ghost =
|
|
236
|
-
ink =
|
|
433
|
+
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (_ref155) {
|
|
434
|
+
var _ref156 = _slicedToArray(_ref155, 3),
|
|
435
|
+
accent = _ref156[0],
|
|
436
|
+
ghost = _ref156[1],
|
|
437
|
+
ink = _ref156[2];
|
|
237
438
|
return isDark(accent) ? ghost : ink;
|
|
238
439
|
}, ['colors.accent', 'colors.ghost', 'colors.ink']),
|
|
239
|
-
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
240
|
-
var
|
|
241
|
-
success =
|
|
242
|
-
ghost =
|
|
243
|
-
ink =
|
|
440
|
+
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref157) {
|
|
441
|
+
var _ref158 = _slicedToArray(_ref157, 3),
|
|
442
|
+
success = _ref158[0],
|
|
443
|
+
ghost = _ref158[1],
|
|
444
|
+
ink = _ref158[2];
|
|
244
445
|
var background = (0, _manipulation.tint)(success, 0.3);
|
|
245
446
|
return isDark(background) ? ghost : ink;
|
|
246
447
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
247
|
-
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (
|
|
248
|
-
var
|
|
249
|
-
ghost =
|
|
250
|
-
ink =
|
|
448
|
+
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (_ref159) {
|
|
449
|
+
var _ref160 = _slicedToArray(_ref159, 2),
|
|
450
|
+
ghost = _ref160[0],
|
|
451
|
+
ink = _ref160[1];
|
|
251
452
|
var background = (0, _manipulation.tint)(_colors_severity.severityColors.neutral, 0.3);
|
|
252
453
|
return isDark(background) ? ghost : ink;
|
|
253
454
|
}, ['colors.ghost', 'colors.ink']),
|
|
254
|
-
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
255
|
-
var
|
|
256
|
-
success =
|
|
257
|
-
ghost =
|
|
258
|
-
ink =
|
|
455
|
+
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref161) {
|
|
456
|
+
var _ref162 = _slicedToArray(_ref161, 3),
|
|
457
|
+
success = _ref162[0],
|
|
458
|
+
ghost = _ref162[1],
|
|
459
|
+
ink = _ref162[2];
|
|
259
460
|
var background = (0, _manipulation.tint)(success, 0.3);
|
|
260
461
|
return isDark(background) ? ghost : ink;
|
|
261
462
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
262
|
-
textColorFilledWarning: (0, _euiThemeCommon.computed)(function (
|
|
263
|
-
var
|
|
264
|
-
warning =
|
|
265
|
-
ghost =
|
|
266
|
-
ink =
|
|
463
|
+
textColorFilledWarning: (0, _euiThemeCommon.computed)(function (_ref163) {
|
|
464
|
+
var _ref164 = _slicedToArray(_ref163, 3),
|
|
465
|
+
warning = _ref164[0],
|
|
466
|
+
ghost = _ref164[1],
|
|
467
|
+
ink = _ref164[2];
|
|
267
468
|
return isDark(warning) ? ghost : ink;
|
|
268
469
|
}, ['colors.warning', 'colors.ghost', 'colors.ink']),
|
|
269
|
-
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (
|
|
270
|
-
var
|
|
271
|
-
ghost =
|
|
272
|
-
ink =
|
|
470
|
+
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (_ref165) {
|
|
471
|
+
var _ref166 = _slicedToArray(_ref165, 2),
|
|
472
|
+
ghost = _ref166[0],
|
|
473
|
+
ink = _ref166[1];
|
|
273
474
|
var background = (0, _manipulation.tint)(_colors_severity.severityColors.risk, 0.3);
|
|
274
475
|
return isDark(background) ? ghost : ink;
|
|
275
476
|
}, ['colors.ghost', 'colors.ink']),
|
|
276
|
-
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (
|
|
277
|
-
var
|
|
278
|
-
danger =
|
|
279
|
-
ghost =
|
|
280
|
-
ink =
|
|
477
|
+
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (_ref167) {
|
|
478
|
+
var _ref168 = _slicedToArray(_ref167, 3),
|
|
479
|
+
danger = _ref168[0],
|
|
480
|
+
ghost = _ref168[1],
|
|
481
|
+
ink = _ref168[2];
|
|
281
482
|
return isDark(danger) ? ghost : ink;
|
|
282
483
|
}, ['colors.danger', 'colors.ghost', 'colors.ink']),
|
|
283
|
-
textColorFilledText: (0, _euiThemeCommon.computed)(function (
|
|
284
|
-
var
|
|
285
|
-
darkShade =
|
|
286
|
-
ghost =
|
|
287
|
-
ink =
|
|
484
|
+
textColorFilledText: (0, _euiThemeCommon.computed)(function (_ref169) {
|
|
485
|
+
var _ref170 = _slicedToArray(_ref169, 3),
|
|
486
|
+
darkShade = _ref170[0],
|
|
487
|
+
ghost = _ref170[1],
|
|
488
|
+
ink = _ref170[2];
|
|
288
489
|
return isDark(darkShade) ? ghost : ink;
|
|
289
490
|
}, ['colors.darkShade', 'colors.ghost', 'colors.ink']),
|
|
290
|
-
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
291
|
-
var
|
|
292
|
-
disabledText =
|
|
491
|
+
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref171) {
|
|
492
|
+
var _ref172 = _slicedToArray(_ref171, 1),
|
|
493
|
+
disabledText = _ref172[0];
|
|
293
494
|
return disabledText;
|
|
294
495
|
}, ['colors.disabledText'])
|
|
295
496
|
};
|
|
296
497
|
var _dark_buttons = _objectSpread(_objectSpread({}, _buttons), {}, {
|
|
297
|
-
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
298
|
-
var
|
|
299
|
-
lightShade =
|
|
498
|
+
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref173) {
|
|
499
|
+
var _ref174 = _slicedToArray(_ref173, 1),
|
|
500
|
+
lightShade = _ref174[0];
|
|
300
501
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
301
502
|
}, ['colors.lightShade']),
|
|
302
|
-
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (
|
|
303
|
-
var
|
|
304
|
-
lightShade =
|
|
503
|
+
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref175) {
|
|
504
|
+
var _ref176 = _slicedToArray(_ref175, 1),
|
|
505
|
+
lightShade = _ref176[0];
|
|
305
506
|
return (0, _manipulation.transparentize)(lightShade, 0.4);
|
|
306
507
|
}, ['colors.lightShade']),
|
|
307
|
-
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
308
|
-
var
|
|
309
|
-
accent =
|
|
310
|
-
ghost =
|
|
311
|
-
ink =
|
|
508
|
+
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (_ref177) {
|
|
509
|
+
var _ref178 = _slicedToArray(_ref177, 3),
|
|
510
|
+
accent = _ref178[0],
|
|
511
|
+
ghost = _ref178[1],
|
|
512
|
+
ink = _ref178[2];
|
|
312
513
|
return isDark(accent) ? ghost : ink;
|
|
313
514
|
}, ['colors.accent', 'colors.ghost', 'colors.ink']),
|
|
314
|
-
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
315
|
-
var
|
|
316
|
-
success =
|
|
317
|
-
ghost =
|
|
318
|
-
ink =
|
|
515
|
+
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref179) {
|
|
516
|
+
var _ref180 = _slicedToArray(_ref179, 3),
|
|
517
|
+
success = _ref180[0],
|
|
518
|
+
ghost = _ref180[1],
|
|
519
|
+
ink = _ref180[2];
|
|
319
520
|
return isDark(success) ? ghost : ink;
|
|
320
521
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
321
|
-
textColorFilledText: (0, _euiThemeCommon.computed)(function (
|
|
322
|
-
var
|
|
323
|
-
text =
|
|
324
|
-
ghost =
|
|
325
|
-
ink =
|
|
522
|
+
textColorFilledText: (0, _euiThemeCommon.computed)(function (_ref181) {
|
|
523
|
+
var _ref182 = _slicedToArray(_ref181, 3),
|
|
524
|
+
text = _ref182[0],
|
|
525
|
+
ghost = _ref182[1],
|
|
526
|
+
ink = _ref182[2];
|
|
326
527
|
return isDark(text) ? ghost : ink;
|
|
327
528
|
}, ['colors.text', 'colors.ghost', 'colors.ink'])
|
|
328
529
|
});
|