Skip to content

Release 9.0.0

Compare
Choose a tag to compare
@jeripeierSBB jeripeierSBB released this 27 Feb 12:04

This is the release for Angular 9! For Angular 9 specifics (and Ivy) see this blog post. Please update your project to Angular 9 before applying our updates: https://update.angular.io.
To update the @sbb-esta packages, execute ng update @sbb-esta/angular-public or ng update @sbb-esta/angular-business.
If you encounter any strange problems, first try to delete and reinstall your node_modules.

As always, we appreciate your feedback. 😃

⚠ BREAKING CHANGES

  • Upgrading to version 9 of Angular. As recommended by Angular, the libraries are compiled via ViewEngine, which will be converted to Ivy in an Angular project that is using Ivy (default in Angular 9).
  • @sbb-esta/angular-core is now a peer dependency of @sbb-esta/angular-public and @sbb-esta/angular-business. Executing ng update @sbb-esta/angular-public or ng update @sbb-esta/angular-business will automatically install @sbb-esta/angular-core, otherwise you will need to install the package manually via npm install --save @sbb-esta/angular-core.
  • Removing the deprecated support for form control on a radio button. sbb-radio-button and sbb-radio-button-panel should be wrapped in a sbb-radio-group. See an example in the Use with @angular/forms section in the radio button documentation
  • business: The header module no longer exports the DropdownModule. If you used sbb-dropdown with the header, you either should switch to using sbb-header-menu where applicable or you need to add DropdownModule to the NgModule imports.
  • Removing the deprecated icons from @sbb-esta/angular-public. Please use the icons from @sbb-esta/angular-icons. This also removes the different icon directives (*sbbButtonIcon, *sbbGhettoboxIcon, *sbbNotificationIcon, *sbbSearchIcon, *sbbToggleOptionIcon, *sbbTooltipIcon) and replaces them with *sbbIcon.
  • Due to various small problems, we are removing internal usage of perfect-scrollbar. We are also deprecating the ScrollingModule. If you want to keep using the ScrollingModule, you will have to install ngx-perfect-scrollbar manually in your project (npm install --save ngx-perfect-scrollbar).
  • Removing various deprecated code parts in checkbox, checkbox panel, dropdown, keycloak config, radio button, radio button panel, tag, textarea, toggle, toggle option. The deprecated highlight pipe has been removed.

Features

Bug Fixes

  • business: add import to overlay module to header (#292) (a51c399)
  • business: fix overlapping header menus (#290) (19d5a0d), closes #286
  • business: fix styling and scrolling in header menu (#318) (cedf4ab)
  • business: remove dropdown module from header module (#289) (d31b6eb), closes #269
  • maps: assign public access to package config (#282) (17f9f41)
  • public: fix sticky support detection in table component (#283) (bb0dc1a)
  • public: show pointer cursor on tag (#314) (4abe188)
  • public: show searchbox in header mode (#302) (0d9353e)
  • showcase: fix datepicker styling in showcase (#312) (360b24b)
  • showcase: fix examples using form control on sbb-radio-button (#308) (c6f4980)
  • showcase: fix overlapping styles for tabs (#310) (5fe284c)
  • showcase: fix style of lightbox and dialog content (#305) (1607564)
  • showcase: fix table aligning in showcase example (#307) (35816db)
  • showcase: hide scss button in example viewer for missing scss files (#311) (8ccc859)
  • make notification component jump marks fault tolerant (#313) (cecc75f)
  • change @sbb-esta/angular-core to be a peer dependency (#295) (c41e078)
  • drop support for form control on radio button (#287) (e724872)
  • remove deprecated code (#284) (463c6fe)
  • remove deprecated icon library from public (#281) (50b8202)
  • remove usage of perfect-scrollbar (#285) (b539cd0)