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