@elastic/eui 106.1.0-amsterdam.0 → 106.2.0-snapshot.1757009122780
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/accessibility/index.js +2 -1
- package/es/components/{flyout/sessions → accessibility/live_announcer}/index.js +1 -2
- package/es/components/accessibility/live_announcer/live_announcer.js +84 -0
- package/es/components/accessibility/screen_reader_live/screen_reader_live.js +7 -0
- 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 +16 -5
- package/es/components/card/card.js +2 -2
- package/es/components/card/card_select/card_select.js +1 -1
- package/es/components/card/checkable_card/checkable_card.js +30 -5
- package/es/components/code/code_block.js +5 -2
- package/es/components/code/code_block_virtualized.js +5 -3
- package/es/components/collapsible_nav/collapsible_nav.js +4 -106
- 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 +97 -81
- package/es/components/combo_box/combo_box.js +3 -2
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +50 -25
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +6 -2
- 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/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 +1 -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 +16 -3
- package/es/components/flyout/const.js +42 -0
- package/es/components/flyout/flyout.component.js +378 -0
- package/es/components/flyout/flyout.js +43 -362
- package/es/components/flyout/flyout.styles.js +98 -3
- package/es/components/flyout/flyout_menu.js +86 -0
- package/es/components/flyout/flyout_menu.styles.js +16 -0
- package/{optimize/es/components/flyout/flyout_context.js → es/components/flyout/flyout_menu_context.js} +1 -7
- package/es/components/flyout/flyout_resizable.js +3 -2
- package/es/components/flyout/hooks.js +25 -0
- package/es/components/flyout/index.js +4 -2
- package/es/components/flyout/manager/actions.js +97 -0
- package/es/components/flyout/manager/activity_stage.js +71 -0
- package/es/components/flyout/manager/const.js +50 -0
- package/es/components/flyout/manager/context.js +33 -0
- package/es/components/flyout/manager/flyout_child.js +80 -0
- package/es/components/flyout/manager/flyout_child.styles.js +26 -0
- package/es/components/flyout/manager/flyout_main.js +65 -0
- package/es/components/flyout/manager/flyout_main.styles.js +25 -0
- package/es/components/flyout/manager/flyout_managed.js +129 -0
- package/es/components/flyout/manager/flyout_managed.styles.js +66 -0
- package/es/components/flyout/manager/hooks.js +98 -0
- package/es/components/flyout/manager/index.js +31 -0
- package/es/components/flyout/manager/layout_mode.js +164 -0
- package/es/components/flyout/manager/provider.js +37 -0
- package/es/components/flyout/manager/reducer.js +200 -0
- package/es/components/flyout/manager/selectors.js +87 -0
- package/es/components/flyout/manager/validation.js +112 -0
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_password/field_password.styles.js +1 -0
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form.styles.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.styles.js +1 -1
- 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/range/range.styles.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/assets/thumbDown.js +37 -0
- package/es/components/icon/assets/thumbUp.js +37 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +2 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/index.js +1 -0
- package/es/components/markdown_editor/markdown_editor.js +16 -5
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +6 -4
- package/es/components/markdown_editor/markdown_editor_footer.js +13 -121
- package/es/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
- package/es/components/markdown_editor/markdown_editor_help_button.js +144 -0
- package/es/components/markdown_editor/markdown_editor_help_button.styles.js +16 -0
- package/es/components/markdown_editor/markdown_editor_toolbar.js +29 -24
- package/es/components/overlay_mask/overlay_mask.js +8 -3
- package/es/components/overlay_mask/overlay_mask.styles.js +11 -2
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/popover/popover.js +2 -1
- package/es/components/provider/provider.js +4 -3
- 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/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/global_styling/mixins/_button.js +1 -1
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/emotion/prefixer.js +116 -22
- package/es/services/theme/context.js +2 -2
- package/eui.d.ts +1126 -772
- package/i18ntokens.json +624 -624
- package/lib/components/accessibility/index.js +8 -1
- package/lib/components/accessibility/live_announcer/index.js +16 -0
- package/lib/components/accessibility/live_announcer/live_announcer.js +93 -0
- package/lib/components/accessibility/screen_reader_live/screen_reader_live.js +7 -0
- 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 +17 -6
- package/lib/components/card/card.js +2 -2
- package/lib/components/card/card_select/card_select.js +1 -1
- package/lib/components/card/checkable_card/checkable_card.js +29 -4
- package/lib/components/code/code_block.js +5 -2
- package/lib/components/code/code_block_virtualized.js +5 -3
- package/lib/components/collapsible_nav/collapsible_nav.js +4 -106
- 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 +97 -81
- package/lib/components/combo_box/combo_box.js +3 -2
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +50 -25
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +5 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +12 -12
- 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 +1 -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 +16 -3
- package/lib/components/flyout/const.js +49 -0
- package/lib/components/flyout/flyout.component.js +385 -0
- package/lib/components/flyout/flyout.js +68 -362
- package/lib/components/flyout/flyout.styles.js +98 -3
- package/lib/components/flyout/flyout_menu.js +95 -0
- package/lib/components/flyout/flyout_menu.styles.js +22 -0
- package/{optimize/lib/components/flyout/flyout_context.js → lib/components/flyout/flyout_menu_context.js} +2 -7
- package/lib/components/flyout/flyout_resizable.js +3 -2
- package/lib/components/flyout/hooks.js +30 -0
- package/lib/components/flyout/index.js +14 -14
- package/lib/components/flyout/manager/actions.js +103 -0
- package/lib/components/flyout/manager/activity_stage.js +77 -0
- package/lib/components/flyout/manager/const.js +56 -0
- package/lib/components/flyout/manager/context.js +41 -0
- package/lib/components/flyout/manager/flyout_child.js +85 -0
- package/lib/components/flyout/manager/flyout_child.styles.js +32 -0
- package/lib/components/flyout/manager/flyout_main.js +70 -0
- package/lib/components/flyout/manager/flyout_main.styles.js +31 -0
- package/lib/components/flyout/manager/flyout_managed.js +136 -0
- package/lib/components/flyout/manager/flyout_managed.styles.js +70 -0
- package/lib/components/flyout/manager/hooks.js +161 -0
- package/lib/components/flyout/manager/index.js +150 -0
- package/lib/components/flyout/manager/layout_mode.js +171 -0
- package/lib/components/flyout/manager/provider.js +46 -0
- package/lib/components/flyout/manager/reducer.js +205 -0
- package/lib/components/flyout/manager/selectors.js +93 -0
- package/lib/components/flyout/manager/validation.js +121 -0
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_password/field_password.styles.js +1 -0
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form.styles.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.styles.js +1 -1
- 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/range/range.styles.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/assets/thumbDown.js +44 -0
- package/lib/components/icon/assets/thumbUp.js +44 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +2 -0
- package/lib/components/icon/svgs/thumbDown.svg +4 -0
- package/lib/components/icon/svgs/thumbUp.svg +4 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/index.js +7 -0
- package/lib/components/markdown_editor/markdown_editor.js +16 -5
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +6 -4
- package/lib/components/markdown_editor/markdown_editor_footer.js +11 -118
- package/lib/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
- package/lib/components/markdown_editor/markdown_editor_help_button.js +151 -0
- package/lib/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +29 -24
- package/lib/components/overlay_mask/overlay_mask.js +7 -2
- package/lib/components/overlay_mask/overlay_mask.styles.js +11 -4
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/popover/popover.js +2 -1
- package/lib/components/provider/provider.js +4 -3
- 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/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/global_styling/mixins/_button.js +1 -1
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/emotion/prefixer.js +116 -22
- package/lib/services/theme/context.js +2 -2
- package/optimize/es/components/accessibility/index.js +2 -1
- package/optimize/es/components/{flyout/sessions → accessibility/live_announcer}/index.js +1 -2
- package/optimize/es/components/accessibility/live_announcer/live_announcer.js +68 -0
- package/optimize/es/components/accessibility/screen_reader_live/screen_reader_live.js +1 -0
- package/optimize/es/components/call_out/call_out.js +6 -2
- package/optimize/es/components/card/checkable_card/checkable_card.js +25 -5
- package/optimize/es/components/code/code_block.js +5 -2
- package/optimize/es/components/code/code_block_virtualized.js +5 -3
- package/optimize/es/components/combo_box/combo_box.a11y.js +97 -81
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +49 -24
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +6 -2
- package/optimize/es/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/es/components/filter_group/filter_select_item.js +15 -3
- package/optimize/es/components/flyout/const.js +42 -0
- package/optimize/es/components/flyout/flyout.component.js +346 -0
- package/optimize/es/components/flyout/flyout.js +39 -332
- package/optimize/es/components/flyout/flyout.styles.js +95 -3
- package/optimize/es/components/flyout/flyout_menu.js +74 -0
- package/optimize/es/components/flyout/flyout_menu.styles.js +16 -0
- package/{es/components/flyout/flyout_context.js → optimize/es/components/flyout/flyout_menu_context.js} +1 -7
- package/optimize/es/components/flyout/flyout_resizable.js +3 -2
- package/optimize/es/components/flyout/hooks.js +25 -0
- package/optimize/es/components/flyout/index.js +4 -2
- package/optimize/es/components/flyout/manager/actions.js +97 -0
- package/optimize/es/components/flyout/manager/activity_stage.js +71 -0
- package/optimize/es/components/flyout/manager/const.js +50 -0
- package/optimize/es/components/flyout/manager/context.js +33 -0
- package/optimize/es/components/flyout/manager/flyout_child.js +76 -0
- package/optimize/es/components/flyout/manager/flyout_child.styles.js +26 -0
- package/optimize/es/components/flyout/manager/flyout_main.js +61 -0
- package/optimize/es/components/flyout/manager/flyout_main.styles.js +25 -0
- package/optimize/es/components/flyout/manager/flyout_managed.js +125 -0
- package/optimize/es/components/flyout/manager/flyout_managed.styles.js +66 -0
- package/optimize/es/components/flyout/manager/hooks.js +93 -0
- package/optimize/es/components/flyout/manager/index.js +31 -0
- package/optimize/es/components/flyout/manager/layout_mode.js +159 -0
- package/optimize/es/components/flyout/manager/provider.js +37 -0
- package/optimize/es/components/flyout/manager/reducer.js +192 -0
- package/optimize/es/components/flyout/manager/selectors.js +87 -0
- package/optimize/es/components/flyout/manager/validation.js +112 -0
- package/optimize/es/components/form/field_password/field_password.styles.js +1 -0
- package/optimize/es/components/form/form.styles.js +2 -2
- package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +1 -1
- package/optimize/es/components/form/range/range.styles.js +2 -2
- package/optimize/es/components/icon/assets/thumbDown.js +36 -0
- package/optimize/es/components/icon/assets/thumbUp.js +36 -0
- package/optimize/es/components/icon/icon_map.js +2 -0
- package/optimize/es/components/markdown_editor/index.js +1 -0
- package/optimize/es/components/markdown_editor/markdown_editor.js +7 -3
- package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.js +3 -2
- package/optimize/es/components/markdown_editor/markdown_editor_footer.js +12 -120
- package/optimize/es/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
- package/optimize/es/components/markdown_editor/markdown_editor_help_button.js +139 -0
- package/optimize/es/components/markdown_editor/markdown_editor_help_button.styles.js +16 -0
- package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +20 -16
- package/optimize/es/components/overlay_mask/overlay_mask.js +8 -3
- package/optimize/es/components/overlay_mask/overlay_mask.styles.js +11 -2
- package/optimize/es/components/popover/popover.js +2 -1
- package/optimize/es/components/provider/provider.js +4 -3
- package/optimize/es/global_styling/mixins/_button.js +1 -1
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/emotion/prefixer.js +116 -22
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/lib/components/accessibility/index.js +8 -1
- package/optimize/lib/components/accessibility/live_announcer/index.js +16 -0
- package/optimize/lib/components/accessibility/live_announcer/live_announcer.js +77 -0
- package/optimize/lib/components/accessibility/screen_reader_live/screen_reader_live.js +1 -0
- package/optimize/lib/components/call_out/call_out.js +7 -3
- package/optimize/lib/components/card/checkable_card/checkable_card.js +24 -4
- package/optimize/lib/components/code/code_block.js +5 -2
- package/optimize/lib/components/code/code_block_virtualized.js +5 -3
- package/optimize/lib/components/combo_box/combo_box.a11y.js +97 -81
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +49 -24
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +5 -1
- package/optimize/lib/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/lib/components/filter_group/filter_select_item.js +15 -3
- package/optimize/lib/components/flyout/const.js +49 -0
- package/optimize/lib/components/flyout/flyout.component.js +354 -0
- package/optimize/lib/components/flyout/flyout.js +63 -332
- package/optimize/lib/components/flyout/flyout.styles.js +95 -3
- package/optimize/lib/components/flyout/flyout_menu.js +83 -0
- package/optimize/lib/components/flyout/flyout_menu.styles.js +22 -0
- package/{lib/components/flyout/flyout_context.js → optimize/lib/components/flyout/flyout_menu_context.js} +2 -7
- package/optimize/lib/components/flyout/flyout_resizable.js +3 -2
- package/optimize/lib/components/flyout/hooks.js +30 -0
- package/optimize/lib/components/flyout/index.js +14 -14
- package/optimize/lib/components/flyout/manager/actions.js +103 -0
- package/optimize/lib/components/flyout/manager/activity_stage.js +77 -0
- package/optimize/lib/components/flyout/manager/const.js +56 -0
- package/optimize/lib/components/flyout/manager/context.js +41 -0
- package/optimize/lib/components/flyout/manager/flyout_child.js +81 -0
- package/optimize/lib/components/flyout/manager/flyout_child.styles.js +32 -0
- package/optimize/lib/components/flyout/manager/flyout_main.js +66 -0
- package/optimize/lib/components/flyout/manager/flyout_main.styles.js +31 -0
- package/optimize/lib/components/flyout/manager/flyout_managed.js +134 -0
- package/optimize/lib/components/flyout/manager/flyout_managed.styles.js +71 -0
- package/optimize/lib/components/flyout/manager/hooks.js +159 -0
- package/optimize/lib/components/flyout/manager/index.js +150 -0
- package/optimize/lib/components/flyout/manager/layout_mode.js +169 -0
- package/optimize/lib/components/flyout/manager/provider.js +46 -0
- package/optimize/lib/components/flyout/manager/reducer.js +198 -0
- package/optimize/lib/components/flyout/manager/selectors.js +93 -0
- package/optimize/lib/components/flyout/manager/validation.js +121 -0
- package/optimize/lib/components/form/field_password/field_password.styles.js +1 -0
- package/optimize/lib/components/form/form.styles.js +2 -2
- package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +1 -1
- package/optimize/lib/components/form/range/range.styles.js +2 -2
- package/optimize/lib/components/icon/assets/thumbDown.js +44 -0
- package/optimize/lib/components/icon/assets/thumbUp.js +44 -0
- package/optimize/lib/components/icon/icon_map.js +2 -0
- package/optimize/lib/components/icon/svgs/thumbDown.svg +4 -0
- package/optimize/lib/components/icon/svgs/thumbUp.svg +4 -0
- package/optimize/lib/components/markdown_editor/index.js +7 -0
- package/optimize/lib/components/markdown_editor/markdown_editor.js +7 -3
- package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.js +3 -2
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +9 -118
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
- package/optimize/lib/components/markdown_editor/markdown_editor_help_button.js +150 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +20 -16
- package/optimize/lib/components/overlay_mask/overlay_mask.js +7 -2
- package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +11 -4
- package/optimize/lib/components/popover/popover.js +2 -1
- package/optimize/lib/components/provider/provider.js +4 -3
- package/optimize/lib/global_styling/mixins/_button.js +1 -1
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/emotion/prefixer.js +116 -22
- package/optimize/lib/services/theme/context.js +2 -2
- package/package.json +3 -2
- package/src/components/date_picker/react-datepicker/src/stylesheets/datepicker.scss +6 -7
- package/src/global_styling/mixins/_typography.scss +0 -1
- package/src/themes/amsterdam/global_styling/mixins/_typography.scss +0 -1
- package/test-env/components/accessibility/index.js +8 -1
- package/test-env/components/accessibility/live_announcer/index.js +16 -0
- package/test-env/components/accessibility/live_announcer/live_announcer.js +87 -0
- package/test-env/components/accessibility/screen_reader_live/screen_reader_live.js +7 -0
- 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 +17 -6
- 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/card/checkable_card/checkable_card.js +24 -4
- package/test-env/components/code/code_block_virtualized.js +5 -3
- package/test-env/components/collapsible_nav/collapsible_nav.js +4 -106
- 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 +97 -81
- package/test-env/components/combo_box/combo_box.js +3 -2
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +50 -25
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +5 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +12 -12
- 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 +1 -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 +16 -3
- package/test-env/components/flyout/const.js +49 -0
- package/test-env/components/flyout/flyout.component.js +374 -0
- package/test-env/components/flyout/flyout.styles.js +95 -3
- package/test-env/components/flyout/flyout_menu.js +94 -0
- package/test-env/components/flyout/flyout_menu.styles.js +22 -0
- package/test-env/components/flyout/{flyout_context.js → flyout_menu_context.js} +2 -7
- package/test-env/components/flyout/flyout_resizable.js +3 -2
- package/test-env/components/flyout/hooks.js +30 -0
- package/test-env/components/flyout/index.js +14 -14
- package/test-env/components/flyout/manager/actions.js +103 -0
- package/test-env/components/flyout/manager/activity_stage.js +77 -0
- package/test-env/components/flyout/manager/const.js +56 -0
- package/test-env/components/flyout/manager/context.js +41 -0
- package/test-env/components/flyout/manager/flyout_child.js +81 -0
- package/test-env/components/flyout/manager/flyout_child.styles.js +32 -0
- package/test-env/components/flyout/manager/flyout_main.js +66 -0
- package/test-env/components/flyout/manager/flyout_main.styles.js +31 -0
- package/test-env/components/flyout/manager/flyout_managed.js +134 -0
- package/test-env/components/flyout/manager/flyout_managed.styles.js +71 -0
- package/test-env/components/flyout/manager/hooks.js +159 -0
- package/test-env/components/flyout/manager/index.js +150 -0
- package/test-env/components/flyout/manager/layout_mode.js +169 -0
- package/test-env/components/flyout/manager/provider.js +46 -0
- package/test-env/components/flyout/manager/reducer.js +198 -0
- package/test-env/components/flyout/manager/selectors.js +93 -0
- package/test-env/components/flyout/manager/validation.js +121 -0
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_password/field_password.styles.js +1 -0
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form.styles.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.styles.js +1 -1
- 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/range/range.styles.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/assets/thumbDown.js +44 -0
- package/test-env/components/icon/assets/thumbUp.js +44 -0
- package/test-env/components/icon/icon_map.js +2 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/index.js +7 -0
- package/test-env/components/markdown_editor/markdown_editor.js +16 -5
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +6 -4
- package/test-env/components/markdown_editor/markdown_editor_footer.js +10 -119
- package/test-env/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
- package/test-env/components/markdown_editor/markdown_editor_help_button.js +150 -0
- package/test-env/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +29 -24
- package/test-env/components/overlay_mask/overlay_mask.js +7 -2
- package/test-env/components/overlay_mask/overlay_mask.styles.js +11 -4
- 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/popover/popover.js +2 -1
- package/test-env/components/provider/provider.js +4 -3
- 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/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/global_styling/mixins/_button.js +1 -1
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/emotion/prefixer.js +116 -22
- package/test-env/services/theme/context.js +2 -2
- package/es/components/flyout/flyout_child.js +0 -223
- package/es/components/flyout/flyout_child.styles.js +0 -32
- package/es/components/flyout/flyout_child_manager.js +0 -114
- package/es/components/flyout/sessions/flyout_provider.js +0 -95
- package/es/components/flyout/sessions/flyout_reducer.js +0 -195
- package/es/components/flyout/sessions/use_eui_flyout.js +0 -82
- package/lib/components/flyout/flyout_child.js +0 -231
- package/lib/components/flyout/flyout_child.styles.js +0 -38
- package/lib/components/flyout/flyout_child_manager.js +0 -122
- package/lib/components/flyout/sessions/flyout_provider.js +0 -102
- package/lib/components/flyout/sessions/flyout_reducer.js +0 -202
- package/lib/components/flyout/sessions/index.js +0 -25
- package/lib/components/flyout/sessions/use_eui_flyout.js +0 -88
- package/optimize/es/components/flyout/flyout_child.js +0 -178
- package/optimize/es/components/flyout/flyout_child.styles.js +0 -32
- package/optimize/es/components/flyout/flyout_child_manager.js +0 -100
- package/optimize/es/components/flyout/sessions/flyout_provider.js +0 -90
- package/optimize/es/components/flyout/sessions/flyout_reducer.js +0 -187
- package/optimize/es/components/flyout/sessions/use_eui_flyout.js +0 -82
- package/optimize/lib/components/flyout/flyout_child.js +0 -186
- package/optimize/lib/components/flyout/flyout_child.styles.js +0 -38
- package/optimize/lib/components/flyout/flyout_child_manager.js +0 -110
- package/optimize/lib/components/flyout/sessions/flyout_provider.js +0 -100
- package/optimize/lib/components/flyout/sessions/flyout_reducer.js +0 -195
- package/optimize/lib/components/flyout/sessions/index.js +0 -25
- package/optimize/lib/components/flyout/sessions/use_eui_flyout.js +0 -88
- package/test-env/components/flyout/flyout_child.js +0 -230
- package/test-env/components/flyout/flyout_child.styles.js +0 -38
- package/test-env/components/flyout/flyout_child_manager.js +0 -119
- package/test-env/components/flyout/sessions/flyout_provider.js +0 -100
- package/test-env/components/flyout/sessions/flyout_reducer.js +0 -195
- package/test-env/components/flyout/sessions/index.js +0 -25
- package/test-env/components/flyout/sessions/use_eui_flyout.js +0 -88
- /package/es/components/flyout/{sessions → manager}/types.js +0 -0
- /package/lib/components/flyout/{sessions → manager}/types.js +0 -0
- /package/optimize/es/components/flyout/{sessions → manager}/types.js +0 -0
- /package/optimize/lib/components/flyout/{sessions → manager}/types.js +0 -0
- /package/test-env/components/flyout/{sessions → manager}/types.js +0 -0
package/eui.d.ts
CHANGED
|
@@ -171,13 +171,124 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
171
171
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
172
172
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
173
173
|
|
|
174
|
+
}
|
|
175
|
+
declare module '@elastic/eui/src/services/theme/types' {
|
|
176
|
+
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
177
|
+
|
|
174
178
|
}
|
|
175
179
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
176
180
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
177
181
|
|
|
178
182
|
}
|
|
179
|
-
declare module '@elastic/eui/src/services/theme/
|
|
180
|
-
|
|
183
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
184
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
185
|
+
export const DEFAULTS: {
|
|
186
|
+
system: {
|
|
187
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
188
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
189
|
+
key: string;
|
|
190
|
+
};
|
|
191
|
+
modifications: {};
|
|
192
|
+
colorMode: "LIGHT";
|
|
193
|
+
highContrastMode: false;
|
|
194
|
+
};
|
|
195
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
196
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
197
|
+
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
198
|
+
}>>;
|
|
199
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
200
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
201
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
202
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
203
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
204
|
+
|
|
205
|
+
}
|
|
206
|
+
declare module '@elastic/eui/src/services/theme/warning' {
|
|
207
|
+
type LEVELS = 'log' | 'warn' | 'error';
|
|
208
|
+
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
209
|
+
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
210
|
+
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
211
|
+
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
212
|
+
export {};
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
216
|
+
import React from 'react';
|
|
217
|
+
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
218
|
+
/**
|
|
219
|
+
* Hook for function components
|
|
220
|
+
*/
|
|
221
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
222
|
+
euiTheme: EuiThemeComputed<T>;
|
|
223
|
+
colorMode: EuiThemeColorModeStandard;
|
|
224
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
225
|
+
modifications: EuiThemeModifications<T>;
|
|
226
|
+
}
|
|
227
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
228
|
+
/**
|
|
229
|
+
* HOC for class components
|
|
230
|
+
*/
|
|
231
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
232
|
+
theme: UseEuiTheme<P>;
|
|
233
|
+
}
|
|
234
|
+
export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
|
|
235
|
+
/**
|
|
236
|
+
* Render prop alternative for complex class components
|
|
237
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
238
|
+
*/
|
|
239
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
240
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
241
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
242
|
+
/**
|
|
243
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
244
|
+
* Primarily meant for internal EUI usage.
|
|
245
|
+
*/
|
|
246
|
+
export const useEuiThemeCSSVariables: () => {
|
|
247
|
+
setGlobalCSSVariables: Function;
|
|
248
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
249
|
+
setNearestThemeCSSVariables: Function;
|
|
250
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
254
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
255
|
+
*/
|
|
256
|
+
export const useIsDarkMode: () => boolean;
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
260
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
264
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
265
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
266
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
267
|
+
|
|
268
|
+
}
|
|
269
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
270
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
271
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
272
|
+
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
273
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
274
|
+
/**
|
|
275
|
+
* Returns the current breakpoint based on window width.
|
|
276
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
277
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
278
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
279
|
+
*/
|
|
280
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
281
|
+
export {};
|
|
282
|
+
|
|
283
|
+
}
|
|
284
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
285
|
+
/**
|
|
286
|
+
* Hook util / syntactical sugar for useContext()
|
|
287
|
+
*
|
|
288
|
+
* This hook is in its own separate file to make mocking it
|
|
289
|
+
* as a testenv easy for Jest unit tests
|
|
290
|
+
*/
|
|
291
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
181
292
|
|
|
182
293
|
}
|
|
183
294
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -276,10 +387,6 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
276
387
|
*/
|
|
277
388
|
export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
|
|
278
389
|
|
|
279
|
-
}
|
|
280
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
281
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
282
|
-
|
|
283
390
|
}
|
|
284
391
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
285
392
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -302,15 +409,6 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
302
409
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
303
410
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
304
411
|
|
|
305
|
-
}
|
|
306
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
307
|
-
type LEVELS = 'log' | 'warn' | 'error';
|
|
308
|
-
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
309
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
310
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
311
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
312
|
-
export {};
|
|
313
|
-
|
|
314
412
|
}
|
|
315
413
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
316
414
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -507,11 +605,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
507
605
|
*/
|
|
508
606
|
categorical?: boolean): string[];
|
|
509
607
|
|
|
510
|
-
}
|
|
511
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
512
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
513
|
-
export const colorVisLight: _EuiThemeVisColors;
|
|
514
|
-
|
|
515
608
|
}
|
|
516
609
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
517
610
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -1047,7 +1140,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_button' {
|
|
|
1047
1140
|
minWidth: number;
|
|
1048
1141
|
height: string;
|
|
1049
1142
|
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
1050
|
-
fontScale: "
|
|
1143
|
+
fontScale: "xs";
|
|
1051
1144
|
};
|
|
1052
1145
|
s: {
|
|
1053
1146
|
minWidth: number;
|
|
@@ -1178,7 +1271,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1178
1271
|
*/
|
|
1179
1272
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1180
1273
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1181
|
-
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "
|
|
1274
|
+
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
|
|
1182
1275
|
|
|
1183
1276
|
}
|
|
1184
1277
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1228,12 +1321,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1228
1321
|
*/
|
|
1229
1322
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1230
1323
|
|
|
1231
|
-
}
|
|
1232
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1233
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1234
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1235
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1236
|
-
|
|
1237
1324
|
}
|
|
1238
1325
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1239
1326
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -2782,6 +2869,8 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
2782
2869
|
tag: string;
|
|
2783
2870
|
tear: string;
|
|
2784
2871
|
temperature: string;
|
|
2872
|
+
thumbDown: string;
|
|
2873
|
+
thumbUp: string;
|
|
2785
2874
|
timeline: string;
|
|
2786
2875
|
timelineWithArrow: string;
|
|
2787
2876
|
timelionApp: string;
|
|
@@ -2954,7 +3043,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2954
3043
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2955
3044
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2956
3045
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2957
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
3046
|
+
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" | "thumbDown" | "thumbUp" | "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")[];
|
|
2958
3047
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2959
3048
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2960
3049
|
export type IconColor = string | NamedColor;
|
|
@@ -5580,6 +5669,541 @@ declare module '@elastic/eui/src/components/table' {
|
|
|
5580
5669
|
export { EuiTableRowCell } from '@elastic/eui/src/components/table/table_row_cell';
|
|
5581
5670
|
export { EuiTableRowCellCheckbox } from '@elastic/eui/src/components/table/table_row_cell_checkbox';
|
|
5582
5671
|
|
|
5672
|
+
}
|
|
5673
|
+
declare module '@elastic/eui/src/components/flyout/manager/const' {
|
|
5674
|
+
/**
|
|
5675
|
+
* Data attribute applied to a managed flyout element to help identify it as a managed flyout.
|
|
5676
|
+
*/
|
|
5677
|
+
export const PROPERTY_FLYOUT = "data-managed-flyout";
|
|
5678
|
+
/**
|
|
5679
|
+
* Data attribute indicating whether the flyout is the `main` or `child` flyout.
|
|
5680
|
+
*/
|
|
5681
|
+
export const PROPERTY_LEVEL = "data-managed-flyout-level";
|
|
5682
|
+
/**
|
|
5683
|
+
* Data attribute representing how multiple flyouts are laid out
|
|
5684
|
+
* (`side-by-side` or `stacked`).
|
|
5685
|
+
*/
|
|
5686
|
+
export const PROPERTY_LAYOUT_MODE = "data-managed-flyout-layout-mode";
|
|
5687
|
+
/** Stacked layout mode where child flyouts overlay on top of the main flyout. */
|
|
5688
|
+
export const LAYOUT_MODE_STACKED = "stacked";
|
|
5689
|
+
/** Side-by-side layout mode where child flyouts render adjacent to the main flyout. */
|
|
5690
|
+
export const LAYOUT_MODE_SIDE_BY_SIDE = "side-by-side";
|
|
5691
|
+
/** The primary (parent) flyout in a session. */
|
|
5692
|
+
export const LEVEL_MAIN = "main";
|
|
5693
|
+
/** The secondary (child) flyout spawned by the main flyout. */
|
|
5694
|
+
export const LEVEL_CHILD = "child";
|
|
5695
|
+
/** Flyout is mounting and playing its opening animation. */
|
|
5696
|
+
export const STAGE_OPENING = "opening";
|
|
5697
|
+
/** Flyout is fully visible and interactive. */
|
|
5698
|
+
export const STAGE_ACTIVE = "active";
|
|
5699
|
+
/** Flyout is unmounted or not currently visible/interactable. */
|
|
5700
|
+
export const STAGE_INACTIVE = "inactive";
|
|
5701
|
+
/** Main flyout is transitioning behind an active session flyout. */
|
|
5702
|
+
export const STAGE_BACKGROUNDING = "backgrounding";
|
|
5703
|
+
/** Main flyout is backgrounded behind an active session flyout. */
|
|
5704
|
+
export const STAGE_BACKGROUNDED = "backgrounded";
|
|
5705
|
+
/** Flyout is returning to the foreground from a backgrounded state. */
|
|
5706
|
+
export const STAGE_RETURNING = "returning";
|
|
5707
|
+
/** Flyout is playing its closing animation. */
|
|
5708
|
+
export const STAGE_CLOSING = "closing";
|
|
5709
|
+
|
|
5710
|
+
}
|
|
5711
|
+
declare module '@elastic/eui/src/components/flyout/manager/types' {
|
|
5712
|
+
import type { Action } from '@elastic/eui/src/components/flyout/manager/actions';
|
|
5713
|
+
import { STAGE_CLOSING, STAGE_OPENING, STAGE_ACTIVE, STAGE_INACTIVE, STAGE_BACKGROUNDING, STAGE_BACKGROUNDED, STAGE_RETURNING, LAYOUT_MODE_SIDE_BY_SIDE, LAYOUT_MODE_STACKED, LEVEL_CHILD, LEVEL_MAIN } from '@elastic/eui/src/components/flyout/manager/const';
|
|
5714
|
+
export type EuiFlyoutLayoutMode = typeof LAYOUT_MODE_STACKED | typeof LAYOUT_MODE_SIDE_BY_SIDE;
|
|
5715
|
+
export type EuiFlyoutLevel = typeof LEVEL_MAIN | typeof LEVEL_CHILD;
|
|
5716
|
+
export type EuiFlyoutActivityStage = typeof STAGE_OPENING | typeof STAGE_ACTIVE | typeof STAGE_INACTIVE | typeof STAGE_BACKGROUNDING | typeof STAGE_BACKGROUNDED | typeof STAGE_RETURNING | typeof STAGE_CLOSING;
|
|
5717
|
+
export interface EuiManagedFlyoutState {
|
|
5718
|
+
flyoutId: string;
|
|
5719
|
+
level: EuiFlyoutLevel;
|
|
5720
|
+
width?: number;
|
|
5721
|
+
size?: string;
|
|
5722
|
+
activityStage?: EuiFlyoutActivityStage;
|
|
5723
|
+
}
|
|
5724
|
+
export interface FlyoutSession {
|
|
5725
|
+
main: string;
|
|
5726
|
+
child: string | null;
|
|
5727
|
+
}
|
|
5728
|
+
export interface EuiFlyoutManagerState {
|
|
5729
|
+
sessions: FlyoutSession[];
|
|
5730
|
+
flyouts: EuiManagedFlyoutState[];
|
|
5731
|
+
layoutMode: EuiFlyoutLayoutMode;
|
|
5732
|
+
}
|
|
5733
|
+
/**
|
|
5734
|
+
* Public API surface provided through React context.
|
|
5735
|
+
* Kept intentionally decoupled from action types to avoid module cycles.
|
|
5736
|
+
*/
|
|
5737
|
+
export interface FlyoutManagerApi {
|
|
5738
|
+
state: EuiFlyoutManagerState;
|
|
5739
|
+
dispatch: (action: Action) => void;
|
|
5740
|
+
addFlyout: (flyoutId: string, level?: EuiFlyoutLevel, size?: string) => void;
|
|
5741
|
+
closeFlyout: (flyoutId: string) => void;
|
|
5742
|
+
setActiveFlyout: (flyoutId: string | null) => void;
|
|
5743
|
+
setFlyoutWidth: (flyoutId: string, width: number) => void;
|
|
5744
|
+
}
|
|
5745
|
+
|
|
5746
|
+
}
|
|
5747
|
+
declare module '@elastic/eui/src/components/flyout/manager/actions' {
|
|
5748
|
+
import { EuiFlyoutActivityStage, EuiFlyoutLevel, EuiFlyoutLayoutMode } from '@elastic/eui/src/components/flyout/manager/types'; const PREFIX: "eui/flyoutManager";
|
|
5749
|
+
interface BaseAction {
|
|
5750
|
+
type: `${typeof PREFIX}/${string}`;
|
|
5751
|
+
}
|
|
5752
|
+
/** Dispatched when a flyout registers itself with the manager. */
|
|
5753
|
+
export const ACTION_ADD: "eui/flyoutManager/add";
|
|
5754
|
+
/** Dispatched to remove a flyout from the manager (usually on close/unmount). */
|
|
5755
|
+
export const ACTION_CLOSE: "eui/flyoutManager/close";
|
|
5756
|
+
/** Dispatched to set which flyout is currently active within the session. */
|
|
5757
|
+
export const ACTION_SET_ACTIVE: "eui/flyoutManager/setActive";
|
|
5758
|
+
/** Dispatched when an active flyout's pixel width changes (for responsive layout). */
|
|
5759
|
+
export const ACTION_SET_WIDTH: "eui/flyoutManager/setWidth";
|
|
5760
|
+
/** Dispatched to switch layout mode between `side-by-side` and `stacked`. */
|
|
5761
|
+
export const ACTION_SET_LAYOUT_MODE: "eui/flyoutManager/setLayoutMode";
|
|
5762
|
+
/** Dispatched to update a flyout's activity stage (e.g., opening -> active). */
|
|
5763
|
+
export const ACTION_SET_ACTIVITY_STAGE: "eui/flyoutManager/setActivityStage";
|
|
5764
|
+
/**
|
|
5765
|
+
* Add a flyout to manager state. The manager will create or update
|
|
5766
|
+
* the current session depending on the `level` provided.
|
|
5767
|
+
*/
|
|
5768
|
+
export interface AddFlyoutAction extends BaseAction {
|
|
5769
|
+
type: typeof ACTION_ADD;
|
|
5770
|
+
flyoutId: string;
|
|
5771
|
+
level: EuiFlyoutLevel;
|
|
5772
|
+
size?: string;
|
|
5773
|
+
}
|
|
5774
|
+
/** Remove a flyout from manager state. Also updates the active session. */
|
|
5775
|
+
export interface CloseFlyoutAction extends BaseAction {
|
|
5776
|
+
type: typeof ACTION_CLOSE;
|
|
5777
|
+
flyoutId: string;
|
|
5778
|
+
}
|
|
5779
|
+
/** Set the active flyout within the current session (or clear with `null`). */
|
|
5780
|
+
export interface SetActiveFlyoutAction extends BaseAction {
|
|
5781
|
+
type: typeof ACTION_SET_ACTIVE;
|
|
5782
|
+
flyoutId: string | null;
|
|
5783
|
+
}
|
|
5784
|
+
/** Update a flyout's measured width in pixels. */
|
|
5785
|
+
export interface SetWidthAction extends BaseAction {
|
|
5786
|
+
type: typeof ACTION_SET_WIDTH;
|
|
5787
|
+
flyoutId: string;
|
|
5788
|
+
width: number;
|
|
5789
|
+
}
|
|
5790
|
+
/** Change how flyouts are arranged: `side-by-side` or `stacked`. */
|
|
5791
|
+
export interface SetLayoutModeAction extends BaseAction {
|
|
5792
|
+
type: typeof ACTION_SET_LAYOUT_MODE;
|
|
5793
|
+
layoutMode: EuiFlyoutLayoutMode;
|
|
5794
|
+
}
|
|
5795
|
+
/** Set a specific flyout's activity stage. */
|
|
5796
|
+
export interface SetActivityStageAction extends BaseAction {
|
|
5797
|
+
type: typeof ACTION_SET_ACTIVITY_STAGE;
|
|
5798
|
+
flyoutId: string;
|
|
5799
|
+
activityStage: EuiFlyoutActivityStage;
|
|
5800
|
+
}
|
|
5801
|
+
/** Union of all flyout manager actions. */
|
|
5802
|
+
export type Action = AddFlyoutAction | CloseFlyoutAction | SetActiveFlyoutAction | SetWidthAction | SetLayoutModeAction | SetActivityStageAction;
|
|
5803
|
+
/**
|
|
5804
|
+
* Register a flyout with the manager.
|
|
5805
|
+
* - `level` determines whether the flyout is `main` or `child`.
|
|
5806
|
+
* - Optional `size` is the named EUI size (e.g. `s`, `m`, `l`).
|
|
5807
|
+
*/
|
|
5808
|
+
export const addFlyout: (flyoutId: string, level?: EuiFlyoutLevel, size?: string) => AddFlyoutAction;
|
|
5809
|
+
/** Unregister a flyout and update the session accordingly. */
|
|
5810
|
+
export const closeFlyout: (flyoutId: string) => CloseFlyoutAction;
|
|
5811
|
+
/** Set or clear the active flyout for the current session. */
|
|
5812
|
+
export const setActiveFlyout: (flyoutId: string | null) => SetActiveFlyoutAction;
|
|
5813
|
+
/** Record a flyout's current width in pixels. */
|
|
5814
|
+
export const setFlyoutWidth: (flyoutId: string, width: number) => SetWidthAction;
|
|
5815
|
+
/** Switch layout mode between `side-by-side` and `stacked`. */
|
|
5816
|
+
export const setLayoutMode: (layoutMode: EuiFlyoutLayoutMode) => SetLayoutModeAction;
|
|
5817
|
+
/** Update a flyout's activity stage. */
|
|
5818
|
+
export const setActivityStage: (flyoutId: string, activityStage: EuiFlyoutActivityStage) => SetActivityStageAction;
|
|
5819
|
+
export {};
|
|
5820
|
+
|
|
5821
|
+
}
|
|
5822
|
+
declare module '@elastic/eui/src/components/flyout/manager/reducer' {
|
|
5823
|
+
import { Action } from '@elastic/eui/src/components/flyout/manager/actions';
|
|
5824
|
+
import { EuiFlyoutManagerState } from '@elastic/eui/src/components/flyout/manager/types';
|
|
5825
|
+
/**
|
|
5826
|
+
* Default flyout manager state used to initialize the reducer.
|
|
5827
|
+
*/
|
|
5828
|
+
export const initialState: EuiFlyoutManagerState;
|
|
5829
|
+
/**
|
|
5830
|
+
* Reducer handling all flyout manager actions and state transitions.
|
|
5831
|
+
*/
|
|
5832
|
+
export function flyoutManagerReducer(state: EuiFlyoutManagerState | undefined, action: Action): EuiFlyoutManagerState;
|
|
5833
|
+
|
|
5834
|
+
}
|
|
5835
|
+
declare module '@elastic/eui/src/components/flyout/manager/selectors' {
|
|
5836
|
+
export const useSession: (flyoutId?: string | null) => import ("@elastic/eui/src/components/flyout/manager/types").FlyoutSession | null;
|
|
5837
|
+
/** True when any managed flyout session is currently active. */
|
|
5838
|
+
export const useHasActiveSession: () => boolean;
|
|
5839
|
+
/** True if the given `flyoutId` is the main or child flyout in the latest session. */
|
|
5840
|
+
export const useIsFlyoutActive: (flyoutId: string) => boolean;
|
|
5841
|
+
export const useFlyout: (flyoutId?: string | null) => import ("@elastic/eui/src/components/flyout/manager/types").EuiManagedFlyoutState | null;
|
|
5842
|
+
export const useIsFlyoutRegistered: (flyoutId?: string | null) => boolean;
|
|
5843
|
+
/** The most recent flyout session or `null` if none. */
|
|
5844
|
+
export const useCurrentSession: () => import ("@elastic/eui/src/components/flyout/manager/types").FlyoutSession | null;
|
|
5845
|
+
/** The registered state of the current session's main flyout, if present. */
|
|
5846
|
+
export const useCurrentMainFlyout: () => import ("@elastic/eui/src/components/flyout/manager/types").EuiManagedFlyoutState | null;
|
|
5847
|
+
/** The registered state of the current session's child flyout, if present. */
|
|
5848
|
+
export const useCurrentChildFlyout: () => import ("@elastic/eui/src/components/flyout/manager/types").EuiManagedFlyoutState | null;
|
|
5849
|
+
/** The measured width (px) of the specified flyout, or `null` if unknown. */
|
|
5850
|
+
export const useFlyoutWidth: (flyoutId?: string | null) => number | undefined;
|
|
5851
|
+
/** The configured size of the parent (main) flyout for a given child flyout ID. */
|
|
5852
|
+
export const useParentFlyoutSize: (childFlyoutId: string) => string | undefined;
|
|
5853
|
+
/** True if the provided `flyoutId` is the main flyout and it currently has a child. */
|
|
5854
|
+
export const useHasChildFlyout: (flyoutId: string) => boolean;
|
|
5855
|
+
|
|
5856
|
+
}
|
|
5857
|
+
declare module '@elastic/eui/src/components/flyout/manager/layout_mode' {
|
|
5858
|
+
import { EuiFlyoutLayoutMode } from '@elastic/eui/src/components/flyout/manager/types';
|
|
5859
|
+
/**
|
|
5860
|
+
* Hook to handle responsive layout mode for managed flyouts.
|
|
5861
|
+
* Decides whether to place flyouts side-by-side or stacked based on
|
|
5862
|
+
* viewport width and flyout widths/sizes.
|
|
5863
|
+
*/
|
|
5864
|
+
export const useApplyFlyoutLayoutMode: () => void;
|
|
5865
|
+
/** Convert a flyout `size` value to a pixel width using theme breakpoints. */
|
|
5866
|
+
export const getWidthFromSize: (size: string | number) => number;
|
|
5867
|
+
/** Current layout mode for managed flyouts (`side-by-side` or `stacked`). */
|
|
5868
|
+
export const useFlyoutLayoutMode: () => EuiFlyoutLayoutMode;
|
|
5869
|
+
|
|
5870
|
+
}
|
|
5871
|
+
declare module '@elastic/eui/src/components/flyout/manager/context' {
|
|
5872
|
+
import React from 'react';
|
|
5873
|
+
/**
|
|
5874
|
+
* React provider that marks descendants as being rendered inside
|
|
5875
|
+
* an EUI managed flyout. Used by hooks/components to alter behavior
|
|
5876
|
+
* (e.g., focus handling) when inside a managed flyout tree.
|
|
5877
|
+
*/
|
|
5878
|
+
export const EuiFlyoutIsManagedProvider: ({ isManaged, children, }: {
|
|
5879
|
+
isManaged: boolean;
|
|
5880
|
+
children: React.ReactNode;
|
|
5881
|
+
}) => React.JSX.Element;
|
|
5882
|
+
/**
|
|
5883
|
+
* Hook that returns `true` when called within an EUI managed flyout subtree.
|
|
5884
|
+
*/
|
|
5885
|
+
export const useIsInManagedFlyout: () => boolean;
|
|
5886
|
+
|
|
5887
|
+
}
|
|
5888
|
+
declare module '@elastic/eui/src/components/flyout/manager/hooks' {
|
|
5889
|
+
import { type EuiFlyoutManagerState, type FlyoutManagerApi } from '@elastic/eui/src/components/flyout/manager/types';
|
|
5890
|
+
export { useIsFlyoutActive, useHasActiveSession, useCurrentSession, useCurrentMainFlyout, useCurrentChildFlyout, useFlyoutWidth, useParentFlyoutSize, useHasChildFlyout, } from '@elastic/eui/src/components/flyout/manager/selectors';
|
|
5891
|
+
export { useFlyoutLayoutMode } from '@elastic/eui/src/components/flyout/manager/layout_mode';
|
|
5892
|
+
export { useIsInManagedFlyout } from '@elastic/eui/src/components/flyout/manager/context';
|
|
5893
|
+
export type { EuiFlyoutActivityStage } from '@elastic/eui/src/components/flyout/manager/types';
|
|
5894
|
+
/**
|
|
5895
|
+
* Hook that provides the flyout manager reducer and bound action creators.
|
|
5896
|
+
* Accepts an optional initial state (mainly for tests or custom setups).
|
|
5897
|
+
*/
|
|
5898
|
+
export function useFlyoutManagerReducer(initial?: EuiFlyoutManagerState): FlyoutManagerApi;
|
|
5899
|
+
/** Access the flyout manager context (state and actions). */
|
|
5900
|
+
export const useFlyoutManager: () => FlyoutManagerApi | null;
|
|
5901
|
+
/**
|
|
5902
|
+
* Stable flyout ID utility. Uses the passed `id` if provided and not already registered,
|
|
5903
|
+
* otherwise generates a deterministic ID for the component's lifetime.
|
|
5904
|
+
* The ID remains stable across re-renders to maintain consistency in effects and other hooks.
|
|
5905
|
+
*/
|
|
5906
|
+
export const useFlyoutId: (flyoutId?: string) => string;
|
|
5907
|
+
|
|
5908
|
+
}
|
|
5909
|
+
declare module '@elastic/eui/src/components/flyout/manager/provider' {
|
|
5910
|
+
import React from 'react';
|
|
5911
|
+
import { FlyoutManagerApi } from '@elastic/eui/src/components/flyout/manager/types';
|
|
5912
|
+
/**
|
|
5913
|
+
* React context that exposes the Flyout Manager API (state + actions).
|
|
5914
|
+
*/
|
|
5915
|
+
export const EuiFlyoutManagerContext: React.Context<FlyoutManagerApi | null>;
|
|
5916
|
+
/**
|
|
5917
|
+
* Provides the Flyout Manager API via context and runs layout-mode logic.
|
|
5918
|
+
*/
|
|
5919
|
+
export const EuiFlyoutManager: React.FC<{
|
|
5920
|
+
children: React.ReactNode;
|
|
5921
|
+
}>;
|
|
5922
|
+
/** Hook to access the Flyout Manager API from context. */
|
|
5923
|
+
export const useFlyoutManager: () => FlyoutManagerApi | null;
|
|
5924
|
+
|
|
5925
|
+
}
|
|
5926
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_child.styles' {
|
|
5927
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5928
|
+
/**
|
|
5929
|
+
* Emotion styles for child flyouts.
|
|
5930
|
+
* Provides background variants coordinated with the EUI theme.
|
|
5931
|
+
*
|
|
5932
|
+
* Returns an object with the following CSS snippets:
|
|
5933
|
+
* - `backgroundDefault`: plain background
|
|
5934
|
+
* - `backgroundShaded`: subdued background used to de-emphasize child content
|
|
5935
|
+
*/
|
|
5936
|
+
export const euiChildFlyoutStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5937
|
+
backgroundDefault: import("@emotion/react").SerializedStyles;
|
|
5938
|
+
backgroundShaded: import("@emotion/react").SerializedStyles;
|
|
5939
|
+
};
|
|
5940
|
+
|
|
5941
|
+
}
|
|
5942
|
+
declare module '@elastic/eui/src/components/flyout/const' {
|
|
5943
|
+
import { EuiBreakpointSize } from '@elastic/eui/src/services';
|
|
5944
|
+
/** Allowed flyout render types. */
|
|
5945
|
+
export const FLYOUT_TYPES: readonly ["push", "overlay"];
|
|
5946
|
+
/** Type representing a supported flyout render type. */
|
|
5947
|
+
export type _EuiFlyoutType = (typeof FLYOUT_TYPES)[number];
|
|
5948
|
+
/** Allowed flyout attachment sides. */
|
|
5949
|
+
export const FLYOUT_SIDES: readonly ["left", "right"];
|
|
5950
|
+
/** Type representing a supported flyout side. */
|
|
5951
|
+
export type _EuiFlyoutSide = (typeof FLYOUT_SIDES)[number];
|
|
5952
|
+
/** Allowed named flyout sizes used by the manager. */
|
|
5953
|
+
export const FLYOUT_SIZES: readonly ["s", "m", "l", "fill"];
|
|
5954
|
+
/** Type representing a supported named flyout size. */
|
|
5955
|
+
export type EuiFlyoutSize = (typeof FLYOUT_SIZES)[number];
|
|
5956
|
+
/** Allowed padding sizes for flyout content. */
|
|
5957
|
+
export const FLYOUT_PADDING_SIZES: readonly ["none", "s", "m", "l"];
|
|
5958
|
+
/** Type representing a supported flyout padding size. */
|
|
5959
|
+
export type _EuiFlyoutPaddingSize = (typeof FLYOUT_PADDING_SIZES)[number];
|
|
5960
|
+
/** Default minimum breakpoint at which push-type flyouts begin to push content. */
|
|
5961
|
+
export const DEFAULT_PUSH_MIN_BREAKPOINT: EuiBreakpointSize;
|
|
5962
|
+
/** Default flyout type when none is provided. */
|
|
5963
|
+
export const DEFAULT_TYPE: _EuiFlyoutType;
|
|
5964
|
+
/** Default side where flyouts anchor when none is provided. */
|
|
5965
|
+
export const DEFAULT_SIDE: _EuiFlyoutSide;
|
|
5966
|
+
/** Default named flyout size. */
|
|
5967
|
+
export const DEFAULT_SIZE: EuiFlyoutSize;
|
|
5968
|
+
/** Default padding size inside flyouts. */
|
|
5969
|
+
export const DEFAULT_PADDING_SIZE: _EuiFlyoutPaddingSize;
|
|
5970
|
+
/**
|
|
5971
|
+
* Custom type checker for named flyout sizes since the prop
|
|
5972
|
+
* `size` can also be CSSProperties['width'] (string | number)
|
|
5973
|
+
*/
|
|
5974
|
+
export function isEuiFlyoutSizeNamed(value: unknown): value is EuiFlyoutSize;
|
|
5975
|
+
|
|
5976
|
+
}
|
|
5977
|
+
declare module '@elastic/eui/src/components/flyout/flyout.styles' {
|
|
5978
|
+
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/const';
|
|
5979
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5980
|
+
export const FLYOUT_BREAKPOINT: "m";
|
|
5981
|
+
export const euiFlyoutSlideInRight: import("@emotion/serialize").Keyframes;
|
|
5982
|
+
export const euiFlyoutSlideInLeft: import("@emotion/serialize").Keyframes;
|
|
5983
|
+
export const euiFlyoutStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5984
|
+
euiFlyout: import("@emotion/react").SerializedStyles;
|
|
5985
|
+
s: import("@emotion/react").SerializedStyles;
|
|
5986
|
+
m: import("@emotion/react").SerializedStyles;
|
|
5987
|
+
l: import("@emotion/react").SerializedStyles;
|
|
5988
|
+
fill: import("@emotion/react").SerializedStyles;
|
|
5989
|
+
noMaxWidth: import("@emotion/react").SerializedStyles;
|
|
5990
|
+
right: import("@emotion/react").SerializedStyles;
|
|
5991
|
+
left: import("@emotion/react").SerializedStyles;
|
|
5992
|
+
overlay: {
|
|
5993
|
+
overlay: import("@emotion/react").SerializedStyles;
|
|
5994
|
+
left: import("@emotion/react").SerializedStyles;
|
|
5995
|
+
right: import("@emotion/react").SerializedStyles;
|
|
5996
|
+
};
|
|
5997
|
+
push: {
|
|
5998
|
+
push: import("@emotion/react").SerializedStyles;
|
|
5999
|
+
right: import("@emotion/react").SerializedStyles;
|
|
6000
|
+
left: import("@emotion/react").SerializedStyles;
|
|
6001
|
+
noAnimation: import("@emotion/react").SerializedStyles;
|
|
6002
|
+
};
|
|
6003
|
+
paddingSizes: {
|
|
6004
|
+
none: import("@emotion/react").SerializedStyles;
|
|
6005
|
+
s: import("@emotion/react").SerializedStyles;
|
|
6006
|
+
m: import("@emotion/react").SerializedStyles;
|
|
6007
|
+
l: import("@emotion/react").SerializedStyles;
|
|
6008
|
+
};
|
|
6009
|
+
};
|
|
6010
|
+
export const maxedFlyoutWidth: (euiThemeContext: UseEuiTheme) => string;
|
|
6011
|
+
export const composeFlyoutSizing: (euiThemeContext: UseEuiTheme, size: EuiFlyoutSize) => string;
|
|
6012
|
+
/**
|
|
6013
|
+
* Composes all inline styles for a flyout based on its configuration
|
|
6014
|
+
*/
|
|
6015
|
+
export const composeFlyoutInlineStyles: (size: EuiFlyoutSize | string | number, layoutMode: "side-by-side" | "stacked", siblingFlyoutId: string | null, siblingFlyoutWidth: number | null, maxWidth: boolean | number | string | undefined) => React.CSSProperties;
|
|
6016
|
+
|
|
6017
|
+
}
|
|
6018
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_managed.styles' {
|
|
6019
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
6020
|
+
import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/const';
|
|
6021
|
+
import { EuiFlyoutActivityStage } from '@elastic/eui/src/components/flyout/manager/types';
|
|
6022
|
+
/**
|
|
6023
|
+
* Emotion styles for managed flyouts.
|
|
6024
|
+
* Provides base 3D context and animations tied to managed flyout stages
|
|
6025
|
+
* via data attributes.
|
|
6026
|
+
*/
|
|
6027
|
+
export const euiManagedFlyoutStyles: (euiThemeContext: UseEuiTheme) => {
|
|
6028
|
+
stage: (activeStage: EuiFlyoutActivityStage, side?: _EuiFlyoutSide) => import("@emotion/react").SerializedStyles[];
|
|
6029
|
+
managedFlyout: import("@emotion/react").SerializedStyles;
|
|
6030
|
+
};
|
|
6031
|
+
|
|
6032
|
+
}
|
|
6033
|
+
declare module '@elastic/eui/src/components/flyout/flyout_menu_context' {
|
|
6034
|
+
import { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout';
|
|
6035
|
+
interface EuiFlyoutMenuContextProps {
|
|
6036
|
+
onClose?: EuiFlyoutProps['onClose'];
|
|
6037
|
+
}
|
|
6038
|
+
export const EuiFlyoutMenuContext: import("react").Context<EuiFlyoutMenuContextProps>;
|
|
6039
|
+
export {};
|
|
6040
|
+
|
|
6041
|
+
}
|
|
6042
|
+
declare module '@elastic/eui/src/components/flyout/manager/validation' {
|
|
6043
|
+
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/const';
|
|
6044
|
+
import { EuiFlyoutComponentProps } from '@elastic/eui/src/components/flyout/flyout.component';
|
|
6045
|
+
import { EuiFlyoutLevel } from '@elastic/eui/src/components/flyout/manager/types';
|
|
6046
|
+
/**
|
|
6047
|
+
* Business rules for flyout sizes:
|
|
6048
|
+
* - Managed flyouts should only accept "named" sizes (s, m, l, fill)
|
|
6049
|
+
* - Parent and child can't both be 'm'
|
|
6050
|
+
* - Parent and child can't both be 'fill'
|
|
6051
|
+
* - Parent can't be 'l' if there is a child
|
|
6052
|
+
*/
|
|
6053
|
+
export interface FlyoutSizeValidationError {
|
|
6054
|
+
type: 'INVALID_SIZE_TYPE' | 'INVALID_SIZE_COMBINATION';
|
|
6055
|
+
message: string;
|
|
6056
|
+
flyoutId?: string;
|
|
6057
|
+
level?: EuiFlyoutLevel;
|
|
6058
|
+
size?: string;
|
|
6059
|
+
}
|
|
6060
|
+
/**
|
|
6061
|
+
* Checks if a size is a named size (s, m, l)
|
|
6062
|
+
*/
|
|
6063
|
+
export function isNamedSize(size: unknown): size is EuiFlyoutSize;
|
|
6064
|
+
/**
|
|
6065
|
+
* Validates that a managed flyout only uses named sizes
|
|
6066
|
+
*/
|
|
6067
|
+
export function validateManagedFlyoutSize(size: EuiFlyoutComponentProps['size'], flyoutId: string, level: EuiFlyoutLevel): FlyoutSizeValidationError | null;
|
|
6068
|
+
/**
|
|
6069
|
+
* Validates size combinations for parent-child flyouts
|
|
6070
|
+
*/
|
|
6071
|
+
export function validateSizeCombination(parentSize: EuiFlyoutSize, childSize: EuiFlyoutSize): FlyoutSizeValidationError | null;
|
|
6072
|
+
/**
|
|
6073
|
+
* Comprehensive validation for flyout size rules
|
|
6074
|
+
*/
|
|
6075
|
+
export function validateFlyoutSize(size: EuiFlyoutComponentProps['size'], flyoutId: string, level: EuiFlyoutLevel, parentSize?: EuiFlyoutSize): FlyoutSizeValidationError | null;
|
|
6076
|
+
/**
|
|
6077
|
+
* Creates a user-friendly error message for validation errors
|
|
6078
|
+
*/
|
|
6079
|
+
export function createValidationErrorMessage(error: FlyoutSizeValidationError): string;
|
|
6080
|
+
|
|
6081
|
+
}
|
|
6082
|
+
declare module '@elastic/eui/src/components/flyout/manager/activity_stage' {
|
|
6083
|
+
import type { EuiFlyoutActivityStage, EuiFlyoutLevel } from '@elastic/eui/src/components/flyout/manager/types';
|
|
6084
|
+
export interface UseFlyoutActivityStageParams {
|
|
6085
|
+
flyoutId: string;
|
|
6086
|
+
level: EuiFlyoutLevel;
|
|
6087
|
+
}
|
|
6088
|
+
export interface UseFlyoutActivityStageReturn {
|
|
6089
|
+
activityStage: EuiFlyoutActivityStage;
|
|
6090
|
+
onAnimationEnd: () => void;
|
|
6091
|
+
}
|
|
6092
|
+
/**
|
|
6093
|
+
* Encapsulates all activity-stage transitions and animation-driven updates
|
|
6094
|
+
* for managed flyouts.
|
|
6095
|
+
*/
|
|
6096
|
+
export const useFlyoutActivityStage: ({ flyoutId, level, }: UseFlyoutActivityStageParams) => {
|
|
6097
|
+
activityStage: EuiFlyoutActivityStage;
|
|
6098
|
+
onAnimationEnd: () => void;
|
|
6099
|
+
};
|
|
6100
|
+
|
|
6101
|
+
}
|
|
6102
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_managed' {
|
|
6103
|
+
import React from 'react';
|
|
6104
|
+
import { EuiFlyoutComponentProps } from '@elastic/eui/src/components/flyout/flyout.component';
|
|
6105
|
+
import { EuiFlyoutLevel } from '@elastic/eui/src/components/flyout/manager/types';
|
|
6106
|
+
/**
|
|
6107
|
+
* Props for `EuiManagedFlyout`, the internal persistent flyout used by
|
|
6108
|
+
* the manager. Extends base flyout props and requires a `level` to
|
|
6109
|
+
* distinguish `main` vs `child` behavior.
|
|
6110
|
+
*/
|
|
6111
|
+
export interface EuiManagedFlyoutProps extends EuiFlyoutComponentProps {
|
|
6112
|
+
level: EuiFlyoutLevel;
|
|
6113
|
+
}
|
|
6114
|
+
/**
|
|
6115
|
+
* Persistent managed flyout rendered inside the provider. Handles:
|
|
6116
|
+
* - registration/unregistration with the manager
|
|
6117
|
+
* - size validation and parent/child size compatibility
|
|
6118
|
+
* - width tracking for responsive layouts
|
|
6119
|
+
* - lifecycle stage transitions and data attributes for styling
|
|
6120
|
+
*/
|
|
6121
|
+
export const EuiManagedFlyout: ({ id, onClose: onCloseProp, level, size, css: customCss, ...props }: EuiManagedFlyoutProps) => React.JSX.Element;
|
|
6122
|
+
|
|
6123
|
+
}
|
|
6124
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_child' {
|
|
6125
|
+
import React from 'react';
|
|
6126
|
+
import { type EuiManagedFlyoutProps } from '@elastic/eui/src/components/flyout/manager/flyout_managed';
|
|
6127
|
+
/**
|
|
6128
|
+
* Props for `EuiFlyoutChild`, a managed child flyout that pairs with a main flyout.
|
|
6129
|
+
*
|
|
6130
|
+
* Notes:
|
|
6131
|
+
* - `type`, `side`, and `level` are fixed by the component and thus omitted.
|
|
6132
|
+
* - `backgroundStyle` toggles between default and shaded backgrounds.
|
|
6133
|
+
*/
|
|
6134
|
+
export interface EuiFlyoutChildProps extends Omit<EuiManagedFlyoutProps, 'closeButtonPosition' | 'hideCloseButton' | 'type' | 'level'> {
|
|
6135
|
+
backgroundStyle?: 'default' | 'shaded';
|
|
6136
|
+
}
|
|
6137
|
+
/**
|
|
6138
|
+
* Managed child flyout that renders alongside or stacked over the main flyout,
|
|
6139
|
+
* depending on the current layout mode. Handles background styling and required
|
|
6140
|
+
* managed flyout props.
|
|
6141
|
+
*/
|
|
6142
|
+
export function EuiFlyoutChild({ css: customCss, backgroundStyle, side, ...props }: EuiFlyoutChildProps): React.JSX.Element | null;
|
|
6143
|
+
|
|
6144
|
+
}
|
|
6145
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_main.styles' {
|
|
6146
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
6147
|
+
/**
|
|
6148
|
+
* Emotion styles for the main (parent) managed flyout.
|
|
6149
|
+
* Adds subtle borders when a child flyout is present, depending on side.
|
|
6150
|
+
*
|
|
6151
|
+
* Returns an object with:
|
|
6152
|
+
* - `hasChildFlyout.left` and `.right`: border styles to separate from child.
|
|
6153
|
+
*/
|
|
6154
|
+
export const euiMainFlyoutStyles: (euiThemeContext: UseEuiTheme) => {
|
|
6155
|
+
hasChildFlyout: {
|
|
6156
|
+
left: import("@emotion/react").SerializedStyles;
|
|
6157
|
+
right: import("@emotion/react").SerializedStyles;
|
|
6158
|
+
};
|
|
6159
|
+
};
|
|
6160
|
+
|
|
6161
|
+
}
|
|
6162
|
+
declare module '@elastic/eui/src/components/flyout/hooks' {
|
|
6163
|
+
import { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout';
|
|
6164
|
+
/**
|
|
6165
|
+
* Determines if a flyout should be rendered in a "pushed" state based on its
|
|
6166
|
+
* configuration and the current window size.
|
|
6167
|
+
*/
|
|
6168
|
+
export const useIsPushed: (props: Pick<EuiFlyoutProps, "type" | "pushMinBreakpoint">) => boolean;
|
|
6169
|
+
|
|
6170
|
+
}
|
|
6171
|
+
declare module '@elastic/eui/src/components/flyout/manager/flyout_main' {
|
|
6172
|
+
import React from 'react';
|
|
6173
|
+
import { type EuiManagedFlyoutProps } from '@elastic/eui/src/components/flyout/manager/flyout_managed';
|
|
6174
|
+
/**
|
|
6175
|
+
* Props for `EuiFlyoutMain`, the primary managed flyout component.
|
|
6176
|
+
* The `level` prop is fixed internally to `main` and is therefore omitted.
|
|
6177
|
+
*/
|
|
6178
|
+
export type EuiFlyoutMainProps = Omit<EuiManagedFlyoutProps, 'level'>;
|
|
6179
|
+
/**
|
|
6180
|
+
* Managed main flyout. Handles ID management, child-flyout styling,
|
|
6181
|
+
* and push/overlay behavior based on provided props.
|
|
6182
|
+
*/
|
|
6183
|
+
export function EuiFlyoutMain({ id, pushMinBreakpoint, type, side, ...props }: EuiFlyoutMainProps): React.JSX.Element;
|
|
6184
|
+
|
|
6185
|
+
}
|
|
6186
|
+
declare module '@elastic/eui/src/components/flyout/manager' {
|
|
6187
|
+
/**
|
|
6188
|
+
* Convenience re-exports of bound action creators for external usage.
|
|
6189
|
+
*/
|
|
6190
|
+
export { addFlyout as addFlyoutAction, closeFlyout as closeFlyoutAction, setActiveFlyout as setActiveFlyoutAction, setFlyoutWidth as setFlyoutWidthAction, setActivityStage as setActivityStageAction, } from '@elastic/eui/src/components/flyout/manager/actions';
|
|
6191
|
+
/** Reducer and default state for the flyout manager. */
|
|
6192
|
+
export { flyoutManagerReducer, initialState } from '@elastic/eui/src/components/flyout/manager/reducer';
|
|
6193
|
+
/** Provider component exposing the Flyout Manager API via context. */
|
|
6194
|
+
export { EuiFlyoutManager } from '@elastic/eui/src/components/flyout/manager/provider';
|
|
6195
|
+
/**
|
|
6196
|
+
* Hooks for reading manager state and derived information.
|
|
6197
|
+
*/
|
|
6198
|
+
/**
|
|
6199
|
+
* Selectors and derived state hooks for managed flyouts.
|
|
6200
|
+
*/
|
|
6201
|
+
export { useCurrentChildFlyout, useCurrentMainFlyout, useCurrentSession, useFlyoutId, useFlyoutLayoutMode, useFlyoutManager, useFlyoutWidth, useHasChildFlyout, useIsFlyoutActive, useIsInManagedFlyout, useHasActiveSession, useParentFlyoutSize, } from '@elastic/eui/src/components/flyout/manager/hooks';
|
|
6202
|
+
export { EuiFlyoutChild, type EuiFlyoutChildProps } from '@elastic/eui/src/components/flyout/manager/flyout_child';
|
|
6203
|
+
export { EuiFlyoutMain, type EuiFlyoutMainProps } from '@elastic/eui/src/components/flyout/manager/flyout_main';
|
|
6204
|
+
/** Utility functions for flyout sizing and layout. */
|
|
6205
|
+
export { getWidthFromSize } from '@elastic/eui/src/components/flyout/manager/layout_mode';
|
|
6206
|
+
|
|
5583
6207
|
}
|
|
5584
6208
|
declare module '@elastic/eui/src/components/overlay_mask/overlay_mask.styles' {
|
|
5585
6209
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -5587,6 +6211,7 @@ declare module '@elastic/eui/src/components/overlay_mask/overlay_mask.styles' {
|
|
|
5587
6211
|
euiOverlayMask: string;
|
|
5588
6212
|
aboveHeader: string;
|
|
5589
6213
|
belowHeader: string;
|
|
6214
|
+
noAnimation: string;
|
|
5590
6215
|
};
|
|
5591
6216
|
|
|
5592
6217
|
}
|
|
@@ -5619,42 +6244,6 @@ declare module '@elastic/eui/src/components/overlay_mask' {
|
|
|
5619
6244
|
export type { EuiOverlayMaskProps } from '@elastic/eui/src/components/overlay_mask/overlay_mask';
|
|
5620
6245
|
export { EuiOverlayMask } from '@elastic/eui/src/components/overlay_mask/overlay_mask';
|
|
5621
6246
|
|
|
5622
|
-
}
|
|
5623
|
-
declare module '@elastic/eui/src/components/flyout/flyout.styles' {
|
|
5624
|
-
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
5625
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5626
|
-
export const FLYOUT_BREAKPOINT: "m";
|
|
5627
|
-
export const euiFlyoutSlideInRight: import("@emotion/serialize").Keyframes;
|
|
5628
|
-
export const euiFlyoutSlideInLeft: import("@emotion/serialize").Keyframes;
|
|
5629
|
-
export const euiFlyoutStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5630
|
-
euiFlyout: import("@emotion/react").SerializedStyles;
|
|
5631
|
-
s: import("@emotion/react").SerializedStyles;
|
|
5632
|
-
m: import("@emotion/react").SerializedStyles;
|
|
5633
|
-
l: import("@emotion/react").SerializedStyles;
|
|
5634
|
-
noMaxWidth: import("@emotion/react").SerializedStyles;
|
|
5635
|
-
right: import("@emotion/react").SerializedStyles;
|
|
5636
|
-
left: import("@emotion/react").SerializedStyles;
|
|
5637
|
-
overlay: {
|
|
5638
|
-
overlay: import("@emotion/react").SerializedStyles;
|
|
5639
|
-
left: import("@emotion/react").SerializedStyles;
|
|
5640
|
-
right: import("@emotion/react").SerializedStyles;
|
|
5641
|
-
};
|
|
5642
|
-
push: {
|
|
5643
|
-
push: import("@emotion/react").SerializedStyles;
|
|
5644
|
-
right: import("@emotion/react").SerializedStyles;
|
|
5645
|
-
left: import("@emotion/react").SerializedStyles;
|
|
5646
|
-
noAnimation: import("@emotion/react").SerializedStyles;
|
|
5647
|
-
};
|
|
5648
|
-
paddingSizes: {
|
|
5649
|
-
none: import("@emotion/react").SerializedStyles;
|
|
5650
|
-
s: import("@emotion/react").SerializedStyles;
|
|
5651
|
-
m: import("@emotion/react").SerializedStyles;
|
|
5652
|
-
l: import("@emotion/react").SerializedStyles;
|
|
5653
|
-
};
|
|
5654
|
-
};
|
|
5655
|
-
export const maxedFlyoutWidth: (euiThemeContext: UseEuiTheme) => string;
|
|
5656
|
-
export const composeFlyoutSizing: (euiThemeContext: UseEuiTheme, size: EuiFlyoutSize) => string;
|
|
5657
|
-
|
|
5658
6247
|
}
|
|
5659
6248
|
declare module '@elastic/eui/src/components/flyout/_flyout_close_button.styles' {
|
|
5660
6249
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -5677,161 +6266,15 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
|
|
|
5677
6266
|
export {};
|
|
5678
6267
|
|
|
5679
6268
|
}
|
|
5680
|
-
declare module '@elastic/eui/src/components/flyout/
|
|
5681
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5682
|
-
export const euiFlyoutChildStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5683
|
-
euiFlyoutChild: import("@emotion/react").SerializedStyles;
|
|
5684
|
-
backgroundDefault: import("@emotion/react").SerializedStyles;
|
|
5685
|
-
backgroundShaded: import("@emotion/react").SerializedStyles;
|
|
5686
|
-
sidePosition: import("@emotion/react").SerializedStyles;
|
|
5687
|
-
stackedPosition: import("@emotion/react").SerializedStyles;
|
|
5688
|
-
s: import("@emotion/react").SerializedStyles;
|
|
5689
|
-
m: import("@emotion/react").SerializedStyles;
|
|
5690
|
-
overflow: {
|
|
5691
|
-
overflow: import("@emotion/react").SerializedStyles;
|
|
5692
|
-
wrapper: import("@emotion/react").SerializedStyles;
|
|
5693
|
-
};
|
|
5694
|
-
banner: import("@emotion/react").SerializedStyles;
|
|
5695
|
-
};
|
|
5696
|
-
|
|
5697
|
-
}
|
|
5698
|
-
declare module '@elastic/eui/src/components/flyout/flyout_context' {
|
|
5699
|
-
import { RefObject } from 'react';
|
|
5700
|
-
import { EuiFlyoutSize } from '@elastic/eui/src/components/flyout/flyout';
|
|
5701
|
-
/**
|
|
5702
|
-
* Context shared between the main and child flyouts
|
|
5703
|
-
* @internal
|
|
5704
|
-
*/
|
|
5705
|
-
export interface EuiFlyoutContextValue {
|
|
5706
|
-
parentSize?: EuiFlyoutSize | string | number;
|
|
5707
|
-
parentFlyoutRef?: RefObject<HTMLDivElement>;
|
|
5708
|
-
isChildFlyoutOpen?: boolean;
|
|
5709
|
-
setIsChildFlyoutOpen?: (isOpen: boolean) => void;
|
|
5710
|
-
childLayoutMode?: 'side-by-side' | 'stacked';
|
|
5711
|
-
}
|
|
5712
|
-
export const EuiFlyoutContext: import("react").Context<EuiFlyoutContextValue | null>;
|
|
5713
|
-
|
|
5714
|
-
}
|
|
5715
|
-
declare module '@elastic/eui/src/components/flyout/flyout_body.styles' {
|
|
5716
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5717
|
-
export const euiFlyoutBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5718
|
-
euiFlyoutBody: import("@emotion/react").SerializedStyles;
|
|
5719
|
-
overflow: {
|
|
5720
|
-
euiFlyoutBody__overflow: import("@emotion/react").SerializedStyles;
|
|
5721
|
-
noBanner: import("@emotion/react").SerializedStyles;
|
|
5722
|
-
hasBanner: import("@emotion/react").SerializedStyles;
|
|
5723
|
-
};
|
|
5724
|
-
euiFlyoutBody__banner: import("@emotion/react").SerializedStyles;
|
|
5725
|
-
};
|
|
5726
|
-
|
|
5727
|
-
}
|
|
5728
|
-
declare module '@elastic/eui/src/components/flyout/flyout_body' {
|
|
5729
|
-
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
5730
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5731
|
-
export type EuiFlyoutBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
5732
|
-
/**
|
|
5733
|
-
* Use to display a banner at the top of the body. It is suggested to use `EuiCallOut` for it.
|
|
5734
|
-
*/
|
|
5735
|
-
banner?: ReactNode;
|
|
5736
|
-
/**
|
|
5737
|
-
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
5738
|
-
* to allow keyboard users to scroll the region via arrow keys.
|
|
5739
|
-
*
|
|
5740
|
-
* By default, EuiFlyoutBody's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
5741
|
-
* If you know your flyout body content already contains focusable children
|
|
5742
|
-
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
5743
|
-
* to override this default.
|
|
5744
|
-
*/
|
|
5745
|
-
scrollableTabIndex?: number;
|
|
5746
|
-
}>;
|
|
5747
|
-
export const EuiFlyoutBody: EuiFlyoutBodyProps;
|
|
5748
|
-
|
|
5749
|
-
}
|
|
5750
|
-
declare module '@elastic/eui/src/components/flyout/flyout_child' {
|
|
5751
|
-
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
5752
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5753
|
-
/**
|
|
5754
|
-
* Props used to render and configure the child flyout panel
|
|
5755
|
-
*/
|
|
5756
|
-
export interface EuiFlyoutChildProps extends HTMLAttributes<HTMLDivElement>, CommonProps {
|
|
5757
|
-
/**
|
|
5758
|
-
* Called when the child panel's close button is clicked
|
|
5759
|
-
*/
|
|
5760
|
-
onClose: (event: MouseEvent | TouchEvent | KeyboardEvent) => void;
|
|
5761
|
-
/**
|
|
5762
|
-
* Use to display a banner at the top of the child. It is suggested to use `EuiCallOut` for it.
|
|
5763
|
-
*/
|
|
5764
|
-
banner?: ReactNode;
|
|
5765
|
-
/**
|
|
5766
|
-
* Hides the default close button. You must provide another close button somewhere within the child flyout.
|
|
5767
|
-
* @default false
|
|
5768
|
-
*/
|
|
5769
|
-
hideCloseButton?: boolean;
|
|
5770
|
-
/**
|
|
5771
|
-
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
5772
|
-
* to allow keyboard users to scroll the region via arrow keys.
|
|
5773
|
-
*
|
|
5774
|
-
* By default, EuiFlyoutChild's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
5775
|
-
* If you know your flyout child content already contains focusable children
|
|
5776
|
-
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
5777
|
-
* to override this default.
|
|
5778
|
-
*/
|
|
5779
|
-
scrollableTabIndex?: number;
|
|
5780
|
-
/**
|
|
5781
|
-
* Size of the child flyout panel.
|
|
5782
|
-
* When the parent flyout is 'm', child is limited to 's'.
|
|
5783
|
-
* @default 's'
|
|
5784
|
-
*/
|
|
5785
|
-
size?: 's' | 'm';
|
|
5786
|
-
backgroundStyle?: 'shaded' | 'default';
|
|
5787
|
-
/**
|
|
5788
|
-
* Children are implicitly part of FunctionComponent, but good to have if props type is standalone.
|
|
5789
|
-
*/
|
|
5790
|
-
children?: ReactNode;
|
|
5791
|
-
}
|
|
5792
|
-
/**
|
|
5793
|
-
* The child flyout is a panel that appears to the left of the parent flyout.
|
|
5794
|
-
* It is only visible when the parent flyout is open.
|
|
5795
|
-
*/
|
|
5796
|
-
export const EuiFlyoutChild: FunctionComponent<EuiFlyoutChildProps>;
|
|
5797
|
-
|
|
5798
|
-
}
|
|
5799
|
-
declare module '@elastic/eui/src/components/flyout/flyout_child_manager' {
|
|
5800
|
-
import React, { ComponentProps, FunctionComponent, ReactNode } from 'react';
|
|
5801
|
-
import { EuiFlyoutChild } from '@elastic/eui/src/components/flyout/flyout_child';
|
|
5802
|
-
interface EuiFlyoutChildProviderProps {
|
|
5803
|
-
parentSize: 's' | 'm';
|
|
5804
|
-
parentFlyoutRef: React.RefObject<HTMLDivElement>;
|
|
5805
|
-
childElement: React.ReactElement<ComponentProps<typeof EuiFlyoutChild>>;
|
|
5806
|
-
childrenToRender: ReactNode;
|
|
5807
|
-
reportIsChildOpen: (isOpen: boolean) => void;
|
|
5808
|
-
reportChildLayoutMode: (mode: 'side-by-side' | 'stacked') => void;
|
|
5809
|
-
}
|
|
5810
|
-
/**
|
|
5811
|
-
* An intermediate component between EuiFlyout and EuiFlyoutChild.
|
|
5812
|
-
* It is responsible for managing the state of the child flyout, and passing it to EuiFlyoutContext.
|
|
5813
|
-
* It removes the responsibility of managing child flyout state from EuiFlyout, which is especially important there might not be a child flyout.
|
|
5814
|
-
*/
|
|
5815
|
-
export const EuiFlyoutChildProvider: FunctionComponent<EuiFlyoutChildProviderProps>;
|
|
5816
|
-
export {};
|
|
5817
|
-
|
|
5818
|
-
}
|
|
5819
|
-
declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
6269
|
+
declare module '@elastic/eui/src/components/flyout/flyout.component' {
|
|
5820
6270
|
import { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
|
|
5821
6271
|
import { EuiBreakpointSize } from '@elastic/eui/src/services';
|
|
5822
6272
|
import { CommonProps, PropsOfElement } from '@elastic/eui/src/components/common';
|
|
5823
6273
|
import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
|
|
5824
6274
|
import { EuiOverlayMaskProps } from '@elastic/eui/src/components/overlay_mask';
|
|
5825
6275
|
import type { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
export const SIDES: readonly ["left", "right"];
|
|
5829
|
-
export type _EuiFlyoutSide = (typeof SIDES)[number];
|
|
5830
|
-
export const SIZES: readonly ["s", "m", "l"];
|
|
5831
|
-
export type EuiFlyoutSize = (typeof SIZES)[number];
|
|
5832
|
-
export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
|
|
5833
|
-
export type _EuiFlyoutPaddingSize = (typeof PADDING_SIZES)[number];
|
|
5834
|
-
interface _EuiFlyoutProps {
|
|
6276
|
+
import { _EuiFlyoutPaddingSize, _EuiFlyoutSide, _EuiFlyoutType, EuiFlyoutSize } from '@elastic/eui/src/components/flyout/const';
|
|
6277
|
+
interface _EuiFlyoutComponentProps {
|
|
5835
6278
|
onClose: (event: MouseEvent | TouchEvent | KeyboardEvent) => void;
|
|
5836
6279
|
/**
|
|
5837
6280
|
* Defines the width of the panel.
|
|
@@ -5925,17 +6368,64 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
5925
6368
|
* Specify additional css selectors to include in the focus trap.
|
|
5926
6369
|
*/
|
|
5927
6370
|
includeSelectorInFocusTrap?: string[] | string;
|
|
5928
|
-
}
|
|
6371
|
+
}
|
|
5929
6372
|
type Props<T extends ElementType> = CommonProps & {
|
|
5930
6373
|
/**
|
|
5931
6374
|
* Sets the HTML element for `EuiFlyout`
|
|
5932
6375
|
*/
|
|
5933
6376
|
as?: T;
|
|
5934
|
-
} &
|
|
5935
|
-
export type
|
|
5936
|
-
export const
|
|
6377
|
+
} & _EuiFlyoutComponentProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutComponentProps>;
|
|
6378
|
+
export type EuiFlyoutComponentProps<T extends ElementType = 'div' | 'nav'> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
|
|
6379
|
+
export const EuiFlyoutComponent: <T extends ElementType = "div" | "nav">(props: EuiFlyoutComponentProps<T>) => JSX.Element;
|
|
5937
6380
|
export {};
|
|
5938
6381
|
|
|
6382
|
+
}
|
|
6383
|
+
declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
6384
|
+
import React, { ElementType } from 'react';
|
|
6385
|
+
import { type EuiFlyoutComponentProps } from '@elastic/eui/src/components/flyout/flyout.component';
|
|
6386
|
+
export type { EuiFlyoutSize, _EuiFlyoutPaddingSize, _EuiFlyoutSide, } from '@elastic/eui/src/components/flyout/const';
|
|
6387
|
+
export { FLYOUT_SIDES, FLYOUT_PADDING_SIZES, FLYOUT_SIZES, FLYOUT_TYPES, } from '@elastic/eui/src/components/flyout/const';
|
|
6388
|
+
export type EuiFlyoutProps<T extends ElementType = 'div' | 'nav'> = Omit<EuiFlyoutComponentProps<T>, 'as'> & {
|
|
6389
|
+
session?: boolean;
|
|
6390
|
+
as?: T;
|
|
6391
|
+
};
|
|
6392
|
+
export const EuiFlyout: React.ForwardRefExoticComponent<Omit<EuiFlyoutProps<"div" | "nav">, "ref"> & React.RefAttributes<HTMLElement | HTMLDivElement>>;
|
|
6393
|
+
|
|
6394
|
+
}
|
|
6395
|
+
declare module '@elastic/eui/src/components/flyout/flyout_body.styles' {
|
|
6396
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
6397
|
+
export const euiFlyoutBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
6398
|
+
euiFlyoutBody: import("@emotion/react").SerializedStyles;
|
|
6399
|
+
overflow: {
|
|
6400
|
+
euiFlyoutBody__overflow: import("@emotion/react").SerializedStyles;
|
|
6401
|
+
noBanner: import("@emotion/react").SerializedStyles;
|
|
6402
|
+
hasBanner: import("@emotion/react").SerializedStyles;
|
|
6403
|
+
};
|
|
6404
|
+
euiFlyoutBody__banner: import("@emotion/react").SerializedStyles;
|
|
6405
|
+
};
|
|
6406
|
+
|
|
6407
|
+
}
|
|
6408
|
+
declare module '@elastic/eui/src/components/flyout/flyout_body' {
|
|
6409
|
+
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
6410
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
6411
|
+
export type EuiFlyoutBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
6412
|
+
/**
|
|
6413
|
+
* Use to display a banner at the top of the body. It is suggested to use `EuiCallOut` for it.
|
|
6414
|
+
*/
|
|
6415
|
+
banner?: ReactNode;
|
|
6416
|
+
/**
|
|
6417
|
+
* [Scrollable regions (or their children) should be focusable](https://dequeuniversity.com/rules/axe/4.0/scrollable-region-focusable)
|
|
6418
|
+
* to allow keyboard users to scroll the region via arrow keys.
|
|
6419
|
+
*
|
|
6420
|
+
* By default, EuiFlyoutBody's scroll overflow wrapper sets a `tabIndex` of `0`.
|
|
6421
|
+
* If you know your flyout body content already contains focusable children
|
|
6422
|
+
* that satisfy keyboard accessibility requirements, you can use this prop
|
|
6423
|
+
* to override this default.
|
|
6424
|
+
*/
|
|
6425
|
+
scrollableTabIndex?: number;
|
|
6426
|
+
}>;
|
|
6427
|
+
export const EuiFlyoutBody: EuiFlyoutBodyProps;
|
|
6428
|
+
|
|
5939
6429
|
}
|
|
5940
6430
|
declare module '@elastic/eui/src/components/flyout/flyout_footer.styles' {
|
|
5941
6431
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -6254,7 +6744,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
6254
6744
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
6255
6745
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
6256
6746
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
6257
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
6747
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
|
|
6258
6748
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
6259
6749
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
6260
6750
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6662,179 +7152,29 @@ declare module '@elastic/eui/src/components/flyout/flyout_resizable' {
|
|
|
6662
7152
|
export const EuiFlyoutResizable: React.ForwardRefExoticComponent<Omit<EuiFlyoutResizableProps, "ref"> & React.RefAttributes<unknown>>;
|
|
6663
7153
|
|
|
6664
7154
|
}
|
|
6665
|
-
declare module '@elastic/eui/src/components/
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
/**
|
|
6669
|
-
* Configuration used for setting display options for main and child flyouts in a session.
|
|
6670
|
-
*/
|
|
6671
|
-
export interface EuiFlyoutSessionConfig {
|
|
6672
|
-
mainSize: EuiFlyoutSize;
|
|
6673
|
-
childSize?: 's' | 'm';
|
|
6674
|
-
mainFlyoutProps?: Partial<Omit<EuiFlyoutProps, 'children'>>;
|
|
6675
|
-
childFlyoutProps?: Partial<Omit<EuiFlyoutChildProps, 'children'>>;
|
|
6676
|
-
}
|
|
6677
|
-
/**
|
|
6678
|
-
* Options that control a main flyout in a session
|
|
6679
|
-
*/
|
|
6680
|
-
export interface EuiFlyoutSessionOpenMainOptions<Meta = unknown> {
|
|
6681
|
-
size: EuiFlyoutSize;
|
|
6682
|
-
flyoutProps?: EuiFlyoutSessionConfig['mainFlyoutProps'];
|
|
6683
|
-
/**
|
|
6684
|
-
* Caller-defined data
|
|
6685
|
-
*/
|
|
6686
|
-
meta?: Meta;
|
|
6687
|
-
}
|
|
6688
|
-
/**
|
|
6689
|
-
* Options that control a child flyout in a session
|
|
6690
|
-
*/
|
|
6691
|
-
export interface EuiFlyoutSessionOpenChildOptions<Meta = unknown> {
|
|
6692
|
-
size: 's' | 'm';
|
|
6693
|
-
flyoutProps?: EuiFlyoutSessionConfig['childFlyoutProps'];
|
|
6694
|
-
/**
|
|
6695
|
-
* Caller-defined data
|
|
6696
|
-
*/
|
|
6697
|
-
meta?: Meta;
|
|
6698
|
-
}
|
|
6699
|
-
/**
|
|
6700
|
-
* Options for opening both a main flyout and child flyout simultaneously
|
|
6701
|
-
*/
|
|
6702
|
-
export interface EuiFlyoutSessionOpenGroupOptions<Meta = unknown> {
|
|
6703
|
-
main: EuiFlyoutSessionOpenMainOptions;
|
|
6704
|
-
child: EuiFlyoutSessionOpenChildOptions;
|
|
6705
|
-
/**
|
|
6706
|
-
* Caller-defined data
|
|
6707
|
-
*/
|
|
6708
|
-
meta?: Meta;
|
|
6709
|
-
}
|
|
6710
|
-
/**
|
|
6711
|
-
* A configuration user state for past and current main and child flyouts in a session
|
|
6712
|
-
* @internal
|
|
6713
|
-
*/
|
|
6714
|
-
export interface EuiFlyoutSessionGroup<FlyoutMeta> {
|
|
6715
|
-
isMainOpen: boolean;
|
|
6716
|
-
isChildOpen: boolean;
|
|
6717
|
-
config: EuiFlyoutSessionConfig;
|
|
6718
|
-
/**
|
|
6719
|
-
* Caller-defined data
|
|
6720
|
-
*/
|
|
6721
|
-
meta?: FlyoutMeta;
|
|
6722
|
-
}
|
|
6723
|
-
/**
|
|
6724
|
-
* State used for tracking various EuiFlyoutSessionGroups
|
|
6725
|
-
* @internal
|
|
6726
|
-
*/
|
|
6727
|
-
export interface EuiFlyoutSessionHistoryState<FlyoutMeta = unknown> {
|
|
6728
|
-
activeFlyoutGroup: EuiFlyoutSessionGroup<FlyoutMeta> | null;
|
|
6729
|
-
history: Array<EuiFlyoutSessionGroup<FlyoutMeta>>;
|
|
6730
|
-
}
|
|
6731
|
-
export type EuiFlyoutSessionAction<FlyoutMeta = unknown> = {
|
|
6732
|
-
type: 'UPDATE_ACTIVE_FLYOUT_CONFIG';
|
|
6733
|
-
payload: {
|
|
6734
|
-
configChanges: Partial<EuiFlyoutSessionConfig>;
|
|
6735
|
-
};
|
|
6736
|
-
} | {
|
|
6737
|
-
type: 'OPEN_MAIN_FLYOUT';
|
|
6738
|
-
payload: EuiFlyoutSessionOpenMainOptions<FlyoutMeta>;
|
|
6739
|
-
} | {
|
|
6740
|
-
type: 'OPEN_CHILD_FLYOUT';
|
|
6741
|
-
payload: EuiFlyoutSessionOpenChildOptions<FlyoutMeta>;
|
|
6742
|
-
} | {
|
|
6743
|
-
type: 'OPEN_FLYOUT_GROUP';
|
|
6744
|
-
payload: EuiFlyoutSessionOpenGroupOptions<FlyoutMeta>;
|
|
6745
|
-
} | {
|
|
6746
|
-
type: 'GO_BACK';
|
|
6747
|
-
} | {
|
|
6748
|
-
type: 'CLOSE_CHILD_FLYOUT';
|
|
6749
|
-
} | {
|
|
6750
|
-
type: 'CLOSE_SESSION';
|
|
6751
|
-
};
|
|
6752
|
-
/**
|
|
6753
|
-
* Flyout session context managed by `EuiFlyoutSessionProvider`, and passed to the `renderMainFlyoutContent` and `renderChildFlyoutContent` functions.
|
|
6754
|
-
*/
|
|
6755
|
-
export interface EuiFlyoutSessionRenderContext<FlyoutMeta = unknown> {
|
|
6756
|
-
activeFlyoutGroup: EuiFlyoutSessionGroup<FlyoutMeta> | null;
|
|
6757
|
-
/**
|
|
6758
|
-
* Caller-defined data
|
|
6759
|
-
*/
|
|
6760
|
-
meta?: FlyoutMeta;
|
|
6761
|
-
}
|
|
6762
|
-
/**
|
|
6763
|
-
* Props that can be passed to `EuiFlyoutSessionProvider` to render the main and child flyouts in a session.
|
|
6764
|
-
*/
|
|
6765
|
-
export interface EuiFlyoutSessionProviderComponentProps<FlyoutMeta = any> {
|
|
6766
|
-
children: React.ReactNode;
|
|
6767
|
-
onUnmount?: () => void;
|
|
6768
|
-
renderMainFlyoutContent: (context: EuiFlyoutSessionRenderContext<FlyoutMeta>) => React.ReactNode;
|
|
6769
|
-
renderChildFlyoutContent?: (context: EuiFlyoutSessionRenderContext<FlyoutMeta>) => React.ReactNode;
|
|
6770
|
-
}
|
|
6771
|
-
export interface EuiFlyoutSessionApi {
|
|
6772
|
-
openFlyout: (options: EuiFlyoutSessionOpenMainOptions) => void;
|
|
6773
|
-
openChildFlyout: (options: EuiFlyoutSessionOpenChildOptions) => void;
|
|
6774
|
-
openFlyoutGroup: (options: EuiFlyoutSessionOpenGroupOptions) => void;
|
|
6775
|
-
closeChildFlyout: () => void;
|
|
6776
|
-
goBack: () => void;
|
|
6777
|
-
closeSession: () => void;
|
|
6778
|
-
isFlyoutOpen: boolean;
|
|
6779
|
-
isChildFlyoutOpen: boolean;
|
|
6780
|
-
canGoBack: boolean;
|
|
6781
|
-
}
|
|
6782
|
-
|
|
6783
|
-
}
|
|
6784
|
-
declare module '@elastic/eui/src/components/flyout/sessions/flyout_reducer' {
|
|
6785
|
-
import { EuiFlyoutSessionAction, EuiFlyoutSessionHistoryState } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
6786
|
-
/**
|
|
6787
|
-
* Initial state for the flyout session
|
|
6788
|
-
* @internal
|
|
6789
|
-
*/
|
|
6790
|
-
export const initialFlyoutState: EuiFlyoutSessionHistoryState<unknown>;
|
|
6791
|
-
/**
|
|
6792
|
-
* Flyout reducer
|
|
6793
|
-
* Controls state changes for flyout groups
|
|
6794
|
-
*/
|
|
6795
|
-
export function flyoutReducer<FlyoutMeta>(state: EuiFlyoutSessionHistoryState<FlyoutMeta>, action: EuiFlyoutSessionAction<FlyoutMeta>): EuiFlyoutSessionHistoryState<FlyoutMeta>;
|
|
6796
|
-
|
|
6797
|
-
}
|
|
6798
|
-
declare module '@elastic/eui/src/components/flyout/sessions/flyout_provider' {
|
|
6799
|
-
import React from 'react';
|
|
6800
|
-
import { EuiFlyoutSessionAction, EuiFlyoutSessionHistoryState, EuiFlyoutSessionProviderComponentProps } from '@elastic/eui/src/components/flyout/sessions/types';
|
|
6801
|
-
interface FlyoutSessionContextProps {
|
|
6802
|
-
state: EuiFlyoutSessionHistoryState;
|
|
6803
|
-
dispatch: React.Dispatch<EuiFlyoutSessionAction>;
|
|
6804
|
-
onUnmount?: EuiFlyoutSessionProviderComponentProps['onUnmount'];
|
|
6805
|
-
}
|
|
6806
|
-
/**
|
|
6807
|
-
* Accesses the state data and dispatch function from the context of EuiFlyoutSessionProvider
|
|
6808
|
-
* Use this if you need to debug the state or need direct access to the dispatch function, otherwise use useEuiFlyoutSession hook.
|
|
6809
|
-
*/
|
|
6810
|
-
export const useEuiFlyoutSessionContext: () => FlyoutSessionContextProps;
|
|
6811
|
-
/**
|
|
6812
|
-
* FlyoutProvider is a component that provides a context for Flyout components.
|
|
6813
|
-
* It is used to manage the state of the Flyout and its child.
|
|
6814
|
-
* It also renders the Flyout and FlyoutChild components.
|
|
6815
|
-
*
|
|
6816
|
-
* @param children - The children of the FlyoutProvider component.
|
|
6817
|
-
* @param renderMainFlyoutContent - A function that renders the content of the main Flyout.
|
|
6818
|
-
* @param renderChildFlyoutContent - A function that renders the content of the child Flyout.
|
|
6819
|
-
* @returns The FlyoutProvider component.
|
|
6820
|
-
*/
|
|
6821
|
-
export const EuiFlyoutSessionProvider: React.FC<EuiFlyoutSessionProviderComponentProps>;
|
|
6822
|
-
export {};
|
|
7155
|
+
declare module '@elastic/eui/src/components/title' {
|
|
7156
|
+
export type { EuiTitleProps, EuiTitleSize } from '@elastic/eui/src/components/title/title';
|
|
7157
|
+
export { EuiTitle } from '@elastic/eui/src/components/title/title';
|
|
6823
7158
|
|
|
6824
7159
|
}
|
|
6825
|
-
declare module '@elastic/eui/src/components/flyout/
|
|
6826
|
-
import
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
export function useEuiFlyoutSession(): EuiFlyoutSessionApi;
|
|
7160
|
+
declare module '@elastic/eui/src/components/flyout/flyout_menu.styles' {
|
|
7161
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
7162
|
+
export const euiFlyoutMenuStyles: (euiThemeContext: UseEuiTheme) => {
|
|
7163
|
+
euiFlyoutMenu__container: import("@emotion/react").SerializedStyles;
|
|
7164
|
+
euiFlyoutMenu__spacer: import("@emotion/react").SerializedStyles;
|
|
7165
|
+
};
|
|
6832
7166
|
|
|
6833
7167
|
}
|
|
6834
|
-
declare module '@elastic/eui/src/components/flyout/
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
export
|
|
7168
|
+
declare module '@elastic/eui/src/components/flyout/flyout_menu' {
|
|
7169
|
+
import React, { FunctionComponent, HTMLAttributes } from 'react';
|
|
7170
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
7171
|
+
export type EuiFlyoutMenuProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
7172
|
+
backButton?: React.ReactNode;
|
|
7173
|
+
popover?: React.ReactNode;
|
|
7174
|
+
title?: React.ReactNode;
|
|
7175
|
+
hideCloseButton?: boolean;
|
|
7176
|
+
};
|
|
7177
|
+
export const EuiFlyoutMenu: FunctionComponent<EuiFlyoutMenuProps>;
|
|
6838
7178
|
|
|
6839
7179
|
}
|
|
6840
7180
|
declare module '@elastic/eui/src/components/flyout' {
|
|
@@ -6849,10 +7189,9 @@ declare module '@elastic/eui/src/components/flyout' {
|
|
|
6849
7189
|
export { euiFlyoutSlideInRight, euiFlyoutSlideInLeft } from '@elastic/eui/src/components/flyout/flyout.styles';
|
|
6850
7190
|
export type { EuiFlyoutResizableProps } from '@elastic/eui/src/components/flyout/flyout_resizable';
|
|
6851
7191
|
export { EuiFlyoutResizable } from '@elastic/eui/src/components/flyout/flyout_resizable';
|
|
6852
|
-
export {
|
|
6853
|
-
export
|
|
6854
|
-
export
|
|
6855
|
-
export { EuiFlyoutSessionProvider, useEuiFlyoutSession } from '@elastic/eui/src/components/flyout/sessions';
|
|
7192
|
+
export type { EuiFlyoutMenuProps } from '@elastic/eui/src/components/flyout/flyout_menu';
|
|
7193
|
+
export { EuiFlyoutMenu } from '@elastic/eui/src/components/flyout/flyout_menu';
|
|
7194
|
+
export { useIsInManagedFlyout, useHasActiveSession } from '@elastic/eui/src/components/flyout/manager';
|
|
6856
7195
|
|
|
6857
7196
|
}
|
|
6858
7197
|
declare module '@elastic/eui/src/components/provider/component_defaults/component_defaults' {
|
|
@@ -8128,6 +8467,71 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
8128
8467
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
8129
8468
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
8130
8469
|
|
|
8470
|
+
}
|
|
8471
|
+
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
8472
|
+
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
8473
|
+
/**
|
|
8474
|
+
* Makes a color more transparent.
|
|
8475
|
+
* @param color - Color to manipulate
|
|
8476
|
+
* @param alpha - alpha channel value. From 0-1.
|
|
8477
|
+
*/
|
|
8478
|
+
export const transparentize: (color: string, alpha: number) => string;
|
|
8479
|
+
/**
|
|
8480
|
+
* Mixes a provided color with white.
|
|
8481
|
+
* @param color - Color to mix with white
|
|
8482
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8483
|
+
*/
|
|
8484
|
+
export const tint: (color: string, ratio: number) => string;
|
|
8485
|
+
/**
|
|
8486
|
+
* Mixes a provided color with black.
|
|
8487
|
+
* @param color - Color to mix with black
|
|
8488
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
8489
|
+
*/
|
|
8490
|
+
export const shade: (color: string, ratio: number) => string;
|
|
8491
|
+
/**
|
|
8492
|
+
* Returns the tinted color for light mode and shaded color for dark mode
|
|
8493
|
+
* @param color - Color to mix with white
|
|
8494
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8495
|
+
* @param colorMode - Light or dark only
|
|
8496
|
+
*/
|
|
8497
|
+
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
8498
|
+
/**
|
|
8499
|
+
* Returns the shaded color for light mode and tinted color for dark mode
|
|
8500
|
+
* @param color - Color to mix with white
|
|
8501
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8502
|
+
* @param colorMode - Light or dark only
|
|
8503
|
+
*/
|
|
8504
|
+
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
8505
|
+
/**
|
|
8506
|
+
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
8507
|
+
* @param color - Color to manipulate
|
|
8508
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8509
|
+
*/
|
|
8510
|
+
export const saturate: (color: string, amount: number) => string;
|
|
8511
|
+
/**
|
|
8512
|
+
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
8513
|
+
* @param color - Color to manipulate
|
|
8514
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8515
|
+
*/
|
|
8516
|
+
export const desaturate: (color: string, amount: number) => string;
|
|
8517
|
+
/**
|
|
8518
|
+
* Returns the lightness value of a color. 0-100
|
|
8519
|
+
* @param color
|
|
8520
|
+
*/
|
|
8521
|
+
export const lightness: (color: string) => number;
|
|
8522
|
+
/**
|
|
8523
|
+
* Returns the darken value of a color. 0-100
|
|
8524
|
+
* @param color - Color to manipulate
|
|
8525
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8526
|
+
*/
|
|
8527
|
+
export const darken: (color: string, amount: number) => string;
|
|
8528
|
+
/**
|
|
8529
|
+
* Returns the brighten value of a color. 0-100
|
|
8530
|
+
* @param color - Color to manipulate
|
|
8531
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8532
|
+
*/
|
|
8533
|
+
export const brighten: (color: string, amount: number) => string;
|
|
8534
|
+
|
|
8131
8535
|
}
|
|
8132
8536
|
declare module '@elastic/eui/src/services/color/contrast' {
|
|
8133
8537
|
export const wcagContrastMin = 4.5;
|
|
@@ -8231,321 +8635,6 @@ declare module '@elastic/eui/src/services/theme' {
|
|
|
8231
8635
|
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
8232
8636
|
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
8233
8637
|
|
|
8234
|
-
}
|
|
8235
|
-
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
8236
|
-
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
8237
|
-
/**
|
|
8238
|
-
* Makes a color more transparent.
|
|
8239
|
-
* @param color - Color to manipulate
|
|
8240
|
-
* @param alpha - alpha channel value. From 0-1.
|
|
8241
|
-
*/
|
|
8242
|
-
export const transparentize: (color: string, alpha: number) => string;
|
|
8243
|
-
/**
|
|
8244
|
-
* Mixes a provided color with white.
|
|
8245
|
-
* @param color - Color to mix with white
|
|
8246
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8247
|
-
*/
|
|
8248
|
-
export const tint: (color: string, ratio: number) => string;
|
|
8249
|
-
/**
|
|
8250
|
-
* Mixes a provided color with black.
|
|
8251
|
-
* @param color - Color to mix with black
|
|
8252
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
8253
|
-
*/
|
|
8254
|
-
export const shade: (color: string, ratio: number) => string;
|
|
8255
|
-
/**
|
|
8256
|
-
* Returns the tinted color for light mode and shaded color for dark mode
|
|
8257
|
-
* @param color - Color to mix with white
|
|
8258
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8259
|
-
* @param colorMode - Light or dark only
|
|
8260
|
-
*/
|
|
8261
|
-
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
8262
|
-
/**
|
|
8263
|
-
* Returns the shaded color for light mode and tinted color for dark mode
|
|
8264
|
-
* @param color - Color to mix with white
|
|
8265
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
8266
|
-
* @param colorMode - Light or dark only
|
|
8267
|
-
*/
|
|
8268
|
-
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
8269
|
-
/**
|
|
8270
|
-
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
8271
|
-
* @param color - Color to manipulate
|
|
8272
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8273
|
-
*/
|
|
8274
|
-
export const saturate: (color: string, amount: number) => string;
|
|
8275
|
-
/**
|
|
8276
|
-
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
8277
|
-
* @param color - Color to manipulate
|
|
8278
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8279
|
-
*/
|
|
8280
|
-
export const desaturate: (color: string, amount: number) => string;
|
|
8281
|
-
/**
|
|
8282
|
-
* Returns the lightness value of a color. 0-100
|
|
8283
|
-
* @param color
|
|
8284
|
-
*/
|
|
8285
|
-
export const lightness: (color: string) => number;
|
|
8286
|
-
/**
|
|
8287
|
-
* Returns the darken value of a color. 0-100
|
|
8288
|
-
* @param color - Color to manipulate
|
|
8289
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8290
|
-
*/
|
|
8291
|
-
export const darken: (color: string, amount: number) => string;
|
|
8292
|
-
/**
|
|
8293
|
-
* Returns the brighten value of a color. 0-100
|
|
8294
|
-
* @param color - Color to manipulate
|
|
8295
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
8296
|
-
*/
|
|
8297
|
-
export const brighten: (color: string, amount: number) => string;
|
|
8298
|
-
|
|
8299
|
-
}
|
|
8300
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
8301
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
8302
|
-
export const colorVisDark: _EuiThemeVisColors;
|
|
8303
|
-
|
|
8304
|
-
}
|
|
8305
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
8306
|
-
/**
|
|
8307
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
8308
|
-
* They are mapped to other vis colors
|
|
8309
|
-
*/
|
|
8310
|
-
export const severityColors: {
|
|
8311
|
-
unknown: string;
|
|
8312
|
-
neutral: string;
|
|
8313
|
-
success: string;
|
|
8314
|
-
warning: string;
|
|
8315
|
-
risk: string;
|
|
8316
|
-
danger: string;
|
|
8317
|
-
};
|
|
8318
|
-
|
|
8319
|
-
}
|
|
8320
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
8321
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
8322
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
8323
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
8324
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
8325
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
8326
|
-
export const text_colors: _EuiThemeTextColors;
|
|
8327
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
8328
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
8329
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
8330
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
8331
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
8332
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
8333
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
8334
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
8335
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
8336
|
-
export const colors: _EuiThemeColors;
|
|
8337
|
-
|
|
8338
|
-
}
|
|
8339
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
8340
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
8341
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
8342
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
8343
|
-
export const animation: _EuiThemeAnimation;
|
|
8344
|
-
|
|
8345
|
-
}
|
|
8346
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
8347
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
8348
|
-
|
|
8349
|
-
}
|
|
8350
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
8351
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
8352
|
-
export const base: _EuiThemeBase;
|
|
8353
|
-
export const size: _EuiThemeSizes;
|
|
8354
|
-
|
|
8355
|
-
}
|
|
8356
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
8357
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
8358
|
-
export const border: _EuiThemeBorder;
|
|
8359
|
-
|
|
8360
|
-
}
|
|
8361
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
8362
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
8363
|
-
export const levels: _EuiThemeLevels;
|
|
8364
|
-
|
|
8365
|
-
}
|
|
8366
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
8367
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
8368
|
-
export const fontScale: _EuiThemeFontScales;
|
|
8369
|
-
export const fontBase: _EuiThemeFontBase;
|
|
8370
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
8371
|
-
export const font: _EuiThemeFont;
|
|
8372
|
-
|
|
8373
|
-
}
|
|
8374
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
8375
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
8376
|
-
export const focus: _EuiThemeFocus;
|
|
8377
|
-
|
|
8378
|
-
}
|
|
8379
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
8380
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
8381
|
-
export const buttons: _EuiThemeButton;
|
|
8382
|
-
|
|
8383
|
-
}
|
|
8384
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
8385
|
-
export const forms: {
|
|
8386
|
-
maxWidth: string;
|
|
8387
|
-
LIGHT: {
|
|
8388
|
-
background: string;
|
|
8389
|
-
backgroundDisabled: string;
|
|
8390
|
-
backgroundReadOnly: any;
|
|
8391
|
-
backgroundFocused: any;
|
|
8392
|
-
backgroundAutofilled: string;
|
|
8393
|
-
backgroundDropping: string;
|
|
8394
|
-
prependBackground: string;
|
|
8395
|
-
border: string;
|
|
8396
|
-
borderDisabled: string;
|
|
8397
|
-
borderFocused: any;
|
|
8398
|
-
borderInvalid: any;
|
|
8399
|
-
borderHovered: string;
|
|
8400
|
-
borderInvalidHovered: any;
|
|
8401
|
-
borderAutofilled: string;
|
|
8402
|
-
borderAutofilledHovered: string;
|
|
8403
|
-
clearButtonBackground: any;
|
|
8404
|
-
controlBorder: string;
|
|
8405
|
-
controlBorderSelected: string;
|
|
8406
|
-
controlBorderDisabled: string;
|
|
8407
|
-
controlBackgroundUnselected: any;
|
|
8408
|
-
controlBackgroundDisabled: any;
|
|
8409
|
-
colorHasPlaceholder: string;
|
|
8410
|
-
colorDisabled: any;
|
|
8411
|
-
iconDisabled: any;
|
|
8412
|
-
};
|
|
8413
|
-
DARK: {
|
|
8414
|
-
background: string;
|
|
8415
|
-
backgroundFocused: string;
|
|
8416
|
-
backgroundAutofilled: string;
|
|
8417
|
-
prependBackground: string;
|
|
8418
|
-
border: string;
|
|
8419
|
-
clearButtonBackground: any;
|
|
8420
|
-
controlBorder: string;
|
|
8421
|
-
controlBorderSelected: string;
|
|
8422
|
-
controlBorderDisabled: string;
|
|
8423
|
-
backgroundDisabled: string;
|
|
8424
|
-
backgroundReadOnly: any;
|
|
8425
|
-
backgroundDropping: string;
|
|
8426
|
-
borderDisabled: string;
|
|
8427
|
-
borderFocused: any;
|
|
8428
|
-
borderInvalid: any;
|
|
8429
|
-
borderHovered: string;
|
|
8430
|
-
borderInvalidHovered: any;
|
|
8431
|
-
borderAutofilled: string;
|
|
8432
|
-
borderAutofilledHovered: string;
|
|
8433
|
-
controlBackgroundUnselected: any;
|
|
8434
|
-
controlBackgroundDisabled: any;
|
|
8435
|
-
colorHasPlaceholder: string;
|
|
8436
|
-
colorDisabled: any;
|
|
8437
|
-
iconDisabled: any;
|
|
8438
|
-
};
|
|
8439
|
-
};
|
|
8440
|
-
|
|
8441
|
-
}
|
|
8442
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
8443
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
8444
|
-
export const components: _EuiThemeComponents;
|
|
8445
|
-
|
|
8446
|
-
}
|
|
8447
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
8448
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
8449
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
8450
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
8451
|
-
export const EuiThemeAmsterdam: {
|
|
8452
|
-
model: EuiThemeShape;
|
|
8453
|
-
root: EuiThemeShape;
|
|
8454
|
-
key: string;
|
|
8455
|
-
};
|
|
8456
|
-
|
|
8457
|
-
}
|
|
8458
|
-
declare module '@elastic/eui/src/services/theme/context' {
|
|
8459
|
-
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
8460
|
-
export const DEFAULTS: {
|
|
8461
|
-
system: {
|
|
8462
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
8463
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
8464
|
-
key: string;
|
|
8465
|
-
};
|
|
8466
|
-
modifications: {};
|
|
8467
|
-
colorMode: "LIGHT";
|
|
8468
|
-
highContrastMode: false;
|
|
8469
|
-
};
|
|
8470
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
8471
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
8472
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
8473
|
-
}>>;
|
|
8474
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
8475
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
8476
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
8477
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
8478
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
8479
|
-
|
|
8480
|
-
}
|
|
8481
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
8482
|
-
import React from 'react';
|
|
8483
|
-
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
8484
|
-
/**
|
|
8485
|
-
* Hook for function components
|
|
8486
|
-
*/
|
|
8487
|
-
export interface UseEuiTheme<T extends {} = {}> {
|
|
8488
|
-
euiTheme: EuiThemeComputed<T>;
|
|
8489
|
-
colorMode: EuiThemeColorModeStandard;
|
|
8490
|
-
highContrastMode: EuiThemeHighContrastMode;
|
|
8491
|
-
modifications: EuiThemeModifications<T>;
|
|
8492
|
-
}
|
|
8493
|
-
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
8494
|
-
/**
|
|
8495
|
-
* HOC for class components
|
|
8496
|
-
*/
|
|
8497
|
-
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
8498
|
-
theme: UseEuiTheme<P>;
|
|
8499
|
-
}
|
|
8500
|
-
export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
|
|
8501
|
-
/**
|
|
8502
|
-
* Render prop alternative for complex class components
|
|
8503
|
-
* Most useful for scenarios where a HOC may interfere with typing
|
|
8504
|
-
*/
|
|
8505
|
-
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
8506
|
-
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
8507
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
8508
|
-
/**
|
|
8509
|
-
* Minor syntactical sugar hook for theme CSS variables.
|
|
8510
|
-
* Primarily meant for internal EUI usage.
|
|
8511
|
-
*/
|
|
8512
|
-
export const useEuiThemeCSSVariables: () => {
|
|
8513
|
-
setGlobalCSSVariables: Function;
|
|
8514
|
-
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
8515
|
-
setNearestThemeCSSVariables: Function;
|
|
8516
|
-
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
8517
|
-
};
|
|
8518
|
-
/**
|
|
8519
|
-
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
8520
|
-
* In case of nested providers this returns the value of the nearest provider context.
|
|
8521
|
-
*/
|
|
8522
|
-
export const useIsDarkMode: () => boolean;
|
|
8523
|
-
|
|
8524
|
-
}
|
|
8525
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
8526
|
-
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
8527
|
-
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
8528
|
-
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
8529
|
-
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
8530
|
-
/**
|
|
8531
|
-
* Returns the current breakpoint based on window width.
|
|
8532
|
-
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
8533
|
-
* of window resize listeners on the page). Also conditionally called if a
|
|
8534
|
-
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
8535
|
-
*/
|
|
8536
|
-
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
8537
|
-
export {};
|
|
8538
|
-
|
|
8539
|
-
}
|
|
8540
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
8541
|
-
/**
|
|
8542
|
-
* Hook util / syntactical sugar for useContext()
|
|
8543
|
-
*
|
|
8544
|
-
* This hook is in its own separate file to make mocking it
|
|
8545
|
-
* as a testenv easy for Jest unit tests
|
|
8546
|
-
*/
|
|
8547
|
-
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
8548
|
-
|
|
8549
8638
|
}
|
|
8550
8639
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
8551
8640
|
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
@@ -9019,10 +9108,14 @@ declare module '@elastic/eui/src/components/accessibility/screen_reader_live/scr
|
|
|
9019
9108
|
* `role` attribute for both live regions.
|
|
9020
9109
|
*
|
|
9021
9110
|
* https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#roles_with_implicit_live_region_attributes
|
|
9111
|
+
*
|
|
9112
|
+
* @default 'status'
|
|
9022
9113
|
*/
|
|
9023
9114
|
role?: HTMLAttributes<HTMLDivElement>['role'];
|
|
9024
9115
|
/**
|
|
9025
9116
|
* `aria-live` attribute for both live regions
|
|
9117
|
+
*
|
|
9118
|
+
* @default 'polite'
|
|
9026
9119
|
*/
|
|
9027
9120
|
'aria-live'?: AriaAttributes['aria-live'];
|
|
9028
9121
|
/**
|
|
@@ -9030,6 +9123,8 @@ declare module '@elastic/eui/src/components/accessibility/screen_reader_live/scr
|
|
|
9030
9123
|
* to automatically read out the text content. This prop should primarily be used for
|
|
9031
9124
|
* navigation or page changes, where programmatically resetting focus location back to
|
|
9032
9125
|
* a certain part of the page is desired.
|
|
9126
|
+
*
|
|
9127
|
+
* @default false
|
|
9033
9128
|
*/
|
|
9034
9129
|
focusRegionOnTextChange?: boolean;
|
|
9035
9130
|
}
|
|
@@ -9099,6 +9194,25 @@ declare module '@elastic/eui/src/components/accessibility/skip_link' {
|
|
|
9099
9194
|
export type { EuiSkipLinkProps } from '@elastic/eui/src/components/accessibility/skip_link/skip_link';
|
|
9100
9195
|
export { EuiSkipLink } from '@elastic/eui/src/components/accessibility/skip_link/skip_link';
|
|
9101
9196
|
|
|
9197
|
+
}
|
|
9198
|
+
declare module '@elastic/eui/src/components/accessibility/live_announcer/live_announcer' {
|
|
9199
|
+
import { FunctionComponent } from 'react';
|
|
9200
|
+
import { EuiScreenReaderLiveProps } from '@elastic/eui/src/components/accessibility/screen_reader_live';
|
|
9201
|
+
export type EuiLiveAnnouncerProps = Omit<EuiScreenReaderLiveProps, 'focusRegionOnTextChange'> & {
|
|
9202
|
+
/**
|
|
9203
|
+
* Sets a delay in ms before the live region is cleared.
|
|
9204
|
+
* The message will still be read by screen readers even if it's cleared in between.
|
|
9205
|
+
*
|
|
9206
|
+
* @default 2000
|
|
9207
|
+
*/
|
|
9208
|
+
clearAfterMs?: number | false;
|
|
9209
|
+
};
|
|
9210
|
+
export const EuiLiveAnnouncer: FunctionComponent<EuiLiveAnnouncerProps>;
|
|
9211
|
+
|
|
9212
|
+
}
|
|
9213
|
+
declare module '@elastic/eui/src/components/accessibility/live_announcer' {
|
|
9214
|
+
export * from '@elastic/eui/src/components/accessibility/live_announcer/live_announcer';
|
|
9215
|
+
|
|
9102
9216
|
}
|
|
9103
9217
|
declare module '@elastic/eui/src/components/accessibility' {
|
|
9104
9218
|
export { EuiScreenReaderLive } from '@elastic/eui/src/components/accessibility/screen_reader_live';
|
|
@@ -9107,6 +9221,7 @@ declare module '@elastic/eui/src/components/accessibility' {
|
|
|
9107
9221
|
export type { EuiScreenReaderOnlyProps } from '@elastic/eui/src/components/accessibility/screen_reader_only';
|
|
9108
9222
|
export { EuiSkipLink } from '@elastic/eui/src/components/accessibility/skip_link';
|
|
9109
9223
|
export type { EuiSkipLinkProps } from '@elastic/eui/src/components/accessibility/skip_link';
|
|
9224
|
+
export { type EuiLiveAnnouncerProps, EuiLiveAnnouncer } from '@elastic/eui/src/components/accessibility/live_announcer';
|
|
9110
9225
|
|
|
9111
9226
|
}
|
|
9112
9227
|
declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_button.styles' {
|
|
@@ -10250,11 +10365,6 @@ declare module '@elastic/eui/src/components/breadcrumbs' {
|
|
|
10250
10365
|
export type { EuiBreadcrumbProps as EuiBreadcrumb, EuiBreadcrumbsProps, EuiBreadcrumbResponsiveMaxCount, } from '@elastic/eui/src/components/breadcrumbs/types';
|
|
10251
10366
|
export { EuiBreadcrumbs } from '@elastic/eui/src/components/breadcrumbs/breadcrumbs';
|
|
10252
10367
|
|
|
10253
|
-
}
|
|
10254
|
-
declare module '@elastic/eui/src/components/title' {
|
|
10255
|
-
export type { EuiTitleProps, EuiTitleSize } from '@elastic/eui/src/components/title/title';
|
|
10256
|
-
export { EuiTitle } from '@elastic/eui/src/components/title/title';
|
|
10257
|
-
|
|
10258
10368
|
}
|
|
10259
10369
|
declare module '@elastic/eui/src/components/call_out/call_out.styles' {
|
|
10260
10370
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -10289,8 +10399,9 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
|
|
|
10289
10399
|
export const COLORS: readonly ["primary", "success", "warning", "danger", "accent"];
|
|
10290
10400
|
export type Color = (typeof COLORS)[number];
|
|
10291
10401
|
export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
|
|
10292
|
-
type Heading = (typeof HEADINGS)[number];
|
|
10293
|
-
|
|
10402
|
+
export type Heading = (typeof HEADINGS)[number];
|
|
10403
|
+
export const SIZES: readonly ["s", "m"];
|
|
10404
|
+
export type Size = (typeof SIZES)[number];
|
|
10294
10405
|
export type EuiCallOutProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> & {
|
|
10295
10406
|
title?: ReactNode;
|
|
10296
10407
|
iconType?: IconType;
|
|
@@ -10305,6 +10416,13 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
|
|
|
10305
10416
|
* removing the callout or other actions.
|
|
10306
10417
|
*/
|
|
10307
10418
|
onDismiss?: () => void;
|
|
10419
|
+
/**
|
|
10420
|
+
* Enables the content to be read by screen readers on mount.
|
|
10421
|
+
* Use this for callouts that are shown based on a user action.
|
|
10422
|
+
*
|
|
10423
|
+
* @default false
|
|
10424
|
+
*/
|
|
10425
|
+
announceOnMount?: boolean;
|
|
10308
10426
|
};
|
|
10309
10427
|
export const EuiCallOut: React.ForwardRefExoticComponent<CommonProps & Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "color"> & {
|
|
10310
10428
|
title?: ReactNode;
|
|
@@ -10320,8 +10438,14 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
|
|
|
10320
10438
|
* removing the callout or other actions.
|
|
10321
10439
|
*/
|
|
10322
10440
|
onDismiss?: () => void;
|
|
10441
|
+
/**
|
|
10442
|
+
* Enables the content to be read by screen readers on mount.
|
|
10443
|
+
* Use this for callouts that are shown based on a user action.
|
|
10444
|
+
*
|
|
10445
|
+
* @default false
|
|
10446
|
+
*/
|
|
10447
|
+
announceOnMount?: boolean;
|
|
10323
10448
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
10324
|
-
export {};
|
|
10325
10449
|
|
|
10326
10450
|
}
|
|
10327
10451
|
declare module '@elastic/eui/src/components/call_out' {
|
|
@@ -12785,10 +12909,11 @@ declare module '@elastic/eui/src/components/code/code_block_controls' {
|
|
|
12785
12909
|
|
|
12786
12910
|
}
|
|
12787
12911
|
declare module '@elastic/eui/src/components/code/code_block_virtualized' {
|
|
12788
|
-
import React, { HTMLAttributes } from 'react';
|
|
12912
|
+
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
12789
12913
|
import { RefractorNode } from 'refractor';
|
|
12790
|
-
export const EuiCodeBlockVirtualized: ({ data, rowHeight, overflowHeight, preProps, codeProps, }: {
|
|
12914
|
+
export const EuiCodeBlockVirtualized: ({ data, label, rowHeight, overflowHeight, preProps, codeProps, }: {
|
|
12791
12915
|
data: RefractorNode[];
|
|
12916
|
+
label: ReactNode;
|
|
12792
12917
|
rowHeight: number;
|
|
12793
12918
|
overflowHeight?: number | string;
|
|
12794
12919
|
preProps: HTMLAttributes<HTMLPreElement>;
|
|
@@ -13032,7 +13157,7 @@ declare module '@elastic/eui/src/components/header/header.styles' {
|
|
|
13032
13157
|
}
|
|
13033
13158
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/context' {
|
|
13034
13159
|
import { MouseEventHandler } from 'react';
|
|
13035
|
-
import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/
|
|
13160
|
+
import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/const';
|
|
13036
13161
|
type _EuiCollapsibleNavContext = {
|
|
13037
13162
|
isCollapsed: boolean;
|
|
13038
13163
|
isPush: boolean;
|
|
@@ -13065,6 +13190,16 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
13065
13190
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
13066
13191
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
13067
13192
|
|
|
13193
|
+
}
|
|
13194
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
13195
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
13196
|
+
export const colorVisLight: _EuiThemeVisColors;
|
|
13197
|
+
|
|
13198
|
+
}
|
|
13199
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
13200
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
13201
|
+
export const colorVisDark: _EuiThemeVisColors;
|
|
13202
|
+
|
|
13068
13203
|
}
|
|
13069
13204
|
declare module '@elastic/eui/src/themes/themes' {
|
|
13070
13205
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -13074,6 +13209,159 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
13074
13209
|
provider?: EuiThemeSystem;
|
|
13075
13210
|
}
|
|
13076
13211
|
|
|
13212
|
+
}
|
|
13213
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
13214
|
+
/**
|
|
13215
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
13216
|
+
* They are mapped to other vis colors
|
|
13217
|
+
*/
|
|
13218
|
+
export const severityColors: {
|
|
13219
|
+
unknown: string;
|
|
13220
|
+
neutral: string;
|
|
13221
|
+
success: string;
|
|
13222
|
+
warning: string;
|
|
13223
|
+
risk: string;
|
|
13224
|
+
danger: string;
|
|
13225
|
+
};
|
|
13226
|
+
|
|
13227
|
+
}
|
|
13228
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
13229
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
13230
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
13231
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
13232
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
13233
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
13234
|
+
export const text_colors: _EuiThemeTextColors;
|
|
13235
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
13236
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
13237
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
13238
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
13239
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
13240
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
13241
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
13242
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
13243
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
13244
|
+
export const colors: _EuiThemeColors;
|
|
13245
|
+
|
|
13246
|
+
}
|
|
13247
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
13248
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
13249
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
13250
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
13251
|
+
export const animation: _EuiThemeAnimation;
|
|
13252
|
+
|
|
13253
|
+
}
|
|
13254
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
13255
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
13256
|
+
|
|
13257
|
+
}
|
|
13258
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
13259
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
13260
|
+
export const base: _EuiThemeBase;
|
|
13261
|
+
export const size: _EuiThemeSizes;
|
|
13262
|
+
|
|
13263
|
+
}
|
|
13264
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
13265
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
13266
|
+
export const border: _EuiThemeBorder;
|
|
13267
|
+
|
|
13268
|
+
}
|
|
13269
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
13270
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
13271
|
+
export const levels: _EuiThemeLevels;
|
|
13272
|
+
|
|
13273
|
+
}
|
|
13274
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
13275
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
13276
|
+
export const fontScale: _EuiThemeFontScales;
|
|
13277
|
+
export const fontBase: _EuiThemeFontBase;
|
|
13278
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
13279
|
+
export const font: _EuiThemeFont;
|
|
13280
|
+
|
|
13281
|
+
}
|
|
13282
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
13283
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
13284
|
+
export const focus: _EuiThemeFocus;
|
|
13285
|
+
|
|
13286
|
+
}
|
|
13287
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
13288
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
13289
|
+
export const buttons: _EuiThemeButton;
|
|
13290
|
+
|
|
13291
|
+
}
|
|
13292
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
13293
|
+
export const forms: {
|
|
13294
|
+
maxWidth: string;
|
|
13295
|
+
LIGHT: {
|
|
13296
|
+
background: string;
|
|
13297
|
+
backgroundDisabled: string;
|
|
13298
|
+
backgroundReadOnly: any;
|
|
13299
|
+
backgroundFocused: any;
|
|
13300
|
+
backgroundAutofilled: string;
|
|
13301
|
+
backgroundDropping: string;
|
|
13302
|
+
prependBackground: string;
|
|
13303
|
+
border: string;
|
|
13304
|
+
borderDisabled: string;
|
|
13305
|
+
borderFocused: any;
|
|
13306
|
+
borderInvalid: any;
|
|
13307
|
+
borderHovered: string;
|
|
13308
|
+
borderInvalidHovered: any;
|
|
13309
|
+
borderAutofilled: string;
|
|
13310
|
+
borderAutofilledHovered: string;
|
|
13311
|
+
clearButtonBackground: any;
|
|
13312
|
+
controlBorder: string;
|
|
13313
|
+
controlBorderSelected: string;
|
|
13314
|
+
controlBorderDisabled: string;
|
|
13315
|
+
controlBackgroundUnselected: any;
|
|
13316
|
+
controlBackgroundDisabled: any;
|
|
13317
|
+
colorHasPlaceholder: string;
|
|
13318
|
+
colorDisabled: any;
|
|
13319
|
+
iconDisabled: any;
|
|
13320
|
+
};
|
|
13321
|
+
DARK: {
|
|
13322
|
+
background: string;
|
|
13323
|
+
backgroundFocused: string;
|
|
13324
|
+
backgroundAutofilled: string;
|
|
13325
|
+
prependBackground: string;
|
|
13326
|
+
border: string;
|
|
13327
|
+
clearButtonBackground: any;
|
|
13328
|
+
controlBorder: string;
|
|
13329
|
+
controlBorderSelected: string;
|
|
13330
|
+
controlBorderDisabled: string;
|
|
13331
|
+
backgroundDisabled: string;
|
|
13332
|
+
backgroundReadOnly: any;
|
|
13333
|
+
backgroundDropping: string;
|
|
13334
|
+
borderDisabled: string;
|
|
13335
|
+
borderFocused: any;
|
|
13336
|
+
borderInvalid: any;
|
|
13337
|
+
borderHovered: string;
|
|
13338
|
+
borderInvalidHovered: any;
|
|
13339
|
+
borderAutofilled: string;
|
|
13340
|
+
borderAutofilledHovered: string;
|
|
13341
|
+
controlBackgroundUnselected: any;
|
|
13342
|
+
controlBackgroundDisabled: any;
|
|
13343
|
+
colorHasPlaceholder: string;
|
|
13344
|
+
colorDisabled: any;
|
|
13345
|
+
iconDisabled: any;
|
|
13346
|
+
};
|
|
13347
|
+
};
|
|
13348
|
+
|
|
13349
|
+
}
|
|
13350
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
13351
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
13352
|
+
export const components: _EuiThemeComponents;
|
|
13353
|
+
|
|
13354
|
+
}
|
|
13355
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
13356
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
13357
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
13358
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
13359
|
+
export const EuiThemeAmsterdam: {
|
|
13360
|
+
model: EuiThemeShape;
|
|
13361
|
+
root: EuiThemeShape;
|
|
13362
|
+
key: string;
|
|
13363
|
+
};
|
|
13364
|
+
|
|
13077
13365
|
}
|
|
13078
13366
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
13079
13367
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14373,6 +14661,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_select_item' {
|
|
|
14373
14661
|
checked?: FilterChecked;
|
|
14374
14662
|
showIcons?: boolean;
|
|
14375
14663
|
isFocused?: boolean;
|
|
14664
|
+
truncateContent?: boolean;
|
|
14376
14665
|
toolTipContent?: EuiComboBoxOptionOption['toolTipContent'];
|
|
14377
14666
|
toolTipProps?: EuiComboBoxOptionOption['toolTipProps'];
|
|
14378
14667
|
forwardRef?: (ref: HTMLButtonElement | null) => void;
|
|
@@ -14386,6 +14675,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_select_item' {
|
|
|
14386
14675
|
export class EuiFilterSelectItemClass extends Component<WithEuiThemeProps & EuiFilterSelectItemProps> {
|
|
14387
14676
|
static defaultProps: {
|
|
14388
14677
|
showIcons: boolean;
|
|
14678
|
+
truncateContent: boolean;
|
|
14389
14679
|
};
|
|
14390
14680
|
buttonRef: HTMLButtonElement | null;
|
|
14391
14681
|
tooltipRef: React.RefObject<EuiToolTip>;
|
|
@@ -14396,6 +14686,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_select_item' {
|
|
|
14396
14686
|
focus: () => void;
|
|
14397
14687
|
toggleToolTip: (isFocused: boolean) => void;
|
|
14398
14688
|
hasFocus: () => boolean;
|
|
14689
|
+
componentDidUpdate(prevProps: Readonly<WithEuiThemeProps<{}> & EuiFilterSelectItemProps>): void;
|
|
14399
14690
|
render(): React.JSX.Element;
|
|
14400
14691
|
}
|
|
14401
14692
|
/**
|
|
@@ -14414,6 +14705,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
14414
14705
|
export const LIST_MAX_HEIGHT = 200;
|
|
14415
14706
|
export const euiComboBoxOptionListStyles: (euiThemeContext: UseEuiTheme) => {
|
|
14416
14707
|
euiComboBoxOptionList: import("@emotion/react").SerializedStyles;
|
|
14708
|
+
hasRowHeightAuto: import("@emotion/react").SerializedStyles;
|
|
14417
14709
|
euiComboBoxOptionList__virtualization: import("@emotion/react").SerializedStyles;
|
|
14418
14710
|
euiComboBoxOptionsList__empty: import("@emotion/react").SerializedStyles;
|
|
14419
14711
|
};
|
|
@@ -14458,7 +14750,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
14458
14750
|
options: Array<EuiComboBoxOptionOption<T>>;
|
|
14459
14751
|
renderOption?: (option: EuiComboBoxOptionOption<T>, searchValue: string, OPTION_CONTENT_CLASSNAME: string) => ReactNode;
|
|
14460
14752
|
rootId: ReturnType<typeof htmlIdGenerator>;
|
|
14461
|
-
rowHeight: number;
|
|
14753
|
+
rowHeight: number | 'auto';
|
|
14462
14754
|
scrollToIndex?: number;
|
|
14463
14755
|
searchValue: string;
|
|
14464
14756
|
selectedOptions: Array<EuiComboBoxOptionOption<T>>;
|
|
@@ -14479,9 +14771,17 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
14479
14771
|
setListRef: (ref: FixedSizeList | null) => void;
|
|
14480
14772
|
ListInnerElement: FixedSizeListProps['innerElementType'];
|
|
14481
14773
|
ListRow: ({ data, index, style }: ListChildComponentProps) => React.JSX.Element;
|
|
14774
|
+
getListInnerElementProps: () => {
|
|
14775
|
+
'aria-label': string;
|
|
14776
|
+
id: string;
|
|
14777
|
+
role: string;
|
|
14778
|
+
tabIndex: number;
|
|
14779
|
+
};
|
|
14482
14780
|
optionWidth: number | undefined;
|
|
14483
14781
|
setOptionWidth: (width: number) => void;
|
|
14484
14782
|
renderTruncatedOption: (text: string, truncationProps?: EuiComboBoxOptionsListProps<T>["truncationProps"]) => string | React.JSX.Element;
|
|
14783
|
+
renderVariableHeightOption: (text: string) => string | React.JSX.Element;
|
|
14784
|
+
renderHighlightedOptionText: (text: string, searchValue: string) => React.JSX.Element;
|
|
14485
14785
|
render(): React.JSX.Element;
|
|
14486
14786
|
}
|
|
14487
14787
|
|
|
@@ -14564,9 +14864,10 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
14564
14864
|
*/
|
|
14565
14865
|
placeholder?: string;
|
|
14566
14866
|
/**
|
|
14567
|
-
*
|
|
14867
|
+
* The height of each option in pixels. When using a custom render (`renderOption` prop) it's recommended to set it explicitly.
|
|
14868
|
+
* `auto` will disable virtualization, enabling text to wrap onto multiple lines.
|
|
14568
14869
|
*/
|
|
14569
|
-
rowHeight?: number;
|
|
14870
|
+
rowHeight?: number | 'auto';
|
|
14570
14871
|
/**
|
|
14571
14872
|
* When `true` only allows the user to select a single option. Set to `{ asPlainText: true }` to not render input selection as pills
|
|
14572
14873
|
*/
|
|
@@ -15016,7 +15317,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
15016
15317
|
/**
|
|
15017
15318
|
* Height types
|
|
15018
15319
|
*/
|
|
15019
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
15320
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
|
|
15020
15321
|
/**
|
|
15021
15322
|
* Line count utils
|
|
15022
15323
|
*/
|
|
@@ -21101,6 +21402,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_tool
|
|
|
21101
21402
|
viewMode: MARKDOWN_MODE;
|
|
21102
21403
|
onClickPreview: MouseEventHandler<HTMLButtonElement>;
|
|
21103
21404
|
uiPlugins: EuiMarkdownEditorUiPlugin[];
|
|
21405
|
+
right?: React.ReactNode;
|
|
21104
21406
|
};
|
|
21105
21407
|
export const EuiMarkdownEditorToolbar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CommonProps & {
|
|
21106
21408
|
selectedNode?: null | any;
|
|
@@ -21108,6 +21410,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_tool
|
|
|
21108
21410
|
viewMode: MARKDOWN_MODE;
|
|
21109
21411
|
onClickPreview: MouseEventHandler<HTMLButtonElement>;
|
|
21110
21412
|
uiPlugins: EuiMarkdownEditorUiPlugin[];
|
|
21413
|
+
right?: React.ReactNode;
|
|
21111
21414
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
21112
21415
|
|
|
21113
21416
|
}
|
|
@@ -21392,6 +21695,16 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_format' {
|
|
|
21392
21695
|
};
|
|
21393
21696
|
export const EuiMarkdownFormat: FunctionComponent<EuiMarkdownFormatProps>;
|
|
21394
21697
|
|
|
21698
|
+
}
|
|
21699
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer.styles' {
|
|
21700
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
21701
|
+
export const euiMarkdownEditorFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
21702
|
+
euiMarkdownEditorFooter: import("@emotion/react").SerializedStyles;
|
|
21703
|
+
euiMarkdownEditorFooter__actions: import("@emotion/react").SerializedStyles;
|
|
21704
|
+
euiMarkdownEditorFooter__uploadError: import("@emotion/react").SerializedStyles;
|
|
21705
|
+
euiMarkdownEditorFooter__popover: import("@emotion/react").SerializedStyles;
|
|
21706
|
+
};
|
|
21707
|
+
|
|
21395
21708
|
}
|
|
21396
21709
|
declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo' {
|
|
21397
21710
|
import React from 'react';
|
|
@@ -21402,16 +21715,24 @@ declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo'
|
|
|
21402
21715
|
export default MarkdownLogo;
|
|
21403
21716
|
|
|
21404
21717
|
}
|
|
21405
|
-
declare module '@elastic/eui/src/components/markdown_editor/
|
|
21406
|
-
|
|
21407
|
-
export const euiMarkdownEditorFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
21408
|
-
euiMarkdownEditorFooter: import("@emotion/react").SerializedStyles;
|
|
21409
|
-
euiMarkdownEditorFooter__actions: import("@emotion/react").SerializedStyles;
|
|
21410
|
-
euiMarkdownEditorFooter__uploadError: import("@emotion/react").SerializedStyles;
|
|
21718
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button.styles' {
|
|
21719
|
+
export const euiMarkdownEditorHelpButtonStyles: () => {
|
|
21411
21720
|
euiMarkdownEditorFooter__helpButton: import("@emotion/react").SerializedStyles;
|
|
21412
|
-
euiMarkdownEditorFooter__popover: import("@emotion/react").SerializedStyles;
|
|
21413
21721
|
};
|
|
21414
21722
|
|
|
21723
|
+
}
|
|
21724
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button' {
|
|
21725
|
+
import React from 'react';
|
|
21726
|
+
import { EuiMarkdownEditorUiPlugin } from '@elastic/eui/src/components/markdown_editor/markdown_types';
|
|
21727
|
+
interface EuiMarkdownEditorHelpButtonProps {
|
|
21728
|
+
uiPlugins: EuiMarkdownEditorUiPlugin[];
|
|
21729
|
+
}
|
|
21730
|
+
export const EuiMarkdownEditorHelpButton: {
|
|
21731
|
+
({ uiPlugins, }: EuiMarkdownEditorHelpButtonProps): React.JSX.Element;
|
|
21732
|
+
displayName: string;
|
|
21733
|
+
};
|
|
21734
|
+
export {};
|
|
21735
|
+
|
|
21415
21736
|
}
|
|
21416
21737
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer' {
|
|
21417
21738
|
import React from 'react';
|
|
@@ -21451,6 +21772,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_drop
|
|
|
21451
21772
|
setHasUnacceptedItems: (hasUnacceptedItems: boolean) => void;
|
|
21452
21773
|
setEditorFooterHeight: (height: number) => void;
|
|
21453
21774
|
isEditing: boolean;
|
|
21775
|
+
showFooter?: boolean;
|
|
21454
21776
|
}
|
|
21455
21777
|
export const EuiMarkdownEditorDropZone: FunctionComponent<EuiMarkdownEditorDropZoneProps>;
|
|
21456
21778
|
export {};
|
|
@@ -21461,6 +21783,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
|
|
|
21461
21783
|
import { PluggableList } from 'unified';
|
|
21462
21784
|
import { VFileMessage } from 'vfile-message';
|
|
21463
21785
|
import { CommonProps, OneOf } from '@elastic/eui/src/components/common';
|
|
21786
|
+
import { EuiMarkdownEditorToolbarProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor_toolbar';
|
|
21464
21787
|
import { EuiMarkdownEditorTextAreaProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor_text_area';
|
|
21465
21788
|
import { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
|
|
21466
21789
|
import { MARKDOWN_MODE } from '@elastic/eui/src/components/markdown_editor/markdown_modes';
|
|
@@ -21524,9 +21847,17 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
|
|
|
21524
21847
|
* Further extend the props applied to EuiMarkdownFormat
|
|
21525
21848
|
*/
|
|
21526
21849
|
markdownFormatProps?: Omit<EuiMarkdownFormatProps, 'parsingPluginList' | 'processingPluginList' | 'children'>;
|
|
21850
|
+
/**
|
|
21851
|
+
* Props to customize the toolbar. `right` replaces the default preview/editor toggle with custom content.
|
|
21852
|
+
*/
|
|
21853
|
+
toolbarProps?: {
|
|
21854
|
+
right?: EuiMarkdownEditorToolbarProps['right'];
|
|
21855
|
+
};
|
|
21856
|
+
/** Controls whether the footer is shown */
|
|
21857
|
+
showFooter?: boolean;
|
|
21527
21858
|
};
|
|
21528
21859
|
export type EuiMarkdownEditorProps = OneOf<CommonMarkdownEditorProps, 'aria-label' | 'aria-labelledby'>;
|
|
21529
|
-
interface EuiMarkdownEditorRef {
|
|
21860
|
+
export interface EuiMarkdownEditorRef {
|
|
21530
21861
|
textarea: HTMLTextAreaElement | null;
|
|
21531
21862
|
replaceNode: ContextShape['replaceNode'];
|
|
21532
21863
|
}
|
|
@@ -21535,8 +21866,9 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
|
|
|
21535
21866
|
|
|
21536
21867
|
}
|
|
21537
21868
|
declare module '@elastic/eui/src/components/markdown_editor' {
|
|
21538
|
-
export type { EuiMarkdownEditorProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
|
|
21869
|
+
export type { EuiMarkdownEditorProps, EuiMarkdownEditorRef, } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
|
|
21539
21870
|
export { EuiMarkdownEditor } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
|
|
21871
|
+
export { EuiMarkdownEditorHelpButton } from '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button';
|
|
21540
21872
|
export { getDefaultEuiMarkdownParsingPlugins, getDefaultEuiMarkdownProcessingPlugins, getDefaultEuiMarkdownUiPlugins, getDefaultEuiMarkdownPlugins, } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_default_plugins';
|
|
21541
21873
|
export { EuiMarkdownContext } from '@elastic/eui/src/components/markdown_editor/markdown_context';
|
|
21542
21874
|
export type { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
|
|
@@ -22208,7 +22540,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
22208
22540
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
22209
22541
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
22210
22542
|
/**
|
|
22211
|
-
* Provide a specific EuiTheme; Defaults to
|
|
22543
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
|
|
22212
22544
|
* Pass `null` to remove all theming including global reset
|
|
22213
22545
|
*/
|
|
22214
22546
|
theme?: EuiThemeSystem | null;
|
|
@@ -23470,13 +23802,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23470
23802
|
slot?: string | undefined;
|
|
23471
23803
|
style?: CSSProperties | undefined;
|
|
23472
23804
|
title?: string | undefined;
|
|
23473
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23474
23805
|
width: number;
|
|
23475
23806
|
color?: string | undefined;
|
|
23476
23807
|
content?: string | undefined;
|
|
23808
|
+
hidden?: boolean | undefined;
|
|
23809
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23477
23810
|
translate?: "yes" | "no" | undefined;
|
|
23478
23811
|
property?: string | undefined;
|
|
23479
|
-
hidden?: boolean | undefined;
|
|
23480
23812
|
className?: string | undefined;
|
|
23481
23813
|
defaultChecked?: boolean | undefined;
|
|
23482
23814
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -30773,6 +31105,28 @@ declare module '@elastic/eui/src/components/icon/assets/temperature' {
|
|
|
30773
31105
|
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
30774
31106
|
export {};
|
|
30775
31107
|
|
|
31108
|
+
}
|
|
31109
|
+
declare module '@elastic/eui/src/components/icon/assets/thumbDown' {
|
|
31110
|
+
import * as React from 'react';
|
|
31111
|
+
import type { SVGProps } from 'react';
|
|
31112
|
+
interface SVGRProps {
|
|
31113
|
+
title?: string;
|
|
31114
|
+
titleId?: string;
|
|
31115
|
+
}
|
|
31116
|
+
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
31117
|
+
export {};
|
|
31118
|
+
|
|
31119
|
+
}
|
|
31120
|
+
declare module '@elastic/eui/src/components/icon/assets/thumbUp' {
|
|
31121
|
+
import * as React from 'react';
|
|
31122
|
+
import type { SVGProps } from 'react';
|
|
31123
|
+
interface SVGRProps {
|
|
31124
|
+
title?: string;
|
|
31125
|
+
titleId?: string;
|
|
31126
|
+
}
|
|
31127
|
+
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
31128
|
+
export {};
|
|
31129
|
+
|
|
30776
31130
|
}
|
|
30777
31131
|
declare module '@elastic/eui/src/components/icon/assets/timeRefresh' {
|
|
30778
31132
|
import * as React from 'react';
|
|
@@ -33653,12 +34007,13 @@ declare module '@elastic/eui' {
|
|
|
33653
34007
|
"euiTourFooter.endTour": any;
|
|
33654
34008
|
"euiTourFooter.skipTour": any;
|
|
33655
34009
|
"euiTourFooter.closeTour": any;
|
|
34010
|
+
"euiIconTip.defaultAriaLabel": any;
|
|
33656
34011
|
"euiToast.newNotification": any;
|
|
33657
34012
|
"euiToast.notification": any;
|
|
33658
34013
|
"euiToast.dismissToast": any;
|
|
33659
34014
|
"euiGlobalToastList.clearAllToastsButtonAriaLabel": any;
|
|
33660
34015
|
"euiGlobalToastList.clearAllToastsButtonDisplayText": any;
|
|
33661
|
-
"
|
|
34016
|
+
"euiTableHeaderCell.titleTextWithDesc": any;
|
|
33662
34017
|
"euiStepStrings.step": any;
|
|
33663
34018
|
"euiStepStrings.simpleStep": any;
|
|
33664
34019
|
"euiStepStrings.complete": any;
|
|
@@ -33675,7 +34030,6 @@ declare module '@elastic/eui' {
|
|
|
33675
34030
|
"euiStepStrings.simpleLoading": any;
|
|
33676
34031
|
"euiStepStrings.current": any;
|
|
33677
34032
|
"euiStepStrings.simpleCurrent": any;
|
|
33678
|
-
"euiTableHeaderCell.titleTextWithDesc": any;
|
|
33679
34033
|
"euiStat.loadingText": any;
|
|
33680
34034
|
"euiSkeletonLoading.loadedAriaText": any;
|
|
33681
34035
|
"euiSkeletonLoading.loadingAriaText": any;
|
|
@@ -33709,37 +34063,37 @@ declare module '@elastic/eui' {
|
|
|
33709
34063
|
"euiPagination.collection": any;
|
|
33710
34064
|
"euiPagination.fromEndLabel": any;
|
|
33711
34065
|
"euiModal.closeModal": any;
|
|
33712
|
-
"euiMark.highlightStart": any;
|
|
33713
|
-
"euiMark.highlightEnd": any;
|
|
33714
|
-
"euiLoadingStrings.ariaLabel": any;
|
|
33715
|
-
"euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
|
|
33716
|
-
"euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
|
|
33717
34066
|
"euiMarkdownEditorToolbar.editor": any;
|
|
33718
34067
|
"euiMarkdownEditorToolbar.previewMarkdown": any;
|
|
34068
|
+
"euiMarkdownEditorHelpButton.mdSyntaxLink": any;
|
|
34069
|
+
"euiMarkdownEditorHelpButton.syntaxTitle": any;
|
|
34070
|
+
"euiMarkdownEditorHelpButton.showMarkdownHelp": any;
|
|
34071
|
+
"euiMarkdownEditorHelpButton.syntaxModalDescriptionPrefix": any;
|
|
34072
|
+
"euiMarkdownEditorHelpButton.syntaxModalDescriptionSuffix": any;
|
|
34073
|
+
"euiMarkdownEditorHelpButton.closeButton": any;
|
|
34074
|
+
"euiMarkdownEditorHelpButton.syntaxPopoverDescription": any;
|
|
33719
34075
|
"euiMarkdownEditorFooter.uploadingFiles": any;
|
|
33720
34076
|
"euiMarkdownEditorFooter.openUploadModal": any;
|
|
33721
34077
|
"euiMarkdownEditorFooter.unsupportedFileType": any;
|
|
33722
34078
|
"euiMarkdownEditorFooter.supportedFileTypes": any;
|
|
33723
34079
|
"euiMarkdownEditorFooter.showSyntaxErrors": any;
|
|
33724
|
-
"euiMarkdownEditorFooter.showMarkdownHelp": any;
|
|
33725
|
-
"euiMarkdownEditorFooter.syntaxTitle": any;
|
|
33726
34080
|
"euiMarkdownEditorFooter.errorsTitle": any;
|
|
33727
|
-
"
|
|
33728
|
-
"
|
|
33729
|
-
"
|
|
33730
|
-
"
|
|
33731
|
-
"
|
|
34081
|
+
"euiMark.highlightStart": any;
|
|
34082
|
+
"euiMark.highlightEnd": any;
|
|
34083
|
+
"euiLoadingStrings.ariaLabel": any;
|
|
34084
|
+
"euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
|
|
34085
|
+
"euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
|
|
34086
|
+
"euiImageButton.openFullScreen": any;
|
|
34087
|
+
"euiImageButton.closeFullScreen": any;
|
|
33732
34088
|
"euiInlineEditForm.saveButtonAriaLabel": any;
|
|
33733
34089
|
"euiInlineEditForm.cancelButtonAriaLabel": any;
|
|
33734
34090
|
"euiInlineEditForm.inputKeyboardInstructions": any;
|
|
33735
34091
|
"euiInlineEditForm.activateEditModeDescription": any;
|
|
33736
|
-
"
|
|
33737
|
-
"euiImageButton.closeFullScreen": any;
|
|
34092
|
+
"euiForm.addressFormErrors": any;
|
|
33738
34093
|
"euiFlyout.screenReaderModalDialog": any;
|
|
33739
34094
|
"euiFlyout.screenReaderNonModalDialog": any;
|
|
33740
34095
|
"euiFlyout.screenReaderFocusTrapShards": any;
|
|
33741
34096
|
"euiFlyoutCloseButton.ariaLabel": any;
|
|
33742
|
-
"euiForm.addressFormErrors": any;
|
|
33743
34097
|
"euiFilterButton.filterBadgeActiveAriaLabel": any;
|
|
33744
34098
|
"euiFilterButton.filterBadgeAvailableAriaLabel": any;
|
|
33745
34099
|
"euiErrorBoundary.error": any;
|
|
@@ -33750,10 +34104,10 @@ declare module '@elastic/eui' {
|
|
|
33750
34104
|
"euiSaturation.ariaLabel": any;
|
|
33751
34105
|
"euiSaturation.roleDescription": any;
|
|
33752
34106
|
"euiSaturation.screenReaderInstructions": any;
|
|
34107
|
+
"euiColorPickerSwatch.ariaLabel": any;
|
|
33753
34108
|
"euiHue.ariaValueText": any;
|
|
33754
34109
|
"euiHue.ariaRoleDescription": any;
|
|
33755
34110
|
"euiHue.label": any;
|
|
33756
|
-
"euiColorPickerSwatch.ariaLabel": any;
|
|
33757
34111
|
"euiColorPicker.popoverLabel": any;
|
|
33758
34112
|
"euiColorPicker.colorLabel": any;
|
|
33759
34113
|
"euiColorPicker.selectedColorLabel": any;
|
|
@@ -33763,10 +34117,10 @@ declare module '@elastic/eui' {
|
|
|
33763
34117
|
"euiColorPicker.openLabel": any;
|
|
33764
34118
|
"euiColorPicker.closeLabel": any;
|
|
33765
34119
|
"euiCollapsibleNavBeta.ariaLabel": any;
|
|
34120
|
+
"euiCodeBlockCopy.copy": any;
|
|
33766
34121
|
"euiCodeBlockFullScreen.fullscreenCollapse": any;
|
|
33767
34122
|
"euiCodeBlockFullScreen.fullscreenExpand": any;
|
|
33768
34123
|
"euiCodeBlockFullScreen.ariaLabel": any;
|
|
33769
|
-
"euiCodeBlockCopy.copy": any;
|
|
33770
34124
|
"euiCodeBlockAnnotations.ariaLabel": any;
|
|
33771
34125
|
"euiCodeBlock.label": any;
|
|
33772
34126
|
"euiCallOut.dismissAriaLabel": any;
|
|
@@ -33788,11 +34142,11 @@ declare module '@elastic/eui' {
|
|
|
33788
34142
|
"euiBasicTable.deselectRows": any;
|
|
33789
34143
|
"euiBasicTable.selectThisRow": any;
|
|
33790
34144
|
"euiBasicTable.tablePagination": any;
|
|
34145
|
+
"euiTableSortMobile.sorting": any;
|
|
33791
34146
|
"euiTablePagination.allRows": any;
|
|
33792
34147
|
"euiTablePagination.rowsPerPage": any;
|
|
33793
34148
|
"euiTablePagination.rowsPerPageOptionShowAllRows": any;
|
|
33794
34149
|
"euiTablePagination.rowsPerPageOption": any;
|
|
33795
|
-
"euiTableSortMobile.sorting": any;
|
|
33796
34150
|
"euiSelectableTemplateSitewide.searchPlaceholder": any;
|
|
33797
34151
|
"euiSelectableTemplateSitewide.loadingResults": any;
|
|
33798
34152
|
"euiSelectableTemplateSitewide.noResults": any;
|
|
@@ -33815,29 +34169,15 @@ declare module '@elastic/eui' {
|
|
|
33815
34169
|
"euiSuperSelect.ariaLabel": any;
|
|
33816
34170
|
"euiRange.sliderScreenReaderInstructions": any;
|
|
33817
34171
|
"euiDualRange.sliderScreenReaderInstructions": any;
|
|
34172
|
+
"euiFormControlLayoutDelimited.delimiterLabel": any;
|
|
34173
|
+
"euiFormControlLayoutClearButton.label": any;
|
|
33818
34174
|
"euiFilePicker.promptText": any;
|
|
33819
34175
|
"euiFilePicker.filesSelected": any;
|
|
33820
34176
|
"euiFilePicker.removeSelectedAriaLabel": any;
|
|
33821
34177
|
"euiFilePicker.removeSelected": any;
|
|
33822
|
-
"euiFormControlLayoutDelimited.delimiterLabel": any;
|
|
33823
|
-
"euiFormControlLayoutClearButton.label": any;
|
|
33824
34178
|
"euiFieldSearch.clearSearchButtonLabel": any;
|
|
33825
34179
|
"euiFieldPassword.showPassword": any;
|
|
33826
34180
|
"euiFieldPassword.maskPassword": any;
|
|
33827
|
-
"euiRefreshInterval.fullDescriptionOff": any;
|
|
33828
|
-
"euiRefreshInterval.fullDescriptionOn": any;
|
|
33829
|
-
"euiRefreshInterval.toggleLabel": any;
|
|
33830
|
-
"euiRefreshInterval.toggleAriaLabel": any;
|
|
33831
|
-
"euiRefreshInterval.valueAriaLabel": any;
|
|
33832
|
-
"euiRefreshInterval.unitsAriaLabel": any;
|
|
33833
|
-
"euiAutoRefresh.autoRefreshLabel": any;
|
|
33834
|
-
"euiAutoRefresh.buttonLabelOff": any;
|
|
33835
|
-
"euiAutoRefresh.buttonLabelOn": any;
|
|
33836
|
-
"euiSuperUpdateButton.updatingButtonLabel": any;
|
|
33837
|
-
"euiSuperUpdateButton.updateButtonLabel": any;
|
|
33838
|
-
"euiSuperUpdateButton.refreshButtonLabel": any;
|
|
33839
|
-
"euiSuperUpdateButton.cannotUpdateTooltip": any;
|
|
33840
|
-
"euiSuperUpdateButton.clickToApplyTooltip": any;
|
|
33841
34181
|
"euiTimeOptions.last": any;
|
|
33842
34182
|
"euiTimeOptions.next": any;
|
|
33843
34183
|
"euiTimeOptions.seconds": any;
|
|
@@ -33876,6 +34216,11 @@ declare module '@elastic/eui' {
|
|
|
33876
34216
|
"euiTimeOptions.weekToDate": any;
|
|
33877
34217
|
"euiTimeOptions.monthToDate": any;
|
|
33878
34218
|
"euiTimeOptions.yearToDate": any;
|
|
34219
|
+
"euiSuperUpdateButton.updatingButtonLabel": any;
|
|
34220
|
+
"euiSuperUpdateButton.updateButtonLabel": any;
|
|
34221
|
+
"euiSuperUpdateButton.refreshButtonLabel": any;
|
|
34222
|
+
"euiSuperUpdateButton.cannotUpdateTooltip": any;
|
|
34223
|
+
"euiSuperUpdateButton.clickToApplyTooltip": any;
|
|
33879
34224
|
"euiPrettyInterval.seconds": any;
|
|
33880
34225
|
"euiPrettyInterval.minutes": any;
|
|
33881
34226
|
"euiPrettyInterval.hours": any;
|
|
@@ -33909,6 +34254,17 @@ declare module '@elastic/eui' {
|
|
|
33909
34254
|
"euiPrettyDuration.now": any;
|
|
33910
34255
|
"euiPrettyDuration.invalid": any;
|
|
33911
34256
|
"euiPrettyDuration.fallbackDuration": any;
|
|
34257
|
+
"euiRefreshInterval.fullDescriptionOff": any;
|
|
34258
|
+
"euiRefreshInterval.fullDescriptionOn": any;
|
|
34259
|
+
"euiRefreshInterval.toggleLabel": any;
|
|
34260
|
+
"euiRefreshInterval.toggleAriaLabel": any;
|
|
34261
|
+
"euiRefreshInterval.valueAriaLabel": any;
|
|
34262
|
+
"euiRefreshInterval.unitsAriaLabel": any;
|
|
34263
|
+
"euiAutoRefresh.autoRefreshLabel": any;
|
|
34264
|
+
"euiAutoRefresh.buttonLabelOff": any;
|
|
34265
|
+
"euiAutoRefresh.buttonLabelOn": any;
|
|
34266
|
+
"euiDataGridPagination.detailedPaginationLabel": any;
|
|
34267
|
+
"euiDataGridPagination.paginationLabel": any;
|
|
33912
34268
|
"euiDataGridSchema.booleanSortTextAsc": any;
|
|
33913
34269
|
"euiDataGridSchema.booleanSortTextDesc": any;
|
|
33914
34270
|
"euiDataGridSchema.currencySortTextAsc": any;
|
|
@@ -33919,8 +34275,6 @@ declare module '@elastic/eui' {
|
|
|
33919
34275
|
"euiDataGridSchema.numberSortTextDesc": any;
|
|
33920
34276
|
"euiDataGridSchema.jsonSortTextAsc": any;
|
|
33921
34277
|
"euiDataGridSchema.jsonSortTextDesc": any;
|
|
33922
|
-
"euiDataGridPagination.detailedPaginationLabel": any;
|
|
33923
|
-
"euiDataGridPagination.paginationLabel": any;
|
|
33924
34278
|
"euiKeyboardShortcuts.title": any;
|
|
33925
34279
|
"euiKeyboardShortcuts.upArrowTitle": any;
|
|
33926
34280
|
"euiKeyboardShortcuts.upArrowDescription": any;
|