@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
|
@@ -20,17 +20,17 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
import { css } from '@emotion/react';
|
|
23
|
-
import { makeDisabledContrastColor } from '../../../services';
|
|
24
|
-
import { mathWithUnits, logicalCSS, logicalShorthandCSS, euiTextShift, euiOutline, euiCanAnimate } from '../../../global_styling';
|
|
23
|
+
import { isEuiThemeRefreshVariant, makeDisabledContrastColor } from '../../../services';
|
|
24
|
+
import { mathWithUnits, logicalCSS, logicalShorthandCSS, euiTextShift, euiOutline, euiCanAnimate, preventForcedColors, highContrastModeStyles } from '../../../global_styling';
|
|
25
25
|
import { euiButtonFillColor, BUTTON_COLORS } from '../../../global_styling/mixins/_button';
|
|
26
26
|
import { euiScreenReaderOnly } from '../../accessibility';
|
|
27
27
|
import { euiFormVariables } from '../../form/form.styles';
|
|
28
28
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
29
|
-
name: "
|
|
30
|
-
styles: "overflow:hidden;label:tooltipWrapper;"
|
|
29
|
+
name: "m6ysua-tooltipWrapper",
|
|
30
|
+
styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;"
|
|
31
31
|
} : {
|
|
32
|
-
name: "
|
|
33
|
-
styles: "overflow:hidden;label:tooltipWrapper;",
|
|
32
|
+
name: "m6ysua-tooltipWrapper",
|
|
33
|
+
styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;",
|
|
34
34
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
35
35
|
};
|
|
36
36
|
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
@@ -44,48 +44,70 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
44
44
|
export var euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiThemeContext) {
|
|
45
45
|
var euiTheme = euiThemeContext.euiTheme,
|
|
46
46
|
highContrastMode = euiThemeContext.highContrastMode;
|
|
47
|
+
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
|
|
47
48
|
var _euiFormVariables = euiFormVariables(euiThemeContext),
|
|
48
49
|
controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
|
|
49
50
|
controlCompressedBorderRadius = _euiFormVariables.controlCompressedBorderRadius;
|
|
50
51
|
var compressedButtonHeight = mathWithUnits([controlCompressedHeight, euiTheme.border.width.thin], function (x, y) {
|
|
51
|
-
return x - y * 2;
|
|
52
|
+
return isRefreshVariant ? x - y * 6 : x - y * 2;
|
|
52
53
|
});
|
|
54
|
+
var selectedSelectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
|
|
53
55
|
var uncompressedBorderRadii = function uncompressedBorderRadii(radiusSize) {
|
|
54
|
-
return "\n border-radius: 0;\n\n &:first-child {\n ".concat(logicalShorthandCSS('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat(logicalShorthandCSS('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n ");
|
|
56
|
+
return "\n border-radius: 0;\n\n &:first-child {\n ".concat(logicalShorthandCSS('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat(logicalShorthandCSS('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n\n &:first-child:last-child {\n ").concat(logicalShorthandCSS('border-radius', "".concat(radiusSize)), "\n }\n ");
|
|
55
57
|
};
|
|
58
|
+
var refreshVariantStyles = "\n &:is(".concat(selectedSelectors, ") {\n ").concat(highContrastModeStyles(euiThemeContext, {
|
|
59
|
+
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(preventForcedColors(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n border: none;\n }\n ")
|
|
60
|
+
}), "\n }\n ");
|
|
61
|
+
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(highContrastModeStyles(euiThemeContext, {
|
|
62
|
+
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(mathWithUnits(euiTheme.border.width.thin, function (x) {
|
|
63
|
+
return x * 4;
|
|
64
|
+
}), ";\n }\n ")
|
|
65
|
+
}), "\n }\n ") : "\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ".concat(euiTheme.font.weight.bold, ";\n }\n ");
|
|
66
|
+
var compressedStyles = isRefreshVariant ? "\n margin: ".concat(euiTheme.size.xxs, ";\n border-radius: ").concat(mathWithUnits(euiTheme.border.radius.small, function (x) {
|
|
67
|
+
return x / 2;
|
|
68
|
+
}), ";\n\n & + .euiButtonGroupButton {\n ").concat(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(highContrastModeStyles(euiThemeContext, {
|
|
69
|
+
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(mathWithUnits(euiTheme.border.width.thin, function (x) {
|
|
70
|
+
return x * 3;
|
|
71
|
+
}), ";\n }\n ")
|
|
72
|
+
}), "\n }\n ") : "\n background-clip: content-box;\n /* Tweak border radius to account for the padding & background-clip */\n border-radius: ".concat(mathWithUnits([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
|
|
73
|
+
return x + y;
|
|
74
|
+
}), ";\n\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ").concat(euiTheme.font.weight.semiBold, ";\n }\n ");
|
|
56
75
|
return {
|
|
57
76
|
// Base
|
|
58
|
-
euiButtonGroupButton: /*#__PURE__*/css(logicalCSS('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:
|
|
77
|
+
euiButtonGroupButton: /*#__PURE__*/css(logicalCSS('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:2;}", euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;}", isRefreshVariant && refreshVariantStyles, ";;label:euiButtonGroupButton;"),
|
|
59
78
|
iconOnly: /*#__PURE__*/css("padding-inline:", euiTheme.size.s, ";;label:iconOnly;"),
|
|
60
79
|
// Sizes
|
|
61
80
|
uncompressed: {
|
|
62
|
-
uncompressed: /*#__PURE__*/css("&:
|
|
81
|
+
uncompressed: /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";}", uncompressedStyles, ";;label:uncompressed;"),
|
|
63
82
|
get borders() {
|
|
64
83
|
// We use pseudo elements to avoid affecing button width, and to allow
|
|
65
84
|
// inheriting high contrast border colors
|
|
66
|
-
var selectors =
|
|
85
|
+
var selectors = selectedSelectors;
|
|
67
86
|
var selectedColor = highContrastMode ? euiTheme.colors.emptyShade : euiTheme.components.buttonGroupBorderColorSelected;
|
|
68
87
|
var unselectedColor = highContrastMode ? 'inherit' : euiTheme.components.buttonGroupBorderColor;
|
|
88
|
+
var borderWidth = euiTheme.border.width.thin;
|
|
89
|
+
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(logicalCSS('left', 0), "\n ").concat(logicalCSS('vertical', "-".concat(euiTheme.border.width.thin)), "\n ").concat(logicalCSS('border-left-style', 'solid'), "\n ").concat(logicalCSS('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n\n ").concat(preventForcedColors(euiThemeContext), "\n }\n }\n ") : "\n &::before {\n position: absolute;\n ".concat(logicalCSS('left', 0), "\n ").concat(logicalCSS('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat(logicalCSS('border-left-style', 'solid'), "\n ").concat(logicalCSS('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n }\n ");
|
|
69
90
|
|
|
70
91
|
// "Borders" between buttons should be present between two of the same colored buttons,
|
|
71
92
|
// and absent between selected vs non-selected buttons (different colors)
|
|
72
|
-
return "\n position: relative;\n\n
|
|
93
|
+
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 ");
|
|
73
94
|
},
|
|
74
95
|
get s() {
|
|
75
96
|
return /*#__PURE__*/css(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.small), ";;label:s;");
|
|
76
97
|
},
|
|
77
98
|
get m() {
|
|
78
|
-
|
|
99
|
+
var radius = isRefreshVariant ? euiTheme.border.radius.small : euiTheme.border.radius.medium;
|
|
100
|
+
return /*#__PURE__*/css(this.borders, " ", uncompressedBorderRadii(radius), ";;label:m;");
|
|
79
101
|
},
|
|
80
102
|
hasToolTip: _ref2
|
|
81
103
|
},
|
|
82
|
-
compressed: /*#__PURE__*/css(logicalCSS('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";padding:", mathWithUnits(euiTheme.border.width.thin, function (x) {
|
|
104
|
+
compressed: /*#__PURE__*/css(logicalCSS('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";font-weight:", euiTheme.font.weight.regular, ";padding:", isRefreshVariant ? '0' : mathWithUnits(euiTheme.border.width.thin, function (x) {
|
|
83
105
|
return x * 2;
|
|
84
|
-
}), ";
|
|
85
|
-
return x + y;
|
|
86
|
-
}), ";font-weight:", euiTheme.font.weight.regular, ";&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.semiBold, ";};label:compressed;"),
|
|
106
|
+
}), ";", compressedStyles, ";;label:compressed;"),
|
|
87
107
|
// States
|
|
88
|
-
disabledAndSelected: /*#__PURE__*/css("color:", makeDisabledContrastColor(euiTheme.colors.textDisabled)(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";background-color:", euiTheme.components.buttonGroupBackgroundDisabledSelected, ";border:", highContrastMode
|
|
108
|
+
disabledAndSelected: /*#__PURE__*/css("color:", isRefreshVariant ? euiTheme.colors.textDisabled : 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;"),
|
|
109
|
+
// Skip css`` to avoid generating a className
|
|
110
|
+
hasBorder: "\n border: ".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBasePlain, ";\n "),
|
|
89
111
|
// Tooltip anchor wrapper
|
|
90
112
|
tooltipWrapper: _ref,
|
|
91
113
|
// Content wrapper
|
|
@@ -101,10 +123,12 @@ export var euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiT
|
|
|
101
123
|
};
|
|
102
124
|
};
|
|
103
125
|
export var _compressedButtonFocusColors = function _compressedButtonFocusColors(euiThemeContext) {
|
|
126
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
127
|
+
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
|
|
104
128
|
var colors = [].concat(_toConsumableArray(BUTTON_COLORS), ['disabled']);
|
|
105
129
|
return colors.reduce(function (acc, color) {
|
|
106
130
|
var _euiButtonFillColor = euiButtonFillColor(euiThemeContext, color),
|
|
107
131
|
backgroundColor = _euiButtonFillColor.backgroundColor;
|
|
108
|
-
return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, 'center', backgroundColor), " &:is(.euiButtonGroupButton-isSelected){outline-offset:0;}
|
|
132
|
+
return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, isRefreshVariant ? 'outset' : 'center', isRefreshVariant ? euiTheme.focus.color : backgroundColor), " ", !isRefreshVariant && "\n &:is(.euiButtonGroupButton-isSelected) {\n outline-offset: 0;\n }\n ", ";}")));
|
|
109
133
|
}, {});
|
|
110
134
|
};
|
|
@@ -13,7 +13,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import PropTypes from "prop-types";
|
|
15
15
|
import classNames from 'classnames';
|
|
16
|
-
import { getSecureRelForTarget, useEuiMemoizedStyles } from '../../../services';
|
|
16
|
+
import { getSecureRelForTarget, isEuiThemeRefreshVariant, useEuiMemoizedStyles, useEuiTheme } from '../../../services';
|
|
17
17
|
import { EuiIcon } from '../../icon';
|
|
18
18
|
import { EuiLoadingSpinner } from '../../loading';
|
|
19
19
|
import { useEuiButtonColorCSS, useEuiButtonFocusCSS } from '../../../global_styling/mixins/_button';
|
|
@@ -44,6 +44,8 @@ export var EuiButtonIcon = function EuiButtonIcon(_ref) {
|
|
|
44
44
|
isSelected = _ref.isSelected,
|
|
45
45
|
isLoading = _ref.isLoading,
|
|
46
46
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
47
|
+
var euiThemeContext = useEuiTheme();
|
|
48
|
+
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
|
|
47
49
|
var isDisabled = isButtonDisabled({
|
|
48
50
|
isDisabled: _isDisabled || disabled,
|
|
49
51
|
href: href,
|
|
@@ -60,7 +62,7 @@ export var EuiButtonIcon = function EuiButtonIcon(_ref) {
|
|
|
60
62
|
var buttonFocusStyle = useEuiButtonFocusCSS();
|
|
61
63
|
var emptyHoverStyles = useEuiMemoizedStyles(_emptyHoverStyles);
|
|
62
64
|
var styles = useEuiMemoizedStyles(euiButtonIconStyles);
|
|
63
|
-
var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
|
|
65
|
+
var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, !isRefreshVariant && display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
|
|
64
66
|
var classes = classNames('euiButtonIcon', className);
|
|
65
67
|
|
|
66
68
|
// Add an icon to the button if one exists.
|
|
@@ -207,6 +207,7 @@ EuiCollapsibleNav.propTypes = {
|
|
|
207
207
|
* Object of props passed to EuiFocusTrap.
|
|
208
208
|
* `shards` specifies an array of elements that will be considered part of the flyout, preventing the flyout from being closed when clicked.
|
|
209
209
|
* `closeOnMouseup` will delay the close callback, allowing time for external toggle buttons to handle close behavior.
|
|
210
|
+
* `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
|
|
210
211
|
*/
|
|
211
212
|
focusTrapProps: PropTypes.any,
|
|
212
213
|
/**
|
package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js
CHANGED
|
@@ -211,7 +211,7 @@ KibanaCollapsibleNavSolution.propTypes = {
|
|
|
211
211
|
*/
|
|
212
212
|
showToolTip: PropTypes.bool,
|
|
213
213
|
/**
|
|
214
|
-
* An object of
|
|
214
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
215
215
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
216
216
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
217
217
|
*/
|
package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js
CHANGED
|
@@ -83,7 +83,7 @@ EuiCollapsedNavItem.propTypes = {
|
|
|
83
83
|
/**
|
|
84
84
|
* Will render either an accordion or group of nested child item links.
|
|
85
85
|
*
|
|
86
|
-
* Accepts any
|
|
86
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
87
87
|
* subitem content, pass an object with a `renderItem` callback.
|
|
88
88
|
*/
|
|
89
89
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -131,7 +131,7 @@ EuiCollapsedNavItem.propTypes = {
|
|
|
131
131
|
/**
|
|
132
132
|
* Will render either an accordion or group of nested child item links.
|
|
133
133
|
*
|
|
134
|
-
* Accepts any
|
|
134
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
135
135
|
* subitem content, pass an object with a `renderItem` callback.
|
|
136
136
|
*/
|
|
137
137
|
items: PropTypes.arrayOf(PropTypes.any.isRequired),
|
package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js
CHANGED
|
@@ -133,7 +133,7 @@ EuiCollapsedNavPopover.propTypes = {
|
|
|
133
133
|
/**
|
|
134
134
|
* Will render either an accordion or group of nested child item links.
|
|
135
135
|
*
|
|
136
|
-
* Accepts any
|
|
136
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
137
137
|
* subitem content, pass an object with a `renderItem` callback.
|
|
138
138
|
*/
|
|
139
139
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -181,7 +181,7 @@ EuiCollapsedNavPopover.propTypes = {
|
|
|
181
181
|
/**
|
|
182
182
|
* Will render either an accordion or group of nested child item links.
|
|
183
183
|
*
|
|
184
|
-
* Accepts any
|
|
184
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
185
185
|
* subitem content, pass an object with a `renderItem` callback.
|
|
186
186
|
*/
|
|
187
187
|
items: PropTypes.arrayOf(PropTypes.any.isRequired),
|
|
@@ -127,7 +127,7 @@ EuiCollapsibleNavItemDisplay.propTypes = {
|
|
|
127
127
|
/**
|
|
128
128
|
* Will render either an accordion or group of nested child item links.
|
|
129
129
|
*
|
|
130
|
-
* Accepts any
|
|
130
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
131
131
|
* subitem content, pass an object with a `renderItem` callback.
|
|
132
132
|
*/
|
|
133
133
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -242,7 +242,7 @@ EuiCollapsibleNavSubItem.propTypes = {
|
|
|
242
242
|
/**
|
|
243
243
|
* Will render either an accordion or group of nested child item links.
|
|
244
244
|
*
|
|
245
|
-
* Accepts any
|
|
245
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
246
246
|
* subitem content, pass an object with a `renderItem` callback.
|
|
247
247
|
*/
|
|
248
248
|
items: PropTypes.arrayOf(PropTypes.any.isRequired),
|
|
@@ -348,7 +348,7 @@ EuiCollapsibleNavSubItems.propTypes = {
|
|
|
348
348
|
/**
|
|
349
349
|
* Will render either an accordion or group of nested child item links.
|
|
350
350
|
*
|
|
351
|
-
* Accepts any
|
|
351
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
352
352
|
* subitem content, pass an object with a `renderItem` callback.
|
|
353
353
|
*/
|
|
354
354
|
items: PropTypes.arrayOf(PropTypes.any.isRequired),
|
|
@@ -430,7 +430,7 @@ EuiCollapsibleNavItem.propTypes = {
|
|
|
430
430
|
/**
|
|
431
431
|
* Will render either an accordion or group of nested child item links.
|
|
432
432
|
*
|
|
433
|
-
* Accepts any
|
|
433
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
434
434
|
* subitem content, pass an object with a `renderItem` callback.
|
|
435
435
|
*/
|
|
436
436
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -58,10 +58,10 @@ EuiColorPaletteDisplay.propTypes = {
|
|
|
58
58
|
"data-test-subj": PropTypes.string,
|
|
59
59
|
css: PropTypes.any,
|
|
60
60
|
/**
|
|
61
|
-
* Array of color `strings` or an array of
|
|
61
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
|
-
* Array of color `strings` or an array of
|
|
64
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
65
65
|
*/
|
|
66
66
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
|
|
67
67
|
};
|
|
@@ -45,7 +45,7 @@ EuiColorPaletteDisplayFixed.propTypes = {
|
|
|
45
45
|
"data-test-subj": PropTypes.string,
|
|
46
46
|
css: PropTypes.any,
|
|
47
47
|
/**
|
|
48
|
-
* Array of color `strings` or an array of
|
|
48
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
49
49
|
*/
|
|
50
50
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
|
|
51
51
|
};
|
|
@@ -42,7 +42,7 @@ EuiColorPaletteDisplayGradient.propTypes = {
|
|
|
42
42
|
"data-test-subj": PropTypes.string,
|
|
43
43
|
css: PropTypes.any,
|
|
44
44
|
/**
|
|
45
|
-
* Array of color `strings` or an array of
|
|
45
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
46
46
|
*/
|
|
47
47
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
|
|
48
48
|
};
|
|
@@ -172,7 +172,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
172
172
|
*/
|
|
173
173
|
selectionDisplay: PropTypes.oneOf(["palette", "title"]),
|
|
174
174
|
/**
|
|
175
|
-
* An array of one of the following objects:
|
|
175
|
+
* An array of one of the following objects: {@link EuiColorPalettePickerPaletteText}, {@link EuiColorPalettePickerPaletteFixed}, {@link EuiColorPalettePickerPaletteGradient}
|
|
176
176
|
*/
|
|
177
177
|
palettes: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
|
|
178
178
|
/**
|
|
@@ -188,7 +188,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
188
188
|
*/
|
|
189
189
|
type: PropTypes.oneOf(["text"]).isRequired,
|
|
190
190
|
/**
|
|
191
|
-
* Array of color `strings` or an array of
|
|
191
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
192
192
|
*/
|
|
193
193
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
|
|
194
194
|
stop: PropTypes.number.isRequired,
|
|
@@ -216,7 +216,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
216
216
|
*/
|
|
217
217
|
type: PropTypes.oneOf(["fixed"]).isRequired,
|
|
218
218
|
/**
|
|
219
|
-
* Array of color `strings` or an array of
|
|
219
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
220
220
|
*/
|
|
221
221
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
|
|
222
222
|
stop: PropTypes.number.isRequired,
|
|
@@ -244,7 +244,7 @@ EuiColorPalettePicker.propTypes = {
|
|
|
244
244
|
*/
|
|
245
245
|
type: PropTypes.oneOf(["gradient"]).isRequired,
|
|
246
246
|
/**
|
|
247
|
-
* Array of color `strings` or an array of
|
|
247
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
248
248
|
*/
|
|
249
249
|
palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
|
|
250
250
|
stop: PropTypes.number.isRequired,
|
|
@@ -417,7 +417,7 @@ EuiComboBoxOptionsList.propTypes = {
|
|
|
417
417
|
onOptionEnterKey: PropTypes.func,
|
|
418
418
|
onScroll: PropTypes.any,
|
|
419
419
|
/**
|
|
420
|
-
* Array of EuiComboBoxOptionOption objects. See
|
|
420
|
+
* Array of EuiComboBoxOptionOption objects. See {@link EuiComboBoxOptionOption}
|
|
421
421
|
*/
|
|
422
422
|
options: PropTypes.arrayOf(PropTypes.shape({
|
|
423
423
|
isGroupLabelOption: PropTypes.bool,
|
|
@@ -43,7 +43,7 @@ EuiCommentList.propTypes = {
|
|
|
43
43
|
"data-test-subj": PropTypes.string,
|
|
44
44
|
css: PropTypes.any,
|
|
45
45
|
/**
|
|
46
|
-
* List of comments to render. See
|
|
46
|
+
* List of comments to render. See {@link EuiComment}
|
|
47
47
|
*/
|
|
48
48
|
comments: PropTypes.arrayOf(PropTypes.shape({
|
|
49
49
|
/**
|
|
@@ -146,12 +146,12 @@ EuiDataGridCellContent.propTypes = {
|
|
|
146
146
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
|
|
147
147
|
/**
|
|
148
148
|
* A Schema to use for the column.
|
|
149
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
149
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
150
150
|
* 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.
|
|
151
151
|
*/
|
|
152
152
|
schema: PropTypes.string,
|
|
153
153
|
/**
|
|
154
|
-
* Configuration of column actions. Set to false to disable or use
|
|
154
|
+
* 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.
|
|
155
155
|
*/
|
|
156
156
|
actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
|
|
157
157
|
/**
|
|
@@ -200,7 +200,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
200
200
|
*/
|
|
201
201
|
showToolTip: PropTypes.bool,
|
|
202
202
|
/**
|
|
203
|
-
* An object of
|
|
203
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
204
204
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
205
205
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
206
206
|
*/
|
|
@@ -536,7 +536,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
536
536
|
* Defines the height for a specific row. It can be line count or just height.
|
|
537
537
|
*
|
|
538
538
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
539
|
-
* toolbar control to `false` in
|
|
539
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
540
540
|
*/
|
|
541
541
|
rowHeights: PropTypes.any,
|
|
542
542
|
/**
|
|
@@ -580,7 +580,7 @@ EuiDataGridCellContent.propTypes = {
|
|
|
580
580
|
*/
|
|
581
581
|
stripes: PropTypes.bool,
|
|
582
582
|
/**
|
|
583
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
583
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
584
584
|
* @default shade
|
|
585
585
|
*/
|
|
586
586
|
header: PropTypes.oneOf(["shade", "underline"]),
|
|
@@ -1083,12 +1083,12 @@ EuiDataGridCell.propTypes = {
|
|
|
1083
1083
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
|
|
1084
1084
|
/**
|
|
1085
1085
|
* A Schema to use for the column.
|
|
1086
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
1086
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
1087
1087
|
* 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.
|
|
1088
1088
|
*/
|
|
1089
1089
|
schema: PropTypes.string,
|
|
1090
1090
|
/**
|
|
1091
|
-
* Configuration of column actions. Set to false to disable or use
|
|
1091
|
+
* 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.
|
|
1092
1092
|
*/
|
|
1093
1093
|
actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
|
|
1094
1094
|
/**
|
|
@@ -1407,7 +1407,7 @@ EuiDataGridCell.propTypes = {
|
|
|
1407
1407
|
* Defines the height for a specific row. It can be line count or just height.
|
|
1408
1408
|
*
|
|
1409
1409
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
1410
|
-
* toolbar control to `false` in
|
|
1410
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
1411
1411
|
*/
|
|
1412
1412
|
rowHeights: PropTypes.any,
|
|
1413
1413
|
/**
|
|
@@ -1454,7 +1454,7 @@ EuiDataGridCell.propTypes = {
|
|
|
1454
1454
|
*/
|
|
1455
1455
|
stripes: PropTypes.bool,
|
|
1456
1456
|
/**
|
|
1457
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
1457
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
1458
1458
|
* @default shade
|
|
1459
1459
|
*/
|
|
1460
1460
|
header: PropTypes.oneOf(["shade", "underline"]),
|
|
@@ -138,12 +138,12 @@ EuiDataGridBody.propTypes = {
|
|
|
138
138
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
|
|
139
139
|
/**
|
|
140
140
|
* A Schema to use for the column.
|
|
141
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
141
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
142
142
|
* 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.
|
|
143
143
|
*/
|
|
144
144
|
schema: PropTypes.string,
|
|
145
145
|
/**
|
|
146
|
-
* Configuration of column actions. Set to false to disable or use
|
|
146
|
+
* 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.
|
|
147
147
|
*/
|
|
148
148
|
actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
|
|
149
149
|
/**
|
|
@@ -192,7 +192,7 @@ EuiDataGridBody.propTypes = {
|
|
|
192
192
|
*/
|
|
193
193
|
showToolTip: PropTypes.bool,
|
|
194
194
|
/**
|
|
195
|
-
* An object of
|
|
195
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
196
196
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
197
197
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
198
198
|
*/
|
|
@@ -502,7 +502,7 @@ EuiDataGridBody.propTypes = {
|
|
|
502
502
|
schema: PropTypes.shape({}).isRequired,
|
|
503
503
|
schemaDetectors: PropTypes.arrayOf(PropTypes.shape({
|
|
504
504
|
/**
|
|
505
|
-
* The name of this data type, matches
|
|
505
|
+
* The name of this data type, matches {@link EuiDataGridColumn} / `schema`
|
|
506
506
|
*/
|
|
507
507
|
type: PropTypes.string.isRequired,
|
|
508
508
|
/**
|
|
@@ -530,7 +530,7 @@ EuiDataGridBody.propTypes = {
|
|
|
530
530
|
*/
|
|
531
531
|
sortTextDesc: PropTypes.node.isRequired,
|
|
532
532
|
/**
|
|
533
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual
|
|
533
|
+
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
534
534
|
*/
|
|
535
535
|
isSortable: PropTypes.bool,
|
|
536
536
|
/**
|
|
@@ -538,7 +538,7 @@ EuiDataGridBody.propTypes = {
|
|
|
538
538
|
*/
|
|
539
539
|
textTransform: PropTypes.oneOf(["uppercase", "lowercase", "capitalize"]),
|
|
540
540
|
/**
|
|
541
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual
|
|
541
|
+
* Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
542
542
|
*/
|
|
543
543
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"])
|
|
544
544
|
}).isRequired).isRequired,
|
|
@@ -571,7 +571,12 @@ EuiDataGridBody.propTypes = {
|
|
|
571
571
|
setVisibleColumns: PropTypes.func.isRequired,
|
|
572
572
|
switchColumnPos: PropTypes.func.isRequired,
|
|
573
573
|
onColumnResize: PropTypes.func,
|
|
574
|
-
virtualizationOptions: PropTypes.
|
|
574
|
+
virtualizationOptions: PropTypes.shape({
|
|
575
|
+
/**
|
|
576
|
+
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
|
|
577
|
+
*/
|
|
578
|
+
onScroll: PropTypes.func
|
|
579
|
+
}),
|
|
575
580
|
rowHeightsOptions: PropTypes.shape({
|
|
576
581
|
/**
|
|
577
582
|
* Defines the default size for all rows. It can be line count or just height.
|
|
@@ -592,7 +597,7 @@ EuiDataGridBody.propTypes = {
|
|
|
592
597
|
* Defines the height for a specific row. It can be line count or just height.
|
|
593
598
|
*
|
|
594
599
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
595
|
-
* toolbar control to `false` in
|
|
600
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
596
601
|
*/
|
|
597
602
|
rowHeights: PropTypes.any,
|
|
598
603
|
/**
|
|
@@ -635,7 +640,7 @@ EuiDataGridBody.propTypes = {
|
|
|
635
640
|
*/
|
|
636
641
|
stripes: PropTypes.bool,
|
|
637
642
|
/**
|
|
638
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
643
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
639
644
|
* @default shade
|
|
640
645
|
*/
|
|
641
646
|
header: PropTypes.oneOf(["shade", "underline"]),
|
|
@@ -302,12 +302,12 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
302
302
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
|
|
303
303
|
/**
|
|
304
304
|
* A Schema to use for the column.
|
|
305
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
305
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
306
306
|
* 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.
|
|
307
307
|
*/
|
|
308
308
|
schema: PropTypes.string,
|
|
309
309
|
/**
|
|
310
|
-
* Configuration of column actions. Set to false to disable or use
|
|
310
|
+
* 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.
|
|
311
311
|
*/
|
|
312
312
|
actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
|
|
313
313
|
/**
|
|
@@ -356,7 +356,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
356
356
|
*/
|
|
357
357
|
showToolTip: PropTypes.bool,
|
|
358
358
|
/**
|
|
359
|
-
* An object of
|
|
359
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
360
360
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
361
361
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
362
362
|
*/
|
|
@@ -666,7 +666,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
666
666
|
schema: PropTypes.shape({}).isRequired,
|
|
667
667
|
schemaDetectors: PropTypes.arrayOf(PropTypes.shape({
|
|
668
668
|
/**
|
|
669
|
-
* The name of this data type, matches
|
|
669
|
+
* The name of this data type, matches {@link EuiDataGridColumn} / `schema`
|
|
670
670
|
*/
|
|
671
671
|
type: PropTypes.string.isRequired,
|
|
672
672
|
/**
|
|
@@ -694,7 +694,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
694
694
|
*/
|
|
695
695
|
sortTextDesc: PropTypes.node.isRequired,
|
|
696
696
|
/**
|
|
697
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual
|
|
697
|
+
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
698
698
|
*/
|
|
699
699
|
isSortable: PropTypes.bool,
|
|
700
700
|
/**
|
|
@@ -702,7 +702,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
702
702
|
*/
|
|
703
703
|
textTransform: PropTypes.oneOf(["uppercase", "lowercase", "capitalize"]),
|
|
704
704
|
/**
|
|
705
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual
|
|
705
|
+
* Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
706
706
|
*/
|
|
707
707
|
defaultSortDirection: PropTypes.oneOf(["asc", "desc"])
|
|
708
708
|
}).isRequired).isRequired,
|
|
@@ -735,7 +735,12 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
735
735
|
setVisibleColumns: PropTypes.func.isRequired,
|
|
736
736
|
switchColumnPos: PropTypes.func.isRequired,
|
|
737
737
|
onColumnResize: PropTypes.func,
|
|
738
|
-
virtualizationOptions: PropTypes.
|
|
738
|
+
virtualizationOptions: PropTypes.shape({
|
|
739
|
+
/**
|
|
740
|
+
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
|
|
741
|
+
*/
|
|
742
|
+
onScroll: PropTypes.func
|
|
743
|
+
}),
|
|
739
744
|
rowHeightsOptions: PropTypes.shape({
|
|
740
745
|
/**
|
|
741
746
|
* Defines the default size for all rows. It can be line count or just height.
|
|
@@ -756,7 +761,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
756
761
|
* Defines the height for a specific row. It can be line count or just height.
|
|
757
762
|
*
|
|
758
763
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
759
|
-
* toolbar control to `false` in
|
|
764
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
760
765
|
*/
|
|
761
766
|
rowHeights: PropTypes.any,
|
|
762
767
|
/**
|
|
@@ -799,7 +804,7 @@ EuiDataGridBodyCustomRender.propTypes = {
|
|
|
799
804
|
*/
|
|
800
805
|
stripes: PropTypes.bool,
|
|
801
806
|
/**
|
|
802
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
807
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
803
808
|
* @default shade
|
|
804
809
|
*/
|
|
805
810
|
header: PropTypes.oneOf(["shade", "underline"]),
|