Skip to content

Commit 04719a6

Browse files
committed
Release new version.
1 parent a51baeb commit 04719a6

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGES.md

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

55

66

7+
## [9.9.10-alpha.1](https://github.com/Patternslib/patterns/compare/9.9.10-alpha.0...9.9.10-alpha.1) (2023-11-09)
8+
9+
10+
### Features
11+
12+
13+
* **core dom:** find_form - find a related form element. ([01b348d](https://github.com/Patternslib/patterns/commit/01b348db79381d0d9c3901ed48ddb531dccced3c))
14+
15+
Add a function to find a related form element. If called on any element
16+
it would first try to get a input element and get it's associated form -
17+
which can be different and as a last resort to find the element's
18+
enclosing form. Otherwise return undefined.
19+
20+
21+
22+
### Bug Fixes
23+
24+
25+
* **pat autosubmit:** Re-add support for autosubmit on non form elements. ([a2530f3](https://github.com/Patternslib/patterns/commit/a2530f3e4cd57943c3109e3ef5be58278f1252bb))
26+
27+
Fix a problem introduces in Patternslib 9.9.7 where pat-autosubmit did
28+
not work when not defined on a form or input element.
29+
30+
As a side effect, the submit event is now always invoked on the related
31+
or nearest form of the element where pat-autosubmit was defined on. If
32+
that element is not a form element a related (input.form) or the nearest
33+
parent form is searched and the submit event invoked upon.
34+
35+
36+
37+
### Maintenance
38+
39+
40+
* **pat autosubmit:** Improve debug messages. ([8c01058](https://github.com/Patternslib/patterns/commit/8c01058eac2bec6f6e5b6f3fd75088b21c845d30))
41+
42+
43+
* **pat inject:** Add more debug messages. ([fddb3b6](https://github.com/Patternslib/patterns/commit/fddb3b6fbe150fb462f71508a7318627e6a2a29e))
44+
745
## [9.9.10-alpha.0](https://github.com/Patternslib/patterns/compare/9.9.9...9.9.10-alpha.0) (2023-11-08)
846

947

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.10-alpha.0",
3+
"version": "9.9.10-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)