@elastic/eui 102.0.0-amsterdam.0 → 102.1.0-amsterdam.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 (136) hide show
  1. package/es/components/accessibility/skip_link/skip_link.js +7 -0
  2. package/es/components/button/button.js +7 -0
  3. package/es/components/button/button_empty/button_empty.js +7 -0
  4. package/es/components/button/button_group/button_group.js +5 -0
  5. package/es/components/button/button_icon/button_icon.js +7 -0
  6. package/es/components/card/card.js +7 -0
  7. package/es/components/card/card_select/card_select.js +7 -0
  8. package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +7 -0
  9. package/es/components/color_picker/color_picker.js +13 -8
  10. package/es/components/color_picker/hue.js +27 -6
  11. package/es/components/color_picker/hue.styles.js +3 -2
  12. package/es/components/color_picker/saturation.js +16 -11
  13. package/es/components/color_picker/saturation.styles.js +2 -1
  14. package/es/components/datagrid/body/cell/data_grid_cell.js +7 -0
  15. package/es/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  16. package/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  17. package/es/components/datagrid/body/data_grid_body.js +7 -0
  18. package/es/components/datagrid/body/data_grid_body_custom.js +7 -0
  19. package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -0
  20. package/es/components/datagrid/body/header/data_grid_header_cell.js +7 -0
  21. package/es/components/datagrid/controls/column_sorting.js +7 -0
  22. package/es/components/datagrid/controls/data_grid_toolbar_control.js +7 -0
  23. package/es/components/datagrid/utils/in_memory.js +7 -0
  24. package/es/components/date_picker/auto_refresh/auto_refresh.js +7 -0
  25. package/es/components/filter_group/filter_button.js +10 -1
  26. package/es/components/header/header_links/header_link.js +7 -0
  27. package/es/components/header/header_section/header_section_item_button.js +7 -0
  28. package/es/components/list_group/list_group.js +7 -0
  29. package/es/components/list_group/list_group_item.js +7 -0
  30. package/es/components/list_group/list_group_item_extra_action.js +7 -0
  31. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +7 -0
  32. package/es/components/pagination/pagination_button.js +7 -0
  33. package/es/components/table/table_header_cell.js +30 -12
  34. package/es/components/tool_tip/tool_tip.js +4 -1
  35. package/es/global_styling/mixins/_button.js +13 -3
  36. package/es/global_styling/mixins/_color.js +9 -2
  37. package/es/test/index.d.ts +2 -1
  38. package/eui.d.ts +830 -641
  39. package/lib/components/accessibility/skip_link/skip_link.js +7 -0
  40. package/lib/components/button/button.js +7 -0
  41. package/lib/components/button/button_empty/button_empty.js +7 -0
  42. package/lib/components/button/button_group/button_group.js +5 -0
  43. package/lib/components/button/button_icon/button_icon.js +7 -0
  44. package/lib/components/card/card.js +7 -0
  45. package/lib/components/card/card_select/card_select.js +7 -0
  46. package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +7 -0
  47. package/lib/components/color_picker/color_picker.js +13 -8
  48. package/lib/components/color_picker/hue.js +26 -5
  49. package/lib/components/color_picker/hue.styles.js +3 -2
  50. package/lib/components/color_picker/saturation.js +16 -11
  51. package/lib/components/color_picker/saturation.styles.js +2 -1
  52. package/lib/components/datagrid/body/cell/data_grid_cell.js +7 -0
  53. package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  54. package/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  55. package/lib/components/datagrid/body/data_grid_body.js +7 -0
  56. package/lib/components/datagrid/body/data_grid_body_custom.js +7 -0
  57. package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -0
  58. package/lib/components/datagrid/body/header/data_grid_header_cell.js +7 -0
  59. package/lib/components/datagrid/controls/column_sorting.js +7 -0
  60. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +7 -0
  61. package/lib/components/datagrid/utils/in_memory.js +7 -0
  62. package/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -0
  63. package/lib/components/filter_group/filter_button.js +10 -1
  64. package/lib/components/header/header_links/header_link.js +7 -0
  65. package/lib/components/header/header_section/header_section_item_button.js +7 -0
  66. package/lib/components/list_group/list_group.js +7 -0
  67. package/lib/components/list_group/list_group_item.js +7 -0
  68. package/lib/components/list_group/list_group_item_extra_action.js +7 -0
  69. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +7 -0
  70. package/lib/components/pagination/pagination_button.js +7 -0
  71. package/lib/components/table/table_header_cell.js +28 -10
  72. package/lib/components/tool_tip/tool_tip.js +4 -1
  73. package/lib/global_styling/mixins/_button.js +13 -4
  74. package/lib/global_styling/mixins/_color.js +11 -4
  75. package/lib/test/index.d.ts +2 -1
  76. package/optimize/es/components/color_picker/color_picker.js +13 -8
  77. package/optimize/es/components/color_picker/hue.js +22 -6
  78. package/optimize/es/components/color_picker/hue.styles.js +3 -2
  79. package/optimize/es/components/color_picker/saturation.js +16 -11
  80. package/optimize/es/components/color_picker/saturation.styles.js +2 -1
  81. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  82. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  83. package/optimize/es/components/table/table_header_cell.js +26 -11
  84. package/optimize/es/components/tool_tip/tool_tip.js +4 -1
  85. package/optimize/es/global_styling/mixins/_button.js +8 -3
  86. package/optimize/es/global_styling/mixins/_color.js +4 -2
  87. package/optimize/es/test/index.d.ts +2 -1
  88. package/optimize/lib/components/color_picker/color_picker.js +13 -8
  89. package/optimize/lib/components/color_picker/hue.js +21 -5
  90. package/optimize/lib/components/color_picker/hue.styles.js +3 -2
  91. package/optimize/lib/components/color_picker/saturation.js +16 -11
  92. package/optimize/lib/components/color_picker/saturation.styles.js +2 -1
  93. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  94. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  95. package/optimize/lib/components/table/table_header_cell.js +25 -11
  96. package/optimize/lib/components/tool_tip/tool_tip.js +4 -1
  97. package/optimize/lib/global_styling/mixins/_button.js +8 -4
  98. package/optimize/lib/global_styling/mixins/_color.js +4 -2
  99. package/optimize/lib/test/index.d.ts +2 -1
  100. package/package.json +2 -2
  101. package/test-env/components/accessibility/skip_link/skip_link.js +7 -0
  102. package/test-env/components/button/button.js +7 -0
  103. package/test-env/components/button/button_empty/button_empty.js +7 -0
  104. package/test-env/components/button/button_group/button_group.js +5 -0
  105. package/test-env/components/button/button_icon/button_icon.js +7 -0
  106. package/test-env/components/card/card.js +7 -0
  107. package/test-env/components/card/card_select/card_select.js +7 -0
  108. package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +7 -0
  109. package/test-env/components/color_picker/color_picker.js +13 -8
  110. package/test-env/components/color_picker/hue.js +21 -5
  111. package/test-env/components/color_picker/hue.styles.js +3 -2
  112. package/test-env/components/color_picker/saturation.js +16 -11
  113. package/test-env/components/color_picker/saturation.styles.js +2 -1
  114. package/test-env/components/datagrid/body/cell/data_grid_cell.js +7 -0
  115. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  116. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  117. package/test-env/components/datagrid/body/data_grid_body.js +7 -0
  118. package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -0
  119. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -0
  120. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +7 -0
  121. package/test-env/components/datagrid/controls/column_sorting.js +7 -0
  122. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +7 -0
  123. package/test-env/components/datagrid/utils/in_memory.js +7 -0
  124. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +7 -0
  125. package/test-env/components/filter_group/filter_button.js +10 -1
  126. package/test-env/components/header/header_links/header_link.js +7 -0
  127. package/test-env/components/header/header_section/header_section_item_button.js +7 -0
  128. package/test-env/components/list_group/list_group.js +7 -0
  129. package/test-env/components/list_group/list_group_item.js +7 -0
  130. package/test-env/components/list_group/list_group_item_extra_action.js +7 -0
  131. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +7 -0
  132. package/test-env/components/pagination/pagination_button.js +7 -0
  133. package/test-env/components/table/table_header_cell.js +26 -12
  134. package/test-env/components/tool_tip/tool_tip.js +4 -1
  135. package/test-env/global_styling/mixins/_button.js +8 -4
  136. package/test-env/global_styling/mixins/_color.js +4 -2
package/eui.d.ts CHANGED
@@ -27,7 +27,7 @@ declare module '@elastic/eui/src/services/keys' {
27
27
  ALT = "Alt",
28
28
  SHIFT = "Shift",
29
29
  CTRL = "Control",
30
- META = "Meta",
30
+ META = "Meta",// Windows, Command, Option
31
31
  ARROW_DOWN = "ArrowDown",
32
32
  ARROW_UP = "ArrowUp",
33
33
  ARROW_LEFT = "ArrowLeft",
@@ -116,9 +116,11 @@ declare module '@elastic/eui/src/components/common' {
116
116
  */
117
117
  export function keysOf<T extends object, K extends keyof T>(obj: T): K[];
118
118
  export type PropsOf<C> = C extends FunctionComponent<infer SFCProps> ? SFCProps : C extends FunctionComponent<infer FunctionProps> ? FunctionProps : C extends Component<infer ComponentProps> ? ComponentProps : never;
119
- export type PropsOfElement<C extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>> = JSX.LibraryManagedAttributes<C, ComponentProps<C>>; type ExtractDefaultProps<T> = T extends {
119
+ export type PropsOfElement<C extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>> = JSX.LibraryManagedAttributes<C, ComponentProps<C>>;
120
+ type ExtractDefaultProps<T> = T extends {
120
121
  defaultProps: infer D;
121
- } ? D : never; type ExtractProps<C extends new (...args: any) => any, IT = InstanceType<C>> = IT extends Component<infer P> ? P : never;
122
+ } ? D : never;
123
+ type ExtractProps<C extends new (...args: any) => any, IT = InstanceType<C>> = IT extends Component<infer P> ? P : never;
122
124
  /**
123
125
  * Because of how TypeScript's LibraryManagedAttributes is designed to handle defaultProps (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#support-for-defaultprops-in-jsx)
124
126
  * we can't directly export the props definition as the defaulted values are not made optional,
@@ -128,9 +130,11 @@ declare module '@elastic/eui/src/components/common' {
128
130
  */
129
131
  export type ApplyClassComponentDefaults<C extends new (...args: any) => any, D = ExtractDefaultProps<C>, P = ExtractProps<C>> = Omit<P, keyof D> & {
130
132
  [K in keyof D]?: K extends keyof P ? P[K] : never;
131
- }; type UnionKeys<T> = T extends any ? keyof T : never;
133
+ };
134
+ type UnionKeys<T> = T extends any ? keyof T : never;
132
135
  export type DistributivePick<T, K extends UnionKeys<T>> = T extends any ? Pick<T, Extract<keyof T, K>> : never;
133
- export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never; type RecursiveDistributiveOmit<T, K extends PropertyKey> = T extends any ? T extends object ? RecursiveOmit<T, K> : T : never;
136
+ export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never;
137
+ type RecursiveDistributiveOmit<T, K extends PropertyKey> = T extends any ? T extends object ? RecursiveOmit<T, K> : T : never;
134
138
  export type RecursiveOmit<T, K extends PropertyKey> = Omit<{
135
139
  [P in keyof T]: RecursiveDistributiveOmit<T[P], K>;
136
140
  }, K>;
@@ -183,7 +187,7 @@ declare module '@elastic/eui/src/services/emotion/clone_element' {
183
187
  * `css` prop - as a result, we need to use `jsx()` to manually clone the element
184
188
  * See https://github.com/emotion-js/emotion/issues/1404
185
189
  */
186
- export const cloneElementWithCss: (element: any, props: any, cssOrder?: 'before' | 'after') => React.ReactElement;
190
+ export const cloneElementWithCss: (element: any, props: any, cssOrder?: "before" | "after") => React.ReactElement;
187
191
 
188
192
  }
189
193
  declare module '@elastic/eui/src/services/emotion/prefixer' {
@@ -212,9 +216,9 @@ declare module '@elastic/eui/src/services/emotion/css' {
212
216
  * and is not yet intended to be a public export
213
217
  */
214
218
  export const css: {
215
- (template: TemplateStringsArray, ...args: import("@emotion/serialize").CSSInterpolation[]): string;
216
- (...args: import("@emotion/serialize").CSSInterpolation[]): string;
217
- }, cx: (...classNames: import("@emotion/css/create-instance").ClassNamesArg[]) => string, cache: import("@emotion/css/create-instance").EmotionCache;
219
+ (template: TemplateStringsArray, ...args: Array<import("@emotion/serialize").CSSInterpolation>): string;
220
+ (...args: Array<import("@emotion/serialize").CSSInterpolation>): string;
221
+ }, cx: (...classNames: Array<import("@emotion/css/create-instance").ClassNamesArg>) => string, cache: import("@emotion/css/create-instance").EmotionCache;
218
222
 
219
223
  }
220
224
  declare module '@elastic/eui/src/services/theme/emotion' {
@@ -240,7 +244,8 @@ declare module '@elastic/eui/src/services/hooks/useDependentState' {
240
244
 
241
245
  }
242
246
  declare module '@elastic/eui/src/services/hooks/useCombinedRefs' {
243
- import { MutableRefObject, Ref } from 'react'; type Refs<T> = Array<Ref<T> | MutableRefObject<T | undefined> | undefined>;
247
+ import { MutableRefObject, Ref } from 'react';
248
+ type Refs<T> = Array<Ref<T> | MutableRefObject<T | undefined> | undefined>;
244
249
  export const useCombinedRefs: <T>(refs: Refs<T>) => (node: T) => void;
245
250
  /**
246
251
  * Non-hook util for setting multiple refs/ref types.
@@ -269,7 +274,7 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
269
274
  * has no control over and may not be correctly memoized (i.e., will create a new
270
275
  * reference on every rerender unless passed through this hook).
271
276
  */
272
- export const useDeepEqual: <T = any[] | Record<string, any> | undefined>(object: T) => T;
277
+ export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
273
278
 
274
279
  }
275
280
  declare module '@elastic/eui/src/services/throttle' {
@@ -299,7 +304,8 @@ declare module '@elastic/eui/src/services/hooks' {
299
304
 
300
305
  }
301
306
  declare module '@elastic/eui/src/services/theme/warning' {
302
- type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
307
+ type LEVELS = 'log' | 'warn' | 'error';
308
+ type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
303
309
  export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
304
310
  export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
305
311
  export const emitEuiProviderWarning: (providerMessage: string) => void;
@@ -308,7 +314,9 @@ declare module '@elastic/eui/src/services/theme/warning' {
308
314
  }
309
315
  declare module '@elastic/eui/src/services/theme/style_memoization' {
310
316
  import React, { FunctionComponent, PropsWithChildren } from 'react';
311
- import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks'; type StylesMap = Record<string, any>; type MemoizedStylesMap = WeakMap<Function, StylesMap>;
317
+ import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
318
+ type StylesMap = Record<string, any>;
319
+ type MemoizedStylesMap = WeakMap<Function, StylesMap>;
312
320
  export const EuiThemeMemoizedStylesContext: React.Context<MemoizedStylesMap>;
313
321
  export const EuiThemeMemoizedStylesProvider: FunctionComponent<PropsWithChildren>;
314
322
  /**
@@ -342,7 +350,7 @@ declare module '@elastic/eui/src/services/theme/high_contrast_overrides' {
342
350
  system: EuiThemeSystem;
343
351
  modifications: EuiThemeModifications;
344
352
  }) => import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
345
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
353
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
346
354
  }> | {
347
355
  colors: {
348
356
  LIGHT: {
@@ -626,8 +634,8 @@ declare module '@elastic/eui/src/services/color/visualization_colors' {
626
634
  }
627
635
  declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
628
636
  import { EuiPalette, EuiPaletteColorBlindProps } from '@elastic/eui/src/services/color/eui_palettes';
629
- export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
630
- export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
637
+ export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps) => EuiPalette;
638
+ export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps) => EuiPalette;
631
639
  export const useEuiPaletteForStatus: (steps: number) => EuiPalette;
632
640
  export const useEuiPaletteForTemperature: (steps: number) => EuiPalette;
633
641
  export const useEuiPaletteComplementary: (steps: number) => EuiPalette;
@@ -637,11 +645,99 @@ declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
637
645
  export const useEuiPaletteWarm: (steps: number) => EuiPalette;
638
646
  export const useEuiPaletteGray: (steps: number) => EuiPalette;
639
647
 
648
+ }
649
+ declare module '@elastic/eui/src/global_styling/mixins/_button' {
650
+ import { type SerializedStyles } from '@emotion/react';
651
+ import { UseEuiTheme } from '@elastic/eui/src/services';
652
+ /** Tentative usage; these exist only to be used as button directly when used within other components */
653
+ export const SEVERITY_COLORS: readonly ["neutral", "risk"];
654
+ export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
655
+ export const EXTENDED_BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
656
+ export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
657
+ export type _EuiExtendedButtonColor = (typeof EXTENDED_BUTTON_COLORS)[number];
658
+ export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
659
+ export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
660
+ export interface _EuiButtonOptions {
661
+ display?: _EuiButtonDisplay;
662
+ }
663
+ /**
664
+ * Creates the `base` version of button styles with proper text contrast.
665
+ * @param euiThemeContext
666
+ * @param color One of the named button colors or 'disabled'
667
+ * @returns Style object `{ backgroundColor, color }`
668
+ */
669
+ export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
670
+ border: string;
671
+ color: string;
672
+ backgroundColor: string;
673
+ } | {
674
+ border?: undefined;
675
+ color: string;
676
+ backgroundColor: string;
677
+ };
678
+ /**
679
+ * Creates the `fill` version of buttons styles with proper text contrast.
680
+ * @param euiThemeContext
681
+ * @param color One of the named button colors or 'disabled'
682
+ * @returns Style object `{ backgroundColor, color }`
683
+ */
684
+ export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
685
+ border: string;
686
+ color: string;
687
+ backgroundColor: string;
688
+ } | {
689
+ border?: undefined;
690
+ color: string;
691
+ backgroundColor: string;
692
+ };
693
+ /**
694
+ * Creates the `empty` version of button styles using the text-variant and adding interactive styles.
695
+ * @param euiThemeContext
696
+ * @param color One of the named button colors or 'disabled'
697
+ * @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
698
+ */
699
+ export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
700
+ color: string;
701
+ backgroundColor: string;
702
+ };
703
+ /**
704
+ * Given the button display type, returns the Emotion based color keys.
705
+ * @param options Button display type
706
+ * @returns An object of `_EuiExtendedButtonColor` keys including `disabled`
707
+ */
708
+ export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
709
+ /**
710
+ * Creates the translate animation when button is in focus.
711
+ * @returns string
712
+ */
713
+ export const useEuiButtonFocusCSS: () => SerializedStyles;
714
+ /**
715
+ * Map of `size` props to various sizings/scales
716
+ * that should remain consistent across all buttons
717
+ */
718
+ export const euiButtonSizeMap: ({ euiTheme }: UseEuiTheme) => {
719
+ xs: {
720
+ height: string;
721
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
722
+ fontScale: "xs";
723
+ };
724
+ s: {
725
+ height: string;
726
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
727
+ fontScale: "s";
728
+ };
729
+ m: {
730
+ height: string;
731
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
732
+ fontScale: "s";
733
+ };
734
+ };
735
+
640
736
  }
641
737
  declare module '@elastic/eui/src/global_styling/mixins/_color' {
642
738
  import { SerializedStyles } from '@emotion/react';
643
739
  import { UseEuiTheme } from '@elastic/eui/src/services';
644
- export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
740
+ export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
645
741
  export type _EuiBackgroundColor = (typeof BACKGROUND_COLORS)[number];
646
742
  export interface _EuiBackgroundColorOptions {
647
743
  /**
@@ -724,7 +820,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
724
820
  horizontal: string;
725
821
  vertical: string;
726
822
  };
727
- export const LOGICAL_SIDES: ("left" | "right" | "top" | "bottom" | "horizontal" | "vertical")[];
823
+ export const LOGICAL_SIDES: ("left" | "right" | "bottom" | "top" | "horizontal" | "vertical")[];
728
824
  export type LogicalSides = (typeof LOGICAL_SIDES)[number];
729
825
  export const logicals: {
730
826
  height: string;
@@ -783,7 +879,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
783
879
  "border-bottom-right-radius": string;
784
880
  _shorthands: string[];
785
881
  };
786
- export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "top" | "bottom" | "horizontal" | "vertical" | "height" | "max-height" | "max-width" | "min-height" | "min-width" | "margin-left" | "margin-right" | "margin-top" | "margin-bottom" | "margin-horizontal" | "margin-vertical" | "padding-left" | "padding-right" | "padding-top" | "padding-bottom" | "padding-horizontal" | "padding-vertical" | "overflow-x" | "overflow-y" | "border-horizontal" | "border-horizontal-color" | "border-horizontal-width" | "border-horizontal-style" | "border-vertical" | "border-vertical-color" | "border-vertical-width" | "border-vertical-style" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius")[];
882
+ export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "bottom" | "height" | "top" | "horizontal" | "vertical" | "max-height" | "max-width" | "min-height" | "min-width" | "margin-left" | "margin-right" | "margin-top" | "margin-bottom" | "margin-horizontal" | "margin-vertical" | "padding-left" | "padding-right" | "padding-top" | "padding-bottom" | "padding-horizontal" | "padding-vertical" | "overflow-x" | "overflow-y" | "border-horizontal" | "border-horizontal-color" | "border-horizontal-width" | "border-horizontal-style" | "border-vertical" | "border-vertical-color" | "border-vertical-width" | "border-vertical-style" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius")[];
787
883
  export type LogicalProperties = (typeof LOGICAL_PROPERTIES)[number];
788
884
  /**
789
885
  *
@@ -944,7 +1040,7 @@ declare module '@elastic/eui/src/global_styling/functions/typography' {
944
1040
  * this mixin will ensure that the sizing is dependent on the boldest
945
1041
  * weight so it doesn't shift sibling content.
946
1042
  */
947
- export const euiTextShift: (fontWeight: keyof _EuiThemeFontWeights | undefined, attribute: string | undefined, euiTheme: UseEuiTheme['euiTheme']) => string;
1043
+ export const euiTextShift: (fontWeight: keyof _EuiThemeFontWeights | undefined, attribute: string | undefined, euiTheme: UseEuiTheme["euiTheme"]) => string;
948
1044
 
949
1045
  }
950
1046
  declare module '@elastic/eui/src/global_styling/functions' {
@@ -981,7 +1077,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
981
1077
  corner?: CSSProperties['borderWidth'];
982
1078
  }
983
1079
  export const euiScrollBarStyles: ({ euiTheme: { colors, size } }: UseEuiTheme, { thumbColor: _thumbColor, trackColor, width, size: _size, corner: _corner, }?: EuiScrollBarStyles) => string;
984
- export const useEuiScrollBar: (options?: EuiScrollBarStyles | undefined) => string;
1080
+ export const useEuiScrollBar: (options?: EuiScrollBarStyles) => string;
985
1081
  /**
986
1082
  * 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
987
1083
  * Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
@@ -1006,7 +1102,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1006
1102
  mask?: boolean;
1007
1103
  }
1008
1104
  export const euiOverflowScroll: (euiTheme: UseEuiTheme, { direction, mask }?: EuiScrollOverflowStyles) => string;
1009
- export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles['direction'], mask?: EuiScrollOverflowStyles['mask']) => string;
1105
+ export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles["direction"], mask?: EuiScrollOverflowStyles["mask"]) => string;
1010
1106
  /**
1011
1107
  * For quickly applying a full-height element whether using flex or not
1012
1108
  */
@@ -1017,6 +1113,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1017
1113
  declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1018
1114
  import { SerializedStyles } from '@emotion/react';
1019
1115
  import { UseEuiTheme } from '@elastic/eui/src/services/theme';
1116
+ import { LogicalSides } from '@elastic/eui/src/global_styling/functions';
1020
1117
  export const PADDING_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
1021
1118
  export type EuiPaddingSize = (typeof PADDING_SIZES)[number];
1022
1119
  /**
@@ -1024,7 +1121,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1024
1121
  */
1025
1122
  export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
1026
1123
  export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
1027
- export const useEuiPaddingCSS: (side?: "left" | "right" | "top" | "bottom" | "horizontal" | "vertical" | undefined) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
1124
+ export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
1028
1125
 
1029
1126
  }
1030
1127
  declare module '@elastic/eui/src/global_styling/mixins/_states' {
@@ -1039,11 +1136,11 @@ declare module '@elastic/eui/src/global_styling/mixins/_states' {
1039
1136
  * @param offset Accepts a specific measurement or 'inset', 'outset' or 'center' to adjust outline position
1040
1137
  * @param color Accepts any CSS color
1041
1138
  */
1042
- export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties['outlineColor']) => string;
1139
+ export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties["outlineColor"]) => string;
1043
1140
  export const euiFocusRing: (euiThemeContext: UseEuiTheme, offset?: _EuiFocusRingOffset, options?: {
1044
- color?: CSSProperties['outlineColor'];
1045
- } | undefined) => string;
1046
- export const useEuiFocusRing: (offset?: _EuiFocusRingOffset, color?: CSSProperties['outlineColor']) => string;
1141
+ color?: CSSProperties["outlineColor"];
1142
+ }) => string;
1143
+ export const useEuiFocusRing: (offset?: _EuiFocusRingOffset, color?: CSSProperties["outlineColor"]) => string;
1047
1144
 
1048
1145
  }
1049
1146
  declare module '@elastic/eui/src/global_styling/mixins/_typography' {
@@ -1058,8 +1155,8 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1058
1155
  /**
1059
1156
  * Returns font-size and line-height
1060
1157
  */
1061
- export const euiFontSize: ({ euiTheme }: UseEuiTheme, scale: _EuiThemeFontScale, options?: _FontScaleOptions | undefined) => EuiThemeFontSize;
1062
- export const useEuiFontSize: (scale: _EuiThemeFontScale, options?: _FontScaleOptions | undefined) => EuiThemeFontSize;
1158
+ export const euiFontSize: ({ euiTheme }: UseEuiTheme, scale: _EuiThemeFontScale, options?: _FontScaleOptions) => EuiThemeFontSize;
1159
+ export const useEuiFontSize: (scale: _EuiThemeFontScale, options?: _FontScaleOptions) => EuiThemeFontSize;
1063
1160
  /**
1064
1161
  * Force text to wrap on natural word breaks (e.g. spaces & hyphens)
1065
1162
  * https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
@@ -1068,7 +1165,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1068
1165
  /**
1069
1166
  * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
1070
1167
  */
1071
- export const euiTextTruncate: (maxWidth?: CSSProperties['maxWidth']) => string;
1168
+ export const euiTextTruncate: (maxWidth?: CSSProperties["maxWidth"]) => string;
1072
1169
  /**
1073
1170
  * Fixed-width numbers for tabular data
1074
1171
  */
@@ -1158,90 +1255,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
1158
1255
  export const euiMaxBreakpoint: ({ euiTheme }: UseEuiTheme, size: _EuiThemeBreakpoint) => string;
1159
1256
  export const useEuiMaxBreakpoint: (size: _EuiThemeBreakpoint) => string;
1160
1257
 
1161
- }
1162
- declare module '@elastic/eui/src/global_styling/mixins/_button' {
1163
- import { type SerializedStyles } from '@emotion/react';
1164
- import { UseEuiTheme } from '@elastic/eui/src/services';
1165
- export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
1166
- export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
1167
- export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
1168
- export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
1169
- export interface _EuiButtonOptions {
1170
- display?: _EuiButtonDisplay;
1171
- }
1172
- /**
1173
- * Creates the `base` version of button styles with proper text contrast.
1174
- * @param euiThemeContext
1175
- * @param color One of the named button colors or 'disabled'
1176
- * @returns Style object `{ backgroundColor, color }`
1177
- */
1178
- export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1179
- border: string;
1180
- color: string;
1181
- backgroundColor: string;
1182
- } | {
1183
- border?: undefined;
1184
- color: string;
1185
- backgroundColor: string;
1186
- };
1187
- /**
1188
- * Creates the `fill` version of buttons styles with proper text contrast.
1189
- * @param euiThemeContext
1190
- * @param color One of the named button colors or 'disabled'
1191
- * @returns Style object `{ backgroundColor, color }`
1192
- */
1193
- export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1194
- border: string;
1195
- color: string;
1196
- backgroundColor: string;
1197
- } | {
1198
- border?: undefined;
1199
- color: string;
1200
- backgroundColor: string;
1201
- };
1202
- /**
1203
- * Creates the `empty` version of button styles using the text-variant and adding interactive styles.
1204
- * @param euiThemeContext
1205
- * @param color One of the named button colors or 'disabled'
1206
- * @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
1207
- */
1208
- export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1209
- color: string;
1210
- backgroundColor: string;
1211
- };
1212
- /**
1213
- * Given the button display type, returns the Emotion based color keys.
1214
- * @param options Button display type
1215
- * @returns An object of `_EuiButtonColor` keys including `disabled`
1216
- */
1217
- export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
1218
- /**
1219
- * Creates the translate animation when button is in focus.
1220
- * @returns string
1221
- */
1222
- export const useEuiButtonFocusCSS: () => SerializedStyles;
1223
- /**
1224
- * Map of `size` props to various sizings/scales
1225
- * that should remain consistent across all buttons
1226
- */
1227
- export const euiButtonSizeMap: ({ euiTheme }: UseEuiTheme) => {
1228
- xs: {
1229
- height: string;
1230
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1231
- fontScale: "xs";
1232
- };
1233
- s: {
1234
- height: string;
1235
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1236
- fontScale: "s";
1237
- };
1238
- m: {
1239
- height: string;
1240
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1241
- fontScale: "s";
1242
- };
1243
- };
1244
-
1245
1258
  }
1246
1259
  declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1247
1260
  import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
@@ -1249,9 +1262,9 @@ declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1249
1262
  export interface EuiShadowCustomColor {
1250
1263
  color?: string;
1251
1264
  }
1252
- export const useEuiSlightShadowHover: (options?: EuiShadowOptions | undefined) => string;
1253
- export const useEuiShadowFlat: (options?: EuiShadowOptions | undefined) => string;
1254
- export const useEuiShadow: (size?: _EuiThemeShadowSize, options?: EuiShadowOptions | undefined) => string;
1265
+ export const useEuiSlightShadowHover: (options?: EuiShadowOptions) => string;
1266
+ export const useEuiShadowFlat: (options?: EuiShadowOptions) => string;
1267
+ export const useEuiShadow: (size?: _EuiThemeShadowSize, options?: EuiShadowOptions) => string;
1255
1268
 
1256
1269
  }
1257
1270
  declare module '@elastic/eui/src/global_styling/mixins' {
@@ -1342,7 +1355,7 @@ declare module '@elastic/eui/src/components/text/text_color' {
1342
1355
  import type { SharedTextProps, CloneElement, EuiTextColors } from '@elastic/eui/src/components/text/types';
1343
1356
  export const COLORS: readonly ["default", "subdued", "success", "accent", "accentSecondary", "danger", "warning", "ghost", "inherit"];
1344
1357
  export type TextColor = (typeof COLORS)[number];
1345
- export const _isNamedColor: (color: any) => color is "accent" | "accentSecondary" | "success" | "warning" | "danger" | "ghost" | "inherit" | "default" | "subdued";
1358
+ export const _isNamedColor: (color: any) => color is TextColor;
1346
1359
  export type EuiTextColorProps = SharedTextProps & CloneElement & EuiTextColors;
1347
1360
  export const EuiTextColor: FunctionComponent<EuiTextColorProps>;
1348
1361
 
@@ -1442,13 +1455,17 @@ declare module '@elastic/eui/src/components/title/title.styles' {
1442
1455
  import { CSSProperties } from 'react';
1443
1456
  import { UseEuiTheme } from '@elastic/eui/src/services';
1444
1457
  import { _FontScaleOptions } from '@elastic/eui/src/global_styling';
1445
- import { EuiTitleSize } from '@elastic/eui/src/components/title/title'; type EuiThemeTitle = {
1458
+ import { EuiTitleSize } from '@elastic/eui/src/components/title/title';
1459
+ /**
1460
+ * Mixin
1461
+ */
1462
+ type EuiThemeTitle = {
1446
1463
  fontSize: CSSProperties['fontSize'];
1447
1464
  lineHeight: CSSProperties['lineHeight'];
1448
1465
  fontWeight: CSSProperties['fontWeight'];
1449
1466
  color: CSSProperties['color'];
1450
1467
  };
1451
- export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions | undefined) => EuiThemeTitle;
1468
+ export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions) => EuiThemeTitle;
1452
1469
  /**
1453
1470
  * Styles
1454
1471
  */
@@ -1512,7 +1529,7 @@ declare module '@elastic/eui/src/components/text/text.styles' {
1512
1529
  /**
1513
1530
  * Mixins
1514
1531
  */
1515
- export const euiText: (euiTheme: UseEuiTheme['euiTheme'], inheritColor?: boolean) => {
1532
+ export const euiText: (euiTheme: UseEuiTheme["euiTheme"], inheritColor?: boolean) => {
1516
1533
  color: string;
1517
1534
  fontWeight: import("csstype").Property.FontWeight | undefined;
1518
1535
  };
@@ -1595,9 +1612,9 @@ declare module '@elastic/eui/src/services/predicate/common_predicates' {
1595
1612
  export const isUndefined: (value: any) => value is undefined;
1596
1613
  export const isNull: (value: any) => value is null;
1597
1614
  export const isNil: (value: any) => value is null | undefined;
1598
- export const isMoment: (value: any) => boolean;
1615
+ export const isMoment: (value: any) => value is moment.Moment;
1599
1616
  export const isDate: (value: any) => value is Date;
1600
- export const isDateLike: (value: any) => value is Date | moment.Moment;
1617
+ export const isDateLike: (value: any) => value is moment.Moment | Date;
1601
1618
 
1602
1619
  }
1603
1620
  declare module '@elastic/eui/src/services/predicate/lodash_predicates' {
@@ -1632,7 +1649,8 @@ declare module '@elastic/eui/src/components/i18n/i18n_util' {
1632
1649
  declare module '@elastic/eui/src/components/i18n/i18n' {
1633
1650
  import React, { ReactElement, ReactNode } from 'react';
1634
1651
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
1635
- import { Renderable } from '@elastic/eui/src/components/context/context'; type ResolvedType<T> = T extends (...args: any[]) => any ? ReturnType<T> : T;
1652
+ import { Renderable } from '@elastic/eui/src/components/context/context';
1653
+ type ResolvedType<T> = T extends (...args: any[]) => any ? ReturnType<T> : T;
1636
1654
  interface I18nTokenShape<T, DEFAULT extends Renderable<T>> {
1637
1655
  token: string;
1638
1656
  default: DEFAULT;
@@ -1651,7 +1669,9 @@ declare module '@elastic/eui/src/components/i18n/i18n' {
1651
1669
  children: (x: Array<T[number]>) => ReactNode;
1652
1670
  values?: Record<string, ReactNode>;
1653
1671
  }
1654
- export type EuiI18nProps<T, DEFAULT extends Renderable<T>, DEFAULTS extends any[]> = ExclusiveUnion<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>>; const EuiI18n: <T extends {}, DEFAULT extends Renderable<T>, DEFAULTS extends any[]>(props: (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>> & I18nTokensShape<DEFAULTS>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokensShape<DEFAULTS>, I18nTokenShape<T, DEFAULT>> & I18nTokenShape<T, DEFAULT>)) => React.JSX.Element; type DefaultRenderType<T, K extends Renderable<T>> = K extends ReactNode ? K : K extends () => infer RetValue ? RetValue : never; type DefaultsRenderType<K extends Array<string | ReactElement>> = K extends Array<infer Item> ? Item : never; function useEuiI18n<T extends {}, DEFAULT extends Renderable<T>>(token: string, defaultValue: DEFAULT, values?: T): DefaultRenderType<T, DEFAULT>; function useEuiI18n<DEFAULTS extends Array<string | ReactElement>>(tokens: string[], defaultValues: DEFAULTS): Array<DefaultsRenderType<DEFAULTS>>;
1672
+ export type EuiI18nProps<T, DEFAULT extends Renderable<T>, DEFAULTS extends any[]> = ExclusiveUnion<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>>; const EuiI18n: <T extends {}, DEFAULT extends Renderable<T>, DEFAULTS extends any[]>(props: EuiI18nProps<T, DEFAULT, DEFAULTS>) => React.JSX.Element;
1673
+ type DefaultRenderType<T, K extends Renderable<T>> = K extends ReactNode ? K : K extends () => infer RetValue ? RetValue : never;
1674
+ type DefaultsRenderType<K extends Array<string | ReactElement>> = K extends Array<infer Item> ? Item : never; function useEuiI18n<T extends {}, DEFAULT extends Renderable<T>>(token: string, defaultValue: DEFAULT, values?: T): DefaultRenderType<T, DEFAULT>; function useEuiI18n<DEFAULTS extends Array<string | ReactElement>>(tokens: string[], defaultValues: DEFAULTS): Array<DefaultsRenderType<DEFAULTS>>;
1655
1675
  export { EuiI18n, useEuiI18n };
1656
1676
 
1657
1677
  }
@@ -1730,7 +1750,7 @@ declare module '@elastic/eui/src/components/observer/resize_observer/resize_obse
1730
1750
  onResize: ResizeObserverCallback;
1731
1751
  beginObserve: () => void;
1732
1752
  }
1733
- export const useResizeObserver: (container: Element | null, dimension?: "width" | "height" | undefined) => {
1753
+ export const useResizeObserver: (container: Element | null, dimension?: "width" | "height") => {
1734
1754
  width: number;
1735
1755
  height: number;
1736
1756
  };
@@ -1747,7 +1767,8 @@ declare module '@elastic/eui/src/components/portal/portal' {
1747
1767
  * into portals.
1748
1768
  */
1749
1769
  import React, { FunctionComponent, Component, ContextType, ReactNode } from 'react';
1750
- import { EuiNestedThemeContext } from '@elastic/eui/src/services'; const INSERT_POSITIONS: readonly ["after", "before"]; type EuiPortalInsertPosition = (typeof INSERT_POSITIONS)[number];
1770
+ import { EuiNestedThemeContext } from '@elastic/eui/src/services'; const INSERT_POSITIONS: readonly ["after", "before"];
1771
+ type EuiPortalInsertPosition = (typeof INSERT_POSITIONS)[number];
1751
1772
  export interface EuiPortalProps {
1752
1773
  /**
1753
1774
  * ReactNode to render as this component's content
@@ -1795,7 +1816,7 @@ declare module '@elastic/eui/src/components/table/mobile/responsive_context' {
1795
1816
  * Used by parent/top-level table components to determine isResponsive state
1796
1817
  * based on the passed breakpoint
1797
1818
  */
1798
- export const useIsEuiTableResponsive: (componentProp?: string | boolean | undefined) => boolean;
1819
+ export const useIsEuiTableResponsive: (componentProp?: EuiBreakpointSize | boolean) => boolean;
1799
1820
  /**
1800
1821
  * Context set by parent table components
1801
1822
  * Hook used by cells to fetch parent isResponsive state
@@ -1887,7 +1908,7 @@ declare module '@elastic/eui/src/components/table/table_footer' {
1887
1908
  declare module '@elastic/eui/src/components/table/utils' {
1888
1909
  import { CSSProperties } from 'react';
1889
1910
  export const WARNING_MESSAGE = "Two `width` properties were provided. Provide only one of `style.width` or `width` to avoid conflicts.";
1890
- export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number | undefined) => CSSProperties;
1911
+ export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number) => CSSProperties;
1891
1912
 
1892
1913
  }
1893
1914
  declare module '@elastic/eui/src/services/canvas/canvas_text_utils' {
@@ -1925,7 +1946,8 @@ declare module '@elastic/eui/src/services/canvas' {
1925
1946
 
1926
1947
  }
1927
1948
  declare module '@elastic/eui/src/components/text_truncate/utils' {
1928
- import { CanvasTextParams, CanvasTextUtils } from '@elastic/eui/src/services/canvas'; type TruncationParams = CanvasTextParams & {
1949
+ import { CanvasTextParams, CanvasTextUtils } from '@elastic/eui/src/services/canvas';
1950
+ type TruncationParams = CanvasTextParams & {
1929
1951
  fullText: string;
1930
1952
  ellipsis: string;
1931
1953
  availableWidth: number;
@@ -1954,7 +1976,7 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
1954
1976
  */
1955
1977
  widthRatio: number;
1956
1978
  setTextWidthRatio: (text?: string, textToOffset?: string) => void;
1957
- getTextFromRatio: (text: string, type: 'start' | 'end') => string;
1979
+ getTextFromRatio: (text: string, type: "start" | "end") => string;
1958
1980
  /**
1959
1981
  * Early return checks
1960
1982
  */
@@ -1964,8 +1986,8 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
1964
1986
  /**
1965
1987
  * Truncation types logic. This is where the magic happens
1966
1988
  */
1967
- truncateStart: (truncationOffset?: number | undefined) => string;
1968
- truncateEnd: (truncationOffset?: number | undefined) => string;
1989
+ truncateStart: (truncationOffset?: number) => string;
1990
+ truncateEnd: (truncationOffset?: number) => string;
1969
1991
  truncateStartEndAtPosition: (truncationPosition: number) => string;
1970
1992
  truncateStartEndAtMiddle: () => string;
1971
1993
  truncateMiddle: () => string;
@@ -2210,7 +2232,8 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
2210
2232
  * Used by EuiBasicTable to render hidden copy markers
2211
2233
  */
2212
2234
  append?: ReactNode;
2213
- } type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2235
+ }
2236
+ type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2214
2237
  export const EuiTableRowCell: FunctionComponent<Props>;
2215
2238
  export {};
2216
2239
 
@@ -2873,7 +2896,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2873
2896
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2874
2897
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2875
2898
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2876
- export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "temperature" | "scale" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "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" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "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" | "questionInCircle" | "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")[];
2899
+ 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" | "empty" | "scale" | "wordWrap" | "grid" | "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" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "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" | "questionInCircle" | "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")[];
2877
2900
  export type EuiIconType = keyof typeof typeToPathMap;
2878
2901
  export type IconType = EuiIconType | string | ComponentType;
2879
2902
  export type IconColor = string | NamedColor;
@@ -2916,9 +2939,9 @@ declare module '@elastic/eui/src/components/icon/icon' {
2916
2939
  isLoading: boolean;
2917
2940
  neededLoading: boolean;
2918
2941
  }
2919
- export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "temperature" | "scale" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "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" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "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" | "questionInCircle" | "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" | undefined) => void;
2942
+ export const clearIconComponentCache: (iconType?: EuiIconType) => void;
2920
2943
  export const appendIconComponentCache: (iconTypeToIconComponentMap: {
2921
- [iconType: string]: React.ComponentType<{}>;
2944
+ [iconType: string]: ComponentType;
2922
2945
  }) => void;
2923
2946
  export class EuiIconClass extends PureComponent<EuiIconProps & WithEuiStylesMemoizerProps, State> {
2924
2947
  isMounted: boolean;
@@ -2939,7 +2962,8 @@ declare module '@elastic/eui/src/components/icon' {
2939
2962
 
2940
2963
  }
2941
2964
  declare module '@elastic/eui/src/components/inner_text/inner_text' {
2942
- import { FunctionComponent, ReactElement } from 'react'; type RefT = HTMLElement | Element | undefined | null;
2965
+ import { FunctionComponent, ReactElement } from 'react';
2966
+ type RefT = HTMLElement | Element | undefined | null;
2943
2967
  export function useInnerText(innerTextFallback?: string): [(node: RefT) => void, string | undefined];
2944
2968
  export interface EuiInnerTextProps {
2945
2969
  /**
@@ -3170,9 +3194,9 @@ declare module '@elastic/eui/src/services/popover' {
3170
3194
  declare module '@elastic/eui/src/components/panel/panel.styles' {
3171
3195
  import { UseEuiTheme } from '@elastic/eui/src/services';
3172
3196
  export const euiPanelBorderStyles: (euiThemeContext: UseEuiTheme, options?: {
3173
- borderColor?: string | undefined;
3174
- hasFloatingBorder?: boolean | undefined;
3175
- } | undefined) => string;
3197
+ borderColor?: string;
3198
+ hasFloatingBorder?: boolean;
3199
+ }) => string;
3176
3200
  export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
3177
3201
  euiPanel: import("@emotion/react").SerializedStyles;
3178
3202
  grow: import("@emotion/react").SerializedStyles;
@@ -3188,8 +3212,8 @@ declare module '@elastic/eui/src/components/panel/panel.styles' {
3188
3212
  }
3189
3213
  declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3190
3214
  import { UseEuiTheme } from '@elastic/eui/src/services';
3191
- export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3192
- export const euiToolTipBorderColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3215
+ export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3216
+ export const euiToolTipBorderColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3193
3217
  export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
3194
3218
  euiToolTip: import("@emotion/react").SerializedStyles;
3195
3219
  s: import("@emotion/react").SerializedStyles;
@@ -3216,7 +3240,8 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3216
3240
  declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
3217
3241
  import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
3218
3242
  import { CommonProps } from '@elastic/eui/src/components/common';
3219
- export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left'; type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
3243
+ export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
3244
+ type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
3220
3245
  positionToolTip: () => void;
3221
3246
  children?: ReactNode;
3222
3247
  title?: ReactNode;
@@ -3660,14 +3685,14 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3660
3685
  * any element as a button.
3661
3686
  */
3662
3687
  export const EuiButtonDisplay: React.ForwardRefExoticComponent<((import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForAnchor, EuiButtonDisplayPropsForButton> & EuiButtonDisplayCommonProps & {
3663
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
3688
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
3664
3689
  } & React.ButtonHTMLAttributes<HTMLButtonElement> & {
3665
- buttonRef?: React.Ref<HTMLButtonElement> | undefined;
3690
+ buttonRef?: Ref<HTMLButtonElement>;
3666
3691
  }) | (import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForButton, EuiButtonDisplayPropsForAnchor> & EuiButtonDisplayCommonProps & {
3667
- href?: string | undefined;
3668
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
3692
+ href?: string;
3693
+ onClick?: React.MouseEventHandler<HTMLAnchorElement>;
3669
3694
  } & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
3670
- buttonRef?: React.Ref<HTMLAnchorElement> | undefined;
3695
+ buttonRef?: Ref<HTMLAnchorElement>;
3671
3696
  })) & React.RefAttributes<HTMLElement>>;
3672
3697
  export {};
3673
3698
 
@@ -3675,10 +3700,10 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3675
3700
  declare module '@elastic/eui/src/components/button/button' {
3676
3701
  import { FunctionComponent, Ref, ReactNode } from 'react';
3677
3702
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3678
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3703
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3679
3704
  import { EuiButtonDisplayCommonProps } from '@elastic/eui/src/components/button/button_display/_button_display';
3680
- export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
3681
- export type EuiButtonColor = _EuiButtonColor;
3705
+ export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
3706
+ export type EuiButtonColor = _EuiExtendedButtonColor;
3682
3707
  export const SIZES: readonly ["s", "m"];
3683
3708
  export type EuiButtonSize = (typeof SIZES)[number];
3684
3709
  interface BaseProps {
@@ -3689,6 +3714,13 @@ declare module '@elastic/eui/src/components/button/button' {
3689
3714
  fill?: boolean;
3690
3715
  /**
3691
3716
  * Any of the named color palette options.
3717
+ *
3718
+ * Do not use the following colors for standalone buttons directly,
3719
+ * they exist to serve other components:
3720
+ * - accent
3721
+ * - warning
3722
+ * - neutral
3723
+ * - risk
3692
3724
  */
3693
3725
  color?: EuiButtonColor;
3694
3726
  /**
@@ -3736,7 +3768,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3736
3768
  import { FunctionComponent, Ref, ButtonHTMLAttributes } from 'react';
3737
3769
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3738
3770
  import { EuiButtonDisplayContentProps, EuiButtonDisplayContentType } from '@elastic/eui/src/components/button/button_display/_button_display_content';
3739
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3771
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3740
3772
  export const SIZES: readonly ["xs", "s", "m"];
3741
3773
  export type EuiButtonEmptySizes = (typeof SIZES)[number];
3742
3774
  export const FLUSH_TYPES: readonly ["left", "right", "both"];
@@ -3748,8 +3780,15 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3748
3780
  export interface CommonEuiButtonEmptyProps extends EuiButtonDisplayContentProps, CommonProps {
3749
3781
  /**
3750
3782
  * Any of the named color palette options.
3751
- */
3752
- color?: _EuiButtonColor;
3783
+ *
3784
+ * Do not use the following colors for standalone buttons directly,
3785
+ * they exist to serve other components:
3786
+ * - accent
3787
+ * - warning
3788
+ * - neutral
3789
+ * - risk
3790
+ */
3791
+ color?: _EuiExtendedButtonColor;
3753
3792
  size?: EuiButtonEmptySizes;
3754
3793
  /**
3755
3794
  * Ensure the text of the button sits flush to the left, right, or both sides of its container
@@ -3777,7 +3816,8 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3777
3816
  * Object of props passed to the `<span>` wrapping the button's content
3778
3817
  */
3779
3818
  contentProps?: CommonProps & EuiButtonDisplayContentType;
3780
- } type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3819
+ }
3820
+ type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3781
3821
  export type EuiButtonEmptyPropsForButton = PropsForButton<CommonEuiButtonEmptyProps>;
3782
3822
  export type EuiButtonEmptyProps = ExclusiveUnion<EuiButtonEmptyPropsForAnchor, EuiButtonEmptyPropsForButton>;
3783
3823
  export const EuiButtonEmpty: FunctionComponent<EuiButtonEmptyProps>;
@@ -3806,16 +3846,24 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3806
3846
  import { AnchorHTMLAttributes, ButtonHTMLAttributes, FunctionComponent, Ref } from 'react';
3807
3847
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3808
3848
  import { IconType, IconSize } from '@elastic/eui/src/components/icon';
3809
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3849
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3810
3850
  export const SIZES: readonly ["xs", "s", "m"];
3811
3851
  export type EuiButtonIconSizes = (typeof SIZES)[number];
3812
- export const DISPLAYS: readonly ["base", "empty", "fill"]; type EuiButtonIconDisplay = (typeof DISPLAYS)[number];
3852
+ export const DISPLAYS: readonly ["base", "empty", "fill"];
3853
+ type EuiButtonIconDisplay = (typeof DISPLAYS)[number];
3813
3854
  export interface EuiButtonIconProps extends CommonProps {
3814
3855
  iconType: IconType;
3815
3856
  /**
3816
3857
  * Any of the named color palette options.
3817
- */
3818
- color?: _EuiButtonColor;
3858
+ *
3859
+ * Do not use the following colors for standalone buttons directly,
3860
+ * they exist to serve other components:
3861
+ * - accent
3862
+ * - warning
3863
+ * - neutral
3864
+ * - risk
3865
+ */
3866
+ color?: _EuiExtendedButtonColor;
3819
3867
  'aria-label'?: string;
3820
3868
  'aria-labelledby'?: string;
3821
3869
  isDisabled?: boolean;
@@ -3855,7 +3903,8 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3855
3903
  type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
3856
3904
  } & PropsForButton<EuiButtonIconProps, {
3857
3905
  buttonRef?: Ref<HTMLButtonElement>;
3858
- }>; type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3906
+ }>;
3907
+ type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3859
3908
  export const EuiButtonIcon: FunctionComponent<Props>;
3860
3909
  export {};
3861
3910
 
@@ -3916,10 +3965,10 @@ declare module '@elastic/eui/src/components/form/form.styles' {
3916
3965
  };
3917
3966
  export const euiFormControlText: (euiThemeContext: UseEuiTheme) => string;
3918
3967
  export const euiFormControlDefaultShadow: (euiThemeContext: UseEuiTheme, { withBorder, withBackground, withBackgroundColor, withBackgroundAnimation, }?: {
3919
- withBorder?: boolean | undefined;
3920
- withBackground?: boolean | undefined;
3921
- withBackgroundColor?: boolean | undefined;
3922
- withBackgroundAnimation?: boolean | undefined;
3968
+ withBorder?: boolean;
3969
+ withBackground?: boolean;
3970
+ withBackgroundColor?: boolean;
3971
+ withBackgroundAnimation?: boolean;
3923
3972
  }) => string;
3924
3973
  export const euiFormControlFocusStyles: (euiThemeContext: UseEuiTheme) => string;
3925
3974
  export const euiFormControlInvalidStyles: (euiThemeContext: UseEuiTheme) => string;
@@ -4002,12 +4051,13 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
4002
4051
  euiButtonGroupButton__iconOnly: SerializedStyles;
4003
4052
  };
4004
4053
  };
4005
- export const _compressedButtonFocusColors: (euiThemeContext: UseEuiTheme) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
4054
+ export const _compressedButtonFocusColors: (euiThemeContext: UseEuiTheme) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled", SerializedStyles>;
4006
4055
 
4007
4056
  }
4008
4057
  declare module '@elastic/eui/src/components/button/button_group/button_group_button' {
4009
4058
  import { FunctionComponent, MouseEventHandler } from 'react';
4010
- import { EuiButtonGroupOptionProps, EuiButtonGroupProps } from '@elastic/eui/src/components/button/button_group/button_group'; type Props = EuiButtonGroupOptionProps & {
4059
+ import { EuiButtonGroupOptionProps, EuiButtonGroupProps } from '@elastic/eui/src/components/button/button_group/button_group';
4060
+ type Props = EuiButtonGroupOptionProps & {
4011
4061
  /**
4012
4062
  * Styles the selected button to look selected (usually with `fill`)
4013
4063
  */
@@ -4109,6 +4159,11 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4109
4159
  legend: string;
4110
4160
  /**
4111
4161
  * Any of the named color palette options.
4162
+ *
4163
+ * Do not use the following colors for standalone buttons directly,
4164
+ * they exist to serve other components:
4165
+ * - accent
4166
+ * - warning
4112
4167
  */
4113
4168
  color?: _EuiButtonColor;
4114
4169
  /**
@@ -4159,7 +4214,8 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4159
4214
  * @deprecated
4160
4215
  */
4161
4216
  name?: never;
4162
- }); type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4217
+ });
4218
+ type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4163
4219
  export const EuiButtonGroup: FunctionComponent<Props>;
4164
4220
  export {};
4165
4221
 
@@ -4276,7 +4332,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
4276
4332
  * Reduce the size to `s` when in need of a more compressed menu
4277
4333
  */
4278
4334
  size?: (typeof SIZES)[number];
4279
- } type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4335
+ }
4336
+ type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4280
4337
  export const LAYOUT_ALIGN: EuiContextMenuItemLayoutAlignment[];
4281
4338
  export const EuiContextMenuItem: FunctionComponent<Props>;
4282
4339
  export {};
@@ -4340,7 +4397,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4340
4397
  * Alters the size of the items and the title
4341
4398
  */
4342
4399
  size?: (typeof SIZES)[number];
4343
- }; type Props = EuiContextMenuPanelProps;
4400
+ };
4401
+ type Props = EuiContextMenuPanelProps;
4344
4402
  interface State {
4345
4403
  prevProps: {
4346
4404
  items: Props['items'];
@@ -4360,7 +4418,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4360
4418
  private initialPopoverParent?;
4361
4419
  constructor(props: WithEuiStylesMemoizerProps & Props);
4362
4420
  findMenuItems: () => void;
4363
- focusMenuItem: (direction: 'up' | 'down') => void;
4421
+ focusMenuItem: (direction: "up" | "down") => void;
4364
4422
  onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
4365
4423
  takeInitialFocus(): void;
4366
4424
  reclaimPopoverFocus: () => void;
@@ -4466,7 +4524,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu' {
4466
4524
  componentDidUpdate(prevProps: EuiContextMenuProps): void;
4467
4525
  hasPreviousPanel: (panelId: EuiContextMenuPanelId) => boolean;
4468
4526
  showPanel(panelId: EuiContextMenuPanelId, direction?: EuiContextMenuPanelTransitionDirection): void;
4469
- showNextPanel: (itemIndex?: number | undefined) => void;
4527
+ showNextPanel: (itemIndex?: number) => void;
4470
4528
  showPreviousPanel: () => void;
4471
4529
  onIncomingPanelHeightChange: (height: number) => void;
4472
4530
  onOutGoingPanelTransitionComplete: () => void;
@@ -4530,14 +4588,16 @@ declare module '@elastic/eui/src/components/flex/flex_group.styles' {
4530
4588
 
4531
4589
  }
4532
4590
  declare module '@elastic/eui/src/components/flex/flex_group' {
4533
- import React, { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4591
+ import { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4534
4592
  import { CommonProps } from '@elastic/eui/src/components/common';
4535
4593
  export const GUTTER_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
4536
4594
  export type EuiFlexGroupGutterSize = (typeof GUTTER_SIZES)[number];
4537
4595
  export const ALIGN_ITEMS: readonly ["stretch", "flexStart", "flexEnd", "center", "baseline"];
4538
4596
  export type FlexGroupAlignItems = (typeof ALIGN_ITEMS)[number];
4539
- export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"]; type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
4540
- export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"]; type FlexGroupDirection = (typeof DIRECTIONS)[number];
4597
+ export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"];
4598
+ type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
4599
+ export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"];
4600
+ type FlexGroupDirection = (typeof DIRECTIONS)[number];
4541
4601
  export type EuiFlexGroupProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4542
4602
  alignItems?: FlexGroupAlignItems;
4543
4603
  /**
@@ -4559,32 +4619,10 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
4559
4619
  responsive?: boolean;
4560
4620
  wrap?: boolean;
4561
4621
  };
4562
- export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
4563
- children?: React.ReactNode;
4564
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4565
- alignItems?: "center" | "stretch" | "baseline" | "flexStart" | "flexEnd" | undefined;
4566
- /**
4567
- * Customize the component type that is rendered.
4568
- *
4569
- * It can be any valid React component type like a tag name string
4570
- * such as `'div'` or `'span'`, a React component (a function, a class,
4571
- * or an exotic component like `memo()`).
4572
- *
4573
- * `EuiFlexGroup` accepts and forwards all extra props to the custom
4574
- * component.
4575
- *
4576
- * @default "div"
4577
- */
4578
- component?: TComponent | undefined;
4579
- direction?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
4580
- gutterSize?: "s" | "none" | "xs" | "m" | "l" | "xl" | undefined;
4581
- justifyContent?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
4582
- responsive?: boolean | undefined;
4583
- wrap?: boolean | undefined;
4584
- } & {
4585
- ref?: React.Ref<TComponentRef> | undefined;
4622
+ export const EuiFlexGroup: (<TComponent extends ElementType = "div", TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexGroupProps<TComponent> & {
4623
+ ref?: Ref<TComponentRef>;
4586
4624
  }) => ReactElement) & {
4587
- displayName?: string | undefined;
4625
+ displayName?: string;
4588
4626
  };
4589
4627
  export {};
4590
4628
 
@@ -4686,7 +4724,7 @@ declare module '@elastic/eui/src/components/flex/flex_item.styles' {
4686
4724
 
4687
4725
  }
4688
4726
  declare module '@elastic/eui/src/components/flex/flex_item' {
4689
- import React, { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4727
+ import { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4690
4728
  import { CommonProps } from '@elastic/eui/src/components/common';
4691
4729
  export type EuiFlexItemProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4692
4730
  grow?: boolean | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null;
@@ -4709,32 +4747,10 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
4709
4747
  */
4710
4748
  component?: TComponent;
4711
4749
  };
4712
- export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
4713
- children?: React.ReactNode;
4714
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4715
- grow?: boolean | 0 | 1 | 6 | 3 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | null | undefined;
4716
- /**
4717
- * Customize the component type that is rendered.
4718
- *
4719
- * It can be any valid React component type like a tag name string
4720
- * such as `'div'` or `'span'`, a React component (a function, a class,
4721
- * or an exotic component like `memo()`).
4722
- *
4723
- * `<EuiFlexItem>` accepts and forwards all extra props to the custom
4724
- * component.
4725
- *
4726
- * @example
4727
- * // Renders a <button> element
4728
- * <EuiFlexItem component="button">
4729
- * Submit form
4730
- * </EuiFlexItem>
4731
- * @default "div"
4732
- */
4733
- component?: TComponent | undefined;
4734
- } & {
4735
- ref?: React.Ref<TComponentRef> | undefined;
4750
+ export const EuiFlexItem: (<TComponent extends ElementType, TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexItemProps<TComponent> & {
4751
+ ref?: Ref<TComponentRef>;
4736
4752
  }) => ReactElement) & {
4737
- displayName?: string | undefined;
4753
+ displayName?: string;
4738
4754
  };
4739
4755
 
4740
4756
  }
@@ -4763,7 +4779,10 @@ declare module '@elastic/eui/src/components/pagination/pagination_button' {
4763
4779
  isActive?: boolean;
4764
4780
  pageIndex: number;
4765
4781
  totalPages?: number;
4766
- }; type EuiPaginationButtonPropsForAnchor = PropsForAnchor<EuiPaginationButtonProps>; type EuiPaginationButtonPropsForButton = PropsForButton<EuiPaginationButtonProps>; type Props = ExclusiveUnion<EuiPaginationButtonPropsForAnchor, EuiPaginationButtonPropsForButton>;
4782
+ };
4783
+ type EuiPaginationButtonPropsForAnchor = PropsForAnchor<EuiPaginationButtonProps>;
4784
+ type EuiPaginationButtonPropsForButton = PropsForButton<EuiPaginationButtonProps>;
4785
+ type Props = ExclusiveUnion<EuiPaginationButtonPropsForAnchor, EuiPaginationButtonPropsForButton>;
4767
4786
  export const EuiPaginationButton: FunctionComponent<Props>;
4768
4787
  export {};
4769
4788
 
@@ -4826,7 +4845,8 @@ declare module '@elastic/eui/src/components/pagination/pagination' {
4826
4845
  * Remove completely with `false` or provide your own list of responsive breakpoints.
4827
4846
  */
4828
4847
  responsive?: false | EuiBreakpointSize[];
4829
- } type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4848
+ }
4849
+ type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4830
4850
  export const EuiPagination: FunctionComponent<Props>;
4831
4851
  export {};
4832
4852
 
@@ -4949,7 +4969,10 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
4949
4969
  import { EuiIconType } from '@elastic/eui/src/components/icon/icon';
4950
4970
  import { EuiButtonIconProps } from '@elastic/eui/src/components/button/button_icon/button_icon';
4951
4971
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
4952
- import { ExclusiveUnion } from '@elastic/eui/src/components/common'; type IconFunction<T extends object> = (item: T) => EuiIconType; type ButtonColor = EuiButtonIconProps['color'] | EuiButtonEmptyProps['color']; type EuiButtonIconColorFunction<T> = (item: T) => ButtonColor;
4972
+ import { ExclusiveUnion } from '@elastic/eui/src/components/common';
4973
+ type IconFunction<T extends object> = (item: T) => EuiIconType;
4974
+ type ButtonColor = EuiButtonIconProps['color'] | EuiButtonEmptyProps['color'];
4975
+ type EuiButtonIconColorFunction<T> = (item: T) => ButtonColor;
4953
4976
  export interface DefaultItemActionBase<T extends object> {
4954
4977
  /**
4955
4978
  * The display name of the action (will render as visible text if rendered within a collapsed menu)
@@ -5025,7 +5048,7 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
5025
5048
  enabled?: (item: T) => boolean;
5026
5049
  } & Pick<DefaultItemActionBase<{}>, 'isPrimary' | 'showOnHover'>;
5027
5050
  export type Action<T extends object> = DefaultItemAction<T> | CustomItemAction<T>;
5028
- export const isCustomItemAction: <T extends object>(action: (import ("@elastic/eui/src/components/common").DisambiguateSet<DefaultItemEmptyButtonAction<T>, DefaultItemIconButtonAction<T>> & DefaultItemIconButtonAction<T>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<DefaultItemIconButtonAction<T>, DefaultItemEmptyButtonAction<T>> & DefaultItemEmptyButtonAction<T>) | CustomItemAction<T>) => action is CustomItemAction<T>;
5051
+ export const isCustomItemAction: <T extends object>(action: DefaultItemAction<T> | CustomItemAction<T>) => action is CustomItemAction<T>;
5029
5052
  export const callWithItemIfFunction: <T>(item: T) => <U>(prop: U | ((item: T) => U)) => U;
5030
5053
  export {};
5031
5054
 
@@ -5036,7 +5059,7 @@ declare module '@elastic/eui/src/services/sort/sort_direction' {
5036
5059
  export const SortDirection: Readonly<{
5037
5060
  ASC: "asc";
5038
5061
  DESC: "desc";
5039
- isAsc(direction: Direction): boolean;
5062
+ isAsc(direction: Direction): direction is "asc";
5040
5063
  reverse(direction: Direction): "desc" | "asc";
5041
5064
  }>;
5042
5065
  export const SortDirectionType: PropTypes.Requireable<"desc" | "asc">;
@@ -5049,12 +5072,13 @@ declare module '@elastic/eui/src/services/objects' {
5049
5072
 
5050
5073
  }
5051
5074
  declare module '@elastic/eui/src/services/sort/comparators' {
5052
- export type Primitive = string | boolean | number | null | undefined; type Comparator<T = Primitive> = (a: T, b: T) => number;
5075
+ export type Primitive = string | boolean | number | null | undefined;
5076
+ type Comparator<T = Primitive> = (a: T, b: T) => number;
5053
5077
  export const Comparators: Readonly<{
5054
- default: (direction?: 'asc' | 'desc') => (v1: Primitive, v2: Primitive) => number;
5078
+ default: (direction?: "asc" | "desc") => (v1: Primitive, v2: Primitive) => number;
5055
5079
  reverse: <T>(comparator: Comparator<T>) => Comparator<T>;
5056
- value<T_1>(valueCallback: (value: T_1) => Primitive, comparator?: Comparator<Primitive> | undefined): Comparator<T_1>;
5057
- property<T_2 extends object>(prop: string, comparator?: Comparator<Primitive> | undefined): Comparator<T_2>;
5080
+ value<T>(valueCallback: (value: T) => Primitive, comparator?: Comparator): Comparator<T>;
5081
+ property<T extends object>(prop: string, comparator?: Comparator): Comparator<T>;
5058
5082
  }>;
5059
5083
  export {};
5060
5084
 
@@ -5439,7 +5463,8 @@ declare module '@elastic/eui/src/components/table/table_row' {
5439
5463
  */
5440
5464
  isExpandedRow?: boolean;
5441
5465
  onClick?: MouseEventHandler<HTMLTableRowElement> & KeyboardEventHandler<HTMLTableRowElement>;
5442
- } type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5466
+ }
5467
+ type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5443
5468
  export const EuiTableRow: FunctionComponent<Props>;
5444
5469
  export {};
5445
5470
 
@@ -5606,7 +5631,7 @@ declare module '@elastic/eui/src/components/observer/mutation_observer/mutation_
5606
5631
  onMutation: MutationCallback;
5607
5632
  beginObserve: () => void;
5608
5633
  }
5609
- export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit | undefined) => void;
5634
+ export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit) => void;
5610
5635
 
5611
5636
  }
5612
5637
  declare module '@elastic/eui/src/components/observer/mutation_observer' {
@@ -5688,11 +5713,11 @@ declare module '@elastic/eui/src/components/panel/panel' {
5688
5713
  import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
5689
5714
  import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
5690
5715
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
5691
- export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
5716
+ export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
5692
5717
  export type PanelPaddingSize = (typeof _SIZES)[number];
5693
5718
  export const BORDER_RADII: readonly ["none", "m"];
5694
5719
  export type PanelBorderRadius = (typeof BORDER_RADII)[number];
5695
- export const COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
5720
+ export const COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
5696
5721
  export type PanelColor = _EuiBackgroundColor | 'highlighted';
5697
5722
  export interface _EuiPanelProps extends CommonProps {
5698
5723
  /**
@@ -5732,7 +5757,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
5732
5757
  }
5733
5758
  export type EuiPanelProps = ExclusiveUnion<_EuiPanelButtonlike, _EuiPanelDivlike>;
5734
5759
  export const EuiPanel: FunctionComponent<EuiPanelProps>;
5735
- export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, 'color' | 'hasBorder'>) => boolean;
5760
+ export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, "color" | "hasBorder">) => boolean;
5736
5761
  export {};
5737
5762
 
5738
5763
  }
@@ -5775,7 +5800,8 @@ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel
5775
5800
  export const EuiPopoverPanelContext: React.Context<{
5776
5801
  paddingSize: EuiPaddingSize;
5777
5802
  }>;
5778
- export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
5803
+ export type EuiPopoverPanelProps = _EuiPanelDivlike;
5804
+ type EuiPopoverPanelInternalProps = {
5779
5805
  isOpen?: boolean;
5780
5806
  isAttached?: boolean;
5781
5807
  position?: EuiPopoverArrowPositions | null;
@@ -5953,7 +5979,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
5953
5979
  arrowPosition: EuiPopoverArrowPositions | null;
5954
5980
  openPosition: any;
5955
5981
  isOpenStable: boolean;
5956
- } type PropsWithDefaults = Props & {
5982
+ }
5983
+ type PropsWithDefaults = Props & {
5957
5984
  anchorPosition: PopoverAnchorPosition;
5958
5985
  hasArrow: boolean;
5959
5986
  isOpen: boolean;
@@ -6246,7 +6273,7 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6246
6273
  color?: IconColor;
6247
6274
  ref?: EuiFormControlLayoutCustomIconProps['iconRef'];
6248
6275
  };
6249
- export const isIconShape: (icon: EuiFormControlLayoutIconsProps['icon']) => icon is IconShape;
6276
+ export const isIconShape: (icon: EuiFormControlLayoutIconsProps["icon"]) => icon is IconShape;
6250
6277
  export interface EuiFormControlLayoutIconsProps {
6251
6278
  icon?: IconType | IconShape;
6252
6279
  side?: (typeof ICON_SIDES)[number];
@@ -6270,13 +6297,13 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6270
6297
  }
6271
6298
  declare module '@elastic/eui/src/components/form/form_control_layout/_num_icons' {
6272
6299
  import { type EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
6273
- export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps['icon']) => boolean;
6300
+ export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps["icon"]) => boolean;
6274
6301
  export const getIconAffordanceStyles: ({ icon, clear, isLoading, isInvalid, isDropdown, }: {
6275
- icon?: EuiFormControlLayoutIconsProps['icon'];
6276
- clear?: EuiFormControlLayoutIconsProps['clear'] | boolean;
6277
- isLoading?: boolean | undefined;
6278
- isInvalid?: boolean | undefined;
6279
- isDropdown?: boolean | undefined;
6302
+ icon?: EuiFormControlLayoutIconsProps["icon"];
6303
+ clear?: EuiFormControlLayoutIconsProps["clear"] | boolean;
6304
+ isLoading?: boolean;
6305
+ isInvalid?: boolean;
6306
+ isDropdown?: boolean;
6280
6307
  }) => {
6281
6308
  [k: string]: number;
6282
6309
  } | undefined;
@@ -6314,7 +6341,9 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6314
6341
  declare module '@elastic/eui/src/components/form/form_control_layout/form_control_layout' {
6315
6342
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
6316
6343
  import { CommonProps } from '@elastic/eui/src/components/common';
6317
- import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons'; type StringOrReactElement = string | ReactElement; type PrependAppendType = StringOrReactElement | StringOrReactElement[];
6344
+ import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
6345
+ type StringOrReactElement = string | ReactElement;
6346
+ type PrependAppendType = StringOrReactElement | StringOrReactElement[];
6318
6347
  export type EuiFormControlLayoutProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
6319
6348
  /**
6320
6349
  * Creates an input group with element(s) coming before children.
@@ -6444,7 +6473,8 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_item'
6444
6473
  dropdownDisplay?: ReactNode;
6445
6474
  disabled?: boolean;
6446
6475
  'data-test-subj'?: string;
6447
- } type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6476
+ }
6477
+ type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6448
6478
  hasDividers?: boolean;
6449
6479
  };
6450
6480
  export const EuiSuperSelectItem: FunctionComponent<EuiSuperSelectItemProps>;
@@ -6608,9 +6638,9 @@ declare module '@elastic/eui/src/components/color_picker/utils' {
6608
6638
  export const HSV_FALLBACK: ColorSpaces['hsv'];
6609
6639
  export const RGB_FALLBACK: ColorSpaces['rgba'];
6610
6640
  export const RGB_JOIN = ", ";
6611
- export const parseColor: (input?: string | null | undefined) => string | number[] | null;
6641
+ export const parseColor: (input?: string | null) => string | number[] | null;
6612
6642
  export const chromaValid: (color: string | number[]) => boolean;
6613
- export const getChromaColor: (input?: string | null | undefined, allowOpacity?: boolean) => chroma.Color | null;
6643
+ export const getChromaColor: (input?: string | null, allowOpacity?: boolean) => chroma.Color | null;
6614
6644
  export const getLinearGradient: (palette: string[] | PaletteColorStop[]) => string;
6615
6645
  export const getFixedLinearGradient: (palette: string[] | PaletteColorStop[]) => {
6616
6646
  color: string;
@@ -6804,10 +6834,10 @@ declare module '@elastic/eui/src/services/color/contrast' {
6804
6834
  * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
6805
6835
  */
6806
6836
  export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
6807
- [key: string]: any;
6808
6837
  colors: {
6809
6838
  body: string;
6810
6839
  };
6840
+ [key: string]: any;
6811
6841
  }) => string;
6812
6842
  /**
6813
6843
  * Creates a new color with increased contrast
@@ -6818,10 +6848,10 @@ declare module '@elastic/eui/src/services/color/contrast' {
6818
6848
  * @param themeOrBackground - Color to use as the contrast basis
6819
6849
  */
6820
6850
  export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
6821
- [key: string]: any;
6822
6851
  colors: {
6823
6852
  body: string;
6824
6853
  };
6854
+ [key: string]: any;
6825
6855
  }) => string;
6826
6856
 
6827
6857
  }
@@ -7100,14 +7130,14 @@ declare module '@elastic/eui/src/services/theme/context' {
7100
7130
  colorMode: "LIGHT";
7101
7131
  highContrastMode: false;
7102
7132
  };
7103
- export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
7133
+ export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
7104
7134
  export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
7105
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
7135
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
7106
7136
  }>>;
7107
7137
  export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
7108
7138
  export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
7109
7139
  export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
7110
- export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
7140
+ export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
7111
7141
  export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
7112
7142
 
7113
7143
  }
@@ -7152,7 +7182,8 @@ declare module '@elastic/eui/src/services/theme/hooks' {
7152
7182
  }
7153
7183
  declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
7154
7184
  import React, { FunctionComponent, PropsWithChildren } from 'react';
7155
- import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
7185
+ import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
7186
+ type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
7156
7187
  export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
7157
7188
  /**
7158
7189
  * Returns the current breakpoint based on window width.
@@ -7285,7 +7316,7 @@ declare module '@elastic/eui/src/services/findElement' {
7285
7316
  * returns a DOM node.
7286
7317
  */
7287
7318
  export type ElementTarget = HTMLElement | string | (() => HTMLElement);
7288
- export const findElementBySelectorOrRef: (elementTarget?: ElementTarget | undefined) => HTMLElement | null;
7319
+ export const findElementBySelectorOrRef: (elementTarget?: ElementTarget) => HTMLElement | null;
7289
7320
 
7290
7321
  }
7291
7322
  declare module '@elastic/eui/src/services/format/format_boolean' {
@@ -7297,7 +7328,8 @@ declare module '@elastic/eui/src/services/format/format_boolean' {
7297
7328
 
7298
7329
  }
7299
7330
  declare module '@elastic/eui/src/services/format/format_date' {
7300
- import moment from 'moment'; type CalendarOptions = moment.CalendarSpec & {
7331
+ import moment from 'moment';
7332
+ type CalendarOptions = moment.CalendarSpec & {
7301
7333
  refTime?: moment.MomentInput;
7302
7334
  };
7303
7335
  export const dateFormatAliases: {
@@ -7313,7 +7345,8 @@ declare module '@elastic/eui/src/services/format/format_date' {
7313
7345
  calendar: (value: moment.MomentInput, options?: CalendarOptions) => string;
7314
7346
  calendarDateTime: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7315
7347
  calendarDate: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7316
- }; type DateFormat = keyof typeof dateFormatAliases;
7348
+ };
7349
+ type DateFormat = keyof typeof dateFormatAliases;
7317
7350
  interface FormatDateConfig {
7318
7351
  format: DateFormat;
7319
7352
  nil: string;
@@ -7329,7 +7362,7 @@ declare module '@elastic/eui/src/services/format/format_number' {
7329
7362
  nil: string;
7330
7363
  round: boolean;
7331
7364
  }
7332
- export const formatNumber: (value?: number | null | undefined, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7365
+ export const formatNumber: (value?: number | null, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7333
7366
  export {};
7334
7367
 
7335
7368
  }
@@ -7397,9 +7430,9 @@ declare module '@elastic/eui/src/services/security/get_secure_rel_for_target' {
7397
7430
  * https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
7398
7431
  */
7399
7432
  export const getSecureRelForTarget: ({ target, rel, }: {
7400
- href?: string | undefined;
7401
- target?: string | undefined;
7402
- rel?: string | undefined;
7433
+ href?: string;
7434
+ target?: "_blank" | "_self" | "_parent" | "_top" | string;
7435
+ rel?: string;
7403
7436
  }) => string;
7404
7437
 
7405
7438
  }
@@ -7477,7 +7510,7 @@ declare module '@elastic/eui/src/services/sort/property_sort' {
7477
7510
  import { Direction } from '@elastic/eui/src/services/sort/sort_direction';
7478
7511
  export const PropertySortType: PropTypes.Requireable<PropTypes.InferProps<{
7479
7512
  field: PropTypes.Validator<string>;
7480
- direction: PropTypes.Validator<"desc" | "asc">;
7513
+ direction: PropTypes.Validator<NonNullable<"desc" | "asc">>;
7481
7514
  }>>;
7482
7515
  export interface PropertySort {
7483
7516
  field: string;
@@ -7553,7 +7586,8 @@ declare module '@elastic/eui/src/services/transition' {
7553
7586
 
7554
7587
  }
7555
7588
  declare module '@elastic/eui/src/services/window_event/window_event' {
7556
- import { Component } from 'react'; type EventNames = keyof WindowEventMap;
7589
+ import { Component } from 'react';
7590
+ type EventNames = keyof WindowEventMap;
7557
7591
  interface Props<Ev extends EventNames> {
7558
7592
  event: Ev;
7559
7593
  handler: (this: Window, ev: WindowEventMap[Ev]) => any;
@@ -7686,7 +7720,8 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
7686
7720
  import { FunctionComponent, Ref } from 'react';
7687
7721
  import { EuiButtonProps } from '@elastic/eui/src/components/button/button';
7688
7722
  import { PropsForAnchor } from '@elastic/eui/src/components/common';
7689
- export const POSITIONS: readonly ["static", "fixed", "absolute"]; type Positions = (typeof POSITIONS)[number];
7723
+ export const POSITIONS: readonly ["static", "fixed", "absolute"];
7724
+ type Positions = (typeof POSITIONS)[number];
7690
7725
  interface EuiSkipLinkInterface extends EuiButtonProps {
7691
7726
  /**
7692
7727
  * Change the display position of the element when focused.
@@ -7755,7 +7790,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7755
7790
  }
7756
7791
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_button' {
7757
7792
  import { FunctionComponent, PropsWithChildren, HTMLAttributes } from 'react';
7758
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionButtonProps = PropsWithChildren & HTMLAttributes<HTMLElement> & Required<Pick<EuiAccordionProps, 'buttonElement'>> & Pick<EuiAccordionProps, 'buttonClassName' | 'buttonProps' | 'buttonContentClassName' | 'isDisabled' | 'arrowDisplay'>;
7793
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7794
+ type _EuiAccordionButtonProps = PropsWithChildren & HTMLAttributes<HTMLElement> & Required<Pick<EuiAccordionProps, 'buttonElement'>> & Pick<EuiAccordionProps, 'buttonClassName' | 'buttonProps' | 'buttonContentClassName' | 'isDisabled' | 'arrowDisplay'>;
7759
7795
  export const EuiAccordionButton: FunctionComponent<_EuiAccordionButtonProps>;
7760
7796
  export {};
7761
7797
 
@@ -7774,7 +7810,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7774
7810
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_arrow' {
7775
7811
  import { FunctionComponent } from 'react';
7776
7812
  import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
7777
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionArrowProps = Partial<EuiButtonIconPropsForButton> & Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps'> & {
7813
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7814
+ type _EuiAccordionArrowProps = Partial<EuiButtonIconPropsForButton> & Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps'> & {
7778
7815
  isOpen: boolean;
7779
7816
  };
7780
7817
  export const EuiAccordionArrow: FunctionComponent<_EuiAccordionArrowProps>;
@@ -7783,7 +7820,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7783
7820
  }
7784
7821
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_trigger' {
7785
7822
  import { FunctionComponent, MouseEventHandler } from 'react';
7786
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionTriggerProps = Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps' | 'buttonElement' | 'buttonClassName' | 'buttonProps' | 'buttonContent' | 'buttonContentClassName' | 'extraAction' | 'isDisabled'> & {
7823
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7824
+ type _EuiAccordionTriggerProps = Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps' | 'buttonElement' | 'buttonClassName' | 'buttonProps' | 'buttonContent' | 'buttonContentClassName' | 'extraAction' | 'isDisabled'> & {
7787
7825
  isOpen: boolean;
7788
7826
  ariaControlsId: string;
7789
7827
  buttonId: string;
@@ -7799,7 +7837,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger' {
7799
7837
  }
7800
7838
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children_loading' {
7801
7839
  import { FunctionComponent } from 'react';
7802
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionChildrenLoadingProps = Pick<EuiAccordionProps, 'isLoadingMessage'>;
7840
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7841
+ type _EuiAccordionChildrenLoadingProps = Pick<EuiAccordionProps, 'isLoadingMessage'>;
7803
7842
  export const EuiAccordionChildrenLoading: FunctionComponent<_EuiAccordionChildrenLoadingProps>;
7804
7843
  export {};
7805
7844
 
@@ -7825,7 +7864,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_children/accordi
7825
7864
  }
7826
7865
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children' {
7827
7866
  import { FunctionComponent, HTMLAttributes } from 'react';
7828
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionChildrenProps = HTMLAttributes<HTMLDivElement> & Pick<EuiAccordionProps, 'role' | 'children' | 'paddingSize' | 'initialIsOpen' | 'isLoading' | 'isLoadingMessage'> & {
7867
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7868
+ type _EuiAccordionChildrenProps = HTMLAttributes<HTMLDivElement> & Pick<EuiAccordionProps, 'role' | 'children' | 'paddingSize' | 'initialIsOpen' | 'isLoading' | 'isLoadingMessage'> & {
7829
7869
  isOpen: boolean;
7830
7870
  };
7831
7871
  export const EuiAccordionChildren: FunctionComponent<_EuiAccordionChildrenProps>;
@@ -7940,7 +7980,8 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
7940
7980
  * Disable the open/close interaction and visually subdues the trigger
7941
7981
  */
7942
7982
  isDisabled?: boolean;
7943
- }; type EuiAccordionState = {
7983
+ };
7984
+ type EuiAccordionState = {
7944
7985
  isOpen: boolean;
7945
7986
  };
7946
7987
  export class EuiAccordionClass extends Component<WithEuiThemeProps & EuiAccordionProps, EuiAccordionState> {
@@ -8044,7 +8085,12 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
8044
8085
  export const TYPES: readonly ["space", "user"];
8045
8086
  export type EuiAvatarType = (typeof TYPES)[number];
8046
8087
  export const CASING: readonly ["capitalize", "uppercase", "lowercase", "none"];
8047
- export type EuiAvatarCasing = (typeof CASING)[number]; type _EuiAvatarContent = ExclusiveUnion<ExclusiveUnion<{
8088
+ export type EuiAvatarCasing = (typeof CASING)[number];
8089
+ /**
8090
+ * The avatar can only display one type of content,
8091
+ * initials, or image, or iconType
8092
+ */
8093
+ type _EuiAvatarContent = ExclusiveUnion<ExclusiveUnion<{
8048
8094
  /**
8049
8095
  * Custom initials (max 2 characters).
8050
8096
  * By default will take the first character (of each word).
@@ -8104,7 +8150,7 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
8104
8150
  isDisabled?: boolean;
8105
8151
  };
8106
8152
  export const EuiAvatar: FunctionComponent<EuiAvatarProps>;
8107
- export const checkValidColor: (color: EuiAvatarProps['color']) => void;
8153
+ export const checkValidColor: (color: EuiAvatarProps["color"]) => void;
8108
8154
  export {};
8109
8155
 
8110
8156
  }
@@ -8230,7 +8276,7 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
8230
8276
  };
8231
8277
  export const getTextColor: ({ euiTheme }: UseEuiTheme, bgColor: string) => string;
8232
8278
  export const getColorContrast: (textColor: string, color: string) => number;
8233
- export const getIsValidColor: (color?: string | undefined) => boolean;
8279
+ export const getIsValidColor: (color?: string) => boolean;
8234
8280
 
8235
8281
  }
8236
8282
  declare module '@elastic/eui/src/components/badge/badge.styles' {
@@ -8271,8 +8317,11 @@ declare module '@elastic/eui/src/components/badge/badge' {
8271
8317
  import { AriaAttributes, FunctionComponent, HTMLAttributes, MouseEventHandler } from 'react';
8272
8318
  import { CommonProps, ExclusiveUnion, PropsOf } from '@elastic/eui/src/components/common';
8273
8319
  import { EuiIcon, IconType } from '@elastic/eui/src/components/icon';
8274
- export const ICON_SIDES: readonly ["left", "right"]; type IconSide = (typeof ICON_SIDES)[number];
8275
- export const COLORS: readonly ["default", "hollow", "primary", "accent", "neutral", "success", "warning", "risk", "danger"]; type BadgeColor = (typeof COLORS)[number]; type WithButtonProps = {
8320
+ export const ICON_SIDES: readonly ["left", "right"];
8321
+ type IconSide = (typeof ICON_SIDES)[number];
8322
+ export const COLORS: readonly ["default", "hollow", "primary", "accent", "neutral", "success", "warning", "risk", "danger"];
8323
+ type BadgeColor = (typeof COLORS)[number];
8324
+ type WithButtonProps = {
8276
8325
  /**
8277
8326
  * Will apply an onclick to the badge itself
8278
8327
  */
@@ -8281,11 +8330,13 @@ declare module '@elastic/eui/src/components/badge/badge' {
8281
8330
  * Aria label applied to the onClick button
8282
8331
  */
8283
8332
  onClickAriaLabel: AriaAttributes['aria-label'];
8284
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8333
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8334
+ type WithAnchorProps = {
8285
8335
  href: string;
8286
8336
  target?: string;
8287
8337
  rel?: string;
8288
- } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>; type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color'>;
8338
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>;
8339
+ type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color'>;
8289
8340
  interface WithIconOnClick {
8290
8341
  /**
8291
8342
  * Will apply an onclick to icon within the badge
@@ -8358,7 +8409,8 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8358
8409
  export const SIZES: readonly ["s", "m"];
8359
8410
  export type BetaBadgeSize = (typeof SIZES)[number];
8360
8411
  export const ALIGNMENTS: readonly ["baseline", "middle"];
8361
- export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number]; type WithButtonProps = {
8412
+ export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number];
8413
+ type WithButtonProps = {
8362
8414
  /**
8363
8415
  * Will apply an onclick to the badge itself
8364
8416
  */
@@ -8367,11 +8419,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8367
8419
  * Aria label applied to the onClick button
8368
8420
  */
8369
8421
  onClickAriaLabel?: AriaAttributes['aria-label'];
8370
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8422
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8423
+ type WithAnchorProps = {
8371
8424
  href: string;
8372
8425
  target?: string;
8373
8426
  rel?: string;
8374
- } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>; type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color' | 'title'>; type LabelAsNode = ExclusiveUnion<{
8427
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>;
8428
+ type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color' | 'title'>;
8429
+ type LabelAsNode = ExclusiveUnion<{
8375
8430
  title: string;
8376
8431
  tooltipContent?: ReactNode;
8377
8432
  }, {
@@ -8379,12 +8434,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8379
8434
  title?: string;
8380
8435
  }> & {
8381
8436
  label: ReactNode;
8382
- }; type LabelAsString = {
8437
+ };
8438
+ type LabelAsString = {
8383
8439
  /**
8384
8440
  * One word label like "Beta" or "Lab"
8385
8441
  */
8386
8442
  label: string;
8387
- }; type BadgeProps = {
8443
+ };
8444
+ type BadgeProps = {
8388
8445
  /**
8389
8446
  * Supply an icon type if the badge should just be an icon
8390
8447
  */
@@ -8478,7 +8535,8 @@ declare module '@elastic/eui/src/components/badge/badge_group/badge_group.styles
8478
8535
  declare module '@elastic/eui/src/components/badge/badge_group/badge_group' {
8479
8536
  import React, { ReactNode } from 'react';
8480
8537
  import { CommonProps } from '@elastic/eui/src/components/common';
8481
- export const GUTTER_SIZES: readonly ["none", "xs", "s"]; type BadgeGroupGutterSize = (typeof GUTTER_SIZES)[number];
8538
+ export const GUTTER_SIZES: readonly ["none", "xs", "s"];
8539
+ type BadgeGroupGutterSize = (typeof GUTTER_SIZES)[number];
8482
8540
  export interface EuiBadgeGroupProps {
8483
8541
  /**
8484
8542
  * Space between badges
@@ -8562,9 +8620,11 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
8562
8620
  import React, { CSSProperties, HTMLAttributes } from 'react';
8563
8621
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
8564
8622
  import { EuiPortalProps } from '@elastic/eui/src/components/portal';
8565
- export const PADDING_SIZES: readonly ["none", "s", "m", "l"]; type BottomBarPaddingSize = (typeof PADDING_SIZES)[number];
8623
+ export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
8624
+ type BottomBarPaddingSize = (typeof PADDING_SIZES)[number];
8566
8625
  export const POSITIONS: readonly ["static", "fixed", "sticky"];
8567
- export type _BottomBarPosition = (typeof POSITIONS)[number]; type _BottomBarExclusivePositions = ExclusiveUnion<{
8626
+ export type _BottomBarPosition = (typeof POSITIONS)[number];
8627
+ type _BottomBarExclusivePositions = ExclusiveUnion<{
8568
8628
  position?: 'fixed';
8569
8629
  /**
8570
8630
  * Whether to wrap in an EuiPortal which appends the component to the body element.
@@ -8859,11 +8919,13 @@ declare module '@elastic/eui/src/components/breadcrumbs/breadcrumbs' {
8859
8919
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
8860
8920
  import type { EuiBreadcrumbsProps, EuiBreadcrumbProps } from '@elastic/eui/src/components/breadcrumbs/types';
8861
8921
  export const EuiBreadcrumbs: FunctionComponent<EuiBreadcrumbsProps>;
8862
- export const useResponsiveMax: (responsive: EuiBreadcrumbsProps['responsive'], max: EuiBreadcrumbsProps['max']) => number | null | undefined; type _EuiBreadcrumbCollapsedObj = {
8922
+ export const useResponsiveMax: (responsive: EuiBreadcrumbsProps["responsive"], max: EuiBreadcrumbsProps["max"]) => number | null | undefined;
8923
+ type _EuiBreadcrumbCollapsedObj = {
8863
8924
  isCollapsedButton: true;
8864
8925
  overflowBreadcrumbs: EuiBreadcrumbProps[];
8865
- }; type _EuiBreadcrumbsObjs = Array<ExclusiveUnion<EuiBreadcrumbProps, _EuiBreadcrumbCollapsedObj>>;
8866
- export const limitBreadcrumbs: (breadcrumbs: EuiBreadcrumbsProps['breadcrumbs'], max: number) => _EuiBreadcrumbsObjs;
8926
+ };
8927
+ type _EuiBreadcrumbsObjs = Array<ExclusiveUnion<EuiBreadcrumbProps, _EuiBreadcrumbCollapsedObj>>;
8928
+ export const limitBreadcrumbs: (breadcrumbs: EuiBreadcrumbsProps["breadcrumbs"], max: number) => _EuiBreadcrumbsObjs;
8867
8929
  export {};
8868
8930
 
8869
8931
  }
@@ -8882,7 +8944,7 @@ declare module '@elastic/eui/src/components/panel/split_panel/split_panel.styles
8882
8944
  export const euiSplitPanelInnerStyles: (euiThemeContext: UseEuiTheme) => {
8883
8945
  euiSplitPanelInner: import("@emotion/react").SerializedStyles;
8884
8946
  highContrastBorders: {
8885
- _renderBorder: (direction: 'right' | 'bottom') => string;
8947
+ _renderBorder: (direction: "right" | "bottom") => string;
8886
8948
  readonly column: string;
8887
8949
  readonly row: string;
8888
8950
  };
@@ -8973,7 +9035,9 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8973
9035
  import { IconType } from '@elastic/eui/src/components/icon';
8974
9036
  export const COLORS: readonly ["primary", "success", "warning", "danger", "accent"];
8975
9037
  export type Color = (typeof COLORS)[number];
8976
- export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"]; type Heading = (typeof HEADINGS)[number]; type Size = 's' | 'm';
9038
+ export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
9039
+ type Heading = (typeof HEADINGS)[number];
9040
+ type Size = 's' | 'm';
8977
9041
  export type EuiCallOutProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> & {
8978
9042
  title?: ReactNode;
8979
9043
  iconType?: IconType;
@@ -8991,10 +9055,10 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8991
9055
  };
8992
9056
  export const EuiCallOut: React.ForwardRefExoticComponent<CommonProps & Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "color"> & {
8993
9057
  title?: ReactNode;
8994
- iconType?: IconType | undefined;
8995
- color?: "primary" | "accent" | "success" | "warning" | "danger" | undefined;
8996
- size?: Size | undefined;
8997
- heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | undefined;
9058
+ iconType?: IconType;
9059
+ color?: Color;
9060
+ size?: Size;
9061
+ heading?: Heading;
8998
9062
  /**
8999
9063
  * Passing an `onDismiss` callback will render a cross in the top right hand corner
9000
9064
  * of the callout.
@@ -9002,7 +9066,7 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
9002
9066
  * This callback fires when users click this button, which allows conditionally
9003
9067
  * removing the callout or other actions.
9004
9068
  */
9005
- onDismiss?: (() => void) | undefined;
9069
+ onDismiss?: () => void;
9006
9070
  } & React.RefAttributes<HTMLDivElement>>;
9007
9071
  export {};
9008
9072
 
@@ -9039,7 +9103,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
9039
9103
  * 3. Horizontal layouts should always top left align no matter the textAlign prop
9040
9104
  * 4. Ensures the contents always stretch no matter the flex layout
9041
9105
  */
9042
- export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
9106
+ export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
9043
9107
  card: {
9044
9108
  euiCard: import("@emotion/react").SerializedStyles;
9045
9109
  aligned: {
@@ -9097,7 +9161,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
9097
9161
  };
9098
9162
  disabled: import("@emotion/react").SerializedStyles;
9099
9163
  };
9100
- export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
9164
+ export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
9101
9165
  hasBetaBadge: import("@emotion/react").SerializedStyles;
9102
9166
  euiCard__betaBadgeAnchor: import("@emotion/react").SerializedStyles;
9103
9167
  euiCard__betaBadge: import("@emotion/react").SerializedStyles;
@@ -9111,7 +9175,12 @@ declare module '@elastic/eui/src/components/card/card' {
9111
9175
  import { EuiIconProps } from '@elastic/eui/src/components/icon';
9112
9176
  import { EuiPanelProps } from '@elastic/eui/src/components/panel';
9113
9177
  import { EuiCardSelectProps } from '@elastic/eui/src/components/card/card_select';
9114
- export const ALIGNMENTS: readonly ["left", "center", "right"]; type CardAlignment = (typeof ALIGNMENTS)[number]; type EuiCardPropsLayout = ExclusiveUnion<{
9178
+ export const ALIGNMENTS: readonly ["left", "center", "right"];
9179
+ type CardAlignment = (typeof ALIGNMENTS)[number];
9180
+ /**
9181
+ * Certain props are only allowed when the layout is vertical
9182
+ */
9183
+ type EuiCardPropsLayout = ExclusiveUnion<{
9115
9184
  layout?: 'vertical';
9116
9185
  /**
9117
9186
  * Changes alignment of the title and description
@@ -9310,7 +9379,9 @@ declare module '@elastic/eui/src/components/form/checkbox/checkbox_group' {
9310
9379
  }
9311
9380
  export interface EuiCheckboxGroupIdToSelectedMap {
9312
9381
  [id: string]: boolean;
9313
- } type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>; type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
9382
+ }
9383
+ type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;
9384
+ type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
9314
9385
  /**
9315
9386
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
9316
9387
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -9671,7 +9742,7 @@ declare module '@elastic/eui/src/components/form/field_search/field_search' {
9671
9742
  onClear: () => void;
9672
9743
  componentWillUnmount(): void;
9673
9744
  setRef: (inputElement: HTMLInputElement | null) => void;
9674
- onKeyUp: (event: KeyboardEvent<HTMLInputElement>, incremental?: boolean | undefined, onSearch?: ((value: string) => void) | undefined) => void;
9745
+ onKeyUp: (event: KeyboardEvent<HTMLInputElement>, incremental?: boolean, onSearch?: (value: string) => void) => void;
9675
9746
  render(): React.JSX.Element;
9676
9747
  }
9677
9748
  export const EuiFieldSearch: React.ForwardRefExoticComponent<Omit<EuiFieldSearchProps, "stylesMemoizer"> & React.RefAttributes<Omit<EuiFieldSearchProps, "stylesMemoizer">>>;
@@ -9830,7 +9901,9 @@ declare module '@elastic/eui/src/components/progress/progress' {
9830
9901
  */
9831
9902
  color?: EuiProgressColor | CSSProperties['color'];
9832
9903
  position?: EuiProgressPosition;
9833
- }; type Indeterminate = EuiProgressProps & HTMLAttributes<HTMLDivElement>; type Determinate = EuiProgressProps & Omit<ProgressHTMLAttributes<HTMLProgressElement>, 'max'> & {
9904
+ };
9905
+ type Indeterminate = EuiProgressProps & HTMLAttributes<HTMLDivElement>;
9906
+ type Determinate = EuiProgressProps & Omit<ProgressHTMLAttributes<HTMLProgressElement>, 'max'> & {
9834
9907
  max?: number;
9835
9908
  valueText?: boolean | ReactNode;
9836
9909
  label?: ReactNode;
@@ -9937,7 +10010,7 @@ declare module '@elastic/eui/src/components/form/file_picker/file_picker' {
9937
10010
  fileInput: HTMLInputElement | null;
9938
10011
  generatedId: string;
9939
10012
  handleChange: () => void;
9940
- removeFiles: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
10013
+ removeFiles: (e?: React.MouseEvent<HTMLButtonElement>) => void;
9941
10014
  showDrop: () => void;
9942
10015
  hideDrop: () => void;
9943
10016
  render(): React.JSX.Element;
@@ -10037,7 +10110,8 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
10037
10110
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
10038
10111
  import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
10039
10112
  export const DISPLAYS: readonly ["row", "columnCompressed", "center", "centerCompressed", "rowCompressed"];
10040
- export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number]; type EuiFormRowCommonProps = CommonProps & {
10113
+ export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number];
10114
+ type EuiFormRowCommonProps = CommonProps & {
10041
10115
  /**
10042
10116
  * - `columnCompressed` creates a compressed and horizontal layout
10043
10117
  * - `center`/`centerCompressed` helps align non-input content better with inline form layouts
@@ -10085,9 +10159,11 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
10085
10159
  * Passed along to the label element; and to the child field element when `disabled` doesn't already exist on the child field element.
10086
10160
  */
10087
10161
  isDisabled?: boolean;
10088
- }; type LabelProps = {
10162
+ };
10163
+ type LabelProps = {
10089
10164
  labelType?: 'label';
10090
- } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>; type LegendProps = {
10165
+ } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>;
10166
+ type LegendProps = {
10091
10167
  /**
10092
10168
  * Defaults to rendering a `<label>` but if passed `'legend'` for labelType,
10093
10169
  * will render both a `<legend>` and the surrounding container as a `<fieldset>`
@@ -10174,7 +10250,9 @@ declare module '@elastic/eui/src/components/form/radio/radio_group' {
10174
10250
  export interface EuiRadioGroupOption extends Omit<EuiRadioProps, 'checked' | 'onChange'> {
10175
10251
  id: string;
10176
10252
  }
10177
- export type EuiRadioGroupChangeCallback = (id: string, value?: string) => void; type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>; type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
10253
+ export type EuiRadioGroupChangeCallback = (id: string, value?: string) => void;
10254
+ type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;
10255
+ type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
10178
10256
  /**
10179
10257
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
10180
10258
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -10212,7 +10290,7 @@ declare module '@elastic/eui/src/components/form/range/range_levels_colors' {
10212
10290
  import type { EuiRangeLevel } from '@elastic/eui/src/components/form/range/types';
10213
10291
  export const LEVEL_COLORS: readonly ["primary", "success", "warning", "danger"];
10214
10292
  export type EuiRangeLevelColor = (typeof LEVEL_COLORS)[number];
10215
- export const isNamedLevelColor: (color?: string | undefined) => color is "primary" | "success" | "warning" | "danger";
10293
+ export const isNamedLevelColor: (color?: EuiRangeLevelColor | string) => color is EuiRangeLevelColor;
10216
10294
  export const euiRangeLevelColor: (color: EuiRangeLevelColor | string, { euiTheme }: UseEuiTheme) => string;
10217
10295
  export const getLevelColor: (levels: EuiRangeLevel[], value: number) => "primary" | "success" | "warning" | "danger" | import("csstype").Property.Color | undefined;
10218
10296
 
@@ -10693,11 +10771,11 @@ declare module '@elastic/eui/src/components/form/range/dual_range.styles' {
10693
10771
 
10694
10772
  }
10695
10773
  declare module '@elastic/eui/src/components/form/range/dual_range' {
10696
-
10697
10774
  import React, { Component } from 'react';
10698
10775
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10699
10776
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
10700
- import type { EuiDualRangeProps, _SingleRangeValue } from '@elastic/eui/src/components/form/range/types'; type ValueMember = _SingleRangeValue['value'];
10777
+ import type { EuiDualRangeProps, _SingleRangeValue } from '@elastic/eui/src/components/form/range/types';
10778
+ type ValueMember = _SingleRangeValue['value'];
10701
10779
  export class EuiDualRangeClass extends Component<EuiDualRangeProps & WithEuiThemeProps> {
10702
10780
  static contextType: React.Context<FormContextValue>;
10703
10781
  static defaultProps: {
@@ -10729,7 +10807,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10729
10807
  _determineInvalidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>) => void;
10730
10808
  _determineValidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10731
10809
  _determineThumbMovement: (newVal: number, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10732
- _handleOnChange: (lower: ValueMember, upper: ValueMember, e?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement, MouseEvent> | React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement> | undefined) => void;
10810
+ _handleOnChange: (lower: ValueMember, upper: ValueMember, e?: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement> | React.KeyboardEvent<HTMLDivElement>) => void;
10733
10811
  handleSliderChange: (e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10734
10812
  _resetToRangeEnds: (e: React.KeyboardEvent<HTMLInputElement>) => void;
10735
10813
  _isDirectionalKeyPress: (event: React.KeyboardEvent<HTMLInputElement>) => boolean;
@@ -10740,7 +10818,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10740
10818
  handleLowerKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10741
10819
  handleUpperKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10742
10820
  handleDraggableKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
10743
- calculateThumbPositionStyle: (value: number, width?: number | undefined) => {
10821
+ calculateThumbPositionStyle: (value: number, width?: number) => {
10744
10822
  left: string;
10745
10823
  };
10746
10824
  onThumbFocus: (e: React.FocusEvent<HTMLDivElement>) => void;
@@ -10752,7 +10830,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10752
10830
  width: number;
10753
10831
  }) => void;
10754
10832
  getNearestStep: (value: number) => number;
10755
- handleDrag: (x: number, isFirstInteraction?: boolean | undefined) => void;
10833
+ handleDrag: (x: number, isFirstInteraction?: boolean) => void;
10756
10834
  render(): React.JSX.Element;
10757
10835
  }
10758
10836
  export const EuiDualRange: React.ForwardRefExoticComponent<Omit<EuiDualRangeProps, "theme"> & React.RefAttributes<Omit<EuiDualRangeProps, "theme">>>;
@@ -10782,7 +10860,6 @@ declare module '@elastic/eui/src/components/form/range/range_tooltip' {
10782
10860
 
10783
10861
  }
10784
10862
  declare module '@elastic/eui/src/components/form/range/range' {
10785
-
10786
10863
  import React, { Component } from 'react';
10787
10864
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10788
10865
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
@@ -11140,7 +11217,8 @@ declare module '@elastic/eui/src/components/code/code_block_annotations.style' {
11140
11217
  declare module '@elastic/eui/src/components/code/code_block_annotations' {
11141
11218
  import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
11142
11219
  import { CommonProps } from '@elastic/eui/src/components/common';
11143
- export type LineAnnotationMap = Record<number, ReactNode>; type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11220
+ export type LineAnnotationMap = Record<number, ReactNode>;
11221
+ type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11144
11222
  lineNumber: number;
11145
11223
  };
11146
11224
  export const EuiCodeBlockAnnotation: FunctionComponent<EuiCodeBlockAnnotationProps>;
@@ -11236,7 +11314,7 @@ declare module '@elastic/eui/src/components/code/code_block_overflow' {
11236
11314
  * the container.
11237
11315
  */
11238
11316
  export const useOverflow: ({ overflowHeight, }: {
11239
- overflowHeight?: string | number | undefined;
11317
+ overflowHeight?: number | string;
11240
11318
  }) => {
11241
11319
  setWrapperRef: import("react").Dispatch<import("react").SetStateAction<Element | null>>;
11242
11320
  tabIndex: 0 | -1;
@@ -11294,7 +11372,7 @@ declare module '@elastic/eui/src/components/code/code_block_copy' {
11294
11372
  * Hook that returns copy-related state/logic/utils
11295
11373
  */
11296
11374
  export const useCopy: ({ copyAriaLabel, isCopyable, isVirtualized, children, }: {
11297
- copyAriaLabel?: string | undefined;
11375
+ copyAriaLabel?: string;
11298
11376
  isCopyable: boolean;
11299
11377
  isVirtualized: boolean;
11300
11378
  children: ReactNode;
@@ -11443,7 +11521,7 @@ declare module '@elastic/eui/src/components/code/code_block_full_screen' {
11443
11521
  * Hook that returns fullscreen-related state/logic/utils
11444
11522
  */
11445
11523
  export const useFullScreen: ({ overflowHeight, }: {
11446
- overflowHeight?: string | number | undefined;
11524
+ overflowHeight?: number | string;
11447
11525
  }) => {
11448
11526
  fullScreenButton: React.JSX.Element | null;
11449
11527
  isFullScreen: boolean;
@@ -11485,7 +11563,7 @@ declare module '@elastic/eui/src/components/code/code_block_virtualized' {
11485
11563
  export const EuiCodeBlockVirtualized: ({ data, rowHeight, overflowHeight, preProps, codeProps, }: {
11486
11564
  data: RefractorNode[];
11487
11565
  rowHeight: number;
11488
- overflowHeight?: string | number | undefined;
11566
+ overflowHeight?: number | string;
11489
11567
  preProps: HTMLAttributes<HTMLPreElement>;
11490
11568
  codeProps: HTMLAttributes<HTMLElement>;
11491
11569
  }) => React.JSX.Element;
@@ -11499,7 +11577,8 @@ declare module '@elastic/eui/src/components/code/code_block' {
11499
11577
  export const FONT_SIZES: readonly ["s", "m", "l"];
11500
11578
  export type EuiCodeBlockFontSize = (typeof FONT_SIZES)[number];
11501
11579
  export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
11502
- export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number]; type VirtualizedOptionProps = ExclusiveUnion<{
11580
+ export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number];
11581
+ type VirtualizedOptionProps = ExclusiveUnion<{
11503
11582
  isVirtualized: true;
11504
11583
  overflowHeight: number | string;
11505
11584
  whiteSpace?: 'pre';
@@ -11587,7 +11666,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11587
11666
  import { EuiAccordionProps } from '@elastic/eui/src/components/accordion';
11588
11667
  import { IconType, IconSize, EuiIconProps } from '@elastic/eui/src/components/icon';
11589
11668
  import { EuiTitleProps } from '@elastic/eui/src/components/title';
11590
- export const BACKGROUNDS: readonly ["none", "light", "dark"]; type Background = (typeof BACKGROUNDS)[number];
11669
+ export const BACKGROUNDS: readonly ["none", "light", "dark"];
11670
+ type Background = (typeof BACKGROUNDS)[number];
11591
11671
  export interface EuiCollapsibleNavGroupInterface extends CommonProps {
11592
11672
  /**
11593
11673
  * ReactNode to render as this component's content
@@ -11622,7 +11702,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11622
11702
  * Title sizing equivalent to EuiTitle, but only `s` and smaller
11623
11703
  */
11624
11704
  titleSize?: Exclude<EuiTitleProps['size'], 'l' | 'm'>;
11625
- } type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11705
+ }
11706
+ type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11626
11707
  /**
11627
11708
  * If `true`, wraps children in the body of an accordion,
11628
11709
  * requiring the prop `title` to be used as the button.
@@ -11634,7 +11715,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11634
11715
  * with the option to add an iconType
11635
11716
  */
11636
11717
  title: ReactNode;
11637
- }; type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11718
+ };
11719
+ type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11638
11720
  /**
11639
11721
  * If `true`, wraps children in the body of an accordion,
11640
11722
  * requiring the prop `title` to be used as the button.
@@ -11705,19 +11787,21 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button.styles'
11705
11787
  }
11706
11788
  declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
11707
11789
  import { FunctionComponent } from 'react';
11708
- import type { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout'; type EuiFlyoutCloseButtonProps = EuiFlyoutProps['closeButtonProps'] & Required<Pick<EuiFlyoutProps, 'closeButtonPosition' | 'onClose' | 'side'>>;
11790
+ import type { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout';
11791
+ type EuiFlyoutCloseButtonProps = EuiFlyoutProps['closeButtonProps'] & Required<Pick<EuiFlyoutProps, 'closeButtonPosition' | 'onClose' | 'side'>>;
11709
11792
  export const EuiFlyoutCloseButton: FunctionComponent<EuiFlyoutCloseButtonProps>;
11710
11793
  export {};
11711
11794
 
11712
11795
  }
11713
11796
  declare module '@elastic/eui/src/components/flyout/flyout' {
11714
- import React, { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11797
+ import { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11715
11798
  import { EuiBreakpointSize } from '@elastic/eui/src/services';
11716
11799
  import { CommonProps, PropsOfElement } from '@elastic/eui/src/components/common';
11717
11800
  import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
11718
11801
  import { EuiOverlayMaskProps } from '@elastic/eui/src/components/overlay_mask';
11719
11802
  import type { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
11720
- export const TYPES: readonly ["push", "overlay"]; type _EuiFlyoutType = (typeof TYPES)[number];
11803
+ export const TYPES: readonly ["push", "overlay"];
11804
+ type _EuiFlyoutType = (typeof TYPES)[number];
11721
11805
  export const SIDES: readonly ["left", "right"];
11722
11806
  export type _EuiFlyoutSide = (typeof SIDES)[number];
11723
11807
  export const SIZES: readonly ["s", "m", "l"];
@@ -11813,14 +11897,15 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
11813
11897
  * Set this to `false` if you need to disable this behavior for a specific reason.
11814
11898
  */
11815
11899
  includeFixedHeadersInFocusTrap?: boolean;
11816
- } const defaultElement = "div"; type Props<T extends ElementType> = CommonProps & {
11900
+ } const defaultElement = "div";
11901
+ type Props<T extends ElementType> = CommonProps & {
11817
11902
  /**
11818
11903
  * Sets the HTML element for `EuiFlyout`
11819
11904
  */
11820
11905
  as?: T;
11821
11906
  } & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
11822
11907
  export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
11823
- export const EuiFlyout: <T extends React.ElementType<any, keyof JSX.IntrinsicElements> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
11908
+ export const EuiFlyout: <T extends ElementType = typeof defaultElement>(props: EuiFlyoutProps<T>) => JSX.Element;
11824
11909
  export {};
11825
11910
 
11826
11911
  }
@@ -12130,28 +12215,28 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_button
12130
12215
  * Defaults to displaying a resizer for vertical (y-axis) resizing.
12131
12216
  * Set to `true` to display a resizer for horizontal (x-axis) resizing.
12132
12217
  */
12133
- isHorizontal?: boolean | undefined;
12218
+ isHorizontal?: boolean;
12134
12219
  /**
12135
12220
  * By default, EuiResizableButton will show a grab handle to indicate resizability.
12136
12221
  * This indicator can be optionally hidden to show a plain border instead.
12137
12222
  */
12138
- indicator?: "border" | "handle" | undefined;
12223
+ indicator?: "handle" | "border";
12139
12224
  /**
12140
12225
  * Allows customizing the alignment of grab `handle` indicators (does nothing for
12141
12226
  * border indicators). Defaults to `center`, but consider using `start` for extremely
12142
12227
  * tall content that scrolls off-screen
12143
12228
  */
12144
- alignIndicator?: "center" | "start" | "end" | undefined;
12229
+ alignIndicator?: "center" | "start" | "end";
12145
12230
  /**
12146
12231
  * By default, EuiResizableButton will overlap into the panels before/after it.
12147
12232
  * This can occasionally occlude interactive elements like scrollbars. To prevent
12148
12233
  * this overlap, use this prop to remove the overlap for the specified side.
12149
12234
  */
12150
- accountForScrollbars?: "before" | "after" | "both" | undefined;
12235
+ accountForScrollbars?: "before" | "after" | "both";
12151
12236
  /**
12152
12237
  * When disabled, the resizer button will be completely hidden
12153
12238
  */
12154
- disabled?: boolean | undefined;
12239
+ disabled?: boolean;
12155
12240
  } & React.RefAttributes<HTMLButtonElement>>;
12156
12241
  /**
12157
12242
  * Resizer button specific to controlled EuiResizableContainer usage
@@ -12282,9 +12367,9 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
12282
12367
  }
12283
12368
  export type ModeOptions = PanelModeType | [PanelModeType, Partial<ToggleOptions>];
12284
12369
  export type ToggleCollapseCallback = (panelId: EuiResizablePanelController['id'], options: ActionToggleOptions) => void;
12285
- export const getModeType: (mode?: ModeOptions | undefined) => PanelModeType | undefined;
12286
- export const getToggleOptions: (mode?: ModeOptions | undefined) => {
12287
- 'data-test-subj': string | undefined;
12370
+ export const getModeType: (mode?: ModeOptions) => PanelModeType | undefined;
12371
+ export const getToggleOptions: (mode?: ModeOptions) => {
12372
+ 'data-test-subj': string;
12288
12373
  className: string | null;
12289
12374
  position: string;
12290
12375
  };
@@ -12363,9 +12448,9 @@ declare module '@elastic/eui/src/components/resizable_container/helpers' {
12363
12448
  [key: string]: number;
12364
12449
  }) => any;
12365
12450
  }
12366
- export const isTouchEvent: (event: MouseEvent | ReactMouseEvent | TouchEvent | ReactTouchEvent) => event is TouchEvent | ReactTouchEvent<Element>;
12451
+ export const isTouchEvent: (event: MouseEvent | ReactMouseEvent | TouchEvent | ReactTouchEvent) => event is TouchEvent | ReactTouchEvent;
12367
12452
  export const pxToPercent: (proportion: number, whole: number) => number;
12368
- export const sizesOnly: (panelObject: EuiResizableContainerRegistry['panels']) => {
12453
+ export const sizesOnly: (panelObject: EuiResizableContainerRegistry["panels"]) => {
12369
12454
  [key: string]: number;
12370
12455
  };
12371
12456
  export const getPanelMinSize: (panelMinSize: string[], containerSize: number) => number;
@@ -12540,7 +12625,8 @@ declare module '@elastic/eui/src/components/header/header.styles' {
12540
12625
  }
12541
12626
  declare module '@elastic/eui/src/components/collapsible_nav_beta/context' {
12542
12627
  import { MouseEventHandler } from 'react';
12543
- import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout'; type _EuiCollapsibleNavContext = {
12628
+ import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout';
12629
+ type _EuiCollapsibleNavContext = {
12544
12630
  isCollapsed: boolean;
12545
12631
  isPush: boolean;
12546
12632
  isOverlayOpen: boolean;
@@ -12647,8 +12733,8 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12647
12733
  backgroundSelectedColor: string;
12648
12734
  color: string;
12649
12735
  rightIconColor: string;
12650
- fontSize: import("csstype").Property.FontSize<string | number> | undefined;
12651
- lineHeight: import("csstype").Property.LineHeight<string | number> | undefined;
12736
+ fontSize: import("react").CSSProperties["fontSize"];
12737
+ lineHeight: import("react").CSSProperties["lineHeight"];
12652
12738
  height: string;
12653
12739
  padding: string;
12654
12740
  };
@@ -12745,7 +12831,8 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12745
12831
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_link' {
12746
12832
  import { FunctionComponent, ReactNode } from 'react';
12747
12833
  import { EuiLinkProps } from '@elastic/eui/src/components/link';
12748
- import type { _SharedEuiCollapsibleNavItemProps, _EuiCollapsibleNavItemDisplayProps, EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item'; type EuiCollapsibleNavLinkProps = Omit<EuiLinkProps, 'children'> & _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Pick<EuiCollapsibleNavItemProps, 'href' | 'linkProps'> & {
12834
+ import type { _SharedEuiCollapsibleNavItemProps, _EuiCollapsibleNavItemDisplayProps, EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item';
12835
+ type EuiCollapsibleNavLinkProps = Omit<EuiLinkProps, 'children'> & _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Pick<EuiCollapsibleNavItemProps, 'href' | 'linkProps'> & {
12749
12836
  children: ReactNode;
12750
12837
  isInteractive?: boolean;
12751
12838
  isNotAccordion?: boolean;
@@ -12778,7 +12865,8 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12778
12865
  }
12779
12866
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion' {
12780
12867
  import { FunctionComponent, ReactNode } from 'react';
12781
- import { type _SharedEuiCollapsibleNavItemProps, type _EuiCollapsibleNavItemDisplayProps, type EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item'; type EuiCollapsibleNavAccordionProps = _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Pick<EuiCollapsibleNavItemProps, 'accordionProps'> & Required<Pick<EuiCollapsibleNavItemProps, 'items'>> & {
12868
+ import { type _SharedEuiCollapsibleNavItemProps, type _EuiCollapsibleNavItemDisplayProps, type EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item';
12869
+ type EuiCollapsibleNavAccordionProps = _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Pick<EuiCollapsibleNavItemProps, 'accordionProps'> & Required<Pick<EuiCollapsibleNavItemProps, 'items'>> & {
12782
12870
  buttonContent: ReactNode;
12783
12871
  };
12784
12872
  /**
@@ -12794,7 +12882,8 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12794
12882
  }
12795
12883
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group' {
12796
12884
  import { FunctionComponent, ReactNode } from 'react';
12797
- import { type _SharedEuiCollapsibleNavItemProps, type _EuiCollapsibleNavItemDisplayProps, type EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item'; type EuiCollapsibleNavGroupProps = _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Required<Pick<EuiCollapsibleNavItemProps, 'items'>> & {
12885
+ import { type _SharedEuiCollapsibleNavItemProps, type _EuiCollapsibleNavItemDisplayProps, type EuiCollapsibleNavItemProps } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item';
12886
+ type EuiCollapsibleNavGroupProps = _SharedEuiCollapsibleNavItemProps & _EuiCollapsibleNavItemDisplayProps & Required<Pick<EuiCollapsibleNavItemProps, 'items'>> & {
12798
12887
  header?: ReactNode;
12799
12888
  };
12800
12889
  /**
@@ -12906,7 +12995,12 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12906
12995
  * Sub-items can either be a totally custom rendered item,
12907
12996
  * or they can simply be more links or accordions
12908
12997
  */
12909
- export const EuiCollapsibleNavSubItem: FunctionComponent<EuiCollapsibleNavSubItemProps>; type EuiCollapsibleNavSubItemsProps = HTMLAttributes<HTMLDivElement> & _EuiCollapsibleNavItemDisplayProps & {
12998
+ export const EuiCollapsibleNavSubItem: FunctionComponent<EuiCollapsibleNavSubItemProps>;
12999
+ /**
13000
+ * Reuseable component for rendering a group of sub items
13001
+ * Used by both `EuiCollapsibleNavGroup` and `EuiCollapsibleNavAccordion`
13002
+ */
13003
+ type EuiCollapsibleNavSubItemsProps = HTMLAttributes<HTMLDivElement> & _EuiCollapsibleNavItemDisplayProps & {
12910
13004
  items: EuiCollapsibleNavSubItemProps[];
12911
13005
  };
12912
13006
  export const EuiCollapsibleNavSubItems: FunctionComponent<EuiCollapsibleNavSubItemsProps>;
@@ -12936,7 +13030,8 @@ declare module '@elastic/eui/src/components/list_group/list_group_item_extra_act
12936
13030
  import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
12937
13031
  export type EuiListGroupItemExtraActionProps = {
12938
13032
  alwaysShow?: boolean;
12939
- } & EuiButtonIconPropsForButton; type _FromEuiListGroupItem = {
13033
+ } & EuiButtonIconPropsForButton;
13034
+ type _FromEuiListGroupItem = {
12940
13035
  parentIsDisabled?: boolean;
12941
13036
  };
12942
13037
  export const EuiListGroupItemExtraAction: FunctionComponent<EuiListGroupItemExtraActionProps & _FromEuiListGroupItem>;
@@ -13247,7 +13342,14 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/_kibana_solutio
13247
13342
  *
13248
13343
  * This component is **very** specific to Kibana and is not meant to be a generic component.
13249
13344
  */
13250
- export const KibanaCollapsibleNavSolution: FunctionComponent<KibanaCollapsibleNavSolutionProps>; type EuiListGroupItemsModified = Array<Omit<EuiListGroupItemProps, 'label' | 'iconType' | 'icon'> & {
13345
+ export const KibanaCollapsibleNavSolution: FunctionComponent<KibanaCollapsibleNavSolutionProps>;
13346
+ /**
13347
+ * Tweak EuiListGroup's items API to match EuiCollapsibleNav's
13348
+ * more closely (primarily label->title, iconType->icon),
13349
+ * and also to allow passing secondary items in the same array
13350
+ * (which will get rendered in a separate non-bordered group)
13351
+ */
13352
+ type EuiListGroupItemsModified = Array<Omit<EuiListGroupItemProps, 'label' | 'iconType' | 'icon'> & {
13251
13353
  title: string;
13252
13354
  icon?: EuiListGroupItemProps['iconType'];
13253
13355
  isSecondary?: boolean;
@@ -13359,17 +13461,17 @@ declare module '@elastic/eui/src/components/color_picker/color_picker_swatch' {
13359
13461
  };
13360
13462
  };
13361
13463
  export const EuiColorPickerSwatch: React.ForwardRefExoticComponent<CommonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
13362
- color?: string | undefined;
13464
+ color?: string;
13363
13465
  /**
13364
13466
  * renders a tooltip with the color value to provide a visual text alternative
13365
13467
  * @default true
13366
13468
  */
13367
- showToolTip?: boolean | undefined;
13469
+ showToolTip?: boolean;
13368
13470
  /** Additional props for the EuiToolip when `showToolTip={true}` */
13369
- toolTipProps?: (Omit<EuiToolTipProps, "children" | "position" | "delay"> & {
13370
- delay?: import ("@elastic/eui/src/components/tool_tip/tool_tip").ToolTipDelay | undefined;
13371
- position?: import ("@elastic/eui/src/components/tool_tip").ToolTipPositions | undefined;
13372
- }) | undefined;
13471
+ toolTipProps?: Omit<EuiToolTipProps, "children" | "delay" | "position"> & {
13472
+ delay?: EuiToolTipProps["delay"];
13473
+ position?: EuiToolTipProps["position"];
13474
+ };
13373
13475
  } & React.RefAttributes<HTMLButtonElement>>;
13374
13476
 
13375
13477
  }
@@ -13377,6 +13479,7 @@ declare module '@elastic/eui/src/components/color_picker/hue.styles' {
13377
13479
  import { UseEuiTheme } from '@elastic/eui/src/services';
13378
13480
  export const euiHueStyles: (euiThemeContext: UseEuiTheme) => {
13379
13481
  euiHue: import("@emotion/react").SerializedStyles;
13482
+ euiHue__tooltip: import("@emotion/react").SerializedStyles;
13380
13483
  euiHue__range: import("@emotion/react").SerializedStyles;
13381
13484
  };
13382
13485
 
@@ -13398,6 +13501,7 @@ declare module '@elastic/eui/src/components/color_picker/saturation.styles' {
13398
13501
  euiSaturation: import("@emotion/react").SerializedStyles;
13399
13502
  euiSaturation__lightness: import("@emotion/react").SerializedStyles;
13400
13503
  euiSaturation__saturation: import("@emotion/react").SerializedStyles;
13504
+ euiSaturation__tooltip: import("@emotion/react").SerializedStyles;
13401
13505
  euiSaturation__indicator: import("@emotion/react").SerializedStyles;
13402
13506
  };
13403
13507
 
@@ -13416,7 +13520,7 @@ declare module '@elastic/eui/src/components/color_picker/saturation' {
13416
13520
  hex?: string;
13417
13521
  };
13418
13522
  export const EuiSaturation: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof HTMLDivElementOverrides> & CommonProps & HTMLDivElementOverrides & {
13419
- hex?: string | undefined;
13523
+ hex?: string;
13420
13524
  } & React.RefAttributes<HTMLDivElement>>;
13421
13525
  export {};
13422
13526
 
@@ -13435,7 +13539,9 @@ declare module '@elastic/eui/src/components/color_picker/color_picker' {
13435
13539
  import { FunctionComponent, HTMLAttributes, ReactElement } from 'react';
13436
13540
  import { ColorSpaces } from 'chroma-js';
13437
13541
  import { CommonProps } from '@elastic/eui/src/components/common';
13438
- import { EuiFormControlLayoutProps } from '@elastic/eui/src/components/form'; type EuiColorPickerDisplay = 'default' | 'inline'; type EuiColorPickerMode = 'default' | 'swatch' | 'picker' | 'secondaryInput';
13542
+ import { EuiFormControlLayoutProps } from '@elastic/eui/src/components/form';
13543
+ type EuiColorPickerDisplay = 'default' | 'inline';
13544
+ type EuiColorPickerMode = 'default' | 'swatch' | 'picker' | 'secondaryInput';
13439
13545
  export interface EuiColorPickerOutput {
13440
13546
  rgba: ColorSpaces['rgba'];
13441
13547
  hex: string;
@@ -13611,8 +13717,8 @@ declare module '@elastic/eui/src/components/combo_box/matching_options' {
13611
13717
  interface GetSelectedOptionForSearchValue<T> extends Pick<GetMatchingOptions<T>, 'isCaseSensitive' | 'searchValue' | 'selectedOptions'> {
13612
13718
  optionKey?: string;
13613
13719
  }
13614
- export const transformForCaseSensitivity: (string: string, isCaseSensitive?: boolean | undefined) => string;
13615
- export const flattenOptionGroups: <T>(optionsOrGroups: EuiComboBoxOptionOption<T>[]) => EuiComboBoxOptionOption<T>[];
13720
+ export const transformForCaseSensitivity: (string: string, isCaseSensitive?: boolean) => string;
13721
+ export const flattenOptionGroups: <T>(optionsOrGroups: Array<EuiComboBoxOptionOption<T>>) => EuiComboBoxOptionOption<T>[];
13616
13722
  export const getSelectedOptionForSearchValue: <T>({ isCaseSensitive, searchValue, selectedOptions, optionKey, }: GetSelectedOptionForSearchValue<T>) => EuiComboBoxOptionOption<T> | undefined;
13617
13723
  export const getMatchingOptions: <T>({ options, selectedOptions, searchValue, optionMatcher, isCaseSensitive, isPreFiltered, showPrevSelected, sortMatchesBy, }: GetMatchingOptions<T>) => EuiComboBoxOptionOption<T>[];
13618
13724
  /**
@@ -13629,12 +13735,10 @@ declare module '@elastic/eui/src/components/combo_box/utils' {
13629
13735
  /**
13630
13736
  * DRY util for rendering an option with its prepend and append properties
13631
13737
  */
13632
- export const EuiComboBoxOptionAppendPrepend: <T>({ children, option, classNamePrefix, marginSize, }: {
13633
- children?: React.ReactNode;
13634
- } & {
13635
- option?: EuiComboBoxOptionOption<T> | undefined;
13636
- classNamePrefix?: string | undefined;
13637
- marginSize?: "s" | "xxs" | "xs" | undefined;
13738
+ export const EuiComboBoxOptionAppendPrepend: <T>({ children, option, classNamePrefix, marginSize, }: PropsWithChildren & {
13739
+ option?: EuiComboBoxOptionOption<T>;
13740
+ classNamePrefix?: string;
13741
+ marginSize?: "s" | "xs" | "xxs";
13638
13742
  }) => React.JSX.Element;
13639
13743
 
13640
13744
  }
@@ -13964,7 +14068,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
13964
14068
  ListRow: ({ data, index, style }: ListChildComponentProps) => React.JSX.Element;
13965
14069
  optionWidth: number | undefined;
13966
14070
  setOptionWidth: (width: number) => void;
13967
- renderTruncatedOption: (text: string, truncationProps?: EuiComboBoxOptionsListProps<T>['truncationProps']) => string | React.JSX.Element;
14071
+ renderTruncatedOption: (text: string, truncationProps?: EuiComboBoxOptionsListProps<T>["truncationProps"]) => string | React.JSX.Element;
13968
14072
  render(): React.JSX.Element;
13969
14073
  }
13970
14074
 
@@ -13995,7 +14099,8 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
13995
14099
  import { SortMatchesBy } from '@elastic/eui/src/components/combo_box/matching_options';
13996
14100
  import { EuiComboBoxInputProps } from '@elastic/eui/src/components/combo_box/combo_box_input/combo_box_input';
13997
14101
  import { EuiComboBoxOptionsListProps } from '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list';
13998
- import { OptionHandler, RefInstance, EuiComboBoxOptionOption, EuiComboBoxSingleSelectionShape, EuiComboBoxOptionMatcher } from '@elastic/eui/src/components/combo_box/types'; type DrillProps<T> = Pick<EuiComboBoxOptionsListProps<T>, 'customOptionText' | 'onCreateOption' | 'options' | 'renderOption' | 'selectedOptions'>;
14102
+ import { OptionHandler, RefInstance, EuiComboBoxOptionOption, EuiComboBoxSingleSelectionShape, EuiComboBoxOptionMatcher } from '@elastic/eui/src/components/combo_box/types';
14103
+ type DrillProps<T> = Pick<EuiComboBoxOptionsListProps<T>, 'customOptionText' | 'onCreateOption' | 'options' | 'renderOption' | 'selectedOptions'>;
13999
14104
  export interface _EuiComboBoxProps<T> extends CommonProps, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, DrillProps<T> {
14000
14105
  'data-test-subj'?: string;
14001
14106
  /**
@@ -14114,7 +14219,16 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
14114
14219
  * (except for props that control state).
14115
14220
  */
14116
14221
  inputPopoverProps?: Partial<Omit<EuiInputPopoverProps, 'input' | 'isOpen' | 'closePopover'>>;
14117
- } type DefaultProps<T> = Omit<(typeof EuiComboBox)['defaultProps'], 'options' | 'selectedOptions' | 'optionMatcher'> & {
14222
+ }
14223
+ /**
14224
+ * Because of how TypeScript's LibraryManagedAttributes is designed to handle defaultProps (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#support-for-defaultprops-in-jsx)
14225
+ * we can't directly export the above Props definitions, as the defaulted values are not made optional
14226
+ * as it isn't processed by LibraryManagedAttributes. To get around this, we:
14227
+ * - remove the props which have default values applied
14228
+ * - additionally re-define `options` and `selectedOptions` defaults, necessary as static members can't access generics and become never[]
14229
+ * - export (Props - Defaults) & Partial<Defaults>
14230
+ */
14231
+ type DefaultProps<T> = Omit<(typeof EuiComboBox)['defaultProps'], 'options' | 'selectedOptions' | 'optionMatcher'> & {
14118
14232
  options: Array<EuiComboBoxOptionOption<T>>;
14119
14233
  selectedOptions: Array<EuiComboBoxOptionOption<T>>;
14120
14234
  optionMatcher: EuiComboBoxOptionMatcher<T>;
@@ -14164,7 +14278,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
14164
14278
  onKeyDown: KeyboardEventHandler<HTMLDivElement>;
14165
14279
  onOptionEnterKey: OptionHandler<T>;
14166
14280
  onOptionClick: OptionHandler<T>;
14167
- onAddOption: (addedOption: EuiComboBoxOptionOption<T>, isContainerBlur?: boolean | undefined) => void;
14281
+ onAddOption: (addedOption: EuiComboBoxOptionOption<T>, isContainerBlur?: boolean) => void;
14168
14282
  onRemoveOption: OptionHandler<T>;
14169
14283
  clearSelectedOptions: () => void;
14170
14284
  onComboBoxClick: () => void;
@@ -14447,7 +14561,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/data_grid_schema' {
14447
14561
  };
14448
14562
  export const useDetectSchema: ({ columns, inMemory, inMemoryValues, schemaDetectors, autoDetectSchema, }: UseSchemaProps) => EuiDataGridSchema;
14449
14563
  export const useMergedSchema: (props: UseSchemaProps) => {
14450
- [x: string]: {
14564
+ [columnId: string]: {
14451
14565
  columnType: string | null;
14452
14566
  };
14453
14567
  };
@@ -14487,7 +14601,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
14487
14601
  /**
14488
14602
  * Height types
14489
14603
  */
14490
- getHeightType: (option?: EuiDataGridRowHeightOption | undefined) => "default" | "auto" | "lineCount" | "numerical";
14604
+ getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
14491
14605
  /**
14492
14606
  * Line count utils
14493
14607
  */
@@ -14536,12 +14650,12 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
14536
14650
  gridRef: MutableRefObject<ImperativeGridApi | null>;
14537
14651
  outerGridElementRef: MutableRefObject<HTMLDivElement | null>;
14538
14652
  gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>;
14539
- } | undefined;
14540
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
14653
+ };
14654
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
14541
14655
  columns: EuiDataGridColumn[];
14542
14656
  }) => RowHeightUtils;
14543
14657
  export const useDefaultRowHeight: ({ rowHeightsOptions, rowHeightUtils, }: {
14544
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
14658
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
14545
14659
  rowHeightUtils: RowHeightUtilsType;
14546
14660
  }) => {
14547
14661
  defaultRowHeight: number;
@@ -15206,7 +15320,9 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
15206
15320
  * Accepts any props that `EuiPopover` accepts, except for `button` and `closePopover`.
15207
15321
  */
15208
15322
  setCellPopoverProps: (props: Omit<EuiPopoverProps, 'button' | 'closePopover'>) => void;
15209
- } type CellContext = Omit<Record<string, any>, keyof EuiDataGridCellValueElementProps>; type CellPropsWithContext = CellContext & EuiDataGridCellValueElementProps;
15323
+ }
15324
+ type CellContext = Omit<Record<string, any>, keyof EuiDataGridCellValueElementProps>;
15325
+ type CellPropsWithContext = CellContext & EuiDataGridCellValueElementProps;
15210
15326
  export type RenderCellValue = ((props: CellPropsWithContext) => ReactNode) | ComponentClass<CellPropsWithContext>;
15211
15327
  export interface EuiDataGridCellProps {
15212
15328
  rowIndex: number;
@@ -15684,7 +15800,8 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
15684
15800
  }
15685
15801
  declare module '@elastic/eui/src/components/drag_and_drop/drag_drop_context' {
15686
15802
  import React, { FunctionComponent } from 'react';
15687
- import { DragDropContextProps } from '@hello-pangea/dnd'; type EuiDraggingType = string | null;
15803
+ import { DragDropContextProps } from '@hello-pangea/dnd';
15804
+ type EuiDraggingType = string | null;
15688
15805
  export interface EuiDragDropContextProps {
15689
15806
  isDraggingType: EuiDraggingType;
15690
15807
  }
@@ -15844,7 +15961,8 @@ declare module '@elastic/eui/src/components/drag_and_drop' {
15844
15961
  declare module '@elastic/eui/src/components/datagrid/utils/focus' {
15845
15962
  import { HTMLAttributes, KeyboardEvent } from 'react';
15846
15963
  import { DataGridFocusContextShape, EuiDataGridFocusedCell, EuiDataGridProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
15847
- export const DataGridFocusContext: import("react").Context<DataGridFocusContextShape>; type FocusProps = Pick<HTMLAttributes<HTMLDivElement>, 'tabIndex' | 'onKeyUp'>;
15964
+ export const DataGridFocusContext: import("react").Context<DataGridFocusContextShape>;
15965
+ type FocusProps = Pick<HTMLAttributes<HTMLDivElement>, 'tabIndex' | 'onKeyUp'>;
15848
15966
  /**
15849
15967
  * Main focus context and overarching focus state management
15850
15968
  */
@@ -15860,8 +15978,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/focus' {
15860
15978
  visibleColCount: number;
15861
15979
  visibleRowCount: number;
15862
15980
  visibleRowStartIndex: number;
15863
- rowCount: EuiDataGridProps['rowCount'];
15864
- pagination: Required<EuiDataGridProps['pagination']>;
15981
+ rowCount: EuiDataGridProps["rowCount"];
15982
+ pagination: Required<EuiDataGridProps["pagination"]>;
15865
15983
  hasFooter: boolean;
15866
15984
  focusContext: DataGridFocusContextShape;
15867
15985
  }) => (event: KeyboardEvent<HTMLDivElement>) => void;
@@ -15899,13 +16017,13 @@ declare module '@elastic/eui/src/components/datagrid/data_grid.styles' {
15899
16017
  export const euiDataGridStyles: (euiThemeContext: UseEuiTheme) => {
15900
16018
  euiDataGrid: import("@emotion/react").SerializedStyles;
15901
16019
  cellPadding: {
15902
- cellPadding: (size: 's' | 'm' | 'l') => import("@emotion/react").SerializedStyles;
16020
+ cellPadding: (size: "s" | "m" | "l") => import("@emotion/react").SerializedStyles;
15903
16021
  readonly s: import("@emotion/react").SerializedStyles;
15904
16022
  readonly m: import("@emotion/react").SerializedStyles;
15905
16023
  readonly l: import("@emotion/react").SerializedStyles;
15906
16024
  };
15907
16025
  fontSize: {
15908
- fontSize: (size: 's' | 'm') => import("@emotion/react").SerializedStyles;
16026
+ fontSize: (size: "s" | "m") => import("@emotion/react").SerializedStyles;
15909
16027
  readonly s: import("@emotion/react").SerializedStyles;
15910
16028
  readonly m: import("@emotion/react").SerializedStyles;
15911
16029
  readonly l: import("@emotion/react").SerializedStyles;
@@ -15957,7 +16075,13 @@ declare module '@elastic/eui/src/components/datagrid/body/header/draggable_colum
15957
16075
  children: (dragProps?: Partial<DraggableProvidedDragHandleProps> & {
15958
16076
  'data-column-moving'?: boolean;
15959
16077
  }) => ReactElement;
15960
- }>; type CanDragAndDropColumns = {
16078
+ }>;
16079
+ /**
16080
+ * Components for conditionally rendering drag/drop wrappers
16081
+ * Allows us to conditionally call hooks while not instantiating a bunch
16082
+ * of extra state/etc., since draggable columns isn't yet(?) a default
16083
+ */
16084
+ type CanDragAndDropColumns = {
15961
16085
  canDragAndDropColumns: boolean;
15962
16086
  };
15963
16087
  export const ConditionalDroppableColumns: FunctionComponent<ComponentProps<typeof DroppableColumns> & CanDragAndDropColumns>;
@@ -15997,7 +16121,7 @@ declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
15997
16121
  *
15998
16122
  * this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
15999
16123
  */
16000
- export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
16124
+ export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string) => (...args: any[]) => any;
16001
16125
 
16002
16126
  }
16003
16127
  declare module '@elastic/eui/src/utils/prop_types' {
@@ -16006,7 +16130,7 @@ declare module '@elastic/eui/src/utils/prop_types' {
16006
16130
  (props: T, propName: keyof T, componentName: string): Error | null;
16007
16131
  isRequired(props: T, propName: keyof T, componentName: string): Error | null;
16008
16132
  };
16009
- withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
16133
+ withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string) => (...args: any[]) => any;
16010
16134
  };
16011
16135
 
16012
16136
  }
@@ -16163,7 +16287,7 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_actions'
16163
16287
  import React, { Ref, KeyboardEventHandler, FunctionComponent } from 'react';
16164
16288
  import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
16165
16289
  import { EuiDataGridHeaderCellProps, EuiDataGridColumn, EuiDataGridColumnActions, EuiDataGridSchema, EuiDataGridSchemaDetector, EuiDataGridSorting, DataGridFocusContextShape } from '@elastic/eui/src/components/datagrid/data_grid_types';
16166
- export const useHasColumnActions: (columnActions: EuiDataGridColumn['actions']) => boolean;
16290
+ export const useHasColumnActions: (columnActions: EuiDataGridColumn["actions"]) => boolean;
16167
16291
  export type PropsFromColumnActions = {
16168
16292
  className?: string;
16169
16293
  onKeyDown?: KeyboardEventHandler;
@@ -16204,16 +16328,24 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_actions'
16204
16328
  setFocusedCell: DataGridFocusContextShape['setFocusedCell'];
16205
16329
  columnFocusIndex: number;
16206
16330
  }
16207
- export const getColumnActions: ({ column, columns, schema, schemaDetectors, setVisibleColumns, focusFirstVisibleInteractiveCell, setIsPopoverOpen, sorting, switchColumnPos, setIsColumnMoving, setFocusedCell, columnFocusIndex, }: GetColumnActions) => EuiListGroupItemProps[]; type HideColumnAction = Pick<GetColumnActions, 'column' | 'columns' | 'setVisibleColumns' | 'focusFirstVisibleInteractiveCell'>;
16208
- export const getHideColumnAction: ({ column, columns, setVisibleColumns, focusFirstVisibleInteractiveCell, }: HideColumnAction) => EuiListGroupItemProps[]; type SortColumnActions = Pick<GetColumnActions, 'column' | 'sorting' | 'schema' | 'schemaDetectors'>;
16331
+ export const getColumnActions: ({ column, columns, schema, schemaDetectors, setVisibleColumns, focusFirstVisibleInteractiveCell, setIsPopoverOpen, sorting, switchColumnPos, setIsColumnMoving, setFocusedCell, columnFocusIndex, }: GetColumnActions) => EuiListGroupItemProps[];
16332
+ /**
16333
+ * Hide column action
16334
+ */
16335
+ type HideColumnAction = Pick<GetColumnActions, 'column' | 'columns' | 'setVisibleColumns' | 'focusFirstVisibleInteractiveCell'>;
16336
+ export const getHideColumnAction: ({ column, columns, setVisibleColumns, focusFirstVisibleInteractiveCell, }: HideColumnAction) => EuiListGroupItemProps[];
16337
+ /**
16338
+ * Sort column actions
16339
+ */
16340
+ type SortColumnActions = Pick<GetColumnActions, 'column' | 'sorting' | 'schema' | 'schemaDetectors'>;
16209
16341
  export const getSortColumnActions: ({ column, sorting, schema, schemaDetectors, }: SortColumnActions) => EuiListGroupItemProps[];
16210
16342
  /**
16211
16343
  * Column action utility helpers - mostly syntactical sugar for adding an extra
16212
16344
  * actions !== false checks, which we make an early return for in the main fn,
16213
16345
  * but that the individual utils don't know about and Typescript complains about
16214
16346
  */
16215
- export const isColumnActionEnabled: (actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn['actions']) => boolean;
16216
- export const getColumnActionConfig: (action: EuiListGroupItemProps, actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn['actions']) => EuiListGroupItemProps;
16347
+ export const isColumnActionEnabled: (actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn["actions"]) => boolean;
16348
+ export const getColumnActionConfig: (action: EuiListGroupItemProps, actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn["actions"]) => EuiListGroupItemProps;
16217
16349
  export {};
16218
16350
 
16219
16351
  }
@@ -16224,7 +16356,7 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_sorting'
16224
16356
  * Column sorting utility helpers
16225
16357
  */
16226
16358
  export const useColumnSorting: ({ sorting, id, }: {
16227
- sorting?: EuiDataGridSorting | undefined;
16359
+ sorting?: EuiDataGridSorting;
16228
16360
  id: string;
16229
16361
  }) => {
16230
16362
  sortingArrow: React.JSX.Element | null;
@@ -16312,12 +16444,12 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell_ac
16312
16444
  export const EuiDataGridCellActions: ({ onExpandClick, popoverAnchorRef, column, rowIndex, colIndex, }: {
16313
16445
  onExpandClick: () => void;
16314
16446
  popoverAnchorRef: Ref<HTMLDivElement>;
16315
- column?: EuiDataGridColumn | undefined;
16447
+ column?: EuiDataGridColumn;
16316
16448
  rowIndex: number;
16317
16449
  colIndex: number;
16318
16450
  }) => React.JSX.Element;
16319
16451
  export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
16320
- column?: EuiDataGridColumn | undefined;
16452
+ column?: EuiDataGridColumn;
16321
16453
  colIndex: number;
16322
16454
  rowIndex: number;
16323
16455
  }) => React.JSX.Element;
@@ -16345,13 +16477,13 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell_po
16345
16477
 
16346
16478
  }
16347
16479
  declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell' {
16348
- import React, { Component, ContextType, KeyboardEvent } from 'react';
16480
+ import React, { Component, ContextType, KeyboardEvent, MutableRefObject } from 'react';
16349
16481
  import { DataGridFocusContext } from '@elastic/eui/src/components/datagrid/utils/focus';
16350
16482
  import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16351
16483
  export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
16352
- cellRef: React.MutableRefObject<HTMLDivElement | null>;
16484
+ cellRef: MutableRefObject<HTMLDivElement | null>;
16353
16485
  contentObserver: any;
16354
- popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
16486
+ popoverAnchorRef: MutableRefObject<HTMLDivElement | null>;
16355
16487
  cellContentsRef: HTMLDivElement | null;
16356
16488
  state: EuiDataGridCellState;
16357
16489
  unsubscribeCell?: Function;
@@ -16419,11 +16551,11 @@ declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_foote
16419
16551
  columns: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridColumn[];
16420
16552
  schema: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridSchema;
16421
16553
  columnWidths: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridColumnWidths;
16422
- defaultColumnWidth?: number | null | undefined;
16423
- renderCellValue: import ("@elastic/eui/src/components/datagrid/data_grid_types").RenderCellValue;
16424
- renderCellPopover?: React.JSXElementConstructor<import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellPopoverElementProps> | ((props: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellPopoverElementProps) => React.ReactNode) | undefined;
16425
- interactiveCellId: string;
16426
- visibleRowIndex?: number | undefined;
16554
+ defaultColumnWidth?: number | null;
16555
+ renderCellValue: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["renderCellValue"];
16556
+ renderCellPopover?: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["renderCellPopover"];
16557
+ interactiveCellId: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["interactiveCellId"];
16558
+ visibleRowIndex?: number;
16427
16559
  visibleColCount: number;
16428
16560
  gridStyles: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridStyle;
16429
16561
  } & React.RefAttributes<HTMLDivElement>>>;
@@ -16432,7 +16564,8 @@ declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_foote
16432
16564
  }
16433
16565
  declare module '@elastic/eui/src/components/datagrid/body/footer/use_data_grid_footer' {
16434
16566
  import React from 'react';
16435
- import { EuiDataGridFooterRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type Props = Omit<EuiDataGridFooterRowProps, 'renderCellValue'> & {
16567
+ import { EuiDataGridFooterRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16568
+ type Props = Omit<EuiDataGridFooterRowProps, 'renderCellValue'> & {
16436
16569
  renderFooterCellValue?: EuiDataGridFooterRowProps['renderCellValue'];
16437
16570
  };
16438
16571
  /**
@@ -16455,7 +16588,7 @@ declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager'
16455
16588
  import { EuiDataGridRowManager, EuiDataGridStyle } from '@elastic/eui/src/components/datagrid/data_grid_types';
16456
16589
  export const useRowManager: ({ innerGridRef, rowClasses, }: {
16457
16590
  innerGridRef: RefObject<HTMLDivElement>;
16458
- rowClasses?: EuiDataGridStyle['rowClasses'];
16591
+ rowClasses?: EuiDataGridStyle["rowClasses"];
16459
16592
  }) => EuiDataGridRowManager;
16460
16593
 
16461
16594
  }
@@ -16484,7 +16617,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
16484
16617
  rowHeightUtils: RowHeightUtilsType;
16485
16618
  startRow: number;
16486
16619
  endRow: number;
16487
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
16620
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
16488
16621
  defaultRowHeight: number;
16489
16622
  headerRowHeight: number;
16490
16623
  footerRowHeight: number;
@@ -16506,14 +16639,14 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
16506
16639
  }
16507
16640
  declare module '@elastic/eui/src/components/datagrid/utils/col_widths' {
16508
16641
  import { EuiDataGridColumn, EuiDataGridColumnWidths, EuiDataGridControlColumn, EuiDataGridOnColumnResizeHandler, EuiDataGridProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16509
- export const useDefaultColumnWidth: (gridWidth: number, leadingControlColumns: EuiDataGridControlColumn[], trailingControlColumns: EuiDataGridControlColumn[], columns: EuiDataGridProps['columns']) => number | null;
16642
+ export const useDefaultColumnWidth: (gridWidth: number, leadingControlColumns: EuiDataGridControlColumn[], trailingControlColumns: EuiDataGridControlColumn[], columns: EuiDataGridProps["columns"]) => number | null;
16510
16643
  export const doesColumnHaveAnInitialWidth: (column: EuiDataGridColumn) => boolean;
16511
16644
  export const useColumnWidths: ({ columns, leadingControlColumns, trailingControlColumns, defaultColumnWidth, onColumnResize, }: {
16512
16645
  columns: EuiDataGridColumn[];
16513
16646
  leadingControlColumns: EuiDataGridControlColumn[];
16514
16647
  trailingControlColumns: EuiDataGridControlColumn[];
16515
- defaultColumnWidth?: number | null | undefined;
16516
- onColumnResize?: EuiDataGridOnColumnResizeHandler | undefined;
16648
+ defaultColumnWidth?: number | null;
16649
+ onColumnResize?: EuiDataGridOnColumnResizeHandler;
16517
16650
  }) => {
16518
16651
  columnWidths: EuiDataGridColumnWidths;
16519
16652
  setColumnWidth: (columnId: string, width: number) => void;
@@ -16567,7 +16700,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/scrolling' {
16567
16700
  /**
16568
16701
  * Checks whether the current grid scrolls and/or has scrollbars
16569
16702
  */
16570
- export const useScrollBars: (outerGridRef: MutableRefObject<HTMLDivElement | null>, borderStyle?: EuiDataGridStyle['border']) => {
16703
+ export const useScrollBars: (outerGridRef: MutableRefObject<HTMLDivElement | null>, borderStyle?: EuiDataGridStyle["border"]) => {
16571
16704
  scrollBarHeight: number;
16572
16705
  scrollBarWidth: number;
16573
16706
  hasVerticalScroll: boolean;
@@ -16626,7 +16759,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/data_grid_toolbar'
16626
16759
  export const MINIMUM_WIDTH_FOR_GRID_CONTROLS = 479;
16627
16760
  export const EuiDataGridToolbar: ({ gridWidth, minSizeForControls, toolbarVisibility, isFullScreen, fullScreenSelector, keyboardShortcuts, displaySelector, columnSelector, columnSorting, renderCustomToolbar, }: EuiDataGridToolbarProps) => React.JSX.Element;
16628
16761
  export function checkOrDefaultToolBarDisplayOptions<OptionKey extends keyof EuiDataGridToolBarVisibilityOptions>(arg: EuiDataGridProps['toolbarVisibility'], option: OptionKey): Required<EuiDataGridToolBarVisibilityOptions>[OptionKey];
16629
- export const renderAdditionalControls: (toolbarVisibility: EuiDataGridProps['toolbarVisibility'], position: 'left.prepend' | 'left.append' | 'right') => ReactNode;
16762
+ export const renderAdditionalControls: (toolbarVisibility: EuiDataGridProps["toolbarVisibility"], position: "left.prepend" | "left.append" | "right") => ReactNode;
16630
16763
  /**
16631
16764
  * Utility helper for selectors/controls that allow nested options
16632
16765
  * (e.g. column selector, display selector)
@@ -16652,11 +16785,11 @@ declare module '@elastic/eui/src/components/datagrid/controls/column_selector.st
16652
16785
 
16653
16786
  }
16654
16787
  declare module '@elastic/eui/src/components/datagrid/controls/column_selector' {
16655
- import React, { ReactNode } from 'react';
16788
+ import { ReactNode } from 'react';
16656
16789
  import { EuiDataGridColumn, EuiDataGridColumnVisibility, EuiDataGridToolBarVisibilityOptions } from '@elastic/eui/src/components/datagrid/data_grid_types';
16657
- export const useDataGridColumnSelector: (availableColumns: EuiDataGridColumn[], columnVisibility: EuiDataGridColumnVisibility, showColumnSelector: EuiDataGridToolBarVisibilityOptions['showColumnSelector'], displayValues: {
16790
+ export const useDataGridColumnSelector: (availableColumns: EuiDataGridColumn[], columnVisibility: EuiDataGridColumnVisibility, showColumnSelector: EuiDataGridToolBarVisibilityOptions["showColumnSelector"], displayValues: {
16658
16791
  [key: string]: string;
16659
- }) => [React.ReactNode, EuiDataGridColumn[], (columns: string[]) => void, (colFrom: string, colTo: string) => void];
16792
+ }) => [ReactNode, EuiDataGridColumn[], (columns: string[]) => void, (colFrom: string, colTo: string) => void];
16660
16793
 
16661
16794
  }
16662
16795
  declare module '@elastic/eui/src/components/datagrid/controls/column_sorting' {
@@ -16672,7 +16805,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/column_sorting' {
16672
16805
  schemaDetectors: EuiDataGridSchemaDetector[];
16673
16806
  };
16674
16807
  export const useDataGridColumnSorting: ({ sorting, ...rest }: Omit<ColumnSortingProps, "sorting"> & {
16675
- sorting?: EuiDataGridSorting | undefined;
16808
+ sorting?: EuiDataGridSorting;
16676
16809
  }) => ReactNode;
16677
16810
  export const DataGridSortingControl: FunctionComponent<ColumnSortingProps>;
16678
16811
 
@@ -16684,7 +16817,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/display_selector'
16684
16817
  /**
16685
16818
  * Display settings/selector popover
16686
16819
  */
16687
- export const useDataGridDisplaySelector: (showDisplaySelector: EuiDataGridToolBarVisibilityOptions['showDisplaySelector'], passedGridStyles: EuiDataGridStyle, passedRowHeightsOptions?: EuiDataGridRowHeightsOptions) => [ReactNode, EuiDataGridStyle, EuiDataGridRowHeightsOptions];
16820
+ export const useDataGridDisplaySelector: (showDisplaySelector: EuiDataGridToolBarVisibilityOptions["showDisplaySelector"], passedGridStyles: EuiDataGridStyle, passedRowHeightsOptions?: EuiDataGridRowHeightsOptions) => [ReactNode, EuiDataGridStyle, EuiDataGridRowHeightsOptions];
16688
16821
 
16689
16822
  }
16690
16823
  declare module '@elastic/eui/src/components/description_list/description_list_types' {
@@ -16760,7 +16893,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
16760
16893
 
16761
16894
  }
16762
16895
  declare module '@elastic/eui/src/components/description_list/description_list_context' {
16763
- import { EuiDescriptionListProps, EuiDescriptionListChildTypes } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'textStyle' | 'align' | 'rowGutterSize'> & {
16896
+ import { EuiDescriptionListProps, EuiDescriptionListChildTypes } from '@elastic/eui/src/components/description_list/description_list_types';
16897
+ type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'textStyle' | 'align' | 'rowGutterSize'> & {
16764
16898
  type: EuiDescriptionListChildTypes;
16765
16899
  }> & {
16766
16900
  compressed?: EuiDescriptionListProps['compressed'];
@@ -16914,7 +17048,8 @@ declare module '@elastic/eui/src/components/datagrid/pagination/data_grid_pagina
16914
17048
  }
16915
17049
  declare module '@elastic/eui/src/components/datagrid/pagination/data_grid_pagination' {
16916
17050
  import React, { AriaAttributes } from 'react';
16917
- import { EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type _EuiDataGridPaginationProps = Required<EuiDataGridPaginationProps> & {
17051
+ import { EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
17052
+ type _EuiDataGridPaginationProps = Required<EuiDataGridPaginationProps> & {
16918
17053
  rowCount: number;
16919
17054
  controls: string;
16920
17055
  'aria-label'?: AriaAttributes['aria-label'];
@@ -16939,10 +17074,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/in_memory' {
16939
17074
  /**
16940
17075
  * inMemory values hook
16941
17076
  */
16942
- export const useInMemoryValues: (inMemory: EuiDataGridInMemory | undefined, rowCount: number) => [
16943
- EuiDataGridInMemoryValues,
16944
- EuiDataGridInMemoryRendererProps['onCellRender']
16945
- ];
17077
+ export const useInMemoryValues: (inMemory: EuiDataGridInMemory | undefined, rowCount: number) => [EuiDataGridInMemoryValues, EuiDataGridInMemoryRendererProps["onCellRender"]];
16946
17078
  /**
16947
17079
  * InMemory renderer
16948
17080
  */
@@ -16952,8 +17084,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/in_memory' {
16952
17084
  declare module '@elastic/eui/src/components/datagrid/utils/row_count' {
16953
17085
  import { EuiDataGridProps, EuiDataGridVisibleRows } from '@elastic/eui/src/components/datagrid/data_grid_types';
16954
17086
  export const computeVisibleRows: ({ pagination, rowCount, }: {
16955
- pagination: Required<EuiDataGridProps['pagination']>;
16956
- rowCount: EuiDataGridProps['rowCount'];
17087
+ pagination: Required<EuiDataGridProps["pagination"]>;
17088
+ rowCount: EuiDataGridProps["rowCount"];
16957
17089
  }) => EuiDataGridVisibleRows;
16958
17090
 
16959
17091
  }
@@ -16990,7 +17122,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/ref' {
16990
17122
  * the row is not on the current page, the grid should automatically handle
16991
17123
  * paginating to that row.
16992
17124
  */
16993
- export const useSortPageCheck: (pagination: Required<EuiDataGridProps['pagination']>, sortedRowMap: DataGridSortedContextShape['sortedRowMap']) => {
17125
+ export const useSortPageCheck: (pagination: Required<EuiDataGridProps["pagination"]>, sortedRowMap: DataGridSortedContextShape["sortedRowMap"]) => {
16994
17126
  findVisibleRowIndex: (rowIndex: number) => number;
16995
17127
  };
16996
17128
  export {};
@@ -17322,7 +17454,8 @@ declare module '@elastic/eui/src/components/date_picker/date_picker' {
17322
17454
  import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
17323
17455
  import { ReactDatePickerProps } from '@elastic/eui/src/components/date_picker/react-datepicker';
17324
17456
  export const euiDatePickerDefaultDateFormat = "MM/DD/YYYY";
17325
- export const euiDatePickerDefaultTimeFormat = "hh:mm A"; const unsupportedProps: readonly ["monthsShown", "showWeekNumbers", "fixedHeight", "dropdownMode", "useShortMonthInDropdown", "todayButton", "timeCaption", "disabledKeyboardNavigation", "isClearable", "withPortal", "showMonthYearDropdown", "popperPlacement", "defaultInputProps"]; type UnsupportedProps = (typeof unsupportedProps)[number];
17457
+ export const euiDatePickerDefaultTimeFormat = "hh:mm A"; const unsupportedProps: readonly ["monthsShown", "showWeekNumbers", "fixedHeight", "dropdownMode", "useShortMonthInDropdown", "todayButton", "timeCaption", "disabledKeyboardNavigation", "isClearable", "withPortal", "showMonthYearDropdown", "popperPlacement", "defaultInputProps"];
17458
+ type UnsupportedProps = (typeof unsupportedProps)[number];
17326
17459
  interface EuiExtendedDatePickerProps extends Omit<ReactDatePickerProps, UnsupportedProps> {
17327
17460
  /**
17328
17461
  * Applies classes to the numbered days provided. Check docs for example.
@@ -17469,7 +17602,7 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
17469
17602
  };
17470
17603
  export type EuiTabRef = HTMLDivElement;
17471
17604
  export const EuiTabs: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
17472
- children?: React.ReactNode;
17605
+ children?: ReactNode | undefined;
17473
17606
  } & CommonProps & {
17474
17607
  /**
17475
17608
  * ReactNode to render as this component's content
@@ -17479,16 +17612,16 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
17479
17612
  * Evenly stretches each tab to fill the
17480
17613
  * horizontal space
17481
17614
  */
17482
- expand?: boolean | undefined;
17615
+ expand?: boolean;
17483
17616
  /**
17484
17617
  * Adds a bottom border to separate it from the content after
17485
17618
  */
17486
- bottomBorder?: boolean | undefined;
17619
+ bottomBorder?: boolean;
17487
17620
  /**
17488
17621
  * Sizes affect both font size and overall size.
17489
17622
  * Only use the `xl` size when displayed as page titles.
17490
17623
  */
17491
- size?: "s" | "m" | "l" | "xl" | undefined;
17624
+ size?: EuiTabsSizes;
17492
17625
  } & React.RefAttributes<HTMLDivElement>>;
17493
17626
 
17494
17627
  }
@@ -17515,10 +17648,12 @@ declare module '@elastic/eui/src/components/tabs/tab' {
17515
17648
  * Will be excluded from interactive effects.
17516
17649
  */
17517
17650
  append?: ReactNode;
17518
- } type EuiTabPropsForAnchor = EuiTabProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
17651
+ }
17652
+ type EuiTabPropsForAnchor = EuiTabProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
17519
17653
  href?: string;
17520
17654
  onClick?: MouseEventHandler<HTMLAnchorElement>;
17521
- }; type EuiTabPropsForButton = EuiTabProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> & {
17655
+ };
17656
+ type EuiTabPropsForButton = EuiTabProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> & {
17522
17657
  onClick?: MouseEventHandler<HTMLButtonElement>;
17523
17658
  };
17524
17659
  export type Props = ExclusiveUnion<EuiTabPropsForAnchor, EuiTabPropsForButton>;
@@ -17779,13 +17914,13 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/date_p
17779
17914
  }
17780
17915
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_duration' {
17781
17916
  import React from 'react';
17782
- import moment from 'moment';
17917
+ import { LocaleSpecifier } from 'moment';
17783
17918
  import { DurationRange, ShortDate } from '@elastic/eui/src/components/date_picker/types';
17784
17919
  export const useFormatTimeString: (timeString: string, dateFormat: string, options?: {
17785
- locale?: moment.LocaleSpecifier | undefined;
17786
- roundUp?: boolean | undefined;
17787
- canRoundRelativeUnits?: boolean | undefined;
17788
- } | undefined) => string;
17920
+ locale?: LocaleSpecifier;
17921
+ roundUp?: boolean;
17922
+ canRoundRelativeUnits?: boolean;
17923
+ }) => string;
17789
17924
  /**
17790
17925
  * Pretty duration hook+component
17791
17926
  */
@@ -17898,7 +18033,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_
17898
18033
  }
17899
18034
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_select_popover/quick_select_panel' {
17900
18035
  import { FunctionComponent, ReactNode } from 'react';
17901
- import type { CommonProps } from '@elastic/eui/src/components/common'; type EuiQuickSelectPanelProps = CommonProps & {
18036
+ import type { CommonProps } from '@elastic/eui/src/components/common';
18037
+ type EuiQuickSelectPanelProps = CommonProps & {
17902
18038
  component?: 'div' | 'fieldset';
17903
18039
  title?: ReactNode;
17904
18040
  titleId?: string;
@@ -17947,7 +18083,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_
17947
18083
  import React, { Component, ChangeEventHandler, KeyboardEventHandler } from 'react';
17948
18084
  import moment from 'moment';
17949
18085
  import { ApplyTime, QuickSelect } from '@elastic/eui/src/components/date_picker/types';
17950
- import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options'; type EuiQuickSelectState = QuickSelect;
18086
+ import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options';
18087
+ type EuiQuickSelectState = QuickSelect;
17951
18088
  export interface EuiQuickSelectProps {
17952
18089
  applyTime: ApplyTime;
17953
18090
  start: string;
@@ -18037,7 +18174,7 @@ declare module '@elastic/eui/src/components/date_picker/auto_refresh/refresh_int
18037
18174
  handleKeyDown: KeyboardEventHandler<HTMLElement>;
18038
18175
  applyRefreshInterval: () => void;
18039
18176
  toggleRefresh: () => void;
18040
- renderScreenReaderText: (refreshUnitsOptions: TimeOptions['refreshUnitsOptions']) => React.JSX.Element;
18177
+ renderScreenReaderText: (refreshUnitsOptions: TimeOptions["refreshUnitsOptions"]) => React.JSX.Element;
18041
18178
  render(): React.JSX.Element;
18042
18179
  }
18043
18180
  export {};
@@ -18224,7 +18361,9 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18224
18361
  import React, { Component, MouseEventHandler, ElementRef, ReactNode } from 'react';
18225
18362
  import { EuiButtonProps } from '@elastic/eui/src/components/button';
18226
18363
  import { EuiToolTip, EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
18227
- import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type ToolTipRef = ElementRef<typeof EuiToolTip> | null; type EuiSuperUpdateButtonInternalProps = {
18364
+ import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
18365
+ type ToolTipRef = ElementRef<typeof EuiToolTip> | null;
18366
+ type EuiSuperUpdateButtonInternalProps = {
18228
18367
  isDisabled?: boolean;
18229
18368
  isLoading?: boolean;
18230
18369
  needsUpdate?: boolean;
@@ -18283,10 +18422,18 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18283
18422
 
18284
18423
  }
18285
18424
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_interval' {
18425
+ const MS_INTERVALS: {
18426
+ readonly s: 1000;
18427
+ readonly m: number;
18428
+ readonly h: number;
18429
+ readonly d: number;
18430
+ };
18431
+ type IntervalUnitId = keyof typeof MS_INTERVALS;
18286
18432
  export const usePrettyInterval: (isPaused: boolean, intervalInMs: number, options?: {
18287
- shortHand?: boolean | undefined;
18288
- unit?: "s" | "h" | "m" | "d" | undefined;
18289
- } | undefined) => string;
18433
+ shortHand?: boolean;
18434
+ unit?: IntervalUnitId;
18435
+ }) => string;
18436
+ export {};
18290
18437
 
18291
18438
  }
18292
18439
  declare module '@elastic/eui/src/components/date_picker/auto_refresh/auto_refresh' {
@@ -18465,7 +18612,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18465
18612
  * input by the user, set this flag to `false`.
18466
18613
  */
18467
18614
  canRoundRelativeUnits?: boolean;
18468
- }; type EuiSuperDatePickerInternalProps = EuiSuperDatePickerProps & {
18615
+ };
18616
+ type EuiSuperDatePickerInternalProps = EuiSuperDatePickerProps & {
18469
18617
  memoizedStyles: ReturnType<typeof euiSuperDatePickerStyles>;
18470
18618
  timeOptions: TimeOptions;
18471
18619
  commonlyUsedRanges: DurationRange[];
@@ -18870,9 +19018,11 @@ declare module '@elastic/eui/src/components/expression/expression' {
18870
19018
  * Sets how to handle the wrapping of long text.
18871
19019
  */
18872
19020
  textWrap?: 'break-word' | 'truncate';
18873
- }; type Buttonlike = EuiExpressionProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
19021
+ };
19022
+ type Buttonlike = EuiExpressionProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
18874
19023
  onClick: MouseEventHandler<HTMLButtonElement>;
18875
- }; type Spanlike = EuiExpressionProps & Omit<HTMLAttributes<HTMLSpanElement>, 'value'>;
19024
+ };
19025
+ type Spanlike = EuiExpressionProps & Omit<HTMLAttributes<HTMLSpanElement>, 'value'>;
18876
19026
  export const EuiExpression: FunctionComponent<ExclusiveUnion<Buttonlike, Spanlike>>;
18877
19027
  export {};
18878
19028
 
@@ -18946,6 +19096,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_group' {
18946
19096
  }
18947
19097
  declare module '@elastic/eui/src/components/filter_group/filter_button' {
18948
19098
  import { FunctionComponent } from 'react';
19099
+ import { _EuiButtonColor } from '@elastic/eui/src/global_styling';
18949
19100
  import { DistributiveOmit } from '@elastic/eui/src/components/common';
18950
19101
  import { BadgeNotificationColor } from '@elastic/eui/src/components/badge/notification_badge/badge_notification';
18951
19102
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
@@ -18980,7 +19131,16 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
18980
19131
  * Change color of the counter badge
18981
19132
  */
18982
19133
  badgeColor?: BadgeNotificationColor;
18983
- } & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size'>;
19134
+ /**
19135
+ * Any of the named color palette options.
19136
+ *
19137
+ * Do not use the following colors for standalone buttons directly,
19138
+ * they exist to serve other components:
19139
+ * - accent
19140
+ * - warning
19141
+ */
19142
+ color?: _EuiButtonColor;
19143
+ } & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size' | 'color'>;
18984
19144
  export const EuiFilterButton: FunctionComponent<EuiFilterButtonProps>;
18985
19145
 
18986
19146
  }
@@ -19192,7 +19352,8 @@ declare module '@elastic/eui/src/components/header/header' {
19192
19352
  import { FunctionComponent, HTMLAttributes } from 'react';
19193
19353
  import { CommonProps } from '@elastic/eui/src/components/common';
19194
19354
  import { EuiBreadcrumb, EuiBreadcrumbsProps } from '@elastic/eui/src/components/breadcrumbs';
19195
- import { EuiHeaderSectionItemProps } from '@elastic/eui/src/components/header/header_section'; type EuiHeaderSectionItemType = EuiHeaderSectionItemProps['children'];
19355
+ import { EuiHeaderSectionItemProps } from '@elastic/eui/src/components/header/header_section';
19356
+ type EuiHeaderSectionItemType = EuiHeaderSectionItemProps['children'];
19196
19357
  export interface EuiHeaderSections {
19197
19358
  /**
19198
19359
  * An array of items that will be wrapped in a #EuiHeaderSectionItem
@@ -19308,7 +19469,9 @@ declare module '@elastic/eui/src/components/header/header_links/header_links' {
19308
19469
  import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
19309
19470
  import { EuiHeaderSectionItemButtonProps } from '@elastic/eui/src/components/header/header_section';
19310
19471
  import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
19311
- export const GUTTER_SIZES: readonly ["xxs", "xs", "s", "m", "l"]; type EuiHeaderLinksGutterSize = (typeof GUTTER_SIZES)[number]; type EuiHeaderLinksPopoverButtonProps = Partial<EuiHeaderSectionItemButtonProps> & {
19472
+ export const GUTTER_SIZES: readonly ["xxs", "xs", "s", "m", "l"];
19473
+ type EuiHeaderLinksGutterSize = (typeof GUTTER_SIZES)[number];
19474
+ type EuiHeaderLinksPopoverButtonProps = Partial<EuiHeaderSectionItemButtonProps> & {
19312
19475
  iconType?: IconType;
19313
19476
  };
19314
19477
  export type EuiHeaderLinksProps = CommonProps & Omit<HTMLAttributes<HTMLElement>, 'children'> & {
@@ -19437,7 +19600,8 @@ declare module '@elastic/eui/src/components/image/image_types' {
19437
19600
  export type EuiImageSize = (typeof SIZES)[number]; const FLOATS: readonly ["left", "right"];
19438
19601
  export type EuiImageWrapperFloat = (typeof FLOATS)[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
19439
19602
  export type EuiImageWrapperMargin = (typeof MARGINS)[number];
19440
- export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
19603
+ export type EuiImageButtonIconColor = 'light' | 'dark';
19604
+ type _EuiImageSrcOrUrl = ExclusiveUnion<{
19441
19605
  /**
19442
19606
  * Requires either `src` or `url` but defaults to using `src` if both are provided
19443
19607
  */
@@ -19559,7 +19723,7 @@ declare module '@elastic/eui/src/components/image/image_caption.styles' {
19559
19723
  declare module '@elastic/eui/src/components/image/image_caption' {
19560
19724
  import React from 'react';
19561
19725
  export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
19562
- isOnOverlayMask?: boolean | undefined;
19726
+ isOnOverlayMask?: boolean;
19563
19727
  } & React.RefAttributes<HTMLDivElement>>;
19564
19728
 
19565
19729
  }
@@ -19659,7 +19823,8 @@ declare module '@elastic/eui/src/components/skeleton/skeleton_loading' {
19659
19823
 
19660
19824
  }
19661
19825
  declare module '@elastic/eui/src/components/skeleton/utils' {
19662
- import { UseEuiTheme } from '@elastic/eui/src/services'; type AnimationOptions = {
19826
+ import { UseEuiTheme } from '@elastic/eui/src/services';
19827
+ type AnimationOptions = {
19663
19828
  slideSize?: string;
19664
19829
  gradientSize?: string;
19665
19830
  };
@@ -19940,7 +20105,8 @@ declare module '@elastic/eui/src/components/inline_edit/inline_edit_title' {
19940
20105
  import { FunctionComponent } from 'react';
19941
20106
  import { EuiTitleSize } from '@elastic/eui/src/components/title';
19942
20107
  import { EuiInlineEditCommonProps } from '@elastic/eui/src/components/inline_edit/inline_edit_form';
19943
- export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "span"]; type Heading = (typeof HEADINGS)[number];
20108
+ export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "span"];
20109
+ type Heading = (typeof HEADINGS)[number];
19944
20110
  export type EuiInlineEditTitleProps = EuiInlineEditCommonProps & {
19945
20111
  /**
19946
20112
  * Title size level
@@ -20053,7 +20219,8 @@ declare module '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item' {
20053
20219
  * The text to display beneath the icon
20054
20220
  */
20055
20221
  label: ReactNode;
20056
- }; type EuiKeyPadMenuItemPropsForUncheckable = {
20222
+ };
20223
+ type EuiKeyPadMenuItemPropsForUncheckable = {
20057
20224
  /**
20058
20225
  * Beta badges are unavailable if the item is checkable
20059
20226
  */
@@ -20078,12 +20245,15 @@ declare module '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item' {
20078
20245
  * Use `onClick` instead when the item is not `checkable`
20079
20246
  */
20080
20247
  onChange?: never;
20081
- }; type EuiKeyPadMenuItemPropsForAnchor = PropsForAnchor<EuiKeyPadMenuItemCommonProps, {
20248
+ };
20249
+ type EuiKeyPadMenuItemPropsForAnchor = PropsForAnchor<EuiKeyPadMenuItemCommonProps, {
20082
20250
  buttonRef?: Ref<HTMLAnchorElement>;
20083
20251
  rel?: string;
20084
- } & EuiKeyPadMenuItemPropsForUncheckable>; type EuiKeyPadMenuItemPropsForButton = PropsForButton<EuiKeyPadMenuItemCommonProps, {
20252
+ } & EuiKeyPadMenuItemPropsForUncheckable>;
20253
+ type EuiKeyPadMenuItemPropsForButton = PropsForButton<EuiKeyPadMenuItemCommonProps, {
20085
20254
  buttonRef?: Ref<HTMLButtonElement>;
20086
- } & EuiKeyPadMenuItemPropsForUncheckable>; type EuiKeyPadMenuItemPropsForCheckable = Omit<LabelHTMLAttributes<HTMLLabelElement>, 'onChange'> & EuiKeyPadMenuItemCommonProps & {
20255
+ } & EuiKeyPadMenuItemPropsForUncheckable>;
20256
+ type EuiKeyPadMenuItemPropsForCheckable = Omit<LabelHTMLAttributes<HTMLLabelElement>, 'onChange'> & EuiKeyPadMenuItemCommonProps & {
20087
20257
  /**
20088
20258
  * Use `onChange` instead when the item is `checkable`
20089
20259
  */
@@ -20507,9 +20677,9 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_text
20507
20677
  maxHeight: string;
20508
20678
  };
20509
20679
  export const EuiMarkdownEditorTextArea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & CommonProps & {
20510
- isInvalid?: boolean | undefined;
20511
- fullWidth?: boolean | undefined;
20512
- compressed?: boolean | undefined;
20680
+ isInvalid?: boolean;
20681
+ fullWidth?: boolean;
20682
+ compressed?: boolean;
20513
20683
  height: string;
20514
20684
  maxHeight: string;
20515
20685
  } & React.RefAttributes<HTMLTextAreaElement>>;
@@ -20573,7 +20743,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_too
20573
20743
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/renderer' {
20574
20744
  import { FunctionComponent, PropsWithChildren } from 'react';
20575
20745
  import { EuiMarkdownAstNodePosition } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20576
- import { TooltipNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/types'; type TooltipMarkdownRendererProps = PropsWithChildren & TooltipNodeDetails & {
20746
+ import { TooltipNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/types';
20747
+ type TooltipMarkdownRendererProps = PropsWithChildren & TooltipNodeDetails & {
20577
20748
  position: EuiMarkdownAstNodePosition;
20578
20749
  };
20579
20750
  export const tooltipMarkdownRenderer: FunctionComponent<TooltipMarkdownRendererProps>;
@@ -20610,7 +20781,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_che
20610
20781
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/renderer' {
20611
20782
  import { FunctionComponent, PropsWithChildren } from 'react';
20612
20783
  import { EuiMarkdownAstNodePosition } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20613
- import { CheckboxNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/types'; type CheckboxMarkdownRendererProps = PropsWithChildren & CheckboxNodeDetails & {
20784
+ import { CheckboxNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/types';
20785
+ type CheckboxMarkdownRendererProps = PropsWithChildren & CheckboxNodeDetails & {
20614
20786
  position: EuiMarkdownAstNodePosition;
20615
20787
  };
20616
20788
  export const CheckboxMarkdownRenderer: FunctionComponent<CheckboxMarkdownRendererProps>;
@@ -20710,8 +20882,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_def
20710
20882
  */
20711
20883
  linkProps?: Partial<EuiLinkProps>;
20712
20884
  };
20713
- export const getDefaultEuiMarkdownProcessingPlugins: ({ exclude, linkProps, }?: DefaultPluginsConfig & DefaultProcessingPluginsConfig) => [[Plugin<[(Settings | undefined)?], Settings>, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20714
- export const defaultProcessingPlugins: [[Plugin<[(Settings | undefined)?], Settings>, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20885
+ export const getDefaultEuiMarkdownProcessingPlugins: ({ exclude, linkProps, }?: DefaultPluginsConfig & DefaultProcessingPluginsConfig) => DefaultEuiMarkdownProcessingPlugins;
20886
+ export const defaultProcessingPlugins: [[Plugin, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20715
20887
 
20716
20888
  }
20717
20889
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_default_plugins/plugins' {
@@ -20839,7 +21011,8 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
20839
21011
  import { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
20840
21012
  import { MARKDOWN_MODE } from '@elastic/eui/src/components/markdown_editor/markdown_modes';
20841
21013
  import { EuiMarkdownAstNode, EuiMarkdownDropHandler, EuiMarkdownEditorUiPlugin, EuiMarkdownParseError } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20842
- import { ContextShape } from '@elastic/eui/src/components/markdown_editor/markdown_context'; type CommonMarkdownEditorProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'> & CommonProps & {
21014
+ import { ContextShape } from '@elastic/eui/src/components/markdown_editor/markdown_context';
21015
+ type CommonMarkdownEditorProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'> & CommonProps & {
20843
21016
  /** aria-label OR aria-labelledby must be set */
20844
21017
  'aria-label'?: string;
20845
21018
  /** aria-label OR aria-labelledby must be set */
@@ -21010,7 +21183,8 @@ declare module '@elastic/eui/src/components/page/page_body/page_body' {
21010
21183
  import { CommonProps } from '@elastic/eui/src/components/common';
21011
21184
  import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
21012
21185
  import { EuiPanelProps } from '@elastic/eui/src/components/panel';
21013
- import { EuiPaddingSize } from '@elastic/eui/src/global_styling'; type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType<any>;
21186
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
21187
+ type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType<any>;
21014
21188
  export type EuiPageBodyProps<T extends ComponentTypes = 'main'> = PropsWithChildren & CommonProps & ComponentProps<T> & _EuiPageRestrictWidth & {
21015
21189
  /**
21016
21190
  * Sets the HTML element for `EuiPageBody`.
@@ -21078,7 +21252,8 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
21078
21252
  import { EuiBreadcrumbsProps } from '@elastic/eui/src/components/breadcrumbs';
21079
21253
  import { PADDING_SIZES } from '@elastic/eui/src/global_styling';
21080
21254
  import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
21081
- export const ALIGN_ITEMS: readonly ["top", "bottom", "center", "stretch"]; type Tab = EuiTabProps & {
21255
+ export const ALIGN_ITEMS: readonly ["top", "bottom", "center", "stretch"];
21256
+ type Tab = EuiTabProps & {
21082
21257
  /**
21083
21258
  * Visible text of the tab
21084
21259
  */
@@ -21358,7 +21533,8 @@ declare module '@elastic/eui/src/components/page_template/outer/page_outer' {
21358
21533
  import { FunctionComponent, HTMLAttributes } from 'react';
21359
21534
  import { CommonProps } from '@elastic/eui/src/components/common';
21360
21535
  import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling';
21361
- export const PAGE_DIRECTIONS: readonly ["row", "column"]; type PageDirections = (typeof PAGE_DIRECTIONS)[number];
21536
+ export const PAGE_DIRECTIONS: readonly ["row", "column"];
21537
+ type PageDirections = (typeof PAGE_DIRECTIONS)[number];
21362
21538
  export interface _EuiPageOuterProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
21363
21539
  /**
21364
21540
  * Adds `flex-grow: 1` to the whole page for stretching to fit vertically.
@@ -21571,7 +21747,7 @@ declare module '@elastic/eui/src/components/provider/nested' {
21571
21747
 
21572
21748
  }
21573
21749
  declare module '@elastic/eui/src/components/provider/provider' {
21574
- import React, { PropsWithChildren, JSX } from 'react';
21750
+ import { PropsWithChildren, JSX } from 'react';
21575
21751
  import type { EmotionCache } from '@emotion/css';
21576
21752
  import { EuiThemeProviderProps, EuiThemeSystem, EuiThemeColorMode, EuiThemeHighContrastModeProp } from '@elastic/eui/src/services';
21577
21753
  import { EuiGlobalStylesProps } from '@elastic/eui/src/global_styling/reset/global_styles';
@@ -21630,7 +21806,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
21630
21806
  */
21631
21807
  componentDefaults?: EuiComponentDefaults;
21632
21808
  }
21633
- export const EuiProvider: <T extends {} = {}>({ cache, theme, globalStyles: Globals, utilityClasses: Utilities, colorMode, highContrastMode, modify, componentDefaults, children, }: React.PropsWithChildren<EuiProviderProps<T>>) => any;
21809
+ export const EuiProvider: <T extends {} = {}>({ cache, theme, globalStyles: Globals, utilityClasses: Utilities, colorMode, highContrastMode, modify, componentDefaults, children, }: PropsWithChildren<EuiProviderProps<T>>) => any;
21634
21810
 
21635
21811
  }
21636
21812
  declare module '@elastic/eui/src/components/provider' {
@@ -21881,7 +22057,7 @@ declare module '@elastic/eui/src/components/search_bar/query/date_value' {
21881
22057
  export const dateValue: (raw: MomentInput, granularity?: GranularityType, dateFormat?: any) => DateValue | undefined;
21882
22058
  export const dateValueParser: (format?: Readonly<{
21883
22059
  parse(value: string): import ("@elastic/eui/src/components/search_bar/query/date_format").EuiMoment;
21884
- print(date: moment.MomentInput | import ("@elastic/eui/src/components/search_bar/query/date_format").EuiMoment, defaultGranularity?: undefined): string;
22060
+ print(date: import ("@elastic/eui/src/components/search_bar/query/date_format").EuiMoment | MomentInput, defaultGranularity?: undefined): string;
21885
22061
  }>) => (text: string) => DateValue | undefined;
21886
22062
 
21887
22063
  }
@@ -21915,7 +22091,7 @@ declare module '@elastic/eui/src/components/search_bar/query/ast' {
21915
22091
  export const Match: Readonly<{
21916
22092
  MUST: "must";
21917
22093
  MUST_NOT: "must_not";
21918
- isMust(match: MatchType | undefined): boolean;
22094
+ isMust(match: MatchType | undefined): match is "must";
21919
22095
  isMustClause(clause: Clause): boolean;
21920
22096
  }>;
21921
22097
  export type OperatorType = 'eq' | 'exact' | 'gt' | 'gte' | 'lt' | 'lte';
@@ -21926,19 +22102,19 @@ declare module '@elastic/eui/src/components/search_bar/query/ast' {
21926
22102
  GTE: "gte";
21927
22103
  LT: "lt";
21928
22104
  LTE: "lte";
21929
- isEQ(match: OperatorType | undefined): boolean;
22105
+ isEQ(match: OperatorType | undefined): match is "eq";
21930
22106
  isEQClause(clause: Clause): boolean;
21931
- isEXACT(match: OperatorType | undefined): boolean;
22107
+ isEXACT(match: OperatorType | undefined): match is "exact";
21932
22108
  isEXACTClause(clause: Clause): boolean;
21933
- isRange(match: OperatorType | undefined): boolean;
22109
+ isRange(match: OperatorType | undefined): match is "gt" | "gte" | "lt" | "lte";
21934
22110
  isRangeClause(clause: Clause): boolean;
21935
- isGT(match: OperatorType | undefined): boolean;
22111
+ isGT(match: OperatorType | undefined): match is "gt";
21936
22112
  isGTClause(clause: Clause): boolean;
21937
- isGTE(match: OperatorType | undefined): boolean;
22113
+ isGTE(match: OperatorType | undefined): match is "gte";
21938
22114
  isGTEClause(clause: Clause): boolean;
21939
- isLT(match: OperatorType | undefined): boolean;
22115
+ isLT(match: OperatorType | undefined): match is "lt";
21940
22116
  isLTClause(clause: Clause): boolean;
21941
- isLTE(match: OperatorType | undefined): boolean;
22117
+ isLTE(match: OperatorType | undefined): match is "lte";
21942
22118
  isLTEClause(clause: Clause): boolean;
21943
22119
  }>;
21944
22120
  /**
@@ -22011,7 +22187,7 @@ declare module '@elastic/eui/src/components/search_bar/query/ast' {
22011
22187
  Match: Readonly<{
22012
22188
  MUST: "must";
22013
22189
  MUST_NOT: "must_not";
22014
- isMust(match: MatchType | undefined): boolean;
22190
+ isMust(match: MatchType | undefined): match is "must";
22015
22191
  isMustClause(clause: Clause): boolean;
22016
22192
  }>;
22017
22193
  Operator: Readonly<{
@@ -22021,19 +22197,19 @@ declare module '@elastic/eui/src/components/search_bar/query/ast' {
22021
22197
  GTE: "gte";
22022
22198
  LT: "lt";
22023
22199
  LTE: "lte";
22024
- isEQ(match: OperatorType | undefined): boolean;
22200
+ isEQ(match: OperatorType | undefined): match is "eq";
22025
22201
  isEQClause(clause: Clause): boolean;
22026
- isEXACT(match: OperatorType | undefined): boolean;
22202
+ isEXACT(match: OperatorType | undefined): match is "exact";
22027
22203
  isEXACTClause(clause: Clause): boolean;
22028
- isRange(match: OperatorType | undefined): boolean;
22204
+ isRange(match: OperatorType | undefined): match is "gt" | "gte" | "lt" | "lte";
22029
22205
  isRangeClause(clause: Clause): boolean;
22030
- isGT(match: OperatorType | undefined): boolean;
22206
+ isGT(match: OperatorType | undefined): match is "gt";
22031
22207
  isGTClause(clause: Clause): boolean;
22032
- isGTE(match: OperatorType | undefined): boolean;
22208
+ isGTE(match: OperatorType | undefined): match is "gte";
22033
22209
  isGTEClause(clause: Clause): boolean;
22034
- isLT(match: OperatorType | undefined): boolean;
22210
+ isLT(match: OperatorType | undefined): match is "lt";
22035
22211
  isLTClause(clause: Clause): boolean;
22036
- isLTE(match: OperatorType | undefined): boolean;
22212
+ isLTE(match: OperatorType | undefined): match is "lte";
22037
22213
  isLTEClause(clause: Clause): boolean;
22038
22214
  }>;
22039
22215
  Term: Readonly<{
@@ -22197,7 +22373,8 @@ declare module '@elastic/eui/src/components/search_bar/query/operators' {
22197
22373
  import moment from 'moment';
22198
22374
  import { Value } from '@elastic/eui/src/components/search_bar/query/ast';
22199
22375
  export type FieldValue = string | number | boolean | any[] | Date | moment.Moment | null | undefined;
22200
- export type ClauseValue = Value | Date | moment.Moment | null | undefined; type Options = Partial<{
22376
+ export type ClauseValue = Value | Date | moment.Moment | null | undefined;
22377
+ type Options = Partial<{
22201
22378
  exactMatch: boolean;
22202
22379
  ignoreCase: boolean;
22203
22380
  }>;
@@ -22220,8 +22397,8 @@ declare module '@elastic/eui/src/components/search_bar/query/execute_ast' {
22220
22397
  flag?: string;
22221
22398
  match?: MatchType;
22222
22399
  operator?: any;
22223
- } const defaultIsClauseMatcher: <T_1 extends object>(item: T_1, clause: IsClause, explain?: Explain[] | undefined) => boolean;
22224
- export const createFilter: <T extends {}>(ast: _AST, defaultFields: string[] | undefined, isClauseMatcher?: <T_1 extends object>(item: T_1, clause: IsClause, explain?: Explain[] | undefined) => boolean, explain?: boolean) => (item: T) => boolean;
22400
+ } const defaultIsClauseMatcher: <T extends object>(item: T, clause: IsClause, explain?: Explain[]) => boolean;
22401
+ export const createFilter: <T extends {}>(ast: _AST, defaultFields: string[] | undefined, isClauseMatcher?: <T_1 extends object>(item: T_1, clause: IsClause, explain?: Explain[]) => boolean, explain?: boolean) => (item: T) => boolean;
22225
22402
  interface Options {
22226
22403
  isClauseMatcher?: typeof defaultIsClauseMatcher;
22227
22404
  defaultFields?: string[];
@@ -22246,7 +22423,8 @@ declare module '@elastic/eui/src/components/search_bar/query/ast_to_es_query_dsl
22246
22423
  must?: QueryContainer[];
22247
22424
  must_not?: QueryContainer[];
22248
22425
  should?: QueryContainer[];
22249
- } type Options = Partial<{
22426
+ }
22427
+ type Options = Partial<{
22250
22428
  defaultFields: string[];
22251
22429
  extraMustQueries: QueryContainer[];
22252
22430
  extraMustNotQueries: QueryContainer[];
@@ -22257,17 +22435,10 @@ declare module '@elastic/eui/src/components/search_bar/query/ast_to_es_query_dsl
22257
22435
  export const _termValuesToQuery: (values: Value[], options: Options) => {
22258
22436
  simple_query_string: {
22259
22437
  query: string;
22260
- fields?: string[] | undefined;
22438
+ fields?: string[];
22261
22439
  };
22262
22440
  } | undefined;
22263
- export const _fieldValuesToQuery: (field: string, operations: {
22264
- exact: Value[];
22265
- eq: Value[];
22266
- gt: Value[];
22267
- gte: Value[];
22268
- lt: Value[];
22269
- lte: Value[];
22270
- }, andOr: 'and' | 'or') => QueryContainer;
22441
+ export const _fieldValuesToQuery: (field: string, operations: { [x in OperatorType]: Value[]; }, andOr: "and" | "or") => QueryContainer;
22271
22442
  export const _isFlagToQuery: (flag: string, on: boolean) => {
22272
22443
  term: {
22273
22444
  [x: string]: boolean;
@@ -22294,9 +22465,9 @@ declare module '@elastic/eui/src/components/search_bar/query/query' {
22294
22465
  static parse(text: string, options?: ParseOptions, syntax?: Syntax): Query;
22295
22466
  static isMust(clause: Clause): boolean;
22296
22467
  static MATCH_ALL: Query;
22297
- static isTerm(clause: Clause): boolean;
22298
- static isIs(clause: Clause): boolean;
22299
- static isField(clause: Clause): boolean;
22468
+ static isTerm(clause: Clause): clause is import ("@elastic/eui/src/components/search_bar/query/ast").TermClause;
22469
+ static isIs(clause: Clause): clause is import ("@elastic/eui/src/components/search_bar/query/ast").IsClause;
22470
+ static isField(clause: Clause): clause is import ("@elastic/eui/src/components/search_bar/query/ast").FieldClause;
22300
22471
  ast: _AST;
22301
22472
  text: string;
22302
22473
  private syntax;
@@ -22484,10 +22655,12 @@ declare module '@elastic/eui/src/components/selectable/selectable_option' {
22484
22655
  * Optional props to pass to the underlying **[EuiToolTip](/#/display/tooltip)**
22485
22656
  */
22486
22657
  toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>;
22487
- }; type _EuiSelectableGroupLabelOption = Omit<EuiSelectableOptionBase, 'isGroupLabel'> & Exclude<HTMLAttributes<HTMLDivElement>, 'id'> & {
22658
+ };
22659
+ type _EuiSelectableGroupLabelOption = Omit<EuiSelectableOptionBase, 'isGroupLabel'> & Exclude<HTMLAttributes<HTMLDivElement>, 'id'> & {
22488
22660
  isGroupLabel: true;
22489
22661
  };
22490
- export type EuiSelectableGroupLabelOption<T> = _EuiSelectableGroupLabelOption & T; type _EuiSelectableLIOption = EuiSelectableOptionBase & Exclude<HTMLAttributes<HTMLLIElement>, 'id'>;
22662
+ export type EuiSelectableGroupLabelOption<T> = _EuiSelectableGroupLabelOption & T;
22663
+ type _EuiSelectableLIOption = EuiSelectableOptionBase & Exclude<HTMLAttributes<HTMLLIElement>, 'id'>;
22491
22664
  export type EuiSelectableLIOption<T> = _EuiSelectableLIOption & T;
22492
22665
  export type EuiSelectableOption<T = {}> = ExclusiveUnion<EuiSelectableGroupLabelOption<T>, EuiSelectableLIOption<T>>;
22493
22666
  export {};
@@ -22495,7 +22668,8 @@ declare module '@elastic/eui/src/components/selectable/selectable_option' {
22495
22668
  }
22496
22669
  declare module '@elastic/eui/src/components/selectable/matching_options' {
22497
22670
  import { EuiSelectableOption } from '@elastic/eui/src/components/selectable/selectable_option';
22498
- import { EuiSelectableOptionMatcher } from '@elastic/eui/src/components/selectable/selectable'; type SelectableOptions<T> = Array<EuiSelectableOption<T>>;
22671
+ import { EuiSelectableOptionMatcher } from '@elastic/eui/src/components/selectable/selectable';
22672
+ type SelectableOptions<T> = Array<EuiSelectableOption<T>>;
22499
22673
  interface GetMatchingOptionsArgs<TOption> {
22500
22674
  /**
22501
22675
  * All available options to match against
@@ -22800,7 +22974,8 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22800
22974
  makeOptionId: (index: number | undefined) => string;
22801
22975
  listId: string;
22802
22976
  setActiveOptionIndex: (index: number, cb?: () => void) => void;
22803
- }; type State<T> = {
22977
+ };
22978
+ type State<T> = {
22804
22979
  defaultOptionWidth: number;
22805
22980
  optionArray: Array<EuiSelectableOption<T>>;
22806
22981
  itemData: Record<number, EuiSelectableOption<T>>;
@@ -22824,7 +22999,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22824
22999
  setListBoxRef: (ref: HTMLUListElement | null) => void;
22825
23000
  shouldComponentUpdate(nextProps: Readonly<EuiSelectableListProps<T>>): boolean;
22826
23001
  componentDidUpdate(prevProps: EuiSelectableListProps<T>): void;
22827
- calculateAriaSetAttrs: (optionArray: State<T>['optionArray']) => {
23002
+ calculateAriaSetAttrs: (optionArray: State<T>["optionArray"]) => {
22828
23003
  ariaPosInSetMap: Record<number, number>;
22829
23004
  ariaSetSize: number;
22830
23005
  };
@@ -22836,15 +23011,15 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22836
23011
  getTruncationProps: (option: EuiSelectableOption, highlightSearch: boolean, isFocused: boolean) => {
22837
23012
  prefix?: string | undefined;
22838
23013
  slot?: string | undefined;
22839
- style?: React.CSSProperties | undefined;
23014
+ style?: CSSProperties | undefined;
22840
23015
  title?: string | undefined;
22841
23016
  css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
22842
- width: number | undefined;
23017
+ width: number;
22843
23018
  color?: string | undefined;
22844
23019
  content?: string | undefined;
22845
23020
  translate?: "yes" | "no" | undefined;
22846
- property?: string | undefined;
22847
23021
  hidden?: boolean | undefined;
23022
+ property?: string | undefined;
22848
23023
  className?: string | undefined;
22849
23024
  defaultChecked?: boolean | undefined;
22850
23025
  defaultValue?: string | number | readonly string[] | undefined;
@@ -22852,14 +23027,14 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22852
23027
  suppressHydrationWarning?: boolean | undefined;
22853
23028
  accessKey?: string | undefined;
22854
23029
  autoFocus?: boolean | undefined;
22855
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
23030
+ contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
22856
23031
  contextMenu?: string | undefined;
22857
23032
  dir?: string | undefined;
22858
- draggable?: (boolean | "true" | "false") | undefined;
23033
+ draggable?: (boolean | "false" | "true") | undefined;
22859
23034
  id?: string | undefined;
22860
23035
  lang?: string | undefined;
22861
23036
  nonce?: string | undefined;
22862
- spellCheck?: (boolean | "true" | "false") | undefined;
23037
+ spellCheck?: (boolean | "false" | "true") | undefined;
22863
23038
  tabIndex?: number | undefined;
22864
23039
  radioGroup?: string | undefined;
22865
23040
  role?: React.AriaRole | undefined;
@@ -22882,55 +23057,55 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22882
23057
  results?: number | undefined;
22883
23058
  security?: string | undefined;
22884
23059
  unselectable?: "on" | "off" | undefined;
22885
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
23060
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
22886
23061
  is?: string | undefined;
22887
23062
  "aria-activedescendant"?: string | undefined;
22888
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
22889
- "aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
23063
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
23064
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
22890
23065
  "aria-braillelabel"?: string | undefined;
22891
23066
  "aria-brailleroledescription"?: string | undefined;
22892
- "aria-busy"?: (boolean | "true" | "false") | undefined;
22893
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
23067
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
23068
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
22894
23069
  "aria-colcount"?: number | undefined;
22895
23070
  "aria-colindex"?: number | undefined;
22896
23071
  "aria-colindextext"?: string | undefined;
22897
23072
  "aria-colspan"?: number | undefined;
22898
23073
  "aria-controls"?: string | undefined;
22899
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
23074
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
22900
23075
  "aria-describedby"?: string | undefined;
22901
23076
  "aria-description"?: string | undefined;
22902
23077
  "aria-details"?: string | undefined;
22903
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
22904
- "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
23078
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
23079
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
22905
23080
  "aria-errormessage"?: string | undefined;
22906
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
23081
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
22907
23082
  "aria-flowto"?: string | undefined;
22908
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
22909
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
22910
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
22911
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
23083
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
23084
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
23085
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
23086
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
22912
23087
  "aria-keyshortcuts"?: string | undefined;
22913
23088
  "aria-label"?: string | undefined;
22914
23089
  "aria-labelledby"?: string | undefined;
22915
23090
  "aria-level"?: number | undefined;
22916
23091
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
22917
- "aria-modal"?: (boolean | "true" | "false") | undefined;
22918
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
22919
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
23092
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
23093
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
23094
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
22920
23095
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
22921
23096
  "aria-owns"?: string | undefined;
22922
23097
  "aria-placeholder"?: string | undefined;
22923
23098
  "aria-posinset"?: number | undefined;
22924
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
22925
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
22926
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
22927
- "aria-required"?: (boolean | "true" | "false") | undefined;
23099
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
23100
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
23101
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
23102
+ "aria-required"?: (boolean | "false" | "true") | undefined;
22928
23103
  "aria-roledescription"?: string | undefined;
22929
23104
  "aria-rowcount"?: number | undefined;
22930
23105
  "aria-rowindex"?: number | undefined;
22931
23106
  "aria-rowindextext"?: string | undefined;
22932
23107
  "aria-rowspan"?: number | undefined;
22933
- "aria-selected"?: (boolean | "true" | "false") | undefined;
23108
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
22934
23109
  "aria-setsize"?: number | undefined;
22935
23110
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
22936
23111
  "aria-valuemax"?: number | undefined;
@@ -23008,7 +23183,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23008
23183
  onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23009
23184
  onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
23010
23185
  onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23011
- onResize?: ((width: number) => void) | undefined;
23186
+ onResize?: (width: number) => void;
23012
23187
  onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23013
23188
  onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
23014
23189
  onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
@@ -23100,15 +23275,15 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23100
23275
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
23101
23276
  onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
23102
23277
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
23103
- 'data-test-subj'?: string | undefined;
23104
- ellipsis?: string | undefined;
23105
- truncation?: "start" | "end" | "middle" | "startEnd" | undefined;
23106
- truncationOffset?: number | undefined;
23107
- truncationPosition?: number | undefined;
23108
- calculationDelayMs?: number | undefined;
23278
+ 'data-test-subj'?: string;
23279
+ ellipsis?: string;
23280
+ truncation?: import ("@elastic/eui/src/components/text_truncate").EuiTextTruncationTypes;
23281
+ truncationOffset?: number;
23282
+ truncationPosition?: number;
23283
+ calculationDelayMs?: number;
23109
23284
  } | undefined;
23110
- renderSearchedText: (text: string, truncationProps?: EuiSelectableOptionsListProps['truncationProps']) => React.JSX.Element;
23111
- renderTruncatedText: (text: string, truncationProps?: EuiSelectableOptionsListProps['truncationProps']) => React.JSX.Element;
23285
+ renderSearchedText: (text: string, truncationProps?: EuiSelectableOptionsListProps["truncationProps"]) => React.JSX.Element;
23286
+ renderTruncatedText: (text: string, truncationProps?: EuiSelectableOptionsListProps["truncationProps"]) => React.JSX.Element;
23112
23287
  render(): React.JSX.Element;
23113
23288
  onAddOrRemoveOption: (option: EuiSelectableOption<T>, event: EuiSelectableOnChangeEvent) => void;
23114
23289
  private onAddOption;
@@ -23142,7 +23317,10 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
23142
23317
  import { EuiSelectableList } from '@elastic/eui/src/components/selectable/selectable_list';
23143
23318
  import { EuiSelectableOptionsListProps } from '@elastic/eui/src/components/selectable/selectable_list/selectable_list';
23144
23319
  import { EuiSelectableOption } from '@elastic/eui/src/components/selectable/selectable_option';
23145
- export type EuiSelectableOnChangeEvent = KeyboardEvent | MouseEvent; type RequiredEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof (typeof EuiSelectableList)['defaultProps']>; type OptionalEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof RequiredEuiSelectableOptionsListProps>; type EuiSelectableOptionsListPropsWithDefaults = RequiredEuiSelectableOptionsListProps & Partial<OptionalEuiSelectableOptionsListProps>;
23320
+ export type EuiSelectableOnChangeEvent = KeyboardEvent | MouseEvent;
23321
+ type RequiredEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof (typeof EuiSelectableList)['defaultProps']>;
23322
+ type OptionalEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof RequiredEuiSelectableOptionsListProps>;
23323
+ type EuiSelectableOptionsListPropsWithDefaults = RequiredEuiSelectableOptionsListProps & Partial<OptionalEuiSelectableOptionsListProps>;
23146
23324
  export interface EuiSelectableOptionMatcherArgs<TOption> {
23147
23325
  option: EuiSelectableOption<TOption>;
23148
23326
  searchValue: string;
@@ -23293,14 +23471,14 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
23293
23471
  componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
23294
23472
  isFocusOnSearchOrListBox: (target: EventTarget | null) => boolean | undefined;
23295
23473
  onMouseDown: () => void;
23296
- onFocus: (event?: React.FocusEvent<Element, Element> | undefined) => void;
23474
+ onFocus: (event?: FocusEvent) => void;
23297
23475
  onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
23298
23476
  incrementActiveOptionIndex: (amount: number) => void;
23299
23477
  onSearchChange: (searchValue: string, visibleOptions: Array<EuiSelectableOption<T>>) => void;
23300
23478
  onContainerBlur: (e: React.FocusEvent) => void;
23301
23479
  onOptionClick: (options: Array<EuiSelectableOption<T>>, event: EuiSelectableOnChangeEvent, clickedOption: EuiSelectableOption<T>) => void;
23302
- scrollToItem: (index: number, align?: Align | undefined) => void;
23303
- makeOptionId: (index?: number | undefined) => string;
23480
+ scrollToItem: (index: number, align?: Align) => void;
23481
+ makeOptionId: (index?: number) => string;
23304
23482
  render(): React.JSX.Element;
23305
23483
  }
23306
23484
  export {};
@@ -23448,7 +23626,10 @@ declare module '@elastic/eui/src/components/search_bar/filters/field_value_selec
23448
23626
  value: Value;
23449
23627
  name?: string;
23450
23628
  view?: ReactNode;
23451
- } type OptionsLoader = () => Promise<FieldValueOptionType[]>; type OptionsFilter = (name: string, query: string, options?: FieldValueOptionType[]) => boolean; type MultiSelect = boolean | 'and' | 'or';
23629
+ }
23630
+ type OptionsLoader = () => Promise<FieldValueOptionType[]>;
23631
+ type OptionsFilter = (name: string, query: string, options?: FieldValueOptionType[]) => boolean;
23632
+ type MultiSelect = boolean | 'and' | 'or';
23452
23633
  export interface FieldValueSelectionFilterConfigType {
23453
23634
  type: 'field_value_selection';
23454
23635
  field?: string;
@@ -23622,7 +23803,8 @@ declare module '@elastic/eui/src/components/search_bar/search_filters' {
23622
23803
  query: Query;
23623
23804
  onChange: (query: Query) => void;
23624
23805
  filters: SearchFilterConfig[];
23625
- } type DefaultProps = Pick<EuiSearchBarFiltersProps, 'filters'>;
23806
+ }
23807
+ type DefaultProps = Pick<EuiSearchBarFiltersProps, 'filters'>;
23626
23808
  export class EuiSearchBarFilters extends Component<EuiSearchBarFiltersProps> {
23627
23809
  static defaultProps: DefaultProps;
23628
23810
  render(): React.JSX.Element;
@@ -23643,7 +23825,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23643
23825
  import { EuiFieldSearchProps } from '@elastic/eui/src/components/form/field_search';
23644
23826
  import { EuiInputPopoverProps } from '@elastic/eui/src/components/popover';
23645
23827
  export { Query, AST as Ast } from '@elastic/eui/src/components/search_bar/query';
23646
- export type QueryType = Query | string; type Tools = ReactElement | ReactElement[];
23828
+ export type QueryType = Query | string;
23829
+ type Tools = ReactElement | ReactElement[];
23647
23830
  interface ArgsWithQuery {
23648
23831
  query: Query;
23649
23832
  queryText: string;
@@ -23660,7 +23843,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23660
23843
  flags?: string[];
23661
23844
  recognizedFields?: string[];
23662
23845
  }
23663
- export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError; type HintPopOverProps = Partial<Pick<EuiInputPopoverProps, 'isOpen' | 'closePopover' | 'fullWidth' | 'disableFocusTrap' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'panelProps' | 'popoverScreenReaderText' | 'repositionOnScroll' | 'zIndex' | 'data-test-subj'>>;
23846
+ export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError;
23847
+ type HintPopOverProps = Partial<Pick<EuiInputPopoverProps, 'isOpen' | 'closePopover' | 'fullWidth' | 'disableFocusTrap' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'panelProps' | 'popoverScreenReaderText' | 'repositionOnScroll' | 'zIndex' | 'data-test-subj'>>;
23664
23848
  export interface EuiSearchBarProps extends CommonProps {
23665
23849
  onChange?: (args: EuiSearchBarOnChangeArgs) => void | boolean;
23666
23850
  /**
@@ -23706,7 +23890,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23706
23890
  queryText: string;
23707
23891
  error: null | Error;
23708
23892
  isHintVisible: boolean;
23709
- } type NotifyControllingParent = Pick<State, 'queryText' | 'error'> & {
23893
+ }
23894
+ type NotifyControllingParent = Pick<State, 'queryText' | 'error'> & {
23710
23895
  query: Query | null;
23711
23896
  };
23712
23897
  export class EuiSearchBar extends Component<EuiSearchBarProps, State> {
@@ -23776,15 +23961,15 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item.styles' {
23776
23961
  root: {
23777
23962
  lineHeight: import("csstype").Property.LineHeight<string | number> | undefined;
23778
23963
  color: string;
23779
- fontSize: import("csstype").Property.FontSize<string | number> | undefined;
23780
- fontWeight: import("csstype").Property.FontWeight | undefined;
23964
+ fontSize: import("react").CSSProperties["fontSize"];
23965
+ fontWeight: import("react").CSSProperties["fontWeight"];
23781
23966
  };
23782
23967
  };
23783
23968
  };
23784
23969
 
23785
23970
  }
23786
23971
  declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23787
- import React, { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler, JSX } from 'react';
23972
+ import { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler, JSX } from 'react';
23788
23973
  import { CommonProps } from '@elastic/eui/src/components/common';
23789
23974
  /**
23790
23975
  * The props that are exposed to, or altered for, the consumer
@@ -23841,7 +24026,9 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23841
24026
  isParent?: boolean;
23842
24027
  depth?: number;
23843
24028
  childrenOnly?: boolean;
23844
- } type ExcludeEuiSideNavItemProps<T> = Pick<T, Exclude<keyof T, keyof _EuiSideNavItemProps | 'renderItem'>>; type OmitEuiSideNavItemProps<T> = {
24029
+ }
24030
+ type ExcludeEuiSideNavItemProps<T> = Pick<T, Exclude<keyof T, keyof _EuiSideNavItemProps | 'renderItem'>>;
24031
+ type OmitEuiSideNavItemProps<T> = {
23845
24032
  [K in keyof ExcludeEuiSideNavItemProps<T>]: T[K];
23846
24033
  };
23847
24034
  export type RenderItem<T> = (props: OmitEuiSideNavItemProps<T> & _EuiSideNavItemButtonProps) => JSX.Element;
@@ -23850,23 +24037,8 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23850
24037
  } ? T & {
23851
24038
  renderItem: RenderItem<T>;
23852
24039
  } : T;
23853
- export const EuiSideNavItem: <T extends CommonProps & {
23854
- /**
23855
- * Is an optional string to be passed as the navigation item's `href` prop,
23856
- * and by default it will force rendering of the item as an `<a>`
23857
- */
23858
- href?: string | undefined;
23859
- target?: string | undefined;
23860
- rel?: string | undefined;
23861
- /**
23862
- * Callback function to be passed as the navigation item's `onClick` prop,
23863
- * and by default it will force rendering of the item as a `<button>` instead of a link
23864
- */
23865
- onClick?: React.MouseEventHandler<HTMLElement | HTMLButtonElement> | undefined;
23866
- children: ReactNode;
23867
- disabled?: boolean | undefined;
23868
- } & _EuiSideNavItemProps & {
23869
- renderItem?: ((props: any) => JSX.Element) | undefined;
24040
+ export const EuiSideNavItem: <T extends _EuiSideNavItemButtonProps & _EuiSideNavItemProps & {
24041
+ renderItem?: (props: any) => JSX.Element;
23870
24042
  }>({ isOpen, isSelected, isParent, icon, onClick, href: _href, rel, target, items, children, renderItem: RenderItem, depth, className, css, style, truncate, emphasize, buttonClassName, childrenOnly, ...rest }: EuiSideNavItemProps<T>) => JSX.Element;
23871
24043
  export {};
23872
24044
 
@@ -24009,7 +24181,8 @@ declare module '@elastic/eui/src/components/stat/stat' {
24009
24181
  import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
24010
24182
  import { CommonProps } from '@elastic/eui/src/components/common';
24011
24183
  import { EuiTitleSize } from '@elastic/eui/src/components/title/title';
24012
- export const COLORS: readonly ["default", "subdued", "primary", "success", "warning", "danger", "accent"]; type TitleColor = (typeof COLORS)[number];
24184
+ export const COLORS: readonly ["default", "subdued", "primary", "success", "warning", "danger", "accent"];
24185
+ type TitleColor = (typeof COLORS)[number];
24013
24186
  export const ALIGNMENTS: readonly ["left", "center", "right"];
24014
24187
  export interface EuiStatProps {
24015
24188
  /**
@@ -24056,7 +24229,7 @@ declare module '@elastic/eui/src/components/stat' {
24056
24229
 
24057
24230
  }
24058
24231
  declare module '@elastic/eui/src/components/steps/step_strings' {
24059
- type Props = {
24232
+ type Props = {
24060
24233
  number?: number;
24061
24234
  title?: string;
24062
24235
  };
@@ -24073,7 +24246,7 @@ declare module '@elastic/eui/src/components/steps/step_strings' {
24073
24246
  }
24074
24247
  declare module '@elastic/eui/src/components/steps/step.styles' {
24075
24248
  import { UseEuiTheme } from '@elastic/eui/src/services';
24076
- export const euiStepVariables: (euiTheme: UseEuiTheme['euiTheme']) => {
24249
+ export const euiStepVariables: (euiTheme: UseEuiTheme["euiTheme"]) => {
24077
24250
  numberSize: string;
24078
24251
  numberXSSize: string;
24079
24252
  numberXXSSize: string;
@@ -24326,7 +24499,8 @@ declare module '@elastic/eui/src/components/tour/_tour_header.styles' {
24326
24499
  }
24327
24500
  declare module '@elastic/eui/src/components/tour/_tour_header' {
24328
24501
  import { FunctionComponent } from 'react';
24329
- import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourHeaderProps = {
24502
+ import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
24503
+ type EuiTourHeaderProps = {
24330
24504
  id: string;
24331
24505
  } & Pick<EuiTourStepProps, 'title' | 'subtitle'>;
24332
24506
  export const EuiTourHeader: FunctionComponent<EuiTourHeaderProps>;
@@ -24354,7 +24528,8 @@ declare module '@elastic/eui/src/components/tour/_tour_footer.styles' {
24354
24528
  }
24355
24529
  declare module '@elastic/eui/src/components/tour/_tour_footer' {
24356
24530
  import { FunctionComponent } from 'react';
24357
- import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourFooterProps = Pick<EuiTourStepProps, 'footerAction' | 'step' | 'stepsTotal' | 'onFinish'>;
24531
+ import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
24532
+ type EuiTourFooterProps = Pick<EuiTourStepProps, 'footerAction' | 'step' | 'stepsTotal' | 'onFinish'>;
24358
24533
  export const EuiTourFooter: FunctionComponent<EuiTourFooterProps>;
24359
24534
  export {};
24360
24535
 
@@ -24378,7 +24553,11 @@ declare module '@elastic/eui/src/components/tour/tour_step' {
24378
24553
  import { CSSProperties, HTMLAttributes, FunctionComponent, ReactElement, ReactNode } from 'react';
24379
24554
  import { ElementTarget } from '@elastic/eui/src/services';
24380
24555
  import { CommonProps, ExclusiveUnion, NoArgCallback } from '@elastic/eui/src/components/common';
24381
- import { EuiPopoverProps } from '@elastic/eui/src/components/popover'; type _EuiPopoverProps = EuiPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'content' | 'title' | 'step'>; type _PopoverOverrides = 'button' | 'closePopover'; type _PopoverPartials = 'closePopover'; type ExtendedEuiPopoverProps = Omit<_EuiPopoverProps, _PopoverOverrides> & Partial<Pick<EuiPopoverProps, _PopoverPartials>>;
24556
+ import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
24557
+ type _EuiPopoverProps = EuiPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'content' | 'title' | 'step'>;
24558
+ type _PopoverOverrides = 'button' | 'closePopover';
24559
+ type _PopoverPartials = 'closePopover';
24560
+ type ExtendedEuiPopoverProps = Omit<_EuiPopoverProps, _PopoverOverrides> & Partial<Pick<EuiPopoverProps, _PopoverPartials>>;
24382
24561
  export type EuiTourStepAnchorProps = ExclusiveUnion<{
24383
24562
  /**
24384
24563
  * Element to which the tour step popover attaches when open
@@ -24612,7 +24791,9 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
24612
24791
  index: number;
24613
24792
  size: number;
24614
24793
  };
24615
- } type CellPropsCallback<T extends object> = (item: T, column: EuiBasicTableColumn<T>) => object; type RowPropsCallback<T> = (item: T) => object;
24794
+ }
24795
+ type CellPropsCallback<T extends object> = (item: T, column: EuiBasicTableColumn<T>) => object;
24796
+ type RowPropsCallback<T> = (item: T) => object;
24616
24797
  interface BasicTableProps<T extends object> extends Omit<EuiTableProps, 'onChange'> {
24617
24798
  /**
24618
24799
  * Describes how to extract a unique ID from each item, used for selections & expanded rows
@@ -24678,7 +24859,8 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
24678
24859
  * Sets the table-layout CSS property. Note that auto tableLayout prevents truncateText from working properly.
24679
24860
  */
24680
24861
  tableLayout?: 'fixed' | 'auto';
24681
- } type BasicTableWithPaginationProps<T extends object> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
24862
+ }
24863
+ type BasicTableWithPaginationProps<T extends object> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
24682
24864
  pagination: Pagination;
24683
24865
  onChange?: (criteria: CriteriaWithPagination<T>) => void;
24684
24866
  };
@@ -24758,10 +24940,13 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
24758
24940
  initialPageSize?: number;
24759
24941
  pageIndex?: number;
24760
24942
  pageSize?: number;
24761
- } type Pagination = boolean | PaginationOptions;
24943
+ }
24944
+ type Pagination = boolean | PaginationOptions;
24762
24945
  interface SortingOptions {
24763
24946
  sort: PropertySort;
24764
- } type Sorting = boolean | SortingOptions; type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
24947
+ }
24948
+ type Sorting = boolean | SortingOptions;
24949
+ type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
24765
24950
  message?: ReactNode;
24766
24951
  /**
24767
24952
  * Configures #Search.
@@ -24815,7 +25000,8 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
24815
25000
  * Insert content between the search bar and table components.
24816
25001
  */
24817
25002
  childrenBetween?: ReactNode;
24818
- }; type InMemoryTablePropsWithPagination<T extends object> = Omit<InMemoryTableProps<T>, 'pagination' | 'onTableChange'> & {
25003
+ };
25004
+ type InMemoryTablePropsWithPagination<T extends object> = Omit<InMemoryTableProps<T>, 'pagination' | 'onTableChange'> & {
24819
25005
  pagination: Pagination;
24820
25006
  onTableChange?: (nextValues: CriteriaWithPagination<T>) => void;
24821
25007
  };
@@ -24944,7 +25130,8 @@ declare module '@elastic/eui/src/components/toast/toast' {
24944
25130
  import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
24945
25131
  import { CommonProps } from '@elastic/eui/src/components/common';
24946
25132
  import { IconType } from '@elastic/eui/src/components/icon';
24947
- export const COLORS: readonly ["primary", "success", "warning", "danger"]; type ToastColor = (typeof COLORS)[number];
25133
+ export const COLORS: readonly ["primary", "success", "warning", "danger"];
25134
+ type ToastColor = (typeof COLORS)[number];
24948
25135
  export interface EuiToastProps extends CommonProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
24949
25136
  title?: ReactNode;
24950
25137
  color?: ToastColor;
@@ -25007,7 +25194,8 @@ declare module '@elastic/eui/src/components/toast/global_toast_list_item' {
25007
25194
  declare module '@elastic/eui/src/components/toast/global_toast_list' {
25008
25195
  import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
25009
25196
  import { CommonProps } from '@elastic/eui/src/components/common';
25010
- import { EuiToastProps } from '@elastic/eui/src/components/toast/toast'; type ToastSide = 'right' | 'left';
25197
+ import { EuiToastProps } from '@elastic/eui/src/components/toast/toast';
25198
+ type ToastSide = 'right' | 'left';
25011
25199
  export const SIDES: ToastSide[];
25012
25200
  export const TOAST_FADE_OUT_MS = 250;
25013
25201
  export const CLEAR_ALL_TOASTS_THRESHOLD_DEFAULT = 3;
@@ -25160,7 +25348,8 @@ declare module '@elastic/eui/.storybook/utils' {
25160
25348
  /**
25161
25349
  * argTypes configurations
25162
25350
  */
25163
- import type { Meta, Preview, StoryObj } from '@storybook/react'; type StorybookConfig<T> = Meta<T> | StoryObj<T> | Preview;
25351
+ import type { Meta, Preview, StoryObj } from '@storybook/react';
25352
+ type StorybookConfig<T> = Meta<T> | StoryObj<T> | Preview;
25164
25353
  /**
25165
25354
  * Completely hide props from Storybook's controls panel.
25166
25355
  *
@@ -25170,7 +25359,7 @@ declare module '@elastic/eui/.storybook/utils' {
25170
25359
  *
25171
25360
  * @returns the mutated config
25172
25361
  */
25173
- export const hideStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25362
+ export const hideStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25174
25363
  /**
25175
25364
  * Leave props visible in Storybook's controls panel, but disable them
25176
25365
  * from being controllable (renders a `-`).
@@ -25181,7 +25370,7 @@ declare module '@elastic/eui/.storybook/utils' {
25181
25370
  *
25182
25371
  * @returns the mutated config
25183
25372
  */
25184
- export const disableStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25373
+ export const disableStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25185
25374
  /**
25186
25375
  * Configure provided args to be listed under a specified
25187
25376
  * category in the props table.
@@ -25192,7 +25381,7 @@ declare module '@elastic/eui/.storybook/utils' {
25192
25381
  *
25193
25382
  * @returns the mutated config
25194
25383
  */
25195
- export const moveStorybookControlsToCategory: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[], category?: string) => StorybookConfig<Props>;
25384
+ export const moveStorybookControlsToCategory: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>, category?: string) => StorybookConfig<Props>;
25196
25385
  /**
25197
25386
  * Configures passed argTypes to be setup as toggle control
25198
25387
  * which fires a Storybook action when enabled.
@@ -25204,7 +25393,7 @@ declare module '@elastic/eui/.storybook/utils' {
25204
25393
  *
25205
25394
  * @returns the mutated config
25206
25395
  */
25207
- export const enableFunctionToggleControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25396
+ export const enableFunctionToggleControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25208
25397
  /**
25209
25398
  * parameters configurations
25210
25399
  */
@@ -25272,54 +25461,54 @@ declare module '@elastic/eui/.storybook/test' {
25272
25461
  waitForAndClick: (testSubject: string) => Promise<void>;
25273
25462
  waitForEuiPopoverVisible: () => Promise<void>;
25274
25463
  waitForEuiPopoverHidden: () => Promise<void>;
25275
- getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25276
- getAllByLabelText: (<T_1 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_1[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25277
- queryByLabelText: (<T_2 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_2 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25278
- queryAllByLabelText: (<T_3 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_3[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25279
- findByLabelText: (<T_4 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_4>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25280
- findAllByLabelText: (<T_5 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_5[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25281
- getByPlaceholderText: (<T_6 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_6) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25282
- getAllByPlaceholderText: (<T_7 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_7[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25283
- queryByPlaceholderText: (<T_8 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_8 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25284
- queryAllByPlaceholderText: (<T_9 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_9[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25285
- findByPlaceholderText: (<T_10 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_10>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25286
- findAllByPlaceholderText: (<T_11 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_11[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25287
- getByText: (<T_12 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_12) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25288
- getAllByText: (<T_13 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_13[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25289
- queryByText: (<T_14 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_14 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25290
- queryAllByText: (<T_15 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_15[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25291
- findByText: (<T_16 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_16>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25292
- findAllByText: (<T_17 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_17[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25293
- getByAltText: (<T_18 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_18) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25294
- getAllByAltText: (<T_19 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_19[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25295
- queryByAltText: (<T_20 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_20 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25296
- queryAllByAltText: (<T_21 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_21[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25297
- findByAltText: (<T_22 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_22>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25298
- findAllByAltText: (<T_23 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_23[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25299
- getByTitle: (<T_24 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_24) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25300
- getAllByTitle: (<T_25 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_25[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25301
- queryByTitle: (<T_26 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_26 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25302
- queryAllByTitle: (<T_27 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_27[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25303
- findByTitle: (<T_28 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_28>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25304
- findAllByTitle: (<T_29 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_29[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25305
- getByDisplayValue: (<T_30 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_30) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25306
- getAllByDisplayValue: (<T_31 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_31[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25307
- queryByDisplayValue: (<T_32 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_32 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25308
- queryAllByDisplayValue: (<T_33 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_33[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25309
- findByDisplayValue: (<T_34 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_34>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25310
- findAllByDisplayValue: (<T_35 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_35[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25311
- getByRole: (<T_36 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_36) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement);
25312
- getAllByRole: (<T_37 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_37[]) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25313
- queryByRole: (<T_38 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_38 | null) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement | null);
25314
- queryAllByRole: (<T_39 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_39[]) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25315
- findByRole: (<T_40 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_40>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25316
- findAllByRole: (<T_41 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_41[]>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25317
- getByTestId: (<T_42 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_42) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25318
- getAllByTestId: (<T_43 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_43[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25319
- queryByTestId: (<T_44 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_44 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25320
- queryAllByTestId: (<T_45 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_45[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25321
- findByTestId: (<T_46 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_46>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25322
- findAllByTestId: (<T_47 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_47[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25464
+ getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25465
+ getAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25466
+ queryByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25467
+ queryAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25468
+ findByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25469
+ findAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25470
+ getByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25471
+ getAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25472
+ queryByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25473
+ queryAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25474
+ findByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25475
+ findAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25476
+ getByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25477
+ getAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25478
+ queryByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25479
+ queryAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25480
+ findByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25481
+ findAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25482
+ getByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25483
+ getAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25484
+ queryByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25485
+ queryAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25486
+ findByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25487
+ findAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25488
+ getByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25489
+ getAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25490
+ queryByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25491
+ queryAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25492
+ findByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25493
+ findAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25494
+ getByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25495
+ getAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25496
+ queryByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25497
+ queryAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25498
+ findByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25499
+ findAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25500
+ getByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").GetByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement);
25501
+ getAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").AllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25502
+ queryByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement | null);
25503
+ queryAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").AllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25504
+ findByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25505
+ findAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25506
+ getByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25507
+ getAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25508
+ queryByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25509
+ queryAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25510
+ findByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25511
+ findAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25323
25512
  queryByTestSubject: (args_0: import("@testing-library/react").Matcher) => HTMLElement | null;
25324
25513
  queryAllByTestSubject: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
25325
25514
  getByTestSubject: (args_0: import("@testing-library/react").Matcher) => HTMLElement;
@@ -31146,7 +31335,7 @@ declare module '@elastic/eui/.storybook/addons/code-snippet/constants' {
31146
31335
  * Addon specific constants
31147
31336
  */
31148
31337
  export const ADDON_ID = "storybook/code-snippet";
31149
- export const PANEL_ID: string;
31338
+ export const PANEL_ID = "storybook/code-snippet/panel";
31150
31339
  export const EVENTS: {
31151
31340
  SNIPPET_RENDERED: string;
31152
31341
  SNIPPET_PANEL_OPENED: string;