Releases: SchweizerischeBundesbahnen/scion-toolkit
1.4.1 (@scion/toolkit)
16.1.0 (@scion/components)
16.0.0 (@scion/components)
16.0.0 (2023-05-15)
Dependencies
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 thesci-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; }
-
1.4.0 (@scion/toolkit)
15.0.2 (@scion/components)
15.0.1 (@scion/components)
15.0.1 (2023-03-28)
Bug Fixes
- components/viewport: consider elements as scrolled into view when there is no viewport overflow (22baab7)
- components/viewport: do not throw error when calling
computeOffset
for an element not contained in the viewport (7177bc7) - components/viewport: do not throw error when calling
isElementInView
for an element not contained in the viewport (7eeac19) - components/viewport: do not throw error when calling
scrollIntoView
for elements not contained in the viewport (f27a94f)
BREAKING CHANGES
-
components/viewport: more tolerant handling of elements not contained in the viewport introduced a breaking change.
The following methods of
SciViewportComponent
are now more tolerant when invoked for elements that are not contained in the viewport or havedisplay
style set tonone
.SciViewportComponent#computeOffset
returnsnull
instead of throwing an error.SciViewportComponent#isElementInView
returnsfalse
instead of throwing an error.SciViewportComponent#scrollIntoView
does nothing instead of throwing an error.
15.0.0 (@scion/components)
15.0.0 (2022-12-07)
Dependencies
BREAKING CHANGES
-
components: Updating
@scion/components
to Angular 15 introduced a breaking change.To migrate:
- update your application to Angular 15; for detailed migration instructions, refer to https://v15.angular.io/guide/update-to-latest-version;