Skip to content

Commit 2c43142

Browse files
committed
Release new version.
1 parent 933897d commit 2c43142

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

CHANGES.md

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

55

66

7+
## [9.9.0-alpha.3](https://github.com/Patternslib/patterns/compare/9.9.0-alpha.2...9.9.0-alpha.3) (2023-04-19)
8+
9+
10+
### Features
11+
12+
13+
* **core utils:** Add is_option_truthy to check Pattern options for a truthy value. ([6a6e9fa](https://github.com/Patternslib/patterns/commit/6a6e9fae0aef9ceb5f71117133a45c3e1a2a0d82))
14+
15+
A values "undefined", "null", "false", "none" or "" are considered falsy
16+
and can be used to disable some functionality. Other values including
17+
"0" are considered to be true.
18+
19+
20+
* **core utils:** parseLength: handle unitless lengths as pixels. ([15090e3](https://github.com/Patternslib/patterns/commit/15090e3d19b8384042b25dcfb6bb9361283c5044))
21+
22+
23+
* **pat navigation:** Implement scroll-trigger-selector option. ([818c68d](https://github.com/Patternslib/patterns/commit/818c68d175c254b192a909b4e7c8e4770687c681))
24+
25+
Define the CSS selector which is used to find navigation links with hash
26+
URLs. The default is "a[href^='#'].scroll-marker" which would find all anchor
27+
elements which href starts with a "#" sign and have the class
28+
scroll-marker.
29+
The restriction on scroll-marker allows for other hash-urls in the same
30+
navigation - e.g. a pat-tooltip which references a local content.
31+
If you set it to "none" the scroll marker functionality is not activated.
32+
33+
34+
* **pat scroll-marker:** Implement selector option. ([678aee5](https://github.com/Patternslib/patterns/commit/678aee5d2725cf47085df246536e57d9b4639b62))
35+
36+
Define the CSS selector which is used to find navigation links with hash
37+
URLs. The default is "a[href^='#']" which would find all anchor elements
38+
which href starts with a "#" sign.
39+
40+
41+
42+
### Bug Fixes
43+
44+
45+
* **pat navigation:** Allow "none" to be a valid option for scroll-item-visibility. ([456e05a](https://github.com/Patternslib/patterns/commit/456e05ac288638a7a631377c6fb886e49e951493))
46+
47+
48+
* **pat navigation:** Rename scroll-marker- options to scroll-item. ([a40fc0f](https://github.com/Patternslib/patterns/commit/a40fc0fb1d0c68c074d9153d8872edc63eeccda7))
49+
50+
Implement review comments.
51+
52+
This is not listed as "breaking" change because this change on the
53+
scroll-marker feature happens within the alpha phase.
54+
55+
56+
* **pat scroll-marker:** Allow "none" to be a valid option for visibility. ([e506ed2](https://github.com/Patternslib/patterns/commit/e506ed28b7a3c23d2b67c612c1979d260727282e))
57+
758
## [9.9.0-alpha.2](https://github.com/Patternslib/patterns/compare/9.9.0-alpha.1...9.9.0-alpha.2) (2023-04-18)
859

960

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.9.0-alpha.2",
3+
"version": "9.9.0-alpha.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)