@elastic/eui 116.2.0 → 116.3.1-snapshot.1782148316870
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/es/components/avatar/avatar.js +18 -5
- package/es/components/avatar/avatar.styles.js +16 -16
- package/es/components/banner/banner.js +201 -0
- package/es/components/banner/banner.styles.js +76 -0
- package/es/components/banner/index.js +9 -0
- package/es/components/basic_table/basic_table.js +54 -13
- package/es/components/basic_table/basic_table.styles.js +19 -1
- package/es/components/basic_table/collapsed_item_actions.js +5 -4
- package/es/components/basic_table/default_item_action.js +3 -5
- package/es/components/basic_table/in_memory_table.js +17 -0
- package/es/components/basic_table/index.js +2 -1
- package/es/components/basic_table/pagination_bar.js +19 -4
- package/es/components/basic_table/pagination_bar.styles.js +21 -0
- package/es/components/basic_table/panel.styles.js +14 -0
- package/es/components/basic_table/use_panel_props.js +28 -0
- package/es/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/es/components/context_menu/context_menu_panel_title.js +0 -12
- package/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/es/components/datagrid/controls/display_selector.js +2 -1
- package/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/es/components/date_picker/auto_refresh/refresh_interval.js +176 -229
- package/es/components/date_picker/date_picker.js +1 -1
- package/es/components/date_picker/react-datepicker/src/index.js +1 -5
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/es/components/flyout/flyout.component.js +10 -6
- package/es/components/flyout/flyout_menu.js +122 -19
- package/es/components/flyout/flyout_menu.styles.js +2 -1
- package/es/components/flyout/manager/actions.js +20 -0
- package/es/components/flyout/manager/flyout_child.js +23 -1
- package/es/components/flyout/manager/flyout_managed.js +65 -19
- package/es/components/flyout/manager/hooks.js +1 -1
- package/es/components/flyout/manager/index.js +2 -2
- package/es/components/flyout/manager/reducer.js +32 -8
- package/es/components/flyout/manager/selectors.js +8 -2
- package/es/components/flyout/manager/store.js +35 -2
- package/es/components/flyout/use_flyout_menu.js +2 -2
- package/es/components/form/field_password/field_password.js +6 -3
- package/es/components/form/field_password/field_password.styles.js +1 -1
- package/es/components/form/field_search/field_search.styles.js +1 -1
- package/es/components/form/form.styles.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +95 -143
- package/es/components/form/select/select.styles.js +1 -1
- package/es/components/form/text_area/text_area.styles.js +1 -1
- package/es/components/form/validatable_control/validatable_control.js +8 -55
- package/es/components/header/header.a11y.js +1 -1
- package/es/components/index.js +1 -0
- package/es/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/es/components/pagination/pagination_button_arrow.js +6 -2
- package/es/components/panel/panel.styles.js +4 -4
- package/es/components/panel/split_panel/split_panel.styles.js +1 -1
- package/es/components/search_bar/search_bar.js +20 -16
- package/es/components/search_bar/search_box.js +4 -2
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/es/components/table/mobile/table_sort_mobile.js +64 -103
- package/es/components/table/sticky_header/context.js +32 -0
- package/es/components/table/sticky_header/index.js +10 -0
- package/es/components/table/sticky_header/sticky_header.js +151 -0
- package/es/components/table/sticky_header/sticky_header.styles.js +43 -0
- package/es/components/table/store/provider.js +37 -0
- package/es/components/table/store/store.js +82 -0
- package/es/components/table/store/use_unique_column_id.js +25 -0
- package/es/components/table/table.js +28 -3
- package/es/components/table/table.styles.js +4 -4
- package/es/components/table/table_header_cell.js +115 -48
- package/es/components/table/table_header_cell_checkbox.js +58 -25
- package/es/components/text_truncate/text_truncate.js +8 -3
- package/es/components/tool_tip/tool_tip.js +62 -31
- package/es/components/tool_tip/tool_tip.styles.js +14 -5
- package/es/components/tool_tip/tool_tip_anchor.js +5 -5
- package/es/components/tool_tip/tool_tip_manager.js +27 -2
- package/es/utils/publisher.js +53 -0
- package/eui.d.ts +2314 -1874
- package/i18ntokens.json +2580 -2490
- package/lib/components/avatar/avatar.js +18 -5
- package/lib/components/avatar/avatar.styles.js +16 -16
- package/lib/components/banner/banner.js +210 -0
- package/lib/components/banner/banner.styles.js +80 -0
- package/lib/components/banner/index.js +12 -0
- package/lib/components/basic_table/basic_table.js +53 -12
- package/lib/components/basic_table/basic_table.styles.js +19 -1
- package/lib/components/basic_table/collapsed_item_actions.js +5 -4
- package/lib/components/basic_table/default_item_action.js +3 -5
- package/lib/components/basic_table/in_memory_table.js +17 -0
- package/lib/components/basic_table/index.js +8 -1
- package/lib/components/basic_table/pagination_bar.js +19 -4
- package/lib/components/basic_table/pagination_bar.styles.js +26 -0
- package/lib/components/basic_table/panel.styles.js +20 -0
- package/lib/components/basic_table/use_panel_props.js +33 -0
- package/lib/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/lib/components/context_menu/context_menu_panel_title.js +0 -12
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/lib/components/datagrid/controls/display_selector.js +2 -1
- package/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/lib/components/date_picker/auto_refresh/refresh_interval.js +175 -229
- package/lib/components/date_picker/date_picker.js +1 -1
- package/lib/components/date_picker/react-datepicker/src/index.js +0 -4
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/lib/components/flyout/flyout.component.js +10 -6
- package/lib/components/flyout/flyout_menu.js +120 -19
- package/lib/components/flyout/flyout_menu.styles.js +2 -1
- package/lib/components/flyout/manager/actions.js +21 -1
- package/lib/components/flyout/manager/flyout_child.js +23 -1
- package/lib/components/flyout/manager/flyout_managed.js +41 -17
- package/lib/components/flyout/manager/hooks.js +6 -0
- package/lib/components/flyout/manager/index.js +12 -0
- package/lib/components/flyout/manager/reducer.js +31 -7
- package/lib/components/flyout/manager/selectors.js +9 -3
- package/lib/components/flyout/manager/store.js +34 -1
- package/lib/components/flyout/use_flyout_menu.js +2 -2
- package/lib/components/form/field_password/field_password.js +6 -3
- package/lib/components/form/field_password/field_password.styles.js +1 -1
- package/lib/components/form/field_search/field_search.styles.js +1 -1
- package/lib/components/form/form.styles.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +95 -145
- package/lib/components/form/select/select.styles.js +1 -1
- package/lib/components/form/text_area/text_area.styles.js +1 -1
- package/lib/components/form/validatable_control/validatable_control.js +7 -52
- package/lib/components/header/header.a11y.js +1 -1
- package/lib/components/index.js +11 -0
- package/lib/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/lib/components/pagination/pagination_button_arrow.js +6 -2
- package/lib/components/panel/panel.styles.js +4 -4
- package/lib/components/panel/split_panel/split_panel.styles.js +1 -1
- package/lib/components/search_bar/search_bar.js +20 -16
- package/lib/components/search_bar/search_box.js +4 -2
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/lib/components/table/mobile/table_sort_mobile.js +71 -108
- package/lib/components/table/sticky_header/context.js +41 -0
- package/lib/components/table/sticky_header/index.js +19 -0
- package/lib/components/table/sticky_header/sticky_header.js +156 -0
- package/lib/components/table/sticky_header/sticky_header.styles.js +47 -0
- package/lib/components/table/store/provider.js +46 -0
- package/lib/components/table/store/store.js +87 -0
- package/lib/components/table/store/use_unique_column_id.js +34 -0
- package/lib/components/table/table.js +28 -3
- package/lib/components/table/table.styles.js +4 -4
- package/lib/components/table/table_header_cell.js +117 -48
- package/lib/components/table/table_header_cell_checkbox.js +61 -25
- package/lib/components/text_truncate/text_truncate.js +8 -3
- package/lib/components/tool_tip/tool_tip.js +60 -30
- package/lib/components/tool_tip/tool_tip.styles.js +14 -5
- package/lib/components/tool_tip/tool_tip_anchor.js +5 -5
- package/lib/components/tool_tip/tool_tip_manager.js +27 -2
- package/lib/utils/publisher.js +59 -0
- package/optimize/es/components/avatar/avatar.js +16 -4
- package/optimize/es/components/avatar/avatar.styles.js +16 -16
- package/optimize/es/components/banner/banner.js +111 -0
- package/optimize/es/components/banner/banner.styles.js +76 -0
- package/optimize/es/components/banner/index.js +9 -0
- package/optimize/es/components/basic_table/basic_table.js +37 -13
- package/optimize/es/components/basic_table/basic_table.styles.js +19 -1
- package/optimize/es/components/basic_table/collapsed_item_actions.js +5 -4
- package/optimize/es/components/basic_table/default_item_action.js +3 -5
- package/optimize/es/components/basic_table/index.js +2 -1
- package/optimize/es/components/basic_table/pagination_bar.js +19 -4
- package/optimize/es/components/basic_table/pagination_bar.styles.js +21 -0
- package/optimize/es/components/basic_table/panel.styles.js +14 -0
- package/optimize/es/components/basic_table/use_panel_props.js +28 -0
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.js +27 -18
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/optimize/es/components/datagrid/controls/display_selector.js +2 -1
- package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/optimize/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/optimize/es/components/date_picker/auto_refresh/refresh_interval.js +172 -196
- package/optimize/es/components/date_picker/date_picker.js +1 -1
- package/optimize/es/components/date_picker/react-datepicker/src/index.js +1 -5
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/optimize/es/components/flyout/flyout.component.js +10 -6
- package/optimize/es/components/flyout/flyout_menu.js +99 -18
- package/optimize/es/components/flyout/flyout_menu.styles.js +2 -1
- package/optimize/es/components/flyout/manager/actions.js +20 -0
- package/optimize/es/components/flyout/manager/flyout_managed.js +42 -18
- package/optimize/es/components/flyout/manager/hooks.js +1 -1
- package/optimize/es/components/flyout/manager/index.js +2 -2
- package/optimize/es/components/flyout/manager/reducer.js +32 -8
- package/optimize/es/components/flyout/manager/selectors.js +8 -2
- package/optimize/es/components/flyout/manager/store.js +35 -2
- package/optimize/es/components/flyout/use_flyout_menu.js +2 -2
- package/optimize/es/components/form/field_password/field_password.js +6 -3
- package/optimize/es/components/form/field_password/field_password.styles.js +1 -1
- package/optimize/es/components/form/field_search/field_search.styles.js +1 -1
- package/optimize/es/components/form/form.styles.js +1 -1
- package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +96 -115
- package/optimize/es/components/form/select/select.styles.js +1 -1
- package/optimize/es/components/form/text_area/text_area.styles.js +1 -1
- package/optimize/es/components/form/validatable_control/validatable_control.js +7 -48
- package/optimize/es/components/header/header.a11y.js +1 -1
- package/optimize/es/components/index.js +1 -0
- package/optimize/es/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/optimize/es/components/pagination/pagination_button_arrow.js +6 -2
- package/optimize/es/components/panel/panel.styles.js +4 -4
- package/optimize/es/components/panel/split_panel/split_panel.styles.js +1 -1
- package/optimize/es/components/search_bar/search_bar.js +20 -16
- package/optimize/es/components/search_bar/search_box.js +4 -2
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/es/components/table/mobile/table_sort_mobile.js +59 -82
- package/optimize/es/components/table/sticky_header/context.js +32 -0
- package/optimize/es/components/table/sticky_header/index.js +10 -0
- package/optimize/es/components/table/sticky_header/sticky_header.js +146 -0
- package/optimize/es/components/table/sticky_header/sticky_header.styles.js +43 -0
- package/optimize/es/components/table/store/provider.js +37 -0
- package/optimize/es/components/table/store/store.js +82 -0
- package/optimize/es/components/table/store/use_unique_column_id.js +25 -0
- package/optimize/es/components/table/table.js +15 -3
- package/optimize/es/components/table/table.styles.js +4 -4
- package/optimize/es/components/table/table_header_cell.js +115 -48
- package/optimize/es/components/table/table_header_cell_checkbox.js +58 -25
- package/optimize/es/components/text_truncate/text_truncate.js +8 -3
- package/optimize/es/components/tool_tip/tool_tip.js +59 -31
- package/optimize/es/components/tool_tip/tool_tip.styles.js +14 -5
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +5 -5
- package/optimize/es/components/tool_tip/tool_tip_manager.js +27 -2
- package/optimize/es/utils/publisher.js +53 -0
- package/optimize/lib/components/avatar/avatar.js +16 -4
- package/optimize/lib/components/avatar/avatar.styles.js +16 -16
- package/optimize/lib/components/banner/banner.js +120 -0
- package/optimize/lib/components/banner/banner.styles.js +80 -0
- package/optimize/lib/components/banner/index.js +12 -0
- package/optimize/lib/components/basic_table/basic_table.js +36 -12
- package/optimize/lib/components/basic_table/basic_table.styles.js +19 -1
- package/optimize/lib/components/basic_table/collapsed_item_actions.js +5 -4
- package/optimize/lib/components/basic_table/default_item_action.js +3 -5
- package/optimize/lib/components/basic_table/index.js +8 -1
- package/optimize/lib/components/basic_table/pagination_bar.js +19 -4
- package/optimize/lib/components/basic_table/pagination_bar.styles.js +26 -0
- package/optimize/lib/components/basic_table/panel.styles.js +20 -0
- package/optimize/lib/components/basic_table/use_panel_props.js +33 -0
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.js +27 -18
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/optimize/lib/components/datagrid/controls/display_selector.js +2 -1
- package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/optimize/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/optimize/lib/components/date_picker/auto_refresh/refresh_interval.js +170 -194
- package/optimize/lib/components/date_picker/date_picker.js +1 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/index.js +0 -4
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/optimize/lib/components/flyout/flyout.component.js +10 -6
- package/optimize/lib/components/flyout/flyout_menu.js +98 -18
- package/optimize/lib/components/flyout/flyout_menu.styles.js +2 -1
- package/optimize/lib/components/flyout/manager/actions.js +21 -1
- package/optimize/lib/components/flyout/manager/flyout_managed.js +41 -17
- package/optimize/lib/components/flyout/manager/hooks.js +6 -0
- package/optimize/lib/components/flyout/manager/index.js +12 -0
- package/optimize/lib/components/flyout/manager/reducer.js +31 -7
- package/optimize/lib/components/flyout/manager/selectors.js +9 -3
- package/optimize/lib/components/flyout/manager/store.js +34 -1
- package/optimize/lib/components/flyout/use_flyout_menu.js +2 -2
- package/optimize/lib/components/form/field_password/field_password.js +6 -3
- package/optimize/lib/components/form/field_password/field_password.styles.js +1 -1
- package/optimize/lib/components/form/field_search/field_search.styles.js +1 -1
- package/optimize/lib/components/form/form.styles.js +1 -1
- package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +96 -117
- package/optimize/lib/components/form/select/select.styles.js +1 -1
- package/optimize/lib/components/form/text_area/text_area.styles.js +1 -1
- package/optimize/lib/components/form/validatable_control/validatable_control.js +6 -49
- package/optimize/lib/components/header/header.a11y.js +1 -1
- package/optimize/lib/components/index.js +11 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/optimize/lib/components/pagination/pagination_button_arrow.js +6 -2
- package/optimize/lib/components/panel/panel.styles.js +4 -4
- package/optimize/lib/components/panel/split_panel/split_panel.styles.js +1 -1
- package/optimize/lib/components/search_bar/search_bar.js +20 -16
- package/optimize/lib/components/search_bar/search_box.js +4 -2
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/optimize/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/lib/components/table/mobile/table_sort_mobile.js +61 -83
- package/optimize/lib/components/table/sticky_header/context.js +41 -0
- package/optimize/lib/components/table/sticky_header/index.js +19 -0
- package/optimize/lib/components/table/sticky_header/sticky_header.js +156 -0
- package/optimize/lib/components/table/sticky_header/sticky_header.styles.js +47 -0
- package/optimize/lib/components/table/store/provider.js +46 -0
- package/optimize/lib/components/table/store/store.js +87 -0
- package/optimize/lib/components/table/store/use_unique_column_id.js +34 -0
- package/optimize/lib/components/table/table.js +15 -3
- package/optimize/lib/components/table/table.styles.js +4 -4
- package/optimize/lib/components/table/table_header_cell.js +118 -48
- package/optimize/lib/components/table/table_header_cell_checkbox.js +61 -25
- package/optimize/lib/components/text_truncate/text_truncate.js +8 -3
- package/optimize/lib/components/tool_tip/tool_tip.js +58 -30
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +14 -5
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +5 -5
- package/optimize/lib/components/tool_tip/tool_tip_manager.js +27 -2
- package/optimize/lib/utils/publisher.js +59 -0
- package/package.json +9 -6
- package/test-env/components/avatar/avatar.js +18 -5
- package/test-env/components/avatar/avatar.styles.js +16 -16
- package/test-env/components/banner/banner.js +209 -0
- package/test-env/components/banner/banner.styles.js +80 -0
- package/test-env/components/banner/index.js +12 -0
- package/test-env/components/basic_table/basic_table.js +53 -12
- package/test-env/components/basic_table/basic_table.styles.js +19 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +5 -4
- package/test-env/components/basic_table/default_item_action.js +3 -5
- package/test-env/components/basic_table/in_memory_table.js +17 -0
- package/test-env/components/basic_table/index.js +8 -1
- package/test-env/components/basic_table/pagination_bar.js +19 -4
- package/test-env/components/basic_table/pagination_bar.styles.js +26 -0
- package/test-env/components/basic_table/panel.styles.js +20 -0
- package/test-env/components/basic_table/use_panel_props.js +33 -0
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/test-env/components/context_menu/context_menu_panel_title.js +0 -12
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/test-env/components/datagrid/controls/display_selector.js +2 -1
- package/test-env/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/test-env/components/date_picker/auto_refresh/refresh_interval.js +170 -220
- package/test-env/components/date_picker/date_picker.js +1 -1
- package/test-env/components/date_picker/react-datepicker/src/index.js +0 -4
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/test-env/components/flyout/flyout.component.js +10 -6
- package/test-env/components/flyout/flyout_menu.js +121 -19
- package/test-env/components/flyout/flyout_menu.styles.js +2 -1
- package/test-env/components/flyout/manager/actions.js +21 -1
- package/test-env/components/flyout/manager/flyout_child.js +23 -1
- package/test-env/components/flyout/manager/flyout_managed.js +41 -17
- package/test-env/components/flyout/manager/hooks.js +6 -0
- package/test-env/components/flyout/manager/index.js +12 -0
- package/test-env/components/flyout/manager/reducer.js +31 -7
- package/test-env/components/flyout/manager/selectors.js +9 -3
- package/test-env/components/flyout/manager/store.js +34 -1
- package/test-env/components/flyout/use_flyout_menu.js +2 -2
- package/test-env/components/form/field_password/field_password.js +6 -3
- package/test-env/components/form/field_password/field_password.styles.js +1 -1
- package/test-env/components/form/field_search/field_search.styles.js +1 -1
- package/test-env/components/form/form.styles.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +95 -139
- package/test-env/components/form/select/select.styles.js +1 -1
- package/test-env/components/form/text_area/text_area.styles.js +1 -1
- package/test-env/components/form/validatable_control/validatable_control.js +6 -48
- package/test-env/components/header/header.a11y.js +1 -1
- package/test-env/components/index.js +11 -0
- package/test-env/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/test-env/components/pagination/pagination_button_arrow.js +6 -2
- package/test-env/components/panel/panel.styles.js +4 -4
- package/test-env/components/panel/split_panel/split_panel.styles.js +1 -1
- package/test-env/components/search_bar/search_bar.js +20 -16
- package/test-env/components/search_bar/search_box.js +4 -2
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/test-env/components/table/mobile/table_sort_mobile.js +61 -98
- package/test-env/components/table/sticky_header/context.js +41 -0
- package/test-env/components/table/sticky_header/index.js +19 -0
- package/test-env/components/table/sticky_header/sticky_header.js +156 -0
- package/test-env/components/table/sticky_header/sticky_header.styles.js +47 -0
- package/test-env/components/table/store/provider.js +46 -0
- package/test-env/components/table/store/store.js +87 -0
- package/test-env/components/table/store/use_unique_column_id.js +34 -0
- package/test-env/components/table/table.js +28 -3
- package/test-env/components/table/table.styles.js +4 -4
- package/test-env/components/table/table_header_cell.js +118 -48
- package/test-env/components/table/table_header_cell_checkbox.js +61 -25
- package/test-env/components/text_truncate/text_truncate.js +8 -3
- package/test-env/components/tool_tip/tool_tip.js +58 -30
- package/test-env/components/tool_tip/tool_tip.styles.js +14 -5
- package/test-env/components/tool_tip/tool_tip_anchor.js +5 -5
- package/test-env/components/tool_tip/tool_tip_manager.js +27 -2
- package/test-env/utils/publisher.js +59 -0
|
@@ -48,16 +48,13 @@ export var DefaultItemAction = function DefaultItemAction(_ref) {
|
|
|
48
48
|
className: className,
|
|
49
49
|
"aria-labelledby": ariaLabelId,
|
|
50
50
|
isDisabled: !enabled,
|
|
51
|
+
hasAriaDisabled: !enabled,
|
|
51
52
|
color: color,
|
|
52
53
|
iconType: icon,
|
|
53
54
|
onClick: onClick,
|
|
54
55
|
href: href,
|
|
55
56
|
target: action.target,
|
|
56
57
|
"data-test-subj": dataTestSubj
|
|
57
|
-
// If action is disabled, the normal tooltip can't show - attempt to
|
|
58
|
-
// provide some amount of affordance with a browser title tooltip
|
|
59
|
-
,
|
|
60
|
-
title: !enabled ? tooltipContent : undefined
|
|
61
58
|
});
|
|
62
59
|
// actionContent (action.name) is a ReactNode and must be rendered
|
|
63
60
|
// to an element and referenced by ID for screen readers
|
|
@@ -69,6 +66,7 @@ export var DefaultItemAction = function DefaultItemAction(_ref) {
|
|
|
69
66
|
className: className,
|
|
70
67
|
size: "s",
|
|
71
68
|
isDisabled: !enabled,
|
|
69
|
+
hasAriaDisabled: !enabled,
|
|
72
70
|
color: color,
|
|
73
71
|
iconType: icon,
|
|
74
72
|
onClick: onClick,
|
|
@@ -78,5 +76,5 @@ export var DefaultItemAction = function DefaultItemAction(_ref) {
|
|
|
78
76
|
flush: "right"
|
|
79
77
|
}, actionContent);
|
|
80
78
|
}
|
|
81
|
-
return
|
|
79
|
+
return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(EuiToolTip, tooltipProps, button), ariaLabelledBy);
|
|
82
80
|
};
|
|
@@ -1014,6 +1014,23 @@ EuiInMemoryTable.propTypes = {
|
|
|
1014
1014
|
* Provides an infinite loading indicator
|
|
1015
1015
|
*/
|
|
1016
1016
|
loading: PropTypes.bool,
|
|
1017
|
+
/**
|
|
1018
|
+
* Enable the panelled style of the table.
|
|
1019
|
+
*
|
|
1020
|
+
* Panelled style adds contrast between the table navigation controls
|
|
1021
|
+
* and table content itself. It should be used in tables rendered outside
|
|
1022
|
+
* EUI containers like `<EuiPanel>` or `<EuiFlyout>`.
|
|
1023
|
+
* @default false
|
|
1024
|
+
*/
|
|
1025
|
+
/**
|
|
1026
|
+
* Enable the panelled style of the table.
|
|
1027
|
+
*
|
|
1028
|
+
* Panelled style adds contrast between the table navigation controls
|
|
1029
|
+
* and table content itself. It should be used in tables rendered outside
|
|
1030
|
+
* EUI containers like `<EuiPanel>` or `<EuiFlyout>`.
|
|
1031
|
+
* @default false
|
|
1032
|
+
*/
|
|
1033
|
+
panelled: PropTypes.bool,
|
|
1017
1034
|
/**
|
|
1018
1035
|
* Applied to `EuiTableRow`
|
|
1019
1036
|
*/
|
|
@@ -7,11 +7,24 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import React, { useEffect } from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
11
11
|
import { EuiTablePagination, useEuiTablePaginationDefaults } from '../table/table_pagination';
|
|
12
|
+
import { useIsEuiTableResponsive } from '../table/mobile/responsive_context';
|
|
13
|
+
import { euiBasicTablePaginationBarStyles } from './pagination_bar.styles';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
12
18
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
|
+
/**
|
|
20
|
+
* An internal utility component that renders EuiTablePagination with
|
|
21
|
+
* proper configuration and handles the `panelled` styles.
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
13
24
|
export var PaginationBar = function PaginationBar(_ref) {
|
|
14
25
|
var pagination = _ref.pagination,
|
|
26
|
+
panelled = _ref.panelled,
|
|
27
|
+
responsiveBreakpoint = _ref.responsiveBreakpoint,
|
|
15
28
|
onPageSizeChange = _ref.onPageSizeChange,
|
|
16
29
|
onPageChange = _ref.onPageChange,
|
|
17
30
|
ariaControls = _ref['aria-controls'],
|
|
@@ -26,14 +39,16 @@ export var PaginationBar = function PaginationBar(_ref) {
|
|
|
26
39
|
_pagination$showPerPa = pagination.showPerPageOptions,
|
|
27
40
|
showPerPageOptions = _pagination$showPerPa === void 0 ? defaults.showPerPageOptions : _pagination$showPerPa;
|
|
28
41
|
var pageCount = pageSize ? Math.ceil(totalItemCount / pageSize) : 1;
|
|
42
|
+
var styles = useEuiMemoizedStyles(euiBasicTablePaginationBarStyles);
|
|
43
|
+
var isResponsive = useIsEuiTableResponsive(responsiveBreakpoint);
|
|
29
44
|
useEffect(function () {
|
|
30
45
|
if (pageCount < pageIndex + 1) {
|
|
31
46
|
onPageChange === null || onPageChange === void 0 || onPageChange(pageCount - 1);
|
|
32
47
|
}
|
|
33
48
|
}, [pageCount, onPageChange, pageIndex]);
|
|
34
|
-
return ___EmotionJSX("div",
|
|
35
|
-
|
|
36
|
-
}
|
|
49
|
+
return ___EmotionJSX("div", {
|
|
50
|
+
css: [styles.root, !isResponsive && panelled && styles.panelled, ";label:PaginationBar;"]
|
|
51
|
+
}, ___EmotionJSX(EuiTablePagination, {
|
|
37
52
|
activePage: pageIndex,
|
|
38
53
|
showPerPageOptions: showPerPageOptions,
|
|
39
54
|
itemsPerPage: pageSize,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
+
* Side Public License, v 1.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { css } from '@emotion/react';
|
|
10
|
+
import { logicalShorthandCSS } from '../../global_styling';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export var euiBasicTablePaginationBarStyles = function euiBasicTablePaginationBarStyles(theme) {
|
|
16
|
+
var euiTheme = theme.euiTheme;
|
|
17
|
+
return {
|
|
18
|
+
root: /*#__PURE__*/css(logicalShorthandCSS('padding', "".concat(euiTheme.size.xs, " ").concat(euiTheme.size.s)), ";;label:root;"),
|
|
19
|
+
panelled: /*#__PURE__*/css("background:", euiTheme.colors.backgroundBaseSubdued, ";border:", euiTheme.border.thin, ";border-block-start-width:0;", logicalShorthandCSS('border-radius', "0 0 ".concat(euiTheme.border.radius.medium, " ").concat(euiTheme.border.radius.medium)), ";;label:panelled;")
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
+
* Side Public License, v 1.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { css } from '@emotion/react';
|
|
10
|
+
import { logicalShorthandCSS } from '../../global_styling';
|
|
11
|
+
export var euiBasicTablePanelStyles = function euiBasicTablePanelStyles(_ref) {
|
|
12
|
+
var euiTheme = _ref.euiTheme;
|
|
13
|
+
return /*#__PURE__*/css("background-color:", euiTheme.colors.backgroundBaseSubdued, ";border:", euiTheme.border.thin, ";border-block-end-width:0;", logicalShorthandCSS('border-radius', "".concat(euiTheme.border.radius.medium, " ").concat(euiTheme.border.radius.medium, " 0 0")), "&+&{border-start-start-radius:0;border-start-end-radius:0;};label:euiBasicTablePanelStyles;");
|
|
14
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
+
* Side Public License, v 1.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
10
|
+
import { euiBasicTablePanelStyles } from './panel.styles';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export var EUI_BASIC_TABLE_PANEL_CLASS_NAME = 'euiBasicTablePanel';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* A utility hook that returns props needed to be passed to element(s) being
|
|
19
|
+
* a part of the paneled table look and feel (e.g., a toolbar above the table).
|
|
20
|
+
* @beta
|
|
21
|
+
*/
|
|
22
|
+
export var useEuiBasicTablePanelProps = function useEuiBasicTablePanelProps() {
|
|
23
|
+
var css = useEuiMemoizedStyles(euiBasicTablePanelStyles);
|
|
24
|
+
return {
|
|
25
|
+
css: css,
|
|
26
|
+
className: EUI_BASIC_TABLE_PANEL_CLASS_NAME
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var _excluded = ["text", "truncate", "type", "href", "rel", "onClick", "popoverContent", "popoverProps", "className", "color", "isFirstBreadcrumb", "isLastBreadcrumb", "isOnlyBreadcrumb", "highlightLastBreadcrumb", "truncateLastBreadcrumb"],
|
|
1
|
+
var _excluded = ["text", "truncate", "type", "href", "rel", "onClick", "popoverContent", "popoverProps", "className", "color", "isFirstBreadcrumb", "isLastBreadcrumb", "isOnlyBreadcrumb", "highlightLastBreadcrumb", "truncateLastBreadcrumb", "title"],
|
|
2
2
|
_excluded2 = ["css"],
|
|
3
|
-
_excluded3 = ["popoverContent", "popoverProps", "color", "type", "title", "aria-current", "className", "isLastBreadcrumb", "breadcrumbCss", "truncationCss", "children"];
|
|
3
|
+
_excluded3 = ["popoverContent", "popoverProps", "color", "type", "title", "hasExplicitTitle", "aria-current", "className", "isLastBreadcrumb", "breadcrumbCss", "truncationCss", "children"];
|
|
4
4
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
5
5
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
6
|
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
@@ -31,6 +31,7 @@ import { EuiLink } from '../link';
|
|
|
31
31
|
import { EuiPopover } from '../popover';
|
|
32
32
|
import { EuiIcon } from '../icon';
|
|
33
33
|
import { useEuiI18n } from '../i18n';
|
|
34
|
+
import { EuiToolTip } from '../tool_tip';
|
|
34
35
|
import { euiBreadcrumbContentStyles, euiBreadcrumbPopoverStyles } from './_breadcrumb_content.styles';
|
|
35
36
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
36
37
|
export var EuiBreadcrumbContent = function EuiBreadcrumbContent(_ref) {
|
|
@@ -49,6 +50,7 @@ export var EuiBreadcrumbContent = function EuiBreadcrumbContent(_ref) {
|
|
|
49
50
|
isOnlyBreadcrumb = _ref.isOnlyBreadcrumb,
|
|
50
51
|
highlightLastBreadcrumb = _ref.highlightLastBreadcrumb,
|
|
51
52
|
truncateLastBreadcrumb = _ref.truncateLastBreadcrumb,
|
|
53
|
+
propTitle = _ref.title,
|
|
52
54
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
53
55
|
var isApplication = type === 'application';
|
|
54
56
|
var classes = classNames('euiBreadcrumb__content', className);
|
|
@@ -71,8 +73,9 @@ export var EuiBreadcrumbContent = function EuiBreadcrumbContent(_ref) {
|
|
|
71
73
|
var linkColor = color || 'subdued';
|
|
72
74
|
var ariaCurrent = highlightLastBreadcrumb ? 'page' : undefined;
|
|
73
75
|
var interactionStyles = (isInteractiveBreadcrumb || isBreadcrumbWithPopover) && !isApplication && styles.isInteractive;
|
|
76
|
+
var hasExplicitTitle = propTitle != null && propTitle !== '';
|
|
74
77
|
return ___EmotionJSX(EuiInnerText, null, function (ref, innerText) {
|
|
75
|
-
var title = innerText === '' ? undefined : innerText;
|
|
78
|
+
var title = propTitle || (innerText === '' ? undefined : innerText);
|
|
76
79
|
var baseProps = {
|
|
77
80
|
ref: ref,
|
|
78
81
|
title: title,
|
|
@@ -84,6 +87,8 @@ export var EuiBreadcrumbContent = function EuiBreadcrumbContent(_ref) {
|
|
|
84
87
|
var _ = baseProps.css,
|
|
85
88
|
popoverButtonProps = _objectWithoutProperties(baseProps, _excluded2);
|
|
86
89
|
return ___EmotionJSX(EuiBreadcrumbPopover, _extends({}, popoverButtonProps, {
|
|
90
|
+
title: title,
|
|
91
|
+
hasExplicitTitle: hasExplicitTitle,
|
|
87
92
|
breadcrumbCss: [].concat(cssStyles, [interactionStyles]),
|
|
88
93
|
truncationCss: truncationStyles,
|
|
89
94
|
isLastBreadcrumb: isLastBreadcrumb,
|
|
@@ -303,6 +308,7 @@ var EuiBreadcrumbPopover = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
303
308
|
color = _ref2.color,
|
|
304
309
|
type = _ref2.type,
|
|
305
310
|
title = _ref2.title,
|
|
311
|
+
hasExplicitTitle = _ref2.hasExplicitTitle,
|
|
306
312
|
ariaCurrent = _ref2['aria-current'],
|
|
307
313
|
className = _ref2.className,
|
|
308
314
|
isLastBreadcrumb = _ref2.isLastBreadcrumb,
|
|
@@ -331,29 +337,33 @@ var EuiBreadcrumbPopover = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
331
337
|
var wrapperStyles = [styles.popoverWrapper.euiBreadcrumb__popoverWrapper, !isLastBreadcrumb && styles.popoverWrapper[type]];
|
|
332
338
|
var buttonStyles = [styles.euiBreadcrumb__popoverButton].concat(_toConsumableArray(breadcrumbCss));
|
|
333
339
|
var truncationStyles = [styles.euiBreadcrumb__popoverTruncation].concat(_toConsumableArray(truncationCss));
|
|
340
|
+
var linkButton = ___EmotionJSX(EuiLink, _extends({
|
|
341
|
+
ref: ref,
|
|
342
|
+
"aria-current": ariaCurrent,
|
|
343
|
+
className: className,
|
|
344
|
+
css: buttonStyles,
|
|
345
|
+
color: color,
|
|
346
|
+
onClick: togglePopover
|
|
347
|
+
}, rest), ___EmotionJSX("span", {
|
|
348
|
+
css: truncationStyles
|
|
349
|
+
}, children), ___EmotionJSX(EuiIcon, {
|
|
350
|
+
type: "chevronSingleDown",
|
|
351
|
+
size: "s",
|
|
352
|
+
"aria-label": " - ".concat(popoverAriaLabel)
|
|
353
|
+
}));
|
|
334
354
|
return ___EmotionJSX(EuiPopover, _extends({}, popoverProps, {
|
|
335
355
|
isOpen: isPopoverOpen,
|
|
336
356
|
closePopover: closePopover,
|
|
337
357
|
css: wrapperStyles,
|
|
338
|
-
button: ___EmotionJSX(
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
className: className,
|
|
343
|
-
css: buttonStyles,
|
|
344
|
-
color: color,
|
|
345
|
-
onClick: togglePopover
|
|
346
|
-
}, rest), ___EmotionJSX("span", {
|
|
347
|
-
css: truncationStyles
|
|
348
|
-
}, children), ___EmotionJSX(EuiIcon, {
|
|
349
|
-
type: "chevronSingleDown",
|
|
350
|
-
size: "s",
|
|
351
|
-
"aria-label": " - ".concat(popoverAriaLabel)
|
|
352
|
-
}))
|
|
358
|
+
button: title ? ___EmotionJSX(EuiToolTip, {
|
|
359
|
+
content: title,
|
|
360
|
+
disableScreenReaderOutput: !hasExplicitTitle
|
|
361
|
+
}, linkButton) : linkButton
|
|
353
362
|
}), typeof popoverContent === 'function' ? popoverContent(closePopover) : popoverContent);
|
|
354
363
|
});
|
|
355
364
|
EuiBreadcrumbPopover.propTypes = {
|
|
356
365
|
breadcrumbCss: PropTypes.any.isRequired,
|
|
357
|
-
truncationCss: PropTypes.any.isRequired
|
|
366
|
+
truncationCss: PropTypes.any.isRequired,
|
|
367
|
+
hasExplicitTitle: PropTypes.bool.isRequired
|
|
358
368
|
};
|
|
359
369
|
EuiBreadcrumbPopover.displayName = 'EuiBreadcrumbPopover';
|
|
@@ -129,6 +129,7 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
|
|
|
129
129
|
var optionIsFocused = activeOptionIndex === index;
|
|
130
130
|
var optionIsDisabled = option.hasOwnProperty('disabled') && option.disabled === true;
|
|
131
131
|
var hasOnFocusBadge = onFocusBadge && optionIsFocused && !optionIsDisabled;
|
|
132
|
+
var hasNativeTruncation = !hasTruncationProps && !searchValue && rowHeight !== 'auto';
|
|
132
133
|
return ___EmotionJSX(EuiListItemLayout, _extends({
|
|
133
134
|
element: "li",
|
|
134
135
|
role: "option"
|
|
@@ -143,8 +144,8 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
|
|
|
143
144
|
// loses focus on selecting an option (due to actively removing it from the list)
|
|
144
145
|
,
|
|
145
146
|
id: rootId("_option-".concat(options.indexOf(option))),
|
|
147
|
+
title: hasNativeTruncation && !toolTipContent ? label : undefined,
|
|
146
148
|
key: (_option$key = option.key) !== null && _option$key !== void 0 ? _option$key : option.label,
|
|
147
|
-
title: label,
|
|
148
149
|
prepend: option.prepend,
|
|
149
150
|
append: hasOnFocusBadge ? ___EmotionJSX(React.Fragment, null, option.append, hitEnterBadge) : option.append,
|
|
150
151
|
checked: checked,
|
|
@@ -63,18 +63,6 @@ EuiContextMenuPanelTitle.propTypes = {
|
|
|
63
63
|
title: PropTypes.node,
|
|
64
64
|
buttonRef: PropTypes.any,
|
|
65
65
|
buttonProps: PropTypes.shape({
|
|
66
|
-
iconType: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "addToDashboard", "advancedSettingsApp", "agentApp", "aggregate", "alignBottom", "alignBottomLeft", "alignBottomRight", "alignCenterHorizontal", "alignCenterVertical", "alignLeft", "alignRight", "alignTop", "alignTopLeft", "alignTopRight", "alert", "analyzeEvent", "annotation", "anomalyChart", "chartAnomaly", "anomalySwimLane", "apmApp", "apmTrace", "chartWaterfall", "appSearchApp", "apps", "arrowDown", "chevronSingleDown", "arrowLeft", "chevronSingleLeft", "arrowRight", "chevronSingleRight", "arrowUp", "chevronSingleUp", "arrowStart", "chevronLimitLeft", "arrowEnd", "chevronLimitRight", "article", "asterisk", "at", "archive", "axisX", "axisYLeft", "axisYRight", "auditbeatApp", "backgroundTask", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "briefcase", "branchUser", "broom", "brush", "bug", "bulb", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "chartChangePoint", "chartArea", "chartAreaStack", "chartBarHorizontal", "chartBarHorizontalStack", "chartBarVertical", "chartBarVerticalStack", "chartGauge", "chartHeatmap", "chartLine", "chartPie", "chartTagCloud", "chartThreshold", "check", "checkCircle", "checkInCircleFilled", "checkCircleFill", "cheer", "popper", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "clockControl", "cloud", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "code", "codeApp", "color", "paintBucket", "commandLine", "comment", "compare", "compute", "processor", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "contrastFill", "controls", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "crossProjectSearch", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crossCircle", "crosshair", "crosshairs", "currency", "money", "cut", "scissors", "dashboardApp", "dashedCircle", "dataVisualizer", "database", "desktop", "display", "devToolsApp", "diff", "discoverApp", "distributeHorizontal", "distributeVertical", "download", "drag", "dragHorizontal", "dragVertical", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "chevronDoubleLeft", "doubleArrowRight", "chevronDoubleRight", "ellipsis", "editorAlignCenter", "textAlignCenter", "editorAlignLeft", "textAlignLeft", "editorAlignRight", "textAlignRight", "editorBold", "textBold", "editorChecklist", "listCheck", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "textHeading", "editorItalic", "textItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "listNumber", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "redo", "editorStrike", "textStrike", "editorTable", "table", "editorUnderline", "textUnderline", "editorUndo", "undo", "editorUnorderedList", "listBullet", "email", "mail", "empty", "emsApp", "endpoint", "eql", "query", "eraser", "error", "errorFilled", "errorFill", "esqlVis", "exit", "logOut", "expand", "maximize", "expandMini", "export", "exportAction", "upload", "external", "eye", "eyeClosed", "eyeSlash", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "tableInfo", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flask", "flag", "fleetApp", "fold", "folder", "folderClosed", "folderClose", "folderCheck", "folderExclamation", "folderOpen", "folderOpened", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "hourglass", "if", "info", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "mapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "tableTime", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "queryField", "kqlFunction", "kqlOperand", "queryOperand", "kqlSelector", "querySelector", "kqlValue", "queryValue", "kubernetesNode", "kubernetesPod", "launch", "rocket", "layers", "lensApp", "lettering", "text", "lineBreak", "lineBreakSlash", "lineDash", "lineDashed", "lineDot", "lineDotted", "lineSolid", "link", "linkSlash", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "pattern", "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", "queue", "machineLearningApp", "magnet", "magnify", "magnifyExclamation", "magnifyMinus", "magnifyPlus", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "map", "mapMarker", "waypoint", "megaphone", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusCircle", "minusInCircle", "minusInCircleFilled", "minusInSquare", "minusSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "vectorTriangle", "notebookApp", "number", "offline", "wifiSlash", "online", "wifi", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFill", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusCircle", "plusInCircle", "plusInCircleFilled", "plusInSquare", "plusSquare", "popout", "presentation", "productRobot", "productAgent", "productCloudInfra", "productDashboard", "productDiscover", "productML", "productStreamsClassic", "productStreamsWired", "push", "send", "question", "quote", "radar", "readOnly", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "return", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "server", "sessionViewer", "shard", "share", "significantEvents", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "star", "starEmpty", "starEmptySpace", "starFill", "starFilled", "starFillSpace", "starFilledSpace", "starMinusEmpty", "starMinusFill", "starMinusFilled", "starPlusEmpty", "starPlusFill", "starPlusFilled", "stats", "stop", "stopFill", "stopFilled", "stopSlash", "storage", "streamsClassic", "streamsWired", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityHigh", "tableDensityExpanded", "tableDensityLow", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "thermometer", "thumbDown", "thumbUp", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "refreshTime", "timeslider", "training", "transitionBottomIn", "transitionBottomOut", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "unarchive", "vector", "vectorSquare", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "chartMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "warningFill", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workflowsApp", "workflow", "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]).isRequired,
|
|
67
|
-
/**
|
|
68
|
-
* Any of the named color palette options.
|
|
69
|
-
*
|
|
70
|
-
* Do not use the following colors for standalone buttons directly,
|
|
71
|
-
* they exist to serve other components:
|
|
72
|
-
* - accent
|
|
73
|
-
* - warning
|
|
74
|
-
* - neutral
|
|
75
|
-
* - risk
|
|
76
|
-
*/
|
|
77
|
-
color: PropTypes.any,
|
|
78
66
|
"aria-label": PropTypes.string,
|
|
79
67
|
"aria-labelledby": PropTypes.string,
|
|
80
68
|
/**
|
|
@@ -24,6 +24,7 @@ import { EuiButtonIcon } from '../../../button/button_icon';
|
|
|
24
24
|
import { EuiButtonEmpty } from '../../../button/button_empty';
|
|
25
25
|
import { EuiFlexGroup, EuiFlexItem } from '../../../flex';
|
|
26
26
|
import { EuiPopoverFooter } from '../../../popover';
|
|
27
|
+
import { EuiToolTip } from '../../../tool_tip';
|
|
27
28
|
import { euiDataGridCellActionsStyles } from './data_grid_cell_actions.styles';
|
|
28
29
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
29
30
|
export var EuiDataGridCellActions = function EuiDataGridCellActions(_ref) {
|
|
@@ -44,18 +45,21 @@ export var EuiDataGridCellActions = function EuiDataGridCellActions(_ref) {
|
|
|
44
45
|
token: "euiDataGridCellActions.expandButtonTitle",
|
|
45
46
|
default: "Click or hit enter to interact with cell content"
|
|
46
47
|
}, function (expandButtonTitle) {
|
|
47
|
-
return ___EmotionJSX(
|
|
48
|
-
|
|
48
|
+
return ___EmotionJSX(EuiToolTip, {
|
|
49
|
+
content: expandButtonTitle,
|
|
50
|
+
disableScreenReaderOutput: true,
|
|
51
|
+
display: "flex"
|
|
52
|
+
}, ___EmotionJSX(EuiButtonIcon, {
|
|
53
|
+
"aria-hidden": true,
|
|
49
54
|
className: "euiDataGridRowCell__actionButtonIcon euiDataGridRowCell__expandCell",
|
|
55
|
+
color: "primary",
|
|
56
|
+
css: styles.euiDataGridRowCell__actionButtonIcon,
|
|
50
57
|
"data-test-subj": "euiDataGridCellExpandButton",
|
|
51
58
|
display: "fill",
|
|
52
|
-
color: "primary",
|
|
53
59
|
iconSize: "s",
|
|
54
60
|
iconType: "maximize",
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
title: expandButtonTitle
|
|
58
|
-
});
|
|
61
|
+
onClick: onExpandClick
|
|
62
|
+
}));
|
|
59
63
|
});
|
|
60
64
|
}, [onExpandClick, styles]);
|
|
61
65
|
var additionalButtons = useMemo(function () {
|
|
@@ -361,7 +361,8 @@ export var useDataGridDisplaySelector = function useDataGridDisplaySelector(show
|
|
|
361
361
|
},
|
|
362
362
|
panelClassName: "euiDataGrid__displayPopoverPanel",
|
|
363
363
|
button: ___EmotionJSX(EuiToolTip, {
|
|
364
|
-
content: buttonLabel
|
|
364
|
+
content: buttonLabel,
|
|
365
|
+
disableScreenReaderOutput: true
|
|
365
366
|
}, ___EmotionJSX(EuiButtonIcon, {
|
|
366
367
|
size: "xs",
|
|
367
368
|
iconType: "controls",
|
|
@@ -40,7 +40,8 @@ export var useDataGridKeyboardShortcuts = function useDataGridKeyboardShortcuts(
|
|
|
40
40
|
anchorPosition: "downRight",
|
|
41
41
|
panelPaddingSize: "none",
|
|
42
42
|
button: ___EmotionJSX(EuiToolTip, {
|
|
43
|
-
content: title
|
|
43
|
+
content: title,
|
|
44
|
+
disableScreenReaderOutput: true
|
|
44
45
|
}, ___EmotionJSX(EuiButtonIcon, {
|
|
45
46
|
size: "xs",
|
|
46
47
|
iconType: "keyboard",
|
|
@@ -23,6 +23,7 @@ import classNames from 'classnames';
|
|
|
23
23
|
import { EuiFieldText, EuiFormPrepend } from '../../form';
|
|
24
24
|
import { EuiButtonEmpty } from '../../button/button_empty/button_empty';
|
|
25
25
|
import { EuiInputPopover, EuiPopover } from '../../popover';
|
|
26
|
+
import { EuiToolTip } from '../../tool_tip';
|
|
26
27
|
import { useEuiI18n } from '../../i18n';
|
|
27
28
|
import { usePrettyInterval } from '../super_date_picker/pretty_interval';
|
|
28
29
|
import { EuiRefreshInterval } from './refresh_interval';
|
|
@@ -141,7 +142,9 @@ export var EuiAutoRefreshButton = function EuiAutoRefreshButton(_ref2) {
|
|
|
141
142
|
})
|
|
142
143
|
});
|
|
143
144
|
return ___EmotionJSX(EuiPopover, {
|
|
144
|
-
button: ___EmotionJSX(
|
|
145
|
+
button: ___EmotionJSX(EuiToolTip, {
|
|
146
|
+
content: isPaused ? autoRefeshLabelOff : autoRefeshLabelOn
|
|
147
|
+
}, ___EmotionJSX(EuiButtonEmpty, _extends({
|
|
145
148
|
onClick: function onClick() {
|
|
146
149
|
return setIsPopoverOpen(function (isOpen) {
|
|
147
150
|
return !isOpen;
|
|
@@ -151,12 +154,12 @@ export var EuiAutoRefreshButton = function EuiAutoRefreshButton(_ref2) {
|
|
|
151
154
|
size: size,
|
|
152
155
|
color: color,
|
|
153
156
|
iconType: "refreshTime",
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
isDisabled: isDisabled,
|
|
158
|
+
hasAriaDisabled: isDisabled
|
|
156
159
|
}, rest), usePrettyInterval(Boolean(isPaused), refreshInterval, {
|
|
157
160
|
shortHand: shortHand,
|
|
158
161
|
unit: intervalUnits
|
|
159
|
-
})),
|
|
162
|
+
}))),
|
|
160
163
|
isOpen: isPopoverOpen,
|
|
161
164
|
closePopover: function closePopover() {
|
|
162
165
|
setIsPopoverOpen(false);
|