Skip to content

Commit 3a3bc38

Browse files
committed
Release new version.
1 parent 8015206 commit 3a3bc38

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CHANGES.md

+30
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ See the [history](./docs/history/index.md) for older changelog entries.
44

55

66

7+
## [9.9.0-beta.3](https://github.com/Patternslib/patterns/compare/9.9.0-beta.2...9.9.0-beta.3) (2023-05-17)
8+
9+
10+
### Features
11+
12+
13+
* **core dom:** Add get_position, scroll_to_element, scroll_to_top and scroll_to_bottom functions. ([0368c48](https://github.com/Patternslib/patterns/commit/0368c487349278488b6b12c8acfe6b2551290e73))
14+
15+
To help with scrolling tasks and to unify them these methods were
16+
introduced:
17+
- `get_relative_position`: Get the position of an element relative to
18+
another.
19+
- `scroll_to_element`: Scroll the given scroll_container to a given element.
20+
- `scroll_to_top`: Scroll the container to the top.
21+
- `scroll_to_bottom`: Scroll the container to the bottom.
22+
23+
24+
25+
### Maintenance
26+
27+
28+
* **pat inject:** Use the new scrolling helpers from core.dom. ([89d3ef3](https://github.com/Patternslib/patterns/commit/89d3ef3718f40e98fca940ce6ba3c001abf2eb03))
29+
30+
31+
* **pat scroll:** Use the new scrolling helpers from core.dom. ([f37bc99](https://github.com/Patternslib/patterns/commit/f37bc997afe21a50313ddcca4bb4cae3a1c0681e))
32+
33+
This fixes also the scrolling position from the previous release which
34+
would have been wrong for many cases where the scrolling target is
35+
within a positioned element.
36+
737
## [9.9.0-beta.2](https://github.com/Patternslib/patterns/compare/9.9.0-beta.1...9.9.0-beta.2) (2023-05-17)
838

939

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternslib/patternslib",
3-
"version": "9.9.0-beta.2",
3+
"version": "9.9.0-beta.3",
44
"title": "Markup patterns to drive behaviour.",
55
"description": "Patternslib is a JavaScript library that enables designers to build rich interactive prototypes without the need for writing any Javascript. All events are triggered by classes and other attributes in the HTML, without abusing the HTML as a programming language. Accessibility, SEO and well structured HTML are core values of Patterns.",
66
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)