@elastic/eui 123.0.0 → 123.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui-icons.json +103 -92
- package/dist/svgs/chart_mix.svg +5 -0
- package/dist/svgs/chart_waffle.svg +4 -0
- package/dist/svgs/clipboard_warning.svg +6 -0
- package/dist/svgs/clock_up.svg +5 -0
- package/dist/svgs/emergency_light.svg +4 -0
- package/dist/svgs/product_canvas.svg +5 -0
- package/dist/svgs/product_elastic_agent.svg +5 -0
- package/dist/svgs/product_fleet.svg +3 -0
- package/dist/svgs/product_lens.svg +4 -0
- package/dist/svgs/puzzle_piece.svg +3 -0
- package/dist/svgs/shield.svg +4 -0
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +4 -4
- package/es/components/basic_table/in_memory_table.js +4 -4
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +5 -10
- package/es/components/call_out/call_out.styles.js +3 -14
- package/es/components/card/card.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/context_menu/context_menu_item.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/es/components/datagrid/body/data_grid_body.js +13 -13
- package/es/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/es/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/es/components/datagrid/controls/column_sorting.js +13 -13
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/es/components/datagrid/utils/in_memory.js +12 -12
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/flyout/flyout.component.js +4 -2
- package/es/components/flyout/flyout_body.js +12 -12
- package/es/components/flyout/flyout_footer.js +8 -5
- package/es/components/flyout/flyout_header.js +8 -5
- package/es/components/flyout/flyout_menu/flyout_menu.js +2 -2
- package/es/components/flyout/flyout_menu/flyout_menu.styles.js +17 -5
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_button/form_control_button.js +1 -1
- package/es/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_label_append/form_label_append.js +43 -0
- package/es/components/form/form_label_append/form_label_append.styles.js +16 -0
- package/es/components/form/form_label_append/index.js +9 -0
- package/es/components/form/form_row/form_row.js +7 -4
- package/es/components/form/range/range.js +218 -258
- package/es/components/form/super_select/super_select_control.js +25 -9
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/icon/assets/chart_mix.js +35 -0
- package/es/components/icon/assets/chart_waffle.js +33 -0
- package/es/components/icon/assets/clipboard_warning.js +39 -0
- package/es/components/icon/assets/clock_up.js +37 -0
- package/es/components/icon/assets/emergency_light.js +33 -0
- package/es/components/icon/assets/product_canvas.js +35 -0
- package/es/components/icon/assets/product_elastic_agent.js +35 -0
- package/es/components/icon/assets/product_fleet.js +33 -0
- package/es/components/icon/assets/product_lens.js +35 -0
- package/es/components/icon/assets/puzzle_piece.js +33 -0
- package/es/components/icon/assets/shield.js +35 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +58 -3
- package/es/components/icon/svgs/chart_mix.svg +5 -0
- package/es/components/icon/svgs/chart_waffle.svg +4 -0
- package/es/components/icon/svgs/clipboard_warning.svg +6 -0
- package/es/components/icon/svgs/clock_up.svg +5 -0
- package/es/components/icon/svgs/emergency_light.svg +4 -0
- package/es/components/icon/svgs/product_canvas.svg +5 -0
- package/es/components/icon/svgs/product_elastic_agent.svg +5 -0
- package/es/components/icon/svgs/product_fleet.svg +3 -0
- package/es/components/icon/svgs/product_lens.svg +4 -0
- package/es/components/icon/svgs/puzzle_piece.svg +3 -0
- package/es/components/icon/svgs/shield.svg +4 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/list_item_layout/_list_item_layout.js +3 -2
- package/es/components/list_item_layout/_list_item_layout.styles.js +11 -10
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/selectable/selectable.js +16 -5
- package/es/components/selectable/selectable_list/selectable_list.js +6 -2
- package/es/components/selectable/selectable_list/selectable_list_item.js +11 -7
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/es/components/table/table_header_cell.js +1 -1
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +2 -2
- package/es/components/toast/toast.js +2 -2
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/eui.d.ts +192 -63
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +4 -4
- package/lib/components/basic_table/in_memory_table.js +4 -4
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +5 -10
- package/lib/components/call_out/call_out.styles.js +2 -13
- package/lib/components/card/card.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/lib/components/datagrid/body/data_grid_body.js +13 -13
- package/lib/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/lib/components/datagrid/controls/column_sorting.js +13 -13
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/flyout/flyout.component.js +4 -2
- package/lib/components/flyout/flyout_body.js +12 -12
- package/lib/components/flyout/flyout_footer.js +11 -5
- package/lib/components/flyout/flyout_header.js +11 -5
- package/lib/components/flyout/flyout_menu/flyout_menu.js +2 -2
- package/lib/components/flyout/flyout_menu/flyout_menu.styles.js +16 -4
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_button/form_control_button.js +1 -1
- package/lib/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_label_append/form_label_append.js +49 -0
- package/lib/components/form/form_label_append/form_label_append.styles.js +22 -0
- package/lib/components/form/form_label_append/index.js +12 -0
- package/lib/components/form/form_row/form_row.js +7 -4
- package/lib/components/form/range/range.js +224 -262
- package/lib/components/form/super_select/super_select_control.js +24 -8
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/icon/assets/chart_mix.js +42 -0
- package/lib/components/icon/assets/chart_waffle.js +40 -0
- package/lib/components/icon/assets/clipboard_warning.js +46 -0
- package/lib/components/icon/assets/clock_up.js +44 -0
- package/lib/components/icon/assets/emergency_light.js +40 -0
- package/lib/components/icon/assets/product_canvas.js +42 -0
- package/lib/components/icon/assets/product_elastic_agent.js +42 -0
- package/lib/components/icon/assets/product_fleet.js +40 -0
- package/lib/components/icon/assets/product_lens.js +42 -0
- package/lib/components/icon/assets/puzzle_piece.js +40 -0
- package/lib/components/icon/assets/shield.js +42 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +80 -3
- package/lib/components/icon/svgs/chart_mix.svg +5 -0
- package/lib/components/icon/svgs/chart_waffle.svg +4 -0
- package/lib/components/icon/svgs/clipboard_warning.svg +6 -0
- package/lib/components/icon/svgs/clock_up.svg +5 -0
- package/lib/components/icon/svgs/emergency_light.svg +4 -0
- package/lib/components/icon/svgs/product_canvas.svg +5 -0
- package/lib/components/icon/svgs/product_elastic_agent.svg +5 -0
- package/lib/components/icon/svgs/product_fleet.svg +3 -0
- package/lib/components/icon/svgs/product_lens.svg +4 -0
- package/lib/components/icon/svgs/puzzle_piece.svg +3 -0
- package/lib/components/icon/svgs/shield.svg +4 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/list_item_layout/_list_item_layout.js +3 -2
- package/lib/components/list_item_layout/_list_item_layout.styles.js +10 -10
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/selectable/selectable.js +16 -5
- package/lib/components/selectable/selectable_list/selectable_list.js +6 -2
- package/lib/components/selectable/selectable_list/selectable_list_item.js +11 -7
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/lib/components/table/table_header_cell.js +1 -1
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +2 -2
- package/lib/components/toast/toast.js +2 -2
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/optimize/es/components/call_out/call_out.js +3 -8
- package/optimize/es/components/call_out/call_out.styles.js +3 -14
- package/optimize/es/components/flyout/flyout.component.js +4 -2
- package/optimize/es/components/flyout/flyout_footer.js +7 -4
- package/optimize/es/components/flyout/flyout_header.js +7 -4
- package/optimize/es/components/flyout/flyout_menu/flyout_menu.styles.js +17 -5
- package/optimize/es/components/form/form_label_append/form_label_append.js +34 -0
- package/optimize/es/components/form/form_label_append/form_label_append.styles.js +16 -0
- package/optimize/es/components/form/form_label_append/index.js +9 -0
- package/optimize/es/components/form/form_row/form_row.js +4 -1
- package/optimize/es/components/form/range/range.js +212 -251
- package/optimize/es/components/form/super_select/super_select_control.js +25 -9
- package/optimize/es/components/icon/assets/chart_mix.js +34 -0
- package/optimize/es/components/icon/assets/chart_waffle.js +32 -0
- package/optimize/es/components/icon/assets/clipboard_warning.js +38 -0
- package/optimize/es/components/icon/assets/clock_up.js +36 -0
- package/optimize/es/components/icon/assets/emergency_light.js +32 -0
- package/optimize/es/components/icon/assets/product_canvas.js +34 -0
- package/optimize/es/components/icon/assets/product_elastic_agent.js +34 -0
- package/optimize/es/components/icon/assets/product_fleet.js +32 -0
- package/optimize/es/components/icon/assets/product_lens.js +34 -0
- package/optimize/es/components/icon/assets/puzzle_piece.js +32 -0
- package/optimize/es/components/icon/assets/shield.js +34 -0
- package/optimize/es/components/icon/icon_map.js +58 -3
- package/optimize/es/components/icon/svgs/chart_mix.svg +5 -0
- package/optimize/es/components/icon/svgs/chart_waffle.svg +4 -0
- package/optimize/es/components/icon/svgs/clipboard_warning.svg +6 -0
- package/optimize/es/components/icon/svgs/clock_up.svg +5 -0
- package/optimize/es/components/icon/svgs/emergency_light.svg +4 -0
- package/optimize/es/components/icon/svgs/product_canvas.svg +5 -0
- package/optimize/es/components/icon/svgs/product_elastic_agent.svg +5 -0
- package/optimize/es/components/icon/svgs/product_fleet.svg +3 -0
- package/optimize/es/components/icon/svgs/product_lens.svg +4 -0
- package/optimize/es/components/icon/svgs/puzzle_piece.svg +3 -0
- package/optimize/es/components/icon/svgs/shield.svg +4 -0
- package/optimize/es/components/list_item_layout/_list_item_layout.js +3 -2
- package/optimize/es/components/list_item_layout/_list_item_layout.styles.js +11 -10
- package/optimize/es/components/selectable/selectable.js +15 -5
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +3 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list_item.js +9 -6
- package/optimize/lib/components/call_out/call_out.js +3 -8
- package/optimize/lib/components/call_out/call_out.styles.js +2 -13
- package/optimize/lib/components/flyout/flyout.component.js +4 -2
- package/optimize/lib/components/flyout/flyout_footer.js +10 -4
- package/optimize/lib/components/flyout/flyout_header.js +10 -4
- package/optimize/lib/components/flyout/flyout_menu/flyout_menu.styles.js +16 -4
- package/optimize/lib/components/form/form_label_append/form_label_append.js +40 -0
- package/optimize/lib/components/form/form_label_append/form_label_append.styles.js +22 -0
- package/optimize/lib/components/form/form_label_append/index.js +12 -0
- package/optimize/lib/components/form/form_row/form_row.js +4 -1
- package/optimize/lib/components/form/range/range.js +213 -251
- package/optimize/lib/components/form/super_select/super_select_control.js +24 -8
- package/optimize/lib/components/icon/assets/chart_mix.js +42 -0
- package/optimize/lib/components/icon/assets/chart_waffle.js +40 -0
- package/optimize/lib/components/icon/assets/clipboard_warning.js +46 -0
- package/optimize/lib/components/icon/assets/clock_up.js +44 -0
- package/optimize/lib/components/icon/assets/emergency_light.js +40 -0
- package/optimize/lib/components/icon/assets/product_canvas.js +42 -0
- package/optimize/lib/components/icon/assets/product_elastic_agent.js +42 -0
- package/optimize/lib/components/icon/assets/product_fleet.js +40 -0
- package/optimize/lib/components/icon/assets/product_lens.js +42 -0
- package/optimize/lib/components/icon/assets/puzzle_piece.js +40 -0
- package/optimize/lib/components/icon/assets/shield.js +42 -0
- package/optimize/lib/components/icon/icon_map.js +80 -3
- package/optimize/lib/components/icon/svgs/chart_mix.svg +5 -0
- package/optimize/lib/components/icon/svgs/chart_waffle.svg +4 -0
- package/optimize/lib/components/icon/svgs/clipboard_warning.svg +6 -0
- package/optimize/lib/components/icon/svgs/clock_up.svg +5 -0
- package/optimize/lib/components/icon/svgs/emergency_light.svg +4 -0
- package/optimize/lib/components/icon/svgs/product_canvas.svg +5 -0
- package/optimize/lib/components/icon/svgs/product_elastic_agent.svg +5 -0
- package/optimize/lib/components/icon/svgs/product_fleet.svg +3 -0
- package/optimize/lib/components/icon/svgs/product_lens.svg +4 -0
- package/optimize/lib/components/icon/svgs/puzzle_piece.svg +3 -0
- package/optimize/lib/components/icon/svgs/shield.svg +4 -0
- package/optimize/lib/components/list_item_layout/_list_item_layout.js +3 -2
- package/optimize/lib/components/list_item_layout/_list_item_layout.styles.js +10 -10
- package/optimize/lib/components/selectable/selectable.js +15 -5
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +3 -1
- package/optimize/lib/components/selectable/selectable_list/selectable_list_item.js +9 -6
- package/package.json +1 -1
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +4 -4
- package/test-env/components/basic_table/in_memory_table.js +4 -4
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +5 -10
- package/test-env/components/call_out/call_out.styles.js +2 -13
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/test-env/components/datagrid/body/data_grid_body.js +13 -13
- package/test-env/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/test-env/components/datagrid/controls/column_sorting.js +13 -13
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/flyout/flyout.component.js +4 -2
- package/test-env/components/flyout/flyout_body.js +12 -12
- package/test-env/components/flyout/flyout_footer.js +11 -5
- package/test-env/components/flyout/flyout_header.js +11 -5
- package/test-env/components/flyout/flyout_menu/flyout_menu.js +2 -2
- package/test-env/components/flyout/flyout_menu/flyout_menu.styles.js +16 -4
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_button/form_control_button.js +1 -1
- package/test-env/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_label_append/form_label_append.js +48 -0
- package/test-env/components/form/form_label_append/form_label_append.styles.js +22 -0
- package/test-env/components/form/form_label_append/index.js +12 -0
- package/test-env/components/form/form_row/form_row.js +7 -4
- package/test-env/components/form/range/range.js +214 -252
- package/test-env/components/form/super_select/super_select_control.js +24 -8
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/icon/assets/chart_mix.js +42 -0
- package/test-env/components/icon/assets/chart_waffle.js +40 -0
- package/test-env/components/icon/assets/clipboard_warning.js +46 -0
- package/test-env/components/icon/assets/clock_up.js +44 -0
- package/test-env/components/icon/assets/emergency_light.js +40 -0
- package/test-env/components/icon/assets/product_canvas.js +42 -0
- package/test-env/components/icon/assets/product_elastic_agent.js +42 -0
- package/test-env/components/icon/assets/product_fleet.js +40 -0
- package/test-env/components/icon/assets/product_lens.js +42 -0
- package/test-env/components/icon/assets/puzzle_piece.js +40 -0
- package/test-env/components/icon/assets/shield.js +42 -0
- package/test-env/components/icon/icon_map.js +80 -3
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/list_item_layout/_list_item_layout.js +3 -2
- package/test-env/components/list_item_layout/_list_item_layout.styles.js +10 -10
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/selectable/selectable.js +16 -5
- package/test-env/components/selectable/selectable_list/selectable_list.js +6 -2
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +11 -7
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
- package/test-env/components/table/table_header_cell.js +1 -1
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +2 -2
- package/test-env/components/toast/toast.js +2 -2
- package/test-env/components/tool_tip/icon_tip.js +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconClockUp = function EuiIconClockUp(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "m15.354 12.647-.707.707L13 11.707V16h-1v-4.293l-1.646 1.646-.708-.707L12.5 9.794z"
|
|
30
|
+
}), ___EmotionJSX("path", {
|
|
31
|
+
d: "M8 1a7 7 0 0 1 7 7c0 .858-.16 1.677-.442 2.437l-.79-.79a6 6 0 1 0-4.352 4.184l.807.806A7 7 0 1 1 8 1"
|
|
32
|
+
}), ___EmotionJSX("path", {
|
|
33
|
+
d: "M8.5 7.5H12v1H7.5V4h1z"
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
export var icon = EuiIconClockUp;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconEmergencyLight = function EuiIconEmergencyLight(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M8 4a5 5 0 0 1 5 5v3a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1V9a5 5 0 0 1 5-5M3 14h10v-1H3zm5-9a4 4 0 0 0-4 4v3h3.5V9h1v3H12V9a4 4 0 0 0-4-4M15.186 5.438l-1.732 1-.5-.867 1.731-1zm-12.129.133-.5.866-1.733-1 .5-.866zm2.377-2.014-.867.5-1-1.733.867-.5zm7.008-1.234-1 1.733-.866-.5 1-1.733zM8.5 3h-1V1h1z"
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
export var icon = EuiIconEmergencyLight;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconProductCanvas = function EuiIconProductCanvas(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M5 5a2 2 0 1 1 0 4 2 2 0 0 1 0-4m0 1a1 1 0 1 0 1 1H5zM9 9H8V7h1zm2 0h-1V5h1zm2 0h-1V3h1zM5 4H3V3h2z"
|
|
30
|
+
}), ___EmotionJSX("path", {
|
|
31
|
+
d: "M9 0a1 1 0 0 1 1 1h4a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-1.798l1.63 2.445A1 1 0 0 1 13 15h-1a1 1 0 0 1-.832-.445L10.132 13H5.868l-1.036 1.555A1 1 0 0 1 4 15H3a1 1 0 0 1-.832-1.555L3.798 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4a1 1 0 0 1 1-1zM3 14h1l2-3H5zm9 0h1l-2-3h-1zm-5.465-2h2.93l-.666-1H7.2zM2 10h12V2h-4a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1H2zm5-9v1h2V1z"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
export var icon = EuiIconProductCanvas;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconProductElasticAgent = function EuiIconProductElasticAgent(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M13.515 4.143A1 1 0 0 1 14 5v6a1 1 0 0 1-.485.857l-5 3a1 1 0 0 1-1.03 0l-5-3A1 1 0 0 1 2 11V5a1 1 0 0 1 .485-.857L4 3.233V4.4L3 5v6l5 3 5-3V5l-1-.6V3.232z"
|
|
30
|
+
}), ___EmotionJSX("path", {
|
|
31
|
+
d: "M11 6.132v3.735l-3 1.8-3-1.8V6.132l3-1.8zm-5 .566v2.603l2 1.2 2-1.2V6.698l-2-1.2zM11 2.634V3.8L8 2 5 3.8V2.634l3-1.8z"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
export var icon = EuiIconProductElasticAgent;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconProductFleet = function EuiIconProductFleet(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M7.66 1.06a1 1 0 0 1 .787.045l3 1.5A1 1 0 0 1 12 3.5v3.388l2.955 1.51a1 1 0 0 1 .545.891v2.922c0 .352-.186.679-.488.86l-3 1.788a1 1 0 0 1-.906.06L8 13.587l-3.106 1.332a1 1 0 0 1-.906-.06l-3-1.789a1 1 0 0 1-.488-.86V9.29a1 1 0 0 1 .545-.892L4 6.888V3.5a1 1 0 0 1 .553-.895l3-1.5zM1.5 9.29v2.92l3 1.79 3-1.286V9.309L4.446 7.782zm7 .019v3.405l3 1.286 3-1.79V9.29l-2.947-1.508zM5 3.5v3.44l3 1.5 3-1.5V3.5L8 2z"
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
export var icon = EuiIconProductFleet;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconProductLens = function EuiIconProductLens(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M5 9H4V8h1zm2 0H6V6h1zm2 0H8V4h1z"
|
|
30
|
+
}), ___EmotionJSX("path", {
|
|
31
|
+
d: "M6.5 1a5.5 5.5 0 0 1 4.729 8.308l3.421 2.933a1 1 0 0 1 .057 1.466l-1 1a1 1 0 0 1-1.466-.057l-2.933-3.42A5.5 5.5 0 1 1 6.5 1m4.139 9.12a6 6 0 0 1-.52.519L13 14l1-1zM6.5 2a4.5 4.5 0 1 0 .314 8.987q.036-.002.07-.006.311-.026.607-.092l.066-.016q.302-.072.588-.185l.039-.015q.292-.119.562-.275l.03-.017a4.5 4.5 0 0 0 1.605-1.605l.017-.03q.156-.27.275-.562l.018-.048q.11-.281.182-.58l.016-.065a4.5 4.5 0 0 0 .093-.61l.005-.067a5 5 0 0 0 .007-.545A4.5 4.5 0 0 0 6.5 2"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
export var icon = EuiIconProductLens;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconPuzzlePiece = function EuiIconPuzzlePiece(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M9 2.5a1.5 1.5 0 1 0-2.8.75l.435.75H3v2.05a2.5 2.5 0 1 1 0 4.9V13h9V9.365l.75.435a1.5 1.5 0 1 0 0-2.6l-.75.435V4H8.365l.435-.75c.127-.22.2-.476.2-.75m1 0q0 .257-.05.5H12a1 1 0 0 1 1 1v2.05a2.5 2.5 0 1 1 0 4.9V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9.365l.75.435a1.5 1.5 0 1 0 0-2.6L2 7.635V4a1 1 0 0 1 1-1h2.05A2.5 2.5 0 1 1 10 2.5"
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
export var icon = EuiIconPuzzlePiece;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["title", "titleId"];
|
|
4
|
+
/*
|
|
5
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
+
* Side Public License, v 1.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
13
|
+
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
16
|
+
var EuiIconShield = function EuiIconShield(_ref) {
|
|
17
|
+
var title = _ref.title,
|
|
18
|
+
titleId = _ref.titleId,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
+
return ___EmotionJSX("svg", _extends({
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
width: 16,
|
|
23
|
+
height: 16,
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
"aria-labelledby": titleId
|
|
26
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
27
|
+
id: titleId
|
|
28
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
+
d: "M8 3.205q.247.151.5.288V7H12v1H8.5v4.75q-.24.107-.5.198a7 7 0 0 1-.5-.198V8H4V7h3.5V3.493q.253-.137.5-.288"
|
|
30
|
+
}), ___EmotionJSX("path", {
|
|
31
|
+
d: "M7.54 1.112A1 1 0 0 1 8.6 1.2c.867.651 1.993 1.11 2.948 1.408a15 15 0 0 0 1.509.386l.086.016.02.003h.002A1 1 0 0 1 14 4v4c0 .786-.311 2.168-1.151 3.517-.86 1.38-2.297 2.761-4.562 3.441a1 1 0 0 1-.574 0c-2.265-.68-3.702-2.062-4.562-3.441C2.311 10.167 2 8.786 2 8V4a1 1 0 0 1 .836-.986l.002-.001.02-.003.085-.016a15 15 0 0 0 1.509-.386C5.407 2.31 6.532 1.851 7.4 1.2zM8 2a7 7 0 0 1-.386.27l-.114.069C5.537 3.574 3 4 3 4v4l.013.246q.011.125.034.27l.028.15.035.175q.015.066.034.134a6 6 0 0 0 .327.98 7 7 0 0 0 .467.93C4.681 12.122 5.943 13.383 8 14c2.543-.763 3.872-2.51 4.504-3.982q.036-.086.068-.171.052-.127.097-.25l.043-.13q.043-.125.079-.245l.044-.165q.029-.107.053-.208l.037-.183C12.975 8.4 13 8.173 13 8V4s-2.23-.375-4.126-1.44L8.5 2.34A7 7 0 0 1 8 2"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
export var icon = EuiIconShield;
|
|
@@ -347,6 +347,11 @@ export var typeToPathMap = {
|
|
|
347
347
|
return import('./assets/chart_line');
|
|
348
348
|
},
|
|
349
349
|
// Deprecated in favor of `chartLine`
|
|
350
|
+
chartMix: withMetadata(function () {
|
|
351
|
+
return import('./assets/chart_mix');
|
|
352
|
+
}, {
|
|
353
|
+
synonyms: ['chart', 'graph', 'visualization', 'mix', 'multiple', 'line', 'bar', 'complex', 'compound']
|
|
354
|
+
}),
|
|
350
355
|
chartPie: withMetadata(function () {
|
|
351
356
|
return import('./assets/chart_pie');
|
|
352
357
|
}, {
|
|
@@ -366,6 +371,11 @@ export var typeToPathMap = {
|
|
|
366
371
|
}, {
|
|
367
372
|
synonyms: ['threshold', 'limit', 'chart', 'boundary', 'alert line', 'cutoff']
|
|
368
373
|
}),
|
|
374
|
+
chartWaffle: withMetadata(function () {
|
|
375
|
+
return import('./assets/chart_waffle');
|
|
376
|
+
}, {
|
|
377
|
+
synonyms: ['chart', 'graph', 'visualization', 'waffle', 'boxes']
|
|
378
|
+
}),
|
|
369
379
|
check: withMetadata(function () {
|
|
370
380
|
return import('./assets/check');
|
|
371
381
|
}, {
|
|
@@ -401,20 +411,30 @@ export var typeToPathMap = {
|
|
|
401
411
|
}, {
|
|
402
412
|
synonyms: ['click', 'right', 'mouse', 'context', 'button', 'tap']
|
|
403
413
|
}),
|
|
414
|
+
clipboardWarning: withMetadata(function () {
|
|
415
|
+
return import('./assets/clipboard_warning');
|
|
416
|
+
}, {
|
|
417
|
+
synonyms: ['clipboard', 'warning', 'incident', 'event', 'accident', 'list']
|
|
418
|
+
}),
|
|
404
419
|
clock: withMetadata(function () {
|
|
405
420
|
return import('./assets/clock');
|
|
406
421
|
}, {
|
|
407
422
|
synonyms: ['clock']
|
|
408
423
|
}),
|
|
424
|
+
clockControl: withMetadata(function () {
|
|
425
|
+
return import('./assets/clock_control');
|
|
426
|
+
}, {
|
|
427
|
+
synonyms: ['clock', 'control', 'time', 'schedule', 'timer', 'settings']
|
|
428
|
+
}),
|
|
409
429
|
clockCounter: withMetadata(function () {
|
|
410
430
|
return import('./assets/clock_counter');
|
|
411
431
|
}, {
|
|
412
432
|
synonyms: ['clock', 'counter', 'countdown', 'timer', 'time', 'elapsed']
|
|
413
433
|
}),
|
|
414
|
-
|
|
415
|
-
return import('./assets/
|
|
434
|
+
clockUp: withMetadata(function () {
|
|
435
|
+
return import('./assets/clock_up');
|
|
416
436
|
}, {
|
|
417
|
-
synonyms: ['clock', '
|
|
437
|
+
synonyms: ['clock', 'up', 'uptime', 'status']
|
|
418
438
|
}),
|
|
419
439
|
cloud: withMetadata(function () {
|
|
420
440
|
return import('./assets/cloud');
|
|
@@ -791,6 +811,11 @@ export var typeToPathMap = {
|
|
|
791
811
|
}, {
|
|
792
812
|
synonyms: ['mail', 'email', 'envelope', 'message', 'inbox']
|
|
793
813
|
}),
|
|
814
|
+
emergencyLight: withMetadata(function () {
|
|
815
|
+
return import('./assets/emergency_light');
|
|
816
|
+
}, {
|
|
817
|
+
synonyms: ['emergency', 'light', 'siren', 'police', 'ambulance', 'fire', 'responder', 'warning', 'error', 'incident']
|
|
818
|
+
}),
|
|
794
819
|
empty: withMetadata(function () {
|
|
795
820
|
return import('./assets/empty');
|
|
796
821
|
}, {
|
|
@@ -1882,6 +1907,11 @@ export var typeToPathMap = {
|
|
|
1882
1907
|
}, {
|
|
1883
1908
|
synonyms: ['agent', 'product', 'elastic agent', 'fleet', 'monitoring']
|
|
1884
1909
|
}),
|
|
1910
|
+
productCanvas: withMetadata(function () {
|
|
1911
|
+
return import('./assets/product_canvas');
|
|
1912
|
+
}, {
|
|
1913
|
+
synonyms: ['product', 'canvas', 'painting', 'easel', 'art', 'visualization', 'chart', 'graph']
|
|
1914
|
+
}),
|
|
1885
1915
|
productCloudInfra: withMetadata(function () {
|
|
1886
1916
|
return import('./assets/product_cloud_infra');
|
|
1887
1917
|
}, {
|
|
@@ -1897,6 +1927,21 @@ export var typeToPathMap = {
|
|
|
1897
1927
|
}, {
|
|
1898
1928
|
synonyms: ['discover', 'product', 'explore', 'data', 'search', 'kibana']
|
|
1899
1929
|
}),
|
|
1930
|
+
productElasticAgent: withMetadata(function () {
|
|
1931
|
+
return import('./assets/product_elastic_agent');
|
|
1932
|
+
}, {
|
|
1933
|
+
synonyms: ['product', 'elastic agent', 'data shipper', 'data collector']
|
|
1934
|
+
}),
|
|
1935
|
+
productFleet: withMetadata(function () {
|
|
1936
|
+
return import('./assets/product_fleet');
|
|
1937
|
+
}, {
|
|
1938
|
+
synonyms: ['product', 'fleet', 'agent', 'server']
|
|
1939
|
+
}),
|
|
1940
|
+
productLens: withMetadata(function () {
|
|
1941
|
+
return import('./assets/product_lens');
|
|
1942
|
+
}, {
|
|
1943
|
+
synonyms: ['product', 'lens', 'visualization', 'graph', 'chart', 'builder', 'generator']
|
|
1944
|
+
}),
|
|
1900
1945
|
productML: withMetadata(function () {
|
|
1901
1946
|
return import('./assets/product_ml');
|
|
1902
1947
|
}, {
|
|
@@ -1932,6 +1977,11 @@ export var typeToPathMap = {
|
|
|
1932
1977
|
}, {
|
|
1933
1978
|
synonyms: ['send', 'submit', 'dispatch', 'arrow', 'share']
|
|
1934
1979
|
}),
|
|
1980
|
+
puzzlePiece: withMetadata(function () {
|
|
1981
|
+
return import('./assets/puzzle_piece');
|
|
1982
|
+
}, {
|
|
1983
|
+
synonyms: ['puzzle', 'piece', 'jigsaw', 'extension', 'plugin', 'game']
|
|
1984
|
+
}),
|
|
1935
1985
|
question: withMetadata(function () {
|
|
1936
1986
|
return import('./assets/question');
|
|
1937
1987
|
}, {
|
|
@@ -2044,6 +2094,11 @@ export var typeToPathMap = {
|
|
|
2044
2094
|
}, {
|
|
2045
2095
|
synonyms: ['share', 'send', 'distribute', 'social', 'export']
|
|
2046
2096
|
}),
|
|
2097
|
+
shield: withMetadata(function () {
|
|
2098
|
+
return import('./assets/shield');
|
|
2099
|
+
}, {
|
|
2100
|
+
synonyms: ['shield', 'security', 'protect', 'defend']
|
|
2101
|
+
}),
|
|
2047
2102
|
significantEvents: withMetadata(function () {
|
|
2048
2103
|
return import('./assets/significant_events');
|
|
2049
2104
|
}, {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M2 14h13v1H2a1 1 0 0 1-1-1V1h1z"/>
|
|
3
|
+
<path d="M5 10a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm-1 2h1v-1H4zm5-4a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1zm-1 4h1V9H8zm5-6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm-1 6h1V7h-1z"/>
|
|
4
|
+
<path d="M14.354 1.354 9.5 6.207l-2-2-4.146 4.147-.708-.708L7.5 2.793l2 2L13.647.646z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M4.103 11.005A1 1 0 0 1 5 12v2l-.005.102A1 1 0 0 1 4 15H2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h2zM2 14h2v-2H2zm7.103-2.995A1 1 0 0 1 10 12v2l-.005.102A1 1 0 0 1 9 15H7a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h2zM7 14h2v-2H7zm7.103-2.995A1 1 0 0 1 15 12v2l-.005.102A1 1 0 0 1 14 15h-2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h2zM12 14h2v-2h-2zM4.103 6.005A1 1 0 0 1 5 7v2l-.005.103A1 1 0 0 1 4 10H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h2zM2 9h2V7H2zm7.103-2.995A1 1 0 0 1 10 7v2l-.005.103A1 1 0 0 1 9 10H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h2zM7 9h2V7H7z"/>
|
|
3
|
+
<path d="M14 9h-2V7h2zM4 4H2V2h2zm5 0H7V2h2zm5 0h-2V2h2z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M10.5 13a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m.5-1h-1V9h1z"/>
|
|
3
|
+
<path d="M10.5 6a1 1 0 0 1 .697.285l.025.025a1 1 0 0 1 .15.2l4.5 8A1 1 0 0 1 15 16H6a1 1 0 0 1-.871-1.49L8.79 8 9 7.627l.629-1.117.073-.113A1 1 0 0 1 10.5 6M6 15h9l-4.5-8z"/>
|
|
4
|
+
<path d="M6 0c.74 0 1.385.403 1.73 1H9a1 1 0 0 1 1 1h1a1 1 0 0 1 1 1v2.68a2 2 0 0 0-1-.614V3h-1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3H1v11h3.268l-.011.02A2 2 0 0 0 4 15H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1a1 1 0 0 1 1-1h1.27C4.615.403 5.26 0 6 0m0 1a1 1 0 0 0-1 1H3v2h6V2H7a1 1 0 0 0-1-1"/>
|
|
5
|
+
<path d="M5.393 12H3v-1h2.955zm1.125-2H3V9h4.08zm1.125-2H3V7h5.205z"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="m15.354 12.647-.707.707L13 11.707V16h-1v-4.293l-1.646 1.646-.708-.707L12.5 9.794z"/>
|
|
3
|
+
<path d="M8 1a7 7 0 0 1 7 7c0 .858-.16 1.677-.442 2.437l-.79-.79a6 6 0 1 0-4.352 4.184l.807.806A7 7 0 1 1 8 1"/>
|
|
4
|
+
<path d="M8.5 7.5H12v1H7.5V4h1z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M8 4a5 5 0 0 1 5 5v3a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1V9a5 5 0 0 1 5-5M3 14h10v-1H3zm5-9a4 4 0 0 0-4 4v3h3.5V9h1v3H12V9a4 4 0 0 0-4-4"/>
|
|
3
|
+
<path d="m15.186 5.438-1.732 1-.5-.867 1.731-1zm-12.129.133-.5.866-1.733-1 .5-.866zm2.377-2.014-.867.5-1-1.733.867-.5zm7.008-1.234-1 1.733-.866-.5 1-1.733zM8.5 3h-1V1h1z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5 5a2 2 0 1 1 0 4 2 2 0 0 1 0-4m0 1a1 1 0 1 0 1 1H5z"/>
|
|
3
|
+
<path d="M9 9H8V7h1zm2 0h-1V5h1zm2 0h-1V3h1zM5 4H3V3h2z"/>
|
|
4
|
+
<path d="M9 0a1 1 0 0 1 1 1h4a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-1.798l1.63 2.445A1 1 0 0 1 13 15h-1a1 1 0 0 1-.832-.445L10.132 13H5.868l-1.036 1.555A1 1 0 0 1 4 15H3a1 1 0 0 1-.832-1.555L3.798 11H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4a1 1 0 0 1 1-1zM3 14h1l2-3H5zm9 0h1l-2-3h-1zm-5.465-2h2.93l-.666-1H7.2zM2 10h12V2h-4a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1H2zm5-9v1h2V1z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M13.515 4.143A1 1 0 0 1 14 5v6a1 1 0 0 1-.485.857l-5 3a1 1 0 0 1-1.03 0l-5-3A1 1 0 0 1 2 11V5a1 1 0 0 1 .485-.857L4 3.233V4.4L3 5v6l5 3 5-3V5l-1-.6V3.232z"/>
|
|
3
|
+
<path d="M11 6.132v3.735l-3 1.8-3-1.8V6.132l3-1.8zm-5 .566v2.603l2 1.2 2-1.2V6.698l-2-1.2z"/>
|
|
4
|
+
<path d="M11 2.634V3.8L8 2 5 3.8V2.634l3-1.8z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M7.66 1.06a1 1 0 0 1 .787.045l3 1.5A1 1 0 0 1 12 3.5v3.388l2.955 1.51a1 1 0 0 1 .545.891v2.922c0 .352-.186.679-.488.86l-3 1.788a1 1 0 0 1-.906.06L8 13.587l-3.106 1.332a1 1 0 0 1-.906-.06l-3-1.789a1 1 0 0 1-.488-.86V9.29a1 1 0 0 1 .545-.892L4 6.888V3.5a1 1 0 0 1 .553-.895l3-1.5zM1.5 9.29v2.92l3 1.79 3-1.286V9.309L4.446 7.782zm7 .019v3.405l3 1.286 3-1.79V9.29l-2.947-1.508zM5 3.5v3.44l3 1.5 3-1.5V3.5L8 2z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5 9H4V8h1zm2 0H6V6h1zm2 0H8V4h1z"/>
|
|
3
|
+
<path d="M6.5 1a5.5 5.5 0 0 1 4.729 8.308l3.421 2.933a1 1 0 0 1 .057 1.466l-1 1a1 1 0 0 1-1.466-.057l-2.933-3.42A5.5 5.5 0 1 1 6.5 1m4.139 9.12a6 6 0 0 1-.52.519L13 14l1-1zM6.5 2a4.5 4.5 0 1 0 .314 8.987q.036-.002.07-.006.311-.026.607-.092l.066-.016q.302-.072.588-.185l.039-.015q.292-.119.562-.275l.03-.017a4.5 4.5 0 0 0 1.605-1.605l.017-.03q.156-.27.275-.562l.018-.048q.11-.281.182-.58l.016-.065a4.5 4.5 0 0 0 .093-.61l.005-.067a5 5 0 0 0 .007-.545A4.5 4.5 0 0 0 6.5 2"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M9 2.5a1.5 1.5 0 1 0-2.8.75l.435.75H3v2.05a2.5 2.5 0 1 1 0 4.9V13h9V9.365l.75.435a1.5 1.5 0 1 0 0-2.6l-.75.435V4H8.365l.435-.75c.127-.22.2-.476.2-.75m1 0q0 .257-.05.5H12a1 1 0 0 1 1 1v2.05a2.5 2.5 0 1 1 0 4.9V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9.365l.75.435a1.5 1.5 0 1 0 0-2.6L2 7.635V4a1 1 0 0 1 1-1h2.05A2.5 2.5 0 1 1 10 2.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M8 3.205q.247.151.5.288V7H12v1H8.5v4.75q-.24.107-.5.198a7 7 0 0 1-.5-.198V8H4V7h3.5V3.493q.253-.137.5-.288"/>
|
|
3
|
+
<path d="M7.54 1.112A1 1 0 0 1 8.6 1.2c.867.651 1.993 1.11 2.948 1.408a15 15 0 0 0 1.509.386l.086.016.02.003h.002A1 1 0 0 1 14 4v4c0 .786-.311 2.168-1.151 3.517-.86 1.38-2.297 2.761-4.562 3.441a1 1 0 0 1-.574 0c-2.265-.68-3.702-2.062-4.562-3.441C2.311 10.167 2 8.786 2 8V4a1 1 0 0 1 .836-.986l.002-.001.02-.003.085-.016a15 15 0 0 0 1.509-.386C5.407 2.31 6.532 1.851 7.4 1.2zM8 2a7 7 0 0 1-.386.27l-.114.069C5.537 3.574 3 4 3 4v4l.013.246q.011.125.034.27l.028.15.035.175q.015.066.034.134a6 6 0 0 0 .327.98 7 7 0 0 0 .467.93C4.681 12.122 5.943 13.383 8 14c2.543-.763 3.872-2.51 4.504-3.982q.036-.086.068-.171.052-.127.097-.25l.043-.13q.043-.125.079-.245l.044-.165q.029-.107.053-.208l.037-.183C12.975 8.4 13 8.173 13 8V4s-2.23-.375-4.126-1.44L8.5 2.34A7 7 0 0 1 8 2"/>
|
|
4
|
+
</svg>
|
|
@@ -160,9 +160,10 @@ export var EuiListItemLayout = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
160
160
|
var classes = classNames('euiListItemLayout', className);
|
|
161
161
|
var wrapperStyles = useEuiMemoizedStyles(euiListItemLayoutWrapperStyles);
|
|
162
162
|
var styles = useEuiMemoizedStyles(euiListItemLayoutStyles);
|
|
163
|
+
var canHaveInteractiveStyles = !isDisabled || hasAriaDisabled;
|
|
163
164
|
var interactiveStyles = [isInteractive && styles.isInteractive, isFocused && styles.isFocused, (isSingleSelection || !showIndicator) && isSelected && styles.isSelected, (isSingleSelection || !showIndicator) && isSelected && isFocused && styles.isSelectedFocused];
|
|
164
|
-
var wrapperCssStyles = [wrapperStyles.euiListItemLayout__wrapper, extraAction && wrapperStyles.hasExtraAction,
|
|
165
|
-
var cssStyles = [styles.euiListItemLayout, hasWrapper && styles.euiListItemLayout__action,
|
|
165
|
+
var wrapperCssStyles = [wrapperStyles.euiListItemLayout__wrapper, extraAction && wrapperStyles.hasExtraAction, canHaveInteractiveStyles && hasWrapper && interactiveStyles, hasWrapper && css, isDisabled && hasWrapper && styles.isDisabled];
|
|
166
|
+
var cssStyles = [styles.euiListItemLayout, hasWrapper && styles.euiListItemLayout__action, canHaveInteractiveStyles && !hasWrapper && interactiveStyles, !hasWrapper && css, isDisabled && styles.isDisabled, hasAriaDisabled && buttonIsDisabled && hasToolTip && styles.buttonIsDisabled];
|
|
166
167
|
|
|
167
168
|
// Manually trigger the tooltip on keyboard focus
|
|
168
169
|
useEffect(function () {
|
|
@@ -10,6 +10,10 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
11
|
import { mathWithUnits } from '@elastic/eui-theme-common';
|
|
12
12
|
import { euiFontSize, euiTextTruncate, highContrastModeStyles, logicalCSS } from '../../global_styling';
|
|
13
|
+
|
|
14
|
+
// uses `aria-disabled` only as not all variants can have a native `:disabled` state
|
|
15
|
+
var notDisabledSelector = "&:not([aria-disabled=\"true\"])";
|
|
16
|
+
var ariaDisabledSelector = "&[aria-disabled=\"true\"]";
|
|
13
17
|
export var euiListItemVariables = function euiListItemVariables(_ref3) {
|
|
14
18
|
var euiTheme = _ref3.euiTheme;
|
|
15
19
|
var spacing = {
|
|
@@ -52,13 +56,10 @@ export var euiListItemLayoutStyles = function euiListItemLayoutStyles(euiThemeCo
|
|
|
52
56
|
var _euiListItemVariables = euiListItemVariables(euiThemeContext),
|
|
53
57
|
spacing = _euiListItemVariables.spacing,
|
|
54
58
|
textPadding = _euiListItemVariables.textPadding;
|
|
55
|
-
|
|
56
|
-
// uses `aria-disabled` only as not all variants can have a native `:disabled` state
|
|
57
|
-
var notDisabledSelector = "&:not([aria-disabled=\"true\"])";
|
|
58
59
|
var sharedFlexStyles = "\n display: flex;\n align-items: center;\n flex-shrink: 0;\n ";
|
|
59
|
-
var highlightedStyles = "\n
|
|
60
|
-
preferred: "\n
|
|
61
|
-
}), "\n
|
|
60
|
+
var highlightedStyles = "\n background-color: ".concat(euiTheme.colors.backgroundBaseInteractiveHover, ";\n\n ").concat(highContrastModeStyles(euiThemeContext, {
|
|
61
|
+
preferred: "\n text-decoration: underline;\n\n &:not(:focus, :focus-visible) {\n /* uses outline to prevent layout jumps between navigated items */\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderBasePlain, ";\n outline-offset: -").concat(euiTheme.border.width.thin, ";\n }\n ")
|
|
62
|
+
}), "\n ");
|
|
62
63
|
return {
|
|
63
64
|
euiListItemLayout: /*#__PURE__*/css(listItemCommonStyles(euiThemeContext), " ", logicalCSS('padding-horizontal', spacing.horizontal), ";;label:euiListItemLayout;"),
|
|
64
65
|
euiListItemLayout__action: /*#__PURE__*/css("display:flex;flex-grow:1;", logicalCSS('width', '100%'), " color:inherit;overflow:hidden;;label:euiListItemLayout__action;"),
|
|
@@ -72,13 +73,13 @@ export var euiListItemLayoutStyles = function euiListItemLayoutStyles(euiThemeCo
|
|
|
72
73
|
euiListItemLayout__append: /*#__PURE__*/css(sharedFlexStyles, " gap:", spacing.horizontal, ";;label:euiListItemLayout__append;"),
|
|
73
74
|
euiListItemLayout__icon: /*#__PURE__*/css(sharedFlexStyles, ";;label:euiListItemLayout__icon;"),
|
|
74
75
|
isInteractive: /*#__PURE__*/css("cursor:pointer;&:hover{", highlightedStyles, ";};label:isInteractive;"),
|
|
75
|
-
isDisabled: /*#__PURE__*/css("color:", euiTheme.colors.textDisabled, ";cursor:not-allowed;background-color:transparent
|
|
76
|
+
isDisabled: /*#__PURE__*/css("color:", euiTheme.colors.textDisabled, ";cursor:not-allowed;", notDisabledSelector, "{background-color:transparent;};label:isDisabled;"),
|
|
76
77
|
buttonIsDisabled: _ref2,
|
|
77
78
|
isFocused: /*#__PURE__*/css(highlightedStyles, ";;label:isFocused;"),
|
|
78
|
-
isSelected: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";
|
|
79
|
+
isSelected: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";", notDisabledSelector, "{background-color:", euiTheme.colors.backgroundBaseInteractiveSelect, ";", highContrastModeStyles(euiThemeContext, {
|
|
79
80
|
preferred: "\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderStrongPrimary, ";\n outline-offset: -").concat(euiTheme.border.width.thin, ";\n ")
|
|
80
|
-
}), " .euiIcon,.euiButtonIcon{color:inherit;}.euiListItemLayout__prepend,.euiListItemLayout__append{.euiIcon{color:", euiTheme.colors.textPrimary, ";}};label:isSelected;"),
|
|
81
|
-
isSelectedFocused: /*#__PURE__*/css(notDisabledSelector, "{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";};label:isSelectedFocused;"),
|
|
81
|
+
}), ";&:hover{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";}}&", ariaDisabledSelector, "{&:hover{background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";}}.euiIcon,.euiButtonIcon{color:inherit;}.euiListItemLayout__prepend,.euiListItemLayout__append{.euiIcon{color:", euiTheme.colors.textPrimary, ";}};label:isSelected;"),
|
|
82
|
+
isSelectedFocused: /*#__PURE__*/css(notDisabledSelector, "{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";}&", ariaDisabledSelector, "{background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";};label:isSelectedFocused;"),
|
|
82
83
|
tooltip: {
|
|
83
84
|
isDisabled: _ref
|
|
84
85
|
},
|
|
@@ -94,7 +94,7 @@ export var EuiSelectable = /*#__PURE__*/function (_Component) {
|
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
var firstSelected = _this.state.visibleOptions.findIndex(function (option) {
|
|
97
|
-
return option.checked && !option.disabled && !option.isGroupLabel;
|
|
97
|
+
return option.checked && (!option.disabled || option.hasAriaDisabled) && !option.isGroupLabel;
|
|
98
98
|
});
|
|
99
99
|
if (firstSelected > -1) {
|
|
100
100
|
_this.setState({
|
|
@@ -104,7 +104,7 @@ export var EuiSelectable = /*#__PURE__*/function (_Component) {
|
|
|
104
104
|
} else {
|
|
105
105
|
_this.setState({
|
|
106
106
|
activeOptionIndex: _this.state.visibleOptions.findIndex(function (option) {
|
|
107
|
-
return !option.disabled && !option.isGroupLabel;
|
|
107
|
+
return (!option.disabled || option.hasAriaDisabled) && !option.isGroupLabel;
|
|
108
108
|
}),
|
|
109
109
|
isFocused: true
|
|
110
110
|
});
|
|
@@ -191,16 +191,26 @@ export var EuiSelectable = /*#__PURE__*/function (_Component) {
|
|
|
191
191
|
|
|
192
192
|
// Group titles and disabled options are included in option list but are not selectable
|
|
193
193
|
var direction = amount > 0 ? 1 : -1;
|
|
194
|
-
|
|
194
|
+
var startIndex = nextActiveOptionIndex;
|
|
195
|
+
while (visibleOptions[nextActiveOptionIndex].isGroupLabel || visibleOptions[nextActiveOptionIndex].disabled && !visibleOptions[nextActiveOptionIndex].hasAriaDisabled) {
|
|
195
196
|
nextActiveOptionIndex = nextActiveOptionIndex + direction;
|
|
196
197
|
if (nextActiveOptionIndex < 0) {
|
|
197
198
|
nextActiveOptionIndex = visibleOptions.length - 1;
|
|
198
199
|
} else if (nextActiveOptionIndex === visibleOptions.length) {
|
|
199
200
|
nextActiveOptionIndex = 0;
|
|
200
201
|
}
|
|
202
|
+
|
|
203
|
+
// break on single options to prevent an infinite loop if no options are selectable
|
|
204
|
+
if (nextActiveOptionIndex === startIndex) {
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
201
207
|
}
|
|
208
|
+
|
|
209
|
+
// If the final index is also non-navigable, keep the current position
|
|
210
|
+
var finalOption = visibleOptions[nextActiveOptionIndex];
|
|
211
|
+
var finalActiveOptionIndex = finalOption.isGroupLabel || finalOption.disabled && !finalOption.hasAriaDisabled ? activeOptionIndex : nextActiveOptionIndex;
|
|
202
212
|
return {
|
|
203
|
-
activeOptionIndex:
|
|
213
|
+
activeOptionIndex: finalActiveOptionIndex
|
|
204
214
|
};
|
|
205
215
|
});
|
|
206
216
|
});
|
|
@@ -478,7 +488,7 @@ export var EuiSelectable = /*#__PURE__*/function (_Component) {
|
|
|
478
488
|
}, selectableScreenReaderText, " ", screenReaderInstructions)));
|
|
479
489
|
}) : undefined;
|
|
480
490
|
var resultsLength = visibleOptions.filter(function (option) {
|
|
481
|
-
return !option.disabled;
|
|
491
|
+
return !option.disabled || option.hasAriaDisabled;
|
|
482
492
|
}).length;
|
|
483
493
|
var listAriaDescribedbyId = this.rootId('instructions');
|
|
484
494
|
var listAccessibleName = getAccessibleName(listProps, listAriaDescribedbyId);
|
|
@@ -8,7 +8,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
|
8
8
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
9
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
10
10
|
var _excluded = ["data"],
|
|
11
|
-
_excluded2 = ["label", "isGroupLabel", "checked", "disabled", "prepend", "append", "ref", "key", "searchableLabel", "data", "truncationProps", "css"],
|
|
11
|
+
_excluded2 = ["label", "isGroupLabel", "checked", "disabled", "hasAriaDisabled", "prepend", "append", "ref", "key", "searchableLabel", "data", "truncationProps", "css"],
|
|
12
12
|
_excluded3 = ["className", "options", "searchValue", "onOptionClick", "renderOption", "height", "windowProps", "rowHeight", "activeOptionIndex", "makeOptionId", "showIcons", "singleSelection", "visibleOptions", "allowExclusions", "bordered", "paddingSize", "searchable", "onFocusBadge", "listId", "setActiveOptionIndex", "aria-label", "aria-labelledby", "aria-describedby", "role", "isPreFiltered", "isVirtualized", "textWrap", "truncationProps", "autoFocus"];
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -128,6 +128,7 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
128
128
|
isGroupLabel = option.isGroupLabel,
|
|
129
129
|
checked = option.checked,
|
|
130
130
|
disabled = option.disabled,
|
|
131
|
+
hasAriaDisabled = option.hasAriaDisabled,
|
|
131
132
|
prepend = option.prepend,
|
|
132
133
|
append = option.append,
|
|
133
134
|
ref = option.ref,
|
|
@@ -190,6 +191,7 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
190
191
|
title: !truncationProps && !option.toolTipContent ? searchableLabel || label : undefined,
|
|
191
192
|
checked: checked,
|
|
192
193
|
disabled: disabled,
|
|
194
|
+
hasAriaDisabled: hasAriaDisabled,
|
|
193
195
|
prepend: prepend,
|
|
194
196
|
append: append,
|
|
195
197
|
"aria-posinset": _this.state.ariaPosInSetMap[index],
|