From 230baf4f4035c95433ca9c5b11bd327af1908c09 Mon Sep 17 00:00:00 2001 From: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com> Date: Fri, 17 May 2024 12:19:17 +0200 Subject: [PATCH] [ACS-7768] unify inputs and selects across the app (#9687) * Changed ng version before material migration * migration for material' * Fixed most of unit tests failing * [affected:*][ci:force] Fixing rebase * [affected:*][ci:force] attempt to fix mat-selectors importing * [affected:*][ci:force] Fixing the styles - check * AAE-21392 Fix dropdown form widget style (#9605) * ACS-7768 Applied new styles for inputs * ACS-7768 Align icon * ACS-7768 Input colors based on input state * ACS-7768 Corrected spaces * ACS-7768 Styles for selectboxes * ACS-7768 Fixed label jumping on hovering * ACS-7768 Style inputs for add permission panel, user role column and comments, styles for inputs without label * ACS-7768 Style inputs in search filters * ACS-7768 Set appearance for inputs globally to outline * ACS-7768 Style inputs for share dialog and login page * ACS-7768 Style inputs in properties panel * ACS-7768 Fixed white background when disabled field * ACS-7768 Moved setting outline appearance for inputs to ACA, fix issue for inputs in permission container * Revert "[affected:*][ci:force] Fixing the styles - check" This reverts commit 80d971f7abbaf3fdd66f6731e6a84ffe23900c56. * Revert "[affected:*][ci:force] attempt to fix mat-selectors importing" This reverts commit 821d9e1864b48bb2723b51347e133346cc311e5d. * Revert "[affected:*][ci:force] Fixing rebase" This reverts commit 378c6c2000fe1319b2043ca3e4652e12737e30d8. * Revert "Fixed most of unit tests failing" This reverts commit 44948e0a2888f3f62c93d5ee439eeccf849cf9b2. * ACS-7768 Reverted unwanted changes --------- Co-authored-by: Vito Albano Co-authored-by: Diogo Bastos <50139916+DiogoABastos@users.noreply.github.com> --- .../categories-management.component.html | 6 +- .../categories-management.component.scss | 12 -- .../content-metadata.component.scss | 25 --- ...content-node-selector-panel.component.html | 1 - .../sites-dropdown.component.html | 2 +- .../content-node-share.dialog.html | 8 +- .../content-node-share.dialog.scss | 46 +++--- .../src/lib/dialogs/folder.dialog.html | 10 +- .../lib/dialogs/library/library.dialog.html | 6 +- lib/content-services/src/lib/i18n/en.json | 5 +- .../src/lib/material.module.ts | 3 +- .../add-permission-panel.component.html | 4 +- .../permission-container.component.scss | 4 + .../user-role-column.component.ts | 5 - ...rch-chip-autocomplete-input.component.html | 4 +- ...rch-chip-autocomplete-input.component.scss | 22 +-- .../search-date-range.component.html | 17 +- .../search-date-range.component.scss | 21 +-- .../search-widget-chip.component.ts | 23 ++- .../search-input/search-input.component.html | 2 +- .../search-logical-filter.component.html | 10 +- .../search-logical-filter.component.scss | 10 -- .../search-properties.component.html | 25 +-- .../search-properties.component.scss | 111 +------------ .../search-text/search-text.component.html | 2 +- .../search-text/search-text.component.scss | 30 +--- .../tags-creator/tags-creator.component.html | 7 +- .../tags-creator/tags-creator.component.scss | 8 +- .../card-view-dateitem.component.html | 57 ++++--- .../card-view-dateitem.component.scss | 49 +++--- .../card-view-selectitem.component.html | 63 ++++--- .../card-view-selectitem.component.scss | 23 ++- .../card-view-textitem.component.html | 1 - .../card-view-textitem.component.scss | 13 +- .../card-view/card-view.component.scss | 70 -------- .../src/lib/comments/comments.component.scss | 1 + .../components/login/login.component.scss | 29 +--- .../src/lib/styles/_components-variables.scss | 7 + lib/core/src/lib/styles/_mat-selectors.scss | 11 ++ .../src/lib/styles/_reference-variables.scss | 6 + lib/core/src/lib/styles/_typography.scss | 24 +-- lib/core/src/lib/styles/material.theme.scss | 155 ++++++++++++++++++ 42 files changed, 425 insertions(+), 513 deletions(-) diff --git a/lib/content-services/src/lib/category/categories-management/categories-management.component.html b/lib/content-services/src/lib/category/categories-management/categories-management.component.html index 1f67b7bccc8..42351c7b430 100644 --- a/lib/content-services/src/lib/category/categories-management/categories-management.component.html +++ b/lib/content-services/src/lib/category/categories-management/categories-management.component.html @@ -1,15 +1,15 @@
-
+ + {{ 'CATEGORIES_MANAGEMENT.CATEGORIES_SEARCH_PLACEHOLDER' | translate }} {{ categoryNameErrorMessageKey | translate }} -
+
diff --git a/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html b/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html index a2b9c41dbd5..dde05749f61 100644 --- a/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html +++ b/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html @@ -1,5 +1,5 @@