Skip to content

16.0.0 (@scion/components)

Compare
Choose a tag to compare
@Marcarrian Marcarrian released this 08 Sep 10:58
· 86 commits to master since this release

16.0.0 (2023-05-15)

Dependencies

  • components: update @scion/components to Angular 16 (f1813e6), closes #151 #100

BREAKING CHANGES

  • components: Updating @scion/components to Angular 16 introduced a breaking change.

    To migrate:

    • Update your application to Angular 16; for detailed migration instructions, refer to https://v16.angular.io/guide/update-to-latest-version;

    • Deprecated API for customizing the layout of sci-viewport via CSS variables has been removed. Change the following CSS variables to styles of the sci-viewport::part(content) pseudo element selector:

      • --sci-viewport-content-grid-template-columns -> grid-template-columns
      • --sci-viewport-content-grid-template-rows -> grid-template-rows
      • --sci-viewport-content-grid-auto-columns -> grid-auto-columns
      • --sci-viewport-content-grid-auto-rows -> grid-auto-rows
      • --sci-viewport-content-grid-gap -> gap

      Migration example:

      Before

      sci-viewport {
        --sci-viewport-content-grid-template-columns: 1fr 1fr;
        --sci-viewport-content-grid-gap: 1em;
      }

      After

      sci-viewport::part(content) {
        grid-template-columns: 1fr 1fr;
        gap: 1em;
      }