@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,292 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo, useMemo, useState } from 'react';
|
|
4
|
+
import { Image, Pressable, StyleSheet, View } from 'react-native';
|
|
5
|
+
import { Button } from '../button';
|
|
6
|
+
import { Carousel, CarouselItem } from "../carousel/index.js";
|
|
7
|
+
import { useInteractionState } from "../hooks/use-interaction-state.js";
|
|
8
|
+
import { RiLayoutGridLine } from "../icons/remix/index.js";
|
|
9
|
+
import { useImageResolver } from "../image-resolver/context.js";
|
|
10
|
+
import { useInteractiveWebCss } from "../styles/interactive-web-css.js";
|
|
11
|
+
import { borderRadius } from "../styles/tokens.js";
|
|
12
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
13
|
+
import { Text } from "../typography/index.js";
|
|
14
|
+
import { LISTING_PHOTO_GRID_BREAKPOINT, LISTING_PHOTO_GRID_GAP, LISTING_PHOTO_GRID_RADIUS } from "./constants.js";
|
|
15
|
+
import { IS_WEB, LISTING_DETAILS_CSS, LISTING_DETAILS_STYLE_ID, resolveImageUri, resolveListingPalette, webData } from "./shared.js";
|
|
16
|
+
import { useContainerWidth } from "./use-container-width.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The photos at the top of a listing page.
|
|
20
|
+
*
|
|
21
|
+
* grid (≥ 744) one large photo on the left half, a 2×2 grid on the right,
|
|
22
|
+
* 8px gaps; the OUTER corners round to 16 (the frame clips,
|
|
23
|
+
* so inner corners stay square). A photo darkens slightly on
|
|
24
|
+
* hover (web). "Show all photos" — a small secondary Button
|
|
25
|
+
* with a grid icon — sits 24px in from the bottom-right.
|
|
26
|
+
* fewer photos 1 fills the frame; 2 split it; 3 are a large photo plus two
|
|
27
|
+
* stacked; 4 are a large photo plus one over two.
|
|
28
|
+
* carousel full-bleed, paged (Bloom's `Carousel` without arrows or
|
|
29
|
+
* dots), with a "1 / 24" counter pill at the bottom-right.
|
|
30
|
+
*
|
|
31
|
+
* `layout="auto"` picks by the width the grid is laid out at, not the window.
|
|
32
|
+
*/
|
|
33
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
34
|
+
const DEFAULT_GRID_RATIO = 2;
|
|
35
|
+
const DEFAULT_CAROUSEL_RATIO = 4 / 3;
|
|
36
|
+
const SCRIM_OPACITY = 0.1;
|
|
37
|
+
function defaultPhotoLabel(photo, position, total) {
|
|
38
|
+
return photo.alt ? `${photo.alt}, photo ${position} of ${total}` : `Photo ${position} of ${total}`;
|
|
39
|
+
}
|
|
40
|
+
function PhotoTile({
|
|
41
|
+
photo,
|
|
42
|
+
uri,
|
|
43
|
+
label,
|
|
44
|
+
palette,
|
|
45
|
+
onPress,
|
|
46
|
+
style,
|
|
47
|
+
testID
|
|
48
|
+
}) {
|
|
49
|
+
const {
|
|
50
|
+
state: hovered,
|
|
51
|
+
onIn,
|
|
52
|
+
onOut
|
|
53
|
+
} = useInteractionState();
|
|
54
|
+
const image = uri ? /*#__PURE__*/_jsx(Image, {
|
|
55
|
+
source: {
|
|
56
|
+
uri
|
|
57
|
+
},
|
|
58
|
+
resizeMode: "cover",
|
|
59
|
+
style: StyleSheet.absoluteFill
|
|
60
|
+
// The pressable (or the tile) carries the name; the image itself is decoration.
|
|
61
|
+
,
|
|
62
|
+
accessible: false,
|
|
63
|
+
importantForAccessibility: "no"
|
|
64
|
+
}) : null;
|
|
65
|
+
if (!onPress) {
|
|
66
|
+
return /*#__PURE__*/_jsx(View, {
|
|
67
|
+
accessible: true,
|
|
68
|
+
accessibilityRole: "image",
|
|
69
|
+
accessibilityLabel: label,
|
|
70
|
+
style: [{
|
|
71
|
+
overflow: 'hidden',
|
|
72
|
+
backgroundColor: palette.tile
|
|
73
|
+
}, style],
|
|
74
|
+
testID: testID,
|
|
75
|
+
children: image
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
const ringStyle = {
|
|
79
|
+
'--bloom-listing-ring': palette.ring
|
|
80
|
+
};
|
|
81
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
82
|
+
...webData({
|
|
83
|
+
bloomListingPress: 'inset'
|
|
84
|
+
}),
|
|
85
|
+
accessibilityRole: "button",
|
|
86
|
+
accessibilityLabel: label,
|
|
87
|
+
onPress: onPress,
|
|
88
|
+
onHoverIn: onIn,
|
|
89
|
+
onHoverOut: onOut,
|
|
90
|
+
style: [{
|
|
91
|
+
overflow: 'hidden',
|
|
92
|
+
backgroundColor: palette.tile
|
|
93
|
+
}, ringStyle, style],
|
|
94
|
+
testID: testID,
|
|
95
|
+
children: [image, /*#__PURE__*/_jsx(View, {
|
|
96
|
+
...webData({
|
|
97
|
+
bloomListingScrim: ''
|
|
98
|
+
}),
|
|
99
|
+
pointerEvents: "none",
|
|
100
|
+
testID: testID ? `${testID}-scrim` : undefined,
|
|
101
|
+
style: [StyleSheet.absoluteFill, {
|
|
102
|
+
backgroundColor: palette.scrim,
|
|
103
|
+
opacity: hovered ? SCRIM_OPACITY : 0
|
|
104
|
+
}]
|
|
105
|
+
})]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
function ListingPhotoGridComponent({
|
|
109
|
+
photos,
|
|
110
|
+
onPressPhoto,
|
|
111
|
+
onShowAll,
|
|
112
|
+
showAllLabel = 'Show all photos',
|
|
113
|
+
layout = 'auto',
|
|
114
|
+
aspectRatio = DEFAULT_GRID_RATIO,
|
|
115
|
+
carouselAspectRatio = DEFAULT_CAROUSEL_RATIO,
|
|
116
|
+
accessibilityLabel = 'Listing photos',
|
|
117
|
+
formatCounter,
|
|
118
|
+
photoLabel = defaultPhotoLabel,
|
|
119
|
+
imageVariant = 'large',
|
|
120
|
+
style,
|
|
121
|
+
testID
|
|
122
|
+
}) {
|
|
123
|
+
const theme = useTheme();
|
|
124
|
+
useInteractiveWebCss(LISTING_DETAILS_STYLE_ID, LISTING_DETAILS_CSS);
|
|
125
|
+
const palette = useMemo(() => resolveListingPalette(theme), [theme]);
|
|
126
|
+
const resolver = useImageResolver();
|
|
127
|
+
const {
|
|
128
|
+
width,
|
|
129
|
+
onLayout
|
|
130
|
+
} = useContainerWidth();
|
|
131
|
+
const [active, setActive] = useState(0);
|
|
132
|
+
const total = photos.length;
|
|
133
|
+
const resolved = layout !== 'auto' ? layout : width == null ? 'pending' : width < LISTING_PHOTO_GRID_BREAKPOINT ? 'carousel' : 'grid';
|
|
134
|
+
const tile = (index, tileStyle) => {
|
|
135
|
+
const photo = photos[index];
|
|
136
|
+
if (!photo) return null;
|
|
137
|
+
return /*#__PURE__*/_jsx(PhotoTile, {
|
|
138
|
+
photo: photo,
|
|
139
|
+
uri: resolveImageUri(photo.source, resolver, imageVariant),
|
|
140
|
+
label: photoLabel(photo, index + 1, total),
|
|
141
|
+
palette: palette,
|
|
142
|
+
onPress: onPressPhoto ? () => onPressPhoto(index) : undefined,
|
|
143
|
+
style: tileStyle,
|
|
144
|
+
testID: testID ? `${testID}-photo-${index}` : undefined
|
|
145
|
+
}, index);
|
|
146
|
+
};
|
|
147
|
+
let body = null;
|
|
148
|
+
if (resolved === 'pending') {
|
|
149
|
+
// Hold the grid's height until the first layout picks one.
|
|
150
|
+
body = /*#__PURE__*/_jsx(View, {
|
|
151
|
+
style: {
|
|
152
|
+
width: '100%',
|
|
153
|
+
aspectRatio
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
} else if (resolved === 'carousel' && total > 0) {
|
|
157
|
+
const counter = formatCounter ? formatCounter(active + 1, total) : `${active + 1} / ${total}`;
|
|
158
|
+
body = /*#__PURE__*/_jsxs(View, {
|
|
159
|
+
style: {
|
|
160
|
+
width: '100%'
|
|
161
|
+
},
|
|
162
|
+
children: [/*#__PURE__*/_jsx(Carousel, {
|
|
163
|
+
accessibilityLabel: accessibilityLabel,
|
|
164
|
+
showArrows: false,
|
|
165
|
+
showDots: false,
|
|
166
|
+
gap: 0,
|
|
167
|
+
onIndexChange: setActive,
|
|
168
|
+
testID: testID ? `${testID}-carousel` : undefined,
|
|
169
|
+
children: photos.map((photo, index) => /*#__PURE__*/_jsx(CarouselItem, {
|
|
170
|
+
accessibilityLabel: photoLabel(photo, index + 1, total),
|
|
171
|
+
children: tile(index, {
|
|
172
|
+
width: '100%',
|
|
173
|
+
aspectRatio: carouselAspectRatio
|
|
174
|
+
})
|
|
175
|
+
}, `${photo.source}-${index}`))
|
|
176
|
+
}), total > 1 ? /*#__PURE__*/_jsx(View, {
|
|
177
|
+
pointerEvents: "none"
|
|
178
|
+
// Each slide already announces "N of M"; the pill is the sighted copy.
|
|
179
|
+
,
|
|
180
|
+
accessibilityElementsHidden: true,
|
|
181
|
+
importantForAccessibility: "no-hide-descendants",
|
|
182
|
+
...(IS_WEB ? {
|
|
183
|
+
'aria-hidden': true
|
|
184
|
+
} : null),
|
|
185
|
+
testID: testID ? `${testID}-counter` : undefined,
|
|
186
|
+
style: {
|
|
187
|
+
position: 'absolute',
|
|
188
|
+
right: 12,
|
|
189
|
+
bottom: 12,
|
|
190
|
+
paddingLeft: 10,
|
|
191
|
+
paddingRight: 10,
|
|
192
|
+
paddingTop: 4,
|
|
193
|
+
paddingBottom: 4,
|
|
194
|
+
borderRadius: borderRadius.full,
|
|
195
|
+
backgroundColor: palette.card
|
|
196
|
+
},
|
|
197
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
198
|
+
variant: "caption-1-semibold",
|
|
199
|
+
style: {
|
|
200
|
+
color: palette.text,
|
|
201
|
+
fontVariant: ['tabular-nums']
|
|
202
|
+
},
|
|
203
|
+
children: counter
|
|
204
|
+
})
|
|
205
|
+
}) : null]
|
|
206
|
+
});
|
|
207
|
+
} else if (total > 0) {
|
|
208
|
+
const fill = {
|
|
209
|
+
flex: 1,
|
|
210
|
+
minWidth: 0,
|
|
211
|
+
minHeight: 0
|
|
212
|
+
};
|
|
213
|
+
const column = {
|
|
214
|
+
flex: 1,
|
|
215
|
+
minWidth: 0,
|
|
216
|
+
gap: LISTING_PHOTO_GRID_GAP
|
|
217
|
+
};
|
|
218
|
+
const row = {
|
|
219
|
+
flex: 1,
|
|
220
|
+
minHeight: 0,
|
|
221
|
+
flexDirection: 'row',
|
|
222
|
+
gap: LISTING_PHOTO_GRID_GAP
|
|
223
|
+
};
|
|
224
|
+
let right = null;
|
|
225
|
+
if (total === 2) {
|
|
226
|
+
right = tile(1, fill);
|
|
227
|
+
} else if (total === 3) {
|
|
228
|
+
right = /*#__PURE__*/_jsxs(View, {
|
|
229
|
+
style: column,
|
|
230
|
+
children: [tile(1, fill), tile(2, fill)]
|
|
231
|
+
});
|
|
232
|
+
} else if (total === 4) {
|
|
233
|
+
right = /*#__PURE__*/_jsxs(View, {
|
|
234
|
+
style: column,
|
|
235
|
+
children: [tile(1, fill), /*#__PURE__*/_jsxs(View, {
|
|
236
|
+
style: row,
|
|
237
|
+
children: [tile(2, fill), tile(3, fill)]
|
|
238
|
+
})]
|
|
239
|
+
});
|
|
240
|
+
} else if (total >= 5) {
|
|
241
|
+
right = /*#__PURE__*/_jsxs(View, {
|
|
242
|
+
style: column,
|
|
243
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
244
|
+
style: row,
|
|
245
|
+
children: [tile(1, fill), tile(2, fill)]
|
|
246
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
247
|
+
style: row,
|
|
248
|
+
children: [tile(3, fill), tile(4, fill)]
|
|
249
|
+
})]
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
body = /*#__PURE__*/_jsxs(View, {
|
|
253
|
+
role: "group",
|
|
254
|
+
accessibilityLabel: accessibilityLabel,
|
|
255
|
+
testID: testID ? `${testID}-grid` : undefined,
|
|
256
|
+
style: {
|
|
257
|
+
width: '100%',
|
|
258
|
+
aspectRatio,
|
|
259
|
+
flexDirection: 'row',
|
|
260
|
+
gap: LISTING_PHOTO_GRID_GAP,
|
|
261
|
+
borderRadius: LISTING_PHOTO_GRID_RADIUS,
|
|
262
|
+
overflow: 'hidden'
|
|
263
|
+
},
|
|
264
|
+
children: [tile(0, fill), right, onShowAll ? /*#__PURE__*/_jsx(View, {
|
|
265
|
+
style: {
|
|
266
|
+
position: 'absolute',
|
|
267
|
+
right: 24,
|
|
268
|
+
bottom: 24
|
|
269
|
+
},
|
|
270
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
271
|
+
variant: "secondary",
|
|
272
|
+
size: "small",
|
|
273
|
+
leadingIcon: RiLayoutGridLine,
|
|
274
|
+
onPress: onShowAll,
|
|
275
|
+
testID: testID ? `${testID}-show-all` : undefined,
|
|
276
|
+
children: showAllLabel
|
|
277
|
+
})
|
|
278
|
+
}) : null]
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
return /*#__PURE__*/_jsx(View, {
|
|
282
|
+
onLayout: onLayout,
|
|
283
|
+
style: [{
|
|
284
|
+
width: '100%'
|
|
285
|
+
}, style],
|
|
286
|
+
testID: testID,
|
|
287
|
+
children: body
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
export const ListingPhotoGrid = /*#__PURE__*/memo(ListingPhotoGridComponent);
|
|
291
|
+
ListingPhotoGrid.displayName = 'ListingPhotoGrid';
|
|
292
|
+
//# sourceMappingURL=ListingPhotoGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","useState","Image","Pressable","StyleSheet","View","Button","Carousel","CarouselItem","useInteractionState","RiLayoutGridLine","useImageResolver","useInteractiveWebCss","borderRadius","useTheme","Text","LISTING_PHOTO_GRID_BREAKPOINT","LISTING_PHOTO_GRID_GAP","LISTING_PHOTO_GRID_RADIUS","IS_WEB","LISTING_DETAILS_CSS","LISTING_DETAILS_STYLE_ID","resolveImageUri","resolveListingPalette","webData","useContainerWidth","jsx","_jsx","jsxs","_jsxs","DEFAULT_GRID_RATIO","DEFAULT_CAROUSEL_RATIO","SCRIM_OPACITY","defaultPhotoLabel","photo","position","total","alt","PhotoTile","uri","label","palette","onPress","style","testID","state","hovered","onIn","onOut","image","source","resizeMode","absoluteFill","accessible","importantForAccessibility","accessibilityRole","accessibilityLabel","overflow","backgroundColor","tile","children","ringStyle","ring","bloomListingPress","onHoverIn","onHoverOut","bloomListingScrim","pointerEvents","undefined","scrim","opacity","ListingPhotoGridComponent","photos","onPressPhoto","onShowAll","showAllLabel","layout","aspectRatio","carouselAspectRatio","formatCounter","photoLabel","imageVariant","theme","resolver","width","onLayout","active","setActive","length","resolved","index","tileStyle","body","counter","showArrows","showDots","gap","onIndexChange","map","accessibilityElementsHidden","right","bottom","paddingLeft","paddingRight","paddingTop","paddingBottom","full","card","variant","color","text","fontVariant","fill","flex","minWidth","minHeight","column","row","flexDirection","role","size","leadingIcon","ListingPhotoGrid","displayName"],"sourceRoot":"../../../src","sources":["listing-details/ListingPhotoGrid.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACtD,SAASC,KAAK,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAEjG,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,QAAQ,EAAEC,YAAY,QAAQ,sBAAa;AACpD,SAASC,mBAAmB,QAAQ,mCAAgC;AACpE,SAASC,gBAAgB,QAAQ,yBAAgB;AACjD,SAASC,gBAAgB,QAAQ,8BAA2B;AAC5D,SAASC,oBAAoB,QAAQ,kCAA+B;AACpE,SAASC,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AACpC,SACEC,6BAA6B,EAC7BC,sBAAsB,EACtBC,yBAAyB,QACpB,gBAAa;AACpB,SACEC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,yBAAyB,CAAC;AAC/DmD,gBAAgB,CAACC,WAAW,GAAG,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo, useMemo } from 'react';
|
|
4
|
+
import { View } from 'react-native';
|
|
5
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
6
|
+
import { Text } from "../typography/index.js";
|
|
7
|
+
import { resolveListingPalette } from "./shared.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
/**
|
|
10
|
+
* One section of a listing page, so a page stacks them consistently.
|
|
11
|
+
*
|
|
12
|
+
* frame a 1px top hairline (neutral-200, dark neutral-800), 32 above and below the content
|
|
13
|
+
* title title-3-semibold (`size="small"`: headline-semibold), a heading (level 2)
|
|
14
|
+
* subtitle body-regular, text-secondary, 4 under the title
|
|
15
|
+
* action right of the title block
|
|
16
|
+
* content 24 under the header
|
|
17
|
+
*/
|
|
18
|
+
function ListingSectionComponent({
|
|
19
|
+
title,
|
|
20
|
+
subtitle,
|
|
21
|
+
size = 'medium',
|
|
22
|
+
headingLevel = 2,
|
|
23
|
+
action,
|
|
24
|
+
divider = true,
|
|
25
|
+
children,
|
|
26
|
+
style,
|
|
27
|
+
testID
|
|
28
|
+
}) {
|
|
29
|
+
const theme = useTheme();
|
|
30
|
+
const palette = useMemo(() => resolveListingPalette(theme), [theme]);
|
|
31
|
+
const hasHeader = Boolean(title || subtitle || action);
|
|
32
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
33
|
+
style: [{
|
|
34
|
+
paddingTop: 32,
|
|
35
|
+
paddingBottom: 32,
|
|
36
|
+
gap: 24,
|
|
37
|
+
borderTopWidth: divider ? 1 : 0,
|
|
38
|
+
borderTopColor: palette.hairline
|
|
39
|
+
}, style],
|
|
40
|
+
testID: testID,
|
|
41
|
+
children: [hasHeader ? /*#__PURE__*/_jsxs(View, {
|
|
42
|
+
style: {
|
|
43
|
+
flexDirection: 'row',
|
|
44
|
+
alignItems: 'flex-start',
|
|
45
|
+
gap: 16
|
|
46
|
+
},
|
|
47
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
48
|
+
style: {
|
|
49
|
+
flex: 1,
|
|
50
|
+
minWidth: 0,
|
|
51
|
+
gap: 4
|
|
52
|
+
},
|
|
53
|
+
children: [title ? /*#__PURE__*/_jsx(Text, {
|
|
54
|
+
role: "heading",
|
|
55
|
+
"aria-level": headingLevel,
|
|
56
|
+
variant: size === 'medium' ? 'title-3-semibold' : 'headline-semibold',
|
|
57
|
+
style: {
|
|
58
|
+
color: palette.text
|
|
59
|
+
},
|
|
60
|
+
testID: testID ? `${testID}-title` : undefined,
|
|
61
|
+
children: title
|
|
62
|
+
}) : null, subtitle ? /*#__PURE__*/_jsx(Text, {
|
|
63
|
+
variant: "body-regular",
|
|
64
|
+
style: {
|
|
65
|
+
color: palette.textSecondary
|
|
66
|
+
},
|
|
67
|
+
children: subtitle
|
|
68
|
+
}) : null]
|
|
69
|
+
}), action]
|
|
70
|
+
}) : null, children]
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
export const ListingSection = /*#__PURE__*/memo(ListingSectionComponent);
|
|
74
|
+
ListingSection.displayName = 'ListingSection';
|
|
75
|
+
//# sourceMappingURL=ListingSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","View","useTheme","Text","resolveListingPalette","jsx","_jsx","jsxs","_jsxs","ListingSectionComponent","title","subtitle","size","headingLevel","action","divider","children","style","testID","theme","palette","hasHeader","Boolean","paddingTop","paddingBottom","gap","borderTopWidth","borderTopColor","hairline","flexDirection","alignItems","flex","minWidth","role","variant","color","text","undefined","textSecondary","ListingSection","displayName"],"sourceRoot":"../../../src","sources":["listing-details/ListingSection.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,IAAI,QA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JJ,IAAA,CAACH,IAAI;UACH8B,IAAI,EAAC,SAAS;UACd,cAAYpB,YAAa;UACzBqB,OAAO,EAAEtB,IAAI,KAAK,QAAQ,GAAG,kBAAkB,GAAG,mBAAoB;UACtEK,KAAK,EAAE;YAAEkB,KAAK,EAAEf,OAAO,CAACgB;UAAK,CAAE;UAC/BlB,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,QAAQ,GAAGmB,SAAU;UAAArB,QAAA,EAE9CN;QAAK,CACF,CAAC,GACL,IAAI,EACPC,QAAQ,gBACPL,IAAA,CAACH,IAAI;UAAC+B,OAAO,EAAC,cAAc;UAACjB,KAAK,EAAE;YAAEkB,KAAK,EAAEf,OAAO,CAACkB;UAAc,CAAE;UAAAtB,QAAA,EAClEL;QAAQ,CACL,CAAC,GACL,IAAI;MAAA,CACJ,CAAC,EACNG,MAAM;IAAA,CACH,CAAC,GACL,IAAI,EACPE,QAAQ;EAAA,CACL,CAAC;AAEX;AAEA,OAAO,MAAMuB,cAAc,gBAAGxC,IAAI,CAACU,uBAAuB,CAAC;AAC3D8B,cAAc,CAACC,WAAW,GAAG,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo, useCallback, useMemo, useState } from 'react';
|
|
4
|
+
import { Pressable, View } from 'react-native';
|
|
5
|
+
import { Avatar } from "../avatar/index.js";
|
|
6
|
+
import { useControllableState } from "../hooks/use-controllable-state.js";
|
|
7
|
+
import { RiStarFill } from "../icons/remix/index.js";
|
|
8
|
+
import { useInteractiveWebCss } from "../styles/interactive-web-css.js";
|
|
9
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
10
|
+
import { Text } from "../typography/index.js";
|
|
11
|
+
import { IS_WEB, LISTING_DETAILS_CSS, LISTING_DETAILS_STYLE_ID, resolveListingPalette, webData } from "./shared.js";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
/**
|
|
14
|
+
* One guest review.
|
|
15
|
+
*
|
|
16
|
+
* author avatar 48 + name headline-semibold + subtitle body-2-regular
|
|
17
|
+
* text-secondary, gap 12
|
|
18
|
+
* meta five 10px stars (filled text-primary, empty neutral-300 /
|
|
19
|
+
* dark neutral-700), "·", date body-2-medium; one accessible
|
|
20
|
+
* element for the stars ("Rated 5 out of 5")
|
|
21
|
+
* text body-regular, clamped to `numberOfLines` (4)
|
|
22
|
+
* show more body-semibold underlined, drawn only when the text IS clamped —
|
|
23
|
+
* measured, not guessed from its length: an invisible unclamped
|
|
24
|
+
* copy is laid out behind the clamped text and the two heights
|
|
25
|
+
* compared. `aria-expanded` on web, `expanded` on native.
|
|
26
|
+
* response a radius-12 block (neutral-50, dark neutral-900), padding 16:
|
|
27
|
+
* title body-2-semibold, date caption-1-regular, text body-regular
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
const STAR_SIZE = 10;
|
|
31
|
+
function Stars({
|
|
32
|
+
rating,
|
|
33
|
+
palette,
|
|
34
|
+
testID
|
|
35
|
+
}) {
|
|
36
|
+
const filled = Math.max(0, Math.min(5, Math.round(rating)));
|
|
37
|
+
return /*#__PURE__*/_jsx(View, {
|
|
38
|
+
accessible: true,
|
|
39
|
+
accessibilityLabel: `Rated ${filled} out of 5`,
|
|
40
|
+
...(IS_WEB ? {
|
|
41
|
+
role: 'img'
|
|
42
|
+
} : null),
|
|
43
|
+
style: {
|
|
44
|
+
flexDirection: 'row',
|
|
45
|
+
alignItems: 'center',
|
|
46
|
+
gap: 2
|
|
47
|
+
},
|
|
48
|
+
testID: testID,
|
|
49
|
+
children: Array.from({
|
|
50
|
+
length: 5
|
|
51
|
+
}, (_, index) => /*#__PURE__*/_jsx(RiStarFill, {
|
|
52
|
+
width: STAR_SIZE,
|
|
53
|
+
height: STAR_SIZE,
|
|
54
|
+
fill: index < filled ? palette.text : palette.starEmpty
|
|
55
|
+
}, index))
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function ReviewCardComponent({
|
|
59
|
+
name,
|
|
60
|
+
avatar,
|
|
61
|
+
subtitle,
|
|
62
|
+
rating,
|
|
63
|
+
date,
|
|
64
|
+
text,
|
|
65
|
+
numberOfLines = 4,
|
|
66
|
+
showMoreLabel = 'Show more',
|
|
67
|
+
showLessLabel = 'Show less',
|
|
68
|
+
expanded: expandedProp,
|
|
69
|
+
onExpandedChange,
|
|
70
|
+
hostResponse,
|
|
71
|
+
avatarVariant = 'thumb',
|
|
72
|
+
style,
|
|
73
|
+
testID
|
|
74
|
+
}) {
|
|
75
|
+
const theme = useTheme();
|
|
76
|
+
useInteractiveWebCss(LISTING_DETAILS_STYLE_ID, LISTING_DETAILS_CSS);
|
|
77
|
+
const palette = useMemo(() => resolveListingPalette(theme), [theme]);
|
|
78
|
+
const [expanded, setExpanded] = useControllableState({
|
|
79
|
+
value: expandedProp,
|
|
80
|
+
defaultValue: false,
|
|
81
|
+
onChange: onExpandedChange
|
|
82
|
+
});
|
|
83
|
+
const clamps = numberOfLines > 0;
|
|
84
|
+
const [clampedHeight, setClampedHeight] = useState(0);
|
|
85
|
+
const [fullHeight, setFullHeight] = useState(0);
|
|
86
|
+
const onClampedLayout = useCallback(event => {
|
|
87
|
+
// Only the collapsed height says whether the text is clamped.
|
|
88
|
+
if (!expanded) setClampedHeight(Math.round(event.nativeEvent.layout.height));
|
|
89
|
+
}, [expanded]);
|
|
90
|
+
const onFullLayout = useCallback(event => {
|
|
91
|
+
setFullHeight(Math.round(event.nativeEvent.layout.height));
|
|
92
|
+
}, []);
|
|
93
|
+
const truncatable = clamps && clampedHeight > 0 && fullHeight > clampedHeight + 1;
|
|
94
|
+
const ring = {
|
|
95
|
+
'--bloom-listing-ring': palette.ring,
|
|
96
|
+
borderRadius: 4,
|
|
97
|
+
alignSelf: 'flex-start'
|
|
98
|
+
};
|
|
99
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
100
|
+
style: [{
|
|
101
|
+
gap: 12
|
|
102
|
+
}, style],
|
|
103
|
+
testID: testID,
|
|
104
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
105
|
+
style: {
|
|
106
|
+
flexDirection: 'row',
|
|
107
|
+
alignItems: 'center',
|
|
108
|
+
gap: 12
|
|
109
|
+
},
|
|
110
|
+
children: [/*#__PURE__*/_jsx(Avatar, {
|
|
111
|
+
source: avatar,
|
|
112
|
+
variant: avatarVariant,
|
|
113
|
+
size: 48,
|
|
114
|
+
name: name
|
|
115
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
116
|
+
style: {
|
|
117
|
+
flex: 1,
|
|
118
|
+
minWidth: 0
|
|
119
|
+
},
|
|
120
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
121
|
+
variant: "headline-semibold",
|
|
122
|
+
numberOfLines: 1,
|
|
123
|
+
style: {
|
|
124
|
+
color: palette.text
|
|
125
|
+
},
|
|
126
|
+
children: name
|
|
127
|
+
}), subtitle ? /*#__PURE__*/_jsx(Text, {
|
|
128
|
+
variant: "body-2-regular",
|
|
129
|
+
numberOfLines: 1,
|
|
130
|
+
style: {
|
|
131
|
+
color: palette.textSecondary
|
|
132
|
+
},
|
|
133
|
+
children: subtitle
|
|
134
|
+
}) : null]
|
|
135
|
+
})]
|
|
136
|
+
}), rating != null || date ? /*#__PURE__*/_jsxs(View, {
|
|
137
|
+
style: {
|
|
138
|
+
flexDirection: 'row',
|
|
139
|
+
alignItems: 'center',
|
|
140
|
+
gap: 6
|
|
141
|
+
},
|
|
142
|
+
children: [rating != null ? /*#__PURE__*/_jsx(Stars, {
|
|
143
|
+
rating: rating,
|
|
144
|
+
palette: palette,
|
|
145
|
+
testID: testID ? `${testID}-stars` : undefined
|
|
146
|
+
}) : null, rating != null && date ? /*#__PURE__*/_jsx(Text, {
|
|
147
|
+
variant: "body-2-regular",
|
|
148
|
+
importantForAccessibility: "no",
|
|
149
|
+
accessibilityElementsHidden: true,
|
|
150
|
+
style: {
|
|
151
|
+
color: palette.textSecondary
|
|
152
|
+
},
|
|
153
|
+
children: "\xB7"
|
|
154
|
+
}) : null, date ? /*#__PURE__*/_jsx(Text, {
|
|
155
|
+
variant: "body-2-medium",
|
|
156
|
+
style: {
|
|
157
|
+
color: palette.text
|
|
158
|
+
},
|
|
159
|
+
children: date
|
|
160
|
+
}) : null]
|
|
161
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
162
|
+
style: {
|
|
163
|
+
gap: 8
|
|
164
|
+
},
|
|
165
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
166
|
+
style: {
|
|
167
|
+
overflow: 'hidden'
|
|
168
|
+
},
|
|
169
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
170
|
+
variant: "body-regular",
|
|
171
|
+
numberOfLines: clamps && !expanded ? numberOfLines : undefined,
|
|
172
|
+
onLayout: onClampedLayout,
|
|
173
|
+
style: {
|
|
174
|
+
color: palette.text
|
|
175
|
+
},
|
|
176
|
+
testID: testID ? `${testID}-text` : undefined,
|
|
177
|
+
children: text
|
|
178
|
+
}), clamps ? /*#__PURE__*/_jsx(View, {
|
|
179
|
+
pointerEvents: "none",
|
|
180
|
+
accessibilityElementsHidden: true,
|
|
181
|
+
importantForAccessibility: "no-hide-descendants",
|
|
182
|
+
...(IS_WEB ? {
|
|
183
|
+
'aria-hidden': true
|
|
184
|
+
} : null),
|
|
185
|
+
style: {
|
|
186
|
+
position: 'absolute',
|
|
187
|
+
top: 0,
|
|
188
|
+
left: 0,
|
|
189
|
+
right: 0,
|
|
190
|
+
opacity: 0
|
|
191
|
+
},
|
|
192
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
193
|
+
variant: "body-regular",
|
|
194
|
+
onLayout: onFullLayout,
|
|
195
|
+
children: text
|
|
196
|
+
})
|
|
197
|
+
}) : null]
|
|
198
|
+
}), truncatable ? /*#__PURE__*/_jsx(Pressable, {
|
|
199
|
+
...webData({
|
|
200
|
+
bloomListingPress: ''
|
|
201
|
+
}),
|
|
202
|
+
accessibilityRole: "button",
|
|
203
|
+
accessibilityLabel: expanded ? showLessLabel : showMoreLabel,
|
|
204
|
+
"aria-expanded": expanded,
|
|
205
|
+
accessibilityState: {
|
|
206
|
+
expanded
|
|
207
|
+
},
|
|
208
|
+
onPress: () => setExpanded(!expanded),
|
|
209
|
+
style: ring,
|
|
210
|
+
testID: testID ? `${testID}-toggle` : undefined,
|
|
211
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
212
|
+
variant: "body-semibold",
|
|
213
|
+
style: {
|
|
214
|
+
color: palette.text,
|
|
215
|
+
textDecorationLine: 'underline'
|
|
216
|
+
},
|
|
217
|
+
children: expanded ? showLessLabel : showMoreLabel
|
|
218
|
+
})
|
|
219
|
+
}) : null]
|
|
220
|
+
}), hostResponse ? /*#__PURE__*/_jsxs(View, {
|
|
221
|
+
style: {
|
|
222
|
+
marginTop: 4,
|
|
223
|
+
paddingTop: 16,
|
|
224
|
+
paddingBottom: 16,
|
|
225
|
+
paddingLeft: 16,
|
|
226
|
+
paddingRight: 16,
|
|
227
|
+
borderRadius: 12,
|
|
228
|
+
backgroundColor: palette.responseSurface,
|
|
229
|
+
gap: 4
|
|
230
|
+
},
|
|
231
|
+
testID: testID ? `${testID}-response` : undefined,
|
|
232
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
233
|
+
style: {
|
|
234
|
+
flexDirection: 'row',
|
|
235
|
+
flexWrap: 'wrap',
|
|
236
|
+
alignItems: 'baseline',
|
|
237
|
+
columnGap: 8
|
|
238
|
+
},
|
|
239
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
240
|
+
variant: "body-2-semibold",
|
|
241
|
+
style: {
|
|
242
|
+
color: palette.text
|
|
243
|
+
},
|
|
244
|
+
children: hostResponse.title
|
|
245
|
+
}), hostResponse.date ? /*#__PURE__*/_jsx(Text, {
|
|
246
|
+
variant: "caption-1-regular",
|
|
247
|
+
style: {
|
|
248
|
+
color: palette.textSecondary
|
|
249
|
+
},
|
|
250
|
+
children: hostResponse.date
|
|
251
|
+
}) : null]
|
|
252
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
253
|
+
variant: "body-regular",
|
|
254
|
+
style: {
|
|
255
|
+
color: palette.text
|
|
256
|
+
},
|
|
257
|
+
children: hostResponse.text
|
|
258
|
+
})]
|
|
259
|
+
}) : null]
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
export const ReviewCard = /*#__PURE__*/memo(ReviewCardComponent);
|
|
263
|
+
ReviewCard.displayName = 'ReviewCard';
|
|
264
|
+
//# sourceMappingURL=ReviewCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","useCallback","useMemo","useState","Pressable","View","Avatar","useControllableState","RiStarFill","useInteractiveWebCss","useTheme","Text","IS_WEB","LISTING_DETAILS_CSS","LISTING_DETAILS_STYLE_ID","resolveListingPalette","webData","jsx","_jsx","jsxs","_jsxs","STAR_SIZE","Stars","rating","palette","testID","filled","Math","max","min","round","accessible","accessibilityLabel","role","style","flexDirection","alignItems","gap","children","Array","from","length","_","index","width","height","fill","text","starEmpty","ReviewCardComponent","name","avatar","subtitle","date","numberOfLines","showMoreLabel","showLessLabel","expanded","expandedProp","onExpandedChange","hostResponse","avatarVariant","theme","setExpanded","value","defaultValue","onChange","clamps","clampedHeight","setClampedHeight","fullHeight","setFullHeight","onClampedLayout","event","nativeEvent","layout","onFullLayout","truncatable","ring","borderRadius","alignSelf","source","variant","size","flex","minWidth","color","textSecondary","undefined","importantForAccessibility","accessibilityElementsHidden","overflow","onLayout","pointerEvents","position","top","left","right","opacity","bloomListingPress","accessibilityRole","accessibilityState","onPress","textDecorationLine","marginTop","paddingTop","paddingBottom","paddingLeft","paddingRight","backgroundColor","responseSurface","flexWrap","columnGap","title","ReviewCard","displayName"],"sourceRoot":"../../../src","sources":["listing-details/ReviewCard.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAA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