Skip to content

Commit 061d452

Browse files
committed
Release new version.
1 parent e0c3d95 commit 061d452

File tree

2 files changed

+85
-1
lines changed

2 files changed

+85
-1
lines changed

CHANGES.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,90 @@ See the [history](./docs/history/index.md) for older changelog entries.
44

55

66

7+
## [9.8.0-alpha.0](https://github.com/Patternslib/patterns/compare/9.7.0...9.8.0-alpha.0) (2022-12-05)
8+
9+
10+
### Features
11+
12+
13+
* **core basepattern:** Provide the parser as static attribute. ([49db677](https://github.com/Patternslib/patterns/commit/49db6776199aea5860ab9074ddacb06869dbc705))This change is backwards compatible Change the parser attribute to a
14+
static attribute and provide it also on the object. This change was
15+
necessary because pat-inject was using the parser on a registered
16+
Pattern class to rebase URL configurations in the rebaseHTML method.
17+
There was no access to the parser attribute on non-instatiated objects
18+
before, now it is.
19+
20+
* **pat-autosuggest:** Add a configurable separator for multiple values. ([21cbe8f](https://github.com/Patternslib/patterns/commit/21cbe8fd6d2dd142abacc752073f6e41e4d73058))
21+
22+
23+
### Bug Fixes
24+
25+
26+
* **pat-auto-suggest:** Adapt to changes from pat-depends where the event is called on the pat-depends element itself. ([926de33](https://github.com/Patternslib/patterns/commit/926de3383901bd9e7808d9ee05e4e56171c9c9aa))
27+
28+
* **pat-autofocus:** Refocus on DOM updates by other Patterns. ([4dc2963](https://github.com/Patternslib/patterns/commit/4dc2963faca04c39caf9a1c2ac954045f1ff37db)), closes [#1092](https://github.com/Patternslib/patterns/issues/1092)Set the focus if appropriate when the DOM has changed and a pat-update
29+
event has thrown. Please note, this does not use an IntersectionObserver
30+
but relies on other Patterns using the pat-update event. This behavior
31+
got lost in Patternslib 6.1 and is now restored.Fixes: #1092
32+
33+
* **pat-bumper:** Correctly set the bumpuing classes. ([e66b987](https://github.com/Patternslib/patterns/commit/e66b9872c796672a95e24d9557d2c028030b4c29)), closes [#1083](https://github.com/Patternslib/patterns/issues/1083)The bumping classes are now set correctly on any bumping direction.
34+
35+
The logic is adapted to work with any top, right, bottom, left, margin, border
36+
and padding setting on a wrapping container, two different containers for x and
37+
y scrolling and on the window viewport as container.Fixes: #1083
38+
39+
* **pat-scroll-box:** Fix failing tests due to timing inconsitencies. ([7a03ef8](https://github.com/Patternslib/patterns/commit/7a03ef8b9d129e1129dc09722b7bda158aff9534))
40+
41+
42+
### Maintenance
43+
44+
45+
* **core utils:** utils.hideOrShow: add updated dom to pat-update event data. ([0b5f92f](https://github.com/Patternslib/patterns/commit/0b5f92f5b42cd4b206443ffd01b21dd865c8b887))
46+
47+
* **pat stacks:** Modernize code. ([7928880](https://github.com/Patternslib/patterns/commit/7928880b2a76c458789d123cc6b5f515c55996b5))
48+
49+
* **pat-autofocus:** Switch to class based patterns. ([4302d6c](https://github.com/Patternslib/patterns/commit/4302d6c98de16394d593ef9785273fd37e1078b2))
50+
51+
* **pat-bumper:** Correct documentation. ([fa0254c](https://github.com/Patternslib/patterns/commit/fa0254cc3ac7a5c6f820057c93668c2a638cc1b4))
52+
53+
* **pat-bumper:** No IE11 support anymore. ([bae3f55](https://github.com/Patternslib/patterns/commit/bae3f55235847500cffda290108bc99ca786b1e0))
54+
55+
* **pat-bumper:** Switch to class based patterns. ([2b04cbc](https://github.com/Patternslib/patterns/commit/2b04cbc832c8f3d219fb60e0616fd3b9f0d52f57))
56+
57+
* **pat-clone-code:** Make parser attribute a static attribute. ([eb70b84](https://github.com/Patternslib/patterns/commit/eb70b84b1bfbd7516a387c17f12ebc29f1fac0d8))
58+
59+
* **pat-clone:** Add updated dom to pat-update event data. ([18375fe](https://github.com/Patternslib/patterns/commit/18375fe6732e38740e5a7546852e20f784d60f51)), closes [#1092](https://github.com/Patternslib/patterns/issues/1092)Related: #1092
60+
61+
* **pat-clone:** Modernize code. ([f0d8d5b](https://github.com/Patternslib/patterns/commit/f0d8d5b5e3048c295d7a69bb40235f274e15d7a6))
62+
63+
* **pat-collapsible:** Add updated dom to pat-update event data. ([fde478c](https://github.com/Patternslib/patterns/commit/fde478ccbc98e6c51998bd332d8d5880269459a0)), closes [#1092](https://github.com/Patternslib/patterns/issues/1092)Related: #1092
64+
65+
* **pat-collapsible:** Modernize code. ([870f6dc](https://github.com/Patternslib/patterns/commit/870f6dcdbadd9f58a534bf8c9675ea047c34ab8a))
66+
67+
* **pat-collapsible:** Switch to class based pattern. ([417b0d6](https://github.com/Patternslib/patterns/commit/417b0d6332ee9adb0c7f99407a7dc5d9e7998f45))
68+
69+
* **pat-depends:** Always throw update event and add changed dom structure. ([6152afd](https://github.com/Patternslib/patterns/commit/6152afd289f837d036edfb9947059217974696bb)), closes [#1092](https://github.com/Patternslib/patterns/issues/1092)Trigger pat-update on pat-depends itself and add updated dom structure to pat-update event data.
70+
This allows other patterns to also listen to changes in pat-depends.
71+
Goes together with the previous change on pat-autofocus.Related: #1092
72+
73+
* **pat-equaliser:** Add updated dom to pat-update event data. ([c66a431](https://github.com/Patternslib/patterns/commit/c66a43124d76f501bfdeb2ee09bcd39c5f2d550d))
74+
75+
* **pat-scroll:** Add updated dom to pat-update event data. ([fc23966](https://github.com/Patternslib/patterns/commit/fc23966c8415d7d6e6fe31ae7ecb78bb7d2f8c65))
76+
77+
* **pat-scroll:** Code cleanup. ([4f27b99](https://github.com/Patternslib/patterns/commit/4f27b99a34d982a203f889ff157ebd0e9d7addb2))
78+
79+
* **pat-scroll:** Fix test markup. ([9b788a0](https://github.com/Patternslib/patterns/commit/9b788a0c19cce9592691ce7446b35ef1d4cd3c87))
80+
81+
* **pat-sortable:** Add updated dom to pat-update event data. ([18711eb](https://github.com/Patternslib/patterns/commit/18711eb95a85152aea8eff7ba708117bee71d658))
82+
83+
* **pat-stacks:** Add updated dom to pat-update event data. ([41f8bb3](https://github.com/Patternslib/patterns/commit/41f8bb354b212ce560c279ae0724ae2f37501c04))
84+
85+
* **pat-stacks:** Switch to class based pattern. ([6065eae](https://github.com/Patternslib/patterns/commit/6065eae3db68a62f7f1c7326ba87320e86236c41))
86+
87+
* **pat-switch:** Add updated dom to pat-update event data. ([7434236](https://github.com/Patternslib/patterns/commit/7434236c7ea51aafc04dfeaaa08bd9fb1e2f2ed8))
88+
89+
* **pat-toggle:** Add updated dom to pat-update event data. ([56a0073](https://github.com/Patternslib/patterns/commit/56a00730461c7d9481f9862afc2a009fb75ac0ae))
90+
791
## [9.7.0](https://github.com/Patternslib/patterns/compare/9.7.0-alpha.5...9.7.0) (2022-11-15)
892

993

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternslib/patternslib",
3-
"version": "9.7.0",
3+
"version": "9.8.0-alpha.0",
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)