@elastic/eui 60.1.2 → 61.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_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +9 -178
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +9 -178
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +1 -1
- package/es/components/accordion/accordion.js +10 -5
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button.js +2 -2
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/card/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/comment_list/comment.js +45 -24
- package/es/components/comment_list/comment_event.js +104 -33
- package/es/components/comment_list/comment_event.styles.js +78 -0
- package/es/components/comment_list/comment_list.js +38 -13
- package/es/components/comment_list/comment_timeline.js +22 -34
- package/es/components/context_menu/context_menu.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +38 -29
- package/es/components/datagrid/body/data_grid_cell.js +130 -56
- package/es/components/datagrid/body/header/data_grid_header_cell.js +100 -31
- package/es/components/datagrid/body/header/data_grid_header_row.js +27 -24
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +29 -24
- package/es/components/datagrid/utils/focus.js +19 -10
- package/es/components/datagrid/utils/in_memory.js +26 -23
- package/es/components/datagrid/utils/ref.js +24 -3
- package/es/components/datagrid/utils/row_heights.js +27 -33
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/form/field_number/field_number.js +1 -1
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +9 -1
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/assets/cluster.js +41 -0
- package/es/components/icon/assets/container.js +39 -0
- package/es/components/icon/assets/keyboard.js +38 -0
- package/es/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
- package/es/components/icon/assets/kubernetesPod.js +41 -0
- package/es/components/icon/assets/namespace.js +41 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +6 -1
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_template.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/popover/popover.js +14 -4
- package/es/components/selectable/selectable.js +2 -0
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/es/components/suggest/suggest.js +1 -1
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/text/text.styles.js +5 -4
- package/es/components/timeline/timeline_item.js +1 -2
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/token/token.js +1 -1
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/es/components/tour/tour.js +8 -0
- package/es/components/tour/tour_step.js +8 -0
- package/es/services/hooks/index.js +1 -0
- package/es/services/hooks/useLatest.js +18 -0
- package/es/test/emotion-prefix.js +1 -1
- package/eui.d.ts +308 -172
- package/i18ntokens.json +49 -33
- package/lib/components/accessibility/skip_link/skip_link.js +1 -1
- package/lib/components/accordion/accordion.js +10 -5
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button.js +2 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/card/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/comment_list/comment.js +44 -25
- package/lib/components/comment_list/comment_event.js +105 -42
- package/lib/components/comment_list/comment_event.styles.js +86 -0
- package/lib/components/comment_list/comment_list.js +39 -13
- package/lib/components/comment_list/comment_timeline.js +23 -46
- package/lib/components/context_menu/context_menu.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +38 -29
- package/lib/components/datagrid/body/data_grid_cell.js +129 -55
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +105 -31
- package/lib/components/datagrid/body/header/data_grid_header_row.js +27 -24
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +29 -24
- package/lib/components/datagrid/utils/focus.js +19 -11
- package/lib/components/datagrid/utils/in_memory.js +26 -23
- package/lib/components/datagrid/utils/ref.js +24 -3
- package/lib/components/datagrid/utils/row_heights.js +26 -32
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/form/field_number/field_number.js +1 -1
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +9 -1
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/assets/cluster.js +48 -0
- package/lib/components/icon/assets/container.js +46 -0
- package/lib/components/icon/assets/keyboard.js +45 -0
- package/lib/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
- package/lib/components/icon/assets/kubernetesPod.js +48 -0
- package/lib/components/icon/assets/namespace.js +48 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +6 -1
- package/lib/components/icon/svgs/cluster.svg +3 -0
- package/lib/components/icon/svgs/container.svg +3 -0
- package/lib/components/icon/svgs/keyboard.svg +3 -0
- package/lib/components/icon/svgs/kubernetesNode.svg +3 -0
- package/lib/components/icon/svgs/kubernetesPod.svg +3 -0
- package/lib/components/icon/svgs/namespace.svg +3 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_template.js +1 -1
- package/lib/components/popover/popover.js +14 -4
- package/lib/components/selectable/selectable.js +2 -0
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/suggest/suggest.js +1 -1
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/text/text.styles.js +4 -3
- package/lib/components/timeline/timeline_item.js +1 -2
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/token/token.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/lib/services/hooks/index.js +13 -0
- package/lib/services/hooks/useLatest.js +26 -0
- package/lib/test/emotion-prefix.js +1 -1
- package/optimize/es/components/accordion/accordion.js +10 -5
- package/optimize/es/components/comment_list/comment.js +22 -17
- package/optimize/es/components/comment_list/comment_event.js +83 -28
- package/optimize/es/components/comment_list/comment_event.styles.js +78 -0
- package/optimize/es/components/comment_list/comment_list.js +7 -3
- package/optimize/es/components/comment_list/comment_timeline.js +19 -31
- package/optimize/es/components/datagrid/body/data_grid_body.js +11 -5
- package/optimize/es/components/datagrid/body/data_grid_cell.js +18 -9
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +74 -8
- package/optimize/es/components/datagrid/data_grid.js +2 -0
- package/optimize/es/components/datagrid/utils/focus.js +19 -11
- package/optimize/es/components/datagrid/utils/ref.js +24 -3
- package/optimize/es/components/datagrid/utils/row_heights.js +27 -33
- package/optimize/es/components/icon/assets/cluster.js +37 -0
- package/optimize/es/components/icon/assets/container.js +35 -0
- package/optimize/es/components/icon/assets/keyboard.js +34 -0
- package/optimize/es/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
- package/optimize/es/components/icon/assets/kubernetesPod.js +37 -0
- package/optimize/es/components/icon/assets/namespace.js +37 -0
- package/optimize/es/components/icon/icon_map.js +6 -1
- package/optimize/es/components/popover/popover.js +6 -4
- package/optimize/es/components/selectable/selectable.js +2 -0
- package/optimize/es/components/text/text.styles.js +5 -4
- package/optimize/es/components/timeline/timeline_item.js +1 -2
- package/optimize/es/services/hooks/index.js +1 -0
- package/optimize/es/services/hooks/useLatest.js +18 -0
- package/optimize/es/test/emotion-prefix.js +1 -1
- package/optimize/lib/components/accordion/accordion.js +8 -5
- package/optimize/lib/components/comment_list/comment.js +21 -17
- package/optimize/lib/components/comment_list/comment_event.js +85 -31
- package/optimize/lib/components/comment_list/comment_event.styles.js +86 -0
- package/optimize/lib/components/comment_list/comment_list.js +8 -3
- package/optimize/lib/components/comment_list/comment_timeline.js +21 -37
- package/optimize/lib/components/datagrid/body/data_grid_body.js +11 -5
- package/optimize/lib/components/datagrid/body/data_grid_cell.js +17 -8
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +79 -8
- package/optimize/lib/components/datagrid/data_grid.js +2 -0
- package/optimize/lib/components/datagrid/utils/focus.js +19 -11
- package/optimize/lib/components/datagrid/utils/ref.js +24 -3
- package/optimize/lib/components/datagrid/utils/row_heights.js +25 -30
- package/optimize/lib/components/icon/assets/cluster.js +47 -0
- package/optimize/lib/components/icon/assets/container.js +45 -0
- package/optimize/lib/components/icon/assets/keyboard.js +44 -0
- package/{test-env/components/icon/assets/keyboard_shortcut.js → optimize/lib/components/icon/assets/kubernetesNode.js} +7 -4
- package/optimize/lib/components/icon/assets/{keyboard_shortcut.js → kubernetesPod.js} +7 -4
- package/optimize/lib/components/icon/assets/namespace.js +47 -0
- package/optimize/lib/components/icon/icon_map.js +6 -1
- package/optimize/lib/components/icon/svgs/cluster.svg +3 -0
- package/optimize/lib/components/icon/svgs/container.svg +3 -0
- package/optimize/lib/components/icon/svgs/keyboard.svg +3 -0
- package/optimize/lib/components/icon/svgs/kubernetesNode.svg +3 -0
- package/optimize/lib/components/icon/svgs/kubernetesPod.svg +3 -0
- package/optimize/lib/components/icon/svgs/namespace.svg +3 -0
- package/optimize/lib/components/popover/popover.js +6 -4
- package/optimize/lib/components/selectable/selectable.js +2 -0
- package/optimize/lib/components/text/text.styles.js +4 -3
- package/optimize/lib/components/timeline/timeline_item.js +1 -2
- package/optimize/lib/services/hooks/index.js +13 -0
- package/optimize/lib/services/hooks/useLatest.js +26 -0
- package/optimize/lib/test/emotion-prefix.js +1 -1
- package/package.json +3 -3
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +0 -9
- package/src/components/index.scss +0 -1
- package/src/components/markdown_editor/_markdown_editor.scss +3 -2
- package/src/themes/amsterdam/overrides/_index.scss +0 -1
- package/test-env/components/accessibility/skip_link/skip_link.js +1 -1
- package/test-env/components/accordion/accordion.js +8 -5
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button.js +2 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/card/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/comment_list/comment.js +44 -24
- package/test-env/components/comment_list/comment_event.js +106 -36
- package/test-env/components/comment_list/comment_event.styles.js +86 -0
- package/test-env/components/comment_list/comment_list.js +39 -13
- package/test-env/components/comment_list/comment_timeline.js +23 -39
- package/test-env/components/context_menu/context_menu.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +38 -29
- package/test-env/components/datagrid/body/data_grid_cell.js +129 -55
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +105 -31
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +27 -24
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +29 -24
- package/test-env/components/datagrid/utils/focus.js +19 -11
- package/test-env/components/datagrid/utils/in_memory.js +26 -23
- package/test-env/components/datagrid/utils/ref.js +24 -3
- package/test-env/components/datagrid/utils/row_heights.js +25 -30
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/form/field_number/field_number.js +1 -1
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +9 -1
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/assets/cluster.js +47 -0
- package/test-env/components/icon/assets/container.js +45 -0
- package/test-env/components/icon/assets/keyboard.js +44 -0
- package/test-env/components/icon/assets/kubernetesNode.js +47 -0
- package/test-env/components/icon/assets/kubernetesPod.js +47 -0
- package/test-env/components/icon/assets/namespace.js +47 -0
- package/test-env/components/icon/icon_map.js +6 -1
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_template.js +1 -1
- package/test-env/components/popover/popover.js +14 -4
- package/test-env/components/selectable/selectable.js +2 -0
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/suggest/suggest.js +1 -1
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/text/text.styles.js +4 -3
- package/test-env/components/timeline/timeline_item.js +1 -2
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/token/token.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/test-env/services/hooks/index.js +13 -0
- package/test-env/services/hooks/useLatest.js +26 -0
- package/test-env/test/emotion-prefix.js +1 -1
- package/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
- package/optimize/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
- package/src/components/comment_list/_comment.scss +0 -38
- package/src/components/comment_list/_comment_event.scss +0 -77
- package/src/components/comment_list/_comment_timeline.scss +0 -27
- package/src/components/comment_list/_index.scss +0 -3
- package/src/themes/amsterdam/overrides/_comment.scss +0 -3
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.icon = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
|
|
16
|
+
var React = _interopRequireWildcard(require("react"));
|
|
17
|
+
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
|
+
|
|
20
|
+
var _excluded = ["title", "titleId"];
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
var EuiIconContainer = function EuiIconContainer(_ref) {
|
|
27
|
+
var title = _ref.title,
|
|
28
|
+
titleId = _ref.titleId,
|
|
29
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
31
|
+
fill: "none",
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
viewBox: "0 0 16 16",
|
|
34
|
+
"aria-labelledby": titleId
|
|
35
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
36
|
+
id: titleId
|
|
37
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M0 2.5A.5.5 0 01.5 2h15a.5.5 0 010 1H15v10h.5a.5.5 0 010 1H.5a.5.5 0 010-1H1V3H.5a.5.5 0 01-.5-.5zM2 3h12v10H2V3zm3 2a.5.5 0 00-.5.5v5a.5.5 0 001 0v-5A.5.5 0 005 5zm5.5.5a.5.5 0 011 0v5a.5.5 0 01-1 0v-5zM8 5a.5.5 0 00-.5.5v5a.5.5 0 001 0v-5A.5.5 0 008 5z"
|
|
41
|
+
}));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var icon = EuiIconContainer;
|
|
45
|
+
exports.icon = icon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.icon = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
|
|
16
|
+
var React = _interopRequireWildcard(require("react"));
|
|
17
|
+
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
|
+
|
|
20
|
+
var _excluded = ["title", "titleId"];
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
var EuiIconKeyboard = function EuiIconKeyboard(_ref) {
|
|
27
|
+
var title = _ref.title,
|
|
28
|
+
titleId = _ref.titleId,
|
|
29
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
viewBox: "0 0 16 16",
|
|
33
|
+
"aria-labelledby": titleId
|
|
34
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
|
+
id: titleId
|
|
36
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M0 3h16v11H0V3zm15 10V4H1v9h14zM2 5h2v1H2V5zm2 7v-1H2v1h2zm10-1v1h-2v-1h2zm-3 1v-1H5v1h6zM5 5h1v1H5V5zM3 7H2v1h1V7zm3 0h1v1H6V7zM3 9H2v1h1V9zm3 0h1v1H6V9zm2-4H7v1h1V5zM4 7h1v1H4V7zm5 0H8v1h1V7zm1 0h1v1h-1V7zM5 9H4v1h1V9zm3 0h1v1H8V9zm3 0h-1v1h1V9zM9 5h1v1H9V5zm3 0h-1v1h1V5zm1 0h1v1h-1V5zm1 2h-2v3h2V7z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconKeyboard;
|
|
44
|
+
exports.icon = icon;
|
|
@@ -23,22 +23,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var EuiIconKubernetesNode = function EuiIconKubernetesNode(_ref) {
|
|
27
27
|
var title = _ref.title,
|
|
28
28
|
titleId = _ref.titleId,
|
|
29
29
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
30
|
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
31
|
width: 16,
|
|
33
32
|
height: 16,
|
|
34
33
|
viewBox: "0 0 16 16",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
36
|
"aria-labelledby": titleId
|
|
36
37
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
38
|
id: titleId
|
|
38
39
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
-
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
clipRule: "evenodd",
|
|
42
|
+
d: "M14 11.42V4.58L8 1.152 2 4.58v6.84l6 3.428 6-3.428zM8 16l7-4V4L8 0 1 4v8l7 4zM8 4.607l3 1.714V9.68l-3 1.714-3-1.714V6.32l3-1.714zm4 1.134v4.518l-4 2.286-4-2.286V5.741l4-2.286 4 2.286z"
|
|
40
43
|
}));
|
|
41
44
|
};
|
|
42
45
|
|
|
43
|
-
var icon =
|
|
46
|
+
var icon = EuiIconKubernetesNode;
|
|
44
47
|
exports.icon = icon;
|
|
@@ -23,22 +23,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var EuiIconKubernetesPod = function EuiIconKubernetesPod(_ref) {
|
|
27
27
|
var title = _ref.title,
|
|
28
28
|
titleId = _ref.titleId,
|
|
29
29
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
30
|
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
31
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
32
31
|
width: 16,
|
|
33
32
|
height: 16,
|
|
34
33
|
viewBox: "0 0 16 16",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
36
|
"aria-labelledby": titleId
|
|
36
37
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
38
|
id: titleId
|
|
38
39
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
-
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
clipRule: "evenodd",
|
|
42
|
+
d: "M14 5.151v6.269l-5.5 3.142V8.29L14 5.151zm-.508-.861L8 1.152 2.508 4.29 8 7.424l5.492-3.134zM2 5.151l5.5 3.14v6.272L2 11.42V5.15zM15 12l-7 4-7-4V4l7-4 7 4v8z"
|
|
40
43
|
}));
|
|
41
44
|
};
|
|
42
45
|
|
|
43
|
-
var icon =
|
|
46
|
+
var icon = EuiIconKubernetesPod;
|
|
44
47
|
exports.icon = icon;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.icon = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
|
|
16
|
+
var React = _interopRequireWildcard(require("react"));
|
|
17
|
+
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
|
+
|
|
20
|
+
var _excluded = ["title", "titleId"];
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
var EuiIconNamespace = function EuiIconNamespace(_ref) {
|
|
27
|
+
var title = _ref.title,
|
|
28
|
+
titleId = _ref.titleId,
|
|
29
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
31
|
+
width: 16,
|
|
32
|
+
height: 16,
|
|
33
|
+
viewBox: "0 0 16 16",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
"aria-labelledby": titleId
|
|
37
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
38
|
+
id: titleId
|
|
39
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
clipRule: "evenodd",
|
|
42
|
+
d: "M1 1h14v14H1V1zm13 12v1H2V2h12v11zM6 6h4v4H6V6zm-1 5V5h6v6H5z"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var icon = EuiIconNamespace;
|
|
47
|
+
exports.icon = icon;
|
|
@@ -56,11 +56,13 @@ var typeToPathMap = {
|
|
|
56
56
|
cloudDrizzle: 'cloudDrizzle',
|
|
57
57
|
cloudStormy: 'cloudStormy',
|
|
58
58
|
cloudSunny: 'cloudSunny',
|
|
59
|
+
cluster: 'cluster',
|
|
59
60
|
codeApp: 'app_code',
|
|
60
61
|
color: 'color',
|
|
61
62
|
compute: 'compute',
|
|
62
63
|
console: 'console',
|
|
63
64
|
consoleApp: 'app_console',
|
|
65
|
+
container: 'container',
|
|
64
66
|
continuityAbove: 'continuityAbove',
|
|
65
67
|
continuityAboveBelow: 'continuityAboveBelow',
|
|
66
68
|
continuityBelow: 'continuityBelow',
|
|
@@ -181,12 +183,14 @@ var typeToPathMap = {
|
|
|
181
183
|
inspect: 'inspect',
|
|
182
184
|
invert: 'invert',
|
|
183
185
|
ip: 'ip',
|
|
184
|
-
|
|
186
|
+
keyboard: 'keyboard',
|
|
185
187
|
kqlField: 'kql_field',
|
|
186
188
|
kqlFunction: 'kql_function',
|
|
187
189
|
kqlOperand: 'kql_operand',
|
|
188
190
|
kqlSelector: 'kql_selector',
|
|
189
191
|
kqlValue: 'kql_value',
|
|
192
|
+
kubernetesNode: 'kubernetesNode',
|
|
193
|
+
kubernetesPod: 'kubernetesPod',
|
|
190
194
|
layers: 'layers',
|
|
191
195
|
lensApp: 'app_lens',
|
|
192
196
|
lettering: 'lettering',
|
|
@@ -284,6 +288,7 @@ var typeToPathMap = {
|
|
|
284
288
|
mobile: 'mobile',
|
|
285
289
|
monitoringApp: 'app_monitoring',
|
|
286
290
|
moon: 'moon',
|
|
291
|
+
namespace: 'namespace',
|
|
287
292
|
nested: 'nested',
|
|
288
293
|
node: 'node',
|
|
289
294
|
notebookApp: 'app_notebook',
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 7C5.88071 7 7 5.88071 7 4.5S5.88071 2 4.5 2 2 3.11929 2 4.5 3.11929 7 4.5 7zm0-6c1.76324 0 3.22194 1.30385 3.46456 3h3.12084c.2059-.5826.7615-1 1.4146-1 .8284 0 1.5.67157 1.5 1.5S13.3284 6 12.5 6c-.6531 0-1.2087-.4174-1.4146-1H7.96456c-.08482.59296-.31826 1.13798-.66139 1.59611l2.10061 2.1008C9.9881 8.25924 10.7138 8 11.5 8c1.933 0 3.5 1.567 3.5 3.5S13.433 15 11.5 15c-1.76324 0-3.22194-1.3039-3.46456-3H4.91465c-.20592.5826-.76154 1-1.41465 1-.82843 0-1.5-.6716-1.5-1.5S2.67157 10 3.5 10c.65311 0 1.20873.4174 1.41465 1h3.12079c.08481-.5929.31821-1.13786.66127-1.59595L6.59606 7.30321C6.01178 7.74081 5.28616 8 4.5 8 2.567 8 1 6.433 1 4.5S2.567 1 4.5 1zM12 4.5c0 .27614.2239.5.5.5s.5-.22386.5-.5-.2239-.5-.5-.5-.5.22386-.5.5zm-.5 9.5C10.1193 14 9 12.8807 9 11.5S10.1193 9 11.5 9s2.5 1.1193 2.5 2.5-1.1193 2.5-2.5 2.5zM4 11.5c0 .2761-.22386.5-.5.5s-.5-.2239-.5-.5.22386-.5.5-.5.5.2239.5.5z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5A.5.5 0 0 1 .5 2h15a.5.5 0 0 1 0 1H15v10h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V3H.5a.5.5 0 0 1-.5-.5zM2 3h12v10H2V3zm3 2a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5A.5.5 0 0 0 5 5zm5.5.5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-1 0v-5zM8 5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5A.5.5 0 0 0 8 5z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 3h16v11H0V3Zm15 10V4H1v9h14ZM2 5h2v1H2V5Zm2 7v-1H2v1h2Zm10-1v1h-2v-1h2Zm-3 1v-1H5v1h6ZM5 5h1v1H5V5ZM3 7H2v1h1V7Zm3 0h1v1H6V7ZM3 9H2v1h1V9Zm3 0h1v1H6V9Zm2-4H7v1h1V5ZM4 7h1v1H4V7Zm5 0H8v1h1V7Zm1 0h1v1h-1V7ZM5 9H4v1h1V9Zm3 0h1v1H8V9Zm3 0h-1v1h1V9ZM9 5h1v1H9V5Zm3 0h-1v1h1V5Zm1 0h1v1h-1V5Zm1 2h-2v3h2V7Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 11.4197V4.58032L8 1.15175 2 4.58032v6.83938l6 3.4285 6-3.4285zM8 16l7-4V4L8 0 1 4v8l7 4zM8 4.60695l3 1.71429v3.35742L8 11.3929 5 9.67866V6.32124l3-1.71429zm4 1.13396V10.259l-4 2.2857-4-2.2857V5.74091L8 3.4552l4 2.28571z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 5.1514v6.2683l-5.49989 3.1428V8.29025L14 5.1514zm-.5081-.86142L8 1.15175 2.50813 4.28996l5.49203 3.13422 5.49174-3.1342zM2 5.15136l5.50011 3.13883v6.27241L2 11.4197V5.15136zM15 12l-7 4-7-4V4l7-4 7 4v8z" />
|
|
3
|
+
</svg>
|
|
@@ -62,7 +62,7 @@ var _outside_click_detector = require("../outside_click_detector");
|
|
|
62
62
|
|
|
63
63
|
var _react2 = require("@emotion/react");
|
|
64
64
|
|
|
65
|
-
var _excluded = ["anchorClassName", "anchorPosition", "button", "buttonRef", "insert", "isOpen", "ownFocus", "children", "className", "closePopover", "panelClassName", "panelPaddingSize", "panelProps", "panelRef", "panelStyle", "popoverRef", "hasArrow", "arrowChildren", "repositionOnScroll", "zIndex", "initialFocus", "attachToAnchor", "display", "onTrapDeactivation", "buffer", "aria-label", "aria-labelledby", "container", "focusTrapProps", "tabIndex"];
|
|
65
|
+
var _excluded = ["anchorClassName", "anchorPosition", "button", "buttonRef", "insert", "isOpen", "ownFocus", "children", "className", "closePopover", "panelClassName", "panelPaddingSize", "panelProps", "panelRef", "panelStyle", "popoverScreenReaderText", "popoverRef", "hasArrow", "arrowChildren", "repositionOnScroll", "zIndex", "initialFocus", "attachToAnchor", "display", "offset", "onTrapDeactivation", "buffer", "aria-label", "aria-labelledby", "container", "focusTrapProps", "tabIndex"];
|
|
66
66
|
|
|
67
67
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
68
68
|
|
|
@@ -515,6 +515,7 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
|
|
|
515
515
|
panelProps = _this$props.panelProps,
|
|
516
516
|
panelRef = _this$props.panelRef,
|
|
517
517
|
panelStyle = _this$props.panelStyle,
|
|
518
|
+
popoverScreenReaderText = _this$props.popoverScreenReaderText,
|
|
518
519
|
popoverRef = _this$props.popoverRef,
|
|
519
520
|
hasArrow = _this$props.hasArrow,
|
|
520
521
|
arrowChildren = _this$props.arrowChildren,
|
|
@@ -523,6 +524,7 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
|
|
|
523
524
|
initialFocus = _this$props.initialFocus,
|
|
524
525
|
attachToAnchor = _this$props.attachToAnchor,
|
|
525
526
|
display = _this$props.display,
|
|
527
|
+
offset = _this$props.offset,
|
|
526
528
|
onTrapDeactivation = _this$props.onTrapDeactivation,
|
|
527
529
|
buffer = _this$props.buffer,
|
|
528
530
|
ariaLabel = _this$props['aria-label'],
|
|
@@ -567,14 +569,14 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
|
|
|
567
569
|
|
|
568
570
|
var focusTrapScreenReaderText;
|
|
569
571
|
|
|
570
|
-
if (ownFocus) {
|
|
572
|
+
if (ownFocus || popoverScreenReaderText) {
|
|
571
573
|
ariaDescribedby = this.descriptionId;
|
|
572
574
|
focusTrapScreenReaderText = (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("p", {
|
|
573
575
|
id: this.descriptionId
|
|
574
|
-
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
576
|
+
}, ownFocus && (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
575
577
|
token: "euiPopover.screenReaderAnnouncement",
|
|
576
578
|
default: "You are in a dialog. To close this dialog, hit escape."
|
|
577
|
-
})));
|
|
579
|
+
}), popoverScreenReaderText));
|
|
578
580
|
}
|
|
579
581
|
|
|
580
582
|
var arrowClassNames = (0, _classnames.default)('euiPopover__panelArrow', "euiPopover__panelArrow--".concat(this.state.arrowPosition));
|
|
@@ -170,6 +170,8 @@ var EuiSelectable = /*#__PURE__*/function (_Component) {
|
|
|
170
170
|
event.stopPropagation();
|
|
171
171
|
|
|
172
172
|
if (_this.state.activeOptionIndex != null && optionsList) {
|
|
173
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
174
|
+
|
|
173
175
|
optionsList.onAddOrRemoveOption(_this.state.visibleOptions[_this.state.activeOptionIndex], event);
|
|
174
176
|
}
|
|
175
177
|
|
|
@@ -63,7 +63,8 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
|
|
|
63
63
|
var customScale = _customScale === 'xxxs' ? 'xxs' : _customScale || 'm';
|
|
64
64
|
var headingMarginTop = "".concat(parseFloat(euiTheme.size[customScale]) * 2, "px");
|
|
65
65
|
var headingMarginBottom = euiTheme.size[customScale];
|
|
66
|
-
return "\n font-size: ".concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n\n h1 {\n font-size: ").concat(headings.h1.fontSize, ";\n line-height: ").concat(headings.h1.lineHeight, ";\n }\n h1:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n\n h2 {\n font-size: ").concat(headings.h2.fontSize, ";\n line-height: ").concat(headings.h2.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h3 {\n font-size: ").concat(headings.h3.fontSize, ";\n line-height: ").concat(headings.h3.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h4 {\n font-size: ").concat(headings.h4.fontSize, ";\n line-height: ").concat(headings.h4.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h5 {\n font-size: ").concat(headings.h5.fontSize, ";\n line-height: ").concat(headings.h5.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h6 {\n font-size: ").concat(headings.h6.fontSize, ";\n line-height: ").concat(headings.h6.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n ul,\n ol,\n dl,\n blockquote,\n img,\n pre {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat((0, _global_styling.logicalCSS)('margin-left', lineHeightSize), "\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n padding: ").concat(lineHeightSize, ";\n }\n\n dd + dt {\n ").concat((0, _global_styling.logicalCSS)('margin-top', fontSize), "\n }\n\n dt,\n .eui-definitionListReverse dd {\n font-size: ").concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n }\n\n .eui-definitionListReverse dt {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 's', options).fontSize, ";\n }\n\n pre:not(.euiCodeBlock__pre) {\n padding: ").concat(lineHeightSize, ";\n }\n\n code:not(.euiCode):not(.euiCodeBlock__code) {\n font-size: .9em; // 90% of parent font size\n }\n
|
|
66
|
+
return "\n font-size: ".concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n\n h1 {\n font-size: ").concat(headings.h1.fontSize, ";\n line-height: ").concat(headings.h1.lineHeight, ";\n }\n h1:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n\n h2 {\n font-size: ").concat(headings.h2.fontSize, ";\n line-height: ").concat(headings.h2.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h3 {\n font-size: ").concat(headings.h3.fontSize, ";\n line-height: ").concat(headings.h3.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h4 {\n font-size: ").concat(headings.h4.fontSize, ";\n line-height: ").concat(headings.h4.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h5 {\n font-size: ").concat(headings.h5.fontSize, ";\n line-height: ").concat(headings.h5.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h6 {\n font-size: ").concat(headings.h6.fontSize, ";\n line-height: ").concat(headings.h6.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n ul,\n ol,\n dl,\n blockquote,\n img,\n pre {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat((0, _global_styling.logicalCSS)('margin-left', lineHeightSize), "\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n padding: ").concat(lineHeightSize, ";\n }\n\n dd + dt {\n ").concat((0, _global_styling.logicalCSS)('margin-top', fontSize), "\n }\n\n dt,\n .eui-definitionListReverse dd {\n font-size: ").concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n }\n\n .eui-definitionListReverse dt {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 's', options).fontSize, ";\n }\n\n pre:not(.euiCodeBlock__pre) {\n padding: ").concat(lineHeightSize, ";\n }\n\n code:not(.euiCode):not(.euiCodeBlock__code) {\n font-size: .9em; // 90% of parent font size\n }\n ").concat( // when textSize is 'm', the 'kbd' element gets a line between the text and the border-bottom
|
|
67
|
+
_customScale === 'm' ? "\n kbd {\n ".concat((0, _global_styling.logicalCSS)('padding-bottom', euiTheme.size.xs), "\n // ensures when only one character the shape looks like a square\n ").concat((0, _global_styling.logicalCSS)('min-width', euiTheme.size.l), "\n ").concat((0, _global_styling.logicalTextAlignCSS)('center'), "\n }\n \n kbd::after {\n content: '';\n ").concat((0, _global_styling.logicalCSS)('border-bottom', "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.text)), "\n position: absolute;\n ").concat((0, _global_styling.logicalCSS)('bottom', euiTheme.size.xxs), "\n ").concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('width', '100%'), "\n }") : '', "\n ");
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* Styles
|
|
@@ -73,8 +74,8 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
|
|
|
73
74
|
var euiTextStyles = function euiTextStyles(euiThemeContext) {
|
|
74
75
|
var euiTheme = euiThemeContext.euiTheme;
|
|
75
76
|
return {
|
|
76
|
-
euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(euiTheme), ";}img{display:block;width:100%;}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;
|
|
77
|
-
constrainedWidth: /*#__PURE__*/(0, _react.css)(
|
|
77
|
+
euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(euiTheme), ";}img{display:block;width:100%;}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;", (0, _global_styling.logicalTextAlignCSS)('center'), " ", (0, _global_styling.logicalCSS)('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0'), ";}&:before,&:after{position:absolute;content:'';", (0, _global_styling.logicalCSS)('height', euiTheme.border.width.thick), " ", (0, _global_styling.logicalCSS)('width', '50%'), " ", (0, _global_styling.logicalCSS)('left', '25%'), " ", (0, _global_styling.logicalCSS)('right', '25%'), " background:", euiTheme.colors.darkShade, ";}&:before{", (0, _global_styling.logicalCSS)('top', '0'), ";}&:after{", (0, _global_styling.logicalCSS)('bottom', '0'), ";}}h1{", (0, _title.euiTitle)(euiThemeContext, 'l'), ";}h2{", (0, _title.euiTitle)(euiThemeContext, 'm'), ";}h3{", (0, _title.euiTitle)(euiThemeContext, 's'), ";}h4,dt{", (0, _title.euiTitle)(euiThemeContext, 'xs'), ";}h5{", (0, _title.euiTitle)(euiThemeContext, 'xxs'), ";}h6{", (0, _title.euiTitle)(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", (0, _global_styling.euiBackgroundColor)(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0 !important'), ";}kbd{position:relative;display:inline-block;", (0, _global_styling.logicalCSS)('padding-vertical', euiTheme.size.xxs), " ", (0, _global_styling.logicalCSS)('padding-horizontal', euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.text, ";border-radius:calc(", euiTheme.border.radius.small, " / 2);};label:euiText;"),
|
|
78
|
+
constrainedWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', euiTextConstrainedMaxWidth), ";;label:constrainedWidth;"),
|
|
78
79
|
// Sizes
|
|
79
80
|
m: /*#__PURE__*/(0, _react.css)(euiScaleText(euiThemeContext, {
|
|
80
81
|
measurement: 'rem',
|
|
@@ -21,7 +21,7 @@ var _timeline_item = require("./timeline_item.styles");
|
|
|
21
21
|
|
|
22
22
|
var _react2 = require("@emotion/react");
|
|
23
23
|
|
|
24
|
-
var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel"
|
|
24
|
+
var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel"];
|
|
25
25
|
var VERTICAL_ALIGN = ['top', 'center'];
|
|
26
26
|
exports.VERTICAL_ALIGN = VERTICAL_ALIGN;
|
|
27
27
|
|
|
@@ -31,7 +31,6 @@ var EuiTimelineItem = function EuiTimelineItem(_ref) {
|
|
|
31
31
|
verticalAlign = _ref$verticalAlign === void 0 ? 'center' : _ref$verticalAlign,
|
|
32
32
|
icon = _ref.icon,
|
|
33
33
|
iconAriaLabel = _ref.iconAriaLabel,
|
|
34
|
-
className = _ref.className,
|
|
35
34
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
36
35
|
var styles = (0, _timeline_item.euiTimelineItemStyles)();
|
|
37
36
|
var cssStyles = [styles.euiTimelineItem, styles[verticalAlign]];
|
|
@@ -56,6 +56,19 @@ Object.keys(_useIsWithinBreakpoints).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
var _useLatest = require("./useLatest");
|
|
60
|
+
|
|
61
|
+
Object.keys(_useLatest).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _useLatest[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _useLatest[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
59
72
|
var _useMouseMove = require("./useMouseMove");
|
|
60
73
|
|
|
61
74
|
Object.keys(_useMouseMove).forEach(function (key) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useLatest = useLatest;
|
|
7
|
+
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
12
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
13
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
14
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
15
|
+
* Side Public License, v 1.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Wraps the given `value` into a `MutableRefObject` and keeps the `current`
|
|
20
|
+
* value up-to-date on every render cycle.
|
|
21
|
+
*/
|
|
22
|
+
function useLatest(value) {
|
|
23
|
+
var latestValueRef = (0, _react.useRef)(value);
|
|
24
|
+
latestValueRef.current = value;
|
|
25
|
+
return latestValueRef;
|
|
26
|
+
}
|
|
@@ -29,7 +29,7 @@ var replaceEmotionPrefix = function replaceEmotionPrefix(selector) {
|
|
|
29
29
|
// Starts with `css-[hash]-`.
|
|
30
30
|
// Contains `eui[ComponentName] or `Eui[ComponentName]`.
|
|
31
31
|
// Capture the component name (from above) and all variant additions until the end of the string.
|
|
32
|
-
var euiMatch = selector.match( /*#__PURE__*/_wrapRegExp(/css\x2D[0-9A-Z_a-z]{
|
|
32
|
+
var euiMatch = selector.match( /*#__PURE__*/_wrapRegExp(/css\x2D[0-9A-Z_a-z]{5,}\x2D([Ee]ui[A-Z][\x2D0-9A-Z_a-z]*$)/, {
|
|
33
33
|
euiComponent: 1
|
|
34
34
|
})); // Use the captured group (`euiComponent`) if available and prepend with `emotion-`,
|
|
35
35
|
// otherwise use the full selector.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui",
|
|
3
3
|
"description": "Elastic UI Component Library",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "61.0.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "lib",
|
|
7
7
|
"module": "es",
|
|
8
8
|
"types": "eui.d.ts",
|
|
9
|
-
"docker_image": "node:16.
|
|
9
|
+
"docker_image": "node:16.16.0",
|
|
10
10
|
"sideEffects": [
|
|
11
11
|
"*.css",
|
|
12
12
|
"*.scss"
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@cypress/code-coverage": "^3.9.12",
|
|
116
116
|
"@cypress/react": "^5.10.3",
|
|
117
117
|
"@cypress/webpack-dev-server": "^1.7.0",
|
|
118
|
-
"@elastic/charts": "^46.
|
|
118
|
+
"@elastic/charts": "^46.13.0",
|
|
119
119
|
"@elastic/datemath": "^5.0.3",
|
|
120
120
|
"@elastic/eslint-config-kibana": "^0.15.0",
|
|
121
121
|
"@emotion/babel-preset-css-prop": "^11.2.0",
|
|
@@ -16,11 +16,6 @@
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
display: flex;
|
|
18
18
|
|
|
19
|
-
> * {
|
|
20
|
-
max-width: 100%;
|
|
21
|
-
width: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
19
|
&.euiDataGridHeaderCell--numeric {
|
|
25
20
|
text-align: right;
|
|
26
21
|
}
|
|
@@ -45,10 +40,6 @@
|
|
|
45
40
|
margin-right: $euiSizeXS;
|
|
46
41
|
}
|
|
47
42
|
|
|
48
|
-
.euiDataGridHeaderCell__anchor {
|
|
49
|
-
width: 100%;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
43
|
.euiDataGridHeaderCell__button {
|
|
53
44
|
flex: 0 0 auto;
|
|
54
45
|
position: relative;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
.euiMarkdownEditor {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
2
5
|
&--isPreviewing {
|
|
3
6
|
.euiMarkdownEditor__toggleContainer {
|
|
4
7
|
display: none;
|
|
@@ -6,8 +9,6 @@
|
|
|
6
9
|
}
|
|
7
10
|
|
|
8
11
|
&--fullHeight {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
12
|
height: 100%;
|
|
12
13
|
|
|
13
14
|
.euiMarkdownEditorTextArea {
|
|
@@ -204,7 +204,7 @@ EuiSkipLink.propTypes = {
|
|
|
204
204
|
/**
|
|
205
205
|
* Any `type` accepted by EuiIcon
|
|
206
206
|
*/
|
|
207
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "alert", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "asterisk", "auditbeatApp", "beaker", "bell", "bellSlash", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "codeApp", "color", "compute", "console", "consoleApp", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInACircleFilled", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "document", "documentEdit", "documentation", "documents", "dot", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "inputOutput", "inspect", "invert", "ip", "
|
|
207
|
+
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "alert", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "asterisk", "auditbeatApp", "beaker", "bell", "bellSlash", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInACircleFilled", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "document", "documentEdit", "documentation", "documents", "dot", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "inputOutput", "inspect", "invert", "ip", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace", "tokenDate", "tokenIP", "tokenNested", "tokenAlias", "tokenShape", "tokenGeo", "tokenRange", "tokenBinary", "tokenJoin", "tokenPercolator", "tokenFlattened", "tokenRankFeature", "tokenRankFeatures", "tokenKeyword", "tokenTag", "tokenCompletionSuggester", "tokenDenseVector", "tokenText", "tokenTokenCount", "tokenSearchType", "tokenHistogram"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* Can only be one side `left` or `right`
|
|
@@ -122,6 +122,12 @@ var EuiAccordionClass = /*#__PURE__*/function (_Component) {
|
|
|
122
122
|
_this.childContent = node;
|
|
123
123
|
});
|
|
124
124
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "generatedId", (0, _services.htmlIdGenerator)()());
|
|
125
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "resizeRef", function () {});
|
|
126
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "observerRef", function (ref) {
|
|
127
|
+
_this.setChildContentRef(ref);
|
|
128
|
+
|
|
129
|
+
_this.resizeRef(ref);
|
|
130
|
+
});
|
|
125
131
|
return _this;
|
|
126
132
|
}
|
|
127
133
|
|
|
@@ -271,12 +277,9 @@ var EuiAccordionClass = /*#__PURE__*/function (_Component) {
|
|
|
271
277
|
}, (0, _react2.jsx)(_resize_observer.EuiResizeObserver, {
|
|
272
278
|
onResize: this.setChildContentHeight
|
|
273
279
|
}, function (resizeRef) {
|
|
280
|
+
_this2.resizeRef = resizeRef;
|
|
274
281
|
return (0, _react2.jsx)("div", {
|
|
275
|
-
ref:
|
|
276
|
-
_this2.setChildContentRef(_ref);
|
|
277
|
-
|
|
278
|
-
resizeRef(_ref);
|
|
279
|
-
}
|
|
282
|
+
ref: _this2.observerRef
|
|
280
283
|
}, (0, _react2.jsx)("div", {
|
|
281
284
|
className: childrenClasses,
|
|
282
285
|
css: cssChildrenStyles
|