@elastic/eui 106.3.0-amsterdam.0 → 106.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/es/components/modal/modal.js +10 -4
  2. package/es/components/page/page_header/page_header_content.js +2 -1
  3. package/es/components/popover/input_popover.js +15 -9
  4. package/es/components/provider/provider.js +2 -2
  5. package/es/services/color/vis_color_store.js +1 -1
  6. package/es/services/theme/context.js +2 -2
  7. package/eui.d.ts +376 -370
  8. package/lib/components/modal/modal.js +10 -4
  9. package/lib/components/page/page_header/page_header_content.js +2 -1
  10. package/lib/components/popover/input_popover.js +15 -9
  11. package/lib/components/provider/provider.js +2 -2
  12. package/lib/services/color/vis_color_store.js +2 -2
  13. package/lib/services/theme/context.js +2 -2
  14. package/optimize/es/components/modal/modal.js +4 -3
  15. package/optimize/es/components/page/page_header/page_header_content.js +2 -1
  16. package/optimize/es/components/popover/input_popover.js +15 -9
  17. package/optimize/es/components/provider/provider.js +2 -2
  18. package/optimize/es/services/color/vis_color_store.js +1 -1
  19. package/optimize/es/services/theme/context.js +2 -2
  20. package/optimize/lib/components/modal/modal.js +4 -3
  21. package/optimize/lib/components/page/page_header/page_header_content.js +2 -1
  22. package/optimize/lib/components/popover/input_popover.js +15 -9
  23. package/optimize/lib/components/provider/provider.js +2 -2
  24. package/optimize/lib/services/color/vis_color_store.js +2 -2
  25. package/optimize/lib/services/theme/context.js +2 -2
  26. package/package.json +3 -3
  27. package/src/themes/amsterdam/_colors_dark.scss +2 -2
  28. package/src/themes/amsterdam/_colors_light.scss +3 -3
  29. package/test-env/components/flyout/flyout.js +8 -4
  30. package/test-env/components/modal/modal.js +10 -4
  31. package/test-env/components/page/page_header/page_header_content.js +2 -1
  32. package/test-env/components/popover/input_popover.js +15 -9
  33. package/test-env/components/provider/provider.js +2 -2
  34. package/test-env/services/color/vis_color_store.js +2 -2
  35. package/test-env/services/theme/context.js +2 -2
package/eui.d.ts CHANGED
@@ -171,13 +171,124 @@ declare module '@elastic/eui/src/components/common' {
171
171
  onClick?: MouseEventHandler<HTMLButtonElement>;
172
172
  } & ButtonHTMLAttributes<HTMLButtonElement> & P;
173
173
 
174
+ }
175
+ declare module '@elastic/eui/src/services/theme/types' {
176
+ export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
177
+
174
178
  }
175
179
  declare module '@elastic/eui/src/services/theme/utils' {
176
180
  export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
177
181
 
178
182
  }
179
- declare module '@elastic/eui/src/services/theme/types' {
180
- export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
183
+ declare module '@elastic/eui/src/services/theme/context' {
184
+ import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
185
+ export const DEFAULTS: {
186
+ system: {
187
+ model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
188
+ root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
189
+ key: string;
190
+ };
191
+ modifications: {};
192
+ colorMode: "LIGHT";
193
+ highContrastMode: false;
194
+ };
195
+ export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
196
+ export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
197
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
198
+ }>>;
199
+ export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
200
+ export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
201
+ export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
202
+ export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
203
+ export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
204
+
205
+ }
206
+ declare module '@elastic/eui/src/services/theme/warning' {
207
+ type LEVELS = 'log' | 'warn' | 'error';
208
+ type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
209
+ export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
210
+ export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
211
+ export const emitEuiProviderWarning: (providerMessage: string) => void;
212
+ export {};
213
+
214
+ }
215
+ declare module '@elastic/eui/src/services/theme/hooks' {
216
+ import React from 'react';
217
+ import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
218
+ /**
219
+ * Hook for function components
220
+ */
221
+ export interface UseEuiTheme<T extends {} = {}> {
222
+ euiTheme: EuiThemeComputed<T>;
223
+ colorMode: EuiThemeColorModeStandard;
224
+ highContrastMode: EuiThemeHighContrastMode;
225
+ modifications: EuiThemeModifications<T>;
226
+ }
227
+ export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
228
+ /**
229
+ * HOC for class components
230
+ */
231
+ export interface WithEuiThemeProps<P extends {} = {}> {
232
+ theme: UseEuiTheme<P>;
233
+ }
234
+ export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
235
+ /**
236
+ * Render prop alternative for complex class components
237
+ * Most useful for scenarios where a HOC may interfere with typing
238
+ */
239
+ export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
240
+ children: (theme: UseEuiTheme) => React.ReactElement;
241
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
242
+ /**
243
+ * Minor syntactical sugar hook for theme CSS variables.
244
+ * Primarily meant for internal EUI usage.
245
+ */
246
+ export const useEuiThemeCSSVariables: () => {
247
+ setGlobalCSSVariables: Function;
248
+ globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
249
+ setNearestThemeCSSVariables: Function;
250
+ themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
251
+ };
252
+ /**
253
+ * Checks whether the current active `colorMode` is set to `DARK`;
254
+ * In case of nested providers this returns the value of the nearest provider context.
255
+ */
256
+ export const useIsDarkMode: () => boolean;
257
+
258
+ }
259
+ declare module '@elastic/eui/src/services/throttle' {
260
+ export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
261
+
262
+ }
263
+ declare module '@elastic/eui/src/services/breakpoint/_sorting' {
264
+ import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
265
+ export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
266
+ export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
267
+
268
+ }
269
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
270
+ import React, { FunctionComponent, PropsWithChildren } from 'react';
271
+ import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
272
+ type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
273
+ export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
274
+ /**
275
+ * Returns the current breakpoint based on window width.
276
+ * Typically only called by the top-level `EuiProvider` (to reduce the number
277
+ * of window resize listeners on the page). Also conditionally called if a
278
+ * nested `EuiThemeProvider` defines a `modify.breakpoint` override
279
+ */
280
+ export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
281
+ export {};
282
+
283
+ }
284
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
285
+ /**
286
+ * Hook util / syntactical sugar for useContext()
287
+ *
288
+ * This hook is in its own separate file to make mocking it
289
+ * as a testenv easy for Jest unit tests
290
+ */
291
+ export const useCurrentEuiBreakpoint: () => string | undefined;
181
292
 
182
293
  }
183
294
  declare module '@elastic/eui/src/services/emotion/clone_element' {
@@ -276,10 +387,6 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
276
387
  */
277
388
  export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
278
389
 
279
- }
280
- declare module '@elastic/eui/src/services/throttle' {
281
- export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
282
-
283
390
  }
284
391
  declare module '@elastic/eui/src/services/hooks/useMouseMove' {
285
392
  import { MouseEvent, TouchEvent } from 'react';
@@ -302,15 +409,6 @@ declare module '@elastic/eui/src/services/hooks' {
302
409
  export * from '@elastic/eui/src/services/hooks/useMouseMove';
303
410
  export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
304
411
 
305
- }
306
- declare module '@elastic/eui/src/services/theme/warning' {
307
- type LEVELS = 'log' | 'warn' | 'error';
308
- type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
309
- export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
310
- export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
311
- export const emitEuiProviderWarning: (providerMessage: string) => void;
312
- export {};
313
-
314
412
  }
315
413
  declare module '@elastic/eui/src/services/theme/style_memoization' {
316
414
  import React, { FunctionComponent, PropsWithChildren } from 'react';
@@ -507,11 +605,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
507
605
  */
508
606
  categorical?: boolean): string[];
509
607
 
510
- }
511
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
512
- import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
513
- export const colorVisLight: _EuiThemeVisColors;
514
-
515
608
  }
516
609
  declare module '@elastic/eui/src/services/color/vis_color_store' {
517
610
  import { _EuiVisColorStore } from '@elastic/eui-theme-common';
@@ -1178,7 +1271,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1178
1271
  */
1179
1272
  export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
1180
1273
  export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
1181
- export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
1274
+ export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
1182
1275
 
1183
1276
  }
1184
1277
  declare module '@elastic/eui/src/global_styling/mixins/_states' {
@@ -1228,12 +1321,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1228
1321
  */
1229
1322
  export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
1230
1323
 
1231
- }
1232
- declare module '@elastic/eui/src/services/breakpoint/_sorting' {
1233
- import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
1234
- export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1235
- export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1236
-
1237
1324
  }
1238
1325
  declare module '@elastic/eui/src/global_styling/variables/animations' {
1239
1326
  export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
@@ -2956,7 +3043,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2956
3043
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2957
3044
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2958
3045
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2959
- export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "push" | "temperature" | "refresh" | "scale" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "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" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "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" | "thumbDown" | "thumbUp" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "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" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "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" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "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")[];
3046
+ export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "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" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "thumbDown" | "thumbUp" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "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" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "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" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "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")[];
2960
3047
  export type EuiIconType = keyof typeof typeToPathMap;
2961
3048
  export type IconType = EuiIconType | string | ComponentType;
2962
3049
  export type IconColor = string | NamedColor;
@@ -6256,7 +6343,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
6256
6343
  import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
6257
6344
  import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
6258
6345
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
6259
- export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
6346
+ export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
6260
6347
  export type PanelPaddingSize = (typeof _SIZES)[number];
6261
6348
  export const BORDER_RADII: readonly ["none", "m"];
6262
6349
  export type PanelBorderRadius = (typeof BORDER_RADII)[number];
@@ -8130,109 +8217,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
8130
8217
  import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
8131
8218
  export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
8132
8219
 
8133
- }
8134
- declare module '@elastic/eui/src/services/color/contrast' {
8135
- export const wcagContrastMin = 4.5;
8136
- /**
8137
- * Creates a new color that meets or exceeds WCAG level AA
8138
- * @param foreground - Color to manipulate
8139
- * @param ratio - Amount to change in absolute terms. 0-10.
8140
- * *
8141
- * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
8142
- */
8143
- export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
8144
- colors: {
8145
- body: string;
8146
- };
8147
- [key: string]: any;
8148
- }) => string;
8149
- /**
8150
- * Creates a new color with increased contrast
8151
- * Disabled content only needs a contrast of at least 2 because there is no interaction available
8152
- * @param foreground - Color to manipulate
8153
- * @param ratio - Amount to change in absolute terms. 0-10.
8154
- * *
8155
- * @param themeOrBackground - Color to use as the contrast basis
8156
- */
8157
- export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
8158
- colors: {
8159
- body: string;
8160
- };
8161
- [key: string]: any;
8162
- }) => string;
8163
-
8164
- }
8165
- declare module '@elastic/eui/src/services/color' {
8166
- export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
8167
- export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
8168
- export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
8169
- export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
8170
- export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
8171
- export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
8172
- export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
8173
- export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
8174
- export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
8175
- export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
8176
- export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
8177
- export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
8178
- export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteSkyBlue, euiPaletteYellow, euiPaletteOrange, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
8179
- export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
8180
- export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
8181
- export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
8182
- export * from '@elastic/eui/src/services/color/manipulation';
8183
- export * from '@elastic/eui/src/services/color/contrast';
8184
-
8185
- }
8186
- declare module '@elastic/eui/src/services/theme/provider' {
8187
- import React, { PropsWithChildren, HTMLAttributes } from 'react';
8188
- import type { CommonProps } from '@elastic/eui/src/components/common';
8189
- import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
8190
- export interface EuiThemeProviderProps<T> extends PropsWithChildren {
8191
- theme?: EuiThemeSystem<T>;
8192
- colorMode?: EuiThemeColorMode;
8193
- highContrastMode?: EuiThemeHighContrastModeProp;
8194
- modify?: EuiThemeModifications<T>;
8195
- children: any;
8196
- /**
8197
- * Nested theme providers will receive a wrapping `span` tag in order to correctly
8198
- * set the default text `color` that all nested children will inherit.
8199
- *
8200
- * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
8201
- * This requires a **single** child component that the correct color class can be passed to.
8202
- *
8203
- * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
8204
- * the default inherited text color will be set on the page `body`.
8205
- */
8206
- wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
8207
- cloneElement?: boolean;
8208
- };
8209
- }
8210
- export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
8211
-
8212
- }
8213
- declare module '@elastic/eui/src/services/theme/theme_variant' {
8214
- import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
8215
- export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
8216
- /**
8217
- * Util to retrieve visual variant for UI elements
8218
- * Note: Temporary only - will be removed once the visual refresh is completed.
8219
- */
8220
- export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
8221
-
8222
- }
8223
- declare module '@elastic/eui/src/services/theme' {
8224
- export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
8225
- export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
8226
- export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
8227
- export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
8228
- export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
8229
- export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
8230
- export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
8231
- export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
8232
- export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
8233
- export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
8234
- export * from '@elastic/eui/src/services/theme/theme_variant';
8235
-
8236
8220
  }
8237
8221
  declare module '@elastic/eui/src/services/color/manipulation' {
8238
8222
  import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
@@ -8299,254 +8283,107 @@ declare module '@elastic/eui/src/services/color/manipulation' {
8299
8283
  export const brighten: (color: string, amount: number) => string;
8300
8284
 
8301
8285
  }
8302
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
8303
- import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
8304
- export const colorVisDark: _EuiThemeVisColors;
8305
-
8306
- }
8307
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
8286
+ declare module '@elastic/eui/src/services/color/contrast' {
8287
+ export const wcagContrastMin = 4.5;
8308
8288
  /**
8309
- * These are not actually used, but we map them to ensure token parity.
8310
- * They are mapped to other vis colors
8289
+ * Creates a new color that meets or exceeds WCAG level AA
8290
+ * @param foreground - Color to manipulate
8291
+ * @param ratio - Amount to change in absolute terms. 0-10.
8292
+ * *
8293
+ * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
8311
8294
  */
8312
- export const severityColors: {
8313
- unknown: string;
8314
- neutral: string;
8315
- success: string;
8316
- warning: string;
8317
- risk: string;
8318
- danger: string;
8319
- };
8320
-
8321
- }
8322
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
8323
- import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
8324
- export const brand_colors: _EuiThemeBrandColors;
8325
- export const brand_text_colors: _EuiThemeBrandTextColors;
8326
- export const shade_colors: _EuiThemeShadeColors;
8327
- export const special_colors: _EuiThemeSpecialColors;
8328
- export const text_colors: _EuiThemeTextColors;
8329
- export const background_colors: _EuiThemeBackgroundColors;
8330
- export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
8331
- export const border_colors: _EuiThemeBorderColors;
8332
- export const light_colors: _EuiThemeColorsMode;
8333
- export const dark_shades: _EuiThemeShadeColors;
8334
- export const dark_background_colors: _EuiThemeBackgroundColors;
8335
- export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
8336
- export const dark_border_colors: _EuiThemeBorderColors;
8337
- export const dark_colors_ams: _EuiThemeColorsMode;
8338
- export const colors: _EuiThemeColors;
8339
-
8340
- }
8341
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
8342
- import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
8343
- export const animation_speed: _EuiThemeAnimationSpeeds;
8344
- export const animation_ease: _EuiThemeAnimationEasings;
8345
- export const animation: _EuiThemeAnimation;
8346
-
8347
- }
8348
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
8349
- export { breakpoint } from '@elastic/eui-theme-common';
8350
-
8351
- }
8352
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
8353
- import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
8354
- export const base: _EuiThemeBase;
8355
- export const size: _EuiThemeSizes;
8356
-
8357
- }
8358
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
8359
- import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
8360
- export const border: _EuiThemeBorder;
8361
-
8362
- }
8363
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
8364
- import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
8365
- export const levels: _EuiThemeLevels;
8366
-
8367
- }
8368
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
8369
- import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
8370
- export const fontScale: _EuiThemeFontScales;
8371
- export const fontBase: _EuiThemeFontBase;
8372
- export const fontWeight: _EuiThemeFontWeights;
8373
- export const font: _EuiThemeFont;
8374
-
8375
- }
8376
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
8377
- import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
8378
- export const focus: _EuiThemeFocus;
8379
-
8380
- }
8381
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
8382
- import { _EuiThemeButton } from '@elastic/eui-theme-common';
8383
- export const buttons: _EuiThemeButton;
8384
-
8385
- }
8386
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
8387
- export const forms: {
8388
- maxWidth: string;
8389
- LIGHT: {
8390
- background: string;
8391
- backgroundDisabled: string;
8392
- backgroundReadOnly: any;
8393
- backgroundFocused: any;
8394
- backgroundAutofilled: string;
8395
- backgroundDropping: string;
8396
- prependBackground: string;
8397
- border: string;
8398
- borderDisabled: string;
8399
- borderFocused: any;
8400
- borderInvalid: any;
8401
- borderHovered: string;
8402
- borderInvalidHovered: any;
8403
- borderAutofilled: string;
8404
- borderAutofilledHovered: string;
8405
- clearButtonBackground: any;
8406
- controlBorder: string;
8407
- controlBorderSelected: string;
8408
- controlBorderDisabled: string;
8409
- controlBackgroundUnselected: any;
8410
- controlBackgroundDisabled: any;
8411
- colorHasPlaceholder: string;
8412
- colorDisabled: any;
8413
- iconDisabled: any;
8295
+ export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
8296
+ colors: {
8297
+ body: string;
8414
8298
  };
8415
- DARK: {
8416
- background: string;
8417
- backgroundFocused: string;
8418
- backgroundAutofilled: string;
8419
- prependBackground: string;
8420
- border: string;
8421
- clearButtonBackground: any;
8422
- controlBorder: string;
8423
- controlBorderSelected: string;
8424
- controlBorderDisabled: string;
8425
- backgroundDisabled: string;
8426
- backgroundReadOnly: any;
8427
- backgroundDropping: string;
8428
- borderDisabled: string;
8429
- borderFocused: any;
8430
- borderInvalid: any;
8431
- borderHovered: string;
8432
- borderInvalidHovered: any;
8433
- borderAutofilled: string;
8434
- borderAutofilledHovered: string;
8435
- controlBackgroundUnselected: any;
8436
- controlBackgroundDisabled: any;
8437
- colorHasPlaceholder: string;
8438
- colorDisabled: any;
8439
- iconDisabled: any;
8299
+ [key: string]: any;
8300
+ }) => string;
8301
+ /**
8302
+ * Creates a new color with increased contrast
8303
+ * Disabled content only needs a contrast of at least 2 because there is no interaction available
8304
+ * @param foreground - Color to manipulate
8305
+ * @param ratio - Amount to change in absolute terms. 0-10.
8306
+ * *
8307
+ * @param themeOrBackground - Color to use as the contrast basis
8308
+ */
8309
+ export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
8310
+ colors: {
8311
+ body: string;
8440
8312
  };
8441
- };
8442
-
8443
- }
8444
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
8445
- import { _EuiThemeComponents } from '@elastic/eui-theme-common';
8446
- export const components: _EuiThemeComponents;
8447
-
8448
- }
8449
- declare module '@elastic/eui/src/themes/amsterdam/theme' {
8450
- import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
8451
- export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
8452
- export const euiThemeAmsterdam: EuiThemeShape;
8453
- export const EuiThemeAmsterdam: {
8454
- model: EuiThemeShape;
8455
- root: EuiThemeShape;
8456
- key: string;
8457
- };
8313
+ [key: string]: any;
8314
+ }) => string;
8458
8315
 
8459
8316
  }
8460
- declare module '@elastic/eui/src/services/theme/context' {
8461
- import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
8462
- export const DEFAULTS: {
8463
- system: {
8464
- model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
8465
- root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
8466
- key: string;
8467
- };
8468
- modifications: {};
8469
- colorMode: "LIGHT";
8470
- highContrastMode: false;
8471
- };
8472
- export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
8473
- export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
8474
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
8475
- }>>;
8476
- export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
8477
- export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
8478
- export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
8479
- export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
8480
- export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
8317
+ declare module '@elastic/eui/src/services/color' {
8318
+ export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
8319
+ export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
8320
+ export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
8321
+ export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
8322
+ export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
8323
+ export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
8324
+ export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
8325
+ export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
8326
+ export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
8327
+ export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
8328
+ export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
8329
+ export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
8330
+ export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteSkyBlue, euiPaletteYellow, euiPaletteOrange, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
8331
+ export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
8332
+ export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
8333
+ export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
8334
+ export * from '@elastic/eui/src/services/color/manipulation';
8335
+ export * from '@elastic/eui/src/services/color/contrast';
8481
8336
 
8482
8337
  }
8483
- declare module '@elastic/eui/src/services/theme/hooks' {
8484
- import React from 'react';
8485
- import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
8486
- /**
8487
- * Hook for function components
8488
- */
8489
- export interface UseEuiTheme<T extends {} = {}> {
8490
- euiTheme: EuiThemeComputed<T>;
8491
- colorMode: EuiThemeColorModeStandard;
8492
- highContrastMode: EuiThemeHighContrastMode;
8493
- modifications: EuiThemeModifications<T>;
8494
- }
8495
- export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
8496
- /**
8497
- * HOC for class components
8498
- */
8499
- export interface WithEuiThemeProps<P extends {} = {}> {
8500
- theme: UseEuiTheme<P>;
8338
+ declare module '@elastic/eui/src/services/theme/provider' {
8339
+ import React, { PropsWithChildren, HTMLAttributes } from 'react';
8340
+ import type { CommonProps } from '@elastic/eui/src/components/common';
8341
+ import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
8342
+ export interface EuiThemeProviderProps<T> extends PropsWithChildren {
8343
+ theme?: EuiThemeSystem<T>;
8344
+ colorMode?: EuiThemeColorMode;
8345
+ highContrastMode?: EuiThemeHighContrastModeProp;
8346
+ modify?: EuiThemeModifications<T>;
8347
+ children: any;
8348
+ /**
8349
+ * Nested theme providers will receive a wrapping `span` tag in order to correctly
8350
+ * set the default text `color` that all nested children will inherit.
8351
+ *
8352
+ * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
8353
+ * This requires a **single** child component that the correct color class can be passed to.
8354
+ *
8355
+ * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
8356
+ * the default inherited text color will be set on the page `body`.
8357
+ */
8358
+ wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
8359
+ cloneElement?: boolean;
8360
+ };
8501
8361
  }
8502
- export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
8503
- /**
8504
- * Render prop alternative for complex class components
8505
- * Most useful for scenarios where a HOC may interfere with typing
8506
- */
8507
- export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
8508
- children: (theme: UseEuiTheme) => React.ReactElement;
8509
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
8510
- /**
8511
- * Minor syntactical sugar hook for theme CSS variables.
8512
- * Primarily meant for internal EUI usage.
8513
- */
8514
- export const useEuiThemeCSSVariables: () => {
8515
- setGlobalCSSVariables: Function;
8516
- globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
8517
- setNearestThemeCSSVariables: Function;
8518
- themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
8519
- };
8520
- /**
8521
- * Checks whether the current active `colorMode` is set to `DARK`;
8522
- * In case of nested providers this returns the value of the nearest provider context.
8523
- */
8524
- export const useIsDarkMode: () => boolean;
8362
+ export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
8525
8363
 
8526
8364
  }
8527
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
8528
- import React, { FunctionComponent, PropsWithChildren } from 'react';
8529
- import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
8530
- type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
8531
- export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
8365
+ declare module '@elastic/eui/src/services/theme/theme_variant' {
8366
+ import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
8367
+ export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
8532
8368
  /**
8533
- * Returns the current breakpoint based on window width.
8534
- * Typically only called by the top-level `EuiProvider` (to reduce the number
8535
- * of window resize listeners on the page). Also conditionally called if a
8536
- * nested `EuiThemeProvider` defines a `modify.breakpoint` override
8369
+ * Util to retrieve visual variant for UI elements
8370
+ * Note: Temporary only - will be removed once the visual refresh is completed.
8537
8371
  */
8538
- export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
8539
- export {};
8372
+ export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
8540
8373
 
8541
8374
  }
8542
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
8543
- /**
8544
- * Hook util / syntactical sugar for useContext()
8545
- *
8546
- * This hook is in its own separate file to make mocking it
8547
- * as a testenv easy for Jest unit tests
8548
- */
8549
- export const useCurrentEuiBreakpoint: () => string | undefined;
8375
+ declare module '@elastic/eui/src/services/theme' {
8376
+ export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
8377
+ export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
8378
+ export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
8379
+ export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
8380
+ export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
8381
+ export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
8382
+ export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
8383
+ export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
8384
+ export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
8385
+ export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
8386
+ export * from '@elastic/eui/src/services/theme/theme_variant';
8550
8387
 
8551
8388
  }
8552
8389
  declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
@@ -11719,7 +11556,7 @@ declare module '@elastic/eui/src/components/form/range/types' {
11719
11556
  * Allows customizing the underlying [EuiInputPopover](/#/layout/popover#popover-attached-to-input-element),
11720
11557
  * except for props controlled by the range component
11721
11558
  */
11722
- inputPopoverProps?: Omit<EuiInputPopoverProps, 'input' | 'isOpen' | 'closePopover' | 'disableFocusTrap' | 'popoverScreenReaderText' | 'fullWidth'>;
11559
+ inputPopoverProps?: Omit<EuiInputPopoverProps, 'input' | 'isOpen' | 'closePopover' | 'disableFocusTrap' | 'ownFocus' | 'popoverScreenReaderText' | 'fullWidth'>;
11723
11560
  }
11724
11561
  export type _SharedRangeInputSide = {
11725
11562
  /**
@@ -13108,6 +12945,16 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
13108
12945
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
13109
12946
  export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
13110
12947
 
12948
+ }
12949
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
12950
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12951
+ export const colorVisLight: _EuiThemeVisColors;
12952
+
12953
+ }
12954
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
12955
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12956
+ export const colorVisDark: _EuiThemeVisColors;
12957
+
13111
12958
  }
13112
12959
  declare module '@elastic/eui/src/themes/themes' {
13113
12960
  import { EuiThemeSystem } from '@elastic/eui/src/services';
@@ -13117,6 +12964,159 @@ declare module '@elastic/eui/src/themes/themes' {
13117
12964
  provider?: EuiThemeSystem;
13118
12965
  }
13119
12966
 
12967
+ }
12968
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
12969
+ /**
12970
+ * These are not actually used, but we map them to ensure token parity.
12971
+ * They are mapped to other vis colors
12972
+ */
12973
+ export const severityColors: {
12974
+ unknown: string;
12975
+ neutral: string;
12976
+ success: string;
12977
+ warning: string;
12978
+ risk: string;
12979
+ danger: string;
12980
+ };
12981
+
12982
+ }
12983
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
12984
+ import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
12985
+ export const brand_colors: _EuiThemeBrandColors;
12986
+ export const brand_text_colors: _EuiThemeBrandTextColors;
12987
+ export const shade_colors: _EuiThemeShadeColors;
12988
+ export const special_colors: _EuiThemeSpecialColors;
12989
+ export const text_colors: _EuiThemeTextColors;
12990
+ export const background_colors: _EuiThemeBackgroundColors;
12991
+ export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12992
+ export const border_colors: _EuiThemeBorderColors;
12993
+ export const light_colors: _EuiThemeColorsMode;
12994
+ export const dark_shades: _EuiThemeShadeColors;
12995
+ export const dark_background_colors: _EuiThemeBackgroundColors;
12996
+ export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12997
+ export const dark_border_colors: _EuiThemeBorderColors;
12998
+ export const dark_colors_ams: _EuiThemeColorsMode;
12999
+ export const colors: _EuiThemeColors;
13000
+
13001
+ }
13002
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
13003
+ import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
13004
+ export const animation_speed: _EuiThemeAnimationSpeeds;
13005
+ export const animation_ease: _EuiThemeAnimationEasings;
13006
+ export const animation: _EuiThemeAnimation;
13007
+
13008
+ }
13009
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
13010
+ export { breakpoint } from '@elastic/eui-theme-common';
13011
+
13012
+ }
13013
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
13014
+ import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
13015
+ export const base: _EuiThemeBase;
13016
+ export const size: _EuiThemeSizes;
13017
+
13018
+ }
13019
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
13020
+ import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
13021
+ export const border: _EuiThemeBorder;
13022
+
13023
+ }
13024
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
13025
+ import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
13026
+ export const levels: _EuiThemeLevels;
13027
+
13028
+ }
13029
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
13030
+ import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
13031
+ export const fontScale: _EuiThemeFontScales;
13032
+ export const fontBase: _EuiThemeFontBase;
13033
+ export const fontWeight: _EuiThemeFontWeights;
13034
+ export const font: _EuiThemeFont;
13035
+
13036
+ }
13037
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
13038
+ import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
13039
+ export const focus: _EuiThemeFocus;
13040
+
13041
+ }
13042
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
13043
+ import { _EuiThemeButton } from '@elastic/eui-theme-common';
13044
+ export const buttons: _EuiThemeButton;
13045
+
13046
+ }
13047
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
13048
+ export const forms: {
13049
+ maxWidth: string;
13050
+ LIGHT: {
13051
+ background: string;
13052
+ backgroundDisabled: string;
13053
+ backgroundReadOnly: any;
13054
+ backgroundFocused: any;
13055
+ backgroundAutofilled: string;
13056
+ backgroundDropping: string;
13057
+ prependBackground: string;
13058
+ border: string;
13059
+ borderDisabled: string;
13060
+ borderFocused: any;
13061
+ borderInvalid: any;
13062
+ borderHovered: string;
13063
+ borderInvalidHovered: any;
13064
+ borderAutofilled: string;
13065
+ borderAutofilledHovered: string;
13066
+ clearButtonBackground: any;
13067
+ controlBorder: string;
13068
+ controlBorderSelected: string;
13069
+ controlBorderDisabled: string;
13070
+ controlBackgroundUnselected: any;
13071
+ controlBackgroundDisabled: any;
13072
+ colorHasPlaceholder: string;
13073
+ colorDisabled: any;
13074
+ iconDisabled: any;
13075
+ };
13076
+ DARK: {
13077
+ background: string;
13078
+ backgroundFocused: string;
13079
+ backgroundAutofilled: string;
13080
+ prependBackground: string;
13081
+ border: string;
13082
+ clearButtonBackground: any;
13083
+ controlBorder: string;
13084
+ controlBorderSelected: string;
13085
+ controlBorderDisabled: string;
13086
+ backgroundDisabled: string;
13087
+ backgroundReadOnly: any;
13088
+ backgroundDropping: string;
13089
+ borderDisabled: string;
13090
+ borderFocused: any;
13091
+ borderInvalid: any;
13092
+ borderHovered: string;
13093
+ borderInvalidHovered: any;
13094
+ borderAutofilled: string;
13095
+ borderAutofilledHovered: string;
13096
+ controlBackgroundUnselected: any;
13097
+ controlBackgroundDisabled: any;
13098
+ colorHasPlaceholder: string;
13099
+ colorDisabled: any;
13100
+ iconDisabled: any;
13101
+ };
13102
+ };
13103
+
13104
+ }
13105
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
13106
+ import { _EuiThemeComponents } from '@elastic/eui-theme-common';
13107
+ export const components: _EuiThemeComponents;
13108
+
13109
+ }
13110
+ declare module '@elastic/eui/src/themes/amsterdam/theme' {
13111
+ import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
13112
+ export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
13113
+ export const euiThemeAmsterdam: EuiThemeShape;
13114
+ export const EuiThemeAmsterdam: {
13115
+ model: EuiThemeShape;
13116
+ root: EuiThemeShape;
13117
+ key: string;
13118
+ };
13119
+
13120
13120
  }
13121
13121
  declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
13122
13122
  export * from '@elastic/eui/src/global_styling/mixins/_shadow';
@@ -15072,7 +15072,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
15072
15072
  /**
15073
15073
  * Height types
15074
15074
  */
15075
- getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
15075
+ getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
15076
15076
  /**
15077
15077
  * Line count utils
15078
15078
  */
@@ -20822,6 +20822,7 @@ declare module '@elastic/eui/src/components/modal/modal.styles' {
20822
20822
  }
20823
20823
  declare module '@elastic/eui/src/components/modal/modal' {
20824
20824
  import React, { FunctionComponent, ReactNode, HTMLAttributes } from 'react';
20825
+ import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
20825
20826
  export interface EuiModalProps extends HTMLAttributes<HTMLDivElement> {
20826
20827
  className?: string;
20827
20828
  /**
@@ -20847,6 +20848,11 @@ declare module '@elastic/eui/src/components/modal/modal' {
20847
20848
  * or need a user's attention should use "alertdialog".
20848
20849
  */
20849
20850
  role?: 'dialog' | 'alertdialog';
20851
+ /**
20852
+ * Object of props passed to EuiFocusTrap.
20853
+ * `returnFocus` defines the return focus behavior and provides the possibility to check the available target element or opt out of the behavior in favor of manually returning focus
20854
+ */
20855
+ focusTrapProps?: Pick<EuiFocusTrapProps, 'returnFocus'>;
20850
20856
  }
20851
20857
  export const EuiModal: FunctionComponent<EuiModalProps>;
20852
20858
 
@@ -22295,7 +22301,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
22295
22301
  import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
22296
22302
  export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
22297
22303
  /**
22298
- * Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
22304
+ * Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
22299
22305
  * Pass `null` to remove all theming including global reset
22300
22306
  */
22301
22307
  theme?: EuiThemeSystem | null;
@@ -23557,13 +23563,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23557
23563
  slot?: string | undefined;
23558
23564
  style?: CSSProperties | undefined;
23559
23565
  title?: string | undefined;
23560
- css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
23561
23566
  width: number;
23562
23567
  color?: string | undefined;
23563
23568
  content?: string | undefined;
23569
+ hidden?: boolean | undefined;
23570
+ css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
23564
23571
  translate?: "yes" | "no" | undefined;
23565
23572
  property?: string | undefined;
23566
- hidden?: boolean | undefined;
23567
23573
  className?: string | undefined;
23568
23574
  defaultChecked?: boolean | undefined;
23569
23575
  defaultValue?: string | number | readonly string[] | undefined;