@apexcura/ui-components 0.0.14-Beta189 → 0.0.14-Beta190

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
@@ -969,7 +969,7 @@ var DateRangePickerElement = (props) => {
969
969
  if (dates) {
970
970
  props.onChange && props.onChange(dateStrings);
971
971
  } else {
972
- props.onChange && props.onChange("clear");
972
+ props.onChange && props.onChange("");
973
973
  }
974
974
  };
975
975
  const rangePresets = [
@@ -987,7 +987,7 @@ var DateRangePickerElement = (props) => {
987
987
  disabledDate,
988
988
  presets: rangePresets,
989
989
  onChange: handleChange,
990
- value: value ? [(0, import_dayjs2.default)(value[0]), (0, import_dayjs2.default)(value[1])] : void 0
990
+ value: value && [(0, import_dayjs2.default)(value[0]), (0, import_dayjs2.default)(value[1])]
991
991
  }
992
992
  ));
993
993
  };
package/dist/index.mjs CHANGED
@@ -903,7 +903,7 @@ var DateRangePickerElement = (props) => {
903
903
  if (dates) {
904
904
  props.onChange && props.onChange(dateStrings);
905
905
  } else {
906
- props.onChange && props.onChange("clear");
906
+ props.onChange && props.onChange("");
907
907
  }
908
908
  };
909
909
  const rangePresets = [
@@ -921,7 +921,7 @@ var DateRangePickerElement = (props) => {
921
921
  disabledDate,
922
922
  presets: rangePresets,
923
923
  onChange: handleChange,
924
- value: value ? [dayjs2(value[0]), dayjs2(value[1])] : void 0
924
+ value: value && [dayjs2(value[0]), dayjs2(value[1])]
925
925
  }
926
926
  ));
927
927
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta189",
3
+ "version": "0.0.14-Beta190",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",