willba-component-library 0.2.37 → 0.2.38
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.esm.js +3 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +3 -2
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterCalendar/FilterCalendar.tsx +2 -2
- package/src/core/components/calendar/Calendar.tsx +2 -0
package/lib/index.esm.js
CHANGED
|
@@ -10904,6 +10904,7 @@ var Calendar = forwardRef(function (_a, ref) {
|
|
|
10904
10904
|
var tooltipClone = loadingSpinner.cloneNode(true);
|
|
10905
10905
|
calendarMonthContainer.appendChild(tooltipClone);
|
|
10906
10906
|
tooltipClonesSpinner.push(tooltipClone);
|
|
10907
|
+
loadingSpinner.remove();
|
|
10907
10908
|
}
|
|
10908
10909
|
if (calendarTooltipOverlappingDate &&
|
|
10909
10910
|
calendarOverlappingDate.length > 0) {
|
|
@@ -11536,13 +11537,13 @@ function FilterCalendar(_a) {
|
|
|
11536
11537
|
React__default__default.createElement("div", { className: "will-calendar-footer-dates" },
|
|
11537
11538
|
React__default__default.createElement("div", null,
|
|
11538
11539
|
React__default__default.createElement("span", null, parseDate({
|
|
11539
|
-
date: calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.from,
|
|
11540
|
+
date: (initialCalendarRange === null || initialCalendarRange === void 0 ? void 0 : initialCalendarRange.from) || (calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.from),
|
|
11540
11541
|
dateFormat: 'EEEEEE d.M.yyyy',
|
|
11541
11542
|
language: language,
|
|
11542
11543
|
}) || t('common:checkIn')),
|
|
11543
11544
|
React__default__default.createElement("span", { className: "will-calendar-footer-dates-separator" }, "-"),
|
|
11544
11545
|
React__default__default.createElement("span", null, parseDate({
|
|
11545
|
-
date: calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.to,
|
|
11546
|
+
date: (initialCalendarRange === null || initialCalendarRange === void 0 ? void 0 : initialCalendarRange.to) || (calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.to),
|
|
11546
11547
|
dateFormat: 'EEEEEE d.M.yyyy',
|
|
11547
11548
|
language: language,
|
|
11548
11549
|
}) || t('common:checkOut'))),
|