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.esm.js CHANGED
@@ -7896,13 +7896,15 @@ function Calendar(_a) {
7896
7896
  var calendarRange = _a.calendarRange, setCalendarRange = _a.setCalendarRange;
7897
7897
  //const { t } = useTranslation('filterBar')
7898
7898
  var isTablet = reactResponsiveExports.useMediaQuery({ maxWidth: 960 });
7899
- var defaultCalendarSelected = {
7900
- from: currentMonth,
7901
- to: addDays(currentMonth, 0),
7902
- };
7899
+ // Add default selection
7900
+ // const defaultCalendarSelected: DateRange = {
7901
+ // from: currentMonth,
7902
+ // to: addDays(currentMonth, 0),
7903
+ // }
7904
+ //--------------//----------------
7903
7905
  useEffect(function () {
7904
7906
  if (!calendarRange)
7905
- setCalendarRange(defaultCalendarSelected);
7907
+ setCalendarRange(undefined);
7906
7908
  }, []);
7907
7909
  return (React__default__default.createElement("div", { className: "will-filter-bar-calendar" },
7908
7910
  React__default__default.createElement("div", { className: "will-calendar-filter-container" },