mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ADF-1344] Old directive selectors should still be usable (#4217)
This commit is contained in:
parent
0ae251ce21
commit
aa852e7b48
@ -18,7 +18,8 @@
|
||||
</mat-card-content>
|
||||
<mat-card-content class="adf-start-form-actions" *ngIf="showOutcomeButtons && form.hasOutcomes()"
|
||||
#outcomesContainer>
|
||||
<ng-content select="[adf-form-custom-button]"></ng-content>
|
||||
<ng-content select="[adf-form-custom-button], [form-custom-button]"></ng-content>
|
||||
|
||||
<button *ngFor="let outcome of form.outcomes"
|
||||
mat-button
|
||||
[attr.data-automation-id]="'adf-form-' + outcome.name | lowercase"
|
||||
|
@ -1,16 +1,16 @@
|
||||
<div class="adf-sidebar-action-menu">
|
||||
<button *ngIf="isExpanded()" mat-raised-button class="adf-sidebar-action-menu-button" data-automation-id="create-button" [matMenuTriggerFor]="adfSidebarMenu">
|
||||
<span *ngIf="title" class="adf-sidebar-action-menu-text">{{ title }}</span>
|
||||
<ng-content select="[adf-sidebar-menu-title-icon]"></ng-content>
|
||||
<ng-content select="[adf-sidebar-menu-title-icon], [sidebar-menu-title-icon]"></ng-content>
|
||||
</button>
|
||||
|
||||
<div *ngIf="!isExpanded()" class="adf-sidebar-action-menu-icon" [matMenuTriggerFor]="adfSidebarMenu">
|
||||
<ng-content select="[adf-sidebar-menu-expand-icon]"></ng-content>
|
||||
<ng-content select="[adf-sidebar-menu-expand-icon], [sidebar-menu-expand-icon]"></ng-content>
|
||||
</div>
|
||||
|
||||
<mat-menu #adfSidebarMenu="matMenu" class="adf-sidebar-action-menu-panel" [overlapTrigger]="false" yPosition="below">
|
||||
<div class="adf-sidebar-action-menu-options" [style.width.px]="width">
|
||||
<ng-content select="[adf-sidebar-menu-options]"></ng-content>
|
||||
<ng-content select="[adf-sidebar-menu-options], [sidebar-menu-options]"></ng-content>
|
||||
</div>
|
||||
</mat-menu>
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="adf-search-text-header">
|
||||
<ng-content select="[adf-people-search-title]"></ng-content>
|
||||
<ng-content select="[adf-people-search-title], [people-search-title]"></ng-content>
|
||||
</div>
|
||||
|
||||
<adf-people-search-field [performSearch]="performSearch" (rowClick)="onRowClick($event)"></adf-people-search-field>
|
||||
@ -9,6 +9,6 @@
|
||||
{{'ADF_TASK_LIST.PEOPLE.DIALOG_CLOSE' | translate }}
|
||||
</button>
|
||||
<button mat-button type="button" id="add-people" (click)="involveUserAndClose()">
|
||||
<ng-content select="[adf-people-search-action-label]"></ng-content>
|
||||
<ng-content select="[adf-people-search-action-label], [people-search-action-label]"></ng-content>
|
||||
</button>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user