@apexcura/ui-components 0.0.15-Beta29 → 0.0.15-Beta30

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
@@ -849,11 +849,6 @@ var DatePickerElement = (props) => {
849
849
  if (props.onChange) {
850
850
  props.onChange(dateString);
851
851
  }
852
- } else {
853
- setDateState("");
854
- if (props.onChange) {
855
- props.onChange("");
856
- }
857
852
  }
858
853
  };
859
854
  const disabledDate = (current) => {
@@ -890,6 +885,7 @@ var DateRangePickerElement = (props) => {
890
885
  const adjustedDates = [start, end].map(
891
886
  (date) => date ? date.format("DD-MM-YYYY") : null
892
887
  );
888
+ console.log("1", adjustedDates);
893
889
  props.onChange && props.onChange(adjustedDates);
894
890
  } else {
895
891
  props.onChange && props.onChange("");
@@ -916,6 +912,7 @@ var DateRangePickerElement = (props) => {
916
912
  const adjustedDates = [start, end].map(
917
913
  (date) => date ? date.format("DD-MM-YYYY") : null
918
914
  );
915
+ console.log("2", adjustedDates);
919
916
  props.onChange && props.onChange(adjustedDates);
920
917
  } else {
921
918
  props.onChange && props.onChange("");
package/dist/index.mjs CHANGED
@@ -780,11 +780,6 @@ var DatePickerElement = (props) => {
780
780
  if (props.onChange) {
781
781
  props.onChange(dateString);
782
782
  }
783
- } else {
784
- setDateState("");
785
- if (props.onChange) {
786
- props.onChange("");
787
- }
788
783
  }
789
784
  };
790
785
  const disabledDate = (current) => {
@@ -821,6 +816,7 @@ var DateRangePickerElement = (props) => {
821
816
  const adjustedDates = [start, end].map(
822
817
  (date) => date ? date.format("DD-MM-YYYY") : null
823
818
  );
819
+ console.log("1", adjustedDates);
824
820
  props.onChange && props.onChange(adjustedDates);
825
821
  } else {
826
822
  props.onChange && props.onChange("");
@@ -847,6 +843,7 @@ var DateRangePickerElement = (props) => {
847
843
  const adjustedDates = [start, end].map(
848
844
  (date) => date ? date.format("DD-MM-YYYY") : null
849
845
  );
846
+ console.log("2", adjustedDates);
850
847
  props.onChange && props.onChange(adjustedDates);
851
848
  } else {
852
849
  props.onChange && props.onChange("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta29",
3
+ "version": "0.0.15-Beta30",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",