Releases: talamaska/angular-radial-color-picker
Releases · talamaska/angular-radial-color-picker
3.0.1
3.0.0
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
anddblclick
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
topeerDependencies
and reduce number ofdevDependencies
which significantly speeds up thenpm 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
- 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
2.0.1
2.0.0
-
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