@elastic/eui 77.0.0 → 77.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +22 -51
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +22 -51
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accordion/accordion.a11y.js +3 -1
- package/es/components/accordion/accordion.js +4 -2
- package/es/components/basic_table/table.a11y.js +3 -1
- package/es/components/breadcrumbs/breadcrumbs.a11y.js +3 -1
- package/es/components/card/card.a11y.js +3 -1
- package/es/components/color_picker/color_picker.a11y.js +3 -1
- package/es/components/combo_box/combo_box.a11y.js +3 -1
- package/es/components/combo_box/combo_box.js +2 -21
- package/es/components/combo_box/combo_box_input/combo_box_input.js +66 -36
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/context_menu/context_menu_panel.a11y.js +3 -1
- package/es/components/control_bar/control_bar.a11y.js +3 -1
- package/es/components/copy/copy.a11y.js +6 -5
- package/es/components/datagrid/data_grid.a11y.js +3 -1
- package/es/components/date_picker/date_picker.a11y.js +3 -1
- package/es/components/date_picker/date_picker.js +148 -155
- package/es/components/date_picker/date_picker_range.js +2 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.a11y.js +3 -1
- package/es/components/delay_hide/delay_hide.a11y.js +9 -9
- package/es/components/delay_render/delay_render.a11y.js +9 -9
- package/es/components/drag_and_drop/drag_and_drop.a11y.js +3 -2
- package/es/components/empty_prompt/empty_prompt.a11y.js +8 -14
- package/es/components/error_boundary/error_boundary.a11y.js +3 -1
- package/es/components/expression/expression.a11y.js +3 -1
- package/es/components/filter_group/filter_group.a11y.js +4 -3
- package/es/components/flyout/flyout.a11y.js +3 -1
- package/es/components/focus_trap/focus_trap.a11y.js +3 -1
- package/es/components/form/checkbox/checkbox_group.a11y.js +3 -1
- package/es/components/form/file_picker/file_picker.js +4 -2
- package/es/components/form/radio/radio_group.a11y.js +4 -5
- package/es/components/form/range/range.a11y.js +3 -1
- package/es/components/form/switch/switch.a11y.js +4 -5
- package/es/components/form/text_area/text_area.js +11 -3
- package/es/components/form/validatable_control/index.js +1 -1
- package/es/components/form/validatable_control/validatable_control.js +49 -13
- package/es/components/header/header.a11y.js +3 -1
- package/es/components/icon/icon_ML.a11y.js +3 -1
- package/es/components/icon/icon_apps.a11y.js +3 -1
- package/es/components/icon/icon_editor.a11y.js +3 -1
- package/es/components/icon/icon_elastic.a11y.js +3 -1
- package/es/components/icon/icon_glyphs.a11y.js +3 -1
- package/es/components/icon/icon_tokens.a11y.js +3 -1
- package/es/components/image/image.a11y.js +3 -1
- package/es/components/index.js +1 -0
- package/es/components/inline_edit/index.js +10 -0
- package/es/components/inline_edit/inline_edit.styles.js +15 -0
- package/es/components/inline_edit/inline_edit_form.js +190 -0
- package/es/components/inline_edit/inline_edit_text.js +97 -0
- package/es/components/inline_edit/inline_edit_title.js +105 -0
- package/es/components/key_pad_menu/key_pad_menu.a11y.js +3 -1
- package/es/components/modal/modal.a11y.js +3 -1
- package/es/components/notification/notification_event.a11y.js +3 -1
- package/es/components/page/page_header/page_header.a11y.js +3 -1
- package/es/components/pagination/pagination.a11y.js +3 -1
- package/es/components/popover/popover.a11y.js +3 -1
- package/es/components/popover/popover_footer.js +4 -4
- package/es/components/popover/popover_footer.styles.js +16 -5
- package/es/components/popover/popover_panel/_popover_panel.js +8 -5
- package/es/components/portal/portal.a11y.js +3 -1
- package/es/components/progress/progress.a11y.js +3 -1
- package/es/components/resizable_container/resizable_container.a11y.js +3 -1
- package/es/components/search_bar/search_bar.a11y.js +8 -7
- package/es/components/selectable/selectable.a11y.js +3 -1
- package/es/components/side_nav/side_nav.a11y.js +3 -1
- package/es/components/tabs/tabs.a11y.js +3 -1
- package/es/components/tree_view/tree_view.a11y.js +3 -1
- package/eui.d.ts +161 -37
- package/i18ntokens.json +40 -4
- package/lib/components/accordion/accordion.a11y.js +3 -1
- package/lib/components/accordion/accordion.js +4 -2
- package/lib/components/basic_table/table.a11y.js +3 -1
- package/lib/components/breadcrumbs/breadcrumbs.a11y.js +3 -1
- package/lib/components/combo_box/combo_box.js +2 -21
- package/lib/components/combo_box/combo_box_input/combo_box_input.js +66 -36
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/context_menu/context_menu_panel.a11y.js +3 -1
- package/lib/components/copy/copy.a11y.js +3 -4
- package/lib/components/date_picker/date_picker.js +147 -153
- package/lib/components/date_picker/date_picker_range.js +2 -2
- package/lib/components/delay_hide/delay_hide.a11y.js +6 -8
- package/lib/components/delay_render/delay_render.a11y.js +6 -8
- package/lib/components/drag_and_drop/drag_and_drop.a11y.js +0 -1
- package/lib/components/empty_prompt/empty_prompt.a11y.js +8 -14
- package/lib/components/error_boundary/error_boundary.a11y.js +3 -1
- package/lib/components/filter_group/filter_group.a11y.js +7 -8
- package/lib/components/form/file_picker/file_picker.js +4 -2
- package/lib/components/form/radio/radio_group.a11y.js +1 -4
- package/lib/components/form/switch/switch.a11y.js +1 -4
- package/lib/components/form/text_area/text_area.js +11 -3
- package/lib/components/form/validatable_control/index.js +6 -0
- package/lib/components/form/validatable_control/validatable_control.js +51 -14
- package/lib/components/icon/icon_ML.a11y.js +3 -1
- package/lib/components/icon/icon_apps.a11y.js +3 -1
- package/lib/components/icon/icon_editor.a11y.js +3 -1
- package/lib/components/icon/icon_elastic.a11y.js +3 -1
- package/lib/components/icon/icon_glyphs.a11y.js +3 -1
- package/lib/components/icon/icon_tokens.a11y.js +3 -1
- package/lib/components/image/image.a11y.js +3 -1
- package/lib/components/index.js +11 -0
- package/lib/components/inline_edit/index.js +19 -0
- package/lib/components/inline_edit/inline_edit.styles.js +22 -0
- package/lib/components/inline_edit/inline_edit_form.js +193 -0
- package/lib/components/inline_edit/inline_edit_text.js +97 -0
- package/lib/components/inline_edit/inline_edit_title.js +106 -0
- package/lib/components/page/page_header/page_header.a11y.js +3 -1
- package/lib/components/popover/popover_footer.js +4 -4
- package/lib/components/popover/popover_footer.styles.js +19 -7
- package/lib/components/popover/popover_panel/_popover_panel.js +7 -4
- package/lib/components/resizable_container/resizable_container.a11y.js +3 -1
- package/lib/components/search_bar/search_bar.a11y.js +5 -6
- package/lib/components/tree_view/tree_view.a11y.js +3 -1
- package/optimize/es/components/accordion/accordion.a11y.js +3 -1
- package/optimize/es/components/accordion/accordion.js +4 -2
- package/optimize/es/components/basic_table/table.a11y.js +3 -1
- package/optimize/es/components/breadcrumbs/breadcrumbs.a11y.js +3 -1
- package/optimize/es/components/card/card.a11y.js +3 -1
- package/optimize/es/components/color_picker/color_picker.a11y.js +3 -1
- package/optimize/es/components/combo_box/combo_box.a11y.js +3 -1
- package/optimize/es/components/combo_box/combo_box.js +2 -21
- package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +63 -34
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/optimize/es/components/context_menu/context_menu_panel.a11y.js +3 -1
- package/optimize/es/components/control_bar/control_bar.a11y.js +3 -1
- package/optimize/es/components/copy/copy.a11y.js +6 -5
- package/optimize/es/components/datagrid/data_grid.a11y.js +3 -1
- package/optimize/es/components/date_picker/date_picker.a11y.js +3 -1
- package/optimize/es/components/date_picker/date_picker.js +142 -148
- package/optimize/es/components/date_picker/date_picker_range.js +1 -1
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.a11y.js +3 -1
- package/optimize/es/components/delay_hide/delay_hide.a11y.js +9 -9
- package/optimize/es/components/delay_render/delay_render.a11y.js +9 -9
- package/optimize/es/components/drag_and_drop/drag_and_drop.a11y.js +3 -2
- package/optimize/es/components/empty_prompt/empty_prompt.a11y.js +8 -14
- package/optimize/es/components/error_boundary/error_boundary.a11y.js +3 -1
- package/optimize/es/components/expression/expression.a11y.js +3 -1
- package/optimize/es/components/filter_group/filter_group.a11y.js +4 -3
- package/optimize/es/components/flyout/flyout.a11y.js +3 -1
- package/optimize/es/components/focus_trap/focus_trap.a11y.js +3 -1
- package/optimize/es/components/form/checkbox/checkbox_group.a11y.js +3 -1
- package/optimize/es/components/form/file_picker/file_picker.js +4 -2
- package/optimize/es/components/form/radio/radio_group.a11y.js +4 -5
- package/optimize/es/components/form/range/range.a11y.js +3 -1
- package/optimize/es/components/form/switch/switch.a11y.js +4 -5
- package/optimize/es/components/form/text_area/text_area.js +10 -3
- package/optimize/es/components/form/validatable_control/index.js +1 -1
- package/optimize/es/components/form/validatable_control/validatable_control.js +49 -9
- package/optimize/es/components/header/header.a11y.js +3 -1
- package/optimize/es/components/icon/icon_ML.a11y.js +3 -1
- package/optimize/es/components/icon/icon_apps.a11y.js +3 -1
- package/optimize/es/components/icon/icon_editor.a11y.js +3 -1
- package/optimize/es/components/icon/icon_elastic.a11y.js +3 -1
- package/optimize/es/components/icon/icon_glyphs.a11y.js +3 -1
- package/optimize/es/components/icon/icon_tokens.a11y.js +3 -1
- package/optimize/es/components/image/image.a11y.js +3 -1
- package/optimize/es/components/index.js +1 -0
- package/optimize/es/components/inline_edit/index.js +10 -0
- package/optimize/es/components/inline_edit/inline_edit.styles.js +15 -0
- package/optimize/es/components/inline_edit/inline_edit_form.js +133 -0
- package/optimize/es/components/inline_edit/inline_edit_text.js +52 -0
- package/optimize/es/components/inline_edit/inline_edit_title.js +56 -0
- package/optimize/es/components/key_pad_menu/key_pad_menu.a11y.js +3 -1
- package/optimize/es/components/modal/modal.a11y.js +3 -1
- package/optimize/es/components/notification/notification_event.a11y.js +3 -1
- package/optimize/es/components/page/page_header/page_header.a11y.js +3 -1
- package/optimize/es/components/pagination/pagination.a11y.js +3 -1
- package/optimize/es/components/popover/popover.a11y.js +3 -1
- package/optimize/es/components/popover/popover_footer.js +4 -4
- package/optimize/es/components/popover/popover_footer.styles.js +16 -5
- package/optimize/es/components/popover/popover_panel/_popover_panel.js +8 -5
- package/optimize/es/components/portal/portal.a11y.js +3 -1
- package/optimize/es/components/progress/progress.a11y.js +3 -1
- package/optimize/es/components/resizable_container/resizable_container.a11y.js +3 -1
- package/optimize/es/components/search_bar/search_bar.a11y.js +8 -7
- package/optimize/es/components/selectable/selectable.a11y.js +3 -1
- package/optimize/es/components/side_nav/side_nav.a11y.js +3 -1
- package/optimize/es/components/tabs/tabs.a11y.js +3 -1
- package/optimize/es/components/tree_view/tree_view.a11y.js +3 -1
- package/optimize/lib/components/accordion/accordion.a11y.js +3 -1
- package/optimize/lib/components/accordion/accordion.js +4 -2
- package/optimize/lib/components/basic_table/table.a11y.js +3 -1
- package/optimize/lib/components/breadcrumbs/breadcrumbs.a11y.js +3 -1
- package/optimize/lib/components/card/card.a11y.js +3 -1
- package/optimize/lib/components/color_picker/color_picker.a11y.js +3 -1
- package/optimize/lib/components/combo_box/combo_box.a11y.js +3 -1
- package/optimize/lib/components/combo_box/combo_box.js +2 -21
- package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +63 -34
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/optimize/lib/components/context_menu/context_menu_panel.a11y.js +3 -1
- package/optimize/lib/components/control_bar/control_bar.a11y.js +3 -1
- package/optimize/lib/components/copy/copy.a11y.js +6 -5
- package/optimize/lib/components/datagrid/data_grid.a11y.js +3 -1
- package/optimize/lib/components/date_picker/date_picker.a11y.js +3 -1
- package/optimize/lib/components/date_picker/date_picker.js +141 -147
- package/optimize/lib/components/date_picker/date_picker_range.js +1 -1
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.a11y.js +3 -1
- package/optimize/lib/components/delay_hide/delay_hide.a11y.js +9 -9
- package/optimize/lib/components/delay_render/delay_render.a11y.js +9 -9
- package/optimize/lib/components/drag_and_drop/drag_and_drop.a11y.js +3 -2
- package/optimize/lib/components/empty_prompt/empty_prompt.a11y.js +8 -14
- package/optimize/lib/components/error_boundary/error_boundary.a11y.js +3 -1
- package/optimize/lib/components/filter_group/filter_group.a11y.js +10 -9
- package/optimize/lib/components/focus_trap/focus_trap.a11y.js +3 -1
- package/optimize/lib/components/form/file_picker/file_picker.js +4 -2
- package/optimize/lib/components/form/radio/radio_group.a11y.js +4 -5
- package/optimize/lib/components/form/range/range.a11y.js +3 -1
- package/optimize/lib/components/form/switch/switch.a11y.js +4 -5
- package/optimize/lib/components/form/text_area/text_area.js +10 -3
- package/optimize/lib/components/form/validatable_control/index.js +6 -0
- package/optimize/lib/components/form/validatable_control/validatable_control.js +52 -12
- package/optimize/lib/components/header/header.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_ML.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_apps.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_editor.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_elastic.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_glyphs.a11y.js +3 -1
- package/optimize/lib/components/icon/icon_tokens.a11y.js +3 -1
- package/optimize/lib/components/image/image.a11y.js +3 -1
- package/optimize/lib/components/index.js +11 -0
- package/optimize/lib/components/inline_edit/index.js +19 -0
- package/optimize/lib/components/inline_edit/inline_edit.styles.js +22 -0
- package/optimize/lib/components/inline_edit/inline_edit_form.js +144 -0
- package/optimize/lib/components/inline_edit/inline_edit_text.js +52 -0
- package/optimize/lib/components/inline_edit/inline_edit_title.js +57 -0
- package/optimize/lib/components/key_pad_menu/key_pad_menu.a11y.js +3 -1
- package/optimize/lib/components/modal/modal.a11y.js +3 -1
- package/optimize/lib/components/notification/notification_event.a11y.js +3 -1
- package/optimize/lib/components/page/page_header/page_header.a11y.js +3 -1
- package/optimize/lib/components/pagination/pagination.a11y.js +3 -1
- package/optimize/lib/components/popover/popover.a11y.js +3 -1
- package/optimize/lib/components/popover/popover_footer.js +4 -4
- package/optimize/lib/components/popover/popover_footer.styles.js +19 -7
- package/optimize/lib/components/popover/popover_panel/_popover_panel.js +7 -4
- package/optimize/lib/components/portal/portal.a11y.js +3 -1
- package/optimize/lib/components/progress/progress.a11y.js +3 -1
- package/optimize/lib/components/resizable_container/resizable_container.a11y.js +3 -1
- package/optimize/lib/components/search_bar/search_bar.a11y.js +8 -7
- package/optimize/lib/components/selectable/selectable.a11y.js +3 -1
- package/optimize/lib/components/side_nav/side_nav.a11y.js +3 -1
- package/optimize/lib/components/tree_view/tree_view.a11y.js +3 -1
- package/package.json +1 -1
- package/src/components/combo_box/_combo_box.scss +2 -38
- package/src/components/date_picker/_date_picker_range.scss +1 -1
- package/src/components/form/field_text/_field_text.scss +0 -7
- package/src/components/form/file_picker/_file_picker.scss +3 -2
- package/src/components/form/form_control_layout/_form_control_layout.scss +7 -2
- package/src/components/form/text_area/_text_area.scss +9 -0
- package/test-env/components/accordion/accordion.a11y.js +3 -1
- package/test-env/components/accordion/accordion.js +4 -2
- package/test-env/components/basic_table/table.a11y.js +3 -1
- package/test-env/components/breadcrumbs/breadcrumbs.a11y.js +3 -1
- package/test-env/components/card/card.a11y.js +3 -1
- package/test-env/components/color_picker/color_picker.a11y.js +3 -1
- package/test-env/components/combo_box/combo_box.a11y.js +3 -1
- package/test-env/components/combo_box/combo_box.js +2 -21
- package/test-env/components/combo_box/combo_box_input/combo_box_input.js +66 -36
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/context_menu/context_menu_panel.a11y.js +3 -1
- package/test-env/components/control_bar/control_bar.a11y.js +3 -1
- package/test-env/components/copy/copy.a11y.js +6 -5
- package/test-env/components/datagrid/data_grid.a11y.js +3 -1
- package/test-env/components/date_picker/date_picker.a11y.js +3 -1
- package/test-env/components/date_picker/date_picker.js +141 -147
- package/test-env/components/date_picker/date_picker_range.js +2 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.a11y.js +3 -1
- package/test-env/components/delay_hide/delay_hide.a11y.js +9 -9
- package/test-env/components/delay_render/delay_render.a11y.js +9 -9
- package/test-env/components/drag_and_drop/drag_and_drop.a11y.js +3 -2
- package/test-env/components/empty_prompt/empty_prompt.a11y.js +8 -14
- package/test-env/components/error_boundary/error_boundary.a11y.js +3 -1
- package/test-env/components/filter_group/filter_group.a11y.js +10 -9
- package/test-env/components/focus_trap/focus_trap.a11y.js +3 -1
- package/test-env/components/form/file_picker/file_picker.js +4 -2
- package/test-env/components/form/radio/radio_group.a11y.js +4 -5
- package/test-env/components/form/range/range.a11y.js +3 -1
- package/test-env/components/form/switch/switch.a11y.js +4 -5
- package/test-env/components/form/text_area/text_area.js +11 -3
- package/test-env/components/form/validatable_control/index.js +6 -0
- package/test-env/components/form/validatable_control/validatable_control.js +51 -14
- package/test-env/components/header/header.a11y.js +3 -1
- package/test-env/components/icon/icon_ML.a11y.js +3 -1
- package/test-env/components/icon/icon_apps.a11y.js +3 -1
- package/test-env/components/icon/icon_editor.a11y.js +3 -1
- package/test-env/components/icon/icon_elastic.a11y.js +3 -1
- package/test-env/components/icon/icon_glyphs.a11y.js +3 -1
- package/test-env/components/icon/icon_tokens.a11y.js +3 -1
- package/test-env/components/image/image.a11y.js +3 -1
- package/test-env/components/index.js +11 -0
- package/test-env/components/inline_edit/index.js +19 -0
- package/test-env/components/inline_edit/inline_edit.styles.js +22 -0
- package/test-env/components/inline_edit/inline_edit_form.js +196 -0
- package/test-env/components/inline_edit/inline_edit_text.js +96 -0
- package/test-env/components/inline_edit/inline_edit_title.js +105 -0
- package/test-env/components/key_pad_menu/key_pad_menu.a11y.js +3 -1
- package/test-env/components/modal/modal.a11y.js +3 -1
- package/test-env/components/notification/notification_event.a11y.js +3 -1
- package/test-env/components/page/page_header/page_header.a11y.js +3 -1
- package/test-env/components/pagination/pagination.a11y.js +3 -1
- package/test-env/components/popover/popover.a11y.js +3 -1
- package/test-env/components/popover/popover_footer.js +4 -4
- package/test-env/components/popover/popover_footer.styles.js +19 -7
- package/test-env/components/popover/popover_panel/_popover_panel.js +7 -4
- package/test-env/components/portal/portal.a11y.js +3 -1
- package/test-env/components/progress/progress.a11y.js +3 -1
- package/test-env/components/resizable_container/resizable_container.a11y.js +3 -1
- package/test-env/components/search_bar/search_bar.a11y.js +8 -7
- package/test-env/components/selectable/selectable.a11y.js +3 -1
- package/test-env/components/side_nav/side_nav.a11y.js +3 -1
- package/test-env/components/tree_view/tree_view.a11y.js +3 -1
|
@@ -15,12 +15,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
15
15
|
* Side Public License, v 1.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
/// <reference types="
|
|
18
|
+
/// <reference types="cypress" />
|
|
19
|
+
/// <reference types="cypress-real-events" />
|
|
20
|
+
/// <reference types="../../../cypress/support" />
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
var addCaseSpy =
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
beforeEach(function () {
|
|
23
|
+
var addCaseSpy = cy.spy().as('addCaseSpy');
|
|
24
|
+
var addLinkSpy = cy.spy().as('addLinkSpy');
|
|
25
|
+
cy.viewport(1024, 768); // medium breakpoint
|
|
26
|
+
cy.realMount((0, _react2.jsx)(_empty_prompt.EuiEmptyPrompt, {
|
|
24
27
|
iconType: "logoSecurity",
|
|
25
28
|
title: (0, _react2.jsx)("h2", null, "Start adding cases"),
|
|
26
29
|
body: (0, _react2.jsx)("p", null, "Add a new case or change your filter settings."),
|
|
@@ -35,15 +38,6 @@ var EmptyPrompt = function EmptyPrompt(_ref) {
|
|
|
35
38
|
href: "#",
|
|
36
39
|
onClick: addLinkSpy
|
|
37
40
|
}, "Read the docs"))
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
beforeEach(function () {
|
|
41
|
-
var addCaseSpy = cy.spy().as('addCaseSpy');
|
|
42
|
-
var addLinkSpy = cy.spy().as('addLinkSpy');
|
|
43
|
-
cy.viewport(1024, 768); // medium breakpoint
|
|
44
|
-
cy.realMount((0, _react2.jsx)(EmptyPrompt, {
|
|
45
|
-
addCaseSpy: addCaseSpy,
|
|
46
|
-
addLinkSpy: addLinkSpy
|
|
47
41
|
}));
|
|
48
42
|
});
|
|
49
43
|
describe('EuiEmptyPrompt', function () {
|
|
@@ -14,7 +14,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
14
14
|
* Side Public License, v 1.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
/// <reference types="
|
|
17
|
+
/// <reference types="cypress" />
|
|
18
|
+
/// <reference types="cypress-real-events" />
|
|
19
|
+
/// <reference types="../../../cypress/support" />
|
|
18
20
|
|
|
19
21
|
var handleFocus = function handleFocus() {
|
|
20
22
|
var target = document.querySelector('pre.euiCodeBlock__pre');
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
var _react = _interopRequireWildcard(require("react"));
|
|
5
|
-
var _filter_button = require("./filter_button");
|
|
6
|
-
var _filter_group = require("./filter_group");
|
|
7
5
|
var _popover = require("../popover");
|
|
8
6
|
var _selectable = require("../selectable");
|
|
9
7
|
var _services = require("../../services");
|
|
8
|
+
var _index = require("./index");
|
|
10
9
|
var _react2 = require("@emotion/react");
|
|
11
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -25,7 +24,7 @@ describe('EuiFilterGroup single filter example', function () {
|
|
|
25
24
|
var toggleFilter = function toggleFilter() {
|
|
26
25
|
setIsFilterOn(!isFilterOn);
|
|
27
26
|
};
|
|
28
|
-
return (0, _react2.jsx)(
|
|
27
|
+
return (0, _react2.jsx)(_index.EuiFilterGroup, null, (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
29
28
|
hasActiveFilters: isFilterOn,
|
|
30
29
|
onClick: toggleFilter
|
|
31
30
|
}, "Single filter"));
|
|
@@ -53,7 +52,7 @@ describe('EuiFilterGroup filter with long name example', function () {
|
|
|
53
52
|
var toggleFilter = function toggleFilter() {
|
|
54
53
|
setIsFilterOn(!isFilterOn);
|
|
55
54
|
};
|
|
56
|
-
return (0, _react2.jsx)(
|
|
55
|
+
return (0, _react2.jsx)(_index.EuiFilterGroup, null, (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
57
56
|
hasActiveFilters: isFilterOn,
|
|
58
57
|
numFilters: 12,
|
|
59
58
|
onClick: toggleFilter
|
|
@@ -91,11 +90,11 @@ describe('EuiFilterGroup two filter example', function () {
|
|
|
91
90
|
setIsOffFilterOn(!isOffFilterOn);
|
|
92
91
|
setIsOnFilterOn(isOnFilterOn && !isOffFilterOn ? false : isOnFilterOn);
|
|
93
92
|
};
|
|
94
|
-
return (0, _react2.jsx)(
|
|
93
|
+
return (0, _react2.jsx)(_index.EuiFilterGroup, null, (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
95
94
|
withNext: true,
|
|
96
95
|
hasActiveFilters: isOnFilterOn,
|
|
97
96
|
onClick: toggleOnFilter
|
|
98
|
-
}, "Yes"), (0, _react2.jsx)(
|
|
97
|
+
}, "Yes"), (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
99
98
|
withNext: true,
|
|
100
99
|
hasActiveFilters: isOffFilterOn,
|
|
101
100
|
onClick: toggleOffFilter
|
|
@@ -167,7 +166,7 @@ describe('EuiFilterGroup multiselect example', function () {
|
|
|
167
166
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
168
167
|
items = _useState16[0],
|
|
169
168
|
setItems = _useState16[1];
|
|
170
|
-
var button = (0, _react2.jsx)(
|
|
169
|
+
var button = (0, _react2.jsx)(_index.EuiFilterButton, {
|
|
171
170
|
iconType: "arrowDown",
|
|
172
171
|
onClick: onButtonClick,
|
|
173
172
|
isSelected: isPopoverOpen,
|
|
@@ -181,7 +180,7 @@ describe('EuiFilterGroup multiselect example', function () {
|
|
|
181
180
|
return item.checked === 'on';
|
|
182
181
|
}).length
|
|
183
182
|
}, "Composers");
|
|
184
|
-
return (0, _react2.jsx)(
|
|
183
|
+
return (0, _react2.jsx)(_index.EuiFilterGroup, null, (0, _react2.jsx)(_popover.EuiPopover, {
|
|
185
184
|
id: filterGroupPopoverId,
|
|
186
185
|
button: button,
|
|
187
186
|
isOpen: isPopoverOpen,
|
|
@@ -205,8 +205,10 @@ var EuiFilePicker = /*#__PURE__*/function (_Component) {
|
|
|
205
205
|
id: promptId
|
|
206
206
|
}, (0, _react2.jsx)(_icon.EuiIcon, {
|
|
207
207
|
className: "euiFilePicker__icon",
|
|
208
|
-
color: disabled ? 'subdued' : 'primary'
|
|
209
|
-
|
|
208
|
+
color: isInvalid ? 'danger' : disabled ? 'subdued' : 'primary' // eslint-disable-line no-nested-ternary
|
|
209
|
+
,
|
|
210
|
+
|
|
211
|
+
type: isInvalid ? 'alert' : 'importAction',
|
|
210
212
|
size: normalFormControl ? 'm' : 'l',
|
|
211
213
|
"aria-hidden": "true"
|
|
212
214
|
}), (0, _react2.jsx)("div", {
|
|
@@ -35,14 +35,11 @@ var RadioGroup = function RadioGroup() {
|
|
|
35
35
|
_useState2 = _slicedToArray(_useState, 2),
|
|
36
36
|
radioIdSelected = _useState2[0],
|
|
37
37
|
setRadioIdSelected = _useState2[1];
|
|
38
|
-
var _onChange = function onChange(optionId) {
|
|
39
|
-
setRadioIdSelected(optionId);
|
|
40
|
-
};
|
|
41
38
|
return (0, _react2.jsx)(_radio_group.EuiRadioGroup, {
|
|
42
39
|
options: radios,
|
|
43
40
|
idSelected: radioIdSelected,
|
|
44
41
|
onChange: function onChange(id) {
|
|
45
|
-
return
|
|
42
|
+
return setRadioIdSelected(id);
|
|
46
43
|
},
|
|
47
44
|
name: "radio group",
|
|
48
45
|
legend: {
|
|
@@ -17,14 +17,11 @@ var Switch = function Switch() {
|
|
|
17
17
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18
18
|
checked = _useState2[0],
|
|
19
19
|
setChecked = _useState2[1];
|
|
20
|
-
var _onChange = function onChange(e) {
|
|
21
|
-
setChecked(e.target.checked);
|
|
22
|
-
};
|
|
23
20
|
return (0, _react2.jsx)(_switch.EuiSwitch, {
|
|
24
21
|
label: "Malware protection",
|
|
25
22
|
checked: checked,
|
|
26
23
|
onChange: function onChange(e) {
|
|
27
|
-
return
|
|
24
|
+
return setChecked(e.target.checked);
|
|
28
25
|
}
|
|
29
26
|
});
|
|
30
27
|
};
|
|
@@ -7,10 +7,11 @@ exports.RESIZE = exports.EuiTextArea = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _form_control_layout = require("../form_control_layout");
|
|
10
11
|
var _validatable_control = require("../validatable_control");
|
|
11
12
|
var _eui_form_context = require("../eui_form_context");
|
|
12
13
|
var _react2 = require("@emotion/react");
|
|
13
|
-
var _excluded = ["children", "className", "compressed", "fullWidth", "id", "inputRef", "isInvalid", "name", "placeholder", "resize", "rows"];
|
|
14
|
+
var _excluded = ["children", "className", "compressed", "fullWidth", "id", "inputRef", "isLoading", "isInvalid", "name", "placeholder", "resize", "rows"];
|
|
14
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -33,6 +34,7 @@ var EuiTextArea = function EuiTextArea(props) {
|
|
|
33
34
|
fullWidth = _props$fullWidth === void 0 ? defaultFullWidth : _props$fullWidth,
|
|
34
35
|
id = props.id,
|
|
35
36
|
inputRef = props.inputRef,
|
|
37
|
+
isLoading = props.isLoading,
|
|
36
38
|
isInvalid = props.isInvalid,
|
|
37
39
|
name = props.name,
|
|
38
40
|
placeholder = props.placeholder,
|
|
@@ -52,7 +54,12 @@ var EuiTextArea = function EuiTextArea(props) {
|
|
|
52
54
|
} else {
|
|
53
55
|
definedRows = 6;
|
|
54
56
|
}
|
|
55
|
-
return (0, _react2.jsx)(
|
|
57
|
+
return (0, _react2.jsx)(_form_control_layout.EuiFormControlLayout, {
|
|
58
|
+
fullWidth: fullWidth,
|
|
59
|
+
isLoading: isLoading,
|
|
60
|
+
isInvalid: isInvalid,
|
|
61
|
+
className: "euiFormControlLayout--euiTextArea"
|
|
62
|
+
}, (0, _react2.jsx)(_validatable_control.EuiValidatableControl, {
|
|
56
63
|
isInvalid: isInvalid
|
|
57
64
|
}, (0, _react2.jsx)("textarea", _extends({
|
|
58
65
|
className: classes
|
|
@@ -62,7 +69,7 @@ var EuiTextArea = function EuiTextArea(props) {
|
|
|
62
69
|
id: id,
|
|
63
70
|
ref: inputRef,
|
|
64
71
|
placeholder: placeholder
|
|
65
|
-
}), children));
|
|
72
|
+
}), children)));
|
|
66
73
|
};
|
|
67
74
|
exports.EuiTextArea = EuiTextArea;
|
|
68
75
|
EuiTextArea.propTypes = {
|
|
@@ -70,6 +77,7 @@ EuiTextArea.propTypes = {
|
|
|
70
77
|
"aria-label": _propTypes.default.string,
|
|
71
78
|
"data-test-subj": _propTypes.default.string,
|
|
72
79
|
css: _propTypes.default.any,
|
|
80
|
+
isLoading: _propTypes.default.bool,
|
|
73
81
|
isInvalid: _propTypes.default.bool,
|
|
74
82
|
/**
|
|
75
83
|
* Expand to fill 100% of the parent.
|
|
@@ -9,4 +9,10 @@ Object.defineProperty(exports, "EuiValidatableControl", {
|
|
|
9
9
|
return _validatable_control.EuiValidatableControl;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "useEuiValidatableControl", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _validatable_control.useEuiValidatableControl;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
12
18
|
var _validatable_control = require("./validatable_control");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.EuiValidatableControl = void 0;
|
|
6
|
+
exports.useEuiValidatableControl = exports.EuiValidatableControl = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -18,6 +18,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
18
18
|
function isMutableRef(ref) {
|
|
19
19
|
return ref != null && ref.hasOwnProperty('current');
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The `EuiValidatableControl` component should be used in scenarios where
|
|
24
|
+
* we can render the validated `<input>` as its direct child.
|
|
25
|
+
*/
|
|
26
|
+
|
|
21
27
|
var EuiValidatableControl = function EuiValidatableControl(_ref) {
|
|
22
28
|
var isInvalid = _ref.isInvalid,
|
|
23
29
|
children = _ref.children;
|
|
@@ -34,22 +40,21 @@ var EuiValidatableControl = function EuiValidatableControl(_ref) {
|
|
|
34
40
|
childRef.current = element;
|
|
35
41
|
}
|
|
36
42
|
}, [childRef]);
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if (isInvalid) {
|
|
43
|
-
control.current.setCustomValidity('Invalid');
|
|
44
|
-
} else {
|
|
45
|
-
control.current.setCustomValidity('');
|
|
46
|
-
}
|
|
43
|
+
useSetControlValidity({
|
|
44
|
+
controlEl: control.current,
|
|
45
|
+
isInvalid: isInvalid
|
|
47
46
|
});
|
|
48
47
|
return /*#__PURE__*/(0, _react.cloneElement)(child, {
|
|
49
48
|
ref: replacedRef,
|
|
50
49
|
'aria-invalid': isInvalid
|
|
51
50
|
});
|
|
52
51
|
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The `UseEuiValidatableControl` hook should be used in scenarios where
|
|
55
|
+
* we *cannot* control where the validated `<input>` is rendered (e.g., ReactDatePicker)
|
|
56
|
+
* and instead need to access the input via a ref and pass the element in directly
|
|
57
|
+
*/
|
|
53
58
|
exports.EuiValidatableControl = EuiValidatableControl;
|
|
54
59
|
EuiValidatableControl.propTypes = {
|
|
55
60
|
className: _propTypes.default.string,
|
|
@@ -57,10 +62,42 @@ EuiValidatableControl.propTypes = {
|
|
|
57
62
|
"data-test-subj": _propTypes.default.string,
|
|
58
63
|
css: _propTypes.default.any,
|
|
59
64
|
isInvalid: _propTypes.default.bool,
|
|
60
|
-
/**
|
|
61
|
-
* ReactNode to render as this component's content
|
|
62
|
-
*/
|
|
63
65
|
children: _propTypes.default.shape({
|
|
64
66
|
ref: _propTypes.default.any
|
|
65
67
|
}).isRequired
|
|
68
|
+
};
|
|
69
|
+
var useEuiValidatableControl = function useEuiValidatableControl(_ref2) {
|
|
70
|
+
var isInvalid = _ref2.isInvalid,
|
|
71
|
+
controlEl = _ref2.controlEl;
|
|
72
|
+
useSetControlValidity({
|
|
73
|
+
controlEl: controlEl,
|
|
74
|
+
isInvalid: isInvalid
|
|
75
|
+
});
|
|
76
|
+
(0, _react.useEffect)(function () {
|
|
77
|
+
if (!controlEl) return;
|
|
78
|
+
if (typeof isInvalid === 'boolean') {
|
|
79
|
+
controlEl.setAttribute('aria-invalid', String(isInvalid));
|
|
80
|
+
} else {
|
|
81
|
+
controlEl.removeAttribute('aria-invalid');
|
|
82
|
+
}
|
|
83
|
+
}, [isInvalid, controlEl]);
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Internal `setCustomValidity` helper
|
|
88
|
+
*/
|
|
89
|
+
exports.useEuiValidatableControl = useEuiValidatableControl;
|
|
90
|
+
var useSetControlValidity = function useSetControlValidity(_ref3) {
|
|
91
|
+
var controlEl = _ref3.controlEl,
|
|
92
|
+
isInvalid = _ref3.isInvalid;
|
|
93
|
+
(0, _react.useEffect)(function () {
|
|
94
|
+
if (controlEl == null || typeof controlEl.setCustomValidity !== 'function') {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (isInvalid) {
|
|
98
|
+
controlEl.setCustomValidity('Invalid');
|
|
99
|
+
} else {
|
|
100
|
+
controlEl.setCustomValidity('');
|
|
101
|
+
}
|
|
102
|
+
}, [isInvalid, controlEl]);
|
|
66
103
|
};
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for ML icons', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for app icons', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for editor icons', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for Elastic logos', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for glyph icons', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
describe('EuiIcons', function () {
|
|
18
20
|
describe('Automated accessibility check for token icons', function () {
|
|
@@ -12,7 +12,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/// <reference types="
|
|
15
|
+
/// <reference types="cypress" />
|
|
16
|
+
/// <reference types="cypress-real-events" />
|
|
17
|
+
/// <reference types="../../../cypress/support" />
|
|
16
18
|
|
|
17
19
|
var Image = function Image() {
|
|
18
20
|
return (0, _react2.jsx)(_image.EuiImage, {
|
package/lib/components/index.js
CHANGED
|
@@ -476,6 +476,17 @@ Object.keys(_inner_text).forEach(function (key) {
|
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
478
|
});
|
|
479
|
+
var _inline_edit = require("./inline_edit");
|
|
480
|
+
Object.keys(_inline_edit).forEach(function (key) {
|
|
481
|
+
if (key === "default" || key === "__esModule") return;
|
|
482
|
+
if (key in exports && exports[key] === _inline_edit[key]) return;
|
|
483
|
+
Object.defineProperty(exports, key, {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
get: function get() {
|
|
486
|
+
return _inline_edit[key];
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
});
|
|
479
490
|
var _i18n = require("./i18n");
|
|
480
491
|
Object.keys(_i18n).forEach(function (key) {
|
|
481
492
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "EuiInlineEditText", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _inline_edit_text.EuiInlineEditText;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "EuiInlineEditTitle", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _inline_edit_title.EuiInlineEditTitle;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
var _inline_edit_text = require("./inline_edit_text");
|
|
19
|
+
var _inline_edit_title = require("./inline_edit_title");
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.euiInlineEditStyles = void 0;
|
|
7
|
+
var _react = require("@emotion/react");
|
|
8
|
+
/*
|
|
9
|
+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
10
|
+
* or more contributor license agreements. Licensed under the Elastic License
|
|
11
|
+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
12
|
+
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
13
|
+
* Side Public License, v 1.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
var euiInlineEditStyles = function euiInlineEditStyles(_ref) {
|
|
17
|
+
var euiTheme = _ref.euiTheme;
|
|
18
|
+
return {
|
|
19
|
+
euiInlineEdit: /*#__PURE__*/(0, _react.css)("color:", euiTheme.colors.primaryText, ";;label:euiInlineEdit;")
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
exports.euiInlineEditStyles = euiInlineEditStyles;
|