This repository has been archived by the owner. It is now read-only.
Pre-release

@0xdec 0xdec released this Feb 5, 2016

  • draft.proxy will now only initialize nested props on set (configurable)
  • el.prop(prop) now returns null if the property is undefined (used to set the property to the default from draft.defaults)
  • add draft.Point element for draft.Line and draft.Shape to extend from
  • remove draft.types.opacity
  • add draft.types.Float and draft.types.Length
  • remove draft.px and unitHack() and migrate to the new length class
  • remove el.width() and el.height() from size mixin
  • add el.scale() function for relative sizing
  • update draft.types.Color to be a class akin to the other two types
  • new types can be used with standard arithmetic operators (+-*/) and should for the most part give sane results
Assets 4
Pre-release

@0xdec 0xdec released this Feb 2, 2016 · 23 commits to master since this release

Lots of new stuff for v0.1.0:

  • add new draft.Shape element for primitives to extend from
  • add support for fill and stroke, including color, opacity, and width
  • add three new types/validators: unit, color, and opacity
  • add support for nested properties via ES6 Proxies (e.g. el.prop('fill.color') will return el._properties.fill.color)
Assets 4
Pre-release

@0xdec 0xdec released this Jan 29, 2016 · 45 commits to master since this release

  • improve release process (again)
Assets 2
Pre-release

@0xdec 0xdec released this Jan 29, 2016 · 49 commits to master since this release

  • improve release process
Assets 2
Pre-release

@0xdec 0xdec released this Jan 29, 2016 · 51 commits to master since this release

  • improve build process
Assets 2
Pre-release

@0xdec 0xdec released this Jan 22, 2016 · 55 commits to master since this release

  • improve build process
Assets 2
Pre-release

@0xdec 0xdec released this Jan 21, 2016 · 62 commits to master since this release

  • initial release
Assets 2