@elastic/eui 62.2.1 → 64.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 +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +3 -314
- package/dist/eui_theme_dark.json +0 -1
- package/dist/eui_theme_dark.json.d.ts +0 -1
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +3 -314
- package/dist/eui_theme_light.json +0 -1
- package/dist/eui_theme_light.json.d.ts +0 -1
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/screen_reader_live/screen_reader_live.js +2 -2
- package/es/components/accessibility/skip_link/skip_link.js +2 -0
- package/es/components/accordion/accordion.js +18 -7
- package/es/components/accordion/accordion.styles.js +4 -1
- package/es/components/aspect_ratio/aspect_ratio.js +10 -18
- package/es/components/avatar/avatar.js +1 -0
- package/es/components/badge/badge.js +1 -0
- package/es/components/badge/badge_group/badge_group.js +1 -0
- package/es/components/badge/beta_badge/beta_badge.js +1 -0
- package/es/components/badge/notification_badge/badge_notification.js +2 -1
- package/es/components/basic_table/basic_table.js +5 -2
- package/es/components/basic_table/in_memory_table.js +8 -3
- package/es/components/beacon/beacon.js +1 -0
- package/es/components/bottom_bar/bottom_bar.js +22 -3
- package/es/components/breadcrumbs/breadcrumb.js +1 -0
- package/es/components/breadcrumbs/breadcrumbs.js +2 -0
- package/es/components/button/_button_content_deprecated.js +3 -1
- package/es/components/button/button.js +4 -0
- package/es/components/button/button_display/_button_display.js +2 -0
- package/es/components/button/button_display/_button_display_content.js +3 -1
- package/es/components/button/button_empty/button_empty.js +3 -1
- package/es/components/button/button_group/button_group.js +4 -1
- package/es/components/button/button_group/button_group_button.js +2 -0
- package/es/components/button/button_icon/button_icon.js +1 -0
- package/es/components/call_out/call_out.js +1 -0
- package/es/components/card/card.js +3 -1
- package/es/components/card/card_select.js +3 -1
- package/es/components/code/code.js +1 -0
- package/es/components/code/code_block.js +1 -0
- package/es/components/collapsible_nav/collapsible_nav.js +8 -48
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +9 -1
- package/es/components/color_picker/color_palette_display/color_palette_display.js +1 -0
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -0
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -0
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +7 -3
- package/es/components/color_picker/color_picker.js +1 -0
- package/es/components/color_picker/color_picker_swatch.js +1 -0
- package/es/components/color_picker/color_stops/color_stop_thumb.js +1 -0
- package/es/components/color_picker/color_stops/color_stops.js +2 -1
- package/es/components/color_picker/hue.js +1 -0
- package/es/components/color_picker/saturation.js +1 -0
- package/es/components/combo_box/combo_box.js +2 -1
- package/es/components/combo_box/combo_box_input/combo_box_input.js +6 -3
- package/es/components/combo_box/combo_box_input/combo_box_pill.js +6 -3
- package/es/components/combo_box/combo_box_options_list/combo_box_option.js +6 -3
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/es/components/comment_list/comment.js +1 -0
- package/es/components/comment_list/comment_event.js +2 -1
- package/es/components/comment_list/comment_list.js +2 -0
- package/es/components/comment_list/comment_timeline.js +2 -1
- package/es/components/context_menu/context_menu.js +3 -1
- package/es/components/context_menu/context_menu_item.js +1 -0
- package/es/components/context_menu/context_menu_panel.js +1 -0
- package/es/components/control_bar/control_bar.js +3 -0
- package/es/components/copy/copy.js +2 -1
- package/es/components/datagrid/body/data_grid_body.js +12 -0
- package/es/components/datagrid/body/data_grid_cell.js +24 -0
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -0
- package/es/components/datagrid/body/header/data_grid_header_row.js +13 -0
- package/es/components/datagrid/data_grid.js +13 -0
- package/es/components/datagrid/utils/in_memory.js +12 -0
- package/es/components/date_picker/auto_refresh/auto_refresh.js +3 -1
- package/es/components/date_picker/date_picker.js +1 -0
- package/es/components/date_picker/date_picker_range.js +45 -4
- package/es/components/date_picker/super_date_picker/super_date_picker.js +2 -0
- package/es/components/description_list/description_list.js +5 -2
- package/es/components/description_list/description_list_description.js +4 -2
- package/es/components/description_list/description_list_title.js +4 -2
- package/es/components/drag_and_drop/draggable.js +2 -1
- package/es/components/drag_and_drop/droppable.js +2 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -0
- package/es/components/error_boundary/error_boundary.js +1 -0
- package/es/components/expression/expression.js +1 -0
- package/es/components/facet/facet_button.js +2 -1
- package/es/components/facet/facet_group.js +1 -0
- package/es/components/filter_group/filter_group.js +1 -0
- package/es/components/filter_group/filter_select_item.js +2 -1
- package/es/components/flex/flex_grid.js +1 -0
- package/es/components/flex/flex_group.js +2 -1
- package/es/components/flex/flex_item.js +1 -0
- package/es/components/flyout/flyout.js +7 -34
- package/es/components/flyout/flyout_body.js +1 -0
- package/es/components/flyout/flyout_footer.js +2 -1
- package/es/components/flyout/flyout_header.js +1 -0
- package/es/components/focus_trap/focus_trap.js +1 -0
- package/es/components/form/checkbox/checkbox.js +4 -2
- package/es/components/form/checkbox/checkbox_group.js +2 -0
- package/es/components/form/described_form_group/described_form_group.js +1 -0
- package/es/components/form/field_number/field_number.js +1 -0
- package/es/components/form/field_password/field_password.js +1 -0
- package/es/components/form/field_search/field_search.js +2 -1
- package/es/components/form/field_text/field_text.js +1 -0
- package/es/components/form/file_picker/file_picker.js +2 -1
- package/es/components/form/form.js +1 -0
- package/es/components/form/form_control_layout/form_control_layout.js +2 -0
- package/es/components/form/form_control_layout/form_control_layout_clear_button.js +1 -0
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -0
- package/es/components/form/form_control_layout/form_control_layout_icons.js +1 -0
- package/es/components/form/form_error_text/form_error_text.js +2 -1
- package/es/components/form/form_fieldset/form_fieldset.js +3 -1
- package/es/components/form/form_fieldset/form_legend.js +1 -0
- package/es/components/form/form_help_text/form_help_text.js +2 -1
- package/es/components/form/form_label/form_label.js +2 -1
- package/es/components/form/form_row/form_row.js +1 -0
- package/es/components/form/radio/radio.js +3 -1
- package/es/components/form/radio/radio_group.js +2 -0
- package/es/components/form/range/dual_range.js +2 -1
- package/es/components/form/range/range.js +4 -2
- package/es/components/form/range/range_levels.js +2 -1
- package/es/components/form/range/range_slider.js +1 -0
- package/es/components/form/range/range_thumb.js +2 -1
- package/es/components/form/range/range_track.js +2 -1
- package/es/components/form/range/range_wrapper.js +2 -1
- package/es/components/form/select/select.js +1 -0
- package/es/components/form/super_select/super_select.js +1 -0
- package/es/components/form/switch/switch.js +3 -1
- package/es/components/form/text_area/text_area.js +1 -0
- package/es/components/form/validatable_control/validatable_control.js +1 -0
- package/es/components/header/header.js +3 -0
- package/es/components/header/header_alert/header_alert.js +1 -0
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -0
- package/es/components/header/header_links/header_link.js +2 -0
- package/es/components/header/header_links/header_links.js +10 -2
- package/es/components/header/header_logo.js +1 -0
- package/es/components/header/header_section/header_section.js +1 -0
- package/es/components/header/header_section/header_section_item.js +1 -0
- package/es/components/health/health.js +1 -0
- package/es/components/highlight/highlight.js +1 -0
- package/es/components/horizontal_rule/horizontal_rule.js +2 -1
- package/es/components/icon/icon.js +1 -0
- package/es/components/image/image.js +1 -0
- package/es/components/index.js +1 -0
- package/es/components/key_pad_menu/key_pad_menu.js +1 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -0
- package/es/components/link/link.js +1 -0
- package/es/components/list_group/list_group.js +3 -0
- package/es/components/list_group/list_group_item.js +2 -0
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +5 -0
- package/es/components/loading/loading_chart.js +1 -0
- package/es/components/loading/loading_content.js +1 -0
- package/es/components/loading/loading_elastic.js +1 -0
- package/es/components/loading/loading_logo.js +1 -0
- package/es/components/loading/loading_spinner.js +1 -0
- package/es/components/mark/mark.js +1 -0
- package/es/components/markdown_editor/markdown_editor.js +2 -0
- package/es/components/markdown_editor/markdown_editor_text_area.js +1 -0
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -0
- package/es/components/markdown_editor/markdown_format.js +1 -0
- package/es/components/modal/modal_body.js +2 -1
- package/es/components/modal/modal_footer.js +2 -1
- package/es/components/modal/modal_header.js +2 -1
- package/es/components/modal/modal_header_title.js +2 -1
- package/es/components/notification/notification_event.js +4 -1
- package/es/components/notification/notification_event_read_button.js +1 -0
- package/es/components/notification/notification_event_read_icon.js +1 -0
- package/es/components/overlay_mask/overlay_mask.js +3 -1
- package/es/components/page/_bottom_border.js +1 -0
- package/es/components/page/_restrict_width.js +34 -7
- package/es/components/page/index.js +5 -3
- package/es/components/page/page.js +20 -30
- package/es/components/page/page.styles.js +43 -0
- package/es/components/page/page_body/page_body.js +18 -26
- package/es/components/page/page_body/page_body.styles.js +16 -0
- package/es/components/page/page_content/index.js +4 -4
- package/es/components/page/page_content/page_content.js +8 -2
- package/es/components/page/page_content/page_content_body.js +13 -7
- package/es/components/page/page_content/page_content_header.js +9 -3
- package/es/components/page/page_content/page_content_header_section.js +9 -3
- package/es/components/page/page_header/page_header.js +30 -172
- package/es/components/page/page_header/page_header.styles.js +16 -0
- package/es/components/page/page_header/page_header_content.js +88 -16
- package/es/components/page/page_header/page_header_content.styles.js +84 -0
- package/es/components/page/page_header/page_header_section.js +2 -1
- package/es/components/page/page_section/index.js +8 -0
- package/es/components/page/page_section/page_section.js +103 -0
- package/es/components/page/page_section/page_section.styles.js +43 -0
- package/es/components/page/page_side_bar/index.js +1 -1
- package/es/components/page/page_side_bar/page_side_bar.js +10 -4
- package/es/components/page/page_sidebar/index.js +8 -0
- package/es/components/page/page_sidebar/page_sidebar.js +113 -0
- package/es/components/page/page_sidebar/page_sidebar.styles.js +29 -0
- package/es/components/page/page_template.js +61 -155
- package/es/components/page_template/bottom_bar/page_bottom_bar.js +102 -0
- package/es/components/page_template/empty_prompt/page_empty_prompt.js +108 -0
- package/es/components/page_template/index.js +8 -0
- package/es/components/page_template/inner/index.js +8 -0
- package/es/components/page_template/inner/page_inner.js +51 -0
- package/es/components/page_template/inner/page_inner.styles.js +22 -0
- package/es/components/page_template/outer/index.js +8 -0
- package/es/components/page_template/outer/page_outer.js +60 -0
- package/es/components/page_template/outer/page_outer.styles.js +49 -0
- package/es/components/page_template/page_template.js +383 -0
- package/es/components/pagination/pagination.js +1 -0
- package/es/components/pagination/pagination_button.js +2 -0
- package/es/components/panel/panel.js +2 -1
- package/es/components/panel/split_panel/split_panel.js +2 -1
- package/es/components/popover/input_popover.js +1 -0
- package/es/components/popover/popover.js +10 -2
- package/es/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/es/components/popover/popover_footer.js +1 -0
- package/es/components/popover/popover_panel/_popover_panel.js +1 -0
- package/es/components/popover/popover_panel/_popover_panel.styles.js +3 -2
- package/es/components/popover/popover_title.js +1 -0
- package/es/components/progress/progress.js +1 -0
- package/es/components/provider/cache/cache_provider.js +9 -3
- package/es/components/resizable_container/resizable_button.js +2 -1
- package/es/components/resizable_container/resizable_container.js +2 -1
- package/es/components/resizable_container/resizable_panel.js +2 -1
- package/es/components/search_bar/search_bar.js +3 -1
- package/es/components/selectable/selectable.js +2 -0
- package/es/components/selectable/selectable_list/selectable_list.js +4 -0
- package/es/components/selectable/selectable_list/selectable_list_item.js +2 -0
- package/es/components/selectable/selectable_message/selectable_message.js +1 -0
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +5 -1
- package/es/components/side_nav/side_nav.js +1 -0
- package/es/components/spacer/spacer.js +1 -0
- package/es/components/stat/stat.js +1 -0
- package/es/components/steps/step.js +1 -0
- package/es/components/steps/step_horizontal.js +2 -1
- package/es/components/steps/step_number.js +2 -1
- package/es/components/steps/steps.js +2 -1
- package/es/components/steps/steps_horizontal.js +2 -1
- package/es/components/steps/sub_steps.js +2 -1
- package/es/components/suggest/suggest.js +2 -0
- package/es/components/suggest/suggest_item.js +1 -0
- package/es/components/table/mobile/table_header_mobile.js +2 -1
- package/es/components/table/mobile/table_sort_mobile_item.js +2 -1
- package/es/components/table/table.js +2 -1
- package/es/components/table/table_body.js +1 -0
- package/es/components/table/table_footer.js +2 -1
- package/es/components/table/table_footer_cell.js +1 -0
- package/es/components/table/table_header.js +1 -0
- package/es/components/table/table_header_button.js +1 -0
- package/es/components/table/table_header_cell.js +1 -0
- package/es/components/table/table_header_cell_checkbox.js +1 -0
- package/es/components/table/table_row.js +1 -0
- package/es/components/table/table_row_cell.js +1 -0
- package/es/components/table/table_row_cell_checkbox.js +2 -1
- package/es/components/tabs/tab.js +1 -0
- package/es/components/tabs/tabbed_content/tabbed_content.js +7 -3
- package/es/components/text/text.js +1 -0
- package/es/components/text/text_align.js +1 -0
- package/es/components/text/text_color.js +1 -0
- package/es/components/timeline/timeline.js +4 -2
- package/es/components/timeline/timeline_item.js +2 -1
- package/es/components/title/title.js +1 -0
- package/es/components/toast/global_toast_list.js +4 -2
- package/es/components/toast/global_toast_list_item.js +1 -0
- package/es/components/toast/toast.js +2 -1
- package/es/components/tool_tip/tool_tip_popover.js +1 -0
- package/es/components/tour/tour.js +1 -214
- package/es/components/tour/tour.styles.js +57 -0
- package/es/components/tour/tour_step.js +36 -6
- package/es/components/tour/tour_step_indicator.js +23 -14
- package/es/components/tree_view/tree_view.js +1 -0
- package/es/global_styling/functions/logicals.js +1 -1
- package/es/global_styling/mixins/_helpers.js +27 -9
- package/es/global_styling/mixins/_responsive.js +18 -14
- package/es/global_styling/variables/breakpoint.js +2 -1
- package/es/services/breakpoint/_sorting.js +41 -0
- package/es/services/breakpoint/current_breakpoint.js +19 -6
- package/es/services/breakpoint/index.js +2 -2
- package/es/services/breakpoint/is_within_hooks.js +67 -0
- package/es/services/index.js +1 -1
- package/eui.d.ts +619 -369
- package/i18ntokens.json +20 -20
- package/lib/components/accessibility/screen_reader_live/screen_reader_live.js +2 -2
- package/lib/components/accessibility/skip_link/skip_link.js +2 -0
- package/lib/components/accordion/accordion.js +18 -7
- package/lib/components/accordion/accordion.styles.js +4 -1
- package/lib/components/aspect_ratio/aspect_ratio.js +10 -20
- package/lib/components/avatar/avatar.js +1 -0
- package/lib/components/badge/badge.js +1 -0
- package/lib/components/badge/badge_group/badge_group.js +1 -0
- package/lib/components/badge/beta_badge/beta_badge.js +1 -0
- package/lib/components/badge/notification_badge/badge_notification.js +2 -1
- package/lib/components/basic_table/basic_table.js +5 -2
- package/lib/components/basic_table/in_memory_table.js +8 -3
- package/lib/components/beacon/beacon.js +1 -0
- package/lib/components/bottom_bar/bottom_bar.js +22 -3
- package/lib/components/breadcrumbs/breadcrumb.js +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -0
- package/lib/components/button/_button_content_deprecated.js +3 -1
- package/lib/components/button/button.js +4 -0
- package/lib/components/button/button_display/_button_display.js +2 -0
- package/lib/components/button/button_display/_button_display_content.js +3 -1
- package/lib/components/button/button_empty/button_empty.js +3 -1
- package/lib/components/button/button_group/button_group.js +4 -1
- package/lib/components/button/button_group/button_group_button.js +2 -0
- package/lib/components/button/button_icon/button_icon.js +1 -0
- package/lib/components/call_out/call_out.js +1 -0
- package/lib/components/card/card.js +3 -1
- package/lib/components/card/card_select.js +3 -1
- package/lib/components/code/code.js +1 -0
- package/lib/components/code/code_block.js +1 -0
- package/lib/components/collapsible_nav/collapsible_nav.js +6 -46
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +9 -1
- package/lib/components/color_picker/color_palette_display/color_palette_display.js +1 -0
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -0
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -0
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +7 -3
- package/lib/components/color_picker/color_picker.js +1 -0
- package/lib/components/color_picker/color_picker_swatch.js +1 -0
- package/lib/components/color_picker/color_stops/color_stop_thumb.js +1 -0
- package/lib/components/color_picker/color_stops/color_stops.js +2 -1
- package/lib/components/color_picker/hue.js +1 -0
- package/lib/components/color_picker/saturation.js +1 -0
- package/lib/components/combo_box/combo_box.js +2 -1
- package/lib/components/combo_box/combo_box_input/combo_box_input.js +6 -3
- package/lib/components/combo_box/combo_box_input/combo_box_pill.js +6 -3
- package/lib/components/combo_box/combo_box_options_list/combo_box_option.js +6 -3
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/lib/components/comment_list/comment.js +1 -0
- package/lib/components/comment_list/comment_event.js +2 -1
- package/lib/components/comment_list/comment_list.js +2 -0
- package/lib/components/comment_list/comment_timeline.js +2 -1
- package/lib/components/context_menu/context_menu.js +3 -1
- package/lib/components/context_menu/context_menu_item.js +1 -0
- package/lib/components/context_menu/context_menu_panel.js +1 -0
- package/lib/components/control_bar/control_bar.js +3 -0
- package/lib/components/copy/copy.js +2 -1
- package/lib/components/datagrid/body/data_grid_body.js +12 -0
- package/lib/components/datagrid/body/data_grid_cell.js +24 -0
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -0
- package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -0
- package/lib/components/datagrid/data_grid.js +13 -0
- package/lib/components/datagrid/utils/in_memory.js +12 -0
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +3 -1
- package/lib/components/date_picker/date_picker.js +1 -0
- package/lib/components/date_picker/date_picker_range.js +45 -4
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +2 -0
- package/lib/components/description_list/description_list.js +5 -2
- package/lib/components/description_list/description_list_description.js +2 -1
- package/lib/components/description_list/description_list_title.js +2 -1
- package/lib/components/drag_and_drop/draggable.js +2 -1
- package/lib/components/drag_and_drop/droppable.js +2 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -0
- package/lib/components/error_boundary/error_boundary.js +1 -0
- package/lib/components/expression/expression.js +1 -0
- package/lib/components/facet/facet_button.js +2 -1
- package/lib/components/facet/facet_group.js +1 -0
- package/lib/components/filter_group/filter_group.js +1 -0
- package/lib/components/filter_group/filter_select_item.js +2 -1
- package/lib/components/flex/flex_grid.js +1 -0
- package/lib/components/flex/flex_group.js +2 -1
- package/lib/components/flex/flex_item.js +1 -0
- package/lib/components/flyout/flyout.js +6 -33
- package/lib/components/flyout/flyout_body.js +1 -0
- package/lib/components/flyout/flyout_footer.js +2 -1
- package/lib/components/flyout/flyout_header.js +1 -0
- package/lib/components/focus_trap/focus_trap.js +1 -0
- package/lib/components/form/checkbox/checkbox.js +4 -2
- package/lib/components/form/checkbox/checkbox_group.js +2 -0
- package/lib/components/form/described_form_group/described_form_group.js +1 -0
- package/lib/components/form/field_number/field_number.js +1 -0
- package/lib/components/form/field_password/field_password.js +1 -0
- package/lib/components/form/field_search/field_search.js +2 -1
- package/lib/components/form/field_text/field_text.js +1 -0
- package/lib/components/form/file_picker/file_picker.js +2 -1
- package/lib/components/form/form.js +1 -0
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -0
- package/lib/components/form/form_control_layout/form_control_layout_clear_button.js +1 -0
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -0
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +1 -0
- package/lib/components/form/form_error_text/form_error_text.js +2 -1
- package/lib/components/form/form_fieldset/form_fieldset.js +3 -1
- package/lib/components/form/form_fieldset/form_legend.js +1 -0
- package/lib/components/form/form_help_text/form_help_text.js +2 -1
- package/lib/components/form/form_label/form_label.js +2 -1
- package/lib/components/form/form_row/form_row.js +1 -0
- package/lib/components/form/radio/radio.js +3 -1
- package/lib/components/form/radio/radio_group.js +2 -0
- package/lib/components/form/range/dual_range.js +2 -1
- package/lib/components/form/range/range.js +4 -2
- package/lib/components/form/range/range_levels.js +2 -1
- package/lib/components/form/range/range_slider.js +1 -0
- package/lib/components/form/range/range_thumb.js +2 -1
- package/lib/components/form/range/range_track.js +2 -1
- package/lib/components/form/range/range_wrapper.js +2 -1
- package/lib/components/form/select/select.js +1 -0
- package/lib/components/form/super_select/super_select.js +1 -0
- package/lib/components/form/switch/switch.js +3 -1
- package/lib/components/form/text_area/text_area.js +1 -0
- package/lib/components/form/validatable_control/validatable_control.js +1 -0
- package/lib/components/header/header.js +3 -0
- package/lib/components/header/header_alert/header_alert.js +1 -0
- package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -0
- package/lib/components/header/header_links/header_link.js +2 -0
- package/lib/components/header/header_links/header_links.js +10 -2
- package/lib/components/header/header_logo.js +1 -0
- package/lib/components/header/header_section/header_section.js +1 -0
- package/lib/components/header/header_section/header_section_item.js +1 -0
- package/lib/components/health/health.js +1 -0
- package/lib/components/highlight/highlight.js +1 -0
- package/lib/components/horizontal_rule/horizontal_rule.js +2 -1
- package/lib/components/icon/icon.js +1 -0
- package/lib/components/image/image.js +1 -0
- package/lib/components/index.js +13 -0
- package/lib/components/key_pad_menu/key_pad_menu.js +1 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -0
- package/lib/components/link/link.js +1 -0
- package/lib/components/list_group/list_group.js +3 -0
- package/lib/components/list_group/list_group_item.js +2 -0
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +5 -0
- package/lib/components/loading/loading_chart.js +1 -0
- package/lib/components/loading/loading_content.js +1 -0
- package/lib/components/loading/loading_elastic.js +1 -0
- package/lib/components/loading/loading_logo.js +1 -0
- package/lib/components/loading/loading_spinner.js +1 -0
- package/lib/components/mark/mark.js +1 -0
- package/lib/components/markdown_editor/markdown_editor.js +2 -0
- package/lib/components/markdown_editor/markdown_editor_text_area.js +1 -0
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -0
- package/lib/components/markdown_editor/markdown_format.js +1 -0
- package/lib/components/modal/modal_body.js +2 -1
- package/lib/components/modal/modal_footer.js +2 -1
- package/lib/components/modal/modal_header.js +2 -1
- package/lib/components/modal/modal_header_title.js +2 -1
- package/lib/components/notification/notification_event.js +4 -1
- package/lib/components/notification/notification_event_read_button.js +1 -0
- package/lib/components/overlay_mask/overlay_mask.js +3 -1
- package/lib/components/page/_bottom_border.js +5 -0
- package/lib/components/page/_restrict_width.js +38 -7
- package/lib/components/page/index.js +28 -12
- package/lib/components/page/page.js +23 -34
- package/lib/components/page/page.styles.js +46 -0
- package/lib/components/page/page_body/page_body.js +20 -29
- package/lib/components/page/page_body/page_body.styles.js +27 -0
- package/lib/components/page/page_content/index.js +8 -8
- package/lib/components/page/page_content/page_content.js +9 -4
- package/lib/components/page/page_content/page_content_body.js +14 -9
- package/lib/components/page/page_content/page_content_header.js +10 -5
- package/lib/components/page/page_content/page_content_header_section.js +10 -5
- package/lib/components/page/page_header/page_header.js +32 -175
- package/lib/components/page/page_header/page_header.styles.js +27 -0
- package/lib/components/page/page_header/page_header_content.js +112 -16
- package/lib/components/page/page_header/page_header_content.styles.js +87 -0
- package/lib/components/page/page_header/page_header_section.js +2 -1
- package/lib/components/page/page_section/index.js +13 -0
- package/lib/components/page/page_section/page_section.js +114 -0
- package/lib/components/page/page_section/page_section.styles.js +51 -0
- package/lib/components/page/page_side_bar/index.js +2 -2
- package/lib/components/page/page_side_bar/page_side_bar.js +11 -6
- package/lib/components/page/page_sidebar/index.js +13 -0
- package/lib/components/page/page_sidebar/page_sidebar.js +127 -0
- package/lib/components/page/page_sidebar/page_sidebar.styles.js +32 -0
- package/lib/components/page/page_template.js +83 -178
- package/lib/components/page_template/bottom_bar/page_bottom_bar.js +114 -0
- package/lib/components/page_template/empty_prompt/page_empty_prompt.js +117 -0
- package/lib/components/page_template/index.js +13 -0
- package/lib/components/page_template/inner/index.js +13 -0
- package/lib/components/page_template/inner/page_inner.js +60 -0
- package/lib/components/page_template/inner/page_inner.styles.js +35 -0
- package/lib/components/page_template/outer/index.js +13 -0
- package/lib/components/page_template/outer/page_outer.js +69 -0
- package/lib/components/page_template/outer/page_outer.styles.js +51 -0
- package/lib/components/page_template/page_template.js +406 -0
- package/lib/components/pagination/pagination.js +1 -0
- package/lib/components/panel/panel.js +2 -1
- package/lib/components/panel/split_panel/split_panel.js +2 -1
- package/lib/components/popover/input_popover.js +1 -0
- package/lib/components/popover/popover.js +10 -2
- package/lib/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/lib/components/popover/popover_footer.js +1 -0
- package/lib/components/popover/popover_panel/_popover_panel.js +1 -0
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +5 -3
- package/lib/components/popover/popover_title.js +1 -0
- package/lib/components/progress/progress.js +1 -0
- package/lib/components/provider/cache/cache_provider.js +11 -3
- package/lib/components/resizable_container/resizable_button.js +2 -1
- package/lib/components/resizable_container/resizable_container.js +2 -1
- package/lib/components/resizable_container/resizable_panel.js +2 -1
- package/lib/components/search_bar/search_bar.js +3 -1
- package/lib/components/selectable/selectable.js +2 -0
- package/lib/components/selectable/selectable_list/selectable_list.js +4 -0
- package/lib/components/selectable/selectable_list/selectable_list_item.js +2 -0
- package/lib/components/selectable/selectable_message/selectable_message.js +1 -0
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +5 -1
- package/lib/components/side_nav/side_nav.js +1 -0
- package/lib/components/spacer/spacer.js +1 -0
- package/lib/components/stat/stat.js +1 -0
- package/lib/components/steps/step.js +1 -0
- package/lib/components/steps/step_horizontal.js +2 -1
- package/lib/components/steps/step_number.js +2 -1
- package/lib/components/steps/steps.js +2 -1
- package/lib/components/steps/steps_horizontal.js +2 -1
- package/lib/components/steps/sub_steps.js +2 -1
- package/lib/components/suggest/suggest.js +2 -0
- package/lib/components/suggest/suggest_item.js +1 -0
- package/lib/components/table/mobile/table_header_mobile.js +2 -1
- package/lib/components/table/mobile/table_sort_mobile_item.js +2 -1
- package/lib/components/table/table.js +2 -1
- package/lib/components/table/table_body.js +1 -0
- package/lib/components/table/table_footer.js +2 -1
- package/lib/components/table/table_footer_cell.js +1 -0
- package/lib/components/table/table_header.js +1 -0
- package/lib/components/table/table_header_button.js +1 -0
- package/lib/components/table/table_header_cell.js +1 -0
- package/lib/components/table/table_header_cell_checkbox.js +1 -0
- package/lib/components/table/table_row.js +1 -0
- package/lib/components/table/table_row_cell.js +1 -0
- package/lib/components/table/table_row_cell_checkbox.js +2 -1
- package/lib/components/tabs/tab.js +1 -0
- package/lib/components/tabs/tabbed_content/tabbed_content.js +7 -3
- package/lib/components/text/text.js +1 -0
- package/lib/components/text/text_align.js +1 -0
- package/lib/components/text/text_color.js +1 -0
- package/lib/components/timeline/timeline.js +4 -2
- package/lib/components/timeline/timeline_item.js +2 -1
- package/lib/components/title/title.js +1 -0
- package/lib/components/toast/global_toast_list.js +4 -2
- package/lib/components/toast/global_toast_list_item.js +1 -0
- package/lib/components/toast/toast.js +2 -1
- package/lib/components/tool_tip/tool_tip_popover.js +1 -0
- package/lib/components/tour/tour.js +1 -71
- package/lib/components/tour/tour.styles.js +79 -0
- package/lib/components/tour/tour_step.js +31 -5
- package/lib/components/tour/tour_step_indicator.js +22 -19
- package/lib/components/tree_view/tree_view.js +1 -0
- package/lib/global_styling/functions/logicals.js +1 -1
- package/lib/global_styling/mixins/_helpers.js +27 -9
- package/lib/global_styling/mixins/_responsive.js +18 -14
- package/lib/global_styling/variables/breakpoint.js +3 -1
- package/lib/services/breakpoint/_sorting.js +53 -0
- package/lib/services/breakpoint/current_breakpoint.js +19 -5
- package/lib/services/breakpoint/index.js +4 -17
- package/lib/services/breakpoint/is_within_hooks.js +82 -0
- package/lib/services/index.js +14 -42
- package/optimize/es/components/accessibility/screen_reader_live/screen_reader_live.js +2 -2
- package/optimize/es/components/accordion/accordion.js +9 -5
- package/optimize/es/components/accordion/accordion.styles.js +4 -1
- package/optimize/es/components/aspect_ratio/aspect_ratio.js +9 -18
- package/optimize/es/components/bottom_bar/bottom_bar.js +1 -1
- package/optimize/es/components/collapsible_nav/collapsible_nav.js +3 -38
- package/optimize/es/components/date_picker/date_picker_range.js +29 -3
- package/optimize/es/components/description_list/description_list_description.js +2 -1
- package/optimize/es/components/description_list/description_list_title.js +2 -1
- package/optimize/es/components/flyout/flyout.js +7 -34
- package/optimize/es/components/header/header.js +2 -0
- package/optimize/es/components/header/header_links/header_links.js +2 -1
- package/optimize/es/components/index.js +1 -0
- package/optimize/es/components/overlay_mask/overlay_mask.js +2 -1
- package/optimize/es/components/page/_bottom_border.js +1 -0
- package/optimize/es/components/page/_restrict_width.js +34 -7
- package/optimize/es/components/page/index.js +5 -3
- package/optimize/es/components/page/page.js +18 -28
- package/optimize/es/components/page/page.styles.js +43 -0
- package/optimize/es/components/page/page_body/page_body.js +18 -25
- package/optimize/es/components/page/page_body/page_body.styles.js +16 -0
- package/optimize/es/components/page/page_content/index.js +4 -4
- package/optimize/es/components/page/page_content/page_content.js +6 -1
- package/optimize/es/components/page/page_content/page_content_body.js +10 -5
- package/optimize/es/components/page/page_content/page_content_header.js +6 -1
- package/optimize/es/components/page/page_content/page_content_header_section.js +6 -1
- package/optimize/es/components/page/page_header/page_header.js +20 -32
- package/optimize/es/components/page/page_header/page_header.styles.js +16 -0
- package/optimize/es/components/page/page_header/page_header_content.js +62 -14
- package/optimize/es/components/page/page_header/page_header_content.styles.js +84 -0
- package/optimize/es/components/page/page_section/index.js +8 -0
- package/optimize/es/components/page/page_section/page_section.js +51 -0
- package/optimize/es/components/page/page_section/page_section.styles.js +43 -0
- package/optimize/es/components/page/page_side_bar/index.js +1 -1
- package/optimize/es/components/page/page_side_bar/page_side_bar.js +6 -1
- package/optimize/es/components/page/page_sidebar/index.js +8 -0
- package/optimize/es/components/page/page_sidebar/page_sidebar.js +62 -0
- package/optimize/es/components/page/page_sidebar/page_sidebar.styles.js +29 -0
- package/optimize/es/components/page/page_template.js +29 -9
- package/optimize/es/components/page_template/bottom_bar/page_bottom_bar.js +70 -0
- package/optimize/es/components/page_template/empty_prompt/page_empty_prompt.js +61 -0
- package/optimize/es/components/page_template/index.js +8 -0
- package/optimize/es/components/page_template/inner/index.js +8 -0
- package/optimize/es/components/page_template/inner/page_inner.js +47 -0
- package/optimize/es/components/page_template/inner/page_inner.styles.js +22 -0
- package/optimize/es/components/page_template/outer/index.js +8 -0
- package/optimize/es/components/page_template/outer/page_outer.js +33 -0
- package/optimize/es/components/page_template/outer/page_outer.styles.js +49 -0
- package/optimize/es/components/page_template/page_template.js +204 -0
- package/optimize/es/components/popover/popover.js +3 -1
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +3 -2
- package/optimize/es/components/provider/cache/cache_provider.js +9 -3
- package/optimize/es/components/tour/tour.styles.js +57 -0
- package/optimize/es/components/tour/tour_step.js +30 -6
- package/optimize/es/components/tour/tour_step_indicator.js +19 -12
- package/optimize/es/global_styling/functions/logicals.js +1 -1
- package/optimize/es/global_styling/mixins/_helpers.js +27 -9
- package/optimize/es/global_styling/mixins/_responsive.js +18 -14
- package/optimize/es/global_styling/variables/breakpoint.js +2 -1
- package/optimize/es/services/breakpoint/_sorting.js +31 -0
- package/optimize/es/services/breakpoint/current_breakpoint.js +19 -6
- package/optimize/es/services/breakpoint/index.js +2 -2
- package/optimize/es/services/breakpoint/is_within_hooks.js +67 -0
- package/optimize/es/services/index.js +1 -1
- package/optimize/lib/components/accessibility/screen_reader_live/screen_reader_live.js +2 -2
- package/optimize/lib/components/accordion/accordion.js +9 -5
- package/optimize/lib/components/accordion/accordion.styles.js +4 -1
- package/optimize/lib/components/aspect_ratio/aspect_ratio.js +9 -20
- package/optimize/lib/components/bottom_bar/bottom_bar.js +1 -1
- package/optimize/lib/components/collapsible_nav/collapsible_nav.js +1 -37
- package/optimize/lib/components/date_picker/date_picker_range.js +29 -3
- package/optimize/lib/components/flyout/flyout.js +6 -33
- package/optimize/lib/components/header/header.js +2 -0
- package/optimize/lib/components/header/header_links/header_links.js +2 -1
- package/optimize/lib/components/index.js +13 -0
- package/optimize/lib/components/overlay_mask/overlay_mask.js +2 -1
- package/optimize/lib/components/page/_bottom_border.js +5 -0
- package/optimize/lib/components/page/_restrict_width.js +38 -7
- package/optimize/lib/components/page/index.js +28 -12
- package/optimize/lib/components/page/page.js +21 -33
- package/optimize/lib/components/page/page.styles.js +46 -0
- package/optimize/lib/components/page/page_body/page_body.js +20 -29
- package/optimize/lib/components/page/page_body/page_body.styles.js +27 -0
- package/optimize/lib/components/page/page_content/index.js +8 -8
- package/optimize/lib/components/page/page_content/page_content.js +7 -3
- package/optimize/lib/components/page/page_content/page_content_body.js +11 -7
- package/optimize/lib/components/page/page_content/page_content_header.js +7 -3
- package/optimize/lib/components/page/page_content/page_content_header_section.js +7 -3
- package/optimize/lib/components/page/page_header/page_header.js +22 -36
- package/optimize/lib/components/page/page_header/page_header.styles.js +27 -0
- package/optimize/lib/components/page/page_header/page_header_content.js +66 -13
- package/optimize/lib/components/page/page_header/page_header_content.styles.js +87 -0
- package/optimize/lib/components/page/page_section/index.js +13 -0
- package/optimize/lib/components/page/page_section/page_section.js +62 -0
- package/optimize/lib/components/page/page_section/page_section.styles.js +51 -0
- package/optimize/lib/components/page/page_side_bar/index.js +2 -2
- package/optimize/lib/components/page/page_side_bar/page_side_bar.js +7 -3
- package/optimize/lib/components/page/page_sidebar/index.js +13 -0
- package/optimize/lib/components/page/page_sidebar/page_sidebar.js +81 -0
- package/optimize/lib/components/page/page_sidebar/page_sidebar.styles.js +32 -0
- package/optimize/lib/components/page/page_template.js +51 -33
- package/optimize/lib/components/page_template/bottom_bar/page_bottom_bar.js +85 -0
- package/optimize/lib/components/page_template/empty_prompt/page_empty_prompt.js +71 -0
- package/optimize/lib/components/page_template/index.js +13 -0
- package/optimize/lib/components/page_template/inner/index.js +13 -0
- package/optimize/lib/components/page_template/inner/page_inner.js +57 -0
- package/optimize/lib/components/page_template/inner/page_inner.styles.js +35 -0
- package/optimize/lib/components/page_template/outer/index.js +13 -0
- package/optimize/lib/components/page_template/outer/page_outer.js +42 -0
- package/optimize/lib/components/page_template/outer/page_outer.styles.js +51 -0
- package/optimize/lib/components/page_template/page_template.js +230 -0
- package/optimize/lib/components/popover/popover.js +3 -1
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +5 -3
- package/optimize/lib/components/provider/cache/cache_provider.js +11 -3
- package/optimize/lib/components/tour/tour.styles.js +79 -0
- package/optimize/lib/components/tour/tour_step.js +30 -5
- package/optimize/lib/components/tour/tour_step_indicator.js +20 -17
- package/optimize/lib/global_styling/functions/logicals.js +1 -1
- package/optimize/lib/global_styling/mixins/_helpers.js +27 -9
- package/optimize/lib/global_styling/mixins/_responsive.js +18 -14
- package/optimize/lib/global_styling/variables/breakpoint.js +3 -1
- package/optimize/lib/services/breakpoint/_sorting.js +45 -0
- package/optimize/lib/services/breakpoint/current_breakpoint.js +19 -5
- package/optimize/lib/services/breakpoint/index.js +4 -17
- package/optimize/lib/services/breakpoint/is_within_hooks.js +82 -0
- package/optimize/lib/services/index.js +14 -42
- package/package.json +2 -1
- package/src/components/index.scss +0 -1
- package/src/components/page/_index.scss +0 -5
- package/src/components/page/page_content/_page_content_body.scss +10 -1
- package/src/components/tabs/_tabs.scss +2 -0
- package/test-env/components/accessibility/screen_reader_live/screen_reader_live.js +2 -2
- package/test-env/components/accessibility/skip_link/skip_link.js +2 -0
- package/test-env/components/accordion/accordion.js +18 -7
- package/test-env/components/accordion/accordion.styles.js +4 -1
- package/test-env/components/aspect_ratio/aspect_ratio.js +10 -20
- package/test-env/components/avatar/avatar.js +1 -0
- package/test-env/components/badge/badge.js +1 -0
- package/test-env/components/badge/badge_group/badge_group.js +1 -0
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -0
- package/test-env/components/badge/notification_badge/badge_notification.js +2 -1
- package/test-env/components/basic_table/basic_table.js +5 -2
- package/test-env/components/basic_table/in_memory_table.js +8 -3
- package/test-env/components/beacon/beacon.js +1 -0
- package/test-env/components/bottom_bar/bottom_bar.js +22 -3
- package/test-env/components/breadcrumbs/breadcrumb.js +1 -0
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -0
- package/test-env/components/button/_button_content_deprecated.js +3 -1
- package/test-env/components/button/button.js +4 -0
- package/test-env/components/button/button_display/_button_display.js +2 -0
- package/test-env/components/button/button_display/_button_display_content.js +3 -1
- package/test-env/components/button/button_empty/button_empty.js +3 -1
- package/test-env/components/button/button_group/button_group.js +4 -1
- package/test-env/components/button/button_group/button_group_button.js +2 -0
- package/test-env/components/button/button_icon/button_icon.js +1 -0
- package/test-env/components/call_out/call_out.js +1 -0
- package/test-env/components/card/card.js +3 -1
- package/test-env/components/card/card_select.js +3 -1
- package/test-env/components/collapsible_nav/collapsible_nav.js +6 -40
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +9 -1
- package/test-env/components/color_picker/color_palette_display/color_palette_display.js +1 -0
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -0
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -0
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +7 -3
- package/test-env/components/color_picker/color_picker.js +1 -0
- package/test-env/components/color_picker/color_picker_swatch.js +1 -0
- package/test-env/components/color_picker/color_stops/color_stop_thumb.js +1 -0
- package/test-env/components/color_picker/color_stops/color_stops.js +2 -1
- package/test-env/components/color_picker/hue.js +1 -0
- package/test-env/components/color_picker/saturation.js +1 -0
- package/test-env/components/combo_box/combo_box.js +2 -1
- package/test-env/components/combo_box/combo_box_input/combo_box_input.js +6 -3
- package/test-env/components/combo_box/combo_box_input/combo_box_pill.js +6 -3
- package/test-env/components/combo_box/combo_box_options_list/combo_box_option.js +6 -3
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/test-env/components/comment_list/comment.js +1 -0
- package/test-env/components/comment_list/comment_event.js +2 -1
- package/test-env/components/comment_list/comment_list.js +2 -0
- package/test-env/components/comment_list/comment_timeline.js +2 -1
- package/test-env/components/context_menu/context_menu.js +3 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -0
- package/test-env/components/context_menu/context_menu_panel.js +1 -0
- package/test-env/components/control_bar/control_bar.js +3 -0
- package/test-env/components/copy/copy.js +2 -1
- package/test-env/components/datagrid/body/data_grid_body.js +12 -0
- package/test-env/components/datagrid/body/data_grid_cell.js +24 -0
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -0
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -0
- package/test-env/components/datagrid/data_grid.js +13 -0
- package/test-env/components/datagrid/utils/in_memory.js +12 -0
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +3 -1
- package/test-env/components/date_picker/date_picker.js +1 -0
- package/test-env/components/date_picker/date_picker_range.js +45 -4
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +2 -0
- package/test-env/components/description_list/description_list.js +5 -2
- package/test-env/components/description_list/description_list_description.js +2 -1
- package/test-env/components/description_list/description_list_title.js +2 -1
- package/test-env/components/drag_and_drop/draggable.js +2 -1
- package/test-env/components/drag_and_drop/droppable.js +2 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -0
- package/test-env/components/error_boundary/error_boundary.js +1 -0
- package/test-env/components/expression/expression.js +1 -0
- package/test-env/components/facet/facet_button.js +2 -1
- package/test-env/components/facet/facet_group.js +1 -0
- package/test-env/components/filter_group/filter_group.js +1 -0
- package/test-env/components/filter_group/filter_select_item.js +2 -1
- package/test-env/components/flex/flex_grid.js +1 -0
- package/test-env/components/flex/flex_group.js +2 -1
- package/test-env/components/flex/flex_item.js +1 -0
- package/test-env/components/flyout/flyout_body.js +1 -0
- package/test-env/components/flyout/flyout_footer.js +2 -1
- package/test-env/components/flyout/flyout_header.js +1 -0
- package/test-env/components/form/checkbox/checkbox.js +4 -2
- package/test-env/components/form/checkbox/checkbox_group.js +2 -0
- package/test-env/components/form/described_form_group/described_form_group.js +1 -0
- package/test-env/components/form/field_number/field_number.js +1 -0
- package/test-env/components/form/field_password/field_password.js +1 -0
- package/test-env/components/form/field_search/field_search.js +2 -1
- package/test-env/components/form/field_text/field_text.js +1 -0
- package/test-env/components/form/file_picker/file_picker.js +2 -1
- package/test-env/components/form/form.js +1 -0
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -0
- package/test-env/components/form/form_control_layout/form_control_layout_clear_button.js +1 -0
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -0
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +1 -0
- package/test-env/components/form/form_error_text/form_error_text.js +2 -1
- package/test-env/components/form/form_fieldset/form_fieldset.js +3 -1
- package/test-env/components/form/form_fieldset/form_legend.js +1 -0
- package/test-env/components/form/form_help_text/form_help_text.js +2 -1
- package/test-env/components/form/form_label/form_label.js +2 -1
- package/test-env/components/form/form_row/form_row.js +1 -0
- package/test-env/components/form/radio/radio.js +3 -1
- package/test-env/components/form/radio/radio_group.js +2 -0
- package/test-env/components/form/range/dual_range.js +2 -1
- package/test-env/components/form/range/range.js +4 -2
- package/test-env/components/form/range/range_levels.js +2 -1
- package/test-env/components/form/range/range_slider.js +1 -0
- package/test-env/components/form/range/range_thumb.js +2 -1
- package/test-env/components/form/range/range_track.js +2 -1
- package/test-env/components/form/range/range_wrapper.js +2 -1
- package/test-env/components/form/select/select.js +1 -0
- package/test-env/components/form/super_select/super_select.js +1 -0
- package/test-env/components/form/switch/switch.js +3 -1
- package/test-env/components/form/text_area/text_area.js +1 -0
- package/test-env/components/form/validatable_control/validatable_control.js +1 -0
- package/test-env/components/header/header.js +3 -0
- package/test-env/components/header/header_alert/header_alert.js +1 -0
- package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -0
- package/test-env/components/header/header_links/header_link.js +2 -0
- package/test-env/components/header/header_links/header_links.js +10 -2
- package/test-env/components/header/header_logo.js +1 -0
- package/test-env/components/header/header_section/header_section.js +1 -0
- package/test-env/components/header/header_section/header_section_item.js +1 -0
- package/test-env/components/health/health.js +1 -0
- package/test-env/components/highlight/highlight.js +1 -0
- package/test-env/components/horizontal_rule/horizontal_rule.js +2 -1
- package/test-env/components/image/image.js +1 -0
- package/test-env/components/index.js +13 -0
- package/test-env/components/key_pad_menu/key_pad_menu.js +1 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -0
- package/test-env/components/link/link.js +1 -0
- package/test-env/components/list_group/list_group.js +3 -0
- package/test-env/components/list_group/list_group_item.js +2 -0
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +5 -0
- package/test-env/components/loading/loading_chart.js +1 -0
- package/test-env/components/loading/loading_content.js +1 -0
- package/test-env/components/loading/loading_elastic.js +1 -0
- package/test-env/components/loading/loading_logo.js +1 -0
- package/test-env/components/loading/loading_spinner.js +1 -0
- package/test-env/components/mark/mark.js +1 -0
- package/test-env/components/markdown_editor/markdown_editor.js +2 -0
- package/test-env/components/markdown_editor/markdown_editor_text_area.js +1 -0
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -0
- package/test-env/components/markdown_editor/markdown_format.js +1 -0
- package/test-env/components/modal/modal_body.js +2 -1
- package/test-env/components/modal/modal_footer.js +2 -1
- package/test-env/components/modal/modal_header.js +2 -1
- package/test-env/components/modal/modal_header_title.js +2 -1
- package/test-env/components/notification/notification_event.js +4 -1
- package/test-env/components/notification/notification_event_read_button.js +1 -0
- package/test-env/components/overlay_mask/overlay_mask.js +3 -1
- package/test-env/components/page/_bottom_border.js +5 -0
- package/test-env/components/page/_restrict_width.js +38 -7
- package/test-env/components/page/index.js +28 -12
- package/test-env/components/page/page.js +23 -34
- package/test-env/components/page/page.styles.js +46 -0
- package/test-env/components/page/page_body/page_body.js +20 -29
- package/test-env/components/page/page_body/page_body.styles.js +27 -0
- package/test-env/components/page/page_content/index.js +8 -8
- package/test-env/components/page/page_content/page_content.js +9 -4
- package/test-env/components/page/page_content/page_content_body.js +14 -9
- package/test-env/components/page/page_content/page_content_header.js +10 -5
- package/test-env/components/page/page_content/page_content_header_section.js +10 -5
- package/test-env/components/page/page_header/page_header.js +32 -175
- package/test-env/components/page/page_header/page_header.styles.js +27 -0
- package/test-env/components/page/page_header/page_header_content.js +113 -16
- package/test-env/components/page/page_header/page_header_content.styles.js +87 -0
- package/test-env/components/page/page_header/page_header_section.js +2 -1
- package/test-env/components/page/page_section/index.js +13 -0
- package/test-env/components/page/page_section/page_section.js +111 -0
- package/test-env/components/page/page_section/page_section.styles.js +51 -0
- package/test-env/components/page/page_side_bar/index.js +2 -2
- package/test-env/components/page/page_side_bar/page_side_bar.js +11 -6
- package/test-env/components/page/page_sidebar/index.js +13 -0
- package/test-env/components/page/page_sidebar/page_sidebar.js +116 -0
- package/test-env/components/page/page_sidebar/page_sidebar.styles.js +32 -0
- package/test-env/components/page/page_template.js +83 -179
- package/test-env/components/page_template/bottom_bar/page_bottom_bar.js +102 -0
- package/test-env/components/page_template/empty_prompt/page_empty_prompt.js +115 -0
- package/test-env/components/page_template/index.js +13 -0
- package/test-env/components/page_template/inner/index.js +13 -0
- package/test-env/components/page_template/inner/page_inner.js +57 -0
- package/test-env/components/page_template/inner/page_inner.styles.js +35 -0
- package/test-env/components/page_template/outer/index.js +13 -0
- package/test-env/components/page_template/outer/page_outer.js +66 -0
- package/test-env/components/page_template/outer/page_outer.styles.js +51 -0
- package/test-env/components/page_template/page_template.js +394 -0
- package/test-env/components/pagination/pagination.js +1 -0
- package/test-env/components/panel/panel.js +2 -1
- package/test-env/components/panel/split_panel/split_panel.js +2 -1
- package/test-env/components/popover/input_popover.js +1 -0
- package/test-env/components/popover/popover.js +10 -2
- package/test-env/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/test-env/components/popover/popover_footer.js +1 -0
- package/test-env/components/popover/popover_panel/_popover_panel.js +1 -0
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +5 -3
- package/test-env/components/popover/popover_title.js +1 -0
- package/test-env/components/progress/progress.js +1 -0
- package/test-env/components/provider/cache/cache_provider.js +11 -3
- package/test-env/components/resizable_container/resizable_button.js +2 -1
- package/test-env/components/resizable_container/resizable_container.js +2 -1
- package/test-env/components/resizable_container/resizable_panel.js +2 -1
- package/test-env/components/search_bar/search_bar.js +3 -1
- package/test-env/components/selectable/selectable.js +2 -0
- package/test-env/components/selectable/selectable_list/selectable_list.js +4 -0
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +2 -0
- package/test-env/components/selectable/selectable_message/selectable_message.js +1 -0
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +5 -1
- package/test-env/components/side_nav/side_nav.js +1 -0
- package/test-env/components/spacer/spacer.js +1 -0
- package/test-env/components/stat/stat.js +1 -0
- package/test-env/components/steps/step.js +1 -0
- package/test-env/components/steps/step_horizontal.js +2 -1
- package/test-env/components/steps/step_number.js +2 -1
- package/test-env/components/steps/steps.js +2 -1
- package/test-env/components/steps/steps_horizontal.js +2 -1
- package/test-env/components/steps/sub_steps.js +2 -1
- package/test-env/components/suggest/suggest.js +2 -0
- package/test-env/components/suggest/suggest_item.js +1 -0
- package/test-env/components/table/mobile/table_header_mobile.js +2 -1
- package/test-env/components/table/mobile/table_sort_mobile_item.js +2 -1
- package/test-env/components/table/table.js +2 -1
- package/test-env/components/table/table_body.js +1 -0
- package/test-env/components/table/table_footer.js +2 -1
- package/test-env/components/table/table_footer_cell.js +1 -0
- package/test-env/components/table/table_header.js +1 -0
- package/test-env/components/table/table_header_button.js +1 -0
- package/test-env/components/table/table_header_cell.js +1 -0
- package/test-env/components/table/table_header_cell_checkbox.js +1 -0
- package/test-env/components/table/table_row.js +1 -0
- package/test-env/components/table/table_row_cell.js +1 -0
- package/test-env/components/table/table_row_cell_checkbox.js +2 -1
- package/test-env/components/tabs/tab.js +1 -0
- package/test-env/components/tabs/tabbed_content/tabbed_content.js +7 -3
- package/test-env/components/text/text.js +1 -0
- package/test-env/components/text/text_align.js +1 -0
- package/test-env/components/text/text_color.js +1 -0
- package/test-env/components/timeline/timeline.js +4 -2
- package/test-env/components/timeline/timeline_item.js +2 -1
- package/test-env/components/title/title.js +1 -0
- package/test-env/components/toast/global_toast_list.js +4 -2
- package/test-env/components/toast/global_toast_list_item.js +1 -0
- package/test-env/components/toast/toast.js +2 -1
- package/test-env/components/tool_tip/tool_tip_popover.js +1 -0
- package/test-env/components/tour/tour.js +1 -71
- package/test-env/components/tour/tour.styles.js +79 -0
- package/test-env/components/tour/tour_step.js +31 -5
- package/test-env/components/tour/tour_step_indicator.js +24 -20
- package/test-env/components/tree_view/tree_view.js +1 -0
- package/test-env/global_styling/functions/logicals.js +1 -1
- package/test-env/global_styling/mixins/_helpers.js +27 -9
- package/test-env/global_styling/mixins/_responsive.js +18 -14
- package/test-env/global_styling/variables/breakpoint.js +3 -1
- package/test-env/services/breakpoint/_sorting.js +45 -0
- package/test-env/services/breakpoint/current_breakpoint.js +19 -5
- package/test-env/services/breakpoint/current_breakpoint_hook.js +9 -2
- package/test-env/services/breakpoint/index.js +4 -17
- package/test-env/services/breakpoint/is_within_hooks.js +82 -0
- package/test-env/services/index.js +14 -42
- package/es/services/breakpoint/breakpoint.js +0 -86
- package/es/services/breakpoint/useIsWithinBreakpoints.js +0 -24
- package/lib/services/breakpoint/breakpoint.js +0 -105
- package/lib/services/breakpoint/useIsWithinBreakpoints.js +0 -34
- package/optimize/es/services/breakpoint/breakpoint.js +0 -86
- package/optimize/es/services/breakpoint/useIsWithinBreakpoints.js +0 -24
- package/optimize/lib/services/breakpoint/breakpoint.js +0 -105
- package/optimize/lib/services/breakpoint/useIsWithinBreakpoints.js +0 -34
- package/src/components/page/_mixins.scss +0 -12
- package/src/components/page/_page.scss +0 -41
- package/src/components/page/page_body/_index.scss +0 -1
- package/src/components/page/page_body/_page_body.scss +0 -45
- package/src/components/page/page_header/_index.scss +0 -3
- package/src/components/page/page_header/_page_header.scss +0 -78
- package/src/components/page/page_header/_page_header_content.scss +0 -15
- package/src/components/page/page_header/_page_header_section.scss +0 -26
- package/src/components/tour/_index.scss +0 -2
- package/src/components/tour/_tour.scss +0 -68
- package/src/components/tour/_tour_step_indicator.scss +0 -3
- package/test-env/services/breakpoint/breakpoint.js +0 -105
- package/test-env/services/breakpoint/useIsWithinBreakpoints.js +0 -34
package/eui.d.ts
CHANGED
|
@@ -189,13 +189,21 @@ declare module '@elastic/eui/src/services/alignment' {
|
|
|
189
189
|
export const CENTER_ALIGNMENT = "center";
|
|
190
190
|
export type HorizontalAlignment = 'left' | 'right' | 'center';
|
|
191
191
|
|
|
192
|
+
}
|
|
193
|
+
declare module '@elastic/eui/src/global_styling/variables/breakpoint' {
|
|
194
|
+
export const EuiThemeBreakpoints: readonly ["xs", "s", "m", "l", "xl"];
|
|
195
|
+
export type _EuiThemeBreakpoint = string;
|
|
196
|
+
export type _EuiThemeBreakpoints = Record<_EuiThemeBreakpoint, number>;
|
|
197
|
+
|
|
192
198
|
}
|
|
193
199
|
declare module '@elastic/eui/src/components/common' {
|
|
194
200
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComponentProps, Component, FunctionComponent, JSXElementConstructor, MouseEventHandler, SFC } from 'react';
|
|
201
|
+
import { Interpolation, Theme } from '@emotion/react';
|
|
195
202
|
export interface CommonProps {
|
|
196
203
|
className?: string;
|
|
197
204
|
'aria-label'?: string;
|
|
198
205
|
'data-test-subj'?: string;
|
|
206
|
+
css?: Interpolation<Theme>;
|
|
199
207
|
}
|
|
200
208
|
export type NoArgCallback<T> = () => T;
|
|
201
209
|
export const assertNever: (x: never) => never;
|
|
@@ -300,14 +308,6 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
300
308
|
}; type NonAny = number | boolean | string | symbol | null;
|
|
301
309
|
export {};
|
|
302
310
|
|
|
303
|
-
}
|
|
304
|
-
declare module '@elastic/eui/src/global_styling/variables/breakpoint' {
|
|
305
|
-
export const EuiThemeBreakpoints: readonly ["xs", "s", "m", "l", "xl"];
|
|
306
|
-
export type _EuiThemeBreakpoint = typeof EuiThemeBreakpoints[number];
|
|
307
|
-
export type _EuiThemeBreakpoints = {
|
|
308
|
-
[key in _EuiThemeBreakpoint]: number;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
311
|
}
|
|
312
312
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
313
313
|
import { CSSProperties } from 'react';
|
|
@@ -335,6 +335,62 @@ declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
|
335
335
|
export type _EuiThemeAnimationEasings = Record<_EuiThemeAnimationEasing, CSSProperties['animationTimingFunction']>;
|
|
336
336
|
export type _EuiThemeAnimation = _EuiThemeAnimationEasings & _EuiThemeAnimationSpeeds;
|
|
337
337
|
|
|
338
|
+
}
|
|
339
|
+
declare module '@elastic/eui/src/global_styling/variables/borders' {
|
|
340
|
+
import { CSSProperties } from 'react';
|
|
341
|
+
import { ColorModeSwitch } from '@elastic/eui/src/services/theme/types';
|
|
342
|
+
export interface _EuiThemeBorderWidthValues {
|
|
343
|
+
/**
|
|
344
|
+
* Thinnest width for border
|
|
345
|
+
*/
|
|
346
|
+
thin: CSSProperties['borderWidth'];
|
|
347
|
+
/**
|
|
348
|
+
* Thickest width for border
|
|
349
|
+
*/
|
|
350
|
+
thick: CSSProperties['borderWidth'];
|
|
351
|
+
}
|
|
352
|
+
export interface _EuiThemeBorderRadiusValues {
|
|
353
|
+
/**
|
|
354
|
+
* Primary corner radius size
|
|
355
|
+
*/
|
|
356
|
+
medium: CSSProperties['borderRadius'];
|
|
357
|
+
/**
|
|
358
|
+
* Small corner radius size
|
|
359
|
+
*/
|
|
360
|
+
small: CSSProperties['borderRadius'];
|
|
361
|
+
}
|
|
362
|
+
export interface _EuiThemeBorderColorValues {
|
|
363
|
+
/**
|
|
364
|
+
* Color for all borders; Default is `colors.lightShade`
|
|
365
|
+
*/
|
|
366
|
+
color: ColorModeSwitch;
|
|
367
|
+
}
|
|
368
|
+
export interface _EuiThemeBorderValues extends _EuiThemeBorderColorValues {
|
|
369
|
+
/**
|
|
370
|
+
* Varied thicknesses for borders
|
|
371
|
+
*/
|
|
372
|
+
width: _EuiThemeBorderWidthValues;
|
|
373
|
+
/**
|
|
374
|
+
* Varied border radii
|
|
375
|
+
*/
|
|
376
|
+
radius: _EuiThemeBorderRadiusValues;
|
|
377
|
+
}
|
|
378
|
+
export interface _EuiThemeBorderTypes {
|
|
379
|
+
/**
|
|
380
|
+
* Full `border` property string computed using `border.width.thin` and `border.color`
|
|
381
|
+
*/
|
|
382
|
+
thin: CSSProperties['border'];
|
|
383
|
+
/**
|
|
384
|
+
* Full `border` property string computed using `border.width.thick` and `border.color`
|
|
385
|
+
*/
|
|
386
|
+
thick: CSSProperties['border'];
|
|
387
|
+
/**
|
|
388
|
+
* Full editable style `border` property string computed using `border.width.thick` and `border.color`
|
|
389
|
+
*/
|
|
390
|
+
editable: CSSProperties['border'];
|
|
391
|
+
}
|
|
392
|
+
export type _EuiThemeBorder = _EuiThemeBorderValues & _EuiThemeBorderTypes;
|
|
393
|
+
|
|
338
394
|
}
|
|
339
395
|
declare module '@elastic/eui/src/global_styling/variables/colors' {
|
|
340
396
|
import { ColorModeSwitch, StrictColorModeSwitch } from '@elastic/eui/src/services/theme/types';
|
|
@@ -649,143 +705,6 @@ declare module '@elastic/eui/src/services/theme/types' {
|
|
|
649
705
|
themeName: string;
|
|
650
706
|
};
|
|
651
707
|
|
|
652
|
-
}
|
|
653
|
-
declare module '@elastic/eui/src/global_styling/variables/borders' {
|
|
654
|
-
import { CSSProperties } from 'react';
|
|
655
|
-
import { ColorModeSwitch } from '@elastic/eui/src/services/theme/types';
|
|
656
|
-
export interface _EuiThemeBorderWidthValues {
|
|
657
|
-
/**
|
|
658
|
-
* Thinnest width for border
|
|
659
|
-
*/
|
|
660
|
-
thin: CSSProperties['borderWidth'];
|
|
661
|
-
/**
|
|
662
|
-
* Thickest width for border
|
|
663
|
-
*/
|
|
664
|
-
thick: CSSProperties['borderWidth'];
|
|
665
|
-
}
|
|
666
|
-
export interface _EuiThemeBorderRadiusValues {
|
|
667
|
-
/**
|
|
668
|
-
* Primary corner radius size
|
|
669
|
-
*/
|
|
670
|
-
medium: CSSProperties['borderRadius'];
|
|
671
|
-
/**
|
|
672
|
-
* Small corner radius size
|
|
673
|
-
*/
|
|
674
|
-
small: CSSProperties['borderRadius'];
|
|
675
|
-
}
|
|
676
|
-
export interface _EuiThemeBorderColorValues {
|
|
677
|
-
/**
|
|
678
|
-
* Color for all borders; Default is `colors.lightShade`
|
|
679
|
-
*/
|
|
680
|
-
color: ColorModeSwitch;
|
|
681
|
-
}
|
|
682
|
-
export interface _EuiThemeBorderValues extends _EuiThemeBorderColorValues {
|
|
683
|
-
/**
|
|
684
|
-
* Varied thicknesses for borders
|
|
685
|
-
*/
|
|
686
|
-
width: _EuiThemeBorderWidthValues;
|
|
687
|
-
/**
|
|
688
|
-
* Varied border radii
|
|
689
|
-
*/
|
|
690
|
-
radius: _EuiThemeBorderRadiusValues;
|
|
691
|
-
}
|
|
692
|
-
export interface _EuiThemeBorderTypes {
|
|
693
|
-
/**
|
|
694
|
-
* Full `border` property string computed using `border.width.thin` and `border.color`
|
|
695
|
-
*/
|
|
696
|
-
thin: CSSProperties['border'];
|
|
697
|
-
/**
|
|
698
|
-
* Full `border` property string computed using `border.width.thick` and `border.color`
|
|
699
|
-
*/
|
|
700
|
-
thick: CSSProperties['border'];
|
|
701
|
-
/**
|
|
702
|
-
* Full editable style `border` property string computed using `border.width.thick` and `border.color`
|
|
703
|
-
*/
|
|
704
|
-
editable: CSSProperties['border'];
|
|
705
|
-
}
|
|
706
|
-
export type _EuiThemeBorder = _EuiThemeBorderValues & _EuiThemeBorderTypes;
|
|
707
|
-
|
|
708
|
-
}
|
|
709
|
-
declare module '@elastic/eui/src/global_styling/variables/shadow' {
|
|
710
|
-
export const EuiThemeShadowSizes: readonly ["xs", "s", "m", "l", "xl"];
|
|
711
|
-
export type _EuiThemeShadowSize = typeof EuiThemeShadowSizes[number];
|
|
712
|
-
/**
|
|
713
|
-
* Shadow t-shirt sizes descriptions
|
|
714
|
-
*/
|
|
715
|
-
export const _EuiShadowSizesDescriptions: Record<_EuiThemeShadowSize, string>;
|
|
716
|
-
export interface _EuiThemeShadowCustomColor {
|
|
717
|
-
color?: string;
|
|
718
|
-
property?: 'box-shadow' | 'filter';
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
}
|
|
722
|
-
declare module '@elastic/eui/src/global_styling/variables' {
|
|
723
|
-
export * from '@elastic/eui/src/global_styling/variables/animations';
|
|
724
|
-
export * from '@elastic/eui/src/global_styling/variables/borders';
|
|
725
|
-
export * from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
726
|
-
export * from '@elastic/eui/src/global_styling/variables/colors';
|
|
727
|
-
export * from '@elastic/eui/src/global_styling/variables/levels';
|
|
728
|
-
export * from '@elastic/eui/src/global_styling/variables/size';
|
|
729
|
-
export * from '@elastic/eui/src/global_styling/variables/shadow';
|
|
730
|
-
export * from '@elastic/eui/src/global_styling/variables/states';
|
|
731
|
-
export * from '@elastic/eui/src/global_styling/variables/typography';
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
735
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables';
|
|
736
|
-
export const breakpoint: _EuiThemeBreakpoints;
|
|
737
|
-
|
|
738
|
-
}
|
|
739
|
-
declare module '@elastic/eui/src/services/breakpoint/breakpoint' {
|
|
740
|
-
import { _EuiThemeBreakpoint, _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
741
|
-
export type EuiBreakpointSize = _EuiThemeBreakpoint;
|
|
742
|
-
export type EuiBreakpoints = _EuiThemeBreakpoints;
|
|
743
|
-
export const BREAKPOINTS: _EuiThemeBreakpoints;
|
|
744
|
-
export const BREAKPOINT_KEYS: ("s" | "xs" | "m" | "l" | "xl")[];
|
|
745
|
-
/**
|
|
746
|
-
* Given the current `width` and an object of `EuiBreakpoints`,
|
|
747
|
-
* this function returns the string that is the name of the breakpoint key
|
|
748
|
-
* that is less than or equal to the width
|
|
749
|
-
*
|
|
750
|
-
* @param {number} width Can either be the full window width or any width
|
|
751
|
-
* @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width
|
|
752
|
-
* @returns {string | undefined} Name of the breakpoint key or `undefined` if a key doesn't exist
|
|
753
|
-
*/
|
|
754
|
-
export function getBreakpoint(width: number, breakpoints?: EuiBreakpoints): EuiBreakpointSize | undefined;
|
|
755
|
-
/**
|
|
756
|
-
* Given the current `width` and a max breakpoint key,
|
|
757
|
-
* this function returns true or false if the `width` falls within the max
|
|
758
|
-
* breakpoint or any breakpoints below
|
|
759
|
-
*
|
|
760
|
-
* @param {number} width Can either be the full window width or any width
|
|
761
|
-
* @param {EuiBreakpointSize | number} max The named breakpoint or custom number to check against
|
|
762
|
-
* @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width
|
|
763
|
-
* @returns {boolean} Will return `false` if it can't find a value for the `max` breakpoint
|
|
764
|
-
*/
|
|
765
|
-
export function isWithinMaxBreakpoint(width: number, max: EuiBreakpointSize | number, breakpoints?: EuiBreakpoints): boolean;
|
|
766
|
-
/**
|
|
767
|
-
* Given the current `width` and a min breakpoint key,
|
|
768
|
-
* this function returns true or false if the `width` falls within the min
|
|
769
|
-
* breakpoint or any breakpoints above
|
|
770
|
-
*
|
|
771
|
-
* @param {number} width Can either be the full window width or any width
|
|
772
|
-
* @param {EuiBreakpointSize | number} min The named breakpoint or custom number to check against
|
|
773
|
-
* @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width
|
|
774
|
-
* @returns {boolean} Will return `false` if it can't find a value for the `min` breakpoint
|
|
775
|
-
*/
|
|
776
|
-
export function isWithinMinBreakpoint(width: number, min: EuiBreakpointSize | number, breakpoints?: EuiBreakpoints): boolean;
|
|
777
|
-
/**
|
|
778
|
-
* Given the current `width` and an array of breakpoint keys,
|
|
779
|
-
* this function returns true or false if the `width` falls within
|
|
780
|
-
* any of the named breakpoints
|
|
781
|
-
*
|
|
782
|
-
* @param {number} width Can either be the full window width or any width
|
|
783
|
-
* @param {EuiBreakpointSize[]} sizes An array of named breakpoints
|
|
784
|
-
* @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width
|
|
785
|
-
* @returns {boolean} Returns `true` if current breakpoint name is included in `sizes`
|
|
786
|
-
*/
|
|
787
|
-
export function isWithinBreakpoints(width: number, sizes: EuiBreakpointSize[], breakpoints?: EuiBreakpoints): boolean;
|
|
788
|
-
|
|
789
708
|
}
|
|
790
709
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
791
710
|
import { EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeSystem, EuiThemeShape, EuiThemeComputed } from '@elastic/eui/src/services/theme/types';
|
|
@@ -1613,10 +1532,13 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
|
|
|
1613
1532
|
* Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
|
|
1614
1533
|
* Others like Safari, won't show anything at all.
|
|
1615
1534
|
*/
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
export const
|
|
1535
|
+
interface _EuiYScroll {
|
|
1536
|
+
height?: CSSProperties['height'];
|
|
1537
|
+
}
|
|
1538
|
+
export const euiYScroll: (euiTheme: UseEuiTheme, { height }?: _EuiYScroll) => string;
|
|
1539
|
+
export const useEuiYScroll: ({ height }?: _EuiYScroll) => string;
|
|
1540
|
+
export const euiYScrollWithShadows: (euiTheme: UseEuiTheme, { height }?: _EuiYScroll) => string;
|
|
1541
|
+
export const useEuiYScrollWithShadows: ({ height }?: _EuiYScroll) => string;
|
|
1620
1542
|
export const euiXScroll: (euiTheme: UseEuiTheme) => string;
|
|
1621
1543
|
export const useEuiXScroll: () => string;
|
|
1622
1544
|
export const euiXScrollWithShadows: (euiTheme: UseEuiTheme) => string;
|
|
@@ -1720,7 +1642,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
|
1720
1642
|
* @returns `object` Returns the logical CSS property version for the given `property: value` pair
|
|
1721
1643
|
*/
|
|
1722
1644
|
export const logicalStyle: (property: LogicalProperties, value?: any) => {
|
|
1723
|
-
[x: string]:
|
|
1645
|
+
[x: string]: any;
|
|
1724
1646
|
};
|
|
1725
1647
|
/**
|
|
1726
1648
|
*
|
|
@@ -1837,7 +1759,7 @@ declare module '@elastic/eui/src/global_styling/functions/typography' {
|
|
|
1837
1759
|
* this mixin will ensure that the sizing is dependent on the boldest
|
|
1838
1760
|
* weight so it doesn't shift sibling content.
|
|
1839
1761
|
*/
|
|
1840
|
-
export const euiTextShift: (fontWeight: "bold" | "
|
|
1762
|
+
export const euiTextShift: (fontWeight: "bold" | "medium" | "light" | "regular" | "semiBold" | undefined, attribute: string | undefined, euiTheme: UseEuiTheme['euiTheme']) => string;
|
|
1841
1763
|
|
|
1842
1764
|
}
|
|
1843
1765
|
declare module '@elastic/eui/src/global_styling/functions' {
|
|
@@ -1909,18 +1831,55 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1909
1831
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1910
1832
|
export const useEuiNumberFormat: () => string;
|
|
1911
1833
|
|
|
1834
|
+
}
|
|
1835
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1836
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1837
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => {
|
|
1838
|
+
[k: string]: number;
|
|
1839
|
+
};
|
|
1840
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => {
|
|
1841
|
+
[k: string]: number;
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
}
|
|
1845
|
+
declare module '@elastic/eui/src/global_styling/variables/shadow' {
|
|
1846
|
+
export const EuiThemeShadowSizes: readonly ["xs", "s", "m", "l", "xl"];
|
|
1847
|
+
export type _EuiThemeShadowSize = typeof EuiThemeShadowSizes[number];
|
|
1848
|
+
/**
|
|
1849
|
+
* Shadow t-shirt sizes descriptions
|
|
1850
|
+
*/
|
|
1851
|
+
export const _EuiShadowSizesDescriptions: Record<_EuiThemeShadowSize, string>;
|
|
1852
|
+
export interface _EuiThemeShadowCustomColor {
|
|
1853
|
+
color?: string;
|
|
1854
|
+
property?: 'box-shadow' | 'filter';
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
}
|
|
1858
|
+
declare module '@elastic/eui/src/global_styling/variables' {
|
|
1859
|
+
export * from '@elastic/eui/src/global_styling/variables/animations';
|
|
1860
|
+
export * from '@elastic/eui/src/global_styling/variables/borders';
|
|
1861
|
+
export * from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1862
|
+
export * from '@elastic/eui/src/global_styling/variables/colors';
|
|
1863
|
+
export * from '@elastic/eui/src/global_styling/variables/levels';
|
|
1864
|
+
export * from '@elastic/eui/src/global_styling/variables/size';
|
|
1865
|
+
export * from '@elastic/eui/src/global_styling/variables/shadow';
|
|
1866
|
+
export * from '@elastic/eui/src/global_styling/variables/states';
|
|
1867
|
+
export * from '@elastic/eui/src/global_styling/variables/typography';
|
|
1868
|
+
|
|
1912
1869
|
}
|
|
1913
1870
|
declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
|
|
1914
1871
|
import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
|
|
1915
1872
|
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables';
|
|
1916
1873
|
/**
|
|
1917
1874
|
* Generates a CSS media query rule string based on the input breakpoint ranges.
|
|
1918
|
-
* Examples:
|
|
1875
|
+
* Examples with default theme breakpoints:
|
|
1876
|
+
*
|
|
1919
1877
|
* euiBreakpoint(['s']) becomes `@media only screen and (min-width: 575px) and (max-width: 767px)`
|
|
1920
1878
|
* euiBreakpoint(['s', 'l']) becomes `@media only screen and (min-width: 575px) and (max-width: 1199px)`
|
|
1921
1879
|
*
|
|
1922
|
-
* Use the
|
|
1923
|
-
* Examples:
|
|
1880
|
+
* Use the smallest and largest sizes to generate media queries with only min/max-width.
|
|
1881
|
+
* Examples with default theme breakpoints:
|
|
1882
|
+
*
|
|
1924
1883
|
* euiBreakpoint(['xs', 'm']) becomes `@media only screen and (max-width: 991px)`
|
|
1925
1884
|
* euiBreakpoint(['l', 'xl']) becomes `@media only screen and (min-width: 992px)`
|
|
1926
1885
|
*/
|
|
@@ -4525,7 +4484,7 @@ declare module '@elastic/eui/src/services/popover/popover_positioning' {
|
|
|
4525
4484
|
interface FindPopoverPositionResult {
|
|
4526
4485
|
top: number;
|
|
4527
4486
|
left: number;
|
|
4528
|
-
position:
|
|
4487
|
+
position: EuiPopoverPosition;
|
|
4529
4488
|
fit: number;
|
|
4530
4489
|
arrow?: {
|
|
4531
4490
|
left: number;
|
|
@@ -4724,6 +4683,7 @@ declare module '@elastic/eui/src/components/popover/popover.styles' {
|
|
|
4724
4683
|
}
|
|
4725
4684
|
declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel.styles' {
|
|
4726
4685
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4686
|
+
export const openAnimationTiming = "slow";
|
|
4727
4687
|
/**
|
|
4728
4688
|
* 1. Can expand further, but it looks weird if it's smaller than the originating button.
|
|
4729
4689
|
* 2. Animation happens on the panel. But don't animate position when using the attached mode like for inputs
|
|
@@ -4912,6 +4872,10 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4912
4872
|
* Usually takes the `id` of the popover title
|
|
4913
4873
|
*/
|
|
4914
4874
|
'aria-labelledby'?: string;
|
|
4875
|
+
/**
|
|
4876
|
+
* Function callback for when the popover positon changes
|
|
4877
|
+
*/
|
|
4878
|
+
onPositionChange?: (position: EuiPopoverPosition) => void;
|
|
4915
4879
|
}
|
|
4916
4880
|
export function getPopoverPositionFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
4917
4881
|
export function getPopoverAlignFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
|
|
@@ -6575,6 +6539,11 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_anim
|
|
|
6575
6539
|
export const animation_ease: _EuiThemeAnimationEasings;
|
|
6576
6540
|
export const animation: _EuiThemeAnimation;
|
|
6577
6541
|
|
|
6542
|
+
}
|
|
6543
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
6544
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables';
|
|
6545
|
+
export const breakpoint: _EuiThemeBreakpoints;
|
|
6546
|
+
|
|
6578
6547
|
}
|
|
6579
6548
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
6580
6549
|
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
@@ -6671,29 +6640,47 @@ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
|
6671
6640
|
* This hook is in its own separate file to make mocking it
|
|
6672
6641
|
* as a testenv easy for Jest unit tests
|
|
6673
6642
|
*/
|
|
6674
|
-
export const useCurrentEuiBreakpoint: () =>
|
|
6643
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
6675
6644
|
|
|
6676
6645
|
}
|
|
6677
|
-
declare module '@elastic/eui/src/services/breakpoint/
|
|
6646
|
+
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
6678
6647
|
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
6679
6648
|
/**
|
|
6680
|
-
* Given
|
|
6681
|
-
*
|
|
6682
|
-
*
|
|
6649
|
+
* Given an array of breakpoint keys, this hook returns true or false
|
|
6650
|
+
* if the breakpoint size of the current window width falls within
|
|
6651
|
+
* any of the named breakpoints.
|
|
6683
6652
|
*
|
|
6684
|
-
* @param {
|
|
6653
|
+
* @param {EuiThemeBreakpoint[]} sizes An array of named EUI breakpoints
|
|
6685
6654
|
* @param {boolean} isResponsive Some components have the option to turn off responsive behavior.
|
|
6686
6655
|
* Since hooks can't be called conditionally, it's easier to pass the condition into the hook
|
|
6687
6656
|
* @returns {boolean} Returns `true` if current breakpoint name is included in `sizes`
|
|
6688
6657
|
*/
|
|
6689
6658
|
export const useIsWithinBreakpoints: (sizes: _EuiThemeBreakpoint[], isResponsive?: boolean) => boolean;
|
|
6659
|
+
/**
|
|
6660
|
+
* Given a max breakpoint key, this hook returns true if the breakpoint size
|
|
6661
|
+
* of the current window width falls within the max breakpoint or any below,
|
|
6662
|
+
* and false otherwise
|
|
6663
|
+
*
|
|
6664
|
+
* @param {EuiThemeBreakpoint} max The named max breakpoint to check against
|
|
6665
|
+
* @returns {boolean} Will return `false` if it can't find a value for the `max` breakpoint
|
|
6666
|
+
*/
|
|
6667
|
+
export function useIsWithinMaxBreakpoint(max: _EuiThemeBreakpoint): boolean;
|
|
6668
|
+
/**
|
|
6669
|
+
* Given a min breakpoint key, this hook returns true if the breakpoint size
|
|
6670
|
+
* of the current window width falls within the min breakpoint or any above,
|
|
6671
|
+
* and false otherwise
|
|
6672
|
+
*
|
|
6673
|
+
* @param {EuiThemeBreakpoint} min The named min breakpoint to check against
|
|
6674
|
+
* @returns {boolean} Will return `false` if it can't find a value for the `min` breakpoint
|
|
6675
|
+
*/
|
|
6676
|
+
export function useIsWithinMinBreakpoint(min: _EuiThemeBreakpoint): boolean;
|
|
6690
6677
|
|
|
6691
6678
|
}
|
|
6692
6679
|
declare module '@elastic/eui/src/services/breakpoint' {
|
|
6693
|
-
export
|
|
6680
|
+
export type { _EuiThemeBreakpoint as EuiBreakpointSize } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
6694
6681
|
export * from '@elastic/eui/src/services/breakpoint/current_breakpoint';
|
|
6695
6682
|
export * from '@elastic/eui/src/services/breakpoint/current_breakpoint_hook';
|
|
6696
|
-
export * from '@elastic/eui/src/services/breakpoint/
|
|
6683
|
+
export * from '@elastic/eui/src/services/breakpoint/is_within_hooks';
|
|
6697
6684
|
|
|
6698
6685
|
}
|
|
6699
6686
|
declare module '@elastic/eui/src/services/color_picker/color_picker' {
|
|
@@ -7130,7 +7117,7 @@ declare module '@elastic/eui/src/services' {
|
|
|
7130
7117
|
export type { HorizontalAlignment } from '@elastic/eui/src/services/alignment';
|
|
7131
7118
|
export { LEFT_ALIGNMENT, RIGHT_ALIGNMENT, CENTER_ALIGNMENT } from '@elastic/eui/src/services/alignment';
|
|
7132
7119
|
export type { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
|
|
7133
|
-
export {
|
|
7120
|
+
export { useIsWithinBreakpoints, useIsWithinMaxBreakpoint, useIsWithinMinBreakpoint, CurrentEuiBreakpointContext, CurrentEuiBreakpointProvider, useCurrentEuiBreakpoint, } from '@elastic/eui/src/services/breakpoint';
|
|
7134
7121
|
export type { HSV } from '@elastic/eui/src/services/color';
|
|
7135
7122
|
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, } from '@elastic/eui/src/services/color';
|
|
7136
7123
|
export type { EuiSetColorMethod } from '@elastic/eui/src/services/color_picker';
|
|
@@ -7217,6 +7204,7 @@ declare module '@elastic/eui/src/components/accordion/accordion.styles' {
|
|
|
7217
7204
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
7218
7205
|
export const euiAccordionButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
7219
7206
|
euiAccordion__button: import("@emotion/utils").SerializedStyles;
|
|
7207
|
+
disabled: import("@emotion/utils").SerializedStyles;
|
|
7220
7208
|
};
|
|
7221
7209
|
export const euiAccordionChildrenStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
7222
7210
|
euiAccordion__children: import("@emotion/utils").SerializedStyles;
|
|
@@ -7325,6 +7313,10 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
|
|
|
7325
7313
|
* Choose whether the loading message replaces the content. Customize the message by passing a node
|
|
7326
7314
|
*/
|
|
7327
7315
|
isLoadingMessage?: boolean | ReactNode;
|
|
7316
|
+
/**
|
|
7317
|
+
* Disable the open/close interaction and visually subdues the trigger
|
|
7318
|
+
*/
|
|
7319
|
+
isDisabled?: boolean;
|
|
7328
7320
|
};
|
|
7329
7321
|
export class EuiAccordionClass extends Component<WithEuiThemeProps & EuiAccordionProps, {
|
|
7330
7322
|
isOpen: boolean;
|
|
@@ -7334,6 +7326,7 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
|
|
|
7334
7326
|
paddingSize: "none";
|
|
7335
7327
|
arrowDisplay: "left";
|
|
7336
7328
|
isLoading: boolean;
|
|
7329
|
+
isDisabled: boolean;
|
|
7337
7330
|
isLoadingMessage: boolean;
|
|
7338
7331
|
element: "div";
|
|
7339
7332
|
buttonElement: "button";
|
|
@@ -7727,7 +7720,8 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar.styles' {
|
|
|
7727
7720
|
}
|
|
7728
7721
|
declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
|
|
7729
7722
|
import React, { CSSProperties, HTMLAttributes } from 'react';
|
|
7730
|
-
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
7723
|
+
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
7724
|
+
import { EuiPortalProps } from '@elastic/eui/src/components/portal'; type BottomBarPaddingSize = 'none' | 's' | 'm' | 'l';
|
|
7731
7725
|
export const paddingSizeToClassNameMap: {
|
|
7732
7726
|
[value in BottomBarPaddingSize]: string | null;
|
|
7733
7727
|
};
|
|
@@ -7738,7 +7732,7 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
|
|
|
7738
7732
|
* Whether to wrap in an EuiPortal which appends the component to the body element.
|
|
7739
7733
|
* Only works if `position` is `fixed`.
|
|
7740
7734
|
*/
|
|
7741
|
-
usePortal?: boolean;
|
|
7735
|
+
usePortal?: boolean | EuiPortalProps;
|
|
7742
7736
|
/**
|
|
7743
7737
|
* Whether the component should apply padding on the document body element to afford for its own displacement height.
|
|
7744
7738
|
* Only works if `usePortal` is true and `position` is `fixed`.
|
|
@@ -8443,9 +8437,9 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
8443
8437
|
*/
|
|
8444
8438
|
role?: null | string;
|
|
8445
8439
|
/**
|
|
8446
|
-
* Named breakpoint
|
|
8440
|
+
* Named breakpoint (`xs` through `xl`) for customizing the minimum window width to enable the `push` type
|
|
8447
8441
|
*/
|
|
8448
|
-
pushMinBreakpoint?: EuiBreakpointSize
|
|
8442
|
+
pushMinBreakpoint?: EuiBreakpointSize;
|
|
8449
8443
|
style?: CSSProperties;
|
|
8450
8444
|
/**
|
|
8451
8445
|
* Object of props passed to EuiFocusTrap.
|
|
@@ -8520,7 +8514,7 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav' {
|
|
|
8520
8514
|
*/
|
|
8521
8515
|
isDocked?: boolean;
|
|
8522
8516
|
/**
|
|
8523
|
-
* Named breakpoint
|
|
8517
|
+
* Named breakpoint (`xs` through `xl`) for customizing the minimum window width to enable docking
|
|
8524
8518
|
*/
|
|
8525
8519
|
dockedBreakpoint?: EuiFlyoutProps['pushMinBreakpoint'];
|
|
8526
8520
|
/**
|
|
@@ -12503,7 +12497,7 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/async_
|
|
|
12503
12497
|
|
|
12504
12498
|
}
|
|
12505
12499
|
declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
12506
|
-
import { FunctionComponent, ReactNode, ReactElement } from 'react';
|
|
12500
|
+
import { FocusEventHandler, FunctionComponent, ReactNode, ReactElement } from 'react';
|
|
12507
12501
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
12508
12502
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12509
12503
|
export type EuiDatePickerRangeProps = CommonProps & {
|
|
@@ -12539,7 +12533,18 @@ declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
|
12539
12533
|
* Passes through to each control
|
|
12540
12534
|
*/
|
|
12541
12535
|
readOnly?: boolean;
|
|
12536
|
+
/**
|
|
12537
|
+
* Passes through to each control
|
|
12538
|
+
*/
|
|
12542
12539
|
fullWidth?: boolean;
|
|
12540
|
+
/**
|
|
12541
|
+
* Triggered whenever the start or end controls are blurred
|
|
12542
|
+
*/
|
|
12543
|
+
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
12544
|
+
/**
|
|
12545
|
+
* Triggered whenever the start or end controls are focused
|
|
12546
|
+
*/
|
|
12547
|
+
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
12543
12548
|
};
|
|
12544
12549
|
export const EuiDatePickerRange: FunctionComponent<EuiDatePickerRangeProps>;
|
|
12545
12550
|
|
|
@@ -13005,10 +13010,9 @@ declare module '@elastic/eui/src/components/description_list/description_list_co
|
|
|
13005
13010
|
declare module '@elastic/eui/src/components/description_list/description_list_title' {
|
|
13006
13011
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
13007
13012
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13008
|
-
interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13013
|
+
export interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13009
13014
|
}
|
|
13010
13015
|
export const EuiDescriptionListTitle: FunctionComponent<EuiDescriptionListTitleProps>;
|
|
13011
|
-
export {};
|
|
13012
13016
|
|
|
13013
13017
|
}
|
|
13014
13018
|
declare module '@elastic/eui/src/components/description_list/description_list_description.styles' {
|
|
@@ -13035,10 +13039,9 @@ declare module '@elastic/eui/src/components/description_list/description_list_de
|
|
|
13035
13039
|
declare module '@elastic/eui/src/components/description_list/description_list_description' {
|
|
13036
13040
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
13037
13041
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13038
|
-
interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13042
|
+
export interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13039
13043
|
}
|
|
13040
13044
|
export const EuiDescriptionListDescription: FunctionComponent<EuiDescriptionListDescriptionProps>;
|
|
13041
|
-
export {};
|
|
13042
13045
|
|
|
13043
13046
|
}
|
|
13044
13047
|
declare module '@elastic/eui/src/components/description_list/description_list.styles' {
|
|
@@ -14854,25 +14857,51 @@ declare module '@elastic/eui/src/components/page/_restrict_width' {
|
|
|
14854
14857
|
* This is file contains the type specific to that prop and a helper
|
|
14855
14858
|
* function for creating the corresponding classNames and style tags
|
|
14856
14859
|
* based on the consumer's configuration
|
|
14857
|
-
*
|
|
14858
|
-
* @param {restrictWidth} boolean | number | string The prop value
|
|
14859
|
-
* @param {style} CSSProperties An object of style attributes if provided
|
|
14860
|
-
* @returns {{widthClassName: string, newStyle: CSSProperties}} Returns an object with keys for the class name to append to the component's class and the updated style props
|
|
14861
14860
|
*/
|
|
14862
14861
|
import { CSSProperties } from 'react';
|
|
14862
|
+
export const PAGE_MAX_WIDTH: CSSProperties['maxWidth'];
|
|
14863
14863
|
export type _EuiPageRestrictWidth = {
|
|
14864
14864
|
/**
|
|
14865
14865
|
* Sets the max-width of the page,
|
|
14866
|
-
* set to `true` to use the default size of `
|
|
14866
|
+
* set to `true` to use the default size of `1200px`,
|
|
14867
14867
|
* set to `false` to not restrict the width,
|
|
14868
14868
|
* set to a number for a custom width in px,
|
|
14869
14869
|
* set to a string for a custom width in custom measurement.
|
|
14870
14870
|
*/
|
|
14871
14871
|
restrictWidth?: boolean | number | string;
|
|
14872
14872
|
};
|
|
14873
|
+
/**
|
|
14874
|
+
* **DEPRECATED**
|
|
14875
|
+
* This function calculates the correct class name and combined styles
|
|
14876
|
+
* based on the `restrictWidth` value passed in
|
|
14877
|
+
*
|
|
14878
|
+
* @param restrictWidth `boolean | number | string` The prop value
|
|
14879
|
+
* @param style `CSSProperties` An object of style attributes if provided
|
|
14880
|
+
* @returns An object with keys for the `widthClassName` to append to the component's class and the updated `newStyle` props
|
|
14881
|
+
*/
|
|
14873
14882
|
export function setPropsForRestrictedPageWidth(restrictWidth: _EuiPageRestrictWidth['restrictWidth'], style?: CSSProperties): {
|
|
14874
14883
|
widthClassName?: string;
|
|
14875
|
-
newStyle
|
|
14884
|
+
newStyle: CSSProperties;
|
|
14885
|
+
};
|
|
14886
|
+
/**
|
|
14887
|
+
* This function calculates the correct just the combined styles
|
|
14888
|
+
* based on the `restrictWidth` value passed in
|
|
14889
|
+
*
|
|
14890
|
+
* @param restrictWidth `boolean | number | string` The prop value
|
|
14891
|
+
* @param style `CSSProperties` An object of style attributes if provided
|
|
14892
|
+
* @returns An object of the updated `style` props
|
|
14893
|
+
*/
|
|
14894
|
+
export function setStyleForRestrictedPageWidth(restrictWidth: _EuiPageRestrictWidth['restrictWidth'], style?: CSSProperties): CSSProperties;
|
|
14895
|
+
|
|
14896
|
+
}
|
|
14897
|
+
declare module '@elastic/eui/src/components/page/page.styles' {
|
|
14898
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
14899
|
+
export const euiPageStyles: (euiThemeContext: UseEuiTheme) => {
|
|
14900
|
+
euiPage: import("@emotion/utils").SerializedStyles;
|
|
14901
|
+
grow: import("@emotion/utils").SerializedStyles;
|
|
14902
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
14903
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
14904
|
+
restrictWidth: import("@emotion/utils").SerializedStyles;
|
|
14876
14905
|
};
|
|
14877
14906
|
|
|
14878
14907
|
}
|
|
@@ -14880,14 +14909,13 @@ declare module '@elastic/eui/src/components/page/page' {
|
|
|
14880
14909
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
14881
14910
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14882
14911
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
14883
|
-
|
|
14884
|
-
export const DIRECTIONS: ("row" | "column")[];
|
|
14912
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
14885
14913
|
export interface EuiPageProps extends CommonProps, HTMLAttributes<HTMLDivElement>, _EuiPageRestrictWidth {
|
|
14886
14914
|
/**
|
|
14887
14915
|
* Adjust the padding.
|
|
14888
14916
|
* When using this setting it's best to be consistent throughout all similar usages
|
|
14889
14917
|
*/
|
|
14890
|
-
paddingSize?:
|
|
14918
|
+
paddingSize?: EuiPaddingSize;
|
|
14891
14919
|
/**
|
|
14892
14920
|
* Adds `flex-grow: 1` to the whole page for stretching to fit vertically.
|
|
14893
14921
|
* Must be wrapped inside a flexbox, preferrably with `min-height: 100vh`
|
|
@@ -14901,13 +14929,20 @@ declare module '@elastic/eui/src/components/page/page' {
|
|
|
14901
14929
|
}
|
|
14902
14930
|
export const EuiPage: FunctionComponent<EuiPageProps>;
|
|
14903
14931
|
|
|
14932
|
+
}
|
|
14933
|
+
declare module '@elastic/eui/src/components/page/page_body/page_body.styles' {
|
|
14934
|
+
export const euiPageBodyStyles: () => {
|
|
14935
|
+
euiPageBody: import("@emotion/utils").SerializedStyles;
|
|
14936
|
+
restrictWidth: import("@emotion/utils").SerializedStyles;
|
|
14937
|
+
};
|
|
14938
|
+
|
|
14904
14939
|
}
|
|
14905
14940
|
declare module '@elastic/eui/src/components/page/page_body/page_body' {
|
|
14906
14941
|
import React, { PropsWithChildren, ComponentType, ComponentProps } from 'react';
|
|
14907
14942
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14908
14943
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
14909
14944
|
import { EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
14910
|
-
|
|
14945
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling'; type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType<any>;
|
|
14911
14946
|
export type EuiPageBodyProps<T extends ComponentTypes = 'main'> = CommonProps & ComponentProps<T> & _EuiPageRestrictWidth & {
|
|
14912
14947
|
/**
|
|
14913
14948
|
* Sets the HTML element for `EuiPageBody`.
|
|
@@ -14924,9 +14959,9 @@ declare module '@elastic/eui/src/components/page/page_body/page_body' {
|
|
|
14924
14959
|
/**
|
|
14925
14960
|
* Adjusts the padding
|
|
14926
14961
|
*/
|
|
14927
|
-
paddingSize?:
|
|
14962
|
+
paddingSize?: EuiPaddingSize;
|
|
14928
14963
|
};
|
|
14929
|
-
export const EuiPageBody: <T extends ComponentTypes>({ children, restrictWidth,
|
|
14964
|
+
export const EuiPageBody: <T extends ComponentTypes>({ children, restrictWidth, className, component: Component, panelled, panelProps, paddingSize, borderRadius, ...rest }: React.PropsWithChildren<EuiPageBodyProps<T>>) => JSX.Element;
|
|
14930
14965
|
export {};
|
|
14931
14966
|
|
|
14932
14967
|
}
|
|
@@ -14951,7 +14986,11 @@ declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
|
14951
14986
|
*/
|
|
14952
14987
|
role?: HTMLAttributes['role'] | null;
|
|
14953
14988
|
};
|
|
14954
|
-
|
|
14989
|
+
/**
|
|
14990
|
+
* **DEPRECATED**
|
|
14991
|
+
* Use EuiPageSection instead
|
|
14992
|
+
*/
|
|
14993
|
+
export const EuiPageContent_Deprecated: FunctionComponent<EuiPageContentProps>;
|
|
14955
14994
|
|
|
14956
14995
|
}
|
|
14957
14996
|
declare module '@elastic/eui/src/components/page/page_content/page_content_body' {
|
|
@@ -14966,7 +15005,11 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_body'
|
|
|
14966
15005
|
*/
|
|
14967
15006
|
paddingSize?: typeof PADDING_SIZES[number];
|
|
14968
15007
|
}
|
|
14969
|
-
|
|
15008
|
+
/**
|
|
15009
|
+
* **DEPRECATED**
|
|
15010
|
+
* Use EuiPageSection instead
|
|
15011
|
+
*/
|
|
15012
|
+
export const EuiPageContentBody_Deprecated: FunctionComponent<EuiPageContentBodyProps>;
|
|
14970
15013
|
|
|
14971
15014
|
}
|
|
14972
15015
|
declare module '@elastic/eui/src/components/page/page_content/page_content_header' {
|
|
@@ -14979,7 +15022,11 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
|
|
|
14979
15022
|
*/
|
|
14980
15023
|
responsive?: boolean;
|
|
14981
15024
|
}
|
|
14982
|
-
|
|
15025
|
+
/**
|
|
15026
|
+
* **DEPRECATED**
|
|
15027
|
+
* Use EuiPageHeader instead
|
|
15028
|
+
*/
|
|
15029
|
+
export const EuiPageContentHeader_Deprecated: FunctionComponent<EuiPageContentHeaderProps>;
|
|
14983
15030
|
|
|
14984
15031
|
}
|
|
14985
15032
|
declare module '@elastic/eui/src/components/page/page_content/page_content_header_section' {
|
|
@@ -14987,18 +15034,45 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
|
|
|
14987
15034
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14988
15035
|
export interface EuiPageContentHeaderSectionProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
14989
15036
|
}
|
|
14990
|
-
|
|
15037
|
+
/**
|
|
15038
|
+
* **DEPRECATED**
|
|
15039
|
+
* Use EuiPageHeader instead
|
|
15040
|
+
*/
|
|
15041
|
+
export const EuiPageContentHeaderSection_Deprecated: FunctionComponent<EuiPageContentHeaderSectionProps>;
|
|
14991
15042
|
|
|
14992
15043
|
}
|
|
14993
15044
|
declare module '@elastic/eui/src/components/page/page_content' {
|
|
14994
15045
|
export type { EuiPageContentProps } from '@elastic/eui/src/components/page/page_content/page_content';
|
|
14995
|
-
export {
|
|
15046
|
+
export { EuiPageContent_Deprecated } from '@elastic/eui/src/components/page/page_content/page_content';
|
|
14996
15047
|
export type { EuiPageContentBodyProps } from '@elastic/eui/src/components/page/page_content/page_content_body';
|
|
14997
|
-
export {
|
|
15048
|
+
export { EuiPageContentBody_Deprecated } from '@elastic/eui/src/components/page/page_content/page_content_body';
|
|
14998
15049
|
export type { EuiPageContentHeaderProps } from '@elastic/eui/src/components/page/page_content/page_content_header';
|
|
14999
|
-
export {
|
|
15050
|
+
export { EuiPageContentHeader_Deprecated } from '@elastic/eui/src/components/page/page_content/page_content_header';
|
|
15000
15051
|
export type { EuiPageContentHeaderSectionProps } from '@elastic/eui/src/components/page/page_content/page_content_header_section';
|
|
15001
|
-
export {
|
|
15052
|
+
export { EuiPageContentHeaderSection_Deprecated } from '@elastic/eui/src/components/page/page_content/page_content_header_section';
|
|
15053
|
+
|
|
15054
|
+
}
|
|
15055
|
+
declare module '@elastic/eui/src/components/page/page_header/page_header.styles' {
|
|
15056
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15057
|
+
export const euiPageHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
15058
|
+
euiPageHeader: import("@emotion/utils").SerializedStyles;
|
|
15059
|
+
border: import("@emotion/utils").SerializedStyles;
|
|
15060
|
+
};
|
|
15061
|
+
|
|
15062
|
+
}
|
|
15063
|
+
declare module '@elastic/eui/src/components/page/page_header/page_header_content.styles' {
|
|
15064
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15065
|
+
export const euiPageHeaderContentStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
15066
|
+
euiPageHeaderContent: import("@emotion/utils").SerializedStyles;
|
|
15067
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
15068
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
15069
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
15070
|
+
stretch: import("@emotion/utils").SerializedStyles;
|
|
15071
|
+
flex: import("@emotion/utils").SerializedStyles;
|
|
15072
|
+
responsive: import("@emotion/utils").SerializedStyles;
|
|
15073
|
+
responsiveReverse: import("@emotion/utils").SerializedStyles;
|
|
15074
|
+
euiPageHeaderContent__titleIcon: import("@emotion/utils").SerializedStyles;
|
|
15075
|
+
};
|
|
15002
15076
|
|
|
15003
15077
|
}
|
|
15004
15078
|
declare module '@elastic/eui/src/components/page/page_header/page_header_content' {
|
|
@@ -15010,6 +15084,8 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
|
|
|
15010
15084
|
import { EuiFlexGroupProps } from '@elastic/eui/src/components/flex';
|
|
15011
15085
|
import { EuiTitleProps } from '@elastic/eui/src/components/title';
|
|
15012
15086
|
import { EuiBreadcrumbsProps } from '@elastic/eui/src/components/breadcrumbs';
|
|
15087
|
+
import { PADDING_SIZES } from '@elastic/eui/src/global_styling';
|
|
15088
|
+
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15013
15089
|
export const ALIGN_ITEMS: readonly ["top", "bottom", "center", "stretch"]; type Tab = EuiTabProps & {
|
|
15014
15090
|
/**
|
|
15015
15091
|
* Visible text of the tab
|
|
@@ -15067,7 +15143,16 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
|
|
|
15067
15143
|
*/
|
|
15068
15144
|
description?: string | ReactNode;
|
|
15069
15145
|
}
|
|
15070
|
-
export interface _EuiPageHeaderContentProps extends EuiPageHeaderContentLeft {
|
|
15146
|
+
export interface _EuiPageHeaderContentProps extends EuiPageHeaderContentLeft, _EuiPageRestrictWidth {
|
|
15147
|
+
/**
|
|
15148
|
+
* The only option is on/off
|
|
15149
|
+
*/
|
|
15150
|
+
bottomBorder?: boolean;
|
|
15151
|
+
/**
|
|
15152
|
+
* Adjust the padding.
|
|
15153
|
+
* When using this setting it's best to be consistent throughout all similar usages
|
|
15154
|
+
*/
|
|
15155
|
+
paddingSize?: typeof PADDING_SIZES[number];
|
|
15071
15156
|
/**
|
|
15072
15157
|
* Set to false if you don't want the children to stack at small screen sizes.
|
|
15073
15158
|
* Set to `reverse` to display the right side content first for the sake of hierarchy (like global time)
|
|
@@ -15075,7 +15160,7 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
|
|
|
15075
15160
|
responsive?: boolean | 'reverse';
|
|
15076
15161
|
/**
|
|
15077
15162
|
* Vertical alignment of the left and right side content;
|
|
15078
|
-
* Default is `
|
|
15163
|
+
* Default is `center` for custom content, but `top` for when `pageTitle` or `tabs` are included
|
|
15079
15164
|
*/
|
|
15080
15165
|
alignItems?: typeof ALIGN_ITEMS[number];
|
|
15081
15166
|
/**
|
|
@@ -15098,23 +15183,29 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
|
|
|
15098
15183
|
export const EuiPageHeaderContent: FunctionComponent<EuiPageHeaderContentProps>;
|
|
15099
15184
|
export {};
|
|
15100
15185
|
|
|
15186
|
+
}
|
|
15187
|
+
declare module '@elastic/eui/src/components/page/_bottom_border' {
|
|
15188
|
+
export type _EuiPageBottomBorder = {
|
|
15189
|
+
/**
|
|
15190
|
+
* Adds a bottom border to separate it from the content after;
|
|
15191
|
+
* Passing `extended` will ensure the border touches the sides of the parent container.
|
|
15192
|
+
*/
|
|
15193
|
+
bottomBorder?: boolean | 'extended';
|
|
15194
|
+
};
|
|
15195
|
+
|
|
15101
15196
|
}
|
|
15102
15197
|
declare module '@elastic/eui/src/components/page/page_header/page_header' {
|
|
15103
15198
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
15104
15199
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15200
|
+
import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
15105
15201
|
import { _EuiPageHeaderContentProps } from '@elastic/eui/src/components/page/page_header/page_header_content';
|
|
15106
15202
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15107
|
-
|
|
15108
|
-
export interface EuiPageHeaderProps extends CommonProps, HTMLAttributes<HTMLElement>, _EuiPageHeaderContentProps, _EuiPageRestrictWidth {
|
|
15203
|
+
import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
|
|
15204
|
+
export interface EuiPageHeaderProps extends CommonProps, HTMLAttributes<HTMLElement>, Omit<_EuiPageHeaderContentProps, 'bottomBorder'>, _EuiPageRestrictWidth, _EuiPageBottomBorder {
|
|
15109
15205
|
/**
|
|
15110
|
-
* Adjust the padding.
|
|
15111
|
-
* When using this setting it's best to be consistent throughout all similar usages
|
|
15112
|
-
*/
|
|
15113
|
-
paddingSize?: typeof PADDING_SIZES[number];
|
|
15114
|
-
/**
|
|
15115
|
-
* Adds a bottom border to separate it from the content after
|
|
15206
|
+
* Adjust the overall padding.
|
|
15116
15207
|
*/
|
|
15117
|
-
|
|
15208
|
+
paddingSize?: EuiPaddingSize;
|
|
15118
15209
|
}
|
|
15119
15210
|
export const EuiPageHeader: FunctionComponent<EuiPageHeaderProps>;
|
|
15120
15211
|
|
|
@@ -15135,6 +15226,62 @@ declare module '@elastic/eui/src/components/page/page_header' {
|
|
|
15135
15226
|
export type { EuiPageHeaderSectionProps } from '@elastic/eui/src/components/page/page_header/page_header_section';
|
|
15136
15227
|
export { EuiPageHeaderSection } from '@elastic/eui/src/components/page/page_header/page_header_section';
|
|
15137
15228
|
|
|
15229
|
+
}
|
|
15230
|
+
declare module '@elastic/eui/src/components/page/page_section/page_section.styles' {
|
|
15231
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15232
|
+
export const ALIGNMENTS: readonly ["top", "center", "horizontalCenter"];
|
|
15233
|
+
export const euiPageSectionStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
15234
|
+
euiPageSection: import("@emotion/utils").SerializedStyles;
|
|
15235
|
+
grow: import("@emotion/utils").SerializedStyles;
|
|
15236
|
+
border: import("@emotion/utils").SerializedStyles;
|
|
15237
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
15238
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
15239
|
+
horizontalCenter: import("@emotion/utils").SerializedStyles;
|
|
15240
|
+
};
|
|
15241
|
+
export const euiPageSectionContentStyles: () => {
|
|
15242
|
+
euiPageSection__content: import("@emotion/utils").SerializedStyles;
|
|
15243
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
15244
|
+
restrictWidth: import("@emotion/utils").SerializedStyles;
|
|
15245
|
+
};
|
|
15246
|
+
|
|
15247
|
+
}
|
|
15248
|
+
declare module '@elastic/eui/src/components/page/page_section/page_section' {
|
|
15249
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
15250
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15251
|
+
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15252
|
+
import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
|
|
15253
|
+
import { ALIGNMENTS } from '@elastic/eui/src/components/page/page_section/page_section.styles';
|
|
15254
|
+
import { EuiPaddingSize, _EuiBackgroundColor } from '@elastic/eui/src/global_styling';
|
|
15255
|
+
export type EuiPageSectionProps = CommonProps & _EuiPageRestrictWidth & _EuiPageBottomBorder & {
|
|
15256
|
+
/**
|
|
15257
|
+
* Background color of the section;
|
|
15258
|
+
* Usually a lightened form of the brand colors
|
|
15259
|
+
*/
|
|
15260
|
+
color?: _EuiBackgroundColor;
|
|
15261
|
+
/**
|
|
15262
|
+
* Padding for all four sides
|
|
15263
|
+
*/
|
|
15264
|
+
paddingSize?: EuiPaddingSize;
|
|
15265
|
+
/**
|
|
15266
|
+
* Horizontal and/or vertical alignment of the section contents
|
|
15267
|
+
*/
|
|
15268
|
+
alignment?: typeof ALIGNMENTS[number];
|
|
15269
|
+
/**
|
|
15270
|
+
* When true the panel will grow in height to fill container if parent is a flex group
|
|
15271
|
+
*/
|
|
15272
|
+
grow?: boolean;
|
|
15273
|
+
/**
|
|
15274
|
+
* Passed down to the div wrapper of the section contents
|
|
15275
|
+
*/
|
|
15276
|
+
contentProps?: HTMLAttributes<HTMLDivElement>;
|
|
15277
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
15278
|
+
export const EuiPageSection: FunctionComponent<EuiPageSectionProps>;
|
|
15279
|
+
|
|
15280
|
+
}
|
|
15281
|
+
declare module '@elastic/eui/src/components/page/page_section' {
|
|
15282
|
+
export type { EuiPageSectionProps } from '@elastic/eui/src/components/page/page_section/page_section';
|
|
15283
|
+
export { EuiPageSection } from '@elastic/eui/src/components/page/page_section/page_section';
|
|
15284
|
+
|
|
15138
15285
|
}
|
|
15139
15286
|
declare module '@elastic/eui/src/components/page/page_side_bar/page_side_bar' {
|
|
15140
15287
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
@@ -15142,7 +15289,7 @@ declare module '@elastic/eui/src/components/page/page_side_bar/page_side_bar' {
|
|
|
15142
15289
|
export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
|
|
15143
15290
|
export interface EuiPageSideBarProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
15144
15291
|
/**
|
|
15145
|
-
* Adds `position: sticky`
|
|
15292
|
+
* Adds `position: sticky`
|
|
15146
15293
|
*/
|
|
15147
15294
|
sticky?: boolean;
|
|
15148
15295
|
/**
|
|
@@ -15150,24 +15297,74 @@ declare module '@elastic/eui/src/components/page/page_side_bar/page_side_bar' {
|
|
|
15150
15297
|
*/
|
|
15151
15298
|
paddingSize?: typeof PADDING_SIZES[number];
|
|
15152
15299
|
}
|
|
15153
|
-
|
|
15300
|
+
/**
|
|
15301
|
+
* **DEPRECATED**
|
|
15302
|
+
* Use the new EuiPageSidebar instead
|
|
15303
|
+
*/
|
|
15304
|
+
export const EuiPageSideBar_Deprecated: FunctionComponent<EuiPageSideBarProps>;
|
|
15154
15305
|
|
|
15155
15306
|
}
|
|
15156
15307
|
declare module '@elastic/eui/src/components/page/page_side_bar' {
|
|
15157
15308
|
export type { EuiPageSideBarProps } from '@elastic/eui/src/components/page/page_side_bar/page_side_bar';
|
|
15158
|
-
export {
|
|
15309
|
+
export { EuiPageSideBar_Deprecated } from '@elastic/eui/src/components/page/page_side_bar/page_side_bar';
|
|
15310
|
+
|
|
15311
|
+
}
|
|
15312
|
+
declare module '@elastic/eui/src/components/page/page_sidebar/page_sidebar.styles' {
|
|
15313
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15314
|
+
export const euiPageSidebarStyles: (euiThemeContext: UseEuiTheme) => {
|
|
15315
|
+
euiPageSidebar: import("@emotion/utils").SerializedStyles;
|
|
15316
|
+
sticky: import("@emotion/utils").SerializedStyles;
|
|
15317
|
+
};
|
|
15318
|
+
|
|
15319
|
+
}
|
|
15320
|
+
declare module '@elastic/eui/src/components/page/page_sidebar/page_sidebar' {
|
|
15321
|
+
import { CSSProperties, FunctionComponent, HTMLAttributes } from 'react';
|
|
15322
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15323
|
+
import { EuiPaddingSize, _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling';
|
|
15324
|
+
export interface EuiPageSidebarProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
15325
|
+
/**
|
|
15326
|
+
* Adjust the padding.
|
|
15327
|
+
* When using this setting it's best to be consistent throughout all similar usages.
|
|
15328
|
+
*/
|
|
15329
|
+
paddingSize?: EuiPaddingSize;
|
|
15330
|
+
/**
|
|
15331
|
+
* Adds `position: sticky` and affords for any fixed position headers.
|
|
15332
|
+
*/
|
|
15333
|
+
sticky?: boolean | {
|
|
15334
|
+
/**
|
|
15335
|
+
* To account for any fixed elements like headers,
|
|
15336
|
+
* pass in the value of the total height of those fixed elements.
|
|
15337
|
+
*/
|
|
15338
|
+
offset?: number;
|
|
15339
|
+
};
|
|
15340
|
+
/**
|
|
15341
|
+
* A minimum width is necessary to maintain size.
|
|
15342
|
+
* Be sure to take `paddingSize` into account.
|
|
15343
|
+
*/
|
|
15344
|
+
minWidth?: CSSProperties['width'];
|
|
15345
|
+
/**
|
|
15346
|
+
* Sets the `minWidth` to 100% when within these breakpoints.
|
|
15347
|
+
*/
|
|
15348
|
+
responsive?: _EuiThemeBreakpoint[];
|
|
15349
|
+
}
|
|
15350
|
+
export const EuiPageSidebar: FunctionComponent<EuiPageSidebarProps>;
|
|
15351
|
+
|
|
15352
|
+
}
|
|
15353
|
+
declare module '@elastic/eui/src/components/page/page_sidebar' {
|
|
15354
|
+
export type { EuiPageSidebarProps } from '@elastic/eui/src/components/page/page_sidebar/page_sidebar';
|
|
15355
|
+
export { EuiPageSidebar } from '@elastic/eui/src/components/page/page_sidebar/page_sidebar';
|
|
15159
15356
|
|
|
15160
15357
|
}
|
|
15161
15358
|
declare module '@elastic/eui/src/components/page/page_template' {
|
|
15162
15359
|
import { CSSProperties, FunctionComponent, ReactNode } from 'react';
|
|
15163
|
-
import { EuiPageProps
|
|
15360
|
+
import { EuiPageProps } from '@elastic/eui/src/components/page/page';
|
|
15164
15361
|
import { EuiPageSideBarProps } from '@elastic/eui/src/components/page/page_side_bar';
|
|
15165
15362
|
import { EuiPageBodyProps } from '@elastic/eui/src/components/page/page_body';
|
|
15166
15363
|
import { EuiPageHeaderProps } from '@elastic/eui/src/components/page/page_header';
|
|
15167
15364
|
import { EuiPageContentProps, EuiPageContentBodyProps } from '@elastic/eui/src/components/page/page_content';
|
|
15168
15365
|
import { EuiBottomBarProps } from '@elastic/eui/src/components/bottom_bar';
|
|
15169
15366
|
export const TEMPLATES: readonly ["default", "centeredBody", "centeredContent", "empty"];
|
|
15170
|
-
export type
|
|
15367
|
+
export type EuiPageTemplateProps_Deprecated = Omit<EuiPageProps, 'paddingSize'> & {
|
|
15171
15368
|
/**
|
|
15172
15369
|
* Choose between 3 types of templates.
|
|
15173
15370
|
* `default`: Typical layout with nothing centered
|
|
@@ -15180,7 +15377,7 @@ declare module '@elastic/eui/src/components/page/page_template' {
|
|
|
15180
15377
|
* Padding size will not get applied to the over-arching #EuiPage,
|
|
15181
15378
|
* but will propogate through all the components to keep them in sync
|
|
15182
15379
|
*/
|
|
15183
|
-
paddingSize?:
|
|
15380
|
+
paddingSize?: 'none' | 's' | 'm' | 'l';
|
|
15184
15381
|
/**
|
|
15185
15382
|
* Optionally include #EuiPageSideBar content.
|
|
15186
15383
|
* The inclusion of this will affect the whole layout
|
|
@@ -15227,7 +15424,12 @@ declare module '@elastic/eui/src/components/page/page_template' {
|
|
|
15227
15424
|
*/
|
|
15228
15425
|
minHeight?: CSSProperties['minHeight'];
|
|
15229
15426
|
};
|
|
15230
|
-
|
|
15427
|
+
/**
|
|
15428
|
+
* This component has been deprecated in favor of the new
|
|
15429
|
+
* namespaced version. You can still import this component
|
|
15430
|
+
* for a period of time by importing `as EuiPageTemplate`.
|
|
15431
|
+
*/
|
|
15432
|
+
export const EuiPageTemplate_Deprecated: FunctionComponent<EuiPageTemplateProps_Deprecated>;
|
|
15231
15433
|
|
|
15232
15434
|
}
|
|
15233
15435
|
declare module '@elastic/eui/src/components/page' {
|
|
@@ -15236,13 +15438,183 @@ declare module '@elastic/eui/src/components/page' {
|
|
|
15236
15438
|
export type { EuiPageBodyProps } from '@elastic/eui/src/components/page/page_body';
|
|
15237
15439
|
export { EuiPageBody } from '@elastic/eui/src/components/page/page_body';
|
|
15238
15440
|
export type { EuiPageContentProps, EuiPageContentBodyProps, EuiPageContentHeaderProps, EuiPageContentHeaderSectionProps, } from '@elastic/eui/src/components/page/page_content';
|
|
15239
|
-
export {
|
|
15441
|
+
export { EuiPageContent_Deprecated, EuiPageContentBody_Deprecated, EuiPageContentHeader_Deprecated, EuiPageContentHeaderSection_Deprecated, } from '@elastic/eui/src/components/page/page_content';
|
|
15240
15442
|
export type { EuiPageHeaderContentProps, EuiPageHeaderProps, EuiPageHeaderSectionProps, } from '@elastic/eui/src/components/page/page_header';
|
|
15241
15443
|
export { EuiPageHeader, EuiPageHeaderContent, EuiPageHeaderSection, } from '@elastic/eui/src/components/page/page_header';
|
|
15444
|
+
export type { EuiPageSectionProps } from '@elastic/eui/src/components/page/page_section';
|
|
15445
|
+
export { EuiPageSection } from '@elastic/eui/src/components/page/page_section';
|
|
15242
15446
|
export type { EuiPageSideBarProps } from '@elastic/eui/src/components/page/page_side_bar';
|
|
15243
|
-
export {
|
|
15244
|
-
export type {
|
|
15245
|
-
export {
|
|
15447
|
+
export { EuiPageSideBar_Deprecated } from '@elastic/eui/src/components/page/page_side_bar';
|
|
15448
|
+
export type { EuiPageSidebarProps } from '@elastic/eui/src/components/page/page_sidebar';
|
|
15449
|
+
export { EuiPageSidebar } from '@elastic/eui/src/components/page/page_sidebar';
|
|
15450
|
+
export type { EuiPageTemplateProps_Deprecated } from '@elastic/eui/src/components/page/page_template';
|
|
15451
|
+
export { EuiPageTemplate_Deprecated } from '@elastic/eui/src/components/page/page_template';
|
|
15452
|
+
|
|
15453
|
+
}
|
|
15454
|
+
declare module '@elastic/eui/src/components/page_template/outer/page_outer.styles' {
|
|
15455
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15456
|
+
export const euiPageOuterStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
15457
|
+
euiPageOuter: import("@emotion/utils").SerializedStyles;
|
|
15458
|
+
grow: import("@emotion/utils").SerializedStyles;
|
|
15459
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
15460
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
15461
|
+
};
|
|
15462
|
+
|
|
15463
|
+
}
|
|
15464
|
+
declare module '@elastic/eui/src/components/page_template/outer/page_outer' {
|
|
15465
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
15466
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15467
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling';
|
|
15468
|
+
export interface _EuiPageOuterProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
15469
|
+
/**
|
|
15470
|
+
* Adds `flex-grow: 1` to the whole page for stretching to fit vertically.
|
|
15471
|
+
* Must be wrapped inside a flexbox, preferrably with `min-height: 100vh`
|
|
15472
|
+
*/
|
|
15473
|
+
grow?: boolean;
|
|
15474
|
+
/**
|
|
15475
|
+
* Changes the `flex-direction` property.
|
|
15476
|
+
* Flip to `column` when not including a sidebar.
|
|
15477
|
+
*/
|
|
15478
|
+
direction?: 'row' | 'column';
|
|
15479
|
+
/**
|
|
15480
|
+
* When direction is `row`, it will flip to `column` when within these breakpoints
|
|
15481
|
+
*/
|
|
15482
|
+
responsive?: _EuiThemeBreakpoint[];
|
|
15483
|
+
}
|
|
15484
|
+
export const _EuiPageOuter: FunctionComponent<_EuiPageOuterProps>;
|
|
15485
|
+
|
|
15486
|
+
}
|
|
15487
|
+
declare module '@elastic/eui/src/components/page_template/outer' {
|
|
15488
|
+
export type { _EuiPageOuterProps } from '@elastic/eui/src/components/page_template/outer/page_outer';
|
|
15489
|
+
export { _EuiPageOuter } from '@elastic/eui/src/components/page_template/outer/page_outer';
|
|
15490
|
+
|
|
15491
|
+
}
|
|
15492
|
+
declare module '@elastic/eui/src/components/page_template/inner/page_inner.styles' {
|
|
15493
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
15494
|
+
export const euiPageInnerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
15495
|
+
euiPageInner: import("@emotion/utils").SerializedStyles;
|
|
15496
|
+
panelled: import("@emotion/utils").SerializedStyles;
|
|
15497
|
+
border: {
|
|
15498
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
15499
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
15500
|
+
};
|
|
15501
|
+
};
|
|
15502
|
+
|
|
15503
|
+
}
|
|
15504
|
+
declare module '@elastic/eui/src/components/page_template/inner/page_inner' {
|
|
15505
|
+
import React, { PropsWithChildren, ComponentType, ComponentProps } from 'react';
|
|
15506
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15507
|
+
import { EuiPaddingSize, _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling'; type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType;
|
|
15508
|
+
export type _EuiPageInnerProps<T extends ComponentTypes = 'main'> = CommonProps & ComponentProps<T> & {
|
|
15509
|
+
/**
|
|
15510
|
+
* Sets which HTML element to render.
|
|
15511
|
+
*/
|
|
15512
|
+
component?: T;
|
|
15513
|
+
/**
|
|
15514
|
+
* Adds a white background and shadow to define the area.
|
|
15515
|
+
*/
|
|
15516
|
+
panelled?: boolean;
|
|
15517
|
+
/**
|
|
15518
|
+
* Adds a single side border, based on the `responsive` state.
|
|
15519
|
+
* Typically added when a side bar exists.
|
|
15520
|
+
*/
|
|
15521
|
+
border?: boolean;
|
|
15522
|
+
/**
|
|
15523
|
+
* Adjust the overall padding.
|
|
15524
|
+
*/
|
|
15525
|
+
paddingSize?: EuiPaddingSize;
|
|
15526
|
+
/**
|
|
15527
|
+
* Decides at which point the component will be 100vw.
|
|
15528
|
+
*/
|
|
15529
|
+
responsive?: _EuiThemeBreakpoint[];
|
|
15530
|
+
};
|
|
15531
|
+
export const _EuiPageInner: <T extends ComponentTypes>({ children, component: Component, panelled, border, paddingSize, responsive, ...rest }: React.PropsWithChildren<_EuiPageInnerProps<T>>) => JSX.Element;
|
|
15532
|
+
export {};
|
|
15533
|
+
|
|
15534
|
+
}
|
|
15535
|
+
declare module '@elastic/eui/src/components/page_template/inner' {
|
|
15536
|
+
export type { _EuiPageInnerProps } from '@elastic/eui/src/components/page_template/inner/page_inner';
|
|
15537
|
+
export { _EuiPageInner } from '@elastic/eui/src/components/page_template/inner/page_inner';
|
|
15538
|
+
|
|
15539
|
+
}
|
|
15540
|
+
declare module '@elastic/eui/src/components/page_template/bottom_bar/page_bottom_bar' {
|
|
15541
|
+
import { FunctionComponent } from 'react';
|
|
15542
|
+
import { EuiBottomBarProps } from '@elastic/eui/src/components/bottom_bar';
|
|
15543
|
+
import { EuiPageSectionProps } from '@elastic/eui/src/components/page/page_section';
|
|
15544
|
+
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15545
|
+
export interface _EuiPageBottomBarProps extends Pick<EuiPageSectionProps, 'paddingSize'>, _EuiPageRestrictWidth, Omit<EuiBottomBarProps, 'paddingSize'> {
|
|
15546
|
+
/**
|
|
15547
|
+
* The reference id of the element to insert into
|
|
15548
|
+
*/
|
|
15549
|
+
parent?: string;
|
|
15550
|
+
}
|
|
15551
|
+
export const _EuiPageBottomBar: FunctionComponent<_EuiPageBottomBarProps>;
|
|
15552
|
+
|
|
15553
|
+
}
|
|
15554
|
+
declare module '@elastic/eui/src/components/page_template/empty_prompt/page_empty_prompt' {
|
|
15555
|
+
import { FunctionComponent } from 'react';
|
|
15556
|
+
import { EuiEmptyPromptProps } from '@elastic/eui/src/components/empty_prompt';
|
|
15557
|
+
import { EuiPageSectionProps } from '@elastic/eui/src/components/page/page_section';
|
|
15558
|
+
export type _EuiPageEmptyPromptProps = Omit<EuiPageSectionProps, 'title' | 'bottomBorder'> & Omit<EuiEmptyPromptProps, 'paddingSize'> & {
|
|
15559
|
+
panelled?: boolean;
|
|
15560
|
+
};
|
|
15561
|
+
export const _EuiPageEmptyPrompt: FunctionComponent<_EuiPageEmptyPromptProps>;
|
|
15562
|
+
|
|
15563
|
+
}
|
|
15564
|
+
declare module '@elastic/eui/src/components/page_template/page_template' {
|
|
15565
|
+
import React, { CSSProperties, FunctionComponent, HTMLAttributes } from 'react';
|
|
15566
|
+
import { _EuiPageOuterProps } from '@elastic/eui/src/components/page_template/outer';
|
|
15567
|
+
import { _EuiPageInnerProps } from '@elastic/eui/src/components/page_template/inner';
|
|
15568
|
+
import { _EuiPageBottomBarProps } from '@elastic/eui/src/components/page_template/bottom_bar/page_bottom_bar';
|
|
15569
|
+
import { _EuiPageEmptyPromptProps } from '@elastic/eui/src/components/page_template/empty_prompt/page_empty_prompt';
|
|
15570
|
+
import { EuiPageHeaderProps, EuiPageSectionProps } from '@elastic/eui/src/components/page';
|
|
15571
|
+
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15572
|
+
import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
|
|
15573
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15574
|
+
export const TemplateContext: React.Context<{
|
|
15575
|
+
section: {};
|
|
15576
|
+
header: {};
|
|
15577
|
+
emptyPrompt: {};
|
|
15578
|
+
bottomBar: {};
|
|
15579
|
+
}>;
|
|
15580
|
+
export type EuiPageTemplateProps = _EuiPageOuterProps & Omit<_EuiPageInnerProps, 'border'> & _EuiPageRestrictWidth & _EuiPageBottomBorder & {
|
|
15581
|
+
/**
|
|
15582
|
+
* Applies a top or left border to the inner contents
|
|
15583
|
+
* to add separation between content and sidebar when a sidebar exists.
|
|
15584
|
+
*/
|
|
15585
|
+
contentBorder?: _EuiPageInnerProps['border'];
|
|
15586
|
+
/**
|
|
15587
|
+
* Minimum height in which to enforce scrolling
|
|
15588
|
+
*/
|
|
15589
|
+
minHeight?: CSSProperties['minHeight'];
|
|
15590
|
+
/**
|
|
15591
|
+
* To account for any fixed elements like headers,
|
|
15592
|
+
* pass in the value of the total height of those fixed elements.
|
|
15593
|
+
* Otherwise they will be calculated based on the data attributes on the body element.
|
|
15594
|
+
*/
|
|
15595
|
+
offset?: number;
|
|
15596
|
+
/**
|
|
15597
|
+
* Passes through some common HTML attributes to the `main` content wrapper
|
|
15598
|
+
*/
|
|
15599
|
+
mainProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15600
|
+
};
|
|
15601
|
+
/**
|
|
15602
|
+
* Consumed via `EuiPageTemplate`,
|
|
15603
|
+
* it controls and propogates most of the shared props per direct child
|
|
15604
|
+
*/
|
|
15605
|
+
export const _EuiPageTemplate: FunctionComponent<EuiPageTemplateProps>;
|
|
15606
|
+
export const EuiPageTemplate: React.FunctionComponent<EuiPageTemplateProps> & {
|
|
15607
|
+
Sidebar: React.FunctionComponent<import ("@elastic/eui/src/components/page").EuiPageSidebarProps>;
|
|
15608
|
+
Header: React.FunctionComponent<EuiPageHeaderProps>;
|
|
15609
|
+
Section: React.FunctionComponent<EuiPageSectionProps>;
|
|
15610
|
+
BottomBar: React.FunctionComponent<_EuiPageBottomBarProps>;
|
|
15611
|
+
EmptyPrompt: React.FunctionComponent<_EuiPageEmptyPromptProps>;
|
|
15612
|
+
};
|
|
15613
|
+
|
|
15614
|
+
}
|
|
15615
|
+
declare module '@elastic/eui/src/components/page_template' {
|
|
15616
|
+
export type { EuiPageTemplateProps } from '@elastic/eui/src/components/page_template/page_template';
|
|
15617
|
+
export { EuiPageTemplate } from '@elastic/eui/src/components/page_template/page_template';
|
|
15246
15618
|
|
|
15247
15619
|
}
|
|
15248
15620
|
declare module '@elastic/eui/src/global_styling/utility/utility' {
|
|
@@ -15276,7 +15648,7 @@ declare module '@elastic/eui/src/components/provider/cache/cache_provider' {
|
|
|
15276
15648
|
import { PropsWithChildren } from 'react';
|
|
15277
15649
|
import { EmotionCache } from '@emotion/cache';
|
|
15278
15650
|
export interface EuiCacheProviderProps {
|
|
15279
|
-
cache?:
|
|
15651
|
+
cache?: EmotionCache;
|
|
15280
15652
|
}
|
|
15281
15653
|
export const EuiCacheProvider: ({ cache, children, }: PropsWithChildren<EuiCacheProviderProps>) => JSX.Element;
|
|
15282
15654
|
|
|
@@ -17666,19 +18038,35 @@ declare module '@elastic/eui/src/components/table' {
|
|
|
17666
18038
|
}
|
|
17667
18039
|
declare module '@elastic/eui/src/components/tour/tour_step_indicator' {
|
|
17668
18040
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
17669
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
17670
|
-
|
|
17671
|
-
incomplete: string;
|
|
17672
|
-
active: string;
|
|
17673
|
-
};
|
|
17674
|
-
export const STATUS: ("active" | "incomplete" | "complete")[];
|
|
17675
|
-
export type EuiTourStepStatus = keyof typeof statusToClassNameMap;
|
|
18041
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18042
|
+
export type EuiTourStepStatus = 'complete' | 'incomplete' | 'active';
|
|
17676
18043
|
export interface EuiTourStepIndicatorProps extends CommonProps, HTMLAttributes<HTMLLIElement> {
|
|
17677
18044
|
number: number;
|
|
17678
18045
|
status: EuiTourStepStatus;
|
|
17679
18046
|
}
|
|
17680
18047
|
export const EuiTourStepIndicator: FunctionComponent<EuiTourStepIndicatorProps>;
|
|
17681
|
-
|
|
18048
|
+
|
|
18049
|
+
}
|
|
18050
|
+
declare module '@elastic/eui/src/components/tour/tour.styles' {
|
|
18051
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18052
|
+
export const euiTourStyles: ({ euiTheme, colorMode }: UseEuiTheme) => {
|
|
18053
|
+
euiTour: import("@emotion/utils").SerializedStyles;
|
|
18054
|
+
};
|
|
18055
|
+
export const euiTourBeaconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
18056
|
+
euiTourBeacon: import("@emotion/utils").SerializedStyles;
|
|
18057
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
18058
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
18059
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
18060
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
18061
|
+
};
|
|
18062
|
+
export const euiTourHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
18063
|
+
euiTourHeader: import("@emotion/utils").SerializedStyles;
|
|
18064
|
+
euiTourHeader__title: import("@emotion/utils").SerializedStyles;
|
|
18065
|
+
euiTourHeader__subtitle: import("@emotion/utils").SerializedStyles;
|
|
18066
|
+
};
|
|
18067
|
+
export const euiTourFooterStyles: ({ euiTheme, colorMode }: UseEuiTheme) => {
|
|
18068
|
+
euiTourFooter: import("@emotion/utils").SerializedStyles;
|
|
18069
|
+
};
|
|
17682
18070
|
|
|
17683
18071
|
}
|
|
17684
18072
|
declare module '@elastic/eui/src/components/tour/tour_step' {
|
|
@@ -17797,17 +18185,18 @@ declare module '@elastic/eui/src/components/tour/useEuiTour' {
|
|
|
17797
18185
|
import { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
|
|
17798
18186
|
import { EuiTourActions, EuiTourState } from '@elastic/eui/src/components/tour/types';
|
|
17799
18187
|
export type EuiStatelessTourStep = EuiTourStepProps & Partial<EuiTourState>;
|
|
17800
|
-
export
|
|
18188
|
+
export type EuiStatelessTourSteps = Array<Exclude<EuiStatelessTourStep, 'onFinish'>>;
|
|
18189
|
+
export const useEuiTour: (stepsArray: EuiStatelessTourSteps, initialState: EuiTourState) => [EuiTourStepProps[], EuiTourActions, EuiTourState];
|
|
17801
18190
|
|
|
17802
18191
|
}
|
|
17803
18192
|
declare module '@elastic/eui/src/components/tour/tour' {
|
|
17804
18193
|
import { FunctionComponent, ReactElement } from 'react';
|
|
17805
|
-
import {
|
|
18194
|
+
import { EuiStatelessTourSteps } from '@elastic/eui/src/components/tour/useEuiTour';
|
|
17806
18195
|
import { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
|
|
17807
18196
|
import { EuiTourActions, EuiTourState } from '@elastic/eui/src/components/tour/types';
|
|
17808
18197
|
export interface EuiTourProps {
|
|
17809
18198
|
children: (steps: EuiTourStepProps[], actions: EuiTourActions, state: EuiTourState) => ReactElement;
|
|
17810
|
-
steps:
|
|
18199
|
+
steps: EuiStatelessTourSteps;
|
|
17811
18200
|
initialState: EuiTourState;
|
|
17812
18201
|
}
|
|
17813
18202
|
export const EuiTour: FunctionComponent<EuiTourProps>;
|
|
@@ -17820,7 +18209,7 @@ declare module '@elastic/eui/src/components/tour' {
|
|
|
17820
18209
|
export { EuiTourStep } from '@elastic/eui/src/components/tour/tour_step';
|
|
17821
18210
|
export type { EuiTourStepIndicatorProps } from '@elastic/eui/src/components/tour/tour_step_indicator';
|
|
17822
18211
|
export { EuiTourStepIndicator } from '@elastic/eui/src/components/tour/tour_step_indicator';
|
|
17823
|
-
export type { EuiStatelessTourStep } from '@elastic/eui/src/components/tour/useEuiTour';
|
|
18212
|
+
export type { EuiStatelessTourStep, EuiStatelessTourSteps } from '@elastic/eui/src/components/tour/useEuiTour';
|
|
17824
18213
|
export { useEuiTour } from '@elastic/eui/src/components/tour/useEuiTour';
|
|
17825
18214
|
export * from '@elastic/eui/src/components/tour/types';
|
|
17826
18215
|
|
|
@@ -19030,6 +19419,7 @@ declare module '@elastic/eui/src/components' {
|
|
|
19030
19419
|
export * from '@elastic/eui/src/components/outside_click_detector';
|
|
19031
19420
|
export * from '@elastic/eui/src/components/overlay_mask';
|
|
19032
19421
|
export * from '@elastic/eui/src/components/page';
|
|
19422
|
+
export * from '@elastic/eui/src/components/page_template';
|
|
19033
19423
|
export * from '@elastic/eui/src/components/pagination';
|
|
19034
19424
|
export * from '@elastic/eui/src/components/panel';
|
|
19035
19425
|
export * from '@elastic/eui/src/components/popover';
|
|
@@ -19068,56 +19458,6 @@ declare module '@elastic/eui' {
|
|
|
19068
19458
|
export * from '@elastic/eui/src/themes';
|
|
19069
19459
|
export * from '@elastic/eui/src/global_styling';
|
|
19070
19460
|
|
|
19071
|
-
}
|
|
19072
|
-
declare module '@elastic/eui/src/test/internal/render_with_styles' {
|
|
19073
|
-
import { ReactElement } from 'react';
|
|
19074
|
-
/**
|
|
19075
|
-
* Use this function to add the `@emotion` Jest serializer to a single test.
|
|
19076
|
-
* The resulting snapshot will include the styles of elements in the component that use `@emotion` for styling.
|
|
19077
|
-
*
|
|
19078
|
-
* This function must be run outside of a `test` block:
|
|
19079
|
-
|
|
19080
|
-
```
|
|
19081
|
-
describe('EuiMark', () => {
|
|
19082
|
-
renderWithStyles(<EuiMark>Marked</EuiMark>);
|
|
19083
|
-
|
|
19084
|
-
test('is rendered', () => {});
|
|
19085
|
-
});
|
|
19086
|
-
```
|
|
19087
|
-
*/
|
|
19088
|
-
export const renderWithStyles: (component: ReactElement) => never;
|
|
19089
|
-
|
|
19090
|
-
}
|
|
19091
|
-
declare module '@elastic/eui/src/test/internal/render_custom_styles' {
|
|
19092
|
-
import { ReactElement } from 'react';
|
|
19093
|
-
/**
|
|
19094
|
-
* Use this test helper to quickly check that the component supports custom
|
|
19095
|
-
* `className`, `css`, and `style` properties.
|
|
19096
|
-
*
|
|
19097
|
-
* Example usage:
|
|
19098
|
-
*
|
|
19099
|
-
* shouldRenderCustomStyles(<EuiMark {...requiredProps} />Marked</EuiMark>);
|
|
19100
|
-
*/
|
|
19101
|
-
export const shouldRenderCustomStyles: (component: ReactElement) => void;
|
|
19102
|
-
|
|
19103
|
-
}
|
|
19104
|
-
declare module '@elastic/eui/src/test/internal/test_custom_hook' {
|
|
19105
|
-
|
|
19106
|
-
export const HookWrapper: (props: {
|
|
19107
|
-
hook?: Function;
|
|
19108
|
-
}) => JSX.Element;
|
|
19109
|
-
export const testCustomHook: <T>(hook?: Function | undefined, args?: unknown) => {
|
|
19110
|
-
return: T;
|
|
19111
|
-
getUpdatedState: () => T;
|
|
19112
|
-
updateHookArgs: (args: unknown) => void;
|
|
19113
|
-
};
|
|
19114
|
-
|
|
19115
|
-
}
|
|
19116
|
-
declare module '@elastic/eui/src/test/internal' {
|
|
19117
|
-
export * from '@elastic/eui/src/test/internal/render_with_styles';
|
|
19118
|
-
export * from '@elastic/eui/src/test/internal/render_custom_styles';
|
|
19119
|
-
export * from '@elastic/eui/src/test/internal/test_custom_hook';
|
|
19120
|
-
|
|
19121
19461
|
}
|
|
19122
19462
|
declare module '@elastic/eui/src/components/icon/assets/videoPlayer' {
|
|
19123
19463
|
import * as React from 'react';
|
|
@@ -23662,96 +24002,6 @@ declare module 'mdast-util-to-hast/lib/all' {
|
|
|
23662
24002
|
const all: (h: H, node: Node) => Node[];
|
|
23663
24003
|
export = all;
|
|
23664
24004
|
}
|
|
23665
|
-
declare module '@elastic/eui/src/test/rtl/component_helpers' {
|
|
23666
|
-
import '@testing-library/jest-dom';
|
|
23667
|
-
/**
|
|
23668
|
-
* Ensure the EuiPopover being tested is open/closed before continuing
|
|
23669
|
-
* Note: Because EuiPopover is portalled, we want to query `document`
|
|
23670
|
-
* instead of the `container` returned by RTL's render()
|
|
23671
|
-
*/
|
|
23672
|
-
export const waitForEuiPopoverOpen: () => Promise<void>;
|
|
23673
|
-
export const waitForEuiPopoverClose: () => Promise<void>;
|
|
23674
|
-
/**
|
|
23675
|
-
* Ensure the EuiToolTip being tested is open and visible before continuing
|
|
23676
|
-
*/
|
|
23677
|
-
export const waitForEuiToolTipVisible: () => Promise<void>;
|
|
23678
|
-
export const waitForEuiToolTipHidden: () => Promise<void>;
|
|
23679
|
-
|
|
23680
|
-
}
|
|
23681
|
-
declare module '@elastic/eui/src/test/rtl/data_test_subj_queries' {
|
|
23682
|
-
import { queryHelpers, Matcher, MatcherOptions } from '@testing-library/react'; const queryAllByTestSubject: (container: HTMLElement, id: Matcher, options?: MatcherOptions | undefined) => HTMLElement[]; const queryByTestSubject: queryHelpers.QueryBy<[Matcher]>, getAllByTestSubject: queryHelpers.GetAllBy<[Matcher]>, getByTestSubject: queryHelpers.GetBy<[Matcher]>, findAllByTestSubject: queryHelpers.FindAllBy<[Matcher]>, findByTestSubject: queryHelpers.FindBy<[Matcher]>;
|
|
23683
|
-
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, };
|
|
23684
|
-
|
|
23685
|
-
}
|
|
23686
|
-
declare module '@elastic/eui/src/test/rtl/custom_render' {
|
|
23687
|
-
import { ReactElement } from 'react';
|
|
23688
|
-
import { queries, RenderOptions, Screen } from '@testing-library/react';
|
|
23689
|
-
import * as dataTestSubjQueries from '@elastic/eui/src/test/rtl/data_test_subj_queries'; const customRender: (ui: ReactElement, { queries: renderQueries, ...options }?: RenderOptions) => import("@testing-library/react").RenderResult<{
|
|
23690
|
-
getByLabelText: typeof queries.getByLabelText;
|
|
23691
|
-
getAllByLabelText: typeof queries.getAllByLabelText;
|
|
23692
|
-
queryByLabelText: typeof queries.queryByLabelText;
|
|
23693
|
-
queryAllByLabelText: typeof queries.queryAllByLabelText;
|
|
23694
|
-
findByLabelText: typeof queries.findByLabelText;
|
|
23695
|
-
findAllByLabelText: typeof queries.findAllByLabelText;
|
|
23696
|
-
getByPlaceholderText: typeof queries.getByPlaceholderText;
|
|
23697
|
-
getAllByPlaceholderText: typeof queries.getAllByPlaceholderText;
|
|
23698
|
-
queryByPlaceholderText: typeof queries.queryByPlaceholderText;
|
|
23699
|
-
queryAllByPlaceholderText: typeof queries.queryAllByPlaceholderText;
|
|
23700
|
-
findByPlaceholderText: typeof queries.findByPlaceholderText;
|
|
23701
|
-
findAllByPlaceholderText: typeof queries.findAllByPlaceholderText;
|
|
23702
|
-
getByText: typeof queries.getByText;
|
|
23703
|
-
getAllByText: typeof queries.getAllByText;
|
|
23704
|
-
queryByText: typeof queries.queryByText;
|
|
23705
|
-
queryAllByText: typeof queries.queryAllByText;
|
|
23706
|
-
findByText: typeof queries.findByText;
|
|
23707
|
-
findAllByText: typeof queries.findAllByText;
|
|
23708
|
-
getByAltText: typeof queries.getByAltText;
|
|
23709
|
-
getAllByAltText: typeof queries.getAllByAltText;
|
|
23710
|
-
queryByAltText: typeof queries.queryByAltText;
|
|
23711
|
-
queryAllByAltText: typeof queries.queryAllByAltText;
|
|
23712
|
-
findByAltText: typeof queries.findByAltText;
|
|
23713
|
-
findAllByAltText: typeof queries.findAllByAltText;
|
|
23714
|
-
getByTitle: typeof queries.getByTitle;
|
|
23715
|
-
getAllByTitle: typeof queries.getAllByTitle;
|
|
23716
|
-
queryByTitle: typeof queries.queryByTitle;
|
|
23717
|
-
queryAllByTitle: typeof queries.queryAllByTitle;
|
|
23718
|
-
findByTitle: typeof queries.findByTitle;
|
|
23719
|
-
findAllByTitle: typeof queries.findAllByTitle;
|
|
23720
|
-
getByDisplayValue: typeof queries.getByDisplayValue;
|
|
23721
|
-
getAllByDisplayValue: typeof queries.getAllByDisplayValue;
|
|
23722
|
-
queryByDisplayValue: typeof queries.queryByDisplayValue;
|
|
23723
|
-
queryAllByDisplayValue: typeof queries.queryAllByDisplayValue;
|
|
23724
|
-
findByDisplayValue: typeof queries.findByDisplayValue;
|
|
23725
|
-
findAllByDisplayValue: typeof queries.findAllByDisplayValue;
|
|
23726
|
-
getByRole: typeof queries.getByRole;
|
|
23727
|
-
getAllByRole: typeof queries.getAllByRole;
|
|
23728
|
-
queryByRole: typeof queries.queryByRole;
|
|
23729
|
-
queryAllByRole: typeof queries.queryAllByRole;
|
|
23730
|
-
findByRole: typeof queries.findByRole;
|
|
23731
|
-
findAllByRole: typeof queries.findAllByRole;
|
|
23732
|
-
getByTestId: typeof queries.getByTestId;
|
|
23733
|
-
getAllByTestId: typeof queries.getAllByTestId;
|
|
23734
|
-
queryByTestId: typeof queries.queryByTestId;
|
|
23735
|
-
queryAllByTestId: typeof queries.queryAllByTestId;
|
|
23736
|
-
findByTestId: typeof queries.findByTestId;
|
|
23737
|
-
findAllByTestId: typeof queries.findAllByTestId;
|
|
23738
|
-
queryByTestSubject: import("@testing-library/react").QueryBy<[import("@testing-library/react").Matcher]>;
|
|
23739
|
-
queryAllByTestSubject: (container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
23740
|
-
getByTestSubject: import("@testing-library/react").GetBy<[import("@testing-library/react").Matcher]>;
|
|
23741
|
-
getAllByTestSubject: import("@testing-library/react").GetAllBy<[import("@testing-library/react").Matcher]>;
|
|
23742
|
-
findAllByTestSubject: import("@testing-library/react").FindAllBy<[import("@testing-library/react").Matcher]>;
|
|
23743
|
-
findByTestSubject: import("@testing-library/react").FindBy<[import("@testing-library/react").Matcher]>;
|
|
23744
|
-
}, HTMLElement, HTMLElement>;
|
|
23745
|
-
export { customRender as render }; const customScreen: Screen<typeof queries & typeof dataTestSubjQueries>;
|
|
23746
|
-
export { customScreen as screen };
|
|
23747
|
-
|
|
23748
|
-
}
|
|
23749
|
-
declare module '@elastic/eui/src/test/rtl' {
|
|
23750
|
-
export * from '@elastic/eui/src/test/rtl/component_helpers';
|
|
23751
|
-
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, } from '@elastic/eui/src/test/rtl/data_test_subj_queries';
|
|
23752
|
-
export { render, screen } from '@elastic/eui/src/test/rtl/custom_render';
|
|
23753
|
-
|
|
23754
|
-
}
|
|
23755
24005
|
declare module '@elastic/eui/src/components/table/mobile' {
|
|
23756
24006
|
export { EuiTableHeaderMobile } from '@elastic/eui/src/components/table/mobile/table_header_mobile';
|
|
23757
24007
|
export type { EuiTableSortMobileProps } from '@elastic/eui/src/components/table/mobile/table_sort_mobile';
|