@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
|
@@ -247,9 +247,9 @@ var HeaderAppMenu = function HeaderAppMenu() {
|
|
|
247
247
|
prefix: 'headerAppKeyPadMenu'
|
|
248
248
|
});
|
|
249
249
|
var _useState9 = useState(false),
|
|
250
|
-
|
|
251
|
-
isOpen =
|
|
252
|
-
setIsOpen =
|
|
250
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
251
|
+
isOpen = _useState0[0],
|
|
252
|
+
setIsOpen = _useState0[1];
|
|
253
253
|
var onMenuButtonClick = function onMenuButtonClick() {
|
|
254
254
|
setIsOpen(!isOpen);
|
|
255
255
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["title", "titleId"];
|
|
3
|
+
var _excluded = ["title", "titleId", "mono"];
|
|
4
4
|
/*
|
|
5
5
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
6
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -15,6 +15,7 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
|
15
15
|
var SvgElasticLogoFull = function SvgElasticLogoFull(_ref) {
|
|
16
16
|
var title = _ref.title,
|
|
17
17
|
titleId = _ref.titleId,
|
|
18
|
+
mono = _ref.mono,
|
|
18
19
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
20
|
var generatedTitleId = useGeneratedHtmlId();
|
|
20
21
|
var resolvedTitleId = title ? titleId !== null && titleId !== void 0 ? titleId : generatedTitleId : undefined;
|
|
@@ -27,7 +28,10 @@ var SvgElasticLogoFull = function SvgElasticLogoFull(_ref) {
|
|
|
27
28
|
"aria-labelledby": resolvedTitleId
|
|
28
29
|
}, props), title ? ___EmotionJSX("title", {
|
|
29
30
|
id: resolvedTitleId
|
|
30
|
-
}, title) : null,
|
|
31
|
+
}, title) : null, mono ? ___EmotionJSX("path", {
|
|
32
|
+
fill: "currentColor",
|
|
33
|
+
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"
|
|
34
|
+
}) : ___EmotionJSX("g", null, ___EmotionJSX("path", {
|
|
31
35
|
fillRule: "evenodd",
|
|
32
36
|
clipRule: "evenodd",
|
|
33
37
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["iconTitle", "href", "rel", "target", "className", "logoType"],
|
|
3
|
+
var _excluded = ["iconTitle", "href", "rel", "target", "className", "logoType", "logoMono"],
|
|
4
4
|
_excluded2 = ["iconType"];
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -28,6 +28,8 @@ export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
|
|
|
28
28
|
className = _ref.className,
|
|
29
29
|
_ref$logoType = _ref.logoType,
|
|
30
30
|
logoType = _ref$logoType === void 0 ? 'glyph' : _ref$logoType,
|
|
31
|
+
_ref$logoMono = _ref.logoMono,
|
|
32
|
+
logoMono = _ref$logoMono === void 0 ? false : _ref$logoMono,
|
|
31
33
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
32
34
|
// Keep this to prevent legacy runtime `iconType` props from being forwarded to the anchor.
|
|
33
35
|
var _ref2 = rest,
|
|
@@ -57,13 +59,14 @@ export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
|
|
|
57
59
|
"aria-label": iconTitle,
|
|
58
60
|
className: "euiHeaderLogo__icon",
|
|
59
61
|
size: "l",
|
|
60
|
-
type:
|
|
62
|
+
type: logoMono ? 'logoElasticMono' : 'logoElastic'
|
|
61
63
|
}), logoType === 'horizontal' && ___EmotionJSX(SvgElasticLogoFull, {
|
|
62
64
|
title: iconTitle,
|
|
63
65
|
style: {
|
|
64
66
|
maxHeight: euiTheme.size.l,
|
|
65
67
|
width: 'auto'
|
|
66
68
|
},
|
|
67
|
-
className: "euiHeaderLogo__image"
|
|
69
|
+
className: "euiHeaderLogo__image",
|
|
70
|
+
mono: logoMono
|
|
68
71
|
}));
|
|
69
72
|
};
|
|
@@ -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 EuiIconLogoElasticMono = function EuiIconLogoElasticMono(_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: 32,
|
|
23
|
+
height: 32,
|
|
24
|
+
fill: "none",
|
|
25
|
+
viewBox: "0 0 32 32",
|
|
26
|
+
"aria-labelledby": titleId
|
|
27
|
+
}, props), title ? ___EmotionJSX("title", {
|
|
28
|
+
id: titleId
|
|
29
|
+
}, title) : null, ___EmotionJSX("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
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"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
export var icon = EuiIconLogoElasticMono;
|
|
@@ -26,7 +26,7 @@ var EuiIconMoon = function EuiIconMoon(_ref) {
|
|
|
26
26
|
}, props), title ? ___EmotionJSX("title", {
|
|
27
27
|
id: titleId
|
|
28
28
|
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
-
d: "M4.
|
|
29
|
+
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"
|
|
30
30
|
}));
|
|
31
31
|
};
|
|
32
32
|
export var icon = EuiIconMoon;
|
|
@@ -26,9 +26,13 @@ var EuiIconProductNightshift = function EuiIconProductNightshift(_ref) {
|
|
|
26
26
|
}, props), title ? ___EmotionJSX("title", {
|
|
27
27
|
id: titleId
|
|
28
28
|
}, title) : null, ___EmotionJSX("path", {
|
|
29
|
-
d: "
|
|
29
|
+
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"
|
|
30
30
|
}), ___EmotionJSX("path", {
|
|
31
|
-
|
|
31
|
+
fillRule: "evenodd",
|
|
32
|
+
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",
|
|
33
|
+
clipRule: "evenodd"
|
|
34
|
+
}), ___EmotionJSX("path", {
|
|
35
|
+
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"
|
|
32
36
|
}));
|
|
33
37
|
};
|
|
34
38
|
export var icon = EuiIconProductNightshift;
|
|
@@ -1394,6 +1394,11 @@ export var typeToPathMap = {
|
|
|
1394
1394
|
}, {
|
|
1395
1395
|
category: 'elasticLogo'
|
|
1396
1396
|
}),
|
|
1397
|
+
logoElasticMono: withMetadata(function () {
|
|
1398
|
+
return import('./assets/logo_elastic_mono');
|
|
1399
|
+
}, {
|
|
1400
|
+
category: 'elasticLogo'
|
|
1401
|
+
}),
|
|
1397
1402
|
logoElasticStack: withMetadata(function () {
|
|
1398
1403
|
return import('./assets/logo_elastic_stack');
|
|
1399
1404
|
}, {
|
|
@@ -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>
|
|
@@ -241,13 +241,13 @@ export var EuiMarkdownEditor = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
241
241
|
currentHeight = _useState8[0],
|
|
242
242
|
setCurrentHeight = _useState8[1];
|
|
243
243
|
var _useState9 = useState(0),
|
|
244
|
-
|
|
245
|
-
editorFooterHeight =
|
|
246
|
-
setEditorFooterHeight =
|
|
247
|
-
var
|
|
248
|
-
|
|
249
|
-
editorToolbarHeight =
|
|
250
|
-
setEditorToolbarHeight =
|
|
244
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
245
|
+
editorFooterHeight = _useState0[0],
|
|
246
|
+
setEditorFooterHeight = _useState0[1];
|
|
247
|
+
var _useState1 = useState(0),
|
|
248
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
249
|
+
editorToolbarHeight = _useState10[0],
|
|
250
|
+
setEditorToolbarHeight = _useState10[1];
|
|
251
251
|
var styles = useEuiMemoizedStyles(euiMarkdownEditorStyles);
|
|
252
252
|
var cssStyles = [styles.euiMarkdownEditor, height === 'full' && styles.fullHeight];
|
|
253
253
|
var classes = classNames('euiMarkdownEditor', {
|
|
@@ -22,6 +22,6 @@ export var euiModalStyles = function euiModalStyles(euiThemeContext) {
|
|
|
22
22
|
reverse: true,
|
|
23
23
|
borderAllInHighContrastMode: true
|
|
24
24
|
}), " inset-block-start:auto;};label:confirmation;"),
|
|
25
|
-
euiModal__closeIcon: /*#__PURE__*/css("position:absolute;inset-inline-end:", euiTheme.size.
|
|
25
|
+
euiModal__closeIcon: /*#__PURE__*/css("position:absolute;inset-inline-end:", euiTheme.size.m, ";inset-block-start:", euiTheme.size.m, ";z-index:3;;label:euiModal__closeIcon;")
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -11,7 +11,7 @@ import { euiYScrollWithShadows, euiMaxBreakpoint } from '../../global_styling';
|
|
|
11
11
|
export var euiModalBodyStyles = function euiModalBodyStyles(euiThemeContext) {
|
|
12
12
|
var euiTheme = euiThemeContext.euiTheme;
|
|
13
13
|
return {
|
|
14
|
-
euiModalBody: /*#__PURE__*/css("flex-grow:1;overflow:hidden;display:flex;flex-direction:column;&:last-of-type .euiModalBody__overflow{padding-block-end:", euiTheme.size.l, ";};label:euiModalBody;"),
|
|
14
|
+
euiModalBody: /*#__PURE__*/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;"),
|
|
15
15
|
euiModalBody__overflow: /*#__PURE__*/css(euiYScrollWithShadows(euiThemeContext), " padding-inline:", euiTheme.size.l, ";padding-block:", euiTheme.size.s, ";", euiMaxBreakpoint(euiThemeContext, 'm'), "{padding-block-end:", euiTheme.size.l, ";};label:euiModalBody__overflow;")
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -19,7 +19,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
import React, { Component, createRef } from 'react';
|
|
22
|
-
import {
|
|
22
|
+
import { RenderWithEuiStylesMemoizer } from '../../../services';
|
|
23
23
|
import { isArray, isNil } from '../../../services/predicate';
|
|
24
24
|
import { EuiPopover, EuiPopoverTitle } from '../../popover';
|
|
25
25
|
import { EuiFilterButton } from '../../filter_group';
|
|
@@ -325,7 +325,7 @@ export var FieldValueSelectionFilter = /*#__PURE__*/function (_Component) {
|
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
return ___EmotionJSX(
|
|
328
|
+
return ___EmotionJSX(RenderWithEuiStylesMemoizer, null, function (stylesMemoizer) {
|
|
329
329
|
return ___EmotionJSX(EuiPopover, {
|
|
330
330
|
button: button,
|
|
331
331
|
isOpen: _this3.state.popoverOpen,
|
|
@@ -333,7 +333,7 @@ export var FieldValueSelectionFilter = /*#__PURE__*/function (_Component) {
|
|
|
333
333
|
panelPaddingSize: "none",
|
|
334
334
|
anchorPosition: "downCenter",
|
|
335
335
|
panelProps: {
|
|
336
|
-
css: euiFilterGroupStyles
|
|
336
|
+
css: stylesMemoizer(euiFilterGroupStyles).euiFilterGroup__popoverPanel
|
|
337
337
|
}
|
|
338
338
|
}, ___EmotionJSX(EuiSelectable, _extends({
|
|
339
339
|
ref: _this3.selectableClassRef,
|
|
@@ -133,9 +133,9 @@ export var EuiSearchBar = function EuiSearchBar(props) {
|
|
|
133
133
|
isHintVisibleState = _useState8[0],
|
|
134
134
|
setIsHintVisibleState = _useState8[1];
|
|
135
135
|
var _useState9 = useState(props.query),
|
|
136
|
-
|
|
137
|
-
prevPropsQuery =
|
|
138
|
-
setPrevPropsQuery =
|
|
136
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
137
|
+
prevPropsQuery = _useState0[0],
|
|
138
|
+
setPrevPropsQuery = _useState0[1];
|
|
139
139
|
if (props.query !== prevPropsQuery) {
|
|
140
140
|
var nextQuery = props.query;
|
|
141
141
|
var prevQuery = query;
|
|
@@ -368,10 +368,9 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
368
368
|
options = _this$props5.options,
|
|
369
369
|
_this$props5$visibleO = _this$props5.visibleOptions,
|
|
370
370
|
visibleOptions = _this$props5$visibleO === void 0 ? options : _this$props5$visibleO;
|
|
371
|
-
_this.props.setActiveOptionIndex(
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}), function () {
|
|
371
|
+
_this.props.setActiveOptionIndex(
|
|
372
|
+
// Match by identity, not label, as options can share the same label
|
|
373
|
+
visibleOptions.indexOf(option), function () {
|
|
375
374
|
if (option.checked === 'on' && allowExclusions) {
|
|
376
375
|
_this.onExcludeOption(option, event);
|
|
377
376
|
} else if (option.checked === 'on' || option.checked === 'off') {
|
|
@@ -475,18 +474,18 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
475
474
|
}, {
|
|
476
475
|
key: "componentDidUpdate",
|
|
477
476
|
value: function componentDidUpdate(prevProps) {
|
|
478
|
-
var _this$
|
|
479
|
-
isVirtualized = _this$
|
|
480
|
-
activeOptionIndex = _this$
|
|
481
|
-
visibleOptions = _this$
|
|
482
|
-
options = _this$
|
|
483
|
-
allowExclusions = _this$
|
|
484
|
-
showIcons = _this$
|
|
485
|
-
paddingSize = _this$
|
|
486
|
-
textWrap = _this$
|
|
487
|
-
onFocusBadge = _this$
|
|
488
|
-
searchable = _this$
|
|
489
|
-
singleSelection = _this$
|
|
477
|
+
var _this$props0 = this.props,
|
|
478
|
+
isVirtualized = _this$props0.isVirtualized,
|
|
479
|
+
activeOptionIndex = _this$props0.activeOptionIndex,
|
|
480
|
+
visibleOptions = _this$props0.visibleOptions,
|
|
481
|
+
options = _this$props0.options,
|
|
482
|
+
allowExclusions = _this$props0.allowExclusions,
|
|
483
|
+
showIcons = _this$props0.showIcons,
|
|
484
|
+
paddingSize = _this$props0.paddingSize,
|
|
485
|
+
textWrap = _this$props0.textWrap,
|
|
486
|
+
onFocusBadge = _this$props0.onFocusBadge,
|
|
487
|
+
searchable = _this$props0.searchable,
|
|
488
|
+
singleSelection = _this$props0.singleSelection;
|
|
490
489
|
if (prevProps.activeOptionIndex !== activeOptionIndex) {
|
|
491
490
|
var makeOptionId = this.props.makeOptionId;
|
|
492
491
|
if (this.listBoxRef && this.props.searchable !== true) {
|
|
@@ -539,37 +538,37 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
539
538
|
key: "render",
|
|
540
539
|
value: function render() {
|
|
541
540
|
var _this2 = this;
|
|
542
|
-
var _this$
|
|
543
|
-
className = _this$
|
|
544
|
-
options = _this$
|
|
545
|
-
searchValue = _this$
|
|
546
|
-
onOptionClick = _this$
|
|
547
|
-
renderOption = _this$
|
|
548
|
-
forcedHeight = _this$
|
|
549
|
-
windowProps = _this$
|
|
550
|
-
rowHeight = _this$
|
|
551
|
-
activeOptionIndex = _this$
|
|
552
|
-
makeOptionId = _this$
|
|
553
|
-
showIcons = _this$
|
|
554
|
-
singleSelection = _this$
|
|
555
|
-
visibleOptions = _this$
|
|
556
|
-
allowExclusions = _this$
|
|
557
|
-
bordered = _this$
|
|
558
|
-
paddingSize = _this$
|
|
559
|
-
searchable = _this$
|
|
560
|
-
onFocusBadge = _this$
|
|
561
|
-
listId = _this$
|
|
562
|
-
setActiveOptionIndex = _this$
|
|
563
|
-
ariaLabel = _this$
|
|
564
|
-
ariaLabelledby = _this$
|
|
565
|
-
ariaDescribedby = _this$
|
|
566
|
-
role = _this$
|
|
567
|
-
isPreFiltered = _this$
|
|
568
|
-
isVirtualized = _this$
|
|
569
|
-
textWrap = _this$
|
|
570
|
-
truncationProps = _this$
|
|
571
|
-
autoFocus = _this$
|
|
572
|
-
rest = _objectWithoutProperties(_this$
|
|
541
|
+
var _this$props1 = this.props,
|
|
542
|
+
className = _this$props1.className,
|
|
543
|
+
options = _this$props1.options,
|
|
544
|
+
searchValue = _this$props1.searchValue,
|
|
545
|
+
onOptionClick = _this$props1.onOptionClick,
|
|
546
|
+
renderOption = _this$props1.renderOption,
|
|
547
|
+
forcedHeight = _this$props1.height,
|
|
548
|
+
windowProps = _this$props1.windowProps,
|
|
549
|
+
rowHeight = _this$props1.rowHeight,
|
|
550
|
+
activeOptionIndex = _this$props1.activeOptionIndex,
|
|
551
|
+
makeOptionId = _this$props1.makeOptionId,
|
|
552
|
+
showIcons = _this$props1.showIcons,
|
|
553
|
+
singleSelection = _this$props1.singleSelection,
|
|
554
|
+
visibleOptions = _this$props1.visibleOptions,
|
|
555
|
+
allowExclusions = _this$props1.allowExclusions,
|
|
556
|
+
bordered = _this$props1.bordered,
|
|
557
|
+
paddingSize = _this$props1.paddingSize,
|
|
558
|
+
searchable = _this$props1.searchable,
|
|
559
|
+
onFocusBadge = _this$props1.onFocusBadge,
|
|
560
|
+
listId = _this$props1.listId,
|
|
561
|
+
setActiveOptionIndex = _this$props1.setActiveOptionIndex,
|
|
562
|
+
ariaLabel = _this$props1['aria-label'],
|
|
563
|
+
ariaLabelledby = _this$props1['aria-labelledby'],
|
|
564
|
+
ariaDescribedby = _this$props1['aria-describedby'],
|
|
565
|
+
role = _this$props1.role,
|
|
566
|
+
isPreFiltered = _this$props1.isPreFiltered,
|
|
567
|
+
isVirtualized = _this$props1.isVirtualized,
|
|
568
|
+
textWrap = _this$props1.textWrap,
|
|
569
|
+
truncationProps = _this$props1.truncationProps,
|
|
570
|
+
autoFocus = _this$props1.autoFocus,
|
|
571
|
+
rest = _objectWithoutProperties(_this$props1, _excluded3);
|
|
573
572
|
var heightIsFull = forcedHeight === 'full';
|
|
574
573
|
var classes = classNames('euiSelectableList', className);
|
|
575
574
|
return ___EmotionJSX(RenderWithEuiStylesMemoizer, null, function (stylesMemoizer) {
|
|
@@ -13,7 +13,7 @@ import classNames from 'classnames';
|
|
|
13
13
|
import React, { createElement } from 'react';
|
|
14
14
|
import { EuiTitle } from '../title';
|
|
15
15
|
import { EuiStepNumber } from './step_number';
|
|
16
|
-
import {
|
|
16
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
17
17
|
import { euiStepStyles, euiStepContentStyles, euiStepTitleStyles } from './step.styles';
|
|
18
18
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
19
|
export var EuiStep = function EuiStep(_ref) {
|
|
@@ -29,12 +29,11 @@ export var EuiStep = function EuiStep(_ref) {
|
|
|
29
29
|
status = _ref.status,
|
|
30
30
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
31
|
var classes = classNames('euiStep', className);
|
|
32
|
-
var
|
|
33
|
-
var styles = euiStepStyles(euiTheme);
|
|
32
|
+
var styles = useEuiMemoizedStyles(euiStepStyles);
|
|
34
33
|
var cssStyles = [styles.euiStep, styles[titleSize]];
|
|
35
|
-
var contentStyles = euiStepContentStyles
|
|
34
|
+
var contentStyles = useEuiMemoizedStyles(euiStepContentStyles);
|
|
36
35
|
var cssContentStyles = [contentStyles.euiStep__content, contentStyles[titleSize]];
|
|
37
|
-
var titleStyles = euiStepTitleStyles
|
|
36
|
+
var titleStyles = useEuiMemoizedStyles(euiStepTitleStyles);
|
|
38
37
|
var cssStepTitleStyles = [titleStyles.euiStep__title, status === 'disabled' && titleStyles.isDisabled, titleStyles[titleSize]];
|
|
39
38
|
var cssTitleWrapperStyles = titleStyles.euiStep__titleWrapper;
|
|
40
39
|
return ___EmotionJSX("div", _extends({
|
|
@@ -11,6 +11,7 @@ var _excluded = ["className", "steps", "size"];
|
|
|
11
11
|
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import React from 'react';
|
|
14
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
14
15
|
import { EuiStepHorizontal } from './step_horizontal';
|
|
15
16
|
import { euiStepsHorizontalStyles } from './steps_horizontal.styles';
|
|
16
17
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
@@ -22,7 +23,7 @@ export var EuiStepsHorizontal = function EuiStepsHorizontal(_ref) {
|
|
|
22
23
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
23
24
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
24
25
|
var classes = classNames('euiStepsHorizontal', className);
|
|
25
|
-
var styles = euiStepsHorizontalStyles
|
|
26
|
+
var styles = useEuiMemoizedStyles(euiStepsHorizontalStyles);
|
|
26
27
|
var cssStyles = styles.euiStepsHorizontal;
|
|
27
28
|
var cssItemStyles = styles.euiStepsHorizontal__item;
|
|
28
29
|
return ___EmotionJSX("ol", _extends({
|
|
@@ -11,7 +11,7 @@ var _excluded = ["children", "className"];
|
|
|
11
11
|
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
|
-
import {
|
|
14
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
15
15
|
import { euiSubStepsStyles } from './sub_steps.styles';
|
|
16
16
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
17
17
|
export var EuiSubSteps = function EuiSubSteps(_ref) {
|
|
@@ -19,8 +19,7 @@ export var EuiSubSteps = function EuiSubSteps(_ref) {
|
|
|
19
19
|
className = _ref.className,
|
|
20
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
21
|
var classes = classNames('euiSubSteps', className);
|
|
22
|
-
var
|
|
23
|
-
var styles = euiSubStepsStyles(euiTheme);
|
|
22
|
+
var styles = useEuiMemoizedStyles(euiSubStepsStyles);
|
|
24
23
|
var cssStyles = [styles.euiSubSteps];
|
|
25
24
|
return ___EmotionJSX("div", _extends({
|
|
26
25
|
className: classes,
|
|
@@ -94,13 +94,13 @@ export var EuiToolTip = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
94
94
|
calculatedPosition = _useState8[0],
|
|
95
95
|
setCalculatedPosition = _useState8[1];
|
|
96
96
|
var _useState9 = useState(DEFAULT_TOOLTIP_STYLES),
|
|
97
|
-
|
|
98
|
-
toolTipStyles =
|
|
99
|
-
setToolTipStyles =
|
|
100
|
-
var
|
|
101
|
-
|
|
102
|
-
arrowStyles =
|
|
103
|
-
setArrowStyles =
|
|
97
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
98
|
+
toolTipStyles = _useState0[0],
|
|
99
|
+
setToolTipStyles = _useState0[1];
|
|
100
|
+
var _useState1 = useState(undefined),
|
|
101
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
102
|
+
arrowStyles = _useState10[0],
|
|
103
|
+
setArrowStyles = _useState10[1];
|
|
104
104
|
var generatedId = useGeneratedHtmlId();
|
|
105
105
|
var id = idProp !== null && idProp !== void 0 ? idProp : generatedId;
|
|
106
106
|
var anchorRef = useRef(null);
|
|
@@ -8,8 +8,8 @@ declare module '@elastic/eui/optimize/es/test/required_props' {
|
|
|
8
8
|
|
|
9
9
|
}
|
|
10
10
|
declare module '@elastic/eui/optimize/es/test/take_mounted_snapshot' {
|
|
11
|
-
import { ReactWrapper } from 'enzyme';
|
|
12
|
-
import { Component } from 'react';
|
|
11
|
+
import type { ReactWrapper } from 'enzyme';
|
|
12
|
+
import type { Component } from 'react';
|
|
13
13
|
interface TakeMountedSnapshotOptions {
|
|
14
14
|
hasArrayOutput?: boolean;
|
|
15
15
|
}
|
|
@@ -24,7 +24,7 @@ declare module '@elastic/eui/optimize/es/test/take_mounted_snapshot' {
|
|
|
24
24
|
|
|
25
25
|
}
|
|
26
26
|
declare module '@elastic/eui/optimize/es/test/find_test_subject' {
|
|
27
|
-
import { ReactWrapper, ShallowWrapper } from 'enzyme'; const MATCHERS: readonly ["=", "~=", "|=", "^=", "$=", "*="];
|
|
27
|
+
import type { ReactWrapper, ShallowWrapper } from 'enzyme'; const MATCHERS: readonly ["=", "~=", "|=", "^=", "$=", "*="];
|
|
28
28
|
type FindTestSubject<T extends ShallowWrapper | ReactWrapper> = (mountedComponent: T, testSubjectSelector: string, matcher?: (typeof MATCHERS)[number]) => ReturnType<T['find']>;
|
|
29
29
|
export const findTestSubject: FindTestSubject<ShallowWrapper<any> | ReactWrapper<any>>;
|
|
30
30
|
export {};
|
|
@@ -20,7 +20,7 @@ var _excluded = ["children", "className", "size", "color"];
|
|
|
20
20
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
21
21
|
* Side Public License, v 1.
|
|
22
22
|
*/
|
|
23
|
-
var COLORS = exports.COLORS = ['accent', 'subdued', 'success'];
|
|
23
|
+
var COLORS = exports.COLORS = ['accent', 'primary', 'subdued', 'success'];
|
|
24
24
|
var SIZES = exports.SIZES = ['s', 'm'];
|
|
25
25
|
var EuiNotificationBadge = exports.EuiNotificationBadge = function EuiNotificationBadge(_ref) {
|
|
26
26
|
var children = _ref.children,
|
|
@@ -31,6 +31,7 @@ var euiNotificationBadgeStyles = exports.euiNotificationBadgeStyles = function e
|
|
|
31
31
|
m: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', sizeM), " ", (0, _global_styling.logicalCSS)('min-width', sizeM), " border-radius:", euiTheme.border.radius.control, ";;label:m;"),
|
|
32
32
|
// Colors
|
|
33
33
|
accent: /*#__PURE__*/(0, _react.css)(badgeColors.accentText, ";label:accent;"),
|
|
34
|
+
primary: /*#__PURE__*/(0, _react.css)(badgeColors.fill.primary, ";label:primary;"),
|
|
34
35
|
success: /*#__PURE__*/(0, _react.css)(badgeColors.fill.success, ";label:success;"),
|
|
35
36
|
subdued: /*#__PURE__*/(0, _react.css)(badgeColors.subdued, ";label:subdued;")
|
|
36
37
|
};
|
|
@@ -616,10 +616,10 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
616
616
|
items: items,
|
|
617
617
|
pagination: pagination
|
|
618
618
|
});
|
|
619
|
-
var
|
|
620
|
-
mobileOptions =
|
|
621
|
-
field =
|
|
622
|
-
align =
|
|
619
|
+
var _ref0 = column,
|
|
620
|
+
mobileOptions = _ref0.mobileOptions,
|
|
621
|
+
field = _ref0.field,
|
|
622
|
+
align = _ref0.align;
|
|
623
623
|
if (mobileOptions !== null && mobileOptions !== void 0 && mobileOptions.only) {
|
|
624
624
|
return; // exclude columns that only exist for mobile headers
|
|
625
625
|
}
|
|
@@ -706,11 +706,11 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
706
706
|
key: "renderItemRow",
|
|
707
707
|
value: function renderItemRow(item, rowIndex, displayedRowIndex) {
|
|
708
708
|
var _this5 = this;
|
|
709
|
-
var _this$
|
|
710
|
-
columns = _this$
|
|
711
|
-
selection = _this$
|
|
712
|
-
rowHeader = _this$
|
|
713
|
-
itemIdToExpandedRowMap = _this$
|
|
709
|
+
var _this$props0 = this.props,
|
|
710
|
+
columns = _this$props0.columns,
|
|
711
|
+
selection = _this$props0.selection,
|
|
712
|
+
rowHeader = _this$props0.rowHeader,
|
|
713
|
+
itemIdToExpandedRowMap = _this$props0.itemIdToExpandedRowMap;
|
|
714
714
|
var cells = [];
|
|
715
715
|
var itemIdCallback = this.props.itemId;
|
|
716
716
|
var itemId = getItemId(item, itemIdCallback) != null ? getItemId(item, itemIdCallback) : rowIndex;
|
|
@@ -913,20 +913,20 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
913
913
|
key: "renderItemCell",
|
|
914
914
|
value: function renderItemCell(item, column, columnIndex, key, content, setScopeRow) {
|
|
915
915
|
var _mobileOptions$render, _mobileOptions$header;
|
|
916
|
-
var
|
|
917
|
-
align =
|
|
918
|
-
render =
|
|
919
|
-
dataType =
|
|
920
|
-
isExpander =
|
|
921
|
-
textOnly =
|
|
922
|
-
name =
|
|
923
|
-
field =
|
|
924
|
-
description =
|
|
925
|
-
sortable =
|
|
926
|
-
footer =
|
|
927
|
-
mobileOptions =
|
|
928
|
-
nameTooltip =
|
|
929
|
-
rest = (0, _objectWithoutProperties2.default)(
|
|
916
|
+
var _ref1 = column,
|
|
917
|
+
align = _ref1.align,
|
|
918
|
+
render = _ref1.render,
|
|
919
|
+
dataType = _ref1.dataType,
|
|
920
|
+
isExpander = _ref1.isExpander,
|
|
921
|
+
textOnly = _ref1.textOnly,
|
|
922
|
+
name = _ref1.name,
|
|
923
|
+
field = _ref1.field,
|
|
924
|
+
description = _ref1.description,
|
|
925
|
+
sortable = _ref1.sortable,
|
|
926
|
+
footer = _ref1.footer,
|
|
927
|
+
mobileOptions = _ref1.mobileOptions,
|
|
928
|
+
nameTooltip = _ref1.nameTooltip,
|
|
929
|
+
rest = (0, _objectWithoutProperties2.default)(_ref1, _excluded2);
|
|
930
930
|
var columnAlign = align || this.getAlignForDataType(dataType);
|
|
931
931
|
var cellPropsCallback = this.props.cellProps;
|
|
932
932
|
var cellProps = getCellProps(item, column, cellPropsCallback);
|
|
@@ -968,13 +968,13 @@ var EuiBasicTable = exports.EuiBasicTable = /*#__PURE__*/function (_Component) {
|
|
|
968
968
|
key: "renderPaginationBar",
|
|
969
969
|
value: function renderPaginationBar() {
|
|
970
970
|
var _this7 = this;
|
|
971
|
-
var _this$
|
|
972
|
-
error = _this$
|
|
973
|
-
pagination = _this$
|
|
974
|
-
tableCaption = _this$
|
|
975
|
-
onChange = _this$
|
|
976
|
-
panelled = _this$
|
|
977
|
-
responsiveBreakpoint = _this$
|
|
971
|
+
var _this$props1 = this.props,
|
|
972
|
+
error = _this$props1.error,
|
|
973
|
+
pagination = _this$props1.pagination,
|
|
974
|
+
tableCaption = _this$props1.tableCaption,
|
|
975
|
+
onChange = _this$props1.onChange,
|
|
976
|
+
panelled = _this$props1.panelled,
|
|
977
|
+
responsiveBreakpoint = _this$props1.responsiveBreakpoint;
|
|
978
978
|
if (!error && pagination && pagination.totalItemCount > 0) {
|
|
979
979
|
if (!onChange) {
|
|
980
980
|
throw new Error("The Basic Table is configured with pagination but [onChange] is\n not configured. This callback must be implemented to handle pagination changes");
|