@uiw/react-color-compact
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -24,2 +24,4 @@ "use strict"; | ||
var _reactColorEditableInputRgba = _interopRequireDefault(require("@uiw/react-color-editable-input-rgba")); | ||
var _excluded = ["style"], | ||
@@ -29,3 +31,3 @@ _excluded2 = ["prefixCls", "className", "style", "onChange", "color", "colors"]; | ||
var EditableInputRGB = function EditableInputRGB(_ref) { | ||
var EditableInputHex = function EditableInputHex(_ref) { | ||
var style = _ref.style, | ||
@@ -66,40 +68,9 @@ props = (0, _objectWithoutProperties2.default)(_ref, _excluded); | ||
var rgba = color ? (0, _colorConvert.hsvaToRgba)(hsva) : {}; | ||
var hex = color ? (0, _colorConvert.hsvaToHex)(hsva).replace(/^#/, '') : ''; | ||
var handleChangeCallback = (0, _react.useCallback)(function (hsv) { | ||
return onChange && onChange((0, _colorConvert.color)(hsv)); | ||
}, [hsva]); | ||
}, []); | ||
var handleChange = function handleChange(value, type, evn) { | ||
if (typeof value === 'number') { | ||
if (value > 255) { | ||
value = 255; | ||
evn.target.value = '255'; | ||
} | ||
if (value < 0) { | ||
value = 0; | ||
evn.target.value = '0'; | ||
} | ||
if (type === 'r') { | ||
handleChangeCallback((0, _colorConvert.rgbaToHsva)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, rgba), {}, { | ||
r: value | ||
}))); | ||
} | ||
if (type === 'g') { | ||
handleChangeCallback((0, _colorConvert.rgbaToHsva)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, rgba), {}, { | ||
g: value | ||
}))); | ||
} | ||
if (type === 'b') { | ||
handleChangeCallback((0, _colorConvert.rgbaToHsva)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, rgba), {}, { | ||
b: value | ||
}))); | ||
} | ||
} | ||
if (typeof value === 'string' && type === 'hex' && (0, _colorConvert.validHex)(value) && /(3|6)/.test(String(value.length))) { | ||
var handleHex = function handleHex(value, evn) { | ||
if (typeof value === 'string' && (0, _colorConvert.validHex)(value) && /(3|6)/.test(String(value.length))) { | ||
handleChangeCallback((0, _colorConvert.hexToHsva)(value)); | ||
@@ -109,14 +80,12 @@ } | ||
function handleBlur(evn) { | ||
var value = Number(evn.target.value); | ||
if (value && value > 255) { | ||
evn.target.value = '255'; | ||
var rgbProps = { | ||
style: { | ||
alignItems: 'baseline' | ||
}, | ||
inputStyle: { | ||
boxShadow: 'none', | ||
backgroundColor: 'transparent', | ||
outline: 0 | ||
} | ||
if (value && value < 0) { | ||
evn.target.value = '0'; | ||
} | ||
} | ||
}; | ||
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ | ||
@@ -171,3 +140,3 @@ ref: ref, | ||
} | ||
}, /*#__PURE__*/_react.default.createElement(EditableInputRGB, { | ||
}, /*#__PURE__*/_react.default.createElement(EditableInputHex, { | ||
style: { | ||
@@ -177,3 +146,3 @@ minWidth: 80 | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'hex', evn); | ||
return handleHex(val, evn); | ||
}, | ||
@@ -188,23 +157,12 @@ label: /*#__PURE__*/_react.default.createElement("div", { | ||
value: hex.toLocaleUpperCase() | ||
}), /*#__PURE__*/_react.default.createElement(EditableInputRGB, { | ||
label: "R", | ||
value: rgba.r || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'r', evn); | ||
} | ||
}), /*#__PURE__*/_react.default.createElement(EditableInputRGB, { | ||
label: "G", | ||
value: rgba.g || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'g', evn); | ||
} | ||
}), /*#__PURE__*/_react.default.createElement(EditableInputRGB, { | ||
label: "B", | ||
value: rgba.b || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'b', evn); | ||
} | ||
}), /*#__PURE__*/_react.default.createElement(_reactColorEditableInputRgba.default, { | ||
hsva: hsva, | ||
placement: "left", | ||
onChange: function onChange(result) { | ||
return handleChangeCallback(result.hsva); | ||
}, | ||
aProps: false, | ||
rProps: rgbProps, | ||
gProps: rgbProps, | ||
bProps: rgbProps | ||
}))); | ||
@@ -215,2 +173,2 @@ }); | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiQ09MT1JTIiwiRWRpdGFibGVJbnB1dFJHQiIsInN0eWxlIiwicHJvcHMiLCJwYWRkaW5nUmlnaHQiLCJtYXJnaW5Ub3AiLCJvdXRsaW5lIiwiYm94U2hhZG93IiwiYmFja2dyb3VuZCIsImZsZXhEaXJlY3Rpb24iLCJmbGV4IiwiUmVhY3QiLCJmb3J3YXJkUmVmIiwicmVmIiwicHJlZml4Q2xzIiwiY2xhc3NOYW1lIiwib25DaGFuZ2UiLCJjb2xvciIsImNvbG9ycyIsIm90aGVyIiwiaHN2YSIsImhhbmRsZUNsaWNrIiwiaGV4U3RyIiwiZXZuIiwicmdiYSIsImhleCIsInJlcGxhY2UiLCJoYW5kbGVDaGFuZ2VDYWxsYmFjayIsImhzdiIsImhhbmRsZUNoYW5nZSIsInZhbHVlIiwidHlwZSIsInRhcmdldCIsInIiLCJnIiwiYiIsInRlc3QiLCJTdHJpbmciLCJsZW5ndGgiLCJoYW5kbGVCbHVyIiwiTnVtYmVyIiwiYm9yZGVyUmFkaXVzIiwiZGlzcGxheSIsIndpZHRoIiwiZmxleFdyYXAiLCJwYWRkaW5nVG9wIiwicGFkZGluZ0xlZnQiLCJmaWx0ZXIiLCJCb29sZWFuIiwiam9pbiIsIm1hcCIsImlkeCIsImNoZWNrZWQiLCJ0b0xvY2FsZUxvd2VyQ2FzZSIsImJveFNpemluZyIsImJhY2tncm91bmRDb2xvciIsImhlaWdodCIsIm1hcmdpblJpZ2h0IiwibWFyZ2luQm90dG9tIiwiY3Vyc29yIiwiYWxpZ25JdGVtcyIsImp1c3RpZnlDb250ZW50IiwibWFyZ2luIiwibWlu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ICAgb25DbGljaz17KGV2bikgPT4gaGFuZGxlQ2xpY2soaGV4LCBldm4pfVxuICAgICAgICAgICAgICB0aXRsZT17aGV4fVxuICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogaGV4LFxuICAgICAgICAgICAgICAgIGhlaWdodDogMTUsXG4gICAgICAgICAgICAgICAgd2lkdGg6IDE1LFxuICAgICAgICAgICAgICAgIG1hcmdpblJpZ2h0OiA1LFxuICAgICAgICAgICAgICAgIG1hcmdpbkJvdHRvbTogNSxcbiAgICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAganVzdGlmeUNvbnRlbnQ6ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGJvcmRlclJhZGl1czogMixcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAge2NoZWNrZWQgJiYgKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogNSxcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDUsXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlclJhZGl1czogJzUwJScsXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogZ2V0Q29udHJhc3RpbmdDb2xvcihoZXgpLFxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICk7XG4gICAgICB9KX1cbiAgICAgIDxkaXYgc3R5bGU9e3sgZGlzcGxheTogJ2ZsZXgnLCBtYXJnaW46ICcwIDRwe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AnJ10uZmlsdGVyKEJvb2xlYW4pLmpvaW4oJyAnKX1cbiAgICAgIHsuLi5vdGhlcn1cbiAgICA+XG4gICAgICB7Y29sb3JzLm1hcCgoaGV4LCBpZHgpID0+IHtcbiAgICAgICAgY29uc3QgY2hlY2tlZCA9IGhzdmEgJiYgaHN2YVRvSGV4KGhzdmEpLnRvTG9jYWxlTG93ZXJDYXNlKCkgPT09IGhleC50b0xvY2FsZUxvd2VyQ2FzZSgpO1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgIGtleT17aGV4fVxuICAgICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgICAgYm94U2l6aW5nOiAnYm9yZGVyLWJveCcsXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgb25DbGljaz17KGV2bikgPT4gaGFuZGxlQ2xpY2soaGV4LCBldm4pfVxuICAgICAgICAgICAgICB0aXRsZT17aGV4fVxuICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogaGV4LFxuICAgICAgICAgICAgICAgIGhlaWdodDogMTUsXG4gICAgICAgICAgICAgICAgd2lkdGg6IDE1LFxuICAgICAgICAgICAgICAgIG1hcmdpblJpZ2h0OiA1LFxuICAgICAgICAgICAgICAgIG1hcmdpbkJvdHRvbTogNSxcbiAgICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiAnZmxleCcsXG4gICAgICAgICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAganVzdGlmeUNvbnRlbnQ6ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGJvcmRlclJhZGl1czogMixcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAge2NoZWNrZWQgJiYgKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogNSxcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDUsXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlclJhZGl1czogJzUwJScsXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogZ2V0Q29udHJhc3RpbmdDb2xvcihoZXgpLFxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgICk7XG4gICAgICB9KX1cbiAgICAgIDxkaXYgc3R5bGU9e3sgZGlzcGxheTogJ2ZsZXgnLCBtYXJnaW46ICcwIDRweCAzcHggMCcgfX0+XG4gICAgICAgIDxFZGl0YWJsZUlucHV0SGV4XG4gICAgICAgICAgc3R5bGU9e3sgbWluV2lkdGg6IDgwIH19XG4gICAgICAgICAgb25DaGFuZ2U9eyhldm4sIHZhbCkgPT4gaGFuZGxlSGV4KHZhbCwgZXZuKX1cbiAgICAgICAgICBsYWJlbD17PGRpdiBzdHlsZT17eyB3aWR0aDogOCwgaGVpZ2h0OiA4LCBiYWNrZ3JvdW5kQ29sb3I6IGAjJHtoZXh9YCB9fSAvPn1cbiAgICAgICAgICB2YWx1ZT17aGV4LnRvTG9jYWxlVXBwZXJDYXNlKCl9XG4gICAgICAgIC8+XG4gICAgICAgIDxSR0JBXG4gICAgICAgICAgaHN2YT17aHN2YX1cbiAgICAgICAgICBwbGFjZW1lbnQ9XCJsZWZ0XCJcbiAgICAgICAgICBvbkNoYW5nZT17KHJlc3VsdCkgPT4gaGFuZGxlQ2hhbmdlQ2FsbGJhY2socmVzdWx0LmhzdmEpfVxuICAgICAgICAgIGFQcm9wcz17ZmFsc2V9XG4gICAgICAgICAgclByb3BzPXtyZ2JQcm9wc31cbiAgICAgICAgICBnUHJvcHM9e3JnYlByb3BzfVxuICAgICAgICAgIGJQcm9wcz17cmdiUHJvcHN9XG4gICAgICAgIC8+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 |
@@ -7,7 +7,8 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import React, { useCallback } from 'react'; | ||
import { color as handleColor, hexToHsva, validHex, hsvaToHex, getContrastingColor, hsvaToRgba, rgbaToHsva } from '@uiw/color-convert'; | ||
import { color as handleColor, hexToHsva, validHex, hsvaToHex, getContrastingColor } from '@uiw/color-convert'; | ||
import EditableInput from '@uiw/react-color-editable-input'; | ||
import RGBA from '@uiw/react-color-editable-input-rgba'; | ||
var COLORS = ['#4D4D4D', '#999999', '#FFFFFF', '#F44E3B', '#FE9200', '#FCDC00', '#DBDF00', '#A4DD00', '#68CCCA', '#73D8FF', '#AEA1FF', '#FDA1FF', '#333333', '#808080', '#cccccc', '#D33115', '#E27300', '#FCC400', '#B0BC00', '#68BC00', '#16A5A5', '#009CE0', '#7B64FF', '#FA28FF', '#000000', '#666666', '#B3B3B3', '#9F0500', '#C45100', '#FB9E00', '#808900', '#194D33', '#0C797D', '#0062B1', '#653294', '#AB149E']; | ||
var EditableInputRGB = function EditableInputRGB(_ref) { | ||
var EditableInputHex = function EditableInputHex(_ref) { | ||
var style = _ref.style, | ||
@@ -50,40 +51,9 @@ props = _objectWithoutProperties(_ref, _excluded); | ||
var rgba = color ? hsvaToRgba(hsva) : {}; | ||
var hex = color ? hsvaToHex(hsva).replace(/^#/, '') : ''; | ||
var handleChangeCallback = useCallback(function (hsv) { | ||
return onChange && onChange(handleColor(hsv)); | ||
}, [hsva]); | ||
}, []); | ||
var handleChange = function handleChange(value, type, evn) { | ||
if (typeof value === 'number') { | ||
if (value > 255) { | ||
value = 255; | ||
evn.target.value = '255'; | ||
} | ||
if (value < 0) { | ||
value = 0; | ||
evn.target.value = '0'; | ||
} | ||
if (type === 'r') { | ||
handleChangeCallback(rgbaToHsva(_objectSpread(_objectSpread({}, rgba), {}, { | ||
r: value | ||
}))); | ||
} | ||
if (type === 'g') { | ||
handleChangeCallback(rgbaToHsva(_objectSpread(_objectSpread({}, rgba), {}, { | ||
g: value | ||
}))); | ||
} | ||
if (type === 'b') { | ||
handleChangeCallback(rgbaToHsva(_objectSpread(_objectSpread({}, rgba), {}, { | ||
b: value | ||
}))); | ||
} | ||
} | ||
if (typeof value === 'string' && type === 'hex' && validHex(value) && /(3|6)/.test(String(value.length))) { | ||
var handleHex = function handleHex(value, evn) { | ||
if (typeof value === 'string' && validHex(value) && /(3|6)/.test(String(value.length))) { | ||
handleChangeCallback(hexToHsva(value)); | ||
@@ -93,14 +63,12 @@ } | ||
function handleBlur(evn) { | ||
var value = Number(evn.target.value); | ||
if (value && value > 255) { | ||
evn.target.value = '255'; | ||
var rgbProps = { | ||
style: { | ||
alignItems: 'baseline' | ||
}, | ||
inputStyle: { | ||
boxShadow: 'none', | ||
backgroundColor: 'transparent', | ||
outline: 0 | ||
} | ||
if (value && value < 0) { | ||
evn.target.value = '0'; | ||
} | ||
} | ||
}; | ||
return /*#__PURE__*/React.createElement("div", _extends({ | ||
@@ -155,3 +123,3 @@ ref: ref, | ||
} | ||
}, /*#__PURE__*/React.createElement(EditableInputRGB, { | ||
}, /*#__PURE__*/React.createElement(EditableInputHex, { | ||
style: { | ||
@@ -161,3 +129,3 @@ minWidth: 80 | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'hex', evn); | ||
return handleHex(val, evn); | ||
}, | ||
@@ -172,25 +140,14 @@ label: /*#__PURE__*/React.createElement("div", { | ||
value: hex.toLocaleUpperCase() | ||
}), /*#__PURE__*/React.createElement(EditableInputRGB, { | ||
label: "R", | ||
value: rgba.r || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'r', evn); | ||
} | ||
}), /*#__PURE__*/React.createElement(EditableInputRGB, { | ||
label: "G", | ||
value: rgba.g || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'g', evn); | ||
} | ||
}), /*#__PURE__*/React.createElement(EditableInputRGB, { | ||
label: "B", | ||
value: rgba.b || 0, | ||
onBlur: handleBlur, | ||
onChange: function onChange(evn, val) { | ||
return handleChange(val, 'b', evn); | ||
} | ||
}), /*#__PURE__*/React.createElement(RGBA, { | ||
hsva: hsva, | ||
placement: "left", | ||
onChange: function onChange(result) { | ||
return handleChangeCallback(result.hsva); | ||
}, | ||
aProps: false, | ||
rProps: rgbProps, | ||
gProps: rgbProps, | ||
bProps: rgbProps | ||
}))); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VDYWxsYmFjayIsImNvbG9yIiwiaGFuZGxlQ29sb3IiLCJoZXhUb0hzdmEiLCJ2YWxpZEhleCIsImhzdmFUb0hleCIsImdldENvbnRyYXN0aW5nQ29sb3IiLCJoc3ZhVG9SZ2JhIiwicmdiYVRvSHN2YSIsIkVkaXRhYmxlSW5wdXQiLCJDT0xPUlMiLCJFZGl0YWJsZUlucHV0UkdCIiwic3R5bGUiLCJwcm9wcyIsInBhZGRpbmdSaWdodCIsIm1hcmdpblRvcCIsIm91dGxpbmUiLCJib3hTaGFkb3ciLCJiYWNrZ3JvdW5kIiwiZmxleERpcmVjdGlvbiIsImZsZXgiLCJmb3J3YXJkUmVmIiwicmVmIiwicHJlZml4Q2xzIiwiY2xhc3NOYW1lIiwib25DaGFuZ2UiLCJjb2xvcnMiLCJvdGhlciIsImhzdmEiLCJoYW5kbGVDbGljayIsImhleFN0ciIsImV2biIsInJnYmEiLCJoZXgiLCJyZXBsYWNlIiwiaGFuZGxlQ2hhbmdlQ2FsbGJhY2siLCJoc3YiLCJoYW5kbGVDaGFuZ2UiLCJ2YWx1ZSIsIn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mfVxuICAgICAgc3R5bGU9e3tcbiAgICAgICAgYmFja2dyb3VuZDogJyNmNmY2ZjYnLFxuICAgICAgICBib3JkZXJSYWRpdXM6IDMsXG4gICAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgICAgd2lkdGg6IDI0MCxcbiAgICAgICAgZmxleFdyYXA6ICd3cmFwJyxcbiAgICAgICAgcGFkZGluZ1RvcDogNSxcbiAgICAgICAgcGFkZGluZ0xlZnQ6IDUsXG4gICAgICAgIC4uLnN0eWxlLFxuICAgICAgfX1cbiAgICAgIGNsYXNzTmFtZT17W3ByZWZpeENscywgY2xhc3NOYW1lIHx8ICcnXS5maWx0ZXIoQm9vbGVhbikuam9pbignICcpfVxuICAgICAgey4uLm90aGVyfVxuICAgID5cbiAgICAgIHtjb2xvcnMubWFwKChoZXgsIGlkeCkgPT4ge1xuICAgICAgICBjb25zdCBjaGVja2VkID0gaHN2YSAmJiBoc3ZhVG9IZXgoaHN2YSkudG9Mb2NhbGVMb3dlckNhc2UoKSA9PT0gaGV4LnRvTG9jYWxlTG93ZXJDYXNlKCk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPGRpdlxuICAgICAgICAgICAga2V5PXtoZXh9XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICBib3hTaXppbmc6ICdib3JkZXItYm94JyxcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICBvbkNsaWNrPXsoZXZuKSA9PiBoYW5kbGVDbGljayhoZXgsIGV2bil9XG4gICAgICAgICAgICAgIHRpdGxlPXtoZXh9XG4gICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBoZXgsXG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAxNSxcbiAgICAgICAgICAgICAgICB3aWR0aDogMTUsXG4gICAgICAgICAgICAgICAgbWFyZ2luUmlnaHQ6IDUsXG4gICAgICAgICAgICAgICAgbWFyZ2luQm90dG9tOiA1LFxuICAgICAgICAgICAgICAgIGN1cnNvcjogJ3BvaW50ZXInLFxuICAgICAgICAgICAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgICAgICAgICAgICBhbGlnbkl0ZW1zOiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgICBqdXN0aWZ5Q29udGVudDogJ2NlbnRlcicsXG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiAyLFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICB7Y2hlY2tlZCAmJiAoXG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiA1LFxuICAgICAgICAgICAgICAgICAgICB3aWR0aDogNSxcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiAnNTAlJyxcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBnZXRDb250cmFzdGluZ0NvbG9yKGhleCksXG4gICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICl9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgKTtcbiAgICAgIH0pfVxuICAgICAgPGRpdiBzdHlsZT17eyBkaXNwbGF5OiAnZmxleCcsIG1hcmdpbjogJzAgNHB4IDNweCAwJyB9fT5cbiAgICAgICAgPEVkaXRhYmxlSW5wdXRSR0JcbiAgICAgICAgICBzdHlsZT17eyBtaW5XaWR0aDogODAgfX1cbiAgICAgICAgICBvbkNoYW5nZT17KGV2biwgdmFsKSA9PiBoYW5kbGVDaGFuZ2UodmFsLCAnaGV4JywgZXZuKX1cbiAgICAgICAgICBsYWJlbD17PGRpdiBzdHlsZT17eyB3aWR0aDogOCwgaGVpZ2h0OiA4LCBiYWNrZ3JvdW5kQ29sb3I6IGAjJHtoZXh9YCB9fSAvPn1cbiAgICAgICAgICB2YWx1ZT17aGV4LnRvTG9jYWxlVXBwZXJDYXNlKCl9XG4gICAgICAgIC8+XG4gICAgICAgIDxFZGl0YWJsZUlucHV0UkdCXG4gICAgICAgICAgbGFiZWw9XCJSXCJcbiAgICAgICAgICB2YWx1ZT17cmdiYS5yIHx8IDB9XG4gICAgICAgICAgb25CbHVyPXtoYW5kbGVCbHVyfVxuICAgICAgICAgIG9uQ2hhbmdlPXsoZXZuLCB2YWwpID0+IGhhbmRsZUNoYW5nZSh2YWwsICdyJywgZXZuKX1cbiAgICAgICAgLz5cbiAgICAgICAgPEVkaXRhYmxlSW5wdXRSR0JcbiAgICAgICAgICBsYWJlbD1cIkdcIlxuICAgICAgICAgIHZhbHVlPXtyZ2JhLmcgfHwgMH1cbiAgICAgICAgICBvbkJsdXI9e2hhbmRsZUJsdXJ9XG4gICAgICAgICAgb25DaGFuZ2U9eyhldm4sIHZhbCkgPT4gaGFuZGxlQ2hhbmdlKHZhbCwgJ2cnLCBldm4pfVxuICAgICAgICAvPlxuICAgICAgICA8RWRpdGFibGVJbnB1dFJHQlxuICAgICAgICAgIGxhYmVsPVwiQlwiXG4gICAgICAgICAgdmFsdWU9e3JnYmEuYiB8fCAwfVxuICAgICAgICAgIG9uQmx1cj17aGFuZGxlQmx1cn1cbiAgICAgICAgICBvbkNoYW5nZT17KGV2biwgdmFsKSA9PiBoYW5kbGVDaGFuZ2UodmFsLCAnYicsIGV2bil9XG4gICAgICAgIC8+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VDYWxsYmFjayIsImNvbG9yIiwiaGFuZGxlQ29sb3IiLCJo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gnLFxuICAgICAgICB3aWR0aDogMjQwLFxuICAgICAgICBmbGV4V3JhcDogJ3dyYXAnLFxuICAgICAgICBwYWRkaW5nVG9wOiA1LFxuICAgICAgICBwYWRkaW5nTGVmdDogNSxcbiAgICAgICAgLi4uc3R5bGUsXG4gICAgICB9fVxuICAgICAgY2xhc3NOYW1lPXtbcHJlZml4Q2xzLCBjbGFzc05hbWUgfHwgJyddLmZpbHRlcihCb29sZWFuKS5qb2luKCcgJyl9XG4gICAgICB7Li4ub3RoZXJ9XG4gICAgPlxuICAgICAge2NvbG9ycy5tYXAoKGhleCwgaWR4KSA9PiB7XG4gICAgICAgIGNvbnN0IGNoZWNrZWQgPSBoc3ZhICYmIGhzdmFUb0hleChoc3ZhKS50b0xvY2FsZUxvd2VyQ2FzZSgpID09PSBoZXgudG9Mb2NhbGVMb3dlckNhc2UoKTtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBrZXk9e2hleH1cbiAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgIGJveFNpemluZzogJ2JvcmRlci1ib3gnLFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eyhldm4pID0+IGhhbmRsZUNsaWNrKGhleCwgZXZuKX1cbiAgICAgICAgICAgICAgdGl0bGU9e2hleH1cbiAgICAgICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IGhleCxcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDE1LFxuICAgICAgICAgICAgICAgIHdpZHRoOiAxNSxcbiAgICAgICAgICAgICAgICBtYXJnaW5SaWdodDogNSxcbiAgICAgICAgICAgICAgICBtYXJnaW5Cb3R0b206IDUsXG4gICAgICAgICAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICAgICAgICAgICAgZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6ICdjZW50ZXInLFxuICAgICAgICAgICAgICAgIGp1c3RpZnlDb250ZW50OiAnY2VudGVyJyxcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IDIsXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtjaGVja2VkICYmIChcbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDUsXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiA1LFxuICAgICAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6ICc1MCUnLFxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IGdldENvbnRyYXN0aW5nQ29sb3IoaGV4KSxcbiAgICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICApO1xuICAgICAgfSl9XG4gICAgICA8ZGl2IHN0eWxlPXt7IGRpc3BsYXk6ICdmbGV4JywgbWFyZ2luOiAnMCA0cHggM3B4IDAnIH19PlxuICAgICAgICA8RWRpdGFibGVJbnB1dEhleFxuICAgICAgICAgIHN0eWxlPXt7IG1pbldpZHRoOiA4MCB9fVxuICAgICAgICAgIG9uQ2hhbmdlPXsoZXZuLCB2YWwpID0+IGhhbmRsZUhleCh2YWwsIGV2bil9XG4gICAgICAgICAgbGFiZWw9ezxkaXYgc3R5bGU9e3sgd2lkdGg6IDgsIGhlaWdodDogOCwgYmFja2dyb3VuZENvbG9yOiBgIyR7aGV4fWAgfX0gLz59XG4gICAgICAgICAgdmFsdWU9e2hleC50b0xvY2FsZVVwcGVyQ2FzZSgpfVxuICAgICAgICAvPlxuICAgICAgICA8UkdCQVxuICAgICAgICAgIGhzdmE9e2hzdmF9XG4gICAgICAgICAgcGxhY2VtZW50PVwibGVmdFwiXG4gICAgICAgICAgb25DaGFuZ2U9eyhyZXN1bHQpID0+IGhhbmRsZUNoYW5nZUNhbGxiYWNrKHJlc3VsdC5oc3ZhKX1cbiAgICAgICAgICBhUHJvcHM9e2ZhbHNlfVxuICAgICAgICAgIHJQcm9wcz17cmdiUHJvcHN9XG4gICAgICAgICAgZ1Byb3BzPXtyZ2JQcm9wc31cbiAgICAgICAgICBiUHJvcHM9e3JnYlByb3BzfVxuICAgICAgICAvPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICk7XG59KTtcbiJdfQ== |
{ | ||
"name": "@uiw/react-color-compact", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Color Compact component for React.", | ||
@@ -33,9 +33,10 @@ "homepage": "https://uiwjs.github.io/react-color/#react-color-compact", | ||
"@babel/runtime": "7.14.6", | ||
"@uiw/color-convert": "^0.0.14", | ||
"@uiw/react-color-alpha": "^0.0.14", | ||
"@uiw/react-color-editable-input": "^0.0.14" | ||
"@uiw/color-convert": "^0.0.15", | ||
"@uiw/react-color-alpha": "^0.0.15", | ||
"@uiw/react-color-editable-input": "^0.0.15", | ||
"@uiw/react-color-editable-input-rgba": "^0.0.15" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "17.0.13", | ||
"@types/react-dom": "17.0.8", | ||
"@types/react": "17.0.14", | ||
"@types/react-dom": "17.0.9", | ||
"@types/react-test-renderer": "17.0.1", | ||
@@ -42,0 +43,0 @@ "react": "17.0.2", |
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
44977
7
473
+ Added@uiw/color-convert@0.0.15(transitive)
+ Added@uiw/react-color-alpha@0.0.15(transitive)
+ Added@uiw/react-color-editable-input@0.0.15(transitive)
+ Added@uiw/react-color-editable-input-rgba@0.0.15(transitive)
+ Added@uiw/react-drag-event-interactive@0.0.15(transitive)
- Removed@uiw/color-convert@0.0.14(transitive)
- Removed@uiw/react-color-alpha@0.0.14(transitive)
- Removed@uiw/react-color-editable-input@0.0.14(transitive)
- Removed@uiw/react-drag-event-interactive@0.0.14(transitive)
Updated@uiw/color-convert@^0.0.15