@kdcloudjs/kdesign 1.8.25 → 1.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -332,7 +332,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
332
332
  };
333
333
  var handleChromeChange = function handleChromeChange(color) {
334
334
  var formatArr = colorFormat(color.hex, inputCorrectColorValue ? color.rgb.a : 1);
335
- var colorObj = formatArr[valOfCorrespondingType(currentColorType)];
335
+ var colorObj = formatArr[valOfCorrespondingType(format)];
336
336
  if (value === undefined) {
337
337
  setIsFollow(false);
338
338
  setPanelState(formatArr, removeTransparency(colorObj.value, currentColorType), colorObj.value, inputCorrectColorValue ? color.rgb.a : 1, inputCorrectColorValue ? (color.rgb.a * 100).toFixed() + '%' : '100%');
@@ -344,7 +344,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
344
344
  };
345
345
  var handleChromeChange = function handleChromeChange(color) {
346
346
  var formatArr = (0, _colorFormat.colorFormat)(color.hex, inputCorrectColorValue ? color.rgb.a : 1);
347
- var colorObj = formatArr[(0, _colorFormat.valOfCorrespondingType)(currentColorType)];
347
+ var colorObj = formatArr[(0, _colorFormat.valOfCorrespondingType)(format)];
348
348
  if (value === undefined) {
349
349
  setIsFollow(false);
350
350
  setPanelState(formatArr, (0, _removeTransparency.removeTransparency)(colorObj.value, currentColorType), colorObj.value, inputCorrectColorValue ? color.rgb.a : 1, inputCorrectColorValue ? (color.rgb.a * 100).toFixed() + '%' : '100%');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.8.25",
3
+ "version": "1.8.26",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [