Skip to content

Releases: talamaska/angular-radial-color-picker

3.0.1

04 Dec 16:16
Compare
Choose a tag to compare

fix: Add default width when generating conic gradient
chore: Add community docs and update contribution guide

3.0.0

30 Nov 16:39
Compare
Choose a tag to compare

Features

  • Add module build system and support module bundlers like Webpack and Rollup (d09ed61).
  • Add support for keyboard usage (cee1625)
  • Add support for mouse wheel and dblclick events (9566e40, f332eda).
  • Add support for detecting color changes on picker rotation (49ca2b6).
  • Add support for percentage based sizing of the color picker (454dc50).

Performance improvements

  • Use a heavily optimized version of Propeller which significantly reduces jank on rotation (d09ed61).
  • Use passive event listeners wherever possible. See MDN docs for more info.
  • Generate conic-gradient on run-time with a modified version of CSS conic-gradient() polyfill (ee85562).
  • Remove unused DOM ref of the rotator (316709f).
  • Use named function declarations instead of anonymous callbacks (5316d78).

Bug fixes

  • Prevent picker rotation when the picker is closed (49ca2b6).
  • Fix a bug when clicking the color selector button 3 times in a row caused a semi-closed state of the picker.
  • Inline image to prevent late appearance of the conic-gradient (bba1bbb).
  • Use lower values of z-index to minimize "layer-stealing" where color picker is above other DOM elements (7ea1ba4).
  • Remove Firefox custom focus ring (7ea1ba4).

Other

  • Move angular to peerDependencies and reduce number of devDependencies which significantly speeds up the npm install (d09ed61).
  • Lock dependencies versions with a package-lock.json file (e58de05).
  • Update JSDoc and move them to the component/service/directive definitions to reduce clutter (6940bb6, 7aab98c).
  • Clean up unused config files (24f70b5).
  • Ignore build artifacts for npm publish (fca42f3).

A Note from the author

Huge thanks to @rkunev who is taking care of updating the initial version of my component and making it better.

2.1.0

30 Nov 16:42
Compare
Choose a tag to compare
  • fix(colorPicker): Fix init logic in [email protected] and lower
  • fix(rotator): Don't prevent dragging while mouse is over color selector

2.0.2

30 Nov 16:43
Compare
Choose a tag to compare
  • docs: Fix npm install command
  • docs: Remove bower

2.0.1

30 Nov 16:44
Compare
Choose a tag to compare
  • fix(colorPicker): Add stricter check for initial color

2.0.0

30 Nov 16:45
Compare
Choose a tag to compare
  • feat: Component rewrite

    List of changes:

    • Handle knob dragging with 3rd party plugin (Propeller)
    • Replace canvas in favour of a pre-generated image
    • Refactor animations to allow easier toggling
    • Rewrite main directive as Angular 1.5 component
    • Add support for configuring the component
    • Add event-driven API exposing the component life-cycle hooks
    • Extend service with extra color model conversions
    • Add code documentation and README file
    • New build system via npm scripts
    • Prepare package for npm publishing
  • docs: Add links to demos and npm

  • docs(readme): Fix md link styles