@elastic/eui 67.1.2 → 69.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_charts_theme.js +5661 -5814
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +17 -813
- package/dist/eui_theme_dark.json +10 -57
- package/dist/eui_theme_dark.json.d.ts +6 -53
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +17 -813
- package/dist/eui_theme_light.json +10 -57
- package/dist/eui_theme_light.json.d.ts +6 -53
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +78 -63
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/badge_group/badge_group.js +11 -16
- package/es/components/badge/badge_group/badge_group.styles.js +19 -0
- package/es/components/badge/beta_badge/beta_badge.js +17 -27
- package/es/components/badge/beta_badge/beta_badge.styles.js +73 -0
- package/es/components/badge/notification_badge/badge_notification.js +11 -14
- package/es/components/badge/notification_badge/badge_notification.styles.js +27 -0
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +7 -1
- package/es/components/breadcrumbs/breadcrumb.js +9 -5
- package/es/components/breadcrumbs/breadcrumbs.js +7 -4
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +3 -3
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/es/components/color_picker/color_stops/color_stop_thumb.js +21 -5
- package/es/components/color_picker/color_stops/color_stops.js +14 -4
- package/es/components/combo_box/combo_box.js +52 -11
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/es/components/combo_box/matching_options.js +60 -11
- 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/datagrid/body/data_grid_body.js +40 -39
- package/es/components/datagrid/body/data_grid_cell.js +75 -74
- package/es/components/datagrid/body/header/data_grid_header_cell.js +39 -38
- package/es/components/datagrid/body/header/data_grid_header_row.js +40 -39
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +40 -39
- package/es/components/datagrid/utils/in_memory.js +39 -38
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/date_picker/super_date_picker/super_date_picker.js +5 -3
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/flex/flex_grid.js +30 -40
- package/es/components/flex/flex_grid.styles.js +137 -0
- package/es/components/flex/flex_group.js +16 -42
- package/es/components/flex/flex_group.styles.js +202 -0
- package/es/components/flex/flex_item.js +17 -16
- package/es/components/flex/flex_item.styles.js +148 -0
- package/es/components/flyout/flyout.styles.js +6 -5
- package/es/components/flyout/flyout_body.js +2 -3
- package/es/components/flyout/flyout_footer.js +2 -3
- package/es/components/flyout/flyout_header.js +2 -3
- package/es/components/flyout/index.js +2 -1
- package/es/components/form/checkbox/checkbox.js +9 -1
- package/es/components/form/described_form_group/described_form_group.js +28 -23
- package/es/components/form/eui_form_context.js +14 -0
- package/es/components/form/field_number/field_number.js +38 -23
- package/es/components/form/field_password/field_password.js +31 -20
- package/es/components/form/field_search/field_search.js +14 -2
- package/es/components/form/field_text/field_text.js +30 -20
- package/es/components/form/file_picker/file_picker.js +13 -1
- package/es/components/form/form.js +21 -3
- package/es/components/form/form.styles.js +99 -3
- package/es/components/form/form_control_layout/form_control_layout.js +19 -3
- 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/form_row/form_row.js +22 -4
- package/es/components/form/range/dual_range.js +23 -3
- package/es/components/form/range/range.js +14 -2
- package/es/components/form/range/range_wrapper.js +16 -6
- package/es/components/form/select/select.js +41 -25
- package/es/components/form/super_select/super_select.js +18 -0
- package/es/components/form/super_select/super_select_control.js +26 -22
- package/es/components/form/switch/switch.js +9 -1
- package/es/components/form/text_area/text_area.js +26 -15
- 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.js +1 -1
- package/es/components/icon/assets/beta.js +38 -0
- package/es/components/icon/assets/filter.js +1 -2
- package/es/components/icon/assets/filterExclude.js +43 -0
- package/es/components/icon/assets/filterIgnore.js +38 -0
- package/es/components/icon/assets/filterInclude.js +38 -0
- package/es/components/icon/assets/indexTemporary.js +40 -0
- package/es/components/icon/assets/infinity.js +38 -0
- package/es/components/icon/assets/launch.js +45 -0
- package/es/components/icon/assets/sortAscending.js +38 -0
- package/es/components/icon/assets/sortDescending.js +38 -0
- package/es/components/icon/assets/spaces.js +41 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +10 -0
- package/es/components/image/image_fullscreen_wrapper.js +3 -3
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +48 -55
- package/es/components/list_group/list_group.styles.js +47 -0
- package/es/components/list_group/list_group_item.js +70 -59
- package/es/components/list_group/list_group_item.styles.js +95 -0
- package/es/components/list_group/list_group_item_extra_action.js +94 -0
- package/es/components/list_group/list_group_item_extra_action.styles.js +38 -0
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +43 -38
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.styles.js +30 -0
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_section/page_section.js +4 -3
- package/es/components/pagination/pagination.js +4 -4
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/popover/input_popover.js +3 -2
- package/es/components/resizable_container/resizable_container.js +77 -16
- package/es/components/resizable_container/resizable_panel.js +2 -4
- package/es/components/search_bar/search_bar.js +6 -0
- 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/suggest/suggest.js +1 -1
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/text/text.js +1 -0
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/es/components/tool_tip/tool_tip_anchor.js +2 -2
- package/es/services/color/manipulation.js +9 -0
- package/es/services/index.js +1 -1
- package/es/test/rtl/component_helpers.d.ts +3 -0
- package/es/test/rtl/component_helpers.js +4 -1
- package/eui.d.ts +641 -148
- package/i18ntokens.json +58 -58
- package/lib/components/accessibility/skip_link/skip_link.js +84 -63
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/badge_group/badge_group.js +12 -16
- package/lib/components/badge/badge_group/badge_group.styles.js +30 -0
- package/lib/components/badge/beta_badge/beta_badge.js +18 -29
- package/lib/components/badge/beta_badge/beta_badge.styles.js +80 -0
- package/lib/components/badge/notification_badge/badge_notification.js +12 -14
- package/lib/components/badge/notification_badge/badge_notification.styles.js +40 -0
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +7 -1
- package/lib/components/breadcrumbs/breadcrumb.js +9 -5
- package/lib/components/breadcrumbs/breadcrumbs.js +7 -4
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +3 -3
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/lib/components/color_picker/color_stops/color_stop_thumb.js +21 -5
- package/lib/components/color_picker/color_stops/color_stops.js +14 -4
- package/lib/components/combo_box/combo_box.js +51 -10
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/lib/components/combo_box/matching_options.js +64 -12
- 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/datagrid/body/data_grid_body.js +40 -39
- package/lib/components/datagrid/body/data_grid_cell.js +75 -74
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +39 -38
- package/lib/components/datagrid/body/header/data_grid_header_row.js +40 -39
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +40 -39
- package/lib/components/datagrid/utils/in_memory.js +39 -38
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +5 -3
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/flex/flex_grid.js +33 -42
- package/lib/components/flex/flex_grid.styles.js +140 -0
- package/lib/components/flex/flex_group.js +17 -42
- package/lib/components/flex/flex_group.styles.js +205 -0
- package/lib/components/flex/flex_item.js +20 -19
- package/lib/components/flex/flex_item.styles.js +150 -0
- package/lib/components/flyout/flyout.styles.js +6 -3
- package/lib/components/flyout/flyout_body.js +2 -3
- package/lib/components/flyout/flyout_footer.js +2 -3
- package/lib/components/flyout/flyout_header.js +2 -3
- package/lib/components/flyout/index.js +15 -1
- package/lib/components/form/checkbox/checkbox.js +10 -3
- package/lib/components/form/described_form_group/described_form_group.js +29 -23
- package/lib/components/form/eui_form_context.js +28 -0
- package/lib/components/form/field_number/field_number.js +39 -23
- package/lib/components/form/field_password/field_password.js +32 -20
- package/lib/components/form/field_search/field_search.js +15 -2
- package/lib/components/form/field_text/field_text.js +31 -20
- package/lib/components/form/file_picker/file_picker.js +14 -1
- package/lib/components/form/form.js +23 -3
- package/lib/components/form/form.styles.js +110 -13
- package/lib/components/form/form_control_layout/form_control_layout.js +20 -3
- 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/form_row/form_row.js +23 -4
- package/lib/components/form/range/dual_range.js +24 -4
- package/lib/components/form/range/range.js +15 -2
- package/lib/components/form/range/range_wrapper.js +17 -6
- package/lib/components/form/select/select.js +42 -25
- package/lib/components/form/super_select/super_select.js +18 -0
- package/lib/components/form/super_select/super_select_control.js +27 -22
- package/lib/components/form/switch/switch.js +10 -3
- package/lib/components/form/text_area/text_area.js +27 -15
- 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.js +1 -1
- package/lib/components/icon/assets/beta.js +45 -0
- package/lib/components/icon/assets/filter.js +1 -2
- package/lib/components/icon/assets/filterExclude.js +50 -0
- package/lib/components/icon/assets/filterIgnore.js +45 -0
- package/lib/components/icon/assets/filterInclude.js +45 -0
- package/lib/components/icon/assets/indexTemporary.js +47 -0
- package/lib/components/icon/assets/infinity.js +45 -0
- package/lib/components/icon/assets/launch.js +52 -0
- package/lib/components/icon/assets/sortAscending.js +45 -0
- package/lib/components/icon/assets/sortDescending.js +45 -0
- package/lib/components/icon/assets/spaces.js +48 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +10 -0
- package/lib/components/icon/svgs/beta.svg +3 -0
- package/lib/components/icon/svgs/filter.svg +1 -1
- package/lib/components/icon/svgs/filterExclude.svg +5 -0
- package/lib/components/icon/svgs/filterIgnore.svg +4 -0
- package/lib/components/icon/svgs/filterInclude.svg +5 -0
- package/lib/components/icon/svgs/indexTemporary.svg +4 -0
- package/lib/components/icon/svgs/infinity.svg +3 -0
- package/lib/components/icon/svgs/launch.svg +5 -0
- package/lib/components/icon/svgs/sortAscending.svg +3 -0
- package/lib/components/icon/svgs/sortDescending.svg +3 -0
- package/lib/components/icon/svgs/spaces.svg +3 -0
- package/lib/components/image/image_fullscreen_wrapper.js +3 -3
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +52 -55
- package/lib/components/list_group/list_group.styles.js +51 -0
- package/lib/components/list_group/list_group_item.js +72 -59
- package/lib/components/list_group/list_group_item.styles.js +111 -0
- package/lib/components/list_group/list_group_item_extra_action.js +105 -0
- package/lib/components/list_group/list_group_item_extra_action.styles.js +41 -0
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +45 -39
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.styles.js +33 -0
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_section/page_section.js +4 -3
- package/lib/components/pagination/pagination.js +4 -4
- package/lib/components/popover/input_popover.js +2 -1
- package/lib/components/resizable_container/resizable_container.js +77 -16
- package/lib/components/resizable_container/resizable_panel.js +2 -4
- package/lib/components/search_bar/search_bar.js +6 -0
- 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/suggest/suggest.js +1 -1
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/text/text.js +1 -0
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/lib/components/tool_tip/tool_tip_anchor.js +2 -2
- package/lib/services/color/manipulation.js +14 -2
- package/lib/services/index.js +7 -0
- package/lib/test/rtl/component_helpers.d.ts +3 -0
- package/lib/test/rtl/component_helpers.js +4 -1
- package/optimize/es/components/accessibility/skip_link/skip_link.js +58 -40
- package/optimize/es/components/badge/badge_group/badge_group.js +9 -13
- package/optimize/es/components/badge/badge_group/badge_group.styles.js +19 -0
- package/optimize/es/components/badge/beta_badge/beta_badge.js +14 -24
- package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +63 -0
- package/optimize/es/components/badge/notification_badge/badge_notification.js +9 -12
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +27 -0
- package/optimize/es/components/breadcrumbs/breadcrumb.js +3 -2
- package/optimize/es/components/breadcrumbs/breadcrumbs.js +7 -4
- package/optimize/es/components/color_picker/color_stops/color_stop_thumb.js +15 -5
- package/optimize/es/components/color_picker/color_stops/color_stops.js +9 -4
- package/optimize/es/components/combo_box/combo_box.js +47 -11
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/optimize/es/components/combo_box/matching_options.js +60 -11
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +5 -3
- package/optimize/es/components/flex/flex_grid.js +18 -34
- package/optimize/es/components/flex/flex_grid.styles.js +137 -0
- package/optimize/es/components/flex/flex_group.js +12 -38
- package/optimize/es/components/flex/flex_group.styles.js +202 -0
- package/optimize/es/components/flex/flex_item.js +11 -14
- package/optimize/es/components/flex/flex_item.styles.js +148 -0
- package/optimize/es/components/flyout/flyout.styles.js +6 -5
- package/optimize/es/components/flyout/flyout_body.js +2 -3
- package/optimize/es/components/flyout/flyout_footer.js +2 -3
- package/optimize/es/components/flyout/flyout_header.js +2 -3
- package/optimize/es/components/flyout/index.js +2 -1
- package/optimize/es/components/form/checkbox/checkbox.js +9 -1
- package/optimize/es/components/form/described_form_group/described_form_group.js +22 -22
- package/optimize/es/components/form/eui_form_context.js +14 -0
- package/optimize/es/components/form/field_number/field_number.js +26 -22
- package/optimize/es/components/form/field_password/field_password.js +24 -20
- package/optimize/es/components/form/field_search/field_search.js +8 -2
- package/optimize/es/components/form/field_text/field_text.js +22 -18
- package/optimize/es/components/form/file_picker/file_picker.js +7 -1
- package/optimize/es/components/form/form.js +11 -2
- package/optimize/es/components/form/form.styles.js +99 -3
- package/optimize/es/components/form/form_control_layout/form_control_layout.js +10 -2
- package/optimize/es/components/form/form_row/form_row.js +10 -4
- package/optimize/es/components/form/range/dual_range.js +17 -3
- package/optimize/es/components/form/range/range.js +8 -2
- package/optimize/es/components/form/range/range_wrapper.js +11 -6
- package/optimize/es/components/form/select/select.js +28 -24
- package/optimize/es/components/form/super_select/super_select_control.js +26 -22
- package/optimize/es/components/form/switch/switch.js +9 -1
- package/optimize/es/components/form/text_area/text_area.js +19 -15
- package/optimize/es/components/icon/assets/beta.js +34 -0
- package/optimize/es/components/icon/assets/filter.js +1 -2
- package/optimize/es/components/icon/assets/filterExclude.js +39 -0
- package/optimize/es/components/icon/assets/filterIgnore.js +34 -0
- package/optimize/es/components/icon/assets/filterInclude.js +34 -0
- package/optimize/es/components/icon/assets/indexTemporary.js +36 -0
- package/optimize/es/components/icon/assets/infinity.js +34 -0
- package/optimize/es/components/icon/assets/launch.js +41 -0
- package/optimize/es/components/icon/assets/sortAscending.js +34 -0
- package/optimize/es/components/icon/assets/sortDescending.js +34 -0
- package/optimize/es/components/icon/assets/spaces.js +37 -0
- package/optimize/es/components/icon/icon_map.js +10 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.js +3 -3
- package/optimize/es/components/list_group/list_group.js +30 -39
- package/optimize/es/components/list_group/list_group.styles.js +47 -0
- package/optimize/es/components/list_group/list_group_item.js +61 -51
- package/optimize/es/components/list_group/list_group_item.styles.js +95 -0
- package/optimize/es/components/list_group/list_group_item_extra_action.js +38 -0
- package/optimize/es/components/list_group/list_group_item_extra_action.styles.js +38 -0
- package/optimize/es/components/list_group/pinnable_list_group/pinnable_list_group.js +16 -14
- package/optimize/es/components/list_group/pinnable_list_group/pinnable_list_group.styles.js +30 -0
- package/optimize/es/components/page/page_section/page_section.js +4 -3
- package/optimize/es/components/pagination/pagination.js +4 -4
- package/optimize/es/components/popover/input_popover.js +3 -2
- package/optimize/es/components/resizable_container/resizable_container.js +67 -16
- package/optimize/es/components/resizable_container/resizable_panel.js +2 -4
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +2 -2
- package/optimize/es/services/color/manipulation.js +9 -0
- package/optimize/es/services/index.js +1 -1
- package/optimize/es/test/rtl/component_helpers.d.ts +3 -0
- package/optimize/es/test/rtl/component_helpers.js +4 -1
- package/optimize/lib/components/accessibility/skip_link/skip_link.js +70 -46
- package/optimize/lib/components/badge/badge_group/badge_group.js +10 -13
- package/optimize/lib/components/badge/badge_group/badge_group.styles.js +30 -0
- package/optimize/lib/components/badge/beta_badge/beta_badge.js +15 -26
- package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +72 -0
- package/optimize/lib/components/badge/notification_badge/badge_notification.js +10 -12
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +40 -0
- package/optimize/lib/components/breadcrumbs/breadcrumb.js +3 -2
- package/optimize/lib/components/breadcrumbs/breadcrumbs.js +7 -4
- package/optimize/lib/components/color_picker/color_stops/color_stop_thumb.js +17 -12
- package/optimize/lib/components/color_picker/color_stops/color_stops.js +11 -4
- package/optimize/lib/components/combo_box/combo_box.js +46 -10
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/optimize/lib/components/combo_box/matching_options.js +64 -12
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +5 -3
- package/optimize/lib/components/flex/flex_grid.js +21 -36
- package/optimize/lib/components/flex/flex_grid.styles.js +140 -0
- package/optimize/lib/components/flex/flex_group.js +13 -38
- package/optimize/lib/components/flex/flex_group.styles.js +205 -0
- package/optimize/lib/components/flex/flex_item.js +14 -17
- package/optimize/lib/components/flex/flex_item.styles.js +150 -0
- package/optimize/lib/components/flyout/flyout.styles.js +6 -3
- package/optimize/lib/components/flyout/flyout_body.js +2 -3
- package/optimize/lib/components/flyout/flyout_footer.js +2 -3
- package/optimize/lib/components/flyout/flyout_header.js +2 -3
- package/optimize/lib/components/flyout/index.js +15 -1
- package/optimize/lib/components/form/checkbox/checkbox.js +10 -3
- package/optimize/lib/components/form/described_form_group/described_form_group.js +23 -22
- package/optimize/lib/components/form/eui_form_context.js +28 -0
- package/optimize/lib/components/form/field_number/field_number.js +27 -22
- package/optimize/lib/components/form/field_password/field_password.js +24 -20
- package/optimize/lib/components/form/field_search/field_search.js +7 -2
- package/optimize/lib/components/form/field_text/field_text.js +23 -18
- package/optimize/lib/components/form/file_picker/file_picker.js +7 -1
- package/optimize/lib/components/form/form.js +14 -2
- package/optimize/lib/components/form/form.styles.js +112 -13
- package/optimize/lib/components/form/form_control_layout/form_control_layout.js +10 -2
- package/optimize/lib/components/form/form_row/form_row.js +9 -4
- package/optimize/lib/components/form/range/dual_range.js +16 -4
- package/optimize/lib/components/form/range/range.js +7 -2
- package/optimize/lib/components/form/range/range_wrapper.js +12 -6
- package/optimize/lib/components/form/select/select.js +29 -24
- package/optimize/lib/components/form/super_select/super_select_control.js +27 -22
- package/optimize/lib/components/form/switch/switch.js +10 -3
- package/optimize/lib/components/form/text_area/text_area.js +20 -15
- package/optimize/lib/components/icon/assets/beta.js +44 -0
- package/optimize/lib/components/icon/assets/filter.js +1 -2
- package/optimize/lib/components/icon/assets/filterExclude.js +49 -0
- package/optimize/lib/components/icon/assets/filterIgnore.js +44 -0
- package/optimize/lib/components/icon/assets/filterInclude.js +44 -0
- package/optimize/lib/components/icon/assets/indexTemporary.js +46 -0
- package/optimize/lib/components/icon/assets/infinity.js +44 -0
- package/optimize/lib/components/icon/assets/launch.js +51 -0
- package/optimize/lib/components/icon/assets/sortAscending.js +44 -0
- package/optimize/lib/components/icon/assets/sortDescending.js +44 -0
- package/optimize/lib/components/icon/assets/spaces.js +47 -0
- package/optimize/lib/components/icon/icon_map.js +10 -0
- package/optimize/lib/components/icon/svgs/beta.svg +3 -0
- package/optimize/lib/components/icon/svgs/filter.svg +1 -1
- package/optimize/lib/components/icon/svgs/filterExclude.svg +5 -0
- package/optimize/lib/components/icon/svgs/filterIgnore.svg +4 -0
- package/optimize/lib/components/icon/svgs/filterInclude.svg +5 -0
- package/optimize/lib/components/icon/svgs/indexTemporary.svg +4 -0
- package/optimize/lib/components/icon/svgs/infinity.svg +3 -0
- package/optimize/lib/components/icon/svgs/launch.svg +5 -0
- package/optimize/lib/components/icon/svgs/sortAscending.svg +3 -0
- package/optimize/lib/components/icon/svgs/sortDescending.svg +3 -0
- package/optimize/lib/components/icon/svgs/spaces.svg +3 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +3 -3
- package/optimize/lib/components/list_group/list_group.js +34 -39
- package/optimize/lib/components/list_group/list_group.styles.js +51 -0
- package/optimize/lib/components/list_group/list_group_item.js +63 -51
- package/optimize/lib/components/list_group/list_group_item.styles.js +111 -0
- package/optimize/lib/components/list_group/list_group_item_extra_action.js +49 -0
- package/optimize/lib/components/list_group/list_group_item_extra_action.styles.js +41 -0
- package/optimize/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +18 -15
- package/optimize/lib/components/list_group/pinnable_list_group/pinnable_list_group.styles.js +33 -0
- package/optimize/lib/components/page/page_section/page_section.js +4 -3
- package/optimize/lib/components/pagination/pagination.js +4 -4
- package/optimize/lib/components/popover/input_popover.js +2 -1
- package/optimize/lib/components/resizable_container/resizable_container.js +67 -16
- package/optimize/lib/components/resizable_container/resizable_panel.js +2 -4
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +2 -2
- package/optimize/lib/services/color/manipulation.js +14 -2
- package/optimize/lib/services/index.js +7 -0
- package/optimize/lib/test/rtl/component_helpers.d.ts +3 -0
- package/optimize/lib/test/rtl/component_helpers.js +4 -1
- package/package.json +17 -15
- package/src/components/index.scss +0 -3
- package/src/global_styling/mixins/_form.scss +13 -4
- package/src/global_styling/variables/_borders.scss +2 -2
- package/src/global_styling/variables/_form.scss +17 -9
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -1
- package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -2
- package/src/themes/amsterdam/overrides/_index.scss +0 -2
- package/test-env/components/accessibility/skip_link/skip_link.js +74 -63
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/badge_group/badge_group.js +12 -16
- package/test-env/components/badge/badge_group/badge_group.styles.js +30 -0
- package/test-env/components/badge/beta_badge/beta_badge.js +18 -29
- package/test-env/components/badge/beta_badge/beta_badge.styles.js +72 -0
- package/test-env/components/badge/notification_badge/badge_notification.js +12 -14
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +40 -0
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +7 -1
- package/test-env/components/breadcrumbs/breadcrumb.js +9 -5
- package/test-env/components/breadcrumbs/breadcrumbs.js +7 -4
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +3 -3
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/test-env/components/color_picker/color_stops/color_stop_thumb.js +18 -12
- package/test-env/components/color_picker/color_stops/color_stops.js +12 -5
- package/test-env/components/combo_box/combo_box.js +51 -10
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/test-env/components/combo_box/matching_options.js +64 -12
- 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/datagrid/body/data_grid_body.js +40 -39
- package/test-env/components/datagrid/body/data_grid_cell.js +75 -74
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +39 -38
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +40 -39
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +40 -39
- package/test-env/components/datagrid/utils/in_memory.js +39 -38
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +5 -3
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/flex/flex_grid.js +33 -42
- package/test-env/components/flex/flex_grid.styles.js +140 -0
- package/test-env/components/flex/flex_group.js +17 -42
- package/test-env/components/flex/flex_group.styles.js +205 -0
- package/test-env/components/flex/flex_item.js +20 -18
- package/test-env/components/flex/flex_item.styles.js +150 -0
- package/test-env/components/flyout/flyout.styles.js +6 -3
- package/test-env/components/flyout/flyout_body.js +2 -3
- package/test-env/components/flyout/flyout_footer.js +2 -3
- package/test-env/components/flyout/flyout_header.js +2 -3
- package/test-env/components/flyout/index.js +15 -1
- package/test-env/components/form/checkbox/checkbox.js +10 -3
- package/test-env/components/form/described_form_group/described_form_group.js +29 -23
- package/test-env/components/form/eui_form_context.js +28 -0
- package/test-env/components/form/field_number/field_number.js +39 -23
- package/test-env/components/form/field_password/field_password.js +31 -20
- package/test-env/components/form/field_search/field_search.js +13 -2
- package/test-env/components/form/field_text/field_text.js +31 -20
- package/test-env/components/form/file_picker/file_picker.js +13 -1
- package/test-env/components/form/form.js +24 -3
- package/test-env/components/form/form.styles.js +112 -13
- package/test-env/components/form/form_control_layout/form_control_layout.js +17 -3
- 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/form_row/form_row.js +21 -4
- package/test-env/components/form/range/dual_range.js +22 -4
- package/test-env/components/form/range/range.js +13 -2
- package/test-env/components/form/range/range_wrapper.js +17 -6
- package/test-env/components/form/select/select.js +41 -24
- package/test-env/components/form/super_select/super_select.js +18 -0
- package/test-env/components/form/super_select/super_select_control.js +27 -22
- package/test-env/components/form/switch/switch.js +10 -3
- package/test-env/components/form/text_area/text_area.js +27 -15
- 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.js +1 -1
- package/test-env/components/icon/assets/beta.js +44 -0
- package/test-env/components/icon/assets/filter.js +1 -2
- package/test-env/components/icon/assets/filterExclude.js +49 -0
- package/test-env/components/icon/assets/filterIgnore.js +44 -0
- package/test-env/components/icon/assets/filterInclude.js +44 -0
- package/test-env/components/icon/assets/indexTemporary.js +46 -0
- package/test-env/components/icon/assets/infinity.js +44 -0
- package/test-env/components/icon/assets/launch.js +51 -0
- package/test-env/components/icon/assets/sortAscending.js +44 -0
- package/test-env/components/icon/assets/sortDescending.js +44 -0
- package/test-env/components/icon/assets/spaces.js +47 -0
- package/test-env/components/icon/icon_map.js +10 -0
- package/test-env/components/image/image_fullscreen_wrapper.js +3 -3
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +52 -55
- package/test-env/components/list_group/list_group.styles.js +51 -0
- package/test-env/components/list_group/list_group_item.js +72 -59
- package/test-env/components/list_group/list_group_item.styles.js +111 -0
- package/test-env/components/list_group/list_group_item_extra_action.js +102 -0
- package/test-env/components/list_group/list_group_item_extra_action.styles.js +41 -0
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +45 -39
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.styles.js +33 -0
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_section/page_section.js +4 -3
- package/test-env/components/pagination/pagination.js +4 -4
- package/test-env/components/popover/input_popover.js +2 -1
- package/test-env/components/resizable_container/resizable_container.js +77 -16
- package/test-env/components/resizable_container/resizable_panel.js +2 -4
- package/test-env/components/search_bar/search_bar.js +6 -0
- 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/suggest/suggest.js +1 -1
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/text/text.js +1 -0
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/test-env/components/tool_tip/tool_tip_anchor.js +2 -2
- package/test-env/services/color/manipulation.js +14 -2
- package/test-env/services/index.js +7 -0
- package/test-env/test/rtl/component_helpers.js +4 -1
- package/src/components/badge/_index.scss +0 -3
- package/src/components/badge/badge_group/_badge_group.scss +0 -23
- package/src/components/badge/badge_group/_index.scss +0 -1
- package/src/components/badge/beta_badge/_beta_badge.scss +0 -91
- package/src/components/badge/beta_badge/_index.scss +0 -1
- package/src/components/badge/notification_badge/_index.scss +0 -1
- package/src/components/badge/notification_badge/_notification_badge.scss +0 -34
- package/src/components/flex/_flex_grid.scss +0 -99
- package/src/components/flex/_flex_group.scss +0 -100
- package/src/components/flex/_flex_item.scss +0 -35
- package/src/components/flex/_index.scss +0 -3
- package/src/components/list_group/_index.scss +0 -5
- package/src/components/list_group/_list_group.scss +0 -32
- package/src/components/list_group/_list_group_item.scss +0 -151
- package/src/components/list_group/_variables.scss +0 -21
- package/src/components/list_group/pinnable_list_group/_index.scss +0 -1
- package/src/components/list_group/pinnable_list_group/_pinnable_list_group.scss +0 -9
- package/src/themes/amsterdam/global_styling/mixins/_form.scss +0 -47
- package/src/themes/amsterdam/global_styling/variables/_borders.scss +0 -2
- package/src/themes/amsterdam/global_styling/variables/_form.scss +0 -23
- package/src/themes/amsterdam/overrides/_list_group_item.scss +0 -3
- package/src/themes/amsterdam/overrides/_notification_badge.scss +0 -4
package/eui.d.ts
CHANGED
|
@@ -959,6 +959,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
959
959
|
beaker: string;
|
|
960
960
|
bell: string;
|
|
961
961
|
bellSlash: string;
|
|
962
|
+
beta: string;
|
|
962
963
|
bolt: string;
|
|
963
964
|
boxesHorizontal: string;
|
|
964
965
|
boxesVertical: string;
|
|
@@ -1063,6 +1064,9 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1063
1064
|
faceSad: string;
|
|
1064
1065
|
filebeatApp: string;
|
|
1065
1066
|
filter: string;
|
|
1067
|
+
filterExclude: string;
|
|
1068
|
+
filterIgnore: string;
|
|
1069
|
+
filterInclude: string;
|
|
1066
1070
|
flag: string;
|
|
1067
1071
|
fleetApp: string;
|
|
1068
1072
|
fold: string;
|
|
@@ -1102,6 +1106,8 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1102
1106
|
indexRollupApp: string;
|
|
1103
1107
|
indexRuntime: string;
|
|
1104
1108
|
indexSettings: string;
|
|
1109
|
+
indexTemporary: string;
|
|
1110
|
+
infinity: string;
|
|
1105
1111
|
inputOutput: string;
|
|
1106
1112
|
inspect: string;
|
|
1107
1113
|
invert: string;
|
|
@@ -1114,6 +1120,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1114
1120
|
kqlValue: string;
|
|
1115
1121
|
kubernetesNode: string;
|
|
1116
1122
|
kubernetesPod: string;
|
|
1123
|
+
launch: string;
|
|
1117
1124
|
layers: string;
|
|
1118
1125
|
lensApp: string;
|
|
1119
1126
|
lettering: string;
|
|
@@ -1261,11 +1268,14 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1261
1268
|
shard: string;
|
|
1262
1269
|
share: string;
|
|
1263
1270
|
snowflake: string;
|
|
1271
|
+
sortAscending: string;
|
|
1272
|
+
sortDescending: string;
|
|
1264
1273
|
sortDown: string;
|
|
1265
1274
|
sortLeft: string;
|
|
1266
1275
|
sortRight: string;
|
|
1267
1276
|
sortUp: string;
|
|
1268
1277
|
sortable: string;
|
|
1278
|
+
spaces: string;
|
|
1269
1279
|
spacesApp: string;
|
|
1270
1280
|
sqlApp: string;
|
|
1271
1281
|
starEmpty: string;
|
|
@@ -1447,7 +1457,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1447
1457
|
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
1448
1458
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
1449
1459
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
1450
|
-
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "alert" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1460
|
+
export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "alert" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1451
1461
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
1452
1462
|
export type IconType = EuiIconType | string | ComponentType;
|
|
1453
1463
|
export type IconColor = string | NamedColor;
|
|
@@ -1490,7 +1500,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1490
1500
|
isLoading: boolean;
|
|
1491
1501
|
neededLoading: boolean;
|
|
1492
1502
|
}
|
|
1493
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "alert" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1503
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "alert" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1494
1504
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
1495
1505
|
[iconType: string]: React.ComponentType<{}>;
|
|
1496
1506
|
}) => void;
|
|
@@ -2782,6 +2792,7 @@ declare module '@elastic/eui/src/components/text/text' {
|
|
|
2782
2792
|
size?: TextSize;
|
|
2783
2793
|
/**
|
|
2784
2794
|
* Any of our named colors or a `hex`, `rgb` or `rgba` value.
|
|
2795
|
+
* @default inherit
|
|
2785
2796
|
*/
|
|
2786
2797
|
color?: TextColor | CSSProperties['color'];
|
|
2787
2798
|
grow?: boolean;
|
|
@@ -2797,118 +2808,175 @@ declare module '@elastic/eui/src/components/text' {
|
|
|
2797
2808
|
export type { EuiTextAlignProps } from '@elastic/eui/src/components/text/text_align';
|
|
2798
2809
|
export { EuiTextAlign } from '@elastic/eui/src/components/text/text_align';
|
|
2799
2810
|
|
|
2811
|
+
}
|
|
2812
|
+
declare module '@elastic/eui/src/components/flex/flex_group.styles' {
|
|
2813
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2814
|
+
export const euiFlexGroupStyles: (euiThemeContext: UseEuiTheme) => {
|
|
2815
|
+
euiFlexGroup: import("@emotion/utils").SerializedStyles;
|
|
2816
|
+
responsive: import("@emotion/utils").SerializedStyles;
|
|
2817
|
+
wrap: import("@emotion/utils").SerializedStyles;
|
|
2818
|
+
gutterSizes: {
|
|
2819
|
+
none: import("@emotion/utils").SerializedStyles;
|
|
2820
|
+
xs: import("@emotion/utils").SerializedStyles;
|
|
2821
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
2822
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
2823
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
2824
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
2825
|
+
};
|
|
2826
|
+
justifyContent: {
|
|
2827
|
+
flexStart: import("@emotion/utils").SerializedStyles;
|
|
2828
|
+
flexEnd: import("@emotion/utils").SerializedStyles;
|
|
2829
|
+
spaceEvenly: import("@emotion/utils").SerializedStyles;
|
|
2830
|
+
spaceBetween: import("@emotion/utils").SerializedStyles;
|
|
2831
|
+
spaceAround: import("@emotion/utils").SerializedStyles;
|
|
2832
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
2833
|
+
};
|
|
2834
|
+
alignItems: {
|
|
2835
|
+
stretch: import("@emotion/utils").SerializedStyles;
|
|
2836
|
+
flexStart: import("@emotion/utils").SerializedStyles;
|
|
2837
|
+
flexEnd: import("@emotion/utils").SerializedStyles;
|
|
2838
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
2839
|
+
baseline: import("@emotion/utils").SerializedStyles;
|
|
2840
|
+
};
|
|
2841
|
+
direction: {
|
|
2842
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
2843
|
+
rowReverse: import("@emotion/utils").SerializedStyles;
|
|
2844
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
2845
|
+
columnReverse: import("@emotion/utils").SerializedStyles;
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2848
|
+
|
|
2800
2849
|
}
|
|
2801
2850
|
declare module '@elastic/eui/src/components/flex/flex_group' {
|
|
2802
2851
|
import React, { HTMLAttributes } from 'react';
|
|
2803
2852
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2804
|
-
export
|
|
2805
|
-
export type
|
|
2806
|
-
export
|
|
2807
|
-
export type
|
|
2808
|
-
export type FlexGroupJustifyContent =
|
|
2853
|
+
export const GUTTER_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
|
|
2854
|
+
export type EuiFlexGroupGutterSize = typeof GUTTER_SIZES[number];
|
|
2855
|
+
export const ALIGN_ITEMS: readonly ["stretch", "flexStart", "flexEnd", "center", "baseline"];
|
|
2856
|
+
export type FlexGroupAlignItems = typeof ALIGN_ITEMS[number];
|
|
2857
|
+
export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"]; type FlexGroupJustifyContent = typeof JUSTIFY_CONTENTS[number];
|
|
2858
|
+
export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"]; type FlexGroupDirection = typeof DIRECTIONS[number]; type FlexGroupComponentType = 'div' | 'span';
|
|
2809
2859
|
export interface EuiFlexGroupProps extends CommonProps, HTMLAttributes<HTMLDivElement | HTMLSpanElement> {
|
|
2810
2860
|
alignItems?: FlexGroupAlignItems;
|
|
2811
2861
|
component?: FlexGroupComponentType;
|
|
2812
2862
|
direction?: FlexGroupDirection;
|
|
2813
|
-
gutterSize?:
|
|
2863
|
+
gutterSize?: EuiFlexGroupGutterSize;
|
|
2814
2864
|
justifyContent?: FlexGroupJustifyContent;
|
|
2815
2865
|
responsive?: boolean;
|
|
2816
2866
|
wrap?: boolean;
|
|
2817
|
-
}
|
|
2818
|
-
none: null;
|
|
2819
|
-
xs: string;
|
|
2820
|
-
s: string;
|
|
2821
|
-
m: string;
|
|
2822
|
-
l: string;
|
|
2823
|
-
xl: string;
|
|
2824
|
-
};
|
|
2825
|
-
export const GUTTER_SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
|
|
2826
|
-
export type EuiFlexGroupGutterSize = keyof typeof gutterSizeToClassNameMap; const alignItemsToClassNameMap: {
|
|
2827
|
-
stretch: null;
|
|
2828
|
-
flexStart: string;
|
|
2829
|
-
flexEnd: string;
|
|
2830
|
-
center: string;
|
|
2831
|
-
baseline: string;
|
|
2832
|
-
};
|
|
2833
|
-
export const ALIGN_ITEMS: ("center" | "baseline" | "stretch" | "flexStart" | "flexEnd")[]; const justifyContentToClassNameMap: {
|
|
2834
|
-
flexStart: null;
|
|
2835
|
-
flexEnd: string;
|
|
2836
|
-
center: string;
|
|
2837
|
-
spaceBetween: string;
|
|
2838
|
-
spaceAround: string;
|
|
2839
|
-
spaceEvenly: string;
|
|
2840
|
-
};
|
|
2841
|
-
export const JUSTIFY_CONTENTS: ("center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly")[]; const directionToClassNameMap: {
|
|
2842
|
-
row: string;
|
|
2843
|
-
rowReverse: string;
|
|
2844
|
-
column: string;
|
|
2845
|
-
columnReverse: string;
|
|
2846
|
-
};
|
|
2847
|
-
export const DIRECTIONS: ("row" | "column" | "rowReverse" | "columnReverse")[];
|
|
2867
|
+
}
|
|
2848
2868
|
export const EuiFlexGroup: React.ForwardRefExoticComponent<EuiFlexGroupProps & React.RefAttributes<HTMLDivElement | HTMLSpanElement>>;
|
|
2849
2869
|
export {};
|
|
2850
2870
|
|
|
2871
|
+
}
|
|
2872
|
+
declare module '@elastic/eui/src/components/flex/flex_grid.styles' {
|
|
2873
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2874
|
+
export const euiFlexGridStyles: (euiThemeContext: UseEuiTheme, gridTemplateRows?: number) => {
|
|
2875
|
+
euiFlexGrid: import("@emotion/utils").SerializedStyles;
|
|
2876
|
+
responsive: import("@emotion/utils").SerializedStyles;
|
|
2877
|
+
direction: {
|
|
2878
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
2879
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
2880
|
+
};
|
|
2881
|
+
columnCount: {
|
|
2882
|
+
'1': import("@emotion/utils").SerializedStyles;
|
|
2883
|
+
'2': import("@emotion/utils").SerializedStyles;
|
|
2884
|
+
'3': import("@emotion/utils").SerializedStyles;
|
|
2885
|
+
'4': import("@emotion/utils").SerializedStyles;
|
|
2886
|
+
};
|
|
2887
|
+
gutterSizes: {
|
|
2888
|
+
none: import("@emotion/utils").SerializedStyles;
|
|
2889
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
2890
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
2891
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
2892
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
2893
|
+
};
|
|
2894
|
+
alignItems: {
|
|
2895
|
+
stretch: import("@emotion/utils").SerializedStyles;
|
|
2896
|
+
start: import("@emotion/utils").SerializedStyles;
|
|
2897
|
+
end: import("@emotion/utils").SerializedStyles;
|
|
2898
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
2899
|
+
baseline: import("@emotion/utils").SerializedStyles;
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
|
|
2851
2903
|
}
|
|
2852
2904
|
declare module '@elastic/eui/src/components/flex/flex_grid' {
|
|
2853
|
-
import { HTMLAttributes, ReactNode, FunctionComponent } from 'react';
|
|
2905
|
+
import { HTMLAttributes, ReactNode, FunctionComponent, ElementType } from 'react';
|
|
2854
2906
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2855
|
-
export
|
|
2856
|
-
export type
|
|
2857
|
-
export
|
|
2907
|
+
export const DIRECTIONS: readonly ["row", "column"];
|
|
2908
|
+
export type FlexGridDirection = typeof DIRECTIONS[number];
|
|
2909
|
+
export const ALIGN_ITEMS: readonly ["stretch", "start", "end", "center", "baseline"];
|
|
2910
|
+
export type FlexGridAlignItems = typeof ALIGN_ITEMS[number];
|
|
2911
|
+
export const GUTTER_SIZES: readonly ["none", "s", "m", "l", "xl"];
|
|
2912
|
+
export type FlexGridGutterSize = typeof GUTTER_SIZES[number];
|
|
2858
2913
|
export interface EuiFlexGridProps {
|
|
2859
2914
|
/**
|
|
2860
2915
|
* ReactNode to render as this component's content
|
|
2861
2916
|
*/
|
|
2862
2917
|
children?: ReactNode;
|
|
2863
2918
|
/**
|
|
2864
|
-
* Number of columns `1-4
|
|
2919
|
+
* Number of columns. Accepts `1-4`
|
|
2865
2920
|
*/
|
|
2866
|
-
columns?:
|
|
2921
|
+
columns?: 1 | 2 | 3 | 4;
|
|
2867
2922
|
/**
|
|
2868
2923
|
* Flex layouts default to left-right then top-down (`row`).
|
|
2869
2924
|
* Change this prop to `column` to create a top-down then left-right display.
|
|
2870
|
-
* Only works with column count of `1-4`.
|
|
2871
2925
|
*/
|
|
2872
2926
|
direction?: FlexGridDirection;
|
|
2927
|
+
/**
|
|
2928
|
+
* Aligns grid items vertically
|
|
2929
|
+
*/
|
|
2930
|
+
alignItems?: FlexGridAlignItems;
|
|
2873
2931
|
/**
|
|
2874
2932
|
* Space between flex items
|
|
2875
2933
|
*/
|
|
2876
2934
|
gutterSize?: FlexGridGutterSize;
|
|
2877
2935
|
/**
|
|
2878
|
-
*
|
|
2936
|
+
* Will display each item at full-width on smaller screens
|
|
2879
2937
|
*/
|
|
2880
2938
|
responsive?: boolean;
|
|
2881
2939
|
/**
|
|
2882
2940
|
* The tag to render
|
|
2941
|
+
* @default div
|
|
2883
2942
|
*/
|
|
2884
|
-
component?:
|
|
2885
|
-
}
|
|
2886
|
-
row: null;
|
|
2887
|
-
column: string;
|
|
2888
|
-
};
|
|
2889
|
-
export const DIRECTIONS: ("row" | "column")[]; const gutterSizeToClassNameMap: {
|
|
2890
|
-
none: string;
|
|
2891
|
-
s: string;
|
|
2892
|
-
m: string;
|
|
2893
|
-
l: string;
|
|
2894
|
-
xl: string;
|
|
2895
|
-
};
|
|
2896
|
-
export const GUTTER_SIZES: FlexGridGutterSize[];
|
|
2897
|
-
export const COLUMNS: FlexGridColumns[];
|
|
2943
|
+
component?: ElementType;
|
|
2944
|
+
}
|
|
2898
2945
|
export const EuiFlexGrid: FunctionComponent<CommonProps & HTMLAttributes<HTMLDivElement> & EuiFlexGridProps>;
|
|
2899
|
-
|
|
2946
|
+
|
|
2947
|
+
}
|
|
2948
|
+
declare module '@elastic/eui/src/components/flex/flex_item.styles' {
|
|
2949
|
+
export const euiFlexItemStyles: () => {
|
|
2950
|
+
euiFlexItem: import("@emotion/utils").SerializedStyles;
|
|
2951
|
+
growZero: import("@emotion/utils").SerializedStyles;
|
|
2952
|
+
grow: import("@emotion/utils").SerializedStyles;
|
|
2953
|
+
growSizes: {
|
|
2954
|
+
'1': import("@emotion/utils").SerializedStyles;
|
|
2955
|
+
'2': import("@emotion/utils").SerializedStyles;
|
|
2956
|
+
'3': import("@emotion/utils").SerializedStyles;
|
|
2957
|
+
'4': import("@emotion/utils").SerializedStyles;
|
|
2958
|
+
'5': import("@emotion/utils").SerializedStyles;
|
|
2959
|
+
'6': import("@emotion/utils").SerializedStyles;
|
|
2960
|
+
'7': import("@emotion/utils").SerializedStyles;
|
|
2961
|
+
'8': import("@emotion/utils").SerializedStyles;
|
|
2962
|
+
'9': import("@emotion/utils").SerializedStyles;
|
|
2963
|
+
'10': import("@emotion/utils").SerializedStyles;
|
|
2964
|
+
};
|
|
2965
|
+
};
|
|
2900
2966
|
|
|
2901
2967
|
}
|
|
2902
2968
|
declare module '@elastic/eui/src/components/flex/flex_item' {
|
|
2903
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
2969
|
+
import { HTMLAttributes, FunctionComponent, ElementType } from 'react';
|
|
2904
2970
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
2905
|
-
export type FlexItemGrowSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | true | false | null;
|
|
2906
2971
|
export interface EuiFlexItemProps {
|
|
2907
|
-
grow?:
|
|
2908
|
-
|
|
2972
|
+
grow?: boolean | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null;
|
|
2973
|
+
/**
|
|
2974
|
+
* @default div
|
|
2975
|
+
*/
|
|
2976
|
+
component?: ElementType;
|
|
2909
2977
|
}
|
|
2910
|
-
export const GROW_SIZES: FlexItemGrowSize[];
|
|
2911
2978
|
export const EuiFlexItem: FunctionComponent<CommonProps & HTMLAttributes<HTMLDivElement | HTMLSpanElement> & EuiFlexItemProps>;
|
|
2979
|
+
export const VALID_GROW_VALUES: readonly [null, undefined, true, false, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
2912
2980
|
|
|
2913
2981
|
}
|
|
2914
2982
|
declare module '@elastic/eui/src/components/flex' {
|
|
@@ -2919,6 +2987,15 @@ declare module '@elastic/eui/src/components/flex' {
|
|
|
2919
2987
|
export type { EuiFlexItemProps } from '@elastic/eui/src/components/flex/flex_item';
|
|
2920
2988
|
export { EuiFlexItem } from '@elastic/eui/src/components/flex/flex_item';
|
|
2921
2989
|
|
|
2990
|
+
}
|
|
2991
|
+
declare module '@elastic/eui/src/components/form/eui_form_context' {
|
|
2992
|
+
import React from 'react';
|
|
2993
|
+
export interface FormContextValue {
|
|
2994
|
+
defaultFullWidth: boolean;
|
|
2995
|
+
}
|
|
2996
|
+
export const FormContext: React.Context<FormContextValue>;
|
|
2997
|
+
export function useFormContext(): FormContextValue;
|
|
2998
|
+
|
|
2922
2999
|
}
|
|
2923
3000
|
declare module '@elastic/eui/src/components/form/described_form_group/described_form_group' {
|
|
2924
3001
|
import { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
|
|
@@ -2932,17 +3009,21 @@ declare module '@elastic/eui/src/components/form/described_form_group/described_
|
|
|
2932
3009
|
children?: ReactNode;
|
|
2933
3010
|
/**
|
|
2934
3011
|
* Passed to `EuiFlexGroup`.
|
|
3012
|
+
* @default l
|
|
2935
3013
|
*/
|
|
2936
3014
|
gutterSize?: EuiFlexGroupGutterSize;
|
|
2937
3015
|
/**
|
|
2938
3016
|
* Expand to fill 100% of the parent.
|
|
3017
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
2939
3018
|
* Default max-width is 800px.
|
|
3019
|
+
* @default false
|
|
2940
3020
|
*/
|
|
2941
3021
|
fullWidth?: boolean;
|
|
2942
3022
|
/**
|
|
2943
3023
|
* Width ratio of description column compared to field column.
|
|
2944
3024
|
* Can be used in conjunction with `fullWidth` and
|
|
2945
3025
|
* may require `fullWidth` to be applied to child elements.
|
|
3026
|
+
* @default half
|
|
2946
3027
|
*/
|
|
2947
3028
|
ratio?: 'half' | 'third' | 'quarter';
|
|
2948
3029
|
/**
|
|
@@ -2951,6 +3032,7 @@ declare module '@elastic/eui/src/components/form/described_form_group/described_
|
|
|
2951
3032
|
title: EuiTitleProps['children'];
|
|
2952
3033
|
/**
|
|
2953
3034
|
* Adjust the visual `size` of the EuiTitle that wraps `title`.
|
|
3035
|
+
* @default xs
|
|
2954
3036
|
*/
|
|
2955
3037
|
titleSize?: EuiTitleSize;
|
|
2956
3038
|
/**
|
|
@@ -3063,6 +3145,7 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
|
|
|
3063
3145
|
import React, { Component, HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
3064
3146
|
import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
|
|
3065
3147
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
3148
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
|
|
3066
3149
|
export { ICON_SIDES } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons'; type StringOrReactElement = string | ReactElement; type PrependAppendType = StringOrReactElement | StringOrReactElement[];
|
|
3067
3150
|
export type EuiFormControlLayoutProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
3068
3151
|
/**
|
|
@@ -3078,6 +3161,11 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
|
|
|
3078
3161
|
children?: ReactNode;
|
|
3079
3162
|
icon?: EuiFormControlLayoutIconsProps['icon'];
|
|
3080
3163
|
clear?: EuiFormControlLayoutIconsProps['clear'];
|
|
3164
|
+
/**
|
|
3165
|
+
* Expand to fill 100% of the parent.
|
|
3166
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3167
|
+
* @default false
|
|
3168
|
+
*/
|
|
3081
3169
|
fullWidth?: boolean;
|
|
3082
3170
|
isLoading?: boolean;
|
|
3083
3171
|
isDisabled?: boolean;
|
|
@@ -3095,6 +3183,7 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
|
|
|
3095
3183
|
inputId?: string;
|
|
3096
3184
|
};
|
|
3097
3185
|
export class EuiFormControlLayout extends Component<EuiFormControlLayoutProps> {
|
|
3186
|
+
static contextType: React.Context<FormContextValue>;
|
|
3098
3187
|
render(): JSX.Element;
|
|
3099
3188
|
renderSideNode(side: 'append' | 'prepend', nodes?: PrependAppendType, inputId?: string): JSX.Element | JSX.Element[] | undefined;
|
|
3100
3189
|
createFormLabel(side: 'append' | 'prepend', string: string, inputId?: string): JSX.Element;
|
|
@@ -3185,7 +3274,15 @@ declare module '@elastic/eui/src/components/form/field_number/field_number' {
|
|
|
3185
3274
|
export type EuiFieldNumberProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'min' | 'max' | 'readOnly' | 'step'> & CommonProps & {
|
|
3186
3275
|
icon?: IconType;
|
|
3187
3276
|
isInvalid?: boolean;
|
|
3277
|
+
/**
|
|
3278
|
+
* Expand to fill 100% of the parent.
|
|
3279
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3280
|
+
* @default false
|
|
3281
|
+
*/
|
|
3188
3282
|
fullWidth?: boolean;
|
|
3283
|
+
/**
|
|
3284
|
+
* @default false
|
|
3285
|
+
*/
|
|
3189
3286
|
isLoading?: boolean;
|
|
3190
3287
|
readOnly?: boolean;
|
|
3191
3288
|
min?: number;
|
|
@@ -3214,6 +3311,7 @@ declare module '@elastic/eui/src/components/form/field_number/field_number' {
|
|
|
3214
3311
|
controlOnly?: boolean;
|
|
3215
3312
|
/**
|
|
3216
3313
|
* when `true` creates a shorter height input
|
|
3314
|
+
* @default false
|
|
3217
3315
|
*/
|
|
3218
3316
|
compressed?: boolean;
|
|
3219
3317
|
};
|
|
@@ -3232,6 +3330,11 @@ declare module '@elastic/eui/src/components/form/field_password/field_password'
|
|
|
3232
3330
|
import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
|
|
3233
3331
|
export type EuiFieldPasswordProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value'> & CommonProps & {
|
|
3234
3332
|
isInvalid?: boolean;
|
|
3333
|
+
/**
|
|
3334
|
+
* Expand to fill 100% of the parent.
|
|
3335
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3336
|
+
* @default false
|
|
3337
|
+
*/
|
|
3235
3338
|
fullWidth?: boolean;
|
|
3236
3339
|
isLoading?: boolean;
|
|
3237
3340
|
compressed?: boolean;
|
|
@@ -3251,6 +3354,7 @@ declare module '@elastic/eui/src/components/form/field_password/field_password'
|
|
|
3251
3354
|
* Change the `type` of input for manually handling obfuscation.
|
|
3252
3355
|
* The `dual` option adds the ability to toggle the obfuscation of the input by
|
|
3253
3356
|
* adding an icon button as the first `append` element
|
|
3357
|
+
* @default password
|
|
3254
3358
|
*/
|
|
3255
3359
|
type?: 'password' | 'text' | 'dual';
|
|
3256
3360
|
/**
|
|
@@ -3279,15 +3383,21 @@ declare module '@elastic/eui/src/services/browser' {
|
|
|
3279
3383
|
|
|
3280
3384
|
}
|
|
3281
3385
|
declare module '@elastic/eui/src/components/form/field_search/field_search' {
|
|
3282
|
-
import { Component, InputHTMLAttributes, KeyboardEvent } from 'react';
|
|
3386
|
+
import React, { Component, InputHTMLAttributes, KeyboardEvent } from 'react';
|
|
3283
3387
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
3284
3388
|
import { EuiFormControlLayoutProps } from '@elastic/eui/src/components/form/form_control_layout';
|
|
3389
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
|
|
3285
3390
|
export interface EuiFieldSearchProps extends CommonProps, InputHTMLAttributes<HTMLInputElement> {
|
|
3286
3391
|
name?: string;
|
|
3287
3392
|
id?: string;
|
|
3288
3393
|
placeholder?: string;
|
|
3289
3394
|
value?: string;
|
|
3290
3395
|
isInvalid?: boolean;
|
|
3396
|
+
/**
|
|
3397
|
+
* Expand to fill 100% of the parent.
|
|
3398
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3399
|
+
* @default false
|
|
3400
|
+
*/
|
|
3291
3401
|
fullWidth?: boolean;
|
|
3292
3402
|
isLoading?: boolean;
|
|
3293
3403
|
/**
|
|
@@ -3324,8 +3434,8 @@ declare module '@elastic/eui/src/components/form/field_search/field_search' {
|
|
|
3324
3434
|
value: string;
|
|
3325
3435
|
}
|
|
3326
3436
|
export class EuiFieldSearch extends Component<EuiFieldSearchProps, EuiFieldSearchState> {
|
|
3437
|
+
static contextType: React.Context<FormContextValue>;
|
|
3327
3438
|
static defaultProps: {
|
|
3328
|
-
fullWidth: boolean;
|
|
3329
3439
|
isLoading: boolean;
|
|
3330
3440
|
incremental: boolean;
|
|
3331
3441
|
compressed: boolean;
|
|
@@ -3358,6 +3468,11 @@ declare module '@elastic/eui/src/components/form/field_text/field_text' {
|
|
|
3358
3468
|
export type EuiFieldTextProps = InputHTMLAttributes<HTMLInputElement> & CommonProps & {
|
|
3359
3469
|
icon?: EuiFormControlLayoutProps['icon'];
|
|
3360
3470
|
isInvalid?: boolean;
|
|
3471
|
+
/**
|
|
3472
|
+
* Expand to fill 100% of the parent.
|
|
3473
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3474
|
+
* @default false
|
|
3475
|
+
*/
|
|
3361
3476
|
fullWidth?: boolean;
|
|
3362
3477
|
isLoading?: boolean;
|
|
3363
3478
|
readOnly?: boolean;
|
|
@@ -3492,7 +3607,8 @@ declare module '@elastic/eui/src/components/progress' {
|
|
|
3492
3607
|
}
|
|
3493
3608
|
declare module '@elastic/eui/src/components/form/file_picker/file_picker' {
|
|
3494
3609
|
import React, { Component, InputHTMLAttributes, ReactNode } from 'react';
|
|
3495
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
3610
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
3611
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context'; const displayToClassNameMap: {
|
|
3496
3612
|
default: null;
|
|
3497
3613
|
large: string;
|
|
3498
3614
|
};
|
|
@@ -3520,12 +3636,18 @@ declare module '@elastic/eui/src/components/form/file_picker/file_picker' {
|
|
|
3520
3636
|
* `large` for taller size
|
|
3521
3637
|
*/
|
|
3522
3638
|
display?: EuiFilePickerDisplay;
|
|
3639
|
+
/**
|
|
3640
|
+
* Expand to fill 100% of the parent.
|
|
3641
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3642
|
+
* @default false
|
|
3643
|
+
*/
|
|
3523
3644
|
fullWidth?: boolean;
|
|
3524
3645
|
isInvalid?: boolean;
|
|
3525
3646
|
isLoading?: boolean;
|
|
3526
3647
|
disabled?: boolean;
|
|
3527
3648
|
}
|
|
3528
3649
|
export class EuiFilePicker extends Component<EuiFilePickerProps> {
|
|
3650
|
+
static contextType: React.Context<FormContextValue>;
|
|
3529
3651
|
static defaultProps: {
|
|
3530
3652
|
initialPromptText: JSX.Element;
|
|
3531
3653
|
compressed: boolean;
|
|
@@ -3727,6 +3849,14 @@ declare module '@elastic/eui/src/components/form/form' {
|
|
|
3727
3849
|
* Where to display the callout with the list of errors
|
|
3728
3850
|
*/
|
|
3729
3851
|
invalidCallout?: 'above' | 'none';
|
|
3852
|
+
/**
|
|
3853
|
+
* When set to `true`, all the rows/controls in this form will
|
|
3854
|
+
* default to taking up 100% of the width of their continer. You
|
|
3855
|
+
* can specify `fullWidth={false}` on individual rows/controls to
|
|
3856
|
+
* disable this behavior for specific components.
|
|
3857
|
+
* @default false
|
|
3858
|
+
*/
|
|
3859
|
+
fullWidth?: boolean;
|
|
3730
3860
|
};
|
|
3731
3861
|
export const EuiForm: React.ForwardRefExoticComponent<EuiFormProps & React.RefAttributes<HTMLElement>>;
|
|
3732
3862
|
|
|
@@ -3761,8 +3891,9 @@ declare module '@elastic/eui/src/services/objects' {
|
|
|
3761
3891
|
|
|
3762
3892
|
}
|
|
3763
3893
|
declare module '@elastic/eui/src/components/form/form_row/form_row' {
|
|
3764
|
-
import { Component, HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
3765
|
-
import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
|
|
3894
|
+
import React, { Component, HTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
3895
|
+
import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
|
|
3896
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context'; const displayToClassNameMap: {
|
|
3766
3897
|
row: null;
|
|
3767
3898
|
rowCompressed: string;
|
|
3768
3899
|
columnCompressed: string;
|
|
@@ -3787,6 +3918,11 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
|
|
|
3787
3918
|
*/
|
|
3788
3919
|
display?: EuiFormRowDisplayKeys;
|
|
3789
3920
|
hasEmptyLabelSpace?: boolean;
|
|
3921
|
+
/**
|
|
3922
|
+
* Expand to fill 100% of the parent.
|
|
3923
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
3924
|
+
* @default false
|
|
3925
|
+
*/
|
|
3790
3926
|
fullWidth?: boolean;
|
|
3791
3927
|
/**
|
|
3792
3928
|
* IDs of additional elements that should be part of children's `aria-describedby`
|
|
@@ -3829,10 +3965,10 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
|
|
|
3829
3965
|
} & EuiFormRowCommonProps & Omit<HTMLAttributes<HTMLFieldSetElement>, 'disabled'>;
|
|
3830
3966
|
export type EuiFormRowProps = ExclusiveUnion<LabelProps, LegendProps>;
|
|
3831
3967
|
export class EuiFormRow extends Component<EuiFormRowProps, EuiFormRowState> {
|
|
3968
|
+
static contextType: React.Context<FormContextValue>;
|
|
3832
3969
|
static defaultProps: {
|
|
3833
3970
|
display: string;
|
|
3834
3971
|
hasEmptyLabelSpace: boolean;
|
|
3835
|
-
fullWidth: boolean;
|
|
3836
3972
|
describedByIds: never[];
|
|
3837
3973
|
labelType: string;
|
|
3838
3974
|
hasChildLabel: boolean;
|
|
@@ -4631,7 +4767,47 @@ declare module '@elastic/eui/src/components/observer/resize_observer' {
|
|
|
4631
4767
|
}
|
|
4632
4768
|
declare module '@elastic/eui/src/components/form/form.styles' {
|
|
4633
4769
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4634
|
-
export const
|
|
4770
|
+
export const euiFormVariables: (euiThemeContext: UseEuiTheme) => {
|
|
4771
|
+
controlLayoutGroupInputHeight: string | undefined;
|
|
4772
|
+
controlLayoutGroupInputCompressedHeight: string | undefined;
|
|
4773
|
+
controlLayoutGroupInputCompressedBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
4774
|
+
controlIconSize: {
|
|
4775
|
+
s: string;
|
|
4776
|
+
m: string;
|
|
4777
|
+
l: string;
|
|
4778
|
+
xl: string;
|
|
4779
|
+
xxl: string;
|
|
4780
|
+
};
|
|
4781
|
+
customControlDisabledIconColor: string;
|
|
4782
|
+
customControlBorderColor: string;
|
|
4783
|
+
backgroundColor: string;
|
|
4784
|
+
backgroundDisabledColor: string;
|
|
4785
|
+
backgroundReadOnlyColor: string;
|
|
4786
|
+
borderColor: string;
|
|
4787
|
+
borderDisabledColor: string;
|
|
4788
|
+
controlDisabledColor: string;
|
|
4789
|
+
controlBoxShadow: string;
|
|
4790
|
+
controlPlaceholderText: string;
|
|
4791
|
+
inputGroupLabelBackground: string;
|
|
4792
|
+
inputGroupBorder: string;
|
|
4793
|
+
maxWidth: string | undefined;
|
|
4794
|
+
controlHeight: string;
|
|
4795
|
+
controlCompressedHeight: string;
|
|
4796
|
+
controlPadding: string;
|
|
4797
|
+
controlCompressedPadding: string;
|
|
4798
|
+
controlBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
4799
|
+
controlCompressedBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
4800
|
+
};
|
|
4801
|
+
export const euiFormControlSize: (euiThemeContext: UseEuiTheme, options?: {
|
|
4802
|
+
height?: string;
|
|
4803
|
+
fullWidth?: boolean;
|
|
4804
|
+
compressed?: boolean;
|
|
4805
|
+
inGroup?: boolean;
|
|
4806
|
+
}) => string;
|
|
4807
|
+
export const euiCustomControl: (euiThemeContext: UseEuiTheme, options?: {
|
|
4808
|
+
type?: 'round' | 'square';
|
|
4809
|
+
size?: string;
|
|
4810
|
+
}) => string;
|
|
4635
4811
|
|
|
4636
4812
|
}
|
|
4637
4813
|
declare module '@elastic/eui/src/components/popover/input_popover' {
|
|
@@ -4905,6 +5081,11 @@ declare module '@elastic/eui/src/components/form/range/range_wrapper' {
|
|
|
4905
5081
|
import React, { HTMLAttributes } from 'react';
|
|
4906
5082
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
4907
5083
|
export interface EuiRangeWrapperProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
5084
|
+
/**
|
|
5085
|
+
* Expand to fill 100% of the parent.
|
|
5086
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
5087
|
+
* @default false
|
|
5088
|
+
*/
|
|
4908
5089
|
fullWidth?: boolean;
|
|
4909
5090
|
compressed?: boolean;
|
|
4910
5091
|
}
|
|
@@ -4918,9 +5099,15 @@ declare module '@elastic/eui/src/components/form/range/range' {
|
|
|
4918
5099
|
import { EuiRangeInputProps } from '@elastic/eui/src/components/form/range/range_input';
|
|
4919
5100
|
import { EuiRangeLevel } from '@elastic/eui/src/components/form/range/range_levels';
|
|
4920
5101
|
import { EuiRangeTick } from '@elastic/eui/src/components/form/range/range_ticks';
|
|
5102
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
|
|
4921
5103
|
export interface EuiRangeProps extends CommonProps, Omit<EuiRangeInputProps, 'onChange' | 'digitTolerance' | 'isLoading'> {
|
|
4922
5104
|
compressed?: boolean;
|
|
4923
5105
|
readOnly?: boolean;
|
|
5106
|
+
/**
|
|
5107
|
+
* Expand to fill 100% of the parent.
|
|
5108
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
5109
|
+
* @default false
|
|
5110
|
+
*/
|
|
4924
5111
|
fullWidth?: boolean;
|
|
4925
5112
|
id?: string;
|
|
4926
5113
|
/**
|
|
@@ -4972,11 +5159,11 @@ declare module '@elastic/eui/src/components/form/range/range' {
|
|
|
4972
5159
|
onChange?: (event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>, isValid: boolean) => void;
|
|
4973
5160
|
}
|
|
4974
5161
|
export class EuiRange extends Component<EuiRangeProps> {
|
|
5162
|
+
static contextType: React.Context<FormContextValue>;
|
|
4975
5163
|
static defaultProps: {
|
|
4976
5164
|
min: number;
|
|
4977
5165
|
max: number;
|
|
4978
5166
|
step: number;
|
|
4979
|
-
fullWidth: boolean;
|
|
4980
5167
|
compressed: boolean;
|
|
4981
5168
|
isLoading: boolean;
|
|
4982
5169
|
showLabels: boolean;
|
|
@@ -5044,12 +5231,18 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
|
|
|
5044
5231
|
import { EuiRangeInputProps } from '@elastic/eui/src/components/form/range/range_input';
|
|
5045
5232
|
import { EuiRangeLevel } from '@elastic/eui/src/components/form/range/range_levels';
|
|
5046
5233
|
import { EuiRangeSliderProps } from '@elastic/eui/src/components/form/range/range_slider';
|
|
5047
|
-
import { EuiRangeTick } from '@elastic/eui/src/components/form/range/range_ticks';
|
|
5234
|
+
import { EuiRangeTick } from '@elastic/eui/src/components/form/range/range_ticks';
|
|
5235
|
+
import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context'; type ValueMember = number | string;
|
|
5048
5236
|
export interface EuiDualRangeProps extends Omit<EuiRangeSliderProps, 'onChange' | 'onBlur' | 'onFocus' | 'value' | 'isLoading'> {
|
|
5049
5237
|
value: [ValueMember, ValueMember];
|
|
5050
5238
|
onBlur?: (event: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLDivElement>) => void;
|
|
5051
5239
|
onFocus?: (event: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLDivElement>) => void;
|
|
5052
5240
|
onChange: (values: [ValueMember, ValueMember], isValid: boolean, event?: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
5241
|
+
/**
|
|
5242
|
+
* Expand to fill 100% of the parent.
|
|
5243
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
5244
|
+
* @default false
|
|
5245
|
+
*/
|
|
5053
5246
|
fullWidth?: boolean;
|
|
5054
5247
|
isInvalid?: boolean;
|
|
5055
5248
|
/**
|
|
@@ -5101,11 +5294,11 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
|
|
|
5101
5294
|
isLoading?: boolean;
|
|
5102
5295
|
}
|
|
5103
5296
|
export class EuiDualRange extends Component<EuiDualRangeProps> {
|
|
5297
|
+
static contextType: React.Context<FormContextValue>;
|
|
5104
5298
|
static defaultProps: {
|
|
5105
5299
|
min: number;
|
|
5106
5300
|
max: number;
|
|
5107
5301
|
step: number;
|
|
5108
|
-
fullWidth: boolean;
|
|
5109
5302
|
compressed: boolean;
|
|
5110
5303
|
isLoading: boolean;
|
|
5111
5304
|
showLabels: boolean;
|
|
@@ -5180,18 +5373,28 @@ declare module '@elastic/eui/src/components/form/select/select' {
|
|
|
5180
5373
|
text: React.ReactNode;
|
|
5181
5374
|
}
|
|
5182
5375
|
export type EuiSelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, 'value'> & CommonProps & {
|
|
5376
|
+
/**
|
|
5377
|
+
* @default []
|
|
5378
|
+
*/
|
|
5183
5379
|
options?: EuiSelectOption[];
|
|
5184
5380
|
isInvalid?: boolean;
|
|
5381
|
+
/**
|
|
5382
|
+
* Expand to fill 100% of the parent.
|
|
5383
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
5384
|
+
* @default false
|
|
5385
|
+
*/
|
|
5185
5386
|
fullWidth?: boolean;
|
|
5186
5387
|
isLoading?: boolean;
|
|
5187
5388
|
/**
|
|
5188
5389
|
* Simulates no selection by creating an empty, selected, hidden first option
|
|
5390
|
+
* @default false
|
|
5189
5391
|
*/
|
|
5190
5392
|
hasNoInitialSelection?: boolean;
|
|
5191
5393
|
inputRef?: Ref<HTMLSelectElement>;
|
|
5192
5394
|
value?: string | number;
|
|
5193
5395
|
/**
|
|
5194
5396
|
* when `true` creates a shorter height input
|
|
5397
|
+
* @default false
|
|
5195
5398
|
*/
|
|
5196
5399
|
compressed?: boolean;
|
|
5197
5400
|
/**
|
|
@@ -5225,9 +5428,23 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_contr
|
|
|
5225
5428
|
'data-test-subj'?: string;
|
|
5226
5429
|
}
|
|
5227
5430
|
export interface EuiSuperSelectControlProps<T> extends CommonProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
5431
|
+
/**
|
|
5432
|
+
* @default false
|
|
5433
|
+
*/
|
|
5228
5434
|
compressed?: boolean;
|
|
5435
|
+
/**
|
|
5436
|
+
* Expand to fill 100% of the parent.
|
|
5437
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
5438
|
+
* @default false
|
|
5439
|
+
*/
|
|
5229
5440
|
fullWidth?: boolean;
|
|
5441
|
+
/**
|
|
5442
|
+
* @default false
|
|
5443
|
+
*/
|
|
5230
5444
|
isInvalid?: boolean;
|
|
5445
|
+
/**
|
|
5446
|
+
* @default false
|
|
5447
|
+
*/
|
|
5231
5448
|
isLoading?: boolean;
|
|
5232
5449
|
readOnly?: boolean;
|
|
5233
5450
|
name?: string;
|
|
@@ -5830,10 +6047,16 @@ declare module '@elastic/eui/src/components/form/text_area/text_area' {
|
|
|
5830
6047
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5831
6048
|
export type EuiTextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & CommonProps & {
|
|
5832
6049
|
isInvalid?: boolean;
|
|
6050
|
+
/**
|
|
6051
|
+
* Expand to fill 100% of the parent.
|
|
6052
|
+
* Defaults to `fullWidth` prop of `<EuiForm>`.
|
|
6053
|
+
* @default false
|
|
6054
|
+
*/
|
|
5833
6055
|
fullWidth?: boolean;
|
|
5834
6056
|
compressed?: boolean;
|
|
5835
6057
|
/**
|
|
5836
6058
|
* Which direction, if at all, should the textarea resize
|
|
6059
|
+
* @default vertical
|
|
5837
6060
|
*/
|
|
5838
6061
|
resize?: keyof typeof resizeToClassNameMap;
|
|
5839
6062
|
inputRef?: Ref<HTMLTextAreaElement>;
|
|
@@ -6043,7 +6266,7 @@ declare module '@elastic/eui/src/components/color_picker/color_picker' {
|
|
|
6043
6266
|
|
|
6044
6267
|
}
|
|
6045
6268
|
declare module '@elastic/eui/src/components/color_picker/color_stops/color_stop_thumb' {
|
|
6046
|
-
import { FunctionComponent } from 'react';
|
|
6269
|
+
import { FunctionComponent, CSSProperties } from 'react';
|
|
6047
6270
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
6048
6271
|
import { EuiColorPickerProps } from '@elastic/eui/src/components/color_picker/color_picker';
|
|
6049
6272
|
import { EuiFieldNumberProps } from '@elastic/eui/src/components/form';
|
|
@@ -6075,6 +6298,7 @@ declare module '@elastic/eui/src/components/color_picker/color_stops/color_stop_
|
|
|
6075
6298
|
closePopover: () => void;
|
|
6076
6299
|
'data-index'?: string;
|
|
6077
6300
|
'aria-valuetext'?: string;
|
|
6301
|
+
style?: CSSProperties;
|
|
6078
6302
|
valueInputProps?: Partial<EuiFieldNumberProps>;
|
|
6079
6303
|
}
|
|
6080
6304
|
export const EuiColorStopThumb: FunctionComponent<EuiColorStopThumbProps>;
|
|
@@ -6187,6 +6411,12 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
6187
6411
|
* @param color
|
|
6188
6412
|
*/
|
|
6189
6413
|
export const lightness: (color: string) => number;
|
|
6414
|
+
/**
|
|
6415
|
+
* Returns the darken value of a color. 0-100
|
|
6416
|
+
* @param color - Color to manipulate
|
|
6417
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
6418
|
+
*/
|
|
6419
|
+
export const darken: (color: string, amount: number) => string;
|
|
6190
6420
|
|
|
6191
6421
|
}
|
|
6192
6422
|
declare module '@elastic/eui/src/services/color/contrast' {
|
|
@@ -7103,7 +7333,7 @@ declare module '@elastic/eui/src/services' {
|
|
|
7103
7333
|
export type { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
|
|
7104
7334
|
export { useIsWithinBreakpoints, useIsWithinMaxBreakpoint, useIsWithinMinBreakpoint, CurrentEuiBreakpointContext, CurrentEuiBreakpointProvider, useCurrentEuiBreakpoint, } from '@elastic/eui/src/services/breakpoint';
|
|
7105
7335
|
export type { HSV } from '@elastic/eui/src/services/color';
|
|
7106
|
-
export { isColorDark, isValidHex, calculateContrast, calculateLuminance, hexToHsv, hexToRgb, hsvToHex, hsvToRgb, rgbToHex, rgbToHsv, VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, colorPalette, euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplimentary, euiPaletteNegative, euiPalettePositive, euiPaletteCool, euiPaletteWarm, euiPaletteGray, getSteppedGradient, transparentize, tint, shade, tintOrShade, shadeOrTint, saturate, desaturate, lightness, makeHighContrastColor, makeDisabledContrastColor, wcagContrastMin, } from '@elastic/eui/src/services/color';
|
|
7336
|
+
export { isColorDark, isValidHex, calculateContrast, calculateLuminance, hexToHsv, hexToRgb, hsvToHex, hsvToRgb, rgbToHex, rgbToHsv, VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, colorPalette, euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplimentary, euiPaletteNegative, euiPalettePositive, euiPaletteCool, euiPaletteWarm, euiPaletteGray, getSteppedGradient, transparentize, tint, shade, tintOrShade, shadeOrTint, saturate, desaturate, lightness, darken, makeHighContrastColor, makeDisabledContrastColor, wcagContrastMin, } from '@elastic/eui/src/services/color';
|
|
7107
7337
|
export type { EuiSetColorMethod } from '@elastic/eui/src/services/color_picker';
|
|
7108
7338
|
export { useColorPickerState, useColorStopsState } from '@elastic/eui/src/services/color_picker';
|
|
7109
7339
|
export * from '@elastic/eui/src/services/console';
|
|
@@ -7407,7 +7637,7 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link.st
|
|
|
7407
7637
|
declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
|
|
7408
7638
|
import { FunctionComponent, Ref } from 'react';
|
|
7409
7639
|
import { EuiButtonProps } from '@elastic/eui/src/components/button/button';
|
|
7410
|
-
import { PropsForAnchor
|
|
7640
|
+
import { PropsForAnchor } from '@elastic/eui/src/components/common';
|
|
7411
7641
|
export const POSITIONS: readonly ["static", "fixed", "absolute"]; type Positions = typeof POSITIONS[number];
|
|
7412
7642
|
interface EuiSkipLinkInterface extends EuiButtonProps {
|
|
7413
7643
|
/**
|
|
@@ -7420,6 +7650,12 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
|
|
|
7420
7650
|
* will be prepended with a hash `#` and used as the link `href`
|
|
7421
7651
|
*/
|
|
7422
7652
|
destinationId: string;
|
|
7653
|
+
/**
|
|
7654
|
+
* If no destination ID element exists or can be found, you may provide a string of
|
|
7655
|
+
* query selectors to fall back to (e.g. a `main` or `role="main"` element)
|
|
7656
|
+
* @default main
|
|
7657
|
+
*/
|
|
7658
|
+
fallbackDestination?: string;
|
|
7423
7659
|
/**
|
|
7424
7660
|
* If default HTML anchor link behavior is not desired (e.g. for SPAs with hash routing),
|
|
7425
7661
|
* setting this flag to true will manually scroll to and focus the destination element
|
|
@@ -7430,12 +7666,10 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
|
|
|
7430
7666
|
* When position is fixed, this is forced to `0`
|
|
7431
7667
|
*/
|
|
7432
7668
|
tabIndex?: number;
|
|
7433
|
-
}
|
|
7669
|
+
}
|
|
7670
|
+
export type EuiSkipLinkProps = PropsForAnchor<EuiSkipLinkInterface, {
|
|
7434
7671
|
buttonRef?: Ref<HTMLAnchorElement>;
|
|
7435
|
-
}>; type propsForButton = PropsForButton<EuiSkipLinkInterface, {
|
|
7436
|
-
buttonRef?: Ref<HTMLButtonElement>;
|
|
7437
7672
|
}>;
|
|
7438
|
-
export type EuiSkipLinkProps = ExclusiveUnion<propsForAnchor, propsForButton>;
|
|
7439
7673
|
export const EuiSkipLink: FunctionComponent<EuiSkipLinkProps>;
|
|
7440
7674
|
export {};
|
|
7441
7675
|
|
|
@@ -7813,23 +8047,40 @@ declare module '@elastic/eui/src/components/badge/badge' {
|
|
|
7813
8047
|
export const EuiBadge: FunctionComponent<EuiBadgeProps>;
|
|
7814
8048
|
export {};
|
|
7815
8049
|
|
|
8050
|
+
}
|
|
8051
|
+
declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge.styles' {
|
|
8052
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8053
|
+
export const euiBetaBadgeStyles: (euiThemeContext: UseEuiTheme) => {
|
|
8054
|
+
euiBetaBadge: import("@emotion/utils").SerializedStyles;
|
|
8055
|
+
accent: import("@emotion/utils").SerializedStyles;
|
|
8056
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
8057
|
+
hollow: import("@emotion/utils").SerializedStyles;
|
|
8058
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
8059
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
8060
|
+
badgeSizes: {
|
|
8061
|
+
default: {
|
|
8062
|
+
m: string;
|
|
8063
|
+
s: string;
|
|
8064
|
+
};
|
|
8065
|
+
circle: {
|
|
8066
|
+
m: string;
|
|
8067
|
+
s: string;
|
|
8068
|
+
};
|
|
8069
|
+
};
|
|
8070
|
+
euiBetaBadge__icon: import("@emotion/utils").SerializedStyles;
|
|
8071
|
+
};
|
|
8072
|
+
export const getBadgeColors: (backgroundColor: string, { euiTheme }: UseEuiTheme) => string;
|
|
8073
|
+
|
|
7816
8074
|
}
|
|
7817
8075
|
declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
|
|
7818
8076
|
import { AriaAttributes, FunctionComponent, HTMLAttributes, MouseEventHandler, ReactNode } from 'react';
|
|
7819
8077
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
7820
8078
|
import { EuiToolTipProps, ToolTipPositions } from '@elastic/eui/src/components/tool_tip';
|
|
7821
|
-
import { IconType } from '@elastic/eui/src/components/icon';
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
export const COLORS: BetaBadgeColor[];
|
|
7827
|
-
export type BetaBadgeColor = keyof typeof colorToClassMap;
|
|
7828
|
-
export type BetaBadgeSize = 's' | 'm';
|
|
7829
|
-
export const sizeToClassMap: {
|
|
7830
|
-
[size in BetaBadgeSize]: string | null;
|
|
7831
|
-
};
|
|
7832
|
-
export const SIZES: BetaBadgeSize[]; type WithButtonProps = {
|
|
8079
|
+
import { IconType } from '@elastic/eui/src/components/icon';
|
|
8080
|
+
export const COLORS: readonly ["accent", "subdued", "hollow"];
|
|
8081
|
+
export type BetaBadgeColor = typeof COLORS[number];
|
|
8082
|
+
export const SIZES: readonly ["s", "m"];
|
|
8083
|
+
export type BetaBadgeSize = typeof SIZES[number]; type WithButtonProps = {
|
|
7833
8084
|
/**
|
|
7834
8085
|
* Will apply an onclick to the badge itself
|
|
7835
8086
|
*/
|
|
@@ -7896,20 +8147,25 @@ declare module '@elastic/eui/src/components/badge/beta_badge' {
|
|
|
7896
8147
|
export type { EuiBetaBadgeProps } from '@elastic/eui/src/components/badge/beta_badge/beta_badge';
|
|
7897
8148
|
export { EuiBetaBadge } from '@elastic/eui/src/components/badge/beta_badge/beta_badge';
|
|
7898
8149
|
|
|
8150
|
+
}
|
|
8151
|
+
declare module '@elastic/eui/src/components/badge/notification_badge/badge_notification.styles' {
|
|
8152
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8153
|
+
export const euiNotificationBadgeStyles: (euiThemeContext: UseEuiTheme) => {
|
|
8154
|
+
euiNotificationBadge: import("@emotion/utils").SerializedStyles;
|
|
8155
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
8156
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
8157
|
+
accent: import("@emotion/utils").SerializedStyles;
|
|
8158
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
8159
|
+
};
|
|
8160
|
+
|
|
7899
8161
|
}
|
|
7900
8162
|
declare module '@elastic/eui/src/components/badge/notification_badge/badge_notification' {
|
|
7901
8163
|
import { HTMLAttributes, ReactNode, FunctionComponent } from 'react';
|
|
7902
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
export
|
|
7907
|
-
export type BadgeNotificationColor = keyof typeof colorToClassMap; const sizeToClassNameMap: {
|
|
7908
|
-
s: null;
|
|
7909
|
-
m: string;
|
|
7910
|
-
};
|
|
7911
|
-
export const SIZES: BadgeNotificationSize[];
|
|
7912
|
-
export type BadgeNotificationSize = keyof typeof sizeToClassNameMap;
|
|
8164
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8165
|
+
export const COLORS: readonly ["accent", "subdued"];
|
|
8166
|
+
export type BadgeNotificationColor = typeof COLORS[number];
|
|
8167
|
+
export const SIZES: readonly ["s", "m"];
|
|
8168
|
+
export type BadgeNotificationSize = typeof SIZES[number];
|
|
7913
8169
|
export interface EuiNotificationBadgeProps extends CommonProps, Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
7914
8170
|
/**
|
|
7915
8171
|
* ReactNode to render as this component's content
|
|
@@ -7919,30 +8175,34 @@ declare module '@elastic/eui/src/components/badge/notification_badge/badge_notif
|
|
|
7919
8175
|
color?: BadgeNotificationColor;
|
|
7920
8176
|
}
|
|
7921
8177
|
export const EuiNotificationBadge: FunctionComponent<EuiNotificationBadgeProps>;
|
|
7922
|
-
export {};
|
|
7923
8178
|
|
|
7924
8179
|
}
|
|
7925
8180
|
declare module '@elastic/eui/src/components/badge/notification_badge' {
|
|
7926
8181
|
export type { EuiNotificationBadgeProps } from '@elastic/eui/src/components/badge/notification_badge/badge_notification';
|
|
7927
8182
|
export { EuiNotificationBadge } from '@elastic/eui/src/components/badge/notification_badge/badge_notification';
|
|
7928
8183
|
|
|
8184
|
+
}
|
|
8185
|
+
declare module '@elastic/eui/src/components/badge/badge_group/badge_group.styles' {
|
|
8186
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8187
|
+
export const euiBadgeGroupStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
8188
|
+
euiBadgeGroup: import("@emotion/utils").SerializedStyles;
|
|
8189
|
+
none: import("@emotion/utils").SerializedStyles;
|
|
8190
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
8191
|
+
xs: import("@emotion/utils").SerializedStyles;
|
|
8192
|
+
};
|
|
8193
|
+
|
|
7929
8194
|
}
|
|
7930
8195
|
declare module '@elastic/eui/src/components/badge/badge_group/badge_group' {
|
|
7931
8196
|
import React, { ReactNode } from 'react';
|
|
7932
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
7933
|
-
|
|
7934
|
-
xs: string;
|
|
7935
|
-
s: string;
|
|
7936
|
-
};
|
|
7937
|
-
export const GUTTER_SIZES: ("s" | "xs" | "none")[]; type BadgeGroupGutterSize = keyof typeof gutterSizeToClassNameMap;
|
|
8197
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8198
|
+
export const GUTTER_SIZES: readonly ["none", "xs", "s"]; type BadgeGroupGutterSize = typeof GUTTER_SIZES[number];
|
|
7938
8199
|
export interface EuiBadgeGroupProps {
|
|
7939
8200
|
/**
|
|
7940
8201
|
* Space between badges
|
|
7941
8202
|
*/
|
|
7942
8203
|
gutterSize?: BadgeGroupGutterSize;
|
|
7943
8204
|
/**
|
|
7944
|
-
* Should be a list of EuiBadge
|
|
7945
|
-
* Will apply an extra class to add spacing
|
|
8205
|
+
* Should be a list of `EuiBadge`s, but can also be any other element
|
|
7946
8206
|
*/
|
|
7947
8207
|
children?: ReactNode;
|
|
7948
8208
|
}
|
|
@@ -8166,6 +8426,7 @@ declare module '@elastic/eui/src/components/breadcrumbs/breadcrumb' {
|
|
|
8166
8426
|
isLastBreadcrumb?: boolean;
|
|
8167
8427
|
isOnlyBreadcrumb?: boolean;
|
|
8168
8428
|
highlightLastBreadcrumb?: boolean;
|
|
8429
|
+
truncateLastBreadcrumb?: boolean;
|
|
8169
8430
|
} & Pick<EuiBreadcrumbProps, 'truncate'>;
|
|
8170
8431
|
export const EuiBreadcrumb: FunctionComponent<HTMLAttributes<HTMLLIElement> & _EuiBreadcrumbProps>;
|
|
8171
8432
|
export const EuiBreadcrumbContent: FunctionComponent<EuiBreadcrumbProps & _EuiBreadcrumbProps>;
|
|
@@ -8733,6 +8994,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
|
|
|
8733
8994
|
}
|
|
8734
8995
|
declare module '@elastic/eui/src/components/flyout/flyout.styles' {
|
|
8735
8996
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8997
|
+
export const euiFlyoutSlideInRight: import("@emotion/serialize").Keyframes;
|
|
8998
|
+
export const euiFlyoutSlideInLeft: import("@emotion/serialize").Keyframes;
|
|
8736
8999
|
export const euiFlyoutCloseButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
8737
9000
|
euiFlyout__closeButton: import("@emotion/utils").SerializedStyles;
|
|
8738
9001
|
inside: import("@emotion/utils").SerializedStyles;
|
|
@@ -8940,6 +9203,7 @@ declare module '@elastic/eui/src/components/flyout' {
|
|
|
8940
9203
|
export { EuiFlyoutFooter } from '@elastic/eui/src/components/flyout/flyout_footer';
|
|
8941
9204
|
export type { EuiFlyoutHeaderProps } from '@elastic/eui/src/components/flyout/flyout_header';
|
|
8942
9205
|
export { EuiFlyoutHeader } from '@elastic/eui/src/components/flyout/flyout_header';
|
|
9206
|
+
export { euiFlyoutSlideInRight, euiFlyoutSlideInLeft } from '@elastic/eui/src/components/flyout/flyout.styles';
|
|
8943
9207
|
|
|
8944
9208
|
}
|
|
8945
9209
|
declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav' {
|
|
@@ -9272,7 +9536,12 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
9272
9536
|
*/
|
|
9273
9537
|
customOptionText?: string;
|
|
9274
9538
|
fullWidth?: boolean;
|
|
9275
|
-
getSelectedOptionForSearchValue?: (
|
|
9539
|
+
getSelectedOptionForSearchValue?: (params: {
|
|
9540
|
+
isCaseSensitive?: boolean;
|
|
9541
|
+
searchValue: string;
|
|
9542
|
+
selectedOptions: any[];
|
|
9543
|
+
}) => EuiComboBoxOptionOption<T> | undefined;
|
|
9544
|
+
isCaseSensitive?: boolean;
|
|
9276
9545
|
isLoading?: boolean;
|
|
9277
9546
|
listRef: RefCallback<HTMLDivElement>;
|
|
9278
9547
|
matchingOptions: Array<EuiComboBoxOptionOption<T>>;
|
|
@@ -9306,6 +9575,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
9306
9575
|
static defaultProps: {
|
|
9307
9576
|
'data-test-subj': string;
|
|
9308
9577
|
rowHeight: number;
|
|
9578
|
+
isCaseSensitive: boolean;
|
|
9309
9579
|
};
|
|
9310
9580
|
updatePosition: () => void;
|
|
9311
9581
|
componentDidMount(): void;
|
|
@@ -9351,9 +9621,24 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list' {
|
|
|
9351
9621
|
}
|
|
9352
9622
|
declare module '@elastic/eui/src/components/combo_box/matching_options' {
|
|
9353
9623
|
import { EuiComboBoxOptionOption } from '@elastic/eui/src/components/combo_box/types';
|
|
9624
|
+
export type SortMatchesBy = 'none' | 'startsWith';
|
|
9625
|
+
interface GetMatchingOptions<T> {
|
|
9626
|
+
options: Array<EuiComboBoxOptionOption<T>>;
|
|
9627
|
+
selectedOptions: Array<EuiComboBoxOptionOption<T>>;
|
|
9628
|
+
searchValue: string;
|
|
9629
|
+
isCaseSensitive?: boolean;
|
|
9630
|
+
isPreFiltered?: boolean;
|
|
9631
|
+
showPrevSelected?: boolean;
|
|
9632
|
+
sortMatchesBy?: SortMatchesBy;
|
|
9633
|
+
}
|
|
9634
|
+
interface GetSelectedOptionForSearchValue<T> extends Pick<GetMatchingOptions<T>, 'isCaseSensitive' | 'searchValue' | 'selectedOptions'> {
|
|
9635
|
+
optionKey?: string;
|
|
9636
|
+
}
|
|
9637
|
+
export const transformForCaseSensitivity: (string: string, isCaseSensitive?: boolean | undefined) => string;
|
|
9354
9638
|
export const flattenOptionGroups: <T>(optionsOrGroups: EuiComboBoxOptionOption<T>[]) => EuiComboBoxOptionOption<T>[];
|
|
9355
|
-
export const getSelectedOptionForSearchValue: <T>(searchValue
|
|
9356
|
-
export const getMatchingOptions: <T>(options
|
|
9639
|
+
export const getSelectedOptionForSearchValue: <T>({ isCaseSensitive, searchValue, selectedOptions, optionKey, }: GetSelectedOptionForSearchValue<T>) => EuiComboBoxOptionOption<T> | undefined;
|
|
9640
|
+
export const getMatchingOptions: <T>({ options, selectedOptions, searchValue, isCaseSensitive, isPreFiltered, showPrevSelected, sortMatchesBy, }: GetMatchingOptions<T>) => EuiComboBoxOptionOption<T>[];
|
|
9641
|
+
export {};
|
|
9357
9642
|
|
|
9358
9643
|
}
|
|
9359
9644
|
declare module '@elastic/eui/src/components/combo_box/combo_box_input/combo_box_pill' {
|
|
@@ -9503,6 +9788,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
9503
9788
|
* from the tab order with tabindex={-1} so that we can control the keyboard navigation interface.
|
|
9504
9789
|
*/
|
|
9505
9790
|
import { Component, FocusEventHandler, HTMLAttributes, KeyboardEventHandler, RefCallback } from 'react';
|
|
9791
|
+
import { SortMatchesBy } from '@elastic/eui/src/components/combo_box/matching_options';
|
|
9506
9792
|
import { EuiComboBoxInputProps } from '@elastic/eui/src/components/combo_box/combo_box_input/combo_box_input';
|
|
9507
9793
|
import { EuiComboBoxOptionsListProps } from '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list';
|
|
9508
9794
|
import { UpdatePositionHandler, OptionHandler, RefInstance, EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape } from '@elastic/eui/src/components/combo_box/types';
|
|
@@ -9572,7 +9858,11 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
9572
9858
|
* `startsWith`: moves items that start with search value to top of the list;
|
|
9573
9859
|
* `none`: don't change the sort order of initial object
|
|
9574
9860
|
*/
|
|
9575
|
-
sortMatchesBy:
|
|
9861
|
+
sortMatchesBy: SortMatchesBy;
|
|
9862
|
+
/**
|
|
9863
|
+
* Whether to match options with case sensitivity.
|
|
9864
|
+
*/
|
|
9865
|
+
isCaseSensitive?: boolean;
|
|
9576
9866
|
/**
|
|
9577
9867
|
* Creates an input group with element(s) coming before input. It won't show if `singleSelection` is set to `false`.
|
|
9578
9868
|
* `string` | `ReactElement` or an array of these
|
|
@@ -10081,24 +10371,95 @@ declare module '@elastic/eui/src/components/control_bar' {
|
|
|
10081
10371
|
export type { EuiControlBarProps } from '@elastic/eui/src/components/control_bar/control_bar';
|
|
10082
10372
|
export { EuiControlBar } from '@elastic/eui/src/components/control_bar/control_bar';
|
|
10083
10373
|
|
|
10374
|
+
}
|
|
10375
|
+
declare module '@elastic/eui/src/components/list_group/list_group_item_extra_action.styles' {
|
|
10376
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10377
|
+
export const euiListGroupItemExtraActionStyles: ({ euiTheme, }: UseEuiTheme) => {
|
|
10378
|
+
euiListGroupItemExtraAction: import("@emotion/utils").SerializedStyles;
|
|
10379
|
+
hoverStyles: import("@emotion/utils").SerializedStyles;
|
|
10380
|
+
alwaysShow: import("@emotion/utils").SerializedStyles;
|
|
10381
|
+
};
|
|
10382
|
+
|
|
10383
|
+
}
|
|
10384
|
+
declare module '@elastic/eui/src/components/list_group/list_group_item_extra_action' {
|
|
10385
|
+
import { FunctionComponent } from 'react';
|
|
10386
|
+
import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
|
|
10387
|
+
export type EuiListGroupItemExtraActionProps = {
|
|
10388
|
+
alwaysShow?: boolean;
|
|
10389
|
+
} & EuiButtonIconPropsForButton; type _FromEuiListGroupItem = {
|
|
10390
|
+
parentIsDisabled?: boolean;
|
|
10391
|
+
};
|
|
10392
|
+
export const EuiListGroupItemExtraAction: FunctionComponent<EuiListGroupItemExtraActionProps & _FromEuiListGroupItem>;
|
|
10393
|
+
export {};
|
|
10394
|
+
|
|
10395
|
+
}
|
|
10396
|
+
declare module '@elastic/eui/src/components/list_group/list_group_item.styles' {
|
|
10397
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10398
|
+
export const euiListGroupItemStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10399
|
+
euiListGroupItem: import("@emotion/utils").SerializedStyles;
|
|
10400
|
+
xs: import("@emotion/utils").SerializedStyles;
|
|
10401
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
10402
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
10403
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
10404
|
+
colors: {
|
|
10405
|
+
isActive: {
|
|
10406
|
+
primary: import("@emotion/utils").SerializedStyles;
|
|
10407
|
+
text: import("@emotion/utils").SerializedStyles;
|
|
10408
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
10409
|
+
};
|
|
10410
|
+
isClickable: {
|
|
10411
|
+
primary: import("@emotion/utils").SerializedStyles;
|
|
10412
|
+
text: import("@emotion/utils").SerializedStyles;
|
|
10413
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
10414
|
+
};
|
|
10415
|
+
};
|
|
10416
|
+
};
|
|
10417
|
+
export const euiListGroupItemInnerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10418
|
+
euiListGroupItem__inner: import("@emotion/utils").SerializedStyles;
|
|
10419
|
+
xs: import("@emotion/utils").SerializedStyles;
|
|
10420
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
10421
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
10422
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
10423
|
+
primary: import("@emotion/utils").SerializedStyles;
|
|
10424
|
+
text: import("@emotion/utils").SerializedStyles;
|
|
10425
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
10426
|
+
ghost: import("@emotion/utils").SerializedStyles;
|
|
10427
|
+
isDisabled: import("@emotion/utils").SerializedStyles;
|
|
10428
|
+
isActive: import("@emotion/utils").SerializedStyles;
|
|
10429
|
+
isClickable: import("@emotion/utils").SerializedStyles;
|
|
10430
|
+
};
|
|
10431
|
+
export const euiListGroupItemLabelStyles: () => {
|
|
10432
|
+
euiListGroupItem__label: import("@emotion/utils").SerializedStyles;
|
|
10433
|
+
truncate: import("@emotion/utils").SerializedStyles;
|
|
10434
|
+
wrapText: import("@emotion/utils").SerializedStyles;
|
|
10435
|
+
};
|
|
10436
|
+
export const euiListGroupItemIconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
10437
|
+
euiListGroupItem__icon: import("@emotion/utils").SerializedStyles;
|
|
10438
|
+
};
|
|
10439
|
+
export const euiListGroupItemTooltipStyles: () => {
|
|
10440
|
+
euiListGroupItem__tooltip: import("@emotion/utils").SerializedStyles;
|
|
10441
|
+
};
|
|
10442
|
+
|
|
10084
10443
|
}
|
|
10085
10444
|
declare module '@elastic/eui/src/components/list_group/list_group_item' {
|
|
10086
10445
|
import React, { HTMLAttributes, AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode, ReactElement, MouseEventHandler, FunctionComponent } from 'react';
|
|
10087
|
-
import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
|
|
10088
10446
|
import { IconType, EuiIconProps } from '@elastic/eui/src/components/icon';
|
|
10089
|
-
import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
|
|
10090
|
-
|
|
10091
|
-
export const
|
|
10447
|
+
import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
|
|
10448
|
+
import { EuiListGroupItemExtraActionProps } from '@elastic/eui/src/components/list_group/list_group_item_extra_action';
|
|
10449
|
+
export const SIZES: readonly ["xs", "s", "m", "l"];
|
|
10450
|
+
export type EuiListGroupItemSize = typeof SIZES[number];
|
|
10451
|
+
export const COLORS: readonly ["primary", "text", "subdued"];
|
|
10452
|
+
export type EuiListGroupItemColor = typeof COLORS[number];
|
|
10092
10453
|
export type EuiListGroupItemProps = CommonProps & Omit<ExclusiveUnion<ExclusiveUnion<ButtonHTMLAttributes<HTMLButtonElement>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>>, HTMLAttributes<HTMLSpanElement>>, 'onClick' | 'color' | 'target' | 'rel'> & {
|
|
10093
10454
|
/**
|
|
10094
10455
|
* Size of the label text
|
|
10095
10456
|
*/
|
|
10096
|
-
size?:
|
|
10457
|
+
size?: EuiListGroupItemSize;
|
|
10097
10458
|
/**
|
|
10098
|
-
* By default the item will
|
|
10099
|
-
*
|
|
10459
|
+
* By default the item will get the color `text`.
|
|
10460
|
+
* You can customize the color of the item by passing a color name.
|
|
10100
10461
|
*/
|
|
10101
|
-
color?:
|
|
10462
|
+
color?: EuiListGroupItemColor;
|
|
10102
10463
|
/**
|
|
10103
10464
|
* Content to be displayed in the list item
|
|
10104
10465
|
*/
|
|
@@ -10136,12 +10497,11 @@ declare module '@elastic/eui/src/components/list_group/list_group_item' {
|
|
|
10136
10497
|
*/
|
|
10137
10498
|
showToolTip?: boolean;
|
|
10138
10499
|
/**
|
|
10500
|
+
* An object of #EuiListGroupItemExtraAction props.
|
|
10139
10501
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
10140
10502
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
10141
10503
|
*/
|
|
10142
|
-
extraAction?:
|
|
10143
|
-
alwaysShow?: boolean;
|
|
10144
|
-
};
|
|
10504
|
+
extraAction?: EuiListGroupItemExtraActionProps;
|
|
10145
10505
|
/**
|
|
10146
10506
|
* Make the list item label a button.
|
|
10147
10507
|
* While permitted, `href` and `onClick` should not be used together in most cases and may create problems.
|
|
@@ -10163,14 +10523,27 @@ declare module '@elastic/eui/src/components/list_group/list_group_item' {
|
|
|
10163
10523
|
toolTipText?: string;
|
|
10164
10524
|
};
|
|
10165
10525
|
export const EuiListGroupItem: FunctionComponent<EuiListGroupItemProps>;
|
|
10166
|
-
|
|
10526
|
+
|
|
10527
|
+
}
|
|
10528
|
+
declare module '@elastic/eui/src/components/list_group/list_group.styles' {
|
|
10529
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10530
|
+
export const euiListGroupStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10531
|
+
euiListGroup: import("@emotion/utils").SerializedStyles;
|
|
10532
|
+
flush: import("@emotion/utils").SerializedStyles;
|
|
10533
|
+
bordered: import("@emotion/utils").SerializedStyles;
|
|
10534
|
+
maxWidthDefault: import("@emotion/utils").SerializedStyles;
|
|
10535
|
+
none: import("@emotion/utils").SerializedStyles;
|
|
10536
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
10537
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
10538
|
+
};
|
|
10167
10539
|
|
|
10168
10540
|
}
|
|
10169
10541
|
declare module '@elastic/eui/src/components/list_group/list_group' {
|
|
10170
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
10542
|
+
import { FunctionComponent, HTMLAttributes, CSSProperties } from 'react';
|
|
10171
10543
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group/list_group_item';
|
|
10172
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
10173
|
-
export const GUTTER_SIZES:
|
|
10544
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
10545
|
+
export const GUTTER_SIZES: readonly ["none", "s", "m"];
|
|
10546
|
+
export type EuiListGroupGutterSize = typeof GUTTER_SIZES[number];
|
|
10174
10547
|
export type EuiListGroupProps = CommonProps & Omit<HTMLAttributes<HTMLUListElement>, 'color'> & {
|
|
10175
10548
|
/**
|
|
10176
10549
|
* Add a border to the list container
|
|
@@ -10183,27 +10556,28 @@ declare module '@elastic/eui/src/components/list_group/list_group' {
|
|
|
10183
10556
|
/**
|
|
10184
10557
|
* Spacing between list items
|
|
10185
10558
|
*/
|
|
10186
|
-
gutterSize?:
|
|
10559
|
+
gutterSize?: EuiListGroupGutterSize;
|
|
10187
10560
|
/**
|
|
10188
10561
|
* Items to display in this group. See #EuiListGroupItem
|
|
10189
10562
|
*/
|
|
10190
10563
|
listItems?: EuiListGroupItemProps[];
|
|
10191
10564
|
/**
|
|
10192
10565
|
* Change the colors of all `listItems` at once
|
|
10566
|
+
* @default text
|
|
10193
10567
|
*/
|
|
10194
10568
|
color?: EuiListGroupItemProps['color'];
|
|
10195
10569
|
/**
|
|
10196
10570
|
* Change the size of all `listItems` at once
|
|
10571
|
+
* @default m
|
|
10197
10572
|
*/
|
|
10198
10573
|
size?: EuiListGroupItemProps['size'];
|
|
10199
10574
|
/**
|
|
10200
|
-
* Sets the max-width of the page
|
|
10201
|
-
*
|
|
10575
|
+
* Sets the max-width of the page.
|
|
10576
|
+
* Set to `true` to use the default size,
|
|
10202
10577
|
* set to `false` to not restrict the width,
|
|
10203
|
-
* set to a number for a custom width
|
|
10204
|
-
* set to a string for a custom width in custom measurement.
|
|
10578
|
+
* or set to a number/string for a custom CSS width/measurement.
|
|
10205
10579
|
*/
|
|
10206
|
-
maxWidth?: boolean |
|
|
10580
|
+
maxWidth?: boolean | CSSProperties['maxWidth'];
|
|
10207
10581
|
/**
|
|
10208
10582
|
* Display tooltips on all list items
|
|
10209
10583
|
*/
|
|
@@ -10215,7 +10589,14 @@ declare module '@elastic/eui/src/components/list_group/list_group' {
|
|
|
10215
10589
|
ariaLabelledby?: string;
|
|
10216
10590
|
};
|
|
10217
10591
|
export const EuiListGroup: FunctionComponent<EuiListGroupProps>;
|
|
10218
|
-
|
|
10592
|
+
|
|
10593
|
+
}
|
|
10594
|
+
declare module '@elastic/eui/src/components/list_group/pinnable_list_group/pinnable_list_group.styles' {
|
|
10595
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10596
|
+
export const euiPinnableListGroupItemExtraActionStyles: ({ euiTheme, }: UseEuiTheme) => {
|
|
10597
|
+
euiPinnableListGroup__itemExtraAction: import("@emotion/utils").SerializedStyles;
|
|
10598
|
+
pinned: import("@emotion/utils").SerializedStyles;
|
|
10599
|
+
};
|
|
10219
10600
|
|
|
10220
10601
|
}
|
|
10221
10602
|
declare module '@elastic/eui/src/components/list_group/pinnable_list_group/pinnable_list_group' {
|
|
@@ -10270,6 +10651,7 @@ declare module '@elastic/eui/src/components/list_group' {
|
|
|
10270
10651
|
export type { EuiListGroupProps } from '@elastic/eui/src/components/list_group/list_group';
|
|
10271
10652
|
export { EuiListGroup } from '@elastic/eui/src/components/list_group/list_group';
|
|
10272
10653
|
export type { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group/list_group_item';
|
|
10654
|
+
export type { EuiListGroupItemExtraActionProps } from '@elastic/eui/src/components/list_group/list_group_item_extra_action';
|
|
10273
10655
|
export { EuiListGroupItem } from '@elastic/eui/src/components/list_group/list_group_item';
|
|
10274
10656
|
export type { EuiPinnableListGroupProps, EuiPinnableListGroupItemProps, } from '@elastic/eui/src/components/list_group/pinnable_list_group';
|
|
10275
10657
|
export { EuiPinnableListGroup } from '@elastic/eui/src/components/list_group/pinnable_list_group';
|
|
@@ -19418,6 +19800,8 @@ declare module '@elastic/eui/src/components/resizable_container/types' {
|
|
|
19418
19800
|
export type PanelModeType = 'collapsible' | 'main' | 'custom';
|
|
19419
19801
|
export type PanelPosition = 'first' | 'middle' | 'last';
|
|
19420
19802
|
export type PanelDirection = 'left' | 'right';
|
|
19803
|
+
export type KeyMoveDirection = 'forward' | 'backward';
|
|
19804
|
+
export type ResizeTrigger = 'pointer' | 'key';
|
|
19421
19805
|
export interface EuiResizablePanelController {
|
|
19422
19806
|
id: string;
|
|
19423
19807
|
size: number;
|
|
@@ -19443,7 +19827,7 @@ declare module '@elastic/eui/src/components/resizable_container/types' {
|
|
|
19443
19827
|
};
|
|
19444
19828
|
}
|
|
19445
19829
|
export type EuiResizableButtonMouseEvent = MouseEvent<HTMLButtonElement> | TouchEvent<HTMLButtonElement>;
|
|
19446
|
-
export type
|
|
19830
|
+
export type EuiResizableButtonKeyEvent = KeyboardEvent<HTMLButtonElement>;
|
|
19447
19831
|
export interface EuiResizableContainerState {
|
|
19448
19832
|
isDragging: boolean;
|
|
19449
19833
|
currentResizerPos: number;
|
|
@@ -19487,7 +19871,7 @@ declare module '@elastic/eui/src/components/resizable_container/types' {
|
|
|
19487
19871
|
payload: {
|
|
19488
19872
|
prevPanelId: string;
|
|
19489
19873
|
nextPanelId: string;
|
|
19490
|
-
direction:
|
|
19874
|
+
direction: KeyMoveDirection;
|
|
19491
19875
|
};
|
|
19492
19876
|
}
|
|
19493
19877
|
export interface ActionResize {
|
|
@@ -19575,9 +19959,10 @@ declare module '@elastic/eui/src/components/resizable_container/context' {
|
|
|
19575
19959
|
declare module '@elastic/eui/src/components/resizable_container/resizable_button' {
|
|
19576
19960
|
import { FunctionComponent, ButtonHTMLAttributes } from 'react';
|
|
19577
19961
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
19578
|
-
import { EuiResizableButtonController, EuiResizableButtonMouseEvent,
|
|
19962
|
+
import { EuiResizableButtonController, EuiResizableButtonMouseEvent, EuiResizableButtonKeyEvent } from '@elastic/eui/src/components/resizable_container/types';
|
|
19579
19963
|
interface EuiResizableButtonControls {
|
|
19580
|
-
onKeyDown: (eve:
|
|
19964
|
+
onKeyDown: (eve: EuiResizableButtonKeyEvent) => void;
|
|
19965
|
+
onKeyUp: (eve: EuiResizableButtonKeyEvent) => void;
|
|
19581
19966
|
onMouseDown: (eve: EuiResizableButtonMouseEvent) => void;
|
|
19582
19967
|
onTouchStart: (eve: EuiResizableButtonMouseEvent) => void;
|
|
19583
19968
|
onFocus: (id: string) => void;
|
|
@@ -19732,7 +20117,7 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_contai
|
|
|
19732
20117
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
19733
20118
|
import { EuiResizableButtonProps } from '@elastic/eui/src/components/resizable_container/resizable_button';
|
|
19734
20119
|
import { EuiResizablePanelProps, ToggleCollapseCallback } from '@elastic/eui/src/components/resizable_container/resizable_panel';
|
|
19735
|
-
import { EuiResizableContainerActions } from '@elastic/eui/src/components/resizable_container/types'; const containerDirections: {
|
|
20120
|
+
import { EuiResizableContainerActions, ResizeTrigger } from '@elastic/eui/src/components/resizable_container/types'; const containerDirections: {
|
|
19736
20121
|
vertical: string;
|
|
19737
20122
|
horizontal: string;
|
|
19738
20123
|
};
|
|
@@ -19752,8 +20137,16 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_contai
|
|
|
19752
20137
|
*/
|
|
19753
20138
|
onPanelWidthChange?: ({}: {
|
|
19754
20139
|
[key: string]: number;
|
|
19755
|
-
}) =>
|
|
20140
|
+
}) => void;
|
|
19756
20141
|
onToggleCollapsed?: ToggleCollapseCallback;
|
|
20142
|
+
/**
|
|
20143
|
+
* Called when resizing starts
|
|
20144
|
+
*/
|
|
20145
|
+
onResizeStart?: (trigger: ResizeTrigger) => void;
|
|
20146
|
+
/**
|
|
20147
|
+
* Called when resizing ends
|
|
20148
|
+
*/
|
|
20149
|
+
onResizeEnd?: () => void;
|
|
19757
20150
|
style?: CSSProperties;
|
|
19758
20151
|
}
|
|
19759
20152
|
export const EuiResizableContainer: FunctionComponent<EuiResizableContainerProps>;
|
|
@@ -20541,6 +20934,16 @@ declare module '@elastic/eui/src/components/icon/assets/bellSlash' {
|
|
|
20541
20934
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
20542
20935
|
export {};
|
|
20543
20936
|
|
|
20937
|
+
}
|
|
20938
|
+
declare module '@elastic/eui/src/components/icon/assets/beta' {
|
|
20939
|
+
import * as React from 'react';
|
|
20940
|
+
interface SVGRProps {
|
|
20941
|
+
title?: string;
|
|
20942
|
+
titleId?: string;
|
|
20943
|
+
}
|
|
20944
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
20945
|
+
export {};
|
|
20946
|
+
|
|
20544
20947
|
}
|
|
20545
20948
|
declare module '@elastic/eui/src/components/icon/assets/bolt' {
|
|
20546
20949
|
import * as React from 'react';
|
|
@@ -21411,6 +21814,36 @@ declare module '@elastic/eui/src/components/icon/assets/filter' {
|
|
|
21411
21814
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21412
21815
|
export {};
|
|
21413
21816
|
|
|
21817
|
+
}
|
|
21818
|
+
declare module '@elastic/eui/src/components/icon/assets/filterExclude' {
|
|
21819
|
+
import * as React from 'react';
|
|
21820
|
+
interface SVGRProps {
|
|
21821
|
+
title?: string;
|
|
21822
|
+
titleId?: string;
|
|
21823
|
+
}
|
|
21824
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21825
|
+
export {};
|
|
21826
|
+
|
|
21827
|
+
}
|
|
21828
|
+
declare module '@elastic/eui/src/components/icon/assets/filterIgnore' {
|
|
21829
|
+
import * as React from 'react';
|
|
21830
|
+
interface SVGRProps {
|
|
21831
|
+
title?: string;
|
|
21832
|
+
titleId?: string;
|
|
21833
|
+
}
|
|
21834
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21835
|
+
export {};
|
|
21836
|
+
|
|
21837
|
+
}
|
|
21838
|
+
declare module '@elastic/eui/src/components/icon/assets/filterInclude' {
|
|
21839
|
+
import * as React from 'react';
|
|
21840
|
+
interface SVGRProps {
|
|
21841
|
+
title?: string;
|
|
21842
|
+
titleId?: string;
|
|
21843
|
+
}
|
|
21844
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21845
|
+
export {};
|
|
21846
|
+
|
|
21414
21847
|
}
|
|
21415
21848
|
declare module '@elastic/eui/src/components/icon/assets/flag' {
|
|
21416
21849
|
import * as React from 'react';
|
|
@@ -21651,6 +22084,16 @@ declare module '@elastic/eui/src/components/icon/assets/import' {
|
|
|
21651
22084
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21652
22085
|
export {};
|
|
21653
22086
|
|
|
22087
|
+
}
|
|
22088
|
+
declare module '@elastic/eui/src/components/icon/assets/indexTemporary' {
|
|
22089
|
+
import * as React from 'react';
|
|
22090
|
+
interface SVGRProps {
|
|
22091
|
+
title?: string;
|
|
22092
|
+
titleId?: string;
|
|
22093
|
+
}
|
|
22094
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22095
|
+
export {};
|
|
22096
|
+
|
|
21654
22097
|
}
|
|
21655
22098
|
declare module '@elastic/eui/src/components/icon/assets/index_close' {
|
|
21656
22099
|
import * as React from 'react';
|
|
@@ -21721,6 +22164,16 @@ declare module '@elastic/eui/src/components/icon/assets/index_settings' {
|
|
|
21721
22164
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21722
22165
|
export {};
|
|
21723
22166
|
|
|
22167
|
+
}
|
|
22168
|
+
declare module '@elastic/eui/src/components/icon/assets/infinity' {
|
|
22169
|
+
import * as React from 'react';
|
|
22170
|
+
interface SVGRProps {
|
|
22171
|
+
title?: string;
|
|
22172
|
+
titleId?: string;
|
|
22173
|
+
}
|
|
22174
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22175
|
+
export {};
|
|
22176
|
+
|
|
21724
22177
|
}
|
|
21725
22178
|
declare module '@elastic/eui/src/components/icon/assets/inputOutput' {
|
|
21726
22179
|
import * as React from 'react';
|
|
@@ -21841,6 +22294,16 @@ declare module '@elastic/eui/src/components/icon/assets/kubernetesPod' {
|
|
|
21841
22294
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
21842
22295
|
export {};
|
|
21843
22296
|
|
|
22297
|
+
}
|
|
22298
|
+
declare module '@elastic/eui/src/components/icon/assets/launch' {
|
|
22299
|
+
import * as React from 'react';
|
|
22300
|
+
interface SVGRProps {
|
|
22301
|
+
title?: string;
|
|
22302
|
+
titleId?: string;
|
|
22303
|
+
}
|
|
22304
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
22305
|
+
export {};
|
|
22306
|
+
|
|
21844
22307
|
}
|
|
21845
22308
|
declare module '@elastic/eui/src/components/icon/assets/layers' {
|
|
21846
22309
|
import * as React from 'react';
|
|
@@ -23221,6 +23684,26 @@ declare module '@elastic/eui/src/components/icon/assets/snowflake' {
|
|
|
23221
23684
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
23222
23685
|
export {};
|
|
23223
23686
|
|
|
23687
|
+
}
|
|
23688
|
+
declare module '@elastic/eui/src/components/icon/assets/sortAscending' {
|
|
23689
|
+
import * as React from 'react';
|
|
23690
|
+
interface SVGRProps {
|
|
23691
|
+
title?: string;
|
|
23692
|
+
titleId?: string;
|
|
23693
|
+
}
|
|
23694
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
23695
|
+
export {};
|
|
23696
|
+
|
|
23697
|
+
}
|
|
23698
|
+
declare module '@elastic/eui/src/components/icon/assets/sortDescending' {
|
|
23699
|
+
import * as React from 'react';
|
|
23700
|
+
interface SVGRProps {
|
|
23701
|
+
title?: string;
|
|
23702
|
+
titleId?: string;
|
|
23703
|
+
}
|
|
23704
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
23705
|
+
export {};
|
|
23706
|
+
|
|
23224
23707
|
}
|
|
23225
23708
|
declare module '@elastic/eui/src/components/icon/assets/sortLeft' {
|
|
23226
23709
|
import * as React from 'react';
|
|
@@ -23271,6 +23754,16 @@ declare module '@elastic/eui/src/components/icon/assets/sortable' {
|
|
|
23271
23754
|
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
23272
23755
|
export {};
|
|
23273
23756
|
|
|
23757
|
+
}
|
|
23758
|
+
declare module '@elastic/eui/src/components/icon/assets/spaces' {
|
|
23759
|
+
import * as React from 'react';
|
|
23760
|
+
interface SVGRProps {
|
|
23761
|
+
title?: string;
|
|
23762
|
+
titleId?: string;
|
|
23763
|
+
}
|
|
23764
|
+
export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
|
|
23765
|
+
export {};
|
|
23766
|
+
|
|
23274
23767
|
}
|
|
23275
23768
|
declare module '@elastic/eui/src/components/icon/assets/starPlusEmpty' {
|
|
23276
23769
|
import * as React from 'react';
|