@elastic/eui 102.0.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 (151) 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/provider/provider.js +2 -2
  34. package/es/components/table/table_header_cell.js +30 -12
  35. package/es/components/tool_tip/tool_tip.js +4 -1
  36. package/es/global_styling/mixins/_button.js +13 -3
  37. package/es/global_styling/mixins/_color.js +9 -2
  38. package/es/services/color/vis_color_store.js +1 -1
  39. package/es/services/theme/context.js +2 -2
  40. package/es/test/index.d.ts +2 -1
  41. package/eui.d.ts +1225 -1036
  42. package/lib/components/accessibility/skip_link/skip_link.js +7 -0
  43. package/lib/components/button/button.js +7 -0
  44. package/lib/components/button/button_empty/button_empty.js +7 -0
  45. package/lib/components/button/button_group/button_group.js +5 -0
  46. package/lib/components/button/button_icon/button_icon.js +7 -0
  47. package/lib/components/card/card.js +7 -0
  48. package/lib/components/card/card_select/card_select.js +7 -0
  49. package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +7 -0
  50. package/lib/components/color_picker/color_picker.js +13 -8
  51. package/lib/components/color_picker/hue.js +26 -5
  52. package/lib/components/color_picker/hue.styles.js +3 -2
  53. package/lib/components/color_picker/saturation.js +16 -11
  54. package/lib/components/color_picker/saturation.styles.js +2 -1
  55. package/lib/components/datagrid/body/cell/data_grid_cell.js +7 -0
  56. package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  57. package/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  58. package/lib/components/datagrid/body/data_grid_body.js +7 -0
  59. package/lib/components/datagrid/body/data_grid_body_custom.js +7 -0
  60. package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -0
  61. package/lib/components/datagrid/body/header/data_grid_header_cell.js +7 -0
  62. package/lib/components/datagrid/controls/column_sorting.js +7 -0
  63. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +7 -0
  64. package/lib/components/datagrid/utils/in_memory.js +7 -0
  65. package/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -0
  66. package/lib/components/filter_group/filter_button.js +10 -1
  67. package/lib/components/header/header_links/header_link.js +7 -0
  68. package/lib/components/header/header_section/header_section_item_button.js +7 -0
  69. package/lib/components/list_group/list_group.js +7 -0
  70. package/lib/components/list_group/list_group_item.js +7 -0
  71. package/lib/components/list_group/list_group_item_extra_action.js +7 -0
  72. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +7 -0
  73. package/lib/components/pagination/pagination_button.js +7 -0
  74. package/lib/components/provider/provider.js +2 -2
  75. package/lib/components/table/table_header_cell.js +28 -10
  76. package/lib/components/tool_tip/tool_tip.js +4 -1
  77. package/lib/global_styling/mixins/_button.js +13 -4
  78. package/lib/global_styling/mixins/_color.js +11 -4
  79. package/lib/services/color/vis_color_store.js +2 -2
  80. package/lib/services/theme/context.js +2 -2
  81. package/lib/test/index.d.ts +2 -1
  82. package/optimize/es/components/color_picker/color_picker.js +13 -8
  83. package/optimize/es/components/color_picker/hue.js +22 -6
  84. package/optimize/es/components/color_picker/hue.styles.js +3 -2
  85. package/optimize/es/components/color_picker/saturation.js +16 -11
  86. package/optimize/es/components/color_picker/saturation.styles.js +2 -1
  87. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  88. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  89. package/optimize/es/components/provider/provider.js +2 -2
  90. package/optimize/es/components/table/table_header_cell.js +26 -11
  91. package/optimize/es/components/tool_tip/tool_tip.js +4 -1
  92. package/optimize/es/global_styling/mixins/_button.js +8 -3
  93. package/optimize/es/global_styling/mixins/_color.js +4 -2
  94. package/optimize/es/services/color/vis_color_store.js +1 -1
  95. package/optimize/es/services/theme/context.js +2 -2
  96. package/optimize/es/test/index.d.ts +2 -1
  97. package/optimize/lib/components/color_picker/color_picker.js +13 -8
  98. package/optimize/lib/components/color_picker/hue.js +21 -5
  99. package/optimize/lib/components/color_picker/hue.styles.js +3 -2
  100. package/optimize/lib/components/color_picker/saturation.js +16 -11
  101. package/optimize/lib/components/color_picker/saturation.styles.js +2 -1
  102. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  103. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  104. package/optimize/lib/components/provider/provider.js +2 -2
  105. package/optimize/lib/components/table/table_header_cell.js +25 -11
  106. package/optimize/lib/components/tool_tip/tool_tip.js +4 -1
  107. package/optimize/lib/global_styling/mixins/_button.js +8 -4
  108. package/optimize/lib/global_styling/mixins/_color.js +4 -2
  109. package/optimize/lib/services/color/vis_color_store.js +2 -2
  110. package/optimize/lib/services/theme/context.js +2 -2
  111. package/optimize/lib/test/index.d.ts +2 -1
  112. package/package.json +2 -2
  113. package/test-env/components/accessibility/skip_link/skip_link.js +7 -0
  114. package/test-env/components/button/button.js +7 -0
  115. package/test-env/components/button/button_empty/button_empty.js +7 -0
  116. package/test-env/components/button/button_group/button_group.js +5 -0
  117. package/test-env/components/button/button_icon/button_icon.js +7 -0
  118. package/test-env/components/card/card.js +7 -0
  119. package/test-env/components/card/card_select/card_select.js +7 -0
  120. package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +7 -0
  121. package/test-env/components/color_picker/color_picker.js +13 -8
  122. package/test-env/components/color_picker/hue.js +21 -5
  123. package/test-env/components/color_picker/hue.styles.js +3 -2
  124. package/test-env/components/color_picker/saturation.js +16 -11
  125. package/test-env/components/color_picker/saturation.styles.js +2 -1
  126. package/test-env/components/datagrid/body/cell/data_grid_cell.js +7 -0
  127. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +2 -2
  128. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.styles.js +1 -1
  129. package/test-env/components/datagrid/body/data_grid_body.js +7 -0
  130. package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -0
  131. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -0
  132. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +7 -0
  133. package/test-env/components/datagrid/controls/column_sorting.js +7 -0
  134. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +7 -0
  135. package/test-env/components/datagrid/utils/in_memory.js +7 -0
  136. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +7 -0
  137. package/test-env/components/filter_group/filter_button.js +10 -1
  138. package/test-env/components/header/header_links/header_link.js +7 -0
  139. package/test-env/components/header/header_section/header_section_item_button.js +7 -0
  140. package/test-env/components/list_group/list_group.js +7 -0
  141. package/test-env/components/list_group/list_group_item.js +7 -0
  142. package/test-env/components/list_group/list_group_item_extra_action.js +7 -0
  143. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +7 -0
  144. package/test-env/components/pagination/pagination_button.js +7 -0
  145. package/test-env/components/provider/provider.js +2 -2
  146. package/test-env/components/table/table_header_cell.js +26 -12
  147. package/test-env/components/tool_tip/tool_tip.js +4 -1
  148. package/test-env/global_styling/mixins/_button.js +8 -4
  149. package/test-env/global_styling/mixins/_color.js +4 -2
  150. package/test-env/services/color/vis_color_store.js +2 -2
  151. package/test-env/services/theme/context.js +2 -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>;
@@ -167,117 +171,13 @@ declare module '@elastic/eui/src/components/common' {
167
171
  onClick?: MouseEventHandler<HTMLButtonElement>;
168
172
  } & ButtonHTMLAttributes<HTMLButtonElement> & P;
169
173
 
170
- }
171
- declare module '@elastic/eui/src/services/theme/types' {
172
- export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
173
-
174
174
  }
175
175
  declare module '@elastic/eui/src/services/theme/utils' {
176
176
  export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
177
177
 
178
178
  }
179
- declare module '@elastic/eui/src/services/theme/context' {
180
- import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
181
- export const DEFAULTS: {
182
- system: {
183
- model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
184
- root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
185
- key: string;
186
- };
187
- modifications: {};
188
- colorMode: "LIGHT";
189
- highContrastMode: false;
190
- };
191
- export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
192
- export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
193
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
194
- }>>;
195
- export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
196
- export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
197
- export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
198
- export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
199
- export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
200
-
201
- }
202
- declare module '@elastic/eui/src/services/theme/warning' {
203
- type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
204
- export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
205
- export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
206
- export const emitEuiProviderWarning: (providerMessage: string) => void;
207
- export {};
208
-
209
- }
210
- declare module '@elastic/eui/src/services/theme/hooks' {
211
- import React from 'react';
212
- import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
213
- /**
214
- * Hook for function components
215
- */
216
- export interface UseEuiTheme<T extends {} = {}> {
217
- euiTheme: EuiThemeComputed<T>;
218
- colorMode: EuiThemeColorModeStandard;
219
- highContrastMode: EuiThemeHighContrastMode;
220
- modifications: EuiThemeModifications<T>;
221
- }
222
- export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
223
- /**
224
- * HOC for class components
225
- */
226
- export interface WithEuiThemeProps<P extends {} = {}> {
227
- theme: UseEuiTheme<P>;
228
- }
229
- export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
230
- /**
231
- * Render prop alternative for complex class components
232
- * Most useful for scenarios where a HOC may interfere with typing
233
- */
234
- export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
235
- children: (theme: UseEuiTheme) => React.ReactElement;
236
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
237
- /**
238
- * Minor syntactical sugar hook for theme CSS variables.
239
- * Primarily meant for internal EUI usage.
240
- */
241
- export const useEuiThemeCSSVariables: () => {
242
- setGlobalCSSVariables: Function;
243
- globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
244
- setNearestThemeCSSVariables: Function;
245
- themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
246
- };
247
-
248
- }
249
- declare module '@elastic/eui/src/services/throttle' {
250
- export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
251
-
252
- }
253
- declare module '@elastic/eui/src/services/breakpoint/_sorting' {
254
- import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
255
- export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
256
- export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
257
-
258
- }
259
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
260
- import React, { FunctionComponent, PropsWithChildren } from 'react';
261
- import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
262
- export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
263
- /**
264
- * Returns the current breakpoint based on window width.
265
- * Typically only called by the top-level `EuiProvider` (to reduce the number
266
- * of window resize listeners on the page). Also conditionally called if a
267
- * nested `EuiThemeProvider` defines a `modify.breakpoint` override
268
- */
269
- export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
270
- export {};
271
-
272
- }
273
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
274
- /**
275
- * Hook util / syntactical sugar for useContext()
276
- *
277
- * This hook is in its own separate file to make mocking it
278
- * as a testenv easy for Jest unit tests
279
- */
280
- export const useCurrentEuiBreakpoint: () => string | undefined;
179
+ declare module '@elastic/eui/src/services/theme/types' {
180
+ export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
281
181
 
282
182
  }
283
183
  declare module '@elastic/eui/src/services/emotion/clone_element' {
@@ -287,7 +187,7 @@ declare module '@elastic/eui/src/services/emotion/clone_element' {
287
187
  * `css` prop - as a result, we need to use `jsx()` to manually clone the element
288
188
  * See https://github.com/emotion-js/emotion/issues/1404
289
189
  */
290
- 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;
291
191
 
292
192
  }
293
193
  declare module '@elastic/eui/src/services/emotion/prefixer' {
@@ -316,9 +216,9 @@ declare module '@elastic/eui/src/services/emotion/css' {
316
216
  * and is not yet intended to be a public export
317
217
  */
318
218
  export const css: {
319
- (template: TemplateStringsArray, ...args: import("@emotion/serialize").CSSInterpolation[]): string;
320
- (...args: import("@emotion/serialize").CSSInterpolation[]): string;
321
- }, 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;
322
222
 
323
223
  }
324
224
  declare module '@elastic/eui/src/services/theme/emotion' {
@@ -344,7 +244,8 @@ declare module '@elastic/eui/src/services/hooks/useDependentState' {
344
244
 
345
245
  }
346
246
  declare module '@elastic/eui/src/services/hooks/useCombinedRefs' {
347
- 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>;
348
249
  export const useCombinedRefs: <T>(refs: Refs<T>) => (node: T) => void;
349
250
  /**
350
251
  * Non-hook util for setting multiple refs/ref types.
@@ -373,7 +274,11 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
373
274
  * has no control over and may not be correctly memoized (i.e., will create a new
374
275
  * reference on every rerender unless passed through this hook).
375
276
  */
376
- 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;
278
+
279
+ }
280
+ declare module '@elastic/eui/src/services/throttle' {
281
+ export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
377
282
 
378
283
  }
379
284
  declare module '@elastic/eui/src/services/hooks/useMouseMove' {
@@ -397,10 +302,21 @@ declare module '@elastic/eui/src/services/hooks' {
397
302
  export * from '@elastic/eui/src/services/hooks/useMouseMove';
398
303
  export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
399
304
 
305
+ }
306
+ declare module '@elastic/eui/src/services/theme/warning' {
307
+ type LEVELS = 'log' | 'warn' | 'error';
308
+ type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
309
+ export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
310
+ export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
311
+ export const emitEuiProviderWarning: (providerMessage: string) => void;
312
+ export {};
313
+
400
314
  }
401
315
  declare module '@elastic/eui/src/services/theme/style_memoization' {
402
316
  import React, { FunctionComponent, PropsWithChildren } from 'react';
403
- 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>;
404
320
  export const EuiThemeMemoizedStylesContext: React.Context<MemoizedStylesMap>;
405
321
  export const EuiThemeMemoizedStylesProvider: FunctionComponent<PropsWithChildren>;
406
322
  /**
@@ -434,7 +350,7 @@ declare module '@elastic/eui/src/services/theme/high_contrast_overrides' {
434
350
  system: EuiThemeSystem;
435
351
  modifications: EuiThemeModifications;
436
352
  }) => import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
437
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
353
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
438
354
  }> | {
439
355
  colors: {
440
356
  LIGHT: {
@@ -591,6 +507,11 @@ declare module '@elastic/eui/src/services/color/color_palette' {
591
507
  */
592
508
  categorical?: boolean): string[];
593
509
 
510
+ }
511
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
512
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
513
+ export const colorVis: _EuiThemeVisColors;
514
+
594
515
  }
595
516
  declare module '@elastic/eui/src/services/color/vis_color_store' {
596
517
  import { _EuiVisColorStore } from '@elastic/eui-theme-common';
@@ -713,8 +634,8 @@ declare module '@elastic/eui/src/services/color/visualization_colors' {
713
634
  }
714
635
  declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
715
636
  import { EuiPalette, EuiPaletteColorBlindProps } from '@elastic/eui/src/services/color/eui_palettes';
716
- export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
717
- export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
637
+ export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps) => EuiPalette;
638
+ export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps) => EuiPalette;
718
639
  export const useEuiPaletteForStatus: (steps: number) => EuiPalette;
719
640
  export const useEuiPaletteForTemperature: (steps: number) => EuiPalette;
720
641
  export const useEuiPaletteComplementary: (steps: number) => EuiPalette;
@@ -724,11 +645,99 @@ declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
724
645
  export const useEuiPaletteWarm: (steps: number) => EuiPalette;
725
646
  export const useEuiPaletteGray: (steps: number) => EuiPalette;
726
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
+
727
736
  }
728
737
  declare module '@elastic/eui/src/global_styling/mixins/_color' {
729
738
  import { SerializedStyles } from '@emotion/react';
730
739
  import { UseEuiTheme } from '@elastic/eui/src/services';
731
- 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"];
732
741
  export type _EuiBackgroundColor = (typeof BACKGROUND_COLORS)[number];
733
742
  export interface _EuiBackgroundColorOptions {
734
743
  /**
@@ -811,7 +820,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
811
820
  horizontal: string;
812
821
  vertical: string;
813
822
  };
814
- export const LOGICAL_SIDES: ("left" | "right" | "top" | "bottom" | "horizontal" | "vertical")[];
823
+ export const LOGICAL_SIDES: ("left" | "right" | "bottom" | "top" | "horizontal" | "vertical")[];
815
824
  export type LogicalSides = (typeof LOGICAL_SIDES)[number];
816
825
  export const logicals: {
817
826
  height: string;
@@ -870,7 +879,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
870
879
  "border-bottom-right-radius": string;
871
880
  _shorthands: string[];
872
881
  };
873
- 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")[];
874
883
  export type LogicalProperties = (typeof LOGICAL_PROPERTIES)[number];
875
884
  /**
876
885
  *
@@ -1031,7 +1040,7 @@ declare module '@elastic/eui/src/global_styling/functions/typography' {
1031
1040
  * this mixin will ensure that the sizing is dependent on the boldest
1032
1041
  * weight so it doesn't shift sibling content.
1033
1042
  */
1034
- 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;
1035
1044
 
1036
1045
  }
1037
1046
  declare module '@elastic/eui/src/global_styling/functions' {
@@ -1068,7 +1077,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1068
1077
  corner?: CSSProperties['borderWidth'];
1069
1078
  }
1070
1079
  export const euiScrollBarStyles: ({ euiTheme: { colors, size } }: UseEuiTheme, { thumbColor: _thumbColor, trackColor, width, size: _size, corner: _corner, }?: EuiScrollBarStyles) => string;
1071
- export const useEuiScrollBar: (options?: EuiScrollBarStyles | undefined) => string;
1080
+ export const useEuiScrollBar: (options?: EuiScrollBarStyles) => string;
1072
1081
  /**
1073
1082
  * 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
1074
1083
  * Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
@@ -1093,7 +1102,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1093
1102
  mask?: boolean;
1094
1103
  }
1095
1104
  export const euiOverflowScroll: (euiTheme: UseEuiTheme, { direction, mask }?: EuiScrollOverflowStyles) => string;
1096
- export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles['direction'], mask?: EuiScrollOverflowStyles['mask']) => string;
1105
+ export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles["direction"], mask?: EuiScrollOverflowStyles["mask"]) => string;
1097
1106
  /**
1098
1107
  * For quickly applying a full-height element whether using flex or not
1099
1108
  */
@@ -1104,6 +1113,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1104
1113
  declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1105
1114
  import { SerializedStyles } from '@emotion/react';
1106
1115
  import { UseEuiTheme } from '@elastic/eui/src/services/theme';
1116
+ import { LogicalSides } from '@elastic/eui/src/global_styling/functions';
1107
1117
  export const PADDING_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
1108
1118
  export type EuiPaddingSize = (typeof PADDING_SIZES)[number];
1109
1119
  /**
@@ -1111,7 +1121,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1111
1121
  */
1112
1122
  export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
1113
1123
  export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
1114
- export const useEuiPaddingCSS: (side?: "left" | "right" | "top" | "bottom" | "horizontal" | "vertical" | undefined) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
1124
+ export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
1115
1125
 
1116
1126
  }
1117
1127
  declare module '@elastic/eui/src/global_styling/mixins/_states' {
@@ -1126,11 +1136,11 @@ declare module '@elastic/eui/src/global_styling/mixins/_states' {
1126
1136
  * @param offset Accepts a specific measurement or 'inset', 'outset' or 'center' to adjust outline position
1127
1137
  * @param color Accepts any CSS color
1128
1138
  */
1129
- export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties['outlineColor']) => string;
1139
+ export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties["outlineColor"]) => string;
1130
1140
  export const euiFocusRing: (euiThemeContext: UseEuiTheme, offset?: _EuiFocusRingOffset, options?: {
1131
- color?: CSSProperties['outlineColor'];
1132
- } | undefined) => string;
1133
- 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;
1134
1144
 
1135
1145
  }
1136
1146
  declare module '@elastic/eui/src/global_styling/mixins/_typography' {
@@ -1145,8 +1155,8 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1145
1155
  /**
1146
1156
  * Returns font-size and line-height
1147
1157
  */
1148
- export const euiFontSize: ({ euiTheme }: UseEuiTheme, scale: _EuiThemeFontScale, options?: _FontScaleOptions | undefined) => EuiThemeFontSize;
1149
- 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;
1150
1160
  /**
1151
1161
  * Force text to wrap on natural word breaks (e.g. spaces & hyphens)
1152
1162
  * https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
@@ -1155,12 +1165,18 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1155
1165
  /**
1156
1166
  * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
1157
1167
  */
1158
- export const euiTextTruncate: (maxWidth?: CSSProperties['maxWidth']) => string;
1168
+ export const euiTextTruncate: (maxWidth?: CSSProperties["maxWidth"]) => string;
1159
1169
  /**
1160
1170
  * Fixed-width numbers for tabular data
1161
1171
  */
1162
1172
  export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
1163
1173
 
1174
+ }
1175
+ declare module '@elastic/eui/src/services/breakpoint/_sorting' {
1176
+ import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
1177
+ export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1178
+ export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1179
+
1164
1180
  }
1165
1181
  declare module '@elastic/eui/src/global_styling/variables/animations' {
1166
1182
  export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
@@ -1240,99 +1256,15 @@ declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
1240
1256
  export const useEuiMaxBreakpoint: (size: _EuiThemeBreakpoint) => string;
1241
1257
 
1242
1258
  }
1243
- declare module '@elastic/eui/src/global_styling/mixins/_button' {
1244
- import { type SerializedStyles } from '@emotion/react';
1245
- import { UseEuiTheme } from '@elastic/eui/src/services';
1246
- export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
1247
- export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
1248
- export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
1249
- export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
1250
- export interface _EuiButtonOptions {
1251
- display?: _EuiButtonDisplay;
1259
+ declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1260
+ import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
1261
+ export { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, };
1262
+ export interface EuiShadowCustomColor {
1263
+ color?: string;
1252
1264
  }
1253
- /**
1254
- * Creates the `base` version of button styles with proper text contrast.
1255
- * @param euiThemeContext
1256
- * @param color One of the named button colors or 'disabled'
1257
- * @returns Style object `{ backgroundColor, color }`
1258
- */
1259
- export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1260
- border: string;
1261
- color: string;
1262
- backgroundColor: string;
1263
- } | {
1264
- border?: undefined;
1265
- color: string;
1266
- backgroundColor: string;
1267
- };
1268
- /**
1269
- * Creates the `fill` version of buttons styles with proper text contrast.
1270
- * @param euiThemeContext
1271
- * @param color One of the named button colors or 'disabled'
1272
- * @returns Style object `{ backgroundColor, color }`
1273
- */
1274
- export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1275
- border: string;
1276
- color: string;
1277
- backgroundColor: string;
1278
- } | {
1279
- border?: undefined;
1280
- color: string;
1281
- backgroundColor: string;
1282
- };
1283
- /**
1284
- * Creates the `empty` version of button styles using the text-variant and adding interactive styles.
1285
- * @param euiThemeContext
1286
- * @param color One of the named button colors or 'disabled'
1287
- * @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
1288
- */
1289
- export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1290
- color: string;
1291
- backgroundColor: string;
1292
- };
1293
- /**
1294
- * Given the button display type, returns the Emotion based color keys.
1295
- * @param options Button display type
1296
- * @returns An object of `_EuiButtonColor` keys including `disabled`
1297
- */
1298
- export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
1299
- /**
1300
- * Creates the translate animation when button is in focus.
1301
- * @returns string
1302
- */
1303
- export const useEuiButtonFocusCSS: () => SerializedStyles;
1304
- /**
1305
- * Map of `size` props to various sizings/scales
1306
- * that should remain consistent across all buttons
1307
- */
1308
- export const euiButtonSizeMap: ({ euiTheme }: UseEuiTheme) => {
1309
- xs: {
1310
- height: string;
1311
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1312
- fontScale: "xs";
1313
- };
1314
- s: {
1315
- height: string;
1316
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1317
- fontScale: "s";
1318
- };
1319
- m: {
1320
- height: string;
1321
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1322
- fontScale: "s";
1323
- };
1324
- };
1325
-
1326
- }
1327
- declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1328
- import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
1329
- export { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, };
1330
- export interface EuiShadowCustomColor {
1331
- color?: string;
1332
- }
1333
- export const useEuiSlightShadowHover: (options?: EuiShadowOptions | undefined) => string;
1334
- export const useEuiShadowFlat: (options?: EuiShadowOptions | undefined) => string;
1335
- 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;
1336
1268
 
1337
1269
  }
1338
1270
  declare module '@elastic/eui/src/global_styling/mixins' {
@@ -1423,7 +1355,7 @@ declare module '@elastic/eui/src/components/text/text_color' {
1423
1355
  import type { SharedTextProps, CloneElement, EuiTextColors } from '@elastic/eui/src/components/text/types';
1424
1356
  export const COLORS: readonly ["default", "subdued", "success", "accent", "accentSecondary", "danger", "warning", "ghost", "inherit"];
1425
1357
  export type TextColor = (typeof COLORS)[number];
1426
- 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;
1427
1359
  export type EuiTextColorProps = SharedTextProps & CloneElement & EuiTextColors;
1428
1360
  export const EuiTextColor: FunctionComponent<EuiTextColorProps>;
1429
1361
 
@@ -1523,13 +1455,17 @@ declare module '@elastic/eui/src/components/title/title.styles' {
1523
1455
  import { CSSProperties } from 'react';
1524
1456
  import { UseEuiTheme } from '@elastic/eui/src/services';
1525
1457
  import { _FontScaleOptions } from '@elastic/eui/src/global_styling';
1526
- 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 = {
1527
1463
  fontSize: CSSProperties['fontSize'];
1528
1464
  lineHeight: CSSProperties['lineHeight'];
1529
1465
  fontWeight: CSSProperties['fontWeight'];
1530
1466
  color: CSSProperties['color'];
1531
1467
  };
1532
- export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions | undefined) => EuiThemeTitle;
1468
+ export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions) => EuiThemeTitle;
1533
1469
  /**
1534
1470
  * Styles
1535
1471
  */
@@ -1593,7 +1529,7 @@ declare module '@elastic/eui/src/components/text/text.styles' {
1593
1529
  /**
1594
1530
  * Mixins
1595
1531
  */
1596
- export const euiText: (euiTheme: UseEuiTheme['euiTheme'], inheritColor?: boolean) => {
1532
+ export const euiText: (euiTheme: UseEuiTheme["euiTheme"], inheritColor?: boolean) => {
1597
1533
  color: string;
1598
1534
  fontWeight: import("csstype").Property.FontWeight | undefined;
1599
1535
  };
@@ -1676,9 +1612,9 @@ declare module '@elastic/eui/src/services/predicate/common_predicates' {
1676
1612
  export const isUndefined: (value: any) => value is undefined;
1677
1613
  export const isNull: (value: any) => value is null;
1678
1614
  export const isNil: (value: any) => value is null | undefined;
1679
- export const isMoment: (value: any) => boolean;
1615
+ export const isMoment: (value: any) => value is moment.Moment;
1680
1616
  export const isDate: (value: any) => value is Date;
1681
- export const isDateLike: (value: any) => value is Date | moment.Moment;
1617
+ export const isDateLike: (value: any) => value is moment.Moment | Date;
1682
1618
 
1683
1619
  }
1684
1620
  declare module '@elastic/eui/src/services/predicate/lodash_predicates' {
@@ -1713,7 +1649,8 @@ declare module '@elastic/eui/src/components/i18n/i18n_util' {
1713
1649
  declare module '@elastic/eui/src/components/i18n/i18n' {
1714
1650
  import React, { ReactElement, ReactNode } from 'react';
1715
1651
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
1716
- 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;
1717
1654
  interface I18nTokenShape<T, DEFAULT extends Renderable<T>> {
1718
1655
  token: string;
1719
1656
  default: DEFAULT;
@@ -1732,7 +1669,9 @@ declare module '@elastic/eui/src/components/i18n/i18n' {
1732
1669
  children: (x: Array<T[number]>) => ReactNode;
1733
1670
  values?: Record<string, ReactNode>;
1734
1671
  }
1735
- 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>>;
1736
1675
  export { EuiI18n, useEuiI18n };
1737
1676
 
1738
1677
  }
@@ -1811,7 +1750,7 @@ declare module '@elastic/eui/src/components/observer/resize_observer/resize_obse
1811
1750
  onResize: ResizeObserverCallback;
1812
1751
  beginObserve: () => void;
1813
1752
  }
1814
- export const useResizeObserver: (container: Element | null, dimension?: "width" | "height" | undefined) => {
1753
+ export const useResizeObserver: (container: Element | null, dimension?: "width" | "height") => {
1815
1754
  width: number;
1816
1755
  height: number;
1817
1756
  };
@@ -1828,7 +1767,8 @@ declare module '@elastic/eui/src/components/portal/portal' {
1828
1767
  * into portals.
1829
1768
  */
1830
1769
  import React, { FunctionComponent, Component, ContextType, ReactNode } from 'react';
1831
- 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];
1832
1772
  export interface EuiPortalProps {
1833
1773
  /**
1834
1774
  * ReactNode to render as this component's content
@@ -1876,7 +1816,7 @@ declare module '@elastic/eui/src/components/table/mobile/responsive_context' {
1876
1816
  * Used by parent/top-level table components to determine isResponsive state
1877
1817
  * based on the passed breakpoint
1878
1818
  */
1879
- export const useIsEuiTableResponsive: (componentProp?: string | boolean | undefined) => boolean;
1819
+ export const useIsEuiTableResponsive: (componentProp?: EuiBreakpointSize | boolean) => boolean;
1880
1820
  /**
1881
1821
  * Context set by parent table components
1882
1822
  * Hook used by cells to fetch parent isResponsive state
@@ -1968,7 +1908,7 @@ declare module '@elastic/eui/src/components/table/table_footer' {
1968
1908
  declare module '@elastic/eui/src/components/table/utils' {
1969
1909
  import { CSSProperties } from 'react';
1970
1910
  export const WARNING_MESSAGE = "Two `width` properties were provided. Provide only one of `style.width` or `width` to avoid conflicts.";
1971
- export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number | undefined) => CSSProperties;
1911
+ export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number) => CSSProperties;
1972
1912
 
1973
1913
  }
1974
1914
  declare module '@elastic/eui/src/services/canvas/canvas_text_utils' {
@@ -2006,7 +1946,8 @@ declare module '@elastic/eui/src/services/canvas' {
2006
1946
 
2007
1947
  }
2008
1948
  declare module '@elastic/eui/src/components/text_truncate/utils' {
2009
- 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 & {
2010
1951
  fullText: string;
2011
1952
  ellipsis: string;
2012
1953
  availableWidth: number;
@@ -2035,7 +1976,7 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
2035
1976
  */
2036
1977
  widthRatio: number;
2037
1978
  setTextWidthRatio: (text?: string, textToOffset?: string) => void;
2038
- getTextFromRatio: (text: string, type: 'start' | 'end') => string;
1979
+ getTextFromRatio: (text: string, type: "start" | "end") => string;
2039
1980
  /**
2040
1981
  * Early return checks
2041
1982
  */
@@ -2045,8 +1986,8 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
2045
1986
  /**
2046
1987
  * Truncation types logic. This is where the magic happens
2047
1988
  */
2048
- truncateStart: (truncationOffset?: number | undefined) => string;
2049
- truncateEnd: (truncationOffset?: number | undefined) => string;
1989
+ truncateStart: (truncationOffset?: number) => string;
1990
+ truncateEnd: (truncationOffset?: number) => string;
2050
1991
  truncateStartEndAtPosition: (truncationPosition: number) => string;
2051
1992
  truncateStartEndAtMiddle: () => string;
2052
1993
  truncateMiddle: () => string;
@@ -2291,7 +2232,8 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
2291
2232
  * Used by EuiBasicTable to render hidden copy markers
2292
2233
  */
2293
2234
  append?: ReactNode;
2294
- } type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2235
+ }
2236
+ type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2295
2237
  export const EuiTableRowCell: FunctionComponent<Props>;
2296
2238
  export {};
2297
2239
 
@@ -2954,7 +2896,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2954
2896
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2955
2897
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2956
2898
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2957
- export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "error" | "warning" | "scale" | "color" | "pause" | "play" | "offline" | "online" | "storage" | "copy" | "cut" | "temperature" | "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" | "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" | "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")[];
2958
2900
  export type EuiIconType = keyof typeof typeToPathMap;
2959
2901
  export type IconType = EuiIconType | string | ComponentType;
2960
2902
  export type IconColor = string | NamedColor;
@@ -2997,9 +2939,9 @@ declare module '@elastic/eui/src/components/icon/icon' {
2997
2939
  isLoading: boolean;
2998
2940
  neededLoading: boolean;
2999
2941
  }
3000
- export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "error" | "warning" | "scale" | "color" | "pause" | "play" | "offline" | "online" | "storage" | "copy" | "cut" | "temperature" | "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" | "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" | "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;
3001
2943
  export const appendIconComponentCache: (iconTypeToIconComponentMap: {
3002
- [iconType: string]: React.ComponentType<{}>;
2944
+ [iconType: string]: ComponentType;
3003
2945
  }) => void;
3004
2946
  export class EuiIconClass extends PureComponent<EuiIconProps & WithEuiStylesMemoizerProps, State> {
3005
2947
  isMounted: boolean;
@@ -3020,7 +2962,8 @@ declare module '@elastic/eui/src/components/icon' {
3020
2962
 
3021
2963
  }
3022
2964
  declare module '@elastic/eui/src/components/inner_text/inner_text' {
3023
- import { FunctionComponent, ReactElement } from 'react'; type RefT = HTMLElement | Element | undefined | null;
2965
+ import { FunctionComponent, ReactElement } from 'react';
2966
+ type RefT = HTMLElement | Element | undefined | null;
3024
2967
  export function useInnerText(innerTextFallback?: string): [(node: RefT) => void, string | undefined];
3025
2968
  export interface EuiInnerTextProps {
3026
2969
  /**
@@ -3251,9 +3194,9 @@ declare module '@elastic/eui/src/services/popover' {
3251
3194
  declare module '@elastic/eui/src/components/panel/panel.styles' {
3252
3195
  import { UseEuiTheme } from '@elastic/eui/src/services';
3253
3196
  export const euiPanelBorderStyles: (euiThemeContext: UseEuiTheme, options?: {
3254
- borderColor?: string | undefined;
3255
- hasFloatingBorder?: boolean | undefined;
3256
- } | undefined) => string;
3197
+ borderColor?: string;
3198
+ hasFloatingBorder?: boolean;
3199
+ }) => string;
3257
3200
  export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
3258
3201
  euiPanel: import("@emotion/react").SerializedStyles;
3259
3202
  grow: import("@emotion/react").SerializedStyles;
@@ -3269,8 +3212,8 @@ declare module '@elastic/eui/src/components/panel/panel.styles' {
3269
3212
  }
3270
3213
  declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3271
3214
  import { UseEuiTheme } from '@elastic/eui/src/services';
3272
- export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3273
- export const euiToolTipBorderColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3215
+ export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3216
+ export const euiToolTipBorderColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3274
3217
  export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
3275
3218
  euiToolTip: import("@emotion/react").SerializedStyles;
3276
3219
  s: import("@emotion/react").SerializedStyles;
@@ -3297,7 +3240,8 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3297
3240
  declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
3298
3241
  import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
3299
3242
  import { CommonProps } from '@elastic/eui/src/components/common';
3300
- 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'> & {
3301
3245
  positionToolTip: () => void;
3302
3246
  children?: ReactNode;
3303
3247
  title?: ReactNode;
@@ -3741,14 +3685,14 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3741
3685
  * any element as a button.
3742
3686
  */
3743
3687
  export const EuiButtonDisplay: React.ForwardRefExoticComponent<((import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForAnchor, EuiButtonDisplayPropsForButton> & EuiButtonDisplayCommonProps & {
3744
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
3688
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
3745
3689
  } & React.ButtonHTMLAttributes<HTMLButtonElement> & {
3746
- buttonRef?: React.Ref<HTMLButtonElement> | undefined;
3690
+ buttonRef?: Ref<HTMLButtonElement>;
3747
3691
  }) | (import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForButton, EuiButtonDisplayPropsForAnchor> & EuiButtonDisplayCommonProps & {
3748
- href?: string | undefined;
3749
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
3692
+ href?: string;
3693
+ onClick?: React.MouseEventHandler<HTMLAnchorElement>;
3750
3694
  } & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
3751
- buttonRef?: React.Ref<HTMLAnchorElement> | undefined;
3695
+ buttonRef?: Ref<HTMLAnchorElement>;
3752
3696
  })) & React.RefAttributes<HTMLElement>>;
3753
3697
  export {};
3754
3698
 
@@ -3756,10 +3700,10 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3756
3700
  declare module '@elastic/eui/src/components/button/button' {
3757
3701
  import { FunctionComponent, Ref, ReactNode } from 'react';
3758
3702
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3759
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3703
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3760
3704
  import { EuiButtonDisplayCommonProps } from '@elastic/eui/src/components/button/button_display/_button_display';
3761
- export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
3762
- export type EuiButtonColor = _EuiButtonColor;
3705
+ export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
3706
+ export type EuiButtonColor = _EuiExtendedButtonColor;
3763
3707
  export const SIZES: readonly ["s", "m"];
3764
3708
  export type EuiButtonSize = (typeof SIZES)[number];
3765
3709
  interface BaseProps {
@@ -3770,6 +3714,13 @@ declare module '@elastic/eui/src/components/button/button' {
3770
3714
  fill?: boolean;
3771
3715
  /**
3772
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
3773
3724
  */
3774
3725
  color?: EuiButtonColor;
3775
3726
  /**
@@ -3817,7 +3768,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3817
3768
  import { FunctionComponent, Ref, ButtonHTMLAttributes } from 'react';
3818
3769
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3819
3770
  import { EuiButtonDisplayContentProps, EuiButtonDisplayContentType } from '@elastic/eui/src/components/button/button_display/_button_display_content';
3820
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3771
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3821
3772
  export const SIZES: readonly ["xs", "s", "m"];
3822
3773
  export type EuiButtonEmptySizes = (typeof SIZES)[number];
3823
3774
  export const FLUSH_TYPES: readonly ["left", "right", "both"];
@@ -3829,8 +3780,15 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3829
3780
  export interface CommonEuiButtonEmptyProps extends EuiButtonDisplayContentProps, CommonProps {
3830
3781
  /**
3831
3782
  * Any of the named color palette options.
3832
- */
3833
- 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;
3834
3792
  size?: EuiButtonEmptySizes;
3835
3793
  /**
3836
3794
  * Ensure the text of the button sits flush to the left, right, or both sides of its container
@@ -3858,7 +3816,8 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3858
3816
  * Object of props passed to the `<span>` wrapping the button's content
3859
3817
  */
3860
3818
  contentProps?: CommonProps & EuiButtonDisplayContentType;
3861
- } type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3819
+ }
3820
+ type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3862
3821
  export type EuiButtonEmptyPropsForButton = PropsForButton<CommonEuiButtonEmptyProps>;
3863
3822
  export type EuiButtonEmptyProps = ExclusiveUnion<EuiButtonEmptyPropsForAnchor, EuiButtonEmptyPropsForButton>;
3864
3823
  export const EuiButtonEmpty: FunctionComponent<EuiButtonEmptyProps>;
@@ -3887,16 +3846,24 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3887
3846
  import { AnchorHTMLAttributes, ButtonHTMLAttributes, FunctionComponent, Ref } from 'react';
3888
3847
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3889
3848
  import { IconType, IconSize } from '@elastic/eui/src/components/icon';
3890
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3849
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3891
3850
  export const SIZES: readonly ["xs", "s", "m"];
3892
3851
  export type EuiButtonIconSizes = (typeof SIZES)[number];
3893
- 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];
3894
3854
  export interface EuiButtonIconProps extends CommonProps {
3895
3855
  iconType: IconType;
3896
3856
  /**
3897
3857
  * Any of the named color palette options.
3898
- */
3899
- 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;
3900
3867
  'aria-label'?: string;
3901
3868
  'aria-labelledby'?: string;
3902
3869
  isDisabled?: boolean;
@@ -3936,7 +3903,8 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3936
3903
  type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
3937
3904
  } & PropsForButton<EuiButtonIconProps, {
3938
3905
  buttonRef?: Ref<HTMLButtonElement>;
3939
- }>; type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3906
+ }>;
3907
+ type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3940
3908
  export const EuiButtonIcon: FunctionComponent<Props>;
3941
3909
  export {};
3942
3910
 
@@ -3997,10 +3965,10 @@ declare module '@elastic/eui/src/components/form/form.styles' {
3997
3965
  };
3998
3966
  export const euiFormControlText: (euiThemeContext: UseEuiTheme) => string;
3999
3967
  export const euiFormControlDefaultShadow: (euiThemeContext: UseEuiTheme, { withBorder, withBackground, withBackgroundColor, withBackgroundAnimation, }?: {
4000
- withBorder?: boolean | undefined;
4001
- withBackground?: boolean | undefined;
4002
- withBackgroundColor?: boolean | undefined;
4003
- withBackgroundAnimation?: boolean | undefined;
3968
+ withBorder?: boolean;
3969
+ withBackground?: boolean;
3970
+ withBackgroundColor?: boolean;
3971
+ withBackgroundAnimation?: boolean;
4004
3972
  }) => string;
4005
3973
  export const euiFormControlFocusStyles: (euiThemeContext: UseEuiTheme) => string;
4006
3974
  export const euiFormControlInvalidStyles: (euiThemeContext: UseEuiTheme) => string;
@@ -4083,12 +4051,13 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
4083
4051
  euiButtonGroupButton__iconOnly: SerializedStyles;
4084
4052
  };
4085
4053
  };
4086
- 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>;
4087
4055
 
4088
4056
  }
4089
4057
  declare module '@elastic/eui/src/components/button/button_group/button_group_button' {
4090
4058
  import { FunctionComponent, MouseEventHandler } from 'react';
4091
- 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 & {
4092
4061
  /**
4093
4062
  * Styles the selected button to look selected (usually with `fill`)
4094
4063
  */
@@ -4190,6 +4159,11 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4190
4159
  legend: string;
4191
4160
  /**
4192
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
4193
4167
  */
4194
4168
  color?: _EuiButtonColor;
4195
4169
  /**
@@ -4240,7 +4214,8 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4240
4214
  * @deprecated
4241
4215
  */
4242
4216
  name?: never;
4243
- }); type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4217
+ });
4218
+ type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4244
4219
  export const EuiButtonGroup: FunctionComponent<Props>;
4245
4220
  export {};
4246
4221
 
@@ -4357,7 +4332,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
4357
4332
  * Reduce the size to `s` when in need of a more compressed menu
4358
4333
  */
4359
4334
  size?: (typeof SIZES)[number];
4360
- } type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4335
+ }
4336
+ type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4361
4337
  export const LAYOUT_ALIGN: EuiContextMenuItemLayoutAlignment[];
4362
4338
  export const EuiContextMenuItem: FunctionComponent<Props>;
4363
4339
  export {};
@@ -4421,7 +4397,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4421
4397
  * Alters the size of the items and the title
4422
4398
  */
4423
4399
  size?: (typeof SIZES)[number];
4424
- }; type Props = EuiContextMenuPanelProps;
4400
+ };
4401
+ type Props = EuiContextMenuPanelProps;
4425
4402
  interface State {
4426
4403
  prevProps: {
4427
4404
  items: Props['items'];
@@ -4441,7 +4418,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4441
4418
  private initialPopoverParent?;
4442
4419
  constructor(props: WithEuiStylesMemoizerProps & Props);
4443
4420
  findMenuItems: () => void;
4444
- focusMenuItem: (direction: 'up' | 'down') => void;
4421
+ focusMenuItem: (direction: "up" | "down") => void;
4445
4422
  onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
4446
4423
  takeInitialFocus(): void;
4447
4424
  reclaimPopoverFocus: () => void;
@@ -4547,7 +4524,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu' {
4547
4524
  componentDidUpdate(prevProps: EuiContextMenuProps): void;
4548
4525
  hasPreviousPanel: (panelId: EuiContextMenuPanelId) => boolean;
4549
4526
  showPanel(panelId: EuiContextMenuPanelId, direction?: EuiContextMenuPanelTransitionDirection): void;
4550
- showNextPanel: (itemIndex?: number | undefined) => void;
4527
+ showNextPanel: (itemIndex?: number) => void;
4551
4528
  showPreviousPanel: () => void;
4552
4529
  onIncomingPanelHeightChange: (height: number) => void;
4553
4530
  onOutGoingPanelTransitionComplete: () => void;
@@ -4611,14 +4588,16 @@ declare module '@elastic/eui/src/components/flex/flex_group.styles' {
4611
4588
 
4612
4589
  }
4613
4590
  declare module '@elastic/eui/src/components/flex/flex_group' {
4614
- import React, { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4591
+ import { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4615
4592
  import { CommonProps } from '@elastic/eui/src/components/common';
4616
4593
  export const GUTTER_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
4617
4594
  export type EuiFlexGroupGutterSize = (typeof GUTTER_SIZES)[number];
4618
4595
  export const ALIGN_ITEMS: readonly ["stretch", "flexStart", "flexEnd", "center", "baseline"];
4619
4596
  export type FlexGroupAlignItems = (typeof ALIGN_ITEMS)[number];
4620
- export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"]; type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
4621
- 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];
4622
4601
  export type EuiFlexGroupProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4623
4602
  alignItems?: FlexGroupAlignItems;
4624
4603
  /**
@@ -4640,32 +4619,10 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
4640
4619
  responsive?: boolean;
4641
4620
  wrap?: boolean;
4642
4621
  };
4643
- export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
4644
- children?: React.ReactNode;
4645
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4646
- alignItems?: "center" | "baseline" | "stretch" | "flexStart" | "flexEnd" | undefined;
4647
- /**
4648
- * Customize the component type that is rendered.
4649
- *
4650
- * It can be any valid React component type like a tag name string
4651
- * such as `'div'` or `'span'`, a React component (a function, a class,
4652
- * or an exotic component like `memo()`).
4653
- *
4654
- * `EuiFlexGroup` accepts and forwards all extra props to the custom
4655
- * component.
4656
- *
4657
- * @default "div"
4658
- */
4659
- component?: TComponent | undefined;
4660
- direction?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
4661
- gutterSize?: "s" | "xs" | "m" | "l" | "xl" | "none" | undefined;
4662
- justifyContent?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
4663
- responsive?: boolean | undefined;
4664
- wrap?: boolean | undefined;
4665
- } & {
4666
- ref?: React.Ref<TComponentRef> | undefined;
4622
+ export const EuiFlexGroup: (<TComponent extends ElementType = "div", TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexGroupProps<TComponent> & {
4623
+ ref?: Ref<TComponentRef>;
4667
4624
  }) => ReactElement) & {
4668
- displayName?: string | undefined;
4625
+ displayName?: string;
4669
4626
  };
4670
4627
  export {};
4671
4628
 
@@ -4767,7 +4724,7 @@ declare module '@elastic/eui/src/components/flex/flex_item.styles' {
4767
4724
 
4768
4725
  }
4769
4726
  declare module '@elastic/eui/src/components/flex/flex_item' {
4770
- import React, { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4727
+ import { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4771
4728
  import { CommonProps } from '@elastic/eui/src/components/common';
4772
4729
  export type EuiFlexItemProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4773
4730
  grow?: boolean | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null;
@@ -4790,32 +4747,10 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
4790
4747
  */
4791
4748
  component?: TComponent;
4792
4749
  };
4793
- export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
4794
- children?: React.ReactNode;
4795
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4796
- grow?: boolean | 0 | 2 | 1 | 3 | 8 | 6 | 4 | 5 | 7 | 9 | 10 | null | undefined;
4797
- /**
4798
- * Customize the component type that is rendered.
4799
- *
4800
- * It can be any valid React component type like a tag name string
4801
- * such as `'div'` or `'span'`, a React component (a function, a class,
4802
- * or an exotic component like `memo()`).
4803
- *
4804
- * `<EuiFlexItem>` accepts and forwards all extra props to the custom
4805
- * component.
4806
- *
4807
- * @example
4808
- * // Renders a <button> element
4809
- * <EuiFlexItem component="button">
4810
- * Submit form
4811
- * </EuiFlexItem>
4812
- * @default "div"
4813
- */
4814
- component?: TComponent | undefined;
4815
- } & {
4816
- ref?: React.Ref<TComponentRef> | undefined;
4750
+ export const EuiFlexItem: (<TComponent extends ElementType, TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexItemProps<TComponent> & {
4751
+ ref?: Ref<TComponentRef>;
4817
4752
  }) => ReactElement) & {
4818
- displayName?: string | undefined;
4753
+ displayName?: string;
4819
4754
  };
4820
4755
 
4821
4756
  }
@@ -4844,7 +4779,10 @@ declare module '@elastic/eui/src/components/pagination/pagination_button' {
4844
4779
  isActive?: boolean;
4845
4780
  pageIndex: number;
4846
4781
  totalPages?: number;
4847
- }; 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>;
4848
4786
  export const EuiPaginationButton: FunctionComponent<Props>;
4849
4787
  export {};
4850
4788
 
@@ -4907,7 +4845,8 @@ declare module '@elastic/eui/src/components/pagination/pagination' {
4907
4845
  * Remove completely with `false` or provide your own list of responsive breakpoints.
4908
4846
  */
4909
4847
  responsive?: false | EuiBreakpointSize[];
4910
- } type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4848
+ }
4849
+ type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4911
4850
  export const EuiPagination: FunctionComponent<Props>;
4912
4851
  export {};
4913
4852
 
@@ -5030,7 +4969,10 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
5030
4969
  import { EuiIconType } from '@elastic/eui/src/components/icon/icon';
5031
4970
  import { EuiButtonIconProps } from '@elastic/eui/src/components/button/button_icon/button_icon';
5032
4971
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
5033
- 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;
5034
4976
  export interface DefaultItemActionBase<T extends object> {
5035
4977
  /**
5036
4978
  * The display name of the action (will render as visible text if rendered within a collapsed menu)
@@ -5106,7 +5048,7 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
5106
5048
  enabled?: (item: T) => boolean;
5107
5049
  } & Pick<DefaultItemActionBase<{}>, 'isPrimary' | 'showOnHover'>;
5108
5050
  export type Action<T extends object> = DefaultItemAction<T> | CustomItemAction<T>;
5109
- 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>;
5110
5052
  export const callWithItemIfFunction: <T>(item: T) => <U>(prop: U | ((item: T) => U)) => U;
5111
5053
  export {};
5112
5054
 
@@ -5117,7 +5059,7 @@ declare module '@elastic/eui/src/services/sort/sort_direction' {
5117
5059
  export const SortDirection: Readonly<{
5118
5060
  ASC: "asc";
5119
5061
  DESC: "desc";
5120
- isAsc(direction: Direction): boolean;
5062
+ isAsc(direction: Direction): direction is "asc";
5121
5063
  reverse(direction: Direction): "desc" | "asc";
5122
5064
  }>;
5123
5065
  export const SortDirectionType: PropTypes.Requireable<"desc" | "asc">;
@@ -5130,12 +5072,13 @@ declare module '@elastic/eui/src/services/objects' {
5130
5072
 
5131
5073
  }
5132
5074
  declare module '@elastic/eui/src/services/sort/comparators' {
5133
- 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;
5134
5077
  export const Comparators: Readonly<{
5135
- default: (direction?: 'asc' | 'desc') => (v1: Primitive, v2: Primitive) => number;
5078
+ default: (direction?: "asc" | "desc") => (v1: Primitive, v2: Primitive) => number;
5136
5079
  reverse: <T>(comparator: Comparator<T>) => Comparator<T>;
5137
- value<T_1>(valueCallback: (value: T_1) => Primitive, comparator?: Comparator<Primitive> | undefined): Comparator<T_1>;
5138
- 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>;
5139
5082
  }>;
5140
5083
  export {};
5141
5084
 
@@ -5520,7 +5463,8 @@ declare module '@elastic/eui/src/components/table/table_row' {
5520
5463
  */
5521
5464
  isExpandedRow?: boolean;
5522
5465
  onClick?: MouseEventHandler<HTMLTableRowElement> & KeyboardEventHandler<HTMLTableRowElement>;
5523
- } type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5466
+ }
5467
+ type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5524
5468
  export const EuiTableRow: FunctionComponent<Props>;
5525
5469
  export {};
5526
5470
 
@@ -5687,7 +5631,7 @@ declare module '@elastic/eui/src/components/observer/mutation_observer/mutation_
5687
5631
  onMutation: MutationCallback;
5688
5632
  beginObserve: () => void;
5689
5633
  }
5690
- export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit | undefined) => void;
5634
+ export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit) => void;
5691
5635
 
5692
5636
  }
5693
5637
  declare module '@elastic/eui/src/components/observer/mutation_observer' {
@@ -5773,7 +5717,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
5773
5717
  export type PanelPaddingSize = (typeof _SIZES)[number];
5774
5718
  export const BORDER_RADII: readonly ["none", "m"];
5775
5719
  export type PanelBorderRadius = (typeof BORDER_RADII)[number];
5776
- 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"];
5777
5721
  export type PanelColor = _EuiBackgroundColor | 'highlighted';
5778
5722
  export interface _EuiPanelProps extends CommonProps {
5779
5723
  /**
@@ -5813,7 +5757,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
5813
5757
  }
5814
5758
  export type EuiPanelProps = ExclusiveUnion<_EuiPanelButtonlike, _EuiPanelDivlike>;
5815
5759
  export const EuiPanel: FunctionComponent<EuiPanelProps>;
5816
- export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, 'color' | 'hasBorder'>) => boolean;
5760
+ export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, "color" | "hasBorder">) => boolean;
5817
5761
  export {};
5818
5762
 
5819
5763
  }
@@ -5856,7 +5800,8 @@ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel
5856
5800
  export const EuiPopoverPanelContext: React.Context<{
5857
5801
  paddingSize: EuiPaddingSize;
5858
5802
  }>;
5859
- export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
5803
+ export type EuiPopoverPanelProps = _EuiPanelDivlike;
5804
+ type EuiPopoverPanelInternalProps = {
5860
5805
  isOpen?: boolean;
5861
5806
  isAttached?: boolean;
5862
5807
  position?: EuiPopoverArrowPositions | null;
@@ -6034,7 +5979,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
6034
5979
  arrowPosition: EuiPopoverArrowPositions | null;
6035
5980
  openPosition: any;
6036
5981
  isOpenStable: boolean;
6037
- } type PropsWithDefaults = Props & {
5982
+ }
5983
+ type PropsWithDefaults = Props & {
6038
5984
  anchorPosition: PopoverAnchorPosition;
6039
5985
  hasArrow: boolean;
6040
5986
  isOpen: boolean;
@@ -6327,7 +6273,7 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6327
6273
  color?: IconColor;
6328
6274
  ref?: EuiFormControlLayoutCustomIconProps['iconRef'];
6329
6275
  };
6330
- export const isIconShape: (icon: EuiFormControlLayoutIconsProps['icon']) => icon is IconShape;
6276
+ export const isIconShape: (icon: EuiFormControlLayoutIconsProps["icon"]) => icon is IconShape;
6331
6277
  export interface EuiFormControlLayoutIconsProps {
6332
6278
  icon?: IconType | IconShape;
6333
6279
  side?: (typeof ICON_SIDES)[number];
@@ -6351,13 +6297,13 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6351
6297
  }
6352
6298
  declare module '@elastic/eui/src/components/form/form_control_layout/_num_icons' {
6353
6299
  import { type EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
6354
- export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps['icon']) => boolean;
6300
+ export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps["icon"]) => boolean;
6355
6301
  export const getIconAffordanceStyles: ({ icon, clear, isLoading, isInvalid, isDropdown, }: {
6356
- icon?: EuiFormControlLayoutIconsProps['icon'];
6357
- clear?: EuiFormControlLayoutIconsProps['clear'] | boolean;
6358
- isLoading?: boolean | undefined;
6359
- isInvalid?: boolean | undefined;
6360
- isDropdown?: boolean | undefined;
6302
+ icon?: EuiFormControlLayoutIconsProps["icon"];
6303
+ clear?: EuiFormControlLayoutIconsProps["clear"] | boolean;
6304
+ isLoading?: boolean;
6305
+ isInvalid?: boolean;
6306
+ isDropdown?: boolean;
6361
6307
  }) => {
6362
6308
  [k: string]: number;
6363
6309
  } | undefined;
@@ -6395,7 +6341,9 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6395
6341
  declare module '@elastic/eui/src/components/form/form_control_layout/form_control_layout' {
6396
6342
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
6397
6343
  import { CommonProps } from '@elastic/eui/src/components/common';
6398
- 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[];
6399
6347
  export type EuiFormControlLayoutProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
6400
6348
  /**
6401
6349
  * Creates an input group with element(s) coming before children.
@@ -6525,7 +6473,8 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_item'
6525
6473
  dropdownDisplay?: ReactNode;
6526
6474
  disabled?: boolean;
6527
6475
  'data-test-subj'?: string;
6528
- } type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6476
+ }
6477
+ type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6529
6478
  hasDividers?: boolean;
6530
6479
  };
6531
6480
  export const EuiSuperSelectItem: FunctionComponent<EuiSuperSelectItemProps>;
@@ -6689,9 +6638,9 @@ declare module '@elastic/eui/src/components/color_picker/utils' {
6689
6638
  export const HSV_FALLBACK: ColorSpaces['hsv'];
6690
6639
  export const RGB_FALLBACK: ColorSpaces['rgba'];
6691
6640
  export const RGB_JOIN = ", ";
6692
- export const parseColor: (input?: string | null | undefined) => string | number[] | null;
6641
+ export const parseColor: (input?: string | null) => string | number[] | null;
6693
6642
  export const chromaValid: (color: string | number[]) => boolean;
6694
- export const getChromaColor: (input?: string | null | undefined, allowOpacity?: boolean) => chroma.Color | null;
6643
+ export const getChromaColor: (input?: string | null, allowOpacity?: boolean) => chroma.Color | null;
6695
6644
  export const getLinearGradient: (palette: string[] | PaletteColorStop[]) => string;
6696
6645
  export const getFixedLinearGradient: (palette: string[] | PaletteColorStop[]) => {
6697
6646
  color: string;
@@ -6862,174 +6811,398 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
6862
6811
  */
6863
6812
  palettes: EuiColorPalettePickerPaletteProps[];
6864
6813
  };
6865
- export const EuiColorPalettePicker: FunctionComponent<EuiColorPalettePickerProps<string>>;
6814
+ export const EuiColorPalettePicker: FunctionComponent<EuiColorPalettePickerProps<string>>;
6815
+
6816
+ }
6817
+ declare module '@elastic/eui/src/components/color_picker/color_palette_picker' {
6818
+ export type { EuiColorPalettePickerProps, EuiColorPalettePickerPaletteTextProps, EuiColorPalettePickerPaletteFixedProps, EuiColorPalettePickerPaletteGradientProps, EuiColorPalettePickerPaletteProps, PaletteColorStop, } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6819
+ export { EuiColorPalettePicker } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6820
+
6821
+ }
6822
+ declare module '@elastic/eui/src/services/color/stepped_gradient' {
6823
+ import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
6824
+ export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
6825
+
6826
+ }
6827
+ declare module '@elastic/eui/src/services/color/contrast' {
6828
+ export const wcagContrastMin = 4.5;
6829
+ /**
6830
+ * Creates a new color that meets or exceeds WCAG level AA
6831
+ * @param foreground - Color to manipulate
6832
+ * @param ratio - Amount to change in absolute terms. 0-10.
6833
+ * *
6834
+ * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
6835
+ */
6836
+ export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
6837
+ colors: {
6838
+ body: string;
6839
+ };
6840
+ [key: string]: any;
6841
+ }) => string;
6842
+ /**
6843
+ * Creates a new color with increased contrast
6844
+ * Disabled content only needs a contrast of at least 2 because there is no interaction available
6845
+ * @param foreground - Color to manipulate
6846
+ * @param ratio - Amount to change in absolute terms. 0-10.
6847
+ * *
6848
+ * @param themeOrBackground - Color to use as the contrast basis
6849
+ */
6850
+ export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
6851
+ colors: {
6852
+ body: string;
6853
+ };
6854
+ [key: string]: any;
6855
+ }) => string;
6856
+
6857
+ }
6858
+ declare module '@elastic/eui/src/services/color' {
6859
+ export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
6860
+ export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
6861
+ export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
6862
+ export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
6863
+ export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
6864
+ export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
6865
+ export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
6866
+ export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
6867
+ export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
6868
+ export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
6869
+ export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
6870
+ export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
6871
+ export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
6872
+ export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
6873
+ export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
6874
+ export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
6875
+ export * from '@elastic/eui/src/services/color/manipulation';
6876
+ export * from '@elastic/eui/src/services/color/contrast';
6877
+
6878
+ }
6879
+ declare module '@elastic/eui/src/services/theme/provider' {
6880
+ import React, { PropsWithChildren, HTMLAttributes } from 'react';
6881
+ import type { CommonProps } from '@elastic/eui/src/components/common';
6882
+ import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
6883
+ export interface EuiThemeProviderProps<T> extends PropsWithChildren {
6884
+ theme?: EuiThemeSystem<T>;
6885
+ colorMode?: EuiThemeColorMode;
6886
+ highContrastMode?: EuiThemeHighContrastModeProp;
6887
+ modify?: EuiThemeModifications<T>;
6888
+ children: any;
6889
+ /**
6890
+ * Nested theme providers will receive a wrapping `span` tag in order to correctly
6891
+ * set the default text `color` that all nested children will inherit.
6892
+ *
6893
+ * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
6894
+ * This requires a **single** child component that the correct color class can be passed to.
6895
+ *
6896
+ * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
6897
+ * the default inherited text color will be set on the page `body`.
6898
+ */
6899
+ wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
6900
+ cloneElement?: boolean;
6901
+ };
6902
+ }
6903
+ export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
6904
+
6905
+ }
6906
+ declare module '@elastic/eui/src/services/theme' {
6907
+ export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
6908
+ export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
6909
+ export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
6910
+ export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
6911
+ export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
6912
+ export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
6913
+ export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
6914
+ export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
6915
+ export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
6916
+ export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
6917
+
6918
+ }
6919
+ declare module '@elastic/eui/src/services/color/manipulation' {
6920
+ import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
6921
+ /**
6922
+ * Makes a color more transparent.
6923
+ * @param color - Color to manipulate
6924
+ * @param alpha - alpha channel value. From 0-1.
6925
+ */
6926
+ export const transparentize: (color: string, alpha: number) => string;
6927
+ /**
6928
+ * Mixes a provided color with white.
6929
+ * @param color - Color to mix with white
6930
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6931
+ */
6932
+ export const tint: (color: string, ratio: number) => string;
6933
+ /**
6934
+ * Mixes a provided color with black.
6935
+ * @param color - Color to mix with black
6936
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
6937
+ */
6938
+ export const shade: (color: string, ratio: number) => string;
6939
+ /**
6940
+ * Returns the tinted color for light mode and shaded color for dark mode
6941
+ * @param color - Color to mix with white
6942
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6943
+ * @param colorMode - Light or dark only
6944
+ */
6945
+ export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6946
+ /**
6947
+ * Returns the shaded color for light mode and tinted color for dark mode
6948
+ * @param color - Color to mix with white
6949
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6950
+ * @param colorMode - Light or dark only
6951
+ */
6952
+ export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6953
+ /**
6954
+ * Increases the saturation of a color by manipulating the hsl saturation.
6955
+ * @param color - Color to manipulate
6956
+ * @param amount - Amount to change in absolute terms. 0-1.
6957
+ */
6958
+ export const saturate: (color: string, amount: number) => string;
6959
+ /**
6960
+ * Decreases the saturation of a color by manipulating the hsl saturation.
6961
+ * @param color - Color to manipulate
6962
+ * @param amount - Amount to change in absolute terms. 0-1.
6963
+ */
6964
+ export const desaturate: (color: string, amount: number) => string;
6965
+ /**
6966
+ * Returns the lightness value of a color. 0-100
6967
+ * @param color
6968
+ */
6969
+ export const lightness: (color: string) => number;
6970
+ /**
6971
+ * Returns the darken value of a color. 0-100
6972
+ * @param color - Color to manipulate
6973
+ * @param amount - Amount to change in absolute terms. 0-1.
6974
+ */
6975
+ export const darken: (color: string, amount: number) => string;
6976
+ /**
6977
+ * Returns the brighten value of a color. 0-100
6978
+ * @param color - Color to manipulate
6979
+ * @param amount - Amount to change in absolute terms. 0-1.
6980
+ */
6981
+ export const brighten: (color: string, amount: number) => string;
6982
+
6983
+ }
6984
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
6985
+ /**
6986
+ * These are not actually used, but we map them to ensure token parity.
6987
+ * They are mapped to other vis colors
6988
+ */
6989
+ export const severityColors: {
6990
+ unknown: string;
6991
+ neutral: string;
6992
+ success: string;
6993
+ warning: string;
6994
+ risk: string;
6995
+ danger: string;
6996
+ };
6997
+
6998
+ }
6999
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
7000
+ import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
7001
+ export const brand_colors: _EuiThemeBrandColors;
7002
+ export const brand_text_colors: _EuiThemeBrandTextColors;
7003
+ export const shade_colors: _EuiThemeShadeColors;
7004
+ export const special_colors: _EuiThemeSpecialColors;
7005
+ export const text_colors: _EuiThemeTextColors;
7006
+ export const background_colors: _EuiThemeBackgroundColors;
7007
+ export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
7008
+ export const border_colors: _EuiThemeBorderColors;
7009
+ export const light_colors: _EuiThemeColorsMode;
7010
+ export const dark_shades: _EuiThemeShadeColors;
7011
+ export const dark_background_colors: _EuiThemeBackgroundColors;
7012
+ export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
7013
+ export const dark_border_colors: _EuiThemeBorderColors;
7014
+ export const dark_colors_ams: _EuiThemeColorsMode;
7015
+ export const colors: _EuiThemeColors;
7016
+
7017
+ }
7018
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
7019
+ import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
7020
+ export const animation_speed: _EuiThemeAnimationSpeeds;
7021
+ export const animation_ease: _EuiThemeAnimationEasings;
7022
+ export const animation: _EuiThemeAnimation;
7023
+
7024
+ }
7025
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
7026
+ export { breakpoint } from '@elastic/eui-theme-common';
7027
+
7028
+ }
7029
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
7030
+ import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
7031
+ export const base: _EuiThemeBase;
7032
+ export const size: _EuiThemeSizes;
7033
+
7034
+ }
7035
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
7036
+ import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
7037
+ export const border: _EuiThemeBorder;
7038
+
7039
+ }
7040
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
7041
+ import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
7042
+ export const levels: _EuiThemeLevels;
7043
+
7044
+ }
7045
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
7046
+ import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
7047
+ export const fontScale: _EuiThemeFontScales;
7048
+ export const fontBase: _EuiThemeFontBase;
7049
+ export const fontWeight: _EuiThemeFontWeights;
7050
+ export const font: _EuiThemeFont;
7051
+
7052
+ }
7053
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
7054
+ import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
7055
+ export const focus: _EuiThemeFocus;
7056
+
7057
+ }
7058
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
7059
+ import { _EuiThemeButton } from '@elastic/eui-theme-common';
7060
+ export const buttons: _EuiThemeButton;
7061
+
7062
+ }
7063
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
7064
+ export const forms: {
7065
+ maxWidth: string;
7066
+ LIGHT: {
7067
+ background: string;
7068
+ backgroundDisabled: string;
7069
+ backgroundReadOnly: any;
7070
+ backgroundFocused: any;
7071
+ backgroundAutofilled: string;
7072
+ prependBackground: string;
7073
+ border: string;
7074
+ borderAutofilled: string;
7075
+ controlBorder: string;
7076
+ controlBorderSelected: string;
7077
+ controlBorderDisabled: string;
7078
+ controlBackgroundUnselected: any;
7079
+ controlBackgroundDisabled: any;
7080
+ colorHasPlaceholder: string;
7081
+ colorDisabled: any;
7082
+ iconDisabled: any;
7083
+ };
7084
+ DARK: {
7085
+ background: string;
7086
+ backgroundFocused: string;
7087
+ backgroundAutofilled: string;
7088
+ prependBackground: string;
7089
+ border: string;
7090
+ controlBorder: string;
7091
+ controlBorderSelected: string;
7092
+ controlBorderDisabled: string;
7093
+ backgroundDisabled: string;
7094
+ backgroundReadOnly: any;
7095
+ borderAutofilled: string;
7096
+ controlBackgroundUnselected: any;
7097
+ controlBackgroundDisabled: any;
7098
+ colorHasPlaceholder: string;
7099
+ colorDisabled: any;
7100
+ iconDisabled: any;
7101
+ };
7102
+ };
6866
7103
 
6867
7104
  }
6868
- declare module '@elastic/eui/src/components/color_picker/color_palette_picker' {
6869
- export type { EuiColorPalettePickerProps, EuiColorPalettePickerPaletteTextProps, EuiColorPalettePickerPaletteFixedProps, EuiColorPalettePickerPaletteGradientProps, EuiColorPalettePickerPaletteProps, PaletteColorStop, } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6870
- export { EuiColorPalettePicker } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
7105
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
7106
+ import { _EuiThemeComponents } from '@elastic/eui-theme-common';
7107
+ export const components: _EuiThemeComponents;
6871
7108
 
6872
7109
  }
6873
- declare module '@elastic/eui/src/services/color/stepped_gradient' {
6874
- import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
6875
- export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
7110
+ declare module '@elastic/eui/src/themes/amsterdam/theme' {
7111
+ import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
7112
+ export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
7113
+ export const euiThemeAmsterdam: EuiThemeShape;
7114
+ export const EuiThemeAmsterdam: {
7115
+ model: EuiThemeShape;
7116
+ root: EuiThemeShape;
7117
+ key: string;
7118
+ };
6876
7119
 
6877
7120
  }
6878
- declare module '@elastic/eui/src/services/color/manipulation' {
6879
- import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
6880
- /**
6881
- * Makes a color more transparent.
6882
- * @param color - Color to manipulate
6883
- * @param alpha - alpha channel value. From 0-1.
6884
- */
6885
- export const transparentize: (color: string, alpha: number) => string;
6886
- /**
6887
- * Mixes a provided color with white.
6888
- * @param color - Color to mix with white
6889
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6890
- */
6891
- export const tint: (color: string, ratio: number) => string;
6892
- /**
6893
- * Mixes a provided color with black.
6894
- * @param color - Color to mix with black
6895
- * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
6896
- */
6897
- export const shade: (color: string, ratio: number) => string;
6898
- /**
6899
- * Returns the tinted color for light mode and shaded color for dark mode
6900
- * @param color - Color to mix with white
6901
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6902
- * @param colorMode - Light or dark only
6903
- */
6904
- export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6905
- /**
6906
- * Returns the shaded color for light mode and tinted color for dark mode
6907
- * @param color - Color to mix with white
6908
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6909
- * @param colorMode - Light or dark only
6910
- */
6911
- export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6912
- /**
6913
- * Increases the saturation of a color by manipulating the hsl saturation.
6914
- * @param color - Color to manipulate
6915
- * @param amount - Amount to change in absolute terms. 0-1.
6916
- */
6917
- export const saturate: (color: string, amount: number) => string;
7121
+ declare module '@elastic/eui/src/services/theme/context' {
7122
+ import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
7123
+ export const DEFAULTS: {
7124
+ system: {
7125
+ model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
7126
+ root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
7127
+ key: string;
7128
+ };
7129
+ modifications: {};
7130
+ colorMode: "LIGHT";
7131
+ highContrastMode: false;
7132
+ };
7133
+ export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
7134
+ export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
7135
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
7136
+ }>>;
7137
+ export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
7138
+ export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
7139
+ export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
7140
+ export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
7141
+ export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
7142
+
7143
+ }
7144
+ declare module '@elastic/eui/src/services/theme/hooks' {
7145
+ import React from 'react';
7146
+ import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
6918
7147
  /**
6919
- * Decreases the saturation of a color by manipulating the hsl saturation.
6920
- * @param color - Color to manipulate
6921
- * @param amount - Amount to change in absolute terms. 0-1.
7148
+ * Hook for function components
6922
7149
  */
6923
- export const desaturate: (color: string, amount: number) => string;
7150
+ export interface UseEuiTheme<T extends {} = {}> {
7151
+ euiTheme: EuiThemeComputed<T>;
7152
+ colorMode: EuiThemeColorModeStandard;
7153
+ highContrastMode: EuiThemeHighContrastMode;
7154
+ modifications: EuiThemeModifications<T>;
7155
+ }
7156
+ export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
6924
7157
  /**
6925
- * Returns the lightness value of a color. 0-100
6926
- * @param color
7158
+ * HOC for class components
6927
7159
  */
6928
- export const lightness: (color: string) => number;
7160
+ export interface WithEuiThemeProps<P extends {} = {}> {
7161
+ theme: UseEuiTheme<P>;
7162
+ }
7163
+ export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
6929
7164
  /**
6930
- * Returns the darken value of a color. 0-100
6931
- * @param color - Color to manipulate
6932
- * @param amount - Amount to change in absolute terms. 0-1.
7165
+ * Render prop alternative for complex class components
7166
+ * Most useful for scenarios where a HOC may interfere with typing
6933
7167
  */
6934
- export const darken: (color: string, amount: number) => string;
7168
+ export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
7169
+ children: (theme: UseEuiTheme) => React.ReactElement;
7170
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6935
7171
  /**
6936
- * Returns the brighten value of a color. 0-100
6937
- * @param color - Color to manipulate
6938
- * @param amount - Amount to change in absolute terms. 0-1.
7172
+ * Minor syntactical sugar hook for theme CSS variables.
7173
+ * Primarily meant for internal EUI usage.
6939
7174
  */
6940
- export const brighten: (color: string, amount: number) => string;
7175
+ export const useEuiThemeCSSVariables: () => {
7176
+ setGlobalCSSVariables: Function;
7177
+ globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
7178
+ setNearestThemeCSSVariables: Function;
7179
+ themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
7180
+ };
6941
7181
 
6942
7182
  }
6943
- declare module '@elastic/eui/src/services/color/contrast' {
6944
- export const wcagContrastMin = 4.5;
6945
- /**
6946
- * Creates a new color that meets or exceeds WCAG level AA
6947
- * @param foreground - Color to manipulate
6948
- * @param ratio - Amount to change in absolute terms. 0-10.
6949
- * *
6950
- * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
6951
- */
6952
- export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
6953
- [key: string]: any;
6954
- colors: {
6955
- body: string;
6956
- };
6957
- }) => string;
7183
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
7184
+ import React, { FunctionComponent, PropsWithChildren } from 'react';
7185
+ import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
7186
+ type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
7187
+ export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
6958
7188
  /**
6959
- * Creates a new color with increased contrast
6960
- * Disabled content only needs a contrast of at least 2 because there is no interaction available
6961
- * @param foreground - Color to manipulate
6962
- * @param ratio - Amount to change in absolute terms. 0-10.
6963
- * *
6964
- * @param themeOrBackground - Color to use as the contrast basis
7189
+ * Returns the current breakpoint based on window width.
7190
+ * Typically only called by the top-level `EuiProvider` (to reduce the number
7191
+ * of window resize listeners on the page). Also conditionally called if a
7192
+ * nested `EuiThemeProvider` defines a `modify.breakpoint` override
6965
7193
  */
6966
- export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
6967
- [key: string]: any;
6968
- colors: {
6969
- body: string;
6970
- };
6971
- }) => string;
6972
-
6973
- }
6974
- declare module '@elastic/eui/src/services/color' {
6975
- export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
6976
- export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
6977
- export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
6978
- export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
6979
- export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
6980
- export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
6981
- export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
6982
- export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
6983
- export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
6984
- export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
6985
- export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
6986
- export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
6987
- export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
6988
- export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
6989
- export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
6990
- export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
6991
- export * from '@elastic/eui/src/services/color/manipulation';
6992
- export * from '@elastic/eui/src/services/color/contrast';
6993
-
6994
- }
6995
- declare module '@elastic/eui/src/services/theme/provider' {
6996
- import React, { PropsWithChildren, HTMLAttributes } from 'react';
6997
- import type { CommonProps } from '@elastic/eui/src/components/common';
6998
- import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
6999
- export interface EuiThemeProviderProps<T> extends PropsWithChildren {
7000
- theme?: EuiThemeSystem<T>;
7001
- colorMode?: EuiThemeColorMode;
7002
- highContrastMode?: EuiThemeHighContrastModeProp;
7003
- modify?: EuiThemeModifications<T>;
7004
- children: any;
7005
- /**
7006
- * Nested theme providers will receive a wrapping `span` tag in order to correctly
7007
- * set the default text `color` that all nested children will inherit.
7008
- *
7009
- * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
7010
- * This requires a **single** child component that the correct color class can be passed to.
7011
- *
7012
- * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
7013
- * the default inherited text color will be set on the page `body`.
7014
- */
7015
- wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
7016
- cloneElement?: boolean;
7017
- };
7018
- }
7019
- export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
7194
+ export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
7195
+ export {};
7020
7196
 
7021
7197
  }
7022
- declare module '@elastic/eui/src/services/theme' {
7023
- export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
7024
- export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
7025
- export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
7026
- export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
7027
- export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
7028
- export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
7029
- export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
7030
- export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
7031
- export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
7032
- export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
7198
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
7199
+ /**
7200
+ * Hook util / syntactical sugar for useContext()
7201
+ *
7202
+ * This hook is in its own separate file to make mocking it
7203
+ * as a testenv easy for Jest unit tests
7204
+ */
7205
+ export const useCurrentEuiBreakpoint: () => string | undefined;
7033
7206
 
7034
7207
  }
7035
7208
  declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
@@ -7143,7 +7316,7 @@ declare module '@elastic/eui/src/services/findElement' {
7143
7316
  * returns a DOM node.
7144
7317
  */
7145
7318
  export type ElementTarget = HTMLElement | string | (() => HTMLElement);
7146
- export const findElementBySelectorOrRef: (elementTarget?: ElementTarget | undefined) => HTMLElement | null;
7319
+ export const findElementBySelectorOrRef: (elementTarget?: ElementTarget) => HTMLElement | null;
7147
7320
 
7148
7321
  }
7149
7322
  declare module '@elastic/eui/src/services/format/format_boolean' {
@@ -7155,7 +7328,8 @@ declare module '@elastic/eui/src/services/format/format_boolean' {
7155
7328
 
7156
7329
  }
7157
7330
  declare module '@elastic/eui/src/services/format/format_date' {
7158
- import moment from 'moment'; type CalendarOptions = moment.CalendarSpec & {
7331
+ import moment from 'moment';
7332
+ type CalendarOptions = moment.CalendarSpec & {
7159
7333
  refTime?: moment.MomentInput;
7160
7334
  };
7161
7335
  export const dateFormatAliases: {
@@ -7171,7 +7345,8 @@ declare module '@elastic/eui/src/services/format/format_date' {
7171
7345
  calendar: (value: moment.MomentInput, options?: CalendarOptions) => string;
7172
7346
  calendarDateTime: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7173
7347
  calendarDate: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7174
- }; type DateFormat = keyof typeof dateFormatAliases;
7348
+ };
7349
+ type DateFormat = keyof typeof dateFormatAliases;
7175
7350
  interface FormatDateConfig {
7176
7351
  format: DateFormat;
7177
7352
  nil: string;
@@ -7187,7 +7362,7 @@ declare module '@elastic/eui/src/services/format/format_number' {
7187
7362
  nil: string;
7188
7363
  round: boolean;
7189
7364
  }
7190
- export const formatNumber: (value?: number | null | undefined, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7365
+ export const formatNumber: (value?: number | null, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7191
7366
  export {};
7192
7367
 
7193
7368
  }
@@ -7255,9 +7430,9 @@ declare module '@elastic/eui/src/services/security/get_secure_rel_for_target' {
7255
7430
  * https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
7256
7431
  */
7257
7432
  export const getSecureRelForTarget: ({ target, rel, }: {
7258
- href?: string | undefined;
7259
- target?: string | undefined;
7260
- rel?: string | undefined;
7433
+ href?: string;
7434
+ target?: "_blank" | "_self" | "_parent" | "_top" | string;
7435
+ rel?: string;
7261
7436
  }) => string;
7262
7437
 
7263
7438
  }
@@ -7335,7 +7510,7 @@ declare module '@elastic/eui/src/services/sort/property_sort' {
7335
7510
  import { Direction } from '@elastic/eui/src/services/sort/sort_direction';
7336
7511
  export const PropertySortType: PropTypes.Requireable<PropTypes.InferProps<{
7337
7512
  field: PropTypes.Validator<string>;
7338
- direction: PropTypes.Validator<"desc" | "asc">;
7513
+ direction: PropTypes.Validator<NonNullable<"desc" | "asc">>;
7339
7514
  }>>;
7340
7515
  export interface PropertySort {
7341
7516
  field: string;
@@ -7411,7 +7586,8 @@ declare module '@elastic/eui/src/services/transition' {
7411
7586
 
7412
7587
  }
7413
7588
  declare module '@elastic/eui/src/services/window_event/window_event' {
7414
- import { Component } from 'react'; type EventNames = keyof WindowEventMap;
7589
+ import { Component } from 'react';
7590
+ type EventNames = keyof WindowEventMap;
7415
7591
  interface Props<Ev extends EventNames> {
7416
7592
  event: Ev;
7417
7593
  handler: (this: Window, ev: WindowEventMap[Ev]) => any;
@@ -7544,7 +7720,8 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
7544
7720
  import { FunctionComponent, Ref } from 'react';
7545
7721
  import { EuiButtonProps } from '@elastic/eui/src/components/button/button';
7546
7722
  import { PropsForAnchor } from '@elastic/eui/src/components/common';
7547
- 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];
7548
7725
  interface EuiSkipLinkInterface extends EuiButtonProps {
7549
7726
  /**
7550
7727
  * Change the display position of the element when focused.
@@ -7613,7 +7790,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7613
7790
  }
7614
7791
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_button' {
7615
7792
  import { FunctionComponent, PropsWithChildren, HTMLAttributes } from 'react';
7616
- 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'>;
7617
7795
  export const EuiAccordionButton: FunctionComponent<_EuiAccordionButtonProps>;
7618
7796
  export {};
7619
7797
 
@@ -7632,7 +7810,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7632
7810
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_arrow' {
7633
7811
  import { FunctionComponent } from 'react';
7634
7812
  import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
7635
- 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'> & {
7636
7815
  isOpen: boolean;
7637
7816
  };
7638
7817
  export const EuiAccordionArrow: FunctionComponent<_EuiAccordionArrowProps>;
@@ -7641,7 +7820,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7641
7820
  }
7642
7821
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_trigger' {
7643
7822
  import { FunctionComponent, MouseEventHandler } from 'react';
7644
- 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'> & {
7645
7825
  isOpen: boolean;
7646
7826
  ariaControlsId: string;
7647
7827
  buttonId: string;
@@ -7657,7 +7837,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger' {
7657
7837
  }
7658
7838
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children_loading' {
7659
7839
  import { FunctionComponent } from 'react';
7660
- 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'>;
7661
7842
  export const EuiAccordionChildrenLoading: FunctionComponent<_EuiAccordionChildrenLoadingProps>;
7662
7843
  export {};
7663
7844
 
@@ -7683,7 +7864,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_children/accordi
7683
7864
  }
7684
7865
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children' {
7685
7866
  import { FunctionComponent, HTMLAttributes } from 'react';
7686
- 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'> & {
7687
7869
  isOpen: boolean;
7688
7870
  };
7689
7871
  export const EuiAccordionChildren: FunctionComponent<_EuiAccordionChildrenProps>;
@@ -7798,7 +7980,8 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
7798
7980
  * Disable the open/close interaction and visually subdues the trigger
7799
7981
  */
7800
7982
  isDisabled?: boolean;
7801
- }; type EuiAccordionState = {
7983
+ };
7984
+ type EuiAccordionState = {
7802
7985
  isOpen: boolean;
7803
7986
  };
7804
7987
  export class EuiAccordionClass extends Component<WithEuiThemeProps & EuiAccordionProps, EuiAccordionState> {
@@ -7902,7 +8085,12 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
7902
8085
  export const TYPES: readonly ["space", "user"];
7903
8086
  export type EuiAvatarType = (typeof TYPES)[number];
7904
8087
  export const CASING: readonly ["capitalize", "uppercase", "lowercase", "none"];
7905
- 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<{
7906
8094
  /**
7907
8095
  * Custom initials (max 2 characters).
7908
8096
  * By default will take the first character (of each word).
@@ -7962,7 +8150,7 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
7962
8150
  isDisabled?: boolean;
7963
8151
  };
7964
8152
  export const EuiAvatar: FunctionComponent<EuiAvatarProps>;
7965
- export const checkValidColor: (color: EuiAvatarProps['color']) => void;
8153
+ export const checkValidColor: (color: EuiAvatarProps["color"]) => void;
7966
8154
  export {};
7967
8155
 
7968
8156
  }
@@ -8088,7 +8276,7 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
8088
8276
  };
8089
8277
  export const getTextColor: ({ euiTheme }: UseEuiTheme, bgColor: string) => string;
8090
8278
  export const getColorContrast: (textColor: string, color: string) => number;
8091
- export const getIsValidColor: (color?: string | undefined) => boolean;
8279
+ export const getIsValidColor: (color?: string) => boolean;
8092
8280
 
8093
8281
  }
8094
8282
  declare module '@elastic/eui/src/components/badge/badge.styles' {
@@ -8129,8 +8317,11 @@ declare module '@elastic/eui/src/components/badge/badge' {
8129
8317
  import { AriaAttributes, FunctionComponent, HTMLAttributes, MouseEventHandler } from 'react';
8130
8318
  import { CommonProps, ExclusiveUnion, PropsOf } from '@elastic/eui/src/components/common';
8131
8319
  import { EuiIcon, IconType } from '@elastic/eui/src/components/icon';
8132
- export const ICON_SIDES: readonly ["left", "right"]; type IconSide = (typeof ICON_SIDES)[number];
8133
- 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 = {
8134
8325
  /**
8135
8326
  * Will apply an onclick to the badge itself
8136
8327
  */
@@ -8139,11 +8330,13 @@ declare module '@elastic/eui/src/components/badge/badge' {
8139
8330
  * Aria label applied to the onClick button
8140
8331
  */
8141
8332
  onClickAriaLabel: AriaAttributes['aria-label'];
8142
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8333
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8334
+ type WithAnchorProps = {
8143
8335
  href: string;
8144
8336
  target?: string;
8145
8337
  rel?: string;
8146
- } & 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'>;
8147
8340
  interface WithIconOnClick {
8148
8341
  /**
8149
8342
  * Will apply an onclick to icon within the badge
@@ -8216,7 +8409,8 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8216
8409
  export const SIZES: readonly ["s", "m"];
8217
8410
  export type BetaBadgeSize = (typeof SIZES)[number];
8218
8411
  export const ALIGNMENTS: readonly ["baseline", "middle"];
8219
- export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number]; type WithButtonProps = {
8412
+ export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number];
8413
+ type WithButtonProps = {
8220
8414
  /**
8221
8415
  * Will apply an onclick to the badge itself
8222
8416
  */
@@ -8225,11 +8419,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8225
8419
  * Aria label applied to the onClick button
8226
8420
  */
8227
8421
  onClickAriaLabel?: AriaAttributes['aria-label'];
8228
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8422
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8423
+ type WithAnchorProps = {
8229
8424
  href: string;
8230
8425
  target?: string;
8231
8426
  rel?: string;
8232
- } & 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<{
8233
8430
  title: string;
8234
8431
  tooltipContent?: ReactNode;
8235
8432
  }, {
@@ -8237,12 +8434,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8237
8434
  title?: string;
8238
8435
  }> & {
8239
8436
  label: ReactNode;
8240
- }; type LabelAsString = {
8437
+ };
8438
+ type LabelAsString = {
8241
8439
  /**
8242
8440
  * One word label like "Beta" or "Lab"
8243
8441
  */
8244
8442
  label: string;
8245
- }; type BadgeProps = {
8443
+ };
8444
+ type BadgeProps = {
8246
8445
  /**
8247
8446
  * Supply an icon type if the badge should just be an icon
8248
8447
  */
@@ -8336,7 +8535,8 @@ declare module '@elastic/eui/src/components/badge/badge_group/badge_group.styles
8336
8535
  declare module '@elastic/eui/src/components/badge/badge_group/badge_group' {
8337
8536
  import React, { ReactNode } from 'react';
8338
8537
  import { CommonProps } from '@elastic/eui/src/components/common';
8339
- 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];
8340
8540
  export interface EuiBadgeGroupProps {
8341
8541
  /**
8342
8542
  * Space between badges
@@ -8420,9 +8620,11 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
8420
8620
  import React, { CSSProperties, HTMLAttributes } from 'react';
8421
8621
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
8422
8622
  import { EuiPortalProps } from '@elastic/eui/src/components/portal';
8423
- 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];
8424
8625
  export const POSITIONS: readonly ["static", "fixed", "sticky"];
8425
- export type _BottomBarPosition = (typeof POSITIONS)[number]; type _BottomBarExclusivePositions = ExclusiveUnion<{
8626
+ export type _BottomBarPosition = (typeof POSITIONS)[number];
8627
+ type _BottomBarExclusivePositions = ExclusiveUnion<{
8426
8628
  position?: 'fixed';
8427
8629
  /**
8428
8630
  * Whether to wrap in an EuiPortal which appends the component to the body element.
@@ -8717,11 +8919,13 @@ declare module '@elastic/eui/src/components/breadcrumbs/breadcrumbs' {
8717
8919
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
8718
8920
  import type { EuiBreadcrumbsProps, EuiBreadcrumbProps } from '@elastic/eui/src/components/breadcrumbs/types';
8719
8921
  export const EuiBreadcrumbs: FunctionComponent<EuiBreadcrumbsProps>;
8720
- 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 = {
8721
8924
  isCollapsedButton: true;
8722
8925
  overflowBreadcrumbs: EuiBreadcrumbProps[];
8723
- }; type _EuiBreadcrumbsObjs = Array<ExclusiveUnion<EuiBreadcrumbProps, _EuiBreadcrumbCollapsedObj>>;
8724
- 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;
8725
8929
  export {};
8726
8930
 
8727
8931
  }
@@ -8740,7 +8944,7 @@ declare module '@elastic/eui/src/components/panel/split_panel/split_panel.styles
8740
8944
  export const euiSplitPanelInnerStyles: (euiThemeContext: UseEuiTheme) => {
8741
8945
  euiSplitPanelInner: import("@emotion/react").SerializedStyles;
8742
8946
  highContrastBorders: {
8743
- _renderBorder: (direction: 'right' | 'bottom') => string;
8947
+ _renderBorder: (direction: "right" | "bottom") => string;
8744
8948
  readonly column: string;
8745
8949
  readonly row: string;
8746
8950
  };
@@ -8831,7 +9035,9 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8831
9035
  import { IconType } from '@elastic/eui/src/components/icon';
8832
9036
  export const COLORS: readonly ["primary", "success", "warning", "danger", "accent"];
8833
9037
  export type Color = (typeof COLORS)[number];
8834
- 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';
8835
9041
  export type EuiCallOutProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> & {
8836
9042
  title?: ReactNode;
8837
9043
  iconType?: IconType;
@@ -8849,10 +9055,10 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8849
9055
  };
8850
9056
  export const EuiCallOut: React.ForwardRefExoticComponent<CommonProps & Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "color"> & {
8851
9057
  title?: ReactNode;
8852
- iconType?: IconType | undefined;
8853
- color?: "primary" | "accent" | "success" | "warning" | "danger" | undefined;
8854
- size?: Size | undefined;
8855
- heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | undefined;
9058
+ iconType?: IconType;
9059
+ color?: Color;
9060
+ size?: Size;
9061
+ heading?: Heading;
8856
9062
  /**
8857
9063
  * Passing an `onDismiss` callback will render a cross in the top right hand corner
8858
9064
  * of the callout.
@@ -8860,7 +9066,7 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8860
9066
  * This callback fires when users click this button, which allows conditionally
8861
9067
  * removing the callout or other actions.
8862
9068
  */
8863
- onDismiss?: (() => void) | undefined;
9069
+ onDismiss?: () => void;
8864
9070
  } & React.RefAttributes<HTMLDivElement>>;
8865
9071
  export {};
8866
9072
 
@@ -8897,7 +9103,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
8897
9103
  * 3. Horizontal layouts should always top left align no matter the textAlign prop
8898
9104
  * 4. Ensures the contents always stretch no matter the flex layout
8899
9105
  */
8900
- export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
9106
+ export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
8901
9107
  card: {
8902
9108
  euiCard: import("@emotion/react").SerializedStyles;
8903
9109
  aligned: {
@@ -8955,7 +9161,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
8955
9161
  };
8956
9162
  disabled: import("@emotion/react").SerializedStyles;
8957
9163
  };
8958
- export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
9164
+ export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
8959
9165
  hasBetaBadge: import("@emotion/react").SerializedStyles;
8960
9166
  euiCard__betaBadgeAnchor: import("@emotion/react").SerializedStyles;
8961
9167
  euiCard__betaBadge: import("@emotion/react").SerializedStyles;
@@ -8969,7 +9175,12 @@ declare module '@elastic/eui/src/components/card/card' {
8969
9175
  import { EuiIconProps } from '@elastic/eui/src/components/icon';
8970
9176
  import { EuiPanelProps } from '@elastic/eui/src/components/panel';
8971
9177
  import { EuiCardSelectProps } from '@elastic/eui/src/components/card/card_select';
8972
- 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<{
8973
9184
  layout?: 'vertical';
8974
9185
  /**
8975
9186
  * Changes alignment of the title and description
@@ -9168,7 +9379,9 @@ declare module '@elastic/eui/src/components/form/checkbox/checkbox_group' {
9168
9379
  }
9169
9380
  export interface EuiCheckboxGroupIdToSelectedMap {
9170
9381
  [id: string]: boolean;
9171
- } 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'> & {
9172
9385
  /**
9173
9386
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
9174
9387
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -9529,7 +9742,7 @@ declare module '@elastic/eui/src/components/form/field_search/field_search' {
9529
9742
  onClear: () => void;
9530
9743
  componentWillUnmount(): void;
9531
9744
  setRef: (inputElement: HTMLInputElement | null) => void;
9532
- 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;
9533
9746
  render(): React.JSX.Element;
9534
9747
  }
9535
9748
  export const EuiFieldSearch: React.ForwardRefExoticComponent<Omit<EuiFieldSearchProps, "stylesMemoizer"> & React.RefAttributes<Omit<EuiFieldSearchProps, "stylesMemoizer">>>;
@@ -9688,7 +9901,9 @@ declare module '@elastic/eui/src/components/progress/progress' {
9688
9901
  */
9689
9902
  color?: EuiProgressColor | CSSProperties['color'];
9690
9903
  position?: EuiProgressPosition;
9691
- }; 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'> & {
9692
9907
  max?: number;
9693
9908
  valueText?: boolean | ReactNode;
9694
9909
  label?: ReactNode;
@@ -9795,7 +10010,7 @@ declare module '@elastic/eui/src/components/form/file_picker/file_picker' {
9795
10010
  fileInput: HTMLInputElement | null;
9796
10011
  generatedId: string;
9797
10012
  handleChange: () => void;
9798
- removeFiles: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
10013
+ removeFiles: (e?: React.MouseEvent<HTMLButtonElement>) => void;
9799
10014
  showDrop: () => void;
9800
10015
  hideDrop: () => void;
9801
10016
  render(): React.JSX.Element;
@@ -9895,7 +10110,8 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
9895
10110
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
9896
10111
  import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
9897
10112
  export const DISPLAYS: readonly ["row", "columnCompressed", "center", "centerCompressed", "rowCompressed"];
9898
- export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number]; type EuiFormRowCommonProps = CommonProps & {
10113
+ export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number];
10114
+ type EuiFormRowCommonProps = CommonProps & {
9899
10115
  /**
9900
10116
  * - `columnCompressed` creates a compressed and horizontal layout
9901
10117
  * - `center`/`centerCompressed` helps align non-input content better with inline form layouts
@@ -9943,9 +10159,11 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
9943
10159
  * Passed along to the label element; and to the child field element when `disabled` doesn't already exist on the child field element.
9944
10160
  */
9945
10161
  isDisabled?: boolean;
9946
- }; type LabelProps = {
10162
+ };
10163
+ type LabelProps = {
9947
10164
  labelType?: 'label';
9948
- } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>; type LegendProps = {
10165
+ } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>;
10166
+ type LegendProps = {
9949
10167
  /**
9950
10168
  * Defaults to rendering a `<label>` but if passed `'legend'` for labelType,
9951
10169
  * will render both a `<legend>` and the surrounding container as a `<fieldset>`
@@ -10032,7 +10250,9 @@ declare module '@elastic/eui/src/components/form/radio/radio_group' {
10032
10250
  export interface EuiRadioGroupOption extends Omit<EuiRadioProps, 'checked' | 'onChange'> {
10033
10251
  id: string;
10034
10252
  }
10035
- 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'> & {
10036
10256
  /**
10037
10257
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
10038
10258
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -10070,7 +10290,7 @@ declare module '@elastic/eui/src/components/form/range/range_levels_colors' {
10070
10290
  import type { EuiRangeLevel } from '@elastic/eui/src/components/form/range/types';
10071
10291
  export const LEVEL_COLORS: readonly ["primary", "success", "warning", "danger"];
10072
10292
  export type EuiRangeLevelColor = (typeof LEVEL_COLORS)[number];
10073
- export const isNamedLevelColor: (color?: string | undefined) => color is "primary" | "success" | "warning" | "danger";
10293
+ export const isNamedLevelColor: (color?: EuiRangeLevelColor | string) => color is EuiRangeLevelColor;
10074
10294
  export const euiRangeLevelColor: (color: EuiRangeLevelColor | string, { euiTheme }: UseEuiTheme) => string;
10075
10295
  export const getLevelColor: (levels: EuiRangeLevel[], value: number) => "primary" | "success" | "warning" | "danger" | import("csstype").Property.Color | undefined;
10076
10296
 
@@ -10551,11 +10771,11 @@ declare module '@elastic/eui/src/components/form/range/dual_range.styles' {
10551
10771
 
10552
10772
  }
10553
10773
  declare module '@elastic/eui/src/components/form/range/dual_range' {
10554
-
10555
10774
  import React, { Component } from 'react';
10556
10775
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10557
10776
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
10558
- 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'];
10559
10779
  export class EuiDualRangeClass extends Component<EuiDualRangeProps & WithEuiThemeProps> {
10560
10780
  static contextType: React.Context<FormContextValue>;
10561
10781
  static defaultProps: {
@@ -10587,7 +10807,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10587
10807
  _determineInvalidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>) => void;
10588
10808
  _determineValidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10589
10809
  _determineThumbMovement: (newVal: number, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10590
- _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;
10591
10811
  handleSliderChange: (e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10592
10812
  _resetToRangeEnds: (e: React.KeyboardEvent<HTMLInputElement>) => void;
10593
10813
  _isDirectionalKeyPress: (event: React.KeyboardEvent<HTMLInputElement>) => boolean;
@@ -10598,7 +10818,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10598
10818
  handleLowerKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10599
10819
  handleUpperKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10600
10820
  handleDraggableKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
10601
- calculateThumbPositionStyle: (value: number, width?: number | undefined) => {
10821
+ calculateThumbPositionStyle: (value: number, width?: number) => {
10602
10822
  left: string;
10603
10823
  };
10604
10824
  onThumbFocus: (e: React.FocusEvent<HTMLDivElement>) => void;
@@ -10610,7 +10830,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10610
10830
  width: number;
10611
10831
  }) => void;
10612
10832
  getNearestStep: (value: number) => number;
10613
- handleDrag: (x: number, isFirstInteraction?: boolean | undefined) => void;
10833
+ handleDrag: (x: number, isFirstInteraction?: boolean) => void;
10614
10834
  render(): React.JSX.Element;
10615
10835
  }
10616
10836
  export const EuiDualRange: React.ForwardRefExoticComponent<Omit<EuiDualRangeProps, "theme"> & React.RefAttributes<Omit<EuiDualRangeProps, "theme">>>;
@@ -10640,7 +10860,6 @@ declare module '@elastic/eui/src/components/form/range/range_tooltip' {
10640
10860
 
10641
10861
  }
10642
10862
  declare module '@elastic/eui/src/components/form/range/range' {
10643
-
10644
10863
  import React, { Component } from 'react';
10645
10864
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10646
10865
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
@@ -10998,7 +11217,8 @@ declare module '@elastic/eui/src/components/code/code_block_annotations.style' {
10998
11217
  declare module '@elastic/eui/src/components/code/code_block_annotations' {
10999
11218
  import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
11000
11219
  import { CommonProps } from '@elastic/eui/src/components/common';
11001
- export type LineAnnotationMap = Record<number, ReactNode>; type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11220
+ export type LineAnnotationMap = Record<number, ReactNode>;
11221
+ type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11002
11222
  lineNumber: number;
11003
11223
  };
11004
11224
  export const EuiCodeBlockAnnotation: FunctionComponent<EuiCodeBlockAnnotationProps>;
@@ -11094,7 +11314,7 @@ declare module '@elastic/eui/src/components/code/code_block_overflow' {
11094
11314
  * the container.
11095
11315
  */
11096
11316
  export const useOverflow: ({ overflowHeight, }: {
11097
- overflowHeight?: string | number | undefined;
11317
+ overflowHeight?: number | string;
11098
11318
  }) => {
11099
11319
  setWrapperRef: import("react").Dispatch<import("react").SetStateAction<Element | null>>;
11100
11320
  tabIndex: 0 | -1;
@@ -11152,7 +11372,7 @@ declare module '@elastic/eui/src/components/code/code_block_copy' {
11152
11372
  * Hook that returns copy-related state/logic/utils
11153
11373
  */
11154
11374
  export const useCopy: ({ copyAriaLabel, isCopyable, isVirtualized, children, }: {
11155
- copyAriaLabel?: string | undefined;
11375
+ copyAriaLabel?: string;
11156
11376
  isCopyable: boolean;
11157
11377
  isVirtualized: boolean;
11158
11378
  children: ReactNode;
@@ -11301,7 +11521,7 @@ declare module '@elastic/eui/src/components/code/code_block_full_screen' {
11301
11521
  * Hook that returns fullscreen-related state/logic/utils
11302
11522
  */
11303
11523
  export const useFullScreen: ({ overflowHeight, }: {
11304
- overflowHeight?: string | number | undefined;
11524
+ overflowHeight?: number | string;
11305
11525
  }) => {
11306
11526
  fullScreenButton: React.JSX.Element | null;
11307
11527
  isFullScreen: boolean;
@@ -11343,7 +11563,7 @@ declare module '@elastic/eui/src/components/code/code_block_virtualized' {
11343
11563
  export const EuiCodeBlockVirtualized: ({ data, rowHeight, overflowHeight, preProps, codeProps, }: {
11344
11564
  data: RefractorNode[];
11345
11565
  rowHeight: number;
11346
- overflowHeight?: string | number | undefined;
11566
+ overflowHeight?: number | string;
11347
11567
  preProps: HTMLAttributes<HTMLPreElement>;
11348
11568
  codeProps: HTMLAttributes<HTMLElement>;
11349
11569
  }) => React.JSX.Element;
@@ -11357,7 +11577,8 @@ declare module '@elastic/eui/src/components/code/code_block' {
11357
11577
  export const FONT_SIZES: readonly ["s", "m", "l"];
11358
11578
  export type EuiCodeBlockFontSize = (typeof FONT_SIZES)[number];
11359
11579
  export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
11360
- export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number]; type VirtualizedOptionProps = ExclusiveUnion<{
11580
+ export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number];
11581
+ type VirtualizedOptionProps = ExclusiveUnion<{
11361
11582
  isVirtualized: true;
11362
11583
  overflowHeight: number | string;
11363
11584
  whiteSpace?: 'pre';
@@ -11445,7 +11666,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11445
11666
  import { EuiAccordionProps } from '@elastic/eui/src/components/accordion';
11446
11667
  import { IconType, IconSize, EuiIconProps } from '@elastic/eui/src/components/icon';
11447
11668
  import { EuiTitleProps } from '@elastic/eui/src/components/title';
11448
- 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];
11449
11671
  export interface EuiCollapsibleNavGroupInterface extends CommonProps {
11450
11672
  /**
11451
11673
  * ReactNode to render as this component's content
@@ -11480,7 +11702,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11480
11702
  * Title sizing equivalent to EuiTitle, but only `s` and smaller
11481
11703
  */
11482
11704
  titleSize?: Exclude<EuiTitleProps['size'], 'l' | 'm'>;
11483
- } type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11705
+ }
11706
+ type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11484
11707
  /**
11485
11708
  * If `true`, wraps children in the body of an accordion,
11486
11709
  * requiring the prop `title` to be used as the button.
@@ -11492,7 +11715,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11492
11715
  * with the option to add an iconType
11493
11716
  */
11494
11717
  title: ReactNode;
11495
- }; type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11718
+ };
11719
+ type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11496
11720
  /**
11497
11721
  * If `true`, wraps children in the body of an accordion,
11498
11722
  * requiring the prop `title` to be used as the button.
@@ -11563,19 +11787,21 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button.styles'
11563
11787
  }
11564
11788
  declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
11565
11789
  import { FunctionComponent } from 'react';
11566
- 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'>>;
11567
11792
  export const EuiFlyoutCloseButton: FunctionComponent<EuiFlyoutCloseButtonProps>;
11568
11793
  export {};
11569
11794
 
11570
11795
  }
11571
11796
  declare module '@elastic/eui/src/components/flyout/flyout' {
11572
- import React, { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11797
+ import { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11573
11798
  import { EuiBreakpointSize } from '@elastic/eui/src/services';
11574
11799
  import { CommonProps, PropsOfElement } from '@elastic/eui/src/components/common';
11575
11800
  import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
11576
11801
  import { EuiOverlayMaskProps } from '@elastic/eui/src/components/overlay_mask';
11577
11802
  import type { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
11578
- export const TYPES: readonly ["push", "overlay"]; type _EuiFlyoutType = (typeof TYPES)[number];
11803
+ export const TYPES: readonly ["push", "overlay"];
11804
+ type _EuiFlyoutType = (typeof TYPES)[number];
11579
11805
  export const SIDES: readonly ["left", "right"];
11580
11806
  export type _EuiFlyoutSide = (typeof SIDES)[number];
11581
11807
  export const SIZES: readonly ["s", "m", "l"];
@@ -11671,14 +11897,15 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
11671
11897
  * Set this to `false` if you need to disable this behavior for a specific reason.
11672
11898
  */
11673
11899
  includeFixedHeadersInFocusTrap?: boolean;
11674
- } const defaultElement = "div"; type Props<T extends ElementType> = CommonProps & {
11900
+ } const defaultElement = "div";
11901
+ type Props<T extends ElementType> = CommonProps & {
11675
11902
  /**
11676
11903
  * Sets the HTML element for `EuiFlyout`
11677
11904
  */
11678
11905
  as?: T;
11679
11906
  } & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
11680
11907
  export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
11681
- 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;
11682
11909
  export {};
11683
11910
 
11684
11911
  }
@@ -11988,28 +12215,28 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_button
11988
12215
  * Defaults to displaying a resizer for vertical (y-axis) resizing.
11989
12216
  * Set to `true` to display a resizer for horizontal (x-axis) resizing.
11990
12217
  */
11991
- isHorizontal?: boolean | undefined;
12218
+ isHorizontal?: boolean;
11992
12219
  /**
11993
12220
  * By default, EuiResizableButton will show a grab handle to indicate resizability.
11994
12221
  * This indicator can be optionally hidden to show a plain border instead.
11995
12222
  */
11996
- indicator?: "border" | "handle" | undefined;
12223
+ indicator?: "handle" | "border";
11997
12224
  /**
11998
12225
  * Allows customizing the alignment of grab `handle` indicators (does nothing for
11999
12226
  * border indicators). Defaults to `center`, but consider using `start` for extremely
12000
12227
  * tall content that scrolls off-screen
12001
12228
  */
12002
- alignIndicator?: "center" | "start" | "end" | undefined;
12229
+ alignIndicator?: "center" | "start" | "end";
12003
12230
  /**
12004
12231
  * By default, EuiResizableButton will overlap into the panels before/after it.
12005
12232
  * This can occasionally occlude interactive elements like scrollbars. To prevent
12006
12233
  * this overlap, use this prop to remove the overlap for the specified side.
12007
12234
  */
12008
- accountForScrollbars?: "before" | "after" | "both" | undefined;
12235
+ accountForScrollbars?: "before" | "after" | "both";
12009
12236
  /**
12010
12237
  * When disabled, the resizer button will be completely hidden
12011
12238
  */
12012
- disabled?: boolean | undefined;
12239
+ disabled?: boolean;
12013
12240
  } & React.RefAttributes<HTMLButtonElement>>;
12014
12241
  /**
12015
12242
  * Resizer button specific to controlled EuiResizableContainer usage
@@ -12140,9 +12367,9 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
12140
12367
  }
12141
12368
  export type ModeOptions = PanelModeType | [PanelModeType, Partial<ToggleOptions>];
12142
12369
  export type ToggleCollapseCallback = (panelId: EuiResizablePanelController['id'], options: ActionToggleOptions) => void;
12143
- export const getModeType: (mode?: ModeOptions | undefined) => PanelModeType | undefined;
12144
- export const getToggleOptions: (mode?: ModeOptions | undefined) => {
12145
- 'data-test-subj': string | undefined;
12370
+ export const getModeType: (mode?: ModeOptions) => PanelModeType | undefined;
12371
+ export const getToggleOptions: (mode?: ModeOptions) => {
12372
+ 'data-test-subj': string;
12146
12373
  className: string | null;
12147
12374
  position: string;
12148
12375
  };
@@ -12221,9 +12448,9 @@ declare module '@elastic/eui/src/components/resizable_container/helpers' {
12221
12448
  [key: string]: number;
12222
12449
  }) => any;
12223
12450
  }
12224
- 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;
12225
12452
  export const pxToPercent: (proportion: number, whole: number) => number;
12226
- export const sizesOnly: (panelObject: EuiResizableContainerRegistry['panels']) => {
12453
+ export const sizesOnly: (panelObject: EuiResizableContainerRegistry["panels"]) => {
12227
12454
  [key: string]: number;
12228
12455
  };
12229
12456
  export const getPanelMinSize: (panelMinSize: string[], containerSize: number) => number;
@@ -12398,7 +12625,8 @@ declare module '@elastic/eui/src/components/header/header.styles' {
12398
12625
  }
12399
12626
  declare module '@elastic/eui/src/components/collapsible_nav_beta/context' {
12400
12627
  import { MouseEventHandler } from 'react';
12401
- import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout'; type _EuiCollapsibleNavContext = {
12628
+ import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout';
12629
+ type _EuiCollapsibleNavContext = {
12402
12630
  isCollapsed: boolean;
12403
12631
  isPush: boolean;
12404
12632
  isOverlayOpen: boolean;
@@ -12430,11 +12658,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12430
12658
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
12431
12659
  export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
12432
12660
 
12433
- }
12434
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
12435
- import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12436
- export const colorVis: _EuiThemeVisColors;
12437
-
12438
12661
  }
12439
12662
  declare module '@elastic/eui/src/themes/themes' {
12440
12663
  import { EuiThemeSystem } from '@elastic/eui/src/services';
@@ -12444,143 +12667,6 @@ declare module '@elastic/eui/src/themes/themes' {
12444
12667
  provider?: EuiThemeSystem;
12445
12668
  }
12446
12669
 
12447
- }
12448
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
12449
- /**
12450
- * These are not actually used, but we map them to ensure token parity.
12451
- * They are mapped to other vis colors
12452
- */
12453
- export const severityColors: {
12454
- unknown: string;
12455
- neutral: string;
12456
- success: string;
12457
- warning: string;
12458
- risk: string;
12459
- danger: string;
12460
- };
12461
-
12462
- }
12463
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
12464
- import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
12465
- export const brand_colors: _EuiThemeBrandColors;
12466
- export const brand_text_colors: _EuiThemeBrandTextColors;
12467
- export const shade_colors: _EuiThemeShadeColors;
12468
- export const special_colors: _EuiThemeSpecialColors;
12469
- export const text_colors: _EuiThemeTextColors;
12470
- export const background_colors: _EuiThemeBackgroundColors;
12471
- export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12472
- export const border_colors: _EuiThemeBorderColors;
12473
- export const light_colors: _EuiThemeColorsMode;
12474
- export const dark_shades: _EuiThemeShadeColors;
12475
- export const dark_background_colors: _EuiThemeBackgroundColors;
12476
- export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12477
- export const dark_border_colors: _EuiThemeBorderColors;
12478
- export const dark_colors_ams: _EuiThemeColorsMode;
12479
- export const colors: _EuiThemeColors;
12480
-
12481
- }
12482
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
12483
- import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
12484
- export const animation_speed: _EuiThemeAnimationSpeeds;
12485
- export const animation_ease: _EuiThemeAnimationEasings;
12486
- export const animation: _EuiThemeAnimation;
12487
-
12488
- }
12489
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
12490
- export { breakpoint } from '@elastic/eui-theme-common';
12491
-
12492
- }
12493
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
12494
- import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
12495
- export const base: _EuiThemeBase;
12496
- export const size: _EuiThemeSizes;
12497
-
12498
- }
12499
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
12500
- import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
12501
- export const border: _EuiThemeBorder;
12502
-
12503
- }
12504
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
12505
- import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
12506
- export const levels: _EuiThemeLevels;
12507
-
12508
- }
12509
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
12510
- import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
12511
- export const fontScale: _EuiThemeFontScales;
12512
- export const fontBase: _EuiThemeFontBase;
12513
- export const fontWeight: _EuiThemeFontWeights;
12514
- export const font: _EuiThemeFont;
12515
-
12516
- }
12517
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
12518
- import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
12519
- export const focus: _EuiThemeFocus;
12520
-
12521
- }
12522
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
12523
- import { _EuiThemeButton } from '@elastic/eui-theme-common';
12524
- export const buttons: _EuiThemeButton;
12525
-
12526
- }
12527
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
12528
- export const forms: {
12529
- maxWidth: string;
12530
- LIGHT: {
12531
- background: string;
12532
- backgroundDisabled: string;
12533
- backgroundReadOnly: any;
12534
- backgroundFocused: any;
12535
- backgroundAutofilled: string;
12536
- prependBackground: string;
12537
- border: string;
12538
- borderAutofilled: string;
12539
- controlBorder: string;
12540
- controlBorderSelected: string;
12541
- controlBorderDisabled: string;
12542
- controlBackgroundUnselected: any;
12543
- controlBackgroundDisabled: any;
12544
- colorHasPlaceholder: string;
12545
- colorDisabled: any;
12546
- iconDisabled: any;
12547
- };
12548
- DARK: {
12549
- background: string;
12550
- backgroundFocused: string;
12551
- backgroundAutofilled: string;
12552
- prependBackground: string;
12553
- border: string;
12554
- controlBorder: string;
12555
- controlBorderSelected: string;
12556
- controlBorderDisabled: string;
12557
- backgroundDisabled: string;
12558
- backgroundReadOnly: any;
12559
- borderAutofilled: string;
12560
- controlBackgroundUnselected: any;
12561
- controlBackgroundDisabled: any;
12562
- colorHasPlaceholder: string;
12563
- colorDisabled: any;
12564
- iconDisabled: any;
12565
- };
12566
- };
12567
-
12568
- }
12569
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
12570
- import { _EuiThemeComponents } from '@elastic/eui-theme-common';
12571
- export const components: _EuiThemeComponents;
12572
-
12573
- }
12574
- declare module '@elastic/eui/src/themes/amsterdam/theme' {
12575
- import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
12576
- export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
12577
- export const euiThemeAmsterdam: EuiThemeShape;
12578
- export const EuiThemeAmsterdam: {
12579
- model: EuiThemeShape;
12580
- root: EuiThemeShape;
12581
- key: string;
12582
- };
12583
-
12584
12670
  }
12585
12671
  declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
12586
12672
  export * from '@elastic/eui/src/global_styling/mixins/_shadow';
@@ -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) => "auto" | "default" | "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" | "m" | "h" | "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,14 +21747,14 @@ 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';
21578
21754
  import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
21579
21755
  export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
21580
21756
  /**
21581
- * Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
21757
+ * Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
21582
21758
  * Pass `null` to remove all theming including global reset
21583
21759
  */
21584
21760
  theme?: EuiThemeSystem | null;
@@ -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,14 +23011,14 @@ 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
- width: number | undefined;
23016
+ css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
23017
+ width: number;
22842
23018
  color?: string | undefined;
22843
23019
  content?: string | undefined;
22844
- hidden?: boolean | undefined;
22845
- css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
22846
23020
  translate?: "yes" | "no" | undefined;
23021
+ hidden?: boolean | undefined;
22847
23022
  property?: string | undefined;
22848
23023
  className?: string | undefined;
22849
23024
  defaultChecked?: boolean | 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"?: "none" | "both" | "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" | "none" | "copy" | "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;