@elastic/eui 102.2.0-amsterdam.0 → 102.2.0-snapshot.1748601905883
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_borealis_dark.json +1 -1
- package/es/components/badge/color_utils.js +1 -3
- package/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/es/components/basic_table/basic_table.js +4 -1
- package/es/components/basic_table/in_memory_table.js +4 -1
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display.styles.js +11 -2
- package/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/es/components/button/button_group/button_group.styles.js +5 -3
- package/es/components/button/button_group/button_group_button.js +19 -9
- package/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/es/components/button/button_icon/button_icon.js +4 -2
- package/es/components/collapsible_nav/collapsible_nav.js +1 -0
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/es/components/datagrid/utils/focus.js +2 -2
- package/es/components/filter_group/filter_button.js +88 -23
- package/es/components/filter_group/filter_button.styles.js +51 -15
- package/es/components/filter_group/filter_group.styles.js +18 -6
- package/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/es/components/provider/provider.js +2 -2
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/es/components/search_bar/filters/is_filter.js +3 -1
- package/es/components/search_bar/search_bar.a11y.js +3 -3
- package/es/global_styling/mixins/_button.js +95 -28
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/services/theme/index.js +2 -1
- package/es/services/theme/provider.js +28 -2
- package/es/services/theme/theme_variant.js +22 -0
- package/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/es/themes/amsterdam/theme.js +2 -1
- package/es/themes/json/eui_theme_borealis_dark.json +1 -1
- package/eui.d.ts +557 -524
- package/lib/components/badge/color_utils.js +1 -3
- package/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/lib/components/basic_table/basic_table.js +4 -1
- package/lib/components/basic_table/in_memory_table.js +4 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/lib/components/button/button_group/button_group.styles.js +5 -3
- package/lib/components/button/button_group/button_group_button.js +18 -8
- package/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/lib/components/button/button_icon/button_icon.js +3 -1
- package/lib/components/collapsible_nav/collapsible_nav.js +1 -0
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/lib/components/datagrid/utils/focus.js +1 -1
- package/lib/components/filter_group/filter_button.js +86 -21
- package/lib/components/filter_group/filter_button.styles.js +51 -15
- package/lib/components/filter_group/filter_group.styles.js +18 -6
- package/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/lib/components/search_bar/filters/is_filter.js +3 -1
- package/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/lib/global_styling/mixins/_button.js +94 -27
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/lib/services/theme/index.js +42 -1
- package/lib/services/theme/provider.js +28 -2
- package/lib/services/theme/theme_variant.js +28 -0
- package/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/lib/themes/amsterdam/theme.js +2 -1
- package/lib/themes/json/eui_theme_borealis_dark.json +1 -1
- package/optimize/es/components/badge/color_utils.js +1 -3
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
- package/optimize/es/components/button/button_display/_button_display.js +1 -1
- package/optimize/es/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/es/components/button/button_empty/button_empty.styles.js +9 -12
- package/optimize/es/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/es/components/button/button_group/button_group_button.js +12 -8
- package/optimize/es/components/button/button_group/button_group_button.styles.js +43 -19
- package/optimize/es/components/button/button_icon/button_icon.js +4 -2
- package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/es/components/datagrid/utils/focus.js +2 -2
- package/optimize/es/components/filter_group/filter_button.js +78 -21
- package/optimize/es/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/es/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/es/components/markdown_editor/markdown_editor_footer.js +9 -4
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/es/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/es/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/es/global_styling/mixins/_button.js +95 -28
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/es/services/theme/index.js +2 -1
- package/optimize/es/services/theme/provider.js +28 -2
- package/optimize/es/services/theme/theme_variant.js +22 -0
- package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/es/themes/amsterdam/theme.js +2 -1
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +1 -1
- package/optimize/lib/components/badge/color_utils.js +1 -3
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/optimize/lib/components/button/button_display/_button_display.js +1 -1
- package/optimize/lib/components/button/button_display/_button_display.styles.js +11 -2
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +6 -3
- package/optimize/lib/components/button/button_empty/button_empty.styles.js +10 -11
- package/optimize/lib/components/button/button_group/button_group.styles.js +5 -3
- package/optimize/lib/components/button/button_group/button_group_button.js +11 -7
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +41 -17
- package/optimize/lib/components/button/button_icon/button_icon.js +3 -1
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/optimize/lib/components/datagrid/utils/focus.js +1 -1
- package/optimize/lib/components/filter_group/filter_button.js +76 -19
- package/optimize/lib/components/filter_group/filter_button.styles.js +51 -15
- package/optimize/lib/components/filter_group/filter_group.styles.js +18 -6
- package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/optimize/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/optimize/lib/components/search_bar/filters/is_filter.js +3 -1
- package/optimize/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/lib/global_styling/mixins/_button.js +94 -27
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/context.js +2 -2
- package/optimize/lib/services/theme/index.js +42 -1
- package/optimize/lib/services/theme/provider.js +28 -2
- package/optimize/lib/services/theme/theme_variant.js +28 -0
- package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/optimize/lib/themes/amsterdam/theme.js +2 -1
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +1 -1
- package/package.json +6 -5
- package/test-env/components/badge/color_utils.js +1 -3
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +6 -1
- package/test-env/components/basic_table/basic_table.js +4 -1
- package/test-env/components/basic_table/in_memory_table.js +4 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display.styles.js +11 -2
- package/test-env/components/button/button_display/_button_display_content.styles.js +6 -3
- package/test-env/components/button/button_empty/button_empty.styles.js +10 -11
- package/test-env/components/button/button_group/button_group.styles.js +5 -3
- package/test-env/components/button/button_group/button_group_button.js +18 -8
- package/test-env/components/button/button_group/button_group_button.styles.js +41 -17
- package/test-env/components/button/button_icon/button_icon.js +3 -1
- package/test-env/components/collapsible_nav/collapsible_nav.js +1 -0
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
- package/test-env/components/datagrid/utils/focus.js +1 -1
- package/test-env/components/filter_group/filter_button.js +86 -21
- package/test-env/components/filter_group/filter_button.styles.js +51 -15
- package/test-env/components/filter_group/filter_group.styles.js +18 -6
- package/test-env/components/markdown_editor/markdown_editor_footer.js +8 -3
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -0
- package/test-env/components/search_bar/filters/field_value_toggle_filter.js +3 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
- package/test-env/components/search_bar/filters/is_filter.js +3 -1
- package/test-env/components/search_bar/search_bar.a11y.js +3 -3
- package/test-env/global_styling/mixins/_button.js +94 -27
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/context.js +2 -2
- package/test-env/services/theme/index.js +42 -1
- package/test-env/services/theme/provider.js +28 -2
- package/test-env/services/theme/theme_variant.js +28 -0
- package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +229 -224
- package/test-env/themes/amsterdam/theme.js +2 -1
- package/test-env/themes/json/eui_theme_borealis_dark.json +1 -1
package/eui.d.ts
CHANGED
|
@@ -171,13 +171,124 @@ 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
|
+
|
|
174
178
|
}
|
|
175
179
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
176
180
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
177
181
|
|
|
178
182
|
}
|
|
179
|
-
declare module '@elastic/eui/src/services/theme/
|
|
180
|
-
|
|
183
|
+
declare module '@elastic/eui/src/services/theme/context' {
|
|
184
|
+
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
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;
|
|
181
292
|
|
|
182
293
|
}
|
|
183
294
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -276,10 +387,6 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
276
387
|
*/
|
|
277
388
|
export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
|
|
278
389
|
|
|
279
|
-
}
|
|
280
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
281
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
282
|
-
|
|
283
390
|
}
|
|
284
391
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
285
392
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -302,15 +409,6 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
302
409
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
303
410
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
304
411
|
|
|
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
|
-
|
|
314
412
|
}
|
|
315
413
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
316
414
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -507,11 +605,6 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
507
605
|
*/
|
|
508
606
|
categorical?: boolean): string[];
|
|
509
607
|
|
|
510
|
-
}
|
|
511
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
512
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
513
|
-
export const colorVis: _EuiThemeVisColors;
|
|
514
|
-
|
|
515
608
|
}
|
|
516
609
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
517
610
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -646,166 +739,37 @@ declare module '@elastic/eui/src/services/color/eui_palettes_hooks' {
|
|
|
646
739
|
export const useEuiPaletteGray: (steps: number) => EuiPalette;
|
|
647
740
|
|
|
648
741
|
}
|
|
649
|
-
declare module '@elastic/eui/src/global_styling/
|
|
650
|
-
import {
|
|
651
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
652
|
-
/** Tentative usage; these exist only to be used as button directly when used within other components */
|
|
653
|
-
export const SEVERITY_COLORS: readonly ["neutral", "risk"];
|
|
654
|
-
export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
|
|
655
|
-
export const EXTENDED_BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
|
|
656
|
-
export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
|
|
657
|
-
export type _EuiExtendedButtonColor = (typeof EXTENDED_BUTTON_COLORS)[number];
|
|
658
|
-
export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
|
|
659
|
-
export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
|
|
660
|
-
export interface _EuiButtonOptions {
|
|
661
|
-
display?: _EuiButtonDisplay;
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* Creates the `base` version of button styles with proper text contrast.
|
|
665
|
-
* @param euiThemeContext
|
|
666
|
-
* @param color One of the named button colors or 'disabled'
|
|
667
|
-
* @returns Style object `{ backgroundColor, color }`
|
|
668
|
-
*/
|
|
669
|
-
export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
670
|
-
border: string;
|
|
671
|
-
color: string;
|
|
672
|
-
backgroundColor: string;
|
|
673
|
-
} | {
|
|
674
|
-
border?: undefined;
|
|
675
|
-
color: string;
|
|
676
|
-
backgroundColor: string;
|
|
677
|
-
};
|
|
678
|
-
/**
|
|
679
|
-
* Creates the `fill` version of buttons styles with proper text contrast.
|
|
680
|
-
* @param euiThemeContext
|
|
681
|
-
* @param color One of the named button colors or 'disabled'
|
|
682
|
-
* @returns Style object `{ backgroundColor, color }`
|
|
683
|
-
*/
|
|
684
|
-
export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
685
|
-
border: string;
|
|
686
|
-
color: string;
|
|
687
|
-
backgroundColor: string;
|
|
688
|
-
} | {
|
|
689
|
-
border?: undefined;
|
|
690
|
-
color: string;
|
|
691
|
-
backgroundColor: string;
|
|
692
|
-
};
|
|
693
|
-
/**
|
|
694
|
-
* Creates the `empty` version of button styles using the text-variant and adding interactive styles.
|
|
695
|
-
* @param euiThemeContext
|
|
696
|
-
* @param color One of the named button colors or 'disabled'
|
|
697
|
-
* @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
|
|
698
|
-
*/
|
|
699
|
-
export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
700
|
-
color: string;
|
|
701
|
-
backgroundColor: string;
|
|
702
|
-
};
|
|
703
|
-
/**
|
|
704
|
-
* Given the button display type, returns the Emotion based color keys.
|
|
705
|
-
* @param options Button display type
|
|
706
|
-
* @returns An object of `_EuiExtendedButtonColor` keys including `disabled`
|
|
707
|
-
*/
|
|
708
|
-
export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
|
|
742
|
+
declare module '@elastic/eui/src/global_styling/functions/high_contrast' {
|
|
743
|
+
import type { UseEuiTheme } from '@elastic/eui/src/services';
|
|
709
744
|
/**
|
|
710
|
-
*
|
|
711
|
-
*
|
|
745
|
+
* Minor syntactical sugar for conditional high contrast styles.
|
|
746
|
+
* Ternaries are otherwise somewhat ugly in css`` template literals,
|
|
747
|
+
* and this makes life just a little more beautiful ✨
|
|
712
748
|
*/
|
|
713
|
-
export const
|
|
749
|
+
export const highContrastModeStyles: (euiThemeContext: UseEuiTheme, options: {
|
|
750
|
+
/** Default styles to render (no high contrast mode) */
|
|
751
|
+
none?: string;
|
|
752
|
+
/** Styles to render when high contrast mode is preferred or forced */
|
|
753
|
+
preferred?: string;
|
|
754
|
+
/** Styles to render when high contrast mode is being forced */
|
|
755
|
+
forced?: string;
|
|
756
|
+
}) => string;
|
|
714
757
|
/**
|
|
715
|
-
*
|
|
716
|
-
*
|
|
758
|
+
* Small uitility that allows component styles to ignore/override
|
|
759
|
+
* forced colors modes (primarily Windows high contrast themes)
|
|
760
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/forced-color-adjust
|
|
761
|
+
*
|
|
762
|
+
* WARNING: Do *not* use this utility unless:
|
|
763
|
+
* 1. Colors/backgrounds are **essential** to the semantic meaning of the UI,
|
|
764
|
+
* and users will lose all meaning without them
|
|
765
|
+
* 2. Tweaks have been made to existing styles to increase color contrast
|
|
766
|
+
* as necessary
|
|
717
767
|
*/
|
|
718
|
-
export const
|
|
719
|
-
xs: {
|
|
720
|
-
height: string;
|
|
721
|
-
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
722
|
-
fontScale: "xs";
|
|
723
|
-
};
|
|
724
|
-
s: {
|
|
725
|
-
height: string;
|
|
726
|
-
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
727
|
-
fontScale: "s";
|
|
728
|
-
};
|
|
729
|
-
m: {
|
|
730
|
-
height: string;
|
|
731
|
-
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
732
|
-
fontScale: "s";
|
|
733
|
-
};
|
|
734
|
-
};
|
|
768
|
+
export const preventForcedColors: ({ highContrastMode }: UseEuiTheme) => "" | "forced-color-adjust: none;";
|
|
735
769
|
|
|
736
770
|
}
|
|
737
|
-
declare module '@elastic/eui/src/global_styling/
|
|
738
|
-
import {
|
|
739
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
740
|
-
export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
|
|
741
|
-
export type _EuiBackgroundColor = (typeof BACKGROUND_COLORS)[number];
|
|
742
|
-
export interface _EuiBackgroundColorOptions {
|
|
743
|
-
/**
|
|
744
|
-
* Use `opaque` for containers of unknown content.
|
|
745
|
-
* Use `transparent` for interactive states like hover and focus.
|
|
746
|
-
*/
|
|
747
|
-
method?: 'opaque' | 'transparent';
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* @deprecated - use background tokens directly
|
|
751
|
-
* @returns A single background color with optional alpha transparency
|
|
752
|
-
*/
|
|
753
|
-
export const euiBackgroundColor: ({ euiTheme }: UseEuiTheme, color: _EuiBackgroundColor, { method }?: _EuiBackgroundColorOptions) => string;
|
|
754
|
-
/**
|
|
755
|
-
* @deprecated
|
|
756
|
-
*/
|
|
757
|
-
export const useEuiBackgroundColor: (color: _EuiBackgroundColor, { method }?: _EuiBackgroundColorOptions) => string;
|
|
758
|
-
/**
|
|
759
|
-
* Hook to retrieve background style for a background color variant
|
|
760
|
-
* @returns An object map of color keys to CSS,
|
|
761
|
-
* e.g. { danger: css``, success: css``, ... }
|
|
762
|
-
*/
|
|
763
|
-
export const useEuiBackgroundColorCSS: () => Record<"primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "neutral" | "risk" | "transparent" | "plain" | "subdued" | "highlighted", SerializedStyles>;
|
|
764
|
-
/**
|
|
765
|
-
* Border colors
|
|
766
|
-
* @deprecated - use border tokens directly or use
|
|
767
|
-
* `useEuiBorderColorCSS()` for composed styles
|
|
768
|
-
*/
|
|
769
|
-
export const euiBorderColor: ({ euiTheme }: UseEuiTheme, color: _EuiBackgroundColor) => string;
|
|
770
|
-
/**
|
|
771
|
-
* Hook to retrieve border style for a border variant
|
|
772
|
-
* @returns An object map of color keys to CSS,
|
|
773
|
-
* e.g. { danger: css``, success: css``, ... }
|
|
774
|
-
*/
|
|
775
|
-
export const useEuiBorderColorCSS: () => Record<"primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "neutral" | "risk" | "transparent" | "plain" | "subdued" | "highlighted", SerializedStyles>;
|
|
776
|
-
|
|
777
|
-
}
|
|
778
|
-
declare module '@elastic/eui/src/global_styling/functions/high_contrast' {
|
|
779
|
-
import type { UseEuiTheme } from '@elastic/eui/src/services';
|
|
780
|
-
/**
|
|
781
|
-
* Minor syntactical sugar for conditional high contrast styles.
|
|
782
|
-
* Ternaries are otherwise somewhat ugly in css`` template literals,
|
|
783
|
-
* and this makes life just a little more beautiful ✨
|
|
784
|
-
*/
|
|
785
|
-
export const highContrastModeStyles: (euiThemeContext: UseEuiTheme, options: {
|
|
786
|
-
/** Default styles to render (no high contrast mode) */
|
|
787
|
-
none?: string;
|
|
788
|
-
/** Styles to render when high contrast mode is preferred or forced */
|
|
789
|
-
preferred?: string;
|
|
790
|
-
/** Styles to render when high contrast mode is being forced */
|
|
791
|
-
forced?: string;
|
|
792
|
-
}) => string;
|
|
793
|
-
/**
|
|
794
|
-
* Small uitility that allows component styles to ignore/override
|
|
795
|
-
* forced colors modes (primarily Windows high contrast themes)
|
|
796
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/forced-color-adjust
|
|
797
|
-
*
|
|
798
|
-
* WARNING: Do *not* use this utility unless:
|
|
799
|
-
* 1. Colors/backgrounds are **essential** to the semantic meaning of the UI,
|
|
800
|
-
* and users will lose all meaning without them
|
|
801
|
-
* 2. Tweaks have been made to existing styles to increase color contrast
|
|
802
|
-
* as necessary
|
|
803
|
-
*/
|
|
804
|
-
export const preventForcedColors: ({ highContrastMode }: UseEuiTheme) => "" | "forced-color-adjust: none;";
|
|
805
|
-
|
|
806
|
-
}
|
|
807
|
-
declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
808
|
-
import { CSSProperties } from 'react';
|
|
771
|
+
declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
772
|
+
import { CSSProperties } from 'react';
|
|
809
773
|
/**
|
|
810
774
|
* EUI utilizes logical CSS properties to enable directional writing-modes.
|
|
811
775
|
* To encourage use of logical properties, we provide a few helper utilities to
|
|
@@ -820,7 +784,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
|
820
784
|
horizontal: string;
|
|
821
785
|
vertical: string;
|
|
822
786
|
};
|
|
823
|
-
export const LOGICAL_SIDES: ("left" | "right" | "
|
|
787
|
+
export const LOGICAL_SIDES: ("left" | "right" | "top" | "bottom" | "horizontal" | "vertical")[];
|
|
824
788
|
export type LogicalSides = (typeof LOGICAL_SIDES)[number];
|
|
825
789
|
export const logicals: {
|
|
826
790
|
height: string;
|
|
@@ -879,7 +843,7 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
|
879
843
|
"border-bottom-right-radius": string;
|
|
880
844
|
_shorthands: string[];
|
|
881
845
|
};
|
|
882
|
-
export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "
|
|
846
|
+
export const LOGICAL_PROPERTIES: ("left" | "right" | "width" | "top" | "bottom" | "horizontal" | "vertical" | "height" | "max-height" | "max-width" | "min-height" | "min-width" | "margin-left" | "margin-right" | "margin-top" | "margin-bottom" | "margin-horizontal" | "margin-vertical" | "padding-left" | "padding-right" | "padding-top" | "padding-bottom" | "padding-horizontal" | "padding-vertical" | "overflow-x" | "overflow-y" | "border-horizontal" | "border-horizontal-color" | "border-horizontal-width" | "border-horizontal-style" | "border-vertical" | "border-vertical-color" | "border-vertical-width" | "border-vertical-style" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-top-left-radius" | "border-top-right-radius" | "border-bottom-left-radius" | "border-bottom-right-radius")[];
|
|
883
847
|
export type LogicalProperties = (typeof LOGICAL_PROPERTIES)[number];
|
|
884
848
|
/**
|
|
885
849
|
*
|
|
@@ -1051,6 +1015,142 @@ declare module '@elastic/eui/src/global_styling/functions' {
|
|
|
1051
1015
|
export * from '@elastic/eui/src/global_styling/functions/size';
|
|
1052
1016
|
export * from '@elastic/eui/src/global_styling/functions/typography';
|
|
1053
1017
|
|
|
1018
|
+
}
|
|
1019
|
+
declare module '@elastic/eui/src/global_styling/mixins/_button' {
|
|
1020
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
1021
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
1022
|
+
/** Tentative usage; these exist only to be used as button directly when used within other components */
|
|
1023
|
+
export const SEVERITY_COLORS: readonly ["neutral", "risk"];
|
|
1024
|
+
export const BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger"];
|
|
1025
|
+
export const EXTENDED_BUTTON_COLORS: readonly ["text", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
|
|
1026
|
+
export type _EuiButtonColor = (typeof BUTTON_COLORS)[number];
|
|
1027
|
+
export type _EuiExtendedButtonColor = (typeof EXTENDED_BUTTON_COLORS)[number];
|
|
1028
|
+
export const BUTTON_DISPLAYS: readonly ["base", "fill", "empty"];
|
|
1029
|
+
export type _EuiButtonDisplay = (typeof BUTTON_DISPLAYS)[number];
|
|
1030
|
+
export interface _EuiButtonOptions {
|
|
1031
|
+
display?: _EuiButtonDisplay;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Creates the `base` version of button styles with proper text contrast.
|
|
1035
|
+
* @param euiThemeContext
|
|
1036
|
+
* @param color One of the named button colors or 'disabled'
|
|
1037
|
+
* @returns Style object `{ backgroundColor, color }`
|
|
1038
|
+
*/
|
|
1039
|
+
export const euiButtonColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
1040
|
+
border: string;
|
|
1041
|
+
color: string;
|
|
1042
|
+
backgroundColor: string;
|
|
1043
|
+
} | {
|
|
1044
|
+
border?: undefined;
|
|
1045
|
+
color: string;
|
|
1046
|
+
backgroundColor: string;
|
|
1047
|
+
};
|
|
1048
|
+
/**
|
|
1049
|
+
* Creates the `fill` version of buttons styles with proper text contrast.
|
|
1050
|
+
* @param euiThemeContext
|
|
1051
|
+
* @param color One of the named button colors or 'disabled'
|
|
1052
|
+
* @returns Style object `{ backgroundColor, color }`
|
|
1053
|
+
*/
|
|
1054
|
+
export const euiButtonFillColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
1055
|
+
border: string;
|
|
1056
|
+
color: string;
|
|
1057
|
+
backgroundColor: string;
|
|
1058
|
+
} | {
|
|
1059
|
+
border?: undefined;
|
|
1060
|
+
color: string;
|
|
1061
|
+
backgroundColor: string;
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* Creates the `empty` version of button styles using the text-variant and adding interactive styles.
|
|
1065
|
+
* @param euiThemeContext
|
|
1066
|
+
* @param color One of the named button colors or 'disabled'
|
|
1067
|
+
* @returns Style object `{ backgroundColor, color }` where `background` is typically used for interactive states
|
|
1068
|
+
*/
|
|
1069
|
+
export const euiButtonEmptyColor: (euiThemeContext: UseEuiTheme, color: _EuiExtendedButtonColor | "disabled") => {
|
|
1070
|
+
color: string;
|
|
1071
|
+
backgroundColor: string;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* Given the button display type, returns the Emotion based color keys.
|
|
1075
|
+
* @param options Button display type
|
|
1076
|
+
* @returns An object of `_EuiExtendedButtonColor` keys including `disabled`
|
|
1077
|
+
*/
|
|
1078
|
+
export const useEuiButtonColorCSS: (options?: _EuiButtonOptions) => Record<"text" | "primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "disabled" | "neutral" | "risk", SerializedStyles>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Creates the translate animation when button is in focus.
|
|
1081
|
+
* @returns string
|
|
1082
|
+
*/
|
|
1083
|
+
export const useEuiButtonFocusCSS: () => SerializedStyles;
|
|
1084
|
+
/**
|
|
1085
|
+
* Map of `size` props to various sizings/scales
|
|
1086
|
+
* that should remain consistent across all buttons
|
|
1087
|
+
*/
|
|
1088
|
+
export const euiButtonSizeMap: (euiThemeContext: UseEuiTheme) => {
|
|
1089
|
+
xs: {
|
|
1090
|
+
minWidth: number;
|
|
1091
|
+
height: string;
|
|
1092
|
+
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
1093
|
+
fontScale: "xs";
|
|
1094
|
+
};
|
|
1095
|
+
s: {
|
|
1096
|
+
minWidth: number;
|
|
1097
|
+
height: string;
|
|
1098
|
+
radius: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
1099
|
+
fontScale: "s";
|
|
1100
|
+
};
|
|
1101
|
+
m: {
|
|
1102
|
+
minWidth: number;
|
|
1103
|
+
height: string;
|
|
1104
|
+
radius: string | number | undefined;
|
|
1105
|
+
fontScale: "s";
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* creates a bottom border on hover/focus to ensure a visible change as forced mode removed background colors
|
|
1110
|
+
*/
|
|
1111
|
+
export const highContrastHoverIndicatorStyles: ({ euiTheme }: UseEuiTheme) => string;
|
|
1112
|
+
|
|
1113
|
+
}
|
|
1114
|
+
declare module '@elastic/eui/src/global_styling/mixins/_color' {
|
|
1115
|
+
import { SerializedStyles } from '@emotion/react';
|
|
1116
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
1117
|
+
export const BACKGROUND_COLORS: readonly ["transparent", "plain", "subdued", "highlighted", "accent", "accentSecondary", "primary", "success", "warning", "danger", "neutral", "risk"];
|
|
1118
|
+
export type _EuiBackgroundColor = (typeof BACKGROUND_COLORS)[number];
|
|
1119
|
+
export interface _EuiBackgroundColorOptions {
|
|
1120
|
+
/**
|
|
1121
|
+
* Use `opaque` for containers of unknown content.
|
|
1122
|
+
* Use `transparent` for interactive states like hover and focus.
|
|
1123
|
+
*/
|
|
1124
|
+
method?: 'opaque' | 'transparent';
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* @deprecated - use background tokens directly
|
|
1128
|
+
* @returns A single background color with optional alpha transparency
|
|
1129
|
+
*/
|
|
1130
|
+
export const euiBackgroundColor: ({ euiTheme }: UseEuiTheme, color: _EuiBackgroundColor, { method }?: _EuiBackgroundColorOptions) => string;
|
|
1131
|
+
/**
|
|
1132
|
+
* @deprecated
|
|
1133
|
+
*/
|
|
1134
|
+
export const useEuiBackgroundColor: (color: _EuiBackgroundColor, { method }?: _EuiBackgroundColorOptions) => string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Hook to retrieve background style for a background color variant
|
|
1137
|
+
* @returns An object map of color keys to CSS,
|
|
1138
|
+
* e.g. { danger: css``, success: css``, ... }
|
|
1139
|
+
*/
|
|
1140
|
+
export const useEuiBackgroundColorCSS: () => Record<"primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "neutral" | "risk" | "transparent" | "plain" | "subdued" | "highlighted", SerializedStyles>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Border colors
|
|
1143
|
+
* @deprecated - use border tokens directly or use
|
|
1144
|
+
* `useEuiBorderColorCSS()` for composed styles
|
|
1145
|
+
*/
|
|
1146
|
+
export const euiBorderColor: ({ euiTheme }: UseEuiTheme, color: _EuiBackgroundColor) => string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Hook to retrieve border style for a border variant
|
|
1149
|
+
* @returns An object map of color keys to CSS,
|
|
1150
|
+
* e.g. { danger: css``, success: css``, ... }
|
|
1151
|
+
*/
|
|
1152
|
+
export const useEuiBorderColorCSS: () => Record<"primary" | "accent" | "accentSecondary" | "success" | "warning" | "danger" | "neutral" | "risk" | "transparent" | "plain" | "subdued" | "highlighted", SerializedStyles>;
|
|
1153
|
+
|
|
1054
1154
|
}
|
|
1055
1155
|
declare module '@elastic/eui/src/global_styling/mixins/_helpers' {
|
|
1056
1156
|
import { CSSProperties } from 'react';
|
|
@@ -1171,12 +1271,6 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1171
1271
|
*/
|
|
1172
1272
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1173
1273
|
|
|
1174
|
-
}
|
|
1175
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
1176
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
1177
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1178
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
1179
|
-
|
|
1180
1274
|
}
|
|
1181
1275
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1182
1276
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -2896,7 +2990,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2896
2990
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2897
2991
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2898
2992
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2899
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
2993
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "error" | "warning" | "scale" | "color" | "refresh" | "push" | "copy" | "cut" | "pause" | "play" | "offline" | "online" | "storage" | "temperature" | "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" | "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" | "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")[];
|
|
2900
2994
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2901
2995
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2902
2996
|
export type IconColor = string | NamedColor;
|
|
@@ -3449,7 +3543,12 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
|
|
|
3449
3543
|
euiButtonDisplay: import("@emotion/react").SerializedStyles;
|
|
3450
3544
|
isDisabled: import("@emotion/react").SerializedStyles;
|
|
3451
3545
|
fullWidth: import("@emotion/react").SerializedStyles;
|
|
3452
|
-
defaultMinWidth:
|
|
3546
|
+
defaultMinWidth: {
|
|
3547
|
+
defaultMinWidth: import("@emotion/react").SerializedStyles;
|
|
3548
|
+
xs: string;
|
|
3549
|
+
s: string;
|
|
3550
|
+
m: string;
|
|
3551
|
+
};
|
|
3453
3552
|
xs: import("@emotion/react").SerializedStyles;
|
|
3454
3553
|
s: import("@emotion/react").SerializedStyles;
|
|
3455
3554
|
m: import("@emotion/react").SerializedStyles;
|
|
@@ -3584,7 +3683,7 @@ declare module '@elastic/eui/src/components/loading' {
|
|
|
3584
3683
|
}
|
|
3585
3684
|
declare module '@elastic/eui/src/components/button/button_display/_button_display_content.styles' {
|
|
3586
3685
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
3587
|
-
export const euiButtonDisplayContentStyles: (
|
|
3686
|
+
export const euiButtonDisplayContentStyles: (euiThemeContext: UseEuiTheme) => {
|
|
3588
3687
|
euiButtonDisplayContent: import("@emotion/react").SerializedStyles;
|
|
3589
3688
|
};
|
|
3590
3689
|
|
|
@@ -3756,7 +3855,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty.sty
|
|
|
3756
3855
|
isDisabled: import("@emotion/react").SerializedStyles;
|
|
3757
3856
|
xs: import("@emotion/react").SerializedStyles;
|
|
3758
3857
|
s: import("@emotion/react").SerializedStyles;
|
|
3759
|
-
m: import("@emotion/react").SerializedStyles;
|
|
3858
|
+
m: (string | false | import("@emotion/react").SerializedStyles)[];
|
|
3760
3859
|
flush: import("@emotion/react").SerializedStyles;
|
|
3761
3860
|
left: import("@emotion/react").SerializedStyles;
|
|
3762
3861
|
right: import("@emotion/react").SerializedStyles;
|
|
@@ -4041,6 +4140,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
|
|
|
4041
4140
|
};
|
|
4042
4141
|
compressed: SerializedStyles;
|
|
4043
4142
|
disabledAndSelected: SerializedStyles;
|
|
4143
|
+
hasBorder: string;
|
|
4044
4144
|
tooltipWrapper: SerializedStyles;
|
|
4045
4145
|
content: {
|
|
4046
4146
|
euiButtonGroupButton__content: SerializedStyles;
|
|
@@ -4056,6 +4156,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
|
|
|
4056
4156
|
}
|
|
4057
4157
|
declare module '@elastic/eui/src/components/button/button_group/button_group_button' {
|
|
4058
4158
|
import { FunctionComponent, MouseEventHandler } from 'react';
|
|
4159
|
+
import { EuiButtonDisplayCommonProps } from '@elastic/eui/src/components/button/button_display/_button_display';
|
|
4059
4160
|
import { EuiButtonGroupOptionProps, EuiButtonGroupProps } from '@elastic/eui/src/components/button/button_group/button_group';
|
|
4060
4161
|
type Props = EuiButtonGroupOptionProps & {
|
|
4061
4162
|
/**
|
|
@@ -4078,6 +4179,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group_but
|
|
|
4078
4179
|
* Inherit from EuiButtonGroup
|
|
4079
4180
|
*/
|
|
4080
4181
|
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
4182
|
+
contentProps?: EuiButtonDisplayCommonProps['contentProps'];
|
|
4081
4183
|
};
|
|
4082
4184
|
export const EuiButtonGroupButton: FunctionComponent<Props>;
|
|
4083
4185
|
export {};
|
|
@@ -5177,9 +5279,12 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
|
|
|
5177
5279
|
render?: (item: T) => ReactNode;
|
|
5178
5280
|
};
|
|
5179
5281
|
/**
|
|
5180
|
-
*
|
|
5282
|
+
* A custom renderer for this column's cell content.
|
|
5283
|
+
* Unlike computed columns or `mobileOptions.render`, this function receives:
|
|
5284
|
+
* - `value`: The value of the specified field for this row
|
|
5285
|
+
* - `item`: The full data item (row object)
|
|
5181
5286
|
*/
|
|
5182
|
-
render?: (value: any,
|
|
5287
|
+
render?: (value: any, item: T) => ReactNode;
|
|
5183
5288
|
/**
|
|
5184
5289
|
* Content to display in the footer beneath this column
|
|
5185
5290
|
*/
|
|
@@ -5194,7 +5299,7 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
|
|
|
5194
5299
|
/**
|
|
5195
5300
|
* A function that computes the value for each item and renders it
|
|
5196
5301
|
*/
|
|
5197
|
-
render: (
|
|
5302
|
+
render: (item: T) => ReactNode;
|
|
5198
5303
|
/**
|
|
5199
5304
|
* The display name of the column
|
|
5200
5305
|
*/
|
|
@@ -6823,98 +6928,6 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6823
6928
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6824
6929
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6825
6930
|
|
|
6826
|
-
}
|
|
6827
|
-
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6828
|
-
export const wcagContrastMin = 4.5;
|
|
6829
|
-
/**
|
|
6830
|
-
* Creates a new color that meets or exceeds WCAG level AA
|
|
6831
|
-
* @param foreground - Color to manipulate
|
|
6832
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6833
|
-
* *
|
|
6834
|
-
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
6835
|
-
*/
|
|
6836
|
-
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
6837
|
-
colors: {
|
|
6838
|
-
body: string;
|
|
6839
|
-
};
|
|
6840
|
-
[key: string]: any;
|
|
6841
|
-
}) => string;
|
|
6842
|
-
/**
|
|
6843
|
-
* Creates a new color with increased contrast
|
|
6844
|
-
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
6845
|
-
* @param foreground - Color to manipulate
|
|
6846
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6847
|
-
* *
|
|
6848
|
-
* @param themeOrBackground - Color to use as the contrast basis
|
|
6849
|
-
*/
|
|
6850
|
-
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
6851
|
-
colors: {
|
|
6852
|
-
body: string;
|
|
6853
|
-
};
|
|
6854
|
-
[key: string]: any;
|
|
6855
|
-
}) => string;
|
|
6856
|
-
|
|
6857
|
-
}
|
|
6858
|
-
declare module '@elastic/eui/src/services/color' {
|
|
6859
|
-
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
6860
|
-
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
6861
|
-
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
6862
|
-
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
6863
|
-
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
6864
|
-
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
6865
|
-
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
6866
|
-
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
6867
|
-
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
6868
|
-
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
6869
|
-
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
6870
|
-
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
6871
|
-
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';
|
|
6872
|
-
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
6873
|
-
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
6874
|
-
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
6875
|
-
export * from '@elastic/eui/src/services/color/manipulation';
|
|
6876
|
-
export * from '@elastic/eui/src/services/color/contrast';
|
|
6877
|
-
|
|
6878
|
-
}
|
|
6879
|
-
declare module '@elastic/eui/src/services/theme/provider' {
|
|
6880
|
-
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
6881
|
-
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
6882
|
-
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
6883
|
-
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
6884
|
-
theme?: EuiThemeSystem<T>;
|
|
6885
|
-
colorMode?: EuiThemeColorMode;
|
|
6886
|
-
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
6887
|
-
modify?: EuiThemeModifications<T>;
|
|
6888
|
-
children: any;
|
|
6889
|
-
/**
|
|
6890
|
-
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
6891
|
-
* set the default text `color` that all nested children will inherit.
|
|
6892
|
-
*
|
|
6893
|
-
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
6894
|
-
* This requires a **single** child component that the correct color class can be passed to.
|
|
6895
|
-
*
|
|
6896
|
-
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
6897
|
-
* the default inherited text color will be set on the page `body`.
|
|
6898
|
-
*/
|
|
6899
|
-
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
6900
|
-
cloneElement?: boolean;
|
|
6901
|
-
};
|
|
6902
|
-
}
|
|
6903
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
6904
|
-
|
|
6905
|
-
}
|
|
6906
|
-
declare module '@elastic/eui/src/services/theme' {
|
|
6907
|
-
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
6908
|
-
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
6909
|
-
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
|
|
6910
|
-
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
6911
|
-
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
6912
|
-
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
6913
|
-
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
6914
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
6915
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
6916
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
6917
|
-
|
|
6918
6931
|
}
|
|
6919
6932
|
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6920
6933
|
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
@@ -6981,233 +6994,107 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
6981
6994
|
export const brighten: (color: string, amount: number) => string;
|
|
6982
6995
|
|
|
6983
6996
|
}
|
|
6984
|
-
declare module '@elastic/eui/src/
|
|
6997
|
+
declare module '@elastic/eui/src/services/color/contrast' {
|
|
6998
|
+
export const wcagContrastMin = 4.5;
|
|
6985
6999
|
/**
|
|
6986
|
-
*
|
|
6987
|
-
*
|
|
7000
|
+
* Creates a new color that meets or exceeds WCAG level AA
|
|
7001
|
+
* @param foreground - Color to manipulate
|
|
7002
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
7003
|
+
* *
|
|
7004
|
+
* @param themeOrBackground - Color to use as the contrast basis or just pass EuiTheme
|
|
6988
7005
|
*/
|
|
6989
|
-
export const
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
success: string;
|
|
6993
|
-
warning: string;
|
|
6994
|
-
risk: string;
|
|
6995
|
-
danger: string;
|
|
6996
|
-
};
|
|
6997
|
-
|
|
6998
|
-
}
|
|
6999
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
7000
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
7001
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
7002
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
7003
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
7004
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
7005
|
-
export const text_colors: _EuiThemeTextColors;
|
|
7006
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
7007
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7008
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
7009
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
7010
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
7011
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
7012
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
7013
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
7014
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
7015
|
-
export const colors: _EuiThemeColors;
|
|
7016
|
-
|
|
7017
|
-
}
|
|
7018
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
7019
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
7020
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
7021
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
7022
|
-
export const animation: _EuiThemeAnimation;
|
|
7023
|
-
|
|
7024
|
-
}
|
|
7025
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
7026
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
7027
|
-
|
|
7028
|
-
}
|
|
7029
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
7030
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
7031
|
-
export const base: _EuiThemeBase;
|
|
7032
|
-
export const size: _EuiThemeSizes;
|
|
7033
|
-
|
|
7034
|
-
}
|
|
7035
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
7036
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
7037
|
-
export const border: _EuiThemeBorder;
|
|
7038
|
-
|
|
7039
|
-
}
|
|
7040
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
7041
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
7042
|
-
export const levels: _EuiThemeLevels;
|
|
7043
|
-
|
|
7044
|
-
}
|
|
7045
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
7046
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
7047
|
-
export const fontScale: _EuiThemeFontScales;
|
|
7048
|
-
export const fontBase: _EuiThemeFontBase;
|
|
7049
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
7050
|
-
export const font: _EuiThemeFont;
|
|
7051
|
-
|
|
7052
|
-
}
|
|
7053
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
7054
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
7055
|
-
export const focus: _EuiThemeFocus;
|
|
7056
|
-
|
|
7057
|
-
}
|
|
7058
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
7059
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
7060
|
-
export const buttons: _EuiThemeButton;
|
|
7061
|
-
|
|
7062
|
-
}
|
|
7063
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
7064
|
-
export const forms: {
|
|
7065
|
-
maxWidth: string;
|
|
7066
|
-
LIGHT: {
|
|
7067
|
-
background: string;
|
|
7068
|
-
backgroundDisabled: string;
|
|
7069
|
-
backgroundReadOnly: any;
|
|
7070
|
-
backgroundFocused: any;
|
|
7071
|
-
backgroundAutofilled: string;
|
|
7072
|
-
prependBackground: string;
|
|
7073
|
-
border: string;
|
|
7074
|
-
borderAutofilled: string;
|
|
7075
|
-
controlBorder: string;
|
|
7076
|
-
controlBorderSelected: string;
|
|
7077
|
-
controlBorderDisabled: string;
|
|
7078
|
-
controlBackgroundUnselected: any;
|
|
7079
|
-
controlBackgroundDisabled: any;
|
|
7080
|
-
colorHasPlaceholder: string;
|
|
7081
|
-
colorDisabled: any;
|
|
7082
|
-
iconDisabled: any;
|
|
7083
|
-
};
|
|
7084
|
-
DARK: {
|
|
7085
|
-
background: string;
|
|
7086
|
-
backgroundFocused: string;
|
|
7087
|
-
backgroundAutofilled: string;
|
|
7088
|
-
prependBackground: string;
|
|
7089
|
-
border: string;
|
|
7090
|
-
controlBorder: string;
|
|
7091
|
-
controlBorderSelected: string;
|
|
7092
|
-
controlBorderDisabled: string;
|
|
7093
|
-
backgroundDisabled: string;
|
|
7094
|
-
backgroundReadOnly: any;
|
|
7095
|
-
borderAutofilled: string;
|
|
7096
|
-
controlBackgroundUnselected: any;
|
|
7097
|
-
controlBackgroundDisabled: any;
|
|
7098
|
-
colorHasPlaceholder: string;
|
|
7099
|
-
colorDisabled: any;
|
|
7100
|
-
iconDisabled: any;
|
|
7101
|
-
};
|
|
7102
|
-
};
|
|
7103
|
-
|
|
7104
|
-
}
|
|
7105
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
7106
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
7107
|
-
export const components: _EuiThemeComponents;
|
|
7108
|
-
|
|
7109
|
-
}
|
|
7110
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
7111
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
7112
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
7113
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
7114
|
-
export const EuiThemeAmsterdam: {
|
|
7115
|
-
model: EuiThemeShape;
|
|
7116
|
-
root: EuiThemeShape;
|
|
7117
|
-
key: string;
|
|
7118
|
-
};
|
|
7119
|
-
|
|
7120
|
-
}
|
|
7121
|
-
declare module '@elastic/eui/src/services/theme/context' {
|
|
7122
|
-
import { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeSystem, EuiThemeComputed, EuiThemeNested } from '@elastic/eui/src/services/theme/types';
|
|
7123
|
-
export const DEFAULTS: {
|
|
7124
|
-
system: {
|
|
7125
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7126
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
7127
|
-
key: string;
|
|
7006
|
+
export const makeHighContrastColor: (_foreground: string, ratio?: number) => (themeOrBackground: string | {
|
|
7007
|
+
colors: {
|
|
7008
|
+
body: string;
|
|
7128
7009
|
};
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
highContrastMode: false;
|
|
7132
|
-
};
|
|
7133
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
7134
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
7135
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
7136
|
-
}>>;
|
|
7137
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
7138
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
7139
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
7140
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
7141
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
7142
|
-
|
|
7143
|
-
}
|
|
7144
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
7145
|
-
import React from 'react';
|
|
7146
|
-
import { type EuiThemeColorModeStandard, type EuiThemeHighContrastMode, type EuiThemeModifications, type EuiThemeComputed } from '@elastic/eui-theme-common';
|
|
7147
|
-
/**
|
|
7148
|
-
* Hook for function components
|
|
7149
|
-
*/
|
|
7150
|
-
export interface UseEuiTheme<T extends {} = {}> {
|
|
7151
|
-
euiTheme: EuiThemeComputed<T>;
|
|
7152
|
-
colorMode: EuiThemeColorModeStandard;
|
|
7153
|
-
highContrastMode: EuiThemeHighContrastMode;
|
|
7154
|
-
modifications: EuiThemeModifications<T>;
|
|
7155
|
-
}
|
|
7156
|
-
export const useEuiTheme: <T extends {} = {}>() => UseEuiTheme<T>;
|
|
7157
|
-
/**
|
|
7158
|
-
* HOC for class components
|
|
7159
|
-
*/
|
|
7160
|
-
export interface WithEuiThemeProps<P extends {} = {}> {
|
|
7161
|
-
theme: UseEuiTheme<P>;
|
|
7162
|
-
}
|
|
7163
|
-
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">>>;
|
|
7164
|
-
/**
|
|
7165
|
-
* Render prop alternative for complex class components
|
|
7166
|
-
* Most useful for scenarios where a HOC may interfere with typing
|
|
7167
|
-
*/
|
|
7168
|
-
export const RenderWithEuiTheme: <T extends {} = {}>({ children, }: {
|
|
7169
|
-
children: (theme: UseEuiTheme) => React.ReactElement;
|
|
7170
|
-
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
7171
|
-
/**
|
|
7172
|
-
* Minor syntactical sugar hook for theme CSS variables.
|
|
7173
|
-
* Primarily meant for internal EUI usage.
|
|
7174
|
-
*/
|
|
7175
|
-
export const useEuiThemeCSSVariables: () => {
|
|
7176
|
-
setGlobalCSSVariables: Function;
|
|
7177
|
-
globalCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7178
|
-
setNearestThemeCSSVariables: Function;
|
|
7179
|
-
themeCSSVariables: import("@emotion/serialize").CSSObject | undefined;
|
|
7180
|
-
};
|
|
7010
|
+
[key: string]: any;
|
|
7011
|
+
}) => string;
|
|
7181
7012
|
/**
|
|
7182
|
-
*
|
|
7183
|
-
*
|
|
7013
|
+
* Creates a new color with increased contrast
|
|
7014
|
+
* Disabled content only needs a contrast of at least 2 because there is no interaction available
|
|
7015
|
+
* @param foreground - Color to manipulate
|
|
7016
|
+
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
7017
|
+
* *
|
|
7018
|
+
* @param themeOrBackground - Color to use as the contrast basis
|
|
7184
7019
|
*/
|
|
7185
|
-
export const
|
|
7020
|
+
export const makeDisabledContrastColor: (color: string, ratio?: number) => (themeOrBackground: string | {
|
|
7021
|
+
colors: {
|
|
7022
|
+
body: string;
|
|
7023
|
+
};
|
|
7024
|
+
[key: string]: any;
|
|
7025
|
+
}) => string;
|
|
7186
7026
|
|
|
7187
7027
|
}
|
|
7188
|
-
declare module '@elastic/eui/src/services/
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
export
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
export
|
|
7200
|
-
export {};
|
|
7028
|
+
declare module '@elastic/eui/src/services/color' {
|
|
7029
|
+
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
7030
|
+
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
7031
|
+
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
7032
|
+
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
7033
|
+
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
7034
|
+
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
7035
|
+
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
7036
|
+
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
7037
|
+
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
7038
|
+
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
7039
|
+
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
7040
|
+
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
7041
|
+
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';
|
|
7042
|
+
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
7043
|
+
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
7044
|
+
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
7045
|
+
export * from '@elastic/eui/src/services/color/manipulation';
|
|
7046
|
+
export * from '@elastic/eui/src/services/color/contrast';
|
|
7201
7047
|
|
|
7202
7048
|
}
|
|
7203
|
-
declare module '@elastic/eui/src/services/
|
|
7049
|
+
declare module '@elastic/eui/src/services/theme/provider' {
|
|
7050
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
7051
|
+
import type { CommonProps } from '@elastic/eui/src/components/common';
|
|
7052
|
+
import { EuiThemeColorMode, EuiThemeHighContrastModeProp, EuiThemeSystem, EuiThemeModifications } from '@elastic/eui/src/services/theme/types';
|
|
7053
|
+
export interface EuiThemeProviderProps<T> extends PropsWithChildren {
|
|
7054
|
+
theme?: EuiThemeSystem<T>;
|
|
7055
|
+
colorMode?: EuiThemeColorMode;
|
|
7056
|
+
highContrastMode?: EuiThemeHighContrastModeProp;
|
|
7057
|
+
modify?: EuiThemeModifications<T>;
|
|
7058
|
+
children: any;
|
|
7059
|
+
/**
|
|
7060
|
+
* Nested theme providers will receive a wrapping `span` tag in order to correctly
|
|
7061
|
+
* set the default text `color` that all nested children will inherit.
|
|
7062
|
+
*
|
|
7063
|
+
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
7064
|
+
* This requires a **single** child component that the correct color class can be passed to.
|
|
7065
|
+
*
|
|
7066
|
+
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
7067
|
+
* the default inherited text color will be set on the page `body`.
|
|
7068
|
+
*/
|
|
7069
|
+
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
7070
|
+
cloneElement?: boolean;
|
|
7071
|
+
};
|
|
7072
|
+
}
|
|
7073
|
+
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
7074
|
+
|
|
7075
|
+
}
|
|
7076
|
+
declare module '@elastic/eui/src/services/theme/theme_variant' {
|
|
7077
|
+
import { EuiThemeVariantFlags, UseEuiTheme } from '@elastic/eui-theme-common';
|
|
7078
|
+
export const isEuiThemeRefreshVariant: ({ euiTheme }: UseEuiTheme, flag: keyof EuiThemeVariantFlags) => boolean;
|
|
7204
7079
|
/**
|
|
7205
|
-
*
|
|
7206
|
-
*
|
|
7207
|
-
* This hook is in its own separate file to make mocking it
|
|
7208
|
-
* as a testenv easy for Jest unit tests
|
|
7080
|
+
* Util to retrieve visual variant for UI elements
|
|
7081
|
+
* Note: Temporary only - will be removed once the visual refresh is completed.
|
|
7209
7082
|
*/
|
|
7210
|
-
export const
|
|
7083
|
+
export const useEuiThemeRefreshVariant: (flag: keyof EuiThemeVariantFlags) => boolean;
|
|
7084
|
+
|
|
7085
|
+
}
|
|
7086
|
+
declare module '@elastic/eui/src/services/theme' {
|
|
7087
|
+
export { EuiSystemContext, EuiThemeContext, EuiNestedThemeContext, EuiModificationsContext, EuiColorModeContext, EuiHighContrastModeContext, } from '@elastic/eui/src/services/theme/context';
|
|
7088
|
+
export type { UseEuiTheme, WithEuiThemeProps } from '@elastic/eui/src/services/theme/hooks';
|
|
7089
|
+
export { useEuiTheme, withEuiTheme, RenderWithEuiTheme, useEuiThemeCSSVariables, useIsDarkMode, } from '@elastic/eui/src/services/theme/hooks';
|
|
7090
|
+
export type { EuiThemeProviderProps } from '@elastic/eui/src/services/theme/provider';
|
|
7091
|
+
export { EuiThemeProvider } from '@elastic/eui/src/services/theme/provider';
|
|
7092
|
+
export { useEuiMemoizedStyles, withEuiStylesMemoizer, type WithEuiStylesMemoizerProps, RenderWithEuiStylesMemoizer, } from '@elastic/eui/src/services/theme/style_memoization';
|
|
7093
|
+
export { getEuiDevProviderWarning, setEuiDevProviderWarning } from '@elastic/eui/src/services/theme/warning';
|
|
7094
|
+
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7095
|
+
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7096
|
+
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7097
|
+
export * from '@elastic/eui/src/services/theme/theme_variant';
|
|
7211
7098
|
|
|
7212
7099
|
}
|
|
7213
7100
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -8230,15 +8117,6 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
|
|
|
8230
8117
|
color: string;
|
|
8231
8118
|
backgroundColor: string;
|
|
8232
8119
|
};
|
|
8233
|
-
accentSecondary: {
|
|
8234
|
-
border: string;
|
|
8235
|
-
color: string;
|
|
8236
|
-
backgroundColor: string;
|
|
8237
|
-
} | {
|
|
8238
|
-
border?: undefined;
|
|
8239
|
-
color: string;
|
|
8240
|
-
backgroundColor: string;
|
|
8241
|
-
};
|
|
8242
8120
|
disabled: {
|
|
8243
8121
|
borderColor: string;
|
|
8244
8122
|
border: string;
|
|
@@ -8270,10 +8148,6 @@ declare module '@elastic/eui/src/components/badge/color_utils' {
|
|
|
8270
8148
|
backgroundColor: string;
|
|
8271
8149
|
color: string;
|
|
8272
8150
|
};
|
|
8273
|
-
accentSecondaryText: {
|
|
8274
|
-
backgroundColor: string;
|
|
8275
|
-
color: string;
|
|
8276
|
-
};
|
|
8277
8151
|
};
|
|
8278
8152
|
export const getBadgeColors: (euiThemeContext: UseEuiTheme, backgroundColor: string) => {
|
|
8279
8153
|
backgroundColor: string;
|
|
@@ -8849,10 +8723,6 @@ declare module '@elastic/eui/src/components/breadcrumbs/types' {
|
|
|
8849
8723
|
truncateLastBreadcrumb?: boolean;
|
|
8850
8724
|
};
|
|
8851
8725
|
|
|
8852
|
-
}
|
|
8853
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button' {
|
|
8854
|
-
export { type _EuiButtonColor, type _EuiButtonDisplay, type _EuiButtonOptions, BUTTON_COLORS, BUTTON_DISPLAYS, euiButtonColor, euiButtonFillColor, euiButtonEmptyColor, useEuiButtonColorCSS, useEuiButtonFocusCSS, euiButtonSizeMap, } from '@elastic/eui/src/global_styling/mixins/_button';
|
|
8855
|
-
|
|
8856
8726
|
}
|
|
8857
8727
|
declare module '@elastic/eui/src/components/breadcrumbs/_breadcrumb_content.styles' {
|
|
8858
8728
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
@@ -11892,8 +11762,9 @@ declare module '@elastic/eui/src/components/flyout/flyout' {
|
|
|
11892
11762
|
* Object of props passed to EuiFocusTrap.
|
|
11893
11763
|
* `shards` specifies an array of elements that will be considered part of the flyout, preventing the flyout from being closed when clicked.
|
|
11894
11764
|
* `closeOnMouseup` will delay the close callback, allowing time for external toggle buttons to handle close behavior.
|
|
11765
|
+
* `returnFocus` defines the return focus behavior and provides the possibility to check the available target element or opt out of the behavior in favor of manually returning focus
|
|
11895
11766
|
*/
|
|
11896
|
-
focusTrapProps?: Pick<EuiFocusTrapProps, 'closeOnMouseup' | 'shards'>;
|
|
11767
|
+
focusTrapProps?: Pick<EuiFocusTrapProps, 'closeOnMouseup' | 'shards' | 'returnFocus'>;
|
|
11897
11768
|
/**
|
|
11898
11769
|
* By default, EuiFlyout will consider any fixed `EuiHeader`s that sit alongside or above the EuiFlyout
|
|
11899
11770
|
* as part of the flyout's focus trap. This prevents focus fighting with interactive elements
|
|
@@ -12663,6 +12534,11 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12663
12534
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12664
12535
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12665
12536
|
|
|
12537
|
+
}
|
|
12538
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12539
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12540
|
+
export const colorVis: _EuiThemeVisColors;
|
|
12541
|
+
|
|
12666
12542
|
}
|
|
12667
12543
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12668
12544
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12672,6 +12548,143 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12672
12548
|
provider?: EuiThemeSystem;
|
|
12673
12549
|
}
|
|
12674
12550
|
|
|
12551
|
+
}
|
|
12552
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12553
|
+
/**
|
|
12554
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
12555
|
+
* They are mapped to other vis colors
|
|
12556
|
+
*/
|
|
12557
|
+
export const severityColors: {
|
|
12558
|
+
unknown: string;
|
|
12559
|
+
neutral: string;
|
|
12560
|
+
success: string;
|
|
12561
|
+
warning: string;
|
|
12562
|
+
risk: string;
|
|
12563
|
+
danger: string;
|
|
12564
|
+
};
|
|
12565
|
+
|
|
12566
|
+
}
|
|
12567
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12568
|
+
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12569
|
+
export const brand_colors: _EuiThemeBrandColors;
|
|
12570
|
+
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12571
|
+
export const shade_colors: _EuiThemeShadeColors;
|
|
12572
|
+
export const special_colors: _EuiThemeSpecialColors;
|
|
12573
|
+
export const text_colors: _EuiThemeTextColors;
|
|
12574
|
+
export const background_colors: _EuiThemeBackgroundColors;
|
|
12575
|
+
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12576
|
+
export const border_colors: _EuiThemeBorderColors;
|
|
12577
|
+
export const light_colors: _EuiThemeColorsMode;
|
|
12578
|
+
export const dark_shades: _EuiThemeShadeColors;
|
|
12579
|
+
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12580
|
+
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12581
|
+
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12582
|
+
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12583
|
+
export const colors: _EuiThemeColors;
|
|
12584
|
+
|
|
12585
|
+
}
|
|
12586
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12587
|
+
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12588
|
+
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12589
|
+
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12590
|
+
export const animation: _EuiThemeAnimation;
|
|
12591
|
+
|
|
12592
|
+
}
|
|
12593
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12594
|
+
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12595
|
+
|
|
12596
|
+
}
|
|
12597
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12598
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12599
|
+
export const base: _EuiThemeBase;
|
|
12600
|
+
export const size: _EuiThemeSizes;
|
|
12601
|
+
|
|
12602
|
+
}
|
|
12603
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12604
|
+
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12605
|
+
export const border: _EuiThemeBorder;
|
|
12606
|
+
|
|
12607
|
+
}
|
|
12608
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12609
|
+
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12610
|
+
export const levels: _EuiThemeLevels;
|
|
12611
|
+
|
|
12612
|
+
}
|
|
12613
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12614
|
+
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12615
|
+
export const fontScale: _EuiThemeFontScales;
|
|
12616
|
+
export const fontBase: _EuiThemeFontBase;
|
|
12617
|
+
export const fontWeight: _EuiThemeFontWeights;
|
|
12618
|
+
export const font: _EuiThemeFont;
|
|
12619
|
+
|
|
12620
|
+
}
|
|
12621
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12622
|
+
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12623
|
+
export const focus: _EuiThemeFocus;
|
|
12624
|
+
|
|
12625
|
+
}
|
|
12626
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12627
|
+
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12628
|
+
export const buttons: _EuiThemeButton;
|
|
12629
|
+
|
|
12630
|
+
}
|
|
12631
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12632
|
+
export const forms: {
|
|
12633
|
+
maxWidth: string;
|
|
12634
|
+
LIGHT: {
|
|
12635
|
+
background: string;
|
|
12636
|
+
backgroundDisabled: string;
|
|
12637
|
+
backgroundReadOnly: any;
|
|
12638
|
+
backgroundFocused: any;
|
|
12639
|
+
backgroundAutofilled: string;
|
|
12640
|
+
prependBackground: string;
|
|
12641
|
+
border: string;
|
|
12642
|
+
borderAutofilled: string;
|
|
12643
|
+
controlBorder: string;
|
|
12644
|
+
controlBorderSelected: string;
|
|
12645
|
+
controlBorderDisabled: string;
|
|
12646
|
+
controlBackgroundUnselected: any;
|
|
12647
|
+
controlBackgroundDisabled: any;
|
|
12648
|
+
colorHasPlaceholder: string;
|
|
12649
|
+
colorDisabled: any;
|
|
12650
|
+
iconDisabled: any;
|
|
12651
|
+
};
|
|
12652
|
+
DARK: {
|
|
12653
|
+
background: string;
|
|
12654
|
+
backgroundFocused: string;
|
|
12655
|
+
backgroundAutofilled: string;
|
|
12656
|
+
prependBackground: string;
|
|
12657
|
+
border: string;
|
|
12658
|
+
controlBorder: string;
|
|
12659
|
+
controlBorderSelected: string;
|
|
12660
|
+
controlBorderDisabled: string;
|
|
12661
|
+
backgroundDisabled: string;
|
|
12662
|
+
backgroundReadOnly: any;
|
|
12663
|
+
borderAutofilled: string;
|
|
12664
|
+
controlBackgroundUnselected: any;
|
|
12665
|
+
controlBackgroundDisabled: any;
|
|
12666
|
+
colorHasPlaceholder: string;
|
|
12667
|
+
colorDisabled: any;
|
|
12668
|
+
iconDisabled: any;
|
|
12669
|
+
};
|
|
12670
|
+
};
|
|
12671
|
+
|
|
12672
|
+
}
|
|
12673
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12674
|
+
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12675
|
+
export const components: _EuiThemeComponents;
|
|
12676
|
+
|
|
12677
|
+
}
|
|
12678
|
+
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12679
|
+
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12680
|
+
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12681
|
+
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12682
|
+
export const EuiThemeAmsterdam: {
|
|
12683
|
+
model: EuiThemeShape;
|
|
12684
|
+
root: EuiThemeShape;
|
|
12685
|
+
key: string;
|
|
12686
|
+
};
|
|
12687
|
+
|
|
12675
12688
|
}
|
|
12676
12689
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12677
12690
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -14606,7 +14619,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14606
14619
|
/**
|
|
14607
14620
|
* Height types
|
|
14608
14621
|
*/
|
|
14609
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14622
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "auto" | "default" | "lineCount" | "numerical";
|
|
14610
14623
|
/**
|
|
14611
14624
|
* Line count utils
|
|
14612
14625
|
*/
|
|
@@ -19053,18 +19066,26 @@ declare module '@elastic/eui/src/components/expression' {
|
|
|
19053
19066
|
}
|
|
19054
19067
|
declare module '@elastic/eui/src/components/filter_group/filter_button.styles' {
|
|
19055
19068
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
19056
|
-
export const euiFilterButtonDisplay: (
|
|
19069
|
+
export const euiFilterButtonDisplay: (euiThemeContext: UseEuiTheme) => {
|
|
19057
19070
|
flex: string;
|
|
19058
19071
|
minInlineSize: string;
|
|
19059
19072
|
};
|
|
19060
19073
|
export const euiFilterButtonStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19061
19074
|
euiFilterButton: import("@emotion/react").SerializedStyles;
|
|
19075
|
+
buttonType: {
|
|
19076
|
+
default: import("@emotion/react").SerializedStyles;
|
|
19077
|
+
toggle: import("@emotion/react").SerializedStyles;
|
|
19078
|
+
};
|
|
19062
19079
|
withNext: import("@emotion/react").SerializedStyles;
|
|
19063
19080
|
noGrow: import("@emotion/react").SerializedStyles;
|
|
19064
19081
|
hasNotification: import("@emotion/react").SerializedStyles;
|
|
19065
19082
|
hasActiveFilters: import("@emotion/react").SerializedStyles;
|
|
19066
19083
|
};
|
|
19067
|
-
export const
|
|
19084
|
+
export const euiFilterButtonWrapperStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19085
|
+
wrapper: import("@emotion/react").SerializedStyles;
|
|
19086
|
+
hasToggle: import("@emotion/react").SerializedStyles;
|
|
19087
|
+
};
|
|
19088
|
+
export const euiFilterButtonChildStyles: (euiThemeContext: UseEuiTheme) => {
|
|
19068
19089
|
content: {
|
|
19069
19090
|
euiFilterButton__content: import("@emotion/react").SerializedStyles;
|
|
19070
19091
|
hasIcon: import("@emotion/react").SerializedStyles;
|
|
@@ -19121,7 +19142,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
|
|
|
19121
19142
|
import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button/button_empty';
|
|
19122
19143
|
export type EuiFilterButtonProps = {
|
|
19123
19144
|
/**
|
|
19124
|
-
*
|
|
19145
|
+
* Highlights active filters
|
|
19125
19146
|
*/
|
|
19126
19147
|
hasActiveFilters?: boolean;
|
|
19127
19148
|
/**
|
|
@@ -19135,7 +19156,15 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
|
|
|
19135
19156
|
*/
|
|
19136
19157
|
numActiveFilters?: number;
|
|
19137
19158
|
/**
|
|
19138
|
-
*
|
|
19159
|
+
* Switches between toggle and regular button
|
|
19160
|
+
* @default false
|
|
19161
|
+
*/
|
|
19162
|
+
isToggle?: boolean;
|
|
19163
|
+
/**
|
|
19164
|
+
* Applies a visual state to the button.
|
|
19165
|
+
* Automatically applies `aria-pressed` when used with `isToggle={true}`.
|
|
19166
|
+
* Otherwise applies `aria-expanded` when used with `isToggle={false}` and
|
|
19167
|
+
* `iconType="arrowDown"` as trigger button for e.g. a popover.
|
|
19139
19168
|
*/
|
|
19140
19169
|
isSelected?: boolean;
|
|
19141
19170
|
/**
|
|
@@ -19159,7 +19188,7 @@ declare module '@elastic/eui/src/components/filter_group/filter_button' {
|
|
|
19159
19188
|
* - warning
|
|
19160
19189
|
*/
|
|
19161
19190
|
color?: _EuiButtonColor;
|
|
19162
|
-
} & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size' | 'color'>;
|
|
19191
|
+
} & DistributiveOmit<EuiButtonEmptyProps, 'flush' | 'size' | 'color' | 'isSelected'>;
|
|
19163
19192
|
export const EuiFilterButton: FunctionComponent<EuiFilterButtonProps>;
|
|
19164
19193
|
|
|
19165
19194
|
}
|
|
@@ -21773,7 +21802,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21773
21802
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21774
21803
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21775
21804
|
/**
|
|
21776
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21805
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeBorealis;
|
|
21777
21806
|
* Pass `null` to remove all theming including global reset
|
|
21778
21807
|
*/
|
|
21779
21808
|
theme?: EuiThemeSystem | null;
|
|
@@ -23032,12 +23061,12 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23032
23061
|
slot?: string | undefined;
|
|
23033
23062
|
style?: CSSProperties | undefined;
|
|
23034
23063
|
title?: string | undefined;
|
|
23035
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23036
23064
|
width: number;
|
|
23037
23065
|
color?: string | undefined;
|
|
23038
23066
|
content?: string | undefined;
|
|
23039
|
-
translate?: "yes" | "no" | undefined;
|
|
23040
23067
|
hidden?: boolean | undefined;
|
|
23068
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23069
|
+
translate?: "yes" | "no" | undefined;
|
|
23041
23070
|
property?: string | undefined;
|
|
23042
23071
|
className?: string | undefined;
|
|
23043
23072
|
defaultChecked?: boolean | undefined;
|
|
@@ -31426,6 +31455,10 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/functions/shado
|
|
|
31426
31455
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/functions' {
|
|
31427
31456
|
export * from '@elastic/eui/src/themes/amsterdam/global_styling/functions/shadows';
|
|
31428
31457
|
|
|
31458
|
+
}
|
|
31459
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button' {
|
|
31460
|
+
export { type _EuiButtonColor, type _EuiButtonDisplay, type _EuiButtonOptions, BUTTON_COLORS, BUTTON_DISPLAYS, euiButtonColor, euiButtonFillColor, euiButtonEmptyColor, useEuiButtonColorCSS, useEuiButtonFocusCSS, euiButtonSizeMap, } from '@elastic/eui/src/global_styling/mixins/_button';
|
|
31461
|
+
|
|
31429
31462
|
}
|
|
31430
31463
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins' {
|
|
31431
31464
|
export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/button';
|