@apexcura/ui-components 0.0.14-Beta291 → 0.0.14-Beta293

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
@@ -899,7 +899,7 @@ var DateRangePickerElement = (props) => {
899
899
  ];
900
900
  const disabledDate = (current) => {
901
901
  if (props.weekrange) {
902
- return current && (current < today.subtract(7, "d") || current > today.add(7, "d"));
902
+ return current && current < today.subtract(7, "d") || current > today;
903
903
  }
904
904
  return current && current > today;
905
905
  };
package/dist/index.mjs CHANGED
@@ -832,7 +832,7 @@ var DateRangePickerElement = (props) => {
832
832
  ];
833
833
  const disabledDate = (current) => {
834
834
  if (props.weekrange) {
835
- return current && (current < today.subtract(7, "d") || current > today.add(7, "d"));
835
+ return current && current < today.subtract(7, "d") || current > today;
836
836
  }
837
837
  return current && current > today;
838
838
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta291",
3
+ "version": "0.0.14-Beta293",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",