@uiw/react-color-sketch
Advanced tools
Comparing version 0.0.16 to 0.0.17
import React from 'react'; | ||
import { HsvaColor, ColorResult } from '@uiw/color-convert'; | ||
import { PresetColor } from './Swatch'; | ||
import { SwatchPresetColor } from '@uiw/react-color-swatch'; | ||
export interface SketchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> { | ||
@@ -8,3 +8,3 @@ prefixCls?: string; | ||
color?: string | HsvaColor; | ||
presetColors?: false | PresetColor[]; | ||
presetColors?: false | SwatchPresetColor[]; | ||
editableDisable?: boolean; | ||
@@ -11,0 +11,0 @@ onChange?: (newShade: ColorResult) => void; |
@@ -36,3 +36,3 @@ "use strict"; | ||
var _Swatch = _interopRequireDefault(require("./Swatch")); | ||
var _reactColorSwatch = _interopRequireDefault(require("@uiw/react-color-swatch")); | ||
@@ -213,7 +213,23 @@ var _excluded = ["prefixCls", "className", "onChange", "width", "presetColors", "color", "editableDisable", "style"]; | ||
} | ||
})), presetColors && presetColors.length > 0 && /*#__PURE__*/_react.default.createElement(_Swatch.default, { | ||
})), presetColors && presetColors.length > 0 && /*#__PURE__*/_react.default.createElement(_reactColorSwatch.default, { | ||
style: { | ||
borderTop: '1px solid rgb(238, 238, 238)', | ||
paddingTop: 10, | ||
paddingLeft: 10 | ||
}, | ||
colors: presetColors, | ||
color: (0, _colorConvert.hsvaToHex)(hsva), | ||
onClick: function onClick(hsva) { | ||
return handleChange(hsva); | ||
onChange: function onChange(hsvColor) { | ||
return handleChange(hsvColor); | ||
}, | ||
rectProps: { | ||
style: { | ||
marginRight: 10, | ||
marginBottom: 10, | ||
borderRadius: 3, | ||
boxShadow: 'rgb(0 0 0 / 15%) 0px 0px 0px 1px inset' // display: 'flex', | ||
// alignItems: 'center', | ||
// justifyContent: 'center', | ||
} | ||
} | ||
@@ -225,2 +241,2 @@ })); | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpb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CJcbiAgICAgICAgICAgICAgaGVpZ2h0PXsxMH1cbiAgICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgICAgcG9pbnRlcj17QmFyfVxuICAgICAgICAgICAgICBzdHlsZT17eyBtYXJnaW5Ub3A6IDQgfX1cbiAgICAgICAgICAgICAgaW5uZXJQcm9wcz17e1xuICAgICAgICAgICAgICAgIHN0eWxlOiB7IG1hcmdpbkxlZnQ6IDEsIG1hcmdpblJpZ2h0OiA1IH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXsobmV3QWxwaGEpID0+IHtcbiAgICAgICAgICAgICAgICBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi57IGE6IG5ld0FscGhhLmEgfSB9KTtcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICB3aWR0aD17MjR9XG4gICAgICAgICAgICBoZWlnaHQ9ezI0fVxuICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgIHJhZGl1cz17Mn1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDQsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYmdQcm9wcz17eyBzdHlsZTogeyBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnIH0gfX1cbiAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogaHN2YVRvUmdiYVN0cmluZyhoc3ZhKSxcbiAgICAgICAgICAgICAgICBib3hTaGFkb3c6ICdyZ2IoMCAwIDAgLyAxNSUpIDBweCAwcHggMHB4IDFweCBpbnNldCwgcmdiKDAgMCAwIC8gMjUlKSAwcHggMHB4IDRweCBpbnNldCcsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgcG9pbnRlcj17KCkgPT4gPEZyYWdtZW50IC8+fVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICB7ZWRpdGFibGVEaXNhYmxlICYmIChcbiAgICAgICAgPGRpdiBzdHlsZT17eyBkaXNwbGF5OiAnZmxleCcsIG1hcmdpbjogJzAgMTBweCAzcHggMTBweCcgfX0+XG4gICAgICAgICAgPEVkaXRhYmxlSW5wdXRcbiAgICAgICAgICAgIGxhYmVsPVwiSGV4XCJcbiAgICAgICAgICAgIHZhbHVlPXtoc3ZhVG9IZXgoaHN2YSkucmVwbGFjZSgvXiMvLCAnJykudG9Mb2NhbGVVcHBlckNhc2UoKX1cbiAgICAgICAgICAgIG9uQ2hhbmdlPXsoZXZuLCB2YWwpID0+IGhhbmRsZUhleCh2YWwsIGV2bil9XG4gICAgICAgICAgICBzdHlsZT17eyBtaW5XaWR0aDogNTggfX1cbiAgICAgICAgICAvPlxuICAgICAgICAgIDxSR0JBIGhzdmE9e2hzdmF9IHN0eWxlPXt7IG1hcmdpbkxlZnQ6IDYgfX0gb25DaGFuZ2U9eyhyZXN1bHQpID0+IGhhbmRsZUNoYW5nZShyZXN1bHQuaHN2YSl9IC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgKX1cbiAgICAgIHtwcmVzZXRDb2xvcnMgJiYgcHJlc2V0Q29sb3JzLmxlbmd0aCA+IDAgJiYgKFxuICAgICAgICA8U3dhdGNoIGNvbG9ycz17cHJlc2V0Q29sb3JzfSBjb2xvcj17aHN2YVRvSGV4KGhzdmEpfSBvbkNsaWNrPXsoaHN2YSkgPT4gaGFuZGxlQ2hhbmdlKGhzdmEpfSAvPlxuICAgICAgKX1cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 | ||
//# sourceMappingURL=data:application/json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A6IDQgfX0+XG4gICAgICAgICAgPGRpdiBzdHlsZT17eyBmbGV4OiAxIH19PlxuICAgICAgICAgICAgPEh1ZVxuICAgICAgICAgICAgICB3aWR0aD1cImF1dG9cIlxuICAgICAgICAgICAgICBoZWlnaHQ9ezEwfVxuICAgICAgICAgICAgICBodWU9e2hzdmEuaH1cbiAgICAgICAgICAgICAgcG9pbnRlcj17QmFyfVxuICAgICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgICAgc3R5bGU6IHsgbWFyZ2luTGVmdDogMSwgbWFyZ2luUmlnaHQ6IDUgfSxcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgb25DaGFuZ2U9eyhuZXdIdWUpID0+IGhhbmRsZUNoYW5nZSh7IC4uLmhzdmEsIC4uLm5ld0h1ZSB9KX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8QWxwaGFcbiAgICAgICAgICAgICAgd2lkdGg9XCJhdXRvXCJcbiAgICAgICAgICAgICAgaGVpZ2h0PXsxMH1cbiAgICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgICAgcG9pbnRlcj17QmFyfVxuICAgICAgICAgICAgICBzdHlsZT17eyBtYXJnaW5Ub3A6IDQgfX1cbiAgICAgICAgICAgICAgaW5uZXJQcm9wcz17e1xuICAgICAgICAgICAgICAgIHN0eWxlOiB7IG1hcmdpbkxlZnQ6IDEsIG1hcmdpblJpZ2h0OiA1IH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXsobmV3QWxwaGEpID0+IHtcbiAgICAgICAgICAgICAgICBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi57IGE6IG5ld0FscGhhLmEgfSB9KTtcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICB3aWR0aD17MjR9XG4gICAgICAgICAgICBoZWlnaHQ9ezI0fVxuICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgIHJhZGl1cz17Mn1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDQsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYmdQcm9wcz17eyBzdHlsZTogeyBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnIH0gfX1cbiAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogaHN2YVRvUmdiYVN0cmluZyhoc3ZhKSxcbiAgICAgICAgICAgICAgICBib3hTaGFkb3c6ICdyZ2IoMCAwIDAgLyAxNSUpIDBweCAwcHggMHB4IDFweCBpbnNldCwgcmdiKDAgMCAwIC8gMjUlKSAwcHggMHB4IDRweCBpbnNldCcsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgcG9pbnRlcj17KCkgPT4gPEZyYWdtZW50IC8+fVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICB7ZWRpdGFibGVEaXNhYmxlICYmIChcbiAgICAgICAgPGRpdiBzdHlsZT17eyBkaXNwbGF5OiAnZmxleCcsIG1hcmdpbjogJzAgMTBweCAzcHggMTBweCcgfX0+XG4gICAgICAgICAgPEVkaXRhYmxlSW5wdXRcbiAgICAgICAgICAgIGxhYmVsPVwiSGV4XCJcbiAgICAgICAgICAgIHZhbHVlPXtoc3ZhVG9IZXgoaHN2YSkucmVwbGFjZSgvXiMvLCAnJykudG9Mb2NhbGVVcHBlckNhc2UoKX1cbiAgICAgICAgICAgIG9uQ2hhbmdlPXsoZXZuLCB2YWwpID0+IGhhbmRsZUhleCh2YWwsIGV2bil9XG4gICAgICAgICAgICBzdHlsZT17eyBtaW5XaWR0aDogNTggfX1cbiAgICAgICAgICAvPlxuICAgICAgICAgIDxSR0JBIGhzdmE9e2hzdmF9IHN0eWxlPXt7IG1hcmdpbkxlZnQ6IDYgfX0gb25DaGFuZ2U9eyhyZXN1bHQpID0+IGhhbmRsZUNoYW5nZShyZXN1bHQuaHN2YSl9IC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgKX1cbiAgICAgIHtwcmVzZXRDb2xvcnMgJiYgcHJlc2V0Q29sb3JzLmxlbmd0aCA+IDAgJiYgKFxuICAgICAgICA8U3dhdGNoXG4gICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgIGJvcmRlclRvcDogJzFweCBzb2xpZCByZ2IoMjM4LCAyMzgsIDIzOCknLFxuICAgICAgICAgICAgcGFkZGluZ1RvcDogMTAsXG4gICAgICAgICAgICBwYWRkaW5nTGVmdDogMTAsXG4gICAgICAgICAgfX1cbiAgICAgICAgICBjb2xvcnM9e3ByZXNldENvbG9yc31cbiAgICAgICAgICBjb2xvcj17aHN2YVRvSGV4KGhzdmEpfVxuICAgICAgICAgIG9uQ2hhbmdlPXsoaHN2Q29sb3IpID0+IGhhbmRsZUNoYW5nZShoc3ZDb2xvcil9XG4gICAgICAgICAgcmVjdFByb3BzPXt7XG4gICAgICAgICAgICBzdHlsZToge1xuICAgICAgICAgICAgICBtYXJnaW5SaWdodDogMTAsXG4gICAgICAgICAgICAgIG1hcmdpbkJvdHRvbTogMTAsXG4gICAgICAgICAgICAgIGJvcmRlclJhZGl1czogMyxcbiAgICAgICAgICAgICAgYm94U2hhZG93OiAncmdiKDAgMCAwIC8gMTUlKSAwcHggMHB4IDBweCAxcHggaW5zZXQnLFxuICAgICAgICAgICAgICAvLyBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgICAgIC8vIGFsaWduSXRlbXM6ICdjZW50ZXInLFxuICAgICAgICAgICAgICAvLyBqdXN0aWZ5Q29udGVudDogJ2NlbnRlcicsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH19XG4gICAgICAgIC8+XG4gICAgICApfVxuICAgIDwvZGl2PlxuICApO1xufSk7XG4iXX0= |
import React from 'react'; | ||
import { HsvaColor, ColorResult } from '@uiw/color-convert'; | ||
import { PresetColor } from './Swatch'; | ||
import { SwatchPresetColor } from '@uiw/react-color-swatch'; | ||
export interface SketchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> { | ||
@@ -8,3 +8,3 @@ prefixCls?: string; | ||
color?: string | HsvaColor; | ||
presetColors?: false | PresetColor[]; | ||
presetColors?: false | SwatchPresetColor[]; | ||
editableDisable?: boolean; | ||
@@ -11,0 +11,0 @@ onChange?: (newShade: ColorResult) => void; |
@@ -14,3 +14,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import { validHex, hsvaToHex, hsvaToRgbaString, hexToHsva, color as handleColor } from '@uiw/color-convert'; | ||
import Swatch from './Swatch'; | ||
import Swatch from '@uiw/react-color-swatch'; | ||
import { useEffect } from 'react'; | ||
@@ -191,9 +191,25 @@ var PRESET_COLORS = ['#D0021B', '#F5A623', '#f8e61b', '#8B572A', '#7ED321', '#417505', '#BD10E0', '#9013FE', '#4A90E2', '#50E3C2', '#B8E986', '#000000', '#4A4A4A', '#9B9B9B', '#FFFFFF']; | ||
})), presetColors && presetColors.length > 0 && /*#__PURE__*/React.createElement(Swatch, { | ||
style: { | ||
borderTop: '1px solid rgb(238, 238, 238)', | ||
paddingTop: 10, | ||
paddingLeft: 10 | ||
}, | ||
colors: presetColors, | ||
color: hsvaToHex(hsva), | ||
onClick: function onClick(hsva) { | ||
return handleChange(hsva); | ||
onChange: function onChange(hsvColor) { | ||
return handleChange(hsvColor); | ||
}, | ||
rectProps: { | ||
style: { | ||
marginRight: 10, | ||
marginBottom: 10, | ||
borderRadius: 3, | ||
boxShadow: 'rgb(0 0 0 / 15%) 0px 0px 0px 1px inset' // display: 'flex', | ||
// alignItems: 'center', | ||
// justifyContent: 'center', | ||
} | ||
} | ||
})); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VTdGF0ZSIsInVzZUNhbGxiYWNrIiwiRnJhZ21lbnQiLCJTYXR1cmF0aW9uIiwiQWxwaGEiLCJFZGl0YWJsZUlucHV0IiwiUkdCQSIsIkh1ZSIsInZhbGlkSGV4IiwiaHN2YVRvSGV4IiwiaHN2YVRvUmdiYVN0cmluZyIsImhleFRvSHN2YSIsImNvbG9yIiwiaGFuZGxlQ29sb3IiLCJTd2F0Y2giLCJ1c2VFZmZlY3QiLCJQUkVTRVRfQ09MT1JTIiwiQmFyIiwicHJvcHMiLCJib3hTaGFkb3ciLCJ3aWR0aCIsInRvcCIsImJvdHRvbSIsImxlZnQiLCJib3JkZXJSYWRpdXMiLCJwb3NpdGlvbiIsImJhY2tncm91bmRDb2xvciIsImZvcndhcmRSZWYiLCJyZWYiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJvbkNoYW5nZSIsInByZXNldENvbG9ycyIsImVkaXRhYmxlRGlzYWJsZSIsInN0eWxlIiwib3RoZXIiLCJoIiwicyIsInYiLCJhIiwiaHN2YSIsInNldEhzdmEiLCJoYW5kbGVDaGFuZ2UiLCJoc3YiLCJoYW5kbGVIZXgiLCJ2YWx1ZSIsImV2biIsInRlc3QiLCJTdHJpbmciLCJsZW5ndGgiLCJiYWNrZ3JvdW5kIiwicGFkZGluZyIsImhlaWdodCIsIm5ld0NvbG9yIiwiZGlzcGxheSIsIm1hcmdpblRvcCIsImZsZXgiLCJtYXJnaW5MZWZ0IiwibWFyZ2luUmlnaHQiLCJuZXdIdWUiLCJuZXdBbHBoYSIsIm1hcmdpbiIsInJlcGxhY2UiLCJ0b0xvY2FsZVVwcGVyQ2FzZSIsInZhbCIsIm1pbldpZHRoIiwic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gICAgICAgICAgICAgIHN0eWxlOiB7IG1hcmdpbkxlZnQ6IDEsIG1hcmdpblJpZ2h0OiA1IH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXsobmV3QWxwaGEpID0+IHtcbiAgICAgICAgICAgICAgICBoYW5kbGVDaGFuZ2UoeyAuLi5oc3ZhLCAuLi57IGE6IG5ld0FscGhhLmEgfSB9KTtcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICB3aWR0aD17MjR9XG4gICAgICAgICAgICBoZWlnaHQ9ezI0fVxuICAgICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICAgIHJhZGl1cz17Mn1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDQsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYmdQcm9wcz17eyBzdHlsZTogeyBiYWNrZ3JvdW5kOiAndHJhbnNwYXJlbnQnIH0gfX1cbiAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogaHN2YVRvUmdiYVN0cmluZyhoc3ZhKSxcbiAgICAgICAgICAgICAgICBib3hTaGFkb3c6ICdyZ2IoMCAwIDAgLyAxNSUpIDBweCAwcHggMHB4IDFweCBpbnNldCwgcmdiKDAgMCAwIC8gMjUlKSAwcHggMHB4IDRweCBpbnNldCcsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgcG9pbnRlcj17KCkgPT4gPEZyYWdtZW50IC8+fVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICB7ZWRpdG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DaGFuZ2UoeyAuLi5oc3ZhLCAuLi5uZXdIdWUgfSl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPEFscGhhXG4gICAgICAgICAgICAgIHdpZHRoPVwiYXV0b1wiXG4gICAgICAgICAgICAgIGhlaWdodD17MTB9XG4gICAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICAgIHBvaW50ZXI9e0Jhcn1cbiAgICAgICAgICAgICAgc3R5bGU9e3sgbWFyZ2luVG9wOiA0IH19XG4gICAgICAgICAgICAgIGlubmVyUHJvcHM9e3tcbiAgICAgICAgICAgICAgICBzdHlsZTogeyBtYXJnaW5MZWZ0OiAxLCBtYXJnaW5SaWdodDogNSB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBvbkNoYW5nZT17KG5ld0FscGhhKSA9PiB7XG4gICAgICAgICAgICAgICAgaGFuZGxlQ2hhbmdlKHsgLi4uaHN2YSwgLi4ueyBhOiBuZXdBbHBoYS5hIH0gfSk7XG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDxBbHBoYVxuICAgICAgICAgICAgd2lkdGg9ezI0fVxuICAgICAgICAgICAgaGVpZ2h0PXsyNH1cbiAgICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgICByYWRpdXM9ezJ9XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICBtYXJnaW5MZWZ0OiA0LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIGJnUHJvcHM9e3sgc3R5bGU6IHsgYmFja2dyb3VuZDogJ3RyYW5zcGFyZW50JyB9IH19XG4gICAgICAgICAgICBpbm5lclByb3BzPXt7XG4gICAgICAgICAgICAgIHN0eWxlOiB7XG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiAyLFxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGhzdmFUb1JnYmFTdHJpbmcoaHN2YSksXG4gICAgICAgICAgICAgICAgYm94U2hhZG93OiAncmdiKDAgMCAwIC8gMTUlKSAwcHggMHB4IDBweCAxcHggaW5zZXQsIHJnYigwIDAgMCAvIDI1JSkgMHB4IDBweCA0cHggaW5zZXQnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIHBvaW50ZXI9eygpID0+IDxGcmFnbWVudCAvPn1cbiAgICAgICAgICAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgICAge2VkaXRhYmxlRGlzYWJsZSAmJiAoXG4gICAgICAgIDxkaXYgc3R5bGU9e3sgZGlzcGxheTogJ2ZsZXgnLCBtYXJnaW46ICcwIDEwcHggM3B4IDEwcHgnIH19PlxuICAgICAgICAgIDxFZGl0YWJsZUlucHV0XG4gICAgICAgICAgICBsYWJlbD1cIkhleFwiXG4gICAgICAgICAgICB2YWx1ZT17aHN2YVRvSGV4KGhzdmEpLnJlcGxhY2UoL14jLywgJycpLnRvTG9jYWxlVXBwZXJDYXNlKCl9XG4gICAgICAgICAgICBvbkNoYW5nZT17KGV2biwgdmFsKSA9PiBoYW5kbGVIZXgodmFsLCBldm4pfVxuICAgICAgICAgICAgc3R5bGU9e3sgbWluV2lkdGg6IDU4IH19XG4gICAgICAgICAgLz5cbiAgICAgICAgICA8UkdCQSBoc3ZhPXtoc3ZhfSBzdHlsZT17eyBtYXJnaW5MZWZ0OiA2IH19IG9uQ2hhbmdlPXsocmVzdWx0KSA9PiBoYW5kbGVDaGFuZ2UocmVzdWx0LmhzdmEpfSAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICl9XG4gICAgICB7cHJlc2V0Q29sb3JzICYmIHByZXNldENvbG9ycy5sZW5ndGggPiAwICYmIChcbiAgICAgICAgPFN3YXRjaFxuICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICBib3JkZXJUb3A6ICcxcHggc29saWQgcmdiKDIzOCwgMjM4LCAyMzgpJyxcbiAgICAgICAgICAgIHBhZGRpbmdUb3A6IDEwLFxuICAgICAgICAgICAgcGFkZGluZ0xlZnQ6IDEwLFxuICAgICAgICAgIH19XG4gICAgICAgICAgY29sb3JzPXtwcmVzZXRDb2xvcnN9XG4gICAgICAgICAgY29sb3I9e2hzdmFUb0hleChoc3ZhKX1cbiAgICAgICAgICBvbkNoYW5nZT17KGhzdkNvbG9yKSA9PiBoYW5kbGVDaGFuZ2UoaHN2Q29sb3IpfVxuICAgICAgICAgIHJlY3RQcm9wcz17e1xuICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgbWFyZ2luUmlnaHQ6IDEwLFxuICAgICAgICAgICAgICBtYXJnaW5Cb3R0b206IDEwLFxuICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDMsXG4gICAgICAgICAgICAgIGJveFNoYWRvdzogJ3JnYigwIDAgMCAvIDE1JSkgMHB4IDBweCAwcHggMXB4IGluc2V0JyxcbiAgICAgICAgICAgICAgLy8gZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgICAgICAgICAvLyBhbGlnbkl0ZW1zOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgLy8ganVzdGlmeUNvbnRlbnQ6ICdjZW50ZXInLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 |
{ | ||
"name": "@uiw/react-color-sketch", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Color Sketch component for React.", | ||
@@ -33,8 +33,9 @@ "homepage": "https://uiwjs.github.io/react-color/#react-color-sketch", | ||
"@babel/runtime": "7.14.6", | ||
"@uiw/color-convert": "^0.0.16", | ||
"@uiw/react-color-alpha": "^0.0.16", | ||
"@uiw/react-color-editable-input": "^0.0.16", | ||
"@uiw/react-color-editable-input-rgba": "^0.0.16", | ||
"@uiw/react-color-hue": "^0.0.16", | ||
"@uiw/react-color-saturation": "^0.0.16" | ||
"@uiw/color-convert": "^0.0.17", | ||
"@uiw/react-color-alpha": "^0.0.17", | ||
"@uiw/react-color-editable-input": "^0.0.17", | ||
"@uiw/react-color-editable-input-rgba": "^0.0.17", | ||
"@uiw/react-color-hue": "^0.0.17", | ||
"@uiw/react-color-saturation": "^0.0.17", | ||
"@uiw/react-color-swatch": "^0.0.17" | ||
}, | ||
@@ -41,0 +42,0 @@ "devDependencies": { |
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
54723
10
7
634
+ Added@uiw/color-convert@0.0.17(transitive)
+ Added@uiw/react-color-alpha@0.0.17(transitive)
+ Added@uiw/react-color-editable-input@0.0.17(transitive)
+ Added@uiw/react-color-editable-input-rgba@0.0.17(transitive)
+ Added@uiw/react-color-hue@0.0.17(transitive)
+ Added@uiw/react-color-saturation@0.0.17(transitive)
+ Added@uiw/react-color-swatch@0.0.17(transitive)
+ Added@uiw/react-drag-event-interactive@0.0.17(transitive)
- Removed@uiw/color-convert@0.0.16(transitive)
- Removed@uiw/react-color-alpha@0.0.16(transitive)
- Removed@uiw/react-color-editable-input@0.0.16(transitive)
- Removed@uiw/react-color-editable-input-rgba@0.0.16(transitive)
- Removed@uiw/react-color-hue@0.0.16(transitive)
- Removed@uiw/react-color-saturation@0.0.16(transitive)
- Removed@uiw/react-drag-event-interactive@0.0.16(transitive)
Updated@uiw/color-convert@^0.0.17
Updated@uiw/react-color-hue@^0.0.17