@elastic/eui 102.3.0-amsterdam.0 → 103.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +7 -7
- package/es/components/basic_table/in_memory_table.js +7 -7
- package/es/components/button/button.js +1 -1
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_group/button_group_button.styles.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.a11y.js +3 -3
- package/es/components/card/card.js +2 -2
- package/es/components/card/card_select/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +3 -1
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/context_menu/context_menu_item.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/es/components/datagrid/body/data_grid_body.js +7 -7
- package/es/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/es/components/datagrid/controls/column_sorting.js +7 -7
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/es/components/datagrid/utils/in_memory.js +6 -6
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/facet/facet_button.js +1 -1
- package/es/components/filter_group/filter_button.js +10 -4
- package/es/components/filter_group/filter_button.styles.js +1 -1
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo/header_logo.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/header/header_section/header_section_item_button.styles.js +12 -3
- package/es/components/icon/assets/{iInCircle.js → info.js} +2 -2
- package/es/components/icon/assets/{question_in_circle.js → question.js} +9 -3
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/es/components/icon/icon_map.js +6 -2
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item.styles.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +1 -1
- package/es/components/markdown_editor/plugins/remark/remark_prismjs.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/provider/provider.js +2 -2
- package/es/components/resizable_container/resizable_collapse_button.js +3 -2
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/es/components/table/table_header_cell.js +4 -4
- package/es/components/text/text.styles.js +1 -1
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/tool_tip/icon_tip.js +2 -2
- package/es/services/color/eui_palettes.js +57 -15
- package/es/services/color/eui_palettes_hooks.js +10 -1
- package/es/services/color/index.js +1 -1
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/index.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/themes/amsterdam/global_styling/variables/_colors_severity.js +2 -1
- package/es/themes/amsterdam/global_styling/variables/_colors_vis.js +9 -2
- package/eui.d.ts +393 -367
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +7 -7
- package/lib/components/basic_table/in_memory_table.js +7 -7
- package/lib/components/button/button.js +1 -1
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_group/button_group_button.styles.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.a11y.js +3 -3
- package/lib/components/card/card.js +2 -2
- package/lib/components/card/card_select/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +3 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/context_menu/context_menu_item.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/lib/components/datagrid/body/data_grid_body.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/lib/components/datagrid/controls/column_sorting.js +7 -7
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/lib/components/datagrid/utils/in_memory.js +6 -6
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/facet/facet_button.js +1 -1
- package/lib/components/filter_group/filter_button.js +10 -4
- package/lib/components/filter_group/filter_button.styles.js +1 -1
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo/header_logo.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.styles.js +12 -3
- package/lib/components/icon/assets/{iInCircle.js → info.js} +2 -2
- package/lib/components/icon/assets/{question_in_circle.js → question.js} +9 -3
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/lib/components/icon/icon_map.js +6 -2
- package/lib/components/icon/svgs/question.svg +5 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item.styles.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +1 -1
- package/lib/components/markdown_editor/plugins/remark/remark_prismjs.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/resizable_container/resizable_collapse_button.js +2 -1
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/table/table_header_cell.js +4 -4
- package/lib/components/text/text.styles.js +1 -1
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +2 -2
- package/lib/services/color/eui_palettes.js +58 -16
- package/lib/services/color/eui_palettes_hooks.js +10 -1
- package/lib/services/color/index.js +21 -0
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/index.js +21 -0
- package/lib/services/theme/context.js +2 -2
- package/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +2 -1
- package/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +8 -2
- package/optimize/es/components/button/button_group/button_group_button.styles.js +1 -1
- package/optimize/es/components/card/card.a11y.js +3 -3
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +3 -1
- package/optimize/es/components/filter_group/filter_button.js +1 -1
- package/optimize/es/components/filter_group/filter_button.styles.js +1 -1
- package/optimize/es/components/header/header_section/header_section_item_button.styles.js +12 -3
- package/optimize/es/components/icon/assets/{iInCircle.js → info.js} +2 -2
- package/optimize/es/components/icon/assets/{question_in_circle.js → question.js} +9 -3
- package/optimize/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/es/components/icon/icon_map.js +6 -2
- package/optimize/es/components/list_group/list_group_item.styles.js +2 -2
- package/optimize/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +1 -1
- package/optimize/es/components/markdown_editor/plugins/remark/remark_prismjs.js +1 -1
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/resizable_container/resizable_collapse_button.js +3 -2
- package/optimize/es/components/table/table_header_cell.js +2 -2
- package/optimize/es/components/text/text.styles.js +1 -1
- package/optimize/es/components/tool_tip/icon_tip.js +1 -1
- package/optimize/es/services/color/eui_palettes.js +57 -15
- package/optimize/es/services/color/eui_palettes_hooks.js +10 -1
- package/optimize/es/services/color/index.js +1 -1
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/index.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_severity.js +2 -1
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis.js +9 -2
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +1 -1
- package/optimize/lib/components/card/card.a11y.js +3 -3
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +3 -1
- package/optimize/lib/components/filter_group/filter_button.js +1 -1
- package/optimize/lib/components/filter_group/filter_button.styles.js +1 -1
- package/optimize/lib/components/header/header_section/header_section_item_button.styles.js +12 -3
- package/optimize/lib/components/icon/assets/{iInCircle.js → info.js} +2 -2
- package/optimize/lib/components/icon/assets/{question_in_circle.js → question.js} +9 -3
- package/optimize/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/lib/components/icon/icon_map.js +6 -2
- package/optimize/lib/components/icon/svgs/question.svg +5 -0
- package/optimize/lib/components/list_group/list_group_item.styles.js +2 -2
- package/optimize/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +1 -1
- package/optimize/lib/components/markdown_editor/plugins/remark/remark_prismjs.js +1 -1
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/resizable_container/resizable_collapse_button.js +2 -1
- package/optimize/lib/components/table/table_header_cell.js +2 -2
- package/optimize/lib/components/text/text.styles.js +1 -1
- package/optimize/lib/components/tool_tip/icon_tip.js +1 -1
- package/optimize/lib/services/color/eui_palettes.js +58 -16
- package/optimize/lib/services/color/eui_palettes_hooks.js +10 -1
- package/optimize/lib/services/color/index.js +21 -0
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/index.js +21 -0
- package/optimize/lib/services/theme/context.js +2 -2
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +2 -1
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +8 -2
- package/package/eui.d.ts +29802 -0
- package/package.json +4 -4
- package/temp/package/eui.d.ts +29802 -0
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +7 -7
- package/test-env/components/basic_table/in_memory_table.js +7 -7
- package/test-env/components/button/button.js +1 -1
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_group/button_group_button.styles.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.a11y.js +3 -3
- package/test-env/components/card/card.js +2 -2
- package/test-env/components/card/card_select/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +3 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/context_menu/context_menu_item.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +12 -12
- package/test-env/components/datagrid/body/data_grid_body.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting.js +7 -7
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/test-env/components/datagrid/utils/in_memory.js +6 -6
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/facet/facet_button.js +1 -1
- package/test-env/components/filter_group/filter_button.js +10 -4
- package/test-env/components/filter_group/filter_button.styles.js +1 -1
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo/header_logo.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.styles.js +12 -3
- package/test-env/components/icon/assets/{iInCircle.js → info.js} +2 -2
- package/test-env/components/icon/assets/{question_in_circle.js → question.js} +9 -3
- package/test-env/components/icon/icon_glyphs.a11y.js +1 -1
- package/test-env/components/icon/icon_map.js +6 -2
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item.styles.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/markdown_editor/plugins/markdown_tooltip/renderer.js +1 -1
- package/test-env/components/markdown_editor/plugins/remark/remark_prismjs.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/resizable_container/resizable_collapse_button.js +2 -1
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/table/table_header_cell.js +4 -4
- package/test-env/components/text/text.styles.js +1 -1
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +2 -2
- package/test-env/services/color/eui_palettes.js +58 -16
- package/test-env/services/color/eui_palettes_hooks.js +10 -1
- package/test-env/services/color/index.js +21 -0
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/index.js +21 -0
- package/test-env/services/theme/context.js +2 -2
- package/test-env/themes/amsterdam/global_styling/variables/_colors_severity.js +2 -1
- package/test-env/themes/amsterdam/global_styling/variables/_colors_vis.js +8 -2
- package/lib/components/icon/svgs/question_in_circle.svg +0 -3
- package/optimize/lib/components/icon/svgs/question_in_circle.svg +0 -3
- /package/lib/components/icon/svgs/{iInCircle.svg → info.svg} +0 -0
- /package/optimize/lib/components/icon/svgs/{iInCircle.svg → info.svg} +0 -0
package/eui.d.ts
CHANGED
|
@@ -171,13 +171,124 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
171
171
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
172
172
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
173
173
|
|
|
174
|
+
}
|
|
175
|
+
declare module '@elastic/eui/src/services/theme/types' {
|
|
176
|
+
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
177
|
+
|
|
174
178
|
}
|
|
175
179
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
176
180
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
177
181
|
|
|
178
182
|
}
|
|
179
|
-
declare module '@elastic/eui/src/services/theme/
|
|
180
|
-
|
|
183
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
184
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
185
|
+
export const DEFAULTS: {
|
|
186
|
+
system: {
|
|
187
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
188
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
189
|
+
key: string;
|
|
190
|
+
};
|
|
191
|
+
modifications: {};
|
|
192
|
+
colorMode: "LIGHT";
|
|
193
|
+
highContrastMode: false;
|
|
194
|
+
};
|
|
195
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
196
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
197
|
+
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
198
|
+
}>>;
|
|
199
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
200
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
201
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
202
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
203
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
204
|
+
|
|
205
|
+
}
|
|
206
|
+
declare module '@elastic/eui/src/services/theme/warning' {
|
|
207
|
+
type LEVELS = 'log' | 'warn' | 'error';
|
|
208
|
+
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
209
|
+
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
210
|
+
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
211
|
+
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
212
|
+
export {};
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
216
|
+
import React from 'react';
|
|
217
|
+
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
218
|
+
/**
|
|
219
|
+
* Hook for function components
|
|
220
|
+
*/
|
|
221
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
222
|
+
euiTheme: EuiThemeComputed<T>;
|
|
223
|
+
colorMode: EuiThemeColorModeStandard;
|
|
224
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
225
|
+
modifications: EuiThemeModifications<T>;
|
|
226
|
+
}
|
|
227
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
228
|
+
/**
|
|
229
|
+
* HOC for class components
|
|
230
|
+
*/
|
|
231
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
232
|
+
theme: UseEuiTheme<P>;
|
|
233
|
+
}
|
|
234
|
+
export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
|
|
235
|
+
/**
|
|
236
|
+
* Render prop alternative for complex class components
|
|
237
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
238
|
+
*/
|
|
239
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
240
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
241
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
242
|
+
/**
|
|
243
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
244
|
+
* Primarily meant for internal EUI usage.
|
|
245
|
+
*/
|
|
246
|
+
export const useEuiThemeCSSVariables: () => {
|
|
247
|
+
setGlobalCSSVariables: Function;
|
|
248
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
249
|
+
setNearestThemeCSSVariables: Function;
|
|
250
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
254
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
255
|
+
*/
|
|
256
|
+
export const useIsDarkMode: () => boolean;
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
260
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
264
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
265
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
266
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
267
|
+
|
|
268
|
+
}
|
|
269
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
270
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
271
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
272
|
+
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
273
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
274
|
+
/**
|
|
275
|
+
* Returns the current breakpoint based on window width.
|
|
276
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
277
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
278
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
279
|
+
*/
|
|
280
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
281
|
+
export {};
|
|
282
|
+
|
|
283
|
+
}
|
|
284
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
285
|
+
/**
|
|
286
|
+
* Hook util / syntactical sugar for useContext()
|
|
287
|
+
*
|
|
288
|
+
* This hook is in its own separate file to make mocking it
|
|
289
|
+
* as a testenv easy for Jest unit tests
|
|
290
|
+
*/
|
|
291
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
181
292
|
|
|
182
293
|
}
|
|
183
294
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -276,10 +387,6 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
276
387
|
*/
|
|
277
388
|
export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
|
|
278
389
|
|
|
279
|
-
}
|
|
280
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
281
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
282
|
-
|
|
283
390
|
}
|
|
284
391
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
285
392
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -302,15 +409,6 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
302
409
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
303
410
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
304
411
|
|
|
305
|
-
}
|
|
306
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
307
|
-
type LEVELS = 'log' | 'warn' | 'error';
|
|
308
|
-
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
309
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
310
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
311
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
312
|
-
export {};
|
|
313
|
-
|
|
314
412
|
}
|
|
315
413
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
316
414
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -507,11 +605,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
507
605
|
*/
|
|
508
606
|
categorical?: boolean): string[];
|
|
509
607
|
|
|
510
|
-
}
|
|
511
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
512
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
513
|
-
export const colorVis: _EuiThemeVisColors;
|
|
514
|
-
|
|
515
608
|
}
|
|
516
609
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
517
610
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -610,6 +703,21 @@ declare module '@elastic/eui/src/services/color/eui_palettes' {
|
|
|
610
703
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
611
704
|
*/
|
|
612
705
|
export const euiPaletteGreen: (steps: number, { colors }?: EuiPaletteCommonProps) => EuiPalette;
|
|
706
|
+
/**
|
|
707
|
+
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
708
|
+
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
709
|
+
*/
|
|
710
|
+
export const euiPaletteSkyBlue: (steps: number, { colors }?: EuiPaletteCommonProps) => EuiPalette;
|
|
711
|
+
/**
|
|
712
|
+
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
713
|
+
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
714
|
+
*/
|
|
715
|
+
export const euiPaletteYellow: (steps: number, { colors }?: EuiPaletteCommonProps) => EuiPalette;
|
|
716
|
+
/**
|
|
717
|
+
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
718
|
+
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
719
|
+
*/
|
|
720
|
+
export const euiPaletteOrange: (steps: number, { colors }?: EuiPaletteCommonProps) => EuiPalette;
|
|
613
721
|
/**
|
|
614
722
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
615
723
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
@@ -641,6 +749,9 @@ declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
|
|
|
641
749
|
export const useEuiPaletteComplementary: (steps: number) => EuiPalette;
|
|
642
750
|
export const useEuiPaletteRed: (steps: number) => EuiPalette;
|
|
643
751
|
export const useEuiPaletteGreen: (steps: number) => EuiPalette;
|
|
752
|
+
export const useEuiPaletteSkyBlue: (steps: number) => EuiPalette;
|
|
753
|
+
export const useEuiPaletteYellow: (steps: number) => EuiPalette;
|
|
754
|
+
export const useEuiPaletteOrange: (steps: number) => EuiPalette;
|
|
644
755
|
export const useEuiPaletteCool: (steps: number) => EuiPalette;
|
|
645
756
|
export const useEuiPaletteWarm: (steps: number) => EuiPalette;
|
|
646
757
|
export const useEuiPaletteGray: (steps: number) => EuiPalette;
|
|
@@ -1128,7 +1239,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1128
1239
|
*/
|
|
1129
1240
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1130
1241
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1131
|
-
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "
|
|
1242
|
+
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
|
|
1132
1243
|
|
|
1133
1244
|
}
|
|
1134
1245
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1178,12 +1289,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1178
1289
|
*/
|
|
1179
1290
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1180
1291
|
|
|
1181
|
-
}
|
|
1182
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1183
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1184
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1185
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1186
|
-
|
|
1187
1292
|
}
|
|
1188
1293
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1189
1294
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -2504,6 +2609,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
2504
2609
|
help: string;
|
|
2505
2610
|
home: string;
|
|
2506
2611
|
iInCircle: string;
|
|
2612
|
+
info: string;
|
|
2507
2613
|
image: string;
|
|
2508
2614
|
importAction: string;
|
|
2509
2615
|
index: string;
|
|
@@ -2671,6 +2777,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
2671
2777
|
popout: string;
|
|
2672
2778
|
push: string;
|
|
2673
2779
|
questionInCircle: string;
|
|
2780
|
+
question: string;
|
|
2674
2781
|
quote: string;
|
|
2675
2782
|
readOnly: string;
|
|
2676
2783
|
recentlyViewedApp: string;
|
|
@@ -2903,7 +3010,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2903
3010
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2904
3011
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2905
3012
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2906
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
3013
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "iInCircle" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector")[];
|
|
2907
3014
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2908
3015
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2909
3016
|
export type IconColor = string | NamedColor;
|
|
@@ -5121,7 +5228,7 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
|
|
|
5121
5228
|
content: ReactNode;
|
|
5122
5229
|
/**
|
|
5123
5230
|
* The icon type to display
|
|
5124
|
-
* @default '
|
|
5231
|
+
* @default 'question'
|
|
5125
5232
|
*/
|
|
5126
5233
|
icon?: IconType;
|
|
5127
5234
|
/** Additional props for EuiIcon */
|
|
@@ -5731,7 +5838,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5731
5838
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5732
5839
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5733
5840
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5734
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
5841
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
|
|
5735
5842
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5736
5843
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5737
5844
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6841,109 +6948,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6841
6948
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6842
6949
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6843
6950
|
|
|
6844
|
-
}
|
|
6845
|
-
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6846
|
-
export const wcagContrastMin = 4.5;
|
|
6847
|
-
/**
|
|
6848
|
-
* Creates a new color that meets or exceeds WCAG level AA
|
|
6849
|
-
* @param foreground - Color to manipulate
|
|
6850
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6851
|
-
* *
|
|
6852
|
-
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
6853
|
-
*/
|
|
6854
|
-
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
6855
|
-
colors: {
|
|
6856
|
-
body: string;
|
|
6857
|
-
};
|
|
6858
|
-
[key: string]: any;
|
|
6859
|
-
}) => string;
|
|
6860
|
-
/**
|
|
6861
|
-
* Creates a new color with increased contrast
|
|
6862
|
-
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
6863
|
-
* @param foreground - Color to manipulate
|
|
6864
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6865
|
-
* *
|
|
6866
|
-
* @param themeOrBackground - Color to use as the contrast basis
|
|
6867
|
-
*/
|
|
6868
|
-
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
6869
|
-
colors: {
|
|
6870
|
-
body: string;
|
|
6871
|
-
};
|
|
6872
|
-
[key: string]: any;
|
|
6873
|
-
}) => string;
|
|
6874
|
-
|
|
6875
|
-
}
|
|
6876
|
-
declare module '@elastic/eui/src/services/color' {
|
|
6877
|
-
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6878
|
-
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6879
|
-
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6880
|
-
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6881
|
-
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6882
|
-
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6883
|
-
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6884
|
-
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6885
|
-
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6886
|
-
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6887
|
-
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6888
|
-
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6889
|
-
export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
|
|
6890
|
-
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6891
|
-
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6892
|
-
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6893
|
-
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6894
|
-
export * from '@elastic/eui/src/services/color/contrast';
|
|
6895
|
-
|
|
6896
|
-
}
|
|
6897
|
-
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6898
|
-
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6899
|
-
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6900
|
-
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6901
|
-
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
6902
|
-
theme?: EuiThemeSystem<T>;
|
|
6903
|
-
colorMode?: EuiThemeColorMode;
|
|
6904
|
-
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
6905
|
-
modify?: EuiThemeModifications<T>;
|
|
6906
|
-
children: any;
|
|
6907
|
-
/**
|
|
6908
|
-
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
6909
|
-
* set the default text `color` that all nested children will inherit.
|
|
6910
|
-
*
|
|
6911
|
-
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
6912
|
-
* This requires a **single** child component that the correct color class can be passed to.
|
|
6913
|
-
*
|
|
6914
|
-
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
6915
|
-
* the default inherited text color will be set on the page `body`.
|
|
6916
|
-
*/
|
|
6917
|
-
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
6918
|
-
cloneElement?: boolean;
|
|
6919
|
-
};
|
|
6920
|
-
}
|
|
6921
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6922
|
-
|
|
6923
|
-
}
|
|
6924
|
-
declare module '@elastic/eui/src/services/theme/theme_variant' {
|
|
6925
|
-
import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
|
|
6926
|
-
export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
|
|
6927
|
-
/**
|
|
6928
|
-
* Util to retrieve visual variant for UI elements
|
|
6929
|
-
* Note: Temporary only - will be removed once the visual refresh is completed.
|
|
6930
|
-
*/
|
|
6931
|
-
export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
|
|
6932
|
-
|
|
6933
|
-
}
|
|
6934
|
-
declare module '@elastic/eui/src/services/theme' {
|
|
6935
|
-
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6936
|
-
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6937
|
-
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
|
|
6938
|
-
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
6939
|
-
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
6940
|
-
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6941
|
-
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6942
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6943
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6944
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6945
|
-
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
6946
|
-
|
|
6947
6951
|
}
|
|
6948
6952
|
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6949
6953
|
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
@@ -7010,233 +7014,107 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
7010
7014
|
export const brighten: (color: string, amount: number) => string;
|
|
7011
7015
|
|
|
7012
7016
|
}
|
|
7013
|
-
declare module '@elastic/eui/src/
|
|
7017
|
+
declare module '@elastic/eui/src/services/color/contrast' {
|
|
7018
|
+
export const wcagContrastMin = 4.5;
|
|
7014
7019
|
/**
|
|
7015
|
-
*
|
|
7016
|
-
*
|
|
7020
|
+
* Creates a new color that meets or exceeds WCAG level AA
|
|
7021
|
+
* @param foreground - Color to manipulate
|
|
7022
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
7023
|
+
* *
|
|
7024
|
+
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
7017
7025
|
*/
|
|
7018
|
-
export const
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
success: string;
|
|
7022
|
-
warning: string;
|
|
7023
|
-
risk: string;
|
|
7024
|
-
danger: string;
|
|
7025
|
-
};
|
|
7026
|
-
|
|
7027
|
-
}
|
|
7028
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
7029
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
7030
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
7031
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
7032
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
7033
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
7034
|
-
export const text_colors: _EuiThemeTextColors;
|
|
7035
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
7036
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7037
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
7038
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
7039
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
7040
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
7041
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7042
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
7043
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
7044
|
-
export const colors: _EuiThemeColors;
|
|
7045
|
-
|
|
7046
|
-
}
|
|
7047
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
7048
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
7049
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
7050
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
7051
|
-
export const animation: _EuiThemeAnimation;
|
|
7052
|
-
|
|
7053
|
-
}
|
|
7054
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
7055
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
7056
|
-
|
|
7057
|
-
}
|
|
7058
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
7059
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
7060
|
-
export const base: _EuiThemeBase;
|
|
7061
|
-
export const size: _EuiThemeSizes;
|
|
7062
|
-
|
|
7063
|
-
}
|
|
7064
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
7065
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
7066
|
-
export const border: _EuiThemeBorder;
|
|
7067
|
-
|
|
7068
|
-
}
|
|
7069
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
7070
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
7071
|
-
export const levels: _EuiThemeLevels;
|
|
7072
|
-
|
|
7073
|
-
}
|
|
7074
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
7075
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
7076
|
-
export const fontScale: _EuiThemeFontScales;
|
|
7077
|
-
export const fontBase: _EuiThemeFontBase;
|
|
7078
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
7079
|
-
export const font: _EuiThemeFont;
|
|
7080
|
-
|
|
7081
|
-
}
|
|
7082
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
7083
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
7084
|
-
export const focus: _EuiThemeFocus;
|
|
7085
|
-
|
|
7086
|
-
}
|
|
7087
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7088
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7089
|
-
export const buttons: _EuiThemeButton;
|
|
7090
|
-
|
|
7091
|
-
}
|
|
7092
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7093
|
-
export const forms: {
|
|
7094
|
-
maxWidth: string;
|
|
7095
|
-
LIGHT: {
|
|
7096
|
-
background: string;
|
|
7097
|
-
backgroundDisabled: string;
|
|
7098
|
-
backgroundReadOnly: any;
|
|
7099
|
-
backgroundFocused: any;
|
|
7100
|
-
backgroundAutofilled: string;
|
|
7101
|
-
prependBackground: string;
|
|
7102
|
-
border: string;
|
|
7103
|
-
borderAutofilled: string;
|
|
7104
|
-
controlBorder: string;
|
|
7105
|
-
controlBorderSelected: string;
|
|
7106
|
-
controlBorderDisabled: string;
|
|
7107
|
-
controlBackgroundUnselected: any;
|
|
7108
|
-
controlBackgroundDisabled: any;
|
|
7109
|
-
colorHasPlaceholder: string;
|
|
7110
|
-
colorDisabled: any;
|
|
7111
|
-
iconDisabled: any;
|
|
7112
|
-
};
|
|
7113
|
-
DARK: {
|
|
7114
|
-
background: string;
|
|
7115
|
-
backgroundFocused: string;
|
|
7116
|
-
backgroundAutofilled: string;
|
|
7117
|
-
prependBackground: string;
|
|
7118
|
-
border: string;
|
|
7119
|
-
controlBorder: string;
|
|
7120
|
-
controlBorderSelected: string;
|
|
7121
|
-
controlBorderDisabled: string;
|
|
7122
|
-
backgroundDisabled: string;
|
|
7123
|
-
backgroundReadOnly: any;
|
|
7124
|
-
borderAutofilled: string;
|
|
7125
|
-
controlBackgroundUnselected: any;
|
|
7126
|
-
controlBackgroundDisabled: any;
|
|
7127
|
-
colorHasPlaceholder: string;
|
|
7128
|
-
colorDisabled: any;
|
|
7129
|
-
iconDisabled: any;
|
|
7026
|
+
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
7027
|
+
colors: {
|
|
7028
|
+
body: string;
|
|
7130
7029
|
};
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
export const
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
model: EuiThemeShape;
|
|
7145
|
-
root: EuiThemeShape;
|
|
7146
|
-
key: string;
|
|
7147
|
-
};
|
|
7148
|
-
|
|
7149
|
-
}
|
|
7150
|
-
declare module '@elastic/eui/src/services/theme/context' {
|
|
7151
|
-
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7152
|
-
export const DEFAULTS: {
|
|
7153
|
-
system: {
|
|
7154
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7155
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7156
|
-
key: string;
|
|
7030
|
+
[key: string]: any;
|
|
7031
|
+
}) => string;
|
|
7032
|
+
/**
|
|
7033
|
+
* Creates a new color with increased contrast
|
|
7034
|
+
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
7035
|
+
* @param foreground - Color to manipulate
|
|
7036
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
7037
|
+
* *
|
|
7038
|
+
* @param themeOrBackground - Color to use as the contrast basis
|
|
7039
|
+
*/
|
|
7040
|
+
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
7041
|
+
colors: {
|
|
7042
|
+
body: string;
|
|
7157
7043
|
};
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
highContrastMode: false;
|
|
7161
|
-
};
|
|
7162
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
7163
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
7164
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
7165
|
-
}>>;
|
|
7166
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7167
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7168
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7169
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
7170
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7044
|
+
[key: string]: any;
|
|
7045
|
+
}) => string;
|
|
7171
7046
|
|
|
7172
7047
|
}
|
|
7173
|
-
declare module '@elastic/eui/src/services/
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
export
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
}
|
|
7185
|
-
export
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
export
|
|
7190
|
-
|
|
7048
|
+
declare module '@elastic/eui/src/services/color' {
|
|
7049
|
+
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
7050
|
+
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
7051
|
+
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
7052
|
+
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
7053
|
+
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
7054
|
+
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
7055
|
+
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
7056
|
+
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
7057
|
+
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
7058
|
+
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
7059
|
+
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
7060
|
+
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
7061
|
+
export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteSkyBlue, euiPaletteYellow, euiPaletteOrange, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
|
|
7062
|
+
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
7063
|
+
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
7064
|
+
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
7065
|
+
export * from '@elastic/eui/src/services/color/manipulation';
|
|
7066
|
+
export * from '@elastic/eui/src/services/color/contrast';
|
|
7067
|
+
|
|
7068
|
+
}
|
|
7069
|
+
declare module '@elastic/eui/src/services/theme/provider' {
|
|
7070
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
7071
|
+
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
7072
|
+
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
7073
|
+
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
7074
|
+
theme?: EuiThemeSystem<T>;
|
|
7075
|
+
colorMode?: EuiThemeColorMode;
|
|
7076
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
7077
|
+
modify?: EuiThemeModifications<T>;
|
|
7078
|
+
children: any;
|
|
7079
|
+
/**
|
|
7080
|
+
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
7081
|
+
* set the default text `color` that all nested children will inherit.
|
|
7082
|
+
*
|
|
7083
|
+
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
7084
|
+
* This requires a **single** child component that the correct color class can be passed to.
|
|
7085
|
+
*
|
|
7086
|
+
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
7087
|
+
* the default inherited text color will be set on the page `body`.
|
|
7088
|
+
*/
|
|
7089
|
+
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
7090
|
+
cloneElement?: boolean;
|
|
7091
|
+
};
|
|
7191
7092
|
}
|
|
7192
|
-
export const
|
|
7193
|
-
/**
|
|
7194
|
-
* Render prop alternative for complex class components
|
|
7195
|
-
* Most useful for scenarios where a HOC may interfere with typing
|
|
7196
|
-
*/
|
|
7197
|
-
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
7198
|
-
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
7199
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7200
|
-
/**
|
|
7201
|
-
* Minor syntactical sugar hook for theme CSS variables.
|
|
7202
|
-
* Primarily meant for internal EUI usage.
|
|
7203
|
-
*/
|
|
7204
|
-
export const useEuiThemeCSSVariables: () => {
|
|
7205
|
-
setGlobalCSSVariables: Function;
|
|
7206
|
-
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7207
|
-
setNearestThemeCSSVariables: Function;
|
|
7208
|
-
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7209
|
-
};
|
|
7210
|
-
/**
|
|
7211
|
-
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
7212
|
-
* In case of nested providers this returns the value of the nearest provider context.
|
|
7213
|
-
*/
|
|
7214
|
-
export const useIsDarkMode: () => boolean;
|
|
7093
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
7215
7094
|
|
|
7216
7095
|
}
|
|
7217
|
-
declare module '@elastic/eui/src/services/
|
|
7218
|
-
import
|
|
7219
|
-
|
|
7220
|
-
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
7221
|
-
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
7096
|
+
declare module '@elastic/eui/src/services/theme/theme_variant' {
|
|
7097
|
+
import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
|
|
7098
|
+
export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
|
|
7222
7099
|
/**
|
|
7223
|
-
*
|
|
7224
|
-
*
|
|
7225
|
-
* of window resize listeners on the page). Also conditionally called if a
|
|
7226
|
-
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
7100
|
+
* Util to retrieve visual variant for UI elements
|
|
7101
|
+
* Note: Temporary only - will be removed once the visual refresh is completed.
|
|
7227
7102
|
*/
|
|
7228
|
-
export const
|
|
7229
|
-
export {};
|
|
7103
|
+
export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
|
|
7230
7104
|
|
|
7231
7105
|
}
|
|
7232
|
-
declare module '@elastic/eui/src/services/
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
export
|
|
7106
|
+
declare module '@elastic/eui/src/services/theme' {
|
|
7107
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
7108
|
+
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
7109
|
+
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
|
|
7110
|
+
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
7111
|
+
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
7112
|
+
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
7113
|
+
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
7114
|
+
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7115
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7116
|
+
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7117
|
+
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
7240
7118
|
|
|
7241
7119
|
}
|
|
7242
7120
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -7649,7 +7527,7 @@ declare module '@elastic/eui/src/services' {
|
|
|
7649
7527
|
export { CurrentEuiBreakpointContext, CurrentEuiBreakpointProvider, useCurrentEuiBreakpoint, useIsWithinBreakpoints, useIsWithinMaxBreakpoint, useIsWithinMinBreakpoint, } from '@elastic/eui/src/services/breakpoint';
|
|
7650
7528
|
export type { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
|
|
7651
7529
|
export { CanvasTextUtils, type CanvasTextParams } from '@elastic/eui/src/services/canvas';
|
|
7652
|
-
export { brighten, calculateContrast, calculateLuminance, colorPalette, darken, DEFAULT_VISUALIZATION_COLOR, desaturate, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteComplementary, euiPaletteCool, euiPaletteForDarkBackground, euiPaletteForLightBackground, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteGray, euiPaletteRed, euiPaletteGreen, euiPaletteWarm, getSteppedGradient, hexToHsv, hexToRgb, hsvToHex, hsvToRgb, isColorDark, isValidHex, lightness, makeDisabledContrastColor, makeHighContrastColor, rgbToHex, rgbToHsv, saturate, shade, shadeOrTint, tint, tintOrShade, transparentize, VISUALIZATION_COLORS, EUI_VIS_COLOR_STORE, wcagContrastMin, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color';
|
|
7530
|
+
export { brighten, calculateContrast, calculateLuminance, colorPalette, darken, DEFAULT_VISUALIZATION_COLOR, desaturate, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteComplementary, euiPaletteCool, euiPaletteForDarkBackground, euiPaletteForLightBackground, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteGray, euiPaletteRed, euiPaletteGreen, euiPaletteSkyBlue, euiPaletteYellow, euiPaletteOrange, euiPaletteWarm, getSteppedGradient, hexToHsv, hexToRgb, hsvToHex, hsvToRgb, isColorDark, isValidHex, lightness, makeDisabledContrastColor, makeHighContrastColor, rgbToHex, rgbToHsv, saturate, shade, shadeOrTint, tint, tintOrShade, transparentize, VISUALIZATION_COLORS, EUI_VIS_COLOR_STORE, wcagContrastMin, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color';
|
|
7653
7531
|
export type { HSV } from '@elastic/eui/src/services/color';
|
|
7654
7532
|
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
7655
7533
|
export { useColorPickerState, useColorStopsState } from '@elastic/eui/src/services/color_picker';
|
|
@@ -12676,6 +12554,11 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12676
12554
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12677
12555
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12678
12556
|
|
|
12557
|
+
}
|
|
12558
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12559
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12560
|
+
export const colorVis: _EuiThemeVisColors;
|
|
12561
|
+
|
|
12679
12562
|
}
|
|
12680
12563
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12681
12564
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12685,6 +12568,143 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12685
12568
|
provider?: EuiThemeSystem;
|
|
12686
12569
|
}
|
|
12687
12570
|
|
|
12571
|
+
}
|
|
12572
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12573
|
+
/**
|
|
12574
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
12575
|
+
* They are mapped to other vis colors
|
|
12576
|
+
*/
|
|
12577
|
+
export const severityColors: {
|
|
12578
|
+
unknown: string;
|
|
12579
|
+
neutral: string;
|
|
12580
|
+
success: string;
|
|
12581
|
+
warning: string;
|
|
12582
|
+
risk: string;
|
|
12583
|
+
danger: string;
|
|
12584
|
+
};
|
|
12585
|
+
|
|
12586
|
+
}
|
|
12587
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12588
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12589
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
12590
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12591
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
12592
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
12593
|
+
export const text_colors: _EuiThemeTextColors;
|
|
12594
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
12595
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12596
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
12597
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
12598
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
12599
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12600
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12601
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12602
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12603
|
+
export const colors: _EuiThemeColors;
|
|
12604
|
+
|
|
12605
|
+
}
|
|
12606
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12607
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12608
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12609
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12610
|
+
export const animation: _EuiThemeAnimation;
|
|
12611
|
+
|
|
12612
|
+
}
|
|
12613
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12614
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12615
|
+
|
|
12616
|
+
}
|
|
12617
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12618
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12619
|
+
export const base: _EuiThemeBase;
|
|
12620
|
+
export const size: _EuiThemeSizes;
|
|
12621
|
+
|
|
12622
|
+
}
|
|
12623
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12624
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12625
|
+
export const border: _EuiThemeBorder;
|
|
12626
|
+
|
|
12627
|
+
}
|
|
12628
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12629
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12630
|
+
export const levels: _EuiThemeLevels;
|
|
12631
|
+
|
|
12632
|
+
}
|
|
12633
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12634
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12635
|
+
export const fontScale: _EuiThemeFontScales;
|
|
12636
|
+
export const fontBase: _EuiThemeFontBase;
|
|
12637
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
12638
|
+
export const font: _EuiThemeFont;
|
|
12639
|
+
|
|
12640
|
+
}
|
|
12641
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12642
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12643
|
+
export const focus: _EuiThemeFocus;
|
|
12644
|
+
|
|
12645
|
+
}
|
|
12646
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12647
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12648
|
+
export const buttons: _EuiThemeButton;
|
|
12649
|
+
|
|
12650
|
+
}
|
|
12651
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12652
|
+
export const forms: {
|
|
12653
|
+
maxWidth: string;
|
|
12654
|
+
LIGHT: {
|
|
12655
|
+
background: string;
|
|
12656
|
+
backgroundDisabled: string;
|
|
12657
|
+
backgroundReadOnly: any;
|
|
12658
|
+
backgroundFocused: any;
|
|
12659
|
+
backgroundAutofilled: string;
|
|
12660
|
+
prependBackground: string;
|
|
12661
|
+
border: string;
|
|
12662
|
+
borderAutofilled: string;
|
|
12663
|
+
controlBorder: string;
|
|
12664
|
+
controlBorderSelected: string;
|
|
12665
|
+
controlBorderDisabled: string;
|
|
12666
|
+
controlBackgroundUnselected: any;
|
|
12667
|
+
controlBackgroundDisabled: any;
|
|
12668
|
+
colorHasPlaceholder: string;
|
|
12669
|
+
colorDisabled: any;
|
|
12670
|
+
iconDisabled: any;
|
|
12671
|
+
};
|
|
12672
|
+
DARK: {
|
|
12673
|
+
background: string;
|
|
12674
|
+
backgroundFocused: string;
|
|
12675
|
+
backgroundAutofilled: string;
|
|
12676
|
+
prependBackground: string;
|
|
12677
|
+
border: string;
|
|
12678
|
+
controlBorder: string;
|
|
12679
|
+
controlBorderSelected: string;
|
|
12680
|
+
controlBorderDisabled: string;
|
|
12681
|
+
backgroundDisabled: string;
|
|
12682
|
+
backgroundReadOnly: any;
|
|
12683
|
+
borderAutofilled: string;
|
|
12684
|
+
controlBackgroundUnselected: any;
|
|
12685
|
+
controlBackgroundDisabled: any;
|
|
12686
|
+
colorHasPlaceholder: string;
|
|
12687
|
+
colorDisabled: any;
|
|
12688
|
+
iconDisabled: any;
|
|
12689
|
+
};
|
|
12690
|
+
};
|
|
12691
|
+
|
|
12692
|
+
}
|
|
12693
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12694
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12695
|
+
export const components: _EuiThemeComponents;
|
|
12696
|
+
|
|
12697
|
+
}
|
|
12698
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12699
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12700
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12701
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12702
|
+
export const EuiThemeAmsterdam: {
|
|
12703
|
+
model: EuiThemeShape;
|
|
12704
|
+
root: EuiThemeShape;
|
|
12705
|
+
key: string;
|
|
12706
|
+
};
|
|
12707
|
+
|
|
12688
12708
|
}
|
|
12689
12709
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12690
12710
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14619,7 +14639,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14619
14639
|
/**
|
|
14620
14640
|
* Height types
|
|
14621
14641
|
*/
|
|
14622
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14642
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
|
|
14623
14643
|
/**
|
|
14624
14644
|
* Line count utils
|
|
14625
14645
|
*/
|
|
@@ -19151,10 +19171,16 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
|
|
|
19151
19171
|
*/
|
|
19152
19172
|
numFilters?: number;
|
|
19153
19173
|
/**
|
|
19154
|
-
*
|
|
19155
|
-
*
|
|
19174
|
+
* The number of active (selected) filters.
|
|
19175
|
+
* The value will be displayed as a bright notification badge.
|
|
19176
|
+
*
|
|
19177
|
+
* Accepted values are integers and percentages (e.g., 20%).
|
|
19178
|
+
* Passing other values is not supported and may break the layout.
|
|
19179
|
+
*
|
|
19180
|
+
* @example 10
|
|
19181
|
+
* @example '20%'
|
|
19156
19182
|
*/
|
|
19157
|
-
numActiveFilters?: number;
|
|
19183
|
+
numActiveFilters?: number | string;
|
|
19158
19184
|
/**
|
|
19159
19185
|
* Switches between toggle and regular button
|
|
19160
19186
|
* @default false
|
|
@@ -21802,7 +21828,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21802
21828
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21803
21829
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21804
21830
|
/**
|
|
21805
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21831
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
|
|
21806
21832
|
* Pass `null` to remove all theming including global reset
|
|
21807
21833
|
*/
|
|
21808
21834
|
theme?: EuiThemeSystem | null;
|
|
@@ -23061,13 +23087,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23061
23087
|
slot?: string | undefined;
|
|
23062
23088
|
style?: CSSProperties | undefined;
|
|
23063
23089
|
title?: string | undefined;
|
|
23064
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23065
23090
|
width: number;
|
|
23066
23091
|
color?: string | undefined;
|
|
23067
23092
|
content?: string | undefined;
|
|
23093
|
+
hidden?: boolean | undefined;
|
|
23094
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23068
23095
|
translate?: "yes" | "no" | undefined;
|
|
23069
23096
|
property?: string | undefined;
|
|
23070
|
-
hidden?: boolean | undefined;
|
|
23071
23097
|
className?: string | undefined;
|
|
23072
23098
|
defaultChecked?: boolean | undefined;
|
|
23073
23099
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -27937,17 +27963,6 @@ declare module '@elastic/eui/src/components/icon/assets/home' {
|
|
|
27937
27963
|
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
27938
27964
|
export {};
|
|
27939
27965
|
|
|
27940
|
-
}
|
|
27941
|
-
declare module '@elastic/eui/src/components/icon/assets/iInCircle' {
|
|
27942
|
-
import * as React from 'react';
|
|
27943
|
-
import type { SVGProps } from 'react';
|
|
27944
|
-
interface SVGRProps {
|
|
27945
|
-
title?: string;
|
|
27946
|
-
titleId?: string;
|
|
27947
|
-
}
|
|
27948
|
-
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
27949
|
-
export {};
|
|
27950
|
-
|
|
27951
27966
|
}
|
|
27952
27967
|
declare module '@elastic/eui/src/components/icon/assets/image' {
|
|
27953
27968
|
import * as React from 'react';
|
|
@@ -28080,6 +28095,17 @@ declare module '@elastic/eui/src/components/icon/assets/infinity' {
|
|
|
28080
28095
|
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
28081
28096
|
export {};
|
|
28082
28097
|
|
|
28098
|
+
}
|
|
28099
|
+
declare module '@elastic/eui/src/components/icon/assets/info' {
|
|
28100
|
+
import * as React from 'react';
|
|
28101
|
+
import type { SVGProps } from 'react';
|
|
28102
|
+
interface SVGRProps {
|
|
28103
|
+
title?: string;
|
|
28104
|
+
titleId?: string;
|
|
28105
|
+
}
|
|
28106
|
+
export const icon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
28107
|
+
export {};
|
|
28108
|
+
|
|
28083
28109
|
}
|
|
28084
28110
|
declare module '@elastic/eui/src/components/icon/assets/inputOutput' {
|
|
28085
28111
|
import * as React from 'react';
|
|
@@ -29752,7 +29778,7 @@ declare module '@elastic/eui/src/components/icon/assets/push' {
|
|
|
29752
29778
|
export {};
|
|
29753
29779
|
|
|
29754
29780
|
}
|
|
29755
|
-
declare module '@elastic/eui/src/components/icon/assets/
|
|
29781
|
+
declare module '@elastic/eui/src/components/icon/assets/question' {
|
|
29756
29782
|
import * as React from 'react';
|
|
29757
29783
|
import type { SVGProps } from 'react';
|
|
29758
29784
|
interface SVGRProps {
|