@uiw/react-color-sketch
Advanced tools
Comparing version 0.0.8 to 0.0.9
import React from 'react'; | ||
import { HsvaColor, HslaColor, HsvColor, RgbaColor } from '@uiw/color-convert'; | ||
/** | ||
* ```js | ||
* hex: "#d98877" | ||
* hsl: { h: 10.402, s: 0.563, l: 0.658, a: 1 } | ||
* hsv: { h: 10.402, s: 0.451, v: 0.850, a: 1 } | ||
* rgb: { r: 217, g: 136, b: 119, a: 1 } | ||
* ``` | ||
*/ | ||
interface ColorResult { | ||
hex: string; | ||
hsl: HslaColor; | ||
hsv: HsvColor; | ||
rgb: RgbaColor; | ||
} | ||
export declare type PresetColor = { | ||
color: string; | ||
title: string; | ||
} | string; | ||
import { HsvaColor, ColorResult } from '@uiw/color-convert'; | ||
import { PresetColor } from './Swatch'; | ||
export interface SketchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> { | ||
@@ -22,0 +5,0 @@ prefixCls?: string; |
@@ -82,8 +82,3 @@ "use strict"; | ||
setHsva(hsv); | ||
onChange && onChange({ | ||
hex: (0, _colorConvert.hsvaToHex)(hsv), | ||
hsl: (0, _colorConvert.hsvaToHsla)(hsv), | ||
hsv: hsv, | ||
rgb: (0, _colorConvert.hsvaToRgba)(hsv) | ||
}); | ||
onChange && onChange((0, _colorConvert.color)(hsv)); | ||
}, [hsva]); | ||
@@ -188,2 +183,2 @@ return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, other, { | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiQmFyIiwicHJvcHMiLCJib3hTaGFkb3ciLCJ3aWR0aCIsInRvcCIsImJvdHRvbSIsImxlZnQiLCJib3JkZXJSYWRpdXMiLCJwb3NpdGlvbiIsImJhY2tncm91bmRDb2xvciIsIlJlYWN0IiwiZm9yd2FyZFJlZiIsInJlZiIsInByZW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veFNoYWRvdzogJ3JnYigwIDAgMCAvIDE1JSkgMHB4IDBweCAwcHggMXB4LCByZ2IoMCAwIDAgLyAxNSUpIDBweCA4cHggMTZweCcsXG4gICAgICAgIHdpZHRoLFxuICAgICAgICAuLi5zdHlsZSxcbiAgICAgIH19XG4gICAgPlxuICAgICAgPGRpdiBzdHlsZT17eyBwYWRkaW5nOiAxMCB9fT5cbiAgICAgICAgPFNhdHVyYXRpb25cbiAgICAgICAgICBoc3ZhPXtoc3ZhfVxuICAgICAgICAgIHN0eWxlPXt7IHdpZHRoOiAnYXV0bycsIGhlaWdodDogMTUwIH19XG4gICAgICAgICAgb25DaGFuZ2U9eyhuZXdDb2xvcikgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3Q29sb3IsIGE6IGhzdmEuYSB9KX1cbiAgICAgICAgLz5cbiAgICAgICAgPGRpdiBzdHlsZT17eyBkaXNwbGF5OiAnZmxleCcsIG1hcmdpblRvcDogNCB9fT5cbiAgICAgICAgICA8ZGl2IHN0eWxlPXt7IGZsZXg6IDEgfX0+XG4gICAgICAgICAgICA8SHVlXG4gICAgICAgICAgICAgIHdpZHRoPVwiYXV0b1wiXG4gICAgICAgICAgICAgIGhlaWdodD17MTB9XG4gICAgICAgICAgICAgIGh1ZT17aHN2YS5ofVxuICAgICAgICAgICAgICBwb2ludGVyPXtCYXJ9XG4gICAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgICBzdHlsZTogeyBtYXJnaW5MZWZ0OiAxLCBtYXJnaW5SaWdodDogNSB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBvbkNoYW5nZT17KG5ld0h1ZSkgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3SHVlIH0pfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxBbHBoYVxuICAgICAgICAgICAgICB3aWR0aD1cImF1dG9cIlxuICAgICAgICAgICAgICBoZWlnaHQ9ezEwfVxuICAgICAgICAgICAgICBoc3ZhPXtoc3ZhfVxuICAgICAgICAgICAgICBwb2ludGVyPXtCYXJ9XG4gICAgICAgICAgICAgIHN0eWxlPXt7IG1hcmdpblRvcDogNCB9fVxuICAgICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgICAgc3R5bGU6IHsgbWFyZ2luTGVmdDogMSwgbWFyZ2luUmlnaHQ6IDUgfSxcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgb25DaGFuZ2U9eyhuZXdBbHBoYSkgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3QWxwaGEgfSl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDxBbHBoYVxuICAgICAgICAgICAgd2lkdGg9ezI0fVxuICAgICAgICAgICAgaGVpZ2h0PXsyNH1cbiAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICByYWRpdXM9ezJ9XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICBtYXJnaW5MZWZ0OiA0LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIGJnUHJvcHM9e3sgc3R5bGU6IHsgYmFja2dyb3VuZDogJ3RyYW5zcGFyZW50JyB9IH19XG4gICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgIHN0eWxlOiB7XG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiAyLFxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGhzdmFUb1JnYmFTdHJpbmcoaHN2YSksXG4gICAgICAgICAgICAgICAgYm94U2hhZG93OiAncmdiKDAgMCAwIC8gMTUlKSAwcHggMHB4IDBweCAxcHggaW5zZXQsIHJnYigwIDAgMCAvIDI1JSkgMHB4IDBweCA0cHggaW5zZXQnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfX1cbiAgICAg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AgICAgICAgICBvbkNoYW5nZT17KG5ld0NvbG9yKSA9PiBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdDb2xvciwgYTogaHN2YS5hIH0pfVxuICAgICAgICAvPlxuICAgICAgICA8ZGl2IHN0eWxlPXt7IGRpc3BsYXk6ICdmbGV4JywgbWFyZ2luVG9wOiA0IH19PlxuICAgICAgICAgIDxkaXYgc3R5bGU9e3sgZmxleDogMSB9fT5cbiAgICAgICAgICAgIDxIdWVcbiAgICAgICAgICAgICAgd2lkdGg9XCJhdXRvXCJcbiAgICAgICAgICAgICAgaGVpZ2h0PXsxMH1cbiAgICAgICAgICAgICAgaHVlPXtoc3ZhLmh9XG4gICAgICAgICAgICAgIHBvaW50ZXI9e0Jhcn1cbiAgICAgICAgICAgICAgaW5uZXJQcm9wcz17e1xuICAgICAgICAgICAgICAgIHN0eWxlOiB7IG1hcmdpbkxlZnQ6IDEsIG1hcmdpblJpZ2h0OiA1IH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXsobmV3SHVlKSA9PiBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdIdWUgfSl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICAgIHdpZHRoPVwiYXV0b1wiXG4gICAgICAgICAgICAgIGhlaWdodD17MTB9XG4gICAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICAgIHBvaW50ZXI9e0Jhcn1cbiAgICAgICAgICAgICAgc3R5bGU9e3sgbWFyZ2luVG9wOiA0IH19XG4gICAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgICBzdHlsZTogeyBtYXJnaW5MZWZ0OiAxLCBtYXJnaW5SaWdodDogNSB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBvbkNoYW5nZT17KG5ld0FscGhhKSA9PiBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdBbHBoYSB9KX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICB3aWR0aD17MjR9XG4gICAgICAgICAgICBoZWlnaHQ9ezI0fVxuICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgIHJhZGl1cz17Mn1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDQsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYmdQcm9wcz17eyBzdHlsZTogeyBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnIH0gfX1cbiAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogaHN2YVRvUmdiYVN0cmluZyhoc3ZhKSxcbiAgICAgICAgICAgICAgICBib3hTaGFkb3c6ICdyZ2IoMCAwIDAgLyAxNSUpIDBweCAwcHggMHB4IDFweCBpbnNldCwgcmdiKDAgMCAwIC8gMjUlKSAwcHggMHB4IDRweCBpbnNldCcsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgcG9pbnRlcj17KCkgPT4gPEZyYWdtZW50IC8+fVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8U3dhdGNoIGNvbG9ycz17cHJlc2V0Q29sb3JzfSBjb2xvcj17aHN2YVRvSGV4KGhzdmEpfSBvbkNsaWNrPXsoaHN2YSkgPT4gaGFuZGxlQ2hhbmdlKGhzdmEpfSAvPlxuICAgIDwvZGl2PlxuICApO1xufSk7XG4iXX0= |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
color: string; | ||
title: string; | ||
title?: string; | ||
} | string; | ||
@@ -8,0 +8,0 @@ export interface SwatchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'color'> { |
@@ -75,2 +75,2 @@ "use strict"; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Td2F0Y2gudHN4Il0sIm5hbWVzIjpbIlBSRVNFVF9DT0xPUlMiLCJTd2F0Y2giLCJwcm9wcyIsImNvbG9ycyIsIm9uQ2xpY2siLCJyZWN0U3R5bGUiLCJiYWNrZ3JvdW5kIiwiaGVpZ2h0Iiwid2lkdGgiLCJtYXJnaW5SaWdodCIsIm1hcmdpbkJvdHRvbSIsImN1cnNvciIsInBvc2l0aW9uIiwib3V0bGluZSIsImJvcmRlclJhZGl1cyIsImJveFNoYWRvdyIsImhhbmRsZUNsaWNrIiwiaGV4IiwicGFkZGluZ0xlZnQiLCJwYWRkaW5nVG9wIiwiZGlzcGxheSIsImZsZXhXcmFwIiwiYm9yZGVyVG9wIiwiQXJyYXkiLCJpc0FycmF5IiwibWFwIiwiaXRlbSIsImlkeCIsInRpdGxlIiwiY29sb3IiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBU0EsSUFBTUEsYUFBYSxHQUFHLENBQ3BCLFNBRG9CLEVBRXBCLFNBRm9CLEVBR3BCLFNBSG9CLEVBSXBCLFNBSm9CLEVBS3BCLFNBTG9CLEVBTXBCLFNBTm9CLEVBT3BCLFNBUG9CLEVBUXBCLFNBUm9CLEVBU3BCLFNBVG9CLEVBVXBCLFNBVm9CLEVBV3BCLFNBWG9CLEVBWXBCLFNBWm9CLEVBYXBCLFNBYm9CLEVBY3BCLFNBZG9CLEVBZXBCLFNBZm9CLENBQXRCOztBQWtCZSxTQUFTQyxNQUFULENBQWdCQyxLQUFoQixFQUFvQztBQUNqRCxzQkFBNENBLEtBQTVDL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3I7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kID0gaXRlbS5jb2xvcjtcbiAgICAgICAgICB9XG4gICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgdGFiSW5kZXg9ezB9XG4gICAgICAgICAgICAgIGtleT17aWR4fVxuICAgICAgICAgICAgICB0aXRsZT17dGl0bGV9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IGhhbmRsZUNsaWNrKGJhY2tncm91bmQpfVxuICAgICAgICAgICAgICBzdHlsZT17eyAuLi5yZWN0U3R5bGUsIGJhY2tncm91bmQgfX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgKTtcbiAgICAgICAgfSl9XG4gICAgPC9kaXY+XG4gICk7XG59XG4iXX0= |
import React from 'react'; | ||
import { HsvaColor, HslaColor, HsvColor, RgbaColor } from '@uiw/color-convert'; | ||
/** | ||
* ```js | ||
* hex: "#d98877" | ||
* hsl: { h: 10.402, s: 0.563, l: 0.658, a: 1 } | ||
* hsv: { h: 10.402, s: 0.451, v: 0.850, a: 1 } | ||
* rgb: { r: 217, g: 136, b: 119, a: 1 } | ||
* ``` | ||
*/ | ||
interface ColorResult { | ||
hex: string; | ||
hsl: HslaColor; | ||
hsv: HsvColor; | ||
rgb: RgbaColor; | ||
} | ||
export declare type PresetColor = { | ||
color: string; | ||
title: string; | ||
} | string; | ||
import { HsvaColor, ColorResult } from '@uiw/color-convert'; | ||
import { PresetColor } from './Swatch'; | ||
export interface SketchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> { | ||
@@ -22,0 +5,0 @@ prefixCls?: string; |
@@ -11,13 +11,5 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import Hue from '@uiw/react-color-hue'; | ||
import { validHex, hsvaToHsla, hsvaToHex, hsvaToRgba, hsvaToRgbaString, hexToHsva } from '@uiw/color-convert'; | ||
import { validHex, hsvaToHex, hsvaToRgbaString, hexToHsva, color as handleColor } from '@uiw/color-convert'; | ||
import Swatch from './Swatch'; | ||
import { useEffect } from 'react'; | ||
/** | ||
* ```js | ||
* hex: "#d98877" | ||
* hsl: { h: 10.402, s: 0.563, l: 0.658, a: 1 } | ||
* hsv: { h: 10.402, s: 0.451, v: 0.850, a: 1 } | ||
* rgb: { r: 217, g: 136, b: 119, a: 1 } | ||
* ``` | ||
*/ | ||
@@ -70,8 +62,3 @@ var Bar = function Bar(props) { | ||
setHsva(hsv); | ||
onChange && onChange({ | ||
hex: hsvaToHex(hsv), | ||
hsl: hsvaToHsla(hsv), | ||
hsv: hsv, | ||
rgb: hsvaToRgba(hsv) | ||
}); | ||
onChange && onChange(handleColor(hsv)); | ||
}, [hsva]); | ||
@@ -173,2 +160,2 @@ return /*#__PURE__*/React.createElement("div", _extends({}, other, { | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VTdGF0ZSIsInVzZUNhbGxiYWNrIiwiRnJhZ21lbnQiLCJTYXR1cmF0aW9uIiwiQWxwaGEiLCJIdWUiLCJ2YWxpZEhleCIsImhzdmFUb0hzbGEiLCJoc3ZhVG9IZXgiLCJoc3ZhVG9SZ2JhIiwiaHN2YVRvUmdiYVN0cmluZyIsImhleFRvSHN2YSIsIlN3YXRjaCIsInVzZUVmZmVjdCIsIkJhciIsInByb3BzIiwiYm94U2hhZG93Iiwid2lkdGgiLCJ0b3AiLCJib3R0b20iLCJsZWZ0IiwiYm9yZGVyUmFkaXVzIiwicG9zaXRpb24iLCJiYWNrZ3JvdW5kQ29sb3IiLCJmb3J3YXJkUmVmIiwicmVmIiwicHJlZml4Q2xzIiwiY2xhc3NOYW1lIiwib25DaGFuZ2UiLCJwcmVzZXRDb2xvcnMiLCJjb2xvciIsInN0eWxlIiwib3RoZXIiLCJoIiwicyIsInYiLCJhIiwia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Z2h0PXsxMH1cbiAgICAgICAgICAgICAgaHVlPXtoc3ZhLmh9XG4gICAgICAgICAgICAgIHBvaW50ZXI9e0Jhcn1cbiAgICAgICAgICAgICAgaW5uZXJQcm9wcz17e1xuICAgICAgICAgICAgICAgIHN0eWxlOiB7IG1hcmdpbkxlZnQ6IDEsIG1hcmdpblJpZ2h0OiA1IH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXsobmV3SHVlKSA9PiBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdIdWUgfSl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICAgIHdpZHRoPVwiYXV0b1wiXG4gICAgICAgICAgICAgIGhlaWdodD17MTB9XG4gICAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICAgIHBvaW50ZXI9e0Jhcn1cbiAgICAgICAgICAgICAgc3R5bGU9e3sgbWFyZ2luVG9wOiA0IH19XG4gICAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgICBzdHlsZTogeyBtYXJnaW5MZWZ0OiAxLCBtYXJnaW5SaWdodDogNSB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBvbkNoYW5nZT17KG5ld0FscGhhKSA9PiBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdBbHBoYSB9KX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICB3aWR0aD17MjR9XG4gICAgICAgICAgICBoZWlnaHQ9ezI0fVxuICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgIHJhZGl1cz17Mn1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDQsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYmdQcm9wcz17eyBzdHlsZTogeyBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnIH0gfX1cbiAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogaHN2YVRvUmdiYVN0cmluZyhoc3ZhKSxcbiAgICAgICAgICAgICAgICBib3hTaGFkb3c6ICdyZ2IoMCAwIDAgLyAxNSUpIDBweCAwcHggMHB4IDFweCBpbnNldCwgcmdiKDAgMCAwIC8gMjUlKSAwcHggMHB4IDRweCBpbnNldCcsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgcG9pbnRlcj17KCkgPT4gPEZyYWdtZW50IC8+fVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8U3dhdGNoIGNvbG9ycz17cHJlc2V0Q29sb3JzfSBjb2xvcj17aHN2YVRvSGV4KGhzdmEpfSBvbkNsaWNrPXsoaHN2YSkgPT4gaGFuZGxlQ2hhbmdlKGhzdmEpfSAvPlxuICAgIDwvZGl2PlxuICApO1xufSk7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VTdGF0ZSIsInVzZUNhbGxiYWNrIiwiRnJhZ21lbnQiLCJTYXR1cmF0aW9uIiwiQWxwaGEiLCJIdWUiLCJ2YWxpZEhleCIsImhzdmFUb0hleCIsImhzdmFUb1JnYmFTdHJpbmciLCJoZXhUb0hzdmEiLCJjb2xvciIsImhhbmRsZUNvbG9yIiwiU3dhdGNoIiwidXNlRWZmZWN0IiwiQmFyIiwicHJvcHMiLCJib3hTaGFkb3ciLCJ3aWR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GFuZ2U9eyhuZXdDb2xvcikgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3Q29sb3IsIGE6IGhzdmEuYSB9KX1cbiAgICAgICAgLz5cbiAgICAgICAgPGRpdiBzdHlsZT17eyBkaXNwbGF5OiAnZmxleCcsIG1hcmdpblRvcDogNCB9fT5cbiAgICAgICAgICA8ZGl2IHN0eWxlPXt7IGZsZXg6IDEgfX0+XG4gICAgICAgICAgICA8SHVlXG4gICAgICAgICAgICAgIHdpZHRoPVwiYXV0b1wiXG4gICAgICAgICAgICAgIGhlaWdodD17MTB9XG4gICAgICAgICAgICAgIGh1ZT17aHN2YS5ofVxuICAgICAgICAgICAgICBwb2ludGVyPXtCYXJ9XG4gICAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgICBzdHlsZTogeyBtYXJnaW5MZWZ0OiAxLCBtYXJnaW5SaWdodDogNSB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBvbkNoYW5nZT17KG5ld0h1ZSkgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3SHVlIH0pfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxBbHBoYVxuICAgICAgICAgICAgICB3aWR0aD1cImF1dG9cIlxuICAgICAgICAgICAgICBoZWlnaHQ9ezEwfVxuICAgICAgICAgICAgICBoc3ZhPXtoc3ZhfVxuICAgICAgICAgICAgICBwb2ludGVyPXtCYXJ9XG4gICAgICAgICAgICAgIHN0eWxlPXt7IG1hcmdpblRvcDogNCB9fVxuICAgICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgICAgc3R5bGU6IHsgbWFyZ2luTGVmdDogMSwgbWFyZ2luUmlnaHQ6IDUgfSxcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgb25DaGFuZ2U9eyhuZXdBbHBoYSkgPT4gaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ubmV3QWxwaGEgfSl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDxBbHBoYVxuICAgICAgICAgICAgd2lkdGg9ezI0fVxuICAgICAgICAgICAgaGVpZ2h0PXsyNH1cbiAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICByYWRpdXM9ezJ9XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICBtYXJnaW5MZWZ0OiA0LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIGJnUHJvcHM9e3sgc3R5bGU6IHsgYmFja2dyb3VuZDogJ3RyYW5zcGFyZW50JyB9IH19XG4gICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgIHN0eWxlOiB7XG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiAyLFxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGhzdmFUb1JnYmFTdHJpbmcoaHN2YSksXG4gICAgICAgICAgICAgICAgYm94U2hhZG93OiAncmdiKDAgMCAwIC8gMTUlKSAwcHggMHB4IDBweCAxcHggaW5zZXQsIHJnYigwIDAgMCAvIDI1JSkgMHB4IDBweCA0cHggaW5zZXQnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIHBvaW50ZXI9eygpID0+IDxGcmFnbWVudCAvPn1cbiAgICAgICAgICAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgICAgPFN3YXRjaCBjb2xvcnM9e3ByZXNldENvbG9yc30gY29sb3I9e2hzdmFUb0hleChoc3ZhKX0gb25DbGljaz17KGhzdmEpID0+IGhhbmRsZUNoYW5nZShoc3ZhKX0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
color: string; | ||
title: string; | ||
title?: string; | ||
} | string; | ||
@@ -8,0 +8,0 @@ export interface SwatchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'color'> { |
@@ -60,2 +60,2 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Td2F0Y2gudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwiaGV4VG9Ic3ZhIiwiUFJFU0VUX0NPTE9SUyIsIlN3YXRjaCIsInByb3BzIiwiY29sb3JzIiwib25DbGljayIsInJlY3RTdHlsZSIsImJhY2tncm91bmQiLCJoZWlnaHQiLCJ3aWR0aCIsIm1hcmdpblJpZ2h0IiwibWFyZ2luQm90dG9tIiwiY3Vyc29yIiwicG9zaXRpb24iLCJvdXRsaW5lIiwiYm9yZGVyUmFkaXVzIiwiYm94U2hhZG93IiwiaGFuZGxlQ2xpY2siLCJoZXgiLCJwYWRkaW5nTGVmdCIsInBhZGRpbmdUb3AiLCJkaXNwbGF5IiwiZmxleFdyYXAiLCJib3JkZXJUb3AiLCJBcnJheSIsImlzQXJyYXkiLCJtYXAiLCJpdGVtIiwiaWR4IiwidGl0bGUiLCJjb2xvciJdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU9BLEtBQVAsTUFBa0IsT0FBbEI7QUFDQSxTQUFvQkMsU0FBcEIsUUFBcUMsb0JBQXJDO0FBU0EsSUFBTUMsYUFBYSxHQUFHLENBQ3BCLFNBRG9CLEVBRXBCLFNBRm9CLEVBR3BCLFNBSG9CLEVBSXBCLFNBSm9CLEVBS3BCLFNBTG9CLEVBTXBCLFNBTm9CLEVBT3BCLFNBUG9CLEVBUXBCLFNBUm9CLEVBU3BCLFNBVG9CLEVBVXBCLFNBVm9CLEVBV3BCLFNBWG9CLEVBWXBCLFNBWm9CLEVBYXBCLFNBYm9CLEVBY3BCLFNBZG9CLEVBZXBCLFNBZm9CLENBQXRCO0FBa0JBLGVBQWUs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ICB9XG4gICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgdGFiSW5kZXg9ezB9XG4gICAgICAgICAgICAgIGtleT17aWR4fVxuICAgICAgICAgICAgICB0aXRsZT17dGl0bGV9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IGhhbmRsZUNsaWNrKGJhY2tncm91bmQpfVxuICAgICAgICAgICAgICBzdHlsZT17eyAuLi5yZWN0U3R5bGUsIGJhY2tncm91bmQgfX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgKTtcbiAgICAgICAgfSl9XG4gICAgPC9kaXY+XG4gICk7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Td2F0Y2gudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwiaGV4VG9Ic3ZhIiwiUFJFU0VUX0NPTE9SUyIsIlN3YXRjaCIsInByb3BzIiwiY29sb3JzIiwib25DbGljayIsInJlY3RTdHlsZSIsImJhY2tncm91bmQiLCJoZWlnaHQiLCJ3aWR0aCIsIm1hcmdpblJpZ2h0IiwibWFyZ2luQm90dG9tIiwiY3Vyc29yIiwicG9zaXRpb24iLCJvdXRsaW5lIiwiYm9yZGVyUmFkaXVzIiwiYm94U2hhZG93IiwiaGFuZGxlQ2xpY2siLCJoZXgiLCJwYWRkaW5nTGVmdCIsInBhZGRpbmdUb3AiLCJkaXNwbGF5IiwiZmxleFdyYXAiLCJib3JkZXJUb3AiLCJBcnJheSIsImlzQXJyYXkiLCJtYXAiLCJpdGVtIiwiaWR4IiwidGl0bGUiLCJjb2xvciJdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU9BLEtBQVAsTUFBa0IsT0FBbEI7QUFDQSxTQUFvQkMsU0FBcEIsUUFBcUMsb0JBQXJDO0FBU0EsSUFBTUMsYUFBYSxHQUFHLENBQ3BCLFNBRG9CLE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Anc3RyaW5nJykge1xuICAgICAgICAgICAgdGl0bGUgPSBpdGVtO1xuICAgICAgICAgICAgYmFja2dyb3VuZCA9IGl0ZW07XG4gICAgICAgICAgfSBlbHNlIGlmIChpdGVtICYmIGl0ZW0uY29sb3IpIHtcbiAgICAgICAgICAgIHRpdGxlID0gaXRlbS50aXRsZSB8fCBpdGVtLmNvbG9yO1xuICAgICAgICAgICAgYmFja2dyb3VuZCA9IGl0ZW0uY29sb3I7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIHRhYkluZGV4PXswfVxuICAgICAgICAgICAgICBrZXk9e2lkeH1cbiAgICAgICAgICAgICAgdGl0bGU9e3RpdGxlfVxuICAgICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiBoYW5kbGVDbGljayhiYWNrZ3JvdW5kKX1cbiAgICAgICAgICAgICAgc3R5bGU9e3sgLi4ucmVjdFN0eWxlLCBiYWNrZ3JvdW5kIH19XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgIDwvZGl2PlxuICApO1xufVxuIl19 |
{ | ||
"name": "@uiw/react-color-sketch", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Color Sketch component for React.", | ||
@@ -32,6 +32,6 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"@babel/runtime": "7.14.6", | ||
"@uiw/color-convert": "^0.0.8", | ||
"@uiw/react-color-alpha": "^0.0.8", | ||
"@uiw/react-color-hue": "^0.0.8", | ||
"@uiw/react-color-saturation": "^0.0.8" | ||
"@uiw/color-convert": "^0.0.9", | ||
"@uiw/react-color-alpha": "^0.0.9", | ||
"@uiw/react-color-hue": "^0.0.9", | ||
"@uiw/react-color-saturation": "^0.0.9" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56740
678
+ Added@uiw/color-convert@0.0.9(transitive)
+ Added@uiw/react-color-alpha@0.0.9(transitive)
+ Added@uiw/react-color-hue@0.0.9(transitive)
+ Added@uiw/react-color-saturation@0.0.9(transitive)
+ Added@uiw/react-drag-event-interactive@0.0.9(transitive)
- Removed@uiw/color-convert@0.0.8(transitive)
- Removed@uiw/react-color-alpha@0.0.8(transitive)
- Removed@uiw/react-color-hue@0.0.8(transitive)
- Removed@uiw/react-color-saturation@0.0.8(transitive)
- Removed@uiw/react-drag-event-interactive@0.0.8(transitive)
Updated@uiw/color-convert@^0.0.9
Updated@uiw/react-color-hue@^0.0.9