willba-component-library 0.1.66 → 0.1.67
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
|
@@ -11075,6 +11075,7 @@ var Calendar = React__default.forwardRef(function (_a, ref) {
|
|
|
11075
11075
|
var today = startOfDay(new Date());
|
|
11076
11076
|
var daysToOffsetCalendar = calendarOffset &&
|
|
11077
11077
|
((_b = Object.entries(calendarOffset)) === null || _b === void 0 ? void 0 : _b.find(function (page) { return selectedPath.substring(1) === page[0]; }));
|
|
11078
|
+
console.log(daysToOffsetCalendar);
|
|
11078
11079
|
var disabledDays = [
|
|
11079
11080
|
{
|
|
11080
11081
|
from: addDays(today, !!(daysToOffsetCalendar === null || daysToOffsetCalendar === void 0 ? void 0 : daysToOffsetCalendar.length) ? daysToOffsetCalendar[1] : -2),
|