@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React, { memo, useEffect } from 'react';
|
|
3
|
+
import React, { memo, useEffect, useMemo } from 'react';
|
|
4
4
|
import { Platform, Pressable, ScrollView, View, useWindowDimensions } from 'react-native';
|
|
5
5
|
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from 'react-native-reanimated';
|
|
6
6
|
import { resolveButtonRamps, mixColor } from "../button/shared.js";
|
|
@@ -12,12 +12,14 @@ import { BREAKPOINTS } from "../styles/breakpoints.js";
|
|
|
12
12
|
import { WEB_OVERFLOW_CLIP, WEB_POSITION_FIXED, WEB_POSITION_STICKY, WEB_VIEWPORT_HEIGHT, webViewportHeightMinus } from "../styles/web-view-style.js";
|
|
13
13
|
import { useTheme } from "../theme/use-theme.js";
|
|
14
14
|
import { AppShellHeader } from "./AppShellHeader.js";
|
|
15
|
+
import { AppShellProvider } from "./context.js";
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
/**
|
|
17
18
|
* The page frame: a starter shell and a dashboard shell, combined into one
|
|
18
19
|
* component.
|
|
19
20
|
*
|
|
20
|
-
* root row,
|
|
21
|
+
* root row, background-full; one screen tall at least (document
|
|
22
|
+
* scroll), exactly (`fixed`), or its parent's height (`container`)
|
|
21
23
|
* lg and up the sidebar in flow (from `sm` for `variant: 'rail'`, whose
|
|
22
24
|
* drawer below `sm` opens the panel); `overlay` pads the whole frame 12 with a
|
|
23
25
|
* 16 gap, `reveal` sits the rail 12 from the top-left
|
|
@@ -26,7 +28,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
26
28
|
* header (breadcrumb + title row), then the content (gap 16,
|
|
27
29
|
* 16 below). `overlay` insets the column 12 from the top at `sm`,
|
|
28
30
|
* `reveal` pads the page 12 (24 on top at `sm`)
|
|
29
|
-
*
|
|
31
|
+
* aside optional right column, `asideWidth` (320) wide from `asideFrom`
|
|
32
|
+
* (xl), pinned like the rail; below it stacked after the content
|
|
33
|
+
* below lg the header grows a hamburger (also with no title — see
|
|
34
|
+
* `useAppShell` / `AppShellMenuButton`). `overlay` opens the rail as a
|
|
30
35
|
* drawer (12 inset) over a 40% black backdrop; `reveal` slides
|
|
31
36
|
* the page 272 right and rounds it to 32 while the rail, flat
|
|
32
37
|
* beneath it, scales up from 0.94 and fades in (325ms,
|
|
@@ -37,21 +42,30 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
37
42
|
const REVEAL_EASE = Easing.bezier(0.42, 0, 0.58, 1);
|
|
38
43
|
const REVEAL_MS = 325;
|
|
39
44
|
const REVEAL_OFFSET = 272;
|
|
40
|
-
|
|
41
45
|
/**
|
|
42
|
-
* The page's scroller.
|
|
43
|
-
*
|
|
46
|
+
* The page's scroller. `document`: a plain box, the page grows the document.
|
|
47
|
+
* `fixed`: a plain box that fills the frame's height and never scrolls — the
|
|
48
|
+
* page owns its scrolling. `container`: a `ScrollView` filling the frame.
|
|
44
49
|
*/
|
|
45
50
|
function Scroller({
|
|
46
|
-
|
|
51
|
+
mode,
|
|
47
52
|
style,
|
|
48
53
|
contentStyle,
|
|
49
54
|
children
|
|
50
55
|
}) {
|
|
51
|
-
if (
|
|
56
|
+
if (mode === 'document') return /*#__PURE__*/_jsx(View, {
|
|
52
57
|
style: [style, contentStyle],
|
|
53
58
|
children: children
|
|
54
59
|
});
|
|
60
|
+
if (mode === 'fixed') {
|
|
61
|
+
return /*#__PURE__*/_jsx(View, {
|
|
62
|
+
style: [{
|
|
63
|
+
flex: 1,
|
|
64
|
+
minHeight: 0
|
|
65
|
+
}, style, contentStyle],
|
|
66
|
+
children: children
|
|
67
|
+
});
|
|
68
|
+
}
|
|
55
69
|
return /*#__PURE__*/_jsx(ScrollView, {
|
|
56
70
|
style: [{
|
|
57
71
|
flex: 1
|
|
@@ -67,6 +81,10 @@ const AppShellComponent = ({
|
|
|
67
81
|
breadcrumb,
|
|
68
82
|
actions,
|
|
69
83
|
header,
|
|
84
|
+
aside,
|
|
85
|
+
asideWidth = 320,
|
|
86
|
+
asideFrom = 'xl',
|
|
87
|
+
asideCollapse = 'stack',
|
|
70
88
|
children,
|
|
71
89
|
contentMaxWidth = 1300,
|
|
72
90
|
overlay,
|
|
@@ -80,12 +98,16 @@ const AppShellComponent = ({
|
|
|
80
98
|
const {
|
|
81
99
|
width
|
|
82
100
|
} = useWindowDimensions();
|
|
83
|
-
// Native has no document
|
|
84
|
-
const
|
|
101
|
+
// Native has no document: `document` falls back to `container` there.
|
|
102
|
+
const mode = scroll === 'document' && Platform.OS !== 'web' ? 'container' : scroll;
|
|
103
|
+
const doc = mode === 'document';
|
|
104
|
+
const fixed = mode === 'fixed';
|
|
85
105
|
const small = width >= BREAKPOINTS.sm;
|
|
86
106
|
// The rail is narrow enough to stay in flow from `sm`; the panel needs `lg`.
|
|
87
107
|
const rail = sidebar?.variant === 'rail';
|
|
88
108
|
const wide = rail ? small : width >= BREAKPOINTS.lg;
|
|
109
|
+
const asideBeside = aside != null && width >= BREAKPOINTS[asideFrom];
|
|
110
|
+
const asideStacked = aside != null && !asideBeside && asideCollapse === 'stack';
|
|
89
111
|
// The drawer always opens the full panel, whatever the in-flow variant.
|
|
90
112
|
const drawerSidebar = sidebar ? {
|
|
91
113
|
...sidebar,
|
|
@@ -97,7 +119,15 @@ const AppShellComponent = ({
|
|
|
97
119
|
defaultValue: false,
|
|
98
120
|
onChange: onDrawerOpenChange
|
|
99
121
|
});
|
|
100
|
-
const
|
|
122
|
+
const drawerAvailable = !!sidebar && !wide;
|
|
123
|
+
const isOpen = open && drawerAvailable;
|
|
124
|
+
const shell = useMemo(() => ({
|
|
125
|
+
drawerAvailable,
|
|
126
|
+
drawerOpen: isOpen,
|
|
127
|
+
openDrawer: () => setOpen(true),
|
|
128
|
+
closeDrawer: () => setOpen(false),
|
|
129
|
+
toggleDrawer: () => setOpen(!isOpen)
|
|
130
|
+
}), [drawerAvailable, isOpen, setOpen]);
|
|
101
131
|
const {
|
|
102
132
|
neutral: n
|
|
103
133
|
} = resolveButtonRamps(theme);
|
|
@@ -125,180 +155,225 @@ const AppShellComponent = ({
|
|
|
125
155
|
const veilStyle = useAnimatedStyle(() => ({
|
|
126
156
|
opacity: reveal.value
|
|
127
157
|
}), [reveal]);
|
|
128
|
-
|
|
158
|
+
|
|
159
|
+
// The default header renders whenever it has something to show — a menu
|
|
160
|
+
// button alone counts, so a page without a title can still open the drawer.
|
|
161
|
+
const headerNode = header ?? (title != null || breadcrumb != null || actions != null || drawerAvailable ? /*#__PURE__*/_jsx(AppShellHeader, {
|
|
129
162
|
title: title,
|
|
130
163
|
breadcrumb: breadcrumb,
|
|
131
164
|
actions: actions,
|
|
132
165
|
menuOpen: isOpen,
|
|
133
|
-
onMenuPress:
|
|
166
|
+
onMenuPress: drawerAvailable ? shell.toggleDrawer : undefined,
|
|
134
167
|
testID: testID ? `${testID}-header` : undefined
|
|
135
168
|
}) : null);
|
|
169
|
+
const fill = fixed ? {
|
|
170
|
+
flex: 1,
|
|
171
|
+
minHeight: 0
|
|
172
|
+
} : null;
|
|
136
173
|
const column = /*#__PURE__*/_jsxs(View, {
|
|
137
|
-
style: {
|
|
174
|
+
style: [{
|
|
138
175
|
width: '100%',
|
|
139
176
|
maxWidth: contentMaxWidth,
|
|
140
177
|
alignSelf: 'center',
|
|
141
178
|
gap: 10
|
|
142
|
-
},
|
|
143
|
-
children: [headerNode, /*#__PURE__*/
|
|
144
|
-
style: {
|
|
179
|
+
}, fill],
|
|
180
|
+
children: [headerNode, /*#__PURE__*/_jsxs(View, {
|
|
181
|
+
style: [{
|
|
145
182
|
width: '100%',
|
|
146
183
|
gap: 16,
|
|
147
184
|
paddingBottom: drawer === 'overlay' ? 16 : 0
|
|
148
|
-
},
|
|
149
|
-
children: children
|
|
185
|
+
}, fill],
|
|
186
|
+
children: [children, asideStacked ? /*#__PURE__*/_jsx(View, {
|
|
187
|
+
testID: testID ? `${testID}-aside` : undefined,
|
|
188
|
+
children: aside
|
|
189
|
+
}) : null]
|
|
150
190
|
})]
|
|
151
191
|
});
|
|
192
|
+
|
|
193
|
+
// Beside the content: sticky and self-scrolling with document scroll, a
|
|
194
|
+
// full-height scroller otherwise.
|
|
195
|
+
const asideColumn = inset => asideBeside ? /*#__PURE__*/_jsx(View, {
|
|
196
|
+
testID: testID ? `${testID}-aside` : undefined,
|
|
197
|
+
style: [{
|
|
198
|
+
width: asideWidth,
|
|
199
|
+
flexShrink: 0
|
|
200
|
+
}, doc ? {
|
|
201
|
+
...stickyRail(12),
|
|
202
|
+
width: asideWidth
|
|
203
|
+
} : {
|
|
204
|
+
alignSelf: 'stretch'
|
|
205
|
+
}, inset],
|
|
206
|
+
children: /*#__PURE__*/_jsx(ScrollView, {
|
|
207
|
+
style: {
|
|
208
|
+
flex: 1
|
|
209
|
+
},
|
|
210
|
+
contentContainerStyle: {
|
|
211
|
+
flexGrow: 1
|
|
212
|
+
},
|
|
213
|
+
showsVerticalScrollIndicator: false,
|
|
214
|
+
children: aside
|
|
215
|
+
})
|
|
216
|
+
}) : null;
|
|
217
|
+
const frame = doc ? documentRoot : fixed ? fixedRoot : containerRoot;
|
|
152
218
|
if (drawer === 'reveal') {
|
|
153
|
-
return /*#__PURE__*/
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
backgroundColor: background
|
|
162
|
-
}, style],
|
|
163
|
-
children: [sidebar && wide ? /*#__PURE__*/_jsx(View, {
|
|
164
|
-
style: [{
|
|
165
|
-
paddingTop: 12,
|
|
166
|
-
paddingBottom: 12,
|
|
167
|
-
paddingLeft: 12,
|
|
168
|
-
flexShrink: 0
|
|
169
|
-
}, doc ? stickyRail(0) : null],
|
|
170
|
-
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
171
|
-
...sidebar
|
|
172
|
-
})
|
|
173
|
-
}) : null, sidebar && !wide ? /*#__PURE__*/_jsx(View, {
|
|
174
|
-
"aria-hidden": !isOpen,
|
|
175
|
-
pointerEvents: isOpen ? 'auto' : 'none'
|
|
176
|
-
// Fixed on web in document mode: the rail waits beneath the VIEWPORT,
|
|
177
|
-
// wherever the page is scrolled to.
|
|
178
|
-
,
|
|
179
|
-
style: {
|
|
180
|
-
position: doc ? WEB_POSITION_FIXED : 'absolute',
|
|
181
|
-
top: 0,
|
|
182
|
-
bottom: 0,
|
|
183
|
-
left: 0,
|
|
184
|
-
width: 272,
|
|
185
|
-
paddingTop: 12,
|
|
186
|
-
paddingBottom: 12,
|
|
187
|
-
paddingLeft: 6
|
|
188
|
-
},
|
|
189
|
-
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
190
|
-
style: [{
|
|
191
|
-
height: '100%',
|
|
192
|
-
width: 260,
|
|
193
|
-
transformOrigin: 'left center'
|
|
194
|
-
}, railStyle],
|
|
195
|
-
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
196
|
-
...drawerSidebar,
|
|
197
|
-
mobile: true,
|
|
198
|
-
flat: true,
|
|
199
|
-
onClose: () => setOpen(false)
|
|
200
|
-
})
|
|
201
|
-
})
|
|
202
|
-
}) : null, /*#__PURE__*/_jsxs(Animated.View, {
|
|
203
|
-
style: [{
|
|
204
|
-
flex: 1,
|
|
205
|
-
minWidth: 0,
|
|
206
|
-
overflow: doc ? WEB_OVERFLOW_CLIP : 'hidden',
|
|
219
|
+
return /*#__PURE__*/_jsx(AppShellProvider, {
|
|
220
|
+
value: shell,
|
|
221
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
222
|
+
testID: testID,
|
|
223
|
+
style: [frame, doc ? {
|
|
224
|
+
overflow: WEB_OVERFLOW_CLIP
|
|
225
|
+
} : null, {
|
|
226
|
+
flexDirection: 'row',
|
|
207
227
|
backgroundColor: background
|
|
208
|
-
},
|
|
209
|
-
children: [/*#__PURE__*/_jsx(
|
|
210
|
-
document: doc,
|
|
211
|
-
style: {},
|
|
212
|
-
contentStyle: {
|
|
213
|
-
padding: 12,
|
|
214
|
-
paddingTop: small ? 24 : 12
|
|
215
|
-
},
|
|
216
|
-
children: column
|
|
217
|
-
}), !wide ? /*#__PURE__*/_jsx(Animated.View, {
|
|
218
|
-
pointerEvents: isOpen ? 'auto' : 'none',
|
|
228
|
+
}, style],
|
|
229
|
+
children: [sidebar && wide ? /*#__PURE__*/_jsx(View, {
|
|
219
230
|
style: [{
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
role: "button",
|
|
228
|
-
accessibilityLabel: "Close navigation",
|
|
229
|
-
focusable: isOpen,
|
|
230
|
-
onPress: () => setOpen(false),
|
|
231
|
-
style: {
|
|
232
|
-
flex: 1,
|
|
233
|
-
backgroundColor: theme.isDark ? 'rgba(255, 255, 255, 0.05)' : 'rgba(0, 0, 0, 0.1)'
|
|
234
|
-
},
|
|
235
|
-
testID: testID ? `${testID}-veil` : undefined
|
|
231
|
+
paddingTop: 12,
|
|
232
|
+
paddingBottom: 12,
|
|
233
|
+
paddingLeft: 12,
|
|
234
|
+
flexShrink: 0
|
|
235
|
+
}, doc ? stickyRail(0) : null],
|
|
236
|
+
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
237
|
+
...sidebar
|
|
236
238
|
})
|
|
237
|
-
}) : null
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
style: [doc ? documentRoot : {
|
|
244
|
-
flex: 1,
|
|
245
|
-
height: '100%',
|
|
246
|
-
overflow: 'hidden'
|
|
247
|
-
}, {
|
|
248
|
-
flexDirection: 'row',
|
|
249
|
-
gap: 16,
|
|
250
|
-
padding: 12,
|
|
251
|
-
backgroundColor: background
|
|
252
|
-
}, style],
|
|
253
|
-
children: [sidebar && wide ? doc ? /*#__PURE__*/_jsx(View, {
|
|
254
|
-
style: stickyRail(12),
|
|
255
|
-
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
256
|
-
...sidebar
|
|
257
|
-
})
|
|
258
|
-
}) : /*#__PURE__*/_jsx(Sidebar, {
|
|
259
|
-
...sidebar
|
|
260
|
-
}) : null, sidebar && isOpen ? /*#__PURE__*/_jsx(Portal, {
|
|
261
|
-
children: /*#__PURE__*/_jsxs(OverlayRoot, {
|
|
262
|
-
children: [/*#__PURE__*/_jsx(Backdrop, {
|
|
263
|
-
onPress: () => setOpen(false),
|
|
264
|
-
blurIntensity: 0,
|
|
265
|
-
dimOpacity: 0.4,
|
|
266
|
-
accessibilityLabel: "Close navigation"
|
|
267
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
268
|
-
pointerEvents: "box-none",
|
|
239
|
+
}) : null, sidebar && !wide ? /*#__PURE__*/_jsx(View, {
|
|
240
|
+
"aria-hidden": !isOpen,
|
|
241
|
+
pointerEvents: isOpen ? 'auto' : 'none'
|
|
242
|
+
// Fixed on web in document mode: the rail waits beneath the VIEWPORT,
|
|
243
|
+
// wherever the page is scrolled to.
|
|
244
|
+
,
|
|
269
245
|
style: {
|
|
270
|
-
position: 'absolute',
|
|
246
|
+
position: doc ? WEB_POSITION_FIXED : 'absolute',
|
|
271
247
|
top: 0,
|
|
272
248
|
bottom: 0,
|
|
273
249
|
left: 0,
|
|
274
|
-
|
|
275
|
-
|
|
250
|
+
width: 272,
|
|
251
|
+
paddingTop: 12,
|
|
252
|
+
paddingBottom: 12,
|
|
253
|
+
paddingLeft: 6
|
|
276
254
|
},
|
|
277
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
255
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
256
|
+
style: [{
|
|
257
|
+
height: '100%',
|
|
258
|
+
width: 260,
|
|
259
|
+
transformOrigin: 'left center'
|
|
260
|
+
}, railStyle],
|
|
282
261
|
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
283
262
|
...drawerSidebar,
|
|
284
263
|
mobile: true,
|
|
264
|
+
flat: true,
|
|
285
265
|
onClose: () => setOpen(false)
|
|
286
266
|
})
|
|
287
267
|
})
|
|
288
|
-
})
|
|
268
|
+
}) : null, /*#__PURE__*/_jsxs(Animated.View, {
|
|
269
|
+
style: [{
|
|
270
|
+
flex: 1,
|
|
271
|
+
minWidth: 0,
|
|
272
|
+
flexDirection: 'row',
|
|
273
|
+
overflow: doc ? WEB_OVERFLOW_CLIP : 'hidden',
|
|
274
|
+
backgroundColor: background
|
|
275
|
+
}, wide ? null : pageStyle],
|
|
276
|
+
children: [/*#__PURE__*/_jsx(Scroller, {
|
|
277
|
+
mode: mode,
|
|
278
|
+
style: {
|
|
279
|
+
flex: doc ? undefined : 1,
|
|
280
|
+
flexGrow: 1,
|
|
281
|
+
minWidth: 0
|
|
282
|
+
},
|
|
283
|
+
contentStyle: {
|
|
284
|
+
padding: 12,
|
|
285
|
+
paddingTop: small ? 24 : 12
|
|
286
|
+
},
|
|
287
|
+
children: column
|
|
288
|
+
}), asideColumn({
|
|
289
|
+
paddingTop: small ? 24 : 12,
|
|
290
|
+
paddingBottom: 12,
|
|
291
|
+
paddingRight: 12
|
|
292
|
+
}), !wide ? /*#__PURE__*/_jsx(Animated.View, {
|
|
293
|
+
pointerEvents: isOpen ? 'auto' : 'none',
|
|
294
|
+
style: [{
|
|
295
|
+
position: 'absolute',
|
|
296
|
+
top: 0,
|
|
297
|
+
left: 0,
|
|
298
|
+
right: 0,
|
|
299
|
+
bottom: 0
|
|
300
|
+
}, veilStyle],
|
|
301
|
+
children: /*#__PURE__*/_jsx(Pressable, {
|
|
302
|
+
role: "button",
|
|
303
|
+
accessibilityLabel: "Close navigation",
|
|
304
|
+
focusable: isOpen,
|
|
305
|
+
onPress: () => setOpen(false),
|
|
306
|
+
style: {
|
|
307
|
+
flex: 1,
|
|
308
|
+
backgroundColor: theme.isDark ? 'rgba(255, 255, 255, 0.05)' : 'rgba(0, 0, 0, 0.1)'
|
|
309
|
+
},
|
|
310
|
+
testID: testID ? `${testID}-veil` : undefined
|
|
311
|
+
})
|
|
312
|
+
}) : null]
|
|
313
|
+
}), overlay]
|
|
289
314
|
})
|
|
290
|
-
})
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
return /*#__PURE__*/_jsx(AppShellProvider, {
|
|
318
|
+
value: shell,
|
|
319
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
320
|
+
testID: testID,
|
|
321
|
+
style: [frame, {
|
|
322
|
+
flexDirection: 'row',
|
|
323
|
+
gap: 16,
|
|
324
|
+
padding: 12,
|
|
295
325
|
backgroundColor: background
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
326
|
+
}, style],
|
|
327
|
+
children: [sidebar && wide ? doc ? /*#__PURE__*/_jsx(View, {
|
|
328
|
+
style: stickyRail(12),
|
|
329
|
+
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
330
|
+
...sidebar
|
|
331
|
+
})
|
|
332
|
+
}) : /*#__PURE__*/_jsx(Sidebar, {
|
|
333
|
+
...sidebar
|
|
334
|
+
}) : null, sidebar && isOpen ? /*#__PURE__*/_jsx(Portal, {
|
|
335
|
+
children: /*#__PURE__*/_jsxs(OverlayRoot, {
|
|
336
|
+
children: [/*#__PURE__*/_jsx(Backdrop, {
|
|
337
|
+
onPress: () => setOpen(false),
|
|
338
|
+
blurIntensity: 0,
|
|
339
|
+
dimOpacity: 0.4,
|
|
340
|
+
accessibilityLabel: "Close navigation"
|
|
341
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
342
|
+
pointerEvents: "box-none",
|
|
343
|
+
style: {
|
|
344
|
+
position: 'absolute',
|
|
345
|
+
top: 0,
|
|
346
|
+
bottom: 0,
|
|
347
|
+
left: 0,
|
|
348
|
+
flexDirection: 'row',
|
|
349
|
+
padding: 12
|
|
350
|
+
},
|
|
351
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
352
|
+
pointerEvents: "auto",
|
|
353
|
+
style: {
|
|
354
|
+
height: '100%'
|
|
355
|
+
},
|
|
356
|
+
children: /*#__PURE__*/_jsx(Sidebar, {
|
|
357
|
+
...drawerSidebar,
|
|
358
|
+
mobile: true,
|
|
359
|
+
onClose: () => setOpen(false)
|
|
360
|
+
})
|
|
361
|
+
})
|
|
362
|
+
})]
|
|
363
|
+
})
|
|
364
|
+
}) : null, /*#__PURE__*/_jsx(Scroller, {
|
|
365
|
+
mode: mode,
|
|
366
|
+
style: {
|
|
367
|
+
flex: 1,
|
|
368
|
+
minWidth: 0,
|
|
369
|
+
backgroundColor: background
|
|
370
|
+
},
|
|
371
|
+
contentStyle: {
|
|
372
|
+
paddingTop: small ? 12 : 0
|
|
373
|
+
},
|
|
374
|
+
children: column
|
|
375
|
+
}), asideColumn({}), overlay]
|
|
376
|
+
})
|
|
302
377
|
});
|
|
303
378
|
};
|
|
304
379
|
|
|
@@ -313,11 +388,28 @@ const documentRoot = {
|
|
|
313
388
|
flexGrow: 1,
|
|
314
389
|
minHeight: WEB_VIEWPORT_HEIGHT
|
|
315
390
|
};
|
|
316
|
-
//
|
|
317
|
-
//
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
391
|
+
// (Under `reveal` the document root also takes `overflow: clip`: the page slides
|
|
392
|
+
// 272 right, and `clip` keeps that from widening the document with a horizontal
|
|
393
|
+
// scrollbar without becoming a scroll container.)
|
|
394
|
+
|
|
395
|
+
/** Container mode: fill the parent, scroll inside. */
|
|
396
|
+
const containerRoot = {
|
|
397
|
+
flex: 1,
|
|
398
|
+
height: '100%',
|
|
399
|
+
overflow: 'hidden'
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Fixed mode: exactly one screen — `100dvh` on web, the parent on native — and
|
|
404
|
+
* nothing scrolls; the content fills the height left under the header.
|
|
405
|
+
*/
|
|
406
|
+
const fixedRoot = Platform.OS === 'web' ? {
|
|
407
|
+
height: WEB_VIEWPORT_HEIGHT,
|
|
408
|
+
overflow: 'hidden'
|
|
409
|
+
} : {
|
|
410
|
+
flex: 1,
|
|
411
|
+
height: '100%',
|
|
412
|
+
overflow: 'hidden'
|
|
321
413
|
};
|
|
322
414
|
|
|
323
415
|
/** The in-flow rail, pinned to the viewport while the document scrolls under it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useEffect","Platform","Pressable","ScrollView","View","useWindowDimensions","Animated","Easing","useAnimatedStyle","useReducedMotion","useSharedValue","withTiming","resolveButtonRamps","mixColor","useControllableState","Backdrop","OverlayRoot","Portal","Sidebar","BREAKPOINTS","WEB_OVERFLOW_CLIP","WEB_POSITION_FIXED","WEB_POSITION_STICKY","WEB_VIEWPORT_HEIGHT","webViewportHeightMinus","useTheme","AppShellHeader","jsx","_jsx","jsxs","_jsxs","REVEAL_EASE","bezier","REVEAL_MS","REVEAL_OFFSET","Scroller","document","inDocument","style","contentStyle","children","flex","contentContainerStyle","AppShellComponent","sidebar","drawer","title","breadcrumb","actions","header","contentMaxWidth","overlay","drawerOpen","onDrawerOpenChange","scroll","testID","theme","width","doc","OS","small","sm","rail","variant","wide","lg","drawerSidebar","undefined","reducedMotion","open","setOpen","value","defaultValue","onChange","isOpen","neutral","n","background","isDark","colors","card","reveal","target","duration","easing","railStyle","opacity","transform","scale","pageStyle","translateX","borderRadius","veilStyle","headerNode","menuOpen","onMenuPress","column","maxWidth","alignSelf","gap","paddingBottom","revealDocumentRoot","height","overflow","flexDirection","backgroundColor","paddingTop","paddingLeft","flexShrink","stickyRail","pointerEvents","position","top","bottom","left","transformOrigin","mobile","flat","onClose","minWidth","padding","right","role","accessibilityLabel","focusable","onPress","documentRoot","blurIntensity","dimOpacity","flexGrow","minHeight","inset","AppShell","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShell.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,SAAS,QAAQ,OAAO;AAC9C,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,EAAEC,mBAAmB,QAAQ,cAAc;AACzF,OAAOC,QAAQ,IACbC,MAAM,EACNC,gBAAgB,EAChBC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAEhC,SAASC,kBAAkB,EAAEC,QAAQ,QAAQ,qBAAkB;AAC/D,SAASC,oBAAoB,QAAQ,oCAAiC;AACtE,SAASC,QAAQ,EAAEC,WAAW,QAAQ,qBAAY;AAClD,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,WAAW,QAAQ,0BAAuB;AACnD,SACEC,iBAAiB,EACjBC,kBAAkB,EAClBC,mBAAmB,EACnBC,mBAAmB,EACnBC,sBAAsB,QAEjB,6BAA0B;AACjC,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,cAAc,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGlD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMC,WAAW,GAAGxB,MAAM,CAACyB,MAAM,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;AACnD,MAAMC,SAAS,GAAG,GAAG;AACrB,MAAMC,aAAa,GAAG,GAAG;;AAEzB;AACA;AACA;AACA;AACA,SAASC,QAAQA,CAAC;EA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;AAC/CyF,QAAQ,CAACC,WAAW,GAAG,UAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","memo","useEffect","useMemo","Platform","Pressable","ScrollView","View","useWindowDimensions","Animated","Easing","useAnimatedStyle","useReducedMotion","useSharedValue","withTiming","resolveButtonRamps","mixColor","useControllableState","Backdrop","OverlayRoot","Portal","Sidebar","BREAKPOINTS","WEB_OVERFLOW_CLIP","WEB_POSITION_FIXED","WEB_POSITION_STICKY","WEB_VIEWPORT_HEIGHT","webViewportHeightMinus","useTheme","AppShellHeader","AppShellProvider","jsx","_jsx","jsxs","_jsxs","REVEAL_EASE","bezier","REVEAL_MS","REVEAL_OFFSET","Scroller","mode","style","contentStyle","children","flex","minHeight","contentContainerStyle","AppShellComponent","sidebar","drawer","title","breadcrumb","actions","header","aside","asideWidth","asideFrom","asideCollapse","contentMaxWidth","overlay","drawerOpen","onDrawerOpenChange","scroll","testID","theme","width","OS","doc","fixed","small","sm","rail","variant","wide","lg","asideBeside","asideStacked","drawerSidebar","undefined","reducedMotion","open","setOpen","value","defaultValue","onChange","drawerAvailable","isOpen","shell","openDrawer","closeDrawer","toggleDrawer","neutral","n","background","isDark","colors","card","reveal","target","duration","easing","railStyle","opacity","transform","scale","pageStyle","translateX","borderRadius","veilStyle","headerNode","menuOpen","onMenuPress","fill","column","maxWidth","alignSelf","gap","paddingBottom","asideColumn","inset","flexShrink","stickyRail","flexGrow","showsVerticalScrollIndicator","frame","documentRoot","fixedRoot","containerRoot","overflow","flexDirection","backgroundColor","paddingTop","paddingLeft","pointerEvents","position","top","bottom","left","height","transformOrigin","mobile","flat","onClose","minWidth","padding","paddingRight","right","role","accessibilityLabel","focusable","onPress","blurIntensity","dimOpacity","AppShell","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShell.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACvD,SAASC,QAAQ,EAAEC,SAAS,EA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;AAC/C0G,QAAQ,CAACC,WAAW,GAAG,UAAU","ignoreList":[]}
|
|
@@ -64,7 +64,7 @@ const AppShellHeaderComponent = ({
|
|
|
64
64
|
"aria-expanded": menuOpen,
|
|
65
65
|
onPress: onMenuPress,
|
|
66
66
|
testID: testID ? `${testID}-menu` : undefined
|
|
67
|
-
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
67
|
+
}) : null, title != null ? /*#__PURE__*/_jsx(Text, {
|
|
68
68
|
role: "heading",
|
|
69
69
|
"aria-level": 1,
|
|
70
70
|
variant: "title-2-medium",
|
|
@@ -75,7 +75,7 @@ const AppShellHeaderComponent = ({
|
|
|
75
75
|
color: theme.colors.text
|
|
76
76
|
},
|
|
77
77
|
children: title
|
|
78
|
-
})]
|
|
78
|
+
}) : null]
|
|
79
79
|
}), actions ? /*#__PURE__*/_jsx(View, {
|
|
80
80
|
style: {
|
|
81
81
|
flexDirection: 'row',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","View","useWindowDimensions","Button","RiCloseLine","RiMenuLine","BREAKPOINTS","useTheme","Text","jsx","_jsx","jsxs","_jsxs","AppShellHeaderComponent","title","breadcrumb","actions","onMenuPress","menuOpen","style","testID","theme","width","showMenu","lg","role","gap","children","flexDirection","flexWrap","alignItems","justifyContent","minWidth","variant","size","iconOnly","leadingIcon","accessibilityLabel","onPress","undefined","numberOfLines","paddingLeft","paddingRight","color","colors","text","AppShellHeader","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,mBAAmB,QAAQ,cAAc;AAExD,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,WAAW,EAAEC,UAAU,QAAQ,yBAAgB;AACxD,SAASC,WAAW,QAAQ,0BAAuB;AACnD,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;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BAAiB;UACpC,iBAAenB,QAAS;UACxBoB,OAAO,EAAErB,WAAY;UACrBG,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,OAAO,GAAGmB;QAAU,CAC/C,CAAC,GACA,IAAI,
|
|
1
|
+
{"version":3,"names":["React","memo","View","useWindowDimensions","Button","RiCloseLine","RiMenuLine","BREAKPOINTS","useTheme","Text","jsx","_jsx","jsxs","_jsxs","AppShellHeaderComponent","title","breadcrumb","actions","onMenuPress","menuOpen","style","testID","theme","width","showMenu","lg","role","gap","children","flexDirection","flexWrap","alignItems","justifyContent","minWidth","variant","size","iconOnly","leadingIcon","accessibilityLabel","onPress","undefined","numberOfLines","paddingLeft","paddingRight","color","colors","text","AppShellHeader","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,IAAI,EAAEC,mBAAmB,QAAQ,cAAc;AAExD,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,WAAW,EAAEC,UAAU,QAAQ,yBAAgB;AACxD,SAASC,WAAW,QAAQ,0BAAuB;AACnD,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,uBAAsD,GAAGA,CAAC;EAC9DC,KAAK;EACLC,UAAU;EACVC,OAAO;EACPC,WAAW;EACXC,QAAQ,GAAG,KAAK;EAChBC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAMC,KAAK,GAAGd,QAAQ,CAAC,CAAC;EACxB,MAAM;IAAEe;EAAM,CAAC,GAAGpB,mBAAmB,CAAC,CAAC;EACvC,MAAMqB,QAAQ,GAAGN,WAAW,IAAI,IAAI,IAAIK,KAAK,GAAGhB,WAAW,CAACkB,EAAE;E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K,CACF,CAAC,GACL,IAAI;MAAA,CACJ,CAAC,EACNE,OAAO,gBACNN,IAAA,CAACT,IAAI;QACHkB,KAAK,EAAE;UACLS,aAAa,EAAE,KAAK;UACpBC,QAAQ,EAAE,MAAM;UAChBC,UAAU,EAAE,QAAQ;UACpBC,cAAc,EAAE,UAAU;UAC1BL,GAAG,EAAE;QACP,CAAE;QAAAC,QAAA,EAEDX;MAAO,CACJ,CAAC,GACL,IAAI;IAAA,CACJ,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAED,OAAO,MAAM8B,cAAc,gBAAG9C,IAAI,CAACa,uBAAuB,CAAC;AAC3DiC,cAAc,CAACC,WAAW,GAAG,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { memo } from 'react';
|
|
4
|
+
import { Button } from '../button';
|
|
5
|
+
import { RiCloseLine, RiMenuLine } from "../icons/remix/index.js";
|
|
6
|
+
import { useAppShell } from "./context.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
/**
|
|
9
|
+
* The hamburger that opens `AppShell`'s drawer, for a page that draws its own
|
|
10
|
+
* header. Renders nothing while the sidebar sits in flow, so it can stay in the
|
|
11
|
+
* markup at every width. A medium secondary icon button — the same one
|
|
12
|
+
* `AppShellHeader` shows — swapping to a close glyph while the drawer is open.
|
|
13
|
+
*/
|
|
14
|
+
const AppShellMenuButtonComponent = ({
|
|
15
|
+
accessibilityLabel = 'Open navigation',
|
|
16
|
+
style,
|
|
17
|
+
testID
|
|
18
|
+
}) => {
|
|
19
|
+
const shell = useAppShell();
|
|
20
|
+
if (!shell.drawerAvailable) return null;
|
|
21
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
22
|
+
variant: "secondary",
|
|
23
|
+
size: "medium",
|
|
24
|
+
iconOnly: true,
|
|
25
|
+
leadingIcon: shell.drawerOpen ? RiCloseLine : RiMenuLine,
|
|
26
|
+
accessibilityLabel: accessibilityLabel,
|
|
27
|
+
"aria-expanded": shell.drawerOpen,
|
|
28
|
+
onPress: shell.toggleDrawer,
|
|
29
|
+
style: style,
|
|
30
|
+
testID: testID
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export const AppShellMenuButton = /*#__PURE__*/memo(AppShellMenuButtonComponent);
|
|
34
|
+
AppShellMenuButton.displayName = 'AppShellMenuButton';
|
|
35
|
+
//# sourceMappingURL=AppShellMenuButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","memo","Button","RiCloseLine","RiMenuLine","useAppShell","jsx","_jsx","AppShellMenuButtonComponent","accessibilityLabel","style","testID","shell","drawerAvailable","variant","size","iconOnly","leadingIcon","drawerOpen","onPress","toggleDrawer","AppShellMenuButton","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellMenuButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AAEnC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,WAAW,EAAEC,UAAU,QAAQ,yBAAgB;AACxD,SAASC,WAAW,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGxC;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,2BAA8D,GAAGA,CAAC;EACtEC,kBAAkB,GAAG,iBAAiB;EACtCC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAMC,KAAK,GAAGP,WAAW,CAAC,CAAC;EAC3B,IAAI,CAACO,KAAK,CAACC,eAAe,EAAE,OAAO,IAAI;EACvC,oBACEN,IAAA,CAACL,MAAM;IACLY,OAAO,EAAC,WAAW;IACnBC,IAAI,EAAC,QAAQ;IACbC,QAAQ;IACRC,WAAW,EAAEL,KAAK,CAACM,UAAU,GAAGf,WAAW,GAAGC,UAAW;IACzDK,kBAAkB,EAAEA,kBAAmB;IACvC,iBAAeG,KAAK,CAACM,UAAW;IAChCC,OAAO,EAAEP,KAAK,CAACQ,YAAa;IAC5BV,KAAK,EAAEA,KAAM;IACbC,MAAM,EAAEA;EAAO,CAChB,CAAC;AAEN,CAAC;AAED,OAAO,MAAMU,kBAAkB,gBAAGpB,IAAI,CAACO,2BAA2B,CAAC;AACnEa,kBAAkB,CAACC,WAAW,GAAG,oBAAoB","ignoreList":[]}
|