@apexcura/ui-components 0.0.13-Beta86 → 0.0.13-Beta87

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
@@ -812,7 +812,7 @@ var DropDownGroup = (props) => {
812
812
  const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
813
813
  setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 }));
814
814
  console.log("selectedValue----------", selectedValue);
815
- props.onChange(selectedValue);
815
+ props.onChange(selectedValue && selectedValue);
816
816
  }
817
817
  };
818
818
  const handleSecondChange = (value) => {
@@ -820,6 +820,7 @@ var DropDownGroup = (props) => {
820
820
  const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
821
821
  console.log("filterOption2--------", filterOption2);
822
822
  setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 }));
823
+ setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 }));
823
824
  props.onChange(selectedValue);
824
825
  }
825
826
  };
package/dist/index.mjs CHANGED
@@ -755,7 +755,7 @@ var DropDownGroup = (props) => {
755
755
  const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
756
756
  setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 }));
757
757
  console.log("selectedValue----------", selectedValue);
758
- props.onChange(selectedValue);
758
+ props.onChange(selectedValue && selectedValue);
759
759
  }
760
760
  };
761
761
  const handleSecondChange = (value) => {
@@ -763,6 +763,7 @@ var DropDownGroup = (props) => {
763
763
  const filterOption2 = props.options?.find((eachOption) => eachOption.value === value);
764
764
  console.log("filterOption2--------", filterOption2);
765
765
  setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 }));
766
+ setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 }));
766
767
  props.onChange(selectedValue);
767
768
  }
768
769
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta86",
3
+ "version": "0.0.13-Beta87",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",