@elastic/eui 94.3.0 → 94.4.1
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/README.md +3 -0
- package/dist/eui_charts_theme.js +1519 -1519
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +41 -497
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +41 -497
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +5 -1
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +25 -11
- package/es/components/form/form.styles.js +26 -3
- package/es/components/markdown_editor/markdown_editor.js +12 -8
- package/es/components/markdown_editor/markdown_editor.styles.js +29 -0
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +22 -9
- package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +33 -0
- package/es/components/markdown_editor/markdown_editor_footer.js +11 -2
- package/es/components/markdown_editor/markdown_editor_footer.styles.js +26 -0
- package/es/components/markdown_editor/markdown_editor_text_area.js +6 -1
- package/es/components/markdown_editor/markdown_editor_text_area.styles.js +22 -0
- package/es/components/markdown_editor/markdown_editor_toolbar.js +10 -2
- package/es/components/markdown_editor/markdown_editor_toolbar.styles.js +21 -0
- package/es/components/markdown_editor/markdown_format.js +9 -6
- package/es/components/markdown_editor/markdown_format.styles.js +25 -10
- package/es/components/markdown_editor/plugins/markdown_checkbox/renderer.js +9 -3
- package/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +13 -2
- package/es/components/selectable/selectable.js +10 -2
- package/es/components/selectable/selectable_list/selectable_list.js +95 -42
- package/es/components/selectable/selectable_list/selectable_list_item.js +234 -204
- package/es/components/selectable/selectable_option.js +9 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +10 -2
- package/es/components/text/text_color.js +4 -1
- package/es/components/toast/global_toast_list_item.js +5 -5
- package/eui.d.ts +332 -234
- package/i18ntokens.json +124 -106
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +5 -1
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +25 -11
- package/lib/components/form/form.styles.js +30 -4
- package/lib/components/markdown_editor/markdown_editor.js +12 -8
- package/lib/components/markdown_editor/markdown_editor.styles.js +37 -0
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +20 -8
- package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +38 -0
- package/lib/components/markdown_editor/markdown_editor_footer.js +10 -1
- package/lib/components/markdown_editor/markdown_editor_footer.styles.js +33 -0
- package/lib/components/markdown_editor/markdown_editor_text_area.js +6 -1
- package/lib/components/markdown_editor/markdown_editor_text_area.styles.js +29 -0
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +10 -2
- package/lib/components/markdown_editor/markdown_editor_toolbar.styles.js +28 -0
- package/lib/components/markdown_editor/markdown_format.js +8 -5
- package/lib/components/markdown_editor/markdown_format.styles.js +25 -10
- package/lib/components/markdown_editor/plugins/markdown_checkbox/renderer.js +9 -4
- package/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +19 -10
- package/lib/components/selectable/selectable.js +10 -2
- package/lib/components/selectable/selectable_list/selectable_list.js +95 -42
- package/lib/components/selectable/selectable_list/selectable_list_item.js +241 -210
- package/lib/components/selectable/selectable_option.js +12 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +10 -2
- package/lib/components/text/text_color.js +6 -2
- package/lib/components/toast/global_toast_list_item.js +5 -5
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +5 -1
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +25 -11
- package/optimize/es/components/form/form.styles.js +26 -3
- package/optimize/es/components/markdown_editor/markdown_editor.js +12 -8
- package/optimize/es/components/markdown_editor/markdown_editor.styles.js +29 -0
- package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.js +19 -9
- package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +33 -0
- package/optimize/es/components/markdown_editor/markdown_editor_footer.js +11 -2
- package/optimize/es/components/markdown_editor/markdown_editor_footer.styles.js +26 -0
- package/optimize/es/components/markdown_editor/markdown_editor_text_area.js +6 -1
- package/optimize/es/components/markdown_editor/markdown_editor_text_area.styles.js +22 -0
- package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +10 -2
- package/optimize/es/components/markdown_editor/markdown_editor_toolbar.styles.js +21 -0
- package/optimize/es/components/markdown_editor/markdown_format.js +9 -6
- package/optimize/es/components/markdown_editor/markdown_format.styles.js +25 -10
- package/optimize/es/components/markdown_editor/plugins/markdown_checkbox/renderer.js +9 -3
- package/optimize/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +13 -2
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +81 -38
- package/optimize/es/components/selectable/selectable_list/selectable_list_item.js +217 -198
- package/optimize/es/components/selectable/selectable_option.js +9 -1
- package/optimize/es/components/text/text_color.js +4 -1
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +5 -1
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +25 -11
- package/optimize/lib/components/form/form.styles.js +30 -4
- package/optimize/lib/components/markdown_editor/markdown_editor.js +12 -8
- package/optimize/lib/components/markdown_editor/markdown_editor.styles.js +37 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.js +24 -16
- package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +38 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +10 -1
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.styles.js +33 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_text_area.js +6 -1
- package/optimize/lib/components/markdown_editor/markdown_editor_text_area.styles.js +29 -0
- package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +10 -2
- package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.styles.js +28 -0
- package/optimize/lib/components/markdown_editor/markdown_format.js +8 -5
- package/optimize/lib/components/markdown_editor/markdown_format.styles.js +25 -10
- package/optimize/lib/components/markdown_editor/plugins/markdown_checkbox/renderer.js +9 -4
- package/optimize/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +19 -10
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +81 -38
- package/optimize/lib/components/selectable/selectable_list/selectable_list_item.js +224 -204
- package/optimize/lib/components/selectable/selectable_option.js +12 -1
- package/optimize/lib/components/text/text_color.js +6 -2
- package/package.json +5 -12
- package/src/components/date_picker/react-datepicker/LICENSE +21 -0
- package/src/components/date_picker/react-datepicker/README.md +168 -0
- package/src/components/date_picker/super_date_picker/date_popover/_absolute_tab.scss +13 -18
- package/src/components/form/checkbox/_checkbox.scss +23 -6
- package/src/components/index.scss +0 -1
- package/src/components/selectable/selectable_list/_selectable_list_item.scss +4 -0
- package/src/components/selectable/selectable_templates/_selectable_template_sitewide_option.scss +5 -1
- package/src/services/theme/README.md +153 -0
- package/src/test/README.md +44 -0
- package/src/themes/amsterdam/overrides/_index.scss +0 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +5 -1
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +25 -11
- package/test-env/components/form/form.styles.js +30 -4
- package/test-env/components/markdown_editor/markdown_editor.js +12 -8
- package/test-env/components/markdown_editor/markdown_editor.styles.js +37 -0
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +24 -16
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +38 -0
- package/test-env/components/markdown_editor/markdown_editor_footer.js +10 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.styles.js +33 -0
- package/test-env/components/markdown_editor/markdown_editor_text_area.js +6 -1
- package/test-env/components/markdown_editor/markdown_editor_text_area.styles.js +29 -0
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +10 -2
- package/test-env/components/markdown_editor/markdown_editor_toolbar.styles.js +28 -0
- package/test-env/components/markdown_editor/markdown_format.js +8 -5
- package/test-env/components/markdown_editor/markdown_format.styles.js +25 -10
- package/test-env/components/markdown_editor/plugins/markdown_checkbox/renderer.js +9 -4
- package/test-env/components/markdown_editor/plugins/markdown_tooltip/renderer.js +19 -10
- package/test-env/components/selectable/selectable.js +10 -2
- package/test-env/components/selectable/selectable_list/selectable_list.js +95 -42
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +233 -205
- package/test-env/components/selectable/selectable_option.js +12 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +10 -2
- package/test-env/components/text/text_color.js +6 -2
- package/test-env/components/toast/global_toast_list_item.js +5 -5
- package/src/components/markdown_editor/_index.scss +0 -9
- package/src/components/markdown_editor/_markdown_editor.scss +0 -22
- package/src/components/markdown_editor/_markdown_editor_drop_zone.scss +0 -58
- package/src/components/markdown_editor/_markdown_editor_footer.scss +0 -42
- package/src/components/markdown_editor/_markdown_editor_preview.scss +0 -20
- package/src/components/markdown_editor/_markdown_editor_text_area.scss +0 -43
- package/src/components/markdown_editor/_markdown_editor_toolbar.scss +0 -29
- package/src/components/markdown_editor/_markdown_format.scss +0 -78
- package/src/components/markdown_editor/_variables.scss +0 -1
- package/src/components/markdown_editor/plugins/markdown_tooltip.scss +0 -4
- package/src/themes/amsterdam/overrides/_markdown_editor.scss +0 -18
package/eui.d.ts
CHANGED
|
@@ -1751,6 +1751,7 @@ declare module '@elastic/eui/src/components/text/text_color' {
|
|
|
1751
1751
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
1752
1752
|
export const COLORS: readonly ["default", "subdued", "success", "accent", "danger", "warning", "ghost", "inherit"];
|
|
1753
1753
|
export type TextColor = (typeof COLORS)[number];
|
|
1754
|
+
export const _isNamedColor: (color: any) => color is "inherit" | "default" | "subdued" | "accent" | "success" | "warning" | "danger" | "ghost";
|
|
1754
1755
|
export type EuiTextColorProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement> & HTMLAttributes<HTMLSpanElement>, 'color'> & {
|
|
1755
1756
|
/**
|
|
1756
1757
|
* Any of our named colors or a `hex`, `rgb` or `rgba` value.
|
|
@@ -2754,7 +2755,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2754
2755
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2755
2756
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2756
2757
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2757
|
-
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "filter" | "image" | "stop" | "key" | "temperature" | "color" | "email" | "list" | "user" | "alert" | "document" | "grid" | "copy" | "scale" | "wordWrap" | "grab" | "help" | "invert" | "spaces" | "dot" | "warning" | "error" | "download" | "push" | "cut" | "pause" | "play" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "empty" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "
|
|
2758
|
+
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "filter" | "image" | "stop" | "key" | "temperature" | "color" | "email" | "list" | "home" | "mobile" | "user" | "alert" | "document" | "grid" | "copy" | "scale" | "wordWrap" | "grab" | "help" | "invert" | "spaces" | "dot" | "warning" | "error" | "download" | "push" | "cut" | "pause" | "play" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "empty" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warningFilled" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "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" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector")[];
|
|
2758
2759
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2759
2760
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2760
2761
|
export type IconColor = string | NamedColor;
|
|
@@ -2797,7 +2798,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2797
2798
|
isLoading: boolean;
|
|
2798
2799
|
neededLoading: boolean;
|
|
2799
2800
|
}
|
|
2800
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "filter" | "image" | "stop" | "key" | "temperature" | "color" | "email" | "list" | "user" | "alert" | "document" | "grid" | "copy" | "scale" | "wordWrap" | "grab" | "help" | "invert" | "spaces" | "dot" | "warning" | "error" | "download" | "push" | "cut" | "pause" | "play" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "empty" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "
|
|
2801
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "filter" | "image" | "stop" | "key" | "temperature" | "color" | "email" | "list" | "home" | "mobile" | "user" | "alert" | "document" | "grid" | "copy" | "scale" | "wordWrap" | "grab" | "help" | "invert" | "spaces" | "dot" | "warning" | "error" | "download" | "push" | "cut" | "pause" | "play" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "empty" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warningFilled" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "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" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector" | undefined) => void;
|
|
2801
2802
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
2802
2803
|
[iconType: string]: React.ComponentType<{}>;
|
|
2803
2804
|
}) => void;
|
|
@@ -4894,6 +4895,7 @@ declare module '@elastic/eui/src/components/pagination' {
|
|
|
4894
4895
|
declare module '@elastic/eui/src/components/form/form.styles' {
|
|
4895
4896
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
4896
4897
|
export const euiFormVariables: (euiThemeContext: UseEuiTheme) => {
|
|
4898
|
+
animationTiming: string;
|
|
4897
4899
|
controlLayoutGroupInputHeight: string;
|
|
4898
4900
|
controlLayoutGroupInputCompressedHeight: string;
|
|
4899
4901
|
controlLayoutGroupInputCompressedBorderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
@@ -4934,6 +4936,9 @@ declare module '@elastic/eui/src/components/form/form.styles' {
|
|
|
4934
4936
|
type?: 'round' | 'square';
|
|
4935
4937
|
size?: string;
|
|
4936
4938
|
}) => string;
|
|
4939
|
+
export const euiFormControlText: (euiThemeContext: UseEuiTheme) => string;
|
|
4940
|
+
export const euiFormControlDefaultShadow: (euiThemeContext: UseEuiTheme) => string;
|
|
4941
|
+
export const euiFormControlFocusStyles: ({ euiTheme, colorMode, }: UseEuiTheme) => string;
|
|
4937
4942
|
|
|
4938
4943
|
}
|
|
4939
4944
|
declare module '@elastic/eui/src/services/hooks/useCombinedRefs' {
|
|
@@ -11136,7 +11141,7 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
11136
11141
|
as?: T;
|
|
11137
11142
|
} & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
|
|
11138
11143
|
export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
|
|
11139
|
-
export const EuiFlyout: <T extends React.ElementType<any> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
|
|
11144
|
+
export const EuiFlyout: <T extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
|
|
11140
11145
|
export {};
|
|
11141
11146
|
|
|
11142
11147
|
}
|
|
@@ -18727,6 +18732,161 @@ declare module '@elastic/eui/src/components/key_pad_menu' {
|
|
|
18727
18732
|
export type { EuiKeyPadMenuItemProps } from '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item';
|
|
18728
18733
|
export { EuiKeyPadMenuItem } from '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item';
|
|
18729
18734
|
|
|
18735
|
+
}
|
|
18736
|
+
declare module '@elastic/eui/src/components/modal/modal.styles' {
|
|
18737
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18738
|
+
export const euiModalStyles: (euiThemeContext: UseEuiTheme) => {
|
|
18739
|
+
euiModal: import("@emotion/utils").SerializedStyles;
|
|
18740
|
+
defaultMaxWidth: import("@emotion/utils").SerializedStyles;
|
|
18741
|
+
confirmation: import("@emotion/utils").SerializedStyles;
|
|
18742
|
+
euiModal__closeIcon: import("@emotion/utils").SerializedStyles;
|
|
18743
|
+
};
|
|
18744
|
+
|
|
18745
|
+
}
|
|
18746
|
+
declare module '@elastic/eui/src/components/modal/modal' {
|
|
18747
|
+
import React, { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
|
|
18748
|
+
export interface EuiModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
18749
|
+
className?: string;
|
|
18750
|
+
/**
|
|
18751
|
+
* ReactNode to render as this component's content
|
|
18752
|
+
*/
|
|
18753
|
+
children: ReactNode;
|
|
18754
|
+
onClose: (event?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement>) => void;
|
|
18755
|
+
/**
|
|
18756
|
+
* Sets the max-width of the modal.
|
|
18757
|
+
* Set to `true` to use the default (`euiBreakpoints 'm'`),
|
|
18758
|
+
* set to `false` to not restrict the width,
|
|
18759
|
+
* set to a number for a custom width in px,
|
|
18760
|
+
* set to a string for a custom width in custom measurement.
|
|
18761
|
+
*/
|
|
18762
|
+
maxWidth?: boolean | number | string;
|
|
18763
|
+
/**
|
|
18764
|
+
* Specifies what element should initially have focus.
|
|
18765
|
+
* Can be a DOM node, or a selector string (which will be passed to document.querySelector() to find the DOM node), or a function that returns a DOM node.
|
|
18766
|
+
*/
|
|
18767
|
+
initialFocus?: HTMLElement | (() => HTMLElement) | string;
|
|
18768
|
+
/**
|
|
18769
|
+
* Identifies a modal dialog to screen readers. Modal dialogs that confirm destructive actions
|
|
18770
|
+
* or need a user's attention should use "alertdialog".
|
|
18771
|
+
*/
|
|
18772
|
+
role?: 'dialog' | 'alertdialog';
|
|
18773
|
+
}
|
|
18774
|
+
export const EuiModal: FunctionComponent<EuiModalProps>;
|
|
18775
|
+
|
|
18776
|
+
}
|
|
18777
|
+
declare module '@elastic/eui/src/components/modal/modal_footer.styles' {
|
|
18778
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18779
|
+
export const euiModalFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
18780
|
+
euiModalFooter: import("@emotion/utils").SerializedStyles;
|
|
18781
|
+
};
|
|
18782
|
+
|
|
18783
|
+
}
|
|
18784
|
+
declare module '@elastic/eui/src/components/modal/modal_footer' {
|
|
18785
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
18786
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18787
|
+
export type EuiModalFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
18788
|
+
export const EuiModalFooter: EuiModalFooterProps;
|
|
18789
|
+
|
|
18790
|
+
}
|
|
18791
|
+
declare module '@elastic/eui/src/components/modal/modal_header.styles' {
|
|
18792
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18793
|
+
export const euiModalHeaderStyles: (euiThemeContext: UseEuiTheme) => {
|
|
18794
|
+
euiModalHeader: import("@emotion/utils").SerializedStyles;
|
|
18795
|
+
};
|
|
18796
|
+
|
|
18797
|
+
}
|
|
18798
|
+
declare module '@elastic/eui/src/components/modal/modal_header' {
|
|
18799
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
18800
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18801
|
+
export type EuiModalHeaderProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
18802
|
+
export const EuiModalHeader: EuiModalHeaderProps;
|
|
18803
|
+
|
|
18804
|
+
}
|
|
18805
|
+
declare module '@elastic/eui/src/components/modal/modal_header_title' {
|
|
18806
|
+
import { FunctionComponent, HTMLAttributes, ElementType } from 'react';
|
|
18807
|
+
import { EuiTitleProps } from '@elastic/eui/src/components/title';
|
|
18808
|
+
export type EuiModalHeaderTitleProps = FunctionComponent<Omit<EuiTitleProps, 'children'> & HTMLAttributes<HTMLHeadingElement> & {
|
|
18809
|
+
/**
|
|
18810
|
+
* The tag to render. Can be changed to a lower heading
|
|
18811
|
+
* level like `h2` or a container `div`.
|
|
18812
|
+
* @default h1
|
|
18813
|
+
*/
|
|
18814
|
+
component?: ElementType;
|
|
18815
|
+
}>;
|
|
18816
|
+
export const EuiModalHeaderTitle: EuiModalHeaderTitleProps;
|
|
18817
|
+
|
|
18818
|
+
}
|
|
18819
|
+
declare module '@elastic/eui/src/components/modal/modal_body.styles' {
|
|
18820
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
18821
|
+
export const euiModalBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
18822
|
+
euiModalBody: import("@emotion/utils").SerializedStyles;
|
|
18823
|
+
euiModalBody__overflow: import("@emotion/utils").SerializedStyles;
|
|
18824
|
+
};
|
|
18825
|
+
|
|
18826
|
+
}
|
|
18827
|
+
declare module '@elastic/eui/src/components/modal/modal_body' {
|
|
18828
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
18829
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18830
|
+
export type EuiModalBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
18831
|
+
export const EuiModalBody: EuiModalBodyProps;
|
|
18832
|
+
|
|
18833
|
+
}
|
|
18834
|
+
declare module '@elastic/eui/src/components/modal/confirm_modal' {
|
|
18835
|
+
import React, { FunctionComponent, ComponentProps, ReactNode } from 'react';
|
|
18836
|
+
import { EuiModalProps } from '@elastic/eui/src/components/modal/modal';
|
|
18837
|
+
import { EuiModalHeaderTitleProps } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
18838
|
+
import { EuiButtonColor } from '@elastic/eui/src/components/button';
|
|
18839
|
+
export interface EuiConfirmModalProps extends Omit<EuiModalProps, 'children' | 'onClose' | 'title'> {
|
|
18840
|
+
/**
|
|
18841
|
+
* ReactNode to render as this component's content
|
|
18842
|
+
*/
|
|
18843
|
+
children?: ReactNode;
|
|
18844
|
+
title?: ReactNode;
|
|
18845
|
+
titleProps?: ComponentProps<EuiModalHeaderTitleProps>;
|
|
18846
|
+
cancelButtonText?: ReactNode;
|
|
18847
|
+
confirmButtonText?: ReactNode;
|
|
18848
|
+
onCancel: (event?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement>) => void;
|
|
18849
|
+
onConfirm?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
18850
|
+
confirmButtonDisabled?: boolean;
|
|
18851
|
+
className?: string;
|
|
18852
|
+
/**
|
|
18853
|
+
* Allows focusing either the confirm or cancel button on modal initialization.
|
|
18854
|
+
* Will take precedence over `initialFocus`, if `initialFocus` is passed.
|
|
18855
|
+
*/
|
|
18856
|
+
defaultFocusedButton?: typeof CONFIRM_BUTTON | typeof CANCEL_BUTTON;
|
|
18857
|
+
buttonColor?: EuiButtonColor;
|
|
18858
|
+
/**
|
|
18859
|
+
* Sets the max-width of the modal.
|
|
18860
|
+
* Set to `true` to use the default (`euiBreakpoints 'm'`),
|
|
18861
|
+
* set to `false` to not restrict the width,
|
|
18862
|
+
* set to a number for a custom width in px,
|
|
18863
|
+
* set to a string for a custom width in custom measurement.
|
|
18864
|
+
*/
|
|
18865
|
+
maxWidth?: boolean | number | string;
|
|
18866
|
+
/**
|
|
18867
|
+
* Passes `isLoading` prop to the confirm button
|
|
18868
|
+
*/
|
|
18869
|
+
isLoading?: boolean;
|
|
18870
|
+
}
|
|
18871
|
+
export const CONFIRM_BUTTON = "confirm";
|
|
18872
|
+
export const CANCEL_BUTTON = "cancel";
|
|
18873
|
+
export const EuiConfirmModal: FunctionComponent<EuiConfirmModalProps>;
|
|
18874
|
+
|
|
18875
|
+
}
|
|
18876
|
+
declare module '@elastic/eui/src/components/modal' {
|
|
18877
|
+
export type { EuiConfirmModalProps } from '@elastic/eui/src/components/modal/confirm_modal';
|
|
18878
|
+
export { EuiConfirmModal, CONFIRM_BUTTON as EUI_MODAL_CONFIRM_BUTTON, CANCEL_BUTTON as EUI_MODAL_CANCEL_BUTTON, } from '@elastic/eui/src/components/modal/confirm_modal';
|
|
18879
|
+
export type { EuiModalProps } from '@elastic/eui/src/components/modal/modal';
|
|
18880
|
+
export { EuiModal } from '@elastic/eui/src/components/modal/modal';
|
|
18881
|
+
export type { EuiModalFooterProps } from '@elastic/eui/src/components/modal/modal_footer';
|
|
18882
|
+
export { EuiModalFooter } from '@elastic/eui/src/components/modal/modal_footer';
|
|
18883
|
+
export type { EuiModalHeaderProps } from '@elastic/eui/src/components/modal/modal_header';
|
|
18884
|
+
export { EuiModalHeader } from '@elastic/eui/src/components/modal/modal_header';
|
|
18885
|
+
export type { EuiModalBodyProps } from '@elastic/eui/src/components/modal/modal_body';
|
|
18886
|
+
export { EuiModalBody } from '@elastic/eui/src/components/modal/modal_body';
|
|
18887
|
+
export type { EuiModalHeaderTitleProps } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
18888
|
+
export { EuiModalHeaderTitle } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
18889
|
+
|
|
18730
18890
|
}
|
|
18731
18891
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_types' {
|
|
18732
18892
|
import { ComponentType, ReactNode } from 'react';
|
|
@@ -18885,6 +19045,29 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_context' {
|
|
|
18885
19045
|
export const EuiMarkdownContext: import("react").Context<ContextShape>;
|
|
18886
19046
|
export {};
|
|
18887
19047
|
|
|
19048
|
+
}
|
|
19049
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor.styles' {
|
|
19050
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19051
|
+
export const euiMarkdownEditorVariables: ({ euiTheme }: UseEuiTheme) => {
|
|
19052
|
+
minHeight: string;
|
|
19053
|
+
borderRadius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
19054
|
+
barsBackgroundColor: string;
|
|
19055
|
+
};
|
|
19056
|
+
export const euiMarkdownEditorStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19057
|
+
euiMarkdownEditor: import("@emotion/utils").SerializedStyles;
|
|
19058
|
+
fullHeight: import("@emotion/utils").SerializedStyles;
|
|
19059
|
+
euiMarkdownEditorPreview: import("@emotion/utils").SerializedStyles;
|
|
19060
|
+
};
|
|
19061
|
+
|
|
19062
|
+
}
|
|
19063
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_toolbar.styles' {
|
|
19064
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19065
|
+
export const euiMarkdownEditorToolbarStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19066
|
+
euiMarkdownEditorToolbar: import("@emotion/utils").SerializedStyles;
|
|
19067
|
+
euiMarkdownEditorToolbar__buttons: import("@emotion/utils").SerializedStyles;
|
|
19068
|
+
euiMarkdownEditorToolbar__divider: import("@emotion/utils").SerializedStyles;
|
|
19069
|
+
};
|
|
19070
|
+
|
|
18888
19071
|
}
|
|
18889
19072
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_toolbar' {
|
|
18890
19073
|
import React, { HTMLAttributes, MouseEventHandler } from 'react';
|
|
@@ -18907,6 +19090,15 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_tool
|
|
|
18907
19090
|
uiPlugins: EuiMarkdownEditorUiPlugin[];
|
|
18908
19091
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
18909
19092
|
|
|
19093
|
+
}
|
|
19094
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_text_area.styles' {
|
|
19095
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19096
|
+
export const euiMarkdownEditorTextAreaStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19097
|
+
euiMarkdownEditorTextArea: import("@emotion/utils").SerializedStyles;
|
|
19098
|
+
readOnly: import("@emotion/utils").SerializedStyles;
|
|
19099
|
+
editable: import("@emotion/utils").SerializedStyles;
|
|
19100
|
+
};
|
|
19101
|
+
|
|
18910
19102
|
}
|
|
18911
19103
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_text_area' {
|
|
18912
19104
|
import React, { TextareaHTMLAttributes } from 'react';
|
|
@@ -18938,6 +19130,17 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_format.styl
|
|
|
18938
19130
|
s: import("@emotion/utils").SerializedStyles;
|
|
18939
19131
|
xs: import("@emotion/utils").SerializedStyles;
|
|
18940
19132
|
relative: import("@emotion/utils").SerializedStyles;
|
|
19133
|
+
colors: {
|
|
19134
|
+
default: import("@emotion/utils").SerializedStyles;
|
|
19135
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
19136
|
+
success: import("@emotion/utils").SerializedStyles;
|
|
19137
|
+
accent: import("@emotion/utils").SerializedStyles;
|
|
19138
|
+
warning: import("@emotion/utils").SerializedStyles;
|
|
19139
|
+
danger: import("@emotion/utils").SerializedStyles;
|
|
19140
|
+
ghost: import("@emotion/utils").SerializedStyles;
|
|
19141
|
+
inherit: import("@emotion/utils").SerializedStyles;
|
|
19142
|
+
custom: import("@emotion/utils").SerializedStyles;
|
|
19143
|
+
};
|
|
18941
19144
|
};
|
|
18942
19145
|
|
|
18943
19146
|
}
|
|
@@ -19126,161 +19329,6 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_format' {
|
|
|
19126
19329
|
};
|
|
19127
19330
|
export const EuiMarkdownFormat: FunctionComponent<EuiMarkdownFormatProps>;
|
|
19128
19331
|
|
|
19129
|
-
}
|
|
19130
|
-
declare module '@elastic/eui/src/components/modal/modal.styles' {
|
|
19131
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19132
|
-
export const euiModalStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19133
|
-
euiModal: import("@emotion/utils").SerializedStyles;
|
|
19134
|
-
defaultMaxWidth: import("@emotion/utils").SerializedStyles;
|
|
19135
|
-
confirmation: import("@emotion/utils").SerializedStyles;
|
|
19136
|
-
euiModal__closeIcon: import("@emotion/utils").SerializedStyles;
|
|
19137
|
-
};
|
|
19138
|
-
|
|
19139
|
-
}
|
|
19140
|
-
declare module '@elastic/eui/src/components/modal/modal' {
|
|
19141
|
-
import React, { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
|
|
19142
|
-
export interface EuiModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
19143
|
-
className?: string;
|
|
19144
|
-
/**
|
|
19145
|
-
* ReactNode to render as this component's content
|
|
19146
|
-
*/
|
|
19147
|
-
children: ReactNode;
|
|
19148
|
-
onClose: (event?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement>) => void;
|
|
19149
|
-
/**
|
|
19150
|
-
* Sets the max-width of the modal.
|
|
19151
|
-
* Set to `true` to use the default (`euiBreakpoints 'm'`),
|
|
19152
|
-
* set to `false` to not restrict the width,
|
|
19153
|
-
* set to a number for a custom width in px,
|
|
19154
|
-
* set to a string for a custom width in custom measurement.
|
|
19155
|
-
*/
|
|
19156
|
-
maxWidth?: boolean | number | string;
|
|
19157
|
-
/**
|
|
19158
|
-
* Specifies what element should initially have focus.
|
|
19159
|
-
* Can be a DOM node, or a selector string (which will be passed to document.querySelector() to find the DOM node), or a function that returns a DOM node.
|
|
19160
|
-
*/
|
|
19161
|
-
initialFocus?: HTMLElement | (() => HTMLElement) | string;
|
|
19162
|
-
/**
|
|
19163
|
-
* Identifies a modal dialog to screen readers. Modal dialogs that confirm destructive actions
|
|
19164
|
-
* or need a user's attention should use "alertdialog".
|
|
19165
|
-
*/
|
|
19166
|
-
role?: 'dialog' | 'alertdialog';
|
|
19167
|
-
}
|
|
19168
|
-
export const EuiModal: FunctionComponent<EuiModalProps>;
|
|
19169
|
-
|
|
19170
|
-
}
|
|
19171
|
-
declare module '@elastic/eui/src/components/modal/modal_footer.styles' {
|
|
19172
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19173
|
-
export const euiModalFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19174
|
-
euiModalFooter: import("@emotion/utils").SerializedStyles;
|
|
19175
|
-
};
|
|
19176
|
-
|
|
19177
|
-
}
|
|
19178
|
-
declare module '@elastic/eui/src/components/modal/modal_footer' {
|
|
19179
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
19180
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
19181
|
-
export type EuiModalFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
19182
|
-
export const EuiModalFooter: EuiModalFooterProps;
|
|
19183
|
-
|
|
19184
|
-
}
|
|
19185
|
-
declare module '@elastic/eui/src/components/modal/modal_header.styles' {
|
|
19186
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19187
|
-
export const euiModalHeaderStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19188
|
-
euiModalHeader: import("@emotion/utils").SerializedStyles;
|
|
19189
|
-
};
|
|
19190
|
-
|
|
19191
|
-
}
|
|
19192
|
-
declare module '@elastic/eui/src/components/modal/modal_header' {
|
|
19193
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
19194
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
19195
|
-
export type EuiModalHeaderProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
19196
|
-
export const EuiModalHeader: EuiModalHeaderProps;
|
|
19197
|
-
|
|
19198
|
-
}
|
|
19199
|
-
declare module '@elastic/eui/src/components/modal/modal_header_title' {
|
|
19200
|
-
import { FunctionComponent, HTMLAttributes, ElementType } from 'react';
|
|
19201
|
-
import { EuiTitleProps } from '@elastic/eui/src/components/title';
|
|
19202
|
-
export type EuiModalHeaderTitleProps = FunctionComponent<Omit<EuiTitleProps, 'children'> & HTMLAttributes<HTMLHeadingElement> & {
|
|
19203
|
-
/**
|
|
19204
|
-
* The tag to render. Can be changed to a lower heading
|
|
19205
|
-
* level like `h2` or a container `div`.
|
|
19206
|
-
* @default h1
|
|
19207
|
-
*/
|
|
19208
|
-
component?: ElementType;
|
|
19209
|
-
}>;
|
|
19210
|
-
export const EuiModalHeaderTitle: EuiModalHeaderTitleProps;
|
|
19211
|
-
|
|
19212
|
-
}
|
|
19213
|
-
declare module '@elastic/eui/src/components/modal/modal_body.styles' {
|
|
19214
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19215
|
-
export const euiModalBodyStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19216
|
-
euiModalBody: import("@emotion/utils").SerializedStyles;
|
|
19217
|
-
euiModalBody__overflow: import("@emotion/utils").SerializedStyles;
|
|
19218
|
-
};
|
|
19219
|
-
|
|
19220
|
-
}
|
|
19221
|
-
declare module '@elastic/eui/src/components/modal/modal_body' {
|
|
19222
|
-
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
19223
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
19224
|
-
export type EuiModalBodyProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps>;
|
|
19225
|
-
export const EuiModalBody: EuiModalBodyProps;
|
|
19226
|
-
|
|
19227
|
-
}
|
|
19228
|
-
declare module '@elastic/eui/src/components/modal/confirm_modal' {
|
|
19229
|
-
import React, { FunctionComponent, ComponentProps, ReactNode } from 'react';
|
|
19230
|
-
import { EuiModalProps } from '@elastic/eui/src/components/modal/modal';
|
|
19231
|
-
import { EuiModalHeaderTitleProps } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
19232
|
-
import { EuiButtonColor } from '@elastic/eui/src/components/button';
|
|
19233
|
-
export interface EuiConfirmModalProps extends Omit<EuiModalProps, 'children' | 'onClose' | 'title'> {
|
|
19234
|
-
/**
|
|
19235
|
-
* ReactNode to render as this component's content
|
|
19236
|
-
*/
|
|
19237
|
-
children?: ReactNode;
|
|
19238
|
-
title?: ReactNode;
|
|
19239
|
-
titleProps?: ComponentProps<EuiModalHeaderTitleProps>;
|
|
19240
|
-
cancelButtonText?: ReactNode;
|
|
19241
|
-
confirmButtonText?: ReactNode;
|
|
19242
|
-
onCancel: (event?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement>) => void;
|
|
19243
|
-
onConfirm?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
19244
|
-
confirmButtonDisabled?: boolean;
|
|
19245
|
-
className?: string;
|
|
19246
|
-
/**
|
|
19247
|
-
* Allows focusing either the confirm or cancel button on modal initialization.
|
|
19248
|
-
* Will take precedence over `initialFocus`, if `initialFocus` is passed.
|
|
19249
|
-
*/
|
|
19250
|
-
defaultFocusedButton?: typeof CONFIRM_BUTTON | typeof CANCEL_BUTTON;
|
|
19251
|
-
buttonColor?: EuiButtonColor;
|
|
19252
|
-
/**
|
|
19253
|
-
* Sets the max-width of the modal.
|
|
19254
|
-
* Set to `true` to use the default (`euiBreakpoints 'm'`),
|
|
19255
|
-
* set to `false` to not restrict the width,
|
|
19256
|
-
* set to a number for a custom width in px,
|
|
19257
|
-
* set to a string for a custom width in custom measurement.
|
|
19258
|
-
*/
|
|
19259
|
-
maxWidth?: boolean | number | string;
|
|
19260
|
-
/**
|
|
19261
|
-
* Passes `isLoading` prop to the confirm button
|
|
19262
|
-
*/
|
|
19263
|
-
isLoading?: boolean;
|
|
19264
|
-
}
|
|
19265
|
-
export const CONFIRM_BUTTON = "confirm";
|
|
19266
|
-
export const CANCEL_BUTTON = "cancel";
|
|
19267
|
-
export const EuiConfirmModal: FunctionComponent<EuiConfirmModalProps>;
|
|
19268
|
-
|
|
19269
|
-
}
|
|
19270
|
-
declare module '@elastic/eui/src/components/modal' {
|
|
19271
|
-
export type { EuiConfirmModalProps } from '@elastic/eui/src/components/modal/confirm_modal';
|
|
19272
|
-
export { EuiConfirmModal, CONFIRM_BUTTON as EUI_MODAL_CONFIRM_BUTTON, CANCEL_BUTTON as EUI_MODAL_CANCEL_BUTTON, } from '@elastic/eui/src/components/modal/confirm_modal';
|
|
19273
|
-
export type { EuiModalProps } from '@elastic/eui/src/components/modal/modal';
|
|
19274
|
-
export { EuiModal } from '@elastic/eui/src/components/modal/modal';
|
|
19275
|
-
export type { EuiModalFooterProps } from '@elastic/eui/src/components/modal/modal_footer';
|
|
19276
|
-
export { EuiModalFooter } from '@elastic/eui/src/components/modal/modal_footer';
|
|
19277
|
-
export type { EuiModalHeaderProps } from '@elastic/eui/src/components/modal/modal_header';
|
|
19278
|
-
export { EuiModalHeader } from '@elastic/eui/src/components/modal/modal_header';
|
|
19279
|
-
export type { EuiModalBodyProps } from '@elastic/eui/src/components/modal/modal_body';
|
|
19280
|
-
export { EuiModalBody } from '@elastic/eui/src/components/modal/modal_body';
|
|
19281
|
-
export type { EuiModalHeaderTitleProps } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
19282
|
-
export { EuiModalHeaderTitle } from '@elastic/eui/src/components/modal/modal_header_title';
|
|
19283
|
-
|
|
19284
19332
|
}
|
|
19285
19333
|
declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo' {
|
|
19286
19334
|
import React from 'react';
|
|
@@ -19290,6 +19338,17 @@ declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo'
|
|
|
19290
19338
|
} const MarkdownLogo: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => React.JSX.Element;
|
|
19291
19339
|
export default MarkdownLogo;
|
|
19292
19340
|
|
|
19341
|
+
}
|
|
19342
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer.styles' {
|
|
19343
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19344
|
+
export const euiMarkdownEditorFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19345
|
+
euiMarkdownEditorFooter: import("@emotion/utils").SerializedStyles;
|
|
19346
|
+
euiMarkdownEditorFooter__actions: import("@emotion/utils").SerializedStyles;
|
|
19347
|
+
euiMarkdownEditorFooter__uploadError: import("@emotion/utils").SerializedStyles;
|
|
19348
|
+
euiMarkdownEditorFooter__helpButton: import("@emotion/utils").SerializedStyles;
|
|
19349
|
+
euiMarkdownEditorFooter__popover: import("@emotion/utils").SerializedStyles;
|
|
19350
|
+
};
|
|
19351
|
+
|
|
19293
19352
|
}
|
|
19294
19353
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer' {
|
|
19295
19354
|
import React from 'react';
|
|
@@ -19305,6 +19364,17 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_foot
|
|
|
19305
19364
|
export const EuiMarkdownEditorFooter: React.ForwardRefExoticComponent<EuiMarkdownEditorFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
19306
19365
|
export {};
|
|
19307
19366
|
|
|
19367
|
+
}
|
|
19368
|
+
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_drop_zone.styles' {
|
|
19369
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19370
|
+
export const euiMarkdownEditorDropZoneStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19371
|
+
euiMarkdownEditorDropZone: import("@emotion/utils").SerializedStyles;
|
|
19372
|
+
isDragging: import("@emotion/utils").SerializedStyles;
|
|
19373
|
+
isDraggingError: import("@emotion/utils").SerializedStyles;
|
|
19374
|
+
hasError: import("@emotion/utils").SerializedStyles;
|
|
19375
|
+
euiMarkdownEditorDropZone__input: import("@emotion/utils").SerializedStyles;
|
|
19376
|
+
};
|
|
19377
|
+
|
|
19308
19378
|
}
|
|
19309
19379
|
declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_drop_zone' {
|
|
19310
19380
|
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -20864,7 +20934,9 @@ declare module '@elastic/eui/src/components/selectable/selectable_option' {
|
|
|
20864
20934
|
import React, { HTMLAttributes } from 'react';
|
|
20865
20935
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
20866
20936
|
import type { EuiTextTruncateProps } from '@elastic/eui/src/components/text_truncate';
|
|
20867
|
-
|
|
20937
|
+
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
20938
|
+
export const OPTION_CHECKED_STATES: readonly ["on", "off", "mixed", undefined];
|
|
20939
|
+
export type EuiSelectableOptionCheckedType = (typeof OPTION_CHECKED_STATES)[number];
|
|
20868
20940
|
export type EuiSelectableOptionBase = CommonProps & {
|
|
20869
20941
|
/**
|
|
20870
20942
|
* Visible label of option.
|
|
@@ -20929,6 +21001,14 @@ declare module '@elastic/eui/src/components/selectable/selectable_option' {
|
|
|
20929
21001
|
* text will always take precedence.
|
|
20930
21002
|
*/
|
|
20931
21003
|
truncationProps?: Partial<Omit<EuiTextTruncateProps, 'text' | 'children'>>;
|
|
21004
|
+
/**
|
|
21005
|
+
* Optional custom tooltip content for the button
|
|
21006
|
+
*/
|
|
21007
|
+
toolTipContent?: EuiToolTipProps['content'];
|
|
21008
|
+
/**
|
|
21009
|
+
* Optional props to pass to the underlying **[EuiToolTip](/#/display/tooltip)**
|
|
21010
|
+
*/
|
|
21011
|
+
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>;
|
|
20932
21012
|
}; type _EuiSelectableGroupLabelOption = Omit<EuiSelectableOptionBase, 'isGroupLabel'> & Exclude<HTMLAttributes<HTMLDivElement>, 'id'> & {
|
|
20933
21013
|
isGroupLabel: true;
|
|
20934
21014
|
};
|
|
@@ -20984,7 +21064,8 @@ declare module '@elastic/eui/src/components/selectable/selectable_search/selecta
|
|
|
20984
21064
|
* Passes back (searchValue, matchingOptions)
|
|
20985
21065
|
*/
|
|
20986
21066
|
onChange: (searchValue: string, matchingOptions: Array<EuiSelectableOption<T>>) => void;
|
|
20987
|
-
};
|
|
21067
|
+
};
|
|
21068
|
+
export type _EuiSelectableSearchProps<T> = EuiSelectableSearchProps<T> & {
|
|
20988
21069
|
options: Array<EuiSelectableOption<T>>;
|
|
20989
21070
|
/**
|
|
20990
21071
|
* Search value state managed by parent EuiSelectable
|
|
@@ -21001,7 +21082,6 @@ declare module '@elastic/eui/src/components/selectable/selectable_search/selecta
|
|
|
21001
21082
|
optionMatcher: EuiSelectableOptionMatcher<T>;
|
|
21002
21083
|
};
|
|
21003
21084
|
export const EuiSelectableSearch: <T>({ onChange: onChangeCallback, options, value, placeholder, isPreFiltered, listId, className, optionMatcher, ...rest }: _EuiSelectableSearchProps<T>) => React.JSX.Element;
|
|
21004
|
-
export {};
|
|
21005
21085
|
|
|
21006
21086
|
}
|
|
21007
21087
|
declare module '@elastic/eui/src/components/selectable/selectable_search' {
|
|
@@ -21027,7 +21107,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_message' {
|
|
|
21027
21107
|
|
|
21028
21108
|
}
|
|
21029
21109
|
declare module '@elastic/eui/src/components/selectable/selectable_list/selectable_list_item' {
|
|
21030
|
-
import React, {
|
|
21110
|
+
import React, { FunctionComponent, LiHTMLAttributes } from 'react';
|
|
21031
21111
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
21032
21112
|
import { EuiBadgeProps } from '@elastic/eui/src/components/badge';
|
|
21033
21113
|
import type { EuiSelectableOption, EuiSelectableOptionCheckedType } from '@elastic/eui/src/components/selectable/selectable_option';
|
|
@@ -21078,17 +21158,16 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21078
21158
|
* Wrapping only works if virtualization is off.
|
|
21079
21159
|
*/
|
|
21080
21160
|
textWrap?: EuiSelectableOption['textWrap'];
|
|
21161
|
+
/**
|
|
21162
|
+
* Optional custom tooltip content for the button
|
|
21163
|
+
*/
|
|
21164
|
+
toolTipContent?: EuiSelectableOption['toolTipContent'];
|
|
21165
|
+
/**
|
|
21166
|
+
* Optional props to pass to the underlying **[EuiToolTip](/#/display/tooltip)**
|
|
21167
|
+
*/
|
|
21168
|
+
toolTipProps?: EuiSelectableOption['toolTipProps'];
|
|
21081
21169
|
};
|
|
21082
|
-
export
|
|
21083
|
-
static defaultProps: {
|
|
21084
|
-
showIcons: boolean;
|
|
21085
|
-
onFocusBadge: boolean;
|
|
21086
|
-
textWrap: string;
|
|
21087
|
-
};
|
|
21088
|
-
constructor(props: EuiSelectableListItemProps);
|
|
21089
|
-
isChecked: (role: string, checked: EuiSelectableOptionCheckedType) => boolean | "mixed" | undefined;
|
|
21090
|
-
render(): React.JSX.Element;
|
|
21091
|
-
}
|
|
21170
|
+
export const EuiSelectableListItem: FunctionComponent<EuiSelectableListItemProps>;
|
|
21092
21171
|
|
|
21093
21172
|
}
|
|
21094
21173
|
declare module '@elastic/eui/src/components/selectable/selectable_list/selectable_list' {
|
|
@@ -21213,14 +21292,18 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21213
21292
|
static defaultProps: {
|
|
21214
21293
|
rowHeight: number;
|
|
21215
21294
|
searchValue: string;
|
|
21216
|
-
isVirtualized:
|
|
21295
|
+
isVirtualized: true;
|
|
21217
21296
|
};
|
|
21297
|
+
private animationFrameId;
|
|
21298
|
+
private listRowRerender;
|
|
21218
21299
|
constructor(props: EuiSelectableListProps<T>);
|
|
21219
21300
|
listRef: FixedSizeList | null;
|
|
21220
21301
|
listBoxRef: HTMLUListElement | null;
|
|
21302
|
+
componentWillUnmount(): void;
|
|
21221
21303
|
setListRef: (ref: FixedSizeList | null) => void;
|
|
21222
21304
|
removeScrollableTabStop: (ref: HTMLDivElement | null) => void;
|
|
21223
21305
|
setListBoxRef: (ref: HTMLUListElement | null) => void;
|
|
21306
|
+
shouldComponentUpdate(nextProps: Readonly<EuiSelectableListProps<T>>): boolean;
|
|
21224
21307
|
componentDidUpdate(prevProps: EuiSelectableListProps<T>): void;
|
|
21225
21308
|
calculateAriaSetAttrs: (optionArray: State<T>['optionArray']) => {
|
|
21226
21309
|
ariaPosInSetMap: Record<number, number>;
|
|
@@ -21242,10 +21325,9 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21242
21325
|
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
21243
21326
|
color?: string | undefined;
|
|
21244
21327
|
className?: string | undefined;
|
|
21245
|
-
|
|
21328
|
+
"aria-label"?: string | undefined;
|
|
21246
21329
|
'data-test-subj'?: string | undefined;
|
|
21247
21330
|
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
21248
|
-
placeholder?: string | undefined;
|
|
21249
21331
|
width: number | undefined;
|
|
21250
21332
|
defaultChecked?: boolean | undefined;
|
|
21251
21333
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -21253,7 +21335,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21253
21335
|
suppressHydrationWarning?: boolean | undefined;
|
|
21254
21336
|
accessKey?: string | undefined;
|
|
21255
21337
|
autoFocus?: boolean | undefined;
|
|
21256
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
21338
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
21257
21339
|
contextMenu?: string | undefined;
|
|
21258
21340
|
dir?: string | undefined;
|
|
21259
21341
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -21283,61 +21365,61 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21283
21365
|
itemRef?: string | undefined;
|
|
21284
21366
|
results?: number | undefined;
|
|
21285
21367
|
security?: string | undefined;
|
|
21286
|
-
unselectable?: "
|
|
21368
|
+
unselectable?: "off" | "on" | undefined;
|
|
21287
21369
|
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
21288
21370
|
is?: string | undefined;
|
|
21289
|
-
|
|
21290
|
-
|
|
21291
|
-
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21295
|
-
|
|
21296
|
-
|
|
21297
|
-
|
|
21298
|
-
|
|
21299
|
-
|
|
21300
|
-
|
|
21301
|
-
|
|
21302
|
-
|
|
21303
|
-
|
|
21304
|
-
|
|
21305
|
-
|
|
21306
|
-
|
|
21307
|
-
|
|
21308
|
-
|
|
21309
|
-
|
|
21310
|
-
|
|
21311
|
-
|
|
21312
|
-
|
|
21313
|
-
|
|
21314
|
-
|
|
21315
|
-
|
|
21316
|
-
|
|
21317
|
-
|
|
21318
|
-
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
|
|
21324
|
-
|
|
21325
|
-
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
|
|
21331
|
-
|
|
21332
|
-
|
|
21333
|
-
|
|
21334
|
-
|
|
21335
|
-
|
|
21336
|
-
|
|
21337
|
-
|
|
21338
|
-
|
|
21339
|
-
|
|
21340
|
-
|
|
21371
|
+
"aria-activedescendant"?: string | undefined;
|
|
21372
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
21373
|
+
"aria-autocomplete"?: "none" | "both" | "list" | "inline" | undefined;
|
|
21374
|
+
"aria-braillelabel"?: string | undefined;
|
|
21375
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
21376
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
21377
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
21378
|
+
"aria-colcount"?: number | undefined;
|
|
21379
|
+
"aria-colindex"?: number | undefined;
|
|
21380
|
+
"aria-colindextext"?: string | undefined;
|
|
21381
|
+
"aria-colspan"?: number | undefined;
|
|
21382
|
+
"aria-controls"?: string | undefined;
|
|
21383
|
+
"aria-current"?: boolean | "time" | "date" | "step" | "true" | "false" | "page" | "location" | undefined;
|
|
21384
|
+
"aria-describedby"?: string | undefined;
|
|
21385
|
+
"aria-description"?: string | undefined;
|
|
21386
|
+
"aria-details"?: string | undefined;
|
|
21387
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
21388
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
21389
|
+
"aria-errormessage"?: string | undefined;
|
|
21390
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
21391
|
+
"aria-flowto"?: string | undefined;
|
|
21392
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
21393
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
21394
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
21395
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
21396
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
21397
|
+
"aria-labelledby"?: string | undefined;
|
|
21398
|
+
"aria-level"?: number | undefined;
|
|
21399
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
21400
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
21401
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
21402
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
21403
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
21404
|
+
"aria-owns"?: string | undefined;
|
|
21405
|
+
"aria-placeholder"?: string | undefined;
|
|
21406
|
+
"aria-posinset"?: number | undefined;
|
|
21407
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
21408
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
21409
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
21410
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
21411
|
+
"aria-roledescription"?: string | undefined;
|
|
21412
|
+
"aria-rowcount"?: number | undefined;
|
|
21413
|
+
"aria-rowindex"?: number | undefined;
|
|
21414
|
+
"aria-rowindextext"?: string | undefined;
|
|
21415
|
+
"aria-rowspan"?: number | undefined;
|
|
21416
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
21417
|
+
"aria-setsize"?: number | undefined;
|
|
21418
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
21419
|
+
"aria-valuemax"?: number | undefined;
|
|
21420
|
+
"aria-valuemin"?: number | undefined;
|
|
21421
|
+
"aria-valuenow"?: number | undefined;
|
|
21422
|
+
"aria-valuetext"?: string | undefined;
|
|
21341
21423
|
dangerouslySetInnerHTML?: {
|
|
21342
21424
|
__html: string | TrustedHTML;
|
|
21343
21425
|
} | undefined;
|
|
@@ -21479,9 +21561,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
21479
21561
|
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21480
21562
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21481
21563
|
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21482
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21483
21564
|
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21484
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21485
21565
|
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21486
21566
|
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
21487
21567
|
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -23636,14 +23716,14 @@ declare module '@elastic/eui/src/components/toast/global_toast_list.styles' {
|
|
|
23636
23716
|
declare module '@elastic/eui/src/components/toast/global_toast_list_item' {
|
|
23637
23717
|
import { FunctionComponent, ReactElement } from 'react';
|
|
23638
23718
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
23639
|
-
export interface EuiGlobalToastListItemProps {
|
|
23719
|
+
export interface EuiGlobalToastListItemProps extends CommonProps {
|
|
23640
23720
|
isDismissed?: boolean;
|
|
23641
23721
|
/**
|
|
23642
23722
|
* ReactElement to render as this component's content
|
|
23643
23723
|
*/
|
|
23644
23724
|
children?: ReactElement;
|
|
23645
23725
|
}
|
|
23646
|
-
export const EuiGlobalToastListItem: FunctionComponent<
|
|
23726
|
+
export const EuiGlobalToastListItem: FunctionComponent<EuiGlobalToastListItemProps>;
|
|
23647
23727
|
|
|
23648
23728
|
}
|
|
23649
23729
|
declare module '@elastic/eui/src/components/toast/global_toast_list' {
|
|
@@ -23875,6 +23955,8 @@ declare module '@elastic/eui/.storybook/utils' {
|
|
|
23875
23955
|
|
|
23876
23956
|
}
|
|
23877
23957
|
declare module '@elastic/eui/.storybook/loki' {
|
|
23958
|
+
import type { PlayFunction } from '@storybook/csf';
|
|
23959
|
+
import type { ReactRenderer } from '@storybook/react';
|
|
23878
23960
|
export const LOKI_SELECTORS: {
|
|
23879
23961
|
/**
|
|
23880
23962
|
* Default story selector
|
|
@@ -23891,6 +23973,16 @@ declare module '@elastic/eui/.storybook/loki' {
|
|
|
23891
23973
|
*/
|
|
23892
23974
|
readonly portal: "[data-euiportal=\"true\"]";
|
|
23893
23975
|
};
|
|
23976
|
+
/**
|
|
23977
|
+
* decorator for story play functions to ensure loki VRT with included interactions
|
|
23978
|
+
* ref: https://github.com/oblador/loki/issues/359#issuecomment-1248135073
|
|
23979
|
+
* @param target - story play() function
|
|
23980
|
+
* @param vrtOnly - optional flag to en/disable vrt only interaction (defaults to true)
|
|
23981
|
+
* @returns enhanced story play function
|
|
23982
|
+
*/
|
|
23983
|
+
export const lokiPlayDecorator: (target: PlayFunction<ReactRenderer, any>, vrtOnly?: boolean) => (PlayFunction<ReactRenderer, any> & {
|
|
23984
|
+
bodyElement?: HTMLElement;
|
|
23985
|
+
}) | undefined;
|
|
23894
23986
|
|
|
23895
23987
|
}
|
|
23896
23988
|
declare module '@elastic/eui/src/components/color_picker/color_picker.styles' {
|
|
@@ -29419,6 +29511,11 @@ declare module '@elastic/eui/src/global_styling/variables/_colors_vis' {
|
|
|
29419
29511
|
};
|
|
29420
29512
|
|
|
29421
29513
|
}
|
|
29514
|
+
// TODO: remove once exported by package itself
|
|
29515
|
+
// https://github.com/oblador/loki/pull/516
|
|
29516
|
+
declare module '@loki/create-async-callback' {
|
|
29517
|
+
export default function createAsyncCallback(): () => void;
|
|
29518
|
+
}
|
|
29422
29519
|
|
|
29423
29520
|
|
|
29424
29521
|
|
|
@@ -29457,6 +29554,7 @@ declare module '@elastic/eui' {
|
|
|
29457
29554
|
"euiCollapsibleNavButton.ariaLabelCollapse": any;
|
|
29458
29555
|
"euiCollapsibleNavButton.ariaLabelOpen": any;
|
|
29459
29556
|
"euiCollapsibleNavButton.ariaLabelClose": any;
|
|
29557
|
+
"euiCollapsedNavButton.ariaLabelButtonIcon": any;
|
|
29460
29558
|
"euiColorPickerSwatch.ariaLabel": any;
|
|
29461
29559
|
"euiColorPicker.popoverLabel": any;
|
|
29462
29560
|
"euiColorPicker.colorLabel": any;
|
|
@@ -29569,7 +29667,7 @@ declare module '@elastic/eui' {
|
|
|
29569
29667
|
"euiRefreshInterval.fullDescriptionOff": any;
|
|
29570
29668
|
"euiRefreshInterval.fullDescriptionOn": any;
|
|
29571
29669
|
"euiRefreshInterval.legend": any;
|
|
29572
|
-
"euiAbsoluteTab.
|
|
29670
|
+
"euiAbsoluteTab.dateFormatButtonLabel": any;
|
|
29573
29671
|
"euiAbsoluteTab.dateFormatError": any;
|
|
29574
29672
|
"euiDatePopoverButton.invalidTitle": any;
|
|
29575
29673
|
"euiDatePopoverButton.outdatedTitle": any;
|