-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2e4e14
commit 1a6294b
Showing
5 changed files
with
1,019 additions
and
432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,31 @@ | ||
# [16.2.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/components-16.1.0...components-16.2.0) (2023-10-09) | ||
# [17.0.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/components-16.2.0...components-17.0.0) (2023-11-15) | ||
|
||
|
||
### Bug Fixes | ||
### Dependencies | ||
|
||
* **components/viewport:** calculate exact scrollbar size ([7dd929a](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/7dd929a76f14d7b433d5e5fb729c3452d947d41e)) | ||
* **components:** update @scion/components to Angular 17 ([ac7f284](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/ac7f28401bbbd76b179cd845929b5f258ffab652)), closes [#174](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/issues/174) | ||
|
||
|
||
### Features | ||
### BREAKING CHANGES | ||
|
||
* **components:** enable theming of SCION components ([e33a358](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/e33a358bfa80b799faf34f1ac6f272f08e007653)) | ||
* **components:** Updating `@scion/components` to Angular 17 introduced a breaking change. | ||
|
||
To migrate: | ||
- Update your application to Angular 17; for detailed migration instructions, refer to https://v17.angular.io/guide/update-to-latest-version; | ||
- Scrollbar-related mixins have been moved to the `@scion/components/scrollbar` SCSS module; migrate as follows: | ||
|
||
Before migration: | ||
```scss | ||
@use '@scion/components' as sci-components; | ||
@include sci-components.scrollbar-hide-when-inactive(); | ||
@include sci-components.scrollbar-position(); | ||
``` | ||
After migration: | ||
```scss | ||
@use '@scion/components/scrollbar' as sci-scrollbar; | ||
@include sci-scrollbar.scrollbar-hide-when-inactive(); | ||
@include sci-scrollbar.scrollbar-position(); | ||
``` | ||
|
||
### DEPRECATIONS | ||
|
||
* **components:** Theming of SCION components has introduced deprecations that will break in the next major release. | ||
|
||
To migrate: | ||
- Import the `@scion/components` SCSS module in `styles.scss`. Optionally, pass a configuration to customize the default look of SCION components or to support multiple themes. See [SCION Design Tokens](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/blob/master/docs/site/scion-design-tokens.md) for more information. Note that this step is not required if using `@scion/workbench` as imported by the SCION Workbench. | ||
- For consistency, following CSS variables for styling the `sci-splitter` and `sci-sashbox` components have been renamed: | ||
- `--sci-splitter-bgcolor` ➜ `--sci-splitter-background-color` | ||
- `--sci-splitter-bgcolor_hover` ➜ `--sci-splitter-background-color-hover` | ||
- `--sci-splitter-size_hover` ➜ `--sci-splitter-size-hover` | ||
- `--sci-splitter-opacity_active` ➜ `--sci-splitter-opacity-active` | ||
- `--sci-splitter-opacity_hover` ➜ `--sci-splitter-opacity-hover` | ||
- `--sci-sashbox-splitter-bgcolor` ➜ `--sci-sashbox-splitter-background-color` | ||
- `--sci-sashbox-splitter-size_hover` ➜ `--sci-sashbox-splitter-size-hover` | ||
- `--sci-sashbox-splitter-opacity_hover` ➜ `--sci-sashbox-splitter-opacity-hover` | ||
- `--sci-sashbox-splitter-bgcolor_hover` ➜ `--sci-sashbox-splitter-background-color-hover` | ||
- `--sci-sashbox-splitter-opacity_active` ➜ `--sci-sashbox-splitter-opacity-active` | ||
- Scrollbar-related mixins have been moved to the `@scion/components/scrollbar` SCSS module. Migrate as follows: | ||
**Before:** | ||
```scss | ||
@use '@scion/components' as sci-components; | ||
@include sci-components.scrollbar-hide-when-inactive() | ||
@include sci-components.scrollbar-position() | ||
``` | ||
**After:** | ||
```scss | ||
@use '@scion/components/scrollbar' as sci-scrollbar; | ||
@include sci-scrollbar.scrollbar-hide-when-inactive() | ||
@include sci-scrollbar.scrollbar-position() | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.