@elastic/eui 70.0.0 → 70.2.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 +11 -180
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +11 -180
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/screen_reader_only/screen_reader_only.js +1 -1
- package/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +1 -1
- package/es/components/accordion/accordion.a11y.js +35 -0
- package/es/components/badge/beta_badge/beta_badge.js +6 -6
- package/es/components/basic_table/in_memory_table.js +8 -0
- package/es/components/button/button_display/_button_display.js +7 -6
- package/es/components/button/button_display/_button_display.styles.js +4 -4
- package/es/components/button/button_display/_button_display_content.js +6 -9
- package/es/components/button/button_display/_button_display_content.styles.js +3 -41
- package/es/components/card/card.js +13 -31
- package/es/components/card/card.styles.js +15 -3
- package/es/components/card/card_select/card_select.styles.js +4 -4
- package/es/components/card/checkable_card/checkable_card.js +3 -2
- package/es/components/context_menu/context_menu_panel.a11y.js +34 -0
- package/es/components/datagrid/controls/column_selector.js +1 -1
- package/es/components/datagrid/controls/column_sorting.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar.js +6 -2
- package/es/components/datagrid/controls/index.js +1 -0
- package/es/components/datagrid/controls/keyboard_shortcuts.js +191 -0
- package/es/components/datagrid/data_grid.js +12 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +22 -4
- package/es/components/header/header_links/header_links.js +6 -0
- package/es/components/loading/loading_spinner.js +14 -3
- package/es/components/loading/loading_spinner.styles.js +11 -7
- package/es/components/modal/modal.js +17 -2
- package/es/components/page_template/page_template.js +6 -9
- package/es/components/popover/popover.js +13 -3
- package/es/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/es/components/popover/popover_panel/_popover_panel.js +8 -2
- package/es/components/popover/popover_panel/_popover_panel.styles.js +15 -1
- package/es/components/search_bar/search_bar.js +39 -5
- package/es/components/search_bar/search_box.js +37 -4
- package/es/components/selectable/selectable.a11y.js +118 -0
- package/es/components/selectable/selectable.js +9 -6
- package/es/components/tabs/tab.js +31 -7
- package/es/components/tabs/tab.styles.js +63 -0
- package/es/components/tabs/tabbed_content/tabbed_content.js +17 -1
- package/es/components/tabs/tabs.js +20 -14
- package/es/components/tabs/tabs.styles.js +21 -0
- package/es/components/tour/tour_step.js +6 -0
- package/es/services/string/to_initials.js +1 -1
- package/eui.d.ts +305 -198
- package/i18ntokens.json +442 -10
- package/lib/components/accessibility/screen_reader_only/screen_reader_only.js +1 -1
- package/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +1 -1
- package/lib/components/accordion/accordion.a11y.js +44 -0
- package/lib/components/badge/beta_badge/beta_badge.js +6 -10
- package/lib/components/basic_table/in_memory_table.js +8 -0
- package/lib/components/button/button_display/_button_display.js +7 -6
- package/lib/components/button/button_display/_button_display.styles.js +4 -4
- package/lib/components/button/button_display/_button_display_content.js +6 -9
- package/lib/components/button/button_display/_button_display_content.styles.js +10 -40
- package/lib/components/card/card.js +14 -33
- package/lib/components/card/card.styles.js +15 -3
- package/lib/components/card/card_select/card_select.styles.js +4 -4
- package/lib/components/card/checkable_card/checkable_card.js +3 -2
- package/lib/components/context_menu/context_menu_panel.a11y.js +42 -0
- package/lib/components/datagrid/controls/column_selector.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar.js +7 -2
- package/lib/components/datagrid/controls/index.js +8 -0
- package/lib/components/datagrid/controls/keyboard_shortcuts.js +208 -0
- package/lib/components/datagrid/data_grid.js +11 -1
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +22 -4
- package/lib/components/header/header_links/header_links.js +6 -0
- package/lib/components/loading/loading_spinner.js +13 -2
- package/lib/components/loading/loading_spinner.styles.js +14 -6
- package/lib/components/modal/modal.js +23 -2
- package/lib/components/page_template/page_template.js +6 -9
- package/lib/components/popover/popover.js +13 -3
- package/lib/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/lib/components/popover/popover_panel/_popover_panel.js +8 -2
- package/lib/components/popover/popover_panel/_popover_panel.styles.js +16 -1
- package/lib/components/search_bar/search_bar.js +40 -5
- package/lib/components/search_bar/search_box.js +38 -4
- package/lib/components/selectable/selectable.a11y.js +122 -0
- package/lib/components/selectable/selectable.js +9 -6
- package/lib/components/tabs/tab.js +31 -6
- package/lib/components/tabs/tab.styles.js +69 -0
- package/lib/components/tabs/tabbed_content/tabbed_content.js +17 -1
- package/lib/components/tabs/tabs.js +24 -14
- package/lib/components/tabs/tabs.styles.js +32 -0
- package/lib/services/string/to_initials.js +1 -1
- package/optimize/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +1 -1
- package/optimize/es/components/accordion/accordion.a11y.js +35 -0
- package/optimize/es/components/badge/beta_badge/beta_badge.js +6 -6
- package/optimize/es/components/button/button_display/_button_display.js +6 -5
- package/optimize/es/components/button/button_display/_button_display.styles.js +4 -4
- package/optimize/es/components/button/button_display/_button_display_content.js +6 -9
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +3 -41
- package/optimize/es/components/card/card.js +12 -30
- package/optimize/es/components/card/card.styles.js +15 -3
- package/optimize/es/components/card/card_select/card_select.styles.js +4 -4
- package/optimize/es/components/card/checkable_card/checkable_card.js +3 -2
- package/optimize/es/components/context_menu/context_menu_panel.a11y.js +34 -0
- package/optimize/es/components/datagrid/controls/column_selector.js +1 -1
- package/optimize/es/components/datagrid/controls/column_sorting.js +1 -1
- package/optimize/es/components/datagrid/controls/data_grid_toolbar.js +6 -2
- package/optimize/es/components/datagrid/controls/index.js +1 -0
- package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +181 -0
- package/optimize/es/components/datagrid/data_grid.js +6 -2
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +12 -4
- package/optimize/es/components/loading/loading_spinner.js +13 -3
- package/optimize/es/components/loading/loading_spinner.styles.js +11 -7
- package/optimize/es/components/modal/modal.js +17 -2
- package/optimize/es/components/page_template/page_template.js +6 -9
- package/optimize/es/components/popover/popover.js +7 -3
- package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/optimize/es/components/popover/popover_panel/_popover_panel.js +6 -1
- package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +15 -1
- package/optimize/es/components/search_bar/search_bar.js +31 -5
- package/optimize/es/components/search_bar/search_box.js +29 -3
- package/optimize/es/components/selectable/selectable.a11y.js +107 -0
- package/optimize/es/components/selectable/selectable.js +9 -6
- package/optimize/es/components/tabs/tab.js +19 -7
- package/optimize/es/components/tabs/tab.styles.js +63 -0
- package/optimize/es/components/tabs/tabs.js +20 -14
- package/optimize/es/components/tabs/tabs.styles.js +21 -0
- package/optimize/es/services/string/to_initials.js +1 -1
- package/optimize/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +1 -1
- package/optimize/lib/components/accordion/accordion.a11y.js +44 -0
- package/optimize/lib/components/badge/beta_badge/beta_badge.js +6 -13
- package/optimize/lib/components/button/button_display/_button_display.js +7 -6
- package/optimize/lib/components/button/button_display/_button_display.styles.js +4 -4
- package/optimize/lib/components/button/button_display/_button_display_content.js +6 -9
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +10 -40
- package/optimize/lib/components/card/card.js +13 -32
- package/optimize/lib/components/card/card.styles.js +15 -3
- package/optimize/lib/components/card/card_select/card_select.styles.js +4 -4
- package/optimize/lib/components/card/checkable_card/checkable_card.js +3 -2
- package/optimize/lib/components/context_menu/context_menu_panel.a11y.js +42 -0
- package/optimize/lib/components/datagrid/controls/column_selector.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_sorting.js +1 -1
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar.js +7 -2
- package/optimize/lib/components/datagrid/controls/index.js +8 -0
- package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +207 -0
- package/optimize/lib/components/datagrid/data_grid.js +5 -1
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +12 -4
- package/optimize/lib/components/loading/loading_spinner.js +14 -2
- package/optimize/lib/components/loading/loading_spinner.styles.js +14 -6
- package/optimize/lib/components/modal/modal.js +22 -2
- package/optimize/lib/components/page_template/page_template.js +6 -9
- package/optimize/lib/components/popover/popover.js +7 -3
- package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/optimize/lib/components/popover/popover_panel/_popover_panel.js +6 -1
- package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +16 -1
- package/optimize/lib/components/search_bar/search_bar.js +31 -5
- package/optimize/lib/components/search_bar/search_box.js +30 -3
- package/optimize/lib/components/selectable/selectable.a11y.js +122 -0
- package/optimize/lib/components/selectable/selectable.js +9 -6
- package/optimize/lib/components/tabs/tab.js +19 -6
- package/optimize/lib/components/tabs/tab.styles.js +69 -0
- package/optimize/lib/components/tabs/tabs.js +24 -14
- package/optimize/lib/components/tabs/tabs.styles.js +32 -0
- package/optimize/lib/services/string/to_initials.js +1 -1
- package/package.json +5 -4
- package/src/components/datagrid/_index.scss +1 -0
- package/src/components/datagrid/controls/_data_grid_keyboard_shortcuts.scss +17 -0
- package/src/components/datagrid/controls/_data_grid_toolbar.scss +0 -8
- package/src/components/index.scss +0 -1
- package/src/components/modal/_modal.scss +3 -1
- package/src/themes/amsterdam/overrides/_index.scss +0 -1
- package/test-env/components/accessibility/screen_reader_only/screen_reader_only.js +1 -1
- package/test-env/components/accessibility/screen_reader_only/screen_reader_only.styles.js +1 -1
- package/test-env/components/accordion/accordion.a11y.js +44 -0
- package/test-env/components/badge/beta_badge/beta_badge.js +6 -13
- package/test-env/components/basic_table/in_memory_table.js +8 -0
- package/test-env/components/button/button_display/_button_display.js +7 -6
- package/test-env/components/button/button_display/_button_display.styles.js +4 -4
- package/test-env/components/button/button_display/_button_display_content.js +6 -9
- package/test-env/components/button/button_display/_button_display_content.styles.js +10 -40
- package/test-env/components/card/card.js +14 -33
- package/test-env/components/card/card.styles.js +15 -3
- package/test-env/components/card/card_select/card_select.styles.js +4 -4
- package/test-env/components/card/checkable_card/checkable_card.js +3 -2
- package/test-env/components/context_menu/context_menu_panel.a11y.js +42 -0
- package/test-env/components/datagrid/controls/column_selector.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar.js +7 -2
- package/test-env/components/datagrid/controls/index.js +8 -0
- package/test-env/components/datagrid/controls/keyboard_shortcuts.js +207 -0
- package/test-env/components/datagrid/data_grid.js +11 -1
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +22 -4
- package/test-env/components/header/header_links/header_links.js +6 -0
- package/test-env/components/loading/loading_spinner.js +14 -2
- package/test-env/components/loading/loading_spinner.styles.js +14 -6
- package/test-env/components/modal/modal.js +22 -2
- package/test-env/components/page_template/page_template.js +6 -9
- package/test-env/components/popover/popover.js +13 -3
- package/test-env/components/popover/popover_arrow/_popover_arrow.js +1 -0
- package/test-env/components/popover/popover_panel/_popover_panel.js +8 -2
- package/test-env/components/popover/popover_panel/_popover_panel.styles.js +16 -1
- package/test-env/components/search_bar/search_bar.js +39 -5
- package/test-env/components/search_bar/search_box.js +38 -4
- package/test-env/components/selectable/selectable.a11y.js +122 -0
- package/test-env/components/selectable/selectable.js +9 -6
- package/test-env/components/tabs/tab.js +31 -6
- package/test-env/components/tabs/tab.styles.js +69 -0
- package/test-env/components/tabs/tabbed_content/tabbed_content.js +17 -1
- package/test-env/components/tabs/tabs.js +24 -14
- package/test-env/components/tabs/tabs.styles.js +32 -0
- package/test-env/services/string/to_initials.js +1 -1
- package/src/components/tabs/_index.scss +0 -1
- package/src/components/tabs/_tabs.scss +0 -110
- package/src/themes/amsterdam/overrides/_tabs.scss +0 -80
package/eui.d.ts
CHANGED
|
@@ -1711,8 +1711,9 @@ declare module '@elastic/eui/src/components/loading/loading_content' {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
declare module '@elastic/eui/src/components/loading/loading_spinner.styles' {
|
|
1713
1713
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
1714
|
-
import {
|
|
1715
|
-
export const
|
|
1714
|
+
import { EuiLoadingSpinnerColor } from '@elastic/eui/src/components/loading/loading_spinner';
|
|
1715
|
+
export const euiSpinnerBorderColorsCSS: ({ euiTheme }: UseEuiTheme, colors?: EuiLoadingSpinnerColor) => string;
|
|
1716
|
+
export const euiLoadingSpinnerStyles: (euiThemeContext: UseEuiTheme) => {
|
|
1716
1717
|
euiLoadingSpinner: import("@emotion/utils").SerializedStyles;
|
|
1717
1718
|
s: import("@emotion/utils").SerializedStyles;
|
|
1718
1719
|
m: import("@emotion/utils").SerializedStyles;
|
|
@@ -1910,12 +1911,6 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
|
|
|
1910
1911
|
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
1911
1912
|
export const euiButtonDisplayContentStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
1912
1913
|
euiButtonDisplayContent: import("@emotion/utils").SerializedStyles;
|
|
1913
|
-
left: import("@emotion/utils").SerializedStyles;
|
|
1914
|
-
right: import("@emotion/utils").SerializedStyles;
|
|
1915
|
-
euiButtonDisplayContent__spinner: import("@emotion/utils").SerializedStyles;
|
|
1916
|
-
euiButtonDisplayContent__icon: import("@emotion/utils").SerializedStyles;
|
|
1917
|
-
s: import("@emotion/utils").SerializedStyles;
|
|
1918
|
-
m: import("@emotion/utils").SerializedStyles;
|
|
1919
1914
|
};
|
|
1920
1915
|
|
|
1921
1916
|
}
|
|
@@ -4504,6 +4499,13 @@ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel
|
|
|
4504
4499
|
left: import("@emotion/utils").SerializedStyles;
|
|
4505
4500
|
right: import("@emotion/utils").SerializedStyles;
|
|
4506
4501
|
};
|
|
4502
|
+
hasDragDrop: {
|
|
4503
|
+
hasDragDrop: import("@emotion/utils").SerializedStyles;
|
|
4504
|
+
top: import("@emotion/utils").SerializedStyles;
|
|
4505
|
+
bottom: import("@emotion/utils").SerializedStyles;
|
|
4506
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
4507
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
4508
|
+
};
|
|
4507
4509
|
};
|
|
4508
4510
|
|
|
4509
4511
|
}
|
|
@@ -4520,6 +4522,7 @@ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel
|
|
|
4520
4522
|
isOpen?: boolean;
|
|
4521
4523
|
isAttached?: boolean;
|
|
4522
4524
|
position?: EuiPopoverArrowPositions | null;
|
|
4525
|
+
hasDragDrop?: boolean;
|
|
4523
4526
|
};
|
|
4524
4527
|
/**
|
|
4525
4528
|
* *INTERNAL ONLY*
|
|
@@ -4640,6 +4643,11 @@ declare module '@elastic/eui/src/components/popover/popover' {
|
|
|
4640
4643
|
* an `EuiPopover` in a scrollable container, `repositionOnScroll` should be `true`
|
|
4641
4644
|
*/
|
|
4642
4645
|
repositionOnScroll?: boolean;
|
|
4646
|
+
/**
|
|
4647
|
+
* Must be set to true if using `EuiDragDropContext` within a popover,
|
|
4648
|
+
* otherwise your nested drag & drop will have incorrect positioning
|
|
4649
|
+
*/
|
|
4650
|
+
hasDragDrop?: boolean;
|
|
4643
4651
|
/**
|
|
4644
4652
|
* By default, popover content inherits the z-index of the anchor
|
|
4645
4653
|
* component; pass `zIndex` to override
|
|
@@ -7583,7 +7591,7 @@ declare module '@elastic/eui/src/components/accessibility/screen_reader_only/scr
|
|
|
7583
7591
|
*/
|
|
7584
7592
|
children: ReactElement;
|
|
7585
7593
|
/**
|
|
7586
|
-
* For keyboard navigation, force content to display visually upon focus.
|
|
7594
|
+
* For keyboard navigation, force content to display visually upon focus/focus-within.
|
|
7587
7595
|
*/
|
|
7588
7596
|
showOnFocus?: boolean;
|
|
7589
7597
|
className?: string;
|
|
@@ -8546,11 +8554,14 @@ declare module '@elastic/eui/src/components/card/card.styles' {
|
|
|
8546
8554
|
left: import("@emotion/utils").SerializedStyles;
|
|
8547
8555
|
right: import("@emotion/utils").SerializedStyles;
|
|
8548
8556
|
};
|
|
8557
|
+
disabled: import("@emotion/utils").SerializedStyles;
|
|
8558
|
+
};
|
|
8559
|
+
main: {
|
|
8560
|
+
euiCard__main: import("@emotion/utils").SerializedStyles;
|
|
8549
8561
|
layout: {
|
|
8550
8562
|
vertical: import("@emotion/utils").SerializedStyles;
|
|
8551
8563
|
horizontal: import("@emotion/utils").SerializedStyles;
|
|
8552
8564
|
};
|
|
8553
|
-
disabled: import("@emotion/utils").SerializedStyles;
|
|
8554
8565
|
};
|
|
8555
8566
|
content: {
|
|
8556
8567
|
euiCard__content: import("@emotion/utils").SerializedStyles;
|
|
@@ -8606,9 +8617,8 @@ declare module '@elastic/eui/src/components/card/card' {
|
|
|
8606
8617
|
import { EuiBetaBadgeProps } from '@elastic/eui/src/components/badge/beta_badge';
|
|
8607
8618
|
import { EuiIconProps } from '@elastic/eui/src/components/icon';
|
|
8608
8619
|
import { EuiCardSelectProps } from '@elastic/eui/src/components/card/card_select';
|
|
8609
|
-
import { EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
8610
|
-
export const ALIGNMENTS:
|
|
8611
|
-
export const LAYOUT_ALIGNMENTS: CardLayout[]; type EuiCardPropsLayout = ExclusiveUnion<{
|
|
8620
|
+
import { EuiPanelProps } from '@elastic/eui/src/components/panel';
|
|
8621
|
+
export const ALIGNMENTS: readonly ["left", "center", "right"]; type CardAlignment = typeof ALIGNMENTS[number]; type EuiCardPropsLayout = ExclusiveUnion<{
|
|
8612
8622
|
layout?: 'vertical';
|
|
8613
8623
|
/**
|
|
8614
8624
|
* Changes alignment of the title and description
|
|
@@ -11102,6 +11112,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11102
11112
|
toolbarVisibility: boolean | EuiDataGridToolBarVisibilityOptions;
|
|
11103
11113
|
isFullScreen: boolean;
|
|
11104
11114
|
fullScreenSelector: ReactNode;
|
|
11115
|
+
keyboardShortcuts: ReactNode;
|
|
11105
11116
|
displaySelector: ReactNode;
|
|
11106
11117
|
columnSelector: ReactNode;
|
|
11107
11118
|
columnSorting: ReactNode;
|
|
@@ -11766,6 +11777,11 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11766
11777
|
* Allows the ability for the user to sort rows based upon column values
|
|
11767
11778
|
*/
|
|
11768
11779
|
showSortSelector?: boolean;
|
|
11780
|
+
/**
|
|
11781
|
+
* Displays a popover listing all keyboard controls and shortcuts for the data grid.
|
|
11782
|
+
* If set to `false`, the toggle will be visually hidden, but still focusable by keyboard and screen reader users.
|
|
11783
|
+
*/
|
|
11784
|
+
showKeyboardShortcuts?: boolean;
|
|
11769
11785
|
/**
|
|
11770
11786
|
* Allows user to be able to fullscreen the data grid. If set to `false` make sure your grid fits within a large enough panel to still show the other controls.
|
|
11771
11787
|
*/
|
|
@@ -12437,7 +12453,7 @@ declare module '@elastic/eui/src/components/datagrid/body' {
|
|
|
12437
12453
|
declare module '@elastic/eui/src/components/datagrid/controls/data_grid_toolbar' {
|
|
12438
12454
|
|
|
12439
12455
|
import { EuiDataGridProps, EuiDataGridToolbarProps, EuiDataGridToolBarVisibilityOptions } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12440
|
-
export const EuiDataGridToolbar: ({ gridWidth, minSizeForControls, toolbarVisibility, isFullScreen, fullScreenSelector, displaySelector, columnSelector, columnSorting, }: EuiDataGridToolbarProps) => JSX.Element;
|
|
12456
|
+
export const EuiDataGridToolbar: ({ gridWidth, minSizeForControls, toolbarVisibility, isFullScreen, fullScreenSelector, keyboardShortcuts, displaySelector, columnSelector, columnSorting, }: EuiDataGridToolbarProps) => JSX.Element;
|
|
12441
12457
|
export function checkOrDefaultToolBarDisplayOptions<OptionKey extends keyof EuiDataGridToolBarVisibilityOptions>(arg: EuiDataGridProps['toolbarVisibility'], option: OptionKey): Required<EuiDataGridToolBarVisibilityOptions>[OptionKey];
|
|
12442
12458
|
export function renderAdditionalControls(toolbarVisibility: EuiDataGridProps['toolbarVisibility'], position: 'left.prepend' | 'left.append' | 'right'): {} | null;
|
|
12443
12459
|
/**
|
|
@@ -12469,6 +12485,160 @@ declare module '@elastic/eui/src/components/datagrid/controls/display_selector'
|
|
|
12469
12485
|
export const startingStyles: EuiDataGridStyle;
|
|
12470
12486
|
export const useDataGridDisplaySelector: (showDisplaySelector: EuiDataGridToolBarVisibilityOptions['showDisplaySelector'], initialStyles: EuiDataGridStyle, initialRowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined) => [ReactNode, EuiDataGridStyle, EuiDataGridRowHeightsOptions];
|
|
12471
12487
|
|
|
12488
|
+
}
|
|
12489
|
+
declare module '@elastic/eui/src/components/description_list/description_list_types' {
|
|
12490
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
12491
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12492
|
+
export interface EuiDescriptionListProps {
|
|
12493
|
+
listItems?: Array<{
|
|
12494
|
+
title: NonNullable<ReactNode>;
|
|
12495
|
+
description: NonNullable<ReactNode>;
|
|
12496
|
+
}>;
|
|
12497
|
+
/**
|
|
12498
|
+
* Text alignment
|
|
12499
|
+
*/
|
|
12500
|
+
align?: EuiDescriptionListAlignment;
|
|
12501
|
+
/**
|
|
12502
|
+
* Smaller text and condensed spacing
|
|
12503
|
+
*/
|
|
12504
|
+
compressed?: boolean;
|
|
12505
|
+
/**
|
|
12506
|
+
* How should the content be styled, by default
|
|
12507
|
+
* this will emphasize the title
|
|
12508
|
+
*/
|
|
12509
|
+
textStyle?: 'normal' | 'reverse';
|
|
12510
|
+
/**
|
|
12511
|
+
* How each item should be laid out
|
|
12512
|
+
*/
|
|
12513
|
+
type?: EuiDescriptionListType;
|
|
12514
|
+
/**
|
|
12515
|
+
* Props object to be passed to `EuiDescriptionListTitle`
|
|
12516
|
+
*/
|
|
12517
|
+
titleProps?: HTMLAttributes<HTMLElement> & CommonProps;
|
|
12518
|
+
/**
|
|
12519
|
+
* Props object to be passed to `EuiDescriptionListDescription`
|
|
12520
|
+
*/
|
|
12521
|
+
descriptionProps?: HTMLAttributes<HTMLElement> & CommonProps;
|
|
12522
|
+
/**
|
|
12523
|
+
* Vertical spacing added between `EuiDescriptionList` elements
|
|
12524
|
+
*/
|
|
12525
|
+
gutterSize?: EuiDescriptionListGutterSizes;
|
|
12526
|
+
}
|
|
12527
|
+
export const TYPES: readonly ["row", "inline", "column", "responsiveColumn"];
|
|
12528
|
+
export type EuiDescriptionListType = typeof TYPES[number];
|
|
12529
|
+
export const ALIGNMENTS: readonly ["center", "left"];
|
|
12530
|
+
export type EuiDescriptionListAlignment = typeof ALIGNMENTS[number];
|
|
12531
|
+
export const TEXT_STYLES: readonly ["normal", "reverse"];
|
|
12532
|
+
export type EuiDescriptionListTextStyle = typeof TEXT_STYLES[number];
|
|
12533
|
+
export const GUTTER_SIZES: readonly ["s", "m"];
|
|
12534
|
+
export type EuiDescriptionListGutterSizes = typeof GUTTER_SIZES[number];
|
|
12535
|
+
|
|
12536
|
+
}
|
|
12537
|
+
declare module '@elastic/eui/src/components/description_list/description_list_title.styles' {
|
|
12538
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12539
|
+
export const euiDescriptionListTitleStyles: (euiThemeContext: UseEuiTheme) => {
|
|
12540
|
+
euiDescriptionList__title: import("@emotion/utils").SerializedStyles;
|
|
12541
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
12542
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
12543
|
+
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
12544
|
+
inline: import("@emotion/utils").SerializedStyles;
|
|
12545
|
+
fontStyles: {
|
|
12546
|
+
normal: import("@emotion/utils").SerializedStyles;
|
|
12547
|
+
reverse: import("@emotion/utils").SerializedStyles;
|
|
12548
|
+
compressed: import("@emotion/utils").SerializedStyles;
|
|
12549
|
+
};
|
|
12550
|
+
inlineStyles: {
|
|
12551
|
+
normal: import("@emotion/utils").SerializedStyles;
|
|
12552
|
+
compressed: import("@emotion/utils").SerializedStyles;
|
|
12553
|
+
};
|
|
12554
|
+
right: import("@emotion/utils").SerializedStyles;
|
|
12555
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
12556
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
12557
|
+
};
|
|
12558
|
+
|
|
12559
|
+
}
|
|
12560
|
+
declare module '@elastic/eui/src/components/description_list/description_list_context' {
|
|
12561
|
+
|
|
12562
|
+
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align' | 'gutterSize'>> & {
|
|
12563
|
+
compressed?: EuiDescriptionListProps['compressed'];
|
|
12564
|
+
};
|
|
12565
|
+
export const contextDefaults: EuiDescriptionListContextValues;
|
|
12566
|
+
export const EuiDescriptionListContext: import("react").Context<EuiDescriptionListContextValues>;
|
|
12567
|
+
export {};
|
|
12568
|
+
|
|
12569
|
+
}
|
|
12570
|
+
declare module '@elastic/eui/src/components/description_list/description_list_title' {
|
|
12571
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
12572
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12573
|
+
export interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
12574
|
+
}
|
|
12575
|
+
export const EuiDescriptionListTitle: FunctionComponent<EuiDescriptionListTitleProps>;
|
|
12576
|
+
|
|
12577
|
+
}
|
|
12578
|
+
declare module '@elastic/eui/src/components/description_list/description_list_description.styles' {
|
|
12579
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12580
|
+
export const euiDescriptionListDescriptionStyles: (euiThemeContext: UseEuiTheme) => {
|
|
12581
|
+
euiDescriptionList__description: import("@emotion/utils").SerializedStyles;
|
|
12582
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
12583
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
12584
|
+
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
12585
|
+
inline: import("@emotion/utils").SerializedStyles;
|
|
12586
|
+
fontStyles: {
|
|
12587
|
+
normal: import("@emotion/utils").SerializedStyles;
|
|
12588
|
+
reverse: import("@emotion/utils").SerializedStyles;
|
|
12589
|
+
compressed: import("@emotion/utils").SerializedStyles;
|
|
12590
|
+
};
|
|
12591
|
+
inlineStyles: {
|
|
12592
|
+
compressed: import("@emotion/utils").SerializedStyles;
|
|
12593
|
+
normal: import("@emotion/utils").SerializedStyles;
|
|
12594
|
+
};
|
|
12595
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
12596
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
12597
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
12598
|
+
};
|
|
12599
|
+
|
|
12600
|
+
}
|
|
12601
|
+
declare module '@elastic/eui/src/components/description_list/description_list_description' {
|
|
12602
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
12603
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12604
|
+
export interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
12605
|
+
}
|
|
12606
|
+
export const EuiDescriptionListDescription: FunctionComponent<EuiDescriptionListDescriptionProps>;
|
|
12607
|
+
|
|
12608
|
+
}
|
|
12609
|
+
declare module '@elastic/eui/src/components/description_list/description_list.styles' {
|
|
12610
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
12611
|
+
export const euiDescriptionListStyles: (euiThemeContext: UseEuiTheme) => {
|
|
12612
|
+
euiDescriptionList: import("@emotion/utils").SerializedStyles;
|
|
12613
|
+
row: import("@emotion/utils").SerializedStyles;
|
|
12614
|
+
inline: import("@emotion/utils").SerializedStyles;
|
|
12615
|
+
column: import("@emotion/utils").SerializedStyles;
|
|
12616
|
+
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
12617
|
+
center: import("@emotion/utils").SerializedStyles;
|
|
12618
|
+
left: import("@emotion/utils").SerializedStyles;
|
|
12619
|
+
};
|
|
12620
|
+
|
|
12621
|
+
}
|
|
12622
|
+
declare module '@elastic/eui/src/components/description_list/description_list' {
|
|
12623
|
+
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
12624
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
12625
|
+
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types';
|
|
12626
|
+
export const EuiDescriptionList: FunctionComponent<CommonProps & HTMLAttributes<HTMLDListElement> & EuiDescriptionListProps>;
|
|
12627
|
+
|
|
12628
|
+
}
|
|
12629
|
+
declare module '@elastic/eui/src/components/description_list' {
|
|
12630
|
+
export type { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types';
|
|
12631
|
+
export { EuiDescriptionList } from '@elastic/eui/src/components/description_list/description_list';
|
|
12632
|
+
export { EuiDescriptionListTitle } from '@elastic/eui/src/components/description_list/description_list_title';
|
|
12633
|
+
export { EuiDescriptionListDescription } from '@elastic/eui/src/components/description_list/description_list_description';
|
|
12634
|
+
|
|
12635
|
+
}
|
|
12636
|
+
declare module '@elastic/eui/src/components/datagrid/controls/keyboard_shortcuts' {
|
|
12637
|
+
import { ReactNode } from 'react';
|
|
12638
|
+
export const useDataGridKeyboardShortcuts: () => {
|
|
12639
|
+
keyboardShortcuts: ReactNode;
|
|
12640
|
+
};
|
|
12641
|
+
|
|
12472
12642
|
}
|
|
12473
12643
|
declare module '@elastic/eui/src/components/datagrid/controls/fullscreen_selector' {
|
|
12474
12644
|
import { ReactNode, KeyboardEventHandler } from 'react';
|
|
@@ -12484,6 +12654,7 @@ declare module '@elastic/eui/src/components/datagrid/controls' {
|
|
|
12484
12654
|
export { useDataGridColumnSelector } from '@elastic/eui/src/components/datagrid/controls/column_selector';
|
|
12485
12655
|
export { useDataGridColumnSorting } from '@elastic/eui/src/components/datagrid/controls/column_sorting';
|
|
12486
12656
|
export { useDataGridDisplaySelector, startingStyles } from '@elastic/eui/src/components/datagrid/controls/display_selector';
|
|
12657
|
+
export { useDataGridKeyboardShortcuts } from '@elastic/eui/src/components/datagrid/controls/keyboard_shortcuts';
|
|
12487
12658
|
export { useDataGridFullScreenSelector } from '@elastic/eui/src/components/datagrid/controls/fullscreen_selector';
|
|
12488
12659
|
export { checkOrDefaultToolBarDisplayOptions, EuiDataGridToolbar, } from '@elastic/eui/src/components/datagrid/controls/data_grid_toolbar';
|
|
12489
12660
|
|
|
@@ -12993,43 +13164,45 @@ declare module '@elastic/eui/src/components/date_picker/date_picker' {
|
|
|
12993
13164
|
export {};
|
|
12994
13165
|
|
|
12995
13166
|
}
|
|
12996
|
-
declare module '@elastic/eui/src/components/tabs/tab' {
|
|
12997
|
-
import {
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
};
|
|
13016
|
-
|
|
13167
|
+
declare module '@elastic/eui/src/components/tabs/tab.styles' {
|
|
13168
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13169
|
+
export const euiTabStyles: ({ euiTheme }: UseEuiTheme) => {
|
|
13170
|
+
euiTab: import("@emotion/utils").SerializedStyles;
|
|
13171
|
+
expanded: import("@emotion/utils").SerializedStyles;
|
|
13172
|
+
selected: import("@emotion/utils").SerializedStyles;
|
|
13173
|
+
disabled: {
|
|
13174
|
+
disabled: import("@emotion/utils").SerializedStyles;
|
|
13175
|
+
selected: import("@emotion/utils").SerializedStyles;
|
|
13176
|
+
};
|
|
13177
|
+
};
|
|
13178
|
+
export const euiTabContentStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13179
|
+
euiTab__content: import("@emotion/utils").SerializedStyles;
|
|
13180
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13181
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13182
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13183
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13184
|
+
selected: import("@emotion/utils").SerializedStyles;
|
|
13185
|
+
disabled: import("@emotion/utils").SerializedStyles;
|
|
13186
|
+
};
|
|
13187
|
+
|
|
13188
|
+
}
|
|
13189
|
+
declare module '@elastic/eui/src/components/tabs/tabs.styles' {
|
|
13190
|
+
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
13191
|
+
export const euiTabsStyles: (euiThemeContext: UseEuiTheme) => {
|
|
13192
|
+
euiTabs: import("@emotion/utils").SerializedStyles;
|
|
13193
|
+
bottomBorder: import("@emotion/utils").SerializedStyles;
|
|
13194
|
+
s: import("@emotion/utils").SerializedStyles;
|
|
13195
|
+
m: import("@emotion/utils").SerializedStyles;
|
|
13196
|
+
l: import("@emotion/utils").SerializedStyles;
|
|
13197
|
+
xl: import("@emotion/utils").SerializedStyles;
|
|
13017
13198
|
};
|
|
13018
|
-
export type Props = ExclusiveUnion<EuiTabPropsForAnchor, EuiTabPropsForButton>;
|
|
13019
|
-
export const EuiTab: FunctionComponent<Props>;
|
|
13020
|
-
export {};
|
|
13021
13199
|
|
|
13022
13200
|
}
|
|
13023
13201
|
declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
13024
13202
|
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
13025
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
l: string;
|
|
13029
|
-
xl: string;
|
|
13030
|
-
};
|
|
13031
|
-
export const SIZES: ("s" | "m" | "l" | "xl")[];
|
|
13032
|
-
export type EuiTabsSizes = keyof typeof sizeToClassNameMap;
|
|
13203
|
+
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13204
|
+
export const SIZES: readonly ["s", "m", "l", "xl"];
|
|
13205
|
+
export type EuiTabsSizes = typeof SIZES[number];
|
|
13033
13206
|
export type EuiTabsProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
13034
13207
|
/**
|
|
13035
13208
|
* ReactNode to render as this component's content
|
|
@@ -13073,6 +13246,43 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
13073
13246
|
} & {
|
|
13074
13247
|
children?: React.ReactNode;
|
|
13075
13248
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
13249
|
+
|
|
13250
|
+
}
|
|
13251
|
+
declare module '@elastic/eui/src/components/tabs/tab' {
|
|
13252
|
+
import { MouseEventHandler, AnchorHTMLAttributes, ButtonHTMLAttributes, FunctionComponent, ReactNode } from 'react';
|
|
13253
|
+
import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
|
|
13254
|
+
import { EuiTabsProps, EuiTabsSizes } from '@elastic/eui/src/components/tabs/tabs';
|
|
13255
|
+
export interface EuiTabProps extends CommonProps {
|
|
13256
|
+
isSelected?: boolean;
|
|
13257
|
+
disabled?: boolean;
|
|
13258
|
+
/**
|
|
13259
|
+
* Places content before the tab content/children.
|
|
13260
|
+
* Will be excluded from interactive effects.
|
|
13261
|
+
*/
|
|
13262
|
+
prepend?: ReactNode;
|
|
13263
|
+
/**
|
|
13264
|
+
* Places content after the tab content/children.
|
|
13265
|
+
* Will be excluded from interactive effects.
|
|
13266
|
+
*/
|
|
13267
|
+
append?: ReactNode;
|
|
13268
|
+
/**
|
|
13269
|
+
* Evenly stretches each tab to fill the
|
|
13270
|
+
* horizontal space
|
|
13271
|
+
*/
|
|
13272
|
+
expand?: EuiTabsProps['expand'];
|
|
13273
|
+
/**
|
|
13274
|
+
* Sizes affect both font size and overall size.
|
|
13275
|
+
* Only use the `xl` size when displayed as page titles.
|
|
13276
|
+
*/
|
|
13277
|
+
size?: EuiTabsSizes;
|
|
13278
|
+
} type EuiTabPropsForAnchor = EuiTabProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick' | 'href'> & {
|
|
13279
|
+
href?: string;
|
|
13280
|
+
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
13281
|
+
}; type EuiTabPropsForButton = EuiTabProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> & {
|
|
13282
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
13283
|
+
};
|
|
13284
|
+
export type Props = ExclusiveUnion<EuiTabPropsForAnchor, EuiTabPropsForButton>;
|
|
13285
|
+
export const EuiTab: FunctionComponent<Props>;
|
|
13076
13286
|
export {};
|
|
13077
13287
|
|
|
13078
13288
|
}
|
|
@@ -13740,7 +13950,7 @@ declare module '@elastic/eui/src/components/date_picker/auto_refresh/auto_refres
|
|
|
13740
13950
|
|
|
13741
13951
|
}
|
|
13742
13952
|
declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_date_picker' {
|
|
13743
|
-
import { Component, FunctionComponent } from 'react';
|
|
13953
|
+
import { Component, FocusEventHandler, FunctionComponent } from 'react';
|
|
13744
13954
|
import { LocaleSpecifier } from 'moment';
|
|
13745
13955
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13746
13956
|
import { ShortDate, Milliseconds, DurationRange, ApplyTime, ApplyRefreshInterval, QuickSelectPanel } from '@elastic/eui/src/components/date_picker/types';
|
|
@@ -13784,6 +13994,10 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
|
|
|
13784
13994
|
* Used to localize e.g. month names, passed to `moment`
|
|
13785
13995
|
*/
|
|
13786
13996
|
locale?: LocaleSpecifier;
|
|
13997
|
+
/**
|
|
13998
|
+
* Triggered whenever the EuiSuperDatePicker's dates are focused
|
|
13999
|
+
*/
|
|
14000
|
+
onFocus?: FocusEventHandler;
|
|
13787
14001
|
/**
|
|
13788
14002
|
* Callback for when the refresh interval is fired.
|
|
13789
14003
|
* EuiSuperDatePicker will only manage a refresh interval timer when onRefresh callback is supplied
|
|
@@ -14000,153 +14214,6 @@ declare module '@elastic/eui/src/components/delay_render' {
|
|
|
14000
14214
|
export type { EuiDelayRenderProps } from '@elastic/eui/src/components/delay_render/delay_render';
|
|
14001
14215
|
export { EuiDelayRender } from '@elastic/eui/src/components/delay_render/delay_render';
|
|
14002
14216
|
|
|
14003
|
-
}
|
|
14004
|
-
declare module '@elastic/eui/src/components/description_list/description_list_types' {
|
|
14005
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
14006
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14007
|
-
export interface EuiDescriptionListProps {
|
|
14008
|
-
listItems?: Array<{
|
|
14009
|
-
title: NonNullable<ReactNode>;
|
|
14010
|
-
description: NonNullable<ReactNode>;
|
|
14011
|
-
}>;
|
|
14012
|
-
/**
|
|
14013
|
-
* Text alignment
|
|
14014
|
-
*/
|
|
14015
|
-
align?: EuiDescriptionListAlignment;
|
|
14016
|
-
/**
|
|
14017
|
-
* Smaller text and condensed spacing
|
|
14018
|
-
*/
|
|
14019
|
-
compressed?: boolean;
|
|
14020
|
-
/**
|
|
14021
|
-
* How should the content be styled, by default
|
|
14022
|
-
* this will emphasize the title
|
|
14023
|
-
*/
|
|
14024
|
-
textStyle?: 'normal' | 'reverse';
|
|
14025
|
-
/**
|
|
14026
|
-
* How each item should be laid out
|
|
14027
|
-
*/
|
|
14028
|
-
type?: EuiDescriptionListType;
|
|
14029
|
-
/**
|
|
14030
|
-
* Props object to be passed to `EuiDescriptionListTitle`
|
|
14031
|
-
*/
|
|
14032
|
-
titleProps?: HTMLAttributes<HTMLElement> & CommonProps;
|
|
14033
|
-
/**
|
|
14034
|
-
* Props object to be passed to `EuiDescriptionListDescription`
|
|
14035
|
-
*/
|
|
14036
|
-
descriptionProps?: HTMLAttributes<HTMLElement> & CommonProps;
|
|
14037
|
-
/**
|
|
14038
|
-
* Vertical spacing added between `EuiDescriptionList` elements
|
|
14039
|
-
*/
|
|
14040
|
-
gutterSize?: EuiDescriptionListGutterSizes;
|
|
14041
|
-
}
|
|
14042
|
-
export const TYPES: readonly ["row", "inline", "column", "responsiveColumn"];
|
|
14043
|
-
export type EuiDescriptionListType = typeof TYPES[number];
|
|
14044
|
-
export const ALIGNMENTS: readonly ["center", "left"];
|
|
14045
|
-
export type EuiDescriptionListAlignment = typeof ALIGNMENTS[number];
|
|
14046
|
-
export const TEXT_STYLES: readonly ["normal", "reverse"];
|
|
14047
|
-
export type EuiDescriptionListTextStyle = typeof TEXT_STYLES[number];
|
|
14048
|
-
export const GUTTER_SIZES: readonly ["s", "m"];
|
|
14049
|
-
export type EuiDescriptionListGutterSizes = typeof GUTTER_SIZES[number];
|
|
14050
|
-
|
|
14051
|
-
}
|
|
14052
|
-
declare module '@elastic/eui/src/components/description_list/description_list_title.styles' {
|
|
14053
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
14054
|
-
export const euiDescriptionListTitleStyles: (euiThemeContext: UseEuiTheme) => {
|
|
14055
|
-
euiDescriptionList__title: import("@emotion/utils").SerializedStyles;
|
|
14056
|
-
row: import("@emotion/utils").SerializedStyles;
|
|
14057
|
-
column: import("@emotion/utils").SerializedStyles;
|
|
14058
|
-
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
14059
|
-
inline: import("@emotion/utils").SerializedStyles;
|
|
14060
|
-
fontStyles: {
|
|
14061
|
-
normal: import("@emotion/utils").SerializedStyles;
|
|
14062
|
-
reverse: import("@emotion/utils").SerializedStyles;
|
|
14063
|
-
compressed: import("@emotion/utils").SerializedStyles;
|
|
14064
|
-
};
|
|
14065
|
-
inlineStyles: {
|
|
14066
|
-
normal: import("@emotion/utils").SerializedStyles;
|
|
14067
|
-
compressed: import("@emotion/utils").SerializedStyles;
|
|
14068
|
-
};
|
|
14069
|
-
right: import("@emotion/utils").SerializedStyles;
|
|
14070
|
-
s: import("@emotion/utils").SerializedStyles;
|
|
14071
|
-
m: import("@emotion/utils").SerializedStyles;
|
|
14072
|
-
};
|
|
14073
|
-
|
|
14074
|
-
}
|
|
14075
|
-
declare module '@elastic/eui/src/components/description_list/description_list_context' {
|
|
14076
|
-
|
|
14077
|
-
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align' | 'gutterSize'>> & {
|
|
14078
|
-
compressed?: EuiDescriptionListProps['compressed'];
|
|
14079
|
-
};
|
|
14080
|
-
export const contextDefaults: EuiDescriptionListContextValues;
|
|
14081
|
-
export const EuiDescriptionListContext: import("react").Context<EuiDescriptionListContextValues>;
|
|
14082
|
-
export {};
|
|
14083
|
-
|
|
14084
|
-
}
|
|
14085
|
-
declare module '@elastic/eui/src/components/description_list/description_list_title' {
|
|
14086
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
14087
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14088
|
-
export interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
14089
|
-
}
|
|
14090
|
-
export const EuiDescriptionListTitle: FunctionComponent<EuiDescriptionListTitleProps>;
|
|
14091
|
-
|
|
14092
|
-
}
|
|
14093
|
-
declare module '@elastic/eui/src/components/description_list/description_list_description.styles' {
|
|
14094
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
14095
|
-
export const euiDescriptionListDescriptionStyles: (euiThemeContext: UseEuiTheme) => {
|
|
14096
|
-
euiDescriptionList__description: import("@emotion/utils").SerializedStyles;
|
|
14097
|
-
row: import("@emotion/utils").SerializedStyles;
|
|
14098
|
-
column: import("@emotion/utils").SerializedStyles;
|
|
14099
|
-
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
14100
|
-
inline: import("@emotion/utils").SerializedStyles;
|
|
14101
|
-
fontStyles: {
|
|
14102
|
-
normal: import("@emotion/utils").SerializedStyles;
|
|
14103
|
-
reverse: import("@emotion/utils").SerializedStyles;
|
|
14104
|
-
compressed: import("@emotion/utils").SerializedStyles;
|
|
14105
|
-
};
|
|
14106
|
-
inlineStyles: {
|
|
14107
|
-
compressed: import("@emotion/utils").SerializedStyles;
|
|
14108
|
-
normal: import("@emotion/utils").SerializedStyles;
|
|
14109
|
-
};
|
|
14110
|
-
left: import("@emotion/utils").SerializedStyles;
|
|
14111
|
-
s: import("@emotion/utils").SerializedStyles;
|
|
14112
|
-
m: import("@emotion/utils").SerializedStyles;
|
|
14113
|
-
};
|
|
14114
|
-
|
|
14115
|
-
}
|
|
14116
|
-
declare module '@elastic/eui/src/components/description_list/description_list_description' {
|
|
14117
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
14118
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14119
|
-
export interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
14120
|
-
}
|
|
14121
|
-
export const EuiDescriptionListDescription: FunctionComponent<EuiDescriptionListDescriptionProps>;
|
|
14122
|
-
|
|
14123
|
-
}
|
|
14124
|
-
declare module '@elastic/eui/src/components/description_list/description_list.styles' {
|
|
14125
|
-
import { UseEuiTheme } from '@elastic/eui/src/services';
|
|
14126
|
-
export const euiDescriptionListStyles: (euiThemeContext: UseEuiTheme) => {
|
|
14127
|
-
euiDescriptionList: import("@emotion/utils").SerializedStyles;
|
|
14128
|
-
row: import("@emotion/utils").SerializedStyles;
|
|
14129
|
-
inline: import("@emotion/utils").SerializedStyles;
|
|
14130
|
-
column: import("@emotion/utils").SerializedStyles;
|
|
14131
|
-
responsiveColumn: import("@emotion/utils").SerializedStyles;
|
|
14132
|
-
center: import("@emotion/utils").SerializedStyles;
|
|
14133
|
-
left: import("@emotion/utils").SerializedStyles;
|
|
14134
|
-
};
|
|
14135
|
-
|
|
14136
|
-
}
|
|
14137
|
-
declare module '@elastic/eui/src/components/description_list/description_list' {
|
|
14138
|
-
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
14139
|
-
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
14140
|
-
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types';
|
|
14141
|
-
export const EuiDescriptionList: FunctionComponent<CommonProps & HTMLAttributes<HTMLDListElement> & EuiDescriptionListProps>;
|
|
14142
|
-
|
|
14143
|
-
}
|
|
14144
|
-
declare module '@elastic/eui/src/components/description_list' {
|
|
14145
|
-
export type { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types';
|
|
14146
|
-
export { EuiDescriptionList } from '@elastic/eui/src/components/description_list/description_list';
|
|
14147
|
-
export { EuiDescriptionListTitle } from '@elastic/eui/src/components/description_list/description_list_title';
|
|
14148
|
-
export { EuiDescriptionListDescription } from '@elastic/eui/src/components/description_list/description_list_description';
|
|
14149
|
-
|
|
14150
14217
|
}
|
|
14151
14218
|
declare module '@elastic/eui/src/components/empty_prompt/empty_prompt' {
|
|
14152
14219
|
import { FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
@@ -16751,6 +16818,7 @@ declare module '@elastic/eui/src/components/tree_view' {
|
|
|
16751
16818
|
declare module '@elastic/eui/src/components/search_bar/search_box' {
|
|
16752
16819
|
import { Component } from 'react';
|
|
16753
16820
|
import { EuiFieldSearchProps } from '@elastic/eui/src/components/form';
|
|
16821
|
+
import { EuiSearchBarProps } from '@elastic/eui/src/components/search_bar/search_bar';
|
|
16754
16822
|
export interface SchemaType {
|
|
16755
16823
|
strict?: boolean;
|
|
16756
16824
|
fields?: any;
|
|
@@ -16759,6 +16827,11 @@ declare module '@elastic/eui/src/components/search_bar/search_box' {
|
|
|
16759
16827
|
export interface EuiSearchBoxProps extends EuiFieldSearchProps {
|
|
16760
16828
|
query: string;
|
|
16761
16829
|
onSearch: (queryText: string) => void;
|
|
16830
|
+
hint?: {
|
|
16831
|
+
id: string;
|
|
16832
|
+
isVisible: boolean;
|
|
16833
|
+
setIsVisible: (isVisible: boolean) => void;
|
|
16834
|
+
} & EuiSearchBarProps['hint'];
|
|
16762
16835
|
} type DefaultProps = Pick<EuiSearchBoxProps, 'placeholder' | 'incremental'>;
|
|
16763
16836
|
export class EuiSearchBox extends Component<EuiSearchBoxProps> {
|
|
16764
16837
|
static defaultProps: DefaultProps;
|
|
@@ -18085,12 +18158,13 @@ declare module '@elastic/eui/src/components/search_bar/search_filters' {
|
|
|
18085
18158
|
|
|
18086
18159
|
}
|
|
18087
18160
|
declare module '@elastic/eui/src/components/search_bar/search_bar' {
|
|
18088
|
-
import { Component, ReactElement } from 'react';
|
|
18161
|
+
import React, { Component, ReactElement } from 'react';
|
|
18089
18162
|
import { SchemaType } from '@elastic/eui/src/components/search_bar/search_box';
|
|
18090
18163
|
import { SearchFilterConfig } from '@elastic/eui/src/components/search_bar/search_filters';
|
|
18091
18164
|
import { Query } from '@elastic/eui/src/components/search_bar/query';
|
|
18092
18165
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
18093
18166
|
import { EuiFieldSearchProps } from '@elastic/eui/src/components/form/field_search';
|
|
18167
|
+
import { EuiInputPopoverProps } from '@elastic/eui/src/components/popover';
|
|
18094
18168
|
export { Query, AST as Ast } from '@elastic/eui/src/components/search_bar/query';
|
|
18095
18169
|
export type QueryType = Query | string; type Tools = ReactElement | ReactElement[];
|
|
18096
18170
|
interface ArgsWithQuery {
|
|
@@ -18103,7 +18177,7 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
|
|
|
18103
18177
|
queryText: string;
|
|
18104
18178
|
error: Error;
|
|
18105
18179
|
}
|
|
18106
|
-
export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError;
|
|
18180
|
+
export type EuiSearchBarOnChangeArgs = ArgsWithQuery | ArgsWithError; type HintPopOverProps = Partial<Pick<EuiInputPopoverProps, 'isOpen' | 'closePopover' | 'fullWidth' | 'disableFocusTrap' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'panelProps' | 'popoverScreenReaderText' | 'repositionOnScroll' | 'zIndex' | 'data-test-subj'>>;
|
|
18107
18181
|
export interface EuiSearchBarProps extends CommonProps {
|
|
18108
18182
|
onChange?: (args: EuiSearchBarOnChangeArgs) => void | boolean;
|
|
18109
18183
|
/**
|
|
@@ -18136,19 +18210,28 @@ declare module '@elastic/eui/src/components/search_bar/search_bar' {
|
|
|
18136
18210
|
* Date formatter to use when parsing date values
|
|
18137
18211
|
*/
|
|
18138
18212
|
dateFormat?: object;
|
|
18213
|
+
/**
|
|
18214
|
+
* Hint to render below the search bar
|
|
18215
|
+
*/
|
|
18216
|
+
hint?: {
|
|
18217
|
+
content: React.ReactNode;
|
|
18218
|
+
popoverProps?: HintPopOverProps;
|
|
18219
|
+
};
|
|
18139
18220
|
}
|
|
18140
18221
|
interface State {
|
|
18141
18222
|
query: Query;
|
|
18142
18223
|
queryText: string;
|
|
18143
18224
|
error: null | Error;
|
|
18144
|
-
|
|
18225
|
+
isHintVisible: boolean;
|
|
18226
|
+
} type NotifyControllingParent = Pick<State, 'queryText' | 'error'> & {
|
|
18145
18227
|
query: Query | null;
|
|
18146
18228
|
};
|
|
18147
18229
|
export class EuiSearchBar extends Component<EuiSearchBarProps, State> {
|
|
18148
18230
|
static Query: typeof Query;
|
|
18231
|
+
hintId: string;
|
|
18149
18232
|
constructor(props: EuiSearchBarProps);
|
|
18150
18233
|
static getDerivedStateFromProps(nextProps: EuiSearchBarProps, prevState: State): State | null;
|
|
18151
|
-
notifyControllingParent(newState:
|
|
18234
|
+
notifyControllingParent(newState: NotifyControllingParent): void;
|
|
18152
18235
|
onSearch: (queryText: string) => void;
|
|
18153
18236
|
onFiltersChange: (query: Query) => void;
|
|
18154
18237
|
renderTools(tools?: Tools): JSX.Element | JSX.Element[] | undefined;
|
|
@@ -25298,6 +25381,30 @@ declare module '@elastic/eui' {
|
|
|
25298
25381
|
"euiDisplaySelector.lineCountLabel": any;
|
|
25299
25382
|
"euiFullscreenSelector.fullscreenButton": any;
|
|
25300
25383
|
"euiFullscreenSelector.fullscreenButtonActive": any;
|
|
25384
|
+
"euiKeyboardShortcuts.title": any;
|
|
25385
|
+
"euiKeyboardShortcuts.upArrowTitle": any;
|
|
25386
|
+
"euiKeyboardShortcuts.upArrowDescription": any;
|
|
25387
|
+
"euiKeyboardShortcuts.downArrowTitle": any;
|
|
25388
|
+
"euiKeyboardShortcuts.downArrowDescription": any;
|
|
25389
|
+
"euiKeyboardShortcuts.rightArrowTitle": any;
|
|
25390
|
+
"euiKeyboardShortcuts.rightArrowDescription": any;
|
|
25391
|
+
"euiKeyboardShortcuts.leftArrowTitle": any;
|
|
25392
|
+
"euiKeyboardShortcuts.leftArrowDescription": any;
|
|
25393
|
+
"euiKeyboardShortcuts.homeTitle": any;
|
|
25394
|
+
"euiKeyboardShortcuts.homeDescription": any;
|
|
25395
|
+
"euiKeyboardShortcuts.endTitle": any;
|
|
25396
|
+
"euiKeyboardShortcuts.endDescription": any;
|
|
25397
|
+
"euiKeyboardShortcuts.ctrl": any;
|
|
25398
|
+
"euiKeyboardShortcuts.ctrlHomeDescription": any;
|
|
25399
|
+
"euiKeyboardShortcuts.ctrlEndDescription": any;
|
|
25400
|
+
"euiKeyboardShortcuts.pageUpTitle": any;
|
|
25401
|
+
"euiKeyboardShortcuts.pageUpDescription": any;
|
|
25402
|
+
"euiKeyboardShortcuts.pageDownTitle": any;
|
|
25403
|
+
"euiKeyboardShortcuts.pageDownDescription": any;
|
|
25404
|
+
"euiKeyboardShortcuts.enterTitle": any;
|
|
25405
|
+
"euiKeyboardShortcuts.enterDescription": any;
|
|
25406
|
+
"euiKeyboardShortcuts.escapeTitle": any;
|
|
25407
|
+
"euiKeyboardShortcuts.escapeDescription": any;
|
|
25301
25408
|
"euiDataGrid.ariaLabel": any;
|
|
25302
25409
|
"euiDataGrid.ariaLabelledBy": any;
|
|
25303
25410
|
"euiDataGrid.screenReaderNotice": any;
|