0.18.0 Breaking Changes and Features - SAP/fundamental-ngx GitHub Wiki

Breaking Changes

Busy Indicator

  • @Input loadingLabel renamed to @Input ariaLabel

Select

  • [triggerTemplate] input has been replaced with [controlTemplate] input offering similar but narrower functionality.

Before:

<fd-select [triggerTemplate]="customTrigger">
        <fd-option *ngFor="let option of options" [value]="option">{{option}}</fd-option>
</fd-select>

<ng-template #customTrigger let-select>
    Custom template
</ng-template>

After:

<fd-select [controlTemplate]="customSelectTemplate">
        <fd-option *ngFor="let option of options" [value]="option">{{option}}</fd-option>
</fd-select>

<ng-template #customSelectTemplate let-optionText let-option="option">
    Custom template
</ng-template>

Features

Busy Indicator

  • Busy indicator now can be used as wrapper for content

Notification

  • new @Input closeNotificationLabel on NotificationHeader

Product Switch

  • new @Input 'ariaLabel'
⚠️ **GitHub.com Fallback** ⚠️