@elastic/eui 61.0.0 → 62.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_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 +2 -2
- 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/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/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/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/eui.d.ts +411 -102
- 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 +2 -2
- 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/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/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/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_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/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/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/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_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/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/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/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/package.json +2 -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 +2 -2
- 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/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/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/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
|
*/
|
|
@@ -4892,17 +4930,103 @@ declare module '@elastic/eui/src/components/outside_click_detector' {
|
|
|
4892
4930
|
export type { EuiOutsideClickDetectorProps } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4893
4931
|
export { EuiOutsideClickDetector } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4894
4932
|
|
|
4933
|
+
}
|
|
4934
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow.styles' {
|
|
4935
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4936
|
+
export const popoverArrowSize = "m";
|
|
4937
|
+
export const euiPopoverArrowStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4938
|
+
euiPopoverArrow: import("@emotion/utils").SerializedStyles;
|
|
4939
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4940
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4941
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4942
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4943
|
+
};
|
|
4944
|
+
|
|
4945
|
+
}
|
|
4946
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow' {
|
|
4947
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
4948
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
4949
|
+
export const POSITIONS: readonly ["top", "left", "right", "bottom"];
|
|
4950
|
+
export type EuiPopoverArrowPositions = typeof POSITIONS[number];
|
|
4951
|
+
export type EuiPopoverArrowProps = HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
4952
|
+
position: EuiPopoverArrowPositions;
|
|
4953
|
+
};
|
|
4954
|
+
export const EuiPopoverArrow: FunctionComponent<EuiPopoverArrowProps>;
|
|
4955
|
+
|
|
4956
|
+
}
|
|
4957
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow' {
|
|
4958
|
+
export type { EuiPopoverArrowProps, EuiPopoverArrowPositions, } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4959
|
+
export { EuiPopoverArrow } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4960
|
+
|
|
4961
|
+
}
|
|
4962
|
+
declare module '@elastic/eui/src/components/popover/popover.styles' {
|
|
4963
|
+
export const euiPopoverStyles: () => {
|
|
4964
|
+
euiPopover: import("@emotion/utils").SerializedStyles;
|
|
4965
|
+
};
|
|
4966
|
+
|
|
4967
|
+
}
|
|
4968
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel.styles' {
|
|
4969
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4970
|
+
/**
|
|
4971
|
+
* 1. Can expand further, but it looks weird if it's smaller than the originating button.
|
|
4972
|
+
* 2. Animation happens on the panel. But don't animate position when using the attached mode like for inputs
|
|
4973
|
+
* 3. Make sure the panel stays within the window.
|
|
4974
|
+
*/
|
|
4975
|
+
export const euiPopoverPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4976
|
+
euiPopover__panel: import("@emotion/utils").SerializedStyles;
|
|
4977
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4978
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4979
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4980
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4981
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4982
|
+
attached: {
|
|
4983
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4984
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4985
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4986
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4987
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
|
|
4991
|
+
}
|
|
4992
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel' {
|
|
4993
|
+
import React, { FunctionComponent } from 'react';
|
|
4994
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4995
|
+
import { _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
4996
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
4997
|
+
interface ContextShape {
|
|
4998
|
+
paddingSize: EuiPaddingSize;
|
|
4999
|
+
}
|
|
5000
|
+
export const EuiPopoverPanelContext: React.Context<ContextShape>;
|
|
5001
|
+
export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
|
|
5002
|
+
isOpen?: boolean;
|
|
5003
|
+
isAttached?: boolean;
|
|
5004
|
+
position?: EuiPopoverArrowPositions | null;
|
|
5005
|
+
};
|
|
5006
|
+
/**
|
|
5007
|
+
* *INTERNAL ONLY*
|
|
5008
|
+
* Purely for re-use of styling
|
|
5009
|
+
*/
|
|
5010
|
+
export const EuiPopoverPanel: FunctionComponent<EuiPopoverPanelProps & EuiPopoverPanelInternalProps>;
|
|
5011
|
+
export {};
|
|
5012
|
+
|
|
5013
|
+
}
|
|
5014
|
+
declare module '@elastic/eui/src/components/popover/popover_panel' {
|
|
5015
|
+
export { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5016
|
+
|
|
4895
5017
|
}
|
|
4896
5018
|
declare module '@elastic/eui/src/components/popover/popover' {
|
|
4897
5019
|
import { Component, KeyboardEvent, CSSProperties, HTMLAttributes, ReactNode, Ref, RefCallback } from 'react';
|
|
4898
5020
|
import { CommonProps, NoArgCallback } from '@elastic/eui/src/components/common';
|
|
4899
5021
|
import { FocusTarget, EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
|
|
4900
5022
|
import { ReactFocusOnProps } from 'react-focus-on/dist/es5/types';
|
|
4901
|
-
import { PanelPaddingSize, EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
4902
5023
|
import { EuiPopoverPosition } from '@elastic/eui/src/services/popover';
|
|
5024
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
5025
|
+
import { EuiPopoverPanelProps } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5026
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4903
5027
|
export const popoverAnchorPosition: readonly ["upCenter", "upLeft", "upRight", "downCenter", "downLeft", "downRight", "leftCenter", "leftUp", "leftDown", "rightCenter", "rightUp", "rightDown"];
|
|
4904
5028
|
export type PopoverAnchorPosition = typeof popoverAnchorPosition[number];
|
|
4905
|
-
export interface EuiPopoverProps {
|
|
5029
|
+
export interface EuiPopoverProps extends CommonProps {
|
|
4906
5030
|
/**
|
|
4907
5031
|
* Class name passed to the direct parent of the button
|
|
4908
5032
|
*/
|
|
@@ -4933,7 +5057,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4933
5057
|
/**
|
|
4934
5058
|
* CSS display type for both the popover and anchor
|
|
4935
5059
|
*/
|
|
4936
|
-
display?:
|
|
5060
|
+
display?: CSSProperties['display'];
|
|
4937
5061
|
/**
|
|
4938
5062
|
* Object of props passed to EuiFocusTrap
|
|
4939
5063
|
*/
|
|
@@ -4946,11 +5070,11 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4946
5070
|
* Specifies what element should initially have focus; Can be a DOM
|
|
4947
5071
|
* node, or a selector string (which will be passed to
|
|
4948
5072
|
* document.querySelector() to find the DOM node), or a function that
|
|
4949
|
-
* returns a DOM node
|
|
4950
|
-
*
|
|
4951
|
-
*
|
|
5073
|
+
* returns a DOM node.
|
|
5074
|
+
*
|
|
5075
|
+
* If not passed, initial focus defaults to the popover panel.
|
|
4952
5076
|
*/
|
|
4953
|
-
initialFocus?: FocusTarget
|
|
5077
|
+
initialFocus?: FocusTarget;
|
|
4954
5078
|
/**
|
|
4955
5079
|
* Passed directly to EuiPortal for DOM positioning. Both properties are
|
|
4956
5080
|
* required if prop is specified
|
|
@@ -4974,15 +5098,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4974
5098
|
/**
|
|
4975
5099
|
* EuiPanel padding on all sides
|
|
4976
5100
|
*/
|
|
4977
|
-
panelPaddingSize?:
|
|
5101
|
+
panelPaddingSize?: EuiPaddingSize;
|
|
4978
5102
|
/**
|
|
4979
5103
|
* Standard DOM `style` attribute. Passed to the EuiPanel
|
|
4980
5104
|
*/
|
|
4981
5105
|
panelStyle?: CSSProperties;
|
|
4982
5106
|
/**
|
|
4983
|
-
* Object of props passed to EuiPanel
|
|
5107
|
+
* Object of props passed to EuiPanel. See #EuiPopoverPanelProps
|
|
4984
5108
|
*/
|
|
4985
|
-
panelProps?: Omit<
|
|
5109
|
+
panelProps?: Omit<EuiPopoverPanelProps, 'style'>;
|
|
4986
5110
|
panelRef?: RefCallback<HTMLElement | null>;
|
|
4987
5111
|
/**
|
|
4988
5112
|
* Optional screen reader instructions to announce upon popover open,
|
|
@@ -5034,12 +5158,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5034
5158
|
}
|
|
5035
5159
|
export function getPopoverPositionFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
5036
5160
|
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;
|
|
5161
|
+
export type Props = EuiPopoverProps & HTMLAttributes<HTMLDivElement>;
|
|
5043
5162
|
interface State {
|
|
5044
5163
|
prevProps: {
|
|
5045
5164
|
isOpen?: boolean;
|
|
@@ -5049,17 +5168,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5049
5168
|
isOpening: boolean;
|
|
5050
5169
|
popoverStyles: CSSProperties;
|
|
5051
5170
|
arrowStyles?: CSSProperties;
|
|
5052
|
-
arrowPosition:
|
|
5171
|
+
arrowPosition: EuiPopoverArrowPositions | null;
|
|
5053
5172
|
openPosition: any;
|
|
5054
5173
|
isOpenStable: boolean;
|
|
5055
5174
|
} type PropsWithDefaults = Props & {
|
|
5056
5175
|
anchorPosition: PopoverAnchorPosition;
|
|
5057
|
-
/** CSS display type for both the popover and anchor */
|
|
5058
|
-
display: keyof typeof displayToClassNameMap;
|
|
5059
5176
|
hasArrow: boolean;
|
|
5060
5177
|
isOpen: boolean;
|
|
5061
5178
|
ownFocus: boolean;
|
|
5062
|
-
panelPaddingSize:
|
|
5179
|
+
panelPaddingSize: EuiPaddingSize;
|
|
5063
5180
|
};
|
|
5064
5181
|
export class EuiPopover extends Component<Props, State> {
|
|
5065
5182
|
static defaultProps: Partial<PropsWithDefaults>;
|
|
@@ -5068,10 +5185,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5068
5185
|
private strandedFocusTimeout;
|
|
5069
5186
|
private closingTransitionTimeout;
|
|
5070
5187
|
private closingTransitionAnimationFrame;
|
|
5071
|
-
private updateFocusAnimationFrame;
|
|
5072
5188
|
private button;
|
|
5073
5189
|
private panel;
|
|
5074
|
-
private hasSetInitialFocus;
|
|
5075
5190
|
private descriptionId;
|
|
5076
5191
|
constructor(props: Props);
|
|
5077
5192
|
closePopover: () => void;
|
|
@@ -5079,7 +5194,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5079
5194
|
handleStrandedFocus: () => void;
|
|
5080
5195
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
5081
5196
|
onClickOutside: (event: Event) => void;
|
|
5082
|
-
updateFocus(): void;
|
|
5083
5197
|
onOpenPopover: () => void;
|
|
5084
5198
|
componentDidMount(): void;
|
|
5085
5199
|
componentDidUpdate(prevProps: Props): void;
|
|
@@ -5128,6 +5242,11 @@ declare module '@elastic/eui/src/components/observer/resize_observer' {
|
|
|
5128
5242
|
export type { EuiResizeObserverProps } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5129
5243
|
export { EuiResizeObserver, useResizeObserver } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5130
5244
|
|
|
5245
|
+
}
|
|
5246
|
+
declare module '@elastic/eui/src/components/form/form.styles' {
|
|
5247
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5248
|
+
export const euiFormMaxWidth: ({ euiTheme }: UseEuiTheme) => string;
|
|
5249
|
+
|
|
5131
5250
|
}
|
|
5132
5251
|
declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
5133
5252
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
@@ -5143,34 +5262,48 @@ declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
|
5143
5262
|
export type EuiInputPopoverProps = CommonProps & HTMLAttributes<HTMLDivElement> & _EuiInputPopoverProps;
|
|
5144
5263
|
export const EuiInputPopover: FunctionComponent<EuiInputPopoverProps>;
|
|
5145
5264
|
|
|
5265
|
+
}
|
|
5266
|
+
declare module '@elastic/eui/src/components/popover/popover_title.styles' {
|
|
5267
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5268
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5269
|
+
export const euiPopoverTitleStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5270
|
+
euiPopoverTitle: import("@emotion/utils").SerializedStyles;
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5146
5273
|
}
|
|
5147
5274
|
declare module '@elastic/eui/src/components/popover/popover_title' {
|
|
5148
5275
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5276
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5149
5277
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5150
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5151
5278
|
export type EuiPopoverTitleProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5152
5279
|
/**
|
|
5153
5280
|
* Customize the all around padding of the popover title.
|
|
5154
5281
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5155
5282
|
*/
|
|
5156
|
-
paddingSize?:
|
|
5283
|
+
paddingSize?: EuiPaddingSize;
|
|
5157
5284
|
}>;
|
|
5158
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5159
5285
|
export const EuiPopoverTitle: EuiPopoverTitleProps;
|
|
5160
5286
|
|
|
5287
|
+
}
|
|
5288
|
+
declare module '@elastic/eui/src/components/popover/popover_footer.styles' {
|
|
5289
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5290
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5291
|
+
export const euiPopoverFooterStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5292
|
+
euiPopoverFooter: import("@emotion/utils").SerializedStyles;
|
|
5293
|
+
};
|
|
5294
|
+
|
|
5161
5295
|
}
|
|
5162
5296
|
declare module '@elastic/eui/src/components/popover/popover_footer' {
|
|
5163
5297
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5298
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5164
5299
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5165
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5166
5300
|
export type EuiPopoverFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5167
5301
|
/**
|
|
5168
5302
|
* Customize the all around padding of the popover footer.
|
|
5169
5303
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5170
5304
|
*/
|
|
5171
|
-
paddingSize?:
|
|
5305
|
+
paddingSize?: EuiPaddingSize;
|
|
5172
5306
|
}>;
|
|
5173
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5174
5307
|
export const EuiPopoverFooter: EuiPopoverFooterProps;
|
|
5175
5308
|
|
|
5176
5309
|
}
|
|
@@ -8592,12 +8725,12 @@ declare module '@elastic/eui/src/components/combo_box/types' {
|
|
|
8592
8725
|
declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list' {
|
|
8593
8726
|
import { Component, ComponentProps, ReactNode, RefCallback } from 'react';
|
|
8594
8727
|
import { FixedSizeList, ListProps, ListChildComponentProps } from 'react-window';
|
|
8595
|
-
import { EuiPanel } from '@elastic/eui/src/components/panel';
|
|
8596
8728
|
import { EuiFilterSelectItem } from '@elastic/eui/src/components/filter_group/filter_select_item';
|
|
8597
8729
|
import { htmlIdGenerator } from '@elastic/eui/src/services';
|
|
8598
8730
|
import { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, OptionHandler, RefInstance, UpdatePositionHandler } from '@elastic/eui/src/components/combo_box/types';
|
|
8599
8731
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8600
|
-
|
|
8732
|
+
import { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel';
|
|
8733
|
+
export type EuiComboBoxOptionsListProps<T> = CommonProps & ComponentProps<typeof EuiPopoverPanel> & {
|
|
8601
8734
|
'data-test-subj': string;
|
|
8602
8735
|
activeOptionIndex?: number;
|
|
8603
8736
|
areAllOptionsSelected?: boolean;
|
|
@@ -9180,7 +9313,7 @@ declare module '@elastic/eui/src/components/comment_list/comment_event' {
|
|
|
9180
9313
|
/**
|
|
9181
9314
|
* Author of the comment.
|
|
9182
9315
|
*/
|
|
9183
|
-
username:
|
|
9316
|
+
username: ReactNode;
|
|
9184
9317
|
/**
|
|
9185
9318
|
* Time of occurrence of the event. Its format is set on the consumer's side
|
|
9186
9319
|
*/
|
|
@@ -9218,13 +9351,18 @@ declare module '@elastic/eui/src/components/comment_list/comment_timeline' {
|
|
|
9218
9351
|
import { FunctionComponent, ReactNode } from 'react';
|
|
9219
9352
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9220
9353
|
import { EuiAvatarProps } from '@elastic/eui/src/components/avatar';
|
|
9221
|
-
import { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
9222
9354
|
export interface EuiCommentTimelineProps extends CommonProps {
|
|
9223
9355
|
/**
|
|
9224
|
-
* Main
|
|
9356
|
+
* Main avatar that accompanies the comment. Should indicate who is the author of the comment.
|
|
9357
|
+
* Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiAvatarProps['iconType']`.
|
|
9358
|
+
* If no `timelineAvatar` is passed, the `userAvatar` icon will be used as the avatar.
|
|
9225
9359
|
*/
|
|
9226
|
-
|
|
9227
|
-
|
|
9360
|
+
timelineAvatar?: ReactNode | EuiAvatarProps['iconType'];
|
|
9361
|
+
/**
|
|
9362
|
+
* Specify an `aria-label` and `title` for the `timelineAvatar` when passed as an `IconType` or when nothing is passed.
|
|
9363
|
+
* If no `timelineAvatarAriaLabel` is passed we assume the avatar is purely decorative.
|
|
9364
|
+
*/
|
|
9365
|
+
timelineAvatarAriaLabel?: string;
|
|
9228
9366
|
}
|
|
9229
9367
|
export const EuiCommentTimeline: FunctionComponent<EuiCommentTimelineProps>;
|
|
9230
9368
|
|
|
@@ -9710,7 +9848,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
9710
9848
|
}
|
|
9711
9849
|
declare module '@elastic/eui/src/components/token/token_map' {
|
|
9712
9850
|
import { TokenProps } from '@elastic/eui/src/components/token/token';
|
|
9713
|
-
export type EuiTokenMapType = 'tokenAnnotation' | 'tokenArray' | 'tokenBoolean' | 'tokenClass' | '
|
|
9851
|
+
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
9852
|
/**
|
|
9715
9853
|
* Most of the style combinations for tokens are semi-arbitrary. However, there was an effort
|
|
9716
9854
|
* to use the square shape for more common token types like string and number. Reserving the
|
|
@@ -10946,8 +11084,20 @@ declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_colum
|
|
|
10946
11084
|
}
|
|
10947
11085
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell' {
|
|
10948
11086
|
import React, { FunctionComponent } from 'react';
|
|
10949
|
-
import { EuiDataGridHeaderCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
11087
|
+
import { EuiDataGridHeaderCellProps, EuiDataGridSorting } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
10950
11088
|
export const EuiDataGridHeaderCell: FunctionComponent<EuiDataGridHeaderCellProps>;
|
|
11089
|
+
/**
|
|
11090
|
+
* Column sorting utility helpers
|
|
11091
|
+
*/
|
|
11092
|
+
export const useSortingUtils: ({ sorting, id, showColumnActions, }: {
|
|
11093
|
+
sorting?: EuiDataGridSorting | undefined;
|
|
11094
|
+
id: string;
|
|
11095
|
+
showColumnActions: boolean;
|
|
11096
|
+
}) => {
|
|
11097
|
+
sortingArrow: JSX.Element | null;
|
|
11098
|
+
ariaSort: "ascending" | "descending" | undefined;
|
|
11099
|
+
sortingScreenReaderText: JSX.Element | null;
|
|
11100
|
+
};
|
|
10951
11101
|
/**
|
|
10952
11102
|
* Add keyboard arrow navigation to the cell actions popover
|
|
10953
11103
|
* to match the UX of the rest of EuiDataGrid
|
|
@@ -12767,10 +12917,18 @@ declare module '@elastic/eui/src/components/empty_prompt' {
|
|
|
12767
12917
|
export type { EuiEmptyPromptProps } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12768
12918
|
export { EuiEmptyPrompt } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12769
12919
|
|
|
12920
|
+
}
|
|
12921
|
+
declare module '@elastic/eui/src/components/error_boundary/error_boundary.styles' {
|
|
12922
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12923
|
+
export const euiErrorBoundaryStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
12924
|
+
euiErrorBoundary: import("@emotion/utils").SerializedStyles;
|
|
12925
|
+
};
|
|
12926
|
+
|
|
12770
12927
|
}
|
|
12771
12928
|
declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
12772
12929
|
import React, { Component, HTMLAttributes, ReactNode } from 'react';
|
|
12773
12930
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12931
|
+
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
12774
12932
|
interface EuiErrorBoundaryState {
|
|
12775
12933
|
hasError: boolean;
|
|
12776
12934
|
error?: string;
|
|
@@ -12780,12 +12938,13 @@ declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
|
12780
12938
|
* ReactNode to render as this component's content
|
|
12781
12939
|
*/
|
|
12782
12940
|
children: ReactNode;
|
|
12783
|
-
};
|
|
12784
|
-
export class
|
|
12785
|
-
constructor(props:
|
|
12941
|
+
}; type EuiErrorBoundaryExtendedProps = EuiErrorBoundaryProps & WithEuiThemeProps;
|
|
12942
|
+
export class _EuiErrorBoundary extends Component<EuiErrorBoundaryExtendedProps, EuiErrorBoundaryState> {
|
|
12943
|
+
constructor(props: EuiErrorBoundaryExtendedProps);
|
|
12786
12944
|
componentDidCatch({ message, stack }: Error): void;
|
|
12787
12945
|
render(): React.ReactNode;
|
|
12788
12946
|
}
|
|
12947
|
+
export const EuiErrorBoundary: React.ForwardRefExoticComponent<Omit<EuiErrorBoundaryProps, "theme"> & React.RefAttributes<Omit<EuiErrorBoundaryProps, "theme">>>;
|
|
12789
12948
|
export {};
|
|
12790
12949
|
|
|
12791
12950
|
}
|
|
@@ -13378,10 +13537,14 @@ declare module '@elastic/eui/src/components/health' {
|
|
|
13378
13537
|
export { EuiHealth } from '@elastic/eui/src/components/health/health';
|
|
13379
13538
|
|
|
13380
13539
|
}
|
|
13381
|
-
declare module '@elastic/eui/src/components/image/
|
|
13382
|
-
import {
|
|
13383
|
-
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13384
|
-
export const SIZES:
|
|
13540
|
+
declare module '@elastic/eui/src/components/image/image_types' {
|
|
13541
|
+
import { HTMLAttributes, ReactNode, ImgHTMLAttributes } from 'react';
|
|
13542
|
+
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13543
|
+
export const SIZES: readonly ["s", "m", "l", "xl", "fullWidth", "original"];
|
|
13544
|
+
export type EuiImageSize = typeof SIZES[number]; const FLOATS: readonly ["left", "right"];
|
|
13545
|
+
export type EuiImageWrapperFloat = typeof FLOATS[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
|
|
13546
|
+
export type EuiImageWrapperMargin = typeof MARGINS[number];
|
|
13547
|
+
export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
|
|
13385
13548
|
/**
|
|
13386
13549
|
* Requires either `src` or `url` but defaults to using `src` if both are provided
|
|
13387
13550
|
*/
|
|
@@ -13389,27 +13552,34 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13389
13552
|
}, {
|
|
13390
13553
|
url: string;
|
|
13391
13554
|
}>;
|
|
13392
|
-
export type EuiImageProps = CommonProps &
|
|
13555
|
+
export type EuiImageProps = CommonProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & _EuiImageSrcOrUrl & {
|
|
13393
13556
|
/**
|
|
13394
|
-
*
|
|
13395
|
-
*
|
|
13557
|
+
* Alt text should describe the image to aid screen reader users. See
|
|
13558
|
+
* https://webaim.org/techniques/alttext/ for a guide on writing
|
|
13559
|
+
* effective alt text.
|
|
13560
|
+
*
|
|
13561
|
+
* If no meaningful description exists, or if the image is adequately
|
|
13562
|
+
* described by the surrounding text, pass an empty string.
|
|
13396
13563
|
*/
|
|
13397
13564
|
alt: string;
|
|
13565
|
+
/**
|
|
13566
|
+
* Provides a visible caption to the image
|
|
13567
|
+
*/
|
|
13568
|
+
caption?: ReactNode;
|
|
13398
13569
|
/**
|
|
13399
13570
|
* Accepts `s` / `m` / `l` / `xl` / `original` / `fullWidth` / or a CSS size of `number` or `string`.
|
|
13400
13571
|
* `fullWidth` will set the figure to stretch to 100% of its container.
|
|
13401
13572
|
* `string` and `number` types will max both the width or height, whichever is greater.
|
|
13402
13573
|
*/
|
|
13403
|
-
size?:
|
|
13574
|
+
size?: EuiImageSize | number | string;
|
|
13404
13575
|
/**
|
|
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`.
|
|
13576
|
+
* Float the image to the left or right. Useful in large text blocks.
|
|
13407
13577
|
*/
|
|
13408
|
-
|
|
13578
|
+
float?: EuiImageWrapperFloat;
|
|
13409
13579
|
/**
|
|
13410
|
-
*
|
|
13580
|
+
* Margin around the image.
|
|
13411
13581
|
*/
|
|
13412
|
-
|
|
13582
|
+
margin?: EuiImageWrapperMargin;
|
|
13413
13583
|
/**
|
|
13414
13584
|
* When set to `true` (default) will apply a slight shadow to the image
|
|
13415
13585
|
*/
|
|
@@ -13419,20 +13589,127 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13419
13589
|
*/
|
|
13420
13590
|
allowFullScreen?: boolean;
|
|
13421
13591
|
/**
|
|
13422
|
-
*
|
|
13592
|
+
* Changes the color of the icon that floats above the image when it can be clicked to fullscreen.
|
|
13593
|
+
* The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
|
|
13423
13594
|
*/
|
|
13424
|
-
|
|
13595
|
+
fullScreenIconColor?: EuiImageButtonIconColor;
|
|
13425
13596
|
/**
|
|
13426
|
-
*
|
|
13597
|
+
* Props to add to the wrapping figure element
|
|
13427
13598
|
*/
|
|
13428
|
-
|
|
13599
|
+
wrapperProps?: HTMLAttributes<HTMLDivElement>;
|
|
13600
|
+
};
|
|
13601
|
+
export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
|
|
13602
|
+
isFullWidth: boolean;
|
|
13603
|
+
setIsFullScreen: (isFullScreen: boolean) => void;
|
|
13604
|
+
};
|
|
13605
|
+
export type EuiImageButtonProps = Pick<EuiImageProps, 'hasShadow' | 'fullScreenIconColor'> & {
|
|
13606
|
+
hasAlt: boolean;
|
|
13607
|
+
onClick: () => void;
|
|
13608
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
13609
|
+
isFullWidth: boolean;
|
|
13610
|
+
isFullScreen?: boolean;
|
|
13611
|
+
};
|
|
13612
|
+
export type EuiImageCaptionProps = Pick<EuiImageProps, 'caption'> & {
|
|
13613
|
+
isOnOverlayMask?: boolean;
|
|
13429
13614
|
};
|
|
13430
|
-
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13431
13615
|
export {};
|
|
13432
13616
|
|
|
13617
|
+
}
|
|
13618
|
+
declare module '@elastic/eui/src/components/image/image_wrapper.styles' {
|
|
13619
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13620
|
+
export const euiImageWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13621
|
+
euiImageWrapper: import("@emotion/utils").SerializedStyles;
|
|
13622
|
+
allowFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13623
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13624
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13625
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13626
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13627
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
13628
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
13629
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13630
|
+
};
|
|
13631
|
+
|
|
13632
|
+
}
|
|
13633
|
+
declare module '@elastic/eui/src/components/image/image_button.styles' {
|
|
13634
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13635
|
+
export const euiImageButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13636
|
+
euiImageButton: import("@emotion/utils").SerializedStyles;
|
|
13637
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13638
|
+
shadowHover: import("@emotion/utils").SerializedStyles;
|
|
13639
|
+
hasShadowHover: import("@emotion/utils").SerializedStyles;
|
|
13640
|
+
};
|
|
13641
|
+
export const euiImageButtonIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
13642
|
+
euiImageButton__icon: import("@emotion/utils").SerializedStyles;
|
|
13643
|
+
openFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13644
|
+
closeFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13645
|
+
};
|
|
13646
|
+
|
|
13647
|
+
}
|
|
13648
|
+
declare module '@elastic/eui/src/components/image/image_button' {
|
|
13649
|
+
import { FunctionComponent } from 'react';
|
|
13650
|
+
import type { EuiImageButtonProps } from '@elastic/eui/src/components/image/image_types';
|
|
13651
|
+
export const EuiImageButton: FunctionComponent<EuiImageButtonProps>;
|
|
13652
|
+
|
|
13653
|
+
}
|
|
13654
|
+
declare module '@elastic/eui/src/components/image/image_caption.styles' {
|
|
13655
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13656
|
+
export const euiImageCaptionStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13657
|
+
euiImageCaption: import("@emotion/utils").SerializedStyles;
|
|
13658
|
+
isOnOverlayMask: import("@emotion/utils").SerializedStyles;
|
|
13659
|
+
};
|
|
13660
|
+
|
|
13661
|
+
}
|
|
13662
|
+
declare module '@elastic/eui/src/components/image/image_caption' {
|
|
13663
|
+
import React from 'react';
|
|
13664
|
+
export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
|
|
13665
|
+
isOnOverlayMask?: boolean | undefined;
|
|
13666
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13667
|
+
|
|
13668
|
+
}
|
|
13669
|
+
declare module '@elastic/eui/src/components/image/image_wrapper' {
|
|
13670
|
+
import { FunctionComponent } from 'react';
|
|
13671
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13672
|
+
export const EuiImageWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13673
|
+
|
|
13674
|
+
}
|
|
13675
|
+
declare module '@elastic/eui/src/components/image/image.styles' {
|
|
13676
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13677
|
+
export const euiImageStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13678
|
+
euiImage: import("@emotion/utils").SerializedStyles;
|
|
13679
|
+
isFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13680
|
+
hasShadow: import("@emotion/utils").SerializedStyles;
|
|
13681
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13682
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13683
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13684
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13685
|
+
original: import("@emotion/utils").SerializedStyles;
|
|
13686
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13687
|
+
customSize: import("@emotion/utils").SerializedStyles;
|
|
13688
|
+
};
|
|
13689
|
+
|
|
13690
|
+
}
|
|
13691
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper.styles' {
|
|
13692
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13693
|
+
export const euiImageFullscreenWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13694
|
+
euiImageFullscreenWrapper: import("@emotion/utils").SerializedStyles;
|
|
13695
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13696
|
+
};
|
|
13697
|
+
|
|
13698
|
+
}
|
|
13699
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper' {
|
|
13700
|
+
import { FunctionComponent } from 'react';
|
|
13701
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13702
|
+
export const EuiImageFullScreenWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13703
|
+
|
|
13704
|
+
}
|
|
13705
|
+
declare module '@elastic/eui/src/components/image/image' {
|
|
13706
|
+
import { FunctionComponent } from 'react';
|
|
13707
|
+
import type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13708
|
+
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13709
|
+
|
|
13433
13710
|
}
|
|
13434
13711
|
declare module '@elastic/eui/src/components/image' {
|
|
13435
|
-
export type { EuiImageProps } from '@elastic/eui/src/components/image/
|
|
13712
|
+
export type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13436
13713
|
export { EuiImage } from '@elastic/eui/src/components/image/image';
|
|
13437
13714
|
|
|
13438
13715
|
}
|
|
@@ -15943,7 +16220,6 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
15943
16220
|
constructor(props: EuiSelectableProps<T>);
|
|
15944
16221
|
static getDerivedStateFromProps<T>(nextProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): Partial<EuiSelectableState<T>>;
|
|
15945
16222
|
componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
|
|
15946
|
-
hasActiveOption: () => boolean;
|
|
15947
16223
|
onMouseDown: () => void;
|
|
15948
16224
|
onFocus: () => void;
|
|
15949
16225
|
onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
@@ -17963,6 +18239,13 @@ declare module '@elastic/eui/src/components/basic_table' {
|
|
|
17963
18239
|
export type { Pagination } from '@elastic/eui/src/components/basic_table/pagination_bar';
|
|
17964
18240
|
export type { DefaultItemAction, CustomItemAction } from '@elastic/eui/src/components/basic_table/action_types';
|
|
17965
18241
|
|
|
18242
|
+
}
|
|
18243
|
+
declare module '@elastic/eui/src/components/text_diff/text_diff.styles' {
|
|
18244
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18245
|
+
export const euiTextDiffStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
18246
|
+
euiTextDiff: import("@emotion/utils").SerializedStyles;
|
|
18247
|
+
};
|
|
18248
|
+
|
|
17966
18249
|
}
|
|
17967
18250
|
declare module '@elastic/eui/src/components/text_diff/text_diff' {
|
|
17968
18251
|
import { HTMLAttributes, ElementType } from 'react';
|
|
@@ -22574,6 +22857,26 @@ declare module '@elastic/eui/src/components/icon/assets/tokenMethod' {
|
|
|
22574
22857
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22575
22858
|
export {};
|
|
22576
22859
|
|
|
22860
|
+
}
|
|
22861
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricCounter' {
|
|
22862
|
+
import * as React from 'react';
|
|
22863
|
+
interface SVGRProps {
|
|
22864
|
+
title?: string;
|
|
22865
|
+
titleId?: string;
|
|
22866
|
+
}
|
|
22867
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22868
|
+
export {};
|
|
22869
|
+
|
|
22870
|
+
}
|
|
22871
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricGauge' {
|
|
22872
|
+
import * as React from 'react';
|
|
22873
|
+
interface SVGRProps {
|
|
22874
|
+
title?: string;
|
|
22875
|
+
titleId?: string;
|
|
22876
|
+
}
|
|
22877
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22878
|
+
export {};
|
|
22879
|
+
|
|
22577
22880
|
}
|
|
22578
22881
|
declare module '@elastic/eui/src/components/icon/assets/tokenModule' {
|
|
22579
22882
|
import * as React from 'react';
|
|
@@ -23245,6 +23548,12 @@ declare module '@elastic/eui' {
|
|
|
23245
23548
|
"euiColumnActions.moveRight": any;
|
|
23246
23549
|
"euiColumnActions.sort": any;
|
|
23247
23550
|
"euiDataGridHeaderCell.headerActions": any;
|
|
23551
|
+
"euiDataGridHeaderCell.sortedByAscendingSingle": any;
|
|
23552
|
+
"euiDataGridHeaderCell.sortedByDescendingSingle": any;
|
|
23553
|
+
"euiDataGridHeaderCell.sortedByAscendingFirst": any;
|
|
23554
|
+
"euiDataGridHeaderCell.sortedByDescendingFirst": any;
|
|
23555
|
+
"euiDataGridHeaderCell.sortedByAscendingMultiple": any;
|
|
23556
|
+
"euiDataGridHeaderCell.sortedByDescendingMultiple": any;
|
|
23248
23557
|
"euiDataGridHeaderCell.actionsPopoverScreenReaderText": any;
|
|
23249
23558
|
"euiColumnSelector.button": any;
|
|
23250
23559
|
"euiColumnSelector.buttonActiveSingular": any;
|
|
@@ -23418,8 +23727,8 @@ declare module '@elastic/eui' {
|
|
|
23418
23727
|
"euiSuperSelect.screenReaderAnnouncement": any;
|
|
23419
23728
|
"euiHeaderLinks.openNavigationMenu": any;
|
|
23420
23729
|
"euiHeaderLinks.appNavigation": any;
|
|
23421
|
-
"
|
|
23422
|
-
"
|
|
23730
|
+
"euiImageButton.openFullScreen": any;
|
|
23731
|
+
"euiImageButton.closeFullScreen": any;
|
|
23423
23732
|
"euiLink.newTarget.screenReaderOnlyText": any;
|
|
23424
23733
|
"euiLink.external.ariaLabel": any;
|
|
23425
23734
|
"euiPinnableListGroup.pinExtraActionLabel": any;
|