Skip to content

0.33.0 Breaking Changes

Inna Atanasova edited this page Mar 4, 2022 · 3 revisions

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;
  • state argument of the fetch method of TableDataProvider class 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. dataSource input has been removed, usersDataSource, watchersDataSource and teamsDataSource were added
  • approvalFlow is now being passed as value input
  • new output valueChange added. 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 Reminders button is clicked, sendReminders output will emit. Notification about successful send of reminder should be shown manually by parent component.
  • Updated ApprovalTeam interface: now it's expected to have the full list of team users instead of their ids
  • Updated ApprovalUser interface: now it should have teamId property

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

  • labelLayout input property of the fdp-form-group component is now deprecated in favor of labelColumnLayout, fieldColumnLayout, gapColumnLayout input properties
  • Form generator now supports grouping of the fields. Any ungrouped form field will be stored under ungrouped group of the form. This is also applied to the Wizard generator. Use getFormControl(form, controlName) method of the FormGeneratorService to 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:

  • source has been removed from FdpSelectionChangeEvent, FdpSelectionChangeEvent itself is now deprecated
  • valueChange output has been removed as it completely duplicates selectionChange output

Core pagination component aria-label inputs update #7428

  • currentPageAriaLabel previously wanted specific string with ${currentPage} inside of it to be passed, now replaced with the function with currentPage as the parameter.
  • pageLabel previously string value was expected, now replaced with the function with page as the parameter.
  • labelBeforeInputMobile (string), labelAfterInputMobile (function, pagesCount is the parameter), inputAriaLabel (function, currentPage, pagesCount are the parameters) were added for better a11y support.
Clone this wiki locally