@elastic/eui 113.1.0 → 113.2.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/es/components/accordion/accordion_trigger/accordion_arrow.js +1 -1
- package/es/components/badge/badge.js +12 -6
- package/es/components/badge/badge.styles.js +55 -4
- package/es/components/badge/color_utils.js +39 -17
- package/es/components/basic_table/basic_table.a11y.js +1 -1
- package/es/components/basic_table/basic_table.js +82 -16
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +47 -2
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/button/split_button/split_button.js +3 -3
- package/es/components/button/split_button/split_button_actions.js +2 -2
- package/es/components/code/code_block_copy.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +1 -1
- package/es/components/combo_box/combo_box_input/combo_box_input.js +1 -1
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/context_menu/context_menu_item.js +1 -1
- package/es/components/context_menu/context_menu_panel.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell_actions.js +1 -1
- package/es/components/datagrid/body/header/column_actions.js +1 -1
- package/es/components/datagrid/body/header/data_grid_header_cell.js +1 -1
- package/es/components/datagrid/controls/column_selector.js +2 -2
- package/es/components/datagrid/controls/column_sorting.js +1 -1
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.a11y.js +1 -1
- package/es/components/datagrid/data_grid.stories.utils.js +3 -3
- package/es/components/datagrid/utils/data_grid_schema.js +1 -1
- package/es/components/date_picker/auto_refresh/auto_refresh.js +2 -2
- package/es/components/date_picker/react-datepicker/src/month_dropdown.js +1 -1
- package/es/components/date_picker/react-datepicker/src/month_year_dropdown.js +1 -1
- package/es/components/date_picker/react-datepicker/src/year_dropdown.js +1 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +2 -2
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +1 -1
- package/es/components/date_picker/super_date_picker/time_window_buttons.js +4 -4
- package/es/components/filter_group/filter_button.js +2 -2
- package/es/components/filter_group/filter_group.a11y.js +1 -1
- package/es/components/flyout/_flyout_overlay.js +5 -2
- package/es/components/flyout/flyout.component.js +329 -81
- package/es/components/flyout/flyout.styles.js +57 -31
- package/es/components/flyout/flyout_menu.js +2 -2
- package/es/components/flyout/manager/actions.js +27 -1
- package/es/components/flyout/manager/activity_stage.js +18 -7
- package/es/components/flyout/manager/flyout_child.js +18 -5
- package/es/components/flyout/manager/flyout_managed.js +29 -12
- package/es/components/flyout/manager/layout_mode.js +93 -33
- package/es/components/flyout/manager/reducer.js +24 -2
- package/es/components/flyout/manager/selectors.js +6 -0
- package/es/components/flyout/manager/store.js +6 -3
- package/es/components/flyout/use_flyout_resizable.js +64 -10
- package/es/components/flyout/use_flyout_z_index.js +5 -7
- package/es/components/form/checkbox/checkbox.js +1 -1
- package/es/components/form/field_password/field_password.js +1 -1
- package/es/components/form/field_search/field_search.js +1 -1
- package/es/components/form/file_picker/file_picker.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +1 -1
- package/es/components/header/header.a11y.js +1 -1
- package/es/components/link/external_link_icon.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +6 -6
- package/es/components/pagination/pagination_button_arrow.js +4 -4
- package/es/components/provider/component_defaults/component_defaults.js +2 -2
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/es/components/selectable/selectable.a11y.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/side_nav/side_nav_item.js +1 -1
- package/es/components/table/_table_cell_content.js +1 -1
- package/es/components/table/_table_cell_content.styles.js +2 -1
- package/es/components/table/const.js +15 -0
- package/es/components/table/index.js +2 -1
- package/es/components/table/mobile/responsive_context.js +2 -5
- package/es/components/table/mobile/table_header_mobile.js +10 -3
- package/es/components/table/mobile/table_sort_mobile.js +1 -1
- package/es/components/table/table.js +44 -15
- package/es/components/table/table.styles.js +27 -9
- package/es/components/table/table_cells_shared.styles.js +41 -1
- package/es/components/table/table_footer_cell.js +53 -8
- package/es/components/table/table_header_cell.js +47 -9
- package/es/components/table/table_header_cell_checkbox.js +15 -7
- package/es/components/table/table_pagination/table_pagination.js +1 -1
- package/es/components/table/table_row_cell.js +61 -12
- package/es/components/table/types.js +1 -0
- package/es/components/table/utils.js +50 -24
- package/es/components/tree_view/tree_view_item.js +1 -1
- package/es/global_styling/mixins/_button.js +14 -10
- package/es/global_styling/mixins/_container_query.js +1 -1
- package/eui.d.ts +474 -183
- package/i18ntokens.json +1043 -1043
- package/lib/components/accordion/accordion_trigger/accordion_arrow.js +1 -1
- package/lib/components/badge/badge.js +11 -5
- package/lib/components/badge/badge.styles.js +54 -3
- package/lib/components/badge/color_utils.js +39 -17
- package/lib/components/basic_table/basic_table.a11y.js +1 -1
- package/lib/components/basic_table/basic_table.js +82 -16
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +47 -2
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/button/split_button/split_button.js +2 -2
- package/lib/components/button/split_button/split_button_actions.js +2 -2
- package/lib/components/code/code_block_copy.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +1 -1
- package/lib/components/combo_box/combo_box_input/combo_box_input.js +1 -1
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/context_menu/context_menu_panel.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +1 -1
- package/lib/components/datagrid/body/header/column_actions.js +1 -1
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -1
- package/lib/components/datagrid/controls/column_selector.js +2 -2
- package/lib/components/datagrid/controls/column_sorting.js +1 -1
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.a11y.js +1 -1
- package/lib/components/datagrid/data_grid.stories.utils.js +3 -3
- package/lib/components/datagrid/utils/data_grid_schema.js +1 -1
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +2 -2
- package/lib/components/date_picker/react-datepicker/src/month_dropdown.js +1 -1
- package/lib/components/date_picker/react-datepicker/src/month_year_dropdown.js +1 -1
- package/lib/components/date_picker/react-datepicker/src/year_dropdown.js +1 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +2 -2
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +1 -1
- package/lib/components/date_picker/super_date_picker/time_window_buttons.js +4 -4
- package/lib/components/filter_group/filter_button.js +2 -2
- package/lib/components/filter_group/filter_group.a11y.js +1 -1
- package/lib/components/flyout/_flyout_overlay.js +5 -2
- package/lib/components/flyout/flyout.component.js +327 -79
- package/lib/components/flyout/flyout.styles.js +58 -32
- package/lib/components/flyout/flyout_menu.js +2 -2
- package/lib/components/flyout/manager/actions.js +28 -2
- package/lib/components/flyout/manager/activity_stage.js +18 -7
- package/lib/components/flyout/manager/flyout_child.js +17 -4
- package/lib/components/flyout/manager/flyout_managed.js +26 -9
- package/lib/components/flyout/manager/layout_mode.js +92 -32
- package/lib/components/flyout/manager/reducer.js +23 -1
- package/lib/components/flyout/manager/selectors.js +7 -1
- package/lib/components/flyout/manager/store.js +5 -2
- package/lib/components/flyout/use_flyout_resizable.js +64 -10
- package/lib/components/flyout/use_flyout_z_index.js +5 -7
- package/lib/components/form/checkbox/checkbox.js +1 -1
- package/lib/components/form/field_password/field_password.js +1 -1
- package/lib/components/form/field_search/field_search.js +1 -1
- package/lib/components/form/file_picker/file_picker.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +1 -1
- package/lib/components/header/header.a11y.js +1 -1
- package/lib/components/link/external_link_icon.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +6 -6
- package/lib/components/pagination/pagination_button_arrow.js +4 -4
- package/lib/components/provider/component_defaults/component_defaults.js +2 -2
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/lib/components/selectable/selectable.a11y.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/side_nav/side_nav_item.js +1 -1
- package/lib/components/table/_table_cell_content.js +1 -1
- package/lib/components/table/_table_cell_content.styles.js +2 -1
- package/lib/components/table/const.js +21 -0
- package/lib/components/table/index.js +8 -1
- package/lib/components/table/mobile/responsive_context.js +2 -5
- package/lib/components/table/mobile/table_header_mobile.js +10 -3
- package/lib/components/table/mobile/table_sort_mobile.js +1 -1
- package/lib/components/table/table.js +44 -15
- package/lib/components/table/table.styles.js +26 -8
- package/lib/components/table/table_cells_shared.styles.js +43 -3
- package/lib/components/table/table_footer_cell.js +50 -6
- package/lib/components/table/table_header_cell.js +45 -7
- package/lib/components/table/table_header_cell_checkbox.js +14 -6
- package/lib/components/table/table_pagination/table_pagination.js +1 -1
- package/lib/components/table/table_row_cell.js +60 -11
- package/lib/components/table/types.js +5 -0
- package/lib/components/table/utils.js +51 -25
- package/lib/components/tree_view/tree_view_item.js +1 -1
- package/lib/global_styling/mixins/_button.js +15 -11
- package/lib/global_styling/mixins/_container_query.js +1 -1
- package/optimize/es/components/accordion/accordion_trigger/accordion_arrow.js +1 -1
- package/optimize/es/components/badge/badge.js +12 -6
- package/optimize/es/components/badge/badge.styles.js +55 -4
- package/optimize/es/components/badge/color_utils.js +39 -17
- package/optimize/es/components/basic_table/basic_table.a11y.js +1 -1
- package/optimize/es/components/basic_table/basic_table.js +35 -14
- package/optimize/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/optimize/es/components/button/split_button/split_button.js +3 -3
- package/optimize/es/components/button/split_button/split_button_actions.js +2 -2
- package/optimize/es/components/code/code_block_copy.js +1 -1
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +1 -1
- package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +1 -1
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/optimize/es/components/context_menu/context_menu_item.js +1 -1
- package/optimize/es/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +1 -1
- package/optimize/es/components/datagrid/body/header/column_actions.js +1 -1
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +1 -1
- package/optimize/es/components/datagrid/controls/column_selector.js +2 -2
- package/optimize/es/components/datagrid/controls/column_sorting.js +1 -1
- package/optimize/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/optimize/es/components/datagrid/data_grid.a11y.js +1 -1
- package/optimize/es/components/datagrid/data_grid.stories.utils.js +3 -3
- package/optimize/es/components/datagrid/utils/data_grid_schema.js +1 -1
- package/optimize/es/components/date_picker/auto_refresh/auto_refresh.js +2 -2
- package/optimize/es/components/date_picker/react-datepicker/src/month_dropdown.js +1 -1
- package/optimize/es/components/date_picker/react-datepicker/src/month_year_dropdown.js +1 -1
- package/optimize/es/components/date_picker/react-datepicker/src/year_dropdown.js +1 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +2 -2
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +1 -1
- package/optimize/es/components/date_picker/super_date_picker/time_window_buttons.js +4 -4
- package/optimize/es/components/filter_group/filter_button.js +1 -1
- package/optimize/es/components/filter_group/filter_group.a11y.js +1 -1
- package/optimize/es/components/flyout/_flyout_overlay.js +5 -2
- package/optimize/es/components/flyout/flyout.component.js +329 -81
- package/optimize/es/components/flyout/flyout.styles.js +57 -31
- package/optimize/es/components/flyout/flyout_menu.js +2 -2
- package/optimize/es/components/flyout/manager/actions.js +27 -1
- package/optimize/es/components/flyout/manager/activity_stage.js +18 -7
- package/optimize/es/components/flyout/manager/flyout_child.js +18 -5
- package/optimize/es/components/flyout/manager/flyout_managed.js +29 -12
- package/optimize/es/components/flyout/manager/layout_mode.js +93 -33
- package/optimize/es/components/flyout/manager/reducer.js +24 -2
- package/optimize/es/components/flyout/manager/selectors.js +6 -0
- package/optimize/es/components/flyout/manager/store.js +6 -3
- package/optimize/es/components/flyout/use_flyout_resizable.js +64 -10
- package/optimize/es/components/flyout/use_flyout_z_index.js +5 -7
- package/optimize/es/components/form/checkbox/checkbox.js +1 -1
- package/optimize/es/components/form/field_password/field_password.js +1 -1
- package/optimize/es/components/form/field_search/field_search.js +1 -1
- package/optimize/es/components/form/file_picker/file_picker.js +1 -1
- package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +1 -1
- package/optimize/es/components/header/header.a11y.js +1 -1
- package/optimize/es/components/link/external_link_icon.js +1 -1
- package/optimize/es/components/list_group/pinnable_list_group/pinnable_list_group.js +1 -1
- package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +6 -6
- package/optimize/es/components/pagination/pagination_button_arrow.js +4 -4
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/optimize/es/components/selectable/selectable.a11y.js +1 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/optimize/es/components/side_nav/side_nav_item.js +1 -1
- package/optimize/es/components/table/_table_cell_content.js +1 -1
- package/optimize/es/components/table/_table_cell_content.styles.js +2 -1
- package/optimize/es/components/table/const.js +15 -0
- package/optimize/es/components/table/index.js +2 -1
- package/optimize/es/components/table/mobile/responsive_context.js +2 -5
- package/optimize/es/components/table/mobile/table_header_mobile.js +10 -3
- package/optimize/es/components/table/mobile/table_sort_mobile.js +1 -1
- package/optimize/es/components/table/table.js +34 -15
- package/optimize/es/components/table/table.styles.js +27 -9
- package/optimize/es/components/table/table_cells_shared.styles.js +41 -1
- package/optimize/es/components/table/table_footer_cell.js +21 -7
- package/optimize/es/components/table/table_header_cell.js +17 -7
- package/optimize/es/components/table/table_header_cell_checkbox.js +11 -5
- package/optimize/es/components/table/table_pagination/table_pagination.js +1 -1
- package/optimize/es/components/table/table_row_cell.js +28 -9
- package/optimize/es/components/table/types.js +1 -0
- package/optimize/es/components/table/utils.js +50 -20
- package/optimize/es/components/tree_view/tree_view_item.js +1 -1
- package/optimize/es/global_styling/mixins/_button.js +14 -10
- package/optimize/es/global_styling/mixins/_container_query.js +1 -1
- package/optimize/lib/components/accordion/accordion_trigger/accordion_arrow.js +1 -1
- package/optimize/lib/components/badge/badge.js +11 -5
- package/optimize/lib/components/badge/badge.styles.js +54 -3
- package/optimize/lib/components/badge/color_utils.js +39 -17
- package/optimize/lib/components/basic_table/basic_table.a11y.js +1 -1
- package/optimize/lib/components/basic_table/basic_table.js +35 -14
- package/optimize/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/optimize/lib/components/button/split_button/split_button.js +2 -2
- package/optimize/lib/components/button/split_button/split_button_actions.js +2 -2
- package/optimize/lib/components/code/code_block_copy.js +1 -1
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +1 -1
- package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +1 -1
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/optimize/lib/components/context_menu/context_menu_item.js +1 -1
- package/optimize/lib/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +1 -1
- package/optimize/lib/components/datagrid/body/header/column_actions.js +1 -1
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_selector.js +2 -2
- package/optimize/lib/components/datagrid/controls/column_sorting.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/optimize/lib/components/datagrid/data_grid.a11y.js +1 -1
- package/optimize/lib/components/datagrid/data_grid.stories.utils.js +3 -3
- package/optimize/lib/components/datagrid/utils/data_grid_schema.js +1 -1
- package/optimize/lib/components/date_picker/auto_refresh/auto_refresh.js +2 -2
- package/optimize/lib/components/date_picker/react-datepicker/src/month_dropdown.js +1 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/month_year_dropdown.js +1 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/year_dropdown.js +1 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +2 -2
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +1 -1
- package/optimize/lib/components/date_picker/super_date_picker/time_window_buttons.js +4 -4
- package/optimize/lib/components/filter_group/filter_button.js +1 -1
- package/optimize/lib/components/filter_group/filter_group.a11y.js +1 -1
- package/optimize/lib/components/flyout/_flyout_overlay.js +5 -2
- package/optimize/lib/components/flyout/flyout.component.js +327 -79
- package/optimize/lib/components/flyout/flyout.styles.js +58 -32
- package/optimize/lib/components/flyout/flyout_menu.js +2 -2
- package/optimize/lib/components/flyout/manager/actions.js +28 -2
- package/optimize/lib/components/flyout/manager/activity_stage.js +18 -7
- package/optimize/lib/components/flyout/manager/flyout_child.js +17 -4
- package/optimize/lib/components/flyout/manager/flyout_managed.js +26 -9
- package/optimize/lib/components/flyout/manager/layout_mode.js +92 -32
- package/optimize/lib/components/flyout/manager/reducer.js +23 -1
- package/optimize/lib/components/flyout/manager/selectors.js +7 -1
- package/optimize/lib/components/flyout/manager/store.js +5 -2
- package/optimize/lib/components/flyout/use_flyout_resizable.js +64 -10
- package/optimize/lib/components/flyout/use_flyout_z_index.js +5 -7
- package/optimize/lib/components/form/checkbox/checkbox.js +1 -1
- package/optimize/lib/components/form/field_password/field_password.js +1 -1
- package/optimize/lib/components/form/field_search/field_search.js +1 -1
- package/optimize/lib/components/form/file_picker/file_picker.js +1 -1
- package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +1 -1
- package/optimize/lib/components/header/header.a11y.js +1 -1
- package/optimize/lib/components/link/external_link_icon.js +1 -1
- package/optimize/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +1 -1
- package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +6 -6
- package/optimize/lib/components/pagination/pagination_button_arrow.js +4 -4
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/optimize/lib/components/selectable/selectable.a11y.js +1 -1
- package/optimize/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/optimize/lib/components/side_nav/side_nav_item.js +1 -1
- package/optimize/lib/components/table/_table_cell_content.js +1 -1
- package/optimize/lib/components/table/_table_cell_content.styles.js +2 -1
- package/optimize/lib/components/table/const.js +21 -0
- package/optimize/lib/components/table/index.js +8 -1
- package/optimize/lib/components/table/mobile/responsive_context.js +2 -5
- package/optimize/lib/components/table/mobile/table_header_mobile.js +10 -3
- package/optimize/lib/components/table/mobile/table_sort_mobile.js +1 -1
- package/optimize/lib/components/table/table.js +34 -15
- package/optimize/lib/components/table/table.styles.js +26 -8
- package/optimize/lib/components/table/table_cells_shared.styles.js +42 -2
- package/optimize/lib/components/table/table_footer_cell.js +19 -5
- package/optimize/lib/components/table/table_header_cell.js +15 -5
- package/optimize/lib/components/table/table_header_cell_checkbox.js +10 -4
- package/optimize/lib/components/table/table_pagination/table_pagination.js +1 -1
- package/optimize/lib/components/table/table_row_cell.js +27 -8
- package/optimize/lib/components/table/types.js +5 -0
- package/optimize/lib/components/table/utils.js +51 -22
- package/optimize/lib/components/tree_view/tree_view_item.js +1 -1
- package/optimize/lib/global_styling/mixins/_button.js +15 -11
- package/optimize/lib/global_styling/mixins/_container_query.js +1 -1
- package/package.json +1 -1
- package/test-env/components/accordion/accordion_trigger/accordion_arrow.js +1 -1
- package/test-env/components/badge/badge.js +11 -5
- package/test-env/components/badge/badge.styles.js +54 -3
- package/test-env/components/badge/color_utils.js +39 -17
- package/test-env/components/basic_table/basic_table.a11y.js +1 -1
- package/test-env/components/basic_table/basic_table.js +82 -16
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +47 -2
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/button/split_button/split_button.js +2 -2
- package/test-env/components/button/split_button/split_button_actions.js +2 -2
- package/test-env/components/code/code_block_copy.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +1 -1
- package/test-env/components/combo_box/combo_box_input/combo_box_input.js +1 -1
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/context_menu/context_menu_panel.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +1 -1
- package/test-env/components/datagrid/body/header/column_actions.js +1 -1
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +1 -1
- package/test-env/components/datagrid/controls/column_selector.js +2 -2
- package/test-env/components/datagrid/controls/column_sorting.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.a11y.js +1 -1
- package/test-env/components/datagrid/data_grid.stories.utils.js +3 -3
- package/test-env/components/datagrid/utils/data_grid_schema.js +1 -1
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +2 -2
- package/test-env/components/date_picker/react-datepicker/src/month_dropdown.js +1 -1
- package/test-env/components/date_picker/react-datepicker/src/month_year_dropdown.js +1 -1
- package/test-env/components/date_picker/react-datepicker/src/year_dropdown.js +1 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +2 -2
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +1 -1
- package/test-env/components/date_picker/super_date_picker/time_window_buttons.js +4 -4
- package/test-env/components/filter_group/filter_button.js +2 -2
- package/test-env/components/filter_group/filter_group.a11y.js +1 -1
- package/test-env/components/flyout/_flyout_overlay.js +5 -2
- package/test-env/components/flyout/flyout.component.js +327 -79
- package/test-env/components/flyout/flyout.styles.js +58 -32
- package/test-env/components/flyout/flyout_menu.js +2 -2
- package/test-env/components/flyout/manager/actions.js +28 -2
- package/test-env/components/flyout/manager/activity_stage.js +18 -7
- package/test-env/components/flyout/manager/flyout_child.js +17 -4
- package/test-env/components/flyout/manager/flyout_managed.js +26 -9
- package/test-env/components/flyout/manager/layout_mode.js +92 -32
- package/test-env/components/flyout/manager/reducer.js +23 -1
- package/test-env/components/flyout/manager/selectors.js +7 -1
- package/test-env/components/flyout/manager/store.js +5 -2
- package/test-env/components/flyout/use_flyout_resizable.js +64 -10
- package/test-env/components/flyout/use_flyout_z_index.js +5 -7
- package/test-env/components/form/checkbox/checkbox.js +1 -1
- package/test-env/components/form/field_password/field_password.js +1 -1
- package/test-env/components/form/field_search/field_search.js +1 -1
- package/test-env/components/form/file_picker/file_picker.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +1 -1
- package/test-env/components/header/header.a11y.js +1 -1
- package/test-env/components/link/external_link_icon.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +6 -6
- package/test-env/components/pagination/pagination_button_arrow.js +4 -4
- package/test-env/components/provider/component_defaults/component_defaults.js +2 -2
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/test-env/components/selectable/selectable.a11y.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/side_nav/side_nav_item.js +1 -1
- package/test-env/components/table/_table_cell_content.js +1 -1
- package/test-env/components/table/_table_cell_content.styles.js +2 -1
- package/test-env/components/table/const.js +21 -0
- package/test-env/components/table/index.js +8 -1
- package/test-env/components/table/mobile/responsive_context.js +2 -5
- package/test-env/components/table/mobile/table_header_mobile.js +10 -3
- package/test-env/components/table/mobile/table_sort_mobile.js +1 -1
- package/test-env/components/table/table.js +44 -15
- package/test-env/components/table/table.styles.js +26 -8
- package/test-env/components/table/table_cells_shared.styles.js +42 -2
- package/test-env/components/table/table_footer_cell.js +48 -6
- package/test-env/components/table/table_header_cell.js +45 -7
- package/test-env/components/table/table_header_cell_checkbox.js +14 -6
- package/test-env/components/table/table_pagination/table_pagination.js +1 -1
- package/test-env/components/table/table_row_cell.js +60 -11
- package/test-env/components/table/types.js +5 -0
- package/test-env/components/table/utils.js +51 -22
- package/test-env/components/tree_view/tree_view_item.js +1 -1
- package/test-env/global_styling/mixins/_button.js +15 -11
- package/test-env/global_styling/mixins/_container_query.js +1 -1
|
@@ -38,7 +38,7 @@ var _delay_render = require("../delay_render");
|
|
|
38
38
|
var _accessibility2 = require("../../services/accessibility");
|
|
39
39
|
var _basic_table = require("./basic_table.styles");
|
|
40
40
|
var _react2 = require("@emotion/react");
|
|
41
|
-
var _excluded = ["className", "loading", "items", "itemId", "columns", "pagination", "sorting", "selection", "onChange", "error", "noItemsMessage", "compressed", "itemIdToExpandedRowMap", "responsiveBreakpoint", "rowProps", "cellProps", "tableCaption", "rowHeader", "tableLayout", "hasBackground"],
|
|
41
|
+
var _excluded = ["className", "loading", "items", "itemId", "columns", "pagination", "sorting", "selection", "onChange", "error", "noItemsMessage", "compressed", "itemIdToExpandedRowMap", "responsiveBreakpoint", "rowProps", "cellProps", "tableCaption", "rowHeader", "tableLayout", "hasBackground", "scrollableInline"],
|
|
42
42
|
_excluded2 = ["align", "render", "dataType", "isExpander", "textOnly", "name", "field", "description", "sortable", "footer", "mobileOptions", "nameTooltip"];
|
|
43
43
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
44
44
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -363,6 +363,7 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
363
363
|
rowHeader = _this$props2.rowHeader,
|
|
364
364
|
tableLayout = _this$props2.tableLayout,
|
|
365
365
|
hasBackground = _this$props2.hasBackground,
|
|
366
|
+
scrollableInline = _this$props2.scrollableInline,
|
|
366
367
|
rest = (0, _objectWithoutProperties2.default)(_this$props2, _excluded);
|
|
367
368
|
var classes = (0, _classnames.default)('euiBasicTable', {
|
|
368
369
|
'euiBasicTable-loading': loading
|
|
@@ -381,7 +382,8 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
381
382
|
responsiveBreakpoint = _this$props3.responsiveBreakpoint,
|
|
382
383
|
tableLayout = _this$props3.tableLayout,
|
|
383
384
|
hasBackground = _this$props3.hasBackground,
|
|
384
|
-
loading = _this$props3.loading
|
|
385
|
+
loading = _this$props3.loading,
|
|
386
|
+
scrollableInline = _this$props3.scrollableInline;
|
|
385
387
|
return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_table.EuiTableHeaderMobile, {
|
|
386
388
|
responsiveBreakpoint: responsiveBreakpoint
|
|
387
389
|
}, this.renderSelectAll(true), this.renderTableMobileSort()), (0, _react2.jsx)(_services.OverrideCopiedTabularContent, null, (0, _react2.jsx)(_table.EuiTable, {
|
|
@@ -390,6 +392,7 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
390
392
|
responsiveBreakpoint: responsiveBreakpoint,
|
|
391
393
|
compressed: compressed,
|
|
392
394
|
hasBackground: hasBackground,
|
|
395
|
+
scrollableInline: scrollableInline,
|
|
393
396
|
css: loading && _basic_table.safariLoadingWorkaround
|
|
394
397
|
}, this.renderTableCaption(), this.renderTableHead(), this.renderTableBody(), this.renderTableFooter())));
|
|
395
398
|
}
|
|
@@ -492,6 +495,8 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
492
495
|
var _ref8 = column,
|
|
493
496
|
field = _ref8.field,
|
|
494
497
|
width = _ref8.width,
|
|
498
|
+
minWidth = _ref8.minWidth,
|
|
499
|
+
maxWidth = _ref8.maxWidth,
|
|
495
500
|
name = _ref8.name,
|
|
496
501
|
nameTooltip = _ref8.nameTooltip,
|
|
497
502
|
align = _ref8.align,
|
|
@@ -503,6 +508,8 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
503
508
|
var columnAlign = align || _this3.getAlignForDataType(dataType);
|
|
504
509
|
var sharedProps = {
|
|
505
510
|
width: width,
|
|
511
|
+
minWidth: minWidth,
|
|
512
|
+
maxWidth: maxWidth,
|
|
506
513
|
tooltipProps: nameTooltip,
|
|
507
514
|
description: description,
|
|
508
515
|
mobileOptions: mobileOptions,
|
|
@@ -512,9 +519,13 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
512
519
|
|
|
513
520
|
// actions column
|
|
514
521
|
if (column.actions) {
|
|
522
|
+
var sticky = _this3.props.scrollableInline && column.sticky;
|
|
515
523
|
headers.push((0, _react2.jsx)(_table.EuiTableHeaderCell, (0, _extends2.default)({}, sharedProps, {
|
|
516
524
|
key: "_actions_h_".concat(index),
|
|
517
|
-
align: "right"
|
|
525
|
+
align: "right",
|
|
526
|
+
sticky: sticky ? {
|
|
527
|
+
side: 'end'
|
|
528
|
+
} : undefined
|
|
518
529
|
}), name));
|
|
519
530
|
return;
|
|
520
531
|
}
|
|
@@ -569,7 +580,8 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
569
580
|
items = _this$props7.items,
|
|
570
581
|
columns = _this$props7.columns,
|
|
571
582
|
pagination = _this$props7.pagination,
|
|
572
|
-
selection = _this$props7.selection
|
|
583
|
+
selection = _this$props7.selection,
|
|
584
|
+
scrollableInline = _this$props7.scrollableInline;
|
|
573
585
|
var footers = [];
|
|
574
586
|
var hasDefinedFooter = false;
|
|
575
587
|
if (selection) {
|
|
@@ -590,18 +602,23 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
590
602
|
if (mobileOptions !== null && mobileOptions !== void 0 && mobileOptions.only) {
|
|
591
603
|
return; // exclude columns that only exist for mobile headers
|
|
592
604
|
}
|
|
605
|
+
var sticky = scrollableInline && column.actions && column.sticky === true;
|
|
606
|
+
var sharedProps = {
|
|
607
|
+
align: align,
|
|
608
|
+
sticky: sticky ? {
|
|
609
|
+
side: 'end'
|
|
610
|
+
} : undefined
|
|
611
|
+
};
|
|
593
612
|
if (footer) {
|
|
594
|
-
footers.push((0, _react2.jsx)(_table.EuiTableFooterCell, {
|
|
595
|
-
key: "footer_".concat(String(field), "_").concat(footers.length - 1)
|
|
596
|
-
|
|
597
|
-
}, footer));
|
|
613
|
+
footers.push((0, _react2.jsx)(_table.EuiTableFooterCell, (0, _extends2.default)({
|
|
614
|
+
key: "footer_".concat(String(field), "_").concat(footers.length - 1)
|
|
615
|
+
}, sharedProps), footer));
|
|
598
616
|
hasDefinedFooter = true;
|
|
599
617
|
} else {
|
|
600
618
|
// Footer is undefined, so create an empty cell to preserve layout
|
|
601
|
-
footers.push((0, _react2.jsx)(_table.EuiTableFooterCell, {
|
|
602
|
-
key: "footer_empty_".concat(footers.length - 1)
|
|
603
|
-
|
|
604
|
-
}, undefined));
|
|
619
|
+
footers.push((0, _react2.jsx)(_table.EuiTableFooterCell, (0, _extends2.default)({
|
|
620
|
+
key: "footer_empty_".concat(footers.length - 1)
|
|
621
|
+
}, sharedProps), undefined));
|
|
605
622
|
}
|
|
606
623
|
});
|
|
607
624
|
return footers.length && hasDefinedFooter ? (0, _react2.jsx)(_table.EuiTableFooter, null, footers) : null;
|
|
@@ -643,7 +660,7 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
643
660
|
width: '100%'
|
|
644
661
|
}
|
|
645
662
|
}, (0, _react2.jsx)(_icon.EuiIcon, {
|
|
646
|
-
type: "
|
|
663
|
+
type: "minusCircle",
|
|
647
664
|
color: "danger"
|
|
648
665
|
}), " ", error));
|
|
649
666
|
}
|
|
@@ -828,13 +845,17 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
828
845
|
}
|
|
829
846
|
});
|
|
830
847
|
}
|
|
848
|
+
var sticky = this.props.scrollableInline && column.sticky;
|
|
831
849
|
var key = "record_actions_".concat(itemId, "_").concat(columnIndex);
|
|
832
850
|
return (0, _react2.jsx)(_table.EuiTableRowCell, {
|
|
833
851
|
key: key,
|
|
834
852
|
align: "right",
|
|
835
853
|
textOnly: false,
|
|
836
854
|
hasActions: hasCustomActions ? 'custom' : true,
|
|
837
|
-
append: this.renderCopyChar(columnIndex)
|
|
855
|
+
append: this.renderCopyChar(columnIndex),
|
|
856
|
+
sticky: sticky ? {
|
|
857
|
+
side: 'end'
|
|
858
|
+
} : undefined
|
|
838
859
|
}, (0, _react2.jsx)(_expanded_item_actions.ExpandedItemActions, {
|
|
839
860
|
actions: actualActions,
|
|
840
861
|
actionsDisabled: allDisabled,
|
|
@@ -1134,9 +1155,35 @@ EuiBasicTable.propTypes = {
|
|
|
1134
1155
|
*/
|
|
1135
1156
|
dataType: _propTypes.default.oneOf(["auto", "string", "number", "boolean", "date"]),
|
|
1136
1157
|
/**
|
|
1137
|
-
*
|
|
1158
|
+
* Requested width of the column.
|
|
1159
|
+
*
|
|
1160
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
1161
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
1162
|
+
* Consider this value a guidance.
|
|
1163
|
+
*
|
|
1164
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/table-layout#values|table-layout algorithms on MDN}
|
|
1138
1165
|
*/
|
|
1139
1166
|
width: _propTypes.default.string,
|
|
1167
|
+
/**
|
|
1168
|
+
* Requested minimum width of the column.
|
|
1169
|
+
*
|
|
1170
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
1171
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
1172
|
+
* Consider this value a guidance.
|
|
1173
|
+
*
|
|
1174
|
+
* This property takes effect only when `tableLayout="auto"` is set on the table.
|
|
1175
|
+
*/
|
|
1176
|
+
minWidth: _propTypes.default.string,
|
|
1177
|
+
/**
|
|
1178
|
+
* Requested maximum width of the column.
|
|
1179
|
+
*
|
|
1180
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
1181
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
1182
|
+
* Consider this value a guidance.
|
|
1183
|
+
*
|
|
1184
|
+
* This property takes effect only when `tableLayout="auto"` is set on the table.
|
|
1185
|
+
*/
|
|
1186
|
+
maxWidth: _propTypes.default.string,
|
|
1140
1187
|
/**
|
|
1141
1188
|
* Defines whether the user can sort on this column. If a function is provided, this function returns the value to sort against
|
|
1142
1189
|
*/
|
|
@@ -1382,7 +1429,26 @@ EuiBasicTable.propTypes = {
|
|
|
1382
1429
|
delay: _propTypes.default.any,
|
|
1383
1430
|
position: _propTypes.default.any
|
|
1384
1431
|
})
|
|
1385
|
-
})
|
|
1432
|
+
}),
|
|
1433
|
+
/**
|
|
1434
|
+
* Whether the actions column should always stick to the right side
|
|
1435
|
+
* of the table no matter the inline (horizontal) scroll position.
|
|
1436
|
+
*
|
|
1437
|
+
* This option should be used in tables with `scrollableInline={true}`
|
|
1438
|
+
* and will be enabled by default in future versions of EUI.
|
|
1439
|
+
*
|
|
1440
|
+
* Currently, it can only be used when the actions column is the last column
|
|
1441
|
+
* of the table.
|
|
1442
|
+
*
|
|
1443
|
+
* When set to `true` and `hasBackground: false` is set on the table,
|
|
1444
|
+
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
1445
|
+
* the background color of the element containing the table.
|
|
1446
|
+
* Otherwise, the sticky column will use the default `backgroundBasePlain`
|
|
1447
|
+
* background color.
|
|
1448
|
+
* @beta
|
|
1449
|
+
* @default false
|
|
1450
|
+
*/
|
|
1451
|
+
sticky: _propTypes.default.bool
|
|
1386
1452
|
}).isRequired]).isRequired),
|
|
1387
1453
|
/**
|
|
1388
1454
|
* Error message to display
|
|
@@ -100,7 +100,7 @@ var CollapsedItemActions = exports.CollapsedItemActions = function CollapsedItem
|
|
|
100
100
|
className: className,
|
|
101
101
|
"aria-label": actionsDisabled ? allActionsButtonDisabledAriaLabel : allActionsButtonAriaLabel,
|
|
102
102
|
title: actionsDisabled ? allActionsButtonDisabledAriaLabel : undefined,
|
|
103
|
-
iconType: "
|
|
103
|
+
iconType: "boxesVertical",
|
|
104
104
|
color: "text",
|
|
105
105
|
isDisabled: actionsDisabled,
|
|
106
106
|
onClick: function onClick() {
|
|
@@ -689,9 +689,35 @@ EuiInMemoryTable.propTypes = {
|
|
|
689
689
|
*/
|
|
690
690
|
dataType: _propTypes.default.oneOf(["auto", "string", "number", "boolean", "date"]),
|
|
691
691
|
/**
|
|
692
|
-
*
|
|
692
|
+
* Requested width of the column.
|
|
693
|
+
*
|
|
694
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
695
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
696
|
+
* Consider this value a guidance.
|
|
697
|
+
*
|
|
698
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/table-layout#values|table-layout algorithms on MDN}
|
|
693
699
|
*/
|
|
694
700
|
width: _propTypes.default.string,
|
|
701
|
+
/**
|
|
702
|
+
* Requested minimum width of the column.
|
|
703
|
+
*
|
|
704
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
705
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
706
|
+
* Consider this value a guidance.
|
|
707
|
+
*
|
|
708
|
+
* This property takes effect only when `tableLayout="auto"` is set on the table.
|
|
709
|
+
*/
|
|
710
|
+
minWidth: _propTypes.default.string,
|
|
711
|
+
/**
|
|
712
|
+
* Requested maximum width of the column.
|
|
713
|
+
*
|
|
714
|
+
* Exact width settings are not guaranteed in certain table layouts
|
|
715
|
+
* or configurations, and may be adjusted by browser's algorithm.
|
|
716
|
+
* Consider this value a guidance.
|
|
717
|
+
*
|
|
718
|
+
* This property takes effect only when `tableLayout="auto"` is set on the table.
|
|
719
|
+
*/
|
|
720
|
+
maxWidth: _propTypes.default.string,
|
|
695
721
|
/**
|
|
696
722
|
* Defines whether the user can sort on this column. If a function is provided, this function returns the value to sort against
|
|
697
723
|
*/
|
|
@@ -937,7 +963,26 @@ EuiInMemoryTable.propTypes = {
|
|
|
937
963
|
delay: _propTypes.default.any,
|
|
938
964
|
position: _propTypes.default.any
|
|
939
965
|
})
|
|
940
|
-
})
|
|
966
|
+
}),
|
|
967
|
+
/**
|
|
968
|
+
* Whether the actions column should always stick to the right side
|
|
969
|
+
* of the table no matter the inline (horizontal) scroll position.
|
|
970
|
+
*
|
|
971
|
+
* This option should be used in tables with `scrollableInline={true}`
|
|
972
|
+
* and will be enabled by default in future versions of EUI.
|
|
973
|
+
*
|
|
974
|
+
* Currently, it can only be used when the actions column is the last column
|
|
975
|
+
* of the table.
|
|
976
|
+
*
|
|
977
|
+
* When set to `true` and `hasBackground: false` is set on the table,
|
|
978
|
+
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
979
|
+
* the background color of the element containing the table.
|
|
980
|
+
* Otherwise, the sticky column will use the default `backgroundBasePlain`
|
|
981
|
+
* background color.
|
|
982
|
+
* @beta
|
|
983
|
+
* @default false
|
|
984
|
+
*/
|
|
985
|
+
sticky: _propTypes.default.bool
|
|
941
986
|
}).isRequired]).isRequired),
|
|
942
987
|
/**
|
|
943
988
|
* Error message to display
|
|
@@ -346,7 +346,7 @@ var EuiBreadcrumbPopover = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2,
|
|
|
346
346
|
}, rest), (0, _react2.jsx)("span", {
|
|
347
347
|
css: truncationStyles
|
|
348
348
|
}, children), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
349
|
-
type: "
|
|
349
|
+
type: "chevronSingleDown",
|
|
350
350
|
size: "s",
|
|
351
351
|
"aria-label": " - ".concat(popoverAriaLabel)
|
|
352
352
|
}))
|
|
@@ -57,8 +57,8 @@ var _EuiSplitButton = exports._EuiSplitButton = function _EuiSplitButton(_ref) {
|
|
|
57
57
|
hasAriaDisabled: hasAriaDisabled,
|
|
58
58
|
isLoading: isLoading
|
|
59
59
|
};
|
|
60
|
-
var buttonFilledColors = (0, _global_styling.
|
|
61
|
-
var buttonColors = (0, _global_styling.
|
|
60
|
+
var buttonFilledColors = (0, _global_styling.getEuiFilledButtonColorValues)(euiThemeContext, isDisabled ? 'disabled' : color);
|
|
61
|
+
var buttonColors = (0, _global_styling.getEuiButtonColorValues)(euiThemeContext, isDisabled ? 'disabled' : color);
|
|
62
62
|
var classes = (0, _classnames.default)('euiSplitButton', className);
|
|
63
63
|
var styles = (0, _services.useEuiMemoizedStyles)(_split_button.euiSplitButtonStyles);
|
|
64
64
|
var cssStyles = [styles.euiSplitButton, fill && styles.fill];
|
|
@@ -92,8 +92,8 @@ var EuiSplitButtonActionSecondary = exports.EuiSplitButtonActionSecondary = func
|
|
|
92
92
|
var styles = _split_button.euiSplitButtonActionStyles;
|
|
93
93
|
var actionProps = _objectSpread(_objectSpread(_objectSpread({}, rest), sharedRest), {}, {
|
|
94
94
|
display: display,
|
|
95
|
-
// enforce
|
|
96
|
-
iconType: popoverProps != null ? '
|
|
95
|
+
// enforce chevronSingleDown icon when a popover is rendered
|
|
96
|
+
iconType: popoverProps != null ? 'chevronSingleDown' : rest.iconType,
|
|
97
97
|
isDisabled: _isDisabled,
|
|
98
98
|
isLoading: _isLoading,
|
|
99
99
|
css: [styles.euiSplitButtonActionSecondary],
|
|
@@ -68,7 +68,7 @@ var useCopy = exports.useCopy = function useCopy(_ref) {
|
|
|
68
68
|
}, function (copy) {
|
|
69
69
|
return (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
70
70
|
onClick: copy,
|
|
71
|
-
iconType: "
|
|
71
|
+
iconType: "copy",
|
|
72
72
|
color: "text",
|
|
73
73
|
"aria-label": copyAriaLabel || copyDefaultAriaLabel,
|
|
74
74
|
"data-test-subj": "euiCodeBlockCopy"
|
|
@@ -77,7 +77,7 @@ var EuiCollapsedNavPopover = exports.EuiCollapsedNavPopover = function EuiCollap
|
|
|
77
77
|
repositionOnScroll: true,
|
|
78
78
|
button: (0, _react2.jsx)(_collapsed_nav_button.EuiCollapsedNavButton, {
|
|
79
79
|
title: title,
|
|
80
|
-
icon: icon || '
|
|
80
|
+
icon: icon || 'boxesVertical',
|
|
81
81
|
iconProps: iconProps,
|
|
82
82
|
isSelected: isSelected,
|
|
83
83
|
onClick: togglePopover,
|
|
@@ -239,7 +239,7 @@ var EuiComboBoxInput = exports.EuiComboBoxInput = /*#__PURE__*/function (_Compon
|
|
|
239
239
|
onClick: isListOpen && !isDisabled ? onCloseListClick : onOpenListClick,
|
|
240
240
|
side: 'right',
|
|
241
241
|
tabIndex: -1,
|
|
242
|
-
type: '
|
|
242
|
+
type: 'chevronSingleDown'
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
var wrapClasses = (0, _classnames.default)('euiComboBox__inputWrap', {
|
|
@@ -51,7 +51,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
51
51
|
var hitEnterBadge = (0, _react2.jsx)(_badge.EuiBadge, {
|
|
52
52
|
className: "euiComboBoxOption__enterBadge",
|
|
53
53
|
color: "hollow",
|
|
54
|
-
iconType: "
|
|
54
|
+
iconType: "return",
|
|
55
55
|
"aria-hidden": "true"
|
|
56
56
|
});
|
|
57
57
|
var EuiComboBoxOptionsList = exports.EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
|
|
@@ -66,7 +66,7 @@ var EuiContextMenuItem = exports.EuiContextMenuItem = function EuiContextMenuIte
|
|
|
66
66
|
css: styles.euiContextMenu__icon
|
|
67
67
|
}));
|
|
68
68
|
var arrow = hasPanel && (0, _react2.jsx)(_icon.EuiIcon, {
|
|
69
|
-
type: "
|
|
69
|
+
type: "chevronSingleRight",
|
|
70
70
|
size: "m",
|
|
71
71
|
className: "euiContextMenu__arrow",
|
|
72
72
|
css: styles.euiContextMenuItem__arrow
|
|
@@ -355,7 +355,7 @@ var EuiContextMenuPanelClass = exports.EuiContextMenuPanelClass = /*#__PURE__*/f
|
|
|
355
355
|
if (onClose) _this3.backButton = node;
|
|
356
356
|
},
|
|
357
357
|
"data-test-subj": onClose ? 'contextMenuPanelTitleButton' : 'contextMenuPanelTitle',
|
|
358
|
-
icon: onClose && '
|
|
358
|
+
icon: onClose && 'chevronSingleLeft'
|
|
359
359
|
}, title);
|
|
360
360
|
var content = items && items.length ? items.map(function (MenuItem) {
|
|
361
361
|
var cloneProps = {};
|
|
@@ -53,7 +53,7 @@ var EuiDataGridCellActions = exports.EuiDataGridCellActions = function EuiDataGr
|
|
|
53
53
|
display: "fill",
|
|
54
54
|
color: "primary",
|
|
55
55
|
iconSize: "s",
|
|
56
|
-
iconType: "
|
|
56
|
+
iconType: "maximize",
|
|
57
57
|
"aria-hidden": true,
|
|
58
58
|
onClick: onExpandClick,
|
|
59
59
|
title: expandButtonTitle
|
|
@@ -107,7 +107,7 @@ var EuiDataGridHeaderCell = exports.EuiDataGridHeaderCell = /*#__PURE__*/(0, _re
|
|
|
107
107
|
return (0, _react2.jsx)(_react.default.Fragment, null, !canDragAndDropColumns && columnResizer, canDragAndDropColumns && (0, _react2.jsx)("span", {
|
|
108
108
|
className: "euiDataGridHeaderCell__draggableIcon"
|
|
109
109
|
}, (0, _react2.jsx)(_icon.EuiIcon, {
|
|
110
|
-
type: "
|
|
110
|
+
type: "drag",
|
|
111
111
|
size: "s",
|
|
112
112
|
css: [styles.euiDataGridHeaderCell__actions.action, styles.euiDataGridHeaderCell__actions.start, ";label:EuiDataGridHeaderCell;"]
|
|
113
113
|
})), (0, _react2.jsx)("div", {
|
|
@@ -152,7 +152,7 @@ var useDataGridColumnSelector = exports.useDataGridColumnSelector = function use
|
|
|
152
152
|
panelPaddingSize: "none",
|
|
153
153
|
button: (0, _react2.jsx)(_data_grid_toolbar_control.EuiDataGridToolbarControl, {
|
|
154
154
|
badgeContent: numberOfHiddenFields > 0 ? "".concat(orderedVisibleColumns.length, "/").concat(sortedColumns.length) : sortedColumns.length,
|
|
155
|
-
iconType: "
|
|
155
|
+
iconType: "table",
|
|
156
156
|
"data-test-subj": "dataGridColumnSelectorButton",
|
|
157
157
|
onClick: function onClick() {
|
|
158
158
|
return setIsOpen(!isOpen);
|
|
@@ -237,7 +237,7 @@ var useDataGridColumnSelector = exports.useDataGridColumnSelector = function use
|
|
|
237
237
|
}, provided.dragHandleProps, {
|
|
238
238
|
"aria-label": "".concat(label, " ").concat(dragHandleAriaLabel)
|
|
239
239
|
}), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
240
|
-
type: "
|
|
240
|
+
type: "dragVertical",
|
|
241
241
|
color: "subdued"
|
|
242
242
|
}))));
|
|
243
243
|
});
|
|
@@ -193,7 +193,7 @@ var DataGridSortingControl = exports.DataGridSortingControl = /*#__PURE__*/(0, _
|
|
|
193
193
|
button: (0, _react2.jsx)(_button.EuiButtonEmpty, {
|
|
194
194
|
size: "xs",
|
|
195
195
|
flush: "left",
|
|
196
|
-
iconType: "
|
|
196
|
+
iconType: "chevronSingleDown",
|
|
197
197
|
iconSide: "right",
|
|
198
198
|
"data-test-subj": "dataGridColumnSortingSelectionButton",
|
|
199
199
|
onClick: function onClick() {
|
|
@@ -170,7 +170,7 @@ var EuiDataGridColumnSortingDraggable = exports.EuiDataGridColumnSortingDraggabl
|
|
|
170
170
|
}, provided.dragHandleProps, {
|
|
171
171
|
"aria-label": dragHandleAriaLabel
|
|
172
172
|
}), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
173
|
-
type: "
|
|
173
|
+
type: "dragVertical",
|
|
174
174
|
color: "subdued"
|
|
175
175
|
})));
|
|
176
176
|
});
|
|
@@ -110,7 +110,7 @@ var columns = [{
|
|
|
110
110
|
onClick: function onClick() {
|
|
111
111
|
return alert(value);
|
|
112
112
|
},
|
|
113
|
-
iconType: "
|
|
113
|
+
iconType: "mail",
|
|
114
114
|
"aria-label": "Send email to ".concat(value)
|
|
115
115
|
}, "Send email");
|
|
116
116
|
}]
|
|
@@ -126,7 +126,7 @@ var columns = [{
|
|
|
126
126
|
additional: [{
|
|
127
127
|
label: 'Custom action',
|
|
128
128
|
onClick: function onClick() {},
|
|
129
|
-
iconType: '
|
|
129
|
+
iconType: 'popper',
|
|
130
130
|
size: 'xs',
|
|
131
131
|
color: 'text'
|
|
132
132
|
}]
|
|
@@ -204,7 +204,7 @@ var defaultStorybookArgs = exports.defaultStorybookArgs = {
|
|
|
204
204
|
iconType: "indexEdit",
|
|
205
205
|
"aria-label": "Edit row"
|
|
206
206
|
}), (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
207
|
-
iconType: "
|
|
207
|
+
iconType: "boxesVertical",
|
|
208
208
|
"aria-label": "Open actions popover"
|
|
209
209
|
}));
|
|
210
210
|
}
|
|
@@ -73,7 +73,7 @@ var schemaDetectors = exports.schemaDetectors = [{
|
|
|
73
73
|
if (aValue > bValue) return direction === 'asc' ? 1 : -1;
|
|
74
74
|
return 0;
|
|
75
75
|
},
|
|
76
|
-
icon: '
|
|
76
|
+
icon: 'money',
|
|
77
77
|
color: 'euiColorVis0',
|
|
78
78
|
sortTextAsc: (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
79
79
|
token: "euiDataGridSchema.currencySortTextAsc",
|
|
@@ -64,7 +64,7 @@ var EuiAutoRefresh = exports.EuiAutoRefresh = function EuiAutoRefresh(_ref) {
|
|
|
64
64
|
className: "euiFormControlLayout__prepend",
|
|
65
65
|
element: "button",
|
|
66
66
|
label: (0, _react2.jsx)("strong", null, autoRefeshLabel),
|
|
67
|
-
iconLeft: "
|
|
67
|
+
iconLeft: "refreshTime",
|
|
68
68
|
isDisabled: isDisabled,
|
|
69
69
|
onClick: function onClick() {
|
|
70
70
|
return setIsPopoverOpen(function (isOpen) {
|
|
@@ -153,7 +153,7 @@ var EuiAutoRefreshButton = exports.EuiAutoRefreshButton = function EuiAutoRefres
|
|
|
153
153
|
className: classes,
|
|
154
154
|
size: size,
|
|
155
155
|
color: color,
|
|
156
|
-
iconType: "
|
|
156
|
+
iconType: "refreshTime",
|
|
157
157
|
title: isPaused ? autoRefeshLabelOff : autoRefeshLabelOn,
|
|
158
158
|
isDisabled: isDisabled
|
|
159
159
|
}, rest), (0, _pretty_interval.usePrettyInterval)(Boolean(isPaused), refreshInterval, {
|
|
@@ -108,7 +108,7 @@ var MonthDropdown = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
108
108
|
}, (0, _react2.jsx)("span", {
|
|
109
109
|
className: "react-datepicker__month-read-view--selected-month"
|
|
110
110
|
}, monthNames[_this.props.month]), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
111
|
-
type: "
|
|
111
|
+
type: "chevronSingleDown",
|
|
112
112
|
size: "s",
|
|
113
113
|
color: "subdued",
|
|
114
114
|
className: "react-datepicker__month-read-view--down-arrow"
|
|
@@ -120,7 +120,7 @@ var MonthYearDropdown = exports.default = /*#__PURE__*/function (_React$Componen
|
|
|
120
120
|
}, (0, _react2.jsx)("span", {
|
|
121
121
|
className: "react-datepicker__month-year-read-view--selected-month-year"
|
|
122
122
|
}, yearMonth), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
123
|
-
type: "
|
|
123
|
+
type: "chevronSingleDown",
|
|
124
124
|
size: "s",
|
|
125
125
|
color: "subdued",
|
|
126
126
|
className: "react-datepicker__month-year-read-view--down-arrow"
|
|
@@ -118,7 +118,7 @@ var YearDropdown = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
118
118
|
}, (0, _react2.jsx)("span", {
|
|
119
119
|
className: "react-datepicker__year-read-view--selected-year"
|
|
120
120
|
}, _this.props.year), (0, _react2.jsx)(_icon.EuiIcon, {
|
|
121
|
-
type: "
|
|
121
|
+
type: "chevronSingleDown",
|
|
122
122
|
size: "s",
|
|
123
123
|
color: "subdued",
|
|
124
124
|
className: "react-datepicker__year-read-view--down-arrow"
|
package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js
CHANGED
|
@@ -190,7 +190,7 @@ var EuiQuickSelect = exports.EuiQuickSelect = /*#__PURE__*/function (_Component)
|
|
|
190
190
|
disableScreenReaderOutput: true
|
|
191
191
|
}, (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
192
192
|
"aria-label": previousLabel,
|
|
193
|
-
iconType: "
|
|
193
|
+
iconType: "chevronSingleLeft",
|
|
194
194
|
onClick: _this2.stepBackward
|
|
195
195
|
}));
|
|
196
196
|
})), (0, _react2.jsx)(_flex.EuiFlexItem, {
|
|
@@ -204,7 +204,7 @@ var EuiQuickSelect = exports.EuiQuickSelect = /*#__PURE__*/function (_Component)
|
|
|
204
204
|
disableScreenReaderOutput: true
|
|
205
205
|
}, (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
206
206
|
"aria-label": nextLabel,
|
|
207
|
-
iconType: "
|
|
207
|
+
iconType: "chevronSingleRight",
|
|
208
208
|
onClick: _this2.stepForward
|
|
209
209
|
}));
|
|
210
210
|
}))), (0, _react2.jsx)(_flex.EuiFlexGroup, {
|
|
@@ -81,7 +81,7 @@ var EuiQuickSelectPopover = exports.EuiQuickSelectPopover = function EuiQuickSel
|
|
|
81
81
|
var quickSelectButton = (0, _react2.jsx)(_form.EuiFormPrepend, (0, _extends2.default)({
|
|
82
82
|
element: "button",
|
|
83
83
|
iconLeft: "calendar",
|
|
84
|
-
iconRight: "
|
|
84
|
+
iconRight: "chevronSingleDown",
|
|
85
85
|
isDisabled: props.isDisabled,
|
|
86
86
|
onClick: quickSelectButtonOnClick,
|
|
87
87
|
"aria-label": buttonlabel,
|
|
@@ -101,7 +101,7 @@ var EuiTimeWindowButtons = exports.EuiTimeWindowButtons = function EuiTimeWindow
|
|
|
101
101
|
toolTipContent: !isDisabled && previousTooltipContent,
|
|
102
102
|
color: buttonColor,
|
|
103
103
|
size: buttonSize,
|
|
104
|
-
iconType: "
|
|
104
|
+
iconType: "chevronSingleLeft",
|
|
105
105
|
iconSize: iconSize,
|
|
106
106
|
isIconOnly: true,
|
|
107
107
|
isDisabled: isWindowDurationZero || isDisabled,
|
|
@@ -117,7 +117,7 @@ var EuiTimeWindowButtons = exports.EuiTimeWindowButtons = function EuiTimeWindow
|
|
|
117
117
|
},
|
|
118
118
|
color: buttonColor,
|
|
119
119
|
size: buttonSize,
|
|
120
|
-
iconType: "
|
|
120
|
+
iconType: "magnifyPlus",
|
|
121
121
|
iconSize: iconSize,
|
|
122
122
|
isIconOnly: true,
|
|
123
123
|
isDisabled: isWindowDurationZero || isDisabled,
|
|
@@ -133,7 +133,7 @@ var EuiTimeWindowButtons = exports.EuiTimeWindowButtons = function EuiTimeWindow
|
|
|
133
133
|
},
|
|
134
134
|
color: buttonColor,
|
|
135
135
|
size: buttonSize,
|
|
136
|
-
iconType: "
|
|
136
|
+
iconType: "magnifyMinus",
|
|
137
137
|
iconSize: iconSize,
|
|
138
138
|
isIconOnly: true,
|
|
139
139
|
isDisabled: isDisabled,
|
|
@@ -146,7 +146,7 @@ var EuiTimeWindowButtons = exports.EuiTimeWindowButtons = function EuiTimeWindow
|
|
|
146
146
|
toolTipContent: !isDisabled && nextTooltipContent,
|
|
147
147
|
color: buttonColor,
|
|
148
148
|
size: buttonSize,
|
|
149
|
-
iconType: "
|
|
149
|
+
iconType: "chevronSingleRight",
|
|
150
150
|
iconSize: iconSize,
|
|
151
151
|
isIconOnly: true,
|
|
152
152
|
isDisabled: isWindowDurationZero || isDisabled,
|
|
@@ -65,7 +65,7 @@ var EuiFilterButton = exports.EuiFilterButton = function EuiFilterButton(_ref) {
|
|
|
65
65
|
|
|
66
66
|
// assumption about type of usage based on icon usage
|
|
67
67
|
// requires manual override to apply correct aria attributes for more custom usages
|
|
68
|
-
var isCollapsible = !isToggle && iconType === '
|
|
68
|
+
var isCollapsible = !isToggle && iconType === 'chevronSingleDown';
|
|
69
69
|
var isExpanded = isCollapsible && (isSelected !== null && isSelected !== void 0 ? isSelected : hasActiveFilters);
|
|
70
70
|
var styles = (0, _services.useEuiMemoizedStyles)(_filter_button.euiFilterButtonStyles);
|
|
71
71
|
var focusColorStyles = (0, _services.useEuiMemoizedStyles)(_button_group_button2._compressedButtonFocusColors);
|
|
@@ -202,7 +202,7 @@ EuiFilterButton.propTypes = {
|
|
|
202
202
|
* Applies a visual state to the button.
|
|
203
203
|
* Automatically applies `aria-pressed` when used with `isToggle={true}`.
|
|
204
204
|
* Otherwise applies `aria-expanded` when used with `isToggle={false}` and
|
|
205
|
-
* `iconType="
|
|
205
|
+
* `iconType="chevronSingleDown"` as trigger button for e.g. a popover.
|
|
206
206
|
*/
|
|
207
207
|
isSelected: _propTypes.default.bool,
|
|
208
208
|
/**
|
|
@@ -175,7 +175,7 @@ describe('EuiFilterGroup multiselect example', function () {
|
|
|
175
175
|
items = _useState16[0],
|
|
176
176
|
setItems = _useState16[1];
|
|
177
177
|
var button = (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
178
|
-
iconType: "
|
|
178
|
+
iconType: "chevronSingleDown",
|
|
179
179
|
onClick: onButtonClick,
|
|
180
180
|
isSelected: isPopoverOpen,
|
|
181
181
|
numFilters: items.filter(function (item) {
|