mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-40934 style: replace mat-raise-button with mat-flat-button (#11502)
* AAE-40934 style: replace mat-raise-button with mat-flat-button * AAE-40934 style: remove unnecessary color declarations from material buttons, rely on MD3 default primary button color
This commit is contained in:
@@ -4,5 +4,5 @@
|
|||||||
{{ field.name | translate }}
|
{{ field.name | translate }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<button mat-raised-button color="primary" (click)="view()">json</button>
|
<button mat-flat-button (click)="view()">json</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -14,8 +14,7 @@
|
|||||||
@let shouldDisplayAddRowButton = !element.field.params.maxNumberOfRows || (element.field.params.maxNumberOfRows > element.field.rows.length);
|
@let shouldDisplayAddRowButton = !element.field.params.maxNumberOfRows || (element.field.params.maxNumberOfRows > element.field.rows.length);
|
||||||
@if (shouldDisplayAddRowButton) {
|
@if (shouldDisplayAddRowButton) {
|
||||||
<button
|
<button
|
||||||
mat-button
|
mat-flat-button
|
||||||
color="primary"
|
|
||||||
class="adf-container-widget-row-action"
|
class="adf-container-widget-row-action"
|
||||||
[disabled]="element.field.readOnly"
|
[disabled]="element.field.readOnly"
|
||||||
(click)="addRow()"
|
(click)="addRow()"
|
||||||
|
|||||||
+1
-2
@@ -150,8 +150,7 @@
|
|||||||
}
|
}
|
||||||
@if (showStartProcessButton$ | async) {
|
@if (showStartProcessButton$ | async) {
|
||||||
<button
|
<button
|
||||||
color="primary"
|
mat-flat-button
|
||||||
mat-raised-button
|
|
||||||
[disabled]="disableStartButton || !isProcessFormValid"
|
[disabled]="disableStartButton || !isProcessFormValid"
|
||||||
(click)="startProcess()"
|
(click)="startProcess()"
|
||||||
data-automation-id="btn-start"
|
data-automation-id="btn-start"
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@
|
|||||||
<ng-template [ngTemplateOutlet]="taskFormCloudButtons" />
|
<ng-template [ngTemplateOutlet]="taskFormCloudButtons" />
|
||||||
<button
|
<button
|
||||||
*ngIf="canCompleteTask()"
|
*ngIf="canCompleteTask()"
|
||||||
mat-button
|
mat-flat-button
|
||||||
adf-cloud-complete-task
|
adf-cloud-complete-task
|
||||||
[appName]="appName"
|
[appName]="appName"
|
||||||
[taskId]="taskId"
|
[taskId]="taskId"
|
||||||
|
|||||||
Reference in New Issue
Block a user