@elastic/eui 61.0.0 → 62.0.2
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_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +11 -487
- package/dist/eui_theme_dark.json +1 -2
- package/dist/eui_theme_dark.json.d.ts +1 -2
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +11 -487
- package/dist/eui_theme_light.json +1 -2
- package/dist/eui_theme_light.json.d.ts +1 -2
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +1 -1
- package/es/components/avatar/avatar.js +1 -2
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button.js +2 -2
- package/es/components/button/button_display/_button_display.js +1 -1
- 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_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/card/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/color_picker/color_picker.js +1 -1
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
- package/es/components/comment_list/comment.js +17 -8
- package/es/components/comment_list/comment_event.js +24 -30
- package/es/components/comment_list/comment_event.styles.js +15 -16
- package/es/components/comment_list/comment_list.js +12 -4
- package/es/components/comment_list/comment_timeline.js +20 -14
- package/es/components/context_menu/context_menu_panel.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +13 -13
- package/es/components/datagrid/body/data_grid_cell.js +24 -24
- package/es/components/datagrid/body/header/data_grid_header_cell.js +164 -68
- package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +13 -13
- package/es/components/datagrid/utils/in_memory.js +12 -12
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/error_boundary/error_boundary.js +18 -11
- package/es/components/error_boundary/error_boundary.styles.js +18 -0
- package/es/components/filter_group/filter_button.js +3 -1
- package/es/components/focus_trap/focus_trap.js +1 -0
- package/es/components/form/field_number/field_number.js +1 -1
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form.styles.js +11 -0
- 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_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +10 -8
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/assets/tokenMetricCounter.js +38 -0
- package/es/components/icon/assets/tokenMetricGauge.js +38 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +38 -36
- package/es/components/image/image.js +71 -166
- package/es/components/image/image.styles.js +28 -0
- package/es/components/image/image_button.js +68 -0
- package/es/components/image/image_button.styles.js +41 -0
- package/es/components/image/image_caption.js +28 -0
- package/es/components/image/image_caption.styles.js +18 -0
- package/es/components/image/image_fullscreen_wrapper.js +100 -0
- package/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
- package/es/components/image/image_types.js +10 -0
- package/es/components/image/image_wrapper.js +78 -0
- package/es/components/image/image_wrapper.styles.js +41 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/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 +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_template.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/popover/input_popover.js +8 -4
- package/es/components/popover/popover.js +58 -148
- package/es/components/popover/popover.styles.js +15 -0
- package/es/components/popover/popover_arrow/_popover_arrow.js +40 -0
- package/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
- package/es/components/popover/popover_arrow/index.js +8 -0
- package/es/components/popover/popover_footer.js +15 -12
- package/es/components/popover/popover_footer.styles.js +19 -0
- package/es/components/popover/popover_panel/_popover_panel.js +114 -0
- package/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
- package/es/components/popover/popover_panel/index.js +8 -0
- package/es/components/popover/popover_title.js +15 -12
- package/es/components/popover/popover_title.styles.js +20 -0
- package/es/components/popover/wrapping_popover.js +45 -88
- package/es/components/portal/portal.js +38 -79
- package/es/components/selectable/selectable.js +8 -9
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_search/selectable_search.js +1 -6
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/es/components/suggest/suggest.js +1 -5
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/text/text.styles.js +1 -1
- package/es/components/text_diff/text_diff.js +5 -0
- package/es/components/text_diff/text_diff.styles.js +15 -0
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/token/token.js +1 -1
- package/es/components/token/token_map.js +115 -107
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/es/components/tour/tour.js +6 -6
- package/es/components/tour/tour_step.js +6 -6
- package/es/global_styling/functions/logicals.js +22 -0
- package/es/global_styling/mixins/_responsive.js +46 -0
- package/es/global_styling/mixins/index.js +2 -1
- package/es/test/rtl/component_helpers.d.ts +7 -0
- package/es/test/rtl/component_helpers.js +72 -0
- package/es/test/rtl/custom_render.d.ts +74 -0
- package/es/test/rtl/custom_render.js +52 -0
- package/es/test/rtl/data_test_subj_queries.d.ts +5 -0
- package/es/test/rtl/data_test_subj_queries.js +46 -0
- package/es/test/rtl/index.d.ts +3 -0
- package/es/test/rtl/index.js +10 -0
- package/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/eui.d.ts +501 -125
- package/i18ntokens.json +134 -38
- package/lib/components/accessibility/skip_link/skip_link.js +1 -1
- package/lib/components/avatar/avatar.js +1 -2
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button.js +2 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- 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_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/card/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/color_picker/color_picker.js +1 -1
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/lib/components/comment_list/comment.js +17 -8
- package/lib/components/comment_list/comment_event.js +31 -28
- package/lib/components/comment_list/comment_event.styles.js +15 -16
- package/lib/components/comment_list/comment_list.js +12 -4
- package/lib/components/comment_list/comment_timeline.js +27 -14
- package/lib/components/context_menu/context_menu_panel.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +13 -13
- package/lib/components/datagrid/body/data_grid_cell.js +24 -24
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +166 -67
- package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +13 -13
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/error_boundary/error_boundary.js +23 -13
- package/lib/components/error_boundary/error_boundary.styles.js +30 -0
- package/lib/components/filter_group/filter_button.js +3 -1
- package/lib/components/focus_trap/focus_trap.js +1 -0
- package/lib/components/form/field_number/field_number.js +1 -1
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form.styles.js +20 -0
- 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_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +10 -8
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/assets/tokenMetricCounter.js +45 -0
- package/lib/components/icon/assets/tokenMetricGauge.js +45 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +38 -36
- package/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
- package/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
- package/lib/components/image/image.js +73 -168
- package/lib/components/image/image.styles.js +40 -0
- package/lib/components/image/image_button.js +81 -0
- package/lib/components/image/image_button.styles.js +48 -0
- package/lib/components/image/image_caption.js +49 -0
- package/lib/components/image/image_caption.styles.js +30 -0
- package/lib/components/image/image_fullscreen_wrapper.js +117 -0
- package/lib/components/image/image_fullscreen_wrapper.styles.js +30 -0
- package/lib/components/image/image_types.js +18 -0
- package/lib/components/image/image_wrapper.js +91 -0
- package/lib/components/image/image_wrapper.styles.js +44 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/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 +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_template.js +1 -1
- package/lib/components/popover/input_popover.js +8 -3
- package/lib/components/popover/popover.js +74 -165
- package/lib/components/popover/popover.styles.js +26 -0
- package/lib/components/popover/popover_arrow/_popover_arrow.js +51 -0
- package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/lib/components/popover/popover_arrow/index.js +13 -0
- package/lib/components/popover/popover_footer.js +25 -15
- package/lib/components/popover/popover_footer.styles.js +30 -0
- package/lib/components/popover/popover_panel/_popover_panel.js +132 -0
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/lib/components/popover/popover_panel/index.js +13 -0
- package/lib/components/popover/popover_title.js +25 -15
- package/lib/components/popover/popover_title.styles.js +32 -0
- package/lib/components/popover/wrapping_popover.js +44 -85
- package/lib/components/portal/portal.js +39 -82
- package/lib/components/selectable/selectable.js +8 -9
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_search/selectable_search.js +0 -5
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/lib/components/suggest/suggest.js +1 -5
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/text/text.styles.js +1 -1
- package/lib/components/text_diff/text_diff.js +7 -0
- package/lib/components/text_diff/text_diff.styles.js +25 -0
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/token/token.js +1 -1
- package/lib/components/token/token_map.js +115 -107
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/lib/global_styling/functions/logicals.js +30 -2
- package/lib/global_styling/mixins/_responsive.js +60 -0
- package/lib/global_styling/mixins/index.js +13 -0
- package/lib/test/rtl/component_helpers.d.ts +7 -0
- package/lib/test/rtl/component_helpers.js +77 -0
- package/lib/test/rtl/custom_render.d.ts +74 -0
- package/lib/test/rtl/custom_render.js +60 -0
- package/lib/test/rtl/data_test_subj_queries.d.ts +5 -0
- package/lib/test/rtl/data_test_subj_queries.js +52 -0
- package/lib/test/rtl/index.d.ts +3 -0
- package/lib/test/rtl/index.js +81 -0
- package/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/optimize/es/components/avatar/avatar.js +0 -1
- package/optimize/es/components/color_picker/color_picker.js +1 -1
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
- package/optimize/es/components/comment_list/comment.js +5 -4
- package/optimize/es/components/comment_list/comment_event.js +22 -28
- package/optimize/es/components/comment_list/comment_event.styles.js +15 -16
- package/optimize/es/components/comment_list/comment_timeline.js +10 -11
- package/optimize/es/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +150 -54
- package/optimize/es/components/error_boundary/error_boundary.js +17 -10
- package/optimize/es/components/error_boundary/error_boundary.styles.js +18 -0
- package/optimize/es/components/filter_group/filter_button.js +3 -1
- package/optimize/es/components/focus_trap/focus_trap.js +1 -0
- package/optimize/es/components/form/form.styles.js +11 -0
- package/optimize/es/components/icon/assets/tokenMetricCounter.js +34 -0
- package/optimize/es/components/icon/assets/tokenMetricGauge.js +34 -0
- package/optimize/es/components/icon/icon_map.js +38 -36
- package/optimize/es/components/image/image.js +50 -154
- package/optimize/es/components/image/image.styles.js +28 -0
- package/optimize/es/components/image/image_button.js +56 -0
- package/optimize/es/components/image/image_button.styles.js +41 -0
- package/optimize/es/components/image/image_caption.js +24 -0
- package/optimize/es/components/image/image_caption.styles.js +18 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.js +84 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
- package/optimize/es/components/image/image_types.js +10 -0
- package/optimize/es/components/image/image_wrapper.js +62 -0
- package/optimize/es/components/image/image_wrapper.styles.js +41 -0
- package/optimize/es/components/popover/input_popover.js +8 -4
- package/optimize/es/components/popover/popover.js +41 -131
- package/optimize/es/components/popover/popover.styles.js +15 -0
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +29 -0
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
- package/optimize/es/components/popover/popover_arrow/index.js +8 -0
- package/optimize/es/components/popover/popover_footer.js +15 -12
- package/optimize/es/components/popover/popover_footer.styles.js +19 -0
- package/optimize/es/components/popover/popover_panel/_popover_panel.js +55 -0
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
- package/optimize/es/components/popover/popover_panel/index.js +8 -0
- package/optimize/es/components/popover/popover_title.js +15 -12
- package/optimize/es/components/popover/popover_title.styles.js +20 -0
- package/optimize/es/components/popover/wrapping_popover.js +38 -79
- package/optimize/es/components/portal/portal.js +34 -61
- package/optimize/es/components/selectable/selectable.js +8 -9
- package/optimize/es/components/selectable/selectable_search/selectable_search.js +1 -6
- package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/optimize/es/components/suggest/suggest.js +0 -4
- package/optimize/es/components/text/text.styles.js +1 -1
- package/optimize/es/components/text_diff/text_diff.js +5 -0
- package/optimize/es/components/text_diff/text_diff.styles.js +15 -0
- package/optimize/es/components/token/token_map.js +115 -107
- package/optimize/es/global_styling/functions/logicals.js +22 -0
- package/optimize/es/global_styling/mixins/_responsive.js +46 -0
- package/optimize/es/global_styling/mixins/index.js +2 -1
- package/optimize/es/test/rtl/component_helpers.d.ts +7 -0
- package/optimize/es/test/rtl/component_helpers.js +71 -0
- package/optimize/es/test/rtl/custom_render.d.ts +74 -0
- package/optimize/es/test/rtl/custom_render.js +48 -0
- package/optimize/es/test/rtl/data_test_subj_queries.d.ts +5 -0
- package/optimize/es/test/rtl/data_test_subj_queries.js +36 -0
- package/optimize/es/test/rtl/index.d.ts +3 -0
- package/optimize/es/test/rtl/index.js +10 -0
- package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/optimize/lib/components/avatar/avatar.js +0 -1
- package/optimize/lib/components/color_picker/color_picker.js +1 -1
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/optimize/lib/components/comment_list/comment.js +5 -4
- package/optimize/lib/components/comment_list/comment_event.js +22 -26
- package/optimize/lib/components/comment_list/comment_event.styles.js +15 -16
- package/optimize/lib/components/comment_list/comment_timeline.js +10 -11
- package/optimize/lib/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +153 -54
- package/optimize/lib/components/error_boundary/error_boundary.js +20 -10
- package/optimize/lib/components/error_boundary/error_boundary.styles.js +30 -0
- package/optimize/lib/components/filter_group/filter_button.js +3 -1
- package/optimize/lib/components/focus_trap/focus_trap.js +1 -0
- package/optimize/lib/components/form/form.styles.js +20 -0
- package/optimize/lib/components/icon/assets/tokenMetricCounter.js +44 -0
- package/optimize/lib/components/icon/assets/tokenMetricGauge.js +44 -0
- package/optimize/lib/components/icon/icon_map.js +38 -36
- package/optimize/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
- package/optimize/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
- package/optimize/lib/components/image/image.js +52 -156
- package/optimize/lib/components/image/image.styles.js +40 -0
- package/optimize/lib/components/image/image_button.js +68 -0
- package/optimize/lib/components/image/image_button.styles.js +48 -0
- package/optimize/lib/components/image/image_caption.js +42 -0
- package/optimize/lib/components/image/image_caption.styles.js +30 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +108 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.styles.js +32 -0
- package/optimize/lib/components/image/image_types.js +18 -0
- package/optimize/lib/components/image/image_wrapper.js +82 -0
- package/optimize/lib/components/image/image_wrapper.styles.js +44 -0
- package/optimize/lib/components/popover/input_popover.js +7 -3
- package/optimize/lib/components/popover/popover.js +60 -150
- package/optimize/lib/components/popover/popover.styles.js +26 -0
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +39 -0
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/optimize/lib/components/popover/popover_arrow/index.js +13 -0
- package/optimize/lib/components/popover/popover_footer.js +26 -14
- package/optimize/lib/components/popover/popover_footer.styles.js +30 -0
- package/optimize/lib/components/popover/popover_panel/_popover_panel.js +74 -0
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/optimize/lib/components/popover/popover_panel/index.js +13 -0
- package/optimize/lib/components/popover/popover_title.js +26 -14
- package/optimize/lib/components/popover/popover_title.styles.js +32 -0
- package/optimize/lib/components/popover/wrapping_popover.js +38 -78
- package/optimize/lib/components/portal/portal.js +45 -61
- package/optimize/lib/components/selectable/selectable.js +8 -8
- package/optimize/lib/components/selectable/selectable_search/selectable_search.js +0 -5
- package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/optimize/lib/components/suggest/suggest.js +0 -4
- package/optimize/lib/components/text/text.styles.js +1 -1
- package/optimize/lib/components/text_diff/text_diff.js +7 -0
- package/optimize/lib/components/text_diff/text_diff.styles.js +25 -0
- package/optimize/lib/components/token/token_map.js +115 -107
- package/optimize/lib/global_styling/functions/logicals.js +30 -2
- package/optimize/lib/global_styling/mixins/_responsive.js +60 -0
- package/optimize/lib/global_styling/mixins/index.js +13 -0
- package/optimize/lib/test/rtl/component_helpers.d.ts +7 -0
- package/optimize/lib/test/rtl/component_helpers.js +87 -0
- package/optimize/lib/test/rtl/custom_render.d.ts +74 -0
- package/optimize/lib/test/rtl/custom_render.js +59 -0
- package/optimize/lib/test/rtl/data_test_subj_queries.d.ts +5 -0
- package/optimize/lib/test/rtl/data_test_subj_queries.js +51 -0
- package/optimize/lib/test/rtl/index.d.ts +3 -0
- package/optimize/lib/test/rtl/index.js +81 -0
- package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/package.json +8 -2
- package/src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss +0 -4
- package/src/components/context_menu/_context_menu_panel.scss +2 -2
- package/src/components/index.scss +0 -4
- package/src/components/tour/_tour.scss +13 -9
- package/src/global_styling/mixins/_index.scss +0 -1
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -2
- package/src/themes/amsterdam/overrides/_index.scss +0 -2
- package/test-env/components/accessibility/skip_link/skip_link.js +1 -1
- package/test-env/components/avatar/avatar.js +1 -2
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button.js +2 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- 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_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/card/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/color_picker/color_picker.js +1 -1
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/test-env/components/comment_list/comment.js +17 -8
- package/test-env/components/comment_list/comment_event.js +24 -28
- package/test-env/components/comment_list/comment_event.styles.js +15 -16
- package/test-env/components/comment_list/comment_list.js +12 -4
- package/test-env/components/comment_list/comment_timeline.js +20 -14
- package/test-env/components/context_menu/context_menu_panel.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +13 -13
- package/test-env/components/datagrid/body/data_grid_cell.js +24 -24
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +166 -67
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +13 -13
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/error_boundary/error_boundary.js +23 -13
- package/test-env/components/error_boundary/error_boundary.styles.js +30 -0
- package/test-env/components/filter_group/filter_button.js +3 -1
- package/test-env/components/form/field_number/field_number.js +1 -1
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form.styles.js +20 -0
- 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_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +10 -8
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/assets/tokenMetricCounter.js +44 -0
- package/test-env/components/icon/assets/tokenMetricGauge.js +44 -0
- package/test-env/components/icon/icon_map.js +38 -36
- package/test-env/components/image/image.js +73 -168
- package/test-env/components/image/image.styles.js +40 -0
- package/test-env/components/image/image_button.js +77 -0
- package/test-env/components/image/image_button.styles.js +48 -0
- package/test-env/components/image/image_caption.js +49 -0
- package/test-env/components/image/image_caption.styles.js +30 -0
- package/test-env/components/image/image_fullscreen_wrapper.js +114 -0
- package/test-env/components/image/image_fullscreen_wrapper.styles.js +32 -0
- package/test-env/components/image/image_types.js +18 -0
- package/test-env/components/image/image_wrapper.js +88 -0
- package/test-env/components/image/image_wrapper.styles.js +44 -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/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 +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_template.js +1 -1
- package/test-env/components/popover/input_popover.js +7 -3
- package/test-env/components/popover/popover.js +75 -166
- package/test-env/components/popover/popover.styles.js +26 -0
- package/test-env/components/popover/popover_arrow/_popover_arrow.js +47 -0
- package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/test-env/components/popover/popover_arrow/index.js +13 -0
- package/test-env/components/popover/popover_footer.js +26 -14
- package/test-env/components/popover/popover_footer.styles.js +30 -0
- package/test-env/components/popover/popover_panel/_popover_panel.js +119 -0
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/test-env/components/popover/popover_panel/index.js +13 -0
- package/test-env/components/popover/popover_title.js +26 -14
- package/test-env/components/popover/popover_title.styles.js +32 -0
- package/test-env/components/popover/wrapping_popover.js +38 -78
- package/test-env/components/portal/portal.js +46 -75
- package/test-env/components/selectable/selectable.js +8 -8
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_search/selectable_search.js +0 -5
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/test-env/components/suggest/suggest.js +1 -5
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/text/text.styles.js +1 -1
- package/test-env/components/text_diff/text_diff.js +7 -0
- package/test-env/components/text_diff/text_diff.styles.js +25 -0
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/token/token.js +1 -1
- package/test-env/components/token/token_map.js +115 -107
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/test-env/global_styling/functions/logicals.js +30 -2
- package/test-env/global_styling/mixins/_responsive.js +60 -0
- package/test-env/global_styling/mixins/index.js +13 -0
- package/test-env/test/rtl/component_helpers.js +87 -0
- package/test-env/test/rtl/custom_render.js +59 -0
- package/test-env/test/rtl/data_test_subj_queries.js +51 -0
- package/test-env/test/rtl/index.js +81 -0
- package/test-env/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/src/components/error_boundary/_error_boundary.scss +0 -13
- package/src/components/error_boundary/_index.scss +0 -1
- package/src/components/image/_image.scss +0 -212
- package/src/components/image/_index.scss +0 -1
- package/src/components/popover/_index.scss +0 -5
- package/src/components/popover/_input_popover.scss +0 -7
- package/src/components/popover/_popover.scss +0 -182
- package/src/components/popover/_popover_footer.scss +0 -27
- package/src/components/popover/_popover_title.scss +0 -27
- package/src/components/popover/_variables.scss +0 -2
- package/src/components/text_diff/_index.scss +0 -1
- package/src/components/text_diff/_text_diff.scss +0 -9
- package/src/global_styling/mixins/_popover.scss +0 -19
- package/src/themes/amsterdam/global_styling/mixins/_popover.scss +0 -5
- package/src/themes/amsterdam/overrides/_image.scss +0 -10
- package/src/themes/amsterdam/overrides/_popover.scss +0 -104
package/eui.d.ts
CHANGED
|
@@ -946,57 +946,59 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
946
946
|
wordWrapDisabled: string;
|
|
947
947
|
workplaceSearchApp: string;
|
|
948
948
|
wrench: string;
|
|
949
|
+
tokenAlias: string;
|
|
950
|
+
tokenAnnotation: string;
|
|
951
|
+
tokenArray: string;
|
|
952
|
+
tokenBinary: string;
|
|
953
|
+
tokenBoolean: string;
|
|
949
954
|
tokenClass: string;
|
|
950
|
-
|
|
955
|
+
tokenCompletionSuggester: string;
|
|
956
|
+
tokenConstant: string;
|
|
957
|
+
tokenDate: string;
|
|
958
|
+
tokenDenseVector: string;
|
|
959
|
+
tokenElement: string;
|
|
951
960
|
tokenEnum: string;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
tokenAnnotation: string;
|
|
961
|
+
tokenEnumMember: string;
|
|
962
|
+
tokenEvent: string;
|
|
955
963
|
tokenException: string;
|
|
956
|
-
tokenInterface: string;
|
|
957
|
-
tokenParameter: string;
|
|
958
964
|
tokenField: string;
|
|
959
|
-
|
|
965
|
+
tokenFile: string;
|
|
966
|
+
tokenFlattened: string;
|
|
960
967
|
tokenFunction: string;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
tokenObject: string;
|
|
967
|
-
tokenEvent: string;
|
|
968
|
+
tokenGeo: string;
|
|
969
|
+
tokenHistogram: string;
|
|
970
|
+
tokenInterface: string;
|
|
971
|
+
tokenIP: string;
|
|
972
|
+
tokenJoin: string;
|
|
968
973
|
tokenKey: string;
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
tokenEnumMember: string;
|
|
974
|
-
tokenRepo: string;
|
|
975
|
-
tokenSymbol: string;
|
|
976
|
-
tokenFile: string;
|
|
974
|
+
tokenKeyword: string;
|
|
975
|
+
tokenMethod: string;
|
|
976
|
+
tokenMetricCounter: string;
|
|
977
|
+
tokenMetricGauge: string;
|
|
977
978
|
tokenModule: string;
|
|
978
979
|
tokenNamespace: string;
|
|
979
|
-
tokenDate: string;
|
|
980
|
-
tokenIP: string;
|
|
981
980
|
tokenNested: string;
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
981
|
+
tokenNull: string;
|
|
982
|
+
tokenNumber: string;
|
|
983
|
+
tokenObject: string;
|
|
984
|
+
tokenOperator: string;
|
|
985
|
+
tokenPackage: string;
|
|
986
|
+
tokenParameter: string;
|
|
988
987
|
tokenPercolator: string;
|
|
989
|
-
|
|
988
|
+
tokenProperty: string;
|
|
989
|
+
tokenRange: string;
|
|
990
990
|
tokenRankFeature: string;
|
|
991
991
|
tokenRankFeatures: string;
|
|
992
|
-
|
|
992
|
+
tokenRepo: string;
|
|
993
|
+
tokenSearchType: string;
|
|
994
|
+
tokenShape: string;
|
|
995
|
+
tokenString: string;
|
|
996
|
+
tokenStruct: string;
|
|
997
|
+
tokenSymbol: string;
|
|
993
998
|
tokenTag: string;
|
|
994
|
-
tokenCompletionSuggester: string;
|
|
995
|
-
tokenDenseVector: string;
|
|
996
999
|
tokenText: string;
|
|
997
1000
|
tokenTokenCount: string;
|
|
998
|
-
|
|
999
|
-
tokenHistogram: string;
|
|
1001
|
+
tokenVariable: string;
|
|
1000
1002
|
};
|
|
1001
1003
|
|
|
1002
1004
|
}
|
|
@@ -1663,6 +1665,7 @@ declare module '@elastic/eui/src/global_styling/variables/shadow' {
|
|
|
1663
1665
|
export const _EuiShadowSizesDescriptions: Record<_EuiThemeShadowSize, string>;
|
|
1664
1666
|
export interface _EuiThemeShadowCustomColor {
|
|
1665
1667
|
color?: string;
|
|
1668
|
+
property?: 'box-shadow' | 'filter';
|
|
1666
1669
|
}
|
|
1667
1670
|
|
|
1668
1671
|
}
|
|
@@ -1775,6 +1778,22 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
|
1775
1778
|
export const logicalStyle: (property: LogicalProperties, value?: any) => {
|
|
1776
1779
|
[x: string]: string;
|
|
1777
1780
|
};
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @param width A string value for the LTR width
|
|
1784
|
+
* @param height A string value for the LTR height
|
|
1785
|
+
* @returns `string` Returns the logical CSS properties for height and width
|
|
1786
|
+
*/
|
|
1787
|
+
export const logicalSizeCSS: (width: any, height: any) => string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @param width A string value for the LTR width
|
|
1791
|
+
* @param height A string value for the LTR height
|
|
1792
|
+
* @returns `object` Returns the logical CSS properties for height and width
|
|
1793
|
+
*/
|
|
1794
|
+
export const logicalSizeStyle: (width: any, height: any) => {
|
|
1795
|
+
[x: string]: any;
|
|
1796
|
+
};
|
|
1778
1797
|
export const logicalText: {
|
|
1779
1798
|
'text-align': {
|
|
1780
1799
|
left: string;
|
|
@@ -2066,6 +2085,24 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
2066
2085
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
2067
2086
|
export const useEuiNumberFormat: () => string;
|
|
2068
2087
|
|
|
2088
|
+
}
|
|
2089
|
+
declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
|
|
2090
|
+
import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
|
|
2091
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables';
|
|
2092
|
+
/**
|
|
2093
|
+
* Generates a CSS media query rule string based on the input breakpoint ranges.
|
|
2094
|
+
* Examples:
|
|
2095
|
+
* euiBreakpoint(['s']) becomes `@media only screen and (min-width: 575px) and (max-width: 767px)`
|
|
2096
|
+
* euiBreakpoint(['s', 'l']) becomes `@media only screen and (min-width: 575px) and (max-width: 1199px)`
|
|
2097
|
+
*
|
|
2098
|
+
* Use the `xs` and `xl` sizes to generate media queries with only min/max-width.
|
|
2099
|
+
* Examples:
|
|
2100
|
+
* euiBreakpoint(['xs', 'm']) becomes `@media only screen and (max-width: 991px)`
|
|
2101
|
+
* euiBreakpoint(['l', 'xl']) becomes `@media only screen and (min-width: 992px)`
|
|
2102
|
+
*/
|
|
2103
|
+
export const euiBreakpoint: ({ euiTheme }: UseEuiTheme, sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
|
|
2104
|
+
export const useEuiBreakpoint: (sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
|
|
2105
|
+
|
|
2069
2106
|
}
|
|
2070
2107
|
declare module '@elastic/eui/src/global_styling/mixins' {
|
|
2071
2108
|
export * from '@elastic/eui/src/global_styling/mixins/_color';
|
|
@@ -2073,6 +2110,7 @@ declare module '@elastic/eui/src/global_styling/mixins' {
|
|
|
2073
2110
|
export * from '@elastic/eui/src/global_styling/mixins/_padding';
|
|
2074
2111
|
export * from '@elastic/eui/src/global_styling/mixins/_states';
|
|
2075
2112
|
export * from '@elastic/eui/src/global_styling/mixins/_typography';
|
|
2113
|
+
export * from '@elastic/eui/src/global_styling/mixins/_responsive';
|
|
2076
2114
|
|
|
2077
2115
|
}
|
|
2078
2116
|
declare module '@elastic/eui/src/global_styling/reset/reset' {
|
|
@@ -2130,7 +2168,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2130
2168
|
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
2131
2169
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2132
2170
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2133
|
-
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "
|
|
2171
|
+
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
2134
2172
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2135
2173
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2136
2174
|
export type IconColor = string | NamedColor;
|
|
@@ -2173,7 +2211,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2173
2211
|
isLoading: boolean;
|
|
2174
2212
|
neededLoading: boolean;
|
|
2175
2213
|
}
|
|
2176
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "
|
|
2214
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
2177
2215
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
2178
2216
|
[iconType: string]: React.ComponentType<{}>;
|
|
2179
2217
|
}) => void;
|
|
@@ -4030,7 +4068,7 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow'
|
|
|
4030
4068
|
/**
|
|
4031
4069
|
* bottomShadowMedium
|
|
4032
4070
|
*/
|
|
4033
|
-
export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color }?: _EuiThemeShadowCustomColor) => string;
|
|
4071
|
+
export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color, property }?: _EuiThemeShadowCustomColor) => string;
|
|
4034
4072
|
/**
|
|
4035
4073
|
* bottomShadow
|
|
4036
4074
|
*/
|
|
@@ -4573,7 +4611,7 @@ declare module '@elastic/eui/src/components/portal/portal' {
|
|
|
4573
4611
|
* NOTE: We can't test this component because Enzyme doesn't support rendering
|
|
4574
4612
|
* into portals.
|
|
4575
4613
|
*/
|
|
4576
|
-
import {
|
|
4614
|
+
import { ReactNode } from 'react';
|
|
4577
4615
|
interface InsertPositionsMap {
|
|
4578
4616
|
after: InsertPosition;
|
|
4579
4617
|
before: InsertPosition;
|
|
@@ -4591,14 +4629,7 @@ declare module '@elastic/eui/src/components/portal/portal' {
|
|
|
4591
4629
|
};
|
|
4592
4630
|
portalRef?: (ref: HTMLDivElement | null) => void;
|
|
4593
4631
|
}
|
|
4594
|
-
export
|
|
4595
|
-
portalNode: HTMLDivElement;
|
|
4596
|
-
constructor(props: EuiPortalProps);
|
|
4597
|
-
componentDidMount(): void;
|
|
4598
|
-
componentWillUnmount(): void;
|
|
4599
|
-
updatePortalRef(ref: HTMLDivElement | null): void;
|
|
4600
|
-
render(): import("react").ReactPortal;
|
|
4601
|
-
}
|
|
4632
|
+
export const EuiPortal: React.FC<EuiPortalProps>;
|
|
4602
4633
|
export {};
|
|
4603
4634
|
|
|
4604
4635
|
}
|
|
@@ -4892,17 +4923,103 @@ declare module '@elastic/eui/src/components/outside_click_detector' {
|
|
|
4892
4923
|
export type { EuiOutsideClickDetectorProps } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4893
4924
|
export { EuiOutsideClickDetector } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4894
4925
|
|
|
4926
|
+
}
|
|
4927
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow.styles' {
|
|
4928
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4929
|
+
export const popoverArrowSize = "m";
|
|
4930
|
+
export const euiPopoverArrowStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4931
|
+
euiPopoverArrow: import("@emotion/utils").SerializedStyles;
|
|
4932
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4933
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4934
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4935
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4938
|
+
}
|
|
4939
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow' {
|
|
4940
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
4941
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
4942
|
+
export const POSITIONS: readonly ["top", "left", "right", "bottom"];
|
|
4943
|
+
export type EuiPopoverArrowPositions = typeof POSITIONS[number];
|
|
4944
|
+
export type EuiPopoverArrowProps = HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
4945
|
+
position: EuiPopoverArrowPositions;
|
|
4946
|
+
};
|
|
4947
|
+
export const EuiPopoverArrow: FunctionComponent<EuiPopoverArrowProps>;
|
|
4948
|
+
|
|
4949
|
+
}
|
|
4950
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow' {
|
|
4951
|
+
export type { EuiPopoverArrowProps, EuiPopoverArrowPositions, } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4952
|
+
export { EuiPopoverArrow } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4953
|
+
|
|
4954
|
+
}
|
|
4955
|
+
declare module '@elastic/eui/src/components/popover/popover.styles' {
|
|
4956
|
+
export const euiPopoverStyles: () => {
|
|
4957
|
+
euiPopover: import("@emotion/utils").SerializedStyles;
|
|
4958
|
+
};
|
|
4959
|
+
|
|
4960
|
+
}
|
|
4961
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel.styles' {
|
|
4962
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4963
|
+
/**
|
|
4964
|
+
* 1. Can expand further, but it looks weird if it's smaller than the originating button.
|
|
4965
|
+
* 2. Animation happens on the panel. But don't animate position when using the attached mode like for inputs
|
|
4966
|
+
* 3. Make sure the panel stays within the window.
|
|
4967
|
+
*/
|
|
4968
|
+
export const euiPopoverPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4969
|
+
euiPopover__panel: import("@emotion/utils").SerializedStyles;
|
|
4970
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4971
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4972
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4973
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4974
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4975
|
+
attached: {
|
|
4976
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4977
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4978
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4979
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4980
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4981
|
+
};
|
|
4982
|
+
};
|
|
4983
|
+
|
|
4984
|
+
}
|
|
4985
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel' {
|
|
4986
|
+
import React, { FunctionComponent } from 'react';
|
|
4987
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4988
|
+
import { _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
4989
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
4990
|
+
interface ContextShape {
|
|
4991
|
+
paddingSize: EuiPaddingSize;
|
|
4992
|
+
}
|
|
4993
|
+
export const EuiPopoverPanelContext: React.Context<ContextShape>;
|
|
4994
|
+
export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
|
|
4995
|
+
isOpen?: boolean;
|
|
4996
|
+
isAttached?: boolean;
|
|
4997
|
+
position?: EuiPopoverArrowPositions | null;
|
|
4998
|
+
};
|
|
4999
|
+
/**
|
|
5000
|
+
* *INTERNAL ONLY*
|
|
5001
|
+
* Purely for re-use of styling
|
|
5002
|
+
*/
|
|
5003
|
+
export const EuiPopoverPanel: FunctionComponent<EuiPopoverPanelProps & EuiPopoverPanelInternalProps>;
|
|
5004
|
+
export {};
|
|
5005
|
+
|
|
5006
|
+
}
|
|
5007
|
+
declare module '@elastic/eui/src/components/popover/popover_panel' {
|
|
5008
|
+
export { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5009
|
+
|
|
4895
5010
|
}
|
|
4896
5011
|
declare module '@elastic/eui/src/components/popover/popover' {
|
|
4897
5012
|
import { Component, KeyboardEvent, CSSProperties, HTMLAttributes, ReactNode, Ref, RefCallback } from 'react';
|
|
4898
5013
|
import { CommonProps, NoArgCallback } from '@elastic/eui/src/components/common';
|
|
4899
5014
|
import { FocusTarget, EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
|
|
4900
5015
|
import { ReactFocusOnProps } from 'react-focus-on/dist/es5/types';
|
|
4901
|
-
import { PanelPaddingSize, EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
4902
5016
|
import { EuiPopoverPosition } from '@elastic/eui/src/services/popover';
|
|
5017
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
5018
|
+
import { EuiPopoverPanelProps } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5019
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4903
5020
|
export const popoverAnchorPosition: readonly ["upCenter", "upLeft", "upRight", "downCenter", "downLeft", "downRight", "leftCenter", "leftUp", "leftDown", "rightCenter", "rightUp", "rightDown"];
|
|
4904
5021
|
export type PopoverAnchorPosition = typeof popoverAnchorPosition[number];
|
|
4905
|
-
export interface EuiPopoverProps {
|
|
5022
|
+
export interface EuiPopoverProps extends CommonProps {
|
|
4906
5023
|
/**
|
|
4907
5024
|
* Class name passed to the direct parent of the button
|
|
4908
5025
|
*/
|
|
@@ -4933,7 +5050,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4933
5050
|
/**
|
|
4934
5051
|
* CSS display type for both the popover and anchor
|
|
4935
5052
|
*/
|
|
4936
|
-
display?:
|
|
5053
|
+
display?: CSSProperties['display'];
|
|
4937
5054
|
/**
|
|
4938
5055
|
* Object of props passed to EuiFocusTrap
|
|
4939
5056
|
*/
|
|
@@ -4946,11 +5063,11 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4946
5063
|
* Specifies what element should initially have focus; Can be a DOM
|
|
4947
5064
|
* node, or a selector string (which will be passed to
|
|
4948
5065
|
* document.querySelector() to find the DOM node), or a function that
|
|
4949
|
-
* returns a DOM node
|
|
4950
|
-
*
|
|
4951
|
-
*
|
|
5066
|
+
* returns a DOM node.
|
|
5067
|
+
*
|
|
5068
|
+
* If not passed, initial focus defaults to the popover panel.
|
|
4952
5069
|
*/
|
|
4953
|
-
initialFocus?: FocusTarget
|
|
5070
|
+
initialFocus?: FocusTarget;
|
|
4954
5071
|
/**
|
|
4955
5072
|
* Passed directly to EuiPortal for DOM positioning. Both properties are
|
|
4956
5073
|
* required if prop is specified
|
|
@@ -4974,15 +5091,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4974
5091
|
/**
|
|
4975
5092
|
* EuiPanel padding on all sides
|
|
4976
5093
|
*/
|
|
4977
|
-
panelPaddingSize?:
|
|
5094
|
+
panelPaddingSize?: EuiPaddingSize;
|
|
4978
5095
|
/**
|
|
4979
5096
|
* Standard DOM `style` attribute. Passed to the EuiPanel
|
|
4980
5097
|
*/
|
|
4981
5098
|
panelStyle?: CSSProperties;
|
|
4982
5099
|
/**
|
|
4983
|
-
* Object of props passed to EuiPanel
|
|
5100
|
+
* Object of props passed to EuiPanel. See #EuiPopoverPanelProps
|
|
4984
5101
|
*/
|
|
4985
|
-
panelProps?: Omit<
|
|
5102
|
+
panelProps?: Omit<EuiPopoverPanelProps, 'style'>;
|
|
4986
5103
|
panelRef?: RefCallback<HTMLElement | null>;
|
|
4987
5104
|
/**
|
|
4988
5105
|
* Optional screen reader instructions to announce upon popover open,
|
|
@@ -5034,12 +5151,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5034
5151
|
}
|
|
5035
5152
|
export function getPopoverPositionFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
5036
5153
|
export function getPopoverAlignFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
5037
|
-
export
|
|
5038
|
-
inlineBlock: undefined;
|
|
5039
|
-
block: string;
|
|
5040
|
-
};
|
|
5041
|
-
export const DISPLAY: string[];
|
|
5042
|
-
export type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPopoverProps;
|
|
5154
|
+
export type Props = EuiPopoverProps & HTMLAttributes<HTMLDivElement>;
|
|
5043
5155
|
interface State {
|
|
5044
5156
|
prevProps: {
|
|
5045
5157
|
isOpen?: boolean;
|
|
@@ -5049,17 +5161,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5049
5161
|
isOpening: boolean;
|
|
5050
5162
|
popoverStyles: CSSProperties;
|
|
5051
5163
|
arrowStyles?: CSSProperties;
|
|
5052
|
-
arrowPosition:
|
|
5164
|
+
arrowPosition: EuiPopoverArrowPositions | null;
|
|
5053
5165
|
openPosition: any;
|
|
5054
5166
|
isOpenStable: boolean;
|
|
5055
5167
|
} type PropsWithDefaults = Props & {
|
|
5056
5168
|
anchorPosition: PopoverAnchorPosition;
|
|
5057
|
-
/** CSS display type for both the popover and anchor */
|
|
5058
|
-
display: keyof typeof displayToClassNameMap;
|
|
5059
5169
|
hasArrow: boolean;
|
|
5060
5170
|
isOpen: boolean;
|
|
5061
5171
|
ownFocus: boolean;
|
|
5062
|
-
panelPaddingSize:
|
|
5172
|
+
panelPaddingSize: EuiPaddingSize;
|
|
5063
5173
|
};
|
|
5064
5174
|
export class EuiPopover extends Component<Props, State> {
|
|
5065
5175
|
static defaultProps: Partial<PropsWithDefaults>;
|
|
@@ -5068,10 +5178,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5068
5178
|
private strandedFocusTimeout;
|
|
5069
5179
|
private closingTransitionTimeout;
|
|
5070
5180
|
private closingTransitionAnimationFrame;
|
|
5071
|
-
private updateFocusAnimationFrame;
|
|
5072
5181
|
private button;
|
|
5073
5182
|
private panel;
|
|
5074
|
-
private hasSetInitialFocus;
|
|
5075
5183
|
private descriptionId;
|
|
5076
5184
|
constructor(props: Props);
|
|
5077
5185
|
closePopover: () => void;
|
|
@@ -5079,7 +5187,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5079
5187
|
handleStrandedFocus: () => void;
|
|
5080
5188
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
5081
5189
|
onClickOutside: (event: Event) => void;
|
|
5082
|
-
updateFocus(): void;
|
|
5083
5190
|
onOpenPopover: () => void;
|
|
5084
5191
|
componentDidMount(): void;
|
|
5085
5192
|
componentDidUpdate(prevProps: Props): void;
|
|
@@ -5128,6 +5235,11 @@ declare module '@elastic/eui/src/components/observer/resize_observer' {
|
|
|
5128
5235
|
export type { EuiResizeObserverProps } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5129
5236
|
export { EuiResizeObserver, useResizeObserver } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5130
5237
|
|
|
5238
|
+
}
|
|
5239
|
+
declare module '@elastic/eui/src/components/form/form.styles' {
|
|
5240
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5241
|
+
export const euiFormMaxWidth: ({ euiTheme }: UseEuiTheme) => string;
|
|
5242
|
+
|
|
5131
5243
|
}
|
|
5132
5244
|
declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
5133
5245
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
@@ -5143,39 +5255,53 @@ declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
|
5143
5255
|
export type EuiInputPopoverProps = CommonProps & HTMLAttributes<HTMLDivElement> & _EuiInputPopoverProps;
|
|
5144
5256
|
export const EuiInputPopover: FunctionComponent<EuiInputPopoverProps>;
|
|
5145
5257
|
|
|
5258
|
+
}
|
|
5259
|
+
declare module '@elastic/eui/src/components/popover/popover_title.styles' {
|
|
5260
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5261
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5262
|
+
export const euiPopoverTitleStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5263
|
+
euiPopoverTitle: import("@emotion/utils").SerializedStyles;
|
|
5264
|
+
};
|
|
5265
|
+
|
|
5146
5266
|
}
|
|
5147
5267
|
declare module '@elastic/eui/src/components/popover/popover_title' {
|
|
5148
5268
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5269
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5149
5270
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5150
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5151
5271
|
export type EuiPopoverTitleProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5152
5272
|
/**
|
|
5153
5273
|
* Customize the all around padding of the popover title.
|
|
5154
5274
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5155
5275
|
*/
|
|
5156
|
-
paddingSize?:
|
|
5276
|
+
paddingSize?: EuiPaddingSize;
|
|
5157
5277
|
}>;
|
|
5158
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5159
5278
|
export const EuiPopoverTitle: EuiPopoverTitleProps;
|
|
5160
5279
|
|
|
5280
|
+
}
|
|
5281
|
+
declare module '@elastic/eui/src/components/popover/popover_footer.styles' {
|
|
5282
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5283
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5284
|
+
export const euiPopoverFooterStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5285
|
+
euiPopoverFooter: import("@emotion/utils").SerializedStyles;
|
|
5286
|
+
};
|
|
5287
|
+
|
|
5161
5288
|
}
|
|
5162
5289
|
declare module '@elastic/eui/src/components/popover/popover_footer' {
|
|
5163
5290
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5291
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5164
5292
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5165
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5166
5293
|
export type EuiPopoverFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5167
5294
|
/**
|
|
5168
5295
|
* Customize the all around padding of the popover footer.
|
|
5169
5296
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5170
5297
|
*/
|
|
5171
|
-
paddingSize?:
|
|
5298
|
+
paddingSize?: EuiPaddingSize;
|
|
5172
5299
|
}>;
|
|
5173
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5174
5300
|
export const EuiPopoverFooter: EuiPopoverFooterProps;
|
|
5175
5301
|
|
|
5176
5302
|
}
|
|
5177
5303
|
declare module '@elastic/eui/src/components/popover/wrapping_popover' {
|
|
5178
|
-
import {
|
|
5304
|
+
import { FunctionComponent } from 'react';
|
|
5179
5305
|
import { Props as EuiPopoverProps } from '@elastic/eui/src/components/popover/popover';
|
|
5180
5306
|
export interface EuiWrappingPopoverProps extends EuiPopoverProps {
|
|
5181
5307
|
button: HTMLElement;
|
|
@@ -5185,15 +5311,7 @@ declare module '@elastic/eui/src/components/popover/wrapping_popover' {
|
|
|
5185
5311
|
* then the button element is moved into the popover dom.
|
|
5186
5312
|
* On unmount, the button is moved back to its original location.
|
|
5187
5313
|
*/
|
|
5188
|
-
export
|
|
5189
|
-
private portal;
|
|
5190
|
-
private anchor;
|
|
5191
|
-
componentDidMount(): void;
|
|
5192
|
-
componentWillUnmount(): void;
|
|
5193
|
-
setPortalRef: (node: HTMLElement | null) => void;
|
|
5194
|
-
setAnchorRef: (node: HTMLElement | null) => void;
|
|
5195
|
-
render(): JSX.Element;
|
|
5196
|
-
}
|
|
5314
|
+
export const EuiWrappingPopover: FunctionComponent<EuiWrappingPopoverProps>;
|
|
5197
5315
|
|
|
5198
5316
|
}
|
|
5199
5317
|
declare module '@elastic/eui/src/components/popover' {
|
|
@@ -8592,12 +8710,12 @@ declare module '@elastic/eui/src/components/combo_box/types' {
|
|
|
8592
8710
|
declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list' {
|
|
8593
8711
|
import { Component, ComponentProps, ReactNode, RefCallback } from 'react';
|
|
8594
8712
|
import { FixedSizeList, ListProps, ListChildComponentProps } from 'react-window';
|
|
8595
|
-
import { EuiPanel } from '@elastic/eui/src/components/panel';
|
|
8596
8713
|
import { EuiFilterSelectItem } from '@elastic/eui/src/components/filter_group/filter_select_item';
|
|
8597
8714
|
import { htmlIdGenerator } from '@elastic/eui/src/services';
|
|
8598
8715
|
import { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, OptionHandler, RefInstance, UpdatePositionHandler } from '@elastic/eui/src/components/combo_box/types';
|
|
8599
8716
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8600
|
-
|
|
8717
|
+
import { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel';
|
|
8718
|
+
export type EuiComboBoxOptionsListProps<T> = CommonProps & ComponentProps<typeof EuiPopoverPanel> & {
|
|
8601
8719
|
'data-test-subj': string;
|
|
8602
8720
|
activeOptionIndex?: number;
|
|
8603
8721
|
areAllOptionsSelected?: boolean;
|
|
@@ -9152,16 +9270,14 @@ declare module '@elastic/eui/src/components/comment_list/comment_event.styles' {
|
|
|
9152
9270
|
};
|
|
9153
9271
|
export const euiCommentEventHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9154
9272
|
euiCommentEvent__header: import("@emotion/utils").SerializedStyles;
|
|
9155
|
-
|
|
9273
|
+
regular: import("@emotion/utils").SerializedStyles;
|
|
9274
|
+
hasEventColor: import("@emotion/utils").SerializedStyles;
|
|
9156
9275
|
euiCommentEvent__headerMain: import("@emotion/utils").SerializedStyles;
|
|
9157
9276
|
euiCommentEvent__headerData: import("@emotion/utils").SerializedStyles;
|
|
9158
9277
|
euiCommentEvent__headerEventIcon: import("@emotion/utils").SerializedStyles;
|
|
9159
9278
|
euiCommentEvent__headerUsername: import("@emotion/utils").SerializedStyles;
|
|
9160
9279
|
euiCommentEvent__headerEvent: import("@emotion/utils").SerializedStyles;
|
|
9161
|
-
euiCommentEvent__headerTimestamp: import("@emotion/utils").SerializedStyles;
|
|
9162
9280
|
euiCommentEvent__headerActions: import("@emotion/utils").SerializedStyles;
|
|
9163
|
-
regular: import("@emotion/utils").SerializedStyles;
|
|
9164
|
-
hasEventColor: import("@emotion/utils").SerializedStyles;
|
|
9165
9281
|
};
|
|
9166
9282
|
export const euiCommentEventBodyStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9167
9283
|
euiCommentEvent__body: import("@emotion/utils").SerializedStyles;
|
|
@@ -9180,7 +9296,7 @@ declare module '@elastic/eui/src/components/comment_list/comment_event' {
|
|
|
9180
9296
|
/**
|
|
9181
9297
|
* Author of the comment.
|
|
9182
9298
|
*/
|
|
9183
|
-
username:
|
|
9299
|
+
username: ReactNode;
|
|
9184
9300
|
/**
|
|
9185
9301
|
* Time of occurrence of the event. Its format is set on the consumer's side
|
|
9186
9302
|
*/
|
|
@@ -9218,13 +9334,18 @@ declare module '@elastic/eui/src/components/comment_list/comment_timeline' {
|
|
|
9218
9334
|
import { FunctionComponent, ReactNode } from 'react';
|
|
9219
9335
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9220
9336
|
import { EuiAvatarProps } from '@elastic/eui/src/components/avatar';
|
|
9221
|
-
import { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
9222
9337
|
export interface EuiCommentTimelineProps extends CommonProps {
|
|
9223
9338
|
/**
|
|
9224
|
-
* Main
|
|
9339
|
+
* Main avatar that accompanies the comment. Should indicate who is the author of the comment.
|
|
9340
|
+
* Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiAvatarProps['iconType']`.
|
|
9341
|
+
* If no `timelineAvatar` is passed, the `userAvatar` icon will be used as the avatar.
|
|
9225
9342
|
*/
|
|
9226
|
-
|
|
9227
|
-
|
|
9343
|
+
timelineAvatar?: ReactNode | EuiAvatarProps['iconType'];
|
|
9344
|
+
/**
|
|
9345
|
+
* Specify an `aria-label` and `title` for the `timelineAvatar` when passed as an `IconType` or when nothing is passed.
|
|
9346
|
+
* If no `timelineAvatarAriaLabel` is passed we assume the avatar is purely decorative.
|
|
9347
|
+
*/
|
|
9348
|
+
timelineAvatarAriaLabel?: string;
|
|
9228
9349
|
}
|
|
9229
9350
|
export const EuiCommentTimeline: FunctionComponent<EuiCommentTimelineProps>;
|
|
9230
9351
|
|
|
@@ -9710,7 +9831,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
9710
9831
|
}
|
|
9711
9832
|
declare module '@elastic/eui/src/components/token/token_map' {
|
|
9712
9833
|
import { TokenProps } from '@elastic/eui/src/components/token/token';
|
|
9713
|
-
export type EuiTokenMapType = 'tokenAnnotation' | 'tokenArray' | 'tokenBoolean' | 'tokenClass' | '
|
|
9834
|
+
export type EuiTokenMapType = 'tokenAlias' | 'tokenAnnotation' | 'tokenArray' | 'tokenBinary' | 'tokenBoolean' | 'tokenClass' | 'tokenCompletionSuggester' | 'tokenConstant' | 'tokenDate' | 'tokenDenseVector' | 'tokenElement' | 'tokenEnum' | 'tokenEnumMember' | 'tokenEvent' | 'tokenException' | 'tokenField' | 'tokenFile' | 'tokenFlattened' | 'tokenFunction' | 'tokenGeo' | 'tokenHistogram' | 'tokenInterface' | 'tokenIP' | 'tokenJoin' | 'tokenKey' | 'tokenKeyword' | 'tokenMethod' | 'tokenMetricCounter' | 'tokenMetricGauge' | 'tokenModule' | 'tokenNamespace' | 'tokenNested' | 'tokenNull' | 'tokenNumber' | 'tokenObject' | 'tokenOperator' | 'tokenPackage' | 'tokenParameter' | 'tokenPercolator' | 'tokenProperty' | 'tokenRange' | 'tokenRankFeature' | 'tokenRankFeatures' | 'tokenRepo' | 'tokenSearchType' | 'tokenShape' | 'tokenString' | 'tokenStruct' | 'tokenSymbol' | 'tokenTag' | 'tokenText' | 'tokenTokenCount' | 'tokenVariable';
|
|
9714
9835
|
/**
|
|
9715
9836
|
* Most of the style combinations for tokens are semi-arbitrary. However, there was an effort
|
|
9716
9837
|
* to use the square shape for more common token types like string and number. Reserving the
|
|
@@ -10946,8 +11067,20 @@ declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_colum
|
|
|
10946
11067
|
}
|
|
10947
11068
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell' {
|
|
10948
11069
|
import React, { FunctionComponent } from 'react';
|
|
10949
|
-
import { EuiDataGridHeaderCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
11070
|
+
import { EuiDataGridHeaderCellProps, EuiDataGridSorting } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
10950
11071
|
export const EuiDataGridHeaderCell: FunctionComponent<EuiDataGridHeaderCellProps>;
|
|
11072
|
+
/**
|
|
11073
|
+
* Column sorting utility helpers
|
|
11074
|
+
*/
|
|
11075
|
+
export const useSortingUtils: ({ sorting, id, showColumnActions, }: {
|
|
11076
|
+
sorting?: EuiDataGridSorting | undefined;
|
|
11077
|
+
id: string;
|
|
11078
|
+
showColumnActions: boolean;
|
|
11079
|
+
}) => {
|
|
11080
|
+
sortingArrow: JSX.Element | null;
|
|
11081
|
+
ariaSort: "ascending" | "descending" | undefined;
|
|
11082
|
+
sortingScreenReaderText: JSX.Element | null;
|
|
11083
|
+
};
|
|
10951
11084
|
/**
|
|
10952
11085
|
* Add keyboard arrow navigation to the cell actions popover
|
|
10953
11086
|
* to match the UX of the rest of EuiDataGrid
|
|
@@ -12767,10 +12900,18 @@ declare module '@elastic/eui/src/components/empty_prompt' {
|
|
|
12767
12900
|
export type { EuiEmptyPromptProps } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12768
12901
|
export { EuiEmptyPrompt } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12769
12902
|
|
|
12903
|
+
}
|
|
12904
|
+
declare module '@elastic/eui/src/components/error_boundary/error_boundary.styles' {
|
|
12905
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12906
|
+
export const euiErrorBoundaryStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
12907
|
+
euiErrorBoundary: import("@emotion/utils").SerializedStyles;
|
|
12908
|
+
};
|
|
12909
|
+
|
|
12770
12910
|
}
|
|
12771
12911
|
declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
12772
12912
|
import React, { Component, HTMLAttributes, ReactNode } from 'react';
|
|
12773
12913
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12914
|
+
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
12774
12915
|
interface EuiErrorBoundaryState {
|
|
12775
12916
|
hasError: boolean;
|
|
12776
12917
|
error?: string;
|
|
@@ -12780,12 +12921,13 @@ declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
|
12780
12921
|
* ReactNode to render as this component's content
|
|
12781
12922
|
*/
|
|
12782
12923
|
children: ReactNode;
|
|
12783
|
-
};
|
|
12784
|
-
export class
|
|
12785
|
-
constructor(props:
|
|
12924
|
+
}; type EuiErrorBoundaryExtendedProps = EuiErrorBoundaryProps & WithEuiThemeProps;
|
|
12925
|
+
export class _EuiErrorBoundary extends Component<EuiErrorBoundaryExtendedProps, EuiErrorBoundaryState> {
|
|
12926
|
+
constructor(props: EuiErrorBoundaryExtendedProps);
|
|
12786
12927
|
componentDidCatch({ message, stack }: Error): void;
|
|
12787
12928
|
render(): React.ReactNode;
|
|
12788
12929
|
}
|
|
12930
|
+
export const EuiErrorBoundary: React.ForwardRefExoticComponent<Omit<EuiErrorBoundaryProps, "theme"> & React.RefAttributes<Omit<EuiErrorBoundaryProps, "theme">>>;
|
|
12789
12931
|
export {};
|
|
12790
12932
|
|
|
12791
12933
|
}
|
|
@@ -13378,10 +13520,14 @@ declare module '@elastic/eui/src/components/health' {
|
|
|
13378
13520
|
export { EuiHealth } from '@elastic/eui/src/components/health/health';
|
|
13379
13521
|
|
|
13380
13522
|
}
|
|
13381
|
-
declare module '@elastic/eui/src/components/image/
|
|
13382
|
-
import {
|
|
13383
|
-
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13384
|
-
export const SIZES:
|
|
13523
|
+
declare module '@elastic/eui/src/components/image/image_types' {
|
|
13524
|
+
import { HTMLAttributes, ReactNode, ImgHTMLAttributes } from 'react';
|
|
13525
|
+
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13526
|
+
export const SIZES: readonly ["s", "m", "l", "xl", "fullWidth", "original"];
|
|
13527
|
+
export type EuiImageSize = typeof SIZES[number]; const FLOATS: readonly ["left", "right"];
|
|
13528
|
+
export type EuiImageWrapperFloat = typeof FLOATS[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
|
|
13529
|
+
export type EuiImageWrapperMargin = typeof MARGINS[number];
|
|
13530
|
+
export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
|
|
13385
13531
|
/**
|
|
13386
13532
|
* Requires either `src` or `url` but defaults to using `src` if both are provided
|
|
13387
13533
|
*/
|
|
@@ -13389,27 +13535,34 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13389
13535
|
}, {
|
|
13390
13536
|
url: string;
|
|
13391
13537
|
}>;
|
|
13392
|
-
export type EuiImageProps = CommonProps &
|
|
13538
|
+
export type EuiImageProps = CommonProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & _EuiImageSrcOrUrl & {
|
|
13393
13539
|
/**
|
|
13394
|
-
*
|
|
13395
|
-
*
|
|
13540
|
+
* Alt text should describe the image to aid screen reader users. See
|
|
13541
|
+
* https://webaim.org/techniques/alttext/ for a guide on writing
|
|
13542
|
+
* effective alt text.
|
|
13543
|
+
*
|
|
13544
|
+
* If no meaningful description exists, or if the image is adequately
|
|
13545
|
+
* described by the surrounding text, pass an empty string.
|
|
13396
13546
|
*/
|
|
13397
13547
|
alt: string;
|
|
13548
|
+
/**
|
|
13549
|
+
* Provides a visible caption to the image
|
|
13550
|
+
*/
|
|
13551
|
+
caption?: ReactNode;
|
|
13398
13552
|
/**
|
|
13399
13553
|
* Accepts `s` / `m` / `l` / `xl` / `original` / `fullWidth` / or a CSS size of `number` or `string`.
|
|
13400
13554
|
* `fullWidth` will set the figure to stretch to 100% of its container.
|
|
13401
13555
|
* `string` and `number` types will max both the width or height, whichever is greater.
|
|
13402
13556
|
*/
|
|
13403
|
-
size?:
|
|
13557
|
+
size?: EuiImageSize | number | string;
|
|
13404
13558
|
/**
|
|
13405
|
-
*
|
|
13406
|
-
* The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
|
|
13559
|
+
* Float the image to the left or right. Useful in large text blocks.
|
|
13407
13560
|
*/
|
|
13408
|
-
|
|
13561
|
+
float?: EuiImageWrapperFloat;
|
|
13409
13562
|
/**
|
|
13410
|
-
*
|
|
13563
|
+
* Margin around the image.
|
|
13411
13564
|
*/
|
|
13412
|
-
|
|
13565
|
+
margin?: EuiImageWrapperMargin;
|
|
13413
13566
|
/**
|
|
13414
13567
|
* When set to `true` (default) will apply a slight shadow to the image
|
|
13415
13568
|
*/
|
|
@@ -13419,20 +13572,127 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13419
13572
|
*/
|
|
13420
13573
|
allowFullScreen?: boolean;
|
|
13421
13574
|
/**
|
|
13422
|
-
*
|
|
13575
|
+
* Changes the color of the icon that floats above the image when it can be clicked to fullscreen.
|
|
13576
|
+
* The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
|
|
13423
13577
|
*/
|
|
13424
|
-
|
|
13578
|
+
fullScreenIconColor?: EuiImageButtonIconColor;
|
|
13425
13579
|
/**
|
|
13426
|
-
*
|
|
13580
|
+
* Props to add to the wrapping figure element
|
|
13427
13581
|
*/
|
|
13428
|
-
|
|
13582
|
+
wrapperProps?: HTMLAttributes<HTMLDivElement>;
|
|
13583
|
+
};
|
|
13584
|
+
export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
|
|
13585
|
+
isFullWidth: boolean;
|
|
13586
|
+
setIsFullScreen: (isFullScreen: boolean) => void;
|
|
13587
|
+
};
|
|
13588
|
+
export type EuiImageButtonProps = Pick<EuiImageProps, 'hasShadow' | 'fullScreenIconColor'> & {
|
|
13589
|
+
hasAlt: boolean;
|
|
13590
|
+
onClick: () => void;
|
|
13591
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
13592
|
+
isFullWidth: boolean;
|
|
13593
|
+
isFullScreen?: boolean;
|
|
13594
|
+
};
|
|
13595
|
+
export type EuiImageCaptionProps = Pick<EuiImageProps, 'caption'> & {
|
|
13596
|
+
isOnOverlayMask?: boolean;
|
|
13429
13597
|
};
|
|
13430
|
-
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13431
13598
|
export {};
|
|
13432
13599
|
|
|
13600
|
+
}
|
|
13601
|
+
declare module '@elastic/eui/src/components/image/image_wrapper.styles' {
|
|
13602
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13603
|
+
export const euiImageWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13604
|
+
euiImageWrapper: import("@emotion/utils").SerializedStyles;
|
|
13605
|
+
allowFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13606
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13607
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13608
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13609
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13610
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
13611
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
13612
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13613
|
+
};
|
|
13614
|
+
|
|
13615
|
+
}
|
|
13616
|
+
declare module '@elastic/eui/src/components/image/image_button.styles' {
|
|
13617
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13618
|
+
export const euiImageButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13619
|
+
euiImageButton: import("@emotion/utils").SerializedStyles;
|
|
13620
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13621
|
+
shadowHover: import("@emotion/utils").SerializedStyles;
|
|
13622
|
+
hasShadowHover: import("@emotion/utils").SerializedStyles;
|
|
13623
|
+
};
|
|
13624
|
+
export const euiImageButtonIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
13625
|
+
euiImageButton__icon: import("@emotion/utils").SerializedStyles;
|
|
13626
|
+
openFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13627
|
+
closeFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13628
|
+
};
|
|
13629
|
+
|
|
13630
|
+
}
|
|
13631
|
+
declare module '@elastic/eui/src/components/image/image_button' {
|
|
13632
|
+
import { FunctionComponent } from 'react';
|
|
13633
|
+
import type { EuiImageButtonProps } from '@elastic/eui/src/components/image/image_types';
|
|
13634
|
+
export const EuiImageButton: FunctionComponent<EuiImageButtonProps>;
|
|
13635
|
+
|
|
13636
|
+
}
|
|
13637
|
+
declare module '@elastic/eui/src/components/image/image_caption.styles' {
|
|
13638
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13639
|
+
export const euiImageCaptionStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13640
|
+
euiImageCaption: import("@emotion/utils").SerializedStyles;
|
|
13641
|
+
isOnOverlayMask: import("@emotion/utils").SerializedStyles;
|
|
13642
|
+
};
|
|
13643
|
+
|
|
13644
|
+
}
|
|
13645
|
+
declare module '@elastic/eui/src/components/image/image_caption' {
|
|
13646
|
+
import React from 'react';
|
|
13647
|
+
export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
|
|
13648
|
+
isOnOverlayMask?: boolean | undefined;
|
|
13649
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13650
|
+
|
|
13651
|
+
}
|
|
13652
|
+
declare module '@elastic/eui/src/components/image/image_wrapper' {
|
|
13653
|
+
import { FunctionComponent } from 'react';
|
|
13654
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13655
|
+
export const EuiImageWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13656
|
+
|
|
13657
|
+
}
|
|
13658
|
+
declare module '@elastic/eui/src/components/image/image.styles' {
|
|
13659
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13660
|
+
export const euiImageStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13661
|
+
euiImage: import("@emotion/utils").SerializedStyles;
|
|
13662
|
+
isFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13663
|
+
hasShadow: import("@emotion/utils").SerializedStyles;
|
|
13664
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13665
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13666
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13667
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13668
|
+
original: import("@emotion/utils").SerializedStyles;
|
|
13669
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13670
|
+
customSize: import("@emotion/utils").SerializedStyles;
|
|
13671
|
+
};
|
|
13672
|
+
|
|
13673
|
+
}
|
|
13674
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper.styles' {
|
|
13675
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13676
|
+
export const euiImageFullscreenWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13677
|
+
euiImageFullscreenWrapper: import("@emotion/utils").SerializedStyles;
|
|
13678
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13679
|
+
};
|
|
13680
|
+
|
|
13681
|
+
}
|
|
13682
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper' {
|
|
13683
|
+
import { FunctionComponent } from 'react';
|
|
13684
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13685
|
+
export const EuiImageFullScreenWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13686
|
+
|
|
13687
|
+
}
|
|
13688
|
+
declare module '@elastic/eui/src/components/image/image' {
|
|
13689
|
+
import { FunctionComponent } from 'react';
|
|
13690
|
+
import type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13691
|
+
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13692
|
+
|
|
13433
13693
|
}
|
|
13434
13694
|
declare module '@elastic/eui/src/components/image' {
|
|
13435
|
-
export type { EuiImageProps } from '@elastic/eui/src/components/image/
|
|
13695
|
+
export type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13436
13696
|
export { EuiImage } from '@elastic/eui/src/components/image/image';
|
|
13437
13697
|
|
|
13438
13698
|
}
|
|
@@ -15943,7 +16203,6 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
15943
16203
|
constructor(props: EuiSelectableProps<T>);
|
|
15944
16204
|
static getDerivedStateFromProps<T>(nextProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): Partial<EuiSelectableState<T>>;
|
|
15945
16205
|
componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
|
|
15946
|
-
hasActiveOption: () => boolean;
|
|
15947
16206
|
onMouseDown: () => void;
|
|
15948
16207
|
onFocus: () => void;
|
|
15949
16208
|
onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
@@ -17963,6 +18222,13 @@ declare module '@elastic/eui/src/components/basic_table' {
|
|
|
17963
18222
|
export type { Pagination } from '@elastic/eui/src/components/basic_table/pagination_bar';
|
|
17964
18223
|
export type { DefaultItemAction, CustomItemAction } from '@elastic/eui/src/components/basic_table/action_types';
|
|
17965
18224
|
|
|
18225
|
+
}
|
|
18226
|
+
declare module '@elastic/eui/src/components/text_diff/text_diff.styles' {
|
|
18227
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18228
|
+
export const euiTextDiffStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
18229
|
+
euiTextDiff: import("@emotion/utils").SerializedStyles;
|
|
18230
|
+
};
|
|
18231
|
+
|
|
17966
18232
|
}
|
|
17967
18233
|
declare module '@elastic/eui/src/components/text_diff/text_diff' {
|
|
17968
18234
|
import { HTMLAttributes, ElementType } from 'react';
|
|
@@ -22574,6 +22840,26 @@ declare module '@elastic/eui/src/components/icon/assets/tokenMethod' {
|
|
|
22574
22840
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22575
22841
|
export {};
|
|
22576
22842
|
|
|
22843
|
+
}
|
|
22844
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricCounter' {
|
|
22845
|
+
import * as React from 'react';
|
|
22846
|
+
interface SVGRProps {
|
|
22847
|
+
title?: string;
|
|
22848
|
+
titleId?: string;
|
|
22849
|
+
}
|
|
22850
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22851
|
+
export {};
|
|
22852
|
+
|
|
22853
|
+
}
|
|
22854
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricGauge' {
|
|
22855
|
+
import * as React from 'react';
|
|
22856
|
+
interface SVGRProps {
|
|
22857
|
+
title?: string;
|
|
22858
|
+
titleId?: string;
|
|
22859
|
+
}
|
|
22860
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22861
|
+
export {};
|
|
22862
|
+
|
|
22577
22863
|
}
|
|
22578
22864
|
declare module '@elastic/eui/src/components/icon/assets/tokenModule' {
|
|
22579
22865
|
import * as React from 'react';
|
|
@@ -23138,6 +23424,90 @@ declare module 'mdast-util-to-hast/lib/all' {
|
|
|
23138
23424
|
const all: (h: H, node: Node) => Node[];
|
|
23139
23425
|
export = all;
|
|
23140
23426
|
}
|
|
23427
|
+
declare module '@elastic/eui/src/test/rtl/component_helpers' {
|
|
23428
|
+
/**
|
|
23429
|
+
* Ensure the EuiPopover being tested is open/closed before contiuning
|
|
23430
|
+
* Note: Because EuiPopover is portalled, we want to query `document`
|
|
23431
|
+
* instead of the `container` returned by RTL's render()
|
|
23432
|
+
*/
|
|
23433
|
+
export const waitForEuiPopoverOpen: () => Promise<void>;
|
|
23434
|
+
export const waitForEuiPopoverClose: () => Promise<void>;
|
|
23435
|
+
|
|
23436
|
+
}
|
|
23437
|
+
declare module '@elastic/eui/src/test/rtl/data_test_subj_queries' {
|
|
23438
|
+
import { queryHelpers, Matcher, MatcherOptions } from '@testing-library/react'; const queryAllByTestSubject: (container: HTMLElement, id: Matcher, options?: MatcherOptions | undefined) => HTMLElement[]; const queryByTestSubject: queryHelpers.QueryBy<[Matcher]>, getAllByTestSubject: queryHelpers.GetAllBy<[Matcher]>, getByTestSubject: queryHelpers.GetBy<[Matcher]>, findAllByTestSubject: queryHelpers.FindAllBy<[Matcher]>, findByTestSubject: queryHelpers.FindBy<[Matcher]>;
|
|
23439
|
+
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, };
|
|
23440
|
+
|
|
23441
|
+
}
|
|
23442
|
+
declare module '@elastic/eui/src/test/rtl/custom_render' {
|
|
23443
|
+
import { ReactElement } from 'react';
|
|
23444
|
+
import { queries, RenderOptions, Screen } from '@testing-library/react';
|
|
23445
|
+
import * as dataTestSubjQueries from '@elastic/eui/src/test/rtl/data_test_subj_queries'; const customRender: (ui: ReactElement, { queries: renderQueries, ...options }?: RenderOptions) => import("@testing-library/react").RenderResult<{
|
|
23446
|
+
getByLabelText: typeof queries.getByLabelText;
|
|
23447
|
+
getAllByLabelText: typeof queries.getAllByLabelText;
|
|
23448
|
+
queryByLabelText: typeof queries.queryByLabelText;
|
|
23449
|
+
queryAllByLabelText: typeof queries.queryAllByLabelText;
|
|
23450
|
+
findByLabelText: typeof queries.findByLabelText;
|
|
23451
|
+
findAllByLabelText: typeof queries.findAllByLabelText;
|
|
23452
|
+
getByPlaceholderText: typeof queries.getByPlaceholderText;
|
|
23453
|
+
getAllByPlaceholderText: typeof queries.getAllByPlaceholderText;
|
|
23454
|
+
queryByPlaceholderText: typeof queries.queryByPlaceholderText;
|
|
23455
|
+
queryAllByPlaceholderText: typeof queries.queryAllByPlaceholderText;
|
|
23456
|
+
findByPlaceholderText: typeof queries.findByPlaceholderText;
|
|
23457
|
+
findAllByPlaceholderText: typeof queries.findAllByPlaceholderText;
|
|
23458
|
+
getByText: typeof queries.getByText;
|
|
23459
|
+
getAllByText: typeof queries.getAllByText;
|
|
23460
|
+
queryByText: typeof queries.queryByText;
|
|
23461
|
+
queryAllByText: typeof queries.queryAllByText;
|
|
23462
|
+
findByText: typeof queries.findByText;
|
|
23463
|
+
findAllByText: typeof queries.findAllByText;
|
|
23464
|
+
getByAltText: typeof queries.getByAltText;
|
|
23465
|
+
getAllByAltText: typeof queries.getAllByAltText;
|
|
23466
|
+
queryByAltText: typeof queries.queryByAltText;
|
|
23467
|
+
queryAllByAltText: typeof queries.queryAllByAltText;
|
|
23468
|
+
findByAltText: typeof queries.findByAltText;
|
|
23469
|
+
findAllByAltText: typeof queries.findAllByAltText;
|
|
23470
|
+
getByTitle: typeof queries.getByTitle;
|
|
23471
|
+
getAllByTitle: typeof queries.getAllByTitle;
|
|
23472
|
+
queryByTitle: typeof queries.queryByTitle;
|
|
23473
|
+
queryAllByTitle: typeof queries.queryAllByTitle;
|
|
23474
|
+
findByTitle: typeof queries.findByTitle;
|
|
23475
|
+
findAllByTitle: typeof queries.findAllByTitle;
|
|
23476
|
+
getByDisplayValue: typeof queries.getByDisplayValue;
|
|
23477
|
+
getAllByDisplayValue: typeof queries.getAllByDisplayValue;
|
|
23478
|
+
queryByDisplayValue: typeof queries.queryByDisplayValue;
|
|
23479
|
+
queryAllByDisplayValue: typeof queries.queryAllByDisplayValue;
|
|
23480
|
+
findByDisplayValue: typeof queries.findByDisplayValue;
|
|
23481
|
+
findAllByDisplayValue: typeof queries.findAllByDisplayValue;
|
|
23482
|
+
getByRole: typeof queries.getByRole;
|
|
23483
|
+
getAllByRole: typeof queries.getAllByRole;
|
|
23484
|
+
queryByRole: typeof queries.queryByRole;
|
|
23485
|
+
queryAllByRole: typeof queries.queryAllByRole;
|
|
23486
|
+
findByRole: typeof queries.findByRole;
|
|
23487
|
+
findAllByRole: typeof queries.findAllByRole;
|
|
23488
|
+
getByTestId: typeof queries.getByTestId;
|
|
23489
|
+
getAllByTestId: typeof queries.getAllByTestId;
|
|
23490
|
+
queryByTestId: typeof queries.queryByTestId;
|
|
23491
|
+
queryAllByTestId: typeof queries.queryAllByTestId;
|
|
23492
|
+
findByTestId: typeof queries.findByTestId;
|
|
23493
|
+
findAllByTestId: typeof queries.findAllByTestId;
|
|
23494
|
+
queryByTestSubject: import("@testing-library/react").QueryBy<[import("@testing-library/react").Matcher]>;
|
|
23495
|
+
queryAllByTestSubject: (container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
23496
|
+
getByTestSubject: import("@testing-library/react").GetBy<[import("@testing-library/react").Matcher]>;
|
|
23497
|
+
getAllByTestSubject: import("@testing-library/react").GetAllBy<[import("@testing-library/react").Matcher]>;
|
|
23498
|
+
findAllByTestSubject: import("@testing-library/react").FindAllBy<[import("@testing-library/react").Matcher]>;
|
|
23499
|
+
findByTestSubject: import("@testing-library/react").FindBy<[import("@testing-library/react").Matcher]>;
|
|
23500
|
+
}, HTMLElement, HTMLElement>;
|
|
23501
|
+
export { customRender as render }; const customScreen: Screen<typeof queries & typeof dataTestSubjQueries>;
|
|
23502
|
+
export { customScreen as screen };
|
|
23503
|
+
|
|
23504
|
+
}
|
|
23505
|
+
declare module '@elastic/eui/src/test/rtl' {
|
|
23506
|
+
export * from '@elastic/eui/src/test/rtl/component_helpers';
|
|
23507
|
+
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, } from '@elastic/eui/src/test/rtl/data_test_subj_queries';
|
|
23508
|
+
export { render, screen } from '@elastic/eui/src/test/rtl/custom_render';
|
|
23509
|
+
|
|
23510
|
+
}
|
|
23141
23511
|
declare module '@elastic/eui/src/components/table/mobile' {
|
|
23142
23512
|
export { EuiTableHeaderMobile } from '@elastic/eui/src/components/table/mobile/table_header_mobile';
|
|
23143
23513
|
export type { EuiTableSortMobileProps } from '@elastic/eui/src/components/table/mobile/table_sort_mobile';
|
|
@@ -23245,6 +23615,12 @@ declare module '@elastic/eui' {
|
|
|
23245
23615
|
"euiColumnActions.moveRight": any;
|
|
23246
23616
|
"euiColumnActions.sort": any;
|
|
23247
23617
|
"euiDataGridHeaderCell.headerActions": any;
|
|
23618
|
+
"euiDataGridHeaderCell.sortedByAscendingSingle": any;
|
|
23619
|
+
"euiDataGridHeaderCell.sortedByDescendingSingle": any;
|
|
23620
|
+
"euiDataGridHeaderCell.sortedByAscendingFirst": any;
|
|
23621
|
+
"euiDataGridHeaderCell.sortedByDescendingFirst": any;
|
|
23622
|
+
"euiDataGridHeaderCell.sortedByAscendingMultiple": any;
|
|
23623
|
+
"euiDataGridHeaderCell.sortedByDescendingMultiple": any;
|
|
23248
23624
|
"euiDataGridHeaderCell.actionsPopoverScreenReaderText": any;
|
|
23249
23625
|
"euiColumnSelector.button": any;
|
|
23250
23626
|
"euiColumnSelector.buttonActiveSingular": any;
|
|
@@ -23418,8 +23794,8 @@ declare module '@elastic/eui' {
|
|
|
23418
23794
|
"euiSuperSelect.screenReaderAnnouncement": any;
|
|
23419
23795
|
"euiHeaderLinks.openNavigationMenu": any;
|
|
23420
23796
|
"euiHeaderLinks.appNavigation": any;
|
|
23421
|
-
"
|
|
23422
|
-
"
|
|
23797
|
+
"euiImageButton.openFullScreen": any;
|
|
23798
|
+
"euiImageButton.closeFullScreen": any;
|
|
23423
23799
|
"euiLink.newTarget.screenReaderOnlyText": any;
|
|
23424
23800
|
"euiLink.external.ariaLabel": any;
|
|
23425
23801
|
"euiPinnableListGroup.pinExtraActionLabel": any;
|