@elastic/eui 68.0.0 → 70.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 +5661 -5814
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +0 -896
- package/dist/eui_theme_dark.json +0 -52
- package/dist/eui_theme_dark.json.d.ts +0 -52
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +0 -896
- package/dist/eui_theme_light.json +0 -52
- package/dist/eui_theme_light.json.d.ts +0 -52
- package/dist/eui_theme_light.min.css +1 -1
- 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 +15 -3
- package/es/components/breadcrumbs/breadcrumb.js +9 -5
- package/es/components/breadcrumbs/breadcrumbs.js +7 -4
- package/es/components/button/_button_content_deprecated.js +1 -1
- 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/code/code.js +7 -3
- package/es/components/code/code.styles.js +32 -0
- package/es/components/code/code_block.js +72 -315
- package/es/components/code/code_block.styles.js +153 -0
- package/es/components/code/code_block_controls.js +29 -0
- package/es/components/code/code_block_controls.styles.js +43 -0
- package/es/components/code/code_block_copy.js +65 -0
- package/es/components/code/code_block_full_screen.js +90 -0
- package/es/components/code/code_block_line.styles.js +49 -0
- package/es/components/code/code_block_overflow.js +78 -0
- package/es/components/code/code_block_virtualized.js +59 -0
- package/es/components/code/code_syntax.styles.js +43 -0
- package/es/components/code/utils.js +43 -37
- package/es/components/collapsible_nav/collapsible_nav.js +0 -5
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/es/components/combo_box/combo_box.js +52 -11
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/es/components/combo_box/matching_options.js +60 -11
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +13 -13
- package/es/components/datagrid/body/data_grid_cell.js +24 -24
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +13 -13
- package/es/components/datagrid/utils/in_memory.js +12 -12
- 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/flex/flex_grid.js +30 -40
- package/es/components/flex/flex_grid.styles.js +137 -0
- package/es/components/flex/flex_group.js +16 -42
- package/es/components/flex/flex_group.styles.js +202 -0
- package/es/components/flex/flex_item.js +17 -16
- package/es/components/flex/flex_item.styles.js +148 -0
- package/es/components/flyout/flyout_body.js +2 -3
- package/es/components/flyout/flyout_footer.js +2 -3
- package/es/components/flyout/flyout_header.js +2 -3
- package/es/components/form/described_form_group/described_form_group.js +28 -23
- package/es/components/form/eui_form_context.js +14 -0
- package/es/components/form/field_number/field_number.js +38 -23
- package/es/components/form/field_password/field_password.js +31 -20
- package/es/components/form/field_search/field_search.js +14 -2
- package/es/components/form/field_text/field_text.js +30 -20
- package/es/components/form/file_picker/file_picker.js +13 -1
- package/es/components/form/form.js +21 -3
- package/es/components/form/form_control_layout/form_control_layout.js +19 -3
- 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/form/form_row/form_row.js +22 -4
- package/es/components/form/range/dual_range.js +14 -2
- package/es/components/form/range/range.js +14 -2
- package/es/components/form/range/range_wrapper.js +16 -6
- package/es/components/form/select/select.js +41 -25
- package/es/components/form/super_select/super_select.js +18 -0
- package/es/components/form/super_select/super_select_control.js +26 -22
- package/es/components/form/text_area/text_area.js +26 -15
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/assets/filter.js +1 -2
- package/es/components/icon/assets/filterExclude.js +43 -0
- package/es/components/icon/assets/filterIgnore.js +38 -0
- package/es/components/icon/assets/filterInclude.js +38 -0
- package/es/components/icon/assets/indexTemporary.js +40 -0
- package/es/components/icon/assets/infinity.js +38 -0
- package/es/components/icon/assets/sortAscending.js +38 -0
- package/es/components/icon/assets/sortDescending.js +38 -0
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +7 -0
- package/es/components/image/image_fullscreen_wrapper.js +3 -3
- 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/list_group_item_extra_action.js +1 -1
- 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/overlay_mask/overlay_mask.js +8 -14
- package/es/components/overlay_mask/overlay_mask.styles.js +4 -14
- package/es/components/overlay_mask/overlay_mask_body.styles.js +18 -0
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_section/page_section.js +4 -3
- package/es/components/pagination/pagination.js +4 -4
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/provider/provider.js +1 -5
- package/es/components/resizable_container/helpers.js +2 -2
- package/es/components/resizable_container/resizable_container.js +83 -25
- package/es/components/resizable_container/resizable_container.styles.js +28 -0
- package/es/components/resizable_container/resizable_panel.js +25 -48
- package/es/components/resizable_container/resizable_panel.styles.js +69 -0
- package/es/components/search_bar/query/ast.js +14 -3
- package/es/components/search_bar/search_bar.js +6 -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.js +1 -0
- 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/tool_tip/icon_tip.js +1 -1
- package/es/components/tool_tip/tool_tip.js +3 -2
- package/es/components/tool_tip/tool_tip.styles.js +17 -22
- package/es/components/tool_tip/tool_tip_anchor.js +2 -2
- package/es/components/tool_tip/tool_tip_arrow.js +17 -3
- package/es/components/tool_tip/tool_tip_popover.js +7 -7
- package/es/components/tour/tour.styles.js +4 -3
- package/es/components/tour/tour_step.js +7 -5
- package/es/global_styling/functions/logicals.js +5 -3
- package/es/global_styling/functions/math.js +37 -19
- package/es/global_styling/mixins/_padding.js +13 -9
- package/eui.d.ts +664 -122
- package/i18ntokens.json +60 -60
- 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 +15 -3
- package/lib/components/breadcrumbs/breadcrumb.js +9 -5
- package/lib/components/breadcrumbs/breadcrumbs.js +7 -4
- package/lib/components/button/_button_content_deprecated.js +1 -1
- 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/code/code.js +9 -3
- package/lib/components/code/code.styles.js +35 -0
- package/lib/components/code/code_block.js +72 -320
- package/lib/components/code/code_block.styles.js +154 -0
- package/lib/components/code/code_block_controls.js +48 -0
- package/lib/components/code/code_block_controls.styles.js +39 -0
- package/lib/components/code/code_block_copy.js +78 -0
- package/lib/components/code/code_block_full_screen.js +108 -0
- package/lib/components/code/code_block_line.styles.js +45 -0
- package/lib/components/code/code_block_overflow.js +82 -0
- package/lib/components/code/code_block_virtualized.js +72 -0
- package/lib/components/code/code_syntax.styles.js +57 -0
- package/lib/components/code/utils.js +40 -39
- package/lib/components/collapsible_nav/collapsible_nav.js +0 -5
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/lib/components/combo_box/combo_box.js +51 -10
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/lib/components/combo_box/matching_options.js +64 -12
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +13 -13
- package/lib/components/datagrid/body/data_grid_cell.js +24 -24
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +13 -13
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- 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/flex/flex_grid.js +33 -42
- package/lib/components/flex/flex_grid.styles.js +140 -0
- package/lib/components/flex/flex_group.js +17 -42
- package/lib/components/flex/flex_group.styles.js +205 -0
- package/lib/components/flex/flex_item.js +20 -19
- package/lib/components/flex/flex_item.styles.js +150 -0
- package/lib/components/flyout/flyout_body.js +2 -3
- package/lib/components/flyout/flyout_footer.js +2 -3
- package/lib/components/flyout/flyout_header.js +2 -3
- package/lib/components/form/described_form_group/described_form_group.js +29 -23
- package/lib/components/form/eui_form_context.js +28 -0
- package/lib/components/form/field_number/field_number.js +39 -23
- package/lib/components/form/field_password/field_password.js +32 -20
- package/lib/components/form/field_search/field_search.js +15 -2
- package/lib/components/form/field_text/field_text.js +31 -20
- package/lib/components/form/file_picker/file_picker.js +14 -1
- package/lib/components/form/form.js +23 -3
- package/lib/components/form/form_control_layout/form_control_layout.js +20 -3
- 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/form/form_row/form_row.js +23 -4
- package/lib/components/form/range/dual_range.js +15 -2
- package/lib/components/form/range/range.js +15 -2
- package/lib/components/form/range/range_wrapper.js +17 -6
- package/lib/components/form/select/select.js +42 -25
- package/lib/components/form/super_select/super_select.js +18 -0
- package/lib/components/form/super_select/super_select_control.js +27 -22
- package/lib/components/form/text_area/text_area.js +27 -15
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/assets/filter.js +1 -2
- package/lib/components/icon/assets/filterExclude.js +50 -0
- package/lib/components/icon/assets/filterIgnore.js +45 -0
- package/lib/components/icon/assets/filterInclude.js +45 -0
- package/lib/components/icon/assets/indexTemporary.js +47 -0
- package/lib/components/icon/assets/infinity.js +45 -0
- package/lib/components/icon/assets/sortAscending.js +45 -0
- package/lib/components/icon/assets/sortDescending.js +45 -0
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +7 -0
- package/lib/components/icon/svgs/filter.svg +1 -1
- package/lib/components/icon/svgs/filterExclude.svg +5 -0
- package/lib/components/icon/svgs/filterIgnore.svg +4 -0
- package/lib/components/icon/svgs/filterInclude.svg +5 -0
- package/lib/components/icon/svgs/indexTemporary.svg +4 -0
- package/lib/components/icon/svgs/infinity.svg +3 -0
- package/lib/components/icon/svgs/sortAscending.svg +3 -0
- package/lib/components/icon/svgs/sortDescending.svg +3 -0
- package/lib/components/image/image_fullscreen_wrapper.js +3 -3
- 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/list_group_item_extra_action.js +1 -1
- 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/overlay_mask/overlay_mask.js +9 -14
- package/lib/components/overlay_mask/overlay_mask.styles.js +13 -17
- package/lib/components/overlay_mask/overlay_mask_body.styles.js +20 -0
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_section/page_section.js +4 -3
- package/lib/components/pagination/pagination.js +4 -4
- package/lib/components/provider/provider.js +7 -12
- package/lib/components/resizable_container/helpers.js +2 -2
- package/lib/components/resizable_container/resizable_container.js +84 -25
- package/lib/components/resizable_container/resizable_container.styles.js +31 -0
- package/lib/components/resizable_container/resizable_panel.js +28 -49
- package/lib/components/resizable_container/resizable_panel.styles.js +74 -0
- package/lib/components/search_bar/query/ast.js +14 -3
- package/lib/components/search_bar/search_bar.js +6 -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.js +1 -0
- 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/tool_tip/icon_tip.js +1 -1
- package/lib/components/tool_tip/tool_tip.js +3 -2
- package/lib/components/tool_tip/tool_tip.styles.js +18 -26
- package/lib/components/tool_tip/tool_tip_anchor.js +2 -2
- package/lib/components/tool_tip/tool_tip_arrow.js +19 -4
- package/lib/components/tool_tip/tool_tip_popover.js +6 -6
- package/lib/components/tour/tour.styles.js +3 -2
- package/lib/components/tour/tour_step.js +7 -5
- package/lib/global_styling/functions/logicals.js +5 -3
- package/lib/global_styling/functions/math.js +37 -19
- package/lib/global_styling/mixins/_padding.js +17 -10
- package/optimize/es/components/basic_table/in_memory_table.js +1 -1
- package/optimize/es/components/breadcrumbs/breadcrumb.js +3 -2
- package/optimize/es/components/breadcrumbs/breadcrumbs.js +7 -4
- package/optimize/es/components/code/code.js +7 -3
- package/optimize/es/components/code/code.styles.js +32 -0
- package/optimize/es/components/code/code_block.js +70 -299
- package/optimize/es/components/code/code_block.styles.js +153 -0
- package/optimize/es/components/code/code_block_controls.js +29 -0
- package/optimize/es/components/code/code_block_controls.styles.js +43 -0
- package/optimize/es/components/code/code_block_copy.js +55 -0
- package/optimize/es/components/code/code_block_full_screen.js +80 -0
- package/optimize/es/components/code/code_block_line.styles.js +49 -0
- package/optimize/es/components/code/code_block_overflow.js +67 -0
- package/optimize/es/components/code/code_block_virtualized.js +59 -0
- package/optimize/es/components/code/code_syntax.styles.js +43 -0
- package/optimize/es/components/code/utils.js +43 -37
- package/optimize/es/components/combo_box/combo_box.js +47 -11
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/optimize/es/components/combo_box/matching_options.js +60 -11
- package/optimize/es/components/flex/flex_grid.js +18 -34
- package/optimize/es/components/flex/flex_grid.styles.js +137 -0
- package/optimize/es/components/flex/flex_group.js +12 -38
- package/optimize/es/components/flex/flex_group.styles.js +202 -0
- package/optimize/es/components/flex/flex_item.js +11 -14
- package/optimize/es/components/flex/flex_item.styles.js +148 -0
- package/optimize/es/components/flyout/flyout_body.js +2 -3
- package/optimize/es/components/flyout/flyout_footer.js +2 -3
- package/optimize/es/components/flyout/flyout_header.js +2 -3
- package/optimize/es/components/form/described_form_group/described_form_group.js +22 -22
- package/optimize/es/components/form/eui_form_context.js +14 -0
- package/optimize/es/components/form/field_number/field_number.js +26 -22
- package/optimize/es/components/form/field_password/field_password.js +24 -20
- package/optimize/es/components/form/field_search/field_search.js +8 -2
- package/optimize/es/components/form/field_text/field_text.js +22 -18
- package/optimize/es/components/form/file_picker/file_picker.js +7 -1
- package/optimize/es/components/form/form.js +11 -2
- package/optimize/es/components/form/form_control_layout/form_control_layout.js +10 -2
- package/optimize/es/components/form/form_row/form_row.js +10 -4
- package/optimize/es/components/form/range/dual_range.js +8 -2
- package/optimize/es/components/form/range/range.js +8 -2
- package/optimize/es/components/form/range/range_wrapper.js +11 -6
- package/optimize/es/components/form/select/select.js +28 -24
- package/optimize/es/components/form/super_select/super_select_control.js +26 -22
- package/optimize/es/components/form/text_area/text_area.js +19 -15
- package/optimize/es/components/icon/assets/filter.js +1 -2
- package/optimize/es/components/icon/assets/filterExclude.js +39 -0
- package/optimize/es/components/icon/assets/filterIgnore.js +34 -0
- package/optimize/es/components/icon/assets/filterInclude.js +34 -0
- package/optimize/es/components/icon/assets/indexTemporary.js +36 -0
- package/optimize/es/components/icon/assets/infinity.js +34 -0
- package/optimize/es/components/icon/assets/sortAscending.js +34 -0
- package/optimize/es/components/icon/assets/sortDescending.js +34 -0
- package/optimize/es/components/icon/icon_map.js +7 -0
- package/optimize/es/components/image/image_fullscreen_wrapper.js +3 -3
- package/optimize/es/components/overlay_mask/overlay_mask.js +8 -9
- package/optimize/es/components/overlay_mask/overlay_mask.styles.js +4 -14
- package/optimize/es/components/overlay_mask/overlay_mask_body.styles.js +18 -0
- package/optimize/es/components/page/page_section/page_section.js +4 -3
- package/optimize/es/components/pagination/pagination.js +4 -4
- package/optimize/es/components/provider/provider.js +1 -5
- package/optimize/es/components/resizable_container/helpers.js +2 -2
- package/optimize/es/components/resizable_container/resizable_container.js +73 -25
- package/optimize/es/components/resizable_container/resizable_container.styles.js +28 -0
- package/optimize/es/components/resizable_container/resizable_panel.js +25 -48
- package/optimize/es/components/resizable_container/resizable_panel.styles.js +69 -0
- package/optimize/es/components/search_bar/query/ast.js +14 -3
- package/optimize/es/components/tool_tip/tool_tip.js +3 -2
- package/optimize/es/components/tool_tip/tool_tip.styles.js +17 -22
- package/optimize/es/components/tool_tip/tool_tip_anchor.js +2 -2
- package/optimize/es/components/tool_tip/tool_tip_arrow.js +9 -3
- package/optimize/es/components/tool_tip/tool_tip_popover.js +7 -7
- package/optimize/es/components/tour/tour.styles.js +4 -3
- package/optimize/es/components/tour/tour_step.js +7 -5
- package/optimize/es/global_styling/functions/logicals.js +5 -3
- package/optimize/es/global_styling/functions/math.js +35 -17
- package/optimize/es/global_styling/mixins/_padding.js +13 -9
- package/optimize/lib/components/basic_table/in_memory_table.js +1 -1
- package/optimize/lib/components/breadcrumbs/breadcrumb.js +3 -2
- package/optimize/lib/components/breadcrumbs/breadcrumbs.js +7 -4
- package/optimize/lib/components/code/code.js +9 -3
- package/optimize/lib/components/code/code.styles.js +35 -0
- package/optimize/lib/components/code/code_block.js +71 -306
- package/optimize/lib/components/code/code_block.styles.js +156 -0
- package/optimize/lib/components/code/code_block_controls.js +48 -0
- package/optimize/lib/components/code/code_block_controls.styles.js +39 -0
- package/optimize/lib/components/code/code_block_copy.js +78 -0
- package/optimize/lib/components/code/code_block_full_screen.js +108 -0
- package/optimize/lib/components/code/code_block_line.styles.js +45 -0
- package/optimize/lib/components/code/code_block_overflow.js +82 -0
- package/optimize/lib/components/code/code_block_virtualized.js +81 -0
- package/optimize/lib/components/code/code_syntax.styles.js +57 -0
- package/optimize/lib/components/code/utils.js +40 -37
- package/optimize/lib/components/combo_box/combo_box.js +46 -10
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +13 -6
- package/optimize/lib/components/combo_box/matching_options.js +64 -12
- package/optimize/lib/components/flex/flex_grid.js +21 -36
- package/optimize/lib/components/flex/flex_grid.styles.js +140 -0
- package/optimize/lib/components/flex/flex_group.js +13 -38
- package/optimize/lib/components/flex/flex_group.styles.js +205 -0
- package/optimize/lib/components/flex/flex_item.js +14 -17
- package/optimize/lib/components/flex/flex_item.styles.js +150 -0
- package/optimize/lib/components/flyout/flyout_body.js +2 -3
- package/optimize/lib/components/flyout/flyout_footer.js +2 -3
- package/optimize/lib/components/flyout/flyout_header.js +2 -3
- package/optimize/lib/components/form/described_form_group/described_form_group.js +23 -22
- package/optimize/lib/components/form/eui_form_context.js +28 -0
- package/optimize/lib/components/form/field_number/field_number.js +27 -22
- package/optimize/lib/components/form/field_password/field_password.js +24 -20
- package/optimize/lib/components/form/field_search/field_search.js +7 -2
- package/optimize/lib/components/form/field_text/field_text.js +23 -18
- package/optimize/lib/components/form/file_picker/file_picker.js +7 -1
- package/optimize/lib/components/form/form.js +14 -2
- package/optimize/lib/components/form/form_control_layout/form_control_layout.js +10 -2
- package/optimize/lib/components/form/form_row/form_row.js +9 -4
- package/optimize/lib/components/form/range/dual_range.js +7 -2
- package/optimize/lib/components/form/range/range.js +7 -2
- package/optimize/lib/components/form/range/range_wrapper.js +12 -6
- package/optimize/lib/components/form/select/select.js +29 -24
- package/optimize/lib/components/form/super_select/super_select_control.js +27 -22
- package/optimize/lib/components/form/text_area/text_area.js +20 -15
- package/optimize/lib/components/icon/assets/filter.js +1 -2
- package/optimize/lib/components/icon/assets/filterExclude.js +49 -0
- package/optimize/lib/components/icon/assets/filterIgnore.js +44 -0
- package/optimize/lib/components/icon/assets/filterInclude.js +44 -0
- package/optimize/lib/components/icon/assets/indexTemporary.js +46 -0
- package/optimize/lib/components/icon/assets/infinity.js +44 -0
- package/optimize/lib/components/icon/assets/sortAscending.js +44 -0
- package/optimize/lib/components/icon/assets/sortDescending.js +44 -0
- package/optimize/lib/components/icon/icon_map.js +7 -0
- package/optimize/lib/components/icon/svgs/filter.svg +1 -1
- package/optimize/lib/components/icon/svgs/filterExclude.svg +5 -0
- package/optimize/lib/components/icon/svgs/filterIgnore.svg +4 -0
- package/optimize/lib/components/icon/svgs/filterInclude.svg +5 -0
- package/optimize/lib/components/icon/svgs/indexTemporary.svg +4 -0
- package/optimize/lib/components/icon/svgs/infinity.svg +3 -0
- package/optimize/lib/components/icon/svgs/sortAscending.svg +3 -0
- package/optimize/lib/components/icon/svgs/sortDescending.svg +3 -0
- package/optimize/lib/components/image/image_fullscreen_wrapper.js +3 -3
- package/optimize/lib/components/overlay_mask/overlay_mask.js +9 -9
- package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +13 -17
- package/optimize/lib/components/overlay_mask/overlay_mask_body.styles.js +20 -0
- package/optimize/lib/components/page/page_section/page_section.js +4 -3
- package/optimize/lib/components/pagination/pagination.js +4 -4
- package/optimize/lib/components/provider/provider.js +7 -12
- package/optimize/lib/components/resizable_container/helpers.js +2 -2
- package/optimize/lib/components/resizable_container/resizable_container.js +74 -25
- package/optimize/lib/components/resizable_container/resizable_container.styles.js +31 -0
- package/optimize/lib/components/resizable_container/resizable_panel.js +28 -49
- package/optimize/lib/components/resizable_container/resizable_panel.styles.js +76 -0
- package/optimize/lib/components/search_bar/query/ast.js +14 -3
- package/optimize/lib/components/tool_tip/tool_tip.js +3 -2
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +18 -26
- package/optimize/lib/components/tool_tip/tool_tip_anchor.js +2 -2
- package/optimize/lib/components/tool_tip/tool_tip_arrow.js +10 -10
- package/optimize/lib/components/tool_tip/tool_tip_popover.js +6 -6
- package/optimize/lib/components/tour/tour.styles.js +3 -2
- package/optimize/lib/components/tour/tour_step.js +7 -5
- package/optimize/lib/global_styling/functions/logicals.js +4 -10
- package/optimize/lib/global_styling/functions/math.js +37 -19
- package/optimize/lib/global_styling/mixins/_padding.js +17 -10
- package/package.json +24 -21
- package/src/components/index.scss +0 -2
- package/src/components/resizable_container/_index.scss +0 -2
- package/src/global_styling/mixins/_header.scss +1 -1
- package/src/global_styling/variables/_index.scss +0 -1
- package/src/themes/amsterdam/overrides/_index.scss +0 -1
- 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 +15 -3
- package/test-env/components/breadcrumbs/breadcrumb.js +9 -5
- package/test-env/components/breadcrumbs/breadcrumbs.js +7 -4
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- 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/code/code.styles.js +35 -0
- package/test-env/components/code/code_block.styles.js +156 -0
- package/test-env/components/code/code_block_controls.js +48 -0
- package/test-env/components/code/code_block_controls.styles.js +39 -0
- package/test-env/components/code/code_block_copy.js +78 -0
- package/test-env/components/code/code_block_full_screen.js +108 -0
- package/test-env/components/code/code_block_line.styles.js +45 -0
- package/test-env/components/code/code_block_overflow.js +82 -0
- package/test-env/components/code/code_block_virtualized.js +81 -0
- package/test-env/components/code/code_syntax.styles.js +57 -0
- package/test-env/components/code/utils.js +40 -37
- package/test-env/components/collapsible_nav/collapsible_nav.js +0 -5
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +18 -0
- package/test-env/components/combo_box/combo_box.js +51 -10
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +14 -6
- package/test-env/components/combo_box/matching_options.js +64 -12
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +13 -13
- package/test-env/components/datagrid/body/data_grid_cell.js +24 -24
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +13 -13
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- 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/flex/flex_grid.js +33 -42
- package/test-env/components/flex/flex_grid.styles.js +140 -0
- package/test-env/components/flex/flex_group.js +17 -42
- package/test-env/components/flex/flex_group.styles.js +205 -0
- package/test-env/components/flex/flex_item.js +20 -18
- package/test-env/components/flex/flex_item.styles.js +150 -0
- package/test-env/components/flyout/flyout_body.js +2 -3
- package/test-env/components/flyout/flyout_footer.js +2 -3
- package/test-env/components/flyout/flyout_header.js +2 -3
- package/test-env/components/form/described_form_group/described_form_group.js +29 -23
- package/test-env/components/form/eui_form_context.js +28 -0
- package/test-env/components/form/field_number/field_number.js +39 -23
- package/test-env/components/form/field_password/field_password.js +31 -20
- package/test-env/components/form/field_search/field_search.js +13 -2
- package/test-env/components/form/field_text/field_text.js +31 -20
- package/test-env/components/form/file_picker/file_picker.js +13 -1
- package/test-env/components/form/form.js +24 -3
- package/test-env/components/form/form_control_layout/form_control_layout.js +17 -3
- 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/form/form_row/form_row.js +21 -4
- package/test-env/components/form/range/dual_range.js +13 -2
- package/test-env/components/form/range/range.js +13 -2
- package/test-env/components/form/range/range_wrapper.js +17 -6
- package/test-env/components/form/select/select.js +41 -24
- package/test-env/components/form/super_select/super_select.js +18 -0
- package/test-env/components/form/super_select/super_select_control.js +27 -22
- package/test-env/components/form/text_area/text_area.js +27 -15
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/assets/filter.js +1 -2
- package/test-env/components/icon/assets/filterExclude.js +49 -0
- package/test-env/components/icon/assets/filterIgnore.js +44 -0
- package/test-env/components/icon/assets/filterInclude.js +44 -0
- package/test-env/components/icon/assets/indexTemporary.js +46 -0
- package/test-env/components/icon/assets/infinity.js +44 -0
- package/test-env/components/icon/assets/sortAscending.js +44 -0
- package/test-env/components/icon/assets/sortDescending.js +44 -0
- package/test-env/components/icon/icon_map.js +7 -0
- package/test-env/components/image/image_fullscreen_wrapper.js +3 -3
- 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/list_group_item_extra_action.js +1 -1
- 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/overlay_mask/overlay_mask.js +9 -14
- package/test-env/components/overlay_mask/overlay_mask.styles.js +13 -17
- package/test-env/components/overlay_mask/overlay_mask_body.styles.js +20 -0
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_section/page_section.js +4 -3
- package/test-env/components/pagination/pagination.js +4 -4
- package/test-env/components/provider/provider.js +7 -12
- package/test-env/components/resizable_container/helpers.js +2 -2
- package/test-env/components/resizable_container/resizable_container.js +84 -25
- package/test-env/components/resizable_container/resizable_container.styles.js +31 -0
- package/test-env/components/resizable_container/resizable_panel.js +28 -49
- package/test-env/components/resizable_container/resizable_panel.styles.js +76 -0
- package/test-env/components/search_bar/query/ast.js +14 -3
- package/test-env/components/search_bar/search_bar.js +6 -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.js +1 -0
- 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/tool_tip/icon_tip.js +1 -1
- package/test-env/components/tool_tip/tool_tip.js +3 -2
- package/test-env/components/tool_tip/tool_tip.styles.js +18 -26
- package/test-env/components/tool_tip/tool_tip_anchor.js +2 -2
- package/test-env/components/tool_tip/tool_tip_arrow.js +16 -11
- package/test-env/components/tool_tip/tool_tip_popover.js +6 -6
- package/test-env/components/tour/tour.styles.js +3 -2
- package/test-env/components/tour/tour_step.js +7 -5
- package/test-env/global_styling/functions/logicals.js +4 -10
- package/test-env/global_styling/functions/math.js +37 -19
- package/test-env/global_styling/mixins/_padding.js +17 -10
- package/src/components/code/_code.scss +0 -15
- package/src/components/code/_code_block.scss +0 -177
- package/src/components/code/_index.scss +0 -4
- package/src/components/code/_mixins.scss +0 -127
- package/src/components/code/_variables.scss +0 -5
- package/src/components/flex/_flex_grid.scss +0 -99
- package/src/components/flex/_flex_group.scss +0 -100
- package/src/components/flex/_flex_item.scss +0 -35
- package/src/components/flex/_index.scss +0 -3
- package/src/components/resizable_container/_resizable_container.scss +0 -8
- package/src/components/resizable_container/_resizable_panel.scss +0 -51
- package/src/global_styling/variables/_colors_code.scss +0 -23
- package/src/themes/amsterdam/overrides/_code.scss +0 -9
|
@@ -19,6 +19,8 @@ var _form_control_layout = require("../form_control_layout");
|
|
|
19
19
|
|
|
20
20
|
var _validatable_control = require("../validatable_control");
|
|
21
21
|
|
|
22
|
+
var _eui_form_context = require("../eui_form_context");
|
|
23
|
+
|
|
22
24
|
var _num_icons = require("../form_control_layout/_num_icons");
|
|
23
25
|
|
|
24
26
|
var _react2 = require("@emotion/react");
|
|
@@ -26,31 +28,34 @@ var _react2 = require("@emotion/react");
|
|
|
26
28
|
var _excluded = ["className", "options", "id", "name", "inputRef", "isInvalid", "fullWidth", "isLoading", "hasNoInitialSelection", "defaultValue", "compressed", "value", "prepend", "append", "onMouseUp", "disabled"],
|
|
27
29
|
_excluded2 = ["text"];
|
|
28
30
|
|
|
29
|
-
var EuiSelect = function EuiSelect(
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
31
|
+
var EuiSelect = function EuiSelect(props) {
|
|
32
|
+
var _useFormContext = (0, _eui_form_context.useFormContext)(),
|
|
33
|
+
defaultFullWidth = _useFormContext.defaultFullWidth;
|
|
34
|
+
|
|
35
|
+
var className = props.className,
|
|
36
|
+
_props$options = props.options,
|
|
37
|
+
options = _props$options === void 0 ? [] : _props$options,
|
|
38
|
+
id = props.id,
|
|
39
|
+
name = props.name,
|
|
40
|
+
inputRef = props.inputRef,
|
|
41
|
+
isInvalid = props.isInvalid,
|
|
42
|
+
_props$fullWidth = props.fullWidth,
|
|
43
|
+
fullWidth = _props$fullWidth === void 0 ? defaultFullWidth : _props$fullWidth,
|
|
44
|
+
_props$isLoading = props.isLoading,
|
|
45
|
+
isLoading = _props$isLoading === void 0 ? false : _props$isLoading,
|
|
46
|
+
_props$hasNoInitialSe = props.hasNoInitialSelection,
|
|
47
|
+
hasNoInitialSelection = _props$hasNoInitialSe === void 0 ? false : _props$hasNoInitialSe,
|
|
48
|
+
defaultValue = props.defaultValue,
|
|
49
|
+
_props$compressed = props.compressed,
|
|
50
|
+
compressed = _props$compressed === void 0 ? false : _props$compressed,
|
|
51
|
+
_value = props.value,
|
|
52
|
+
prepend = props.prepend,
|
|
53
|
+
append = props.append,
|
|
54
|
+
onMouseUp = props.onMouseUp,
|
|
55
|
+
disabled = props.disabled,
|
|
56
|
+
rest = (0, _objectWithoutProperties2.default)(props, _excluded); // if this is injecting an empty option for `hasNoInitialSelection` then
|
|
53
57
|
// value needs to fallback to an empty string to interact properly with `defaultValue`
|
|
58
|
+
|
|
54
59
|
var value = hasNoInitialSelection ? _value !== null && _value !== void 0 ? _value : '' : _value;
|
|
55
60
|
|
|
56
61
|
var handleMouseUp = function handleMouseUp(e) {
|
|
@@ -25,6 +25,8 @@ var _i18n = require("../../i18n");
|
|
|
25
25
|
|
|
26
26
|
var _num_icons = require("../form_control_layout/_num_icons");
|
|
27
27
|
|
|
28
|
+
var _eui_form_context = require("../eui_form_context");
|
|
29
|
+
|
|
28
30
|
var _react2 = require("@emotion/react");
|
|
29
31
|
|
|
30
32
|
var _excluded = ["className", "options", "id", "name", "fullWidth", "isLoading", "isInvalid", "readOnly", "defaultValue", "compressed", "value", "prepend", "append", "screenReaderId", "disabled"];
|
|
@@ -33,28 +35,31 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
33
35
|
|
|
34
36
|
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; }
|
|
35
37
|
|
|
36
|
-
var EuiSuperSelectControl = function EuiSuperSelectControl(
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
38
|
+
var EuiSuperSelectControl = function EuiSuperSelectControl(props) {
|
|
39
|
+
var _useFormContext = (0, _eui_form_context.useFormContext)(),
|
|
40
|
+
defaultFullWidth = _useFormContext.defaultFullWidth;
|
|
41
|
+
|
|
42
|
+
var className = props.className,
|
|
43
|
+
_props$options = props.options,
|
|
44
|
+
options = _props$options === void 0 ? [] : _props$options,
|
|
45
|
+
id = props.id,
|
|
46
|
+
name = props.name,
|
|
47
|
+
_props$fullWidth = props.fullWidth,
|
|
48
|
+
fullWidth = _props$fullWidth === void 0 ? defaultFullWidth : _props$fullWidth,
|
|
49
|
+
_props$isLoading = props.isLoading,
|
|
50
|
+
isLoading = _props$isLoading === void 0 ? false : _props$isLoading,
|
|
51
|
+
_props$isInvalid = props.isInvalid,
|
|
52
|
+
isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
|
|
53
|
+
readOnly = props.readOnly,
|
|
54
|
+
defaultValue = props.defaultValue,
|
|
55
|
+
_props$compressed = props.compressed,
|
|
56
|
+
compressed = _props$compressed === void 0 ? false : _props$compressed,
|
|
57
|
+
value = props.value,
|
|
58
|
+
prepend = props.prepend,
|
|
59
|
+
append = props.append,
|
|
60
|
+
screenReaderId = props.screenReaderId,
|
|
61
|
+
disabled = props.disabled,
|
|
62
|
+
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
58
63
|
var numIconsClass = (0, _num_icons.getFormControlClassNameForIconCount)({
|
|
59
64
|
isInvalid: isInvalid,
|
|
60
65
|
isLoading: isLoading,
|
|
@@ -17,6 +17,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
17
17
|
|
|
18
18
|
var _validatable_control = require("../validatable_control");
|
|
19
19
|
|
|
20
|
+
var _eui_form_context = require("../eui_form_context");
|
|
21
|
+
|
|
20
22
|
var _react2 = require("@emotion/react");
|
|
21
23
|
|
|
22
24
|
var _excluded = ["children", "className", "compressed", "fullWidth", "id", "inputRef", "isInvalid", "name", "placeholder", "resize", "rows"];
|
|
@@ -29,21 +31,24 @@ var resizeToClassNameMap = {
|
|
|
29
31
|
var RESIZE = Object.keys(resizeToClassNameMap);
|
|
30
32
|
exports.RESIZE = RESIZE;
|
|
31
33
|
|
|
32
|
-
var EuiTextArea = function EuiTextArea(
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
var EuiTextArea = function EuiTextArea(props) {
|
|
35
|
+
var _useFormContext = (0, _eui_form_context.useFormContext)(),
|
|
36
|
+
defaultFullWidth = _useFormContext.defaultFullWidth;
|
|
37
|
+
|
|
38
|
+
var children = props.children,
|
|
39
|
+
className = props.className,
|
|
40
|
+
compressed = props.compressed,
|
|
41
|
+
_props$fullWidth = props.fullWidth,
|
|
42
|
+
fullWidth = _props$fullWidth === void 0 ? defaultFullWidth : _props$fullWidth,
|
|
43
|
+
id = props.id,
|
|
44
|
+
inputRef = props.inputRef,
|
|
45
|
+
isInvalid = props.isInvalid,
|
|
46
|
+
name = props.name,
|
|
47
|
+
placeholder = props.placeholder,
|
|
48
|
+
_props$resize = props.resize,
|
|
49
|
+
resize = _props$resize === void 0 ? 'vertical' : _props$resize,
|
|
50
|
+
rows = props.rows,
|
|
51
|
+
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
47
52
|
var classes = (0, _classnames.default)('euiTextArea', resizeToClassNameMap[resize], {
|
|
48
53
|
'euiTextArea--fullWidth': fullWidth,
|
|
49
54
|
'euiTextArea--compressed': compressed
|
|
@@ -36,8 +36,7 @@ var EuiIconFilter = function EuiIconFilter(_ref) {
|
|
|
36
36
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
37
|
id: titleId
|
|
38
38
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
-
|
|
40
|
-
d: "M7.999 15.999a8 8 0 110-16 8 8 0 010 16zM8 15A7 7 0 108 1a7 7 0 000 14zM3.5 5h9a.5.5 0 110 1h-9a.5.5 0 010-1zm2 3h5a.5.5 0 110 1h-5a.5.5 0 010-1zm2 3h1a.5.5 0 110 1h-1a.5.5 0 110-1z"
|
|
39
|
+
d: "M3 5.5a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5zm2 3a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM7.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z"
|
|
41
40
|
}));
|
|
42
41
|
};
|
|
43
42
|
|
|
@@ -0,0 +1,49 @@
|
|
|
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 EuiIconFilterExclude = function EuiIconFilterExclude(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M.5 1a.5.5 0 000 1h9a.5.5 0 000-1h-9z"
|
|
40
|
+
}), (0, _react2.jsx)("path", {
|
|
41
|
+
fillRule: "evenodd",
|
|
42
|
+
d: "M16 11.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-8 0a.5.5 0 01.5-.5h6a.5.5 0 010 1h-6a.5.5 0 01-.5-.5z"
|
|
43
|
+
}), (0, _react2.jsx)("path", {
|
|
44
|
+
d: "M2 4.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7a.5.5 0 000 1h1a.5.5 0 000-1h-1z"
|
|
45
|
+
}));
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
var icon = EuiIconFilterExclude;
|
|
49
|
+
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 EuiIconFilterIgnore = function EuiIconFilterIgnore(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M.5 1a.5.5 0 000 1h9a.5.5 0 000-1h-9zM2 4.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm2 3a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM16 11.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-4.5-.707L9.854 9.146a.5.5 0 10-.708.708l1.647 1.646-1.647 1.646a.5.5 0 00.708.708l1.646-1.647 1.646 1.647a.5.5 0 00.708-.708L12.207 11.5l1.647-1.646a.5.5 0 00-.708-.708L11.5 10.793z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconFilterIgnore;
|
|
44
|
+
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 EuiIconFilterInclude = function EuiIconFilterInclude(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M.5 1a.5.5 0 000 1h9a.5.5 0 000-1h-9zM16 11.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-4-3a.5.5 0 00-1 0V11H8.5a.5.5 0 000 1H11v2.5a.5.5 0 001 0V12h2.5a.5.5 0 000-1H12V8.5zM2 4.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7a.5.5 0 000 1h1a.5.5 0 000-1h-1z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconFilterInclude;
|
|
44
|
+
exports.icon = icon;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 EuiIconIndexTemporary = function EuiIconIndexTemporary(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M3 13V2h11V1H2v13h2v-1H3z"
|
|
40
|
+
}), (0, _react2.jsx)("path", {
|
|
41
|
+
d: "M11.999 5H6V4h5.999v1zM4 4v1h1V4H4zm2 3v1h4V7H6zM4 7v1h1V7H4zm2 3v1h2v-1H6zm-2 0v1h1v-1H4zm10-7h-1v1h1V3zm-1 2h1v1h-1V5zm1 2h-1v1h1V7zm-1 2h1v1h-1V9zm1 2h-1v1h1v-1zm-1 2h1v1h-1v-1zm-7 0H5v1h1v-1zm1 0h1v1H7v-1zm3 0H9v1h1v-1zm1 0h1v1h-1v-1z"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
var icon = EuiIconIndexTemporary;
|
|
46
|
+
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 EuiIconInfinity = function EuiIconInfinity(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M5.37 9.457A1.994 1.994 0 013.993 10a2 2 0 111.403-3.433l.601.679 1.336-1.508-.462-.522a4 4 0 10-.041 5.613l.021-.022 3.777-4.265.002.001a2 2 0 11-.024 2.89l-.601-.679-1.336 1.508.462.522a4 4 0 100-5.569l-3.74 4.223a1.991 1.991 0 01-.02.02z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconInfinity;
|
|
44
|
+
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 EuiIconSortAscending = function EuiIconSortAscending(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M3.854 3.146a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.708L3 4.707V11.5a.5.5 0 001 0V4.707l1.146 1.147a.5.5 0 10.708-.708l-2-2zM8 4.5a.5.5 0 01.5-.5h6a.5.5 0 010 1h-6a.5.5 0 01-.5-.5zM8.5 7a.5.5 0 000 1h4a.5.5 0 000-1h-4zM8 10.5a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2a.5.5 0 01-.5-.5z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconSortAscending;
|
|
44
|
+
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 EuiIconSortDescending = function EuiIconSortDescending(_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
|
+
width: 16,
|
|
33
|
+
height: 16,
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
"aria-labelledby": titleId
|
|
36
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
37
|
+
id: titleId
|
|
38
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
39
|
+
d: "M4 10.293V3.5a.5.5 0 00-1 0v6.793L1.854 9.146a.5.5 0 10-.708.708l2 2a.5.5 0 00.708 0l2-2a.5.5 0 10-.708-.708L4 10.293zM8 4.5a.5.5 0 01.5-.5h6a.5.5 0 010 1h-6a.5.5 0 01-.5-.5zM8.5 7a.5.5 0 000 1h4a.5.5 0 000-1h-4zM8 10.5a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2a.5.5 0 01-.5-.5z"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var icon = EuiIconSortDescending;
|
|
44
|
+
exports.icon = icon;
|
|
@@ -141,6 +141,9 @@ var typeToPathMap = {
|
|
|
141
141
|
faceSad: 'face_sad',
|
|
142
142
|
filebeatApp: 'app_filebeat',
|
|
143
143
|
filter: 'filter',
|
|
144
|
+
filterExclude: 'filterExclude',
|
|
145
|
+
filterIgnore: 'filterIgnore',
|
|
146
|
+
filterInclude: 'filterInclude',
|
|
144
147
|
flag: 'flag',
|
|
145
148
|
fleetApp: 'app_agent',
|
|
146
149
|
fold: 'fold',
|
|
@@ -180,6 +183,8 @@ var typeToPathMap = {
|
|
|
180
183
|
indexRollupApp: 'app_index_rollup',
|
|
181
184
|
indexRuntime: 'index_runtime',
|
|
182
185
|
indexSettings: 'index_settings',
|
|
186
|
+
indexTemporary: 'indexTemporary',
|
|
187
|
+
infinity: 'infinity',
|
|
183
188
|
inputOutput: 'inputOutput',
|
|
184
189
|
inspect: 'inspect',
|
|
185
190
|
invert: 'invert',
|
|
@@ -340,6 +345,8 @@ var typeToPathMap = {
|
|
|
340
345
|
shard: 'shard',
|
|
341
346
|
share: 'share',
|
|
342
347
|
snowflake: 'snowflake',
|
|
348
|
+
sortAscending: 'sortAscending',
|
|
349
|
+
sortDescending: 'sortDescending',
|
|
343
350
|
sortDown: 'sort_down',
|
|
344
351
|
sortLeft: 'sortLeft',
|
|
345
352
|
sortRight: 'sortRight',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<path
|
|
2
|
+
<path d="M3 5.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm2 3a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM7.5 11a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"/>
|
|
3
3
|
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M.5 1a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9Z"/>
|
|
3
|
+
<path fill-rule="evenodd" d="M16 11.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-8 0a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5Z"/>
|
|
4
|
+
<path d="M2 4.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M.5 1a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9ZM2 4.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm2 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"/>
|
|
3
|
+
<path d="M16 11.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4.5-.707L9.854 9.146a.5.5 0 1 0-.708.708l1.647 1.646-1.647 1.646a.5.5 0 0 0 .708.708l1.646-1.647 1.646 1.647a.5.5 0 0 0 .708-.708L12.207 11.5l1.647-1.646a.5.5 0 0 0-.708-.708L11.5 10.793Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M.5 1a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9Z"/>
|
|
3
|
+
<path d="M16 11.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-3a.5.5 0 0 0-1 0V11H8.5a.5.5 0 0 0 0 1H11v2.5a.5.5 0 0 0 1 0V12h2.5a.5.5 0 0 0 0-1H12V8.5Z"/>
|
|
4
|
+
<path d="M2 4.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M3 13V2h11V1H2v13h2v-1H3Z"/>
|
|
3
|
+
<path d="M11.999 5H6V4h5.999v1ZM4 4v1h1V4H4Zm2 3v1h4V7H6ZM4 7v1h1V7H4Zm2 3v1h2v-1H6Zm-2 0v1h1v-1H4Zm10-7h-1v1h1V3Zm-1 2h1v1h-1V5Zm1 2h-1v1h1V7Zm-1 2h1v1h-1V9Zm1 2h-1v1h1v-1Zm-1 2h1v1h-1v-1Zm-7 0H5v1h1v-1Zm1 0h1v1H7v-1Zm3 0H9v1h1v-1Zm1 0h1v1h-1v-1Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M5.37 9.457A1.994 1.994 0 0 1 3.993 10a2 2 0 1 1 1.403-3.433l.601.679 1.336-1.508-.462-.522a4 4 0 1 0-.041 5.613l.021-.022 3.777-4.265.002.001a2 2 0 1 1-.024 2.89l-.601-.679-1.336 1.508.462.522a4 4 0 1 0 0-5.569l-3.74 4.223a1.991 1.991 0 0 1-.02.02Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M3.854 3.146a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L3 4.707V11.5a.5.5 0 0 0 1 0V4.707l1.146 1.147a.5.5 0 1 0 .708-.708l-2-2ZM8 4.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5ZM8.5 7a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4ZM8 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M4 10.293V3.5a.5.5 0 0 0-1 0v6.793L1.854 9.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 1 0-.708-.708L4 10.293ZM8 4.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5ZM8.5 7a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4ZM8 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Z"/>
|
|
3
|
+
</svg>
|
|
@@ -80,10 +80,10 @@ var EuiImageFullScreenWrapper = function EuiImageFullScreenWrapper(_ref) {
|
|
|
80
80
|
}, (0, _react2.jsx)(_focus_trap.EuiFocusTrap, {
|
|
81
81
|
onClickOutside: closeFullScreen
|
|
82
82
|
}, (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)("figure", (0, _extends2.default)({
|
|
83
|
-
"aria-label": optionalCaptionText
|
|
84
|
-
}, wrapperProps, {
|
|
85
|
-
className: classes,
|
|
83
|
+
"aria-label": optionalCaptionText,
|
|
86
84
|
css: cssStyles
|
|
85
|
+
}, wrapperProps, {
|
|
86
|
+
className: classes
|
|
87
87
|
}), (0, _react2.jsx)(_image_button.EuiImageButton, {
|
|
88
88
|
hasAlt: !!alt,
|
|
89
89
|
hasShadow: hasShadow,
|