Skip to content

Releases: Patternslib/Patterns

Release 9.9.0-alpha.1

17 Apr 23:45
Compare
Choose a tag to compare
Release 9.9.0-alpha.1 Pre-release
Pre-release

9.9.0-alpha.1 (2023-04-17)

Bug Fixes

  • pat scroll-marker: Do not break if no scroll-marker observables have been found. (be6723f)

  • pat scroll-marker: Use the correct scroll container. (ccc3ddc)

    The scroll container was potentially wrong and is a parent of the
    hash-link target contents and not a parent of the navigation where
    pat-scroll-container (or pat-navigation) are defined upon.

Maintenance

Release 9.9.0-alpha.0

17 Apr 10:48
Compare
Choose a tag to compare
Release 9.9.0-alpha.0 Pre-release
Pre-release

9.9.0-alpha.0 (2023-04-17)

Features

  • core basepattern: Allow to specify parser options on the pattern. (eb66159)

  • core basepattern: Throw pre-init.PATTERNNAME.patterns event. (cacb743)

    Throw a bubbling pre-init.PATTERNNAME.patterns event before initializing
    the event for new class-based patterns.

  • core base: Throw pre-init.PATTERNNAME.patterns event. (e9a8f2f)

    Throw a bubbling pre-init.PATTERNNAME.patterns event before initializing
    the event for old prototype based patterns.

  • core dom: Add get_scroll_x and get_scroll_y helper methods to get the horizontal/vertical scrolling position. (a3ecf93)

  • core dom: Implement get_visible_ratio to calculate the visible ratio between an element and a container. (622d5e2)

  • core utils: add parseLength method for parsing px and % lengths. (95c16b8)

  • core utils: Add threshold_list helper for intersection observers. (52d9ecf)

  • core utils: debouncer - Add postpone option for callback to be run after all debounce calls or in between. (12c980b)

    If "postpone" is set to "true" (the default and previous behavior) the
    callback will only be called after no more debouncer calls are done for
    the given timeout.
    If "postpone" is set to "false" the callback will be run after the
    timeout has passed and calls to "debouncer" in between are ignored.

  • pat navigation: Add scroll-marker functionality. (fb8eb82)

    The pattern now sets current and in-view classes on the navigation and
    the content when scrolling to hash-link targets.

  • pat scroll-marker: Add pattern to set navigation classes based on the scroll position. (6483649)

    The new scroll-marker pattern allows you to set classes on the
    navigation and content elements for hash-links. If a content section
    with a hash id and a corresponding navigation link with the same
    hash-url is visible, the navigation and content section are marked with
    CSS classes.

Maintenance

  • pat inject: Use dom.find_scroll_container instead jQuery :scrollable selector. (14af661)

  • pat navigation: Don't do option grouping. There will some options be added where grouping get's in the way. (3c55864)

  • pat navigation: Switch to class based pattern. (5b0fc43)

  • pat scroll-box: Cleanup code. (148f79a)

  • pat scroll-box: Use dom.scroll_y instead of own implementation. (e5a4b24)

  • pat scroll: Code cleanup. (a66a9f8)

  • pat-inject: Remove obsolete hooks option. (411653d)

    The hooks option allowed to throw custom events after successful
    injection. It was a multi-value argument but only allowed "raptor" as
    value. Raptor was a WYSIWYG editor which has not been further developed
    since 10 years and which we're not supporting anymore since quite some
    time. Thus this option could be safely removed and this change is not a
    breaking change.

If you need to react on events, see the documented event list in
pat-inject's documentation.

  • pat-inject: Remove obsolete raptor-ui trigger. (ae01e20)

    Remove the ".raptor-ui .ui-button.pat-inject" trigger selector which was
    for raptor WYSIWYG HTML editor support. This editor isn't actively
    developed since almost 9 years and not supported anymore. This is not a
    breaking change.

  • Upgrade dependencies. (15b6adb)

  • Upgrade luxon to 3.3.0. (b19f1e5)

    The Module federation warning "Unable to find required version" is fixed
    since webpack v5.78.0 for modules which do package.json
    self-referencing.

Ref:

Release 9.8.3

17 Apr 08:11
Compare
Choose a tag to compare

9.8.3 (2023-04-17)

Maintenance

  • Docs: Remove section about IE polyfills from README. (b9c3697)The IE polyfills were removed in Patternslib 9.8.0-alpha.2.

  • pat inject: Document events thrown by the pattern. (d3a7a0e)

  • pat inject: Document the scroll argument. (1b9604e)

Release 9.8.3-alpha.2

09 Mar 10:18
Compare
Choose a tag to compare
Release 9.8.3-alpha.2 Pre-release
Pre-release

9.8.3-alpha.2 (2023-03-09)

Maintenance

  • Upgrade pat-tiptap to 4.8.1. (eda16d7)

Release 9.8.3-alpha.1

09 Mar 09:55
Compare
Choose a tag to compare
Release 9.8.3-alpha.1 Pre-release
Pre-release

9.8.3-alpha.1 (2023-03-09)

Bug Fixes

  • core events: await_pattern_init - check for event coming from correct element. (a532ebf)Check if the init/not-init events were thrown from the Pattern's own
    element. When a child element did an unsuccessful Pattern init (rejected
    because already initialized) and at the same time the parent element also tried
    to initialized the same Pattern await_pattern_init could fail. The not-init
    event bubbled up which was incorrectly catched by await_pattern_init on the
    parent element.

Maintenance

  • core events test: Remove unused test. (ca16b1d)

  • core utils debounce tests: await for number of debounce calls to correctly test the debounce method. (0c3dea7)

  • Upgrade dependencies. (bfaf95c)

Release 9.8.3-alpha.0

06 Mar 15:02
Compare
Choose a tag to compare
Release 9.8.3-alpha.0 Pre-release
Pre-release

9.8.3-alpha.0 (2023-03-06)

Bug Fixes

  • pat auto submit: Fix cloned elements not submitted when their input changes. (f36c69b)

Release 9.8.2

24 Feb 09:14
Compare
Choose a tag to compare

9.8.2 (2023-02-24)

Release 9.8.2-alpha.0

14 Feb 16:09
Compare
Choose a tag to compare
Release 9.8.2-alpha.0 Pre-release
Pre-release

9.8.2-alpha.0 (2023-02-14)

Maintenance

Release 9.8.1

02 Feb 00:46
Compare
Choose a tag to compare

9.8.1 (2023-02-02)

Features

  • build: Update patternslib.com with each non-pre release. (143031d)

Bug Fixes

  • Build: Fix luxon (again) to 2.4.0 to avoid webpack MF error due to non standard package.json setup. (9661ae7)

  • pat checklist: Also set the "checked" and "unchecked" classes on the toggle checkbox. (8154775)

Release 9.8.1-alpha.0

25 Jan 20:01
Compare
Choose a tag to compare
Release 9.8.1-alpha.0 Pre-release
Pre-release

9.8.1-alpha.0 (2023-01-25)

Features

  • pat checklist: Toggle checkbox to toggle checked boxes true/false. (2a435fa)

Maintenance

  • Build: Upgrade dependencies. (7e7cc20)

  • pat-checklist: Document the available options. (625f7e5)