0.7.0 Breaking Changes - SAP/fundamental-ngx GitHub Wiki

Below is the list of all breaking changes paired to the 0.7.0 release. They are listed in no particular order and accompanied by a short explanation on why the change was necessary. Before and after examples are also provided for most of the changes.

Side Navigation

  • Certain side navigation components are now directives.

    Allows more flexibility for developers. Continues our previous work of refactoring certain components into directives. For an example, see below. For more detailed usage, see documentation.

    <!-- BEFORE -->
    <fd-side-nav-list>...</fd-side-nav-list>
    
    <!-- NOW -->
    <div fd-side-nav-list>...</div>

Status Indicators

  • isStatusLabel input is now a directive called fd-status-label.

    Behaviour is now more consistent with clearly defined and separated label and status-label directives.

    <!-- BEFORE -->
    <span fd-label [isStatusLabel]="true">Label</span>
    
    <!-- NOW -->
    <span fd-status-label>Label</span>
⚠️ **GitHub.com Fallback** ⚠️