Skip to content

Releases: Patternslib/Patterns

2.0.4 - October 7, 2014

07 Oct 07:56
Compare
Choose a tag to compare
  • spectrum lib for colour picker now defaults to hsv values. Keep hex as default for backward compatibility (SLC ref 9849)
  • pat-inject autoload did not properly remove event handlers, so that they were called over and over. (SLC ref 10695)

2.0.3 - September 22, 2014

22 Sep 14:56
Compare
Choose a tag to compare
  • when another tooltip trigger is clicked, only close the previous tooltip if it does not contain the trigger. slc ref #9801
  • moved utils.debounce() call to fix removal of event handler, slc ref #10695

2.0.2 - September 8, 2014

08 Sep 09:31
Compare
Choose a tag to compare
  • #377 Local inject doesn't work for IE10 and 11
  • #378 pat-switch detecting click on container of link prevent default on anchor
  • #379 pat-checklist selectAll/deselectAll only works inside .pat-checklist element

2.0.1 September 2, 2014

02 Sep 08:59
Compare
Choose a tag to compare
  • Bugfix in pat-toggle. Check that the previous state is not null before
    attempting to restore it.

2.0.0 - August 11, 2014

14 Aug 14:04
Compare
Choose a tag to compare
  • New patterns:
    • Colour picker pattern. This can be used as a polyfill for browsers which do
      not support colour inputs.
    • Notifications pattern for self-healing messages.
  • Autofocus pattern: never give an input element the focus if it was hidden
    by the depends pattern.
  • Autosuggest pattern:
    • Add AJAX-support to load available options from a backend server.
    • Clear the selected value from a reset button for the form is pressed.
    • Do not open the auto-suggest dropdown on enter.
    • Fix width-related layout problems.
    • Add option to restrict the max amount of selected items.
  • Bumper pattern: support bumping inside scrolling containers.
  • Checked flag pattern: fix initialisation of radio buttons. Pre-checked
    radio buttons would not marked as such if there were unchecked radio
    buttons later in the DOM.
  • Checklist pattern: correctly initialise the state on initial page view.
  • Inject pattern: do not try to rebase mailto: URLs.
  • Modal pattern:
    • Add a new closing option. This allows configuring how a modal can be
      closed.
    • Various positioning improvements.
  • Sortable pattern: add a new selector option to specify which elements
    to sort. This makes it possible to use the pattern outside lists.
  • Switch pattern: prevent default action when a link is clicked.
  • Tooltip pattern:
    • Correctly handle a button with close-panel class in AJAX-loaded tooltip
      content. This fixes fixes ticket
      356
      .
    • Add new target option to specify where to insert a tooltip in the DOM.
    • Update the tooltip position of a parent is scrolled.

1.5.0 Release

22 Jan 21:04
Compare
Choose a tag to compare
  • Add a new stacks pattern.
  • Tooltip pattern: Add a new ajax-data-type option that makes it possible to use markdown content as AJAX source.
  • Update Makefile to install npm modules as needed. This makes it possible to completely bootstrap and build Patterns using make from a clean git clone.
  • Checked flag pattern: make sure the fieldset classes are updated correctly when changing the radio button selection. This fixes #348.
  • Bumper pattern:
    • Add new selector option to allow overriding which elements must be updated.
    • Add new options to specify which classes much be added/removed when an item is (http://patternslib.demo/un)bumped.
  • Depends pattern: also update dependencies on keyup. This makes sure actions happen without forcing a user to move focus away after modifying a text field.
  • Rewrite the slides pattern to use the new Patternslib slides library, replacing shower.
  • Fix event handling in the sortable pattern. This could result in unexpected behaviour in Firefox.
  • Add a new forward pattern.
  • Add a missing dependency on jquery-ext to the registry module. This fixes errors invoking the scan function when using a Patterns bundle.
  • Validate pattern: perform validation when submitting forms via AJAX.
  • The argument parser can now disable configuration inheritance if needed by a pattern.
  • The select-option pattern has been merged into the checked flag pattern.
  • Checked flag pattern: add new API to control select and checkbox elements.
  • Do not handle exceptions during Patterns initialisation and transforms if a patterns-dont-catch query string parameter is present.

1.4.1 Release

13 Jul 07:57
Compare
Choose a tag to compare
  • Validate pattern: always validate form elements when they are changed instead of waiting for a first form submit. This fixes ticket 324.
  • Update to a new version of shower which does not hijack key events when not in presentation mode. This fixes ticket 315.
  • Handle security errors when checking if a browser supports sessions storage. This fixes ticket 326.
  • Add new equaliser pattern. This fixes ticket 307.
  • Depends pattern: allow dashes in input names and values again. This fixes ticket 313.

Release 1.4.0

13 Jul 07:42
Compare
Choose a tag to compare
  • Include value of used submit button when using forms for injection. This fixes ticket 305.
  • The argument parser has been updated to support quoted arguments in shorthand notation.
  • Add new validate pattern. This fixes ticket 68.
  • Add a new internal pat-update event which is triggered for elements that are changed.
  • Markdown pattern: correct internal escaping behaviour which could cause characters to show up in unexpected escaped form in literal blocks. This fixes ticket 306.
  • Depends pattern:
    • Include element with invalid dependency in error log messages. This makes it a lot simpler to find the source of errors.
    • Support non-ASCII variable names and values. This fixes ticket 304.
    • Do not include generated parser in source tree. Instead the make rules have been improved to generate/update the parser as needed.
    • Support quoting of values. This makes it possible to test for values containing whitespace.

Release 1.3.1

13 Jul 07:45
Compare
Choose a tag to compare
  • Collapsible pattern: add a new slide-horizontal transition.
  • Slideshow builder pattern: make it possible to insert the slideshow fieldset in a different location than at the start of the form.
  • Packaging: Remove unneeded dependency on jquery.autosuggest.
  • Injection pattern:
    • Fix injection of HTML5 elements in IE 8 and older.
    • Fix the rebasing of URLs when injecting in IE 8 and older.
    • Send a new pat-inject-content-loaded event when all images in injected markup have finished loading.
  • Modal pattern:
    • Reposition the modal after its images have finished loading.
    • Improve browser compatibility.

Release 1.3.0

13 Jul 07:43
Compare
Choose a tag to compare
  • Fix use of an undeclared variable in the parser which could result in problems in IE8. This fixes ticket 298.
  • Markdown pattern:
    • Generate HTML5 <section> elements with a <h1> header when converting headers. This fixes ticket 216.
    • Support filtering if injected markdown documents with headers using underlined (equal signs or dashes) style notation.
    • Update the version of pagedown-extra which could case markdown constructs to be replaces with the word undefined. This fixes ticket 297.
  • Injection pattern: extend autoload-in-visible to also apply for situations where we are not dealing with a heigh-constrained scrollable parent but need to look at the entire page. This fixes ticket 296.
  • The switch pattern can now remember the its state. This fixes ticket 293.
  • Add a new gallery pattern.