@patternslib/patternslib
Advanced tools
Changelog
9.10.0-alpha.0 (2025-01-06)
core basepattern: Assign each pattern a UUID. (c142214)
core dom: Add find_inputs to find all inputs in a node tree, including the node itself. (db271ce)
core uuid: Add utility function to generate a uuid. (8b70876)
pat-autosuggest: Add batching support for AJAX requests. (1323eaa)
This PR introduces three new options for that: max-initial-size: Defines the batch size for the initial request (default: 10). ajax-batch-size: Defines the batch size for subsequent requests (default: 10). ajax-timeout: Defines the timeout in milliseconds before a AJAX request is submitted. (default: 400).
Ref: scrum-1638
lib dependshandler: Do not return the value from an disabled input. Return null instead. (430167b)
pat-depends: Enable/Disable all inputs of a subtree, if a parent is a dependend. (0bbe3f4)
pat-depends: Support updating for sub-pat-depends when the parent state is changed. (9abf534)
pat-inject: Allow to submit invalid forms when form/novalidate. (993d27d)
Respect the form[novalidate] and button[formnovalidate] attributes and allow the submission of invalid forms. This is necessary if a cancel button is a submit button and needs to be allowed to submit even if the form input is invalid.
Changelog
9.9.13 (2024-08-19)
Build: Apply "npm pkg fix" to correct the repository URL. (cfec736)
Fix reference to 3rd party styles in stylesheets. (d00253d)
Since latest scss build tools which became available in
@patternslib/dev
version 3.6 references to node_modules
need to be
left out. The build tool searches in node_modules anyways. This is now
fixed.
pat-carousel: Fix SASS compilation warnings. (e4e2dae)
Upgrade to a version of slick.js where the compilation warnings are fixed.
pat-inject: Fix failing test. (1472b06)
Recent Jest/jsDOM stopped working with uppercase tag selectors. This is now fixed without making compromises to production code, as the new result is more readable.
Changelog
9.9.10-alpha.4 (2023-11-23)
Changelog
9.9.10-alpha.3 (2023-11-17)
core dom find_form, pat autosubmit: Add support for pat-subform. (bd19154)
Subform was recently lost when introducing dom.find_form. Now subform support is back in pat-autosubmit.
pat subform: Correctly unregister the submit event on Pattern destroy. (8252014)