@elastic/eui 102.1.0 → 102.2.0-amsterdam.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/basic_table/basic_table.js +10 -9
- package/es/components/basic_table/in_memory_table.js +18 -16
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/breadcrumbs/breadcrumbs.js +3 -3
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_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/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/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/page/page_header/page_header_content.js +1 -1
- package/es/components/popover/popover.js +1 -1
- package/es/components/provider/provider.js +2 -2
- 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 +1 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- 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/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/services/theme/hooks.js +11 -0
- package/es/services/theme/index.js +1 -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 +2175 -423
- package/lib/components/basic_table/basic_table.js +10 -9
- package/lib/components/basic_table/in_memory_table.js +18 -16
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_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/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/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/popover/popover.js +1 -1
- package/lib/components/provider/provider.js +2 -2
- 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 +1 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- 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/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/lib/services/theme/hooks.js +12 -1
- package/lib/services/theme/index.js +6 -0
- 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/datagrid/body/data_grid_body_virtualized.js +44 -1
- 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/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/provider/provider.js +2 -2
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/toast/global_toast_list.js +24 -20
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/es/services/theme/hooks.js +11 -0
- package/optimize/es/services/theme/index.js +1 -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/datagrid/body/data_grid_body_virtualized.js +44 -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/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/provider/provider.js +2 -2
- package/optimize/lib/components/selectable/selectable.js +10 -9
- package/optimize/lib/components/toast/global_toast_list.js +24 -20
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/context.js +2 -2
- package/optimize/lib/services/theme/hooks.js +12 -1
- package/optimize/lib/services/theme/index.js +6 -0
- 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 +3 -5
- package/test-env/components/basic_table/basic_table.js +10 -9
- package/test-env/components/basic_table/in_memory_table.js +18 -16
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_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/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/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/popover/popover.js +1 -1
- package/test-env/components/provider/provider.js +2 -2
- 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 +1 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- 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/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/context.js +2 -2
- package/test-env/services/theme/hooks.js +12 -1
- package/test-env/services/theme/index.js +6 -0
- 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
|
@@ -1060,10 +1060,10 @@ EuiBasicTable.propTypes = {
|
|
|
1060
1060
|
*/
|
|
1061
1061
|
cellProps: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.func.isRequired]),
|
|
1062
1062
|
/**
|
|
1063
|
-
* An array of one of the objects:
|
|
1063
|
+
* An array of one of the objects: {@link EuiTableFieldDataColumnType}, {@link EuiTableComputedColumnType} or {@link EuiTableActionsColumnType}.
|
|
1064
1064
|
*/
|
|
1065
1065
|
/**
|
|
1066
|
-
* An array of one of the objects:
|
|
1066
|
+
* An array of one of the objects: {@link EuiTableFieldDataColumnType}, {@link EuiTableComputedColumnType} or {@link EuiTableActionsColumnType}.
|
|
1067
1067
|
*/
|
|
1068
1068
|
columns: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1069
1069
|
/**
|
|
@@ -1268,7 +1268,7 @@ EuiBasicTable.propTypes = {
|
|
|
1268
1268
|
sortable: _propTypes.default.func
|
|
1269
1269
|
}).isRequired, _propTypes.default.shape({
|
|
1270
1270
|
/**
|
|
1271
|
-
* An array of one of the objects:
|
|
1271
|
+
* An array of one of the objects: {@link DefaultItemAction} or {@link CustomItemAction}
|
|
1272
1272
|
*/
|
|
1273
1273
|
actions: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1274
1274
|
/**
|
|
@@ -1440,11 +1440,12 @@ EuiBasicTable.propTypes = {
|
|
|
1440
1440
|
*/
|
|
1441
1441
|
noItemsMessage: _propTypes.default.node,
|
|
1442
1442
|
/**
|
|
1443
|
-
* Called whenever pagination or sorting changes (this property is required when either pagination or sorting is configured).
|
|
1443
|
+
* Called whenever pagination or sorting changes (this property is required when either pagination or sorting is configured).
|
|
1444
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}
|
|
1444
1445
|
*/
|
|
1445
1446
|
onChange: _propTypes.default.func,
|
|
1446
1447
|
/**
|
|
1447
|
-
* Configures
|
|
1448
|
+
* Configures {@link Pagination}
|
|
1448
1449
|
*/
|
|
1449
1450
|
pagination: _propTypes.default.oneOfType([_propTypes.default.oneOf([undefined]), _propTypes.default.shape({
|
|
1450
1451
|
/**
|
|
@@ -1484,10 +1485,10 @@ EuiBasicTable.propTypes = {
|
|
|
1484
1485
|
*/
|
|
1485
1486
|
rowProps: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.func.isRequired]),
|
|
1486
1487
|
/**
|
|
1487
|
-
* Configures
|
|
1488
|
+
* Configures {@link EuiTableSelectionType}
|
|
1488
1489
|
*/
|
|
1489
1490
|
/**
|
|
1490
|
-
* Configures
|
|
1491
|
+
* Configures {@link EuiTableSelectionType}
|
|
1491
1492
|
*/
|
|
1492
1493
|
selection: _propTypes.default.shape({
|
|
1493
1494
|
/**
|
|
@@ -1519,10 +1520,10 @@ EuiBasicTable.propTypes = {
|
|
|
1519
1520
|
selected: _propTypes.default.arrayOf(_propTypes.default.any.isRequired)
|
|
1520
1521
|
}),
|
|
1521
1522
|
/**
|
|
1522
|
-
* Configures
|
|
1523
|
+
* Configures {@link EuiTableSortingType}
|
|
1523
1524
|
*/
|
|
1524
1525
|
/**
|
|
1525
|
-
* Configures
|
|
1526
|
+
* Configures {@link EuiTableSortingType}
|
|
1526
1527
|
*/
|
|
1527
1528
|
sorting: _propTypes.default.shape({
|
|
1528
1529
|
/**
|
|
@@ -553,10 +553,10 @@ EuiInMemoryTable.propTypes = {
|
|
|
553
553
|
*/
|
|
554
554
|
cellProps: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.func.isRequired]),
|
|
555
555
|
/**
|
|
556
|
-
* An array of one of the objects:
|
|
556
|
+
* An array of one of the objects: {@link EuiTableFieldDataColumnType}, {@link EuiTableComputedColumnType} or {@link EuiTableActionsColumnType}.
|
|
557
557
|
*/
|
|
558
558
|
/**
|
|
559
|
-
* An array of one of the objects:
|
|
559
|
+
* An array of one of the objects: {@link EuiTableFieldDataColumnType}, {@link EuiTableComputedColumnType} or {@link EuiTableActionsColumnType}.
|
|
560
560
|
*/
|
|
561
561
|
columns: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
562
562
|
/**
|
|
@@ -761,7 +761,7 @@ EuiInMemoryTable.propTypes = {
|
|
|
761
761
|
sortable: _propTypes.default.func
|
|
762
762
|
}).isRequired, _propTypes.default.shape({
|
|
763
763
|
/**
|
|
764
|
-
* An array of one of the objects:
|
|
764
|
+
* An array of one of the objects: {@link DefaultItemAction} or {@link CustomItemAction}
|
|
765
765
|
*/
|
|
766
766
|
actions: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
767
767
|
/**
|
|
@@ -933,10 +933,10 @@ EuiInMemoryTable.propTypes = {
|
|
|
933
933
|
*/
|
|
934
934
|
rowProps: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.func.isRequired]),
|
|
935
935
|
/**
|
|
936
|
-
* Configures
|
|
936
|
+
* Configures {@link EuiTableSelectionType}
|
|
937
937
|
*/
|
|
938
938
|
/**
|
|
939
|
-
* Configures
|
|
939
|
+
* Configures {@link EuiTableSelectionType}
|
|
940
940
|
*/
|
|
941
941
|
selection: _propTypes.default.shape({
|
|
942
942
|
/**
|
|
@@ -976,10 +976,10 @@ EuiInMemoryTable.propTypes = {
|
|
|
976
976
|
tableLayout: _propTypes.default.oneOf(["fixed", "auto"]),
|
|
977
977
|
message: _propTypes.default.node,
|
|
978
978
|
/**
|
|
979
|
-
* Configures
|
|
979
|
+
* Configures {@link Search}.
|
|
980
980
|
*/
|
|
981
981
|
/**
|
|
982
|
-
* Configures
|
|
982
|
+
* Configures {@link Search}.
|
|
983
983
|
*/
|
|
984
984
|
search: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
985
985
|
onChange: _propTypes.default.func,
|
|
@@ -1052,7 +1052,7 @@ EuiInMemoryTable.propTypes = {
|
|
|
1052
1052
|
}).isRequired, _propTypes.default.bool.isRequired])
|
|
1053
1053
|
}),
|
|
1054
1054
|
/**
|
|
1055
|
-
An array of search filters. See
|
|
1055
|
+
An array of search filters. See {@link SearchFilterConfig}.
|
|
1056
1056
|
*/
|
|
1057
1057
|
filters: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
1058
1058
|
type: _propTypes.default.oneOf(["is"]).isRequired,
|
|
@@ -1065,7 +1065,7 @@ EuiInMemoryTable.propTypes = {
|
|
|
1065
1065
|
field: _propTypes.default.string,
|
|
1066
1066
|
name: _propTypes.default.string.isRequired,
|
|
1067
1067
|
/**
|
|
1068
|
-
* See
|
|
1068
|
+
* See {@link FieldValueOptionType}
|
|
1069
1069
|
*/
|
|
1070
1070
|
options: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.shape({
|
|
1071
1071
|
field: _propTypes.default.string,
|
|
@@ -1121,7 +1121,7 @@ EuiInMemoryTable.propTypes = {
|
|
|
1121
1121
|
type: _propTypes.default.oneOf(["field_value_toggle_group"]).isRequired,
|
|
1122
1122
|
field: _propTypes.default.string.isRequired,
|
|
1123
1123
|
/**
|
|
1124
|
-
* See
|
|
1124
|
+
* See {@link FieldValueToggleGroupFilterItemType}
|
|
1125
1125
|
*/
|
|
1126
1126
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
1127
1127
|
value: _propTypes.default.oneOfType([_propTypes.default.string.isRequired, _propTypes.default.number.isRequired, _propTypes.default.bool.isRequired]).isRequired,
|
|
@@ -1183,7 +1183,7 @@ EuiInMemoryTable.propTypes = {
|
|
|
1183
1183
|
*/
|
|
1184
1184
|
searchFormat: _propTypes.default.oneOf(["eql", "text"]),
|
|
1185
1185
|
/**
|
|
1186
|
-
* Configures
|
|
1186
|
+
* Configures {@link Pagination}
|
|
1187
1187
|
*/
|
|
1188
1188
|
pagination: _propTypes.default.oneOfType([_propTypes.default.oneOf([undefined]), _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1189
1189
|
pageSizeOptions: _propTypes.default.arrayOf(_propTypes.default.number.isRequired),
|
|
@@ -1223,10 +1223,10 @@ EuiInMemoryTable.propTypes = {
|
|
|
1223
1223
|
"aria-label": _propTypes.default.string
|
|
1224
1224
|
}).isRequired])]),
|
|
1225
1225
|
/**
|
|
1226
|
-
* Configures
|
|
1226
|
+
* Configures {@link EuiTableSortingType}
|
|
1227
1227
|
*/
|
|
1228
1228
|
/**
|
|
1229
|
-
* Configures
|
|
1229
|
+
* Configures {@link EuiTableSortingType}
|
|
1230
1230
|
*/
|
|
1231
1231
|
sorting: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1232
1232
|
sort: _propTypes.default.any.isRequired
|
|
@@ -1241,16 +1241,18 @@ EuiInMemoryTable.propTypes = {
|
|
|
1241
1241
|
/**
|
|
1242
1242
|
* `onChange` is not required when `pagination` and/or `sorting` are configured,
|
|
1243
1243
|
* but if `onChange` is present it is responsible for handling state for each/both.
|
|
1244
|
-
* See
|
|
1244
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}
|
|
1245
1245
|
*/
|
|
1246
1246
|
/**
|
|
1247
1247
|
* `onChange` is not required when `pagination` and/or `sorting` are configured,
|
|
1248
1248
|
* but if `onChange` is present it is responsible for handling state for each/both.
|
|
1249
|
-
* See
|
|
1249
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}
|
|
1250
1250
|
*/
|
|
1251
1251
|
onChange: _propTypes.default.any,
|
|
1252
1252
|
/**
|
|
1253
|
-
* Callback for when table pagination or sorting is changed. This is meant to be informational only,
|
|
1253
|
+
* Callback for when table pagination or sorting is changed. This is meant to be informational only,
|
|
1254
|
+
* and not used to set any state as the in-memory table already manages this state.
|
|
1255
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}.
|
|
1254
1256
|
*/
|
|
1255
1257
|
onTableChange: _propTypes.default.func,
|
|
1256
1258
|
executeQueryOptions: _propTypes.default.shape({
|
|
@@ -210,7 +210,7 @@ EuiBreadcrumbContent.propTypes = {
|
|
|
210
210
|
*/
|
|
211
211
|
panelStyle: _propTypes.default.any,
|
|
212
212
|
/**
|
|
213
|
-
* Object of props passed to EuiPanel. See
|
|
213
|
+
* Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
|
|
214
214
|
*/
|
|
215
215
|
panelProps: _propTypes.default.shape({
|
|
216
216
|
element: _propTypes.default.oneOf(["div"]),
|
|
@@ -101,7 +101,7 @@ EuiBreadcrumbs.propTypes = {
|
|
|
101
101
|
css: _propTypes.default.any,
|
|
102
102
|
/**
|
|
103
103
|
* Hides extra (above the max) breadcrumbs under a collapsed item as the window gets smaller.
|
|
104
|
-
* Pass a custom
|
|
104
|
+
* Pass a custom {@link EuiBreadcrumbResponsiveMaxCount} object to change the number of breadcrumbs to show at the particular breakpoints.
|
|
105
105
|
*
|
|
106
106
|
* Pass `false` to turn this behavior off.
|
|
107
107
|
*
|
|
@@ -121,7 +121,7 @@ EuiBreadcrumbs.propTypes = {
|
|
|
121
121
|
*/
|
|
122
122
|
max: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf([null])]),
|
|
123
123
|
/**
|
|
124
|
-
* The array of individual
|
|
124
|
+
* The array of individual {@link EuiBreadcrumb} items
|
|
125
125
|
*/
|
|
126
126
|
breadcrumbs: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
127
127
|
className: _propTypes.default.string,
|
|
@@ -124,7 +124,7 @@ EuiButtonGroup.propTypes = {
|
|
|
124
124
|
*/
|
|
125
125
|
type: _propTypes.default.oneOfType([_propTypes.default.oneOfType([_propTypes.default.oneOf(["single", "multi"]), _propTypes.default.oneOf(["single"])]), _propTypes.default.oneOf(["multi"])]),
|
|
126
126
|
/**
|
|
127
|
-
* An array of
|
|
127
|
+
* An array of {@link EuiButtonGroupOptionProps}
|
|
128
128
|
*/
|
|
129
129
|
options: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
130
130
|
/**
|
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"]),
|