willba-component-library 0.1.61 → 0.1.63
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/components/FilterBar/FilterBar.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +6 -7
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +6 -7
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +6 -7
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +7 -7
package/lib/index.js
CHANGED
|
@@ -11148,12 +11148,12 @@ function FilterBar(_a) {
|
|
|
11148
11148
|
// Handle close filter section
|
|
11149
11149
|
var filtersRef = useCloseFilterSection({ handleSelectedFilter: handleSelectedFilter }).filtersRef;
|
|
11150
11150
|
// Display component after fully loaded
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11151
|
+
// const [initialRenderComplete, setInitialRenderComplete] =
|
|
11152
|
+
// useState<boolean>(false)
|
|
11153
|
+
// useEffect(() => {
|
|
11154
|
+
// setInitialRenderComplete(true)
|
|
11155
|
+
// }, [])
|
|
11156
|
+
// if (!initialRenderComplete) return null
|
|
11157
11157
|
//----/----
|
|
11158
11158
|
// Parsed data for filter section description
|
|
11159
11159
|
var parsedDates = parseDates({ calendarRange: calendarRange });
|
|
@@ -11164,7 +11164,6 @@ function FilterBar(_a) {
|
|
|
11164
11164
|
guestLabel: t('guests.guestLabel'),
|
|
11165
11165
|
guestsLabel: t('guests.guestsLabel'),
|
|
11166
11166
|
});
|
|
11167
|
-
console.log(parsedGuests);
|
|
11168
11167
|
return (React__default.createElement("div", { className: "will-root ".concat(fullWidth ? 'is-full-width' : ''), style: themePalette },
|
|
11169
11168
|
!currentViewApply && (React__default.createElement("div", { className: "will-filter-bar-tabs", ref: !currentViewApply ? targetFilterBarRef : null },
|
|
11170
11169
|
React__default.createElement(TabButton, { label: t('tabs.events'), onClick: function () {
|