@elastic/eui 104.1.0 → 104.4.0-amsterdam.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/dist/eui_theme_borealis_dark.json +1 -3
- package/dist/eui_theme_borealis_dark.json.d.ts +1 -3
- package/dist/eui_theme_borealis_light.json +1 -3
- package/dist/eui_theme_borealis_light.json.d.ts +1 -3
- package/es/components/basic_table/in_memory_table.js +2 -18
- package/es/components/code/code.styles.js +1 -1
- package/es/components/code/code_syntax.styles.js +0 -1
- package/es/components/datagrid/controls/column_selector.js +32 -3
- package/es/components/date_picker/date_picker.js +1 -2
- package/es/components/date_picker/date_picker_range.js +16 -18
- package/es/components/date_picker/super_date_picker/super_date_picker.js +9 -5
- package/es/components/form/form_control_layout/form_control_layout_delimited.js +4 -4
- package/es/components/provider/provider.js +2 -2
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/themes/amsterdam/global_styling/variables/_components.js +310 -315
- package/es/themes/json/eui_theme_borealis_dark.json +1 -3
- package/es/themes/json/eui_theme_borealis_light.json +1 -3
- package/eui.d.ts +339 -352
- package/lib/components/basic_table/in_memory_table.js +2 -18
- package/lib/components/code/code.styles.js +1 -1
- package/lib/components/code/code_syntax.styles.js +0 -1
- package/lib/components/datagrid/controls/column_selector.js +32 -3
- package/lib/components/date_picker/date_picker.js +1 -2
- package/lib/components/date_picker/date_picker_range.js +16 -18
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +9 -5
- package/lib/components/form/form_control_layout/form_control_layout_delimited.js +4 -4
- package/lib/components/provider/provider.js +2 -2
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/lib/themes/amsterdam/global_styling/variables/_components.js +310 -315
- package/lib/themes/json/eui_theme_borealis_dark.json +1 -3
- package/lib/themes/json/eui_theme_borealis_light.json +1 -3
- package/optimize/es/components/basic_table/in_memory_table.js +2 -3
- package/optimize/es/components/code/code.styles.js +1 -1
- package/optimize/es/components/code/code_syntax.styles.js +0 -1
- package/optimize/es/components/datagrid/controls/column_selector.js +34 -3
- package/optimize/es/components/date_picker/date_picker.js +1 -2
- package/optimize/es/components/date_picker/date_picker_range.js +14 -16
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +9 -5
- package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.js +2 -2
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +310 -315
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +1 -3
- package/optimize/es/themes/json/eui_theme_borealis_light.json +1 -3
- package/optimize/lib/components/basic_table/in_memory_table.js +2 -3
- package/optimize/lib/components/code/code.styles.js +1 -1
- package/optimize/lib/components/code/code_syntax.styles.js +0 -1
- package/optimize/lib/components/datagrid/controls/column_selector.js +34 -5
- package/optimize/lib/components/date_picker/date_picker.js +1 -2
- package/optimize/lib/components/date_picker/date_picker_range.js +14 -16
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +9 -5
- package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.js +2 -2
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/context.js +2 -2
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +310 -315
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +1 -3
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +1 -3
- package/package.json +4 -4
- package/test-env/components/basic_table/in_memory_table.js +2 -18
- package/test-env/components/code/code.styles.js +1 -1
- package/test-env/components/code/code_syntax.styles.js +0 -1
- package/test-env/components/datagrid/controls/column_selector.js +34 -5
- package/test-env/components/date_picker/date_picker.js +1 -2
- package/test-env/components/date_picker/date_picker_range.js +16 -18
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +9 -5
- package/test-env/components/form/form_control_layout/form_control_layout_delimited.js +4 -4
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/context.js +2 -2
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +310 -315
- package/test-env/themes/json/eui_theme_borealis_dark.json +1 -3
- package/test-env/themes/json/eui_theme_borealis_light.json +1 -3
package/eui.d.ts
CHANGED
|
@@ -171,124 +171,13 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
171
171
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
172
172
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
173
173
|
|
|
174
|
-
}
|
|
175
|
-
declare module '@elastic/eui/src/services/theme/types' {
|
|
176
|
-
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
177
|
-
|
|
178
174
|
}
|
|
179
175
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
180
176
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
181
177
|
|
|
182
178
|
}
|
|
183
|
-
declare module '@elastic/eui/src/services/theme/
|
|
184
|
-
|
|
185
|
-
export const DEFAULTS: {
|
|
186
|
-
system: {
|
|
187
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
188
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
189
|
-
key: string;
|
|
190
|
-
};
|
|
191
|
-
modifications: {};
|
|
192
|
-
colorMode: "LIGHT";
|
|
193
|
-
highContrastMode: false;
|
|
194
|
-
};
|
|
195
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
196
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
197
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
198
|
-
}>>;
|
|
199
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
200
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
201
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
202
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
203
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
207
|
-
type LEVELS = 'log' | 'warn' | 'error';
|
|
208
|
-
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
209
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
210
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
211
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
212
|
-
export {};
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
216
|
-
import React from 'react';
|
|
217
|
-
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
218
|
-
/**
|
|
219
|
-
* Hook for function components
|
|
220
|
-
*/
|
|
221
|
-
export interface UseEuiTheme<T extends {} = {}> {
|
|
222
|
-
euiTheme: EuiThemeComputed<T>;
|
|
223
|
-
colorMode: EuiThemeColorModeStandard;
|
|
224
|
-
highContrastMode: EuiThemeHighContrastMode;
|
|
225
|
-
modifications: EuiThemeModifications<T>;
|
|
226
|
-
}
|
|
227
|
-
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
228
|
-
/**
|
|
229
|
-
* HOC for class components
|
|
230
|
-
*/
|
|
231
|
-
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
232
|
-
theme: UseEuiTheme<P>;
|
|
233
|
-
}
|
|
234
|
-
export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
|
|
235
|
-
/**
|
|
236
|
-
* Render prop alternative for complex class components
|
|
237
|
-
* Most useful for scenarios where a HOC may interfere with typing
|
|
238
|
-
*/
|
|
239
|
-
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
240
|
-
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
241
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
242
|
-
/**
|
|
243
|
-
* Minor syntactical sugar hook for theme CSS variables.
|
|
244
|
-
* Primarily meant for internal EUI usage.
|
|
245
|
-
*/
|
|
246
|
-
export const useEuiThemeCSSVariables: () => {
|
|
247
|
-
setGlobalCSSVariables: Function;
|
|
248
|
-
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
249
|
-
setNearestThemeCSSVariables: Function;
|
|
250
|
-
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
251
|
-
};
|
|
252
|
-
/**
|
|
253
|
-
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
254
|
-
* In case of nested providers this returns the value of the nearest provider context.
|
|
255
|
-
*/
|
|
256
|
-
export const useIsDarkMode: () => boolean;
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
260
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
264
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
265
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
266
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
267
|
-
|
|
268
|
-
}
|
|
269
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
270
|
-
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
271
|
-
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
272
|
-
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
273
|
-
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
274
|
-
/**
|
|
275
|
-
* Returns the current breakpoint based on window width.
|
|
276
|
-
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
277
|
-
* of window resize listeners on the page). Also conditionally called if a
|
|
278
|
-
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
279
|
-
*/
|
|
280
|
-
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
281
|
-
export {};
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
285
|
-
/**
|
|
286
|
-
* Hook util / syntactical sugar for useContext()
|
|
287
|
-
*
|
|
288
|
-
* This hook is in its own separate file to make mocking it
|
|
289
|
-
* as a testenv easy for Jest unit tests
|
|
290
|
-
*/
|
|
291
|
-
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
179
|
+
declare module '@elastic/eui/src/services/theme/types' {
|
|
180
|
+
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
292
181
|
|
|
293
182
|
}
|
|
294
183
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -387,6 +276,10 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
387
276
|
*/
|
|
388
277
|
export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
|
|
389
278
|
|
|
279
|
+
}
|
|
280
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
281
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
282
|
+
|
|
390
283
|
}
|
|
391
284
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
392
285
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -409,6 +302,15 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
409
302
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
410
303
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
411
304
|
|
|
305
|
+
}
|
|
306
|
+
declare module '@elastic/eui/src/services/theme/warning' {
|
|
307
|
+
type LEVELS = 'log' | 'warn' | 'error';
|
|
308
|
+
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
309
|
+
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
310
|
+
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
311
|
+
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
312
|
+
export {};
|
|
313
|
+
|
|
412
314
|
}
|
|
413
315
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
414
316
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -605,6 +507,11 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
605
507
|
*/
|
|
606
508
|
categorical?: boolean): string[];
|
|
607
509
|
|
|
510
|
+
}
|
|
511
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
512
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
513
|
+
export const colorVisLight: _EuiThemeVisColors;
|
|
514
|
+
|
|
608
515
|
}
|
|
609
516
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
610
517
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -1243,7 +1150,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1243
1150
|
*/
|
|
1244
1151
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1245
1152
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1246
|
-
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "
|
|
1153
|
+
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
|
|
1247
1154
|
|
|
1248
1155
|
}
|
|
1249
1156
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1293,6 +1200,12 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1293
1200
|
*/
|
|
1294
1201
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1295
1202
|
|
|
1203
|
+
}
|
|
1204
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1205
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1206
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1207
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1208
|
+
|
|
1296
1209
|
}
|
|
1297
1210
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1298
1211
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -1610,7 +1523,6 @@ declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
|
1610
1523
|
export const euiCodeSyntaxVariables: (euiThemeContext: UseEuiTheme) => {
|
|
1611
1524
|
backgroundColor: string;
|
|
1612
1525
|
color: string;
|
|
1613
|
-
inlineBackgroundColor: string;
|
|
1614
1526
|
inlineCodeColor: string;
|
|
1615
1527
|
selectedBackgroundColor: string;
|
|
1616
1528
|
commentColor: string;
|
|
@@ -3015,7 +2927,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
3015
2927
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
3016
2928
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
3017
2929
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
3018
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
2930
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "push" | "temperature" | "refresh" | "scale" | "wordWrap" | "grid" | "empty" | "invert" | "grab" | "help" | "move" | "spaces" | "dot" | "alert" | "document" | "list" | "email" | "annotation" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "info" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "question" | "quote" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "iInCircle" | "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")[];
|
|
3019
2931
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
3020
2932
|
export type IconType = EuiIconType | string | ComponentType;
|
|
3021
2933
|
export type IconColor = string | NamedColor;
|
|
@@ -5843,7 +5755,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5843
5755
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5844
5756
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5845
5757
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5846
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
5758
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
|
|
5847
5759
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5848
5760
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5849
5761
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6547,11 +6459,11 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
|
|
|
6547
6459
|
/**
|
|
6548
6460
|
* Left side control
|
|
6549
6461
|
*/
|
|
6550
|
-
startControl
|
|
6462
|
+
startControl: ReactElement;
|
|
6551
6463
|
/**
|
|
6552
6464
|
* Right side control
|
|
6553
6465
|
*/
|
|
6554
|
-
endControl
|
|
6466
|
+
endControl: ReactElement;
|
|
6555
6467
|
/**
|
|
6556
6468
|
* The center content. Accepts a string to be wrapped in a subdued EuiText
|
|
6557
6469
|
* or a single ReactElement
|
|
@@ -6953,71 +6865,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6953
6865
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6954
6866
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6955
6867
|
|
|
6956
|
-
}
|
|
6957
|
-
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6958
|
-
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
6959
|
-
/**
|
|
6960
|
-
* Makes a color more transparent.
|
|
6961
|
-
* @param color - Color to manipulate
|
|
6962
|
-
* @param alpha - alpha channel value. From 0-1.
|
|
6963
|
-
*/
|
|
6964
|
-
export const transparentize: (color: string, alpha: number) => string;
|
|
6965
|
-
/**
|
|
6966
|
-
* Mixes a provided color with white.
|
|
6967
|
-
* @param color - Color to mix with white
|
|
6968
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6969
|
-
*/
|
|
6970
|
-
export const tint: (color: string, ratio: number) => string;
|
|
6971
|
-
/**
|
|
6972
|
-
* Mixes a provided color with black.
|
|
6973
|
-
* @param color - Color to mix with black
|
|
6974
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
6975
|
-
*/
|
|
6976
|
-
export const shade: (color: string, ratio: number) => string;
|
|
6977
|
-
/**
|
|
6978
|
-
* Returns the tinted color for light mode and shaded color for dark mode
|
|
6979
|
-
* @param color - Color to mix with white
|
|
6980
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6981
|
-
* @param colorMode - Light or dark only
|
|
6982
|
-
*/
|
|
6983
|
-
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6984
|
-
/**
|
|
6985
|
-
* Returns the shaded color for light mode and tinted color for dark mode
|
|
6986
|
-
* @param color - Color to mix with white
|
|
6987
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6988
|
-
* @param colorMode - Light or dark only
|
|
6989
|
-
*/
|
|
6990
|
-
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6991
|
-
/**
|
|
6992
|
-
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
6993
|
-
* @param color - Color to manipulate
|
|
6994
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
6995
|
-
*/
|
|
6996
|
-
export const saturate: (color: string, amount: number) => string;
|
|
6997
|
-
/**
|
|
6998
|
-
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
6999
|
-
* @param color - Color to manipulate
|
|
7000
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7001
|
-
*/
|
|
7002
|
-
export const desaturate: (color: string, amount: number) => string;
|
|
7003
|
-
/**
|
|
7004
|
-
* Returns the lightness value of a color. 0-100
|
|
7005
|
-
* @param color
|
|
7006
|
-
*/
|
|
7007
|
-
export const lightness: (color: string) => number;
|
|
7008
|
-
/**
|
|
7009
|
-
* Returns the darken value of a color. 0-100
|
|
7010
|
-
* @param color - Color to manipulate
|
|
7011
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7012
|
-
*/
|
|
7013
|
-
export const darken: (color: string, amount: number) => string;
|
|
7014
|
-
/**
|
|
7015
|
-
* Returns the brighten value of a color. 0-100
|
|
7016
|
-
* @param color - Color to manipulate
|
|
7017
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7018
|
-
*/
|
|
7019
|
-
export const brighten: (color: string, amount: number) => string;
|
|
7020
|
-
|
|
7021
6868
|
}
|
|
7022
6869
|
declare module '@elastic/eui/src/services/color/contrast' {
|
|
7023
6870
|
export const wcagContrastMin = 4.5;
|
|
@@ -7121,6 +6968,305 @@ declare module '@elastic/eui/src/services/theme' {
|
|
|
7121
6968
|
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7122
6969
|
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
7123
6970
|
|
|
6971
|
+
}
|
|
6972
|
+
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6973
|
+
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
6974
|
+
/**
|
|
6975
|
+
* Makes a color more transparent.
|
|
6976
|
+
* @param color - Color to manipulate
|
|
6977
|
+
* @param alpha - alpha channel value. From 0-1.
|
|
6978
|
+
*/
|
|
6979
|
+
export const transparentize: (color: string, alpha: number) => string;
|
|
6980
|
+
/**
|
|
6981
|
+
* Mixes a provided color with white.
|
|
6982
|
+
* @param color - Color to mix with white
|
|
6983
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6984
|
+
*/
|
|
6985
|
+
export const tint: (color: string, ratio: number) => string;
|
|
6986
|
+
/**
|
|
6987
|
+
* Mixes a provided color with black.
|
|
6988
|
+
* @param color - Color to mix with black
|
|
6989
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
6990
|
+
*/
|
|
6991
|
+
export const shade: (color: string, ratio: number) => string;
|
|
6992
|
+
/**
|
|
6993
|
+
* Returns the tinted color for light mode and shaded color for dark mode
|
|
6994
|
+
* @param color - Color to mix with white
|
|
6995
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6996
|
+
* @param colorMode - Light or dark only
|
|
6997
|
+
*/
|
|
6998
|
+
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6999
|
+
/**
|
|
7000
|
+
* Returns the shaded color for light mode and tinted color for dark mode
|
|
7001
|
+
* @param color - Color to mix with white
|
|
7002
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
7003
|
+
* @param colorMode - Light or dark only
|
|
7004
|
+
*/
|
|
7005
|
+
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
7006
|
+
/**
|
|
7007
|
+
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
7008
|
+
* @param color - Color to manipulate
|
|
7009
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7010
|
+
*/
|
|
7011
|
+
export const saturate: (color: string, amount: number) => string;
|
|
7012
|
+
/**
|
|
7013
|
+
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
7014
|
+
* @param color - Color to manipulate
|
|
7015
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7016
|
+
*/
|
|
7017
|
+
export const desaturate: (color: string, amount: number) => string;
|
|
7018
|
+
/**
|
|
7019
|
+
* Returns the lightness value of a color. 0-100
|
|
7020
|
+
* @param color
|
|
7021
|
+
*/
|
|
7022
|
+
export const lightness: (color: string) => number;
|
|
7023
|
+
/**
|
|
7024
|
+
* Returns the darken value of a color. 0-100
|
|
7025
|
+
* @param color - Color to manipulate
|
|
7026
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7027
|
+
*/
|
|
7028
|
+
export const darken: (color: string, amount: number) => string;
|
|
7029
|
+
/**
|
|
7030
|
+
* Returns the brighten value of a color. 0-100
|
|
7031
|
+
* @param color - Color to manipulate
|
|
7032
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7033
|
+
*/
|
|
7034
|
+
export const brighten: (color: string, amount: number) => string;
|
|
7035
|
+
|
|
7036
|
+
}
|
|
7037
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
7038
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
7039
|
+
export const colorVisDark: _EuiThemeVisColors;
|
|
7040
|
+
|
|
7041
|
+
}
|
|
7042
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
7043
|
+
/**
|
|
7044
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
7045
|
+
* They are mapped to other vis colors
|
|
7046
|
+
*/
|
|
7047
|
+
export const severityColors: {
|
|
7048
|
+
unknown: string;
|
|
7049
|
+
neutral: string;
|
|
7050
|
+
success: string;
|
|
7051
|
+
warning: string;
|
|
7052
|
+
risk: string;
|
|
7053
|
+
danger: string;
|
|
7054
|
+
};
|
|
7055
|
+
|
|
7056
|
+
}
|
|
7057
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
7058
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
7059
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
7060
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
7061
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
7062
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
7063
|
+
export const text_colors: _EuiThemeTextColors;
|
|
7064
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
7065
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7066
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
7067
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
7068
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
7069
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
7070
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7071
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
7072
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
7073
|
+
export const colors: _EuiThemeColors;
|
|
7074
|
+
|
|
7075
|
+
}
|
|
7076
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
7077
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
7078
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
7079
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
7080
|
+
export const animation: _EuiThemeAnimation;
|
|
7081
|
+
|
|
7082
|
+
}
|
|
7083
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
7084
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
7085
|
+
|
|
7086
|
+
}
|
|
7087
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
7088
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
7089
|
+
export const base: _EuiThemeBase;
|
|
7090
|
+
export const size: _EuiThemeSizes;
|
|
7091
|
+
|
|
7092
|
+
}
|
|
7093
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
7094
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
7095
|
+
export const border: _EuiThemeBorder;
|
|
7096
|
+
|
|
7097
|
+
}
|
|
7098
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
7099
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
7100
|
+
export const levels: _EuiThemeLevels;
|
|
7101
|
+
|
|
7102
|
+
}
|
|
7103
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
7104
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
7105
|
+
export const fontScale: _EuiThemeFontScales;
|
|
7106
|
+
export const fontBase: _EuiThemeFontBase;
|
|
7107
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
7108
|
+
export const font: _EuiThemeFont;
|
|
7109
|
+
|
|
7110
|
+
}
|
|
7111
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
7112
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
7113
|
+
export const focus: _EuiThemeFocus;
|
|
7114
|
+
|
|
7115
|
+
}
|
|
7116
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7117
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7118
|
+
export const buttons: _EuiThemeButton;
|
|
7119
|
+
|
|
7120
|
+
}
|
|
7121
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7122
|
+
export const forms: {
|
|
7123
|
+
maxWidth: string;
|
|
7124
|
+
LIGHT: {
|
|
7125
|
+
background: string;
|
|
7126
|
+
backgroundDisabled: string;
|
|
7127
|
+
backgroundReadOnly: any;
|
|
7128
|
+
backgroundFocused: any;
|
|
7129
|
+
backgroundAutofilled: string;
|
|
7130
|
+
prependBackground: string;
|
|
7131
|
+
border: string;
|
|
7132
|
+
borderAutofilled: string;
|
|
7133
|
+
controlBorder: string;
|
|
7134
|
+
controlBorderSelected: string;
|
|
7135
|
+
controlBorderDisabled: string;
|
|
7136
|
+
controlBackgroundUnselected: any;
|
|
7137
|
+
controlBackgroundDisabled: any;
|
|
7138
|
+
colorHasPlaceholder: string;
|
|
7139
|
+
colorDisabled: any;
|
|
7140
|
+
iconDisabled: any;
|
|
7141
|
+
};
|
|
7142
|
+
DARK: {
|
|
7143
|
+
background: string;
|
|
7144
|
+
backgroundFocused: string;
|
|
7145
|
+
backgroundAutofilled: string;
|
|
7146
|
+
prependBackground: string;
|
|
7147
|
+
border: string;
|
|
7148
|
+
controlBorder: string;
|
|
7149
|
+
controlBorderSelected: string;
|
|
7150
|
+
controlBorderDisabled: string;
|
|
7151
|
+
backgroundDisabled: string;
|
|
7152
|
+
backgroundReadOnly: any;
|
|
7153
|
+
borderAutofilled: string;
|
|
7154
|
+
controlBackgroundUnselected: any;
|
|
7155
|
+
controlBackgroundDisabled: any;
|
|
7156
|
+
colorHasPlaceholder: string;
|
|
7157
|
+
colorDisabled: any;
|
|
7158
|
+
iconDisabled: any;
|
|
7159
|
+
};
|
|
7160
|
+
};
|
|
7161
|
+
|
|
7162
|
+
}
|
|
7163
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
7164
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
7165
|
+
export const components: _EuiThemeComponents;
|
|
7166
|
+
|
|
7167
|
+
}
|
|
7168
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
7169
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
7170
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
7171
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
7172
|
+
export const EuiThemeAmsterdam: {
|
|
7173
|
+
model: EuiThemeShape;
|
|
7174
|
+
root: EuiThemeShape;
|
|
7175
|
+
key: string;
|
|
7176
|
+
};
|
|
7177
|
+
|
|
7178
|
+
}
|
|
7179
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
7180
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7181
|
+
export const DEFAULTS: {
|
|
7182
|
+
system: {
|
|
7183
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7184
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7185
|
+
key: string;
|
|
7186
|
+
};
|
|
7187
|
+
modifications: {};
|
|
7188
|
+
colorMode: "LIGHT";
|
|
7189
|
+
highContrastMode: false;
|
|
7190
|
+
};
|
|
7191
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
7192
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
7193
|
+
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
7194
|
+
}>>;
|
|
7195
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7196
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7197
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7198
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
7199
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7200
|
+
|
|
7201
|
+
}
|
|
7202
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
7203
|
+
import React from 'react';
|
|
7204
|
+
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
7205
|
+
/**
|
|
7206
|
+
* Hook for function components
|
|
7207
|
+
*/
|
|
7208
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
7209
|
+
euiTheme: EuiThemeComputed<T>;
|
|
7210
|
+
colorMode: EuiThemeColorModeStandard;
|
|
7211
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
7212
|
+
modifications: EuiThemeModifications<T>;
|
|
7213
|
+
}
|
|
7214
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
7215
|
+
/**
|
|
7216
|
+
* HOC for class components
|
|
7217
|
+
*/
|
|
7218
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
7219
|
+
theme: UseEuiTheme<P>;
|
|
7220
|
+
}
|
|
7221
|
+
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">>>;
|
|
7222
|
+
/**
|
|
7223
|
+
* Render prop alternative for complex class components
|
|
7224
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
7225
|
+
*/
|
|
7226
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
7227
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
7228
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7229
|
+
/**
|
|
7230
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
7231
|
+
* Primarily meant for internal EUI usage.
|
|
7232
|
+
*/
|
|
7233
|
+
export const useEuiThemeCSSVariables: () => {
|
|
7234
|
+
setGlobalCSSVariables: Function;
|
|
7235
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7236
|
+
setNearestThemeCSSVariables: Function;
|
|
7237
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7238
|
+
};
|
|
7239
|
+
/**
|
|
7240
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
7241
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
7242
|
+
*/
|
|
7243
|
+
export const useIsDarkMode: () => boolean;
|
|
7244
|
+
|
|
7245
|
+
}
|
|
7246
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
7247
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
7248
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
7249
|
+
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
7250
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
7251
|
+
/**
|
|
7252
|
+
* Returns the current breakpoint based on window width.
|
|
7253
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
7254
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
7255
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
7256
|
+
*/
|
|
7257
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
7258
|
+
export {};
|
|
7259
|
+
|
|
7260
|
+
}
|
|
7261
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
7262
|
+
/**
|
|
7263
|
+
* Hook util / syntactical sugar for useContext()
|
|
7264
|
+
*
|
|
7265
|
+
* This hook is in its own separate file to make mocking it
|
|
7266
|
+
* as a testenv easy for Jest unit tests
|
|
7267
|
+
*/
|
|
7268
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
7269
|
+
|
|
7124
7270
|
}
|
|
7125
7271
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
7126
7272
|
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
@@ -12563,16 +12709,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12563
12709
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12564
12710
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12565
12711
|
|
|
12566
|
-
}
|
|
12567
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
12568
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12569
|
-
export const colorVisLight: _EuiThemeVisColors;
|
|
12570
|
-
|
|
12571
|
-
}
|
|
12572
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
12573
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12574
|
-
export const colorVisDark: _EuiThemeVisColors;
|
|
12575
|
-
|
|
12576
12712
|
}
|
|
12577
12713
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12578
12714
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12582,143 +12718,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12582
12718
|
provider?: EuiThemeSystem;
|
|
12583
12719
|
}
|
|
12584
12720
|
|
|
12585
|
-
}
|
|
12586
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12587
|
-
/**
|
|
12588
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
12589
|
-
* They are mapped to other vis colors
|
|
12590
|
-
*/
|
|
12591
|
-
export const severityColors: {
|
|
12592
|
-
unknown: string;
|
|
12593
|
-
neutral: string;
|
|
12594
|
-
success: string;
|
|
12595
|
-
warning: string;
|
|
12596
|
-
risk: string;
|
|
12597
|
-
danger: string;
|
|
12598
|
-
};
|
|
12599
|
-
|
|
12600
|
-
}
|
|
12601
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12602
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12603
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
12604
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12605
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
12606
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
12607
|
-
export const text_colors: _EuiThemeTextColors;
|
|
12608
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
12609
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12610
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
12611
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
12612
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
12613
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12614
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12615
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12616
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12617
|
-
export const colors: _EuiThemeColors;
|
|
12618
|
-
|
|
12619
|
-
}
|
|
12620
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12621
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12622
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12623
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12624
|
-
export const animation: _EuiThemeAnimation;
|
|
12625
|
-
|
|
12626
|
-
}
|
|
12627
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12628
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12629
|
-
|
|
12630
|
-
}
|
|
12631
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12632
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12633
|
-
export const base: _EuiThemeBase;
|
|
12634
|
-
export const size: _EuiThemeSizes;
|
|
12635
|
-
|
|
12636
|
-
}
|
|
12637
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12638
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12639
|
-
export const border: _EuiThemeBorder;
|
|
12640
|
-
|
|
12641
|
-
}
|
|
12642
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12643
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12644
|
-
export const levels: _EuiThemeLevels;
|
|
12645
|
-
|
|
12646
|
-
}
|
|
12647
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12648
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12649
|
-
export const fontScale: _EuiThemeFontScales;
|
|
12650
|
-
export const fontBase: _EuiThemeFontBase;
|
|
12651
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
12652
|
-
export const font: _EuiThemeFont;
|
|
12653
|
-
|
|
12654
|
-
}
|
|
12655
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12656
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12657
|
-
export const focus: _EuiThemeFocus;
|
|
12658
|
-
|
|
12659
|
-
}
|
|
12660
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12661
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12662
|
-
export const buttons: _EuiThemeButton;
|
|
12663
|
-
|
|
12664
|
-
}
|
|
12665
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12666
|
-
export const forms: {
|
|
12667
|
-
maxWidth: string;
|
|
12668
|
-
LIGHT: {
|
|
12669
|
-
background: string;
|
|
12670
|
-
backgroundDisabled: string;
|
|
12671
|
-
backgroundReadOnly: any;
|
|
12672
|
-
backgroundFocused: any;
|
|
12673
|
-
backgroundAutofilled: string;
|
|
12674
|
-
prependBackground: string;
|
|
12675
|
-
border: string;
|
|
12676
|
-
borderAutofilled: string;
|
|
12677
|
-
controlBorder: string;
|
|
12678
|
-
controlBorderSelected: string;
|
|
12679
|
-
controlBorderDisabled: string;
|
|
12680
|
-
controlBackgroundUnselected: any;
|
|
12681
|
-
controlBackgroundDisabled: any;
|
|
12682
|
-
colorHasPlaceholder: string;
|
|
12683
|
-
colorDisabled: any;
|
|
12684
|
-
iconDisabled: any;
|
|
12685
|
-
};
|
|
12686
|
-
DARK: {
|
|
12687
|
-
background: string;
|
|
12688
|
-
backgroundFocused: string;
|
|
12689
|
-
backgroundAutofilled: string;
|
|
12690
|
-
prependBackground: string;
|
|
12691
|
-
border: string;
|
|
12692
|
-
controlBorder: string;
|
|
12693
|
-
controlBorderSelected: string;
|
|
12694
|
-
controlBorderDisabled: string;
|
|
12695
|
-
backgroundDisabled: string;
|
|
12696
|
-
backgroundReadOnly: any;
|
|
12697
|
-
borderAutofilled: string;
|
|
12698
|
-
controlBackgroundUnselected: any;
|
|
12699
|
-
controlBackgroundDisabled: any;
|
|
12700
|
-
colorHasPlaceholder: string;
|
|
12701
|
-
colorDisabled: any;
|
|
12702
|
-
iconDisabled: any;
|
|
12703
|
-
};
|
|
12704
|
-
};
|
|
12705
|
-
|
|
12706
|
-
}
|
|
12707
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12708
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12709
|
-
export const components: _EuiThemeComponents;
|
|
12710
|
-
|
|
12711
|
-
}
|
|
12712
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12713
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12714
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12715
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12716
|
-
export const EuiThemeAmsterdam: {
|
|
12717
|
-
model: EuiThemeShape;
|
|
12718
|
-
root: EuiThemeShape;
|
|
12719
|
-
key: string;
|
|
12720
|
-
};
|
|
12721
|
-
|
|
12722
12721
|
}
|
|
12723
12722
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12724
12723
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14656,7 +14655,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14656
14655
|
/**
|
|
14657
14656
|
* Height types
|
|
14658
14657
|
*/
|
|
14659
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14658
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
|
|
14660
14659
|
/**
|
|
14661
14660
|
* Line count utils
|
|
14662
14661
|
*/
|
|
@@ -18335,7 +18334,7 @@ declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
|
18335
18334
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
18336
18335
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18337
18336
|
import { EuiDatePickerProps } from '@elastic/eui/src/components/date_picker/date_picker';
|
|
18338
|
-
export type EuiDatePickerRangeProps = CommonProps & Pick<EuiFormControlLayoutDelimitedProps, 'isLoading' | 'isInvalid' | 'readOnly' | 'fullWidth' | 'compressed' | 'prepend' | 'append'
|
|
18337
|
+
export type EuiDatePickerRangeProps = CommonProps & Pick<EuiFormControlLayoutDelimitedProps, 'isLoading' | 'isInvalid' | 'readOnly' | 'fullWidth' | 'compressed' | 'prepend' | 'append'> & {
|
|
18339
18338
|
/**
|
|
18340
18339
|
* Including any children will replace all innards with the provided children
|
|
18341
18340
|
*/
|
|
@@ -18343,11 +18342,11 @@ declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
|
18343
18342
|
/**
|
|
18344
18343
|
* The end date `EuiDatePicker` element
|
|
18345
18344
|
*/
|
|
18346
|
-
endDateControl
|
|
18345
|
+
endDateControl: ReactElement;
|
|
18347
18346
|
/**
|
|
18348
18347
|
* The start date `EuiDatePicker` element
|
|
18349
18348
|
*/
|
|
18350
|
-
startDateControl
|
|
18349
|
+
startDateControl: ReactElement;
|
|
18351
18350
|
/**
|
|
18352
18351
|
* Pass either an icon type or set to `false` to remove icon entirely
|
|
18353
18352
|
*/
|
|
@@ -21845,7 +21844,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21845
21844
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21846
21845
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21847
21846
|
/**
|
|
21848
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21847
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
|
|
21849
21848
|
* Pass `null` to remove all theming including global reset
|
|
21850
21849
|
*/
|
|
21851
21850
|
theme?: EuiThemeSystem | null;
|
|
@@ -23104,13 +23103,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23104
23103
|
slot?: string | undefined;
|
|
23105
23104
|
style?: CSSProperties | undefined;
|
|
23106
23105
|
title?: string | undefined;
|
|
23106
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23107
23107
|
width: number;
|
|
23108
23108
|
color?: string | undefined;
|
|
23109
23109
|
content?: string | undefined;
|
|
23110
|
-
hidden?: boolean | undefined;
|
|
23111
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23112
23110
|
translate?: "yes" | "no" | undefined;
|
|
23113
23111
|
property?: string | undefined;
|
|
23112
|
+
hidden?: boolean | undefined;
|
|
23114
23113
|
className?: string | undefined;
|
|
23115
23114
|
defaultChecked?: boolean | undefined;
|
|
23116
23115
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -25049,15 +25048,7 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
25049
25048
|
}
|
|
25050
25049
|
type Sorting = boolean | SortingOptions;
|
|
25051
25050
|
type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
|
|
25052
|
-
/**
|
|
25053
|
-
* Message to display if table is empty
|
|
25054
|
-
* @deprecated Use `noItemsMessage` instead.
|
|
25055
|
-
*/
|
|
25056
25051
|
message?: ReactNode;
|
|
25057
|
-
/**
|
|
25058
|
-
* Message to display if table is empty
|
|
25059
|
-
*/
|
|
25060
|
-
noItemsMessage?: ReactNode;
|
|
25061
25052
|
/**
|
|
25062
25053
|
* Configures {@link Search}.
|
|
25063
25054
|
*/
|
|
@@ -32372,7 +32363,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32372
32363
|
};
|
|
32373
32364
|
export default sassVariables;
|
|
32374
32365
|
}
|
|
32375
|
-
declare module '@elastic/eui/
|
|
32366
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_dark.json' {
|
|
32376
32367
|
const sassVariables: {
|
|
32377
32368
|
euiZDataGrid: number;
|
|
32378
32369
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -32752,7 +32743,6 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32752
32743
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
32753
32744
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
32754
32745
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
32755
|
-
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
32756
32746
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
32757
32747
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
32758
32748
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -32796,11 +32786,10 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32796
32786
|
euiColorBorderStrongWarning: string;
|
|
32797
32787
|
euiColorBorderStrongRisk: string;
|
|
32798
32788
|
euiColorBorderStrongDanger: string;
|
|
32799
|
-
euiColorBorderStrongText: string;
|
|
32800
32789
|
};
|
|
32801
32790
|
export default sassVariables;
|
|
32802
32791
|
}
|
|
32803
|
-
declare module '@elastic/eui/
|
|
32792
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
|
|
32804
32793
|
const sassVariables: {
|
|
32805
32794
|
euiZDataGrid: number;
|
|
32806
32795
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -33180,7 +33169,6 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
|
33180
33169
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
33181
33170
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
33182
33171
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
33183
|
-
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
33184
33172
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
33185
33173
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
33186
33174
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -33224,7 +33212,6 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
|
33224
33212
|
euiColorBorderStrongWarning: string;
|
|
33225
33213
|
euiColorBorderStrongRisk: string;
|
|
33226
33214
|
euiColorBorderStrongDanger: string;
|
|
33227
|
-
euiColorBorderStrongText: string;
|
|
33228
33215
|
};
|
|
33229
33216
|
export default sassVariables;
|
|
33230
33217
|
}
|