@oxy.so/bloom 2.6.0 → 2.8.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/app-shell.mdx +47 -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/sidebar.mdx +17 -0
- package/docs/stay-filters.mdx +253 -0
- package/docs/stay-search.mdx +197 -0
- package/docs/stepper.mdx +73 -0
- package/lib/commonjs/app-shell/AppShell.js +248 -156
- package/lib/commonjs/app-shell/AppShell.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellHeader.js +2 -2
- package/lib/commonjs/app-shell/AppShellHeader.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellMenuButton.js +40 -0
- package/lib/commonjs/app-shell/AppShellMenuButton.js.map +1 -0
- package/lib/commonjs/app-shell/context.js +30 -0
- package/lib/commonjs/app-shell/context.js.map +1 -0
- package/lib/commonjs/app-shell/index.js +14 -0
- package/lib/commonjs/app-shell/index.js.map +1 -1
- 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/sidebar/Sidebar.js +51 -17
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarLogoView.js +124 -0
- package/lib/commonjs/sidebar/SidebarLogoView.js.map +1 -0
- package/lib/commonjs/sidebar/SidebarRail.js +16 -2
- package/lib/commonjs/sidebar/SidebarRail.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/app-shell/AppShell.js +249 -157
- package/lib/module/app-shell/AppShell.js.map +1 -1
- package/lib/module/app-shell/AppShellHeader.js +2 -2
- package/lib/module/app-shell/AppShellHeader.js.map +1 -1
- package/lib/module/app-shell/AppShellMenuButton.js +35 -0
- package/lib/module/app-shell/AppShellMenuButton.js.map +1 -0
- package/lib/module/app-shell/context.js +23 -0
- package/lib/module/app-shell/context.js.map +1 -0
- package/lib/module/app-shell/index.js +2 -0
- package/lib/module/app-shell/index.js.map +1 -1
- 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/sidebar/Sidebar.js +51 -17
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarLogoView.js +119 -0
- package/lib/module/sidebar/SidebarLogoView.js.map +1 -0
- package/lib/module/sidebar/SidebarRail.js +16 -2
- package/lib/module/sidebar/SidebarRail.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/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellMenuButton.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/AppShellMenuButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts +18 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/index.d.ts +4 -1
- package/lib/typescript/commonjs/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +41 -11
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- 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/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarLogoView.d.ts +6 -0
- package/lib/typescript/commonjs/sidebar/SidebarLogoView.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts +3 -2
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/index.d.ts +1 -1
- package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +36 -0
- package/lib/typescript/commonjs/sidebar/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/app-shell/AppShell.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellHeader.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellMenuButton.d.ts +4 -0
- package/lib/typescript/module/app-shell/AppShellMenuButton.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/context.d.ts +18 -0
- package/lib/typescript/module/app-shell/context.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/index.d.ts +4 -1
- package/lib/typescript/module/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +41 -11
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- 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/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarLogoView.d.ts +6 -0
- package/lib/typescript/module/sidebar/SidebarLogoView.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/SidebarRail.d.ts +3 -2
- package/lib/typescript/module/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/index.d.ts +1 -1
- package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +36 -0
- package/lib/typescript/module/sidebar/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/app-shell/AppShell.tsx +181 -107
- package/src/app-shell/AppShellHeader.tsx +11 -9
- package/src/app-shell/AppShellMenuButton.tsx +37 -0
- package/src/app-shell/context.ts +35 -0
- package/src/app-shell/index.ts +4 -0
- package/src/app-shell/types.ts +42 -11
- 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/sidebar/Sidebar.tsx +42 -22
- package/src/sidebar/SidebarLogoView.tsx +92 -0
- package/src/sidebar/SidebarRail.tsx +9 -1
- package/src/sidebar/index.ts +1 -0
- package/src/sidebar/types.ts +38 -0
- package/src/stay-filters/AmenityFilter.tsx +58 -0
- package/src/stay-filters/CountFilter.tsx +88 -0
- package/src/stay-filters/FilterChip.tsx +129 -0
- package/src/stay-filters/FilterFooter.tsx +79 -0
- package/src/stay-filters/FilterSection.tsx +72 -0
- package/src/stay-filters/FilterTextButton.tsx +105 -0
- package/src/stay-filters/FilterTriggerButton.tsx +58 -0
- package/src/stay-filters/PriceHistogram.tsx +79 -0
- package/src/stay-filters/PriceRangeFilter.tsx +142 -0
- package/src/stay-filters/SegmentedFilter.tsx +42 -0
- package/src/stay-filters/SwitchFilterRow.tsx +60 -0
- package/src/stay-filters/ToggleChipGroup.tsx +59 -0
- package/src/stay-filters/index.ts +25 -0
- package/src/stay-filters/types.ts +192 -0
- package/src/stay-search/DateFlexibilityChips.tsx +48 -0
- package/src/stay-search/DestinationSuggestions.tsx +161 -0
- package/src/stay-search/GuestPicker.tsx +101 -0
- package/src/stay-search/StaySearchBar.tsx +349 -0
- package/src/stay-search/StaySearchCompact.tsx +127 -0
- package/src/stay-search/StaySearchPanel.tsx +51 -0
- package/src/stay-search/StaySearchStep.tsx +116 -0
- package/src/stay-search/constants.ts +58 -0
- package/src/stay-search/context.ts +15 -0
- package/src/stay-search/guests.ts +21 -0
- package/src/stay-search/index.ts +25 -0
- package/src/stay-search/palette.ts +91 -0
- package/src/stay-search/types.ts +210 -0
- package/src/stepper/Stepper.tsx +223 -0
- package/src/stepper/StepperRow.tsx +69 -0
- package/src/stepper/index.ts +3 -0
- package/src/stepper/types.ts +51 -0
|
@@ -0,0 +1,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.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Map Marker
|
|
3
|
+
description: Price pills, cluster bubbles, the listing preview card and the search-area pill to place on an app's own map.
|
|
4
|
+
order: 110
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Map Marker
|
|
8
|
+
|
|
9
|
+
The pieces a listings map is made of. Bloom ships no map: these render
|
|
10
|
+
anywhere, and the app's map library positions them.
|
|
11
|
+
|
|
12
|
+
```tsx
|
|
13
|
+
import {
|
|
14
|
+
MapClusterMarker,
|
|
15
|
+
MapListingPreview,
|
|
16
|
+
MapPriceMarker,
|
|
17
|
+
MapSearchAreaButton,
|
|
18
|
+
} from '@oxy.so/bloom/map-marker';
|
|
19
|
+
|
|
20
|
+
<MapPriceMarker
|
|
21
|
+
price="€120"
|
|
22
|
+
state={activeId === id ? 'active' : visited.has(id) ? 'visited' : 'default'}
|
|
23
|
+
saved={saved.has(id)}
|
|
24
|
+
onPress={() => open(id)}
|
|
25
|
+
accessibilityLabel="€120 per night, Valdoria"
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
<MapClusterMarker count={14} onPress={zoomIn} />
|
|
29
|
+
|
|
30
|
+
<MapListingPreview
|
|
31
|
+
image={listing.photo}
|
|
32
|
+
title="Cabin by the pines"
|
|
33
|
+
rating={4.92}
|
|
34
|
+
reviewCount={128}
|
|
35
|
+
subtitle="Entire cabin · 2 beds"
|
|
36
|
+
price="€120"
|
|
37
|
+
priceDetail="night"
|
|
38
|
+
favorite={saved.has(id)}
|
|
39
|
+
onFavoriteChange={toggleSaved}
|
|
40
|
+
onClose={close}
|
|
41
|
+
onPress={openListing}
|
|
42
|
+
/>
|
|
43
|
+
|
|
44
|
+
<MapSearchAreaButton variant="toggle" checked={follow} onCheckedChange={setFollow} />
|
|
45
|
+
<MapSearchAreaButton onPress={searchHere} />
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Placement is the app's: centre a marker on its coordinate (for an absolutely
|
|
49
|
+
positioned overlay, `transform: [{ translateX: '-50%' }, { translateY: '-50%' }]`)
|
|
50
|
+
and raise the active marker and the preview card above their neighbours.
|
|
51
|
+
Prices arrive formatted — the app owns currency and locale.
|
|
52
|
+
|
|
53
|
+
## `MapPriceMarker`
|
|
54
|
+
|
|
55
|
+
| prop | decides |
|
|
56
|
+
| -------------------- | ------------------------------------------------------------------------ |
|
|
57
|
+
| `price` | the text in the pill ("€120") |
|
|
58
|
+
| `state` | `'default'`, `'active'` (the open one) or `'visited'` (opened before) |
|
|
59
|
+
| `saved` | a small heart before the price |
|
|
60
|
+
| `onPress` | |
|
|
61
|
+
| `accessibilityLabel` | a sentence — the pill shows only a number. Defaults to `price` |
|
|
62
|
+
| `style`, `testID` | the heart is `<testID>-saved` |
|
|
63
|
+
|
|
64
|
+
A 28px full pill, `body-2-semibold` tabular text, 10px sides.
|
|
65
|
+
|
|
66
|
+
| state | fill | label | edge / elevation |
|
|
67
|
+
| -------- | ----------------------- | ----------------- | --------------------------- |
|
|
68
|
+
| default | surface (card; dark neutral-800) | text-primary | hairline, `shadow-s`; hover darkens the hairline |
|
|
69
|
+
| active | text-primary (inverted) | card; dark neutral-900 | `shadow-m` |
|
|
70
|
+
| visited | neutral-100; dark neutral-900 | neutral-500; dark neutral-400 | hairline, `shadow-s` |
|
|
71
|
+
|
|
72
|
+
The heart is the theme's danger red. The marker is a `button` whose
|
|
73
|
+
`aria-pressed` (native `accessibilityState.selected`) is the active state.
|
|
74
|
+
|
|
75
|
+
## `MapClusterMarker`
|
|
76
|
+
|
|
77
|
+
`count` (number or a string like `"99+"`), `state` (`default` | `active`),
|
|
78
|
+
`onPress`, `accessibilityLabel` (default `"<count> stays"` — translate it),
|
|
79
|
+
`style`, `testID`. A 36px round bubble that widens for longer counts, painted
|
|
80
|
+
like the price pill.
|
|
81
|
+
|
|
82
|
+
## `MapListingPreview`
|
|
83
|
+
|
|
84
|
+
| prop | decides |
|
|
85
|
+
| -------------------- | ------------------------------------------------------------------------ |
|
|
86
|
+
| `image`, `imageVariant` | a URL, or an id for the app's `ImageResolver` |
|
|
87
|
+
| `title` | one line, truncated |
|
|
88
|
+
| `rating`, `reviewCount` | handed to `Rating` (`null` draws "New"); omit `rating` to hide it |
|
|
89
|
+
| `subtitle` | the secondary line |
|
|
90
|
+
| `price`, `priceDetail`, `originalPrice` | "€150 **€120** night" — the original struck through |
|
|
91
|
+
| `favorite`, `onFavoriteChange` | the heart; shown only with the handler |
|
|
92
|
+
| `onClose` | the close button; shown only with the handler |
|
|
93
|
+
| `onPress` | opens the listing — the whole card is the target |
|
|
94
|
+
| `layout` | `'vertical'` (photo on top, default) or `'compact'` (photo left, 112 wide) |
|
|
95
|
+
| `width` | default `327` |
|
|
96
|
+
| `closeLabel`, `favoriteLabel`, `accessibilityLabel` | names; defaults "Close", "Save", `title` |
|
|
97
|
+
|
|
98
|
+
A 16-radius card on the floating surface (hairline, `shadow-m`). Vertical: a
|
|
99
|
+
200px photo, then 12px of padding around the title and `Rating` on one line,
|
|
100
|
+
the subtitle, and the price line. The close button is Bloom's `xs` secondary
|
|
101
|
+
icon button over the photo's top-left; the heart a 24px round button in the
|
|
102
|
+
opposite corner (compact: heart over the photo, close in the card's top-right).
|
|
103
|
+
The card never clips — the photo clips itself — so the native shadow survives.
|
|
104
|
+
|
|
105
|
+
The open target is a button laid over the card BESIDE the close and heart
|
|
106
|
+
buttons rather than around them, so no button nests inside another. The heart
|
|
107
|
+
is a toggle with `aria-pressed` and native `accessibilityState.selected`.
|
|
108
|
+
|
|
109
|
+
## `MapSearchAreaButton`
|
|
110
|
+
|
|
111
|
+
`variant="toggle"` with `checked` / `onCheckedChange` draws a Bloom checkbox box
|
|
112
|
+
and "Search as I move the map" as a `checkbox` with `aria-checked`; the default
|
|
113
|
+
`variant="button"` with `onPress` draws a search icon and "Search this area".
|
|
114
|
+
Both take `label`, `disabled`, `style` and `testID`. A 40px floating pill on the
|
|
115
|
+
surface with a hairline and `shadow-m`; hover takes the menu hover fill.
|
package/docs/rating.mdx
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Rating
|
|
3
|
+
description: A compact star, value and review count, and the bar for a rating breakdown.
|
|
4
|
+
order: 61
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Rating
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { Rating, RatingBar } from '@oxy.so/bloom/rating';
|
|
11
|
+
|
|
12
|
+
<Rating value={4.92} count={128} /> // ★ 4.92 (128)
|
|
13
|
+
<Rating value={4.81} count={214} countStyle="reviews" /> // ★ 4.81 · 214 reviews
|
|
14
|
+
<Rating value={null} /> // ★ New
|
|
15
|
+
|
|
16
|
+
<RatingBar label="Cleanliness" value={4.9} display="4.9" />
|
|
17
|
+
<RatingBar label="5" labelWidth={12} value={0.86} max={1} display="86%" />
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## `Rating`
|
|
21
|
+
|
|
22
|
+
| prop | decides |
|
|
23
|
+
| -------------------- | --------------------------------------------------------------------------------------- |
|
|
24
|
+
| `value` | a number (drawn 5.0, 4.9, 4.92) or a pre-formatted string; `null`/`undefined`/`''` = no rating yet |
|
|
25
|
+
| `count` | the review count, number or string (`"1.2k"`); hidden when there is no rating |
|
|
26
|
+
| `countStyle` | `'parenthesis'` → "(128)" (default) or `'reviews'` → "· 128 reviews" |
|
|
27
|
+
| `reviewsLabel` | the word after the count, default `"reviews"` — translate it |
|
|
28
|
+
| `newLabel` | drawn instead of the value when there is no rating yet, default `"New"` |
|
|
29
|
+
| `size` | `'small'` (14px star, body-2 text) or `'medium'` (default, 16px star, body text) |
|
|
30
|
+
| `accessibilityLabel` | replaces the composed name — pass a translated sentence |
|
|
31
|
+
| `style`, `testID` | |
|
|
32
|
+
|
|
33
|
+
The star and value are text-primary (`body-semibold`), the count text-secondary
|
|
34
|
+
(`body-regular`). The whole row is one accessible element — `role="img"` on web —
|
|
35
|
+
named "Rated 4.92 out of 5, 128 reviews", so a screen reader does not read the
|
|
36
|
+
star, the number and the brackets as separate items. That sentence is English;
|
|
37
|
+
apps in other languages pass `accessibilityLabel`.
|
|
38
|
+
|
|
39
|
+
## `RatingBar`
|
|
40
|
+
|
|
41
|
+
| prop | decides |
|
|
42
|
+
| ------------ | --------------------------------------------------------------------------- |
|
|
43
|
+
| `label` | the row's text and the bar's accessible name |
|
|
44
|
+
| `value` | position on the scale, clamped to `0..max` |
|
|
45
|
+
| `max` | the scale, default `5`; pass `1` for a fraction |
|
|
46
|
+
| `display` | the text on the right ("4.9", "86%"), also the bar's `aria-valuetext` |
|
|
47
|
+
| `labelWidth` | without it the label flexes and the bar is 96 wide (a category list); with it the bar flexes (a distribution) |
|
|
48
|
+
|
|
49
|
+
The track is 4 tall with a 2px radius, neutral-200 (dark neutral-800), filled
|
|
50
|
+
with text-primary. The bar is a `progressbar` carrying `aria-valuemin`,
|
|
51
|
+
`aria-valuemax` and `aria-valuenow`.
|
package/docs/sidebar.mdx
CHANGED
|
@@ -39,6 +39,23 @@ Give it a height (it fills `100%`); its width is its own.
|
|
|
39
39
|
| `SidebarRailItem` | one `rail` destination: icon on a 48 × 32 pill over a 10px label |
|
|
40
40
|
| `SIDEBAR_RAIL_WIDTH` | the rail's width (80) |
|
|
41
41
|
|
|
42
|
+
## Logo
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
<Sidebar
|
|
46
|
+
logo={{ icon: <OxyMark width={28} height={28} />, wordmark: 'Oxy', href: '/', onPress: () => router.push('/') }}
|
|
47
|
+
items={items}
|
|
48
|
+
account={account}
|
|
49
|
+
/>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
- `icon` — the mark, centred in a 36 × 36 box (the collapsed column), so it stays put while the sidebar collapses. Size it yourself; 24–28px reads right.
|
|
53
|
+
- `wordmark` — beside the mark, folded away while collapsed. A string renders as the product name in `headline-semibold`; pass an SVG or image for a drawn wordmark.
|
|
54
|
+
- `href` makes it a real anchor on web; `onPress` a button (with both, `onPress` wins so a router can navigate — pass it on native, where there is no anchor). With neither it is decoration, named by `accessibilityLabel` or a string `wordmark`.
|
|
55
|
+
- Give a mark, a wordmark or both. Wordmark only disappears when collapsed.
|
|
56
|
+
|
|
57
|
+
The logo leads the header beside the collapse (or close) control; `account`, if given too, moves to its own row under it. Collapsed, the mark sits above the expand control. `variant="rail"` shows the mark only, centred above the items.
|
|
58
|
+
|
|
42
59
|
## Modes
|
|
43
60
|
|
|
44
61
|
```tsx
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Stay Filters
|
|
3
|
+
description: The parts of a results page's filters surface — sections, a price histogram over a range slider, count pills, amenity chips, switches, a sticky footer and the trigger.
|
|
4
|
+
order: 111
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Stay Filters
|
|
8
|
+
|
|
9
|
+
The filters surface of a search results page, as parts the app composes inside
|
|
10
|
+
Bloom's `Dialog`. Data is props: the app owns the filter state, the result
|
|
11
|
+
count and every label.
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import {
|
|
15
|
+
AmenityFilter,
|
|
16
|
+
CountFilter,
|
|
17
|
+
FilterFooter,
|
|
18
|
+
FilterSection,
|
|
19
|
+
FilterTriggerButton,
|
|
20
|
+
PriceRangeFilter,
|
|
21
|
+
SegmentedFilter,
|
|
22
|
+
SwitchFilterRow,
|
|
23
|
+
} from '@oxy.so/bloom/stay-filters';
|
|
24
|
+
import { Dialog, useDialogControl } from '@oxy.so/bloom/dialog';
|
|
25
|
+
import { RiWifiLine } from '@oxy.so/bloom/icons';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Composing the dialog
|
|
29
|
+
|
|
30
|
+
A centred 780-wide dialog from `md` up and a bottom sheet below it are the
|
|
31
|
+
`Dialog`'s own responsive placement — nothing here builds a modal. The sections
|
|
32
|
+
scroll; the footer stays, because it is rendered **after** the scroll view
|
|
33
|
+
rather than inside it. That needs `scrollable={false}` (the children own the
|
|
34
|
+
scrolling) and `contentPadding={0}` (the sections and footer own their insets).
|
|
35
|
+
|
|
36
|
+
```tsx
|
|
37
|
+
function Filters() {
|
|
38
|
+
const control = useDialogControl();
|
|
39
|
+
const [draft, setDraft] = useState(initialFilters);
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<>
|
|
43
|
+
<FilterTriggerButton count={appliedCount} onPress={() => control.open()} />
|
|
44
|
+
<Dialog
|
|
45
|
+
control={control}
|
|
46
|
+
label="Filters"
|
|
47
|
+
header={{ title: 'Filters', largeTitle: false }}
|
|
48
|
+
placement={{ base: 'bottom', md: 'center' }}
|
|
49
|
+
maxWidth={780}
|
|
50
|
+
scrollable={false}
|
|
51
|
+
contentPadding={0}
|
|
52
|
+
>
|
|
53
|
+
<ScrollView style={{ flexShrink: 1 }} contentContainerStyle={{ paddingLeft: 24, paddingRight: 24 }}>
|
|
54
|
+
<FilterSection title="Type of place">
|
|
55
|
+
<SegmentedFilter
|
|
56
|
+
options={[
|
|
57
|
+
{ value: 'any', label: 'Any type' },
|
|
58
|
+
{ value: 'room', label: 'Room' },
|
|
59
|
+
{ value: 'entire', label: 'Entire home' },
|
|
60
|
+
]}
|
|
61
|
+
value={draft.type}
|
|
62
|
+
onValueChange={(type) => setDraft({ ...draft, type })}
|
|
63
|
+
accessibilityLabel="Type of place"
|
|
64
|
+
/>
|
|
65
|
+
</FilterSection>
|
|
66
|
+
<FilterSection title="Price range" description="Nightly prices before fees and taxes">
|
|
67
|
+
<PriceRangeFilter
|
|
68
|
+
buckets={priceBuckets}
|
|
69
|
+
min={20}
|
|
70
|
+
max={620}
|
|
71
|
+
step={5}
|
|
72
|
+
value={draft.price}
|
|
73
|
+
onValueChange={(price) => setDraft({ ...draft, price })}
|
|
74
|
+
formatPrice={(n) => formatCurrency(n)}
|
|
75
|
+
/>
|
|
76
|
+
</FilterSection>
|
|
77
|
+
<FilterSection title="Rooms and beds">
|
|
78
|
+
<CountFilter title="Bedrooms" value={draft.bedrooms} onValueChange={(bedrooms) => setDraft({ ...draft, bedrooms })} />
|
|
79
|
+
</FilterSection>
|
|
80
|
+
<FilterSection title="Amenities">
|
|
81
|
+
<AmenityFilter
|
|
82
|
+
options={[{ value: 'wifi', label: 'Wifi', icon: RiWifiLine } /* … */]}
|
|
83
|
+
value={draft.amenities}
|
|
84
|
+
onValueChange={(amenities) => setDraft({ ...draft, amenities })}
|
|
85
|
+
accessibilityLabel="Amenities"
|
|
86
|
+
/>
|
|
87
|
+
</FilterSection>
|
|
88
|
+
<FilterSection title="Booking options" divider={false}>
|
|
89
|
+
<SwitchFilterRow
|
|
90
|
+
title="Instant Book"
|
|
91
|
+
description="Listings you can book without waiting for host approval"
|
|
92
|
+
value={draft.instant}
|
|
93
|
+
onValueChange={(instant) => setDraft({ ...draft, instant })}
|
|
94
|
+
/>
|
|
95
|
+
</FilterSection>
|
|
96
|
+
</ScrollView>
|
|
97
|
+
<FilterFooter
|
|
98
|
+
resultsLabel={resultsLabel} // "Show 1,000+ places", formatted by the app
|
|
99
|
+
loading={countIsLoading}
|
|
100
|
+
onClear={() => setDraft(initialFilters)}
|
|
101
|
+
onApply={() => {
|
|
102
|
+
apply(draft);
|
|
103
|
+
control.close();
|
|
104
|
+
}}
|
|
105
|
+
/>
|
|
106
|
+
</Dialog>
|
|
107
|
+
</>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
On a phone, add the bottom safe-area inset to the footer
|
|
113
|
+
(`style={{ paddingBottom: 16 + insets.bottom }}`) — the footer is the sheet's
|
|
114
|
+
last row.
|
|
115
|
+
|
|
116
|
+
## Parts
|
|
117
|
+
|
|
118
|
+
### `FilterSection`
|
|
119
|
+
|
|
120
|
+
| prop | decides |
|
|
121
|
+
| --- | --- |
|
|
122
|
+
| `title` | the heading, `headline-semibold`, `role="heading"`; a string also names the section's `group` |
|
|
123
|
+
| `description` | a `body-regular` text-secondary line under it |
|
|
124
|
+
| `children` | the section's control, 24 under the heading |
|
|
125
|
+
| `divider` | a 1px neutral hairline under the section (default `true`; pass `false` on the last) |
|
|
126
|
+
| `accessibilityLabel` | the group's name when `title` is a node |
|
|
127
|
+
|
|
128
|
+
32 above and below, no side padding — the surface owns the inset.
|
|
129
|
+
|
|
130
|
+
### `PriceRangeFilter` and `PriceHistogram`
|
|
131
|
+
|
|
132
|
+
| prop | decides |
|
|
133
|
+
| --- | --- |
|
|
134
|
+
| `buckets` | listing counts per price bucket, lowest first; they split `min`..`max` evenly. Omit for no histogram |
|
|
135
|
+
| `min` / `max` / `step` | the slider's bounds and granularity |
|
|
136
|
+
| `value` / `onValueChange` | the controlled `[low, high]` |
|
|
137
|
+
| `onValueCommit` | once per drag end, or per committed field |
|
|
138
|
+
| `formatPrice` | how a field shows a price at rest, e.g. `(n) => (n >= max ? '$620+' : '$' + n)` |
|
|
139
|
+
| `minLabel` / `maxLabel` | the field labels and the thumbs' names (default "Minimum" / "Maximum") |
|
|
140
|
+
| `accessibilityLabel` | the slider's name (default "Price range") |
|
|
141
|
+
| `histogramHeight` | the tallest bar (default 64) |
|
|
142
|
+
|
|
143
|
+
This one **computes** prices — bucket bounds, clamping, snapping — so they are
|
|
144
|
+
numbers, and `formatPrice` is where the app's currency and locale come in.
|
|
145
|
+
|
|
146
|
+
- **The histogram** draws equal-width bars 2 apart with 2px top corners. A
|
|
147
|
+
bucket whose midpoint is inside the range is text-primary; the rest are
|
|
148
|
+
neutral-300 (dark neutral-700). It is hidden from assistive technology: the
|
|
149
|
+
slider announces the same range as numbers. `PriceHistogram` is exported on
|
|
150
|
+
its own for a custom layout.
|
|
151
|
+
- **The slider** is Bloom's `RangeSlider` without value bubbles, pulled up so
|
|
152
|
+
its rail sits on the bars' baseline. Both map `min`..`max` across the full
|
|
153
|
+
width, so each bar sits over the prices it counts.
|
|
154
|
+
- **The fields** are floating-label `TextField`s. Focused, a field shows the
|
|
155
|
+
bare number; the typed text is a draft until blur or submit, when it is
|
|
156
|
+
parsed ("$1,200" reads as 1200), snapped, clamped to its own side of the
|
|
157
|
+
range and committed. Unparseable text restores the committed value.
|
|
158
|
+
|
|
159
|
+
### `SegmentedFilter`
|
|
160
|
+
|
|
161
|
+
Bloom's `SegmentedControl` at `large`, stretched to the full width.
|
|
162
|
+
`options`, `value`, `onValueChange`, and a required `accessibilityLabel` naming
|
|
163
|
+
the radio group.
|
|
164
|
+
|
|
165
|
+
### `CountFilter`
|
|
166
|
+
|
|
167
|
+
A title and a row of pills: "Any" (`null`), then `min`..`max` (default 1..8),
|
|
168
|
+
the last reading `8+`. Single select. The row scrolls sideways when it does not
|
|
169
|
+
fit, so the counts keep their order on a narrow screen.
|
|
170
|
+
|
|
171
|
+
| prop | decides |
|
|
172
|
+
| --- | --- |
|
|
173
|
+
| `title` | the label above; a string also names the `radiogroup` |
|
|
174
|
+
| `value` / `onValueChange` | a count, or `null` for any |
|
|
175
|
+
| `min` / `max` | the range of pills (default `1` / `8`) |
|
|
176
|
+
| `anyLabel` | default "Any" |
|
|
177
|
+
| `formatCount` | a pill's label, default the number with `+` on `max` |
|
|
178
|
+
| `disabled` | every pill |
|
|
179
|
+
|
|
180
|
+
For an exact count rather than a minimum, use `StepperRow` from
|
|
181
|
+
`@oxy.so/bloom/stepper`:
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
<StepperRow title="Guests" value={guests} onValueChange={setGuests} min={1} max={16} />
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### `ToggleChipGroup` and `AmenityFilter`
|
|
188
|
+
|
|
189
|
+
`ToggleChipGroup` is wrapped multi-select pills, each with an optional icon
|
|
190
|
+
component. The selection is reported in `options` order. It needs an
|
|
191
|
+
`accessibilityLabel` for its group.
|
|
192
|
+
|
|
193
|
+
`AmenityFilter` is a `ToggleChipGroup` that shows the first `collapsedCount`
|
|
194
|
+
(default 6) options and an underlined "Show more" / "Show less" link
|
|
195
|
+
(`showMoreLabel`, `showLessLabel`, `defaultExpanded`). A selected option past
|
|
196
|
+
the fold stays visible while collapsed.
|
|
197
|
+
|
|
198
|
+
### `SwitchFilterRow`
|
|
199
|
+
|
|
200
|
+
`title`, `description`, `value`, `onValueChange`, `disabled`. The switch is
|
|
201
|
+
named by the string `title` or by `accessibilityLabel` — the caption beside a
|
|
202
|
+
switch never names it.
|
|
203
|
+
|
|
204
|
+
### `FilterFooter`
|
|
205
|
+
|
|
206
|
+
| prop | decides |
|
|
207
|
+
| --- | --- |
|
|
208
|
+
| `resultsLabel` | the primary button's label, pre-formatted ("Show 1,000+ places") |
|
|
209
|
+
| `onApply` / `onClear` | the two actions |
|
|
210
|
+
| `clearLabel` | default "Clear all" |
|
|
211
|
+
| `clearDisabled` | nothing is applied yet |
|
|
212
|
+
| `loading` | the result count is being fetched: the `Button`'s own loading state |
|
|
213
|
+
| `applyDisabled` | disables the primary button |
|
|
214
|
+
|
|
215
|
+
A 1px hairline on top, 16 / 24 padding, the page background.
|
|
216
|
+
|
|
217
|
+
### `FilterTriggerButton`
|
|
218
|
+
|
|
219
|
+
An `outline` `Button` with `RiEqualizerLine` and "Filters" (`label`). While
|
|
220
|
+
`count > 0` a solid count `Badge` sits on its top-right corner and the name
|
|
221
|
+
becomes "Filters, 3 applied" (`accessibilityLabel` overrides it). `size`,
|
|
222
|
+
`disabled`, `onPress`.
|
|
223
|
+
|
|
224
|
+
## What it looks like
|
|
225
|
+
|
|
226
|
+
- **Pills** (count and amenity) are 40 tall full pills with a 1px neutral-200
|
|
227
|
+
(dark neutral-700) border and a `body-medium` label. Selected is **inverted**:
|
|
228
|
+
a text-primary fill with the page background as the label, the page's own
|
|
229
|
+
reading pair turned over, legible in both modes and every preset. Hover
|
|
230
|
+
darkens the border; press fills neutral-100 (dark neutral-800). Colour only —
|
|
231
|
+
nothing scales. They are not `Chip`: that tops out at 28 tall and selects in
|
|
232
|
+
the brand tone.
|
|
233
|
+
- **Text actions** ("Clear all", "Show more") are underlined `body-semibold` in
|
|
234
|
+
text-primary, text-secondary on hover.
|
|
235
|
+
- Keyboard focus draws a 2px accent ring outside a 2px white offset.
|
|
236
|
+
|
|
237
|
+
## Accessibility
|
|
238
|
+
|
|
239
|
+
- `FilterSection`: a named `group` with a level-3 `heading`.
|
|
240
|
+
- `CountFilter`: a named `radiogroup` of `radio`s with `aria-checked`
|
|
241
|
+
(`accessibilityState.checked` on native). Every pill is in the tab order.
|
|
242
|
+
- `ToggleChipGroup`: a named `group` of toggle `button`s with `aria-pressed`
|
|
243
|
+
(`accessibilityState.selected` on native).
|
|
244
|
+
- "Show more" carries `aria-expanded`.
|
|
245
|
+
- The price thumbs are named "Minimum" and "Maximum" and carry `aria-value*`.
|
|
246
|
+
|
|
247
|
+
## Platform notes
|
|
248
|
+
|
|
249
|
+
- On web the dialog's centred and bottom placements both give a
|
|
250
|
+
`scrollable={false}` body a bounded height, so the footer stays put.
|
|
251
|
+
- On native the `center` placement always scrolls its content: a tablet sees
|
|
252
|
+
the footer scroll with the sections. Phones take the `bottom` placement,
|
|
253
|
+
which keeps it fixed.
|