@elastic/eui 102.1.0 → 102.2.0-amsterdam.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/basic_table/basic_table.js +10 -9
- package/es/components/basic_table/in_memory_table.js +18 -16
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/breadcrumbs/breadcrumbs.js +3 -3
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/comment_list/comment_list.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/es/components/datagrid/body/data_grid_body.js +14 -9
- package/es/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/es/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/es/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/es/components/datagrid/body/header/draggable_columns.js +1 -1
- package/es/components/datagrid/controls/column_sorting.js +6 -6
- package/es/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/es/components/datagrid/utils/in_memory.js +3 -3
- package/es/components/datagrid/utils/scrolling.js +3 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/es/components/form/range/dual_range.js +1 -1
- package/es/components/form/range/range.js +1 -1
- package/es/components/form/range/range_track.js +1 -1
- package/es/components/form/select/select.js +1 -1
- package/es/components/header/header.js +10 -10
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +3 -3
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/icon/assets/logo_elastic.js +23 -17
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/key_pad_menu/key_pad_menu.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_elastic.styles.js +2 -2
- package/es/components/loading/loading_spinner.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/popover/popover.js +1 -1
- package/es/components/provider/provider.js +2 -2
- package/es/components/responsive/hide_for.js +1 -1
- package/es/components/responsive/show_for.js +1 -1
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/es/components/search_bar/search_bar.js +3 -3
- package/es/components/search_bar/search_filters.js +2 -2
- package/es/components/selectable/selectable.js +13 -12
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/es/components/side_nav/side_nav.js +2 -2
- package/es/components/table/table_row_cell.js +1 -1
- package/es/components/timeline/timeline.js +1 -1
- package/es/components/toast/global_toast_list.js +27 -20
- package/es/components/tour/tour_step.js +1 -1
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/services/theme/hooks.js +11 -0
- package/es/services/theme/index.js +1 -1
- package/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/eui.d.ts +2175 -423
- package/lib/components/basic_table/basic_table.js +10 -9
- package/lib/components/basic_table/in_memory_table.js +18 -16
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/comment_list/comment_list.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/lib/components/datagrid/body/data_grid_body.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/lib/components/datagrid/body/header/draggable_columns.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +6 -6
- package/lib/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/lib/components/datagrid/utils/in_memory.js +3 -3
- package/lib/components/datagrid/utils/scrolling.js +3 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/lib/components/form/range/dual_range.js +1 -1
- package/lib/components/form/range/range.js +1 -1
- package/lib/components/form/range/range_track.js +1 -1
- package/lib/components/form/select/select.js +1 -1
- package/lib/components/header/header.js +10 -10
- package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/lib/components/icon/assets/logo_elastic.js +23 -17
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/lib/components/key_pad_menu/key_pad_menu.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_elastic.styles.js +2 -2
- package/lib/components/loading/loading_spinner.js +1 -1
- package/lib/components/popover/popover.js +1 -1
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/responsive/hide_for.js +1 -1
- package/lib/components/responsive/show_for.js +1 -1
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/lib/components/search_bar/search_bar.js +3 -3
- package/lib/components/search_bar/search_filters.js +2 -2
- package/lib/components/selectable/selectable.js +13 -12
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/lib/components/side_nav/side_nav.js +2 -2
- package/lib/components/table/table_row_cell.js +1 -1
- package/lib/components/timeline/timeline.js +1 -1
- package/lib/components/toast/global_toast_list.js +27 -20
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/lib/services/theme/hooks.js +12 -1
- package/lib/services/theme/index.js +6 -0
- package/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/es/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/es/components/form/select/select.js +1 -1
- package/optimize/es/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/toast/global_toast_list.js +24 -20
- 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/hooks.js +11 -0
- package/optimize/es/services/theme/index.js +1 -1
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/lib/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/optimize/lib/components/form/select/select.js +1 -1
- package/optimize/lib/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/optimize/lib/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/selectable/selectable.js +10 -9
- package/optimize/lib/components/toast/global_toast_list.js +24 -20
- 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/hooks.js +12 -1
- package/optimize/lib/services/theme/index.js +6 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/package.json +3 -5
- package/test-env/components/basic_table/basic_table.js +10 -9
- package/test-env/components/basic_table/in_memory_table.js +18 -16
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/comment_list/comment_list.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/test-env/components/datagrid/body/data_grid_body.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/test-env/components/datagrid/body/header/draggable_columns.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/test-env/components/datagrid/utils/in_memory.js +3 -3
- package/test-env/components/datagrid/utils/scrolling.js +3 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/test-env/components/form/range/dual_range.js +1 -1
- package/test-env/components/form/range/range.js +1 -1
- package/test-env/components/form/range/range_track.js +1 -1
- package/test-env/components/form/select/select.js +1 -1
- package/test-env/components/header/header.js +10 -10
- package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/test-env/components/icon/assets/logo_elastic.js +23 -17
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_elastic.styles.js +2 -2
- package/test-env/components/loading/loading_spinner.js +1 -1
- package/test-env/components/popover/popover.js +1 -1
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/responsive/hide_for.js +1 -1
- package/test-env/components/responsive/show_for.js +1 -1
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/test-env/components/search_bar/search_bar.js +3 -3
- package/test-env/components/search_bar/search_filters.js +2 -2
- package/test-env/components/selectable/selectable.js +13 -12
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/test-env/components/side_nav/side_nav.js +2 -2
- package/test-env/components/table/table_row_cell.js +1 -1
- package/test-env/components/timeline/timeline.js +1 -1
- package/test-env/components/toast/global_toast_list.js +24 -20
- 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/hooks.js +12 -1
- package/test-env/services/theme/index.js +6 -0
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/test-env/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_dark.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_light.json +427 -0
package/eui.d.ts
CHANGED
|
@@ -171,119 +171,13 @@ declare module '@elastic/eui/src/components/common' {
|
|
|
171
171
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
172
172
|
} & ButtonHTMLAttributes<HTMLButtonElement> & P;
|
|
173
173
|
|
|
174
|
-
}
|
|
175
|
-
declare module '@elastic/eui/src/services/theme/types' {
|
|
176
|
-
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
177
|
-
|
|
178
174
|
}
|
|
179
175
|
declare module '@elastic/eui/src/services/theme/utils' {
|
|
180
176
|
export { DEFAULT_COLOR_MODE, isInverseColorMode, getColorMode, getOn, setOn, Computed, computed, getComputed, buildTheme, mergeDeep, } from '@elastic/eui-theme-common';
|
|
181
177
|
|
|
182
178
|
}
|
|
183
|
-
declare module '@elastic/eui/src/services/theme/
|
|
184
|
-
|
|
185
|
-
export const DEFAULTS: {
|
|
186
|
-
system: {
|
|
187
|
-
model: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
188
|
-
root: import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape;
|
|
189
|
-
key: string;
|
|
190
|
-
};
|
|
191
|
-
modifications: {};
|
|
192
|
-
colorMode: "LIGHT";
|
|
193
|
-
highContrastMode: false;
|
|
194
|
-
};
|
|
195
|
-
export const EuiSystemContext: import("react").Context<EuiThemeSystem>;
|
|
196
|
-
export const EuiModificationsContext: import("react").Context<import("@elastic/eui-theme-common").RecursivePartial<import("@elastic/eui-theme-common").EuiThemeShapeBase & {
|
|
197
|
-
overrides?: import("@elastic/eui-theme-common")._EuiThemeOverrides;
|
|
198
|
-
}>>;
|
|
199
|
-
export const EuiColorModeContext: import("react").Context<EuiThemeColorModeStandard>;
|
|
200
|
-
export const EuiHighContrastModeContext: import("react").Context<EuiThemeHighContrastMode>;
|
|
201
|
-
export const defaultComputedTheme: EuiThemeComputed<import("@elastic/eui-theme-common/lib/cjs/services/theme/types").EuiThemeShape>;
|
|
202
|
-
export const EuiThemeContext: import("react").Context<EuiThemeComputed>;
|
|
203
|
-
export const EuiNestedThemeContext: import("react").Context<EuiThemeNested>;
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
declare module '@elastic/eui/src/services/theme/warning' {
|
|
207
|
-
type LEVELS = 'log' | 'warn' | 'error';
|
|
208
|
-
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
209
|
-
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
210
|
-
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
211
|
-
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
212
|
-
export {};
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
declare module '@elastic/eui/src/services/theme/hooks' {
|
|
216
|
-
import React from 'react';
|
|
217
|
-
import type { EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeModifications, 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
|
-
}
|
|
254
|
-
declare module '@elastic/eui/src/services/throttle' {
|
|
255
|
-
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
256
|
-
|
|
257
|
-
}
|
|
258
|
-
declare module '@elastic/eui/src/services/breakpoint/_sorting' {
|
|
259
|
-
import { _EuiThemeBreakpoints } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
260
|
-
export const sortMapByLargeToSmallValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
261
|
-
export const sortMapBySmallToLargeValues: (breakpointsMap: _EuiThemeBreakpoints) => _EuiThemeBreakpoints;
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
265
|
-
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
266
|
-
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
267
|
-
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
268
|
-
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
269
|
-
/**
|
|
270
|
-
* Returns the current breakpoint based on window width.
|
|
271
|
-
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
272
|
-
* of window resize listeners on the page). Also conditionally called if a
|
|
273
|
-
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
274
|
-
*/
|
|
275
|
-
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
276
|
-
export {};
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
280
|
-
/**
|
|
281
|
-
* Hook util / syntactical sugar for useContext()
|
|
282
|
-
*
|
|
283
|
-
* This hook is in its own separate file to make mocking it
|
|
284
|
-
* as a testenv easy for Jest unit tests
|
|
285
|
-
*/
|
|
286
|
-
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
179
|
+
declare module '@elastic/eui/src/services/theme/types' {
|
|
180
|
+
export { COLOR_MODES_STANDARD, COLOR_MODES_INVERSE, type EuiThemeColorModeInverse, type EuiThemeColorModeStandard, type EuiThemeColorMode, type ColorModeSwitch, type StrictColorModeSwitch, type EuiThemeShape, type EuiThemeSystem, type EuiThemeModifications, type ComputedThemeShape, type EuiThemeComputed, type EuiThemeNested, type EuiThemeHighContrastMode, type EuiThemeHighContrastModeProp, } from '@elastic/eui-theme-common';
|
|
287
181
|
|
|
288
182
|
}
|
|
289
183
|
declare module '@elastic/eui/src/services/emotion/clone_element' {
|
|
@@ -382,6 +276,10 @@ declare module '@elastic/eui/src/services/hooks/useDeepEqual' {
|
|
|
382
276
|
*/
|
|
383
277
|
export const useDeepEqual: <T = Record<string, any> | any[] | undefined>(object: T) => T;
|
|
384
278
|
|
|
279
|
+
}
|
|
280
|
+
declare module '@elastic/eui/src/services/throttle' {
|
|
281
|
+
export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
|
|
282
|
+
|
|
385
283
|
}
|
|
386
284
|
declare module '@elastic/eui/src/services/hooks/useMouseMove' {
|
|
387
285
|
import { MouseEvent, TouchEvent } from 'react';
|
|
@@ -404,6 +302,15 @@ declare module '@elastic/eui/src/services/hooks' {
|
|
|
404
302
|
export * from '@elastic/eui/src/services/hooks/useMouseMove';
|
|
405
303
|
export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
|
|
406
304
|
|
|
305
|
+
}
|
|
306
|
+
declare module '@elastic/eui/src/services/theme/warning' {
|
|
307
|
+
type LEVELS = 'log' | 'warn' | 'error';
|
|
308
|
+
type ProviderCallback = (message: string | Error) => void; let providerWarning: LEVELS | ProviderCallback | undefined;
|
|
309
|
+
export const setEuiDevProviderWarning: (warningType: typeof providerWarning) => LEVELS | ProviderCallback | undefined;
|
|
310
|
+
export const getEuiDevProviderWarning: () => LEVELS | ProviderCallback | undefined;
|
|
311
|
+
export const emitEuiProviderWarning: (providerMessage: string) => void;
|
|
312
|
+
export {};
|
|
313
|
+
|
|
407
314
|
}
|
|
408
315
|
declare module '@elastic/eui/src/services/theme/style_memoization' {
|
|
409
316
|
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
@@ -600,6 +507,11 @@ declare module '@elastic/eui/src/services/color/color_palette' {
|
|
|
600
507
|
*/
|
|
601
508
|
categorical?: boolean): string[];
|
|
602
509
|
|
|
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
|
+
|
|
603
515
|
}
|
|
604
516
|
declare module '@elastic/eui/src/services/color/vis_color_store' {
|
|
605
517
|
import { _EuiVisColorStore } from '@elastic/eui-theme-common';
|
|
@@ -1259,6 +1171,12 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
|
|
|
1259
1171
|
*/
|
|
1260
1172
|
export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
|
|
1261
1173
|
|
|
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
|
+
|
|
1262
1180
|
}
|
|
1263
1181
|
declare module '@elastic/eui/src/global_styling/variables/animations' {
|
|
1264
1182
|
export { euiCanAnimate, euiCantAnimate, EuiThemeAnimationSpeeds, EuiThemeAnimationEasings, type _EuiThemeAnimationSpeed, type _EuiThemeAnimationSpeeds, type _EuiThemeAnimationEasing, type _EuiThemeAnimationEasings, type _EuiThemeAnimation, } from '@elastic/eui-theme-common';
|
|
@@ -2305,7 +2223,7 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
|
|
|
2305
2223
|
isExpander?: boolean;
|
|
2306
2224
|
/**
|
|
2307
2225
|
* Mobile options for displaying differently at small screens;
|
|
2308
|
-
* See
|
|
2226
|
+
* See {@link EuiTableRowCellMobileOptionsShape}
|
|
2309
2227
|
*/
|
|
2310
2228
|
mobileOptions?: EuiTableRowCellMobileOptionsShape;
|
|
2311
2229
|
/**
|
|
@@ -2978,7 +2896,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
2978
2896
|
import { WithEuiStylesMemoizerProps } from '@elastic/eui/src/services';
|
|
2979
2897
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
2980
2898
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
2981
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "
|
|
2899
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "code" | "link" | "menu" | "search" | "section" | "filter" | "image" | "stop" | "at" | "key" | "copy" | "cut" | "error" | "pause" | "play" | "warning" | "color" | "push" | "temperature" | "empty" | "scale" | "wordWrap" | "grid" | "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" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "palette" | "partial" | "payment" | "pencil" | "percent" | "pin" | "pipeBreaks" | "pipeNoBreaks" | "pivot" | "playFilled" | "plugs" | "plus" | "popout" | "quote" | "refresh" | "reporter" | "save" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "sparkles" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timelineWithArrow" | "timeRefresh" | "timeslider" | "training" | "transitionLeftIn" | "transitionLeftOut" | "transitionTopIn" | "transitionTopOut" | "trash" | "unfold" | "unlink" | "user" | "users" | "vector" | "videoPlayer" | "warningFilled" | "web" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDimension" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenSemanticText" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "tokenVectorDense" | "tokenVectorSparse" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "anomalyChart" | "anomalySwimLane" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "beaker" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "changePointDetection" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createGenericJob" | "createGeoJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "crossInCircle" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "discuss" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "fieldStatistics" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "glasses" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "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")[];
|
|
2982
2900
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
2983
2901
|
export type IconType = EuiIconType | string | ComponentType;
|
|
2984
2902
|
export type IconColor = string | NamedColor;
|
|
@@ -3615,7 +3533,7 @@ declare module '@elastic/eui/src/components/loading/loading_spinner' {
|
|
|
3615
3533
|
/**
|
|
3616
3534
|
* Sets the color of the border and highlight.
|
|
3617
3535
|
* Each key accepts any valid CSS color value as a `string`
|
|
3618
|
-
* See
|
|
3536
|
+
* See {@link EuiLoadingSpinnerColor}
|
|
3619
3537
|
*/
|
|
3620
3538
|
color?: EuiLoadingSpinnerColor;
|
|
3621
3539
|
};
|
|
@@ -4256,7 +4174,7 @@ declare module '@elastic/eui/src/components/button/button_group/button_group' {
|
|
|
4256
4174
|
*/
|
|
4257
4175
|
type?: 'single' | 'multi';
|
|
4258
4176
|
/**
|
|
4259
|
-
* An array of
|
|
4177
|
+
* An array of {@link EuiButtonGroupOptionProps}
|
|
4260
4178
|
*/
|
|
4261
4179
|
options: EuiButtonGroupOptionProps[];
|
|
4262
4180
|
} & ({
|
|
@@ -5292,7 +5210,7 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
|
|
|
5292
5210
|
} & Pick<EuiTableFieldDataColumnType<T>, 'readOnly' | 'description' | 'width' | 'align' | 'truncateText' | 'isExpander'>;
|
|
5293
5211
|
export type EuiTableActionsColumnType<T extends object> = {
|
|
5294
5212
|
/**
|
|
5295
|
-
* An array of one of the objects:
|
|
5213
|
+
* An array of one of the objects: {@link DefaultItemAction} or {@link CustomItemAction}
|
|
5296
5214
|
*/
|
|
5297
5215
|
actions: Array<Action<T>>;
|
|
5298
5216
|
/**
|
|
@@ -5982,7 +5900,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
5982
5900
|
*/
|
|
5983
5901
|
panelStyle?: CSSProperties;
|
|
5984
5902
|
/**
|
|
5985
|
-
* Object of props passed to EuiPanel. See
|
|
5903
|
+
* Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
|
|
5986
5904
|
*/
|
|
5987
5905
|
panelProps?: Omit<EuiPopoverPanelProps, 'style' | 'hasShadow' | 'hasBorder' | 'color'>;
|
|
5988
5906
|
panelRef?: RefCallback<HTMLElement | null>;
|
|
@@ -6772,7 +6690,7 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_display/c
|
|
|
6772
6690
|
export type EuiColorPaletteDisplaySize = (typeof SIZES)[number];
|
|
6773
6691
|
export interface EuiColorPaletteDisplayShared {
|
|
6774
6692
|
/**
|
|
6775
|
-
* Array of color `strings` or an array of
|
|
6693
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
6776
6694
|
*/
|
|
6777
6695
|
palette: string[] | PaletteColorStop[];
|
|
6778
6696
|
}
|
|
@@ -6834,7 +6752,7 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
|
|
|
6834
6752
|
*/
|
|
6835
6753
|
type: 'text';
|
|
6836
6754
|
/**
|
|
6837
|
-
* Array of color `strings` or an array of
|
|
6755
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
6838
6756
|
*/
|
|
6839
6757
|
palette?: string[] | PaletteColorStop[];
|
|
6840
6758
|
}
|
|
@@ -6856,7 +6774,7 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
|
|
|
6856
6774
|
*/
|
|
6857
6775
|
type: 'fixed';
|
|
6858
6776
|
/**
|
|
6859
|
-
* Array of color `strings` or an array of
|
|
6777
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
6860
6778
|
*/
|
|
6861
6779
|
palette: string[] | PaletteColorStop[];
|
|
6862
6780
|
}
|
|
@@ -6878,7 +6796,7 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
|
|
|
6878
6796
|
*/
|
|
6879
6797
|
type: 'gradient';
|
|
6880
6798
|
/**
|
|
6881
|
-
* Array of color `strings` or an array of
|
|
6799
|
+
* Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
|
|
6882
6800
|
*/
|
|
6883
6801
|
palette: string[] | PaletteColorStop[];
|
|
6884
6802
|
}
|
|
@@ -6889,7 +6807,7 @@ declare module '@elastic/eui/src/components/color_picker/color_palette_picker/co
|
|
|
6889
6807
|
*/
|
|
6890
6808
|
selectionDisplay?: 'palette' | 'title';
|
|
6891
6809
|
/**
|
|
6892
|
-
* An array of one of the following objects:
|
|
6810
|
+
* An array of one of the following objects: {@link EuiColorPalettePickerPaletteText}, {@link EuiColorPalettePickerPaletteFixed}, {@link EuiColorPalettePickerPaletteGradient}
|
|
6893
6811
|
*/
|
|
6894
6812
|
palettes: EuiColorPalettePickerPaletteProps[];
|
|
6895
6813
|
};
|
|
@@ -6905,6 +6823,98 @@ declare module '@elastic/eui/src/services/color/stepped_gradient' {
|
|
|
6905
6823
|
import { PaletteColorStop } from '@elastic/eui/src/components/color_picker/color_palette_picker';
|
|
6906
6824
|
export const getSteppedGradient: (colors: PaletteColorStop[], steps: number) => string[];
|
|
6907
6825
|
|
|
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
|
+
|
|
6908
6918
|
}
|
|
6909
6919
|
declare module '@elastic/eui/src/services/color/manipulation' {
|
|
6910
6920
|
import { EuiThemeColorModeStandard } from '@elastic/eui/src/services/theme';
|
|
@@ -6971,96 +6981,233 @@ declare module '@elastic/eui/src/services/color/manipulation' {
|
|
|
6971
6981
|
export const brighten: (color: string, amount: number) => string;
|
|
6972
6982
|
|
|
6973
6983
|
}
|
|
6974
|
-
declare module '@elastic/eui/src/
|
|
6975
|
-
export const wcagContrastMin = 4.5;
|
|
6984
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
6976
6985
|
/**
|
|
6977
|
-
*
|
|
6978
|
-
*
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6986
|
+
* These are not actually used, but we map them to ensure token parity.
|
|
6987
|
+
* They are mapped to other vis colors
|
|
6988
|
+
*/
|
|
6989
|
+
export const severityColors: {
|
|
6990
|
+
unknown: string;
|
|
6991
|
+
neutral: string;
|
|
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;
|
|
7128
|
+
};
|
|
7129
|
+
modifications: {};
|
|
7130
|
+
colorMode: "LIGHT";
|
|
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.
|
|
6982
7174
|
*/
|
|
6983
|
-
export const
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
}
|
|
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
|
+
};
|
|
6989
7181
|
/**
|
|
6990
|
-
*
|
|
6991
|
-
*
|
|
6992
|
-
* @param foreground - Color to manipulate
|
|
6993
|
-
* @param ratio - Amount to change in absolute terms. 0-10.
|
|
6994
|
-
* *
|
|
6995
|
-
* @param themeOrBackground - Color to use as the contrast basis
|
|
7182
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
7183
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
6996
7184
|
*/
|
|
6997
|
-
export const
|
|
6998
|
-
colors: {
|
|
6999
|
-
body: string;
|
|
7000
|
-
};
|
|
7001
|
-
[key: string]: any;
|
|
7002
|
-
}) => string;
|
|
7003
|
-
|
|
7004
|
-
}
|
|
7005
|
-
declare module '@elastic/eui/src/services/color' {
|
|
7006
|
-
export { isColorDark } from '@elastic/eui/src/services/color/is_color_dark';
|
|
7007
|
-
export { isValidHex } from '@elastic/eui/src/services/color/is_valid_hex';
|
|
7008
|
-
export { hexToHsv } from '@elastic/eui/src/services/color/hex_to_hsv';
|
|
7009
|
-
export { hexToRgb } from '@elastic/eui/src/services/color/hex_to_rgb';
|
|
7010
|
-
export { hsvToHex } from '@elastic/eui/src/services/color/hsv_to_hex';
|
|
7011
|
-
export { hsvToRgb } from '@elastic/eui/src/services/color/hsv_to_rgb';
|
|
7012
|
-
export { rgbToHex } from '@elastic/eui/src/services/color/rgb_to_hex';
|
|
7013
|
-
export { rgbToHsv } from '@elastic/eui/src/services/color/rgb_to_hsv';
|
|
7014
|
-
export { calculateContrast, calculateLuminance, } from '@elastic/eui/src/services/color/luminance_and_contrast';
|
|
7015
|
-
export { VISUALIZATION_COLORS, DEFAULT_VISUALIZATION_COLOR, } from '@elastic/eui/src/services/color/visualization_colors';
|
|
7016
|
-
export { EUI_VIS_COLOR_STORE } from '@elastic/eui/src/services/color/vis_color_store';
|
|
7017
|
-
export { colorPalette } from '@elastic/eui/src/services/color/color_palette';
|
|
7018
|
-
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';
|
|
7019
|
-
export * from '@elastic/eui/src/services/color/eui_palettes_hooks';
|
|
7020
|
-
export type { rgbDef, HSV, RGB } from '@elastic/eui/src/services/color/color_types';
|
|
7021
|
-
export { getSteppedGradient } from '@elastic/eui/src/services/color/stepped_gradient';
|
|
7022
|
-
export * from '@elastic/eui/src/services/color/manipulation';
|
|
7023
|
-
export * from '@elastic/eui/src/services/color/contrast';
|
|
7185
|
+
export const useIsDarkMode: () => boolean;
|
|
7024
7186
|
|
|
7025
7187
|
}
|
|
7026
|
-
declare module '@elastic/eui/src/services/
|
|
7027
|
-
import React, {
|
|
7028
|
-
import
|
|
7029
|
-
|
|
7030
|
-
export
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
*
|
|
7040
|
-
* If an extra wrapper is not desired, pass `{ cloneElement: true }`.
|
|
7041
|
-
* This requires a **single** child component that the correct color class can be passed to.
|
|
7042
|
-
*
|
|
7043
|
-
* The parent level `EuiProvider`/`EuiThemeProvider` will **not** render a wrapper element, as
|
|
7044
|
-
* the default inherited text color will be set on the page `body`.
|
|
7045
|
-
*/
|
|
7046
|
-
wrapperProps?: HTMLAttributes<HTMLElement> & CommonProps & {
|
|
7047
|
-
cloneElement?: boolean;
|
|
7048
|
-
};
|
|
7049
|
-
}
|
|
7050
|
-
export const EuiThemeProvider: <T extends {} = {}>({ theme: _system, colorMode: _colorMode, highContrastMode: _highContrastMode, modify: _modifications, children, wrapperProps, }: EuiThemeProviderProps<T>) => React.JSX.Element;
|
|
7188
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint' {
|
|
7189
|
+
import React, { FunctionComponent, PropsWithChildren } from 'react';
|
|
7190
|
+
import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables/breakpoint';
|
|
7191
|
+
type CurrentEuiBreakpoint = _EuiThemeBreakpoint | undefined;
|
|
7192
|
+
export const CurrentEuiBreakpointContext: React.Context<CurrentEuiBreakpoint>;
|
|
7193
|
+
/**
|
|
7194
|
+
* Returns the current breakpoint based on window width.
|
|
7195
|
+
* Typically only called by the top-level `EuiProvider` (to reduce the number
|
|
7196
|
+
* of window resize listeners on the page). Also conditionally called if a
|
|
7197
|
+
* nested `EuiThemeProvider` defines a `modify.breakpoint` override
|
|
7198
|
+
*/
|
|
7199
|
+
export const CurrentEuiBreakpointProvider: FunctionComponent<PropsWithChildren>;
|
|
7200
|
+
export {};
|
|
7051
7201
|
|
|
7052
7202
|
}
|
|
7053
|
-
declare module '@elastic/eui/src/services/
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
export
|
|
7061
|
-
export { buildTheme, computed, isInverseColorMode, getColorMode, getComputed, getOn, mergeDeep, setOn, Computed, } from '@elastic/eui/src/services/theme/utils';
|
|
7062
|
-
export type { ComputedThemeShape, EuiThemeColorMode, EuiThemeColorModeStandard, EuiThemeHighContrastMode, EuiThemeHighContrastModeProp, EuiThemeComputed, EuiThemeModifications, EuiThemeShape, EuiThemeSystem, } from '@elastic/eui/src/services/theme/types';
|
|
7063
|
-
export { COLOR_MODES_STANDARD } from '@elastic/eui/src/services/theme/types';
|
|
7203
|
+
declare module '@elastic/eui/src/services/breakpoint/current_breakpoint_hook' {
|
|
7204
|
+
/**
|
|
7205
|
+
* Hook util / syntactical sugar for useContext()
|
|
7206
|
+
*
|
|
7207
|
+
* This hook is in its own separate file to make mocking it
|
|
7208
|
+
* as a testenv easy for Jest unit tests
|
|
7209
|
+
*/
|
|
7210
|
+
export const useCurrentEuiBreakpoint: () => string | undefined;
|
|
7064
7211
|
|
|
7065
7212
|
}
|
|
7066
7213
|
declare module '@elastic/eui/src/services/breakpoint/is_within_hooks' {
|
|
@@ -8620,7 +8767,7 @@ declare module '@elastic/eui/src/components/breadcrumbs/types' {
|
|
|
8620
8767
|
export type EuiBreadcrumbsProps = CommonProps & {
|
|
8621
8768
|
/**
|
|
8622
8769
|
* Hides extra (above the max) breadcrumbs under a collapsed item as the window gets smaller.
|
|
8623
|
-
* Pass a custom
|
|
8770
|
+
* Pass a custom {@link EuiBreadcrumbResponsiveMaxCount} object to change the number of breadcrumbs to show at the particular breakpoints.
|
|
8624
8771
|
*
|
|
8625
8772
|
* Pass `false` to turn this behavior off.
|
|
8626
8773
|
*
|
|
@@ -8640,7 +8787,7 @@ declare module '@elastic/eui/src/components/breadcrumbs/types' {
|
|
|
8640
8787
|
*/
|
|
8641
8788
|
max?: number | null;
|
|
8642
8789
|
/**
|
|
8643
|
-
* The array of individual
|
|
8790
|
+
* The array of individual {@link EuiBreadcrumb} items
|
|
8644
8791
|
*/
|
|
8645
8792
|
breadcrumbs: EuiBreadcrumbProps[];
|
|
8646
8793
|
/**
|
|
@@ -10214,7 +10361,7 @@ declare module '@elastic/eui/src/components/form/range/types' {
|
|
|
10214
10361
|
tickInterval?: number;
|
|
10215
10362
|
/**
|
|
10216
10363
|
* Create colored indicators for certain intervals.
|
|
10217
|
-
* An array of
|
|
10364
|
+
* An array of {@link EuiRangeLevel} objects
|
|
10218
10365
|
*/
|
|
10219
10366
|
levels?: EuiRangeLevel[];
|
|
10220
10367
|
}
|
|
@@ -12238,7 +12385,7 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
|
|
|
12238
12385
|
deregister: (panelId: EuiResizablePanelController['id']) => void;
|
|
12239
12386
|
};
|
|
12240
12387
|
/**
|
|
12241
|
-
*
|
|
12388
|
+
* See {@link ToggleCollapseCallback}
|
|
12242
12389
|
*/
|
|
12243
12390
|
onToggleCollapsed?: ToggleCollapseCallback;
|
|
12244
12391
|
onToggleCollapsedInternal: ToggleCollapseCallback;
|
|
@@ -12516,11 +12663,6 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12516
12663
|
declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button' {
|
|
12517
12664
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12518
12665
|
|
|
12519
|
-
}
|
|
12520
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis' {
|
|
12521
|
-
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12522
|
-
export const colorVis: _EuiThemeVisColors;
|
|
12523
|
-
|
|
12524
12666
|
}
|
|
12525
12667
|
declare module '@elastic/eui/src/themes/themes' {
|
|
12526
12668
|
import { EuiThemeSystem } from '@elastic/eui/src/services';
|
|
@@ -12530,143 +12672,6 @@ declare module '@elastic/eui/src/themes/themes' {
|
|
|
12530
12672
|
provider?: EuiThemeSystem;
|
|
12531
12673
|
}
|
|
12532
12674
|
|
|
12533
|
-
}
|
|
12534
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_severity' {
|
|
12535
|
-
/**
|
|
12536
|
-
* These are not actually used, but we map them to ensure token parity.
|
|
12537
|
-
* They are mapped to other vis colors
|
|
12538
|
-
*/
|
|
12539
|
-
export const severityColors: {
|
|
12540
|
-
unknown: string;
|
|
12541
|
-
neutral: string;
|
|
12542
|
-
success: string;
|
|
12543
|
-
warning: string;
|
|
12544
|
-
risk: string;
|
|
12545
|
-
danger: string;
|
|
12546
|
-
};
|
|
12547
|
-
|
|
12548
|
-
}
|
|
12549
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors' {
|
|
12550
|
-
import { _EuiThemeColors, _EuiThemeBrandColors, _EuiThemeBrandTextColors, _EuiThemeShadeColors, _EuiThemeSpecialColors, _EuiThemeTextColors, _EuiThemeColorsMode, _EuiThemeBackgroundColors, _EuiThemeBorderColors, _EuiThemeTransparentBackgroundColors } from '@elastic/eui-theme-common';
|
|
12551
|
-
export const brand_colors: _EuiThemeBrandColors;
|
|
12552
|
-
export const brand_text_colors: _EuiThemeBrandTextColors;
|
|
12553
|
-
export const shade_colors: _EuiThemeShadeColors;
|
|
12554
|
-
export const special_colors: _EuiThemeSpecialColors;
|
|
12555
|
-
export const text_colors: _EuiThemeTextColors;
|
|
12556
|
-
export const background_colors: _EuiThemeBackgroundColors;
|
|
12557
|
-
export const transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12558
|
-
export const border_colors: _EuiThemeBorderColors;
|
|
12559
|
-
export const light_colors: _EuiThemeColorsMode;
|
|
12560
|
-
export const dark_shades: _EuiThemeShadeColors;
|
|
12561
|
-
export const dark_background_colors: _EuiThemeBackgroundColors;
|
|
12562
|
-
export const dark_transparent_background_colors: _EuiThemeTransparentBackgroundColors;
|
|
12563
|
-
export const dark_border_colors: _EuiThemeBorderColors;
|
|
12564
|
-
export const dark_colors_ams: _EuiThemeColorsMode;
|
|
12565
|
-
export const colors: _EuiThemeColors;
|
|
12566
|
-
|
|
12567
|
-
}
|
|
12568
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_animation' {
|
|
12569
|
-
import { _EuiThemeAnimationSpeeds, _EuiThemeAnimationEasings, _EuiThemeAnimation } from '@elastic/eui/src/global_styling/variables/animations';
|
|
12570
|
-
export const animation_speed: _EuiThemeAnimationSpeeds;
|
|
12571
|
-
export const animation_ease: _EuiThemeAnimationEasings;
|
|
12572
|
-
export const animation: _EuiThemeAnimation;
|
|
12573
|
-
|
|
12574
|
-
}
|
|
12575
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_breakpoint' {
|
|
12576
|
-
export { breakpoint } from '@elastic/eui-theme-common';
|
|
12577
|
-
|
|
12578
|
-
}
|
|
12579
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_size' {
|
|
12580
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '@elastic/eui/src/global_styling/variables';
|
|
12581
|
-
export const base: _EuiThemeBase;
|
|
12582
|
-
export const size: _EuiThemeSizes;
|
|
12583
|
-
|
|
12584
|
-
}
|
|
12585
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_borders' {
|
|
12586
|
-
import { _EuiThemeBorder } from '@elastic/eui/src/global_styling/variables';
|
|
12587
|
-
export const border: _EuiThemeBorder;
|
|
12588
|
-
|
|
12589
|
-
}
|
|
12590
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_levels' {
|
|
12591
|
-
import { _EuiThemeLevels } from '@elastic/eui/src/global_styling/variables';
|
|
12592
|
-
export const levels: _EuiThemeLevels;
|
|
12593
|
-
|
|
12594
|
-
}
|
|
12595
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_typography' {
|
|
12596
|
-
import { _EuiThemeFont, _EuiThemeFontBase, _EuiThemeFontScales, _EuiThemeFontWeights } from '@elastic/eui/src/global_styling/variables/typography';
|
|
12597
|
-
export const fontScale: _EuiThemeFontScales;
|
|
12598
|
-
export const fontBase: _EuiThemeFontBase;
|
|
12599
|
-
export const fontWeight: _EuiThemeFontWeights;
|
|
12600
|
-
export const font: _EuiThemeFont;
|
|
12601
|
-
|
|
12602
|
-
}
|
|
12603
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_states' {
|
|
12604
|
-
import { _EuiThemeFocus } from '@elastic/eui/src/global_styling/variables/states';
|
|
12605
|
-
export const focus: _EuiThemeFocus;
|
|
12606
|
-
|
|
12607
|
-
}
|
|
12608
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_buttons' {
|
|
12609
|
-
import { _EuiThemeButton } from '@elastic/eui-theme-common';
|
|
12610
|
-
export const buttons: _EuiThemeButton;
|
|
12611
|
-
|
|
12612
|
-
}
|
|
12613
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_forms' {
|
|
12614
|
-
export const forms: {
|
|
12615
|
-
maxWidth: string;
|
|
12616
|
-
LIGHT: {
|
|
12617
|
-
background: string;
|
|
12618
|
-
backgroundDisabled: string;
|
|
12619
|
-
backgroundReadOnly: any;
|
|
12620
|
-
backgroundFocused: any;
|
|
12621
|
-
backgroundAutofilled: string;
|
|
12622
|
-
prependBackground: string;
|
|
12623
|
-
border: string;
|
|
12624
|
-
borderAutofilled: string;
|
|
12625
|
-
controlBorder: string;
|
|
12626
|
-
controlBorderSelected: string;
|
|
12627
|
-
controlBorderDisabled: string;
|
|
12628
|
-
controlBackgroundUnselected: any;
|
|
12629
|
-
controlBackgroundDisabled: any;
|
|
12630
|
-
colorHasPlaceholder: string;
|
|
12631
|
-
colorDisabled: any;
|
|
12632
|
-
iconDisabled: any;
|
|
12633
|
-
};
|
|
12634
|
-
DARK: {
|
|
12635
|
-
background: string;
|
|
12636
|
-
backgroundFocused: string;
|
|
12637
|
-
backgroundAutofilled: string;
|
|
12638
|
-
prependBackground: string;
|
|
12639
|
-
border: string;
|
|
12640
|
-
controlBorder: string;
|
|
12641
|
-
controlBorderSelected: string;
|
|
12642
|
-
controlBorderDisabled: string;
|
|
12643
|
-
backgroundDisabled: string;
|
|
12644
|
-
backgroundReadOnly: any;
|
|
12645
|
-
borderAutofilled: string;
|
|
12646
|
-
controlBackgroundUnselected: any;
|
|
12647
|
-
controlBackgroundDisabled: any;
|
|
12648
|
-
colorHasPlaceholder: string;
|
|
12649
|
-
colorDisabled: any;
|
|
12650
|
-
iconDisabled: any;
|
|
12651
|
-
};
|
|
12652
|
-
};
|
|
12653
|
-
|
|
12654
|
-
}
|
|
12655
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_components' {
|
|
12656
|
-
import { _EuiThemeComponents } from '@elastic/eui-theme-common';
|
|
12657
|
-
export const components: _EuiThemeComponents;
|
|
12658
|
-
|
|
12659
|
-
}
|
|
12660
|
-
declare module '@elastic/eui/src/themes/amsterdam/theme' {
|
|
12661
|
-
import { EuiThemeShape } from '@elastic/eui/src/services/theme/types';
|
|
12662
|
-
export const AMSTERDAM_NAME_KEY = "EUI_THEME_AMSTERDAM";
|
|
12663
|
-
export const euiThemeAmsterdam: EuiThemeShape;
|
|
12664
|
-
export const EuiThemeAmsterdam: {
|
|
12665
|
-
model: EuiThemeShape;
|
|
12666
|
-
root: EuiThemeShape;
|
|
12667
|
-
key: string;
|
|
12668
|
-
};
|
|
12669
|
-
|
|
12670
12675
|
}
|
|
12671
12676
|
declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow' {
|
|
12672
12677
|
export * from '@elastic/eui/src/global_styling/mixins/_shadow';
|
|
@@ -12949,7 +12954,7 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12949
12954
|
/**
|
|
12950
12955
|
* Will render either an accordion or group of nested child item links.
|
|
12951
12956
|
*
|
|
12952
|
-
* Accepts any
|
|
12957
|
+
* Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
|
|
12953
12958
|
* subitem content, pass an object with a `renderItem` callback.
|
|
12954
12959
|
*/
|
|
12955
12960
|
items: EuiCollapsibleNavSubItemProps[];
|
|
@@ -13149,7 +13154,7 @@ declare module '@elastic/eui/src/components/list_group/list_group_item' {
|
|
|
13149
13154
|
*/
|
|
13150
13155
|
showToolTip?: boolean;
|
|
13151
13156
|
/**
|
|
13152
|
-
* An object of
|
|
13157
|
+
* An object of {@link EuiListGroupItemExtraAction} props.
|
|
13153
13158
|
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
13154
13159
|
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
13155
13160
|
*/
|
|
@@ -13215,7 +13220,7 @@ declare module '@elastic/eui/src/components/list_group/list_group' {
|
|
|
13215
13220
|
*/
|
|
13216
13221
|
gutterSize?: EuiListGroupGutterSize;
|
|
13217
13222
|
/**
|
|
13218
|
-
* Items to display in this group. See
|
|
13223
|
+
* Items to display in this group. See {@link EuiListGroupItem}
|
|
13219
13224
|
*/
|
|
13220
13225
|
listItems?: EuiListGroupItemProps[];
|
|
13221
13226
|
/**
|
|
@@ -13275,7 +13280,7 @@ declare module '@elastic/eui/src/components/list_group/pinnable_list_group/pinna
|
|
|
13275
13280
|
export interface EuiPinnableListGroupProps extends CommonProps, EuiListGroupProps {
|
|
13276
13281
|
/**
|
|
13277
13282
|
* Extends `EuiListGroupItemProps`, at the very least, expecting a `label`.
|
|
13278
|
-
* See
|
|
13283
|
+
* See {@link EuiPinnableListGroupItemProps}
|
|
13279
13284
|
*/
|
|
13280
13285
|
listItems: EuiPinnableListGroupItemProps[];
|
|
13281
13286
|
/**
|
|
@@ -14040,7 +14045,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/com
|
|
|
14040
14045
|
onOptionEnterKey?: OptionHandler<T>;
|
|
14041
14046
|
onScroll?: ListProps['onScroll'];
|
|
14042
14047
|
/**
|
|
14043
|
-
* Array of EuiComboBoxOptionOption objects. See
|
|
14048
|
+
* Array of EuiComboBoxOptionOption objects. See {@link EuiComboBoxOptionOption}
|
|
14044
14049
|
*/
|
|
14045
14050
|
options: Array<EuiComboBoxOptionOption<T>>;
|
|
14046
14051
|
renderOption?: (option: EuiComboBoxOptionOption<T>, searchValue: string, OPTION_CONTENT_CLASSNAME: string) => ReactNode;
|
|
@@ -14399,7 +14404,7 @@ declare module '@elastic/eui/src/components/timeline/timeline' {
|
|
|
14399
14404
|
export type EuiTimelineGutterSize = (typeof GUTTER_SIZES)[number];
|
|
14400
14405
|
export interface EuiTimelineProps extends HTMLAttributes<HTMLOListElement>, CommonProps {
|
|
14401
14406
|
/**
|
|
14402
|
-
* List of timeline items to render. See
|
|
14407
|
+
* List of timeline items to render. See {@link EuiTimelineItem}
|
|
14403
14408
|
*/
|
|
14404
14409
|
items?: EuiTimelineItemProps[];
|
|
14405
14410
|
/**
|
|
@@ -14522,7 +14527,7 @@ declare module '@elastic/eui/src/components/comment_list/comment_list' {
|
|
|
14522
14527
|
import { EuiTimelineProps } from '@elastic/eui/src/components/timeline';
|
|
14523
14528
|
export type EuiCommentListProps = Omit<EuiTimelineProps, 'items' | 'gutterSize'> & {
|
|
14524
14529
|
/**
|
|
14525
|
-
* List of comments to render. See
|
|
14530
|
+
* List of comments to render. See {@link EuiComment}
|
|
14526
14531
|
*/
|
|
14527
14532
|
comments?: EuiCommentProps[];
|
|
14528
14533
|
/**
|
|
@@ -14601,7 +14606,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
14601
14606
|
/**
|
|
14602
14607
|
* Height types
|
|
14603
14608
|
*/
|
|
14604
|
-
getHeightType: (option?: EuiDataGridRowHeightOption) => "
|
|
14609
|
+
getHeightType: (option?: EuiDataGridRowHeightOption) => "default" | "auto" | "lineCount" | "numerical";
|
|
14605
14610
|
/**
|
|
14606
14611
|
* Line count utils
|
|
14607
14612
|
*/
|
|
@@ -14784,7 +14789,7 @@ declare module '@elastic/eui/src/components/token' {
|
|
|
14784
14789
|
}
|
|
14785
14790
|
declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
14786
14791
|
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Ref, Component, ComponentClass, KeyboardEventHandler, JSX } from 'react';
|
|
14787
|
-
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps } from 'react-window';
|
|
14792
|
+
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps, GridOnScrollProps } from 'react-window';
|
|
14788
14793
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
|
|
14789
14794
|
import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui/src/components/button';
|
|
14790
14795
|
import { ExclusiveUnion, CommonProps, OneOf } from '@elastic/eui/src/components/common';
|
|
@@ -14839,7 +14844,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
14839
14844
|
}
|
|
14840
14845
|
export interface EuiDataGridSchemaDetector {
|
|
14841
14846
|
/**
|
|
14842
|
-
* The name of this data type, matches
|
|
14847
|
+
* The name of this data type, matches {@link EuiDataGridColumn} / `schema`
|
|
14843
14848
|
*/
|
|
14844
14849
|
type: string;
|
|
14845
14850
|
/**
|
|
@@ -14870,7 +14875,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
14870
14875
|
*/
|
|
14871
14876
|
sortTextDesc: ReactNode;
|
|
14872
14877
|
/**
|
|
14873
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual
|
|
14878
|
+
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
14874
14879
|
*/
|
|
14875
14880
|
isSortable?: boolean;
|
|
14876
14881
|
/**
|
|
@@ -14878,7 +14883,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
14878
14883
|
*/
|
|
14879
14884
|
textTransform?: 'uppercase' | 'lowercase' | 'capitalize';
|
|
14880
14885
|
/**
|
|
14881
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual
|
|
14886
|
+
* Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
|
|
14882
14887
|
*/
|
|
14883
14888
|
defaultSortDirection?: 'asc' | 'desc';
|
|
14884
14889
|
}
|
|
@@ -14972,27 +14977,27 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
14972
14977
|
}
|
|
14973
14978
|
export type CommonGridProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
14974
14979
|
/**
|
|
14975
|
-
* An array of
|
|
14980
|
+
* An array of {@link EuiDataGridColumn} objects. Lists the columns available and the schema and settings tied to it.
|
|
14976
14981
|
*/
|
|
14977
14982
|
columns: EuiDataGridColumn[];
|
|
14978
14983
|
/**
|
|
14979
|
-
* An array of
|
|
14984
|
+
* An array of {@link EuiDataGridControlColumn} objects. Used to define ancillary columns on the left side of the data grid.
|
|
14980
14985
|
* Useful for adding items like checkboxes and buttons.
|
|
14981
14986
|
*/
|
|
14982
14987
|
leadingControlColumns?: EuiDataGridControlColumn[];
|
|
14983
14988
|
/**
|
|
14984
|
-
* An array of
|
|
14989
|
+
* An array of {@link EuiDataGridControlColumn} objects. Used to define ancillary columns on the right side of the data grid.
|
|
14985
14990
|
* Useful for adding items like checkboxes and buttons.
|
|
14986
14991
|
*/
|
|
14987
14992
|
trailingControlColumns?: EuiDataGridControlColumn[];
|
|
14988
14993
|
/**
|
|
14989
|
-
* An array of
|
|
14994
|
+
* An array of {@link EuiDataGridColumnVisibility} objects.
|
|
14990
14995
|
* Defines which columns are **intitially** visible in the grid and the order they are displayed.
|
|
14991
14996
|
* Users can still turn their visibility on/off when `toolbarVisibility.showColumnSelector = true` (which is the default).
|
|
14992
14997
|
*/
|
|
14993
14998
|
columnVisibility: EuiDataGridColumnVisibility;
|
|
14994
14999
|
/**
|
|
14995
|
-
* An array of custom
|
|
15000
|
+
* An array of custom {@link EuiDataGridSchemaDetector} objects. You can inject custom schemas to the grid to define the classnames applied.
|
|
14996
15001
|
*/
|
|
14997
15002
|
schemaDetectors?: EuiDataGridSchemaDetector[];
|
|
14998
15003
|
/**
|
|
@@ -15001,7 +15006,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15001
15006
|
rowCount: number;
|
|
15002
15007
|
/**
|
|
15003
15008
|
* A function called to render a cell's value. Behind the scenes it is treated as a React component
|
|
15004
|
-
* allowing hooks, context, and other React concepts to be used. The function receives
|
|
15009
|
+
* allowing hooks, context, and other React concepts to be used. The function receives {@link EuiDataGridCellValueElementProps}
|
|
15005
15010
|
* as its only argument.
|
|
15006
15011
|
*/
|
|
15007
15012
|
renderCellValue: EuiDataGridCellProps['renderCellValue'];
|
|
@@ -15018,7 +15023,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15018
15023
|
* `<EuiPopoverFooter>` around the cell actions.
|
|
15019
15024
|
*
|
|
15020
15025
|
* Behind the scenes it is treated as a React component allowing hooks, context, and other React concepts to be used.
|
|
15021
|
-
* The function receives
|
|
15026
|
+
* The function receives {@link EuiDataGridCellPopoverElementProps} as its only argument.
|
|
15022
15027
|
*
|
|
15023
15028
|
*/
|
|
15024
15029
|
renderCellPopover?: EuiDataGridCellProps['renderCellPopover'];
|
|
@@ -15026,7 +15031,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15026
15031
|
* An optional function called to render a footer cell. If not specified, no footer row is rendered.
|
|
15027
15032
|
*
|
|
15028
15033
|
* Behind the scenes it is treated as a React component
|
|
15029
|
-
* allowing hooks, context, and other React concepts to be used. The function receives
|
|
15034
|
+
* allowing hooks, context, and other React concepts to be used. The function receives {@link EuiDataGridCellValueElementProps}
|
|
15030
15035
|
* as its only argument.
|
|
15031
15036
|
*/
|
|
15032
15037
|
renderFooterCellValue?: EuiDataGridCellProps['renderCellValue'];
|
|
@@ -15039,7 +15044,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15039
15044
|
*
|
|
15040
15045
|
* Behind the scenes, this function is treated as a React component,
|
|
15041
15046
|
* allowing hooks, context, and other React concepts to be used.
|
|
15042
|
-
* It receives
|
|
15047
|
+
* It receives {@link EuiDataGridCustomBodyProps} as its only argument.
|
|
15043
15048
|
*/
|
|
15044
15049
|
renderCustomGridBody?: (args: EuiDataGridCustomBodyProps) => ReactNode;
|
|
15045
15050
|
/**
|
|
@@ -15048,34 +15053,34 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15048
15053
|
*
|
|
15049
15054
|
* Behind the scenes, this function is treated as a React component,
|
|
15050
15055
|
* allowing hooks, context, and other React concepts to be used.
|
|
15051
|
-
* It receives
|
|
15056
|
+
* It receives {@link EuiDataGridCustomToolbarProps} as its only argument.
|
|
15052
15057
|
*/
|
|
15053
15058
|
renderCustomToolbar?: EuiDataGridToolbarProps['renderCustomToolbar'];
|
|
15054
15059
|
/**
|
|
15055
|
-
* Defines the initial style of the grid. Accepts a partial
|
|
15060
|
+
* Defines the initial style of the grid. Accepts a partial {@link EuiDataGridStyle} object.
|
|
15056
15061
|
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowDensity = true` (which is the default).
|
|
15057
15062
|
*/
|
|
15058
15063
|
gridStyle?: EuiDataGridStyle;
|
|
15059
15064
|
/**
|
|
15060
15065
|
* Allows you to configure what features the toolbar shows.
|
|
15061
15066
|
*
|
|
15062
|
-
* Accepts either a boolean or
|
|
15067
|
+
* Accepts either a boolean or {@link EuiDataGridToolBarVisibilityOptions} object.
|
|
15063
15068
|
* When used as a boolean, defines the display of the entire toolbar.
|
|
15064
15069
|
* When passed an object allows you to turn off individual controls within the toolbar as well as add additional buttons.
|
|
15065
15070
|
*/
|
|
15066
15071
|
toolbarVisibility?: boolean | EuiDataGridToolBarVisibilityOptions;
|
|
15067
15072
|
/**
|
|
15068
|
-
* A
|
|
15073
|
+
* A {@link EuiDataGridInMemory} object to define the level of high order schema-detection and sorting logic to use on your data.
|
|
15069
15074
|
* **Try to set when possible**.
|
|
15070
15075
|
* If omitted, disables all enhancements and assumes content is flat strings.
|
|
15071
15076
|
*/
|
|
15072
15077
|
inMemory?: EuiDataGridInMemory;
|
|
15073
15078
|
/**
|
|
15074
|
-
* A
|
|
15079
|
+
* A {@link EuiDataGridPaginationProps} object. Omit to disable pagination completely.
|
|
15075
15080
|
*/
|
|
15076
15081
|
pagination?: EuiDataGridPaginationProps;
|
|
15077
15082
|
/**
|
|
15078
|
-
* A
|
|
15083
|
+
* A {@link EuiDataGridSorting} object that provides the sorted columns along with their direction. Provides a callback for when it changes.
|
|
15079
15084
|
* Optional, but required when inMemory is set.
|
|
15080
15085
|
* Omit to disable, but you'll likely want to also turn off the user sorting controls through the `toolbarVisibility` prop.
|
|
15081
15086
|
*/
|
|
@@ -15099,9 +15104,23 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15099
15104
|
/**
|
|
15100
15105
|
* Allows customizing the underlying [react-window grid](https://react-window.vercel.app/#/api/VariableSizeGrid) props.
|
|
15101
15106
|
*/
|
|
15102
|
-
virtualizationOptions?: Pick<VariableSizeGridProps, 'className' | 'style' | 'direction' | 'estimatedRowHeight' | 'estimatedColumnWidth' | 'overscanRowCount' | 'overscanColumnCount' | 'initialScrollTop' | 'initialScrollLeft' | '
|
|
15103
|
-
|
|
15104
|
-
|
|
15107
|
+
virtualizationOptions?: Pick<VariableSizeGridProps, 'className' | 'style' | 'direction' | 'estimatedRowHeight' | 'estimatedColumnWidth' | 'overscanRowCount' | 'overscanColumnCount' | 'initialScrollTop' | 'initialScrollLeft' | 'onItemsRendered' | 'itemKey' | 'outerElementType'> & {
|
|
15108
|
+
/**
|
|
15109
|
+
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
|
|
15110
|
+
*/
|
|
15111
|
+
onScroll?: (args: GridOnScrollProps & {
|
|
15112
|
+
scrollHeight: number;
|
|
15113
|
+
scrollWidth: number;
|
|
15114
|
+
clientHeight: number;
|
|
15115
|
+
clientWidth: number;
|
|
15116
|
+
isScrolledToBlockStart: boolean;
|
|
15117
|
+
isScrolledToBlockEnd: boolean;
|
|
15118
|
+
isScrolledToInlineStart: boolean;
|
|
15119
|
+
isScrolledToInlineEnd: boolean;
|
|
15120
|
+
}) => void;
|
|
15121
|
+
};
|
|
15122
|
+
/**
|
|
15123
|
+
* A {@link EuiDataGridRowHeightsOptions} object that provides row heights options.
|
|
15105
15124
|
* Allows configuring both default and specific heights of grid rows.
|
|
15106
15125
|
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowRowHeight = true` (which is the default).
|
|
15107
15126
|
*/
|
|
@@ -15264,7 +15283,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15264
15283
|
*/
|
|
15265
15284
|
colIndex: number;
|
|
15266
15285
|
/**
|
|
15267
|
-
* ID of the column being rendered, the value comes from the
|
|
15286
|
+
* ID of the column being rendered, the value comes from the {@link EuiDataGridColumn} `id`
|
|
15268
15287
|
*/
|
|
15269
15288
|
columnId: string;
|
|
15270
15289
|
/**
|
|
@@ -15282,7 +15301,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15282
15301
|
*/
|
|
15283
15302
|
setCellProps: (props: EuiDataGridSetCellProps) => void;
|
|
15284
15303
|
/**
|
|
15285
|
-
* Whether or not the cell is expandable, comes from the
|
|
15304
|
+
* Whether or not the cell is expandable, comes from the {@link EuiDataGridColumn} `isExpandable` which defaults to `true`
|
|
15286
15305
|
*/
|
|
15287
15306
|
isExpandable: boolean;
|
|
15288
15307
|
/**
|
|
@@ -15428,12 +15447,12 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15428
15447
|
defaultSortDirection?: 'asc' | 'desc';
|
|
15429
15448
|
/**
|
|
15430
15449
|
* A Schema to use for the column.
|
|
15431
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own
|
|
15450
|
+
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
|
|
15432
15451
|
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
15433
15452
|
*/
|
|
15434
15453
|
schema?: string;
|
|
15435
15454
|
/**
|
|
15436
|
-
* Configuration of column actions. Set to false to disable or use
|
|
15455
|
+
* Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
|
|
15437
15456
|
*/
|
|
15438
15457
|
actions?: false | EuiDataGridColumnActions;
|
|
15439
15458
|
/**
|
|
@@ -15504,7 +15523,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15504
15523
|
}
|
|
15505
15524
|
export interface EuiDataGridColumnVisibility {
|
|
15506
15525
|
/**
|
|
15507
|
-
* An array of
|
|
15526
|
+
* An array of {@link EuiDataGridColumn} `id`s dictating the order and visibility of columns.
|
|
15508
15527
|
*/
|
|
15509
15528
|
visibleColumns: string[];
|
|
15510
15529
|
/**
|
|
@@ -15545,7 +15564,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15545
15564
|
*/
|
|
15546
15565
|
stripes?: boolean;
|
|
15547
15566
|
/**
|
|
15548
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when
|
|
15567
|
+
* Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
|
|
15549
15568
|
* @default shade
|
|
15550
15569
|
*/
|
|
15551
15570
|
header?: EuiDataGridStyleHeader;
|
|
@@ -15618,13 +15637,13 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15618
15637
|
export type EuiDataGridDisplaySelectorCustomRender = (args: EuiDataGridDisplaySelectorCustomRenderProps) => ReactNode;
|
|
15619
15638
|
export interface EuiDataGridToolBarVisibilityOptions {
|
|
15620
15639
|
/**
|
|
15621
|
-
* Allows the ability for the user to hide fields and sort columns, boolean or a
|
|
15640
|
+
* Allows the ability for the user to hide fields and sort columns, boolean or a {@link EuiDataGridToolBarVisibilityColumnSelectorOptions}
|
|
15622
15641
|
* @default true
|
|
15623
15642
|
*/
|
|
15624
15643
|
showColumnSelector?: boolean | EuiDataGridToolBarVisibilityColumnSelectorOptions;
|
|
15625
15644
|
/**
|
|
15626
15645
|
* Allows the ability for the user to customize display settings such as grid density and row heights.
|
|
15627
|
-
* User changes will override what is provided in
|
|
15646
|
+
* User changes will override what is provided in {@link EuiDataGridStyle} and {@link EuiDataGridRowHeightsOptions}
|
|
15628
15647
|
* @default true
|
|
15629
15648
|
*/
|
|
15630
15649
|
showDisplaySelector?: boolean | EuiDataGridToolBarVisibilityDisplaySelectorOptions;
|
|
@@ -15646,14 +15665,14 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15646
15665
|
showFullScreenSelector?: boolean;
|
|
15647
15666
|
/**
|
|
15648
15667
|
* If passed a `ReactNode`, appends the passed custom control into the left side of the toolbar, after the column & sort controls.
|
|
15649
|
-
* Or use
|
|
15668
|
+
* Or use {@link EuiDataGridToolBarAdditionalControlsOptions} to customize the location of your control.
|
|
15650
15669
|
*/
|
|
15651
15670
|
additionalControls?: ReactNode | EuiDataGridToolBarAdditionalControlsOptions;
|
|
15652
15671
|
}
|
|
15653
15672
|
export interface EuiDataGridToolBarAdditionalControlsOptions {
|
|
15654
15673
|
/**
|
|
15655
15674
|
* If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
15656
|
-
* Or use
|
|
15675
|
+
* Or use {@link EuiDataGridToolBarAdditionalControlsLeftOptions} to customize the location of your control.
|
|
15657
15676
|
* We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
|
|
15658
15677
|
*/
|
|
15659
15678
|
left?: ReactNode | EuiDataGridToolBarAdditionalControlsLeftOptions;
|
|
@@ -15767,7 +15786,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
15767
15786
|
* Defines the height for a specific row. It can be line count or just height.
|
|
15768
15787
|
*
|
|
15769
15788
|
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
15770
|
-
* toolbar control to `false` in
|
|
15789
|
+
* toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
|
|
15771
15790
|
*/
|
|
15772
15791
|
rowHeights?: Record<number, EuiDataGridRowHeightOption>;
|
|
15773
15792
|
/**
|
|
@@ -18325,7 +18344,7 @@ declare module '@elastic/eui/src/components/responsive/hide_for' {
|
|
|
18325
18344
|
children: ReactNode;
|
|
18326
18345
|
/**
|
|
18327
18346
|
* List of all the responsive sizes to hide the children for.
|
|
18328
|
-
* Array of
|
|
18347
|
+
* Array of {@link EuiBreakpointSize}
|
|
18329
18348
|
*/
|
|
18330
18349
|
sizes: EuiHideForBreakpoints[] | 'all' | 'none';
|
|
18331
18350
|
}
|
|
@@ -18343,7 +18362,7 @@ declare module '@elastic/eui/src/components/responsive/show_for' {
|
|
|
18343
18362
|
children: ReactNode;
|
|
18344
18363
|
/**
|
|
18345
18364
|
* List of all the responsive sizes to show the children for.
|
|
18346
|
-
* Array of
|
|
18365
|
+
* Array of {@link EuiBreakpointSize}
|
|
18347
18366
|
*/
|
|
18348
18367
|
sizes: EuiShowForBreakpoints[] | 'all' | 'none';
|
|
18349
18368
|
}
|
|
@@ -18597,11 +18616,11 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
|
|
|
18597
18616
|
*/
|
|
18598
18617
|
isQuickSelectOnly?: boolean;
|
|
18599
18618
|
/**
|
|
18600
|
-
* Props passed to the update button
|
|
18619
|
+
* Props passed to the update button {@link EuiSuperUpdateButtonProps}
|
|
18601
18620
|
*/
|
|
18602
18621
|
updateButtonProps?: EuiSuperUpdateButtonProps;
|
|
18603
18622
|
/**
|
|
18604
|
-
* Props passed to the quick select button
|
|
18623
|
+
* Props passed to the quick select button {@link EuiQuickSelectButtonProps}
|
|
18605
18624
|
*/
|
|
18606
18625
|
quickSelectButtonProps?: EuiQuickSelectButtonProps;
|
|
18607
18626
|
/**
|
|
@@ -19356,24 +19375,24 @@ declare module '@elastic/eui/src/components/header/header' {
|
|
|
19356
19375
|
type EuiHeaderSectionItemType = EuiHeaderSectionItemProps['children'];
|
|
19357
19376
|
export interface EuiHeaderSections {
|
|
19358
19377
|
/**
|
|
19359
|
-
* An array of items that will be wrapped in a
|
|
19378
|
+
* An array of items that will be wrapped in a {@link EuiHeaderSectionItem}
|
|
19360
19379
|
*/
|
|
19361
19380
|
items?: EuiHeaderSectionItemType[];
|
|
19362
19381
|
/**
|
|
19363
|
-
* Breadcrumbs in the header cannot be wrapped in a
|
|
19382
|
+
* Breadcrumbs in the header cannot be wrapped in a {@link EuiHeaderSection} in order for truncation to work.
|
|
19364
19383
|
* Simply pass the array of EuiBreadcrumb objects
|
|
19365
19384
|
*/
|
|
19366
19385
|
breadcrumbs?: EuiBreadcrumb[];
|
|
19367
19386
|
/**
|
|
19368
|
-
* Other props to pass to
|
|
19387
|
+
* Other props to pass to {@link EuiHeaderBreadcrumbs}
|
|
19369
19388
|
*/
|
|
19370
19389
|
breadcrumbProps?: Omit<EuiBreadcrumbsProps, 'breadcrumbs'>;
|
|
19371
19390
|
}
|
|
19372
19391
|
export type EuiHeaderProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
19373
19392
|
/**
|
|
19374
|
-
* An array of objects to wrap in a
|
|
19393
|
+
* An array of objects to wrap in a {@link EuiHeaderSection}.
|
|
19375
19394
|
* Each section is spaced using `space-between`.
|
|
19376
|
-
* See
|
|
19395
|
+
* See {@link EuiHeaderSections} for object details.
|
|
19377
19396
|
* This prop disregards the prop `children` if both are passed.
|
|
19378
19397
|
*/
|
|
19379
19398
|
sections?: EuiHeaderSections[];
|
|
@@ -20165,7 +20184,7 @@ declare module '@elastic/eui/src/components/key_pad_menu/key_pad_menu' {
|
|
|
20165
20184
|
export type EuiKeyPadMenuProps = CommonProps & HTMLAttributes<HTMLElement> & {
|
|
20166
20185
|
/**
|
|
20167
20186
|
* Renders the the group as a `fieldset`.
|
|
20168
|
-
* Set to `true` to customize the labelling, or pass an
|
|
20187
|
+
* Set to `true` to customize the labelling, or pass an {@link _EuiKeyPadMenuCheckableProps} object to add a `legend` or `ariaLegend`
|
|
20169
20188
|
*/
|
|
20170
20189
|
checkable?: _EuiKeyPadMenuCheckableProps | true;
|
|
20171
20190
|
};
|
|
@@ -20842,7 +20861,7 @@ declare module '@elastic/eui/src/components/markdown_editor/plugins/markdown_def
|
|
|
20842
20861
|
};
|
|
20843
20862
|
/**
|
|
20844
20863
|
* Allows configuring the `allowRelative` and `allowProtocols` of
|
|
20845
|
-
*
|
|
20864
|
+
* {@link EuiMarkdownLinkValidatorOptions}
|
|
20846
20865
|
*/
|
|
20847
20866
|
linkValidator?: EuiMarkdownLinkValidatorOptions;
|
|
20848
20867
|
};
|
|
@@ -21754,7 +21773,7 @@ declare module '@elastic/eui/src/components/provider/provider' {
|
|
|
21754
21773
|
import { EuiComponentDefaults } from '@elastic/eui/src/components/provider/component_defaults';
|
|
21755
21774
|
export interface EuiProviderProps<T> extends PropsWithChildren, EuiGlobalStylesProps, Pick<EuiThemeProviderProps<T>, 'modify'> {
|
|
21756
21775
|
/**
|
|
21757
|
-
* Provide a specific EuiTheme; Defaults to
|
|
21776
|
+
* Provide a specific EuiTheme; Defaults to EuiThemeAmsterdam;
|
|
21758
21777
|
* Pass `null` to remove all theming including global reset
|
|
21759
21778
|
*/
|
|
21760
21779
|
theme?: EuiThemeSystem | null;
|
|
@@ -23013,12 +23032,12 @@ declare module '@elastic/eui/src/components/selectable/selectable_list/selectabl
|
|
|
23013
23032
|
slot?: string | undefined;
|
|
23014
23033
|
style?: CSSProperties | undefined;
|
|
23015
23034
|
title?: string | undefined;
|
|
23035
|
+
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23016
23036
|
width: number;
|
|
23017
23037
|
color?: string | undefined;
|
|
23018
23038
|
content?: string | undefined;
|
|
23019
|
-
hidden?: boolean | undefined;
|
|
23020
|
-
css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
|
|
23021
23039
|
translate?: "yes" | "no" | undefined;
|
|
23040
|
+
hidden?: boolean | undefined;
|
|
23022
23041
|
property?: string | undefined;
|
|
23023
23042
|
className?: string | undefined;
|
|
23024
23043
|
defaultChecked?: boolean | undefined;
|
|
@@ -23327,6 +23346,16 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
23327
23346
|
normalizedSearchValue: string;
|
|
23328
23347
|
}
|
|
23329
23348
|
export type EuiSelectableOptionMatcher<T> = (args: EuiSelectableOptionMatcherArgs<T>) => boolean;
|
|
23349
|
+
/**
|
|
23350
|
+
* The `searchable` prop has significant implications for a11y. When present, we effectively change from adhering to the
|
|
23351
|
+
* - ARIA `listbox` spec (@see https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox)
|
|
23352
|
+
* - ARIA `combobox` spec (@see https://www.w3.org/TR/wai-aria-practices-1.2/#combobox)
|
|
23353
|
+
*
|
|
23354
|
+
* and (re)implement all relevant attributes and keyboard interactions.
|
|
23355
|
+
* Take note of logic that relies on `searchable` to ensure that any modifications remain in alignment.
|
|
23356
|
+
*
|
|
23357
|
+
* `searchProps` can only be specified when `searchable` is `true`.
|
|
23358
|
+
*/
|
|
23330
23359
|
export type EuiSelectableSearchableProps<T> = ExclusiveUnion<{
|
|
23331
23360
|
searchable: false;
|
|
23332
23361
|
}, {
|
|
@@ -23336,7 +23365,7 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
23336
23365
|
searchable: true;
|
|
23337
23366
|
/**
|
|
23338
23367
|
* Passes props down to the `EuiFieldSearch`.
|
|
23339
|
-
*
|
|
23368
|
+
* {@link EuiSelectableSearchProps}
|
|
23340
23369
|
*/
|
|
23341
23370
|
searchProps?: EuiSelectableSearchableSearchProps<T>;
|
|
23342
23371
|
}>;
|
|
@@ -23348,7 +23377,7 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
23348
23377
|
*/
|
|
23349
23378
|
children?: (list: ReactElement<typeof EuiSelectableMessage | typeof EuiSelectableList>, search: ReactElement<typeof EuiSelectableSearch> | undefined) => ReactNode;
|
|
23350
23379
|
/**
|
|
23351
|
-
* Array of EuiSelectableOption objects. See
|
|
23380
|
+
* Array of EuiSelectableOption objects. See {@link EuiSelectableOption}
|
|
23352
23381
|
*/
|
|
23353
23382
|
options: Array<EuiSelectableOption<T>>;
|
|
23354
23383
|
/**
|
|
@@ -23384,7 +23413,7 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
|
|
|
23384
23413
|
*/
|
|
23385
23414
|
height?: number | 'full';
|
|
23386
23415
|
/**
|
|
23387
|
-
* See
|
|
23416
|
+
* See {@link EuiSelectableOptionsListPropsWithDefaults}
|
|
23388
23417
|
*/
|
|
23389
23418
|
listProps?: EuiSelectableOptionsListPropsWithDefaults;
|
|
23390
23419
|
/**
|
|
@@ -23544,7 +23573,7 @@ declare module '@elastic/eui/src/components/selectable/selectable_templates/sele
|
|
|
23544
23573
|
*/
|
|
23545
23574
|
avatar?: EuiAvatarProps;
|
|
23546
23575
|
/**
|
|
23547
|
-
* An array of inline
|
|
23576
|
+
* An array of inline {@link EuiSelectableTemplateSitewideMetaData} displayed beneath the label and separated by bullets.
|
|
23548
23577
|
*/
|
|
23549
23578
|
meta?: EuiSelectableTemplateSitewideMetaData[];
|
|
23550
23579
|
} & EuiSelectableOption<T>;
|
|
@@ -23562,8 +23591,8 @@ declare module '@elastic/eui/src/components/selectable/selectable_templates/sele
|
|
|
23562
23591
|
[key: string]: any;
|
|
23563
23592
|
}>, 'options'>> & {
|
|
23564
23593
|
/**
|
|
23565
|
-
* Extends the typical
|
|
23566
|
-
* such as `icon`, `avatar`and `meta`
|
|
23594
|
+
* Extends the typical EuiSelectable {@link EuiSelectableTemplateSitewideOption} with the addition of pre-composed elements
|
|
23595
|
+
* such as `icon`, `avatar` and `meta`
|
|
23567
23596
|
*/
|
|
23568
23597
|
options: EuiSelectableTemplateSitewideOption[];
|
|
23569
23598
|
/**
|
|
@@ -23635,7 +23664,7 @@ declare module '@elastic/eui/src/components/search_bar/filters/field_value_selec
|
|
|
23635
23664
|
field?: string;
|
|
23636
23665
|
name: string;
|
|
23637
23666
|
/**
|
|
23638
|
-
* See
|
|
23667
|
+
* See {@link FieldValueOptionType}
|
|
23639
23668
|
*/
|
|
23640
23669
|
options: FieldValueOptionType[] | OptionsLoader;
|
|
23641
23670
|
filterWith?: 'prefix' | 'includes' | OptionsFilter;
|
|
@@ -23731,7 +23760,7 @@ declare module '@elastic/eui/src/components/search_bar/filters/field_value_toggl
|
|
|
23731
23760
|
type: 'field_value_toggle_group';
|
|
23732
23761
|
field: string;
|
|
23733
23762
|
/**
|
|
23734
|
-
* See
|
|
23763
|
+
* See {@link FieldValueToggleGroupFilterItemType}
|
|
23735
23764
|
*/
|
|
23736
23765
|
items: FieldValueToggleGroupFilterItemType[];
|
|
23737
23766
|
available?: () => boolean;
|
|
@@ -23862,7 +23891,7 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
|
|
|
23862
23891
|
schema?: SchemaType | boolean;
|
|
23863
23892
|
};
|
|
23864
23893
|
/**
|
|
23865
|
-
An array of search filters. See
|
|
23894
|
+
An array of search filters. See {@link SearchFilterConfig}.
|
|
23866
23895
|
*/
|
|
23867
23896
|
filters?: SearchFilterConfig[];
|
|
23868
23897
|
/**
|
|
@@ -24104,7 +24133,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav' {
|
|
|
24104
24133
|
*/
|
|
24105
24134
|
heading?: ReactNode;
|
|
24106
24135
|
/**
|
|
24107
|
-
* Adds a couple extra
|
|
24136
|
+
* Adds a couple extra {@link EuiSideNavHeading} props and extends the props of EuiTitle that wraps the `heading`
|
|
24108
24137
|
*/
|
|
24109
24138
|
headingProps?: Partial<EuiSideNavHeadingProps>;
|
|
24110
24139
|
/**
|
|
@@ -24125,7 +24154,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav' {
|
|
|
24125
24154
|
*/
|
|
24126
24155
|
mobileBreakpoints?: EuiBreakpointSize[];
|
|
24127
24156
|
/**
|
|
24128
|
-
* An array of
|
|
24157
|
+
* An array of {@link EuiSideNavItem} objects. Lists navigation menu items.
|
|
24129
24158
|
*/
|
|
24130
24159
|
items: Array<EuiSideNavItemType<T>>;
|
|
24131
24160
|
/**
|
|
@@ -24812,7 +24841,7 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
24812
24841
|
*/
|
|
24813
24842
|
cellProps?: object | CellPropsCallback<T>;
|
|
24814
24843
|
/**
|
|
24815
|
-
* An array of one of the objects:
|
|
24844
|
+
* An array of one of the objects: {@link EuiTableFieldDataColumnType}, {@link EuiTableComputedColumnType} or {@link EuiTableActionsColumnType}.
|
|
24816
24845
|
*/
|
|
24817
24846
|
columns: Array<EuiBasicTableColumn<T>>;
|
|
24818
24847
|
/**
|
|
@@ -24836,11 +24865,12 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
24836
24865
|
*/
|
|
24837
24866
|
noItemsMessage?: ReactNode;
|
|
24838
24867
|
/**
|
|
24839
|
-
* Called whenever pagination or sorting changes (this property is required when either pagination or sorting is configured).
|
|
24868
|
+
* Called whenever pagination or sorting changes (this property is required when either pagination or sorting is configured).
|
|
24869
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}
|
|
24840
24870
|
*/
|
|
24841
24871
|
onChange?: (criteria: Criteria<T>) => void;
|
|
24842
24872
|
/**
|
|
24843
|
-
* Configures
|
|
24873
|
+
* Configures {@link Pagination}
|
|
24844
24874
|
*/
|
|
24845
24875
|
pagination?: undefined;
|
|
24846
24876
|
/**
|
|
@@ -24848,11 +24878,11 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
24848
24878
|
*/
|
|
24849
24879
|
rowProps?: object | RowPropsCallback<T>;
|
|
24850
24880
|
/**
|
|
24851
|
-
* Configures
|
|
24881
|
+
* Configures {@link EuiTableSelectionType}
|
|
24852
24882
|
*/
|
|
24853
24883
|
selection?: EuiTableSelectionType<T>;
|
|
24854
24884
|
/**
|
|
24855
|
-
* Configures
|
|
24885
|
+
* Configures {@link EuiTableSortingType}
|
|
24856
24886
|
*/
|
|
24857
24887
|
sorting?: EuiTableSortingType<T>;
|
|
24858
24888
|
/**
|
|
@@ -24949,7 +24979,7 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
24949
24979
|
type InMemoryTableProps<T extends object> = Omit<EuiBasicTableProps<T>, 'pagination' | 'sorting' | 'noItemsMessage' | 'onChange'> & {
|
|
24950
24980
|
message?: ReactNode;
|
|
24951
24981
|
/**
|
|
24952
|
-
* Configures
|
|
24982
|
+
* Configures {@link Search}.
|
|
24953
24983
|
*/
|
|
24954
24984
|
search?: Search;
|
|
24955
24985
|
/**
|
|
@@ -24965,11 +24995,11 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
24965
24995
|
*/
|
|
24966
24996
|
searchFormat?: 'eql' | 'text';
|
|
24967
24997
|
/**
|
|
24968
|
-
* Configures
|
|
24998
|
+
* Configures {@link Pagination}
|
|
24969
24999
|
*/
|
|
24970
25000
|
pagination?: undefined;
|
|
24971
25001
|
/**
|
|
24972
|
-
* Configures
|
|
25002
|
+
* Configures {@link EuiTableSortingType}
|
|
24973
25003
|
*/
|
|
24974
25004
|
sorting?: Sorting;
|
|
24975
25005
|
/**
|
|
@@ -24979,11 +25009,13 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
24979
25009
|
/**
|
|
24980
25010
|
* `onChange` is not required when `pagination` and/or `sorting` are configured,
|
|
24981
25011
|
* but if `onChange` is present it is responsible for handling state for each/both.
|
|
24982
|
-
* See
|
|
25012
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}
|
|
24983
25013
|
*/
|
|
24984
25014
|
onChange?: EuiBasicTableProps<T>['onChange'];
|
|
24985
25015
|
/**
|
|
24986
|
-
* Callback for when table pagination or sorting is changed. This is meant to be informational only,
|
|
25016
|
+
* Callback for when table pagination or sorting is changed. This is meant to be informational only,
|
|
25017
|
+
* and not used to set any state as the in-memory table already manages this state.
|
|
25018
|
+
* See {@link Criteria} or {@link CriteriaWithPagination}.
|
|
24987
25019
|
*/
|
|
24988
25020
|
onTableChange?: (nextValues: Criteria<T>) => void;
|
|
24989
25021
|
executeQueryOptions?: {
|
|
@@ -31400,6 +31432,1726 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins' {
|
|
|
31400
31432
|
export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow';
|
|
31401
31433
|
|
|
31402
31434
|
}
|
|
31435
|
+
declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
31436
|
+
const sassVariables: {
|
|
31437
|
+
euiZDataGrid: number;
|
|
31438
|
+
euiZHeaderBelowDataGrid: number;
|
|
31439
|
+
euiZDataGridCellPopover: number;
|
|
31440
|
+
euiDataGridCellPaddingS: string;
|
|
31441
|
+
euiDataGridCellPaddingM: string;
|
|
31442
|
+
euiDataGridCellPaddingL: string;
|
|
31443
|
+
euiTableHoverColor: string;
|
|
31444
|
+
euiTableSelectedColor: string;
|
|
31445
|
+
euiTableHoverSelectedColor: string;
|
|
31446
|
+
euiTableActionsBorderColor: string;
|
|
31447
|
+
euiTableHoverClickableColor: string;
|
|
31448
|
+
euiTableFocusClickableColor: string;
|
|
31449
|
+
euiContrastRatioText: number;
|
|
31450
|
+
euiContrastRatioGraphic: number;
|
|
31451
|
+
euiContrastRatioDisabled: number;
|
|
31452
|
+
euiAnimSlightBounce: string;
|
|
31453
|
+
euiAnimSlightResistance: string;
|
|
31454
|
+
euiAnimSpeedExtraFast: string;
|
|
31455
|
+
euiAnimSpeedFast: string;
|
|
31456
|
+
euiAnimSpeedNormal: string;
|
|
31457
|
+
euiAnimSpeedSlow: string;
|
|
31458
|
+
euiAnimSpeedExtraSlow: string;
|
|
31459
|
+
euiBorderWidthThin: string;
|
|
31460
|
+
euiBorderWidthThick: string;
|
|
31461
|
+
euiBorderColor: string;
|
|
31462
|
+
euiBorderRadius: string;
|
|
31463
|
+
euiBorderRadiusSmall: string;
|
|
31464
|
+
euiBorderThick: string;
|
|
31465
|
+
euiBorderThin: string;
|
|
31466
|
+
euiBorderEditable: string;
|
|
31467
|
+
euiButtonHeight: string;
|
|
31468
|
+
euiButtonHeightSmall: string;
|
|
31469
|
+
euiButtonHeightXSmall: string;
|
|
31470
|
+
euiButtonColorDisabled: string;
|
|
31471
|
+
euiButtonColorDisabledText: string;
|
|
31472
|
+
euiButtonColorGhostDisabled: string;
|
|
31473
|
+
euiButtonTypes: {
|
|
31474
|
+
primary: string;
|
|
31475
|
+
accent: string;
|
|
31476
|
+
accentSecondary: string;
|
|
31477
|
+
neutral: string;
|
|
31478
|
+
success: string;
|
|
31479
|
+
warning: string;
|
|
31480
|
+
risk: string;
|
|
31481
|
+
danger: string;
|
|
31482
|
+
ghost: string;
|
|
31483
|
+
text: string;
|
|
31484
|
+
};
|
|
31485
|
+
euiFontWeightLight: number;
|
|
31486
|
+
euiFontWeightRegular: number;
|
|
31487
|
+
euiFontWeightMedium: number;
|
|
31488
|
+
euiFontWeightSemiBold: number;
|
|
31489
|
+
euiFontWeightBold: number;
|
|
31490
|
+
euiCodeFontWeightRegular: number;
|
|
31491
|
+
euiCodeFontWeightBold: number;
|
|
31492
|
+
euiFormMaxWidth: string;
|
|
31493
|
+
euiFormControlHeight: string;
|
|
31494
|
+
euiFormControlCompressedHeight: string;
|
|
31495
|
+
euiFormControlPadding: string;
|
|
31496
|
+
euiFormControlCompressedPadding: string;
|
|
31497
|
+
euiFormControlBorderRadius: string;
|
|
31498
|
+
euiFormControlCompressedBorderRadius: string;
|
|
31499
|
+
euiRadioSize: string;
|
|
31500
|
+
euiCheckBoxSize: string;
|
|
31501
|
+
euiCheckboxBorderRadius: string;
|
|
31502
|
+
euiSwitchHeight: string;
|
|
31503
|
+
euiSwitchWidth: string;
|
|
31504
|
+
euiSwitchThumbSize: string;
|
|
31505
|
+
euiSwitchIconHeight: string;
|
|
31506
|
+
euiSwitchHeightCompressed: string;
|
|
31507
|
+
euiSwitchWidthCompressed: string;
|
|
31508
|
+
euiSwitchThumbSizeCompressed: string;
|
|
31509
|
+
euiSwitchHeightMini: string;
|
|
31510
|
+
euiSwitchWidthMini: string;
|
|
31511
|
+
euiSwitchThumbSizeMini: string;
|
|
31512
|
+
euiFormBackgroundColor: string;
|
|
31513
|
+
euiFormBackgroundDisabledColor: string;
|
|
31514
|
+
euiFormBackgroundReadOnlyColor: string;
|
|
31515
|
+
euiFormBorderOpaqueColor: string;
|
|
31516
|
+
euiFormBorderColor: string;
|
|
31517
|
+
euiFormBorderDisabledColor: string;
|
|
31518
|
+
euiFormCustomControlDisabledIconColor: string;
|
|
31519
|
+
euiFormCustomControlBorderColor: string;
|
|
31520
|
+
euiFormControlDisabledColor: string;
|
|
31521
|
+
euiFormControlBoxShadow: string;
|
|
31522
|
+
euiFormControlPlaceholderText: string;
|
|
31523
|
+
euiFormInputGroupLabelBackground: string;
|
|
31524
|
+
euiFormInputGroupBorder: string;
|
|
31525
|
+
euiSwitchOffColor: string;
|
|
31526
|
+
euiFormControlIconSizes: {
|
|
31527
|
+
small: string;
|
|
31528
|
+
medium: string;
|
|
31529
|
+
large: string;
|
|
31530
|
+
xLarge: string;
|
|
31531
|
+
xxLarge: string;
|
|
31532
|
+
};
|
|
31533
|
+
euiFormControlLayoutGroupInputHeight: string;
|
|
31534
|
+
euiFormControlLayoutGroupInputCompressedHeight: string;
|
|
31535
|
+
euiFormControlLayoutGroupInputCompressedBorderRadius: string;
|
|
31536
|
+
euiHeaderBackgroundColor: string;
|
|
31537
|
+
euiHeaderDarkBackgroundColor: string;
|
|
31538
|
+
euiHeaderBorderColor: string;
|
|
31539
|
+
euiHeaderBreadcrumbColor: string;
|
|
31540
|
+
euiHeaderHeight: string;
|
|
31541
|
+
euiHeaderChildSize: string;
|
|
31542
|
+
euiHeaderHeightCompensation: string;
|
|
31543
|
+
euiPageDefaultMaxWidth: string;
|
|
31544
|
+
euiPageSidebarMinWidth: string;
|
|
31545
|
+
euiPanelPaddingModifiers: {
|
|
31546
|
+
paddingSmall: string;
|
|
31547
|
+
paddingMedium: string;
|
|
31548
|
+
paddingLarge: string;
|
|
31549
|
+
};
|
|
31550
|
+
euiPanelBorderRadiusModifiers: {
|
|
31551
|
+
borderRadiusNone: number;
|
|
31552
|
+
borderRadiusMedium: string;
|
|
31553
|
+
};
|
|
31554
|
+
euiPanelBackgroundColorModifiers: {
|
|
31555
|
+
transparent: string;
|
|
31556
|
+
plain: string;
|
|
31557
|
+
subdued: string;
|
|
31558
|
+
accent: string;
|
|
31559
|
+
accentSecondary: string;
|
|
31560
|
+
primary: string;
|
|
31561
|
+
success: string;
|
|
31562
|
+
warning: string;
|
|
31563
|
+
danger: string;
|
|
31564
|
+
};
|
|
31565
|
+
euiBreakpoints: {
|
|
31566
|
+
xs: number;
|
|
31567
|
+
s: string;
|
|
31568
|
+
m: string;
|
|
31569
|
+
l: string;
|
|
31570
|
+
xl: string;
|
|
31571
|
+
};
|
|
31572
|
+
euiBreakpointKeys: string;
|
|
31573
|
+
euiShadowColor: string;
|
|
31574
|
+
euiSize: string;
|
|
31575
|
+
euiSizeXS: string;
|
|
31576
|
+
euiSizeS: string;
|
|
31577
|
+
euiSizeM: string;
|
|
31578
|
+
euiSizeL: string;
|
|
31579
|
+
euiSizeXL: string;
|
|
31580
|
+
euiSizeXXL: string;
|
|
31581
|
+
euiScrollBar: string;
|
|
31582
|
+
euiScrollBarCorner: string;
|
|
31583
|
+
euiScrollBarCornerThin: string;
|
|
31584
|
+
euiFocusRingColor: string;
|
|
31585
|
+
euiFocusRingAnimStartColor: string;
|
|
31586
|
+
euiFocusRingAnimStartSize: string;
|
|
31587
|
+
euiFocusRingAnimStartSizeLarge: string;
|
|
31588
|
+
euiFocusRingSizeLarge: string;
|
|
31589
|
+
euiFocusRingSize: string;
|
|
31590
|
+
euiFocusTransparency: number;
|
|
31591
|
+
euiFocusTransparencyPercent: string;
|
|
31592
|
+
euiFocusBackgroundColor: string;
|
|
31593
|
+
euiFontFamily: string;
|
|
31594
|
+
euiCodeFontFamily: string;
|
|
31595
|
+
euiFontFeatureSettings: string;
|
|
31596
|
+
euiTextScale: string;
|
|
31597
|
+
euiFontSize: string;
|
|
31598
|
+
euiFontSizeXS: string;
|
|
31599
|
+
euiFontSizeS: string;
|
|
31600
|
+
euiFontSizeM: string;
|
|
31601
|
+
euiFontSizeL: string;
|
|
31602
|
+
euiFontSizeXL: string;
|
|
31603
|
+
euiFontSizeXXL: string;
|
|
31604
|
+
euiLineHeight: number;
|
|
31605
|
+
euiBodyLineHeight: number;
|
|
31606
|
+
euiTitles: {
|
|
31607
|
+
xxxs: {
|
|
31608
|
+
'font-size': string;
|
|
31609
|
+
'line-height': string;
|
|
31610
|
+
'font-weight': number;
|
|
31611
|
+
};
|
|
31612
|
+
xxs: {
|
|
31613
|
+
'font-size': string;
|
|
31614
|
+
'line-height': string;
|
|
31615
|
+
'font-weight': number;
|
|
31616
|
+
};
|
|
31617
|
+
xs: {
|
|
31618
|
+
'font-size': string;
|
|
31619
|
+
'line-height': string;
|
|
31620
|
+
'font-weight': number;
|
|
31621
|
+
};
|
|
31622
|
+
s: {
|
|
31623
|
+
'font-size': string;
|
|
31624
|
+
'line-height': string;
|
|
31625
|
+
'font-weight': number;
|
|
31626
|
+
};
|
|
31627
|
+
m: {
|
|
31628
|
+
'font-size': string;
|
|
31629
|
+
'line-height': string;
|
|
31630
|
+
'font-weight': number;
|
|
31631
|
+
};
|
|
31632
|
+
l: {
|
|
31633
|
+
'font-size': string;
|
|
31634
|
+
'line-height': string;
|
|
31635
|
+
'font-weight': number;
|
|
31636
|
+
};
|
|
31637
|
+
};
|
|
31638
|
+
euiZLevel0: number;
|
|
31639
|
+
euiZLevel1: number;
|
|
31640
|
+
euiZLevel2: number;
|
|
31641
|
+
euiZLevel3: number;
|
|
31642
|
+
euiZLevel4: number;
|
|
31643
|
+
euiZLevel5: number;
|
|
31644
|
+
euiZLevel6: number;
|
|
31645
|
+
euiZLevel7: number;
|
|
31646
|
+
euiZLevel8: number;
|
|
31647
|
+
euiZLevel9: number;
|
|
31648
|
+
euiZToastList: number;
|
|
31649
|
+
euiZModal: number;
|
|
31650
|
+
euiZMask: number;
|
|
31651
|
+
euiZNavigation: number;
|
|
31652
|
+
euiZContentMenu: number;
|
|
31653
|
+
euiZHeader: number;
|
|
31654
|
+
euiZFlyout: number;
|
|
31655
|
+
euiZMaskBelowHeader: number;
|
|
31656
|
+
euiZContent: number;
|
|
31657
|
+
euiPaletteColorBlind: {
|
|
31658
|
+
euiColorVis0: {
|
|
31659
|
+
graphic: string;
|
|
31660
|
+
behindText: string;
|
|
31661
|
+
};
|
|
31662
|
+
euiColorVis1: {
|
|
31663
|
+
graphic: string;
|
|
31664
|
+
behindText: string;
|
|
31665
|
+
};
|
|
31666
|
+
euiColorVis2: {
|
|
31667
|
+
graphic: string;
|
|
31668
|
+
behindText: string;
|
|
31669
|
+
};
|
|
31670
|
+
euiColorVis3: {
|
|
31671
|
+
graphic: string;
|
|
31672
|
+
behindText: string;
|
|
31673
|
+
};
|
|
31674
|
+
euiColorVis4: {
|
|
31675
|
+
graphic: string;
|
|
31676
|
+
behindText: string;
|
|
31677
|
+
};
|
|
31678
|
+
euiColorVis5: {
|
|
31679
|
+
graphic: string;
|
|
31680
|
+
behindText: string;
|
|
31681
|
+
};
|
|
31682
|
+
euiColorVis6: {
|
|
31683
|
+
graphic: string;
|
|
31684
|
+
behindText: string;
|
|
31685
|
+
};
|
|
31686
|
+
euiColorVis7: {
|
|
31687
|
+
graphic: string;
|
|
31688
|
+
behindText: string;
|
|
31689
|
+
};
|
|
31690
|
+
euiColorVis8: {
|
|
31691
|
+
graphic: string;
|
|
31692
|
+
behindText: string;
|
|
31693
|
+
};
|
|
31694
|
+
euiColorVis9: {
|
|
31695
|
+
graphic: string;
|
|
31696
|
+
behindText: string;
|
|
31697
|
+
};
|
|
31698
|
+
};
|
|
31699
|
+
euiPaletteColorBlindKeys: string;
|
|
31700
|
+
euiColorVis0: string;
|
|
31701
|
+
euiColorVis1: string;
|
|
31702
|
+
euiColorVis2: string;
|
|
31703
|
+
euiColorVis3: string;
|
|
31704
|
+
euiColorVis4: string;
|
|
31705
|
+
euiColorVis5: string;
|
|
31706
|
+
euiColorVis6: string;
|
|
31707
|
+
euiColorVis7: string;
|
|
31708
|
+
euiColorVis8: string;
|
|
31709
|
+
euiColorVis9: string;
|
|
31710
|
+
euiColorVis0_behindText: string;
|
|
31711
|
+
euiColorVis1_behindText: string;
|
|
31712
|
+
euiColorVis2_behindText: string;
|
|
31713
|
+
euiColorVis3_behindText: string;
|
|
31714
|
+
euiColorVis4_behindText: string;
|
|
31715
|
+
euiColorVis5_behindText: string;
|
|
31716
|
+
euiColorVis6_behindText: string;
|
|
31717
|
+
euiColorVis7_behindText: string;
|
|
31718
|
+
euiColorVis8_behindText: string;
|
|
31719
|
+
euiColorVis9_behindText: string;
|
|
31720
|
+
euiColorVisAsTextLight0: string;
|
|
31721
|
+
euiColorVisAsTextLight1: string;
|
|
31722
|
+
euiColorVisAsTextLight2: string;
|
|
31723
|
+
euiColorVisAsTextLight3: string;
|
|
31724
|
+
euiColorVisAsTextLight4: string;
|
|
31725
|
+
euiColorVisAsTextLight5: string;
|
|
31726
|
+
euiColorVisAsTextLight6: string;
|
|
31727
|
+
euiColorVisAsTextDark0: string;
|
|
31728
|
+
euiColorVisAsTextDark1: string;
|
|
31729
|
+
euiColorVisAsTextDark2: string;
|
|
31730
|
+
euiColorVisAsTextDark3: string;
|
|
31731
|
+
euiColorVisAsTextDark4: string;
|
|
31732
|
+
euiColorVisAsTextDark5: string;
|
|
31733
|
+
euiColorVisAsTextDark6: string;
|
|
31734
|
+
euiColorVisSuccess0: string;
|
|
31735
|
+
euiColorVisSuccess1: string;
|
|
31736
|
+
euiColorVisWarning0: string;
|
|
31737
|
+
euiColorVisDanger0: string;
|
|
31738
|
+
euiColorVisDanger1: string;
|
|
31739
|
+
euiColorVisNeutral0: string;
|
|
31740
|
+
euiColorVisGrey0: string;
|
|
31741
|
+
euiColorVisGrey1: string;
|
|
31742
|
+
euiColorVisGrey2: string;
|
|
31743
|
+
euiColorVisGrey3: string;
|
|
31744
|
+
euiColorVisWarm0: string;
|
|
31745
|
+
euiColorVisWarm1: string;
|
|
31746
|
+
euiColorVisWarm2: string;
|
|
31747
|
+
euiColorVisCool0: string;
|
|
31748
|
+
euiColorVisCool1: string;
|
|
31749
|
+
euiColorVisCool2: string;
|
|
31750
|
+
euiColorVisComplementary0: string;
|
|
31751
|
+
euiColorVisComplementary1: string;
|
|
31752
|
+
euiColorSeverityUnknown: string;
|
|
31753
|
+
euiColorSeverityNeutral: string;
|
|
31754
|
+
euiColorSeveritySuccess: string;
|
|
31755
|
+
euiColorSeverityWarning: string;
|
|
31756
|
+
euiColorSeverityRisk: string;
|
|
31757
|
+
euiColorSeverityDanger: string;
|
|
31758
|
+
euiColorChartLines: string;
|
|
31759
|
+
euiColorChartBand: string;
|
|
31760
|
+
euiColorGhost: string;
|
|
31761
|
+
euiColorInk: string;
|
|
31762
|
+
euiColorPrimary: string;
|
|
31763
|
+
euiColorAccent: string;
|
|
31764
|
+
euiColorAccentSecondary: string;
|
|
31765
|
+
euiColorSuccess: string;
|
|
31766
|
+
euiColorWarning: string;
|
|
31767
|
+
euiColorDanger: string;
|
|
31768
|
+
euiColorEmptyShade: string;
|
|
31769
|
+
euiColorLightestShade: string;
|
|
31770
|
+
euiColorLightShade: string;
|
|
31771
|
+
euiColorMediumShade: string;
|
|
31772
|
+
euiColorDarkShade: string;
|
|
31773
|
+
euiColorDarkestShade: string;
|
|
31774
|
+
euiColorFullShade: string;
|
|
31775
|
+
euiPageBackgroundColor: string;
|
|
31776
|
+
euiColorHighlight: string;
|
|
31777
|
+
euiTextColor: string;
|
|
31778
|
+
euiTitleColor: string;
|
|
31779
|
+
euiTextSubduedColor: string;
|
|
31780
|
+
euiColorDisabled: string;
|
|
31781
|
+
euiColorPrimaryText: string;
|
|
31782
|
+
euiColorSuccessText: string;
|
|
31783
|
+
euiColorAccentText: string;
|
|
31784
|
+
euiColorWarningText: string;
|
|
31785
|
+
euiColorDangerText: string;
|
|
31786
|
+
euiColorDisabledText: string;
|
|
31787
|
+
euiLinkColor: string;
|
|
31788
|
+
euiColorPlainLight: string;
|
|
31789
|
+
euiColorPlainDark: string;
|
|
31790
|
+
euiColorTextPrimary: string;
|
|
31791
|
+
euiColorTextAccent: string;
|
|
31792
|
+
euiColorTextAccentSecondary: string;
|
|
31793
|
+
euiColorTextNeutral: string;
|
|
31794
|
+
euiColorTextSuccess: string;
|
|
31795
|
+
euiColorTextWarning: string;
|
|
31796
|
+
euiColorTextRisk: string;
|
|
31797
|
+
euiColorTextDanger: string;
|
|
31798
|
+
euiColorTextParagraph: string;
|
|
31799
|
+
euiColorTextHeading: string;
|
|
31800
|
+
euiColorTextSubdued: string;
|
|
31801
|
+
euiColorTextDisabled: string;
|
|
31802
|
+
euiColorTextInverse: string;
|
|
31803
|
+
euiColorBackgroundBasePrimary: string;
|
|
31804
|
+
euiColorBackgroundBaseAccent: string;
|
|
31805
|
+
euiColorBackgroundBaseAccentSecondary: string;
|
|
31806
|
+
euiColorBackgroundBaseNeutral: string;
|
|
31807
|
+
euiColorBackgroundBaseSuccess: string;
|
|
31808
|
+
euiColorBackgroundBaseWarning: string;
|
|
31809
|
+
euiColorBackgroundBaseRisk: string;
|
|
31810
|
+
euiColorBackgroundBaseDanger: string;
|
|
31811
|
+
euiColorBackgroundBaseSubdued: string;
|
|
31812
|
+
euiColorBackgroundBasePlain: string;
|
|
31813
|
+
euiColorBackgroundBaseDisabled: string;
|
|
31814
|
+
euiColorBackgroundBaseHighlighted: string;
|
|
31815
|
+
euiColorBackgroundBaseFormsPrepend: string;
|
|
31816
|
+
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
31817
|
+
euiColorBackgroundBaseInteractiveHover: string;
|
|
31818
|
+
euiColorBackgroundBaseInteractiveSelect: string;
|
|
31819
|
+
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
31820
|
+
euiColorBackgroundBaseSkeletonEdge: string;
|
|
31821
|
+
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
31822
|
+
euiColorBackgroundLightPrimary: string;
|
|
31823
|
+
euiColorBackgroundLightAccent: string;
|
|
31824
|
+
euiColorBackgroundLightAccentSecondary: string;
|
|
31825
|
+
euiColorBackgroundLightNeutral: string;
|
|
31826
|
+
euiColorBackgroundLightSuccess: string;
|
|
31827
|
+
euiColorBackgroundLightWarning: string;
|
|
31828
|
+
euiColorBackgroundLightRisk: string;
|
|
31829
|
+
euiColorBackgroundLightDanger: string;
|
|
31830
|
+
euiColorBackgroundLightText: string;
|
|
31831
|
+
euiColorBackgroundFilledPrimary: string;
|
|
31832
|
+
euiColorBackgroundFilledAccent: string;
|
|
31833
|
+
euiColorBackgroundFilledAccentSecondary: string;
|
|
31834
|
+
euiColorBackgroundFilledNeutral: string;
|
|
31835
|
+
euiColorBackgroundFilledSuccess: string;
|
|
31836
|
+
euiColorBackgroundFilledWarning: string;
|
|
31837
|
+
euiColorBackgroundFilledRisk: string;
|
|
31838
|
+
euiColorBackgroundFilledDanger: string;
|
|
31839
|
+
euiColorBackgroundFilledText: string;
|
|
31840
|
+
euiColorBorderBasePrimary: string;
|
|
31841
|
+
euiColorBorderBaseAccent: string;
|
|
31842
|
+
euiColorBorderBaseAccentSecondary: string;
|
|
31843
|
+
euiColorBorderBaseNeutral: string;
|
|
31844
|
+
euiColorBorderBaseSuccess: string;
|
|
31845
|
+
euiColorBorderBaseWarning: string;
|
|
31846
|
+
euiColorBorderBaseRisk: string;
|
|
31847
|
+
euiColorBorderBaseDanger: string;
|
|
31848
|
+
euiColorBorderBasePlain: string;
|
|
31849
|
+
euiColorBorderBaseSubdued: string;
|
|
31850
|
+
euiColorBorderBaseDisabled: string;
|
|
31851
|
+
euiColorBorderBaseFloating: string;
|
|
31852
|
+
euiColorBorderBaseFormsColorSwatch: string;
|
|
31853
|
+
euiColorBorderBaseFormsControl: string;
|
|
31854
|
+
euiColorBorderStrongPrimary: string;
|
|
31855
|
+
euiColorBorderStrongAccent: string;
|
|
31856
|
+
euiColorBorderStrongAccentSecondary: string;
|
|
31857
|
+
euiColorBorderStrongNeutral: string;
|
|
31858
|
+
euiColorBorderStrongSuccess: string;
|
|
31859
|
+
euiColorBorderStrongWarning: string;
|
|
31860
|
+
euiColorBorderStrongRisk: string;
|
|
31861
|
+
euiColorBorderStrongDanger: string;
|
|
31862
|
+
};
|
|
31863
|
+
export default sassVariables;
|
|
31864
|
+
}
|
|
31865
|
+
declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
31866
|
+
const sassVariables: {
|
|
31867
|
+
euiZDataGrid: number;
|
|
31868
|
+
euiZHeaderBelowDataGrid: number;
|
|
31869
|
+
euiZDataGridCellPopover: number;
|
|
31870
|
+
euiDataGridCellPaddingS: string;
|
|
31871
|
+
euiDataGridCellPaddingM: string;
|
|
31872
|
+
euiDataGridCellPaddingL: string;
|
|
31873
|
+
euiTableHoverColor: string;
|
|
31874
|
+
euiTableSelectedColor: string;
|
|
31875
|
+
euiTableHoverSelectedColor: string;
|
|
31876
|
+
euiTableActionsBorderColor: string;
|
|
31877
|
+
euiTableHoverClickableColor: string;
|
|
31878
|
+
euiTableFocusClickableColor: string;
|
|
31879
|
+
euiContrastRatioText: number;
|
|
31880
|
+
euiContrastRatioGraphic: number;
|
|
31881
|
+
euiContrastRatioDisabled: number;
|
|
31882
|
+
euiAnimSlightBounce: string;
|
|
31883
|
+
euiAnimSlightResistance: string;
|
|
31884
|
+
euiAnimSpeedExtraFast: string;
|
|
31885
|
+
euiAnimSpeedFast: string;
|
|
31886
|
+
euiAnimSpeedNormal: string;
|
|
31887
|
+
euiAnimSpeedSlow: string;
|
|
31888
|
+
euiAnimSpeedExtraSlow: string;
|
|
31889
|
+
euiBorderWidthThin: string;
|
|
31890
|
+
euiBorderWidthThick: string;
|
|
31891
|
+
euiBorderColor: string;
|
|
31892
|
+
euiBorderRadius: string;
|
|
31893
|
+
euiBorderRadiusSmall: string;
|
|
31894
|
+
euiBorderThick: string;
|
|
31895
|
+
euiBorderThin: string;
|
|
31896
|
+
euiBorderEditable: string;
|
|
31897
|
+
euiButtonHeight: string;
|
|
31898
|
+
euiButtonHeightSmall: string;
|
|
31899
|
+
euiButtonHeightXSmall: string;
|
|
31900
|
+
euiButtonColorDisabled: string;
|
|
31901
|
+
euiButtonColorDisabledText: string;
|
|
31902
|
+
euiButtonColorGhostDisabled: string;
|
|
31903
|
+
euiButtonTypes: {
|
|
31904
|
+
primary: string;
|
|
31905
|
+
accent: string;
|
|
31906
|
+
accentSecondary: string;
|
|
31907
|
+
neutral: string;
|
|
31908
|
+
success: string;
|
|
31909
|
+
warning: string;
|
|
31910
|
+
risk: string;
|
|
31911
|
+
danger: string;
|
|
31912
|
+
ghost: string;
|
|
31913
|
+
text: string;
|
|
31914
|
+
};
|
|
31915
|
+
euiFontWeightLight: number;
|
|
31916
|
+
euiFontWeightRegular: number;
|
|
31917
|
+
euiFontWeightMedium: number;
|
|
31918
|
+
euiFontWeightSemiBold: number;
|
|
31919
|
+
euiFontWeightBold: number;
|
|
31920
|
+
euiCodeFontWeightRegular: number;
|
|
31921
|
+
euiCodeFontWeightBold: number;
|
|
31922
|
+
euiFormMaxWidth: string;
|
|
31923
|
+
euiFormControlHeight: string;
|
|
31924
|
+
euiFormControlCompressedHeight: string;
|
|
31925
|
+
euiFormControlPadding: string;
|
|
31926
|
+
euiFormControlCompressedPadding: string;
|
|
31927
|
+
euiFormControlBorderRadius: string;
|
|
31928
|
+
euiFormControlCompressedBorderRadius: string;
|
|
31929
|
+
euiRadioSize: string;
|
|
31930
|
+
euiCheckBoxSize: string;
|
|
31931
|
+
euiCheckboxBorderRadius: string;
|
|
31932
|
+
euiSwitchHeight: string;
|
|
31933
|
+
euiSwitchWidth: string;
|
|
31934
|
+
euiSwitchThumbSize: string;
|
|
31935
|
+
euiSwitchIconHeight: string;
|
|
31936
|
+
euiSwitchHeightCompressed: string;
|
|
31937
|
+
euiSwitchWidthCompressed: string;
|
|
31938
|
+
euiSwitchThumbSizeCompressed: string;
|
|
31939
|
+
euiSwitchHeightMini: string;
|
|
31940
|
+
euiSwitchWidthMini: string;
|
|
31941
|
+
euiSwitchThumbSizeMini: string;
|
|
31942
|
+
euiFormBackgroundColor: string;
|
|
31943
|
+
euiFormBackgroundDisabledColor: string;
|
|
31944
|
+
euiFormBackgroundReadOnlyColor: string;
|
|
31945
|
+
euiFormBorderOpaqueColor: string;
|
|
31946
|
+
euiFormBorderColor: string;
|
|
31947
|
+
euiFormBorderDisabledColor: string;
|
|
31948
|
+
euiFormCustomControlDisabledIconColor: string;
|
|
31949
|
+
euiFormCustomControlBorderColor: string;
|
|
31950
|
+
euiFormControlDisabledColor: string;
|
|
31951
|
+
euiFormControlBoxShadow: string;
|
|
31952
|
+
euiFormControlPlaceholderText: string;
|
|
31953
|
+
euiFormInputGroupLabelBackground: string;
|
|
31954
|
+
euiFormInputGroupBorder: string;
|
|
31955
|
+
euiSwitchOffColor: string;
|
|
31956
|
+
euiFormControlIconSizes: {
|
|
31957
|
+
small: string;
|
|
31958
|
+
medium: string;
|
|
31959
|
+
large: string;
|
|
31960
|
+
xLarge: string;
|
|
31961
|
+
xxLarge: string;
|
|
31962
|
+
};
|
|
31963
|
+
euiFormControlLayoutGroupInputHeight: string;
|
|
31964
|
+
euiFormControlLayoutGroupInputCompressedHeight: string;
|
|
31965
|
+
euiFormControlLayoutGroupInputCompressedBorderRadius: string;
|
|
31966
|
+
euiHeaderBackgroundColor: string;
|
|
31967
|
+
euiHeaderDarkBackgroundColor: string;
|
|
31968
|
+
euiHeaderBorderColor: string;
|
|
31969
|
+
euiHeaderBreadcrumbColor: string;
|
|
31970
|
+
euiHeaderHeight: string;
|
|
31971
|
+
euiHeaderChildSize: string;
|
|
31972
|
+
euiHeaderHeightCompensation: string;
|
|
31973
|
+
euiPageDefaultMaxWidth: string;
|
|
31974
|
+
euiPageSidebarMinWidth: string;
|
|
31975
|
+
euiPanelPaddingModifiers: {
|
|
31976
|
+
paddingSmall: string;
|
|
31977
|
+
paddingMedium: string;
|
|
31978
|
+
paddingLarge: string;
|
|
31979
|
+
};
|
|
31980
|
+
euiPanelBorderRadiusModifiers: {
|
|
31981
|
+
borderRadiusNone: number;
|
|
31982
|
+
borderRadiusMedium: string;
|
|
31983
|
+
};
|
|
31984
|
+
euiPanelBackgroundColorModifiers: {
|
|
31985
|
+
transparent: string;
|
|
31986
|
+
plain: string;
|
|
31987
|
+
subdued: string;
|
|
31988
|
+
accent: string;
|
|
31989
|
+
accentSecondary: string;
|
|
31990
|
+
primary: string;
|
|
31991
|
+
success: string;
|
|
31992
|
+
warning: string;
|
|
31993
|
+
danger: string;
|
|
31994
|
+
};
|
|
31995
|
+
euiBreakpoints: {
|
|
31996
|
+
xs: number;
|
|
31997
|
+
s: string;
|
|
31998
|
+
m: string;
|
|
31999
|
+
l: string;
|
|
32000
|
+
xl: string;
|
|
32001
|
+
};
|
|
32002
|
+
euiBreakpointKeys: string;
|
|
32003
|
+
euiShadowColor: string;
|
|
32004
|
+
euiSize: string;
|
|
32005
|
+
euiSizeXS: string;
|
|
32006
|
+
euiSizeS: string;
|
|
32007
|
+
euiSizeM: string;
|
|
32008
|
+
euiSizeL: string;
|
|
32009
|
+
euiSizeXL: string;
|
|
32010
|
+
euiSizeXXL: string;
|
|
32011
|
+
euiScrollBar: string;
|
|
32012
|
+
euiScrollBarCorner: string;
|
|
32013
|
+
euiScrollBarCornerThin: string;
|
|
32014
|
+
euiFocusRingColor: string;
|
|
32015
|
+
euiFocusRingAnimStartColor: string;
|
|
32016
|
+
euiFocusRingAnimStartSize: string;
|
|
32017
|
+
euiFocusRingAnimStartSizeLarge: string;
|
|
32018
|
+
euiFocusRingSizeLarge: string;
|
|
32019
|
+
euiFocusRingSize: string;
|
|
32020
|
+
euiFocusTransparency: number;
|
|
32021
|
+
euiFocusTransparencyPercent: string;
|
|
32022
|
+
euiFocusBackgroundColor: string;
|
|
32023
|
+
euiFontFamily: string;
|
|
32024
|
+
euiCodeFontFamily: string;
|
|
32025
|
+
euiFontFeatureSettings: string;
|
|
32026
|
+
euiTextScale: string;
|
|
32027
|
+
euiFontSize: string;
|
|
32028
|
+
euiFontSizeXS: string;
|
|
32029
|
+
euiFontSizeS: string;
|
|
32030
|
+
euiFontSizeM: string;
|
|
32031
|
+
euiFontSizeL: string;
|
|
32032
|
+
euiFontSizeXL: string;
|
|
32033
|
+
euiFontSizeXXL: string;
|
|
32034
|
+
euiLineHeight: number;
|
|
32035
|
+
euiBodyLineHeight: number;
|
|
32036
|
+
euiTitles: {
|
|
32037
|
+
xxxs: {
|
|
32038
|
+
'font-size': string;
|
|
32039
|
+
'line-height': string;
|
|
32040
|
+
'font-weight': number;
|
|
32041
|
+
};
|
|
32042
|
+
xxs: {
|
|
32043
|
+
'font-size': string;
|
|
32044
|
+
'line-height': string;
|
|
32045
|
+
'font-weight': number;
|
|
32046
|
+
};
|
|
32047
|
+
xs: {
|
|
32048
|
+
'font-size': string;
|
|
32049
|
+
'line-height': string;
|
|
32050
|
+
'font-weight': number;
|
|
32051
|
+
};
|
|
32052
|
+
s: {
|
|
32053
|
+
'font-size': string;
|
|
32054
|
+
'line-height': string;
|
|
32055
|
+
'font-weight': number;
|
|
32056
|
+
};
|
|
32057
|
+
m: {
|
|
32058
|
+
'font-size': string;
|
|
32059
|
+
'line-height': string;
|
|
32060
|
+
'font-weight': number;
|
|
32061
|
+
};
|
|
32062
|
+
l: {
|
|
32063
|
+
'font-size': string;
|
|
32064
|
+
'line-height': string;
|
|
32065
|
+
'font-weight': number;
|
|
32066
|
+
};
|
|
32067
|
+
};
|
|
32068
|
+
euiZLevel0: number;
|
|
32069
|
+
euiZLevel1: number;
|
|
32070
|
+
euiZLevel2: number;
|
|
32071
|
+
euiZLevel3: number;
|
|
32072
|
+
euiZLevel4: number;
|
|
32073
|
+
euiZLevel5: number;
|
|
32074
|
+
euiZLevel6: number;
|
|
32075
|
+
euiZLevel7: number;
|
|
32076
|
+
euiZLevel8: number;
|
|
32077
|
+
euiZLevel9: number;
|
|
32078
|
+
euiZToastList: number;
|
|
32079
|
+
euiZModal: number;
|
|
32080
|
+
euiZMask: number;
|
|
32081
|
+
euiZNavigation: number;
|
|
32082
|
+
euiZContentMenu: number;
|
|
32083
|
+
euiZHeader: number;
|
|
32084
|
+
euiZFlyout: number;
|
|
32085
|
+
euiZMaskBelowHeader: number;
|
|
32086
|
+
euiZContent: number;
|
|
32087
|
+
euiPaletteColorBlind: {
|
|
32088
|
+
euiColorVis0: {
|
|
32089
|
+
graphic: string;
|
|
32090
|
+
behindText: string;
|
|
32091
|
+
};
|
|
32092
|
+
euiColorVis1: {
|
|
32093
|
+
graphic: string;
|
|
32094
|
+
behindText: string;
|
|
32095
|
+
};
|
|
32096
|
+
euiColorVis2: {
|
|
32097
|
+
graphic: string;
|
|
32098
|
+
behindText: string;
|
|
32099
|
+
};
|
|
32100
|
+
euiColorVis3: {
|
|
32101
|
+
graphic: string;
|
|
32102
|
+
behindText: string;
|
|
32103
|
+
};
|
|
32104
|
+
euiColorVis4: {
|
|
32105
|
+
graphic: string;
|
|
32106
|
+
behindText: string;
|
|
32107
|
+
};
|
|
32108
|
+
euiColorVis5: {
|
|
32109
|
+
graphic: string;
|
|
32110
|
+
behindText: string;
|
|
32111
|
+
};
|
|
32112
|
+
euiColorVis6: {
|
|
32113
|
+
graphic: string;
|
|
32114
|
+
behindText: string;
|
|
32115
|
+
};
|
|
32116
|
+
euiColorVis7: {
|
|
32117
|
+
graphic: string;
|
|
32118
|
+
behindText: string;
|
|
32119
|
+
};
|
|
32120
|
+
euiColorVis8: {
|
|
32121
|
+
graphic: string;
|
|
32122
|
+
behindText: string;
|
|
32123
|
+
};
|
|
32124
|
+
euiColorVis9: {
|
|
32125
|
+
graphic: string;
|
|
32126
|
+
behindText: string;
|
|
32127
|
+
};
|
|
32128
|
+
};
|
|
32129
|
+
euiPaletteColorBlindKeys: string;
|
|
32130
|
+
euiColorVis0: string;
|
|
32131
|
+
euiColorVis1: string;
|
|
32132
|
+
euiColorVis2: string;
|
|
32133
|
+
euiColorVis3: string;
|
|
32134
|
+
euiColorVis4: string;
|
|
32135
|
+
euiColorVis5: string;
|
|
32136
|
+
euiColorVis6: string;
|
|
32137
|
+
euiColorVis7: string;
|
|
32138
|
+
euiColorVis8: string;
|
|
32139
|
+
euiColorVis9: string;
|
|
32140
|
+
euiColorVis0_behindText: string;
|
|
32141
|
+
euiColorVis1_behindText: string;
|
|
32142
|
+
euiColorVis2_behindText: string;
|
|
32143
|
+
euiColorVis3_behindText: string;
|
|
32144
|
+
euiColorVis4_behindText: string;
|
|
32145
|
+
euiColorVis5_behindText: string;
|
|
32146
|
+
euiColorVis6_behindText: string;
|
|
32147
|
+
euiColorVis7_behindText: string;
|
|
32148
|
+
euiColorVis8_behindText: string;
|
|
32149
|
+
euiColorVis9_behindText: string;
|
|
32150
|
+
euiColorVisAsTextLight0: string;
|
|
32151
|
+
euiColorVisAsTextLight1: string;
|
|
32152
|
+
euiColorVisAsTextLight2: string;
|
|
32153
|
+
euiColorVisAsTextLight3: string;
|
|
32154
|
+
euiColorVisAsTextLight4: string;
|
|
32155
|
+
euiColorVisAsTextLight5: string;
|
|
32156
|
+
euiColorVisAsTextLight6: string;
|
|
32157
|
+
euiColorVisAsTextDark0: string;
|
|
32158
|
+
euiColorVisAsTextDark1: string;
|
|
32159
|
+
euiColorVisAsTextDark2: string;
|
|
32160
|
+
euiColorVisAsTextDark3: string;
|
|
32161
|
+
euiColorVisAsTextDark4: string;
|
|
32162
|
+
euiColorVisAsTextDark5: string;
|
|
32163
|
+
euiColorVisAsTextDark6: string;
|
|
32164
|
+
euiColorVisSuccess0: string;
|
|
32165
|
+
euiColorVisSuccess1: string;
|
|
32166
|
+
euiColorVisWarning0: string;
|
|
32167
|
+
euiColorVisDanger0: string;
|
|
32168
|
+
euiColorVisDanger1: string;
|
|
32169
|
+
euiColorVisNeutral0: string;
|
|
32170
|
+
euiColorVisGrey0: string;
|
|
32171
|
+
euiColorVisGrey1: string;
|
|
32172
|
+
euiColorVisGrey2: string;
|
|
32173
|
+
euiColorVisGrey3: string;
|
|
32174
|
+
euiColorVisWarm0: string;
|
|
32175
|
+
euiColorVisWarm1: string;
|
|
32176
|
+
euiColorVisWarm2: string;
|
|
32177
|
+
euiColorVisCool0: string;
|
|
32178
|
+
euiColorVisCool1: string;
|
|
32179
|
+
euiColorVisCool2: string;
|
|
32180
|
+
euiColorVisComplementary0: string;
|
|
32181
|
+
euiColorVisComplementary1: string;
|
|
32182
|
+
euiColorSeverityUnknown: string;
|
|
32183
|
+
euiColorSeverityNeutral: string;
|
|
32184
|
+
euiColorSeveritySuccess: string;
|
|
32185
|
+
euiColorSeverityWarning: string;
|
|
32186
|
+
euiColorSeverityRisk: string;
|
|
32187
|
+
euiColorSeverityDanger: string;
|
|
32188
|
+
euiColorChartLines: string;
|
|
32189
|
+
euiColorChartBand: string;
|
|
32190
|
+
euiColorGhost: string;
|
|
32191
|
+
euiColorInk: string;
|
|
32192
|
+
euiColorPrimary: string;
|
|
32193
|
+
euiColorAccent: string;
|
|
32194
|
+
euiColorAccentSecondary: string;
|
|
32195
|
+
euiColorSuccess: string;
|
|
32196
|
+
euiColorWarning: string;
|
|
32197
|
+
euiColorDanger: string;
|
|
32198
|
+
euiColorEmptyShade: string;
|
|
32199
|
+
euiColorLightestShade: string;
|
|
32200
|
+
euiColorLightShade: string;
|
|
32201
|
+
euiColorMediumShade: string;
|
|
32202
|
+
euiColorDarkShade: string;
|
|
32203
|
+
euiColorDarkestShade: string;
|
|
32204
|
+
euiColorFullShade: string;
|
|
32205
|
+
euiPageBackgroundColor: string;
|
|
32206
|
+
euiColorHighlight: string;
|
|
32207
|
+
euiTextColor: string;
|
|
32208
|
+
euiTitleColor: string;
|
|
32209
|
+
euiTextSubduedColor: string;
|
|
32210
|
+
euiColorDisabled: string;
|
|
32211
|
+
euiColorPrimaryText: string;
|
|
32212
|
+
euiColorSuccessText: string;
|
|
32213
|
+
euiColorAccentText: string;
|
|
32214
|
+
euiColorWarningText: string;
|
|
32215
|
+
euiColorDangerText: string;
|
|
32216
|
+
euiColorDisabledText: string;
|
|
32217
|
+
euiLinkColor: string;
|
|
32218
|
+
euiColorPlainLight: string;
|
|
32219
|
+
euiColorPlainDark: string;
|
|
32220
|
+
euiColorTextPrimary: string;
|
|
32221
|
+
euiColorTextAccent: string;
|
|
32222
|
+
euiColorTextAccentSecondary: string;
|
|
32223
|
+
euiColorTextNeutral: string;
|
|
32224
|
+
euiColorTextSuccess: string;
|
|
32225
|
+
euiColorTextWarning: string;
|
|
32226
|
+
euiColorTextRisk: string;
|
|
32227
|
+
euiColorTextDanger: string;
|
|
32228
|
+
euiColorTextParagraph: string;
|
|
32229
|
+
euiColorTextHeading: string;
|
|
32230
|
+
euiColorTextSubdued: string;
|
|
32231
|
+
euiColorTextDisabled: string;
|
|
32232
|
+
euiColorTextInverse: string;
|
|
32233
|
+
euiColorBackgroundBasePrimary: string;
|
|
32234
|
+
euiColorBackgroundBaseAccent: string;
|
|
32235
|
+
euiColorBackgroundBaseAccentSecondary: string;
|
|
32236
|
+
euiColorBackgroundBaseNeutral: string;
|
|
32237
|
+
euiColorBackgroundBaseSuccess: string;
|
|
32238
|
+
euiColorBackgroundBaseWarning: string;
|
|
32239
|
+
euiColorBackgroundBaseRisk: string;
|
|
32240
|
+
euiColorBackgroundBaseDanger: string;
|
|
32241
|
+
euiColorBackgroundBaseSubdued: string;
|
|
32242
|
+
euiColorBackgroundBasePlain: string;
|
|
32243
|
+
euiColorBackgroundBaseDisabled: string;
|
|
32244
|
+
euiColorBackgroundBaseHighlighted: string;
|
|
32245
|
+
euiColorBackgroundBaseFormsPrepend: string;
|
|
32246
|
+
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
32247
|
+
euiColorBackgroundBaseInteractiveHover: string;
|
|
32248
|
+
euiColorBackgroundBaseInteractiveSelect: string;
|
|
32249
|
+
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
32250
|
+
euiColorBackgroundBaseSkeletonEdge: string;
|
|
32251
|
+
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
32252
|
+
euiColorBackgroundLightPrimary: string;
|
|
32253
|
+
euiColorBackgroundLightAccent: string;
|
|
32254
|
+
euiColorBackgroundLightAccentSecondary: string;
|
|
32255
|
+
euiColorBackgroundLightNeutral: string;
|
|
32256
|
+
euiColorBackgroundLightSuccess: string;
|
|
32257
|
+
euiColorBackgroundLightWarning: string;
|
|
32258
|
+
euiColorBackgroundLightRisk: string;
|
|
32259
|
+
euiColorBackgroundLightDanger: string;
|
|
32260
|
+
euiColorBackgroundLightText: string;
|
|
32261
|
+
euiColorBackgroundFilledPrimary: string;
|
|
32262
|
+
euiColorBackgroundFilledAccent: string;
|
|
32263
|
+
euiColorBackgroundFilledAccentSecondary: string;
|
|
32264
|
+
euiColorBackgroundFilledNeutral: string;
|
|
32265
|
+
euiColorBackgroundFilledSuccess: string;
|
|
32266
|
+
euiColorBackgroundFilledWarning: string;
|
|
32267
|
+
euiColorBackgroundFilledRisk: string;
|
|
32268
|
+
euiColorBackgroundFilledDanger: string;
|
|
32269
|
+
euiColorBackgroundFilledText: string;
|
|
32270
|
+
euiColorBorderBasePrimary: string;
|
|
32271
|
+
euiColorBorderBaseAccent: string;
|
|
32272
|
+
euiColorBorderBaseAccentSecondary: string;
|
|
32273
|
+
euiColorBorderBaseNeutral: string;
|
|
32274
|
+
euiColorBorderBaseSuccess: string;
|
|
32275
|
+
euiColorBorderBaseWarning: string;
|
|
32276
|
+
euiColorBorderBaseRisk: string;
|
|
32277
|
+
euiColorBorderBaseDanger: string;
|
|
32278
|
+
euiColorBorderBasePlain: string;
|
|
32279
|
+
euiColorBorderBaseSubdued: string;
|
|
32280
|
+
euiColorBorderBaseDisabled: string;
|
|
32281
|
+
euiColorBorderBaseFloating: string;
|
|
32282
|
+
euiColorBorderBaseFormsColorSwatch: string;
|
|
32283
|
+
euiColorBorderBaseFormsControl: string;
|
|
32284
|
+
euiColorBorderStrongPrimary: string;
|
|
32285
|
+
euiColorBorderStrongAccent: string;
|
|
32286
|
+
euiColorBorderStrongAccentSecondary: string;
|
|
32287
|
+
euiColorBorderStrongNeutral: string;
|
|
32288
|
+
euiColorBorderStrongSuccess: string;
|
|
32289
|
+
euiColorBorderStrongWarning: string;
|
|
32290
|
+
euiColorBorderStrongRisk: string;
|
|
32291
|
+
euiColorBorderStrongDanger: string;
|
|
32292
|
+
};
|
|
32293
|
+
export default sassVariables;
|
|
32294
|
+
}
|
|
32295
|
+
declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
32296
|
+
const sassVariables: {
|
|
32297
|
+
euiZDataGrid: number;
|
|
32298
|
+
euiZHeaderBelowDataGrid: number;
|
|
32299
|
+
euiZDataGridCellPopover: number;
|
|
32300
|
+
euiDataGridCellPaddingS: string;
|
|
32301
|
+
euiDataGridCellPaddingM: string;
|
|
32302
|
+
euiDataGridCellPaddingL: string;
|
|
32303
|
+
euiTableHoverColor: string;
|
|
32304
|
+
euiTableSelectedColor: string;
|
|
32305
|
+
euiTableHoverSelectedColor: string;
|
|
32306
|
+
euiTableActionsBorderColor: string;
|
|
32307
|
+
euiTableHoverClickableColor: string;
|
|
32308
|
+
euiTableFocusClickableColor: string;
|
|
32309
|
+
euiContrastRatioText: number;
|
|
32310
|
+
euiContrastRatioGraphic: number;
|
|
32311
|
+
euiContrastRatioDisabled: number;
|
|
32312
|
+
euiAnimSlightBounce: string;
|
|
32313
|
+
euiAnimSlightResistance: string;
|
|
32314
|
+
euiAnimSpeedExtraFast: string;
|
|
32315
|
+
euiAnimSpeedFast: string;
|
|
32316
|
+
euiAnimSpeedNormal: string;
|
|
32317
|
+
euiAnimSpeedSlow: string;
|
|
32318
|
+
euiAnimSpeedExtraSlow: string;
|
|
32319
|
+
euiBorderWidthThin: string;
|
|
32320
|
+
euiBorderWidthThick: string;
|
|
32321
|
+
euiBorderColor: string;
|
|
32322
|
+
euiBorderRadius: string;
|
|
32323
|
+
euiBorderRadiusSmall: string;
|
|
32324
|
+
euiBorderThick: string;
|
|
32325
|
+
euiBorderThin: string;
|
|
32326
|
+
euiBorderEditable: string;
|
|
32327
|
+
euiButtonHeight: string;
|
|
32328
|
+
euiButtonHeightSmall: string;
|
|
32329
|
+
euiButtonHeightXSmall: string;
|
|
32330
|
+
euiButtonColorDisabled: string;
|
|
32331
|
+
euiButtonColorDisabledText: string;
|
|
32332
|
+
euiButtonColorGhostDisabled: string;
|
|
32333
|
+
euiButtonTypes: {
|
|
32334
|
+
primary: string;
|
|
32335
|
+
accent: string;
|
|
32336
|
+
accentSecondary: string;
|
|
32337
|
+
neutral: string;
|
|
32338
|
+
success: string;
|
|
32339
|
+
warning: string;
|
|
32340
|
+
risk: string;
|
|
32341
|
+
danger: string;
|
|
32342
|
+
ghost: string;
|
|
32343
|
+
text: string;
|
|
32344
|
+
};
|
|
32345
|
+
euiFontWeightLight: number;
|
|
32346
|
+
euiFontWeightRegular: number;
|
|
32347
|
+
euiFontWeightMedium: number;
|
|
32348
|
+
euiFontWeightSemiBold: number;
|
|
32349
|
+
euiFontWeightBold: number;
|
|
32350
|
+
euiCodeFontWeightRegular: number;
|
|
32351
|
+
euiCodeFontWeightBold: number;
|
|
32352
|
+
euiFormMaxWidth: string;
|
|
32353
|
+
euiFormControlHeight: string;
|
|
32354
|
+
euiFormControlCompressedHeight: string;
|
|
32355
|
+
euiFormControlPadding: string;
|
|
32356
|
+
euiFormControlCompressedPadding: string;
|
|
32357
|
+
euiFormControlBorderRadius: string;
|
|
32358
|
+
euiFormControlCompressedBorderRadius: string;
|
|
32359
|
+
euiRadioSize: string;
|
|
32360
|
+
euiCheckBoxSize: string;
|
|
32361
|
+
euiCheckboxBorderRadius: string;
|
|
32362
|
+
euiSwitchHeight: string;
|
|
32363
|
+
euiSwitchWidth: string;
|
|
32364
|
+
euiSwitchThumbSize: string;
|
|
32365
|
+
euiSwitchIconHeight: string;
|
|
32366
|
+
euiSwitchHeightCompressed: string;
|
|
32367
|
+
euiSwitchWidthCompressed: string;
|
|
32368
|
+
euiSwitchThumbSizeCompressed: string;
|
|
32369
|
+
euiSwitchHeightMini: string;
|
|
32370
|
+
euiSwitchWidthMini: string;
|
|
32371
|
+
euiSwitchThumbSizeMini: string;
|
|
32372
|
+
euiFormBackgroundColor: string;
|
|
32373
|
+
euiFormBackgroundDisabledColor: string;
|
|
32374
|
+
euiFormBackgroundReadOnlyColor: string;
|
|
32375
|
+
euiFormBorderOpaqueColor: string;
|
|
32376
|
+
euiFormBorderColor: string;
|
|
32377
|
+
euiFormBorderDisabledColor: string;
|
|
32378
|
+
euiFormCustomControlDisabledIconColor: string;
|
|
32379
|
+
euiFormCustomControlBorderColor: string;
|
|
32380
|
+
euiFormControlDisabledColor: string;
|
|
32381
|
+
euiFormControlBoxShadow: string;
|
|
32382
|
+
euiFormControlPlaceholderText: string;
|
|
32383
|
+
euiFormInputGroupLabelBackground: string;
|
|
32384
|
+
euiFormInputGroupBorder: string;
|
|
32385
|
+
euiSwitchOffColor: string;
|
|
32386
|
+
euiFormControlIconSizes: {
|
|
32387
|
+
small: string;
|
|
32388
|
+
medium: string;
|
|
32389
|
+
large: string;
|
|
32390
|
+
xLarge: string;
|
|
32391
|
+
xxLarge: string;
|
|
32392
|
+
};
|
|
32393
|
+
euiFormControlLayoutGroupInputHeight: string;
|
|
32394
|
+
euiFormControlLayoutGroupInputCompressedHeight: string;
|
|
32395
|
+
euiFormControlLayoutGroupInputCompressedBorderRadius: string;
|
|
32396
|
+
euiHeaderBackgroundColor: string;
|
|
32397
|
+
euiHeaderDarkBackgroundColor: string;
|
|
32398
|
+
euiHeaderBorderColor: string;
|
|
32399
|
+
euiHeaderBreadcrumbColor: string;
|
|
32400
|
+
euiHeaderHeight: string;
|
|
32401
|
+
euiHeaderChildSize: string;
|
|
32402
|
+
euiHeaderHeightCompensation: string;
|
|
32403
|
+
euiPageDefaultMaxWidth: string;
|
|
32404
|
+
euiPageSidebarMinWidth: string;
|
|
32405
|
+
euiPanelPaddingModifiers: {
|
|
32406
|
+
paddingSmall: string;
|
|
32407
|
+
paddingMedium: string;
|
|
32408
|
+
paddingLarge: string;
|
|
32409
|
+
};
|
|
32410
|
+
euiPanelBorderRadiusModifiers: {
|
|
32411
|
+
borderRadiusNone: number;
|
|
32412
|
+
borderRadiusMedium: string;
|
|
32413
|
+
};
|
|
32414
|
+
euiPanelBackgroundColorModifiers: {
|
|
32415
|
+
transparent: string;
|
|
32416
|
+
plain: string;
|
|
32417
|
+
subdued: string;
|
|
32418
|
+
accent: string;
|
|
32419
|
+
accentSecondary: string;
|
|
32420
|
+
primary: string;
|
|
32421
|
+
success: string;
|
|
32422
|
+
warning: string;
|
|
32423
|
+
danger: string;
|
|
32424
|
+
};
|
|
32425
|
+
euiBreakpoints: {
|
|
32426
|
+
xs: number;
|
|
32427
|
+
s: string;
|
|
32428
|
+
m: string;
|
|
32429
|
+
l: string;
|
|
32430
|
+
xl: string;
|
|
32431
|
+
};
|
|
32432
|
+
euiBreakpointKeys: string;
|
|
32433
|
+
euiShadowColor: string;
|
|
32434
|
+
euiSize: string;
|
|
32435
|
+
euiSizeXS: string;
|
|
32436
|
+
euiSizeS: string;
|
|
32437
|
+
euiSizeM: string;
|
|
32438
|
+
euiSizeL: string;
|
|
32439
|
+
euiSizeXL: string;
|
|
32440
|
+
euiSizeXXL: string;
|
|
32441
|
+
euiScrollBar: string;
|
|
32442
|
+
euiScrollBarCorner: string;
|
|
32443
|
+
euiScrollBarCornerThin: string;
|
|
32444
|
+
euiFocusRingColor: string;
|
|
32445
|
+
euiFocusRingAnimStartColor: string;
|
|
32446
|
+
euiFocusRingAnimStartSize: string;
|
|
32447
|
+
euiFocusRingAnimStartSizeLarge: string;
|
|
32448
|
+
euiFocusRingSizeLarge: string;
|
|
32449
|
+
euiFocusRingSize: string;
|
|
32450
|
+
euiFocusTransparency: number;
|
|
32451
|
+
euiFocusTransparencyPercent: string;
|
|
32452
|
+
euiFocusBackgroundColor: string;
|
|
32453
|
+
euiFontFamily: string;
|
|
32454
|
+
euiCodeFontFamily: string;
|
|
32455
|
+
euiFontFeatureSettings: string;
|
|
32456
|
+
euiTextScale: string;
|
|
32457
|
+
euiFontSize: string;
|
|
32458
|
+
euiFontSizeXS: string;
|
|
32459
|
+
euiFontSizeS: string;
|
|
32460
|
+
euiFontSizeM: string;
|
|
32461
|
+
euiFontSizeL: string;
|
|
32462
|
+
euiFontSizeXL: string;
|
|
32463
|
+
euiFontSizeXXL: string;
|
|
32464
|
+
euiLineHeight: number;
|
|
32465
|
+
euiBodyLineHeight: number;
|
|
32466
|
+
euiTitles: {
|
|
32467
|
+
xxxs: {
|
|
32468
|
+
'font-size': string;
|
|
32469
|
+
'line-height': string;
|
|
32470
|
+
'font-weight': number;
|
|
32471
|
+
};
|
|
32472
|
+
xxs: {
|
|
32473
|
+
'font-size': string;
|
|
32474
|
+
'line-height': string;
|
|
32475
|
+
'font-weight': number;
|
|
32476
|
+
};
|
|
32477
|
+
xs: {
|
|
32478
|
+
'font-size': string;
|
|
32479
|
+
'line-height': string;
|
|
32480
|
+
'font-weight': number;
|
|
32481
|
+
};
|
|
32482
|
+
s: {
|
|
32483
|
+
'font-size': string;
|
|
32484
|
+
'line-height': string;
|
|
32485
|
+
'font-weight': number;
|
|
32486
|
+
};
|
|
32487
|
+
m: {
|
|
32488
|
+
'font-size': string;
|
|
32489
|
+
'line-height': string;
|
|
32490
|
+
'font-weight': number;
|
|
32491
|
+
};
|
|
32492
|
+
l: {
|
|
32493
|
+
'font-size': string;
|
|
32494
|
+
'line-height': string;
|
|
32495
|
+
'font-weight': number;
|
|
32496
|
+
};
|
|
32497
|
+
};
|
|
32498
|
+
euiZLevel0: number;
|
|
32499
|
+
euiZLevel1: number;
|
|
32500
|
+
euiZLevel2: number;
|
|
32501
|
+
euiZLevel3: number;
|
|
32502
|
+
euiZLevel4: number;
|
|
32503
|
+
euiZLevel5: number;
|
|
32504
|
+
euiZLevel6: number;
|
|
32505
|
+
euiZLevel7: number;
|
|
32506
|
+
euiZLevel8: number;
|
|
32507
|
+
euiZLevel9: number;
|
|
32508
|
+
euiZToastList: number;
|
|
32509
|
+
euiZModal: number;
|
|
32510
|
+
euiZMask: number;
|
|
32511
|
+
euiZNavigation: number;
|
|
32512
|
+
euiZContentMenu: number;
|
|
32513
|
+
euiZHeader: number;
|
|
32514
|
+
euiZFlyout: number;
|
|
32515
|
+
euiZMaskBelowHeader: number;
|
|
32516
|
+
euiZContent: number;
|
|
32517
|
+
euiPaletteColorBlind: {
|
|
32518
|
+
euiColorVis0: {
|
|
32519
|
+
graphic: string;
|
|
32520
|
+
behindText: string;
|
|
32521
|
+
};
|
|
32522
|
+
euiColorVis1: {
|
|
32523
|
+
graphic: string;
|
|
32524
|
+
behindText: string;
|
|
32525
|
+
};
|
|
32526
|
+
euiColorVis2: {
|
|
32527
|
+
graphic: string;
|
|
32528
|
+
behindText: string;
|
|
32529
|
+
};
|
|
32530
|
+
euiColorVis3: {
|
|
32531
|
+
graphic: string;
|
|
32532
|
+
behindText: string;
|
|
32533
|
+
};
|
|
32534
|
+
euiColorVis4: {
|
|
32535
|
+
graphic: string;
|
|
32536
|
+
behindText: string;
|
|
32537
|
+
};
|
|
32538
|
+
euiColorVis5: {
|
|
32539
|
+
graphic: string;
|
|
32540
|
+
behindText: string;
|
|
32541
|
+
};
|
|
32542
|
+
euiColorVis6: {
|
|
32543
|
+
graphic: string;
|
|
32544
|
+
behindText: string;
|
|
32545
|
+
};
|
|
32546
|
+
euiColorVis7: {
|
|
32547
|
+
graphic: string;
|
|
32548
|
+
behindText: string;
|
|
32549
|
+
};
|
|
32550
|
+
euiColorVis8: {
|
|
32551
|
+
graphic: string;
|
|
32552
|
+
behindText: string;
|
|
32553
|
+
};
|
|
32554
|
+
euiColorVis9: {
|
|
32555
|
+
graphic: string;
|
|
32556
|
+
behindText: string;
|
|
32557
|
+
};
|
|
32558
|
+
};
|
|
32559
|
+
euiPaletteColorBlindKeys: string;
|
|
32560
|
+
euiColorVis0: string;
|
|
32561
|
+
euiColorVis1: string;
|
|
32562
|
+
euiColorVis2: string;
|
|
32563
|
+
euiColorVis3: string;
|
|
32564
|
+
euiColorVis4: string;
|
|
32565
|
+
euiColorVis5: string;
|
|
32566
|
+
euiColorVis6: string;
|
|
32567
|
+
euiColorVis7: string;
|
|
32568
|
+
euiColorVis8: string;
|
|
32569
|
+
euiColorVis9: string;
|
|
32570
|
+
euiColorVis0_behindText: string;
|
|
32571
|
+
euiColorVis1_behindText: string;
|
|
32572
|
+
euiColorVis2_behindText: string;
|
|
32573
|
+
euiColorVis3_behindText: string;
|
|
32574
|
+
euiColorVis4_behindText: string;
|
|
32575
|
+
euiColorVis5_behindText: string;
|
|
32576
|
+
euiColorVis6_behindText: string;
|
|
32577
|
+
euiColorVis7_behindText: string;
|
|
32578
|
+
euiColorVis8_behindText: string;
|
|
32579
|
+
euiColorVis9_behindText: string;
|
|
32580
|
+
euiColorVisAsTextLight0: string;
|
|
32581
|
+
euiColorVisAsTextLight1: string;
|
|
32582
|
+
euiColorVisAsTextLight2: string;
|
|
32583
|
+
euiColorVisAsTextLight3: string;
|
|
32584
|
+
euiColorVisAsTextLight4: string;
|
|
32585
|
+
euiColorVisAsTextLight5: string;
|
|
32586
|
+
euiColorVisAsTextLight6: string;
|
|
32587
|
+
euiColorVisAsTextDark0: string;
|
|
32588
|
+
euiColorVisAsTextDark1: string;
|
|
32589
|
+
euiColorVisAsTextDark2: string;
|
|
32590
|
+
euiColorVisAsTextDark3: string;
|
|
32591
|
+
euiColorVisAsTextDark4: string;
|
|
32592
|
+
euiColorVisAsTextDark5: string;
|
|
32593
|
+
euiColorVisAsTextDark6: string;
|
|
32594
|
+
euiColorVisSuccess0: string;
|
|
32595
|
+
euiColorVisSuccess1: string;
|
|
32596
|
+
euiColorVisWarning0: string;
|
|
32597
|
+
euiColorVisDanger0: string;
|
|
32598
|
+
euiColorVisDanger1: string;
|
|
32599
|
+
euiColorVisNeutral0: string;
|
|
32600
|
+
euiColorVisGrey0: string;
|
|
32601
|
+
euiColorVisGrey1: string;
|
|
32602
|
+
euiColorVisGrey2: string;
|
|
32603
|
+
euiColorVisGrey3: string;
|
|
32604
|
+
euiColorVisWarm0: string;
|
|
32605
|
+
euiColorVisWarm1: string;
|
|
32606
|
+
euiColorVisWarm2: string;
|
|
32607
|
+
euiColorVisCool0: string;
|
|
32608
|
+
euiColorVisCool1: string;
|
|
32609
|
+
euiColorVisCool2: string;
|
|
32610
|
+
euiColorVisComplementary0: string;
|
|
32611
|
+
euiColorVisComplementary1: string;
|
|
32612
|
+
euiColorSeverityUnknown: string;
|
|
32613
|
+
euiColorSeverityNeutral: string;
|
|
32614
|
+
euiColorSeveritySuccess: string;
|
|
32615
|
+
euiColorSeverityWarning: string;
|
|
32616
|
+
euiColorSeverityRisk: string;
|
|
32617
|
+
euiColorSeverityDanger: string;
|
|
32618
|
+
euiColorChartLines: string;
|
|
32619
|
+
euiColorChartBand: string;
|
|
32620
|
+
euiColorGhost: string;
|
|
32621
|
+
euiColorInk: string;
|
|
32622
|
+
euiColorPrimary: string;
|
|
32623
|
+
euiColorAccent: string;
|
|
32624
|
+
euiColorAccentSecondary: string;
|
|
32625
|
+
euiColorSuccess: string;
|
|
32626
|
+
euiColorWarning: string;
|
|
32627
|
+
euiColorDanger: string;
|
|
32628
|
+
euiColorEmptyShade: string;
|
|
32629
|
+
euiColorLightestShade: string;
|
|
32630
|
+
euiColorLightShade: string;
|
|
32631
|
+
euiColorMediumShade: string;
|
|
32632
|
+
euiColorDarkShade: string;
|
|
32633
|
+
euiColorDarkestShade: string;
|
|
32634
|
+
euiColorFullShade: string;
|
|
32635
|
+
euiPageBackgroundColor: string;
|
|
32636
|
+
euiColorHighlight: string;
|
|
32637
|
+
euiTextColor: string;
|
|
32638
|
+
euiTitleColor: string;
|
|
32639
|
+
euiTextSubduedColor: string;
|
|
32640
|
+
euiColorDisabled: string;
|
|
32641
|
+
euiColorPrimaryText: string;
|
|
32642
|
+
euiColorSuccessText: string;
|
|
32643
|
+
euiColorAccentText: string;
|
|
32644
|
+
euiColorWarningText: string;
|
|
32645
|
+
euiColorDangerText: string;
|
|
32646
|
+
euiColorDisabledText: string;
|
|
32647
|
+
euiLinkColor: string;
|
|
32648
|
+
euiColorPlainLight: string;
|
|
32649
|
+
euiColorPlainDark: string;
|
|
32650
|
+
euiColorTextPrimary: string;
|
|
32651
|
+
euiColorTextAccent: string;
|
|
32652
|
+
euiColorTextAccentSecondary: string;
|
|
32653
|
+
euiColorTextNeutral: string;
|
|
32654
|
+
euiColorTextSuccess: string;
|
|
32655
|
+
euiColorTextWarning: string;
|
|
32656
|
+
euiColorTextRisk: string;
|
|
32657
|
+
euiColorTextDanger: string;
|
|
32658
|
+
euiColorTextParagraph: string;
|
|
32659
|
+
euiColorTextHeading: string;
|
|
32660
|
+
euiColorTextSubdued: string;
|
|
32661
|
+
euiColorTextDisabled: string;
|
|
32662
|
+
euiColorTextInverse: string;
|
|
32663
|
+
euiColorBackgroundBasePrimary: string;
|
|
32664
|
+
euiColorBackgroundBaseAccent: string;
|
|
32665
|
+
euiColorBackgroundBaseAccentSecondary: string;
|
|
32666
|
+
euiColorBackgroundBaseNeutral: string;
|
|
32667
|
+
euiColorBackgroundBaseSuccess: string;
|
|
32668
|
+
euiColorBackgroundBaseWarning: string;
|
|
32669
|
+
euiColorBackgroundBaseRisk: string;
|
|
32670
|
+
euiColorBackgroundBaseDanger: string;
|
|
32671
|
+
euiColorBackgroundBaseSubdued: string;
|
|
32672
|
+
euiColorBackgroundBasePlain: string;
|
|
32673
|
+
euiColorBackgroundBaseDisabled: string;
|
|
32674
|
+
euiColorBackgroundBaseHighlighted: string;
|
|
32675
|
+
euiColorBackgroundBaseFormsPrepend: string;
|
|
32676
|
+
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
32677
|
+
euiColorBackgroundBaseInteractiveHover: string;
|
|
32678
|
+
euiColorBackgroundBaseInteractiveSelect: string;
|
|
32679
|
+
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
32680
|
+
euiColorBackgroundBaseSkeletonEdge: string;
|
|
32681
|
+
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
32682
|
+
euiColorBackgroundLightPrimary: string;
|
|
32683
|
+
euiColorBackgroundLightAccent: string;
|
|
32684
|
+
euiColorBackgroundLightAccentSecondary: string;
|
|
32685
|
+
euiColorBackgroundLightNeutral: string;
|
|
32686
|
+
euiColorBackgroundLightSuccess: string;
|
|
32687
|
+
euiColorBackgroundLightWarning: string;
|
|
32688
|
+
euiColorBackgroundLightRisk: string;
|
|
32689
|
+
euiColorBackgroundLightDanger: string;
|
|
32690
|
+
euiColorBackgroundLightText: string;
|
|
32691
|
+
euiColorBackgroundFilledPrimary: string;
|
|
32692
|
+
euiColorBackgroundFilledAccent: string;
|
|
32693
|
+
euiColorBackgroundFilledAccentSecondary: string;
|
|
32694
|
+
euiColorBackgroundFilledNeutral: string;
|
|
32695
|
+
euiColorBackgroundFilledSuccess: string;
|
|
32696
|
+
euiColorBackgroundFilledWarning: string;
|
|
32697
|
+
euiColorBackgroundFilledRisk: string;
|
|
32698
|
+
euiColorBackgroundFilledDanger: string;
|
|
32699
|
+
euiColorBackgroundFilledText: string;
|
|
32700
|
+
euiColorBorderBasePrimary: string;
|
|
32701
|
+
euiColorBorderBaseAccent: string;
|
|
32702
|
+
euiColorBorderBaseAccentSecondary: string;
|
|
32703
|
+
euiColorBorderBaseNeutral: string;
|
|
32704
|
+
euiColorBorderBaseSuccess: string;
|
|
32705
|
+
euiColorBorderBaseWarning: string;
|
|
32706
|
+
euiColorBorderBaseRisk: string;
|
|
32707
|
+
euiColorBorderBaseDanger: string;
|
|
32708
|
+
euiColorBorderBasePlain: string;
|
|
32709
|
+
euiColorBorderBaseSubdued: string;
|
|
32710
|
+
euiColorBorderBaseDisabled: string;
|
|
32711
|
+
euiColorBorderBaseFloating: string;
|
|
32712
|
+
euiColorBorderBaseFormsColorSwatch: string;
|
|
32713
|
+
euiColorBorderBaseFormsControl: string;
|
|
32714
|
+
euiColorBorderStrongPrimary: string;
|
|
32715
|
+
euiColorBorderStrongAccent: string;
|
|
32716
|
+
euiColorBorderStrongAccentSecondary: string;
|
|
32717
|
+
euiColorBorderStrongNeutral: string;
|
|
32718
|
+
euiColorBorderStrongSuccess: string;
|
|
32719
|
+
euiColorBorderStrongWarning: string;
|
|
32720
|
+
euiColorBorderStrongRisk: string;
|
|
32721
|
+
euiColorBorderStrongDanger: string;
|
|
32722
|
+
};
|
|
32723
|
+
export default sassVariables;
|
|
32724
|
+
}
|
|
32725
|
+
declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
32726
|
+
const sassVariables: {
|
|
32727
|
+
euiZDataGrid: number;
|
|
32728
|
+
euiZHeaderBelowDataGrid: number;
|
|
32729
|
+
euiZDataGridCellPopover: number;
|
|
32730
|
+
euiDataGridCellPaddingS: string;
|
|
32731
|
+
euiDataGridCellPaddingM: string;
|
|
32732
|
+
euiDataGridCellPaddingL: string;
|
|
32733
|
+
euiTableHoverColor: string;
|
|
32734
|
+
euiTableSelectedColor: string;
|
|
32735
|
+
euiTableHoverSelectedColor: string;
|
|
32736
|
+
euiTableActionsBorderColor: string;
|
|
32737
|
+
euiTableHoverClickableColor: string;
|
|
32738
|
+
euiTableFocusClickableColor: string;
|
|
32739
|
+
euiContrastRatioText: number;
|
|
32740
|
+
euiContrastRatioGraphic: number;
|
|
32741
|
+
euiContrastRatioDisabled: number;
|
|
32742
|
+
euiAnimSlightBounce: string;
|
|
32743
|
+
euiAnimSlightResistance: string;
|
|
32744
|
+
euiAnimSpeedExtraFast: string;
|
|
32745
|
+
euiAnimSpeedFast: string;
|
|
32746
|
+
euiAnimSpeedNormal: string;
|
|
32747
|
+
euiAnimSpeedSlow: string;
|
|
32748
|
+
euiAnimSpeedExtraSlow: string;
|
|
32749
|
+
euiBorderWidthThin: string;
|
|
32750
|
+
euiBorderWidthThick: string;
|
|
32751
|
+
euiBorderColor: string;
|
|
32752
|
+
euiBorderRadius: string;
|
|
32753
|
+
euiBorderRadiusSmall: string;
|
|
32754
|
+
euiBorderThick: string;
|
|
32755
|
+
euiBorderThin: string;
|
|
32756
|
+
euiBorderEditable: string;
|
|
32757
|
+
euiButtonHeight: string;
|
|
32758
|
+
euiButtonHeightSmall: string;
|
|
32759
|
+
euiButtonHeightXSmall: string;
|
|
32760
|
+
euiButtonColorDisabled: string;
|
|
32761
|
+
euiButtonColorDisabledText: string;
|
|
32762
|
+
euiButtonColorGhostDisabled: string;
|
|
32763
|
+
euiButtonTypes: {
|
|
32764
|
+
primary: string;
|
|
32765
|
+
accent: string;
|
|
32766
|
+
accentSecondary: string;
|
|
32767
|
+
neutral: string;
|
|
32768
|
+
success: string;
|
|
32769
|
+
warning: string;
|
|
32770
|
+
risk: string;
|
|
32771
|
+
danger: string;
|
|
32772
|
+
ghost: string;
|
|
32773
|
+
text: string;
|
|
32774
|
+
};
|
|
32775
|
+
euiFontWeightLight: number;
|
|
32776
|
+
euiFontWeightRegular: number;
|
|
32777
|
+
euiFontWeightMedium: number;
|
|
32778
|
+
euiFontWeightSemiBold: number;
|
|
32779
|
+
euiFontWeightBold: number;
|
|
32780
|
+
euiCodeFontWeightRegular: number;
|
|
32781
|
+
euiCodeFontWeightBold: number;
|
|
32782
|
+
euiFormMaxWidth: string;
|
|
32783
|
+
euiFormControlHeight: string;
|
|
32784
|
+
euiFormControlCompressedHeight: string;
|
|
32785
|
+
euiFormControlPadding: string;
|
|
32786
|
+
euiFormControlCompressedPadding: string;
|
|
32787
|
+
euiFormControlBorderRadius: string;
|
|
32788
|
+
euiFormControlCompressedBorderRadius: string;
|
|
32789
|
+
euiRadioSize: string;
|
|
32790
|
+
euiCheckBoxSize: string;
|
|
32791
|
+
euiCheckboxBorderRadius: string;
|
|
32792
|
+
euiSwitchHeight: string;
|
|
32793
|
+
euiSwitchWidth: string;
|
|
32794
|
+
euiSwitchThumbSize: string;
|
|
32795
|
+
euiSwitchIconHeight: string;
|
|
32796
|
+
euiSwitchHeightCompressed: string;
|
|
32797
|
+
euiSwitchWidthCompressed: string;
|
|
32798
|
+
euiSwitchThumbSizeCompressed: string;
|
|
32799
|
+
euiSwitchHeightMini: string;
|
|
32800
|
+
euiSwitchWidthMini: string;
|
|
32801
|
+
euiSwitchThumbSizeMini: string;
|
|
32802
|
+
euiFormBackgroundColor: string;
|
|
32803
|
+
euiFormBackgroundDisabledColor: string;
|
|
32804
|
+
euiFormBackgroundReadOnlyColor: string;
|
|
32805
|
+
euiFormBorderOpaqueColor: string;
|
|
32806
|
+
euiFormBorderColor: string;
|
|
32807
|
+
euiFormBorderDisabledColor: string;
|
|
32808
|
+
euiFormCustomControlDisabledIconColor: string;
|
|
32809
|
+
euiFormCustomControlBorderColor: string;
|
|
32810
|
+
euiFormControlDisabledColor: string;
|
|
32811
|
+
euiFormControlBoxShadow: string;
|
|
32812
|
+
euiFormControlPlaceholderText: string;
|
|
32813
|
+
euiFormInputGroupLabelBackground: string;
|
|
32814
|
+
euiFormInputGroupBorder: string;
|
|
32815
|
+
euiSwitchOffColor: string;
|
|
32816
|
+
euiFormControlIconSizes: {
|
|
32817
|
+
small: string;
|
|
32818
|
+
medium: string;
|
|
32819
|
+
large: string;
|
|
32820
|
+
xLarge: string;
|
|
32821
|
+
xxLarge: string;
|
|
32822
|
+
};
|
|
32823
|
+
euiFormControlLayoutGroupInputHeight: string;
|
|
32824
|
+
euiFormControlLayoutGroupInputCompressedHeight: string;
|
|
32825
|
+
euiFormControlLayoutGroupInputCompressedBorderRadius: string;
|
|
32826
|
+
euiHeaderBackgroundColor: string;
|
|
32827
|
+
euiHeaderDarkBackgroundColor: string;
|
|
32828
|
+
euiHeaderBorderColor: string;
|
|
32829
|
+
euiHeaderBreadcrumbColor: string;
|
|
32830
|
+
euiHeaderHeight: string;
|
|
32831
|
+
euiHeaderChildSize: string;
|
|
32832
|
+
euiHeaderHeightCompensation: string;
|
|
32833
|
+
euiPageDefaultMaxWidth: string;
|
|
32834
|
+
euiPageSidebarMinWidth: string;
|
|
32835
|
+
euiPanelPaddingModifiers: {
|
|
32836
|
+
paddingSmall: string;
|
|
32837
|
+
paddingMedium: string;
|
|
32838
|
+
paddingLarge: string;
|
|
32839
|
+
};
|
|
32840
|
+
euiPanelBorderRadiusModifiers: {
|
|
32841
|
+
borderRadiusNone: number;
|
|
32842
|
+
borderRadiusMedium: string;
|
|
32843
|
+
};
|
|
32844
|
+
euiPanelBackgroundColorModifiers: {
|
|
32845
|
+
transparent: string;
|
|
32846
|
+
plain: string;
|
|
32847
|
+
subdued: string;
|
|
32848
|
+
accent: string;
|
|
32849
|
+
accentSecondary: string;
|
|
32850
|
+
primary: string;
|
|
32851
|
+
success: string;
|
|
32852
|
+
warning: string;
|
|
32853
|
+
danger: string;
|
|
32854
|
+
};
|
|
32855
|
+
euiBreakpoints: {
|
|
32856
|
+
xs: number;
|
|
32857
|
+
s: string;
|
|
32858
|
+
m: string;
|
|
32859
|
+
l: string;
|
|
32860
|
+
xl: string;
|
|
32861
|
+
};
|
|
32862
|
+
euiBreakpointKeys: string;
|
|
32863
|
+
euiShadowColor: string;
|
|
32864
|
+
euiSize: string;
|
|
32865
|
+
euiSizeXS: string;
|
|
32866
|
+
euiSizeS: string;
|
|
32867
|
+
euiSizeM: string;
|
|
32868
|
+
euiSizeL: string;
|
|
32869
|
+
euiSizeXL: string;
|
|
32870
|
+
euiSizeXXL: string;
|
|
32871
|
+
euiScrollBar: string;
|
|
32872
|
+
euiScrollBarCorner: string;
|
|
32873
|
+
euiScrollBarCornerThin: string;
|
|
32874
|
+
euiFocusRingColor: string;
|
|
32875
|
+
euiFocusRingAnimStartColor: string;
|
|
32876
|
+
euiFocusRingAnimStartSize: string;
|
|
32877
|
+
euiFocusRingAnimStartSizeLarge: string;
|
|
32878
|
+
euiFocusRingSizeLarge: string;
|
|
32879
|
+
euiFocusRingSize: string;
|
|
32880
|
+
euiFocusTransparency: number;
|
|
32881
|
+
euiFocusTransparencyPercent: string;
|
|
32882
|
+
euiFocusBackgroundColor: string;
|
|
32883
|
+
euiFontFamily: string;
|
|
32884
|
+
euiCodeFontFamily: string;
|
|
32885
|
+
euiFontFeatureSettings: string;
|
|
32886
|
+
euiTextScale: string;
|
|
32887
|
+
euiFontSize: string;
|
|
32888
|
+
euiFontSizeXS: string;
|
|
32889
|
+
euiFontSizeS: string;
|
|
32890
|
+
euiFontSizeM: string;
|
|
32891
|
+
euiFontSizeL: string;
|
|
32892
|
+
euiFontSizeXL: string;
|
|
32893
|
+
euiFontSizeXXL: string;
|
|
32894
|
+
euiLineHeight: number;
|
|
32895
|
+
euiBodyLineHeight: number;
|
|
32896
|
+
euiTitles: {
|
|
32897
|
+
xxxs: {
|
|
32898
|
+
'font-size': string;
|
|
32899
|
+
'line-height': string;
|
|
32900
|
+
'font-weight': number;
|
|
32901
|
+
};
|
|
32902
|
+
xxs: {
|
|
32903
|
+
'font-size': string;
|
|
32904
|
+
'line-height': string;
|
|
32905
|
+
'font-weight': number;
|
|
32906
|
+
};
|
|
32907
|
+
xs: {
|
|
32908
|
+
'font-size': string;
|
|
32909
|
+
'line-height': string;
|
|
32910
|
+
'font-weight': number;
|
|
32911
|
+
};
|
|
32912
|
+
s: {
|
|
32913
|
+
'font-size': string;
|
|
32914
|
+
'line-height': string;
|
|
32915
|
+
'font-weight': number;
|
|
32916
|
+
};
|
|
32917
|
+
m: {
|
|
32918
|
+
'font-size': string;
|
|
32919
|
+
'line-height': string;
|
|
32920
|
+
'font-weight': number;
|
|
32921
|
+
};
|
|
32922
|
+
l: {
|
|
32923
|
+
'font-size': string;
|
|
32924
|
+
'line-height': string;
|
|
32925
|
+
'font-weight': number;
|
|
32926
|
+
};
|
|
32927
|
+
};
|
|
32928
|
+
euiZLevel0: number;
|
|
32929
|
+
euiZLevel1: number;
|
|
32930
|
+
euiZLevel2: number;
|
|
32931
|
+
euiZLevel3: number;
|
|
32932
|
+
euiZLevel4: number;
|
|
32933
|
+
euiZLevel5: number;
|
|
32934
|
+
euiZLevel6: number;
|
|
32935
|
+
euiZLevel7: number;
|
|
32936
|
+
euiZLevel8: number;
|
|
32937
|
+
euiZLevel9: number;
|
|
32938
|
+
euiZToastList: number;
|
|
32939
|
+
euiZModal: number;
|
|
32940
|
+
euiZMask: number;
|
|
32941
|
+
euiZNavigation: number;
|
|
32942
|
+
euiZContentMenu: number;
|
|
32943
|
+
euiZHeader: number;
|
|
32944
|
+
euiZFlyout: number;
|
|
32945
|
+
euiZMaskBelowHeader: number;
|
|
32946
|
+
euiZContent: number;
|
|
32947
|
+
euiPaletteColorBlind: {
|
|
32948
|
+
euiColorVis0: {
|
|
32949
|
+
graphic: string;
|
|
32950
|
+
behindText: string;
|
|
32951
|
+
};
|
|
32952
|
+
euiColorVis1: {
|
|
32953
|
+
graphic: string;
|
|
32954
|
+
behindText: string;
|
|
32955
|
+
};
|
|
32956
|
+
euiColorVis2: {
|
|
32957
|
+
graphic: string;
|
|
32958
|
+
behindText: string;
|
|
32959
|
+
};
|
|
32960
|
+
euiColorVis3: {
|
|
32961
|
+
graphic: string;
|
|
32962
|
+
behindText: string;
|
|
32963
|
+
};
|
|
32964
|
+
euiColorVis4: {
|
|
32965
|
+
graphic: string;
|
|
32966
|
+
behindText: string;
|
|
32967
|
+
};
|
|
32968
|
+
euiColorVis5: {
|
|
32969
|
+
graphic: string;
|
|
32970
|
+
behindText: string;
|
|
32971
|
+
};
|
|
32972
|
+
euiColorVis6: {
|
|
32973
|
+
graphic: string;
|
|
32974
|
+
behindText: string;
|
|
32975
|
+
};
|
|
32976
|
+
euiColorVis7: {
|
|
32977
|
+
graphic: string;
|
|
32978
|
+
behindText: string;
|
|
32979
|
+
};
|
|
32980
|
+
euiColorVis8: {
|
|
32981
|
+
graphic: string;
|
|
32982
|
+
behindText: string;
|
|
32983
|
+
};
|
|
32984
|
+
euiColorVis9: {
|
|
32985
|
+
graphic: string;
|
|
32986
|
+
behindText: string;
|
|
32987
|
+
};
|
|
32988
|
+
};
|
|
32989
|
+
euiPaletteColorBlindKeys: string;
|
|
32990
|
+
euiColorVis0: string;
|
|
32991
|
+
euiColorVis1: string;
|
|
32992
|
+
euiColorVis2: string;
|
|
32993
|
+
euiColorVis3: string;
|
|
32994
|
+
euiColorVis4: string;
|
|
32995
|
+
euiColorVis5: string;
|
|
32996
|
+
euiColorVis6: string;
|
|
32997
|
+
euiColorVis7: string;
|
|
32998
|
+
euiColorVis8: string;
|
|
32999
|
+
euiColorVis9: string;
|
|
33000
|
+
euiColorVis0_behindText: string;
|
|
33001
|
+
euiColorVis1_behindText: string;
|
|
33002
|
+
euiColorVis2_behindText: string;
|
|
33003
|
+
euiColorVis3_behindText: string;
|
|
33004
|
+
euiColorVis4_behindText: string;
|
|
33005
|
+
euiColorVis5_behindText: string;
|
|
33006
|
+
euiColorVis6_behindText: string;
|
|
33007
|
+
euiColorVis7_behindText: string;
|
|
33008
|
+
euiColorVis8_behindText: string;
|
|
33009
|
+
euiColorVis9_behindText: string;
|
|
33010
|
+
euiColorVisAsTextLight0: string;
|
|
33011
|
+
euiColorVisAsTextLight1: string;
|
|
33012
|
+
euiColorVisAsTextLight2: string;
|
|
33013
|
+
euiColorVisAsTextLight3: string;
|
|
33014
|
+
euiColorVisAsTextLight4: string;
|
|
33015
|
+
euiColorVisAsTextLight5: string;
|
|
33016
|
+
euiColorVisAsTextLight6: string;
|
|
33017
|
+
euiColorVisAsTextDark0: string;
|
|
33018
|
+
euiColorVisAsTextDark1: string;
|
|
33019
|
+
euiColorVisAsTextDark2: string;
|
|
33020
|
+
euiColorVisAsTextDark3: string;
|
|
33021
|
+
euiColorVisAsTextDark4: string;
|
|
33022
|
+
euiColorVisAsTextDark5: string;
|
|
33023
|
+
euiColorVisAsTextDark6: string;
|
|
33024
|
+
euiColorVisSuccess0: string;
|
|
33025
|
+
euiColorVisSuccess1: string;
|
|
33026
|
+
euiColorVisWarning0: string;
|
|
33027
|
+
euiColorVisDanger0: string;
|
|
33028
|
+
euiColorVisDanger1: string;
|
|
33029
|
+
euiColorVisNeutral0: string;
|
|
33030
|
+
euiColorVisGrey0: string;
|
|
33031
|
+
euiColorVisGrey1: string;
|
|
33032
|
+
euiColorVisGrey2: string;
|
|
33033
|
+
euiColorVisGrey3: string;
|
|
33034
|
+
euiColorVisWarm0: string;
|
|
33035
|
+
euiColorVisWarm1: string;
|
|
33036
|
+
euiColorVisWarm2: string;
|
|
33037
|
+
euiColorVisCool0: string;
|
|
33038
|
+
euiColorVisCool1: string;
|
|
33039
|
+
euiColorVisCool2: string;
|
|
33040
|
+
euiColorVisComplementary0: string;
|
|
33041
|
+
euiColorVisComplementary1: string;
|
|
33042
|
+
euiColorSeverityUnknown: string;
|
|
33043
|
+
euiColorSeverityNeutral: string;
|
|
33044
|
+
euiColorSeveritySuccess: string;
|
|
33045
|
+
euiColorSeverityWarning: string;
|
|
33046
|
+
euiColorSeverityRisk: string;
|
|
33047
|
+
euiColorSeverityDanger: string;
|
|
33048
|
+
euiColorChartLines: string;
|
|
33049
|
+
euiColorChartBand: string;
|
|
33050
|
+
euiColorGhost: string;
|
|
33051
|
+
euiColorInk: string;
|
|
33052
|
+
euiColorPrimary: string;
|
|
33053
|
+
euiColorAccent: string;
|
|
33054
|
+
euiColorAccentSecondary: string;
|
|
33055
|
+
euiColorSuccess: string;
|
|
33056
|
+
euiColorWarning: string;
|
|
33057
|
+
euiColorDanger: string;
|
|
33058
|
+
euiColorEmptyShade: string;
|
|
33059
|
+
euiColorLightestShade: string;
|
|
33060
|
+
euiColorLightShade: string;
|
|
33061
|
+
euiColorMediumShade: string;
|
|
33062
|
+
euiColorDarkShade: string;
|
|
33063
|
+
euiColorDarkestShade: string;
|
|
33064
|
+
euiColorFullShade: string;
|
|
33065
|
+
euiPageBackgroundColor: string;
|
|
33066
|
+
euiColorHighlight: string;
|
|
33067
|
+
euiTextColor: string;
|
|
33068
|
+
euiTitleColor: string;
|
|
33069
|
+
euiTextSubduedColor: string;
|
|
33070
|
+
euiColorDisabled: string;
|
|
33071
|
+
euiColorPrimaryText: string;
|
|
33072
|
+
euiColorSuccessText: string;
|
|
33073
|
+
euiColorAccentText: string;
|
|
33074
|
+
euiColorWarningText: string;
|
|
33075
|
+
euiColorDangerText: string;
|
|
33076
|
+
euiColorDisabledText: string;
|
|
33077
|
+
euiLinkColor: string;
|
|
33078
|
+
euiColorPlainLight: string;
|
|
33079
|
+
euiColorPlainDark: string;
|
|
33080
|
+
euiColorTextPrimary: string;
|
|
33081
|
+
euiColorTextAccent: string;
|
|
33082
|
+
euiColorTextAccentSecondary: string;
|
|
33083
|
+
euiColorTextNeutral: string;
|
|
33084
|
+
euiColorTextSuccess: string;
|
|
33085
|
+
euiColorTextWarning: string;
|
|
33086
|
+
euiColorTextRisk: string;
|
|
33087
|
+
euiColorTextDanger: string;
|
|
33088
|
+
euiColorTextParagraph: string;
|
|
33089
|
+
euiColorTextHeading: string;
|
|
33090
|
+
euiColorTextSubdued: string;
|
|
33091
|
+
euiColorTextDisabled: string;
|
|
33092
|
+
euiColorTextInverse: string;
|
|
33093
|
+
euiColorBackgroundBasePrimary: string;
|
|
33094
|
+
euiColorBackgroundBaseAccent: string;
|
|
33095
|
+
euiColorBackgroundBaseAccentSecondary: string;
|
|
33096
|
+
euiColorBackgroundBaseNeutral: string;
|
|
33097
|
+
euiColorBackgroundBaseSuccess: string;
|
|
33098
|
+
euiColorBackgroundBaseWarning: string;
|
|
33099
|
+
euiColorBackgroundBaseRisk: string;
|
|
33100
|
+
euiColorBackgroundBaseDanger: string;
|
|
33101
|
+
euiColorBackgroundBaseSubdued: string;
|
|
33102
|
+
euiColorBackgroundBasePlain: string;
|
|
33103
|
+
euiColorBackgroundBaseDisabled: string;
|
|
33104
|
+
euiColorBackgroundBaseHighlighted: string;
|
|
33105
|
+
euiColorBackgroundBaseFormsPrepend: string;
|
|
33106
|
+
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
33107
|
+
euiColorBackgroundBaseInteractiveHover: string;
|
|
33108
|
+
euiColorBackgroundBaseInteractiveSelect: string;
|
|
33109
|
+
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
33110
|
+
euiColorBackgroundBaseSkeletonEdge: string;
|
|
33111
|
+
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
33112
|
+
euiColorBackgroundLightPrimary: string;
|
|
33113
|
+
euiColorBackgroundLightAccent: string;
|
|
33114
|
+
euiColorBackgroundLightAccentSecondary: string;
|
|
33115
|
+
euiColorBackgroundLightNeutral: string;
|
|
33116
|
+
euiColorBackgroundLightSuccess: string;
|
|
33117
|
+
euiColorBackgroundLightWarning: string;
|
|
33118
|
+
euiColorBackgroundLightRisk: string;
|
|
33119
|
+
euiColorBackgroundLightDanger: string;
|
|
33120
|
+
euiColorBackgroundLightText: string;
|
|
33121
|
+
euiColorBackgroundFilledPrimary: string;
|
|
33122
|
+
euiColorBackgroundFilledAccent: string;
|
|
33123
|
+
euiColorBackgroundFilledAccentSecondary: string;
|
|
33124
|
+
euiColorBackgroundFilledNeutral: string;
|
|
33125
|
+
euiColorBackgroundFilledSuccess: string;
|
|
33126
|
+
euiColorBackgroundFilledWarning: string;
|
|
33127
|
+
euiColorBackgroundFilledRisk: string;
|
|
33128
|
+
euiColorBackgroundFilledDanger: string;
|
|
33129
|
+
euiColorBackgroundFilledText: string;
|
|
33130
|
+
euiColorBorderBasePrimary: string;
|
|
33131
|
+
euiColorBorderBaseAccent: string;
|
|
33132
|
+
euiColorBorderBaseAccentSecondary: string;
|
|
33133
|
+
euiColorBorderBaseNeutral: string;
|
|
33134
|
+
euiColorBorderBaseSuccess: string;
|
|
33135
|
+
euiColorBorderBaseWarning: string;
|
|
33136
|
+
euiColorBorderBaseRisk: string;
|
|
33137
|
+
euiColorBorderBaseDanger: string;
|
|
33138
|
+
euiColorBorderBasePlain: string;
|
|
33139
|
+
euiColorBorderBaseSubdued: string;
|
|
33140
|
+
euiColorBorderBaseDisabled: string;
|
|
33141
|
+
euiColorBorderBaseFloating: string;
|
|
33142
|
+
euiColorBorderBaseFormsColorSwatch: string;
|
|
33143
|
+
euiColorBorderBaseFormsControl: string;
|
|
33144
|
+
euiColorBorderStrongPrimary: string;
|
|
33145
|
+
euiColorBorderStrongAccent: string;
|
|
33146
|
+
euiColorBorderStrongAccentSecondary: string;
|
|
33147
|
+
euiColorBorderStrongNeutral: string;
|
|
33148
|
+
euiColorBorderStrongSuccess: string;
|
|
33149
|
+
euiColorBorderStrongWarning: string;
|
|
33150
|
+
euiColorBorderStrongRisk: string;
|
|
33151
|
+
euiColorBorderStrongDanger: string;
|
|
33152
|
+
};
|
|
33153
|
+
export default sassVariables;
|
|
33154
|
+
}
|
|
31403
33155
|
// TODO: remove once exported by package itself
|
|
31404
33156
|
// https://github.com/oblador/loki/pull/516
|
|
31405
33157
|
declare module '@loki/create-async-callback' {
|