@apexcura/ui-components 0.0.15-Beta95 → 0.0.15-Beta96

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.
package/dist/index.js CHANGED
@@ -1732,6 +1732,7 @@ var import_antd22 = require("antd");
1732
1732
  var ColorPickerElement = (props) => {
1733
1733
  const [color, setColor] = (0, import_react39.useState)(props.value);
1734
1734
  const onHandleChange = (value, hex) => {
1735
+ setColor(hex);
1735
1736
  setColor(hex);
1736
1737
  props.onChange && props.onChange(color && color);
1737
1738
  };
@@ -1740,7 +1741,7 @@ var ColorPickerElement = (props) => {
1740
1741
  {
1741
1742
  className: props.className,
1742
1743
  showText: true,
1743
- value: props.value && props.value,
1744
+ value: color,
1744
1745
  onChange: onHandleChange
1745
1746
  }
1746
1747
  ));
package/dist/index.mjs CHANGED
@@ -1686,6 +1686,7 @@ import { ColorPicker } from "antd";
1686
1686
  var ColorPickerElement = (props) => {
1687
1687
  const [color, setColor] = useState11(props.value);
1688
1688
  const onHandleChange = (value, hex) => {
1689
+ setColor(hex);
1689
1690
  setColor(hex);
1690
1691
  props.onChange && props.onChange(color && color);
1691
1692
  };
@@ -1694,7 +1695,7 @@ var ColorPickerElement = (props) => {
1694
1695
  {
1695
1696
  className: props.className,
1696
1697
  showText: true,
1697
- value: props.value && props.value,
1698
+ value: color,
1698
1699
  onChange: onHandleChange
1699
1700
  }
1700
1701
  ));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta95",
3
+ "version": "0.0.15-Beta96",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",