@nulogy/components 6.6.2 → 6.6.3

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/main.js CHANGED
@@ -43626,7 +43626,7 @@
43626
43626
  var error;
43627
43627
 
43628
43628
  if (endDate && startDate) {
43629
- if (isBefore$1(endDate, startDate)) {
43629
+ if (isBefore$1(endDate, startDate) && (showTimes || !isSameDay$1(endDate, startDate))) {
43630
43630
  error = "end date is before start date";
43631
43631
  }
43632
43632
 
@@ -43600,7 +43600,7 @@ var DateRange = /*#__PURE__*/forwardRef(function (_a, ref) {
43600
43600
  var error;
43601
43601
 
43602
43602
  if (endDate && startDate) {
43603
- if (isBefore$1(endDate, startDate)) {
43603
+ if (isBefore$1(endDate, startDate) && (showTimes || !isSameDay$1(endDate, startDate))) {
43604
43604
  error = "end date is before start date";
43605
43605
  }
43606
43606
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "6.6.2",
3
+ "version": "6.6.3",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {