@elastic/eui 104.0.2 → 104.1.0-amsterdam.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/basic_table/in_memory_table.js +18 -2
- package/es/components/code/code.styles.js +1 -1
- package/es/components/code/code_syntax.styles.js +1 -0
- package/es/components/date_picker/date_picker.js +2 -1
- package/es/components/date_picker/date_picker_range.js +18 -16
- package/es/components/date_picker/super_date_picker/super_date_picker.js +5 -9
- 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 +315 -310
- package/eui.d.ts +365 -356
- package/lib/components/basic_table/in_memory_table.js +18 -2
- package/lib/components/code/code.styles.js +1 -1
- package/lib/components/code/code_syntax.styles.js +1 -0
- package/lib/components/date_picker/date_picker.js +2 -1
- package/lib/components/date_picker/date_picker_range.js +18 -16
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +5 -9
- 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 +315 -310
- package/optimize/es/components/basic_table/in_memory_table.js +3 -2
- package/optimize/es/components/code/code.styles.js +1 -1
- package/optimize/es/components/code/code_syntax.styles.js +1 -0
- package/optimize/es/components/date_picker/date_picker.js +2 -1
- package/optimize/es/components/date_picker/date_picker_range.js +16 -14
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +5 -9
- 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 +315 -310
- package/optimize/lib/components/basic_table/in_memory_table.js +3 -2
- package/optimize/lib/components/code/code.styles.js +1 -1
- package/optimize/lib/components/code/code_syntax.styles.js +1 -0
- package/optimize/lib/components/date_picker/date_picker.js +2 -1
- package/optimize/lib/components/date_picker/date_picker_range.js +16 -14
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +5 -9
- 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 +315 -310
- package/package.json +4 -4
- package/test-env/components/basic_table/in_memory_table.js +18 -2
- package/test-env/components/code/code.styles.js +1 -1
- package/test-env/components/code/code_syntax.styles.js +1 -0
- package/test-env/components/date_picker/date_picker.js +2 -1
- package/test-env/components/date_picker/date_picker_range.js +18 -16
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +5 -9
- 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 +315 -310
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,6 +1523,7 @@ 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;
|
|
1526
|
+
inlineBackgroundColor: string;
|
|
1613
1527
|
inlineCodeColor: string;
|
|
1614
1528
|
selectedBackgroundColor: string;
|
|
1615
1529
|
commentColor: string;
|
|
@@ -3014,7 +2928,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
3014
2928
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
3015
2929
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
3016
2930
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
3017
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
2931
|
+
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")[];
|
|
3018
2932
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
3019
2933
|
export type IconType = EuiIconType | string | ComponentType;
|
|
3020
2934
|
export type IconColor = string | NamedColor;
|
|
@@ -5842,7 +5756,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5842
5756
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5843
5757
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5844
5758
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5845
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
5759
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "none" | "xs" | "m" | "l" | "xl")[];
|
|
5846
5760
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5847
5761
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5848
5762
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6546,11 +6460,11 @@ declare module '@elastic/eui/src/components/form/form_control_layout/form_contro
|
|
|
6546
6460
|
/**
|
|
6547
6461
|
* Left side control
|
|
6548
6462
|
*/
|
|
6549
|
-
startControl
|
|
6463
|
+
startControl?: ReactElement;
|
|
6550
6464
|
/**
|
|
6551
6465
|
* Right side control
|
|
6552
6466
|
*/
|
|
6553
|
-
endControl
|
|
6467
|
+
endControl?: ReactElement;
|
|
6554
6468
|
/**
|
|
6555
6469
|
* The center content. Accepts a string to be wrapped in a subdued EuiText
|
|
6556
6470
|
* or a single ReactElement
|
|
@@ -6952,71 +6866,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6952
6866
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6953
6867
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6954
6868
|
|
|
6955
|
-
}
|
|
6956
|
-
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6957
|
-
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
6958
|
-
/**
|
|
6959
|
-
* Makes a color more transparent.
|
|
6960
|
-
* @param color - Color to manipulate
|
|
6961
|
-
* @param alpha - alpha channel value. From 0-1.
|
|
6962
|
-
*/
|
|
6963
|
-
export const transparentize: (color: string, alpha: number) => string;
|
|
6964
|
-
/**
|
|
6965
|
-
* Mixes a provided color with white.
|
|
6966
|
-
* @param color - Color to mix with white
|
|
6967
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6968
|
-
*/
|
|
6969
|
-
export const tint: (color: string, ratio: number) => string;
|
|
6970
|
-
/**
|
|
6971
|
-
* Mixes a provided color with black.
|
|
6972
|
-
* @param color - Color to mix with black
|
|
6973
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
6974
|
-
*/
|
|
6975
|
-
export const shade: (color: string, ratio: number) => string;
|
|
6976
|
-
/**
|
|
6977
|
-
* Returns the tinted color for light mode and shaded color for dark mode
|
|
6978
|
-
* @param color - Color to mix with white
|
|
6979
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6980
|
-
* @param colorMode - Light or dark only
|
|
6981
|
-
*/
|
|
6982
|
-
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6983
|
-
/**
|
|
6984
|
-
* Returns the shaded color for light mode and tinted color for dark mode
|
|
6985
|
-
* @param color - Color to mix with white
|
|
6986
|
-
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6987
|
-
* @param colorMode - Light or dark only
|
|
6988
|
-
*/
|
|
6989
|
-
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
6990
|
-
/**
|
|
6991
|
-
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
6992
|
-
* @param color - Color to manipulate
|
|
6993
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
6994
|
-
*/
|
|
6995
|
-
export const saturate: (color: string, amount: number) => string;
|
|
6996
|
-
/**
|
|
6997
|
-
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
6998
|
-
* @param color - Color to manipulate
|
|
6999
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7000
|
-
*/
|
|
7001
|
-
export const desaturate: (color: string, amount: number) => string;
|
|
7002
|
-
/**
|
|
7003
|
-
* Returns the lightness value of a color. 0-100
|
|
7004
|
-
* @param color
|
|
7005
|
-
*/
|
|
7006
|
-
export const lightness: (color: string) => number;
|
|
7007
|
-
/**
|
|
7008
|
-
* Returns the darken value of a color. 0-100
|
|
7009
|
-
* @param color - Color to manipulate
|
|
7010
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7011
|
-
*/
|
|
7012
|
-
export const darken: (color: string, amount: number) => string;
|
|
7013
|
-
/**
|
|
7014
|
-
* Returns the brighten value of a color. 0-100
|
|
7015
|
-
* @param color - Color to manipulate
|
|
7016
|
-
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7017
|
-
*/
|
|
7018
|
-
export const brighten: (color: string, amount: number) => string;
|
|
7019
|
-
|
|
7020
6869
|
}
|
|
7021
6870
|
declare module '@elastic/eui/src/services/color/contrast' {
|
|
7022
6871
|
export const wcagContrastMin = 4.5;
|
|
@@ -7094,31 +6943,330 @@ declare module '@elastic/eui/src/services/theme/provider' {
|
|
|
7094
6943
|
cloneElement?: boolean;
|
|
7095
6944
|
};
|
|
7096
6945
|
}
|
|
7097
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6946
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6947
|
+
|
|
6948
|
+
}
|
|
6949
|
+
declare module '@elastic/eui/src/services/theme/theme_variant' {
|
|
6950
|
+
import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
|
|
6951
|
+
export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
|
|
6952
|
+
/**
|
|
6953
|
+
* Util to retrieve visual variant for UI elements
|
|
6954
|
+
* Note: Temporary only - will be removed once the visual refresh is completed.
|
|
6955
|
+
*/
|
|
6956
|
+
export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
|
|
6957
|
+
|
|
6958
|
+
}
|
|
6959
|
+
declare module '@elastic/eui/src/services/theme' {
|
|
6960
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6961
|
+
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6962
|
+
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
|
|
6963
|
+
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
6964
|
+
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
6965
|
+
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6966
|
+
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6967
|
+
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6968
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6969
|
+
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6970
|
+
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
6971
|
+
|
|
6972
|
+
}
|
|
6973
|
+
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6974
|
+
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
6975
|
+
/**
|
|
6976
|
+
* Makes a color more transparent.
|
|
6977
|
+
* @param color - Color to manipulate
|
|
6978
|
+
* @param alpha - alpha channel value. From 0-1.
|
|
6979
|
+
*/
|
|
6980
|
+
export const transparentize: (color: string, alpha: number) => string;
|
|
6981
|
+
/**
|
|
6982
|
+
* Mixes a provided color with white.
|
|
6983
|
+
* @param color - Color to mix with white
|
|
6984
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6985
|
+
*/
|
|
6986
|
+
export const tint: (color: string, ratio: number) => string;
|
|
6987
|
+
/**
|
|
6988
|
+
* Mixes a provided color with black.
|
|
6989
|
+
* @param color - Color to mix with black
|
|
6990
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more black.
|
|
6991
|
+
*/
|
|
6992
|
+
export const shade: (color: string, ratio: number) => string;
|
|
6993
|
+
/**
|
|
6994
|
+
* Returns the tinted color for light mode and shaded color for dark mode
|
|
6995
|
+
* @param color - Color to mix with white
|
|
6996
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
6997
|
+
* @param colorMode - Light or dark only
|
|
6998
|
+
*/
|
|
6999
|
+
export const tintOrShade: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
7000
|
+
/**
|
|
7001
|
+
* Returns the shaded color for light mode and tinted color for dark mode
|
|
7002
|
+
* @param color - Color to mix with white
|
|
7003
|
+
* @param ratio - Mix weight. From 0-1. Larger value indicates more white.
|
|
7004
|
+
* @param colorMode - Light or dark only
|
|
7005
|
+
*/
|
|
7006
|
+
export const shadeOrTint: (color: string, ratio: number, colorMode: EuiThemeColorModeStandard) => string;
|
|
7007
|
+
/**
|
|
7008
|
+
* Increases the saturation of a color by manipulating the hsl saturation.
|
|
7009
|
+
* @param color - Color to manipulate
|
|
7010
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7011
|
+
*/
|
|
7012
|
+
export const saturate: (color: string, amount: number) => string;
|
|
7013
|
+
/**
|
|
7014
|
+
* Decreases the saturation of a color by manipulating the hsl saturation.
|
|
7015
|
+
* @param color - Color to manipulate
|
|
7016
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7017
|
+
*/
|
|
7018
|
+
export const desaturate: (color: string, amount: number) => string;
|
|
7019
|
+
/**
|
|
7020
|
+
* Returns the lightness value of a color. 0-100
|
|
7021
|
+
* @param color
|
|
7022
|
+
*/
|
|
7023
|
+
export const lightness: (color: string) => number;
|
|
7024
|
+
/**
|
|
7025
|
+
* Returns the darken value of a color. 0-100
|
|
7026
|
+
* @param color - Color to manipulate
|
|
7027
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7028
|
+
*/
|
|
7029
|
+
export const darken: (color: string, amount: number) => string;
|
|
7030
|
+
/**
|
|
7031
|
+
* Returns the brighten value of a color. 0-100
|
|
7032
|
+
* @param color - Color to manipulate
|
|
7033
|
+
* @param amount - Amount to change in absolute terms. 0-1.
|
|
7034
|
+
*/
|
|
7035
|
+
export const brighten: (color: string, amount: number) => string;
|
|
7036
|
+
|
|
7037
|
+
}
|
|
7038
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
7039
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
7040
|
+
export const colorVisDark: _EuiThemeVisColors;
|
|
7041
|
+
|
|
7042
|
+
}
|
|
7043
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
7044
|
+
/**
|
|
7045
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
7046
|
+
* They are mapped to other vis colors
|
|
7047
|
+
*/
|
|
7048
|
+
export const severityColors: {
|
|
7049
|
+
unknown: string;
|
|
7050
|
+
neutral: string;
|
|
7051
|
+
success: string;
|
|
7052
|
+
warning: string;
|
|
7053
|
+
risk: string;
|
|
7054
|
+
danger: string;
|
|
7055
|
+
};
|
|
7056
|
+
|
|
7057
|
+
}
|
|
7058
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
7059
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
7060
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
7061
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
7062
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
7063
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
7064
|
+
export const text_colors: _EuiThemeTextColors;
|
|
7065
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
7066
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7067
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
7068
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
7069
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
7070
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
7071
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7072
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
7073
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
7074
|
+
export const colors: _EuiThemeColors;
|
|
7075
|
+
|
|
7076
|
+
}
|
|
7077
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
7078
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
7079
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
7080
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
7081
|
+
export const animation: _EuiThemeAnimation;
|
|
7082
|
+
|
|
7083
|
+
}
|
|
7084
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
7085
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
7086
|
+
|
|
7087
|
+
}
|
|
7088
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
7089
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
7090
|
+
export const base: _EuiThemeBase;
|
|
7091
|
+
export const size: _EuiThemeSizes;
|
|
7092
|
+
|
|
7093
|
+
}
|
|
7094
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
7095
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
7096
|
+
export const border: _EuiThemeBorder;
|
|
7097
|
+
|
|
7098
|
+
}
|
|
7099
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
7100
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
7101
|
+
export const levels: _EuiThemeLevels;
|
|
7102
|
+
|
|
7103
|
+
}
|
|
7104
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
7105
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
7106
|
+
export const fontScale: _EuiThemeFontScales;
|
|
7107
|
+
export const fontBase: _EuiThemeFontBase;
|
|
7108
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
7109
|
+
export const font: _EuiThemeFont;
|
|
7110
|
+
|
|
7111
|
+
}
|
|
7112
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
7113
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
7114
|
+
export const focus: _EuiThemeFocus;
|
|
7115
|
+
|
|
7116
|
+
}
|
|
7117
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7118
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7119
|
+
export const buttons: _EuiThemeButton;
|
|
7120
|
+
|
|
7121
|
+
}
|
|
7122
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7123
|
+
export const forms: {
|
|
7124
|
+
maxWidth: string;
|
|
7125
|
+
LIGHT: {
|
|
7126
|
+
background: string;
|
|
7127
|
+
backgroundDisabled: string;
|
|
7128
|
+
backgroundReadOnly: any;
|
|
7129
|
+
backgroundFocused: any;
|
|
7130
|
+
backgroundAutofilled: string;
|
|
7131
|
+
prependBackground: string;
|
|
7132
|
+
border: string;
|
|
7133
|
+
borderAutofilled: string;
|
|
7134
|
+
controlBorder: string;
|
|
7135
|
+
controlBorderSelected: string;
|
|
7136
|
+
controlBorderDisabled: string;
|
|
7137
|
+
controlBackgroundUnselected: any;
|
|
7138
|
+
controlBackgroundDisabled: any;
|
|
7139
|
+
colorHasPlaceholder: string;
|
|
7140
|
+
colorDisabled: any;
|
|
7141
|
+
iconDisabled: any;
|
|
7142
|
+
};
|
|
7143
|
+
DARK: {
|
|
7144
|
+
background: string;
|
|
7145
|
+
backgroundFocused: string;
|
|
7146
|
+
backgroundAutofilled: string;
|
|
7147
|
+
prependBackground: string;
|
|
7148
|
+
border: string;
|
|
7149
|
+
controlBorder: string;
|
|
7150
|
+
controlBorderSelected: string;
|
|
7151
|
+
controlBorderDisabled: string;
|
|
7152
|
+
backgroundDisabled: string;
|
|
7153
|
+
backgroundReadOnly: any;
|
|
7154
|
+
borderAutofilled: string;
|
|
7155
|
+
controlBackgroundUnselected: any;
|
|
7156
|
+
controlBackgroundDisabled: any;
|
|
7157
|
+
colorHasPlaceholder: string;
|
|
7158
|
+
colorDisabled: any;
|
|
7159
|
+
iconDisabled: any;
|
|
7160
|
+
};
|
|
7161
|
+
};
|
|
7162
|
+
|
|
7163
|
+
}
|
|
7164
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
7165
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
7166
|
+
export const components: _EuiThemeComponents;
|
|
7167
|
+
|
|
7168
|
+
}
|
|
7169
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
7170
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
7171
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
7172
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
7173
|
+
export const EuiThemeAmsterdam: {
|
|
7174
|
+
model: EuiThemeShape;
|
|
7175
|
+
root: EuiThemeShape;
|
|
7176
|
+
key: string;
|
|
7177
|
+
};
|
|
7178
|
+
|
|
7179
|
+
}
|
|
7180
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
7181
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7182
|
+
export const DEFAULTS: {
|
|
7183
|
+
system: {
|
|
7184
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7185
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7186
|
+
key: string;
|
|
7187
|
+
};
|
|
7188
|
+
modifications: {};
|
|
7189
|
+
colorMode: "LIGHT";
|
|
7190
|
+
highContrastMode: false;
|
|
7191
|
+
};
|
|
7192
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
7193
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
7194
|
+
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
7195
|
+
}>>;
|
|
7196
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7197
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7198
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7199
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
7200
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7201
|
+
|
|
7202
|
+
}
|
|
7203
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
7204
|
+
import React from 'react';
|
|
7205
|
+
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
7206
|
+
/**
|
|
7207
|
+
* Hook for function components
|
|
7208
|
+
*/
|
|
7209
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
7210
|
+
euiTheme: EuiThemeComputed<T>;
|
|
7211
|
+
colorMode: EuiThemeColorModeStandard;
|
|
7212
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
7213
|
+
modifications: EuiThemeModifications<T>;
|
|
7214
|
+
}
|
|
7215
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
7216
|
+
/**
|
|
7217
|
+
* HOC for class components
|
|
7218
|
+
*/
|
|
7219
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
7220
|
+
theme: UseEuiTheme<P>;
|
|
7221
|
+
}
|
|
7222
|
+
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">>>;
|
|
7223
|
+
/**
|
|
7224
|
+
* Render prop alternative for complex class components
|
|
7225
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
7226
|
+
*/
|
|
7227
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
7228
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
7229
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7230
|
+
/**
|
|
7231
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
7232
|
+
* Primarily meant for internal EUI usage.
|
|
7233
|
+
*/
|
|
7234
|
+
export const useEuiThemeCSSVariables: () => {
|
|
7235
|
+
setGlobalCSSVariables: Function;
|
|
7236
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7237
|
+
setNearestThemeCSSVariables: Function;
|
|
7238
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7239
|
+
};
|
|
7240
|
+
/**
|
|
7241
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
7242
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
7243
|
+
*/
|
|
7244
|
+
export const useIsDarkMode: () => boolean;
|
|
7098
7245
|
|
|
7099
7246
|
}
|
|
7100
|
-
declare module '@elastic/eui/src/services/
|
|
7101
|
-
import {
|
|
7102
|
-
|
|
7247
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
7248
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
7249
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
7250
|
+
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
7251
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
7103
7252
|
/**
|
|
7104
|
-
*
|
|
7105
|
-
*
|
|
7253
|
+
* Returns the current breakpoint based on window width.
|
|
7254
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
7255
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
7256
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
7106
7257
|
*/
|
|
7107
|
-
export const
|
|
7258
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
7259
|
+
export {};
|
|
7108
7260
|
|
|
7109
7261
|
}
|
|
7110
|
-
declare module '@elastic/eui/src/services/
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
export
|
|
7118
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7119
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7120
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7121
|
-
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
7262
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
7263
|
+
/**
|
|
7264
|
+
* Hook util / syntactical sugar for useContext()
|
|
7265
|
+
*
|
|
7266
|
+
* This hook is in its own separate file to make mocking it
|
|
7267
|
+
* as a testenv easy for Jest unit tests
|
|
7268
|
+
*/
|
|
7269
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
7122
7270
|
|
|
7123
7271
|
}
|
|
7124
7272
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -12562,16 +12710,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12562
12710
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12563
12711
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12564
12712
|
|
|
12565
|
-
}
|
|
12566
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
12567
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12568
|
-
export const colorVisLight: _EuiThemeVisColors;
|
|
12569
|
-
|
|
12570
|
-
}
|
|
12571
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
12572
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12573
|
-
export const colorVisDark: _EuiThemeVisColors;
|
|
12574
|
-
|
|
12575
12713
|
}
|
|
12576
12714
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12577
12715
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12581,143 +12719,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12581
12719
|
provider?: EuiThemeSystem;
|
|
12582
12720
|
}
|
|
12583
12721
|
|
|
12584
|
-
}
|
|
12585
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12586
|
-
/**
|
|
12587
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
12588
|
-
* They are mapped to other vis colors
|
|
12589
|
-
*/
|
|
12590
|
-
export const severityColors: {
|
|
12591
|
-
unknown: string;
|
|
12592
|
-
neutral: string;
|
|
12593
|
-
success: string;
|
|
12594
|
-
warning: string;
|
|
12595
|
-
risk: string;
|
|
12596
|
-
danger: string;
|
|
12597
|
-
};
|
|
12598
|
-
|
|
12599
|
-
}
|
|
12600
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12601
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12602
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
12603
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12604
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
12605
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
12606
|
-
export const text_colors: _EuiThemeTextColors;
|
|
12607
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
12608
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12609
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
12610
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
12611
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
12612
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12613
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12614
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12615
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12616
|
-
export const colors: _EuiThemeColors;
|
|
12617
|
-
|
|
12618
|
-
}
|
|
12619
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12620
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12621
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12622
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12623
|
-
export const animation: _EuiThemeAnimation;
|
|
12624
|
-
|
|
12625
|
-
}
|
|
12626
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12627
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12628
|
-
|
|
12629
|
-
}
|
|
12630
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12631
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12632
|
-
export const base: _EuiThemeBase;
|
|
12633
|
-
export const size: _EuiThemeSizes;
|
|
12634
|
-
|
|
12635
|
-
}
|
|
12636
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12637
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12638
|
-
export const border: _EuiThemeBorder;
|
|
12639
|
-
|
|
12640
|
-
}
|
|
12641
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12642
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12643
|
-
export const levels: _EuiThemeLevels;
|
|
12644
|
-
|
|
12645
|
-
}
|
|
12646
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12647
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12648
|
-
export const fontScale: _EuiThemeFontScales;
|
|
12649
|
-
export const fontBase: _EuiThemeFontBase;
|
|
12650
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
12651
|
-
export const font: _EuiThemeFont;
|
|
12652
|
-
|
|
12653
|
-
}
|
|
12654
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12655
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12656
|
-
export const focus: _EuiThemeFocus;
|
|
12657
|
-
|
|
12658
|
-
}
|
|
12659
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12660
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12661
|
-
export const buttons: _EuiThemeButton;
|
|
12662
|
-
|
|
12663
|
-
}
|
|
12664
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12665
|
-
export const forms: {
|
|
12666
|
-
maxWidth: string;
|
|
12667
|
-
LIGHT: {
|
|
12668
|
-
background: string;
|
|
12669
|
-
backgroundDisabled: string;
|
|
12670
|
-
backgroundReadOnly: any;
|
|
12671
|
-
backgroundFocused: any;
|
|
12672
|
-
backgroundAutofilled: string;
|
|
12673
|
-
prependBackground: string;
|
|
12674
|
-
border: string;
|
|
12675
|
-
borderAutofilled: string;
|
|
12676
|
-
controlBorder: string;
|
|
12677
|
-
controlBorderSelected: string;
|
|
12678
|
-
controlBorderDisabled: string;
|
|
12679
|
-
controlBackgroundUnselected: any;
|
|
12680
|
-
controlBackgroundDisabled: any;
|
|
12681
|
-
colorHasPlaceholder: string;
|
|
12682
|
-
colorDisabled: any;
|
|
12683
|
-
iconDisabled: any;
|
|
12684
|
-
};
|
|
12685
|
-
DARK: {
|
|
12686
|
-
background: string;
|
|
12687
|
-
backgroundFocused: string;
|
|
12688
|
-
backgroundAutofilled: string;
|
|
12689
|
-
prependBackground: string;
|
|
12690
|
-
border: string;
|
|
12691
|
-
controlBorder: string;
|
|
12692
|
-
controlBorderSelected: string;
|
|
12693
|
-
controlBorderDisabled: string;
|
|
12694
|
-
backgroundDisabled: string;
|
|
12695
|
-
backgroundReadOnly: any;
|
|
12696
|
-
borderAutofilled: string;
|
|
12697
|
-
controlBackgroundUnselected: any;
|
|
12698
|
-
controlBackgroundDisabled: any;
|
|
12699
|
-
colorHasPlaceholder: string;
|
|
12700
|
-
colorDisabled: any;
|
|
12701
|
-
iconDisabled: any;
|
|
12702
|
-
};
|
|
12703
|
-
};
|
|
12704
|
-
|
|
12705
|
-
}
|
|
12706
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12707
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12708
|
-
export const components: _EuiThemeComponents;
|
|
12709
|
-
|
|
12710
|
-
}
|
|
12711
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12712
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12713
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12714
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12715
|
-
export const EuiThemeAmsterdam: {
|
|
12716
|
-
model: EuiThemeShape;
|
|
12717
|
-
root: EuiThemeShape;
|
|
12718
|
-
key: string;
|
|
12719
|
-
};
|
|
12720
|
-
|
|
12721
12722
|
}
|
|
12722
12723
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12723
12724
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14655,7 +14656,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14655
14656
|
/**
|
|
14656
14657
|
* Height types
|
|
14657
14658
|
*/
|
|
14658
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14659
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
|
|
14659
14660
|
/**
|
|
14660
14661
|
* Line count utils
|
|
14661
14662
|
*/
|
|
@@ -18334,7 +18335,7 @@ declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
|
18334
18335
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
18335
18336
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18336
18337
|
import { EuiDatePickerProps } from '@elastic/eui/src/components/date_picker/date_picker';
|
|
18337
|
-
export type EuiDatePickerRangeProps = CommonProps & Pick<EuiFormControlLayoutDelimitedProps, 'isLoading' | 'isInvalid' | 'readOnly' | 'fullWidth' | 'compressed' | 'prepend' | 'append'> & {
|
|
18338
|
+
export type EuiDatePickerRangeProps = CommonProps & Pick<EuiFormControlLayoutDelimitedProps, 'isLoading' | 'isInvalid' | 'readOnly' | 'fullWidth' | 'compressed' | 'prepend' | 'append' | 'delimiter'> & {
|
|
18338
18339
|
/**
|
|
18339
18340
|
* Including any children will replace all innards with the provided children
|
|
18340
18341
|
*/
|
|
@@ -18342,11 +18343,11 @@ declare module '@elastic/eui/src/components/date_picker/date_picker_range' {
|
|
|
18342
18343
|
/**
|
|
18343
18344
|
* The end date `EuiDatePicker` element
|
|
18344
18345
|
*/
|
|
18345
|
-
endDateControl
|
|
18346
|
+
endDateControl?: ReactElement;
|
|
18346
18347
|
/**
|
|
18347
18348
|
* The start date `EuiDatePicker` element
|
|
18348
18349
|
*/
|
|
18349
|
-
startDateControl
|
|
18350
|
+
startDateControl?: ReactElement;
|
|
18350
18351
|
/**
|
|
18351
18352
|
* Pass either an icon type or set to `false` to remove icon entirely
|
|
18352
18353
|
*/
|
|
@@ -21844,7 +21845,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21844
21845
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21845
21846
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21846
21847
|
/**
|
|
21847
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21848
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
|
|
21848
21849
|
* Pass `null` to remove all theming including global reset
|
|
21849
21850
|
*/
|
|
21850
21851
|
theme?: EuiThemeSystem | null;
|
|
@@ -23103,13 +23104,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23103
23104
|
slot?: string | undefined;
|
|
23104
23105
|
style?: CSSProperties | undefined;
|
|
23105
23106
|
title?: string | undefined;
|
|
23107
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23106
23108
|
width: number;
|
|
23107
23109
|
color?: string | undefined;
|
|
23108
23110
|
content?: string | undefined;
|
|
23109
|
-
hidden?: boolean | undefined;
|
|
23110
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23111
23111
|
translate?: "yes" | "no" | undefined;
|
|
23112
23112
|
property?: string | undefined;
|
|
23113
|
+
hidden?: boolean | undefined;
|
|
23113
23114
|
className?: string | undefined;
|
|
23114
23115
|
defaultChecked?: boolean | undefined;
|
|
23115
23116
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -25048,7 +25049,15 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
25048
25049
|
}
|
|
25049
25050
|
type Sorting = boolean | SortingOptions;
|
|
25050
25051
|
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
|
+
*/
|
|
25051
25056
|
message?: ReactNode;
|
|
25057
|
+
/**
|
|
25058
|
+
* Message to display if table is empty
|
|
25059
|
+
*/
|
|
25060
|
+
noItemsMessage?: ReactNode;
|
|
25052
25061
|
/**
|
|
25053
25062
|
* Configures {@link Search}.
|
|
25054
25063
|
*/
|