@elastic/eui 102.1.0 → 102.2.0-snapshot.1748601905883
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_theme_borealis_dark.json +1 -1
- package/es/components/badge/color_utils.js +1 -3
- package/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/es/components/basic_table/basic_table.js +14 -10
- package/es/components/basic_table/in_memory_table.js +22 -17
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/es/components/breadcrumbs/breadcrumbs.js +3 -3
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display.styles.js +11 -2
- package/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group.styles.js +5 -3
- package/es/components/button/button_group/button_group_button.js +19 -9
- package/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/es/components/button/button_icon/button_icon.js +4 -2
- package/es/components/collapsible_nav/collapsible_nav.js +1 -0
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/comment_list/comment_list.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/es/components/datagrid/body/data_grid_body.js +14 -9
- package/es/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/es/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/es/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/es/components/datagrid/body/header/draggable_columns.js +1 -1
- package/es/components/datagrid/controls/column_sorting.js +6 -6
- package/es/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/es/components/datagrid/utils/focus.js +2 -2
- package/es/components/datagrid/utils/in_memory.js +3 -3
- package/es/components/datagrid/utils/scrolling.js +3 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/es/components/filter_group/filter_button.js +88 -23
- package/es/components/filter_group/filter_button.styles.js +51 -15
- package/es/components/filter_group/filter_group.styles.js +18 -6
- package/es/components/form/range/dual_range.js +1 -1
- package/es/components/form/range/range.js +1 -1
- package/es/components/form/range/range_track.js +1 -1
- package/es/components/form/select/select.js +1 -1
- package/es/components/header/header.js +10 -10
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +3 -3
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/icon/assets/logo_elastic.js +23 -17
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/key_pad_menu/key_pad_menu.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_elastic.styles.js +2 -2
- package/es/components/loading/loading_spinner.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/popover/popover.js +1 -1
- package/es/components/responsive/hide_for.js +1 -1
- package/es/components/responsive/show_for.js +1 -1
- package/es/components/search_bar/filters/field_value_selection_filter.js +2 -1
- package/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
- package/es/components/search_bar/filters/is_filter.js +3 -1
- package/es/components/search_bar/search_bar.a11y.js +3 -3
- package/es/components/search_bar/search_bar.js +3 -3
- package/es/components/search_bar/search_filters.js +2 -2
- package/es/components/selectable/selectable.js +13 -12
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/es/components/side_nav/side_nav.js +2 -2
- package/es/components/table/table_row_cell.js +1 -1
- package/es/components/timeline/timeline.js +1 -1
- package/es/components/toast/global_toast_list.js +27 -20
- package/es/components/tour/tour_step.js +1 -1
- package/es/global_styling/mixins/_button.js +95 -28
- package/es/services/theme/hooks.js +11 -0
- package/es/services/theme/index.js +3 -2
- package/es/services/theme/provider.js +28 -2
- package/es/services/theme/theme_variant.js +22 -0
- package/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/es/themes/amsterdam/theme.js +2 -1
- package/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/eui.d.ts +2034 -249
- package/lib/components/badge/color_utils.js +1 -3
- package/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/lib/components/basic_table/basic_table.js +14 -10
- package/lib/components/basic_table/in_memory_table.js +22 -17
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group.styles.js +5 -3
- package/lib/components/button/button_group/button_group_button.js +18 -8
- package/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/lib/components/button/button_icon/button_icon.js +3 -1
- package/lib/components/collapsible_nav/collapsible_nav.js +1 -0
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/comment_list/comment_list.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/lib/components/datagrid/body/data_grid_body.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/lib/components/datagrid/body/header/draggable_columns.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +6 -6
- package/lib/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/lib/components/datagrid/utils/focus.js +1 -1
- package/lib/components/datagrid/utils/in_memory.js +3 -3
- package/lib/components/datagrid/utils/scrolling.js +3 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/lib/components/filter_group/filter_button.js +86 -21
- package/lib/components/filter_group/filter_button.styles.js +51 -15
- package/lib/components/filter_group/filter_group.styles.js +18 -6
- package/lib/components/form/range/dual_range.js +1 -1
- package/lib/components/form/range/range.js +1 -1
- package/lib/components/form/range/range_track.js +1 -1
- package/lib/components/form/select/select.js +1 -1
- package/lib/components/header/header.js +10 -10
- package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/lib/components/icon/assets/logo_elastic.js +23 -17
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/lib/components/key_pad_menu/key_pad_menu.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_elastic.styles.js +2 -2
- package/lib/components/loading/loading_spinner.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/lib/components/popover/popover.js +1 -1
- package/lib/components/responsive/hide_for.js +1 -1
- package/lib/components/responsive/show_for.js +1 -1
- package/lib/components/search_bar/filters/field_value_selection_filter.js +2 -1
- package/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
- package/lib/components/search_bar/filters/is_filter.js +3 -1
- package/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/lib/components/search_bar/search_bar.js +3 -3
- package/lib/components/search_bar/search_filters.js +2 -2
- package/lib/components/selectable/selectable.js +13 -12
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/lib/components/side_nav/side_nav.js +2 -2
- package/lib/components/table/table_row_cell.js +1 -1
- package/lib/components/timeline/timeline.js +1 -1
- package/lib/components/toast/global_toast_list.js +27 -20
- package/lib/global_styling/mixins/_button.js +94 -27
- package/lib/services/theme/hooks.js +12 -1
- package/lib/services/theme/index.js +48 -1
- package/lib/services/theme/provider.js +28 -2
- package/lib/services/theme/theme_variant.js +28 -0
- package/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/lib/themes/amsterdam/theme.js +2 -1
- package/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/es/components/badge/color_utils.js +1 -3
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/optimize/es/components/button/button_display/_button_display.js +1 -1
- package/optimize/es/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/optimize/es/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/es/components/button/button_group/button_group_button.js +12 -8
- package/optimize/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/optimize/es/components/button/button_icon/button_icon.js +4 -2
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/es/components/datagrid/utils/focus.js +2 -2
- package/optimize/es/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/es/components/filter_group/filter_button.js +78 -21
- package/optimize/es/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/es/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/es/components/form/select/select.js +1 -1
- package/optimize/es/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/es/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/toast/global_toast_list.js +24 -20
- package/optimize/es/global_styling/mixins/_button.js +95 -28
- package/optimize/es/services/theme/hooks.js +11 -0
- package/optimize/es/services/theme/index.js +3 -2
- package/optimize/es/services/theme/provider.js +28 -2
- package/optimize/es/services/theme/theme_variant.js +22 -0
- package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/es/themes/amsterdam/theme.js +2 -1
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/lib/components/badge/color_utils.js +1 -3
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/optimize/lib/components/button/button_display/_button_display.js +1 -1
- package/optimize/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/optimize/lib/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/lib/components/button/button_group/button_group_button.js +11 -7
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/optimize/lib/components/button/button_icon/button_icon.js +3 -1
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/lib/components/datagrid/utils/focus.js +1 -1
- package/optimize/lib/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/optimize/lib/components/filter_group/filter_button.js +76 -19
- package/optimize/lib/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/lib/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/lib/components/form/select/select.js +1 -1
- package/optimize/lib/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/optimize/lib/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/lib/components/selectable/selectable.js +10 -9
- package/optimize/lib/components/toast/global_toast_list.js +24 -20
- package/optimize/lib/global_styling/mixins/_button.js +94 -27
- package/optimize/lib/services/theme/hooks.js +12 -1
- package/optimize/lib/services/theme/index.js +48 -1
- package/optimize/lib/services/theme/provider.js +28 -2
- package/optimize/lib/services/theme/theme_variant.js +28 -0
- package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/lib/themes/amsterdam/theme.js +2 -1
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/package.json +8 -9
- package/test-env/components/badge/color_utils.js +1 -3
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/test-env/components/basic_table/basic_table.js +14 -10
- package/test-env/components/basic_table/in_memory_table.js +22 -17
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display.styles.js +11 -2
- package/test-env/components/button/button_display/_button_display_content.styles.js +6 -3
- package/test-env/components/button/button_empty/button_empty.styles.js +10 -11
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group.styles.js +5 -3
- package/test-env/components/button/button_group/button_group_button.js +18 -8
- package/test-env/components/button/button_group/button_group_button.styles.js +41 -17
- package/test-env/components/button/button_icon/button_icon.js +3 -1
- package/test-env/components/collapsible_nav/collapsible_nav.js +1 -0
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/comment_list/comment_list.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/test-env/components/datagrid/body/data_grid_body.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/test-env/components/datagrid/body/header/draggable_columns.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/test-env/components/datagrid/utils/focus.js +1 -1
- package/test-env/components/datagrid/utils/in_memory.js +3 -3
- package/test-env/components/datagrid/utils/scrolling.js +3 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/test-env/components/filter_group/filter_button.js +86 -21
- package/test-env/components/filter_group/filter_button.styles.js +51 -15
- package/test-env/components/filter_group/filter_group.styles.js +18 -6
- package/test-env/components/form/range/dual_range.js +1 -1
- package/test-env/components/form/range/range.js +1 -1
- package/test-env/components/form/range/range_track.js +1 -1
- package/test-env/components/form/select/select.js +1 -1
- package/test-env/components/header/header.js +10 -10
- package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/test-env/components/icon/assets/logo_elastic.js +23 -17
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_elastic.styles.js +2 -2
- package/test-env/components/loading/loading_spinner.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/test-env/components/popover/popover.js +1 -1
- package/test-env/components/responsive/hide_for.js +1 -1
- package/test-env/components/responsive/show_for.js +1 -1
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +2 -1
- package/test-env/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
- package/test-env/components/search_bar/filters/is_filter.js +3 -1
- package/test-env/components/search_bar/search_bar.a11y.js +3 -3
- package/test-env/components/search_bar/search_bar.js +3 -3
- package/test-env/components/search_bar/search_filters.js +2 -2
- package/test-env/components/selectable/selectable.js +13 -12
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/test-env/components/side_nav/side_nav.js +2 -2
- package/test-env/components/table/table_row_cell.js +1 -1
- package/test-env/components/timeline/timeline.js +1 -1
- package/test-env/components/toast/global_toast_list.js +24 -20
- package/test-env/global_styling/mixins/_button.js +94 -27
- package/test-env/services/theme/hooks.js +12 -1
- package/test-env/services/theme/index.js +48 -1
- package/test-env/services/theme/provider.js +28 -2
- package/test-env/services/theme/theme_variant.js +28 -0
- package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/test-env/themes/amsterdam/theme.js +2 -1
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/test-env/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_dark.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_light.json +427 -0
|
@@ -30,11 +30,11 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
30
30
|
* Side Public License, v 1.
|
|
31
31
|
*/
|
|
32
32
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
33
|
-
name: "
|
|
34
|
-
styles: "overflow:hidden;label:tooltipWrapper;"
|
|
33
|
+
name: "m6ysua-tooltipWrapper",
|
|
34
|
+
styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;"
|
|
35
35
|
} : {
|
|
36
|
-
name: "
|
|
37
|
-
styles: "overflow:hidden;label:tooltipWrapper;",
|
|
36
|
+
name: "m6ysua-tooltipWrapper",
|
|
37
|
+
styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;",
|
|
38
38
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
39
39
|
};
|
|
40
40
|
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
@@ -48,48 +48,70 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
48
48
|
var euiButtonGroupButtonStyles = exports.euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiThemeContext) {
|
|
49
49
|
var euiTheme = euiThemeContext.euiTheme,
|
|
50
50
|
highContrastMode = euiThemeContext.highContrastMode;
|
|
51
|
+
var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
|
|
51
52
|
var _euiFormVariables = (0, _form.euiFormVariables)(euiThemeContext),
|
|
52
53
|
controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
|
|
53
54
|
controlCompressedBorderRadius = _euiFormVariables.controlCompressedBorderRadius;
|
|
54
55
|
var compressedButtonHeight = (0, _global_styling.mathWithUnits)([controlCompressedHeight, euiTheme.border.width.thin], function (x, y) {
|
|
55
|
-
return x - y * 2;
|
|
56
|
+
return isRefreshVariant ? x - y * 6 : x - y * 2;
|
|
56
57
|
});
|
|
58
|
+
var selectedSelectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
|
|
57
59
|
var uncompressedBorderRadii = function uncompressedBorderRadii(radiusSize) {
|
|
58
|
-
return "\n border-radius: 0;\n\n &:first-child {\n ".concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n ");
|
|
60
|
+
return "\n border-radius: 0;\n\n &:first-child {\n ".concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n\n &:first-child:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize)), "\n }\n ");
|
|
59
61
|
};
|
|
62
|
+
var refreshVariantStyles = "\n &:is(".concat(selectedSelectors, ") {\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
|
|
63
|
+
forced: "\n --highContrastHoverIndicatorColor: ".concat(euiTheme.colors.textInverse, ";\n border: none;\n\n /* styles the content manually instead of the button itself to preserve the system\n focus style, as otherwise preventForcedColors() would require manual styling */\n > [class*=\"euiButtonDisplayContent\"] {\n ").concat((0, _global_styling.preventForcedColors)(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n border: none;\n }\n ")
|
|
64
|
+
}), "\n }\n ");
|
|
65
|
+
var uncompressedStyles = isRefreshVariant ? "\n &:is(".concat(selectedSelectors, "):not(:disabled) {\n z-index: 1;\n /* prevent layout jumps due to missing border for selected/filled buttons */\n border: ").concat(euiTheme.border.width.thin, " solid transparent;\n\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
|
|
66
|
+
forced: "\n /* use inset focus outline to ensure visibility, same as custom hover.\n NOTE: temp solution - this will be revisited once we handle global focus styles */\n &:focus-visible {\n outline-color: ".concat(euiTheme.colors.textInverse, ";\n /* has to be inset due to overflow: hidden */\n outline-offset: -").concat((0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
|
|
67
|
+
return x * 4;
|
|
68
|
+
}), ";\n }\n ")
|
|
69
|
+
}), "\n }\n ") : "\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ".concat(euiTheme.font.weight.bold, ";\n }\n ");
|
|
70
|
+
var compressedStyles = isRefreshVariant ? "\n margin: ".concat(euiTheme.size.xxs, ";\n border-radius: ").concat((0, _global_styling.mathWithUnits)(euiTheme.border.radius.small, function (x) {
|
|
71
|
+
return x / 2;
|
|
72
|
+
}), ";\n\n & + .euiButtonGroupButton {\n ").concat((0, _global_styling.logicalCSS)('margin-left', '0'), "\n }\n\n &:is(").concat(selectedSelectors, "):not(:disabled) {\n /* prevent layout jumps due to missing border for non-selected buttons */\n border: none;\n\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
|
|
73
|
+
forced: "\n /* use inset focus outline to ensure visibility, same as custom hover.\n NOTE: temp solution - this will be revisited once we handle global focus styles */\n &:focus-visible {\n outline-color: ".concat(euiTheme.colors.textInverse, ";\n /* has to be inset due to overflow: hidden */\n outline-offset: -").concat((0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
|
|
74
|
+
return x * 3;
|
|
75
|
+
}), ";\n }\n ")
|
|
76
|
+
}), "\n }\n ") : "\n background-clip: content-box;\n /* Tweak border radius to account for the padding & background-clip */\n border-radius: ".concat((0, _global_styling.mathWithUnits)([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
|
|
77
|
+
return x + y;
|
|
78
|
+
}), ";\n\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ").concat(euiTheme.font.weight.semiBold, ";\n }\n ");
|
|
60
79
|
return {
|
|
61
80
|
// Base
|
|
62
|
-
euiButtonGroupButton: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:
|
|
81
|
+
euiButtonGroupButton: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:2;}", _global_styling.euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;}", isRefreshVariant && refreshVariantStyles, ";;label:euiButtonGroupButton;"),
|
|
63
82
|
iconOnly: /*#__PURE__*/(0, _react.css)("padding-inline:", euiTheme.size.s, ";;label:iconOnly;"),
|
|
64
83
|
// Sizes
|
|
65
84
|
uncompressed: {
|
|
66
|
-
uncompressed: /*#__PURE__*/(0, _react.css)("&:
|
|
85
|
+
uncompressed: /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";}", uncompressedStyles, ";;label:uncompressed;"),
|
|
67
86
|
get borders() {
|
|
68
87
|
// We use pseudo elements to avoid affecing button width, and to allow
|
|
69
88
|
// inheriting high contrast border colors
|
|
70
|
-
var selectors =
|
|
89
|
+
var selectors = selectedSelectors;
|
|
71
90
|
var selectedColor = highContrastMode ? euiTheme.colors.emptyShade : euiTheme.components.buttonGroupBorderColorSelected;
|
|
72
91
|
var unselectedColor = highContrastMode ? 'inherit' : euiTheme.components.buttonGroupBorderColor;
|
|
92
|
+
var borderWidth = euiTheme.border.width.thin;
|
|
93
|
+
var borderStyles = isRefreshVariant ? "\n &:not(:first-child) {\n margin-inline-start: -".concat(borderWidth, ";\n }\n\n &:is(").concat(selectors, ") {\n &::before {\n position: absolute;\n z-index: 1;\n ").concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('vertical', "-".concat(euiTheme.border.width.thin)), "\n ").concat((0, _global_styling.logicalCSS)('border-left-style', 'solid'), "\n ").concat((0, _global_styling.logicalCSS)('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n\n ").concat((0, _global_styling.preventForcedColors)(euiThemeContext), "\n }\n }\n ") : "\n &::before {\n position: absolute;\n ".concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat((0, _global_styling.logicalCSS)('border-left-style', 'solid'), "\n ").concat((0, _global_styling.logicalCSS)('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n }\n ");
|
|
73
94
|
|
|
74
95
|
// "Borders" between buttons should be present between two of the same colored buttons,
|
|
75
96
|
// and absent between selected vs non-selected buttons (different colors)
|
|
76
|
-
return "\n position: relative;\n\n
|
|
97
|
+
return "\n position: relative;\n\n ".concat(borderStyles, "\n\n &:not(").concat(selectors, ") + *:not(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(unselectedColor, ";\n }\n }\n\n &:is(").concat(selectors, ") + *:is(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(selectedColor, ";\n }\n }\n ");
|
|
77
98
|
},
|
|
78
99
|
get s() {
|
|
79
100
|
return /*#__PURE__*/(0, _react.css)(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.small), ";;label:s;");
|
|
80
101
|
},
|
|
81
102
|
get m() {
|
|
82
|
-
|
|
103
|
+
var radius = isRefreshVariant ? euiTheme.border.radius.small : euiTheme.border.radius.medium;
|
|
104
|
+
return /*#__PURE__*/(0, _react.css)(this.borders, " ", uncompressedBorderRadii(radius), ";;label:m;");
|
|
83
105
|
},
|
|
84
106
|
hasToolTip: _ref2
|
|
85
107
|
},
|
|
86
|
-
compressed: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";padding:", (0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
|
|
108
|
+
compressed: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";font-weight:", euiTheme.font.weight.regular, ";padding:", isRefreshVariant ? '0' : (0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
|
|
87
109
|
return x * 2;
|
|
88
|
-
}), ";
|
|
89
|
-
return x + y;
|
|
90
|
-
}), ";font-weight:", euiTheme.font.weight.regular, ";&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.semiBold, ";};label:compressed;"),
|
|
110
|
+
}), ";", compressedStyles, ";;label:compressed;"),
|
|
91
111
|
// States
|
|
92
|
-
disabledAndSelected: /*#__PURE__*/(0, _react.css)("color:", (0, _services.makeDisabledContrastColor)(euiTheme.colors.textDisabled)(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";background-color:", euiTheme.components.buttonGroupBackgroundDisabledSelected, ";border:", highContrastMode
|
|
112
|
+
disabledAndSelected: /*#__PURE__*/(0, _react.css)("color:", isRefreshVariant ? euiTheme.colors.textDisabled : (0, _services.makeDisabledContrastColor)(euiTheme.colors.textDisabled)(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";background-color:", euiTheme.components.buttonGroupBackgroundDisabledSelected, ";border:", highContrastMode ? "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.components.buttonGroupBackgroundDisabledSelected) : isRefreshVariant ? "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderBasePlain) : '', ";;label:disabledAndSelected;"),
|
|
113
|
+
// Skip css`` to avoid generating a className
|
|
114
|
+
hasBorder: "\n border: ".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBasePlain, ";\n "),
|
|
93
115
|
// Tooltip anchor wrapper
|
|
94
116
|
tooltipWrapper: _ref,
|
|
95
117
|
// Content wrapper
|
|
@@ -105,10 +127,12 @@ var euiButtonGroupButtonStyles = exports.euiButtonGroupButtonStyles = function e
|
|
|
105
127
|
};
|
|
106
128
|
};
|
|
107
129
|
var _compressedButtonFocusColors = exports._compressedButtonFocusColors = function _compressedButtonFocusColors(euiThemeContext) {
|
|
130
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
131
|
+
var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
|
|
108
132
|
var colors = [].concat(_toConsumableArray(_button.BUTTON_COLORS), ['disabled']);
|
|
109
133
|
return colors.reduce(function (acc, color) {
|
|
110
134
|
var _euiButtonFillColor = (0, _button.euiButtonFillColor)(euiThemeContext, color),
|
|
111
135
|
backgroundColor = _euiButtonFillColor.backgroundColor;
|
|
112
|
-
return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, 'center', backgroundColor), " &:is(.euiButtonGroupButton-isSelected){outline-offset:0;}
|
|
136
|
+
return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, isRefreshVariant ? 'outset' : 'center', isRefreshVariant ? euiTheme.focus.color : backgroundColor), " ", !isRefreshVariant && "\n &:is(.euiButtonGroupButton-isSelected) {\n outline-offset: 0;\n }\n ", ";}")));
|
|
113
137
|
}, {});
|
|
114
138
|
};
|
|
@@ -50,6 +50,8 @@ var EuiButtonIcon = exports.EuiButtonIcon = function EuiButtonIcon(_ref) {
|
|
|
50
50
|
isSelected = _ref.isSelected,
|
|
51
51
|
isLoading = _ref.isLoading,
|
|
52
52
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
53
|
+
var euiThemeContext = (0, _services.useEuiTheme)();
|
|
54
|
+
var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
|
|
53
55
|
var isDisabled = (0, _button_display.isButtonDisabled)({
|
|
54
56
|
isDisabled: _isDisabled || disabled,
|
|
55
57
|
href: href,
|
|
@@ -66,7 +68,7 @@ var EuiButtonIcon = exports.EuiButtonIcon = function EuiButtonIcon(_ref) {
|
|
|
66
68
|
var buttonFocusStyle = (0, _button.useEuiButtonFocusCSS)();
|
|
67
69
|
var emptyHoverStyles = (0, _services.useEuiMemoizedStyles)(_button_icon._emptyHoverStyles);
|
|
68
70
|
var styles = (0, _services.useEuiMemoizedStyles)(_button_icon.euiButtonIconStyles);
|
|
69
|
-
var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
|
|
71
|
+
var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, !isRefreshVariant && display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
|
|
70
72
|
var classes = (0, _classnames.default)('euiButtonIcon', className);
|
|
71
73
|
|
|
72
74
|
// Add an icon to the button if one exists.
|
|
@@ -214,6 +214,7 @@ EuiCollapsibleNav.propTypes = {
|
|
|
214
214
|
* Object of props passed to EuiFocusTrap.
|
|
215
215
|
* `shards` specifies an array of elements that will be considered part of the flyout, preventing the flyout from being closed when clicked.
|
|
216
216
|
* `closeOnMouseup` will delay the close callback, allowing time for external toggle buttons to handle close behavior.
|
|
217
|
+
* `returnFocus` defines the return focus behavior and provides the possibility to check the available target element or opt out of the behavior in favor of manually returning focus
|
|
217
218
|
*/
|
|
218
219
|
focusTrapProps: _propTypes.default.any,
|
|
219
220
|
/**
|
package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js
CHANGED
|
@@ -219,7 +219,7 @@ KibanaCollapsibleNavSolution.propTypes = {
|
|
|
219
219
|
*/
|
|
220
220
|
showToolTip: _propTypes.default.bool,
|
|
221
221
|
/**
|
|
222
|
-
* An object of
|
|
222
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
223
223
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
224
224
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
225
225
|
*/
|
package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js
CHANGED
|
@@ -88,7 +88,7 @@ EuiCollapsedNavItem.propTypes = {
|
|
|
88
88
|
/**
|
|
89
89
|
* Will render either an accordion or group of nested child item links.
|
|
90
90
|
*
|
|
91
|
-
* Accepts any
|
|
91
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
92
92
|
* subitem content, pass an object with a `renderItem` callback.
|
|
93
93
|
*/
|
|
94
94
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -136,7 +136,7 @@ EuiCollapsedNavItem.propTypes = {
|
|
|
136
136
|
/**
|
|
137
137
|
* Will render either an accordion or group of nested child item links.
|
|
138
138
|
*
|
|
139
|
-
* Accepts any
|
|
139
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
140
140
|
* subitem content, pass an object with a `renderItem` callback.
|
|
141
141
|
*/
|
|
142
142
|
items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
|
package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js
CHANGED
|
@@ -141,7 +141,7 @@ EuiCollapsedNavPopover.propTypes = {
|
|
|
141
141
|
/**
|
|
142
142
|
* Will render either an accordion or group of nested child item links.
|
|
143
143
|
*
|
|
144
|
-
* Accepts any
|
|
144
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
145
145
|
* subitem content, pass an object with a `renderItem` callback.
|
|
146
146
|
*/
|
|
147
147
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -189,7 +189,7 @@ EuiCollapsedNavPopover.propTypes = {
|
|
|
189
189
|
/**
|
|
190
190
|
* Will render either an accordion or group of nested child item links.
|
|
191
191
|
*
|
|
192
|
-
* Accepts any
|
|
192
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
193
193
|
* subitem content, pass an object with a `renderItem` callback.
|
|
194
194
|
*/
|
|
195
195
|
items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
|
|
@@ -136,7 +136,7 @@ EuiCollapsibleNavItemDisplay.propTypes = {
|
|
|
136
136
|
/**
|
|
137
137
|
* Will render either an accordion or group of nested child item links.
|
|
138
138
|
*
|
|
139
|
-
* Accepts any
|
|
139
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
140
140
|
* subitem content, pass an object with a `renderItem` callback.
|
|
141
141
|
*/
|
|
142
142
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -251,7 +251,7 @@ EuiCollapsibleNavSubItem.propTypes = {
|
|
|
251
251
|
/**
|
|
252
252
|
* Will render either an accordion or group of nested child item links.
|
|
253
253
|
*
|
|
254
|
-
* Accepts any
|
|
254
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
255
255
|
* subitem content, pass an object with a `renderItem` callback.
|
|
256
256
|
*/
|
|
257
257
|
items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
|
|
@@ -357,7 +357,7 @@ EuiCollapsibleNavSubItems.propTypes = {
|
|
|
357
357
|
/**
|
|
358
358
|
* Will render either an accordion or group of nested child item links.
|
|
359
359
|
*
|
|
360
|
-
* Accepts any
|
|
360
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
361
361
|
* subitem content, pass an object with a `renderItem` callback.
|
|
362
362
|
*/
|
|
363
363
|
items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
|
|
@@ -439,7 +439,7 @@ EuiCollapsibleNavItem.propTypes = {
|
|
|
439
439
|
/**
|
|
440
440
|
* Will render either an accordion or group of nested child item links.
|
|
441
441
|
*
|
|
442
|
-
* Accepts any
|
|
442
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
443
443
|
* subitem content, pass an object with a `renderItem` callback.
|
|
444
444
|
*/
|
|
445
445
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -64,10 +64,10 @@ EuiColorPaletteDisplay.propTypes = {
|
|
|
64
64
|
"data-test-subj": _propTypes.default.string,
|
|
65
65
|
css: _propTypes.default.any,
|
|
66
66
|
/**
|
|
67
|
-
* Array of color `strings` or an array of
|
|
67
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
68
68
|
*/
|
|
69
69
|
/**
|
|
70
|
-
* Array of color `strings` or an array of
|
|
70
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
71
71
|
*/
|
|
72
72
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
|
|
73
73
|
};
|
|
@@ -54,7 +54,7 @@ EuiColorPaletteDisplayFixed.propTypes = {
|
|
|
54
54
|
"data-test-subj": _propTypes.default.string,
|
|
55
55
|
css: _propTypes.default.any,
|
|
56
56
|
/**
|
|
57
|
-
* Array of color `strings` or an array of
|
|
57
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
58
58
|
*/
|
|
59
59
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
|
|
60
60
|
};
|
|
@@ -48,7 +48,7 @@ EuiColorPaletteDisplayGradient.propTypes = {
|
|
|
48
48
|
"data-test-subj": _propTypes.default.string,
|
|
49
49
|
css: _propTypes.default.any,
|
|
50
50
|
/**
|
|
51
|
-
* Array of color `strings` or an array of
|
|
51
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
52
52
|
*/
|
|
53
53
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
|
|
54
54
|
};
|
|
@@ -180,7 +180,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
180
180
|
*/
|
|
181
181
|
selectionDisplay: _propTypes.default.oneOf(["palette", "title"]),
|
|
182
182
|
/**
|
|
183
|
-
* An array of one of the following objects:
|
|
183
|
+
* An array of one of the following objects: {@link EuiColorPalettePickerPaletteText}, {@link EuiColorPalettePickerPaletteFixed}, {@link EuiColorPalettePickerPaletteGradient}
|
|
184
184
|
*/
|
|
185
185
|
palettes: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
186
186
|
/**
|
|
@@ -196,7 +196,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
196
196
|
*/
|
|
197
197
|
type: _propTypes.default.oneOf(["text"]).isRequired,
|
|
198
198
|
/**
|
|
199
|
-
* Array of color `strings` or an array of
|
|
199
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
200
200
|
*/
|
|
201
201
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
202
202
|
stop: _propTypes.default.number.isRequired,
|
|
@@ -224,7 +224,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
224
224
|
*/
|
|
225
225
|
type: _propTypes.default.oneOf(["fixed"]).isRequired,
|
|
226
226
|
/**
|
|
227
|
-
* Array of color `strings` or an array of
|
|
227
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
228
228
|
*/
|
|
229
229
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
230
230
|
stop: _propTypes.default.number.isRequired,
|
|
@@ -252,7 +252,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
252
252
|
*/
|
|
253
253
|
type: _propTypes.default.oneOf(["gradient"]).isRequired,
|
|
254
254
|
/**
|
|
255
|
-
* Array of color `strings` or an array of
|
|
255
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
256
256
|
*/
|
|
257
257
|
palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
258
258
|
stop: _propTypes.default.number.isRequired,
|
|
@@ -424,7 +424,7 @@ EuiComboBoxOptionsList.propTypes = {
|
|
|
424
424
|
onOptionEnterKey: _propTypes.default.func,
|
|
425
425
|
onScroll: _propTypes.default.any,
|
|
426
426
|
/**
|
|
427
|
-
* Array of EuiComboBoxOptionOption objects. See
|
|
427
|
+
* Array of EuiComboBoxOptionOption objects. See {@link EuiComboBoxOptionOption}
|
|
428
428
|
*/
|
|
429
429
|
options: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
430
430
|
isGroupLabelOption: _propTypes.default.bool,
|
|
@@ -49,7 +49,7 @@ EuiCommentList.propTypes = {
|
|
|
49
49
|
"data-test-subj": _propTypes.default.string,
|
|
50
50
|
css: _propTypes.default.any,
|
|
51
51
|
/**
|
|
52
|
-
* List of comments to render. See
|
|
52
|
+
* List of comments to render. See {@link EuiComment}
|
|
53
53
|
*/
|
|
54
54
|
comments: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
55
55
|
/**
|
|
@@ -154,12 +154,12 @@ EuiDataGridCellContent.propTypes = {
|
|
|
154
154
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
|
|
155
155
|
/**
|
|
156
156
|
* A Schema to use for the column.
|
|
157
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
157
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
158
158
|
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
159
159
|
*/
|
|
160
160
|
schema: _propTypes.default.string,
|
|
161
161
|
/**
|
|
162
|
-
* Configuration of column actions. Set to false to disable or use
|
|
162
|
+
* Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
|
|
163
163
|
*/
|
|
164
164
|
actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
|
|
165
165
|
/**
|
|
@@ -208,7 +208,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
208
208
|
*/
|
|
209
209
|
showToolTip: _propTypes.default.bool,
|
|
210
210
|
/**
|
|
211
|
-
* An object of
|
|
211
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
212
212
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
213
213
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
214
214
|
*/
|
|
@@ -544,7 +544,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
544
544
|
* Defines the height for a specific row. It can be line count or just height.
|
|
545
545
|
*
|
|
546
546
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
547
|
-
* toolbar control to `false` in
|
|
547
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
548
548
|
*/
|
|
549
549
|
rowHeights: _propTypes.default.any,
|
|
550
550
|
/**
|
|
@@ -588,7 +588,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
588
588
|
*/
|
|
589
589
|
stripes: _propTypes.default.bool,
|
|
590
590
|
/**
|
|
591
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
591
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
592
592
|
* @default shade
|
|
593
593
|
*/
|
|
594
594
|
header: _propTypes.default.oneOf(["shade", "underline"]),
|
|
@@ -1090,12 +1090,12 @@ EuiDataGridCell.propTypes = {
|
|
|
1090
1090
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
|
|
1091
1091
|
/**
|
|
1092
1092
|
* A Schema to use for the column.
|
|
1093
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
1093
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
1094
1094
|
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
1095
1095
|
*/
|
|
1096
1096
|
schema: _propTypes.default.string,
|
|
1097
1097
|
/**
|
|
1098
|
-
* Configuration of column actions. Set to false to disable or use
|
|
1098
|
+
* Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
|
|
1099
1099
|
*/
|
|
1100
1100
|
actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
|
|
1101
1101
|
/**
|
|
@@ -1414,7 +1414,7 @@ EuiDataGridCell.propTypes = {
|
|
|
1414
1414
|
* Defines the height for a specific row. It can be line count or just height.
|
|
1415
1415
|
*
|
|
1416
1416
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
1417
|
-
* toolbar control to `false` in
|
|
1417
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
1418
1418
|
*/
|
|
1419
1419
|
rowHeights: _propTypes.default.any,
|
|
1420
1420
|
/**
|
|
@@ -1461,7 +1461,7 @@ EuiDataGridCell.propTypes = {
|
|
|
1461
1461
|
*/
|
|
1462
1462
|
stripes: _propTypes.default.bool,
|
|
1463
1463
|
/**
|
|
1464
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
1464
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
1465
1465
|
* @default shade
|
|
1466
1466
|
*/
|
|
1467
1467
|
header: _propTypes.default.oneOf(["shade", "underline"]),
|
|
@@ -144,12 +144,12 @@ EuiDataGridBody.propTypes = {
|
|
|
144
144
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
|
|
145
145
|
/**
|
|
146
146
|
* A Schema to use for the column.
|
|
147
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
147
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
148
148
|
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
149
149
|
*/
|
|
150
150
|
schema: _propTypes.default.string,
|
|
151
151
|
/**
|
|
152
|
-
* Configuration of column actions. Set to false to disable or use
|
|
152
|
+
* Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
|
|
153
153
|
*/
|
|
154
154
|
actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
|
|
155
155
|
/**
|
|
@@ -198,7 +198,7 @@ EuiDataGridBody.propTypes = {
|
|
|
198
198
|
*/
|
|
199
199
|
showToolTip: _propTypes.default.bool,
|
|
200
200
|
/**
|
|
201
|
-
* An object of
|
|
201
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
202
202
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
203
203
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
204
204
|
*/
|
|
@@ -508,7 +508,7 @@ EuiDataGridBody.propTypes = {
|
|
|
508
508
|
schema: _propTypes.default.shape({}).isRequired,
|
|
509
509
|
schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
510
510
|
/**
|
|
511
|
-
* The name of this data type, matches
|
|
511
|
+
* The name of this data type, matches {@link EuiDataGridColumn} / `schema`
|
|
512
512
|
*/
|
|
513
513
|
type: _propTypes.default.string.isRequired,
|
|
514
514
|
/**
|
|
@@ -536,7 +536,7 @@ EuiDataGridBody.propTypes = {
|
|
|
536
536
|
*/
|
|
537
537
|
sortTextDesc: _propTypes.default.node.isRequired,
|
|
538
538
|
/**
|
|
539
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual
|
|
539
|
+
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
540
540
|
*/
|
|
541
541
|
isSortable: _propTypes.default.bool,
|
|
542
542
|
/**
|
|
@@ -544,7 +544,7 @@ EuiDataGridBody.propTypes = {
|
|
|
544
544
|
*/
|
|
545
545
|
textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
|
|
546
546
|
/**
|
|
547
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual
|
|
547
|
+
* Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
548
548
|
*/
|
|
549
549
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
|
|
550
550
|
}).isRequired).isRequired,
|
|
@@ -577,7 +577,12 @@ EuiDataGridBody.propTypes = {
|
|
|
577
577
|
setVisibleColumns: _propTypes.default.func.isRequired,
|
|
578
578
|
switchColumnPos: _propTypes.default.func.isRequired,
|
|
579
579
|
onColumnResize: _propTypes.default.func,
|
|
580
|
-
virtualizationOptions: _propTypes.default.
|
|
580
|
+
virtualizationOptions: _propTypes.default.shape({
|
|
581
|
+
/**
|
|
582
|
+
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
|
|
583
|
+
*/
|
|
584
|
+
onScroll: _propTypes.default.func
|
|
585
|
+
}),
|
|
581
586
|
rowHeightsOptions: _propTypes.default.shape({
|
|
582
587
|
/**
|
|
583
588
|
* Defines the default size for all rows. It can be line count or just height.
|
|
@@ -598,7 +603,7 @@ EuiDataGridBody.propTypes = {
|
|
|
598
603
|
* Defines the height for a specific row. It can be line count or just height.
|
|
599
604
|
*
|
|
600
605
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
601
|
-
* toolbar control to `false` in
|
|
606
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
602
607
|
*/
|
|
603
608
|
rowHeights: _propTypes.default.any,
|
|
604
609
|
/**
|
|
@@ -641,7 +646,7 @@ EuiDataGridBody.propTypes = {
|
|
|
641
646
|
*/
|
|
642
647
|
stripes: _propTypes.default.bool,
|
|
643
648
|
/**
|
|
644
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
649
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
645
650
|
* @default shade
|
|
646
651
|
*/
|
|
647
652
|
header: _propTypes.default.oneOf(["shade", "underline"]),
|
|
@@ -309,12 +309,12 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
309
309
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
|
|
310
310
|
/**
|
|
311
311
|
* A Schema to use for the column.
|
|
312
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
312
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
313
313
|
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
314
314
|
*/
|
|
315
315
|
schema: _propTypes.default.string,
|
|
316
316
|
/**
|
|
317
|
-
* Configuration of column actions. Set to false to disable or use
|
|
317
|
+
* Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
|
|
318
318
|
*/
|
|
319
319
|
actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
|
|
320
320
|
/**
|
|
@@ -363,7 +363,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
363
363
|
*/
|
|
364
364
|
showToolTip: _propTypes.default.bool,
|
|
365
365
|
/**
|
|
366
|
-
* An object of
|
|
366
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
367
367
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
368
368
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
369
369
|
*/
|
|
@@ -673,7 +673,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
673
673
|
schema: _propTypes.default.shape({}).isRequired,
|
|
674
674
|
schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
675
675
|
/**
|
|
676
|
-
* The name of this data type, matches
|
|
676
|
+
* The name of this data type, matches {@link EuiDataGridColumn} / `schema`
|
|
677
677
|
*/
|
|
678
678
|
type: _propTypes.default.string.isRequired,
|
|
679
679
|
/**
|
|
@@ -701,7 +701,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
701
701
|
*/
|
|
702
702
|
sortTextDesc: _propTypes.default.node.isRequired,
|
|
703
703
|
/**
|
|
704
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual
|
|
704
|
+
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
705
705
|
*/
|
|
706
706
|
isSortable: _propTypes.default.bool,
|
|
707
707
|
/**
|
|
@@ -709,7 +709,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
709
709
|
*/
|
|
710
710
|
textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
|
|
711
711
|
/**
|
|
712
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual
|
|
712
|
+
* Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
713
713
|
*/
|
|
714
714
|
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
|
|
715
715
|
}).isRequired).isRequired,
|
|
@@ -742,7 +742,12 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
742
742
|
setVisibleColumns: _propTypes.default.func.isRequired,
|
|
743
743
|
switchColumnPos: _propTypes.default.func.isRequired,
|
|
744
744
|
onColumnResize: _propTypes.default.func,
|
|
745
|
-
virtualizationOptions: _propTypes.default.
|
|
745
|
+
virtualizationOptions: _propTypes.default.shape({
|
|
746
|
+
/**
|
|
747
|
+
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
|
|
748
|
+
*/
|
|
749
|
+
onScroll: _propTypes.default.func
|
|
750
|
+
}),
|
|
746
751
|
rowHeightsOptions: _propTypes.default.shape({
|
|
747
752
|
/**
|
|
748
753
|
* Defines the default size for all rows. It can be line count or just height.
|
|
@@ -763,7 +768,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
763
768
|
* Defines the height for a specific row. It can be line count or just height.
|
|
764
769
|
*
|
|
765
770
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
766
|
-
* toolbar control to `false` in
|
|
771
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
767
772
|
*/
|
|
768
773
|
rowHeights: _propTypes.default.any,
|
|
769
774
|
/**
|
|
@@ -806,7 +811,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
806
811
|
*/
|
|
807
812
|
stripes: _propTypes.default.bool,
|
|
808
813
|
/**
|
|
809
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
814
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
810
815
|
* @default shade
|
|
811
816
|
*/
|
|
812
817
|
header: _propTypes.default.oneOf(["shade", "underline"]),
|