@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
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
### What it is
|
|
22
22
|
|
|
23
|
-
Components, hooks and design tokens published as `@oxy.so/bloom` across
|
|
23
|
+
Components, hooks and design tokens published as `@oxy.so/bloom` across 139 subpath exports, shipped as `src` for Metro and as compiled CommonJS and ESM for everyone else. Web builds resolve platform forks automatically through export conditions, so a `.web.tsx` fork never reaches a native bundle.
|
|
24
24
|
|
|
25
25
|
Styling is NativeWind classes throughout. There are no colour props and no wrapper components to theme a button, because a second way to set a colour is a second thing that can disagree.
|
|
26
26
|
|
|
@@ -151,7 +151,7 @@ Every palette is generated from a single seed colour by a dependency free colour
|
|
|
151
151
|
|
|
152
152
|
## Components
|
|
153
153
|
|
|
154
|
-
Bloom publishes
|
|
154
|
+
Bloom publishes 139 subpath exports. Importing from the subpath rather than the root keeps a bundle to what it actually renders.
|
|
155
155
|
|
|
156
156
|
| Group | Exports |
|
|
157
157
|
|---|---|
|
|
@@ -159,9 +159,10 @@ Bloom publishes 130 subpath exports. Importing from the subpath rather than the
|
|
|
159
159
|
| App shell and navigation | `app-shell`, `page-header`, `sidebar`, `rail`, `breadcrumb`, `pagination`, `tabs`, `tab-bar`, `layout`, `content-panel` |
|
|
160
160
|
| Overlays | `dialog`, `alert-dialog`, `bottom-sheet`, `popover`, `context-menu`, `dropdown-menu`, `menubar`, `tooltip`, `overlay`, `portal`, `teleport`, `surfaces`, `settings-modal` |
|
|
161
161
|
| Actions | `button`, `button-group`, `social-button`, `fab`, `frosted-icon-button`, `pressable-scale`, `subtle-hover` |
|
|
162
|
-
| Forms | `text-field`, `textarea`, `phone-input`, `input-otp`, `field`, `input-group`, `label`, `select`, `command`, `checkbox`, `radio`, `switch`, `slider`, `segmented-control`, `search`, `date-picker`, `file-upload`, `auth-card` |
|
|
162
|
+
| Forms | `text-field`, `textarea`, `phone-input`, `input-otp`, `field`, `input-group`, `label`, `select`, `command`, `checkbox`, `radio`, `switch`, `slider`, `segmented-control`, `search`, `date-picker`, `file-upload`, `auth-card`, `stepper`, `rating` |
|
|
163
163
|
| Layout and lists | `grid`, `list`, `scroll`, `settings-list`, `card`, `accordion`, `aspect-ratio`, `divider`, `item`, `carousel` |
|
|
164
164
|
| Data and charts | `table`, `data-table`, `chart-cards`, `stat-cards`, `calendar`, `composition-bar`, `dot-grid-meter`, `stat-bar`, `activity-heatmap`, `recent-hires-card`, `patient-info-card`, `important-alerts-card`, `agent-limits-card`, `ai-profile-card` |
|
|
165
|
+
| Stays and booking | `listing-card`, `listing-details`, `stay-search`, `stay-filters`, `booking`, `category-bar`, `map-marker` |
|
|
165
166
|
| AI and agents | `agent-chat`, `ai-chat`, `composer-panel`, `composer-loader`, `agent-thinking`, `agent-log`, `agent-progress`, `task-list`, `web-search`, `questionnaire` |
|
|
166
167
|
| Identity and media | `avatar`, `avatar-group`, `hover-card`, `user-hover-card`, `image-resolver`, `image-aspect-ratio-cache`, `zoomable-image-gallery`, `zoomable-media-gallery`, `media-flight`, `media-inset-border`, `progressive-blur`, `fill` |
|
|
167
168
|
| Feedback | `toast`, `notification`, `notification-center`, `announcement`, `admonition`, `loading`, `skeleton`, `error-boundary`, `badge`, `chip`, `kbd`, `code`, `link-preview`, `connection-status`, `connection-dots` |
|
package/docs/booking.mdx
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Booking
|
|
3
|
+
description: The reservation card beside a listing, its price breakdown and guest picker, the phone booking bar, and the trip card for a reservation.
|
|
4
|
+
order: 113
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Booking
|
|
8
|
+
|
|
9
|
+
Five pieces for booking a stay, all under one subpath:
|
|
10
|
+
|
|
11
|
+
| component | what it is |
|
|
12
|
+
| ---------------- | ----------------------------------------------------------------------------------- |
|
|
13
|
+
| `BookingCard` | the reservation card beside a listing: price, dates, guests, Reserve, breakdown |
|
|
14
|
+
| `PriceBreakdown` | itemised charges and a bold total — inside the card, or alone on a checkout page |
|
|
15
|
+
| `BookingBar` | the phone-width bar pinned under a listing: price, dates, Reserve |
|
|
16
|
+
| `TripCard` | an upcoming or past reservation: photo, place, host, dates, status, actions |
|
|
17
|
+
|
|
18
|
+
```tsx
|
|
19
|
+
import {
|
|
20
|
+
BookingBar,
|
|
21
|
+
BookingCard,
|
|
22
|
+
PriceBreakdown,
|
|
23
|
+
TripCard,
|
|
24
|
+
} from '@oxy.so/bloom/booking';
|
|
25
|
+
import { GuestPicker } from '@oxy.so/bloom/stay-search';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The guests panel is [`GuestPicker`](/docs/bloom/main/stay-search) — the same
|
|
29
|
+
picker the search bar's "Who" panel uses, so guests behave identically in both.
|
|
30
|
+
|
|
31
|
+
Prices, dates and guest summaries arrive **pre-formatted strings** — the app owns
|
|
32
|
+
currency, locale and plurals. Nothing here adds amounts up or formats a date.
|
|
33
|
+
|
|
34
|
+
## BookingCard
|
|
35
|
+
|
|
36
|
+
```tsx
|
|
37
|
+
const [guests, setGuests] = useState({ adults: 2, children: 0, infants: 0, pets: 0 });
|
|
38
|
+
|
|
39
|
+
<BookingCard
|
|
40
|
+
price="$180"
|
|
41
|
+
priceUnit="night"
|
|
42
|
+
rating={4.92}
|
|
43
|
+
reviewCount={128}
|
|
44
|
+
checkIn={checkIn} // "10/12/2026", or undefined while unselected
|
|
45
|
+
checkOut={checkOut}
|
|
46
|
+
guests="2 guests"
|
|
47
|
+
onPressDates={(field) => openDatePicker(field)}
|
|
48
|
+
activeField={datePickerField} // 'checkIn' | 'checkOut' | null — outlines the open field
|
|
49
|
+
guestPicker={
|
|
50
|
+
<GuestPicker size="small" value={guests} onChange={setGuests} maxGuests={4} note="Pets aren't allowed." />
|
|
51
|
+
}
|
|
52
|
+
onReserve={reserve}
|
|
53
|
+
loading={reserving}
|
|
54
|
+
breakdown={{
|
|
55
|
+
rows: [
|
|
56
|
+
{ label: '$180 x 5 nights', amount: '$900' },
|
|
57
|
+
{ label: 'Weekly stay discount', amount: '$90', tone: 'discount' },
|
|
58
|
+
{ label: 'Service fee', amount: '$127', details: <Text>What this covers…</Text> },
|
|
59
|
+
],
|
|
60
|
+
total: '$937',
|
|
61
|
+
}}
|
|
62
|
+
footer={<Button variant="link" linkTone="secondary" size="small">Report this listing</Button>}
|
|
63
|
+
/>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
| prop | decides |
|
|
67
|
+
| --------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
68
|
+
| `price`, `originalPrice`, `priceUnit` | the header; `originalPrice` is struck through before the price |
|
|
69
|
+
| `priceAccessibilityLabel` | the spoken price, default `"$162 per night, originally $180"` |
|
|
70
|
+
| `rating`, `reviewCount` | a small `Rating` on the right; `null` draws "New", omitted draws nothing |
|
|
71
|
+
| `checkIn`, `checkOut`, `guests` | the values in the box; an empty date shows `datePlaceholder` ("Add date") |
|
|
72
|
+
| `onPressDates(field)`, `onPressGuests` | the cells' presses — open your pickers here |
|
|
73
|
+
| `activeField` | the field whose picker is open: 2px text-primary outline, and `aria-expanded` on all three cells. Leave it `undefined` if the card cannot know, and no cell claims a state |
|
|
74
|
+
| `guestPicker`, `guestsOpen`, `onGuestsOpenChange` | makes the guests cell open a `Popover` (a bottom sheet on native) holding `guestPicker`, as wide as the box; controlled or not. A `GuestSelect` inside it closes it with "Close" without extra wiring |
|
|
75
|
+
| `checkInLabel`, `checkOutLabel`, `guestsLabel` | translate the cell labels (drawn uppercase) |
|
|
76
|
+
| `reserveLabel`, `checkAvailabilityLabel` | the button reads `"Reserve"` once both dates are set and `"Check availability"` before, unless `reserveLabel` is given |
|
|
77
|
+
| `onReserve`, `reserveDisabled`, `loading` | the primary large `Button`; `loading` shows its spinner and ignores presses |
|
|
78
|
+
| `note` | the centred line under the button — default "You won't be charged yet" once both dates are set; `null` hides it |
|
|
79
|
+
| `breakdown` | `PriceBreakdown` props, drawn 24 below |
|
|
80
|
+
| `footer` | anything centred at the bottom |
|
|
81
|
+
|
|
82
|
+
**What it looks like.** Up to 372 wide (`width: 100%`), radius 16, a 1px hairline
|
|
83
|
+
(neutral-200, dark neutral-700), `shadow-m`, padding 24 on the card surface. The
|
|
84
|
+
box is radius 12 with a 1px neutral-300 (dark neutral-600) border and dividers;
|
|
85
|
+
each cell is a `caption-2-bold` uppercase label over a `body-regular` value. A
|
|
86
|
+
cell washes neutral-100 under a pointer or a press — colour only, nothing scales.
|
|
87
|
+
|
|
88
|
+
### Sticky beside the listing (web)
|
|
89
|
+
|
|
90
|
+
The card is a plain block; pinning it is the page's job. With `AppShell` (which
|
|
91
|
+
scrolls the **document** on web), put the card in its own column and make that
|
|
92
|
+
column's child sticky:
|
|
93
|
+
|
|
94
|
+
```tsx
|
|
95
|
+
const sticky = { position: 'sticky', top: 96 } as unknown as ViewStyle; // RN has no 'sticky' type
|
|
96
|
+
|
|
97
|
+
<View style={{ flexDirection: 'row', gap: 64, alignItems: 'flex-start' }}>
|
|
98
|
+
<View style={{ flex: 1 }}>{/* listing */}</View>
|
|
99
|
+
<View style={{ width: 372, alignSelf: 'stretch' }}>
|
|
100
|
+
<BookingCard {...props} style={sticky} />
|
|
101
|
+
</View>
|
|
102
|
+
</View>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
`top` is the height of anything pinned above (a header). Sticky stops working if
|
|
106
|
+
any ancestor between the card and the document sets `overflow: hidden` or
|
|
107
|
+
`scroll` — that ancestor becomes the scroll container. The column must be as tall
|
|
108
|
+
as the listing (`alignSelf: 'stretch'`), or there is nothing to stick within. On
|
|
109
|
+
native, and below the breakpoint where the card sits beside the listing, use
|
|
110
|
+
`BookingBar` instead.
|
|
111
|
+
|
|
112
|
+
## PriceBreakdown
|
|
113
|
+
|
|
114
|
+
```tsx
|
|
115
|
+
<PriceBreakdown
|
|
116
|
+
rows={[
|
|
117
|
+
{ label: '$240 x 3 nights', amount: '$720' },
|
|
118
|
+
{ label: 'Early booking discount', amount: '$72', tone: 'discount' },
|
|
119
|
+
{ label: 'Cleaning fee', amount: '$60', onPressLabel: explainCleaning },
|
|
120
|
+
{ label: 'Service fee', amount: '$64', details: <ServiceFeeNote /> },
|
|
121
|
+
]}
|
|
122
|
+
totalLabel="Total (USD)"
|
|
123
|
+
total="$772"
|
|
124
|
+
/>
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
- A row is a `body-regular` label and a right-aligned tabular amount, 12 apart.
|
|
128
|
+
- `tone: 'discount'` paints the amount in the success colour (the success
|
|
129
|
+
pair's legible-on-page member) and puts a typographic minus before it, unless
|
|
130
|
+
the string already starts with one.
|
|
131
|
+
- `onPressLabel` makes the label an underlined button; `details` makes it open
|
|
132
|
+
a `Popover` above it (a bottom sheet on native) with that content. Both can be
|
|
133
|
+
set.
|
|
134
|
+
- `total` adds a hairline and a `headline-semibold` total row; omit it for no
|
|
135
|
+
total.
|
|
136
|
+
|
|
137
|
+
## The guests popover
|
|
138
|
+
|
|
139
|
+
`guestPicker` turns the guests cell into a `Popover` trigger (a bottom sheet on
|
|
140
|
+
native) as wide as the date/guest box. A `GuestPicker` inside it gets a "Close"
|
|
141
|
+
that closes the popover without wiring `onClose`; `maxGuests` caps adults +
|
|
142
|
+
children and `note` adds the line under the rows. The picker's rules and props
|
|
143
|
+
are documented with it, in [StaySearch](/docs/bloom/main/stay-search).
|
|
144
|
+
|
|
145
|
+
## BookingBar
|
|
146
|
+
|
|
147
|
+
```tsx
|
|
148
|
+
<BookingBar
|
|
149
|
+
price="$180"
|
|
150
|
+
priceUnit="night"
|
|
151
|
+
dates="Oct 12 – 17"
|
|
152
|
+
onPressDates={openDatePicker}
|
|
153
|
+
onReserve={reserve}
|
|
154
|
+
/>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
A 1px top hairline, the page background, padding 12 above and 24 at the sides,
|
|
158
|
+
and **12 plus the bottom safe-area inset** below — read from
|
|
159
|
+
`react-native-safe-area-context`'s context when a provider is mounted, 0 when
|
|
160
|
+
not; `bottomInset` overrides it. The dates are underlined `body-2-medium`, a
|
|
161
|
+
button with `onPressDates`. `reserveLabel`, `reserveDisabled` and `loading` work
|
|
162
|
+
as on the card.
|
|
163
|
+
|
|
164
|
+
Keeping it at the bottom of the screen is the screen's job:
|
|
165
|
+
|
|
166
|
+
- **Native** — render it after the `ScrollView`, not inside it, in a
|
|
167
|
+
`flex: 1` column; give the scroll content no extra bottom padding.
|
|
168
|
+
- **Web with document scroll** — `position: 'fixed'` with `left: 0`, `right: 0`,
|
|
169
|
+
`bottom: 0` (cast as for `sticky` above), and add the bar's height as bottom
|
|
170
|
+
padding to the page so the last content is not hidden under it. Mount it only
|
|
171
|
+
below the breakpoint where the `BookingCard` column is shown.
|
|
172
|
+
|
|
173
|
+
## TripCard
|
|
174
|
+
|
|
175
|
+
```tsx
|
|
176
|
+
<TripCard
|
|
177
|
+
image={trip.coverId} // a URL, or an id for ImageResolverProvider
|
|
178
|
+
imageVariant="medium"
|
|
179
|
+
title="Cliffside cabin in Val Serena"
|
|
180
|
+
subtitle="Hosted by Marisol"
|
|
181
|
+
dates="Oct 12 – 17, 2026"
|
|
182
|
+
status="confirmed" // 'confirmed' | 'pending' | 'cancelled' | 'completed'
|
|
183
|
+
onPress={() => openTrip(trip.id)}
|
|
184
|
+
actions={<Button variant="secondary" size="small" onPress={message}>Message host</Button>}
|
|
185
|
+
/>
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
- Radius 16, 1px hairline, padding 12; the photo is radius 12 (neutral tile
|
|
189
|
+
while absent), 176 × 132 beside the text or full width at 3:2 above it.
|
|
190
|
+
- `orientation="auto"` (default) measures the card and lays out horizontally
|
|
191
|
+
from 480 wide; it renders vertical until measured. Force it with
|
|
192
|
+
`'horizontal'` or `'vertical'`.
|
|
193
|
+
- The status is a subtle `Badge`: confirmed success, pending warning, cancelled
|
|
194
|
+
error, completed neutral (`TRIP_STATUS`); `statusLabel` translates it.
|
|
195
|
+
- `onPress` lays one button UNDER the content, so `actions` are not nested inside
|
|
196
|
+
another button — they stay separately pressable and separately announced.
|
|
197
|
+
|
|
198
|
+
## Accessibility
|
|
199
|
+
|
|
200
|
+
- **Cells** are buttons named `"Check-in: 10/12/2026"` (or the placeholder). With
|
|
201
|
+
`activeField` set they carry `aria-expanded`; with `guestPicker` the guests
|
|
202
|
+
cell also gets `aria-haspopup` from the popover trigger.
|
|
203
|
+
- **Price** reads as one element, `"$162 per night, originally $180"` —
|
|
204
|
+
`role="img"` on web, one `accessible` node on native — because a
|
|
205
|
+
strikethrough is not announced and the parts read separately would invert the
|
|
206
|
+
offer. `Rating` does the same.
|
|
207
|
+
- **TripCard** with `onPress` is a button named by title, dates and status
|
|
208
|
+
(`accessibilityLabel` overrides); the drawn photo and text are hidden from
|
|
209
|
+
assistive tech so they are not read twice, and the actions stay reachable.
|
|
210
|
+
- Every pressable shows a 2px accent focus ring under keyboard focus on web
|
|
211
|
+
(`:focus-visible`, from an adopted stylesheet); the cells draw it inset.
|
|
212
|
+
- `GuestPicker` steppers are named by their kind (Adults, Children…); see
|
|
213
|
+
[Stepper](/docs/bloom/main/stepper).
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Category Bar
|
|
3
|
+
description: A horizontal, scrollable strip of icon-over-label categories with a fixed trailing slot.
|
|
4
|
+
order: 109
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Category Bar
|
|
8
|
+
|
|
9
|
+
A row of categories to browse by — each an icon over a short label — that
|
|
10
|
+
scrolls sideways when it does not fit, with something pinned on the right
|
|
11
|
+
(a Filters button, a switch).
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import { CategoryBar } from '@oxy.so/bloom/category-bar';
|
|
15
|
+
import { Badge } from '@oxy.so/bloom/badge';
|
|
16
|
+
import { Button } from '@oxy.so/bloom/button';
|
|
17
|
+
import { RiEqualizerLine, RiFireLine, RiSunLine, RiTreeLine } from '@oxy.so/bloom/icons';
|
|
18
|
+
|
|
19
|
+
const CATEGORIES = [
|
|
20
|
+
{ key: 'trending', label: 'Trending', icon: RiFireLine },
|
|
21
|
+
{ key: 'beachfront', label: 'Beachfront', icon: RiSunLine },
|
|
22
|
+
{ key: 'cabins', label: 'Cabins', icon: RiTreeLine },
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
const [category, setCategory] = useState('trending');
|
|
26
|
+
|
|
27
|
+
<CategoryBar
|
|
28
|
+
items={CATEGORIES}
|
|
29
|
+
value={category}
|
|
30
|
+
onValueChange={setCategory}
|
|
31
|
+
accessibilityLabel="Categories"
|
|
32
|
+
trailing={
|
|
33
|
+
<Badge content={3} placement="top-right">
|
|
34
|
+
<Button variant="outline" leadingIcon={RiEqualizerLine}>Filters</Button>
|
|
35
|
+
</Badge>
|
|
36
|
+
}
|
|
37
|
+
/>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
| prop | decides |
|
|
41
|
+
| -------------------- | ---------------------------------------------------------------------------------------- |
|
|
42
|
+
| `items` | `{ key, label, icon }[]` — `icon` is a component (a Remix icon); the bar sizes it 24 and colours it |
|
|
43
|
+
| `value` | the selected `key`; `undefined` selects nothing |
|
|
44
|
+
| `onValueChange` | called with the pressed `key` |
|
|
45
|
+
| `trailing` | pinned right, 24 from the strip, never scrolls |
|
|
46
|
+
| `accessibilityLabel` | required — names the tablist |
|
|
47
|
+
| `gap` | space between items, default `32` |
|
|
48
|
+
| `fadeColor` | what the web edge fades blend into, default the page background — set it when the bar sits on a card |
|
|
49
|
+
| `previousLabel`, `nextLabel` | the web arrows' names, default "Previous categories" / "Next categories" |
|
|
50
|
+
| `style`, `testID` | items get `<testID>-item-<key>`, arrows `<testID>-previous` / `-next` |
|
|
51
|
+
|
|
52
|
+
## Look
|
|
53
|
+
|
|
54
|
+
Each item is a 24px icon, 8px, a `caption-1-medium` label, and a 2px bar 10px
|
|
55
|
+
below the label. At rest the icon and label are text-secondary; under a pointer
|
|
56
|
+
they turn text-primary; the selected item is text-primary with the bar in
|
|
57
|
+
text-primary, as wide as its label. The label keeps one weight in every state,
|
|
58
|
+
so selecting never reflows the strip. Colour changes only — nothing scales.
|
|
59
|
+
|
|
60
|
+
## Scrolling
|
|
61
|
+
|
|
62
|
+
- **Web.** No scrollbar. At an edge with more to scroll, a round secondary arrow
|
|
63
|
+
button sits over a 72px fade into `fadeColor`; it disappears when there is
|
|
64
|
+
nothing more that way. An arrow scrolls by the viewport less both fades, so
|
|
65
|
+
the item half-hidden under a fade lands in full view. Smooth unless the reader
|
|
66
|
+
asked for reduced motion.
|
|
67
|
+
- **Native.** A plain horizontal `ScrollView` — swipe it. No arrows, no fades.
|
|
68
|
+
- **Both.** The selected item is scrolled into view on the first layout
|
|
69
|
+
(without animation) and whenever `value` changes — so a restored or deep-linked
|
|
70
|
+
category is never off-screen.
|
|
71
|
+
|
|
72
|
+
## Accessibility
|
|
73
|
+
|
|
74
|
+
The strip is a `tablist` named by `accessibilityLabel`; every item is a `tab`
|
|
75
|
+
named by its label, with `aria-selected` (React Native folds it into
|
|
76
|
+
`accessibilityState.selected`). On web the strip is ONE tab stop — the selected
|
|
77
|
+
item, or the first when nothing is selected — and inside it ArrowLeft /
|
|
78
|
+
ArrowRight / Home / End move focus, Enter or Space select. The keyboard ring is
|
|
79
|
+
drawn above the selection bar so it never hides it. The arrow buttons stay out
|
|
80
|
+
of the tab order; focus moving along the strip scrolls it.
|
|
81
|
+
|
|
82
|
+
Selecting a tab calls `onValueChange` — the bar controls no panel, so what the
|
|
83
|
+
selection filters is the app's.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Listing Card
|
|
3
|
+
description: A stay in a results grid — paged photos, a heart, rating and price — plus the responsive grid, the heart on its own, and a saved-collection card.
|
|
4
|
+
order: 107
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Listing Card
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import {
|
|
11
|
+
FavoriteButton,
|
|
12
|
+
ListingCard,
|
|
13
|
+
ListingCardGrid,
|
|
14
|
+
WishlistCard,
|
|
15
|
+
} from '@oxy.so/bloom/listing-card';
|
|
16
|
+
|
|
17
|
+
<ListingCardGrid>
|
|
18
|
+
{stays.map((stay) => (
|
|
19
|
+
<ListingCard
|
|
20
|
+
key={stay.id}
|
|
21
|
+
photos={stay.photos}
|
|
22
|
+
title="Alvora, Coast of Merin"
|
|
23
|
+
subtitle="Hosted by Ilse"
|
|
24
|
+
dates="12 – 17 Oct"
|
|
25
|
+
rating={4.92}
|
|
26
|
+
reviewCount={128}
|
|
27
|
+
originalPrice="€150"
|
|
28
|
+
price="€124"
|
|
29
|
+
priceUnit="night"
|
|
30
|
+
badge="Guest favourite"
|
|
31
|
+
href={`/stays/${stay.id}`}
|
|
32
|
+
onPress={() => router.push(`/stays/${stay.id}`)}
|
|
33
|
+
favorite={saved.has(stay.id)}
|
|
34
|
+
onFavoriteChange={(next) => setSaved(stay.id, next)}
|
|
35
|
+
/>
|
|
36
|
+
))}
|
|
37
|
+
</ListingCardGrid>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Prices, dates and counts arrive **pre-formatted** — the app owns currency, locale
|
|
41
|
+
and plural rules. Nothing here computes a price.
|
|
42
|
+
|
|
43
|
+
## `ListingCard`
|
|
44
|
+
|
|
45
|
+
| prop | decides |
|
|
46
|
+
| -------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
|
47
|
+
| `photos` | URLs or `ImageResolver` ids (resolved with `photoVariant`); the first is the cover |
|
|
48
|
+
| `title` | the headline, one line |
|
|
49
|
+
| `subtitle`, `dates` | two secondary lines, one line each |
|
|
50
|
+
| `rating`, `reviewCount`, `newLabel` | Bloom's `Rating`, right of the title. `undefined` draws nothing; `null` or `''` draws "New" |
|
|
51
|
+
| `price`, `priceUnit`, `originalPrice` | the price line: `originalPrice` struck through, `price` semibold, then the unit |
|
|
52
|
+
| `total` | a line under the price; with no `price` it IS the price line, semibold |
|
|
53
|
+
| `badge` | top-left over the photo — a string draws the white pill, any node is placed as given |
|
|
54
|
+
| `favorite`, `onFavoriteChange` | the heart, top-right; drawn only when `onFavoriteChange` is given |
|
|
55
|
+
| `onPress`, `href` | see below |
|
|
56
|
+
| `loading` | a skeleton in the same geometry (`aria-busy`) |
|
|
57
|
+
| `layout` | `'vertical'` (default, photo 20:19) or `'horizontal'` (square photo 40% wide, for lists and map sheets) |
|
|
58
|
+
| `onPhotoIndexChange` | the photo in view changed |
|
|
59
|
+
| `accessibilityLabel` | replaces the composed name |
|
|
60
|
+
| `previousPhotoLabel`, `nextPhotoLabel`, `saveLabel`, `removeLabel` | the controls' names — translate them |
|
|
61
|
+
| `style`, `testID` | |
|
|
62
|
+
|
|
63
|
+
**Anatomy.** The photo is radius 16 and pages: swipe on touch, scroll on a
|
|
64
|
+
trackpad, and — on web, with a mouse — round previous/next buttons that fade in
|
|
65
|
+
while the pointer is over the card (or a button has keyboard focus). They are
|
|
66
|
+
absent on native and on touch-only browsers, where swiping is the gesture. Up to
|
|
67
|
+
five dots sit at the bottom; with more photos the five follow the one in view and
|
|
68
|
+
the edge dots shrink while more lie beyond. Photos mount as they come near, so a
|
|
69
|
+
card with twenty photos loads two.
|
|
70
|
+
|
|
71
|
+
**Press, and a real link.** With `href` the card is an `<a href>` on web, so
|
|
72
|
+
open-in-new-tab, copy link and middle-click work. With `onPress` as well, the
|
|
73
|
+
anchor's default navigation is prevented and `onPress` runs — a router takes it.
|
|
74
|
+
On native, `href` alone opens with `Linking`. With neither the card is not a
|
|
75
|
+
control.
|
|
76
|
+
|
|
77
|
+
**The controls are siblings of the link, not children.** The heart and arrows are
|
|
78
|
+
laid over the photo from outside the link: a button inside an anchor is invalid
|
|
79
|
+
HTML, and would make pressing the heart open the stay. Each is its own tab stop.
|
|
80
|
+
|
|
81
|
+
**Accessible name.** The link is named for the stay — "Alvora, Coast of Merin,
|
|
82
|
+
Guest favourite, Rated 4.92 out of 5, 128 reviews, Hosted by Ilse, 12 – 17 Oct,
|
|
83
|
+
€124 night, originally €150". That sentence is English; apps in other languages
|
|
84
|
+
pass `accessibilityLabel`.
|
|
85
|
+
|
|
86
|
+
## `FavoriteButton`
|
|
87
|
+
|
|
88
|
+
```tsx
|
|
89
|
+
<FavoriteButton favorite={saved} onFavoriteChange={setSaved} />
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
A heart for over a photo: a light outline around a dark body at 50%, legible on a
|
|
93
|
+
bright photo and a dark one; saved, the body turns the theme's red. Colour change
|
|
94
|
+
only — no scale. The target is at least 32 square (`size` sets the heart, default
|
|
95
|
+
24). It is a toggle — `aria-pressed` on web, `accessibilityState.selected` on native
|
|
96
|
+
— named for what pressing does: "Save to wishlist" / "Remove from wishlist"
|
|
97
|
+
(`saveLabel`, `removeLabel`). Its press does not reach a pressable card behind it.
|
|
98
|
+
|
|
99
|
+
## `ListingCardGrid`
|
|
100
|
+
|
|
101
|
+
```tsx
|
|
102
|
+
<ListingCardGrid>{cards}</ListingCardGrid>
|
|
103
|
+
<ListingCardGrid columns={2} columnGap={16} rowGap={24}>{cards}</ListingCardGrid>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Wraps its children into columns by its **own measured width** — 1 below 640, 2
|
|
107
|
+
below 950, 3 below 1280, 4 from there — so a grid beside a map counts the room it
|
|
108
|
+
has, not the window's. Gaps default to 24 between columns and 40 between rows.
|
|
109
|
+
`columns` fixes the count. Rendered as a list (`role="list"`, one `listitem` per
|
|
110
|
+
card).
|
|
111
|
+
|
|
112
|
+
Bloom's `Grid` (`Row`/`Col`) is not a fit here: it is one fixed row of fractional
|
|
113
|
+
columns that neither wraps nor responds to width.
|
|
114
|
+
|
|
115
|
+
## `WishlistCard`
|
|
116
|
+
|
|
117
|
+
```tsx
|
|
118
|
+
<WishlistCard name="Coast weekends" description="12 saved" photos={covers} href="/wishlists/coast" />
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
A saved collection: a square cover, radius 16, with 2px seams — one photo fills
|
|
122
|
+
it, two sit side by side, three put one tall photo beside two, four (or more) make
|
|
123
|
+
a 2×2 of the first four. The name and `description` sit under it. `onPress` and
|
|
124
|
+
`href` behave as on `ListingCard`; the name is "Coast weekends, 12 saved".
|
|
125
|
+
|
|
126
|
+
## Colours
|
|
127
|
+
|
|
128
|
+
All from the theme: the text is `text` / `textSecondary`; the badge pill and the
|
|
129
|
+
arrow buttons are the floating surface (the menu palette and Bloom's secondary
|
|
130
|
+
`Button`); the heart's outline and the dots are `neutral-50`, its body
|
|
131
|
+
`neutral-950` at 50%, saved `red-500` from the theme's `error` hue. The photo
|
|
132
|
+
placeholder is `neutral-100` (dark: the raised neutral).
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Listing details
|
|
3
|
+
description: The parts of a stay's listing page — photo grid, header, highlights, amenities, host card, review summary and review cards — and the section wrapper that stacks them.
|
|
4
|
+
order: 112
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Listing details
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import {
|
|
11
|
+
AmenityList,
|
|
12
|
+
HostCard,
|
|
13
|
+
ListingHeader,
|
|
14
|
+
ListingHeaderAction,
|
|
15
|
+
ListingHighlights,
|
|
16
|
+
ListingPhotoGrid,
|
|
17
|
+
ListingSection,
|
|
18
|
+
ReviewCard,
|
|
19
|
+
ReviewSummary,
|
|
20
|
+
} from '@oxy.so/bloom/listing-details';
|
|
21
|
+
|
|
22
|
+
<ListingHeader
|
|
23
|
+
title="Sunlit flat above the river steps"
|
|
24
|
+
subtitle={['Entire rental unit in Porto', '4 guests', '2 bedrooms', '3 beds', '1 bath']}
|
|
25
|
+
rating={4.92}
|
|
26
|
+
reviewsLabel="128 reviews"
|
|
27
|
+
onPressReviews={scrollToReviews}
|
|
28
|
+
location="Porto, Portugal"
|
|
29
|
+
onPressLocation={openMap}
|
|
30
|
+
actions={<>
|
|
31
|
+
<ListingHeaderAction icon={RiShareLine} label="Share" onPress={share} />
|
|
32
|
+
<ListingHeaderAction icon={saved ? RiHeart3Fill : RiHeart3Line} label="Save" pressed={saved} onPress={toggleSaved} />
|
|
33
|
+
</>}
|
|
34
|
+
/>
|
|
35
|
+
<ListingPhotoGrid photos={photos} onPressPhoto={openGallery} onShowAll={() => openGallery(0)} />
|
|
36
|
+
|
|
37
|
+
<ListingSection>
|
|
38
|
+
<ListingHighlights items={highlights} />
|
|
39
|
+
</ListingSection>
|
|
40
|
+
<ListingSection title="What this place offers">
|
|
41
|
+
<AmenityList items={amenities} limit={10} total={42} onShowAll={openAmenities} />
|
|
42
|
+
</ListingSection>
|
|
43
|
+
<ListingSection title="Reviews">
|
|
44
|
+
<ReviewSummary rating={4.92} title="Loved by guests" description="128 reviews" categories={categories} distribution={distribution} />
|
|
45
|
+
{reviews.map((r) => <ReviewCard key={r.id} {...r} />)}
|
|
46
|
+
</ListingSection>
|
|
47
|
+
<ListingSection title="Meet your host">
|
|
48
|
+
<HostCard name="Marta" avatar={hostPhoto} verified label="Top host" stats={stats} onMessage={message} />
|
|
49
|
+
</ListingSection>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Everything is data in props. Counts, prices, dates and ratings arrive pre-formatted
|
|
53
|
+
as strings, except where a part must compute: `ReviewSummary` and `Rating` format a
|
|
54
|
+
numeric rating (4.92, 5.0), `ReviewCard` rounds `rating` to whole stars, and
|
|
55
|
+
`AmenityList` fills the count into its "Show all" label. The default English strings
|
|
56
|
+
(`"Show all photos"`, `"Show more"`, `"Unavailable"`, `"Rated 4 out of 5"`, …) are all
|
|
57
|
+
props — translate them.
|
|
58
|
+
|
|
59
|
+
## Each part picks its layout from its OWN width
|
|
60
|
+
|
|
61
|
+
`ListingPhotoGrid`, `ListingHeader`, `AmenityList` and `ReviewSummary` measure the
|
|
62
|
+
width they are laid out at (`onLayout`), not the window, so a page that splits into a
|
|
63
|
+
content column and a booking column gets the right layout in each.
|
|
64
|
+
|
|
65
|
+
| part | below | from |
|
|
66
|
+
| --- | --- | --- |
|
|
67
|
+
| `ListingPhotoGrid` (`layout="auto"`) | 744: full-bleed carousel | 744: grid |
|
|
68
|
+
| `ListingHeader` | 640: actions under the meta row | 640: actions beside the title |
|
|
69
|
+
| `AmenityList` (`columns="auto"`) | 560: one column | 560: two columns |
|
|
70
|
+
| `ReviewSummary` | 640: stacked, one category column | 640: distribution beside two category columns |
|
|
71
|
+
|
|
72
|
+
Before the first layout the photo grid holds its height with an empty frame, so the
|
|
73
|
+
page does not jump. `layout="grid" | "carousel"` and `columns={1 | 2}` skip the
|
|
74
|
+
measuring.
|
|
75
|
+
|
|
76
|
+
## `ListingPhotoGrid`
|
|
77
|
+
|
|
78
|
+
One large photo on the left half and a 2×2 grid on the right, 8px apart. The frame
|
|
79
|
+
rounds its outer corners to 16 and clips, so the inner corners stay square. Fewer
|
|
80
|
+
photos degrade: 1 fills the frame, 2 split it, 3 are a large photo plus two stacked,
|
|
81
|
+
4 a large photo plus one over two. A photo darkens slightly on hover (web; native has
|
|
82
|
+
no hover). "Show all photos" is a small secondary `Button` with `RiLayoutGridLine`,
|
|
83
|
+
drawn only when `onShowAll` is set.
|
|
84
|
+
|
|
85
|
+
Narrow, it is Bloom's `Carousel` without arrows or dots, one photo per page, with a
|
|
86
|
+
"1 / 24" counter pill (`formatCounter`). The pill is `aria-hidden`: each slide already
|
|
87
|
+
announces "Living room, photo 1 of 24" (`photoLabel`).
|
|
88
|
+
|
|
89
|
+
| prop | decides |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| `photos` | `{ source, alt? }[]` — `source` is a URL or an `ImageResolver` id (`imageVariant`, default `"large"`) |
|
|
92
|
+
| `onPressPhoto(index)` | makes each photo a button; without it a photo is a named image |
|
|
93
|
+
| `onShowAll`, `showAllLabel` | the "Show all photos" button |
|
|
94
|
+
| `layout` | `auto` (default), `grid`, `carousel` |
|
|
95
|
+
| `aspectRatio` / `carouselAspectRatio` | `2` / `4 / 3` |
|
|
96
|
+
|
|
97
|
+
### Opening the full-screen gallery
|
|
98
|
+
|
|
99
|
+
The grid does not import `ZoomableMediaGallery` (it lives on its own subpath with its
|
|
100
|
+
own peers); wire the two together in the app:
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { ZoomableMediaGallery, type ZoomableMediaGalleryHandle } from '@oxy.so/bloom/zoomable-media-gallery';
|
|
104
|
+
|
|
105
|
+
const gallery = useRef<ZoomableMediaGalleryHandle>(null);
|
|
106
|
+
const items = photos.map((p) => ({ uri: p.source, alt: p.alt }));
|
|
107
|
+
const open = (index: number) => gallery.current?.open(items, index);
|
|
108
|
+
|
|
109
|
+
<ListingPhotoGrid photos={photos} onPressPhoto={open} onShowAll={() => open(0)} />
|
|
110
|
+
<ZoomableMediaGallery ref={gallery} indicatorVariant="thumbnails" />
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## `ListingHeader` and `ListingHeaderAction`
|
|
114
|
+
|
|
115
|
+
The title is a heading (`headingLevel`, default 1) in title-1-semibold, or
|
|
116
|
+
title-2-semibold with `size="medium"`. The subtitle (body, text-secondary) joins an
|
|
117
|
+
array with " · ". The meta row is `badge` · `Rating` · the reviews link · the location
|
|
118
|
+
link, wrapping; a link without its handler draws as plain text.
|
|
119
|
+
|
|
120
|
+
`ListingHeaderAction` is the text button for `actions`: a 16px icon and an underlined
|
|
121
|
+
body-semibold label, a neutral wash on hover, pill-shaped. `pressed` makes it a toggle
|
|
122
|
+
(`aria-pressed` on web, `selected` on native); `iconOnly` drops the label on a narrow
|
|
123
|
+
header and keeps it as the accessible name.
|
|
124
|
+
|
|
125
|
+
## `ListingHighlights`
|
|
126
|
+
|
|
127
|
+
Rows of an icon (`iconSize` 24 / 28 / 32, default 28), a headline-semibold title and a
|
|
128
|
+
body description in text-secondary, 24 apart. A `list` of `listitem`s.
|
|
129
|
+
|
|
130
|
+
## `AmenityList`
|
|
131
|
+
|
|
132
|
+
Icon (24) + label rows, 12 above and below, in one or two columns. `available: false`
|
|
133
|
+
strikes the label through, mutes the icon to text-tertiary and announces
|
|
134
|
+
"Unavailable: Air conditioning" (`unavailableLabel`). `limit` draws the first N;
|
|
135
|
+
the "Show all 42 amenities" secondary button appears when `onShowAll` is set and more
|
|
136
|
+
exist than are drawn — pass `total` when `items` is already a subset.
|
|
137
|
+
|
|
138
|
+
## `HostCard`
|
|
139
|
+
|
|
140
|
+
A card (radius 20, card surface / dark neutral-900, hairline border, dropdown shadow):
|
|
141
|
+
a 104px `Avatar` with a check badge on a primary disc when `verified`, the name in
|
|
142
|
+
title-1-semibold and a `label` ("Top host", with an optional `labelIcon`); on the right
|
|
143
|
+
a column of `stats` separated by hairlines. Below it: `details` (20px icon + body
|
|
144
|
+
lines), `responseLines` (text-secondary) and a "Message host" secondary button when
|
|
145
|
+
`onMessage` is set. `onPressProfile` makes the card one button named
|
|
146
|
+
"Marta, Top host, Verified, 214 Reviews, …".
|
|
147
|
+
|
|
148
|
+
## `ReviewSummary`
|
|
149
|
+
|
|
150
|
+
A 32px star and the rating in display-2-semibold, with `title` / `description` beside
|
|
151
|
+
it — one accessible element ("Rated 4.92 out of 5, Loved by guests"). Below: the 5→1
|
|
152
|
+
distribution (`RatingBar` with `labelWidth={12}` and `max={1}`) and the category
|
|
153
|
+
breakdown (`RatingBar` with a 16px category icon, `display` defaulting to
|
|
154
|
+
`value.toFixed(1)`).
|
|
155
|
+
|
|
156
|
+
## `ReviewCard`
|
|
157
|
+
|
|
158
|
+
Avatar (48) + name + secondary line; five 10px stars (one image, "Rated 5 out of 5")
|
|
159
|
+
and the date; the text clamped to `numberOfLines` (default 4, `0` never clamps).
|
|
160
|
+
|
|
161
|
+
"Show more" is drawn only when the text IS clamped. That is measured, not guessed from
|
|
162
|
+
the string's length: an invisible, unclamped copy is laid out behind the text and the
|
|
163
|
+
two heights compared, which works identically on web and native. The toggle carries
|
|
164
|
+
`aria-expanded` (web) and `accessibilityState.expanded` (native); `expanded` /
|
|
165
|
+
`onExpandedChange` control it. `hostResponse` draws a tinted block (radius 12) with
|
|
166
|
+
the response title, date and text.
|
|
167
|
+
|
|
168
|
+
## `ListingSection`
|
|
169
|
+
|
|
170
|
+
The wrapper that gives a page one rhythm: a top hairline (`divider`, default on), 32
|
|
171
|
+
above and below, the title as a level-2 heading (title-3-semibold, or headline with
|
|
172
|
+
`size="small"`), an optional `subtitle` and `action`, and the content 24 below.
|
|
173
|
+
|
|
174
|
+
## Accessibility
|
|
175
|
+
|
|
176
|
+
- Photos are buttons named by `photoLabel` when pressable, named images otherwise.
|
|
177
|
+
- Heading levels are props (`ListingHeader` 1, `ListingSection` 2).
|
|
178
|
+
- Links in the meta row are `role="link"` on web, buttons on native.
|
|
179
|
+
- Every state is spelled for both platforms: `aria-pressed` + `selected` on a toggled
|
|
180
|
+
action, `aria-expanded` + `expanded` on "Show more", `aria-value*` on every bar.
|