Skip to content

Commit

Permalink
Merge branch 'ng15-migration' into ACS-7631-fix-filters
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson7777 authored Mar 27, 2024
2 parents 2954a83 + 8874c16 commit d85e8cc
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
z-index: 1;
display: flex;
flex-direction: row;
align-items: flex-start;
align-items: center;
overflow-x: auto;
justify-content: space-between;
padding: 12px 20px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</mat-menu>
</div>

<button mat-button data-automation-id="rule-action-list-add-action-button" (click)="addAction()" *ngIf="!readOnly">
<button mat-flat-button data-automation-id="rule-action-list-add-action-button" (click)="addAction()" *ngIf="!readOnly">
<mat-icon>add</mat-icon>
<span>{{ 'ACA_FOLDER_RULES.RULE_DETAILS.ACTION_BUTTONS.ADD_ACTION' | translate }}</span>
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@
flex-direction: row;
gap: 20px;

adf-card-view .adf-property-list .adf-property adf-card-view-item-dispatcher adf-card-view-textitem {
display: inline-block;
width: 300px;
adf-card-view {
margin-top: -15px;

.adf-property-list .adf-property adf-card-view-item-dispatcher adf-card-view-textitem {
display: inline-block;
width: 300px;

.adf-textitem-clickable {
padding-top: 0;
}
}
}
}

&-full-width {
height: fit-content;
flex: 1;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
</div>

<div class="aca-rule-composite-condition__form__actions" *ngIf="!readOnly" data-automation-id="add-actions">
<button mat-button (click)="addSimpleCondition()" data-automation-id="add-condition-button">
<button mat-flat-button (click)="addSimpleCondition()" data-automation-id="add-condition-button">
<mat-icon>add</mat-icon>
<span>{{ 'ACA_FOLDER_RULES.RULE_DETAILS.CONDITION_BUTTONS.ADD_CONDITION' | translate }}</span>
</button>
<button mat-button (click)="addCompositeCondition()" data-automation-id="add-group-button">
<button mat-flat-button (click)="addCompositeCondition()" data-automation-id="add-group-button">
<mat-icon>add</mat-icon>
<span>{{ 'ACA_FOLDER_RULES.RULE_DETAILS.CONDITION_BUTTONS.ADD_GROUP' | translate }}</span>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
gap: 8px;

& > :nth-child(1) {
width: 5em;
width: 7em;
height: fit-content;
font-size: inherit;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
}

.aca-edit-rule-dialog {
margin: -24px;

&__header {
display: flex;
align-items: center;
margin: -43px -24px 0;
padding: var(--edit-rule-dialog-padding);
box-sizing: border-box;
border-bottom: 1px solid var(--theme-border-color);
Expand All @@ -26,20 +23,18 @@
}
}

&__content {
margin: 0 -24px;
.aca-edit-rule-dialog__content {
color: inherit;
padding: 0;

&__spinner {
display: flex;
align-items: center;
justify-content: center;
margin: 20px 0;
}
}

&__footer {
margin: 0 -24px -43px;
padding: var(--edit-rule-dialog-padding);
box-sizing: border-box;
border-top: 1px solid var(--theme-border-color);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<form class="aca-rule-details__form" [ngClass]="{ 'aca-read-only': readOnly }" [formGroup]="form">

<ng-container *ngIf="!preview">
<div class="aca-rule-details__form__row aca-rule-details__form__name">
<div class="aca-rule-details__form__row">
<label for="rule-details-name-input">{{ 'ACA_FOLDER_RULES.RULE_DETAILS.LABEL.NAME' | translate }}</label>
<div>
<mat-form-field floatLabel='auto' class="aca-rule-details__form__row__field">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
padding: 8px 20px;
width: 100%;
box-sizing: border-box;
overflow-x: auto;

&.aca-rule-details__form__name {
padding-bottom: 0;
}

&.aca-rule-details__form__description {
padding-top: 0;
Expand Down Expand Up @@ -40,7 +35,6 @@
&__field {
width: 100%;
max-width: 400px;
margin-top: -11px;
font-size: inherit;

&__textarea {
Expand Down
12 changes: 6 additions & 6 deletions projects/aca-content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "0.0.1",
"license": "LGPL-3.0",
"peerDependencies": {
"@angular/common": ">=14.1.0",
"@angular/core": ">=14.1.0",
"@angular/common": ">=15.2",
"@angular/core": ">=15.2",
"@alfresco/adf-core": "^6.8.0-0",
"@alfresco/adf-content-services": "^6.8.0-0",
"@alfresco/adf-extensions": "^6.8.0-0",
"@alfresco/js-api": "^7.7.0-0",
"@angular/animations": ">=15.2.10",
"@angular/cdk": ">=15.2.9",
"@angular/forms": ">=15.2.10",
"@angular/material": ">=15.2.9",
"@angular/animations": ">=15.2",
"@angular/cdk": ">=15.2",
"@angular/forms": ">=15.2",
"@angular/material": ">=15.2",
"@ngx-translate/core": ">=14.0.0",
"rxjs": ">=6.6.6",
"zone.js": ">=0.11.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,10 @@ $top-margin: 12px;
}

.app-input-form-field-disabled {
.mat-mdc-text-field-wrapper,
.mat-mdc-form-field-flex {
background-color: var(--theme-search-background-color);
}

.mat-mdc-text-field-wrapper {
background-color: var(--theme-search-background-color);
}
}

.app-search-button {
Expand Down
16 changes: 8 additions & 8 deletions projects/aca-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"@alfresco/adf-core": "^6.8.0-0",
"@alfresco/adf-extensions": "^6.8.0-0",
"@alfresco/js-api": "^7.7.0-0",
"@angular/animations": ">=15.2.10",
"@angular/common": ">=15.2.10",
"@angular/compiler": ">=15.2.10",
"@angular/core": ">=15.2.10",
"@angular/forms": ">=15.2.10",
"@angular/material": ">=15.2.9",
"@angular/animations": ">=15.2",
"@angular/common": ">=15.2",
"@angular/compiler": ">=15.2",
"@angular/core": ">=15.2",
"@angular/forms": ">=15.2",
"@angular/material": ">=15.2",
"@ngrx/effects": ">=15.2.0",
"@ngrx/router-store": ">=15.2.0",
"@ngrx/store": ">=15.2.0",
"@ngrx/router-store": ">=15.2",
"@ngrx/store": ">=15.2",
"@ngx-translate/core": ">=14.0.0",
"rxjs": ">=6.6.6",
"tslib": ">=2.0.0",
Expand Down

0 comments on commit d85e8cc

Please sign in to comment.