@elastic/eui 60.2.0 → 62.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +20 -660
- package/dist/eui_theme_dark.json +1 -2
- package/dist/eui_theme_dark.json.d.ts +1 -2
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +20 -660
- package/dist/eui_theme_light.json +1 -2
- package/dist/eui_theme_light.json.d.ts +1 -2
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +1 -1
- package/es/components/accordion/accordion.js +10 -5
- package/es/components/avatar/avatar.js +1 -2
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button.js +2 -2
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/card/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/color_picker/color_picker.js +1 -1
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
- package/es/components/comment_list/comment.js +54 -24
- package/es/components/comment_list/comment_event.js +103 -32
- package/es/components/comment_list/comment_event.styles.js +78 -0
- package/es/components/comment_list/comment_list.js +45 -12
- package/es/components/comment_list/comment_timeline.js +29 -35
- package/es/components/context_menu/context_menu.js +1 -1
- package/es/components/context_menu/context_menu_panel.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +20 -17
- package/es/components/datagrid/body/data_grid_cell.js +102 -34
- package/es/components/datagrid/body/header/data_grid_header_cell.js +164 -68
- package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +15 -13
- package/es/components/datagrid/utils/in_memory.js +12 -12
- package/es/components/datagrid/utils/ref.js +24 -3
- package/es/components/datagrid/utils/row_heights.js +27 -33
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/error_boundary/error_boundary.js +18 -11
- package/es/components/error_boundary/error_boundary.styles.js +18 -0
- package/es/components/focus_trap/focus_trap.js +1 -0
- package/es/components/form/field_number/field_number.js +1 -1
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form.styles.js +11 -0
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +10 -8
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/assets/keyboard.js +38 -0
- package/es/components/icon/assets/tokenMetricCounter.js +38 -0
- package/es/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +39 -37
- package/es/components/image/image.js +71 -166
- package/es/components/image/image.styles.js +28 -0
- package/es/components/image/image_button.js +68 -0
- package/es/components/image/image_button.styles.js +41 -0
- package/es/components/image/image_caption.js +28 -0
- package/es/components/image/image_caption.styles.js +18 -0
- package/es/components/image/image_fullscreen_wrapper.js +100 -0
- package/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
- package/es/components/image/image_types.js +10 -0
- package/es/components/image/image_wrapper.js +78 -0
- package/es/components/image/image_wrapper.styles.js +41 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_template.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/popover/input_popover.js +8 -4
- package/es/components/popover/popover.js +58 -148
- package/es/components/popover/popover.styles.js +15 -0
- package/es/components/popover/popover_arrow/_popover_arrow.js +40 -0
- package/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
- package/es/components/popover/popover_arrow/index.js +8 -0
- package/es/components/popover/popover_footer.js +15 -12
- package/es/components/popover/popover_footer.styles.js +19 -0
- package/es/components/popover/popover_panel/_popover_panel.js +114 -0
- package/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
- package/es/components/popover/popover_panel/index.js +8 -0
- package/es/components/popover/popover_title.js +15 -12
- package/es/components/popover/popover_title.styles.js +20 -0
- package/es/components/selectable/selectable.js +10 -9
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_search/selectable_search.js +1 -6
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/es/components/suggest/suggest.js +1 -5
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/text/text.styles.js +5 -4
- package/es/components/text_diff/text_diff.js +5 -0
- package/es/components/text_diff/text_diff.styles.js +15 -0
- package/es/components/timeline/timeline_item.js +1 -2
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/token/token.js +1 -1
- package/es/components/token/token_map.js +115 -107
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/es/components/tour/tour.js +6 -6
- package/es/components/tour/tour_step.js +6 -6
- package/es/global_styling/functions/logicals.js +22 -0
- package/es/global_styling/mixins/_responsive.js +46 -0
- package/es/global_styling/mixins/index.js +2 -1
- package/es/services/hooks/index.js +1 -0
- package/es/services/hooks/useLatest.js +18 -0
- package/es/test/emotion-prefix.js +1 -1
- package/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/eui.d.ts +620 -252
- package/i18ntokens.json +147 -51
- package/lib/components/accessibility/skip_link/skip_link.js +1 -1
- package/lib/components/accordion/accordion.js +10 -5
- package/lib/components/avatar/avatar.js +1 -2
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button.js +2 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/card/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/color_picker/color_picker.js +1 -1
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/lib/components/comment_list/comment.js +53 -25
- package/lib/components/comment_list/comment_event.js +104 -41
- package/lib/components/comment_list/comment_event.styles.js +86 -0
- package/lib/components/comment_list/comment_list.js +46 -12
- package/lib/components/comment_list/comment_timeline.js +30 -40
- package/lib/components/context_menu/context_menu.js +1 -1
- package/lib/components/context_menu/context_menu_panel.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +20 -17
- package/lib/components/datagrid/body/data_grid_cell.js +101 -33
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +166 -67
- package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +15 -13
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- package/lib/components/datagrid/utils/ref.js +24 -3
- package/lib/components/datagrid/utils/row_heights.js +26 -32
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/error_boundary/error_boundary.js +23 -13
- package/lib/components/error_boundary/error_boundary.styles.js +30 -0
- package/lib/components/focus_trap/focus_trap.js +1 -0
- package/lib/components/form/field_number/field_number.js +1 -1
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form.styles.js +20 -0
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +10 -8
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/assets/keyboard.js +45 -0
- package/lib/components/icon/assets/tokenMetricCounter.js +45 -0
- package/lib/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +39 -37
- package/lib/components/icon/svgs/keyboard.svg +3 -0
- package/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
- package/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
- package/lib/components/image/image.js +73 -168
- package/lib/components/image/image.styles.js +40 -0
- package/lib/components/image/image_button.js +81 -0
- package/lib/components/image/image_button.styles.js +48 -0
- package/lib/components/image/image_caption.js +49 -0
- package/lib/components/image/image_caption.styles.js +30 -0
- package/lib/components/image/image_fullscreen_wrapper.js +117 -0
- package/lib/components/image/image_fullscreen_wrapper.styles.js +30 -0
- package/lib/components/image/image_types.js +18 -0
- package/lib/components/image/image_wrapper.js +91 -0
- package/lib/components/image/image_wrapper.styles.js +44 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_template.js +1 -1
- package/lib/components/popover/input_popover.js +8 -3
- package/lib/components/popover/popover.js +74 -165
- package/lib/components/popover/popover.styles.js +26 -0
- package/lib/components/popover/popover_arrow/_popover_arrow.js +51 -0
- package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/lib/components/popover/popover_arrow/index.js +13 -0
- package/lib/components/popover/popover_footer.js +25 -15
- package/lib/components/popover/popover_footer.styles.js +30 -0
- package/lib/components/popover/popover_panel/_popover_panel.js +132 -0
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/lib/components/popover/popover_panel/index.js +13 -0
- package/lib/components/popover/popover_title.js +25 -15
- package/lib/components/popover/popover_title.styles.js +32 -0
- package/lib/components/selectable/selectable.js +10 -9
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_search/selectable_search.js +0 -5
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/lib/components/suggest/suggest.js +1 -5
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/text/text.styles.js +4 -3
- package/lib/components/text_diff/text_diff.js +7 -0
- package/lib/components/text_diff/text_diff.styles.js +25 -0
- package/lib/components/timeline/timeline_item.js +1 -2
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/token/token.js +1 -1
- package/lib/components/token/token_map.js +115 -107
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/lib/global_styling/functions/logicals.js +30 -2
- package/lib/global_styling/mixins/_responsive.js +60 -0
- package/lib/global_styling/mixins/index.js +13 -0
- package/lib/services/hooks/index.js +13 -0
- package/lib/services/hooks/useLatest.js +26 -0
- package/lib/test/emotion-prefix.js +1 -1
- package/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/optimize/es/components/accordion/accordion.js +10 -5
- package/optimize/es/components/avatar/avatar.js +0 -1
- package/optimize/es/components/color_picker/color_picker.js +1 -1
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
- package/optimize/es/components/comment_list/comment.js +24 -18
- package/optimize/es/components/comment_list/comment_event.js +83 -28
- package/optimize/es/components/comment_list/comment_event.styles.js +78 -0
- package/optimize/es/components/comment_list/comment_list.js +7 -3
- package/optimize/es/components/comment_list/comment_timeline.js +19 -32
- package/optimize/es/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/es/components/datagrid/body/data_grid_body.js +7 -4
- package/optimize/es/components/datagrid/body/data_grid_cell.js +18 -9
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +150 -54
- package/optimize/es/components/datagrid/data_grid.js +2 -0
- package/optimize/es/components/datagrid/utils/ref.js +24 -3
- package/optimize/es/components/datagrid/utils/row_heights.js +27 -33
- package/optimize/es/components/error_boundary/error_boundary.js +17 -10
- package/optimize/es/components/error_boundary/error_boundary.styles.js +18 -0
- package/optimize/es/components/focus_trap/focus_trap.js +1 -0
- package/optimize/es/components/form/form.styles.js +11 -0
- package/optimize/es/components/icon/assets/keyboard.js +34 -0
- package/optimize/es/components/icon/assets/tokenMetricCounter.js +34 -0
- package/optimize/es/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
- package/optimize/es/components/icon/icon_map.js +39 -37
- package/optimize/es/components/image/image.js +50 -154
- package/optimize/es/components/image/image.styles.js +28 -0
- package/optimize/es/components/image/image_button.js +56 -0
- package/optimize/es/components/image/image_button.styles.js +41 -0
- package/optimize/es/components/image/image_caption.js +24 -0
- package/optimize/es/components/image/image_caption.styles.js +18 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.js +84 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
- package/optimize/es/components/image/image_types.js +10 -0
- package/optimize/es/components/image/image_wrapper.js +62 -0
- package/optimize/es/components/image/image_wrapper.styles.js +41 -0
- package/optimize/es/components/popover/input_popover.js +8 -4
- package/optimize/es/components/popover/popover.js +41 -131
- package/optimize/es/components/popover/popover.styles.js +15 -0
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +29 -0
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
- package/optimize/es/components/popover/popover_arrow/index.js +8 -0
- package/optimize/es/components/popover/popover_footer.js +15 -12
- package/optimize/es/components/popover/popover_footer.styles.js +19 -0
- package/optimize/es/components/popover/popover_panel/_popover_panel.js +55 -0
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
- package/optimize/es/components/popover/popover_panel/index.js +8 -0
- package/optimize/es/components/popover/popover_title.js +15 -12
- package/optimize/es/components/popover/popover_title.styles.js +20 -0
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/selectable/selectable_search/selectable_search.js +1 -6
- package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/optimize/es/components/suggest/suggest.js +0 -4
- package/optimize/es/components/text/text.styles.js +5 -4
- package/optimize/es/components/text_diff/text_diff.js +5 -0
- package/optimize/es/components/text_diff/text_diff.styles.js +15 -0
- package/optimize/es/components/timeline/timeline_item.js +1 -2
- package/optimize/es/components/token/token_map.js +115 -107
- package/optimize/es/global_styling/functions/logicals.js +22 -0
- package/optimize/es/global_styling/mixins/_responsive.js +46 -0
- package/optimize/es/global_styling/mixins/index.js +2 -1
- package/optimize/es/services/hooks/index.js +1 -0
- package/optimize/es/services/hooks/useLatest.js +18 -0
- package/optimize/es/test/emotion-prefix.js +1 -1
- package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/optimize/lib/components/accordion/accordion.js +8 -5
- package/optimize/lib/components/avatar/avatar.js +0 -1
- package/optimize/lib/components/color_picker/color_picker.js +1 -1
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/optimize/lib/components/comment_list/comment.js +23 -18
- package/optimize/lib/components/comment_list/comment_event.js +85 -31
- package/optimize/lib/components/comment_list/comment_event.styles.js +86 -0
- package/optimize/lib/components/comment_list/comment_list.js +8 -3
- package/optimize/lib/components/comment_list/comment_timeline.js +21 -38
- package/optimize/lib/components/context_menu/context_menu_panel.js +1 -1
- package/optimize/lib/components/datagrid/body/data_grid_body.js +7 -4
- package/optimize/lib/components/datagrid/body/data_grid_cell.js +17 -8
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +153 -54
- package/optimize/lib/components/datagrid/data_grid.js +2 -0
- package/optimize/lib/components/datagrid/utils/ref.js +24 -3
- package/optimize/lib/components/datagrid/utils/row_heights.js +25 -30
- package/optimize/lib/components/error_boundary/error_boundary.js +20 -10
- package/optimize/lib/components/error_boundary/error_boundary.styles.js +30 -0
- package/optimize/lib/components/focus_trap/focus_trap.js +1 -0
- package/optimize/lib/components/form/form.styles.js +20 -0
- package/optimize/lib/components/icon/assets/keyboard.js +44 -0
- package/optimize/lib/components/icon/assets/tokenMetricCounter.js +44 -0
- package/{test-env/components/icon/assets/keyboard_shortcut.js → optimize/lib/components/icon/assets/tokenMetricGauge.js} +3 -3
- package/optimize/lib/components/icon/icon_map.js +39 -37
- package/optimize/lib/components/icon/svgs/keyboard.svg +3 -0
- package/optimize/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
- package/optimize/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
- package/optimize/lib/components/image/image.js +52 -156
- package/optimize/lib/components/image/image.styles.js +40 -0
- package/optimize/lib/components/image/image_button.js +68 -0
- package/optimize/lib/components/image/image_button.styles.js +48 -0
- package/optimize/lib/components/image/image_caption.js +42 -0
- package/optimize/lib/components/image/image_caption.styles.js +30 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +108 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.styles.js +32 -0
- package/optimize/lib/components/image/image_types.js +18 -0
- package/optimize/lib/components/image/image_wrapper.js +82 -0
- package/optimize/lib/components/image/image_wrapper.styles.js +44 -0
- package/optimize/lib/components/popover/input_popover.js +7 -3
- package/optimize/lib/components/popover/popover.js +60 -150
- package/optimize/lib/components/popover/popover.styles.js +26 -0
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +39 -0
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/optimize/lib/components/popover/popover_arrow/index.js +13 -0
- package/optimize/lib/components/popover/popover_footer.js +26 -14
- package/optimize/lib/components/popover/popover_footer.styles.js +30 -0
- package/optimize/lib/components/popover/popover_panel/_popover_panel.js +74 -0
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/optimize/lib/components/popover/popover_panel/index.js +13 -0
- package/optimize/lib/components/popover/popover_title.js +26 -14
- package/optimize/lib/components/popover/popover_title.styles.js +32 -0
- package/optimize/lib/components/selectable/selectable.js +10 -8
- package/optimize/lib/components/selectable/selectable_search/selectable_search.js +0 -5
- package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/optimize/lib/components/suggest/suggest.js +0 -4
- package/optimize/lib/components/text/text.styles.js +4 -3
- package/optimize/lib/components/text_diff/text_diff.js +7 -0
- package/optimize/lib/components/text_diff/text_diff.styles.js +25 -0
- package/optimize/lib/components/timeline/timeline_item.js +1 -2
- package/optimize/lib/components/token/token_map.js +115 -107
- package/optimize/lib/global_styling/functions/logicals.js +30 -2
- package/optimize/lib/global_styling/mixins/_responsive.js +60 -0
- package/optimize/lib/global_styling/mixins/index.js +13 -0
- package/optimize/lib/services/hooks/index.js +13 -0
- package/optimize/lib/services/hooks/useLatest.js +26 -0
- package/optimize/lib/test/emotion-prefix.js +1 -1
- package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/package.json +3 -3
- package/src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss +0 -4
- package/src/components/context_menu/_context_menu_panel.scss +2 -2
- package/src/components/index.scss +0 -5
- package/src/components/markdown_editor/_markdown_editor.scss +3 -2
- package/src/components/tour/_tour.scss +13 -9
- package/src/global_styling/mixins/_index.scss +0 -1
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -2
- package/src/themes/amsterdam/overrides/_index.scss +0 -3
- package/test-env/components/accessibility/skip_link/skip_link.js +1 -1
- package/test-env/components/accordion/accordion.js +8 -5
- package/test-env/components/avatar/avatar.js +1 -2
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button.js +2 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/card/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/color_picker/color_picker.js +1 -1
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
- package/test-env/components/comment_list/comment.js +53 -24
- package/test-env/components/comment_list/comment_event.js +105 -35
- package/test-env/components/comment_list/comment_event.styles.js +86 -0
- package/test-env/components/comment_list/comment_list.js +46 -12
- package/test-env/components/comment_list/comment_timeline.js +30 -40
- package/test-env/components/context_menu/context_menu.js +1 -1
- package/test-env/components/context_menu/context_menu_panel.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +20 -17
- package/test-env/components/datagrid/body/data_grid_cell.js +101 -33
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +166 -67
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +15 -13
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- package/test-env/components/datagrid/utils/ref.js +24 -3
- package/test-env/components/datagrid/utils/row_heights.js +25 -30
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/error_boundary/error_boundary.js +23 -13
- package/test-env/components/error_boundary/error_boundary.styles.js +30 -0
- package/test-env/components/form/field_number/field_number.js +1 -1
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form.styles.js +20 -0
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +10 -8
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/assets/keyboard.js +44 -0
- package/test-env/components/icon/assets/tokenMetricCounter.js +44 -0
- package/{optimize/lib/components/icon/assets/keyboard_shortcut.js → test-env/components/icon/assets/tokenMetricGauge.js} +3 -3
- package/test-env/components/icon/icon_map.js +39 -37
- package/test-env/components/image/image.js +73 -168
- package/test-env/components/image/image.styles.js +40 -0
- package/test-env/components/image/image_button.js +77 -0
- package/test-env/components/image/image_button.styles.js +48 -0
- package/test-env/components/image/image_caption.js +49 -0
- package/test-env/components/image/image_caption.styles.js +30 -0
- package/test-env/components/image/image_fullscreen_wrapper.js +114 -0
- package/test-env/components/image/image_fullscreen_wrapper.styles.js +32 -0
- package/test-env/components/image/image_types.js +18 -0
- package/test-env/components/image/image_wrapper.js +88 -0
- package/test-env/components/image/image_wrapper.styles.js +44 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_template.js +1 -1
- package/test-env/components/popover/input_popover.js +7 -3
- package/test-env/components/popover/popover.js +75 -166
- package/test-env/components/popover/popover.styles.js +26 -0
- package/test-env/components/popover/popover_arrow/_popover_arrow.js +47 -0
- package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
- package/test-env/components/popover/popover_arrow/index.js +13 -0
- package/test-env/components/popover/popover_footer.js +26 -14
- package/test-env/components/popover/popover_footer.styles.js +30 -0
- package/test-env/components/popover/popover_panel/_popover_panel.js +119 -0
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +54 -0
- package/test-env/components/popover/popover_panel/index.js +13 -0
- package/test-env/components/popover/popover_title.js +26 -14
- package/test-env/components/popover/popover_title.styles.js +32 -0
- package/test-env/components/selectable/selectable.js +10 -8
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_search/selectable_search.js +0 -5
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
- package/test-env/components/suggest/suggest.js +1 -5
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/text/text.styles.js +4 -3
- package/test-env/components/text_diff/text_diff.js +7 -0
- package/test-env/components/text_diff/text_diff.styles.js +25 -0
- package/test-env/components/timeline/timeline_item.js +1 -2
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/token/token.js +1 -1
- package/test-env/components/token/token_map.js +115 -107
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/test-env/global_styling/functions/logicals.js +30 -2
- package/test-env/global_styling/mixins/_responsive.js +60 -0
- package/test-env/global_styling/mixins/index.js +13 -0
- package/test-env/services/hooks/index.js +13 -0
- package/test-env/services/hooks/useLatest.js +26 -0
- package/test-env/test/emotion-prefix.js +1 -1
- package/test-env/themes/amsterdam/global_styling/functions/shadows.js +1 -1
- package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
- package/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
- package/optimize/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
- package/src/components/comment_list/_comment.scss +0 -38
- package/src/components/comment_list/_comment_event.scss +0 -77
- package/src/components/comment_list/_comment_timeline.scss +0 -27
- package/src/components/comment_list/_index.scss +0 -3
- package/src/components/error_boundary/_error_boundary.scss +0 -13
- package/src/components/error_boundary/_index.scss +0 -1
- package/src/components/image/_image.scss +0 -212
- package/src/components/image/_index.scss +0 -1
- package/src/components/popover/_index.scss +0 -5
- package/src/components/popover/_input_popover.scss +0 -7
- package/src/components/popover/_popover.scss +0 -182
- package/src/components/popover/_popover_footer.scss +0 -27
- package/src/components/popover/_popover_title.scss +0 -27
- package/src/components/popover/_variables.scss +0 -2
- package/src/components/text_diff/_index.scss +0 -1
- package/src/components/text_diff/_text_diff.scss +0 -9
- package/src/global_styling/mixins/_popover.scss +0 -19
- package/src/themes/amsterdam/global_styling/mixins/_popover.scss +0 -5
- package/src/themes/amsterdam/overrides/_comment.scss +0 -3
- package/src/themes/amsterdam/overrides/_image.scss +0 -10
- package/src/themes/amsterdam/overrides/_popover.scss +0 -104
package/eui.d.ts
CHANGED
|
@@ -718,7 +718,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
718
718
|
inspect: string;
|
|
719
719
|
invert: string;
|
|
720
720
|
ip: string;
|
|
721
|
-
|
|
721
|
+
keyboard: string;
|
|
722
722
|
kqlField: string;
|
|
723
723
|
kqlFunction: string;
|
|
724
724
|
kqlOperand: string;
|
|
@@ -946,57 +946,59 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
946
946
|
wordWrapDisabled: string;
|
|
947
947
|
workplaceSearchApp: string;
|
|
948
948
|
wrench: string;
|
|
949
|
+
tokenAlias: string;
|
|
950
|
+
tokenAnnotation: string;
|
|
951
|
+
tokenArray: string;
|
|
952
|
+
tokenBinary: string;
|
|
953
|
+
tokenBoolean: string;
|
|
949
954
|
tokenClass: string;
|
|
950
|
-
|
|
955
|
+
tokenCompletionSuggester: string;
|
|
956
|
+
tokenConstant: string;
|
|
957
|
+
tokenDate: string;
|
|
958
|
+
tokenDenseVector: string;
|
|
959
|
+
tokenElement: string;
|
|
951
960
|
tokenEnum: string;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
tokenAnnotation: string;
|
|
961
|
+
tokenEnumMember: string;
|
|
962
|
+
tokenEvent: string;
|
|
955
963
|
tokenException: string;
|
|
956
|
-
tokenInterface: string;
|
|
957
|
-
tokenParameter: string;
|
|
958
964
|
tokenField: string;
|
|
959
|
-
|
|
965
|
+
tokenFile: string;
|
|
966
|
+
tokenFlattened: string;
|
|
960
967
|
tokenFunction: string;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
tokenObject: string;
|
|
967
|
-
tokenEvent: string;
|
|
968
|
+
tokenGeo: string;
|
|
969
|
+
tokenHistogram: string;
|
|
970
|
+
tokenInterface: string;
|
|
971
|
+
tokenIP: string;
|
|
972
|
+
tokenJoin: string;
|
|
968
973
|
tokenKey: string;
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
tokenEnumMember: string;
|
|
974
|
-
tokenRepo: string;
|
|
975
|
-
tokenSymbol: string;
|
|
976
|
-
tokenFile: string;
|
|
974
|
+
tokenKeyword: string;
|
|
975
|
+
tokenMethod: string;
|
|
976
|
+
tokenMetricCounter: string;
|
|
977
|
+
tokenMetricGauge: string;
|
|
977
978
|
tokenModule: string;
|
|
978
979
|
tokenNamespace: string;
|
|
979
|
-
tokenDate: string;
|
|
980
|
-
tokenIP: string;
|
|
981
980
|
tokenNested: string;
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
981
|
+
tokenNull: string;
|
|
982
|
+
tokenNumber: string;
|
|
983
|
+
tokenObject: string;
|
|
984
|
+
tokenOperator: string;
|
|
985
|
+
tokenPackage: string;
|
|
986
|
+
tokenParameter: string;
|
|
988
987
|
tokenPercolator: string;
|
|
989
|
-
|
|
988
|
+
tokenProperty: string;
|
|
989
|
+
tokenRange: string;
|
|
990
990
|
tokenRankFeature: string;
|
|
991
991
|
tokenRankFeatures: string;
|
|
992
|
-
|
|
992
|
+
tokenRepo: string;
|
|
993
|
+
tokenSearchType: string;
|
|
994
|
+
tokenShape: string;
|
|
995
|
+
tokenString: string;
|
|
996
|
+
tokenStruct: string;
|
|
997
|
+
tokenSymbol: string;
|
|
993
998
|
tokenTag: string;
|
|
994
|
-
tokenCompletionSuggester: string;
|
|
995
|
-
tokenDenseVector: string;
|
|
996
999
|
tokenText: string;
|
|
997
1000
|
tokenTokenCount: string;
|
|
998
|
-
|
|
999
|
-
tokenHistogram: string;
|
|
1001
|
+
tokenVariable: string;
|
|
1000
1002
|
};
|
|
1001
1003
|
|
|
1002
1004
|
}
|
|
@@ -1663,6 +1665,7 @@ declare module '@elastic/eui/src/global_styling/variables/shadow' {
|
|
|
1663
1665
|
export const _EuiShadowSizesDescriptions: Record<_EuiThemeShadowSize, string>;
|
|
1664
1666
|
export interface _EuiThemeShadowCustomColor {
|
|
1665
1667
|
color?: string;
|
|
1668
|
+
property?: 'box-shadow' | 'filter';
|
|
1666
1669
|
}
|
|
1667
1670
|
|
|
1668
1671
|
}
|
|
@@ -1775,6 +1778,22 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
|
1775
1778
|
export const logicalStyle: (property: LogicalProperties, value?: any) => {
|
|
1776
1779
|
[x: string]: string;
|
|
1777
1780
|
};
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @param width A string value for the LTR width
|
|
1784
|
+
* @param height A string value for the LTR height
|
|
1785
|
+
* @returns `string` Returns the logical CSS properties for height and width
|
|
1786
|
+
*/
|
|
1787
|
+
export const logicalSizeCSS: (width: any, height: any) => string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @param width A string value for the LTR width
|
|
1791
|
+
* @param height A string value for the LTR height
|
|
1792
|
+
* @returns `object` Returns the logical CSS properties for height and width
|
|
1793
|
+
*/
|
|
1794
|
+
export const logicalSizeStyle: (width: any, height: any) => {
|
|
1795
|
+
[x: string]: any;
|
|
1796
|
+
};
|
|
1778
1797
|
export const logicalText: {
|
|
1779
1798
|
'text-align': {
|
|
1780
1799
|
left: string;
|
|
@@ -2066,6 +2085,24 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
2066
2085
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
2067
2086
|
export const useEuiNumberFormat: () => string;
|
|
2068
2087
|
|
|
2088
|
+
}
|
|
2089
|
+
declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
|
|
2090
|
+
import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
|
|
2091
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables';
|
|
2092
|
+
/**
|
|
2093
|
+
* Generates a CSS media query rule string based on the input breakpoint ranges.
|
|
2094
|
+
* Examples:
|
|
2095
|
+
* euiBreakpoint(['s']) becomes `@media only screen and (min-width: 575px) and (max-width: 767px)`
|
|
2096
|
+
* euiBreakpoint(['s', 'l']) becomes `@media only screen and (min-width: 575px) and (max-width: 1199px)`
|
|
2097
|
+
*
|
|
2098
|
+
* Use the `xs` and `xl` sizes to generate media queries with only min/max-width.
|
|
2099
|
+
* Examples:
|
|
2100
|
+
* euiBreakpoint(['xs', 'm']) becomes `@media only screen and (max-width: 991px)`
|
|
2101
|
+
* euiBreakpoint(['l', 'xl']) becomes `@media only screen and (min-width: 992px)`
|
|
2102
|
+
*/
|
|
2103
|
+
export const euiBreakpoint: ({ euiTheme }: UseEuiTheme, sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
|
|
2104
|
+
export const useEuiBreakpoint: (sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
|
|
2105
|
+
|
|
2069
2106
|
}
|
|
2070
2107
|
declare module '@elastic/eui/src/global_styling/mixins' {
|
|
2071
2108
|
export * from '@elastic/eui/src/global_styling/mixins/_color';
|
|
@@ -2073,6 +2110,7 @@ declare module '@elastic/eui/src/global_styling/mixins' {
|
|
|
2073
2110
|
export * from '@elastic/eui/src/global_styling/mixins/_padding';
|
|
2074
2111
|
export * from '@elastic/eui/src/global_styling/mixins/_states';
|
|
2075
2112
|
export * from '@elastic/eui/src/global_styling/mixins/_typography';
|
|
2113
|
+
export * from '@elastic/eui/src/global_styling/mixins/_responsive';
|
|
2076
2114
|
|
|
2077
2115
|
}
|
|
2078
2116
|
declare module '@elastic/eui/src/global_styling/reset/reset' {
|
|
@@ -2130,7 +2168,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2130
2168
|
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
2131
2169
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2132
2170
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2133
|
-
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "
|
|
2171
|
+
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
2134
2172
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2135
2173
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2136
2174
|
export type IconColor = string | NamedColor;
|
|
@@ -2173,7 +2211,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2173
2211
|
isLoading: boolean;
|
|
2174
2212
|
neededLoading: boolean;
|
|
2175
2213
|
}
|
|
2176
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "
|
|
2214
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
2177
2215
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
2178
2216
|
[iconType: string]: React.ComponentType<{}>;
|
|
2179
2217
|
}) => void;
|
|
@@ -4030,7 +4068,7 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow'
|
|
|
4030
4068
|
/**
|
|
4031
4069
|
* bottomShadowMedium
|
|
4032
4070
|
*/
|
|
4033
|
-
export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color }?: _EuiThemeShadowCustomColor) => string;
|
|
4071
|
+
export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color, property }?: _EuiThemeShadowCustomColor) => string;
|
|
4034
4072
|
/**
|
|
4035
4073
|
* bottomShadow
|
|
4036
4074
|
*/
|
|
@@ -4162,6 +4200,15 @@ declare module '@elastic/eui/src/services/hooks/useIsWithinBreakpoints' {
|
|
|
4162
4200
|
*/
|
|
4163
4201
|
export function useIsWithinBreakpoints(sizes: EuiBreakpointSize[], isActive?: boolean): boolean;
|
|
4164
4202
|
|
|
4203
|
+
}
|
|
4204
|
+
declare module '@elastic/eui/src/services/hooks/useLatest' {
|
|
4205
|
+
import { MutableRefObject } from 'react';
|
|
4206
|
+
/**
|
|
4207
|
+
* Wraps the given `value` into a `MutableRefObject` and keeps the `current`
|
|
4208
|
+
* value up-to-date on every render cycle.
|
|
4209
|
+
*/
|
|
4210
|
+
export function useLatest<Value>(value: Value): MutableRefObject<Value | null>;
|
|
4211
|
+
|
|
4165
4212
|
}
|
|
4166
4213
|
declare module '@elastic/eui/src/services/throttle' {
|
|
4167
4214
|
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
@@ -4184,6 +4231,7 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
4184
4231
|
export * from '@elastic/eui/src/services/hooks/useCombinedRefs';
|
|
4185
4232
|
export * from '@elastic/eui/src/services/hooks/useForceRender';
|
|
4186
4233
|
export * from '@elastic/eui/src/services/hooks/useIsWithinBreakpoints';
|
|
4234
|
+
export * from '@elastic/eui/src/services/hooks/useLatest';
|
|
4187
4235
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
4188
4236
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
4189
4237
|
|
|
@@ -4882,17 +4930,103 @@ declare module '@elastic/eui/src/components/outside_click_detector' {
|
|
|
4882
4930
|
export type { EuiOutsideClickDetectorProps } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4883
4931
|
export { EuiOutsideClickDetector } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
|
|
4884
4932
|
|
|
4933
|
+
}
|
|
4934
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow.styles' {
|
|
4935
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4936
|
+
export const popoverArrowSize = "m";
|
|
4937
|
+
export const euiPopoverArrowStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4938
|
+
euiPopoverArrow: import("@emotion/utils").SerializedStyles;
|
|
4939
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4940
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4941
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4942
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4943
|
+
};
|
|
4944
|
+
|
|
4945
|
+
}
|
|
4946
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow' {
|
|
4947
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
4948
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
4949
|
+
export const POSITIONS: readonly ["top", "left", "right", "bottom"];
|
|
4950
|
+
export type EuiPopoverArrowPositions = typeof POSITIONS[number];
|
|
4951
|
+
export type EuiPopoverArrowProps = HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
4952
|
+
position: EuiPopoverArrowPositions;
|
|
4953
|
+
};
|
|
4954
|
+
export const EuiPopoverArrow: FunctionComponent<EuiPopoverArrowProps>;
|
|
4955
|
+
|
|
4956
|
+
}
|
|
4957
|
+
declare module '@elastic/eui/src/components/popover/popover_arrow' {
|
|
4958
|
+
export type { EuiPopoverArrowProps, EuiPopoverArrowPositions, } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4959
|
+
export { EuiPopoverArrow } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
|
|
4960
|
+
|
|
4961
|
+
}
|
|
4962
|
+
declare module '@elastic/eui/src/components/popover/popover.styles' {
|
|
4963
|
+
export const euiPopoverStyles: () => {
|
|
4964
|
+
euiPopover: import("@emotion/utils").SerializedStyles;
|
|
4965
|
+
};
|
|
4966
|
+
|
|
4967
|
+
}
|
|
4968
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel.styles' {
|
|
4969
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4970
|
+
/**
|
|
4971
|
+
* 1. Can expand further, but it looks weird if it's smaller than the originating button.
|
|
4972
|
+
* 2. Animation happens on the panel. But don't animate position when using the attached mode like for inputs
|
|
4973
|
+
* 3. Make sure the panel stays within the window.
|
|
4974
|
+
*/
|
|
4975
|
+
export const euiPopoverPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4976
|
+
euiPopover__panel: import("@emotion/utils").SerializedStyles;
|
|
4977
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4978
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4979
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4980
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4981
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4982
|
+
attached: {
|
|
4983
|
+
isOpen: import("@emotion/utils").SerializedStyles;
|
|
4984
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4985
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4986
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4987
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
|
|
4991
|
+
}
|
|
4992
|
+
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel' {
|
|
4993
|
+
import React, { FunctionComponent } from 'react';
|
|
4994
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4995
|
+
import { _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
4996
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
4997
|
+
interface ContextShape {
|
|
4998
|
+
paddingSize: EuiPaddingSize;
|
|
4999
|
+
}
|
|
5000
|
+
export const EuiPopoverPanelContext: React.Context<ContextShape>;
|
|
5001
|
+
export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
|
|
5002
|
+
isOpen?: boolean;
|
|
5003
|
+
isAttached?: boolean;
|
|
5004
|
+
position?: EuiPopoverArrowPositions | null;
|
|
5005
|
+
};
|
|
5006
|
+
/**
|
|
5007
|
+
* *INTERNAL ONLY*
|
|
5008
|
+
* Purely for re-use of styling
|
|
5009
|
+
*/
|
|
5010
|
+
export const EuiPopoverPanel: FunctionComponent<EuiPopoverPanelProps & EuiPopoverPanelInternalProps>;
|
|
5011
|
+
export {};
|
|
5012
|
+
|
|
5013
|
+
}
|
|
5014
|
+
declare module '@elastic/eui/src/components/popover/popover_panel' {
|
|
5015
|
+
export { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5016
|
+
|
|
4885
5017
|
}
|
|
4886
5018
|
declare module '@elastic/eui/src/components/popover/popover' {
|
|
4887
5019
|
import { Component, KeyboardEvent, CSSProperties, HTMLAttributes, ReactNode, Ref, RefCallback } from 'react';
|
|
4888
5020
|
import { CommonProps, NoArgCallback } from '@elastic/eui/src/components/common';
|
|
4889
5021
|
import { FocusTarget, EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
|
|
4890
5022
|
import { ReactFocusOnProps } from 'react-focus-on/dist/es5/types';
|
|
4891
|
-
import { PanelPaddingSize, EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
4892
5023
|
import { EuiPopoverPosition } from '@elastic/eui/src/services/popover';
|
|
5024
|
+
import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
|
|
5025
|
+
import { EuiPopoverPanelProps } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
|
|
5026
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
4893
5027
|
export const popoverAnchorPosition: readonly ["upCenter", "upLeft", "upRight", "downCenter", "downLeft", "downRight", "leftCenter", "leftUp", "leftDown", "rightCenter", "rightUp", "rightDown"];
|
|
4894
5028
|
export type PopoverAnchorPosition = typeof popoverAnchorPosition[number];
|
|
4895
|
-
export interface EuiPopoverProps {
|
|
5029
|
+
export interface EuiPopoverProps extends CommonProps {
|
|
4896
5030
|
/**
|
|
4897
5031
|
* Class name passed to the direct parent of the button
|
|
4898
5032
|
*/
|
|
@@ -4923,7 +5057,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4923
5057
|
/**
|
|
4924
5058
|
* CSS display type for both the popover and anchor
|
|
4925
5059
|
*/
|
|
4926
|
-
display?:
|
|
5060
|
+
display?: CSSProperties['display'];
|
|
4927
5061
|
/**
|
|
4928
5062
|
* Object of props passed to EuiFocusTrap
|
|
4929
5063
|
*/
|
|
@@ -4936,11 +5070,11 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4936
5070
|
* Specifies what element should initially have focus; Can be a DOM
|
|
4937
5071
|
* node, or a selector string (which will be passed to
|
|
4938
5072
|
* document.querySelector() to find the DOM node), or a function that
|
|
4939
|
-
* returns a DOM node
|
|
4940
|
-
*
|
|
4941
|
-
*
|
|
5073
|
+
* returns a DOM node.
|
|
5074
|
+
*
|
|
5075
|
+
* If not passed, initial focus defaults to the popover panel.
|
|
4942
5076
|
*/
|
|
4943
|
-
initialFocus?: FocusTarget
|
|
5077
|
+
initialFocus?: FocusTarget;
|
|
4944
5078
|
/**
|
|
4945
5079
|
* Passed directly to EuiPortal for DOM positioning. Both properties are
|
|
4946
5080
|
* required if prop is specified
|
|
@@ -4964,15 +5098,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4964
5098
|
/**
|
|
4965
5099
|
* EuiPanel padding on all sides
|
|
4966
5100
|
*/
|
|
4967
|
-
panelPaddingSize?:
|
|
5101
|
+
panelPaddingSize?: EuiPaddingSize;
|
|
4968
5102
|
/**
|
|
4969
5103
|
* Standard DOM `style` attribute. Passed to the EuiPanel
|
|
4970
5104
|
*/
|
|
4971
5105
|
panelStyle?: CSSProperties;
|
|
4972
5106
|
/**
|
|
4973
|
-
* Object of props passed to EuiPanel
|
|
5107
|
+
* Object of props passed to EuiPanel. See #EuiPopoverPanelProps
|
|
4974
5108
|
*/
|
|
4975
|
-
panelProps?: Omit<
|
|
5109
|
+
panelProps?: Omit<EuiPopoverPanelProps, 'style'>;
|
|
4976
5110
|
panelRef?: RefCallback<HTMLElement | null>;
|
|
4977
5111
|
/**
|
|
4978
5112
|
* Optional screen reader instructions to announce upon popover open,
|
|
@@ -5024,12 +5158,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5024
5158
|
}
|
|
5025
5159
|
export function getPopoverPositionFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
5026
5160
|
export function getPopoverAlignFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
5027
|
-
export
|
|
5028
|
-
inlineBlock: undefined;
|
|
5029
|
-
block: string;
|
|
5030
|
-
};
|
|
5031
|
-
export const DISPLAY: string[];
|
|
5032
|
-
export type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPopoverProps;
|
|
5161
|
+
export type Props = EuiPopoverProps & HTMLAttributes<HTMLDivElement>;
|
|
5033
5162
|
interface State {
|
|
5034
5163
|
prevProps: {
|
|
5035
5164
|
isOpen?: boolean;
|
|
@@ -5039,17 +5168,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5039
5168
|
isOpening: boolean;
|
|
5040
5169
|
popoverStyles: CSSProperties;
|
|
5041
5170
|
arrowStyles?: CSSProperties;
|
|
5042
|
-
arrowPosition:
|
|
5171
|
+
arrowPosition: EuiPopoverArrowPositions | null;
|
|
5043
5172
|
openPosition: any;
|
|
5044
5173
|
isOpenStable: boolean;
|
|
5045
5174
|
} type PropsWithDefaults = Props & {
|
|
5046
5175
|
anchorPosition: PopoverAnchorPosition;
|
|
5047
|
-
/** CSS display type for both the popover and anchor */
|
|
5048
|
-
display: keyof typeof displayToClassNameMap;
|
|
5049
5176
|
hasArrow: boolean;
|
|
5050
5177
|
isOpen: boolean;
|
|
5051
5178
|
ownFocus: boolean;
|
|
5052
|
-
panelPaddingSize:
|
|
5179
|
+
panelPaddingSize: EuiPaddingSize;
|
|
5053
5180
|
};
|
|
5054
5181
|
export class EuiPopover extends Component<Props, State> {
|
|
5055
5182
|
static defaultProps: Partial<PropsWithDefaults>;
|
|
@@ -5058,10 +5185,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5058
5185
|
private strandedFocusTimeout;
|
|
5059
5186
|
private closingTransitionTimeout;
|
|
5060
5187
|
private closingTransitionAnimationFrame;
|
|
5061
|
-
private updateFocusAnimationFrame;
|
|
5062
5188
|
private button;
|
|
5063
5189
|
private panel;
|
|
5064
|
-
private hasSetInitialFocus;
|
|
5065
5190
|
private descriptionId;
|
|
5066
5191
|
constructor(props: Props);
|
|
5067
5192
|
closePopover: () => void;
|
|
@@ -5069,7 +5194,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5069
5194
|
handleStrandedFocus: () => void;
|
|
5070
5195
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
5071
5196
|
onClickOutside: (event: Event) => void;
|
|
5072
|
-
updateFocus(): void;
|
|
5073
5197
|
onOpenPopover: () => void;
|
|
5074
5198
|
componentDidMount(): void;
|
|
5075
5199
|
componentDidUpdate(prevProps: Props): void;
|
|
@@ -5118,6 +5242,11 @@ declare module '@elastic/eui/src/components/observer/resize_observer' {
|
|
|
5118
5242
|
export type { EuiResizeObserverProps } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5119
5243
|
export { EuiResizeObserver, useResizeObserver } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
|
|
5120
5244
|
|
|
5245
|
+
}
|
|
5246
|
+
declare module '@elastic/eui/src/components/form/form.styles' {
|
|
5247
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5248
|
+
export const euiFormMaxWidth: ({ euiTheme }: UseEuiTheme) => string;
|
|
5249
|
+
|
|
5121
5250
|
}
|
|
5122
5251
|
declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
5123
5252
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
@@ -5133,34 +5262,48 @@ declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
|
5133
5262
|
export type EuiInputPopoverProps = CommonProps & HTMLAttributes<HTMLDivElement> & _EuiInputPopoverProps;
|
|
5134
5263
|
export const EuiInputPopover: FunctionComponent<EuiInputPopoverProps>;
|
|
5135
5264
|
|
|
5265
|
+
}
|
|
5266
|
+
declare module '@elastic/eui/src/components/popover/popover_title.styles' {
|
|
5267
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5268
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5269
|
+
export const euiPopoverTitleStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5270
|
+
euiPopoverTitle: import("@emotion/utils").SerializedStyles;
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5136
5273
|
}
|
|
5137
5274
|
declare module '@elastic/eui/src/components/popover/popover_title' {
|
|
5138
5275
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5276
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5139
5277
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5140
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5141
5278
|
export type EuiPopoverTitleProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5142
5279
|
/**
|
|
5143
5280
|
* Customize the all around padding of the popover title.
|
|
5144
5281
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5145
5282
|
*/
|
|
5146
|
-
paddingSize?:
|
|
5283
|
+
paddingSize?: EuiPaddingSize;
|
|
5147
5284
|
}>;
|
|
5148
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5149
5285
|
export const EuiPopoverTitle: EuiPopoverTitleProps;
|
|
5150
5286
|
|
|
5287
|
+
}
|
|
5288
|
+
declare module '@elastic/eui/src/components/popover/popover_footer.styles' {
|
|
5289
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5290
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5291
|
+
export const euiPopoverFooterStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
|
|
5292
|
+
euiPopoverFooter: import("@emotion/utils").SerializedStyles;
|
|
5293
|
+
};
|
|
5294
|
+
|
|
5151
5295
|
}
|
|
5152
5296
|
declare module '@elastic/eui/src/components/popover/popover_footer' {
|
|
5153
5297
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5298
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5154
5299
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5155
|
-
import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
|
|
5156
5300
|
export type EuiPopoverFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5157
5301
|
/**
|
|
5158
5302
|
* Customize the all around padding of the popover footer.
|
|
5159
5303
|
* Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
|
|
5160
5304
|
*/
|
|
5161
|
-
paddingSize?:
|
|
5305
|
+
paddingSize?: EuiPaddingSize;
|
|
5162
5306
|
}>;
|
|
5163
|
-
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
5164
5307
|
export const EuiPopoverFooter: EuiPopoverFooterProps;
|
|
5165
5308
|
|
|
5166
5309
|
}
|
|
@@ -6024,7 +6167,7 @@ declare module '@elastic/eui/src/components/horizontal_rule' {
|
|
|
6024
6167
|
|
|
6025
6168
|
}
|
|
6026
6169
|
declare module '@elastic/eui/src/components/context_menu/context_menu' {
|
|
6027
|
-
import React, { Component, HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
6170
|
+
import React, { Component, HTMLAttributes, CSSProperties, ReactElement, ReactNode } from 'react';
|
|
6028
6171
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
6029
6172
|
import { EuiContextMenuPanelTransitionDirection, EuiContextMenuPanelTransitionType } from '@elastic/eui/src/components/context_menu/context_menu_panel';
|
|
6030
6173
|
import { EuiContextMenuItemProps } from '@elastic/eui/src/components/context_menu/context_menu_item';
|
|
@@ -6045,7 +6188,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu' {
|
|
|
6045
6188
|
title?: ReactNode;
|
|
6046
6189
|
items?: EuiContextMenuPanelItemDescriptor[];
|
|
6047
6190
|
content?: ReactNode;
|
|
6048
|
-
width?:
|
|
6191
|
+
width?: CSSProperties['width'];
|
|
6049
6192
|
initialFocusedItemIndex?: number;
|
|
6050
6193
|
/**
|
|
6051
6194
|
* Alters the size of the items and the title
|
|
@@ -7178,6 +7321,8 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
|
|
|
7178
7321
|
onToggle: () => void;
|
|
7179
7322
|
setChildContentRef: (node: HTMLDivElement | null) => void;
|
|
7180
7323
|
generatedId: string;
|
|
7324
|
+
resizeRef: (e: HTMLElement | null) => void;
|
|
7325
|
+
observerRef: (ref: HTMLDivElement) => void;
|
|
7181
7326
|
render(): JSX.Element;
|
|
7182
7327
|
}
|
|
7183
7328
|
export const EuiAccordion: React.ForwardRefExoticComponent<Omit<EuiAccordionProps, "theme"> & React.RefAttributes<Omit<EuiAccordionProps, "theme">>>;
|
|
@@ -8580,12 +8725,12 @@ declare module '@elastic/eui/src/components/combo_box/types' {
|
|
|
8580
8725
|
declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list' {
|
|
8581
8726
|
import { Component, ComponentProps, ReactNode, RefCallback } from 'react';
|
|
8582
8727
|
import { FixedSizeList, ListProps, ListChildComponentProps } from 'react-window';
|
|
8583
|
-
import { EuiPanel } from '@elastic/eui/src/components/panel';
|
|
8584
8728
|
import { EuiFilterSelectItem } from '@elastic/eui/src/components/filter_group/filter_select_item';
|
|
8585
8729
|
import { htmlIdGenerator } from '@elastic/eui/src/services';
|
|
8586
8730
|
import { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, OptionHandler, RefInstance, UpdatePositionHandler } from '@elastic/eui/src/components/combo_box/types';
|
|
8587
8731
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8588
|
-
|
|
8732
|
+
import { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel';
|
|
8733
|
+
export type EuiComboBoxOptionsListProps<T> = CommonProps & ComponentProps<typeof EuiPopoverPanel> & {
|
|
8589
8734
|
'data-test-subj': string;
|
|
8590
8735
|
activeOptionIndex?: number;
|
|
8591
8736
|
areAllOptionsSelected?: boolean;
|
|
@@ -9017,13 +9162,156 @@ declare module '@elastic/eui/src/components/combo_box' {
|
|
|
9017
9162
|
export * from '@elastic/eui/src/components/combo_box/combo_box_options_list';
|
|
9018
9163
|
export type { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, } from '@elastic/eui/src/components/combo_box/types';
|
|
9019
9164
|
|
|
9165
|
+
}
|
|
9166
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item_event.styles' {
|
|
9167
|
+
export const euiTimelineItemEventStyles: () => {
|
|
9168
|
+
euiTimelineItemEvent: import("@emotion/utils").SerializedStyles;
|
|
9169
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
9170
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
9171
|
+
};
|
|
9172
|
+
|
|
9173
|
+
}
|
|
9174
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item_event' {
|
|
9175
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
9176
|
+
import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
9177
|
+
export interface EuiTimelineItemEventProps {
|
|
9178
|
+
/**
|
|
9179
|
+
* Accepts any node. But preferably `EuiPanel`
|
|
9180
|
+
*/
|
|
9181
|
+
children: ReactNode;
|
|
9182
|
+
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
9183
|
+
}
|
|
9184
|
+
export const EuiTimelineItemEvent: FunctionComponent<EuiTimelineItemEventProps>;
|
|
9185
|
+
|
|
9186
|
+
}
|
|
9187
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item_icon.styles' {
|
|
9188
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9189
|
+
export const euiTimelineItemIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9190
|
+
euiTimelineItemIcon: import("@emotion/utils").SerializedStyles;
|
|
9191
|
+
euiTimelineItemIcon__content: import("@emotion/utils").SerializedStyles;
|
|
9192
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
9193
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
9194
|
+
};
|
|
9195
|
+
|
|
9196
|
+
}
|
|
9197
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item_icon' {
|
|
9198
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
9199
|
+
import { IconType } from '@elastic/eui/src/components/icon';
|
|
9200
|
+
import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
9201
|
+
export interface EuiTimelineItemIconProps {
|
|
9202
|
+
/**
|
|
9203
|
+
* Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiIcon['type']`.
|
|
9204
|
+
*/
|
|
9205
|
+
icon: ReactNode | IconType;
|
|
9206
|
+
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
9207
|
+
/**
|
|
9208
|
+
* Specify an `aria-label` for the icon when passed as an `IconType`.
|
|
9209
|
+
* If no `aria-label` is passed we assume the icon is purely decorative.
|
|
9210
|
+
*/
|
|
9211
|
+
iconAriaLabel?: string;
|
|
9212
|
+
}
|
|
9213
|
+
export const EuiTimelineItemIcon: FunctionComponent<EuiTimelineItemIconProps>;
|
|
9214
|
+
|
|
9215
|
+
}
|
|
9216
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item.styles' {
|
|
9217
|
+
export const euiTimelineItemStyles: () => {
|
|
9218
|
+
euiTimelineItem: import("@emotion/utils").SerializedStyles;
|
|
9219
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
9220
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
9221
|
+
};
|
|
9222
|
+
|
|
9223
|
+
}
|
|
9224
|
+
declare module '@elastic/eui/src/components/timeline/timeline_item' {
|
|
9225
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
9226
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9227
|
+
import { EuiTimelineItemEventProps } from '@elastic/eui/src/components/timeline/timeline_item_event';
|
|
9228
|
+
import { EuiTimelineItemIconProps } from '@elastic/eui/src/components/timeline/timeline_item_icon';
|
|
9229
|
+
export const VERTICAL_ALIGN: readonly ["top", "center"];
|
|
9230
|
+
export type EuiTimelineItemVerticalAlign = typeof VERTICAL_ALIGN[number];
|
|
9231
|
+
export interface EuiTimelineItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>, CommonProps, Omit<EuiTimelineItemIconProps, 'verticalAlign'>, Omit<EuiTimelineItemEventProps, 'verticalAlign'> {
|
|
9232
|
+
/**
|
|
9233
|
+
* Vertical alignment of the event with the icon
|
|
9234
|
+
*/
|
|
9235
|
+
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
9236
|
+
}
|
|
9237
|
+
export const EuiTimelineItem: FunctionComponent<EuiTimelineItemProps>;
|
|
9238
|
+
|
|
9239
|
+
}
|
|
9240
|
+
declare module '@elastic/eui/src/components/timeline/timeline.styles' {
|
|
9241
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9242
|
+
export const euiTimelineStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9243
|
+
euiTimeline: import("@emotion/utils").SerializedStyles;
|
|
9244
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
9245
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
9246
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
9247
|
+
};
|
|
9248
|
+
|
|
9249
|
+
}
|
|
9250
|
+
declare module '@elastic/eui/src/components/timeline/timeline' {
|
|
9251
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
9252
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9253
|
+
import { EuiTimelineItemProps } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
9254
|
+
export const GUTTER_SIZES: readonly ["m", "l", "xl"];
|
|
9255
|
+
export type EuiTimelineGutterSize = typeof GUTTER_SIZES[number];
|
|
9256
|
+
export interface EuiTimelineProps extends HTMLAttributes<HTMLOListElement>, CommonProps {
|
|
9257
|
+
/**
|
|
9258
|
+
* List of timeline items to render. See #EuiTimelineItem
|
|
9259
|
+
*/
|
|
9260
|
+
items?: EuiTimelineItemProps[];
|
|
9261
|
+
/**
|
|
9262
|
+
* Sets the size of the vertical space between each timeline item
|
|
9263
|
+
*/
|
|
9264
|
+
gutterSize?: EuiTimelineGutterSize;
|
|
9265
|
+
}
|
|
9266
|
+
export const EuiTimeline: FunctionComponent<EuiTimelineProps>;
|
|
9267
|
+
|
|
9268
|
+
}
|
|
9269
|
+
declare module '@elastic/eui/src/components/timeline' {
|
|
9270
|
+
export type { EuiTimelineProps } from '@elastic/eui/src/components/timeline/timeline';
|
|
9271
|
+
export { EuiTimeline } from '@elastic/eui/src/components/timeline/timeline';
|
|
9272
|
+
export type { EuiTimelineItemProps, EuiTimelineItemVerticalAlign, } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
9273
|
+
export { EuiTimelineItem } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
9274
|
+
export { EuiTimelineItemEvent } from '@elastic/eui/src/components/timeline/timeline_item_event';
|
|
9275
|
+
export { EuiTimelineItemIcon } from '@elastic/eui/src/components/timeline/timeline_item_icon';
|
|
9276
|
+
|
|
9277
|
+
}
|
|
9278
|
+
declare module '@elastic/eui/src/components/comment_list/comment_event.styles' {
|
|
9279
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
9280
|
+
export const euiCommentEventStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9281
|
+
euiCommentEvent: import("@emotion/utils").SerializedStyles;
|
|
9282
|
+
regular: import("@emotion/utils").SerializedStyles;
|
|
9283
|
+
update: import("@emotion/utils").SerializedStyles;
|
|
9284
|
+
custom: import("@emotion/utils").SerializedStyles;
|
|
9285
|
+
};
|
|
9286
|
+
export const euiCommentEventHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9287
|
+
euiCommentEvent__header: import("@emotion/utils").SerializedStyles;
|
|
9288
|
+
euiCommentEvent__headerPanel: import("@emotion/utils").SerializedStyles;
|
|
9289
|
+
euiCommentEvent__headerMain: import("@emotion/utils").SerializedStyles;
|
|
9290
|
+
euiCommentEvent__headerData: import("@emotion/utils").SerializedStyles;
|
|
9291
|
+
euiCommentEvent__headerEventIcon: import("@emotion/utils").SerializedStyles;
|
|
9292
|
+
euiCommentEvent__headerUsername: import("@emotion/utils").SerializedStyles;
|
|
9293
|
+
euiCommentEvent__headerEvent: import("@emotion/utils").SerializedStyles;
|
|
9294
|
+
euiCommentEvent__headerTimestamp: import("@emotion/utils").SerializedStyles;
|
|
9295
|
+
euiCommentEvent__headerActions: import("@emotion/utils").SerializedStyles;
|
|
9296
|
+
regular: import("@emotion/utils").SerializedStyles;
|
|
9297
|
+
hasEventColor: import("@emotion/utils").SerializedStyles;
|
|
9298
|
+
};
|
|
9299
|
+
export const euiCommentEventBodyStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
9300
|
+
euiCommentEvent__body: import("@emotion/utils").SerializedStyles;
|
|
9301
|
+
regular: import("@emotion/utils").SerializedStyles;
|
|
9302
|
+
update: import("@emotion/utils").SerializedStyles;
|
|
9303
|
+
custom: import("@emotion/utils").SerializedStyles;
|
|
9304
|
+
};
|
|
9305
|
+
|
|
9020
9306
|
}
|
|
9021
9307
|
declare module '@elastic/eui/src/components/comment_list/comment_event' {
|
|
9022
9308
|
import { FunctionComponent, ReactNode } from 'react';
|
|
9023
9309
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9310
|
+
import { IconType } from '@elastic/eui/src/components/icon';
|
|
9311
|
+
import { EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
9024
9312
|
export interface EuiCommentEventProps extends CommonProps {
|
|
9025
9313
|
/**
|
|
9026
|
-
* Author of the comment.
|
|
9314
|
+
* Author of the comment.
|
|
9027
9315
|
*/
|
|
9028
9316
|
username: ReactNode;
|
|
9029
9317
|
/**
|
|
@@ -9037,59 +9325,70 @@ declare module '@elastic/eui/src/components/comment_list/comment_event' {
|
|
|
9037
9325
|
/**
|
|
9038
9326
|
* Custom actions that the user can perform from the comment's header
|
|
9039
9327
|
*/
|
|
9040
|
-
actions?: ReactNode;
|
|
9328
|
+
actions?: ReactNode | ReactNode[];
|
|
9041
9329
|
/**
|
|
9042
|
-
*
|
|
9330
|
+
* Accepts any ReactNode. Renders in a panel within the comment event.
|
|
9043
9331
|
*/
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9332
|
+
children?: ReactNode;
|
|
9333
|
+
/**
|
|
9334
|
+
* Custom icon that shows before the username.
|
|
9335
|
+
*/
|
|
9336
|
+
eventIcon?: IconType;
|
|
9337
|
+
/**
|
|
9338
|
+
* Specify an `aria-label` for the `eventIcon`.
|
|
9339
|
+
* If no `aria-label` is passed we assume the icon is purely decorative.
|
|
9340
|
+
*/
|
|
9341
|
+
eventIconAriaLabel?: string;
|
|
9342
|
+
/**
|
|
9343
|
+
* Background color for the comment's header.
|
|
9344
|
+
*/
|
|
9345
|
+
eventColor?: EuiPanelProps['color'];
|
|
9346
|
+
}
|
|
9051
9347
|
export const EuiCommentEvent: FunctionComponent<EuiCommentEventProps>;
|
|
9052
|
-
export {};
|
|
9053
9348
|
|
|
9054
9349
|
}
|
|
9055
9350
|
declare module '@elastic/eui/src/components/comment_list/comment_timeline' {
|
|
9056
9351
|
import { FunctionComponent, ReactNode } from 'react';
|
|
9057
9352
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9058
|
-
import {
|
|
9353
|
+
import { EuiAvatarProps } from '@elastic/eui/src/components/avatar';
|
|
9059
9354
|
export interface EuiCommentTimelineProps extends CommonProps {
|
|
9060
9355
|
/**
|
|
9061
|
-
* Main
|
|
9356
|
+
* Main avatar that accompanies the comment. Should indicate who is the author of the comment.
|
|
9357
|
+
* Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiAvatarProps['iconType']`.
|
|
9358
|
+
* If no `timelineAvatar` is passed, the `userAvatar` icon will be used as the avatar.
|
|
9062
9359
|
*/
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
export type EuiCommentType = keyof typeof typeToClassNameMap;
|
|
9360
|
+
timelineAvatar?: ReactNode | EuiAvatarProps['iconType'];
|
|
9361
|
+
/**
|
|
9362
|
+
* Specify an `aria-label` and `title` for the `timelineAvatar` when passed as an `IconType` or when nothing is passed.
|
|
9363
|
+
* If no `timelineAvatarAriaLabel` is passed we assume the avatar is purely decorative.
|
|
9364
|
+
*/
|
|
9365
|
+
timelineAvatarAriaLabel?: string;
|
|
9366
|
+
}
|
|
9071
9367
|
export const EuiCommentTimeline: FunctionComponent<EuiCommentTimelineProps>;
|
|
9072
|
-
export {};
|
|
9073
9368
|
|
|
9074
9369
|
}
|
|
9075
9370
|
declare module '@elastic/eui/src/components/comment_list/comment' {
|
|
9076
|
-
import { FunctionComponent
|
|
9371
|
+
import { FunctionComponent } from 'react';
|
|
9077
9372
|
import { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
9078
9373
|
import { EuiCommentTimelineProps } from '@elastic/eui/src/components/comment_list/comment_timeline';
|
|
9079
|
-
export interface EuiCommentProps extends
|
|
9374
|
+
export interface EuiCommentProps extends EuiCommentEventProps, EuiCommentTimelineProps {
|
|
9080
9375
|
}
|
|
9081
9376
|
export const EuiComment: FunctionComponent<EuiCommentProps>;
|
|
9082
9377
|
|
|
9083
9378
|
}
|
|
9084
9379
|
declare module '@elastic/eui/src/components/comment_list/comment_list' {
|
|
9085
|
-
import {
|
|
9086
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
9380
|
+
import { FunctionComponent } from 'react';
|
|
9087
9381
|
import { EuiCommentProps } from '@elastic/eui/src/components/comment_list/comment';
|
|
9088
|
-
|
|
9382
|
+
import { EuiTimelineProps } from '@elastic/eui/src/components/timeline';
|
|
9383
|
+
export type EuiCommentListProps = Omit<EuiTimelineProps, 'items' | 'gutterSize'> & {
|
|
9089
9384
|
/**
|
|
9090
9385
|
* List of comments to render. See #EuiComment
|
|
9091
9386
|
*/
|
|
9092
9387
|
comments?: EuiCommentProps[];
|
|
9388
|
+
/**
|
|
9389
|
+
* Sets the size of the vertical space between each comment
|
|
9390
|
+
*/
|
|
9391
|
+
gutterSize?: EuiTimelineProps['gutterSize'];
|
|
9093
9392
|
};
|
|
9094
9393
|
export const EuiCommentList: FunctionComponent<EuiCommentListProps>;
|
|
9095
9394
|
|
|
@@ -9097,7 +9396,7 @@ declare module '@elastic/eui/src/components/comment_list/comment_list' {
|
|
|
9097
9396
|
declare module '@elastic/eui/src/components/comment_list' {
|
|
9098
9397
|
export type { EuiCommentProps } from '@elastic/eui/src/components/comment_list/comment';
|
|
9099
9398
|
export { EuiComment } from '@elastic/eui/src/components/comment_list/comment';
|
|
9100
|
-
export type {
|
|
9399
|
+
export type { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
9101
9400
|
export { EuiCommentEvent } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
9102
9401
|
export { EuiCommentTimeline } from '@elastic/eui/src/components/comment_list/comment_timeline';
|
|
9103
9402
|
export type { EuiCommentListProps } from '@elastic/eui/src/components/comment_list/comment_list';
|
|
@@ -9491,13 +9790,15 @@ declare module '@elastic/eui/src/components/datagrid/utils/sorting' {
|
|
|
9491
9790
|
|
|
9492
9791
|
}
|
|
9493
9792
|
declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
9494
|
-
import { CSSProperties } from 'react';
|
|
9495
|
-
import
|
|
9496
|
-
import { EuiDataGridStyleCellPaddings, EuiDataGridStyle, EuiDataGridRowHeightOption, EuiDataGridRowHeightsOptions, EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
9793
|
+
import { CSSProperties, MutableRefObject } from 'react';
|
|
9794
|
+
import { EuiDataGridStyleCellPaddings, EuiDataGridStyle, EuiDataGridRowHeightOption, EuiDataGridRowHeightsOptions, EuiDataGridColumn, ImperativeGridApi } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
9497
9795
|
export const cellPaddingsMap: Record<EuiDataGridStyleCellPaddings, number>;
|
|
9498
9796
|
export const AUTO_HEIGHT = "auto";
|
|
9499
9797
|
export const DEFAULT_ROW_HEIGHT = 34;
|
|
9500
9798
|
export class RowHeightUtils {
|
|
9799
|
+
private gridRef;
|
|
9800
|
+
private rerenderGridBodyRef;
|
|
9801
|
+
constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
|
|
9501
9802
|
getRowHeightOption(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): EuiDataGridRowHeightOption | undefined;
|
|
9502
9803
|
isRowHeightOverride(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
9503
9804
|
getCalculatedHeight(heightOption: EuiDataGridRowHeightOption, defaultHeight: number, rowIndex?: number, isRowHeightOverride?: boolean): number;
|
|
@@ -9517,24 +9818,20 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
9517
9818
|
*/
|
|
9518
9819
|
private heightsCache;
|
|
9519
9820
|
private timerId?;
|
|
9520
|
-
private grid?;
|
|
9521
9821
|
private lastUpdatedRow;
|
|
9522
|
-
private rerenderGridBody;
|
|
9523
9822
|
isAutoHeight(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
9524
9823
|
getRowHeight(rowIndex: number): number;
|
|
9525
9824
|
setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): void;
|
|
9526
9825
|
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): void;
|
|
9527
9826
|
resetRow(visibleRowIndex: number): void;
|
|
9528
9827
|
resetGrid(): void;
|
|
9529
|
-
setGrid(grid: Grid): void;
|
|
9530
|
-
setRerenderGridBody(rerenderGridBody: Function): void;
|
|
9531
9828
|
}
|
|
9532
9829
|
/**
|
|
9533
9830
|
* Hook for instantiating RowHeightUtils, setting internal class vars,
|
|
9534
9831
|
* and setting up various row-height-related side effects
|
|
9535
9832
|
*/
|
|
9536
9833
|
export const useRowHeightUtils: ({ gridRef, gridStyles, columns, rowHeightsOptions, }: {
|
|
9537
|
-
gridRef:
|
|
9834
|
+
gridRef: MutableRefObject<ImperativeGridApi | null>;
|
|
9538
9835
|
gridStyles: EuiDataGridStyle;
|
|
9539
9836
|
columns: EuiDataGridColumn[];
|
|
9540
9837
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
@@ -9551,7 +9848,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
9551
9848
|
}
|
|
9552
9849
|
declare module '@elastic/eui/src/components/token/token_map' {
|
|
9553
9850
|
import { TokenProps } from '@elastic/eui/src/components/token/token';
|
|
9554
|
-
export type EuiTokenMapType = 'tokenAnnotation' | 'tokenArray' | 'tokenBoolean' | 'tokenClass' | '
|
|
9851
|
+
export type EuiTokenMapType = 'tokenAlias' | 'tokenAnnotation' | 'tokenArray' | 'tokenBinary' | 'tokenBoolean' | 'tokenClass' | 'tokenCompletionSuggester' | 'tokenConstant' | 'tokenDate' | 'tokenDenseVector' | 'tokenElement' | 'tokenEnum' | 'tokenEnumMember' | 'tokenEvent' | 'tokenException' | 'tokenField' | 'tokenFile' | 'tokenFlattened' | 'tokenFunction' | 'tokenGeo' | 'tokenHistogram' | 'tokenInterface' | 'tokenIP' | 'tokenJoin' | 'tokenKey' | 'tokenKeyword' | 'tokenMethod' | 'tokenMetricCounter' | 'tokenMetricGauge' | 'tokenModule' | 'tokenNamespace' | 'tokenNested' | 'tokenNull' | 'tokenNumber' | 'tokenObject' | 'tokenOperator' | 'tokenPackage' | 'tokenParameter' | 'tokenPercolator' | 'tokenProperty' | 'tokenRange' | 'tokenRankFeature' | 'tokenRankFeatures' | 'tokenRepo' | 'tokenSearchType' | 'tokenShape' | 'tokenString' | 'tokenStruct' | 'tokenSymbol' | 'tokenTag' | 'tokenText' | 'tokenTokenCount' | 'tokenVariable';
|
|
9555
9852
|
/**
|
|
9556
9853
|
* Most of the style combinations for tokens are semi-arbitrary. However, there was an effort
|
|
9557
9854
|
* to use the square shape for more common token types like string and number. Reserving the
|
|
@@ -9614,7 +9911,7 @@ declare module '@elastic/eui/src/components/token' {
|
|
|
9614
9911
|
|
|
9615
9912
|
}
|
|
9616
9913
|
declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
9617
|
-
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject } from 'react';
|
|
9914
|
+
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Component } from 'react';
|
|
9618
9915
|
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps } from 'react-window';
|
|
9619
9916
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
|
|
9620
9917
|
import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui/src/components/button';
|
|
@@ -9622,6 +9919,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
9622
9919
|
import { RowHeightUtils } from '@elastic/eui/src/components/datagrid/utils/row_heights';
|
|
9623
9920
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
9624
9921
|
import { EuiTokenProps } from '@elastic/eui/src/components/token';
|
|
9922
|
+
export type ImperativeGridApi = Omit<Grid, keyof Component>;
|
|
9625
9923
|
export interface EuiDataGridToolbarProps {
|
|
9626
9924
|
gridWidth: number;
|
|
9627
9925
|
minSizeForControls?: number;
|
|
@@ -9913,6 +10211,14 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
9913
10211
|
* Closes any currently open popovers in the data grid.
|
|
9914
10212
|
*/
|
|
9915
10213
|
closeCellPopover: () => void;
|
|
10214
|
+
/**
|
|
10215
|
+
* Scrolls to a specified top and left offset.
|
|
10216
|
+
*/
|
|
10217
|
+
scrollTo?: ImperativeGridApi['scrollTo'];
|
|
10218
|
+
/**
|
|
10219
|
+
* Scrolls to a specified rowIndex.
|
|
10220
|
+
*/
|
|
10221
|
+
scrollToItem?: ImperativeGridApi['scrollToItem'];
|
|
9916
10222
|
}
|
|
9917
10223
|
export interface EuiDataGridColumnResizerProps {
|
|
9918
10224
|
columnId: string;
|
|
@@ -10052,6 +10358,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
10052
10358
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions;
|
|
10053
10359
|
rowHeightUtils?: RowHeightUtils;
|
|
10054
10360
|
rowManager?: EuiDataGridRowManager;
|
|
10361
|
+
pagination?: EuiDataGridPaginationProps;
|
|
10055
10362
|
}
|
|
10056
10363
|
export interface EuiDataGridCellState {
|
|
10057
10364
|
cellProps: EuiDataGridSetCellProps;
|
|
@@ -10777,8 +11084,20 @@ declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_colum
|
|
|
10777
11084
|
}
|
|
10778
11085
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell' {
|
|
10779
11086
|
import React, { FunctionComponent } from 'react';
|
|
10780
|
-
import { EuiDataGridHeaderCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
11087
|
+
import { EuiDataGridHeaderCellProps, EuiDataGridSorting } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
10781
11088
|
export const EuiDataGridHeaderCell: FunctionComponent<EuiDataGridHeaderCellProps>;
|
|
11089
|
+
/**
|
|
11090
|
+
* Column sorting utility helpers
|
|
11091
|
+
*/
|
|
11092
|
+
export const useSortingUtils: ({ sorting, id, showColumnActions, }: {
|
|
11093
|
+
sorting?: EuiDataGridSorting | undefined;
|
|
11094
|
+
id: string;
|
|
11095
|
+
showColumnActions: boolean;
|
|
11096
|
+
}) => {
|
|
11097
|
+
sortingArrow: JSX.Element | null;
|
|
11098
|
+
ariaSort: "ascending" | "descending" | undefined;
|
|
11099
|
+
sortingScreenReaderText: JSX.Element | null;
|
|
11100
|
+
};
|
|
10782
11101
|
/**
|
|
10783
11102
|
* Add keyboard arrow navigation to the cell actions popover
|
|
10784
11103
|
* to match the UX of the rest of EuiDataGrid
|
|
@@ -11136,10 +11455,12 @@ declare module '@elastic/eui/src/components/datagrid/utils/data_grid_pagination'
|
|
|
11136
11455
|
|
|
11137
11456
|
}
|
|
11138
11457
|
declare module '@elastic/eui/src/components/datagrid/utils/ref' {
|
|
11139
|
-
import { Ref } from 'react';
|
|
11458
|
+
import { Ref, RefObject } from 'react';
|
|
11459
|
+
import type { VariableSizeGrid } from 'react-window';
|
|
11140
11460
|
import { EuiDataGridRefProps, EuiDataGridProps, DataGridFocusContextShape, DataGridCellPopoverContextShape, DataGridSortingContextShape } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
11141
11461
|
interface Dependencies {
|
|
11142
11462
|
ref: Ref<unknown>;
|
|
11463
|
+
gridRef: RefObject<VariableSizeGrid>;
|
|
11143
11464
|
setIsFullScreen: EuiDataGridRefProps['setIsFullScreen'];
|
|
11144
11465
|
focusContext: DataGridFocusContextShape;
|
|
11145
11466
|
cellPopoverContext: DataGridCellPopoverContextShape;
|
|
@@ -11148,7 +11469,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/ref' {
|
|
|
11148
11469
|
rowCount: number;
|
|
11149
11470
|
visibleColCount: number;
|
|
11150
11471
|
}
|
|
11151
|
-
export const useImperativeGridRef: ({ ref, setIsFullScreen, focusContext, cellPopoverContext, sortingContext: { sortedRowMap }, pagination, rowCount, visibleColCount, }: Dependencies) => void;
|
|
11472
|
+
export const useImperativeGridRef: ({ ref, gridRef, setIsFullScreen, focusContext, cellPopoverContext, sortingContext: { sortedRowMap }, pagination, rowCount, visibleColCount, }: Dependencies) => void;
|
|
11152
11473
|
/**
|
|
11153
11474
|
* Throw a digestible error if the consumer attempts to focus into an invalid
|
|
11154
11475
|
* cell range, which should also stop the APIs from continuing
|
|
@@ -12596,10 +12917,18 @@ declare module '@elastic/eui/src/components/empty_prompt' {
|
|
|
12596
12917
|
export type { EuiEmptyPromptProps } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12597
12918
|
export { EuiEmptyPrompt } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
|
|
12598
12919
|
|
|
12920
|
+
}
|
|
12921
|
+
declare module '@elastic/eui/src/components/error_boundary/error_boundary.styles' {
|
|
12922
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12923
|
+
export const euiErrorBoundaryStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
12924
|
+
euiErrorBoundary: import("@emotion/utils").SerializedStyles;
|
|
12925
|
+
};
|
|
12926
|
+
|
|
12599
12927
|
}
|
|
12600
12928
|
declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
12601
12929
|
import React, { Component, HTMLAttributes, ReactNode } from 'react';
|
|
12602
12930
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12931
|
+
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
12603
12932
|
interface EuiErrorBoundaryState {
|
|
12604
12933
|
hasError: boolean;
|
|
12605
12934
|
error?: string;
|
|
@@ -12609,12 +12938,13 @@ declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
|
|
|
12609
12938
|
* ReactNode to render as this component's content
|
|
12610
12939
|
*/
|
|
12611
12940
|
children: ReactNode;
|
|
12612
|
-
};
|
|
12613
|
-
export class
|
|
12614
|
-
constructor(props:
|
|
12941
|
+
}; type EuiErrorBoundaryExtendedProps = EuiErrorBoundaryProps & WithEuiThemeProps;
|
|
12942
|
+
export class _EuiErrorBoundary extends Component<EuiErrorBoundaryExtendedProps, EuiErrorBoundaryState> {
|
|
12943
|
+
constructor(props: EuiErrorBoundaryExtendedProps);
|
|
12615
12944
|
componentDidCatch({ message, stack }: Error): void;
|
|
12616
12945
|
render(): React.ReactNode;
|
|
12617
12946
|
}
|
|
12947
|
+
export const EuiErrorBoundary: React.ForwardRefExoticComponent<Omit<EuiErrorBoundaryProps, "theme"> & React.RefAttributes<Omit<EuiErrorBoundaryProps, "theme">>>;
|
|
12618
12948
|
export {};
|
|
12619
12949
|
|
|
12620
12950
|
}
|
|
@@ -13207,10 +13537,14 @@ declare module '@elastic/eui/src/components/health' {
|
|
|
13207
13537
|
export { EuiHealth } from '@elastic/eui/src/components/health/health';
|
|
13208
13538
|
|
|
13209
13539
|
}
|
|
13210
|
-
declare module '@elastic/eui/src/components/image/
|
|
13211
|
-
import {
|
|
13212
|
-
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13213
|
-
export const SIZES:
|
|
13540
|
+
declare module '@elastic/eui/src/components/image/image_types' {
|
|
13541
|
+
import { HTMLAttributes, ReactNode, ImgHTMLAttributes } from 'react';
|
|
13542
|
+
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13543
|
+
export const SIZES: readonly ["s", "m", "l", "xl", "fullWidth", "original"];
|
|
13544
|
+
export type EuiImageSize = typeof SIZES[number]; const FLOATS: readonly ["left", "right"];
|
|
13545
|
+
export type EuiImageWrapperFloat = typeof FLOATS[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
|
|
13546
|
+
export type EuiImageWrapperMargin = typeof MARGINS[number];
|
|
13547
|
+
export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
|
|
13214
13548
|
/**
|
|
13215
13549
|
* Requires either `src` or `url` but defaults to using `src` if both are provided
|
|
13216
13550
|
*/
|
|
@@ -13218,27 +13552,34 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13218
13552
|
}, {
|
|
13219
13553
|
url: string;
|
|
13220
13554
|
}>;
|
|
13221
|
-
export type EuiImageProps = CommonProps &
|
|
13555
|
+
export type EuiImageProps = CommonProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & _EuiImageSrcOrUrl & {
|
|
13222
13556
|
/**
|
|
13223
|
-
*
|
|
13224
|
-
*
|
|
13557
|
+
* Alt text should describe the image to aid screen reader users. See
|
|
13558
|
+
* https://webaim.org/techniques/alttext/ for a guide on writing
|
|
13559
|
+
* effective alt text.
|
|
13560
|
+
*
|
|
13561
|
+
* If no meaningful description exists, or if the image is adequately
|
|
13562
|
+
* described by the surrounding text, pass an empty string.
|
|
13225
13563
|
*/
|
|
13226
13564
|
alt: string;
|
|
13565
|
+
/**
|
|
13566
|
+
* Provides a visible caption to the image
|
|
13567
|
+
*/
|
|
13568
|
+
caption?: ReactNode;
|
|
13227
13569
|
/**
|
|
13228
13570
|
* Accepts `s` / `m` / `l` / `xl` / `original` / `fullWidth` / or a CSS size of `number` or `string`.
|
|
13229
13571
|
* `fullWidth` will set the figure to stretch to 100% of its container.
|
|
13230
13572
|
* `string` and `number` types will max both the width or height, whichever is greater.
|
|
13231
13573
|
*/
|
|
13232
|
-
size?:
|
|
13574
|
+
size?: EuiImageSize | number | string;
|
|
13233
13575
|
/**
|
|
13234
|
-
*
|
|
13235
|
-
* The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
|
|
13576
|
+
* Float the image to the left or right. Useful in large text blocks.
|
|
13236
13577
|
*/
|
|
13237
|
-
|
|
13578
|
+
float?: EuiImageWrapperFloat;
|
|
13238
13579
|
/**
|
|
13239
|
-
*
|
|
13580
|
+
* Margin around the image.
|
|
13240
13581
|
*/
|
|
13241
|
-
|
|
13582
|
+
margin?: EuiImageWrapperMargin;
|
|
13242
13583
|
/**
|
|
13243
13584
|
* When set to `true` (default) will apply a slight shadow to the image
|
|
13244
13585
|
*/
|
|
@@ -13248,20 +13589,127 @@ declare module '@elastic/eui/src/components/image/image' {
|
|
|
13248
13589
|
*/
|
|
13249
13590
|
allowFullScreen?: boolean;
|
|
13250
13591
|
/**
|
|
13251
|
-
*
|
|
13592
|
+
* Changes the color of the icon that floats above the image when it can be clicked to fullscreen.
|
|
13593
|
+
* The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
|
|
13252
13594
|
*/
|
|
13253
|
-
|
|
13595
|
+
fullScreenIconColor?: EuiImageButtonIconColor;
|
|
13254
13596
|
/**
|
|
13255
|
-
*
|
|
13597
|
+
* Props to add to the wrapping figure element
|
|
13256
13598
|
*/
|
|
13257
|
-
|
|
13599
|
+
wrapperProps?: HTMLAttributes<HTMLDivElement>;
|
|
13600
|
+
};
|
|
13601
|
+
export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
|
|
13602
|
+
isFullWidth: boolean;
|
|
13603
|
+
setIsFullScreen: (isFullScreen: boolean) => void;
|
|
13604
|
+
};
|
|
13605
|
+
export type EuiImageButtonProps = Pick<EuiImageProps, 'hasShadow' | 'fullScreenIconColor'> & {
|
|
13606
|
+
hasAlt: boolean;
|
|
13607
|
+
onClick: () => void;
|
|
13608
|
+
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
13609
|
+
isFullWidth: boolean;
|
|
13610
|
+
isFullScreen?: boolean;
|
|
13611
|
+
};
|
|
13612
|
+
export type EuiImageCaptionProps = Pick<EuiImageProps, 'caption'> & {
|
|
13613
|
+
isOnOverlayMask?: boolean;
|
|
13258
13614
|
};
|
|
13259
|
-
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13260
13615
|
export {};
|
|
13261
13616
|
|
|
13617
|
+
}
|
|
13618
|
+
declare module '@elastic/eui/src/components/image/image_wrapper.styles' {
|
|
13619
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13620
|
+
export const euiImageWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13621
|
+
euiImageWrapper: import("@emotion/utils").SerializedStyles;
|
|
13622
|
+
allowFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13623
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13624
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13625
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13626
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13627
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
13628
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
13629
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13630
|
+
};
|
|
13631
|
+
|
|
13632
|
+
}
|
|
13633
|
+
declare module '@elastic/eui/src/components/image/image_button.styles' {
|
|
13634
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13635
|
+
export const euiImageButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13636
|
+
euiImageButton: import("@emotion/utils").SerializedStyles;
|
|
13637
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13638
|
+
shadowHover: import("@emotion/utils").SerializedStyles;
|
|
13639
|
+
hasShadowHover: import("@emotion/utils").SerializedStyles;
|
|
13640
|
+
};
|
|
13641
|
+
export const euiImageButtonIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
13642
|
+
euiImageButton__icon: import("@emotion/utils").SerializedStyles;
|
|
13643
|
+
openFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13644
|
+
closeFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13645
|
+
};
|
|
13646
|
+
|
|
13647
|
+
}
|
|
13648
|
+
declare module '@elastic/eui/src/components/image/image_button' {
|
|
13649
|
+
import { FunctionComponent } from 'react';
|
|
13650
|
+
import type { EuiImageButtonProps } from '@elastic/eui/src/components/image/image_types';
|
|
13651
|
+
export const EuiImageButton: FunctionComponent<EuiImageButtonProps>;
|
|
13652
|
+
|
|
13653
|
+
}
|
|
13654
|
+
declare module '@elastic/eui/src/components/image/image_caption.styles' {
|
|
13655
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13656
|
+
export const euiImageCaptionStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13657
|
+
euiImageCaption: import("@emotion/utils").SerializedStyles;
|
|
13658
|
+
isOnOverlayMask: import("@emotion/utils").SerializedStyles;
|
|
13659
|
+
};
|
|
13660
|
+
|
|
13661
|
+
}
|
|
13662
|
+
declare module '@elastic/eui/src/components/image/image_caption' {
|
|
13663
|
+
import React from 'react';
|
|
13664
|
+
export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
|
|
13665
|
+
isOnOverlayMask?: boolean | undefined;
|
|
13666
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13667
|
+
|
|
13668
|
+
}
|
|
13669
|
+
declare module '@elastic/eui/src/components/image/image_wrapper' {
|
|
13670
|
+
import { FunctionComponent } from 'react';
|
|
13671
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13672
|
+
export const EuiImageWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13673
|
+
|
|
13674
|
+
}
|
|
13675
|
+
declare module '@elastic/eui/src/components/image/image.styles' {
|
|
13676
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13677
|
+
export const euiImageStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13678
|
+
euiImage: import("@emotion/utils").SerializedStyles;
|
|
13679
|
+
isFullScreen: import("@emotion/utils").SerializedStyles;
|
|
13680
|
+
hasShadow: import("@emotion/utils").SerializedStyles;
|
|
13681
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13682
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13683
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13684
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13685
|
+
original: import("@emotion/utils").SerializedStyles;
|
|
13686
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13687
|
+
customSize: import("@emotion/utils").SerializedStyles;
|
|
13688
|
+
};
|
|
13689
|
+
|
|
13690
|
+
}
|
|
13691
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper.styles' {
|
|
13692
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13693
|
+
export const euiImageFullscreenWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13694
|
+
euiImageFullscreenWrapper: import("@emotion/utils").SerializedStyles;
|
|
13695
|
+
fullWidth: import("@emotion/utils").SerializedStyles;
|
|
13696
|
+
};
|
|
13697
|
+
|
|
13698
|
+
}
|
|
13699
|
+
declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper' {
|
|
13700
|
+
import { FunctionComponent } from 'react';
|
|
13701
|
+
import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
|
|
13702
|
+
export const EuiImageFullScreenWrapper: FunctionComponent<EuiImageWrapperProps>;
|
|
13703
|
+
|
|
13704
|
+
}
|
|
13705
|
+
declare module '@elastic/eui/src/components/image/image' {
|
|
13706
|
+
import { FunctionComponent } from 'react';
|
|
13707
|
+
import type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13708
|
+
export const EuiImage: FunctionComponent<EuiImageProps>;
|
|
13709
|
+
|
|
13262
13710
|
}
|
|
13263
13711
|
declare module '@elastic/eui/src/components/image' {
|
|
13264
|
-
export type { EuiImageProps } from '@elastic/eui/src/components/image/
|
|
13712
|
+
export type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
|
|
13265
13713
|
export { EuiImage } from '@elastic/eui/src/components/image/image';
|
|
13266
13714
|
|
|
13267
13715
|
}
|
|
@@ -15772,7 +16220,6 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
15772
16220
|
constructor(props: EuiSelectableProps<T>);
|
|
15773
16221
|
static getDerivedStateFromProps<T>(nextProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): Partial<EuiSelectableState<T>>;
|
|
15774
16222
|
componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
|
|
15775
|
-
hasActiveOption: () => boolean;
|
|
15776
16223
|
onMouseDown: () => void;
|
|
15777
16224
|
onFocus: () => void;
|
|
15778
16225
|
onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
@@ -17792,6 +18239,13 @@ declare module '@elastic/eui/src/components/basic_table' {
|
|
|
17792
18239
|
export type { Pagination } from '@elastic/eui/src/components/basic_table/pagination_bar';
|
|
17793
18240
|
export type { DefaultItemAction, CustomItemAction } from '@elastic/eui/src/components/basic_table/action_types';
|
|
17794
18241
|
|
|
18242
|
+
}
|
|
18243
|
+
declare module '@elastic/eui/src/components/text_diff/text_diff.styles' {
|
|
18244
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18245
|
+
export const euiTextDiffStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
18246
|
+
euiTextDiff: import("@emotion/utils").SerializedStyles;
|
|
18247
|
+
};
|
|
18248
|
+
|
|
17795
18249
|
}
|
|
17796
18250
|
declare module '@elastic/eui/src/components/text_diff/text_diff' {
|
|
17797
18251
|
import { HTMLAttributes, ElementType } from 'react';
|
|
@@ -17834,118 +18288,6 @@ declare module '@elastic/eui/src/components/text_diff' {
|
|
|
17834
18288
|
export type { EuiTextDiffProps } from '@elastic/eui/src/components/text_diff/text_diff';
|
|
17835
18289
|
export { useEuiTextDiff } from '@elastic/eui/src/components/text_diff/text_diff';
|
|
17836
18290
|
|
|
17837
|
-
}
|
|
17838
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item_event.styles' {
|
|
17839
|
-
export const euiTimelineItemEventStyles: () => {
|
|
17840
|
-
euiTimelineItemEvent: import("@emotion/utils").SerializedStyles;
|
|
17841
|
-
top: import("@emotion/utils").SerializedStyles;
|
|
17842
|
-
center: import("@emotion/utils").SerializedStyles;
|
|
17843
|
-
};
|
|
17844
|
-
|
|
17845
|
-
}
|
|
17846
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item_event' {
|
|
17847
|
-
import { FunctionComponent, ReactNode } from 'react';
|
|
17848
|
-
import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
17849
|
-
export interface EuiTimelineItemEventProps {
|
|
17850
|
-
/**
|
|
17851
|
-
* Accepts any node. But preferably `EuiPanel`
|
|
17852
|
-
*/
|
|
17853
|
-
children: ReactNode;
|
|
17854
|
-
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
17855
|
-
}
|
|
17856
|
-
export const EuiTimelineItemEvent: FunctionComponent<EuiTimelineItemEventProps>;
|
|
17857
|
-
|
|
17858
|
-
}
|
|
17859
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item_icon.styles' {
|
|
17860
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
17861
|
-
export const euiTimelineItemIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
17862
|
-
euiTimelineItemIcon: import("@emotion/utils").SerializedStyles;
|
|
17863
|
-
euiTimelineItemIcon__content: import("@emotion/utils").SerializedStyles;
|
|
17864
|
-
top: import("@emotion/utils").SerializedStyles;
|
|
17865
|
-
center: import("@emotion/utils").SerializedStyles;
|
|
17866
|
-
};
|
|
17867
|
-
|
|
17868
|
-
}
|
|
17869
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item_icon' {
|
|
17870
|
-
import { FunctionComponent, ReactNode } from 'react';
|
|
17871
|
-
import { IconType } from '@elastic/eui/src/components/icon';
|
|
17872
|
-
import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
17873
|
-
export interface EuiTimelineItemIconProps {
|
|
17874
|
-
/**
|
|
17875
|
-
* Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiIcon['type']`.
|
|
17876
|
-
*/
|
|
17877
|
-
icon: ReactNode | IconType;
|
|
17878
|
-
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
17879
|
-
/**
|
|
17880
|
-
* Specify an `aria-label` for the icon when passed as an `IconType`.
|
|
17881
|
-
* If no `aria-label` is passed we assume the icon is purely decorative.
|
|
17882
|
-
*/
|
|
17883
|
-
iconAriaLabel?: string;
|
|
17884
|
-
}
|
|
17885
|
-
export const EuiTimelineItemIcon: FunctionComponent<EuiTimelineItemIconProps>;
|
|
17886
|
-
|
|
17887
|
-
}
|
|
17888
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item.styles' {
|
|
17889
|
-
export const euiTimelineItemStyles: () => {
|
|
17890
|
-
euiTimelineItem: import("@emotion/utils").SerializedStyles;
|
|
17891
|
-
top: import("@emotion/utils").SerializedStyles;
|
|
17892
|
-
center: import("@emotion/utils").SerializedStyles;
|
|
17893
|
-
};
|
|
17894
|
-
|
|
17895
|
-
}
|
|
17896
|
-
declare module '@elastic/eui/src/components/timeline/timeline_item' {
|
|
17897
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
17898
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
17899
|
-
import { EuiTimelineItemEventProps } from '@elastic/eui/src/components/timeline/timeline_item_event';
|
|
17900
|
-
import { EuiTimelineItemIconProps } from '@elastic/eui/src/components/timeline/timeline_item_icon';
|
|
17901
|
-
export const VERTICAL_ALIGN: readonly ["top", "center"];
|
|
17902
|
-
export type EuiTimelineItemVerticalAlign = typeof VERTICAL_ALIGN[number];
|
|
17903
|
-
export interface EuiTimelineItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>, CommonProps, Omit<EuiTimelineItemIconProps, 'verticalAlign'>, Omit<EuiTimelineItemEventProps, 'verticalAlign'> {
|
|
17904
|
-
/**
|
|
17905
|
-
* Vertical alignment of the event with the icon
|
|
17906
|
-
*/
|
|
17907
|
-
verticalAlign?: EuiTimelineItemVerticalAlign;
|
|
17908
|
-
}
|
|
17909
|
-
export const EuiTimelineItem: FunctionComponent<EuiTimelineItemProps>;
|
|
17910
|
-
|
|
17911
|
-
}
|
|
17912
|
-
declare module '@elastic/eui/src/components/timeline/timeline.styles' {
|
|
17913
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
17914
|
-
export const euiTimelineStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
17915
|
-
euiTimeline: import("@emotion/utils").SerializedStyles;
|
|
17916
|
-
m: import("@emotion/utils").SerializedStyles;
|
|
17917
|
-
l: import("@emotion/utils").SerializedStyles;
|
|
17918
|
-
xl: import("@emotion/utils").SerializedStyles;
|
|
17919
|
-
};
|
|
17920
|
-
|
|
17921
|
-
}
|
|
17922
|
-
declare module '@elastic/eui/src/components/timeline/timeline' {
|
|
17923
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
17924
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
17925
|
-
import { EuiTimelineItemProps } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
17926
|
-
export const GUTTER_SIZES: readonly ["m", "l", "xl"];
|
|
17927
|
-
export type EuiTimelineGutterSize = typeof GUTTER_SIZES[number];
|
|
17928
|
-
export interface EuiTimelineProps extends HTMLAttributes<HTMLOListElement>, CommonProps {
|
|
17929
|
-
/**
|
|
17930
|
-
* List of timeline items to render. See #EuiTimelineItem
|
|
17931
|
-
*/
|
|
17932
|
-
items?: EuiTimelineItemProps[];
|
|
17933
|
-
/**
|
|
17934
|
-
* Sets the size of the vertical space between each timeline item
|
|
17935
|
-
*/
|
|
17936
|
-
gutterSize?: EuiTimelineGutterSize;
|
|
17937
|
-
}
|
|
17938
|
-
export const EuiTimeline: FunctionComponent<EuiTimelineProps>;
|
|
17939
|
-
|
|
17940
|
-
}
|
|
17941
|
-
declare module '@elastic/eui/src/components/timeline' {
|
|
17942
|
-
export type { EuiTimelineProps } from '@elastic/eui/src/components/timeline/timeline';
|
|
17943
|
-
export { EuiTimeline } from '@elastic/eui/src/components/timeline/timeline';
|
|
17944
|
-
export type { EuiTimelineItemProps, EuiTimelineItemVerticalAlign, } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
17945
|
-
export { EuiTimelineItem } from '@elastic/eui/src/components/timeline/timeline_item';
|
|
17946
|
-
export { EuiTimelineItemEvent } from '@elastic/eui/src/components/timeline/timeline_item_event';
|
|
17947
|
-
export { EuiTimelineItemIcon } from '@elastic/eui/src/components/timeline/timeline_item_icon';
|
|
17948
|
-
|
|
17949
18291
|
}
|
|
17950
18292
|
declare module '@elastic/eui/src/components/toast/toast' {
|
|
17951
18293
|
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
@@ -20456,7 +20798,7 @@ declare module '@elastic/eui/src/components/icon/assets/ip' {
|
|
|
20456
20798
|
export {};
|
|
20457
20799
|
|
|
20458
20800
|
}
|
|
20459
|
-
declare module '@elastic/eui/src/components/icon/assets/
|
|
20801
|
+
declare module '@elastic/eui/src/components/icon/assets/keyboard' {
|
|
20460
20802
|
import * as React from 'react';
|
|
20461
20803
|
interface SVGRProps {
|
|
20462
20804
|
title?: string;
|
|
@@ -22515,6 +22857,26 @@ declare module '@elastic/eui/src/components/icon/assets/tokenMethod' {
|
|
|
22515
22857
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22516
22858
|
export {};
|
|
22517
22859
|
|
|
22860
|
+
}
|
|
22861
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricCounter' {
|
|
22862
|
+
import * as React from 'react';
|
|
22863
|
+
interface SVGRProps {
|
|
22864
|
+
title?: string;
|
|
22865
|
+
titleId?: string;
|
|
22866
|
+
}
|
|
22867
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22868
|
+
export {};
|
|
22869
|
+
|
|
22870
|
+
}
|
|
22871
|
+
declare module '@elastic/eui/src/components/icon/assets/tokenMetricGauge' {
|
|
22872
|
+
import * as React from 'react';
|
|
22873
|
+
interface SVGRProps {
|
|
22874
|
+
title?: string;
|
|
22875
|
+
titleId?: string;
|
|
22876
|
+
}
|
|
22877
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22878
|
+
export {};
|
|
22879
|
+
|
|
22518
22880
|
}
|
|
22519
22881
|
declare module '@elastic/eui/src/components/icon/assets/tokenModule' {
|
|
22520
22882
|
import * as React from 'react';
|
|
@@ -23186,6 +23548,12 @@ declare module '@elastic/eui' {
|
|
|
23186
23548
|
"euiColumnActions.moveRight": any;
|
|
23187
23549
|
"euiColumnActions.sort": any;
|
|
23188
23550
|
"euiDataGridHeaderCell.headerActions": any;
|
|
23551
|
+
"euiDataGridHeaderCell.sortedByAscendingSingle": any;
|
|
23552
|
+
"euiDataGridHeaderCell.sortedByDescendingSingle": any;
|
|
23553
|
+
"euiDataGridHeaderCell.sortedByAscendingFirst": any;
|
|
23554
|
+
"euiDataGridHeaderCell.sortedByDescendingFirst": any;
|
|
23555
|
+
"euiDataGridHeaderCell.sortedByAscendingMultiple": any;
|
|
23556
|
+
"euiDataGridHeaderCell.sortedByDescendingMultiple": any;
|
|
23189
23557
|
"euiDataGridHeaderCell.actionsPopoverScreenReaderText": any;
|
|
23190
23558
|
"euiColumnSelector.button": any;
|
|
23191
23559
|
"euiColumnSelector.buttonActiveSingular": any;
|
|
@@ -23359,8 +23727,8 @@ declare module '@elastic/eui' {
|
|
|
23359
23727
|
"euiSuperSelect.screenReaderAnnouncement": any;
|
|
23360
23728
|
"euiHeaderLinks.openNavigationMenu": any;
|
|
23361
23729
|
"euiHeaderLinks.appNavigation": any;
|
|
23362
|
-
"
|
|
23363
|
-
"
|
|
23730
|
+
"euiImageButton.openFullScreen": any;
|
|
23731
|
+
"euiImageButton.closeFullScreen": any;
|
|
23364
23732
|
"euiLink.newTarget.screenReaderOnlyText": any;
|
|
23365
23733
|
"euiLink.external.ariaLabel": any;
|
|
23366
23734
|
"euiPinnableListGroup.pinExtraActionLabel": any;
|