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.js CHANGED
@@ -10924,6 +10924,7 @@ var Calendar = React__default.forwardRef(function (_a, ref) {
10924
10924
  var tooltipClone = loadingSpinner.cloneNode(true);
10925
10925
  calendarMonthContainer.appendChild(tooltipClone);
10926
10926
  tooltipClonesSpinner.push(tooltipClone);
10927
+ loadingSpinner.remove();
10927
10928
  }
10928
10929
  if (calendarTooltipOverlappingDate &&
10929
10930
  calendarOverlappingDate.length > 0) {
@@ -11556,13 +11557,13 @@ function FilterCalendar(_a) {
11556
11557
  React__default.createElement("div", { className: "will-calendar-footer-dates" },
11557
11558
  React__default.createElement("div", null,
11558
11559
  React__default.createElement("span", null, parseDate({
11559
- date: calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.from,
11560
+ date: (initialCalendarRange === null || initialCalendarRange === void 0 ? void 0 : initialCalendarRange.from) || (calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.from),
11560
11561
  dateFormat: 'EEEEEE d.M.yyyy',
11561
11562
  language: language,
11562
11563
  }) || t('common:checkIn')),
11563
11564
  React__default.createElement("span", { className: "will-calendar-footer-dates-separator" }, "-"),
11564
11565
  React__default.createElement("span", null, parseDate({
11565
- date: calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.to,
11566
+ date: (initialCalendarRange === null || initialCalendarRange === void 0 ? void 0 : initialCalendarRange.to) || (calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.to),
11566
11567
  dateFormat: 'EEEEEE d.M.yyyy',
11567
11568
  language: language,
11568
11569
  }) || t('common:checkOut'))),