willba-component-library 0.2.91 → 0.2.93

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/lib/index.js CHANGED
@@ -11211,9 +11211,7 @@ var disabledDatesByPage = function (_a) {
11211
11211
  return daysToOffsetCalendar.length
11212
11212
  ? [
11213
11213
  {
11214
- from: addDays(today, daysToOffsetCalendar.length && ((_c = daysToOffsetCalendar[0]) === null || _c === void 0 ? void 0 : _c.offset)
11215
- ? (_d = daysToOffsetCalendar[0]) === null || _d === void 0 ? void 0 : _d.offset
11216
- : -2),
11214
+ from: addDays(today, (_d = (_c = daysToOffsetCalendar[0]) === null || _c === void 0 ? void 0 : _c.offset) !== null && _d !== void 0 ? _d : -1),
11217
11215
  to: addDays(today, -100),
11218
11216
  },
11219
11217
  ]