Releases: Patternslib/Patterns
Releases · Patternslib/Patterns
2.0.14 - Aug 15, 2016
- A fix for pat-scroll to scroll up to current scroll container instead of body.
- A fix for pat-scroll to await loading of all images before determining the amount to scroll up.
- A fix for IE10/11 where the modal wouldn`t close anymore due to activeElement being undefined
- Allow to configure different data-pat-inject per formaction, so that different targets can be configured per formaction
2.0.13 - Apr. 27, 2016
- New property for sortable pattern,
drag-class
, the CSS class to apply to item being dragged. Is"dragged"
by default. - New property for sortable pattern,
drop
, a Javascript callback function to be called when an item is dropped. - Form with pat-autosubmit doesn't get notified when injected inputs change.
- Inject pattern with
autoload-visible
injected erroneously based upon old autoload element no longer in DOM. - Add the class
modal-active
to thebody
element whenever a modal is in the DOM. - New pattern:
pat-tabs
. See the relevant documentation. - Bugfix:
pat-validation
still validates removed clones frompat-clone
. - Let the next-href option of pat-inject work as advertised.
- Parser fix: don't treat
&
as a separator - #436 Remove
pat-bumper
restriction that scroll container must be the direct parent. - pat-masonry fix: the
containerStyle
value must be an object.
2.0.12 - Oct. 9, 2015
- New property for the inject pattern:
loading-class
.
Specifies a class to appear on the injection target while the injected content is still loading.
Previously this was hardcoded toinjecting
, this is still set to the default value. - New properties for the inject pattern:
confirm
andconfirm-message
.
Allows you to specify whether a confirmation message should be shown before
injecting, as well as the text of that message. - New property for tooltip pattern:
mark-inactive
.
A boolean value, used to specify whether the class 'inactive' should be added
to the tooltip trigger. Previously this behavior was hardcoded, now it's
optional with a default oftrue
. - Fix: tooltips with
closing
set tosticky
orauto
couldn't be closed on mobile. - Parser fix. Remove duplicate configurations.
- Bugfix: TypeError: Cannot read property 'msie' of undefined.
2.0.11 - September 30, 2015
- Bugfix. Specifying combined pattern properties (with &&) not working on IE10.
- Add an alternative parser, from the Mockup project.
- Updated documentation.
- Clone pattern has a new argument: remove-behaviour
2.0.10 - Sept. 18, 2015
- Add new argument "hooks" to pat-inject.
- Add new parser method addAlias for adding aliases of parser arguments.
- Add the addJSONArgument method to the argument parser, which provides support for JSON as argument values.
- Added Sass files for all patterns.
- Bugfix in pat-masonry. Wait until images are loaded.
- Bugfixes and improvements to pat-clone.
- Fixed a bug where the page reloads when the image viewer from pat-gallery is closed.
- In pat-autosuggest, new option allow-new-words, for explicitly allowing or denying custom tags.
- Make pat-bumper also bump against the bottom edge.
- New layout. All files relevant to individual patterns (except for tests) are now in ./src/pat
- pat-gallery now uses Photoswipe 4.1.0 and is based on pat-base.
- New pattern pat-validation which replaces pat-validate.
2.0.9 - Mar 30, 2015
- Fixed IE bug in pat-equalizer
- #389 Add support in pat-inject for the HTML5 formaction attribute
- New pattern: pat-clone.
- Upgrade to jQuery 1.11.1
2.0.8 - Feb. 5, 2015
#395 add body class after patterns loaded from registry
2.0.7 - Feb. 4, 2015
- #381 Checked class not set on checklist
- Add stub module i18n.js. Provides compatibility with Mockup patterns.
- Add support for Mockup patterns.
- Add support for parsing JSON as pattern configuration
- Add support for using pat-subform together with pat-modal.
- Give pattern plugins the change to modify arguments before returning them.
- New arg for pat-autosuggest: words-json
- New pattern: pat-masonry
2.0.6 - Dec. 10, 2014
- New core module pluggable.js which allows the creation of Pluggable patterns.
2.0.5 (2014-12-04)
- #383 pat-equaliser sets the height to early