mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
migrate to adf-button
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<div class="aca-content-header">
|
||||
<button *ngIf="(appNavNarMode$ | async) === 'collapsed'"
|
||||
mat-icon-button
|
||||
<adf-button *ngIf="(appNavNarMode$ | async) === 'collapsed'"
|
||||
variant="icon"
|
||||
icon="keyboard_double_arrow_right"
|
||||
(click)="toggleClick()"
|
||||
title="{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}">
|
||||
<mat-icon>keyboard_double_arrow_right</mat-icon>
|
||||
</button>
|
||||
[tooltip]="'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate">
|
||||
</adf-button>
|
||||
<ng-content select=".aca-page-layout-header, aca-page-layout-header"></ng-content>
|
||||
</div>
|
||||
|
||||
|
@@ -28,12 +28,11 @@ import { takeUntil } from 'rxjs/operators';
|
||||
import { AppService } from '../../services/app.service';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { ButtonComponent } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule],
|
||||
imports: [CommonModule, TranslateModule, ButtonComponent],
|
||||
selector: 'aca-page-layout',
|
||||
templateUrl: './page-layout.component.html',
|
||||
styleUrls: ['./page-layout.component.scss'],
|
||||
|
Reference in New Issue
Block a user