@elastic/eui 119.1.0 → 120.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-icons.json +74 -82
- package/dist/svgs/cloud_bolt.svg +4 -0
- package/dist/svgs/cloud_rain.svg +4 -0
- package/dist/svgs/cloud_sun.svg +4 -0
- package/dist/svgs/cube.svg +3 -0
- package/dist/svgs/kubernetes_namespace.svg +4 -0
- package/dist/svgs/memory.svg +1 -10
- package/dist/svgs/product_timelion.svg +3 -0
- package/dist/svgs/product_tsvb.svg +5 -0
- package/dist/svgs/push.svg +4 -0
- package/dist/svgs/transition_right_in.svg +4 -0
- package/dist/svgs/transition_right_out.svg +4 -0
- package/dist/svgs/wrench.svg +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 +4 -4
- package/es/components/basic_table/in_memory_table.js +4 -4
- package/es/components/button/button.js +17 -5
- 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 +111 -29
- package/es/components/button/button_group/button_group.styles.js +20 -7
- package/es/components/button/button_group/use_button_group_selection.js +30 -0
- package/es/components/button/button_icon/button_icon.js +18 -7
- package/es/components/button/use_button_common_props.js +16 -7
- package/es/components/call_out/call_out.js +2 -2
- package/es/components/card/card.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- 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/context_menu/context_menu_item.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/es/components/datagrid/body/data_grid_body.js +13 -13
- package/es/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/es/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/es/components/datagrid/controls/column_sorting.js +13 -13
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- 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/date_picker/react-datepicker/src/month_dropdown.js +0 -1
- package/es/components/date_picker/react-datepicker/src/month_dropdown_options.js +0 -1
- package/es/components/date_picker/react-datepicker/src/month_year_dropdown.js +0 -1
- package/es/components/date_picker/react-datepicker/src/year_dropdown.js +0 -1
- package/es/components/date_picker/react-datepicker/test/helper_components/custom_input.js +74 -0
- package/es/components/date_picker/react-datepicker/test/test_wrapper.js +38 -0
- package/es/components/date_picker/react-datepicker/test/timezone_date_picker.js +75 -0
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +224 -253
- package/es/components/date_picker/super_date_picker/super_update_button.js +1 -1
- package/es/components/delay_hide/delay_hide.js +36 -93
- package/es/components/delay_render/delay_render.js +42 -80
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/flyout/flyout_menu/flyout_menu.js +4 -4
- package/es/components/form/field_number/field_number.js +2 -2
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_button/form_control_button.js +1 -1
- package/es/components/form/form_control_layout/append_prepend/form_append_prepend.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/text_area/text_area.js +2 -2
- 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/header_logo.js +1 -1
- package/es/components/header/header_section/header_section_item_button.js +1 -1
- package/es/components/icon/assets/{kubernetes_pod.js → cloud_bolt.js} +5 -3
- package/es/components/icon/assets/{branch_user.js → cloud_rain.js} +4 -6
- package/es/components/icon/assets/{cloud_stormy.js → cloud_sun.js} +3 -3
- package/es/components/icon/assets/{kql_function.js → cube.js} +3 -3
- package/es/components/icon/assets/{cloud_drizzle.js → kubernetes_namespace.js} +5 -3
- package/es/components/icon/assets/memory.js +1 -3
- package/es/components/icon/assets/{continuity_below.js → product_timelion.js} +3 -3
- package/es/components/icon/assets/{cloud_sunny.js → product_tsvb.js} +7 -3
- package/es/components/icon/assets/{namespace.js → push.js} +3 -6
- package/es/components/icon/assets/{function.js → transition_right_in.js} +5 -3
- package/es/components/icon/assets/{continuity_above_below.js → transition_right_out.js} +5 -3
- package/es/components/icon/assets/wrench.js +1 -3
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/es/components/icon/icon_map.js +143 -58
- package/es/components/icon/svgs/cloud_bolt.svg +4 -0
- package/es/components/icon/svgs/cloud_rain.svg +4 -0
- package/es/components/icon/svgs/cloud_sun.svg +4 -0
- package/es/components/icon/svgs/cube.svg +3 -0
- package/es/components/icon/svgs/kubernetes_namespace.svg +4 -0
- package/es/components/icon/svgs/memory.svg +1 -10
- package/es/components/icon/svgs/product_timelion.svg +3 -0
- package/es/components/icon/svgs/product_tsvb.svg +5 -0
- package/es/components/icon/svgs/push.svg +4 -0
- package/es/components/icon/svgs/transition_right_in.svg +4 -0
- package/es/components/icon/svgs/transition_right_out.svg +4 -0
- package/es/components/icon/svgs/wrench.svg +1 -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/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/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/resizable_container/resizable_collapse_button.js +4 -4
- 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/table/table_header_cell.js +1 -1
- package/es/components/text_diff/text_diff.js +4 -6
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +2 -2
- package/es/components/toast/toast.js +2 -2
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/eui.d.ts +224 -275
- 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 +4 -4
- package/lib/components/basic_table/in_memory_table.js +4 -4
- package/lib/components/button/button.js +17 -5
- 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 +111 -29
- package/lib/components/button/button_group/button_group.styles.js +19 -6
- package/lib/components/button/button_group/use_button_group_selection.js +36 -0
- package/lib/components/button/button_icon/button_icon.js +18 -7
- package/lib/components/button/use_button_common_props.js +16 -7
- package/lib/components/call_out/call_out.js +2 -2
- package/lib/components/card/card.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- 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/context_menu/context_menu_item.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/lib/components/datagrid/body/data_grid_body.js +13 -13
- package/lib/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/lib/components/datagrid/controls/column_sorting.js +13 -13
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- 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/date_picker/react-datepicker/src/month_dropdown.js +0 -1
- package/lib/components/date_picker/react-datepicker/src/month_dropdown_options.js +0 -1
- package/lib/components/date_picker/react-datepicker/src/month_year_dropdown.js +0 -1
- package/lib/components/date_picker/react-datepicker/src/year_dropdown.js +0 -1
- package/lib/components/date_picker/react-datepicker/test/helper_components/custom_input.js +80 -0
- package/lib/components/date_picker/react-datepicker/test/test_wrapper.js +46 -0
- package/lib/components/date_picker/react-datepicker/test/timezone_date_picker.js +83 -0
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +224 -253
- package/lib/components/date_picker/super_date_picker/super_update_button.js +1 -1
- package/lib/components/delay_hide/delay_hide.js +35 -93
- package/lib/components/delay_render/delay_render.js +41 -79
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/flyout/flyout_menu/flyout_menu.js +4 -4
- package/lib/components/form/field_number/field_number.js +2 -2
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_button/form_control_button.js +1 -1
- package/lib/components/form/form_control_layout/append_prepend/form_append_prepend.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/text_area/text_area.js +2 -2
- 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/header_logo.js +1 -1
- package/lib/components/header/header_section/header_section_item_button.js +1 -1
- package/lib/components/icon/assets/{kubernetes_pod.js → cloud_bolt.js} +5 -3
- package/lib/components/icon/assets/{branch_user.js → cloud_rain.js} +4 -6
- package/lib/components/icon/assets/{cloud_stormy.js → cloud_sun.js} +3 -3
- package/lib/components/icon/assets/{kql_function.js → cube.js} +3 -3
- package/lib/components/icon/assets/{cloud_drizzle.js → kubernetes_namespace.js} +5 -3
- package/lib/components/icon/assets/memory.js +1 -3
- package/lib/components/icon/assets/{continuity_below.js → product_timelion.js} +3 -3
- package/lib/components/icon/assets/{cloud_sunny.js → product_tsvb.js} +7 -3
- package/lib/components/icon/assets/{namespace.js → push.js} +3 -6
- package/lib/components/icon/assets/{function.js → transition_right_in.js} +5 -3
- package/lib/components/icon/assets/{continuity_above_below.js → transition_right_out.js} +5 -3
- package/lib/components/icon/assets/wrench.js +1 -3
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/lib/components/icon/icon_map.js +165 -78
- package/lib/components/icon/svgs/cloud_bolt.svg +4 -0
- package/lib/components/icon/svgs/cloud_rain.svg +4 -0
- package/lib/components/icon/svgs/cloud_sun.svg +4 -0
- package/lib/components/icon/svgs/cube.svg +3 -0
- package/lib/components/icon/svgs/kubernetes_namespace.svg +4 -0
- package/lib/components/icon/svgs/memory.svg +1 -10
- package/lib/components/icon/svgs/product_timelion.svg +3 -0
- package/lib/components/icon/svgs/product_tsvb.svg +5 -0
- package/lib/components/icon/svgs/push.svg +4 -0
- package/lib/components/icon/svgs/transition_right_in.svg +4 -0
- package/lib/components/icon/svgs/transition_right_out.svg +4 -0
- package/lib/components/icon/svgs/wrench.svg +1 -1
- 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/page/page_header/page_header_content.js +1 -1
- package/lib/components/pagination/pagination_button.js +1 -1
- package/lib/components/resizable_container/resizable_collapse_button.js +4 -4
- 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/table/table_header_cell.js +1 -1
- package/lib/components/text_diff/text_diff.js +4 -6
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +2 -2
- package/lib/components/toast/toast.js +2 -2
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/optimize/es/components/button/button.js +17 -5
- package/optimize/es/components/button/button_group/button_group.js +44 -12
- package/optimize/es/components/button/button_group/button_group.styles.js +20 -7
- package/optimize/es/components/button/button_group/use_button_group_selection.js +30 -0
- package/optimize/es/components/button/button_icon/button_icon.js +17 -6
- package/optimize/es/components/button/use_button_common_props.js +16 -7
- package/optimize/es/components/date_picker/react-datepicker/src/month_dropdown.js +0 -1
- package/optimize/es/components/date_picker/react-datepicker/src/month_dropdown_options.js +0 -1
- package/optimize/es/components/date_picker/react-datepicker/src/month_year_dropdown.js +0 -1
- package/optimize/es/components/date_picker/react-datepicker/src/year_dropdown.js +0 -1
- package/optimize/es/components/date_picker/react-datepicker/test/helper_components/custom_input.js +68 -0
- package/optimize/es/components/date_picker/react-datepicker/test/test_wrapper.js +38 -0
- package/optimize/es/components/date_picker/react-datepicker/test/timezone_date_picker.js +69 -0
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +220 -225
- package/optimize/es/components/date_picker/super_date_picker/super_update_button.js +1 -1
- package/optimize/es/components/delay_hide/delay_hide.js +31 -81
- package/optimize/es/components/delay_render/delay_render.js +36 -73
- package/optimize/es/components/icon/assets/{continuity_below.js → cloud_bolt.js} +5 -3
- package/optimize/es/components/icon/assets/{branch_user.js → cloud_rain.js} +4 -6
- package/optimize/es/components/icon/assets/{cloud_sunny.js → cloud_sun.js} +3 -3
- package/optimize/es/components/icon/assets/{kql_function.js → cube.js} +3 -3
- package/optimize/es/components/icon/assets/{cloud_drizzle.js → kubernetes_namespace.js} +5 -3
- package/optimize/es/components/icon/assets/memory.js +1 -3
- package/optimize/es/components/icon/assets/product_timelion.js +32 -0
- package/optimize/es/components/icon/assets/{cloud_stormy.js → product_tsvb.js} +7 -3
- package/optimize/es/components/icon/assets/{namespace.js → push.js} +3 -6
- package/optimize/es/components/icon/assets/{function.js → transition_right_in.js} +5 -3
- package/optimize/es/components/icon/assets/{continuity_above_below.js → transition_right_out.js} +5 -3
- package/optimize/es/components/icon/assets/wrench.js +1 -3
- package/optimize/es/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/es/components/icon/icon_map.js +143 -58
- package/optimize/es/components/icon/svgs/cloud_bolt.svg +4 -0
- package/optimize/es/components/icon/svgs/cloud_rain.svg +4 -0
- package/optimize/es/components/icon/svgs/cloud_sun.svg +4 -0
- package/optimize/es/components/icon/svgs/cube.svg +3 -0
- package/optimize/es/components/icon/svgs/kubernetes_namespace.svg +4 -0
- package/optimize/es/components/icon/svgs/memory.svg +1 -10
- package/optimize/es/components/icon/svgs/product_timelion.svg +3 -0
- package/optimize/es/components/icon/svgs/product_tsvb.svg +5 -0
- package/optimize/es/components/icon/svgs/push.svg +4 -0
- package/optimize/es/components/icon/svgs/transition_right_in.svg +4 -0
- package/optimize/es/components/icon/svgs/transition_right_out.svg +4 -0
- package/optimize/es/components/icon/svgs/wrench.svg +1 -1
- package/optimize/es/components/resizable_container/resizable_collapse_button.js +4 -4
- package/optimize/es/components/text_diff/text_diff.js +4 -6
- package/optimize/lib/components/button/button.js +17 -5
- package/optimize/lib/components/button/button_group/button_group.js +44 -12
- package/optimize/lib/components/button/button_group/button_group.styles.js +19 -6
- package/optimize/lib/components/button/button_group/use_button_group_selection.js +36 -0
- package/optimize/lib/components/button/button_icon/button_icon.js +17 -6
- package/optimize/lib/components/button/use_button_common_props.js +16 -7
- package/optimize/lib/components/date_picker/react-datepicker/src/month_dropdown.js +0 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/month_dropdown_options.js +0 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/month_year_dropdown.js +0 -1
- package/optimize/lib/components/date_picker/react-datepicker/src/year_dropdown.js +0 -1
- package/optimize/lib/components/date_picker/react-datepicker/test/helper_components/custom_input.js +74 -0
- package/optimize/lib/components/date_picker/react-datepicker/test/test_wrapper.js +46 -0
- package/optimize/lib/components/date_picker/react-datepicker/test/timezone_date_picker.js +78 -0
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +219 -224
- package/optimize/lib/components/date_picker/super_date_picker/super_update_button.js +1 -1
- package/optimize/lib/components/delay_hide/delay_hide.js +32 -80
- package/optimize/lib/components/delay_render/delay_render.js +37 -72
- package/optimize/lib/components/icon/assets/{continuity_below.js → cloud_bolt.js} +5 -3
- package/{test-env/components/icon/assets/branch_user.js → optimize/lib/components/icon/assets/cloud_rain.js} +4 -6
- package/optimize/lib/components/icon/assets/{cloud_sunny.js → cloud_sun.js} +3 -3
- package/{test-env/components/icon/assets/kql_function.js → optimize/lib/components/icon/assets/cube.js} +3 -3
- package/optimize/lib/components/icon/assets/{cloud_drizzle.js → kubernetes_namespace.js} +5 -3
- package/optimize/lib/components/icon/assets/memory.js +1 -3
- package/{test-env/components/icon/assets/continuity_below.js → optimize/lib/components/icon/assets/product_timelion.js} +3 -3
- package/optimize/lib/components/icon/assets/product_tsvb.js +44 -0
- package/{test-env/components/icon/assets/namespace.js → optimize/lib/components/icon/assets/push.js} +3 -6
- package/optimize/lib/components/icon/assets/{function.js → transition_right_in.js} +5 -3
- package/optimize/lib/components/icon/assets/transition_right_out.js +42 -0
- package/optimize/lib/components/icon/assets/wrench.js +1 -3
- package/optimize/lib/components/icon/icon_glyphs.a11y.js +1 -1
- package/optimize/lib/components/icon/icon_map.js +165 -78
- package/optimize/lib/components/icon/svgs/cloud_bolt.svg +4 -0
- package/optimize/lib/components/icon/svgs/cloud_rain.svg +4 -0
- package/optimize/lib/components/icon/svgs/cloud_sun.svg +4 -0
- package/optimize/lib/components/icon/svgs/cube.svg +3 -0
- package/optimize/lib/components/icon/svgs/kubernetes_namespace.svg +4 -0
- package/optimize/lib/components/icon/svgs/memory.svg +1 -10
- package/optimize/lib/components/icon/svgs/product_timelion.svg +3 -0
- package/optimize/lib/components/icon/svgs/product_tsvb.svg +5 -0
- package/optimize/lib/components/icon/svgs/push.svg +4 -0
- package/optimize/lib/components/icon/svgs/transition_right_in.svg +4 -0
- package/optimize/lib/components/icon/svgs/transition_right_out.svg +4 -0
- package/optimize/lib/components/icon/svgs/wrench.svg +1 -1
- package/optimize/lib/components/resizable_container/resizable_collapse_button.js +4 -4
- package/optimize/lib/components/text_diff/text_diff.js +4 -6
- package/package.json +12 -10
- 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 +4 -4
- package/test-env/components/basic_table/in_memory_table.js +4 -4
- package/test-env/components/button/button.js +17 -5
- 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 +111 -29
- package/test-env/components/button/button_group/button_group.styles.js +19 -6
- package/test-env/components/button/button_group/use_button_group_selection.js +36 -0
- package/test-env/components/button/button_icon/button_icon.js +18 -7
- package/test-env/components/button/use_button_common_props.js +16 -7
- package/test-env/components/call_out/call_out.js +2 -2
- package/test-env/components/card/card.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 +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/context_menu/context_menu_item.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +24 -24
- package/test-env/components/datagrid/body/data_grid_body.js +13 -13
- package/test-env/components/datagrid/body/data_grid_body_custom.js +13 -13
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +13 -13
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/test-env/components/datagrid/controls/column_sorting.js +13 -13
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
- 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/date_picker/react-datepicker/src/month_dropdown.js +0 -1
- package/test-env/components/date_picker/react-datepicker/src/month_dropdown_options.js +0 -1
- package/test-env/components/date_picker/react-datepicker/src/month_year_dropdown.js +0 -1
- package/test-env/components/date_picker/react-datepicker/src/year_dropdown.js +0 -1
- package/test-env/components/date_picker/react-datepicker/test/helper_components/custom_input.js +74 -0
- package/test-env/components/date_picker/react-datepicker/test/test_wrapper.js +46 -0
- package/test-env/components/date_picker/react-datepicker/test/timezone_date_picker.js +78 -0
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +218 -249
- package/test-env/components/date_picker/super_date_picker/super_update_button.js +1 -1
- package/test-env/components/delay_hide/delay_hide.js +32 -86
- package/test-env/components/delay_render/delay_render.js +38 -73
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/flyout/flyout_menu/flyout_menu.js +4 -4
- package/test-env/components/form/field_number/field_number.js +2 -2
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_button/form_control_button.js +1 -1
- package/test-env/components/form/form_control_layout/append_prepend/form_append_prepend.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/text_area/text_area.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 +1 -1
- package/test-env/components/header/header_logo/header_logo.js +1 -1
- package/test-env/components/header/header_section/header_section_item_button.js +1 -1
- package/{optimize/lib/components/icon/assets/kubernetes_pod.js → test-env/components/icon/assets/cloud_bolt.js} +5 -3
- package/{optimize/lib/components/icon/assets/branch_user.js → test-env/components/icon/assets/cloud_rain.js} +4 -6
- package/{optimize/lib/components/icon/assets/cloud_stormy.js → test-env/components/icon/assets/cloud_sun.js} +3 -3
- package/{optimize/lib/components/icon/assets/kql_function.js → test-env/components/icon/assets/cube.js} +3 -3
- package/test-env/components/icon/assets/kubernetes_namespace.js +42 -0
- package/test-env/components/icon/assets/memory.js +1 -3
- package/test-env/components/icon/assets/product_timelion.js +40 -0
- package/test-env/components/icon/assets/product_tsvb.js +44 -0
- package/{optimize/lib/components/icon/assets/namespace.js → test-env/components/icon/assets/push.js} +3 -6
- package/{optimize/lib/components/icon/assets/continuity_above_below.js → test-env/components/icon/assets/transition_right_in.js} +5 -3
- package/test-env/components/icon/assets/transition_right_out.js +42 -0
- package/test-env/components/icon/assets/wrench.js +1 -3
- package/test-env/components/icon/icon_glyphs.a11y.js +1 -1
- package/test-env/components/icon/icon_map.js +165 -78
- 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/page/page_header/page_header_content.js +1 -1
- package/test-env/components/pagination/pagination_button.js +1 -1
- package/test-env/components/resizable_container/resizable_collapse_button.js +4 -4
- 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/table/table_header_cell.js +1 -1
- package/test-env/components/text_diff/text_diff.js +4 -6
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +2 -2
- package/test-env/components/toast/toast.js +2 -2
- package/test-env/components/tool_tip/icon_tip.js +1 -1
- package/dist/svgs/branch_user.svg +0 -4
- package/dist/svgs/cloud_drizzle.svg +0 -3
- package/dist/svgs/cloud_stormy.svg +0 -3
- package/dist/svgs/cloud_sunny.svg +0 -3
- package/dist/svgs/continuity_above_below.svg +0 -3
- package/dist/svgs/continuity_below.svg +0 -3
- package/dist/svgs/function.svg +0 -3
- package/dist/svgs/kql_function.svg +0 -5
- package/dist/svgs/kubernetes_pod.svg +0 -3
- package/dist/svgs/magnet.svg +0 -3
- package/dist/svgs/menu_down.svg +0 -3
- package/dist/svgs/menu_up.svg +0 -3
- package/dist/svgs/namespace.svg +0 -3
- package/dist/svgs/page_select.svg +0 -3
- package/dist/svgs/security_signal_resolved.svg +0 -3
- package/dist/svgs/tear.svg +0 -3
- package/dist/svgs/vis_timelion.svg +0 -3
- package/dist/svgs/vis_visual_builder.svg +0 -3
- package/es/components/icon/assets/magnet.js +0 -33
- package/es/components/icon/assets/menu_down.js +0 -33
- package/es/components/icon/assets/menu_up.js +0 -33
- package/es/components/icon/assets/page_select.js +0 -34
- package/es/components/icon/assets/security_signal_resolved.js +0 -34
- package/es/components/icon/assets/tear.js +0 -33
- package/es/components/icon/assets/vis_timelion.js +0 -33
- package/es/components/icon/assets/vis_visual_builder.js +0 -33
- package/es/components/icon/svgs/branch_user.svg +0 -4
- package/es/components/icon/svgs/cloud_drizzle.svg +0 -3
- package/es/components/icon/svgs/cloud_stormy.svg +0 -3
- package/es/components/icon/svgs/cloud_sunny.svg +0 -3
- package/es/components/icon/svgs/continuity_above_below.svg +0 -3
- package/es/components/icon/svgs/continuity_below.svg +0 -3
- package/es/components/icon/svgs/function.svg +0 -3
- package/es/components/icon/svgs/kql_function.svg +0 -5
- package/es/components/icon/svgs/kubernetes_pod.svg +0 -3
- package/es/components/icon/svgs/magnet.svg +0 -3
- package/es/components/icon/svgs/menu_down.svg +0 -3
- package/es/components/icon/svgs/menu_up.svg +0 -3
- package/es/components/icon/svgs/namespace.svg +0 -3
- package/es/components/icon/svgs/page_select.svg +0 -3
- package/es/components/icon/svgs/security_signal_resolved.svg +0 -3
- package/es/components/icon/svgs/tear.svg +0 -3
- package/es/components/icon/svgs/vis_timelion.svg +0 -3
- package/es/components/icon/svgs/vis_visual_builder.svg +0 -3
- package/lib/components/icon/assets/magnet.js +0 -40
- package/lib/components/icon/assets/menu_down.js +0 -40
- package/lib/components/icon/assets/menu_up.js +0 -40
- package/lib/components/icon/assets/page_select.js +0 -41
- package/lib/components/icon/assets/security_signal_resolved.js +0 -41
- package/lib/components/icon/assets/tear.js +0 -40
- package/lib/components/icon/assets/vis_timelion.js +0 -40
- package/lib/components/icon/assets/vis_visual_builder.js +0 -40
- package/lib/components/icon/svgs/branch_user.svg +0 -4
- package/lib/components/icon/svgs/cloud_drizzle.svg +0 -3
- package/lib/components/icon/svgs/cloud_stormy.svg +0 -3
- package/lib/components/icon/svgs/cloud_sunny.svg +0 -3
- package/lib/components/icon/svgs/continuity_above_below.svg +0 -3
- package/lib/components/icon/svgs/continuity_below.svg +0 -3
- package/lib/components/icon/svgs/function.svg +0 -3
- package/lib/components/icon/svgs/kql_function.svg +0 -5
- package/lib/components/icon/svgs/kubernetes_pod.svg +0 -3
- package/lib/components/icon/svgs/magnet.svg +0 -3
- package/lib/components/icon/svgs/menu_down.svg +0 -3
- package/lib/components/icon/svgs/menu_up.svg +0 -3
- package/lib/components/icon/svgs/namespace.svg +0 -3
- package/lib/components/icon/svgs/page_select.svg +0 -3
- package/lib/components/icon/svgs/security_signal_resolved.svg +0 -3
- package/lib/components/icon/svgs/tear.svg +0 -3
- package/lib/components/icon/svgs/vis_timelion.svg +0 -3
- package/lib/components/icon/svgs/vis_visual_builder.svg +0 -3
- package/optimize/es/components/icon/assets/kubernetes_pod.js +0 -32
- package/optimize/es/components/icon/assets/magnet.js +0 -32
- package/optimize/es/components/icon/assets/menu_down.js +0 -32
- package/optimize/es/components/icon/assets/menu_up.js +0 -32
- package/optimize/es/components/icon/assets/page_select.js +0 -33
- package/optimize/es/components/icon/assets/security_signal_resolved.js +0 -33
- package/optimize/es/components/icon/assets/tear.js +0 -32
- package/optimize/es/components/icon/assets/vis_timelion.js +0 -32
- package/optimize/es/components/icon/assets/vis_visual_builder.js +0 -32
- package/optimize/es/components/icon/svgs/branch_user.svg +0 -4
- package/optimize/es/components/icon/svgs/cloud_drizzle.svg +0 -3
- package/optimize/es/components/icon/svgs/cloud_stormy.svg +0 -3
- package/optimize/es/components/icon/svgs/cloud_sunny.svg +0 -3
- package/optimize/es/components/icon/svgs/continuity_above_below.svg +0 -3
- package/optimize/es/components/icon/svgs/continuity_below.svg +0 -3
- package/optimize/es/components/icon/svgs/function.svg +0 -3
- package/optimize/es/components/icon/svgs/kql_function.svg +0 -5
- package/optimize/es/components/icon/svgs/kubernetes_pod.svg +0 -3
- package/optimize/es/components/icon/svgs/magnet.svg +0 -3
- package/optimize/es/components/icon/svgs/menu_down.svg +0 -3
- package/optimize/es/components/icon/svgs/menu_up.svg +0 -3
- package/optimize/es/components/icon/svgs/namespace.svg +0 -3
- package/optimize/es/components/icon/svgs/page_select.svg +0 -3
- package/optimize/es/components/icon/svgs/security_signal_resolved.svg +0 -3
- package/optimize/es/components/icon/svgs/tear.svg +0 -3
- package/optimize/es/components/icon/svgs/vis_timelion.svg +0 -3
- package/optimize/es/components/icon/svgs/vis_visual_builder.svg +0 -3
- package/optimize/lib/components/icon/assets/magnet.js +0 -40
- package/optimize/lib/components/icon/assets/menu_down.js +0 -40
- package/optimize/lib/components/icon/assets/menu_up.js +0 -40
- package/optimize/lib/components/icon/assets/page_select.js +0 -41
- package/optimize/lib/components/icon/assets/security_signal_resolved.js +0 -41
- package/optimize/lib/components/icon/assets/tear.js +0 -40
- package/optimize/lib/components/icon/assets/vis_timelion.js +0 -40
- package/optimize/lib/components/icon/assets/vis_visual_builder.js +0 -40
- package/optimize/lib/components/icon/svgs/branch_user.svg +0 -4
- package/optimize/lib/components/icon/svgs/cloud_drizzle.svg +0 -3
- package/optimize/lib/components/icon/svgs/cloud_stormy.svg +0 -3
- package/optimize/lib/components/icon/svgs/cloud_sunny.svg +0 -3
- package/optimize/lib/components/icon/svgs/continuity_above_below.svg +0 -3
- package/optimize/lib/components/icon/svgs/continuity_below.svg +0 -3
- package/optimize/lib/components/icon/svgs/function.svg +0 -3
- package/optimize/lib/components/icon/svgs/kql_function.svg +0 -5
- package/optimize/lib/components/icon/svgs/kubernetes_pod.svg +0 -3
- package/optimize/lib/components/icon/svgs/magnet.svg +0 -3
- package/optimize/lib/components/icon/svgs/menu_down.svg +0 -3
- package/optimize/lib/components/icon/svgs/menu_up.svg +0 -3
- package/optimize/lib/components/icon/svgs/namespace.svg +0 -3
- package/optimize/lib/components/icon/svgs/page_select.svg +0 -3
- package/optimize/lib/components/icon/svgs/security_signal_resolved.svg +0 -3
- package/optimize/lib/components/icon/svgs/tear.svg +0 -3
- package/optimize/lib/components/icon/svgs/vis_timelion.svg +0 -3
- package/optimize/lib/components/icon/svgs/vis_visual_builder.svg +0 -3
- package/test-env/components/icon/assets/cloud_drizzle.js +0 -40
- package/test-env/components/icon/assets/cloud_stormy.js +0 -40
- package/test-env/components/icon/assets/cloud_sunny.js +0 -40
- package/test-env/components/icon/assets/continuity_above_below.js +0 -40
- package/test-env/components/icon/assets/function.js +0 -40
- package/test-env/components/icon/assets/kubernetes_pod.js +0 -40
- package/test-env/components/icon/assets/magnet.js +0 -40
- package/test-env/components/icon/assets/menu_down.js +0 -40
- package/test-env/components/icon/assets/menu_up.js +0 -40
- package/test-env/components/icon/assets/page_select.js +0 -41
- package/test-env/components/icon/assets/security_signal_resolved.js +0 -41
- package/test-env/components/icon/assets/tear.js +0 -40
- package/test-env/components/icon/assets/vis_timelion.js +0 -40
- package/test-env/components/icon/assets/vis_visual_builder.js +0 -40
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.EuiQuickSelect = void 0;
|
|
7
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _moment = _interopRequireDefault(require("moment"));
|
|
10
10
|
var _datemath = _interopRequireDefault(require("@elastic/datemath"));
|
|
11
11
|
var _services = require("../../../../services");
|
|
@@ -22,286 +22,257 @@ var _react2 = require("@emotion/react");
|
|
|
22
22
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
24
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
26
25
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
27
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
27
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
30
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
31
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
32
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
33
|
-
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
34
|
-
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
35
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
36
|
-
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
37
|
-
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
38
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
39
28
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
40
29
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
41
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
31
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
32
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
33
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
34
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
35
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
36
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /*
|
|
42
37
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
43
38
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
44
39
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
45
40
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
46
41
|
* Side Public License, v 1.
|
|
47
42
|
*/
|
|
48
|
-
var
|
|
49
|
-
name: "
|
|
50
|
-
styles: "> div{position:relative;overflow:visible;};label:
|
|
43
|
+
var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
44
|
+
name: "7yqi2-EuiQuickSelect",
|
|
45
|
+
styles: "> div{position:relative;overflow:visible;};label:EuiQuickSelect;"
|
|
51
46
|
} : {
|
|
52
|
-
name: "
|
|
53
|
-
styles: "> div{position:relative;overflow:visible;};label:
|
|
47
|
+
name: "7yqi2-EuiQuickSelect",
|
|
48
|
+
styles: "> div{position:relative;overflow:visible;};label:EuiQuickSelect;",
|
|
54
49
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
55
50
|
};
|
|
56
|
-
var
|
|
57
|
-
name: "
|
|
58
|
-
styles: "position:absolute;right:0;bottom:100%;transform:translateY(-33%);label:
|
|
51
|
+
var _ref5 = process.env.NODE_ENV === "production" ? {
|
|
52
|
+
name: "qbrd7j-EuiQuickSelect",
|
|
53
|
+
styles: "position:absolute;right:0;bottom:100%;transform:translateY(-33%);label:EuiQuickSelect;"
|
|
59
54
|
} : {
|
|
60
|
-
name: "
|
|
61
|
-
styles: "position:absolute;right:0;bottom:100%;transform:translateY(-33%);label:
|
|
55
|
+
name: "qbrd7j-EuiQuickSelect",
|
|
56
|
+
styles: "position:absolute;right:0;bottom:100%;transform:translateY(-33%);label:EuiQuickSelect;",
|
|
62
57
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
63
58
|
};
|
|
64
|
-
var EuiQuickSelect = exports.EuiQuickSelect =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
59
|
+
var EuiQuickSelect = exports.EuiQuickSelect = function EuiQuickSelect(_ref) {
|
|
60
|
+
var applyTime = _ref.applyTime,
|
|
61
|
+
start = _ref.start,
|
|
62
|
+
end = _ref.end,
|
|
63
|
+
prevQuickSelect = _ref.prevQuickSelect,
|
|
64
|
+
timeOptions = _ref.timeOptions;
|
|
65
|
+
var _useState = (0, _react.useState)(function () {
|
|
66
|
+
var _parseTimeParts = (0, _quick_select_utils.parseTimeParts)(start, end),
|
|
67
|
+
timeTenseDefault = _parseTimeParts.timeTense,
|
|
68
|
+
timeUnitsDefault = _parseTimeParts.timeUnits,
|
|
69
|
+
timeValueDefault = _parseTimeParts.timeValue;
|
|
70
|
+
return {
|
|
71
|
+
timeTense: prevQuickSelect && prevQuickSelect.timeTense ? prevQuickSelect.timeTense : timeTenseDefault,
|
|
72
|
+
timeValue: prevQuickSelect && prevQuickSelect.timeValue ? prevQuickSelect.timeValue : timeValueDefault,
|
|
73
|
+
timeUnits: prevQuickSelect && prevQuickSelect.timeUnits ? prevQuickSelect.timeUnits : timeUnitsDefault
|
|
74
|
+
};
|
|
75
|
+
}),
|
|
76
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
77
|
+
state = _useState2[0],
|
|
78
|
+
setState = _useState2[1];
|
|
79
|
+
var timeSelectionId = (0, _services.useGeneratedHtmlId)();
|
|
80
|
+
var legendId = (0, _services.useGeneratedHtmlId)();
|
|
81
|
+
var onTimeTenseChange = function onTimeTenseChange(event) {
|
|
82
|
+
var timeTense = event.target.value;
|
|
83
|
+
setState(function (state) {
|
|
84
|
+
return _objectSpread(_objectSpread({}, state), {}, {
|
|
85
|
+
timeTense: timeTense
|
|
75
86
|
});
|
|
76
87
|
});
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
};
|
|
89
|
+
var onTimeValueChange = function onTimeValueChange(event) {
|
|
90
|
+
var sanitizedValue = parseInt(event.target.value, 10);
|
|
91
|
+
setState(function (state) {
|
|
92
|
+
return _objectSpread(_objectSpread({}, state), {}, {
|
|
80
93
|
timeValue: isNaN(sanitizedValue) ? 0 : sanitizedValue
|
|
81
94
|
});
|
|
82
95
|
});
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
96
|
+
};
|
|
97
|
+
var onTimeUnitsChange = function onTimeUnitsChange(event) {
|
|
98
|
+
var timeUnits = event.target.value;
|
|
99
|
+
setState(function (state) {
|
|
100
|
+
return _objectSpread(_objectSpread({}, state), {}, {
|
|
101
|
+
timeUnits: timeUnits
|
|
86
102
|
});
|
|
87
103
|
});
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
timeUnits = _this$state.timeUnits;
|
|
99
|
-
if (timeTense === _time_options.NEXT) {
|
|
100
|
-
_this.props.applyTime({
|
|
101
|
-
start: 'now',
|
|
102
|
-
end: "now+".concat(timeValue).concat(timeUnits),
|
|
103
|
-
quickSelect: _objectSpread({}, _this.state)
|
|
104
|
-
});
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
_this.props.applyTime({
|
|
108
|
-
start: "now-".concat(timeValue).concat(timeUnits),
|
|
109
|
-
end: 'now',
|
|
110
|
-
quickSelect: _objectSpread({}, _this.state)
|
|
104
|
+
};
|
|
105
|
+
var applyQuickSelect = function applyQuickSelect() {
|
|
106
|
+
var timeTense = state.timeTense,
|
|
107
|
+
timeValue = state.timeValue,
|
|
108
|
+
timeUnits = state.timeUnits;
|
|
109
|
+
if (timeTense === _time_options.NEXT) {
|
|
110
|
+
applyTime({
|
|
111
|
+
start: 'now',
|
|
112
|
+
end: "now+".concat(timeValue).concat(timeUnits),
|
|
113
|
+
quickSelect: _objectSpread({}, state)
|
|
111
114
|
});
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
applyTime({
|
|
118
|
+
start: "now-".concat(timeValue).concat(timeUnits),
|
|
119
|
+
end: 'now',
|
|
120
|
+
quickSelect: _objectSpread({}, state)
|
|
112
121
|
});
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
};
|
|
123
|
+
var handleKeyDown = function handleKeyDown(_ref2) {
|
|
124
|
+
var key = _ref2.key;
|
|
125
|
+
if (key === 'Enter') {
|
|
126
|
+
applyQuickSelect();
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
var getBounds = function getBounds() {
|
|
130
|
+
var startMoment = _datemath.default.parse(start);
|
|
131
|
+
var endMoment = _datemath.default.parse(end, {
|
|
132
|
+
roundUp: true
|
|
122
133
|
});
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
return {
|
|
135
|
+
min: startMoment && startMoment.isValid() ? startMoment : (0, _moment.default)().subtract(15, 'minute'),
|
|
136
|
+
max: endMoment && endMoment.isValid() ? endMoment : (0, _moment.default)()
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
var stepForward = function stepForward() {
|
|
140
|
+
var _getBounds = getBounds(),
|
|
141
|
+
min = _getBounds.min,
|
|
142
|
+
max = _getBounds.max;
|
|
143
|
+
var diff = max.diff(min);
|
|
144
|
+
applyTime({
|
|
145
|
+
start: (0, _moment.default)(max).toISOString(),
|
|
146
|
+
end: (0, _moment.default)(max).add(diff, 'ms').toISOString(),
|
|
147
|
+
keepPopoverOpen: true
|
|
133
148
|
});
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
149
|
+
};
|
|
150
|
+
var stepBackward = function stepBackward() {
|
|
151
|
+
var _getBounds2 = getBounds(),
|
|
152
|
+
min = _getBounds2.min,
|
|
153
|
+
max = _getBounds2.max;
|
|
154
|
+
var diff = max.diff(min);
|
|
155
|
+
applyTime({
|
|
156
|
+
start: (0, _moment.default)(min).subtract(diff, 'ms').toISOString(),
|
|
157
|
+
end: (0, _moment.default)(min).toISOString(),
|
|
158
|
+
keepPopoverOpen: true
|
|
144
159
|
});
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
minWidth: 0 // Allow the button to shrink
|
|
262
|
-
,
|
|
263
|
-
size: "s",
|
|
264
|
-
onClick: this.applyQuickSelect,
|
|
265
|
-
disabled: timeValue <= 0
|
|
266
|
-
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
267
|
-
token: "euiQuickSelect.applyButton",
|
|
268
|
-
default: "Apply"
|
|
269
|
-
})))), (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("p", {
|
|
270
|
-
id: this.timeSelectionId
|
|
271
|
-
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
272
|
-
token: "euiQuickSelect.fullDescription",
|
|
273
|
-
default: "Currently set to {timeTense} {timeValue} {timeUnit}.",
|
|
274
|
-
values: {
|
|
275
|
-
timeTense: timeTense,
|
|
276
|
-
timeValue: timeValue,
|
|
277
|
-
timeUnit: timeUnit
|
|
278
|
-
}
|
|
279
|
-
}))));
|
|
160
|
+
};
|
|
161
|
+
var timeTense = state.timeTense,
|
|
162
|
+
timeValue = state.timeValue,
|
|
163
|
+
timeUnits = state.timeUnits;
|
|
164
|
+
var timeTenseOptions = timeOptions.timeTenseOptions,
|
|
165
|
+
timeUnitsOptions = timeOptions.timeUnitsOptions;
|
|
166
|
+
var matchedTimeUnit = timeUnitsOptions.find(function (_ref3) {
|
|
167
|
+
var value = _ref3.value;
|
|
168
|
+
return value === timeUnits;
|
|
169
|
+
});
|
|
170
|
+
var timeUnit = matchedTimeUnit ? matchedTimeUnit.text : '';
|
|
171
|
+
return (0, _react2.jsx)(_quick_select_panel.EuiQuickSelectPanel, {
|
|
172
|
+
component: "fieldset",
|
|
173
|
+
title: (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
174
|
+
token: "euiQuickSelect.quickSelectTitle",
|
|
175
|
+
default: "Quick select"
|
|
176
|
+
}),
|
|
177
|
+
titleId: legendId,
|
|
178
|
+
"aria-describedby": timeSelectionId,
|
|
179
|
+
css: _ref4
|
|
180
|
+
}, (0, _react2.jsx)(_flex.EuiFlexGroup, {
|
|
181
|
+
css: _ref5,
|
|
182
|
+
alignItems: "center",
|
|
183
|
+
gutterSize: "s",
|
|
184
|
+
responsive: false
|
|
185
|
+
}, (0, _react2.jsx)(_flex.EuiFlexItem, {
|
|
186
|
+
grow: false
|
|
187
|
+
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
188
|
+
token: "euiQuickSelect.previousLabel",
|
|
189
|
+
default: "Previous time window"
|
|
190
|
+
}, function (previousLabel) {
|
|
191
|
+
return (0, _react2.jsx)(_tool_tip.EuiToolTip, {
|
|
192
|
+
content: previousLabel,
|
|
193
|
+
disableScreenReaderOutput: true
|
|
194
|
+
}, (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
195
|
+
"aria-label": previousLabel,
|
|
196
|
+
iconType: "chevronSingleLeft",
|
|
197
|
+
onClick: stepBackward
|
|
198
|
+
}));
|
|
199
|
+
})), (0, _react2.jsx)(_flex.EuiFlexItem, {
|
|
200
|
+
grow: false
|
|
201
|
+
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
202
|
+
token: "euiQuickSelect.nextLabel",
|
|
203
|
+
default: "Next time window"
|
|
204
|
+
}, function (nextLabel) {
|
|
205
|
+
return (0, _react2.jsx)(_tool_tip.EuiToolTip, {
|
|
206
|
+
content: nextLabel,
|
|
207
|
+
disableScreenReaderOutput: true
|
|
208
|
+
}, (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
209
|
+
"aria-label": nextLabel,
|
|
210
|
+
iconType: "chevronSingleRight",
|
|
211
|
+
onClick: stepForward
|
|
212
|
+
}));
|
|
213
|
+
}))), (0, _react2.jsx)(_flex.EuiFlexGroup, {
|
|
214
|
+
gutterSize: "s",
|
|
215
|
+
responsive: false
|
|
216
|
+
}, (0, _react2.jsx)(_flex.EuiFlexItem, null, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
217
|
+
token: "euiQuickSelect.tenseLabel",
|
|
218
|
+
default: "Time tense"
|
|
219
|
+
}, function (tenseLabel) {
|
|
220
|
+
return (0, _react2.jsx)(_form.EuiSelect, {
|
|
221
|
+
compressed: true,
|
|
222
|
+
onKeyDown: handleKeyDown,
|
|
223
|
+
"aria-label": tenseLabel,
|
|
224
|
+
"aria-describedby": "".concat(timeSelectionId, " ").concat(legendId),
|
|
225
|
+
value: timeTense,
|
|
226
|
+
options: timeTenseOptions,
|
|
227
|
+
onChange: onTimeTenseChange
|
|
228
|
+
});
|
|
229
|
+
})), (0, _react2.jsx)(_flex.EuiFlexItem, null, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
230
|
+
token: "euiQuickSelect.valueLabel",
|
|
231
|
+
default: "Time value"
|
|
232
|
+
}, function (valueLabel) {
|
|
233
|
+
return (0, _react2.jsx)(_form.EuiFieldNumber, {
|
|
234
|
+
compressed: true,
|
|
235
|
+
onKeyDown: handleKeyDown,
|
|
236
|
+
"aria-describedby": "".concat(timeSelectionId, " ").concat(legendId),
|
|
237
|
+
"aria-label": valueLabel,
|
|
238
|
+
value: timeValue,
|
|
239
|
+
onChange: onTimeValueChange
|
|
240
|
+
});
|
|
241
|
+
})), (0, _react2.jsx)(_flex.EuiFlexItem, null, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
242
|
+
token: "euiQuickSelect.unitLabel",
|
|
243
|
+
default: "Time unit"
|
|
244
|
+
}, function (unitLabel) {
|
|
245
|
+
return (0, _react2.jsx)(_form.EuiSelect, {
|
|
246
|
+
compressed: true,
|
|
247
|
+
onKeyDown: handleKeyDown,
|
|
248
|
+
"aria-label": unitLabel,
|
|
249
|
+
"aria-describedby": "".concat(timeSelectionId, " ").concat(legendId),
|
|
250
|
+
value: timeUnits,
|
|
251
|
+
options: timeUnitsOptions,
|
|
252
|
+
onChange: onTimeUnitsChange
|
|
253
|
+
});
|
|
254
|
+
})), (0, _react2.jsx)(_flex.EuiFlexItem, {
|
|
255
|
+
grow: false
|
|
256
|
+
}, (0, _react2.jsx)(_button.EuiButton, {
|
|
257
|
+
"aria-describedby": "".concat(timeSelectionId, " ").concat(legendId),
|
|
258
|
+
"data-test-subj": "superDatePickerQuickSelectApplyButton",
|
|
259
|
+
minWidth: 0 // Allow the button to shrink
|
|
260
|
+
,
|
|
261
|
+
size: "s",
|
|
262
|
+
onClick: applyQuickSelect,
|
|
263
|
+
disabled: timeValue <= 0
|
|
264
|
+
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
265
|
+
token: "euiQuickSelect.applyButton",
|
|
266
|
+
default: "Apply"
|
|
267
|
+
})))), (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("p", {
|
|
268
|
+
id: timeSelectionId
|
|
269
|
+
}, (0, _react2.jsx)(_i18n.EuiI18n, {
|
|
270
|
+
token: "euiQuickSelect.fullDescription",
|
|
271
|
+
default: "Currently set to {timeTense} {timeValue} {timeUnit}.",
|
|
272
|
+
values: {
|
|
273
|
+
timeTense: timeTense,
|
|
274
|
+
timeValue: timeValue,
|
|
275
|
+
timeUnit: timeUnit
|
|
280
276
|
}
|
|
281
|
-
}
|
|
282
|
-
}(_react.Component);
|
|
283
|
-
EuiQuickSelect.propTypes = {
|
|
284
|
-
applyTime: _propTypes.default.func.isRequired,
|
|
285
|
-
start: _propTypes.default.string.isRequired,
|
|
286
|
-
end: _propTypes.default.string.isRequired,
|
|
287
|
-
prevQuickSelect: _propTypes.default.shape({
|
|
288
|
-
timeTense: _propTypes.default.string.isRequired,
|
|
289
|
-
timeValue: _propTypes.default.number.isRequired,
|
|
290
|
-
timeUnits: _propTypes.default.oneOf(["s", "m", "h", "d", "w", "M", "y"]).isRequired
|
|
291
|
-
}),
|
|
292
|
-
timeOptions: _propTypes.default.shape({
|
|
293
|
-
timeTenseOptions: _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired,
|
|
294
|
-
timeUnitsOptions: _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired,
|
|
295
|
-
relativeOptions: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
296
|
-
text: _propTypes.default.string.isRequired,
|
|
297
|
-
value: _propTypes.default.oneOfType([_propTypes.default.oneOf(["s", "m", "h", "d", "w", "M", "y"]).isRequired, _propTypes.default.oneOf(["s+", "m+", "h+", "d+", "w+", "M+", "y+"]).isRequired]).isRequired
|
|
298
|
-
}).isRequired).isRequired,
|
|
299
|
-
relativeRoundingLabels: _propTypes.default.any.isRequired,
|
|
300
|
-
refreshUnitsOptions: _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired,
|
|
301
|
-
commonDurationRanges: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
302
|
-
end: _propTypes.default.oneOfType([_propTypes.default.oneOf(["now"]), _propTypes.default.string.isRequired]).isRequired,
|
|
303
|
-
label: _propTypes.default.string,
|
|
304
|
-
start: _propTypes.default.oneOfType([_propTypes.default.oneOf(["now"]), _propTypes.default.string.isRequired]).isRequired
|
|
305
|
-
}).isRequired).isRequired
|
|
306
|
-
}).isRequired
|
|
277
|
+
}))));
|
|
307
278
|
};
|
|
@@ -113,7 +113,7 @@ var EuiSuperUpdateButton = exports.EuiSuperUpdateButton = /*#__PURE__*/function
|
|
|
113
113
|
var classes = (0, _classnames.default)('euiSuperUpdateButton', className);
|
|
114
114
|
var sharedButtonProps = {
|
|
115
115
|
color: needsUpdate || isLoading ? 'success' : 'primary',
|
|
116
|
-
iconType: needsUpdate || isLoading ? '
|
|
116
|
+
iconType: needsUpdate || isLoading ? 'push' : 'refresh',
|
|
117
117
|
isDisabled: isDisabled,
|
|
118
118
|
onClick: onClick,
|
|
119
119
|
isLoading: isLoading
|