[ACS-7555] column filters (#9576)

* Changed ng version before material migration

* migration for material'

* Upgrading NX and start fixing styles

* Make all the part build

* Fixed core unit test and excluded instable ones

* Fixed most of unit tests failing

* Fixed unit tests

* Fixed last unit tests

* fixed unit test problem and some other e2e

* Fixed unit tests after rebase

* [AAE-18267] change unit test setup for auth service (#9216)

* [AAE-18267] change unit test setup for auth service

* [AAE-18267] remove exclude

* [AAE-18267] removed CoreTestingModule from imports

* remaining unit test fixes for the Angular 15 update (#9218)

* removing excludes from working tests

* test fixes for CategoriesManagementComponent

* [ci:force] reenabling tests / fixes

* fixes in process-services-cloud

* change html element type

* fix selector in StartProcessComponent

* Fixing unit test after last rebase + lint

* ACS-7555 Fixed styles for node type filters

* ACS-7555 Removed redundant padding

* ACS-7555 Outlined input for text filter

* ACS-7555 Resolved conflicts

---------

Co-authored-by: Vito Albano <vito.albano@hyland.com>
Co-authored-by: Wojciech Duda <69160975+wojd0@users.noreply.github.com>
This commit is contained in:
AleksanderSklorz
2024-04-24 08:45:31 +02:00
committed by VitoAlbano
parent 94f6392a15
commit 0a6501bd35
5 changed files with 63 additions and 14 deletions

View File

@@ -1,3 +1,5 @@
@import 'styles/mat-selectors';
.adf-search-check-list > div {
display: flex;
flex-direction: column;
@@ -9,6 +11,8 @@
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
-webkit-font-smoothing: subpixel-antialiased;
margin-top: 1px;
}
.adf-facet-name {
@@ -16,5 +20,15 @@
overflow: hidden;
white-space: nowrap;
}
#{$mat-checkbox-box} {
margin-left: 4px;
margin-top: 5px;
margin-bottom: 4px;
}
label {
padding-left: 0;
}
}
}

View File

@@ -1,3 +1,6 @@
@use '@angular/material' as mat;
@import 'styles/mat-selectors';
.adf-filter {
&-button:has(.adf-filter-icon) {
margin-left: -7px;
@@ -23,7 +26,7 @@
&-container {
display: flex;
flex-direction: column;
padding: 15px 15px 10px;
padding: 15.5px 15px 10px;
color: var(--adf-theme-foreground-text-color-087);
.adf-facet-buttons {
@@ -43,9 +46,20 @@
font-size: 1.1em;
padding-bottom: 5px;
color: var(--adf-theme-foreground-text-color-087);
-webkit-font-smoothing: subpixel-antialiased;
}
}
.adf-search-filter-menu.adf-filter-menu {
min-width: 260px;
@include mat.elevation(4);
> div:first-child {
padding: 0;
}
&-actions {
.adf-filter-actions {
display: flex;
justify-content: flex-end;
padding: 15px;
@@ -53,15 +67,15 @@
> button {
font-size: 0.9em;
color: var(--adf-theme-foreground-text-color-087);
height: 36px;
width: auto;
padding-left: 16px;
padding-right: 16px;
-webkit-font-smoothing: subpixel-antialiased;
#{$mat-button-label} {
font-weight: unset;
}
}
}
}
.adf-search-filter-menu.adf-filter-menu {
min-width: 260px;
> div:first-child {
padding: 0;
}
}

View File

@@ -1,10 +1,17 @@
<mat-form-field class="adf-search-text-form-field">
<mat-form-field
class="adf-search-text-form-field"
appearance="outline">
<mat-label>{{ settings?.placeholder | translate }}</mat-label>
<input
matInput
placeholder="{{ settings?.placeholder | translate }}"
[(ngModel)]="value"
(change)="onChangedHandler($event)">
<button mat-button *ngIf="value" matSuffix (click)="clear()">
<button
mat-button
*ngIf="value"
matSuffix
(click)="clear()"
class="adf-search-text-form-field-clear-button">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>

View File

@@ -1,5 +1,18 @@
.adf-search-text {
.adf-search-text-form-field {
width: 100%;
height: 58.5px;
&-clear-button {
min-width: unset;
border-radius: 50%;
height: 1.5em;
width: 1.5em;
margin-right: 8px;
mat-icon {
margin-right: 0;
}
}
}
}

View File

@@ -23,6 +23,7 @@ $mat-chip: '.mat-mdc-chip';
$mat-chip-list: '.mat-mdc-chip-list';
$mat-chip-list-wrapper: '.mat-chip-list-wrapper';
$mat-checkbox: '.mat-mdc-checkbox';
$mat-checkbox-box: '.mdc-checkbox';
$mat-checkbox-frame: '.mdc-checkbox__checkmark';
$mat-checkbox-label: '.mdc-label';
$mat-checkbox-checked: '.mat-mdc-checkbox-checked';