UNPKG

@elastic/eui

Version:

Elastic UI Component Library

592 lines (575 loc) 148 kB
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } var _excluded = ["leadingControlColumns", "trailingControlColumns", "columns", "columnVisibility", "schemaDetectors", "rowCount", "renderCellValue", "renderCellPopover", "renderFooterCellValue", "className", "gridStyle", "toolbarVisibility", "pagination", "sorting", "inMemory", "onColumnResize", "minSizeForControls", "height", "width", "rowHeightsOptions", "virtualizationOptions", "renderCustomGridBody"], _excluded2 = ["focusProps"]; function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ import classNames from 'classnames'; import PropTypes from "prop-types"; import React, { forwardRef, useMemo, useRef, useState } from 'react'; import { useGeneratedHtmlId } from '../../services'; import { EuiFocusTrap } from '../focus_trap'; import { EuiI18n, useEuiI18n } from '../i18n'; import { useMutationObserver } from '../observer/mutation_observer'; import { useResizeObserver } from '../observer/resize_observer'; import { EuiDataGridBody } from './body'; import { useDataGridColumnSelector, useDataGridColumnSorting, useDataGridDisplaySelector, startingStyles, useDataGridFullScreenSelector, useDataGridKeyboardShortcuts, checkOrDefaultToolBarDisplayOptions, EuiDataGridToolbar } from './controls'; import { DataGridSortingContext, useSorting } from './utils/sorting'; import { DataGridFocusContext, useFocus, createKeyDownHandler, preventTabbing } from './utils/focus'; import { useInMemoryValues, EuiDataGridInMemoryRenderer } from './utils/in_memory'; import { useHeaderIsInteractive } from './body/header/header_is_interactive'; import { DataGridCellPopoverContext, useCellPopover } from './body/data_grid_cell_popover'; import { computeVisibleRows } from './utils/row_count'; import { EuiDataGridPaginationRenderer } from './utils/data_grid_pagination'; import { schemaDetectors as providedSchemaDetectors, useMergedSchema } from './utils/data_grid_schema'; import { useImperativeGridRef } from './utils/ref'; import { emptyControlColumns } from './data_grid_types'; // Each gridStyle object above sets a specific CSS select to .euiGrid import { jsx as ___EmotionJSX } from "@emotion/react"; var fontSizesToClassMap = { s: 'euiDataGrid--fontSizeSmall', m: '', l: 'euiDataGrid--fontSizeLarge' }; var headerToClassMap = { shade: 'euiDataGrid--headerShade', underline: 'euiDataGrid--headerUnderline' }; var footerToClassMap = { shade: 'euiDataGrid--footerShade', overline: 'euiDataGrid--footerOverline', striped: '' }; var rowHoverToClassMap = { highlight: 'euiDataGrid--rowHoverHighlight', none: '' }; var bordersToClassMap = { all: 'euiDataGrid--bordersAll', horizontal: 'euiDataGrid--bordersHorizontal', none: 'euiDataGrid--bordersNone' }; var cellPaddingsToClassMap = { s: 'euiDataGrid--paddingSmall', m: '', l: 'euiDataGrid--paddingLarge' }; export var EuiDataGrid = /*#__PURE__*/forwardRef(function (props, ref) { var _gridItemsRendered$cu; var _props$leadingControl = props.leadingControlColumns, leadingControlColumns = _props$leadingControl === void 0 ? emptyControlColumns : _props$leadingControl, _props$trailingContro = props.trailingControlColumns, trailingControlColumns = _props$trailingContro === void 0 ? emptyControlColumns : _props$trailingContro, columns = props.columns, columnVisibility = props.columnVisibility, schemaDetectors = props.schemaDetectors, rowCount = props.rowCount, renderCellValue = props.renderCellValue, renderCellPopover = props.renderCellPopover, renderFooterCellValue = props.renderFooterCellValue, className = props.className, gridStyle = props.gridStyle, _props$toolbarVisibil = props.toolbarVisibility, toolbarVisibility = _props$toolbarVisibil === void 0 ? true : _props$toolbarVisibil, pagination = props.pagination, sorting = props.sorting, inMemory = props.inMemory, onColumnResize = props.onColumnResize, minSizeForControls = props.minSizeForControls, height = props.height, width = props.width, _rowHeightsOptions = props.rowHeightsOptions, virtualizationOptions = props.virtualizationOptions, renderCustomGridBody = props.renderCustomGridBody, rest = _objectWithoutProperties(props, _excluded); /** * Merge consumer settings with defaults */ var gridStyleWithDefaults = useMemo(function () { return _objectSpread(_objectSpread({}, startingStyles), gridStyle); }, [gridStyle]); var _useInMemoryValues = useInMemoryValues(inMemory, rowCount), _useInMemoryValues2 = _slicedToArray(_useInMemoryValues, 2), inMemoryValues = _useInMemoryValues2[0], onCellRender = _useInMemoryValues2[1]; var allSchemaDetectors = useMemo(function () { return [].concat(_toConsumableArray(providedSchemaDetectors), _toConsumableArray(schemaDetectors || [])); }, [schemaDetectors]); var mergedSchema = useMergedSchema({ columns: columns, inMemory: inMemory, inMemoryValues: inMemoryValues, schemaDetectors: allSchemaDetectors, autoDetectSchema: inMemory != null }); /** * Grid refs & observers */ // Outermost wrapper div // this ref needs to be managed by a state, to cause a re-render after mount // and passing the mounted element to the resize observer var _useState = useState(null), _useState2 = _slicedToArray(_useState, 2), resizeRef = _useState2[0], setResizeRef = _useState2[1]; var _useResizeObserver = useResizeObserver(resizeRef, 'width'), gridWidth = _useResizeObserver.width; // Wrapper div around EuiDataGridBody var contentRef = useRef(null); useMutationObserver(contentRef.current, preventTabbing, { subtree: true, childList: true }); // Imperative handler passed back by react-window - we're setting this at // the top datagrid level to make passing it to other children & utils easier var gridRef = useRef(null); var gridItemsRendered = useRef(null); /** * Display */ var displayValues = useMemo(function () { return columns.reduce(function (acc, column) { return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, column.id, column.displayAsText || column.id)); }, {}); }, [columns]); var _useDataGridDisplaySe = useDataGridDisplaySelector(checkOrDefaultToolBarDisplayOptions(toolbarVisibility, 'showDisplaySelector'), gridStyleWithDefaults, _rowHeightsOptions), _useDataGridDisplaySe2 = _slicedToArray(_useDataGridDisplaySe, 3), displaySelector = _useDataGridDisplaySe2[0], gridStyles = _useDataGridDisplaySe2[1], rowHeightsOptions = _useDataGridDisplaySe2[2]; /** * Column order & visibility */ var _useDataGridColumnSel = useDataGridColumnSelector(columns, columnVisibility, checkOrDefaultToolBarDisplayOptions(toolbarVisibility, 'showColumnSelector'), displayValues), _useDataGridColumnSel2 = _slicedToArray(_useDataGridColumnSel, 4), columnSelector = _useDataGridColumnSel2[0], orderedVisibleColumns = _useDataGridColumnSel2[1], setVisibleColumns = _useDataGridColumnSel2[2], switchColumnPos = _useDataGridColumnSel2[3]; var visibleColCount = useMemo(function () { return orderedVisibleColumns.length + leadingControlColumns.length + trailingControlColumns.length; }, [orderedVisibleColumns, leadingControlColumns, trailingControlColumns]); var visibleRows = useMemo(function () { return computeVisibleRows({ pagination: pagination, rowCount: rowCount }); }, [pagination, rowCount]); var visibleRowCount = visibleRows.visibleRowCount; /** * Sorting */ var columnSorting = useDataGridColumnSorting(orderedVisibleColumns, sorting, mergedSchema, allSchemaDetectors, displayValues); var sortingContext = useSorting({ sorting: sorting, inMemory: inMemory, inMemoryValues: inMemoryValues, schema: mergedSchema, schemaDetectors: allSchemaDetectors, startRow: visibleRows.startRow }); /** * Focus */ var _useHeaderIsInteracti = useHeaderIsInteractive(contentRef.current), headerIsInteractive = _useHeaderIsInteracti.headerIsInteractive, handleHeaderMutation = _useHeaderIsInteracti.handleHeaderMutation; var _useFocus = useFocus({ headerIsInteractive: headerIsInteractive, gridItemsRendered: gridItemsRendered }), wrappingDivFocusProps = _useFocus.focusProps, focusContext = _objectWithoutProperties(_useFocus, _excluded2); /** * Cell popover */ var _useCellPopover = useCellPopover(), cellPopoverContext = _useCellPopover.cellPopoverContext, cellPopover = _useCellPopover.cellPopover; /** * Toolbar, keyboard shortcuts, & fullscreen */ var showToolbar = !!toolbarVisibility; var _useDataGridKeyboardS = useDataGridKeyboardShortcuts(), keyboardShortcuts = _useDataGridKeyboardS.keyboardShortcuts; var _useDataGridFullScree = useDataGridFullScreenSelector(), isFullScreen = _useDataGridFullScree.isFullScreen, setIsFullScreen = _useDataGridFullScree.setIsFullScreen, fullScreenSelector = _useDataGridFullScree.fullScreenSelector, handleGridKeyDown = _useDataGridFullScree.handleGridKeyDown; /** * Expose certain internal APIs as ref to consumer */ useImperativeGridRef({ ref: ref, gridRef: gridRef, setIsFullScreen: setIsFullScreen, focusContext: focusContext, cellPopoverContext: cellPopoverContext, sortingContext: sortingContext, pagination: pagination, rowCount: rowCount, visibleColCount: visibleColCount }); /** * Classes */ var classes = classNames('euiDataGrid', fontSizesToClassMap[gridStyles.fontSize], bordersToClassMap[gridStyles.border], headerToClassMap[gridStyles.header], footerToClassMap[gridStyles.footer], rowHoverToClassMap[gridStyles.rowHover], cellPaddingsToClassMap[gridStyles.cellPadding], { 'euiDataGrid--stripes': gridStyles.stripes }, { 'euiDataGrid--stickyFooter': gridStyles.footer && gridStyles.stickyFooter }, { 'euiDataGrid--fullScreen': isFullScreen }, { 'euiDataGrid--noControls': !toolbarVisibility }, className); /** * Accessibility */ var gridId = useGeneratedHtmlId(); var interactiveCellId = useGeneratedHtmlId(); var ariaLabelledById = useGeneratedHtmlId(); var ariaPage = pagination ? pagination.pageIndex + 1 : 1; var ariaPageCount = pagination !== null && pagination !== void 0 && pagination.pageSize ? Math.ceil(rowCount / pagination.pageSize) : 1; var ariaLabel = useEuiI18n('euiDataGrid.ariaLabel', '{label}; Page {page} of {pageCount}.', { label: rest['aria-label'], page: ariaPage, pageCount: ariaPageCount }); var ariaLabelledBy = useEuiI18n('euiDataGrid.ariaLabelledBy', 'Page {page} of {pageCount}.', { page: ariaPage, pageCount: ariaPageCount }); // extract aria-label and/or aria-labelledby from `rest` var gridAriaProps = {}; if ('aria-label' in rest) { gridAriaProps['aria-label'] = pagination ? ariaLabel : rest['aria-label']; delete rest['aria-label']; } if ('aria-labelledby' in rest) { gridAriaProps['aria-labelledby'] = "".concat(rest['aria-labelledby'], " ").concat(pagination ? ariaLabelledById : ''); delete rest['aria-labelledby']; } return ___EmotionJSX(DataGridFocusContext.Provider, { value: focusContext }, ___EmotionJSX(DataGridCellPopoverContext.Provider, { value: cellPopoverContext }, ___EmotionJSX(DataGridSortingContext.Provider, { value: sortingContext }, ___EmotionJSX(EuiFocusTrap, { disabled: !isFullScreen, className: "euiDataGrid__focusWrap" }, ___EmotionJSX("div", _extends({ className: classes, onKeyDown: handleGridKeyDown, style: isFullScreen ? undefined : { width: width, height: height }, ref: setResizeRef }, rest), showToolbar && ___EmotionJSX(EuiDataGridToolbar, { gridWidth: gridWidth, minSizeForControls: minSizeForControls, toolbarVisibility: toolbarVisibility, isFullScreen: isFullScreen, fullScreenSelector: fullScreenSelector, keyboardShortcuts: keyboardShortcuts, displaySelector: displaySelector, columnSelector: columnSelector, columnSorting: columnSorting }), inMemory ? ___EmotionJSX(EuiDataGridInMemoryRenderer, { inMemory: inMemory, renderCellValue: renderCellValue, columns: columns, rowCount: inMemory.level === 'enhancements' ? // if `inMemory.level === enhancements` then we can only be sure the pagination's pageSize is available in memory (pagination === null || pagination === void 0 ? void 0 : pagination.pageSize) || rowCount : // otherwise, all of the data is present and usable rowCount, onCellRender: onCellRender }) : null, ___EmotionJSX("div", _extends({ // eslint-disable-line jsx-a11y/interactive-supports-focus ref: contentRef, onKeyDown: createKeyDownHandler({ gridElement: contentRef.current, visibleColCount: visibleColCount, visibleRowCount: visibleRowCount, visibleRowStartIndex: ((_gridItemsRendered$cu = gridItemsRendered.current) === null || _gridItemsRendered$cu === void 0 ? void 0 : _gridItemsRendered$cu.visibleRowStartIndex) || 0, rowCount: rowCount, pagination: pagination, hasFooter: !!renderFooterCellValue, headerIsInteractive: headerIsInteractive, focusContext: focusContext }), "data-test-subj": "euiDataGridBody", className: "euiDataGrid__content", role: "grid", "aria-rowcount": rowCount, id: gridId }, wrappingDivFocusProps, gridAriaProps), ___EmotionJSX(EuiDataGridBody, { columns: orderedVisibleColumns, visibleColCount: visibleColCount, leadingControlColumns: leadingControlColumns, schema: mergedSchema, trailingControlColumns: trailingControlColumns, setVisibleColumns: setVisibleColumns, switchColumnPos: switchColumnPos, onColumnResize: onColumnResize, headerIsInteractive: headerIsInteractive, handleHeaderMutation: handleHeaderMutation, schemaDetectors: allSchemaDetectors, pagination: pagination, renderCellValue: renderCellValue, renderCellPopover: renderCellPopover, renderFooterCellValue: renderFooterCellValue, rowCount: rowCount, visibleRows: visibleRows, interactiveCellId: interactiveCellId, rowHeightsOptions: rowHeightsOptions, virtualizationOptions: virtualizationOptions || {}, isFullScreen: isFullScreen, gridStyles: gridStyles, gridWidth: gridWidth, gridRef: gridRef, gridItemsRendered: gridItemsRendered, wrapperRef: contentRef, renderCustomGridBody: renderCustomGridBody })), pagination && props['aria-labelledby'] && ___EmotionJSX("p", { id: ariaLabelledById, hidden: true }, ariaLabelledBy), pagination && ___EmotionJSX(EuiDataGridPaginationRenderer, _extends({}, pagination, { rowCount: rowCount, controls: gridId, "aria-label": props['aria-label'] })), ___EmotionJSX("p", { id: interactiveCellId, hidden: true }, ___EmotionJSX(EuiI18n, { token: "euiDataGrid.screenReaderNotice", default: "Cell contains interactive content." }))))), cellPopover)); }); EuiDataGrid.propTypes = { className: PropTypes.string, "aria-label": PropTypes.string, "data-test-subj": PropTypes.string, css: PropTypes.any, /** * An array of #EuiDataGridColumn objects. Lists the columns available and the schema and settings tied to it. */ columns: PropTypes.arrayOf(PropTypes.shape({ /** * The unique identifier for this column */ id: PropTypes.string.isRequired, /** * A `ReactNode` used when rendering the column header. When providing complicated content, please make sure to utilize CSS to respect truncation as space allows. Check the docs example. */ display: PropTypes.node, /** * Display name as text for the column. * This can be used to display a readable column name in column hiding/sorting, where `display` won't be used. * This will also be used as a `title` attribute that will display on mouseover (useful if the display text is being truncated by the column width). * If not passed, `id` will be shown as the column name. */ displayAsText: PropTypes.string, /** * Optional props to pass to the column header cell */ displayHeaderCellProps: PropTypes.any, /** * Initial width (in pixels) of the column */ initialWidth: PropTypes.number, /** * Defaults to true, always true if cellActions are defined. Defines whether or not the column's cells can be expanded with a popup onClick / keydown. */ isExpandable: PropTypes.bool, /** * Whether this column's width can be changed by the user, defaults to true */ isResizable: PropTypes.bool, /** * Whether this column is sortable */ isSortable: PropTypes.bool, /** * Default sort direction of the column */ defaultSortDirection: PropTypes.oneOf(["asc", "desc"]), /** * A Schema to use for the column. * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection). * 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. */ schema: PropTypes.string, /** * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column. */ actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({ /** * Show/hide/configure the action to hide a column, provided EuiListGroupItemProps are merged */ showHide: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.shape({ className: PropTypes.string, "aria-label": PropTypes.string, "data-test-subj": PropTypes.string, css: PropTypes.any, /** * Size of the label text */ size: PropTypes.any, /** * By default the item will get the color `text`. * You can customize the color of the item by passing a color name. */ color: PropTypes.any, /** * Content to be displayed in the list item */ label: PropTypes.node.isRequired, /** * Apply styles indicating an item is active */ isActive: PropTypes.bool, /** * Apply styles indicating an item is disabled */ isDisabled: PropTypes.bool, /** * Make the list item label a link. * While permitted, `href` and `onClick` should not be used together in most cases and may create problems. */ href: PropTypes.string, target: PropTypes.string, rel: PropTypes.string, /** * Adds `EuiIcon` of `EuiIcon.type` */ iconType: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "error", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "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"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]), /** * Further extend the props applied to EuiIcon */ iconProps: PropTypes.any, /** * Custom node to pass as the icon. Cannot be used in conjunction * with `iconType` and `iconProps`. */ icon: PropTypes.element, /** * Display tooltip on list item */ showToolTip: PropTypes.bool, /** * An object of #EuiListGroupItemExtraAction props. * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required; * pass `alwaysShow` if you don't want the default behavior of only showing on hover */ extraAction: PropTypes.shape({ alwaysShow: PropTypes.bool, type: PropTypes.oneOf(["submit", "reset", "button"]), onClick: PropTypes.func, iconType: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "error", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "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"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired, /** * Any of the named color palette options. * **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.** */ color: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.oneOf(["ghost"])]), "aria-label": PropTypes.string, "aria-labelledby": PropTypes.string, isDisabled: PropTypes.bool, /** * Overall size of button. * Matches the sizes of other EuiButtons */ size: PropTypes.any, /** * Size of the icon only. * This will not affect the overall size of the button */ iconSize: PropTypes.any, /** * Applies the boolean state as the `aria-pressed` property to create a toggle button. * *Only use when the readable text does not change between states.* */ isSelected: PropTypes.bool, /** * Sets the display style for matching other EuiButton types. * `base` is equivalent to a typical EuiButton * `fill` is equivalent to a filled EuiButton * `empty` (default) is equivalent to an EuiButtonEmpty */ display: PropTypes.any, /** * Disables the button and changes the icon to a loading spinner */ isLoading: PropTypes.bool, className: PropTypes.string, "data-test-subj": PropTypes.string, css: PropTypes.any, buttonRef: PropTypes.any }), /** * Make the list item label a button. * While permitted, `href` and `onClick` should not be used together in most cases and may create problems. */ onClick: PropTypes.func, /** * Allow link text to wrap */ wrapText: PropTypes.bool, /** * Pass-through ref reference specifically for targeting * instances where the item content is rendered as a `button` */ buttonRef: PropTypes.any, /** * Text to be displayed in the tooltip when `showToolTip` is true. * By default the text will be same as the label text. */ toolTipText: PropTypes.string }).isRequired]), /** * Show/hide/configure the action that switches the actual column with the column to the left side, provided EuiListGroupItemProps are merged */ showMoveLeft: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.shape({ className: PropTypes.string, "aria-label": PropTypes.string, "data-test-subj": PropTypes.string, css: PropTypes.any, size: PropTypes.any, color: PropTypes.any, label: PropTypes.node.isRequired, isActive: PropTypes.bool, isDisabled: PropTypes.bool, href: PropTypes.string, target: PropTypes.string, rel: PropTypes.string, iconType: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "error", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "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"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]), iconProps: PropTypes.any, icon: PropTypes.element, showToolTip: PropTypes.bool, extraAction: PropTypes.shape({ alwaysShow: PropTypes.bool,