0.33.0 Breaking Changes - SAP/fundamental-ngx GitHub Wiki
Dynamic Page onCollapseChange & improvements (Platform) #7812
rename dynamic page header output
Dynamic Page Component (Platform) #7669
(tabChange) event now emitted on DynamicPageComponent instead of DynamicPageContentComponent. Interface not changed.
Smart Filter Bar Component PR #7504
- New component has been added to the Platform package;
- Platform table data provider now has the ability to apply filters and search query without user's need to provide a custom data provider;
stateargument of thefetchmethod ofTableDataProviderclass is not optional;- New component has been added to Form Generator:
multi-input
Approval Flow Updates PR #7393
- Removed one unified dataSource in favour of common DataSource + DataProvider implementation per entity.
dataSourceinput has been removed,usersDataSource,watchersDataSourceandteamsDataSourcewere added - approvalFlow is now being passed as
valueinput - new output
valueChangeadded. It emits whenever approvalFlow is changed (either watchers or list of approval flow nodes) - Send reminders logic is no longer inside the approval flow. Whenever
Send Remindersbutton is clicked,sendRemindersoutput will emit. Notification about successful send of reminder should be shown manually by parent component. - Updated
ApprovalTeaminterface: now it's expected to have the full list of team users instead of their ids - Updated
ApprovalUserinterface: now it should haveteamIdproperty
Tabs component PR #6940
- Now tabs reflow based on ResizeObserver class instead of window resize event. As a fallback for old browsers which are not supporting ResizeObserver, it will fallback to window resize event.
Form container component / Form generator component PR #7243
labelLayoutinput property of thefdp-form-groupcomponent is now deprecated in favor oflabelColumnLayout,fieldColumnLayout,gapColumnLayoutinput properties- Form generator now supports grouping of the fields. Any ungrouped form field will be stored under
ungroupedgroup of the form. This is also applied to the Wizard generator. UsegetFormControl(form, controlName)method of theFormGeneratorServiceto easily get needed control. - All custom form generator field components should additionally wrap form control component into
<ng-container [formGroupName]="formGroupName">
Angular 13 migration #7210
Host application must be using Angular 13 or newer.
Platform select component refactoring #7338
platform-select component received the following updates:
sourcehas been removed fromFdpSelectionChangeEvent,FdpSelectionChangeEventitself is now deprecatedvalueChangeoutput has been removed as it completely duplicatesselectionChangeoutput
Core pagination component aria-label inputs update #7428
currentPageAriaLabelpreviously wanted specific string with${currentPage}inside of it to be passed, now replaced with the function withcurrentPageas the parameter.pageLabelpreviously string value was expected, now replaced with the function withpageas the parameter.labelBeforeInputMobile(string),labelAfterInputMobile(function,pagesCountis the parameter),inputAriaLabel(function,currentPage,pagesCountare the parameters) were added for better a11y support.