willba-component-library 0.1.39 → 0.1.40
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/hooks/useCloseFilterSection.d.ts +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +2 -2
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.css +0 -5
- package/src/components/FilterBar/FilterBar.tsx +1 -4
- package/src/components/FilterBar/hooks/useCloseFilterSection.tsx +1 -1
package/package.json
CHANGED
|
@@ -80,10 +80,7 @@ export default function FilterBar({
|
|
|
80
80
|
const parsedGuests = parseGuests({ ageCategoryCounts, ageCategories })
|
|
81
81
|
|
|
82
82
|
return (
|
|
83
|
-
<div
|
|
84
|
-
className={`will-root ${selectedFilter ? 'isMobileAbsolute' : ''}`}
|
|
85
|
-
style={themePalette}
|
|
86
|
-
>
|
|
83
|
+
<div className={`will-root`} style={themePalette}>
|
|
87
84
|
{!currentViewApply && (
|
|
88
85
|
<div
|
|
89
86
|
className="will-filter-bar-tabs"
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export const useCloseFilterSection = ({ handleSelectedFilter }: Props) => {
|
|
8
|
-
const filtersRef = useRef<HTMLDivElement>(null)
|
|
8
|
+
const filtersRef = useRef<HTMLDivElement | null>(null)
|
|
9
9
|
|
|
10
10
|
useEffect(() => {
|
|
11
11
|
const handleClickOutside = (event: MouseEvent) => {
|