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