@elastic/eui 94.5.0 → 94.5.2

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.
Files changed (72) hide show
  1. package/NOTICE.txt +1 -1
  2. package/es/components/badge/badge.js +12 -4
  3. package/es/components/badge/badge.styles.js +13 -10
  4. package/es/components/date_picker/date_picker.js +4 -1
  5. package/es/components/date_picker/react-datepicker/src/calendar.js +6 -2
  6. package/es/components/date_picker/react-datepicker/src/index.js +7 -2
  7. package/es/components/date_picker/react-datepicker/src/time.js +5 -4
  8. package/es/components/drag_and_drop/drag_drop_context.js +0 -2
  9. package/es/components/flex/flex_group.js +4 -3
  10. package/es/components/flex/flex_item.js +4 -3
  11. package/es/components/form/range/dual_range.js +2 -2
  12. package/es/components/selectable/selectable_list/selectable_list.js +6 -6
  13. package/es/components/table/table_header_cell.js +1 -1
  14. package/es/components/table/table_header_cell_checkbox.js +2 -1
  15. package/es/components/table/table_header_cell_shared.js +9 -0
  16. package/eui.d.ts +29 -24
  17. package/i18ntokens.json +8 -8
  18. package/lib/components/badge/badge.js +12 -4
  19. package/lib/components/badge/badge.styles.js +13 -10
  20. package/lib/components/date_picker/date_picker.js +4 -1
  21. package/lib/components/date_picker/react-datepicker/src/calendar.js +6 -2
  22. package/lib/components/date_picker/react-datepicker/src/index.js +7 -2
  23. package/lib/components/date_picker/react-datepicker/src/time.js +5 -4
  24. package/lib/components/drag_and_drop/drag_drop_context.js +0 -1
  25. package/lib/components/flex/flex_group.js +4 -3
  26. package/lib/components/flex/flex_item.js +4 -3
  27. package/lib/components/form/range/dual_range.js +2 -2
  28. package/lib/components/selectable/selectable_list/selectable_list.js +6 -6
  29. package/lib/components/table/table_header_cell.js +1 -1
  30. package/lib/components/table/table_header_cell_checkbox.js +2 -1
  31. package/lib/components/table/table_header_cell_shared.js +16 -0
  32. package/optimize/es/components/badge/badge.js +7 -4
  33. package/optimize/es/components/badge/badge.styles.js +13 -10
  34. package/optimize/es/components/date_picker/date_picker.js +4 -1
  35. package/optimize/es/components/date_picker/react-datepicker/src/calendar.js +6 -2
  36. package/optimize/es/components/date_picker/react-datepicker/src/index.js +7 -2
  37. package/optimize/es/components/date_picker/react-datepicker/src/time.js +5 -4
  38. package/optimize/es/components/drag_and_drop/drag_drop_context.js +0 -2
  39. package/optimize/es/components/flex/flex_group.js +4 -3
  40. package/optimize/es/components/flex/flex_item.js +4 -3
  41. package/optimize/es/components/form/range/dual_range.js +2 -2
  42. package/optimize/es/components/selectable/selectable_list/selectable_list.js +6 -6
  43. package/optimize/es/components/table/table_header_cell_checkbox.js +1 -0
  44. package/optimize/es/components/table/table_header_cell_shared.js +9 -0
  45. package/optimize/lib/components/badge/badge.js +7 -4
  46. package/optimize/lib/components/badge/badge.styles.js +13 -10
  47. package/optimize/lib/components/date_picker/date_picker.js +4 -1
  48. package/optimize/lib/components/date_picker/react-datepicker/src/calendar.js +6 -2
  49. package/optimize/lib/components/date_picker/react-datepicker/src/index.js +7 -2
  50. package/optimize/lib/components/date_picker/react-datepicker/src/time.js +5 -4
  51. package/optimize/lib/components/drag_and_drop/drag_drop_context.js +0 -1
  52. package/optimize/lib/components/flex/flex_group.js +4 -3
  53. package/optimize/lib/components/flex/flex_item.js +4 -3
  54. package/optimize/lib/components/form/range/dual_range.js +2 -2
  55. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +6 -6
  56. package/optimize/lib/components/table/table_header_cell_checkbox.js +1 -0
  57. package/optimize/lib/components/table/table_header_cell_shared.js +16 -0
  58. package/package.json +1 -1
  59. package/test-env/components/badge/badge.js +7 -4
  60. package/test-env/components/badge/badge.styles.js +13 -10
  61. package/test-env/components/date_picker/date_picker.js +4 -1
  62. package/test-env/components/date_picker/react-datepicker/src/calendar.js +6 -2
  63. package/test-env/components/date_picker/react-datepicker/src/index.js +7 -2
  64. package/test-env/components/date_picker/react-datepicker/src/time.js +5 -4
  65. package/test-env/components/drag_and_drop/drag_drop_context.js +0 -1
  66. package/test-env/components/flex/flex_group.js +4 -3
  67. package/test-env/components/flex/flex_item.js +4 -3
  68. package/test-env/components/form/range/dual_range.js +2 -2
  69. package/test-env/components/selectable/selectable_list/selectable_list.js +6 -6
  70. package/test-env/components/table/table_header_cell.js +1 -1
  71. package/test-env/components/table/table_header_cell_checkbox.js +2 -1
  72. package/test-env/components/table/table_header_cell_shared.js +16 -0
package/eui.d.ts CHANGED
@@ -1866,15 +1866,15 @@ declare module '@elastic/eui/src/components/flex/flex_group.styles' {
1866
1866
 
1867
1867
  }
1868
1868
  declare module '@elastic/eui/src/components/flex/flex_group' {
1869
- import React, { ComponentPropsWithoutRef, ElementType, ForwardedRef, PropsWithChildren, Ref } from 'react';
1869
+ import React, { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
1870
1870
  import { CommonProps } from '@elastic/eui/src/components/common';
1871
1871
  export const GUTTER_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
1872
1872
  export type EuiFlexGroupGutterSize = (typeof GUTTER_SIZES)[number];
1873
1873
  export const ALIGN_ITEMS: readonly ["stretch", "flexStart", "flexEnd", "center", "baseline"];
1874
1874
  export type FlexGroupAlignItems = (typeof ALIGN_ITEMS)[number];
1875
1875
  export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"]; type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
1876
- export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"]; type FlexGroupDirection = (typeof DIRECTIONS)[number]; type ComponentPropType = ElementType<CommonProps>;
1877
- export type EuiFlexGroupProps<TComponent extends ComponentPropType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
1876
+ export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"]; type FlexGroupDirection = (typeof DIRECTIONS)[number];
1877
+ export type EuiFlexGroupProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
1878
1878
  alignItems?: FlexGroupAlignItems;
1879
1879
  /**
1880
1880
  * Customize the component type that is rendered.
@@ -1899,8 +1899,8 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
1899
1899
  justifyContent?: FlexGroupJustifyContent;
1900
1900
  responsive?: boolean;
1901
1901
  wrap?: boolean;
1902
- }; const EuiFlexGroupInternal: <TComponent extends ComponentPropType>({ className, component, gutterSize, alignItems, responsive, justifyContent, direction, wrap, ...rest }: EuiFlexGroupProps<TComponent>, ref: React.ForwardedRef<TComponent>) => React.JSX.Element;
1903
- export const EuiFlexGroup: (<TComponent extends ComponentPropType = "div", TComponentRef = React.JSX.Element>(props: {
1902
+ };
1903
+ export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
1904
1904
  children?: React.ReactNode;
1905
1905
  } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
1906
1906
  alignItems?: "center" | "stretch" | "baseline" | "flexStart" | "flexEnd" | undefined;
@@ -1929,7 +1929,7 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
1929
1929
  wrap?: boolean | undefined;
1930
1930
  } & {
1931
1931
  ref?: React.Ref<TComponentRef> | undefined;
1932
- }) => ReturnType<typeof EuiFlexGroupInternal>) & {
1932
+ }) => ReactElement) & {
1933
1933
  displayName?: string | undefined;
1934
1934
  };
1935
1935
  export {};
@@ -2032,9 +2032,9 @@ declare module '@elastic/eui/src/components/flex/flex_item.styles' {
2032
2032
 
2033
2033
  }
2034
2034
  declare module '@elastic/eui/src/components/flex/flex_item' {
2035
- import React, { ElementType, ComponentPropsWithoutRef, PropsWithChildren, ForwardedRef, Ref } from 'react';
2036
- import { CommonProps } from '@elastic/eui/src/components/common'; type ComponentPropType = ElementType<CommonProps>;
2037
- export type EuiFlexItemProps<TComponent extends ComponentPropType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
2035
+ import React, { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
2036
+ import { CommonProps } from '@elastic/eui/src/components/common';
2037
+ export type EuiFlexItemProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
2038
2038
  grow?: boolean | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null;
2039
2039
  /**
2040
2040
  * Customize the component type that is rendered.
@@ -2043,19 +2043,19 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
2043
2043
  * such as `'div'` or `'span'`, a React component (a function, a class,
2044
2044
  * or an exotic component like `memo()`).
2045
2045
  *
2046
- * `<EuiFlexGroup>` accepts and forwards all extra props to the custom
2046
+ * `<EuiFlexItem>` accepts and forwards all extra props to the custom
2047
2047
  * component.
2048
2048
  *
2049
2049
  * @example
2050
2050
  * // Renders a <button> element
2051
2051
  * <EuiFlexItem component="button">
2052
2052
  * Submit form
2053
- * </EuiFlexGroup>
2053
+ * </EuiFlexItem>
2054
2054
  * @default "div"
2055
2055
  */
2056
2056
  component?: TComponent;
2057
- }; const EuiFlexItemInternal: <TComponent extends ComponentPropType>({ children, className, grow, component, ...rest }: EuiFlexItemProps<TComponent>, ref: React.ForwardedRef<TComponent>) => React.JSX.Element;
2058
- export const EuiFlexItem: (<TComponent extends ComponentPropType, TComponentRef = React.JSX.Element>(props: {
2057
+ };
2058
+ export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
2059
2059
  children?: React.ReactNode;
2060
2060
  } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
2061
2061
  grow?: boolean | 0 | 5 | 2 | 10 | 3 | 8 | 9 | 1 | 4 | 6 | 7 | null | undefined;
@@ -2066,23 +2066,22 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
2066
2066
  * such as `'div'` or `'span'`, a React component (a function, a class,
2067
2067
  * or an exotic component like `memo()`).
2068
2068
  *
2069
- * `<EuiFlexGroup>` accepts and forwards all extra props to the custom
2069
+ * `<EuiFlexItem>` accepts and forwards all extra props to the custom
2070
2070
  * component.
2071
2071
  *
2072
2072
  * @example
2073
2073
  * // Renders a <button> element
2074
2074
  * <EuiFlexItem component="button">
2075
2075
  * Submit form
2076
- * </EuiFlexGroup>
2076
+ * </EuiFlexItem>
2077
2077
  * @default "div"
2078
2078
  */
2079
2079
  component?: TComponent | undefined;
2080
2080
  } & {
2081
2081
  ref?: React.Ref<TComponentRef> | undefined;
2082
- }) => ReturnType<typeof EuiFlexItemInternal>) & {
2082
+ }) => ReactElement) & {
2083
2083
  displayName?: string | undefined;
2084
2084
  };
2085
- export {};
2086
2085
 
2087
2086
  }
2088
2087
  declare module '@elastic/eui/src/components/flex' {
@@ -2755,7 +2754,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2755
2754
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2756
2755
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2757
2756
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
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")[];
2757
+ 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" | "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" | "cut" | "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" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "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")[];
2759
2758
  export type EuiIconType = keyof typeof typeToPathMap;
2760
2759
  export type IconType = EuiIconType | string | ComponentType;
2761
2760
  export type IconColor = string | NamedColor;
@@ -2798,7 +2797,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2798
2797
  isLoading: boolean;
2799
2798
  neededLoading: boolean;
2800
2799
  }
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;
2800
+ 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" | "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" | "cut" | "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" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "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;
2802
2801
  export const appendIconComponentCache: (iconTypeToIconComponentMap: {
2803
2802
  [iconType: string]: React.ComponentType<{}>;
2804
2803
  }) => void;
@@ -4462,13 +4461,18 @@ declare module '@elastic/eui/src/components/inner_text' {
4462
4461
  export type { EuiInnerTextProps } from '@elastic/eui/src/components/inner_text/inner_text';
4463
4462
  export { useInnerText, EuiInnerText } from '@elastic/eui/src/components/inner_text/inner_text';
4464
4463
 
4464
+ }
4465
+ declare module '@elastic/eui/src/components/table/table_header_cell_shared' {
4466
+ export const HEADER_CELL_SCOPE: readonly ["col", "row", "colgroup", "rowgroup"];
4467
+
4465
4468
  }
4466
4469
  declare module '@elastic/eui/src/components/table/table_header_cell' {
4467
4470
  import { FunctionComponent, ThHTMLAttributes } from 'react';
4468
4471
  import { HorizontalAlignment } from '@elastic/eui/src/services';
4469
4472
  import { CommonProps, NoArgCallback } from '@elastic/eui/src/components/common';
4470
4473
  import type { EuiTableRowCellMobileOptionsShape } from '@elastic/eui/src/components/table/table_row_cell';
4471
- export type TableHeaderCellScope = 'col' | 'row' | 'colgroup' | 'rowgroup';
4474
+ import { HEADER_CELL_SCOPE } from '@elastic/eui/src/components/table/table_header_cell_shared';
4475
+ export type TableHeaderCellScope = (typeof HEADER_CELL_SCOPE)[number];
4472
4476
  export type EuiTableHeaderCellProps = CommonProps & Omit<ThHTMLAttributes<HTMLTableHeaderCellElement>, 'align' | 'scope'> & {
4473
4477
  align?: HorizontalAlignment;
4474
4478
  isSortAscending?: boolean;
@@ -4489,7 +4493,8 @@ declare module '@elastic/eui/src/components/table/table_header_cell' {
4489
4493
  declare module '@elastic/eui/src/components/table/table_header_cell_checkbox' {
4490
4494
  import { FunctionComponent, ThHTMLAttributes } from 'react';
4491
4495
  import { CommonProps } from '@elastic/eui/src/components/common';
4492
- export type EuiTableHeaderCellCheckboxScope = 'col' | 'row' | 'colgroup' | 'rowgroup';
4496
+ import { HEADER_CELL_SCOPE } from '@elastic/eui/src/components/table/table_header_cell_shared';
4497
+ export type EuiTableHeaderCellCheckboxScope = (typeof HEADER_CELL_SCOPE)[number];
4493
4498
  export interface EuiTableHeaderCellCheckboxProps {
4494
4499
  width?: string | number;
4495
4500
  scope?: EuiTableHeaderCellCheckboxScope;
@@ -6189,12 +6194,12 @@ declare module '@elastic/eui/src/components/tool_tip/icon_tip' {
6189
6194
  iconProps?: Omit<PropsOf<typeof EuiIcon>, 'type'> & {
6190
6195
  type?: never;
6191
6196
  };
6192
- } type Props = Omit<EuiToolTipProps, 'children' | 'delay' | 'position'> & EuiIconTipProps & {
6197
+ }
6198
+ export type Props = Omit<EuiToolTipProps, 'children' | 'delay' | 'position'> & EuiIconTipProps & {
6193
6199
  delay?: EuiToolTipProps['delay'];
6194
6200
  position?: EuiToolTipProps['position'];
6195
6201
  };
6196
6202
  export const EuiIconTip: FunctionComponent<Props>;
6197
- export {};
6198
6203
 
6199
6204
  }
6200
6205
  declare module '@elastic/eui/src/components/tool_tip' {
@@ -11142,7 +11147,7 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
11142
11147
  as?: T;
11143
11148
  } & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
11144
11149
  export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
11145
- export const EuiFlyout: <T extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
11150
+ export const EuiFlyout: <T extends React.ElementType = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
11146
11151
  export {};
11147
11152
 
11148
11153
  }
package/i18ntokens.json CHANGED
@@ -4903,12 +4903,12 @@
4903
4903
  "start": {
4904
4904
  "line": 593,
4905
4905
  "column": 6,
4906
- "index": 17613
4906
+ "index": 17675
4907
4907
  },
4908
4908
  "end": {
4909
4909
  "line": 596,
4910
4910
  "column": 8,
4911
- "index": 17848
4911
+ "index": 17910
4912
4912
  }
4913
4913
  },
4914
4914
  "filepath": "src/components/form/range/dual_range.tsx"
@@ -6665,14 +6665,14 @@
6665
6665
  "highlighting": "string",
6666
6666
  "loc": {
6667
6667
  "start": {
6668
- "line": 77,
6668
+ "line": 78,
6669
6669
  "column": 10,
6670
- "index": 2359
6670
+ "index": 2418
6671
6671
  },
6672
6672
  "end": {
6673
- "line": 81,
6673
+ "line": 82,
6674
6674
  "column": 11,
6675
- "index": 2533
6675
+ "index": 2592
6676
6676
  }
6677
6677
  },
6678
6678
  "filepath": "src/components/table/table_header_cell.tsx"
@@ -6847,12 +6847,12 @@
6847
6847
  "start": {
6848
6848
  "line": 65,
6849
6849
  "column": 27,
6850
- "index": 1855
6850
+ "index": 1862
6851
6851
  },
6852
6852
  "end": {
6853
6853
  "line": 65,
6854
6854
  "column": 76,
6855
- "index": 1904
6855
+ "index": 1911
6856
6856
  }
6857
6857
  },
6858
6858
  "filepath": "src/components/tool_tip/icon_tip.tsx"
@@ -27,6 +27,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
27
27
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
28
28
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
29
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
31
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
32
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
33
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
34
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
35
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
30
36
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
31
37
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
32
38
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -62,6 +68,8 @@ var EuiBadge = function EuiBadge(_ref) {
62
68
  var isNamedColor = COLORS.includes(color);
63
69
  var euiTheme = (0, _services.useEuiTheme)();
64
70
  var customColorStyles = (0, _react.useMemo)(function () {
71
+ // Disabled badges should not have custom colors
72
+ if (isDisabled) return style;
65
73
  // Named colors set their styles via Emotion CSS and not inline styles
66
74
  if (isNamedColor) return style;
67
75
 
@@ -76,17 +84,17 @@ var EuiBadge = function EuiBadge(_ref) {
76
84
  console.warn("Warning: ".concat(color, " badge has a low contrast of ").concat(contrastRatio.toFixed(2), ". Should be above ").concat(_services.wcagContrastMin, "."));
77
85
  }
78
86
  return _objectSpread({
79
- backgroundColor: color,
80
- color: textColor
87
+ '--euiBadgeBackgroundColor': color,
88
+ '--euiBadgeTextColor': textColor
81
89
  }, style);
82
90
  } catch (err) {
83
91
  if (!(0, _color_utils.getIsValidColor)(color)) {
84
92
  console.warn('EuiBadge expects a valid color. This can either be a three or six ' + "character hex value, rgb(a) value, hsv value, hollow, or one of the following: ".concat(COLORS, ". ") + "Instead got ".concat(color, "."));
85
93
  }
86
94
  }
87
- }, [color, isNamedColor, style, euiTheme]);
95
+ }, [color, isNamedColor, isDisabled, style, euiTheme]);
88
96
  var styles = (0, _services.useEuiMemoizedStyles)(_badge.euiBadgeStyles);
89
- var cssStyles = [styles.euiBadge, isNamedColor && styles[color], (onClick || href) && !iconOnClick && styles.clickable, isDisabled && styles.disabled];
97
+ var cssStyles = [styles.euiBadge].concat(_toConsumableArray(isDisabled ? [styles.disabled] : [isNamedColor && styles[color], !iconOnClick && (onClick || href) && styles.clickable]));
90
98
  var textCssStyles = [styles.text.euiBadge__text, (onClick || href) && !isDisabled && styles.text.clickable];
91
99
  var iconCssStyles = [styles.icon.euiBadge__icon, styles.icon[iconSide]];
92
100
  var iconButtonCssStyles = [styles.iconButton.euiBadge__iconButton, styles.iconButton[iconSide]];
@@ -26,24 +26,27 @@ var _ref = process.env.NODE_ENV === "production" ? {
26
26
  var euiBadgeStyles = function euiBadgeStyles(euiThemeContext) {
27
27
  var euiTheme = euiThemeContext.euiTheme;
28
28
  var badgeColors = (0, _color_utils.euiBadgeColors)(euiThemeContext);
29
+ var setBadgeColorVars = function setBadgeColorVars(colors) {
30
+ return "\n --euiBadgeTextColor: ".concat(colors.color, ";\n --euiBadgeBackgroundColor: ").concat(colors.backgroundColor, ";\n ");
31
+ };
29
32
  return {
30
33
  euiBadge: /*#__PURE__*/(0, _react.css)("display:inline-block;vertical-align:middle;", (0, _global_styling.logicalShorthandCSS)('padding', "0 ".concat(euiTheme.size.s)), " ", (0, _global_styling.logicalCSS)('max-width', '100%'), " font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 'xs').fontSize, ";line-height:", (0, _global_styling.mathWithUnits)(
31
34
  // Account for the border
32
35
  [euiTheme.size.base, euiTheme.border.width.thin], function (x, y) {
33
36
  return x + y * 2;
34
- }), ";font-weight:", euiTheme.font.weight.medium, ";white-space:nowrap;text-decoration:none;cursor:default;background-color:transparent;border:", euiTheme.border.width.thin, " solid transparent;border-radius:", (0, _global_styling.mathWithUnits)(euiTheme.border.radius.medium, function (x) {
37
+ }), ";font-weight:", euiTheme.font.weight.medium, ";white-space:nowrap;text-decoration:none;cursor:default;border:", euiTheme.border.width.thin, " solid transparent;border-radius:", (0, _global_styling.mathWithUnits)(euiTheme.border.radius.medium, function (x) {
35
38
  return x / 2;
36
- }), ";", (0, _global_styling.logicalTextAlignCSS)('left'), " &:focus-within{", (0, _global_styling.euiFocusRing)(euiThemeContext), ";}&+.euiBadge{", (0, _global_styling.logicalCSS)('margin-left', euiTheme.size.xs), ";};label:euiBadge;"),
39
+ }), ";", (0, _global_styling.logicalTextAlignCSS)('left'), "color:var(--euiBadgeTextColor, ", badgeColors.default.color, ");background-color:var(\n --euiBadgeBackgroundColor,\n ", badgeColors.default.backgroundColor, "\n );*::selection{color:var(\n --euiBadgeBackgroundColor,\n ", badgeColors.default.backgroundColor, "\n );background-color:var(\n --euiBadgeTextColor,\n ", badgeColors.default.color, "\n );}&:focus-within{", (0, _global_styling.euiFocusRing)(euiThemeContext), ";}&+.euiBadge{", (0, _global_styling.logicalCSS)('margin-left', euiTheme.size.xs), ";};label:euiBadge;"),
37
40
  clickable: /*#__PURE__*/(0, _react.css)("&:not(:disabled){&:hover,&:focus{text-decoration:underline;}}&:focus{", (0, _global_styling.euiFocusRing)(euiThemeContext), ";}&:disabled{cursor:not-allowed;};label:clickable;"),
38
41
  // Colors
39
- default: /*#__PURE__*/(0, _react.css)(badgeColors.default, ";label:default;"),
40
- hollow: /*#__PURE__*/(0, _react.css)("color:", badgeColors.hollow.color, ";background-color:", badgeColors.hollow.backgroundColor, ";border-color:", badgeColors.hollow.borderColor, ";;label:hollow;"),
41
- primary: /*#__PURE__*/(0, _react.css)(badgeColors.primary, ";label:primary;"),
42
- accent: /*#__PURE__*/(0, _react.css)(badgeColors.accent, ";label:accent;"),
43
- warning: /*#__PURE__*/(0, _react.css)(badgeColors.warning, ";label:warning;"),
44
- danger: /*#__PURE__*/(0, _react.css)(badgeColors.danger, ";label:danger;"),
45
- success: /*#__PURE__*/(0, _react.css)(badgeColors.success, ";label:success;"),
46
- disabled: /*#__PURE__*/(0, _react.css)("color:", badgeColors.disabled.color, "!important;background-color:", badgeColors.disabled.backgroundColor, "!important;;label:disabled;"),
42
+ default: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.default), ";label:default;"),
43
+ hollow: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.hollow), " border-color:", badgeColors.hollow.borderColor, ";;label:hollow;"),
44
+ primary: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.primary), ";label:primary;"),
45
+ accent: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.accent), ";label:accent;"),
46
+ warning: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.warning), ";label:warning;"),
47
+ danger: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.danger), ";label:danger;"),
48
+ success: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.success), ";label:success;"),
49
+ disabled: /*#__PURE__*/(0, _react.css)(setBadgeColorVars(badgeColors.disabled), "*::selection{color:", euiTheme.colors.emptyShade, ";};label:disabled;"),
47
50
  // Content wrapper
48
51
  euiBadge__content: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)(
49
52
  // Ensure proper height in case of just displaying an icon
@@ -86,7 +86,7 @@ var EuiDatePicker = function EuiDatePicker(_ref) {
86
86
  injectTimes = _ref.injectTimes,
87
87
  inline = _ref.inline,
88
88
  inputRef = _ref.inputRef,
89
- isInvalid = _ref.isInvalid,
89
+ _isInvalid = _ref.isInvalid,
90
90
  isLoading = _ref.isLoading,
91
91
  locale = _ref.locale,
92
92
  maxDate = _ref.maxDate,
@@ -119,6 +119,9 @@ var EuiDatePicker = function EuiDatePicker(_ref) {
119
119
  'euiDatePicker--inline': inline,
120
120
  'euiDatePicker--shadow': inline && shadow
121
121
  });
122
+
123
+ // Check for whether the passed `selected` moment date is valid
124
+ var isInvalid = _isInvalid || ((selected === null || selected === void 0 ? void 0 : selected.isValid()) === false ? true : undefined);
122
125
  var numIconsClass = controlOnly ? false : (0, _num_icons.getFormControlClassNameForIconCount)({
123
126
  isInvalid: isInvalid,
124
127
  isLoading: isLoading
@@ -14,8 +14,9 @@ var _react = _interopRequireDefault(require("react"));
14
14
  var _propTypes = _interopRequireDefault(require("prop-types"));
15
15
  var _classnames = _interopRequireDefault(require("classnames"));
16
16
  var _calendar_container = _interopRequireDefault(require("./calendar_container"));
17
- var _date_utils = require("./date_utils");
18
17
  var _focus_trap = require("../../../focus_trap");
18
+ var _screen_reader_only = require("../../../accessibility/screen_reader_only");
19
+ var _date_utils = require("./date_utils");
19
20
  var _react2 = require("@emotion/react");
20
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
22
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -222,10 +223,13 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
222
223
  var day = (0, _date_utils.addDays)((0, _date_utils.cloneDate)(startOfWeek), offset);
223
224
  var localeData = (0, _date_utils.getLocaleData)(day);
224
225
  var weekDayName = _this.formatWeekday(localeData, day);
226
+ var weekDayNameLong = localeData.weekdays(day);
225
227
  return (0, _react2.jsx)("div", {
226
228
  key: offset,
227
229
  className: "react-datepicker__day-name"
228
- }, weekDayName);
230
+ }, (0, _react2.jsx)("span", {
231
+ "aria-hidden": "true"
232
+ }, weekDayName), (0, _react2.jsx)(_screen_reader_only.EuiScreenReaderOnly, null, (0, _react2.jsx)("span", null, weekDayNameLong)));
229
233
  }));
230
234
  });
231
235
  _defineProperty(_assertThisInitialized(_this), "formatWeekday", function (localeData, day) {
@@ -68,6 +68,9 @@ function hasPreSelectionChanged(date1, date2) {
68
68
  }
69
69
  function hasSelectionChanged(date1, date2) {
70
70
  if (date1 && date2) {
71
+ if (date1._isValid === false && date2._isValid === false) {
72
+ return false;
73
+ }
71
74
  return !(0, _date_utils.equals)(date1, date2);
72
75
  }
73
76
  return false;
@@ -88,6 +91,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
88
91
  return _this.props.openToDate ? (0, _date_utils.newDate)(_this.props.openToDate) : _this.props.selectsEnd && _this.props.startDate ? (0, _date_utils.newDate)(_this.props.startDate) : _this.props.selectsStart && _this.props.endDate ? (0, _date_utils.newDate)(_this.props.endDate) : (0, _date_utils.now)(_this.props.utcOffset);
89
92
  });
90
93
  _defineProperty(_assertThisInitialized(_this), "calcInitialState", function () {
94
+ var _this$props$selected;
91
95
  var defaultPreSelection = _this.getPreSelection();
92
96
  var minDate = (0, _date_utils.getEffectiveMinDate)(_this.props);
93
97
  var maxDate = (0, _date_utils.getEffectiveMaxDate)(_this.props);
@@ -95,7 +99,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
95
99
  return {
96
100
  open: _this.props.startOpen || false,
97
101
  preventFocus: false,
98
- preSelection: _this.props.selected ? (0, _date_utils.newDate)(_this.props.selected) : boundedPreSelection,
102
+ preSelection: (_this$props$selected = _this.props.selected) !== null && _this$props$selected !== void 0 && _this$props$selected._isValid ? (0, _date_utils.newDate)(_this.props.selected) : boundedPreSelection,
99
103
  // transforming highlighted days (perhaps nested array)
100
104
  // to flat Map for faster access in day.jsx
101
105
  highlightDates: (0, _date_utils.getHightLightDaysMap)(_this.props.highlightDates),
@@ -447,6 +451,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
447
451
  _this.onClearClick();
448
452
  });
449
453
  _defineProperty(_assertThisInitialized(_this), "renderCalendar", function () {
454
+ var _this$props$selected2;
450
455
  if (!_this.props.inline && !_this.isCalendarOpen()) {
451
456
  return null;
452
457
  }
@@ -462,7 +467,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
462
467
  useWeekdaysShort: _this.props.useWeekdaysShort,
463
468
  formatWeekDay: _this.props.formatWeekDay,
464
469
  dropdownMode: _this.props.dropdownMode,
465
- selected: _this.props.selected,
470
+ selected: (_this$props$selected2 = _this.props.selected) !== null && _this$props$selected2 !== void 0 && _this$props$selected2._isValid ? _this.props.selected : undefined,
466
471
  preSelection: _this.state.preSelection,
467
472
  onSelect: _this.handleSelect,
468
473
  onWeekSelect: _this.props.onWeekSelect,
@@ -257,9 +257,7 @@ var Time = /*#__PURE__*/function (_React$Component) {
257
257
  });
258
258
  var screenReaderInstructions;
259
259
  if (this.state.readInstructions) {
260
- screenReaderInstructions = (0, _react2.jsx)("p", {
261
- "aria-live": true
262
- }, "You are a in a time selector. Use the up and down keys to select from other common times then press enter to confirm.", this.state.preSelection ? "".concat((0, _date_utils.formatDate)(this.state.preSelection, this.timeFormat), " is currently\n focused.") : "No time is currently focused.");
260
+ screenReaderInstructions = (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)("p", null, "You are a in a time selector. Use the up and down keys to select from other common times then press enter to confirm."), (0, _react2.jsx)("p", null, this.state.preSelection ? "".concat((0, _date_utils.formatDate)(this.state.preSelection, this.timeFormat), " is currently\n focused.") : "No time is currently focused."));
263
261
  }
264
262
  return (0, _react2.jsx)("div", {
265
263
  className: classNames
@@ -270,7 +268,10 @@ var Time = /*#__PURE__*/function (_React$Component) {
270
268
  }
271
269
  }, (0, _react2.jsx)("div", {
272
270
  className: "react-datepicker-time__header"
273
- }, this.props.timeCaption), (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("span", null, screenReaderInstructions))), (0, _react2.jsx)("div", {
271
+ }, this.props.timeCaption), (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("span", {
272
+ "aria-live": "polite",
273
+ "aria-atomic": "false"
274
+ }, screenReaderInstructions))), (0, _react2.jsx)("div", {
274
275
  className: "react-datepicker__time"
275
276
  }, (0, _react2.jsx)("div", {
276
277
  className: timeBoxClassNames,
@@ -16,7 +16,6 @@ var _excluded = ["onBeforeDragStart", "onDragStart", "onDragUpdate", "onDragEnd"
16
16
  * in compliance with, at your election, the Elastic License 2.0 or the Server
17
17
  * Side Public License, v 1.
18
18
  */
19
- // export interface EuiDragDropContextProps extends DragDropContextProps {}
20
19
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
22
21
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -53,9 +53,10 @@ var EuiFlexGroupInternal = function EuiFlexGroupInternal(_ref, ref) {
53
53
  var cssStyles = [styles.euiFlexGroup, responsive && !direction.includes('column') && styles.responsive, wrap && styles.wrap, styles.gutterSizes[gutterSize], styles.justifyContent[justifyContent], styles.alignItems[alignItems], styles.direction[direction]];
54
54
  var classes = (0, _classnames.default)('euiFlexGroup', className);
55
55
 
56
- // Cast the resolved component prop type to ComponentType to help TS
57
- // process multiple infers and the overall type complexity.
58
- // This might not be needed in TypeScript 5
56
+ // Cast `component` to FunctionComponent to simplify its type.
57
+ // Note that FunctionComponent type is used here for purely typing
58
+ // convenience since we specify the return type above, and function
59
+ // components don't support `ref`s, but that doesn't matter in this case.
59
60
  var Component = component;
60
61
  return (0, _react2.jsx)(Component, _extends({}, rest, {
61
62
  ref: ref,
@@ -40,9 +40,10 @@ var EuiFlexItemInternal = function EuiFlexItemInternal(_ref, ref) {
40
40
  var cssStyles = [_flex_item.euiFlexItemStyles.euiFlexItem, !grow ? _flex_item.euiFlexItemStyles.growZero : _flex_item.euiFlexItemStyles.grow, grow && (typeof grow === 'number' ? _flex_item.euiFlexItemStyles.growSizes[grow] : _flex_item.euiFlexItemStyles.growSizes['1'])];
41
41
  var classes = (0, _classnames.default)('euiFlexItem', className);
42
42
 
43
- // Cast the resolved component prop type to ComponentType to help TS
44
- // process multiple infers and the overall type complexity.
45
- // This might not be needed in TypeScript 5
43
+ // Cast `component` to FunctionComponent to simplify its type.
44
+ // Note that FunctionComponent type is used here for purely typing
45
+ // convenience since we specify the return type above, and function
46
+ // components don't support `ref`s, but that doesn't matter in this case.
46
47
  var Component = component;
47
48
  return (0, _react2.jsx)(Component, _extends({}, rest, {
48
49
  ref: ref,
@@ -393,7 +393,7 @@ var EuiDualRangeClass = /*#__PURE__*/function (_Component) {
393
393
  // Non-overridable props
394
394
  side: "min",
395
395
  min: min,
396
- max: Number(this.upperValue),
396
+ max: this.upperValue === '' ? max : Number(this.upperValue),
397
397
  step: step,
398
398
  compressed: compressed,
399
399
  autoSize: !showInputOnly,
@@ -448,7 +448,7 @@ var EuiDualRangeClass = /*#__PURE__*/function (_Component) {
448
448
  }, maxInputProps, {
449
449
  // Non-overridable props
450
450
  side: "max",
451
- min: Number(this.lowerValue),
451
+ min: this.lowerValue === '' ? min : Number(this.lowerValue),
452
452
  max: max,
453
453
  step: step,
454
454
  compressed: compressed,