Releases: Patternslib/Patterns
Releases · Patternslib/Patterns
Release 1.2.1
- Fix use of an undeclared variable in the parser could result in problems in IE8. This fixes ticket 298.
- Fix handling of trailing semicolons in the the argument parser. This fixes ticket 295.
- Internal build-related changes:
- Stop automatically using the latest CSS and images from jquery.fullcalendar and jquery.select2 in our demos to prevent unexpected changes. Instead we now use a copy we can update as needed.
- Rewrite top level makefile:
- Update the bungles if
packages.json
has changed. - Move jshint out to a new
jshint
target. This is automatically invoked when runningmake check
, but is skipped when you only want to run the unittests.
- Update the bungles if
- Modify included HTML pages to use modules instead of bundles. This makes development easier by removing the need to always rebuild bundles.
- Add new slide pattern.
- Add new slideshow builder pattern.
Release 1.2.0
- Update the website design.
- Packaging changes:
- New bootstrap to handle installation of all dependencies and build bundles.
- Switch dependency management from jamjs to bungle. Remove all third party packages from the source tree.
- The setclass pattern was removed in favour of the newer switch pattern. Ticket 270
- Add a new select-option pattern to faciliate styling of select elements. Ticket 276
- Zoom pattern: make zoom fallback control (text input field) react properly to change events.
- Improve documentation for the image-crop pattern.
- Fix handling of position hints for tooltips.
- Autoscale pattern:
- Avoid creating infinite loops with the resize handler in IE8. This could load to browser crashes.
- Use the scale method on IE 9 as well. Ticket 281
- Injection pattern:
- Add missing dependency on jquery.form. Ticket 267
- Also rebase URLs for
video
andsource
elements. - Modify attribute value escaping in HTML parser to always use
"
for double quotes. This fixes problems attribute values containing double quotes. - Rewrite URL rebasing logic to use the browser''s HTML parser again. This should improve robustness when dealing with non-standard markup.
- Depends pattern:
- Really hide/show elements if no transition type was specified (or
none
was specified explicitly). - Add support for a
~=
operator to test for substrings. - Make the easing used for animations configurable.
- Really hide/show elements if no transition type was specified (or
- Form-State pattern: add
form-state-saved
signal. - Modal pattern:
- Automatically position modals using javascript to fix problems with IE9 and make sure they always fit in the viewport.
- Make sure elements inside a modal do not accidentily loose their focus. This broke the handling of autofocus in modals. Ticket 266
- Check-list pattern: send change event when a checkbox is toggled. This fixes interaction with other patterns such as the checked-flag pattern.
- Collapsible pattern:
- Add new option to specify an (external) triggering element. Ticket 274
- Make it possible to specify the transition effect to use when opening or closing a panel.
- Markdown pattern:
- Include section selector in
data-src
attribute. Ticket 259 - Correct detection of the end of a extracted sections. Ticket 268
- Make sure we correctly identify autoloaded markdown content referenced from a just-injected HTML fragment. Ticket 188
- Use a new markdown converter for every pattern. This fixes problems with shared converter state if the pattern tried to convert two pieces of markdown at the exact same time.
- Include section selector in
- Placeholder pattern: remove Modernizr dependency.
- Sortable pattern: fix weird behaviour when element is dropped on self.
- Core logic changes:
- Patterns main.js returns registry, you have to call patterns.init() manually. For the bundles this happens automatically. Depend on
patterns/autoinit
, if you really want an auto-initializing modular patterns library. - Registry: Add option to registry.scan to let init exceptions through.
- Registry: rescans the DOM for patterns registered after the initial DOM scan.
- Include pattern name in the parser log output. This makes it much easier to debug problems.
- HTML parser:
- Correctly handle tag and attribute names containing a colon.
- Correct escaping of double quotes in attribute values.
- Patterns main.js returns registry, you have to call patterns.init() manually. For the bundles this happens automatically. Depend on
Release 1.0.1
- Fix test failures in transform tests.
Release 1.0.0
- First official release.