@elastic/eui 122.0.0 → 122.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui-icons.json +84 -84
- package/dist/svgs/table_sparkles.svg +2 -4
- package/es/components/avatar/avatar.styles.js +1 -1
- package/es/components/badge/notification_badge/badge_notification.styles.js +5 -7
- package/es/components/banner/banner.styles.js +1 -1
- package/es/components/basic_table/basic_table.js +5 -0
- package/es/components/basic_table/basic_table.styles.js +1 -1
- package/es/components/basic_table/default_item_action.js +1 -1
- package/es/components/basic_table/in_memory_table.js +5 -0
- package/es/components/basic_table/pagination_bar.styles.js +1 -1
- package/es/components/basic_table/panel.styles.js +1 -1
- package/es/components/breadcrumbs/_breadcrumb_content.js +5 -2
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -5
- package/es/components/breadcrumbs/breadcrumb.styles.js +4 -4
- package/es/components/breadcrumbs/breadcrumbs.js +5 -2
- package/es/components/button/button_display/_button_display.js +2 -1
- package/es/components/button/button_group/button_group.styles.js +2 -2
- package/es/components/button/split_button/split_button.styles.js +2 -2
- package/es/components/call_out/call_out.styles.js +8 -4
- package/es/components/card/card.js +1 -1
- package/es/components/card/card.styles.js +3 -3
- package/es/components/code/code.styles.js +1 -1
- package/es/components/code/code_block.styles.js +1 -1
- package/es/components/color_picker/color_picker_swatch.styles.js +2 -4
- package/es/components/color_picker/saturation.styles.js +1 -1
- package/es/components/comment_list/comment_event.js +3 -1
- package/es/components/comment_list/comment_event.styles.js +1 -1
- package/es/components/context_menu/context_menu.styles.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell_actions.js +4 -4
- package/es/components/date_picker/react_date_picker.styles.js +6 -6
- package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/es/components/description_list/description_list_description.js +1 -1
- package/es/components/description_list/description_list_description.styles.js +2 -1
- package/es/components/description_list/description_list_title.js +4 -1
- package/es/components/description_list/description_list_title.styles.js +4 -2
- package/es/components/drag_and_drop/draggable.js +2 -1
- package/es/components/drag_and_drop/draggable.styles.js +21 -16
- package/es/components/empty_prompt/empty_prompt.js +7 -4
- package/es/components/facet/facet_button.styles.js +1 -1
- package/es/components/filter_group/filter_button.styles.js +1 -1
- package/es/components/flyout/flyout_body.styles.js +1 -1
- package/es/components/form/checkbox/checkbox.styles.js +1 -1
- package/es/components/form/checkbox/checkbox_control.styles.js +1 -1
- package/es/components/form/form.styles.js +6 -6
- package/es/components/form/form_control_layout/form_control_layout.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout.styles.js +2 -1
- package/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/es/components/form/range/range.styles.js +1 -1
- package/es/components/form/range/range_ticks.styles.js +1 -1
- package/es/components/form/range/range_tooltip.styles.js +1 -1
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +5 -2
- package/es/components/header/header_links/header_links.js +5 -2
- package/es/components/header/header_logo/header_logo.styles.js +1 -1
- package/es/components/icon/assets/table_sparkles.js +2 -8
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/icon/svgs/table_sparkles.svg +2 -4
- package/es/components/key_pad_menu/key_pad_menu_item.styles.js +4 -2
- package/es/components/link/link.js +3 -1
- package/es/components/link/link.styles.js +9 -8
- package/es/components/list_group/list_group.styles.js +1 -1
- package/es/components/list_item_layout/_list_item_layout.styles.js +5 -3
- package/es/components/markdown_editor/markdown_editor.styles.js +1 -1
- package/es/components/modal/modal.styles.js +2 -2
- package/es/components/page/page_header/page_header_content.js +5 -2
- package/es/components/panel/panel.js +22 -12
- package/es/components/panel/panel.styles.js +1 -1
- package/es/components/panel/split_panel/split_panel.js +3 -1
- package/es/components/popover/popover.js +8 -3
- package/es/components/popover/popover_footer.styles.js +1 -1
- package/es/components/popover/popover_panel/_popover_panel.js +5 -2
- package/es/components/popover/popover_title.styles.js +1 -1
- package/es/components/progress/progress.styles.js +1 -1
- package/es/components/resizable_container/resizable_panel.js +14 -6
- package/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/es/components/selectable/selectable_message/selectable_message.styles.js +1 -1
- package/es/components/skeleton/skeleton_rectangle.styles.js +2 -2
- package/es/components/skeleton/skeleton_text.styles.js +1 -1
- package/es/components/skeleton/skeleton_title.styles.js +2 -2
- package/es/components/table/sticky_header/sticky_header.js +2 -0
- package/es/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +1 -1
- package/es/components/table/table.js +1 -0
- package/es/components/table/table_header_cell.js +2 -1
- package/es/components/table/table_row.styles.js +1 -1
- package/es/components/tabs/tab.styles.js +3 -3
- package/es/components/text/text.js +2 -1
- package/es/components/text/text.styles.js +1 -1
- package/es/components/title/title.styles.js +2 -1
- package/es/components/toast/toast.styles.js +23 -8
- package/es/components/token/token.styles.js +3 -3
- package/es/components/tool_tip/tool_tip.js +6 -3
- package/es/components/tool_tip/tool_tip.styles.js +5 -5
- package/es/components/tour/_tour_footer.styles.js +1 -1
- package/es/components/tour/tour_step.js +5 -2
- package/es/components/tree_view/tree_view_item.styles.js +2 -2
- package/es/global_styling/mixins/_button.js +8 -6
- package/es/services/popover/popover_arrow.styles.js +1 -1
- package/es/services/popover/popover_positioning.js +20 -0
- package/eui.d.ts +26 -6
- package/lib/components/avatar/avatar.styles.js +1 -1
- package/lib/components/badge/notification_badge/badge_notification.styles.js +5 -7
- package/lib/components/banner/banner.styles.js +1 -1
- package/lib/components/basic_table/basic_table.js +5 -0
- package/lib/components/basic_table/basic_table.styles.js +1 -1
- package/lib/components/basic_table/default_item_action.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +5 -0
- package/lib/components/basic_table/pagination_bar.styles.js +1 -1
- package/lib/components/basic_table/panel.styles.js +1 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.js +5 -2
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -5
- package/lib/components/breadcrumbs/breadcrumb.styles.js +4 -4
- package/lib/components/button/button_display/_button_display.js +2 -1
- package/lib/components/button/button_group/button_group.styles.js +2 -2
- package/lib/components/button/split_button/split_button.styles.js +2 -2
- package/lib/components/call_out/call_out.styles.js +8 -4
- package/lib/components/card/card.js +1 -1
- package/lib/components/card/card.styles.js +2 -2
- package/lib/components/code/code.styles.js +1 -1
- package/lib/components/code/code_block.styles.js +1 -1
- package/lib/components/color_picker/color_picker_swatch.styles.js +1 -3
- package/lib/components/color_picker/saturation.styles.js +1 -1
- package/lib/components/comment_list/comment_event.js +3 -1
- package/lib/components/comment_list/comment_event.styles.js +1 -1
- package/lib/components/context_menu/context_menu.styles.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +4 -4
- package/lib/components/date_picker/react_date_picker.styles.js +6 -6
- package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/lib/components/description_list/description_list_description.js +1 -1
- package/lib/components/description_list/description_list_description.styles.js +2 -1
- package/lib/components/description_list/description_list_title.js +4 -1
- package/lib/components/description_list/description_list_title.styles.js +4 -2
- package/lib/components/drag_and_drop/draggable.js +2 -1
- package/lib/components/drag_and_drop/draggable.styles.js +21 -16
- package/lib/components/empty_prompt/empty_prompt.js +7 -4
- package/lib/components/facet/facet_button.styles.js +1 -1
- package/lib/components/filter_group/filter_button.styles.js +1 -1
- package/lib/components/flyout/flyout_body.styles.js +1 -1
- package/lib/components/form/checkbox/checkbox.styles.js +1 -1
- package/lib/components/form/checkbox/checkbox_control.styles.js +1 -1
- package/lib/components/form/form.styles.js +6 -6
- package/lib/components/form/form_control_layout/form_control_layout.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout.styles.js +2 -1
- package/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/lib/components/form/range/range.styles.js +1 -1
- package/lib/components/form/range/range_ticks.styles.js +1 -1
- package/lib/components/form/range/range_tooltip.styles.js +1 -1
- package/lib/components/header/header_logo/header_logo.styles.js +1 -1
- package/lib/components/icon/assets/table_sparkles.js +2 -8
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/icon/svgs/table_sparkles.svg +2 -4
- package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +4 -2
- package/lib/components/link/link.js +3 -1
- package/lib/components/link/link.styles.js +9 -8
- package/lib/components/list_group/list_group.styles.js +1 -1
- package/lib/components/list_item_layout/_list_item_layout.styles.js +5 -3
- package/lib/components/markdown_editor/markdown_editor.styles.js +1 -1
- package/lib/components/modal/modal.styles.js +2 -2
- package/lib/components/panel/panel.js +22 -12
- package/lib/components/panel/panel.styles.js +1 -1
- package/lib/components/panel/split_panel/split_panel.js +3 -1
- package/lib/components/popover/popover.js +3 -1
- package/lib/components/popover/popover_footer.styles.js +1 -1
- package/lib/components/popover/popover_title.styles.js +1 -1
- package/lib/components/progress/progress.styles.js +1 -1
- package/lib/components/resizable_container/resizable_panel.js +14 -6
- package/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/lib/components/selectable/selectable_message/selectable_message.styles.js +1 -1
- package/lib/components/skeleton/skeleton_rectangle.styles.js +2 -2
- package/lib/components/skeleton/skeleton_text.styles.js +1 -1
- package/lib/components/skeleton/skeleton_title.styles.js +2 -2
- package/lib/components/table/sticky_header/sticky_header.js +2 -0
- package/lib/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +1 -1
- package/lib/components/table/table.js +1 -0
- package/lib/components/table/table_header_cell.js +2 -1
- package/lib/components/table/table_row.styles.js +1 -1
- package/lib/components/tabs/tab.styles.js +3 -3
- package/lib/components/text/text.js +2 -1
- package/lib/components/text/text.styles.js +1 -1
- package/lib/components/title/title.styles.js +2 -1
- package/lib/components/toast/toast.styles.js +22 -7
- package/lib/components/token/token.styles.js +3 -3
- package/lib/components/tool_tip/tool_tip.js +5 -2
- package/lib/components/tool_tip/tool_tip.styles.js +5 -5
- package/lib/components/tour/_tour_footer.styles.js +1 -1
- package/lib/components/tree_view/tree_view_item.styles.js +2 -2
- package/lib/global_styling/mixins/_button.js +8 -6
- package/lib/services/popover/popover_arrow.styles.js +1 -1
- package/lib/services/popover/popover_positioning.js +20 -0
- package/optimize/es/components/avatar/avatar.styles.js +1 -1
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +5 -7
- package/optimize/es/components/banner/banner.styles.js +1 -1
- package/optimize/es/components/basic_table/basic_table.styles.js +1 -1
- package/optimize/es/components/basic_table/default_item_action.js +1 -1
- package/optimize/es/components/basic_table/pagination_bar.styles.js +1 -1
- package/optimize/es/components/basic_table/panel.styles.js +1 -1
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -5
- package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +4 -4
- package/optimize/es/components/button/button_display/_button_display.js +2 -1
- package/optimize/es/components/button/button_group/button_group.styles.js +2 -2
- package/optimize/es/components/button/split_button/split_button.styles.js +2 -2
- package/optimize/es/components/call_out/call_out.styles.js +8 -4
- package/optimize/es/components/card/card.js +1 -1
- package/optimize/es/components/card/card.styles.js +3 -3
- package/optimize/es/components/code/code.styles.js +1 -1
- package/optimize/es/components/code/code_block.styles.js +1 -1
- package/optimize/es/components/color_picker/color_picker_swatch.styles.js +2 -4
- package/optimize/es/components/color_picker/saturation.styles.js +1 -1
- package/optimize/es/components/comment_list/comment_event.js +3 -1
- package/optimize/es/components/comment_list/comment_event.styles.js +1 -1
- package/optimize/es/components/context_menu/context_menu.styles.js +1 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +4 -4
- package/optimize/es/components/date_picker/react_date_picker.styles.js +6 -6
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/optimize/es/components/description_list/description_list_description.js +1 -1
- package/optimize/es/components/description_list/description_list_description.styles.js +2 -1
- package/optimize/es/components/description_list/description_list_title.js +4 -1
- package/optimize/es/components/description_list/description_list_title.styles.js +4 -2
- package/optimize/es/components/drag_and_drop/draggable.js +2 -1
- package/optimize/es/components/drag_and_drop/draggable.styles.js +21 -16
- package/optimize/es/components/empty_prompt/empty_prompt.js +2 -1
- package/optimize/es/components/facet/facet_button.styles.js +1 -1
- package/optimize/es/components/filter_group/filter_button.styles.js +1 -1
- package/optimize/es/components/flyout/flyout_body.styles.js +1 -1
- package/optimize/es/components/form/checkbox/checkbox.styles.js +1 -1
- package/optimize/es/components/form/checkbox/checkbox_control.styles.js +1 -1
- package/optimize/es/components/form/form.styles.js +6 -6
- package/optimize/es/components/form/form_control_layout/form_control_layout.js +1 -1
- package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +2 -1
- package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/optimize/es/components/form/range/range.styles.js +1 -1
- package/optimize/es/components/form/range/range_ticks.styles.js +1 -1
- package/optimize/es/components/form/range/range_tooltip.styles.js +1 -1
- package/optimize/es/components/header/header_logo/header_logo.styles.js +1 -1
- package/optimize/es/components/icon/assets/table_sparkles.js +2 -8
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/icon/svgs/table_sparkles.svg +2 -4
- package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +4 -2
- package/optimize/es/components/link/link.js +1 -1
- package/optimize/es/components/link/link.styles.js +9 -8
- package/optimize/es/components/list_group/list_group.styles.js +1 -1
- package/optimize/es/components/list_item_layout/_list_item_layout.styles.js +5 -3
- package/optimize/es/components/markdown_editor/markdown_editor.styles.js +1 -1
- package/optimize/es/components/modal/modal.styles.js +2 -2
- package/optimize/es/components/panel/panel.js +2 -2
- package/optimize/es/components/panel/panel.styles.js +1 -1
- package/optimize/es/components/popover/popover.js +3 -1
- package/optimize/es/components/popover/popover_footer.styles.js +1 -1
- package/optimize/es/components/popover/popover_title.styles.js +1 -1
- package/optimize/es/components/progress/progress.styles.js +1 -1
- package/optimize/es/components/resizable_container/resizable_panel.js +4 -1
- package/optimize/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/es/components/selectable/selectable_message/selectable_message.styles.js +1 -1
- package/optimize/es/components/skeleton/skeleton_rectangle.styles.js +2 -2
- package/optimize/es/components/skeleton/skeleton_text.styles.js +1 -1
- package/optimize/es/components/skeleton/skeleton_title.styles.js +2 -2
- package/optimize/es/components/table/sticky_header/sticky_header.js +2 -0
- package/optimize/es/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +1 -1
- package/optimize/es/components/table/table.js +1 -0
- package/optimize/es/components/table/table_header_cell.js +2 -1
- package/optimize/es/components/table/table_row.styles.js +1 -1
- package/optimize/es/components/tabs/tab.styles.js +3 -3
- package/optimize/es/components/text/text.js +1 -1
- package/optimize/es/components/text/text.styles.js +1 -1
- package/optimize/es/components/title/title.styles.js +2 -1
- package/optimize/es/components/toast/toast.styles.js +23 -8
- package/optimize/es/components/token/token.styles.js +3 -3
- package/optimize/es/components/tool_tip/tool_tip.js +6 -3
- package/optimize/es/components/tool_tip/tool_tip.styles.js +5 -5
- package/optimize/es/components/tour/_tour_footer.styles.js +1 -1
- package/optimize/es/components/tree_view/tree_view_item.styles.js +2 -2
- package/optimize/es/global_styling/mixins/_button.js +8 -6
- package/optimize/es/services/popover/popover_arrow.styles.js +1 -1
- package/optimize/es/services/popover/popover_positioning.js +20 -0
- package/optimize/lib/components/avatar/avatar.styles.js +1 -1
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +5 -7
- package/optimize/lib/components/banner/banner.styles.js +1 -1
- package/optimize/lib/components/basic_table/basic_table.styles.js +1 -1
- package/optimize/lib/components/basic_table/default_item_action.js +1 -1
- package/optimize/lib/components/basic_table/pagination_bar.styles.js +1 -1
- package/optimize/lib/components/basic_table/panel.styles.js +1 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -5
- package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +4 -4
- package/optimize/lib/components/button/button_display/_button_display.js +2 -1
- package/optimize/lib/components/button/button_group/button_group.styles.js +2 -2
- package/optimize/lib/components/button/split_button/split_button.styles.js +2 -2
- package/optimize/lib/components/call_out/call_out.styles.js +8 -4
- package/optimize/lib/components/card/card.js +1 -1
- package/optimize/lib/components/card/card.styles.js +2 -2
- package/optimize/lib/components/code/code.styles.js +1 -1
- package/optimize/lib/components/code/code_block.styles.js +1 -1
- package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +1 -3
- package/optimize/lib/components/color_picker/saturation.styles.js +1 -1
- package/optimize/lib/components/comment_list/comment_event.js +3 -1
- package/optimize/lib/components/comment_list/comment_event.styles.js +1 -1
- package/optimize/lib/components/context_menu/context_menu.styles.js +1 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +4 -4
- package/optimize/lib/components/date_picker/react_date_picker.styles.js +6 -6
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/optimize/lib/components/description_list/description_list_description.js +1 -1
- package/optimize/lib/components/description_list/description_list_description.styles.js +2 -1
- package/optimize/lib/components/description_list/description_list_title.js +4 -1
- package/optimize/lib/components/description_list/description_list_title.styles.js +4 -2
- package/optimize/lib/components/drag_and_drop/draggable.js +2 -1
- package/optimize/lib/components/drag_and_drop/draggable.styles.js +21 -16
- package/optimize/lib/components/empty_prompt/empty_prompt.js +2 -1
- package/optimize/lib/components/facet/facet_button.styles.js +1 -1
- package/optimize/lib/components/filter_group/filter_button.styles.js +1 -1
- package/optimize/lib/components/flyout/flyout_body.styles.js +1 -1
- package/optimize/lib/components/form/checkbox/checkbox.styles.js +1 -1
- package/optimize/lib/components/form/checkbox/checkbox_control.styles.js +1 -1
- package/optimize/lib/components/form/form.styles.js +6 -6
- package/optimize/lib/components/form/form_control_layout/form_control_layout.js +1 -1
- package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +2 -1
- package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/optimize/lib/components/form/range/range.styles.js +1 -1
- package/optimize/lib/components/form/range/range_ticks.styles.js +1 -1
- package/optimize/lib/components/form/range/range_tooltip.styles.js +1 -1
- package/optimize/lib/components/header/header_logo/header_logo.styles.js +1 -1
- package/optimize/lib/components/icon/assets/table_sparkles.js +2 -8
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/icon/svgs/table_sparkles.svg +2 -4
- package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +4 -2
- package/optimize/lib/components/link/link.js +1 -1
- package/optimize/lib/components/link/link.styles.js +9 -8
- package/optimize/lib/components/list_group/list_group.styles.js +1 -1
- package/optimize/lib/components/list_item_layout/_list_item_layout.styles.js +5 -3
- package/optimize/lib/components/markdown_editor/markdown_editor.styles.js +1 -1
- package/optimize/lib/components/modal/modal.styles.js +2 -2
- package/optimize/lib/components/panel/panel.js +2 -2
- package/optimize/lib/components/panel/panel.styles.js +1 -1
- package/optimize/lib/components/popover/popover.js +3 -1
- package/optimize/lib/components/popover/popover_footer.styles.js +1 -1
- package/optimize/lib/components/popover/popover_title.styles.js +1 -1
- package/optimize/lib/components/progress/progress.styles.js +1 -1
- package/optimize/lib/components/resizable_container/resizable_panel.js +4 -1
- package/optimize/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/optimize/lib/components/selectable/selectable_message/selectable_message.styles.js +1 -1
- package/optimize/lib/components/skeleton/skeleton_rectangle.styles.js +2 -2
- package/optimize/lib/components/skeleton/skeleton_text.styles.js +1 -1
- package/optimize/lib/components/skeleton/skeleton_title.styles.js +2 -2
- package/optimize/lib/components/table/sticky_header/sticky_header.js +2 -0
- package/optimize/lib/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +1 -1
- package/optimize/lib/components/table/table.js +1 -0
- package/optimize/lib/components/table/table_header_cell.js +2 -1
- package/optimize/lib/components/table/table_row.styles.js +1 -1
- package/optimize/lib/components/tabs/tab.styles.js +3 -3
- package/optimize/lib/components/text/text.js +1 -1
- package/optimize/lib/components/text/text.styles.js +1 -1
- package/optimize/lib/components/title/title.styles.js +2 -1
- package/optimize/lib/components/toast/toast.styles.js +22 -7
- package/optimize/lib/components/token/token.styles.js +3 -3
- package/optimize/lib/components/tool_tip/tool_tip.js +5 -2
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +5 -5
- package/optimize/lib/components/tour/_tour_footer.styles.js +1 -1
- package/optimize/lib/components/tree_view/tree_view_item.styles.js +2 -2
- package/optimize/lib/global_styling/mixins/_button.js +8 -6
- package/optimize/lib/services/popover/popover_arrow.styles.js +1 -1
- package/optimize/lib/services/popover/popover_positioning.js +20 -0
- package/package.json +6 -5
- package/test-env/components/avatar/avatar.styles.js +1 -1
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +5 -7
- package/test-env/components/banner/banner.styles.js +1 -1
- package/test-env/components/basic_table/basic_table.js +5 -0
- package/test-env/components/basic_table/basic_table.styles.js +1 -1
- package/test-env/components/basic_table/default_item_action.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +5 -0
- package/test-env/components/basic_table/pagination_bar.styles.js +1 -1
- package/test-env/components/basic_table/panel.styles.js +1 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +5 -2
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -5
- package/test-env/components/breadcrumbs/breadcrumb.styles.js +4 -4
- package/test-env/components/button/button_display/_button_display.js +2 -1
- package/test-env/components/button/button_group/button_group.styles.js +2 -2
- package/test-env/components/button/split_button/split_button.styles.js +2 -2
- package/test-env/components/call_out/call_out.styles.js +8 -4
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/card/card.styles.js +2 -2
- package/test-env/components/code/code.styles.js +1 -1
- package/test-env/components/code/code_block.styles.js +1 -1
- package/test-env/components/color_picker/color_picker_swatch.styles.js +1 -3
- package/test-env/components/color_picker/saturation.styles.js +1 -1
- package/test-env/components/comment_list/comment_event.js +3 -1
- package/test-env/components/comment_list/comment_event.styles.js +1 -1
- package/test-env/components/context_menu/context_menu.styles.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +4 -4
- package/test-env/components/date_picker/react_date_picker.styles.js +6 -6
- package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +1 -1
- package/test-env/components/description_list/description_list_description.js +1 -1
- package/test-env/components/description_list/description_list_description.styles.js +2 -1
- package/test-env/components/description_list/description_list_title.js +4 -1
- package/test-env/components/description_list/description_list_title.styles.js +4 -2
- package/test-env/components/drag_and_drop/draggable.js +2 -1
- package/test-env/components/drag_and_drop/draggable.styles.js +21 -16
- package/test-env/components/empty_prompt/empty_prompt.js +7 -4
- package/test-env/components/facet/facet_button.styles.js +1 -1
- package/test-env/components/filter_group/filter_button.styles.js +1 -1
- package/test-env/components/flyout/flyout_body.styles.js +1 -1
- package/test-env/components/form/checkbox/checkbox.styles.js +1 -1
- package/test-env/components/form/checkbox/checkbox_control.styles.js +1 -1
- package/test-env/components/form/form.styles.js +6 -6
- package/test-env/components/form/form_control_layout/form_control_layout.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout.styles.js +2 -1
- package/test-env/components/form/form_control_layout/form_control_layout_delimited.styles.js +1 -1
- package/test-env/components/form/range/range.styles.js +1 -1
- package/test-env/components/form/range/range_ticks.styles.js +1 -1
- package/test-env/components/form/range/range_tooltip.styles.js +1 -1
- package/test-env/components/header/header_logo/header_logo.styles.js +1 -1
- package/test-env/components/icon/assets/table_sparkles.js +2 -8
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +4 -2
- package/test-env/components/link/link.js +3 -1
- package/test-env/components/link/link.styles.js +9 -8
- package/test-env/components/list_group/list_group.styles.js +1 -1
- package/test-env/components/list_item_layout/_list_item_layout.styles.js +5 -3
- package/test-env/components/markdown_editor/markdown_editor.styles.js +1 -1
- package/test-env/components/modal/modal.styles.js +2 -2
- package/test-env/components/panel/panel.js +22 -12
- package/test-env/components/panel/panel.styles.js +1 -1
- package/test-env/components/panel/split_panel/split_panel.js +3 -1
- package/test-env/components/popover/popover.js +3 -1
- package/test-env/components/popover/popover_footer.styles.js +1 -1
- package/test-env/components/popover/popover_title.styles.js +1 -1
- package/test-env/components/progress/progress.styles.js +1 -1
- package/test-env/components/resizable_container/resizable_panel.js +14 -6
- package/test-env/components/selectable/selectable_list/selectable_list.styles.js +1 -1
- package/test-env/components/selectable/selectable_message/selectable_message.styles.js +1 -1
- package/test-env/components/skeleton/skeleton_rectangle.styles.js +2 -2
- package/test-env/components/skeleton/skeleton_text.styles.js +1 -1
- package/test-env/components/skeleton/skeleton_title.styles.js +2 -2
- package/test-env/components/table/sticky_header/sticky_header.js +2 -0
- package/test-env/components/table/sticky_scrollbar/sticky_scrollbar.styles.js +1 -1
- package/test-env/components/table/table.js +1 -0
- package/test-env/components/table/table_header_cell.js +2 -1
- package/test-env/components/table/table_row.styles.js +1 -1
- package/test-env/components/tabs/tab.styles.js +3 -3
- package/test-env/components/text/text.js +2 -1
- package/test-env/components/text/text.styles.js +1 -1
- package/test-env/components/title/title.styles.js +2 -1
- package/test-env/components/toast/toast.styles.js +22 -7
- package/test-env/components/token/token.styles.js +3 -3
- package/test-env/components/tool_tip/tool_tip.js +5 -2
- package/test-env/components/tool_tip/tool_tip.styles.js +5 -5
- package/test-env/components/tour/_tour_footer.styles.js +1 -1
- package/test-env/components/tree_view/tree_view_item.styles.js +2 -2
- package/test-env/global_styling/mixins/_button.js +8 -6
- package/test-env/services/popover/popover_arrow.styles.js +1 -1
- package/test-env/services/popover/popover_positioning.js +20 -0
|
@@ -17,12 +17,14 @@ export var euiDescriptionListTitleStyles = function euiDescriptionListTitleStyle
|
|
|
17
17
|
// Types
|
|
18
18
|
row: /*#__PURE__*/css(";label:row;"),
|
|
19
19
|
column: /*#__PURE__*/css(";label:column;"),
|
|
20
|
-
inline: /*#__PURE__*/css("display:inline;border-radius:", euiTheme.border.radius.
|
|
20
|
+
inline: /*#__PURE__*/css("display:inline;border-radius:", euiTheme.border.radius.inline, ";font-weight:", euiTheme.font.weight.medium, ";background-color:", colorMode === 'DARK' ? euiTheme.colors.lightShade : euiTheme.colors.lightestShade, ";", logicalCSS('margin-vertical', '0'), " ", logicalCSS('margin-horizontal', euiTheme.size.xs), " ", colorMode === 'DARK' && "color: ".concat(euiTheme.colors.textHeading, ";"), "&:first-of-type{", logicalCSS('margin-left', '0'), ";};label:inline;"),
|
|
21
21
|
// This nested block handles just the font styling based on compressed and reverse
|
|
22
22
|
fontStyles: {
|
|
23
23
|
normal: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xs'), ";;label:normal;"),
|
|
24
24
|
reverse: /*#__PURE__*/css(euiFontSize(euiThemeContext, 's'), ";;label:reverse;"),
|
|
25
|
-
compressed: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xxs'), ";;label:compressed;")
|
|
25
|
+
compressed: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xxs'), ";;label:compressed;"),
|
|
26
|
+
// reverse's compressed size, without the inline type's pill padding
|
|
27
|
+
compressedReverse: /*#__PURE__*/css(euiFontSize(euiThemeContext, 'xs'), ";;label:compressedReverse;")
|
|
26
28
|
},
|
|
27
29
|
// Inline types
|
|
28
30
|
inlineStyles: {
|
|
@@ -49,6 +49,7 @@ export var EuiDraggable = function EuiDraggable(_ref) {
|
|
|
49
49
|
var _useContext = useContext(EuiDroppableContext),
|
|
50
50
|
cloneItems = _useContext.cloneItems;
|
|
51
51
|
var styles = useEuiMemoizedStyles(euiDraggableStyles);
|
|
52
|
+
var itemStyles = useEuiMemoizedStyles(euiDraggableItemStyles);
|
|
52
53
|
var hasCustomDragHandle = customDragHandle !== false;
|
|
53
54
|
return ___EmotionJSX(Draggable, _extends({
|
|
54
55
|
draggableId: draggableId,
|
|
@@ -84,7 +85,7 @@ export var EuiDraggable = function EuiDraggable(_ref) {
|
|
|
84
85
|
tabIndex: hasInteractiveChildren || isFullyCustomDragHandle ? undefined : (_provided$dragHandleP2 = provided.dragHandleProps) === null || _provided$dragHandleP2 === void 0 ? void 0 : _provided$dragHandleP2.tabIndex
|
|
85
86
|
}), cloneElementWithCss(DraggableElement, {
|
|
86
87
|
className: classNames(DraggableElement.props.className, childClasses),
|
|
87
|
-
css: [
|
|
88
|
+
css: [itemStyles.euiDraggable__item, isDragDisabled && itemStyles.disabled, isDragging && itemStyles.isDragging]
|
|
88
89
|
})), cloneItems && isDragging && ___EmotionJSX("div", {
|
|
89
90
|
className: classNames(classes, 'euiDraggable--clone'),
|
|
90
91
|
css: cssStyles
|
|
@@ -8,8 +8,9 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
+
import { euiShadow } from '@elastic/eui-theme-common';
|
|
11
12
|
import { sharedSpacingPadding } from './droppable.styles';
|
|
12
|
-
var
|
|
13
|
+
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
13
14
|
name: "1nohugb-isRemovable",
|
|
14
15
|
styles: "transition-duration:0.001s!important;label:isRemovable;"
|
|
15
16
|
} : {
|
|
@@ -17,7 +18,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
17
18
|
styles: "transition-duration:0.001s!important;label:isRemovable;",
|
|
18
19
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
19
20
|
};
|
|
20
|
-
var
|
|
21
|
+
var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
21
22
|
name: "1wvdf2m-hasClone",
|
|
22
23
|
styles: "transform:none!important;label:hasClone;"
|
|
23
24
|
} : {
|
|
@@ -25,7 +26,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
25
26
|
styles: "transform:none!important;label:hasClone;",
|
|
26
27
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
27
28
|
};
|
|
28
|
-
var
|
|
29
|
+
var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
29
30
|
name: "oyhf1i-euiDraggable",
|
|
30
31
|
styles: "&:focus{outline:none;&>.euiDraggable__item{outline:auto;}};label:euiDraggable;"
|
|
31
32
|
} : {
|
|
@@ -36,21 +37,25 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
|
36
37
|
export var euiDraggableStyles = function euiDraggableStyles(euiThemeContext) {
|
|
37
38
|
var euiTheme = euiThemeContext.euiTheme;
|
|
38
39
|
return {
|
|
39
|
-
euiDraggable:
|
|
40
|
+
euiDraggable: _ref4,
|
|
40
41
|
isDragging: /*#__PURE__*/css("z-index:", euiTheme.levels.toast, "!important;;label:isDragging;"),
|
|
41
|
-
hasClone:
|
|
42
|
-
isRemovable:
|
|
42
|
+
hasClone: _ref3,
|
|
43
|
+
isRemovable: _ref2,
|
|
43
44
|
spacing: sharedSpacingPadding(euiThemeContext)
|
|
44
45
|
};
|
|
45
46
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
|
48
|
+
name: "b86pnw-disabled",
|
|
49
|
+
styles: "cursor:not-allowed;label:disabled;"
|
|
50
|
+
} : {
|
|
51
|
+
name: "b86pnw-disabled",
|
|
52
|
+
styles: "cursor:not-allowed;label:disabled;",
|
|
53
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
54
|
+
};
|
|
55
|
+
export var euiDraggableItemStyles = function euiDraggableItemStyles(euiThemeContext) {
|
|
56
|
+
return {
|
|
57
|
+
euiDraggable__item: /*#__PURE__*/css(";label:euiDraggable__item;"),
|
|
58
|
+
disabled: _ref,
|
|
59
|
+
isDragging: /*#__PURE__*/css(euiShadow(euiThemeContext, 'm'), ";;label:isDragging;")
|
|
60
|
+
};
|
|
56
61
|
};
|
|
@@ -41,11 +41,12 @@ export var EuiEmptyPrompt = function EuiEmptyPrompt(_ref) {
|
|
|
41
41
|
className = _ref.className,
|
|
42
42
|
_ref$layout = _ref.layout,
|
|
43
43
|
layout = _ref$layout === void 0 ? 'vertical' : _ref$layout,
|
|
44
|
-
|
|
44
|
+
_hasBorder = _ref.hasBorder,
|
|
45
45
|
_ref$color = _ref.color,
|
|
46
46
|
color = _ref$color === void 0 ? 'transparent' : _ref$color,
|
|
47
47
|
footer = _ref.footer,
|
|
48
48
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
49
|
+
var hasBorder = _hasBorder !== null && _hasBorder !== void 0 ? _hasBorder : color === 'plain';
|
|
49
50
|
var classes = classNames('euiEmptyPrompt', className);
|
|
50
51
|
var styles = useEuiMemoizedStyles(euiEmptyPromptStyles);
|
|
51
52
|
var cssStyles = [styles.euiEmptyPrompt, styles[layout]];
|
|
@@ -125,13 +126,15 @@ EuiEmptyPrompt.propTypes = {
|
|
|
125
126
|
"data-test-subj": PropTypes.string,
|
|
126
127
|
css: PropTypes.any,
|
|
127
128
|
/**
|
|
128
|
-
* Adds a medium shadow to the panel
|
|
129
|
-
* Only
|
|
129
|
+
* Adds a medium shadow to the panel.
|
|
130
|
+
* Only applies when `color="plain"` and `hasBorder={false}`.
|
|
131
|
+
* @default false
|
|
130
132
|
*/
|
|
131
133
|
hasShadow: PropTypes.bool,
|
|
132
134
|
/**
|
|
133
135
|
* Adds a slight 1px border on all edges.
|
|
134
|
-
* Only
|
|
136
|
+
* Only applies when `color="plain | transparent"`.
|
|
137
|
+
* @default true
|
|
135
138
|
*/
|
|
136
139
|
hasBorder: PropTypes.bool,
|
|
137
140
|
/**
|
|
@@ -13,7 +13,7 @@ export var euiFacetButtonStyles = function euiFacetButtonStyles(_ref) {
|
|
|
13
13
|
var euiTheme = _ref.euiTheme;
|
|
14
14
|
return {
|
|
15
15
|
// Base
|
|
16
|
-
euiFacetButton: /*#__PURE__*/css(logicalTextAlignCSS('left'), " &:not(:disabled){&:hover,&:focus{text-decoration:none;.euiFacetButton__text{text-decoration:underline;}}&:focus .euiFacetButton__text{text-decoration-thickness:", euiTheme.border.width.thick, ";}}&:disabled{color:", euiTheme.colors.
|
|
16
|
+
euiFacetButton: /*#__PURE__*/css(logicalTextAlignCSS('left'), " &:not(:disabled){&:hover,&:focus{text-decoration:none;.euiFacetButton__text{text-decoration:underline;}}&:focus .euiFacetButton__text{text-decoration-thickness:", euiTheme.border.width.thick, ";}}&:disabled{color:", euiTheme.colors.textDisabled, ";pointer-events:none;};label:euiFacetButton;")
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
export var euiFacetButtonTextStyles = function euiFacetButtonTextStyles(_ref2) {
|
|
@@ -42,7 +42,7 @@ export var euiFilterButtonStyles = function euiFilterButtonStyles(euiThemeContex
|
|
|
42
42
|
var withNextSelector = '& + .euiFilterButton__wrapper';
|
|
43
43
|
var containerPadding = euiTheme.size.xs;
|
|
44
44
|
return {
|
|
45
|
-
euiFilterButton: /*#__PURE__*/css("--euiFilterButtonInsetSize:", buttonSizeMap.m.getInsetHeight(buttonSizeMap.m.height, containerPadding), ";--euiFilterButtonRadius:", buttonSizeMap.m.radiusInset, ";position:relative;block-size:var(--euiFilterButtonInsetSize);", logicalCSS('width', '100%'), " border:none;border-radius:var(\n --euiFilterButtonRadius,\n ", euiTheme.border.radius.
|
|
45
|
+
euiFilterButton: /*#__PURE__*/css("--euiFilterButtonInsetSize:", buttonSizeMap.m.getInsetHeight(buttonSizeMap.m.height, containerPadding), ";--euiFilterButtonRadius:", buttonSizeMap.m.radiusInset, ";position:relative;block-size:var(--euiFilterButtonInsetSize);", logicalCSS('width', '100%'), " border:none;border-radius:var(\n --euiFilterButtonRadius,\n ", euiTheme.border.radius.control, "\n );&:not(", selectedSelector, "){&:hover,&:active{.euiFilterButton__notification[class*='subdued']{background-color:", euiTheme.components.filterButtonBadgeBackgroundHover, ";}}}&&:focus-visible{outline-style:auto;outline-offset:0;};label:euiFilterButton;"),
|
|
46
46
|
buttonType: {
|
|
47
47
|
toggle: /*#__PURE__*/css(euiFilterButtonDisplay(euiThemeContext), " &:where(:is(", euiDisabledSelector, "):not([aria-pressed=\"true\"])){background-color:transparent;}", highContrastModeStyles(euiThemeContext, {
|
|
48
48
|
forced: "\n &:is(".concat(selectedSelector, ") {\n ").concat(preventForcedColors(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n background-color: ").concat(euiTheme.colors.fullShade, ";\n }\n ")
|
|
@@ -19,6 +19,6 @@ export var euiFlyoutBodyStyles = function euiFlyoutBodyStyles(euiThemeContext) {
|
|
|
19
19
|
side: 'end'
|
|
20
20
|
}), ";;label:hasBanner;")
|
|
21
21
|
},
|
|
22
|
-
euiFlyoutBody__banner: /*#__PURE__*/css(
|
|
22
|
+
euiFlyoutBody__banner: /*#__PURE__*/css(logicalCSS('padding-top', 'var(--euiFlyoutBodyPadding, 0)'), " ", logicalCSS('padding-horizontal', 'var(--euiFlyoutBodyPadding, 0)'), " .euiFlyout:not(:has(.euiFlyoutHeader, .euiFlyoutMenu)) &{", logicalCSS('padding-right', euiTheme.size.xxl), ";};label:euiFlyoutBody__banner;")
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -25,7 +25,7 @@ export var euiCheckboxStyles = function euiCheckboxStyles(euiThemeContext) {
|
|
|
25
25
|
return {
|
|
26
26
|
euiCheckbox: /*#__PURE__*/css(controlStyles.wrapper, ";label:euiCheckbox;"),
|
|
27
27
|
input: {
|
|
28
|
-
euiCheckbox__square: /*#__PURE__*/css("position:relative;", controlStyles.input.focusVisible, " border-radius:", euiTheme.border.radius.
|
|
28
|
+
euiCheckbox__square: /*#__PURE__*/css("position:relative;", controlStyles.input.focusVisible, " border-radius:", euiTheme.border.radius.inline, ";;label:euiCheckbox__square;"),
|
|
29
29
|
hasLabel: controlStyles.input.hasLabel,
|
|
30
30
|
// Skip css`` className generation
|
|
31
31
|
// Readonly checkboxes are used by EuiMarkdownEditor
|
|
@@ -21,7 +21,7 @@ export var euiCheckboxControlStyles = function euiCheckboxControlStyles(euiTheme
|
|
|
21
21
|
var euiTheme = euiThemeContext.euiTheme;
|
|
22
22
|
var controlStyles = euiFormCustomControlStyles(euiThemeContext);
|
|
23
23
|
return {
|
|
24
|
-
euiCheckboxControl: /*#__PURE__*/css(controlStyles.input.fauxInput, " border-radius:", euiTheme.border.radius.
|
|
24
|
+
euiCheckboxControl: /*#__PURE__*/css(controlStyles.input.fauxInput, " border-radius:", euiTheme.border.radius.inline, ";;label:euiCheckboxControl;"),
|
|
25
25
|
enabled: {
|
|
26
26
|
selected: /*#__PURE__*/css(controlStyles.input.enabled.selected, ";label:selected;"),
|
|
27
27
|
unselected: /*#__PURE__*/css(controlStyles.input.enabled.unselected, ";label:unselected;"),
|
|
@@ -40,8 +40,8 @@ export var euiFormVariables = function euiFormVariables(euiThemeContext) {
|
|
|
40
40
|
controlCompressedHeight: controlCompressedHeight,
|
|
41
41
|
controlPadding: euiTheme.size.m,
|
|
42
42
|
controlCompressedPadding: euiTheme.size.s,
|
|
43
|
-
controlBorderRadius: euiTheme.border.radius.
|
|
44
|
-
controlCompressedBorderRadius: euiTheme.border.radius.
|
|
43
|
+
controlBorderRadius: euiTheme.border.radius.control,
|
|
44
|
+
controlCompressedBorderRadius: euiTheme.border.radius.control,
|
|
45
45
|
iconAffordance: mathWithUnits(euiTheme.size.base, function (x) {
|
|
46
46
|
return x * 1.5;
|
|
47
47
|
}),
|
|
@@ -79,10 +79,10 @@ export var euiFormVariables = function euiFormVariables(euiThemeContext) {
|
|
|
79
79
|
controlLayoutGroupInputCompressedHeight: mathWithUnits(controlCompressedHeight, function (x) {
|
|
80
80
|
return x - 2;
|
|
81
81
|
}),
|
|
82
|
-
controlLayoutGroupInputCompressedBorderRadius: euiTheme.border.radius.
|
|
83
|
-
controlLayoutBorderRadius: euiTheme.border.radius.
|
|
84
|
-
controlLayoutInnerBorderRadius: mathWithUnits(euiTheme.border.radius.
|
|
85
|
-
return x
|
|
82
|
+
controlLayoutGroupInputCompressedBorderRadius: euiTheme.border.radius.control,
|
|
83
|
+
controlLayoutBorderRadius: euiTheme.border.radius.control,
|
|
84
|
+
controlLayoutInnerBorderRadius: mathWithUnits([euiTheme.border.radius.control, euiTheme.size.xxs], function (x, y) {
|
|
85
|
+
return x - y;
|
|
86
86
|
})
|
|
87
87
|
};
|
|
88
88
|
var iconSizes = {
|
|
@@ -67,7 +67,7 @@ export var EuiFormControlLayout = function EuiFormControlLayout(props) {
|
|
|
67
67
|
'euiFormControlLayout-readOnly': readOnly
|
|
68
68
|
}, className);
|
|
69
69
|
var styles = useEuiMemoizedStyles(euiFormControlLayoutStyles);
|
|
70
|
-
var cssStyles = [styles.euiFormControlLayout, compressed ? styles.compressed : styles.uncompressed, fullWidth ? styles.fullWidth : styles.formWidth].concat(_toConsumableArray(isGroup ? [styles.group.group, compressed ? styles.group.compressed : styles.group.uncompressed] : []));
|
|
70
|
+
var cssStyles = [styles.euiFormControlLayout, compressed ? styles.compressed : styles.uncompressed, fullWidth ? styles.fullWidth : styles.formWidth].concat(_toConsumableArray(isGroup ? [styles.group.group, compressed ? styles.group.compressed : styles.group.uncompressed, (isDisabled || readOnly) && styles.group.disabled] : []));
|
|
71
71
|
var childrenWrapperStyles = [styles.children.euiFormControlLayout__childrenWrapper, isGroup && styles.children.inGroup, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.css];
|
|
72
72
|
var hasDropdownIcon = !readOnly && !isDisabled && isDropdown;
|
|
73
73
|
var hasRightIcon = isRightSideIcon(icon);
|
|
@@ -46,7 +46,8 @@ export var euiFormControlLayoutStyles = function euiFormControlLayoutStyles(euiT
|
|
|
46
46
|
group: /*#__PURE__*/css("position:relative;display:flex;align-items:stretch;border:none;background-color:", form.backgroundColor, ";overflow:hidden;&::after{content:'';position:absolute;inset:0;z-index:0;border:", euiTheme.border.width.thin, " solid ", form.borderColor, ";border-radius:inherit;pointer-events:none;}&:where(:not(:has(*:is(", euiDisabledSelector, "), [readOnly])):hover){&::after{border:", highContrastMode ? euiTheme.border.width.thick : euiTheme.border.width.thin, " solid ", highContrastMode ? form.borderColor : form.borderHovered, ";}}&:has(:autofill){background:", form.backgroundAutoFilled, ";&:not(:hover)::after{border-color:", form.borderAutofilled, ";}*:-webkit-autofill,*:autofill{--euiFormControlStateAutofillColor:", form.backgroundAutoFilled, ";background-clip:content-box;&:hover,&:focus{--euiFormControlStateAutofillColor:", form.backgroundAutoFilled, ";}}}.euiFilterGroup{border-radius:0;", logicalCSS('padding-right', euiTheme.border.width.thin), " &::after{display:none;}}.euiFilterButton__wrapper:first-of-type::before,.euiFilterButton__wrapper::after{display:none;}>*{", logicalCSS('height', '100%'), ";};label:group;"),
|
|
47
47
|
// Skipping css`` to avoid repeated compressed/uncompressed classNames
|
|
48
48
|
uncompressed: "\n border-radius: ".concat(form.controlBorderRadius, ";\n "),
|
|
49
|
-
compressed: "\n border-radius: ".concat(form.controlCompressedBorderRadius, ";\n ")
|
|
49
|
+
compressed: "\n border-radius: ".concat(form.controlCompressedBorderRadius, ";\n "),
|
|
50
|
+
disabled: /*#__PURE__*/css("background-color:", form.backgroundDisabledColor, ";;label:disabled;")
|
|
50
51
|
},
|
|
51
52
|
children: {
|
|
52
53
|
euiFormControlLayout__childrenWrapper: _ref,
|
|
@@ -11,7 +11,7 @@ import { logicalCSS, mathWithUnits } from '../../../global_styling';
|
|
|
11
11
|
import { euiFormControlDisabledStyles, euiFormControlReadOnlyStyles, euiFormControlDefaultShadow, euiFormControlInvalidStyles, euiFormControlHoverStyles } from '../form.styles';
|
|
12
12
|
export var euiFormControlLayoutDelimitedStyles = function euiFormControlLayoutDelimitedStyles(euiThemeContext) {
|
|
13
13
|
var euiTheme = euiThemeContext.euiTheme;
|
|
14
|
-
var delimitedStyles = "\n border-radius: ".concat(euiTheme.border.radius.
|
|
14
|
+
var delimitedStyles = "\n border-radius: ".concat(euiTheme.border.radius.control, ";\n ").trim();
|
|
15
15
|
return {
|
|
16
16
|
// Appended onto existing `euiFormControlLayout` styles
|
|
17
17
|
delimited: /*#__PURE__*/css(delimitedStyles, ";label:delimited;"),
|
|
@@ -35,7 +35,7 @@ export var euiRangeVariables = function euiRangeVariables(euiThemeContext) {
|
|
|
35
35
|
get trackBorderColor() {
|
|
36
36
|
return this.trackColor;
|
|
37
37
|
},
|
|
38
|
-
trackBorderRadius: euiTheme.border.radius.
|
|
38
|
+
trackBorderRadius: euiTheme.border.radius.inline,
|
|
39
39
|
tickHeight: trackHeight,
|
|
40
40
|
tickWidth: euiTheme.size.xs,
|
|
41
41
|
tickColor: highContrastMode ? euiTheme.colors.darkShade : euiTheme.colors.lightShade,
|
|
@@ -17,7 +17,7 @@ var tickStyles = function tickStyles(euiThemeContext, range) {
|
|
|
17
17
|
none: "\n inline-size: ".concat(range.tickWidth, ";\n background-color: ").concat(range.tickColor, ";\n "),
|
|
18
18
|
// Windows high contrast themes ignore background color but render borders
|
|
19
19
|
forced: logicalCSS('border-left', "".concat(range.tickWidth, " solid ").concat(range.tickColor))
|
|
20
|
-
}), "\n border-radius: ").concat(euiTheme.border.radius.
|
|
20
|
+
}), "\n border-radius: ").concat(euiTheme.border.radius.inline, ";\n ");
|
|
21
21
|
};
|
|
22
22
|
var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
23
23
|
name: "1sbhdc4-euiRangeTicks",
|
|
@@ -32,7 +32,7 @@ export var euiRangeTooltipValueStyles = function euiRangeTooltipValueStyles(euiT
|
|
|
32
32
|
return {
|
|
33
33
|
euiRangeTooltip__value: /*#__PURE__*/css("position:absolute;inset-block-start:50%;max-inline-size:", mathWithUnits(euiTheme.size.base, function (x) {
|
|
34
34
|
return x * 16;
|
|
35
|
-
}), ";padding-block:", euiTheme.size.xxs, ";padding-inline:", euiTheme.size.s, ";transform:translateY(-50%);", euiFontSize(euiThemeContext, 's'), " color:", euiTheme.colors.textGhost, ";background-color:", toolTipBackgroundColor, ";border:", euiTheme.border.width.thin, " solid ", borderColor, ";border-radius:", euiTheme.border.radius.
|
|
35
|
+
}), ";padding-block:", euiTheme.size.xxs, ";padding-inline:", euiTheme.size.s, ";transform:translateY(-50%);", euiFontSize(euiThemeContext, 's'), " color:", euiTheme.colors.textGhost, ";background-color:", toolTipBackgroundColor, ";border:", euiTheme.border.width.thin, " solid ", borderColor, ";border-radius:", euiTheme.border.radius.control, ";&::before{content:'';", arrowStyles._arrowStyles, " inset-block-start:50%;margin-block-start:", mathWithUnits(arrowSize, function (x) {
|
|
36
36
|
return x / -2;
|
|
37
37
|
}), ";background-color:inherit;border:inherit;};label:euiRangeTooltip__value;"),
|
|
38
38
|
left: /*#__PURE__*/css("margin-inline-end:", arrowOffset, ";&::before{", arrowStyles.positions.left, " inset-inline-start:100%;};label:left;"),
|
|
@@ -165,11 +165,14 @@ EuiHeaderBreadcrumbs.propTypes = {
|
|
|
165
165
|
panelProps: PropTypes.shape({
|
|
166
166
|
element: PropTypes.oneOf(["div"]),
|
|
167
167
|
/**
|
|
168
|
-
* Padding for all four sides
|
|
168
|
+
* Padding for all four sides.
|
|
169
|
+
* Do not use `xs` and `xl` values, they will be removed in the future.
|
|
170
|
+
* @default m
|
|
169
171
|
*/
|
|
170
172
|
paddingSize: PropTypes.any,
|
|
171
173
|
/**
|
|
172
|
-
* Corner border radius
|
|
174
|
+
* Corner border radius.
|
|
175
|
+
* @default m
|
|
173
176
|
*/
|
|
174
177
|
borderRadius: PropTypes.any,
|
|
175
178
|
/**
|
|
@@ -202,11 +202,14 @@ EuiHeaderLinks.propTypes = {
|
|
|
202
202
|
panelProps: PropTypes.shape({
|
|
203
203
|
element: PropTypes.oneOf(["div"]),
|
|
204
204
|
/**
|
|
205
|
-
* Padding for all four sides
|
|
205
|
+
* Padding for all four sides.
|
|
206
|
+
* Do not use `xs` and `xl` values, they will be removed in the future.
|
|
207
|
+
* @default m
|
|
206
208
|
*/
|
|
207
209
|
paddingSize: PropTypes.any,
|
|
208
210
|
/**
|
|
209
|
-
* Corner border radius
|
|
211
|
+
* Corner border radius.
|
|
212
|
+
* @default m
|
|
210
213
|
*/
|
|
211
214
|
borderRadius: PropTypes.any,
|
|
212
215
|
/**
|
|
@@ -14,6 +14,6 @@ export var euiHeaderLogoStyles = function euiHeaderLogoStyles(euiThemeContext) {
|
|
|
14
14
|
var _euiHeaderVariables = euiHeaderVariables(euiThemeContext),
|
|
15
15
|
childHeight = _euiHeaderVariables.childHeight;
|
|
16
16
|
return {
|
|
17
|
-
euiHeaderLogo: /*#__PURE__*/css("position:relative;", logicalCSS('height', childHeight), " line-height:", childHeight, ";", logicalCSS('min-width', childHeight), " padding-inline:", euiTheme.size.s, ";display:inline-flex;border-radius:", euiTheme.border.radius.
|
|
17
|
+
euiHeaderLogo: /*#__PURE__*/css("position:relative;", logicalCSS('height', childHeight), " line-height:", childHeight, ";", logicalCSS('min-width', childHeight), " padding-inline:", euiTheme.size.s, ";display:inline-flex;border-radius:", euiTheme.border.radius.control, ";align-items:center;white-space:nowrap;", euiBreakpoint(euiThemeContext, ['xs']), "{", logicalCSS('padding-left', euiTheme.size.xs), ";};label:euiHeaderLogo;")
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -27,17 +27,11 @@ var EuiIconTableSparkles = function EuiIconTableSparkles(_ref) {
|
|
|
27
27
|
}, props), title ? ___EmotionJSX("title", {
|
|
28
28
|
id: titleId
|
|
29
29
|
}, title) : null, ___EmotionJSX("path", {
|
|
30
|
-
d: "M14.5 13a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 0 1H15v.5a.5.5 0 0 1-1 0V15h-.5a.5.5 0 0 1 0-1h.5v-.5a.5.5 0 0 1 .5-.5"
|
|
31
|
-
}), ___EmotionJSX("path", {
|
|
32
|
-
fillRule: "evenodd",
|
|
33
|
-
d: "M14 1a1 1 0 0 1 1 1v4.086a1.5 1.5 0 0 0-1 0V5H2v9h7.912q.057.159.077.331l.012.219q0 .023.004.047l.01.1q.004.053.015.104.022.102.057.199H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 4h12V2H2z",
|
|
34
|
-
clipRule: "evenodd"
|
|
35
|
-
}), ___EmotionJSX("path", {
|
|
36
30
|
fillRule: "evenodd",
|
|
37
|
-
d: "
|
|
31
|
+
d: "M13.995.95a1 1 0 0 1 1 1V10c-.156-.055-.509-.239-.688-.475a1.8 1.8 0 0 1-.316-.599l.004-3.977h-12v9h7.75c.037.106.101.395.128.528.027.132.047.355.047.472H1.995a1 1 0 0 1-1-1v-12a1 1 0 0 1 1-1zm-12 3h12v-2h-12z",
|
|
38
32
|
clipRule: "evenodd"
|
|
39
33
|
}), ___EmotionJSX("path", {
|
|
40
|
-
d: "M5 13H3v-1h2zm0-3H3V9h2zm3
|
|
34
|
+
d: "M5 13H3v-1h2zm0-3H3V9h2zm3 0H6V9h2zM5 7H3V6h2zm3 0H6V6h2zm5 0H9V6h4zm-.5 1.501v.02l.005.093a3.8 3.8 0 0 0 .379 1.411c.19.379.466.742.87 1.011.402.268.96.463 1.747.463a.5.5 0 0 1 0 1c-.788 0-1.345.196-1.746.463-.405.27-.682.633-.87 1.012a3.8 3.8 0 0 0-.384 1.504l-.001.02v.002l-.01.1a.5.5 0 0 1-.98 0l-.01-.1v-.022l-.005-.093a4 4 0 0 0-.043-.35 3.8 3.8 0 0 0-.337-1.061 2.6 2.6 0 0 0-.87-1.012c-.4-.267-.958-.463-1.745-.463a.5.5 0 1 1 0-1c.787 0 1.344-.195 1.746-.463.404-.27.68-.632.869-1.01.19-.38.287-.767.337-1.062a4 4 0 0 0 .048-.442v-.023a.5.5 0 0 1 1 0zm-.5 1.99a3.56 3.56 0 0 1-1.2 1.377q-.102.07-.214.131.111.063.214.131c.573.382.951.887 1.2 1.378a3.57 3.57 0 0 1 1.413-1.509A3.57 3.57 0 0 1 12 10.49"
|
|
41
35
|
}));
|
|
42
36
|
};
|
|
43
37
|
export var icon = EuiIconTableSparkles;
|
|
@@ -63,7 +63,7 @@ export var euiIconStyles = function euiIconStyles(_ref3) {
|
|
|
63
63
|
app: /*#__PURE__*/css("fill:", euiTheme.colors.textParagraph, ";.euiIcon__fillSecondary{fill:", euiTheme.colors.primary, ";};label:app;"),
|
|
64
64
|
logo: /*#__PURE__*/css(";label:logo;"),
|
|
65
65
|
// Loading states
|
|
66
|
-
isLoading: /*#__PURE__*/css("opacity:", iconLoadingOpacity, ";background-color:currentColor;border-radius:", euiTheme.border.radius.
|
|
66
|
+
isLoading: /*#__PURE__*/css("opacity:", iconLoadingOpacity, ";background-color:currentColor;border-radius:", euiTheme.border.radius.inline, ";;label:isLoading;"),
|
|
67
67
|
isLoaded: /*#__PURE__*/css(euiCanAnimate, "{animation:", iconLoading, " ", euiTheme.animation.normal, " ease-in 0s 1 forwards;};label:isLoaded;")
|
|
68
68
|
};
|
|
69
69
|
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<path d="
|
|
3
|
-
<path
|
|
4
|
-
<path fill-rule="evenodd" d="M11.5 8a.5.5 0 0 1 .5.5 2.5 2.5 0 0 0 2 2.45v-.007q.174.037.356.05.071.006.144.007a.5.5 0 0 1 0 1q-.072 0-.144.007-.182.011-.356.048v-.005c-.98.199-1.751.97-1.95 1.95h.006a2.5 2.5 0 0 0-.056.5l-.01.1a.5.5 0 0 1-.98 0l-.01-.1-.013-.256a2.5 2.5 0 0 0-.221-.797l-.03-.065a3 3 0 0 0-.09-.161l-.015-.026-.08-.12-.049-.07-.085-.107-.042-.05-.1-.105-.052-.053-.096-.085q-.036-.032-.072-.061a2.6 2.6 0 0 0-.57-.34q-.048-.021-.098-.04-.05-.02-.1-.035l-.117-.037-.117-.029-.091-.02a3 3 0 0 0-.205-.03l-.019-.002A3 3 0 0 0 8.5 12a.5.5 0 0 1 0-1A2.5 2.5 0 0 0 11 8.5a.5.5 0 0 1 .5-.5m0 2.302c-.295.49-.707.903-1.198 1.198.49.295.903.707 1.198 1.197.295-.49.707-.902 1.197-1.197a3.5 3.5 0 0 1-1.197-1.198" clip-rule="evenodd"/>
|
|
5
|
-
<path d="M5 13H3v-1h2zm0-3H3V9h2zm3 0H6V9h2zm6.5-3a.5.5 0 0 1 .5.5V8h.5a.5.5 0 0 1 0 1H15v.5a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h.5v-.5a.5.5 0 0 1 .5-.5M5 7H3V6h2zm3 0H6V6h2zm5 0H9V6h4z"/>
|
|
2
|
+
<path fill-rule="evenodd" d="M13.995.95a1 1 0 0 1 1 1V10c-.156-.055-.509-.239-.688-.475a1.8 1.8 0 0 1-.316-.599l.004-3.977h-12v9h7.75c.037.106.101.395.128.528.027.132.047.355.047.472H1.995a1 1 0 0 1-1-1v-12a1 1 0 0 1 1-1zm-12 3h12v-2h-12z" clip-rule="evenodd"/>
|
|
3
|
+
<path d="M5 13H3v-1h2zm0-3H3V9h2zm3 0H6V9h2zM5 7H3V6h2zm3 0H6V6h2zm5 0H9V6h4zm-.5 1.501v.02l.005.093a3.8 3.8 0 0 0 .379 1.411c.19.379.466.742.87 1.011.402.268.96.463 1.747.463a.5.5 0 0 1 0 1c-.788 0-1.345.196-1.746.463-.405.27-.682.633-.87 1.012a3.8 3.8 0 0 0-.384 1.504l-.001.02v.002l-.01.1a.5.5 0 0 1-.98 0l-.01-.1v-.022l-.005-.093a4 4 0 0 0-.043-.35 3.8 3.8 0 0 0-.337-1.061 2.6 2.6 0 0 0-.87-1.012c-.4-.267-.958-.463-1.745-.463a.5.5 0 1 1 0-1c.787 0 1.344-.195 1.746-.463.404-.27.68-.632.869-1.01.19-.38.287-.767.337-1.062a4 4 0 0 0 .048-.442v-.023a.5.5 0 0 1 1 0zm-.5 1.99a3.56 3.56 0 0 1-1.2 1.377q-.102.07-.214.131.111.063.214.131c.573.382.951.887 1.2 1.378a3.57 3.57 0 0 1 1.413-1.509A3.57 3.57 0 0 1 12 10.49"/>
|
|
6
4
|
</svg>
|
|
@@ -16,12 +16,14 @@ export var euiKeyPadMenuItemStyles = function euiKeyPadMenuItemStyles(euiThemeCo
|
|
|
16
16
|
var _euiKeyPadMenuVariabl = euiKeyPadMenuVariables(euiThemeContext),
|
|
17
17
|
euiKeyPadMenuSize = _euiKeyPadMenuVariabl.euiKeyPadMenuSize;
|
|
18
18
|
return {
|
|
19
|
-
euiKeyPadMenuItem: /*#__PURE__*/css("display:block;padding:", euiTheme.size.xs, ";", logicalSizeCSS(euiKeyPadMenuSize), " border-radius:", euiTheme.border.radius.
|
|
19
|
+
euiKeyPadMenuItem: /*#__PURE__*/css("display:block;padding:", euiTheme.size.xs, ";", logicalSizeCSS(euiKeyPadMenuSize), " border-radius:", euiTheme.border.radius.control, ";color:", euiTheme.colors.textParagraph, ";", euiCanAnimate, "{transition:background-color ", euiTheme.animation.fast, " ease-in,box-shadow ", euiTheme.animation.fast, " ease-in;};label:euiKeyPadMenuItem;"),
|
|
20
20
|
enabled: /*#__PURE__*/css("&:is(:hover, :focus, :focus-within){cursor:pointer;text-decoration:underline;background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";", highContrastModeStyles(euiThemeContext, {
|
|
21
21
|
// Use `outline` instead of border to avoid affecting absolutely positioned children
|
|
22
22
|
preferred: "\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.primary, ";\n ")
|
|
23
23
|
}), ";}&:focus{box-shadow:none;background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";};label:enabled;"),
|
|
24
|
-
selected: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, "
|
|
24
|
+
selected: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, ";", highContrastModeStyles(euiThemeContext, {
|
|
25
|
+
preferred: "\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.primary, ";\n ")
|
|
26
|
+
}), " &:is(*, :hover, :focus, :focus-within){color:", euiTheme.colors.textPrimary, ";background-color:", euiTheme.colors.backgroundBaseInteractiveSelect, ";", highContrastModeStyles(euiThemeContext, {
|
|
25
27
|
// Skip checkable items (which render a <label> instead of <button>/<a>),
|
|
26
28
|
// as they already have sufficient indication of state (checkbox or radio)
|
|
27
29
|
preferred: "\n &:not(label) {\n outline: ".concat(euiTheme.border.width.thick, " solid ").concat(euiTheme.colors.primary, ";\n outline-offset: 0;\n }\n ")
|
|
@@ -31,7 +31,7 @@ export var COLORS = ['primary', 'subdued', 'success', 'accent', 'danger', 'warni
|
|
|
31
31
|
var EuiLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
32
32
|
var children = _ref.children,
|
|
33
33
|
_ref$color = _ref.color,
|
|
34
|
-
color = _ref$color === void 0 ? '
|
|
34
|
+
color = _ref$color === void 0 ? 'text' : _ref$color,
|
|
35
35
|
className = _ref.className,
|
|
36
36
|
href = _ref.href,
|
|
37
37
|
external = _ref.external,
|
|
@@ -86,9 +86,11 @@ EuiLink.propTypes = {
|
|
|
86
86
|
type: PropTypes.oneOf(["button", "reset", "submit"]),
|
|
87
87
|
/**
|
|
88
88
|
* Any of our named colors.
|
|
89
|
+
* @default text
|
|
89
90
|
*/
|
|
90
91
|
/**
|
|
91
92
|
* Any of our named colors.
|
|
93
|
+
* @default text
|
|
92
94
|
*/
|
|
93
95
|
color: PropTypes.any,
|
|
94
96
|
onClick: PropTypes.func,
|
|
@@ -11,14 +11,14 @@ import { css } from '@emotion/react';
|
|
|
11
11
|
import { euiFocusRing, logicalTextAlignCSS } from '../../global_styling';
|
|
12
12
|
export var euiLinkCSS = function euiLinkCSS(euiThemeContext) {
|
|
13
13
|
var euiTheme = euiThemeContext.euiTheme;
|
|
14
|
-
return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n ").concat(logicalTextAlignCSS('left'), "\n\n &:hover {\n text-decoration: underline;\n }\n\n &:focus {\n ").concat(euiFocusRing(euiThemeContext, 'outset'), "\n text-decoration
|
|
14
|
+
return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n ").concat(logicalTextAlignCSS('left'), "\n color: ").concat(euiTheme.colors.textParagraph, ";\n text-decoration: underline dotted;\n /* use a fallback as \"from-font\" isn't fully supported by all last major versions yet */\n text-decoration-thickness: ").concat(euiTheme.border.width.thin, ";\n text-decoration-thickness: from-font;\n\n &:hover,\n &:focus {\n text-decoration: underline solid;\n }\n\n &:focus {\n ").concat(euiFocusRing(euiThemeContext, 'outset'), "\n text-decoration-thickness: ").concat(euiTheme.border.width.thick, ";\n }\n ");
|
|
15
15
|
};
|
|
16
16
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
17
|
-
name: "
|
|
18
|
-
styles: "font-weight:inherit;&:hover{cursor:auto;}&:hover,&:focus,&:target{text-decoration:none;};label:disabled;"
|
|
17
|
+
name: "1ypp78e-disabled",
|
|
18
|
+
styles: "font-weight:inherit;color:inherit;text-decoration:none;&:hover{cursor:auto;}&:hover,&:focus,&:target{color:inherit;text-decoration:none;};label:disabled;"
|
|
19
19
|
} : {
|
|
20
|
-
name: "
|
|
21
|
-
styles: "font-weight:inherit;&:hover{cursor:auto;}&:hover,&:focus,&:target{text-decoration:none;};label:disabled;",
|
|
20
|
+
name: "1ypp78e-disabled",
|
|
21
|
+
styles: "font-weight:inherit;color:inherit;text-decoration:none;&:hover{cursor:auto;}&:hover,&:focus,&:target{color:inherit;text-decoration:none;};label:disabled;",
|
|
22
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
23
|
};
|
|
24
24
|
export var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
|
|
@@ -34,9 +34,10 @@ export var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
|
|
|
34
34
|
danger: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textDanger), ";label:danger;"),
|
|
35
35
|
warning: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textWarning), ";label:warning;"),
|
|
36
36
|
ghost: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textGhost), ";label:ghost;"),
|
|
37
|
-
text: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textParagraph), ";label:text;")
|
|
37
|
+
text: /*#__PURE__*/css(_colorCSS(euiTheme.colors.textParagraph, euiTheme.colors.textPrimary), ";label:text;")
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
var _colorCSS = function _colorCSS(color) {
|
|
41
|
-
|
|
40
|
+
var _colorCSS = function _colorCSS(color, interactionColor) {
|
|
41
|
+
var focusColor = interactionColor !== null && interactionColor !== void 0 ? interactionColor : color;
|
|
42
|
+
return "\n color: ".concat(color, ";\n\n &:where(:hover, :focus) {\n color: ").concat(focusColor, ";\n }\n\n &:target {\n color: color-mix(in oklab, ").concat(color, ", #000 10%);\n }\n ");
|
|
42
43
|
};
|
|
@@ -24,7 +24,7 @@ export var euiListGroupStyles = function euiListGroupStyles(euiThemeContext) {
|
|
|
24
24
|
return {
|
|
25
25
|
// Base
|
|
26
26
|
euiListGroup: _ref,
|
|
27
|
-
bordered: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.
|
|
27
|
+
bordered: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.panel, ";border:", euiTheme.border.thin, ";;label:bordered;"),
|
|
28
28
|
maxWidthDefault: /*#__PURE__*/css(logicalCSS('max-width', formMaxWidth), ";;label:maxWidthDefault;")
|
|
29
29
|
};
|
|
30
30
|
};
|
|
@@ -29,7 +29,7 @@ export var euiListItemVariables = function euiListItemVariables(_ref3) {
|
|
|
29
29
|
};
|
|
30
30
|
var listItemCommonStyles = function listItemCommonStyles(euiThemeContext) {
|
|
31
31
|
var euiTheme = euiThemeContext.euiTheme;
|
|
32
|
-
return "\n display: inline-flex; /* Necessary to make sure it doesn't force the whole popover to be too wide */\n align-items: center;\n ".concat(logicalCSS('width', '100%'), "\n border-radius: ").concat(euiTheme.border.radius.
|
|
32
|
+
return "\n display: inline-flex; /* Necessary to make sure it doesn't force the whole popover to be too wide */\n align-items: center;\n ".concat(logicalCSS('width', '100%'), "\n border-radius: ").concat(euiTheme.border.radius.control, ";\n line-height: ").concat(euiFontSize(euiThemeContext, 's').lineHeight, ";\n font-size: ").concat(euiFontSize(euiThemeContext, 's').fontSize, ";\n color: ").concat(euiTheme.colors.textParagraph, ";\n overflow: hidden;\n ");
|
|
33
33
|
};
|
|
34
34
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
35
35
|
name: "8595p9-isDisabled",
|
|
@@ -57,7 +57,7 @@ export var euiListItemLayoutStyles = function euiListItemLayoutStyles(euiThemeCo
|
|
|
57
57
|
var notDisabledSelector = "&:not([aria-disabled=\"true\"])";
|
|
58
58
|
var sharedFlexStyles = "\n display: flex;\n align-items: center;\n flex-shrink: 0;\n ";
|
|
59
59
|
var highlightedStyles = "\n ".concat(notDisabledSelector, " {\n background-color: ").concat(euiTheme.colors.backgroundBaseInteractiveHover, ";\n\n ").concat(highContrastModeStyles(euiThemeContext, {
|
|
60
|
-
preferred: "\n text-decoration: underline;\n "
|
|
60
|
+
preferred: "\n text-decoration: underline;\n\n &:not(:focus, :focus-visible) {\n /* uses outline to prevent layout jumps between navigated items */\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderBasePlain, ";\n outline-offset: -").concat(euiTheme.border.width.thin, ";\n }\n ")
|
|
61
61
|
}), "\n }\n ");
|
|
62
62
|
return {
|
|
63
63
|
euiListItemLayout: /*#__PURE__*/css(listItemCommonStyles(euiThemeContext), " ", logicalCSS('padding-horizontal', spacing.horizontal), ";;label:euiListItemLayout;"),
|
|
@@ -75,7 +75,9 @@ export var euiListItemLayoutStyles = function euiListItemLayoutStyles(euiThemeCo
|
|
|
75
75
|
isDisabled: /*#__PURE__*/css("color:", euiTheme.colors.textDisabled, ";cursor:not-allowed;background-color:transparent;;label:isDisabled;"),
|
|
76
76
|
buttonIsDisabled: _ref2,
|
|
77
77
|
isFocused: /*#__PURE__*/css(highlightedStyles, ";;label:isFocused;"),
|
|
78
|
-
isSelected: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";background-color:", euiTheme.colors.backgroundBaseInteractiveSelect, ";", notDisabledSelector, "{&:hover{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";}}
|
|
78
|
+
isSelected: /*#__PURE__*/css("color:", euiTheme.colors.textPrimary, ";background-color:", euiTheme.colors.backgroundBaseInteractiveSelect, ";", notDisabledSelector, "{&:hover{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";}}", highContrastModeStyles(euiThemeContext, {
|
|
79
|
+
preferred: "\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderStrongPrimary, ";\n outline-offset: -").concat(euiTheme.border.width.thin, ";\n ")
|
|
80
|
+
}), " .euiIcon,.euiButtonIcon{color:inherit;}.euiListItemLayout__prepend,.euiListItemLayout__append{.euiIcon{color:", euiTheme.colors.textPrimary, ";}};label:isSelected;"),
|
|
79
81
|
isSelectedFocused: /*#__PURE__*/css(notDisabledSelector, "{background-color:", euiTheme.colors.backgroundBaseInteractiveSelectHover, ";};label:isSelectedFocused;"),
|
|
80
82
|
tooltip: {
|
|
81
83
|
isDisabled: _ref
|
|
@@ -12,7 +12,7 @@ export var euiMarkdownEditorVariables = function euiMarkdownEditorVariables(_ref
|
|
|
12
12
|
var euiTheme = _ref.euiTheme;
|
|
13
13
|
return {
|
|
14
14
|
minHeight: '150px',
|
|
15
|
-
borderRadius: euiTheme.border.radius.
|
|
15
|
+
borderRadius: euiTheme.border.radius.panel,
|
|
16
16
|
barsBackgroundColor: euiTheme.colors.lightestShade
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -14,8 +14,8 @@ export var euiModalStyles = function euiModalStyles(euiThemeContext) {
|
|
|
14
14
|
var euiTheme = euiThemeContext.euiTheme;
|
|
15
15
|
return {
|
|
16
16
|
euiModal: /*#__PURE__*/css(euiShadowXLarge(euiThemeContext, {
|
|
17
|
-
|
|
18
|
-
}), " display:flex;flex-direction:column;max-block-size:75vh;position:relative;background-color:", euiTheme.colors.
|
|
17
|
+
border: 'none'
|
|
18
|
+
}), " display:flex;flex-direction:column;max-block-size:75vh;position:relative;background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.frame, ";border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.borderBaseFloating, ";z-index:", euiTheme.levels.modal, ";min-inline-size:", euiFormVariables(euiThemeContext).maxWidth, ";max-inline-size:calc(100vw - ", euiTheme.size.base, ");overflow:hidden;", euiCanAnimate, "{animation:", euiAnimSlideInUp(euiTheme.size.xxl), " ", euiTheme.animation.slow, " ", euiTheme.animation.bounce, ";}", euiMaxBreakpoint(euiThemeContext, 'm'), "{position:fixed;inset:0;border-radius:0;inline-size:100vw!important;min-inline-size:0!important;max-inline-size:none!important;max-block-size:100vh!important;}&:focus{outline:none;};label:euiModal;"),
|
|
19
19
|
// Variants
|
|
20
20
|
defaultMaxWidth: /*#__PURE__*/css("max-inline-size:min(\n ", euiTheme.breakpoint.m, "px,\n calc(100vw - ", euiTheme.size.base, ")\n );;label:defaultMaxWidth;"),
|
|
21
21
|
confirmation: /*#__PURE__*/css("min-inline-size:", euiFormVariables(euiThemeContext).maxWidth, ";", euiMaxBreakpoint(euiThemeContext, 'm'), "{", euiShadowXLarge(euiThemeContext, {
|
|
@@ -379,11 +379,14 @@ EuiPageHeaderContent.propTypes = {
|
|
|
379
379
|
panelProps: PropTypes.shape({
|
|
380
380
|
element: PropTypes.oneOf(["div"]),
|
|
381
381
|
/**
|
|
382
|
-
* Padding for all four sides
|
|
382
|
+
* Padding for all four sides.
|
|
383
|
+
* Do not use `xs` and `xl` values, they will be removed in the future.
|
|
384
|
+
* @default m
|
|
383
385
|
*/
|
|
384
386
|
paddingSize: PropTypes.any,
|
|
385
387
|
/**
|
|
386
|
-
* Corner border radius
|
|
388
|
+
* Corner border radius.
|
|
389
|
+
* @default m
|
|
387
390
|
*/
|
|
388
391
|
borderRadius: PropTypes.any,
|
|
389
392
|
/**
|