@elastic/eui 76.1.0 → 76.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +33 -6
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +33 -6
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +15 -4
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/code/code_block_full_screen.js +2 -0
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +32 -408
- package/es/components/datagrid/body/data_grid_body_custom.js +908 -0
- package/es/components/datagrid/body/data_grid_body_virtualized.js +1031 -0
- package/es/components/datagrid/body/data_grid_cell.js +34 -33
- package/es/components/datagrid/body/data_grid_cell_wrapper.js +132 -0
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/es/components/datagrid/body/header/data_grid_header_row.js +16 -15
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +34 -18
- package/es/components/datagrid/data_grid_types.js +18 -1
- package/es/components/datagrid/utils/in_memory.js +12 -12
- package/es/components/datagrid/utils/row_heights.js +111 -31
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/facet/facet_button.js +1 -1
- package/es/components/flyout/flyout.js +1 -0
- package/es/components/form/field_number/field_number.js +1 -1
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +2 -0
- package/es/components/image/image_fullscreen_wrapper.js +2 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/es/components/suggest/suggest.js +1 -1
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/eui.d.ts +236 -139
- package/i18ntokens.json +8 -8
- package/lib/components/accessibility/skip_link/skip_link.js +15 -4
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/code/code_block_full_screen.js +2 -0
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +32 -429
- package/lib/components/datagrid/body/data_grid_body_custom.js +927 -0
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +1059 -0
- package/lib/components/datagrid/body/data_grid_cell.js +34 -33
- package/lib/components/datagrid/body/data_grid_cell_wrapper.js +147 -0
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -15
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +34 -17
- package/lib/components/datagrid/data_grid_types.js +22 -1
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- package/lib/components/datagrid/utils/row_heights.js +116 -33
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/facet/facet_button.js +1 -1
- package/lib/components/flyout/flyout.js +1 -0
- package/lib/components/form/field_number/field_number.js +1 -1
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +2 -0
- package/lib/components/image/image_fullscreen_wrapper.js +2 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/suggest/suggest.js +1 -1
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/optimize/es/components/accessibility/skip_link/skip_link.js +8 -1
- package/optimize/es/components/code/code_block_full_screen.js +2 -0
- package/optimize/es/components/datagrid/body/data_grid_body.js +17 -387
- package/optimize/es/components/datagrid/body/data_grid_body_custom.js +176 -0
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +311 -0
- package/optimize/es/components/datagrid/body/data_grid_cell.js +8 -7
- package/optimize/es/components/datagrid/body/data_grid_cell_wrapper.js +127 -0
- package/optimize/es/components/datagrid/body/header/data_grid_header_row.js +3 -2
- package/optimize/es/components/datagrid/data_grid.js +8 -5
- package/optimize/es/components/datagrid/data_grid_types.js +18 -1
- package/optimize/es/components/datagrid/utils/row_heights.js +100 -31
- package/optimize/es/components/flyout/flyout.js +1 -0
- package/optimize/es/components/icon/icon_map.js +2 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.js +2 -0
- package/optimize/lib/components/accessibility/skip_link/skip_link.js +8 -1
- package/optimize/lib/components/code/code_block_full_screen.js +2 -0
- package/optimize/lib/components/datagrid/body/data_grid_body.js +16 -409
- package/optimize/lib/components/datagrid/body/data_grid_body_custom.js +198 -0
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +342 -0
- package/optimize/lib/components/datagrid/body/data_grid_cell.js +8 -7
- package/optimize/lib/components/datagrid/body/data_grid_cell_wrapper.js +144 -0
- package/optimize/lib/components/datagrid/body/header/data_grid_header_row.js +4 -2
- package/optimize/lib/components/datagrid/data_grid.js +8 -4
- package/optimize/lib/components/datagrid/data_grid_types.js +22 -1
- package/optimize/lib/components/datagrid/utils/row_heights.js +103 -37
- package/optimize/lib/components/flyout/flyout.js +1 -0
- package/optimize/lib/components/icon/icon_map.js +2 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +2 -0
- package/package.json +1 -1
- package/src/components/datagrid/_data_grid.scss +7 -0
- package/src/components/datagrid/_data_grid_data_row.scss +1 -0
- package/src/components/datagrid/body/footer/_data_grid_footer_row.scss +1 -0
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -0
- package/src/components/selectable/selectable_list/_selectable_list.scss +10 -3
- package/src/themes/amsterdam/global_styling/mixins/_states.scss +17 -8
- package/test-env/components/accessibility/skip_link/skip_link.js +15 -4
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/code/code_block_full_screen.js +2 -0
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +31 -428
- package/test-env/components/datagrid/body/data_grid_body_custom.js +908 -0
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +1057 -0
- package/test-env/components/datagrid/body/data_grid_cell.js +34 -33
- package/test-env/components/datagrid/body/data_grid_cell_wrapper.js +144 -0
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -15
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +34 -17
- package/test-env/components/datagrid/data_grid_types.js +22 -1
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- package/test-env/components/datagrid/utils/row_heights.js +103 -37
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/facet/facet_button.js +1 -1
- package/test-env/components/form/field_number/field_number.js +1 -1
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/icon_map.js +2 -0
- package/test-env/components/image/image_fullscreen_wrapper.js +2 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/suggest/suggest.js +1 -1
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +1 -1
package/eui.d.ts
CHANGED
|
@@ -1344,6 +1344,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1344
1344
|
visVisualBuilder: string;
|
|
1345
1345
|
visualizeApp: string;
|
|
1346
1346
|
warning: string;
|
|
1347
|
+
alert: string;
|
|
1347
1348
|
watchesApp: string;
|
|
1348
1349
|
wordWrap: string;
|
|
1349
1350
|
wordWrapDisabled: string;
|
|
@@ -1462,7 +1463,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1462
1463
|
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
1463
1464
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
1464
1465
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
1465
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1466
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "alert" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1466
1467
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
1467
1468
|
export type IconType = EuiIconType | string | ComponentType;
|
|
1468
1469
|
export type IconColor = string | NamedColor;
|
|
@@ -1505,7 +1506,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1505
1506
|
isLoading: boolean;
|
|
1506
1507
|
neededLoading: boolean;
|
|
1507
1508
|
}
|
|
1508
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1509
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "alert" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1509
1510
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
1510
1511
|
[iconType: string]: React.ComponentType<{}>;
|
|
1511
1512
|
}) => void;
|
|
@@ -8114,11 +8115,15 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
|
|
|
8114
8115
|
*/
|
|
8115
8116
|
destinationId: string;
|
|
8116
8117
|
/**
|
|
8117
|
-
* If no destination ID element exists or can be found, you may provide a
|
|
8118
|
-
*
|
|
8118
|
+
* If no destination ID element exists or can be found, you may provide a query selector
|
|
8119
|
+
* string to fall back to.
|
|
8120
|
+
*
|
|
8121
|
+
* For complex applications with potentially variable layouts per page, an array of
|
|
8122
|
+
* query selectors can be passed, e.g. `['main', '[role=main]', '.appWrapper']`, which
|
|
8123
|
+
* prioritizes looking for multiple fallbacks based on array order.
|
|
8119
8124
|
* @default main
|
|
8120
8125
|
*/
|
|
8121
|
-
fallbackDestination?: string;
|
|
8126
|
+
fallbackDestination?: string | string[];
|
|
8122
8127
|
/**
|
|
8123
8128
|
* If default HTML anchor link behavior is not desired (e.g. for SPAs with hash routing),
|
|
8124
8129
|
* setting this flag to true will manually scroll to and focus the destination element
|
|
@@ -11423,12 +11428,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11423
11428
|
export const cellPaddingsMap: Record<EuiDataGridStyleCellPaddings, number>;
|
|
11424
11429
|
export const AUTO_HEIGHT = "auto";
|
|
11425
11430
|
export const DEFAULT_ROW_HEIGHT = 34;
|
|
11431
|
+
export type RowHeightUtilsType = RowHeightUtils | RowHeightVirtualizationUtils;
|
|
11426
11432
|
export class RowHeightUtils {
|
|
11427
|
-
private gridRef;
|
|
11428
|
-
private outerGridElementRef;
|
|
11429
|
-
private gridItemsRenderedRef;
|
|
11430
|
-
private rerenderGridBodyRef;
|
|
11431
|
-
constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, outerGridElementRef: MutableRefObject<HTMLDivElement | null>, gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
|
|
11432
11433
|
getRowHeightOption(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): EuiDataGridRowHeightOption | undefined;
|
|
11433
11434
|
isRowHeightOverride(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
11434
11435
|
getCalculatedHeight(heightOption: EuiDataGridRowHeightOption, defaultHeight: number, rowIndex?: number, isRowHeightOverride?: boolean): number;
|
|
@@ -11446,13 +11447,32 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11446
11447
|
/**
|
|
11447
11448
|
* Auto height utils
|
|
11448
11449
|
*/
|
|
11450
|
+
isAutoHeight(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
11451
|
+
/**
|
|
11452
|
+
* Heights cache utils
|
|
11453
|
+
* This cache is primarily used by auto heights & secondarily used by lineCount row overrides
|
|
11454
|
+
*/
|
|
11449
11455
|
private heightsCache;
|
|
11456
|
+
getRowHeight(rowIndex: number): number;
|
|
11457
|
+
setRowHeight(rowIndex: number, colId: string, height: number | undefined, _visibleRowIndex: number): boolean;
|
|
11458
|
+
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): boolean;
|
|
11459
|
+
}
|
|
11460
|
+
/**
|
|
11461
|
+
* Row height utils with virtualization library-specific APIs
|
|
11462
|
+
*/
|
|
11463
|
+
export class RowHeightVirtualizationUtils extends RowHeightUtils {
|
|
11464
|
+
private gridRef;
|
|
11465
|
+
private outerGridElementRef;
|
|
11466
|
+
private gridItemsRenderedRef;
|
|
11467
|
+
private rerenderGridBodyRef;
|
|
11468
|
+
constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, outerGridElementRef: MutableRefObject<HTMLDivElement | null>, gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
|
|
11469
|
+
/**
|
|
11470
|
+
* Virtualization workarounds for auto height rows
|
|
11471
|
+
*/
|
|
11450
11472
|
private timerId?;
|
|
11451
11473
|
private lastUpdatedRow;
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): void;
|
|
11455
|
-
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): void;
|
|
11474
|
+
setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): boolean;
|
|
11475
|
+
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): boolean;
|
|
11456
11476
|
resetRow(visibleRowIndex: number): void;
|
|
11457
11477
|
resetGrid(): void;
|
|
11458
11478
|
compensateForLayoutShift(rowIndex: number, verticalLayoutShift: number, anchorRow: EuiDataGridScrollAnchorRow): void;
|
|
@@ -11461,17 +11481,19 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11461
11481
|
* Hook for instantiating RowHeightUtils, setting internal class vars,
|
|
11462
11482
|
* and setting up various row-height-related side effects
|
|
11463
11483
|
*/
|
|
11464
|
-
export const useRowHeightUtils: ({
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11484
|
+
export const useRowHeightUtils: ({ virtualization, rowHeightsOptions, gridStyles, columns, }: {
|
|
11485
|
+
virtualization?: false | {
|
|
11486
|
+
gridRef: MutableRefObject<ImperativeGridApi | null>;
|
|
11487
|
+
outerGridElementRef: MutableRefObject<HTMLDivElement | null>;
|
|
11488
|
+
gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>;
|
|
11489
|
+
} | undefined;
|
|
11490
|
+
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11468
11491
|
gridStyles: EuiDataGridStyle;
|
|
11469
11492
|
columns: EuiDataGridColumn[];
|
|
11470
|
-
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11471
11493
|
}) => RowHeightUtils;
|
|
11472
11494
|
export const useDefaultRowHeight: ({ rowHeightsOptions, rowHeightUtils, }: {
|
|
11473
11495
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11474
|
-
rowHeightUtils:
|
|
11496
|
+
rowHeightUtils: RowHeightUtilsType;
|
|
11475
11497
|
}) => {
|
|
11476
11498
|
defaultRowHeight: number;
|
|
11477
11499
|
setRowHeight: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
@@ -11583,12 +11605,12 @@ declare module '@elastic/eui/src/components/token' {
|
|
|
11583
11605
|
|
|
11584
11606
|
}
|
|
11585
11607
|
declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
11586
|
-
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Component } from 'react';
|
|
11608
|
+
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Ref, Component } from 'react';
|
|
11587
11609
|
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps } from 'react-window';
|
|
11588
11610
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
|
|
11589
11611
|
import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui/src/components/button';
|
|
11590
11612
|
import { ExclusiveUnion, CommonProps, OneOf } from '@elastic/eui/src/components/common';
|
|
11591
|
-
import {
|
|
11613
|
+
import { RowHeightUtilsType } from '@elastic/eui/src/components/datagrid/utils/row_heights';
|
|
11592
11614
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
11593
11615
|
import { EuiTokenProps } from '@elastic/eui/src/components/token';
|
|
11594
11616
|
import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
|
|
@@ -11802,6 +11824,18 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11802
11824
|
* as its only argument.
|
|
11803
11825
|
*/
|
|
11804
11826
|
renderFooterCellValue?: EuiDataGridCellProps['renderCellValue'];
|
|
11827
|
+
/**
|
|
11828
|
+
* An optional function called to completely customize and control the rendering of
|
|
11829
|
+
* EuiDataGrid's body and cell placement. This can be used to, e.g. remove EuiDataGrid's
|
|
11830
|
+
* virtualization library, or roll your own.
|
|
11831
|
+
*
|
|
11832
|
+
* This component is **only** meant as an escape hatch for extremely custom use cases.
|
|
11833
|
+
*
|
|
11834
|
+
* Behind the scenes, this function is treated as a React component,
|
|
11835
|
+
* allowing hooks, context, and other React concepts to be used.
|
|
11836
|
+
* It receives #EuiDataGridCustomBodyProps as its only argument.
|
|
11837
|
+
*/
|
|
11838
|
+
renderCustomGridBody?: (args: EuiDataGridCustomBodyProps) => ReactNode;
|
|
11805
11839
|
/**
|
|
11806
11840
|
* Defines the initial style of the grid. Accepts a partial #EuiDataGridStyle object.
|
|
11807
11841
|
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowDensity = true` (which is the default).
|
|
@@ -11928,6 +11962,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11928
11962
|
renderCellValue: EuiDataGridCellProps['renderCellValue'];
|
|
11929
11963
|
renderCellPopover?: EuiDataGridCellProps['renderCellPopover'];
|
|
11930
11964
|
renderFooterCellValue?: EuiDataGridCellProps['renderCellValue'];
|
|
11965
|
+
renderCustomGridBody?: EuiDataGridProps['renderCustomGridBody'];
|
|
11931
11966
|
interactiveCellId: EuiDataGridCellProps['interactiveCellId'];
|
|
11932
11967
|
pagination?: EuiDataGridPaginationProps;
|
|
11933
11968
|
headerIsInteractive: boolean;
|
|
@@ -11944,6 +11979,44 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11944
11979
|
gridItemsRendered: MutableRefObject<GridOnItemsRenderedProps | null>;
|
|
11945
11980
|
wrapperRef: MutableRefObject<HTMLDivElement | null>;
|
|
11946
11981
|
}
|
|
11982
|
+
export interface EuiDataGridCustomBodyProps {
|
|
11983
|
+
/**
|
|
11984
|
+
* When taking control of data grid rendering, the underlying `EuiDataGridCell`
|
|
11985
|
+
* is passed as a prop for usage. You **must** pass in a valid `colIndex`
|
|
11986
|
+
* and `visibleRowIndex` to this cell component.
|
|
11987
|
+
*
|
|
11988
|
+
* You may also pass in any other optional cell prop overrides
|
|
11989
|
+
* that `EuiDataGridCell` accepts, such as `isExpandable` or `renderCellValue`.
|
|
11990
|
+
*/
|
|
11991
|
+
Cell: JSXElementConstructor<{
|
|
11992
|
+
colIndex: number;
|
|
11993
|
+
visibleRowIndex: number;
|
|
11994
|
+
} & Partial<EuiDataGridCellProps>>;
|
|
11995
|
+
/**
|
|
11996
|
+
* The currently visible columns are passed to your data grid renderer so that your
|
|
11997
|
+
* custom grid can automatically adjust to column hiding & reordering.
|
|
11998
|
+
*/
|
|
11999
|
+
visibleColumns: EuiDataGridColumn[];
|
|
12000
|
+
/**
|
|
12001
|
+
* The currently visible rows are passed to your data grid renderer so that your
|
|
12002
|
+
* custom grid can automatically adjust to sorting and pagination.
|
|
12003
|
+
*
|
|
12004
|
+
* You will need to manually slice your data with `startRow` and `endRow` in order to simulate pagination.
|
|
12005
|
+
*/
|
|
12006
|
+
visibleRowData: {
|
|
12007
|
+
startRow: number;
|
|
12008
|
+
endRow: number;
|
|
12009
|
+
visibleRowCount: number;
|
|
12010
|
+
};
|
|
12011
|
+
/**
|
|
12012
|
+
* Callback function to set custom props & attributes on the custom grid body's wrapping `div` element.
|
|
12013
|
+
* It's best to wrap calls to `setCustomGridBodyProps` in a `useEffect` hook
|
|
12014
|
+
*/
|
|
12015
|
+
setCustomGridBodyProps: (props: EuiDataGridSetCustomGridBodyProps) => void;
|
|
12016
|
+
}
|
|
12017
|
+
export type EuiDataGridSetCustomGridBodyProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
12018
|
+
ref?: MutableRefObject<HTMLDivElement> | Ref<HTMLDivElement>;
|
|
12019
|
+
};
|
|
11947
12020
|
/**
|
|
11948
12021
|
* Props shared between renderCellValue and renderCellPopover
|
|
11949
12022
|
*/
|
|
@@ -12036,7 +12109,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
12036
12109
|
getRowHeight?: (rowIndex: number) => number;
|
|
12037
12110
|
style?: React.CSSProperties;
|
|
12038
12111
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions;
|
|
12039
|
-
rowHeightUtils?:
|
|
12112
|
+
rowHeightUtils?: RowHeightUtilsType;
|
|
12040
12113
|
rowManager?: EuiDataGridRowManager;
|
|
12041
12114
|
pagination?: EuiDataGridPaginationProps;
|
|
12042
12115
|
}
|
|
@@ -12078,6 +12151,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
12078
12151
|
*/
|
|
12079
12152
|
footerCellProps?: HTMLAttributes<HTMLDivElement>;
|
|
12080
12153
|
}
|
|
12154
|
+
export const emptyControlColumns: EuiDataGridControlColumn[];
|
|
12081
12155
|
export interface EuiDataGridColumn {
|
|
12082
12156
|
/**
|
|
12083
12157
|
* The unique identifier for this column
|
|
@@ -12478,115 +12552,6 @@ declare module '@elastic/eui/src/components/datagrid/utils/focus' {
|
|
|
12478
12552
|
export const useHeaderFocusWorkaround: (headerIsInteractive: boolean) => void;
|
|
12479
12553
|
export {};
|
|
12480
12554
|
|
|
12481
|
-
}
|
|
12482
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_actions' {
|
|
12483
|
-
|
|
12484
|
-
import { EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12485
|
-
export const EuiDataGridCellActions: ({ onExpandClick, column, rowIndex, colIndex, }: {
|
|
12486
|
-
onExpandClick: () => void;
|
|
12487
|
-
column?: EuiDataGridColumn | undefined;
|
|
12488
|
-
rowIndex: number;
|
|
12489
|
-
colIndex: number;
|
|
12490
|
-
}) => JSX.Element;
|
|
12491
|
-
export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
|
|
12492
|
-
column?: EuiDataGridColumn | undefined;
|
|
12493
|
-
colIndex: number;
|
|
12494
|
-
rowIndex: number;
|
|
12495
|
-
}) => JSX.Element;
|
|
12496
|
-
|
|
12497
|
-
}
|
|
12498
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_popover' {
|
|
12499
|
-
import React, { ReactNode } from 'react';
|
|
12500
|
-
import { DataGridCellPopoverContextShape, EuiDataGridCellPopoverElementProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12501
|
-
export const DataGridCellPopoverContext: React.Context<DataGridCellPopoverContextShape>;
|
|
12502
|
-
export const useCellPopover: () => {
|
|
12503
|
-
cellPopoverContext: DataGridCellPopoverContextShape;
|
|
12504
|
-
cellPopover: ReactNode;
|
|
12505
|
-
};
|
|
12506
|
-
export const DefaultCellPopover: ({ schema, cellActions, children, cellContentsElement, }: EuiDataGridCellPopoverElementProps) => JSX.Element;
|
|
12507
|
-
export const JsonPopoverContent: ({ cellText }: {
|
|
12508
|
-
cellText: string;
|
|
12509
|
-
}) => JSX.Element;
|
|
12510
|
-
|
|
12511
|
-
}
|
|
12512
|
-
declare module '@elastic/eui/src/utils/prop_types/is' {
|
|
12513
|
-
export const is: <T>(expectedValue: any) => {
|
|
12514
|
-
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12515
|
-
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12516
|
-
};
|
|
12517
|
-
|
|
12518
|
-
}
|
|
12519
|
-
declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
|
|
12520
|
-
/**
|
|
12521
|
-
* PropType validation that, if the property is present,
|
|
12522
|
-
* validates against a proptype and verifies that another property exists
|
|
12523
|
-
*
|
|
12524
|
-
* example:
|
|
12525
|
-
* ExampleComponent.propTypes = {
|
|
12526
|
-
* items: PropTypes.array,
|
|
12527
|
-
* itemId: withRequiredProp(PropTypes.string, 'items', 'itemId is required to extract the ID from an item')
|
|
12528
|
-
* }
|
|
12529
|
-
*
|
|
12530
|
-
* this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
|
|
12531
|
-
*/
|
|
12532
|
-
export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12533
|
-
|
|
12534
|
-
}
|
|
12535
|
-
declare module '@elastic/eui/src/utils/prop_types' {
|
|
12536
|
-
export const EuiPropTypes: {
|
|
12537
|
-
is: <T>(expectedValue: any) => {
|
|
12538
|
-
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12539
|
-
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12540
|
-
};
|
|
12541
|
-
withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12542
|
-
};
|
|
12543
|
-
|
|
12544
|
-
}
|
|
12545
|
-
declare module '@elastic/eui/src/utils/is_jest' {
|
|
12546
|
-
export const IS_JEST_ENVIRONMENT: boolean;
|
|
12547
|
-
|
|
12548
|
-
}
|
|
12549
|
-
declare module '@elastic/eui/src/utils' {
|
|
12550
|
-
export * from '@elastic/eui/src/utils/prop_types';
|
|
12551
|
-
export * from '@elastic/eui/src/utils/is_jest';
|
|
12552
|
-
|
|
12553
|
-
}
|
|
12554
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell' {
|
|
12555
|
-
import React, { Component, FocusEvent } from 'react';
|
|
12556
|
-
import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12557
|
-
export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
|
|
12558
|
-
static activeFocusTimeoutId: number | undefined;
|
|
12559
|
-
cellRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12560
|
-
contentObserver: any;
|
|
12561
|
-
popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12562
|
-
cellContentsRef: HTMLDivElement | null;
|
|
12563
|
-
state: EuiDataGridCellState;
|
|
12564
|
-
unsubscribeCell?: Function;
|
|
12565
|
-
focusTimeout: number | undefined;
|
|
12566
|
-
style: null;
|
|
12567
|
-
static contextType: React.Context<import ("@elastic/eui/src/components/datagrid/data_grid_types").DataGridFocusContextShape>;
|
|
12568
|
-
getInteractables: () => never[] | NodeListOf<HTMLElement>;
|
|
12569
|
-
takeFocus: (preventScroll: boolean) => void;
|
|
12570
|
-
recalculateAutoHeight: () => void;
|
|
12571
|
-
recalculateLineHeight: () => void;
|
|
12572
|
-
componentDidMount(): void;
|
|
12573
|
-
isFocusedCell: () => boolean;
|
|
12574
|
-
onFocusUpdate: (isFocused: boolean, preventScroll?: boolean) => void;
|
|
12575
|
-
componentWillUnmount(): void;
|
|
12576
|
-
componentDidUpdate(prevProps: EuiDataGridCellProps): void;
|
|
12577
|
-
shouldComponentUpdate(nextProps: EuiDataGridCellProps, nextState: EuiDataGridCellState): boolean;
|
|
12578
|
-
setCellProps: (cellProps: EuiDataGridSetCellProps) => void;
|
|
12579
|
-
setCellContentsRef: (ref: HTMLDivElement | null) => void;
|
|
12580
|
-
onFocus: (e: FocusEvent<HTMLDivElement>) => void;
|
|
12581
|
-
onBlur: () => void;
|
|
12582
|
-
preventTabbing: () => void;
|
|
12583
|
-
enableTabbing: () => void;
|
|
12584
|
-
isExpandable: () => boolean;
|
|
12585
|
-
isPopoverOpen: () => boolean;
|
|
12586
|
-
handleCellPopover: () => void;
|
|
12587
|
-
render(): JSX.Element;
|
|
12588
|
-
}
|
|
12589
|
-
|
|
12590
12555
|
}
|
|
12591
12556
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell_wrapper' {
|
|
12592
12557
|
import { FunctionComponent } from 'react';
|
|
@@ -12827,6 +12792,115 @@ declare module '@elastic/eui/src/components/datagrid/body/header' {
|
|
|
12827
12792
|
export { EuiDataGridHeaderRow } from '@elastic/eui/src/components/datagrid/body/header/data_grid_header_row';
|
|
12828
12793
|
export { useDataGridHeader } from '@elastic/eui/src/components/datagrid/body/header/use_data_grid_header';
|
|
12829
12794
|
|
|
12795
|
+
}
|
|
12796
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_actions' {
|
|
12797
|
+
|
|
12798
|
+
import { EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12799
|
+
export const EuiDataGridCellActions: ({ onExpandClick, column, rowIndex, colIndex, }: {
|
|
12800
|
+
onExpandClick: () => void;
|
|
12801
|
+
column?: EuiDataGridColumn | undefined;
|
|
12802
|
+
rowIndex: number;
|
|
12803
|
+
colIndex: number;
|
|
12804
|
+
}) => JSX.Element;
|
|
12805
|
+
export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
|
|
12806
|
+
column?: EuiDataGridColumn | undefined;
|
|
12807
|
+
colIndex: number;
|
|
12808
|
+
rowIndex: number;
|
|
12809
|
+
}) => JSX.Element;
|
|
12810
|
+
|
|
12811
|
+
}
|
|
12812
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_popover' {
|
|
12813
|
+
import React, { ReactNode } from 'react';
|
|
12814
|
+
import { DataGridCellPopoverContextShape, EuiDataGridCellPopoverElementProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12815
|
+
export const DataGridCellPopoverContext: React.Context<DataGridCellPopoverContextShape>;
|
|
12816
|
+
export const useCellPopover: () => {
|
|
12817
|
+
cellPopoverContext: DataGridCellPopoverContextShape;
|
|
12818
|
+
cellPopover: ReactNode;
|
|
12819
|
+
};
|
|
12820
|
+
export const DefaultCellPopover: ({ schema, cellActions, children, cellContentsElement, }: EuiDataGridCellPopoverElementProps) => JSX.Element;
|
|
12821
|
+
export const JsonPopoverContent: ({ cellText }: {
|
|
12822
|
+
cellText: string;
|
|
12823
|
+
}) => JSX.Element;
|
|
12824
|
+
|
|
12825
|
+
}
|
|
12826
|
+
declare module '@elastic/eui/src/utils/prop_types/is' {
|
|
12827
|
+
export const is: <T>(expectedValue: any) => {
|
|
12828
|
+
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12829
|
+
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12830
|
+
};
|
|
12831
|
+
|
|
12832
|
+
}
|
|
12833
|
+
declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
|
|
12834
|
+
/**
|
|
12835
|
+
* PropType validation that, if the property is present,
|
|
12836
|
+
* validates against a proptype and verifies that another property exists
|
|
12837
|
+
*
|
|
12838
|
+
* example:
|
|
12839
|
+
* ExampleComponent.propTypes = {
|
|
12840
|
+
* items: PropTypes.array,
|
|
12841
|
+
* itemId: withRequiredProp(PropTypes.string, 'items', 'itemId is required to extract the ID from an item')
|
|
12842
|
+
* }
|
|
12843
|
+
*
|
|
12844
|
+
* this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
|
|
12845
|
+
*/
|
|
12846
|
+
export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12847
|
+
|
|
12848
|
+
}
|
|
12849
|
+
declare module '@elastic/eui/src/utils/prop_types' {
|
|
12850
|
+
export const EuiPropTypes: {
|
|
12851
|
+
is: <T>(expectedValue: any) => {
|
|
12852
|
+
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12853
|
+
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12854
|
+
};
|
|
12855
|
+
withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12856
|
+
};
|
|
12857
|
+
|
|
12858
|
+
}
|
|
12859
|
+
declare module '@elastic/eui/src/utils/is_jest' {
|
|
12860
|
+
export const IS_JEST_ENVIRONMENT: boolean;
|
|
12861
|
+
|
|
12862
|
+
}
|
|
12863
|
+
declare module '@elastic/eui/src/utils' {
|
|
12864
|
+
export * from '@elastic/eui/src/utils/prop_types';
|
|
12865
|
+
export * from '@elastic/eui/src/utils/is_jest';
|
|
12866
|
+
|
|
12867
|
+
}
|
|
12868
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell' {
|
|
12869
|
+
import React, { Component, FocusEvent } from 'react';
|
|
12870
|
+
import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12871
|
+
export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
|
|
12872
|
+
static activeFocusTimeoutId: number | undefined;
|
|
12873
|
+
cellRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12874
|
+
contentObserver: any;
|
|
12875
|
+
popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12876
|
+
cellContentsRef: HTMLDivElement | null;
|
|
12877
|
+
state: EuiDataGridCellState;
|
|
12878
|
+
unsubscribeCell?: Function;
|
|
12879
|
+
focusTimeout: number | undefined;
|
|
12880
|
+
style: null;
|
|
12881
|
+
static contextType: React.Context<import ("@elastic/eui/src/components/datagrid/data_grid_types").DataGridFocusContextShape>;
|
|
12882
|
+
getInteractables: () => never[] | NodeListOf<HTMLElement>;
|
|
12883
|
+
takeFocus: (preventScroll: boolean) => void;
|
|
12884
|
+
recalculateAutoHeight: () => void;
|
|
12885
|
+
recalculateLineHeight: () => void;
|
|
12886
|
+
componentDidMount(): void;
|
|
12887
|
+
isFocusedCell: () => boolean;
|
|
12888
|
+
onFocusUpdate: (isFocused: boolean, preventScroll?: boolean) => void;
|
|
12889
|
+
componentWillUnmount(): void;
|
|
12890
|
+
componentDidUpdate(prevProps: EuiDataGridCellProps): void;
|
|
12891
|
+
shouldComponentUpdate(nextProps: EuiDataGridCellProps, nextState: EuiDataGridCellState): boolean;
|
|
12892
|
+
setCellProps: (cellProps: EuiDataGridSetCellProps) => void;
|
|
12893
|
+
setCellContentsRef: (ref: HTMLDivElement | null) => void;
|
|
12894
|
+
onFocus: (e: FocusEvent<HTMLDivElement>) => void;
|
|
12895
|
+
onBlur: () => void;
|
|
12896
|
+
preventTabbing: () => void;
|
|
12897
|
+
enableTabbing: () => void;
|
|
12898
|
+
isExpandable: () => boolean;
|
|
12899
|
+
isPopoverOpen: () => boolean;
|
|
12900
|
+
handleCellPopover: () => void;
|
|
12901
|
+
render(): JSX.Element;
|
|
12902
|
+
}
|
|
12903
|
+
|
|
12830
12904
|
}
|
|
12831
12905
|
declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_footer_row' {
|
|
12832
12906
|
import React from 'react'; const EuiDataGridFooterRow: React.MemoExoticComponent<React.ForwardRefExoticComponent<import ("@elastic/eui/src/components").CommonProps & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -12864,6 +12938,18 @@ declare module '@elastic/eui/src/components/datagrid/body/footer' {
|
|
|
12864
12938
|
export { EuiDataGridFooterRow } from '@elastic/eui/src/components/datagrid/body/footer/data_grid_footer_row';
|
|
12865
12939
|
export { useDataGridFooter } from '@elastic/eui/src/components/datagrid/body/footer/use_data_grid_footer';
|
|
12866
12940
|
|
|
12941
|
+
}
|
|
12942
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_wrapper' {
|
|
12943
|
+
import { FunctionComponent } from 'react';
|
|
12944
|
+
import { EuiDataGridCellProps, EuiDataGridBodyProps, EuiDataGridHeaderRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type CellProps = Pick<EuiDataGridCellProps, 'colIndex' | 'visibleRowIndex' | 'style' | 'renderCellValue' | 'renderCellPopover' | 'interactiveCellId' | 'rowHeightsOptions' | 'rowHeightUtils' | 'rowManager' | 'setRowHeight'> & Pick<EuiDataGridBodyProps, 'schema' | 'schemaDetectors' | 'pagination' | 'columns' | 'leadingControlColumns' | 'trailingControlColumns' | 'visibleColCount'> & Pick<EuiDataGridHeaderRowProps, 'columnWidths' | 'defaultColumnWidth'> & Partial<EuiDataGridCellProps>;
|
|
12945
|
+
/**
|
|
12946
|
+
* A DRY wrapper used by both custom and virtualized grid cells.
|
|
12947
|
+
* It grabs context, determines the type of cell being rendered
|
|
12948
|
+
* (e.g. control vs data cell), & sets shared props between all cells
|
|
12949
|
+
*/
|
|
12950
|
+
export const Cell: FunctionComponent<CellProps>;
|
|
12951
|
+
export {};
|
|
12952
|
+
|
|
12867
12953
|
}
|
|
12868
12954
|
declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager' {
|
|
12869
12955
|
import { RefObject } from 'react';
|
|
@@ -12877,7 +12963,7 @@ declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager'
|
|
|
12877
12963
|
declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
|
|
12878
12964
|
import { MutableRefObject } from 'react';
|
|
12879
12965
|
import { EuiDataGridRowHeightsOptions } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12880
|
-
import {
|
|
12966
|
+
import { RowHeightUtilsType } from '@elastic/eui/src/components/datagrid/utils/row_heights';
|
|
12881
12967
|
export const useFinalGridDimensions: ({ unconstrainedHeight, unconstrainedWidth, wrapperDimensions, wrapperRef, isFullScreen, rowCount, }: {
|
|
12882
12968
|
unconstrainedHeight: number;
|
|
12883
12969
|
unconstrainedWidth: number;
|
|
@@ -12896,7 +12982,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
|
|
|
12896
12982
|
* Computes the unconstrained (total possible) height of a grid
|
|
12897
12983
|
*/
|
|
12898
12984
|
export const useUnconstrainedHeight: ({ rowHeightUtils, startRow, endRow, rowHeightsOptions, defaultRowHeight, headerRowHeight, footerRowHeight, scrollBarHeight, innerGridRef, }: {
|
|
12899
|
-
rowHeightUtils:
|
|
12985
|
+
rowHeightUtils: RowHeightUtilsType;
|
|
12900
12986
|
startRow: number;
|
|
12901
12987
|
endRow: number;
|
|
12902
12988
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
@@ -12982,12 +13068,24 @@ declare module '@elastic/eui/src/components/datagrid/utils/scrolling' {
|
|
|
12982
13068
|
export {};
|
|
12983
13069
|
|
|
12984
13070
|
}
|
|
12985
|
-
declare module '@elastic/eui/src/components/datagrid/body/
|
|
13071
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body_virtualized' {
|
|
12986
13072
|
import React, { FunctionComponent } from 'react';
|
|
12987
13073
|
import { GridChildComponentProps } from 'react-window';
|
|
12988
13074
|
import { EuiDataGridBodyProps, DataGridWrapperRowsContentsShape } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12989
|
-
export const
|
|
13075
|
+
export const _Cell: FunctionComponent<GridChildComponentProps>;
|
|
12990
13076
|
export const DataGridWrapperRowsContext: React.Context<DataGridWrapperRowsContentsShape>;
|
|
13077
|
+
export const EuiDataGridBodyVirtualized: FunctionComponent<EuiDataGridBodyProps>;
|
|
13078
|
+
|
|
13079
|
+
}
|
|
13080
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body_custom' {
|
|
13081
|
+
import { FunctionComponent } from 'react';
|
|
13082
|
+
import { EuiDataGridBodyProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
13083
|
+
export const EuiDataGridBodyCustomRender: FunctionComponent<EuiDataGridBodyProps>;
|
|
13084
|
+
|
|
13085
|
+
}
|
|
13086
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body' {
|
|
13087
|
+
import { FunctionComponent } from 'react';
|
|
13088
|
+
import { EuiDataGridBodyProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12991
13089
|
export const EuiDataGridBody: FunctionComponent<EuiDataGridBodyProps>;
|
|
12992
13090
|
|
|
12993
13091
|
}
|
|
@@ -16603,10 +16701,9 @@ declare module '@elastic/eui/src/components/page/page_body' {
|
|
|
16603
16701
|
|
|
16604
16702
|
}
|
|
16605
16703
|
declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
16606
|
-
import { FunctionComponent } from 'react';
|
|
16704
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
16607
16705
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
16608
16706
|
import { _EuiPanelProps, _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
16609
|
-
import { HTMLAttributes } from 'enzyme';
|
|
16610
16707
|
export type EuiPageContentVerticalPositions = 'center';
|
|
16611
16708
|
export type EuiPageContentHorizontalPositions = 'center';
|
|
16612
16709
|
export type EuiPageContentProps = CommonProps & _EuiPanelProps & Omit<_EuiPanelDivlike, 'onClick' | 'role'> & {
|
|
@@ -16616,7 +16713,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
|
16616
16713
|
* There should only be one EuiPageContent per page and should contain the main contents.
|
|
16617
16714
|
* If this is untrue, set role = `null`, or change it to match your needed aria role
|
|
16618
16715
|
*/
|
|
16619
|
-
role?: HTMLAttributes['role'] | null;
|
|
16716
|
+
role?: HTMLAttributes<HTMLElement>['role'] | null;
|
|
16620
16717
|
};
|
|
16621
16718
|
/**
|
|
16622
16719
|
* @deprecated Use EuiPageSection instead
|