Skip to content

Commit 97524d3

Browse files
committed
Release new version.
1 parent e2b73bc commit 97524d3

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

CHANGES.md

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

55

66

7+
## [9.10.1-beta.0](https://github.com/Patternslib/patterns/compare/9.10.1-alpha.5...9.10.1-beta.0) (2025-01-31)
8+
9+
10+
### Features
11+
12+
13+
* **core dom:** Add method is_button. ([132e42b](https://github.com/Patternslib/patterns/commit/132e42bbb84784f1ab7cd3e897c90ed5e368c666))
14+
15+
dom.is_button tests, if an element is a button like element.
16+
Button like elements are the following:
17+
18+
button,
19+
button[type=button],
20+
button[type=submit],
21+
input[type=image],
22+
input[type=button],
23+
input[type=reset],
24+
input[type=submit]
25+
26+
27+
28+
### Bug Fixes
29+
30+
31+
* **pat-depends:** Fix infinite loop situations. ([af5ecc5](https://github.com/Patternslib/patterns/commit/af5ecc55b7a9c9fd6a01f0d3ca717d26cbd37ff7))
32+
33+
Fix some situations where infinite loops were created of unnecessary
34+
function calls were done:
35+
36+
- Do not en/disable already en/disabled inputs.
37+
- Do not trigger and pat-depends element if the input is the element
38+
itself and not a contained sub-input.
39+
- Do not trigger input events on button-like elements.
40+
41+
42+
43+
### Maintenance
44+
45+
46+
* Add deprecation notice for Modernizr. ([cd84cc7](https://github.com/Patternslib/patterns/commit/cd84cc7c0f05e5c41ae4a642d402eef958cf11a2))
47+
48+
Modernizr will be removed in an upcoming minor version. It is not really
49+
necessary anymore. Most browser support almost latest web technology and IE is
50+
dead.
51+
A no-js class on the body will still be replaced with a js class.
52+
753
## [9.10.1-alpha.5](https://github.com/Patternslib/patterns/compare/9.10.1-alpha.4...9.10.1-alpha.5) (2025-01-28)
854

955

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternslib/patternslib",
3-
"version": "9.10.1-alpha.5",
3+
"version": "9.10.1-beta.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)