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 }} {{ 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()"
@@ -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"
@@ -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"