Update demo page index
Decided to maintain API docs at README just to make it easier.
Make it possible to fix floats
Disable cyclic updates from input extras
This probably needs a nicer solution.
Make sure hsl picker init color is in the right colorspace
Make sure rgb init color is in the right colorspace
Remove rounding from fields
This removes some numerical inaccuracy. Alternatively we could try to stash the
actual values otherwise and show the rounded one to the user.
Simplify extras.fields API
Add support for CMYK fields
Replace color.js with one.color
Still need to make one.color AMD compatible and test a bit.
Add example of update()
Added a better example of it to index while at it.
Tidy up index
Fetch drag.js from npm as well
Add color.js as a dep to the project
Move scale fix to a separate directory
Set up initial package.json
Remove redundant file
Fix 1 - issue at HSL picker
The lightness axis should be inverted
Add a note
Trigger change at set only if color was changed
This is still a bit glitchy due to the underlying color lib. It does not return
the same hex always on the given hex! This might work better with other color
Make hsl extras work ok
Initial implementation of hsl widget
Still need to tweak extras to support this.
Add missing 1 - to rgb picker
Remove rgbjoe module
Implement fields extra
Implement hex extra
Implement currentColor extra
Added some scaffolding for the extra system as well. The idea is that extras
may be used to extend the basic widgets.
Revamp the core
This change makes it easier to implement new picker types. Currently just the
basic one works. Still need to restore RGB picker, implement HSL one and update
Make fixed positioning work ok
There still might be some corner cases left to fix (IE?).
Remove rounding and border from 2d box
This seems to cause issues in certain browsers (Opera, FF) so probably better