-
Notifications
You must be signed in to change notification settings - Fork 130
0.26.0 Breaking Changes
jmarkowski edited this page Jan 11, 2021
·
6 revisions
Bar, Dialog, Popover Compoennts #4140
From:
<fd-bar-element>
<button fd-button [fdType]="'transparent'" [glyph]="navigationArrow$ | async" [compact]="true"></button>
</fd-bar-element>
To:
<fd-button-bar [glyph]="navigationArrow$ | async"></fd-button-bar>
From:
<fd-dialog-footer-button>
<button
fd-button
fd-initial-focus
fd-dialog-decisive-button
fdType="emphasized"
label="Close"
[compact]="true"
(click)="dialog.close()">
</button>
</fd-dialog-footer-button>
To:
<fd-button-bar
fd-initial-focus
fdType="emphasized"
label="Close"
(click)="dialog.close()">
</fd-button-bar>
From:
<fd-dialog-footer-button>
<button fd-button
fdType="emphasized"
fd-dialog-decisive-button
[label]="mobileConfig?.approveButtonText"
(click)="handleApprove()">
</button>
</fd-dialog-footer-button>
To:
<fd-button-bar
fdType="emphasized"
[label]="mobileConfig?.approveButtonText"
(click)="handleApprove()">
</fd-button-bar>
- Removed
[inlineHelp]
input fromfd-form-label
Inline Help #4061
- Inline help now has completely changed structure, it is used now as a directive, just by adding
fd-inline-help="text"
, or[fd-inline-help-template]="templateRef"
. Example: Text:
<fd-icon glyph="question-mark" fd-inline-help="Inline Help Tooltip"></fd-icon>
And usage with template:
<fd-icon glyph="question-mark" [fd-inline-help-template]="templateRef"></fd-icon>
Switch component #4116
-
optionalText
input property has been removed
Tab Component #4120
-
selectedIndex
input has been removed, useTabPanelComponent.open()
-
selectedIndexChange
output has been removed, useselectedTabChange
-
TabListComponent.selectTab()
has been removed, useTabPanelComponent.open()
-
TabPanelComponent.triggerExpandedPanel()
has been removed, useTabPanelComponent.open()