@elastic/eui 104.1.0 → 105.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/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +4 -4
- package/es/components/basic_table/in_memory_table.js +4 -4
- package/es/components/button/button.js +1 -1
- 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 +2 -2
- package/es/components/card/card_select/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/combo_box/combo_box.a11y.js +53 -2
- package/es/components/combo_box/combo_box.js +26 -8
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +9 -3
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/context_menu/context_menu_item.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +9 -4
- package/es/components/datagrid/body/data_grid_body.js +7 -7
- package/es/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/es/components/datagrid/controls/column_sorting.js +7 -7
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/es/components/datagrid/data_grid.styles.js +4 -1
- package/es/components/datagrid/utils/in_memory.js +6 -6
- 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/facet/facet_button.js +1 -1
- package/es/components/filter_group/filter_select_item.js +21 -17
- package/es/components/flyout/flyout.js +88 -21
- package/es/components/flyout/flyout.styles.js +9 -5
- package/es/components/flyout/flyout_child.js +209 -0
- package/es/components/flyout/flyout_child.styles.js +31 -0
- package/es/components/flyout/flyout_child_manager.js +112 -0
- package/es/components/flyout/flyout_context.js +16 -0
- package/es/components/flyout/index.js +3 -1
- package/es/components/flyout/sessions/flyout_provider.js +109 -0
- package/es/components/flyout/sessions/flyout_reducer.js +217 -0
- package/es/components/flyout/sessions/index.js +10 -0
- package/es/components/flyout/sessions/types.js +1 -0
- package/es/components/flyout/sessions/use_eui_flyout.js +94 -0
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo/header_logo.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +1 -4
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +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/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/progress/progress.js +51 -11
- 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_templates/selectable_template_sitewide.js +1 -1
- package/es/components/table/table_header_cell.js +1 -1
- package/es/components/table/table_row.styles.js +11 -6
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/es/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/eui.d.ts +400 -77
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +4 -4
- package/lib/components/basic_table/in_memory_table.js +4 -4
- package/lib/components/button/button.js +1 -1
- 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 +2 -2
- package/lib/components/card/card_select/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/combo_box/combo_box.a11y.js +53 -2
- package/lib/components/combo_box/combo_box.js +26 -8
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +9 -3
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +9 -4
- package/lib/components/datagrid/body/data_grid_body.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/lib/components/datagrid/controls/column_sorting.js +7 -7
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/lib/components/datagrid/data_grid.styles.js +4 -1
- package/lib/components/datagrid/utils/in_memory.js +6 -6
- 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/facet/facet_button.js +1 -1
- package/lib/components/filter_group/filter_select_item.js +21 -17
- package/lib/components/flyout/flyout.js +88 -21
- package/lib/components/flyout/flyout.styles.js +10 -6
- package/lib/components/flyout/flyout_child.js +217 -0
- package/lib/components/flyout/flyout_child.styles.js +37 -0
- package/lib/components/flyout/flyout_child_manager.js +120 -0
- package/lib/components/flyout/flyout_context.js +21 -0
- package/lib/components/flyout/index.js +21 -1
- package/lib/components/flyout/sessions/flyout_provider.js +116 -0
- package/lib/components/flyout/sessions/flyout_reducer.js +224 -0
- package/lib/components/flyout/sessions/index.js +25 -0
- package/lib/components/flyout/sessions/types.js +5 -0
- package/lib/components/flyout/sessions/use_eui_flyout.js +99 -0
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo/header_logo.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +1 -4
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +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/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/progress/progress.js +54 -11
- 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_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/table/table_header_cell.js +1 -1
- package/lib/components/table/table_row.styles.js +11 -6
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/optimize/es/components/combo_box/combo_box.a11y.js +53 -2
- package/optimize/es/components/combo_box/combo_box.js +26 -8
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -3
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +9 -4
- package/optimize/es/components/datagrid/data_grid.styles.js +4 -1
- package/optimize/es/components/filter_group/filter_select_item.js +20 -17
- package/optimize/es/components/flyout/flyout.js +88 -21
- package/optimize/es/components/flyout/flyout.styles.js +9 -5
- package/optimize/es/components/flyout/flyout_child.js +168 -0
- package/optimize/es/components/flyout/flyout_child.styles.js +31 -0
- package/optimize/es/components/flyout/flyout_child_manager.js +98 -0
- package/optimize/es/components/flyout/flyout_context.js +16 -0
- package/optimize/es/components/flyout/index.js +3 -1
- package/optimize/es/components/flyout/sessions/flyout_provider.js +104 -0
- package/optimize/es/components/flyout/sessions/flyout_reducer.js +209 -0
- package/optimize/es/components/flyout/sessions/index.js +10 -0
- package/optimize/es/components/flyout/sessions/types.js +1 -0
- package/optimize/es/components/flyout/sessions/use_eui_flyout.js +94 -0
- package/optimize/es/components/icon/icon_map.js +1 -4
- package/optimize/es/components/progress/progress.js +38 -9
- package/optimize/es/components/table/table_row.styles.js +11 -6
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/optimize/lib/components/combo_box/combo_box.a11y.js +53 -2
- package/optimize/lib/components/combo_box/combo_box.js +26 -8
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -3
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +9 -4
- package/optimize/lib/components/datagrid/data_grid.styles.js +4 -1
- package/optimize/lib/components/filter_group/filter_select_item.js +20 -17
- package/optimize/lib/components/flyout/flyout.js +88 -21
- package/optimize/lib/components/flyout/flyout.styles.js +10 -6
- package/optimize/lib/components/flyout/flyout_child.js +176 -0
- package/optimize/lib/components/flyout/flyout_child.styles.js +37 -0
- package/optimize/lib/components/flyout/flyout_child_manager.js +108 -0
- package/optimize/lib/components/flyout/flyout_context.js +21 -0
- package/optimize/lib/components/flyout/index.js +21 -1
- package/optimize/lib/components/flyout/sessions/flyout_provider.js +114 -0
- package/optimize/lib/components/flyout/sessions/flyout_reducer.js +217 -0
- package/optimize/lib/components/flyout/sessions/index.js +25 -0
- package/optimize/lib/components/flyout/sessions/types.js +5 -0
- package/optimize/lib/components/flyout/sessions/use_eui_flyout.js +99 -0
- package/optimize/lib/components/icon/icon_map.js +1 -4
- package/optimize/lib/components/progress/progress.js +41 -9
- package/optimize/lib/components/table/table_row.styles.js +11 -6
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/package.json +4 -4
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +4 -4
- package/test-env/components/basic_table/in_memory_table.js +4 -4
- package/test-env/components/button/button.js +1 -1
- 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 +2 -2
- package/test-env/components/card/card_select/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/combo_box/combo_box.a11y.js +53 -2
- package/test-env/components/combo_box/combo_box.js +26 -8
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +9 -3
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +9 -4
- package/test-env/components/datagrid/body/data_grid_body.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting.js +7 -7
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/test-env/components/datagrid/data_grid.styles.js +4 -1
- package/test-env/components/datagrid/utils/in_memory.js +6 -6
- 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/facet/facet_button.js +1 -1
- package/test-env/components/filter_group/filter_select_item.js +21 -17
- package/test-env/components/flyout/flyout.styles.js +10 -6
- package/test-env/components/flyout/flyout_child.js +216 -0
- package/test-env/components/flyout/flyout_child.styles.js +37 -0
- package/test-env/components/flyout/flyout_child_manager.js +117 -0
- package/test-env/components/flyout/flyout_context.js +21 -0
- package/test-env/components/flyout/index.js +21 -1
- package/test-env/components/flyout/sessions/flyout_provider.js +114 -0
- package/test-env/components/flyout/sessions/flyout_reducer.js +217 -0
- package/test-env/components/flyout/sessions/index.js +25 -0
- package/test-env/components/flyout/sessions/types.js +5 -0
- package/test-env/components/flyout/sessions/use_eui_flyout.js +99 -0
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo/header_logo.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/icon/icon_map.js +1 -4
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +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/page/page_header/page_header_content.js +1 -1
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/progress/progress.js +49 -11
- 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_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/table/table_header_cell.js +1 -1
- package/test-env/components/table/table_row.styles.js +11 -6
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +305 -270
package/eui.d.ts
CHANGED
|
@@ -2613,7 +2613,6 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
2613
2613
|
heatmap: string;
|
|
2614
2614
|
help: string;
|
|
2615
2615
|
home: string;
|
|
2616
|
-
iInCircle: string;
|
|
2617
2616
|
info: string;
|
|
2618
2617
|
image: string;
|
|
2619
2618
|
importAction: string;
|
|
@@ -2781,7 +2780,6 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
2781
2780
|
plusInSquare: string;
|
|
2782
2781
|
popout: string;
|
|
2783
2782
|
push: string;
|
|
2784
|
-
questionInCircle: string;
|
|
2785
2783
|
question: string;
|
|
2786
2784
|
quote: string;
|
|
2787
2785
|
readOnly: string;
|
|
@@ -3015,7 +3013,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
3015
3013
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
3016
3014
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
3017
3015
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
3018
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "
|
|
3016
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "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" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector")[];
|
|
3019
3017
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
3020
3018
|
export type IconType = EuiIconType | string | ComponentType;
|
|
3021
3019
|
export type IconColor = string | NamedColor;
|
|
@@ -9804,7 +9802,16 @@ declare module '@elastic/eui/src/components/progress/progress' {
|
|
|
9804
9802
|
};
|
|
9805
9803
|
type Indeterminate = EuiProgressProps & HTMLAttributes<HTMLDivElement>;
|
|
9806
9804
|
type Determinate = EuiProgressProps & Omit<ProgressHTMLAttributes<HTMLProgressElement>, 'max'> & {
|
|
9805
|
+
/**
|
|
9806
|
+
* When set, creates determinate progress with a value/max ratio
|
|
9807
|
+
*/
|
|
9807
9808
|
max?: number;
|
|
9809
|
+
/**
|
|
9810
|
+
* Displays custom text or percentage
|
|
9811
|
+
* Pass `true` to display the percentage value
|
|
9812
|
+
* Pass a ReactNode for custom text
|
|
9813
|
+
* @default false
|
|
9814
|
+
*/
|
|
9808
9815
|
valueText?: boolean | ReactNode;
|
|
9809
9816
|
label?: ReactNode;
|
|
9810
9817
|
/**
|
|
@@ -11644,6 +11651,7 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
|
|
|
11644
11651
|
|
|
11645
11652
|
}
|
|
11646
11653
|
declare module '@elastic/eui/src/components/flyout/flyout.styles' {
|
|
11654
|
+
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
11647
11655
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11648
11656
|
export const FLYOUT_BREAKPOINT: "m";
|
|
11649
11657
|
export const euiFlyoutSlideInRight: import("@emotion/serialize").Keyframes;
|
|
@@ -11674,6 +11682,8 @@ declare module '@elastic/eui/src/components/flyout/flyout.styles' {
|
|
|
11674
11682
|
l: import("@emotion/react").SerializedStyles;
|
|
11675
11683
|
};
|
|
11676
11684
|
};
|
|
11685
|
+
export const maxedFlyoutWidth: (euiThemeContext: UseEuiTheme) => string;
|
|
11686
|
+
export const composeFlyoutSizing: (euiThemeContext: UseEuiTheme, size: EuiFlyoutSize) => string;
|
|
11677
11687
|
|
|
11678
11688
|
}
|
|
11679
11689
|
declare module '@elastic/eui/src/components/flyout/_flyout_close_button.styles' {
|
|
@@ -11696,6 +11706,143 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
|
|
|
11696
11706
|
export const EuiFlyoutCloseButton: FunctionComponent<EuiFlyoutCloseButtonProps>;
|
|
11697
11707
|
export {};
|
|
11698
11708
|
|
|
11709
|
+
}
|
|
11710
|
+
declare module '@elastic/eui/src/components/flyout/flyout_child.styles' {
|
|
11711
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11712
|
+
export const euiFlyoutChildStyles: (euiThemeContext: UseEuiTheme) => {
|
|
11713
|
+
euiFlyoutChild: import("@emotion/react").SerializedStyles;
|
|
11714
|
+
sidePosition: import("@emotion/react").SerializedStyles;
|
|
11715
|
+
stackedPosition: import("@emotion/react").SerializedStyles;
|
|
11716
|
+
s: import("@emotion/react").SerializedStyles;
|
|
11717
|
+
m: import("@emotion/react").SerializedStyles;
|
|
11718
|
+
closeButton: import("@emotion/react").SerializedStyles;
|
|
11719
|
+
overflow: {
|
|
11720
|
+
overflow: import("@emotion/react").SerializedStyles;
|
|
11721
|
+
wrapper: import("@emotion/react").SerializedStyles;
|
|
11722
|
+
};
|
|
11723
|
+
banner: import("@emotion/react").SerializedStyles;
|
|
11724
|
+
};
|
|
11725
|
+
|
|
11726
|
+
}
|
|
11727
|
+
declare module '@elastic/eui/src/components/flyout/flyout_context' {
|
|
11728
|
+
import { RefObject } from 'react';
|
|
11729
|
+
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
11730
|
+
/**
|
|
11731
|
+
* Context shared between the main and child flyouts
|
|
11732
|
+
* @internal
|
|
11733
|
+
*/
|
|
11734
|
+
export interface EuiFlyoutContextValue {
|
|
11735
|
+
parentSize?: EuiFlyoutSize | string | number;
|
|
11736
|
+
parentFlyoutRef?: RefObject<HTMLDivElement>;
|
|
11737
|
+
isChildFlyoutOpen?: boolean;
|
|
11738
|
+
setIsChildFlyoutOpen?: (isOpen: boolean) => void;
|
|
11739
|
+
childLayoutMode?: 'side-by-side' | 'stacked';
|
|
11740
|
+
}
|
|
11741
|
+
export const EuiFlyoutContext: import("react").Context<EuiFlyoutContextValue | null>;
|
|
11742
|
+
|
|
11743
|
+
}
|
|
11744
|
+
declare module '@elastic/eui/src/components/flyout/flyout_body.styles' {
|
|
11745
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11746
|
+
export const euiFlyoutBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
11747
|
+
euiFlyoutBody: import("@emotion/react").SerializedStyles;
|
|
11748
|
+
overflow: {
|
|
11749
|
+
euiFlyoutBody__overflow: import("@emotion/react").SerializedStyles;
|
|
11750
|
+
noBanner: import("@emotion/react").SerializedStyles;
|
|
11751
|
+
hasBanner: import("@emotion/react").SerializedStyles;
|
|
11752
|
+
};
|
|
11753
|
+
euiFlyoutBody__banner: import("@emotion/react").SerializedStyles;
|
|
11754
|
+
};
|
|
11755
|
+
|
|
11756
|
+
}
|
|
11757
|
+
declare module '@elastic/eui/src/components/flyout/flyout_body' {
|
|
11758
|
+
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
11759
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
11760
|
+
export type EuiFlyoutBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
11761
|
+
/**
|
|
11762
|
+
* Use to display a banner at the top of the body. It is suggested to use `EuiCallOut` for it.
|
|
11763
|
+
*/
|
|
11764
|
+
banner?: ReactNode;
|
|
11765
|
+
/**
|
|
11766
|
+
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
11767
|
+
* to allow keyboard users to scroll the region via arrow keys.
|
|
11768
|
+
*
|
|
11769
|
+
* By default, EuiFlyoutBody's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
11770
|
+
* If you know your flyout body content already contains focusable children
|
|
11771
|
+
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
11772
|
+
* to override this default.
|
|
11773
|
+
*/
|
|
11774
|
+
scrollableTabIndex?: number;
|
|
11775
|
+
}>;
|
|
11776
|
+
export const EuiFlyoutBody: EuiFlyoutBodyProps;
|
|
11777
|
+
|
|
11778
|
+
}
|
|
11779
|
+
declare module '@elastic/eui/src/components/flyout/flyout_child' {
|
|
11780
|
+
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
11781
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
11782
|
+
/**
|
|
11783
|
+
* Props used to render and configure the child flyout panel
|
|
11784
|
+
*/
|
|
11785
|
+
export interface EuiFlyoutChildProps extends HTMLAttributes<HTMLDivElement>, CommonProps {
|
|
11786
|
+
/**
|
|
11787
|
+
* Called when the child panel's close button is clicked
|
|
11788
|
+
*/
|
|
11789
|
+
onClose: (event: MouseEvent | TouchEvent | KeyboardEvent) => void;
|
|
11790
|
+
/**
|
|
11791
|
+
* Use to display a banner at the top of the child. It is suggested to use `EuiCallOut` for it.
|
|
11792
|
+
*/
|
|
11793
|
+
banner?: ReactNode;
|
|
11794
|
+
/**
|
|
11795
|
+
* Hides the default close button. You must provide another close button somewhere within the child flyout.
|
|
11796
|
+
* @default false
|
|
11797
|
+
*/
|
|
11798
|
+
hideCloseButton?: boolean;
|
|
11799
|
+
/**
|
|
11800
|
+
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
11801
|
+
* to allow keyboard users to scroll the region via arrow keys.
|
|
11802
|
+
*
|
|
11803
|
+
* By default, EuiFlyoutChild's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
11804
|
+
* If you know your flyout child content already contains focusable children
|
|
11805
|
+
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
11806
|
+
* to override this default.
|
|
11807
|
+
*/
|
|
11808
|
+
scrollableTabIndex?: number;
|
|
11809
|
+
/**
|
|
11810
|
+
* Size of the child flyout panel.
|
|
11811
|
+
* When the parent flyout is 'm', child is limited to 's'.
|
|
11812
|
+
* @default 's'
|
|
11813
|
+
*/
|
|
11814
|
+
size?: 's' | 'm';
|
|
11815
|
+
/**
|
|
11816
|
+
* Children are implicitly part of FunctionComponent, but good to have if props type is standalone.
|
|
11817
|
+
*/
|
|
11818
|
+
children?: ReactNode;
|
|
11819
|
+
}
|
|
11820
|
+
/**
|
|
11821
|
+
* The child flyout is a panel that appears to the left of the parent flyout.
|
|
11822
|
+
* It is only visible when the parent flyout is open.
|
|
11823
|
+
*/
|
|
11824
|
+
export const EuiFlyoutChild: FunctionComponent<EuiFlyoutChildProps>;
|
|
11825
|
+
|
|
11826
|
+
}
|
|
11827
|
+
declare module '@elastic/eui/src/components/flyout/flyout_child_manager' {
|
|
11828
|
+
import React, { ComponentProps, FunctionComponent, ReactNode } from 'react';
|
|
11829
|
+
import { EuiFlyoutChild } from '@elastic/eui/src/components/flyout/flyout_child';
|
|
11830
|
+
interface EuiFlyoutChildProviderProps {
|
|
11831
|
+
parentSize: 's' | 'm';
|
|
11832
|
+
parentFlyoutRef: React.RefObject<HTMLDivElement>;
|
|
11833
|
+
childElement: React.ReactElement<ComponentProps<typeof EuiFlyoutChild>>;
|
|
11834
|
+
childrenToRender: ReactNode;
|
|
11835
|
+
reportIsChildOpen: (isOpen: boolean) => void;
|
|
11836
|
+
reportChildLayoutMode: (mode: 'side-by-side' | 'stacked') => void;
|
|
11837
|
+
}
|
|
11838
|
+
/**
|
|
11839
|
+
* An intermediate component between EuiFlyout and EuiFlyoutChild.
|
|
11840
|
+
* It is responsible for managing the state of the child flyout, and passing it to EuiFlyoutContext.
|
|
11841
|
+
* It removes the responsibility of managing child flyout state from EuiFlyout, which is especially important there might not be a child flyout.
|
|
11842
|
+
*/
|
|
11843
|
+
export const EuiFlyoutChildProvider: FunctionComponent<EuiFlyoutChildProviderProps>;
|
|
11844
|
+
export {};
|
|
11845
|
+
|
|
11699
11846
|
}
|
|
11700
11847
|
declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
11701
11848
|
import { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
|
|
@@ -11813,41 +11960,6 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
11813
11960
|
export const EuiFlyout: <T extends ElementType = typeof defaultElement>(props: EuiFlyoutProps<T>) => JSX.Element;
|
|
11814
11961
|
export {};
|
|
11815
11962
|
|
|
11816
|
-
}
|
|
11817
|
-
declare module '@elastic/eui/src/components/flyout/flyout_body.styles' {
|
|
11818
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11819
|
-
export const euiFlyoutBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
11820
|
-
euiFlyoutBody: import("@emotion/react").SerializedStyles;
|
|
11821
|
-
overflow: {
|
|
11822
|
-
euiFlyoutBody__overflow: import("@emotion/react").SerializedStyles;
|
|
11823
|
-
noBanner: import("@emotion/react").SerializedStyles;
|
|
11824
|
-
hasBanner: import("@emotion/react").SerializedStyles;
|
|
11825
|
-
};
|
|
11826
|
-
euiFlyoutBody__banner: import("@emotion/react").SerializedStyles;
|
|
11827
|
-
};
|
|
11828
|
-
|
|
11829
|
-
}
|
|
11830
|
-
declare module '@elastic/eui/src/components/flyout/flyout_body' {
|
|
11831
|
-
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
11832
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
11833
|
-
export type EuiFlyoutBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
11834
|
-
/**
|
|
11835
|
-
* Use to display a banner at the top of the body. It is suggested to use `EuiCallOut` for it.
|
|
11836
|
-
*/
|
|
11837
|
-
banner?: ReactNode;
|
|
11838
|
-
/**
|
|
11839
|
-
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
11840
|
-
* to allow keyboard users to scroll the region via arrow keys.
|
|
11841
|
-
*
|
|
11842
|
-
* By default, EuiFlyoutBody's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
11843
|
-
* If you know your flyout body content already contains focusable children
|
|
11844
|
-
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
11845
|
-
* to override this default.
|
|
11846
|
-
*/
|
|
11847
|
-
scrollableTabIndex?: number;
|
|
11848
|
-
}>;
|
|
11849
|
-
export const EuiFlyoutBody: EuiFlyoutBodyProps;
|
|
11850
|
-
|
|
11851
11963
|
}
|
|
11852
11964
|
declare module '@elastic/eui/src/components/flyout/flyout_footer.styles' {
|
|
11853
11965
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -12449,6 +12561,205 @@ declare module '@elastic/eui/src/components/flyout/flyout_resizable' {
|
|
|
12449
12561
|
} & Omit<EuiFlyoutProps, 'maxWidth' | 'onResize'>;
|
|
12450
12562
|
export const EuiFlyoutResizable: React.ForwardRefExoticComponent<Omit<EuiFlyoutResizableProps, "ref"> & React.RefAttributes<unknown>>;
|
|
12451
12563
|
|
|
12564
|
+
}
|
|
12565
|
+
declare module '@elastic/eui/src/components/flyout/sessions/types' {
|
|
12566
|
+
import { EuiFlyoutProps, EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
12567
|
+
import { EuiFlyoutChildProps } from '@elastic/eui/src/components/flyout/flyout_child';
|
|
12568
|
+
/**
|
|
12569
|
+
* Configuration used for setting display options for main and child flyouts in a session.
|
|
12570
|
+
*/
|
|
12571
|
+
export interface EuiFlyoutSessionConfig {
|
|
12572
|
+
mainSize: EuiFlyoutSize;
|
|
12573
|
+
childSize: 's' | 'm';
|
|
12574
|
+
mainFlyoutProps?: Partial<Omit<EuiFlyoutProps, 'children'>>;
|
|
12575
|
+
childFlyoutProps?: Partial<Omit<EuiFlyoutChildProps, 'children'>>;
|
|
12576
|
+
}
|
|
12577
|
+
/**
|
|
12578
|
+
* A configuration user state for past and current main and child flyouts in a session
|
|
12579
|
+
* @internal
|
|
12580
|
+
*/
|
|
12581
|
+
export interface EuiFlyoutSessionGroup<FlyoutMeta> {
|
|
12582
|
+
isMainOpen: boolean;
|
|
12583
|
+
isChildOpen: boolean;
|
|
12584
|
+
config: EuiFlyoutSessionConfig;
|
|
12585
|
+
mainOnUnmount?: () => void;
|
|
12586
|
+
childOnUnmount?: () => void;
|
|
12587
|
+
meta?: FlyoutMeta;
|
|
12588
|
+
}
|
|
12589
|
+
/**
|
|
12590
|
+
* State used for tracking various EuiFlyoutSessionGroups
|
|
12591
|
+
* @internal
|
|
12592
|
+
*/
|
|
12593
|
+
export interface EuiFlyoutSessionHistoryState<FlyoutMeta = unknown> {
|
|
12594
|
+
activeFlyoutGroup: EuiFlyoutSessionGroup<FlyoutMeta> | null;
|
|
12595
|
+
history: Array<EuiFlyoutSessionGroup<FlyoutMeta>>;
|
|
12596
|
+
}
|
|
12597
|
+
export type EuiFlyoutSessionAction<FlyoutMeta = unknown> = {
|
|
12598
|
+
type: 'UPDATE_ACTIVE_FLYOUT_CONFIG';
|
|
12599
|
+
payload: {
|
|
12600
|
+
configChanges: Partial<EuiFlyoutSessionConfig>;
|
|
12601
|
+
newMainOnUnmount?: () => void;
|
|
12602
|
+
newChildOnUnmount?: () => void;
|
|
12603
|
+
};
|
|
12604
|
+
} | {
|
|
12605
|
+
type: 'OPEN_MAIN_FLYOUT';
|
|
12606
|
+
payload: {
|
|
12607
|
+
size: EuiFlyoutSize;
|
|
12608
|
+
flyoutProps?: Partial<Omit<EuiFlyoutProps, 'children'>>;
|
|
12609
|
+
onUnmount?: () => void;
|
|
12610
|
+
meta?: FlyoutMeta;
|
|
12611
|
+
};
|
|
12612
|
+
} | {
|
|
12613
|
+
type: 'OPEN_CHILD_FLYOUT';
|
|
12614
|
+
payload: {
|
|
12615
|
+
size: 's' | 'm';
|
|
12616
|
+
flyoutProps?: Partial<Omit<EuiFlyoutChildProps, 'children'>>;
|
|
12617
|
+
onUnmount?: () => void;
|
|
12618
|
+
meta?: FlyoutMeta;
|
|
12619
|
+
};
|
|
12620
|
+
} | {
|
|
12621
|
+
type: 'OPEN_FLYOUT_GROUP';
|
|
12622
|
+
payload: {
|
|
12623
|
+
main: {
|
|
12624
|
+
size: EuiFlyoutSize;
|
|
12625
|
+
flyoutProps?: Partial<Omit<EuiFlyoutProps, 'children'>>;
|
|
12626
|
+
onUnmount?: () => void;
|
|
12627
|
+
};
|
|
12628
|
+
child: {
|
|
12629
|
+
size: 's' | 'm';
|
|
12630
|
+
flyoutProps?: Partial<Omit<EuiFlyoutChildProps, 'children'>>;
|
|
12631
|
+
onUnmount?: () => void;
|
|
12632
|
+
};
|
|
12633
|
+
meta?: FlyoutMeta;
|
|
12634
|
+
};
|
|
12635
|
+
} | {
|
|
12636
|
+
type: 'GO_BACK';
|
|
12637
|
+
} | {
|
|
12638
|
+
type: 'CLOSE_CHILD_FLYOUT';
|
|
12639
|
+
} | {
|
|
12640
|
+
type: 'CLEAR_HISTORY';
|
|
12641
|
+
};
|
|
12642
|
+
/**
|
|
12643
|
+
* Flyout session context managed by `EuiFlyoutSessionProvider`, and passed to the `renderMainFlyoutContent` and `renderChildFlyoutContent` functions.
|
|
12644
|
+
*/
|
|
12645
|
+
export interface EuiFlyoutSessionRenderContext<FlyoutMeta = unknown> {
|
|
12646
|
+
flyoutProps: Partial<EuiFlyoutProps | EuiFlyoutChildProps>;
|
|
12647
|
+
flyoutSize: EuiFlyoutProps['size'] | EuiFlyoutChildProps['size'];
|
|
12648
|
+
flyoutType: 'main' | 'child';
|
|
12649
|
+
dispatch: React.Dispatch<EuiFlyoutSessionAction<FlyoutMeta>>;
|
|
12650
|
+
activeFlyoutGroup: EuiFlyoutSessionGroup<FlyoutMeta> | null;
|
|
12651
|
+
onCloseFlyout: () => void;
|
|
12652
|
+
onCloseChildFlyout: () => void;
|
|
12653
|
+
meta?: FlyoutMeta;
|
|
12654
|
+
}
|
|
12655
|
+
/**
|
|
12656
|
+
* Props that can be passed to `EuiFlyoutSessionProvider` to render the main and child flyouts in a session.
|
|
12657
|
+
*/
|
|
12658
|
+
export interface EuiFlyoutSessionProviderComponentProps<FlyoutMeta = any> {
|
|
12659
|
+
children: React.ReactNode;
|
|
12660
|
+
renderMainFlyoutContent: (context: EuiFlyoutSessionRenderContext<FlyoutMeta>) => React.ReactNode;
|
|
12661
|
+
renderChildFlyoutContent?: (context: EuiFlyoutSessionRenderContext<FlyoutMeta>) => React.ReactNode;
|
|
12662
|
+
}
|
|
12663
|
+
|
|
12664
|
+
}
|
|
12665
|
+
declare module '@elastic/eui/src/components/flyout/sessions/flyout_reducer' {
|
|
12666
|
+
import { EuiFlyoutSessionAction, EuiFlyoutSessionHistoryState } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
12667
|
+
/**
|
|
12668
|
+
* Initial state for the flyout session
|
|
12669
|
+
* @internal
|
|
12670
|
+
*/
|
|
12671
|
+
export const initialFlyoutState: EuiFlyoutSessionHistoryState<unknown>;
|
|
12672
|
+
/**
|
|
12673
|
+
* Flyout reducer
|
|
12674
|
+
* Controls state changes for flyout groups
|
|
12675
|
+
*/
|
|
12676
|
+
export function flyoutReducer<FlyoutMeta>(state: EuiFlyoutSessionHistoryState<FlyoutMeta>, action: EuiFlyoutSessionAction<FlyoutMeta>): EuiFlyoutSessionHistoryState<FlyoutMeta>;
|
|
12677
|
+
|
|
12678
|
+
}
|
|
12679
|
+
declare module '@elastic/eui/src/components/flyout/sessions/flyout_provider' {
|
|
12680
|
+
import React from 'react';
|
|
12681
|
+
import { EuiFlyoutSessionAction, EuiFlyoutSessionHistoryState, EuiFlyoutSessionProviderComponentProps } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
12682
|
+
interface FlyoutSessionContextProps {
|
|
12683
|
+
state: EuiFlyoutSessionHistoryState;
|
|
12684
|
+
dispatch: React.Dispatch<EuiFlyoutSessionAction>;
|
|
12685
|
+
}
|
|
12686
|
+
/**
|
|
12687
|
+
* Accesses the state data and dispatch function from the context of EuiFlyoutSessionProvider
|
|
12688
|
+
* Use this if you need to debug the state or need direct access to the dispatch function, otherwise use useEuiFlyoutSession hook.
|
|
12689
|
+
*/
|
|
12690
|
+
export const useEuiFlyoutSessionContext: () => FlyoutSessionContextProps;
|
|
12691
|
+
/**
|
|
12692
|
+
* FlyoutProvider is a component that provides a context for Flyout components.
|
|
12693
|
+
* It is used to manage the state of the Flyout and its child.
|
|
12694
|
+
* It also renders the Flyout and FlyoutChild components.
|
|
12695
|
+
*
|
|
12696
|
+
* @param children - The children of the FlyoutProvider component.
|
|
12697
|
+
* @param renderMainFlyoutContent - A function that renders the content of the main Flyout.
|
|
12698
|
+
* @param renderChildFlyoutContent - A function that renders the content of the child Flyout.
|
|
12699
|
+
* @returns The FlyoutProvider component.
|
|
12700
|
+
*/
|
|
12701
|
+
export const EuiFlyoutSessionProvider: React.FC<EuiFlyoutSessionProviderComponentProps>;
|
|
12702
|
+
export {};
|
|
12703
|
+
|
|
12704
|
+
}
|
|
12705
|
+
declare module '@elastic/eui/src/components/flyout/sessions/use_eui_flyout' {
|
|
12706
|
+
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
12707
|
+
import { EuiFlyoutSessionConfig } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
12708
|
+
/**
|
|
12709
|
+
* Options that control a main flyout in a session
|
|
12710
|
+
*/
|
|
12711
|
+
export interface EuiFlyoutSessionOpenMainOptions<Meta = unknown> {
|
|
12712
|
+
size: EuiFlyoutSize;
|
|
12713
|
+
flyoutProps?: EuiFlyoutSessionConfig['mainFlyoutProps'];
|
|
12714
|
+
onUnmount?: () => void;
|
|
12715
|
+
meta?: Meta;
|
|
12716
|
+
}
|
|
12717
|
+
/**
|
|
12718
|
+
* Options that control a child flyout in a session
|
|
12719
|
+
*/
|
|
12720
|
+
export interface EuiFlyoutSessionOpenChildOptions<Meta = unknown> {
|
|
12721
|
+
size: 's' | 'm';
|
|
12722
|
+
flyoutProps?: EuiFlyoutSessionConfig['childFlyoutProps'];
|
|
12723
|
+
onUnmount?: () => void;
|
|
12724
|
+
meta?: Meta;
|
|
12725
|
+
}
|
|
12726
|
+
/**
|
|
12727
|
+
* Options for opening both a main flyout and child flyout simultaneously
|
|
12728
|
+
*/
|
|
12729
|
+
export interface EuiFlyoutSessionOpenGroupOptions<Meta = unknown> {
|
|
12730
|
+
main: {
|
|
12731
|
+
size: EuiFlyoutSize;
|
|
12732
|
+
flyoutProps?: EuiFlyoutSessionConfig['mainFlyoutProps'];
|
|
12733
|
+
onUnmount?: () => void;
|
|
12734
|
+
};
|
|
12735
|
+
child: {
|
|
12736
|
+
size: 's' | 'm';
|
|
12737
|
+
flyoutProps?: EuiFlyoutSessionConfig['childFlyoutProps'];
|
|
12738
|
+
onUnmount?: () => void;
|
|
12739
|
+
};
|
|
12740
|
+
meta?: Meta;
|
|
12741
|
+
}
|
|
12742
|
+
/**
|
|
12743
|
+
* Hook for accessing the flyout API
|
|
12744
|
+
*/
|
|
12745
|
+
export function useEuiFlyoutSession(): {
|
|
12746
|
+
openFlyout: (options: EuiFlyoutSessionOpenMainOptions) => void;
|
|
12747
|
+
openChildFlyout: (options: EuiFlyoutSessionOpenChildOptions) => void;
|
|
12748
|
+
openFlyoutGroup: (options: EuiFlyoutSessionOpenGroupOptions) => void;
|
|
12749
|
+
closeChildFlyout: () => void;
|
|
12750
|
+
goBack: () => void;
|
|
12751
|
+
canGoBack: boolean;
|
|
12752
|
+
isFlyoutOpen: boolean;
|
|
12753
|
+
isChildFlyoutOpen: boolean;
|
|
12754
|
+
clearHistory: () => void;
|
|
12755
|
+
};
|
|
12756
|
+
|
|
12757
|
+
}
|
|
12758
|
+
declare module '@elastic/eui/src/components/flyout/sessions' {
|
|
12759
|
+
export { EuiFlyoutSessionProvider, useEuiFlyoutSessionContext, } from '@elastic/eui/src/components/flyout/sessions/flyout_provider';
|
|
12760
|
+
export type { EuiFlyoutSessionConfig, EuiFlyoutSessionProviderComponentProps, EuiFlyoutSessionRenderContext, } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
12761
|
+
export { useEuiFlyoutSession, type EuiFlyoutSessionOpenChildOptions, type EuiFlyoutSessionOpenMainOptions, } from '@elastic/eui/src/components/flyout/sessions/use_eui_flyout';
|
|
12762
|
+
|
|
12452
12763
|
}
|
|
12453
12764
|
declare module '@elastic/eui/src/components/flyout' {
|
|
12454
12765
|
export type { EuiFlyoutProps, EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
@@ -12462,6 +12773,10 @@ declare module '@elastic/eui/src/components/flyout' {
|
|
|
12462
12773
|
export { euiFlyoutSlideInRight, euiFlyoutSlideInLeft } from '@elastic/eui/src/components/flyout/flyout.styles';
|
|
12463
12774
|
export type { EuiFlyoutResizableProps } from '@elastic/eui/src/components/flyout/flyout_resizable';
|
|
12464
12775
|
export { EuiFlyoutResizable } from '@elastic/eui/src/components/flyout/flyout_resizable';
|
|
12776
|
+
export { EuiFlyoutChild } from '@elastic/eui/src/components/flyout/flyout_child';
|
|
12777
|
+
export type { EuiFlyoutChildProps } from '@elastic/eui/src/components/flyout/flyout_child';
|
|
12778
|
+
export type { EuiFlyoutSessionConfig, EuiFlyoutSessionOpenChildOptions, EuiFlyoutSessionOpenMainOptions, EuiFlyoutSessionProviderComponentProps, EuiFlyoutSessionRenderContext, } from '@elastic/eui/src/components/flyout/sessions';
|
|
12779
|
+
export { EuiFlyoutSessionProvider, useEuiFlyoutSession } from '@elastic/eui/src/components/flyout/sessions';
|
|
12465
12780
|
|
|
12466
12781
|
}
|
|
12467
12782
|
declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav.styles' {
|
|
@@ -14020,6 +14335,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_select_item' {
|
|
|
14020
14335
|
isFocused?: boolean;
|
|
14021
14336
|
toolTipContent?: EuiComboBoxOptionOption['toolTipContent'];
|
|
14022
14337
|
toolTipProps?: EuiComboBoxOptionOption['toolTipProps'];
|
|
14338
|
+
forwardRef?: (ref: HTMLButtonElement | null) => void;
|
|
14023
14339
|
}
|
|
14024
14340
|
/**
|
|
14025
14341
|
* TODO: This component should removed in favor of EuiSelectable usage
|
|
@@ -14036,6 +14352,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_select_item' {
|
|
|
14036
14352
|
state: {
|
|
14037
14353
|
hasFocus: boolean;
|
|
14038
14354
|
};
|
|
14355
|
+
setButtonRef: (node: HTMLButtonElement | null) => void;
|
|
14039
14356
|
focus: () => void;
|
|
14040
14357
|
toggleToolTip: (isFocused: boolean) => void;
|
|
14041
14358
|
hasFocus: () => boolean;
|
|
@@ -14088,6 +14405,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
14088
14405
|
isCaseSensitive?: boolean;
|
|
14089
14406
|
isLoading?: boolean;
|
|
14090
14407
|
listRef: RefCallback<HTMLDivElement>;
|
|
14408
|
+
setListOptionRefs: (ref: HTMLButtonElement | null, index: number) => void;
|
|
14091
14409
|
matchingOptions: Array<EuiComboBoxOptionOption<T>>;
|
|
14092
14410
|
onCloseList: (event: Event) => void;
|
|
14093
14411
|
onCreateOption?: (searchValue: string, options: Array<EuiComboBoxOptionOption<T>>) => boolean | void;
|
|
@@ -14294,6 +14612,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
14294
14612
|
hasFocus: boolean;
|
|
14295
14613
|
isListOpen: boolean;
|
|
14296
14614
|
matchingOptions: Array<EuiComboBoxOptionOption<T>>;
|
|
14615
|
+
listOptionRefs: Array<HTMLButtonElement | null>;
|
|
14297
14616
|
searchValue: string;
|
|
14298
14617
|
}
|
|
14299
14618
|
export class EuiComboBox<T> extends Component<_EuiComboBoxProps<T>, EuiComboBoxState<T>> {
|
|
@@ -14318,6 +14637,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
14318
14637
|
searchInputRefCallback: RefCallback<HTMLInputElement>;
|
|
14319
14638
|
listRefInstance: RefInstance<HTMLDivElement>;
|
|
14320
14639
|
listRefCallback: RefCallback<HTMLDivElement>;
|
|
14640
|
+
setListOptionRefs: (node: HTMLButtonElement | null, index: number) => void;
|
|
14321
14641
|
openList: () => void;
|
|
14322
14642
|
closeList: () => void;
|
|
14323
14643
|
incrementActiveOptionIndex: (amount: number) => void;
|
|
@@ -16065,6 +16385,48 @@ declare module '@elastic/eui/src/components/datagrid/utils/focus' {
|
|
|
16065
16385
|
export const getParentCellContent: (_element: Node | HTMLElement) => HTMLElement | null;
|
|
16066
16386
|
export {};
|
|
16067
16387
|
|
|
16388
|
+
}
|
|
16389
|
+
declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell.styles' {
|
|
16390
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
16391
|
+
export const euiDataGridCellOutlineStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
16392
|
+
borderRadius: string;
|
|
16393
|
+
focusColor: string;
|
|
16394
|
+
focusStyles: string;
|
|
16395
|
+
hoverColor: string;
|
|
16396
|
+
hoverStyles: string;
|
|
16397
|
+
markedColor: string;
|
|
16398
|
+
markedStyles: string;
|
|
16399
|
+
};
|
|
16400
|
+
export const euiDataGridCellOutlineSelectors: (parentSelector?: string) => {
|
|
16401
|
+
outline: {
|
|
16402
|
+
show: string;
|
|
16403
|
+
hover: string;
|
|
16404
|
+
focusTrapped: string;
|
|
16405
|
+
marked: string;
|
|
16406
|
+
};
|
|
16407
|
+
actions: {
|
|
16408
|
+
hoverZone: string;
|
|
16409
|
+
hoverColor: string;
|
|
16410
|
+
showAnimation: string;
|
|
16411
|
+
hoverAnimation: string;
|
|
16412
|
+
};
|
|
16413
|
+
header: {
|
|
16414
|
+
focus: string;
|
|
16415
|
+
focusTrapped: string;
|
|
16416
|
+
showActions: string;
|
|
16417
|
+
hideActions: string;
|
|
16418
|
+
};
|
|
16419
|
+
};
|
|
16420
|
+
export const euiDataGridRowCellStyles: (euiThemeContext: UseEuiTheme) => {
|
|
16421
|
+
euiDataGridRowCell: import("@emotion/react").SerializedStyles;
|
|
16422
|
+
content: {
|
|
16423
|
+
euiDataGridRowCell__content: import("@emotion/react").SerializedStyles;
|
|
16424
|
+
autoHeight: import("@emotion/react").SerializedStyles;
|
|
16425
|
+
defaultHeight: import("@emotion/react").SerializedStyles;
|
|
16426
|
+
controlColumn: import("@emotion/react").SerializedStyles;
|
|
16427
|
+
};
|
|
16428
|
+
};
|
|
16429
|
+
|
|
16068
16430
|
}
|
|
16069
16431
|
declare module '@elastic/eui/src/components/datagrid/data_grid.styles' {
|
|
16070
16432
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -16249,45 +16611,6 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/focus_utils' {
|
|
|
16249
16611
|
cellEl: HTMLElement;
|
|
16250
16612
|
}>;
|
|
16251
16613
|
|
|
16252
|
-
}
|
|
16253
|
-
declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell.styles' {
|
|
16254
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
16255
|
-
export const euiDataGridCellOutlineStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
16256
|
-
borderRadius: string;
|
|
16257
|
-
focusColor: string;
|
|
16258
|
-
focusStyles: string;
|
|
16259
|
-
hoverColor: string;
|
|
16260
|
-
hoverStyles: string;
|
|
16261
|
-
};
|
|
16262
|
-
export const euiDataGridCellOutlineSelectors: (parentSelector?: string) => {
|
|
16263
|
-
outline: {
|
|
16264
|
-
show: string;
|
|
16265
|
-
hover: string;
|
|
16266
|
-
focusTrapped: string;
|
|
16267
|
-
};
|
|
16268
|
-
actions: {
|
|
16269
|
-
hoverZone: string;
|
|
16270
|
-
hoverColor: string;
|
|
16271
|
-
showAnimation: string;
|
|
16272
|
-
hoverAnimation: string;
|
|
16273
|
-
};
|
|
16274
|
-
header: {
|
|
16275
|
-
focus: string;
|
|
16276
|
-
focusTrapped: string;
|
|
16277
|
-
showActions: string;
|
|
16278
|
-
hideActions: string;
|
|
16279
|
-
};
|
|
16280
|
-
};
|
|
16281
|
-
export const euiDataGridRowCellStyles: (euiThemeContext: UseEuiTheme) => {
|
|
16282
|
-
euiDataGridRowCell: import("@emotion/react").SerializedStyles;
|
|
16283
|
-
content: {
|
|
16284
|
-
euiDataGridRowCell__content: import("@emotion/react").SerializedStyles;
|
|
16285
|
-
autoHeight: import("@emotion/react").SerializedStyles;
|
|
16286
|
-
defaultHeight: import("@emotion/react").SerializedStyles;
|
|
16287
|
-
controlColumn: import("@emotion/react").SerializedStyles;
|
|
16288
|
-
};
|
|
16289
|
-
};
|
|
16290
|
-
|
|
16291
16614
|
}
|
|
16292
16615
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell_wrapper.styles' {
|
|
16293
16616
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|