@elastic/eui 100.0.0 → 101.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 +16 -3
- package/es/components/avatar/avatar.styles.js +13 -7
- package/es/components/badge/beta_badge/beta_badge.styles.js +5 -8
- package/es/components/badge/notification_badge/badge_notification.styles.js +6 -5
- package/es/components/beacon/beacon.styles.js +4 -3
- package/es/components/bottom_bar/bottom_bar.styles.js +5 -2
- package/es/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +23 -6
- package/es/components/breadcrumbs/breadcrumb.styles.js +10 -4
- package/es/components/breadcrumbs/breadcrumbs.styles.js +1 -3
- package/es/components/button/button_group/button_group.styles.js +19 -3
- package/es/components/button/button_group/button_group_button.styles.js +8 -6
- package/es/components/call_out/call_out.styles.js +1 -1
- package/es/components/card/card.styles.js +3 -6
- package/es/components/code/code_block.styles.js +7 -2
- package/es/components/code/code_block_annotations.style.js +10 -3
- package/es/components/code/code_block_line.styles.js +17 -5
- package/es/components/code/code_syntax.styles.js +14 -3
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +2 -2
- package/es/components/color_picker/color_palette_display/color_palette_display.styles.js +6 -5
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +12 -10
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -2
- package/es/components/color_picker/color_picker.styles.js +5 -3
- package/es/components/color_picker/color_picker_swatch.styles.js +6 -1
- package/es/components/color_picker/hue.styles.js +12 -2
- package/es/components/color_picker/saturation.styles.js +21 -6
- package/es/components/color_picker/utils.js +2 -2
- package/es/components/comment_list/comment_event.js +6 -3
- package/es/components/comment_list/comment_event.styles.js +5 -1
- package/es/components/context_menu/context_menu_item.styles.js +2 -2
- package/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +4 -1
- package/es/components/datagrid/body/footer/data_grid_footer.styles.js +1 -1
- package/es/components/datagrid/body/header/data_grid_header_row.styles.js +1 -1
- package/es/components/datagrid/controls/column_selector.styles.js +3 -1
- package/es/components/datagrid/controls/column_sorting.styles.js +3 -1
- package/es/components/datagrid/data_grid.styles.js +19 -4
- package/es/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
- package/es/components/datagrid/utils/scrolling.styles.js +14 -5
- package/es/components/date_picker/date_picker.styles.js +3 -1
- package/es/components/date_picker/date_picker_range.styles.js +3 -1
- package/es/components/date_picker/react_date_picker.styles.js +79 -22
- package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +18 -4
- package/es/components/description_list/description_list_title.styles.js +1 -1
- package/es/components/empty_prompt/empty_prompt.styles.js +7 -2
- package/es/components/error_boundary/error_boundary.styles.js +12 -5
- package/es/components/expression/expression.styles.js +7 -3
- package/es/components/filter_group/filter_button.styles.js +7 -5
- package/es/components/filter_group/filter_group.styles.js +5 -1
- package/es/components/filter_group/filter_select_item.styles.js +1 -1
- package/es/components/flyout/_flyout_close_button.styles.js +3 -1
- package/es/components/flyout/flyout.styles.js +3 -1
- package/es/components/flyout/flyout_body.styles.js +5 -1
- package/es/components/flyout/flyout_footer.styles.js +5 -1
- package/es/components/form/file_picker/file_picker.styles.js +1 -1
- package/es/components/form/form.styles.js +69 -26
- package/es/components/form/form_control_layout/form_control_layout.styles.js +7 -2
- package/es/components/form/form_control_layout/form_control_layout_clear_button.js +3 -2
- package/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +19 -6
- package/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/es/components/form/radio/radio.js +1 -1
- package/es/components/form/range/dual_range.js +2 -2
- package/es/components/form/range/range.styles.js +21 -11
- package/es/components/form/range/range_highlight.styles.js +2 -1
- package/es/components/form/range/range_levels.styles.js +6 -6
- package/es/components/form/range/range_levels_colors.js +2 -1
- package/es/components/form/range/range_slider.js +4 -4
- package/es/components/form/range/range_slider.styles.js +0 -5
- package/es/components/form/range/range_thumb.styles.js +1 -1
- package/es/components/form/range/range_ticks.styles.js +9 -4
- package/es/components/form/range/range_tooltip.styles.js +4 -3
- package/es/components/form/range/range_track.styles.js +6 -1
- package/es/components/form/switch/switch.styles.js +43 -34
- package/es/components/header/header.styles.js +3 -2
- package/es/components/horizontal_rule/horizontal_rule.styles.js +8 -3
- package/es/components/i18n/i18n.js +1 -1
- package/es/components/i18n/i18n_util.js +1 -1
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/image/image.styles.js +7 -2
- package/es/components/image/image_button.styles.js +6 -2
- package/es/components/inline_edit/inline_edit_form.js +1 -1
- package/es/components/inline_edit/inline_edit_form.styles.js +1 -1
- package/es/components/inline_edit/inline_edit_text.js +1 -1
- package/es/components/inline_edit/inline_edit_title.js +1 -1
- package/es/components/key_pad_menu/key_pad_menu_item.styles.js +18 -5
- package/es/components/link/link.styles.js +1 -1
- package/es/components/loading/loading_chart.js +3 -6
- package/es/components/loading/loading_chart.styles.js +13 -28
- package/es/components/loading/loading_spinner.styles.js +18 -9
- package/es/components/mark/mark.styles.js +11 -3
- package/es/components/markdown_editor/markdown_format.styles.js +17 -15
- package/es/components/modal/modal.styles.js +5 -2
- package/es/components/overlay_mask/overlay_mask.styles.js +3 -2
- package/es/components/panel/panel.js +29 -4
- package/es/components/panel/panel.styles.js +33 -8
- package/es/components/panel/split_panel/split_panel.js +20 -5
- package/es/components/panel/split_panel/split_panel.styles.js +29 -9
- package/es/components/popover/popover_arrow/_popover_arrow.styles.js +4 -3
- package/es/components/popover/popover_footer.styles.js +3 -2
- package/es/components/popover/popover_panel/_popover_panel.styles.js +8 -7
- package/es/components/progress/progress.js +2 -2
- package/es/components/progress/progress.styles.js +66 -32
- package/es/components/provider/component_defaults/component_defaults.js +36 -0
- package/es/components/provider/provider.js +16 -16
- package/es/components/provider/{system_color_mode → system_defaults}/index.js +2 -1
- package/es/components/provider/{system_color_mode/system_color_mode_provider.js → system_defaults/match_media_hook.js} +10 -16
- package/es/components/provider/system_defaults/system_defaults_provider.js +30 -0
- package/es/components/resizable_container/resizable_button.styles.js +22 -5
- package/es/components/resizable_container/resizable_panel.styles.js +5 -1
- package/es/components/side_nav/side_nav_item.styles.js +2 -2
- package/es/components/skeleton/skeleton_circle.styles.js +3 -2
- package/es/components/skeleton/skeleton_rectangle.styles.js +3 -2
- package/es/components/skeleton/skeleton_text.styles.js +2 -1
- package/es/components/skeleton/skeleton_title.styles.js +2 -1
- package/es/components/skeleton/utils.js +4 -2
- package/es/components/stat/stat.styles.js +1 -1
- package/es/components/steps/step.styles.js +10 -12
- package/es/components/steps/step_horizontal.js +4 -5
- package/es/components/steps/step_horizontal.styles.js +8 -5
- package/es/components/steps/step_number.js +6 -9
- package/es/components/steps/step_number.styles.js +48 -27
- package/es/components/steps/sub_steps.styles.js +6 -3
- package/es/components/table/table_row.styles.js +11 -4
- package/es/components/table/table_row_cell.styles.js +2 -2
- package/es/components/tabs/tab.styles.js +10 -6
- package/es/components/tabs/tabs.styles.js +5 -1
- package/es/components/text/text.styles.js +16 -4
- package/es/components/text/text_color.styles.js +1 -1
- package/es/components/text_truncate/text_truncate.js +3 -2
- package/es/components/text_truncate/text_truncate.styles.js +36 -38
- package/es/components/timeline/timeline.styles.js +6 -5
- package/es/components/timeline/timeline_item_icon.styles.js +6 -11
- package/es/components/title/title.styles.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/toast/toast.styles.js +42 -8
- package/es/components/token/token.styles.js +23 -17
- package/es/components/tool_tip/tool_tip.styles.js +5 -4
- package/es/components/tour/_tour_header.styles.js +1 -1
- package/es/components/tour/tour.styles.js +1 -1
- package/es/global_styling/functions/high_contrast.js +53 -0
- package/es/global_styling/functions/index.js +1 -0
- package/es/global_styling/mixins/_button.js +22 -4
- package/es/global_styling/mixins/_color.js +4 -0
- package/es/global_styling/mixins/_shadow.js +6 -12
- package/es/global_styling/reset/global_styles.js +1 -1
- package/es/services/copy/copy_to_clipboard.js +2 -3
- package/es/services/popover/popover_arrow.styles.js +8 -4
- package/es/services/popover/popover_positioning.js +2 -2
- package/es/services/theme/context.js +11 -4
- package/es/services/theme/high_contrast_overrides.js +71 -0
- package/es/services/theme/hooks.js +4 -2
- package/es/services/theme/index.js +1 -1
- package/es/services/theme/provider.js +44 -17
- package/es/themes/amsterdam/global_styling/variables/_components.js +342 -317
- package/eui.d.ts +415 -161
- package/lib/components/avatar/avatar.js +15 -2
- package/lib/components/avatar/avatar.styles.js +12 -6
- package/lib/components/badge/beta_badge/beta_badge.styles.js +4 -7
- package/lib/components/badge/notification_badge/badge_notification.styles.js +6 -5
- package/lib/components/beacon/beacon.styles.js +4 -3
- package/lib/components/bottom_bar/bottom_bar.styles.js +4 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +23 -6
- package/lib/components/breadcrumbs/breadcrumb.styles.js +10 -4
- package/lib/components/breadcrumbs/breadcrumbs.styles.js +1 -3
- package/lib/components/button/button_group/button_group.styles.js +19 -3
- package/lib/components/button/button_group/button_group_button.styles.js +8 -6
- package/lib/components/call_out/call_out.styles.js +1 -1
- package/lib/components/card/card.styles.js +2 -5
- package/lib/components/code/code_block.styles.js +7 -2
- package/lib/components/code/code_block_annotations.style.js +10 -3
- package/lib/components/code/code_block_line.styles.js +17 -5
- package/lib/components/code/code_syntax.styles.js +15 -4
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +2 -2
- package/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +6 -5
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +15 -10
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -2
- package/lib/components/color_picker/color_picker.styles.js +5 -3
- package/lib/components/color_picker/color_picker_swatch.styles.js +6 -1
- package/lib/components/color_picker/hue.styles.js +12 -2
- package/lib/components/color_picker/saturation.styles.js +21 -6
- package/lib/components/color_picker/utils.js +2 -2
- package/lib/components/comment_list/comment_event.js +5 -2
- package/lib/components/comment_list/comment_event.styles.js +5 -1
- package/lib/components/context_menu/context_menu_item.styles.js +2 -2
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +4 -1
- package/lib/components/datagrid/body/footer/data_grid_footer.styles.js +1 -1
- package/lib/components/datagrid/body/header/data_grid_header_row.styles.js +1 -1
- package/lib/components/datagrid/controls/column_selector.styles.js +3 -1
- package/lib/components/datagrid/controls/column_sorting.styles.js +3 -1
- package/lib/components/datagrid/data_grid.styles.js +19 -4
- package/lib/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
- package/lib/components/datagrid/utils/scrolling.styles.js +14 -5
- package/lib/components/date_picker/date_picker.styles.js +3 -1
- package/lib/components/date_picker/date_picker_range.styles.js +3 -1
- package/lib/components/date_picker/react_date_picker.styles.js +80 -27
- package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +17 -3
- package/lib/components/description_list/description_list_title.styles.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.styles.js +7 -2
- package/lib/components/error_boundary/error_boundary.styles.js +12 -5
- package/lib/components/expression/expression.styles.js +7 -3
- package/lib/components/filter_group/filter_button.styles.js +7 -5
- package/lib/components/filter_group/filter_group.styles.js +5 -1
- package/lib/components/filter_group/filter_select_item.styles.js +1 -1
- package/lib/components/flyout/_flyout_close_button.styles.js +3 -1
- package/lib/components/flyout/flyout.styles.js +3 -1
- package/lib/components/flyout/flyout_body.styles.js +5 -1
- package/lib/components/flyout/flyout_footer.styles.js +5 -1
- package/lib/components/form/file_picker/file_picker.styles.js +1 -1
- package/lib/components/form/form.styles.js +70 -27
- package/lib/components/form/form_control_layout/form_control_layout.styles.js +7 -2
- package/lib/components/form/form_control_layout/form_control_layout_clear_button.js +3 -2
- package/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +19 -6
- package/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/lib/components/form/radio/radio.js +1 -1
- package/lib/components/form/range/dual_range.js +2 -2
- package/lib/components/form/range/range.styles.js +21 -11
- package/lib/components/form/range/range_highlight.styles.js +2 -1
- package/lib/components/form/range/range_levels.styles.js +6 -6
- package/lib/components/form/range/range_levels_colors.js +2 -1
- package/lib/components/form/range/range_slider.js +3 -3
- package/lib/components/form/range/range_slider.styles.js +1 -6
- package/lib/components/form/range/range_thumb.styles.js +1 -1
- package/lib/components/form/range/range_ticks.styles.js +8 -3
- package/lib/components/form/range/range_tooltip.styles.js +4 -3
- package/lib/components/form/range/range_track.styles.js +6 -1
- package/lib/components/form/switch/switch.styles.js +43 -34
- package/lib/components/header/header.styles.js +3 -2
- package/lib/components/horizontal_rule/horizontal_rule.styles.js +8 -3
- package/lib/components/i18n/i18n.js +1 -1
- package/lib/components/i18n/i18n_util.js +1 -1
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/image/image.styles.js +7 -2
- package/lib/components/image/image_button.styles.js +6 -2
- package/lib/components/inline_edit/inline_edit_form.js +1 -1
- package/lib/components/inline_edit/inline_edit_form.styles.js +1 -1
- package/lib/components/inline_edit/inline_edit_text.js +1 -1
- package/lib/components/inline_edit/inline_edit_title.js +1 -1
- package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +18 -5
- package/lib/components/link/link.styles.js +1 -1
- package/lib/components/loading/loading_chart.js +3 -6
- package/lib/components/loading/loading_chart.styles.js +13 -28
- package/lib/components/loading/loading_spinner.styles.js +18 -9
- package/lib/components/mark/mark.styles.js +11 -3
- package/lib/components/markdown_editor/markdown_format.styles.js +17 -15
- package/lib/components/modal/modal.styles.js +5 -2
- package/lib/components/overlay_mask/overlay_mask.styles.js +3 -2
- package/lib/components/panel/panel.js +28 -3
- package/lib/components/panel/panel.styles.js +34 -9
- package/lib/components/panel/split_panel/split_panel.js +21 -4
- package/lib/components/panel/split_panel/split_panel.styles.js +29 -9
- package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +4 -3
- package/lib/components/popover/popover_footer.styles.js +3 -2
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +8 -7
- package/lib/components/progress/progress.js +2 -5
- package/lib/components/progress/progress.styles.js +66 -32
- package/lib/components/provider/component_defaults/component_defaults.js +37 -1
- package/lib/components/provider/provider.js +16 -16
- package/lib/components/provider/system_defaults/index.js +19 -0
- package/lib/components/provider/{system_color_mode/system_color_mode_provider.js → system_defaults/match_media_hook.js} +11 -18
- package/lib/components/provider/system_defaults/system_defaults_provider.js +37 -0
- package/lib/components/resizable_container/resizable_button.styles.js +22 -5
- package/lib/components/resizable_container/resizable_panel.styles.js +5 -1
- package/lib/components/side_nav/side_nav_item.styles.js +2 -2
- package/lib/components/skeleton/skeleton_circle.styles.js +3 -2
- package/lib/components/skeleton/skeleton_rectangle.styles.js +3 -2
- package/lib/components/skeleton/skeleton_text.styles.js +2 -1
- package/lib/components/skeleton/skeleton_title.styles.js +2 -1
- package/lib/components/skeleton/utils.js +4 -2
- package/lib/components/stat/stat.styles.js +1 -1
- package/lib/components/steps/step.styles.js +10 -12
- package/lib/components/steps/step_horizontal.js +3 -4
- package/lib/components/steps/step_horizontal.styles.js +7 -4
- package/lib/components/steps/step_number.js +5 -8
- package/lib/components/steps/step_number.styles.js +48 -27
- package/lib/components/steps/sub_steps.styles.js +6 -3
- package/lib/components/table/table_row.styles.js +10 -3
- package/lib/components/table/table_row_cell.styles.js +2 -2
- package/lib/components/tabs/tab.styles.js +10 -6
- package/lib/components/tabs/tabs.styles.js +5 -1
- package/lib/components/text/text.styles.js +16 -4
- package/lib/components/text/text_color.styles.js +1 -1
- package/lib/components/text_truncate/text_truncate.js +4 -3
- package/lib/components/text_truncate/text_truncate.styles.js +36 -38
- package/lib/components/timeline/timeline.styles.js +6 -5
- package/lib/components/timeline/timeline_item_icon.styles.js +6 -11
- package/lib/components/title/title.styles.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/toast/toast.styles.js +41 -7
- package/lib/components/token/token.styles.js +23 -17
- package/lib/components/tool_tip/tool_tip.styles.js +5 -4
- package/lib/components/tour/_tour_header.styles.js +1 -1
- package/lib/components/tour/tour.styles.js +1 -1
- package/lib/global_styling/functions/high_contrast.js +59 -0
- package/lib/global_styling/functions/index.js +11 -0
- package/lib/global_styling/mixins/_button.js +23 -6
- package/lib/global_styling/mixins/_color.js +4 -0
- package/lib/global_styling/mixins/_shadow.js +6 -12
- package/lib/global_styling/reset/global_styles.js +1 -1
- package/lib/services/copy/copy_to_clipboard.js +2 -3
- package/lib/services/popover/popover_arrow.styles.js +8 -4
- package/lib/services/popover/popover_positioning.js +2 -2
- package/lib/services/theme/context.js +12 -5
- package/lib/services/theme/high_contrast_overrides.js +74 -0
- package/lib/services/theme/hooks.js +3 -1
- package/lib/services/theme/index.js +6 -0
- package/lib/services/theme/provider.js +43 -16
- package/lib/themes/amsterdam/global_styling/variables/_components.js +342 -317
- package/optimize/es/components/avatar/avatar.js +16 -3
- package/optimize/es/components/avatar/avatar.styles.js +13 -7
- package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +5 -8
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +6 -5
- package/optimize/es/components/beacon/beacon.styles.js +4 -3
- package/optimize/es/components/bottom_bar/bottom_bar.styles.js +5 -2
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +23 -6
- package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +10 -4
- package/optimize/es/components/breadcrumbs/breadcrumbs.styles.js +1 -3
- package/optimize/es/components/button/button_group/button_group.styles.js +19 -3
- package/optimize/es/components/button/button_group/button_group_button.styles.js +8 -6
- package/optimize/es/components/call_out/call_out.styles.js +1 -1
- package/optimize/es/components/card/card.styles.js +3 -6
- package/optimize/es/components/code/code_block.styles.js +7 -2
- package/optimize/es/components/code/code_block_annotations.style.js +10 -3
- package/optimize/es/components/code/code_block_line.styles.js +17 -5
- package/optimize/es/components/code/code_syntax.styles.js +14 -3
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +2 -2
- package/optimize/es/components/color_picker/color_palette_display/color_palette_display.styles.js +6 -5
- package/optimize/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +12 -10
- package/optimize/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -2
- package/optimize/es/components/color_picker/color_picker.styles.js +5 -3
- package/optimize/es/components/color_picker/color_picker_swatch.styles.js +6 -1
- package/optimize/es/components/color_picker/hue.styles.js +12 -2
- package/optimize/es/components/color_picker/saturation.styles.js +21 -6
- package/optimize/es/components/color_picker/utils.js +2 -2
- package/optimize/es/components/comment_list/comment_event.js +6 -3
- package/optimize/es/components/comment_list/comment_event.styles.js +5 -1
- package/optimize/es/components/context_menu/context_menu_item.styles.js +2 -2
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +4 -1
- package/optimize/es/components/datagrid/body/footer/data_grid_footer.styles.js +1 -1
- package/optimize/es/components/datagrid/body/header/data_grid_header_row.styles.js +1 -1
- package/optimize/es/components/datagrid/controls/column_selector.styles.js +3 -1
- package/optimize/es/components/datagrid/controls/column_sorting.styles.js +3 -1
- package/optimize/es/components/datagrid/data_grid.styles.js +19 -4
- package/optimize/es/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
- package/optimize/es/components/datagrid/utils/scrolling.styles.js +14 -5
- package/optimize/es/components/date_picker/date_picker.styles.js +3 -1
- package/optimize/es/components/date_picker/date_picker_range.styles.js +3 -1
- package/optimize/es/components/date_picker/react_date_picker.styles.js +76 -22
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +18 -4
- package/optimize/es/components/description_list/description_list_title.styles.js +1 -1
- package/optimize/es/components/empty_prompt/empty_prompt.styles.js +7 -2
- package/optimize/es/components/error_boundary/error_boundary.styles.js +12 -5
- package/optimize/es/components/expression/expression.styles.js +7 -3
- package/optimize/es/components/filter_group/filter_button.styles.js +7 -5
- package/optimize/es/components/filter_group/filter_group.styles.js +5 -1
- package/optimize/es/components/filter_group/filter_select_item.styles.js +1 -1
- package/optimize/es/components/flyout/_flyout_close_button.styles.js +3 -1
- package/optimize/es/components/flyout/flyout.styles.js +3 -1
- package/optimize/es/components/flyout/flyout_body.styles.js +5 -1
- package/optimize/es/components/flyout/flyout_footer.styles.js +5 -1
- package/optimize/es/components/form/file_picker/file_picker.styles.js +1 -1
- package/optimize/es/components/form/form.styles.js +69 -26
- package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +7 -2
- package/optimize/es/components/form/form_control_layout/form_control_layout_clear_button.js +3 -2
- package/optimize/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +19 -6
- package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/optimize/es/components/form/radio/radio.js +1 -1
- package/optimize/es/components/form/range/dual_range.js +2 -2
- package/optimize/es/components/form/range/range.styles.js +21 -11
- package/optimize/es/components/form/range/range_highlight.styles.js +2 -1
- package/optimize/es/components/form/range/range_levels.styles.js +6 -6
- package/optimize/es/components/form/range/range_levels_colors.js +2 -1
- package/optimize/es/components/form/range/range_slider.js +4 -4
- package/optimize/es/components/form/range/range_slider.styles.js +0 -5
- package/optimize/es/components/form/range/range_thumb.styles.js +1 -1
- package/optimize/es/components/form/range/range_ticks.styles.js +9 -4
- package/optimize/es/components/form/range/range_tooltip.styles.js +4 -3
- package/optimize/es/components/form/range/range_track.styles.js +6 -1
- package/optimize/es/components/form/switch/switch.styles.js +43 -34
- package/optimize/es/components/header/header.styles.js +3 -2
- package/optimize/es/components/horizontal_rule/horizontal_rule.styles.js +8 -3
- package/optimize/es/components/i18n/i18n.js +1 -1
- package/optimize/es/components/i18n/i18n_util.js +1 -1
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/image/image.styles.js +7 -2
- package/optimize/es/components/image/image_button.styles.js +6 -2
- package/optimize/es/components/inline_edit/inline_edit_form.styles.js +1 -1
- package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +18 -5
- package/optimize/es/components/link/link.styles.js +1 -1
- package/optimize/es/components/loading/loading_chart.js +2 -4
- package/optimize/es/components/loading/loading_chart.styles.js +13 -23
- package/optimize/es/components/loading/loading_spinner.styles.js +18 -9
- package/optimize/es/components/mark/mark.styles.js +11 -3
- package/optimize/es/components/markdown_editor/markdown_format.styles.js +17 -15
- package/optimize/es/components/modal/modal.styles.js +5 -2
- package/optimize/es/components/overlay_mask/overlay_mask.styles.js +3 -2
- package/optimize/es/components/panel/panel.js +24 -4
- package/optimize/es/components/panel/panel.styles.js +33 -8
- package/optimize/es/components/panel/split_panel/split_panel.js +17 -5
- package/optimize/es/components/panel/split_panel/split_panel.styles.js +29 -9
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +4 -3
- package/optimize/es/components/popover/popover_footer.styles.js +3 -2
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +8 -7
- package/optimize/es/components/progress/progress.js +2 -2
- package/optimize/es/components/progress/progress.styles.js +66 -32
- package/optimize/es/components/provider/component_defaults/component_defaults.js +13 -0
- package/optimize/es/components/provider/provider.js +16 -16
- package/optimize/es/components/provider/{system_color_mode → system_defaults}/index.js +2 -1
- package/optimize/es/components/provider/{system_color_mode/system_color_mode_provider.js → system_defaults/match_media_hook.js} +10 -12
- package/optimize/es/components/provider/system_defaults/system_defaults_provider.js +30 -0
- package/optimize/es/components/resizable_container/resizable_button.styles.js +22 -5
- package/optimize/es/components/resizable_container/resizable_panel.styles.js +5 -1
- package/optimize/es/components/side_nav/side_nav_item.styles.js +2 -2
- package/optimize/es/components/skeleton/skeleton_circle.styles.js +3 -2
- package/optimize/es/components/skeleton/skeleton_rectangle.styles.js +3 -2
- package/optimize/es/components/skeleton/skeleton_text.styles.js +2 -1
- package/optimize/es/components/skeleton/skeleton_title.styles.js +2 -1
- package/optimize/es/components/skeleton/utils.js +4 -2
- package/optimize/es/components/stat/stat.styles.js +1 -1
- package/optimize/es/components/steps/step.styles.js +10 -12
- package/optimize/es/components/steps/step_horizontal.js +4 -5
- package/optimize/es/components/steps/step_horizontal.styles.js +8 -5
- package/optimize/es/components/steps/step_number.js +6 -9
- package/optimize/es/components/steps/step_number.styles.js +45 -27
- package/optimize/es/components/steps/sub_steps.styles.js +6 -3
- package/optimize/es/components/table/table_row.styles.js +11 -4
- package/optimize/es/components/table/table_row_cell.styles.js +2 -2
- package/optimize/es/components/tabs/tab.styles.js +10 -6
- package/optimize/es/components/tabs/tabs.styles.js +5 -1
- package/optimize/es/components/text/text.styles.js +16 -4
- package/optimize/es/components/text/text_color.styles.js +1 -1
- package/optimize/es/components/text_truncate/text_truncate.js +3 -2
- package/optimize/es/components/text_truncate/text_truncate.styles.js +36 -38
- package/optimize/es/components/timeline/timeline.styles.js +6 -5
- package/optimize/es/components/timeline/timeline_item_icon.styles.js +6 -11
- package/optimize/es/components/title/title.styles.js +1 -1
- package/optimize/es/components/toast/toast.js +1 -1
- package/optimize/es/components/toast/toast.styles.js +42 -8
- package/optimize/es/components/token/token.styles.js +23 -17
- package/optimize/es/components/tool_tip/tool_tip.styles.js +5 -4
- package/optimize/es/components/tour/_tour_header.styles.js +1 -1
- package/optimize/es/components/tour/tour.styles.js +1 -1
- package/optimize/es/global_styling/functions/high_contrast.js +53 -0
- package/optimize/es/global_styling/functions/index.js +1 -0
- package/optimize/es/global_styling/mixins/_button.js +19 -4
- package/optimize/es/global_styling/mixins/_color.js +4 -0
- package/optimize/es/global_styling/mixins/_shadow.js +6 -12
- package/optimize/es/global_styling/reset/global_styles.js +1 -1
- package/optimize/es/services/copy/copy_to_clipboard.js +2 -3
- package/optimize/es/services/popover/popover_arrow.styles.js +8 -4
- package/optimize/es/services/popover/popover_positioning.js +2 -2
- package/optimize/es/services/theme/context.js +11 -4
- package/optimize/es/services/theme/high_contrast_overrides.js +68 -0
- package/optimize/es/services/theme/hooks.js +4 -2
- package/optimize/es/services/theme/index.js +1 -1
- package/optimize/es/services/theme/provider.js +44 -17
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +342 -317
- package/optimize/lib/components/avatar/avatar.js +15 -2
- package/optimize/lib/components/avatar/avatar.styles.js +12 -6
- package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +4 -7
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +6 -5
- package/optimize/lib/components/beacon/beacon.styles.js +4 -3
- package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +4 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +23 -6
- package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +10 -4
- package/optimize/lib/components/breadcrumbs/breadcrumbs.styles.js +1 -3
- package/optimize/lib/components/button/button_group/button_group.styles.js +19 -3
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +8 -6
- package/optimize/lib/components/call_out/call_out.styles.js +1 -1
- package/optimize/lib/components/card/card.styles.js +2 -5
- package/optimize/lib/components/code/code_block.styles.js +7 -2
- package/optimize/lib/components/code/code_block_annotations.style.js +10 -3
- package/optimize/lib/components/code/code_block_line.styles.js +17 -5
- package/optimize/lib/components/code/code_syntax.styles.js +15 -4
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +2 -2
- package/optimize/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +6 -5
- package/optimize/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +15 -10
- package/optimize/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -2
- package/optimize/lib/components/color_picker/color_picker.styles.js +5 -3
- package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +6 -1
- package/optimize/lib/components/color_picker/hue.styles.js +12 -2
- package/optimize/lib/components/color_picker/saturation.styles.js +21 -6
- package/optimize/lib/components/color_picker/utils.js +2 -2
- package/optimize/lib/components/comment_list/comment_event.js +5 -2
- package/optimize/lib/components/comment_list/comment_event.styles.js +5 -1
- package/optimize/lib/components/context_menu/context_menu_item.styles.js +2 -2
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +4 -1
- package/optimize/lib/components/datagrid/body/footer/data_grid_footer.styles.js +1 -1
- package/optimize/lib/components/datagrid/body/header/data_grid_header_row.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_selector.styles.js +3 -1
- package/optimize/lib/components/datagrid/controls/column_sorting.styles.js +3 -1
- package/optimize/lib/components/datagrid/data_grid.styles.js +19 -4
- package/optimize/lib/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
- package/optimize/lib/components/datagrid/utils/scrolling.styles.js +14 -5
- package/optimize/lib/components/date_picker/date_picker.styles.js +3 -1
- package/optimize/lib/components/date_picker/date_picker_range.styles.js +3 -1
- package/optimize/lib/components/date_picker/react_date_picker.styles.js +78 -27
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +17 -3
- package/optimize/lib/components/description_list/description_list_title.styles.js +1 -1
- package/optimize/lib/components/empty_prompt/empty_prompt.styles.js +7 -2
- package/optimize/lib/components/error_boundary/error_boundary.styles.js +12 -5
- package/optimize/lib/components/expression/expression.styles.js +7 -3
- package/optimize/lib/components/filter_group/filter_button.styles.js +7 -5
- package/optimize/lib/components/filter_group/filter_group.styles.js +5 -1
- package/optimize/lib/components/filter_group/filter_select_item.styles.js +1 -1
- package/optimize/lib/components/flyout/_flyout_close_button.styles.js +3 -1
- package/optimize/lib/components/flyout/flyout.styles.js +3 -1
- package/optimize/lib/components/flyout/flyout_body.styles.js +5 -1
- package/optimize/lib/components/flyout/flyout_footer.styles.js +5 -1
- package/optimize/lib/components/form/file_picker/file_picker.styles.js +1 -1
- package/optimize/lib/components/form/form.styles.js +70 -27
- package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +7 -2
- package/optimize/lib/components/form/form_control_layout/form_control_layout_clear_button.js +3 -2
- package/optimize/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +19 -6
- package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/optimize/lib/components/form/radio/radio.js +1 -1
- package/optimize/lib/components/form/range/dual_range.js +2 -2
- package/optimize/lib/components/form/range/range.styles.js +21 -11
- package/optimize/lib/components/form/range/range_highlight.styles.js +2 -1
- package/optimize/lib/components/form/range/range_levels.styles.js +6 -6
- package/optimize/lib/components/form/range/range_levels_colors.js +2 -1
- package/optimize/lib/components/form/range/range_slider.js +3 -3
- package/optimize/lib/components/form/range/range_slider.styles.js +1 -6
- package/optimize/lib/components/form/range/range_thumb.styles.js +1 -1
- package/optimize/lib/components/form/range/range_ticks.styles.js +8 -3
- package/optimize/lib/components/form/range/range_tooltip.styles.js +4 -3
- package/optimize/lib/components/form/range/range_track.styles.js +6 -1
- package/optimize/lib/components/form/switch/switch.styles.js +43 -34
- package/optimize/lib/components/header/header.styles.js +3 -2
- package/optimize/lib/components/horizontal_rule/horizontal_rule.styles.js +8 -3
- package/optimize/lib/components/i18n/i18n.js +1 -1
- package/optimize/lib/components/i18n/i18n_util.js +1 -1
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/image/image.styles.js +7 -2
- package/optimize/lib/components/image/image_button.styles.js +6 -2
- package/optimize/lib/components/inline_edit/inline_edit_form.styles.js +1 -1
- package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +18 -5
- package/optimize/lib/components/link/link.styles.js +1 -1
- package/optimize/lib/components/loading/loading_chart.js +2 -4
- package/optimize/lib/components/loading/loading_chart.styles.js +13 -23
- package/optimize/lib/components/loading/loading_spinner.styles.js +18 -9
- package/optimize/lib/components/mark/mark.styles.js +11 -3
- package/optimize/lib/components/markdown_editor/markdown_format.styles.js +17 -15
- package/optimize/lib/components/modal/modal.styles.js +5 -2
- package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +3 -2
- package/optimize/lib/components/panel/panel.js +23 -3
- package/optimize/lib/components/panel/panel.styles.js +34 -9
- package/optimize/lib/components/panel/split_panel/split_panel.js +19 -4
- package/optimize/lib/components/panel/split_panel/split_panel.styles.js +29 -9
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +4 -3
- package/optimize/lib/components/popover/popover_footer.styles.js +3 -2
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +8 -7
- package/optimize/lib/components/progress/progress.js +2 -5
- package/optimize/lib/components/progress/progress.styles.js +66 -32
- package/optimize/lib/components/provider/component_defaults/component_defaults.js +14 -1
- package/optimize/lib/components/provider/provider.js +16 -16
- package/optimize/lib/components/provider/system_defaults/index.js +19 -0
- package/optimize/lib/components/provider/{system_color_mode/system_color_mode_provider.js → system_defaults/match_media_hook.js} +11 -13
- package/optimize/lib/components/provider/system_defaults/system_defaults_provider.js +37 -0
- package/optimize/lib/components/resizable_container/resizable_button.styles.js +22 -5
- package/optimize/lib/components/resizable_container/resizable_panel.styles.js +5 -1
- package/optimize/lib/components/side_nav/side_nav_item.styles.js +2 -2
- package/optimize/lib/components/skeleton/skeleton_circle.styles.js +3 -2
- package/optimize/lib/components/skeleton/skeleton_rectangle.styles.js +3 -2
- package/optimize/lib/components/skeleton/skeleton_text.styles.js +2 -1
- package/optimize/lib/components/skeleton/skeleton_title.styles.js +2 -1
- package/optimize/lib/components/skeleton/utils.js +4 -2
- package/optimize/lib/components/stat/stat.styles.js +1 -1
- package/optimize/lib/components/steps/step.styles.js +10 -12
- package/optimize/lib/components/steps/step_horizontal.js +3 -4
- package/optimize/lib/components/steps/step_horizontal.styles.js +7 -4
- package/optimize/lib/components/steps/step_number.js +5 -8
- package/optimize/lib/components/steps/step_number.styles.js +46 -27
- package/optimize/lib/components/steps/sub_steps.styles.js +6 -3
- package/optimize/lib/components/table/table_row.styles.js +10 -3
- package/optimize/lib/components/table/table_row_cell.styles.js +2 -2
- package/optimize/lib/components/tabs/tab.styles.js +10 -6
- package/optimize/lib/components/tabs/tabs.styles.js +5 -1
- package/optimize/lib/components/text/text.styles.js +16 -4
- package/optimize/lib/components/text/text_color.styles.js +1 -1
- package/optimize/lib/components/text_truncate/text_truncate.js +4 -3
- package/optimize/lib/components/text_truncate/text_truncate.styles.js +36 -38
- package/optimize/lib/components/timeline/timeline.styles.js +6 -5
- package/optimize/lib/components/timeline/timeline_item_icon.styles.js +6 -11
- package/optimize/lib/components/title/title.styles.js +1 -1
- package/optimize/lib/components/toast/toast.js +1 -1
- package/optimize/lib/components/toast/toast.styles.js +41 -7
- package/optimize/lib/components/token/token.styles.js +23 -17
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +5 -4
- package/optimize/lib/components/tour/_tour_header.styles.js +1 -1
- package/optimize/lib/components/tour/tour.styles.js +1 -1
- package/optimize/lib/global_styling/functions/high_contrast.js +59 -0
- package/optimize/lib/global_styling/functions/index.js +11 -0
- package/optimize/lib/global_styling/mixins/_button.js +19 -5
- package/optimize/lib/global_styling/mixins/_color.js +4 -0
- package/optimize/lib/global_styling/mixins/_shadow.js +6 -12
- package/optimize/lib/global_styling/reset/global_styles.js +1 -1
- package/optimize/lib/services/copy/copy_to_clipboard.js +2 -3
- package/optimize/lib/services/popover/popover_arrow.styles.js +8 -4
- package/optimize/lib/services/popover/popover_positioning.js +2 -2
- package/optimize/lib/services/theme/context.js +12 -5
- package/optimize/lib/services/theme/high_contrast_overrides.js +72 -0
- package/optimize/lib/services/theme/hooks.js +3 -1
- package/optimize/lib/services/theme/index.js +6 -0
- package/optimize/lib/services/theme/provider.js +43 -16
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +342 -317
- package/package.json +3 -2
- package/test-env/components/avatar/avatar.js +15 -2
- package/test-env/components/avatar/avatar.styles.js +12 -6
- package/test-env/components/badge/beta_badge/beta_badge.styles.js +4 -7
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +6 -5
- package/test-env/components/beacon/beacon.styles.js +4 -3
- package/test-env/components/bottom_bar/bottom_bar.styles.js +4 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +23 -6
- package/test-env/components/breadcrumbs/breadcrumb.styles.js +10 -4
- package/test-env/components/breadcrumbs/breadcrumbs.styles.js +1 -3
- package/test-env/components/button/button_group/button_group.styles.js +19 -3
- package/test-env/components/button/button_group/button_group_button.styles.js +8 -6
- package/test-env/components/call_out/call_out.styles.js +1 -1
- package/test-env/components/card/card.styles.js +2 -5
- package/test-env/components/code/code_block.styles.js +7 -2
- package/test-env/components/code/code_block_annotations.style.js +10 -3
- package/test-env/components/code/code_block_line.styles.js +17 -5
- package/test-env/components/code/code_syntax.styles.js +15 -4
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +2 -2
- package/test-env/components/color_picker/color_palette_display/color_palette_display.styles.js +6 -5
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +15 -10
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -2
- package/test-env/components/color_picker/color_picker.styles.js +5 -3
- package/test-env/components/color_picker/color_picker_swatch.styles.js +6 -1
- package/test-env/components/color_picker/hue.styles.js +12 -2
- package/test-env/components/color_picker/saturation.styles.js +21 -6
- package/test-env/components/color_picker/utils.js +2 -2
- package/test-env/components/comment_list/comment_event.js +5 -2
- package/test-env/components/comment_list/comment_event.styles.js +5 -1
- package/test-env/components/context_menu/context_menu_item.styles.js +2 -2
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.styles.js +4 -1
- package/test-env/components/datagrid/body/footer/data_grid_footer.styles.js +1 -1
- package/test-env/components/datagrid/body/header/data_grid_header_row.styles.js +1 -1
- package/test-env/components/datagrid/controls/column_selector.styles.js +3 -1
- package/test-env/components/datagrid/controls/column_sorting.styles.js +3 -1
- package/test-env/components/datagrid/data_grid.styles.js +19 -4
- package/test-env/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
- package/test-env/components/datagrid/utils/scrolling.styles.js +14 -5
- package/test-env/components/date_picker/date_picker.styles.js +3 -1
- package/test-env/components/date_picker/date_picker_range.styles.js +3 -1
- package/test-env/components/date_picker/react_date_picker.styles.js +78 -27
- package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +17 -3
- package/test-env/components/description_list/description_list_title.styles.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.styles.js +7 -2
- package/test-env/components/error_boundary/error_boundary.styles.js +12 -5
- package/test-env/components/expression/expression.styles.js +7 -3
- package/test-env/components/filter_group/filter_button.styles.js +7 -5
- package/test-env/components/filter_group/filter_group.styles.js +5 -1
- package/test-env/components/filter_group/filter_select_item.styles.js +1 -1
- package/test-env/components/flyout/_flyout_close_button.styles.js +3 -1
- package/test-env/components/flyout/flyout.styles.js +3 -1
- package/test-env/components/flyout/flyout_body.styles.js +5 -1
- package/test-env/components/flyout/flyout_footer.styles.js +5 -1
- package/test-env/components/form/file_picker/file_picker.styles.js +1 -1
- package/test-env/components/form/form.styles.js +70 -27
- package/test-env/components/form/form_control_layout/form_control_layout.styles.js +7 -2
- package/test-env/components/form/form_control_layout/form_control_layout_clear_button.js +3 -2
- package/test-env/components/form/form_control_layout/form_control_layout_clear_button.styles.js +19 -6
- package/test-env/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/test-env/components/form/radio/radio.js +1 -1
- package/test-env/components/form/range/dual_range.js +2 -2
- package/test-env/components/form/range/range.styles.js +21 -11
- package/test-env/components/form/range/range_highlight.styles.js +2 -1
- package/test-env/components/form/range/range_levels.styles.js +6 -6
- package/test-env/components/form/range/range_levels_colors.js +2 -1
- package/test-env/components/form/range/range_slider.js +3 -3
- package/test-env/components/form/range/range_slider.styles.js +1 -6
- package/test-env/components/form/range/range_thumb.styles.js +1 -1
- package/test-env/components/form/range/range_ticks.styles.js +8 -3
- package/test-env/components/form/range/range_tooltip.styles.js +4 -3
- package/test-env/components/form/range/range_track.styles.js +6 -1
- package/test-env/components/form/switch/switch.styles.js +43 -34
- package/test-env/components/header/header.styles.js +3 -2
- package/test-env/components/horizontal_rule/horizontal_rule.styles.js +8 -3
- package/test-env/components/i18n/i18n.js +1 -1
- package/test-env/components/i18n/i18n_util.js +1 -1
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/image/image.styles.js +7 -2
- package/test-env/components/image/image_button.styles.js +6 -2
- package/test-env/components/inline_edit/inline_edit_form.js +1 -1
- package/test-env/components/inline_edit/inline_edit_form.styles.js +1 -1
- package/test-env/components/inline_edit/inline_edit_text.js +1 -1
- package/test-env/components/inline_edit/inline_edit_title.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +18 -5
- package/test-env/components/link/link.styles.js +1 -1
- package/test-env/components/loading/loading_chart.js +3 -6
- package/test-env/components/loading/loading_chart.styles.js +13 -23
- package/test-env/components/loading/loading_spinner.styles.js +18 -9
- package/test-env/components/mark/mark.styles.js +11 -3
- package/test-env/components/markdown_editor/markdown_format.styles.js +17 -15
- package/test-env/components/modal/modal.styles.js +5 -2
- package/test-env/components/overlay_mask/overlay_mask.styles.js +3 -2
- package/test-env/components/panel/panel.js +23 -3
- package/test-env/components/panel/panel.styles.js +34 -9
- package/test-env/components/panel/split_panel/split_panel.js +19 -4
- package/test-env/components/panel/split_panel/split_panel.styles.js +29 -9
- package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +4 -3
- package/test-env/components/popover/popover_footer.styles.js +3 -2
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +8 -7
- package/test-env/components/progress/progress.js +2 -5
- package/test-env/components/progress/progress.styles.js +66 -32
- package/test-env/components/provider/component_defaults/component_defaults.js +37 -1
- package/test-env/components/provider/provider.js +16 -16
- package/test-env/components/provider/system_defaults/index.js +19 -0
- package/test-env/components/provider/{system_color_mode/system_color_mode_provider.js → system_defaults/match_media_hook.js} +11 -17
- package/test-env/components/provider/system_defaults/system_defaults_provider.js +37 -0
- package/test-env/components/resizable_container/resizable_button.styles.js +22 -5
- package/test-env/components/resizable_container/resizable_panel.styles.js +5 -1
- package/test-env/components/side_nav/side_nav_item.styles.js +2 -2
- package/test-env/components/skeleton/skeleton_circle.styles.js +3 -2
- package/test-env/components/skeleton/skeleton_rectangle.styles.js +3 -2
- package/test-env/components/skeleton/skeleton_text.styles.js +2 -1
- package/test-env/components/skeleton/skeleton_title.styles.js +2 -1
- package/test-env/components/skeleton/utils.js +4 -2
- package/test-env/components/stat/stat.styles.js +1 -1
- package/test-env/components/steps/step.styles.js +10 -12
- package/test-env/components/steps/step_horizontal.js +3 -4
- package/test-env/components/steps/step_horizontal.styles.js +7 -4
- package/test-env/components/steps/step_number.js +5 -8
- package/test-env/components/steps/step_number.styles.js +46 -27
- package/test-env/components/steps/sub_steps.styles.js +6 -3
- package/test-env/components/table/table_row.styles.js +10 -3
- package/test-env/components/table/table_row_cell.styles.js +2 -2
- package/test-env/components/tabs/tab.styles.js +10 -6
- package/test-env/components/tabs/tabs.styles.js +5 -1
- package/test-env/components/text/text.styles.js +16 -4
- package/test-env/components/text/text_color.styles.js +1 -1
- package/test-env/components/text_truncate/text_truncate.js +4 -3
- package/test-env/components/text_truncate/text_truncate.styles.js +36 -38
- package/test-env/components/timeline/timeline.styles.js +6 -5
- package/test-env/components/timeline/timeline_item_icon.styles.js +6 -11
- package/test-env/components/title/title.styles.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/toast/toast.styles.js +41 -7
- package/test-env/components/token/token.styles.js +23 -17
- package/test-env/components/tool_tip/tool_tip.styles.js +5 -4
- package/test-env/components/tour/_tour_header.styles.js +1 -1
- package/test-env/components/tour/tour.styles.js +1 -1
- package/test-env/global_styling/functions/high_contrast.js +59 -0
- package/test-env/global_styling/functions/index.js +11 -0
- package/test-env/global_styling/mixins/_button.js +19 -5
- package/test-env/global_styling/mixins/_color.js +4 -0
- package/test-env/global_styling/mixins/_shadow.js +6 -12
- package/test-env/global_styling/reset/global_styles.js +1 -1
- package/test-env/services/copy/copy_to_clipboard.js +2 -3
- package/test-env/services/popover/popover_arrow.styles.js +8 -4
- package/test-env/services/popover/popover_positioning.js +2 -2
- package/test-env/services/theme/context.js +12 -5
- package/test-env/services/theme/high_contrast_overrides.js +72 -0
- package/test-env/services/theme/hooks.js +3 -1
- package/test-env/services/theme/index.js +6 -0
- package/test-env/services/theme/provider.js +43 -16
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +342 -317
- package/lib/components/provider/system_color_mode/index.js +0 -12
- package/optimize/lib/components/provider/system_color_mode/index.js +0 -12
- package/test-env/components/provider/system_color_mode/index.js +0 -12
package/eui.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare module '@elastic/eui/src/global_styling/variables/breakpoint' {
|
|
|
86
86
|
|
|
87
87
|
}
|
|
88
88
|
declare module '@elastic/eui/src/components/common' {
|
|
89
|
-
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComponentProps, Component, FunctionComponent, JSXElementConstructor, MouseEventHandler } from 'react';
|
|
89
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComponentProps, Component, FunctionComponent, JSXElementConstructor, MouseEventHandler, JSX } from 'react';
|
|
90
90
|
import { Interpolation, Theme } from '@emotion/react';
|
|
91
91
|
export type { RecursivePartial, ValueOf } from '@elastic/eui-theme-common';
|
|
92
92
|
export interface CommonProps {
|
|
@@ -169,7 +169,7 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
169
169
|
|
|
170
170
|
}
|
|
171
171
|
declare module '@elastic/eui/src/services/theme/types' {
|
|
172
|
-
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, } from '@elastic/eui-theme-common';
|
|
172
|
+
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';
|
|
173
173
|
|
|
174
174
|
}
|
|
175
175
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
@@ -177,10 +177,21 @@ declare module '@elastic/eui/src/services/theme/utils' {
|
|
|
177
177
|
|
|
178
178
|
}
|
|
179
179
|
declare module '@elastic/eui/src/services/theme/context' {
|
|
180
|
-
import { EuiThemeColorModeStandard, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
180
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
181
|
+
export const DEFAULTS: {
|
|
182
|
+
system: {
|
|
183
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
184
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
185
|
+
key: string;
|
|
186
|
+
};
|
|
187
|
+
modifications: {};
|
|
188
|
+
colorMode: "LIGHT";
|
|
189
|
+
highContrastMode: false;
|
|
190
|
+
};
|
|
181
191
|
export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
|
|
182
192
|
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>>;
|
|
183
193
|
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
194
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
184
195
|
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
185
196
|
export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
|
|
186
197
|
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
@@ -196,13 +207,14 @@ declare module '@elastic/eui/src/services/theme/warning' {
|
|
|
196
207
|
}
|
|
197
208
|
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
198
209
|
import React from 'react';
|
|
199
|
-
import type { EuiThemeColorModeStandard, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
210
|
+
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
200
211
|
/**
|
|
201
212
|
* Hook for function components
|
|
202
213
|
*/
|
|
203
214
|
export interface UseEuiTheme<T extends {} = {}> {
|
|
204
215
|
euiTheme: EuiThemeComputed<T>;
|
|
205
216
|
colorMode: EuiThemeColorModeStandard;
|
|
217
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
206
218
|
modifications: EuiThemeModifications<T>;
|
|
207
219
|
}
|
|
208
220
|
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
@@ -411,6 +423,71 @@ declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
|
411
423
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
412
424
|
export {};
|
|
413
425
|
|
|
426
|
+
}
|
|
427
|
+
declare module '@elastic/eui/src/services/theme/high_contrast_overrides' {
|
|
428
|
+
import type { EuiThemeHighContrastMode, EuiThemeColorModeStandard, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
429
|
+
export const useHighContrastModifications: ({ highContrastMode, colorMode, system, modifications, }: {
|
|
430
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
431
|
+
colorMode: EuiThemeColorModeStandard;
|
|
432
|
+
system: EuiThemeSystem;
|
|
433
|
+
modifications: EuiThemeModifications;
|
|
434
|
+
}) => import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShape> | {
|
|
435
|
+
colors: {
|
|
436
|
+
LIGHT: {
|
|
437
|
+
borderBasePrimary: string;
|
|
438
|
+
borderBaseAccent: string;
|
|
439
|
+
borderBaseAccentSecondary: string;
|
|
440
|
+
borderBaseSuccess: string;
|
|
441
|
+
borderBaseWarning: string;
|
|
442
|
+
borderBaseDanger: string;
|
|
443
|
+
borderBasePlain: string;
|
|
444
|
+
borderBaseSubdued: string;
|
|
445
|
+
borderBaseDisabled: string;
|
|
446
|
+
borderBaseFloating: string;
|
|
447
|
+
borderBaseFormsControl: string;
|
|
448
|
+
borderStrongPrimary: string;
|
|
449
|
+
borderStrongAccent: string;
|
|
450
|
+
borderStrongAccentSecondary: string;
|
|
451
|
+
borderStrongSuccess: string;
|
|
452
|
+
borderStrongWarning: string;
|
|
453
|
+
borderStrongDanger: string;
|
|
454
|
+
};
|
|
455
|
+
DARK: {
|
|
456
|
+
borderBasePrimary: string;
|
|
457
|
+
borderBaseAccent: string;
|
|
458
|
+
borderBaseAccentSecondary: string;
|
|
459
|
+
borderBaseSuccess: string;
|
|
460
|
+
borderBaseWarning: string;
|
|
461
|
+
borderBaseDanger: string;
|
|
462
|
+
borderBasePlain: string;
|
|
463
|
+
borderBaseSubdued: string;
|
|
464
|
+
borderBaseDisabled: string;
|
|
465
|
+
borderBaseFloating: string;
|
|
466
|
+
borderBaseFormsControl: string;
|
|
467
|
+
borderStrongPrimary: string;
|
|
468
|
+
borderStrongAccent: string;
|
|
469
|
+
borderStrongAccentSecondary: string;
|
|
470
|
+
borderStrongSuccess: string;
|
|
471
|
+
borderStrongWarning: string;
|
|
472
|
+
borderStrongDanger: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
border: {
|
|
476
|
+
color: string;
|
|
477
|
+
thin: string;
|
|
478
|
+
thick: string;
|
|
479
|
+
};
|
|
480
|
+
base?: number | undefined;
|
|
481
|
+
size?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeSizes> | undefined;
|
|
482
|
+
font?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeFont> | undefined;
|
|
483
|
+
focus?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeFocus> | undefined;
|
|
484
|
+
animation?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeAnimation> | undefined;
|
|
485
|
+
breakpoint?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeBreakpoints> | undefined;
|
|
486
|
+
levels?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeLevels> | undefined;
|
|
487
|
+
components?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeComponents> | undefined;
|
|
488
|
+
flags?: import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common")._EuiThemeFlags> | undefined;
|
|
489
|
+
};
|
|
490
|
+
|
|
414
491
|
}
|
|
415
492
|
declare module '@elastic/eui/src/services/color/is_color_dark' {
|
|
416
493
|
/**
|
|
@@ -683,6 +760,35 @@ declare module '@elastic/eui/src/global_styling/mixins/_color' {
|
|
|
683
760
|
*/
|
|
684
761
|
export const useEuiBorderColorCSS: () => Record<"primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "transparent" | "plain" | "subdued" | "highlighted", SerializedStyles>;
|
|
685
762
|
|
|
763
|
+
}
|
|
764
|
+
declare module '@elastic/eui/src/global_styling/functions/high_contrast' {
|
|
765
|
+
import type { UseEuiTheme } from '@elastic/eui/src/services';
|
|
766
|
+
/**
|
|
767
|
+
* Minor syntactical sugar for conditional high contrast styles.
|
|
768
|
+
* Ternaries are otherwise somewhat ugly in css`` template literals,
|
|
769
|
+
* and this makes life just a little more beautiful ✨
|
|
770
|
+
*/
|
|
771
|
+
export const highContrastModeStyles: (euiThemeContext: UseEuiTheme, options: {
|
|
772
|
+
/** Default styles to render (no high contrast mode) */
|
|
773
|
+
none?: string;
|
|
774
|
+
/** Styles to render when high contrast mode is preferred or forced */
|
|
775
|
+
preferred?: string;
|
|
776
|
+
/** Styles to render when high contrast mode is being forced */
|
|
777
|
+
forced?: string;
|
|
778
|
+
}) => string;
|
|
779
|
+
/**
|
|
780
|
+
* Small uitility that allows component styles to ignore/override
|
|
781
|
+
* forced colors modes (primarily Windows high contrast themes)
|
|
782
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/forced-color-adjust
|
|
783
|
+
*
|
|
784
|
+
* WARNING: Do *not* use this utility unless:
|
|
785
|
+
* 1. Colors/backgrounds are **essential** to the semantic meaning of the UI,
|
|
786
|
+
* and users will lose all meaning without them
|
|
787
|
+
* 2. Tweaks have been made to existing styles to increase color contrast
|
|
788
|
+
* as necessary
|
|
789
|
+
*/
|
|
790
|
+
export const preventForcedColors: ({ highContrastMode }: UseEuiTheme) => "" | "forced-color-adjust: none;";
|
|
791
|
+
|
|
686
792
|
}
|
|
687
793
|
declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
688
794
|
import { CSSProperties } from 'react';
|
|
@@ -924,6 +1030,7 @@ declare module '@elastic/eui/src/global_styling/functions/typography' {
|
|
|
924
1030
|
|
|
925
1031
|
}
|
|
926
1032
|
declare module '@elastic/eui/src/global_styling/functions' {
|
|
1033
|
+
export * from '@elastic/eui/src/global_styling/functions/high_contrast';
|
|
927
1034
|
export * from '@elastic/eui/src/global_styling/functions/logicals';
|
|
928
1035
|
export * from '@elastic/eui/src/global_styling/functions/logical_shorthands';
|
|
929
1036
|
export * from '@elastic/eui/src/global_styling/functions/math';
|
|
@@ -1145,6 +1252,11 @@ declare module '@elastic/eui/src/global_styling/mixins/_button' {
|
|
|
1145
1252
|
* @returns Style object `{ backgroundColor, color }`
|
|
1146
1253
|
*/
|
|
1147
1254
|
export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
|
|
1255
|
+
border: string;
|
|
1256
|
+
color: string;
|
|
1257
|
+
backgroundColor: string;
|
|
1258
|
+
} | {
|
|
1259
|
+
border?: undefined;
|
|
1148
1260
|
color: string;
|
|
1149
1261
|
backgroundColor: string;
|
|
1150
1262
|
};
|
|
@@ -1155,6 +1267,11 @@ declare module '@elastic/eui/src/global_styling/mixins/_button' {
|
|
|
1155
1267
|
* @returns Style object `{ backgroundColor, color }`
|
|
1156
1268
|
*/
|
|
1157
1269
|
export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
|
|
1270
|
+
border: string;
|
|
1271
|
+
color: string;
|
|
1272
|
+
backgroundColor: string;
|
|
1273
|
+
} | {
|
|
1274
|
+
border?: undefined;
|
|
1158
1275
|
color: string;
|
|
1159
1276
|
backgroundColor: string;
|
|
1160
1277
|
};
|
|
@@ -1203,14 +1320,14 @@ declare module '@elastic/eui/src/global_styling/mixins/_button' {
|
|
|
1203
1320
|
|
|
1204
1321
|
}
|
|
1205
1322
|
declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
|
|
1206
|
-
import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type
|
|
1323
|
+
import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
|
|
1207
1324
|
export { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, };
|
|
1208
1325
|
export interface EuiShadowCustomColor {
|
|
1209
1326
|
color?: string;
|
|
1210
1327
|
}
|
|
1211
|
-
export const useEuiSlightShadowHover: (
|
|
1212
|
-
export const useEuiShadowFlat: (
|
|
1213
|
-
export const useEuiShadow: (size?: _EuiThemeShadowSize,
|
|
1328
|
+
export const useEuiSlightShadowHover: (options?: EuiShadowOptions | undefined) => string;
|
|
1329
|
+
export const useEuiShadowFlat: (options?: EuiShadowOptions | undefined) => string;
|
|
1330
|
+
export const useEuiShadow: (size?: _EuiThemeShadowSize, options?: EuiShadowOptions | undefined) => string;
|
|
1214
1331
|
|
|
1215
1332
|
}
|
|
1216
1333
|
declare module '@elastic/eui/src/global_styling/mixins' {
|
|
@@ -1423,6 +1540,41 @@ declare module '@elastic/eui/src/components/title/title.styles' {
|
|
|
1423
1540
|
};
|
|
1424
1541
|
export {};
|
|
1425
1542
|
|
|
1543
|
+
}
|
|
1544
|
+
declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
1545
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
1546
|
+
export const euiCodeTextColors: ({ euiTheme }: UseEuiTheme) => {
|
|
1547
|
+
backgroundColor: string;
|
|
1548
|
+
color: string;
|
|
1549
|
+
};
|
|
1550
|
+
export const euiCodeSyntaxVariables: (euiThemeContext: UseEuiTheme) => {
|
|
1551
|
+
backgroundColor: string;
|
|
1552
|
+
color: string;
|
|
1553
|
+
inlineCodeColor: string;
|
|
1554
|
+
selectedBackgroundColor: string;
|
|
1555
|
+
commentColor: string;
|
|
1556
|
+
selectorTagColor: string;
|
|
1557
|
+
stringColor: string;
|
|
1558
|
+
tagColor: string;
|
|
1559
|
+
nameColor: string;
|
|
1560
|
+
numberColor: string;
|
|
1561
|
+
keywordColor: string;
|
|
1562
|
+
inlineCodeKeywordColor: string;
|
|
1563
|
+
functionTitleColor: string;
|
|
1564
|
+
typeColor: string;
|
|
1565
|
+
attributeColor: string;
|
|
1566
|
+
symbolColor: string;
|
|
1567
|
+
paramsColor: string;
|
|
1568
|
+
metaColor: string;
|
|
1569
|
+
titleColor: string;
|
|
1570
|
+
sectionColor: string;
|
|
1571
|
+
additionColor: string;
|
|
1572
|
+
deletionColor: string;
|
|
1573
|
+
selectorClassColor: string;
|
|
1574
|
+
selectorIdColor: string;
|
|
1575
|
+
readonly tokensCss: string;
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1426
1578
|
}
|
|
1427
1579
|
declare module '@elastic/eui/src/components/text/text.styles' {
|
|
1428
1580
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -1475,11 +1627,11 @@ declare module '@elastic/eui/src/components/text' {
|
|
|
1475
1627
|
|
|
1476
1628
|
}
|
|
1477
1629
|
declare module '@elastic/eui/src/components/context/context' {
|
|
1478
|
-
import React, { Context, FunctionComponent,
|
|
1630
|
+
import React, { Context, FunctionComponent, ReactNode } from 'react';
|
|
1479
1631
|
export interface RenderableValues {
|
|
1480
|
-
[key: string]:
|
|
1632
|
+
[key: string]: ReactNode | undefined;
|
|
1481
1633
|
}
|
|
1482
|
-
export type Renderable<T> =
|
|
1634
|
+
export type Renderable<T> = ReactNode | ((values: T) => ReactNode);
|
|
1483
1635
|
export interface I18nShape {
|
|
1484
1636
|
mapping?: {
|
|
1485
1637
|
[key: string]: Renderable<object>;
|
|
@@ -1537,7 +1689,7 @@ declare module '@elastic/eui/src/services/predicate' {
|
|
|
1537
1689
|
|
|
1538
1690
|
}
|
|
1539
1691
|
declare module '@elastic/eui/src/components/i18n/i18n_util' {
|
|
1540
|
-
import {
|
|
1692
|
+
import { ReactNode } from 'react';
|
|
1541
1693
|
import { RenderableValues } from '@elastic/eui/src/components/context/context';
|
|
1542
1694
|
/**
|
|
1543
1695
|
* Replaces placeholder values in `input` with their matching value in `values`
|
|
@@ -1545,13 +1697,13 @@ declare module '@elastic/eui/src/components/i18n/i18n_util' {
|
|
|
1545
1697
|
* @param {string} input
|
|
1546
1698
|
* @param {RenderableValues} values
|
|
1547
1699
|
* @param {Function} i18nMappingFunc
|
|
1548
|
-
* @returns {string |
|
|
1700
|
+
* @returns {string | ReactNode[]}
|
|
1549
1701
|
*/
|
|
1550
|
-
export function processStringToChildren(input: string, values: RenderableValues, i18nMappingFunc?: (token: string) => string): string |
|
|
1702
|
+
export function processStringToChildren(input: string, values: RenderableValues, i18nMappingFunc?: (token: string) => string): string | ReactNode[];
|
|
1551
1703
|
|
|
1552
1704
|
}
|
|
1553
1705
|
declare module '@elastic/eui/src/components/i18n/i18n' {
|
|
1554
|
-
import React, {
|
|
1706
|
+
import React, { ReactElement, ReactNode } from 'react';
|
|
1555
1707
|
import { ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
1556
1708
|
import { Renderable } from '@elastic/eui/src/components/context/context'; type ResolvedType<T> = T extends (...args: any[]) => any ? ReturnType<T> : T;
|
|
1557
1709
|
interface I18nTokenShape<T, DEFAULT extends Renderable<T>> {
|
|
@@ -1560,7 +1712,7 @@ declare module '@elastic/eui/src/components/i18n/i18n' {
|
|
|
1560
1712
|
/**
|
|
1561
1713
|
* Render function that returns a ReactElement
|
|
1562
1714
|
*/
|
|
1563
|
-
children?: (x: ResolvedType<DEFAULT>) =>
|
|
1715
|
+
children?: (x: ResolvedType<DEFAULT>) => ReactNode;
|
|
1564
1716
|
values?: T;
|
|
1565
1717
|
}
|
|
1566
1718
|
export interface I18nTokensShape<T extends any[]> {
|
|
@@ -1569,26 +1721,26 @@ declare module '@elastic/eui/src/components/i18n/i18n' {
|
|
|
1569
1721
|
/**
|
|
1570
1722
|
* Render function that returns a ReactElement
|
|
1571
1723
|
*/
|
|
1572
|
-
children: (x: Array<T[number]>) =>
|
|
1573
|
-
values?: Record<string,
|
|
1724
|
+
children: (x: Array<T[number]>) => ReactNode;
|
|
1725
|
+
values?: Record<string, ReactNode>;
|
|
1574
1726
|
}
|
|
1575
|
-
export type EuiI18nProps<T, DEFAULT extends Renderable<T>, DEFAULTS extends any[]> = ExclusiveUnion<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>>; const EuiI18n: <T extends {}, DEFAULT extends Renderable<T>, DEFAULTS extends any[]>(props: (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>> & I18nTokensShape<DEFAULTS>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokensShape<DEFAULTS>, I18nTokenShape<T, DEFAULT>> & I18nTokenShape<T, DEFAULT>)) => React.JSX.Element; type DefaultRenderType<T, K extends Renderable<T>> = K extends
|
|
1727
|
+
export type EuiI18nProps<T, DEFAULT extends Renderable<T>, DEFAULTS extends any[]> = ExclusiveUnion<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>>; const EuiI18n: <T extends {}, DEFAULT extends Renderable<T>, DEFAULTS extends any[]>(props: (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>> & I18nTokensShape<DEFAULTS>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokensShape<DEFAULTS>, I18nTokenShape<T, DEFAULT>> & I18nTokenShape<T, DEFAULT>)) => React.JSX.Element; type DefaultRenderType<T, K extends Renderable<T>> = K extends ReactNode ? K : K extends () => infer RetValue ? RetValue : never; type DefaultsRenderType<K extends Array<string | ReactElement>> = K extends Array<infer Item> ? Item : never; function useEuiI18n<T extends {}, DEFAULT extends Renderable<T>>(token: string, defaultValue: DEFAULT, values?: T): DefaultRenderType<T, DEFAULT>; function useEuiI18n<DEFAULTS extends Array<string | ReactElement>>(tokens: string[], defaultValues: DEFAULTS): Array<DefaultsRenderType<DEFAULTS>>;
|
|
1576
1728
|
export { EuiI18n, useEuiI18n };
|
|
1577
1729
|
|
|
1578
1730
|
}
|
|
1579
1731
|
declare module '@elastic/eui/src/components/i18n/i18n_number' {
|
|
1580
|
-
import { FunctionComponent,
|
|
1732
|
+
import { FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
1581
1733
|
import { ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
1582
1734
|
interface EuiI18nNumberValueShape {
|
|
1583
1735
|
value: number;
|
|
1584
|
-
children?: (x:
|
|
1736
|
+
children?: (x: ReactNode) => ReactElement<any>;
|
|
1585
1737
|
}
|
|
1586
1738
|
interface EuiI18nNumberValuesShape {
|
|
1587
1739
|
values: number[];
|
|
1588
1740
|
/**
|
|
1589
1741
|
* ReactNode to render as this component's content
|
|
1590
1742
|
*/
|
|
1591
|
-
children: (x:
|
|
1743
|
+
children: (x: ReactNode[]) => ReactElement<any>;
|
|
1592
1744
|
}
|
|
1593
1745
|
export type EuiI18nNumberProps = ExclusiveUnion<EuiI18nNumberValueShape, EuiI18nNumberValuesShape>; const EuiI18nNumber: FunctionComponent<EuiI18nNumberProps>;
|
|
1594
1746
|
export { EuiI18nNumber };
|
|
@@ -1895,7 +2047,8 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
|
|
|
1895
2047
|
|
|
1896
2048
|
}
|
|
1897
2049
|
declare module '@elastic/eui/src/components/text_truncate/text_truncate.styles' {
|
|
1898
|
-
|
|
2050
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
2051
|
+
export const euiTextTruncateStyles: (euiThemeContext: UseEuiTheme) => {
|
|
1899
2052
|
euiTextTruncate: import("@emotion/react").SerializedStyles;
|
|
1900
2053
|
/**
|
|
1901
2054
|
* The below CSS is a hack to get double clicking and selecting the *full* text
|
|
@@ -3060,7 +3213,7 @@ declare module '@elastic/eui/src/services/popover/popover_arrow.styles' {
|
|
|
3060
3213
|
/**
|
|
3061
3214
|
* Arrow clipping/transform/positioning CSS shared between EuiPopover and EuiToolTip
|
|
3062
3215
|
*/
|
|
3063
|
-
export const _popoverArrowStyles: ({ euiTheme }: UseEuiTheme, arrowSize: string) => {
|
|
3216
|
+
export const _popoverArrowStyles: ({ euiTheme, colorMode, highContrastMode }: UseEuiTheme, arrowSize: string) => {
|
|
3064
3217
|
_arrowStyles: string;
|
|
3065
3218
|
positions: {
|
|
3066
3219
|
top: import("@emotion/react").SerializedStyles;
|
|
@@ -3077,6 +3230,25 @@ declare module '@elastic/eui/src/services/popover' {
|
|
|
3077
3230
|
export { _popoverArrowStyles } from '@elastic/eui/src/services/popover/popover_arrow.styles';
|
|
3078
3231
|
export type { EuiPopoverPosition } from '@elastic/eui/src/services/popover/types';
|
|
3079
3232
|
|
|
3233
|
+
}
|
|
3234
|
+
declare module '@elastic/eui/src/components/panel/panel.styles' {
|
|
3235
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
3236
|
+
export const euiPanelBorderStyles: (euiThemeContext: UseEuiTheme, options?: {
|
|
3237
|
+
borderColor?: string | undefined;
|
|
3238
|
+
hasFloatingBorder?: boolean | undefined;
|
|
3239
|
+
} | undefined) => string;
|
|
3240
|
+
export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
3241
|
+
euiPanel: import("@emotion/react").SerializedStyles;
|
|
3242
|
+
grow: import("@emotion/react").SerializedStyles;
|
|
3243
|
+
hasShadow: import("@emotion/react").SerializedStyles;
|
|
3244
|
+
hasBorder: import("@emotion/react").SerializedStyles;
|
|
3245
|
+
radius: {
|
|
3246
|
+
none: import("@emotion/react").SerializedStyles;
|
|
3247
|
+
m: import("@emotion/react").SerializedStyles;
|
|
3248
|
+
};
|
|
3249
|
+
isClickable: import("@emotion/react").SerializedStyles;
|
|
3250
|
+
};
|
|
3251
|
+
|
|
3080
3252
|
}
|
|
3081
3253
|
declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
|
|
3082
3254
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -3344,10 +3516,8 @@ declare module '@elastic/eui/src/components/loading/loading_chart.styles' {
|
|
|
3344
3516
|
xl: import("@emotion/react").SerializedStyles;
|
|
3345
3517
|
};
|
|
3346
3518
|
export const BARS_COUNT = 4;
|
|
3347
|
-
export const euiLoadingChartBarStyles: (
|
|
3519
|
+
export const euiLoadingChartBarStyles: (euiThemeContext: UseEuiTheme) => {
|
|
3348
3520
|
euiLoadingChart__bar: import("@emotion/react").SerializedStyles;
|
|
3349
|
-
nonmono: import("@emotion/react").SerializedStyles;
|
|
3350
|
-
mono: import("@emotion/react").SerializedStyles;
|
|
3351
3521
|
m: import("@emotion/react").SerializedStyles;
|
|
3352
3522
|
l: import("@emotion/react").SerializedStyles;
|
|
3353
3523
|
xl: import("@emotion/react").SerializedStyles;
|
|
@@ -3361,7 +3531,6 @@ declare module '@elastic/eui/src/components/loading/loading_chart' {
|
|
|
3361
3531
|
export type EuiLoadingChartSize = (typeof SIZES)[number];
|
|
3362
3532
|
export type EuiLoadingChartProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
3363
3533
|
size?: EuiLoadingChartSize;
|
|
3364
|
-
mono?: boolean;
|
|
3365
3534
|
};
|
|
3366
3535
|
export const EuiLoadingChart: FunctionComponent<EuiLoadingChartProps>;
|
|
3367
3536
|
|
|
@@ -3369,7 +3538,7 @@ declare module '@elastic/eui/src/components/loading/loading_chart' {
|
|
|
3369
3538
|
declare module '@elastic/eui/src/components/loading/loading_spinner.styles' {
|
|
3370
3539
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
3371
3540
|
import { EuiLoadingSpinnerColor } from '@elastic/eui/src/components/loading/loading_spinner';
|
|
3372
|
-
export const euiSpinnerBorderColorsCSS: ({ euiTheme }: UseEuiTheme, colors?: EuiLoadingSpinnerColor) => string;
|
|
3541
|
+
export const euiSpinnerBorderColorsCSS: ({ euiTheme, highContrastMode }: UseEuiTheme, colors?: EuiLoadingSpinnerColor) => string;
|
|
3373
3542
|
export const euiLoadingSpinnerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
3374
3543
|
euiLoadingSpinner: import("@emotion/react").SerializedStyles;
|
|
3375
3544
|
s: import("@emotion/react").SerializedStyles;
|
|
@@ -3785,6 +3954,7 @@ declare module '@elastic/eui/src/components/form/form.styles' {
|
|
|
3785
3954
|
controlCompressedBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
3786
3955
|
iconAffordance: string;
|
|
3787
3956
|
iconCompressedAffordance: string;
|
|
3957
|
+
stateUnderlineHeight: string | number | undefined;
|
|
3788
3958
|
};
|
|
3789
3959
|
export const euiFormControlStyles: (euiThemeContext: UseEuiTheme) => {
|
|
3790
3960
|
shared: string;
|
|
@@ -3806,11 +3976,12 @@ declare module '@elastic/eui/src/components/form/form.styles' {
|
|
|
3806
3976
|
withBackgroundColor?: boolean | undefined;
|
|
3807
3977
|
withBackgroundAnimation?: boolean | undefined;
|
|
3808
3978
|
}) => string;
|
|
3809
|
-
export const euiFormControlFocusStyles: (
|
|
3810
|
-
export const euiFormControlInvalidStyles: (
|
|
3979
|
+
export const euiFormControlFocusStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
3980
|
+
export const euiFormControlInvalidStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
3811
3981
|
export const euiFormControlDisabledStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
3812
3982
|
export const euiFormControlReadOnlyStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
3813
3983
|
export const euiFormControlAutoFillStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
3984
|
+
export const euiFormControlShowBackgroundUnderline: (euiThemeContext: UseEuiTheme, color: string) => string;
|
|
3814
3985
|
/**
|
|
3815
3986
|
* Selection custom controls - checkboxes, radios, and switches
|
|
3816
3987
|
*/
|
|
@@ -3846,8 +4017,9 @@ declare module '@elastic/eui/src/components/form/form.styles' {
|
|
|
3846
4017
|
unselected: string;
|
|
3847
4018
|
};
|
|
3848
4019
|
disabled: {
|
|
3849
|
-
|
|
3850
|
-
|
|
4020
|
+
readonly shared: string;
|
|
4021
|
+
readonly selected: string;
|
|
4022
|
+
readonly unselected: string;
|
|
3851
4023
|
};
|
|
3852
4024
|
icon: string;
|
|
3853
4025
|
hiddenInput: string;
|
|
@@ -4065,7 +4237,7 @@ declare module '@elastic/eui/src/components/button' {
|
|
|
4065
4237
|
}
|
|
4066
4238
|
declare module '@elastic/eui/src/components/horizontal_rule/horizontal_rule.styles' {
|
|
4067
4239
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4068
|
-
export const euiHorizontalRuleStyles: (
|
|
4240
|
+
export const euiHorizontalRuleStyles: (euiThemeContext: UseEuiTheme) => {
|
|
4069
4241
|
euiHorizontalRule: import("@emotion/react").SerializedStyles;
|
|
4070
4242
|
full: import("@emotion/react").SerializedStyles;
|
|
4071
4243
|
half: import("@emotion/react").SerializedStyles;
|
|
@@ -5145,7 +5317,7 @@ declare module '@elastic/eui/src/components/table/table_header_cell' {
|
|
|
5145
5317
|
import type { EuiTableColumnNameTooltipProps } from '@elastic/eui/src/components/basic_table/table_types';
|
|
5146
5318
|
import { HEADER_CELL_SCOPE } from '@elastic/eui/src/components/table/table_header_cell_shared';
|
|
5147
5319
|
export type TableHeaderCellScope = (typeof HEADER_CELL_SCOPE)[number];
|
|
5148
|
-
export type EuiTableHeaderCellProps = CommonProps & Omit<ThHTMLAttributes<
|
|
5320
|
+
export type EuiTableHeaderCellProps = CommonProps & Omit<ThHTMLAttributes<HTMLTableCellElement>, 'align' | 'scope'> & {
|
|
5149
5321
|
align?: HorizontalAlignment;
|
|
5150
5322
|
isSortAscending?: boolean;
|
|
5151
5323
|
isSorted?: boolean;
|
|
@@ -5180,7 +5352,7 @@ declare module '@elastic/eui/src/components/table/table_header_cell_checkbox' {
|
|
|
5180
5352
|
scope?: EuiTableHeaderCellCheckboxScope;
|
|
5181
5353
|
append?: ReactNode;
|
|
5182
5354
|
}
|
|
5183
|
-
export const EuiTableHeaderCellCheckbox: FunctionComponent<CommonProps & ThHTMLAttributes<
|
|
5355
|
+
export const EuiTableHeaderCellCheckbox: FunctionComponent<CommonProps & ThHTMLAttributes<HTMLTableCellElement> & EuiTableHeaderCellCheckboxProps>;
|
|
5184
5356
|
|
|
5185
5357
|
}
|
|
5186
5358
|
declare module '@elastic/eui/src/components/table/mobile/table_header_mobile.styles' {
|
|
@@ -5390,6 +5562,12 @@ declare module '@elastic/eui/src/components/provider/component_defaults/componen
|
|
|
5390
5562
|
export const EuiComponentDefaultsProvider: FunctionComponent<EuiComponentDefaultsProviderProps>;
|
|
5391
5563
|
export const useComponentDefaults: () => EuiComponentDefaults;
|
|
5392
5564
|
export const usePropsWithComponentDefaults: <TComponentName extends keyof EuiComponentDefaults, TComponentProps>(componentName: TComponentName, props: TComponentProps) => TComponentProps;
|
|
5565
|
+
/**
|
|
5566
|
+
* Used only to generate prop type definitions (via `@elastic/eui-docgen`) to document `EuiComponentDefaults` in a props table.
|
|
5567
|
+
*
|
|
5568
|
+
* @see https://github.com/elastic/eui/issues/8388
|
|
5569
|
+
*/
|
|
5570
|
+
export const EuiProviderComponentDefaultsProps: FunctionComponent<EuiComponentDefaults>;
|
|
5393
5571
|
|
|
5394
5572
|
}
|
|
5395
5573
|
declare module '@elastic/eui/src/components/provider/component_defaults' {
|
|
@@ -5552,21 +5730,6 @@ declare module '@elastic/eui/src/components/popover/popover.styles' {
|
|
|
5552
5730
|
euiPopover: import("@emotion/react").SerializedStyles;
|
|
5553
5731
|
};
|
|
5554
5732
|
|
|
5555
|
-
}
|
|
5556
|
-
declare module '@elastic/eui/src/components/panel/panel.styles' {
|
|
5557
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
5558
|
-
export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
|
|
5559
|
-
euiPanel: import("@emotion/react").SerializedStyles;
|
|
5560
|
-
grow: import("@emotion/react").SerializedStyles;
|
|
5561
|
-
hasShadow: import("@emotion/react").SerializedStyles;
|
|
5562
|
-
hasBorder: import("@emotion/react").SerializedStyles;
|
|
5563
|
-
radius: {
|
|
5564
|
-
none: import("@emotion/react").SerializedStyles;
|
|
5565
|
-
m: import("@emotion/react").SerializedStyles;
|
|
5566
|
-
};
|
|
5567
|
-
isClickable: import("@emotion/react").SerializedStyles;
|
|
5568
|
-
};
|
|
5569
|
-
|
|
5570
5733
|
}
|
|
5571
5734
|
declare module '@elastic/eui/src/components/panel/panel' {
|
|
5572
5735
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
@@ -5616,6 +5779,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5616
5779
|
}
|
|
5617
5780
|
export type EuiPanelProps = ExclusiveUnion<_EuiPanelButtonlike, _EuiPanelDivlike>;
|
|
5618
5781
|
export const EuiPanel: FunctionComponent<EuiPanelProps>;
|
|
5782
|
+
export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, 'color' | 'hasBorder'>) => boolean;
|
|
5619
5783
|
export {};
|
|
5620
5784
|
|
|
5621
5785
|
}
|
|
@@ -6051,12 +6215,18 @@ declare module '@elastic/eui/src/components/form/eui_form_context' {
|
|
|
6051
6215
|
}
|
|
6052
6216
|
declare module '@elastic/eui/src/components/form/form_control_layout/form_control_layout_clear_button.styles' {
|
|
6053
6217
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
6054
|
-
export const EuiFormControlLayoutClearButtonStyles: ({ euiTheme, colorMode, }: UseEuiTheme) => {
|
|
6218
|
+
export const EuiFormControlLayoutClearButtonStyles: ({ euiTheme, colorMode, highContrastMode, }: UseEuiTheme) => {
|
|
6055
6219
|
euiFormControlLayoutClearButton: import("@emotion/react").SerializedStyles;
|
|
6056
|
-
euiFormControlLayoutClearButton__icon: import("@emotion/react").SerializedStyles;
|
|
6057
6220
|
size: {
|
|
6058
|
-
s:
|
|
6059
|
-
m:
|
|
6221
|
+
s: string;
|
|
6222
|
+
m: string;
|
|
6223
|
+
};
|
|
6224
|
+
icon: {
|
|
6225
|
+
euiFormControlLayoutClearButton__icon: import("@emotion/react").SerializedStyles;
|
|
6226
|
+
size: {
|
|
6227
|
+
s: import("@emotion/react").SerializedStyles;
|
|
6228
|
+
m: import("@emotion/react").SerializedStyles;
|
|
6229
|
+
};
|
|
6060
6230
|
};
|
|
6061
6231
|
};
|
|
6062
6232
|
|
|
@@ -6791,10 +6961,11 @@ declare module '@elastic/eui/src/services/color' {
|
|
|
6791
6961
|
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6792
6962
|
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6793
6963
|
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6794
|
-
import { EuiThemeColorMode, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6964
|
+
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6795
6965
|
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
6796
6966
|
theme?: EuiThemeSystem<T>;
|
|
6797
6967
|
colorMode?: EuiThemeColorMode;
|
|
6968
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
6798
6969
|
modify?: EuiThemeModifications<T>;
|
|
6799
6970
|
children: any;
|
|
6800
6971
|
/**
|
|
@@ -6811,11 +6982,11 @@ declare module '@elastic/eui/src/services/theme/provider' {
|
|
|
6811
6982
|
cloneElement?: boolean;
|
|
6812
6983
|
};
|
|
6813
6984
|
}
|
|
6814
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6985
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6815
6986
|
|
|
6816
6987
|
}
|
|
6817
6988
|
declare module '@elastic/eui/src/services/theme' {
|
|
6818
|
-
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6989
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6819
6990
|
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6820
6991
|
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
|
|
6821
6992
|
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
@@ -6823,7 +6994,7 @@ declare module '@elastic/eui/src/services/theme' {
|
|
|
6823
6994
|
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6824
6995
|
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6825
6996
|
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6826
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6997
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6827
6998
|
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6828
6999
|
|
|
6829
7000
|
}
|
|
@@ -7770,30 +7941,65 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
|
|
|
7770
7941
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
7771
7942
|
export const euiBadgeColors: (euiThemeContext: UseEuiTheme) => {
|
|
7772
7943
|
primary: {
|
|
7944
|
+
border: string;
|
|
7945
|
+
color: string;
|
|
7946
|
+
backgroundColor: string;
|
|
7947
|
+
} | {
|
|
7948
|
+
border?: undefined;
|
|
7773
7949
|
color: string;
|
|
7774
7950
|
backgroundColor: string;
|
|
7775
7951
|
};
|
|
7776
7952
|
success: {
|
|
7953
|
+
border: string;
|
|
7954
|
+
color: string;
|
|
7955
|
+
backgroundColor: string;
|
|
7956
|
+
} | {
|
|
7957
|
+
border?: undefined;
|
|
7777
7958
|
color: string;
|
|
7778
7959
|
backgroundColor: string;
|
|
7779
7960
|
};
|
|
7780
7961
|
warning: {
|
|
7962
|
+
border: string;
|
|
7963
|
+
color: string;
|
|
7964
|
+
backgroundColor: string;
|
|
7965
|
+
} | {
|
|
7966
|
+
border?: undefined;
|
|
7781
7967
|
color: string;
|
|
7782
7968
|
backgroundColor: string;
|
|
7783
7969
|
};
|
|
7784
7970
|
danger: {
|
|
7971
|
+
border: string;
|
|
7972
|
+
color: string;
|
|
7973
|
+
backgroundColor: string;
|
|
7974
|
+
} | {
|
|
7975
|
+
border?: undefined;
|
|
7785
7976
|
color: string;
|
|
7786
7977
|
backgroundColor: string;
|
|
7787
7978
|
};
|
|
7788
7979
|
accent: {
|
|
7980
|
+
border: string;
|
|
7981
|
+
color: string;
|
|
7982
|
+
backgroundColor: string;
|
|
7983
|
+
} | {
|
|
7984
|
+
border?: undefined;
|
|
7789
7985
|
color: string;
|
|
7790
7986
|
backgroundColor: string;
|
|
7791
7987
|
};
|
|
7792
7988
|
accentSecondary: {
|
|
7989
|
+
border: string;
|
|
7990
|
+
color: string;
|
|
7991
|
+
backgroundColor: string;
|
|
7992
|
+
} | {
|
|
7993
|
+
border?: undefined;
|
|
7793
7994
|
color: string;
|
|
7794
7995
|
backgroundColor: string;
|
|
7795
7996
|
};
|
|
7796
7997
|
disabled: {
|
|
7998
|
+
border: string;
|
|
7999
|
+
color: string;
|
|
8000
|
+
backgroundColor: string;
|
|
8001
|
+
} | {
|
|
8002
|
+
border?: undefined;
|
|
7797
8003
|
color: string;
|
|
7798
8004
|
backgroundColor: string;
|
|
7799
8005
|
};
|
|
@@ -8103,7 +8309,7 @@ declare module '@elastic/eui/src/components/badge' {
|
|
|
8103
8309
|
}
|
|
8104
8310
|
declare module '@elastic/eui/src/components/beacon/beacon.styles' {
|
|
8105
8311
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8106
|
-
export const euiBeaconStyles: (
|
|
8312
|
+
export const euiBeaconStyles: (euiThemeContext: UseEuiTheme) => {
|
|
8107
8313
|
euiBeacon: import("@emotion/react").SerializedStyles;
|
|
8108
8314
|
subdued: import("@emotion/react").SerializedStyles;
|
|
8109
8315
|
primary: import("@emotion/react").SerializedStyles;
|
|
@@ -8377,6 +8583,10 @@ declare module '@elastic/eui/src/components/breadcrumbs/types' {
|
|
|
8377
8583
|
truncateLastBreadcrumb?: boolean;
|
|
8378
8584
|
};
|
|
8379
8585
|
|
|
8586
|
+
}
|
|
8587
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button' {
|
|
8588
|
+
export { type _EuiButtonColor, type _EuiButtonDisplay, type _EuiButtonOptions, BUTTON_COLORS, BUTTON_DISPLAYS, euiButtonColor, euiButtonFillColor, euiButtonEmptyColor, useEuiButtonColorCSS, useEuiButtonFocusCSS, euiButtonSizeMap, } from '@elastic/eui/src/global_styling/mixins/_button';
|
|
8589
|
+
|
|
8380
8590
|
}
|
|
8381
8591
|
declare module '@elastic/eui/src/components/breadcrumbs/_breadcrumb_content.styles' {
|
|
8382
8592
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -8393,6 +8603,7 @@ declare module '@elastic/eui/src/components/breadcrumbs/_breadcrumb_content.styl
|
|
|
8393
8603
|
applicationStyles: {
|
|
8394
8604
|
onlyChild: import("@emotion/react").SerializedStyles;
|
|
8395
8605
|
firstChild: import("@emotion/react").SerializedStyles;
|
|
8606
|
+
intermediateChild: string;
|
|
8396
8607
|
lastChild: import("@emotion/react").SerializedStyles;
|
|
8397
8608
|
};
|
|
8398
8609
|
};
|
|
@@ -8461,13 +8672,19 @@ declare module '@elastic/eui/src/components/breadcrumbs' {
|
|
|
8461
8672
|
|
|
8462
8673
|
}
|
|
8463
8674
|
declare module '@elastic/eui/src/components/panel/split_panel/split_panel.styles' {
|
|
8675
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
8464
8676
|
export const euiSplitPanelOuterStyles: {
|
|
8465
8677
|
euiSplitPanelOuter: import("@emotion/react").SerializedStyles;
|
|
8466
8678
|
column: import("@emotion/react").SerializedStyles;
|
|
8467
8679
|
row: import("@emotion/react").SerializedStyles;
|
|
8468
8680
|
};
|
|
8469
|
-
export const euiSplitPanelInnerStyles: {
|
|
8681
|
+
export const euiSplitPanelInnerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
8470
8682
|
euiSplitPanelInner: import("@emotion/react").SerializedStyles;
|
|
8683
|
+
highContrastBorders: {
|
|
8684
|
+
_renderBorder: (direction: 'right' | 'bottom') => string;
|
|
8685
|
+
readonly column: string;
|
|
8686
|
+
readonly row: string;
|
|
8687
|
+
};
|
|
8471
8688
|
};
|
|
8472
8689
|
|
|
8473
8690
|
}
|
|
@@ -9332,14 +9549,15 @@ declare module '@elastic/eui/src/components/progress/progress.styles' {
|
|
|
9332
9549
|
/**
|
|
9333
9550
|
* Emotion styles
|
|
9334
9551
|
*/
|
|
9335
|
-
export const euiProgressStyles: (
|
|
9552
|
+
export const euiProgressStyles: (euiThemeContext: UseEuiTheme, isNative: boolean) => {
|
|
9336
9553
|
euiProgress: import("@emotion/react").SerializedStyles;
|
|
9337
9554
|
native: import("@emotion/react").SerializedStyles;
|
|
9338
9555
|
indeterminate: import("@emotion/react").SerializedStyles;
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9556
|
+
_sharedSizeCSS: (size: string) => string;
|
|
9557
|
+
readonly xs: import("@emotion/react").SerializedStyles;
|
|
9558
|
+
readonly s: import("@emotion/react").SerializedStyles;
|
|
9559
|
+
readonly m: import("@emotion/react").SerializedStyles;
|
|
9560
|
+
readonly l: import("@emotion/react").SerializedStyles;
|
|
9343
9561
|
fixed: import("@emotion/react").SerializedStyles;
|
|
9344
9562
|
absolute: import("@emotion/react").SerializedStyles;
|
|
9345
9563
|
static: import("@emotion/react").SerializedStyles;
|
|
@@ -9793,8 +10011,8 @@ declare module '@elastic/eui/src/components/form/range/range_levels_colors' {
|
|
|
9793
10011
|
import type { EuiRangeLevel } from '@elastic/eui/src/components/form/range/types';
|
|
9794
10012
|
export const LEVEL_COLORS: readonly ["primary", "success", "warning", "danger"];
|
|
9795
10013
|
export type EuiRangeLevelColor = (typeof LEVEL_COLORS)[number];
|
|
9796
|
-
export const isNamedLevelColor: (color?: string | undefined) =>
|
|
9797
|
-
export const euiRangeLevelColor: (color: EuiRangeLevelColor | string, euiTheme: UseEuiTheme
|
|
10014
|
+
export const isNamedLevelColor: (color?: string | undefined) => color is "primary" | "success" | "warning" | "danger";
|
|
10015
|
+
export const euiRangeLevelColor: (color: EuiRangeLevelColor | string, { euiTheme }: UseEuiTheme) => string;
|
|
9798
10016
|
export const getLevelColor: (levels: EuiRangeLevel[], value: number) => "primary" | "success" | "warning" | "danger" | import("csstype").Property.Color | undefined;
|
|
9799
10017
|
|
|
9800
10018
|
}
|
|
@@ -10002,14 +10220,15 @@ declare module '@elastic/eui/src/components/form/range/range.styles' {
|
|
|
10002
10220
|
thumbWidth: string;
|
|
10003
10221
|
thumbBorderWidth: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
10004
10222
|
thumbBorderColor: string;
|
|
10005
|
-
thumbBackgroundColor: string;
|
|
10223
|
+
readonly thumbBackgroundColor: string;
|
|
10006
10224
|
trackWidth: string;
|
|
10007
10225
|
trackHeight: string;
|
|
10008
10226
|
trackBorderWidth: string;
|
|
10009
|
-
trackBorderColor: string;
|
|
10227
|
+
readonly trackBorderColor: string;
|
|
10010
10228
|
trackBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
10011
10229
|
tickHeight: string;
|
|
10012
10230
|
tickWidth: string;
|
|
10231
|
+
tickColor: string;
|
|
10013
10232
|
disabledOpacity: number;
|
|
10014
10233
|
highlightHeight: string;
|
|
10015
10234
|
height: string;
|
|
@@ -10027,7 +10246,7 @@ declare module '@elastic/eui/src/components/form/range/range.styles' {
|
|
|
10027
10246
|
export const euiRangeThumbFocusBoxShadow: (euiThemeContext: UseEuiTheme) => string;
|
|
10028
10247
|
export const euiRangeThumbStyle: (euiThemeContext: UseEuiTheme) => string;
|
|
10029
10248
|
export const euiRangeThumbPerBrowser: (content: string) => string;
|
|
10030
|
-
export const euiRangeThumbFocus: (euiThemeContext: UseEuiTheme
|
|
10249
|
+
export const euiRangeThumbFocus: (euiThemeContext: UseEuiTheme) => string;
|
|
10031
10250
|
export const euiRangeStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
10032
10251
|
euiRange: import("@emotion/react").SerializedStyles;
|
|
10033
10252
|
hasInput: import("@emotion/react").SerializedStyles;
|
|
@@ -10154,9 +10373,6 @@ declare module '@elastic/eui/src/components/form/range/range_slider.styles' {
|
|
|
10154
10373
|
hasRange: import("@emotion/react").SerializedStyles;
|
|
10155
10374
|
hasLevels: import("@emotion/react").SerializedStyles;
|
|
10156
10375
|
};
|
|
10157
|
-
export const euiRangeSliderThumbStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10158
|
-
thumb: import("@emotion/react").SerializedStyles;
|
|
10159
|
-
};
|
|
10160
10376
|
|
|
10161
10377
|
}
|
|
10162
10378
|
declare module '@elastic/eui/src/components/form/range/range_slider' {
|
|
@@ -10714,7 +10930,7 @@ declare module '@elastic/eui/src/components/card' {
|
|
|
10714
10930
|
}
|
|
10715
10931
|
declare module '@elastic/eui/src/components/code/code_block_annotations.style' {
|
|
10716
10932
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10717
|
-
export const euiCodeBlockAnnotationsStyles: (
|
|
10933
|
+
export const euiCodeBlockAnnotationsStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10718
10934
|
euiCodeBlockAnnotation: import("@emotion/react").SerializedStyles;
|
|
10719
10935
|
euiCodeBlockAnnotation__buttonIcon: import("@emotion/react").SerializedStyles;
|
|
10720
10936
|
};
|
|
@@ -10793,37 +11009,6 @@ declare module '@elastic/eui/src/components/code/utils' {
|
|
|
10793
11009
|
export const highlightByLine: (children: string, language: string, data: LineNumbersConfig, euiTheme: UseEuiTheme) => RefractorNode[];
|
|
10794
11010
|
export {};
|
|
10795
11011
|
|
|
10796
|
-
}
|
|
10797
|
-
declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
10798
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10799
|
-
export const euiCodeSyntaxVariables: ({ euiTheme }: UseEuiTheme) => {
|
|
10800
|
-
backgroundColor: string;
|
|
10801
|
-
color: string;
|
|
10802
|
-
inlineCodeColor: string;
|
|
10803
|
-
selectedBackgroundColor: string;
|
|
10804
|
-
commentColor: string;
|
|
10805
|
-
selectorTagColor: string;
|
|
10806
|
-
stringColor: string;
|
|
10807
|
-
tagColor: string;
|
|
10808
|
-
nameColor: string;
|
|
10809
|
-
numberColor: string;
|
|
10810
|
-
keywordColor: string;
|
|
10811
|
-
inlineCodeKeywordColor: string;
|
|
10812
|
-
functionTitleColor: string;
|
|
10813
|
-
typeColor: string;
|
|
10814
|
-
attributeColor: string;
|
|
10815
|
-
symbolColor: string;
|
|
10816
|
-
paramsColor: string;
|
|
10817
|
-
metaColor: string;
|
|
10818
|
-
titleColor: string;
|
|
10819
|
-
sectionColor: string;
|
|
10820
|
-
additionColor: string;
|
|
10821
|
-
deletionColor: string;
|
|
10822
|
-
selectorClassColor: string;
|
|
10823
|
-
selectorIdColor: string;
|
|
10824
|
-
readonly tokensCss: string;
|
|
10825
|
-
};
|
|
10826
|
-
|
|
10827
11012
|
}
|
|
10828
11013
|
declare module '@elastic/eui/src/components/code/code.styles' {
|
|
10829
11014
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -10920,7 +11105,7 @@ declare module '@elastic/eui/src/components/code/code_block_copy' {
|
|
|
10920
11105
|
}
|
|
10921
11106
|
declare module '@elastic/eui/src/components/overlay_mask/overlay_mask.styles' {
|
|
10922
11107
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10923
|
-
export const euiOverlayMaskStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
11108
|
+
export const euiOverlayMaskStyles: ({ euiTheme, highContrastMode, }: UseEuiTheme) => {
|
|
10924
11109
|
euiOverlayMask: string;
|
|
10925
11110
|
aboveHeader: string;
|
|
10926
11111
|
belowHeader: string;
|
|
@@ -11325,7 +11510,7 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
|
|
|
11325
11510
|
|
|
11326
11511
|
}
|
|
11327
11512
|
declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
11328
|
-
import React, { ComponentPropsWithRef, CSSProperties, ElementType } from 'react';
|
|
11513
|
+
import React, { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
|
|
11329
11514
|
import { EuiBreakpointSize } from '@elastic/eui/src/services';
|
|
11330
11515
|
import { CommonProps, PropsOfElement } from '@elastic/eui/src/components/common';
|
|
11331
11516
|
import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
|
|
@@ -11434,7 +11619,7 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
11434
11619
|
as?: T;
|
|
11435
11620
|
} & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
|
|
11436
11621
|
export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
|
|
11437
|
-
export const EuiFlyout: <T extends React.ElementType = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
|
|
11622
|
+
export const EuiFlyout: <T extends React.ElementType<any, keyof JSX.IntrinsicElements> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
|
|
11438
11623
|
export {};
|
|
11439
11624
|
|
|
11440
11625
|
}
|
|
@@ -13125,7 +13310,7 @@ declare module '@elastic/eui/src/components/color_picker/saturation' {
|
|
|
13125
13310
|
import React, { HTMLAttributes } from 'react';
|
|
13126
13311
|
import { ColorSpaces } from 'chroma-js';
|
|
13127
13312
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13128
|
-
export type SaturationClientRect = Pick<
|
|
13313
|
+
export type SaturationClientRect = Pick<DOMRect, 'left' | 'top' | 'width' | 'height'>;
|
|
13129
13314
|
export type SaturationPosition = Pick<SaturationClientRect, 'left' | 'top'>;
|
|
13130
13315
|
interface HTMLDivElementOverrides {
|
|
13131
13316
|
color?: ColorSpaces['hsv'];
|
|
@@ -13466,7 +13651,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_input/combo_box_
|
|
|
13466
13651
|
}
|
|
13467
13652
|
declare module '@elastic/eui/src/components/mark/mark.styles' {
|
|
13468
13653
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13469
|
-
export const euiMarkStyles: (
|
|
13654
|
+
export const euiMarkStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13470
13655
|
euiMark: import("@emotion/react").SerializedStyles;
|
|
13471
13656
|
};
|
|
13472
13657
|
export const euiMarkScreenReaderStyles: (highlightStart: string, highlightEnd: string) => {
|
|
@@ -13935,7 +14120,7 @@ declare module '@elastic/eui/src/components/timeline/timeline_item_event' {
|
|
|
13935
14120
|
}
|
|
13936
14121
|
declare module '@elastic/eui/src/components/timeline/timeline_item_icon.styles' {
|
|
13937
14122
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13938
|
-
export const euiTimelineItemIconStyles: (
|
|
14123
|
+
export const euiTimelineItemIconStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13939
14124
|
euiTimelineItemIcon: import("@emotion/react").SerializedStyles;
|
|
13940
14125
|
euiTimelineItemIcon__content: import("@emotion/react").SerializedStyles;
|
|
13941
14126
|
top: import("@emotion/react").SerializedStyles;
|
|
@@ -13988,7 +14173,7 @@ declare module '@elastic/eui/src/components/timeline/timeline_item' {
|
|
|
13988
14173
|
}
|
|
13989
14174
|
declare module '@elastic/eui/src/components/timeline/timeline.styles' {
|
|
13990
14175
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13991
|
-
export const euiTimelineStyles: (
|
|
14176
|
+
export const euiTimelineStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13992
14177
|
euiTimeline: import("@emotion/react").SerializedStyles;
|
|
13993
14178
|
m: import("@emotion/react").SerializedStyles;
|
|
13994
14179
|
l: import("@emotion/react").SerializedStyles;
|
|
@@ -14348,7 +14533,7 @@ declare module '@elastic/eui/src/components/token/token_map' {
|
|
|
14348
14533
|
declare module '@elastic/eui/src/components/token/token.styles' {
|
|
14349
14534
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
14350
14535
|
import type { TokenFill } from '@elastic/eui/src/components/token/token_types';
|
|
14351
|
-
export const euiTokenStyles: (
|
|
14536
|
+
export const euiTokenStyles: (euiThemeContext: UseEuiTheme, fill: TokenFill) => {
|
|
14352
14537
|
euiToken: import("@emotion/react").SerializedStyles;
|
|
14353
14538
|
circle: import("@emotion/react").SerializedStyles;
|
|
14354
14539
|
square: import("@emotion/react").SerializedStyles;
|
|
@@ -14388,7 +14573,7 @@ declare module '@elastic/eui/src/components/token' {
|
|
|
14388
14573
|
|
|
14389
14574
|
}
|
|
14390
14575
|
declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
14391
|
-
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Ref, Component, ComponentClass, KeyboardEventHandler } from 'react';
|
|
14576
|
+
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Ref, Component, ComponentClass, KeyboardEventHandler, JSX } from 'react';
|
|
14392
14577
|
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps } from 'react-window';
|
|
14393
14578
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
|
|
14394
14579
|
import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui/src/components/button';
|
|
@@ -14843,11 +15028,11 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
14843
15028
|
/**
|
|
14844
15029
|
* Header row component to render by custom renderer
|
|
14845
15030
|
* */
|
|
14846
|
-
headerRow:
|
|
15031
|
+
headerRow: JSX.Element;
|
|
14847
15032
|
/**
|
|
14848
15033
|
* Footer row component to render by custom renderer
|
|
14849
15034
|
* */
|
|
14850
|
-
footerRow:
|
|
15035
|
+
footerRow: JSX.Element | null;
|
|
14851
15036
|
}
|
|
14852
15037
|
export type EuiDataGridSetCustomGridBodyProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
14853
15038
|
ref?: MutableRefObject<HTMLDivElement> | Ref<HTMLDivElement>;
|
|
@@ -16942,18 +17127,79 @@ declare module '@elastic/eui/src/components/date_picker/react-datepicker' {
|
|
|
16942
17127
|
}
|
|
16943
17128
|
declare module '@elastic/eui/src/components/date_picker/react_date_picker.styles' {
|
|
16944
17129
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
16945
|
-
export const euiDatePickerVariables: (
|
|
17130
|
+
export const euiDatePickerVariables: (euiThemeContext: UseEuiTheme) => {
|
|
16946
17131
|
gapSize: string;
|
|
16947
17132
|
readonly paddingSize: string;
|
|
16948
17133
|
headerButtonSize: string;
|
|
16949
17134
|
readonly headerOffset: string;
|
|
17135
|
+
colors: {
|
|
17136
|
+
day: {
|
|
17137
|
+
inMonth: string;
|
|
17138
|
+
outsideMonth: string;
|
|
17139
|
+
header: string;
|
|
17140
|
+
today: string;
|
|
17141
|
+
};
|
|
17142
|
+
hover: {
|
|
17143
|
+
border?: undefined;
|
|
17144
|
+
color: string;
|
|
17145
|
+
backgroundColor: string;
|
|
17146
|
+
} & {
|
|
17147
|
+
border: undefined;
|
|
17148
|
+
};
|
|
17149
|
+
disabled: {
|
|
17150
|
+
border?: undefined;
|
|
17151
|
+
color: string;
|
|
17152
|
+
backgroundColor: string;
|
|
17153
|
+
} & {
|
|
17154
|
+
border: undefined;
|
|
17155
|
+
};
|
|
17156
|
+
readonly inRange: {
|
|
17157
|
+
border?: undefined;
|
|
17158
|
+
color: string;
|
|
17159
|
+
backgroundColor: string;
|
|
17160
|
+
} & {
|
|
17161
|
+
border: undefined;
|
|
17162
|
+
};
|
|
17163
|
+
inRangeAndDisabled: {
|
|
17164
|
+
backgroundColor: string;
|
|
17165
|
+
};
|
|
17166
|
+
selected: {
|
|
17167
|
+
border: string;
|
|
17168
|
+
color: string;
|
|
17169
|
+
backgroundColor: string;
|
|
17170
|
+
} | {
|
|
17171
|
+
border?: undefined;
|
|
17172
|
+
color: string;
|
|
17173
|
+
backgroundColor: string;
|
|
17174
|
+
} | {
|
|
17175
|
+
color: string;
|
|
17176
|
+
backgroundColor: string;
|
|
17177
|
+
forcedColorAdjust: string;
|
|
17178
|
+
};
|
|
17179
|
+
selectedAndDisabled: {
|
|
17180
|
+
border: string;
|
|
17181
|
+
color: string;
|
|
17182
|
+
backgroundColor: string;
|
|
17183
|
+
} | {
|
|
17184
|
+
border?: undefined;
|
|
17185
|
+
color: string;
|
|
17186
|
+
backgroundColor: string;
|
|
17187
|
+
};
|
|
17188
|
+
highlighted: {
|
|
17189
|
+
border: string;
|
|
17190
|
+
color: string;
|
|
17191
|
+
backgroundColor: string;
|
|
17192
|
+
} | {
|
|
17193
|
+
border?: undefined;
|
|
17194
|
+
color: string;
|
|
17195
|
+
backgroundColor: string;
|
|
17196
|
+
};
|
|
17197
|
+
};
|
|
17198
|
+
animationSpeed: import("csstype").Property.AnimationDuration<string & {}> | undefined;
|
|
16950
17199
|
};
|
|
16951
17200
|
export const euiReactDatePickerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
16952
17201
|
euiReactDatePicker: string;
|
|
16953
17202
|
};
|
|
16954
|
-
export const _monthYearDropdowns: (euiThemeContext: UseEuiTheme) => string;
|
|
16955
|
-
export const _dayCalendarStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
16956
|
-
export const _timeSelectStyles: (euiThemeContext: UseEuiTheme) => string;
|
|
16957
17203
|
|
|
16958
17204
|
}
|
|
16959
17205
|
declare module '@elastic/eui/src/components/date_picker/date_picker.styles' {
|
|
@@ -17071,7 +17317,7 @@ declare module '@elastic/eui/src/components/date_picker/date_picker' {
|
|
|
17071
17317
|
}
|
|
17072
17318
|
declare module '@elastic/eui/src/components/tabs/tab.styles' {
|
|
17073
17319
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
17074
|
-
export const euiTabStyles: (
|
|
17320
|
+
export const euiTabStyles: (euiThemeContext: UseEuiTheme) => {
|
|
17075
17321
|
euiTab: import("@emotion/react").SerializedStyles;
|
|
17076
17322
|
expanded: import("@emotion/react").SerializedStyles;
|
|
17077
17323
|
selected: import("@emotion/react").SerializedStyles;
|
|
@@ -18388,7 +18634,7 @@ declare module '@elastic/eui/src/components/empty_prompt' {
|
|
|
18388
18634
|
}
|
|
18389
18635
|
declare module '@elastic/eui/src/components/error_boundary/error_boundary.styles' {
|
|
18390
18636
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18391
|
-
export const euiErrorBoundaryStyles: (
|
|
18637
|
+
export const euiErrorBoundaryStyles: (euiThemeContext: UseEuiTheme) => {
|
|
18392
18638
|
euiErrorBoundary: import("@emotion/react").SerializedStyles;
|
|
18393
18639
|
};
|
|
18394
18640
|
|
|
@@ -19321,7 +19567,7 @@ declare module '@elastic/eui/src/components/skeleton/utils' {
|
|
|
19321
19567
|
slideSize?: string;
|
|
19322
19568
|
gradientSize?: string;
|
|
19323
19569
|
};
|
|
19324
|
-
export const euiSkeletonGradientAnimation: ({ euiTheme }: UseEuiTheme, { slideSize, gradientSize }?: AnimationOptions) => import("@emotion/react").SerializedStyles;
|
|
19570
|
+
export const euiSkeletonGradientAnimation: ({ euiTheme, highContrastMode }: UseEuiTheme, { slideSize, gradientSize }?: AnimationOptions) => import("@emotion/react").SerializedStyles;
|
|
19325
19571
|
export {};
|
|
19326
19572
|
|
|
19327
19573
|
}
|
|
@@ -19486,7 +19732,7 @@ declare module '@elastic/eui/src/components/inline_edit/inline_edit_form' {
|
|
|
19486
19732
|
* Multiple props objects that can be applied directly to various child components displayed in edit mode.
|
|
19487
19733
|
* - `formRowProps` will be passed to `EuiFormRow`
|
|
19488
19734
|
* - `inputProps` will be passed to `EuiFieldText`
|
|
19489
|
-
* - `saveButtonProps` & `cancelButtonProps` will be passed to their respective `
|
|
19735
|
+
* - `saveButtonProps` & `cancelButtonProps` will be passed to their respective `EuiButtonIcon`s
|
|
19490
19736
|
*/
|
|
19491
19737
|
editModeProps?: {
|
|
19492
19738
|
formRowProps?: Partial<EuiFormRowProps>;
|
|
@@ -20178,7 +20424,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_format.styl
|
|
|
20178
20424
|
/**
|
|
20179
20425
|
* Styles
|
|
20180
20426
|
*/
|
|
20181
|
-
export const euiMarkdownFormatStyles: (
|
|
20427
|
+
export const euiMarkdownFormatStyles: (euiThemeContext: UseEuiTheme) => {
|
|
20182
20428
|
euiMarkdownFormat: import("@emotion/react").SerializedStyles;
|
|
20183
20429
|
m: import("@emotion/react").SerializedStyles;
|
|
20184
20430
|
s: import("@emotion/react").SerializedStyles;
|
|
@@ -20664,7 +20910,7 @@ declare module '@elastic/eui/src/components/page/page_body/page_body.styles' {
|
|
|
20664
20910
|
|
|
20665
20911
|
}
|
|
20666
20912
|
declare module '@elastic/eui/src/components/page/page_body/page_body' {
|
|
20667
|
-
import
|
|
20913
|
+
import { PropsWithChildren, ComponentType, ComponentProps, JSX } from 'react';
|
|
20668
20914
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
20669
20915
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
20670
20916
|
import { EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
@@ -20687,7 +20933,7 @@ declare module '@elastic/eui/src/components/page/page_body/page_body' {
|
|
|
20687
20933
|
*/
|
|
20688
20934
|
paddingSize?: EuiPaddingSize;
|
|
20689
20935
|
};
|
|
20690
|
-
export const EuiPageBody: <T extends ComponentTypes>({ children, restrictWidth, className, css, component: Component, panelled, panelProps, paddingSize, borderRadius, ...rest }: EuiPageBodyProps<T>) =>
|
|
20936
|
+
export const EuiPageBody: <T extends ComponentTypes>({ children, restrictWidth, className, css, component: Component, panelled, panelProps, paddingSize, borderRadius, ...rest }: EuiPageBodyProps<T>) => JSX.Element;
|
|
20691
20937
|
export {};
|
|
20692
20938
|
|
|
20693
20939
|
}
|
|
@@ -20897,7 +21143,7 @@ declare module '@elastic/eui/src/components/page/page_section/page_section.style
|
|
|
20897
21143
|
|
|
20898
21144
|
}
|
|
20899
21145
|
declare module '@elastic/eui/src/components/page/page_section/page_section' {
|
|
20900
|
-
import { FunctionComponent, ComponentType, HTMLAttributes } from 'react';
|
|
21146
|
+
import { FunctionComponent, ComponentType, HTMLAttributes, JSX } from 'react';
|
|
20901
21147
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
20902
21148
|
import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
|
|
20903
21149
|
import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
|
|
@@ -21055,7 +21301,7 @@ declare module '@elastic/eui/src/components/page_template/inner/page_inner.style
|
|
|
21055
21301
|
|
|
21056
21302
|
}
|
|
21057
21303
|
declare module '@elastic/eui/src/components/page_template/inner/page_inner' {
|
|
21058
|
-
import
|
|
21304
|
+
import { PropsWithChildren, ComponentType, ComponentProps, JSX } from 'react';
|
|
21059
21305
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
21060
21306
|
import { EuiPaddingSize, _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling';
|
|
21061
21307
|
export type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType;
|
|
@@ -21082,7 +21328,7 @@ declare module '@elastic/eui/src/components/page_template/inner/page_inner' {
|
|
|
21082
21328
|
*/
|
|
21083
21329
|
responsive?: _EuiThemeBreakpoint[];
|
|
21084
21330
|
};
|
|
21085
|
-
export const _EuiPageInner: <T extends ComponentTypes>({ children, component: Component, panelled, border, paddingSize, responsive, ...rest }: _EuiPageInnerProps<T>) =>
|
|
21331
|
+
export const _EuiPageInner: <T extends ComponentTypes>({ children, component: Component, panelled, border, paddingSize, responsive, ...rest }: _EuiPageInnerProps<T>) => JSX.Element;
|
|
21086
21332
|
|
|
21087
21333
|
}
|
|
21088
21334
|
declare module '@elastic/eui/src/components/page_template/inner' {
|
|
@@ -21197,17 +21443,18 @@ declare module '@elastic/eui/src/components/provider/cache' {
|
|
|
21197
21443
|
export * from '@elastic/eui/src/components/provider/cache/cache_provider';
|
|
21198
21444
|
|
|
21199
21445
|
}
|
|
21200
|
-
declare module '@elastic/eui/src/components/provider/
|
|
21201
|
-
|
|
21202
|
-
|
|
21203
|
-
|
|
21204
|
-
|
|
21205
|
-
|
|
21206
|
-
|
|
21446
|
+
declare module '@elastic/eui/src/components/provider/system_defaults/match_media_hook' {
|
|
21447
|
+
export const useWindowMediaMatcher: (mediaQuery: string) => boolean;
|
|
21448
|
+
|
|
21449
|
+
}
|
|
21450
|
+
declare module '@elastic/eui/src/components/provider/system_defaults/system_defaults_provider' {
|
|
21451
|
+
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
21452
|
+
export const EuiSystemDefaultsProvider: FunctionComponent<PropsWithChildren>;
|
|
21207
21453
|
|
|
21208
21454
|
}
|
|
21209
|
-
declare module '@elastic/eui/src/components/provider/
|
|
21210
|
-
export {
|
|
21455
|
+
declare module '@elastic/eui/src/components/provider/system_defaults' {
|
|
21456
|
+
export { EuiSystemDefaultsProvider } from '@elastic/eui/src/components/provider/system_defaults/system_defaults_provider';
|
|
21457
|
+
export { useWindowMediaMatcher } from '@elastic/eui/src/components/provider/system_defaults/match_media_hook';
|
|
21211
21458
|
|
|
21212
21459
|
}
|
|
21213
21460
|
declare module '@elastic/eui/src/components/provider/nested/nested_context' {
|
|
@@ -21228,9 +21475,9 @@ declare module '@elastic/eui/src/components/provider/nested' {
|
|
|
21228
21475
|
|
|
21229
21476
|
}
|
|
21230
21477
|
declare module '@elastic/eui/src/components/provider/provider' {
|
|
21231
|
-
import React, { PropsWithChildren } from 'react';
|
|
21478
|
+
import React, { PropsWithChildren, JSX } from 'react';
|
|
21232
21479
|
import type { EmotionCache } from '@emotion/css';
|
|
21233
|
-
import { EuiThemeProviderProps, EuiThemeSystem, EuiThemeColorMode } from '@elastic/eui/src/services';
|
|
21480
|
+
import { EuiThemeProviderProps, EuiThemeSystem, EuiThemeColorMode, EuiThemeHighContrastModeProp } from '@elastic/eui/src/services';
|
|
21234
21481
|
import { EuiGlobalStylesProps } from '@elastic/eui/src/global_styling/reset/global_styles';
|
|
21235
21482
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21236
21483
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
@@ -21244,6 +21491,14 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21244
21491
|
* Defaults to the user's OS/system setting if undefined.
|
|
21245
21492
|
*/
|
|
21246
21493
|
colorMode?: EuiThemeColorMode;
|
|
21494
|
+
/**
|
|
21495
|
+
* Allows enabling a high contrast mode preference for better accessibility.
|
|
21496
|
+
* Defaults to the user's OS/system setting if undefined.
|
|
21497
|
+
*
|
|
21498
|
+
* - @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast
|
|
21499
|
+
* - @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors (system only, supercedes this prop)
|
|
21500
|
+
*/
|
|
21501
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
21247
21502
|
/**
|
|
21248
21503
|
* Provide global styles via `@emotion/react` `Global` for your custom theme.
|
|
21249
21504
|
* Pass `false` to remove the default EUI global styles.
|
|
@@ -21279,7 +21534,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21279
21534
|
*/
|
|
21280
21535
|
componentDefaults?: EuiComponentDefaults;
|
|
21281
21536
|
}
|
|
21282
|
-
export const EuiProvider: <T extends {} = {}>({ cache, theme, globalStyles: Globals, utilityClasses: Utilities, colorMode, modify, componentDefaults, children, }: React.PropsWithChildren<EuiProviderProps<T>>) => any;
|
|
21537
|
+
export const EuiProvider: <T extends {} = {}>({ cache, theme, globalStyles: Globals, utilityClasses: Utilities, colorMode, highContrastMode, modify, componentDefaults, children, }: React.PropsWithChildren<EuiProviderProps<T>>) => any;
|
|
21283
21538
|
|
|
21284
21539
|
}
|
|
21285
21540
|
declare module '@elastic/eui/src/components/provider' {
|
|
@@ -23433,7 +23688,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item.styles' {
|
|
|
23433
23688
|
|
|
23434
23689
|
}
|
|
23435
23690
|
declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
|
|
23436
|
-
import React, { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler } from 'react';
|
|
23691
|
+
import React, { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler, JSX } from 'react';
|
|
23437
23692
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
23438
23693
|
/**
|
|
23439
23694
|
* The props that are exposed to, or altered for, the consumer
|
|
@@ -23516,7 +23771,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
|
|
|
23516
23771
|
disabled?: boolean | undefined;
|
|
23517
23772
|
} & _EuiSideNavItemProps & {
|
|
23518
23773
|
renderItem?: ((props: any) => JSX.Element) | undefined;
|
|
23519
|
-
}>({ isOpen, isSelected, isParent, icon, onClick, href: _href, rel, target, items, children, renderItem: RenderItem, depth, className, css, style, truncate, emphasize, buttonClassName, childrenOnly, ...rest }: EuiSideNavItemProps<T>) =>
|
|
23774
|
+
}>({ isOpen, isSelected, isParent, icon, onClick, href: _href, rel, target, items, children, renderItem: RenderItem, depth, className, css, style, truncate, emphasize, buttonClassName, childrenOnly, ...rest }: EuiSideNavItemProps<T>) => JSX.Element;
|
|
23520
23775
|
export {};
|
|
23521
23776
|
|
|
23522
23777
|
}
|
|
@@ -23773,12 +24028,12 @@ declare module '@elastic/eui/src/components/steps/step_number.styles' {
|
|
|
23773
24028
|
euiStepNumber__icon: import("@emotion/react").SerializedStyles;
|
|
23774
24029
|
complete: import("@emotion/react").SerializedStyles;
|
|
23775
24030
|
danger: import("@emotion/react").SerializedStyles;
|
|
23776
|
-
warning:
|
|
23777
|
-
|
|
23778
|
-
|
|
23779
|
-
|
|
23780
|
-
|
|
23781
|
-
|
|
24031
|
+
warning: {
|
|
24032
|
+
m: string;
|
|
24033
|
+
s: string;
|
|
24034
|
+
xs: string;
|
|
24035
|
+
none: string;
|
|
24036
|
+
};
|
|
23782
24037
|
none: import("@emotion/react").SerializedStyles;
|
|
23783
24038
|
};
|
|
23784
24039
|
|
|
@@ -23869,7 +24124,7 @@ declare module '@elastic/eui/src/components/steps/steps' {
|
|
|
23869
24124
|
}
|
|
23870
24125
|
declare module '@elastic/eui/src/components/steps/sub_steps.styles' {
|
|
23871
24126
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
23872
|
-
export const euiSubStepsStyles: (
|
|
24127
|
+
export const euiSubStepsStyles: (euiThemeContext: UseEuiTheme) => {
|
|
23873
24128
|
euiSubSteps: import("@emotion/react").SerializedStyles;
|
|
23874
24129
|
};
|
|
23875
24130
|
|
|
@@ -24527,7 +24782,7 @@ declare module '@elastic/eui/src/components/text_diff/text_diff.styles' {
|
|
|
24527
24782
|
|
|
24528
24783
|
}
|
|
24529
24784
|
declare module '@elastic/eui/src/components/text_diff/text_diff' {
|
|
24530
|
-
import { HTMLAttributes, ElementType } from 'react';
|
|
24785
|
+
import { HTMLAttributes, ElementType, JSX } from 'react';
|
|
24531
24786
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
24532
24787
|
interface Props {
|
|
24533
24788
|
/**
|
|
@@ -24573,10 +24828,13 @@ declare module '@elastic/eui/src/components/toast/toast.styles' {
|
|
|
24573
24828
|
export const euiToastStyles: (euiThemeContext: UseEuiTheme) => {
|
|
24574
24829
|
euiToast: import("@emotion/react").SerializedStyles;
|
|
24575
24830
|
euiToast__closeButton: import("@emotion/react").SerializedStyles;
|
|
24576
|
-
|
|
24577
|
-
|
|
24578
|
-
|
|
24579
|
-
|
|
24831
|
+
colors: {
|
|
24832
|
+
_getStyles: (color: string) => string;
|
|
24833
|
+
readonly primary: import("@emotion/react").SerializedStyles;
|
|
24834
|
+
readonly success: import("@emotion/react").SerializedStyles;
|
|
24835
|
+
readonly warning: import("@emotion/react").SerializedStyles;
|
|
24836
|
+
readonly danger: import("@emotion/react").SerializedStyles;
|
|
24837
|
+
};
|
|
24580
24838
|
};
|
|
24581
24839
|
export const euiToastHeaderStyles: (euiThemeContext: UseEuiTheme) => {
|
|
24582
24840
|
euiToastHeader: import("@emotion/react").SerializedStyles;
|
|
@@ -30884,10 +31142,6 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/functions/shado
|
|
|
30884
31142
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/functions' {
|
|
30885
31143
|
export * from '@elastic/eui/src/themes/amsterdam/global_styling/functions/shadows';
|
|
30886
31144
|
|
|
30887
|
-
}
|
|
30888
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button' {
|
|
30889
|
-
export { type _EuiButtonColor, type _EuiButtonDisplay, type _EuiButtonOptions, BUTTON_COLORS, BUTTON_DISPLAYS, euiButtonColor, euiButtonFillColor, euiButtonEmptyColor, useEuiButtonColorCSS, useEuiButtonFocusCSS, euiButtonSizeMap, } from '@elastic/eui/src/global_styling/mixins/_button';
|
|
30890
|
-
|
|
30891
31145
|
}
|
|
30892
31146
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins' {
|
|
30893
31147
|
export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button';
|