@elastic/eui 103.1.0 → 104.0.0-amsterdam.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_amsterdam_dark.json +13 -15
- package/dist/eui_theme_amsterdam_dark.json.d.ts +12 -14
- package/dist/eui_theme_amsterdam_light.json +14 -16
- package/dist/eui_theme_amsterdam_light.json.d.ts +12 -14
- package/dist/eui_theme_borealis_dark.json +10 -14
- package/dist/eui_theme_borealis_dark.json.d.ts +11 -15
- package/dist/eui_theme_borealis_light.json +10 -14
- package/dist/eui_theme_borealis_light.json.d.ts +11 -15
- package/es/components/copy/copy.js +6 -8
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/es/components/datagrid/data_grid.styles.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -2
- package/es/components/provider/provider.js +2 -2
- package/es/components/table/table_row.js +1 -1
- package/es/components/tabs/tab.styles.js +1 -4
- package/es/components/tabs/tabs.js +1 -2
- package/es/components/tabs/tabs.styles.js +1 -2
- package/es/services/color/eui_palettes.js +6 -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/_colors.js +325 -301
- package/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +33 -0
- package/es/themes/amsterdam/global_styling/variables/{_colors_vis.js → _colors_vis_light.js} +16 -16
- package/es/themes/amsterdam/global_styling/variables/_components.js +293 -258
- package/es/themes/index.js +3 -1
- package/es/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/es/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/es/themes/json/eui_theme_borealis_dark.json +10 -14
- package/es/themes/json/eui_theme_borealis_light.json +10 -14
- package/eui.d.ts +391 -392
- package/lib/components/copy/copy.js +6 -8
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/lib/components/datagrid/data_grid.styles.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -2
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/table/table_row.js +1 -1
- package/lib/components/tabs/tab.styles.js +1 -4
- package/lib/components/tabs/tabs.js +1 -2
- package/lib/components/tabs/tabs.styles.js +1 -2
- package/lib/services/color/eui_palettes.js +6 -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/_colors.js +325 -301
- package/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +37 -0
- package/{test-env/themes/amsterdam/global_styling/variables/_colors_vis.js → lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/lib/themes/index.js +17 -2
- package/lib/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/lib/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/lib/themes/json/eui_theme_borealis_dark.json +10 -14
- package/lib/themes/json/eui_theme_borealis_light.json +10 -14
- package/optimize/es/components/copy/copy.js +2 -7
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/optimize/es/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/es/components/page/page_header/page_header_content.js +1 -2
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/table/table_row.js +1 -1
- package/optimize/es/components/tabs/tab.styles.js +1 -4
- package/optimize/es/components/tabs/tabs.js +1 -1
- package/optimize/es/components/tabs/tabs.styles.js +1 -2
- package/optimize/es/services/color/eui_palettes.js +6 -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/_colors.js +325 -301
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +30 -0
- package/optimize/es/themes/amsterdam/global_styling/variables/{_colors_vis.js → _colors_vis_light.js} +16 -16
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +293 -258
- package/optimize/es/themes/index.js +3 -1
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +10 -14
- package/optimize/es/themes/json/eui_theme_borealis_light.json +10 -14
- package/optimize/lib/components/copy/copy.js +2 -7
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/optimize/lib/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/lib/components/page/page_header/page_header_content.js +1 -2
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/table/table_row.js +1 -1
- package/optimize/lib/components/tabs/tab.styles.js +1 -4
- package/optimize/lib/components/tabs/tabs.js +1 -1
- package/optimize/lib/components/tabs/tabs.styles.js +1 -2
- package/optimize/lib/services/color/eui_palettes.js +6 -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/_colors.js +325 -301
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +35 -0
- package/{lib/themes/amsterdam/global_styling/variables/_colors_vis.js → optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/optimize/lib/themes/index.js +17 -2
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +10 -14
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +10 -14
- package/package.json +4 -4
- package/src/themes/amsterdam/_colors_dark.scss +2 -0
- package/src/themes/amsterdam/_colors_light.scss +2 -0
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_dark.scss +14 -0
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_light.scss +14 -0
- package/test-env/components/copy/copy.js +6 -7
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/test-env/components/datagrid/data_grid.styles.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -2
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/table/table_row.js +1 -1
- package/test-env/components/tabs/tab.styles.js +1 -4
- package/test-env/components/tabs/tabs.js +1 -2
- package/test-env/components/tabs/tabs.styles.js +1 -2
- package/test-env/services/color/eui_palettes.js +6 -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/_colors.js +325 -301
- package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +35 -0
- package/{optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js → test-env/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/test-env/themes/index.js +17 -2
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/test-env/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/test-env/themes/json/eui_theme_borealis_dark.json +10 -14
- package/test-env/themes/json/eui_theme_borealis_light.json +10 -14
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';
|
|
@@ -669,11 +576,15 @@ declare module '@elastic/eui/src/services/color/eui_palettes' {
|
|
|
669
576
|
*/
|
|
670
577
|
export const euiPaletteColorBlindBehindText: (paletteProps?: EuiPaletteColorBlindProps) => string[];
|
|
671
578
|
/**
|
|
579
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
580
|
+
*
|
|
672
581
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
673
582
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
674
583
|
*/
|
|
675
584
|
export const euiPaletteForLightBackground: ({ colors, }?: EuiPaletteCommonProps) => EuiPalette;
|
|
676
585
|
/**
|
|
586
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
587
|
+
*
|
|
677
588
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
678
589
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
679
590
|
*/
|
|
@@ -1239,7 +1150,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1239
1150
|
*/
|
|
1240
1151
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1241
1152
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1242
|
-
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "
|
|
1153
|
+
export const useEuiPaddingCSS: (side?: LogicalSides) => Record<"s" | "none" | "xs" | "m" | "l" | "xl", SerializedStyles>;
|
|
1243
1154
|
|
|
1244
1155
|
}
|
|
1245
1156
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1289,6 +1200,12 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1289
1200
|
*/
|
|
1290
1201
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1291
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
|
+
|
|
1292
1209
|
}
|
|
1293
1210
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1294
1211
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -3010,7 +2927,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
3010
2927
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
3011
2928
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
3012
2929
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
3013
|
-
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")[];
|
|
3014
2931
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
3015
2932
|
export type IconType = EuiIconType | string | ComponentType;
|
|
3016
2933
|
export type IconColor = string | NamedColor;
|
|
@@ -5838,7 +5755,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5838
5755
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5839
5756
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5840
5757
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5841
|
-
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")[];
|
|
5842
5759
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5843
5760
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5844
5761
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6948,71 +6865,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6948
6865
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6949
6866
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6950
6867
|
|
|
6951
|
-
}
|
|
6952
|
-
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6953
|
-
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
6954
|
-
/**
|
|
6955
|
-
* Makes a color more transparent.
|
|
6956
|
-
* @param color - Color to manipulate
|
|
6957
|
-
* @param alpha - alpha channel value. From 0-1.
|
|
6958
|
-
*/
|
|
6959
|
-
export const transparentize: (color: string, alpha: number) => string;
|
|
6960
|
-
/**
|
|
6961
|
-
* Mixes a provided color with white.
|
|
6962
|
-
* @param color - Color to mix with white
|
|
6963
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6964
|
-
*/
|
|
6965
|
-
export const tint: (color: string, ratio: number) => string;
|
|
6966
|
-
/**
|
|
6967
|
-
* Mixes a provided color with black.
|
|
6968
|
-
* @param color - Color to mix with black
|
|
6969
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
6970
|
-
*/
|
|
6971
|
-
export const shade: (color: string, ratio: number) => string;
|
|
6972
|
-
/**
|
|
6973
|
-
* Returns the tinted color for light mode and shaded color for dark mode
|
|
6974
|
-
* @param color - Color to mix with white
|
|
6975
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6976
|
-
* @param colorMode - Light or dark only
|
|
6977
|
-
*/
|
|
6978
|
-
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6979
|
-
/**
|
|
6980
|
-
* Returns the shaded color for light mode and tinted color for dark mode
|
|
6981
|
-
* @param color - Color to mix with white
|
|
6982
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6983
|
-
* @param colorMode - Light or dark only
|
|
6984
|
-
*/
|
|
6985
|
-
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6986
|
-
/**
|
|
6987
|
-
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
6988
|
-
* @param color - Color to manipulate
|
|
6989
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
6990
|
-
*/
|
|
6991
|
-
export const saturate: (color: string, amount: number) => string;
|
|
6992
|
-
/**
|
|
6993
|
-
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
6994
|
-
* @param color - Color to manipulate
|
|
6995
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
6996
|
-
*/
|
|
6997
|
-
export const desaturate: (color: string, amount: number) => string;
|
|
6998
|
-
/**
|
|
6999
|
-
* Returns the lightness value of a color. 0-100
|
|
7000
|
-
* @param color
|
|
7001
|
-
*/
|
|
7002
|
-
export const lightness: (color: string) => number;
|
|
7003
|
-
/**
|
|
7004
|
-
* Returns the darken value of a color. 0-100
|
|
7005
|
-
* @param color - Color to manipulate
|
|
7006
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7007
|
-
*/
|
|
7008
|
-
export const darken: (color: string, amount: number) => string;
|
|
7009
|
-
/**
|
|
7010
|
-
* Returns the brighten value of a color. 0-100
|
|
7011
|
-
* @param color - Color to manipulate
|
|
7012
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7013
|
-
*/
|
|
7014
|
-
export const brighten: (color: string, amount: number) => string;
|
|
7015
|
-
|
|
7016
6868
|
}
|
|
7017
6869
|
declare module '@elastic/eui/src/services/color/contrast' {
|
|
7018
6870
|
export const wcagContrastMin = 4.5;
|
|
@@ -7116,6 +6968,305 @@ declare module '@elastic/eui/src/services/theme' {
|
|
|
7116
6968
|
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7117
6969
|
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
7118
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
|
+
|
|
7119
7270
|
}
|
|
7120
7271
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
7121
7272
|
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
@@ -11221,7 +11372,7 @@ declare module '@elastic/eui/src/components/copy/copy' {
|
|
|
11221
11372
|
import React, { Component, ReactElement, ReactNode } from 'react';
|
|
11222
11373
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
11223
11374
|
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
11224
|
-
export interface EuiCopyProps extends CommonProps
|
|
11375
|
+
export interface EuiCopyProps extends CommonProps {
|
|
11225
11376
|
/**
|
|
11226
11377
|
* Text that will be copied to clipboard when copy function is executed.
|
|
11227
11378
|
*/
|
|
@@ -11240,6 +11391,10 @@ declare module '@elastic/eui/src/components/copy/copy' {
|
|
|
11240
11391
|
* Use your own logic to create the component that users interact with when triggering copy.
|
|
11241
11392
|
*/
|
|
11242
11393
|
children(copy: () => void): ReactElement;
|
|
11394
|
+
/**
|
|
11395
|
+
* Optional props to pass to the EuiToolTip component.
|
|
11396
|
+
*/
|
|
11397
|
+
tooltipProps?: Partial<Omit<EuiToolTipProps, 'children' | 'content' | 'onMouseOut'>>;
|
|
11243
11398
|
}
|
|
11244
11399
|
interface EuiCopyState {
|
|
11245
11400
|
tooltipText: ReactNode;
|
|
@@ -12554,11 +12709,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12554
12709
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12555
12710
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12556
12711
|
|
|
12557
|
-
}
|
|
12558
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12559
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12560
|
-
export const colorVis: _EuiThemeVisColors;
|
|
12561
|
-
|
|
12562
12712
|
}
|
|
12563
12713
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12564
12714
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12568,143 +12718,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12568
12718
|
provider?: EuiThemeSystem;
|
|
12569
12719
|
}
|
|
12570
12720
|
|
|
12571
|
-
}
|
|
12572
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12573
|
-
/**
|
|
12574
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
12575
|
-
* They are mapped to other vis colors
|
|
12576
|
-
*/
|
|
12577
|
-
export const severityColors: {
|
|
12578
|
-
unknown: string;
|
|
12579
|
-
neutral: string;
|
|
12580
|
-
success: string;
|
|
12581
|
-
warning: string;
|
|
12582
|
-
risk: string;
|
|
12583
|
-
danger: string;
|
|
12584
|
-
};
|
|
12585
|
-
|
|
12586
|
-
}
|
|
12587
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12588
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12589
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
12590
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12591
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
12592
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
12593
|
-
export const text_colors: _EuiThemeTextColors;
|
|
12594
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
12595
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12596
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
12597
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
12598
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
12599
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12600
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12601
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12602
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12603
|
-
export const colors: _EuiThemeColors;
|
|
12604
|
-
|
|
12605
|
-
}
|
|
12606
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12607
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12608
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12609
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12610
|
-
export const animation: _EuiThemeAnimation;
|
|
12611
|
-
|
|
12612
|
-
}
|
|
12613
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12614
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12615
|
-
|
|
12616
|
-
}
|
|
12617
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12618
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12619
|
-
export const base: _EuiThemeBase;
|
|
12620
|
-
export const size: _EuiThemeSizes;
|
|
12621
|
-
|
|
12622
|
-
}
|
|
12623
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12624
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12625
|
-
export const border: _EuiThemeBorder;
|
|
12626
|
-
|
|
12627
|
-
}
|
|
12628
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12629
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12630
|
-
export const levels: _EuiThemeLevels;
|
|
12631
|
-
|
|
12632
|
-
}
|
|
12633
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12634
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12635
|
-
export const fontScale: _EuiThemeFontScales;
|
|
12636
|
-
export const fontBase: _EuiThemeFontBase;
|
|
12637
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
12638
|
-
export const font: _EuiThemeFont;
|
|
12639
|
-
|
|
12640
|
-
}
|
|
12641
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12642
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12643
|
-
export const focus: _EuiThemeFocus;
|
|
12644
|
-
|
|
12645
|
-
}
|
|
12646
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12647
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12648
|
-
export const buttons: _EuiThemeButton;
|
|
12649
|
-
|
|
12650
|
-
}
|
|
12651
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12652
|
-
export const forms: {
|
|
12653
|
-
maxWidth: string;
|
|
12654
|
-
LIGHT: {
|
|
12655
|
-
background: string;
|
|
12656
|
-
backgroundDisabled: string;
|
|
12657
|
-
backgroundReadOnly: any;
|
|
12658
|
-
backgroundFocused: any;
|
|
12659
|
-
backgroundAutofilled: string;
|
|
12660
|
-
prependBackground: string;
|
|
12661
|
-
border: string;
|
|
12662
|
-
borderAutofilled: string;
|
|
12663
|
-
controlBorder: string;
|
|
12664
|
-
controlBorderSelected: string;
|
|
12665
|
-
controlBorderDisabled: string;
|
|
12666
|
-
controlBackgroundUnselected: any;
|
|
12667
|
-
controlBackgroundDisabled: any;
|
|
12668
|
-
colorHasPlaceholder: string;
|
|
12669
|
-
colorDisabled: any;
|
|
12670
|
-
iconDisabled: any;
|
|
12671
|
-
};
|
|
12672
|
-
DARK: {
|
|
12673
|
-
background: string;
|
|
12674
|
-
backgroundFocused: string;
|
|
12675
|
-
backgroundAutofilled: string;
|
|
12676
|
-
prependBackground: string;
|
|
12677
|
-
border: string;
|
|
12678
|
-
controlBorder: string;
|
|
12679
|
-
controlBorderSelected: string;
|
|
12680
|
-
controlBorderDisabled: string;
|
|
12681
|
-
backgroundDisabled: string;
|
|
12682
|
-
backgroundReadOnly: any;
|
|
12683
|
-
borderAutofilled: string;
|
|
12684
|
-
controlBackgroundUnselected: any;
|
|
12685
|
-
controlBackgroundDisabled: any;
|
|
12686
|
-
colorHasPlaceholder: string;
|
|
12687
|
-
colorDisabled: any;
|
|
12688
|
-
iconDisabled: any;
|
|
12689
|
-
};
|
|
12690
|
-
};
|
|
12691
|
-
|
|
12692
|
-
}
|
|
12693
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12694
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12695
|
-
export const components: _EuiThemeComponents;
|
|
12696
|
-
|
|
12697
|
-
}
|
|
12698
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12699
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12700
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12701
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12702
|
-
export const EuiThemeAmsterdam: {
|
|
12703
|
-
model: EuiThemeShape;
|
|
12704
|
-
root: EuiThemeShape;
|
|
12705
|
-
key: string;
|
|
12706
|
-
};
|
|
12707
|
-
|
|
12708
12721
|
}
|
|
12709
12722
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12710
12723
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -12715,7 +12728,9 @@ declare module '@elastic/eui/src/themes/amsterdam' {
|
|
|
12715
12728
|
|
|
12716
12729
|
}
|
|
12717
12730
|
declare module '@elastic/eui/src/themes' {
|
|
12718
|
-
|
|
12731
|
+
import { colorVisLight } from '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light';
|
|
12732
|
+
import { colorVisDark } from '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark';
|
|
12733
|
+
export { colorVisLight as colorVis, colorVisLight, colorVisDark };
|
|
12719
12734
|
export type { EUI_THEME } from '@elastic/eui/src/themes/themes';
|
|
12720
12735
|
export { AMSTERDAM_NAME_KEY, EuiThemeAmsterdam } from '@elastic/eui/src/themes/amsterdam/theme';
|
|
12721
12736
|
export * from '@elastic/eui/src/themes/amsterdam';
|
|
@@ -14640,7 +14655,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14640
14655
|
/**
|
|
14641
14656
|
* Height types
|
|
14642
14657
|
*/
|
|
14643
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14658
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
|
|
14644
14659
|
/**
|
|
14645
14660
|
* Line count utils
|
|
14646
14661
|
*/
|
|
@@ -17616,7 +17631,6 @@ declare module '@elastic/eui/src/components/tabs/tab.styles' {
|
|
|
17616
17631
|
s: import("@emotion/react").SerializedStyles;
|
|
17617
17632
|
m: import("@emotion/react").SerializedStyles;
|
|
17618
17633
|
l: import("@emotion/react").SerializedStyles;
|
|
17619
|
-
xl: import("@emotion/react").SerializedStyles;
|
|
17620
17634
|
};
|
|
17621
17635
|
|
|
17622
17636
|
}
|
|
@@ -17628,14 +17642,13 @@ declare module '@elastic/eui/src/components/tabs/tabs.styles' {
|
|
|
17628
17642
|
s: import("@emotion/react").SerializedStyles;
|
|
17629
17643
|
m: import("@emotion/react").SerializedStyles;
|
|
17630
17644
|
l: import("@emotion/react").SerializedStyles;
|
|
17631
|
-
xl: import("@emotion/react").SerializedStyles;
|
|
17632
17645
|
};
|
|
17633
17646
|
|
|
17634
17647
|
}
|
|
17635
17648
|
declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
17636
17649
|
import React, { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
17637
17650
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
17638
|
-
export const SIZES: readonly ["s", "m", "l"
|
|
17651
|
+
export const SIZES: readonly ["s", "m", "l"];
|
|
17639
17652
|
export type EuiTabsSizes = (typeof SIZES)[number];
|
|
17640
17653
|
export type EuiTabsProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren & CommonProps & {
|
|
17641
17654
|
/**
|
|
@@ -17653,7 +17666,6 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
17653
17666
|
bottomBorder?: boolean;
|
|
17654
17667
|
/**
|
|
17655
17668
|
* Sizes affect both font size and overall size.
|
|
17656
|
-
* Only use the `xl` size when displayed as page titles.
|
|
17657
17669
|
*/
|
|
17658
17670
|
size?: EuiTabsSizes;
|
|
17659
17671
|
};
|
|
@@ -17676,7 +17688,6 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
17676
17688
|
bottomBorder?: boolean;
|
|
17677
17689
|
/**
|
|
17678
17690
|
* Sizes affect both font size and overall size.
|
|
17679
|
-
* Only use the `xl` size when displayed as page titles.
|
|
17680
17691
|
*/
|
|
17681
17692
|
size?: EuiTabsSizes;
|
|
17682
17693
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -21833,7 +21844,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21833
21844
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21834
21845
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21835
21846
|
/**
|
|
21836
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21847
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
|
|
21837
21848
|
* Pass `null` to remove all theming including global reset
|
|
21838
21849
|
*/
|
|
21839
21850
|
theme?: EuiThemeSystem | null;
|
|
@@ -23092,13 +23103,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23092
23103
|
slot?: string | undefined;
|
|
23093
23104
|
style?: CSSProperties | undefined;
|
|
23094
23105
|
title?: string | undefined;
|
|
23106
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23095
23107
|
width: number;
|
|
23096
23108
|
color?: string | undefined;
|
|
23097
23109
|
content?: string | undefined;
|
|
23098
|
-
hidden?: boolean | undefined;
|
|
23099
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23100
23110
|
translate?: "yes" | "no" | undefined;
|
|
23101
23111
|
property?: string | undefined;
|
|
23112
|
+
hidden?: boolean | undefined;
|
|
23102
23113
|
className?: string | undefined;
|
|
23103
23114
|
defaultChecked?: boolean | undefined;
|
|
23104
23115
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -31781,20 +31792,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31781
31792
|
euiColorVis7_behindText: string;
|
|
31782
31793
|
euiColorVis8_behindText: string;
|
|
31783
31794
|
euiColorVis9_behindText: string;
|
|
31784
|
-
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
|
-
|
|
31788
|
-
|
|
31789
|
-
|
|
31790
|
-
|
|
31791
|
-
|
|
31792
|
-
|
|
31793
|
-
|
|
31794
|
-
euiColorVisAsTextDark3: string;
|
|
31795
|
-
euiColorVisAsTextDark4: string;
|
|
31796
|
-
euiColorVisAsTextDark5: string;
|
|
31797
|
-
euiColorVisAsTextDark6: string;
|
|
31795
|
+
euiColorVisText0: string;
|
|
31796
|
+
euiColorVisText1: string;
|
|
31797
|
+
euiColorVisText2: string;
|
|
31798
|
+
euiColorVisText3: string;
|
|
31799
|
+
euiColorVisText4: string;
|
|
31800
|
+
euiColorVisText5: string;
|
|
31801
|
+
euiColorVisText6: string;
|
|
31802
|
+
euiColorVisText7: string;
|
|
31803
|
+
euiColorVisText8: string;
|
|
31804
|
+
euiColorVisText9: string;
|
|
31798
31805
|
euiColorVisSuccess0: string;
|
|
31799
31806
|
euiColorVisSuccess1: string;
|
|
31800
31807
|
euiColorVisWarning0: string;
|
|
@@ -31880,6 +31887,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31880
31887
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
31881
31888
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
31882
31889
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
31890
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
31883
31891
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
31884
31892
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
31885
31893
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -31923,6 +31931,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31923
31931
|
euiColorBorderStrongWarning: string;
|
|
31924
31932
|
euiColorBorderStrongRisk: string;
|
|
31925
31933
|
euiColorBorderStrongDanger: string;
|
|
31934
|
+
euiColorBorderStrongText: string;
|
|
31926
31935
|
};
|
|
31927
31936
|
export default sassVariables;
|
|
31928
31937
|
}
|
|
@@ -32211,20 +32220,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32211
32220
|
euiColorVis7_behindText: string;
|
|
32212
32221
|
euiColorVis8_behindText: string;
|
|
32213
32222
|
euiColorVis9_behindText: string;
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
euiColorVisAsTextDark3: string;
|
|
32225
|
-
euiColorVisAsTextDark4: string;
|
|
32226
|
-
euiColorVisAsTextDark5: string;
|
|
32227
|
-
euiColorVisAsTextDark6: string;
|
|
32223
|
+
euiColorVisText0: string;
|
|
32224
|
+
euiColorVisText1: string;
|
|
32225
|
+
euiColorVisText2: string;
|
|
32226
|
+
euiColorVisText3: string;
|
|
32227
|
+
euiColorVisText4: string;
|
|
32228
|
+
euiColorVisText5: string;
|
|
32229
|
+
euiColorVisText6: string;
|
|
32230
|
+
euiColorVisText7: string;
|
|
32231
|
+
euiColorVisText8: string;
|
|
32232
|
+
euiColorVisText9: string;
|
|
32228
32233
|
euiColorVisSuccess0: string;
|
|
32229
32234
|
euiColorVisSuccess1: string;
|
|
32230
32235
|
euiColorVisWarning0: string;
|
|
@@ -32310,6 +32315,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32310
32315
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
32311
32316
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
32312
32317
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
32318
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
32313
32319
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
32314
32320
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
32315
32321
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -32353,10 +32359,11 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32353
32359
|
euiColorBorderStrongWarning: string;
|
|
32354
32360
|
euiColorBorderStrongRisk: string;
|
|
32355
32361
|
euiColorBorderStrongDanger: string;
|
|
32362
|
+
euiColorBorderStrongText: string;
|
|
32356
32363
|
};
|
|
32357
32364
|
export default sassVariables;
|
|
32358
32365
|
}
|
|
32359
|
-
declare module '@elastic/eui/
|
|
32366
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_dark.json' {
|
|
32360
32367
|
const sassVariables: {
|
|
32361
32368
|
euiZDataGrid: number;
|
|
32362
32369
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -32641,20 +32648,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32641
32648
|
euiColorVis7_behindText: string;
|
|
32642
32649
|
euiColorVis8_behindText: string;
|
|
32643
32650
|
euiColorVis9_behindText: string;
|
|
32644
|
-
|
|
32645
|
-
|
|
32646
|
-
|
|
32647
|
-
|
|
32648
|
-
|
|
32649
|
-
|
|
32650
|
-
|
|
32651
|
-
|
|
32652
|
-
|
|
32653
|
-
|
|
32654
|
-
euiColorVisAsTextDark3: string;
|
|
32655
|
-
euiColorVisAsTextDark4: string;
|
|
32656
|
-
euiColorVisAsTextDark5: string;
|
|
32657
|
-
euiColorVisAsTextDark6: string;
|
|
32651
|
+
euiColorVisText0: string;
|
|
32652
|
+
euiColorVisText1: string;
|
|
32653
|
+
euiColorVisText2: string;
|
|
32654
|
+
euiColorVisText3: string;
|
|
32655
|
+
euiColorVisText4: string;
|
|
32656
|
+
euiColorVisText5: string;
|
|
32657
|
+
euiColorVisText6: string;
|
|
32658
|
+
euiColorVisText7: string;
|
|
32659
|
+
euiColorVisText8: string;
|
|
32660
|
+
euiColorVisText9: string;
|
|
32658
32661
|
euiColorVisSuccess0: string;
|
|
32659
32662
|
euiColorVisSuccess1: string;
|
|
32660
32663
|
euiColorVisWarning0: string;
|
|
@@ -32786,7 +32789,7 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32786
32789
|
};
|
|
32787
32790
|
export default sassVariables;
|
|
32788
32791
|
}
|
|
32789
|
-
declare module '@elastic/eui/
|
|
32792
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
|
|
32790
32793
|
const sassVariables: {
|
|
32791
32794
|
euiZDataGrid: number;
|
|
32792
32795
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -33071,20 +33074,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
|
33071
33074
|
euiColorVis7_behindText: string;
|
|
33072
33075
|
euiColorVis8_behindText: string;
|
|
33073
33076
|
euiColorVis9_behindText: string;
|
|
33074
|
-
|
|
33075
|
-
|
|
33076
|
-
|
|
33077
|
-
|
|
33078
|
-
|
|
33079
|
-
|
|
33080
|
-
|
|
33081
|
-
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
euiColorVisAsTextDark3: string;
|
|
33085
|
-
euiColorVisAsTextDark4: string;
|
|
33086
|
-
euiColorVisAsTextDark5: string;
|
|
33087
|
-
euiColorVisAsTextDark6: string;
|
|
33077
|
+
euiColorVisText0: string;
|
|
33078
|
+
euiColorVisText1: string;
|
|
33079
|
+
euiColorVisText2: string;
|
|
33080
|
+
euiColorVisText3: string;
|
|
33081
|
+
euiColorVisText4: string;
|
|
33082
|
+
euiColorVisText5: string;
|
|
33083
|
+
euiColorVisText6: string;
|
|
33084
|
+
euiColorVisText7: string;
|
|
33085
|
+
euiColorVisText8: string;
|
|
33086
|
+
euiColorVisText9: string;
|
|
33088
33087
|
euiColorVisSuccess0: string;
|
|
33089
33088
|
euiColorVisSuccess1: string;
|
|
33090
33089
|
euiColorVisWarning0: string;
|