@elastic/eui 101.1.0 → 101.2.0-classic.1
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.
- package/es/components/badge/badge.styles.js +2 -2
- package/es/components/badge/color_utils.js +16 -6
- package/es/components/badge/notification_badge/badge_notification.styles.js +1 -1
- package/es/components/basic_table/basic_table.js +11 -0
- package/es/components/basic_table/in_memory_table.js +11 -0
- package/es/components/code/code.styles.js +4 -2
- package/es/components/code/code_syntax.styles.js +6 -3
- package/es/components/color_picker/color_picker_swatch.js +85 -3
- package/es/components/color_picker/color_picker_swatch.styles.js +11 -1
- package/es/components/header/header.styles.js +4 -1
- package/es/components/panel/panel.styles.js +1 -1
- package/es/components/provider/provider.js +2 -2
- package/es/components/table/table_header_cell.js +9 -0
- package/es/components/toast/toast.styles.js +3 -3
- package/es/components/tool_tip/icon_tip.js +9 -0
- package/es/components/tool_tip/tool_tip.js +18 -4
- package/es/components/tool_tip/tool_tip_anchor.js +1 -1
- package/es/global_styling/mixins/_button.js +3 -2
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/eui.d.ts +366 -327
- package/lib/components/badge/badge.styles.js +2 -2
- package/lib/components/badge/color_utils.js +16 -6
- package/lib/components/badge/notification_badge/badge_notification.styles.js +1 -1
- package/lib/components/basic_table/basic_table.js +11 -0
- package/lib/components/basic_table/in_memory_table.js +11 -0
- package/lib/components/code/code.styles.js +3 -1
- package/lib/components/code/code_syntax.styles.js +6 -3
- package/lib/components/color_picker/color_picker_swatch.js +85 -3
- package/lib/components/color_picker/color_picker_swatch.styles.js +11 -3
- package/lib/components/header/header.styles.js +4 -1
- package/lib/components/icon/svgs/aggregate.svg +0 -0
- package/lib/components/icon/svgs/color.svg +0 -0
- package/lib/components/icon/svgs/continuityAbove.svg +0 -0
- package/lib/components/icon/svgs/continuityAboveBelow.svg +0 -0
- package/lib/components/icon/svgs/continuityBelow.svg +0 -0
- package/lib/components/icon/svgs/continuityWithin.svg +0 -0
- package/lib/components/icon/svgs/documentation.svg +0 -0
- package/lib/components/icon/svgs/eraser.svg +0 -0
- package/lib/components/icon/svgs/folder_check.svg +0 -0
- package/lib/components/icon/svgs/folder_closed.svg +0 -0
- package/lib/components/icon/svgs/folder_exclamation.svg +0 -0
- package/lib/components/icon/svgs/folder_open.svg +0 -0
- package/lib/components/icon/svgs/fullScreenExit.svg +0 -0
- package/lib/components/icon/svgs/function.svg +0 -0
- package/lib/components/icon/svgs/layers.svg +0 -0
- package/lib/components/icon/svgs/menu.svg +0 -0
- package/lib/components/icon/svgs/ml_data_visualizer.svg +0 -0
- package/lib/components/icon/svgs/pageSelect.svg +0 -0
- package/lib/components/icon/svgs/pagesSelect.svg +0 -0
- package/lib/components/icon/svgs/percent.svg +0 -0
- package/lib/components/icon/svgs/push.svg +0 -0
- package/lib/components/icon/svgs/quote.svg +0 -0
- package/lib/components/icon/svgs/reporter.svg +0 -0
- package/lib/components/icon/svgs/securitySignal.svg +0 -0
- package/lib/components/icon/svgs/securitySignalDetected.svg +0 -0
- package/lib/components/icon/svgs/securitySignalResolved.svg +0 -0
- package/lib/components/icon/svgs/timeline.svg +0 -0
- package/lib/components/icon/svgs/users.svg +0 -0
- package/lib/components/icon/svgs/wordWrap.svg +0 -0
- package/lib/components/icon/svgs/wordWrapDisabled.svg +0 -0
- package/lib/components/panel/panel.styles.js +1 -1
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/table/table_header_cell.js +9 -0
- package/lib/components/toast/toast.styles.js +3 -3
- package/lib/components/tool_tip/icon_tip.js +9 -0
- package/lib/components/tool_tip/tool_tip.js +18 -4
- package/lib/components/tool_tip/tool_tip_anchor.js +1 -1
- package/lib/global_styling/mixins/_button.js +3 -2
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/optimize/es/components/badge/badge.styles.js +2 -2
- package/optimize/es/components/badge/color_utils.js +16 -6
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +1 -1
- package/optimize/es/components/code/code.styles.js +4 -2
- package/optimize/es/components/code/code_syntax.styles.js +6 -3
- package/optimize/es/components/color_picker/color_picker_swatch.js +18 -2
- package/optimize/es/components/color_picker/color_picker_swatch.styles.js +11 -1
- package/optimize/es/components/header/header.styles.js +4 -1
- package/optimize/es/components/panel/panel.styles.js +1 -1
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/toast/toast.styles.js +3 -3
- package/optimize/es/components/tool_tip/tool_tip.js +9 -4
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +1 -1
- package/optimize/es/global_styling/mixins/_button.js +3 -2
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/lib/components/badge/badge.styles.js +2 -2
- package/optimize/lib/components/badge/color_utils.js +16 -6
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +1 -1
- package/optimize/lib/components/code/code.styles.js +3 -1
- package/optimize/lib/components/code/code_syntax.styles.js +6 -3
- package/optimize/lib/components/color_picker/color_picker_swatch.js +18 -2
- package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +11 -3
- package/optimize/lib/components/header/header.styles.js +4 -1
- package/optimize/lib/components/icon/svgs/aggregate.svg +0 -0
- package/optimize/lib/components/icon/svgs/color.svg +0 -0
- package/optimize/lib/components/icon/svgs/continuityAbove.svg +0 -0
- package/optimize/lib/components/icon/svgs/continuityAboveBelow.svg +0 -0
- package/optimize/lib/components/icon/svgs/continuityBelow.svg +0 -0
- package/optimize/lib/components/icon/svgs/continuityWithin.svg +0 -0
- package/optimize/lib/components/icon/svgs/documentation.svg +0 -0
- package/optimize/lib/components/icon/svgs/eraser.svg +0 -0
- package/optimize/lib/components/icon/svgs/folder_check.svg +0 -0
- package/optimize/lib/components/icon/svgs/folder_closed.svg +0 -0
- package/optimize/lib/components/icon/svgs/folder_exclamation.svg +0 -0
- package/optimize/lib/components/icon/svgs/folder_open.svg +0 -0
- package/optimize/lib/components/icon/svgs/fullScreenExit.svg +0 -0
- package/optimize/lib/components/icon/svgs/function.svg +0 -0
- package/optimize/lib/components/icon/svgs/layers.svg +0 -0
- package/optimize/lib/components/icon/svgs/menu.svg +0 -0
- package/optimize/lib/components/icon/svgs/ml_data_visualizer.svg +0 -0
- package/optimize/lib/components/icon/svgs/pageSelect.svg +0 -0
- package/optimize/lib/components/icon/svgs/pagesSelect.svg +0 -0
- package/optimize/lib/components/icon/svgs/percent.svg +0 -0
- package/optimize/lib/components/icon/svgs/push.svg +0 -0
- package/optimize/lib/components/icon/svgs/quote.svg +0 -0
- package/optimize/lib/components/icon/svgs/reporter.svg +0 -0
- package/optimize/lib/components/icon/svgs/securitySignal.svg +0 -0
- package/optimize/lib/components/icon/svgs/securitySignalDetected.svg +0 -0
- package/optimize/lib/components/icon/svgs/securitySignalResolved.svg +0 -0
- package/optimize/lib/components/icon/svgs/timeline.svg +0 -0
- package/optimize/lib/components/icon/svgs/users.svg +0 -0
- package/optimize/lib/components/icon/svgs/wordWrap.svg +0 -0
- package/optimize/lib/components/icon/svgs/wordWrapDisabled.svg +0 -0
- package/optimize/lib/components/panel/panel.styles.js +1 -1
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/toast/toast.styles.js +3 -3
- package/optimize/lib/components/tool_tip/tool_tip.js +9 -4
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +1 -1
- package/optimize/lib/global_styling/mixins/_button.js +3 -2
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/context.js +2 -2
- package/package.json +3 -3
- package/test-env/components/badge/badge.styles.js +2 -2
- package/test-env/components/badge/color_utils.js +16 -6
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +1 -1
- package/test-env/components/basic_table/basic_table.js +11 -0
- package/test-env/components/basic_table/in_memory_table.js +11 -0
- package/test-env/components/code/code.styles.js +3 -1
- package/test-env/components/code/code_syntax.styles.js +6 -3
- package/test-env/components/color_picker/color_picker_swatch.js +85 -3
- package/test-env/components/color_picker/color_picker_swatch.styles.js +11 -3
- package/test-env/components/header/header.styles.js +4 -1
- package/test-env/components/panel/panel.styles.js +1 -1
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/table/table_header_cell.js +9 -0
- package/test-env/components/toast/toast.styles.js +3 -3
- package/test-env/components/tool_tip/icon_tip.js +9 -0
- package/test-env/components/tool_tip/tool_tip.js +18 -4
- package/test-env/components/tool_tip/tool_tip_anchor.js +1 -1
- package/test-env/global_styling/mixins/_button.js +3 -2
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/context.js +2 -2
- package/CHANGELOG.md +0 -5
package/eui.d.ts
CHANGED
|
@@ -167,115 +167,13 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
167
167
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
168
168
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
169
169
|
|
|
170
|
-
}
|
|
171
|
-
declare module '@elastic/eui/src/services/theme/types' {
|
|
172
|
-
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
173
|
-
|
|
174
170
|
}
|
|
175
171
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
176
172
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
177
173
|
|
|
178
174
|
}
|
|
179
|
-
declare module '@elastic/eui/src/services/theme/
|
|
180
|
-
|
|
181
|
-
export const DEFAULTS: {
|
|
182
|
-
system: {
|
|
183
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
184
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
185
|
-
key: string;
|
|
186
|
-
};
|
|
187
|
-
modifications: {};
|
|
188
|
-
colorMode: "LIGHT";
|
|
189
|
-
highContrastMode: false;
|
|
190
|
-
};
|
|
191
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
|
|
192
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>>;
|
|
193
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
194
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
195
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
196
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
|
|
197
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
201
|
-
type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
202
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
203
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
204
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
205
|
-
export {};
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
209
|
-
import React from 'react';
|
|
210
|
-
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
211
|
-
/**
|
|
212
|
-
* Hook for function components
|
|
213
|
-
*/
|
|
214
|
-
export interface UseEuiTheme<T extends {} = {}> {
|
|
215
|
-
euiTheme: EuiThemeComputed<T>;
|
|
216
|
-
colorMode: EuiThemeColorModeStandard;
|
|
217
|
-
highContrastMode: EuiThemeHighContrastMode;
|
|
218
|
-
modifications: EuiThemeModifications<T>;
|
|
219
|
-
}
|
|
220
|
-
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
221
|
-
/**
|
|
222
|
-
* HOC for class components
|
|
223
|
-
*/
|
|
224
|
-
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
225
|
-
theme: UseEuiTheme<P>;
|
|
226
|
-
}
|
|
227
|
-
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">>>;
|
|
228
|
-
/**
|
|
229
|
-
* Render prop alternative for complex class components
|
|
230
|
-
* Most useful for scenarios where a HOC may interfere with typing
|
|
231
|
-
*/
|
|
232
|
-
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
233
|
-
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
234
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
235
|
-
/**
|
|
236
|
-
* Minor syntactical sugar hook for theme CSS variables.
|
|
237
|
-
* Primarily meant for internal EUI usage.
|
|
238
|
-
*/
|
|
239
|
-
export const useEuiThemeCSSVariables: () => {
|
|
240
|
-
setGlobalCSSVariables: Function;
|
|
241
|
-
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
242
|
-
setNearestThemeCSSVariables: Function;
|
|
243
|
-
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
248
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
252
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
253
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
254
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
255
|
-
|
|
256
|
-
}
|
|
257
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
258
|
-
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
259
|
-
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
260
|
-
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
261
|
-
/**
|
|
262
|
-
* Returns the current breakpoint based on window width.
|
|
263
|
-
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
264
|
-
* of window resize listeners on the page). Also conditionally called if a
|
|
265
|
-
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
266
|
-
*/
|
|
267
|
-
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
268
|
-
export {};
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
272
|
-
/**
|
|
273
|
-
* Hook util / syntactical sugar for useContext()
|
|
274
|
-
*
|
|
275
|
-
* This hook is in its own separate file to make mocking it
|
|
276
|
-
* as a testenv easy for Jest unit tests
|
|
277
|
-
*/
|
|
278
|
-
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
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';
|
|
279
177
|
|
|
280
178
|
}
|
|
281
179
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -373,6 +271,10 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
373
271
|
*/
|
|
374
272
|
export const useDeepEqual: <T = any[] | Record<string, any> | undefined>(object: T) => T;
|
|
375
273
|
|
|
274
|
+
}
|
|
275
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
276
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
277
|
+
|
|
376
278
|
}
|
|
377
279
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
378
280
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -395,6 +297,14 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
395
297
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
396
298
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
397
299
|
|
|
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
|
+
|
|
398
308
|
}
|
|
399
309
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
400
310
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -586,6 +496,11 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
586
496
|
*/
|
|
587
497
|
categorical?: boolean): string[];
|
|
588
498
|
|
|
499
|
+
}
|
|
500
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
501
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
502
|
+
export const colorVis: _EuiThemeVisColors;
|
|
503
|
+
|
|
589
504
|
}
|
|
590
505
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
591
506
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -1106,7 +1021,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1106
1021
|
*/
|
|
1107
1022
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1108
1023
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1109
|
-
export const useEuiPaddingCSS: (side?: "left" | "right" | "bottom" | "top" | "horizontal" | "vertical" | undefined) => Record<"s" | "
|
|
1024
|
+
export const useEuiPaddingCSS: (side?: "left" | "right" | "bottom" | "top" | "horizontal" | "vertical" | undefined) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
|
|
1110
1025
|
|
|
1111
1026
|
}
|
|
1112
1027
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1156,6 +1071,12 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1156
1071
|
*/
|
|
1157
1072
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1158
1073
|
|
|
1074
|
+
}
|
|
1075
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1076
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1077
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1078
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1079
|
+
|
|
1159
1080
|
}
|
|
1160
1081
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1161
1082
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -1547,6 +1468,9 @@ declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
|
1547
1468
|
backgroundColor: string;
|
|
1548
1469
|
color: string;
|
|
1549
1470
|
};
|
|
1471
|
+
/**
|
|
1472
|
+
* These variables are computationally expensive - do not call them outside `useEuiMemoizedStyles`
|
|
1473
|
+
*/
|
|
1550
1474
|
export const euiCodeSyntaxVariables: (euiThemeContext: UseEuiTheme) => {
|
|
1551
1475
|
backgroundColor: string;
|
|
1552
1476
|
color: string;
|
|
@@ -2937,7 +2861,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2937
2861
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2938
2862
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2939
2863
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2940
|
-
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "
|
|
2864
|
+
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "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" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "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" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "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" | "userAvatar" | "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" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "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" | "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" | "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")[];
|
|
2941
2865
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2942
2866
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2943
2867
|
export type IconColor = string | NamedColor;
|
|
@@ -2980,7 +2904,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2980
2904
|
isLoading: boolean;
|
|
2981
2905
|
neededLoading: boolean;
|
|
2982
2906
|
}
|
|
2983
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "
|
|
2907
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "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" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "discuss" | "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" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "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" | "userAvatar" | "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" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "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" | "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" | "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;
|
|
2984
2908
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
2985
2909
|
[iconType: string]: React.ComponentType<{}>;
|
|
2986
2910
|
}) => void;
|
|
@@ -3386,6 +3310,15 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
|
|
|
3386
3310
|
* When nesting an `EuiTooltip` in a scrollable container, `repositionOnScroll` should be `true`
|
|
3387
3311
|
*/
|
|
3388
3312
|
repositionOnScroll?: boolean;
|
|
3313
|
+
/**
|
|
3314
|
+
* Disables the tooltip content being read by screen readers when focusing the trigger element.
|
|
3315
|
+
* Do not use when the trigger `aria-label` and tooltip `content` can be rephrased to be standalone
|
|
3316
|
+
* information (action & additional information).
|
|
3317
|
+
* Enable this prop only when the trigger has a descriptive label that either duplicates or includes
|
|
3318
|
+
* the tooltip content and would result in repetitive output.
|
|
3319
|
+
* @default false
|
|
3320
|
+
*/
|
|
3321
|
+
disableScreenReaderOutput?: boolean;
|
|
3389
3322
|
/**
|
|
3390
3323
|
* If supplied, called when mouse movement causes the tool tip to be
|
|
3391
3324
|
* hidden.
|
|
@@ -4617,7 +4550,7 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
|
|
|
4617
4550
|
export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
|
|
4618
4551
|
children?: React.ReactNode;
|
|
4619
4552
|
} & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
|
|
4620
|
-
alignItems?: "center" | "
|
|
4553
|
+
alignItems?: "center" | "stretch" | "baseline" | "flexStart" | "flexEnd" | undefined;
|
|
4621
4554
|
/**
|
|
4622
4555
|
* Customize the component type that is rendered.
|
|
4623
4556
|
*
|
|
@@ -4632,7 +4565,7 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
|
|
|
4632
4565
|
*/
|
|
4633
4566
|
component?: TComponent | undefined;
|
|
4634
4567
|
direction?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
|
|
4635
|
-
gutterSize?: "s" | "
|
|
4568
|
+
gutterSize?: "s" | "none" | "xs" | "m" | "l" | "xl" | undefined;
|
|
4636
4569
|
justifyContent?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
|
|
4637
4570
|
responsive?: boolean | undefined;
|
|
4638
4571
|
wrap?: boolean | undefined;
|
|
@@ -4767,7 +4700,7 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
|
|
|
4767
4700
|
export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
|
|
4768
4701
|
children?: React.ReactNode;
|
|
4769
4702
|
} & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
|
|
4770
|
-
grow?: boolean | 0 |
|
|
4703
|
+
grow?: boolean | 0 | 1 | 6 | 3 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | null | undefined;
|
|
4771
4704
|
/**
|
|
4772
4705
|
* Customize the component type that is rendered.
|
|
4773
4706
|
*
|
|
@@ -5743,7 +5676,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5743
5676
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5744
5677
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5745
5678
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5746
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
5679
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
|
|
5747
5680
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5748
5681
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5749
5682
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6848,6 +6781,98 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6848
6781
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6849
6782
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6850
6783
|
|
|
6784
|
+
}
|
|
6785
|
+
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6786
|
+
export const wcagContrastMin = 4.5;
|
|
6787
|
+
/**
|
|
6788
|
+
* Creates a new color that meets or exceeds WCAG level AA
|
|
6789
|
+
* @param foreground - Color to manipulate
|
|
6790
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6791
|
+
* *
|
|
6792
|
+
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
6793
|
+
*/
|
|
6794
|
+
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
6795
|
+
[key: string]: any;
|
|
6796
|
+
colors: {
|
|
6797
|
+
body: string;
|
|
6798
|
+
};
|
|
6799
|
+
}) => string;
|
|
6800
|
+
/**
|
|
6801
|
+
* Creates a new color with increased contrast
|
|
6802
|
+
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
6803
|
+
* @param foreground - Color to manipulate
|
|
6804
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6805
|
+
* *
|
|
6806
|
+
* @param themeOrBackground - Color to use as the contrast basis
|
|
6807
|
+
*/
|
|
6808
|
+
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
6809
|
+
[key: string]: any;
|
|
6810
|
+
colors: {
|
|
6811
|
+
body: string;
|
|
6812
|
+
};
|
|
6813
|
+
}) => string;
|
|
6814
|
+
|
|
6815
|
+
}
|
|
6816
|
+
declare module '@elastic/eui/src/services/color' {
|
|
6817
|
+
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6818
|
+
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6819
|
+
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6820
|
+
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6821
|
+
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6822
|
+
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6823
|
+
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6824
|
+
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6825
|
+
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6826
|
+
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6827
|
+
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6828
|
+
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6829
|
+
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';
|
|
6830
|
+
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6831
|
+
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6832
|
+
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6833
|
+
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6834
|
+
export * from '@elastic/eui/src/services/color/contrast';
|
|
6835
|
+
|
|
6836
|
+
}
|
|
6837
|
+
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6838
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6839
|
+
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6840
|
+
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6841
|
+
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
6842
|
+
theme?: EuiThemeSystem<T>;
|
|
6843
|
+
colorMode?: EuiThemeColorMode;
|
|
6844
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
6845
|
+
modify?: EuiThemeModifications<T>;
|
|
6846
|
+
children: any;
|
|
6847
|
+
/**
|
|
6848
|
+
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
6849
|
+
* set the default text `color` that all nested children will inherit.
|
|
6850
|
+
*
|
|
6851
|
+
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
6852
|
+
* This requires a **single** child component that the correct color class can be passed to.
|
|
6853
|
+
*
|
|
6854
|
+
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
6855
|
+
* the default inherited text color will be set on the page `body`.
|
|
6856
|
+
*/
|
|
6857
|
+
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
6858
|
+
cloneElement?: boolean;
|
|
6859
|
+
};
|
|
6860
|
+
}
|
|
6861
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6862
|
+
|
|
6863
|
+
}
|
|
6864
|
+
declare module '@elastic/eui/src/services/theme' {
|
|
6865
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6866
|
+
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6867
|
+
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
|
|
6868
|
+
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
6869
|
+
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
6870
|
+
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6871
|
+
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6872
|
+
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6873
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6874
|
+
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6875
|
+
|
|
6851
6876
|
}
|
|
6852
6877
|
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6853
6878
|
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
@@ -6914,96 +6939,210 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
6914
6939
|
export const brighten: (color: string, amount: number) => string;
|
|
6915
6940
|
|
|
6916
6941
|
}
|
|
6917
|
-
declare module '@elastic/eui/src/
|
|
6918
|
-
|
|
6942
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
6943
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
6944
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
6945
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
6946
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
6947
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
6948
|
+
export const text_colors: _EuiThemeTextColors;
|
|
6949
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
6950
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
6951
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
6952
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
6953
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
6954
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
6955
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
6956
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
6957
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
6958
|
+
export const colors: _EuiThemeColors;
|
|
6959
|
+
|
|
6960
|
+
}
|
|
6961
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
6962
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
6963
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
6964
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
6965
|
+
export const animation: _EuiThemeAnimation;
|
|
6966
|
+
|
|
6967
|
+
}
|
|
6968
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
6969
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
6970
|
+
|
|
6971
|
+
}
|
|
6972
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
6973
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
6974
|
+
export const base: _EuiThemeBase;
|
|
6975
|
+
export const size: _EuiThemeSizes;
|
|
6976
|
+
|
|
6977
|
+
}
|
|
6978
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
6979
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
6980
|
+
export const border: _EuiThemeBorder;
|
|
6981
|
+
|
|
6982
|
+
}
|
|
6983
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
6984
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
6985
|
+
export const levels: _EuiThemeLevels;
|
|
6986
|
+
|
|
6987
|
+
}
|
|
6988
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
6989
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
6990
|
+
export const fontScale: _EuiThemeFontScales;
|
|
6991
|
+
export const fontBase: _EuiThemeFontBase;
|
|
6992
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
6993
|
+
export const font: _EuiThemeFont;
|
|
6994
|
+
|
|
6995
|
+
}
|
|
6996
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
6997
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
6998
|
+
export const focus: _EuiThemeFocus;
|
|
6999
|
+
|
|
7000
|
+
}
|
|
7001
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7002
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7003
|
+
export const buttons: _EuiThemeButton;
|
|
7004
|
+
|
|
7005
|
+
}
|
|
7006
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7007
|
+
export const forms: {
|
|
7008
|
+
maxWidth: string;
|
|
7009
|
+
LIGHT: {
|
|
7010
|
+
background: string;
|
|
7011
|
+
backgroundDisabled: string;
|
|
7012
|
+
backgroundReadOnly: any;
|
|
7013
|
+
backgroundFocused: any;
|
|
7014
|
+
backgroundAutofilled: string;
|
|
7015
|
+
prependBackground: string;
|
|
7016
|
+
border: string;
|
|
7017
|
+
borderAutofilled: string;
|
|
7018
|
+
controlBorder: string;
|
|
7019
|
+
controlBorderSelected: string;
|
|
7020
|
+
controlBorderDisabled: string;
|
|
7021
|
+
controlBackgroundUnselected: any;
|
|
7022
|
+
controlBackgroundDisabled: any;
|
|
7023
|
+
colorHasPlaceholder: string;
|
|
7024
|
+
colorDisabled: any;
|
|
7025
|
+
iconDisabled: any;
|
|
7026
|
+
};
|
|
7027
|
+
DARK: {
|
|
7028
|
+
background: string;
|
|
7029
|
+
backgroundFocused: string;
|
|
7030
|
+
backgroundAutofilled: string;
|
|
7031
|
+
prependBackground: string;
|
|
7032
|
+
border: string;
|
|
7033
|
+
controlBorder: string;
|
|
7034
|
+
controlBorderSelected: string;
|
|
7035
|
+
controlBorderDisabled: string;
|
|
7036
|
+
backgroundDisabled: string;
|
|
7037
|
+
backgroundReadOnly: any;
|
|
7038
|
+
borderAutofilled: string;
|
|
7039
|
+
controlBackgroundUnselected: any;
|
|
7040
|
+
controlBackgroundDisabled: any;
|
|
7041
|
+
colorHasPlaceholder: string;
|
|
7042
|
+
colorDisabled: any;
|
|
7043
|
+
iconDisabled: any;
|
|
7044
|
+
};
|
|
7045
|
+
};
|
|
7046
|
+
|
|
7047
|
+
}
|
|
7048
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
7049
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
7050
|
+
export const components: _EuiThemeComponents;
|
|
7051
|
+
|
|
7052
|
+
}
|
|
7053
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
7054
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
7055
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
7056
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
7057
|
+
export const EuiThemeAmsterdam: {
|
|
7058
|
+
model: EuiThemeShape;
|
|
7059
|
+
root: EuiThemeShape;
|
|
7060
|
+
key: string;
|
|
7061
|
+
};
|
|
7062
|
+
|
|
7063
|
+
}
|
|
7064
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
7065
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7066
|
+
export const DEFAULTS: {
|
|
7067
|
+
system: {
|
|
7068
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7069
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7070
|
+
key: string;
|
|
7071
|
+
};
|
|
7072
|
+
modifications: {};
|
|
7073
|
+
colorMode: "LIGHT";
|
|
7074
|
+
highContrastMode: false;
|
|
7075
|
+
};
|
|
7076
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
|
|
7077
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>>;
|
|
7078
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7079
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7080
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7081
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
|
|
7082
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7083
|
+
|
|
7084
|
+
}
|
|
7085
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
7086
|
+
import React from 'react';
|
|
7087
|
+
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
6919
7088
|
/**
|
|
6920
|
-
*
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
7089
|
+
* Hook for function components
|
|
7090
|
+
*/
|
|
7091
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
7092
|
+
euiTheme: EuiThemeComputed<T>;
|
|
7093
|
+
colorMode: EuiThemeColorModeStandard;
|
|
7094
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
7095
|
+
modifications: EuiThemeModifications<T>;
|
|
7096
|
+
}
|
|
7097
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
7098
|
+
/**
|
|
7099
|
+
* HOC for class components
|
|
7100
|
+
*/
|
|
7101
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
7102
|
+
theme: UseEuiTheme<P>;
|
|
7103
|
+
}
|
|
7104
|
+
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">>>;
|
|
7105
|
+
/**
|
|
7106
|
+
* Render prop alternative for complex class components
|
|
7107
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
6925
7108
|
*/
|
|
6926
|
-
export const
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
body: string;
|
|
6930
|
-
};
|
|
6931
|
-
}) => string;
|
|
7109
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
7110
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
7111
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6932
7112
|
/**
|
|
6933
|
-
*
|
|
6934
|
-
*
|
|
6935
|
-
* @param foreground - Color to manipulate
|
|
6936
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6937
|
-
* *
|
|
6938
|
-
* @param themeOrBackground - Color to use as the contrast basis
|
|
7113
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
7114
|
+
* Primarily meant for internal EUI usage.
|
|
6939
7115
|
*/
|
|
6940
|
-
export const
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
}
|
|
6946
|
-
|
|
6947
|
-
}
|
|
6948
|
-
declare module '@elastic/eui/src/services/color' {
|
|
6949
|
-
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6950
|
-
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6951
|
-
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6952
|
-
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6953
|
-
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6954
|
-
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6955
|
-
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6956
|
-
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6957
|
-
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6958
|
-
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6959
|
-
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6960
|
-
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6961
|
-
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';
|
|
6962
|
-
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6963
|
-
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6964
|
-
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6965
|
-
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6966
|
-
export * from '@elastic/eui/src/services/color/contrast';
|
|
7116
|
+
export const useEuiThemeCSSVariables: () => {
|
|
7117
|
+
setGlobalCSSVariables: Function;
|
|
7118
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7119
|
+
setNearestThemeCSSVariables: Function;
|
|
7120
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7121
|
+
};
|
|
6967
7122
|
|
|
6968
7123
|
}
|
|
6969
|
-
declare module '@elastic/eui/src/services/
|
|
6970
|
-
import React, {
|
|
6971
|
-
import
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
* set the default text `color` that all nested children will inherit.
|
|
6982
|
-
*
|
|
6983
|
-
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
6984
|
-
* This requires a **single** child component that the correct color class can be passed to.
|
|
6985
|
-
*
|
|
6986
|
-
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
6987
|
-
* the default inherited text color will be set on the page `body`.
|
|
6988
|
-
*/
|
|
6989
|
-
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
6990
|
-
cloneElement?: boolean;
|
|
6991
|
-
};
|
|
6992
|
-
}
|
|
6993
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
7124
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
7125
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
7126
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
7127
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
7128
|
+
/**
|
|
7129
|
+
* Returns the current breakpoint based on window width.
|
|
7130
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
7131
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
7132
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
7133
|
+
*/
|
|
7134
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
7135
|
+
export {};
|
|
6994
7136
|
|
|
6995
7137
|
}
|
|
6996
|
-
declare module '@elastic/eui/src/services/
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
export
|
|
7004
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7005
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7006
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7138
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
7139
|
+
/**
|
|
7140
|
+
* Hook util / syntactical sugar for useContext()
|
|
7141
|
+
*
|
|
7142
|
+
* This hook is in its own separate file to make mocking it
|
|
7143
|
+
* as a testenv easy for Jest unit tests
|
|
7144
|
+
*/
|
|
7145
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
7007
7146
|
|
|
7008
7147
|
}
|
|
7009
7148
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -8003,15 +8142,18 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
|
|
|
8003
8142
|
backgroundColor: string;
|
|
8004
8143
|
};
|
|
8005
8144
|
disabled: {
|
|
8145
|
+
borderColor: string;
|
|
8006
8146
|
border: string;
|
|
8007
8147
|
color: string;
|
|
8008
8148
|
backgroundColor: string;
|
|
8009
8149
|
} | {
|
|
8150
|
+
borderColor: string;
|
|
8010
8151
|
border?: undefined;
|
|
8011
8152
|
color: string;
|
|
8012
8153
|
backgroundColor: string;
|
|
8013
8154
|
};
|
|
8014
8155
|
default: {
|
|
8156
|
+
borderColor: string;
|
|
8015
8157
|
backgroundColor: string;
|
|
8016
8158
|
color: string;
|
|
8017
8159
|
};
|
|
@@ -8021,10 +8163,12 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
|
|
|
8021
8163
|
color: string;
|
|
8022
8164
|
};
|
|
8023
8165
|
subdued: {
|
|
8166
|
+
borderColor: string;
|
|
8024
8167
|
backgroundColor: string;
|
|
8025
8168
|
color: string;
|
|
8026
8169
|
};
|
|
8027
8170
|
accentText: {
|
|
8171
|
+
borderColor: string;
|
|
8028
8172
|
backgroundColor: string;
|
|
8029
8173
|
color: string;
|
|
8030
8174
|
};
|
|
@@ -12379,11 +12523,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12379
12523
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12380
12524
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12381
12525
|
|
|
12382
|
-
}
|
|
12383
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12384
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12385
|
-
export const colorVis: _EuiThemeVisColors;
|
|
12386
|
-
|
|
12387
12526
|
}
|
|
12388
12527
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12389
12528
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12393,128 +12532,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12393
12532
|
provider?: EuiThemeSystem;
|
|
12394
12533
|
}
|
|
12395
12534
|
|
|
12396
|
-
}
|
|
12397
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12398
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12399
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
12400
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12401
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
12402
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
12403
|
-
export const text_colors: _EuiThemeTextColors;
|
|
12404
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
12405
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12406
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
12407
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
12408
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
12409
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12410
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12411
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12412
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12413
|
-
export const colors: _EuiThemeColors;
|
|
12414
|
-
|
|
12415
|
-
}
|
|
12416
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12417
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12418
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12419
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12420
|
-
export const animation: _EuiThemeAnimation;
|
|
12421
|
-
|
|
12422
|
-
}
|
|
12423
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12424
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12425
|
-
|
|
12426
|
-
}
|
|
12427
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12428
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12429
|
-
export const base: _EuiThemeBase;
|
|
12430
|
-
export const size: _EuiThemeSizes;
|
|
12431
|
-
|
|
12432
|
-
}
|
|
12433
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12434
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12435
|
-
export const border: _EuiThemeBorder;
|
|
12436
|
-
|
|
12437
|
-
}
|
|
12438
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12439
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12440
|
-
export const levels: _EuiThemeLevels;
|
|
12441
|
-
|
|
12442
|
-
}
|
|
12443
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12444
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12445
|
-
export const fontScale: _EuiThemeFontScales;
|
|
12446
|
-
export const fontBase: _EuiThemeFontBase;
|
|
12447
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
12448
|
-
export const font: _EuiThemeFont;
|
|
12449
|
-
|
|
12450
|
-
}
|
|
12451
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12452
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12453
|
-
export const focus: _EuiThemeFocus;
|
|
12454
|
-
|
|
12455
|
-
}
|
|
12456
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12457
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12458
|
-
export const buttons: _EuiThemeButton;
|
|
12459
|
-
|
|
12460
|
-
}
|
|
12461
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12462
|
-
export const forms: {
|
|
12463
|
-
maxWidth: string;
|
|
12464
|
-
LIGHT: {
|
|
12465
|
-
background: string;
|
|
12466
|
-
backgroundDisabled: string;
|
|
12467
|
-
backgroundReadOnly: any;
|
|
12468
|
-
backgroundFocused: any;
|
|
12469
|
-
backgroundAutofilled: string;
|
|
12470
|
-
prependBackground: string;
|
|
12471
|
-
border: string;
|
|
12472
|
-
borderAutofilled: string;
|
|
12473
|
-
controlBorder: string;
|
|
12474
|
-
controlBorderSelected: string;
|
|
12475
|
-
controlBorderDisabled: string;
|
|
12476
|
-
controlBackgroundUnselected: any;
|
|
12477
|
-
controlBackgroundDisabled: any;
|
|
12478
|
-
colorHasPlaceholder: string;
|
|
12479
|
-
colorDisabled: any;
|
|
12480
|
-
iconDisabled: any;
|
|
12481
|
-
};
|
|
12482
|
-
DARK: {
|
|
12483
|
-
background: string;
|
|
12484
|
-
backgroundFocused: string;
|
|
12485
|
-
backgroundAutofilled: string;
|
|
12486
|
-
prependBackground: string;
|
|
12487
|
-
border: string;
|
|
12488
|
-
controlBorder: string;
|
|
12489
|
-
controlBorderSelected: string;
|
|
12490
|
-
controlBorderDisabled: string;
|
|
12491
|
-
backgroundDisabled: string;
|
|
12492
|
-
backgroundReadOnly: any;
|
|
12493
|
-
borderAutofilled: string;
|
|
12494
|
-
controlBackgroundUnselected: any;
|
|
12495
|
-
controlBackgroundDisabled: any;
|
|
12496
|
-
colorHasPlaceholder: string;
|
|
12497
|
-
colorDisabled: any;
|
|
12498
|
-
iconDisabled: any;
|
|
12499
|
-
};
|
|
12500
|
-
};
|
|
12501
|
-
|
|
12502
|
-
}
|
|
12503
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12504
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12505
|
-
export const components: _EuiThemeComponents;
|
|
12506
|
-
|
|
12507
|
-
}
|
|
12508
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12509
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12510
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12511
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12512
|
-
export const EuiThemeAmsterdam: {
|
|
12513
|
-
model: EuiThemeShape;
|
|
12514
|
-
root: EuiThemeShape;
|
|
12515
|
-
key: string;
|
|
12516
|
-
};
|
|
12517
|
-
|
|
12518
12535
|
}
|
|
12519
12536
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12520
12537
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -13271,17 +13288,39 @@ declare module '@elastic/eui/src/components/color_picker/color_picker_swatch.sty
|
|
|
13271
13288
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13272
13289
|
export const euiColorPickerSwatchStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13273
13290
|
euiColorPickerSwatch: import("@emotion/react").SerializedStyles;
|
|
13291
|
+
tooltip: import("@emotion/react").SerializedStyles;
|
|
13274
13292
|
};
|
|
13275
13293
|
|
|
13276
13294
|
}
|
|
13277
13295
|
declare module '@elastic/eui/src/components/color_picker/color_picker_swatch' {
|
|
13278
13296
|
import React, { ButtonHTMLAttributes } from 'react';
|
|
13279
13297
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13298
|
+
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
13280
13299
|
export type EuiColorPickerSwatchProps = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'> & {
|
|
13281
13300
|
color?: string;
|
|
13301
|
+
/**
|
|
13302
|
+
* renders a tooltip with the color value to provide a visual text alternative
|
|
13303
|
+
* @default true
|
|
13304
|
+
*/
|
|
13305
|
+
showToolTip?: boolean;
|
|
13306
|
+
/** Additional props for the EuiToolip when `showToolTip={true}` */
|
|
13307
|
+
toolTipProps?: Omit<EuiToolTipProps, 'children' | 'delay' | 'position'> & {
|
|
13308
|
+
delay?: EuiToolTipProps['delay'];
|
|
13309
|
+
position?: EuiToolTipProps['position'];
|
|
13310
|
+
};
|
|
13282
13311
|
};
|
|
13283
13312
|
export const EuiColorPickerSwatch: React.ForwardRefExoticComponent<CommonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
|
|
13284
13313
|
color?: string | undefined;
|
|
13314
|
+
/**
|
|
13315
|
+
* renders a tooltip with the color value to provide a visual text alternative
|
|
13316
|
+
* @default true
|
|
13317
|
+
*/
|
|
13318
|
+
showToolTip?: boolean | undefined;
|
|
13319
|
+
/** Additional props for the EuiToolip when `showToolTip={true}` */
|
|
13320
|
+
toolTipProps?: (Omit<EuiToolTipProps, "children" | "position" | "delay"> & {
|
|
13321
|
+
delay?: import ("@elastic/eui/src/components/tool_tip/tool_tip").ToolTipDelay | undefined;
|
|
13322
|
+
position?: import ("@elastic/eui/src/components/tool_tip").ToolTipPositions | undefined;
|
|
13323
|
+
}) | undefined;
|
|
13285
13324
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
13286
13325
|
|
|
13287
13326
|
}
|
|
@@ -14399,7 +14438,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14399
14438
|
/**
|
|
14400
14439
|
* Height types
|
|
14401
14440
|
*/
|
|
14402
|
-
getHeightType: (option?: EuiDataGridRowHeightOption | undefined) => "
|
|
14441
|
+
getHeightType: (option?: EuiDataGridRowHeightOption | undefined) => "default" | "auto" | "lineCount" | "numerical";
|
|
14403
14442
|
/**
|
|
14404
14443
|
* Line count utils
|
|
14405
14444
|
*/
|
|
@@ -18198,7 +18237,7 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
|
|
|
18198
18237
|
declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_interval' {
|
|
18199
18238
|
export const usePrettyInterval: (isPaused: boolean, intervalInMs: number, options?: {
|
|
18200
18239
|
shortHand?: boolean | undefined;
|
|
18201
|
-
unit?: "s" | "
|
|
18240
|
+
unit?: "s" | "h" | "m" | "d" | undefined;
|
|
18202
18241
|
} | undefined) => string;
|
|
18203
18242
|
|
|
18204
18243
|
}
|
|
@@ -21490,7 +21529,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21490
21529
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21491
21530
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21492
21531
|
/**
|
|
21493
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21532
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
|
|
21494
21533
|
* Pass `null` to remove all theming including global reset
|
|
21495
21534
|
*/
|
|
21496
21535
|
theme?: EuiThemeSystem | null;
|
|
@@ -22750,13 +22789,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22750
22789
|
slot?: string | undefined;
|
|
22751
22790
|
style?: React.CSSProperties | undefined;
|
|
22752
22791
|
title?: string | undefined;
|
|
22792
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
22753
22793
|
width: number | undefined;
|
|
22754
22794
|
color?: string | undefined;
|
|
22755
22795
|
content?: string | undefined;
|
|
22756
|
-
hidden?: boolean | undefined;
|
|
22757
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
22758
22796
|
translate?: "yes" | "no" | undefined;
|
|
22759
22797
|
property?: string | undefined;
|
|
22798
|
+
hidden?: boolean | undefined;
|
|
22760
22799
|
className?: string | undefined;
|
|
22761
22800
|
defaultChecked?: boolean | undefined;
|
|
22762
22801
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -22798,7 +22837,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22798
22837
|
is?: string | undefined;
|
|
22799
22838
|
"aria-activedescendant"?: string | undefined;
|
|
22800
22839
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
22801
|
-
"aria-autocomplete"?: "
|
|
22840
|
+
"aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
|
|
22802
22841
|
"aria-braillelabel"?: string | undefined;
|
|
22803
22842
|
"aria-brailleroledescription"?: string | undefined;
|
|
22804
22843
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -22813,7 +22852,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22813
22852
|
"aria-description"?: string | undefined;
|
|
22814
22853
|
"aria-details"?: string | undefined;
|
|
22815
22854
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
22816
|
-
"aria-dropeffect"?: "link" | "
|
|
22855
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
22817
22856
|
"aria-errormessage"?: string | undefined;
|
|
22818
22857
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
22819
22858
|
"aria-flowto"?: string | undefined;
|