Skip to content

0.39.0 Breaking Changes

Giorgi Cheishvili edited this page Mar 28, 2023 · 4 revisions

Dialog body padding by default #9435

  • Now the dialog body has a padding of 1rem by default, to override that and set padding 0, you need to provide a config for that
// component code

this.dialogService.open(
    DialogContentType,
    {
        ...otherConfiguration,
        disablePaddings: true
    }
)

Shellbar #9287

  • From now on it's preferable to use platform search field for the shellbar instead of combobox;
  • Search field is now located under actions only if the size of the shellbar is either m or l, otherwhise it will be directly projected in shellbar component.
  • Shellbar inner markup was slightly changed

CDK Package #9176

  • Introduced new package: @fundamental-ngx/cdk;
  • Core's Utils subpackage has been completely moved to @fundamental-ngx/cdk subpackage;
  • BTP Experimental's cdk subpackage (@fundamental-ngx/fn/cdk) has been completely moved to @fundamental-ngx/cdk;
  • The following directive selectors are now deprecated: [fdAutoComplete], [fd-auto-complete], [fnClicked], [fnDisabled], [fd-focus-key-manager-item], [fdFocusKeyManagerItem], [fd-focus-key-manager-list], [fdFocusKeyManagerList], [fnFocusableItem], [fnFocusableList], [fdIgnoreClickOnSelection], [fdInitialFocus], [fd-initial-focus], [fdLineClamp], [fd-lineclamp], [fdOnlyDigits], [fd-only-digits], [fdOverflowListItem], [fd-overflow-list-item], [fdOverflowList], [fd-overflow-list], [fnReadonly], [fdRepeat], [fdResizeHandle], [fd-resize-handle], [fdResize], [fd-resize], [fdTemplate], [fdTruncate], [fd-truncate]. Instead of fd* and fn* prefix, use fdk* prefix;
  • Platform form field provider now relies on Injection token FD_FORM_FIELD instead of abstract class FormField;
  • Platform FormField abstract class has been renamed to PlatformFormField to remove misunderstanding between CDK's FormField and Platform's FormField;
  • Platform FormFieldControl provider has been replaced with FD_FORM_FIELD_CONTROL Injection token.
  • Introduced Multi-combobox component in Core library;

Smart Filter Bar Events #9207

  • Added new events: smartFiltersApplied and searchInputChanged.
  • smartFiltersApplied emitted when 'Go' button clicked.
  • searchInputChanged emitted when inputChange event of search field is emitted.
  • smartFiltersChanged is now triggered every time when filters model has been updated without 'GO' button click.
Clone this wiki locally