willba-component-library 0.0.53 → 0.0.55
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 +5371 -1953
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5413 -1977
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +5413 -1977
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +4 -4
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@ import { useTranslation } from 'react-i18next'
|
|
|
4
4
|
import Divider from './components/divider/Divider'
|
|
5
5
|
import SelectButton from './components/select-button/SelectButton'
|
|
6
6
|
import SubmitButton from './components/submit-button/SubmitButton'
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import Calendar from './components/calendar/Calendar'
|
|
8
|
+
import Guests from './components/guests/Guests'
|
|
9
9
|
import Categories from './components/categories/Categories'
|
|
10
10
|
|
|
11
11
|
import useTheme from '../../themes/useTheme'
|
|
@@ -79,7 +79,7 @@ export default function FilterBar({ vendor, language }: FilterBarProps) {
|
|
|
79
79
|
|
|
80
80
|
{selectedFilter && (
|
|
81
81
|
<div className="will-filter-bar-container">
|
|
82
|
-
{
|
|
82
|
+
{(selectedFilter === 1 || selectedFilter === 2) && (
|
|
83
83
|
<Calendar
|
|
84
84
|
calendarRange={calendarRange}
|
|
85
85
|
setCalendarRange={setCalendarRange}
|
|
@@ -94,7 +94,7 @@ export default function FilterBar({ vendor, language }: FilterBarProps) {
|
|
|
94
94
|
decrementKids={() => setGuestsKids(guestsKids - 1)}
|
|
95
95
|
incrementKids={() => setGuestsKids(guestsKids + 1)}
|
|
96
96
|
/>
|
|
97
|
-
)}
|
|
97
|
+
)}
|
|
98
98
|
{selectedFilter === 4 && (
|
|
99
99
|
<Categories
|
|
100
100
|
categories={categories}
|