@elastic/eui 99.2.0-borealis.0 → 99.3.0-borealis.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_light.json +2 -2
- package/es/components/accordion/accordion.js +2 -1
- package/es/components/accordion/accordion_children/accordion_children.js +20 -7
- package/es/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/es/components/basic_table/basic_table.js +135 -2
- package/es/components/basic_table/in_memory_table.js +131 -1
- package/es/components/bottom_bar/bottom_bar.styles.js +1 -1
- package/es/components/button/button_icon/button_icon.styles.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/call_out/call_out.styles.js +5 -4
- package/es/components/code/code.styles.js +1 -1
- package/es/components/code/code_syntax.styles.js +1 -0
- package/es/components/code/utils.js +5 -2
- package/es/components/datagrid/data_grid.stories.utils.js +0 -1090
- package/es/components/date_picker/date_picker.styles.js +1 -1
- package/es/components/date_picker/date_picker_range.styles.js +1 -1
- package/es/components/date_picker/react_date_picker.styles.js +1 -1
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/es/components/expression/expression.styles.js +13 -13
- package/es/components/flyout/_flyout_close_button.styles.js +1 -1
- package/es/components/flyout/flyout.styles.js +1 -1
- package/es/components/header/header.styles.js +1 -1
- package/es/components/image/image.styles.js +1 -1
- package/es/components/image/image_button.styles.js +1 -1
- package/es/components/inline_edit/inline_edit_form.js +4 -4
- package/es/components/inline_edit/inline_edit_text.js +4 -4
- package/es/components/inline_edit/inline_edit_title.js +4 -4
- package/es/components/key_pad_menu/key_pad_menu_item.styles.js +9 -6
- package/es/components/link/link.styles.js +6 -6
- package/es/components/modal/modal.styles.js +1 -1
- package/es/components/page_template/inner/page_inner.styles.js +1 -1
- package/es/components/pagination/pagination.styles.js +2 -2
- package/es/components/panel/panel.styles.js +1 -1
- package/es/components/popover/popover_panel/_popover_panel.styles.js +1 -1
- package/es/components/resizable_container/resizable_collapse_button.styles.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -1
- package/es/components/side_nav/side_nav_item.styles.js +5 -5
- package/es/components/stat/stat.styles.js +5 -5
- package/es/components/table/table_cells_shared.styles.js +2 -2
- package/es/components/table/table_header_cell.js +76 -4
- package/es/components/table/table_row.styles.js +1 -1
- package/es/components/tabs/tab.styles.js +2 -2
- package/es/components/text_diff/text_diff.styles.js +1 -1
- package/es/components/toast/toast.styles.js +1 -1
- package/es/components/tool_tip/tool_tip.styles.js +1 -1
- package/es/global_styling/mixins/_shadow.js +31 -0
- package/es/global_styling/mixins/index.js +2 -1
- package/es/global_styling/reset/global_styles.js +1 -1
- package/es/themes/amsterdam/global_styling/functions/shadows.js +1 -10
- package/es/themes/amsterdam/global_styling/mixins/shadow.js +1 -146
- package/es/themes/amsterdam/global_styling/variables/_breakpoint.js +1 -7
- package/es/themes/amsterdam/global_styling/variables/_components.js +267 -262
- package/eui.d.ts +17078 -17082
- package/i18ntokens.json +36 -36
- package/lib/components/accordion/accordion.js +2 -1
- package/lib/components/accordion/accordion_children/accordion_children.js +19 -6
- package/lib/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/lib/components/basic_table/basic_table.js +135 -2
- package/lib/components/basic_table/in_memory_table.js +131 -1
- package/lib/components/bottom_bar/bottom_bar.styles.js +2 -2
- package/lib/components/button/button_icon/button_icon.styles.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/call_out/call_out.styles.js +5 -4
- package/lib/components/code/code.styles.js +1 -1
- package/lib/components/code/code_syntax.styles.js +1 -0
- package/lib/components/code/utils.js +6 -1
- package/lib/components/datagrid/data_grid.stories.utils.js +1 -1092
- package/lib/components/date_picker/date_picker.styles.js +2 -2
- package/lib/components/date_picker/date_picker_range.styles.js +2 -2
- package/lib/components/date_picker/react_date_picker.styles.js +2 -2
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/lib/components/expression/expression.styles.js +13 -13
- package/lib/components/flyout/_flyout_close_button.styles.js +2 -2
- package/lib/components/flyout/flyout.styles.js +2 -2
- package/lib/components/header/header.styles.js +2 -2
- package/lib/components/image/image.styles.js +2 -2
- package/lib/components/image/image_button.styles.js +3 -3
- package/lib/components/inline_edit/inline_edit_form.js +4 -4
- package/lib/components/inline_edit/inline_edit_text.js +4 -4
- package/lib/components/inline_edit/inline_edit_title.js +4 -4
- package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +9 -6
- package/lib/components/link/link.styles.js +6 -6
- package/lib/components/modal/modal.styles.js +3 -3
- package/lib/components/page_template/inner/page_inner.styles.js +2 -2
- package/lib/components/pagination/pagination.styles.js +2 -2
- package/lib/components/panel/panel.styles.js +3 -3
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
- package/lib/components/resizable_container/resizable_collapse_button.styles.js +2 -2
- package/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -1
- package/lib/components/side_nav/side_nav_item.styles.js +5 -5
- package/lib/components/stat/stat.styles.js +5 -5
- package/lib/components/table/table_cells_shared.styles.js +2 -2
- package/lib/components/table/table_header_cell.js +79 -8
- package/lib/components/table/table_row.styles.js +2 -2
- package/lib/components/tabs/tab.styles.js +2 -2
- package/lib/components/text_diff/text_diff.styles.js +1 -1
- package/lib/components/toast/toast.styles.js +2 -2
- package/lib/components/tool_tip/tool_tip.styles.js +2 -2
- package/lib/global_styling/mixins/_shadow.js +84 -0
- package/lib/global_styling/mixins/index.js +11 -0
- package/lib/global_styling/reset/global_styles.js +1 -1
- package/lib/themes/amsterdam/global_styling/functions/shadows.js +7 -19
- package/lib/themes/amsterdam/global_styling/mixins/shadow.js +10 -154
- package/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +7 -16
- package/lib/themes/amsterdam/global_styling/variables/_components.js +267 -262
- package/optimize/es/components/accordion/accordion.js +2 -1
- package/optimize/es/components/accordion/accordion_children/accordion_children.js +20 -7
- package/optimize/es/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/optimize/es/components/basic_table/basic_table.js +4 -1
- package/optimize/es/components/bottom_bar/bottom_bar.styles.js +1 -1
- package/optimize/es/components/button/button_icon/button_icon.styles.js +1 -1
- package/optimize/es/components/call_out/call_out.js +1 -1
- package/optimize/es/components/call_out/call_out.styles.js +5 -4
- package/optimize/es/components/code/code.styles.js +1 -1
- package/optimize/es/components/code/code_syntax.styles.js +1 -0
- package/optimize/es/components/code/utils.js +5 -2
- package/optimize/es/components/datagrid/data_grid.stories.utils.js +0 -18
- package/optimize/es/components/date_picker/date_picker.styles.js +1 -1
- package/optimize/es/components/date_picker/date_picker_range.styles.js +1 -1
- package/optimize/es/components/date_picker/react_date_picker.styles.js +1 -1
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/optimize/es/components/expression/expression.styles.js +13 -13
- package/optimize/es/components/flyout/_flyout_close_button.styles.js +1 -1
- package/optimize/es/components/flyout/flyout.styles.js +1 -1
- package/optimize/es/components/header/header.styles.js +1 -1
- package/optimize/es/components/image/image.styles.js +1 -1
- package/optimize/es/components/image/image_button.styles.js +1 -1
- package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +9 -6
- package/optimize/es/components/link/link.styles.js +6 -6
- package/optimize/es/components/modal/modal.styles.js +1 -1
- package/optimize/es/components/page_template/inner/page_inner.styles.js +1 -1
- package/optimize/es/components/pagination/pagination.styles.js +2 -2
- package/optimize/es/components/panel/panel.styles.js +1 -1
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +1 -1
- package/optimize/es/components/resizable_container/resizable_collapse_button.styles.js +1 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -1
- package/optimize/es/components/side_nav/side_nav_item.styles.js +5 -5
- package/optimize/es/components/stat/stat.styles.js +5 -5
- package/optimize/es/components/table/table_cells_shared.styles.js +2 -2
- package/optimize/es/components/table/table_header_cell.js +14 -3
- package/optimize/es/components/table/table_row.styles.js +1 -1
- package/optimize/es/components/tabs/tab.styles.js +2 -2
- package/optimize/es/components/text_diff/text_diff.styles.js +1 -1
- package/optimize/es/components/toast/toast.styles.js +1 -1
- package/optimize/es/components/tool_tip/tool_tip.styles.js +1 -1
- package/optimize/es/global_styling/mixins/_shadow.js +31 -0
- package/optimize/es/global_styling/mixins/index.js +2 -1
- package/optimize/es/global_styling/reset/global_styles.js +1 -1
- package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +1 -10
- package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +1 -146
- package/optimize/es/themes/amsterdam/global_styling/variables/_breakpoint.js +1 -7
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +267 -262
- package/optimize/lib/components/accordion/accordion.js +2 -1
- package/optimize/lib/components/accordion/accordion_children/accordion_children.js +19 -6
- package/optimize/lib/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/optimize/lib/components/basic_table/basic_table.js +4 -1
- package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +2 -2
- package/optimize/lib/components/button/button_icon/button_icon.styles.js +1 -1
- package/optimize/lib/components/call_out/call_out.js +1 -1
- package/optimize/lib/components/call_out/call_out.styles.js +5 -4
- package/optimize/lib/components/code/code.styles.js +1 -1
- package/optimize/lib/components/code/code_syntax.styles.js +1 -0
- package/optimize/lib/components/code/utils.js +6 -1
- package/optimize/lib/components/datagrid/data_grid.stories.utils.js +1 -19
- package/optimize/lib/components/date_picker/date_picker.styles.js +2 -2
- package/optimize/lib/components/date_picker/date_picker_range.styles.js +2 -2
- package/optimize/lib/components/date_picker/react_date_picker.styles.js +2 -2
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/optimize/lib/components/expression/expression.styles.js +13 -13
- package/optimize/lib/components/flyout/_flyout_close_button.styles.js +2 -2
- package/optimize/lib/components/flyout/flyout.styles.js +2 -2
- package/optimize/lib/components/header/header.styles.js +2 -2
- package/optimize/lib/components/image/image.styles.js +2 -2
- package/optimize/lib/components/image/image_button.styles.js +3 -3
- package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +9 -6
- package/optimize/lib/components/link/link.styles.js +6 -6
- package/optimize/lib/components/modal/modal.styles.js +3 -3
- package/optimize/lib/components/page_template/inner/page_inner.styles.js +2 -2
- package/optimize/lib/components/pagination/pagination.styles.js +2 -2
- package/optimize/lib/components/panel/panel.styles.js +3 -3
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
- package/optimize/lib/components/resizable_container/resizable_collapse_button.styles.js +2 -2
- package/optimize/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -1
- package/optimize/lib/components/side_nav/side_nav_item.styles.js +5 -5
- package/optimize/lib/components/stat/stat.styles.js +5 -5
- package/optimize/lib/components/table/table_cells_shared.styles.js +2 -2
- package/optimize/lib/components/table/table_header_cell.js +14 -3
- package/optimize/lib/components/table/table_row.styles.js +2 -2
- package/optimize/lib/components/tabs/tab.styles.js +2 -2
- package/optimize/lib/components/text_diff/text_diff.styles.js +1 -1
- package/optimize/lib/components/toast/toast.styles.js +2 -2
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +2 -2
- package/optimize/lib/global_styling/mixins/_shadow.js +84 -0
- package/optimize/lib/global_styling/mixins/index.js +11 -0
- package/optimize/lib/global_styling/reset/global_styles.js +1 -1
- package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +7 -19
- package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +10 -154
- package/optimize/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +7 -16
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +267 -262
- package/package.json +5 -4
- package/src/global_styling/functions/_colors.scss +3 -3
- package/src/global_styling/mixins/_shadow.scss +1 -1
- package/src/global_styling/mixins/_typography.scss +2 -2
- package/src/global_styling/variables/_index.scss +0 -1
- package/test-env/components/accordion/accordion.js +2 -1
- package/test-env/components/accordion/accordion_children/accordion_children.js +19 -6
- package/test-env/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/test-env/components/basic_table/basic_table.js +135 -2
- package/test-env/components/basic_table/in_memory_table.js +131 -1
- package/test-env/components/bottom_bar/bottom_bar.styles.js +2 -2
- package/test-env/components/button/button_icon/button_icon.styles.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/call_out/call_out.styles.js +5 -4
- package/test-env/components/code/code.styles.js +1 -1
- package/test-env/components/code/code_syntax.styles.js +1 -0
- package/test-env/components/code/utils.js +6 -1
- package/test-env/components/datagrid/data_grid.stories.utils.js +1 -1091
- package/test-env/components/date_picker/date_picker.styles.js +2 -2
- package/test-env/components/date_picker/date_picker_range.styles.js +2 -2
- package/test-env/components/date_picker/react_date_picker.styles.js +2 -2
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/test-env/components/expression/expression.styles.js +13 -13
- package/test-env/components/flyout/_flyout_close_button.styles.js +2 -2
- package/test-env/components/flyout/flyout.styles.js +2 -2
- package/test-env/components/header/header.styles.js +2 -2
- package/test-env/components/image/image.styles.js +2 -2
- package/test-env/components/image/image_button.styles.js +3 -3
- package/test-env/components/inline_edit/inline_edit_form.js +4 -4
- package/test-env/components/inline_edit/inline_edit_text.js +4 -4
- package/test-env/components/inline_edit/inline_edit_title.js +4 -4
- package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +9 -6
- package/test-env/components/link/link.styles.js +6 -6
- package/test-env/components/modal/modal.styles.js +3 -3
- package/test-env/components/page_template/inner/page_inner.styles.js +2 -2
- package/test-env/components/pagination/pagination.styles.js +2 -2
- package/test-env/components/panel/panel.styles.js +3 -3
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +4 -4
- package/test-env/components/resizable_container/resizable_collapse_button.styles.js +2 -2
- package/test-env/components/selectable/selectable_list/selectable_list_item.styles.js +1 -1
- package/test-env/components/side_nav/side_nav_item.styles.js +5 -5
- package/test-env/components/stat/stat.styles.js +5 -5
- package/test-env/components/table/table_cells_shared.styles.js +2 -2
- package/test-env/components/table/table_header_cell.js +76 -4
- package/test-env/components/table/table_row.styles.js +2 -2
- package/test-env/components/tabs/tab.styles.js +2 -2
- package/test-env/components/text_diff/text_diff.styles.js +1 -1
- package/test-env/components/toast/toast.styles.js +2 -2
- package/test-env/components/tool_tip/tool_tip.styles.js +2 -2
- package/test-env/global_styling/mixins/_shadow.js +84 -0
- package/test-env/global_styling/mixins/index.js +11 -0
- package/test-env/global_styling/reset/global_styles.js +1 -1
- package/test-env/services/breakpoint/current_breakpoint_hook.js +3 -3
- package/test-env/themes/amsterdam/global_styling/functions/shadows.js +7 -19
- package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +10 -154
- package/test-env/themes/amsterdam/global_styling/variables/_breakpoint.js +7 -16
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +267 -262
- package/es/global_styling/variables/_colors_vis.js +0 -9
- package/lib/global_styling/variables/_colors_vis.js +0 -12
- package/optimize/es/global_styling/variables/_colors_vis.js +0 -9
- package/optimize/lib/global_styling/variables/_colors_vis.js +0 -12
- package/src/global_styling/variables/_colors_vis.scss +0 -3
- package/test-env/global_styling/variables/_colors_vis.js +0 -12
|
@@ -8,8 +8,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
+
import { euiShadowMedium } from '@elastic/eui-theme-common';
|
|
11
12
|
import { logicalCSS } from '../../global_styling';
|
|
12
|
-
import { euiShadowMedium } from '../../themes/amsterdam/global_styling/mixins';
|
|
13
13
|
import { euiFormControlDisabledStyles, euiFormControlReadOnlyStyles, euiFormControlDefaultShadow, euiFormControlInvalidStyles } from '../form/form.styles';
|
|
14
14
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
15
15
|
name: "1gj9wh1-euiDatePicker",
|
|
@@ -8,8 +8,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
+
import { euiShadowMedium } from '@elastic/eui-theme-common';
|
|
11
12
|
import { logicalCSS } from '../../global_styling';
|
|
12
|
-
import { euiShadowMedium } from '../../themes/amsterdam/global_styling/mixins';
|
|
13
13
|
export var euiDatePickerRangeStyles = {
|
|
14
14
|
euiDatePickerRange: /*#__PURE__*/css(".euiPopover,.react-datepicker__input-container,.euiDatePicker{", logicalCSS('height', '100%'), ";}.euiPopover{flex:1;};label:euiDatePickerRange;")
|
|
15
15
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
// Needs to use vanilla `css` to pass a className directly to react-datepicker
|
|
10
10
|
import { css } from '@emotion/css';
|
|
11
|
+
import { euiShadowSmall } from '@elastic/eui-theme-common';
|
|
11
12
|
import { euiCanAnimate, euiMaxBreakpoint, euiFontSize, euiYScroll, logicalCSS, mathWithUnits } from '../../global_styling';
|
|
12
13
|
import { euiButtonColor, euiButtonEmptyColor, euiButtonFillColor } from '../../global_styling/mixins';
|
|
13
|
-
import { euiShadowSmall } from '../../themes/amsterdam/global_styling/mixins';
|
|
14
14
|
import { euiFormControlStyles, euiFormControlText, euiFormControlDefaultShadow } from '../form/form.styles';
|
|
15
15
|
export var euiDatePickerVariables = function euiDatePickerVariables(_ref) {
|
|
16
16
|
var euiTheme = _ref.euiTheme;
|
|
@@ -156,6 +156,9 @@ export var EuiAbsoluteTab = function EuiAbsoluteTab(_ref) {
|
|
|
156
156
|
value: textInputValue,
|
|
157
157
|
onChange: handleTextChange,
|
|
158
158
|
onPaste: function onPaste(event) {
|
|
159
|
+
// preventing default here ensures no additional onChange is
|
|
160
|
+
// triggered which otherwise results in input duplication
|
|
161
|
+
event.preventDefault();
|
|
159
162
|
setTextInputValue(event.clipboardData.getData('text'));
|
|
160
163
|
setIsReadyToParse(true);
|
|
161
164
|
},
|
|
@@ -70,7 +70,7 @@ export var euiSuperDatePickerStyles = function euiSuperDatePickerStyles(euiTheme
|
|
|
70
70
|
euiSuperDatePicker__formControlLayout: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{", euiFormControlDefaultShadow(euiThemeContext), " box-shadow:none;};label:euiSuperDatePicker__formControlLayout;"),
|
|
71
71
|
default: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{color:", forms.textColor, ";background-color:", forms.backgroundColor, ";}.euiDatePopoverButton{", euiFormControlDefaultShadow(euiThemeContext), " box-shadow:none;}.euiDatePopoverButton:focus,.euiPopover-isOpen .euiDatePopoverButton{--euiFormControlStateColor:", euiTheme.colors.primary, ";background-size:100% 100%;};label:default;"),
|
|
72
72
|
disabled: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{", euiFormControlDisabledStyles(euiThemeContext), ";};label:disabled;"),
|
|
73
|
-
invalid: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{color:", euiTheme.colors.
|
|
73
|
+
invalid: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{color:", euiTheme.colors.textDanger, ";background-color:", forms.backgroundColor, ";", euiFormControlInvalidStyles(euiThemeContext), ";};label:invalid;"),
|
|
74
74
|
needsUpdating: /*#__PURE__*/css(".euiFormControlLayout__childrenWrapper{color:", needsUpdatingTextColor, ";background-color:", needsUpdatingBackgroundColor, ";}.euiFormControlLayoutDelimited__delimiter{color:inherit;}.euiDatePopoverButton{", euiFormControlDefaultShadow(euiThemeContext), " background-color:inherit;box-shadow:none;}.euiDatePopoverButton:focus,.euiPopover-isOpen .euiDatePopoverButton{--euiFormControlStateColor:", euiTheme.colors.success, ";background-size:100% 100%;};label:needsUpdating;")
|
|
75
75
|
}
|
|
76
76
|
};
|
|
@@ -27,19 +27,19 @@ export var euiExpressionStyles = function euiExpressionStyles(euiThemeContext) {
|
|
|
27
27
|
isClickable: /*#__PURE__*/css("cursor:pointer;", logicalCSS('border-bottom', euiTheme.border.editable), " &[class*='-columns']{background-color:", euiTheme.colors.lightestShade, ";&:focus,&:hover:not(:disabled){[class*='euiExpression__description'],[class*='euiExpression__value']{text-decoration:underline;}}};label:isClickable;"),
|
|
28
28
|
isActive: {
|
|
29
29
|
base: /*#__PURE__*/css(logicalCSS('border-bottom-style', 'solid'), ";;label:base;"),
|
|
30
|
-
subdued: /*#__PURE__*/css("border-color:", euiTheme.colors.
|
|
30
|
+
subdued: /*#__PURE__*/css("border-color:", euiTheme.colors.textSubdued, ";;label:subdued;"),
|
|
31
31
|
primary: /*#__PURE__*/css("border-color:", euiTheme.colors.primary, ";;label:primary;"),
|
|
32
32
|
success: /*#__PURE__*/css("border-color:", euiTheme.colors.success, ";;label:success;"),
|
|
33
33
|
warning: /*#__PURE__*/css("border-color:", euiTheme.colors.warning, ";;label:warning;"),
|
|
34
34
|
danger: /*#__PURE__*/css("border-color:", euiTheme.colors.danger, ";;label:danger;"),
|
|
35
35
|
accent: /*#__PURE__*/css("border-color:", euiTheme.colors.accent, ";;label:accent;")
|
|
36
36
|
},
|
|
37
|
-
subdued: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
38
|
-
primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
39
|
-
success: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
40
|
-
warning: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
41
|
-
danger: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
42
|
-
accent: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
37
|
+
subdued: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textSubdued), ";label:subdued;"),
|
|
38
|
+
primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textPrimary), ";label:primary;"),
|
|
39
|
+
success: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textSuccess), ";label:success;"),
|
|
40
|
+
warning: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textWarning), ";label:warning;"),
|
|
41
|
+
danger: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textDanger), ";label:danger;"),
|
|
42
|
+
accent: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textAccent), ";label:accent;")
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
@@ -55,12 +55,12 @@ export var euiExpressionDescriptionStyles = function euiExpressionDescriptionSty
|
|
|
55
55
|
return {
|
|
56
56
|
euiExpression__description: /*#__PURE__*/css(";label:euiExpression__description;"),
|
|
57
57
|
truncate: /*#__PURE__*/css(euiTextTruncate(), " display:inline-block;vertical-align:bottom;;label:truncate;"),
|
|
58
|
-
subdued: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
59
|
-
primary: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
60
|
-
success: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
61
|
-
warning: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
62
|
-
danger: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
63
|
-
accent: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
58
|
+
subdued: /*#__PURE__*/css("color:", euiTheme.colors.textSubdued, ";;label:subdued;"),
|
|
59
|
+
primary: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";;label:primary;"),
|
|
60
|
+
success: /*#__PURE__*/css("color:", euiTheme.colors.textSuccess, ";;label:success;"),
|
|
61
|
+
warning: /*#__PURE__*/css("color:", euiTheme.colors.textWarning, ";;label:warning;"),
|
|
62
|
+
danger: /*#__PURE__*/css("color:", euiTheme.colors.textDanger, ";;label:danger;"),
|
|
63
|
+
accent: /*#__PURE__*/css("color:", euiTheme.colors.textAccent, ";;label:accent;"),
|
|
64
64
|
isUppercase: _ref2,
|
|
65
65
|
columns: /*#__PURE__*/css(logicalTextAlignCSS('right'), " ", logicalCSS('margin-right', euiTheme.size.s), " flex-shrink:0;;label:columns;")
|
|
66
66
|
};
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
+
import { euiShadowXLarge } from '@elastic/eui-theme-common';
|
|
10
11
|
import { euiMaxBreakpoint, euiMinBreakpoint, logicalCSS } from '../../global_styling';
|
|
11
|
-
import { euiShadowXLarge } from '../../themes/amsterdam/global_styling/mixins';
|
|
12
12
|
import { FLYOUT_BREAKPOINT } from './flyout.styles';
|
|
13
13
|
export var euiFlyoutCloseButtonStyles = function euiFlyoutCloseButtonStyles(euiThemeContext) {
|
|
14
14
|
var euiTheme = euiThemeContext.euiTheme;
|
|
@@ -10,8 +10,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import { css, keyframes } from '@emotion/react';
|
|
13
|
+
import { euiShadowXLarge } from '@elastic/eui-theme-common';
|
|
13
14
|
import { euiCanAnimate, euiMaxBreakpoint, euiMinBreakpoint, logicalCSS, mathWithUnits } from '../../global_styling';
|
|
14
|
-
import { euiShadowXLarge } from '../../themes/amsterdam/global_styling/mixins';
|
|
15
15
|
import { euiFormMaxWidth } from '../form/form.styles';
|
|
16
16
|
export var FLYOUT_BREAKPOINT = 'm';
|
|
17
17
|
export var euiFlyoutSlideInRight = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n opacity: 0;\n transform: translateX(100%);\n }\n 75% {\n opacity: 1;\n transform: translateX(0%);\n }\n"])));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { euiShadowSmall } from '
|
|
10
|
+
import { euiShadowSmall } from '@elastic/eui-theme-common';
|
|
11
11
|
import { logicalCSS } from '../../global_styling';
|
|
12
12
|
import { makeHighContrastColor } from '../../services';
|
|
13
13
|
export var euiHeaderVariables = function euiHeaderVariables(euiThemeContext) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
10
11
|
import { logicalCSS } from '../../global_styling';
|
|
11
|
-
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
|
|
12
12
|
export var euiImageStyles = function euiImageStyles(euiThemeContext) {
|
|
13
13
|
return {
|
|
14
14
|
euiImage: /*#__PURE__*/css("vertical-align:middle;", logicalCSS('max-width', '100%'), " &,[class*='euiText'] &{", logicalCSS('margin-bottom', 0), ";};label:euiImage;"),
|
|
@@ -8,8 +8,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
11
12
|
import { euiFocusRing, logicalCSS, euiCanAnimate } from '../../global_styling';
|
|
12
|
-
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
|
|
13
13
|
export var euiImageButtonStyles = function euiImageButtonStyles(euiThemeContext) {
|
|
14
14
|
var euiTheme = euiThemeContext.euiTheme;
|
|
15
15
|
return {
|
|
@@ -363,6 +363,10 @@ EuiInlineEditForm.propTypes = {
|
|
|
363
363
|
* Initial inline edit text value
|
|
364
364
|
*/
|
|
365
365
|
defaultValue: PropTypes.string,
|
|
366
|
+
/**
|
|
367
|
+
* Callback required to reset `value` to the previous read mode text value.
|
|
368
|
+
*/
|
|
369
|
+
onCancel: PropTypes.oneOfType([PropTypes.func, PropTypes.func.isRequired]),
|
|
366
370
|
/**
|
|
367
371
|
* To use inline edit as a controlled component, continuously pass the value via this prop
|
|
368
372
|
*/
|
|
@@ -371,10 +375,6 @@ EuiInlineEditForm.propTypes = {
|
|
|
371
375
|
* Callback required to receive and update `value` based on user input
|
|
372
376
|
*/
|
|
373
377
|
onChange: PropTypes.func,
|
|
374
|
-
/**
|
|
375
|
-
* Callback required to reset `value` to the previous read mode text value.
|
|
376
|
-
*/
|
|
377
|
-
onCancel: PropTypes.func,
|
|
378
378
|
/**
|
|
379
379
|
* Form sizes
|
|
380
380
|
*/
|
|
@@ -111,6 +111,10 @@ EuiInlineEditText.propTypes = {
|
|
|
111
111
|
* Initial inline edit text value
|
|
112
112
|
*/
|
|
113
113
|
defaultValue: PropTypes.string,
|
|
114
|
+
/**
|
|
115
|
+
* Callback required to reset `value` to the previous read mode text value.
|
|
116
|
+
*/
|
|
117
|
+
onCancel: PropTypes.oneOfType([PropTypes.func, PropTypes.func.isRequired]),
|
|
114
118
|
/**
|
|
115
119
|
* To use inline edit as a controlled component, continuously pass the value via this prop
|
|
116
120
|
*/
|
|
@@ -119,10 +123,6 @@ EuiInlineEditText.propTypes = {
|
|
|
119
123
|
* Callback required to receive and update `value` based on user input
|
|
120
124
|
*/
|
|
121
125
|
onChange: PropTypes.func,
|
|
122
|
-
/**
|
|
123
|
-
* Callback required to reset `value` to the previous read mode text value.
|
|
124
|
-
*/
|
|
125
|
-
onCancel: PropTypes.func,
|
|
126
126
|
/**
|
|
127
127
|
* Text size level
|
|
128
128
|
*/
|
|
@@ -120,6 +120,10 @@ EuiInlineEditTitle.propTypes = {
|
|
|
120
120
|
* Initial inline edit text value
|
|
121
121
|
*/
|
|
122
122
|
defaultValue: PropTypes.string,
|
|
123
|
+
/**
|
|
124
|
+
* Callback required to reset `value` to the previous read mode text value.
|
|
125
|
+
*/
|
|
126
|
+
onCancel: PropTypes.oneOfType([PropTypes.func, PropTypes.func.isRequired]),
|
|
123
127
|
/**
|
|
124
128
|
* To use inline edit as a controlled component, continuously pass the value via this prop
|
|
125
129
|
*/
|
|
@@ -128,10 +132,6 @@ EuiInlineEditTitle.propTypes = {
|
|
|
128
132
|
* Callback required to receive and update `value` based on user input
|
|
129
133
|
*/
|
|
130
134
|
onChange: PropTypes.func,
|
|
131
|
-
/**
|
|
132
|
-
* Callback required to reset `value` to the previous read mode text value.
|
|
133
|
-
*/
|
|
134
|
-
onCancel: PropTypes.func,
|
|
135
135
|
/**
|
|
136
136
|
* Title size level
|
|
137
137
|
*/
|
|
@@ -7,21 +7,24 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
10
11
|
import { logicalCSS, logicalSizeCSS, euiCanAnimate, euiFontSize } from '../../global_styling';
|
|
11
|
-
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
|
|
12
12
|
import { euiScreenReaderOnly } from '../accessibility';
|
|
13
13
|
import { euiKeyPadMenuVariables } from './key_pad_menu.styles';
|
|
14
14
|
export var euiKeyPadMenuItemStyles = function euiKeyPadMenuItemStyles(euiThemeContext) {
|
|
15
|
+
var _euiTheme$flags;
|
|
15
16
|
var euiTheme = euiThemeContext.euiTheme;
|
|
16
17
|
var _euiKeyPadMenuVariabl = euiKeyPadMenuVariables(euiThemeContext),
|
|
17
18
|
euiKeyPadMenuSize = _euiKeyPadMenuVariabl.euiKeyPadMenuSize;
|
|
19
|
+
var hasVisColorAdjustment = (_euiTheme$flags = euiTheme.flags) === null || _euiTheme$flags === void 0 ? void 0 : _euiTheme$flags.hasVisColorAdjustment;
|
|
20
|
+
var focusTransformStyles = "\n ".concat(euiShadow(euiThemeContext, 's'), ";\n\n ").concat(euiCanAnimate, " {\n .euiKeyPadMenuItem__icon {\n transform: translateY(0);\n }\n }\n ");
|
|
18
21
|
return {
|
|
19
|
-
euiKeyPadMenuItem: /*#__PURE__*/css("display:block;padding:", euiTheme.size.xs, ";", logicalSizeCSS(euiKeyPadMenuSize), " border-radius:", euiTheme.border.radius.medium, ";color:", euiTheme.colors.
|
|
20
|
-
enabled: /*#__PURE__*/css("&:hover,&:focus,&:focus-within{cursor:pointer;text-decoration:underline;",
|
|
21
|
-
selected: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
22
|
+
euiKeyPadMenuItem: /*#__PURE__*/css("display:block;padding:", euiTheme.size.xs, ";", logicalSizeCSS(euiKeyPadMenuSize), " border-radius:", euiTheme.border.radius.medium, ";color:", euiTheme.colors.textParagraph, ";", euiCanAnimate, "{transition:background-color ", euiTheme.animation.fast, " ease-in,box-shadow ", euiTheme.animation.fast, " ease-in;};label:euiKeyPadMenuItem;"),
|
|
23
|
+
enabled: /*#__PURE__*/css("&:hover,&:focus,&:focus-within{cursor:pointer;text-decoration:underline;", hasVisColorAdjustment ? focusTransformStyles : "background-color: ".concat(euiTheme.colors.backgroundBaseInteractiveHover), ";}&:focus{box-shadow:none;background-color:", hasVisColorAdjustment ? euiTheme.focus.backgroundColor : euiTheme.colors.backgroundBaseInteractiveHover, ";};label:enabled;"),
|
|
24
|
+
selected: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, ";background-color:", hasVisColorAdjustment ? euiTheme.focus.backgroundColor : '', ";&,&:hover,&:focus,&:focus-within{color:", euiTheme.colors.textPrimary, ";background-color:", !hasVisColorAdjustment ? euiTheme.colors.backgroundBaseInteractiveSelect : '', ";};label:selected;"),
|
|
22
25
|
disabled: {
|
|
23
|
-
disabled: /*#__PURE__*/css("cursor:not-allowed;color:", euiTheme.colors.
|
|
24
|
-
selected: /*#__PURE__*/css("background-color:", euiTheme.components.keyPadMenuItemBackgroundDisabledSelect, ";;label:selected;")
|
|
26
|
+
disabled: /*#__PURE__*/css("cursor:not-allowed;color:", euiTheme.colors.textDisabled, ";.euiKeyPadMenuItem__icon{filter:", hasVisColorAdjustment ? 'grayscale(100%)' : '', ";svg *{fill:", euiTheme.colors.textDisabled, ";}};label:disabled;"),
|
|
27
|
+
selected: /*#__PURE__*/css("background-color:", hasVisColorAdjustment ? euiTheme.components.keyPadMenuItemBackgroundDisabledSelect : euiTheme.colors.backgroundBaseDisabled, ";;label:selected;")
|
|
25
28
|
}
|
|
26
29
|
};
|
|
27
30
|
};
|
|
@@ -27,12 +27,12 @@ export var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
|
|
|
27
27
|
euiLink: /*#__PURE__*/css(euiLinkCSS(euiThemeContext), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
|
|
28
28
|
disabled: _ref,
|
|
29
29
|
// Color styles
|
|
30
|
-
primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
31
|
-
subdued: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
32
|
-
success: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
33
|
-
accent: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
34
|
-
danger: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
35
|
-
warning: /*#__PURE__*/css(_colorCSS(euiTheme.colors.
|
|
30
|
+
primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textPrimary), ";label:primary;"),
|
|
31
|
+
subdued: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textSubdued), ";label:subdued;"),
|
|
32
|
+
success: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textSuccess), ";label:success;"),
|
|
33
|
+
accent: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textAccent), ";label:accent;"),
|
|
34
|
+
danger: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textDanger), ";label:danger;"),
|
|
35
|
+
warning: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textWarning), ";label:warning;"),
|
|
36
36
|
ghost: /*#__PURE__*/css(_colorCSS(euiTheme.colors.ghost), ";label:ghost;"),
|
|
37
37
|
text: /*#__PURE__*/css(_colorCSS(euiTheme.colors.text), ";label:text;")
|
|
38
38
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { euiShadowXLarge } from '
|
|
10
|
+
import { euiShadowXLarge } from '@elastic/eui-theme-common';
|
|
11
11
|
import { euiCanAnimate, euiMaxBreakpoint, euiAnimSlideInUp } from '../../global_styling';
|
|
12
12
|
import { euiFormVariables } from '../form/form.styles';
|
|
13
13
|
export var euiModalStyles = function euiModalStyles(euiThemeContext) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { euiShadow } from '
|
|
10
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
11
11
|
import { logicalCSS } from '../../../global_styling';
|
|
12
12
|
export var euiPageInnerStyles = function euiPageInnerStyles(euiThemeContext) {
|
|
13
13
|
var euiTheme = euiThemeContext.euiTheme;
|
|
@@ -23,8 +23,8 @@ export var euiPaginationStyles = function euiPaginationStyles(euiThemeContext) {
|
|
|
23
23
|
// Base
|
|
24
24
|
euiPagination: /*#__PURE__*/css(euiScrollBarStyles(euiThemeContext), " display:flex;align-items:center;", logicalCSSWithFallback('overflow-y', 'hidden'), " ", logicalCSSWithFallback('overflow-x', 'auto'), ";;label:euiPagination;"),
|
|
25
25
|
// Elements
|
|
26
|
-
euiPagination__compressedText: /*#__PURE__*/css("display:inline-flex;align-items:center;line-height:1;>span{", logicalCSS('margin-horizontal', euiTheme.size.s), " font-weight:", euiTheme.font.weight.semiBold, ";&:first-of-type{color:", euiTheme.colors.
|
|
26
|
+
euiPagination__compressedText: /*#__PURE__*/css("display:inline-flex;align-items:center;line-height:1;>span{", logicalCSS('margin-horizontal', euiTheme.size.s), " font-weight:", euiTheme.font.weight.semiBold, ";&:first-of-type{color:", euiTheme.colors.textPrimary, ";}};label:euiPagination__compressedText;"),
|
|
27
27
|
euiPagination__list: _ref,
|
|
28
|
-
euiPagination__ellipsis: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
28
|
+
euiPagination__ellipsis: /*#__PURE__*/css("color:", euiTheme.colors.textDisabled, ";font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";", logicalCSS('padding-horizontal', euiTheme.size.s), " ", logicalCSS('height', euiTheme.size.l), ";;label:euiPagination__ellipsis;")
|
|
29
29
|
};
|
|
30
30
|
};
|
|
@@ -8,7 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
-
import { euiShadow } from '
|
|
11
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
12
12
|
import { euiCanAnimate, logicalCSS, logicalTextAlignCSS } from '../../global_styling';
|
|
13
13
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
14
14
|
name: "122lw0e-grow",
|
|
@@ -8,7 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
-
import { euiShadow, euiShadowFlat, euiShadowMedium } from '
|
|
11
|
+
import { euiShadow, euiShadowFlat, euiShadowMedium } from '@elastic/eui-theme-common';
|
|
12
12
|
import { euiCanAnimate, logicalCSS, mathWithUnits } from '../../../global_styling';
|
|
13
13
|
export var openAnimationTiming = 'slow';
|
|
14
14
|
|
|
@@ -8,8 +8,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
+
import { euiShadowXSmall, euiSlightShadowHover } from '@elastic/eui-theme-common';
|
|
11
12
|
import { logicalCSS, mathWithUnits } from '../../global_styling';
|
|
12
|
-
import { euiShadowXSmall, euiSlightShadowHover } from '../../themes/amsterdam';
|
|
13
13
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
14
14
|
name: "fuwsll-euiResizableCollapseButton",
|
|
15
15
|
styles: "z-index:2;position:absolute;&:focus{animation:none;};label:euiResizableCollapseButton;"
|
|
@@ -33,7 +33,7 @@ export var euiSelectableListItemStyles = function euiSelectableListItemStyles(eu
|
|
|
33
33
|
paddingHorizontal = _euiSelectableListIte.paddingHorizontal,
|
|
34
34
|
paddingVertical = _euiSelectableListIte.paddingVertical;
|
|
35
35
|
return {
|
|
36
|
-
euiSelectableListItem: /*#__PURE__*/css("display:inline-flex;", logicalCSS('width', '100%'), " line-height:", euiFontSize(euiThemeContext, 'm').lineHeight, ";font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";text-align:start;cursor:pointer;overflow:hidden;&:not(:last-of-type){", logicalCSS('border-bottom', border), ";}&[aria-disabled='true']{color:", euiTheme.colors.
|
|
36
|
+
euiSelectableListItem: /*#__PURE__*/css("display:inline-flex;", logicalCSS('width', '100%'), " line-height:", euiFontSize(euiThemeContext, 'm').lineHeight, ";font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";text-align:start;cursor:pointer;overflow:hidden;&:not(:last-of-type){", logicalCSS('border-bottom', border), ";}&[aria-disabled='true']{color:", euiTheme.colors.textDisabled, ";cursor:not-allowed;}&:hover,&.euiSelectableListItem-isFocused{&:not([aria-disabled='true']){color:", euiTheme.colors.textPrimary, ";background-color:", euiTheme.focus.backgroundColor, ";.euiSelectableListItem__text{text-decoration:underline;}}};label:euiSelectableListItem;"),
|
|
37
37
|
padding: {
|
|
38
38
|
none: /*#__PURE__*/css(";label:none;"),
|
|
39
39
|
s: /*#__PURE__*/css(logicalCSS('padding-vertical', paddingVertical), " ", logicalCSS('padding-horizontal', paddingHorizontal), ";;label:s;")
|
|
@@ -21,11 +21,11 @@ export var euiSideNavItemStyles = function euiSideNavItemStyles(euiThemeContext)
|
|
|
21
21
|
var emphasizedBackgroundColor = euiTheme.components.sideNavItemEmphasizedBackground;
|
|
22
22
|
return {
|
|
23
23
|
euiSideNavItem: /*#__PURE__*/css(";label:euiSideNavItem;"),
|
|
24
|
-
emphasized: /*#__PURE__*/css("background-color:", emphasizedBackgroundColor, ";color:", euiTheme.colors.
|
|
24
|
+
emphasized: /*#__PURE__*/css("background-color:", emphasizedBackgroundColor, ";color:", euiTheme.colors.textHeading, ";box-shadow:100px 0 0 0 ", emphasizedBackgroundColor, ",-100px 0 0 0 ", emphasizedBackgroundColor, ";& &{background-color:transparent;box-shadow:none;};label:emphasized;"),
|
|
25
25
|
// Layout
|
|
26
26
|
root: /*#__PURE__*/css(logicalCSS('padding-bottom', euiTheme.size.s), " &+&{", logicalCSS('margin-top', euiTheme.size.s), " ", logicalCSS('padding-top', euiTheme.size.s), ";};label:root;"),
|
|
27
|
-
trunk: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
28
|
-
branch: /*#__PURE__*/css("position:relative;color:", euiTheme.colors.
|
|
27
|
+
trunk: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, ";;label:trunk;"),
|
|
28
|
+
branch: /*#__PURE__*/css("position:relative;color:", euiTheme.colors.textSubdued, ";&::after{position:absolute;content:'';", logicalCSS('vertical', 0), " ", logicalCSS('left', 0), " ", logicalCSS('width', euiTheme.border.width.thin), " background-color:", euiTheme.border.color, ";}&:last-of-type::after{", logicalCSS('height', euiTheme.size.m), ";};label:branch;"),
|
|
29
29
|
items: {
|
|
30
30
|
euiSideNavItem__items: /*#__PURE__*/css(";label:euiSideNavItem__items;"),
|
|
31
31
|
rootWithIcon: /*#__PURE__*/css(logicalCSS('margin-left', euiTheme.size.l), ";;label:rootWithIcon;"),
|
|
@@ -51,8 +51,8 @@ export var euiSideNavItemButtonStyles = function euiSideNavItemButtonStyles(euiT
|
|
|
51
51
|
return x * 2;
|
|
52
52
|
}), ")")), ";\n ");
|
|
53
53
|
return {
|
|
54
|
-
euiSideNavItemButton: /*#__PURE__*/css("display:block;", logicalCSS('width', '100%'), "padding-block:", euiTheme.size.xxs, ";font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";line-height:", lineHeightOverride, ";text-align:start;color:inherit;&:is(a, button):not(:disabled){&:hover{cursor:pointer;}&:hover,&:focus{.euiSideNavItemButton__label{text-decoration:underline;}}}&:disabled{cursor:not-allowed;color:", euiTheme.colors.
|
|
55
|
-
selected: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
54
|
+
euiSideNavItemButton: /*#__PURE__*/css("display:block;", logicalCSS('width', '100%'), "padding-block:", euiTheme.size.xxs, ";font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";line-height:", lineHeightOverride, ";text-align:start;color:inherit;&:is(a, button):not(:disabled){&:hover{cursor:pointer;}&:hover,&:focus{.euiSideNavItemButton__label{text-decoration:underline;}}}&:disabled{cursor:not-allowed;color:", euiTheme.colors.textDisabled, ";};label:euiSideNavItemButton;"),
|
|
55
|
+
selected: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";font-weight:", euiTheme.font.weight.bold, ";.euiSideNavItemButton__label{text-decoration:underline;};label:selected;"),
|
|
56
56
|
emphasized: /*#__PURE__*/css("font-weight:", euiTheme.font.weight.bold, ";;label:emphasized;"),
|
|
57
57
|
// Layout
|
|
58
58
|
root: /*#__PURE__*/css(logicalCSS('margin-bottom', euiTheme.size.xs), " padding-block:0;", paddingMarginOffset, ";;label:root;"),
|
|
@@ -25,12 +25,12 @@ export var euiStatTitleStyles = function euiStatTitleStyles(_ref) {
|
|
|
25
25
|
euiStat__title: /*#__PURE__*/css(";label:euiStat__title;"),
|
|
26
26
|
// Colors
|
|
27
27
|
default: /*#__PURE__*/css("color:", euiTheme.colors.fullShade, ";;label:default;"),
|
|
28
|
-
subdued: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
29
|
-
primary: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
30
|
-
success: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
28
|
+
subdued: /*#__PURE__*/css("color:", euiTheme.colors.textSubdued, ";;label:subdued;"),
|
|
29
|
+
primary: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";;label:primary;"),
|
|
30
|
+
success: /*#__PURE__*/css("color:", euiTheme.colors.textSuccess, ";;label:success;"),
|
|
31
31
|
warning: /*#__PURE__*/css("color:", euiTheme.colors.warningText, ";;label:warning;"),
|
|
32
|
-
danger: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
33
|
-
accent: /*#__PURE__*/css("color:", euiTheme.colors.
|
|
32
|
+
danger: /*#__PURE__*/css("color:", euiTheme.colors.textDanger, ";;label:danger;"),
|
|
33
|
+
accent: /*#__PURE__*/css("color:", euiTheme.colors.textAccent, ";;label:accent;"),
|
|
34
34
|
// Loading
|
|
35
35
|
isLoading: /*#__PURE__*/css(euiCanAnimate, "{animation:", euiStatPulse, " 1.5s infinite ease-in-out;};label:isLoading;")
|
|
36
36
|
};
|
|
@@ -21,13 +21,13 @@ export var euiTableHeaderFooterCellStyles = function euiTableHeaderFooterCellSty
|
|
|
21
21
|
// euiFontSize returns an object, so we keep object notation here to merge into css``
|
|
22
22
|
var sharedStyles = _objectSpread(_objectSpread({}, euiFontSize(euiThemeContext, 'xs')), {}, {
|
|
23
23
|
fontWeight: euiTheme.font.weight.semiBold,
|
|
24
|
-
color: euiTheme.colors.
|
|
24
|
+
color: euiTheme.colors.textHeading,
|
|
25
25
|
verticalAlign: 'middle'
|
|
26
26
|
});
|
|
27
27
|
return {
|
|
28
28
|
euiTableHeaderCell: /*#__PURE__*/css(sharedStyles, ";;label:euiTableHeaderCell;"),
|
|
29
29
|
euiTableHeaderCell__content: /*#__PURE__*/css("gap:", euiTheme.size.xs, ";;label:euiTableHeaderCell__content;"),
|
|
30
|
-
euiTableHeaderCell__button: /*#__PURE__*/css(logicalCSS('width', '100%'), " font-weight:inherit;line-height:inherit;.euiTableSortIcon--sortable{color:", euiTheme.components.tableCellSortableIconColor, ";}&:hover,&:focus{color:", euiTheme.colors.
|
|
30
|
+
euiTableHeaderCell__button: /*#__PURE__*/css(logicalCSS('width', '100%'), " font-weight:inherit;line-height:inherit;.euiTableSortIcon--sortable{color:", euiTheme.components.tableCellSortableIconColor, ";}&:hover,&:focus{color:", euiTheme.colors.textPrimary, ";text-decoration:underline;.euiTableSortIcon--sortable{color:", euiTheme.colors.textPrimary, ";}};label:euiTableHeaderCell__button;"),
|
|
31
31
|
euiTableFooterCell: /*#__PURE__*/css(sharedStyles, " background-color:", euiTheme.colors.lightestShade, ";;label:euiTableFooterCell;")
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
var _excluded = ["children", "align", "onSort", "isSorted", "isSortAscending", "className", "scope", "mobileOptions", "width", "style", "readOnly", "description", "append"];
|
|
2
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
1
|
+
var _excluded = ["children", "align", "onSort", "isSorted", "isSortAscending", "className", "scope", "mobileOptions", "width", "style", "readOnly", "tooltipProps", "description", "append"];
|
|
3
2
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
4
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
import PropTypes from "prop-types";
|
|
5
6
|
/*
|
|
6
7
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
7
8
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -11,13 +12,13 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
11
12
|
*/
|
|
12
13
|
|
|
13
14
|
import React from 'react';
|
|
14
|
-
import PropTypes from "prop-types";
|
|
15
15
|
import classNames from 'classnames';
|
|
16
16
|
import { useEuiMemoizedStyles, LEFT_ALIGNMENT } from '../../services';
|
|
17
17
|
import { EuiI18n } from '../i18n';
|
|
18
18
|
import { EuiScreenReaderOnly } from '../accessibility';
|
|
19
19
|
import { EuiIcon } from '../icon';
|
|
20
20
|
import { EuiInnerText } from '../inner_text';
|
|
21
|
+
import { EuiIconTip } from '../tool_tip';
|
|
21
22
|
import { resolveWidthAsStyle } from './utils';
|
|
22
23
|
import { useEuiTableIsResponsive } from './mobile/responsive_context';
|
|
23
24
|
import { EuiTableCellContent } from './_table_cell_content';
|
|
@@ -26,6 +27,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
26
27
|
var CellContents = function CellContents(_ref) {
|
|
27
28
|
var className = _ref.className,
|
|
28
29
|
align = _ref.align,
|
|
30
|
+
tooltipProps = _ref.tooltipProps,
|
|
29
31
|
description = _ref.description,
|
|
30
32
|
children = _ref.children,
|
|
31
33
|
canSort = _ref.canSort,
|
|
@@ -51,7 +53,14 @@ var CellContents = function CellContents(_ref) {
|
|
|
51
53
|
className: "eui-textTruncate"
|
|
52
54
|
}, children);
|
|
53
55
|
});
|
|
54
|
-
}), description && ___EmotionJSX(EuiScreenReaderOnly, null, ___EmotionJSX("span", null, description)),
|
|
56
|
+
}), description && ___EmotionJSX(EuiScreenReaderOnly, null, ___EmotionJSX("span", null, description)), tooltipProps && ___EmotionJSX(EuiIconTip, _extends({
|
|
57
|
+
content: tooltipProps.content,
|
|
58
|
+
type: tooltipProps.icon || 'questionInCircle',
|
|
59
|
+
size: "m",
|
|
60
|
+
color: "subdued",
|
|
61
|
+
position: "top",
|
|
62
|
+
iconProps: tooltipProps.iconProps
|
|
63
|
+
}, tooltipProps.tooltipProps)), isSorted ? ___EmotionJSX(EuiIcon, {
|
|
55
64
|
className: "euiTableSortIcon",
|
|
56
65
|
type: isSortAscending ? 'sortUp' : 'sortDown',
|
|
57
66
|
size: "m"
|
|
@@ -75,6 +84,7 @@ export var EuiTableHeaderCell = function EuiTableHeaderCell(_ref2) {
|
|
|
75
84
|
width = _ref2.width,
|
|
76
85
|
style = _ref2.style,
|
|
77
86
|
readOnly = _ref2.readOnly,
|
|
87
|
+
tooltipProps = _ref2.tooltipProps,
|
|
78
88
|
description = _ref2.description,
|
|
79
89
|
append = _ref2.append,
|
|
80
90
|
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
@@ -98,6 +108,7 @@ export var EuiTableHeaderCell = function EuiTableHeaderCell(_ref2) {
|
|
|
98
108
|
var cellContentsProps = {
|
|
99
109
|
css: styles.euiTableHeaderCell__content,
|
|
100
110
|
align: align,
|
|
111
|
+
tooltipProps: tooltipProps,
|
|
101
112
|
description: description,
|
|
102
113
|
canSort: canSort,
|
|
103
114
|
isSorted: isSorted,
|
|
@@ -133,6 +144,67 @@ EuiTableHeaderCell.propTypes = {
|
|
|
133
144
|
onSort: PropTypes.func,
|
|
134
145
|
scope: PropTypes.any,
|
|
135
146
|
width: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.number.isRequired]),
|
|
147
|
+
/** Allows adding an icon with a tooltip displayed next to the name */tooltipProps: PropTypes.shape({
|
|
148
|
+
/** The main content of the tooltip */content: PropTypes.node.isRequired,
|
|
149
|
+
/**
|
|
150
|
+
* The icon type to display
|
|
151
|
+
* @default 'questionInCircle'
|
|
152
|
+
*/
|
|
153
|
+
icon: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]),
|
|
154
|
+
/** Additional props for EuiIcon */iconProps: PropTypes.any,
|
|
155
|
+
/** Additional props for the EuiToolip */tooltipProps: PropTypes.shape({
|
|
156
|
+
/**
|
|
157
|
+
* Passes onto the span wrapping the trigger.
|
|
158
|
+
*/
|
|
159
|
+
anchorClassName: PropTypes.string,
|
|
160
|
+
/**
|
|
161
|
+
* Passes onto the span wrapping the trigger.
|
|
162
|
+
*/
|
|
163
|
+
anchorProps: PropTypes.shape({
|
|
164
|
+
className: PropTypes.string,
|
|
165
|
+
"aria-label": PropTypes.string,
|
|
166
|
+
"data-test-subj": PropTypes.string,
|
|
167
|
+
css: PropTypes.any
|
|
168
|
+
}),
|
|
169
|
+
/**
|
|
170
|
+
* Passes onto the tooltip itself, not the trigger.
|
|
171
|
+
*/
|
|
172
|
+
className: PropTypes.string,
|
|
173
|
+
/**
|
|
174
|
+
* The main content of your tooltip.
|
|
175
|
+
*/
|
|
176
|
+
content: PropTypes.node,
|
|
177
|
+
/**
|
|
178
|
+
* Common display alternatives for the anchor wrapper
|
|
179
|
+
*/
|
|
180
|
+
display: PropTypes.any,
|
|
181
|
+
/**
|
|
182
|
+
* An optional title for your tooltip.
|
|
183
|
+
*/
|
|
184
|
+
title: PropTypes.node,
|
|
185
|
+
/**
|
|
186
|
+
* Unless you provide one, this will be randomly generated.
|
|
187
|
+
*/
|
|
188
|
+
id: PropTypes.string,
|
|
189
|
+
/**
|
|
190
|
+
* When `true`, the tooltip's position is re-calculated when the user
|
|
191
|
+
* scrolls. This supports having fixed-position tooltip anchors.
|
|
192
|
+
*
|
|
193
|
+
* When nesting an `EuiTooltip` in a scrollable container, `repositionOnScroll` should be `true`
|
|
194
|
+
*/
|
|
195
|
+
repositionOnScroll: PropTypes.bool,
|
|
196
|
+
/**
|
|
197
|
+
* If supplied, called when mouse movement causes the tool tip to be
|
|
198
|
+
* hidden.
|
|
199
|
+
*/
|
|
200
|
+
onMouseOut: PropTypes.func,
|
|
201
|
+
"aria-label": PropTypes.string,
|
|
202
|
+
"data-test-subj": PropTypes.string,
|
|
203
|
+
css: PropTypes.any,
|
|
204
|
+
delay: PropTypes.any,
|
|
205
|
+
position: PropTypes.any
|
|
206
|
+
})
|
|
207
|
+
}),
|
|
136
208
|
description: PropTypes.string,
|
|
137
209
|
/**
|
|
138
210
|
* Shows the sort indicator but removes the button
|
|
@@ -9,8 +9,8 @@ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.fre
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { css, keyframes } from '@emotion/react';
|
|
12
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
12
13
|
import { euiCanAnimate, logicalCSS } from '../../global_styling';
|
|
13
|
-
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
|
|
14
14
|
import { euiTableVariables } from './table.styles';
|
|
15
15
|
export var euiTableRowStyles = function euiTableRowStyles(euiThemeContext) {
|
|
16
16
|
var euiTheme = euiThemeContext.euiTheme;
|