@elastic/eui 116.1.0 → 116.2.0-snapshot.1780495739173
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/es/components/avatar/avatar.js +15 -6
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/banner/banner.js +202 -0
- package/es/components/banner/banner.styles.js +76 -0
- package/es/components/banner/index.js +9 -0
- package/es/components/basic_table/basic_table.js +25 -14
- package/es/components/basic_table/collapsed_item_actions.js +5 -4
- package/es/components/basic_table/default_item_action.js +3 -5
- package/es/components/basic_table/in_memory_table.js +4 -4
- package/es/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/context_menu/context_menu_item.js +1 -1
- package/es/components/context_menu/context_menu_panel_title.js +0 -12
- package/es/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +2 -2
- package/es/components/datagrid/body/data_grid_body.js +7 -7
- package/es/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/es/components/datagrid/controls/column_sorting.js +7 -7
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/es/components/datagrid/controls/display_selector.js +2 -1
- package/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/es/components/datagrid/utils/in_memory.js +6 -6
- package/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/flyout/flyout_menu.js +2 -2
- package/es/components/flyout/manager/flyout_child.js +1 -1
- package/es/components/flyout/manager/flyout_managed.js +1 -1
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_password/field_password.js +6 -3
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_button/form_control_button.js +1 -1
- package/es/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header.a11y.js +1 -1
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo/header_logo.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/icon/assets/significant_events.js +39 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/es/components/icon/icon_map.js +3 -0
- package/es/components/index.js +1 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/list_item_layout/_list_item_layout.styles.js +1 -1
- 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_help_button.js +7 -4
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/outside_click_detector/outside_click_detector.js +71 -108
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/pagination/pagination_button_arrow.js +6 -2
- package/es/components/search_bar/search_bar.js +20 -16
- package/es/components/search_bar/search_box.js +4 -2
- package/es/components/selectable/selectable_list/selectable_list.js +2 -2
- package/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -2
- package/es/components/table/sticky_scrollbar/index.js +9 -0
- package/es/components/table/sticky_scrollbar/sticky_scrollbar.js +141 -0
- package/es/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +27 -0
- package/es/components/table/table.js +22 -5
- package/es/components/table/table_header_cell.js +1 -1
- package/es/components/text_truncate/text_truncate.js +8 -3
- 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/tool_tip/icon_tip.js +1 -1
- package/es/components/tool_tip/tool_tip.js +53 -27
- package/es/components/tool_tip/tool_tip.styles.js +14 -5
- package/es/components/tool_tip/tool_tip_anchor.js +5 -5
- package/es/components/tool_tip/tool_tip_manager.js +29 -2
- package/eui.d.ts +1120 -948
- package/i18ntokens.json +2390 -2372
- package/lib/components/avatar/avatar.js +15 -6
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/banner/banner.js +211 -0
- package/lib/components/banner/banner.styles.js +80 -0
- package/lib/components/banner/index.js +12 -0
- package/lib/components/basic_table/basic_table.js +25 -14
- package/lib/components/basic_table/collapsed_item_actions.js +5 -4
- package/lib/components/basic_table/default_item_action.js +3 -5
- package/lib/components/basic_table/in_memory_table.js +4 -4
- package/lib/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/context_menu/context_menu_panel_title.js +0 -12
- package/lib/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/lib/components/datagrid/controls/column_sorting.js +7 -7
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/lib/components/datagrid/controls/display_selector.js +2 -1
- package/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/lib/components/datagrid/utils/in_memory.js +6 -6
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/flyout/flyout_menu.js +2 -2
- package/lib/components/flyout/manager/flyout_child.js +1 -1
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_password/field_password.js +6 -3
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_button/form_control_button.js +1 -1
- package/lib/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header.a11y.js +1 -1
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo/header_logo.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/icon/assets/significant_events.js +46 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/lib/components/icon/icon_map.js +5 -0
- package/lib/components/icon/svgs/significant_events.svg +11 -0
- package/lib/components/index.js +11 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/list_item_layout/_list_item_layout.styles.js +1 -1
- 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_help_button.js +7 -4
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/outside_click_detector/outside_click_detector.js +69 -106
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/pagination/pagination_button_arrow.js +6 -2
- package/lib/components/search_bar/search_bar.js +20 -16
- package/lib/components/search_bar/search_box.js +4 -2
- package/lib/components/selectable/selectable_list/selectable_list.js +2 -2
- package/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -2
- package/lib/components/table/sticky_scrollbar/index.js +12 -0
- package/lib/components/table/sticky_scrollbar/sticky_scrollbar.js +148 -0
- package/lib/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +31 -0
- package/lib/components/table/table.js +25 -5
- package/lib/components/table/table_header_cell.js +1 -1
- package/lib/components/text_truncate/text_truncate.js +8 -3
- 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/tool_tip/icon_tip.js +1 -1
- package/lib/components/tool_tip/tool_tip.js +52 -27
- package/lib/components/tool_tip/tool_tip.styles.js +14 -5
- package/lib/components/tool_tip/tool_tip_anchor.js +5 -5
- package/lib/components/tool_tip/tool_tip_manager.js +29 -2
- package/optimize/es/components/avatar/avatar.js +12 -4
- package/optimize/es/components/banner/banner.js +112 -0
- package/optimize/es/components/banner/banner.styles.js +76 -0
- package/optimize/es/components/banner/index.js +9 -0
- package/optimize/es/components/basic_table/basic_table.js +21 -10
- package/optimize/es/components/basic_table/collapsed_item_actions.js +5 -4
- package/optimize/es/components/basic_table/default_item_action.js +3 -5
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.js +27 -18
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +2 -2
- package/optimize/es/components/datagrid/controls/display_selector.js +2 -1
- package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/optimize/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/optimize/es/components/form/field_password/field_password.js +6 -3
- package/optimize/es/components/header/header.a11y.js +1 -1
- package/optimize/es/components/icon/assets/significant_events.js +38 -0
- package/optimize/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/es/components/icon/icon_map.js +3 -0
- package/optimize/es/components/index.js +1 -0
- package/optimize/es/components/list_item_layout/_list_item_layout.styles.js +1 -1
- package/optimize/es/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/optimize/es/components/outside_click_detector/outside_click_detector.js +70 -104
- package/optimize/es/components/pagination/pagination_button_arrow.js +6 -2
- package/optimize/es/components/search_bar/search_bar.js +20 -16
- package/optimize/es/components/search_bar/search_box.js +4 -2
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/es/components/table/sticky_scrollbar/index.js +9 -0
- package/optimize/es/components/table/sticky_scrollbar/sticky_scrollbar.js +136 -0
- package/optimize/es/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +27 -0
- package/optimize/es/components/table/table.js +12 -5
- package/optimize/es/components/text_truncate/text_truncate.js +8 -3
- package/optimize/es/components/tool_tip/tool_tip.js +50 -27
- package/optimize/es/components/tool_tip/tool_tip.styles.js +14 -5
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +5 -5
- package/optimize/es/components/tool_tip/tool_tip_manager.js +29 -2
- package/optimize/lib/components/avatar/avatar.js +12 -4
- package/optimize/lib/components/banner/banner.js +121 -0
- package/optimize/lib/components/banner/banner.styles.js +80 -0
- package/optimize/lib/components/banner/index.js +12 -0
- package/optimize/lib/components/basic_table/basic_table.js +21 -10
- package/optimize/lib/components/basic_table/collapsed_item_actions.js +5 -4
- package/optimize/lib/components/basic_table/default_item_action.js +3 -5
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.js +27 -18
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/display_selector.js +2 -1
- package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/optimize/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/optimize/lib/components/form/field_password/field_password.js +6 -3
- package/optimize/lib/components/header/header.a11y.js +1 -1
- package/optimize/lib/components/icon/assets/significant_events.js +46 -0
- package/optimize/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/lib/components/icon/icon_map.js +5 -0
- package/optimize/lib/components/icon/svgs/significant_events.svg +11 -0
- package/optimize/lib/components/index.js +11 -0
- package/optimize/lib/components/list_item_layout/_list_item_layout.styles.js +1 -1
- package/optimize/lib/components/markdown_editor/markdown_editor_help_button.js +7 -4
- package/optimize/lib/components/outside_click_detector/outside_click_detector.js +69 -103
- package/optimize/lib/components/pagination/pagination_button_arrow.js +6 -2
- package/optimize/lib/components/search_bar/search_bar.js +20 -16
- package/optimize/lib/components/search_bar/search_box.js +4 -2
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/optimize/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/lib/components/table/sticky_scrollbar/index.js +12 -0
- package/optimize/lib/components/table/sticky_scrollbar/sticky_scrollbar.js +146 -0
- package/optimize/lib/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +31 -0
- package/optimize/lib/components/table/table.js +15 -5
- package/optimize/lib/components/text_truncate/text_truncate.js +8 -3
- package/optimize/lib/components/tool_tip/tool_tip.js +50 -27
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +14 -5
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +5 -5
- package/optimize/lib/components/tool_tip/tool_tip_manager.js +29 -2
- package/package.json +4 -4
- package/test-env/components/avatar/avatar.js +15 -6
- 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/banner/banner.js +210 -0
- package/test-env/components/banner/banner.styles.js +80 -0
- package/test-env/components/banner/index.js +12 -0
- package/test-env/components/basic_table/basic_table.js +25 -14
- package/test-env/components/basic_table/collapsed_item_actions.js +5 -4
- package/test-env/components/basic_table/default_item_action.js +3 -5
- package/test-env/components/basic_table/in_memory_table.js +4 -4
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +29 -19
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/context_menu/context_menu_panel_title.js +0 -12
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting.js +7 -7
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/test-env/components/datagrid/controls/display_selector.js +2 -1
- package/test-env/components/datagrid/controls/keyboard_shortcuts.js +2 -1
- package/test-env/components/datagrid/utils/in_memory.js +6 -6
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +7 -4
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
- package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
- package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/flyout/flyout_menu.js +2 -2
- package/test-env/components/flyout/manager/flyout_child.js +1 -1
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_password/field_password.js +6 -3
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_button/form_control_button.js +1 -1
- package/test-env/components/form/form_control_layout/append_prepend/form_append_prepend.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header.a11y.js +1 -1
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo/header_logo.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/icon/assets/significant_events.js +46 -0
- package/test-env/components/icon/icon_glyphs.a11y.js +1 -1
- package/test-env/components/icon/icon_map.js +5 -0
- package/test-env/components/index.js +11 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/list_item_layout/_list_item_layout.styles.js +1 -1
- 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_help_button.js +7 -4
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/outside_click_detector/outside_click_detector.js +70 -104
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/pagination/pagination_button_arrow.js +6 -2
- package/test-env/components/search_bar/search_bar.js +20 -16
- package/test-env/components/search_bar/search_box.js +4 -2
- package/test-env/components/selectable/selectable_list/selectable_list.js +2 -2
- package/test-env/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -2
- package/test-env/components/table/sticky_scrollbar/index.js +12 -0
- package/test-env/components/table/sticky_scrollbar/sticky_scrollbar.js +146 -0
- package/test-env/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +31 -0
- package/test-env/components/table/table.js +25 -5
- package/test-env/components/table/table_header_cell.js +1 -1
- package/test-env/components/text_truncate/text_truncate.js +8 -3
- 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/tool_tip/icon_tip.js +1 -1
- package/test-env/components/tool_tip/tool_tip.js +50 -27
- package/test-env/components/tool_tip/tool_tip.styles.js +14 -5
- package/test-env/components/tool_tip/tool_tip_anchor.js +5 -5
- package/test-env/components/tool_tip/tool_tip_manager.js +29 -2
package/eui.d.ts
CHANGED
|
@@ -2207,6 +2207,27 @@ declare module '@elastic/eui/src/components/table/const' {
|
|
|
2207
2207
|
*/
|
|
2208
2208
|
export const EUI_TABLE_CSS_CONTAINER_NAME = "EuiTable";
|
|
2209
2209
|
|
|
2210
|
+
}
|
|
2211
|
+
declare module '@elastic/eui/src/components/table/sticky_scrollbar/sticky_scrollbar.styles' {
|
|
2212
|
+
import { type UseEuiTheme } from '@elastic/eui/src/services';
|
|
2213
|
+
export const euiTableStickyScrollbarStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
2214
|
+
wrapper: import("@emotion/react").SerializedStyles;
|
|
2215
|
+
wrapperHidden: import("@emotion/react").SerializedStyles;
|
|
2216
|
+
track: import("@emotion/react").SerializedStyles;
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
}
|
|
2220
|
+
declare module '@elastic/eui/src/components/table/sticky_scrollbar/sticky_scrollbar' {
|
|
2221
|
+
import React, { type RefObject } from 'react';
|
|
2222
|
+
export interface EuiTableStickyScrollbarProps {
|
|
2223
|
+
tableWrapperRef: RefObject<HTMLDivElement>;
|
|
2224
|
+
}
|
|
2225
|
+
export const EuiTableStickyScrollbar: ({ tableWrapperRef, }: EuiTableStickyScrollbarProps) => React.JSX.Element | null;
|
|
2226
|
+
|
|
2227
|
+
}
|
|
2228
|
+
declare module '@elastic/eui/src/components/table/sticky_scrollbar' {
|
|
2229
|
+
export { EuiTableStickyScrollbar } from '@elastic/eui/src/components/table/sticky_scrollbar/sticky_scrollbar';
|
|
2230
|
+
|
|
2210
2231
|
}
|
|
2211
2232
|
declare module '@elastic/eui/src/components/table/table' {
|
|
2212
2233
|
import { FunctionComponent, TableHTMLAttributes } from 'react';
|
|
@@ -2244,6 +2265,16 @@ declare module '@elastic/eui/src/components/table/table' {
|
|
|
2244
2265
|
* @default false
|
|
2245
2266
|
*/
|
|
2246
2267
|
scrollableInline?: boolean;
|
|
2268
|
+
/**
|
|
2269
|
+
* Make the horizontal scrollbar visible even if the table is larger
|
|
2270
|
+
* than the viewport height. Useful for long tables when the native browser
|
|
2271
|
+
* scrollbar is at the bottom of the table and hard to reach.
|
|
2272
|
+
*
|
|
2273
|
+
* This prop requires [`scrollableInline`](#scrollableInline) to be `true`.
|
|
2274
|
+
* @beta
|
|
2275
|
+
* @default false
|
|
2276
|
+
*/
|
|
2277
|
+
stickyScrollbar?: boolean;
|
|
2247
2278
|
}
|
|
2248
2279
|
/**
|
|
2249
2280
|
* EuiTable is a low-level building block component used to render tabular data
|
|
@@ -2320,449 +2351,440 @@ declare module '@elastic/eui/src/components/table/utils' {
|
|
|
2320
2351
|
export const resolveWidthPropsAsStyle: (style: CSSProperties | undefined, { width: rawWidth, minWidth: rawMinWidth, maxWidth: rawMaxWidth, }: EuiTableSharedWidthProps) => CSSProperties;
|
|
2321
2352
|
|
|
2322
2353
|
}
|
|
2323
|
-
declare module '@elastic/eui/src/services/
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2354
|
+
declare module '@elastic/eui/src/services/popover/types' {
|
|
2355
|
+
export type EuiPopoverPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
2356
|
+
|
|
2357
|
+
}
|
|
2358
|
+
declare module '@elastic/eui/src/services/popover/calculate_popover_position' {
|
|
2359
|
+
import { EuiPopoverPosition } from '@elastic/eui/src/services/popover/types';
|
|
2360
|
+
interface EuiPopoverBoundingBox {
|
|
2361
|
+
top: number;
|
|
2362
|
+
left: number;
|
|
2363
|
+
width: number;
|
|
2364
|
+
height: number;
|
|
2365
|
+
}
|
|
2366
|
+
interface EuiPopoverAnchorRect extends EuiPopoverBoundingBox {
|
|
2367
|
+
right: number;
|
|
2368
|
+
bottom: number;
|
|
2369
|
+
}
|
|
2370
|
+
interface EuiPopoverDimensions {
|
|
2371
|
+
width: number;
|
|
2372
|
+
height: number;
|
|
2373
|
+
}
|
|
2374
|
+
interface EuiPopoverPositionedBox extends EuiPopoverBoundingBox {
|
|
2375
|
+
position: EuiPopoverPosition;
|
|
2376
|
+
}
|
|
2330
2377
|
/**
|
|
2331
|
-
*
|
|
2378
|
+
* Determine the best position for a popover that avoids clipping by the window view port.
|
|
2332
2379
|
*
|
|
2333
|
-
*
|
|
2334
|
-
*
|
|
2335
|
-
*
|
|
2336
|
-
*
|
|
2380
|
+
* @param {Object} anchorBounds - getBoundingClientRect() of the node the popover is tethered to (e.g. a button).
|
|
2381
|
+
* @param {Object} popoverBounds - getBoundingClientRect() of the popover node (e.g. the tooltip).
|
|
2382
|
+
* @param {string} requestedPosition - Position the user wants. One of ["top", "right", "bottom", "left"]
|
|
2383
|
+
* @param {number} buffer - The space between the wrapper and the popover. Also the minimum space between the
|
|
2384
|
+
* popover and the window.
|
|
2385
|
+
* @param {Array} positions - List of acceptable positions. Defaults to ["top", "right", "bottom", "left"].
|
|
2337
2386
|
*
|
|
2338
|
-
*
|
|
2339
|
-
* measurement, there are subpixel to single digit pixel differences between
|
|
2340
|
-
* DOM and canvas measurement due to the different rendering engines used.
|
|
2387
|
+
* @returns {Object} With properties position (one of ["top", "right", "bottom", "left"]), left, top, width, and height.
|
|
2341
2388
|
*/
|
|
2342
|
-
export
|
|
2343
|
-
|
|
2344
|
-
currentText: string;
|
|
2345
|
-
constructor({ font, container }: CanvasTextParams);
|
|
2346
|
-
computeFontFromElement: (element: HTMLElement) => string;
|
|
2347
|
-
get textWidth(): number;
|
|
2348
|
-
setTextToCheck: (text: string) => void;
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
}
|
|
2352
|
-
declare module '@elastic/eui/src/services/canvas' {
|
|
2353
|
-
export { CanvasTextUtils } from '@elastic/eui/src/services/canvas/canvas_text_utils';
|
|
2354
|
-
export type { CanvasTextParams } from '@elastic/eui/src/services/canvas/canvas_text_utils';
|
|
2389
|
+
export function calculatePopoverPosition(anchorBounds: EuiPopoverAnchorRect, popoverBounds: EuiPopoverDimensions, requestedPosition: EuiPopoverPosition, buffer?: number, positions?: EuiPopoverPosition[]): EuiPopoverPositionedBox;
|
|
2390
|
+
export {};
|
|
2355
2391
|
|
|
2356
2392
|
}
|
|
2357
|
-
declare module '@elastic/eui/src/
|
|
2358
|
-
import {
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2393
|
+
declare module '@elastic/eui/src/services/popover/popover_positioning' {
|
|
2394
|
+
import { EuiPopoverPosition } from '@elastic/eui/src/services/popover/types';
|
|
2395
|
+
export const POSITIONS: EuiPopoverPosition[];
|
|
2396
|
+
interface BoundingBox {
|
|
2397
|
+
[position: string]: number;
|
|
2398
|
+
top: number;
|
|
2399
|
+
right: number;
|
|
2400
|
+
bottom: number;
|
|
2401
|
+
left: number;
|
|
2402
|
+
}
|
|
2403
|
+
export interface EuiClientRect extends BoundingBox {
|
|
2404
|
+
height: number;
|
|
2405
|
+
width: number;
|
|
2406
|
+
}
|
|
2407
|
+
interface FindPopoverPositionArgs {
|
|
2408
|
+
anchor: HTMLElement;
|
|
2409
|
+
popover: HTMLElement;
|
|
2410
|
+
align?: EuiPopoverPosition;
|
|
2411
|
+
position: EuiPopoverPosition;
|
|
2412
|
+
forcePosition?: boolean;
|
|
2413
|
+
buffer?: number | [number, number, number, number];
|
|
2414
|
+
offset?: number;
|
|
2415
|
+
allowCrossAxis?: boolean;
|
|
2416
|
+
container?: HTMLElement;
|
|
2417
|
+
arrowConfig?: {
|
|
2418
|
+
arrowWidth: number;
|
|
2419
|
+
arrowBuffer: number;
|
|
2420
|
+
};
|
|
2421
|
+
returnBoundingBox?: boolean;
|
|
2422
|
+
}
|
|
2423
|
+
interface FindPopoverPositionResult {
|
|
2424
|
+
top: number;
|
|
2425
|
+
left: number;
|
|
2426
|
+
position: EuiPopoverPosition;
|
|
2427
|
+
fit: number;
|
|
2428
|
+
arrow?: Record<EuiPopoverPosition, number | string>;
|
|
2429
|
+
anchorBoundingBox?: EuiClientRect;
|
|
2430
|
+
}
|
|
2364
2431
|
/**
|
|
2365
|
-
*
|
|
2366
|
-
*
|
|
2432
|
+
* Calculates the absolute positioning (relative to document.body) to place a popover element
|
|
2433
|
+
*
|
|
2434
|
+
* @param anchor {HTMLElement} Element to anchor the popover to
|
|
2435
|
+
* @param popover {HTMLElement} Element containing the popover content
|
|
2436
|
+
* @param position {string} Position the user wants. One of ["top", "right", "bottom", "left"]
|
|
2437
|
+
* @param [forcePosition] {boolean} If true, use only the provided `position` value and don't try any other position
|
|
2438
|
+
* @param [align] {string} Cross-axis alignment. One of ["top", "right", "bottom", "left"]
|
|
2439
|
+
* @param [buffer=16] {number} Minimum distance between the popover and the bounding container
|
|
2440
|
+
* @param [offset=0] {number} Distance between the popover and the anchor
|
|
2441
|
+
* @param [allowCrossAxis=true] {boolean} Whether to allow the popover to be positioned on the cross-axis
|
|
2442
|
+
* @param [container] {HTMLElement} Element the popover must be constrained to fit within
|
|
2443
|
+
* @param [arrowConfig] {{arrowWidth: number, arrowBuffer: number}} If
|
|
2444
|
+
* present, describes the size & constraints for an arrow element, and the
|
|
2445
|
+
* function return value will include an `arrow` param with position details
|
|
2446
|
+
*
|
|
2447
|
+
* @returns {FindPopoverPositionResult} absolute page coordinates for the
|
|
2448
|
+
* popover, and the placement's relation to the anchor or undefined
|
|
2449
|
+
* there's no room.
|
|
2367
2450
|
*/
|
|
2368
|
-
export
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
* This ratio is used to get an initial _approximate_ text string that should
|
|
2383
|
-
* be slightly over the available width, which we can then remove from
|
|
2384
|
-
* character-by-character until the text just fits within the available width.
|
|
2385
|
-
*/
|
|
2386
|
-
widthRatio: number;
|
|
2387
|
-
setTextWidthRatio: (text?: string, textToOffset?: string) => void;
|
|
2388
|
-
getTextFromRatio: (text: string, type: "start" | "end") => string;
|
|
2389
|
-
/**
|
|
2390
|
-
* Early return checks
|
|
2391
|
-
*/
|
|
2392
|
-
checkIfTruncationIsNeeded: () => false | undefined;
|
|
2393
|
-
checkSufficientEllipsisWidth: (truncation: string) => false | undefined;
|
|
2394
|
-
checkTruncationOffsetWidth: (text: string) => false | undefined;
|
|
2395
|
-
/**
|
|
2396
|
-
* Truncation types logic. This is where the magic happens
|
|
2397
|
-
*/
|
|
2398
|
-
truncateStart: (truncationOffset?: number) => string;
|
|
2399
|
-
truncateEnd: (truncationOffset?: number) => string;
|
|
2400
|
-
truncateStartEndAtPosition: (truncationPosition: number) => string;
|
|
2401
|
-
truncateStartEndAtMiddle: () => string;
|
|
2402
|
-
truncateMiddle: () => string;
|
|
2451
|
+
export function findPopoverPosition({ anchor, popover, align, position, forcePosition, buffer, offset, allowCrossAxis, container, arrowConfig, returnBoundingBox, }: FindPopoverPositionArgs): FindPopoverPositionResult;
|
|
2452
|
+
interface GetPopoverScreenCoordinatesArgs {
|
|
2453
|
+
position: EuiPopoverPosition;
|
|
2454
|
+
align?: EuiPopoverPosition;
|
|
2455
|
+
anchorBoundingBox: EuiClientRect;
|
|
2456
|
+
popoverBoundingBox: EuiClientRect;
|
|
2457
|
+
windowBoundingBox: EuiClientRect;
|
|
2458
|
+
containerBoundingBox: EuiClientRect;
|
|
2459
|
+
arrowConfig?: {
|
|
2460
|
+
arrowWidth: number;
|
|
2461
|
+
arrowBuffer: number;
|
|
2462
|
+
};
|
|
2463
|
+
offset?: number;
|
|
2464
|
+
buffer?: number | [number, number, number, number];
|
|
2403
2465
|
}
|
|
2466
|
+
interface GetPopoverScreenCoordinatesResult {
|
|
2467
|
+
top: number;
|
|
2468
|
+
left: number;
|
|
2469
|
+
fit: number;
|
|
2470
|
+
arrow?: Record<EuiPopoverPosition, number | string>;
|
|
2471
|
+
}
|
|
2472
|
+
/**
|
|
2473
|
+
* Given a target position and the popover's surrounding context, returns either an
|
|
2474
|
+
* object with {top, left} screen coordinates or `null` if it's not possible to show
|
|
2475
|
+
* content in the target position
|
|
2476
|
+
* @param position {string} the target position, one of ["top", "right", "bottom", "left"]
|
|
2477
|
+
* @param align {string} target alignment on the cross-axis, one of ["top", "right", "bottom", "left"]
|
|
2478
|
+
* @param anchorBoundingBox {Object} bounding box of the anchor element
|
|
2479
|
+
* @param popoverBoundingBox {Object} bounding box of the popover element
|
|
2480
|
+
* @param windowBoundingBox {Object} bounding box of the window
|
|
2481
|
+
* @param containerBoundingBox {Object} bounding box of the container
|
|
2482
|
+
* @param [arrowConfig] {{arrowWidth: number, arrowBuffer: number}} If present, describes the size &
|
|
2483
|
+
* constraints for an arrow element, and the function return value will include an `arrow` param
|
|
2484
|
+
* with position details
|
|
2485
|
+
* @param [offset=0] {number} Distance between the popover and the anchor
|
|
2486
|
+
* @param [buffer=0] {number} Minimum distance between the popover's
|
|
2487
|
+
* placement and the container edge
|
|
2488
|
+
*
|
|
2489
|
+
* @returns {GetPopoverScreenCoordinatesResult}
|
|
2490
|
+
* object with top/left coordinates, the popover's relative position to the anchor, and how well the
|
|
2491
|
+
* popover fits in the location (0.0 -> 1.0) coordinates and the popover's relative position, if
|
|
2492
|
+
* there is no room in this placement then null
|
|
2493
|
+
*/
|
|
2494
|
+
export function getPopoverScreenCoordinates({ position, align, anchorBoundingBox, popoverBoundingBox, windowBoundingBox, containerBoundingBox, arrowConfig, offset, buffer, }: GetPopoverScreenCoordinatesArgs): GetPopoverScreenCoordinatesResult;
|
|
2495
|
+
/**
|
|
2496
|
+
* Finds the client pixel coordinate of each edge for the element's bounding box,
|
|
2497
|
+
* and the bounding box's width & height
|
|
2498
|
+
*
|
|
2499
|
+
* @param {HTMLElement} element
|
|
2500
|
+
* @returns {{top: number, right: number, bottom: number, left: number, height: number, width: number}}
|
|
2501
|
+
*/
|
|
2502
|
+
export function getElementBoundingBox(element: HTMLElement): EuiClientRect;
|
|
2503
|
+
/**
|
|
2504
|
+
* Calculates the available content space between anchor and container
|
|
2505
|
+
*
|
|
2506
|
+
* @param {Object} anchorBoundingBox Client bounding box of the anchor element
|
|
2507
|
+
* @param {Object} containerBoundingBox Client bounding box of the container element
|
|
2508
|
+
* @param {number} buffer Minimum distance between the popover and the bounding container
|
|
2509
|
+
* @param {number} offset Distance between the popover and the anchor
|
|
2510
|
+
* @param {string} offsetSide Side the offset needs to be applied to, one
|
|
2511
|
+
* of ["top", "right", "bottom", "left"]
|
|
2512
|
+
* @returns {{top: number, right: number, bottom: number, left: number}}
|
|
2513
|
+
*/
|
|
2514
|
+
export function getAvailableSpace(anchorBoundingBox: BoundingBox, containerBoundingBox: BoundingBox, buffer: number | [number, number, number, number], offset: number, offsetSide: EuiPopoverPosition): BoundingBox;
|
|
2515
|
+
/**
|
|
2516
|
+
* Computes the fit (overlap) of the content within the container, fit is in range 0.0 => 1.0
|
|
2517
|
+
* @param contentBoundingBox bounding box of content to calculate fit for
|
|
2518
|
+
* @param containerBoundingBox bounding box of container
|
|
2519
|
+
* @returns {number}
|
|
2520
|
+
*/
|
|
2521
|
+
export function getVisibleFit(contentBoundingBox: BoundingBox, containerBoundingBox: BoundingBox): number;
|
|
2522
|
+
/**
|
|
2523
|
+
* Calculates the intersection space between two bounding boxes
|
|
2524
|
+
*
|
|
2525
|
+
* @param firstBox
|
|
2526
|
+
* @param secondBox
|
|
2527
|
+
* @returns {EuiClientRect}
|
|
2528
|
+
*/
|
|
2529
|
+
export function intersectBoundingBoxes(firstBox: BoundingBox, secondBox: BoundingBox): EuiClientRect;
|
|
2530
|
+
/**
|
|
2531
|
+
* Returns the top-most defined z-index in the element's ancestor hierarchy
|
|
2532
|
+
* relative to the `target` element; if no z-index is defined, returns 0
|
|
2533
|
+
* @param element {HTMLElement}
|
|
2534
|
+
* @param cousin {HTMLElement}
|
|
2535
|
+
* @returns {number}
|
|
2536
|
+
*/
|
|
2537
|
+
export function getElementZIndex(element: HTMLElement, cousin: HTMLElement): number;
|
|
2404
2538
|
export {};
|
|
2405
2539
|
|
|
2406
2540
|
}
|
|
2407
|
-
declare module '@elastic/eui/src/
|
|
2541
|
+
declare module '@elastic/eui/src/services/popover/popover_arrow.styles' {
|
|
2408
2542
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
*/
|
|
2421
|
-
euiTextTruncate__truncatedText: import("@emotion/react").SerializedStyles;
|
|
2422
|
-
euiTextTruncate__fullText: import("@emotion/react").SerializedStyles;
|
|
2543
|
+
/**
|
|
2544
|
+
* Arrow clipping/transform/positioning CSS shared between EuiPopover and EuiToolTip
|
|
2545
|
+
*/
|
|
2546
|
+
export const _popoverArrowStyles: ({ euiTheme, colorMode, highContrastMode }: UseEuiTheme, arrowSize: string) => {
|
|
2547
|
+
_arrowStyles: string;
|
|
2548
|
+
positions: {
|
|
2549
|
+
top: import("@emotion/react").SerializedStyles;
|
|
2550
|
+
bottom: import("@emotion/react").SerializedStyles;
|
|
2551
|
+
left: import("@emotion/react").SerializedStyles;
|
|
2552
|
+
right: import("@emotion/react").SerializedStyles;
|
|
2553
|
+
};
|
|
2423
2554
|
};
|
|
2424
2555
|
|
|
2425
2556
|
}
|
|
2426
|
-
declare module '@elastic/eui/src/
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
export
|
|
2430
|
-
export type
|
|
2431
|
-
/**
|
|
2432
|
-
* The full text string to truncate
|
|
2433
|
-
*/
|
|
2434
|
-
text: string;
|
|
2435
|
-
/**
|
|
2436
|
-
* The truncation type desired. Determines where the ellipses are placed.
|
|
2437
|
-
*/
|
|
2438
|
-
truncation?: EuiTextTruncationTypes;
|
|
2439
|
-
/**
|
|
2440
|
-
* This prop **only** applies to the `start` and `end` truncation types.
|
|
2441
|
-
* It allows preserving a certain number of characters of either the
|
|
2442
|
-
* starting or ending text.
|
|
2443
|
-
*
|
|
2444
|
-
* If the passed offset is greater than the total text length,
|
|
2445
|
-
* the offset will be ignored.
|
|
2446
|
-
*/
|
|
2447
|
-
truncationOffset?: number;
|
|
2448
|
-
/**
|
|
2449
|
-
* This prop **only** applies to the `startEnd` truncation type.
|
|
2450
|
-
* It allows customizing the anchor position of the displayed text,
|
|
2451
|
-
* which otherwise defaults to the middle of the text string.
|
|
2452
|
-
*
|
|
2453
|
-
* The primary use case for this prop for is search highlighting - e.g., if
|
|
2454
|
-
* a user searches for a specific word in the text, pass the index of that
|
|
2455
|
-
* found word to ensure it is always visible.
|
|
2456
|
-
*
|
|
2457
|
-
* This behavior will intelligently detect when positions are close to the start
|
|
2458
|
-
* or end of the text, and omit leading or trailing ellipses when necessary.
|
|
2459
|
-
* If the passed position is greater than the total text length,
|
|
2460
|
-
* the truncation will simply default to `start` instead.
|
|
2461
|
-
*/
|
|
2462
|
-
truncationPosition?: number;
|
|
2463
|
-
/**
|
|
2464
|
-
* Defaults to the horizontal ellipsis character.
|
|
2465
|
-
* Can be optionally configured to use other punctuation,
|
|
2466
|
-
* e.g. spaces, brackets, hyphens, asterisks, etc.
|
|
2467
|
-
*/
|
|
2468
|
-
ellipsis?: string;
|
|
2469
|
-
/**
|
|
2470
|
-
* By default, EuiTextTruncate will render a resize observer to detect the
|
|
2471
|
-
* available width it has. For performance reasons (e.g. multiple truncated
|
|
2472
|
-
* text items within the same container), you may opt to pass in your own
|
|
2473
|
-
* container width, which will skip initializing a resize observer.
|
|
2474
|
-
*/
|
|
2475
|
-
width?: number;
|
|
2476
|
-
/**
|
|
2477
|
-
* Optional callback that fires when the default resizer observer both mounts and
|
|
2478
|
-
* registers a size change. This callback will **not** fire if `width` is passed.
|
|
2479
|
-
*/
|
|
2480
|
-
onResize?: (width: number) => void;
|
|
2481
|
-
/**
|
|
2482
|
-
* By default, EuiTextTruncate will render the truncated string directly.
|
|
2483
|
-
* You can optionally pass a render prop function to the component, which
|
|
2484
|
-
* allows for more flexible text rendering, e.g. adding custom markup
|
|
2485
|
-
* or highlighting
|
|
2486
|
-
*/
|
|
2487
|
-
children?: (truncatedString: string) => ReactNode;
|
|
2488
|
-
/**
|
|
2489
|
-
* For some edge case scenarios, EuiTextTruncate's calculations may be off until
|
|
2490
|
-
* fonts are done loading or layout is done shifting or settling. Adding a delay
|
|
2491
|
-
* may help resolve any rendering issues.
|
|
2492
|
-
*/
|
|
2493
|
-
calculationDelayMs?: number;
|
|
2494
|
-
};
|
|
2495
|
-
export const EuiTextTruncate: FunctionComponent<EuiTextTruncateProps>;
|
|
2496
|
-
export {};
|
|
2557
|
+
declare module '@elastic/eui/src/services/popover' {
|
|
2558
|
+
export { calculatePopoverPosition } from '@elastic/eui/src/services/popover/calculate_popover_position';
|
|
2559
|
+
export { findPopoverPosition, getElementZIndex } from '@elastic/eui/src/services/popover/popover_positioning';
|
|
2560
|
+
export { _popoverArrowStyles } from '@elastic/eui/src/services/popover/popover_arrow.styles';
|
|
2561
|
+
export type { EuiPopoverPosition } from '@elastic/eui/src/services/popover/types';
|
|
2497
2562
|
|
|
2498
2563
|
}
|
|
2499
|
-
declare module '@elastic/eui/src/components/
|
|
2500
|
-
import {
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2564
|
+
declare module '@elastic/eui/src/components/panel/panel.styles' {
|
|
2565
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2566
|
+
export const euiPanelBorderStyles: (euiThemeContext: UseEuiTheme, options?: {
|
|
2567
|
+
borderColor?: string;
|
|
2568
|
+
}) => string;
|
|
2569
|
+
export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
2570
|
+
euiPanel: import("@emotion/react").SerializedStyles;
|
|
2571
|
+
grow: import("@emotion/react").SerializedStyles;
|
|
2572
|
+
hasShadow: import("@emotion/react").SerializedStyles;
|
|
2573
|
+
hasBorder: import("@emotion/react").SerializedStyles;
|
|
2574
|
+
radius: {
|
|
2575
|
+
none: import("@emotion/react").SerializedStyles;
|
|
2576
|
+
m: import("@emotion/react").SerializedStyles;
|
|
2577
|
+
};
|
|
2578
|
+
isClickable: import("@emotion/react").SerializedStyles;
|
|
2512
2579
|
};
|
|
2513
|
-
export const EuiTextBlockTruncate: FunctionComponent<EuiTextBlockTruncateProps>;
|
|
2514
|
-
|
|
2515
|
-
}
|
|
2516
|
-
declare module '@elastic/eui/src/components/text_truncate' {
|
|
2517
|
-
export type { EuiTextTruncateProps, EuiTextTruncationTypes, } from '@elastic/eui/src/components/text_truncate/text_truncate';
|
|
2518
|
-
export { EuiTextTruncate } from '@elastic/eui/src/components/text_truncate/text_truncate';
|
|
2519
|
-
export type { EuiTextBlockTruncateProps } from '@elastic/eui/src/components/text_truncate/text_block_truncate';
|
|
2520
|
-
export { EuiTextBlockTruncate } from '@elastic/eui/src/components/text_truncate/text_block_truncate';
|
|
2521
|
-
export { TruncationUtils } from '@elastic/eui/src/components/text_truncate/utils';
|
|
2522
2580
|
|
|
2523
2581
|
}
|
|
2524
|
-
declare module '@elastic/eui/src/components/
|
|
2582
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
|
|
2525
2583
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2526
|
-
export const
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
hasActions: import("@emotion/react").SerializedStyles;
|
|
2531
|
-
middle: import("@emotion/react").SerializedStyles;
|
|
2532
|
-
baseline: import("@emotion/react").SerializedStyles;
|
|
2584
|
+
export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
|
|
2585
|
+
export const euiToolTipBorderColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
|
|
2586
|
+
export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
|
|
2587
|
+
euiToolTip: import("@emotion/react").SerializedStyles;
|
|
2533
2588
|
top: import("@emotion/react").SerializedStyles;
|
|
2534
2589
|
bottom: import("@emotion/react").SerializedStyles;
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
readonly actions: import("@emotion/react").SerializedStyles;
|
|
2544
|
-
readonly expander: import("@emotion/react").SerializedStyles;
|
|
2545
|
-
/**
|
|
2546
|
-
* Custom actions may not be icons and therefore may not fit in a column
|
|
2547
|
-
* If they're the last cell, we can create a pseudo "row"/"border-top"
|
|
2548
|
-
* that mimicks the visual separation that the right column has
|
|
2549
|
-
*/
|
|
2550
|
-
customActions: import("@emotion/react").SerializedStyles;
|
|
2590
|
+
left: import("@emotion/react").SerializedStyles;
|
|
2591
|
+
right: import("@emotion/react").SerializedStyles;
|
|
2592
|
+
euiToolTip__arrow: import("@emotion/react").SerializedStyles;
|
|
2593
|
+
arrowPositions: {
|
|
2594
|
+
top: import("@emotion/react").SerializedStyles;
|
|
2595
|
+
bottom: import("@emotion/react").SerializedStyles;
|
|
2596
|
+
left: import("@emotion/react").SerializedStyles;
|
|
2597
|
+
right: import("@emotion/react").SerializedStyles;
|
|
2551
2598
|
};
|
|
2552
|
-
|
|
2599
|
+
euiToolTip__title: import("@emotion/react").SerializedStyles;
|
|
2600
|
+
};
|
|
2601
|
+
export const euiToolTipAnchorStyles: () => {
|
|
2602
|
+
euiToolTipAnchor: import("@emotion/react").SerializedStyles;
|
|
2603
|
+
block: import("@emotion/react").SerializedStyles;
|
|
2604
|
+
inlineBlock: import("@emotion/react").SerializedStyles;
|
|
2605
|
+
flex: import("@emotion/react").SerializedStyles;
|
|
2553
2606
|
};
|
|
2554
2607
|
|
|
2555
2608
|
}
|
|
2556
|
-
declare module '@elastic/eui/src/components/
|
|
2557
|
-
import {
|
|
2558
|
-
import {
|
|
2559
|
-
export
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
};
|
|
2567
|
-
};
|
|
2568
|
-
export const euiTableCellCheckboxStyles: (euiThemeContext: UseEuiTheme) => {
|
|
2569
|
-
euiTableHeaderCellCheckbox: import("@emotion/react").SerializedStyles;
|
|
2570
|
-
euiTableRowCellCheckbox: import("@emotion/react").SerializedStyles;
|
|
2571
|
-
desktop: import("@emotion/react").SerializedStyles;
|
|
2572
|
-
mobile: import("@emotion/react").SerializedStyles;
|
|
2609
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
|
|
2610
|
+
import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
|
|
2611
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2612
|
+
export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
|
|
2613
|
+
type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
2614
|
+
positionToolTip: () => void;
|
|
2615
|
+
children?: ReactNode;
|
|
2616
|
+
title?: ReactNode;
|
|
2617
|
+
popoverRef?: (ref: HTMLDivElement | null) => void;
|
|
2618
|
+
calculatedPosition?: ToolTipPositions;
|
|
2573
2619
|
};
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
*/
|
|
2577
|
-
export const _useEuiTableStickyCellStyles: (options?: EuiTableStickyCellOptions) => import("@emotion/react").SerializedStyles[] | undefined;
|
|
2620
|
+
export const EuiToolTipPopover: FunctionComponent<Props>;
|
|
2621
|
+
export {};
|
|
2578
2622
|
|
|
2579
2623
|
}
|
|
2580
|
-
declare module '@elastic/eui/src/
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
interface EuiTableRowCellSharedPropsShape extends EuiTableSharedWidthProps {
|
|
2624
|
+
declare module '@elastic/eui/src/services/popover/reposition_on_scroll' {
|
|
2625
|
+
type SupportedComponentDefaults = {
|
|
2626
|
+
repositionOnScroll?: boolean;
|
|
2627
|
+
};
|
|
2628
|
+
type RepositionOnScrollArgs<T extends SupportedComponentDefaults> = {
|
|
2586
2629
|
/**
|
|
2587
|
-
*
|
|
2630
|
+
* The component's `repositionOnScroll` prop.
|
|
2588
2631
|
*/
|
|
2589
|
-
|
|
2632
|
+
repositionOnScroll?: boolean;
|
|
2590
2633
|
/**
|
|
2591
|
-
*
|
|
2592
|
-
* long text correctly.
|
|
2593
|
-
* @default true
|
|
2634
|
+
* The function to be called on scroll to reposition the component.
|
|
2594
2635
|
*/
|
|
2595
|
-
|
|
2636
|
+
repositionFn: () => void;
|
|
2596
2637
|
/**
|
|
2597
|
-
*
|
|
2598
|
-
* - Set to `true` to enable single-line truncation.
|
|
2599
|
-
* - To enable multi-line truncation, use a configuration object with `lines`
|
|
2600
|
-
* set to a number of lines to truncate to.
|
|
2601
|
-
* @default false
|
|
2638
|
+
* The component's defaults context.
|
|
2602
2639
|
*/
|
|
2603
|
-
|
|
2604
|
-
|
|
2640
|
+
componentDefaults?: T;
|
|
2641
|
+
};
|
|
2642
|
+
/**
|
|
2643
|
+
* Returns the value of the `repositionOnScroll` from the props, component's defaults context
|
|
2644
|
+
* or default to `false`.
|
|
2645
|
+
*
|
|
2646
|
+
* @param args The arguments for `getRepositionOnScroll`. See {@link RepositionOnScrollArgs}.
|
|
2647
|
+
* @returns The value of the `repositionOnScroll`.
|
|
2648
|
+
*/
|
|
2649
|
+
export const getRepositionOnScroll: <T extends SupportedComponentDefaults>(args: RepositionOnScrollArgs<T>) => boolean;
|
|
2650
|
+
export type CreateRepositionOnScrollReturnType = {
|
|
2651
|
+
subscribe: () => void;
|
|
2652
|
+
update: () => void;
|
|
2653
|
+
cleanup: () => void;
|
|
2654
|
+
};
|
|
2655
|
+
/**
|
|
2656
|
+
* Creates a manager for handling `repositionOnScroll` logic in overlay components.
|
|
2657
|
+
* This utility abstracts the adding, updating, and removing of window scroll event listeners.
|
|
2658
|
+
*
|
|
2659
|
+
* @param getArgs A function that returns the arguments for `getRepositionOnScroll`. See {@link RepositionOnScrollArgs}.
|
|
2660
|
+
* @returns An object with `subscribe`, `update`, and `cleanup` methods to manage the scroll listener.
|
|
2661
|
+
*/
|
|
2662
|
+
export const createRepositionOnScroll: <T extends SupportedComponentDefaults>(getArgs: () => RepositionOnScrollArgs<T>) => CreateRepositionOnScrollReturnType;
|
|
2663
|
+
export {};
|
|
2664
|
+
|
|
2665
|
+
}
|
|
2666
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_anchor' {
|
|
2667
|
+
import React, { HTMLAttributes, type FocusEvent as ReactFocusEvent } from 'react';
|
|
2668
|
+
import type { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
2669
|
+
export type EuiToolTipAnchorProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onBlur' | 'onFocus' | 'children'> & Required<Pick<EuiToolTipProps, 'display' | 'children'>> & {
|
|
2670
|
+
onBlur: () => void;
|
|
2671
|
+
onFocus: (e: ReactFocusEvent) => void;
|
|
2672
|
+
isVisible: boolean;
|
|
2673
|
+
};
|
|
2674
|
+
export const EuiToolTipAnchor: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLSpanElement>, "children" | "onFocus" | "onBlur"> & Required<Pick<EuiToolTipProps, "children" | "display">> & {
|
|
2675
|
+
onBlur: () => void;
|
|
2676
|
+
onFocus: (e: ReactFocusEvent) => void;
|
|
2677
|
+
isVisible: boolean;
|
|
2678
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
2679
|
+
|
|
2680
|
+
}
|
|
2681
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_arrow' {
|
|
2682
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
2683
|
+
import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
2684
|
+
export const EuiToolTipArrow: FunctionComponent<{
|
|
2685
|
+
position: ToolTipPositions;
|
|
2686
|
+
} & HTMLAttributes<HTMLDivElement>>;
|
|
2687
|
+
|
|
2688
|
+
}
|
|
2689
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_manager' {
|
|
2690
|
+
class ToolTipManager {
|
|
2691
|
+
toolTipsToHide: Set<Function>;
|
|
2692
|
+
lastHiddenAt: number | null;
|
|
2693
|
+
registerTooltip: (hideCallback: Function) => {
|
|
2694
|
+
skipAnimation: boolean;
|
|
2605
2695
|
};
|
|
2606
|
-
|
|
2607
|
-
export interface EuiTableRowCellMobileOptionsShape extends EuiTableRowCellSharedPropsShape {
|
|
2608
|
-
/**
|
|
2609
|
-
* If false, will not render the cell at all for mobile
|
|
2610
|
-
* @default true
|
|
2611
|
-
*/
|
|
2612
|
-
show?: boolean;
|
|
2696
|
+
deregisterToolTip: (hideCallback: Function) => void;
|
|
2613
2697
|
/**
|
|
2614
|
-
*
|
|
2615
|
-
*
|
|
2698
|
+
* Resets all internal state. Primarily intended for tests, so that a
|
|
2699
|
+
* tooltip shown in one test doesn't leak into the next (the manager is a
|
|
2700
|
+
* module-level singleton).
|
|
2616
2701
|
*/
|
|
2617
|
-
|
|
2702
|
+
reset: () => void;
|
|
2703
|
+
}
|
|
2704
|
+
export const toolTipManager: ToolTipManager;
|
|
2705
|
+
export {};
|
|
2706
|
+
|
|
2707
|
+
}
|
|
2708
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
|
|
2709
|
+
import React, { ReactElement, ReactNode, type MouseEvent as ReactMouseEvent, HTMLAttributes } from 'react';
|
|
2710
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2711
|
+
import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
2712
|
+
export const POSITIONS: readonly ["top", "right", "bottom", "left"]; const DISPLAYS: readonly ["inlineBlock", "block", "flex"];
|
|
2713
|
+
export const DEFAULT_TOOLTIP_OFFSET = 16;
|
|
2714
|
+
export interface EuiToolTipProps extends CommonProps {
|
|
2618
2715
|
/**
|
|
2619
|
-
*
|
|
2716
|
+
* Passes onto the span wrapping the trigger.
|
|
2620
2717
|
*/
|
|
2621
|
-
|
|
2718
|
+
anchorClassName?: string;
|
|
2622
2719
|
/**
|
|
2623
|
-
*
|
|
2624
|
-
* when using `EuiBasicTable`).
|
|
2625
|
-
* Or pass `false` to not show a header at all.
|
|
2720
|
+
* Passes onto the span wrapping the trigger.
|
|
2626
2721
|
*/
|
|
2627
|
-
|
|
2722
|
+
anchorProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
|
|
2628
2723
|
/**
|
|
2629
|
-
*
|
|
2630
|
-
* @default false
|
|
2724
|
+
* The in-view trigger for your tooltip.
|
|
2631
2725
|
*/
|
|
2632
|
-
|
|
2726
|
+
children: ReactElement;
|
|
2633
2727
|
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @default 50%
|
|
2728
|
+
* Passes onto the tooltip itself, not the trigger.
|
|
2636
2729
|
*/
|
|
2637
|
-
|
|
2638
|
-
}
|
|
2639
|
-
export interface EuiTableRowCellProps extends EuiTableRowCellSharedPropsShape {
|
|
2730
|
+
className?: string;
|
|
2640
2731
|
/**
|
|
2641
|
-
*
|
|
2732
|
+
* The main content of your tooltip.
|
|
2642
2733
|
*/
|
|
2643
|
-
|
|
2734
|
+
content?: ReactNode;
|
|
2644
2735
|
/**
|
|
2645
|
-
*
|
|
2736
|
+
* Common display alternatives for the anchor wrapper
|
|
2646
2737
|
*/
|
|
2647
|
-
|
|
2738
|
+
display?: (typeof DISPLAYS)[number];
|
|
2648
2739
|
/**
|
|
2649
|
-
*
|
|
2650
|
-
* (used for mobile styling and desktop action hover behavior)
|
|
2740
|
+
* An optional title for your tooltip.
|
|
2651
2741
|
*/
|
|
2652
|
-
|
|
2742
|
+
title?: ReactNode;
|
|
2653
2743
|
/**
|
|
2654
|
-
*
|
|
2744
|
+
* Unless you provide one, this will be randomly generated.
|
|
2655
2745
|
*/
|
|
2656
|
-
|
|
2746
|
+
id?: string;
|
|
2657
2747
|
/**
|
|
2658
|
-
*
|
|
2659
|
-
* See {@link EuiTableRowCellMobileOptionsShape}
|
|
2748
|
+
* Suggested position. If there is not enough room for it this will be changed.
|
|
2660
2749
|
*/
|
|
2661
|
-
|
|
2750
|
+
position?: ToolTipPositions;
|
|
2662
2751
|
/**
|
|
2663
|
-
*
|
|
2752
|
+
* When `true`, the tooltip's position is re-calculated when the user
|
|
2753
|
+
* scrolls. This supports having fixed-position tooltip anchors.
|
|
2664
2754
|
*
|
|
2665
|
-
*
|
|
2755
|
+
* When nesting an `EuiTooltip` in a scrollable container, `repositionOnScroll` should be `true`
|
|
2666
2756
|
*/
|
|
2667
|
-
|
|
2757
|
+
repositionOnScroll?: boolean;
|
|
2668
2758
|
/**
|
|
2669
|
-
*
|
|
2670
|
-
*
|
|
2671
|
-
*
|
|
2672
|
-
*
|
|
2673
|
-
*
|
|
2674
|
-
* Currently, it can only be used when the cell is in the first or the last
|
|
2675
|
-
* column of a table.
|
|
2676
|
-
*
|
|
2677
|
-
* When set to `true` and `hasBackground: false` is set on the table,
|
|
2678
|
-
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
2679
|
-
* the background color of the element containing the table.
|
|
2680
|
-
* Otherwise, the sticky cell will use the default `backgroundBasePlain`
|
|
2681
|
-
* background color.
|
|
2682
|
-
* @internal
|
|
2683
|
-
* @beta
|
|
2759
|
+
* Disables the tooltip content being read by screen readers when focusing the trigger element.
|
|
2760
|
+
* Do not use when the trigger `aria-label` and tooltip `content` can be rephrased to be standalone
|
|
2761
|
+
* information (action & additional information).
|
|
2762
|
+
* Enable this prop only when the trigger has a descriptive label that either duplicates or includes
|
|
2763
|
+
* the tooltip content and would result in repetitive output.
|
|
2684
2764
|
* @default false
|
|
2685
2765
|
*/
|
|
2686
|
-
|
|
2687
|
-
}
|
|
2688
|
-
type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
|
|
2689
|
-
export const EuiTableRowCell: FunctionComponent<Props>;
|
|
2690
|
-
export {};
|
|
2691
|
-
|
|
2692
|
-
}
|
|
2693
|
-
declare module '@elastic/eui/src/components/table/_table_cell_content.styles' {
|
|
2694
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2695
|
-
export const euiTableCellContentStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
2696
|
-
euiTableCellContent: import("@emotion/react").SerializedStyles;
|
|
2697
|
-
left: null;
|
|
2698
|
-
right: import("@emotion/react").SerializedStyles;
|
|
2699
|
-
center: import("@emotion/react").SerializedStyles;
|
|
2700
|
-
truncateText: import("@emotion/react").SerializedStyles;
|
|
2701
|
-
wrapText: import("@emotion/react").SerializedStyles;
|
|
2702
|
-
hasActions: {
|
|
2703
|
-
actions: import("@emotion/react").SerializedStyles;
|
|
2704
|
-
custom: import("@emotion/react").SerializedStyles;
|
|
2705
|
-
desktop: import("@emotion/react").SerializedStyles;
|
|
2706
|
-
mobile: import("@emotion/react").SerializedStyles;
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
|
|
2710
|
-
}
|
|
2711
|
-
declare module '@elastic/eui/src/components/table/_table_cell_content' {
|
|
2712
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
2713
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2714
|
-
import type { EuiTableRowCellProps } from '@elastic/eui/src/components/table/table_row_cell';
|
|
2715
|
-
export type EuiTableCellContentProps = CommonProps & HTMLAttributes<HTMLDivElement> & Pick<EuiTableRowCellProps, 'align' | 'hasActions' | 'textOnly'> & {
|
|
2716
|
-
truncateText?: EuiTableRowCellProps['truncateText'] | null;
|
|
2717
|
-
};
|
|
2718
|
-
export const EuiTableCellContent: FunctionComponent<EuiTableCellContentProps>;
|
|
2719
|
-
|
|
2720
|
-
}
|
|
2721
|
-
declare module '@elastic/eui/src/components/table/table_footer_cell' {
|
|
2722
|
-
import { FunctionComponent, TdHTMLAttributes } from 'react';
|
|
2723
|
-
import { HorizontalAlignment } from '@elastic/eui/src/services';
|
|
2724
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2725
|
-
import { EuiTableSharedWidthProps, EuiTableStickyCellOptions } from '@elastic/eui/src/components/table/types';
|
|
2726
|
-
export type EuiTableFooterCellProps = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'width'> & EuiTableSharedWidthProps & {
|
|
2727
|
-
align?: HorizontalAlignment;
|
|
2766
|
+
disableScreenReaderOutput?: boolean;
|
|
2728
2767
|
/**
|
|
2729
|
-
*
|
|
2730
|
-
*
|
|
2731
|
-
* This option is not applied in the responsive cards layout - see
|
|
2732
|
-
* {@link EuiTableProps#responsiveBreakpoint|`responsiveBreakpoint`}.
|
|
2733
|
-
*
|
|
2734
|
-
* Currently, it can only be used when the cell is in the first or the last
|
|
2735
|
-
* column of a table.
|
|
2736
|
-
*
|
|
2737
|
-
* When set to `true` and `hasBackground: false` is set on the table,
|
|
2738
|
-
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
2739
|
-
* the background color of the element containing the table.
|
|
2740
|
-
* Otherwise, the sticky cell will use the default `backgroundBasePlain`
|
|
2741
|
-
* background color.
|
|
2742
|
-
* @internal
|
|
2743
|
-
* @beta
|
|
2744
|
-
* @default false
|
|
2768
|
+
* If supplied, called when mouse movement causes the tool tip to be
|
|
2769
|
+
* hidden.
|
|
2745
2770
|
*/
|
|
2746
|
-
|
|
2747
|
-
};
|
|
2748
|
-
export const EuiTableFooterCell: FunctionComponent<EuiTableFooterCellProps>;
|
|
2749
|
-
|
|
2750
|
-
}
|
|
2751
|
-
declare module '@elastic/eui/src/components/table/table_header' {
|
|
2752
|
-
import { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
|
|
2753
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2754
|
-
export type EuiTableHeaderProps = CommonProps & HTMLAttributes<HTMLElement> & {
|
|
2771
|
+
onMouseOut?: (event: ReactMouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
2755
2772
|
/**
|
|
2756
|
-
*
|
|
2757
|
-
* Use `<td> | <th>` by default, or `<tr><th/></tr>` when `wrapWithTableRow=false`
|
|
2773
|
+
* If supplied, called when the trigger loses focus.
|
|
2758
2774
|
*/
|
|
2759
|
-
|
|
2775
|
+
onBlur?: () => void;
|
|
2760
2776
|
/**
|
|
2761
|
-
*
|
|
2777
|
+
* Offset in pixels from the anchor. Defaults to 16.
|
|
2762
2778
|
*/
|
|
2763
|
-
|
|
2764
|
-
}
|
|
2765
|
-
export
|
|
2779
|
+
offset?: number;
|
|
2780
|
+
}
|
|
2781
|
+
export interface EuiToolTipRef {
|
|
2782
|
+
showToolTip: () => void;
|
|
2783
|
+
hideToolTip: () => void;
|
|
2784
|
+
id: string;
|
|
2785
|
+
}
|
|
2786
|
+
export const EuiToolTip: React.ForwardRefExoticComponent<EuiToolTipProps & React.RefAttributes<EuiToolTipRef>>;
|
|
2787
|
+
export {};
|
|
2766
2788
|
|
|
2767
2789
|
}
|
|
2768
2790
|
declare module '@elastic/eui/src/components/icon/assets/accessibility' {
|
|
@@ -7274,6 +7296,17 @@ declare module '@elastic/eui/src/components/icon/assets/share' {
|
|
|
7274
7296
|
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
7275
7297
|
export {};
|
|
7276
7298
|
|
|
7299
|
+
}
|
|
7300
|
+
declare module '@elastic/eui/src/components/icon/assets/significant_events' {
|
|
7301
|
+
import * as React from 'react';
|
|
7302
|
+
import type { SVGProps } from 'react';
|
|
7303
|
+
interface SVGRProps {
|
|
7304
|
+
title?: string;
|
|
7305
|
+
titleId?: string;
|
|
7306
|
+
}
|
|
7307
|
+
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
7308
|
+
export {};
|
|
7309
|
+
|
|
7277
7310
|
}
|
|
7278
7311
|
declare module '@elastic/eui/src/components/icon/assets/single_metric_viewer' {
|
|
7279
7312
|
import * as React from 'react';
|
|
@@ -9206,6 +9239,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
9206
9239
|
sessionViewer: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/session_viewer")>;
|
|
9207
9240
|
shard: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/shard")>;
|
|
9208
9241
|
share: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/share")>;
|
|
9242
|
+
significantEvents: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/significant_events")>;
|
|
9209
9243
|
singleMetricViewer: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/single_metric_viewer")>;
|
|
9210
9244
|
snowflake: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/snowflake")>;
|
|
9211
9245
|
sortAscending: () => Promise<typeof import ("@elastic/eui/src/components/icon/assets/sort_ascending")>;
|
|
@@ -9426,7 +9460,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
9426
9460
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
9427
9461
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
9428
9462
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
9429
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "map" | "menu" | "search" | "section" | "table" | "filter" | "image" | "pattern" | "stop" | "text" | "at" | "key" | "error" | "warning" | "textHeading" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "drag" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "display" | "lineBreak" | "wordWrap" | "grid" | "empty" | "invert" | "ellipsis" | "crosshair" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "presentation" | "email" | "annotation" | "mapping" | "container" | "logoElastic" | "accessibility" | "addDataApp" | "addToDashboard" | "advancedSettingsApp" | "agentApp" | "aggregate" | "alignBottom" | "alignBottomLeft" | "alignBottomRight" | "alignCenterHorizontal" | "alignCenterVertical" | "alignLeft" | "alignRight" | "alignTop" | "alignTopLeft" | "alignTopRight" | "analyzeEvent" | "anomalyChart" | "chartAnomaly" | "anomalySwimLane" | "apmApp" | "apmTrace" | "chartWaterfall" | "appSearchApp" | "apps" | "arrowDown" | "chevronSingleDown" | "arrowLeft" | "chevronSingleLeft" | "arrowRight" | "chevronSingleRight" | "arrowUp" | "chevronSingleUp" | "arrowStart" | "chevronLimitLeft" | "arrowEnd" | "chevronLimitRight" | "asterisk" | "archive" | "axisX" | "axisYLeft" | "axisYRight" | "auditbeatApp" | "backgroundTask" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "boxesHorizontal" | "boxesVertical" | "branch" | "briefcase" | "branchUser" | "broom" | "brush" | "bug" | "bulb" | "bullseye" | "calendar" | "canvasApp" | "casesApp" | "changePointDetection" | "chartChangePoint" | "chartArea" | "chartAreaStack" | "chartBarHorizontal" | "chartBarHorizontalStack" | "chartBarVertical" | "chartBarVerticalStack" | "chartGauge" | "chartHeatmap" | "chartLine" | "chartPie" | "chartTagCloud" | "chartThreshold" | "check" | "checkCircle" | "checkInCircleFilled" | "checkCircleFill" | "cheer" | "popper" | "classificationJob" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "clockControl" | "cloud" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "codeApp" | "paintBucket" | "commandLine" | "comment" | "compare" | "compute" | "processor" | "console" | "consoleApp" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "contrastFill" | "controls" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "crossProjectSearch" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "cross" | "crossClusterReplicationApp" | "crossInCircle" | "crossCircle" | "crosshairs" | "currency" | "money" | "scissors" | "dashboardApp" | "dashedCircle" | "dataVisualizer" | "database" | "desktop" | "devToolsApp" | "diff" | "discoverApp" | "distributeHorizontal" | "distributeVertical" | "download" | "dragHorizontal" | "dragVertical" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "chevronDoubleLeft" | "doubleArrowRight" | "chevronDoubleRight" | "editorAlignCenter" | "textAlignCenter" | "editorAlignLeft" | "textAlignLeft" | "editorAlignRight" | "textAlignRight" | "editorBold" | "textBold" | "editorChecklist" | "listCheck" | "editorCodeBlock" | "editorComment" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorHeading" | "editorItalic" | "textItalic" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorLink" | "editorOrderedList" | "listNumber" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "editorRedo" | "redo" | "editorStrike" | "textStrike" | "editorTable" | "editorUnderline" | "textUnderline" | "editorUndo" | "undo" | "editorUnorderedList" | "listBullet" | "mail" | "emsApp" | "endpoint" | "eql" | "query" | "eraser" | "errorFilled" | "errorFill" | "esqlVis" | "exit" | "logOut" | "expand" | "maximize" | "expandMini" | "export" | "exportAction" | "upload" | "external" | "eye" | "eyeClosed" | "eyeSlash" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "tableInfo" | "filebeatApp" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flask" | "flag" | "fleetApp" | "fold" | "folder" | "folderClosed" | "folderClose" | "folderCheck" | "folderExclamation" | "folderOpen" | "folderOpened" | "frameNext" | "framePrevious" | "fullScreen" | "fullScreenExit" | "gear" | "gisApp" | "glasses" | "globe" | "grabHorizontal" | "grabOmnidirectional" | "gradient" | "graphApp" | "grokApp" | "heart" | "heartbeatApp" | "heatmap" | "home" | "hourglass" | "if" | "info" | "importAction" | "index" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "indexTemporary" | "tableTime" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kqlField" | "queryField" | "kqlFunction" | "kqlOperand" | "queryOperand" | "kqlSelector" | "querySelector" | "kqlValue" | "queryValue" | "kubernetesNode" | "kubernetesPod" | "launch" | "rocket" | "layers" | "lensApp" | "lettering" | "lineBreakSlash" | "lineDash" | "lineDashed" | "lineDot" | "lineDotted" | "lineSolid" | "linkSlash" | "listAdd" | "lock" | "lockOpen" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "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" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "queue" | "machineLearningApp" | "magnet" | "magnify" | "magnifyExclamation" | "magnifyMinus" | "magnifyPlus" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "managementApp" | "mapMarker" | "waypoint" | "megaphone" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "metricbeatApp" | "metricsApp" | "minimize" | "minus" | "minusCircle" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "minusSquare" | "mobile" | "monitoringApp" | "moon" | "namespace" | "nested" | "newChat" | "node" | "vectorTriangle" | "notebookApp" | "wifiSlash" | "wifi" | "outlierDetectionJob" | "package" | "packetbeatApp" | "pageSelect" | "pagesSelect" | "palette" | "paperClip" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pinFill" | "pinFilled" | "pipeBreaks" | "pipelineApp" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "plusCircle" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "plusSquare" | "popout" | "productRobot" | "productAgent" | "productCloudInfra" | "productDashboard" | "productDiscover" | "productML" | "productStreamsClassic" | "productStreamsWired" | "send" | "question" | "quote" | "radar" | "readOnly" | "recentlyViewedApp" | "regressionJob" | "reporter" | "reportingApp" | "return" | "returnKey" | "save" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "server" | "sessionViewer" | "shard" | "share" | "singleMetricViewer" | "snowflake" | "sortAscending" | "sortDescending" | "sortDown" | "sortLeft" | "sortRight" | "sortUp" | "sortable" | "spacesApp" | "sparkles" | "sqlApp" | "star" | "starEmpty" | "starEmptySpace" | "starFill" | "starFilled" | "starFillSpace" | "starFilledSpace" | "starMinusEmpty" | "starMinusFill" | "starMinusFilled" | "starPlusEmpty" | "starPlusFill" | "starPlusFilled" | "stats" | "stopFill" | "stopFilled" | "stopSlash" | "streamsClassic" | "streamsWired" | "submodule" | "sun" | "swatchInput" | "symlink" | "tableDensityCompact" | "tableDensityHigh" | "tableDensityExpanded" | "tableDensityLow" | "tableDensityNormal" | "tableOfContents" | "tag" | "tear" | "thermometer" | "thumbDown" | "thumbUp" | "timeline" | "timelineWithArrow" | "timelionApp" | "timeRefresh" | "refreshTime" | "timeslider" | "training" | "transitionBottomIn" | "transitionBottomOut" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "upgradeAssistantApp" | "uptimeApp" | "user" | "userAvatar" | "users" | "usersRolesApp" | "unarchive" | "vector" | "vectorSquare" | "videoPlayer" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "chartMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "warningFilled" | "warningFill" | "watchesApp" | "web" | "wordWrapDisabled" | "workflowsApp" | "workflow" | "workplaceSearchApp" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "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" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenDenseVector" | "tokenVectorSparse")[];
|
|
9463
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "map" | "menu" | "search" | "section" | "table" | "filter" | "image" | "pattern" | "stop" | "text" | "at" | "key" | "error" | "warning" | "textHeading" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "drag" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "display" | "lineBreak" | "wordWrap" | "grid" | "empty" | "invert" | "ellipsis" | "crosshair" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "presentation" | "email" | "annotation" | "mapping" | "container" | "logoElastic" | "accessibility" | "addDataApp" | "addToDashboard" | "advancedSettingsApp" | "agentApp" | "aggregate" | "alignBottom" | "alignBottomLeft" | "alignBottomRight" | "alignCenterHorizontal" | "alignCenterVertical" | "alignLeft" | "alignRight" | "alignTop" | "alignTopLeft" | "alignTopRight" | "analyzeEvent" | "anomalyChart" | "chartAnomaly" | "anomalySwimLane" | "apmApp" | "apmTrace" | "chartWaterfall" | "appSearchApp" | "apps" | "arrowDown" | "chevronSingleDown" | "arrowLeft" | "chevronSingleLeft" | "arrowRight" | "chevronSingleRight" | "arrowUp" | "chevronSingleUp" | "arrowStart" | "chevronLimitLeft" | "arrowEnd" | "chevronLimitRight" | "asterisk" | "archive" | "axisX" | "axisYLeft" | "axisYRight" | "auditbeatApp" | "backgroundTask" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "boxesHorizontal" | "boxesVertical" | "branch" | "briefcase" | "branchUser" | "broom" | "brush" | "bug" | "bulb" | "bullseye" | "calendar" | "canvasApp" | "casesApp" | "changePointDetection" | "chartChangePoint" | "chartArea" | "chartAreaStack" | "chartBarHorizontal" | "chartBarHorizontalStack" | "chartBarVertical" | "chartBarVerticalStack" | "chartGauge" | "chartHeatmap" | "chartLine" | "chartPie" | "chartTagCloud" | "chartThreshold" | "check" | "checkCircle" | "checkInCircleFilled" | "checkCircleFill" | "cheer" | "popper" | "classificationJob" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "clockControl" | "cloud" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "codeApp" | "paintBucket" | "commandLine" | "comment" | "compare" | "compute" | "processor" | "console" | "consoleApp" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "contrastFill" | "controls" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "crossProjectSearch" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "cross" | "crossClusterReplicationApp" | "crossInCircle" | "crossCircle" | "crosshairs" | "currency" | "money" | "scissors" | "dashboardApp" | "dashedCircle" | "dataVisualizer" | "database" | "desktop" | "devToolsApp" | "diff" | "discoverApp" | "distributeHorizontal" | "distributeVertical" | "download" | "dragHorizontal" | "dragVertical" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "chevronDoubleLeft" | "doubleArrowRight" | "chevronDoubleRight" | "editorAlignCenter" | "textAlignCenter" | "editorAlignLeft" | "textAlignLeft" | "editorAlignRight" | "textAlignRight" | "editorBold" | "textBold" | "editorChecklist" | "listCheck" | "editorCodeBlock" | "editorComment" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorHeading" | "editorItalic" | "textItalic" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorLink" | "editorOrderedList" | "listNumber" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "editorRedo" | "redo" | "editorStrike" | "textStrike" | "editorTable" | "editorUnderline" | "textUnderline" | "editorUndo" | "undo" | "editorUnorderedList" | "listBullet" | "mail" | "emsApp" | "endpoint" | "eql" | "query" | "eraser" | "errorFilled" | "errorFill" | "esqlVis" | "exit" | "logOut" | "expand" | "maximize" | "expandMini" | "export" | "exportAction" | "upload" | "external" | "eye" | "eyeClosed" | "eyeSlash" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "tableInfo" | "filebeatApp" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flask" | "flag" | "fleetApp" | "fold" | "folder" | "folderClosed" | "folderClose" | "folderCheck" | "folderExclamation" | "folderOpen" | "folderOpened" | "frameNext" | "framePrevious" | "fullScreen" | "fullScreenExit" | "gear" | "gisApp" | "glasses" | "globe" | "grabHorizontal" | "grabOmnidirectional" | "gradient" | "graphApp" | "grokApp" | "heart" | "heartbeatApp" | "heatmap" | "home" | "hourglass" | "if" | "info" | "importAction" | "index" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "indexTemporary" | "tableTime" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kqlField" | "queryField" | "kqlFunction" | "kqlOperand" | "queryOperand" | "kqlSelector" | "querySelector" | "kqlValue" | "queryValue" | "kubernetesNode" | "kubernetesPod" | "launch" | "rocket" | "layers" | "lensApp" | "lettering" | "lineBreakSlash" | "lineDash" | "lineDashed" | "lineDot" | "lineDotted" | "lineSolid" | "linkSlash" | "listAdd" | "lock" | "lockOpen" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "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" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "queue" | "machineLearningApp" | "magnet" | "magnify" | "magnifyExclamation" | "magnifyMinus" | "magnifyPlus" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "managementApp" | "mapMarker" | "waypoint" | "megaphone" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "metricbeatApp" | "metricsApp" | "minimize" | "minus" | "minusCircle" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "minusSquare" | "mobile" | "monitoringApp" | "moon" | "namespace" | "nested" | "newChat" | "node" | "vectorTriangle" | "notebookApp" | "wifiSlash" | "wifi" | "outlierDetectionJob" | "package" | "packetbeatApp" | "pageSelect" | "pagesSelect" | "palette" | "paperClip" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pinFill" | "pinFilled" | "pipeBreaks" | "pipelineApp" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "plusCircle" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "plusSquare" | "popout" | "productRobot" | "productAgent" | "productCloudInfra" | "productDashboard" | "productDiscover" | "productML" | "productStreamsClassic" | "productStreamsWired" | "send" | "question" | "quote" | "radar" | "readOnly" | "recentlyViewedApp" | "regressionJob" | "reporter" | "reportingApp" | "return" | "returnKey" | "save" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "server" | "sessionViewer" | "shard" | "share" | "significantEvents" | "singleMetricViewer" | "snowflake" | "sortAscending" | "sortDescending" | "sortDown" | "sortLeft" | "sortRight" | "sortUp" | "sortable" | "spacesApp" | "sparkles" | "sqlApp" | "star" | "starEmpty" | "starEmptySpace" | "starFill" | "starFilled" | "starFillSpace" | "starFilledSpace" | "starMinusEmpty" | "starMinusFill" | "starMinusFilled" | "starPlusEmpty" | "starPlusFill" | "starPlusFilled" | "stats" | "stopFill" | "stopFilled" | "stopSlash" | "streamsClassic" | "streamsWired" | "submodule" | "sun" | "swatchInput" | "symlink" | "tableDensityCompact" | "tableDensityHigh" | "tableDensityExpanded" | "tableDensityLow" | "tableDensityNormal" | "tableOfContents" | "tag" | "tear" | "thermometer" | "thumbDown" | "thumbUp" | "timeline" | "timelineWithArrow" | "timelionApp" | "timeRefresh" | "refreshTime" | "timeslider" | "training" | "transitionBottomIn" | "transitionBottomOut" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "upgradeAssistantApp" | "uptimeApp" | "user" | "userAvatar" | "users" | "usersRolesApp" | "unarchive" | "vector" | "vectorSquare" | "videoPlayer" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "chartMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "warningFilled" | "warningFill" | "watchesApp" | "web" | "wordWrapDisabled" | "workflowsApp" | "workflow" | "workplaceSearchApp" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "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" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenDenseVector" | "tokenVectorSparse")[];
|
|
9430
9464
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
9431
9465
|
export type IconType = EuiIconType | string | ComponentType;
|
|
9432
9466
|
export type IconColor = string | NamedColor;
|
|
@@ -9491,495 +9525,514 @@ declare module '@elastic/eui/src/components/icon' {
|
|
|
9491
9525
|
export { EuiIcon, TYPES as ICON_TYPES, SIZES as ICON_SIZES, COLORS as ICON_COLORS, } from '@elastic/eui/src/components/icon/icon';
|
|
9492
9526
|
|
|
9493
9527
|
}
|
|
9494
|
-
declare module '@elastic/eui/src/components/
|
|
9495
|
-
import { FunctionComponent
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9528
|
+
declare module '@elastic/eui/src/components/tool_tip/icon_tip' {
|
|
9529
|
+
import { FunctionComponent } from 'react';
|
|
9530
|
+
import { PropsOf } from '@elastic/eui/src/components/common';
|
|
9531
|
+
import { EuiIcon, IconSize, IconType } from '@elastic/eui/src/components/icon';
|
|
9532
|
+
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
9533
|
+
export type EuiIconTipProps = Omit<EuiToolTipProps, 'children' | 'position'> & {
|
|
9499
9534
|
/**
|
|
9500
|
-
*
|
|
9535
|
+
* Children are not allowed as they are built using the icon props
|
|
9501
9536
|
*/
|
|
9502
|
-
children
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9537
|
+
children?: never;
|
|
9538
|
+
/**
|
|
9539
|
+
* The icon color.
|
|
9540
|
+
*/
|
|
9541
|
+
color?: string;
|
|
9542
|
+
/**
|
|
9543
|
+
* The icon type.
|
|
9544
|
+
*/
|
|
9545
|
+
type?: IconType;
|
|
9546
|
+
/**
|
|
9547
|
+
* The icon size.
|
|
9548
|
+
*/
|
|
9549
|
+
size?: IconSize;
|
|
9550
|
+
/**
|
|
9551
|
+
* Explain what this icon means for screen readers.
|
|
9552
|
+
*/
|
|
9553
|
+
'aria-label'?: string;
|
|
9554
|
+
/**
|
|
9555
|
+
* Pass certain props down to `EuiIcon`
|
|
9556
|
+
*/
|
|
9557
|
+
iconProps?: Omit<PropsOf<typeof EuiIcon>, 'type'> & {
|
|
9558
|
+
type?: never;
|
|
9559
|
+
};
|
|
9560
|
+
position?: EuiToolTipProps['position'];
|
|
9561
|
+
};
|
|
9562
|
+
export const EuiIconTip: FunctionComponent<EuiIconTipProps>;
|
|
9512
9563
|
|
|
9513
9564
|
}
|
|
9514
|
-
declare module '@elastic/eui/src/
|
|
9515
|
-
export type
|
|
9565
|
+
declare module '@elastic/eui/src/components/tool_tip' {
|
|
9566
|
+
export type { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
9567
|
+
export type { EuiToolTipProps, EuiToolTipRef } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
9568
|
+
export { EuiToolTip } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
9569
|
+
export type { EuiIconTipProps } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
9570
|
+
export { EuiIconTip } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
9516
9571
|
|
|
9517
9572
|
}
|
|
9518
|
-
declare module '@elastic/eui/src/services/
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
}
|
|
9526
|
-
interface EuiPopoverAnchorRect extends EuiPopoverBoundingBox {
|
|
9527
|
-
right: number;
|
|
9528
|
-
bottom: number;
|
|
9529
|
-
}
|
|
9530
|
-
interface EuiPopoverDimensions {
|
|
9531
|
-
width: number;
|
|
9532
|
-
height: number;
|
|
9533
|
-
}
|
|
9534
|
-
interface EuiPopoverPositionedBox extends EuiPopoverBoundingBox {
|
|
9535
|
-
position: EuiPopoverPosition;
|
|
9536
|
-
}
|
|
9573
|
+
declare module '@elastic/eui/src/services/canvas/canvas_text_utils' {
|
|
9574
|
+
import type { ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
9575
|
+
export type CanvasTextParams = ExclusiveUnion<{
|
|
9576
|
+
container: HTMLElement;
|
|
9577
|
+
}, {
|
|
9578
|
+
font: CanvasTextDrawingStyles['font'];
|
|
9579
|
+
}>;
|
|
9537
9580
|
/**
|
|
9538
|
-
*
|
|
9581
|
+
* Creates a temporary Canvas element for manipulating text & determining text width.
|
|
9539
9582
|
*
|
|
9540
|
-
*
|
|
9541
|
-
*
|
|
9542
|
-
*
|
|
9543
|
-
*
|
|
9544
|
-
* popover and the window.
|
|
9545
|
-
* @param {Array} positions - List of acceptable positions. Defaults to ["top", "right", "bottom", "left"].
|
|
9583
|
+
* To accurately measure text, canvas rendering requires either a container to
|
|
9584
|
+
* compute/derive font styles from, or a static font string (useful for usage
|
|
9585
|
+
* outside the DOM). Particular care should be applied when fallback fonts are
|
|
9586
|
+
* used, as more fallback fonts can lead to less precision.
|
|
9546
9587
|
*
|
|
9547
|
-
*
|
|
9588
|
+
* Please note that while canvas is more significantly more performant than DOM
|
|
9589
|
+
* measurement, there are subpixel to single digit pixel differences between
|
|
9590
|
+
* DOM and canvas measurement due to the different rendering engines used.
|
|
9548
9591
|
*/
|
|
9549
|
-
export
|
|
9550
|
-
|
|
9592
|
+
export class CanvasTextUtils {
|
|
9593
|
+
context: CanvasRenderingContext2D;
|
|
9594
|
+
currentText: string;
|
|
9595
|
+
constructor({ font, container }: CanvasTextParams);
|
|
9596
|
+
computeFontFromElement: (element: HTMLElement) => string;
|
|
9597
|
+
get textWidth(): number;
|
|
9598
|
+
setTextToCheck: (text: string) => void;
|
|
9599
|
+
}
|
|
9551
9600
|
|
|
9552
9601
|
}
|
|
9553
|
-
declare module '@elastic/eui/src/services/
|
|
9554
|
-
|
|
9555
|
-
export
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
width: number;
|
|
9566
|
-
}
|
|
9567
|
-
interface FindPopoverPositionArgs {
|
|
9568
|
-
anchor: HTMLElement;
|
|
9569
|
-
popover: HTMLElement;
|
|
9570
|
-
align?: EuiPopoverPosition;
|
|
9571
|
-
position: EuiPopoverPosition;
|
|
9572
|
-
forcePosition?: boolean;
|
|
9573
|
-
buffer?: number | [number, number, number, number];
|
|
9574
|
-
offset?: number;
|
|
9575
|
-
allowCrossAxis?: boolean;
|
|
9576
|
-
container?: HTMLElement;
|
|
9577
|
-
arrowConfig?: {
|
|
9578
|
-
arrowWidth: number;
|
|
9579
|
-
arrowBuffer: number;
|
|
9580
|
-
};
|
|
9581
|
-
returnBoundingBox?: boolean;
|
|
9582
|
-
}
|
|
9583
|
-
interface FindPopoverPositionResult {
|
|
9584
|
-
top: number;
|
|
9585
|
-
left: number;
|
|
9586
|
-
position: EuiPopoverPosition;
|
|
9587
|
-
fit: number;
|
|
9588
|
-
arrow?: Record<EuiPopoverPosition, number | string>;
|
|
9589
|
-
anchorBoundingBox?: EuiClientRect;
|
|
9590
|
-
}
|
|
9602
|
+
declare module '@elastic/eui/src/services/canvas' {
|
|
9603
|
+
export { CanvasTextUtils } from '@elastic/eui/src/services/canvas/canvas_text_utils';
|
|
9604
|
+
export type { CanvasTextParams } from '@elastic/eui/src/services/canvas/canvas_text_utils';
|
|
9605
|
+
|
|
9606
|
+
}
|
|
9607
|
+
declare module '@elastic/eui/src/components/text_truncate/utils' {
|
|
9608
|
+
import { CanvasTextParams, CanvasTextUtils } from '@elastic/eui/src/services/canvas';
|
|
9609
|
+
type TruncationParams = CanvasTextParams & {
|
|
9610
|
+
fullText: string;
|
|
9611
|
+
ellipsis: string;
|
|
9612
|
+
availableWidth: number;
|
|
9613
|
+
};
|
|
9591
9614
|
/**
|
|
9592
|
-
*
|
|
9593
|
-
*
|
|
9594
|
-
* @param anchor {HTMLElement} Element to anchor the popover to
|
|
9595
|
-
* @param popover {HTMLElement} Element containing the popover content
|
|
9596
|
-
* @param position {string} Position the user wants. One of ["top", "right", "bottom", "left"]
|
|
9597
|
-
* @param [forcePosition] {boolean} If true, use only the provided `position` value and don't try any other position
|
|
9598
|
-
* @param [align] {string} Cross-axis alignment. One of ["top", "right", "bottom", "left"]
|
|
9599
|
-
* @param [buffer=16] {number} Minimum distance between the popover and the bounding container
|
|
9600
|
-
* @param [offset=0] {number} Distance between the popover and the anchor
|
|
9601
|
-
* @param [allowCrossAxis=true] {boolean} Whether to allow the popover to be positioned on the cross-axis
|
|
9602
|
-
* @param [container] {HTMLElement} Element the popover must be constrained to fit within
|
|
9603
|
-
* @param [arrowConfig] {{arrowWidth: number, arrowBuffer: number}} If
|
|
9604
|
-
* present, describes the size & constraints for an arrow element, and the
|
|
9605
|
-
* function return value will include an `arrow` param with position details
|
|
9606
|
-
*
|
|
9607
|
-
* @returns {FindPopoverPositionResult} absolute page coordinates for the
|
|
9608
|
-
* popover, and the placement's relation to the anchor or undefined
|
|
9609
|
-
* there's no room.
|
|
9615
|
+
* Utilities for truncating types at various positions, as well as
|
|
9616
|
+
* determining whether truncation is possible or even necessary.
|
|
9610
9617
|
*/
|
|
9611
|
-
export
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9618
|
+
export class TruncationUtils extends CanvasTextUtils {
|
|
9619
|
+
protected fullText: TruncationParams['fullText'];
|
|
9620
|
+
protected ellipsis: TruncationParams['ellipsis'];
|
|
9621
|
+
protected availableWidth: TruncationParams['availableWidth'];
|
|
9622
|
+
constructor({ fullText, ellipsis, availableWidth, ...rest }: TruncationParams);
|
|
9623
|
+
/**
|
|
9624
|
+
* Performance utilities
|
|
9625
|
+
*/
|
|
9626
|
+
debugPerformance: boolean;
|
|
9627
|
+
debugCounter: number;
|
|
9628
|
+
get textWidth(): number;
|
|
9629
|
+
/**
|
|
9630
|
+
* Internal utils for calculating a ratio based on the passed available width
|
|
9631
|
+
* vs the full text width.
|
|
9632
|
+
* This ratio is used to get an initial _approximate_ text string that should
|
|
9633
|
+
* be slightly over the available width, which we can then remove from
|
|
9634
|
+
* character-by-character until the text just fits within the available width.
|
|
9635
|
+
*/
|
|
9636
|
+
widthRatio: number;
|
|
9637
|
+
setTextWidthRatio: (text?: string, textToOffset?: string) => void;
|
|
9638
|
+
getTextFromRatio: (text: string, type: "start" | "end") => string;
|
|
9639
|
+
/**
|
|
9640
|
+
* Early return checks
|
|
9641
|
+
*/
|
|
9642
|
+
checkIfTruncationIsNeeded: () => false | undefined;
|
|
9643
|
+
checkSufficientEllipsisWidth: (truncation: string) => false | undefined;
|
|
9644
|
+
checkTruncationOffsetWidth: (text: string) => false | undefined;
|
|
9645
|
+
/**
|
|
9646
|
+
* Truncation types logic. This is where the magic happens
|
|
9647
|
+
*/
|
|
9648
|
+
truncateStart: (truncationOffset?: number) => string;
|
|
9649
|
+
truncateEnd: (truncationOffset?: number) => string;
|
|
9650
|
+
truncateStartEndAtPosition: (truncationPosition: number) => string;
|
|
9651
|
+
truncateStartEndAtMiddle: () => string;
|
|
9652
|
+
truncateMiddle: () => string;
|
|
9631
9653
|
}
|
|
9632
|
-
/**
|
|
9633
|
-
* Given a target position and the popover's surrounding context, returns either an
|
|
9634
|
-
* object with {top, left} screen coordinates or `null` if it's not possible to show
|
|
9635
|
-
* content in the target position
|
|
9636
|
-
* @param position {string} the target position, one of ["top", "right", "bottom", "left"]
|
|
9637
|
-
* @param align {string} target alignment on the cross-axis, one of ["top", "right", "bottom", "left"]
|
|
9638
|
-
* @param anchorBoundingBox {Object} bounding box of the anchor element
|
|
9639
|
-
* @param popoverBoundingBox {Object} bounding box of the popover element
|
|
9640
|
-
* @param windowBoundingBox {Object} bounding box of the window
|
|
9641
|
-
* @param containerBoundingBox {Object} bounding box of the container
|
|
9642
|
-
* @param [arrowConfig] {{arrowWidth: number, arrowBuffer: number}} If present, describes the size &
|
|
9643
|
-
* constraints for an arrow element, and the function return value will include an `arrow` param
|
|
9644
|
-
* with position details
|
|
9645
|
-
* @param [offset=0] {number} Distance between the popover and the anchor
|
|
9646
|
-
* @param [buffer=0] {number} Minimum distance between the popover's
|
|
9647
|
-
* placement and the container edge
|
|
9648
|
-
*
|
|
9649
|
-
* @returns {GetPopoverScreenCoordinatesResult}
|
|
9650
|
-
* object with top/left coordinates, the popover's relative position to the anchor, and how well the
|
|
9651
|
-
* popover fits in the location (0.0 -> 1.0) coordinates and the popover's relative position, if
|
|
9652
|
-
* there is no room in this placement then null
|
|
9653
|
-
*/
|
|
9654
|
-
export function getPopoverScreenCoordinates({ position, align, anchorBoundingBox, popoverBoundingBox, windowBoundingBox, containerBoundingBox, arrowConfig, offset, buffer, }: GetPopoverScreenCoordinatesArgs): GetPopoverScreenCoordinatesResult;
|
|
9655
|
-
/**
|
|
9656
|
-
* Finds the client pixel coordinate of each edge for the element's bounding box,
|
|
9657
|
-
* and the bounding box's width & height
|
|
9658
|
-
*
|
|
9659
|
-
* @param {HTMLElement} element
|
|
9660
|
-
* @returns {{top: number, right: number, bottom: number, left: number, height: number, width: number}}
|
|
9661
|
-
*/
|
|
9662
|
-
export function getElementBoundingBox(element: HTMLElement): EuiClientRect;
|
|
9663
|
-
/**
|
|
9664
|
-
* Calculates the available content space between anchor and container
|
|
9665
|
-
*
|
|
9666
|
-
* @param {Object} anchorBoundingBox Client bounding box of the anchor element
|
|
9667
|
-
* @param {Object} containerBoundingBox Client bounding box of the container element
|
|
9668
|
-
* @param {number} buffer Minimum distance between the popover and the bounding container
|
|
9669
|
-
* @param {number} offset Distance between the popover and the anchor
|
|
9670
|
-
* @param {string} offsetSide Side the offset needs to be applied to, one
|
|
9671
|
-
* of ["top", "right", "bottom", "left"]
|
|
9672
|
-
* @returns {{top: number, right: number, bottom: number, left: number}}
|
|
9673
|
-
*/
|
|
9674
|
-
export function getAvailableSpace(anchorBoundingBox: BoundingBox, containerBoundingBox: BoundingBox, buffer: number | [number, number, number, number], offset: number, offsetSide: EuiPopoverPosition): BoundingBox;
|
|
9675
|
-
/**
|
|
9676
|
-
* Computes the fit (overlap) of the content within the container, fit is in range 0.0 => 1.0
|
|
9677
|
-
* @param contentBoundingBox bounding box of content to calculate fit for
|
|
9678
|
-
* @param containerBoundingBox bounding box of container
|
|
9679
|
-
* @returns {number}
|
|
9680
|
-
*/
|
|
9681
|
-
export function getVisibleFit(contentBoundingBox: BoundingBox, containerBoundingBox: BoundingBox): number;
|
|
9682
|
-
/**
|
|
9683
|
-
* Calculates the intersection space between two bounding boxes
|
|
9684
|
-
*
|
|
9685
|
-
* @param firstBox
|
|
9686
|
-
* @param secondBox
|
|
9687
|
-
* @returns {EuiClientRect}
|
|
9688
|
-
*/
|
|
9689
|
-
export function intersectBoundingBoxes(firstBox: BoundingBox, secondBox: BoundingBox): EuiClientRect;
|
|
9690
|
-
/**
|
|
9691
|
-
* Returns the top-most defined z-index in the element's ancestor hierarchy
|
|
9692
|
-
* relative to the `target` element; if no z-index is defined, returns 0
|
|
9693
|
-
* @param element {HTMLElement}
|
|
9694
|
-
* @param cousin {HTMLElement}
|
|
9695
|
-
* @returns {number}
|
|
9696
|
-
*/
|
|
9697
|
-
export function getElementZIndex(element: HTMLElement, cousin: HTMLElement): number;
|
|
9698
9654
|
export {};
|
|
9699
9655
|
|
|
9700
9656
|
}
|
|
9701
|
-
declare module '@elastic/eui/src/
|
|
9702
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9657
|
+
declare module '@elastic/eui/src/components/text_truncate/text_truncate.styles' {
|
|
9658
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9659
|
+
export const euiTextTruncateStyles: (euiThemeContext: UseEuiTheme) => {
|
|
9660
|
+
euiTextTruncate: import("@emotion/react").SerializedStyles;
|
|
9661
|
+
/**
|
|
9662
|
+
* The below CSS is a hack to get double clicking and selecting the *full* text
|
|
9663
|
+
* instead of the truncated text (useful for copying/pasting, and mimics how
|
|
9664
|
+
* `text-overflow: ellipsis` works).
|
|
9665
|
+
*
|
|
9666
|
+
* Real talk: I'm lowkey amazed it works and it wouldn't surprise me if we ran into
|
|
9667
|
+
* cross-browser issues with this at some point. Hopefully CSS natively implements
|
|
9668
|
+
* custom text truncation some day (https://github.com/w3c/csswg-drafts/issues/3937)
|
|
9669
|
+
* and there'll be no need for the entire component at that point 🙏
|
|
9670
|
+
*/
|
|
9671
|
+
euiTextTruncate__truncatedText: import("@emotion/react").SerializedStyles;
|
|
9672
|
+
euiTextTruncate__fullText: import("@emotion/react").SerializedStyles;
|
|
9673
|
+
};
|
|
9674
|
+
|
|
9675
|
+
}
|
|
9676
|
+
declare module '@elastic/eui/src/components/text_truncate/text_truncate' {
|
|
9677
|
+
import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
|
|
9678
|
+
import type { CommonProps } from '@elastic/eui/src/components/common'; const TRUNCATION_TYPES: readonly ["end", "start", "startEnd", "middle"];
|
|
9679
|
+
export type EuiTextTruncationTypes = (typeof TRUNCATION_TYPES)[number];
|
|
9680
|
+
export type EuiTextTruncateProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onResize'> & CommonProps & {
|
|
9681
|
+
/**
|
|
9682
|
+
* The full text string to truncate
|
|
9683
|
+
*/
|
|
9684
|
+
text: string;
|
|
9685
|
+
/**
|
|
9686
|
+
* The truncation type desired. Determines where the ellipses are placed.
|
|
9687
|
+
*/
|
|
9688
|
+
truncation?: EuiTextTruncationTypes;
|
|
9689
|
+
/**
|
|
9690
|
+
* This prop **only** applies to the `start` and `end` truncation types.
|
|
9691
|
+
* It allows preserving a certain number of characters of either the
|
|
9692
|
+
* starting or ending text.
|
|
9693
|
+
*
|
|
9694
|
+
* If the passed offset is greater than the total text length,
|
|
9695
|
+
* the offset will be ignored.
|
|
9696
|
+
*/
|
|
9697
|
+
truncationOffset?: number;
|
|
9698
|
+
/**
|
|
9699
|
+
* This prop **only** applies to the `startEnd` truncation type.
|
|
9700
|
+
* It allows customizing the anchor position of the displayed text,
|
|
9701
|
+
* which otherwise defaults to the middle of the text string.
|
|
9702
|
+
*
|
|
9703
|
+
* The primary use case for this prop for is search highlighting - e.g., if
|
|
9704
|
+
* a user searches for a specific word in the text, pass the index of that
|
|
9705
|
+
* found word to ensure it is always visible.
|
|
9706
|
+
*
|
|
9707
|
+
* This behavior will intelligently detect when positions are close to the start
|
|
9708
|
+
* or end of the text, and omit leading or trailing ellipses when necessary.
|
|
9709
|
+
* If the passed position is greater than the total text length,
|
|
9710
|
+
* the truncation will simply default to `start` instead.
|
|
9711
|
+
*/
|
|
9712
|
+
truncationPosition?: number;
|
|
9713
|
+
/**
|
|
9714
|
+
* Defaults to the horizontal ellipsis character.
|
|
9715
|
+
* Can be optionally configured to use other punctuation,
|
|
9716
|
+
* e.g. spaces, brackets, hyphens, asterisks, etc.
|
|
9717
|
+
*/
|
|
9718
|
+
ellipsis?: string;
|
|
9719
|
+
/**
|
|
9720
|
+
* By default, EuiTextTruncate will render a resize observer to detect the
|
|
9721
|
+
* available width it has. For performance reasons (e.g. multiple truncated
|
|
9722
|
+
* text items within the same container), you may opt to pass in your own
|
|
9723
|
+
* container width, which will skip initializing a resize observer.
|
|
9724
|
+
*/
|
|
9725
|
+
width?: number;
|
|
9726
|
+
/**
|
|
9727
|
+
* Optional callback that fires when the default resizer observer both mounts and
|
|
9728
|
+
* registers a size change. This callback will **not** fire if `width` is passed.
|
|
9729
|
+
*/
|
|
9730
|
+
onResize?: (width: number) => void;
|
|
9731
|
+
/**
|
|
9732
|
+
* By default, EuiTextTruncate will render the truncated string directly.
|
|
9733
|
+
* You can optionally pass a render prop function to the component, which
|
|
9734
|
+
* allows for more flexible text rendering, e.g. adding custom markup
|
|
9735
|
+
* or highlighting
|
|
9736
|
+
*/
|
|
9737
|
+
children?: (truncatedString: string) => ReactNode;
|
|
9738
|
+
/**
|
|
9739
|
+
* For some edge case scenarios, EuiTextTruncate's calculations may be off until
|
|
9740
|
+
* fonts are done loading or layout is done shifting or settling. Adding a delay
|
|
9741
|
+
* may help resolve any rendering issues.
|
|
9742
|
+
*/
|
|
9743
|
+
calculationDelayMs?: number;
|
|
9744
|
+
};
|
|
9745
|
+
export const EuiTextTruncate: FunctionComponent<EuiTextTruncateProps>;
|
|
9746
|
+
export {};
|
|
9747
|
+
|
|
9748
|
+
}
|
|
9749
|
+
declare module '@elastic/eui/src/components/text_truncate/text_block_truncate' {
|
|
9750
|
+
import { FunctionComponent, HTMLAttributes, PropsWithChildren } from 'react';
|
|
9751
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9752
|
+
export type EuiTextBlockTruncateProps = PropsWithChildren & CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
9753
|
+
/**
|
|
9754
|
+
* Number of lines of text to truncate to
|
|
9755
|
+
*/
|
|
9756
|
+
lines: number;
|
|
9757
|
+
/**
|
|
9758
|
+
* Applies styling to the child element instead of rendering a parent wrapper `div`.
|
|
9759
|
+
* Can only be used when wrapping a *single* child element/tag, and not raw text.
|
|
9760
|
+
*/
|
|
9761
|
+
cloneElement?: boolean;
|
|
9714
9762
|
};
|
|
9763
|
+
export const EuiTextBlockTruncate: FunctionComponent<EuiTextBlockTruncateProps>;
|
|
9715
9764
|
|
|
9716
9765
|
}
|
|
9717
|
-
declare module '@elastic/eui/src/
|
|
9718
|
-
export {
|
|
9719
|
-
export {
|
|
9720
|
-
export {
|
|
9721
|
-
export
|
|
9766
|
+
declare module '@elastic/eui/src/components/text_truncate' {
|
|
9767
|
+
export type { EuiTextTruncateProps, EuiTextTruncationTypes, } from '@elastic/eui/src/components/text_truncate/text_truncate';
|
|
9768
|
+
export { EuiTextTruncate } from '@elastic/eui/src/components/text_truncate/text_truncate';
|
|
9769
|
+
export type { EuiTextBlockTruncateProps } from '@elastic/eui/src/components/text_truncate/text_block_truncate';
|
|
9770
|
+
export { EuiTextBlockTruncate } from '@elastic/eui/src/components/text_truncate/text_block_truncate';
|
|
9771
|
+
export { TruncationUtils } from '@elastic/eui/src/components/text_truncate/utils';
|
|
9722
9772
|
|
|
9723
9773
|
}
|
|
9724
|
-
declare module '@elastic/eui/src/components/
|
|
9774
|
+
declare module '@elastic/eui/src/components/table/table_row_cell.styles' {
|
|
9725
9775
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9726
|
-
export const
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9776
|
+
export const euiTableRowCellStyles: (euiThemeContext: UseEuiTheme) => {
|
|
9777
|
+
euiTableRowCell: import("@emotion/react").SerializedStyles;
|
|
9778
|
+
rowHeader: import("@emotion/react").SerializedStyles;
|
|
9779
|
+
isExpander: import("@emotion/react").SerializedStyles;
|
|
9780
|
+
hasActions: import("@emotion/react").SerializedStyles;
|
|
9781
|
+
middle: import("@emotion/react").SerializedStyles;
|
|
9782
|
+
baseline: import("@emotion/react").SerializedStyles;
|
|
9783
|
+
top: import("@emotion/react").SerializedStyles;
|
|
9784
|
+
bottom: import("@emotion/react").SerializedStyles;
|
|
9785
|
+
desktop: {
|
|
9786
|
+
desktop: import("@emotion/react").SerializedStyles;
|
|
9787
|
+
actions: import("@emotion/react").SerializedStyles;
|
|
9737
9788
|
};
|
|
9738
|
-
|
|
9789
|
+
mobile: {
|
|
9790
|
+
mobile: import("@emotion/react").SerializedStyles;
|
|
9791
|
+
enlarge: import("@emotion/react").SerializedStyles;
|
|
9792
|
+
rightColumnContent: string;
|
|
9793
|
+
readonly actions: import("@emotion/react").SerializedStyles;
|
|
9794
|
+
readonly expander: import("@emotion/react").SerializedStyles;
|
|
9795
|
+
/**
|
|
9796
|
+
* Custom actions may not be icons and therefore may not fit in a column
|
|
9797
|
+
* If they're the last cell, we can create a pseudo "row"/"border-top"
|
|
9798
|
+
* that mimicks the visual separation that the right column has
|
|
9799
|
+
*/
|
|
9800
|
+
customActions: import("@emotion/react").SerializedStyles;
|
|
9801
|
+
};
|
|
9802
|
+
euiTableRowCell__mobileHeader: import("@emotion/react").SerializedStyles;
|
|
9739
9803
|
};
|
|
9740
9804
|
|
|
9741
9805
|
}
|
|
9742
|
-
declare module '@elastic/eui/src/components/
|
|
9806
|
+
declare module '@elastic/eui/src/components/table/table_cells_shared.styles' {
|
|
9743
9807
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9744
|
-
|
|
9745
|
-
export const
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
euiToolTip__arrow: import("@emotion/react").SerializedStyles;
|
|
9753
|
-
arrowPositions: {
|
|
9754
|
-
top: import("@emotion/react").SerializedStyles;
|
|
9755
|
-
bottom: import("@emotion/react").SerializedStyles;
|
|
9756
|
-
left: import("@emotion/react").SerializedStyles;
|
|
9757
|
-
right: import("@emotion/react").SerializedStyles;
|
|
9808
|
+
import { EuiTableStickyCellOptions } from '@elastic/eui/src/components/table/types';
|
|
9809
|
+
export const euiTableHeaderFooterCellStyles: (euiThemeContext: UseEuiTheme) => {
|
|
9810
|
+
euiTableHeaderCell: import("@emotion/react").SerializedStyles;
|
|
9811
|
+
euiTableHeaderCell__content: import("@emotion/react").SerializedStyles;
|
|
9812
|
+
euiTableHeaderCell__button: import("@emotion/react").SerializedStyles;
|
|
9813
|
+
euiTableFooterCell: {
|
|
9814
|
+
euiTableFooterCell: import("@emotion/react").SerializedStyles;
|
|
9815
|
+
hasBackground: import("@emotion/react").SerializedStyles;
|
|
9758
9816
|
};
|
|
9759
|
-
euiToolTip__title: import("@emotion/react").SerializedStyles;
|
|
9760
9817
|
};
|
|
9761
|
-
export const
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9818
|
+
export const euiTableCellCheckboxStyles: (euiThemeContext: UseEuiTheme) => {
|
|
9819
|
+
euiTableHeaderCellCheckbox: import("@emotion/react").SerializedStyles;
|
|
9820
|
+
euiTableRowCellCheckbox: import("@emotion/react").SerializedStyles;
|
|
9821
|
+
desktop: import("@emotion/react").SerializedStyles;
|
|
9822
|
+
mobile: import("@emotion/react").SerializedStyles;
|
|
9765
9823
|
};
|
|
9824
|
+
/**
|
|
9825
|
+
* @internal
|
|
9826
|
+
*/
|
|
9827
|
+
export const _useEuiTableStickyCellStyles: (options?: EuiTableStickyCellOptions) => import("@emotion/react").SerializedStyles[] | undefined;
|
|
9766
9828
|
|
|
9767
9829
|
}
|
|
9768
|
-
declare module '@elastic/eui/src/components/
|
|
9769
|
-
import {
|
|
9830
|
+
declare module '@elastic/eui/src/components/table/table_row_cell' {
|
|
9831
|
+
import { CSSProperties, FunctionComponent, ReactNode, TdHTMLAttributes } from 'react';
|
|
9770
9832
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9771
|
-
|
|
9772
|
-
type
|
|
9773
|
-
|
|
9774
|
-
children?: ReactNode;
|
|
9775
|
-
title?: ReactNode;
|
|
9776
|
-
popoverRef?: (ref: HTMLDivElement | null) => void;
|
|
9777
|
-
calculatedPosition?: ToolTipPositions;
|
|
9778
|
-
};
|
|
9779
|
-
export const EuiToolTipPopover: FunctionComponent<Props>;
|
|
9780
|
-
export {};
|
|
9781
|
-
|
|
9782
|
-
}
|
|
9783
|
-
declare module '@elastic/eui/src/services/popover/reposition_on_scroll' {
|
|
9784
|
-
type SupportedComponentDefaults = {
|
|
9785
|
-
repositionOnScroll?: boolean;
|
|
9786
|
-
};
|
|
9787
|
-
type RepositionOnScrollArgs<T extends SupportedComponentDefaults> = {
|
|
9833
|
+
import { HorizontalAlignment } from '@elastic/eui/src/services';
|
|
9834
|
+
import type { EuiTableStickyCellOptions, EuiTableSharedWidthProps } from '@elastic/eui/src/components/table/types';
|
|
9835
|
+
interface EuiTableRowCellSharedPropsShape extends EuiTableSharedWidthProps {
|
|
9788
9836
|
/**
|
|
9789
|
-
*
|
|
9837
|
+
* Horizontal alignment of the text in the cell
|
|
9790
9838
|
*/
|
|
9791
|
-
|
|
9839
|
+
align?: HorizontalAlignment;
|
|
9792
9840
|
/**
|
|
9793
|
-
*
|
|
9841
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
9842
|
+
* long text correctly.
|
|
9843
|
+
* @default true
|
|
9794
9844
|
*/
|
|
9795
|
-
|
|
9845
|
+
textOnly?: boolean;
|
|
9796
9846
|
/**
|
|
9797
|
-
*
|
|
9847
|
+
* Indicates whether this column should truncate overflowing text content.
|
|
9848
|
+
* - Set to `true` to enable single-line truncation.
|
|
9849
|
+
* - To enable multi-line truncation, use a configuration object with `lines`
|
|
9850
|
+
* set to a number of lines to truncate to.
|
|
9851
|
+
* @default false
|
|
9798
9852
|
*/
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
* Returns the value of the `repositionOnScroll` from the props, component's defaults context
|
|
9803
|
-
* or default to `false`.
|
|
9804
|
-
*
|
|
9805
|
-
* @param args The arguments for `getRepositionOnScroll`. See {@link RepositionOnScrollArgs}.
|
|
9806
|
-
* @returns The value of the `repositionOnScroll`.
|
|
9807
|
-
*/
|
|
9808
|
-
export const getRepositionOnScroll: <T extends SupportedComponentDefaults>(args: RepositionOnScrollArgs<T>) => boolean;
|
|
9809
|
-
export type CreateRepositionOnScrollReturnType = {
|
|
9810
|
-
subscribe: () => void;
|
|
9811
|
-
update: () => void;
|
|
9812
|
-
cleanup: () => void;
|
|
9813
|
-
};
|
|
9814
|
-
/**
|
|
9815
|
-
* Creates a manager for handling `repositionOnScroll` logic in overlay components.
|
|
9816
|
-
* This utility abstracts the adding, updating, and removing of window scroll event listeners.
|
|
9817
|
-
*
|
|
9818
|
-
* @param getArgs A function that returns the arguments for `getRepositionOnScroll`. See {@link RepositionOnScrollArgs}.
|
|
9819
|
-
* @returns An object with `subscribe`, `update`, and `cleanup` methods to manage the scroll listener.
|
|
9820
|
-
*/
|
|
9821
|
-
export const createRepositionOnScroll: <T extends SupportedComponentDefaults>(getArgs: () => RepositionOnScrollArgs<T>) => CreateRepositionOnScrollReturnType;
|
|
9822
|
-
export {};
|
|
9823
|
-
|
|
9824
|
-
}
|
|
9825
|
-
declare module '@elastic/eui/src/components/tool_tip/tool_tip_anchor' {
|
|
9826
|
-
import React, { HTMLAttributes, type FocusEvent as ReactFocusEvent } from 'react';
|
|
9827
|
-
import type { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
9828
|
-
export type EuiToolTipAnchorProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onBlur' | 'onFocus' | 'children'> & Required<Pick<EuiToolTipProps, 'display' | 'children'>> & {
|
|
9829
|
-
onBlur: () => void;
|
|
9830
|
-
onFocus: (e: ReactFocusEvent) => void;
|
|
9831
|
-
isVisible: boolean;
|
|
9832
|
-
};
|
|
9833
|
-
export const EuiToolTipAnchor: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLSpanElement>, "children" | "onFocus" | "onBlur"> & Required<Pick<EuiToolTipProps, "children" | "display">> & {
|
|
9834
|
-
onBlur: () => void;
|
|
9835
|
-
onFocus: (e: ReactFocusEvent) => void;
|
|
9836
|
-
isVisible: boolean;
|
|
9837
|
-
} & React.RefAttributes<HTMLSpanElement>>;
|
|
9838
|
-
|
|
9839
|
-
}
|
|
9840
|
-
declare module '@elastic/eui/src/components/tool_tip/tool_tip_arrow' {
|
|
9841
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
9842
|
-
import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
9843
|
-
export const EuiToolTipArrow: FunctionComponent<{
|
|
9844
|
-
position: ToolTipPositions;
|
|
9845
|
-
} & HTMLAttributes<HTMLDivElement>>;
|
|
9846
|
-
|
|
9847
|
-
}
|
|
9848
|
-
declare module '@elastic/eui/src/components/tool_tip/tool_tip_manager' {
|
|
9849
|
-
class ToolTipManager {
|
|
9850
|
-
toolTipsToHide: Set<Function>;
|
|
9851
|
-
registerTooltip: (hideCallback: Function) => void;
|
|
9852
|
-
deregisterToolTip: (hideCallback: Function) => void;
|
|
9853
|
+
truncateText?: boolean | {
|
|
9854
|
+
lines: number;
|
|
9855
|
+
};
|
|
9853
9856
|
}
|
|
9854
|
-
export
|
|
9855
|
-
export {};
|
|
9856
|
-
|
|
9857
|
-
}
|
|
9858
|
-
declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
|
|
9859
|
-
import React, { ReactElement, ReactNode, type MouseEvent as ReactMouseEvent, HTMLAttributes } from 'react';
|
|
9860
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9861
|
-
import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
9862
|
-
export const POSITIONS: readonly ["top", "right", "bottom", "left"]; const DISPLAYS: readonly ["inlineBlock", "block"];
|
|
9863
|
-
export const DEFAULT_TOOLTIP_OFFSET = 16;
|
|
9864
|
-
export interface EuiToolTipProps extends CommonProps {
|
|
9865
|
-
/**
|
|
9866
|
-
* Passes onto the span wrapping the trigger.
|
|
9867
|
-
*/
|
|
9868
|
-
anchorClassName?: string;
|
|
9857
|
+
export interface EuiTableRowCellMobileOptionsShape extends EuiTableRowCellSharedPropsShape {
|
|
9869
9858
|
/**
|
|
9870
|
-
*
|
|
9859
|
+
* If false, will not render the cell at all for mobile
|
|
9860
|
+
* @default true
|
|
9871
9861
|
*/
|
|
9872
|
-
|
|
9862
|
+
show?: boolean;
|
|
9873
9863
|
/**
|
|
9874
|
-
*
|
|
9864
|
+
* Only show for mobile? If true, will not render the column at all for desktop
|
|
9865
|
+
* @default false
|
|
9875
9866
|
*/
|
|
9876
|
-
|
|
9867
|
+
only?: boolean;
|
|
9877
9868
|
/**
|
|
9878
|
-
*
|
|
9869
|
+
* Custom render/children if different from desktop
|
|
9879
9870
|
*/
|
|
9880
|
-
|
|
9871
|
+
render?: ReactNode;
|
|
9881
9872
|
/**
|
|
9882
|
-
* The
|
|
9873
|
+
* The column's header for use in mobile view (automatically passed down
|
|
9874
|
+
* when using `EuiBasicTable`).
|
|
9875
|
+
* Or pass `false` to not show a header at all.
|
|
9883
9876
|
*/
|
|
9884
|
-
|
|
9877
|
+
header?: ReactNode | boolean;
|
|
9885
9878
|
/**
|
|
9886
|
-
*
|
|
9879
|
+
* Increase text size compared to rest of cells
|
|
9880
|
+
* @default false
|
|
9887
9881
|
*/
|
|
9888
|
-
|
|
9882
|
+
enlarge?: boolean;
|
|
9889
9883
|
/**
|
|
9890
|
-
*
|
|
9884
|
+
* Applies the value to the width of the cell in mobile view (typically 50%)
|
|
9885
|
+
* @default 50%
|
|
9891
9886
|
*/
|
|
9892
|
-
|
|
9887
|
+
width?: CSSProperties['width'];
|
|
9888
|
+
}
|
|
9889
|
+
export interface EuiTableRowCellProps extends EuiTableRowCellSharedPropsShape {
|
|
9893
9890
|
/**
|
|
9894
|
-
*
|
|
9891
|
+
* Vertical alignment of the content in the cell
|
|
9895
9892
|
*/
|
|
9896
|
-
|
|
9893
|
+
valign?: TdHTMLAttributes<HTMLTableCellElement>['valign'];
|
|
9897
9894
|
/**
|
|
9898
|
-
*
|
|
9895
|
+
* Indicates whether the cell should be marked as the heading for its row
|
|
9899
9896
|
*/
|
|
9900
|
-
|
|
9897
|
+
setScopeRow?: boolean;
|
|
9901
9898
|
/**
|
|
9902
|
-
*
|
|
9903
|
-
*
|
|
9904
|
-
*
|
|
9905
|
-
* When nesting an `EuiTooltip` in a scrollable container, `repositionOnScroll` should be `true`
|
|
9899
|
+
* Indicates if the cell is dedicated to row actions
|
|
9900
|
+
* (used for mobile styling and desktop action hover behavior)
|
|
9906
9901
|
*/
|
|
9907
|
-
|
|
9902
|
+
hasActions?: boolean | 'custom';
|
|
9908
9903
|
/**
|
|
9909
|
-
*
|
|
9910
|
-
* Do not use when the trigger `aria-label` and tooltip `content` can be rephrased to be standalone
|
|
9911
|
-
* information (action & additional information).
|
|
9912
|
-
* Enable this prop only when the trigger has a descriptive label that either duplicates or includes
|
|
9913
|
-
* the tooltip content and would result in repetitive output.
|
|
9914
|
-
* @default false
|
|
9904
|
+
* Indicates if the column is dedicated as the expandable row toggle
|
|
9915
9905
|
*/
|
|
9916
|
-
|
|
9906
|
+
isExpander?: boolean;
|
|
9917
9907
|
/**
|
|
9918
|
-
*
|
|
9919
|
-
*
|
|
9908
|
+
* Mobile options for displaying differently at small screens;
|
|
9909
|
+
* See {@link EuiTableRowCellMobileOptionsShape}
|
|
9920
9910
|
*/
|
|
9921
|
-
|
|
9911
|
+
mobileOptions?: EuiTableRowCellMobileOptionsShape;
|
|
9922
9912
|
/**
|
|
9923
|
-
*
|
|
9913
|
+
* Content rendered outside the visible cell content wrapper. Useful for, e.g. screen reader text.
|
|
9914
|
+
*
|
|
9915
|
+
* Used by EuiBasicTable to render hidden copy markers
|
|
9924
9916
|
*/
|
|
9925
|
-
|
|
9917
|
+
append?: ReactNode;
|
|
9926
9918
|
/**
|
|
9927
|
-
*
|
|
9919
|
+
* Whether the cell should stick to a side of the table.
|
|
9920
|
+
*
|
|
9921
|
+
* This option is not applied in the responsive cards layout - see
|
|
9922
|
+
* {@link EuiTableProps#responsiveBreakpoint|`responsiveBreakpoint`}.
|
|
9923
|
+
*
|
|
9924
|
+
* Currently, it can only be used when the cell is in the first or the last
|
|
9925
|
+
* column of a table.
|
|
9926
|
+
*
|
|
9927
|
+
* When set to `true` and `hasBackground: false` is set on the table,
|
|
9928
|
+
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
9929
|
+
* the background color of the element containing the table.
|
|
9930
|
+
* Otherwise, the sticky cell will use the default `backgroundBasePlain`
|
|
9931
|
+
* background color.
|
|
9932
|
+
* @internal
|
|
9933
|
+
* @beta
|
|
9934
|
+
* @default false
|
|
9928
9935
|
*/
|
|
9929
|
-
|
|
9930
|
-
}
|
|
9931
|
-
export interface EuiToolTipRef {
|
|
9932
|
-
showToolTip: () => void;
|
|
9933
|
-
hideToolTip: () => void;
|
|
9934
|
-
id: string;
|
|
9936
|
+
sticky?: EuiTableStickyCellOptions;
|
|
9935
9937
|
}
|
|
9936
|
-
|
|
9938
|
+
type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
|
|
9939
|
+
export const EuiTableRowCell: FunctionComponent<Props>;
|
|
9937
9940
|
export {};
|
|
9938
9941
|
|
|
9939
9942
|
}
|
|
9940
|
-
declare module '@elastic/eui/src/components/
|
|
9941
|
-
import {
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9943
|
+
declare module '@elastic/eui/src/components/table/_table_cell_content.styles' {
|
|
9944
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9945
|
+
export const euiTableCellContentStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9946
|
+
euiTableCellContent: import("@emotion/react").SerializedStyles;
|
|
9947
|
+
left: null;
|
|
9948
|
+
right: import("@emotion/react").SerializedStyles;
|
|
9949
|
+
center: import("@emotion/react").SerializedStyles;
|
|
9950
|
+
truncateText: import("@emotion/react").SerializedStyles;
|
|
9951
|
+
wrapText: import("@emotion/react").SerializedStyles;
|
|
9952
|
+
hasActions: {
|
|
9953
|
+
actions: import("@emotion/react").SerializedStyles;
|
|
9954
|
+
custom: import("@emotion/react").SerializedStyles;
|
|
9955
|
+
desktop: import("@emotion/react").SerializedStyles;
|
|
9956
|
+
mobile: import("@emotion/react").SerializedStyles;
|
|
9957
|
+
};
|
|
9958
|
+
};
|
|
9959
|
+
|
|
9960
|
+
}
|
|
9961
|
+
declare module '@elastic/eui/src/components/table/_table_cell_content' {
|
|
9962
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
9963
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9964
|
+
import type { EuiTableRowCellProps } from '@elastic/eui/src/components/table/table_row_cell';
|
|
9965
|
+
export type EuiTableCellContentProps = CommonProps & HTMLAttributes<HTMLDivElement> & Pick<EuiTableRowCellProps, 'align' | 'hasActions' | 'textOnly'> & {
|
|
9966
|
+
truncateText?: EuiTableRowCellProps['truncateText'] | null;
|
|
9967
|
+
};
|
|
9968
|
+
export const EuiTableCellContent: FunctionComponent<EuiTableCellContentProps>;
|
|
9969
|
+
|
|
9970
|
+
}
|
|
9971
|
+
declare module '@elastic/eui/src/components/table/table_footer_cell' {
|
|
9972
|
+
import { FunctionComponent, TdHTMLAttributes } from 'react';
|
|
9973
|
+
import { HorizontalAlignment } from '@elastic/eui/src/services';
|
|
9974
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9975
|
+
import { EuiTableSharedWidthProps, EuiTableStickyCellOptions } from '@elastic/eui/src/components/table/types';
|
|
9976
|
+
export type EuiTableFooterCellProps = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'width'> & EuiTableSharedWidthProps & {
|
|
9977
|
+
align?: HorizontalAlignment;
|
|
9954
9978
|
/**
|
|
9955
|
-
*
|
|
9979
|
+
* Whether the cell should stick to a side of the table.
|
|
9980
|
+
*
|
|
9981
|
+
* This option is not applied in the responsive cards layout - see
|
|
9982
|
+
* {@link EuiTableProps#responsiveBreakpoint|`responsiveBreakpoint`}.
|
|
9983
|
+
*
|
|
9984
|
+
* Currently, it can only be used when the cell is in the first or the last
|
|
9985
|
+
* column of a table.
|
|
9986
|
+
*
|
|
9987
|
+
* When set to `true` and `hasBackground: false` is set on the table,
|
|
9988
|
+
* `--euiTableCellStickyBackgroundColor` CSS variable should be set to match
|
|
9989
|
+
* the background color of the element containing the table.
|
|
9990
|
+
* Otherwise, the sticky cell will use the default `backgroundBasePlain`
|
|
9991
|
+
* background color.
|
|
9992
|
+
* @internal
|
|
9993
|
+
* @beta
|
|
9994
|
+
* @default false
|
|
9956
9995
|
*/
|
|
9957
|
-
|
|
9996
|
+
sticky?: EuiTableStickyCellOptions;
|
|
9997
|
+
};
|
|
9998
|
+
export const EuiTableFooterCell: FunctionComponent<EuiTableFooterCellProps>;
|
|
9999
|
+
|
|
10000
|
+
}
|
|
10001
|
+
declare module '@elastic/eui/src/components/table/table_header' {
|
|
10002
|
+
import { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
|
|
10003
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
10004
|
+
export type EuiTableHeaderProps = CommonProps & HTMLAttributes<HTMLElement> & {
|
|
9958
10005
|
/**
|
|
9959
|
-
*
|
|
10006
|
+
* Children must be valid DOM structure residing within `<thead>`.
|
|
10007
|
+
* Use `<td> | <th>` by default, or `<tr><th/></tr>` when `wrapWithTableRow=false`
|
|
9960
10008
|
*/
|
|
9961
|
-
|
|
10009
|
+
children?: ReactNode;
|
|
9962
10010
|
/**
|
|
9963
|
-
*
|
|
10011
|
+
* Automatically adds a wrapping `<tr>` element around the children
|
|
9964
10012
|
*/
|
|
9965
|
-
|
|
10013
|
+
wrapWithTableRow?: boolean;
|
|
10014
|
+
};
|
|
10015
|
+
export const EuiTableHeader: FunctionComponent<EuiTableHeaderProps>;
|
|
10016
|
+
|
|
10017
|
+
}
|
|
10018
|
+
declare module '@elastic/eui/src/components/inner_text/inner_text' {
|
|
10019
|
+
import { FunctionComponent, ReactElement } from 'react';
|
|
10020
|
+
type RefT = HTMLElement | Element | undefined | null;
|
|
10021
|
+
export function useInnerText(innerTextFallback?: string): [(node: RefT) => void, string | undefined];
|
|
10022
|
+
export interface EuiInnerTextProps {
|
|
9966
10023
|
/**
|
|
9967
|
-
*
|
|
10024
|
+
* ReactNode to render as this component's content
|
|
9968
10025
|
*/
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
};
|
|
9974
|
-
export const EuiIconTip: FunctionComponent<EuiIconTipProps>;
|
|
10026
|
+
children: (ref?: (node: RefT) => void, innerText?: string) => ReactElement;
|
|
10027
|
+
fallback?: string;
|
|
10028
|
+
}
|
|
10029
|
+
export const EuiInnerText: FunctionComponent<EuiInnerTextProps>;
|
|
10030
|
+
export {};
|
|
9975
10031
|
|
|
9976
10032
|
}
|
|
9977
|
-
declare module '@elastic/eui/src/components/
|
|
9978
|
-
export type {
|
|
9979
|
-
export
|
|
9980
|
-
export { EuiToolTip } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
9981
|
-
export type { EuiIconTipProps } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
9982
|
-
export { EuiIconTip } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
10033
|
+
declare module '@elastic/eui/src/components/inner_text' {
|
|
10034
|
+
export type { EuiInnerTextProps } from '@elastic/eui/src/components/inner_text/inner_text';
|
|
10035
|
+
export { useInnerText, EuiInnerText } from '@elastic/eui/src/components/inner_text/inner_text';
|
|
9983
10036
|
|
|
9984
10037
|
}
|
|
9985
10038
|
declare module '@elastic/eui/src/services/security/href_validator' {
|
|
@@ -19796,7 +19849,7 @@ declare module '@elastic/eui/src/components/provider/component_defaults/componen
|
|
|
19796
19849
|
*
|
|
19797
19850
|
* Defaults will be inherited by all `EuiBasicTable`s and `EuiInMemoryTable`s.
|
|
19798
19851
|
*/
|
|
19799
|
-
EuiTable?: Pick<EuiTableProps, 'responsiveBreakpoint' | 'scrollableInline' | 'tableLayout'>;
|
|
19852
|
+
EuiTable?: Pick<EuiTableProps, 'responsiveBreakpoint' | 'scrollableInline' | 'tableLayout' | 'stickyScrollbar'>;
|
|
19800
19853
|
/**
|
|
19801
19854
|
* Provide a global configuration for `EuiFlyout`s.
|
|
19802
19855
|
* Defaults will be inherited by all `EuiFlyout`s.
|
|
@@ -19915,7 +19968,7 @@ declare module '@elastic/eui/src/components/observer/mutation_observer' {
|
|
|
19915
19968
|
|
|
19916
19969
|
}
|
|
19917
19970
|
declare module '@elastic/eui/src/components/outside_click_detector/outside_click_detector' {
|
|
19918
|
-
import {
|
|
19971
|
+
import { MouseEvent as ReactMouseEvent, ReactElement } from 'react';
|
|
19919
19972
|
export interface EuiEvent extends Event {
|
|
19920
19973
|
euiGeneratedBy: string[];
|
|
19921
19974
|
}
|
|
@@ -19931,18 +19984,7 @@ declare module '@elastic/eui/src/components/outside_click_detector/outside_click
|
|
|
19931
19984
|
onTouchStart?: (event: ReactMouseEvent) => void;
|
|
19932
19985
|
onTouchEnd?: (event: ReactMouseEvent) => void;
|
|
19933
19986
|
}
|
|
19934
|
-
export
|
|
19935
|
-
private id;
|
|
19936
|
-
private capturedDownIds;
|
|
19937
|
-
constructor(props: EuiOutsideClickDetectorProps);
|
|
19938
|
-
onClickOutside: EventHandler<any>;
|
|
19939
|
-
componentDidMount(): void;
|
|
19940
|
-
componentWillUnmount(): void;
|
|
19941
|
-
onChildClick: (event: ReactMouseEvent, cb: (event: ReactMouseEvent) => void) => void;
|
|
19942
|
-
onChildMouseDown: (event: ReactMouseEvent) => void;
|
|
19943
|
-
onChildMouseUp: (event: ReactMouseEvent) => void;
|
|
19944
|
-
render(): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
19945
|
-
}
|
|
19987
|
+
export const EuiOutsideClickDetector: import("react").ForwardRefExoticComponent<EuiOutsideClickDetectorProps & import("react").RefAttributes<HTMLElement>>;
|
|
19946
19988
|
|
|
19947
19989
|
}
|
|
19948
19990
|
declare module '@elastic/eui/src/components/outside_click_detector' {
|
|
@@ -21940,7 +21982,8 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
|
|
|
21940
21982
|
}>;
|
|
21941
21983
|
export type EuiAvatarProps = Omit<HTMLAttributes<HTMLDivElement>, 'color'> & CommonProps & _EuiAvatarContent & {
|
|
21942
21984
|
/**
|
|
21943
|
-
* Full name of avatar
|
|
21985
|
+
* Full name of the avatar. Used as the accessible label (`aria-label`),
|
|
21986
|
+
* tooltip content and used to derive initials when `initials` is not provided.
|
|
21944
21987
|
*/
|
|
21945
21988
|
name: string;
|
|
21946
21989
|
/**
|
|
@@ -22458,6 +22501,132 @@ declare module '@elastic/eui/src/components/badge' {
|
|
|
22458
22501
|
export type { EuiBadgeGroupProps } from '@elastic/eui/src/components/badge/badge_group';
|
|
22459
22502
|
export { EuiBadgeGroup } from '@elastic/eui/src/components/badge/badge_group';
|
|
22460
22503
|
|
|
22504
|
+
}
|
|
22505
|
+
declare module '@elastic/eui/src/components/banner/banner.styles' {
|
|
22506
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
22507
|
+
export type EuiBannerSize = 's' | 'm';
|
|
22508
|
+
export const euiBannerStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
22509
|
+
euiBanner: import("@emotion/react").SerializedStyles;
|
|
22510
|
+
container: import("@emotion/react").SerializedStyles;
|
|
22511
|
+
media: import("@emotion/react").SerializedStyles;
|
|
22512
|
+
body: import("@emotion/react").SerializedStyles;
|
|
22513
|
+
content: import("@emotion/react").SerializedStyles;
|
|
22514
|
+
title: import("@emotion/react").SerializedStyles;
|
|
22515
|
+
text: import("@emotion/react").SerializedStyles;
|
|
22516
|
+
actions: import("@emotion/react").SerializedStyles;
|
|
22517
|
+
hasDismiss: import("@emotion/react").SerializedStyles;
|
|
22518
|
+
dismiss: import("@emotion/react").SerializedStyles;
|
|
22519
|
+
};
|
|
22520
|
+
|
|
22521
|
+
}
|
|
22522
|
+
declare module '@elastic/eui/src/components/banner/banner' {
|
|
22523
|
+
import React, { ReactNode } from 'react';
|
|
22524
|
+
import { CommonProps, DistributiveOmit } from '@elastic/eui/src/components/common';
|
|
22525
|
+
import { EuiButtonEmptyProps, EuiButtonIconProps } from '@elastic/eui/src/components/button';
|
|
22526
|
+
import { Props as EuiButtonProps } from '@elastic/eui/src/components/button/button';
|
|
22527
|
+
import { EuiBannerSize } from '@elastic/eui/src/components/banner/banner.styles';
|
|
22528
|
+
export type EuiBannerActionPrimaryProps = DistributiveOmit<EuiButtonProps, 'color' | 'size'>;
|
|
22529
|
+
export type EuiBannerActionSecondaryProps = DistributiveOmit<EuiButtonEmptyProps, 'color' | 'size' | 'flush'>;
|
|
22530
|
+
export type EuiBannerProps = CommonProps & {
|
|
22531
|
+
/** Heading shown at the top. */
|
|
22532
|
+
title: string;
|
|
22533
|
+
/**
|
|
22534
|
+
* HTML element used to render the title.
|
|
22535
|
+
* @default 'h2'
|
|
22536
|
+
*/
|
|
22537
|
+
headingElement?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
22538
|
+
/** Supporting copy rendered below the title. */
|
|
22539
|
+
text?: ReactNode;
|
|
22540
|
+
/** Extra content rendered directly below `text`. */
|
|
22541
|
+
children?: ReactNode;
|
|
22542
|
+
/** Illustration slot. Wrapped in a square (1:1) container. */
|
|
22543
|
+
media: ReactNode;
|
|
22544
|
+
/**
|
|
22545
|
+
* Visual size variant.
|
|
22546
|
+
* @default 'm'
|
|
22547
|
+
*/
|
|
22548
|
+
size?: EuiBannerSize;
|
|
22549
|
+
/**
|
|
22550
|
+
* Defines the announcement background color.
|
|
22551
|
+
* @default 'highlighted'
|
|
22552
|
+
*/
|
|
22553
|
+
color?: 'highlighted' | 'plain';
|
|
22554
|
+
/** Optional action buttons. */
|
|
22555
|
+
actionProps?: {
|
|
22556
|
+
/** Primary call-to-action, rendered as an `EuiButton`. */
|
|
22557
|
+
primary?: EuiBannerActionPrimaryProps;
|
|
22558
|
+
/** Secondary action, rendered as an `EuiButtonEmpty`. Is only rendered when a primary action is available. */
|
|
22559
|
+
secondary?: EuiBannerActionSecondaryProps;
|
|
22560
|
+
};
|
|
22561
|
+
/**
|
|
22562
|
+
* When provided, a dismiss button is rendered in the top-right corner and
|
|
22563
|
+
* this callback fires when the user activates it.
|
|
22564
|
+
*/
|
|
22565
|
+
onDismiss?: () => void;
|
|
22566
|
+
/** Extra props spread onto the dismiss `EuiButtonIcon`. */
|
|
22567
|
+
dismissButtonProps?: Omit<EuiButtonIconProps, 'onClick' | 'iconType' | 'color'>;
|
|
22568
|
+
/**
|
|
22569
|
+
* When set to `true`, the content is announced by screen readers on mount.
|
|
22570
|
+
* Use only when the announcement is immediately relevant, e.g. as feedback to user actions.
|
|
22571
|
+
* Avoid using on initial page load as it may create noise for assistive technology users.
|
|
22572
|
+
*
|
|
22573
|
+
* @default false
|
|
22574
|
+
*/
|
|
22575
|
+
announceOnMount?: boolean;
|
|
22576
|
+
};
|
|
22577
|
+
export const EuiBanner: React.ForwardRefExoticComponent<CommonProps & {
|
|
22578
|
+
/** Heading shown at the top. */
|
|
22579
|
+
title: string;
|
|
22580
|
+
/**
|
|
22581
|
+
* HTML element used to render the title.
|
|
22582
|
+
* @default 'h2'
|
|
22583
|
+
*/
|
|
22584
|
+
headingElement?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
22585
|
+
/** Supporting copy rendered below the title. */
|
|
22586
|
+
text?: ReactNode;
|
|
22587
|
+
/** Extra content rendered directly below `text`. */
|
|
22588
|
+
children?: ReactNode;
|
|
22589
|
+
/** Illustration slot. Wrapped in a square (1:1) container. */
|
|
22590
|
+
media: ReactNode;
|
|
22591
|
+
/**
|
|
22592
|
+
* Visual size variant.
|
|
22593
|
+
* @default 'm'
|
|
22594
|
+
*/
|
|
22595
|
+
size?: EuiBannerSize;
|
|
22596
|
+
/**
|
|
22597
|
+
* Defines the announcement background color.
|
|
22598
|
+
* @default 'highlighted'
|
|
22599
|
+
*/
|
|
22600
|
+
color?: "highlighted" | "plain";
|
|
22601
|
+
/** Optional action buttons. */
|
|
22602
|
+
actionProps?: {
|
|
22603
|
+
/** Primary call-to-action, rendered as an `EuiButton`. */
|
|
22604
|
+
primary?: EuiBannerActionPrimaryProps;
|
|
22605
|
+
/** Secondary action, rendered as an `EuiButtonEmpty`. Is only rendered when a primary action is available. */
|
|
22606
|
+
secondary?: EuiBannerActionSecondaryProps;
|
|
22607
|
+
};
|
|
22608
|
+
/**
|
|
22609
|
+
* When provided, a dismiss button is rendered in the top-right corner and
|
|
22610
|
+
* this callback fires when the user activates it.
|
|
22611
|
+
*/
|
|
22612
|
+
onDismiss?: () => void;
|
|
22613
|
+
/** Extra props spread onto the dismiss `EuiButtonIcon`. */
|
|
22614
|
+
dismissButtonProps?: Omit<EuiButtonIconProps, "onClick" | "iconType" | "color">;
|
|
22615
|
+
/**
|
|
22616
|
+
* When set to `true`, the content is announced by screen readers on mount.
|
|
22617
|
+
* Use only when the announcement is immediately relevant, e.g. as feedback to user actions.
|
|
22618
|
+
* Avoid using on initial page load as it may create noise for assistive technology users.
|
|
22619
|
+
*
|
|
22620
|
+
* @default false
|
|
22621
|
+
*/
|
|
22622
|
+
announceOnMount?: boolean;
|
|
22623
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
22624
|
+
|
|
22625
|
+
}
|
|
22626
|
+
declare module '@elastic/eui/src/components/banner' {
|
|
22627
|
+
export { EuiBanner } from '@elastic/eui/src/components/banner/banner';
|
|
22628
|
+
export type { EuiBannerProps } from '@elastic/eui/src/components/banner/banner';
|
|
22629
|
+
|
|
22461
22630
|
}
|
|
22462
22631
|
declare module '@elastic/eui/src/components/beacon/beacon.styles' {
|
|
22463
22632
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -28744,6 +28913,7 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/date_p
|
|
|
28744
28913
|
export const euiDatePopoverButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
28745
28914
|
euiDatePopoverButton: import("@emotion/react").SerializedStyles;
|
|
28746
28915
|
now: import("@emotion/react").SerializedStyles;
|
|
28916
|
+
tooltipAnchor: import("@emotion/react").SerializedStyles;
|
|
28747
28917
|
};
|
|
28748
28918
|
export const _buttonStyles: (euiThemeContext: UseEuiTheme) => import("@emotion/react").SerializedStyles;
|
|
28749
28919
|
|
|
@@ -36248,6 +36418,7 @@ declare module '@elastic/eui/src/components' {
|
|
|
36248
36418
|
export * from '@elastic/eui/src/components/auto_sizer';
|
|
36249
36419
|
export * from '@elastic/eui/src/components/avatar';
|
|
36250
36420
|
export * from '@elastic/eui/src/components/badge';
|
|
36421
|
+
export * from '@elastic/eui/src/components/banner';
|
|
36251
36422
|
export * from '@elastic/eui/src/components/beacon';
|
|
36252
36423
|
export * from '@elastic/eui/src/components/bottom_bar';
|
|
36253
36424
|
export * from '@elastic/eui/src/components/breadcrumbs';
|
|
@@ -37560,21 +37731,20 @@ declare module '@elastic/eui/src/services/container_query' {
|
|
|
37560
37731
|
|
|
37561
37732
|
declare module '@elastic/eui' {
|
|
37562
37733
|
export type EuiTokensObject = {
|
|
37563
|
-
"
|
|
37564
|
-
"euiIconTip.defaultAriaLabel": any;
|
|
37565
|
-
"euiTourStepIndicator.isActive": any;
|
|
37734
|
+
"euiTourStepIndicator.isActive": any;
|
|
37566
37735
|
"euiTourStepIndicator.isComplete": any;
|
|
37567
37736
|
"euiTourStepIndicator.isIncomplete": any;
|
|
37568
37737
|
"euiTourStepIndicator.ariaLabel": any;
|
|
37569
37738
|
"euiTourFooter.endTour": any;
|
|
37570
37739
|
"euiTourFooter.skipTour": any;
|
|
37571
37740
|
"euiTourFooter.closeTour": any;
|
|
37741
|
+
"euiTreeView.listNavigationInstructions": any;
|
|
37742
|
+
"euiIconTip.defaultAriaLabel": any;
|
|
37572
37743
|
"euiToast.newNotification": any;
|
|
37573
37744
|
"euiToast.notification": any;
|
|
37574
37745
|
"euiToast.dismissToast": any;
|
|
37575
37746
|
"euiGlobalToastList.clearAllToastsButtonAriaLabel": any;
|
|
37576
37747
|
"euiGlobalToastList.clearAllToastsButtonDisplayText": any;
|
|
37577
|
-
"euiTableHeaderCell.titleTextWithDesc": any;
|
|
37578
37748
|
"euiStat.loadingText": any;
|
|
37579
37749
|
"euiStepStrings.step": any;
|
|
37580
37750
|
"euiStepStrings.simpleStep": any;
|
|
@@ -37592,25 +37762,24 @@ declare module '@elastic/eui' {
|
|
|
37592
37762
|
"euiStepStrings.simpleLoading": any;
|
|
37593
37763
|
"euiStepStrings.current": any;
|
|
37594
37764
|
"euiStepStrings.simpleCurrent": any;
|
|
37765
|
+
"euiTableHeaderCell.titleTextWithDesc": any;
|
|
37595
37766
|
"euiSkeletonLoading.loadedAriaText": any;
|
|
37596
37767
|
"euiSkeletonLoading.loadingAriaText": any;
|
|
37597
|
-
"euiSearchBox.placeholder": any;
|
|
37598
|
-
"euiSearchBox.incrementalAriaLabel": any;
|
|
37599
|
-
"euiSearchBox.ariaLabel": any;
|
|
37600
37768
|
"euiSelectable.loadingOptions": any;
|
|
37601
37769
|
"euiSelectable.noMatchingOptions": any;
|
|
37602
37770
|
"euiSelectable.noAvailableOptions": any;
|
|
37603
37771
|
"euiSelectable.screenReaderInstructions": any;
|
|
37604
37772
|
"euiSelectable.placeholderName": any;
|
|
37605
37773
|
"euiSelectable.searchResults": any;
|
|
37606
|
-
"
|
|
37607
|
-
"
|
|
37774
|
+
"euiSearchBox.placeholder": any;
|
|
37775
|
+
"euiSearchBox.incrementalAriaLabel": any;
|
|
37776
|
+
"euiSearchBox.ariaLabel": any;
|
|
37608
37777
|
"euiResizablePanel.toggleButtonAriaLabel": any;
|
|
37609
37778
|
"euiResizableButton.horizontalResizerAriaLabel": any;
|
|
37610
37779
|
"euiResizableButton.verticalResizerAriaLabel": any;
|
|
37780
|
+
"euiProgress.valueText": any;
|
|
37781
|
+
"euiSideNav.mobileToggleAriaLabel": any;
|
|
37611
37782
|
"euiPopover.screenReaderAnnouncement": any;
|
|
37612
|
-
"euiPaginationButton.longPageString": any;
|
|
37613
|
-
"euiPaginationButton.shortPageString": any;
|
|
37614
37783
|
"euiPaginationButtonArrow.firstPage": any;
|
|
37615
37784
|
"euiPaginationButtonArrow.previousPage": any;
|
|
37616
37785
|
"euiPaginationButtonArrow.nextPage": any;
|
|
@@ -37623,6 +37792,12 @@ declare module '@elastic/eui' {
|
|
|
37623
37792
|
"euiPagination.of": any;
|
|
37624
37793
|
"euiPagination.collection": any;
|
|
37625
37794
|
"euiPagination.fromEndLabel": any;
|
|
37795
|
+
"euiPaginationButton.longPageString": any;
|
|
37796
|
+
"euiPaginationButton.shortPageString": any;
|
|
37797
|
+
"euiMark.highlightStart": any;
|
|
37798
|
+
"euiMark.highlightEnd": any;
|
|
37799
|
+
"euiModal.screenReaderModalDialog": any;
|
|
37800
|
+
"euiModal.closeModal": any;
|
|
37626
37801
|
"euiMarkdownEditorToolbar.editor": any;
|
|
37627
37802
|
"euiMarkdownEditorToolbar.previewMarkdown": any;
|
|
37628
37803
|
"euiMarkdownEditorHelpButton.mdSyntaxLink": any;
|
|
@@ -37638,11 +37813,7 @@ declare module '@elastic/eui' {
|
|
|
37638
37813
|
"euiMarkdownEditorFooter.supportedFileTypes": any;
|
|
37639
37814
|
"euiMarkdownEditorFooter.showSyntaxErrors": any;
|
|
37640
37815
|
"euiMarkdownEditorFooter.errorsTitle": any;
|
|
37641
|
-
"euiModal.screenReaderModalDialog": any;
|
|
37642
|
-
"euiModal.closeModal": any;
|
|
37643
37816
|
"euiLoadingStrings.ariaLabel": any;
|
|
37644
|
-
"euiMark.highlightStart": any;
|
|
37645
|
-
"euiMark.highlightEnd": any;
|
|
37646
37817
|
"euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
|
|
37647
37818
|
"euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
|
|
37648
37819
|
"euiInlineEditForm.saveButtonAriaLabel": any;
|
|
@@ -37651,13 +37822,13 @@ declare module '@elastic/eui' {
|
|
|
37651
37822
|
"euiInlineEditForm.activateEditModeDescription": any;
|
|
37652
37823
|
"euiImageButton.openFullScreen": any;
|
|
37653
37824
|
"euiImageButton.closeFullScreen": any;
|
|
37654
|
-
"euiForm.addressFormErrors": any;
|
|
37655
37825
|
"euiFlyoutMenu.back": any;
|
|
37656
37826
|
"euiFlyoutMenu.history": any;
|
|
37657
37827
|
"euiFlyout.screenReaderModalDialog": any;
|
|
37658
37828
|
"euiFlyout.screenReaderNoOverlayMaskDialog": any;
|
|
37659
37829
|
"euiFlyout.screenReaderFocusTrapShards": any;
|
|
37660
37830
|
"euiFlyoutCloseButton.ariaLabel": any;
|
|
37831
|
+
"euiForm.addressFormErrors": any;
|
|
37661
37832
|
"euiFilterButton.filterBadgeActiveAriaLabel": any;
|
|
37662
37833
|
"euiFilterButton.filterBadgeAvailableAriaLabel": any;
|
|
37663
37834
|
"euiErrorBoundary.error": any;
|
|
@@ -37665,6 +37836,7 @@ declare module '@elastic/eui' {
|
|
|
37665
37836
|
"euiDataGrid.ariaLabelledBy": any;
|
|
37666
37837
|
"euiDataGrid.screenReaderNotice": any;
|
|
37667
37838
|
"euiContextMenuPanelTitle.ariaLabel": any;
|
|
37839
|
+
"euiComboBox.listboxAriaLabel": any;
|
|
37668
37840
|
"euiSaturation.ariaLabel": any;
|
|
37669
37841
|
"euiSaturation.roleDescription": any;
|
|
37670
37842
|
"euiSaturation.screenReaderInstructions": any;
|
|
@@ -37681,15 +37853,17 @@ declare module '@elastic/eui' {
|
|
|
37681
37853
|
"euiColorPicker.openLabel": any;
|
|
37682
37854
|
"euiColorPicker.closeLabel": any;
|
|
37683
37855
|
"euiColorPicker.ariaLabel": any;
|
|
37684
|
-
"euiComboBox.listboxAriaLabel": any;
|
|
37685
37856
|
"euiCollapsibleNavBeta.ariaLabel": any;
|
|
37857
|
+
"euiCallOut.dismissAriaLabel": any;
|
|
37686
37858
|
"euiCodeBlockFullScreen.fullscreenCollapse": any;
|
|
37687
37859
|
"euiCodeBlockFullScreen.fullscreenExpand": any;
|
|
37688
37860
|
"euiCodeBlockFullScreen.ariaLabel": any;
|
|
37689
37861
|
"euiCodeBlockCopy.copy": any;
|
|
37690
37862
|
"euiCodeBlockAnnotations.ariaLabel": any;
|
|
37691
37863
|
"euiCodeBlock.label": any;
|
|
37692
|
-
"
|
|
37864
|
+
"euiBreadcrumbs.nav.ariaLabel": any;
|
|
37865
|
+
"euiBreadcrumb.collapsedBadge.ariaLabel": any;
|
|
37866
|
+
"euiBreadcrumb.popoverAriaLabel": any;
|
|
37693
37867
|
"euiBottomBar.screenReaderHeading": any;
|
|
37694
37868
|
"euiBottomBar.customScreenReaderAnnouncement": any;
|
|
37695
37869
|
"euiBottomBar.screenReaderAnnouncement": any;
|
|
@@ -37705,15 +37879,12 @@ declare module '@elastic/eui' {
|
|
|
37705
37879
|
"euiBasicTable.deselectRows": any;
|
|
37706
37880
|
"euiBasicTable.selectThisRow": any;
|
|
37707
37881
|
"euiBasicTable.tablePagination": any;
|
|
37708
|
-
"
|
|
37709
|
-
"euiBreadcrumb.collapsedBadge.ariaLabel": any;
|
|
37710
|
-
"euiBreadcrumb.popoverAriaLabel": any;
|
|
37882
|
+
"euiBanner.dismissAriaLabel": any;
|
|
37711
37883
|
"euiTablePagination.allRows": any;
|
|
37712
37884
|
"euiTablePagination.rowsPerPage": any;
|
|
37713
37885
|
"euiTablePagination.rowsPerPageOptionShowAllRows": any;
|
|
37714
37886
|
"euiTablePagination.rowsPerPageOption": any;
|
|
37715
37887
|
"euiTableSortMobile.sorting": any;
|
|
37716
|
-
"euiFieldValueSelectionFilter.buttonLabelHint": any;
|
|
37717
37888
|
"euiSelectableTemplateSitewide.searchPlaceholder": any;
|
|
37718
37889
|
"euiSelectableTemplateSitewide.loadingResults": any;
|
|
37719
37890
|
"euiSelectableTemplateSitewide.noResults": any;
|
|
@@ -37727,109 +37898,25 @@ declare module '@elastic/eui' {
|
|
|
37727
37898
|
"euiSelectableListItem.mixedOptionInstructions": any;
|
|
37728
37899
|
"euiSelectableListItem.mixedOptionUncheckInstructions": any;
|
|
37729
37900
|
"euiSelectableListItem.mixedOptionExcludeInstructions": any;
|
|
37901
|
+
"euiFieldValueSelectionFilter.buttonLabelHint": any;
|
|
37730
37902
|
"euiPinnableListGroup.pinExtraActionLabel": any;
|
|
37731
37903
|
"euiPinnableListGroup.pinnedExtraActionLabel": any;
|
|
37904
|
+
"euiHeaderLinks.appNavigation": any;
|
|
37905
|
+
"euiHeaderLinks.openNavigationMenu": any;
|
|
37906
|
+
"euiFlyoutManaged.defaultTitle": any;
|
|
37732
37907
|
"euiSuperSelect.screenReaderAnnouncement": any;
|
|
37733
37908
|
"euiSuperSelect.ariaLabel": any;
|
|
37734
37909
|
"euiRange.sliderScreenReaderInstructions": any;
|
|
37735
37910
|
"euiDualRange.sliderScreenReaderInstructions": any;
|
|
37736
37911
|
"euiFormControlLayoutDelimited.delimiterLabel": any;
|
|
37737
37912
|
"euiFormControlLayoutClearButton.label": any;
|
|
37913
|
+
"euiFieldSearch.clearSearchButtonLabel": any;
|
|
37738
37914
|
"euiFilePicker.promptText": any;
|
|
37739
37915
|
"euiFilePicker.filesSelected": any;
|
|
37740
37916
|
"euiFilePicker.removeSelectedAriaLabel": any;
|
|
37741
37917
|
"euiFilePicker.removeSelected": any;
|
|
37742
|
-
"euiFieldSearch.clearSearchButtonLabel": any;
|
|
37743
37918
|
"euiFieldPassword.showPassword": any;
|
|
37744
37919
|
"euiFieldPassword.maskPassword": any;
|
|
37745
|
-
"euiFlyoutManaged.defaultTitle": any;
|
|
37746
|
-
"euiHeaderLinks.appNavigation": any;
|
|
37747
|
-
"euiHeaderLinks.openNavigationMenu": any;
|
|
37748
|
-
"euiDataGridSchema.booleanSortTextAsc": any;
|
|
37749
|
-
"euiDataGridSchema.booleanSortTextDesc": any;
|
|
37750
|
-
"euiDataGridSchema.currencySortTextAsc": any;
|
|
37751
|
-
"euiDataGridSchema.currencySortTextDesc": any;
|
|
37752
|
-
"euiDataGridSchema.dateSortTextAsc": any;
|
|
37753
|
-
"euiDataGridSchema.dateSortTextDesc": any;
|
|
37754
|
-
"euiDataGridSchema.numberSortTextAsc": any;
|
|
37755
|
-
"euiDataGridSchema.numberSortTextDesc": any;
|
|
37756
|
-
"euiDataGridSchema.jsonSortTextAsc": any;
|
|
37757
|
-
"euiDataGridSchema.jsonSortTextDesc": any;
|
|
37758
|
-
"euiKeyboardShortcuts.title": any;
|
|
37759
|
-
"euiKeyboardShortcuts.upArrowTitle": any;
|
|
37760
|
-
"euiKeyboardShortcuts.upArrowDescription": any;
|
|
37761
|
-
"euiKeyboardShortcuts.downArrowTitle": any;
|
|
37762
|
-
"euiKeyboardShortcuts.downArrowDescription": any;
|
|
37763
|
-
"euiKeyboardShortcuts.rightArrowTitle": any;
|
|
37764
|
-
"euiKeyboardShortcuts.rightArrowDescription": any;
|
|
37765
|
-
"euiKeyboardShortcuts.leftArrowTitle": any;
|
|
37766
|
-
"euiKeyboardShortcuts.leftArrowDescription": any;
|
|
37767
|
-
"euiKeyboardShortcuts.homeTitle": any;
|
|
37768
|
-
"euiKeyboardShortcuts.homeDescription": any;
|
|
37769
|
-
"euiKeyboardShortcuts.endTitle": any;
|
|
37770
|
-
"euiKeyboardShortcuts.endDescription": any;
|
|
37771
|
-
"euiKeyboardShortcuts.ctrl": any;
|
|
37772
|
-
"euiKeyboardShortcuts.ctrlHomeDescription": any;
|
|
37773
|
-
"euiKeyboardShortcuts.ctrlEndDescription": any;
|
|
37774
|
-
"euiKeyboardShortcuts.pageUpTitle": any;
|
|
37775
|
-
"euiKeyboardShortcuts.pageUpDescription": any;
|
|
37776
|
-
"euiKeyboardShortcuts.pageDownTitle": any;
|
|
37777
|
-
"euiKeyboardShortcuts.pageDownDescription": any;
|
|
37778
|
-
"euiKeyboardShortcuts.enterTitle": any;
|
|
37779
|
-
"euiKeyboardShortcuts.enterDescription": any;
|
|
37780
|
-
"euiKeyboardShortcuts.escapeTitle": any;
|
|
37781
|
-
"euiKeyboardShortcuts.escapeDescription": any;
|
|
37782
|
-
"euiFullscreenSelector.fullscreenButton": any;
|
|
37783
|
-
"euiFullscreenSelector.fullscreenButtonActive": any;
|
|
37784
|
-
"euiDisplaySelector.densityLabel": any;
|
|
37785
|
-
"euiDisplaySelector.labelCompact": any;
|
|
37786
|
-
"euiDisplaySelector.labelNormal": any;
|
|
37787
|
-
"euiDisplaySelector.labelExpanded": any;
|
|
37788
|
-
"euiDisplaySelector.rowHeightLabel": any;
|
|
37789
|
-
"euiDisplaySelector.labelAuto": any;
|
|
37790
|
-
"euiDisplaySelector.labelStatic": any;
|
|
37791
|
-
"euiDisplaySelector.labelMax": any;
|
|
37792
|
-
"euiDisplaySelector.buttonText": any;
|
|
37793
|
-
"euiDisplaySelector.resetButtonText": any;
|
|
37794
|
-
"euiDataGridToolbarControl.badgeAriaLabel": any;
|
|
37795
|
-
"euiColumnSortingDraggable.defaultSortAsc": any;
|
|
37796
|
-
"euiColumnSortingDraggable.defaultSortDesc": any;
|
|
37797
|
-
"euiColumnSortingDraggable.dragHandleAriaLabel": any;
|
|
37798
|
-
"euiColumnSortingDraggable.activeSortLabel": any;
|
|
37799
|
-
"euiColumnSortingDraggable.removeSortLabel": any;
|
|
37800
|
-
"euiColumnSortingDraggable.toggleLegend": any;
|
|
37801
|
-
"euiColumnSorting.button": any;
|
|
37802
|
-
"euiColumnSorting.sortFieldAriaLabel": any;
|
|
37803
|
-
"euiColumnSorting.emptySorting": any;
|
|
37804
|
-
"euiColumnSorting.pickFields": any;
|
|
37805
|
-
"euiColumnSorting.clearAll": any;
|
|
37806
|
-
"euiColumnSelector.dragHandleAriaLabel": any;
|
|
37807
|
-
"euiColumnSelector.button": any;
|
|
37808
|
-
"euiColumnSelector.search": any;
|
|
37809
|
-
"euiColumnSelector.searchcolumns": any;
|
|
37810
|
-
"euiColumnSelector.selectAll": any;
|
|
37811
|
-
"euiColumnSelector.hideAll": any;
|
|
37812
|
-
"euiDataGridPagination.detailedPaginationLabel": any;
|
|
37813
|
-
"euiDataGridPagination.paginationLabel": any;
|
|
37814
|
-
"euiRefreshInterval.fullDescriptionOff": any;
|
|
37815
|
-
"euiRefreshInterval.fullDescriptionOn": any;
|
|
37816
|
-
"euiRefreshInterval.toggleLabel": any;
|
|
37817
|
-
"euiRefreshInterval.toggleAriaLabel": any;
|
|
37818
|
-
"euiRefreshInterval.valueAriaLabel": any;
|
|
37819
|
-
"euiRefreshInterval.unitsAriaLabel": any;
|
|
37820
|
-
"euiAutoRefresh.autoRefreshLabel": any;
|
|
37821
|
-
"euiAutoRefresh.buttonLabelOff": any;
|
|
37822
|
-
"euiAutoRefresh.buttonLabelOn": any;
|
|
37823
|
-
"euiTimeWindowButtons.previousDescription": any;
|
|
37824
|
-
"euiTimeWindowButtons.nextDescription": any;
|
|
37825
|
-
"euiTimeWindowButtons.invalidShiftLabel": any;
|
|
37826
|
-
"euiTimeWindowButtons.invalidZoomInLabel": any;
|
|
37827
|
-
"euiTimeWindowButtons.cannotZoomInLabel": any;
|
|
37828
|
-
"euiTimeWindowButtons.invalidZoomOutLabel": any;
|
|
37829
|
-
"euiTimeWindowButtons.previousLabel": any;
|
|
37830
|
-
"euiTimeWindowButtons.zoomInLabel": any;
|
|
37831
|
-
"euiTimeWindowButtons.zoomOutLabel": any;
|
|
37832
|
-
"euiTimeWindowButtons.nextLabel": any;
|
|
37833
37920
|
"euiTimeOptions.last": any;
|
|
37834
37921
|
"euiTimeOptions.next": any;
|
|
37835
37922
|
"euiTimeOptions.seconds": any;
|
|
@@ -37868,11 +37955,30 @@ declare module '@elastic/eui' {
|
|
|
37868
37955
|
"euiTimeOptions.weekToDate": any;
|
|
37869
37956
|
"euiTimeOptions.monthToDate": any;
|
|
37870
37957
|
"euiTimeOptions.yearToDate": any;
|
|
37958
|
+
"euiTimeWindowButtons.previousDescription": any;
|
|
37959
|
+
"euiTimeWindowButtons.nextDescription": any;
|
|
37960
|
+
"euiTimeWindowButtons.invalidShiftLabel": any;
|
|
37961
|
+
"euiTimeWindowButtons.invalidZoomInLabel": any;
|
|
37962
|
+
"euiTimeWindowButtons.cannotZoomInLabel": any;
|
|
37963
|
+
"euiTimeWindowButtons.invalidZoomOutLabel": any;
|
|
37964
|
+
"euiTimeWindowButtons.previousLabel": any;
|
|
37965
|
+
"euiTimeWindowButtons.zoomInLabel": any;
|
|
37966
|
+
"euiTimeWindowButtons.zoomOutLabel": any;
|
|
37967
|
+
"euiTimeWindowButtons.nextLabel": any;
|
|
37871
37968
|
"euiSuperUpdateButton.updatingButtonLabel": any;
|
|
37872
37969
|
"euiSuperUpdateButton.updateButtonLabel": any;
|
|
37873
37970
|
"euiSuperUpdateButton.refreshButtonLabel": any;
|
|
37874
37971
|
"euiSuperUpdateButton.cannotUpdateTooltip": any;
|
|
37875
37972
|
"euiSuperUpdateButton.clickToApplyTooltip": any;
|
|
37973
|
+
"euiPrettyInterval.seconds": any;
|
|
37974
|
+
"euiPrettyInterval.minutes": any;
|
|
37975
|
+
"euiPrettyInterval.hours": any;
|
|
37976
|
+
"euiPrettyInterval.days": any;
|
|
37977
|
+
"euiPrettyInterval.secondsShorthand": any;
|
|
37978
|
+
"euiPrettyInterval.minutesShorthand": any;
|
|
37979
|
+
"euiPrettyInterval.hoursShorthand": any;
|
|
37980
|
+
"euiPrettyInterval.daysShorthand": any;
|
|
37981
|
+
"euiPrettyInterval.off": any;
|
|
37876
37982
|
"euiPrettyDuration.lastDurationSeconds": any;
|
|
37877
37983
|
"euiPrettyDuration.nextDurationSeconds": any;
|
|
37878
37984
|
"euiPrettyDuration.lastDurationMinutes": any;
|
|
@@ -37897,15 +38003,81 @@ declare module '@elastic/eui' {
|
|
|
37897
38003
|
"euiPrettyDuration.now": any;
|
|
37898
38004
|
"euiPrettyDuration.invalid": any;
|
|
37899
38005
|
"euiPrettyDuration.fallbackDuration": any;
|
|
37900
|
-
"
|
|
37901
|
-
"
|
|
37902
|
-
"
|
|
37903
|
-
"
|
|
37904
|
-
"
|
|
37905
|
-
"
|
|
37906
|
-
"
|
|
37907
|
-
"
|
|
37908
|
-
"
|
|
38006
|
+
"euiRefreshInterval.fullDescriptionOff": any;
|
|
38007
|
+
"euiRefreshInterval.fullDescriptionOn": any;
|
|
38008
|
+
"euiRefreshInterval.toggleLabel": any;
|
|
38009
|
+
"euiRefreshInterval.toggleAriaLabel": any;
|
|
38010
|
+
"euiRefreshInterval.valueAriaLabel": any;
|
|
38011
|
+
"euiRefreshInterval.unitsAriaLabel": any;
|
|
38012
|
+
"euiAutoRefresh.autoRefreshLabel": any;
|
|
38013
|
+
"euiAutoRefresh.buttonLabelOff": any;
|
|
38014
|
+
"euiAutoRefresh.buttonLabelOn": any;
|
|
38015
|
+
"euiDataGridPagination.detailedPaginationLabel": any;
|
|
38016
|
+
"euiDataGridPagination.paginationLabel": any;
|
|
38017
|
+
"euiDataGridSchema.booleanSortTextAsc": any;
|
|
38018
|
+
"euiDataGridSchema.booleanSortTextDesc": any;
|
|
38019
|
+
"euiDataGridSchema.currencySortTextAsc": any;
|
|
38020
|
+
"euiDataGridSchema.currencySortTextDesc": any;
|
|
38021
|
+
"euiDataGridSchema.dateSortTextAsc": any;
|
|
38022
|
+
"euiDataGridSchema.dateSortTextDesc": any;
|
|
38023
|
+
"euiDataGridSchema.numberSortTextAsc": any;
|
|
38024
|
+
"euiDataGridSchema.numberSortTextDesc": any;
|
|
38025
|
+
"euiDataGridSchema.jsonSortTextAsc": any;
|
|
38026
|
+
"euiDataGridSchema.jsonSortTextDesc": any;
|
|
38027
|
+
"euiKeyboardShortcuts.title": any;
|
|
38028
|
+
"euiKeyboardShortcuts.upArrowTitle": any;
|
|
38029
|
+
"euiKeyboardShortcuts.upArrowDescription": any;
|
|
38030
|
+
"euiKeyboardShortcuts.downArrowTitle": any;
|
|
38031
|
+
"euiKeyboardShortcuts.downArrowDescription": any;
|
|
38032
|
+
"euiKeyboardShortcuts.rightArrowTitle": any;
|
|
38033
|
+
"euiKeyboardShortcuts.rightArrowDescription": any;
|
|
38034
|
+
"euiKeyboardShortcuts.leftArrowTitle": any;
|
|
38035
|
+
"euiKeyboardShortcuts.leftArrowDescription": any;
|
|
38036
|
+
"euiKeyboardShortcuts.homeTitle": any;
|
|
38037
|
+
"euiKeyboardShortcuts.homeDescription": any;
|
|
38038
|
+
"euiKeyboardShortcuts.endTitle": any;
|
|
38039
|
+
"euiKeyboardShortcuts.endDescription": any;
|
|
38040
|
+
"euiKeyboardShortcuts.ctrl": any;
|
|
38041
|
+
"euiKeyboardShortcuts.ctrlHomeDescription": any;
|
|
38042
|
+
"euiKeyboardShortcuts.ctrlEndDescription": any;
|
|
38043
|
+
"euiKeyboardShortcuts.pageUpTitle": any;
|
|
38044
|
+
"euiKeyboardShortcuts.pageUpDescription": any;
|
|
38045
|
+
"euiKeyboardShortcuts.pageDownTitle": any;
|
|
38046
|
+
"euiKeyboardShortcuts.pageDownDescription": any;
|
|
38047
|
+
"euiKeyboardShortcuts.enterTitle": any;
|
|
38048
|
+
"euiKeyboardShortcuts.enterDescription": any;
|
|
38049
|
+
"euiKeyboardShortcuts.escapeTitle": any;
|
|
38050
|
+
"euiKeyboardShortcuts.escapeDescription": any;
|
|
38051
|
+
"euiFullscreenSelector.fullscreenButton": any;
|
|
38052
|
+
"euiFullscreenSelector.fullscreenButtonActive": any;
|
|
38053
|
+
"euiDisplaySelector.densityLabel": any;
|
|
38054
|
+
"euiDisplaySelector.labelCompact": any;
|
|
38055
|
+
"euiDisplaySelector.labelNormal": any;
|
|
38056
|
+
"euiDisplaySelector.labelExpanded": any;
|
|
38057
|
+
"euiDisplaySelector.rowHeightLabel": any;
|
|
38058
|
+
"euiDisplaySelector.labelAuto": any;
|
|
38059
|
+
"euiDisplaySelector.labelStatic": any;
|
|
38060
|
+
"euiDisplaySelector.labelMax": any;
|
|
38061
|
+
"euiDisplaySelector.buttonText": any;
|
|
38062
|
+
"euiDisplaySelector.resetButtonText": any;
|
|
38063
|
+
"euiDataGridToolbarControl.badgeAriaLabel": any;
|
|
38064
|
+
"euiColumnSortingDraggable.defaultSortAsc": any;
|
|
38065
|
+
"euiColumnSortingDraggable.defaultSortDesc": any;
|
|
38066
|
+
"euiColumnSortingDraggable.dragHandleAriaLabel": any;
|
|
38067
|
+
"euiColumnSortingDraggable.activeSortLabel": any;
|
|
38068
|
+
"euiColumnSortingDraggable.removeSortLabel": any;
|
|
38069
|
+
"euiColumnSortingDraggable.toggleLegend": any;
|
|
38070
|
+
"euiColumnSorting.button": any;
|
|
38071
|
+
"euiColumnSorting.sortFieldAriaLabel": any;
|
|
38072
|
+
"euiColumnSorting.emptySorting": any;
|
|
38073
|
+
"euiColumnSorting.pickFields": any;
|
|
38074
|
+
"euiColumnSorting.clearAll": any;
|
|
38075
|
+
"euiColumnSelector.dragHandleAriaLabel": any;
|
|
38076
|
+
"euiColumnSelector.button": any;
|
|
38077
|
+
"euiColumnSelector.search": any;
|
|
38078
|
+
"euiColumnSelector.searchcolumns": any;
|
|
38079
|
+
"euiColumnSelector.selectAll": any;
|
|
38080
|
+
"euiColumnSelector.hideAll": any;
|
|
37909
38081
|
"euiComboBoxOptionsList.loadingOptions": any;
|
|
37910
38082
|
"euiComboBoxOptionsList.delimiterMessage": any;
|
|
37911
38083
|
"euiComboBoxOptionsList.alreadyAdded": any;
|
|
@@ -37914,23 +38086,51 @@ declare module '@elastic/eui' {
|
|
|
37914
38086
|
"euiComboBoxOptionsList.noAvailableOptions": any;
|
|
37915
38087
|
"euiComboBoxOptionsList.allOptionsSelected": any;
|
|
37916
38088
|
"euiComboBoxPill.removeSelection": any;
|
|
37917
|
-
"euiCollapsibleNavKibanaSolution.switcherTitle": any;
|
|
37918
|
-
"euiCollapsibleNavKibanaSolution.switcherAriaLabel": any;
|
|
37919
|
-
"euiCollapsibleNavKibanaSolution.groupLabel": any;
|
|
37920
38089
|
"euiCollapsibleNavButton.ariaLabelExpand": any;
|
|
37921
38090
|
"euiCollapsibleNavButton.ariaLabelCollapse": any;
|
|
37922
38091
|
"euiCollapsibleNavButton.ariaLabelOpen": any;
|
|
37923
38092
|
"euiCollapsibleNavButton.ariaLabelClose": any;
|
|
38093
|
+
"euiCollapsibleNavKibanaSolution.switcherTitle": any;
|
|
38094
|
+
"euiCollapsibleNavKibanaSolution.switcherAriaLabel": any;
|
|
38095
|
+
"euiCollapsibleNavKibanaSolution.groupLabel": any;
|
|
37924
38096
|
"euiCardSelect.selected": any;
|
|
37925
38097
|
"euiCardSelect.unavailable": any;
|
|
37926
38098
|
"euiCardSelect.select": any;
|
|
37927
38099
|
"euiAccordionChildrenLoading.message": any;
|
|
38100
|
+
"euiRecentlyUsed.legend": any;
|
|
38101
|
+
"euiQuickSelectPopover.buttonLabel": any;
|
|
38102
|
+
"euiCommonlyUsedTimeRanges.legend": any;
|
|
38103
|
+
"euiQuickSelect.quickSelectTitle": any;
|
|
38104
|
+
"euiQuickSelect.previousLabel": any;
|
|
38105
|
+
"euiQuickSelect.nextLabel": any;
|
|
38106
|
+
"euiQuickSelect.tenseLabel": any;
|
|
38107
|
+
"euiQuickSelect.valueLabel": any;
|
|
38108
|
+
"euiQuickSelect.unitLabel": any;
|
|
38109
|
+
"euiQuickSelect.applyButton": any;
|
|
38110
|
+
"euiQuickSelect.fullDescription": any;
|
|
38111
|
+
"euiRelativeTab.numberInputLabel": any;
|
|
38112
|
+
"euiRelativeTab.numberInputError": any;
|
|
38113
|
+
"euiRelativeTab.dateInputError": any;
|
|
38114
|
+
"euiRelativeTab.unitInputLabel": any;
|
|
38115
|
+
"euiRelativeTab.fullDescription": any;
|
|
38116
|
+
"euiDatePopoverContent.startDateLabel": any;
|
|
38117
|
+
"euiDatePopoverContent.endDateLabel": any;
|
|
38118
|
+
"euiDatePopoverContent.absoluteTabLabel": any;
|
|
38119
|
+
"euiDatePopoverContent.relativeTabLabel": any;
|
|
38120
|
+
"euiDatePopoverContent.nowTabLabel": any;
|
|
38121
|
+
"euiDatePopoverContent.nowTabContent": any;
|
|
38122
|
+
"euiDatePopoverContent.nowTabButtonStart": any;
|
|
38123
|
+
"euiDatePopoverContent.nowTabButtonEnd": any;
|
|
38124
|
+
"euiDatePopoverButton.invalidTitle": any;
|
|
38125
|
+
"euiDatePopoverButton.outdatedTitle": any;
|
|
38126
|
+
"euiAbsoluteTab.dateFormatButtonLabel": any;
|
|
38127
|
+
"euiAbsoluteTab.dateFormatError": any;
|
|
37928
38128
|
"euiDataGridCell.focusTrapExitPrompt": any;
|
|
37929
38129
|
"euiDataGridCell.focusTrapEnterPrompt": any;
|
|
37930
38130
|
"euiDataGridCell.focusTrapEnteredExitPrompt": any;
|
|
38131
|
+
"euiDataGridCellActions.expandButtonTitle": any;
|
|
37931
38132
|
"euiDataGridCell.position": any;
|
|
37932
38133
|
"euiDataGridCell.expansionEnterPrompt": any;
|
|
37933
|
-
"euiDataGridCellActions.expandButtonTitle": any;
|
|
37934
38134
|
"euiDataGridHeaderCell.sortedByAscendingSingle": any;
|
|
37935
38135
|
"euiDataGridHeaderCell.sortedByDescendingSingle": any;
|
|
37936
38136
|
"euiDataGridHeaderCell.sortedByAscendingFirst": any;
|
|
@@ -37945,34 +38145,6 @@ declare module '@elastic/eui' {
|
|
|
37945
38145
|
"euiColumnActions.moveRight": any;
|
|
37946
38146
|
"euiColumnActions.unsort": any;
|
|
37947
38147
|
"euiColumnActions.sort": any;
|
|
37948
|
-
"euiRelativeTab.numberInputLabel": any;
|
|
37949
|
-
"euiRelativeTab.numberInputError": any;
|
|
37950
|
-
"euiRelativeTab.dateInputError": any;
|
|
37951
|
-
"euiRelativeTab.unitInputLabel": any;
|
|
37952
|
-
"euiRelativeTab.fullDescription": any;
|
|
37953
|
-
"euiDatePopoverContent.startDateLabel": any;
|
|
37954
|
-
"euiDatePopoverContent.endDateLabel": any;
|
|
37955
|
-
"euiDatePopoverContent.absoluteTabLabel": any;
|
|
37956
|
-
"euiDatePopoverContent.relativeTabLabel": any;
|
|
37957
|
-
"euiDatePopoverContent.nowTabLabel": any;
|
|
37958
|
-
"euiDatePopoverContent.nowTabContent": any;
|
|
37959
|
-
"euiDatePopoverContent.nowTabButtonStart": any;
|
|
37960
|
-
"euiDatePopoverContent.nowTabButtonEnd": any;
|
|
37961
|
-
"euiDatePopoverButton.invalidTitle": any;
|
|
37962
|
-
"euiDatePopoverButton.outdatedTitle": any;
|
|
37963
|
-
"euiAbsoluteTab.dateFormatButtonLabel": any;
|
|
37964
|
-
"euiAbsoluteTab.dateFormatError": any;
|
|
37965
|
-
"euiRecentlyUsed.legend": any;
|
|
37966
|
-
"euiQuickSelectPopover.buttonLabel": any;
|
|
37967
|
-
"euiQuickSelect.quickSelectTitle": any;
|
|
37968
|
-
"euiQuickSelect.previousLabel": any;
|
|
37969
|
-
"euiQuickSelect.nextLabel": any;
|
|
37970
|
-
"euiQuickSelect.tenseLabel": any;
|
|
37971
|
-
"euiQuickSelect.valueLabel": any;
|
|
37972
|
-
"euiQuickSelect.unitLabel": any;
|
|
37973
|
-
"euiQuickSelect.applyButton": any;
|
|
37974
|
-
"euiQuickSelect.fullDescription": any;
|
|
37975
|
-
"euiCommonlyUsedTimeRanges.legend": any;
|
|
37976
38148
|
"euiCollapsedNavButton.ariaLabelButtonIcon": any;
|
|
37977
38149
|
}
|
|
37978
38150
|
}
|