@elastic/eui 92.1.0 → 92.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/bottom_bar/bottom_bar.js +6 -2
- package/es/components/button/button.js +55 -1
- package/es/components/button/button_display/_button_display.js +1 -0
- 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/card/card.js +52 -1
- package/es/components/card/card_select/card_select.js +52 -1
- package/es/components/color_picker/index.js +0 -2
- package/es/components/comment_list/index.js +0 -1
- package/es/components/context_menu/context_menu_item.styles.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +94 -74
- package/es/components/datagrid/body/data_grid_body.js +6 -6
- package/es/components/datagrid/body/data_grid_body_custom.js +6 -6
- package/es/components/datagrid/body/data_grid_body_virtualized.js +6 -6
- package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/es/components/datagrid/body/header/data_grid_header_row.js +6 -6
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/es/components/datagrid/utils/in_memory.js +6 -6
- package/es/components/facet/facet_button.js +1 -0
- package/es/components/flyout/flyout_resizable.js +23 -5
- package/es/components/form/text_area/text_area.js +7 -3
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/list_group/list_group.js +1 -1
- package/es/components/list_group/list_group_item.js +1 -1
- 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 +2 -2
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/resizable_container/resizable_container.js +11 -5
- package/eui.d.ts +29 -19
- package/i18ntokens.json +66 -12
- package/lib/components/bottom_bar/bottom_bar.js +6 -2
- package/lib/components/button/button.js +58 -5
- package/lib/components/button/button_display/_button_display.js +1 -0
- 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/card/card.js +53 -2
- package/lib/components/card/card_select/card_select.js +53 -2
- package/lib/components/color_picker/index.js +0 -14
- package/lib/components/comment_list/index.js +0 -7
- package/lib/components/context_menu/context_menu_item.styles.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +94 -74
- package/lib/components/datagrid/body/data_grid_body.js +6 -6
- package/lib/components/datagrid/body/data_grid_body_custom.js +6 -6
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +6 -6
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/lib/components/datagrid/body/header/data_grid_header_row.js +6 -6
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/lib/components/datagrid/utils/in_memory.js +6 -6
- package/lib/components/facet/facet_button.js +1 -0
- package/lib/components/flyout/flyout_resizable.js +23 -5
- package/lib/components/form/text_area/text_area.js +7 -3
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/list_group/list_group.js +1 -1
- package/lib/components/list_group/list_group_item.js +1 -1
- 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 +2 -2
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/resizable_container/resizable_container.js +10 -4
- package/optimize/es/components/button/button.js +3 -0
- package/optimize/es/components/color_picker/index.js +0 -2
- package/optimize/es/components/comment_list/index.js +0 -1
- package/optimize/es/components/context_menu/context_menu_item.styles.js +1 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.js +82 -62
- package/optimize/es/components/flyout/flyout_resizable.js +23 -5
- package/optimize/es/components/form/text_area/text_area.js +7 -3
- package/optimize/es/components/resizable_container/resizable_container.js +11 -5
- package/optimize/lib/components/button/button.js +2 -0
- package/optimize/lib/components/color_picker/index.js +0 -14
- package/optimize/lib/components/comment_list/index.js +0 -7
- package/optimize/lib/components/context_menu/context_menu_item.styles.js +1 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.js +82 -62
- package/optimize/lib/components/flyout/flyout_resizable.js +23 -5
- package/optimize/lib/components/form/text_area/text_area.js +7 -3
- package/optimize/lib/components/resizable_container/resizable_container.js +10 -4
- package/package.json +1 -1
- package/test-env/components/bottom_bar/bottom_bar.js +6 -2
- package/test-env/components/button/button.js +58 -5
- package/test-env/components/button/button_display/_button_display.js +1 -0
- 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/card/card.js +53 -2
- package/test-env/components/card/card_select/card_select.js +53 -2
- package/test-env/components/color_picker/index.js +0 -14
- package/test-env/components/comment_list/index.js +0 -7
- package/test-env/components/context_menu/context_menu_item.styles.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +94 -74
- package/test-env/components/datagrid/body/data_grid_body.js +6 -6
- package/test-env/components/datagrid/body/data_grid_body_custom.js +6 -6
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +6 -6
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +6 -6
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- package/test-env/components/datagrid/utils/in_memory.js +6 -6
- package/test-env/components/facet/facet_button.js +1 -0
- package/test-env/components/flyout/flyout_resizable.js +23 -5
- package/test-env/components/form/text_area/text_area.js +7 -3
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/test-env/components/list_group/list_group.js +1 -1
- package/test-env/components/list_group/list_group_item.js +1 -1
- 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 +2 -2
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/resizable_container/resizable_container.js +10 -4
|
@@ -259,7 +259,7 @@ EuiListGroupItem.propTypes = {
|
|
|
259
259
|
*/
|
|
260
260
|
extraAction: PropTypes.shape({
|
|
261
261
|
alwaysShow: PropTypes.bool,
|
|
262
|
-
type: PropTypes.
|
|
262
|
+
type: PropTypes.any,
|
|
263
263
|
onClick: PropTypes.func,
|
|
264
264
|
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", "endpoint", "eql", "eraser", "error", "esqlVis", "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", "grabOmnidirectional", "gradient", "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", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "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", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "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", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired,
|
|
265
265
|
/**
|
|
@@ -39,7 +39,7 @@ export var EuiListGroupItemExtraAction = function EuiListGroupItemExtraAction(_r
|
|
|
39
39
|
};
|
|
40
40
|
EuiListGroupItemExtraAction.propTypes = {
|
|
41
41
|
alwaysShow: PropTypes.bool,
|
|
42
|
-
type: PropTypes.
|
|
42
|
+
type: PropTypes.any,
|
|
43
43
|
onClick: PropTypes.func,
|
|
44
44
|
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", "endpoint", "eql", "eraser", "error", "esqlVis", "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", "grabOmnidirectional", "gradient", "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", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "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", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "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", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired,
|
|
45
45
|
/**
|
|
@@ -169,7 +169,7 @@ EuiPinnableListGroup.propTypes = {
|
|
|
169
169
|
*/
|
|
170
170
|
extraAction: PropTypes.shape({
|
|
171
171
|
alwaysShow: PropTypes.bool,
|
|
172
|
-
type: PropTypes.
|
|
172
|
+
type: PropTypes.any,
|
|
173
173
|
onClick: PropTypes.func,
|
|
174
174
|
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", "endpoint", "eql", "eraser", "error", "esqlVis", "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", "grabOmnidirectional", "gradient", "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", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "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", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "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", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired,
|
|
175
175
|
/**
|
|
@@ -305,7 +305,7 @@ EuiPinnableListGroup.propTypes = {
|
|
|
305
305
|
*/
|
|
306
306
|
extraAction: PropTypes.shape({
|
|
307
307
|
alwaysShow: PropTypes.bool,
|
|
308
|
-
type: PropTypes.
|
|
308
|
+
type: PropTypes.any,
|
|
309
309
|
onClick: PropTypes.func,
|
|
310
310
|
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", "endpoint", "eql", "eraser", "error", "esqlVis", "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", "grabOmnidirectional", "gradient", "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", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "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", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "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", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired,
|
|
311
311
|
color: PropTypes.any,
|
|
@@ -108,7 +108,7 @@ EuiPaginationButton.propTypes = {
|
|
|
108
108
|
isSelected: PropTypes.bool,
|
|
109
109
|
target: PropTypes.string,
|
|
110
110
|
rel: PropTypes.string,
|
|
111
|
-
type: PropTypes.
|
|
111
|
+
type: PropTypes.any,
|
|
112
112
|
buttonRef: PropTypes.any,
|
|
113
113
|
/**
|
|
114
114
|
* Object of props passed to the `<span>` wrapping the button's content
|
|
@@ -25,7 +25,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
25
25
|
import React, { useEffect, useRef, useCallback } from 'react';
|
|
26
26
|
import PropTypes from "prop-types";
|
|
27
27
|
import classNames from 'classnames';
|
|
28
|
-
import { keys } from '../../services';
|
|
28
|
+
import { keys, useLatest } from '../../services';
|
|
29
29
|
import { useResizeObserver } from '../observer/resize_observer';
|
|
30
30
|
import { EuiResizableContainerContextProvider } from './context';
|
|
31
31
|
import { euiResizableButtonWithControls } from './resizable_button';
|
|
@@ -52,6 +52,10 @@ export var EuiResizableContainer = function EuiResizableContainer(_ref) {
|
|
|
52
52
|
onResizeStart = _ref.onResizeStart,
|
|
53
53
|
onResizeEnd = _ref.onResizeEnd,
|
|
54
54
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
55
|
+
// Note: It's important to memoize consumer callbacks to prevent our own functions
|
|
56
|
+
// from reinstantiating unnecessarily & causing window event listeners to call stale closures
|
|
57
|
+
var onResizeEndRef = useLatest(onResizeEnd);
|
|
58
|
+
var onResizeStartRef = useLatest(onResizeStart);
|
|
55
59
|
var containerRef = useRef(null);
|
|
56
60
|
var isHorizontal = direction === 'horizontal';
|
|
57
61
|
var classes = classNames('euiResizableContainer', className);
|
|
@@ -78,10 +82,12 @@ export var EuiResizableContainer = function EuiResizableContainer(_ref) {
|
|
|
78
82
|
}, [initialize, containerSize]);
|
|
79
83
|
var resizeContext = useRef({});
|
|
80
84
|
var resizeEnd = useCallback(function () {
|
|
81
|
-
|
|
85
|
+
var _onResizeEndRef$curre;
|
|
86
|
+
(_onResizeEndRef$curre = onResizeEndRef.current) === null || _onResizeEndRef$curre === void 0 ? void 0 : _onResizeEndRef$curre.call(onResizeEndRef);
|
|
82
87
|
resizeContext.current = {};
|
|
83
|
-
}, [
|
|
88
|
+
}, [onResizeEndRef]);
|
|
84
89
|
var resizeStart = useCallback(function (trigger, keyMoveDirection) {
|
|
90
|
+
var _onResizeStartRef$cur;
|
|
85
91
|
// If another resize starts while the previous one is still in progress
|
|
86
92
|
// (e.g. user presses opposite arrow to change direction while the first
|
|
87
93
|
// is still held down, or user presses an arrow while dragging with the
|
|
@@ -89,12 +95,12 @@ export var EuiResizableContainer = function EuiResizableContainer(_ref) {
|
|
|
89
95
|
if (resizeContext.current.trigger) {
|
|
90
96
|
resizeEnd();
|
|
91
97
|
}
|
|
92
|
-
|
|
98
|
+
(_onResizeStartRef$cur = onResizeStartRef.current) === null || _onResizeStartRef$cur === void 0 ? void 0 : _onResizeStartRef$cur.call(onResizeStartRef, trigger);
|
|
93
99
|
resizeContext.current = {
|
|
94
100
|
trigger: trigger,
|
|
95
101
|
keyMoveDirection: keyMoveDirection
|
|
96
102
|
};
|
|
97
|
-
}, [
|
|
103
|
+
}, [onResizeStartRef, resizeEnd]);
|
|
98
104
|
var onMouseDown = useCallback(function (event) {
|
|
99
105
|
var currentTarget = event.currentTarget;
|
|
100
106
|
var prevPanel = currentTarget.previousElementSibling;
|
package/eui.d.ts
CHANGED
|
@@ -3432,7 +3432,7 @@ declare module '@elastic/eui/src/services/security/href_validator' {
|
|
|
3432
3432
|
|
|
3433
3433
|
}
|
|
3434
3434
|
declare module '@elastic/eui/src/components/button/button_display/_button_display' {
|
|
3435
|
-
import React, { CSSProperties, ReactNode, Ref } from 'react';
|
|
3435
|
+
import React, { CSSProperties, ReactNode, Ref, ButtonHTMLAttributes } from 'react';
|
|
3436
3436
|
import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
|
|
3437
3437
|
import { EuiButtonDisplayContentProps, EuiButtonDisplayContentType } from '@elastic/eui/src/components/button/button_display/_button_display_content'; const SIZES: readonly ["xs", "s", "m"];
|
|
3438
3438
|
export type EuiButtonDisplaySizes = (typeof SIZES)[number];
|
|
@@ -3466,6 +3466,7 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
|
|
|
3466
3466
|
*/
|
|
3467
3467
|
contentProps?: CommonProps & EuiButtonDisplayContentType;
|
|
3468
3468
|
style?: CSSProperties;
|
|
3469
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
3469
3470
|
}
|
|
3470
3471
|
export type EuiButtonDisplayPropsForAnchor = PropsForAnchor<EuiButtonDisplayCommonProps, {
|
|
3471
3472
|
buttonRef?: Ref<HTMLAnchorElement>;
|
|
@@ -3529,7 +3530,7 @@ declare module '@elastic/eui/src/components/button/button' {
|
|
|
3529
3530
|
export type EuiButtonPropsForAnchor = PropsForAnchor<EuiButtonProps, {
|
|
3530
3531
|
buttonRef?: Ref<HTMLAnchorElement>;
|
|
3531
3532
|
}>;
|
|
3532
|
-
export type EuiButtonPropsForButton = PropsForButton<EuiButtonProps, {
|
|
3533
|
+
export type EuiButtonPropsForButton = EuiButtonDisplayCommonProps & PropsForButton<EuiButtonProps, {
|
|
3533
3534
|
buttonRef?: Ref<HTMLButtonElement>;
|
|
3534
3535
|
}>;
|
|
3535
3536
|
export type Props = ExclusiveUnion<EuiButtonPropsForAnchor, EuiButtonPropsForButton>;
|
|
@@ -3557,7 +3558,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty.sty
|
|
|
3557
3558
|
|
|
3558
3559
|
}
|
|
3559
3560
|
declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
|
|
3560
|
-
import { FunctionComponent, Ref } from 'react';
|
|
3561
|
+
import { FunctionComponent, Ref, ButtonHTMLAttributes } from 'react';
|
|
3561
3562
|
import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
|
|
3562
3563
|
import { EuiButtonDisplayContentProps, EuiButtonDisplayContentType } from '@elastic/eui/src/components/button/button_display/_button_display_content';
|
|
3563
3564
|
import { _EuiButtonColor } from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button';
|
|
@@ -3595,7 +3596,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
|
|
|
3595
3596
|
href?: string;
|
|
3596
3597
|
target?: string;
|
|
3597
3598
|
rel?: string;
|
|
3598
|
-
type?: '
|
|
3599
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
3599
3600
|
buttonRef?: Ref<HTMLButtonElement | HTMLAnchorElement>;
|
|
3600
3601
|
/**
|
|
3601
3602
|
* Object of props passed to the `<span>` wrapping the button's content
|
|
@@ -3627,7 +3628,7 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon.style
|
|
|
3627
3628
|
|
|
3628
3629
|
}
|
|
3629
3630
|
declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
|
|
3630
|
-
import { FunctionComponent, Ref } from 'react';
|
|
3631
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, FunctionComponent, Ref } from 'react';
|
|
3631
3632
|
import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
|
|
3632
3633
|
import { IconType, IconSize } from '@elastic/eui/src/components/icon';
|
|
3633
3634
|
import { _EuiButtonColor } from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button';
|
|
@@ -3671,12 +3672,12 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
|
|
|
3671
3672
|
isLoading?: boolean;
|
|
3672
3673
|
}
|
|
3673
3674
|
export type EuiButtonIconPropsForAnchor = {
|
|
3674
|
-
type?:
|
|
3675
|
+
type?: AnchorHTMLAttributes<HTMLAnchorElement>['type'];
|
|
3675
3676
|
} & PropsForAnchor<EuiButtonIconProps, {
|
|
3676
3677
|
buttonRef?: Ref<HTMLAnchorElement>;
|
|
3677
3678
|
}>;
|
|
3678
3679
|
export type EuiButtonIconPropsForButton = {
|
|
3679
|
-
type?: '
|
|
3680
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
3680
3681
|
} & PropsForButton<EuiButtonIconProps, {
|
|
3681
3682
|
buttonRef?: Ref<HTMLButtonElement>;
|
|
3682
3683
|
}>; type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
|
|
@@ -3821,7 +3822,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group.sty
|
|
|
3821
3822
|
|
|
3822
3823
|
}
|
|
3823
3824
|
declare module '@elastic/eui/src/components/button/button_group/button_group' {
|
|
3824
|
-
import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
|
|
3825
|
+
import { FunctionComponent, HTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
|
|
3825
3826
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
3826
3827
|
import { _EuiButtonColor } from '@elastic/eui/src/themes/amsterdam/global_styling/mixins';
|
|
3827
3828
|
import { EuiButtonDisplayContentProps } from '@elastic/eui/src/components/button/button_display/_button_display_content';
|
|
@@ -3842,7 +3843,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
|
|
|
3842
3843
|
/**
|
|
3843
3844
|
* The type of the underlying HTML button
|
|
3844
3845
|
*/
|
|
3845
|
-
type?: '
|
|
3846
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
3846
3847
|
}
|
|
3847
3848
|
export type EuiButtonGroupProps = CommonProps & {
|
|
3848
3849
|
/**
|
|
@@ -5263,13 +5264,13 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item.style
|
|
|
5263
5264
|
|
|
5264
5265
|
}
|
|
5265
5266
|
declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
|
|
5266
|
-
import React, { ButtonHTMLAttributes, FunctionComponent, ReactElement, ReactNode, Ref } from 'react';
|
|
5267
|
+
import React, { PropsWithChildren, ButtonHTMLAttributes, FunctionComponent, ReactElement, ReactNode, Ref } from 'react';
|
|
5267
5268
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5268
5269
|
import { EuiToolTipProps, ToolTipPositions } from '@elastic/eui/src/components/tool_tip';
|
|
5269
5270
|
export type EuiContextMenuItemIcon = ReactElement<any> | string | HTMLElement;
|
|
5270
5271
|
export type EuiContextMenuItemLayoutAlignment = 'center' | 'top' | 'bottom';
|
|
5271
5272
|
export const SIZES: readonly ["s", "m"];
|
|
5272
|
-
export interface EuiContextMenuItemProps extends CommonProps {
|
|
5273
|
+
export interface EuiContextMenuItemProps extends PropsWithChildren, CommonProps {
|
|
5273
5274
|
icon?: EuiContextMenuItemIcon;
|
|
5274
5275
|
hasPanel?: boolean;
|
|
5275
5276
|
disabled?: boolean;
|
|
@@ -9644,7 +9645,9 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
|
|
|
9644
9645
|
*/
|
|
9645
9646
|
bodyClassName?: string;
|
|
9646
9647
|
/**
|
|
9647
|
-
* Customize the screen reader heading that helps users find this control.
|
|
9648
|
+
* Customize the screen reader heading that helps users find this control.
|
|
9649
|
+
*
|
|
9650
|
+
* @default Page level controls
|
|
9648
9651
|
*/
|
|
9649
9652
|
landmarkHeading?: string;
|
|
9650
9653
|
/**
|
|
@@ -11384,6 +11387,10 @@ declare module '@elastic/eui/src/components/flyout/flyout_resizable' {
|
|
|
11384
11387
|
export type EuiFlyoutResizableProps = Omit<EuiFlyoutProps, 'maxWidth'> & {
|
|
11385
11388
|
maxWidth?: number;
|
|
11386
11389
|
minWidth?: number;
|
|
11390
|
+
/**
|
|
11391
|
+
* Optional callback that fires on user resize with the new flyout width
|
|
11392
|
+
*/
|
|
11393
|
+
onResize?: (width: number) => void;
|
|
11387
11394
|
};
|
|
11388
11395
|
export const EuiFlyoutResizable: React.ForwardRefExoticComponent<Omit<EuiFlyoutResizableProps, "ref"> & React.RefAttributes<unknown>>;
|
|
11389
11396
|
|
|
@@ -11414,7 +11421,7 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav.styl
|
|
|
11414
11421
|
declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav' {
|
|
11415
11422
|
import { FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
11416
11423
|
import { EuiFlyoutProps } from '@elastic/eui/src/components/flyout';
|
|
11417
|
-
export type EuiCollapsibleNavProps = Omit<EuiFlyoutProps
|
|
11424
|
+
export type EuiCollapsibleNavProps = Omit<EuiFlyoutProps<'nav' | 'div'>, 'type' | 'pushBreakpoint'> & {
|
|
11418
11425
|
/**
|
|
11419
11426
|
* ReactNode to render as this component's content
|
|
11420
11427
|
*/
|
|
@@ -12067,10 +12074,6 @@ declare module '@elastic/eui/src/components/color_picker' {
|
|
|
12067
12074
|
export { EuiColorPicker } from '@elastic/eui/src/components/color_picker/color_picker';
|
|
12068
12075
|
export type { EuiColorPickerSwatchProps } from '@elastic/eui/src/components/color_picker/color_picker_swatch';
|
|
12069
12076
|
export { EuiColorPickerSwatch } from '@elastic/eui/src/components/color_picker/color_picker_swatch';
|
|
12070
|
-
export type { EuiHueProps } from '@elastic/eui/src/components/color_picker/hue';
|
|
12071
|
-
export { EuiHue } from '@elastic/eui/src/components/color_picker/hue';
|
|
12072
|
-
export type { EuiSaturationProps } from '@elastic/eui/src/components/color_picker/saturation';
|
|
12073
|
-
export { EuiSaturation } from '@elastic/eui/src/components/color_picker/saturation';
|
|
12074
12077
|
export type { EuiColorPalettePickerProps, EuiColorPalettePickerPaletteProps, } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
12075
12078
|
export { EuiColorPalettePicker } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
12076
12079
|
export type { EuiColorPaletteDisplayProps } from '@elastic/eui/src/components/color_picker/color_palette_display';
|
|
@@ -12860,7 +12863,6 @@ declare module '@elastic/eui/src/components/comment_list' {
|
|
|
12860
12863
|
export { EuiComment } from '@elastic/eui/src/components/comment_list/comment';
|
|
12861
12864
|
export type { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
12862
12865
|
export { EuiCommentEvent } from '@elastic/eui/src/components/comment_list/comment_event';
|
|
12863
|
-
export { EuiCommentTimeline } from '@elastic/eui/src/components/comment_list/comment_timeline';
|
|
12864
12866
|
export type { EuiCommentListProps } from '@elastic/eui/src/components/comment_list/comment_list';
|
|
12865
12867
|
export { EuiCommentList } from '@elastic/eui/src/components/comment_list/comment_list';
|
|
12866
12868
|
|
|
@@ -13932,6 +13934,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
13932
13934
|
export interface EuiDataGridCellState {
|
|
13933
13935
|
cellProps: EuiDataGridSetCellProps;
|
|
13934
13936
|
isFocused: boolean;
|
|
13937
|
+
isHovered: boolean;
|
|
13935
13938
|
cellTextAlign: 'Left' | 'Right';
|
|
13936
13939
|
}
|
|
13937
13940
|
export type EuiDataGridCellValueProps = Omit<EuiDataGridCellProps, 'width' | 'interactiveCellId' | 'popoverContext' | 'rowManager'>;
|
|
@@ -14745,7 +14748,7 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell_po
|
|
|
14745
14748
|
|
|
14746
14749
|
}
|
|
14747
14750
|
declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell' {
|
|
14748
|
-
import React, { Component, ContextType } from 'react';
|
|
14751
|
+
import React, { Component, ContextType, KeyboardEvent } from 'react';
|
|
14749
14752
|
import { DataGridFocusContext } from '@elastic/eui/src/components/datagrid/utils/focus';
|
|
14750
14753
|
import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
14751
14754
|
export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
|
|
@@ -14774,6 +14777,10 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell' {
|
|
|
14774
14777
|
isExpandable: () => boolean;
|
|
14775
14778
|
isPopoverOpen: () => boolean;
|
|
14776
14779
|
handleCellPopover: () => void;
|
|
14780
|
+
handleCellKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
14781
|
+
handleCellExpansionClick: () => void;
|
|
14782
|
+
onMouseEnter: () => void;
|
|
14783
|
+
onMouseLeave: () => void;
|
|
14777
14784
|
render(): React.JSX.Element;
|
|
14778
14785
|
}
|
|
14779
14786
|
|
|
@@ -28508,6 +28515,9 @@ declare module '@elastic/eui' {
|
|
|
28508
28515
|
"euiComboBoxOptionsList.noAvailableOptions": any;
|
|
28509
28516
|
"euiComboBoxOptionsList.allOptionsSelected": any;
|
|
28510
28517
|
"euiComboBox.listboxAriaLabel": any;
|
|
28518
|
+
"euiContext.stories.name": any;
|
|
28519
|
+
"euiContext.stories.greeting": any;
|
|
28520
|
+
"euiContext.stories.guestNo": any;
|
|
28511
28521
|
"euiDataGridCellActions.expandButtonTitle": any;
|
|
28512
28522
|
"euiDataGridCell.position": any;
|
|
28513
28523
|
"euiDataGridCell.expansionEnterPrompt": any;
|
package/i18ntokens.json
CHANGED
|
@@ -221,14 +221,14 @@
|
|
|
221
221
|
"highlighting": "string",
|
|
222
222
|
"loc": {
|
|
223
223
|
"start": {
|
|
224
|
-
"line":
|
|
224
|
+
"line": 183,
|
|
225
225
|
"column": 8,
|
|
226
|
-
"index":
|
|
226
|
+
"index": 5301
|
|
227
227
|
},
|
|
228
228
|
"end": {
|
|
229
|
-
"line":
|
|
229
|
+
"line": 186,
|
|
230
230
|
"column": 9,
|
|
231
|
-
"index":
|
|
231
|
+
"index": 5410
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
"filepath": "src/components/bottom_bar/bottom_bar.tsx"
|
|
@@ -239,14 +239,14 @@
|
|
|
239
239
|
"highlighting": "string",
|
|
240
240
|
"loc": {
|
|
241
241
|
"start": {
|
|
242
|
-
"line":
|
|
242
|
+
"line": 213,
|
|
243
243
|
"column": 14,
|
|
244
|
-
"index":
|
|
244
|
+
"index": 6351
|
|
245
245
|
},
|
|
246
246
|
"end": {
|
|
247
|
-
"line":
|
|
247
|
+
"line": 217,
|
|
248
248
|
"column": 16,
|
|
249
|
-
"index":
|
|
249
|
+
"index": 6624
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
"filepath": "src/components/bottom_bar/bottom_bar.tsx"
|
|
@@ -257,14 +257,14 @@
|
|
|
257
257
|
"highlighting": "string",
|
|
258
258
|
"loc": {
|
|
259
259
|
"start": {
|
|
260
|
-
"line":
|
|
260
|
+
"line": 219,
|
|
261
261
|
"column": 14,
|
|
262
|
-
"index":
|
|
262
|
+
"index": 6657
|
|
263
263
|
},
|
|
264
264
|
"end": {
|
|
265
|
-
"line":
|
|
265
|
+
"line": 222,
|
|
266
266
|
"column": 16,
|
|
267
|
-
"index":
|
|
267
|
+
"index": 6854
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
"filepath": "src/components/bottom_bar/bottom_bar.tsx"
|
|
@@ -917,6 +917,60 @@
|
|
|
917
917
|
},
|
|
918
918
|
"filepath": "src/components/combo_box/combo_box.tsx"
|
|
919
919
|
},
|
|
920
|
+
{
|
|
921
|
+
"token": "euiContext.stories.name",
|
|
922
|
+
"defString": "John Doe",
|
|
923
|
+
"highlighting": "string",
|
|
924
|
+
"loc": {
|
|
925
|
+
"start": {
|
|
926
|
+
"line": 34,
|
|
927
|
+
"column": 15,
|
|
928
|
+
"index": 1005
|
|
929
|
+
},
|
|
930
|
+
"end": {
|
|
931
|
+
"line": 34,
|
|
932
|
+
"column": 64,
|
|
933
|
+
"index": 1054
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"filepath": "src/components/context/context.stories.tsx"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"token": "euiContext.stories.greeting",
|
|
940
|
+
"defString": "Welcome, {name}!",
|
|
941
|
+
"highlighting": "string",
|
|
942
|
+
"loc": {
|
|
943
|
+
"start": {
|
|
944
|
+
"line": 39,
|
|
945
|
+
"column": 10,
|
|
946
|
+
"index": 1152
|
|
947
|
+
},
|
|
948
|
+
"end": {
|
|
949
|
+
"line": 45,
|
|
950
|
+
"column": 12,
|
|
951
|
+
"index": 1342
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"filepath": "src/components/context/context.stories.tsx"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"token": "euiContext.stories.guestNo",
|
|
958
|
+
"defString": "You are guest #",
|
|
959
|
+
"highlighting": "string",
|
|
960
|
+
"loc": {
|
|
961
|
+
"start": {
|
|
962
|
+
"line": 47,
|
|
963
|
+
"column": 12,
|
|
964
|
+
"index": 1369
|
|
965
|
+
},
|
|
966
|
+
"end": {
|
|
967
|
+
"line": 50,
|
|
968
|
+
"column": 14,
|
|
969
|
+
"index": 1481
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"filepath": "src/components/context/context.stories.tsx"
|
|
973
|
+
},
|
|
920
974
|
{
|
|
921
975
|
"token": "euiDataGridCellActions.expandButtonTitle",
|
|
922
976
|
"defString": "Click or hit enter to interact with cell content",
|
|
@@ -187,7 +187,9 @@ _EuiBottomBar.propTypes = {
|
|
|
187
187
|
*/
|
|
188
188
|
bodyClassName: _propTypes.default.string,
|
|
189
189
|
/**
|
|
190
|
-
* Customize the screen reader heading that helps users find this control.
|
|
190
|
+
* Customize the screen reader heading that helps users find this control.
|
|
191
|
+
*
|
|
192
|
+
* @default Page level controls
|
|
191
193
|
*/
|
|
192
194
|
landmarkHeading: _propTypes.default.string,
|
|
193
195
|
/**
|
|
@@ -260,7 +262,9 @@ EuiBottomBar.propTypes = {
|
|
|
260
262
|
*/
|
|
261
263
|
bodyClassName: _propTypes.default.string,
|
|
262
264
|
/**
|
|
263
|
-
* Customize the screen reader heading that helps users find this control.
|
|
265
|
+
* Customize the screen reader heading that helps users find this control.
|
|
266
|
+
*
|
|
267
|
+
* @default Page level controls
|
|
264
268
|
*/
|
|
265
269
|
landmarkHeading: _propTypes.default.string,
|
|
266
270
|
/**
|
|
@@ -25,6 +25,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
25
25
|
var COLORS = _button.BUTTON_COLORS;
|
|
26
26
|
exports.COLORS = COLORS;
|
|
27
27
|
var SIZES = ['s', 'm'];
|
|
28
|
+
|
|
29
|
+
// For some reason, Storybook doesn't parse `EuiButtonDisplayCommonProps` unless we include it here
|
|
28
30
|
exports.SIZES = SIZES;
|
|
29
31
|
/**
|
|
30
32
|
* EuiButton is largely responsible for providing relevant props
|
|
@@ -87,9 +89,60 @@ EuiButton.propTypes = {
|
|
|
87
89
|
* `disabled` is also allowed
|
|
88
90
|
*/
|
|
89
91
|
isDisabled: _propTypes.default.bool,
|
|
90
|
-
className: _propTypes.default.string,
|
|
91
|
-
"aria-label": _propTypes.default.string,
|
|
92
|
-
"data-test-subj": _propTypes.default.string,
|
|
93
|
-
css: _propTypes.default.any,
|
|
94
|
-
buttonRef: _propTypes.default.any
|
|
92
|
+
className: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.string])]),
|
|
93
|
+
"aria-label": _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.string])]),
|
|
94
|
+
"data-test-subj": _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.string])]),
|
|
95
|
+
css: _propTypes.default.oneOfType([_propTypes.default.any, _propTypes.default.oneOfType([_propTypes.default.any, _propTypes.default.any])]),
|
|
96
|
+
buttonRef: _propTypes.default.any,
|
|
97
|
+
element: _propTypes.default.oneOf(["a", "button", "span"]),
|
|
98
|
+
/**
|
|
99
|
+
* Applies the boolean state as the `aria-pressed` property to create a toggle button.
|
|
100
|
+
* *Only use when the readable text does not change between states.*
|
|
101
|
+
*/
|
|
102
|
+
isSelected: _propTypes.default.bool,
|
|
103
|
+
/**
|
|
104
|
+
* Extends the button to 100% width
|
|
105
|
+
*/
|
|
106
|
+
fullWidth: _propTypes.default.bool,
|
|
107
|
+
/**
|
|
108
|
+
* Override the default minimum width
|
|
109
|
+
*/
|
|
110
|
+
minWidth: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf([false])]),
|
|
111
|
+
/**
|
|
112
|
+
* Force disables the button and changes the icon to a loading spinner
|
|
113
|
+
*/
|
|
114
|
+
isLoading: _propTypes.default.bool,
|
|
115
|
+
/**
|
|
116
|
+
* Object of props passed to the <span/> wrapping the button's content
|
|
117
|
+
*/
|
|
118
|
+
contentProps: _propTypes.default.shape({
|
|
119
|
+
className: _propTypes.default.string,
|
|
120
|
+
"aria-label": _propTypes.default.string,
|
|
121
|
+
"data-test-subj": _propTypes.default.string,
|
|
122
|
+
css: _propTypes.default.any
|
|
123
|
+
}),
|
|
124
|
+
style: _propTypes.default.any,
|
|
125
|
+
type: _propTypes.default.any,
|
|
126
|
+
/**
|
|
127
|
+
* Any `type` accepted by EuiIcon
|
|
128
|
+
*/
|
|
129
|
+
iconType: _propTypes.default.oneOfType([_propTypes.default.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", "endpoint", "eql", "eraser", "error", "esqlVis", "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", "grabOmnidirectional", "gradient", "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", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "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", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "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", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
|
|
130
|
+
/**
|
|
131
|
+
* Can only be one side `left` or `right`
|
|
132
|
+
*/
|
|
133
|
+
iconSide: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf([undefined])]),
|
|
134
|
+
/**
|
|
135
|
+
* Object of props passed to the `<span>` wrapping the content's text/children only (not icon)
|
|
136
|
+
*
|
|
137
|
+
* This span wrapper can be removed by passing `textProps={false}`.
|
|
138
|
+
*/
|
|
139
|
+
textProps: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
140
|
+
className: _propTypes.default.string,
|
|
141
|
+
"aria-label": _propTypes.default.string,
|
|
142
|
+
"data-test-subj": _propTypes.default.string,
|
|
143
|
+
css: _propTypes.default.any,
|
|
144
|
+
ref: _propTypes.default.any,
|
|
145
|
+
"data-text": _propTypes.default.string
|
|
146
|
+
}).isRequired, _propTypes.default.oneOf([false])]),
|
|
147
|
+
iconSize: _propTypes.default.any
|
|
95
148
|
};
|