@elastic/eui 106.6.0 → 106.7.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/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 +17 -4
- package/es/components/button/button.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 +2 -2
- package/es/components/card/card_select/card_select.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.styles.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 +12 -12
- package/es/components/datagrid/body/data_grid_body.js +7 -7
- package/es/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/es/components/datagrid/controls/column_selector.js +32 -3
- package/es/components/datagrid/controls/column_sorting.js +7 -7
- 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 +6 -6
- package/es/components/date_picker/date_picker.js +10 -6
- package/es/components/date_picker/date_picker_range.js +11 -4
- package/es/components/date_picker/react-datepicker/src/calendar.js +11 -4
- package/es/components/date_picker/react-datepicker/src/index.js +24 -8
- package/es/components/date_picker/super_date_picker/super_date_picker.js +2 -2
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/facet/facet_button.js +1 -1
- 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.styles.js +7 -2
- package/es/components/form/form_control_button/form_control_button.js +156 -0
- package/es/components/form/form_control_button/form_control_button.styles.js +34 -0
- package/es/components/form/form_control_button/index.js +9 -0
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.styles.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/form/index.js +1 -0
- package/es/components/form/text_area/text_area.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -36
- 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 -36
- package/es/components/icon/assets/app_workflows.js +35 -0
- package/es/components/icon/assets/background_task.js +33 -0
- package/es/components/icon/assets/boxes_vertical.js +1 -1
- package/es/components/icon/assets/documentation.js +2 -4
- package/es/components/icon/assets/error.js +2 -3
- package/es/components/icon/assets/export.js +1 -1
- package/es/components/icon/assets/filter.js +1 -1
- package/es/components/icon/assets/filterExclude.js +1 -6
- package/es/components/icon/assets/filterIgnore.js +1 -1
- package/es/components/icon/assets/filterInclude.js +1 -1
- package/es/components/icon/assets/grab.js +1 -2
- package/es/components/icon/assets/grabOmnidirectional.js +1 -1
- package/es/components/icon/assets/grab_horizontal.js +1 -2
- package/es/components/icon/assets/import.js +1 -1
- package/es/components/icon/assets/indexTemporary.js +6 -2
- package/es/components/icon/assets/link.js +5 -1
- package/es/components/icon/assets/list.js +1 -1
- package/es/components/icon/assets/magnifyWithExclamation.js +2 -4
- package/es/components/icon/assets/magnifyWithMinus.js +2 -4
- package/es/components/icon/assets/magnifyWithPlus.js +2 -4
- package/es/components/icon/assets/minus.js +2 -6
- package/es/components/icon/assets/minus_in_circle.js +2 -5
- package/es/components/icon/assets/pencil.js +1 -5
- package/es/components/icon/assets/pin.js +1 -2
- package/es/components/icon/assets/pin_filled.js +1 -1
- package/es/components/icon/assets/plus.js +1 -1
- package/es/components/icon/assets/plus_in_circle.js +1 -2
- package/es/components/icon/assets/question.js +2 -6
- package/es/components/icon/assets/search.js +1 -3
- package/es/components/icon/assets/sortLeft.js +1 -3
- package/es/components/icon/assets/sortRight.js +1 -3
- package/es/components/icon/assets/sort_down.js +1 -3
- package/es/components/icon/assets/sort_up.js +1 -3
- package/es/components/icon/assets/sortable.js +1 -3
- package/es/components/icon/assets/streams_classic.js +35 -0
- package/es/components/icon/assets/streams_wired.js +39 -0
- package/es/components/icon/assets/unlink.js +1 -4
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +44 -21
- 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 -36
- package/es/components/progress/progress.styles.js +1 -1
- 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/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/eui.d.ts +104 -4
- 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 +17 -4
- package/lib/components/button/button.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 +2 -2
- package/lib/components/card/card_select/card_select.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.styles.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 +12 -12
- package/lib/components/datagrid/body/data_grid_body.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/lib/components/datagrid/controls/column_selector.js +32 -3
- package/lib/components/datagrid/controls/column_sorting.js +7 -7
- 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 +6 -6
- package/lib/components/date_picker/date_picker.js +10 -6
- package/lib/components/date_picker/date_picker_range.js +11 -4
- package/lib/components/date_picker/react-datepicker/src/calendar.js +11 -4
- package/lib/components/date_picker/react-datepicker/src/index.js +24 -8
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/facet/facet_button.js +1 -1
- 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.styles.js +8 -3
- package/lib/components/form/form_control_button/form_control_button.js +164 -0
- package/lib/components/form/form_control_button/form_control_button.styles.js +38 -0
- package/lib/components/form/form_control_button/index.js +12 -0
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.styles.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/form/index.js +11 -0
- package/lib/components/form/text_area/text_area.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -36
- 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 -36
- package/lib/components/icon/assets/app_workflows.js +42 -0
- package/lib/components/icon/assets/background_task.js +40 -0
- package/lib/components/icon/assets/boxes_vertical.js +1 -1
- package/lib/components/icon/assets/documentation.js +2 -4
- package/lib/components/icon/assets/error.js +2 -3
- package/lib/components/icon/assets/export.js +1 -1
- package/lib/components/icon/assets/filter.js +1 -1
- package/lib/components/icon/assets/filterExclude.js +1 -6
- package/lib/components/icon/assets/filterIgnore.js +1 -1
- package/lib/components/icon/assets/filterInclude.js +1 -1
- package/lib/components/icon/assets/grab.js +1 -2
- package/lib/components/icon/assets/grabOmnidirectional.js +1 -1
- package/lib/components/icon/assets/grab_horizontal.js +1 -2
- package/lib/components/icon/assets/import.js +1 -1
- package/lib/components/icon/assets/indexTemporary.js +6 -2
- package/lib/components/icon/assets/link.js +5 -1
- package/lib/components/icon/assets/list.js +1 -1
- package/lib/components/icon/assets/magnifyWithExclamation.js +2 -4
- package/lib/components/icon/assets/magnifyWithMinus.js +2 -4
- package/lib/components/icon/assets/magnifyWithPlus.js +2 -4
- package/lib/components/icon/assets/minus.js +2 -6
- package/lib/components/icon/assets/minus_in_circle.js +2 -5
- package/lib/components/icon/assets/pencil.js +1 -5
- package/lib/components/icon/assets/pin.js +1 -2
- package/lib/components/icon/assets/pin_filled.js +1 -1
- package/lib/components/icon/assets/plus.js +1 -1
- package/lib/components/icon/assets/plus_in_circle.js +1 -2
- package/lib/components/icon/assets/question.js +2 -6
- package/lib/components/icon/assets/search.js +1 -3
- package/lib/components/icon/assets/sortLeft.js +1 -3
- package/lib/components/icon/assets/sortRight.js +1 -3
- package/lib/components/icon/assets/sort_down.js +1 -3
- package/lib/components/icon/assets/sort_up.js +1 -3
- package/lib/components/icon/assets/sortable.js +1 -3
- package/lib/components/icon/assets/streams_classic.js +42 -0
- package/lib/components/icon/assets/streams_wired.js +46 -0
- package/lib/components/icon/assets/unlink.js +1 -4
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +44 -21
- package/lib/components/icon/svgs/app_workflows.svg +7 -0
- package/lib/components/icon/svgs/background_task.svg +4 -0
- package/lib/components/icon/svgs/boxes_vertical.svg +2 -2
- package/lib/components/icon/svgs/documentation.svg +3 -4
- package/lib/components/icon/svgs/error.svg +2 -2
- package/lib/components/icon/svgs/export.svg +1 -1
- package/lib/components/icon/svgs/filter.svg +1 -1
- package/lib/components/icon/svgs/filterExclude.svg +1 -3
- package/lib/components/icon/svgs/filterIgnore.svg +1 -2
- package/lib/components/icon/svgs/filterInclude.svg +1 -3
- package/lib/components/icon/svgs/grab.svg +1 -1
- package/lib/components/icon/svgs/grabOmnidirectional.svg +1 -1
- package/lib/components/icon/svgs/grab_horizontal.svg +1 -1
- package/lib/components/icon/svgs/import.svg +1 -1
- package/lib/components/icon/svgs/indexTemporary.svg +4 -2
- package/lib/components/icon/svgs/link.svg +3 -1
- package/lib/components/icon/svgs/list.svg +1 -1
- package/lib/components/icon/svgs/magnifyWithExclamation.svg +2 -2
- package/lib/components/icon/svgs/magnifyWithMinus.svg +2 -2
- package/lib/components/icon/svgs/magnifyWithPlus.svg +2 -2
- package/lib/components/icon/svgs/minus.svg +1 -1
- package/lib/components/icon/svgs/minus_in_circle.svg +2 -2
- package/lib/components/icon/svgs/pencil.svg +2 -2
- package/lib/components/icon/svgs/pin.svg +1 -1
- package/lib/components/icon/svgs/pin_filled.svg +1 -1
- package/lib/components/icon/svgs/plus.svg +1 -1
- package/lib/components/icon/svgs/plus_in_circle.svg +1 -1
- package/lib/components/icon/svgs/question.svg +3 -4
- package/lib/components/icon/svgs/search.svg +1 -1
- package/lib/components/icon/svgs/sortLeft.svg +1 -1
- package/lib/components/icon/svgs/sortRight.svg +1 -1
- package/lib/components/icon/svgs/sort_down.svg +1 -1
- package/lib/components/icon/svgs/sort_up.svg +1 -1
- package/lib/components/icon/svgs/sortable.svg +1 -1
- package/lib/components/icon/svgs/streams_classic.svg +3 -0
- package/lib/components/icon/svgs/streams_wired.svg +4 -0
- package/lib/components/icon/svgs/unlink.svg +3 -4
- 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 -36
- package/lib/components/progress/progress.styles.js +1 -1
- 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/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/optimize/es/components/basic_table/in_memory_table.js +13 -0
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +1 -1
- package/optimize/es/components/datagrid/controls/column_selector.js +34 -3
- package/optimize/es/components/date_picker/date_picker.js +8 -4
- package/optimize/es/components/date_picker/date_picker_range.js +10 -3
- package/optimize/es/components/date_picker/react-datepicker/src/calendar.js +11 -4
- package/optimize/es/components/date_picker/react-datepicker/src/index.js +24 -8
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +2 -2
- package/optimize/es/components/form/form.styles.js +7 -2
- package/optimize/es/components/form/form_control_button/form_control_button.js +71 -0
- package/optimize/es/components/form/form_control_button/form_control_button.styles.js +34 -0
- package/optimize/es/components/form/form_control_button/index.js +9 -0
- package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +2 -2
- package/optimize/es/components/form/index.js +1 -0
- package/optimize/es/components/icon/assets/app_workflows.js +34 -0
- package/optimize/es/components/icon/assets/background_task.js +32 -0
- package/optimize/es/components/icon/assets/boxes_vertical.js +1 -1
- package/optimize/es/components/icon/assets/documentation.js +2 -4
- package/optimize/es/components/icon/assets/error.js +2 -3
- package/optimize/es/components/icon/assets/export.js +1 -1
- package/optimize/es/components/icon/assets/filter.js +1 -1
- package/optimize/es/components/icon/assets/filterExclude.js +1 -6
- package/optimize/es/components/icon/assets/filterIgnore.js +1 -1
- package/optimize/es/components/icon/assets/filterInclude.js +1 -1
- package/optimize/es/components/icon/assets/grab.js +1 -2
- package/optimize/es/components/icon/assets/grabOmnidirectional.js +1 -1
- package/optimize/es/components/icon/assets/grab_horizontal.js +1 -2
- package/optimize/es/components/icon/assets/import.js +1 -1
- package/optimize/es/components/icon/assets/indexTemporary.js +6 -2
- package/optimize/es/components/icon/assets/link.js +5 -1
- package/optimize/es/components/icon/assets/list.js +1 -1
- package/optimize/es/components/icon/assets/magnifyWithExclamation.js +2 -4
- package/optimize/es/components/icon/assets/magnifyWithMinus.js +2 -4
- package/optimize/es/components/icon/assets/magnifyWithPlus.js +2 -4
- package/optimize/es/components/icon/assets/minus.js +2 -6
- package/optimize/es/components/icon/assets/minus_in_circle.js +2 -5
- package/optimize/es/components/icon/assets/pencil.js +1 -5
- package/optimize/es/components/icon/assets/pin.js +1 -2
- package/optimize/es/components/icon/assets/pin_filled.js +1 -1
- package/optimize/es/components/icon/assets/plus.js +1 -1
- package/optimize/es/components/icon/assets/plus_in_circle.js +1 -2
- package/optimize/es/components/icon/assets/question.js +2 -6
- package/optimize/es/components/icon/assets/search.js +1 -3
- package/optimize/es/components/icon/assets/sortLeft.js +1 -3
- package/optimize/es/components/icon/assets/sortRight.js +1 -3
- package/optimize/es/components/icon/assets/sort_down.js +1 -3
- package/optimize/es/components/icon/assets/sort_up.js +1 -3
- package/optimize/es/components/icon/assets/sortable.js +1 -3
- package/optimize/es/components/icon/assets/streams_classic.js +34 -0
- package/optimize/es/components/icon/assets/streams_wired.js +38 -0
- package/optimize/es/components/icon/assets/unlink.js +1 -4
- package/optimize/es/components/icon/icon_map.js +44 -21
- package/optimize/es/components/progress/progress.styles.js +1 -1
- package/optimize/lib/components/basic_table/in_memory_table.js +13 -0
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_selector.js +34 -5
- package/optimize/lib/components/date_picker/date_picker.js +8 -4
- package/optimize/lib/components/date_picker/date_picker_range.js +10 -3
- package/optimize/lib/components/date_picker/react-datepicker/src/calendar.js +11 -4
- package/optimize/lib/components/date_picker/react-datepicker/src/index.js +24 -8
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +1 -1
- package/optimize/lib/components/form/form.styles.js +8 -3
- package/optimize/lib/components/form/form_control_button/form_control_button.js +80 -0
- package/optimize/lib/components/form/form_control_button/form_control_button.styles.js +38 -0
- package/optimize/lib/components/form/form_control_button/index.js +12 -0
- package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +2 -2
- package/optimize/lib/components/form/index.js +11 -0
- package/optimize/lib/components/icon/assets/app_workflows.js +42 -0
- package/optimize/lib/components/icon/assets/background_task.js +40 -0
- package/optimize/lib/components/icon/assets/boxes_vertical.js +1 -1
- package/optimize/lib/components/icon/assets/documentation.js +2 -4
- package/optimize/lib/components/icon/assets/error.js +2 -3
- package/optimize/lib/components/icon/assets/export.js +1 -1
- package/optimize/lib/components/icon/assets/filter.js +1 -1
- package/optimize/lib/components/icon/assets/filterExclude.js +1 -6
- package/optimize/lib/components/icon/assets/filterIgnore.js +1 -1
- package/optimize/lib/components/icon/assets/filterInclude.js +1 -1
- package/optimize/lib/components/icon/assets/grab.js +1 -2
- package/optimize/lib/components/icon/assets/grabOmnidirectional.js +1 -1
- package/optimize/lib/components/icon/assets/grab_horizontal.js +1 -2
- package/optimize/lib/components/icon/assets/import.js +1 -1
- package/optimize/lib/components/icon/assets/indexTemporary.js +6 -2
- package/optimize/lib/components/icon/assets/link.js +5 -1
- package/optimize/lib/components/icon/assets/list.js +1 -1
- package/optimize/lib/components/icon/assets/magnifyWithExclamation.js +2 -4
- package/optimize/lib/components/icon/assets/magnifyWithMinus.js +2 -4
- package/optimize/lib/components/icon/assets/magnifyWithPlus.js +2 -4
- package/optimize/lib/components/icon/assets/minus.js +2 -6
- package/optimize/lib/components/icon/assets/minus_in_circle.js +2 -5
- package/optimize/lib/components/icon/assets/pencil.js +1 -5
- package/optimize/lib/components/icon/assets/pin.js +1 -2
- package/optimize/lib/components/icon/assets/pin_filled.js +1 -1
- package/optimize/lib/components/icon/assets/plus.js +1 -1
- package/optimize/lib/components/icon/assets/plus_in_circle.js +1 -2
- package/optimize/lib/components/icon/assets/question.js +2 -6
- package/optimize/lib/components/icon/assets/search.js +1 -3
- package/optimize/lib/components/icon/assets/sortLeft.js +1 -3
- package/optimize/lib/components/icon/assets/sortRight.js +1 -3
- package/optimize/lib/components/icon/assets/sort_down.js +1 -3
- package/optimize/lib/components/icon/assets/sort_up.js +1 -3
- package/optimize/lib/components/icon/assets/sortable.js +1 -3
- package/optimize/lib/components/icon/assets/streams_classic.js +42 -0
- package/optimize/lib/components/icon/assets/streams_wired.js +46 -0
- package/optimize/lib/components/icon/assets/unlink.js +1 -4
- package/optimize/lib/components/icon/icon_map.js +44 -21
- package/optimize/lib/components/icon/svgs/app_workflows.svg +7 -0
- package/optimize/lib/components/icon/svgs/background_task.svg +4 -0
- package/optimize/lib/components/icon/svgs/boxes_vertical.svg +2 -2
- package/optimize/lib/components/icon/svgs/documentation.svg +3 -4
- package/optimize/lib/components/icon/svgs/error.svg +2 -2
- package/optimize/lib/components/icon/svgs/export.svg +1 -1
- package/optimize/lib/components/icon/svgs/filter.svg +1 -1
- package/optimize/lib/components/icon/svgs/filterExclude.svg +1 -3
- package/optimize/lib/components/icon/svgs/filterIgnore.svg +1 -2
- package/optimize/lib/components/icon/svgs/filterInclude.svg +1 -3
- package/optimize/lib/components/icon/svgs/grab.svg +1 -1
- package/optimize/lib/components/icon/svgs/grabOmnidirectional.svg +1 -1
- package/optimize/lib/components/icon/svgs/grab_horizontal.svg +1 -1
- package/optimize/lib/components/icon/svgs/import.svg +1 -1
- package/optimize/lib/components/icon/svgs/indexTemporary.svg +4 -2
- package/optimize/lib/components/icon/svgs/link.svg +3 -1
- package/optimize/lib/components/icon/svgs/list.svg +1 -1
- package/optimize/lib/components/icon/svgs/magnifyWithExclamation.svg +2 -2
- package/optimize/lib/components/icon/svgs/magnifyWithMinus.svg +2 -2
- package/optimize/lib/components/icon/svgs/magnifyWithPlus.svg +2 -2
- package/optimize/lib/components/icon/svgs/minus.svg +1 -1
- package/optimize/lib/components/icon/svgs/minus_in_circle.svg +2 -2
- package/optimize/lib/components/icon/svgs/pencil.svg +2 -2
- package/optimize/lib/components/icon/svgs/pin.svg +1 -1
- package/optimize/lib/components/icon/svgs/pin_filled.svg +1 -1
- package/optimize/lib/components/icon/svgs/plus.svg +1 -1
- package/optimize/lib/components/icon/svgs/plus_in_circle.svg +1 -1
- package/optimize/lib/components/icon/svgs/question.svg +3 -4
- package/optimize/lib/components/icon/svgs/search.svg +1 -1
- package/optimize/lib/components/icon/svgs/sortLeft.svg +1 -1
- package/optimize/lib/components/icon/svgs/sortRight.svg +1 -1
- package/optimize/lib/components/icon/svgs/sort_down.svg +1 -1
- package/optimize/lib/components/icon/svgs/sort_up.svg +1 -1
- package/optimize/lib/components/icon/svgs/sortable.svg +1 -1
- package/optimize/lib/components/icon/svgs/streams_classic.svg +3 -0
- package/optimize/lib/components/icon/svgs/streams_wired.svg +4 -0
- package/optimize/lib/components/icon/svgs/unlink.svg +3 -4
- package/optimize/lib/components/progress/progress.styles.js +1 -1
- package/package.json +3 -3
- 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 +17 -4
- package/test-env/components/button/button.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 +2 -2
- package/test-env/components/card/card_select/card_select.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.styles.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 +12 -12
- package/test-env/components/datagrid/body/data_grid_body.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -7
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -7
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
- package/test-env/components/datagrid/controls/column_selector.js +34 -5
- package/test-env/components/datagrid/controls/column_sorting.js +7 -7
- 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 +6 -6
- package/test-env/components/date_picker/date_picker.js +10 -6
- package/test-env/components/date_picker/date_picker_range.js +11 -4
- package/test-env/components/date_picker/react-datepicker/src/calendar.js +11 -4
- package/test-env/components/date_picker/react-datepicker/src/index.js +24 -8
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/facet/facet_button.js +1 -1
- 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.styles.js +8 -3
- package/test-env/components/form/form_control_button/form_control_button.js +156 -0
- package/test-env/components/form/form_control_button/form_control_button.styles.js +38 -0
- package/test-env/components/form/form_control_button/index.js +12 -0
- 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.styles.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/form/index.js +11 -0
- package/test-env/components/form/text_area/text_area.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -36
- 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 -36
- package/test-env/components/icon/assets/app_workflows.js +42 -0
- package/test-env/components/icon/assets/background_task.js +40 -0
- package/test-env/components/icon/assets/boxes_vertical.js +1 -1
- package/test-env/components/icon/assets/documentation.js +2 -4
- package/test-env/components/icon/assets/error.js +2 -3
- package/test-env/components/icon/assets/export.js +1 -1
- package/test-env/components/icon/assets/filter.js +1 -1
- package/test-env/components/icon/assets/filterExclude.js +1 -6
- package/test-env/components/icon/assets/filterIgnore.js +1 -1
- package/test-env/components/icon/assets/filterInclude.js +1 -1
- package/test-env/components/icon/assets/grab.js +1 -2
- package/test-env/components/icon/assets/grabOmnidirectional.js +1 -1
- package/test-env/components/icon/assets/grab_horizontal.js +1 -2
- package/test-env/components/icon/assets/import.js +1 -1
- package/test-env/components/icon/assets/indexTemporary.js +6 -2
- package/test-env/components/icon/assets/link.js +5 -1
- package/test-env/components/icon/assets/list.js +1 -1
- package/test-env/components/icon/assets/magnifyWithExclamation.js +2 -4
- package/test-env/components/icon/assets/magnifyWithMinus.js +2 -4
- package/test-env/components/icon/assets/magnifyWithPlus.js +2 -4
- package/test-env/components/icon/assets/minus.js +2 -6
- package/test-env/components/icon/assets/minus_in_circle.js +2 -5
- package/test-env/components/icon/assets/pencil.js +1 -5
- package/test-env/components/icon/assets/pin.js +1 -2
- package/test-env/components/icon/assets/pin_filled.js +1 -1
- package/test-env/components/icon/assets/plus.js +1 -1
- package/test-env/components/icon/assets/plus_in_circle.js +1 -2
- package/test-env/components/icon/assets/question.js +2 -6
- package/test-env/components/icon/assets/search.js +1 -3
- package/test-env/components/icon/assets/sortLeft.js +1 -3
- package/test-env/components/icon/assets/sortRight.js +1 -3
- package/test-env/components/icon/assets/sort_down.js +1 -3
- package/test-env/components/icon/assets/sort_up.js +1 -3
- package/test-env/components/icon/assets/sortable.js +1 -3
- package/test-env/components/icon/assets/streams_classic.js +42 -0
- package/test-env/components/icon/assets/streams_wired.js +46 -0
- package/test-env/components/icon/assets/unlink.js +1 -4
- package/test-env/components/icon/icon_map.js +44 -21
- 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 -36
- package/test-env/components/progress/progress.styles.js +1 -1
- 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/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
|
@@ -245,6 +245,7 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
245
245
|
classes.push("react-datepicker__navigation--previous--disabled");
|
|
246
246
|
clickHandler = null;
|
|
247
247
|
}
|
|
248
|
+
var dataTestSubj = _this.props['data-test-subj'];
|
|
248
249
|
return (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
249
250
|
iconType: "sortLeft",
|
|
250
251
|
size: "s",
|
|
@@ -253,7 +254,8 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
253
254
|
onClick: clickHandler,
|
|
254
255
|
disabled: !_this.props.accessibleMode,
|
|
255
256
|
"aria-label": _this.props.previousMonthButtonLabel,
|
|
256
|
-
title: _this.props.previousMonthButtonLabel
|
|
257
|
+
title: _this.props.previousMonthButtonLabel,
|
|
258
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-prev-month") : undefined
|
|
257
259
|
});
|
|
258
260
|
});
|
|
259
261
|
(0, _defineProperty2.default)(_this, "renderNextMonthButton", function () {
|
|
@@ -276,6 +278,7 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
276
278
|
classes.push("react-datepicker__navigation--next--disabled");
|
|
277
279
|
clickHandler = null;
|
|
278
280
|
}
|
|
281
|
+
var dataTestSubj = _this.props['data-test-subj'];
|
|
279
282
|
return (0, _react2.jsx)(_button.EuiButtonIcon, {
|
|
280
283
|
iconType: "sortRight",
|
|
281
284
|
size: "s",
|
|
@@ -284,7 +287,8 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
284
287
|
onClick: clickHandler,
|
|
285
288
|
disabled: !_this.props.accessibleMode,
|
|
286
289
|
"aria-label": _this.props.nextMonthButtonLabel,
|
|
287
|
-
title: _this.props.nextMonthButtonLabel
|
|
290
|
+
title: _this.props.nextMonthButtonLabel,
|
|
291
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-next-month") : undefined
|
|
288
292
|
});
|
|
289
293
|
});
|
|
290
294
|
(0, _defineProperty2.default)(_this, "renderYearDropdown", function () {
|
|
@@ -511,6 +515,7 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
511
515
|
key: "render",
|
|
512
516
|
value: function render() {
|
|
513
517
|
var Container = this.props.container || _calendar_container.default;
|
|
518
|
+
var dataTestSubj = this.props['data-test-subj'];
|
|
514
519
|
var classes = (0, _classnames.default)("react-datepicker", this.props.className, {
|
|
515
520
|
"react-datepicker--time-only": this.props.showTimeSelectOnly,
|
|
516
521
|
"react-datepicker--non-interactive": !this.props.isCalendarInteractive
|
|
@@ -519,7 +524,8 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
519
524
|
var initialFocusTarget = this.props.showTimeSelectOnly ? ".react-datepicker__time-box--accessible" : ".react-datepicker__month--accessible";
|
|
520
525
|
if (trapFocus) {
|
|
521
526
|
return (0, _react2.jsx)(Container, {
|
|
522
|
-
className: classes
|
|
527
|
+
className: classes,
|
|
528
|
+
"data-test-subj": dataTestSubj
|
|
523
529
|
}, (0, _react2.jsx)(_focus_trap.EuiFocusTrap, {
|
|
524
530
|
disabled: this.state.pauseFocusTrap || !this.props.enableFocusTrap,
|
|
525
531
|
className: "react-datepicker__focusTrap",
|
|
@@ -528,7 +534,8 @@ var Calendar = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
528
534
|
}, this.renderPreviousMonthButton(), this.renderNextMonthButton(), this.renderMonths(), this.renderTodayButton(), this.renderTimeSection(), this.props.children));
|
|
529
535
|
} else {
|
|
530
536
|
return (0, _react2.jsx)(Container, {
|
|
531
|
-
className: classes
|
|
537
|
+
className: classes,
|
|
538
|
+
"data-test-subj": dataTestSubj
|
|
532
539
|
}, this.renderPreviousMonthButton(), this.renderNextMonthButton(), this.renderMonths(), this.renderTodayButton(), this.renderTimeSection(), this.props.children);
|
|
533
540
|
}
|
|
534
541
|
}
|
|
@@ -533,9 +533,10 @@ var DatePicker = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
533
533
|
}, _this.props.defaultInputProps));
|
|
534
534
|
var customInputRef = (_this$props$customInp = _this.props.customInputRef) !== null && _this$props$customInp !== void 0 ? _this$props$customInp : _this.props.customInput ? 'ref' : 'inputRef';
|
|
535
535
|
var inputValue = typeof _this.props.value === "string" ? _this.props.value : typeof _this.state.inputValue === "string" ? _this.state.inputValue : (0, _date_utils.safeDateFormat)(_this.props.selected, _this.props);
|
|
536
|
+
var dataTestSubj = _this.props['data-test-subj'];
|
|
536
537
|
return /*#__PURE__*/_react.default.cloneElement(customInput, (_React$cloneElement = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_React$cloneElement, customInputRef, function (input) {
|
|
537
538
|
_this.input = input;
|
|
538
|
-
}), "value", inputValue), "onBlur", _this.handleBlur), "onChange", _this.handleChange), "onClick", _this.onInputClick), "onFocus", _this.handleFocus), "onKeyDown", _this.onInputKeyDown), "id", _this.props.id), "name", _this.props.name), "autoFocus", _this.props.autoFocus), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_React$cloneElement, "placeholder", _this.props.placeholderText), "disabled", _this.props.disabled), "autoComplete", _this.props.autoComplete), "className", className), "title", _this.props.title), "readOnly", _this.props.readOnly), "required", _this.props.required), "tabIndex", _this.props.tabIndex), "aria-label", _this.state.open ? 'Press the down key to enter a popover containing a calendar. Press the escape key to close the popover.' : 'Press the down key to open a popover containing a calendar.')));
|
|
539
|
+
}), "value", inputValue), "onBlur", _this.handleBlur), "onChange", _this.handleChange), "onClick", _this.onInputClick), "onFocus", _this.handleFocus), "onKeyDown", _this.onInputKeyDown), "id", _this.props.id), "name", _this.props.name), "autoFocus", _this.props.autoFocus), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_React$cloneElement, "placeholder", _this.props.placeholderText), "disabled", _this.props.disabled), "autoComplete", _this.props.autoComplete), "className", className), "title", _this.props.title), "readOnly", _this.props.readOnly), "required", _this.props.required), "tabIndex", _this.props.tabIndex), "aria-label", _this.state.open ? 'Press the down key to enter a popover containing a calendar. Press the escape key to close the popover.' : 'Press the down key to open a popover containing a calendar.'), "data-test-subj", dataTestSubj ? "".concat(dataTestSubj, "-input") : undefined)));
|
|
539
540
|
});
|
|
540
541
|
(0, _defineProperty2.default)(_this, "renderClearButton", function () {
|
|
541
542
|
if (_this.props.isClearable && _this.props.selected != null) {
|
|
@@ -598,15 +599,24 @@ var DatePicker = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
598
599
|
value: function render() {
|
|
599
600
|
var _this2 = this;
|
|
600
601
|
var calendar = this.renderCalendar();
|
|
602
|
+
var dataTestSubj = this.props['data-test-subj'];
|
|
601
603
|
if (this.props.inline && !this.props.withPortal) {
|
|
602
|
-
return calendar
|
|
604
|
+
return calendar && /*#__PURE__*/_react.default.isValidElement(calendar) ? /*#__PURE__*/_react.default.cloneElement(calendar, {
|
|
605
|
+
'data-test-subj': dataTestSubj ? "".concat(dataTestSubj, "-calendar") : calendar.props && calendar.props['data-test-subj']
|
|
606
|
+
}) : calendar;
|
|
603
607
|
}
|
|
604
608
|
if (this.props.withPortal) {
|
|
605
|
-
return (0, _react2.jsx)("div",
|
|
606
|
-
|
|
609
|
+
return (0, _react2.jsx)("div", {
|
|
610
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-portal-container") : undefined
|
|
611
|
+
}, !this.props.inline ? (0, _react2.jsx)("div", {
|
|
612
|
+
className: "react-datepicker__input-container",
|
|
613
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-input-container") : undefined
|
|
607
614
|
}, this.renderDateInput(), this.renderClearButton(), this.renderAccessibleButton()) : null, this.state.open || this.props.inline ? (0, _react2.jsx)("div", {
|
|
608
|
-
className: "react-datepicker__portal"
|
|
609
|
-
|
|
615
|
+
className: "react-datepicker__portal",
|
|
616
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-portal") : undefined
|
|
617
|
+
}, calendar && /*#__PURE__*/_react.default.isValidElement(calendar) ? /*#__PURE__*/_react.default.cloneElement(calendar, {
|
|
618
|
+
'data-test-subj': dataTestSubj ? "".concat(dataTestSubj, "-calendar") : calendar.props && calendar.props['data-test-subj']
|
|
619
|
+
}) : calendar) : null);
|
|
610
620
|
}
|
|
611
621
|
return (0, _react2.jsx)(_popover.EuiPopover, (0, _extends2.default)({
|
|
612
622
|
ownFocus: false,
|
|
@@ -623,12 +633,18 @@ var DatePicker = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
623
633
|
container: this.props.popperContainer,
|
|
624
634
|
panelRef: function panelRef(elem) {
|
|
625
635
|
_this2.popover = elem;
|
|
636
|
+
},
|
|
637
|
+
panelProps: {
|
|
638
|
+
'data-test-subj': dataTestSubj ? "".concat(dataTestSubj, "-popover") : undefined
|
|
626
639
|
}
|
|
627
640
|
}, this.props.popperProps, {
|
|
628
641
|
button: (0, _react2.jsx)("div", {
|
|
629
|
-
className: "react-datepicker__input-container"
|
|
642
|
+
className: "react-datepicker__input-container",
|
|
643
|
+
"data-test-subj": dataTestSubj ? "".concat(dataTestSubj, "-input-container") : undefined
|
|
630
644
|
}, this.renderDateInput(), this.renderClearButton(), this.renderAccessibleButton())
|
|
631
|
-
}), calendar)
|
|
645
|
+
}), calendar && /*#__PURE__*/_react.default.isValidElement(calendar) ? /*#__PURE__*/_react.default.cloneElement(calendar, {
|
|
646
|
+
'data-test-subj': dataTestSubj ? "".concat(dataTestSubj, "-calendar") : calendar.props && calendar.props['data-test-subj']
|
|
647
|
+
}) : calendar);
|
|
632
648
|
}
|
|
633
649
|
}], [{
|
|
634
650
|
key: "defaultProps",
|
|
@@ -298,7 +298,7 @@ var EuiSuperDatePickerInternal = exports.EuiSuperDatePickerInternal = /*#__PURE_
|
|
|
298
298
|
};
|
|
299
299
|
var isDisabledDisplay = (0, _predicate.isObject)(isDisabled) && (isDisabled === null || isDisabled === void 0 ? void 0 : isDisabled.display);
|
|
300
300
|
if (isDisabledDisplay || showPrettyDuration && !isStartDatePopoverOpen && !isEndDatePopoverOpen) {
|
|
301
|
-
return (0, _react2.jsx)(_form.EuiFormControlLayout, formControlLayoutProps, !isQuickSelectOnly && (0, _react2.jsx)(
|
|
301
|
+
return (0, _react2.jsx)(_form.EuiFormControlLayout, formControlLayoutProps, !isQuickSelectOnly && (0, _react2.jsx)(_form.EuiFormControlButton, {
|
|
302
302
|
type: "button",
|
|
303
303
|
css: styles.euiSuperDatePicker__prettyFormat,
|
|
304
304
|
className: (0, _classnames.default)('euiSuperDatePicker__prettyFormat', {
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.euiFormVariables = exports.euiFormMaxWidth = exports.euiFormCustomControlVariables = exports.euiFormCustomControlStyles = exports.euiFormControlText = exports.euiFormControlStyles = exports.euiFormControlShowBackgroundLine = exports.euiFormControlReadOnlyStyles = exports.euiFormControlInvalidStyles = exports.euiFormControlHoverStyles = exports.euiFormControlHighlightBorderStyles = exports.euiFormControlFocusStyles = exports.euiFormControlDisabledStyles = exports.euiFormControlDefaultShadow = exports.euiFormControlAutoFillStyles = exports.disableFormControlHoverStyles = void 0;
|
|
7
|
+
exports.euiFormVariables = exports.euiFormPlaceholderStyles = exports.euiFormMaxWidth = exports.euiFormCustomControlVariables = exports.euiFormCustomControlStyles = exports.euiFormControlText = exports.euiFormControlStyles = exports.euiFormControlShowBackgroundLine = exports.euiFormControlReadOnlyStyles = exports.euiFormControlInvalidStyles = exports.euiFormControlHoverStyles = exports.euiFormControlHighlightBorderStyles = exports.euiFormControlFocusStyles = exports.euiFormControlDisabledStyles = exports.euiFormControlDefaultShadow = exports.euiFormControlAutoFillStyles = exports.disableFormControlHoverStyles = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _services = require("../../services");
|
|
10
10
|
var _global_styling = require("../../global_styling");
|
|
@@ -24,6 +24,11 @@ var euiFormMaxWidth = exports.euiFormMaxWidth = function euiFormMaxWidth(_ref) {
|
|
|
24
24
|
var euiTheme = _ref.euiTheme;
|
|
25
25
|
return euiTheme.components.forms.maxWidth;
|
|
26
26
|
};
|
|
27
|
+
var euiFormPlaceholderStyles = exports.euiFormPlaceholderStyles = function euiFormPlaceholderStyles(euiThemeContext, color) {
|
|
28
|
+
var form = euiFormVariables(euiThemeContext);
|
|
29
|
+
var _color = color !== null && color !== void 0 ? color : form.textColorDisabled;
|
|
30
|
+
return "\n color: ".concat(_color, ";\n opacity: 1;\n ");
|
|
31
|
+
};
|
|
27
32
|
var euiFormVariables = exports.euiFormVariables = function euiFormVariables(euiThemeContext) {
|
|
28
33
|
var euiTheme = euiThemeContext.euiTheme,
|
|
29
34
|
highContrastMode = euiThemeContext.highContrastMode;
|
|
@@ -117,7 +122,7 @@ var euiFormControlText = exports.euiFormControlText = function euiFormControlTex
|
|
|
117
122
|
var _euiFontSize = (0, _global_styling.euiFontSize)(euiThemeContext, 's'),
|
|
118
123
|
fontSize = _euiFontSize.fontSize;
|
|
119
124
|
var form = euiFormVariables(euiThemeContext);
|
|
120
|
-
return "\n font-family: ".concat(euiTheme.font.family, ";\n font-size: ").concat(fontSize, ";\n color: ").concat(form.textColor, ";\n\n ").concat(euiPlaceholderPerBrowser(
|
|
125
|
+
return "\n font-family: ".concat(euiTheme.font.family, ";\n font-size: ").concat(fontSize, ";\n color: ").concat(form.textColor, ";\n\n ").concat(euiPlaceholderPerBrowser(euiFormPlaceholderStyles(euiThemeContext, form.controlPlaceholderText)), "\n ");
|
|
121
126
|
};
|
|
122
127
|
var euiFormControlDefaultShadow = exports.euiFormControlDefaultShadow = function euiFormControlDefaultShadow(euiThemeContext) {
|
|
123
128
|
var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
@@ -182,7 +187,7 @@ var euiFormControlDisabledStyles = exports.euiFormControlDisabledStyles = functi
|
|
|
182
187
|
var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'formVariant');
|
|
183
188
|
var form = euiFormVariables(euiThemeContext);
|
|
184
189
|
var refreshVariantStyles = "\n --euiFormControlStateHoverColor: transparent;\n --euiFormControlStateColor: ".concat(form.borderColor, ";\n ");
|
|
185
|
-
return "\n color: ".concat(form.textColorDisabled, ";\n /* Required for Safari */\n -webkit-text-fill-color: ").concat(form.textColorDisabled, ";\n background-color: ").concat(form.backgroundDisabledColor, ";\n cursor: not-allowed;\n --euiFormControlStateColor: transparent;\n\n ").concat(isRefreshVariant && refreshVariantStyles, "\n\n ").concat(euiPlaceholderPerBrowser(
|
|
190
|
+
return "\n color: ".concat(form.textColorDisabled, ";\n /* Required for Safari */\n -webkit-text-fill-color: ").concat(form.textColorDisabled, ";\n background-color: ").concat(form.backgroundDisabledColor, ";\n cursor: not-allowed;\n --euiFormControlStateColor: transparent;\n\n ").concat(isRefreshVariant && refreshVariantStyles, "\n\n ").concat(euiPlaceholderPerBrowser(euiFormPlaceholderStyles(euiThemeContext)), "\n ");
|
|
186
191
|
};
|
|
187
192
|
var euiFormControlReadOnlyStyles = exports.euiFormControlReadOnlyStyles = function euiFormControlReadOnlyStyles(euiThemeContext) {
|
|
188
193
|
var euiTheme = euiThemeContext.euiTheme;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.EuiFormControlButton = void 0;
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
+
var _services = require("../../../services");
|
|
16
|
+
var _button = require("../../button");
|
|
17
|
+
var _form_control_button = require("./form_control_button.styles");
|
|
18
|
+
var _inner_text = require("../../inner_text");
|
|
19
|
+
var _react2 = require("@emotion/react");
|
|
20
|
+
var _excluded = ["children", "value", "placeholder", "className", "contentProps", "textProps", "compressed", "isInvalid", "fullWidth", "href", "rel"];
|
|
21
|
+
/*
|
|
22
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
23
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
24
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
25
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
26
|
+
* Side Public License, v 1.
|
|
27
|
+
*/
|
|
28
|
+
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); }
|
|
29
|
+
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; }
|
|
30
|
+
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; }
|
|
31
|
+
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) { (0, _defineProperty2.default)(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; }
|
|
32
|
+
var EuiFormControlButton = exports.EuiFormControlButton = function EuiFormControlButton(_ref) {
|
|
33
|
+
var children = _ref.children,
|
|
34
|
+
value = _ref.value,
|
|
35
|
+
placeholder = _ref.placeholder,
|
|
36
|
+
className = _ref.className,
|
|
37
|
+
_contentProps = _ref.contentProps,
|
|
38
|
+
_textProps = _ref.textProps,
|
|
39
|
+
compressed = _ref.compressed,
|
|
40
|
+
_ref$isInvalid = _ref.isInvalid,
|
|
41
|
+
isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid,
|
|
42
|
+
_ref$fullWidth = _ref.fullWidth,
|
|
43
|
+
fullWidth = _ref$fullWidth === void 0 ? true : _ref$fullWidth,
|
|
44
|
+
href = _ref.href,
|
|
45
|
+
rel = _ref.rel,
|
|
46
|
+
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
47
|
+
var _useInnerText = (0, _inner_text.useInnerText)(),
|
|
48
|
+
_useInnerText2 = (0, _slicedToArray2.default)(_useInnerText, 2),
|
|
49
|
+
buttonTextRef = _useInnerText2[0],
|
|
50
|
+
innerText = _useInnerText2[1];
|
|
51
|
+
var styles = (0, _services.useEuiMemoizedStyles)(_form_control_button.euiFormControlButtonStyles);
|
|
52
|
+
var classes = (0, _classnames.default)('euiFormControlButton', className);
|
|
53
|
+
var cssStyles = [styles.euiFormControlButton, isInvalid && styles.isInvalid, compressed && styles.compressed, fullWidth ? styles.fullWidth : styles.formWidth];
|
|
54
|
+
var contentProps = _objectSpread(_objectSpread({}, _contentProps), {}, {
|
|
55
|
+
css: [styles.euiFormControlButton__content, _contentProps === null || _contentProps === void 0 ? void 0 : _contentProps.css]
|
|
56
|
+
});
|
|
57
|
+
var customTextProps = _objectSpread(_objectSpread({}, _textProps), {}, {
|
|
58
|
+
className: (0, _classnames.default)('eui-textTruncate', _textProps && (_textProps === null || _textProps === void 0 ? void 0 : _textProps.className)),
|
|
59
|
+
css: [styles.textContent, !value && styles.placeholder, _textProps && (_textProps === null || _textProps === void 0 ? void 0 : _textProps.css)]
|
|
60
|
+
});
|
|
61
|
+
var content = children ? /*#__PURE__*/(0, _react.isValidElement)(children) ? children : (0, _react2.jsx)("span", null, children) : null;
|
|
62
|
+
var hasText = value || placeholder;
|
|
63
|
+
var linkProps = _objectSpread({
|
|
64
|
+
href: href,
|
|
65
|
+
rel: rel
|
|
66
|
+
}, rest);
|
|
67
|
+
var buttonProps = _objectSpread({
|
|
68
|
+
value: value ? innerText !== null && innerText !== void 0 ? innerText : '' : undefined
|
|
69
|
+
}, rest);
|
|
70
|
+
var restProps = href ? linkProps : buttonProps;
|
|
71
|
+
return (0, _react2.jsx)(_button.EuiButtonEmpty, (0, _extends2.default)({
|
|
72
|
+
css: cssStyles,
|
|
73
|
+
className: classes,
|
|
74
|
+
contentProps: contentProps,
|
|
75
|
+
textProps: false,
|
|
76
|
+
color: "text"
|
|
77
|
+
}, restProps), hasText && (0, _react2.jsx)("span", (0, _extends2.default)({}, customTextProps, {
|
|
78
|
+
ref: buttonTextRef
|
|
79
|
+
}), value || placeholder), hasText && content && ' ', content);
|
|
80
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.euiFormControlButtonStyles = void 0;
|
|
7
|
+
var _react = require("@emotion/react");
|
|
8
|
+
var _global_styling = require("../../../global_styling");
|
|
9
|
+
var _form = require("../form.styles");
|
|
10
|
+
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)."; } /*
|
|
11
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
12
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
13
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
14
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
15
|
+
* Side Public License, v 1.
|
|
16
|
+
*/
|
|
17
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
|
18
|
+
name: "isuld2-textContent",
|
|
19
|
+
styles: "flex:1;text-align:start;label:textContent;"
|
|
20
|
+
} : {
|
|
21
|
+
name: "isuld2-textContent",
|
|
22
|
+
styles: "flex:1;text-align:start;label:textContent;",
|
|
23
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
|
+
};
|
|
25
|
+
var euiFormControlButtonStyles = exports.euiFormControlButtonStyles = function euiFormControlButtonStyles(euiThemeContext) {
|
|
26
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
27
|
+
var formStyles = (0, _form.euiFormControlStyles)(euiThemeContext);
|
|
28
|
+
return {
|
|
29
|
+
euiFormControlButton: /*#__PURE__*/(0, _react.css)(formStyles.shared, " ", formStyles.uncompressed, " font-weight:", euiTheme.font.weight.regular, ";transition:none;&:hover{&::before{display:none;}}&:focus{", formStyles.focus, ";}&:disabled{", formStyles.disabled, ";};label:euiFormControlButton;"),
|
|
30
|
+
isInvalid: /*#__PURE__*/(0, _react.css)(formStyles.invalid, " &:disabled{", formStyles.invalid, ";};label:isInvalid;"),
|
|
31
|
+
compressed: /*#__PURE__*/(0, _react.css)(formStyles.compressed, ";;label:compressed;"),
|
|
32
|
+
formWidth: formStyles.formWidth,
|
|
33
|
+
fullWidth: /*#__PURE__*/(0, _react.css)(formStyles.fullWidth, ";label:fullWidth;"),
|
|
34
|
+
euiFormControlButton__content: /*#__PURE__*/(0, _react.css)("justify-content:flex-start;", (0, _global_styling.logicalCSS)('width', '100%'), ";;label:euiFormControlButton__content;"),
|
|
35
|
+
textContent: _ref,
|
|
36
|
+
placeholder: /*#__PURE__*/(0, _react.css)((0, _form.euiFormPlaceholderStyles)(euiThemeContext), ";;label:placeholder;")
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "EuiFormControlButton", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _form_control_button.EuiFormControlButton;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _form_control_button = require("./form_control_button");
|
|
@@ -37,7 +37,7 @@ var euiFormControlLayoutStyles = exports.euiFormControlLayoutStyles = function e
|
|
|
37
37
|
var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'formVariant');
|
|
38
38
|
var form = (0, _form.euiFormVariables)(euiThemeContext);
|
|
39
39
|
var groupStyles = "\n /* use pseudo element for borders to prevent dimension changes and support nested elements better */\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 0;\n border: ".concat(euiTheme.border.width.thin, " solid ").concat(form.borderColor, ";\n border-radius: inherit;\n pointer-events: none;\n }\n\n /* the filter group will use the form layout border instead */\n .euiFilterGroup {\n border-radius: 0;\n /* creating extra space to prevent the focus indicator being cut off */\n ").concat((0, _global_styling.logicalCSS)('padding-right', euiTheme.border.width.thin), "\n\n &::after {\n display: none;\n }\n }\n\n .euiFilterButton__wrapper:first-of-type::before,\n .euiFilterButton__wrapper::after {\n display: none;\n }\n ");
|
|
40
|
-
var wrapperGroupStyles = "\n > :first-child {\n ".concat((0, _global_styling.logicalCSS)('border-top-left-radius', '0'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', '0'), "\n }\n\n > :last-child {\n ").concat((0, _global_styling.logicalCSS)('border-top-right-radius', '0'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', '0'), "\n }\n ");
|
|
40
|
+
var wrapperGroupStyles = "\n > :first-child {\n border-radius: inherit;\n ".concat((0, _global_styling.logicalCSS)('border-top-left-radius', '0'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', '0'), "\n }\n\n > :last-child {\n border-radius: inherit;\n ").concat((0, _global_styling.logicalCSS)('border-top-right-radius', '0'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', '0'), "\n }\n ");
|
|
41
41
|
var prependOnlyStyles = "\n > :last-child {\n ".concat((0, _global_styling.logicalCSS)('border-top-right-radius', 'inherit'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', 'inherit'), "\n }\n ");
|
|
42
42
|
var appendOnlyStyles = "\n > :first-child {\n ".concat((0, _global_styling.logicalCSS)('border-top-left-radius', 'inherit'), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', 'inherit'), "\n }\n ");
|
|
43
43
|
return {
|
|
@@ -49,7 +49,7 @@ var euiFormControlLayoutStyles = exports.euiFormControlLayoutStyles = function e
|
|
|
49
49
|
formWidth: "\n ".concat((0, _global_styling.logicalCSS)('max-width', form.maxWidth), "\n ").concat((0, _global_styling.logicalCSS)('width', '100%'), "\n "),
|
|
50
50
|
fullWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', '100%'), " ", (0, _global_styling.logicalCSS)('width', '100%'), ";;label:fullWidth;"),
|
|
51
51
|
group: {
|
|
52
|
-
group: /*#__PURE__*/(0, _react.css)("position:relative;display:flex;align-items:stretch;border:", isRefreshVariant ? 'none' : "".concat(euiTheme.border.width.thin, " solid ").concat(form.borderColor), ";background-color:", form.backgroundColor, ";overflow:hidden;", isRefreshVariant && groupStyles, ">*{", (0, _global_styling.logicalCSS)('height', '100%'), ";};label:group;"),
|
|
52
|
+
group: /*#__PURE__*/(0, _react.css)("position:relative;display:flex;align-items:stretch;border:", isRefreshVariant ? 'none' : "".concat(euiTheme.border.width.thin, " solid ").concat(form.borderColor), ";background-color:", form.backgroundColor, ";overflow:hidden;", isRefreshVariant && groupStyles, " .euiFormControlButton{border-radius:inherit;box-shadow:none;}>*{", (0, _global_styling.logicalCSS)('height', '100%'), ";};label:group;"),
|
|
53
53
|
// Skipping css`` to avoid repeated compressed/uncompressed classNames
|
|
54
54
|
uncompressed: "\n border-radius: ".concat(form.controlBorderRadius, ";\n "),
|
|
55
55
|
compressed: "\n border-radius: ".concat(form.controlCompressedBorderRadius, ";\n ")
|
|
@@ -91,6 +91,17 @@ Object.keys(_form).forEach(function (key) {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
});
|
|
94
|
+
var _form_control_button = require("./form_control_button");
|
|
95
|
+
Object.keys(_form_control_button).forEach(function (key) {
|
|
96
|
+
if (key === "default" || key === "__esModule") return;
|
|
97
|
+
if (key in exports && exports[key] === _form_control_button[key]) return;
|
|
98
|
+
Object.defineProperty(exports, key, {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _form_control_button[key];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
94
105
|
var _form_control_layout = require("./form_control_layout");
|
|
95
106
|
Object.keys(_form_control_layout).forEach(function (key) {
|
|
96
107
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.icon = void 0;
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _react2 = require("@emotion/react");
|
|
13
|
+
var _excluded = ["title", "titleId"];
|
|
14
|
+
/*
|
|
15
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
16
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
17
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
18
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
19
|
+
* Side Public License, v 1.
|
|
20
|
+
*/
|
|
21
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
22
|
+
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); }
|
|
23
|
+
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; }
|
|
24
|
+
var EuiIconAppWorkflows = function EuiIconAppWorkflows(_ref) {
|
|
25
|
+
var title = _ref.title,
|
|
26
|
+
titleId = _ref.titleId,
|
|
27
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
28
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: 16,
|
|
31
|
+
height: 16,
|
|
32
|
+
viewBox: "0 0 16 16",
|
|
33
|
+
"aria-labelledby": titleId
|
|
34
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
|
+
id: titleId
|
|
36
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M6 1a2 2 0 0 1 1.93 1.5H12a3 3 0 0 1 0 6H9.93a2 2 0 0 1-3.86 0H4a2 2 0 0 0 0 4h4.07A2 2 0 0 1 10 11h3a2 2 0 1 1 0 4h-3a2 2 0 0 1-1.93-1.5H4a3 3 0 1 1 0-6h2.07a2 2 0 0 1 3.86 0H12a2 2 0 0 0 0-4H7.93A2 2 0 0 1 6 5H3a2 2 0 1 1 0-4h3Zm4 11a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2h-3ZM8 7a1 1 0 1 0 0 2 1 1 0 0 0 0-2ZM3 2a1 1 0 0 0 0 2h3a1 1 0 1 0 0-2H3Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
var icon = exports.icon = EuiIconAppWorkflows;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.icon = void 0;
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _react2 = require("@emotion/react");
|
|
13
|
+
var _excluded = ["title", "titleId"];
|
|
14
|
+
/*
|
|
15
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
16
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
17
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
18
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
19
|
+
* Side Public License, v 1.
|
|
20
|
+
*/
|
|
21
|
+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
|
|
22
|
+
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); }
|
|
23
|
+
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; }
|
|
24
|
+
var EuiIconBackgroundTask = function EuiIconBackgroundTask(_ref) {
|
|
25
|
+
var title = _ref.title,
|
|
26
|
+
titleId = _ref.titleId,
|
|
27
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
28
|
+
return (0, _react2.jsx)("svg", (0, _extends2.default)({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: 16,
|
|
31
|
+
height: 16,
|
|
32
|
+
viewBox: "0 0 16 16",
|
|
33
|
+
"aria-labelledby": titleId
|
|
34
|
+
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
|
+
id: titleId
|
|
36
|
+
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
+
d: "M11.157 9.013a1.004 1.004 0 0 1 .373.14l4 2.5a1 1 0 0 1 0 1.695l-4 2.5A1 1 0 0 1 10 15v-5l.009-.135a1 1 0 0 1 .407-.677l.1-.063a1 1 0 0 1 .641-.112ZM11 15l4-2.5-1.122-.702-.849-.53L11 10v5ZM6.45 13.794a5.99 5.99 0 0 0 1.55.205v1a6.993 6.993 0 0 1-1.81-.24l.26-.965Zm-2.692-1.552c.373.373.792.692 1.243.952l-.5.866a6.99 6.99 0 0 1-1.45-1.11l.707-.708ZM2.205 9.55a6.06 6.06 0 0 0 .6 1.449l-.433.249-.433.25a7.07 7.07 0 0 1-.7-1.688l.483-.13.483-.13ZM8.001.999a7 7 0 0 1 7 7c0 .683-.1 1.342-.284 1.966l-.887-.555a5.97 5.97 0 0 0 .171-1.411 6 6 0 0 0-6-6v-1ZM2.805 4.997A6.013 6.013 0 0 0 2 7.998L1.001 8a7.022 7.022 0 0 1 .937-3.502l.867.5ZM6.45 2.201a6.036 6.036 0 0 0-2.692 1.554L3.405 3.4l-.353-.353a7.036 7.036 0 0 1 3.137-1.812l.26.966Z"
|
|
38
|
+
}));
|
|
39
|
+
};
|
|
40
|
+
var icon = exports.icon = EuiIconBackgroundTask;
|
|
@@ -34,7 +34,7 @@ var EuiIconBoxesVertical = function EuiIconBoxesVertical(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M8 12a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconBoxesVertical;
|
|
@@ -34,11 +34,9 @@ var EuiIconDocumentation = function EuiIconDocumentation(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M6 16H5v-3h1v3Zm3-8h1v1H7V8h1V7h-.5V6H9v2Zm-.5-4a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1Z"
|
|
38
38
|
}), (0, _react2.jsx)("path", {
|
|
39
|
-
d: "
|
|
40
|
-
}), (0, _react2.jsx)("path", {
|
|
41
|
-
d: "M7 13H4v2.5a.5.5 0 0 0 .854.354l.646-.647.646.647A.5.5 0 0 0 7 15.5V13z"
|
|
39
|
+
d: "M7 14h5v-2H4a1 1 0 1 0 0 2v1a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10v11h-1v2h1v1H7v-1ZM4 2a1 1 0 0 0-1 1v8.27A1.99 1.99 0 0 1 4 11V2Zm1 9h8V2H5v9Z"
|
|
42
40
|
}));
|
|
43
41
|
};
|
|
44
42
|
var icon = exports.icon = EuiIconDocumentation;
|
|
@@ -34,10 +34,9 @@ var EuiIconError = function EuiIconError(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M11.354 5.354 8.707 8l2.646 2.646-.707.707L8 8.707l-2.646 2.646-.708-.707L7.293 8 4.646 5.354l.708-.708L8 7.293l2.646-2.647.707.708Z"
|
|
38
38
|
}), (0, _react2.jsx)("path", {
|
|
39
|
-
|
|
40
|
-
d: "M5 1a1 1 0 0 0-.707.293l-4 4A1 1 0 0 0 0 6v5a1 1 0 0 0 .293.707l4 4A1 1 0 0 0 5 16h5a1 1 0 0 0 .707-.293l4-4A1 1 0 0 0 15 11V6a1 1 0 0 0-.293-.707l-4-4A1 1 0 0 0 10 1H5Zm5 1H5L1 6v5l4 4h5l4-4V6l-4-4Z"
|
|
39
|
+
d: "M10.293 1a1 1 0 0 1 .707.293L14.707 5a1 1 0 0 1 .293.707v4.586a1 1 0 0 1-.293.707L11 14.707a1 1 0 0 1-.707.293H5.707A1 1 0 0 1 5 14.707L1.293 11A1 1 0 0 1 1 10.293V5.707A1 1 0 0 1 1.293 5L5 1.293A1 1 0 0 1 5.707 1h4.586ZM2 5.707v4.586L5.707 14h4.586L14 10.293V5.707L10.293 2H5.707L2 5.707Z"
|
|
41
40
|
}));
|
|
42
41
|
};
|
|
43
42
|
var icon = exports.icon = EuiIconError;
|
|
@@ -34,7 +34,7 @@ var EuiIconExport = function EuiIconExport(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M3 13h10v-2h1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-2h1v2Zm9.354-7.354-.707.708L8.5 3.207V11h-1V3.207L4.354 6.354l-.708-.708L8 1.293l4.354 4.353Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconExport;
|
|
@@ -34,7 +34,7 @@ var EuiIconFilter = function EuiIconFilter(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M9 13H7v-1h2v1Zm2-3H5V9h6v1Zm2-3H3V6h10v1Zm2-3H1V3h14v1Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconFilter;
|
|
@@ -34,12 +34,7 @@ var EuiIconFilterExclude = function EuiIconFilterExclude(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
38
|
-
}), (0, _react2.jsx)("path", {
|
|
39
|
-
fillRule: "evenodd",
|
|
40
|
-
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"
|
|
41
|
-
}), (0, _react2.jsx)("path", {
|
|
42
|
-
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"
|
|
37
|
+
d: "M15.854 10.852 14.207 12.5l1.647 1.647-.706.707-1.648-1.647-1.646 1.648-.707-.707 1.646-1.648-1.645-1.647.707-.707 1.645 1.647 1.646-1.646.707.706ZM8 13H6v-1h2v1Zm2-3H4V9h6v1Zm2-3H2V6h10v1Zm2-3H0V3h14v1Z"
|
|
43
38
|
}));
|
|
44
39
|
};
|
|
45
40
|
var icon = exports.icon = EuiIconFilterExclude;
|
|
@@ -34,7 +34,7 @@ var EuiIconFilterIgnore = function EuiIconFilterIgnore(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "m15.354 1.354-14 14-.708-.707 14-14 .707.707ZM9 13H7v-1h2v1Zm2-4v1H8.121l1-1H11Zm2-3v1h-1.879l1-1H13ZM6.879 7H3V6h4.879l-1 1ZM15 4h-.879L15 3.121V4ZM9.879 4H1V3h9.879l-1 1Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconFilterIgnore;
|
|
@@ -34,7 +34,7 @@ var EuiIconFilterInclude = function EuiIconFilterInclude(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M14 12h2v1h-2v2h-1v-2h-2v-1h2v-2h1v2Zm-6 1H6v-1h2v1Zm2-3H4V9h6v1Zm2-3H2V6h10v1Zm2-3H0V3h14v1Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconFilterInclude;
|
|
@@ -34,8 +34,7 @@ var EuiIconGrab = function EuiIconGrab(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
|
|
38
|
-
d: "M13.5 6c.276 0 .5.232.5.5 0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11Zm0 3c.276 0 .5.232.5.5 0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11Z"
|
|
37
|
+
d: "M4 9a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM4 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"
|
|
39
38
|
}));
|
|
40
39
|
};
|
|
41
40
|
var icon = exports.icon = EuiIconGrab;
|
|
@@ -34,7 +34,7 @@ var EuiIconGrabOmnidirectional = function EuiIconGrabOmnidirectional(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M4 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM4 7a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM4 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconGrabOmnidirectional;
|
|
@@ -34,8 +34,7 @@ var EuiIconGrabHorizontal = function EuiIconGrabHorizontal(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
|
|
38
|
-
d: "M6 2.5c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11Zm3 0c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11Z"
|
|
37
|
+
d: "M6 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM6 7a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM6 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"
|
|
39
38
|
}));
|
|
40
39
|
};
|
|
41
40
|
var icon = exports.icon = EuiIconGrabHorizontal;
|
|
@@ -34,7 +34,7 @@ var EuiIconImport = function EuiIconImport(_ref) {
|
|
|
34
34
|
}, props), title ? (0, _react2.jsx)("title", {
|
|
35
35
|
id: titleId
|
|
36
36
|
}, title) : null, (0, _react2.jsx)("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "M3 13h10v-2h1v2a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-2h1v2ZM8.5 1v7.793l3.146-3.147.707.708L8 10.707 3.646 6.354l.708-.708L7.5 8.793V1h1Z"
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
var icon = exports.icon = EuiIconImport;
|