@elastic/eui 92.2.0 → 93.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +0 -200
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +0 -200
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/basic_table/basic_table.js +0 -9
- package/es/components/basic_table/in_memory_table.js +0 -10
- package/es/components/beacon/beacon.js +9 -6
- package/es/components/breadcrumbs/breadcrumb.js +0 -10
- package/es/components/breadcrumbs/breadcrumbs.js +0 -10
- package/es/components/code/code.js +2 -2
- package/es/components/code/code.styles.js +2 -4
- package/es/components/code/code_block.js +5 -3
- package/es/components/code/code_block.styles.js +4 -7
- package/es/components/code/code_block_controls.js +2 -2
- package/es/components/code/code_block_controls.styles.js +2 -4
- package/es/components/code/code_block_full_screen.js +2 -2
- package/es/components/code/code_syntax.styles.js +39 -34
- package/es/components/comment_list/comment_event.js +3 -2
- package/es/components/comment_list/comment_event.styles.js +2 -18
- package/es/components/context_menu/context_menu.js +2 -6
- package/es/components/context_menu/context_menu_item.js +2 -14
- package/es/components/empty_prompt/empty_prompt.js +62 -65
- package/es/components/empty_prompt/empty_prompt.styles.js +115 -0
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +0 -10
- package/es/components/header/header_links/header_links.js +0 -10
- package/es/components/page/page_header/page_header_content.js +0 -10
- package/es/components/popover/popover.js +3 -15
- package/es/components/search_bar/search_bar.js +36 -32
- package/es/components/search_bar/search_bar.styles.js +22 -0
- package/es/components/text_truncate/text_truncate.js +4 -1
- package/es/components/tour/_tour_footer.js +97 -0
- package/es/components/tour/_tour_footer.styles.js +23 -0
- package/es/components/tour/_tour_header.js +37 -0
- package/es/components/tour/_tour_header.styles.js +20 -0
- package/es/components/tour/tour.styles.js +5 -28
- package/es/components/tour/tour_step.js +45 -130
- package/es/global_styling/mixins/_color.js +46 -13
- package/eui.d.ts +125 -66
- package/i18ntokens.json +94 -148
- package/lib/components/basic_table/basic_table.js +0 -9
- package/lib/components/basic_table/in_memory_table.js +0 -10
- package/lib/components/beacon/beacon.js +11 -6
- package/lib/components/breadcrumbs/breadcrumb.js +0 -10
- package/lib/components/code/code.js +2 -2
- package/lib/components/code/code.styles.js +2 -4
- package/lib/components/code/code_block.js +5 -3
- package/lib/components/code/code_block.styles.js +4 -7
- package/lib/components/code/code_block_controls.js +2 -2
- package/lib/components/code/code_block_controls.styles.js +2 -4
- package/lib/components/code/code_block_full_screen.js +2 -2
- package/lib/components/code/code_syntax.styles.js +40 -36
- package/lib/components/comment_list/comment_event.js +2 -1
- package/lib/components/comment_list/comment_event.styles.js +3 -20
- package/lib/components/context_menu/context_menu.js +2 -6
- package/lib/components/context_menu/context_menu_item.js +2 -14
- package/lib/components/empty_prompt/empty_prompt.js +64 -64
- package/lib/components/empty_prompt/empty_prompt.styles.js +120 -0
- package/lib/components/popover/popover.js +3 -15
- package/lib/components/search_bar/search_bar.js +37 -33
- package/lib/components/search_bar/search_bar.styles.js +30 -0
- package/lib/components/text_truncate/text_truncate.js +4 -1
- package/lib/components/tour/_tour_footer.js +105 -0
- package/lib/components/tour/_tour_footer.styles.js +31 -0
- package/lib/components/tour/_tour_header.js +48 -0
- package/lib/components/tour/_tour_header.styles.js +27 -0
- package/lib/components/tour/tour.styles.js +7 -32
- package/lib/components/tour/tour_step.js +42 -117
- package/lib/global_styling/mixins/_color.js +50 -15
- package/optimize/es/components/basic_table/basic_table.js +0 -9
- package/optimize/es/components/basic_table/in_memory_table.js +0 -10
- package/optimize/es/components/beacon/beacon.js +9 -6
- package/optimize/es/components/code/code.js +2 -2
- package/optimize/es/components/code/code.styles.js +2 -4
- package/optimize/es/components/code/code_block.js +5 -3
- package/optimize/es/components/code/code_block.styles.js +4 -7
- package/optimize/es/components/code/code_block_controls.js +2 -2
- package/optimize/es/components/code/code_block_controls.styles.js +2 -4
- package/optimize/es/components/code/code_block_full_screen.js +2 -2
- package/optimize/es/components/code/code_syntax.styles.js +39 -34
- package/optimize/es/components/comment_list/comment_event.js +3 -2
- package/optimize/es/components/comment_list/comment_event.styles.js +2 -18
- package/optimize/es/components/context_menu/context_menu.js +2 -6
- package/optimize/es/components/context_menu/context_menu_item.js +2 -6
- package/optimize/es/components/empty_prompt/empty_prompt.js +62 -62
- package/optimize/es/components/empty_prompt/empty_prompt.styles.js +112 -0
- package/optimize/es/components/popover/popover.js +3 -5
- package/optimize/es/components/search_bar/search_bar.js +36 -32
- package/optimize/es/components/search_bar/search_bar.styles.js +22 -0
- package/optimize/es/components/text_truncate/text_truncate.js +4 -1
- package/optimize/es/components/tour/_tour_footer.js +89 -0
- package/optimize/es/components/tour/_tour_footer.styles.js +23 -0
- package/optimize/es/components/tour/_tour_header.js +33 -0
- package/optimize/es/components/tour/_tour_header.styles.js +20 -0
- package/optimize/es/components/tour/tour.styles.js +5 -28
- package/optimize/es/components/tour/tour_step.js +45 -113
- package/optimize/es/global_styling/mixins/_color.js +46 -13
- package/optimize/lib/components/basic_table/basic_table.js +0 -9
- package/optimize/lib/components/basic_table/in_memory_table.js +0 -10
- package/optimize/lib/components/beacon/beacon.js +12 -6
- package/optimize/lib/components/code/code.js +2 -2
- package/optimize/lib/components/code/code.styles.js +2 -4
- package/optimize/lib/components/code/code_block.js +5 -3
- package/optimize/lib/components/code/code_block.styles.js +4 -7
- package/optimize/lib/components/code/code_block_controls.js +2 -2
- package/optimize/lib/components/code/code_block_controls.styles.js +2 -4
- package/optimize/lib/components/code/code_block_full_screen.js +2 -2
- package/optimize/lib/components/code/code_syntax.styles.js +40 -36
- package/optimize/lib/components/comment_list/comment_event.js +2 -1
- package/optimize/lib/components/comment_list/comment_event.styles.js +3 -20
- package/optimize/lib/components/context_menu/context_menu.js +2 -6
- package/optimize/lib/components/context_menu/context_menu_item.js +2 -6
- package/optimize/lib/components/empty_prompt/empty_prompt.js +65 -62
- package/optimize/lib/components/empty_prompt/empty_prompt.styles.js +118 -0
- package/optimize/lib/components/popover/popover.js +3 -5
- package/optimize/lib/components/search_bar/search_bar.js +37 -33
- package/optimize/lib/components/search_bar/search_bar.styles.js +30 -0
- package/optimize/lib/components/text_truncate/text_truncate.js +4 -1
- package/optimize/lib/components/tour/_tour_footer.js +100 -0
- package/optimize/lib/components/tour/_tour_footer.styles.js +31 -0
- package/optimize/lib/components/tour/_tour_header.js +43 -0
- package/optimize/lib/components/tour/_tour_header.styles.js +27 -0
- package/optimize/lib/components/tour/tour.styles.js +7 -32
- package/optimize/lib/components/tour/tour_step.js +42 -110
- package/optimize/lib/global_styling/mixins/_color.js +50 -15
- package/package.json +1 -1
- package/src/components/index.scss +0 -2
- package/test-env/components/basic_table/basic_table.js +0 -9
- package/test-env/components/basic_table/in_memory_table.js +0 -10
- package/test-env/components/beacon/beacon.js +12 -6
- package/test-env/components/breadcrumbs/breadcrumb.js +0 -10
- package/test-env/components/code/code.styles.js +2 -4
- package/test-env/components/code/code_block.styles.js +4 -7
- package/test-env/components/code/code_block_controls.js +2 -2
- package/test-env/components/code/code_block_controls.styles.js +2 -4
- package/test-env/components/code/code_block_full_screen.js +2 -2
- package/test-env/components/code/code_syntax.styles.js +40 -36
- package/test-env/components/comment_list/comment_event.js +2 -1
- package/test-env/components/comment_list/comment_event.styles.js +3 -20
- package/test-env/components/context_menu/context_menu.js +2 -6
- package/test-env/components/context_menu/context_menu_item.js +2 -14
- package/test-env/components/empty_prompt/empty_prompt.js +65 -62
- package/test-env/components/empty_prompt/empty_prompt.styles.js +118 -0
- package/test-env/components/popover/popover.js +3 -15
- package/test-env/components/search_bar/search_bar.js +37 -33
- package/test-env/components/search_bar/search_bar.styles.js +30 -0
- package/test-env/components/text_truncate/text_truncate.js +4 -1
- package/test-env/components/tour/_tour_footer.js +100 -0
- package/test-env/components/tour/_tour_footer.styles.js +31 -0
- package/test-env/components/tour/_tour_header.js +48 -0
- package/test-env/components/tour/_tour_header.styles.js +27 -0
- package/test-env/components/tour/tour.styles.js +7 -32
- package/test-env/components/tour/tour_step.js +42 -114
- package/test-env/global_styling/mixins/_color.js +50 -15
- package/src/components/empty_prompt/_empty_prompt.scss +0 -128
- package/src/components/empty_prompt/_index.scss +0 -1
- package/src/components/search_bar/_index.scss +0 -1
- package/src/components/search_bar/_search_bar.scss +0 -10
package/eui.d.ts
CHANGED
|
@@ -1096,6 +1096,17 @@ declare module '@elastic/eui/src/global_styling/mixins/_color' {
|
|
|
1096
1096
|
warning: import("@emotion/utils").SerializedStyles;
|
|
1097
1097
|
danger: import("@emotion/utils").SerializedStyles;
|
|
1098
1098
|
};
|
|
1099
|
+
export const euiBorderColor: ({ euiTheme, colorMode }: UseEuiTheme, color: _EuiBackgroundColor) => string;
|
|
1100
|
+
export const useEuiBorderColorCSS: () => {
|
|
1101
|
+
transparent: import("@emotion/utils").SerializedStyles;
|
|
1102
|
+
plain: import("@emotion/utils").SerializedStyles;
|
|
1103
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
1104
|
+
accent: import("@emotion/utils").SerializedStyles;
|
|
1105
|
+
primary: import("@emotion/utils").SerializedStyles;
|
|
1106
|
+
success: import("@emotion/utils").SerializedStyles;
|
|
1107
|
+
warning: import("@emotion/utils").SerializedStyles;
|
|
1108
|
+
danger: import("@emotion/utils").SerializedStyles;
|
|
1109
|
+
};
|
|
1099
1110
|
|
|
1100
1111
|
}
|
|
1101
1112
|
declare module '@elastic/eui/src/global_styling/functions/logicals' {
|
|
@@ -5266,7 +5277,7 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item.style
|
|
|
5266
5277
|
declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
|
|
5267
5278
|
import React, { PropsWithChildren, ButtonHTMLAttributes, FunctionComponent, ReactElement, ReactNode, Ref } from 'react';
|
|
5268
5279
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
5269
|
-
import { EuiToolTipProps
|
|
5280
|
+
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
5270
5281
|
export type EuiContextMenuItemIcon = ReactElement<any> | string | HTMLElement;
|
|
5271
5282
|
export type EuiContextMenuItemLayoutAlignment = 'center' | 'top' | 'bottom';
|
|
5272
5283
|
export const SIZES: readonly ["s", "m"];
|
|
@@ -5285,14 +5296,6 @@ declare module '@elastic/eui/src/components/context_menu/context_menu_item' {
|
|
|
5285
5296
|
* Accepts any prop that EuiToolTip does, except for `content` and `children`.
|
|
5286
5297
|
*/
|
|
5287
5298
|
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>;
|
|
5288
|
-
/**
|
|
5289
|
-
* @deprecated Use toolTipProps.title instead
|
|
5290
|
-
*/
|
|
5291
|
-
toolTipTitle?: ReactNode;
|
|
5292
|
-
/**
|
|
5293
|
-
* @deprecated Use tooltipProps.position instead
|
|
5294
|
-
*/
|
|
5295
|
-
toolTipPosition?: ToolTipPositions;
|
|
5296
5299
|
href?: string;
|
|
5297
5300
|
target?: string;
|
|
5298
5301
|
rel?: string;
|
|
@@ -6541,12 +6544,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
6541
6544
|
export const popoverAnchorPosition: readonly ["upCenter", "upLeft", "upRight", "downCenter", "downLeft", "downRight", "leftCenter", "leftUp", "leftDown", "rightCenter", "rightUp", "rightDown"];
|
|
6542
6545
|
export type PopoverAnchorPosition = (typeof popoverAnchorPosition)[number];
|
|
6543
6546
|
export interface EuiPopoverProps extends PropsWithChildren, CommonProps {
|
|
6544
|
-
/**
|
|
6545
|
-
* Class name passed to the direct parent of the button
|
|
6546
|
-
*
|
|
6547
|
-
* @deprecated Use `className` instead
|
|
6548
|
-
*/
|
|
6549
|
-
anchorClassName?: string;
|
|
6550
6547
|
/**
|
|
6551
6548
|
* Alignment of the popover and arrow relative to the button
|
|
6552
6549
|
*/
|
|
@@ -6560,10 +6557,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
6560
6557
|
* Triggering element for which to align the popover to
|
|
6561
6558
|
*/
|
|
6562
6559
|
button: NonNullable<ReactNode>;
|
|
6563
|
-
/**
|
|
6564
|
-
* @deprecated Use `popoverRef` instead
|
|
6565
|
-
*/
|
|
6566
|
-
buttonRef?: RefCallback<HTMLDivElement>;
|
|
6567
6560
|
/**
|
|
6568
6561
|
* Callback to handle hiding of the popover
|
|
6569
6562
|
*/
|
|
@@ -10198,8 +10191,7 @@ declare module '@elastic/eui/src/components/code/utils' {
|
|
|
10198
10191
|
|
|
10199
10192
|
}
|
|
10200
10193
|
declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
10201
|
-
|
|
10202
|
-
export const euiCodeSyntaxColors: (euiThemeContext: UseEuiTheme) => {
|
|
10194
|
+
export const useEuiCodeSyntaxVariables: () => {
|
|
10203
10195
|
backgroundColor: string;
|
|
10204
10196
|
color: string;
|
|
10205
10197
|
inlineCodeColor: string;
|
|
@@ -10223,13 +10215,15 @@ declare module '@elastic/eui/src/components/code/code_syntax.styles' {
|
|
|
10223
10215
|
deletionColor: string;
|
|
10224
10216
|
selectorClassColor: string;
|
|
10225
10217
|
selectorIdColor: string;
|
|
10218
|
+
readonly tokensCss: string;
|
|
10226
10219
|
};
|
|
10227
|
-
export
|
|
10220
|
+
export type UseEuiCodeSyntaxVariables = ReturnType<typeof useEuiCodeSyntaxVariables>;
|
|
10228
10221
|
|
|
10229
10222
|
}
|
|
10230
10223
|
declare module '@elastic/eui/src/components/code/code.styles' {
|
|
10231
10224
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10232
|
-
|
|
10225
|
+
import { UseEuiCodeSyntaxVariables } from '@elastic/eui/src/components/code/code_syntax.styles';
|
|
10226
|
+
export const euiCodeStyles: (euiThemeContext: UseEuiTheme, euiCodeSyntaxVariables: UseEuiCodeSyntaxVariables) => {
|
|
10233
10227
|
euiCode: import("@emotion/utils").SerializedStyles;
|
|
10234
10228
|
transparentBackground: import("@emotion/utils").SerializedStyles;
|
|
10235
10229
|
};
|
|
@@ -10360,7 +10354,8 @@ declare module '@elastic/eui/src/components/overlay_mask' {
|
|
|
10360
10354
|
}
|
|
10361
10355
|
declare module '@elastic/eui/src/components/code/code_block.styles' {
|
|
10362
10356
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10363
|
-
|
|
10357
|
+
import { UseEuiCodeSyntaxVariables } from '@elastic/eui/src/components/code/code_syntax.styles';
|
|
10358
|
+
export const euiCodeBlockStyles: (euiThemeContext: UseEuiTheme, euiCodeSyntaxVariables: UseEuiCodeSyntaxVariables) => {
|
|
10364
10359
|
euiCodeBlock: import("@emotion/utils").SerializedStyles;
|
|
10365
10360
|
s: import("@emotion/utils").SerializedStyles;
|
|
10366
10361
|
m: import("@emotion/utils").SerializedStyles;
|
|
@@ -10414,7 +10409,7 @@ declare module '@elastic/eui/src/components/code/code_block.styles' {
|
|
|
10414
10409
|
};
|
|
10415
10410
|
};
|
|
10416
10411
|
};
|
|
10417
|
-
export const euiCodeBlockCodeStyles: (euiThemeContext: UseEuiTheme) => {
|
|
10412
|
+
export const euiCodeBlockCodeStyles: (euiThemeContext: UseEuiTheme, euiCodeSyntaxVariables: UseEuiCodeSyntaxVariables) => {
|
|
10418
10413
|
euiCodeBlock__code: import("@emotion/utils").SerializedStyles;
|
|
10419
10414
|
isVirtualized: import("@emotion/utils").SerializedStyles;
|
|
10420
10415
|
};
|
|
@@ -10440,7 +10435,8 @@ declare module '@elastic/eui/src/components/code/code_block_full_screen' {
|
|
|
10440
10435
|
}
|
|
10441
10436
|
declare module '@elastic/eui/src/components/code/code_block_controls.styles' {
|
|
10442
10437
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
10443
|
-
|
|
10438
|
+
import { UseEuiCodeSyntaxVariables } from '@elastic/eui/src/components/code/code_syntax.styles';
|
|
10439
|
+
export const euiCodeBlockControlsStyles: (euiThemeContext: UseEuiTheme, euiCodeSyntaxVariables: UseEuiCodeSyntaxVariables) => {
|
|
10444
10440
|
euiCodeBlock__controls: import("@emotion/utils").SerializedStyles;
|
|
10445
10441
|
offset: {
|
|
10446
10442
|
none: import("@emotion/utils").SerializedStyles;
|
|
@@ -12737,16 +12733,6 @@ declare module '@elastic/eui/src/components/timeline' {
|
|
|
12737
12733
|
}
|
|
12738
12734
|
declare module '@elastic/eui/src/components/comment_list/comment_event.styles' {
|
|
12739
12735
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12740
|
-
export const euiCommentEventBorderColors: ({ euiTheme, colorMode, }: UseEuiTheme) => {
|
|
12741
|
-
warning: import("@emotion/utils").SerializedStyles;
|
|
12742
|
-
accent: import("@emotion/utils").SerializedStyles;
|
|
12743
|
-
primary: import("@emotion/utils").SerializedStyles;
|
|
12744
|
-
success: import("@emotion/utils").SerializedStyles;
|
|
12745
|
-
danger: import("@emotion/utils").SerializedStyles;
|
|
12746
|
-
subdued: import("@emotion/utils").SerializedStyles;
|
|
12747
|
-
transparent: import("@emotion/utils").SerializedStyles;
|
|
12748
|
-
plain: import("@emotion/utils").SerializedStyles;
|
|
12749
|
-
};
|
|
12750
12736
|
export const euiCommentEventStyles: (euiThemeContext: UseEuiTheme) => {
|
|
12751
12737
|
euiCommentEvent: import("@emotion/utils").SerializedStyles;
|
|
12752
12738
|
border: import("@emotion/utils").SerializedStyles;
|
|
@@ -16689,6 +16675,61 @@ declare module '@elastic/eui/src/components/delay_render' {
|
|
|
16689
16675
|
export type { EuiDelayRenderProps } from '@elastic/eui/src/components/delay_render/delay_render';
|
|
16690
16676
|
export { EuiDelayRender } from '@elastic/eui/src/components/delay_render/delay_render';
|
|
16691
16677
|
|
|
16678
|
+
}
|
|
16679
|
+
declare module '@elastic/eui/src/components/empty_prompt/empty_prompt.styles' {
|
|
16680
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
16681
|
+
export const euiEmptyPromptStyles: (euiThemeContext: UseEuiTheme) => {
|
|
16682
|
+
euiEmptyPrompt: import("@emotion/utils").SerializedStyles;
|
|
16683
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
|
16684
|
+
horizontal: import("@emotion/utils").SerializedStyles;
|
|
16685
|
+
main: {
|
|
16686
|
+
horizontalPadding: {
|
|
16687
|
+
none: null;
|
|
16688
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
16689
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
16690
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
16691
|
+
};
|
|
16692
|
+
none: null;
|
|
16693
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
16694
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
16695
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
16696
|
+
euiEmptyPrompt__main: import("@emotion/utils").SerializedStyles;
|
|
16697
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
|
16698
|
+
horizontal: import("@emotion/utils").SerializedStyles;
|
|
16699
|
+
};
|
|
16700
|
+
content: {
|
|
16701
|
+
euiEmptyPrompt__content: import("@emotion/utils").SerializedStyles;
|
|
16702
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
|
16703
|
+
horizontal: import("@emotion/utils").SerializedStyles;
|
|
16704
|
+
};
|
|
16705
|
+
icon: {
|
|
16706
|
+
euiEmptyPrompt__icon: import("@emotion/utils").SerializedStyles;
|
|
16707
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
|
16708
|
+
horizontal: import("@emotion/utils").SerializedStyles;
|
|
16709
|
+
};
|
|
16710
|
+
actions: {
|
|
16711
|
+
euiEmptyPrompt__actions: import("@emotion/utils").SerializedStyles;
|
|
16712
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
|
16713
|
+
horizontal: import("@emotion/utils").SerializedStyles;
|
|
16714
|
+
};
|
|
16715
|
+
footer: {
|
|
16716
|
+
none: null;
|
|
16717
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
16718
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
16719
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
16720
|
+
euiEmptyPrompt__footer: import("@emotion/utils").SerializedStyles;
|
|
16721
|
+
roundedBorders: import("@emotion/utils").SerializedStyles;
|
|
16722
|
+
transparent: import("@emotion/utils").SerializedStyles;
|
|
16723
|
+
plain: import("@emotion/utils").SerializedStyles;
|
|
16724
|
+
subdued: import("@emotion/utils").SerializedStyles;
|
|
16725
|
+
primary: import("@emotion/utils").SerializedStyles;
|
|
16726
|
+
accent: import("@emotion/utils").SerializedStyles;
|
|
16727
|
+
danger: import("@emotion/utils").SerializedStyles;
|
|
16728
|
+
warning: import("@emotion/utils").SerializedStyles;
|
|
16729
|
+
success: import("@emotion/utils").SerializedStyles;
|
|
16730
|
+
};
|
|
16731
|
+
};
|
|
16732
|
+
|
|
16692
16733
|
}
|
|
16693
16734
|
declare module '@elastic/eui/src/components/empty_prompt/empty_prompt' {
|
|
16694
16735
|
import { FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
@@ -16696,7 +16737,7 @@ declare module '@elastic/eui/src/components/empty_prompt/empty_prompt' {
|
|
|
16696
16737
|
import { EuiTitleSize } from '@elastic/eui/src/components/title';
|
|
16697
16738
|
import { IconColor, IconType } from '@elastic/eui/src/components/icon';
|
|
16698
16739
|
import { _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
16699
|
-
export const PADDING_SIZES:
|
|
16740
|
+
export const PADDING_SIZES: readonly ["none", "s", "m", "l"];
|
|
16700
16741
|
export type PaddingSize = (typeof PADDING_SIZES)[number];
|
|
16701
16742
|
export type EuiEmptyPromptProps = CommonProps & Omit<_EuiPanelDivlike, 'borderRadius' | 'grow' | 'panelRef' | 'paddingSize' | 'title' | 'element'> & {
|
|
16702
16743
|
iconType?: IconType;
|
|
@@ -21253,6 +21294,12 @@ declare module '@elastic/eui/src/components/search_bar/search_filters' {
|
|
|
21253
21294
|
render(): React.JSX.Element;
|
|
21254
21295
|
}
|
|
21255
21296
|
|
|
21297
|
+
}
|
|
21298
|
+
declare module '@elastic/eui/src/components/search_bar/search_bar.styles' {
|
|
21299
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
21300
|
+
export const euiSearchBar__searchHolder: (euiThemeContext: UseEuiTheme) => import("@emotion/utils").SerializedStyles;
|
|
21301
|
+
export const euiSearchBar__filtersHolder: (euiThemeContext: UseEuiTheme) => import("@emotion/utils").SerializedStyles;
|
|
21302
|
+
|
|
21256
21303
|
}
|
|
21257
21304
|
declare module '@elastic/eui/src/components/search_bar/search_bar' {
|
|
21258
21305
|
import React, { Component, ReactElement } from 'react';
|
|
@@ -21843,6 +21890,24 @@ declare module '@elastic/eui/src/components/steps' {
|
|
|
21843
21890
|
export type { EuiStepStatus, EuiStepNumberProps } from '@elastic/eui/src/components/steps/step_number';
|
|
21844
21891
|
export { EuiStepNumber } from '@elastic/eui/src/components/steps/step_number';
|
|
21845
21892
|
|
|
21893
|
+
}
|
|
21894
|
+
declare module '@elastic/eui/src/components/tour/_tour_header.styles' {
|
|
21895
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
21896
|
+
export const euiTourHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
21897
|
+
euiTourHeader: import("@emotion/utils").SerializedStyles;
|
|
21898
|
+
euiTourHeader__title: import("@emotion/utils").SerializedStyles;
|
|
21899
|
+
euiTourHeader__subtitle: import("@emotion/utils").SerializedStyles;
|
|
21900
|
+
};
|
|
21901
|
+
|
|
21902
|
+
}
|
|
21903
|
+
declare module '@elastic/eui/src/components/tour/_tour_header' {
|
|
21904
|
+
import { FunctionComponent } from 'react';
|
|
21905
|
+
import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourHeaderProps = {
|
|
21906
|
+
id: string;
|
|
21907
|
+
} & Pick<EuiTourStepProps, 'title' | 'subtitle'>;
|
|
21908
|
+
export const EuiTourHeader: FunctionComponent<EuiTourHeaderProps>;
|
|
21909
|
+
export {};
|
|
21910
|
+
|
|
21846
21911
|
}
|
|
21847
21912
|
declare module '@elastic/eui/src/components/tour/tour_step_indicator' {
|
|
21848
21913
|
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
@@ -21854,10 +21919,25 @@ declare module '@elastic/eui/src/components/tour/tour_step_indicator' {
|
|
|
21854
21919
|
}
|
|
21855
21920
|
export const EuiTourStepIndicator: FunctionComponent<EuiTourStepIndicatorProps>;
|
|
21856
21921
|
|
|
21922
|
+
}
|
|
21923
|
+
declare module '@elastic/eui/src/components/tour/_tour_footer.styles' {
|
|
21924
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
21925
|
+
export const _tourFooterBgColor: ({ colorMode, euiTheme }: UseEuiTheme) => string;
|
|
21926
|
+
export const euiTourFooterStyles: (euiThemeContext: UseEuiTheme) => {
|
|
21927
|
+
euiTourFooter: import("@emotion/utils").SerializedStyles;
|
|
21928
|
+
};
|
|
21929
|
+
|
|
21930
|
+
}
|
|
21931
|
+
declare module '@elastic/eui/src/components/tour/_tour_footer' {
|
|
21932
|
+
import { FunctionComponent } from 'react';
|
|
21933
|
+
import type { EuiTourStepProps } from '@elastic/eui/src/components/tour/tour_step'; type EuiTourFooterProps = Pick<EuiTourStepProps, 'footerAction' | 'step' | 'stepsTotal' | 'onFinish'>;
|
|
21934
|
+
export const EuiTourFooter: FunctionComponent<EuiTourFooterProps>;
|
|
21935
|
+
export {};
|
|
21936
|
+
|
|
21857
21937
|
}
|
|
21858
21938
|
declare module '@elastic/eui/src/components/tour/tour.styles' {
|
|
21859
21939
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
21860
|
-
export const euiTourStyles: (
|
|
21940
|
+
export const euiTourStyles: (euiThemeContext: UseEuiTheme) => {
|
|
21861
21941
|
euiTour: import("@emotion/utils").SerializedStyles;
|
|
21862
21942
|
};
|
|
21863
21943
|
export const euiTourBeaconStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
@@ -21868,21 +21948,13 @@ declare module '@elastic/eui/src/components/tour/tour.styles' {
|
|
|
21868
21948
|
top: import("@emotion/utils").SerializedStyles;
|
|
21869
21949
|
bottom: import("@emotion/utils").SerializedStyles;
|
|
21870
21950
|
};
|
|
21871
|
-
export const euiTourHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
21872
|
-
euiTourHeader: import("@emotion/utils").SerializedStyles;
|
|
21873
|
-
euiTourHeader__title: import("@emotion/utils").SerializedStyles;
|
|
21874
|
-
euiTourHeader__subtitle: import("@emotion/utils").SerializedStyles;
|
|
21875
|
-
};
|
|
21876
|
-
export const euiTourFooterStyles: ({ euiTheme, colorMode }: UseEuiTheme) => {
|
|
21877
|
-
euiTourFooter: import("@emotion/utils").SerializedStyles;
|
|
21878
|
-
};
|
|
21879
21951
|
|
|
21880
21952
|
}
|
|
21881
21953
|
declare module '@elastic/eui/src/components/tour/tour_step' {
|
|
21882
|
-
import { CSSProperties, FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
21954
|
+
import { CSSProperties, HTMLAttributes, FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
21883
21955
|
import { CommonProps, ExclusiveUnion, NoArgCallback } from '@elastic/eui/src/components/common';
|
|
21884
21956
|
import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
|
|
21885
|
-
import { ElementTarget } from '@elastic/eui/src/services'; type
|
|
21957
|
+
import { ElementTarget } from '@elastic/eui/src/services'; type _EuiPopoverProps = EuiPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'content' | 'title' | 'step'>; type _PopoverOverrides = 'button' | 'closePopover'; type _PopoverPartials = 'closePopover'; type ExtendedEuiPopoverProps = Omit<_EuiPopoverProps, _PopoverOverrides> & Partial<Pick<EuiPopoverProps, _PopoverPartials>>;
|
|
21886
21958
|
export type EuiTourStepAnchorProps = ExclusiveUnion<{
|
|
21887
21959
|
/**
|
|
21888
21960
|
* Element to which the tour step popover attaches when open
|
|
@@ -21896,7 +21968,7 @@ declare module '@elastic/eui/src/components/tour/tour_step' {
|
|
|
21896
21968
|
children?: never;
|
|
21897
21969
|
anchor: ElementTarget;
|
|
21898
21970
|
}>;
|
|
21899
|
-
export type EuiTourStepProps = CommonProps &
|
|
21971
|
+
export type EuiTourStepProps = CommonProps & ExtendedEuiPopoverProps & EuiTourStepAnchorProps & {
|
|
21900
21972
|
/**
|
|
21901
21973
|
* Contents of the tour step popover
|
|
21902
21974
|
*/
|
|
@@ -21925,10 +21997,6 @@ declare module '@elastic/eui/src/components/tour/tour_step' {
|
|
|
21925
21997
|
* The total number of steps in the tour
|
|
21926
21998
|
*/
|
|
21927
21999
|
stepsTotal: number;
|
|
21928
|
-
/**
|
|
21929
|
-
* Optional, standard DOM `style` attribute. Passed to the EuiPopover panel.
|
|
21930
|
-
*/
|
|
21931
|
-
style?: CSSProperties;
|
|
21932
22000
|
/**
|
|
21933
22001
|
* Smaller title text that appears atop each step in the tour. The subtitle gets wrapped in the appropriate heading level.
|
|
21934
22002
|
*/
|
|
@@ -22519,10 +22587,6 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
22519
22587
|
get pageSize(): number;
|
|
22520
22588
|
get isSelectionControlled(): boolean;
|
|
22521
22589
|
getInitialSelection(): void;
|
|
22522
|
-
/**
|
|
22523
|
-
* @deprecated Use `selection.selected` instead to declaratively control table selection
|
|
22524
|
-
*/
|
|
22525
|
-
setSelection(newSelection: T[]): void;
|
|
22526
22590
|
buildCriteria(props: EuiBasicTableProps<T>): Criteria<T>;
|
|
22527
22591
|
changeSelection(changedSelection: T[]): void;
|
|
22528
22592
|
clearSelection(): void;
|
|
@@ -22558,7 +22622,7 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
|
|
|
22558
22622
|
}
|
|
22559
22623
|
declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
22560
22624
|
import React, { Component, ReactNode } from 'react';
|
|
22561
|
-
import {
|
|
22625
|
+
import { Criteria, EuiBasicTableProps, CriteriaWithPagination } from '@elastic/eui/src/components/basic_table/basic_table';
|
|
22562
22626
|
import { PropertySort } from '@elastic/eui/src/services';
|
|
22563
22627
|
import { Direction } from '@elastic/eui/src/services/sort';
|
|
22564
22628
|
import { EuiSearchBarProps, Query, SchemaType } from '@elastic/eui/src/components/search_bar/search_bar';
|
|
@@ -22663,10 +22727,8 @@ declare module '@elastic/eui/src/components/basic_table/in_memory_table' {
|
|
|
22663
22727
|
tableLayout: string;
|
|
22664
22728
|
searchFormat: string;
|
|
22665
22729
|
};
|
|
22666
|
-
tableRef: React.RefObject<EuiBasicTable>;
|
|
22667
22730
|
static getDerivedStateFromProps<T extends object>(nextProps: EuiInMemoryTableProps<T>, prevState: State<T>): State<T> | null;
|
|
22668
22731
|
constructor(props: EuiInMemoryTableProps<T>, context: EuiComponentDefaults);
|
|
22669
|
-
setSelection(newSelection: T[]): void;
|
|
22670
22732
|
onTableChange: ({ page, sort }: Criteria<T>) => void;
|
|
22671
22733
|
onQueryChange: ({ query, queryText, error }: onChangeArgument) => void;
|
|
22672
22734
|
onPlainTextSearch: (searchValue: string) => void;
|
|
@@ -28515,9 +28577,6 @@ declare module '@elastic/eui' {
|
|
|
28515
28577
|
"euiComboBoxOptionsList.noAvailableOptions": any;
|
|
28516
28578
|
"euiComboBoxOptionsList.allOptionsSelected": any;
|
|
28517
28579
|
"euiComboBox.listboxAriaLabel": any;
|
|
28518
|
-
"euiContext.stories.name": any;
|
|
28519
|
-
"euiContext.stories.greeting": any;
|
|
28520
|
-
"euiContext.stories.guestNo": any;
|
|
28521
28580
|
"euiDataGridCellActions.expandButtonTitle": any;
|
|
28522
28581
|
"euiDataGridCell.position": any;
|
|
28523
28582
|
"euiDataGridCell.expansionEnterPrompt": any;
|
|
@@ -28838,13 +28897,13 @@ declare module '@elastic/eui' {
|
|
|
28838
28897
|
"euiToast.dismissToast": any;
|
|
28839
28898
|
"euiToast.newNotification": any;
|
|
28840
28899
|
"euiToast.notification": any;
|
|
28900
|
+
"euiTourFooter.endTour": any;
|
|
28901
|
+
"euiTourFooter.skipTour": any;
|
|
28902
|
+
"euiTourFooter.closeTour": any;
|
|
28841
28903
|
"euiTourStepIndicator.isActive": any;
|
|
28842
28904
|
"euiTourStepIndicator.isComplete": any;
|
|
28843
28905
|
"euiTourStepIndicator.isIncomplete": any;
|
|
28844
28906
|
"euiTourStepIndicator.ariaLabel": any;
|
|
28845
|
-
"euiTourStep.endTour": any;
|
|
28846
|
-
"euiTourStep.skipTour": any;
|
|
28847
|
-
"euiTourStep.closeTour": any;
|
|
28848
28907
|
"euiTreeView.listNavigationInstructions": any;
|
|
28849
28908
|
"euiTreeView.ariaLabel": any;
|
|
28850
28909
|
}
|