@elastic/eui 102.0.0-amsterdam.0 → 102.1.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 +1233 -1044
  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,13 +171,119 @@ declare module '@elastic/eui/src/components/common' {
167
171
  onClick?: MouseEventHandler<HTMLButtonElement>;
168
172
  } & ButtonHTMLAttributes<HTMLButtonElement> & P;
169
173
 
174
+ }
175
+ declare module '@elastic/eui/src/services/theme/types' {
176
+ export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
177
+
170
178
  }
171
179
  declare module '@elastic/eui/src/services/theme/utils' {
172
180
  export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
173
181
 
174
182
  }
175
- declare module '@elastic/eui/src/services/theme/types' {
176
- export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
183
+ declare module '@elastic/eui/src/services/theme/context' {
184
+ import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
185
+ export const DEFAULTS: {
186
+ system: {
187
+ model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
188
+ root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
189
+ key: string;
190
+ };
191
+ modifications: {};
192
+ colorMode: "LIGHT";
193
+ highContrastMode: false;
194
+ };
195
+ export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
196
+ export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
197
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
198
+ }>>;
199
+ export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
200
+ export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
201
+ export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
202
+ export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
203
+ export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
204
+
205
+ }
206
+ declare module '@elastic/eui/src/services/theme/warning' {
207
+ type LEVELS = 'log' | 'warn' | 'error';
208
+ type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
209
+ export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
210
+ export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
211
+ export const emitEuiProviderWarning: (providerMessage: string) => void;
212
+ export {};
213
+
214
+ }
215
+ declare module '@elastic/eui/src/services/theme/hooks' {
216
+ import React from 'react';
217
+ import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
218
+ /**
219
+ * Hook for function components
220
+ */
221
+ export interface UseEuiTheme<T extends {} = {}> {
222
+ euiTheme: EuiThemeComputed<T>;
223
+ colorMode: EuiThemeColorModeStandard;
224
+ highContrastMode: EuiThemeHighContrastMode;
225
+ modifications: EuiThemeModifications<T>;
226
+ }
227
+ export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
228
+ /**
229
+ * HOC for class components
230
+ */
231
+ export interface WithEuiThemeProps<P extends {} = {}> {
232
+ theme: UseEuiTheme<P>;
233
+ }
234
+ export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
235
+ /**
236
+ * Render prop alternative for complex class components
237
+ * Most useful for scenarios where a HOC may interfere with typing
238
+ */
239
+ export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
240
+ children: (theme: UseEuiTheme) => React.ReactElement;
241
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
242
+ /**
243
+ * Minor syntactical sugar hook for theme CSS variables.
244
+ * Primarily meant for internal EUI usage.
245
+ */
246
+ export const useEuiThemeCSSVariables: () => {
247
+ setGlobalCSSVariables: Function;
248
+ globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
249
+ setNearestThemeCSSVariables: Function;
250
+ themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
251
+ };
252
+
253
+ }
254
+ declare module '@elastic/eui/src/services/throttle' {
255
+ export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
256
+
257
+ }
258
+ declare module '@elastic/eui/src/services/breakpoint/_sorting' {
259
+ import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
260
+ export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
261
+ export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
262
+
263
+ }
264
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
265
+ import React, { FunctionComponent, PropsWithChildren } from 'react';
266
+ import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
267
+ type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
268
+ export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
269
+ /**
270
+ * Returns the current breakpoint based on window width.
271
+ * Typically only called by the top-level `EuiProvider` (to reduce the number
272
+ * of window resize listeners on the page). Also conditionally called if a
273
+ * nested `EuiThemeProvider` defines a `modify.breakpoint` override
274
+ */
275
+ export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
276
+ export {};
277
+
278
+ }
279
+ declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
280
+ /**
281
+ * Hook util / syntactical sugar for useContext()
282
+ *
283
+ * This hook is in its own separate file to make mocking it
284
+ * as a testenv easy for Jest unit tests
285
+ */
286
+ export const useCurrentEuiBreakpoint: () => string | undefined;
177
287
 
178
288
  }
179
289
  declare module '@elastic/eui/src/services/emotion/clone_element' {
@@ -183,7 +293,7 @@ declare module '@elastic/eui/src/services/emotion/clone_element' {
183
293
  * `css` prop - as a result, we need to use `jsx()` to manually clone the element
184
294
  * See https://github.com/emotion-js/emotion/issues/1404
185
295
  */
186
- export const cloneElementWithCss: (element: any, props: any, cssOrder?: 'before' | 'after') => React.ReactElement;
296
+ export const cloneElementWithCss: (element: any, props: any, cssOrder?: "before" | "after") => React.ReactElement;
187
297
 
188
298
  }
189
299
  declare module '@elastic/eui/src/services/emotion/prefixer' {
@@ -212,9 +322,9 @@ declare module '@elastic/eui/src/services/emotion/css' {
212
322
  * and is not yet intended to be a public export
213
323
  */
214
324
  export const css: {
215
- (template: TemplateStringsArray, ...args: import("@emotion/serialize").CSSInterpolation[]): string;
216
- (...args: import("@emotion/serialize").CSSInterpolation[]): string;
217
- }, cx: (...classNames: import("@emotion/css/create-instance").ClassNamesArg[]) => string, cache: import("@emotion/css/create-instance").EmotionCache;
325
+ (template: TemplateStringsArray, ...args: Array<import("@emotion/serialize").CSSInterpolation>): string;
326
+ (...args: Array<import("@emotion/serialize").CSSInterpolation>): string;
327
+ }, cx: (...classNames: Array<import("@emotion/css/create-instance").ClassNamesArg>) => string, cache: import("@emotion/css/create-instance").EmotionCache;
218
328
 
219
329
  }
220
330
  declare module '@elastic/eui/src/services/theme/emotion' {
@@ -240,7 +350,8 @@ declare module '@elastic/eui/src/services/hooks/useDependentState' {
240
350
 
241
351
  }
242
352
  declare module '@elastic/eui/src/services/hooks/useCombinedRefs' {
243
- import { MutableRefObject, Ref } from 'react'; type Refs<T> = Array<Ref<T> | MutableRefObject<T | undefined> | undefined>;
353
+ import { MutableRefObject, Ref } from 'react';
354
+ type Refs<T> = Array<Ref<T> | MutableRefObject<T | undefined> | undefined>;
244
355
  export const useCombinedRefs: <T>(refs: Refs<T>) => (node: T) => void;
245
356
  /**
246
357
  * Non-hook util for setting multiple refs/ref types.
@@ -269,11 +380,7 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
269
380
  * has no control over and may not be correctly memoized (i.e., will create a new
270
381
  * reference on every rerender unless passed through this hook).
271
382
  */
272
- export const useDeepEqual: <T = any[] | Record<string, any> | undefined>(object: T) => T;
273
-
274
- }
275
- declare module '@elastic/eui/src/services/throttle' {
276
- export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
383
+ export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
277
384
 
278
385
  }
279
386
  declare module '@elastic/eui/src/services/hooks/useMouseMove' {
@@ -297,18 +404,12 @@ declare module '@elastic/eui/src/services/hooks' {
297
404
  export * from '@elastic/eui/src/services/hooks/useMouseMove';
298
405
  export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
299
406
 
300
- }
301
- declare module '@elastic/eui/src/services/theme/warning' {
302
- type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
303
- export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
304
- export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
305
- export const emitEuiProviderWarning: (providerMessage: string) => void;
306
- export {};
307
-
308
407
  }
309
408
  declare module '@elastic/eui/src/services/theme/style_memoization' {
310
409
  import React, { FunctionComponent, PropsWithChildren } from 'react';
311
- import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks'; type StylesMap = Record<string, any>; type MemoizedStylesMap = WeakMap<Function, StylesMap>;
410
+ import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
411
+ type StylesMap = Record<string, any>;
412
+ type MemoizedStylesMap = WeakMap<Function, StylesMap>;
312
413
  export const EuiThemeMemoizedStylesContext: React.Context<MemoizedStylesMap>;
313
414
  export const EuiThemeMemoizedStylesProvider: FunctionComponent<PropsWithChildren>;
314
415
  /**
@@ -342,7 +443,7 @@ declare module '@elastic/eui/src/services/theme/high_contrast_overrides' {
342
443
  system: EuiThemeSystem;
343
444
  modifications: EuiThemeModifications;
344
445
  }) => import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
345
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
446
+ overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
346
447
  }> | {
347
448
  colors: {
348
449
  LIGHT: {
@@ -499,11 +600,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
499
600
  */
500
601
  categorical?: boolean): string[];
501
602
 
502
- }
503
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
504
- import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
505
- export const colorVis: _EuiThemeVisColors;
506
-
507
603
  }
508
604
  declare module '@elastic/eui/src/services/color/vis_color_store' {
509
605
  import { _EuiVisColorStore } from '@elastic/eui-theme-common';
@@ -626,8 +722,8 @@ declare module '@elastic/eui/src/services/color/visualization_colors' {
626
722
  }
627
723
  declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
628
724
  import { EuiPalette, EuiPaletteColorBlindProps } from '@elastic/eui/src/services/color/eui_palettes';
629
- export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
630
- export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps | undefined) => EuiPalette;
725
+ export const useEuiPaletteColorBlind: (args?: EuiPaletteColorBlindProps) => EuiPalette;
726
+ export const useEuiPaletteColorBlindBehindText: (args?: EuiPaletteColorBlindProps) => EuiPalette;
631
727
  export const useEuiPaletteForStatus: (steps: number) => EuiPalette;
632
728
  export const useEuiPaletteForTemperature: (steps: number) => EuiPalette;
633
729
  export const useEuiPaletteComplementary: (steps: number) => EuiPalette;
@@ -637,11 +733,99 @@ declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
637
733
  export const useEuiPaletteWarm: (steps: number) => EuiPalette;
638
734
  export const useEuiPaletteGray: (steps: number) => EuiPalette;
639
735
 
736
+ }
737
+ declare module '@elastic/eui/src/global_styling/mixins/_button' {
738
+ import { type SerializedStyles } from '@emotion/react';
739
+ import { UseEuiTheme } from '@elastic/eui/src/services';
740
+ /** Tentative usage; these exist only to be used as button directly when used within other components */
741
+ export const SEVERITY_COLORS: readonly ["neutral", "risk"];
742
+ export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
743
+ export const EXTENDED_BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
744
+ export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
745
+ export type _EuiExtendedButtonColor = (typeof EXTENDED_BUTTON_COLORS)[number];
746
+ export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
747
+ export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
748
+ export interface _EuiButtonOptions {
749
+ display?: _EuiButtonDisplay;
750
+ }
751
+ /**
752
+ * Creates the `base` version of button styles with proper text contrast.
753
+ * @param euiThemeContext
754
+ * @param color One of the named button colors or 'disabled'
755
+ * @returns Style object `{ backgroundColor, color }`
756
+ */
757
+ export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
758
+ border: string;
759
+ color: string;
760
+ backgroundColor: string;
761
+ } | {
762
+ border?: undefined;
763
+ color: string;
764
+ backgroundColor: string;
765
+ };
766
+ /**
767
+ * Creates the `fill` version of buttons styles with proper text contrast.
768
+ * @param euiThemeContext
769
+ * @param color One of the named button colors or 'disabled'
770
+ * @returns Style object `{ backgroundColor, color }`
771
+ */
772
+ export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
773
+ border: string;
774
+ color: string;
775
+ backgroundColor: string;
776
+ } | {
777
+ border?: undefined;
778
+ color: string;
779
+ backgroundColor: string;
780
+ };
781
+ /**
782
+ * Creates the `empty` version of button styles using the text-variant and adding interactive styles.
783
+ * @param euiThemeContext
784
+ * @param color One of the named button colors or 'disabled'
785
+ * @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
786
+ */
787
+ export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
788
+ color: string;
789
+ backgroundColor: string;
790
+ };
791
+ /**
792
+ * Given the button display type, returns the Emotion based color keys.
793
+ * @param options Button display type
794
+ * @returns An object of `_EuiExtendedButtonColor` keys including `disabled`
795
+ */
796
+ export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
797
+ /**
798
+ * Creates the translate animation when button is in focus.
799
+ * @returns string
800
+ */
801
+ export const useEuiButtonFocusCSS: () => SerializedStyles;
802
+ /**
803
+ * Map of `size` props to various sizings/scales
804
+ * that should remain consistent across all buttons
805
+ */
806
+ export const euiButtonSizeMap: ({ euiTheme }: UseEuiTheme) => {
807
+ xs: {
808
+ height: string;
809
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
810
+ fontScale: "xs";
811
+ };
812
+ s: {
813
+ height: string;
814
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
815
+ fontScale: "s";
816
+ };
817
+ m: {
818
+ height: string;
819
+ radius: import("csstype").Property.BorderRadius<string | number> | undefined;
820
+ fontScale: "s";
821
+ };
822
+ };
823
+
640
824
  }
641
825
  declare module '@elastic/eui/src/global_styling/mixins/_color' {
642
826
  import { SerializedStyles } from '@emotion/react';
643
827
  import { UseEuiTheme } from '@elastic/eui/src/services';
644
- export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
828
+ export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
645
829
  export type _EuiBackgroundColor = (typeof BACKGROUND_COLORS)[number];
646
830
  export interface _EuiBackgroundColorOptions {
647
831
  /**
@@ -724,7 +908,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
724
908
  horizontal: string;
725
909
  vertical: string;
726
910
  };
727
- export const LOGICAL_SIDES: ("left" | "right" | "top" | "bottom" | "horizontal" | "vertical")[];
911
+ export const LOGICAL_SIDES: ("left" | "right" | "bottom" | "top" | "horizontal" | "vertical")[];
728
912
  export type LogicalSides = (typeof LOGICAL_SIDES)[number];
729
913
  export const logicals: {
730
914
  height: string;
@@ -783,7 +967,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
783
967
  "border-bottom-right-radius": string;
784
968
  _shorthands: string[];
785
969
  };
786
- export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "top" | "bottom" | "horizontal" | "vertical" | "height" | "max-height" | "max-width" | "min-height" | "min-width" | "margin-left" | "margin-right" | "margin-top" | "margin-bottom" | "margin-horizontal" | "margin-vertical" | "padding-left" | "padding-right" | "padding-top" | "padding-bottom" | "padding-horizontal" | "padding-vertical" | "overflow-x" | "overflow-y" | "border-horizontal" | "border-horizontal-color" | "border-horizontal-width" | "border-horizontal-style" | "border-vertical" | "border-vertical-color" | "border-vertical-width" | "border-vertical-style" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius")[];
970
+ export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "bottom" | "height" | "top" | "horizontal" | "vertical" | "max-height" | "max-width" | "min-height" | "min-width" | "margin-left" | "margin-right" | "margin-top" | "margin-bottom" | "margin-horizontal" | "margin-vertical" | "padding-left" | "padding-right" | "padding-top" | "padding-bottom" | "padding-horizontal" | "padding-vertical" | "overflow-x" | "overflow-y" | "border-horizontal" | "border-horizontal-color" | "border-horizontal-width" | "border-horizontal-style" | "border-vertical" | "border-vertical-color" | "border-vertical-width" | "border-vertical-style" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius")[];
787
971
  export type LogicalProperties = (typeof LOGICAL_PROPERTIES)[number];
788
972
  /**
789
973
  *
@@ -944,7 +1128,7 @@ declare module '@elastic/eui/src/global_styling/functions/typography' {
944
1128
  * this mixin will ensure that the sizing is dependent on the boldest
945
1129
  * weight so it doesn't shift sibling content.
946
1130
  */
947
- export const euiTextShift: (fontWeight: keyof _EuiThemeFontWeights | undefined, attribute: string | undefined, euiTheme: UseEuiTheme['euiTheme']) => string;
1131
+ export const euiTextShift: (fontWeight: keyof _EuiThemeFontWeights | undefined, attribute: string | undefined, euiTheme: UseEuiTheme["euiTheme"]) => string;
948
1132
 
949
1133
  }
950
1134
  declare module '@elastic/eui/src/global_styling/functions' {
@@ -981,7 +1165,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
981
1165
  corner?: CSSProperties['borderWidth'];
982
1166
  }
983
1167
  export const euiScrollBarStyles: ({ euiTheme: { colors, size } }: UseEuiTheme, { thumbColor: _thumbColor, trackColor, width, size: _size, corner: _corner, }?: EuiScrollBarStyles) => string;
984
- export const useEuiScrollBar: (options?: EuiScrollBarStyles | undefined) => string;
1168
+ export const useEuiScrollBar: (options?: EuiScrollBarStyles) => string;
985
1169
  /**
986
1170
  * 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
987
1171
  * Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
@@ -1006,7 +1190,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1006
1190
  mask?: boolean;
1007
1191
  }
1008
1192
  export const euiOverflowScroll: (euiTheme: UseEuiTheme, { direction, mask }?: EuiScrollOverflowStyles) => string;
1009
- export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles['direction'], mask?: EuiScrollOverflowStyles['mask']) => string;
1193
+ export const useEuiOverflowScroll: (direction: EuiScrollOverflowStyles["direction"], mask?: EuiScrollOverflowStyles["mask"]) => string;
1010
1194
  /**
1011
1195
  * For quickly applying a full-height element whether using flex or not
1012
1196
  */
@@ -1017,6 +1201,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
1017
1201
  declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1018
1202
  import { SerializedStyles } from '@emotion/react';
1019
1203
  import { UseEuiTheme } from '@elastic/eui/src/services/theme';
1204
+ import { LogicalSides } from '@elastic/eui/src/global_styling/functions';
1020
1205
  export const PADDING_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
1021
1206
  export type EuiPaddingSize = (typeof PADDING_SIZES)[number];
1022
1207
  /**
@@ -1024,7 +1209,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
1024
1209
  */
1025
1210
  export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
1026
1211
  export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
1027
- export const useEuiPaddingCSS: (side?: "left" | "right" | "top" | "bottom" | "horizontal" | "vertical" | undefined) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
1212
+ export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
1028
1213
 
1029
1214
  }
1030
1215
  declare module '@elastic/eui/src/global_styling/mixins/_states' {
@@ -1039,11 +1224,11 @@ declare module '@elastic/eui/src/global_styling/mixins/_states' {
1039
1224
  * @param offset Accepts a specific measurement or 'inset', 'outset' or 'center' to adjust outline position
1040
1225
  * @param color Accepts any CSS color
1041
1226
  */
1042
- export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties['outlineColor']) => string;
1227
+ export const euiOutline: ({ euiTheme }: UseEuiTheme, offset?: _EuiFocusRingOffset, color?: CSSProperties["outlineColor"]) => string;
1043
1228
  export const euiFocusRing: (euiThemeContext: UseEuiTheme, offset?: _EuiFocusRingOffset, options?: {
1044
- color?: CSSProperties['outlineColor'];
1045
- } | undefined) => string;
1046
- export const useEuiFocusRing: (offset?: _EuiFocusRingOffset, color?: CSSProperties['outlineColor']) => string;
1229
+ color?: CSSProperties["outlineColor"];
1230
+ }) => string;
1231
+ export const useEuiFocusRing: (offset?: _EuiFocusRingOffset, color?: CSSProperties["outlineColor"]) => string;
1047
1232
 
1048
1233
  }
1049
1234
  declare module '@elastic/eui/src/global_styling/mixins/_typography' {
@@ -1058,8 +1243,8 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1058
1243
  /**
1059
1244
  * Returns font-size and line-height
1060
1245
  */
1061
- export const euiFontSize: ({ euiTheme }: UseEuiTheme, scale: _EuiThemeFontScale, options?: _FontScaleOptions | undefined) => EuiThemeFontSize;
1062
- export const useEuiFontSize: (scale: _EuiThemeFontScale, options?: _FontScaleOptions | undefined) => EuiThemeFontSize;
1246
+ export const euiFontSize: ({ euiTheme }: UseEuiTheme, scale: _EuiThemeFontScale, options?: _FontScaleOptions) => EuiThemeFontSize;
1247
+ export const useEuiFontSize: (scale: _EuiThemeFontScale, options?: _FontScaleOptions) => EuiThemeFontSize;
1063
1248
  /**
1064
1249
  * Force text to wrap on natural word breaks (e.g. spaces & hyphens)
1065
1250
  * https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
@@ -1068,18 +1253,12 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
1068
1253
  /**
1069
1254
  * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
1070
1255
  */
1071
- export const euiTextTruncate: (maxWidth?: CSSProperties['maxWidth']) => string;
1256
+ export const euiTextTruncate: (maxWidth?: CSSProperties["maxWidth"]) => string;
1072
1257
  /**
1073
1258
  * Fixed-width numbers for tabular data
1074
1259
  */
1075
1260
  export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
1076
1261
 
1077
- }
1078
- declare module '@elastic/eui/src/services/breakpoint/_sorting' {
1079
- import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
1080
- export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1081
- export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
1082
-
1083
1262
  }
1084
1263
  declare module '@elastic/eui/src/global_styling/variables/animations' {
1085
1264
  export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
@@ -1159,99 +1338,15 @@ declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
1159
1338
  export const useEuiMaxBreakpoint: (size: _EuiThemeBreakpoint) => string;
1160
1339
 
1161
1340
  }
1162
- declare module '@elastic/eui/src/global_styling/mixins/_button' {
1163
- import { type SerializedStyles } from '@emotion/react';
1164
- import { UseEuiTheme } from '@elastic/eui/src/services';
1165
- export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
1166
- export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
1167
- export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
1168
- export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
1169
- export interface _EuiButtonOptions {
1170
- display?: _EuiButtonDisplay;
1341
+ declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1342
+ import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
1343
+ export { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, };
1344
+ export interface EuiShadowCustomColor {
1345
+ color?: string;
1171
1346
  }
1172
- /**
1173
- * Creates the `base` version of button styles with proper text contrast.
1174
- * @param euiThemeContext
1175
- * @param color One of the named button colors or 'disabled'
1176
- * @returns Style object `{ backgroundColor, color }`
1177
- */
1178
- export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1179
- border: string;
1180
- color: string;
1181
- backgroundColor: string;
1182
- } | {
1183
- border?: undefined;
1184
- color: string;
1185
- backgroundColor: string;
1186
- };
1187
- /**
1188
- * Creates the `fill` version of buttons styles with proper text contrast.
1189
- * @param euiThemeContext
1190
- * @param color One of the named button colors or 'disabled'
1191
- * @returns Style object `{ backgroundColor, color }`
1192
- */
1193
- export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1194
- border: string;
1195
- color: string;
1196
- backgroundColor: string;
1197
- } | {
1198
- border?: undefined;
1199
- color: string;
1200
- backgroundColor: string;
1201
- };
1202
- /**
1203
- * Creates the `empty` version of button styles using the text-variant and adding interactive styles.
1204
- * @param euiThemeContext
1205
- * @param color One of the named button colors or 'disabled'
1206
- * @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
1207
- */
1208
- export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiButtonColor | 'disabled') => {
1209
- color: string;
1210
- backgroundColor: string;
1211
- };
1212
- /**
1213
- * Given the button display type, returns the Emotion based color keys.
1214
- * @param options Button display type
1215
- * @returns An object of `_EuiButtonColor` keys including `disabled`
1216
- */
1217
- export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
1218
- /**
1219
- * Creates the translate animation when button is in focus.
1220
- * @returns string
1221
- */
1222
- export const useEuiButtonFocusCSS: () => SerializedStyles;
1223
- /**
1224
- * Map of `size` props to various sizings/scales
1225
- * that should remain consistent across all buttons
1226
- */
1227
- export const euiButtonSizeMap: ({ euiTheme }: UseEuiTheme) => {
1228
- xs: {
1229
- height: string;
1230
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1231
- fontScale: "xs";
1232
- };
1233
- s: {
1234
- height: string;
1235
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1236
- fontScale: "s";
1237
- };
1238
- m: {
1239
- height: string;
1240
- radius: import("csstype").Property.BorderRadius<string | number> | undefined;
1241
- fontScale: "s";
1242
- };
1243
- };
1244
-
1245
- }
1246
- declare module '@elastic/eui/src/global_styling/mixins/_shadow' {
1247
- import { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, type _EuiThemeShadowSize, type EuiShadowOptions } from '@elastic/eui-theme-common';
1248
- export { euiShadowFlat, euiShadow, euiSlightShadowHover, euiShadowXSmall, euiShadowSmall, euiShadowMedium, euiShadowLarge, euiShadowXLarge, };
1249
- export interface EuiShadowCustomColor {
1250
- color?: string;
1251
- }
1252
- export const useEuiSlightShadowHover: (options?: EuiShadowOptions | undefined) => string;
1253
- export const useEuiShadowFlat: (options?: EuiShadowOptions | undefined) => string;
1254
- export const useEuiShadow: (size?: _EuiThemeShadowSize, options?: EuiShadowOptions | undefined) => string;
1347
+ export const useEuiSlightShadowHover: (options?: EuiShadowOptions) => string;
1348
+ export const useEuiShadowFlat: (options?: EuiShadowOptions) => string;
1349
+ export const useEuiShadow: (size?: _EuiThemeShadowSize, options?: EuiShadowOptions) => string;
1255
1350
 
1256
1351
  }
1257
1352
  declare module '@elastic/eui/src/global_styling/mixins' {
@@ -1342,7 +1437,7 @@ declare module '@elastic/eui/src/components/text/text_color' {
1342
1437
  import type { SharedTextProps, CloneElement, EuiTextColors } from '@elastic/eui/src/components/text/types';
1343
1438
  export const COLORS: readonly ["default", "subdued", "success", "accent", "accentSecondary", "danger", "warning", "ghost", "inherit"];
1344
1439
  export type TextColor = (typeof COLORS)[number];
1345
- export const _isNamedColor: (color: any) => color is "accent" | "accentSecondary" | "success" | "warning" | "danger" | "ghost" | "inherit" | "default" | "subdued";
1440
+ export const _isNamedColor: (color: any) => color is TextColor;
1346
1441
  export type EuiTextColorProps = SharedTextProps & CloneElement & EuiTextColors;
1347
1442
  export const EuiTextColor: FunctionComponent<EuiTextColorProps>;
1348
1443
 
@@ -1442,13 +1537,17 @@ declare module '@elastic/eui/src/components/title/title.styles' {
1442
1537
  import { CSSProperties } from 'react';
1443
1538
  import { UseEuiTheme } from '@elastic/eui/src/services';
1444
1539
  import { _FontScaleOptions } from '@elastic/eui/src/global_styling';
1445
- import { EuiTitleSize } from '@elastic/eui/src/components/title/title'; type EuiThemeTitle = {
1540
+ import { EuiTitleSize } from '@elastic/eui/src/components/title/title';
1541
+ /**
1542
+ * Mixin
1543
+ */
1544
+ type EuiThemeTitle = {
1446
1545
  fontSize: CSSProperties['fontSize'];
1447
1546
  lineHeight: CSSProperties['lineHeight'];
1448
1547
  fontWeight: CSSProperties['fontWeight'];
1449
1548
  color: CSSProperties['color'];
1450
1549
  };
1451
- export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions | undefined) => EuiThemeTitle;
1550
+ export const euiTitle: (euiThemeContext: UseEuiTheme, scale?: EuiTitleSize, options?: _FontScaleOptions) => EuiThemeTitle;
1452
1551
  /**
1453
1552
  * Styles
1454
1553
  */
@@ -1512,7 +1611,7 @@ declare module '@elastic/eui/src/components/text/text.styles' {
1512
1611
  /**
1513
1612
  * Mixins
1514
1613
  */
1515
- export const euiText: (euiTheme: UseEuiTheme['euiTheme'], inheritColor?: boolean) => {
1614
+ export const euiText: (euiTheme: UseEuiTheme["euiTheme"], inheritColor?: boolean) => {
1516
1615
  color: string;
1517
1616
  fontWeight: import("csstype").Property.FontWeight | undefined;
1518
1617
  };
@@ -1595,9 +1694,9 @@ declare module '@elastic/eui/src/services/predicate/common_predicates' {
1595
1694
  export const isUndefined: (value: any) => value is undefined;
1596
1695
  export const isNull: (value: any) => value is null;
1597
1696
  export const isNil: (value: any) => value is null | undefined;
1598
- export const isMoment: (value: any) => boolean;
1697
+ export const isMoment: (value: any) => value is moment.Moment;
1599
1698
  export const isDate: (value: any) => value is Date;
1600
- export const isDateLike: (value: any) => value is Date | moment.Moment;
1699
+ export const isDateLike: (value: any) => value is moment.Moment | Date;
1601
1700
 
1602
1701
  }
1603
1702
  declare module '@elastic/eui/src/services/predicate/lodash_predicates' {
@@ -1632,7 +1731,8 @@ declare module '@elastic/eui/src/components/i18n/i18n_util' {
1632
1731
  declare module '@elastic/eui/src/components/i18n/i18n' {
1633
1732
  import React, { ReactElement, ReactNode } from 'react';
1634
1733
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
1635
- import { Renderable } from '@elastic/eui/src/components/context/context'; type ResolvedType<T> = T extends (...args: any[]) => any ? ReturnType<T> : T;
1734
+ import { Renderable } from '@elastic/eui/src/components/context/context';
1735
+ type ResolvedType<T> = T extends (...args: any[]) => any ? ReturnType<T> : T;
1636
1736
  interface I18nTokenShape<T, DEFAULT extends Renderable<T>> {
1637
1737
  token: string;
1638
1738
  default: DEFAULT;
@@ -1651,7 +1751,9 @@ declare module '@elastic/eui/src/components/i18n/i18n' {
1651
1751
  children: (x: Array<T[number]>) => ReactNode;
1652
1752
  values?: Record<string, ReactNode>;
1653
1753
  }
1654
- export type EuiI18nProps<T, DEFAULT extends Renderable<T>, DEFAULTS extends any[]> = ExclusiveUnion<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>>; const EuiI18n: <T extends {}, DEFAULT extends Renderable<T>, DEFAULTS extends any[]>(props: (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokenShape<T, DEFAULT>, I18nTokensShape<DEFAULTS>> & I18nTokensShape<DEFAULTS>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<I18nTokensShape<DEFAULTS>, I18nTokenShape<T, DEFAULT>> & I18nTokenShape<T, DEFAULT>)) => React.JSX.Element; type DefaultRenderType<T, K extends Renderable<T>> = K extends ReactNode ? K : K extends () => infer RetValue ? RetValue : never; type DefaultsRenderType<K extends Array<string | ReactElement>> = K extends Array<infer Item> ? Item : never; function useEuiI18n<T extends {}, DEFAULT extends Renderable<T>>(token: string, defaultValue: DEFAULT, values?: T): DefaultRenderType<T, DEFAULT>; function useEuiI18n<DEFAULTS extends Array<string | ReactElement>>(tokens: string[], defaultValues: DEFAULTS): Array<DefaultsRenderType<DEFAULTS>>;
1754
+ 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;
1755
+ type DefaultRenderType<T, K extends Renderable<T>> = K extends ReactNode ? K : K extends () => infer RetValue ? RetValue : never;
1756
+ type DefaultsRenderType<K extends Array<string | ReactElement>> = K extends Array<infer Item> ? Item : never; function useEuiI18n<T extends {}, DEFAULT extends Renderable<T>>(token: string, defaultValue: DEFAULT, values?: T): DefaultRenderType<T, DEFAULT>; function useEuiI18n<DEFAULTS extends Array<string | ReactElement>>(tokens: string[], defaultValues: DEFAULTS): Array<DefaultsRenderType<DEFAULTS>>;
1655
1757
  export { EuiI18n, useEuiI18n };
1656
1758
 
1657
1759
  }
@@ -1730,7 +1832,7 @@ declare module '@elastic/eui/src/components/observer/resize_observer/resize_obse
1730
1832
  onResize: ResizeObserverCallback;
1731
1833
  beginObserve: () => void;
1732
1834
  }
1733
- export const useResizeObserver: (container: Element | null, dimension?: "width" | "height" | undefined) => {
1835
+ export const useResizeObserver: (container: Element | null, dimension?: "width" | "height") => {
1734
1836
  width: number;
1735
1837
  height: number;
1736
1838
  };
@@ -1747,7 +1849,8 @@ declare module '@elastic/eui/src/components/portal/portal' {
1747
1849
  * into portals.
1748
1850
  */
1749
1851
  import React, { FunctionComponent, Component, ContextType, ReactNode } from 'react';
1750
- import { EuiNestedThemeContext } from '@elastic/eui/src/services'; const INSERT_POSITIONS: readonly ["after", "before"]; type EuiPortalInsertPosition = (typeof INSERT_POSITIONS)[number];
1852
+ import { EuiNestedThemeContext } from '@elastic/eui/src/services'; const INSERT_POSITIONS: readonly ["after", "before"];
1853
+ type EuiPortalInsertPosition = (typeof INSERT_POSITIONS)[number];
1751
1854
  export interface EuiPortalProps {
1752
1855
  /**
1753
1856
  * ReactNode to render as this component's content
@@ -1795,7 +1898,7 @@ declare module '@elastic/eui/src/components/table/mobile/responsive_context' {
1795
1898
  * Used by parent/top-level table components to determine isResponsive state
1796
1899
  * based on the passed breakpoint
1797
1900
  */
1798
- export const useIsEuiTableResponsive: (componentProp?: string | boolean | undefined) => boolean;
1901
+ export const useIsEuiTableResponsive: (componentProp?: EuiBreakpointSize | boolean) => boolean;
1799
1902
  /**
1800
1903
  * Context set by parent table components
1801
1904
  * Hook used by cells to fetch parent isResponsive state
@@ -1887,7 +1990,7 @@ declare module '@elastic/eui/src/components/table/table_footer' {
1887
1990
  declare module '@elastic/eui/src/components/table/utils' {
1888
1991
  import { CSSProperties } from 'react';
1889
1992
  export const WARNING_MESSAGE = "Two `width` properties were provided. Provide only one of `style.width` or `width` to avoid conflicts.";
1890
- export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number | undefined) => CSSProperties;
1993
+ export const resolveWidthAsStyle: (style?: CSSProperties, width?: string | number) => CSSProperties;
1891
1994
 
1892
1995
  }
1893
1996
  declare module '@elastic/eui/src/services/canvas/canvas_text_utils' {
@@ -1925,7 +2028,8 @@ declare module '@elastic/eui/src/services/canvas' {
1925
2028
 
1926
2029
  }
1927
2030
  declare module '@elastic/eui/src/components/text_truncate/utils' {
1928
- import { CanvasTextParams, CanvasTextUtils } from '@elastic/eui/src/services/canvas'; type TruncationParams = CanvasTextParams & {
2031
+ import { CanvasTextParams, CanvasTextUtils } from '@elastic/eui/src/services/canvas';
2032
+ type TruncationParams = CanvasTextParams & {
1929
2033
  fullText: string;
1930
2034
  ellipsis: string;
1931
2035
  availableWidth: number;
@@ -1954,7 +2058,7 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
1954
2058
  */
1955
2059
  widthRatio: number;
1956
2060
  setTextWidthRatio: (text?: string, textToOffset?: string) => void;
1957
- getTextFromRatio: (text: string, type: 'start' | 'end') => string;
2061
+ getTextFromRatio: (text: string, type: "start" | "end") => string;
1958
2062
  /**
1959
2063
  * Early return checks
1960
2064
  */
@@ -1964,8 +2068,8 @@ declare module '@elastic/eui/src/components/text_truncate/utils' {
1964
2068
  /**
1965
2069
  * Truncation types logic. This is where the magic happens
1966
2070
  */
1967
- truncateStart: (truncationOffset?: number | undefined) => string;
1968
- truncateEnd: (truncationOffset?: number | undefined) => string;
2071
+ truncateStart: (truncationOffset?: number) => string;
2072
+ truncateEnd: (truncationOffset?: number) => string;
1969
2073
  truncateStartEndAtPosition: (truncationPosition: number) => string;
1970
2074
  truncateStartEndAtMiddle: () => string;
1971
2075
  truncateMiddle: () => string;
@@ -2210,7 +2314,8 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
2210
2314
  * Used by EuiBasicTable to render hidden copy markers
2211
2315
  */
2212
2316
  append?: ReactNode;
2213
- } type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2317
+ }
2318
+ type Props = CommonProps & Omit<TdHTMLAttributes<HTMLTableCellElement>, 'valign'> & EuiTableRowCellProps;
2214
2319
  export const EuiTableRowCell: FunctionComponent<Props>;
2215
2320
  export {};
2216
2321
 
@@ -2873,7 +2978,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2873
2978
  import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
2874
2979
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2875
2980
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2876
- export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "temperature" | "scale" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector")[];
2981
+ export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "empty" | "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" | "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")[];
2877
2982
  export type EuiIconType = keyof typeof typeToPathMap;
2878
2983
  export type IconType = EuiIconType | string | ComponentType;
2879
2984
  export type IconColor = string | NamedColor;
@@ -2916,9 +3021,9 @@ declare module '@elastic/eui/src/components/icon/icon' {
2916
3021
  isLoading: boolean;
2917
3022
  neededLoading: boolean;
2918
3023
  }
2919
- export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "temperature" | "scale" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector" | undefined) => void;
3024
+ export const clearIconComponentCache: (iconType?: EuiIconType) => void;
2920
3025
  export const appendIconComponentCache: (iconTypeToIconComponentMap: {
2921
- [iconType: string]: React.ComponentType<{}>;
3026
+ [iconType: string]: ComponentType;
2922
3027
  }) => void;
2923
3028
  export class EuiIconClass extends PureComponent<EuiIconProps & WithEuiStylesMemoizerProps, State> {
2924
3029
  isMounted: boolean;
@@ -2939,7 +3044,8 @@ declare module '@elastic/eui/src/components/icon' {
2939
3044
 
2940
3045
  }
2941
3046
  declare module '@elastic/eui/src/components/inner_text/inner_text' {
2942
- import { FunctionComponent, ReactElement } from 'react'; type RefT = HTMLElement | Element | undefined | null;
3047
+ import { FunctionComponent, ReactElement } from 'react';
3048
+ type RefT = HTMLElement | Element | undefined | null;
2943
3049
  export function useInnerText(innerTextFallback?: string): [(node: RefT) => void, string | undefined];
2944
3050
  export interface EuiInnerTextProps {
2945
3051
  /**
@@ -3170,9 +3276,9 @@ declare module '@elastic/eui/src/services/popover' {
3170
3276
  declare module '@elastic/eui/src/components/panel/panel.styles' {
3171
3277
  import { UseEuiTheme } from '@elastic/eui/src/services';
3172
3278
  export const euiPanelBorderStyles: (euiThemeContext: UseEuiTheme, options?: {
3173
- borderColor?: string | undefined;
3174
- hasFloatingBorder?: boolean | undefined;
3175
- } | undefined) => string;
3279
+ borderColor?: string;
3280
+ hasFloatingBorder?: boolean;
3281
+ }) => string;
3176
3282
  export const euiPanelStyles: (euiThemeContext: UseEuiTheme) => {
3177
3283
  euiPanel: import("@emotion/react").SerializedStyles;
3178
3284
  grow: import("@emotion/react").SerializedStyles;
@@ -3188,8 +3294,8 @@ declare module '@elastic/eui/src/components/panel/panel.styles' {
3188
3294
  }
3189
3295
  declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3190
3296
  import { UseEuiTheme } from '@elastic/eui/src/services';
3191
- export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3192
- export const euiToolTipBorderColor: (euiTheme: UseEuiTheme['euiTheme']) => string;
3297
+ export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3298
+ export const euiToolTipBorderColor: (euiTheme: UseEuiTheme["euiTheme"]) => string;
3193
3299
  export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
3194
3300
  euiToolTip: import("@emotion/react").SerializedStyles;
3195
3301
  s: import("@emotion/react").SerializedStyles;
@@ -3216,7 +3322,8 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
3216
3322
  declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
3217
3323
  import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
3218
3324
  import { CommonProps } from '@elastic/eui/src/components/common';
3219
- export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left'; type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
3325
+ export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
3326
+ type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
3220
3327
  positionToolTip: () => void;
3221
3328
  children?: ReactNode;
3222
3329
  title?: ReactNode;
@@ -3660,14 +3767,14 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3660
3767
  * any element as a button.
3661
3768
  */
3662
3769
  export const EuiButtonDisplay: React.ForwardRefExoticComponent<((import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForAnchor, EuiButtonDisplayPropsForButton> & EuiButtonDisplayCommonProps & {
3663
- onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
3770
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
3664
3771
  } & React.ButtonHTMLAttributes<HTMLButtonElement> & {
3665
- buttonRef?: React.Ref<HTMLButtonElement> | undefined;
3772
+ buttonRef?: Ref<HTMLButtonElement>;
3666
3773
  }) | (import ("@elastic/eui/src/components/common").DisambiguateSet<EuiButtonDisplayPropsForButton, EuiButtonDisplayPropsForAnchor> & EuiButtonDisplayCommonProps & {
3667
- href?: string | undefined;
3668
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
3774
+ href?: string;
3775
+ onClick?: React.MouseEventHandler<HTMLAnchorElement>;
3669
3776
  } & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
3670
- buttonRef?: React.Ref<HTMLAnchorElement> | undefined;
3777
+ buttonRef?: Ref<HTMLAnchorElement>;
3671
3778
  })) & React.RefAttributes<HTMLElement>>;
3672
3779
  export {};
3673
3780
 
@@ -3675,10 +3782,10 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
3675
3782
  declare module '@elastic/eui/src/components/button/button' {
3676
3783
  import { FunctionComponent, Ref, ReactNode } from 'react';
3677
3784
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3678
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3785
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3679
3786
  import { EuiButtonDisplayCommonProps } from '@elastic/eui/src/components/button/button_display/_button_display';
3680
- export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
3681
- export type EuiButtonColor = _EuiButtonColor;
3787
+ export const COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
3788
+ export type EuiButtonColor = _EuiExtendedButtonColor;
3682
3789
  export const SIZES: readonly ["s", "m"];
3683
3790
  export type EuiButtonSize = (typeof SIZES)[number];
3684
3791
  interface BaseProps {
@@ -3689,6 +3796,13 @@ declare module '@elastic/eui/src/components/button/button' {
3689
3796
  fill?: boolean;
3690
3797
  /**
3691
3798
  * Any of the named color palette options.
3799
+ *
3800
+ * Do not use the following colors for standalone buttons directly,
3801
+ * they exist to serve other components:
3802
+ * - accent
3803
+ * - warning
3804
+ * - neutral
3805
+ * - risk
3692
3806
  */
3693
3807
  color?: EuiButtonColor;
3694
3808
  /**
@@ -3736,7 +3850,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3736
3850
  import { FunctionComponent, Ref, ButtonHTMLAttributes } from 'react';
3737
3851
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3738
3852
  import { EuiButtonDisplayContentProps, EuiButtonDisplayContentType } from '@elastic/eui/src/components/button/button_display/_button_display_content';
3739
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3853
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3740
3854
  export const SIZES: readonly ["xs", "s", "m"];
3741
3855
  export type EuiButtonEmptySizes = (typeof SIZES)[number];
3742
3856
  export const FLUSH_TYPES: readonly ["left", "right", "both"];
@@ -3748,8 +3862,15 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3748
3862
  export interface CommonEuiButtonEmptyProps extends EuiButtonDisplayContentProps, CommonProps {
3749
3863
  /**
3750
3864
  * Any of the named color palette options.
3751
- */
3752
- color?: _EuiButtonColor;
3865
+ *
3866
+ * Do not use the following colors for standalone buttons directly,
3867
+ * they exist to serve other components:
3868
+ * - accent
3869
+ * - warning
3870
+ * - neutral
3871
+ * - risk
3872
+ */
3873
+ color?: _EuiExtendedButtonColor;
3753
3874
  size?: EuiButtonEmptySizes;
3754
3875
  /**
3755
3876
  * Ensure the text of the button sits flush to the left, right, or both sides of its container
@@ -3777,7 +3898,8 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
3777
3898
  * Object of props passed to the `<span>` wrapping the button's content
3778
3899
  */
3779
3900
  contentProps?: CommonProps & EuiButtonDisplayContentType;
3780
- } type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3901
+ }
3902
+ type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>;
3781
3903
  export type EuiButtonEmptyPropsForButton = PropsForButton<CommonEuiButtonEmptyProps>;
3782
3904
  export type EuiButtonEmptyProps = ExclusiveUnion<EuiButtonEmptyPropsForAnchor, EuiButtonEmptyPropsForButton>;
3783
3905
  export const EuiButtonEmpty: FunctionComponent<EuiButtonEmptyProps>;
@@ -3806,16 +3928,24 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3806
3928
  import { AnchorHTMLAttributes, ButtonHTMLAttributes, FunctionComponent, Ref } from 'react';
3807
3929
  import { CommonProps, ExclusiveUnion, PropsForAnchor, PropsForButton } from '@elastic/eui/src/components/common';
3808
3930
  import { IconType, IconSize } from '@elastic/eui/src/components/icon';
3809
- import { _EuiButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3931
+ import { _EuiExtendedButtonColor } from '@elastic/eui/src/global_styling/mixins/_button';
3810
3932
  export const SIZES: readonly ["xs", "s", "m"];
3811
3933
  export type EuiButtonIconSizes = (typeof SIZES)[number];
3812
- export const DISPLAYS: readonly ["base", "empty", "fill"]; type EuiButtonIconDisplay = (typeof DISPLAYS)[number];
3934
+ export const DISPLAYS: readonly ["base", "empty", "fill"];
3935
+ type EuiButtonIconDisplay = (typeof DISPLAYS)[number];
3813
3936
  export interface EuiButtonIconProps extends CommonProps {
3814
3937
  iconType: IconType;
3815
3938
  /**
3816
3939
  * Any of the named color palette options.
3817
- */
3818
- color?: _EuiButtonColor;
3940
+ *
3941
+ * Do not use the following colors for standalone buttons directly,
3942
+ * they exist to serve other components:
3943
+ * - accent
3944
+ * - warning
3945
+ * - neutral
3946
+ * - risk
3947
+ */
3948
+ color?: _EuiExtendedButtonColor;
3819
3949
  'aria-label'?: string;
3820
3950
  'aria-labelledby'?: string;
3821
3951
  isDisabled?: boolean;
@@ -3855,7 +3985,8 @@ declare module '@elastic/eui/src/components/button/button_icon/button_icon' {
3855
3985
  type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
3856
3986
  } & PropsForButton<EuiButtonIconProps, {
3857
3987
  buttonRef?: Ref<HTMLButtonElement>;
3858
- }>; type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3988
+ }>;
3989
+ type Props = ExclusiveUnion<EuiButtonIconPropsForAnchor, EuiButtonIconPropsForButton>;
3859
3990
  export const EuiButtonIcon: FunctionComponent<Props>;
3860
3991
  export {};
3861
3992
 
@@ -3916,10 +4047,10 @@ declare module '@elastic/eui/src/components/form/form.styles' {
3916
4047
  };
3917
4048
  export const euiFormControlText: (euiThemeContext: UseEuiTheme) => string;
3918
4049
  export const euiFormControlDefaultShadow: (euiThemeContext: UseEuiTheme, { withBorder, withBackground, withBackgroundColor, withBackgroundAnimation, }?: {
3919
- withBorder?: boolean | undefined;
3920
- withBackground?: boolean | undefined;
3921
- withBackgroundColor?: boolean | undefined;
3922
- withBackgroundAnimation?: boolean | undefined;
4050
+ withBorder?: boolean;
4051
+ withBackground?: boolean;
4052
+ withBackgroundColor?: boolean;
4053
+ withBackgroundAnimation?: boolean;
3923
4054
  }) => string;
3924
4055
  export const euiFormControlFocusStyles: (euiThemeContext: UseEuiTheme) => string;
3925
4056
  export const euiFormControlInvalidStyles: (euiThemeContext: UseEuiTheme) => string;
@@ -4002,12 +4133,13 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
4002
4133
  euiButtonGroupButton__iconOnly: SerializedStyles;
4003
4134
  };
4004
4135
  };
4005
- export const _compressedButtonFocusColors: (euiThemeContext: UseEuiTheme) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
4136
+ export const _compressedButtonFocusColors: (euiThemeContext: UseEuiTheme) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled", SerializedStyles>;
4006
4137
 
4007
4138
  }
4008
4139
  declare module '@elastic/eui/src/components/button/button_group/button_group_button' {
4009
4140
  import { FunctionComponent, MouseEventHandler } from 'react';
4010
- import { EuiButtonGroupOptionProps, EuiButtonGroupProps } from '@elastic/eui/src/components/button/button_group/button_group'; type Props = EuiButtonGroupOptionProps & {
4141
+ import { EuiButtonGroupOptionProps, EuiButtonGroupProps } from '@elastic/eui/src/components/button/button_group/button_group';
4142
+ type Props = EuiButtonGroupOptionProps & {
4011
4143
  /**
4012
4144
  * Styles the selected button to look selected (usually with `fill`)
4013
4145
  */
@@ -4109,6 +4241,11 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4109
4241
  legend: string;
4110
4242
  /**
4111
4243
  * Any of the named color palette options.
4244
+ *
4245
+ * Do not use the following colors for standalone buttons directly,
4246
+ * they exist to serve other components:
4247
+ * - accent
4248
+ * - warning
4112
4249
  */
4113
4250
  color?: _EuiButtonColor;
4114
4251
  /**
@@ -4159,7 +4296,8 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
4159
4296
  * @deprecated
4160
4297
  */
4161
4298
  name?: never;
4162
- }); type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4299
+ });
4300
+ type Props = Omit<HTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'color'> & EuiButtonGroupProps;
4163
4301
  export const EuiButtonGroup: FunctionComponent<Props>;
4164
4302
  export {};
4165
4303
 
@@ -4276,7 +4414,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
4276
4414
  * Reduce the size to `s` when in need of a more compressed menu
4277
4415
  */
4278
4416
  size?: (typeof SIZES)[number];
4279
- } type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4417
+ }
4418
+ type Props = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'onClick' | 'disabled'> & EuiContextMenuItemProps;
4280
4419
  export const LAYOUT_ALIGN: EuiContextMenuItemLayoutAlignment[];
4281
4420
  export const EuiContextMenuItem: FunctionComponent<Props>;
4282
4421
  export {};
@@ -4340,7 +4479,8 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4340
4479
  * Alters the size of the items and the title
4341
4480
  */
4342
4481
  size?: (typeof SIZES)[number];
4343
- }; type Props = EuiContextMenuPanelProps;
4482
+ };
4483
+ type Props = EuiContextMenuPanelProps;
4344
4484
  interface State {
4345
4485
  prevProps: {
4346
4486
  items: Props['items'];
@@ -4360,7 +4500,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_panel' {
4360
4500
  private initialPopoverParent?;
4361
4501
  constructor(props: WithEuiStylesMemoizerProps & Props);
4362
4502
  findMenuItems: () => void;
4363
- focusMenuItem: (direction: 'up' | 'down') => void;
4503
+ focusMenuItem: (direction: "up" | "down") => void;
4364
4504
  onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
4365
4505
  takeInitialFocus(): void;
4366
4506
  reclaimPopoverFocus: () => void;
@@ -4466,7 +4606,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu' {
4466
4606
  componentDidUpdate(prevProps: EuiContextMenuProps): void;
4467
4607
  hasPreviousPanel: (panelId: EuiContextMenuPanelId) => boolean;
4468
4608
  showPanel(panelId: EuiContextMenuPanelId, direction?: EuiContextMenuPanelTransitionDirection): void;
4469
- showNextPanel: (itemIndex?: number | undefined) => void;
4609
+ showNextPanel: (itemIndex?: number) => void;
4470
4610
  showPreviousPanel: () => void;
4471
4611
  onIncomingPanelHeightChange: (height: number) => void;
4472
4612
  onOutGoingPanelTransitionComplete: () => void;
@@ -4530,14 +4670,16 @@ declare module '@elastic/eui/src/components/flex/flex_group.styles' {
4530
4670
 
4531
4671
  }
4532
4672
  declare module '@elastic/eui/src/components/flex/flex_group' {
4533
- import React, { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4673
+ import { ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactElement, Ref } from 'react';
4534
4674
  import { CommonProps } from '@elastic/eui/src/components/common';
4535
4675
  export const GUTTER_SIZES: readonly ["none", "xs", "s", "m", "l", "xl"];
4536
4676
  export type EuiFlexGroupGutterSize = (typeof GUTTER_SIZES)[number];
4537
4677
  export const ALIGN_ITEMS: readonly ["stretch", "flexStart", "flexEnd", "center", "baseline"];
4538
4678
  export type FlexGroupAlignItems = (typeof ALIGN_ITEMS)[number];
4539
- export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"]; type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
4540
- export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"]; type FlexGroupDirection = (typeof DIRECTIONS)[number];
4679
+ export const JUSTIFY_CONTENTS: readonly ["flexStart", "flexEnd", "center", "spaceBetween", "spaceAround", "spaceEvenly"];
4680
+ type FlexGroupJustifyContent = (typeof JUSTIFY_CONTENTS)[number];
4681
+ export const DIRECTIONS: readonly ["row", "rowReverse", "column", "columnReverse"];
4682
+ type FlexGroupDirection = (typeof DIRECTIONS)[number];
4541
4683
  export type EuiFlexGroupProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4542
4684
  alignItems?: FlexGroupAlignItems;
4543
4685
  /**
@@ -4559,32 +4701,10 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
4559
4701
  responsive?: boolean;
4560
4702
  wrap?: boolean;
4561
4703
  };
4562
- export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
4563
- children?: React.ReactNode;
4564
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4565
- alignItems?: "center" | "stretch" | "baseline" | "flexStart" | "flexEnd" | undefined;
4566
- /**
4567
- * Customize the component type that is rendered.
4568
- *
4569
- * It can be any valid React component type like a tag name string
4570
- * such as `'div'` or `'span'`, a React component (a function, a class,
4571
- * or an exotic component like `memo()`).
4572
- *
4573
- * `EuiFlexGroup` accepts and forwards all extra props to the custom
4574
- * component.
4575
- *
4576
- * @default "div"
4577
- */
4578
- component?: TComponent | undefined;
4579
- direction?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
4580
- gutterSize?: "s" | "none" | "xs" | "m" | "l" | "xl" | undefined;
4581
- justifyContent?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
4582
- responsive?: boolean | undefined;
4583
- wrap?: boolean | undefined;
4584
- } & {
4585
- ref?: React.Ref<TComponentRef> | undefined;
4704
+ export const EuiFlexGroup: (<TComponent extends ElementType = "div", TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexGroupProps<TComponent> & {
4705
+ ref?: Ref<TComponentRef>;
4586
4706
  }) => ReactElement) & {
4587
- displayName?: string | undefined;
4707
+ displayName?: string;
4588
4708
  };
4589
4709
  export {};
4590
4710
 
@@ -4686,7 +4806,7 @@ declare module '@elastic/eui/src/components/flex/flex_item.styles' {
4686
4806
 
4687
4807
  }
4688
4808
  declare module '@elastic/eui/src/components/flex/flex_item' {
4689
- import React, { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4809
+ import { ElementType, ComponentPropsWithoutRef, PropsWithChildren, Ref, ReactElement } from 'react';
4690
4810
  import { CommonProps } from '@elastic/eui/src/components/common';
4691
4811
  export type EuiFlexItemProps<TComponent extends ElementType = 'div'> = PropsWithChildren & CommonProps & ComponentPropsWithoutRef<TComponent> & {
4692
4812
  grow?: boolean | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null;
@@ -4709,32 +4829,10 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
4709
4829
  */
4710
4830
  component?: TComponent;
4711
4831
  };
4712
- export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
4713
- children?: React.ReactNode;
4714
- } & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
4715
- grow?: boolean | 0 | 1 | 6 | 3 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | null | undefined;
4716
- /**
4717
- * Customize the component type that is rendered.
4718
- *
4719
- * It can be any valid React component type like a tag name string
4720
- * such as `'div'` or `'span'`, a React component (a function, a class,
4721
- * or an exotic component like `memo()`).
4722
- *
4723
- * `<EuiFlexItem>` accepts and forwards all extra props to the custom
4724
- * component.
4725
- *
4726
- * @example
4727
- * // Renders a <button> element
4728
- * <EuiFlexItem component="button">
4729
- * Submit form
4730
- * </EuiFlexItem>
4731
- * @default "div"
4732
- */
4733
- component?: TComponent | undefined;
4734
- } & {
4735
- ref?: React.Ref<TComponentRef> | undefined;
4832
+ export const EuiFlexItem: (<TComponent extends ElementType, TComponentRef = ReactElement<any, TComponent>>(props: EuiFlexItemProps<TComponent> & {
4833
+ ref?: Ref<TComponentRef>;
4736
4834
  }) => ReactElement) & {
4737
- displayName?: string | undefined;
4835
+ displayName?: string;
4738
4836
  };
4739
4837
 
4740
4838
  }
@@ -4763,7 +4861,10 @@ declare module '@elastic/eui/src/components/pagination/pagination_button' {
4763
4861
  isActive?: boolean;
4764
4862
  pageIndex: number;
4765
4863
  totalPages?: number;
4766
- }; type EuiPaginationButtonPropsForAnchor = PropsForAnchor<EuiPaginationButtonProps>; type EuiPaginationButtonPropsForButton = PropsForButton<EuiPaginationButtonProps>; type Props = ExclusiveUnion<EuiPaginationButtonPropsForAnchor, EuiPaginationButtonPropsForButton>;
4864
+ };
4865
+ type EuiPaginationButtonPropsForAnchor = PropsForAnchor<EuiPaginationButtonProps>;
4866
+ type EuiPaginationButtonPropsForButton = PropsForButton<EuiPaginationButtonProps>;
4867
+ type Props = ExclusiveUnion<EuiPaginationButtonPropsForAnchor, EuiPaginationButtonPropsForButton>;
4767
4868
  export const EuiPaginationButton: FunctionComponent<Props>;
4768
4869
  export {};
4769
4870
 
@@ -4826,7 +4927,8 @@ declare module '@elastic/eui/src/components/pagination/pagination' {
4826
4927
  * Remove completely with `false` or provide your own list of responsive breakpoints.
4827
4928
  */
4828
4929
  responsive?: false | EuiBreakpointSize[];
4829
- } type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4930
+ }
4931
+ type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPaginationProps;
4830
4932
  export const EuiPagination: FunctionComponent<Props>;
4831
4933
  export {};
4832
4934
 
@@ -4949,7 +5051,10 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
4949
5051
  import { EuiIconType } from '@elastic/eui/src/components/icon/icon';
4950
5052
  import { EuiButtonIconProps } from '@elastic/eui/src/components/button/button_icon/button_icon';
4951
5053
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
4952
- import { ExclusiveUnion } from '@elastic/eui/src/components/common'; type IconFunction<T extends object> = (item: T) => EuiIconType; type ButtonColor = EuiButtonIconProps['color'] | EuiButtonEmptyProps['color']; type EuiButtonIconColorFunction<T> = (item: T) => ButtonColor;
5054
+ import { ExclusiveUnion } from '@elastic/eui/src/components/common';
5055
+ type IconFunction<T extends object> = (item: T) => EuiIconType;
5056
+ type ButtonColor = EuiButtonIconProps['color'] | EuiButtonEmptyProps['color'];
5057
+ type EuiButtonIconColorFunction<T> = (item: T) => ButtonColor;
4953
5058
  export interface DefaultItemActionBase<T extends object> {
4954
5059
  /**
4955
5060
  * The display name of the action (will render as visible text if rendered within a collapsed menu)
@@ -5025,7 +5130,7 @@ declare module '@elastic/eui/src/components/basic_table/action_types' {
5025
5130
  enabled?: (item: T) => boolean;
5026
5131
  } & Pick<DefaultItemActionBase<{}>, 'isPrimary' | 'showOnHover'>;
5027
5132
  export type Action<T extends object> = DefaultItemAction<T> | CustomItemAction<T>;
5028
- export const isCustomItemAction: <T extends object>(action: (import ("@elastic/eui/src/components/common").DisambiguateSet<DefaultItemEmptyButtonAction<T>, DefaultItemIconButtonAction<T>> & DefaultItemIconButtonAction<T>) | (import ("@elastic/eui/src/components/common").DisambiguateSet<DefaultItemIconButtonAction<T>, DefaultItemEmptyButtonAction<T>> & DefaultItemEmptyButtonAction<T>) | CustomItemAction<T>) => action is CustomItemAction<T>;
5133
+ export const isCustomItemAction: <T extends object>(action: DefaultItemAction<T> | CustomItemAction<T>) => action is CustomItemAction<T>;
5029
5134
  export const callWithItemIfFunction: <T>(item: T) => <U>(prop: U | ((item: T) => U)) => U;
5030
5135
  export {};
5031
5136
 
@@ -5036,7 +5141,7 @@ declare module '@elastic/eui/src/services/sort/sort_direction' {
5036
5141
  export const SortDirection: Readonly<{
5037
5142
  ASC: "asc";
5038
5143
  DESC: "desc";
5039
- isAsc(direction: Direction): boolean;
5144
+ isAsc(direction: Direction): direction is "asc";
5040
5145
  reverse(direction: Direction): "desc" | "asc";
5041
5146
  }>;
5042
5147
  export const SortDirectionType: PropTypes.Requireable<"desc" | "asc">;
@@ -5049,12 +5154,13 @@ declare module '@elastic/eui/src/services/objects' {
5049
5154
 
5050
5155
  }
5051
5156
  declare module '@elastic/eui/src/services/sort/comparators' {
5052
- export type Primitive = string | boolean | number | null | undefined; type Comparator<T = Primitive> = (a: T, b: T) => number;
5157
+ export type Primitive = string | boolean | number | null | undefined;
5158
+ type Comparator<T = Primitive> = (a: T, b: T) => number;
5053
5159
  export const Comparators: Readonly<{
5054
- default: (direction?: 'asc' | 'desc') => (v1: Primitive, v2: Primitive) => number;
5160
+ default: (direction?: "asc" | "desc") => (v1: Primitive, v2: Primitive) => number;
5055
5161
  reverse: <T>(comparator: Comparator<T>) => Comparator<T>;
5056
- value<T_1>(valueCallback: (value: T_1) => Primitive, comparator?: Comparator<Primitive> | undefined): Comparator<T_1>;
5057
- property<T_2 extends object>(prop: string, comparator?: Comparator<Primitive> | undefined): Comparator<T_2>;
5162
+ value<T>(valueCallback: (value: T) => Primitive, comparator?: Comparator): Comparator<T>;
5163
+ property<T extends object>(prop: string, comparator?: Comparator): Comparator<T>;
5058
5164
  }>;
5059
5165
  export {};
5060
5166
 
@@ -5439,7 +5545,8 @@ declare module '@elastic/eui/src/components/table/table_row' {
5439
5545
  */
5440
5546
  isExpandedRow?: boolean;
5441
5547
  onClick?: MouseEventHandler<HTMLTableRowElement> & KeyboardEventHandler<HTMLTableRowElement>;
5442
- } type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5548
+ }
5549
+ type Props = CommonProps & HTMLAttributes<HTMLTableRowElement> & EuiTableRowProps;
5443
5550
  export const EuiTableRow: FunctionComponent<Props>;
5444
5551
  export {};
5445
5552
 
@@ -5606,7 +5713,7 @@ declare module '@elastic/eui/src/components/observer/mutation_observer/mutation_
5606
5713
  onMutation: MutationCallback;
5607
5714
  beginObserve: () => void;
5608
5715
  }
5609
- export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit | undefined) => void;
5716
+ export const useMutationObserver: (container: Element | null, callback: MutationCallback, observerOptions?: MutationObserverInit) => void;
5610
5717
 
5611
5718
  }
5612
5719
  declare module '@elastic/eui/src/components/observer/mutation_observer' {
@@ -5688,11 +5795,11 @@ declare module '@elastic/eui/src/components/panel/panel' {
5688
5795
  import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
5689
5796
  import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
5690
5797
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
5691
- export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
5798
+ export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
5692
5799
  export type PanelPaddingSize = (typeof _SIZES)[number];
5693
5800
  export const BORDER_RADII: readonly ["none", "m"];
5694
5801
  export type PanelBorderRadius = (typeof BORDER_RADII)[number];
5695
- export const COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "neutral", "success", "warning", "risk", "danger"];
5802
+ export const COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
5696
5803
  export type PanelColor = _EuiBackgroundColor | 'highlighted';
5697
5804
  export interface _EuiPanelProps extends CommonProps {
5698
5805
  /**
@@ -5732,7 +5839,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
5732
5839
  }
5733
5840
  export type EuiPanelProps = ExclusiveUnion<_EuiPanelButtonlike, _EuiPanelDivlike>;
5734
5841
  export const EuiPanel: FunctionComponent<EuiPanelProps>;
5735
- export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, 'color' | 'hasBorder'>) => boolean;
5842
+ export const _canRenderHighContrastBorder: ({ color, hasBorder, }: Pick<_EuiPanelProps, "color" | "hasBorder">) => boolean;
5736
5843
  export {};
5737
5844
 
5738
5845
  }
@@ -5775,7 +5882,8 @@ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel
5775
5882
  export const EuiPopoverPanelContext: React.Context<{
5776
5883
  paddingSize: EuiPaddingSize;
5777
5884
  }>;
5778
- export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
5885
+ export type EuiPopoverPanelProps = _EuiPanelDivlike;
5886
+ type EuiPopoverPanelInternalProps = {
5779
5887
  isOpen?: boolean;
5780
5888
  isAttached?: boolean;
5781
5889
  position?: EuiPopoverArrowPositions | null;
@@ -5953,7 +6061,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
5953
6061
  arrowPosition: EuiPopoverArrowPositions | null;
5954
6062
  openPosition: any;
5955
6063
  isOpenStable: boolean;
5956
- } type PropsWithDefaults = Props & {
6064
+ }
6065
+ type PropsWithDefaults = Props & {
5957
6066
  anchorPosition: PopoverAnchorPosition;
5958
6067
  hasArrow: boolean;
5959
6068
  isOpen: boolean;
@@ -6246,7 +6355,7 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6246
6355
  color?: IconColor;
6247
6356
  ref?: EuiFormControlLayoutCustomIconProps['iconRef'];
6248
6357
  };
6249
- export const isIconShape: (icon: EuiFormControlLayoutIconsProps['icon']) => icon is IconShape;
6358
+ export const isIconShape: (icon: EuiFormControlLayoutIconsProps["icon"]) => icon is IconShape;
6250
6359
  export interface EuiFormControlLayoutIconsProps {
6251
6360
  icon?: IconType | IconShape;
6252
6361
  side?: (typeof ICON_SIDES)[number];
@@ -6270,13 +6379,13 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6270
6379
  }
6271
6380
  declare module '@elastic/eui/src/components/form/form_control_layout/_num_icons' {
6272
6381
  import { type EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
6273
- export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps['icon']) => boolean;
6382
+ export const isRightSideIcon: (icon?: EuiFormControlLayoutIconsProps["icon"]) => boolean;
6274
6383
  export const getIconAffordanceStyles: ({ icon, clear, isLoading, isInvalid, isDropdown, }: {
6275
- icon?: EuiFormControlLayoutIconsProps['icon'];
6276
- clear?: EuiFormControlLayoutIconsProps['clear'] | boolean;
6277
- isLoading?: boolean | undefined;
6278
- isInvalid?: boolean | undefined;
6279
- isDropdown?: boolean | undefined;
6384
+ icon?: EuiFormControlLayoutIconsProps["icon"];
6385
+ clear?: EuiFormControlLayoutIconsProps["clear"] | boolean;
6386
+ isLoading?: boolean;
6387
+ isInvalid?: boolean;
6388
+ isDropdown?: boolean;
6280
6389
  }) => {
6281
6390
  [k: string]: number;
6282
6391
  } | undefined;
@@ -6314,7 +6423,9 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
6314
6423
  declare module '@elastic/eui/src/components/form/form_control_layout/form_control_layout' {
6315
6424
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
6316
6425
  import { CommonProps } from '@elastic/eui/src/components/common';
6317
- import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons'; type StringOrReactElement = string | ReactElement; type PrependAppendType = StringOrReactElement | StringOrReactElement[];
6426
+ import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
6427
+ type StringOrReactElement = string | ReactElement;
6428
+ type PrependAppendType = StringOrReactElement | StringOrReactElement[];
6318
6429
  export type EuiFormControlLayoutProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
6319
6430
  /**
6320
6431
  * Creates an input group with element(s) coming before children.
@@ -6444,7 +6555,8 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_item'
6444
6555
  dropdownDisplay?: ReactNode;
6445
6556
  disabled?: boolean;
6446
6557
  'data-test-subj'?: string;
6447
- } type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6558
+ }
6559
+ type EuiSuperSelectItemProps = ComponentProps<typeof EuiContextMenuItem> & {
6448
6560
  hasDividers?: boolean;
6449
6561
  };
6450
6562
  export const EuiSuperSelectItem: FunctionComponent<EuiSuperSelectItemProps>;
@@ -6608,9 +6720,9 @@ declare module '@elastic/eui/src/components/color_picker/utils' {
6608
6720
  export const HSV_FALLBACK: ColorSpaces['hsv'];
6609
6721
  export const RGB_FALLBACK: ColorSpaces['rgba'];
6610
6722
  export const RGB_JOIN = ", ";
6611
- export const parseColor: (input?: string | null | undefined) => string | number[] | null;
6723
+ export const parseColor: (input?: string | null) => string | number[] | null;
6612
6724
  export const chromaValid: (color: string | number[]) => boolean;
6613
- export const getChromaColor: (input?: string | null | undefined, allowOpacity?: boolean) => chroma.Color | null;
6725
+ export const getChromaColor: (input?: string | null, allowOpacity?: boolean) => chroma.Color | null;
6614
6726
  export const getLinearGradient: (palette: string[] | PaletteColorStop[]) => string;
6615
6727
  export const getFixedLinearGradient: (palette: string[] | PaletteColorStop[]) => {
6616
6728
  color: string;
@@ -6773,405 +6885,182 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
6773
6885
  export type EuiColorPalettePickerPaletteProps = EuiColorPalettePickerPaletteTextProps | EuiColorPalettePickerPaletteFixedProps | EuiColorPalettePickerPaletteGradientProps;
6774
6886
  export type EuiColorPalettePickerProps<T extends string> = CommonProps & Omit<EuiSuperSelectProps<T>, 'options' | 'itemLayoutAlign' | 'hasDividers'> & {
6775
6887
  /**
6776
- * Specify what should be displayed after a selection: a `palette` or `title`
6777
- */
6778
- selectionDisplay?: 'palette' | 'title';
6779
- /**
6780
- * An array of one of the following objects: #EuiColorPalettePickerPaletteText, #EuiColorPalettePickerPaletteFixed, #EuiColorPalettePickerPaletteGradient
6781
- */
6782
- palettes: EuiColorPalettePickerPaletteProps[];
6783
- };
6784
- export const EuiColorPalettePicker: FunctionComponent<EuiColorPalettePickerProps<string>>;
6785
-
6786
- }
6787
- declare module '@elastic/eui/src/components/color_picker/color_palette_picker' {
6788
- export type { EuiColorPalettePickerProps, EuiColorPalettePickerPaletteTextProps, EuiColorPalettePickerPaletteFixedProps, EuiColorPalettePickerPaletteGradientProps, EuiColorPalettePickerPaletteProps, PaletteColorStop, } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6789
- export { EuiColorPalettePicker } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6790
-
6791
- }
6792
- declare module '@elastic/eui/src/services/color/stepped_gradient' {
6793
- import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
6794
- export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
6795
-
6796
- }
6797
- declare module '@elastic/eui/src/services/color/contrast' {
6798
- export const wcagContrastMin = 4.5;
6799
- /**
6800
- * Creates a new color that meets or exceeds WCAG level AA
6801
- * @param foreground - Color to manipulate
6802
- * @param ratio - Amount to change in absolute terms. 0-10.
6803
- * *
6804
- * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
6805
- */
6806
- export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
6807
- [key: string]: any;
6808
- colors: {
6809
- body: string;
6810
- };
6811
- }) => string;
6812
- /**
6813
- * Creates a new color with increased contrast
6814
- * Disabled content only needs a contrast of at least 2 because there is no interaction available
6815
- * @param foreground - Color to manipulate
6816
- * @param ratio - Amount to change in absolute terms. 0-10.
6817
- * *
6818
- * @param themeOrBackground - Color to use as the contrast basis
6819
- */
6820
- export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
6821
- [key: string]: any;
6822
- colors: {
6823
- body: string;
6824
- };
6825
- }) => string;
6826
-
6827
- }
6828
- declare module '@elastic/eui/src/services/color' {
6829
- export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
6830
- export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
6831
- export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
6832
- export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
6833
- export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
6834
- export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
6835
- export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
6836
- export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
6837
- export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
6838
- export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
6839
- export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
6840
- export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
6841
- 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';
6842
- export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
6843
- export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
6844
- export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
6845
- export * from '@elastic/eui/src/services/color/manipulation';
6846
- export * from '@elastic/eui/src/services/color/contrast';
6847
-
6848
- }
6849
- declare module '@elastic/eui/src/services/theme/provider' {
6850
- import React, { PropsWithChildren, HTMLAttributes } from 'react';
6851
- import type { CommonProps } from '@elastic/eui/src/components/common';
6852
- import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
6853
- export interface EuiThemeProviderProps<T> extends PropsWithChildren {
6854
- theme?: EuiThemeSystem<T>;
6855
- colorMode?: EuiThemeColorMode;
6856
- highContrastMode?: EuiThemeHighContrastModeProp;
6857
- modify?: EuiThemeModifications<T>;
6858
- children: any;
6859
- /**
6860
- * Nested theme providers will receive a wrapping `span` tag in order to correctly
6861
- * set the default text `color` that all nested children will inherit.
6862
- *
6863
- * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
6864
- * This requires a **single** child component that the correct color class can be passed to.
6865
- *
6866
- * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
6867
- * the default inherited text color will be set on the page `body`.
6868
- */
6869
- wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
6870
- cloneElement?: boolean;
6871
- };
6872
- }
6873
- export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
6874
-
6875
- }
6876
- declare module '@elastic/eui/src/services/theme' {
6877
- export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
6878
- export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
6879
- export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
6880
- export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
6881
- export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
6882
- export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
6883
- export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
6884
- export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
6885
- export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
6886
- export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
6887
-
6888
- }
6889
- declare module '@elastic/eui/src/services/color/manipulation' {
6890
- import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
6891
- /**
6892
- * Makes a color more transparent.
6893
- * @param color - Color to manipulate
6894
- * @param alpha - alpha channel value. From 0-1.
6895
- */
6896
- export const transparentize: (color: string, alpha: number) => string;
6897
- /**
6898
- * Mixes a provided color with white.
6899
- * @param color - Color to mix with white
6900
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6901
- */
6902
- export const tint: (color: string, ratio: number) => string;
6903
- /**
6904
- * Mixes a provided color with black.
6905
- * @param color - Color to mix with black
6906
- * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
6907
- */
6908
- export const shade: (color: string, ratio: number) => string;
6909
- /**
6910
- * Returns the tinted color for light mode and shaded color for dark mode
6911
- * @param color - Color to mix with white
6912
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6913
- * @param colorMode - Light or dark only
6914
- */
6915
- export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6916
- /**
6917
- * Returns the shaded color for light mode and tinted color for dark mode
6918
- * @param color - Color to mix with white
6919
- * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6920
- * @param colorMode - Light or dark only
6921
- */
6922
- export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6923
- /**
6924
- * Increases the saturation of a color by manipulating the hsl saturation.
6925
- * @param color - Color to manipulate
6926
- * @param amount - Amount to change in absolute terms. 0-1.
6927
- */
6928
- export const saturate: (color: string, amount: number) => string;
6929
- /**
6930
- * Decreases the saturation of a color by manipulating the hsl saturation.
6931
- * @param color - Color to manipulate
6932
- * @param amount - Amount to change in absolute terms. 0-1.
6933
- */
6934
- export const desaturate: (color: string, amount: number) => string;
6935
- /**
6936
- * Returns the lightness value of a color. 0-100
6937
- * @param color
6938
- */
6939
- export const lightness: (color: string) => number;
6940
- /**
6941
- * Returns the darken value of a color. 0-100
6942
- * @param color - Color to manipulate
6943
- * @param amount - Amount to change in absolute terms. 0-1.
6944
- */
6945
- export const darken: (color: string, amount: number) => string;
6946
- /**
6947
- * Returns the brighten value of a color. 0-100
6948
- * @param color - Color to manipulate
6949
- * @param amount - Amount to change in absolute terms. 0-1.
6950
- */
6951
- export const brighten: (color: string, amount: number) => string;
6952
-
6953
- }
6954
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
6955
- /**
6956
- * These are not actually used, but we map them to ensure token parity.
6957
- * They are mapped to other vis colors
6958
- */
6959
- export const severityColors: {
6960
- unknown: string;
6961
- neutral: string;
6962
- success: string;
6963
- warning: string;
6964
- risk: string;
6965
- danger: string;
6966
- };
6967
-
6968
- }
6969
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
6970
- import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
6971
- export const brand_colors: _EuiThemeBrandColors;
6972
- export const brand_text_colors: _EuiThemeBrandTextColors;
6973
- export const shade_colors: _EuiThemeShadeColors;
6974
- export const special_colors: _EuiThemeSpecialColors;
6975
- export const text_colors: _EuiThemeTextColors;
6976
- export const background_colors: _EuiThemeBackgroundColors;
6977
- export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
6978
- export const border_colors: _EuiThemeBorderColors;
6979
- export const light_colors: _EuiThemeColorsMode;
6980
- export const dark_shades: _EuiThemeShadeColors;
6981
- export const dark_background_colors: _EuiThemeBackgroundColors;
6982
- export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
6983
- export const dark_border_colors: _EuiThemeBorderColors;
6984
- export const dark_colors_ams: _EuiThemeColorsMode;
6985
- export const colors: _EuiThemeColors;
6986
-
6987
- }
6988
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
6989
- import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
6990
- export const animation_speed: _EuiThemeAnimationSpeeds;
6991
- export const animation_ease: _EuiThemeAnimationEasings;
6992
- export const animation: _EuiThemeAnimation;
6993
-
6994
- }
6995
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
6996
- export { breakpoint } from '@elastic/eui-theme-common';
6997
-
6998
- }
6999
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
7000
- import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
7001
- export const base: _EuiThemeBase;
7002
- export const size: _EuiThemeSizes;
7003
-
7004
- }
7005
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
7006
- import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
7007
- export const border: _EuiThemeBorder;
7008
-
7009
- }
7010
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
7011
- import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
7012
- export const levels: _EuiThemeLevels;
7013
-
7014
- }
7015
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
7016
- import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
7017
- export const fontScale: _EuiThemeFontScales;
7018
- export const fontBase: _EuiThemeFontBase;
7019
- export const fontWeight: _EuiThemeFontWeights;
7020
- export const font: _EuiThemeFont;
7021
-
7022
- }
7023
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
7024
- import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
7025
- export const focus: _EuiThemeFocus;
7026
-
7027
- }
7028
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
7029
- import { _EuiThemeButton } from '@elastic/eui-theme-common';
7030
- export const buttons: _EuiThemeButton;
7031
-
7032
- }
7033
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
7034
- export const forms: {
7035
- maxWidth: string;
7036
- LIGHT: {
7037
- background: string;
7038
- backgroundDisabled: string;
7039
- backgroundReadOnly: any;
7040
- backgroundFocused: any;
7041
- backgroundAutofilled: string;
7042
- prependBackground: string;
7043
- border: string;
7044
- borderAutofilled: string;
7045
- controlBorder: string;
7046
- controlBorderSelected: string;
7047
- controlBorderDisabled: string;
7048
- controlBackgroundUnselected: any;
7049
- controlBackgroundDisabled: any;
7050
- colorHasPlaceholder: string;
7051
- colorDisabled: any;
7052
- iconDisabled: any;
7053
- };
7054
- DARK: {
7055
- background: string;
7056
- backgroundFocused: string;
7057
- backgroundAutofilled: string;
7058
- prependBackground: string;
7059
- border: string;
7060
- controlBorder: string;
7061
- controlBorderSelected: string;
7062
- controlBorderDisabled: string;
7063
- backgroundDisabled: string;
7064
- backgroundReadOnly: any;
7065
- borderAutofilled: string;
7066
- controlBackgroundUnselected: any;
7067
- controlBackgroundDisabled: any;
7068
- colorHasPlaceholder: string;
7069
- colorDisabled: any;
7070
- iconDisabled: any;
7071
- };
6888
+ * Specify what should be displayed after a selection: a `palette` or `title`
6889
+ */
6890
+ selectionDisplay?: 'palette' | 'title';
6891
+ /**
6892
+ * An array of one of the following objects: #EuiColorPalettePickerPaletteText, #EuiColorPalettePickerPaletteFixed, #EuiColorPalettePickerPaletteGradient
6893
+ */
6894
+ palettes: EuiColorPalettePickerPaletteProps[];
7072
6895
  };
6896
+ export const EuiColorPalettePicker: FunctionComponent<EuiColorPalettePickerProps<string>>;
7073
6897
 
7074
6898
  }
7075
- declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
7076
- import { _EuiThemeComponents } from '@elastic/eui-theme-common';
7077
- export const components: _EuiThemeComponents;
7078
-
7079
- }
7080
- declare module '@elastic/eui/src/themes/amsterdam/theme' {
7081
- import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
7082
- export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
7083
- export const euiThemeAmsterdam: EuiThemeShape;
7084
- export const EuiThemeAmsterdam: {
7085
- model: EuiThemeShape;
7086
- root: EuiThemeShape;
7087
- key: string;
7088
- };
6899
+ declare module '@elastic/eui/src/components/color_picker/color_palette_picker' {
6900
+ export type { EuiColorPalettePickerProps, EuiColorPalettePickerPaletteTextProps, EuiColorPalettePickerPaletteFixedProps, EuiColorPalettePickerPaletteGradientProps, EuiColorPalettePickerPaletteProps, PaletteColorStop, } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
6901
+ export { EuiColorPalettePicker } from '@elastic/eui/src/components/color_picker/color_palette_picker/color_palette_picker';
7089
6902
 
7090
6903
  }
7091
- declare module '@elastic/eui/src/services/theme/context' {
7092
- import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
7093
- export const DEFAULTS: {
7094
- system: {
7095
- model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
7096
- root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
7097
- key: string;
7098
- };
7099
- modifications: {};
7100
- colorMode: "LIGHT";
7101
- highContrastMode: false;
7102
- };
7103
- export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
7104
- export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
7105
- overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
7106
- }>>;
7107
- export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
7108
- export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
7109
- export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
7110
- export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
7111
- export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
6904
+ declare module '@elastic/eui/src/services/color/stepped_gradient' {
6905
+ import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
6906
+ export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
7112
6907
 
7113
6908
  }
7114
- declare module '@elastic/eui/src/services/theme/hooks' {
7115
- import React from 'react';
7116
- import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
6909
+ declare module '@elastic/eui/src/services/color/manipulation' {
6910
+ import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
7117
6911
  /**
7118
- * Hook for function components
6912
+ * Makes a color more transparent.
6913
+ * @param color - Color to manipulate
6914
+ * @param alpha - alpha channel value. From 0-1.
7119
6915
  */
7120
- export interface UseEuiTheme<T extends {} = {}> {
7121
- euiTheme: EuiThemeComputed<T>;
7122
- colorMode: EuiThemeColorModeStandard;
7123
- highContrastMode: EuiThemeHighContrastMode;
7124
- modifications: EuiThemeModifications<T>;
7125
- }
7126
- export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
6916
+ export const transparentize: (color: string, alpha: number) => string;
7127
6917
  /**
7128
- * HOC for class components
6918
+ * Mixes a provided color with white.
6919
+ * @param color - Color to mix with white
6920
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
7129
6921
  */
7130
- export interface WithEuiThemeProps<P extends {} = {}> {
7131
- theme: UseEuiTheme<P>;
7132
- }
7133
- 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">>>;
6922
+ export const tint: (color: string, ratio: number) => string;
7134
6923
  /**
7135
- * Render prop alternative for complex class components
7136
- * Most useful for scenarios where a HOC may interfere with typing
6924
+ * Mixes a provided color with black.
6925
+ * @param color - Color to mix with black
6926
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more black.
7137
6927
  */
7138
- export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
7139
- children: (theme: UseEuiTheme) => React.ReactElement;
7140
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6928
+ export const shade: (color: string, ratio: number) => string;
7141
6929
  /**
7142
- * Minor syntactical sugar hook for theme CSS variables.
7143
- * Primarily meant for internal EUI usage.
6930
+ * Returns the tinted color for light mode and shaded color for dark mode
6931
+ * @param color - Color to mix with white
6932
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6933
+ * @param colorMode - Light or dark only
7144
6934
  */
7145
- export const useEuiThemeCSSVariables: () => {
7146
- setGlobalCSSVariables: Function;
7147
- globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
7148
- setNearestThemeCSSVariables: Function;
7149
- themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
7150
- };
7151
-
7152
- }
7153
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
7154
- import React, { FunctionComponent, PropsWithChildren } from 'react';
7155
- import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
7156
- export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
6935
+ export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
7157
6936
  /**
7158
- * Returns the current breakpoint based on window width.
7159
- * Typically only called by the top-level `EuiProvider` (to reduce the number
7160
- * of window resize listeners on the page). Also conditionally called if a
7161
- * nested `EuiThemeProvider` defines a `modify.breakpoint` override
6937
+ * Returns the shaded color for light mode and tinted color for dark mode
6938
+ * @param color - Color to mix with white
6939
+ * @param ratio - Mix weight. From 0-1. Larger value indicates more white.
6940
+ * @param colorMode - Light or dark only
7162
6941
  */
7163
- export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
7164
- export {};
6942
+ export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
6943
+ /**
6944
+ * Increases the saturation of a color by manipulating the hsl saturation.
6945
+ * @param color - Color to manipulate
6946
+ * @param amount - Amount to change in absolute terms. 0-1.
6947
+ */
6948
+ export const saturate: (color: string, amount: number) => string;
6949
+ /**
6950
+ * Decreases the saturation of a color by manipulating the hsl saturation.
6951
+ * @param color - Color to manipulate
6952
+ * @param amount - Amount to change in absolute terms. 0-1.
6953
+ */
6954
+ export const desaturate: (color: string, amount: number) => string;
6955
+ /**
6956
+ * Returns the lightness value of a color. 0-100
6957
+ * @param color
6958
+ */
6959
+ export const lightness: (color: string) => number;
6960
+ /**
6961
+ * Returns the darken value of a color. 0-100
6962
+ * @param color - Color to manipulate
6963
+ * @param amount - Amount to change in absolute terms. 0-1.
6964
+ */
6965
+ export const darken: (color: string, amount: number) => string;
6966
+ /**
6967
+ * Returns the brighten value of a color. 0-100
6968
+ * @param color - Color to manipulate
6969
+ * @param amount - Amount to change in absolute terms. 0-1.
6970
+ */
6971
+ export const brighten: (color: string, amount: number) => string;
7165
6972
 
7166
6973
  }
7167
- declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
6974
+ declare module '@elastic/eui/src/services/color/contrast' {
6975
+ export const wcagContrastMin = 4.5;
7168
6976
  /**
7169
- * Hook util / syntactical sugar for useContext()
7170
- *
7171
- * This hook is in its own separate file to make mocking it
7172
- * as a testenv easy for Jest unit tests
6977
+ * Creates a new color that meets or exceeds WCAG level AA
6978
+ * @param foreground - Color to manipulate
6979
+ * @param ratio - Amount to change in absolute terms. 0-10.
6980
+ * *
6981
+ * @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
7173
6982
  */
7174
- export const useCurrentEuiBreakpoint: () => string | undefined;
6983
+ export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
6984
+ colors: {
6985
+ body: string;
6986
+ };
6987
+ [key: string]: any;
6988
+ }) => string;
6989
+ /**
6990
+ * Creates a new color with increased contrast
6991
+ * Disabled content only needs a contrast of at least 2 because there is no interaction available
6992
+ * @param foreground - Color to manipulate
6993
+ * @param ratio - Amount to change in absolute terms. 0-10.
6994
+ * *
6995
+ * @param themeOrBackground - Color to use as the contrast basis
6996
+ */
6997
+ export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
6998
+ colors: {
6999
+ body: string;
7000
+ };
7001
+ [key: string]: any;
7002
+ }) => string;
7003
+
7004
+ }
7005
+ declare module '@elastic/eui/src/services/color' {
7006
+ export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
7007
+ export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
7008
+ export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
7009
+ export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
7010
+ export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
7011
+ export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
7012
+ export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
7013
+ export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
7014
+ export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
7015
+ export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
7016
+ export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
7017
+ export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
7018
+ 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';
7019
+ export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
7020
+ export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
7021
+ export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
7022
+ export * from '@elastic/eui/src/services/color/manipulation';
7023
+ export * from '@elastic/eui/src/services/color/contrast';
7024
+
7025
+ }
7026
+ declare module '@elastic/eui/src/services/theme/provider' {
7027
+ import React, { PropsWithChildren, HTMLAttributes } from 'react';
7028
+ import type { CommonProps } from '@elastic/eui/src/components/common';
7029
+ import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
7030
+ export interface EuiThemeProviderProps<T> extends PropsWithChildren {
7031
+ theme?: EuiThemeSystem<T>;
7032
+ colorMode?: EuiThemeColorMode;
7033
+ highContrastMode?: EuiThemeHighContrastModeProp;
7034
+ modify?: EuiThemeModifications<T>;
7035
+ children: any;
7036
+ /**
7037
+ * Nested theme providers will receive a wrapping `span` tag in order to correctly
7038
+ * set the default text `color` that all nested children will inherit.
7039
+ *
7040
+ * If an extra wrapper is not desired, pass `{ cloneElement: true }`.
7041
+ * This requires a **single** child component that the correct color class can be passed to.
7042
+ *
7043
+ * The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
7044
+ * the default inherited text color will be set on the page `body`.
7045
+ */
7046
+ wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
7047
+ cloneElement?: boolean;
7048
+ };
7049
+ }
7050
+ export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
7051
+
7052
+ }
7053
+ declare module '@elastic/eui/src/services/theme' {
7054
+ export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
7055
+ export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
7056
+ export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
7057
+ export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
7058
+ export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
7059
+ export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
7060
+ export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
7061
+ export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
7062
+ export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
7063
+ export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
7175
7064
 
7176
7065
  }
7177
7066
  declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
@@ -7285,7 +7174,7 @@ declare module '@elastic/eui/src/services/findElement' {
7285
7174
  * returns a DOM node.
7286
7175
  */
7287
7176
  export type ElementTarget = HTMLElement | string | (() => HTMLElement);
7288
- export const findElementBySelectorOrRef: (elementTarget?: ElementTarget | undefined) => HTMLElement | null;
7177
+ export const findElementBySelectorOrRef: (elementTarget?: ElementTarget) => HTMLElement | null;
7289
7178
 
7290
7179
  }
7291
7180
  declare module '@elastic/eui/src/services/format/format_boolean' {
@@ -7297,7 +7186,8 @@ declare module '@elastic/eui/src/services/format/format_boolean' {
7297
7186
 
7298
7187
  }
7299
7188
  declare module '@elastic/eui/src/services/format/format_date' {
7300
- import moment from 'moment'; type CalendarOptions = moment.CalendarSpec & {
7189
+ import moment from 'moment';
7190
+ type CalendarOptions = moment.CalendarSpec & {
7301
7191
  refTime?: moment.MomentInput;
7302
7192
  };
7303
7193
  export const dateFormatAliases: {
@@ -7313,7 +7203,8 @@ declare module '@elastic/eui/src/services/format/format_date' {
7313
7203
  calendar: (value: moment.MomentInput, options?: CalendarOptions) => string;
7314
7204
  calendarDateTime: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7315
7205
  calendarDate: (value: moment.MomentInput, options: moment.CalendarSpec) => string;
7316
- }; type DateFormat = keyof typeof dateFormatAliases;
7206
+ };
7207
+ type DateFormat = keyof typeof dateFormatAliases;
7317
7208
  interface FormatDateConfig {
7318
7209
  format: DateFormat;
7319
7210
  nil: string;
@@ -7329,7 +7220,7 @@ declare module '@elastic/eui/src/services/format/format_number' {
7329
7220
  nil: string;
7330
7221
  round: boolean;
7331
7222
  }
7332
- export const formatNumber: (value?: number | null | undefined, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7223
+ export const formatNumber: (value?: number | null, numberFormatOrConfig?: string | Partial<FormatNumberConfig>) => string;
7333
7224
  export {};
7334
7225
 
7335
7226
  }
@@ -7397,9 +7288,9 @@ declare module '@elastic/eui/src/services/security/get_secure_rel_for_target' {
7397
7288
  * https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
7398
7289
  */
7399
7290
  export const getSecureRelForTarget: ({ target, rel, }: {
7400
- href?: string | undefined;
7401
- target?: string | undefined;
7402
- rel?: string | undefined;
7291
+ href?: string;
7292
+ target?: "_blank" | "_self" | "_parent" | "_top" | string;
7293
+ rel?: string;
7403
7294
  }) => string;
7404
7295
 
7405
7296
  }
@@ -7477,7 +7368,7 @@ declare module '@elastic/eui/src/services/sort/property_sort' {
7477
7368
  import { Direction } from '@elastic/eui/src/services/sort/sort_direction';
7478
7369
  export const PropertySortType: PropTypes.Requireable<PropTypes.InferProps<{
7479
7370
  field: PropTypes.Validator<string>;
7480
- direction: PropTypes.Validator<"desc" | "asc">;
7371
+ direction: PropTypes.Validator<NonNullable<"desc" | "asc">>;
7481
7372
  }>>;
7482
7373
  export interface PropertySort {
7483
7374
  field: string;
@@ -7553,7 +7444,8 @@ declare module '@elastic/eui/src/services/transition' {
7553
7444
 
7554
7445
  }
7555
7446
  declare module '@elastic/eui/src/services/window_event/window_event' {
7556
- import { Component } from 'react'; type EventNames = keyof WindowEventMap;
7447
+ import { Component } from 'react';
7448
+ type EventNames = keyof WindowEventMap;
7557
7449
  interface Props<Ev extends EventNames> {
7558
7450
  event: Ev;
7559
7451
  handler: (this: Window, ev: WindowEventMap[Ev]) => any;
@@ -7686,7 +7578,8 @@ declare module '@elastic/eui/src/components/accessibility/skip_link/skip_link' {
7686
7578
  import { FunctionComponent, Ref } from 'react';
7687
7579
  import { EuiButtonProps } from '@elastic/eui/src/components/button/button';
7688
7580
  import { PropsForAnchor } from '@elastic/eui/src/components/common';
7689
- export const POSITIONS: readonly ["static", "fixed", "absolute"]; type Positions = (typeof POSITIONS)[number];
7581
+ export const POSITIONS: readonly ["static", "fixed", "absolute"];
7582
+ type Positions = (typeof POSITIONS)[number];
7690
7583
  interface EuiSkipLinkInterface extends EuiButtonProps {
7691
7584
  /**
7692
7585
  * Change the display position of the element when focused.
@@ -7755,7 +7648,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7755
7648
  }
7756
7649
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_button' {
7757
7650
  import { FunctionComponent, PropsWithChildren, HTMLAttributes } from 'react';
7758
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionButtonProps = PropsWithChildren & HTMLAttributes<HTMLElement> & Required<Pick<EuiAccordionProps, 'buttonElement'>> & Pick<EuiAccordionProps, 'buttonClassName' | 'buttonProps' | 'buttonContentClassName' | 'isDisabled' | 'arrowDisplay'>;
7651
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7652
+ type _EuiAccordionButtonProps = PropsWithChildren & HTMLAttributes<HTMLElement> & Required<Pick<EuiAccordionProps, 'buttonElement'>> & Pick<EuiAccordionProps, 'buttonClassName' | 'buttonProps' | 'buttonContentClassName' | 'isDisabled' | 'arrowDisplay'>;
7759
7653
  export const EuiAccordionButton: FunctionComponent<_EuiAccordionButtonProps>;
7760
7654
  export {};
7761
7655
 
@@ -7774,7 +7668,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7774
7668
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_arrow' {
7775
7669
  import { FunctionComponent } from 'react';
7776
7670
  import { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
7777
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionArrowProps = Partial<EuiButtonIconPropsForButton> & Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps'> & {
7671
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7672
+ type _EuiAccordionArrowProps = Partial<EuiButtonIconPropsForButton> & Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps'> & {
7778
7673
  isOpen: boolean;
7779
7674
  };
7780
7675
  export const EuiAccordionArrow: FunctionComponent<_EuiAccordionArrowProps>;
@@ -7783,7 +7678,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordio
7783
7678
  }
7784
7679
  declare module '@elastic/eui/src/components/accordion/accordion_trigger/accordion_trigger' {
7785
7680
  import { FunctionComponent, MouseEventHandler } from 'react';
7786
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionTriggerProps = Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps' | 'buttonElement' | 'buttonClassName' | 'buttonProps' | 'buttonContent' | 'buttonContentClassName' | 'extraAction' | 'isDisabled'> & {
7681
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7682
+ type _EuiAccordionTriggerProps = Pick<EuiAccordionProps, 'arrowDisplay' | 'arrowProps' | 'buttonElement' | 'buttonClassName' | 'buttonProps' | 'buttonContent' | 'buttonContentClassName' | 'extraAction' | 'isDisabled'> & {
7787
7683
  isOpen: boolean;
7788
7684
  ariaControlsId: string;
7789
7685
  buttonId: string;
@@ -7799,7 +7695,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_trigger' {
7799
7695
  }
7800
7696
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children_loading' {
7801
7697
  import { FunctionComponent } from 'react';
7802
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionChildrenLoadingProps = Pick<EuiAccordionProps, 'isLoadingMessage'>;
7698
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7699
+ type _EuiAccordionChildrenLoadingProps = Pick<EuiAccordionProps, 'isLoadingMessage'>;
7803
7700
  export const EuiAccordionChildrenLoading: FunctionComponent<_EuiAccordionChildrenLoadingProps>;
7804
7701
  export {};
7805
7702
 
@@ -7825,7 +7722,8 @@ declare module '@elastic/eui/src/components/accordion/accordion_children/accordi
7825
7722
  }
7826
7723
  declare module '@elastic/eui/src/components/accordion/accordion_children/accordion_children' {
7827
7724
  import { FunctionComponent, HTMLAttributes } from 'react';
7828
- import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion'; type _EuiAccordionChildrenProps = HTMLAttributes<HTMLDivElement> & Pick<EuiAccordionProps, 'role' | 'children' | 'paddingSize' | 'initialIsOpen' | 'isLoading' | 'isLoadingMessage'> & {
7725
+ import { EuiAccordionProps } from '@elastic/eui/src/components/accordion/accordion';
7726
+ type _EuiAccordionChildrenProps = HTMLAttributes<HTMLDivElement> & Pick<EuiAccordionProps, 'role' | 'children' | 'paddingSize' | 'initialIsOpen' | 'isLoading' | 'isLoadingMessage'> & {
7829
7727
  isOpen: boolean;
7830
7728
  };
7831
7729
  export const EuiAccordionChildren: FunctionComponent<_EuiAccordionChildrenProps>;
@@ -7940,7 +7838,8 @@ declare module '@elastic/eui/src/components/accordion/accordion' {
7940
7838
  * Disable the open/close interaction and visually subdues the trigger
7941
7839
  */
7942
7840
  isDisabled?: boolean;
7943
- }; type EuiAccordionState = {
7841
+ };
7842
+ type EuiAccordionState = {
7944
7843
  isOpen: boolean;
7945
7844
  };
7946
7845
  export class EuiAccordionClass extends Component<WithEuiThemeProps & EuiAccordionProps, EuiAccordionState> {
@@ -8044,7 +7943,12 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
8044
7943
  export const TYPES: readonly ["space", "user"];
8045
7944
  export type EuiAvatarType = (typeof TYPES)[number];
8046
7945
  export const CASING: readonly ["capitalize", "uppercase", "lowercase", "none"];
8047
- export type EuiAvatarCasing = (typeof CASING)[number]; type _EuiAvatarContent = ExclusiveUnion<ExclusiveUnion<{
7946
+ export type EuiAvatarCasing = (typeof CASING)[number];
7947
+ /**
7948
+ * The avatar can only display one type of content,
7949
+ * initials, or image, or iconType
7950
+ */
7951
+ type _EuiAvatarContent = ExclusiveUnion<ExclusiveUnion<{
8048
7952
  /**
8049
7953
  * Custom initials (max 2 characters).
8050
7954
  * By default will take the first character (of each word).
@@ -8104,7 +8008,7 @@ declare module '@elastic/eui/src/components/avatar/avatar' {
8104
8008
  isDisabled?: boolean;
8105
8009
  };
8106
8010
  export const EuiAvatar: FunctionComponent<EuiAvatarProps>;
8107
- export const checkValidColor: (color: EuiAvatarProps['color']) => void;
8011
+ export const checkValidColor: (color: EuiAvatarProps["color"]) => void;
8108
8012
  export {};
8109
8013
 
8110
8014
  }
@@ -8230,7 +8134,7 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
8230
8134
  };
8231
8135
  export const getTextColor: ({ euiTheme }: UseEuiTheme, bgColor: string) => string;
8232
8136
  export const getColorContrast: (textColor: string, color: string) => number;
8233
- export const getIsValidColor: (color?: string | undefined) => boolean;
8137
+ export const getIsValidColor: (color?: string) => boolean;
8234
8138
 
8235
8139
  }
8236
8140
  declare module '@elastic/eui/src/components/badge/badge.styles' {
@@ -8271,8 +8175,11 @@ declare module '@elastic/eui/src/components/badge/badge' {
8271
8175
  import { AriaAttributes, FunctionComponent, HTMLAttributes, MouseEventHandler } from 'react';
8272
8176
  import { CommonProps, ExclusiveUnion, PropsOf } from '@elastic/eui/src/components/common';
8273
8177
  import { EuiIcon, IconType } from '@elastic/eui/src/components/icon';
8274
- export const ICON_SIDES: readonly ["left", "right"]; type IconSide = (typeof ICON_SIDES)[number];
8275
- export const COLORS: readonly ["default", "hollow", "primary", "accent", "neutral", "success", "warning", "risk", "danger"]; type BadgeColor = (typeof COLORS)[number]; type WithButtonProps = {
8178
+ export const ICON_SIDES: readonly ["left", "right"];
8179
+ type IconSide = (typeof ICON_SIDES)[number];
8180
+ export const COLORS: readonly ["default", "hollow", "primary", "accent", "neutral", "success", "warning", "risk", "danger"];
8181
+ type BadgeColor = (typeof COLORS)[number];
8182
+ type WithButtonProps = {
8276
8183
  /**
8277
8184
  * Will apply an onclick to the badge itself
8278
8185
  */
@@ -8281,11 +8188,13 @@ declare module '@elastic/eui/src/components/badge/badge' {
8281
8188
  * Aria label applied to the onClick button
8282
8189
  */
8283
8190
  onClickAriaLabel: AriaAttributes['aria-label'];
8284
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8191
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8192
+ type WithAnchorProps = {
8285
8193
  href: string;
8286
8194
  target?: string;
8287
8195
  rel?: string;
8288
- } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>; type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color'>;
8196
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>;
8197
+ type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color'>;
8289
8198
  interface WithIconOnClick {
8290
8199
  /**
8291
8200
  * Will apply an onclick to icon within the badge
@@ -8358,7 +8267,8 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8358
8267
  export const SIZES: readonly ["s", "m"];
8359
8268
  export type BetaBadgeSize = (typeof SIZES)[number];
8360
8269
  export const ALIGNMENTS: readonly ["baseline", "middle"];
8361
- export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number]; type WithButtonProps = {
8270
+ export type BetaBadgeAlignment = (typeof ALIGNMENTS)[number];
8271
+ type WithButtonProps = {
8362
8272
  /**
8363
8273
  * Will apply an onclick to the badge itself
8364
8274
  */
@@ -8367,11 +8277,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8367
8277
  * Aria label applied to the onClick button
8368
8278
  */
8369
8279
  onClickAriaLabel?: AriaAttributes['aria-label'];
8370
- } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>; type WithAnchorProps = {
8280
+ } & Omit<HTMLAttributes<HTMLButtonElement>, 'onClick' | 'color'>;
8281
+ type WithAnchorProps = {
8371
8282
  href: string;
8372
8283
  target?: string;
8373
8284
  rel?: string;
8374
- } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>; type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color' | 'title'>; type LabelAsNode = ExclusiveUnion<{
8285
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, 'href' | 'color' | 'onClick'>;
8286
+ type WithSpanProps = Omit<HTMLAttributes<HTMLSpanElement>, 'onClick' | 'color' | 'title'>;
8287
+ type LabelAsNode = ExclusiveUnion<{
8375
8288
  title: string;
8376
8289
  tooltipContent?: ReactNode;
8377
8290
  }, {
@@ -8379,12 +8292,14 @@ declare module '@elastic/eui/src/components/badge/beta_badge/beta_badge' {
8379
8292
  title?: string;
8380
8293
  }> & {
8381
8294
  label: ReactNode;
8382
- }; type LabelAsString = {
8295
+ };
8296
+ type LabelAsString = {
8383
8297
  /**
8384
8298
  * One word label like "Beta" or "Lab"
8385
8299
  */
8386
8300
  label: string;
8387
- }; type BadgeProps = {
8301
+ };
8302
+ type BadgeProps = {
8388
8303
  /**
8389
8304
  * Supply an icon type if the badge should just be an icon
8390
8305
  */
@@ -8478,7 +8393,8 @@ declare module '@elastic/eui/src/components/badge/badge_group/badge_group.styles
8478
8393
  declare module '@elastic/eui/src/components/badge/badge_group/badge_group' {
8479
8394
  import React, { ReactNode } from 'react';
8480
8395
  import { CommonProps } from '@elastic/eui/src/components/common';
8481
- export const GUTTER_SIZES: readonly ["none", "xs", "s"]; type BadgeGroupGutterSize = (typeof GUTTER_SIZES)[number];
8396
+ export const GUTTER_SIZES: readonly ["none", "xs", "s"];
8397
+ type BadgeGroupGutterSize = (typeof GUTTER_SIZES)[number];
8482
8398
  export interface EuiBadgeGroupProps {
8483
8399
  /**
8484
8400
  * Space between badges
@@ -8562,9 +8478,11 @@ declare module '@elastic/eui/src/components/bottom_bar/bottom_bar' {
8562
8478
  import React, { CSSProperties, HTMLAttributes } from 'react';
8563
8479
  import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
8564
8480
  import { EuiPortalProps } from '@elastic/eui/src/components/portal';
8565
- export const PADDING_SIZES: readonly ["none", "s", "m", "l"]; type BottomBarPaddingSize = (typeof PADDING_SIZES)[number];
8481
+ export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
8482
+ type BottomBarPaddingSize = (typeof PADDING_SIZES)[number];
8566
8483
  export const POSITIONS: readonly ["static", "fixed", "sticky"];
8567
- export type _BottomBarPosition = (typeof POSITIONS)[number]; type _BottomBarExclusivePositions = ExclusiveUnion<{
8484
+ export type _BottomBarPosition = (typeof POSITIONS)[number];
8485
+ type _BottomBarExclusivePositions = ExclusiveUnion<{
8568
8486
  position?: 'fixed';
8569
8487
  /**
8570
8488
  * Whether to wrap in an EuiPortal which appends the component to the body element.
@@ -8859,11 +8777,13 @@ declare module '@elastic/eui/src/components/breadcrumbs/breadcrumbs' {
8859
8777
  import { ExclusiveUnion } from '@elastic/eui/src/components/common';
8860
8778
  import type { EuiBreadcrumbsProps, EuiBreadcrumbProps } from '@elastic/eui/src/components/breadcrumbs/types';
8861
8779
  export const EuiBreadcrumbs: FunctionComponent<EuiBreadcrumbsProps>;
8862
- export const useResponsiveMax: (responsive: EuiBreadcrumbsProps['responsive'], max: EuiBreadcrumbsProps['max']) => number | null | undefined; type _EuiBreadcrumbCollapsedObj = {
8780
+ export const useResponsiveMax: (responsive: EuiBreadcrumbsProps["responsive"], max: EuiBreadcrumbsProps["max"]) => number | null | undefined;
8781
+ type _EuiBreadcrumbCollapsedObj = {
8863
8782
  isCollapsedButton: true;
8864
8783
  overflowBreadcrumbs: EuiBreadcrumbProps[];
8865
- }; type _EuiBreadcrumbsObjs = Array<ExclusiveUnion<EuiBreadcrumbProps, _EuiBreadcrumbCollapsedObj>>;
8866
- export const limitBreadcrumbs: (breadcrumbs: EuiBreadcrumbsProps['breadcrumbs'], max: number) => _EuiBreadcrumbsObjs;
8784
+ };
8785
+ type _EuiBreadcrumbsObjs = Array<ExclusiveUnion<EuiBreadcrumbProps, _EuiBreadcrumbCollapsedObj>>;
8786
+ export const limitBreadcrumbs: (breadcrumbs: EuiBreadcrumbsProps["breadcrumbs"], max: number) => _EuiBreadcrumbsObjs;
8867
8787
  export {};
8868
8788
 
8869
8789
  }
@@ -8882,7 +8802,7 @@ declare module '@elastic/eui/src/components/panel/split_panel/split_panel.styles
8882
8802
  export const euiSplitPanelInnerStyles: (euiThemeContext: UseEuiTheme) => {
8883
8803
  euiSplitPanelInner: import("@emotion/react").SerializedStyles;
8884
8804
  highContrastBorders: {
8885
- _renderBorder: (direction: 'right' | 'bottom') => string;
8805
+ _renderBorder: (direction: "right" | "bottom") => string;
8886
8806
  readonly column: string;
8887
8807
  readonly row: string;
8888
8808
  };
@@ -8973,7 +8893,9 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8973
8893
  import { IconType } from '@elastic/eui/src/components/icon';
8974
8894
  export const COLORS: readonly ["primary", "success", "warning", "danger", "accent"];
8975
8895
  export type Color = (typeof COLORS)[number];
8976
- export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"]; type Heading = (typeof HEADINGS)[number]; type Size = 's' | 'm';
8896
+ export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
8897
+ type Heading = (typeof HEADINGS)[number];
8898
+ type Size = 's' | 'm';
8977
8899
  export type EuiCallOutProps = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> & {
8978
8900
  title?: ReactNode;
8979
8901
  iconType?: IconType;
@@ -8991,10 +8913,10 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
8991
8913
  };
8992
8914
  export const EuiCallOut: React.ForwardRefExoticComponent<CommonProps & Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "color"> & {
8993
8915
  title?: ReactNode;
8994
- iconType?: IconType | undefined;
8995
- color?: "primary" | "accent" | "success" | "warning" | "danger" | undefined;
8996
- size?: Size | undefined;
8997
- heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | undefined;
8916
+ iconType?: IconType;
8917
+ color?: Color;
8918
+ size?: Size;
8919
+ heading?: Heading;
8998
8920
  /**
8999
8921
  * Passing an `onDismiss` callback will render a cross in the top right hand corner
9000
8922
  * of the callout.
@@ -9002,7 +8924,7 @@ declare module '@elastic/eui/src/components/call_out/call_out' {
9002
8924
  * This callback fires when users click this button, which allows conditionally
9003
8925
  * removing the callout or other actions.
9004
8926
  */
9005
- onDismiss?: (() => void) | undefined;
8927
+ onDismiss?: () => void;
9006
8928
  } & React.RefAttributes<HTMLDivElement>>;
9007
8929
  export {};
9008
8930
 
@@ -9039,7 +8961,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
9039
8961
  * 3. Horizontal layouts should always top left align no matter the textAlign prop
9040
8962
  * 4. Ensures the contents always stretch no matter the flex layout
9041
8963
  */
9042
- export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
8964
+ export const euiCardStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
9043
8965
  card: {
9044
8966
  euiCard: import("@emotion/react").SerializedStyles;
9045
8967
  aligned: {
@@ -9097,7 +9019,7 @@ declare module '@elastic/eui/src/components/card/card.styles' {
9097
9019
  };
9098
9020
  disabled: import("@emotion/react").SerializedStyles;
9099
9021
  };
9100
- export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps['paddingSize']) => {
9022
+ export const euiCardBetaBadgeStyles: (euiThemeContext: UseEuiTheme, paddingSize: EuiCardProps["paddingSize"]) => {
9101
9023
  hasBetaBadge: import("@emotion/react").SerializedStyles;
9102
9024
  euiCard__betaBadgeAnchor: import("@emotion/react").SerializedStyles;
9103
9025
  euiCard__betaBadge: import("@emotion/react").SerializedStyles;
@@ -9111,7 +9033,12 @@ declare module '@elastic/eui/src/components/card/card' {
9111
9033
  import { EuiIconProps } from '@elastic/eui/src/components/icon';
9112
9034
  import { EuiPanelProps } from '@elastic/eui/src/components/panel';
9113
9035
  import { EuiCardSelectProps } from '@elastic/eui/src/components/card/card_select';
9114
- export const ALIGNMENTS: readonly ["left", "center", "right"]; type CardAlignment = (typeof ALIGNMENTS)[number]; type EuiCardPropsLayout = ExclusiveUnion<{
9036
+ export const ALIGNMENTS: readonly ["left", "center", "right"];
9037
+ type CardAlignment = (typeof ALIGNMENTS)[number];
9038
+ /**
9039
+ * Certain props are only allowed when the layout is vertical
9040
+ */
9041
+ type EuiCardPropsLayout = ExclusiveUnion<{
9115
9042
  layout?: 'vertical';
9116
9043
  /**
9117
9044
  * Changes alignment of the title and description
@@ -9310,7 +9237,9 @@ declare module '@elastic/eui/src/components/form/checkbox/checkbox_group' {
9310
9237
  }
9311
9238
  export interface EuiCheckboxGroupIdToSelectedMap {
9312
9239
  [id: string]: boolean;
9313
- } type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>; type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
9240
+ }
9241
+ type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;
9242
+ type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
9314
9243
  /**
9315
9244
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
9316
9245
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -9671,7 +9600,7 @@ declare module '@elastic/eui/src/components/form/field_search/field_search' {
9671
9600
  onClear: () => void;
9672
9601
  componentWillUnmount(): void;
9673
9602
  setRef: (inputElement: HTMLInputElement | null) => void;
9674
- onKeyUp: (event: KeyboardEvent<HTMLInputElement>, incremental?: boolean | undefined, onSearch?: ((value: string) => void) | undefined) => void;
9603
+ onKeyUp: (event: KeyboardEvent<HTMLInputElement>, incremental?: boolean, onSearch?: (value: string) => void) => void;
9675
9604
  render(): React.JSX.Element;
9676
9605
  }
9677
9606
  export const EuiFieldSearch: React.ForwardRefExoticComponent<Omit<EuiFieldSearchProps, "stylesMemoizer"> & React.RefAttributes<Omit<EuiFieldSearchProps, "stylesMemoizer">>>;
@@ -9830,7 +9759,9 @@ declare module '@elastic/eui/src/components/progress/progress' {
9830
9759
  */
9831
9760
  color?: EuiProgressColor | CSSProperties['color'];
9832
9761
  position?: EuiProgressPosition;
9833
- }; type Indeterminate = EuiProgressProps & HTMLAttributes<HTMLDivElement>; type Determinate = EuiProgressProps & Omit<ProgressHTMLAttributes<HTMLProgressElement>, 'max'> & {
9762
+ };
9763
+ type Indeterminate = EuiProgressProps & HTMLAttributes<HTMLDivElement>;
9764
+ type Determinate = EuiProgressProps & Omit<ProgressHTMLAttributes<HTMLProgressElement>, 'max'> & {
9834
9765
  max?: number;
9835
9766
  valueText?: boolean | ReactNode;
9836
9767
  label?: ReactNode;
@@ -9937,7 +9868,7 @@ declare module '@elastic/eui/src/components/form/file_picker/file_picker' {
9937
9868
  fileInput: HTMLInputElement | null;
9938
9869
  generatedId: string;
9939
9870
  handleChange: () => void;
9940
- removeFiles: (e?: React.MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void;
9871
+ removeFiles: (e?: React.MouseEvent<HTMLButtonElement>) => void;
9941
9872
  showDrop: () => void;
9942
9873
  hideDrop: () => void;
9943
9874
  render(): React.JSX.Element;
@@ -10037,7 +9968,8 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
10037
9968
  import { FunctionComponent, HTMLAttributes, ReactElement, ReactNode } from 'react';
10038
9969
  import { ExclusiveUnion, CommonProps } from '@elastic/eui/src/components/common';
10039
9970
  export const DISPLAYS: readonly ["row", "columnCompressed", "center", "centerCompressed", "rowCompressed"];
10040
- export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number]; type EuiFormRowCommonProps = CommonProps & {
9971
+ export type EuiFormRowDisplayKeys = (typeof DISPLAYS)[number];
9972
+ type EuiFormRowCommonProps = CommonProps & {
10041
9973
  /**
10042
9974
  * - `columnCompressed` creates a compressed and horizontal layout
10043
9975
  * - `center`/`centerCompressed` helps align non-input content better with inline form layouts
@@ -10085,9 +10017,11 @@ declare module '@elastic/eui/src/components/form/form_row/form_row' {
10085
10017
  * Passed along to the label element; and to the child field element when `disabled` doesn't already exist on the child field element.
10086
10018
  */
10087
10019
  isDisabled?: boolean;
10088
- }; type LabelProps = {
10020
+ };
10021
+ type LabelProps = {
10089
10022
  labelType?: 'label';
10090
- } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>; type LegendProps = {
10023
+ } & EuiFormRowCommonProps & HTMLAttributes<HTMLDivElement>;
10024
+ type LegendProps = {
10091
10025
  /**
10092
10026
  * Defaults to rendering a `<label>` but if passed `'legend'` for labelType,
10093
10027
  * will render both a `<legend>` and the surrounding container as a `<fieldset>`
@@ -10174,7 +10108,9 @@ declare module '@elastic/eui/src/components/form/radio/radio_group' {
10174
10108
  export interface EuiRadioGroupOption extends Omit<EuiRadioProps, 'checked' | 'onChange'> {
10175
10109
  id: string;
10176
10110
  }
10177
- export type EuiRadioGroupChangeCallback = (id: string, value?: string) => void; type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>; type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
10111
+ export type EuiRadioGroupChangeCallback = (id: string, value?: string) => void;
10112
+ type AsDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;
10113
+ type WithLegendProps = Omit<EuiFormFieldsetProps, 'onChange'> & {
10178
10114
  /**
10179
10115
  * If the individual labels for each radio do not provide a sufficient description, add a legend.
10180
10116
  * Wraps the group in a `EuiFormFieldset` which adds an `EuiLegend` for titling the whole group.
@@ -10212,7 +10148,7 @@ declare module '@elastic/eui/src/components/form/range/range_levels_colors' {
10212
10148
  import type { EuiRangeLevel } from '@elastic/eui/src/components/form/range/types';
10213
10149
  export const LEVEL_COLORS: readonly ["primary", "success", "warning", "danger"];
10214
10150
  export type EuiRangeLevelColor = (typeof LEVEL_COLORS)[number];
10215
- export const isNamedLevelColor: (color?: string | undefined) => color is "primary" | "success" | "warning" | "danger";
10151
+ export const isNamedLevelColor: (color?: EuiRangeLevelColor | string) => color is EuiRangeLevelColor;
10216
10152
  export const euiRangeLevelColor: (color: EuiRangeLevelColor | string, { euiTheme }: UseEuiTheme) => string;
10217
10153
  export const getLevelColor: (levels: EuiRangeLevel[], value: number) => "primary" | "success" | "warning" | "danger" | import("csstype").Property.Color | undefined;
10218
10154
 
@@ -10693,11 +10629,11 @@ declare module '@elastic/eui/src/components/form/range/dual_range.styles' {
10693
10629
 
10694
10630
  }
10695
10631
  declare module '@elastic/eui/src/components/form/range/dual_range' {
10696
-
10697
10632
  import React, { Component } from 'react';
10698
10633
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10699
10634
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
10700
- import type { EuiDualRangeProps, _SingleRangeValue } from '@elastic/eui/src/components/form/range/types'; type ValueMember = _SingleRangeValue['value'];
10635
+ import type { EuiDualRangeProps, _SingleRangeValue } from '@elastic/eui/src/components/form/range/types';
10636
+ type ValueMember = _SingleRangeValue['value'];
10701
10637
  export class EuiDualRangeClass extends Component<EuiDualRangeProps & WithEuiThemeProps> {
10702
10638
  static contextType: React.Context<FormContextValue>;
10703
10639
  static defaultProps: {
@@ -10729,7 +10665,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10729
10665
  _determineInvalidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>) => void;
10730
10666
  _determineValidThumbMovement: (newVal: ValueMember, lower: ValueMember, upper: ValueMember, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10731
10667
  _determineThumbMovement: (newVal: number, e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10732
- _handleOnChange: (lower: ValueMember, upper: ValueMember, e?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement, MouseEvent> | React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement> | undefined) => void;
10668
+ _handleOnChange: (lower: ValueMember, upper: ValueMember, e?: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement> | React.KeyboardEvent<HTMLDivElement>) => void;
10733
10669
  handleSliderChange: (e: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
10734
10670
  _resetToRangeEnds: (e: React.KeyboardEvent<HTMLInputElement>) => void;
10735
10671
  _isDirectionalKeyPress: (event: React.KeyboardEvent<HTMLInputElement>) => boolean;
@@ -10740,7 +10676,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10740
10676
  handleLowerKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10741
10677
  handleUpperKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
10742
10678
  handleDraggableKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
10743
- calculateThumbPositionStyle: (value: number, width?: number | undefined) => {
10679
+ calculateThumbPositionStyle: (value: number, width?: number) => {
10744
10680
  left: string;
10745
10681
  };
10746
10682
  onThumbFocus: (e: React.FocusEvent<HTMLDivElement>) => void;
@@ -10752,7 +10688,7 @@ declare module '@elastic/eui/src/components/form/range/dual_range' {
10752
10688
  width: number;
10753
10689
  }) => void;
10754
10690
  getNearestStep: (value: number) => number;
10755
- handleDrag: (x: number, isFirstInteraction?: boolean | undefined) => void;
10691
+ handleDrag: (x: number, isFirstInteraction?: boolean) => void;
10756
10692
  render(): React.JSX.Element;
10757
10693
  }
10758
10694
  export const EuiDualRange: React.ForwardRefExoticComponent<Omit<EuiDualRangeProps, "theme"> & React.RefAttributes<Omit<EuiDualRangeProps, "theme">>>;
@@ -10782,7 +10718,6 @@ declare module '@elastic/eui/src/components/form/range/range_tooltip' {
10782
10718
 
10783
10719
  }
10784
10720
  declare module '@elastic/eui/src/components/form/range/range' {
10785
-
10786
10721
  import React, { Component } from 'react';
10787
10722
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
10788
10723
  import { FormContextValue } from '@elastic/eui/src/components/form/eui_form_context';
@@ -11140,7 +11075,8 @@ declare module '@elastic/eui/src/components/code/code_block_annotations.style' {
11140
11075
  declare module '@elastic/eui/src/components/code/code_block_annotations' {
11141
11076
  import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
11142
11077
  import { CommonProps } from '@elastic/eui/src/components/common';
11143
- export type LineAnnotationMap = Record<number, ReactNode>; type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11078
+ export type LineAnnotationMap = Record<number, ReactNode>;
11079
+ type EuiCodeBlockAnnotationProps = PropsWithChildren & CommonProps & {
11144
11080
  lineNumber: number;
11145
11081
  };
11146
11082
  export const EuiCodeBlockAnnotation: FunctionComponent<EuiCodeBlockAnnotationProps>;
@@ -11236,7 +11172,7 @@ declare module '@elastic/eui/src/components/code/code_block_overflow' {
11236
11172
  * the container.
11237
11173
  */
11238
11174
  export const useOverflow: ({ overflowHeight, }: {
11239
- overflowHeight?: string | number | undefined;
11175
+ overflowHeight?: number | string;
11240
11176
  }) => {
11241
11177
  setWrapperRef: import("react").Dispatch<import("react").SetStateAction<Element | null>>;
11242
11178
  tabIndex: 0 | -1;
@@ -11294,7 +11230,7 @@ declare module '@elastic/eui/src/components/code/code_block_copy' {
11294
11230
  * Hook that returns copy-related state/logic/utils
11295
11231
  */
11296
11232
  export const useCopy: ({ copyAriaLabel, isCopyable, isVirtualized, children, }: {
11297
- copyAriaLabel?: string | undefined;
11233
+ copyAriaLabel?: string;
11298
11234
  isCopyable: boolean;
11299
11235
  isVirtualized: boolean;
11300
11236
  children: ReactNode;
@@ -11443,7 +11379,7 @@ declare module '@elastic/eui/src/components/code/code_block_full_screen' {
11443
11379
  * Hook that returns fullscreen-related state/logic/utils
11444
11380
  */
11445
11381
  export const useFullScreen: ({ overflowHeight, }: {
11446
- overflowHeight?: string | number | undefined;
11382
+ overflowHeight?: number | string;
11447
11383
  }) => {
11448
11384
  fullScreenButton: React.JSX.Element | null;
11449
11385
  isFullScreen: boolean;
@@ -11485,7 +11421,7 @@ declare module '@elastic/eui/src/components/code/code_block_virtualized' {
11485
11421
  export const EuiCodeBlockVirtualized: ({ data, rowHeight, overflowHeight, preProps, codeProps, }: {
11486
11422
  data: RefractorNode[];
11487
11423
  rowHeight: number;
11488
- overflowHeight?: string | number | undefined;
11424
+ overflowHeight?: number | string;
11489
11425
  preProps: HTMLAttributes<HTMLPreElement>;
11490
11426
  codeProps: HTMLAttributes<HTMLElement>;
11491
11427
  }) => React.JSX.Element;
@@ -11499,7 +11435,8 @@ declare module '@elastic/eui/src/components/code/code_block' {
11499
11435
  export const FONT_SIZES: readonly ["s", "m", "l"];
11500
11436
  export type EuiCodeBlockFontSize = (typeof FONT_SIZES)[number];
11501
11437
  export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
11502
- export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number]; type VirtualizedOptionProps = ExclusiveUnion<{
11438
+ export type EuiCodeBlockPaddingSize = (typeof PADDING_SIZES)[number];
11439
+ type VirtualizedOptionProps = ExclusiveUnion<{
11503
11440
  isVirtualized: true;
11504
11441
  overflowHeight: number | string;
11505
11442
  whiteSpace?: 'pre';
@@ -11587,7 +11524,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11587
11524
  import { EuiAccordionProps } from '@elastic/eui/src/components/accordion';
11588
11525
  import { IconType, IconSize, EuiIconProps } from '@elastic/eui/src/components/icon';
11589
11526
  import { EuiTitleProps } from '@elastic/eui/src/components/title';
11590
- export const BACKGROUNDS: readonly ["none", "light", "dark"]; type Background = (typeof BACKGROUNDS)[number];
11527
+ export const BACKGROUNDS: readonly ["none", "light", "dark"];
11528
+ type Background = (typeof BACKGROUNDS)[number];
11591
11529
  export interface EuiCollapsibleNavGroupInterface extends CommonProps {
11592
11530
  /**
11593
11531
  * ReactNode to render as this component's content
@@ -11622,7 +11560,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11622
11560
  * Title sizing equivalent to EuiTitle, but only `s` and smaller
11623
11561
  */
11624
11562
  titleSize?: Exclude<EuiTitleProps['size'], 'l' | 'm'>;
11625
- } type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11563
+ }
11564
+ type GroupAsAccordion = EuiCollapsibleNavGroupInterface & Omit<EuiAccordionProps, 'id' | 'title'> & {
11626
11565
  /**
11627
11566
  * If `true`, wraps children in the body of an accordion,
11628
11567
  * requiring the prop `title` to be used as the button.
@@ -11634,7 +11573,8 @@ declare module '@elastic/eui/src/components/collapsible_nav/collapsible_nav_grou
11634
11573
  * with the option to add an iconType
11635
11574
  */
11636
11575
  title: ReactNode;
11637
- }; type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11576
+ };
11577
+ type GroupAsDiv = EuiCollapsibleNavGroupInterface & {
11638
11578
  /**
11639
11579
  * If `true`, wraps children in the body of an accordion,
11640
11580
  * requiring the prop `title` to be used as the button.
@@ -11705,19 +11645,21 @@ declare module '@elastic/eui/src/components/flyout/_flyout_close_button.styles'
11705
11645
  }
11706
11646
  declare module '@elastic/eui/src/components/flyout/_flyout_close_button' {
11707
11647
  import { FunctionComponent } from 'react';
11708
- import type { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout'; type EuiFlyoutCloseButtonProps = EuiFlyoutProps['closeButtonProps'] & Required<Pick<EuiFlyoutProps, 'closeButtonPosition' | 'onClose' | 'side'>>;
11648
+ import type { EuiFlyoutProps } from '@elastic/eui/src/components/flyout/flyout';
11649
+ type EuiFlyoutCloseButtonProps = EuiFlyoutProps['closeButtonProps'] & Required<Pick<EuiFlyoutProps, 'closeButtonPosition' | 'onClose' | 'side'>>;
11709
11650
  export const EuiFlyoutCloseButton: FunctionComponent<EuiFlyoutCloseButtonProps>;
11710
11651
  export {};
11711
11652
 
11712
11653
  }
11713
11654
  declare module '@elastic/eui/src/components/flyout/flyout' {
11714
- import React, { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11655
+ import { ComponentPropsWithRef, CSSProperties, ElementType, JSX } from 'react';
11715
11656
  import { EuiBreakpointSize } from '@elastic/eui/src/services';
11716
11657
  import { CommonProps, PropsOfElement } from '@elastic/eui/src/components/common';
11717
11658
  import { EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
11718
11659
  import { EuiOverlayMaskProps } from '@elastic/eui/src/components/overlay_mask';
11719
11660
  import type { EuiButtonIconPropsForButton } from '@elastic/eui/src/components/button';
11720
- export const TYPES: readonly ["push", "overlay"]; type _EuiFlyoutType = (typeof TYPES)[number];
11661
+ export const TYPES: readonly ["push", "overlay"];
11662
+ type _EuiFlyoutType = (typeof TYPES)[number];
11721
11663
  export const SIDES: readonly ["left", "right"];
11722
11664
  export type _EuiFlyoutSide = (typeof SIDES)[number];
11723
11665
  export const SIZES: readonly ["s", "m", "l"];
@@ -11813,14 +11755,15 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
11813
11755
  * Set this to `false` if you need to disable this behavior for a specific reason.
11814
11756
  */
11815
11757
  includeFixedHeadersInFocusTrap?: boolean;
11816
- } const defaultElement = "div"; type Props<T extends ElementType> = CommonProps & {
11758
+ } const defaultElement = "div";
11759
+ type Props<T extends ElementType> = CommonProps & {
11817
11760
  /**
11818
11761
  * Sets the HTML element for `EuiFlyout`
11819
11762
  */
11820
11763
  as?: T;
11821
11764
  } & _EuiFlyoutProps & Omit<PropsOfElement<T>, keyof _EuiFlyoutProps>;
11822
11765
  export type EuiFlyoutProps<T extends ElementType = typeof defaultElement> = Props<T> & Omit<ComponentPropsWithRef<T>, keyof Props<T>>;
11823
- export const EuiFlyout: <T extends React.ElementType<any, keyof JSX.IntrinsicElements> = "div">(props: EuiFlyoutProps<T>) => JSX.Element;
11766
+ export const EuiFlyout: <T extends ElementType = typeof defaultElement>(props: EuiFlyoutProps<T>) => JSX.Element;
11824
11767
  export {};
11825
11768
 
11826
11769
  }
@@ -12130,28 +12073,28 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_button
12130
12073
  * Defaults to displaying a resizer for vertical (y-axis) resizing.
12131
12074
  * Set to `true` to display a resizer for horizontal (x-axis) resizing.
12132
12075
  */
12133
- isHorizontal?: boolean | undefined;
12076
+ isHorizontal?: boolean;
12134
12077
  /**
12135
12078
  * By default, EuiResizableButton will show a grab handle to indicate resizability.
12136
12079
  * This indicator can be optionally hidden to show a plain border instead.
12137
12080
  */
12138
- indicator?: "border" | "handle" | undefined;
12081
+ indicator?: "handle" | "border";
12139
12082
  /**
12140
12083
  * Allows customizing the alignment of grab `handle` indicators (does nothing for
12141
12084
  * border indicators). Defaults to `center`, but consider using `start` for extremely
12142
12085
  * tall content that scrolls off-screen
12143
12086
  */
12144
- alignIndicator?: "center" | "start" | "end" | undefined;
12087
+ alignIndicator?: "center" | "start" | "end";
12145
12088
  /**
12146
12089
  * By default, EuiResizableButton will overlap into the panels before/after it.
12147
12090
  * This can occasionally occlude interactive elements like scrollbars. To prevent
12148
12091
  * this overlap, use this prop to remove the overlap for the specified side.
12149
12092
  */
12150
- accountForScrollbars?: "before" | "after" | "both" | undefined;
12093
+ accountForScrollbars?: "before" | "after" | "both";
12151
12094
  /**
12152
12095
  * When disabled, the resizer button will be completely hidden
12153
12096
  */
12154
- disabled?: boolean | undefined;
12097
+ disabled?: boolean;
12155
12098
  } & React.RefAttributes<HTMLButtonElement>>;
12156
12099
  /**
12157
12100
  * Resizer button specific to controlled EuiResizableContainer usage
@@ -12282,9 +12225,9 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
12282
12225
  }
12283
12226
  export type ModeOptions = PanelModeType | [PanelModeType, Partial<ToggleOptions>];
12284
12227
  export type ToggleCollapseCallback = (panelId: EuiResizablePanelController['id'], options: ActionToggleOptions) => void;
12285
- export const getModeType: (mode?: ModeOptions | undefined) => PanelModeType | undefined;
12286
- export const getToggleOptions: (mode?: ModeOptions | undefined) => {
12287
- 'data-test-subj': string | undefined;
12228
+ export const getModeType: (mode?: ModeOptions) => PanelModeType | undefined;
12229
+ export const getToggleOptions: (mode?: ModeOptions) => {
12230
+ 'data-test-subj': string;
12288
12231
  className: string | null;
12289
12232
  position: string;
12290
12233
  };
@@ -12363,9 +12306,9 @@ declare module '@elastic/eui/src/components/resizable_container/helpers' {
12363
12306
  [key: string]: number;
12364
12307
  }) => any;
12365
12308
  }
12366
- export const isTouchEvent: (event: MouseEvent | ReactMouseEvent | TouchEvent | ReactTouchEvent) => event is TouchEvent | ReactTouchEvent<Element>;
12309
+ export const isTouchEvent: (event: MouseEvent | ReactMouseEvent | TouchEvent | ReactTouchEvent) => event is TouchEvent | ReactTouchEvent;
12367
12310
  export const pxToPercent: (proportion: number, whole: number) => number;
12368
- export const sizesOnly: (panelObject: EuiResizableContainerRegistry['panels']) => {
12311
+ export const sizesOnly: (panelObject: EuiResizableContainerRegistry["panels"]) => {
12369
12312
  [key: string]: number;
12370
12313
  };
12371
12314
  export const getPanelMinSize: (panelMinSize: string[], containerSize: number) => number;
@@ -12540,7 +12483,8 @@ declare module '@elastic/eui/src/components/header/header.styles' {
12540
12483
  }
12541
12484
  declare module '@elastic/eui/src/components/collapsible_nav_beta/context' {
12542
12485
  import { MouseEventHandler } from 'react';
12543
- import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout'; type _EuiCollapsibleNavContext = {
12486
+ import { _EuiFlyoutSide } from '@elastic/eui/src/components/flyout/flyout';
12487
+ type _EuiCollapsibleNavContext = {
12544
12488
  isCollapsed: boolean;
12545
12489
  isPush: boolean;
12546
12490
  isOverlayOpen: boolean;
@@ -12572,6 +12516,11 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
12572
12516
  declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
12573
12517
  export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
12574
12518
 
12519
+ }
12520
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
12521
+ import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
12522
+ export const colorVis: _EuiThemeVisColors;
12523
+
12575
12524
  }
12576
12525
  declare module '@elastic/eui/src/themes/themes' {
12577
12526
  import { EuiThemeSystem } from '@elastic/eui/src/services';
@@ -12581,6 +12530,143 @@ declare module '@elastic/eui/src/themes/themes' {
12581
12530
  provider?: EuiThemeSystem;
12582
12531
  }
12583
12532
 
12533
+ }
12534
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
12535
+ /**
12536
+ * These are not actually used, but we map them to ensure token parity.
12537
+ * They are mapped to other vis colors
12538
+ */
12539
+ export const severityColors: {
12540
+ unknown: string;
12541
+ neutral: string;
12542
+ success: string;
12543
+ warning: string;
12544
+ risk: string;
12545
+ danger: string;
12546
+ };
12547
+
12548
+ }
12549
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
12550
+ import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
12551
+ export const brand_colors: _EuiThemeBrandColors;
12552
+ export const brand_text_colors: _EuiThemeBrandTextColors;
12553
+ export const shade_colors: _EuiThemeShadeColors;
12554
+ export const special_colors: _EuiThemeSpecialColors;
12555
+ export const text_colors: _EuiThemeTextColors;
12556
+ export const background_colors: _EuiThemeBackgroundColors;
12557
+ export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12558
+ export const border_colors: _EuiThemeBorderColors;
12559
+ export const light_colors: _EuiThemeColorsMode;
12560
+ export const dark_shades: _EuiThemeShadeColors;
12561
+ export const dark_background_colors: _EuiThemeBackgroundColors;
12562
+ export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
12563
+ export const dark_border_colors: _EuiThemeBorderColors;
12564
+ export const dark_colors_ams: _EuiThemeColorsMode;
12565
+ export const colors: _EuiThemeColors;
12566
+
12567
+ }
12568
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
12569
+ import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
12570
+ export const animation_speed: _EuiThemeAnimationSpeeds;
12571
+ export const animation_ease: _EuiThemeAnimationEasings;
12572
+ export const animation: _EuiThemeAnimation;
12573
+
12574
+ }
12575
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
12576
+ export { breakpoint } from '@elastic/eui-theme-common';
12577
+
12578
+ }
12579
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
12580
+ import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
12581
+ export const base: _EuiThemeBase;
12582
+ export const size: _EuiThemeSizes;
12583
+
12584
+ }
12585
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
12586
+ import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
12587
+ export const border: _EuiThemeBorder;
12588
+
12589
+ }
12590
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
12591
+ import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
12592
+ export const levels: _EuiThemeLevels;
12593
+
12594
+ }
12595
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
12596
+ import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
12597
+ export const fontScale: _EuiThemeFontScales;
12598
+ export const fontBase: _EuiThemeFontBase;
12599
+ export const fontWeight: _EuiThemeFontWeights;
12600
+ export const font: _EuiThemeFont;
12601
+
12602
+ }
12603
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
12604
+ import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
12605
+ export const focus: _EuiThemeFocus;
12606
+
12607
+ }
12608
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
12609
+ import { _EuiThemeButton } from '@elastic/eui-theme-common';
12610
+ export const buttons: _EuiThemeButton;
12611
+
12612
+ }
12613
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
12614
+ export const forms: {
12615
+ maxWidth: string;
12616
+ LIGHT: {
12617
+ background: string;
12618
+ backgroundDisabled: string;
12619
+ backgroundReadOnly: any;
12620
+ backgroundFocused: any;
12621
+ backgroundAutofilled: string;
12622
+ prependBackground: string;
12623
+ border: string;
12624
+ borderAutofilled: string;
12625
+ controlBorder: string;
12626
+ controlBorderSelected: string;
12627
+ controlBorderDisabled: string;
12628
+ controlBackgroundUnselected: any;
12629
+ controlBackgroundDisabled: any;
12630
+ colorHasPlaceholder: string;
12631
+ colorDisabled: any;
12632
+ iconDisabled: any;
12633
+ };
12634
+ DARK: {
12635
+ background: string;
12636
+ backgroundFocused: string;
12637
+ backgroundAutofilled: string;
12638
+ prependBackground: string;
12639
+ border: string;
12640
+ controlBorder: string;
12641
+ controlBorderSelected: string;
12642
+ controlBorderDisabled: string;
12643
+ backgroundDisabled: string;
12644
+ backgroundReadOnly: any;
12645
+ borderAutofilled: string;
12646
+ controlBackgroundUnselected: any;
12647
+ controlBackgroundDisabled: any;
12648
+ colorHasPlaceholder: string;
12649
+ colorDisabled: any;
12650
+ iconDisabled: any;
12651
+ };
12652
+ };
12653
+
12654
+ }
12655
+ declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
12656
+ import { _EuiThemeComponents } from '@elastic/eui-theme-common';
12657
+ export const components: _EuiThemeComponents;
12658
+
12659
+ }
12660
+ declare module '@elastic/eui/src/themes/amsterdam/theme' {
12661
+ import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
12662
+ export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
12663
+ export const euiThemeAmsterdam: EuiThemeShape;
12664
+ export const EuiThemeAmsterdam: {
12665
+ model: EuiThemeShape;
12666
+ root: EuiThemeShape;
12667
+ key: string;
12668
+ };
12669
+
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) => "default" | "auto" | "lineCount" | "numerical";
14604
+ getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
14491
14605
  /**
14492
14606
  * Line count utils
14493
14607
  */
@@ -14536,12 +14650,12 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
14536
14650
  gridRef: MutableRefObject<ImperativeGridApi | null>;
14537
14651
  outerGridElementRef: MutableRefObject<HTMLDivElement | null>;
14538
14652
  gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>;
14539
- } | undefined;
14540
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
14653
+ };
14654
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
14541
14655
  columns: EuiDataGridColumn[];
14542
14656
  }) => RowHeightUtils;
14543
14657
  export const useDefaultRowHeight: ({ rowHeightsOptions, rowHeightUtils, }: {
14544
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
14658
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
14545
14659
  rowHeightUtils: RowHeightUtilsType;
14546
14660
  }) => {
14547
14661
  defaultRowHeight: number;
@@ -15206,7 +15320,9 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
15206
15320
  * Accepts any props that `EuiPopover` accepts, except for `button` and `closePopover`.
15207
15321
  */
15208
15322
  setCellPopoverProps: (props: Omit<EuiPopoverProps, 'button' | 'closePopover'>) => void;
15209
- } type CellContext = Omit<Record<string, any>, keyof EuiDataGridCellValueElementProps>; type CellPropsWithContext = CellContext & EuiDataGridCellValueElementProps;
15323
+ }
15324
+ type CellContext = Omit<Record<string, any>, keyof EuiDataGridCellValueElementProps>;
15325
+ type CellPropsWithContext = CellContext & EuiDataGridCellValueElementProps;
15210
15326
  export type RenderCellValue = ((props: CellPropsWithContext) => ReactNode) | ComponentClass<CellPropsWithContext>;
15211
15327
  export interface EuiDataGridCellProps {
15212
15328
  rowIndex: number;
@@ -15684,7 +15800,8 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
15684
15800
  }
15685
15801
  declare module '@elastic/eui/src/components/drag_and_drop/drag_drop_context' {
15686
15802
  import React, { FunctionComponent } from 'react';
15687
- import { DragDropContextProps } from '@hello-pangea/dnd'; type EuiDraggingType = string | null;
15803
+ import { DragDropContextProps } from '@hello-pangea/dnd';
15804
+ type EuiDraggingType = string | null;
15688
15805
  export interface EuiDragDropContextProps {
15689
15806
  isDraggingType: EuiDraggingType;
15690
15807
  }
@@ -15844,7 +15961,8 @@ declare module '@elastic/eui/src/components/drag_and_drop' {
15844
15961
  declare module '@elastic/eui/src/components/datagrid/utils/focus' {
15845
15962
  import { HTMLAttributes, KeyboardEvent } from 'react';
15846
15963
  import { DataGridFocusContextShape, EuiDataGridFocusedCell, EuiDataGridProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
15847
- export const DataGridFocusContext: import("react").Context<DataGridFocusContextShape>; type FocusProps = Pick<HTMLAttributes<HTMLDivElement>, 'tabIndex' | 'onKeyUp'>;
15964
+ export const DataGridFocusContext: import("react").Context<DataGridFocusContextShape>;
15965
+ type FocusProps = Pick<HTMLAttributes<HTMLDivElement>, 'tabIndex' | 'onKeyUp'>;
15848
15966
  /**
15849
15967
  * Main focus context and overarching focus state management
15850
15968
  */
@@ -15860,8 +15978,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/focus' {
15860
15978
  visibleColCount: number;
15861
15979
  visibleRowCount: number;
15862
15980
  visibleRowStartIndex: number;
15863
- rowCount: EuiDataGridProps['rowCount'];
15864
- pagination: Required<EuiDataGridProps['pagination']>;
15981
+ rowCount: EuiDataGridProps["rowCount"];
15982
+ pagination: Required<EuiDataGridProps["pagination"]>;
15865
15983
  hasFooter: boolean;
15866
15984
  focusContext: DataGridFocusContextShape;
15867
15985
  }) => (event: KeyboardEvent<HTMLDivElement>) => void;
@@ -15899,13 +16017,13 @@ declare module '@elastic/eui/src/components/datagrid/data_grid.styles' {
15899
16017
  export const euiDataGridStyles: (euiThemeContext: UseEuiTheme) => {
15900
16018
  euiDataGrid: import("@emotion/react").SerializedStyles;
15901
16019
  cellPadding: {
15902
- cellPadding: (size: 's' | 'm' | 'l') => import("@emotion/react").SerializedStyles;
16020
+ cellPadding: (size: "s" | "m" | "l") => import("@emotion/react").SerializedStyles;
15903
16021
  readonly s: import("@emotion/react").SerializedStyles;
15904
16022
  readonly m: import("@emotion/react").SerializedStyles;
15905
16023
  readonly l: import("@emotion/react").SerializedStyles;
15906
16024
  };
15907
16025
  fontSize: {
15908
- fontSize: (size: 's' | 'm') => import("@emotion/react").SerializedStyles;
16026
+ fontSize: (size: "s" | "m") => import("@emotion/react").SerializedStyles;
15909
16027
  readonly s: import("@emotion/react").SerializedStyles;
15910
16028
  readonly m: import("@emotion/react").SerializedStyles;
15911
16029
  readonly l: import("@emotion/react").SerializedStyles;
@@ -15957,7 +16075,13 @@ declare module '@elastic/eui/src/components/datagrid/body/header/draggable_colum
15957
16075
  children: (dragProps?: Partial<DraggableProvidedDragHandleProps> & {
15958
16076
  'data-column-moving'?: boolean;
15959
16077
  }) => ReactElement;
15960
- }>; type CanDragAndDropColumns = {
16078
+ }>;
16079
+ /**
16080
+ * Components for conditionally rendering drag/drop wrappers
16081
+ * Allows us to conditionally call hooks while not instantiating a bunch
16082
+ * of extra state/etc., since draggable columns isn't yet(?) a default
16083
+ */
16084
+ type CanDragAndDropColumns = {
15961
16085
  canDragAndDropColumns: boolean;
15962
16086
  };
15963
16087
  export const ConditionalDroppableColumns: FunctionComponent<ComponentProps<typeof DroppableColumns> & CanDragAndDropColumns>;
@@ -15997,7 +16121,7 @@ declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
15997
16121
  *
15998
16122
  * this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
15999
16123
  */
16000
- export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
16124
+ export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string) => (...args: any[]) => any;
16001
16125
 
16002
16126
  }
16003
16127
  declare module '@elastic/eui/src/utils/prop_types' {
@@ -16006,7 +16130,7 @@ declare module '@elastic/eui/src/utils/prop_types' {
16006
16130
  (props: T, propName: keyof T, componentName: string): Error | null;
16007
16131
  isRequired(props: T, propName: keyof T, componentName: string): Error | null;
16008
16132
  };
16009
- withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
16133
+ withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string) => (...args: any[]) => any;
16010
16134
  };
16011
16135
 
16012
16136
  }
@@ -16163,7 +16287,7 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_actions'
16163
16287
  import React, { Ref, KeyboardEventHandler, FunctionComponent } from 'react';
16164
16288
  import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
16165
16289
  import { EuiDataGridHeaderCellProps, EuiDataGridColumn, EuiDataGridColumnActions, EuiDataGridSchema, EuiDataGridSchemaDetector, EuiDataGridSorting, DataGridFocusContextShape } from '@elastic/eui/src/components/datagrid/data_grid_types';
16166
- export const useHasColumnActions: (columnActions: EuiDataGridColumn['actions']) => boolean;
16290
+ export const useHasColumnActions: (columnActions: EuiDataGridColumn["actions"]) => boolean;
16167
16291
  export type PropsFromColumnActions = {
16168
16292
  className?: string;
16169
16293
  onKeyDown?: KeyboardEventHandler;
@@ -16204,16 +16328,24 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_actions'
16204
16328
  setFocusedCell: DataGridFocusContextShape['setFocusedCell'];
16205
16329
  columnFocusIndex: number;
16206
16330
  }
16207
- export const getColumnActions: ({ column, columns, schema, schemaDetectors, setVisibleColumns, focusFirstVisibleInteractiveCell, setIsPopoverOpen, sorting, switchColumnPos, setIsColumnMoving, setFocusedCell, columnFocusIndex, }: GetColumnActions) => EuiListGroupItemProps[]; type HideColumnAction = Pick<GetColumnActions, 'column' | 'columns' | 'setVisibleColumns' | 'focusFirstVisibleInteractiveCell'>;
16208
- export const getHideColumnAction: ({ column, columns, setVisibleColumns, focusFirstVisibleInteractiveCell, }: HideColumnAction) => EuiListGroupItemProps[]; type SortColumnActions = Pick<GetColumnActions, 'column' | 'sorting' | 'schema' | 'schemaDetectors'>;
16331
+ export const getColumnActions: ({ column, columns, schema, schemaDetectors, setVisibleColumns, focusFirstVisibleInteractiveCell, setIsPopoverOpen, sorting, switchColumnPos, setIsColumnMoving, setFocusedCell, columnFocusIndex, }: GetColumnActions) => EuiListGroupItemProps[];
16332
+ /**
16333
+ * Hide column action
16334
+ */
16335
+ type HideColumnAction = Pick<GetColumnActions, 'column' | 'columns' | 'setVisibleColumns' | 'focusFirstVisibleInteractiveCell'>;
16336
+ export const getHideColumnAction: ({ column, columns, setVisibleColumns, focusFirstVisibleInteractiveCell, }: HideColumnAction) => EuiListGroupItemProps[];
16337
+ /**
16338
+ * Sort column actions
16339
+ */
16340
+ type SortColumnActions = Pick<GetColumnActions, 'column' | 'sorting' | 'schema' | 'schemaDetectors'>;
16209
16341
  export const getSortColumnActions: ({ column, sorting, schema, schemaDetectors, }: SortColumnActions) => EuiListGroupItemProps[];
16210
16342
  /**
16211
16343
  * Column action utility helpers - mostly syntactical sugar for adding an extra
16212
16344
  * actions !== false checks, which we make an early return for in the main fn,
16213
16345
  * but that the individual utils don't know about and Typescript complains about
16214
16346
  */
16215
- export const isColumnActionEnabled: (actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn['actions']) => boolean;
16216
- export const getColumnActionConfig: (action: EuiListGroupItemProps, actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn['actions']) => EuiListGroupItemProps;
16347
+ export const isColumnActionEnabled: (actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn["actions"]) => boolean;
16348
+ export const getColumnActionConfig: (action: EuiListGroupItemProps, actionKey: keyof EuiDataGridColumnActions, actions: EuiDataGridColumn["actions"]) => EuiListGroupItemProps;
16217
16349
  export {};
16218
16350
 
16219
16351
  }
@@ -16224,7 +16356,7 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_sorting'
16224
16356
  * Column sorting utility helpers
16225
16357
  */
16226
16358
  export const useColumnSorting: ({ sorting, id, }: {
16227
- sorting?: EuiDataGridSorting | undefined;
16359
+ sorting?: EuiDataGridSorting;
16228
16360
  id: string;
16229
16361
  }) => {
16230
16362
  sortingArrow: React.JSX.Element | null;
@@ -16312,12 +16444,12 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell_ac
16312
16444
  export const EuiDataGridCellActions: ({ onExpandClick, popoverAnchorRef, column, rowIndex, colIndex, }: {
16313
16445
  onExpandClick: () => void;
16314
16446
  popoverAnchorRef: Ref<HTMLDivElement>;
16315
- column?: EuiDataGridColumn | undefined;
16447
+ column?: EuiDataGridColumn;
16316
16448
  rowIndex: number;
16317
16449
  colIndex: number;
16318
16450
  }) => React.JSX.Element;
16319
16451
  export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
16320
- column?: EuiDataGridColumn | undefined;
16452
+ column?: EuiDataGridColumn;
16321
16453
  colIndex: number;
16322
16454
  rowIndex: number;
16323
16455
  }) => React.JSX.Element;
@@ -16345,13 +16477,13 @@ declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell_po
16345
16477
 
16346
16478
  }
16347
16479
  declare module '@elastic/eui/src/components/datagrid/body/cell/data_grid_cell' {
16348
- import React, { Component, ContextType, KeyboardEvent } from 'react';
16480
+ import React, { Component, ContextType, KeyboardEvent, MutableRefObject } from 'react';
16349
16481
  import { DataGridFocusContext } from '@elastic/eui/src/components/datagrid/utils/focus';
16350
16482
  import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16351
16483
  export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
16352
- cellRef: React.MutableRefObject<HTMLDivElement | null>;
16484
+ cellRef: MutableRefObject<HTMLDivElement | null>;
16353
16485
  contentObserver: any;
16354
- popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
16486
+ popoverAnchorRef: MutableRefObject<HTMLDivElement | null>;
16355
16487
  cellContentsRef: HTMLDivElement | null;
16356
16488
  state: EuiDataGridCellState;
16357
16489
  unsubscribeCell?: Function;
@@ -16419,11 +16551,11 @@ declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_foote
16419
16551
  columns: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridColumn[];
16420
16552
  schema: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridSchema;
16421
16553
  columnWidths: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridColumnWidths;
16422
- defaultColumnWidth?: number | null | undefined;
16423
- renderCellValue: import ("@elastic/eui/src/components/datagrid/data_grid_types").RenderCellValue;
16424
- renderCellPopover?: React.JSXElementConstructor<import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellPopoverElementProps> | ((props: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellPopoverElementProps) => React.ReactNode) | undefined;
16425
- interactiveCellId: string;
16426
- visibleRowIndex?: number | undefined;
16554
+ defaultColumnWidth?: number | null;
16555
+ renderCellValue: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["renderCellValue"];
16556
+ renderCellPopover?: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["renderCellPopover"];
16557
+ interactiveCellId: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridCellProps["interactiveCellId"];
16558
+ visibleRowIndex?: number;
16427
16559
  visibleColCount: number;
16428
16560
  gridStyles: import ("@elastic/eui/src/components/datagrid/data_grid_types").EuiDataGridStyle;
16429
16561
  } & React.RefAttributes<HTMLDivElement>>>;
@@ -16432,7 +16564,8 @@ declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_foote
16432
16564
  }
16433
16565
  declare module '@elastic/eui/src/components/datagrid/body/footer/use_data_grid_footer' {
16434
16566
  import React from 'react';
16435
- import { EuiDataGridFooterRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type Props = Omit<EuiDataGridFooterRowProps, 'renderCellValue'> & {
16567
+ import { EuiDataGridFooterRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16568
+ type Props = Omit<EuiDataGridFooterRowProps, 'renderCellValue'> & {
16436
16569
  renderFooterCellValue?: EuiDataGridFooterRowProps['renderCellValue'];
16437
16570
  };
16438
16571
  /**
@@ -16455,7 +16588,7 @@ declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager'
16455
16588
  import { EuiDataGridRowManager, EuiDataGridStyle } from '@elastic/eui/src/components/datagrid/data_grid_types';
16456
16589
  export const useRowManager: ({ innerGridRef, rowClasses, }: {
16457
16590
  innerGridRef: RefObject<HTMLDivElement>;
16458
- rowClasses?: EuiDataGridStyle['rowClasses'];
16591
+ rowClasses?: EuiDataGridStyle["rowClasses"];
16459
16592
  }) => EuiDataGridRowManager;
16460
16593
 
16461
16594
  }
@@ -16484,7 +16617,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
16484
16617
  rowHeightUtils: RowHeightUtilsType;
16485
16618
  startRow: number;
16486
16619
  endRow: number;
16487
- rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
16620
+ rowHeightsOptions?: EuiDataGridRowHeightsOptions;
16488
16621
  defaultRowHeight: number;
16489
16622
  headerRowHeight: number;
16490
16623
  footerRowHeight: number;
@@ -16506,14 +16639,14 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
16506
16639
  }
16507
16640
  declare module '@elastic/eui/src/components/datagrid/utils/col_widths' {
16508
16641
  import { EuiDataGridColumn, EuiDataGridColumnWidths, EuiDataGridControlColumn, EuiDataGridOnColumnResizeHandler, EuiDataGridProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
16509
- export const useDefaultColumnWidth: (gridWidth: number, leadingControlColumns: EuiDataGridControlColumn[], trailingControlColumns: EuiDataGridControlColumn[], columns: EuiDataGridProps['columns']) => number | null;
16642
+ export const useDefaultColumnWidth: (gridWidth: number, leadingControlColumns: EuiDataGridControlColumn[], trailingControlColumns: EuiDataGridControlColumn[], columns: EuiDataGridProps["columns"]) => number | null;
16510
16643
  export const doesColumnHaveAnInitialWidth: (column: EuiDataGridColumn) => boolean;
16511
16644
  export const useColumnWidths: ({ columns, leadingControlColumns, trailingControlColumns, defaultColumnWidth, onColumnResize, }: {
16512
16645
  columns: EuiDataGridColumn[];
16513
16646
  leadingControlColumns: EuiDataGridControlColumn[];
16514
16647
  trailingControlColumns: EuiDataGridControlColumn[];
16515
- defaultColumnWidth?: number | null | undefined;
16516
- onColumnResize?: EuiDataGridOnColumnResizeHandler | undefined;
16648
+ defaultColumnWidth?: number | null;
16649
+ onColumnResize?: EuiDataGridOnColumnResizeHandler;
16517
16650
  }) => {
16518
16651
  columnWidths: EuiDataGridColumnWidths;
16519
16652
  setColumnWidth: (columnId: string, width: number) => void;
@@ -16567,7 +16700,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/scrolling' {
16567
16700
  /**
16568
16701
  * Checks whether the current grid scrolls and/or has scrollbars
16569
16702
  */
16570
- export const useScrollBars: (outerGridRef: MutableRefObject<HTMLDivElement | null>, borderStyle?: EuiDataGridStyle['border']) => {
16703
+ export const useScrollBars: (outerGridRef: MutableRefObject<HTMLDivElement | null>, borderStyle?: EuiDataGridStyle["border"]) => {
16571
16704
  scrollBarHeight: number;
16572
16705
  scrollBarWidth: number;
16573
16706
  hasVerticalScroll: boolean;
@@ -16626,7 +16759,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/data_grid_toolbar'
16626
16759
  export const MINIMUM_WIDTH_FOR_GRID_CONTROLS = 479;
16627
16760
  export const EuiDataGridToolbar: ({ gridWidth, minSizeForControls, toolbarVisibility, isFullScreen, fullScreenSelector, keyboardShortcuts, displaySelector, columnSelector, columnSorting, renderCustomToolbar, }: EuiDataGridToolbarProps) => React.JSX.Element;
16628
16761
  export function checkOrDefaultToolBarDisplayOptions<OptionKey extends keyof EuiDataGridToolBarVisibilityOptions>(arg: EuiDataGridProps['toolbarVisibility'], option: OptionKey): Required<EuiDataGridToolBarVisibilityOptions>[OptionKey];
16629
- export const renderAdditionalControls: (toolbarVisibility: EuiDataGridProps['toolbarVisibility'], position: 'left.prepend' | 'left.append' | 'right') => ReactNode;
16762
+ export const renderAdditionalControls: (toolbarVisibility: EuiDataGridProps["toolbarVisibility"], position: "left.prepend" | "left.append" | "right") => ReactNode;
16630
16763
  /**
16631
16764
  * Utility helper for selectors/controls that allow nested options
16632
16765
  * (e.g. column selector, display selector)
@@ -16652,11 +16785,11 @@ declare module '@elastic/eui/src/components/datagrid/controls/column_selector.st
16652
16785
 
16653
16786
  }
16654
16787
  declare module '@elastic/eui/src/components/datagrid/controls/column_selector' {
16655
- import React, { ReactNode } from 'react';
16788
+ import { ReactNode } from 'react';
16656
16789
  import { EuiDataGridColumn, EuiDataGridColumnVisibility, EuiDataGridToolBarVisibilityOptions } from '@elastic/eui/src/components/datagrid/data_grid_types';
16657
- export const useDataGridColumnSelector: (availableColumns: EuiDataGridColumn[], columnVisibility: EuiDataGridColumnVisibility, showColumnSelector: EuiDataGridToolBarVisibilityOptions['showColumnSelector'], displayValues: {
16790
+ export const useDataGridColumnSelector: (availableColumns: EuiDataGridColumn[], columnVisibility: EuiDataGridColumnVisibility, showColumnSelector: EuiDataGridToolBarVisibilityOptions["showColumnSelector"], displayValues: {
16658
16791
  [key: string]: string;
16659
- }) => [React.ReactNode, EuiDataGridColumn[], (columns: string[]) => void, (colFrom: string, colTo: string) => void];
16792
+ }) => [ReactNode, EuiDataGridColumn[], (columns: string[]) => void, (colFrom: string, colTo: string) => void];
16660
16793
 
16661
16794
  }
16662
16795
  declare module '@elastic/eui/src/components/datagrid/controls/column_sorting' {
@@ -16672,7 +16805,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/column_sorting' {
16672
16805
  schemaDetectors: EuiDataGridSchemaDetector[];
16673
16806
  };
16674
16807
  export const useDataGridColumnSorting: ({ sorting, ...rest }: Omit<ColumnSortingProps, "sorting"> & {
16675
- sorting?: EuiDataGridSorting | undefined;
16808
+ sorting?: EuiDataGridSorting;
16676
16809
  }) => ReactNode;
16677
16810
  export const DataGridSortingControl: FunctionComponent<ColumnSortingProps>;
16678
16811
 
@@ -16684,7 +16817,7 @@ declare module '@elastic/eui/src/components/datagrid/controls/display_selector'
16684
16817
  /**
16685
16818
  * Display settings/selector popover
16686
16819
  */
16687
- export const useDataGridDisplaySelector: (showDisplaySelector: EuiDataGridToolBarVisibilityOptions['showDisplaySelector'], passedGridStyles: EuiDataGridStyle, passedRowHeightsOptions?: EuiDataGridRowHeightsOptions) => [ReactNode, EuiDataGridStyle, EuiDataGridRowHeightsOptions];
16820
+ export const useDataGridDisplaySelector: (showDisplaySelector: EuiDataGridToolBarVisibilityOptions["showDisplaySelector"], passedGridStyles: EuiDataGridStyle, passedRowHeightsOptions?: EuiDataGridRowHeightsOptions) => [ReactNode, EuiDataGridStyle, EuiDataGridRowHeightsOptions];
16688
16821
 
16689
16822
  }
16690
16823
  declare module '@elastic/eui/src/components/description_list/description_list_types' {
@@ -16760,7 +16893,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
16760
16893
 
16761
16894
  }
16762
16895
  declare module '@elastic/eui/src/components/description_list/description_list_context' {
16763
- import { EuiDescriptionListProps, EuiDescriptionListChildTypes } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'textStyle' | 'align' | 'rowGutterSize'> & {
16896
+ import { EuiDescriptionListProps, EuiDescriptionListChildTypes } from '@elastic/eui/src/components/description_list/description_list_types';
16897
+ type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'textStyle' | 'align' | 'rowGutterSize'> & {
16764
16898
  type: EuiDescriptionListChildTypes;
16765
16899
  }> & {
16766
16900
  compressed?: EuiDescriptionListProps['compressed'];
@@ -16914,7 +17048,8 @@ declare module '@elastic/eui/src/components/datagrid/pagination/data_grid_pagina
16914
17048
  }
16915
17049
  declare module '@elastic/eui/src/components/datagrid/pagination/data_grid_pagination' {
16916
17050
  import React, { AriaAttributes } from 'react';
16917
- import { EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type _EuiDataGridPaginationProps = Required<EuiDataGridPaginationProps> & {
17051
+ import { EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
17052
+ type _EuiDataGridPaginationProps = Required<EuiDataGridPaginationProps> & {
16918
17053
  rowCount: number;
16919
17054
  controls: string;
16920
17055
  'aria-label'?: AriaAttributes['aria-label'];
@@ -16939,10 +17074,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/in_memory' {
16939
17074
  /**
16940
17075
  * inMemory values hook
16941
17076
  */
16942
- export const useInMemoryValues: (inMemory: EuiDataGridInMemory | undefined, rowCount: number) => [
16943
- EuiDataGridInMemoryValues,
16944
- EuiDataGridInMemoryRendererProps['onCellRender']
16945
- ];
17077
+ export const useInMemoryValues: (inMemory: EuiDataGridInMemory | undefined, rowCount: number) => [EuiDataGridInMemoryValues, EuiDataGridInMemoryRendererProps["onCellRender"]];
16946
17078
  /**
16947
17079
  * InMemory renderer
16948
17080
  */
@@ -16952,8 +17084,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/in_memory' {
16952
17084
  declare module '@elastic/eui/src/components/datagrid/utils/row_count' {
16953
17085
  import { EuiDataGridProps, EuiDataGridVisibleRows } from '@elastic/eui/src/components/datagrid/data_grid_types';
16954
17086
  export const computeVisibleRows: ({ pagination, rowCount, }: {
16955
- pagination: Required<EuiDataGridProps['pagination']>;
16956
- rowCount: EuiDataGridProps['rowCount'];
17087
+ pagination: Required<EuiDataGridProps["pagination"]>;
17088
+ rowCount: EuiDataGridProps["rowCount"];
16957
17089
  }) => EuiDataGridVisibleRows;
16958
17090
 
16959
17091
  }
@@ -16990,7 +17122,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/ref' {
16990
17122
  * the row is not on the current page, the grid should automatically handle
16991
17123
  * paginating to that row.
16992
17124
  */
16993
- export const useSortPageCheck: (pagination: Required<EuiDataGridProps['pagination']>, sortedRowMap: DataGridSortedContextShape['sortedRowMap']) => {
17125
+ export const useSortPageCheck: (pagination: Required<EuiDataGridProps["pagination"]>, sortedRowMap: DataGridSortedContextShape["sortedRowMap"]) => {
16994
17126
  findVisibleRowIndex: (rowIndex: number) => number;
16995
17127
  };
16996
17128
  export {};
@@ -17322,7 +17454,8 @@ declare module '@elastic/eui/src/components/date_picker/date_picker' {
17322
17454
  import { EuiFormControlLayoutIconsProps } from '@elastic/eui/src/components/form/form_control_layout/form_control_layout_icons';
17323
17455
  import { ReactDatePickerProps } from '@elastic/eui/src/components/date_picker/react-datepicker';
17324
17456
  export const euiDatePickerDefaultDateFormat = "MM/DD/YYYY";
17325
- export const euiDatePickerDefaultTimeFormat = "hh:mm A"; const unsupportedProps: readonly ["monthsShown", "showWeekNumbers", "fixedHeight", "dropdownMode", "useShortMonthInDropdown", "todayButton", "timeCaption", "disabledKeyboardNavigation", "isClearable", "withPortal", "showMonthYearDropdown", "popperPlacement", "defaultInputProps"]; type UnsupportedProps = (typeof unsupportedProps)[number];
17457
+ export const euiDatePickerDefaultTimeFormat = "hh:mm A"; const unsupportedProps: readonly ["monthsShown", "showWeekNumbers", "fixedHeight", "dropdownMode", "useShortMonthInDropdown", "todayButton", "timeCaption", "disabledKeyboardNavigation", "isClearable", "withPortal", "showMonthYearDropdown", "popperPlacement", "defaultInputProps"];
17458
+ type UnsupportedProps = (typeof unsupportedProps)[number];
17326
17459
  interface EuiExtendedDatePickerProps extends Omit<ReactDatePickerProps, UnsupportedProps> {
17327
17460
  /**
17328
17461
  * Applies classes to the numbered days provided. Check docs for example.
@@ -17469,7 +17602,7 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
17469
17602
  };
17470
17603
  export type EuiTabRef = HTMLDivElement;
17471
17604
  export const EuiTabs: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
17472
- children?: React.ReactNode;
17605
+ children?: ReactNode | undefined;
17473
17606
  } & CommonProps & {
17474
17607
  /**
17475
17608
  * ReactNode to render as this component's content
@@ -17479,16 +17612,16 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
17479
17612
  * Evenly stretches each tab to fill the
17480
17613
  * horizontal space
17481
17614
  */
17482
- expand?: boolean | undefined;
17615
+ expand?: boolean;
17483
17616
  /**
17484
17617
  * Adds a bottom border to separate it from the content after
17485
17618
  */
17486
- bottomBorder?: boolean | undefined;
17619
+ bottomBorder?: boolean;
17487
17620
  /**
17488
17621
  * Sizes affect both font size and overall size.
17489
17622
  * Only use the `xl` size when displayed as page titles.
17490
17623
  */
17491
- size?: "s" | "m" | "l" | "xl" | undefined;
17624
+ size?: EuiTabsSizes;
17492
17625
  } & React.RefAttributes<HTMLDivElement>>;
17493
17626
 
17494
17627
  }
@@ -17515,10 +17648,12 @@ declare module '@elastic/eui/src/components/tabs/tab' {
17515
17648
  * Will be excluded from interactive effects.
17516
17649
  */
17517
17650
  append?: ReactNode;
17518
- } type EuiTabPropsForAnchor = EuiTabProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
17651
+ }
17652
+ type EuiTabPropsForAnchor = EuiTabProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
17519
17653
  href?: string;
17520
17654
  onClick?: MouseEventHandler<HTMLAnchorElement>;
17521
- }; type EuiTabPropsForButton = EuiTabProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> & {
17655
+ };
17656
+ type EuiTabPropsForButton = EuiTabProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> & {
17522
17657
  onClick?: MouseEventHandler<HTMLButtonElement>;
17523
17658
  };
17524
17659
  export type Props = ExclusiveUnion<EuiTabPropsForAnchor, EuiTabPropsForButton>;
@@ -17779,13 +17914,13 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/date_p
17779
17914
  }
17780
17915
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_duration' {
17781
17916
  import React from 'react';
17782
- import moment from 'moment';
17917
+ import { LocaleSpecifier } from 'moment';
17783
17918
  import { DurationRange, ShortDate } from '@elastic/eui/src/components/date_picker/types';
17784
17919
  export const useFormatTimeString: (timeString: string, dateFormat: string, options?: {
17785
- locale?: moment.LocaleSpecifier | undefined;
17786
- roundUp?: boolean | undefined;
17787
- canRoundRelativeUnits?: boolean | undefined;
17788
- } | undefined) => string;
17920
+ locale?: LocaleSpecifier;
17921
+ roundUp?: boolean;
17922
+ canRoundRelativeUnits?: boolean;
17923
+ }) => string;
17789
17924
  /**
17790
17925
  * Pretty duration hook+component
17791
17926
  */
@@ -17898,7 +18033,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_
17898
18033
  }
17899
18034
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_select_popover/quick_select_panel' {
17900
18035
  import { FunctionComponent, ReactNode } from 'react';
17901
- import type { CommonProps } from '@elastic/eui/src/components/common'; type EuiQuickSelectPanelProps = CommonProps & {
18036
+ import type { CommonProps } from '@elastic/eui/src/components/common';
18037
+ type EuiQuickSelectPanelProps = CommonProps & {
17902
18038
  component?: 'div' | 'fieldset';
17903
18039
  title?: ReactNode;
17904
18040
  titleId?: string;
@@ -17947,7 +18083,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/quick_
17947
18083
  import React, { Component, ChangeEventHandler, KeyboardEventHandler } from 'react';
17948
18084
  import moment from 'moment';
17949
18085
  import { ApplyTime, QuickSelect } from '@elastic/eui/src/components/date_picker/types';
17950
- import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options'; type EuiQuickSelectState = QuickSelect;
18086
+ import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options';
18087
+ type EuiQuickSelectState = QuickSelect;
17951
18088
  export interface EuiQuickSelectProps {
17952
18089
  applyTime: ApplyTime;
17953
18090
  start: string;
@@ -18037,7 +18174,7 @@ declare module '@elastic/eui/src/components/date_picker/auto_refresh/refresh_int
18037
18174
  handleKeyDown: KeyboardEventHandler<HTMLElement>;
18038
18175
  applyRefreshInterval: () => void;
18039
18176
  toggleRefresh: () => void;
18040
- renderScreenReaderText: (refreshUnitsOptions: TimeOptions['refreshUnitsOptions']) => React.JSX.Element;
18177
+ renderScreenReaderText: (refreshUnitsOptions: TimeOptions["refreshUnitsOptions"]) => React.JSX.Element;
18041
18178
  render(): React.JSX.Element;
18042
18179
  }
18043
18180
  export {};
@@ -18224,7 +18361,9 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18224
18361
  import React, { Component, MouseEventHandler, ElementRef, ReactNode } from 'react';
18225
18362
  import { EuiButtonProps } from '@elastic/eui/src/components/button';
18226
18363
  import { EuiToolTip, EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
18227
- import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type ToolTipRef = ElementRef<typeof EuiToolTip> | null; type EuiSuperUpdateButtonInternalProps = {
18364
+ import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
18365
+ type ToolTipRef = ElementRef<typeof EuiToolTip> | null;
18366
+ type EuiSuperUpdateButtonInternalProps = {
18228
18367
  isDisabled?: boolean;
18229
18368
  isLoading?: boolean;
18230
18369
  needsUpdate?: boolean;
@@ -18283,10 +18422,18 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18283
18422
 
18284
18423
  }
18285
18424
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_interval' {
18425
+ const MS_INTERVALS: {
18426
+ readonly s: 1000;
18427
+ readonly m: number;
18428
+ readonly h: number;
18429
+ readonly d: number;
18430
+ };
18431
+ type IntervalUnitId = keyof typeof MS_INTERVALS;
18286
18432
  export const usePrettyInterval: (isPaused: boolean, intervalInMs: number, options?: {
18287
- shortHand?: boolean | undefined;
18288
- unit?: "s" | "h" | "m" | "d" | undefined;
18289
- } | undefined) => string;
18433
+ shortHand?: boolean;
18434
+ unit?: IntervalUnitId;
18435
+ }) => string;
18436
+ export {};
18290
18437
 
18291
18438
  }
18292
18439
  declare module '@elastic/eui/src/components/date_picker/auto_refresh/auto_refresh' {
@@ -18465,7 +18612,8 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
18465
18612
  * input by the user, set this flag to `false`.
18466
18613
  */
18467
18614
  canRoundRelativeUnits?: boolean;
18468
- }; type EuiSuperDatePickerInternalProps = EuiSuperDatePickerProps & {
18615
+ };
18616
+ type EuiSuperDatePickerInternalProps = EuiSuperDatePickerProps & {
18469
18617
  memoizedStyles: ReturnType<typeof euiSuperDatePickerStyles>;
18470
18618
  timeOptions: TimeOptions;
18471
18619
  commonlyUsedRanges: DurationRange[];
@@ -18870,9 +19018,11 @@ declare module '@elastic/eui/src/components/expression/expression' {
18870
19018
  * Sets how to handle the wrapping of long text.
18871
19019
  */
18872
19020
  textWrap?: 'break-word' | 'truncate';
18873
- }; type Buttonlike = EuiExpressionProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
19021
+ };
19022
+ type Buttonlike = EuiExpressionProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
18874
19023
  onClick: MouseEventHandler<HTMLButtonElement>;
18875
- }; type Spanlike = EuiExpressionProps & Omit<HTMLAttributes<HTMLSpanElement>, 'value'>;
19024
+ };
19025
+ type Spanlike = EuiExpressionProps & Omit<HTMLAttributes<HTMLSpanElement>, 'value'>;
18876
19026
  export const EuiExpression: FunctionComponent<ExclusiveUnion<Buttonlike, Spanlike>>;
18877
19027
  export {};
18878
19028
 
@@ -18946,6 +19096,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_group' {
18946
19096
  }
18947
19097
  declare module '@elastic/eui/src/components/filter_group/filter_button' {
18948
19098
  import { FunctionComponent } from 'react';
19099
+ import { _EuiButtonColor } from '@elastic/eui/src/global_styling';
18949
19100
  import { DistributiveOmit } from '@elastic/eui/src/components/common';
18950
19101
  import { BadgeNotificationColor } from '@elastic/eui/src/components/badge/notification_badge/badge_notification';
18951
19102
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
@@ -18980,7 +19131,16 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
18980
19131
  * Change color of the counter badge
18981
19132
  */
18982
19133
  badgeColor?: BadgeNotificationColor;
18983
- } & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size'>;
19134
+ /**
19135
+ * Any of the named color palette options.
19136
+ *
19137
+ * Do not use the following colors for standalone buttons directly,
19138
+ * they exist to serve other components:
19139
+ * - accent
19140
+ * - warning
19141
+ */
19142
+ color?: _EuiButtonColor;
19143
+ } & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size' | 'color'>;
18984
19144
  export const EuiFilterButton: FunctionComponent<EuiFilterButtonProps>;
18985
19145
 
18986
19146
  }
@@ -19192,7 +19352,8 @@ declare module '@elastic/eui/src/components/header/header' {
19192
19352
  import { FunctionComponent, HTMLAttributes } from 'react';
19193
19353
  import { CommonProps } from '@elastic/eui/src/components/common';
19194
19354
  import { EuiBreadcrumb, EuiBreadcrumbsProps } from '@elastic/eui/src/components/breadcrumbs';
19195
- import { EuiHeaderSectionItemProps } from '@elastic/eui/src/components/header/header_section'; type EuiHeaderSectionItemType = EuiHeaderSectionItemProps['children'];
19355
+ import { EuiHeaderSectionItemProps } from '@elastic/eui/src/components/header/header_section';
19356
+ type EuiHeaderSectionItemType = EuiHeaderSectionItemProps['children'];
19196
19357
  export interface EuiHeaderSections {
19197
19358
  /**
19198
19359
  * An array of items that will be wrapped in a #EuiHeaderSectionItem
@@ -19308,7 +19469,9 @@ declare module '@elastic/eui/src/components/header/header_links/header_links' {
19308
19469
  import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
19309
19470
  import { EuiHeaderSectionItemButtonProps } from '@elastic/eui/src/components/header/header_section';
19310
19471
  import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint';
19311
- export const GUTTER_SIZES: readonly ["xxs", "xs", "s", "m", "l"]; type EuiHeaderLinksGutterSize = (typeof GUTTER_SIZES)[number]; type EuiHeaderLinksPopoverButtonProps = Partial<EuiHeaderSectionItemButtonProps> & {
19472
+ export const GUTTER_SIZES: readonly ["xxs", "xs", "s", "m", "l"];
19473
+ type EuiHeaderLinksGutterSize = (typeof GUTTER_SIZES)[number];
19474
+ type EuiHeaderLinksPopoverButtonProps = Partial<EuiHeaderSectionItemButtonProps> & {
19312
19475
  iconType?: IconType;
19313
19476
  };
19314
19477
  export type EuiHeaderLinksProps = CommonProps & Omit<HTMLAttributes<HTMLElement>, 'children'> & {
@@ -19437,7 +19600,8 @@ declare module '@elastic/eui/src/components/image/image_types' {
19437
19600
  export type EuiImageSize = (typeof SIZES)[number]; const FLOATS: readonly ["left", "right"];
19438
19601
  export type EuiImageWrapperFloat = (typeof FLOATS)[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
19439
19602
  export type EuiImageWrapperMargin = (typeof MARGINS)[number];
19440
- export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
19603
+ export type EuiImageButtonIconColor = 'light' | 'dark';
19604
+ type _EuiImageSrcOrUrl = ExclusiveUnion<{
19441
19605
  /**
19442
19606
  * Requires either `src` or `url` but defaults to using `src` if both are provided
19443
19607
  */
@@ -19559,7 +19723,7 @@ declare module '@elastic/eui/src/components/image/image_caption.styles' {
19559
19723
  declare module '@elastic/eui/src/components/image/image_caption' {
19560
19724
  import React from 'react';
19561
19725
  export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
19562
- isOnOverlayMask?: boolean | undefined;
19726
+ isOnOverlayMask?: boolean;
19563
19727
  } & React.RefAttributes<HTMLDivElement>>;
19564
19728
 
19565
19729
  }
@@ -19659,7 +19823,8 @@ declare module '@elastic/eui/src/components/skeleton/skeleton_loading' {
19659
19823
 
19660
19824
  }
19661
19825
  declare module '@elastic/eui/src/components/skeleton/utils' {
19662
- import { UseEuiTheme } from '@elastic/eui/src/services'; type AnimationOptions = {
19826
+ import { UseEuiTheme } from '@elastic/eui/src/services';
19827
+ type AnimationOptions = {
19663
19828
  slideSize?: string;
19664
19829
  gradientSize?: string;
19665
19830
  };
@@ -19940,7 +20105,8 @@ declare module '@elastic/eui/src/components/inline_edit/inline_edit_title' {
19940
20105
  import { FunctionComponent } from 'react';
19941
20106
  import { EuiTitleSize } from '@elastic/eui/src/components/title';
19942
20107
  import { EuiInlineEditCommonProps } from '@elastic/eui/src/components/inline_edit/inline_edit_form';
19943
- export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "span"]; type Heading = (typeof HEADINGS)[number];
20108
+ export const HEADINGS: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "span"];
20109
+ type Heading = (typeof HEADINGS)[number];
19944
20110
  export type EuiInlineEditTitleProps = EuiInlineEditCommonProps & {
19945
20111
  /**
19946
20112
  * Title size level
@@ -20053,7 +20219,8 @@ declare module '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item' {
20053
20219
  * The text to display beneath the icon
20054
20220
  */
20055
20221
  label: ReactNode;
20056
- }; type EuiKeyPadMenuItemPropsForUncheckable = {
20222
+ };
20223
+ type EuiKeyPadMenuItemPropsForUncheckable = {
20057
20224
  /**
20058
20225
  * Beta badges are unavailable if the item is checkable
20059
20226
  */
@@ -20078,12 +20245,15 @@ declare module '@elastic/eui/src/components/key_pad_menu/key_pad_menu_item' {
20078
20245
  * Use `onClick` instead when the item is not `checkable`
20079
20246
  */
20080
20247
  onChange?: never;
20081
- }; type EuiKeyPadMenuItemPropsForAnchor = PropsForAnchor<EuiKeyPadMenuItemCommonProps, {
20248
+ };
20249
+ type EuiKeyPadMenuItemPropsForAnchor = PropsForAnchor<EuiKeyPadMenuItemCommonProps, {
20082
20250
  buttonRef?: Ref<HTMLAnchorElement>;
20083
20251
  rel?: string;
20084
- } & EuiKeyPadMenuItemPropsForUncheckable>; type EuiKeyPadMenuItemPropsForButton = PropsForButton<EuiKeyPadMenuItemCommonProps, {
20252
+ } & EuiKeyPadMenuItemPropsForUncheckable>;
20253
+ type EuiKeyPadMenuItemPropsForButton = PropsForButton<EuiKeyPadMenuItemCommonProps, {
20085
20254
  buttonRef?: Ref<HTMLButtonElement>;
20086
- } & EuiKeyPadMenuItemPropsForUncheckable>; type EuiKeyPadMenuItemPropsForCheckable = Omit<LabelHTMLAttributes<HTMLLabelElement>, 'onChange'> & EuiKeyPadMenuItemCommonProps & {
20255
+ } & EuiKeyPadMenuItemPropsForUncheckable>;
20256
+ type EuiKeyPadMenuItemPropsForCheckable = Omit<LabelHTMLAttributes<HTMLLabelElement>, 'onChange'> & EuiKeyPadMenuItemCommonProps & {
20087
20257
  /**
20088
20258
  * Use `onChange` instead when the item is `checkable`
20089
20259
  */
@@ -20507,9 +20677,9 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor_text
20507
20677
  maxHeight: string;
20508
20678
  };
20509
20679
  export const EuiMarkdownEditorTextArea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & CommonProps & {
20510
- isInvalid?: boolean | undefined;
20511
- fullWidth?: boolean | undefined;
20512
- compressed?: boolean | undefined;
20680
+ isInvalid?: boolean;
20681
+ fullWidth?: boolean;
20682
+ compressed?: boolean;
20513
20683
  height: string;
20514
20684
  maxHeight: string;
20515
20685
  } & React.RefAttributes<HTMLTextAreaElement>>;
@@ -20573,7 +20743,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_too
20573
20743
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/renderer' {
20574
20744
  import { FunctionComponent, PropsWithChildren } from 'react';
20575
20745
  import { EuiMarkdownAstNodePosition } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20576
- import { TooltipNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/types'; type TooltipMarkdownRendererProps = PropsWithChildren & TooltipNodeDetails & {
20746
+ import { TooltipNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_tooltip/types';
20747
+ type TooltipMarkdownRendererProps = PropsWithChildren & TooltipNodeDetails & {
20577
20748
  position: EuiMarkdownAstNodePosition;
20578
20749
  };
20579
20750
  export const tooltipMarkdownRenderer: FunctionComponent<TooltipMarkdownRendererProps>;
@@ -20610,7 +20781,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_che
20610
20781
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/renderer' {
20611
20782
  import { FunctionComponent, PropsWithChildren } from 'react';
20612
20783
  import { EuiMarkdownAstNodePosition } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20613
- import { CheckboxNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/types'; type CheckboxMarkdownRendererProps = PropsWithChildren & CheckboxNodeDetails & {
20784
+ import { CheckboxNodeDetails } from '@elastic/eui/src/components/markdown_editor/plugins/markdown_checkbox/types';
20785
+ type CheckboxMarkdownRendererProps = PropsWithChildren & CheckboxNodeDetails & {
20614
20786
  position: EuiMarkdownAstNodePosition;
20615
20787
  };
20616
20788
  export const CheckboxMarkdownRenderer: FunctionComponent<CheckboxMarkdownRendererProps>;
@@ -20710,8 +20882,8 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_def
20710
20882
  */
20711
20883
  linkProps?: Partial<EuiLinkProps>;
20712
20884
  };
20713
- export const getDefaultEuiMarkdownProcessingPlugins: ({ exclude, linkProps, }?: DefaultPluginsConfig & DefaultProcessingPluginsConfig) => [[Plugin<[(Settings | undefined)?], Settings>, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20714
- export const defaultProcessingPlugins: [[Plugin<[(Settings | undefined)?], Settings>, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20885
+ export const getDefaultEuiMarkdownProcessingPlugins: ({ exclude, linkProps, }?: DefaultPluginsConfig & DefaultProcessingPluginsConfig) => DefaultEuiMarkdownProcessingPlugins;
20886
+ export const defaultProcessingPlugins: [[Plugin, Remark2RehypeOptions], [typeof rehype2react, Rehype2ReactOptions], ...Pluggable<any[], Settings>[]];
20715
20887
 
20716
20888
  }
20717
20889
  declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_default_plugins/plugins' {
@@ -20839,7 +21011,8 @@ declare module '@elastic/eui/src/components/markdown_editor/markdown_editor' {
20839
21011
  import { EuiMarkdownFormatProps } from '@elastic/eui/src/components/markdown_editor/markdown_format';
20840
21012
  import { MARKDOWN_MODE } from '@elastic/eui/src/components/markdown_editor/markdown_modes';
20841
21013
  import { EuiMarkdownAstNode, EuiMarkdownDropHandler, EuiMarkdownEditorUiPlugin, EuiMarkdownParseError } from '@elastic/eui/src/components/markdown_editor/markdown_types';
20842
- import { ContextShape } from '@elastic/eui/src/components/markdown_editor/markdown_context'; type CommonMarkdownEditorProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'> & CommonProps & {
21014
+ import { ContextShape } from '@elastic/eui/src/components/markdown_editor/markdown_context';
21015
+ type CommonMarkdownEditorProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'> & CommonProps & {
20843
21016
  /** aria-label OR aria-labelledby must be set */
20844
21017
  'aria-label'?: string;
20845
21018
  /** aria-label OR aria-labelledby must be set */
@@ -21010,7 +21183,8 @@ declare module '@elastic/eui/src/components/page/page_body/page_body' {
21010
21183
  import { CommonProps } from '@elastic/eui/src/components/common';
21011
21184
  import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
21012
21185
  import { EuiPanelProps } from '@elastic/eui/src/components/panel';
21013
- import { EuiPaddingSize } from '@elastic/eui/src/global_styling'; type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType<any>;
21186
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
21187
+ type ComponentTypes = keyof JSX.IntrinsicElements | ComponentType<any>;
21014
21188
  export type EuiPageBodyProps<T extends ComponentTypes = 'main'> = PropsWithChildren & CommonProps & ComponentProps<T> & _EuiPageRestrictWidth & {
21015
21189
  /**
21016
21190
  * Sets the HTML element for `EuiPageBody`.
@@ -21078,7 +21252,8 @@ declare module '@elastic/eui/src/components/page/page_header/page_header_content
21078
21252
  import { EuiBreadcrumbsProps } from '@elastic/eui/src/components/breadcrumbs';
21079
21253
  import { PADDING_SIZES } from '@elastic/eui/src/global_styling';
21080
21254
  import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
21081
- export const ALIGN_ITEMS: readonly ["top", "bottom", "center", "stretch"]; type Tab = EuiTabProps & {
21255
+ export const ALIGN_ITEMS: readonly ["top", "bottom", "center", "stretch"];
21256
+ type Tab = EuiTabProps & {
21082
21257
  /**
21083
21258
  * Visible text of the tab
21084
21259
  */
@@ -21358,7 +21533,8 @@ declare module '@elastic/eui/src/components/page_template/outer/page_outer' {
21358
21533
  import { FunctionComponent, HTMLAttributes } from 'react';
21359
21534
  import { CommonProps } from '@elastic/eui/src/components/common';
21360
21535
  import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling';
21361
- export const PAGE_DIRECTIONS: readonly ["row", "column"]; type PageDirections = (typeof PAGE_DIRECTIONS)[number];
21536
+ export const PAGE_DIRECTIONS: readonly ["row", "column"];
21537
+ type PageDirections = (typeof PAGE_DIRECTIONS)[number];
21362
21538
  export interface _EuiPageOuterProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
21363
21539
  /**
21364
21540
  * Adds `flex-grow: 1` to the whole page for stretching to fit vertically.
@@ -21571,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 EuiThemeAmsterdam;
21757
+ * Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
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,15 +23011,15 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22836
23011
  getTruncationProps: (option: EuiSelectableOption, highlightSearch: boolean, isFocused: boolean) => {
22837
23012
  prefix?: string | undefined;
22838
23013
  slot?: string | undefined;
22839
- style?: React.CSSProperties | undefined;
23014
+ style?: CSSProperties | undefined;
22840
23015
  title?: string | undefined;
22841
- css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
22842
- width: number | undefined;
23016
+ width: number;
22843
23017
  color?: string | undefined;
22844
23018
  content?: string | undefined;
23019
+ hidden?: boolean | undefined;
23020
+ css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
22845
23021
  translate?: "yes" | "no" | undefined;
22846
23022
  property?: string | undefined;
22847
- hidden?: boolean | undefined;
22848
23023
  className?: string | undefined;
22849
23024
  defaultChecked?: boolean | undefined;
22850
23025
  defaultValue?: string | number | readonly string[] | undefined;
@@ -22852,14 +23027,14 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22852
23027
  suppressHydrationWarning?: boolean | undefined;
22853
23028
  accessKey?: string | undefined;
22854
23029
  autoFocus?: boolean | undefined;
22855
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
23030
+ contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
22856
23031
  contextMenu?: string | undefined;
22857
23032
  dir?: string | undefined;
22858
- draggable?: (boolean | "true" | "false") | undefined;
23033
+ draggable?: (boolean | "false" | "true") | undefined;
22859
23034
  id?: string | undefined;
22860
23035
  lang?: string | undefined;
22861
23036
  nonce?: string | undefined;
22862
- spellCheck?: (boolean | "true" | "false") | undefined;
23037
+ spellCheck?: (boolean | "false" | "true") | undefined;
22863
23038
  tabIndex?: number | undefined;
22864
23039
  radioGroup?: string | undefined;
22865
23040
  role?: React.AriaRole | undefined;
@@ -22882,55 +23057,55 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
22882
23057
  results?: number | undefined;
22883
23058
  security?: string | undefined;
22884
23059
  unselectable?: "on" | "off" | undefined;
22885
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
23060
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
22886
23061
  is?: string | undefined;
22887
23062
  "aria-activedescendant"?: string | undefined;
22888
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
22889
- "aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
23063
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
23064
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
22890
23065
  "aria-braillelabel"?: string | undefined;
22891
23066
  "aria-brailleroledescription"?: string | undefined;
22892
- "aria-busy"?: (boolean | "true" | "false") | undefined;
22893
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
23067
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
23068
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
22894
23069
  "aria-colcount"?: number | undefined;
22895
23070
  "aria-colindex"?: number | undefined;
22896
23071
  "aria-colindextext"?: string | undefined;
22897
23072
  "aria-colspan"?: number | undefined;
22898
23073
  "aria-controls"?: string | undefined;
22899
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
23074
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
22900
23075
  "aria-describedby"?: string | undefined;
22901
23076
  "aria-description"?: string | undefined;
22902
23077
  "aria-details"?: string | undefined;
22903
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
22904
- "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
23078
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
23079
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
22905
23080
  "aria-errormessage"?: string | undefined;
22906
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
23081
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
22907
23082
  "aria-flowto"?: string | undefined;
22908
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
22909
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
22910
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
22911
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
23083
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
23084
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
23085
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
23086
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
22912
23087
  "aria-keyshortcuts"?: string | undefined;
22913
23088
  "aria-label"?: string | undefined;
22914
23089
  "aria-labelledby"?: string | undefined;
22915
23090
  "aria-level"?: number | undefined;
22916
23091
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
22917
- "aria-modal"?: (boolean | "true" | "false") | undefined;
22918
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
22919
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
23092
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
23093
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
23094
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
22920
23095
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
22921
23096
  "aria-owns"?: string | undefined;
22922
23097
  "aria-placeholder"?: string | undefined;
22923
23098
  "aria-posinset"?: number | undefined;
22924
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
22925
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
22926
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
22927
- "aria-required"?: (boolean | "true" | "false") | undefined;
23099
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
23100
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
23101
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
23102
+ "aria-required"?: (boolean | "false" | "true") | undefined;
22928
23103
  "aria-roledescription"?: string | undefined;
22929
23104
  "aria-rowcount"?: number | undefined;
22930
23105
  "aria-rowindex"?: number | undefined;
22931
23106
  "aria-rowindextext"?: string | undefined;
22932
23107
  "aria-rowspan"?: number | undefined;
22933
- "aria-selected"?: (boolean | "true" | "false") | undefined;
23108
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
22934
23109
  "aria-setsize"?: number | undefined;
22935
23110
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
22936
23111
  "aria-valuemax"?: number | undefined;
@@ -23008,7 +23183,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23008
23183
  onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23009
23184
  onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
23010
23185
  onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23011
- onResize?: ((width: number) => void) | undefined;
23186
+ onResize?: (width: number) => void;
23012
23187
  onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
23013
23188
  onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
23014
23189
  onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
@@ -23100,15 +23275,15 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
23100
23275
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
23101
23276
  onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
23102
23277
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
23103
- 'data-test-subj'?: string | undefined;
23104
- ellipsis?: string | undefined;
23105
- truncation?: "start" | "end" | "middle" | "startEnd" | undefined;
23106
- truncationOffset?: number | undefined;
23107
- truncationPosition?: number | undefined;
23108
- calculationDelayMs?: number | undefined;
23278
+ 'data-test-subj'?: string;
23279
+ ellipsis?: string;
23280
+ truncation?: import ("@elastic/eui/src/components/text_truncate").EuiTextTruncationTypes;
23281
+ truncationOffset?: number;
23282
+ truncationPosition?: number;
23283
+ calculationDelayMs?: number;
23109
23284
  } | undefined;
23110
- renderSearchedText: (text: string, truncationProps?: EuiSelectableOptionsListProps['truncationProps']) => React.JSX.Element;
23111
- renderTruncatedText: (text: string, truncationProps?: EuiSelectableOptionsListProps['truncationProps']) => React.JSX.Element;
23285
+ renderSearchedText: (text: string, truncationProps?: EuiSelectableOptionsListProps["truncationProps"]) => React.JSX.Element;
23286
+ renderTruncatedText: (text: string, truncationProps?: EuiSelectableOptionsListProps["truncationProps"]) => React.JSX.Element;
23112
23287
  render(): React.JSX.Element;
23113
23288
  onAddOrRemoveOption: (option: EuiSelectableOption<T>, event: EuiSelectableOnChangeEvent) => void;
23114
23289
  private onAddOption;
@@ -23142,7 +23317,10 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
23142
23317
  import { EuiSelectableList } from '@elastic/eui/src/components/selectable/selectable_list';
23143
23318
  import { EuiSelectableOptionsListProps } from '@elastic/eui/src/components/selectable/selectable_list/selectable_list';
23144
23319
  import { EuiSelectableOption } from '@elastic/eui/src/components/selectable/selectable_option';
23145
- export type EuiSelectableOnChangeEvent = KeyboardEvent | MouseEvent; type RequiredEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof (typeof EuiSelectableList)['defaultProps']>; type OptionalEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof RequiredEuiSelectableOptionsListProps>; type EuiSelectableOptionsListPropsWithDefaults = RequiredEuiSelectableOptionsListProps & Partial<OptionalEuiSelectableOptionsListProps>;
23320
+ export type EuiSelectableOnChangeEvent = KeyboardEvent | MouseEvent;
23321
+ type RequiredEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof (typeof EuiSelectableList)['defaultProps']>;
23322
+ type OptionalEuiSelectableOptionsListProps = Omit<EuiSelectableOptionsListProps, keyof RequiredEuiSelectableOptionsListProps>;
23323
+ type EuiSelectableOptionsListPropsWithDefaults = RequiredEuiSelectableOptionsListProps & Partial<OptionalEuiSelectableOptionsListProps>;
23146
23324
  export interface EuiSelectableOptionMatcherArgs<TOption> {
23147
23325
  option: EuiSelectableOption<TOption>;
23148
23326
  searchValue: string;
@@ -23293,14 +23471,14 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
23293
23471
  componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
23294
23472
  isFocusOnSearchOrListBox: (target: EventTarget | null) => boolean | undefined;
23295
23473
  onMouseDown: () => void;
23296
- onFocus: (event?: React.FocusEvent<Element, Element> | undefined) => void;
23474
+ onFocus: (event?: FocusEvent) => void;
23297
23475
  onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
23298
23476
  incrementActiveOptionIndex: (amount: number) => void;
23299
23477
  onSearchChange: (searchValue: string, visibleOptions: Array<EuiSelectableOption<T>>) => void;
23300
23478
  onContainerBlur: (e: React.FocusEvent) => void;
23301
23479
  onOptionClick: (options: Array<EuiSelectableOption<T>>, event: EuiSelectableOnChangeEvent, clickedOption: EuiSelectableOption<T>) => void;
23302
- scrollToItem: (index: number, align?: Align | undefined) => void;
23303
- makeOptionId: (index?: number | undefined) => string;
23480
+ scrollToItem: (index: number, align?: Align) => void;
23481
+ makeOptionId: (index?: number) => string;
23304
23482
  render(): React.JSX.Element;
23305
23483
  }
23306
23484
  export {};
@@ -23448,7 +23626,10 @@ declare module '@elastic/eui/src/components/search_bar/filters/field_value_selec
23448
23626
  value: Value;
23449
23627
  name?: string;
23450
23628
  view?: ReactNode;
23451
- } type OptionsLoader = () => Promise<FieldValueOptionType[]>; type OptionsFilter = (name: string, query: string, options?: FieldValueOptionType[]) => boolean; type MultiSelect = boolean | 'and' | 'or';
23629
+ }
23630
+ type OptionsLoader = () => Promise<FieldValueOptionType[]>;
23631
+ type OptionsFilter = (name: string, query: string, options?: FieldValueOptionType[]) => boolean;
23632
+ type MultiSelect = boolean | 'and' | 'or';
23452
23633
  export interface FieldValueSelectionFilterConfigType {
23453
23634
  type: 'field_value_selection';
23454
23635
  field?: string;
@@ -23622,7 +23803,8 @@ declare module '@elastic/eui/src/components/search_bar/search_filters' {
23622
23803
  query: Query;
23623
23804
  onChange: (query: Query) => void;
23624
23805
  filters: SearchFilterConfig[];
23625
- } type DefaultProps = Pick<EuiSearchBarFiltersProps, 'filters'>;
23806
+ }
23807
+ type DefaultProps = Pick<EuiSearchBarFiltersProps, 'filters'>;
23626
23808
  export class EuiSearchBarFilters extends Component<EuiSearchBarFiltersProps> {
23627
23809
  static defaultProps: DefaultProps;
23628
23810
  render(): React.JSX.Element;
@@ -23643,7 +23825,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23643
23825
  import { EuiFieldSearchProps } from '@elastic/eui/src/components/form/field_search';
23644
23826
  import { EuiInputPopoverProps } from '@elastic/eui/src/components/popover';
23645
23827
  export { Query, AST as Ast } from '@elastic/eui/src/components/search_bar/query';
23646
- export type QueryType = Query | string; type Tools = ReactElement | ReactElement[];
23828
+ export type QueryType = Query | string;
23829
+ type Tools = ReactElement | ReactElement[];
23647
23830
  interface ArgsWithQuery {
23648
23831
  query: Query;
23649
23832
  queryText: string;
@@ -23660,7 +23843,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23660
23843
  flags?: string[];
23661
23844
  recognizedFields?: string[];
23662
23845
  }
23663
- export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError; type HintPopOverProps = Partial<Pick<EuiInputPopoverProps, 'isOpen' | 'closePopover' | 'fullWidth' | 'disableFocusTrap' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'panelProps' | 'popoverScreenReaderText' | 'repositionOnScroll' | 'zIndex' | 'data-test-subj'>>;
23846
+ export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError;
23847
+ type HintPopOverProps = Partial<Pick<EuiInputPopoverProps, 'isOpen' | 'closePopover' | 'fullWidth' | 'disableFocusTrap' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'panelProps' | 'popoverScreenReaderText' | 'repositionOnScroll' | 'zIndex' | 'data-test-subj'>>;
23664
23848
  export interface EuiSearchBarProps extends CommonProps {
23665
23849
  onChange?: (args: EuiSearchBarOnChangeArgs) => void | boolean;
23666
23850
  /**
@@ -23706,7 +23890,8 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
23706
23890
  queryText: string;
23707
23891
  error: null | Error;
23708
23892
  isHintVisible: boolean;
23709
- } type NotifyControllingParent = Pick<State, 'queryText' | 'error'> & {
23893
+ }
23894
+ type NotifyControllingParent = Pick<State, 'queryText' | 'error'> & {
23710
23895
  query: Query | null;
23711
23896
  };
23712
23897
  export class EuiSearchBar extends Component<EuiSearchBarProps, State> {
@@ -23776,15 +23961,15 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item.styles' {
23776
23961
  root: {
23777
23962
  lineHeight: import("csstype").Property.LineHeight<string | number> | undefined;
23778
23963
  color: string;
23779
- fontSize: import("csstype").Property.FontSize<string | number> | undefined;
23780
- fontWeight: import("csstype").Property.FontWeight | undefined;
23964
+ fontSize: import("react").CSSProperties["fontSize"];
23965
+ fontWeight: import("react").CSSProperties["fontWeight"];
23781
23966
  };
23782
23967
  };
23783
23968
  };
23784
23969
 
23785
23970
  }
23786
23971
  declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23787
- import React, { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler, JSX } from 'react';
23972
+ import { HTMLAttributes, ReactNode, ReactElement, MouseEventHandler, JSX } from 'react';
23788
23973
  import { CommonProps } from '@elastic/eui/src/components/common';
23789
23974
  /**
23790
23975
  * The props that are exposed to, or altered for, the consumer
@@ -23841,7 +24026,9 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23841
24026
  isParent?: boolean;
23842
24027
  depth?: number;
23843
24028
  childrenOnly?: boolean;
23844
- } type ExcludeEuiSideNavItemProps<T> = Pick<T, Exclude<keyof T, keyof _EuiSideNavItemProps | 'renderItem'>>; type OmitEuiSideNavItemProps<T> = {
24029
+ }
24030
+ type ExcludeEuiSideNavItemProps<T> = Pick<T, Exclude<keyof T, keyof _EuiSideNavItemProps | 'renderItem'>>;
24031
+ type OmitEuiSideNavItemProps<T> = {
23845
24032
  [K in keyof ExcludeEuiSideNavItemProps<T>]: T[K];
23846
24033
  };
23847
24034
  export type RenderItem<T> = (props: OmitEuiSideNavItemProps<T> & _EuiSideNavItemButtonProps) => JSX.Element;
@@ -23850,23 +24037,8 @@ declare module '@elastic/eui/src/components/side_nav/side_nav_item' {
23850
24037
  } ? T & {
23851
24038
  renderItem: RenderItem<T>;
23852
24039
  } : T;
23853
- export const EuiSideNavItem: <T extends CommonProps & {
23854
- /**
23855
- * Is an optional string to be passed as the navigation item's `href` prop,
23856
- * and by default it will force rendering of the item as an `<a>`
23857
- */
23858
- href?: string | undefined;
23859
- target?: string | undefined;
23860
- rel?: string | undefined;
23861
- /**
23862
- * Callback function to be passed as the navigation item's `onClick` prop,
23863
- * and by default it will force rendering of the item as a `<button>` instead of a link
23864
- */
23865
- onClick?: React.MouseEventHandler<HTMLElement | HTMLButtonElement> | undefined;
23866
- children: ReactNode;
23867
- disabled?: boolean | undefined;
23868
- } & _EuiSideNavItemProps & {
23869
- renderItem?: ((props: any) => JSX.Element) | undefined;
24040
+ export const EuiSideNavItem: <T extends _EuiSideNavItemButtonProps & _EuiSideNavItemProps & {
24041
+ renderItem?: (props: any) => JSX.Element;
23870
24042
  }>({ isOpen, isSelected, isParent, icon, onClick, href: _href, rel, target, items, children, renderItem: RenderItem, depth, className, css, style, truncate, emphasize, buttonClassName, childrenOnly, ...rest }: EuiSideNavItemProps<T>) => JSX.Element;
23871
24043
  export {};
23872
24044
 
@@ -24009,7 +24181,8 @@ declare module '@elastic/eui/src/components/stat/stat' {
24009
24181
  import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
24010
24182
  import { CommonProps } from '@elastic/eui/src/components/common';
24011
24183
  import { EuiTitleSize } from '@elastic/eui/src/components/title/title';
24012
- export const COLORS: readonly ["default", "subdued", "primary", "success", "warning", "danger", "accent"]; type TitleColor = (typeof COLORS)[number];
24184
+ export const COLORS: readonly ["default", "subdued", "primary", "success", "warning", "danger", "accent"];
24185
+ type TitleColor = (typeof COLORS)[number];
24013
24186
  export const ALIGNMENTS: readonly ["left", "center", "right"];
24014
24187
  export interface EuiStatProps {
24015
24188
  /**
@@ -24056,7 +24229,7 @@ declare module '@elastic/eui/src/components/stat' {
24056
24229
 
24057
24230
  }
24058
24231
  declare module '@elastic/eui/src/components/steps/step_strings' {
24059
- type Props = {
24232
+ type Props = {
24060
24233
  number?: number;
24061
24234
  title?: string;
24062
24235
  };
@@ -24073,7 +24246,7 @@ declare module '@elastic/eui/src/components/steps/step_strings' {
24073
24246
  }
24074
24247
  declare module '@elastic/eui/src/components/steps/step.styles' {
24075
24248
  import { UseEuiTheme } from '@elastic/eui/src/services';
24076
- export const euiStepVariables: (euiTheme: UseEuiTheme['euiTheme']) => {
24249
+ export const euiStepVariables: (euiTheme: UseEuiTheme["euiTheme"]) => {
24077
24250
  numberSize: string;
24078
24251
  numberXSSize: string;
24079
24252
  numberXXSSize: string;
@@ -24326,7 +24499,8 @@ declare module '@elastic/eui/src/components/tour/_tour_header.styles' {
24326
24499
  }
24327
24500
  declare module '@elastic/eui/src/components/tour/_tour_header' {
24328
24501
  import { FunctionComponent } from 'react';
24329
- import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourHeaderProps = {
24502
+ import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
24503
+ type EuiTourHeaderProps = {
24330
24504
  id: string;
24331
24505
  } & Pick<EuiTourStepProps, 'title' | 'subtitle'>;
24332
24506
  export const EuiTourHeader: FunctionComponent<EuiTourHeaderProps>;
@@ -24354,7 +24528,8 @@ declare module '@elastic/eui/src/components/tour/_tour_footer.styles' {
24354
24528
  }
24355
24529
  declare module '@elastic/eui/src/components/tour/_tour_footer' {
24356
24530
  import { FunctionComponent } from 'react';
24357
- import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourFooterProps = Pick<EuiTourStepProps, 'footerAction' | 'step' | 'stepsTotal' | 'onFinish'>;
24531
+ import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step';
24532
+ type EuiTourFooterProps = Pick<EuiTourStepProps, 'footerAction' | 'step' | 'stepsTotal' | 'onFinish'>;
24358
24533
  export const EuiTourFooter: FunctionComponent<EuiTourFooterProps>;
24359
24534
  export {};
24360
24535
 
@@ -24378,7 +24553,11 @@ declare module '@elastic/eui/src/components/tour/tour_step' {
24378
24553
  import { CSSProperties, HTMLAttributes, FunctionComponent, ReactElement, ReactNode } from 'react';
24379
24554
  import { ElementTarget } from '@elastic/eui/src/services';
24380
24555
  import { CommonProps, ExclusiveUnion, NoArgCallback } from '@elastic/eui/src/components/common';
24381
- import { EuiPopoverProps } from '@elastic/eui/src/components/popover'; type _EuiPopoverProps = EuiPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'content' | 'title' | 'step'>; type _PopoverOverrides = 'button' | 'closePopover'; type _PopoverPartials = 'closePopover'; type ExtendedEuiPopoverProps = Omit<_EuiPopoverProps, _PopoverOverrides> & Partial<Pick<EuiPopoverProps, _PopoverPartials>>;
24556
+ import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
24557
+ type _EuiPopoverProps = EuiPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'content' | 'title' | 'step'>;
24558
+ type _PopoverOverrides = 'button' | 'closePopover';
24559
+ type _PopoverPartials = 'closePopover';
24560
+ type ExtendedEuiPopoverProps = Omit<_EuiPopoverProps, _PopoverOverrides> & Partial<Pick<EuiPopoverProps, _PopoverPartials>>;
24382
24561
  export type EuiTourStepAnchorProps = ExclusiveUnion<{
24383
24562
  /**
24384
24563
  * Element to which the tour step popover attaches when open
@@ -24612,7 +24791,9 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
24612
24791
  index: number;
24613
24792
  size: number;
24614
24793
  };
24615
- } type CellPropsCallback<T extends object> = (item: T, column: EuiBasicTableColumn<T>) => object; type RowPropsCallback<T> = (item: T) => object;
24794
+ }
24795
+ type CellPropsCallback<T extends object> = (item: T, column: EuiBasicTableColumn<T>) => object;
24796
+ type RowPropsCallback<T> = (item: T) => object;
24616
24797
  interface BasicTableProps<T extends object> extends Omit<EuiTableProps, 'onChange'> {
24617
24798
  /**
24618
24799
  * Describes how to extract a unique ID from each item, used for selections & expanded rows
@@ -24678,7 +24859,8 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
24678
24859
  * Sets the table-layout CSS property. Note that auto tableLayout prevents truncateText from working properly.
24679
24860
  */
24680
24861
  tableLayout?: 'fixed' | 'auto';
24681
- } type BasicTableWithPaginationProps<T extends object> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
24862
+ }
24863
+ type BasicTableWithPaginationProps<T extends object> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
24682
24864
  pagination: Pagination;
24683
24865
  onChange?: (criteria: CriteriaWithPagination<T>) => void;
24684
24866
  };
@@ -24758,10 +24940,13 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
24758
24940
  initialPageSize?: number;
24759
24941
  pageIndex?: number;
24760
24942
  pageSize?: number;
24761
- } type Pagination = boolean | PaginationOptions;
24943
+ }
24944
+ type Pagination = boolean | PaginationOptions;
24762
24945
  interface SortingOptions {
24763
24946
  sort: PropertySort;
24764
- } type Sorting = boolean | SortingOptions; type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
24947
+ }
24948
+ type Sorting = boolean | SortingOptions;
24949
+ type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
24765
24950
  message?: ReactNode;
24766
24951
  /**
24767
24952
  * Configures #Search.
@@ -24815,7 +25000,8 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
24815
25000
  * Insert content between the search bar and table components.
24816
25001
  */
24817
25002
  childrenBetween?: ReactNode;
24818
- }; type InMemoryTablePropsWithPagination<T extends object> = Omit<InMemoryTableProps<T>, 'pagination' | 'onTableChange'> & {
25003
+ };
25004
+ type InMemoryTablePropsWithPagination<T extends object> = Omit<InMemoryTableProps<T>, 'pagination' | 'onTableChange'> & {
24819
25005
  pagination: Pagination;
24820
25006
  onTableChange?: (nextValues: CriteriaWithPagination<T>) => void;
24821
25007
  };
@@ -24944,7 +25130,8 @@ declare module '@elastic/eui/src/components/toast/toast' {
24944
25130
  import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
24945
25131
  import { CommonProps } from '@elastic/eui/src/components/common';
24946
25132
  import { IconType } from '@elastic/eui/src/components/icon';
24947
- export const COLORS: readonly ["primary", "success", "warning", "danger"]; type ToastColor = (typeof COLORS)[number];
25133
+ export const COLORS: readonly ["primary", "success", "warning", "danger"];
25134
+ type ToastColor = (typeof COLORS)[number];
24948
25135
  export interface EuiToastProps extends CommonProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
24949
25136
  title?: ReactNode;
24950
25137
  color?: ToastColor;
@@ -25007,7 +25194,8 @@ declare module '@elastic/eui/src/components/toast/global_toast_list_item' {
25007
25194
  declare module '@elastic/eui/src/components/toast/global_toast_list' {
25008
25195
  import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
25009
25196
  import { CommonProps } from '@elastic/eui/src/components/common';
25010
- import { EuiToastProps } from '@elastic/eui/src/components/toast/toast'; type ToastSide = 'right' | 'left';
25197
+ import { EuiToastProps } from '@elastic/eui/src/components/toast/toast';
25198
+ type ToastSide = 'right' | 'left';
25011
25199
  export const SIDES: ToastSide[];
25012
25200
  export const TOAST_FADE_OUT_MS = 250;
25013
25201
  export const CLEAR_ALL_TOASTS_THRESHOLD_DEFAULT = 3;
@@ -25160,7 +25348,8 @@ declare module '@elastic/eui/.storybook/utils' {
25160
25348
  /**
25161
25349
  * argTypes configurations
25162
25350
  */
25163
- import type { Meta, Preview, StoryObj } from '@storybook/react'; type StorybookConfig<T> = Meta<T> | StoryObj<T> | Preview;
25351
+ import type { Meta, Preview, StoryObj } from '@storybook/react';
25352
+ type StorybookConfig<T> = Meta<T> | StoryObj<T> | Preview;
25164
25353
  /**
25165
25354
  * Completely hide props from Storybook's controls panel.
25166
25355
  *
@@ -25170,7 +25359,7 @@ declare module '@elastic/eui/.storybook/utils' {
25170
25359
  *
25171
25360
  * @returns the mutated config
25172
25361
  */
25173
- export const hideStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25362
+ export const hideStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25174
25363
  /**
25175
25364
  * Leave props visible in Storybook's controls panel, but disable them
25176
25365
  * from being controllable (renders a `-`).
@@ -25181,7 +25370,7 @@ declare module '@elastic/eui/.storybook/utils' {
25181
25370
  *
25182
25371
  * @returns the mutated config
25183
25372
  */
25184
- export const disableStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25373
+ export const disableStorybookControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25185
25374
  /**
25186
25375
  * Configure provided args to be listed under a specified
25187
25376
  * category in the props table.
@@ -25192,7 +25381,7 @@ declare module '@elastic/eui/.storybook/utils' {
25192
25381
  *
25193
25382
  * @returns the mutated config
25194
25383
  */
25195
- export const moveStorybookControlsToCategory: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[], category?: string) => StorybookConfig<Props>;
25384
+ export const moveStorybookControlsToCategory: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>, category?: string) => StorybookConfig<Props>;
25196
25385
  /**
25197
25386
  * Configures passed argTypes to be setup as toggle control
25198
25387
  * which fires a Storybook action when enabled.
@@ -25204,7 +25393,7 @@ declare module '@elastic/eui/.storybook/utils' {
25204
25393
  *
25205
25394
  * @returns the mutated config
25206
25395
  */
25207
- export const enableFunctionToggleControls: <Props>(config: StorybookConfig<Props>, propNames: (keyof Props)[]) => StorybookConfig<Props>;
25396
+ export const enableFunctionToggleControls: <Props>(config: StorybookConfig<Props>, propNames: Array<keyof Props>) => StorybookConfig<Props>;
25208
25397
  /**
25209
25398
  * parameters configurations
25210
25399
  */
@@ -25272,54 +25461,54 @@ declare module '@elastic/eui/.storybook/test' {
25272
25461
  waitForAndClick: (testSubject: string) => Promise<void>;
25273
25462
  waitForEuiPopoverVisible: () => Promise<void>;
25274
25463
  waitForEuiPopoverHidden: () => Promise<void>;
25275
- getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25276
- getAllByLabelText: (<T_1 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_1[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25277
- queryByLabelText: (<T_2 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_2 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25278
- queryAllByLabelText: (<T_3 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_3[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25279
- findByLabelText: (<T_4 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_4>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25280
- findAllByLabelText: (<T_5 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_5[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25281
- getByPlaceholderText: (<T_6 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_6) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25282
- getAllByPlaceholderText: (<T_7 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_7[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25283
- queryByPlaceholderText: (<T_8 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_8 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25284
- queryAllByPlaceholderText: (<T_9 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_9[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25285
- findByPlaceholderText: (<T_10 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_10>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25286
- findAllByPlaceholderText: (<T_11 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_11[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25287
- getByText: (<T_12 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_12) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25288
- getAllByText: (<T_13 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_13[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25289
- queryByText: (<T_14 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_14 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25290
- queryAllByText: (<T_15 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => T_15[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25291
- findByText: (<T_16 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_16>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25292
- findAllByText: (<T_17 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_17[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25293
- getByAltText: (<T_18 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_18) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25294
- getAllByAltText: (<T_19 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_19[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25295
- queryByAltText: (<T_20 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_20 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25296
- queryAllByAltText: (<T_21 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_21[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25297
- findByAltText: (<T_22 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_22>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25298
- findAllByAltText: (<T_23 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_23[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25299
- getByTitle: (<T_24 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_24) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25300
- getAllByTitle: (<T_25 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_25[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25301
- queryByTitle: (<T_26 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_26 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25302
- queryAllByTitle: (<T_27 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_27[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25303
- findByTitle: (<T_28 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_28>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25304
- findAllByTitle: (<T_29 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_29[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25305
- getByDisplayValue: (<T_30 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_30) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25306
- getAllByDisplayValue: (<T_31 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_31[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25307
- queryByDisplayValue: (<T_32 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_32 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25308
- queryAllByDisplayValue: (<T_33 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_33[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25309
- findByDisplayValue: (<T_34 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_34>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25310
- findAllByDisplayValue: (<T_35 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_35[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25311
- getByRole: (<T_36 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_36) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement);
25312
- getAllByRole: (<T_37 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_37[]) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25313
- queryByRole: (<T_38 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_38 | null) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement | null);
25314
- queryAllByRole: (<T_39 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => T_39[]) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25315
- findByRole: (<T_40 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_40>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25316
- findAllByRole: (<T_41 extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_41[]>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25317
- getByTestId: (<T_42 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_42) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25318
- getAllByTestId: (<T_43 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_43[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25319
- queryByTestId: (<T_44 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_44 | null) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25320
- queryAllByTestId: (<T_45 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => T_45[]) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25321
- findByTestId: (<T_46 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_46>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25322
- findAllByTestId: (<T_47 extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<T_47[]>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25464
+ getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25465
+ getAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25466
+ queryByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25467
+ queryAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25468
+ findByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25469
+ findAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25470
+ getByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25471
+ getAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25472
+ queryByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25473
+ queryAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25474
+ findByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25475
+ findAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25476
+ getByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement);
25477
+ getAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25478
+ queryByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement | null);
25479
+ queryAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined) => HTMLElement[]);
25480
+ findByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25481
+ findAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByText<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25482
+ getByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25483
+ getAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25484
+ queryByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25485
+ queryAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25486
+ findByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25487
+ findAllByAltText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25488
+ getByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25489
+ getAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25490
+ queryByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25491
+ queryAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25492
+ findByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25493
+ findAllByTitle: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25494
+ getByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25495
+ getAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25496
+ queryByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25497
+ queryAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25498
+ findByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25499
+ findAllByDisplayValue: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25500
+ getByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").GetByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement);
25501
+ getAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").AllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25502
+ queryByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement | null);
25503
+ queryAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => ReturnType<import("@testing-library/dom").AllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined) => HTMLElement[]);
25504
+ findByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25505
+ findAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByRole<T>>) & ((role: import("@testing-library/dom").ByRoleMatcher, options?: import("@testing-library/dom").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25506
+ getByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").GetByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement);
25507
+ getAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25508
+ queryByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").QueryByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null);
25509
+ queryAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => ReturnType<import("@testing-library/dom").AllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[]);
25510
+ findByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>);
25511
+ findAllByTestId: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => ReturnType<import("@testing-library/dom").FindAllByBoundAttribute<T>>) & ((id: import("@testing-library/dom").Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>);
25323
25512
  queryByTestSubject: (args_0: import("@testing-library/react").Matcher) => HTMLElement | null;
25324
25513
  queryAllByTestSubject: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
25325
25514
  getByTestSubject: (args_0: import("@testing-library/react").Matcher) => HTMLElement;
@@ -31146,7 +31335,7 @@ declare module '@elastic/eui/.storybook/addons/code-snippet/constants' {
31146
31335
  * Addon specific constants
31147
31336
  */
31148
31337
  export const ADDON_ID = "storybook/code-snippet";
31149
- export const PANEL_ID: string;
31338
+ export const PANEL_ID = "storybook/code-snippet/panel";
31150
31339
  export const EVENTS: {
31151
31340
  SNIPPET_RENDERED: string;
31152
31341
  SNIPPET_PANEL_OPENED: string;