Skip to content

Release 9.9.0-alpha.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@thet thet released this 19 Apr 18:01
· 376 commits to master since this release

9.9.0-alpha.3 (2023-04-19)

Features

  • core utils: Add is_option_truthy to check Pattern options for a truthy value. (6a6e9fa)

    A values "undefined", "null", "false", "none" or "" are considered falsy
    and can be used to disable some functionality. Other values including
    "0" are considered to be true.

  • core utils: parseLength: handle unitless lengths as pixels. (15090e3)

  • pat navigation: Implement scroll-trigger-selector option. (818c68d)

    Define the CSS selector which is used to find navigation links with hash
    URLs. The default is "a[href^='#'].scroll-marker" which would find all anchor
    elements which href starts with a "#" sign and have the class
    scroll-marker.
    The restriction on scroll-marker allows for other hash-urls in the same
    navigation - e.g. a pat-tooltip which references a local content.
    If you set it to "none" the scroll marker functionality is not activated.

  • pat scroll-marker: Implement selector option. (678aee5)

    Define the CSS selector which is used to find navigation links with hash
    URLs. The default is "a[href^='#']" which would find all anchor elements
    which href starts with a "#" sign.

Bug Fixes

  • pat navigation: Allow "none" to be a valid option for scroll-item-visibility. (456e05a)

  • pat navigation: Rename scroll-marker- options to scroll-item. (a40fc0f)

    Implement review comments.

This is not listed as "breaking" change because this change on the
scroll-marker feature happens within the alpha phase.

  • pat scroll-marker: Allow "none" to be a valid option for visibility. (e506ed2)