@elastic/eui 123.4.0 → 123.5.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 +87 -86
- package/dist/svgs/logo_elastic_mono.svg +3 -0
- package/dist/svgs/moon.svg +2 -2
- package/dist/svgs/product_nightshift.svg +4 -3
- 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/badge/notification_badge/badge_notification.js +1 -1
- package/es/components/badge/notification_badge/badge_notification.styles.js +1 -0
- package/es/components/basic_table/basic_table.js +34 -34
- package/es/components/basic_table/in_memory_table.js +9 -9
- 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/button/split_button/split_button.js +9 -9
- package/es/components/button/split_button/split_button.styles.js +11 -5
- package/es/components/button/split_button/split_button_actions.js +6 -12
- package/es/components/call_out/call_out.js +2 -2
- 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/combo_box/combo_box.js +41 -41
- 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/cell/data_grid_cell_popover.js +7 -7
- 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/body/header/draggable_columns.js +2 -2
- 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/controls/display_selector.js +3 -3
- 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/date_picker/react-datepicker/src/date_utils.js +3 -3
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -3
- package/es/components/date_picker/super_date_picker/pretty_duration.js +30 -30
- package/es/components/date_picker/super_date_picker/super_date_picker.a11y.js +2 -2
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/filter_group/filter_button.js +1 -1
- package/es/components/filter_group/filter_group.a11y.js +13 -13
- package/es/components/flex/flex_grid.styles.js +4 -4
- package/es/components/flex/flex_group.styles.js +16 -16
- package/es/components/flyout/flyout.component.js +43 -36
- package/es/components/flyout/flyout_menu/flyout_menu.js +2 -2
- 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_row/form_row.styles.js +1 -1
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header.a11y.js +3 -3
- 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_logo/elastic_logo_full.js +6 -2
- package/es/components/header/header_logo/header_logo.js +6 -3
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/icon/assets/logo_elastic_mono.js +35 -0
- package/es/components/icon/assets/moon.js +1 -1
- package/es/components/icon/assets/product_nightshift.js +6 -2
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +5 -0
- package/es/components/icon/svgs/logo_elastic_mono.svg +3 -0
- package/es/components/icon/svgs/moon.svg +2 -2
- package/es/components/icon/svgs/product_nightshift.svg +4 -3
- 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/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +8 -8
- 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/modal/modal.styles.js +1 -1
- package/es/components/modal/modal_body.styles.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/search_bar/filters/field_value_selection_filter.js +3 -3
- package/es/components/search_bar/search_bar.js +3 -3
- package/es/components/selectable/selectable_list/selectable_list.js +47 -48
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/es/components/steps/step.js +4 -5
- package/es/components/steps/steps_horizontal.js +2 -1
- package/es/components/steps/sub_steps.js +2 -3
- 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/es/components/tool_tip/tool_tip.js +7 -7
- package/es/test/index.d.ts +3 -3
- package/eui.d.ts +46 -19
- 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/badge/notification_badge/badge_notification.js +1 -1
- package/lib/components/badge/notification_badge/badge_notification.styles.js +1 -0
- package/lib/components/basic_table/basic_table.js +34 -34
- package/lib/components/basic_table/in_memory_table.js +9 -9
- 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/button/split_button/split_button.js +8 -8
- package/lib/components/button/split_button/split_button.styles.js +11 -5
- package/lib/components/button/split_button/split_button_actions.js +4 -10
- package/lib/components/call_out/call_out.js +2 -2
- 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/combo_box/combo_box.js +41 -41
- 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/cell/data_grid_cell_popover.js +7 -7
- 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/body/header/draggable_columns.js +2 -2
- 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/controls/display_selector.js +3 -3
- 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/date_picker/react-datepicker/src/date_utils.js +3 -3
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -3
- package/lib/components/date_picker/super_date_picker/pretty_duration.js +30 -30
- package/lib/components/date_picker/super_date_picker/super_date_picker.a11y.js +2 -2
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/filter_group/filter_button.js +1 -1
- package/lib/components/filter_group/filter_group.a11y.js +13 -13
- package/lib/components/flex/flex_grid.styles.js +4 -4
- package/lib/components/flex/flex_group.styles.js +16 -16
- package/lib/components/flyout/flyout.component.js +43 -36
- package/lib/components/flyout/flyout_menu/flyout_menu.js +2 -2
- 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_row/form_row.styles.js +1 -1
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header.a11y.js +3 -3
- 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_logo/elastic_logo_full.js +6 -2
- package/lib/components/header/header_logo/header_logo.js +6 -3
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/icon/assets/logo_elastic_mono.js +41 -0
- package/lib/components/icon/assets/moon.js +1 -1
- package/lib/components/icon/assets/product_nightshift.js +6 -2
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +7 -0
- package/lib/components/icon/svgs/logo_elastic_mono.svg +3 -0
- package/lib/components/icon/svgs/moon.svg +2 -2
- package/lib/components/icon/svgs/product_nightshift.svg +4 -3
- 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/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +8 -8
- 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/modal/modal.styles.js +1 -1
- package/lib/components/modal/modal_body.styles.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/search_bar/filters/field_value_selection_filter.js +2 -2
- package/lib/components/search_bar/search_bar.js +3 -3
- package/lib/components/selectable/selectable_list/selectable_list.js +47 -48
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/steps/step.js +3 -4
- package/lib/components/steps/steps_horizontal.js +2 -1
- package/lib/components/steps/sub_steps.js +1 -2
- 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/lib/components/tool_tip/tool_tip.js +7 -7
- package/lib/test/index.d.ts +3 -3
- package/optimize/es/components/badge/notification_badge/badge_notification.js +1 -1
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +1 -0
- package/optimize/es/components/basic_table/basic_table.js +30 -30
- package/optimize/es/components/basic_table/in_memory_table.js +5 -5
- package/optimize/es/components/button/split_button/split_button.js +9 -9
- package/optimize/es/components/button/split_button/split_button.styles.js +11 -5
- package/optimize/es/components/button/split_button/split_button_actions.js +6 -12
- package/optimize/es/components/combo_box/combo_box.js +41 -41
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_popover.js +7 -7
- package/optimize/es/components/datagrid/body/header/draggable_columns.js +2 -2
- package/optimize/es/components/datagrid/controls/display_selector.js +3 -3
- package/optimize/es/components/date_picker/react-datepicker/src/date_utils.js +3 -3
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -3
- package/optimize/es/components/date_picker/super_date_picker/pretty_duration.js +30 -30
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.a11y.js +2 -2
- package/optimize/es/components/filter_group/filter_button.js +1 -1
- package/optimize/es/components/filter_group/filter_group.a11y.js +13 -13
- package/optimize/es/components/flex/flex_grid.styles.js +4 -4
- package/optimize/es/components/flex/flex_group.styles.js +16 -16
- package/optimize/es/components/flyout/flyout.component.js +43 -36
- package/optimize/es/components/form/form_row/form_row.styles.js +1 -1
- package/optimize/es/components/header/header.a11y.js +3 -3
- package/optimize/es/components/header/header_logo/elastic_logo_full.js +6 -2
- package/optimize/es/components/header/header_logo/header_logo.js +6 -3
- package/optimize/es/components/icon/assets/logo_elastic_mono.js +34 -0
- package/optimize/es/components/icon/assets/moon.js +1 -1
- package/optimize/es/components/icon/assets/product_nightshift.js +6 -2
- package/optimize/es/components/icon/icon_map.js +5 -0
- package/optimize/es/components/icon/svgs/logo_elastic_mono.svg +3 -0
- package/optimize/es/components/icon/svgs/moon.svg +2 -2
- package/optimize/es/components/icon/svgs/product_nightshift.svg +4 -3
- package/optimize/es/components/markdown_editor/markdown_editor.js +7 -7
- package/optimize/es/components/modal/modal.styles.js +1 -1
- package/optimize/es/components/modal/modal_body.styles.js +1 -1
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +3 -3
- package/optimize/es/components/search_bar/search_bar.js +3 -3
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +46 -47
- package/optimize/es/components/steps/step.js +4 -5
- package/optimize/es/components/steps/steps_horizontal.js +2 -1
- package/optimize/es/components/steps/sub_steps.js +2 -3
- package/optimize/es/components/tool_tip/tool_tip.js +7 -7
- package/optimize/es/test/index.d.ts +3 -3
- package/optimize/lib/components/badge/notification_badge/badge_notification.js +1 -1
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +1 -0
- package/optimize/lib/components/basic_table/basic_table.js +30 -30
- package/optimize/lib/components/basic_table/in_memory_table.js +5 -5
- package/optimize/lib/components/button/split_button/split_button.js +8 -8
- package/optimize/lib/components/button/split_button/split_button.styles.js +11 -5
- package/optimize/lib/components/button/split_button/split_button_actions.js +4 -10
- package/optimize/lib/components/combo_box/combo_box.js +41 -41
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_popover.js +7 -7
- package/optimize/lib/components/datagrid/body/header/draggable_columns.js +2 -2
- package/optimize/lib/components/datagrid/controls/display_selector.js +3 -3
- package/optimize/lib/components/date_picker/react-datepicker/src/date_utils.js +3 -3
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -3
- package/optimize/lib/components/date_picker/super_date_picker/pretty_duration.js +30 -30
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.a11y.js +2 -2
- package/optimize/lib/components/filter_group/filter_button.js +1 -1
- package/optimize/lib/components/filter_group/filter_group.a11y.js +13 -13
- package/optimize/lib/components/flex/flex_grid.styles.js +4 -4
- package/optimize/lib/components/flex/flex_group.styles.js +16 -16
- package/optimize/lib/components/flyout/flyout.component.js +43 -36
- package/optimize/lib/components/form/form_row/form_row.styles.js +1 -1
- package/optimize/lib/components/header/header.a11y.js +3 -3
- package/optimize/lib/components/header/header_logo/elastic_logo_full.js +6 -2
- package/optimize/lib/components/header/header_logo/header_logo.js +6 -3
- package/optimize/lib/components/icon/assets/logo_elastic_mono.js +41 -0
- package/optimize/lib/components/icon/assets/moon.js +1 -1
- package/optimize/lib/components/icon/assets/product_nightshift.js +6 -2
- package/optimize/lib/components/icon/icon_map.js +7 -0
- package/optimize/lib/components/icon/svgs/logo_elastic_mono.svg +3 -0
- package/optimize/lib/components/icon/svgs/moon.svg +2 -2
- package/optimize/lib/components/icon/svgs/product_nightshift.svg +4 -3
- package/optimize/lib/components/markdown_editor/markdown_editor.js +7 -7
- package/optimize/lib/components/modal/modal.styles.js +1 -1
- package/optimize/lib/components/modal/modal_body.styles.js +1 -1
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +2 -2
- package/optimize/lib/components/search_bar/search_bar.js +3 -3
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +46 -47
- package/optimize/lib/components/steps/step.js +3 -4
- package/optimize/lib/components/steps/steps_horizontal.js +2 -1
- package/optimize/lib/components/steps/sub_steps.js +1 -2
- package/optimize/lib/components/tool_tip/tool_tip.js +7 -7
- package/optimize/lib/test/index.d.ts +3 -3
- package/package.json +5 -27
- 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/badge/notification_badge/badge_notification.js +1 -1
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +1 -0
- package/test-env/components/basic_table/basic_table.js +34 -34
- package/test-env/components/basic_table/in_memory_table.js +9 -9
- 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/button/split_button/split_button.js +8 -8
- package/test-env/components/button/split_button/split_button.styles.js +11 -5
- package/test-env/components/button/split_button/split_button_actions.js +4 -10
- package/test-env/components/call_out/call_out.js +2 -2
- 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/combo_box/combo_box.js +41 -41
- 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/cell/data_grid_cell_popover.js +7 -7
- 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/body/header/draggable_columns.js +2 -2
- 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/controls/display_selector.js +3 -3
- 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/date_picker/react-datepicker/src/date_utils.js +3 -3
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -3
- package/test-env/components/date_picker/super_date_picker/pretty_duration.js +30 -30
- package/test-env/components/date_picker/super_date_picker/super_date_picker.a11y.js +2 -2
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/filter_group/filter_button.js +1 -1
- package/test-env/components/filter_group/filter_group.a11y.js +13 -13
- package/test-env/components/flex/flex_grid.styles.js +4 -4
- package/test-env/components/flex/flex_group.styles.js +16 -16
- package/test-env/components/flyout/flyout.component.js +43 -36
- package/test-env/components/flyout/flyout_menu/flyout_menu.js +2 -2
- 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_row/form_row.styles.js +1 -1
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header.a11y.js +3 -3
- 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_logo/elastic_logo_full.js +6 -2
- package/test-env/components/header/header_logo/header_logo.js +6 -3
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/icon/assets/logo_elastic_mono.js +41 -0
- package/test-env/components/icon/assets/moon.js +1 -1
- package/test-env/components/icon/assets/product_nightshift.js +6 -2
- package/test-env/components/icon/icon_map.js +7 -0
- 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/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +8 -8
- 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/modal/modal.styles.js +1 -1
- package/test-env/components/modal/modal_body.styles.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/search_bar/filters/field_value_selection_filter.js +2 -2
- package/test-env/components/search_bar/search_bar.js +3 -3
- package/test-env/components/selectable/selectable_list/selectable_list.js +47 -48
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/steps/step.js +3 -4
- package/test-env/components/steps/steps_horizontal.js +2 -1
- package/test-env/components/steps/sub_steps.js +1 -2
- 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
- package/test-env/components/tool_tip/tool_tip.js +7 -7
- package/es/components/date_picker/react-datepicker/test/helper_components/custom_input.js +0 -74
- package/es/components/date_picker/react-datepicker/test/test_wrapper.js +0 -38
- package/es/components/date_picker/react-datepicker/test/timezone_date_picker.js +0 -75
- package/lib/components/date_picker/react-datepicker/test/helper_components/custom_input.js +0 -80
- package/lib/components/date_picker/react-datepicker/test/test_wrapper.js +0 -46
- package/lib/components/date_picker/react-datepicker/test/timezone_date_picker.js +0 -83
- package/optimize/es/components/date_picker/react-datepicker/test/helper_components/custom_input.js +0 -68
- package/optimize/es/components/date_picker/react-datepicker/test/test_wrapper.js +0 -38
- package/optimize/es/components/date_picker/react-datepicker/test/timezone_date_picker.js +0 -69
- package/optimize/lib/components/date_picker/react-datepicker/test/helper_components/custom_input.js +0 -74
- package/optimize/lib/components/date_picker/react-datepicker/test/test_wrapper.js +0 -46
- package/optimize/lib/components/date_picker/react-datepicker/test/timezone_date_picker.js +0 -77
- package/test-env/components/date_picker/react-datepicker/test/helper_components/custom_input.js +0 -74
- package/test-env/components/date_picker/react-datepicker/test/test_wrapper.js +0 -46
- package/test-env/components/date_picker/react-datepicker/test/timezone_date_picker.js +0 -77
|
@@ -85,7 +85,7 @@ var _ref9 = process.env.NODE_ENV === "production" ? {
|
|
|
85
85
|
styles: "align-items:stretch;label:stretch;",
|
|
86
86
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
87
87
|
};
|
|
88
|
-
var
|
|
88
|
+
var _ref0 = process.env.NODE_ENV === "production" ? {
|
|
89
89
|
name: "1m1byq-center",
|
|
90
90
|
styles: "justify-content:center;label:center;"
|
|
91
91
|
} : {
|
|
@@ -93,7 +93,7 @@ var _ref10 = process.env.NODE_ENV === "production" ? {
|
|
|
93
93
|
styles: "justify-content:center;label:center;",
|
|
94
94
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
95
95
|
};
|
|
96
|
-
var
|
|
96
|
+
var _ref1 = process.env.NODE_ENV === "production" ? {
|
|
97
97
|
name: "16lku54-spaceAround",
|
|
98
98
|
styles: "justify-content:space-around;label:spaceAround;"
|
|
99
99
|
} : {
|
|
@@ -101,7 +101,7 @@ var _ref11 = process.env.NODE_ENV === "production" ? {
|
|
|
101
101
|
styles: "justify-content:space-around;label:spaceAround;",
|
|
102
102
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
103
103
|
};
|
|
104
|
-
var
|
|
104
|
+
var _ref10 = process.env.NODE_ENV === "production" ? {
|
|
105
105
|
name: "1h16bgr-spaceBetween",
|
|
106
106
|
styles: "justify-content:space-between;label:spaceBetween;"
|
|
107
107
|
} : {
|
|
@@ -109,7 +109,7 @@ var _ref12 = process.env.NODE_ENV === "production" ? {
|
|
|
109
109
|
styles: "justify-content:space-between;label:spaceBetween;",
|
|
110
110
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
111
111
|
};
|
|
112
|
-
var
|
|
112
|
+
var _ref11 = process.env.NODE_ENV === "production" ? {
|
|
113
113
|
name: "jykwsi-spaceEvenly",
|
|
114
114
|
styles: "justify-content:space-evenly;label:spaceEvenly;"
|
|
115
115
|
} : {
|
|
@@ -117,7 +117,7 @@ var _ref13 = process.env.NODE_ENV === "production" ? {
|
|
|
117
117
|
styles: "justify-content:space-evenly;label:spaceEvenly;",
|
|
118
118
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
119
119
|
};
|
|
120
|
-
var
|
|
120
|
+
var _ref12 = process.env.NODE_ENV === "production" ? {
|
|
121
121
|
name: "1nfuqww-flexEnd",
|
|
122
122
|
styles: "justify-content:flex-end;label:flexEnd;"
|
|
123
123
|
} : {
|
|
@@ -125,7 +125,7 @@ var _ref14 = process.env.NODE_ENV === "production" ? {
|
|
|
125
125
|
styles: "justify-content:flex-end;label:flexEnd;",
|
|
126
126
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
127
127
|
};
|
|
128
|
-
var
|
|
128
|
+
var _ref13 = process.env.NODE_ENV === "production" ? {
|
|
129
129
|
name: "e9miiv-flexStart",
|
|
130
130
|
styles: "justify-content:flex-start;label:flexStart;"
|
|
131
131
|
} : {
|
|
@@ -133,7 +133,7 @@ var _ref15 = process.env.NODE_ENV === "production" ? {
|
|
|
133
133
|
styles: "justify-content:flex-start;label:flexStart;",
|
|
134
134
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
135
135
|
};
|
|
136
|
-
var
|
|
136
|
+
var _ref14 = process.env.NODE_ENV === "production" ? {
|
|
137
137
|
name: "qg5yc9-wrap",
|
|
138
138
|
styles: "flex-wrap:wrap;label:wrap;"
|
|
139
139
|
} : {
|
|
@@ -141,7 +141,7 @@ var _ref16 = process.env.NODE_ENV === "production" ? {
|
|
|
141
141
|
styles: "flex-wrap:wrap;label:wrap;",
|
|
142
142
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
143
143
|
};
|
|
144
|
-
var
|
|
144
|
+
var _ref15 = process.env.NODE_ENV === "production" ? {
|
|
145
145
|
name: "4quxm4-euiFlexGroup",
|
|
146
146
|
styles: "display:flex;align-items:stretch;flex-grow:1;label:euiFlexGroup;"
|
|
147
147
|
} : {
|
|
@@ -152,9 +152,9 @@ var _ref17 = process.env.NODE_ENV === "production" ? {
|
|
|
152
152
|
var euiFlexGroupStyles = exports.euiFlexGroupStyles = function euiFlexGroupStyles(euiThemeContext) {
|
|
153
153
|
var euiTheme = euiThemeContext.euiTheme;
|
|
154
154
|
return {
|
|
155
|
-
euiFlexGroup:
|
|
155
|
+
euiFlexGroup: _ref15,
|
|
156
156
|
responsive: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiMaxBreakpoint)(euiThemeContext, 'm'), "{flex-wrap:wrap;&>.euiFlexItem{", (0, _global_styling.logicalCSS)('width', '100%'), " flex-basis:100%;}};label:responsive;"),
|
|
157
|
-
wrap:
|
|
157
|
+
wrap: _ref14,
|
|
158
158
|
gutterSizes: {
|
|
159
159
|
none: /*#__PURE__*/(0, _react.css)(";label:none;"),
|
|
160
160
|
xs: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.xs, ";;label:xs;"),
|
|
@@ -164,12 +164,12 @@ var euiFlexGroupStyles = exports.euiFlexGroupStyles = function euiFlexGroupStyle
|
|
|
164
164
|
xl: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.xxl, ";;label:xl;")
|
|
165
165
|
},
|
|
166
166
|
justifyContent: {
|
|
167
|
-
flexStart:
|
|
168
|
-
flexEnd:
|
|
169
|
-
spaceEvenly:
|
|
170
|
-
spaceBetween:
|
|
171
|
-
spaceAround:
|
|
172
|
-
center:
|
|
167
|
+
flexStart: _ref13,
|
|
168
|
+
flexEnd: _ref12,
|
|
169
|
+
spaceEvenly: _ref11,
|
|
170
|
+
spaceBetween: _ref10,
|
|
171
|
+
spaceAround: _ref1,
|
|
172
|
+
center: _ref0
|
|
173
173
|
},
|
|
174
174
|
alignItems: {
|
|
175
175
|
stretch: _ref9,
|
|
@@ -139,25 +139,25 @@ var EuiFlyoutComponent = exports.EuiFlyoutComponent = /*#__PURE__*/(0, _react.fo
|
|
|
139
139
|
_usePropsWithComponen9 = _usePropsWithComponen.maxWidth,
|
|
140
140
|
maxWidth = _usePropsWithComponen9 === void 0 ? false : _usePropsWithComponen9,
|
|
141
141
|
style = _usePropsWithComponen.style,
|
|
142
|
-
|
|
143
|
-
hasChildBackground =
|
|
142
|
+
_usePropsWithComponen0 = _usePropsWithComponen.hasChildBackground,
|
|
143
|
+
hasChildBackground = _usePropsWithComponen0 === void 0 ? false : _usePropsWithComponen0,
|
|
144
144
|
maskProps = _usePropsWithComponen.maskProps,
|
|
145
|
-
|
|
146
|
-
type =
|
|
145
|
+
_usePropsWithComponen1 = _usePropsWithComponen.type,
|
|
146
|
+
type = _usePropsWithComponen1 === void 0 ? _const2.DEFAULT_TYPE : _usePropsWithComponen1,
|
|
147
147
|
outsideClickCloses = _usePropsWithComponen.outsideClickCloses,
|
|
148
|
-
|
|
149
|
-
pushMinBreakpoint =
|
|
148
|
+
_usePropsWithComponen10 = _usePropsWithComponen.pushMinBreakpoint,
|
|
149
|
+
pushMinBreakpoint = _usePropsWithComponen10 === void 0 ? _const2.DEFAULT_PUSH_MIN_BREAKPOINT : _usePropsWithComponen10,
|
|
150
150
|
_pushAnimation = _usePropsWithComponen.pushAnimation,
|
|
151
151
|
_hasAnimation = _usePropsWithComponen.hasAnimation,
|
|
152
152
|
_focusTrapProps = _usePropsWithComponen.focusTrapProps,
|
|
153
|
-
|
|
154
|
-
includeFixedHeadersInFocusTrap =
|
|
153
|
+
_usePropsWithComponen11 = _usePropsWithComponen.includeFixedHeadersInFocusTrap,
|
|
154
|
+
includeFixedHeadersInFocusTrap = _usePropsWithComponen11 === void 0 ? true : _usePropsWithComponen11,
|
|
155
155
|
includeSelectorInFocusTrap = _usePropsWithComponen.includeSelectorInFocusTrap,
|
|
156
156
|
_ariaDescribedBy = _usePropsWithComponen['aria-describedby'],
|
|
157
157
|
_ariaLabelledBy = _usePropsWithComponen['aria-labelledby'],
|
|
158
158
|
id = _usePropsWithComponen.id,
|
|
159
|
-
|
|
160
|
-
resizable =
|
|
159
|
+
_usePropsWithComponen12 = _usePropsWithComponen.resizable,
|
|
160
|
+
resizable = _usePropsWithComponen12 === void 0 ? false : _usePropsWithComponen12,
|
|
161
161
|
minWidth = _usePropsWithComponen.minWidth,
|
|
162
162
|
onResize = _usePropsWithComponen.onResize,
|
|
163
163
|
onAnimationEnd = _usePropsWithComponen.onAnimationEnd,
|
|
@@ -769,7 +769,7 @@ var EuiFlyoutComponent = exports.EuiFlyoutComponent = /*#__PURE__*/(0, _react.fo
|
|
|
769
769
|
var focusTrapSelectors = (0, _react.useMemo)(function () {
|
|
770
770
|
var selectors = [];
|
|
771
771
|
if (includeSelectorInFocusTrap) {
|
|
772
|
-
selectors =
|
|
772
|
+
selectors = selectors.concat(includeSelectorInFocusTrap);
|
|
773
773
|
}
|
|
774
774
|
if (includeFixedHeadersInFocusTrap) {
|
|
775
775
|
selectors.push('.euiHeader[data-fixed-header]');
|
|
@@ -782,44 +782,50 @@ var EuiFlyoutComponent = exports.EuiFlyoutComponent = /*#__PURE__*/(0, _react.fo
|
|
|
782
782
|
}
|
|
783
783
|
return selectors;
|
|
784
784
|
}, [includeSelectorInFocusTrap, includeFixedHeadersInFocusTrap, isSideBySideChild]);
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Finds the shards to include in the focus trap by querying by `focusTrapSelectors`.
|
|
788
|
-
*
|
|
789
|
-
* @param shouldAutoFocus Whether to auto-focus the flyout wrapper when the focus trap is activated.
|
|
790
|
-
* This is necessary because when a flyout is toggled from within a shard, the focus trap's `autoFocus`
|
|
791
|
-
* feature doesn't work. This logic manually focuses the flyout as a workaround.
|
|
792
|
-
*/
|
|
793
785
|
var findShards = (0, _react.useCallback)(function () {
|
|
794
|
-
var shouldAutoFocus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
795
786
|
if (focusTrapSelectors.length > 0) {
|
|
796
787
|
var shardsEls = focusTrapSelectors.flatMap(function (selector) {
|
|
797
788
|
return Array.from(document.querySelectorAll(selector));
|
|
798
789
|
});
|
|
799
|
-
setFocusTrapShards(
|
|
800
|
-
if (shouldAutoFocus) {
|
|
801
|
-
shardsEls.forEach(function (shard) {
|
|
802
|
-
if (shard.contains(flyoutToggle.current)) {
|
|
803
|
-
resizeRef === null || resizeRef === void 0 || resizeRef.focus();
|
|
804
|
-
}
|
|
805
|
-
});
|
|
806
|
-
}
|
|
790
|
+
setFocusTrapShards(shardsEls);
|
|
807
791
|
} else {
|
|
808
792
|
// Clear existing shards if necessary, e.g. switching to `false`
|
|
809
793
|
setFocusTrapShards(function (shards) {
|
|
810
794
|
return shards.length ? [] : shards;
|
|
811
795
|
});
|
|
812
796
|
}
|
|
813
|
-
}, [focusTrapSelectors
|
|
797
|
+
}, [focusTrapSelectors]);
|
|
814
798
|
(0, _react.useEffect)(function () {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
findShards(true);
|
|
818
|
-
var unsubscribe = _services.focusTrapPubSub.subscribe(function () {
|
|
819
|
-
return findShards();
|
|
820
|
-
});
|
|
799
|
+
findShards();
|
|
800
|
+
var unsubscribe = _services.focusTrapPubSub.subscribe(findShards);
|
|
821
801
|
return unsubscribe;
|
|
822
802
|
}, [findShards]);
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* When a flyout is toggled from within a shard, focus is already inside
|
|
806
|
+
* the trap, so its `autoFocus` doesn't move focus to the flyout. The
|
|
807
|
+
* wrapper is focused here because the trap records its return focus
|
|
808
|
+
* target before calling `onActivation`; focusing it any earlier would make
|
|
809
|
+
* the wrapper that target.
|
|
810
|
+
*
|
|
811
|
+
* Only the first activation of a trap auto-focuses: the trap reactivates
|
|
812
|
+
* when a child flyout closes, and focus belongs on the child's trigger
|
|
813
|
+
* then. A pushed flyout has no active trap, and the trap is remounted when
|
|
814
|
+
* the flyout becomes an overlay again, so that counts as a first activation.
|
|
815
|
+
*/
|
|
816
|
+
var hasActivatedFocusTrap = (0, _react.useRef)(false);
|
|
817
|
+
if (isPushed) hasActivatedFocusTrap.current = false;
|
|
818
|
+
var onFocusTrapActivation = (0, _react.useCallback)(function () {
|
|
819
|
+
if (hasActivatedFocusTrap.current) return;
|
|
820
|
+
hasActivatedFocusTrap.current = true;
|
|
821
|
+
var toggle = flyoutToggle.current;
|
|
822
|
+
if (focusTrapSelectors.some(function (selector) {
|
|
823
|
+
return toggle === null || toggle === void 0 ? void 0 : toggle.closest(selector);
|
|
824
|
+
})) {
|
|
825
|
+
var _internalParentFlyout;
|
|
826
|
+
(_internalParentFlyout = internalParentFlyoutRef.current) === null || _internalParentFlyout === void 0 || _internalParentFlyout.focus();
|
|
827
|
+
}
|
|
828
|
+
}, [focusTrapSelectors]);
|
|
823
829
|
var focusTrapProps = (0, _react.useMemo)(function () {
|
|
824
830
|
return _objectSpread(_objectSpread({}, _focusTrapProps), {}, {
|
|
825
831
|
shards: [].concat((0, _toConsumableArray2.default)(focusTrapShards), (0, _toConsumableArray2.default)((_focusTrapProps === null || _focusTrapProps === void 0 ? void 0 : _focusTrapProps.shards) || []))
|
|
@@ -901,7 +907,8 @@ var EuiFlyoutComponent = exports.EuiFlyoutComponent = /*#__PURE__*/(0, _react.fo
|
|
|
901
907
|
disabled: isPushed,
|
|
902
908
|
scrollLock: shouldUseScrollLock,
|
|
903
909
|
clickOutsideDisables: !ownFocus,
|
|
904
|
-
onClickOutside: onClickOutside
|
|
910
|
+
onClickOutside: onClickOutside,
|
|
911
|
+
onActivation: onFocusTrapActivation
|
|
905
912
|
}, focusTrapProps), (0, _react2.jsx)(Element, (0, _extends2.default)({
|
|
906
913
|
className: classes,
|
|
907
914
|
css: cssStyles,
|
|
@@ -27,7 +27,7 @@ var euiFormRowStyles = exports.euiFormRowStyles = function euiFormRowStyles(euiT
|
|
|
27
27
|
formWidth: "\n ".concat((0, _global_styling.logicalCSS)('max-width', maxWidth), "\n "),
|
|
28
28
|
fullWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', '100%'), ";;label:fullWidth;"),
|
|
29
29
|
// Skip css`` to avoid generating an extra className
|
|
30
|
-
row: "\n flex-direction: column;\n row-gap: ".concat(euiTheme.size.xs, ";\n\n .euiFormRow__labelWrapper {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n }\n\n + .euiFormRow {\n ").concat((0, _global_styling.logicalCSS)('margin-top', euiTheme.size.base), "\n }\n "),
|
|
30
|
+
row: "\n flex-direction: column;\n row-gap: ".concat(euiTheme.size.xs, ";\n\n .euiFormRow__labelWrapper {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: flex-end;\n }\n\n + .euiFormRow {\n ").concat((0, _global_styling.logicalCSS)('margin-top', euiTheme.size.base), "\n }\n "),
|
|
31
31
|
// No difference from the uncompressed row for the current EUI theme
|
|
32
32
|
get rowCompressed() {
|
|
33
33
|
return this.row;
|
|
@@ -252,9 +252,9 @@ var HeaderAppMenu = function HeaderAppMenu() {
|
|
|
252
252
|
prefix: 'headerAppKeyPadMenu'
|
|
253
253
|
});
|
|
254
254
|
var _useState9 = (0, _react.useState)(false),
|
|
255
|
-
|
|
256
|
-
isOpen =
|
|
257
|
-
setIsOpen =
|
|
255
|
+
_useState0 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
256
|
+
isOpen = _useState0[0],
|
|
257
|
+
setIsOpen = _useState0[1];
|
|
258
258
|
var onMenuButtonClick = function onMenuButtonClick() {
|
|
259
259
|
setIsOpen(!isOpen);
|
|
260
260
|
};
|
|
@@ -10,7 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _services = require("../../../services");
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
|
-
var _excluded = ["title", "titleId"];
|
|
13
|
+
var _excluded = ["title", "titleId", "mono"];
|
|
14
14
|
/*
|
|
15
15
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
16
16
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -23,6 +23,7 @@ function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e;
|
|
|
23
23
|
var SvgElasticLogoFull = function SvgElasticLogoFull(_ref) {
|
|
24
24
|
var title = _ref.title,
|
|
25
25
|
titleId = _ref.titleId,
|
|
26
|
+
mono = _ref.mono,
|
|
26
27
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
28
|
var generatedTitleId = (0, _services.useGeneratedHtmlId)();
|
|
28
29
|
var resolvedTitleId = title ? titleId !== null && titleId !== void 0 ? titleId : generatedTitleId : undefined;
|
|
@@ -35,7 +36,10 @@ var SvgElasticLogoFull = function SvgElasticLogoFull(_ref) {
|
|
|
35
36
|
"aria-labelledby": resolvedTitleId
|
|
36
37
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
38
|
id: resolvedTitleId
|
|
38
|
-
}, title) : null,
|
|
39
|
+
}, title) : null, mono ? (0, _react2.jsx)("path", {
|
|
40
|
+
fill: "currentColor",
|
|
41
|
+
d: "M18.637.368a10.13 10.13 0 0 1 6.743.47c2.13.927 3.88 2.554 4.958 4.611a10.24 10.24 0 0 1 .982 6.711 7.1 7.1 0 0 1 3.398 2.61A7.13 7.13 0 0 1 36 18.866a7.2 7.2 0 0 1-1.308 4.108 7.2 7.2 0 0 1-3.41 2.623 5.44 5.44 0 0 1-1.882 6.235 5.39 5.39 0 0 1-6.49-.083 10.15 10.15 0 0 1-5.063 3.737 10.1 10.1 0 0 1-6.286.026 10.14 10.14 0 0 1-5.091-3.699 10.2 10.2 0 0 1-1.943-5.999c0-.65.06-1.3.18-1.94a7.1 7.1 0 0 1-3.419-2.611A7.13 7.13 0 0 1 0 17.147a7.2 7.2 0 0 1 1.309-4.108 7.2 7.2 0 0 1 3.414-2.621 5.44 5.44 0 0 1 1.865-6.252 5.39 5.39 0 0 1 6.503.078A10.17 10.17 0 0 1 18.637.368M5.999 23.88l.001.002a8.96 8.96 0 0 0 1.56 7.09 8.9 8.9 0 0 0 4.546 3.232 8.88 8.88 0 0 0 5.568-.108 8.9 8.9 0 0 0 4.417-3.41l1.311-6.864-1.749-3.358-7.909-3.612zm17.483 6.806a4.2 4.2 0 0 0 4.54.395 4.29 4.29 0 0 0 2.026-5.265l-5.4-1.265zm-.478-10.579 1.575 3.027 5.94 1.392a6 6 0 0 0 2.95-2.18 6.04 6.04 0 0 0 1.14-3.494c0-1.21-.368-2.39-1.053-3.386a5.95 5.95 0 0 0-2.784-2.188zM5.48 11.491a5.96 5.96 0 0 0-2.92 2.117 5.99 5.99 0 0 0-.159 6.889 5.95 5.95 0 0 0 2.818 2.25l7.575-6.863-1.39-2.982zm18.414-9.629a8.86 8.86 0 0 0-5.548.097 8.9 8.9 0 0 0-4.41 3.383l-1.32 6.883 1.536 3.284v.002l7.877 3.612 7.95-6.99a9 9 0 0 0 .17-1.751 8.94 8.94 0 0 0-1.732-5.292 8.9 8.9 0 0 0-4.523-3.228M9.985 4.458A4.26 4.26 0 0 0 5.88 7.503a4.3 4.3 0 0 0 .071 2.695l-.002.002 5.4 1.28 1.183-6.159a4.26 4.26 0 0 0-2.548-.863"
|
|
42
|
+
}) : (0, _react2.jsx)("g", null, (0, _react2.jsx)("path", {
|
|
39
43
|
fillRule: "evenodd",
|
|
40
44
|
clipRule: "evenodd",
|
|
41
45
|
d: "M34.7176 14.7701C35.5559 15.9712 36.0037 17.4015 36 18.8662C35.9928 20.3369 35.5367 21.7703 34.6928 22.9747C33.8506 24.177 32.6601 25.0922 31.2818 25.5971C31.6833 26.7001 31.717 27.9035 31.378 29.0273C31.039 30.151 30.3453 31.1349 29.4008 31.8319C28.4569 32.5256 27.3126 32.8927 26.1412 32.8777C24.9699 32.8627 23.8354 32.4663 22.9096 31.7486C21.6609 33.4995 19.8881 34.8083 17.847 35.4859C15.808 36.1625 13.6063 36.1715 11.5617 35.5117C9.51524 34.8502 7.7321 33.5552 6.46993 31.8139C5.20483 30.0694 4.52469 27.9691 4.52705 25.8142C4.52676 25.1632 4.58702 24.5135 4.70705 23.8736C3.3246 23.3782 2.13002 22.4658 1.28817 21.2625C0.444555 20.0565 -0.00538147 18.619 4.85762e-05 17.1472C0.0076733 15.6765 0.464145 14.2431 1.30842 13.0387C2.15178 11.8365 3.34344 10.9216 4.7228 10.4175C4.31561 9.31391 4.27729 8.10804 4.61361 6.98084C4.94992 5.85364 5.64272 4.86591 6.58805 4.16587C7.53252 3.46884 8.67878 3.09933 9.85252 3.11355C11.0263 3.12776 12.1632 3.52492 13.0905 4.24462C14.4424 2.35697 16.3996 0.9889 18.6368 0.367868C20.8722 -0.251484 23.2525 -0.0850957 25.3801 0.839243C27.5102 1.76545 29.2596 3.39218 30.3379 5.44949C31.4184 7.50975 31.7648 9.87663 31.3201 12.1601C32.6948 12.6587 33.8815 13.5704 34.7176 14.7701ZM14.1525 15.5104L22.0298 19.1227L29.9791 12.1331C30.0942 11.5564 30.1515 10.9696 30.15 10.3815C30.1509 8.478 29.5439 6.62398 28.4176 5.08949C27.2939 3.55777 25.7089 2.42655 23.8951 1.86187C22.083 1.29869 20.1379 1.33261 18.3466 1.95862C16.5527 2.58577 15.0071 3.77139 13.9365 5.34149L12.6158 12.2242L14.1537 15.5092L14.1525 15.5104ZM5.99967 23.8815C5.7507 25.1067 5.76091 26.3705 6.02964 27.5915C6.29838 28.8125 6.81969 29.9638 7.56005 30.9712C8.68986 32.5078 10.283 33.6411 12.105 34.2045C13.9249 34.7665 15.8773 34.7283 17.6738 34.0954C19.473 33.4612 21.0211 32.2663 22.0905 30.6866L23.4023 23.8219L21.6529 20.4637L13.7442 16.8514L5.99855 23.8804L5.99967 23.8815ZM11.349 11.4795L5.94905 10.2004L5.9513 10.1981C5.63886 9.33069 5.61367 8.38578 5.87946 7.50294C6.14524 6.6201 6.6879 5.84614 7.4273 5.29537C8.16675 4.74736 9.06386 4.45369 9.98423 4.45835C10.9046 4.46302 11.7987 4.76577 12.5325 5.32124L11.349 11.4795ZM5.48105 11.4907C4.3125 11.8778 3.29261 12.6175 2.56167 13.608C1.8289 14.6002 1.42031 15.7944 1.39172 17.0275C1.36312 18.2606 1.71593 19.4724 2.40192 20.4975C3.08705 21.5212 4.07142 22.3087 5.22005 22.7475L12.7947 15.8839L11.4053 12.9026L5.48105 11.4907ZM26.0528 31.5697C25.1218 31.5681 24.2176 31.2575 23.4822 30.6866L24.6488 24.5509L30.0488 25.8165C30.2847 26.4626 30.3617 27.156 30.2734 27.8382C30.1851 28.5203 29.934 29.1712 29.5414 29.736C29.1509 30.3003 28.6296 30.7617 28.0222 31.081C27.4147 31.4003 26.7391 31.568 26.0528 31.5697ZM24.579 23.1334L30.519 24.5261C31.7055 24.1247 32.7369 23.3624 33.4688 22.3459C34.2024 21.3277 34.6007 20.1065 34.6084 18.8516C34.6081 17.6423 34.241 16.4616 33.5554 15.4654C32.871 14.4704 31.8998 13.7076 30.771 13.2784L23.004 20.1071L24.579 23.1334Z",
|
|
@@ -16,7 +16,7 @@ var _icon = require("../../icon");
|
|
|
16
16
|
var _header_logo = require("./header_logo.styles");
|
|
17
17
|
var _elastic_logo_full = _interopRequireDefault(require("./elastic_logo_full"));
|
|
18
18
|
var _react2 = require("@emotion/react");
|
|
19
|
-
var _excluded = ["iconTitle", "href", "rel", "target", "className", "logoType"],
|
|
19
|
+
var _excluded = ["iconTitle", "href", "rel", "target", "className", "logoType", "logoMono"],
|
|
20
20
|
_excluded2 = ["iconType"];
|
|
21
21
|
/*
|
|
22
22
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -34,6 +34,8 @@ var EuiHeaderLogo = exports.EuiHeaderLogo = function EuiHeaderLogo(_ref) {
|
|
|
34
34
|
className = _ref.className,
|
|
35
35
|
_ref$logoType = _ref.logoType,
|
|
36
36
|
logoType = _ref$logoType === void 0 ? 'glyph' : _ref$logoType,
|
|
37
|
+
_ref$logoMono = _ref.logoMono,
|
|
38
|
+
logoMono = _ref$logoMono === void 0 ? false : _ref$logoMono,
|
|
37
39
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
38
40
|
// Keep this to prevent legacy runtime `iconType` props from being forwarded to the anchor.
|
|
39
41
|
var _ref2 = rest,
|
|
@@ -63,13 +65,14 @@ var EuiHeaderLogo = exports.EuiHeaderLogo = function EuiHeaderLogo(_ref) {
|
|
|
63
65
|
"aria-label": iconTitle,
|
|
64
66
|
className: "euiHeaderLogo__icon",
|
|
65
67
|
size: "l",
|
|
66
|
-
type:
|
|
68
|
+
type: logoMono ? 'logoElasticMono' : 'logoElastic'
|
|
67
69
|
}), logoType === 'horizontal' && (0, _react2.jsx)(_elastic_logo_full.default, {
|
|
68
70
|
title: iconTitle,
|
|
69
71
|
style: {
|
|
70
72
|
maxHeight: euiTheme.size.l,
|
|
71
73
|
width: 'auto'
|
|
72
74
|
},
|
|
73
|
-
className: "euiHeaderLogo__image"
|
|
75
|
+
className: "euiHeaderLogo__image",
|
|
76
|
+
mono: logoMono
|
|
74
77
|
}));
|
|
75
78
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.icon = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _react2 = require("@emotion/react");
|
|
12
|
+
var _excluded = ["title", "titleId"];
|
|
13
|
+
/*
|
|
14
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
15
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
16
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
17
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
18
|
+
* Side Public License, v 1.
|
|
19
|
+
*/
|
|
20
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
21
|
+
var cache;
|
|
22
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, default: e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
23
|
+
var EuiIconLogoElasticMono = function EuiIconLogoElasticMono(_ref) {
|
|
24
|
+
var title = _ref.title,
|
|
25
|
+
titleId = _ref.titleId,
|
|
26
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: 32,
|
|
30
|
+
height: 32,
|
|
31
|
+
fill: "none",
|
|
32
|
+
viewBox: "0 0 32 32",
|
|
33
|
+
"aria-labelledby": titleId
|
|
34
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
|
+
id: titleId
|
|
36
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
+
fill: "currentColor",
|
|
38
|
+
d: "M31.934 16.665a6.28 6.28 0 0 0-4.157-5.927c.112-.565.168-1.14.168-1.716a9.019 9.019 0 0 0-16.334-5.28A4.789 4.789 0 0 0 4.19 9.198 6.37 6.37 0 0 0 0 15.148a6.29 6.29 0 0 0 4.176 5.945 9 9 0 0 0-.157 1.714 8.994 8.994 0 0 0 16.313 5.244 4.783 4.783 0 0 0 7.426-5.435 6.37 6.37 0 0 0 4.176-5.951m-19.57-11.96a7.884 7.884 0 0 1 14.229 6.005l-7.05 6.174-6.988-3.184-1.364-2.913zM8.83 3.921c.829 0 1.634.272 2.293.775l-1.057 5.442-4.788-1.132A3.79 3.79 0 0 1 8.83 3.921m-7.595 11.24a5.33 5.33 0 0 1 3.628-5.019l5.255 1.241 1.233 2.637-6.719 6.077a5.28 5.28 0 0 1-3.397-4.935m18.367 11.952a7.9 7.9 0 0 1-14.275-6.01l6.87-6.217 7.015 3.197 1.553 2.967zm3.51.784a3.75 3.75 0 0 1-2.282-.784l1.041-5.424 4.785 1.118a3.79 3.79 0 0 1-3.544 5.087zm3.96-6.229-5.268-1.231-1.4-2.667 6.89-6.036A5.27 5.27 0 0 1 30.7 16.66a5.33 5.33 0 0 1-3.629 5.005z"
|
|
39
|
+
}));
|
|
40
|
+
};
|
|
41
|
+
var icon = exports.icon = EuiIconLogoElasticMono;
|
|
@@ -33,7 +33,7 @@ var EuiIconMoon = function EuiIconMoon(_ref) {
|
|
|
33
33
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
34
34
|
id: titleId
|
|
35
35
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
36
|
-
d: "M4.
|
|
36
|
+
d: "M4.502 1.935a1 1 0 0 1 1.5.89L6 3a7 7 0 0 0 7.175 6.998 1 1 0 0 1 .89 1.5 7 7 0 1 1-9.563-9.562M2 8a6 6 0 0 0 11.198 2.998L13 11a8 8 0 0 1-7.998-8.2A6 6 0 0 0 2 8"
|
|
37
37
|
}));
|
|
38
38
|
};
|
|
39
39
|
var icon = exports.icon = EuiIconMoon;
|
|
@@ -33,9 +33,13 @@ var EuiIconProductNightshift = function EuiIconProductNightshift(_ref) {
|
|
|
33
33
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
34
34
|
id: titleId
|
|
35
35
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
36
|
-
d: "
|
|
36
|
+
d: "M4.502 1.935a1 1 0 0 1 1.5.89L6 3a7 7 0 0 0 7.175 6.998 1 1 0 0 1 .89 1.5 7 7 0 1 1-9.563-9.563M2 8a6 6 0 0 0 11.198 2.998L13 11a8 8 0 0 1-7.998-8.2A6 6 0 0 0 2 8"
|
|
37
37
|
}), (0, _react2.jsx)("path", {
|
|
38
|
-
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
d: "M13 1.5a.5.5 0 0 0-1 0c0 .42-.13 1.061-.506 1.583-.357.496-.957.917-1.994.917a.5.5 0 0 0 0 1c1.037 0 1.637.42 1.994.917C11.87 6.44 12 7.08 12 7.5a.5.5 0 0 0 1 0c0-.42.13-1.061.506-1.583.357-.496.957-.917 1.994-.917a.5.5 0 0 0 0-1c-1.037 0-1.637-.42-1.994-.917A2.85 2.85 0 0 1 13 1.5m.584 3a3.1 3.1 0 0 1-.89-.833 3 3 0 0 1-.194-.302 3 3 0 0 1-.194.302 3.1 3.1 0 0 1-.89.833 3.1 3.1 0 0 1 .89.833q.106.149.194.302.088-.153.194-.302a3.1 3.1 0 0 1 .89-.833",
|
|
40
|
+
clipRule: "evenodd"
|
|
41
|
+
}), (0, _react2.jsx)("path", {
|
|
42
|
+
d: "M7.99 2.4a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 0-.98l.2-.02A.5.5 0 0 0 8 .5a.5.5 0 0 1 1 0 .5.5 0 0 0 .4.49l.2.02a.5.5 0 0 1 0 .98l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.98 0z"
|
|
39
43
|
}));
|
|
40
44
|
};
|
|
41
45
|
var icon = exports.icon = EuiIconProductNightshift;
|
|
@@ -1973,6 +1973,13 @@ var typeToPathMap = exports.typeToPathMap = {
|
|
|
1973
1973
|
}, {
|
|
1974
1974
|
category: 'elasticLogo'
|
|
1975
1975
|
}),
|
|
1976
|
+
logoElasticMono: withMetadata(function () {
|
|
1977
|
+
return Promise.resolve().then(function () {
|
|
1978
|
+
return _interopRequireWildcard(require('./assets/logo_elastic_mono'));
|
|
1979
|
+
});
|
|
1980
|
+
}, {
|
|
1981
|
+
category: 'elasticLogo'
|
|
1982
|
+
}),
|
|
1976
1983
|
logoElasticStack: withMetadata(function () {
|
|
1977
1984
|
return Promise.resolve().then(function () {
|
|
1978
1985
|
return _interopRequireWildcard(require('./assets/logo_elastic_stack'));
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32">
|
|
2
|
+
<path fill="currentColor" d="M31.934 16.665a6.28 6.28 0 0 0-4.157-5.927c.112-.565.168-1.14.168-1.716a9.019 9.019 0 0 0-16.334-5.28A4.789 4.789 0 0 0 4.19 9.198 6.37 6.37 0 0 0 0 15.148a6.29 6.29 0 0 0 4.176 5.945 9 9 0 0 0-.157 1.714 8.994 8.994 0 0 0 16.313 5.244 4.783 4.783 0 0 0 7.426-5.435 6.37 6.37 0 0 0 4.176-5.951m-19.57-11.96a7.884 7.884 0 0 1 14.229 6.005l-7.05 6.174-6.988-3.184-1.364-2.913zM8.83 3.921c.829 0 1.634.272 2.293.775l-1.057 5.442-4.788-1.132A3.79 3.79 0 0 1 8.83 3.921m-7.595 11.24a5.33 5.33 0 0 1 3.628-5.019l5.255 1.241 1.233 2.637-6.719 6.077a5.28 5.28 0 0 1-3.397-4.935m18.367 11.952a7.9 7.9 0 0 1-14.275-6.01l6.87-6.217 7.015 3.197 1.553 2.967zm3.51.784a3.75 3.75 0 0 1-2.282-.784l1.041-5.424 4.785 1.118a3.79 3.79 0 0 1-3.544 5.087zm3.96-6.229-5.268-1.231-1.4-2.667 6.89-6.036A5.27 5.27 0 0 1 30.7 16.66a5.33 5.33 0 0 1-3.629 5.005z"/>
|
|
3
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<path d="M4.
|
|
3
|
-
</svg>
|
|
2
|
+
<path d="M4.502 1.935a1 1 0 0 1 1.5.89L6 3a7 7 0 0 0 7.175 6.998 1 1 0 0 1 .89 1.5 7 7 0 1 1-9.563-9.562M2 8a6 6 0 0 0 11.198 2.998L13 11a8 8 0 0 1-7.998-8.2A6 6 0 0 0 2 8"/>
|
|
3
|
+
</svg>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
4
|
-
|
|
2
|
+
<path d="M4.502 1.935a1 1 0 0 1 1.5.89L6 3a7 7 0 0 0 7.175 6.998 1 1 0 0 1 .89 1.5 7 7 0 1 1-9.563-9.563M2 8a6 6 0 0 0 11.198 2.998L13 11a8 8 0 0 1-7.998-8.2A6 6 0 0 0 2 8"/>
|
|
3
|
+
<path fill-rule="evenodd" d="M13 1.5a.5.5 0 0 0-1 0c0 .42-.13 1.061-.506 1.583-.357.496-.957.917-1.994.917a.5.5 0 0 0 0 1c1.037 0 1.637.42 1.994.917C11.87 6.44 12 7.08 12 7.5a.5.5 0 0 0 1 0c0-.42.13-1.061.506-1.583.357-.496.957-.917 1.994-.917a.5.5 0 0 0 0-1c-1.037 0-1.637-.42-1.994-.917A2.85 2.85 0 0 1 13 1.5m.584 3a3.1 3.1 0 0 1-.89-.833 3 3 0 0 1-.194-.302 3 3 0 0 1-.194.302 3.1 3.1 0 0 1-.89.833 3.1 3.1 0 0 1 .89.833q.106.149.194.302.088-.153.194-.302a3.1 3.1 0 0 1 .89-.833" clip-rule="evenodd"/>
|
|
4
|
+
<path d="M7.99 2.4a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 0-.98l.2-.02A.5.5 0 0 0 8 .5a.5.5 0 0 1 1 0 .5.5 0 0 0 .4.49l.2.02a.5.5 0 0 1 0 .98l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.98 0z"/>
|
|
5
|
+
</svg>
|
|
@@ -248,13 +248,13 @@ var EuiMarkdownEditor = exports.EuiMarkdownEditor = /*#__PURE__*/(0, _react.forw
|
|
|
248
248
|
currentHeight = _useState8[0],
|
|
249
249
|
setCurrentHeight = _useState8[1];
|
|
250
250
|
var _useState9 = (0, _react.useState)(0),
|
|
251
|
-
|
|
252
|
-
editorFooterHeight =
|
|
253
|
-
setEditorFooterHeight =
|
|
254
|
-
var
|
|
255
|
-
|
|
256
|
-
editorToolbarHeight =
|
|
257
|
-
setEditorToolbarHeight =
|
|
251
|
+
_useState0 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
252
|
+
editorFooterHeight = _useState0[0],
|
|
253
|
+
setEditorFooterHeight = _useState0[1];
|
|
254
|
+
var _useState1 = (0, _react.useState)(0),
|
|
255
|
+
_useState10 = (0, _slicedToArray2.default)(_useState1, 2),
|
|
256
|
+
editorToolbarHeight = _useState10[0],
|
|
257
|
+
setEditorToolbarHeight = _useState10[1];
|
|
258
258
|
var styles = (0, _services.useEuiMemoizedStyles)(_markdown_editor.euiMarkdownEditorStyles);
|
|
259
259
|
var cssStyles = [styles.euiMarkdownEditor, height === 'full' && styles.fullHeight];
|
|
260
260
|
var classes = (0, _classnames.default)('euiMarkdownEditor', {
|
|
@@ -28,6 +28,6 @@ var euiModalStyles = exports.euiModalStyles = function euiModalStyles(euiThemeCo
|
|
|
28
28
|
reverse: true,
|
|
29
29
|
borderAllInHighContrastMode: true
|
|
30
30
|
}), " inset-block-start:auto;};label:confirmation;"),
|
|
31
|
-
euiModal__closeIcon: /*#__PURE__*/(0, _react.css)("position:absolute;inset-inline-end:", euiTheme.size.
|
|
31
|
+
euiModal__closeIcon: /*#__PURE__*/(0, _react.css)("position:absolute;inset-inline-end:", euiTheme.size.m, ";inset-block-start:", euiTheme.size.m, ";z-index:3;;label:euiModal__closeIcon;")
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -17,7 +17,7 @@ var _global_styling = require("../../global_styling");
|
|
|
17
17
|
var euiModalBodyStyles = exports.euiModalBodyStyles = function euiModalBodyStyles(euiThemeContext) {
|
|
18
18
|
var euiTheme = euiThemeContext.euiTheme;
|
|
19
19
|
return {
|
|
20
|
-
euiModalBody: /*#__PURE__*/(0, _react.css)("flex-grow:1;overflow:hidden;display:flex;flex-direction:column;&:last-of-type .euiModalBody__overflow{padding-block-end:", euiTheme.size.l, ";};label:euiModalBody;"),
|
|
20
|
+
euiModalBody: /*#__PURE__*/(0, _react.css)("flex-grow:1;overflow:hidden;display:flex;flex-direction:column;&:first-of-type .euiModalBody__overflow{padding-block-start:", euiTheme.size.l, ";padding-inline-end:", euiTheme.size.xxl, ";}&:last-of-type .euiModalBody__overflow{padding-block-end:", euiTheme.size.l, ";};label:euiModalBody;"),
|
|
21
21
|
euiModalBody__overflow: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiYScrollWithShadows)(euiThemeContext), " padding-inline:", euiTheme.size.l, ";padding-block:", euiTheme.size.s, ";", (0, _global_styling.euiMaxBreakpoint)(euiThemeContext, 'm'), "{padding-block-end:", euiTheme.size.l, ";};label:euiModalBody__overflow;")
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -332,7 +332,7 @@ var FieldValueSelectionFilter = exports.FieldValueSelectionFilter = /*#__PURE__*
|
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
return (0, _react2.jsx)(_services.
|
|
335
|
+
return (0, _react2.jsx)(_services.RenderWithEuiStylesMemoizer, null, function (stylesMemoizer) {
|
|
336
336
|
return (0, _react2.jsx)(_popover.EuiPopover, {
|
|
337
337
|
button: button,
|
|
338
338
|
isOpen: _this3.state.popoverOpen,
|
|
@@ -340,7 +340,7 @@ var FieldValueSelectionFilter = exports.FieldValueSelectionFilter = /*#__PURE__*
|
|
|
340
340
|
panelPaddingSize: "none",
|
|
341
341
|
anchorPosition: "downCenter",
|
|
342
342
|
panelProps: {
|
|
343
|
-
css: (
|
|
343
|
+
css: stylesMemoizer(_filter_group2.euiFilterGroupStyles).euiFilterGroup__popoverPanel
|
|
344
344
|
}
|
|
345
345
|
}, (0, _react2.jsx)(_selectable.EuiSelectable, (0, _extends2.default)({
|
|
346
346
|
ref: _this3.selectableClassRef,
|
|
@@ -151,9 +151,9 @@ var EuiSearchBar = exports.EuiSearchBar = function EuiSearchBar(props) {
|
|
|
151
151
|
isHintVisibleState = _useState8[0],
|
|
152
152
|
setIsHintVisibleState = _useState8[1];
|
|
153
153
|
var _useState9 = (0, _react.useState)(props.query),
|
|
154
|
-
|
|
155
|
-
prevPropsQuery =
|
|
156
|
-
setPrevPropsQuery =
|
|
154
|
+
_useState0 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
155
|
+
prevPropsQuery = _useState0[0],
|
|
156
|
+
setPrevPropsQuery = _useState0[1];
|
|
157
157
|
if (props.query !== prevPropsQuery) {
|
|
158
158
|
var nextQuery = props.query;
|
|
159
159
|
var prevQuery = query;
|