Skip to content

Commit

Permalink
release(toolkit): v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcarrian authored and danielwiehl committed Oct 22, 2024
1 parent 1d1d804 commit 6c8abcf
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG_TOOLKIT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.5.1](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.5.0...toolkit-1.5.1) (2024-10-22)


### Bug Fixes

* **toolkit/observable:** position document root in CSS layer when using `fromBoundingClientRect$ ` ([9af2f48](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/9af2f487a47937cc18c6c7fd1558ac10500dfba7))



# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03)


Expand Down
18 changes: 3 additions & 15 deletions CHANGELOG_TOOLKIT_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03)
## [1.5.1](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.5.0...toolkit-1.5.1) (2024-10-22)


### Performance Improvements
### Bug Fixes

* **toolkit/observable:** optimize position detection in `fromBoundingClientRect$` ([540b8bb](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/540b8bbdfd968b56ed484a0daf290257105c4d8f))


### Code Refactoring

* **toolkit/operators:** remove deprecated `pluckArray` operator ([6c84329](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/6c84329f8cb6180dee465b6ac1ffc6c660f2029f))
* **toolkit/testing:** remove deprecated `ObserveCaptor#resetValues` method ([10253e6](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/10253e6ab09e22ef43fccd7913eba27fe45541fc))


### BREAKING CHANGES

* **toolkit/testing:** `ObserveCaptor#resetValues` was deprecated and has been removed; use `ObserveCaptor#reset` instead.
* **toolkit/operators:** RxJS operator `pluckArray` was deprecated and has been removed; use `mapArray` instead.
* **toolkit/observable:** position document root in CSS layer when using `fromBoundingClientRect$ ` ([9af2f48](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/9af2f487a47937cc18c6c7fd1558ac10500dfba7))



9 changes: 9 additions & 0 deletions docs/site/changelog-toolkit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
## [Changelog][menu-changelog] > @scion/toolkit


## [1.5.1](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.5.0...toolkit-1.5.1) (2024-10-22)


### Bug Fixes

* **toolkit/observable:** position document root in CSS layer when using `fromBoundingClientRect$ ` ([9af2f48](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/9af2f487a47937cc18c6c7fd1558ac10500dfba7))



# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03)


Expand Down
2 changes: 1 addition & 1 deletion docs/site/tools/dimension.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ console.log(boundingBox());
- The element and the document root (`<html>`) must be positioned `relative` or `absolute`. If not, a warning is logged, and positioning changed to `relative`.

*Note:*
There is no native browser API to observe the position of an element. The observable uses [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) and [`ResizeObserver`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) to detect position changes. For tracking only size changes, use [`Dimension`](#dimension-signal) signal instead.
There is no native browser API to observe the position of an element. The signal uses [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) and [`ResizeObserver`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) to detect position changes. For tracking only size changes, use [`Dimension`](#dimension-signal) signal instead.


**Example of observing the bounding box of the component:**
Expand Down
2 changes: 1 addition & 1 deletion projects/scion/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scion/toolkit",
"version": "1.5.0",
"version": "1.5.1",
"description": "Provides a collection of framework-agnostic utilities designed primarily for use in SCION libraries such as `@scion/workbench` and `@scion/microfrontend-platform`. This library is written in plain TypeScript and has no dependency on any other library.",
"license": "EPL-2.0",
"private": false,
Expand Down

0 comments on commit 6c8abcf

Please sign in to comment.