Skip to content

0.15.0 Breaking Changes and Features

Inna Atanasova edited this page Mar 4, 2020 · 14 revisions

Breaking Changes

List

  • List Component now fully follows fiori3 rules
  • There are a lot of new directives, list component now uses list styles, instead of list-group
  • ListActionDirective is removed.

Popover

  • fd-popover-body-subheader directive is now REMOVED. Use the Bar component with [barDesign]="'subheader'" Before:
   <fd-popover placement="bottom">
        <fd-popover-control>
            <span fd-identifier [size]="'l'" [glyph]="'money-bills'" [colorAccent]='3'></span>
        </fd-popover-control>
        <fd-popover-body *ngIf="menu1 && menu1.length">
            <div fd-popover-body-header [hasSubheader]="true">Header</div>
            <div fd-popover-body-subheader [compact]="true">Compact Subheader</div>
            <fd-menu>
                <ul fd-menu-list>
                    <li *ngFor="let option of menu1">
                        <a fd-menu-item [attr.href]="option.url">{{option.text}}</a>
                    </li>
                </ul>
            </fd-menu>
            <div fd-popover-body-footer>Footer</div>
        </fd-popover-body>
    </fd-popover>
  • fd-popover-body-header directive - removed the [hasSubheader] and [compact] Inputs
  • fd-popover-body-footer directive - removed the [compact] Input.
Clone this wiki locally