Skip to content

3.1.5

Compare
Choose a tag to compare
@fabiosantoscode fabiosantoscode released this 18 Mar 17:46
· 173 commits to develop since this release

JS

  • Merges #417
  • Adds LazyLoad to Autoload with the .ink-lazyload class
  • Add loadedClass (data-loaded-class="class-name") option to put classes in LazyLoaded elements when they are loaded so they can be styled.
  • Adds TL phones to Ink.Util.Validator
  • Adds EAN validation to Ink.Util.Validator and Ink.UI.FormValidator_2
  • Fixes multiple onInViewport callbacks in Ink.UI.LazyLoad_1
  • Make FormValidator's "matches" rule match form elements without a [rules] attribute, because those may not be validated.
  • Modal now uses Flex and VH/VH CSS dimensions remove or lighten the necessity for javascript layout. It is more smooth and a lot faster too! It gracefully degrades into using some javascript layout, or fully rely on it, on older browsers.
  • Toggle will now pass (newState, { element }) as arguments to the onChangeState callback, instead of just the new state
  • DatePicker bugfixes
  • when isAccordion, the closeOnClick option of a toggle will default to false.
  • DatePicker lang option, to set the language to Portuguese easily, and an Ink.Util.I18n instance to help create more languages.