@elastic/eui 102.0.0-amsterdam.0 → 102.0.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/provider/provider.js +2 -2
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/eui.d.ts +344 -344
- 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/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/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/package.json +1 -1
- 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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
import { EuiThemeProvider } from '../../services';
|
|
12
12
|
import { emitEuiProviderWarning } from '../../services/theme/warning';
|
|
13
13
|
import { cache as fallbackCache } from '../../services/emotion/css';
|
|
@@ -26,7 +26,7 @@ export var EuiProvider = function EuiProvider(_ref) {
|
|
|
26
26
|
var _ref$cache = _ref.cache,
|
|
27
27
|
cache = _ref$cache === void 0 ? fallbackCache : _ref$cache,
|
|
28
28
|
_ref$theme = _ref.theme,
|
|
29
|
-
theme = _ref$theme === void 0 ?
|
|
29
|
+
theme = _ref$theme === void 0 ? EuiThemeBorealis : _ref$theme,
|
|
30
30
|
_ref$globalStyles = _ref.globalStyles,
|
|
31
31
|
Globals = _ref$globalStyles === void 0 ? EuiGlobalStyles : _ref$globalStyles,
|
|
32
32
|
_ref$utilityClasses = _ref.utilityClasses,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
10
|
-
import { colorVis } from '
|
|
10
|
+
import { colorVis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
|
|
12
12
|
// initialsetup of Vis color storage with default colors
|
|
13
13
|
export var EUI_VIS_COLOR_STORE = EuiVisColorStore.getInstance(colorVis, true);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { createContext } from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
import { DEFAULT_COLOR_MODE, getComputed } from './utils';
|
|
12
12
|
export var DEFAULTS = {
|
|
13
|
-
system:
|
|
13
|
+
system: EuiThemeBorealis,
|
|
14
14
|
modifications: {},
|
|
15
15
|
colorMode: DEFAULT_COLOR_MODE,
|
|
16
16
|
highContrastMode: false
|
package/eui.d.ts
CHANGED
|
@@ -167,13 +167,117 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
167
167
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
168
168
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
169
169
|
|
|
170
|
+
}
|
|
171
|
+
declare module '@elastic/eui/src/services/theme/types' {
|
|
172
|
+
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
173
|
+
|
|
170
174
|
}
|
|
171
175
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
172
176
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
173
177
|
|
|
174
178
|
}
|
|
175
|
-
declare module '@elastic/eui/src/services/theme/
|
|
176
|
-
|
|
179
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
180
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
181
|
+
export const DEFAULTS: {
|
|
182
|
+
system: {
|
|
183
|
+
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
184
|
+
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
185
|
+
key: string;
|
|
186
|
+
};
|
|
187
|
+
modifications: {};
|
|
188
|
+
colorMode: "LIGHT";
|
|
189
|
+
highContrastMode: false;
|
|
190
|
+
};
|
|
191
|
+
export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
|
|
192
|
+
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
193
|
+
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
|
|
194
|
+
}>>;
|
|
195
|
+
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
196
|
+
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
197
|
+
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
198
|
+
export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
|
|
199
|
+
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
200
|
+
|
|
201
|
+
}
|
|
202
|
+
declare module '@elastic/eui/src/services/theme/warning' {
|
|
203
|
+
type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
204
|
+
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
205
|
+
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
206
|
+
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
207
|
+
export {};
|
|
208
|
+
|
|
209
|
+
}
|
|
210
|
+
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
211
|
+
import React from 'react';
|
|
212
|
+
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
213
|
+
/**
|
|
214
|
+
* Hook for function components
|
|
215
|
+
*/
|
|
216
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
217
|
+
euiTheme: EuiThemeComputed<T>;
|
|
218
|
+
colorMode: EuiThemeColorModeStandard;
|
|
219
|
+
highContrastMode: EuiThemeHighContrastMode;
|
|
220
|
+
modifications: EuiThemeModifications<T>;
|
|
221
|
+
}
|
|
222
|
+
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
223
|
+
/**
|
|
224
|
+
* HOC for class components
|
|
225
|
+
*/
|
|
226
|
+
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
227
|
+
theme: UseEuiTheme<P>;
|
|
228
|
+
}
|
|
229
|
+
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">>>;
|
|
230
|
+
/**
|
|
231
|
+
* Render prop alternative for complex class components
|
|
232
|
+
* Most useful for scenarios where a HOC may interfere with typing
|
|
233
|
+
*/
|
|
234
|
+
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
235
|
+
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
236
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
237
|
+
/**
|
|
238
|
+
* Minor syntactical sugar hook for theme CSS variables.
|
|
239
|
+
* Primarily meant for internal EUI usage.
|
|
240
|
+
*/
|
|
241
|
+
export const useEuiThemeCSSVariables: () => {
|
|
242
|
+
setGlobalCSSVariables: Function;
|
|
243
|
+
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
244
|
+
setNearestThemeCSSVariables: Function;
|
|
245
|
+
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
}
|
|
249
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
250
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
251
|
+
|
|
252
|
+
}
|
|
253
|
+
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
254
|
+
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
255
|
+
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
256
|
+
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
260
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
261
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint'; type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
262
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
263
|
+
/**
|
|
264
|
+
* Returns the current breakpoint based on window width.
|
|
265
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
266
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
267
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
268
|
+
*/
|
|
269
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
270
|
+
export {};
|
|
271
|
+
|
|
272
|
+
}
|
|
273
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
274
|
+
/**
|
|
275
|
+
* Hook util / syntactical sugar for useContext()
|
|
276
|
+
*
|
|
277
|
+
* This hook is in its own separate file to make mocking it
|
|
278
|
+
* as a testenv easy for Jest unit tests
|
|
279
|
+
*/
|
|
280
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
177
281
|
|
|
178
282
|
}
|
|
179
283
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -271,10 +375,6 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
271
375
|
*/
|
|
272
376
|
export const useDeepEqual: <T = any[] | Record<string, any> | undefined>(object: T) => T;
|
|
273
377
|
|
|
274
|
-
}
|
|
275
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
276
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
277
|
-
|
|
278
378
|
}
|
|
279
379
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
280
380
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -297,14 +397,6 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
297
397
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
298
398
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
299
399
|
|
|
300
|
-
}
|
|
301
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
302
|
-
type LEVELS = 'log' | 'warn' | 'error'; type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
303
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
304
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
305
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
306
|
-
export {};
|
|
307
|
-
|
|
308
400
|
}
|
|
309
401
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
310
402
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -499,11 +591,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
499
591
|
*/
|
|
500
592
|
categorical?: boolean): string[];
|
|
501
593
|
|
|
502
|
-
}
|
|
503
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
504
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
505
|
-
export const colorVis: _EuiThemeVisColors;
|
|
506
|
-
|
|
507
594
|
}
|
|
508
595
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
509
596
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -1024,7 +1111,7 @@ declare module '@elastic/eui/src/global_styling/mixins/_padding' {
|
|
|
1024
1111
|
*/
|
|
1025
1112
|
export const euiPaddingSize: ({ euiTheme }: UseEuiTheme, size: EuiPaddingSize) => string | null;
|
|
1026
1113
|
export const useEuiPaddingSize: (size: EuiPaddingSize) => string;
|
|
1027
|
-
export const useEuiPaddingCSS: (side?: "left" | "right" | "top" | "bottom" | "horizontal" | "vertical" | undefined) => Record<"s" | "
|
|
1114
|
+
export const useEuiPaddingCSS: (side?: "left" | "right" | "top" | "bottom" | "horizontal" | "vertical" | undefined) => Record<"s" | "xs" | "m" | "l" | "xl" | "none", SerializedStyles>;
|
|
1028
1115
|
|
|
1029
1116
|
}
|
|
1030
1117
|
declare module '@elastic/eui/src/global_styling/mixins/_states' {
|
|
@@ -1074,12 +1161,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1074
1161
|
*/
|
|
1075
1162
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1076
1163
|
|
|
1077
|
-
}
|
|
1078
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1079
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1080
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1081
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1082
|
-
|
|
1083
1164
|
}
|
|
1084
1165
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1085
1166
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -2873,7 +2954,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2873
2954
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2874
2955
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2875
2956
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2876
|
-
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "
|
|
2957
|
+
export const TYPES: ("string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "error" | "warning" | "scale" | "color" | "pause" | "play" | "offline" | "online" | "storage" | "copy" | "cut" | "temperature" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector")[];
|
|
2877
2958
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2878
2959
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2879
2960
|
export type IconColor = string | NamedColor;
|
|
@@ -2916,7 +2997,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2916
2997
|
isLoading: boolean;
|
|
2917
2998
|
neededLoading: boolean;
|
|
2918
2999
|
}
|
|
2919
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "
|
|
3000
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "search" | "link" | "at" | "article" | "code" | "menu" | "section" | "filter" | "image" | "stop" | "key" | "error" | "warning" | "scale" | "color" | "pause" | "play" | "offline" | "online" | "storage" | "copy" | "cut" | "temperature" | "wordWrap" | "grid" | "invert" | "empty" | "alert" | "document" | "list" | "email" | "move" | "grab" | "help" | "spaces" | "dot" | "push" | "container" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "flask" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkCircle" | "checkInCircleFilled" | "cheer" | "clickLeft" | "clickRight" | "clock" | "clockCounter" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "comment" | "compute" | "console" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "contrast" | "contrastHigh" | "controls" | "cross" | "crosshairs" | "currency" | "database" | "desktop" | "diff" | "documentEdit" | "documentation" | "documents" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "endpoint" | "eql" | "eraser" | "errorFilled" | "esqlVis" | "exit" | "expand" | "expandMini" | "export" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "readOnly" | "globe" | "grabOmnidirectional" | "gradient" | "heart" | "heatmap" | "home" | "iInCircle" | "index" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logPatternAnalysis" | "logRateAnalysis" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoVulnerabilityManagement" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "minusInSquare" | "monitoringApp" | "newChat" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "plusInSquare" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "singleMetricViewer" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "userAvatar" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "vulnerabilityManagementApp" | "watchesApp" | "workplaceSearchApp" | "tokenDenseVector" | undefined) => void;
|
|
2920
3001
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
2921
3002
|
[iconType: string]: React.ComponentType<{}>;
|
|
2922
3003
|
}) => void;
|
|
@@ -4562,7 +4643,7 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
|
|
|
4562
4643
|
export const EuiFlexGroup: (<TComponent extends React.ElementType = "div", TComponentRef = React.ReactElement<any, TComponent>>(props: {
|
|
4563
4644
|
children?: React.ReactNode;
|
|
4564
4645
|
} & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
|
|
4565
|
-
alignItems?: "center" | "
|
|
4646
|
+
alignItems?: "center" | "baseline" | "stretch" | "flexStart" | "flexEnd" | undefined;
|
|
4566
4647
|
/**
|
|
4567
4648
|
* Customize the component type that is rendered.
|
|
4568
4649
|
*
|
|
@@ -4577,7 +4658,7 @@ declare module '@elastic/eui/src/components/flex/flex_group' {
|
|
|
4577
4658
|
*/
|
|
4578
4659
|
component?: TComponent | undefined;
|
|
4579
4660
|
direction?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
|
|
4580
|
-
gutterSize?: "s" | "
|
|
4661
|
+
gutterSize?: "s" | "xs" | "m" | "l" | "xl" | "none" | undefined;
|
|
4581
4662
|
justifyContent?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
|
|
4582
4663
|
responsive?: boolean | undefined;
|
|
4583
4664
|
wrap?: boolean | undefined;
|
|
@@ -4712,7 +4793,7 @@ declare module '@elastic/eui/src/components/flex/flex_item' {
|
|
|
4712
4793
|
export const EuiFlexItem: (<TComponent extends React.ElementType, TComponentRef = React.ReactElement<any, TComponent>>(props: {
|
|
4713
4794
|
children?: React.ReactNode;
|
|
4714
4795
|
} & CommonProps & React.PropsWithoutRef<React.ComponentProps<TComponent>> & {
|
|
4715
|
-
grow?: boolean | 0 |
|
|
4796
|
+
grow?: boolean | 0 | 2 | 1 | 3 | 8 | 6 | 4 | 5 | 7 | 9 | 10 | null | undefined;
|
|
4716
4797
|
/**
|
|
4717
4798
|
* Customize the component type that is rendered.
|
|
4718
4799
|
*
|
|
@@ -5688,7 +5769,7 @@ declare module '@elastic/eui/src/components/panel/panel' {
|
|
|
5688
5769
|
import { ButtonHTMLAttributes, FunctionComponent, HTMLAttributes, Ref } from 'react';
|
|
5689
5770
|
import { _EuiBackgroundColor, EuiPaddingSize } from '@elastic/eui/src/global_styling';
|
|
5690
5771
|
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
5691
|
-
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "
|
|
5772
|
+
export const SIZES: readonly ["none", "xs", "s", "m", "l", "xl"]; const _SIZES: ("s" | "xs" | "m" | "l" | "xl" | "none")[];
|
|
5692
5773
|
export type PanelPaddingSize = (typeof _SIZES)[number];
|
|
5693
5774
|
export const BORDER_RADII: readonly ["none", "m"];
|
|
5694
5775
|
export type PanelBorderRadius = (typeof BORDER_RADII)[number];
|
|
@@ -6793,98 +6874,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6793
6874
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6794
6875
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6795
6876
|
|
|
6796
|
-
}
|
|
6797
|
-
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6798
|
-
export const wcagContrastMin = 4.5;
|
|
6799
|
-
/**
|
|
6800
|
-
* Creates a new color that meets or exceeds WCAG level AA
|
|
6801
|
-
* @param foreground - Color to manipulate
|
|
6802
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6803
|
-
* *
|
|
6804
|
-
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
6805
|
-
*/
|
|
6806
|
-
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
6807
|
-
[key: string]: any;
|
|
6808
|
-
colors: {
|
|
6809
|
-
body: string;
|
|
6810
|
-
};
|
|
6811
|
-
}) => string;
|
|
6812
|
-
/**
|
|
6813
|
-
* Creates a new color with increased contrast
|
|
6814
|
-
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
6815
|
-
* @param foreground - Color to manipulate
|
|
6816
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6817
|
-
* *
|
|
6818
|
-
* @param themeOrBackground - Color to use as the contrast basis
|
|
6819
|
-
*/
|
|
6820
|
-
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
6821
|
-
[key: string]: any;
|
|
6822
|
-
colors: {
|
|
6823
|
-
body: string;
|
|
6824
|
-
};
|
|
6825
|
-
}) => string;
|
|
6826
|
-
|
|
6827
|
-
}
|
|
6828
|
-
declare module '@elastic/eui/src/services/color' {
|
|
6829
|
-
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6830
|
-
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6831
|
-
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6832
|
-
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6833
|
-
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6834
|
-
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6835
|
-
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6836
|
-
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6837
|
-
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6838
|
-
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6839
|
-
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6840
|
-
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6841
|
-
export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
|
|
6842
|
-
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6843
|
-
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6844
|
-
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6845
|
-
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6846
|
-
export * from '@elastic/eui/src/services/color/contrast';
|
|
6847
|
-
|
|
6848
|
-
}
|
|
6849
|
-
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6850
|
-
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6851
|
-
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6852
|
-
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6853
|
-
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
6854
|
-
theme?: EuiThemeSystem<T>;
|
|
6855
|
-
colorMode?: EuiThemeColorMode;
|
|
6856
|
-
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
6857
|
-
modify?: EuiThemeModifications<T>;
|
|
6858
|
-
children: any;
|
|
6859
|
-
/**
|
|
6860
|
-
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
6861
|
-
* set the default text `color` that all nested children will inherit.
|
|
6862
|
-
*
|
|
6863
|
-
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
6864
|
-
* This requires a **single** child component that the correct color class can be passed to.
|
|
6865
|
-
*
|
|
6866
|
-
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
6867
|
-
* the default inherited text color will be set on the page `body`.
|
|
6868
|
-
*/
|
|
6869
|
-
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
6870
|
-
cloneElement?: boolean;
|
|
6871
|
-
};
|
|
6872
|
-
}
|
|
6873
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6874
|
-
|
|
6875
|
-
}
|
|
6876
|
-
declare module '@elastic/eui/src/services/theme' {
|
|
6877
|
-
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6878
|
-
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6879
|
-
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
|
|
6880
|
-
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
6881
|
-
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
6882
|
-
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6883
|
-
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6884
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6885
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6886
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6887
|
-
|
|
6888
6877
|
}
|
|
6889
6878
|
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6890
6879
|
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
@@ -6951,227 +6940,96 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
6951
6940
|
export const brighten: (color: string, amount: number) => string;
|
|
6952
6941
|
|
|
6953
6942
|
}
|
|
6954
|
-
declare module '@elastic/eui/src/
|
|
6955
|
-
|
|
6956
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
6957
|
-
* They are mapped to other vis colors
|
|
6958
|
-
*/
|
|
6959
|
-
export const severityColors: {
|
|
6960
|
-
unknown: string;
|
|
6961
|
-
neutral: string;
|
|
6962
|
-
success: string;
|
|
6963
|
-
warning: string;
|
|
6964
|
-
risk: string;
|
|
6965
|
-
danger: string;
|
|
6966
|
-
};
|
|
6967
|
-
|
|
6968
|
-
}
|
|
6969
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
6970
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
6971
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
6972
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
6973
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
6974
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
6975
|
-
export const text_colors: _EuiThemeTextColors;
|
|
6976
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
6977
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
6978
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
6979
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
6980
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
6981
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
6982
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
6983
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
6984
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
6985
|
-
export const colors: _EuiThemeColors;
|
|
6986
|
-
|
|
6987
|
-
}
|
|
6988
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
6989
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
6990
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
6991
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
6992
|
-
export const animation: _EuiThemeAnimation;
|
|
6993
|
-
|
|
6994
|
-
}
|
|
6995
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
6996
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
6997
|
-
|
|
6998
|
-
}
|
|
6999
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
7000
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
7001
|
-
export const base: _EuiThemeBase;
|
|
7002
|
-
export const size: _EuiThemeSizes;
|
|
7003
|
-
|
|
7004
|
-
}
|
|
7005
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
7006
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
7007
|
-
export const border: _EuiThemeBorder;
|
|
7008
|
-
|
|
7009
|
-
}
|
|
7010
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
7011
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
7012
|
-
export const levels: _EuiThemeLevels;
|
|
7013
|
-
|
|
7014
|
-
}
|
|
7015
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
7016
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
7017
|
-
export const fontScale: _EuiThemeFontScales;
|
|
7018
|
-
export const fontBase: _EuiThemeFontBase;
|
|
7019
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
7020
|
-
export const font: _EuiThemeFont;
|
|
7021
|
-
|
|
7022
|
-
}
|
|
7023
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
7024
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
7025
|
-
export const focus: _EuiThemeFocus;
|
|
7026
|
-
|
|
7027
|
-
}
|
|
7028
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7029
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7030
|
-
export const buttons: _EuiThemeButton;
|
|
7031
|
-
|
|
7032
|
-
}
|
|
7033
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7034
|
-
export const forms: {
|
|
7035
|
-
maxWidth: string;
|
|
7036
|
-
LIGHT: {
|
|
7037
|
-
background: string;
|
|
7038
|
-
backgroundDisabled: string;
|
|
7039
|
-
backgroundReadOnly: any;
|
|
7040
|
-
backgroundFocused: any;
|
|
7041
|
-
backgroundAutofilled: string;
|
|
7042
|
-
prependBackground: string;
|
|
7043
|
-
border: string;
|
|
7044
|
-
borderAutofilled: string;
|
|
7045
|
-
controlBorder: string;
|
|
7046
|
-
controlBorderSelected: string;
|
|
7047
|
-
controlBorderDisabled: string;
|
|
7048
|
-
controlBackgroundUnselected: any;
|
|
7049
|
-
controlBackgroundDisabled: any;
|
|
7050
|
-
colorHasPlaceholder: string;
|
|
7051
|
-
colorDisabled: any;
|
|
7052
|
-
iconDisabled: any;
|
|
7053
|
-
};
|
|
7054
|
-
DARK: {
|
|
7055
|
-
background: string;
|
|
7056
|
-
backgroundFocused: string;
|
|
7057
|
-
backgroundAutofilled: string;
|
|
7058
|
-
prependBackground: string;
|
|
7059
|
-
border: string;
|
|
7060
|
-
controlBorder: string;
|
|
7061
|
-
controlBorderSelected: string;
|
|
7062
|
-
controlBorderDisabled: string;
|
|
7063
|
-
backgroundDisabled: string;
|
|
7064
|
-
backgroundReadOnly: any;
|
|
7065
|
-
borderAutofilled: string;
|
|
7066
|
-
controlBackgroundUnselected: any;
|
|
7067
|
-
controlBackgroundDisabled: any;
|
|
7068
|
-
colorHasPlaceholder: string;
|
|
7069
|
-
colorDisabled: any;
|
|
7070
|
-
iconDisabled: any;
|
|
7071
|
-
};
|
|
7072
|
-
};
|
|
7073
|
-
|
|
7074
|
-
}
|
|
7075
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
7076
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
7077
|
-
export const components: _EuiThemeComponents;
|
|
7078
|
-
|
|
7079
|
-
}
|
|
7080
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
7081
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
7082
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
7083
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
7084
|
-
export const EuiThemeAmsterdam: {
|
|
7085
|
-
model: EuiThemeShape;
|
|
7086
|
-
root: EuiThemeShape;
|
|
7087
|
-
key: string;
|
|
7088
|
-
};
|
|
7089
|
-
|
|
7090
|
-
}
|
|
7091
|
-
declare module '@elastic/eui/src/services/theme/context' {
|
|
7092
|
-
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7093
|
-
export const DEFAULTS: {
|
|
7094
|
-
system: {
|
|
7095
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7096
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7097
|
-
key: string;
|
|
7098
|
-
};
|
|
7099
|
-
modifications: {};
|
|
7100
|
-
colorMode: "LIGHT";
|
|
7101
|
-
highContrastMode: false;
|
|
7102
|
-
};
|
|
7103
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem<{}>>;
|
|
7104
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
7105
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides | undefined;
|
|
7106
|
-
}>>;
|
|
7107
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7108
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7109
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7110
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed<{}>>;
|
|
7111
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7112
|
-
|
|
7113
|
-
}
|
|
7114
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
7115
|
-
import React from 'react';
|
|
7116
|
-
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
7117
|
-
/**
|
|
7118
|
-
* Hook for function components
|
|
7119
|
-
*/
|
|
7120
|
-
export interface UseEuiTheme<T extends {} = {}> {
|
|
7121
|
-
euiTheme: EuiThemeComputed<T>;
|
|
7122
|
-
colorMode: EuiThemeColorModeStandard;
|
|
7123
|
-
highContrastMode: EuiThemeHighContrastMode;
|
|
7124
|
-
modifications: EuiThemeModifications<T>;
|
|
7125
|
-
}
|
|
7126
|
-
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
7127
|
-
/**
|
|
7128
|
-
* HOC for class components
|
|
7129
|
-
*/
|
|
7130
|
-
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
7131
|
-
theme: UseEuiTheme<P>;
|
|
7132
|
-
}
|
|
7133
|
-
export const withEuiTheme: <T extends {} = {}, U extends {} = {}>(Component: React.ComponentType<T & WithEuiThemeProps<U>>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<T, "theme">> & React.RefAttributes<Omit<T, "theme">>>;
|
|
6943
|
+
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6944
|
+
export const wcagContrastMin = 4.5;
|
|
7134
6945
|
/**
|
|
7135
|
-
*
|
|
7136
|
-
*
|
|
6946
|
+
* Creates a new color that meets or exceeds WCAG level AA
|
|
6947
|
+
* @param foreground - Color to manipulate
|
|
6948
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6949
|
+
* *
|
|
6950
|
+
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
7137
6951
|
*/
|
|
7138
|
-
export const
|
|
7139
|
-
|
|
7140
|
-
|
|
6952
|
+
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
6953
|
+
[key: string]: any;
|
|
6954
|
+
colors: {
|
|
6955
|
+
body: string;
|
|
6956
|
+
};
|
|
6957
|
+
}) => string;
|
|
7141
6958
|
/**
|
|
7142
|
-
*
|
|
7143
|
-
*
|
|
6959
|
+
* Creates a new color with increased contrast
|
|
6960
|
+
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
6961
|
+
* @param foreground - Color to manipulate
|
|
6962
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6963
|
+
* *
|
|
6964
|
+
* @param themeOrBackground - Color to use as the contrast basis
|
|
7144
6965
|
*/
|
|
7145
|
-
export const
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
};
|
|
6966
|
+
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
6967
|
+
[key: string]: any;
|
|
6968
|
+
colors: {
|
|
6969
|
+
body: string;
|
|
6970
|
+
};
|
|
6971
|
+
}) => string;
|
|
7151
6972
|
|
|
7152
6973
|
}
|
|
7153
|
-
declare module '@elastic/eui/src/services/
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
export
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
export
|
|
7164
|
-
export {};
|
|
6974
|
+
declare module '@elastic/eui/src/services/color' {
|
|
6975
|
+
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6976
|
+
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6977
|
+
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6978
|
+
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6979
|
+
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6980
|
+
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6981
|
+
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6982
|
+
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6983
|
+
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6984
|
+
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6985
|
+
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6986
|
+
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6987
|
+
export { euiPaletteForLightBackground, euiPaletteForDarkBackground, euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteComplementary, euiPaletteRed, euiPaletteGreen, euiPaletteCool, euiPaletteWarm, euiPaletteGray, type EuiPaletteColorBlindProps, type EuiPaletteRotationProps, type EuiPaletteCommonProps, } from '@elastic/eui/src/services/color/eui_palettes';
|
|
6988
|
+
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6989
|
+
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6990
|
+
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6991
|
+
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6992
|
+
export * from '@elastic/eui/src/services/color/contrast';
|
|
7165
6993
|
|
|
7166
6994
|
}
|
|
7167
|
-
declare module '@elastic/eui/src/services/
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
6995
|
+
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6996
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6997
|
+
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6998
|
+
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6999
|
+
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
7000
|
+
theme?: EuiThemeSystem<T>;
|
|
7001
|
+
colorMode?: EuiThemeColorMode;
|
|
7002
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
7003
|
+
modify?: EuiThemeModifications<T>;
|
|
7004
|
+
children: any;
|
|
7005
|
+
/**
|
|
7006
|
+
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
7007
|
+
* set the default text `color` that all nested children will inherit.
|
|
7008
|
+
*
|
|
7009
|
+
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
7010
|
+
* This requires a **single** child component that the correct color class can be passed to.
|
|
7011
|
+
*
|
|
7012
|
+
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
7013
|
+
* the default inherited text color will be set on the page `body`.
|
|
7014
|
+
*/
|
|
7015
|
+
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
7016
|
+
cloneElement?: boolean;
|
|
7017
|
+
};
|
|
7018
|
+
}
|
|
7019
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
7020
|
+
|
|
7021
|
+
}
|
|
7022
|
+
declare module '@elastic/eui/src/services/theme' {
|
|
7023
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
7024
|
+
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
7025
|
+
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, } from '@elastic/eui/src/services/theme/hooks';
|
|
7026
|
+
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
7027
|
+
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
7028
|
+
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
7029
|
+
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
7030
|
+
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7031
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7032
|
+
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7175
7033
|
|
|
7176
7034
|
}
|
|
7177
7035
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -12572,6 +12430,11 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12572
12430
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12573
12431
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12574
12432
|
|
|
12433
|
+
}
|
|
12434
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12435
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12436
|
+
export const colorVis: _EuiThemeVisColors;
|
|
12437
|
+
|
|
12575
12438
|
}
|
|
12576
12439
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12577
12440
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12581,6 +12444,143 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12581
12444
|
provider?: EuiThemeSystem;
|
|
12582
12445
|
}
|
|
12583
12446
|
|
|
12447
|
+
}
|
|
12448
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12449
|
+
/**
|
|
12450
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
12451
|
+
* They are mapped to other vis colors
|
|
12452
|
+
*/
|
|
12453
|
+
export const severityColors: {
|
|
12454
|
+
unknown: string;
|
|
12455
|
+
neutral: string;
|
|
12456
|
+
success: string;
|
|
12457
|
+
warning: string;
|
|
12458
|
+
risk: string;
|
|
12459
|
+
danger: string;
|
|
12460
|
+
};
|
|
12461
|
+
|
|
12462
|
+
}
|
|
12463
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12464
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12465
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
12466
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12467
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
12468
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
12469
|
+
export const text_colors: _EuiThemeTextColors;
|
|
12470
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
12471
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12472
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
12473
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
12474
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
12475
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12476
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12477
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12478
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12479
|
+
export const colors: _EuiThemeColors;
|
|
12480
|
+
|
|
12481
|
+
}
|
|
12482
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12483
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12484
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12485
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12486
|
+
export const animation: _EuiThemeAnimation;
|
|
12487
|
+
|
|
12488
|
+
}
|
|
12489
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12490
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12491
|
+
|
|
12492
|
+
}
|
|
12493
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12494
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12495
|
+
export const base: _EuiThemeBase;
|
|
12496
|
+
export const size: _EuiThemeSizes;
|
|
12497
|
+
|
|
12498
|
+
}
|
|
12499
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12500
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12501
|
+
export const border: _EuiThemeBorder;
|
|
12502
|
+
|
|
12503
|
+
}
|
|
12504
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12505
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12506
|
+
export const levels: _EuiThemeLevels;
|
|
12507
|
+
|
|
12508
|
+
}
|
|
12509
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12510
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12511
|
+
export const fontScale: _EuiThemeFontScales;
|
|
12512
|
+
export const fontBase: _EuiThemeFontBase;
|
|
12513
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
12514
|
+
export const font: _EuiThemeFont;
|
|
12515
|
+
|
|
12516
|
+
}
|
|
12517
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12518
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12519
|
+
export const focus: _EuiThemeFocus;
|
|
12520
|
+
|
|
12521
|
+
}
|
|
12522
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12523
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12524
|
+
export const buttons: _EuiThemeButton;
|
|
12525
|
+
|
|
12526
|
+
}
|
|
12527
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12528
|
+
export const forms: {
|
|
12529
|
+
maxWidth: string;
|
|
12530
|
+
LIGHT: {
|
|
12531
|
+
background: string;
|
|
12532
|
+
backgroundDisabled: string;
|
|
12533
|
+
backgroundReadOnly: any;
|
|
12534
|
+
backgroundFocused: any;
|
|
12535
|
+
backgroundAutofilled: string;
|
|
12536
|
+
prependBackground: string;
|
|
12537
|
+
border: string;
|
|
12538
|
+
borderAutofilled: string;
|
|
12539
|
+
controlBorder: string;
|
|
12540
|
+
controlBorderSelected: string;
|
|
12541
|
+
controlBorderDisabled: string;
|
|
12542
|
+
controlBackgroundUnselected: any;
|
|
12543
|
+
controlBackgroundDisabled: any;
|
|
12544
|
+
colorHasPlaceholder: string;
|
|
12545
|
+
colorDisabled: any;
|
|
12546
|
+
iconDisabled: any;
|
|
12547
|
+
};
|
|
12548
|
+
DARK: {
|
|
12549
|
+
background: string;
|
|
12550
|
+
backgroundFocused: string;
|
|
12551
|
+
backgroundAutofilled: string;
|
|
12552
|
+
prependBackground: string;
|
|
12553
|
+
border: string;
|
|
12554
|
+
controlBorder: string;
|
|
12555
|
+
controlBorderSelected: string;
|
|
12556
|
+
controlBorderDisabled: string;
|
|
12557
|
+
backgroundDisabled: string;
|
|
12558
|
+
backgroundReadOnly: any;
|
|
12559
|
+
borderAutofilled: string;
|
|
12560
|
+
controlBackgroundUnselected: any;
|
|
12561
|
+
controlBackgroundDisabled: any;
|
|
12562
|
+
colorHasPlaceholder: string;
|
|
12563
|
+
colorDisabled: any;
|
|
12564
|
+
iconDisabled: any;
|
|
12565
|
+
};
|
|
12566
|
+
};
|
|
12567
|
+
|
|
12568
|
+
}
|
|
12569
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12570
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12571
|
+
export const components: _EuiThemeComponents;
|
|
12572
|
+
|
|
12573
|
+
}
|
|
12574
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12575
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12576
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12577
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12578
|
+
export const EuiThemeAmsterdam: {
|
|
12579
|
+
model: EuiThemeShape;
|
|
12580
|
+
root: EuiThemeShape;
|
|
12581
|
+
key: string;
|
|
12582
|
+
};
|
|
12583
|
+
|
|
12584
12584
|
}
|
|
12585
12585
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12586
12586
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14487,7 +14487,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14487
14487
|
/**
|
|
14488
14488
|
* Height types
|
|
14489
14489
|
*/
|
|
14490
|
-
getHeightType: (option?: EuiDataGridRowHeightOption | undefined) => "
|
|
14490
|
+
getHeightType: (option?: EuiDataGridRowHeightOption | undefined) => "auto" | "default" | "lineCount" | "numerical";
|
|
14491
14491
|
/**
|
|
14492
14492
|
* Line count utils
|
|
14493
14493
|
*/
|
|
@@ -18285,7 +18285,7 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
|
|
|
18285
18285
|
declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty_interval' {
|
|
18286
18286
|
export const usePrettyInterval: (isPaused: boolean, intervalInMs: number, options?: {
|
|
18287
18287
|
shortHand?: boolean | undefined;
|
|
18288
|
-
unit?: "s" | "
|
|
18288
|
+
unit?: "s" | "m" | "h" | "d" | undefined;
|
|
18289
18289
|
} | undefined) => string;
|
|
18290
18290
|
|
|
18291
18291
|
}
|
|
@@ -21578,7 +21578,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21578
21578
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21579
21579
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21580
21580
|
/**
|
|
21581
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21581
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
|
|
21582
21582
|
* Pass `null` to remove all theming including global reset
|
|
21583
21583
|
*/
|
|
21584
21584
|
theme?: EuiThemeSystem | null;
|
|
@@ -22838,13 +22838,13 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22838
22838
|
slot?: string | undefined;
|
|
22839
22839
|
style?: React.CSSProperties | undefined;
|
|
22840
22840
|
title?: string | undefined;
|
|
22841
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
22842
22841
|
width: number | undefined;
|
|
22843
22842
|
color?: string | undefined;
|
|
22844
22843
|
content?: string | undefined;
|
|
22844
|
+
hidden?: boolean | undefined;
|
|
22845
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
22845
22846
|
translate?: "yes" | "no" | undefined;
|
|
22846
22847
|
property?: string | undefined;
|
|
22847
|
-
hidden?: boolean | undefined;
|
|
22848
22848
|
className?: string | undefined;
|
|
22849
22849
|
defaultChecked?: boolean | undefined;
|
|
22850
22850
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -22886,7 +22886,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22886
22886
|
is?: string | undefined;
|
|
22887
22887
|
"aria-activedescendant"?: string | undefined;
|
|
22888
22888
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
22889
|
-
"aria-autocomplete"?: "
|
|
22889
|
+
"aria-autocomplete"?: "none" | "both" | "inline" | "list" | undefined;
|
|
22890
22890
|
"aria-braillelabel"?: string | undefined;
|
|
22891
22891
|
"aria-brailleroledescription"?: string | undefined;
|
|
22892
22892
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -22901,7 +22901,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
22901
22901
|
"aria-description"?: string | undefined;
|
|
22902
22902
|
"aria-details"?: string | undefined;
|
|
22903
22903
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
22904
|
-
"aria-dropeffect"?: "link" | "
|
|
22904
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
22905
22905
|
"aria-errormessage"?: string | undefined;
|
|
22906
22906
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
22907
22907
|
"aria-flowto"?: string | undefined;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EuiProvider = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
var _services = require("../../services");
|
|
10
10
|
var _warning = require("../../services/theme/warning");
|
|
11
11
|
var _css = require("../../services/emotion/css");
|
|
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
|
|
|
33
33
|
var _ref$cache = _ref.cache,
|
|
34
34
|
cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
|
|
35
35
|
_ref$theme = _ref.theme,
|
|
36
|
-
theme = _ref$theme === void 0 ?
|
|
36
|
+
theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
|
|
37
37
|
_ref$globalStyles = _ref.globalStyles,
|
|
38
38
|
Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
|
|
39
39
|
_ref$utilityClasses = _ref.utilityClasses,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EUI_VIS_COLOR_STORE = void 0;
|
|
7
7
|
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
/*
|
|
10
10
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
11
11
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -15,4 +15,4 @@ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colo
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
// initialsetup of Vis color storage with default colors
|
|
18
|
-
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(
|
|
18
|
+
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
10
|
/*
|
|
11
11
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -16,7 +16,7 @@ var _utils = require("./utils");
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var DEFAULTS = exports.DEFAULTS = {
|
|
19
|
-
system:
|
|
19
|
+
system: _euiThemeBorealis.EuiThemeBorealis,
|
|
20
20
|
modifications: {},
|
|
21
21
|
colorMode: _utils.DEFAULT_COLOR_MODE,
|
|
22
22
|
highContrastMode: false
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
import { EuiThemeProvider } from '../../services';
|
|
12
12
|
import { emitEuiProviderWarning } from '../../services/theme/warning';
|
|
13
13
|
import { cache as fallbackCache } from '../../services/emotion/css';
|
|
@@ -26,7 +26,7 @@ export var EuiProvider = function EuiProvider(_ref) {
|
|
|
26
26
|
var _ref$cache = _ref.cache,
|
|
27
27
|
cache = _ref$cache === void 0 ? fallbackCache : _ref$cache,
|
|
28
28
|
_ref$theme = _ref.theme,
|
|
29
|
-
theme = _ref$theme === void 0 ?
|
|
29
|
+
theme = _ref$theme === void 0 ? EuiThemeBorealis : _ref$theme,
|
|
30
30
|
_ref$globalStyles = _ref.globalStyles,
|
|
31
31
|
Globals = _ref$globalStyles === void 0 ? EuiGlobalStyles : _ref$globalStyles,
|
|
32
32
|
_ref$utilityClasses = _ref.utilityClasses,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
10
|
-
import { colorVis } from '
|
|
10
|
+
import { colorVis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
|
|
12
12
|
// initialsetup of Vis color storage with default colors
|
|
13
13
|
export var EUI_VIS_COLOR_STORE = EuiVisColorStore.getInstance(colorVis, true);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { createContext } from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
|
|
11
11
|
import { DEFAULT_COLOR_MODE, getComputed } from './utils';
|
|
12
12
|
export var DEFAULTS = {
|
|
13
|
-
system:
|
|
13
|
+
system: EuiThemeBorealis,
|
|
14
14
|
modifications: {},
|
|
15
15
|
colorMode: DEFAULT_COLOR_MODE,
|
|
16
16
|
highContrastMode: false
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.EuiProvider = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
10
10
|
var _services = require("../../services");
|
|
11
11
|
var _warning = require("../../services/theme/warning");
|
|
12
12
|
var _css = require("../../services/emotion/css");
|
|
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
|
|
|
33
33
|
var _ref$cache = _ref.cache,
|
|
34
34
|
cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
|
|
35
35
|
_ref$theme = _ref.theme,
|
|
36
|
-
theme = _ref$theme === void 0 ?
|
|
36
|
+
theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
|
|
37
37
|
_ref$globalStyles = _ref.globalStyles,
|
|
38
38
|
Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
|
|
39
39
|
_ref$utilityClasses = _ref.utilityClasses,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EUI_VIS_COLOR_STORE = void 0;
|
|
7
7
|
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
/*
|
|
10
10
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
11
11
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -15,4 +15,4 @@ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colo
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
// initialsetup of Vis color storage with default colors
|
|
18
|
-
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(
|
|
18
|
+
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
10
|
/*
|
|
11
11
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -16,7 +16,7 @@ var _utils = require("./utils");
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var DEFAULTS = exports.DEFAULTS = {
|
|
19
|
-
system:
|
|
19
|
+
system: _euiThemeBorealis.EuiThemeBorealis,
|
|
20
20
|
modifications: {},
|
|
21
21
|
colorMode: _utils.DEFAULT_COLOR_MODE,
|
|
22
22
|
highContrastMode: false
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.EuiProvider = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
10
10
|
var _services = require("../../services");
|
|
11
11
|
var _warning = require("../../services/theme/warning");
|
|
12
12
|
var _css = require("../../services/emotion/css");
|
|
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
|
|
|
33
33
|
var _ref$cache = _ref.cache,
|
|
34
34
|
cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
|
|
35
35
|
_ref$theme = _ref.theme,
|
|
36
|
-
theme = _ref$theme === void 0 ?
|
|
36
|
+
theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
|
|
37
37
|
_ref$globalStyles = _ref.globalStyles,
|
|
38
38
|
Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
|
|
39
39
|
_ref$utilityClasses = _ref.utilityClasses,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EUI_VIS_COLOR_STORE = void 0;
|
|
7
7
|
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
/*
|
|
10
10
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
11
11
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -15,4 +15,4 @@ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colo
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
// initialsetup of Vis color storage with default colors
|
|
18
|
-
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(
|
|
18
|
+
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var
|
|
8
|
+
var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
10
|
/*
|
|
11
11
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -16,7 +16,7 @@ var _utils = require("./utils");
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var DEFAULTS = exports.DEFAULTS = {
|
|
19
|
-
system:
|
|
19
|
+
system: _euiThemeBorealis.EuiThemeBorealis,
|
|
20
20
|
modifications: {},
|
|
21
21
|
colorMode: _utils.DEFAULT_COLOR_MODE,
|
|
22
22
|
highContrastMode: false
|