Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Releases: jordiorlando/draft.js

0.2.0

05 Feb 17:07
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
  • 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

0.1.0

02 Feb 08:57
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-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)

0.0.5

29 Jan 19:37
Compare
Choose a tag to compare
0.0.5 Pre-release
Pre-release
  • improve release process (again)

0.0.4

29 Jan 19:37
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release
  • improve release process

0.0.3

29 Jan 19:36
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
  • improve build process

0.0.2

22 Jan 01:13
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release
  • improve build process

0.0.1

21 Jan 21:35
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release
  • initial release