From 9f5c8a4f3145a8f56abec178188e53b387a627b6 Mon Sep 17 00:00:00 2001 From: Nikoleta Ivanova <31706628+nikoletavnv@users.noreply.github.com> Date: Wed, 8 May 2024 15:38:06 +0300 Subject: [PATCH] refactor(ui5-input): events changes (#8769) * refactor(ui5-input): events changes BREAKING CHANGE: Remove suggestion-item-select event. Rename and modify suggestion-item-preview event. Remove openPicker method and replace it with public property "open". * refactor(ui5-input): events changes * refactor(ui5-input): property open tests * refactor(ui5-input): events change * refactor(ui5-input): events change * refactor(ui5-input): events changes * refactor(ui5-input): events changes * refactor(ui5-input): events changes --- packages/fiori/src/themes/ShellBar.css | 1 - packages/fiori/test/pages/ShellBar.html | 2 +- packages/main/src/Input.ts | 178 ++++++--------- packages/main/src/MultiInput.ts | 9 +- .../main/src/features/InputSuggestions.ts | 12 +- packages/main/test/pages/Input.html | 83 ++++--- packages/main/test/pages/Input_quickview.html | 15 +- packages/main/test/pages/MultiInput.html | 15 +- .../test/pages/MultiInput_Suggestions.html | 2 +- packages/main/test/specs/Input.mobile.spec.js | 11 +- packages/main/test/specs/Input.spec.js | 202 ++++++++---------- packages/main/test/specs/MultiInput.spec.js | 40 ---- 12 files changed, 222 insertions(+), 348 deletions(-) diff --git a/packages/fiori/src/themes/ShellBar.css b/packages/fiori/src/themes/ShellBar.css index cdea64312c4a..e19dd8ded01c 100644 --- a/packages/fiori/src/themes/ShellBar.css +++ b/packages/fiori/src/themes/ShellBar.css @@ -454,7 +454,6 @@ slot[name="profile"] { box-shadow: var(--_ui5_shellbar_search_field_box_shadow_hover); } -/* Todo: modify this selector after ui5-input is updated */ ::slotted([ui5-input][focused]) { outline: var(--_ui5_shellbar_search_field_outline_focused); } diff --git a/packages/fiori/test/pages/ShellBar.html b/packages/fiori/test/pages/ShellBar.html index 5eff69e15ab0..16a77695e1c4 100644 --- a/packages/fiori/test/pages/ShellBar.html +++ b/packages/fiori/test/pages/ShellBar.html @@ -240,7 +240,7 @@