@oxy.so/bloom 2.7.0 → 2.9.0
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/README.md +4 -3
- package/docs/booking.mdx +213 -0
- package/docs/category-bar.mdx +83 -0
- package/docs/listing-card.mdx +132 -0
- package/docs/listing-details.mdx +180 -0
- package/docs/map-marker.mdx +115 -0
- package/docs/rating.mdx +51 -0
- package/docs/settings-list.mdx +22 -0
- package/docs/stay-filters.mdx +253 -0
- package/docs/stay-search.mdx +197 -0
- package/docs/stepper.mdx +73 -0
- package/lib/commonjs/booking/BookingBar.js +109 -0
- package/lib/commonjs/booking/BookingBar.js.map +1 -0
- package/lib/commonjs/booking/BookingCard.js +368 -0
- package/lib/commonjs/booking/BookingCard.js.map +1 -0
- package/lib/commonjs/booking/BookingLink.js +90 -0
- package/lib/commonjs/booking/BookingLink.js.map +1 -0
- package/lib/commonjs/booking/BookingPrice.js +75 -0
- package/lib/commonjs/booking/BookingPrice.js.map +1 -0
- package/lib/commonjs/booking/PriceBreakdown.js +132 -0
- package/lib/commonjs/booking/PriceBreakdown.js.map +1 -0
- package/lib/commonjs/booking/TripCard.js +225 -0
- package/lib/commonjs/booking/TripCard.js.map +1 -0
- package/lib/commonjs/booking/constants.js +26 -0
- package/lib/commonjs/booking/constants.js.map +1 -0
- package/lib/commonjs/booking/index.js +41 -0
- package/lib/commonjs/booking/index.js.map +1 -0
- package/lib/commonjs/booking/shared.js +104 -0
- package/lib/commonjs/booking/shared.js.map +1 -0
- package/lib/commonjs/booking/types.js +6 -0
- package/lib/commonjs/booking/types.js.map +1 -0
- package/lib/commonjs/category-bar/CategoryBar.js +499 -0
- package/lib/commonjs/category-bar/CategoryBar.js.map +1 -0
- package/lib/commonjs/category-bar/index.js +13 -0
- package/lib/commonjs/category-bar/index.js.map +1 -0
- package/lib/commonjs/category-bar/types.js +6 -0
- package/lib/commonjs/category-bar/types.js.map +1 -0
- package/lib/commonjs/dialog/DialogBottomSheet.js +14 -0
- package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/commonjs/icons/remix/RiAncientGateLine.js +12 -0
- package/lib/commonjs/icons/remix/RiAncientGateLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiAncientPavilionLine.js +12 -0
- package/lib/commonjs/icons/remix/RiAncientPavilionLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiBikeLine.js +12 -0
- package/lib/commonjs/icons/remix/RiBikeLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiBriefcase4Line.js +12 -0
- package/lib/commonjs/icons/remix/RiBriefcase4Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiCactusLine.js +12 -0
- package/lib/commonjs/icons/remix/RiCactusLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiCalendarCloseLine.js +12 -0
- package/lib/commonjs/icons/remix/RiCalendarCloseLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiDoorOpenLine.js +12 -0
- package/lib/commonjs/icons/remix/RiDoorOpenLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiFridgeLine.js +12 -0
- package/lib/commonjs/icons/remix/RiFridgeLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiGolfBallLine.js +12 -0
- package/lib/commonjs/icons/remix/RiGolfBallLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiHeart3Fill.js +12 -0
- package/lib/commonjs/icons/remix/RiHeart3Fill.js.map +1 -0
- package/lib/commonjs/icons/remix/RiHeart3Line.js +12 -0
- package/lib/commonjs/icons/remix/RiHeart3Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiLandscapeLine.js +12 -0
- package/lib/commonjs/icons/remix/RiLandscapeLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiMapPin2Line.js +12 -0
- package/lib/commonjs/icons/remix/RiMapPin2Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiMedalLine.js +12 -0
- package/lib/commonjs/icons/remix/RiMedalLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiParkingBoxLine.js +12 -0
- package/lib/commonjs/icons/remix/RiParkingBoxLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiPlantLine.js +12 -0
- package/lib/commonjs/icons/remix/RiPlantLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiSailboatLine.js +12 -0
- package/lib/commonjs/icons/remix/RiSailboatLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiShareLine.js +12 -0
- package/lib/commonjs/icons/remix/RiShareLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiShip2Line.js +12 -0
- package/lib/commonjs/icons/remix/RiShip2Line.js.map +1 -0
- package/lib/commonjs/icons/remix/RiSubtractLine.js +12 -0
- package/lib/commonjs/icons/remix/RiSubtractLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTShirtAirLine.js +12 -0
- package/lib/commonjs/icons/remix/RiTShirtAirLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTempColdLine.js +12 -0
- package/lib/commonjs/icons/remix/RiTempColdLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTentLine.js +12 -0
- package/lib/commonjs/icons/remix/RiTentLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTranslate2.js +12 -0
- package/lib/commonjs/icons/remix/RiTranslate2.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTreeLine.js +12 -0
- package/lib/commonjs/icons/remix/RiTreeLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiTvLine.js +12 -0
- package/lib/commonjs/icons/remix/RiTvLine.js.map +1 -0
- package/lib/commonjs/icons/remix/RiWifiLine.js +12 -0
- package/lib/commonjs/icons/remix/RiWifiLine.js.map +1 -0
- package/lib/commonjs/icons/remix/index.js +189 -0
- package/lib/commonjs/icons/remix/index.js.map +1 -1
- package/lib/commonjs/index.js +333 -54
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +333 -54
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/listing-card/FavoriteButton.js +110 -0
- package/lib/commonjs/listing-card/FavoriteButton.js.map +1 -0
- package/lib/commonjs/listing-card/ListingCard.js +601 -0
- package/lib/commonjs/listing-card/ListingCard.js.map +1 -0
- package/lib/commonjs/listing-card/ListingCardGrid.js +70 -0
- package/lib/commonjs/listing-card/ListingCardGrid.js.map +1 -0
- package/lib/commonjs/listing-card/WishlistCard.js +201 -0
- package/lib/commonjs/listing-card/WishlistCard.js.map +1 -0
- package/lib/commonjs/listing-card/index.js +34 -0
- package/lib/commonjs/listing-card/index.js.map +1 -0
- package/lib/commonjs/listing-card/shared.js +179 -0
- package/lib/commonjs/listing-card/shared.js.map +1 -0
- package/lib/commonjs/listing-card/types.js +6 -0
- package/lib/commonjs/listing-card/types.js.map +1 -0
- package/lib/commonjs/listing-details/AmenityList.js +126 -0
- package/lib/commonjs/listing-details/AmenityList.js.map +1 -0
- package/lib/commonjs/listing-details/HostCard.js +274 -0
- package/lib/commonjs/listing-details/HostCard.js.map +1 -0
- package/lib/commonjs/listing-details/ListingHeader.js +262 -0
- package/lib/commonjs/listing-details/ListingHeader.js.map +1 -0
- package/lib/commonjs/listing-details/ListingHighlights.js +86 -0
- package/lib/commonjs/listing-details/ListingHighlights.js.map +1 -0
- package/lib/commonjs/listing-details/ListingPhotoGrid.js +295 -0
- package/lib/commonjs/listing-details/ListingPhotoGrid.js.map +1 -0
- package/lib/commonjs/listing-details/ListingSection.js +80 -0
- package/lib/commonjs/listing-details/ListingSection.js.map +1 -0
- package/lib/commonjs/listing-details/ReviewCard.js +269 -0
- package/lib/commonjs/listing-details/ReviewCard.js.map +1 -0
- package/lib/commonjs/listing-details/ReviewSummary.js +202 -0
- package/lib/commonjs/listing-details/ReviewSummary.js.map +1 -0
- package/lib/commonjs/listing-details/constants.js +21 -0
- package/lib/commonjs/listing-details/constants.js.map +1 -0
- package/lib/commonjs/listing-details/index.js +81 -0
- package/lib/commonjs/listing-details/index.js.map +1 -0
- package/lib/commonjs/listing-details/shared.js +105 -0
- package/lib/commonjs/listing-details/shared.js.map +1 -0
- package/lib/commonjs/listing-details/types.js +6 -0
- package/lib/commonjs/listing-details/types.js.map +1 -0
- package/lib/commonjs/listing-details/use-container-width.js +26 -0
- package/lib/commonjs/listing-details/use-container-width.js.map +1 -0
- package/lib/commonjs/map-marker/MapClusterMarker.js +98 -0
- package/lib/commonjs/map-marker/MapClusterMarker.js.map +1 -0
- package/lib/commonjs/map-marker/MapListingPreview.js +320 -0
- package/lib/commonjs/map-marker/MapListingPreview.js.map +1 -0
- package/lib/commonjs/map-marker/MapPriceMarker.js +116 -0
- package/lib/commonjs/map-marker/MapPriceMarker.js.map +1 -0
- package/lib/commonjs/map-marker/MapSearchAreaButton.js +127 -0
- package/lib/commonjs/map-marker/MapSearchAreaButton.js.map +1 -0
- package/lib/commonjs/map-marker/index.js +34 -0
- package/lib/commonjs/map-marker/index.js.map +1 -0
- package/lib/commonjs/map-marker/shared.js +92 -0
- package/lib/commonjs/map-marker/shared.js.map +1 -0
- package/lib/commonjs/map-marker/types.js +6 -0
- package/lib/commonjs/map-marker/types.js.map +1 -0
- package/lib/commonjs/rating/Rating.js +103 -0
- package/lib/commonjs/rating/Rating.js.map +1 -0
- package/lib/commonjs/rating/RatingBar.js +109 -0
- package/lib/commonjs/rating/RatingBar.js.map +1 -0
- package/lib/commonjs/rating/index.js +20 -0
- package/lib/commonjs/rating/index.js.map +1 -0
- package/lib/commonjs/rating/types.js +6 -0
- package/lib/commonjs/rating/types.js.map +1 -0
- package/lib/commonjs/settings-list/SettingsList.js +3 -2
- package/lib/commonjs/settings-list/SettingsList.js.map +1 -1
- package/lib/commonjs/stay-filters/AmenityFilter.js +61 -0
- package/lib/commonjs/stay-filters/AmenityFilter.js.map +1 -0
- package/lib/commonjs/stay-filters/CountFilter.js +101 -0
- package/lib/commonjs/stay-filters/CountFilter.js.map +1 -0
- package/lib/commonjs/stay-filters/FilterChip.js +156 -0
- package/lib/commonjs/stay-filters/FilterChip.js.map +1 -0
- package/lib/commonjs/stay-filters/FilterFooter.js +77 -0
- package/lib/commonjs/stay-filters/FilterFooter.js.map +1 -0
- package/lib/commonjs/stay-filters/FilterSection.js +80 -0
- package/lib/commonjs/stay-filters/FilterSection.js.map +1 -0
- package/lib/commonjs/stay-filters/FilterTextButton.js +116 -0
- package/lib/commonjs/stay-filters/FilterTextButton.js.map +1 -0
- package/lib/commonjs/stay-filters/FilterTriggerButton.js +60 -0
- package/lib/commonjs/stay-filters/FilterTriggerButton.js.map +1 -0
- package/lib/commonjs/stay-filters/PriceHistogram.js +88 -0
- package/lib/commonjs/stay-filters/PriceHistogram.js.map +1 -0
- package/lib/commonjs/stay-filters/PriceRangeFilter.js +152 -0
- package/lib/commonjs/stay-filters/PriceRangeFilter.js.map +1 -0
- package/lib/commonjs/stay-filters/SegmentedFilter.js +44 -0
- package/lib/commonjs/stay-filters/SegmentedFilter.js.map +1 -0
- package/lib/commonjs/stay-filters/SwitchFilterRow.js +70 -0
- package/lib/commonjs/stay-filters/SwitchFilterRow.js.map +1 -0
- package/lib/commonjs/stay-filters/ToggleChipGroup.js +59 -0
- package/lib/commonjs/stay-filters/ToggleChipGroup.js.map +1 -0
- package/lib/commonjs/stay-filters/index.js +76 -0
- package/lib/commonjs/stay-filters/index.js.map +1 -0
- package/lib/commonjs/stay-filters/types.js +6 -0
- package/lib/commonjs/stay-filters/types.js.map +1 -0
- package/lib/commonjs/stay-search/DateFlexibilityChips.js +54 -0
- package/lib/commonjs/stay-search/DateFlexibilityChips.js.map +1 -0
- package/lib/commonjs/stay-search/DestinationSuggestions.js +178 -0
- package/lib/commonjs/stay-search/DestinationSuggestions.js.map +1 -0
- package/lib/commonjs/stay-search/GuestPicker.js +105 -0
- package/lib/commonjs/stay-search/GuestPicker.js.map +1 -0
- package/lib/commonjs/stay-search/StaySearchBar.js +347 -0
- package/lib/commonjs/stay-search/StaySearchBar.js.map +1 -0
- package/lib/commonjs/stay-search/StaySearchCompact.js +143 -0
- package/lib/commonjs/stay-search/StaySearchCompact.js.map +1 -0
- package/lib/commonjs/stay-search/StaySearchPanel.js +52 -0
- package/lib/commonjs/stay-search/StaySearchPanel.js.map +1 -0
- package/lib/commonjs/stay-search/StaySearchStep.js +136 -0
- package/lib/commonjs/stay-search/StaySearchStep.js.map +1 -0
- package/lib/commonjs/stay-search/constants.js +67 -0
- package/lib/commonjs/stay-search/constants.js.map +1 -0
- package/lib/commonjs/stay-search/context.js +20 -0
- package/lib/commonjs/stay-search/context.js.map +1 -0
- package/lib/commonjs/stay-search/guests.js +30 -0
- package/lib/commonjs/stay-search/guests.js.map +1 -0
- package/lib/commonjs/stay-search/index.js +68 -0
- package/lib/commonjs/stay-search/index.js.map +1 -0
- package/lib/commonjs/stay-search/palette.js +77 -0
- package/lib/commonjs/stay-search/palette.js.map +1 -0
- package/lib/commonjs/stay-search/types.js +6 -0
- package/lib/commonjs/stay-search/types.js.map +1 -0
- package/lib/commonjs/stepper/Stepper.js +220 -0
- package/lib/commonjs/stepper/Stepper.js.map +1 -0
- package/lib/commonjs/stepper/StepperRow.js +76 -0
- package/lib/commonjs/stepper/StepperRow.js.map +1 -0
- package/lib/commonjs/stepper/index.js +20 -0
- package/lib/commonjs/stepper/index.js.map +1 -0
- package/lib/commonjs/stepper/types.js +6 -0
- package/lib/commonjs/stepper/types.js.map +1 -0
- package/lib/module/booking/BookingBar.js +104 -0
- package/lib/module/booking/BookingBar.js.map +1 -0
- package/lib/module/booking/BookingCard.js +363 -0
- package/lib/module/booking/BookingCard.js.map +1 -0
- package/lib/module/booking/BookingLink.js +85 -0
- package/lib/module/booking/BookingLink.js.map +1 -0
- package/lib/module/booking/BookingPrice.js +70 -0
- package/lib/module/booking/BookingPrice.js.map +1 -0
- package/lib/module/booking/PriceBreakdown.js +127 -0
- package/lib/module/booking/PriceBreakdown.js.map +1 -0
- package/lib/module/booking/TripCard.js +220 -0
- package/lib/module/booking/TripCard.js.map +1 -0
- package/lib/module/booking/constants.js +22 -0
- package/lib/module/booking/constants.js.map +1 -0
- package/lib/module/booking/index.js +8 -0
- package/lib/module/booking/index.js.map +1 -0
- package/lib/module/booking/shared.js +95 -0
- package/lib/module/booking/shared.js.map +1 -0
- package/lib/module/booking/types.js +4 -0
- package/lib/module/booking/types.js.map +1 -0
- package/lib/module/category-bar/CategoryBar.js +490 -0
- package/lib/module/category-bar/CategoryBar.js.map +1 -0
- package/lib/module/category-bar/index.js +4 -0
- package/lib/module/category-bar/index.js.map +1 -0
- package/lib/module/category-bar/types.js +4 -0
- package/lib/module/category-bar/types.js.map +1 -0
- package/lib/module/dialog/DialogBottomSheet.js +14 -0
- package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
- package/lib/module/icons/remix/RiAncientGateLine.js +9 -0
- package/lib/module/icons/remix/RiAncientGateLine.js.map +1 -0
- package/lib/module/icons/remix/RiAncientPavilionLine.js +9 -0
- package/lib/module/icons/remix/RiAncientPavilionLine.js.map +1 -0
- package/lib/module/icons/remix/RiBikeLine.js +9 -0
- package/lib/module/icons/remix/RiBikeLine.js.map +1 -0
- package/lib/module/icons/remix/RiBriefcase4Line.js +9 -0
- package/lib/module/icons/remix/RiBriefcase4Line.js.map +1 -0
- package/lib/module/icons/remix/RiCactusLine.js +9 -0
- package/lib/module/icons/remix/RiCactusLine.js.map +1 -0
- package/lib/module/icons/remix/RiCalendarCloseLine.js +9 -0
- package/lib/module/icons/remix/RiCalendarCloseLine.js.map +1 -0
- package/lib/module/icons/remix/RiDoorOpenLine.js +9 -0
- package/lib/module/icons/remix/RiDoorOpenLine.js.map +1 -0
- package/lib/module/icons/remix/RiFridgeLine.js +9 -0
- package/lib/module/icons/remix/RiFridgeLine.js.map +1 -0
- package/lib/module/icons/remix/RiGolfBallLine.js +9 -0
- package/lib/module/icons/remix/RiGolfBallLine.js.map +1 -0
- package/lib/module/icons/remix/RiHeart3Fill.js +9 -0
- package/lib/module/icons/remix/RiHeart3Fill.js.map +1 -0
- package/lib/module/icons/remix/RiHeart3Line.js +9 -0
- package/lib/module/icons/remix/RiHeart3Line.js.map +1 -0
- package/lib/module/icons/remix/RiLandscapeLine.js +9 -0
- package/lib/module/icons/remix/RiLandscapeLine.js.map +1 -0
- package/lib/module/icons/remix/RiMapPin2Line.js +9 -0
- package/lib/module/icons/remix/RiMapPin2Line.js.map +1 -0
- package/lib/module/icons/remix/RiMedalLine.js +9 -0
- package/lib/module/icons/remix/RiMedalLine.js.map +1 -0
- package/lib/module/icons/remix/RiParkingBoxLine.js +9 -0
- package/lib/module/icons/remix/RiParkingBoxLine.js.map +1 -0
- package/lib/module/icons/remix/RiPlantLine.js +9 -0
- package/lib/module/icons/remix/RiPlantLine.js.map +1 -0
- package/lib/module/icons/remix/RiSailboatLine.js +9 -0
- package/lib/module/icons/remix/RiSailboatLine.js.map +1 -0
- package/lib/module/icons/remix/RiShareLine.js +9 -0
- package/lib/module/icons/remix/RiShareLine.js.map +1 -0
- package/lib/module/icons/remix/RiShip2Line.js +9 -0
- package/lib/module/icons/remix/RiShip2Line.js.map +1 -0
- package/lib/module/icons/remix/RiSubtractLine.js +9 -0
- package/lib/module/icons/remix/RiSubtractLine.js.map +1 -0
- package/lib/module/icons/remix/RiTShirtAirLine.js +9 -0
- package/lib/module/icons/remix/RiTShirtAirLine.js.map +1 -0
- package/lib/module/icons/remix/RiTempColdLine.js +9 -0
- package/lib/module/icons/remix/RiTempColdLine.js.map +1 -0
- package/lib/module/icons/remix/RiTentLine.js +9 -0
- package/lib/module/icons/remix/RiTentLine.js.map +1 -0
- package/lib/module/icons/remix/RiTranslate2.js +9 -0
- package/lib/module/icons/remix/RiTranslate2.js.map +1 -0
- package/lib/module/icons/remix/RiTreeLine.js +9 -0
- package/lib/module/icons/remix/RiTreeLine.js.map +1 -0
- package/lib/module/icons/remix/RiTvLine.js +9 -0
- package/lib/module/icons/remix/RiTvLine.js.map +1 -0
- package/lib/module/icons/remix/RiWifiLine.js +9 -0
- package/lib/module/icons/remix/RiWifiLine.js.map +1 -0
- package/lib/module/icons/remix/index.js +27 -0
- package/lib/module/icons/remix/index.js.map +1 -1
- package/lib/module/index.js +10 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +10 -0
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/listing-card/FavoriteButton.js +105 -0
- package/lib/module/listing-card/FavoriteButton.js.map +1 -0
- package/lib/module/listing-card/ListingCard.js +596 -0
- package/lib/module/listing-card/ListingCard.js.map +1 -0
- package/lib/module/listing-card/ListingCardGrid.js +65 -0
- package/lib/module/listing-card/ListingCardGrid.js.map +1 -0
- package/lib/module/listing-card/WishlistCard.js +196 -0
- package/lib/module/listing-card/WishlistCard.js.map +1 -0
- package/lib/module/listing-card/index.js +7 -0
- package/lib/module/listing-card/index.js.map +1 -0
- package/lib/module/listing-card/shared.js +169 -0
- package/lib/module/listing-card/shared.js.map +1 -0
- package/lib/module/listing-card/types.js +4 -0
- package/lib/module/listing-card/types.js.map +1 -0
- package/lib/module/listing-details/AmenityList.js +123 -0
- package/lib/module/listing-details/AmenityList.js.map +1 -0
- package/lib/module/listing-details/HostCard.js +269 -0
- package/lib/module/listing-details/HostCard.js.map +1 -0
- package/lib/module/listing-details/ListingHeader.js +259 -0
- package/lib/module/listing-details/ListingHeader.js.map +1 -0
- package/lib/module/listing-details/ListingHighlights.js +81 -0
- package/lib/module/listing-details/ListingHighlights.js.map +1 -0
- package/lib/module/listing-details/ListingPhotoGrid.js +292 -0
- package/lib/module/listing-details/ListingPhotoGrid.js.map +1 -0
- package/lib/module/listing-details/ListingSection.js +75 -0
- package/lib/module/listing-details/ListingSection.js.map +1 -0
- package/lib/module/listing-details/ReviewCard.js +264 -0
- package/lib/module/listing-details/ReviewCard.js.map +1 -0
- package/lib/module/listing-details/ReviewSummary.js +199 -0
- package/lib/module/listing-details/ReviewSummary.js.map +1 -0
- package/lib/module/listing-details/constants.js +17 -0
- package/lib/module/listing-details/constants.js.map +1 -0
- package/lib/module/listing-details/index.js +12 -0
- package/lib/module/listing-details/index.js.map +1 -0
- package/lib/module/listing-details/shared.js +97 -0
- package/lib/module/listing-details/shared.js.map +1 -0
- package/lib/module/listing-details/types.js +4 -0
- package/lib/module/listing-details/types.js.map +1 -0
- package/lib/module/listing-details/use-container-width.js +22 -0
- package/lib/module/listing-details/use-container-width.js.map +1 -0
- package/lib/module/map-marker/MapClusterMarker.js +93 -0
- package/lib/module/map-marker/MapClusterMarker.js.map +1 -0
- package/lib/module/map-marker/MapListingPreview.js +315 -0
- package/lib/module/map-marker/MapListingPreview.js.map +1 -0
- package/lib/module/map-marker/MapPriceMarker.js +111 -0
- package/lib/module/map-marker/MapPriceMarker.js.map +1 -0
- package/lib/module/map-marker/MapSearchAreaButton.js +122 -0
- package/lib/module/map-marker/MapSearchAreaButton.js.map +1 -0
- package/lib/module/map-marker/index.js +7 -0
- package/lib/module/map-marker/index.js.map +1 -0
- package/lib/module/map-marker/shared.js +85 -0
- package/lib/module/map-marker/shared.js.map +1 -0
- package/lib/module/map-marker/types.js +4 -0
- package/lib/module/map-marker/types.js.map +1 -0
- package/lib/module/rating/Rating.js +97 -0
- package/lib/module/rating/Rating.js.map +1 -0
- package/lib/module/rating/RatingBar.js +104 -0
- package/lib/module/rating/RatingBar.js.map +1 -0
- package/lib/module/rating/index.js +5 -0
- package/lib/module/rating/index.js.map +1 -0
- package/lib/module/rating/types.js +4 -0
- package/lib/module/rating/types.js.map +1 -0
- package/lib/module/settings-list/SettingsList.js +3 -2
- package/lib/module/settings-list/SettingsList.js.map +1 -1
- package/lib/module/stay-filters/AmenityFilter.js +56 -0
- package/lib/module/stay-filters/AmenityFilter.js.map +1 -0
- package/lib/module/stay-filters/CountFilter.js +96 -0
- package/lib/module/stay-filters/CountFilter.js.map +1 -0
- package/lib/module/stay-filters/FilterChip.js +151 -0
- package/lib/module/stay-filters/FilterChip.js.map +1 -0
- package/lib/module/stay-filters/FilterFooter.js +72 -0
- package/lib/module/stay-filters/FilterFooter.js.map +1 -0
- package/lib/module/stay-filters/FilterSection.js +75 -0
- package/lib/module/stay-filters/FilterSection.js.map +1 -0
- package/lib/module/stay-filters/FilterTextButton.js +113 -0
- package/lib/module/stay-filters/FilterTextButton.js.map +1 -0
- package/lib/module/stay-filters/FilterTriggerButton.js +55 -0
- package/lib/module/stay-filters/FilterTriggerButton.js.map +1 -0
- package/lib/module/stay-filters/PriceHistogram.js +82 -0
- package/lib/module/stay-filters/PriceHistogram.js.map +1 -0
- package/lib/module/stay-filters/PriceRangeFilter.js +146 -0
- package/lib/module/stay-filters/PriceRangeFilter.js.map +1 -0
- package/lib/module/stay-filters/SegmentedFilter.js +39 -0
- package/lib/module/stay-filters/SegmentedFilter.js.map +1 -0
- package/lib/module/stay-filters/SwitchFilterRow.js +65 -0
- package/lib/module/stay-filters/SwitchFilterRow.js.map +1 -0
- package/lib/module/stay-filters/ToggleChipGroup.js +54 -0
- package/lib/module/stay-filters/ToggleChipGroup.js.map +1 -0
- package/lib/module/stay-filters/index.js +13 -0
- package/lib/module/stay-filters/index.js.map +1 -0
- package/lib/module/stay-filters/types.js +4 -0
- package/lib/module/stay-filters/types.js.map +1 -0
- package/lib/module/stay-search/DateFlexibilityChips.js +49 -0
- package/lib/module/stay-search/DateFlexibilityChips.js.map +1 -0
- package/lib/module/stay-search/DestinationSuggestions.js +173 -0
- package/lib/module/stay-search/DestinationSuggestions.js.map +1 -0
- package/lib/module/stay-search/GuestPicker.js +100 -0
- package/lib/module/stay-search/GuestPicker.js.map +1 -0
- package/lib/module/stay-search/StaySearchBar.js +342 -0
- package/lib/module/stay-search/StaySearchBar.js.map +1 -0
- package/lib/module/stay-search/StaySearchCompact.js +138 -0
- package/lib/module/stay-search/StaySearchCompact.js.map +1 -0
- package/lib/module/stay-search/StaySearchPanel.js +47 -0
- package/lib/module/stay-search/StaySearchPanel.js.map +1 -0
- package/lib/module/stay-search/StaySearchStep.js +131 -0
- package/lib/module/stay-search/StaySearchStep.js.map +1 -0
- package/lib/module/stay-search/constants.js +63 -0
- package/lib/module/stay-search/constants.js.map +1 -0
- package/lib/module/stay-search/context.js +16 -0
- package/lib/module/stay-search/context.js.map +1 -0
- package/lib/module/stay-search/guests.js +25 -0
- package/lib/module/stay-search/guests.js.map +1 -0
- package/lib/module/stay-search/index.js +11 -0
- package/lib/module/stay-search/index.js.map +1 -0
- package/lib/module/stay-search/palette.js +72 -0
- package/lib/module/stay-search/palette.js.map +1 -0
- package/lib/module/stay-search/types.js +4 -0
- package/lib/module/stay-search/types.js.map +1 -0
- package/lib/module/stepper/Stepper.js +215 -0
- package/lib/module/stepper/Stepper.js.map +1 -0
- package/lib/module/stepper/StepperRow.js +71 -0
- package/lib/module/stepper/StepperRow.js.map +1 -0
- package/lib/module/stepper/index.js +5 -0
- package/lib/module/stepper/index.js.map +1 -0
- package/lib/module/stepper/types.js +4 -0
- package/lib/module/stepper/types.js.map +1 -0
- package/lib/typescript/commonjs/booking/BookingBar.d.ts +21 -0
- package/lib/typescript/commonjs/booking/BookingBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/BookingCard.d.ts +6 -0
- package/lib/typescript/commonjs/booking/BookingCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/BookingLink.d.ts +27 -0
- package/lib/typescript/commonjs/booking/BookingLink.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/BookingPrice.d.ts +20 -0
- package/lib/typescript/commonjs/booking/BookingPrice.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/PriceBreakdown.d.ts +6 -0
- package/lib/typescript/commonjs/booking/PriceBreakdown.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/TripCard.d.ts +28 -0
- package/lib/typescript/commonjs/booking/TripCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/constants.d.ts +8 -0
- package/lib/typescript/commonjs/booking/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/index.d.ts +7 -0
- package/lib/typescript/commonjs/booking/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/shared.d.ts +35 -0
- package/lib/typescript/commonjs/booking/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/booking/types.d.ts +149 -0
- package/lib/typescript/commonjs/booking/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/category-bar/CategoryBar.d.ts +36 -0
- package/lib/typescript/commonjs/category-bar/CategoryBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/category-bar/index.d.ts +3 -0
- package/lib/typescript/commonjs/category-bar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/category-bar/types.d.ts +44 -0
- package/lib/typescript/commonjs/category-bar/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/remix/RiAncientGateLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiAncientGateLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiAncientPavilionLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiAncientPavilionLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiBikeLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiBikeLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiBriefcase4Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiBriefcase4Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiCactusLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiCactusLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiCalendarCloseLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiCalendarCloseLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiDoorOpenLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiDoorOpenLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiFridgeLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiFridgeLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiGolfBallLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiGolfBallLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiHeart3Fill.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiHeart3Fill.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiHeart3Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiHeart3Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiLandscapeLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiLandscapeLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiMapPin2Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiMapPin2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiMedalLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiMedalLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiParkingBoxLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiParkingBoxLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiPlantLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiPlantLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiSailboatLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiSailboatLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiShareLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiShareLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiShip2Line.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiShip2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiSubtractLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiSubtractLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTShirtAirLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTShirtAirLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTempColdLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTempColdLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTentLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTentLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTranslate2.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTranslate2.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTreeLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTreeLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiTvLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiTvLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/RiWifiLine.d.ts +8 -0
- package/lib/typescript/commonjs/icons/remix/RiWifiLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/remix/index.d.ts +27 -0
- package/lib/typescript/commonjs/icons/remix/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +17 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +17 -0
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/listing-card/FavoriteButton.d.ts +21 -0
- package/lib/typescript/commonjs/listing-card/FavoriteButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/ListingCard.d.ts +6 -0
- package/lib/typescript/commonjs/listing-card/ListingCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/ListingCardGrid.d.ts +23 -0
- package/lib/typescript/commonjs/listing-card/ListingCardGrid.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/WishlistCard.d.ts +6 -0
- package/lib/typescript/commonjs/listing-card/WishlistCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/index.d.ts +6 -0
- package/lib/typescript/commonjs/listing-card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/shared.d.ts +67 -0
- package/lib/typescript/commonjs/listing-card/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-card/types.d.ts +129 -0
- package/lib/typescript/commonjs/listing-card/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/AmenityList.d.ts +6 -0
- package/lib/typescript/commonjs/listing-details/AmenityList.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/HostCard.d.ts +22 -0
- package/lib/typescript/commonjs/listing-details/HostCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ListingHeader.d.ts +8 -0
- package/lib/typescript/commonjs/listing-details/ListingHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ListingHighlights.d.ts +14 -0
- package/lib/typescript/commonjs/listing-details/ListingHighlights.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ListingPhotoGrid.d.ts +6 -0
- package/lib/typescript/commonjs/listing-details/ListingPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ListingSection.d.ts +15 -0
- package/lib/typescript/commonjs/listing-details/ListingSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ReviewCard.d.ts +6 -0
- package/lib/typescript/commonjs/listing-details/ReviewCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/ReviewSummary.d.ts +6 -0
- package/lib/typescript/commonjs/listing-details/ReviewSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/constants.d.ts +15 -0
- package/lib/typescript/commonjs/listing-details/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/index.d.ts +11 -0
- package/lib/typescript/commonjs/listing-details/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/shared.d.ts +42 -0
- package/lib/typescript/commonjs/listing-details/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/types.d.ts +238 -0
- package/lib/typescript/commonjs/listing-details/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/listing-details/use-container-width.d.ts +13 -0
- package/lib/typescript/commonjs/listing-details/use-container-width.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/MapClusterMarker.d.ts +6 -0
- package/lib/typescript/commonjs/map-marker/MapClusterMarker.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/MapListingPreview.d.ts +6 -0
- package/lib/typescript/commonjs/map-marker/MapListingPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/MapPriceMarker.d.ts +6 -0
- package/lib/typescript/commonjs/map-marker/MapPriceMarker.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/MapSearchAreaButton.d.ts +6 -0
- package/lib/typescript/commonjs/map-marker/MapSearchAreaButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/index.d.ts +6 -0
- package/lib/typescript/commonjs/map-marker/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/shared.d.ts +30 -0
- package/lib/typescript/commonjs/map-marker/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/map-marker/types.d.ts +94 -0
- package/lib/typescript/commonjs/map-marker/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/Rating.d.ts +8 -0
- package/lib/typescript/commonjs/rating/Rating.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/RatingBar.d.ts +6 -0
- package/lib/typescript/commonjs/rating/RatingBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/index.d.ts +4 -0
- package/lib/typescript/commonjs/rating/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/rating/types.d.ts +49 -0
- package/lib/typescript/commonjs/rating/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-list/index.d.ts +1 -1
- package/lib/typescript/commonjs/settings-list/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-list/types.d.ts +10 -0
- package/lib/typescript/commonjs/settings-list/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/stay-filters/AmenityFilter.d.ts +15 -0
- package/lib/typescript/commonjs/stay-filters/AmenityFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts +21 -0
- package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/FilterChip.d.ts +17 -0
- package/lib/typescript/commonjs/stay-filters/FilterChip.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/FilterFooter.d.ts +19 -0
- package/lib/typescript/commonjs/stay-filters/FilterFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/FilterSection.d.ts +19 -0
- package/lib/typescript/commonjs/stay-filters/FilterSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/FilterTextButton.d.ts +13 -0
- package/lib/typescript/commonjs/stay-filters/FilterTextButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/FilterTriggerButton.d.ts +14 -0
- package/lib/typescript/commonjs/stay-filters/FilterTriggerButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/PriceHistogram.d.ts +22 -0
- package/lib/typescript/commonjs/stay-filters/PriceHistogram.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/PriceRangeFilter.d.ts +8 -0
- package/lib/typescript/commonjs/stay-filters/PriceRangeFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/SegmentedFilter.d.ts +12 -0
- package/lib/typescript/commonjs/stay-filters/SegmentedFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/SwitchFilterRow.d.ts +14 -0
- package/lib/typescript/commonjs/stay-filters/SwitchFilterRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts +17 -0
- package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/index.d.ts +12 -0
- package/lib/typescript/commonjs/stay-filters/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-filters/types.d.ts +179 -0
- package/lib/typescript/commonjs/stay-filters/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/DateFlexibilityChips.d.ts +12 -0
- package/lib/typescript/commonjs/stay-search/DateFlexibilityChips.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/DestinationSuggestions.d.ts +6 -0
- package/lib/typescript/commonjs/stay-search/DestinationSuggestions.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts +19 -0
- package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/StaySearchBar.d.ts +6 -0
- package/lib/typescript/commonjs/stay-search/StaySearchBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/StaySearchCompact.d.ts +6 -0
- package/lib/typescript/commonjs/stay-search/StaySearchCompact.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/StaySearchPanel.d.ts +13 -0
- package/lib/typescript/commonjs/stay-search/StaySearchPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/StaySearchStep.d.ts +6 -0
- package/lib/typescript/commonjs/stay-search/StaySearchStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/constants.d.ts +27 -0
- package/lib/typescript/commonjs/stay-search/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/context.d.ts +3 -0
- package/lib/typescript/commonjs/stay-search/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/guests.d.ts +13 -0
- package/lib/typescript/commonjs/stay-search/guests.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/index.d.ts +10 -0
- package/lib/typescript/commonjs/stay-search/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/palette.d.ts +48 -0
- package/lib/typescript/commonjs/stay-search/palette.d.ts.map +1 -0
- package/lib/typescript/commonjs/stay-search/types.d.ts +195 -0
- package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/stepper/Stepper.d.ts +6 -0
- package/lib/typescript/commonjs/stepper/Stepper.d.ts.map +1 -0
- package/lib/typescript/commonjs/stepper/StepperRow.d.ts +13 -0
- package/lib/typescript/commonjs/stepper/StepperRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/stepper/index.d.ts +4 -0
- package/lib/typescript/commonjs/stepper/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/stepper/types.d.ts +49 -0
- package/lib/typescript/commonjs/stepper/types.d.ts.map +1 -0
- package/lib/typescript/module/booking/BookingBar.d.ts +21 -0
- package/lib/typescript/module/booking/BookingBar.d.ts.map +1 -0
- package/lib/typescript/module/booking/BookingCard.d.ts +6 -0
- package/lib/typescript/module/booking/BookingCard.d.ts.map +1 -0
- package/lib/typescript/module/booking/BookingLink.d.ts +27 -0
- package/lib/typescript/module/booking/BookingLink.d.ts.map +1 -0
- package/lib/typescript/module/booking/BookingPrice.d.ts +20 -0
- package/lib/typescript/module/booking/BookingPrice.d.ts.map +1 -0
- package/lib/typescript/module/booking/PriceBreakdown.d.ts +6 -0
- package/lib/typescript/module/booking/PriceBreakdown.d.ts.map +1 -0
- package/lib/typescript/module/booking/TripCard.d.ts +28 -0
- package/lib/typescript/module/booking/TripCard.d.ts.map +1 -0
- package/lib/typescript/module/booking/constants.d.ts +8 -0
- package/lib/typescript/module/booking/constants.d.ts.map +1 -0
- package/lib/typescript/module/booking/index.d.ts +7 -0
- package/lib/typescript/module/booking/index.d.ts.map +1 -0
- package/lib/typescript/module/booking/shared.d.ts +35 -0
- package/lib/typescript/module/booking/shared.d.ts.map +1 -0
- package/lib/typescript/module/booking/types.d.ts +149 -0
- package/lib/typescript/module/booking/types.d.ts.map +1 -0
- package/lib/typescript/module/category-bar/CategoryBar.d.ts +36 -0
- package/lib/typescript/module/category-bar/CategoryBar.d.ts.map +1 -0
- package/lib/typescript/module/category-bar/index.d.ts +3 -0
- package/lib/typescript/module/category-bar/index.d.ts.map +1 -0
- package/lib/typescript/module/category-bar/types.d.ts +44 -0
- package/lib/typescript/module/category-bar/types.d.ts.map +1 -0
- package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/icons/remix/RiAncientGateLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiAncientGateLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiAncientPavilionLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiAncientPavilionLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiBikeLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiBikeLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiBriefcase4Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiBriefcase4Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiCactusLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiCactusLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiCalendarCloseLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiCalendarCloseLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiDoorOpenLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiDoorOpenLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiFridgeLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiFridgeLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiGolfBallLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiGolfBallLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiHeart3Fill.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiHeart3Fill.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiHeart3Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiHeart3Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiLandscapeLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiLandscapeLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiMapPin2Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiMapPin2Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiMedalLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiMedalLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiParkingBoxLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiParkingBoxLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiPlantLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiPlantLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiSailboatLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiSailboatLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiShareLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiShareLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiShip2Line.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiShip2Line.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiSubtractLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiSubtractLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTShirtAirLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTShirtAirLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTempColdLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTempColdLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTentLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTentLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTranslate2.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTranslate2.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTreeLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTreeLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiTvLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiTvLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/RiWifiLine.d.ts +8 -0
- package/lib/typescript/module/icons/remix/RiWifiLine.d.ts.map +1 -0
- package/lib/typescript/module/icons/remix/index.d.ts +27 -0
- package/lib/typescript/module/icons/remix/index.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +17 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +17 -0
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/listing-card/FavoriteButton.d.ts +21 -0
- package/lib/typescript/module/listing-card/FavoriteButton.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/ListingCard.d.ts +6 -0
- package/lib/typescript/module/listing-card/ListingCard.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/ListingCardGrid.d.ts +23 -0
- package/lib/typescript/module/listing-card/ListingCardGrid.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/WishlistCard.d.ts +6 -0
- package/lib/typescript/module/listing-card/WishlistCard.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/index.d.ts +6 -0
- package/lib/typescript/module/listing-card/index.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/shared.d.ts +67 -0
- package/lib/typescript/module/listing-card/shared.d.ts.map +1 -0
- package/lib/typescript/module/listing-card/types.d.ts +129 -0
- package/lib/typescript/module/listing-card/types.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/AmenityList.d.ts +6 -0
- package/lib/typescript/module/listing-details/AmenityList.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/HostCard.d.ts +22 -0
- package/lib/typescript/module/listing-details/HostCard.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ListingHeader.d.ts +8 -0
- package/lib/typescript/module/listing-details/ListingHeader.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ListingHighlights.d.ts +14 -0
- package/lib/typescript/module/listing-details/ListingHighlights.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ListingPhotoGrid.d.ts +6 -0
- package/lib/typescript/module/listing-details/ListingPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ListingSection.d.ts +15 -0
- package/lib/typescript/module/listing-details/ListingSection.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ReviewCard.d.ts +6 -0
- package/lib/typescript/module/listing-details/ReviewCard.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/ReviewSummary.d.ts +6 -0
- package/lib/typescript/module/listing-details/ReviewSummary.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/constants.d.ts +15 -0
- package/lib/typescript/module/listing-details/constants.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/index.d.ts +11 -0
- package/lib/typescript/module/listing-details/index.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/shared.d.ts +42 -0
- package/lib/typescript/module/listing-details/shared.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/types.d.ts +238 -0
- package/lib/typescript/module/listing-details/types.d.ts.map +1 -0
- package/lib/typescript/module/listing-details/use-container-width.d.ts +13 -0
- package/lib/typescript/module/listing-details/use-container-width.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/MapClusterMarker.d.ts +6 -0
- package/lib/typescript/module/map-marker/MapClusterMarker.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/MapListingPreview.d.ts +6 -0
- package/lib/typescript/module/map-marker/MapListingPreview.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/MapPriceMarker.d.ts +6 -0
- package/lib/typescript/module/map-marker/MapPriceMarker.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/MapSearchAreaButton.d.ts +6 -0
- package/lib/typescript/module/map-marker/MapSearchAreaButton.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/index.d.ts +6 -0
- package/lib/typescript/module/map-marker/index.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/shared.d.ts +30 -0
- package/lib/typescript/module/map-marker/shared.d.ts.map +1 -0
- package/lib/typescript/module/map-marker/types.d.ts +94 -0
- package/lib/typescript/module/map-marker/types.d.ts.map +1 -0
- package/lib/typescript/module/rating/Rating.d.ts +8 -0
- package/lib/typescript/module/rating/Rating.d.ts.map +1 -0
- package/lib/typescript/module/rating/RatingBar.d.ts +6 -0
- package/lib/typescript/module/rating/RatingBar.d.ts.map +1 -0
- package/lib/typescript/module/rating/index.d.ts +4 -0
- package/lib/typescript/module/rating/index.d.ts.map +1 -0
- package/lib/typescript/module/rating/types.d.ts +49 -0
- package/lib/typescript/module/rating/types.d.ts.map +1 -0
- package/lib/typescript/module/settings-list/SettingsList.d.ts.map +1 -1
- package/lib/typescript/module/settings-list/index.d.ts +1 -1
- package/lib/typescript/module/settings-list/index.d.ts.map +1 -1
- package/lib/typescript/module/settings-list/types.d.ts +10 -0
- package/lib/typescript/module/settings-list/types.d.ts.map +1 -1
- package/lib/typescript/module/stay-filters/AmenityFilter.d.ts +15 -0
- package/lib/typescript/module/stay-filters/AmenityFilter.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/CountFilter.d.ts +21 -0
- package/lib/typescript/module/stay-filters/CountFilter.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/FilterChip.d.ts +17 -0
- package/lib/typescript/module/stay-filters/FilterChip.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/FilterFooter.d.ts +19 -0
- package/lib/typescript/module/stay-filters/FilterFooter.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/FilterSection.d.ts +19 -0
- package/lib/typescript/module/stay-filters/FilterSection.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/FilterTextButton.d.ts +13 -0
- package/lib/typescript/module/stay-filters/FilterTextButton.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/FilterTriggerButton.d.ts +14 -0
- package/lib/typescript/module/stay-filters/FilterTriggerButton.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/PriceHistogram.d.ts +22 -0
- package/lib/typescript/module/stay-filters/PriceHistogram.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/PriceRangeFilter.d.ts +8 -0
- package/lib/typescript/module/stay-filters/PriceRangeFilter.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/SegmentedFilter.d.ts +12 -0
- package/lib/typescript/module/stay-filters/SegmentedFilter.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/SwitchFilterRow.d.ts +14 -0
- package/lib/typescript/module/stay-filters/SwitchFilterRow.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts +17 -0
- package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/index.d.ts +12 -0
- package/lib/typescript/module/stay-filters/index.d.ts.map +1 -0
- package/lib/typescript/module/stay-filters/types.d.ts +179 -0
- package/lib/typescript/module/stay-filters/types.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/DateFlexibilityChips.d.ts +12 -0
- package/lib/typescript/module/stay-search/DateFlexibilityChips.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/DestinationSuggestions.d.ts +6 -0
- package/lib/typescript/module/stay-search/DestinationSuggestions.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/GuestPicker.d.ts +19 -0
- package/lib/typescript/module/stay-search/GuestPicker.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/StaySearchBar.d.ts +6 -0
- package/lib/typescript/module/stay-search/StaySearchBar.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/StaySearchCompact.d.ts +6 -0
- package/lib/typescript/module/stay-search/StaySearchCompact.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/StaySearchPanel.d.ts +13 -0
- package/lib/typescript/module/stay-search/StaySearchPanel.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/StaySearchStep.d.ts +6 -0
- package/lib/typescript/module/stay-search/StaySearchStep.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/constants.d.ts +27 -0
- package/lib/typescript/module/stay-search/constants.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/context.d.ts +3 -0
- package/lib/typescript/module/stay-search/context.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/guests.d.ts +13 -0
- package/lib/typescript/module/stay-search/guests.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/index.d.ts +10 -0
- package/lib/typescript/module/stay-search/index.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/palette.d.ts +48 -0
- package/lib/typescript/module/stay-search/palette.d.ts.map +1 -0
- package/lib/typescript/module/stay-search/types.d.ts +195 -0
- package/lib/typescript/module/stay-search/types.d.ts.map +1 -0
- package/lib/typescript/module/stepper/Stepper.d.ts +6 -0
- package/lib/typescript/module/stepper/Stepper.d.ts.map +1 -0
- package/lib/typescript/module/stepper/StepperRow.d.ts +13 -0
- package/lib/typescript/module/stepper/StepperRow.d.ts.map +1 -0
- package/lib/typescript/module/stepper/index.d.ts +4 -0
- package/lib/typescript/module/stepper/index.d.ts.map +1 -0
- package/lib/typescript/module/stepper/types.d.ts +49 -0
- package/lib/typescript/module/stepper/types.d.ts.map +1 -0
- package/package.json +127 -1
- package/src/booking/BookingBar.tsx +106 -0
- package/src/booking/BookingCard.tsx +355 -0
- package/src/booking/BookingLink.tsx +96 -0
- package/src/booking/BookingPrice.tsx +67 -0
- package/src/booking/PriceBreakdown.tsx +99 -0
- package/src/booking/TripCard.tsx +202 -0
- package/src/booking/constants.ts +10 -0
- package/src/booking/index.ts +17 -0
- package/src/booking/shared.ts +115 -0
- package/src/booking/types.ts +179 -0
- package/src/category-bar/CategoryBar.tsx +511 -0
- package/src/category-bar/index.ts +2 -0
- package/src/category-bar/types.ts +42 -0
- package/src/dialog/DialogBottomSheet.tsx +11 -1
- package/src/icons/remix/RiAncientGateLine.tsx +6 -0
- package/src/icons/remix/RiAncientPavilionLine.tsx +6 -0
- package/src/icons/remix/RiBikeLine.tsx +6 -0
- package/src/icons/remix/RiBriefcase4Line.tsx +6 -0
- package/src/icons/remix/RiCactusLine.tsx +6 -0
- package/src/icons/remix/RiCalendarCloseLine.tsx +6 -0
- package/src/icons/remix/RiDoorOpenLine.tsx +6 -0
- package/src/icons/remix/RiFridgeLine.tsx +6 -0
- package/src/icons/remix/RiGolfBallLine.tsx +6 -0
- package/src/icons/remix/RiHeart3Fill.tsx +6 -0
- package/src/icons/remix/RiHeart3Line.tsx +6 -0
- package/src/icons/remix/RiLandscapeLine.tsx +6 -0
- package/src/icons/remix/RiMapPin2Line.tsx +6 -0
- package/src/icons/remix/RiMedalLine.tsx +6 -0
- package/src/icons/remix/RiParkingBoxLine.tsx +6 -0
- package/src/icons/remix/RiPlantLine.tsx +6 -0
- package/src/icons/remix/RiSailboatLine.tsx +6 -0
- package/src/icons/remix/RiShareLine.tsx +6 -0
- package/src/icons/remix/RiShip2Line.tsx +6 -0
- package/src/icons/remix/RiSubtractLine.tsx +6 -0
- package/src/icons/remix/RiTShirtAirLine.tsx +6 -0
- package/src/icons/remix/RiTempColdLine.tsx +6 -0
- package/src/icons/remix/RiTentLine.tsx +6 -0
- package/src/icons/remix/RiTranslate2.tsx +6 -0
- package/src/icons/remix/RiTreeLine.tsx +6 -0
- package/src/icons/remix/RiTvLine.tsx +6 -0
- package/src/icons/remix/RiWifiLine.tsx +6 -0
- package/src/icons/remix/index.ts +27 -0
- package/src/index.ts +94 -0
- package/src/index.web.ts +94 -0
- package/src/listing-card/FavoriteButton.tsx +101 -0
- package/src/listing-card/ListingCard.tsx +565 -0
- package/src/listing-card/ListingCardGrid.tsx +65 -0
- package/src/listing-card/WishlistCard.tsx +150 -0
- package/src/listing-card/index.ts +11 -0
- package/src/listing-card/shared.ts +207 -0
- package/src/listing-card/types.ts +133 -0
- package/src/listing-details/AmenityList.tsx +103 -0
- package/src/listing-details/HostCard.tsx +229 -0
- package/src/listing-details/ListingHeader.tsx +248 -0
- package/src/listing-details/ListingHighlights.tsx +53 -0
- package/src/listing-details/ListingPhotoGrid.tsx +301 -0
- package/src/listing-details/ListingSection.tsx +75 -0
- package/src/listing-details/ReviewCard.tsx +221 -0
- package/src/listing-details/ReviewSummary.tsx +180 -0
- package/src/listing-details/constants.ts +14 -0
- package/src/listing-details/index.ts +35 -0
- package/src/listing-details/shared.ts +121 -0
- package/src/listing-details/types.ts +286 -0
- package/src/listing-details/use-container-width.ts +21 -0
- package/src/map-marker/MapClusterMarker.tsx +85 -0
- package/src/map-marker/MapListingPreview.tsx +302 -0
- package/src/map-marker/MapPriceMarker.tsx +108 -0
- package/src/map-marker/MapSearchAreaButton.tsx +118 -0
- package/src/map-marker/index.ts +12 -0
- package/src/map-marker/shared.ts +101 -0
- package/src/map-marker/types.ts +101 -0
- package/src/rating/Rating.tsx +89 -0
- package/src/rating/RatingBar.tsx +87 -0
- package/src/rating/index.ts +3 -0
- package/src/rating/types.ts +52 -0
- package/src/settings-list/SettingsList.tsx +2 -1
- package/src/settings-list/index.ts +6 -1
- package/src/settings-list/types.ts +11 -0
- package/src/stay-filters/AmenityFilter.tsx +58 -0
- package/src/stay-filters/CountFilter.tsx +88 -0
- package/src/stay-filters/FilterChip.tsx +129 -0
- package/src/stay-filters/FilterFooter.tsx +79 -0
- package/src/stay-filters/FilterSection.tsx +72 -0
- package/src/stay-filters/FilterTextButton.tsx +105 -0
- package/src/stay-filters/FilterTriggerButton.tsx +58 -0
- package/src/stay-filters/PriceHistogram.tsx +79 -0
- package/src/stay-filters/PriceRangeFilter.tsx +142 -0
- package/src/stay-filters/SegmentedFilter.tsx +42 -0
- package/src/stay-filters/SwitchFilterRow.tsx +60 -0
- package/src/stay-filters/ToggleChipGroup.tsx +59 -0
- package/src/stay-filters/index.ts +25 -0
- package/src/stay-filters/types.ts +192 -0
- package/src/stay-search/DateFlexibilityChips.tsx +48 -0
- package/src/stay-search/DestinationSuggestions.tsx +161 -0
- package/src/stay-search/GuestPicker.tsx +101 -0
- package/src/stay-search/StaySearchBar.tsx +349 -0
- package/src/stay-search/StaySearchCompact.tsx +127 -0
- package/src/stay-search/StaySearchPanel.tsx +51 -0
- package/src/stay-search/StaySearchStep.tsx +116 -0
- package/src/stay-search/constants.ts +58 -0
- package/src/stay-search/context.ts +15 -0
- package/src/stay-search/guests.ts +21 -0
- package/src/stay-search/index.ts +25 -0
- package/src/stay-search/palette.ts +91 -0
- package/src/stay-search/types.ts +210 -0
- package/src/stepper/Stepper.tsx +223 -0
- package/src/stepper/StepperRow.tsx +69 -0
- package/src/stepper/index.ts +3 -0
- package/src/stepper/types.ts +51 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Map Marker
|
|
3
|
+
description: Price pills, cluster bubbles, the listing preview card and the search-area pill to place on an app's own map.
|
|
4
|
+
order: 110
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Map Marker
|
|
8
|
+
|
|
9
|
+
The pieces a listings map is made of. Bloom ships no map: these render
|
|
10
|
+
anywhere, and the app's map library positions them.
|
|
11
|
+
|
|
12
|
+
```tsx
|
|
13
|
+
import {
|
|
14
|
+
MapClusterMarker,
|
|
15
|
+
MapListingPreview,
|
|
16
|
+
MapPriceMarker,
|
|
17
|
+
MapSearchAreaButton,
|
|
18
|
+
} from '@oxy.so/bloom/map-marker';
|
|
19
|
+
|
|
20
|
+
<MapPriceMarker
|
|
21
|
+
price="€120"
|
|
22
|
+
state={activeId === id ? 'active' : visited.has(id) ? 'visited' : 'default'}
|
|
23
|
+
saved={saved.has(id)}
|
|
24
|
+
onPress={() => open(id)}
|
|
25
|
+
accessibilityLabel="€120 per night, Valdoria"
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
<MapClusterMarker count={14} onPress={zoomIn} />
|
|
29
|
+
|
|
30
|
+
<MapListingPreview
|
|
31
|
+
image={listing.photo}
|
|
32
|
+
title="Cabin by the pines"
|
|
33
|
+
rating={4.92}
|
|
34
|
+
reviewCount={128}
|
|
35
|
+
subtitle="Entire cabin · 2 beds"
|
|
36
|
+
price="€120"
|
|
37
|
+
priceDetail="night"
|
|
38
|
+
favorite={saved.has(id)}
|
|
39
|
+
onFavoriteChange={toggleSaved}
|
|
40
|
+
onClose={close}
|
|
41
|
+
onPress={openListing}
|
|
42
|
+
/>
|
|
43
|
+
|
|
44
|
+
<MapSearchAreaButton variant="toggle" checked={follow} onCheckedChange={setFollow} />
|
|
45
|
+
<MapSearchAreaButton onPress={searchHere} />
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Placement is the app's: centre a marker on its coordinate (for an absolutely
|
|
49
|
+
positioned overlay, `transform: [{ translateX: '-50%' }, { translateY: '-50%' }]`)
|
|
50
|
+
and raise the active marker and the preview card above their neighbours.
|
|
51
|
+
Prices arrive formatted — the app owns currency and locale.
|
|
52
|
+
|
|
53
|
+
## `MapPriceMarker`
|
|
54
|
+
|
|
55
|
+
| prop | decides |
|
|
56
|
+
| -------------------- | ------------------------------------------------------------------------ |
|
|
57
|
+
| `price` | the text in the pill ("€120") |
|
|
58
|
+
| `state` | `'default'`, `'active'` (the open one) or `'visited'` (opened before) |
|
|
59
|
+
| `saved` | a small heart before the price |
|
|
60
|
+
| `onPress` | |
|
|
61
|
+
| `accessibilityLabel` | a sentence — the pill shows only a number. Defaults to `price` |
|
|
62
|
+
| `style`, `testID` | the heart is `<testID>-saved` |
|
|
63
|
+
|
|
64
|
+
A 28px full pill, `body-2-semibold` tabular text, 10px sides.
|
|
65
|
+
|
|
66
|
+
| state | fill | label | edge / elevation |
|
|
67
|
+
| -------- | ----------------------- | ----------------- | --------------------------- |
|
|
68
|
+
| default | surface (card; dark neutral-800) | text-primary | hairline, `shadow-s`; hover darkens the hairline |
|
|
69
|
+
| active | text-primary (inverted) | card; dark neutral-900 | `shadow-m` |
|
|
70
|
+
| visited | neutral-100; dark neutral-900 | neutral-500; dark neutral-400 | hairline, `shadow-s` |
|
|
71
|
+
|
|
72
|
+
The heart is the theme's danger red. The marker is a `button` whose
|
|
73
|
+
`aria-pressed` (native `accessibilityState.selected`) is the active state.
|
|
74
|
+
|
|
75
|
+
## `MapClusterMarker`
|
|
76
|
+
|
|
77
|
+
`count` (number or a string like `"99+"`), `state` (`default` | `active`),
|
|
78
|
+
`onPress`, `accessibilityLabel` (default `"<count> stays"` — translate it),
|
|
79
|
+
`style`, `testID`. A 36px round bubble that widens for longer counts, painted
|
|
80
|
+
like the price pill.
|
|
81
|
+
|
|
82
|
+
## `MapListingPreview`
|
|
83
|
+
|
|
84
|
+
| prop | decides |
|
|
85
|
+
| -------------------- | ------------------------------------------------------------------------ |
|
|
86
|
+
| `image`, `imageVariant` | a URL, or an id for the app's `ImageResolver` |
|
|
87
|
+
| `title` | one line, truncated |
|
|
88
|
+
| `rating`, `reviewCount` | handed to `Rating` (`null` draws "New"); omit `rating` to hide it |
|
|
89
|
+
| `subtitle` | the secondary line |
|
|
90
|
+
| `price`, `priceDetail`, `originalPrice` | "€150 **€120** night" — the original struck through |
|
|
91
|
+
| `favorite`, `onFavoriteChange` | the heart; shown only with the handler |
|
|
92
|
+
| `onClose` | the close button; shown only with the handler |
|
|
93
|
+
| `onPress` | opens the listing — the whole card is the target |
|
|
94
|
+
| `layout` | `'vertical'` (photo on top, default) or `'compact'` (photo left, 112 wide) |
|
|
95
|
+
| `width` | default `327` |
|
|
96
|
+
| `closeLabel`, `favoriteLabel`, `accessibilityLabel` | names; defaults "Close", "Save", `title` |
|
|
97
|
+
|
|
98
|
+
A 16-radius card on the floating surface (hairline, `shadow-m`). Vertical: a
|
|
99
|
+
200px photo, then 12px of padding around the title and `Rating` on one line,
|
|
100
|
+
the subtitle, and the price line. The close button is Bloom's `xs` secondary
|
|
101
|
+
icon button over the photo's top-left; the heart a 24px round button in the
|
|
102
|
+
opposite corner (compact: heart over the photo, close in the card's top-right).
|
|
103
|
+
The card never clips — the photo clips itself — so the native shadow survives.
|
|
104
|
+
|
|
105
|
+
The open target is a button laid over the card BESIDE the close and heart
|
|
106
|
+
buttons rather than around them, so no button nests inside another. The heart
|
|
107
|
+
is a toggle with `aria-pressed` and native `accessibilityState.selected`.
|
|
108
|
+
|
|
109
|
+
## `MapSearchAreaButton`
|
|
110
|
+
|
|
111
|
+
`variant="toggle"` with `checked` / `onCheckedChange` draws a Bloom checkbox box
|
|
112
|
+
and "Search as I move the map" as a `checkbox` with `aria-checked`; the default
|
|
113
|
+
`variant="button"` with `onPress` draws a search icon and "Search this area".
|
|
114
|
+
Both take `label`, `disabled`, `style` and `testID`. A 40px floating pill on the
|
|
115
|
+
surface with a hairline and `shadow-m`; hover takes the menu hover fill.
|
package/docs/rating.mdx
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Rating
|
|
3
|
+
description: A compact star, value and review count, and the bar for a rating breakdown.
|
|
4
|
+
order: 61
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Rating
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { Rating, RatingBar } from '@oxy.so/bloom/rating';
|
|
11
|
+
|
|
12
|
+
<Rating value={4.92} count={128} /> // ★ 4.92 (128)
|
|
13
|
+
<Rating value={4.81} count={214} countStyle="reviews" /> // ★ 4.81 · 214 reviews
|
|
14
|
+
<Rating value={null} /> // ★ New
|
|
15
|
+
|
|
16
|
+
<RatingBar label="Cleanliness" value={4.9} display="4.9" />
|
|
17
|
+
<RatingBar label="5" labelWidth={12} value={0.86} max={1} display="86%" />
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## `Rating`
|
|
21
|
+
|
|
22
|
+
| prop | decides |
|
|
23
|
+
| -------------------- | --------------------------------------------------------------------------------------- |
|
|
24
|
+
| `value` | a number (drawn 5.0, 4.9, 4.92) or a pre-formatted string; `null`/`undefined`/`''` = no rating yet |
|
|
25
|
+
| `count` | the review count, number or string (`"1.2k"`); hidden when there is no rating |
|
|
26
|
+
| `countStyle` | `'parenthesis'` → "(128)" (default) or `'reviews'` → "· 128 reviews" |
|
|
27
|
+
| `reviewsLabel` | the word after the count, default `"reviews"` — translate it |
|
|
28
|
+
| `newLabel` | drawn instead of the value when there is no rating yet, default `"New"` |
|
|
29
|
+
| `size` | `'small'` (14px star, body-2 text) or `'medium'` (default, 16px star, body text) |
|
|
30
|
+
| `accessibilityLabel` | replaces the composed name — pass a translated sentence |
|
|
31
|
+
| `style`, `testID` | |
|
|
32
|
+
|
|
33
|
+
The star and value are text-primary (`body-semibold`), the count text-secondary
|
|
34
|
+
(`body-regular`). The whole row is one accessible element — `role="img"` on web —
|
|
35
|
+
named "Rated 4.92 out of 5, 128 reviews", so a screen reader does not read the
|
|
36
|
+
star, the number and the brackets as separate items. That sentence is English;
|
|
37
|
+
apps in other languages pass `accessibilityLabel`.
|
|
38
|
+
|
|
39
|
+
## `RatingBar`
|
|
40
|
+
|
|
41
|
+
| prop | decides |
|
|
42
|
+
| ------------ | --------------------------------------------------------------------------- |
|
|
43
|
+
| `label` | the row's text and the bar's accessible name |
|
|
44
|
+
| `value` | position on the scale, clamped to `0..max` |
|
|
45
|
+
| `max` | the scale, default `5`; pass `1` for a fraction |
|
|
46
|
+
| `display` | the text on the right ("4.9", "86%"), also the bar's `aria-valuetext` |
|
|
47
|
+
| `labelWidth` | without it the label flexes and the bar is 96 wide (a category list); with it the bar flexes (a distribution) |
|
|
48
|
+
|
|
49
|
+
The track is 4 tall with a 2px radius, neutral-200 (dark neutral-800), filled
|
|
50
|
+
with text-primary. The bar is a `progressbar` carrying `aria-valuemin`,
|
|
51
|
+
`aria-valuemax` and `aria-valuenow`.
|
package/docs/settings-list.mdx
CHANGED
|
@@ -88,6 +88,27 @@ When `rightElement` is set, the chevron is hidden automatically (you can overrid
|
|
|
88
88
|
/>
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
## On a card-coloured surface
|
|
92
|
+
|
|
93
|
+
A group paints the `card` colour, which reads as a raised card on a page painted
|
|
94
|
+
in `background`. Inside something that is already `card` — a `ContentPanel`, a
|
|
95
|
+
Dialog body — that same group has no edge left and its rows float on the page.
|
|
96
|
+
`variant="filled"` paints the group in `backgroundSecondary` instead, the same
|
|
97
|
+
surface `Card variant="filled"` uses:
|
|
98
|
+
|
|
99
|
+
```tsx
|
|
100
|
+
<ContentPanel>
|
|
101
|
+
<SettingsListGroup variant="filled" title="Account">
|
|
102
|
+
<SettingsListItem title="Privacy" onPress={openPrivacy} />
|
|
103
|
+
</SettingsListGroup>
|
|
104
|
+
</ContentPanel>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
| `variant` | Surface | Use on |
|
|
108
|
+
| --- | --- | --- |
|
|
109
|
+
| `plain` (default) | `card` | a page painted in `background` |
|
|
110
|
+
| `filled` | `backgroundSecondary` | a surface painted in `card` |
|
|
111
|
+
|
|
91
112
|
## Footer / header text
|
|
92
113
|
|
|
93
114
|
```tsx
|
|
@@ -113,6 +134,7 @@ When `rightElement` is set, the chevron is hidden automatically (you can overrid
|
|
|
113
134
|
| `footer?` | `string` | Section footer. |
|
|
114
135
|
| `children` | `React.ReactNode` | `Item`, `Divider`. |
|
|
115
136
|
| `style?` | `StyleProp<ViewStyle>` | Override group container style. |
|
|
137
|
+
| `variant?` | `'plain' \| 'filled'` | The group's surface: `card` (default) or `backgroundSecondary`, for a group on a card-coloured surface. |
|
|
116
138
|
|
|
117
139
|
### `SettingsListItem`
|
|
118
140
|
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Stay Filters
|
|
3
|
+
description: The parts of a results page's filters surface — sections, a price histogram over a range slider, count pills, amenity chips, switches, a sticky footer and the trigger.
|
|
4
|
+
order: 111
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Stay Filters
|
|
8
|
+
|
|
9
|
+
The filters surface of a search results page, as parts the app composes inside
|
|
10
|
+
Bloom's `Dialog`. Data is props: the app owns the filter state, the result
|
|
11
|
+
count and every label.
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import {
|
|
15
|
+
AmenityFilter,
|
|
16
|
+
CountFilter,
|
|
17
|
+
FilterFooter,
|
|
18
|
+
FilterSection,
|
|
19
|
+
FilterTriggerButton,
|
|
20
|
+
PriceRangeFilter,
|
|
21
|
+
SegmentedFilter,
|
|
22
|
+
SwitchFilterRow,
|
|
23
|
+
} from '@oxy.so/bloom/stay-filters';
|
|
24
|
+
import { Dialog, useDialogControl } from '@oxy.so/bloom/dialog';
|
|
25
|
+
import { RiWifiLine } from '@oxy.so/bloom/icons';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Composing the dialog
|
|
29
|
+
|
|
30
|
+
A centred 780-wide dialog from `md` up and a bottom sheet below it are the
|
|
31
|
+
`Dialog`'s own responsive placement — nothing here builds a modal. The sections
|
|
32
|
+
scroll; the footer stays, because it is rendered **after** the scroll view
|
|
33
|
+
rather than inside it. That needs `scrollable={false}` (the children own the
|
|
34
|
+
scrolling) and `contentPadding={0}` (the sections and footer own their insets).
|
|
35
|
+
|
|
36
|
+
```tsx
|
|
37
|
+
function Filters() {
|
|
38
|
+
const control = useDialogControl();
|
|
39
|
+
const [draft, setDraft] = useState(initialFilters);
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<>
|
|
43
|
+
<FilterTriggerButton count={appliedCount} onPress={() => control.open()} />
|
|
44
|
+
<Dialog
|
|
45
|
+
control={control}
|
|
46
|
+
label="Filters"
|
|
47
|
+
header={{ title: 'Filters', largeTitle: false }}
|
|
48
|
+
placement={{ base: 'bottom', md: 'center' }}
|
|
49
|
+
maxWidth={780}
|
|
50
|
+
scrollable={false}
|
|
51
|
+
contentPadding={0}
|
|
52
|
+
>
|
|
53
|
+
<ScrollView style={{ flexShrink: 1 }} contentContainerStyle={{ paddingLeft: 24, paddingRight: 24 }}>
|
|
54
|
+
<FilterSection title="Type of place">
|
|
55
|
+
<SegmentedFilter
|
|
56
|
+
options={[
|
|
57
|
+
{ value: 'any', label: 'Any type' },
|
|
58
|
+
{ value: 'room', label: 'Room' },
|
|
59
|
+
{ value: 'entire', label: 'Entire home' },
|
|
60
|
+
]}
|
|
61
|
+
value={draft.type}
|
|
62
|
+
onValueChange={(type) => setDraft({ ...draft, type })}
|
|
63
|
+
accessibilityLabel="Type of place"
|
|
64
|
+
/>
|
|
65
|
+
</FilterSection>
|
|
66
|
+
<FilterSection title="Price range" description="Nightly prices before fees and taxes">
|
|
67
|
+
<PriceRangeFilter
|
|
68
|
+
buckets={priceBuckets}
|
|
69
|
+
min={20}
|
|
70
|
+
max={620}
|
|
71
|
+
step={5}
|
|
72
|
+
value={draft.price}
|
|
73
|
+
onValueChange={(price) => setDraft({ ...draft, price })}
|
|
74
|
+
formatPrice={(n) => formatCurrency(n)}
|
|
75
|
+
/>
|
|
76
|
+
</FilterSection>
|
|
77
|
+
<FilterSection title="Rooms and beds">
|
|
78
|
+
<CountFilter title="Bedrooms" value={draft.bedrooms} onValueChange={(bedrooms) => setDraft({ ...draft, bedrooms })} />
|
|
79
|
+
</FilterSection>
|
|
80
|
+
<FilterSection title="Amenities">
|
|
81
|
+
<AmenityFilter
|
|
82
|
+
options={[{ value: 'wifi', label: 'Wifi', icon: RiWifiLine } /* … */]}
|
|
83
|
+
value={draft.amenities}
|
|
84
|
+
onValueChange={(amenities) => setDraft({ ...draft, amenities })}
|
|
85
|
+
accessibilityLabel="Amenities"
|
|
86
|
+
/>
|
|
87
|
+
</FilterSection>
|
|
88
|
+
<FilterSection title="Booking options" divider={false}>
|
|
89
|
+
<SwitchFilterRow
|
|
90
|
+
title="Instant Book"
|
|
91
|
+
description="Listings you can book without waiting for host approval"
|
|
92
|
+
value={draft.instant}
|
|
93
|
+
onValueChange={(instant) => setDraft({ ...draft, instant })}
|
|
94
|
+
/>
|
|
95
|
+
</FilterSection>
|
|
96
|
+
</ScrollView>
|
|
97
|
+
<FilterFooter
|
|
98
|
+
resultsLabel={resultsLabel} // "Show 1,000+ places", formatted by the app
|
|
99
|
+
loading={countIsLoading}
|
|
100
|
+
onClear={() => setDraft(initialFilters)}
|
|
101
|
+
onApply={() => {
|
|
102
|
+
apply(draft);
|
|
103
|
+
control.close();
|
|
104
|
+
}}
|
|
105
|
+
/>
|
|
106
|
+
</Dialog>
|
|
107
|
+
</>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
On a phone, add the bottom safe-area inset to the footer
|
|
113
|
+
(`style={{ paddingBottom: 16 + insets.bottom }}`) — the footer is the sheet's
|
|
114
|
+
last row.
|
|
115
|
+
|
|
116
|
+
## Parts
|
|
117
|
+
|
|
118
|
+
### `FilterSection`
|
|
119
|
+
|
|
120
|
+
| prop | decides |
|
|
121
|
+
| --- | --- |
|
|
122
|
+
| `title` | the heading, `headline-semibold`, `role="heading"`; a string also names the section's `group` |
|
|
123
|
+
| `description` | a `body-regular` text-secondary line under it |
|
|
124
|
+
| `children` | the section's control, 24 under the heading |
|
|
125
|
+
| `divider` | a 1px neutral hairline under the section (default `true`; pass `false` on the last) |
|
|
126
|
+
| `accessibilityLabel` | the group's name when `title` is a node |
|
|
127
|
+
|
|
128
|
+
32 above and below, no side padding — the surface owns the inset.
|
|
129
|
+
|
|
130
|
+
### `PriceRangeFilter` and `PriceHistogram`
|
|
131
|
+
|
|
132
|
+
| prop | decides |
|
|
133
|
+
| --- | --- |
|
|
134
|
+
| `buckets` | listing counts per price bucket, lowest first; they split `min`..`max` evenly. Omit for no histogram |
|
|
135
|
+
| `min` / `max` / `step` | the slider's bounds and granularity |
|
|
136
|
+
| `value` / `onValueChange` | the controlled `[low, high]` |
|
|
137
|
+
| `onValueCommit` | once per drag end, or per committed field |
|
|
138
|
+
| `formatPrice` | how a field shows a price at rest, e.g. `(n) => (n >= max ? '$620+' : '$' + n)` |
|
|
139
|
+
| `minLabel` / `maxLabel` | the field labels and the thumbs' names (default "Minimum" / "Maximum") |
|
|
140
|
+
| `accessibilityLabel` | the slider's name (default "Price range") |
|
|
141
|
+
| `histogramHeight` | the tallest bar (default 64) |
|
|
142
|
+
|
|
143
|
+
This one **computes** prices — bucket bounds, clamping, snapping — so they are
|
|
144
|
+
numbers, and `formatPrice` is where the app's currency and locale come in.
|
|
145
|
+
|
|
146
|
+
- **The histogram** draws equal-width bars 2 apart with 2px top corners. A
|
|
147
|
+
bucket whose midpoint is inside the range is text-primary; the rest are
|
|
148
|
+
neutral-300 (dark neutral-700). It is hidden from assistive technology: the
|
|
149
|
+
slider announces the same range as numbers. `PriceHistogram` is exported on
|
|
150
|
+
its own for a custom layout.
|
|
151
|
+
- **The slider** is Bloom's `RangeSlider` without value bubbles, pulled up so
|
|
152
|
+
its rail sits on the bars' baseline. Both map `min`..`max` across the full
|
|
153
|
+
width, so each bar sits over the prices it counts.
|
|
154
|
+
- **The fields** are floating-label `TextField`s. Focused, a field shows the
|
|
155
|
+
bare number; the typed text is a draft until blur or submit, when it is
|
|
156
|
+
parsed ("$1,200" reads as 1200), snapped, clamped to its own side of the
|
|
157
|
+
range and committed. Unparseable text restores the committed value.
|
|
158
|
+
|
|
159
|
+
### `SegmentedFilter`
|
|
160
|
+
|
|
161
|
+
Bloom's `SegmentedControl` at `large`, stretched to the full width.
|
|
162
|
+
`options`, `value`, `onValueChange`, and a required `accessibilityLabel` naming
|
|
163
|
+
the radio group.
|
|
164
|
+
|
|
165
|
+
### `CountFilter`
|
|
166
|
+
|
|
167
|
+
A title and a row of pills: "Any" (`null`), then `min`..`max` (default 1..8),
|
|
168
|
+
the last reading `8+`. Single select. The row scrolls sideways when it does not
|
|
169
|
+
fit, so the counts keep their order on a narrow screen.
|
|
170
|
+
|
|
171
|
+
| prop | decides |
|
|
172
|
+
| --- | --- |
|
|
173
|
+
| `title` | the label above; a string also names the `radiogroup` |
|
|
174
|
+
| `value` / `onValueChange` | a count, or `null` for any |
|
|
175
|
+
| `min` / `max` | the range of pills (default `1` / `8`) |
|
|
176
|
+
| `anyLabel` | default "Any" |
|
|
177
|
+
| `formatCount` | a pill's label, default the number with `+` on `max` |
|
|
178
|
+
| `disabled` | every pill |
|
|
179
|
+
|
|
180
|
+
For an exact count rather than a minimum, use `StepperRow` from
|
|
181
|
+
`@oxy.so/bloom/stepper`:
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
<StepperRow title="Guests" value={guests} onValueChange={setGuests} min={1} max={16} />
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### `ToggleChipGroup` and `AmenityFilter`
|
|
188
|
+
|
|
189
|
+
`ToggleChipGroup` is wrapped multi-select pills, each with an optional icon
|
|
190
|
+
component. The selection is reported in `options` order. It needs an
|
|
191
|
+
`accessibilityLabel` for its group.
|
|
192
|
+
|
|
193
|
+
`AmenityFilter` is a `ToggleChipGroup` that shows the first `collapsedCount`
|
|
194
|
+
(default 6) options and an underlined "Show more" / "Show less" link
|
|
195
|
+
(`showMoreLabel`, `showLessLabel`, `defaultExpanded`). A selected option past
|
|
196
|
+
the fold stays visible while collapsed.
|
|
197
|
+
|
|
198
|
+
### `SwitchFilterRow`
|
|
199
|
+
|
|
200
|
+
`title`, `description`, `value`, `onValueChange`, `disabled`. The switch is
|
|
201
|
+
named by the string `title` or by `accessibilityLabel` — the caption beside a
|
|
202
|
+
switch never names it.
|
|
203
|
+
|
|
204
|
+
### `FilterFooter`
|
|
205
|
+
|
|
206
|
+
| prop | decides |
|
|
207
|
+
| --- | --- |
|
|
208
|
+
| `resultsLabel` | the primary button's label, pre-formatted ("Show 1,000+ places") |
|
|
209
|
+
| `onApply` / `onClear` | the two actions |
|
|
210
|
+
| `clearLabel` | default "Clear all" |
|
|
211
|
+
| `clearDisabled` | nothing is applied yet |
|
|
212
|
+
| `loading` | the result count is being fetched: the `Button`'s own loading state |
|
|
213
|
+
| `applyDisabled` | disables the primary button |
|
|
214
|
+
|
|
215
|
+
A 1px hairline on top, 16 / 24 padding, the page background.
|
|
216
|
+
|
|
217
|
+
### `FilterTriggerButton`
|
|
218
|
+
|
|
219
|
+
An `outline` `Button` with `RiEqualizerLine` and "Filters" (`label`). While
|
|
220
|
+
`count > 0` a solid count `Badge` sits on its top-right corner and the name
|
|
221
|
+
becomes "Filters, 3 applied" (`accessibilityLabel` overrides it). `size`,
|
|
222
|
+
`disabled`, `onPress`.
|
|
223
|
+
|
|
224
|
+
## What it looks like
|
|
225
|
+
|
|
226
|
+
- **Pills** (count and amenity) are 40 tall full pills with a 1px neutral-200
|
|
227
|
+
(dark neutral-700) border and a `body-medium` label. Selected is **inverted**:
|
|
228
|
+
a text-primary fill with the page background as the label, the page's own
|
|
229
|
+
reading pair turned over, legible in both modes and every preset. Hover
|
|
230
|
+
darkens the border; press fills neutral-100 (dark neutral-800). Colour only —
|
|
231
|
+
nothing scales. They are not `Chip`: that tops out at 28 tall and selects in
|
|
232
|
+
the brand tone.
|
|
233
|
+
- **Text actions** ("Clear all", "Show more") are underlined `body-semibold` in
|
|
234
|
+
text-primary, text-secondary on hover.
|
|
235
|
+
- Keyboard focus draws a 2px accent ring outside a 2px white offset.
|
|
236
|
+
|
|
237
|
+
## Accessibility
|
|
238
|
+
|
|
239
|
+
- `FilterSection`: a named `group` with a level-3 `heading`.
|
|
240
|
+
- `CountFilter`: a named `radiogroup` of `radio`s with `aria-checked`
|
|
241
|
+
(`accessibilityState.checked` on native). Every pill is in the tab order.
|
|
242
|
+
- `ToggleChipGroup`: a named `group` of toggle `button`s with `aria-pressed`
|
|
243
|
+
(`accessibilityState.selected` on native).
|
|
244
|
+
- "Show more" carries `aria-expanded`.
|
|
245
|
+
- The price thumbs are named "Minimum" and "Maximum" and carry `aria-value*`.
|
|
246
|
+
|
|
247
|
+
## Platform notes
|
|
248
|
+
|
|
249
|
+
- On web the dialog's centred and bottom placements both give a
|
|
250
|
+
`scrollable={false}` body a bounded height, so the footer stays put.
|
|
251
|
+
- On native the `center` placement always scrolls its content: a tablet sees
|
|
252
|
+
the footer scroll with the sections. Phones take the `bottom` placement,
|
|
253
|
+
which keeps it fixed.
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Stay Search
|
|
3
|
+
description: The stays search bar with its drop-down panels, the narrow-screen trigger, and the step cards of the mobile search flow.
|
|
4
|
+
order: 108
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Stay Search
|
|
8
|
+
|
|
9
|
+
Search for a place to stay by destination, dates and guests. On a wide screen
|
|
10
|
+
that is `StaySearchBar` with a `StaySearchPanel` under the open segment; on a
|
|
11
|
+
narrow one it is `StaySearchCompact`, which opens a sheet of `StaySearchStep`
|
|
12
|
+
cards.
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import {
|
|
16
|
+
DateFlexibilityChips,
|
|
17
|
+
DestinationSuggestions,
|
|
18
|
+
GuestPicker,
|
|
19
|
+
StaySearchBar,
|
|
20
|
+
StaySearchCompact,
|
|
21
|
+
StaySearchPanel,
|
|
22
|
+
StaySearchStep,
|
|
23
|
+
applyGuestCount,
|
|
24
|
+
} from '@oxy.so/bloom/stay-search';
|
|
25
|
+
import { RangeCalendar } from '@oxy.so/bloom/date-picker';
|
|
26
|
+
|
|
27
|
+
const [segment, setSegment] = useState<StaySearchSegment | null>(null);
|
|
28
|
+
|
|
29
|
+
<StaySearchBar
|
|
30
|
+
activeSegment={segment}
|
|
31
|
+
onActiveSegmentChange={setSegment}
|
|
32
|
+
destination={destination}
|
|
33
|
+
destinationQuery={query}
|
|
34
|
+
onDestinationQueryChange={setQuery}
|
|
35
|
+
dates={{ checkIn: 'Oct 12', checkOut: 'Oct 16' }}
|
|
36
|
+
guests="3 guests, 1 pet"
|
|
37
|
+
onSearch={search}
|
|
38
|
+
panel={
|
|
39
|
+
segment === 'guests' ? (
|
|
40
|
+
<StaySearchPanel width={400} padding={8} accessibilityLabel="Guests">
|
|
41
|
+
<View style={{ paddingLeft: 24, paddingRight: 24 }}>
|
|
42
|
+
<GuestPicker value={guests} onChange={setGuests} max={16} />
|
|
43
|
+
</View>
|
|
44
|
+
</StaySearchPanel>
|
|
45
|
+
) : segment === 'destination' ? (
|
|
46
|
+
<StaySearchPanel width={420} accessibilityLabel="Destinations">
|
|
47
|
+
<DestinationSuggestions heading="Suggested destinations" items={items} onSelect={choose} />
|
|
48
|
+
</StaySearchPanel>
|
|
49
|
+
) : (
|
|
50
|
+
<StaySearchPanel padding={24} accessibilityLabel="Dates">
|
|
51
|
+
<RangeCalendar value={range} onChange={setRange} visibleMonths={2} />
|
|
52
|
+
<DateFlexibilityChips value={flex} onChange={setFlex} />
|
|
53
|
+
</StaySearchPanel>
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
/>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Everything is controlled and every value arrives as text: the app formats
|
|
60
|
+
dates and guest counts in its own locale. The only thing the family computes
|
|
61
|
+
is the guest rule below.
|
|
62
|
+
|
|
63
|
+
## StaySearchBar
|
|
64
|
+
|
|
65
|
+
| prop | decides |
|
|
66
|
+
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
|
67
|
+
| `activeSegment` / `onActiveSegmentChange` | the open segment — `destination`, `checkIn`, `checkOut`, `dates` or `guests` — or `null` |
|
|
68
|
+
| `destination`, `dates`, `guests` | the values; an empty one shows its placeholder |
|
|
69
|
+
| `datesMode` | `'split'` (default): Check in + Check out; `'single'`: one When segment showing `dates.summary`, else `checkIn – checkOut` |
|
|
70
|
+
| `destinationQuery` / `onDestinationQueryChange` | with the handler set, the open Where segment is a focused text field |
|
|
71
|
+
| `panel` | drops 12 below the bar while a segment is open: left-aligned for Where, centred for dates, right-aligned for Who |
|
|
72
|
+
| `onSearch` | the round search button |
|
|
73
|
+
| `labels` | any of `where`, `checkIn`, `checkOut`, `when`, `who`, the three placeholders, `search` |
|
|
74
|
+
| `dismissible` | Escape and a press outside the bar and its panel set `null` (web). Default `true` |
|
|
75
|
+
| `style`, `testID` | `testID` derives `-<segment>`, `-search`, `-panel`, `-destination-input` |
|
|
76
|
+
|
|
77
|
+
What it looks like:
|
|
78
|
+
|
|
79
|
+
- **Bar** 66 tall, full pill, a hairline (neutral-200, dark neutral-700) and a
|
|
80
|
+
soft two-layer shadow, on the card surface (dark neutral-800).
|
|
81
|
+
- **Segment** a small bold label (`caption-1-semibold`) over the value
|
|
82
|
+
(`body-regular`, text-primary; the placeholder text-secondary). Hover fills
|
|
83
|
+
the segment neutral-100 (dark neutral-700 at 60%). Colour change only; no scale.
|
|
84
|
+
- **Open** the bar turns neutral-100 (dark neutral-900); the open segment
|
|
85
|
+
becomes a raised card-coloured pill (dark neutral-700) with its own shadow;
|
|
86
|
+
the search button widens from a 44 circle to "Search" with its icon.
|
|
87
|
+
- **Separators** 1 × 32 hairlines between segments, hidden next to a hovered or
|
|
88
|
+
open segment so a filled pill never has a line at its edge.
|
|
89
|
+
|
|
90
|
+
While a segment is open the bar lifts its own root to `Z_INDEX.dropdown`:
|
|
91
|
+
react-native-web gives every `View` `z-index: 0`, so without the lift content
|
|
92
|
+
after the bar paints over the panel.
|
|
93
|
+
|
|
94
|
+
On native the bar and its panel render the same way, but a panel that extends
|
|
95
|
+
below its parent's bounds cannot take touches on Android — use it where the
|
|
96
|
+
parent is tall enough, or use the compact trigger and sheet on phones.
|
|
97
|
+
|
|
98
|
+
## StaySearchPanel
|
|
99
|
+
|
|
100
|
+
The floating surface: the menu palette's surface and hairline, the menu shadow
|
|
101
|
+
plus a wider ambient layer, radius 32. `width` (default: its content),
|
|
102
|
+
`padding` (default 16), `accessibilityLabel` (names it as a `dialog` region).
|
|
103
|
+
|
|
104
|
+
### DestinationSuggestions
|
|
105
|
+
|
|
106
|
+
Rows of a 48px icon tile (radius 12, neutral-100 / dark neutral-700) with a
|
|
107
|
+
`RiMapPinLine` default — pass `RiTimeLine` for a recent search,
|
|
108
|
+
`RiBuilding2Line` for a city — then the title (`body-medium`) over an optional
|
|
109
|
+
description (`body-2-regular`, secondary). `items`, `onSelect`, `heading`,
|
|
110
|
+
and an optional controlled `highlightedIndex` / `onHighlightedIndexChange`.
|
|
111
|
+
|
|
112
|
+
It is a `listbox` of `option`s with `aria-selected` on the highlighted row. The
|
|
113
|
+
list takes focus on web and answers ArrowDown/ArrowUp (wrapping) and Enter;
|
|
114
|
+
hover moves the same highlight. The rows stay out of the tab order.
|
|
115
|
+
|
|
116
|
+
### GuestPicker
|
|
117
|
+
|
|
118
|
+
`StepperRow`s for adults, children, infants and pets, with hairlines between
|
|
119
|
+
rows. `value: { adults, children, infants, pets }`, `onChange`, `max` (one
|
|
120
|
+
number or per kind), `kinds` (which rows, in order), `labels`, `descriptions`
|
|
121
|
+
(`null` hides one).
|
|
122
|
+
|
|
123
|
+
It is the ONE guests picker: the search bar's "Who" panel and `BookingCard`'s
|
|
124
|
+
guests popover both use it. For the booking side:
|
|
125
|
+
|
|
126
|
+
- `maxGuests` caps adults + children (infants and pets do not count): their `+`
|
|
127
|
+
buttons disable once the sum is reached, and each stepper's `aria-valuemax`
|
|
128
|
+
drops to what is left.
|
|
129
|
+
- `note` adds a line under the rows ("This place has a maximum of 4 guests, not
|
|
130
|
+
including infants.").
|
|
131
|
+
- `onClose` / `closeLabel` add a right-aligned "Close" link; inside a
|
|
132
|
+
`BookingCard` guests popover it appears on its own and closes the popover.
|
|
133
|
+
- `size="small"` for a popover.
|
|
134
|
+
|
|
135
|
+
**The guest rule.** While any child, infant or pet is counted, adults cannot go
|
|
136
|
+
below 1: the adults `−` disables there, and adding a child, infant or pet with
|
|
137
|
+
no adults sets adults to 1. The rule is exported as two pure helpers so an app
|
|
138
|
+
can apply it to its own controls: `minimumAdults(value)` and
|
|
139
|
+
`applyGuestCount(value, kind, count)`.
|
|
140
|
+
|
|
141
|
+
### DateFlexibilityChips
|
|
142
|
+
|
|
143
|
+
A single-select row of Bloom `Chip`s (`large`, `outlined`; the selected one in
|
|
144
|
+
the brand tone): Exact dates, ± 1 day, ± 2 days, ± 3 days, ± 7 days, with values
|
|
145
|
+
`exact`, `1`, `2`, `3`, `7`. Pass `options` to change them. It draws no calendar —
|
|
146
|
+
put it under `RangeCalendar` or `DateRangePicker` from
|
|
147
|
+
`@oxy.so/bloom/date-picker`. The group is named "Date flexibility"; each chip
|
|
148
|
+
carries `aria-pressed`.
|
|
149
|
+
|
|
150
|
+
## StaySearchCompact
|
|
151
|
+
|
|
152
|
+
The narrow-screen trigger: a full-width 56-tall pill with `RiSearchLine`, a bold
|
|
153
|
+
`title` (default "Where to?") over a secondary `summary`
|
|
154
|
+
("Anywhere · Any week · Add guests"), and — with `onFilterPress` — a round
|
|
155
|
+
secondary filter button (`RiEqualizer3Line`, named by `filterLabel`, default
|
|
156
|
+
"Filters"). The trigger and the filter button are sibling controls, never
|
|
157
|
+
nested. Hover and press fill the pill neutral-100.
|
|
158
|
+
|
|
159
|
+
## StaySearchStep and the mobile flow
|
|
160
|
+
|
|
161
|
+
Pressing the compact trigger opens the search as a sheet — a `Dialog` with
|
|
162
|
+
`placement="bottom"`, driven by `useDialogControl()` — holding a column of
|
|
163
|
+
`StaySearchStep` cards, one expanded at a time, over a footer with a "Clear all"
|
|
164
|
+
link button and a primary "Search" button. Bloom ships the card; the app owns
|
|
165
|
+
the flow (which step is open, the footer, what Search does). The stories
|
|
166
|
+
compose the full flow.
|
|
167
|
+
|
|
168
|
+
| prop | decides |
|
|
169
|
+
| ---------- | --------------------------------------------------------------------------- |
|
|
170
|
+
| `label` | the collapsed row's left text, e.g. "Where" |
|
|
171
|
+
| `summary` | the collapsed row's right text, e.g. "I'm flexible" |
|
|
172
|
+
| `title` | the expanded card's heading, e.g. "Where to?" (default `label`) |
|
|
173
|
+
| `expanded` | which of the two shapes renders |
|
|
174
|
+
| `onPress` | pressing the collapsed row — expand this step |
|
|
175
|
+
| `children` | the expanded card's content |
|
|
176
|
+
|
|
177
|
+
Collapsed: a 56-tall row, the label (`body-medium`, secondary) left and the
|
|
178
|
+
summary (`body-semibold`) right, a `button` with `aria-expanded="false"`.
|
|
179
|
+
Expanded: the title (`title-2-semibold`, a `heading`) over the children, 24
|
|
180
|
+
inset, with the bar's soft shadow. Both are card-coloured with a hairline,
|
|
181
|
+
radius 20.
|
|
182
|
+
|
|
183
|
+
`RangeCalendar`'s month panel is a fixed 326 wide. In a 375-wide sheet give it
|
|
184
|
+
some of the card's inset back (`marginLeft: -16, marginRight: -16`,
|
|
185
|
+
`alignItems: 'center'`).
|
|
186
|
+
|
|
187
|
+
## Accessibility
|
|
188
|
+
|
|
189
|
+
- The bar is a `search` landmark on web. Each segment is a `button` named
|
|
190
|
+
"label, value" (or "label, placeholder") with `aria-expanded` on web and
|
|
191
|
+
`accessibilityState.expanded` on native. The search button is named by
|
|
192
|
+
`labels.search` in both of its shapes.
|
|
193
|
+
- The destination text field is named by the Where label.
|
|
194
|
+
- Keyboard focus draws an inset accent ring on segments, the compact trigger,
|
|
195
|
+
collapsed steps and the suggestions list (`:focus-visible` only).
|
|
196
|
+
- Hover transitions are 150ms colour fades and are dropped under
|
|
197
|
+
`prefers-reduced-motion: reduce`.
|