@radial-color-picker/color-wheel
Advanced tools
Comparing version 2.2.2 to 2.2.3
/** | ||
* radial-color-picker/color-wheel v2.2.2 | ||
* radial-color-picker/color-wheel v2.2.3 | ||
* | ||
@@ -4,0 +4,0 @@ * https://github.com/radial-color-picker/color-wheel |
/** | ||
* radial-color-picker/color-wheel v2.2.2 | ||
* radial-color-picker/color-wheel v2.2.3 | ||
* | ||
@@ -4,0 +4,0 @@ * https://github.com/radial-color-picker/color-wheel |
/** | ||
* radial-color-picker/color-wheel v2.2.2 | ||
* radial-color-picker/color-wheel v2.2.3 | ||
* | ||
@@ -12,3 +12,3 @@ * https://github.com/radial-color-picker/color-wheel | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global = global || self, global.colorWheel = factory()); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.colorWheel = factory()); | ||
}(this, (function () { 'use strict'; | ||
@@ -15,0 +15,0 @@ |
/** | ||
* radial-color-picker/color-wheel v2.2.2 | ||
* radial-color-picker/color-wheel v2.2.3 | ||
* | ||
@@ -9,2 +9,2 @@ * https://github.com/radial-color-picker/color-wheel | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).colorWheel=e()}(this,(function(){"use strict";return function(t,e){const n=e/2,o=Math.sqrt(2)*n,i=Math.PI/180,f=2*Math.PI;t.width=t.height=e;const l=t.getContext("2d"),a=.5*i+.02;l.translate(n,n),l.rotate(-Math.PI/2),l.translate(-n,-n);for(let t=0;t<360;t+=.5){l.fillStyle="hsl("+t+", 100%, 50%)",l.beginPath(),l.moveTo(n,n);const e=t*i,r=Math.min(f,e+a);l.arc(n,n,o,e,r),l.closePath(),l.fill()}return t}})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).colorWheel=e()}(this,(function(){"use strict";return function(t,e){const o=e/2,n=Math.sqrt(2)*o,i=Math.PI/180,l=2*Math.PI;t.width=t.height=e;const f=t.getContext("2d"),a=.5*i+.02;f.translate(o,o),f.rotate(-Math.PI/2),f.translate(-o,-o);for(let t=0;t<360;t+=.5){f.fillStyle="hsl("+t+", 100%, 50%)",f.beginPath(),f.moveTo(o,o);const e=t*i,s=Math.min(l,e+a);f.arc(o,o,n,e,s),f.closePath(),f.fill()}return t}})); |
{ | ||
"name": "@radial-color-picker/color-wheel", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Minimal, framework-agnostic companion plugin for managing the color wheel of the Radial Color Picker.", | ||
@@ -20,11 +20,11 @@ "main": "dist/color-wheel.cjs.js", | ||
"devDependencies": { | ||
"@babel/core": "7.9.6", | ||
"@babel/preset-env": "7.9.6", | ||
"babel-jest": "26.0.1", | ||
"@babel/core": "7.12.10", | ||
"@babel/preset-env": "7.12.10", | ||
"babel-jest": "26.6.3", | ||
"canvas": "2.6.1", | ||
"jest": "26.0.1", | ||
"prettier": "2.0.5", | ||
"rollup": "2.8.2", | ||
"jest": "26.6.3", | ||
"prettier": "2.2.1", | ||
"rollup": "2.34.2", | ||
"rollup-plugin-babel": "4.4.0", | ||
"rollup-plugin-terser": "5.3.0" | ||
"rollup-plugin-terser": "7.0.2" | ||
}, | ||
@@ -31,0 +31,0 @@ "repository": "git@github.com:radial-color-picker/color-wheel.git", |
10237