@elastic/eui 65.0.1 → 67.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 +28 -444
- package/dist/eui_theme_dark.json +0 -6
- package/dist/eui_theme_dark.json.d.ts +0 -6
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +28 -444
- package/dist/eui_theme_light.json +0 -6
- package/dist/eui_theme_light.json.d.ts +0 -6
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/basic_table/basic_table.js +13 -2
- package/es/components/basic_table/in_memory_table.js +13 -2
- package/es/components/button/button_display/_button_display.js +10 -1
- package/es/components/button/button_empty/button_empty.js +10 -1
- package/es/components/card/card.styles.js +2 -2
- package/es/components/collapsible_nav/collapsible_nav.js +0 -5
- package/es/components/combo_box/combo_box.js +2 -15
- package/es/components/datagrid/body/data_grid_body.js +17 -6
- package/es/components/datagrid/body/data_grid_cell.js +29 -12
- package/es/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/es/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/es/components/datagrid/data_grid.js +17 -6
- package/es/components/datagrid/utils/in_memory.js +17 -6
- package/es/components/date_picker/auto_refresh/auto_refresh.js +6 -1
- package/es/components/date_picker/react-datepicker/original.package.json +124 -0
- package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -2
- package/es/components/description_list/description_list.js +11 -3
- package/es/components/description_list/description_list_context.js +2 -1
- package/es/components/description_list/description_list_description.js +3 -1
- package/es/components/description_list/description_list_description.styles.js +5 -2
- package/es/components/description_list/description_list_title.js +3 -2
- package/es/components/description_list/description_list_title.styles.js +7 -3
- package/es/components/description_list/description_list_types.js +2 -1
- package/es/components/expression/expression.js +12 -2
- package/es/components/form/field_search/field_search.js +6 -16
- package/es/components/form/range/range_input.js +1 -1
- package/es/components/header/header_links/header_link.js +10 -1
- package/es/components/header/header_section/header_section_item.js +4 -3
- package/es/components/icon/icon.js +3 -10
- package/es/components/image/image.js +6 -1
- package/es/components/image/image_fullscreen_wrapper.js +2 -3
- package/es/components/list_group/list_group.js +7 -1
- package/es/components/list_group/list_group_item.js +10 -3
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/es/components/modal/modal.js +1 -3
- package/es/components/notification/notification_event.js +24 -5
- package/es/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/es/components/overlay_mask/overlay_mask.js +27 -65
- package/es/components/overlay_mask/overlay_mask.styles.js +28 -0
- package/es/components/page/page_content/page_content.js +1 -2
- package/es/components/page/page_content/page_content_body.js +1 -2
- package/es/components/page/page_content/page_content_header.js +1 -2
- package/es/components/page/page_content/page_content_header_section.js +1 -2
- package/es/components/page/page_section/page_section.js +15 -3
- package/es/components/page/page_side_bar/page_side_bar.js +1 -2
- package/es/components/page/page_sidebar/page_sidebar.js +5 -1
- package/es/components/page/page_template.js +3 -1
- package/es/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
- package/es/components/page_template/page_template.js +18 -2
- package/es/components/pagination/pagination.js +17 -4
- package/es/components/pagination/pagination.styles.js +31 -0
- package/es/components/pagination/pagination_button.js +17 -5
- package/es/components/pagination/pagination_button.styles.js +30 -0
- package/es/components/pagination/pagination_button_arrow.js +5 -0
- package/es/components/progress/progress.js +6 -1
- package/es/components/provider/cache/cache_provider.js +3 -9
- package/es/components/provider/provider.js +25 -2
- package/es/components/resizable_container/resizable_panel.js +6 -1
- package/es/components/side_nav/side_nav.js +5 -0
- package/es/components/suggest/suggest.js +10 -1
- package/es/components/table/table_row_cell.js +4 -6
- package/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/es/components/tool_tip/tool_tip.js +42 -66
- package/es/components/tool_tip/tool_tip.styles.js +107 -0
- package/es/components/tool_tip/tool_tip_anchor.js +73 -0
- package/es/components/tool_tip/tool_tip_arrow.js +20 -0
- package/es/components/tool_tip/tool_tip_popover.js +48 -101
- package/es/global_styling/functions/logicals.json +56 -0
- package/es/global_styling/index.js +2 -1
- package/es/global_styling/mixins/_typography.js +1 -1
- package/es/global_styling/utility/animations.js +13 -0
- package/es/services/theme/hooks.js +11 -16
- package/eui.d.ts +157 -61
- package/i18ntokens.json +72 -72
- package/lib/components/basic_table/basic_table.js +13 -2
- package/lib/components/basic_table/in_memory_table.js +13 -2
- package/lib/components/button/button_display/_button_display.js +10 -1
- package/lib/components/button/button_empty/button_empty.js +10 -1
- package/lib/components/card/card.styles.js +2 -2
- package/lib/components/collapsible_nav/collapsible_nav.js +0 -5
- package/lib/components/combo_box/combo_box.js +2 -15
- package/lib/components/datagrid/body/data_grid_body.js +17 -6
- package/lib/components/datagrid/body/data_grid_cell.js +29 -12
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/lib/components/datagrid/data_grid.js +17 -6
- package/lib/components/datagrid/utils/in_memory.js +17 -6
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +6 -1
- package/lib/components/date_picker/react-datepicker/original.package.json +124 -0
- package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
- package/lib/components/description_list/description_list.js +11 -3
- package/lib/components/description_list/description_list_context.js +2 -1
- package/lib/components/description_list/description_list_description.js +3 -1
- package/lib/components/description_list/description_list_description.styles.js +5 -2
- package/lib/components/description_list/description_list_title.js +3 -2
- package/lib/components/description_list/description_list_title.styles.js +7 -3
- package/lib/components/description_list/description_list_types.js +4 -2
- package/lib/components/expression/expression.js +12 -2
- package/lib/components/form/field_search/field_search.js +6 -16
- package/lib/components/form/range/range_input.js +1 -1
- package/lib/components/header/header_links/header_link.js +10 -1
- package/lib/components/header/header_section/header_section_item.js +4 -3
- package/lib/components/icon/icon.js +3 -10
- package/lib/components/image/image.js +6 -1
- package/lib/components/image/image_fullscreen_wrapper.js +2 -3
- package/lib/components/list_group/list_group.js +7 -1
- package/lib/components/list_group/list_group_item.js +10 -3
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/lib/components/modal/modal.js +1 -3
- package/lib/components/notification/notification_event.js +27 -8
- package/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/lib/components/overlay_mask/overlay_mask.js +27 -65
- package/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
- package/lib/components/page/page_content/page_content.js +1 -2
- package/lib/components/page/page_content/page_content_body.js +1 -2
- package/lib/components/page/page_content/page_content_header.js +1 -2
- package/lib/components/page/page_content/page_content_header_section.js +1 -2
- package/lib/components/page/page_section/page_section.js +15 -3
- package/lib/components/page/page_side_bar/page_side_bar.js +1 -2
- package/lib/components/page/page_sidebar/page_sidebar.js +5 -1
- package/lib/components/page/page_template.js +3 -1
- package/lib/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
- package/lib/components/page_template/page_template.js +18 -2
- package/lib/components/pagination/pagination.js +18 -3
- package/lib/components/pagination/pagination.styles.js +34 -0
- package/lib/components/pagination/pagination_button.js +9 -4
- package/lib/components/pagination/pagination_button.styles.js +45 -0
- package/lib/components/pagination/pagination_button_arrow.js +7 -0
- package/lib/components/progress/progress.js +6 -1
- package/lib/components/provider/cache/cache_provider.js +3 -11
- package/lib/components/provider/provider.js +31 -6
- package/lib/components/resizable_container/resizable_panel.js +6 -1
- package/lib/components/side_nav/side_nav.js +5 -0
- package/lib/components/suggest/suggest.js +10 -1
- package/lib/components/table/table_row_cell.js +4 -6
- package/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/lib/components/tool_tip/tool_tip.js +43 -64
- package/lib/components/tool_tip/tool_tip.styles.js +123 -0
- package/lib/components/tool_tip/tool_tip_anchor.js +87 -0
- package/lib/components/tool_tip/tool_tip_arrow.js +28 -0
- package/lib/components/tool_tip/tool_tip_popover.js +49 -98
- package/lib/global_styling/functions/logicals.json +56 -0
- package/lib/global_styling/index.js +13 -0
- package/lib/global_styling/mixins/_typography.js +1 -1
- package/lib/global_styling/utility/animations.js +15 -0
- package/lib/services/theme/hooks.js +10 -15
- package/optimize/es/components/card/card.styles.js +2 -2
- package/optimize/es/components/combo_box/combo_box.js +2 -15
- package/optimize/es/components/date_picker/react-datepicker/original.package.json +124 -0
- package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +0 -1
- package/optimize/es/components/description_list/description_list.js +5 -2
- package/optimize/es/components/description_list/description_list_context.js +2 -1
- package/optimize/es/components/description_list/description_list_description.js +3 -1
- package/optimize/es/components/description_list/description_list_description.styles.js +5 -2
- package/optimize/es/components/description_list/description_list_title.js +3 -2
- package/optimize/es/components/description_list/description_list_title.styles.js +7 -3
- package/optimize/es/components/description_list/description_list_types.js +2 -1
- package/optimize/es/components/form/field_search/field_search.js +6 -16
- package/optimize/es/components/form/range/range_input.js +1 -1
- package/optimize/es/components/header/header_section/header_section_item.js +4 -3
- package/optimize/es/components/icon/icon.js +3 -10
- package/optimize/es/components/image/image_fullscreen_wrapper.js +2 -3
- package/optimize/es/components/list_group/list_group_item.js +3 -2
- package/optimize/es/components/modal/modal.js +1 -3
- package/optimize/es/components/notification/notification_event.js +10 -4
- package/optimize/es/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/optimize/es/components/overlay_mask/overlay_mask.js +27 -60
- package/optimize/es/components/overlay_mask/overlay_mask.styles.js +28 -0
- package/optimize/es/components/page/page_content/page_content.js +1 -2
- package/optimize/es/components/page/page_content/page_content_body.js +1 -2
- package/optimize/es/components/page/page_content/page_content_header.js +1 -2
- package/optimize/es/components/page/page_content/page_content_header_section.js +1 -2
- package/optimize/es/components/page/page_section/page_section.js +4 -2
- package/optimize/es/components/page/page_side_bar/page_side_bar.js +1 -2
- package/optimize/es/components/page/page_sidebar/page_sidebar.js +5 -1
- package/optimize/es/components/page/page_template.js +3 -1
- package/optimize/es/components/pagination/pagination.js +17 -4
- package/optimize/es/components/pagination/pagination.styles.js +31 -0
- package/optimize/es/components/pagination/pagination_button.js +7 -4
- package/optimize/es/components/pagination/pagination_button.styles.js +30 -0
- package/optimize/es/components/pagination/pagination_button_arrow.js +5 -0
- package/optimize/es/components/provider/cache/cache_provider.js +3 -9
- package/optimize/es/components/provider/provider.js +25 -2
- package/optimize/es/components/suggest/suggest.js +4 -1
- package/optimize/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/optimize/es/components/tool_tip/tool_tip.js +42 -66
- package/optimize/es/components/tool_tip/tool_tip.styles.js +107 -0
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +60 -0
- package/optimize/es/components/tool_tip/tool_tip_arrow.js +20 -0
- package/optimize/es/components/tool_tip/tool_tip_popover.js +46 -87
- package/optimize/es/global_styling/functions/logicals.json +56 -0
- package/optimize/es/global_styling/index.js +2 -1
- package/optimize/es/global_styling/mixins/_typography.js +1 -1
- package/optimize/es/global_styling/utility/animations.js +13 -0
- package/optimize/es/services/theme/hooks.js +11 -16
- package/optimize/lib/components/card/card.styles.js +2 -2
- package/optimize/lib/components/combo_box/combo_box.js +2 -15
- package/optimize/lib/components/date_picker/react-datepicker/original.package.json +124 -0
- package/optimize/lib/components/description_list/description_list.js +5 -2
- package/optimize/lib/components/description_list/description_list_context.js +2 -1
- package/optimize/lib/components/description_list/description_list_description.js +3 -1
- package/optimize/lib/components/description_list/description_list_description.styles.js +5 -2
- package/optimize/lib/components/description_list/description_list_title.js +3 -2
- package/optimize/lib/components/description_list/description_list_title.styles.js +7 -3
- package/optimize/lib/components/description_list/description_list_types.js +4 -2
- package/optimize/lib/components/form/field_search/field_search.js +6 -16
- package/optimize/lib/components/form/range/range_input.js +1 -1
- package/optimize/lib/components/header/header_section/header_section_item.js +4 -3
- package/optimize/lib/components/icon/icon.js +3 -10
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +2 -3
- package/optimize/lib/components/list_group/list_group_item.js +3 -2
- package/optimize/lib/components/modal/modal.js +1 -3
- package/optimize/lib/components/notification/notification_event.js +11 -11
- package/optimize/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/optimize/lib/components/overlay_mask/overlay_mask.js +27 -59
- package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
- package/optimize/lib/components/page/page_content/page_content.js +1 -2
- package/optimize/lib/components/page/page_content/page_content_body.js +1 -2
- package/optimize/lib/components/page/page_content/page_content_header.js +1 -2
- package/optimize/lib/components/page/page_content/page_content_header_section.js +1 -2
- package/optimize/lib/components/page/page_section/page_section.js +4 -2
- package/optimize/lib/components/page/page_side_bar/page_side_bar.js +1 -2
- package/optimize/lib/components/page/page_sidebar/page_sidebar.js +5 -1
- package/optimize/lib/components/page/page_template.js +3 -1
- package/optimize/lib/components/pagination/pagination.js +18 -3
- package/optimize/lib/components/pagination/pagination.styles.js +34 -0
- package/optimize/lib/components/pagination/pagination_button.js +9 -4
- package/optimize/lib/components/pagination/pagination_button.styles.js +45 -0
- package/optimize/lib/components/pagination/pagination_button_arrow.js +7 -0
- package/optimize/lib/components/provider/cache/cache_provider.js +3 -11
- package/optimize/lib/components/provider/provider.js +31 -6
- package/optimize/lib/components/suggest/suggest.js +4 -1
- package/optimize/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/optimize/lib/components/tool_tip/tool_tip.js +42 -64
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +125 -0
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +75 -0
- package/optimize/lib/components/tool_tip/tool_tip_arrow.js +35 -0
- package/optimize/lib/components/tool_tip/tool_tip_popover.js +47 -88
- package/optimize/lib/global_styling/functions/logicals.json +56 -0
- package/optimize/lib/global_styling/index.js +13 -0
- package/optimize/lib/global_styling/mixins/_typography.js +1 -1
- package/optimize/lib/global_styling/utility/animations.js +17 -0
- package/optimize/lib/services/theme/hooks.js +10 -15
- package/package.json +2 -2
- package/src/components/badge/_badge.scss +0 -5
- package/src/components/datagrid/_data_grid_data_row.scss +7 -0
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
- package/src/components/filter_group/_filter_group.scss +3 -1
- package/src/components/flex/_flex_group.scss +2 -11
- package/src/components/flex/_flex_item.scss +0 -6
- package/src/components/form/field_search/_field_search.scss +0 -5
- package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +0 -3
- package/src/components/form/form_row/_form_row.scss +0 -1
- package/src/components/header/header_section/_header_section_item.scss +1 -1
- package/src/components/index.scss +0 -4
- package/src/components/list_group/_list_group_item.scss +3 -25
- package/src/components/modal/_modal.scss +5 -20
- package/src/components/page/page_content/_page_content.scss +0 -1
- package/src/components/table/_responsive.scss +0 -1
- package/src/components/table/_table.scss +0 -5
- package/src/global_styling/mixins/_form.scss +0 -4
- package/src/global_styling/mixins/_helpers.scss +0 -8
- package/src/global_styling/mixins/_tool_tip.scss +3 -6
- package/src/global_styling/mixins/_typography.scss +1 -5
- package/src/global_styling/utility/_index.scss +0 -1
- package/src/themes/amsterdam/overrides/_index.scss +0 -2
- package/test-env/components/basic_table/basic_table.js +13 -2
- package/test-env/components/basic_table/in_memory_table.js +13 -2
- package/test-env/components/button/button_display/_button_display.js +10 -1
- package/test-env/components/button/button_empty/button_empty.js +10 -1
- package/test-env/components/card/card.styles.js +2 -2
- package/test-env/components/collapsible_nav/collapsible_nav.js +0 -5
- package/test-env/components/combo_box/combo_box.js +2 -15
- package/test-env/components/datagrid/body/data_grid_body.js +17 -6
- package/test-env/components/datagrid/body/data_grid_cell.js +29 -12
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/test-env/components/datagrid/data_grid.js +17 -6
- package/test-env/components/datagrid/utils/in_memory.js +17 -6
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +6 -1
- package/test-env/components/date_picker/react-datepicker/original.package.json +124 -0
- package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
- package/test-env/components/description_list/description_list.js +11 -3
- package/test-env/components/description_list/description_list_context.js +2 -1
- package/test-env/components/description_list/description_list_description.js +3 -1
- package/test-env/components/description_list/description_list_description.styles.js +5 -2
- package/test-env/components/description_list/description_list_title.js +3 -2
- package/test-env/components/description_list/description_list_title.styles.js +7 -3
- package/test-env/components/description_list/description_list_types.js +4 -2
- package/test-env/components/expression/expression.js +12 -2
- package/test-env/components/form/field_search/field_search.js +6 -16
- package/test-env/components/form/range/range_input.js +1 -1
- package/test-env/components/header/header_links/header_link.js +10 -1
- package/test-env/components/header/header_section/header_section_item.js +4 -3
- package/test-env/components/image/image.js +6 -1
- package/test-env/components/image/image_fullscreen_wrapper.js +2 -3
- package/test-env/components/list_group/list_group.js +7 -1
- package/test-env/components/list_group/list_group_item.js +10 -3
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/test-env/components/modal/modal.js +1 -3
- package/test-env/components/notification/notification_event.js +24 -15
- package/test-env/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/test-env/components/overlay_mask/overlay_mask.js +27 -64
- package/test-env/components/overlay_mask/overlay_mask.styles.js +34 -0
- package/test-env/components/page/page_content/page_content.js +1 -2
- package/test-env/components/page/page_content/page_content_body.js +1 -2
- package/test-env/components/page/page_content/page_content_header.js +1 -2
- package/test-env/components/page/page_content/page_content_header_section.js +1 -2
- package/test-env/components/page/page_section/page_section.js +15 -3
- package/test-env/components/page/page_side_bar/page_side_bar.js +1 -2
- package/test-env/components/page/page_sidebar/page_sidebar.js +5 -1
- package/test-env/components/page/page_template.js +3 -1
- package/test-env/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
- package/test-env/components/page_template/page_template.js +18 -2
- package/test-env/components/pagination/pagination.js +18 -3
- package/test-env/components/pagination/pagination.styles.js +34 -0
- package/test-env/components/pagination/pagination_button.js +9 -4
- package/test-env/components/pagination/pagination_button.styles.js +45 -0
- package/test-env/components/pagination/pagination_button_arrow.js +7 -0
- package/test-env/components/progress/progress.js +6 -1
- package/test-env/components/provider/cache/cache_provider.js +3 -11
- package/test-env/components/provider/provider.js +31 -6
- package/test-env/components/resizable_container/resizable_panel.js +6 -1
- package/test-env/components/side_nav/side_nav.js +5 -0
- package/test-env/components/suggest/suggest.js +10 -1
- package/test-env/components/table/table_row_cell.js +4 -6
- package/test-env/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/test-env/components/tool_tip/tool_tip.js +42 -64
- package/test-env/components/tool_tip/tool_tip.styles.js +125 -0
- package/test-env/components/tool_tip/tool_tip_anchor.js +84 -0
- package/test-env/components/tool_tip/tool_tip_arrow.js +35 -0
- package/test-env/components/tool_tip/tool_tip_popover.js +49 -89
- package/test-env/global_styling/functions/logicals.json +56 -0
- package/test-env/global_styling/index.js +13 -0
- package/test-env/global_styling/mixins/_typography.js +1 -1
- package/test-env/global_styling/utility/animations.js +17 -0
- package/test-env/services/theme/hooks.js +10 -15
- package/src/components/call_out/_index.scss +0 -3
- package/src/components/call_out/_mixins.scss +0 -23
- package/src/components/call_out/_variables.scss +0 -7
- package/src/components/overlay_mask/_index.scss +0 -1
- package/src/components/overlay_mask/_overlay_mask.scss +0 -33
- package/src/components/pagination/_index.scss +0 -2
- package/src/components/pagination/_pagination.scss +0 -30
- package/src/components/pagination/_pagination_button.scss +0 -37
- package/src/components/tool_tip/_index.scss +0 -1
- package/src/components/tool_tip/_tool_tip.scss +0 -121
- package/src/global_styling/utility/_utility.scss +0 -15
- package/src/themes/amsterdam/overrides/_overlay_mask.scss +0 -3
- package/src/themes/amsterdam/overrides/_tooltip.scss +0 -7
package/eui.d.ts
CHANGED
|
@@ -2050,7 +2050,7 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
|
|
|
2050
2050
|
/**
|
|
2051
2051
|
* Object of props passed to the <span/> wrapping the button's content
|
|
2052
2052
|
*/
|
|
2053
|
-
contentProps?: EuiButtonDisplayContentType;
|
|
2053
|
+
contentProps?: CommonProps & EuiButtonDisplayContentType;
|
|
2054
2054
|
style?: CSSProperties;
|
|
2055
2055
|
}
|
|
2056
2056
|
export type EuiButtonDisplayPropsForAnchor = PropsForAnchor<EuiButtonDisplayCommonProps, {
|
|
@@ -2216,7 +2216,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
|
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Object of props passed to the <span/> wrapping the button's content
|
|
2218
2218
|
*/
|
|
2219
|
-
contentProps?: EuiButtonContentType;
|
|
2219
|
+
contentProps?: CommonProps & EuiButtonContentType;
|
|
2220
2220
|
} type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>; type EuiButtonEmptyPropsForButton = PropsForButton<CommonEuiButtonEmptyProps>;
|
|
2221
2221
|
export type EuiButtonEmptyProps = ExclusiveUnion<EuiButtonEmptyPropsForAnchor, EuiButtonEmptyPropsForButton>;
|
|
2222
2222
|
export const EuiButtonEmpty: FunctionComponent<EuiButtonEmptyProps>;
|
|
@@ -3474,7 +3474,7 @@ declare module '@elastic/eui/src/components/progress/progress' {
|
|
|
3474
3474
|
/**
|
|
3475
3475
|
* Object of props passed to the <span/> wrapping the determinate progress's label
|
|
3476
3476
|
*/
|
|
3477
|
-
labelProps?: HTMLAttributes<HTMLSpanElement>;
|
|
3477
|
+
labelProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
|
|
3478
3478
|
};
|
|
3479
3479
|
export const EuiProgress: FunctionComponent<ExclusiveUnion<Determinate, Indeterminate>>;
|
|
3480
3480
|
export {};
|
|
@@ -5239,30 +5239,69 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_contr
|
|
|
5239
5239
|
}
|
|
5240
5240
|
export const EuiSuperSelectControl: <T extends string>(props: EuiSuperSelectControlProps<T>) => ReturnType<FunctionComponent<EuiSuperSelectControlProps<T>>>;
|
|
5241
5241
|
|
|
5242
|
+
}
|
|
5243
|
+
declare module '@elastic/eui/src/themes/amsterdam' {
|
|
5244
|
+
export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow';
|
|
5245
|
+
|
|
5246
|
+
}
|
|
5247
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
|
|
5248
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5249
|
+
export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme['euiTheme'], colorMode: UseEuiTheme['colorMode']) => string;
|
|
5250
|
+
export const euiToolTipBorderColor: (euiTheme: UseEuiTheme['euiTheme'], colorMode: UseEuiTheme['colorMode']) => string;
|
|
5251
|
+
export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5252
|
+
euiToolTip: import("@emotion/utils").SerializedStyles;
|
|
5253
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
5254
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
5255
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
5256
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
5257
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
5258
|
+
euiToolTip__arrow: import("@emotion/utils").SerializedStyles;
|
|
5259
|
+
};
|
|
5260
|
+
export const euiToolTipPopoverStyles: ({ euiTheme, colorMode, }: UseEuiTheme) => {
|
|
5261
|
+
euiToolTip__title: import("@emotion/utils").SerializedStyles;
|
|
5262
|
+
};
|
|
5263
|
+
export const euiToolTipAnchorStyles: () => {
|
|
5264
|
+
euiToolTipAnchor: import("@emotion/utils").SerializedStyles;
|
|
5265
|
+
block: import("@emotion/utils").SerializedStyles;
|
|
5266
|
+
inlineBlock: import("@emotion/utils").SerializedStyles;
|
|
5267
|
+
};
|
|
5268
|
+
|
|
5242
5269
|
}
|
|
5243
5270
|
declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
|
|
5244
|
-
import { HTMLAttributes,
|
|
5245
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5271
|
+
import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
|
|
5272
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5273
|
+
export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left'; type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
5246
5274
|
positionToolTip: () => void;
|
|
5247
5275
|
children?: ReactNode;
|
|
5248
5276
|
title?: ReactNode;
|
|
5249
5277
|
popoverRef?: (ref: HTMLDivElement) => void;
|
|
5278
|
+
calculatedPosition?: ToolTipPositions;
|
|
5250
5279
|
};
|
|
5251
|
-
export
|
|
5252
|
-
private popover;
|
|
5253
|
-
updateDimensions: () => void;
|
|
5254
|
-
setPopoverRef: (ref: HTMLDivElement) => void;
|
|
5255
|
-
componentDidMount(): void;
|
|
5256
|
-
componentWillUnmount(): void;
|
|
5257
|
-
render(): JSX.Element;
|
|
5258
|
-
}
|
|
5280
|
+
export const EuiToolTipPopover: FunctionComponent<Props>;
|
|
5259
5281
|
export {};
|
|
5260
5282
|
|
|
5283
|
+
}
|
|
5284
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_anchor' {
|
|
5285
|
+
import React, { HTMLAttributes, ReactElement } from 'react';
|
|
5286
|
+
export interface EuiToolTipAnchorProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'onBlur' | 'onFocus' | 'children'> {
|
|
5287
|
+
onBlur: () => void;
|
|
5288
|
+
onFocus: () => void;
|
|
5289
|
+
children: ReactElement;
|
|
5290
|
+
isVisible: boolean;
|
|
5291
|
+
display: 'block' | 'inlineBlock';
|
|
5292
|
+
}
|
|
5293
|
+
export const EuiToolTipAnchor: React.ForwardRefExoticComponent<EuiToolTipAnchorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
5294
|
+
|
|
5295
|
+
}
|
|
5296
|
+
declare module '@elastic/eui/src/components/tool_tip/tool_tip_arrow' {
|
|
5297
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
5298
|
+
export const EuiToolTipArrow: FunctionComponent<HTMLAttributes<HTMLDivElement>>;
|
|
5299
|
+
|
|
5261
5300
|
}
|
|
5262
5301
|
declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
|
|
5263
5302
|
import { Component, ReactElement, ReactNode, MouseEvent as ReactMouseEvent, HTMLAttributes } from 'react';
|
|
5264
5303
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5265
|
-
|
|
5304
|
+
import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
5266
5305
|
export const POSITIONS: ToolTipPositions[];
|
|
5267
5306
|
export type ToolTipDelay = 'regular' | 'long';
|
|
5268
5307
|
interface ToolTipStyles {
|
|
@@ -5345,7 +5384,8 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
|
|
|
5345
5384
|
componentWillUnmount(): void;
|
|
5346
5385
|
componentDidUpdate(prevProps: EuiToolTipProps, prevState: State): void;
|
|
5347
5386
|
testAnchor: () => void;
|
|
5348
|
-
|
|
5387
|
+
setAnchorRef: (ref: HTMLElement) => HTMLElement;
|
|
5388
|
+
setPopoverRef: (ref: HTMLElement) => HTMLElement;
|
|
5349
5389
|
showToolTip: () => void;
|
|
5350
5390
|
positionToolTip: () => void;
|
|
5351
5391
|
hideToolTip: () => void;
|
|
@@ -5398,7 +5438,8 @@ declare module '@elastic/eui/src/components/tool_tip/icon_tip' {
|
|
|
5398
5438
|
|
|
5399
5439
|
}
|
|
5400
5440
|
declare module '@elastic/eui/src/components/tool_tip' {
|
|
5401
|
-
export type { ToolTipPositions
|
|
5441
|
+
export type { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
|
|
5442
|
+
export type { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
5402
5443
|
export { EuiToolTip } from '@elastic/eui/src/components/tool_tip/tool_tip';
|
|
5403
5444
|
export type { EuiIconTipProps } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
5404
5445
|
export { EuiIconTip } from '@elastic/eui/src/components/tool_tip/icon_tip';
|
|
@@ -7242,12 +7283,17 @@ declare module '@elastic/eui/src/global_styling/reset/global_styles' {
|
|
|
7242
7283
|
}
|
|
7243
7284
|
export const EuiGlobalStyles: ({}: EuiGlobalStylesProps) => JSX.Element;
|
|
7244
7285
|
|
|
7286
|
+
}
|
|
7287
|
+
declare module '@elastic/eui/src/global_styling/utility/animations' {
|
|
7288
|
+
export const euiAnimFadeIn: import("@emotion/serialize").Keyframes;
|
|
7289
|
+
|
|
7245
7290
|
}
|
|
7246
7291
|
declare module '@elastic/eui/src/global_styling' {
|
|
7247
7292
|
export * from '@elastic/eui/src/global_styling/reset/global_styles';
|
|
7248
7293
|
export * from '@elastic/eui/src/global_styling/functions';
|
|
7249
7294
|
export * from '@elastic/eui/src/global_styling/variables';
|
|
7250
7295
|
export * from '@elastic/eui/src/global_styling/mixins';
|
|
7296
|
+
export * from '@elastic/eui/src/global_styling/utility/animations';
|
|
7251
7297
|
|
|
7252
7298
|
}
|
|
7253
7299
|
declare module '@elastic/eui/src/components/accessibility/screen_reader_only/screen_reader_only.styles' {
|
|
@@ -8443,6 +8489,16 @@ declare module '@elastic/eui/src/components/copy' {
|
|
|
8443
8489
|
export type { EuiCopyProps } from '@elastic/eui/src/components/copy/copy';
|
|
8444
8490
|
export { EuiCopy } from '@elastic/eui/src/components/copy/copy';
|
|
8445
8491
|
|
|
8492
|
+
}
|
|
8493
|
+
declare module '@elastic/eui/src/components/overlay_mask/overlay_mask.styles' {
|
|
8494
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8495
|
+
export const euiOverlayMaskStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
8496
|
+
euiOverlayMask: import("@emotion/utils").SerializedStyles;
|
|
8497
|
+
aboveHeader: import("@emotion/utils").SerializedStyles;
|
|
8498
|
+
belowHeader: import("@emotion/utils").SerializedStyles;
|
|
8499
|
+
};
|
|
8500
|
+
export const euiOverlayMaskBodyStyles: import("@emotion/utils").SerializedStyles;
|
|
8501
|
+
|
|
8446
8502
|
}
|
|
8447
8503
|
declare module '@elastic/eui/src/components/overlay_mask/overlay_mask' {
|
|
8448
8504
|
/**
|
|
@@ -8452,10 +8508,6 @@ declare module '@elastic/eui/src/components/overlay_mask/overlay_mask' {
|
|
|
8452
8508
|
import { FunctionComponent, HTMLAttributes, MutableRefObject, ReactNode, Ref } from 'react';
|
|
8453
8509
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
8454
8510
|
export interface EuiOverlayMaskInterface {
|
|
8455
|
-
/**
|
|
8456
|
-
* Function that applies to clicking the mask itself and not the children
|
|
8457
|
-
*/
|
|
8458
|
-
onClick?: () => void;
|
|
8459
8511
|
/**
|
|
8460
8512
|
* ReactNode to render as this component's content
|
|
8461
8513
|
*/
|
|
@@ -9471,7 +9523,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
|
|
|
9471
9523
|
areAllOptionsSelected: () => boolean;
|
|
9472
9524
|
onComboBoxFocus: FocusEventHandler<HTMLInputElement>;
|
|
9473
9525
|
setCustomOptions: (isContainerBlur: boolean) => void;
|
|
9474
|
-
onContainerBlur:
|
|
9526
|
+
onContainerBlur: FocusEventHandler<HTMLDivElement>;
|
|
9475
9527
|
onKeyDown: KeyboardEventHandler<HTMLDivElement>;
|
|
9476
9528
|
onOptionEnterKey: OptionHandler<T>;
|
|
9477
9529
|
onOptionClick: OptionHandler<T>;
|
|
@@ -9970,6 +10022,11 @@ declare module '@elastic/eui/src/components/list_group/list_group_item' {
|
|
|
9970
10022
|
* instances where the item content is rendered as a `button`
|
|
9971
10023
|
*/
|
|
9972
10024
|
buttonRef?: React.Ref<HTMLButtonElement>;
|
|
10025
|
+
/**
|
|
10026
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
10027
|
+
* By default the text will be same as the label text.
|
|
10028
|
+
*/
|
|
10029
|
+
toolTipText?: string;
|
|
9973
10030
|
};
|
|
9974
10031
|
export const EuiListGroupItem: FunctionComponent<EuiListGroupItemProps>;
|
|
9975
10032
|
export {};
|
|
@@ -11727,6 +11784,18 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_count' {
|
|
|
11727
11784
|
rowCount: EuiDataGridProps['rowCount'];
|
|
11728
11785
|
}) => EuiDataGridVisibleRows;
|
|
11729
11786
|
|
|
11787
|
+
}
|
|
11788
|
+
declare module '@elastic/eui/src/components/pagination/pagination_button.styles' {
|
|
11789
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11790
|
+
export const euiPaginationButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
11791
|
+
euiPaginationButton: import("@emotion/utils").SerializedStyles;
|
|
11792
|
+
isActive: import("@emotion/utils").SerializedStyles;
|
|
11793
|
+
isPlaceholder: import("@emotion/utils").SerializedStyles;
|
|
11794
|
+
};
|
|
11795
|
+
export const euiPaginationButtonArrowStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
11796
|
+
euiPaginationArrowButton: import("@emotion/utils").SerializedStyles;
|
|
11797
|
+
};
|
|
11798
|
+
|
|
11730
11799
|
}
|
|
11731
11800
|
declare module '@elastic/eui/src/components/pagination/pagination_button' {
|
|
11732
11801
|
import { FunctionComponent } from 'react';
|
|
@@ -11757,6 +11826,15 @@ declare module '@elastic/eui/src/components/pagination/pagination_button_arrow'
|
|
|
11757
11826
|
};
|
|
11758
11827
|
export const EuiPaginationButtonArrow: FunctionComponent<Props>;
|
|
11759
11828
|
|
|
11829
|
+
}
|
|
11830
|
+
declare module '@elastic/eui/src/components/pagination/pagination.styles' {
|
|
11831
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
11832
|
+
export const euiPaginationStyles: (euiThemeContext: UseEuiTheme) => {
|
|
11833
|
+
euiPagination: import("@emotion/utils").SerializedStyles;
|
|
11834
|
+
euiPagination__compressedText: import("@emotion/utils").SerializedStyles;
|
|
11835
|
+
euiPagination__list: import("@emotion/utils").SerializedStyles;
|
|
11836
|
+
};
|
|
11837
|
+
|
|
11760
11838
|
}
|
|
11761
11839
|
declare module '@elastic/eui/src/components/pagination/pagination' {
|
|
11762
11840
|
import { FunctionComponent, HTMLAttributes, MouseEvent } from 'react';
|
|
@@ -12268,7 +12346,7 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
12268
12346
|
|
|
12269
12347
|
}
|
|
12270
12348
|
declare module '@elastic/eui/src/components/tabs/tabbed_content/tabbed_content' {
|
|
12271
|
-
import { Component, HTMLAttributes, ReactNode } from 'react';
|
|
12349
|
+
import { Component, HTMLAttributes, ReactNode, FocusEvent } from 'react';
|
|
12272
12350
|
import { EuiTabsSizes } from '@elastic/eui/src/components/tabs/tabs';
|
|
12273
12351
|
import { EuiTabProps } from '@elastic/eui/src/components/tabs/tab';
|
|
12274
12352
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
@@ -12320,11 +12398,9 @@ declare module '@elastic/eui/src/components/tabs/tabbed_content/tabbed_content'
|
|
|
12320
12398
|
private readonly rootId;
|
|
12321
12399
|
private readonly tabsRef;
|
|
12322
12400
|
constructor(props: EuiTabbedContentProps);
|
|
12323
|
-
componentDidMount(): void;
|
|
12324
|
-
componentWillUnmount(): void;
|
|
12325
12401
|
focusTab: () => void;
|
|
12326
12402
|
initializeFocus: () => void;
|
|
12327
|
-
removeFocus: (blurEvent: FocusEvent) => void;
|
|
12403
|
+
removeFocus: (blurEvent: FocusEvent<HTMLDivElement>) => void;
|
|
12328
12404
|
onTabClick: (selectedTab: EuiTabbedContentTab) => void;
|
|
12329
12405
|
render(): JSX.Element;
|
|
12330
12406
|
}
|
|
@@ -12548,12 +12624,13 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty
|
|
|
12548
12624
|
declare module '@elastic/eui/src/components/date_picker/super_date_picker/date_popover/date_popover_button' {
|
|
12549
12625
|
import { FunctionComponent, ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
|
12550
12626
|
import { LocaleSpecifier } from 'moment';
|
|
12627
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12551
12628
|
import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
|
|
12552
12629
|
import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options';
|
|
12553
12630
|
import { EuiDatePopoverContentProps } from '@elastic/eui/src/components/date_picker/super_date_picker/date_popover/date_popover_content';
|
|
12554
12631
|
export interface EuiDatePopoverButtonProps {
|
|
12555
12632
|
className?: string;
|
|
12556
|
-
buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12633
|
+
buttonProps?: CommonProps & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12557
12634
|
dateFormat: string;
|
|
12558
12635
|
isDisabled?: boolean;
|
|
12559
12636
|
isInvalid?: boolean;
|
|
@@ -12852,10 +12929,10 @@ declare module '@elastic/eui/src/components/responsive' {
|
|
|
12852
12929
|
|
|
12853
12930
|
}
|
|
12854
12931
|
declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_update_button' {
|
|
12855
|
-
import { Component, MouseEventHandler,
|
|
12932
|
+
import { Component, MouseEventHandler, ElementRef } from 'react';
|
|
12856
12933
|
import { EuiButtonProps } from '@elastic/eui/src/components/button';
|
|
12857
12934
|
import { EuiToolTip, EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
12858
|
-
import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type EuiSuperUpdateButtonInternalProps = {
|
|
12935
|
+
import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type ToolTipRef = ElementRef<typeof EuiToolTip> | null; type EuiSuperUpdateButtonInternalProps = {
|
|
12859
12936
|
isDisabled?: boolean;
|
|
12860
12937
|
isLoading?: boolean;
|
|
12861
12938
|
needsUpdate?: boolean;
|
|
@@ -12891,11 +12968,11 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
|
|
|
12891
12968
|
};
|
|
12892
12969
|
_isMounted: boolean;
|
|
12893
12970
|
tooltipTimeout: number | undefined;
|
|
12894
|
-
tooltip:
|
|
12971
|
+
tooltip: ToolTipRef;
|
|
12895
12972
|
componentWillUnmount(): void;
|
|
12896
12973
|
componentDidMount(): void;
|
|
12897
12974
|
componentDidUpdate(): void;
|
|
12898
|
-
setTootipRef:
|
|
12975
|
+
setTootipRef: (node: ToolTipRef) => void;
|
|
12899
12976
|
showTooltip: () => void;
|
|
12900
12977
|
hideTooltip: () => void;
|
|
12901
12978
|
render(): JSX.Element;
|
|
@@ -13226,6 +13303,10 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
|
|
|
13226
13303
|
* Props object to be passed to `EuiDescriptionListDescription`
|
|
13227
13304
|
*/
|
|
13228
13305
|
descriptionProps?: HTMLAttributes<HTMLElement> & CommonProps;
|
|
13306
|
+
/**
|
|
13307
|
+
* Vertical spacing added between `EuiDescriptionList` elements
|
|
13308
|
+
*/
|
|
13309
|
+
gutterSize?: EuiDescriptionListGutterSizes;
|
|
13229
13310
|
}
|
|
13230
13311
|
export const TYPES: readonly ["row", "inline", "column", "responsiveColumn"];
|
|
13231
13312
|
export type EuiDescriptionListType = typeof TYPES[number];
|
|
@@ -13233,6 +13314,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
|
|
|
13233
13314
|
export type EuiDescriptionListAlignment = typeof ALIGNMENTS[number];
|
|
13234
13315
|
export const TEXT_STYLES: readonly ["normal", "reverse"];
|
|
13235
13316
|
export type EuiDescriptionListTextStyle = typeof TEXT_STYLES[number];
|
|
13317
|
+
export const GUTTER_SIZES: readonly ["s", "m"];
|
|
13318
|
+
export type EuiDescriptionListGutterSizes = typeof GUTTER_SIZES[number];
|
|
13236
13319
|
|
|
13237
13320
|
}
|
|
13238
13321
|
declare module '@elastic/eui/src/components/description_list/description_list_title.styles' {
|
|
@@ -13253,12 +13336,14 @@ declare module '@elastic/eui/src/components/description_list/description_list_ti
|
|
|
13253
13336
|
compressed: import("@emotion/utils").SerializedStyles;
|
|
13254
13337
|
};
|
|
13255
13338
|
right: import("@emotion/utils").SerializedStyles;
|
|
13339
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13340
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13256
13341
|
};
|
|
13257
13342
|
|
|
13258
13343
|
}
|
|
13259
13344
|
declare module '@elastic/eui/src/components/description_list/description_list_context' {
|
|
13260
13345
|
|
|
13261
|
-
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align'>> & {
|
|
13346
|
+
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align' | 'gutterSize'>> & {
|
|
13262
13347
|
compressed?: EuiDescriptionListProps['compressed'];
|
|
13263
13348
|
};
|
|
13264
13349
|
export const contextDefaults: EuiDescriptionListContextValues;
|
|
@@ -13292,6 +13377,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_de
|
|
|
13292
13377
|
normal: import("@emotion/utils").SerializedStyles;
|
|
13293
13378
|
};
|
|
13294
13379
|
left: import("@emotion/utils").SerializedStyles;
|
|
13380
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13381
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13295
13382
|
};
|
|
13296
13383
|
|
|
13297
13384
|
}
|
|
@@ -13479,12 +13566,12 @@ declare module '@elastic/eui/src/components/expression/expression' {
|
|
|
13479
13566
|
* First part of the expression
|
|
13480
13567
|
*/
|
|
13481
13568
|
description: ReactNode;
|
|
13482
|
-
descriptionProps?: HTMLAttributes<HTMLSpanElement>;
|
|
13569
|
+
descriptionProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
|
|
13483
13570
|
/**
|
|
13484
13571
|
* Second part of the expression
|
|
13485
13572
|
*/
|
|
13486
13573
|
value?: ReactNode;
|
|
13487
|
-
valueProps?: HTMLAttributes<HTMLSpanElement>;
|
|
13574
|
+
valueProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
|
|
13488
13575
|
/**
|
|
13489
13576
|
* Color of the `description`
|
|
13490
13577
|
*/
|
|
@@ -13955,7 +14042,7 @@ declare module '@elastic/eui/src/components/image/image_types' {
|
|
|
13955
14042
|
/**
|
|
13956
14043
|
* Props to add to the wrapping figure element
|
|
13957
14044
|
*/
|
|
13958
|
-
wrapperProps?: HTMLAttributes<HTMLDivElement>;
|
|
14045
|
+
wrapperProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
|
|
13959
14046
|
};
|
|
13960
14047
|
export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
|
|
13961
14048
|
isFullWidth: boolean;
|
|
@@ -14932,14 +15019,15 @@ declare module '@elastic/eui/src/components/notification/notification_event_read
|
|
|
14932
15019
|
|
|
14933
15020
|
}
|
|
14934
15021
|
declare module '@elastic/eui/src/components/notification/notification_event' {
|
|
14935
|
-
import { FunctionComponent, ReactElement } from 'react';
|
|
15022
|
+
import { FunctionComponent, ReactElement, HTMLAttributes } from 'react';
|
|
15023
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14936
15024
|
import { EuiNotificationEventMetaProps } from '@elastic/eui/src/components/notification/notification_event_meta';
|
|
14937
15025
|
import { EuiNotificationEventMessagesProps } from '@elastic/eui/src/components/notification/notification_event_messages';
|
|
14938
15026
|
import { EuiNotificationEventReadButtonProps } from '@elastic/eui/src/components/notification/notification_event_read_button';
|
|
14939
15027
|
import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button';
|
|
14940
15028
|
import { EuiContextMenuItem, EuiContextMenuItemProps } from '@elastic/eui/src/components/context_menu';
|
|
14941
15029
|
export type EuiNotificationHeadingLevel = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
14942
|
-
export type EuiNotificationEventProps = Omit<EuiNotificationEventMetaProps, 'onOpenContextMenu' | 'onRead' | 'eventName' | 'id'> & Omit<EuiNotificationEventReadButtonProps, 'onClick' | 'color' | 'eventName' | 'isRead' | 'id'> & {
|
|
15030
|
+
export type EuiNotificationEventProps = Omit<EuiNotificationEventMetaProps, 'onOpenContextMenu' | 'onRead' | 'eventName' | 'id'> & Omit<EuiNotificationEventReadButtonProps, 'onClick' | 'color' | 'eventName' | 'isRead' | 'id'> & CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
14943
15031
|
/**
|
|
14944
15032
|
* A unique identifier
|
|
14945
15033
|
*/
|
|
@@ -15128,8 +15216,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
|
15128
15216
|
role?: HTMLAttributes['role'] | null;
|
|
15129
15217
|
};
|
|
15130
15218
|
/**
|
|
15131
|
-
*
|
|
15132
|
-
* Use EuiPageSection instead
|
|
15219
|
+
* @deprecated Use EuiPageSection instead
|
|
15133
15220
|
*/
|
|
15134
15221
|
export const EuiPageContent_Deprecated: FunctionComponent<EuiPageContentProps>;
|
|
15135
15222
|
|
|
@@ -15147,8 +15234,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_body'
|
|
|
15147
15234
|
paddingSize?: typeof PADDING_SIZES[number];
|
|
15148
15235
|
}
|
|
15149
15236
|
/**
|
|
15150
|
-
*
|
|
15151
|
-
* Use EuiPageSection instead
|
|
15237
|
+
* @deprecated Use EuiPageSection instead
|
|
15152
15238
|
*/
|
|
15153
15239
|
export const EuiPageContentBody_Deprecated: FunctionComponent<EuiPageContentBodyProps>;
|
|
15154
15240
|
|
|
@@ -15164,8 +15250,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
|
|
|
15164
15250
|
responsive?: boolean;
|
|
15165
15251
|
}
|
|
15166
15252
|
/**
|
|
15167
|
-
*
|
|
15168
|
-
* Use EuiPageHeader instead
|
|
15253
|
+
* @deprecated Use EuiPageHeader instead
|
|
15169
15254
|
*/
|
|
15170
15255
|
export const EuiPageContentHeader_Deprecated: FunctionComponent<EuiPageContentHeaderProps>;
|
|
15171
15256
|
|
|
@@ -15176,8 +15261,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
|
|
|
15176
15261
|
export interface EuiPageContentHeaderSectionProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
|
|
15177
15262
|
}
|
|
15178
15263
|
/**
|
|
15179
|
-
*
|
|
15180
|
-
* Use EuiPageHeader instead
|
|
15264
|
+
* @deprecated Use EuiPageHeader instead
|
|
15181
15265
|
*/
|
|
15182
15266
|
export const EuiPageContentHeaderSection_Deprecated: FunctionComponent<EuiPageContentHeaderSectionProps>;
|
|
15183
15267
|
|
|
@@ -15387,7 +15471,7 @@ declare module '@elastic/eui/src/components/page/page_section/page_section.style
|
|
|
15387
15471
|
|
|
15388
15472
|
}
|
|
15389
15473
|
declare module '@elastic/eui/src/components/page/page_section/page_section' {
|
|
15390
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
15474
|
+
import { FunctionComponent, ComponentType, HTMLAttributes } from 'react';
|
|
15391
15475
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
15392
15476
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
15393
15477
|
import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
|
|
@@ -15414,8 +15498,12 @@ declare module '@elastic/eui/src/components/page/page_section/page_section' {
|
|
|
15414
15498
|
/**
|
|
15415
15499
|
* Passed down to the div wrapper of the section contents
|
|
15416
15500
|
*/
|
|
15417
|
-
contentProps?: HTMLAttributes<HTMLDivElement>;
|
|
15418
|
-
|
|
15501
|
+
contentProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
|
|
15502
|
+
/**
|
|
15503
|
+
* Sets which HTML element to render.
|
|
15504
|
+
*/
|
|
15505
|
+
component?: keyof JSX.IntrinsicElements | ComponentType;
|
|
15506
|
+
} & Omit<HTMLAttributes<Element>, 'color'>;
|
|
15419
15507
|
export const EuiPageSection: FunctionComponent<EuiPageSectionProps>;
|
|
15420
15508
|
|
|
15421
15509
|
}
|
|
@@ -15439,8 +15527,7 @@ declare module '@elastic/eui/src/components/page/page_side_bar/page_side_bar' {
|
|
|
15439
15527
|
paddingSize?: typeof PADDING_SIZES[number];
|
|
15440
15528
|
}
|
|
15441
15529
|
/**
|
|
15442
|
-
*
|
|
15443
|
-
* Use the new EuiPageSidebar instead
|
|
15530
|
+
* @deprecated Use the new EuiPageSidebar in page/page_sidebar instead
|
|
15444
15531
|
*/
|
|
15445
15532
|
export const EuiPageSideBar_Deprecated: FunctionComponent<EuiPageSideBarProps>;
|
|
15446
15533
|
|
|
@@ -15568,7 +15655,9 @@ declare module '@elastic/eui/src/components/page/page_template' {
|
|
|
15568
15655
|
/**
|
|
15569
15656
|
* This component has been deprecated in favor of the new
|
|
15570
15657
|
* namespaced version. You can still import this component
|
|
15571
|
-
*
|
|
15658
|
+
* until August 2023 by importing `as EuiPageTemplate`.
|
|
15659
|
+
*
|
|
15660
|
+
* @deprecated use EuiPageTemplate from page_template/page_template instead
|
|
15572
15661
|
*/
|
|
15573
15662
|
export const EuiPageTemplate_Deprecated: FunctionComponent<EuiPageTemplateProps_Deprecated>;
|
|
15574
15663
|
|
|
@@ -15775,10 +15864,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
15775
15864
|
export const EUI_THEMES: EUI_THEME[];
|
|
15776
15865
|
export const isDefaultTheme: (name: string) => boolean;
|
|
15777
15866
|
|
|
15778
|
-
}
|
|
15779
|
-
declare module '@elastic/eui/src/themes/amsterdam' {
|
|
15780
|
-
export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow';
|
|
15781
|
-
|
|
15782
15867
|
}
|
|
15783
15868
|
declare module '@elastic/eui/src/themes' {
|
|
15784
15869
|
export type { EUI_THEME } from '@elastic/eui/src/themes/themes';
|
|
@@ -15791,7 +15876,7 @@ declare module '@elastic/eui/src/components/provider/cache/cache_provider' {
|
|
|
15791
15876
|
import { PropsWithChildren } from 'react';
|
|
15792
15877
|
import { EmotionCache } from '@emotion/cache';
|
|
15793
15878
|
export interface EuiCacheProviderProps {
|
|
15794
|
-
cache?: EmotionCache;
|
|
15879
|
+
cache?: false | EmotionCache;
|
|
15795
15880
|
}
|
|
15796
15881
|
export const EuiCacheProvider: ({ cache, children, }: PropsWithChildren<EuiCacheProviderProps>) => JSX.Element;
|
|
15797
15882
|
|
|
@@ -17447,7 +17532,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav' {
|
|
|
17447
17532
|
/**
|
|
17448
17533
|
* Adds a couple extra #EuiSideNavHeading props and extends the props of EuiTitle that wraps the `heading`
|
|
17449
17534
|
*/
|
|
17450
|
-
headingProps?: EuiSideNavHeadingProps;
|
|
17535
|
+
headingProps?: CommonProps & EuiSideNavHeadingProps;
|
|
17451
17536
|
/**
|
|
17452
17537
|
* When called, toggles visibility of the navigation menu at mobile responsive widths. The callback should set the `isOpenOnMobile` prop to actually toggle navigation visibility.
|
|
17453
17538
|
*/
|
|
@@ -17836,6 +17921,11 @@ declare module '@elastic/eui/src/components/suggest/suggest' {
|
|
|
17836
17921
|
* Default is `60vh`
|
|
17837
17922
|
*/
|
|
17838
17923
|
maxHeight?: CSSProperties['maxHeight'];
|
|
17924
|
+
/**
|
|
17925
|
+
* Control whether or not options get filtered internally or if consumer will filter.
|
|
17926
|
+
* Default `false`
|
|
17927
|
+
*/
|
|
17928
|
+
isPreFiltered?: boolean;
|
|
17839
17929
|
};
|
|
17840
17930
|
export type EuiSuggestProps = _EuiSuggestProps & ExclusiveUnion<{
|
|
17841
17931
|
'aria-label': string;
|
|
@@ -18076,9 +18166,8 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
|
|
|
18076
18166
|
*/
|
|
18077
18167
|
showOnHover?: boolean;
|
|
18078
18168
|
/**
|
|
18079
|
-
*
|
|
18080
|
-
*
|
|
18081
|
-
* `.eui-textBreakWord`.
|
|
18169
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
18170
|
+
* long text correctly.
|
|
18082
18171
|
*/
|
|
18083
18172
|
textOnly?: boolean;
|
|
18084
18173
|
/**
|
|
@@ -18512,6 +18601,10 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
|
|
|
18512
18601
|
*/
|
|
18513
18602
|
sortable?: boolean | ((item: T) => Primitive);
|
|
18514
18603
|
isExpander?: boolean;
|
|
18604
|
+
/**
|
|
18605
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
18606
|
+
* long text correctly.
|
|
18607
|
+
*/
|
|
18515
18608
|
textOnly?: boolean;
|
|
18516
18609
|
/**
|
|
18517
18610
|
* Defines the horizontal alignment of the column
|
|
@@ -18818,7 +18911,10 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
18818
18911
|
*/
|
|
18819
18912
|
tableLayout?: 'fixed' | 'auto';
|
|
18820
18913
|
/**
|
|
18821
|
-
* Applied to table cells
|
|
18914
|
+
* Applied to table cells. Any cell using a render function will set this to be false.
|
|
18915
|
+
*
|
|
18916
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
18917
|
+
* long text correctly.
|
|
18822
18918
|
*/
|
|
18823
18919
|
textOnly?: boolean;
|
|
18824
18920
|
} type BasicTableWithPaginationProps<T> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
|
|
@@ -19436,7 +19532,7 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
|
|
|
19436
19532
|
/**
|
|
19437
19533
|
* Props to add to the wrapping `.euiResizablePanel` div
|
|
19438
19534
|
*/
|
|
19439
|
-
wrapperProps?: HTMLAttributes<HTMLDivElement>;
|
|
19535
|
+
wrapperProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
|
|
19440
19536
|
/**
|
|
19441
19537
|
* Padding to add directly to the wrapping `.euiResizablePanel` div
|
|
19442
19538
|
* Gives space around the actual panel.
|