Skip to content

Releases: FrontendMatter/dom-factory

v1.0.0

18 Aug 09:51
Compare
Choose a tag to compare

changes

  • upgrade laravel-mix to v2.0.0
  • configure babel to use transform-runtime via .babelrc (fixes ie11 issues)

v1.0.0-alpha.9

09 Jan 14:29
Compare
Choose a tag to compare
v1.0.0-alpha.9 Pre-release
Pre-release

Add support for casting properties with reflectToAttribute: true to a Number

v1.0.0-alpha.10

09 Jan 17:57
Compare
Choose a tag to compare
v1.0.0-alpha.10 Pre-release
Pre-release

fix an issue with setting the property initial value

v1.0.0-alpha.8

10 Dec 19:04
Compare
Choose a tag to compare
v1.0.0-alpha.8 Pre-release
Pre-release

Changes

Upgrade component properties to HTML5 dataset API

v1.0.0-alpha.7

21 Oct 09:16
Compare
Choose a tag to compare
v1.0.0-alpha.7 Pre-release
Pre-release

fix event bubbling

v1.0.0-alpha.6

01 Jul 13:15
Compare
Choose a tag to compare
v1.0.0-alpha.6 Pre-release
Pre-release

BREAKING CHANGES

  • components no longer autoinitialize, instead you need to explicitly call handler.autoInit()
  • component css initializer classes changed to js-$component-id i.e. for my-button component ID the css class will be js-my-button
  • automatically call component.destroy() on handler.downgradeComponent

v1.0.0-alpha.5

12 Mar 13:06
Compare
Choose a tag to compare
v1.0.0-alpha.5 Pre-release
Pre-release

Changes

  • add call to handler.upgradeAll on DOMContentLoaded event
  • add CustomEvent shim
  • add ES6 Array.find shim

v1.0.0-alpha.4

12 Mar 13:03
Compare
Choose a tag to compare
v1.0.0-alpha.4 Pre-release
Pre-release

Accept property value callback

v1.0.0-alpha.3

17 Jun 12:48
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release
changes

util
- export domFactory.util object
- add util.assign (just like Object.assign but keeps original descriptors)
- add util.transform (cross-browser HTMLElement.style.transform)

factory
- inject element into factory definition
- add mixins
- add support for window and document as listener targets
- improve error messages

handler
- improve error handling
- improve error messages
- inject element into factory definition
- call factory._reset() (if exists) on subsequent calls to handler.upgradeElement when a factory instance was already created

v1.0.0-alpha.2

11 Jun 01:22
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release
add component handler