@elastic/eui 106.1.0-amsterdam.0 → 106.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/es/components/call_out/call_out.js +2 -1
  2. package/es/components/card/checkable_card/checkable_card.js +30 -5
  3. package/es/components/code/code_block.js +5 -2
  4. package/es/components/code/code_block_virtualized.js +5 -3
  5. package/es/components/markdown_editor/index.js +1 -0
  6. package/es/components/markdown_editor/markdown_editor.js +15 -4
  7. package/es/components/markdown_editor/markdown_editor_drop_zone.js +5 -3
  8. package/es/components/markdown_editor/markdown_editor_footer.js +12 -120
  9. package/es/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
  10. package/es/components/markdown_editor/markdown_editor_help_button.js +144 -0
  11. package/es/components/markdown_editor/markdown_editor_help_button.styles.js +16 -0
  12. package/es/components/markdown_editor/markdown_editor_toolbar.js +28 -23
  13. package/es/components/popover/popover.js +2 -1
  14. package/es/components/provider/provider.js +2 -2
  15. package/es/services/color/vis_color_store.js +1 -1
  16. package/es/services/theme/context.js +2 -2
  17. package/eui.d.ts +432 -400
  18. package/i18ntokens.json +624 -624
  19. package/lib/components/call_out/call_out.js +3 -2
  20. package/lib/components/card/checkable_card/checkable_card.js +29 -4
  21. package/lib/components/code/code_block.js +5 -2
  22. package/lib/components/code/code_block_virtualized.js +5 -3
  23. package/lib/components/markdown_editor/index.js +7 -0
  24. package/lib/components/markdown_editor/markdown_editor.js +15 -4
  25. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +5 -3
  26. package/lib/components/markdown_editor/markdown_editor_footer.js +10 -117
  27. package/lib/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
  28. package/lib/components/markdown_editor/markdown_editor_help_button.js +151 -0
  29. package/lib/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
  30. package/lib/components/markdown_editor/markdown_editor_toolbar.js +28 -23
  31. package/lib/components/popover/popover.js +2 -1
  32. package/lib/components/provider/provider.js +2 -2
  33. package/lib/services/color/vis_color_store.js +2 -2
  34. package/lib/services/theme/context.js +2 -2
  35. package/optimize/es/components/call_out/call_out.js +1 -0
  36. package/optimize/es/components/card/checkable_card/checkable_card.js +25 -5
  37. package/optimize/es/components/code/code_block.js +5 -2
  38. package/optimize/es/components/code/code_block_virtualized.js +5 -3
  39. package/optimize/es/components/markdown_editor/index.js +1 -0
  40. package/optimize/es/components/markdown_editor/markdown_editor.js +7 -3
  41. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.js +3 -2
  42. package/optimize/es/components/markdown_editor/markdown_editor_footer.js +12 -120
  43. package/optimize/es/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
  44. package/optimize/es/components/markdown_editor/markdown_editor_help_button.js +139 -0
  45. package/optimize/es/components/markdown_editor/markdown_editor_help_button.styles.js +16 -0
  46. package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +20 -16
  47. package/optimize/es/components/popover/popover.js +2 -1
  48. package/optimize/es/components/provider/provider.js +2 -2
  49. package/optimize/es/services/color/vis_color_store.js +1 -1
  50. package/optimize/es/services/theme/context.js +2 -2
  51. package/optimize/lib/components/call_out/call_out.js +2 -1
  52. package/optimize/lib/components/card/checkable_card/checkable_card.js +24 -4
  53. package/optimize/lib/components/code/code_block.js +5 -2
  54. package/optimize/lib/components/code/code_block_virtualized.js +5 -3
  55. package/optimize/lib/components/markdown_editor/index.js +7 -0
  56. package/optimize/lib/components/markdown_editor/markdown_editor.js +7 -3
  57. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.js +3 -2
  58. package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +9 -118
  59. package/optimize/lib/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
  60. package/optimize/lib/components/markdown_editor/markdown_editor_help_button.js +150 -0
  61. package/optimize/lib/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
  62. package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +20 -16
  63. package/optimize/lib/components/popover/popover.js +2 -1
  64. package/optimize/lib/components/provider/provider.js +2 -2
  65. package/optimize/lib/services/color/vis_color_store.js +2 -2
  66. package/optimize/lib/services/theme/context.js +2 -2
  67. package/package.json +1 -1
  68. package/test-env/components/call_out/call_out.js +3 -2
  69. package/test-env/components/card/checkable_card/checkable_card.js +24 -4
  70. package/test-env/components/code/code_block_virtualized.js +5 -3
  71. package/test-env/components/markdown_editor/index.js +7 -0
  72. package/test-env/components/markdown_editor/markdown_editor.js +15 -4
  73. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +5 -3
  74. package/test-env/components/markdown_editor/markdown_editor_footer.js +9 -118
  75. package/test-env/components/markdown_editor/markdown_editor_footer.styles.js +0 -2
  76. package/test-env/components/markdown_editor/markdown_editor_help_button.js +150 -0
  77. package/test-env/components/markdown_editor/markdown_editor_help_button.styles.js +22 -0
  78. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +28 -23
  79. package/test-env/components/popover/popover.js +2 -1
  80. package/test-env/components/provider/provider.js +2 -2
  81. package/test-env/services/color/vis_color_store.js +2 -2
  82. 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';
@@ -2954,7 +3041,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2954
3041
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2955
3042
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2956
3043
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2957
- 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" | "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")[];
3044
+ 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" | "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")[];
2958
3045
  export type EuiIconType = keyof typeof typeToPathMap;
2959
3046
  export type IconType = EuiIconType | string | ComponentType;
2960
3047
  export type IconColor = string | NamedColor;
@@ -6254,7 +6341,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
6254
6341
  import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
6255
6342
  import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
6256
6343
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
6257
- export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
6344
+ export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
6258
6345
  export type PanelPaddingSize = (typeof _SIZES)[number];
6259
6346
  export const BORDER_RADII: readonly ["none", "m"];
6260
6347
  export type PanelBorderRadius = (typeof BORDER_RADII)[number];
@@ -8128,6 +8215,71 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
8128
8215
  import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
8129
8216
  export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
8130
8217
 
8218
+ }
8219
+ declare module '@elastic/eui/src/services/color/manipulation' {
8220
+ import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
8221
+ /**
8222
+ * Makes a color more transparent.
8223
+ * @param color - Color to manipulate
8224
+ * @param alpha - alpha channel value. From 0-1.
8225
+ */
8226
+ export const transparentize: (color: string, alpha: number) => string;
8227
+ /**
8228
+ * Mixes a provided color with white.
8229
+ * @param color - Color to mix with white
8230
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8231
+ */
8232
+ export const tint: (color: string, ratio: number) => string;
8233
+ /**
8234
+ * Mixes a provided color with black.
8235
+ * @param color - Color to mix with black
8236
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
8237
+ */
8238
+ export const shade: (color: string, ratio: number) => string;
8239
+ /**
8240
+ * Returns the tinted color for light mode and shaded color for dark mode
8241
+ * @param color - Color to mix with white
8242
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8243
+ * @param colorMode - Light or dark only
8244
+ */
8245
+ export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
8246
+ /**
8247
+ * Returns the shaded color for light mode and tinted color for dark mode
8248
+ * @param color - Color to mix with white
8249
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8250
+ * @param colorMode - Light or dark only
8251
+ */
8252
+ export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
8253
+ /**
8254
+ * Increases the saturation of a color by manipulating the hsl saturation.
8255
+ * @param color - Color to manipulate
8256
+ * @param amount - Amount to change in absolute terms. 0-1.
8257
+ */
8258
+ export const saturate: (color: string, amount: number) => string;
8259
+ /**
8260
+ * Decreases the saturation of a color by manipulating the hsl saturation.
8261
+ * @param color - Color to manipulate
8262
+ * @param amount - Amount to change in absolute terms. 0-1.
8263
+ */
8264
+ export const desaturate: (color: string, amount: number) => string;
8265
+ /**
8266
+ * Returns the lightness value of a color. 0-100
8267
+ * @param color
8268
+ */
8269
+ export const lightness: (color: string) => number;
8270
+ /**
8271
+ * Returns the darken value of a color. 0-100
8272
+ * @param color - Color to manipulate
8273
+ * @param amount - Amount to change in absolute terms. 0-1.
8274
+ */
8275
+ export const darken: (color: string, amount: number) => string;
8276
+ /**
8277
+ * Returns the brighten value of a color. 0-100
8278
+ * @param color - Color to manipulate
8279
+ * @param amount - Amount to change in absolute terms. 0-1.
8280
+ */
8281
+ export const brighten: (color: string, amount: number) => string;
8282
+
8131
8283
  }
8132
8284
  declare module '@elastic/eui/src/services/color/contrast' {
8133
8285
  export const wcagContrastMin = 4.5;
@@ -8231,321 +8383,6 @@ declare module '@elastic/eui/src/services/theme' {
8231
8383
  export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
8232
8384
  export * from '@elastic/eui/src/services/theme/theme_variant';
8233
8385
 
8234
- }
8235
- declare module '@elastic/eui/src/services/color/manipulation' {
8236
- import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
8237
- /**
8238
- * Makes a color more transparent.
8239
- * @param color - Color to manipulate
8240
- * @param alpha - alpha channel value. From 0-1.
8241
- */
8242
- export const transparentize: (color: string, alpha: number) => string;
8243
- /**
8244
- * Mixes a provided color with white.
8245
- * @param color - Color to mix with white
8246
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8247
- */
8248
- export const tint: (color: string, ratio: number) => string;
8249
- /**
8250
- * Mixes a provided color with black.
8251
- * @param color - Color to mix with black
8252
- * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
8253
- */
8254
- export const shade: (color: string, ratio: number) => string;
8255
- /**
8256
- * Returns the tinted color for light mode and shaded color for dark mode
8257
- * @param color - Color to mix with white
8258
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8259
- * @param colorMode - Light or dark only
8260
- */
8261
- export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
8262
- /**
8263
- * Returns the shaded color for light mode and tinted color for dark mode
8264
- * @param color - Color to mix with white
8265
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
8266
- * @param colorMode - Light or dark only
8267
- */
8268
- export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
8269
- /**
8270
- * Increases the saturation of a color by manipulating the hsl saturation.
8271
- * @param color - Color to manipulate
8272
- * @param amount - Amount to change in absolute terms. 0-1.
8273
- */
8274
- export const saturate: (color: string, amount: number) => string;
8275
- /**
8276
- * Decreases the saturation of a color by manipulating the hsl saturation.
8277
- * @param color - Color to manipulate
8278
- * @param amount - Amount to change in absolute terms. 0-1.
8279
- */
8280
- export const desaturate: (color: string, amount: number) => string;
8281
- /**
8282
- * Returns the lightness value of a color. 0-100
8283
- * @param color
8284
- */
8285
- export const lightness: (color: string) => number;
8286
- /**
8287
- * Returns the darken value of a color. 0-100
8288
- * @param color - Color to manipulate
8289
- * @param amount - Amount to change in absolute terms. 0-1.
8290
- */
8291
- export const darken: (color: string, amount: number) => string;
8292
- /**
8293
- * Returns the brighten value of a color. 0-100
8294
- * @param color - Color to manipulate
8295
- * @param amount - Amount to change in absolute terms. 0-1.
8296
- */
8297
- export const brighten: (color: string, amount: number) => string;
8298
-
8299
- }
8300
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
8301
- import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
8302
- export const colorVisDark: _EuiThemeVisColors;
8303
-
8304
- }
8305
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
8306
- /**
8307
- * These are not actually used, but we map them to ensure token parity.
8308
- * They are mapped to other vis colors
8309
- */
8310
- export const severityColors: {
8311
- unknown: string;
8312
- neutral: string;
8313
- success: string;
8314
- warning: string;
8315
- risk: string;
8316
- danger: string;
8317
- };
8318
-
8319
- }
8320
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
8321
- import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
8322
- export const brand_colors: _EuiThemeBrandColors;
8323
- export const brand_text_colors: _EuiThemeBrandTextColors;
8324
- export const shade_colors: _EuiThemeShadeColors;
8325
- export const special_colors: _EuiThemeSpecialColors;
8326
- export const text_colors: _EuiThemeTextColors;
8327
- export const background_colors: _EuiThemeBackgroundColors;
8328
- export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
8329
- export const border_colors: _EuiThemeBorderColors;
8330
- export const light_colors: _EuiThemeColorsMode;
8331
- export const dark_shades: _EuiThemeShadeColors;
8332
- export const dark_background_colors: _EuiThemeBackgroundColors;
8333
- export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
8334
- export const dark_border_colors: _EuiThemeBorderColors;
8335
- export const dark_colors_ams: _EuiThemeColorsMode;
8336
- export const colors: _EuiThemeColors;
8337
-
8338
- }
8339
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
8340
- import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
8341
- export const animation_speed: _EuiThemeAnimationSpeeds;
8342
- export const animation_ease: _EuiThemeAnimationEasings;
8343
- export const animation: _EuiThemeAnimation;
8344
-
8345
- }
8346
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
8347
- export { breakpoint } from '@elastic/eui-theme-common';
8348
-
8349
- }
8350
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
8351
- import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
8352
- export const base: _EuiThemeBase;
8353
- export const size: _EuiThemeSizes;
8354
-
8355
- }
8356
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
8357
- import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
8358
- export const border: _EuiThemeBorder;
8359
-
8360
- }
8361
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
8362
- import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
8363
- export const levels: _EuiThemeLevels;
8364
-
8365
- }
8366
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
8367
- import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
8368
- export const fontScale: _EuiThemeFontScales;
8369
- export const fontBase: _EuiThemeFontBase;
8370
- export const fontWeight: _EuiThemeFontWeights;
8371
- export const font: _EuiThemeFont;
8372
-
8373
- }
8374
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
8375
- import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
8376
- export const focus: _EuiThemeFocus;
8377
-
8378
- }
8379
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
8380
- import { _EuiThemeButton } from '@elastic/eui-theme-common';
8381
- export const buttons: _EuiThemeButton;
8382
-
8383
- }
8384
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
8385
- export const forms: {
8386
- maxWidth: string;
8387
- LIGHT: {
8388
- background: string;
8389
- backgroundDisabled: string;
8390
- backgroundReadOnly: any;
8391
- backgroundFocused: any;
8392
- backgroundAutofilled: string;
8393
- backgroundDropping: string;
8394
- prependBackground: string;
8395
- border: string;
8396
- borderDisabled: string;
8397
- borderFocused: any;
8398
- borderInvalid: any;
8399
- borderHovered: string;
8400
- borderInvalidHovered: any;
8401
- borderAutofilled: string;
8402
- borderAutofilledHovered: string;
8403
- clearButtonBackground: any;
8404
- controlBorder: string;
8405
- controlBorderSelected: string;
8406
- controlBorderDisabled: string;
8407
- controlBackgroundUnselected: any;
8408
- controlBackgroundDisabled: any;
8409
- colorHasPlaceholder: string;
8410
- colorDisabled: any;
8411
- iconDisabled: any;
8412
- };
8413
- DARK: {
8414
- background: string;
8415
- backgroundFocused: string;
8416
- backgroundAutofilled: string;
8417
- prependBackground: string;
8418
- border: string;
8419
- clearButtonBackground: any;
8420
- controlBorder: string;
8421
- controlBorderSelected: string;
8422
- controlBorderDisabled: string;
8423
- backgroundDisabled: string;
8424
- backgroundReadOnly: any;
8425
- backgroundDropping: string;
8426
- borderDisabled: string;
8427
- borderFocused: any;
8428
- borderInvalid: any;
8429
- borderHovered: string;
8430
- borderInvalidHovered: any;
8431
- borderAutofilled: string;
8432
- borderAutofilledHovered: string;
8433
- controlBackgroundUnselected: any;
8434
- controlBackgroundDisabled: any;
8435
- colorHasPlaceholder: string;
8436
- colorDisabled: any;
8437
- iconDisabled: any;
8438
- };
8439
- };
8440
-
8441
- }
8442
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
8443
- import { _EuiThemeComponents } from '@elastic/eui-theme-common';
8444
- export const components: _EuiThemeComponents;
8445
-
8446
- }
8447
- declare module '@elastic/eui/src/themes/amsterdam/theme' {
8448
- import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
8449
- export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
8450
- export const euiThemeAmsterdam: EuiThemeShape;
8451
- export const EuiThemeAmsterdam: {
8452
- model: EuiThemeShape;
8453
- root: EuiThemeShape;
8454
- key: string;
8455
- };
8456
-
8457
- }
8458
- declare module '@elastic/eui/src/services/theme/context' {
8459
- import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
8460
- export const DEFAULTS: {
8461
- system: {
8462
- model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
8463
- root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
8464
- key: string;
8465
- };
8466
- modifications: {};
8467
- colorMode: "LIGHT";
8468
- highContrastMode: false;
8469
- };
8470
- export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
8471
- export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
8472
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
8473
- }>>;
8474
- export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
8475
- export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
8476
- export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
8477
- export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
8478
- export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
8479
-
8480
- }
8481
- declare module '@elastic/eui/src/services/theme/hooks' {
8482
- import React from 'react';
8483
- import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
8484
- /**
8485
- * Hook for function components
8486
- */
8487
- export interface UseEuiTheme<T extends {} = {}> {
8488
- euiTheme: EuiThemeComputed<T>;
8489
- colorMode: EuiThemeColorModeStandard;
8490
- highContrastMode: EuiThemeHighContrastMode;
8491
- modifications: EuiThemeModifications<T>;
8492
- }
8493
- export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
8494
- /**
8495
- * HOC for class components
8496
- */
8497
- export interface WithEuiThemeProps<P extends {} = {}> {
8498
- theme: UseEuiTheme<P>;
8499
- }
8500
- 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">>>;
8501
- /**
8502
- * Render prop alternative for complex class components
8503
- * Most useful for scenarios where a HOC may interfere with typing
8504
- */
8505
- export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
8506
- children: (theme: UseEuiTheme) => React.ReactElement;
8507
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
8508
- /**
8509
- * Minor syntactical sugar hook for theme CSS variables.
8510
- * Primarily meant for internal EUI usage.
8511
- */
8512
- export const useEuiThemeCSSVariables: () => {
8513
- setGlobalCSSVariables: Function;
8514
- globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
8515
- setNearestThemeCSSVariables: Function;
8516
- themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
8517
- };
8518
- /**
8519
- * Checks whether the current active `colorMode` is set to `DARK`;
8520
- * In case of nested providers this returns the value of the nearest provider context.
8521
- */
8522
- export const useIsDarkMode: () => boolean;
8523
-
8524
- }
8525
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
8526
- import React, { FunctionComponent, PropsWithChildren } from 'react';
8527
- import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
8528
- type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
8529
- export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
8530
- /**
8531
- * Returns the current breakpoint based on window width.
8532
- * Typically only called by the top-level `EuiProvider` (to reduce the number
8533
- * of window resize listeners on the page). Also conditionally called if a
8534
- * nested `EuiThemeProvider` defines a `modify.breakpoint` override
8535
- */
8536
- export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
8537
- export {};
8538
-
8539
- }
8540
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
8541
- /**
8542
- * Hook util / syntactical sugar for useContext()
8543
- *
8544
- * This hook is in its own separate file to make mocking it
8545
- * as a testenv easy for Jest unit tests
8546
- */
8547
- export const useCurrentEuiBreakpoint: () => string | undefined;
8548
-
8549
8386
  }
8550
8387
  declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
8551
8388
  import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
@@ -10289,8 +10126,9 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
10289
10126
  export const COLORS: readonly ["primary", "success", "warning", "danger", "accent"];
10290
10127
  export type Color = (typeof COLORS)[number];
10291
10128
  export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
10292
- type Heading = (typeof HEADINGS)[number];
10293
- type Size = 's' | 'm';
10129
+ export type Heading = (typeof HEADINGS)[number];
10130
+ export const SIZES: readonly ["s", "m"];
10131
+ export type Size = (typeof SIZES)[number];
10294
10132
  export type EuiCallOutProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> & {
10295
10133
  title?: ReactNode;
10296
10134
  iconType?: IconType;
@@ -10321,7 +10159,6 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
10321
10159
  */
10322
10160
  onDismiss?: () => void;
10323
10161
  } & React.RefAttributes<HTMLDivElement>>;
10324
- export {};
10325
10162
 
10326
10163
  }
10327
10164
  declare module '@elastic/eui/src/components/call_out' {
@@ -12785,10 +12622,11 @@ declare module '@elastic/eui/src/components/code/code_block_controls' {
12785
12622
 
12786
12623
  }
12787
12624
  declare module '@elastic/eui/src/components/code/code_block_virtualized' {
12788
- import React, { HTMLAttributes } from 'react';
12625
+ import React, { HTMLAttributes, ReactNode } from 'react';
12789
12626
  import { RefractorNode } from 'refractor';
12790
- export const EuiCodeBlockVirtualized: ({ data, rowHeight, overflowHeight, preProps, codeProps, }: {
12627
+ export const EuiCodeBlockVirtualized: ({ data, label, rowHeight, overflowHeight, preProps, codeProps, }: {
12791
12628
  data: RefractorNode[];
12629
+ label: ReactNode;
12792
12630
  rowHeight: number;
12793
12631
  overflowHeight?: number | string;
12794
12632
  preProps: HTMLAttributes<HTMLPreElement>;
@@ -13065,6 +12903,16 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
13065
12903
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
13066
12904
  export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
13067
12905
 
12906
+ }
12907
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
12908
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12909
+ export const colorVisLight: _EuiThemeVisColors;
12910
+
12911
+ }
12912
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
12913
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12914
+ export const colorVisDark: _EuiThemeVisColors;
12915
+
13068
12916
  }
13069
12917
  declare module '@elastic/eui/src/themes/themes' {
13070
12918
  import { EuiThemeSystem } from '@elastic/eui/src/services';
@@ -13074,6 +12922,159 @@ declare module '@elastic/eui/src/themes/themes' {
13074
12922
  provider?: EuiThemeSystem;
13075
12923
  }
13076
12924
 
12925
+ }
12926
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
12927
+ /**
12928
+ * These are not actually used, but we map them to ensure token parity.
12929
+ * They are mapped to other vis colors
12930
+ */
12931
+ export const severityColors: {
12932
+ unknown: string;
12933
+ neutral: string;
12934
+ success: string;
12935
+ warning: string;
12936
+ risk: string;
12937
+ danger: string;
12938
+ };
12939
+
12940
+ }
12941
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
12942
+ import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
12943
+ export const brand_colors: _EuiThemeBrandColors;
12944
+ export const brand_text_colors: _EuiThemeBrandTextColors;
12945
+ export const shade_colors: _EuiThemeShadeColors;
12946
+ export const special_colors: _EuiThemeSpecialColors;
12947
+ export const text_colors: _EuiThemeTextColors;
12948
+ export const background_colors: _EuiThemeBackgroundColors;
12949
+ export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12950
+ export const border_colors: _EuiThemeBorderColors;
12951
+ export const light_colors: _EuiThemeColorsMode;
12952
+ export const dark_shades: _EuiThemeShadeColors;
12953
+ export const dark_background_colors: _EuiThemeBackgroundColors;
12954
+ export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12955
+ export const dark_border_colors: _EuiThemeBorderColors;
12956
+ export const dark_colors_ams: _EuiThemeColorsMode;
12957
+ export const colors: _EuiThemeColors;
12958
+
12959
+ }
12960
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
12961
+ import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
12962
+ export const animation_speed: _EuiThemeAnimationSpeeds;
12963
+ export const animation_ease: _EuiThemeAnimationEasings;
12964
+ export const animation: _EuiThemeAnimation;
12965
+
12966
+ }
12967
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
12968
+ export { breakpoint } from '@elastic/eui-theme-common';
12969
+
12970
+ }
12971
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
12972
+ import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
12973
+ export const base: _EuiThemeBase;
12974
+ export const size: _EuiThemeSizes;
12975
+
12976
+ }
12977
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
12978
+ import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
12979
+ export const border: _EuiThemeBorder;
12980
+
12981
+ }
12982
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
12983
+ import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
12984
+ export const levels: _EuiThemeLevels;
12985
+
12986
+ }
12987
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
12988
+ import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
12989
+ export const fontScale: _EuiThemeFontScales;
12990
+ export const fontBase: _EuiThemeFontBase;
12991
+ export const fontWeight: _EuiThemeFontWeights;
12992
+ export const font: _EuiThemeFont;
12993
+
12994
+ }
12995
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
12996
+ import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
12997
+ export const focus: _EuiThemeFocus;
12998
+
12999
+ }
13000
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
13001
+ import { _EuiThemeButton } from '@elastic/eui-theme-common';
13002
+ export const buttons: _EuiThemeButton;
13003
+
13004
+ }
13005
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
13006
+ export const forms: {
13007
+ maxWidth: string;
13008
+ LIGHT: {
13009
+ background: string;
13010
+ backgroundDisabled: string;
13011
+ backgroundReadOnly: any;
13012
+ backgroundFocused: any;
13013
+ backgroundAutofilled: string;
13014
+ backgroundDropping: string;
13015
+ prependBackground: string;
13016
+ border: string;
13017
+ borderDisabled: string;
13018
+ borderFocused: any;
13019
+ borderInvalid: any;
13020
+ borderHovered: string;
13021
+ borderInvalidHovered: any;
13022
+ borderAutofilled: string;
13023
+ borderAutofilledHovered: string;
13024
+ clearButtonBackground: any;
13025
+ controlBorder: string;
13026
+ controlBorderSelected: string;
13027
+ controlBorderDisabled: string;
13028
+ controlBackgroundUnselected: any;
13029
+ controlBackgroundDisabled: any;
13030
+ colorHasPlaceholder: string;
13031
+ colorDisabled: any;
13032
+ iconDisabled: any;
13033
+ };
13034
+ DARK: {
13035
+ background: string;
13036
+ backgroundFocused: string;
13037
+ backgroundAutofilled: string;
13038
+ prependBackground: string;
13039
+ border: string;
13040
+ clearButtonBackground: any;
13041
+ controlBorder: string;
13042
+ controlBorderSelected: string;
13043
+ controlBorderDisabled: string;
13044
+ backgroundDisabled: string;
13045
+ backgroundReadOnly: any;
13046
+ backgroundDropping: string;
13047
+ borderDisabled: string;
13048
+ borderFocused: any;
13049
+ borderInvalid: any;
13050
+ borderHovered: string;
13051
+ borderInvalidHovered: any;
13052
+ borderAutofilled: string;
13053
+ borderAutofilledHovered: string;
13054
+ controlBackgroundUnselected: any;
13055
+ controlBackgroundDisabled: any;
13056
+ colorHasPlaceholder: string;
13057
+ colorDisabled: any;
13058
+ iconDisabled: any;
13059
+ };
13060
+ };
13061
+
13062
+ }
13063
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
13064
+ import { _EuiThemeComponents } from '@elastic/eui-theme-common';
13065
+ export const components: _EuiThemeComponents;
13066
+
13067
+ }
13068
+ declare module '@elastic/eui/src/themes/amsterdam/theme' {
13069
+ import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
13070
+ export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
13071
+ export const euiThemeAmsterdam: EuiThemeShape;
13072
+ export const EuiThemeAmsterdam: {
13073
+ model: EuiThemeShape;
13074
+ root: EuiThemeShape;
13075
+ key: string;
13076
+ };
13077
+
13077
13078
  }
13078
13079
  declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
13079
13080
  export * from '@elastic/eui/src/global_styling/mixins/_shadow';
@@ -15016,7 +15017,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
15016
15017
  /**
15017
15018
  * Height types
15018
15019
  */
15019
- getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
15020
+ getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
15020
15021
  /**
15021
15022
  * Line count utils
15022
15023
  */
@@ -21101,6 +21102,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_tool
21101
21102
  viewMode: MARKDOWN_MODE;
21102
21103
  onClickPreview: MouseEventHandler<HTMLButtonElement>;
21103
21104
  uiPlugins: EuiMarkdownEditorUiPlugin[];
21105
+ right?: React.ReactNode;
21104
21106
  };
21105
21107
  export const EuiMarkdownEditorToolbar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CommonProps & {
21106
21108
  selectedNode?: null | any;
@@ -21108,6 +21110,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_tool
21108
21110
  viewMode: MARKDOWN_MODE;
21109
21111
  onClickPreview: MouseEventHandler<HTMLButtonElement>;
21110
21112
  uiPlugins: EuiMarkdownEditorUiPlugin[];
21113
+ right?: React.ReactNode;
21111
21114
  } & React.RefAttributes<HTMLDivElement>>;
21112
21115
 
21113
21116
  }
@@ -21392,6 +21395,16 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_format' {
21392
21395
  };
21393
21396
  export const EuiMarkdownFormat: FunctionComponent<EuiMarkdownFormatProps>;
21394
21397
 
21398
+ }
21399
+ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer.styles' {
21400
+ import { UseEuiTheme } from '@elastic/eui/src/services';
21401
+ export const euiMarkdownEditorFooterStyles: (euiThemeContext: UseEuiTheme) => {
21402
+ euiMarkdownEditorFooter: import("@emotion/react").SerializedStyles;
21403
+ euiMarkdownEditorFooter__actions: import("@emotion/react").SerializedStyles;
21404
+ euiMarkdownEditorFooter__uploadError: import("@emotion/react").SerializedStyles;
21405
+ euiMarkdownEditorFooter__popover: import("@emotion/react").SerializedStyles;
21406
+ };
21407
+
21395
21408
  }
21396
21409
  declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo' {
21397
21410
  import React from 'react';
@@ -21402,16 +21415,24 @@ declare module '@elastic/eui/src/components/markdown_editor/icons/markdown_logo'
21402
21415
  export default MarkdownLogo;
21403
21416
 
21404
21417
  }
21405
- declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer.styles' {
21406
- import { UseEuiTheme } from '@elastic/eui/src/services';
21407
- export const euiMarkdownEditorFooterStyles: (euiThemeContext: UseEuiTheme) => {
21408
- euiMarkdownEditorFooter: import("@emotion/react").SerializedStyles;
21409
- euiMarkdownEditorFooter__actions: import("@emotion/react").SerializedStyles;
21410
- euiMarkdownEditorFooter__uploadError: import("@emotion/react").SerializedStyles;
21418
+ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button.styles' {
21419
+ export const euiMarkdownEditorHelpButtonStyles: () => {
21411
21420
  euiMarkdownEditorFooter__helpButton: import("@emotion/react").SerializedStyles;
21412
- euiMarkdownEditorFooter__popover: import("@emotion/react").SerializedStyles;
21413
21421
  };
21414
21422
 
21423
+ }
21424
+ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button' {
21425
+ import React from 'react';
21426
+ import { EuiMarkdownEditorUiPlugin } from '@elastic/eui/src/components/markdown_editor/markdown_types';
21427
+ interface EuiMarkdownEditorHelpButtonProps {
21428
+ uiPlugins: EuiMarkdownEditorUiPlugin[];
21429
+ }
21430
+ export const EuiMarkdownEditorHelpButton: {
21431
+ ({ uiPlugins, }: EuiMarkdownEditorHelpButtonProps): React.JSX.Element;
21432
+ displayName: string;
21433
+ };
21434
+ export {};
21435
+
21415
21436
  }
21416
21437
  declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_footer' {
21417
21438
  import React from 'react';
@@ -21451,6 +21472,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_drop
21451
21472
  setHasUnacceptedItems: (hasUnacceptedItems: boolean) => void;
21452
21473
  setEditorFooterHeight: (height: number) => void;
21453
21474
  isEditing: boolean;
21475
+ showFooter?: boolean;
21454
21476
  }
21455
21477
  export const EuiMarkdownEditorDropZone: FunctionComponent<EuiMarkdownEditorDropZoneProps>;
21456
21478
  export {};
@@ -21461,6 +21483,7 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
21461
21483
  import { PluggableList } from 'unified';
21462
21484
  import { VFileMessage } from 'vfile-message';
21463
21485
  import { CommonProps, OneOf } from '@elastic/eui/src/components/common';
21486
+ import { EuiMarkdownEditorToolbarProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor_toolbar';
21464
21487
  import { EuiMarkdownEditorTextAreaProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor_text_area';
21465
21488
  import { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
21466
21489
  import { MARKDOWN_MODE } from '@elastic/eui/src/components/markdown_editor/markdown_modes';
@@ -21524,9 +21547,17 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
21524
21547
  * Further extend the props applied to EuiMarkdownFormat
21525
21548
  */
21526
21549
  markdownFormatProps?: Omit<EuiMarkdownFormatProps, 'parsingPluginList' | 'processingPluginList' | 'children'>;
21550
+ /**
21551
+ * Props to customize the toolbar. `right` replaces the default preview/editor toggle with custom content.
21552
+ */
21553
+ toolbarProps?: {
21554
+ right?: EuiMarkdownEditorToolbarProps['right'];
21555
+ };
21556
+ /** Controls whether the footer is shown */
21557
+ showFooter?: boolean;
21527
21558
  };
21528
21559
  export type EuiMarkdownEditorProps = OneOf<CommonMarkdownEditorProps, 'aria-label' | 'aria-labelledby'>;
21529
- interface EuiMarkdownEditorRef {
21560
+ export interface EuiMarkdownEditorRef {
21530
21561
  textarea: HTMLTextAreaElement | null;
21531
21562
  replaceNode: ContextShape['replaceNode'];
21532
21563
  }
@@ -21535,8 +21566,9 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
21535
21566
 
21536
21567
  }
21537
21568
  declare module '@elastic/eui/src/components/markdown_editor' {
21538
- export type { EuiMarkdownEditorProps } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
21569
+ export type { EuiMarkdownEditorProps, EuiMarkdownEditorRef, } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
21539
21570
  export { EuiMarkdownEditor } from '@elastic/eui/src/components/markdown_editor/markdown_editor';
21571
+ export { EuiMarkdownEditorHelpButton } from '@elastic/eui/src/components/markdown_editor/markdown_editor_help_button';
21540
21572
  export { getDefaultEuiMarkdownParsingPlugins, getDefaultEuiMarkdownProcessingPlugins, getDefaultEuiMarkdownUiPlugins, getDefaultEuiMarkdownPlugins, } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_default_plugins';
21541
21573
  export { EuiMarkdownContext } from '@elastic/eui/src/components/markdown_editor/markdown_context';
21542
21574
  export type { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
@@ -22208,7 +22240,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
22208
22240
  import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
22209
22241
  export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
22210
22242
  /**
22211
- * Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
22243
+ * Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
22212
22244
  * Pass `null` to remove all theming including global reset
22213
22245
  */
22214
22246
  theme?: EuiThemeSystem | null;
@@ -23470,13 +23502,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23470
23502
  slot?: string | undefined;
23471
23503
  style?: CSSProperties | undefined;
23472
23504
  title?: string | undefined;
23473
- css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
23474
23505
  width: number;
23475
23506
  color?: string | undefined;
23476
23507
  content?: string | undefined;
23508
+ hidden?: boolean | undefined;
23509
+ css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
23477
23510
  translate?: "yes" | "no" | undefined;
23478
23511
  property?: string | undefined;
23479
- hidden?: boolean | undefined;
23480
23512
  className?: string | undefined;
23481
23513
  defaultChecked?: boolean | undefined;
23482
23514
  defaultValue?: string | number | readonly string[] | undefined;
@@ -33653,12 +33685,13 @@ declare module '@elastic/eui' {
33653
33685
  "euiTourFooter.endTour": any;
33654
33686
  "euiTourFooter.skipTour": any;
33655
33687
  "euiTourFooter.closeTour": any;
33688
+ "euiIconTip.defaultAriaLabel": any;
33656
33689
  "euiToast.newNotification": any;
33657
33690
  "euiToast.notification": any;
33658
33691
  "euiToast.dismissToast": any;
33659
33692
  "euiGlobalToastList.clearAllToastsButtonAriaLabel": any;
33660
33693
  "euiGlobalToastList.clearAllToastsButtonDisplayText": any;
33661
- "euiIconTip.defaultAriaLabel": any;
33694
+ "euiTableHeaderCell.titleTextWithDesc": any;
33662
33695
  "euiStepStrings.step": any;
33663
33696
  "euiStepStrings.simpleStep": any;
33664
33697
  "euiStepStrings.complete": any;
@@ -33675,7 +33708,6 @@ declare module '@elastic/eui' {
33675
33708
  "euiStepStrings.simpleLoading": any;
33676
33709
  "euiStepStrings.current": any;
33677
33710
  "euiStepStrings.simpleCurrent": any;
33678
- "euiTableHeaderCell.titleTextWithDesc": any;
33679
33711
  "euiStat.loadingText": any;
33680
33712
  "euiSkeletonLoading.loadedAriaText": any;
33681
33713
  "euiSkeletonLoading.loadingAriaText": any;
@@ -33709,37 +33741,37 @@ declare module '@elastic/eui' {
33709
33741
  "euiPagination.collection": any;
33710
33742
  "euiPagination.fromEndLabel": any;
33711
33743
  "euiModal.closeModal": any;
33712
- "euiMark.highlightStart": any;
33713
- "euiMark.highlightEnd": any;
33714
- "euiLoadingStrings.ariaLabel": any;
33715
- "euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
33716
- "euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
33717
33744
  "euiMarkdownEditorToolbar.editor": any;
33718
33745
  "euiMarkdownEditorToolbar.previewMarkdown": any;
33746
+ "euiMarkdownEditorHelpButton.mdSyntaxLink": any;
33747
+ "euiMarkdownEditorHelpButton.syntaxTitle": any;
33748
+ "euiMarkdownEditorHelpButton.showMarkdownHelp": any;
33749
+ "euiMarkdownEditorHelpButton.syntaxModalDescriptionPrefix": any;
33750
+ "euiMarkdownEditorHelpButton.syntaxModalDescriptionSuffix": any;
33751
+ "euiMarkdownEditorHelpButton.closeButton": any;
33752
+ "euiMarkdownEditorHelpButton.syntaxPopoverDescription": any;
33719
33753
  "euiMarkdownEditorFooter.uploadingFiles": any;
33720
33754
  "euiMarkdownEditorFooter.openUploadModal": any;
33721
33755
  "euiMarkdownEditorFooter.unsupportedFileType": any;
33722
33756
  "euiMarkdownEditorFooter.supportedFileTypes": any;
33723
33757
  "euiMarkdownEditorFooter.showSyntaxErrors": any;
33724
- "euiMarkdownEditorFooter.showMarkdownHelp": any;
33725
- "euiMarkdownEditorFooter.syntaxTitle": any;
33726
33758
  "euiMarkdownEditorFooter.errorsTitle": any;
33727
- "euiMarkdownEditorFooter.mdSyntaxLink": any;
33728
- "euiMarkdownEditorFooter.syntaxModalDescriptionPrefix": any;
33729
- "euiMarkdownEditorFooter.syntaxModalDescriptionSuffix": any;
33730
- "euiMarkdownEditorFooter.closeButton": any;
33731
- "euiMarkdownEditorFooter.syntaxPopoverDescription": any;
33759
+ "euiMark.highlightStart": any;
33760
+ "euiMark.highlightEnd": any;
33761
+ "euiLoadingStrings.ariaLabel": any;
33762
+ "euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
33763
+ "euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
33764
+ "euiImageButton.openFullScreen": any;
33765
+ "euiImageButton.closeFullScreen": any;
33732
33766
  "euiInlineEditForm.saveButtonAriaLabel": any;
33733
33767
  "euiInlineEditForm.cancelButtonAriaLabel": any;
33734
33768
  "euiInlineEditForm.inputKeyboardInstructions": any;
33735
33769
  "euiInlineEditForm.activateEditModeDescription": any;
33736
- "euiImageButton.openFullScreen": any;
33737
- "euiImageButton.closeFullScreen": any;
33770
+ "euiForm.addressFormErrors": any;
33738
33771
  "euiFlyout.screenReaderModalDialog": any;
33739
33772
  "euiFlyout.screenReaderNonModalDialog": any;
33740
33773
  "euiFlyout.screenReaderFocusTrapShards": any;
33741
33774
  "euiFlyoutCloseButton.ariaLabel": any;
33742
- "euiForm.addressFormErrors": any;
33743
33775
  "euiFilterButton.filterBadgeActiveAriaLabel": any;
33744
33776
  "euiFilterButton.filterBadgeAvailableAriaLabel": any;
33745
33777
  "euiErrorBoundary.error": any;
@@ -33750,10 +33782,10 @@ declare module '@elastic/eui' {
33750
33782
  "euiSaturation.ariaLabel": any;
33751
33783
  "euiSaturation.roleDescription": any;
33752
33784
  "euiSaturation.screenReaderInstructions": any;
33785
+ "euiColorPickerSwatch.ariaLabel": any;
33753
33786
  "euiHue.ariaValueText": any;
33754
33787
  "euiHue.ariaRoleDescription": any;
33755
33788
  "euiHue.label": any;
33756
- "euiColorPickerSwatch.ariaLabel": any;
33757
33789
  "euiColorPicker.popoverLabel": any;
33758
33790
  "euiColorPicker.colorLabel": any;
33759
33791
  "euiColorPicker.selectedColorLabel": any;
@@ -33763,10 +33795,10 @@ declare module '@elastic/eui' {
33763
33795
  "euiColorPicker.openLabel": any;
33764
33796
  "euiColorPicker.closeLabel": any;
33765
33797
  "euiCollapsibleNavBeta.ariaLabel": any;
33798
+ "euiCodeBlockCopy.copy": any;
33766
33799
  "euiCodeBlockFullScreen.fullscreenCollapse": any;
33767
33800
  "euiCodeBlockFullScreen.fullscreenExpand": any;
33768
33801
  "euiCodeBlockFullScreen.ariaLabel": any;
33769
- "euiCodeBlockCopy.copy": any;
33770
33802
  "euiCodeBlockAnnotations.ariaLabel": any;
33771
33803
  "euiCodeBlock.label": any;
33772
33804
  "euiCallOut.dismissAriaLabel": any;
@@ -33788,11 +33820,11 @@ declare module '@elastic/eui' {
33788
33820
  "euiBasicTable.deselectRows": any;
33789
33821
  "euiBasicTable.selectThisRow": any;
33790
33822
  "euiBasicTable.tablePagination": any;
33823
+ "euiTableSortMobile.sorting": any;
33791
33824
  "euiTablePagination.allRows": any;
33792
33825
  "euiTablePagination.rowsPerPage": any;
33793
33826
  "euiTablePagination.rowsPerPageOptionShowAllRows": any;
33794
33827
  "euiTablePagination.rowsPerPageOption": any;
33795
- "euiTableSortMobile.sorting": any;
33796
33828
  "euiSelectableTemplateSitewide.searchPlaceholder": any;
33797
33829
  "euiSelectableTemplateSitewide.loadingResults": any;
33798
33830
  "euiSelectableTemplateSitewide.noResults": any;
@@ -33815,29 +33847,15 @@ declare module '@elastic/eui' {
33815
33847
  "euiSuperSelect.ariaLabel": any;
33816
33848
  "euiRange.sliderScreenReaderInstructions": any;
33817
33849
  "euiDualRange.sliderScreenReaderInstructions": any;
33850
+ "euiFormControlLayoutDelimited.delimiterLabel": any;
33851
+ "euiFormControlLayoutClearButton.label": any;
33818
33852
  "euiFilePicker.promptText": any;
33819
33853
  "euiFilePicker.filesSelected": any;
33820
33854
  "euiFilePicker.removeSelectedAriaLabel": any;
33821
33855
  "euiFilePicker.removeSelected": any;
33822
- "euiFormControlLayoutDelimited.delimiterLabel": any;
33823
- "euiFormControlLayoutClearButton.label": any;
33824
33856
  "euiFieldSearch.clearSearchButtonLabel": any;
33825
33857
  "euiFieldPassword.showPassword": any;
33826
33858
  "euiFieldPassword.maskPassword": any;
33827
- "euiRefreshInterval.fullDescriptionOff": any;
33828
- "euiRefreshInterval.fullDescriptionOn": any;
33829
- "euiRefreshInterval.toggleLabel": any;
33830
- "euiRefreshInterval.toggleAriaLabel": any;
33831
- "euiRefreshInterval.valueAriaLabel": any;
33832
- "euiRefreshInterval.unitsAriaLabel": any;
33833
- "euiAutoRefresh.autoRefreshLabel": any;
33834
- "euiAutoRefresh.buttonLabelOff": any;
33835
- "euiAutoRefresh.buttonLabelOn": any;
33836
- "euiSuperUpdateButton.updatingButtonLabel": any;
33837
- "euiSuperUpdateButton.updateButtonLabel": any;
33838
- "euiSuperUpdateButton.refreshButtonLabel": any;
33839
- "euiSuperUpdateButton.cannotUpdateTooltip": any;
33840
- "euiSuperUpdateButton.clickToApplyTooltip": any;
33841
33859
  "euiTimeOptions.last": any;
33842
33860
  "euiTimeOptions.next": any;
33843
33861
  "euiTimeOptions.seconds": any;
@@ -33876,6 +33894,11 @@ declare module '@elastic/eui' {
33876
33894
  "euiTimeOptions.weekToDate": any;
33877
33895
  "euiTimeOptions.monthToDate": any;
33878
33896
  "euiTimeOptions.yearToDate": any;
33897
+ "euiSuperUpdateButton.updatingButtonLabel": any;
33898
+ "euiSuperUpdateButton.updateButtonLabel": any;
33899
+ "euiSuperUpdateButton.refreshButtonLabel": any;
33900
+ "euiSuperUpdateButton.cannotUpdateTooltip": any;
33901
+ "euiSuperUpdateButton.clickToApplyTooltip": any;
33879
33902
  "euiPrettyInterval.seconds": any;
33880
33903
  "euiPrettyInterval.minutes": any;
33881
33904
  "euiPrettyInterval.hours": any;
@@ -33909,6 +33932,17 @@ declare module '@elastic/eui' {
33909
33932
  "euiPrettyDuration.now": any;
33910
33933
  "euiPrettyDuration.invalid": any;
33911
33934
  "euiPrettyDuration.fallbackDuration": any;
33935
+ "euiRefreshInterval.fullDescriptionOff": any;
33936
+ "euiRefreshInterval.fullDescriptionOn": any;
33937
+ "euiRefreshInterval.toggleLabel": any;
33938
+ "euiRefreshInterval.toggleAriaLabel": any;
33939
+ "euiRefreshInterval.valueAriaLabel": any;
33940
+ "euiRefreshInterval.unitsAriaLabel": any;
33941
+ "euiAutoRefresh.autoRefreshLabel": any;
33942
+ "euiAutoRefresh.buttonLabelOff": any;
33943
+ "euiAutoRefresh.buttonLabelOn": any;
33944
+ "euiDataGridPagination.detailedPaginationLabel": any;
33945
+ "euiDataGridPagination.paginationLabel": any;
33912
33946
  "euiDataGridSchema.booleanSortTextAsc": any;
33913
33947
  "euiDataGridSchema.booleanSortTextDesc": any;
33914
33948
  "euiDataGridSchema.currencySortTextAsc": any;
@@ -33919,8 +33953,6 @@ declare module '@elastic/eui' {
33919
33953
  "euiDataGridSchema.numberSortTextDesc": any;
33920
33954
  "euiDataGridSchema.jsonSortTextAsc": any;
33921
33955
  "euiDataGridSchema.jsonSortTextDesc": any;
33922
- "euiDataGridPagination.detailedPaginationLabel": any;
33923
- "euiDataGridPagination.paginationLabel": any;
33924
33956
  "euiKeyboardShortcuts.title": any;
33925
33957
  "euiKeyboardShortcuts.upArrowTitle": any;
33926
33958
  "euiKeyboardShortcuts.upArrowDescription": any;