@apexcura/ui-components 0.0.13-Beta38 → 0.0.13-Beta39

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
@@ -880,6 +880,7 @@ var MultiSelect = (props) => {
880
880
  const handleFirstChange = (value) => {
881
881
  if (props.onChange) {
882
882
  const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
883
+ console.log("filterOption1--------", filterOption2);
883
884
  setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 && filterOption2 }));
884
885
  props.onChange(selectedValue);
885
886
  }
@@ -887,7 +888,8 @@ var MultiSelect = (props) => {
887
888
  const handleSecondChange = (value) => {
888
889
  if (props.onChange) {
889
890
  const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
890
- setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 && filterOption2 }));
891
+ console.log("filterOption2--------", filterOption2);
892
+ setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 && filterOption2 }));
891
893
  props.onChange(selectedValue);
892
894
  }
893
895
  };
package/dist/index.mjs CHANGED
@@ -824,6 +824,7 @@ var MultiSelect = (props) => {
824
824
  const handleFirstChange = (value) => {
825
825
  if (props.onChange) {
826
826
  const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
827
+ console.log("filterOption1--------", filterOption2);
827
828
  setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 && filterOption2 }));
828
829
  props.onChange(selectedValue);
829
830
  }
@@ -831,7 +832,8 @@ var MultiSelect = (props) => {
831
832
  const handleSecondChange = (value) => {
832
833
  if (props.onChange) {
833
834
  const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
834
- setSelectedValue((prev) => ({ ...prev, firstValue: filterOption2 && filterOption2 }));
835
+ console.log("filterOption2--------", filterOption2);
836
+ setSelectedValue((prev) => ({ ...prev, secondValue: filterOption2 && filterOption2 }));
835
837
  props.onChange(selectedValue);
836
838
  }
837
839
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta38",
3
+ "version": "0.0.13-Beta39",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",