Skip to content

Commit b5cb1d3

Browse files
committed
Release new version.
1 parent c411d8c commit b5cb1d3

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

CHANGES.md

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

55

66

7+
## [9.9.6-alpha.1](https://github.com/Patternslib/patterns/compare/9.9.6-alpha.0...9.9.6-alpha.1) (2023-08-30)
8+
9+
10+
### Breaking Changes
11+
12+
13+
* **pat-scroll:** Remove implicit and unpreventable scroll support for pat-stacks. ([92e1e6b](https://github.com/Patternslib/patterns/commit/92e1e6b7f7a0e952ac8831e67c5567e1c6907f24))
14+
15+
With a pat-scroll as parent of a pat-stacks enabled navigation anchors,
16+
the page would scroll to the target configured for pat-scroll. This
17+
behavior could not be prevented and led to unwanted effects when using
18+
pat-stacks inside pat-collapsible which itself uses pat-scroll when
19+
configured properly.
20+
21+
This commit removes the scrolling support for pat-stacks within
22+
pat-scroll in favor of an explicit and configurable scrolling behavior
23+
in pat-stacks itself.
24+
25+
26+
27+
### Features
28+
29+
30+
* **core dom:** Add dom.element_uuid to get/set an uuid to a DOM node. ([a7e5de1](https://github.com/Patternslib/patterns/commit/a7e5de149178796ce956386b7b76fb5d98ea8c7e))
31+
32+
33+
* **pat stacks:** Add a destroy method to unregister event handlers. ([8479cfa](https://github.com/Patternslib/patterns/commit/8479cfa170a20a863d36b65309c9706f67b33bd9))
34+
35+
36+
* **pat-stacks:** Add configurable scroll support. ([a8aae63](https://github.com/Patternslib/patterns/commit/a8aae6365c79ad22336cb77d711e21e4fcfee05e))
37+
38+
Add "scroll-selector" and "scroll-offset" arguments to pat-stacks,
39+
likewise as in pat-collapsible. "scroll-selector" accepts a CSS selector
40+
string or the special values "self" to scroll to the element itself and
41+
"none" to block any scrolling behavior from parent pat-stacks configuration
42+
options.
43+
44+
With these configuration options you can control the scrolling behavior
45+
for pat-stacks on a fine-grained level.
46+
47+
48+
49+
### Maintenance
50+
51+
52+
* **pat-stacks:** Adapt code to Patternslib standards. ([2f95379](https://github.com/Patternslib/patterns/commit/2f95379c136d7b21097e9936c0bb3b3d5e21fc23))
53+
54+
55+
* Upgrade dependencies. ([9bd50b8](https://github.com/Patternslib/patterns/commit/9bd50b843fa7370432d4995285eec917ba52234c))
56+
757
## [9.9.6-alpha.0](https://github.com/Patternslib/patterns/compare/9.9.5...9.9.6-alpha.0) (2023-08-11)
858

959

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.6-alpha.0",
3+
"version": "9.9.6-alpha.1",
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)