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:
Amedeo Lepore
2026-01-08 11:45:40 +01:00
committed by GitHub
parent 33847df924
commit 74262fcc17
4 changed files with 4 additions and 6 deletions
@@ -4,5 +4,5 @@
{{ field.name | translate }}
</label>
</div>
<button mat-raised-button color="primary" (click)="view()">json</button>
<button mat-flat-button (click)="view()">json</button>
</div>
@@ -14,8 +14,7 @@
@let shouldDisplayAddRowButton = !element.field.params.maxNumberOfRows || (element.field.params.maxNumberOfRows > element.field.rows.length);
@if (shouldDisplayAddRowButton) {
<button
mat-button
color="primary"
mat-flat-button
class="adf-container-widget-row-action"
[disabled]="element.field.readOnly"
(click)="addRow()"
@@ -150,8 +150,7 @@
}
@if (showStartProcessButton$ | async) {
<button
color="primary"
mat-raised-button
mat-flat-button
[disabled]="disableStartButton || !isProcessFormValid"
(click)="startProcess()"
data-automation-id="btn-start"
@@ -77,7 +77,7 @@
<ng-template [ngTemplateOutlet]="taskFormCloudButtons" />
<button
*ngIf="canCompleteTask()"
mat-button
mat-flat-button
adf-cloud-complete-task
[appName]="appName"
[taskId]="taskId"