willba-component-library 0.1.15 → 0.1.16

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
@@ -7916,13 +7916,15 @@ function Calendar(_a) {
7916
7916
  var calendarRange = _a.calendarRange, setCalendarRange = _a.setCalendarRange;
7917
7917
  //const { t } = useTranslation('filterBar')
7918
7918
  var isTablet = reactResponsiveExports.useMediaQuery({ maxWidth: 960 });
7919
- var defaultCalendarSelected = {
7920
- from: currentMonth,
7921
- to: addDays(currentMonth, 0),
7922
- };
7919
+ // Add default selection
7920
+ // const defaultCalendarSelected: DateRange = {
7921
+ // from: currentMonth,
7922
+ // to: addDays(currentMonth, 0),
7923
+ // }
7924
+ //--------------//----------------
7923
7925
  React__default.useEffect(function () {
7924
7926
  if (!calendarRange)
7925
- setCalendarRange(defaultCalendarSelected);
7927
+ setCalendarRange(undefined);
7926
7928
  }, []);
7927
7929
  return (React__default.createElement("div", { className: "will-filter-bar-calendar" },
7928
7930
  React__default.createElement("div", { className: "will-calendar-filter-container" },