@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.
Files changed (1046) hide show
  1. package/README.md +4 -3
  2. package/docs/app-shell.mdx +47 -3
  3. package/docs/booking.mdx +213 -0
  4. package/docs/category-bar.mdx +83 -0
  5. package/docs/listing-card.mdx +132 -0
  6. package/docs/listing-details.mdx +180 -0
  7. package/docs/map-marker.mdx +115 -0
  8. package/docs/rating.mdx +51 -0
  9. package/docs/sidebar.mdx +17 -0
  10. package/docs/stay-filters.mdx +253 -0
  11. package/docs/stay-search.mdx +197 -0
  12. package/docs/stepper.mdx +73 -0
  13. package/lib/commonjs/app-shell/AppShell.js +248 -156
  14. package/lib/commonjs/app-shell/AppShell.js.map +1 -1
  15. package/lib/commonjs/app-shell/AppShellHeader.js +2 -2
  16. package/lib/commonjs/app-shell/AppShellHeader.js.map +1 -1
  17. package/lib/commonjs/app-shell/AppShellMenuButton.js +40 -0
  18. package/lib/commonjs/app-shell/AppShellMenuButton.js.map +1 -0
  19. package/lib/commonjs/app-shell/context.js +30 -0
  20. package/lib/commonjs/app-shell/context.js.map +1 -0
  21. package/lib/commonjs/app-shell/index.js +14 -0
  22. package/lib/commonjs/app-shell/index.js.map +1 -1
  23. package/lib/commonjs/booking/BookingBar.js +109 -0
  24. package/lib/commonjs/booking/BookingBar.js.map +1 -0
  25. package/lib/commonjs/booking/BookingCard.js +368 -0
  26. package/lib/commonjs/booking/BookingCard.js.map +1 -0
  27. package/lib/commonjs/booking/BookingLink.js +90 -0
  28. package/lib/commonjs/booking/BookingLink.js.map +1 -0
  29. package/lib/commonjs/booking/BookingPrice.js +75 -0
  30. package/lib/commonjs/booking/BookingPrice.js.map +1 -0
  31. package/lib/commonjs/booking/PriceBreakdown.js +132 -0
  32. package/lib/commonjs/booking/PriceBreakdown.js.map +1 -0
  33. package/lib/commonjs/booking/TripCard.js +225 -0
  34. package/lib/commonjs/booking/TripCard.js.map +1 -0
  35. package/lib/commonjs/booking/constants.js +26 -0
  36. package/lib/commonjs/booking/constants.js.map +1 -0
  37. package/lib/commonjs/booking/index.js +41 -0
  38. package/lib/commonjs/booking/index.js.map +1 -0
  39. package/lib/commonjs/booking/shared.js +104 -0
  40. package/lib/commonjs/booking/shared.js.map +1 -0
  41. package/lib/commonjs/booking/types.js +6 -0
  42. package/lib/commonjs/booking/types.js.map +1 -0
  43. package/lib/commonjs/category-bar/CategoryBar.js +499 -0
  44. package/lib/commonjs/category-bar/CategoryBar.js.map +1 -0
  45. package/lib/commonjs/category-bar/index.js +13 -0
  46. package/lib/commonjs/category-bar/index.js.map +1 -0
  47. package/lib/commonjs/category-bar/types.js +6 -0
  48. package/lib/commonjs/category-bar/types.js.map +1 -0
  49. package/lib/commonjs/dialog/DialogBottomSheet.js +14 -0
  50. package/lib/commonjs/dialog/DialogBottomSheet.js.map +1 -1
  51. package/lib/commonjs/icons/remix/RiAncientGateLine.js +12 -0
  52. package/lib/commonjs/icons/remix/RiAncientGateLine.js.map +1 -0
  53. package/lib/commonjs/icons/remix/RiAncientPavilionLine.js +12 -0
  54. package/lib/commonjs/icons/remix/RiAncientPavilionLine.js.map +1 -0
  55. package/lib/commonjs/icons/remix/RiBikeLine.js +12 -0
  56. package/lib/commonjs/icons/remix/RiBikeLine.js.map +1 -0
  57. package/lib/commonjs/icons/remix/RiBriefcase4Line.js +12 -0
  58. package/lib/commonjs/icons/remix/RiBriefcase4Line.js.map +1 -0
  59. package/lib/commonjs/icons/remix/RiCactusLine.js +12 -0
  60. package/lib/commonjs/icons/remix/RiCactusLine.js.map +1 -0
  61. package/lib/commonjs/icons/remix/RiCalendarCloseLine.js +12 -0
  62. package/lib/commonjs/icons/remix/RiCalendarCloseLine.js.map +1 -0
  63. package/lib/commonjs/icons/remix/RiDoorOpenLine.js +12 -0
  64. package/lib/commonjs/icons/remix/RiDoorOpenLine.js.map +1 -0
  65. package/lib/commonjs/icons/remix/RiFridgeLine.js +12 -0
  66. package/lib/commonjs/icons/remix/RiFridgeLine.js.map +1 -0
  67. package/lib/commonjs/icons/remix/RiGolfBallLine.js +12 -0
  68. package/lib/commonjs/icons/remix/RiGolfBallLine.js.map +1 -0
  69. package/lib/commonjs/icons/remix/RiHeart3Fill.js +12 -0
  70. package/lib/commonjs/icons/remix/RiHeart3Fill.js.map +1 -0
  71. package/lib/commonjs/icons/remix/RiHeart3Line.js +12 -0
  72. package/lib/commonjs/icons/remix/RiHeart3Line.js.map +1 -0
  73. package/lib/commonjs/icons/remix/RiLandscapeLine.js +12 -0
  74. package/lib/commonjs/icons/remix/RiLandscapeLine.js.map +1 -0
  75. package/lib/commonjs/icons/remix/RiMapPin2Line.js +12 -0
  76. package/lib/commonjs/icons/remix/RiMapPin2Line.js.map +1 -0
  77. package/lib/commonjs/icons/remix/RiMedalLine.js +12 -0
  78. package/lib/commonjs/icons/remix/RiMedalLine.js.map +1 -0
  79. package/lib/commonjs/icons/remix/RiParkingBoxLine.js +12 -0
  80. package/lib/commonjs/icons/remix/RiParkingBoxLine.js.map +1 -0
  81. package/lib/commonjs/icons/remix/RiPlantLine.js +12 -0
  82. package/lib/commonjs/icons/remix/RiPlantLine.js.map +1 -0
  83. package/lib/commonjs/icons/remix/RiSailboatLine.js +12 -0
  84. package/lib/commonjs/icons/remix/RiSailboatLine.js.map +1 -0
  85. package/lib/commonjs/icons/remix/RiShareLine.js +12 -0
  86. package/lib/commonjs/icons/remix/RiShareLine.js.map +1 -0
  87. package/lib/commonjs/icons/remix/RiShip2Line.js +12 -0
  88. package/lib/commonjs/icons/remix/RiShip2Line.js.map +1 -0
  89. package/lib/commonjs/icons/remix/RiSubtractLine.js +12 -0
  90. package/lib/commonjs/icons/remix/RiSubtractLine.js.map +1 -0
  91. package/lib/commonjs/icons/remix/RiTShirtAirLine.js +12 -0
  92. package/lib/commonjs/icons/remix/RiTShirtAirLine.js.map +1 -0
  93. package/lib/commonjs/icons/remix/RiTempColdLine.js +12 -0
  94. package/lib/commonjs/icons/remix/RiTempColdLine.js.map +1 -0
  95. package/lib/commonjs/icons/remix/RiTentLine.js +12 -0
  96. package/lib/commonjs/icons/remix/RiTentLine.js.map +1 -0
  97. package/lib/commonjs/icons/remix/RiTranslate2.js +12 -0
  98. package/lib/commonjs/icons/remix/RiTranslate2.js.map +1 -0
  99. package/lib/commonjs/icons/remix/RiTreeLine.js +12 -0
  100. package/lib/commonjs/icons/remix/RiTreeLine.js.map +1 -0
  101. package/lib/commonjs/icons/remix/RiTvLine.js +12 -0
  102. package/lib/commonjs/icons/remix/RiTvLine.js.map +1 -0
  103. package/lib/commonjs/icons/remix/RiWifiLine.js +12 -0
  104. package/lib/commonjs/icons/remix/RiWifiLine.js.map +1 -0
  105. package/lib/commonjs/icons/remix/index.js +189 -0
  106. package/lib/commonjs/icons/remix/index.js.map +1 -1
  107. package/lib/commonjs/index.js +333 -54
  108. package/lib/commonjs/index.js.map +1 -1
  109. package/lib/commonjs/index.web.js +333 -54
  110. package/lib/commonjs/index.web.js.map +1 -1
  111. package/lib/commonjs/listing-card/FavoriteButton.js +110 -0
  112. package/lib/commonjs/listing-card/FavoriteButton.js.map +1 -0
  113. package/lib/commonjs/listing-card/ListingCard.js +601 -0
  114. package/lib/commonjs/listing-card/ListingCard.js.map +1 -0
  115. package/lib/commonjs/listing-card/ListingCardGrid.js +70 -0
  116. package/lib/commonjs/listing-card/ListingCardGrid.js.map +1 -0
  117. package/lib/commonjs/listing-card/WishlistCard.js +201 -0
  118. package/lib/commonjs/listing-card/WishlistCard.js.map +1 -0
  119. package/lib/commonjs/listing-card/index.js +34 -0
  120. package/lib/commonjs/listing-card/index.js.map +1 -0
  121. package/lib/commonjs/listing-card/shared.js +179 -0
  122. package/lib/commonjs/listing-card/shared.js.map +1 -0
  123. package/lib/commonjs/listing-card/types.js +6 -0
  124. package/lib/commonjs/listing-card/types.js.map +1 -0
  125. package/lib/commonjs/listing-details/AmenityList.js +126 -0
  126. package/lib/commonjs/listing-details/AmenityList.js.map +1 -0
  127. package/lib/commonjs/listing-details/HostCard.js +274 -0
  128. package/lib/commonjs/listing-details/HostCard.js.map +1 -0
  129. package/lib/commonjs/listing-details/ListingHeader.js +262 -0
  130. package/lib/commonjs/listing-details/ListingHeader.js.map +1 -0
  131. package/lib/commonjs/listing-details/ListingHighlights.js +86 -0
  132. package/lib/commonjs/listing-details/ListingHighlights.js.map +1 -0
  133. package/lib/commonjs/listing-details/ListingPhotoGrid.js +295 -0
  134. package/lib/commonjs/listing-details/ListingPhotoGrid.js.map +1 -0
  135. package/lib/commonjs/listing-details/ListingSection.js +80 -0
  136. package/lib/commonjs/listing-details/ListingSection.js.map +1 -0
  137. package/lib/commonjs/listing-details/ReviewCard.js +269 -0
  138. package/lib/commonjs/listing-details/ReviewCard.js.map +1 -0
  139. package/lib/commonjs/listing-details/ReviewSummary.js +202 -0
  140. package/lib/commonjs/listing-details/ReviewSummary.js.map +1 -0
  141. package/lib/commonjs/listing-details/constants.js +21 -0
  142. package/lib/commonjs/listing-details/constants.js.map +1 -0
  143. package/lib/commonjs/listing-details/index.js +81 -0
  144. package/lib/commonjs/listing-details/index.js.map +1 -0
  145. package/lib/commonjs/listing-details/shared.js +105 -0
  146. package/lib/commonjs/listing-details/shared.js.map +1 -0
  147. package/lib/commonjs/listing-details/types.js +6 -0
  148. package/lib/commonjs/listing-details/types.js.map +1 -0
  149. package/lib/commonjs/listing-details/use-container-width.js +26 -0
  150. package/lib/commonjs/listing-details/use-container-width.js.map +1 -0
  151. package/lib/commonjs/map-marker/MapClusterMarker.js +98 -0
  152. package/lib/commonjs/map-marker/MapClusterMarker.js.map +1 -0
  153. package/lib/commonjs/map-marker/MapListingPreview.js +320 -0
  154. package/lib/commonjs/map-marker/MapListingPreview.js.map +1 -0
  155. package/lib/commonjs/map-marker/MapPriceMarker.js +116 -0
  156. package/lib/commonjs/map-marker/MapPriceMarker.js.map +1 -0
  157. package/lib/commonjs/map-marker/MapSearchAreaButton.js +127 -0
  158. package/lib/commonjs/map-marker/MapSearchAreaButton.js.map +1 -0
  159. package/lib/commonjs/map-marker/index.js +34 -0
  160. package/lib/commonjs/map-marker/index.js.map +1 -0
  161. package/lib/commonjs/map-marker/shared.js +92 -0
  162. package/lib/commonjs/map-marker/shared.js.map +1 -0
  163. package/lib/commonjs/map-marker/types.js +6 -0
  164. package/lib/commonjs/map-marker/types.js.map +1 -0
  165. package/lib/commonjs/rating/Rating.js +103 -0
  166. package/lib/commonjs/rating/Rating.js.map +1 -0
  167. package/lib/commonjs/rating/RatingBar.js +109 -0
  168. package/lib/commonjs/rating/RatingBar.js.map +1 -0
  169. package/lib/commonjs/rating/index.js +20 -0
  170. package/lib/commonjs/rating/index.js.map +1 -0
  171. package/lib/commonjs/rating/types.js +6 -0
  172. package/lib/commonjs/rating/types.js.map +1 -0
  173. package/lib/commonjs/sidebar/Sidebar.js +51 -17
  174. package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
  175. package/lib/commonjs/sidebar/SidebarLogoView.js +124 -0
  176. package/lib/commonjs/sidebar/SidebarLogoView.js.map +1 -0
  177. package/lib/commonjs/sidebar/SidebarRail.js +16 -2
  178. package/lib/commonjs/sidebar/SidebarRail.js.map +1 -1
  179. package/lib/commonjs/stay-filters/AmenityFilter.js +61 -0
  180. package/lib/commonjs/stay-filters/AmenityFilter.js.map +1 -0
  181. package/lib/commonjs/stay-filters/CountFilter.js +101 -0
  182. package/lib/commonjs/stay-filters/CountFilter.js.map +1 -0
  183. package/lib/commonjs/stay-filters/FilterChip.js +156 -0
  184. package/lib/commonjs/stay-filters/FilterChip.js.map +1 -0
  185. package/lib/commonjs/stay-filters/FilterFooter.js +77 -0
  186. package/lib/commonjs/stay-filters/FilterFooter.js.map +1 -0
  187. package/lib/commonjs/stay-filters/FilterSection.js +80 -0
  188. package/lib/commonjs/stay-filters/FilterSection.js.map +1 -0
  189. package/lib/commonjs/stay-filters/FilterTextButton.js +116 -0
  190. package/lib/commonjs/stay-filters/FilterTextButton.js.map +1 -0
  191. package/lib/commonjs/stay-filters/FilterTriggerButton.js +60 -0
  192. package/lib/commonjs/stay-filters/FilterTriggerButton.js.map +1 -0
  193. package/lib/commonjs/stay-filters/PriceHistogram.js +88 -0
  194. package/lib/commonjs/stay-filters/PriceHistogram.js.map +1 -0
  195. package/lib/commonjs/stay-filters/PriceRangeFilter.js +152 -0
  196. package/lib/commonjs/stay-filters/PriceRangeFilter.js.map +1 -0
  197. package/lib/commonjs/stay-filters/SegmentedFilter.js +44 -0
  198. package/lib/commonjs/stay-filters/SegmentedFilter.js.map +1 -0
  199. package/lib/commonjs/stay-filters/SwitchFilterRow.js +70 -0
  200. package/lib/commonjs/stay-filters/SwitchFilterRow.js.map +1 -0
  201. package/lib/commonjs/stay-filters/ToggleChipGroup.js +59 -0
  202. package/lib/commonjs/stay-filters/ToggleChipGroup.js.map +1 -0
  203. package/lib/commonjs/stay-filters/index.js +76 -0
  204. package/lib/commonjs/stay-filters/index.js.map +1 -0
  205. package/lib/commonjs/stay-filters/types.js +6 -0
  206. package/lib/commonjs/stay-filters/types.js.map +1 -0
  207. package/lib/commonjs/stay-search/DateFlexibilityChips.js +54 -0
  208. package/lib/commonjs/stay-search/DateFlexibilityChips.js.map +1 -0
  209. package/lib/commonjs/stay-search/DestinationSuggestions.js +178 -0
  210. package/lib/commonjs/stay-search/DestinationSuggestions.js.map +1 -0
  211. package/lib/commonjs/stay-search/GuestPicker.js +105 -0
  212. package/lib/commonjs/stay-search/GuestPicker.js.map +1 -0
  213. package/lib/commonjs/stay-search/StaySearchBar.js +347 -0
  214. package/lib/commonjs/stay-search/StaySearchBar.js.map +1 -0
  215. package/lib/commonjs/stay-search/StaySearchCompact.js +143 -0
  216. package/lib/commonjs/stay-search/StaySearchCompact.js.map +1 -0
  217. package/lib/commonjs/stay-search/StaySearchPanel.js +52 -0
  218. package/lib/commonjs/stay-search/StaySearchPanel.js.map +1 -0
  219. package/lib/commonjs/stay-search/StaySearchStep.js +136 -0
  220. package/lib/commonjs/stay-search/StaySearchStep.js.map +1 -0
  221. package/lib/commonjs/stay-search/constants.js +67 -0
  222. package/lib/commonjs/stay-search/constants.js.map +1 -0
  223. package/lib/commonjs/stay-search/context.js +20 -0
  224. package/lib/commonjs/stay-search/context.js.map +1 -0
  225. package/lib/commonjs/stay-search/guests.js +30 -0
  226. package/lib/commonjs/stay-search/guests.js.map +1 -0
  227. package/lib/commonjs/stay-search/index.js +68 -0
  228. package/lib/commonjs/stay-search/index.js.map +1 -0
  229. package/lib/commonjs/stay-search/palette.js +77 -0
  230. package/lib/commonjs/stay-search/palette.js.map +1 -0
  231. package/lib/commonjs/stay-search/types.js +6 -0
  232. package/lib/commonjs/stay-search/types.js.map +1 -0
  233. package/lib/commonjs/stepper/Stepper.js +220 -0
  234. package/lib/commonjs/stepper/Stepper.js.map +1 -0
  235. package/lib/commonjs/stepper/StepperRow.js +76 -0
  236. package/lib/commonjs/stepper/StepperRow.js.map +1 -0
  237. package/lib/commonjs/stepper/index.js +20 -0
  238. package/lib/commonjs/stepper/index.js.map +1 -0
  239. package/lib/commonjs/stepper/types.js +6 -0
  240. package/lib/commonjs/stepper/types.js.map +1 -0
  241. package/lib/module/app-shell/AppShell.js +249 -157
  242. package/lib/module/app-shell/AppShell.js.map +1 -1
  243. package/lib/module/app-shell/AppShellHeader.js +2 -2
  244. package/lib/module/app-shell/AppShellHeader.js.map +1 -1
  245. package/lib/module/app-shell/AppShellMenuButton.js +35 -0
  246. package/lib/module/app-shell/AppShellMenuButton.js.map +1 -0
  247. package/lib/module/app-shell/context.js +23 -0
  248. package/lib/module/app-shell/context.js.map +1 -0
  249. package/lib/module/app-shell/index.js +2 -0
  250. package/lib/module/app-shell/index.js.map +1 -1
  251. package/lib/module/booking/BookingBar.js +104 -0
  252. package/lib/module/booking/BookingBar.js.map +1 -0
  253. package/lib/module/booking/BookingCard.js +363 -0
  254. package/lib/module/booking/BookingCard.js.map +1 -0
  255. package/lib/module/booking/BookingLink.js +85 -0
  256. package/lib/module/booking/BookingLink.js.map +1 -0
  257. package/lib/module/booking/BookingPrice.js +70 -0
  258. package/lib/module/booking/BookingPrice.js.map +1 -0
  259. package/lib/module/booking/PriceBreakdown.js +127 -0
  260. package/lib/module/booking/PriceBreakdown.js.map +1 -0
  261. package/lib/module/booking/TripCard.js +220 -0
  262. package/lib/module/booking/TripCard.js.map +1 -0
  263. package/lib/module/booking/constants.js +22 -0
  264. package/lib/module/booking/constants.js.map +1 -0
  265. package/lib/module/booking/index.js +8 -0
  266. package/lib/module/booking/index.js.map +1 -0
  267. package/lib/module/booking/shared.js +95 -0
  268. package/lib/module/booking/shared.js.map +1 -0
  269. package/lib/module/booking/types.js +4 -0
  270. package/lib/module/booking/types.js.map +1 -0
  271. package/lib/module/category-bar/CategoryBar.js +490 -0
  272. package/lib/module/category-bar/CategoryBar.js.map +1 -0
  273. package/lib/module/category-bar/index.js +4 -0
  274. package/lib/module/category-bar/index.js.map +1 -0
  275. package/lib/module/category-bar/types.js +4 -0
  276. package/lib/module/category-bar/types.js.map +1 -0
  277. package/lib/module/dialog/DialogBottomSheet.js +14 -0
  278. package/lib/module/dialog/DialogBottomSheet.js.map +1 -1
  279. package/lib/module/icons/remix/RiAncientGateLine.js +9 -0
  280. package/lib/module/icons/remix/RiAncientGateLine.js.map +1 -0
  281. package/lib/module/icons/remix/RiAncientPavilionLine.js +9 -0
  282. package/lib/module/icons/remix/RiAncientPavilionLine.js.map +1 -0
  283. package/lib/module/icons/remix/RiBikeLine.js +9 -0
  284. package/lib/module/icons/remix/RiBikeLine.js.map +1 -0
  285. package/lib/module/icons/remix/RiBriefcase4Line.js +9 -0
  286. package/lib/module/icons/remix/RiBriefcase4Line.js.map +1 -0
  287. package/lib/module/icons/remix/RiCactusLine.js +9 -0
  288. package/lib/module/icons/remix/RiCactusLine.js.map +1 -0
  289. package/lib/module/icons/remix/RiCalendarCloseLine.js +9 -0
  290. package/lib/module/icons/remix/RiCalendarCloseLine.js.map +1 -0
  291. package/lib/module/icons/remix/RiDoorOpenLine.js +9 -0
  292. package/lib/module/icons/remix/RiDoorOpenLine.js.map +1 -0
  293. package/lib/module/icons/remix/RiFridgeLine.js +9 -0
  294. package/lib/module/icons/remix/RiFridgeLine.js.map +1 -0
  295. package/lib/module/icons/remix/RiGolfBallLine.js +9 -0
  296. package/lib/module/icons/remix/RiGolfBallLine.js.map +1 -0
  297. package/lib/module/icons/remix/RiHeart3Fill.js +9 -0
  298. package/lib/module/icons/remix/RiHeart3Fill.js.map +1 -0
  299. package/lib/module/icons/remix/RiHeart3Line.js +9 -0
  300. package/lib/module/icons/remix/RiHeart3Line.js.map +1 -0
  301. package/lib/module/icons/remix/RiLandscapeLine.js +9 -0
  302. package/lib/module/icons/remix/RiLandscapeLine.js.map +1 -0
  303. package/lib/module/icons/remix/RiMapPin2Line.js +9 -0
  304. package/lib/module/icons/remix/RiMapPin2Line.js.map +1 -0
  305. package/lib/module/icons/remix/RiMedalLine.js +9 -0
  306. package/lib/module/icons/remix/RiMedalLine.js.map +1 -0
  307. package/lib/module/icons/remix/RiParkingBoxLine.js +9 -0
  308. package/lib/module/icons/remix/RiParkingBoxLine.js.map +1 -0
  309. package/lib/module/icons/remix/RiPlantLine.js +9 -0
  310. package/lib/module/icons/remix/RiPlantLine.js.map +1 -0
  311. package/lib/module/icons/remix/RiSailboatLine.js +9 -0
  312. package/lib/module/icons/remix/RiSailboatLine.js.map +1 -0
  313. package/lib/module/icons/remix/RiShareLine.js +9 -0
  314. package/lib/module/icons/remix/RiShareLine.js.map +1 -0
  315. package/lib/module/icons/remix/RiShip2Line.js +9 -0
  316. package/lib/module/icons/remix/RiShip2Line.js.map +1 -0
  317. package/lib/module/icons/remix/RiSubtractLine.js +9 -0
  318. package/lib/module/icons/remix/RiSubtractLine.js.map +1 -0
  319. package/lib/module/icons/remix/RiTShirtAirLine.js +9 -0
  320. package/lib/module/icons/remix/RiTShirtAirLine.js.map +1 -0
  321. package/lib/module/icons/remix/RiTempColdLine.js +9 -0
  322. package/lib/module/icons/remix/RiTempColdLine.js.map +1 -0
  323. package/lib/module/icons/remix/RiTentLine.js +9 -0
  324. package/lib/module/icons/remix/RiTentLine.js.map +1 -0
  325. package/lib/module/icons/remix/RiTranslate2.js +9 -0
  326. package/lib/module/icons/remix/RiTranslate2.js.map +1 -0
  327. package/lib/module/icons/remix/RiTreeLine.js +9 -0
  328. package/lib/module/icons/remix/RiTreeLine.js.map +1 -0
  329. package/lib/module/icons/remix/RiTvLine.js +9 -0
  330. package/lib/module/icons/remix/RiTvLine.js.map +1 -0
  331. package/lib/module/icons/remix/RiWifiLine.js +9 -0
  332. package/lib/module/icons/remix/RiWifiLine.js.map +1 -0
  333. package/lib/module/icons/remix/index.js +27 -0
  334. package/lib/module/icons/remix/index.js.map +1 -1
  335. package/lib/module/index.js +10 -0
  336. package/lib/module/index.js.map +1 -1
  337. package/lib/module/index.web.js +10 -0
  338. package/lib/module/index.web.js.map +1 -1
  339. package/lib/module/listing-card/FavoriteButton.js +105 -0
  340. package/lib/module/listing-card/FavoriteButton.js.map +1 -0
  341. package/lib/module/listing-card/ListingCard.js +596 -0
  342. package/lib/module/listing-card/ListingCard.js.map +1 -0
  343. package/lib/module/listing-card/ListingCardGrid.js +65 -0
  344. package/lib/module/listing-card/ListingCardGrid.js.map +1 -0
  345. package/lib/module/listing-card/WishlistCard.js +196 -0
  346. package/lib/module/listing-card/WishlistCard.js.map +1 -0
  347. package/lib/module/listing-card/index.js +7 -0
  348. package/lib/module/listing-card/index.js.map +1 -0
  349. package/lib/module/listing-card/shared.js +169 -0
  350. package/lib/module/listing-card/shared.js.map +1 -0
  351. package/lib/module/listing-card/types.js +4 -0
  352. package/lib/module/listing-card/types.js.map +1 -0
  353. package/lib/module/listing-details/AmenityList.js +123 -0
  354. package/lib/module/listing-details/AmenityList.js.map +1 -0
  355. package/lib/module/listing-details/HostCard.js +269 -0
  356. package/lib/module/listing-details/HostCard.js.map +1 -0
  357. package/lib/module/listing-details/ListingHeader.js +259 -0
  358. package/lib/module/listing-details/ListingHeader.js.map +1 -0
  359. package/lib/module/listing-details/ListingHighlights.js +81 -0
  360. package/lib/module/listing-details/ListingHighlights.js.map +1 -0
  361. package/lib/module/listing-details/ListingPhotoGrid.js +292 -0
  362. package/lib/module/listing-details/ListingPhotoGrid.js.map +1 -0
  363. package/lib/module/listing-details/ListingSection.js +75 -0
  364. package/lib/module/listing-details/ListingSection.js.map +1 -0
  365. package/lib/module/listing-details/ReviewCard.js +264 -0
  366. package/lib/module/listing-details/ReviewCard.js.map +1 -0
  367. package/lib/module/listing-details/ReviewSummary.js +199 -0
  368. package/lib/module/listing-details/ReviewSummary.js.map +1 -0
  369. package/lib/module/listing-details/constants.js +17 -0
  370. package/lib/module/listing-details/constants.js.map +1 -0
  371. package/lib/module/listing-details/index.js +12 -0
  372. package/lib/module/listing-details/index.js.map +1 -0
  373. package/lib/module/listing-details/shared.js +97 -0
  374. package/lib/module/listing-details/shared.js.map +1 -0
  375. package/lib/module/listing-details/types.js +4 -0
  376. package/lib/module/listing-details/types.js.map +1 -0
  377. package/lib/module/listing-details/use-container-width.js +22 -0
  378. package/lib/module/listing-details/use-container-width.js.map +1 -0
  379. package/lib/module/map-marker/MapClusterMarker.js +93 -0
  380. package/lib/module/map-marker/MapClusterMarker.js.map +1 -0
  381. package/lib/module/map-marker/MapListingPreview.js +315 -0
  382. package/lib/module/map-marker/MapListingPreview.js.map +1 -0
  383. package/lib/module/map-marker/MapPriceMarker.js +111 -0
  384. package/lib/module/map-marker/MapPriceMarker.js.map +1 -0
  385. package/lib/module/map-marker/MapSearchAreaButton.js +122 -0
  386. package/lib/module/map-marker/MapSearchAreaButton.js.map +1 -0
  387. package/lib/module/map-marker/index.js +7 -0
  388. package/lib/module/map-marker/index.js.map +1 -0
  389. package/lib/module/map-marker/shared.js +85 -0
  390. package/lib/module/map-marker/shared.js.map +1 -0
  391. package/lib/module/map-marker/types.js +4 -0
  392. package/lib/module/map-marker/types.js.map +1 -0
  393. package/lib/module/rating/Rating.js +97 -0
  394. package/lib/module/rating/Rating.js.map +1 -0
  395. package/lib/module/rating/RatingBar.js +104 -0
  396. package/lib/module/rating/RatingBar.js.map +1 -0
  397. package/lib/module/rating/index.js +5 -0
  398. package/lib/module/rating/index.js.map +1 -0
  399. package/lib/module/rating/types.js +4 -0
  400. package/lib/module/rating/types.js.map +1 -0
  401. package/lib/module/sidebar/Sidebar.js +51 -17
  402. package/lib/module/sidebar/Sidebar.js.map +1 -1
  403. package/lib/module/sidebar/SidebarLogoView.js +119 -0
  404. package/lib/module/sidebar/SidebarLogoView.js.map +1 -0
  405. package/lib/module/sidebar/SidebarRail.js +16 -2
  406. package/lib/module/sidebar/SidebarRail.js.map +1 -1
  407. package/lib/module/stay-filters/AmenityFilter.js +56 -0
  408. package/lib/module/stay-filters/AmenityFilter.js.map +1 -0
  409. package/lib/module/stay-filters/CountFilter.js +96 -0
  410. package/lib/module/stay-filters/CountFilter.js.map +1 -0
  411. package/lib/module/stay-filters/FilterChip.js +151 -0
  412. package/lib/module/stay-filters/FilterChip.js.map +1 -0
  413. package/lib/module/stay-filters/FilterFooter.js +72 -0
  414. package/lib/module/stay-filters/FilterFooter.js.map +1 -0
  415. package/lib/module/stay-filters/FilterSection.js +75 -0
  416. package/lib/module/stay-filters/FilterSection.js.map +1 -0
  417. package/lib/module/stay-filters/FilterTextButton.js +113 -0
  418. package/lib/module/stay-filters/FilterTextButton.js.map +1 -0
  419. package/lib/module/stay-filters/FilterTriggerButton.js +55 -0
  420. package/lib/module/stay-filters/FilterTriggerButton.js.map +1 -0
  421. package/lib/module/stay-filters/PriceHistogram.js +82 -0
  422. package/lib/module/stay-filters/PriceHistogram.js.map +1 -0
  423. package/lib/module/stay-filters/PriceRangeFilter.js +146 -0
  424. package/lib/module/stay-filters/PriceRangeFilter.js.map +1 -0
  425. package/lib/module/stay-filters/SegmentedFilter.js +39 -0
  426. package/lib/module/stay-filters/SegmentedFilter.js.map +1 -0
  427. package/lib/module/stay-filters/SwitchFilterRow.js +65 -0
  428. package/lib/module/stay-filters/SwitchFilterRow.js.map +1 -0
  429. package/lib/module/stay-filters/ToggleChipGroup.js +54 -0
  430. package/lib/module/stay-filters/ToggleChipGroup.js.map +1 -0
  431. package/lib/module/stay-filters/index.js +13 -0
  432. package/lib/module/stay-filters/index.js.map +1 -0
  433. package/lib/module/stay-filters/types.js +4 -0
  434. package/lib/module/stay-filters/types.js.map +1 -0
  435. package/lib/module/stay-search/DateFlexibilityChips.js +49 -0
  436. package/lib/module/stay-search/DateFlexibilityChips.js.map +1 -0
  437. package/lib/module/stay-search/DestinationSuggestions.js +173 -0
  438. package/lib/module/stay-search/DestinationSuggestions.js.map +1 -0
  439. package/lib/module/stay-search/GuestPicker.js +100 -0
  440. package/lib/module/stay-search/GuestPicker.js.map +1 -0
  441. package/lib/module/stay-search/StaySearchBar.js +342 -0
  442. package/lib/module/stay-search/StaySearchBar.js.map +1 -0
  443. package/lib/module/stay-search/StaySearchCompact.js +138 -0
  444. package/lib/module/stay-search/StaySearchCompact.js.map +1 -0
  445. package/lib/module/stay-search/StaySearchPanel.js +47 -0
  446. package/lib/module/stay-search/StaySearchPanel.js.map +1 -0
  447. package/lib/module/stay-search/StaySearchStep.js +131 -0
  448. package/lib/module/stay-search/StaySearchStep.js.map +1 -0
  449. package/lib/module/stay-search/constants.js +63 -0
  450. package/lib/module/stay-search/constants.js.map +1 -0
  451. package/lib/module/stay-search/context.js +16 -0
  452. package/lib/module/stay-search/context.js.map +1 -0
  453. package/lib/module/stay-search/guests.js +25 -0
  454. package/lib/module/stay-search/guests.js.map +1 -0
  455. package/lib/module/stay-search/index.js +11 -0
  456. package/lib/module/stay-search/index.js.map +1 -0
  457. package/lib/module/stay-search/palette.js +72 -0
  458. package/lib/module/stay-search/palette.js.map +1 -0
  459. package/lib/module/stay-search/types.js +4 -0
  460. package/lib/module/stay-search/types.js.map +1 -0
  461. package/lib/module/stepper/Stepper.js +215 -0
  462. package/lib/module/stepper/Stepper.js.map +1 -0
  463. package/lib/module/stepper/StepperRow.js +71 -0
  464. package/lib/module/stepper/StepperRow.js.map +1 -0
  465. package/lib/module/stepper/index.js +5 -0
  466. package/lib/module/stepper/index.js.map +1 -0
  467. package/lib/module/stepper/types.js +4 -0
  468. package/lib/module/stepper/types.js.map +1 -0
  469. package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/app-shell/AppShellHeader.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/app-shell/AppShellMenuButton.d.ts +4 -0
  472. package/lib/typescript/commonjs/app-shell/AppShellMenuButton.d.ts.map +1 -0
  473. package/lib/typescript/commonjs/app-shell/context.d.ts +18 -0
  474. package/lib/typescript/commonjs/app-shell/context.d.ts.map +1 -0
  475. package/lib/typescript/commonjs/app-shell/index.d.ts +4 -1
  476. package/lib/typescript/commonjs/app-shell/index.d.ts.map +1 -1
  477. package/lib/typescript/commonjs/app-shell/types.d.ts +41 -11
  478. package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/booking/BookingBar.d.ts +21 -0
  480. package/lib/typescript/commonjs/booking/BookingBar.d.ts.map +1 -0
  481. package/lib/typescript/commonjs/booking/BookingCard.d.ts +6 -0
  482. package/lib/typescript/commonjs/booking/BookingCard.d.ts.map +1 -0
  483. package/lib/typescript/commonjs/booking/BookingLink.d.ts +27 -0
  484. package/lib/typescript/commonjs/booking/BookingLink.d.ts.map +1 -0
  485. package/lib/typescript/commonjs/booking/BookingPrice.d.ts +20 -0
  486. package/lib/typescript/commonjs/booking/BookingPrice.d.ts.map +1 -0
  487. package/lib/typescript/commonjs/booking/PriceBreakdown.d.ts +6 -0
  488. package/lib/typescript/commonjs/booking/PriceBreakdown.d.ts.map +1 -0
  489. package/lib/typescript/commonjs/booking/TripCard.d.ts +28 -0
  490. package/lib/typescript/commonjs/booking/TripCard.d.ts.map +1 -0
  491. package/lib/typescript/commonjs/booking/constants.d.ts +8 -0
  492. package/lib/typescript/commonjs/booking/constants.d.ts.map +1 -0
  493. package/lib/typescript/commonjs/booking/index.d.ts +7 -0
  494. package/lib/typescript/commonjs/booking/index.d.ts.map +1 -0
  495. package/lib/typescript/commonjs/booking/shared.d.ts +35 -0
  496. package/lib/typescript/commonjs/booking/shared.d.ts.map +1 -0
  497. package/lib/typescript/commonjs/booking/types.d.ts +149 -0
  498. package/lib/typescript/commonjs/booking/types.d.ts.map +1 -0
  499. package/lib/typescript/commonjs/category-bar/CategoryBar.d.ts +36 -0
  500. package/lib/typescript/commonjs/category-bar/CategoryBar.d.ts.map +1 -0
  501. package/lib/typescript/commonjs/category-bar/index.d.ts +3 -0
  502. package/lib/typescript/commonjs/category-bar/index.d.ts.map +1 -0
  503. package/lib/typescript/commonjs/category-bar/types.d.ts +44 -0
  504. package/lib/typescript/commonjs/category-bar/types.d.ts.map +1 -0
  505. package/lib/typescript/commonjs/dialog/DialogBottomSheet.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/icons/remix/RiAncientGateLine.d.ts +8 -0
  507. package/lib/typescript/commonjs/icons/remix/RiAncientGateLine.d.ts.map +1 -0
  508. package/lib/typescript/commonjs/icons/remix/RiAncientPavilionLine.d.ts +8 -0
  509. package/lib/typescript/commonjs/icons/remix/RiAncientPavilionLine.d.ts.map +1 -0
  510. package/lib/typescript/commonjs/icons/remix/RiBikeLine.d.ts +8 -0
  511. package/lib/typescript/commonjs/icons/remix/RiBikeLine.d.ts.map +1 -0
  512. package/lib/typescript/commonjs/icons/remix/RiBriefcase4Line.d.ts +8 -0
  513. package/lib/typescript/commonjs/icons/remix/RiBriefcase4Line.d.ts.map +1 -0
  514. package/lib/typescript/commonjs/icons/remix/RiCactusLine.d.ts +8 -0
  515. package/lib/typescript/commonjs/icons/remix/RiCactusLine.d.ts.map +1 -0
  516. package/lib/typescript/commonjs/icons/remix/RiCalendarCloseLine.d.ts +8 -0
  517. package/lib/typescript/commonjs/icons/remix/RiCalendarCloseLine.d.ts.map +1 -0
  518. package/lib/typescript/commonjs/icons/remix/RiDoorOpenLine.d.ts +8 -0
  519. package/lib/typescript/commonjs/icons/remix/RiDoorOpenLine.d.ts.map +1 -0
  520. package/lib/typescript/commonjs/icons/remix/RiFridgeLine.d.ts +8 -0
  521. package/lib/typescript/commonjs/icons/remix/RiFridgeLine.d.ts.map +1 -0
  522. package/lib/typescript/commonjs/icons/remix/RiGolfBallLine.d.ts +8 -0
  523. package/lib/typescript/commonjs/icons/remix/RiGolfBallLine.d.ts.map +1 -0
  524. package/lib/typescript/commonjs/icons/remix/RiHeart3Fill.d.ts +8 -0
  525. package/lib/typescript/commonjs/icons/remix/RiHeart3Fill.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/icons/remix/RiHeart3Line.d.ts +8 -0
  527. package/lib/typescript/commonjs/icons/remix/RiHeart3Line.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/icons/remix/RiLandscapeLine.d.ts +8 -0
  529. package/lib/typescript/commonjs/icons/remix/RiLandscapeLine.d.ts.map +1 -0
  530. package/lib/typescript/commonjs/icons/remix/RiMapPin2Line.d.ts +8 -0
  531. package/lib/typescript/commonjs/icons/remix/RiMapPin2Line.d.ts.map +1 -0
  532. package/lib/typescript/commonjs/icons/remix/RiMedalLine.d.ts +8 -0
  533. package/lib/typescript/commonjs/icons/remix/RiMedalLine.d.ts.map +1 -0
  534. package/lib/typescript/commonjs/icons/remix/RiParkingBoxLine.d.ts +8 -0
  535. package/lib/typescript/commonjs/icons/remix/RiParkingBoxLine.d.ts.map +1 -0
  536. package/lib/typescript/commonjs/icons/remix/RiPlantLine.d.ts +8 -0
  537. package/lib/typescript/commonjs/icons/remix/RiPlantLine.d.ts.map +1 -0
  538. package/lib/typescript/commonjs/icons/remix/RiSailboatLine.d.ts +8 -0
  539. package/lib/typescript/commonjs/icons/remix/RiSailboatLine.d.ts.map +1 -0
  540. package/lib/typescript/commonjs/icons/remix/RiShareLine.d.ts +8 -0
  541. package/lib/typescript/commonjs/icons/remix/RiShareLine.d.ts.map +1 -0
  542. package/lib/typescript/commonjs/icons/remix/RiShip2Line.d.ts +8 -0
  543. package/lib/typescript/commonjs/icons/remix/RiShip2Line.d.ts.map +1 -0
  544. package/lib/typescript/commonjs/icons/remix/RiSubtractLine.d.ts +8 -0
  545. package/lib/typescript/commonjs/icons/remix/RiSubtractLine.d.ts.map +1 -0
  546. package/lib/typescript/commonjs/icons/remix/RiTShirtAirLine.d.ts +8 -0
  547. package/lib/typescript/commonjs/icons/remix/RiTShirtAirLine.d.ts.map +1 -0
  548. package/lib/typescript/commonjs/icons/remix/RiTempColdLine.d.ts +8 -0
  549. package/lib/typescript/commonjs/icons/remix/RiTempColdLine.d.ts.map +1 -0
  550. package/lib/typescript/commonjs/icons/remix/RiTentLine.d.ts +8 -0
  551. package/lib/typescript/commonjs/icons/remix/RiTentLine.d.ts.map +1 -0
  552. package/lib/typescript/commonjs/icons/remix/RiTranslate2.d.ts +8 -0
  553. package/lib/typescript/commonjs/icons/remix/RiTranslate2.d.ts.map +1 -0
  554. package/lib/typescript/commonjs/icons/remix/RiTreeLine.d.ts +8 -0
  555. package/lib/typescript/commonjs/icons/remix/RiTreeLine.d.ts.map +1 -0
  556. package/lib/typescript/commonjs/icons/remix/RiTvLine.d.ts +8 -0
  557. package/lib/typescript/commonjs/icons/remix/RiTvLine.d.ts.map +1 -0
  558. package/lib/typescript/commonjs/icons/remix/RiWifiLine.d.ts +8 -0
  559. package/lib/typescript/commonjs/icons/remix/RiWifiLine.d.ts.map +1 -0
  560. package/lib/typescript/commonjs/icons/remix/index.d.ts +27 -0
  561. package/lib/typescript/commonjs/icons/remix/index.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/index.d.ts +17 -0
  563. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/index.web.d.ts +17 -0
  565. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/listing-card/FavoriteButton.d.ts +21 -0
  567. package/lib/typescript/commonjs/listing-card/FavoriteButton.d.ts.map +1 -0
  568. package/lib/typescript/commonjs/listing-card/ListingCard.d.ts +6 -0
  569. package/lib/typescript/commonjs/listing-card/ListingCard.d.ts.map +1 -0
  570. package/lib/typescript/commonjs/listing-card/ListingCardGrid.d.ts +23 -0
  571. package/lib/typescript/commonjs/listing-card/ListingCardGrid.d.ts.map +1 -0
  572. package/lib/typescript/commonjs/listing-card/WishlistCard.d.ts +6 -0
  573. package/lib/typescript/commonjs/listing-card/WishlistCard.d.ts.map +1 -0
  574. package/lib/typescript/commonjs/listing-card/index.d.ts +6 -0
  575. package/lib/typescript/commonjs/listing-card/index.d.ts.map +1 -0
  576. package/lib/typescript/commonjs/listing-card/shared.d.ts +67 -0
  577. package/lib/typescript/commonjs/listing-card/shared.d.ts.map +1 -0
  578. package/lib/typescript/commonjs/listing-card/types.d.ts +129 -0
  579. package/lib/typescript/commonjs/listing-card/types.d.ts.map +1 -0
  580. package/lib/typescript/commonjs/listing-details/AmenityList.d.ts +6 -0
  581. package/lib/typescript/commonjs/listing-details/AmenityList.d.ts.map +1 -0
  582. package/lib/typescript/commonjs/listing-details/HostCard.d.ts +22 -0
  583. package/lib/typescript/commonjs/listing-details/HostCard.d.ts.map +1 -0
  584. package/lib/typescript/commonjs/listing-details/ListingHeader.d.ts +8 -0
  585. package/lib/typescript/commonjs/listing-details/ListingHeader.d.ts.map +1 -0
  586. package/lib/typescript/commonjs/listing-details/ListingHighlights.d.ts +14 -0
  587. package/lib/typescript/commonjs/listing-details/ListingHighlights.d.ts.map +1 -0
  588. package/lib/typescript/commonjs/listing-details/ListingPhotoGrid.d.ts +6 -0
  589. package/lib/typescript/commonjs/listing-details/ListingPhotoGrid.d.ts.map +1 -0
  590. package/lib/typescript/commonjs/listing-details/ListingSection.d.ts +15 -0
  591. package/lib/typescript/commonjs/listing-details/ListingSection.d.ts.map +1 -0
  592. package/lib/typescript/commonjs/listing-details/ReviewCard.d.ts +6 -0
  593. package/lib/typescript/commonjs/listing-details/ReviewCard.d.ts.map +1 -0
  594. package/lib/typescript/commonjs/listing-details/ReviewSummary.d.ts +6 -0
  595. package/lib/typescript/commonjs/listing-details/ReviewSummary.d.ts.map +1 -0
  596. package/lib/typescript/commonjs/listing-details/constants.d.ts +15 -0
  597. package/lib/typescript/commonjs/listing-details/constants.d.ts.map +1 -0
  598. package/lib/typescript/commonjs/listing-details/index.d.ts +11 -0
  599. package/lib/typescript/commonjs/listing-details/index.d.ts.map +1 -0
  600. package/lib/typescript/commonjs/listing-details/shared.d.ts +42 -0
  601. package/lib/typescript/commonjs/listing-details/shared.d.ts.map +1 -0
  602. package/lib/typescript/commonjs/listing-details/types.d.ts +238 -0
  603. package/lib/typescript/commonjs/listing-details/types.d.ts.map +1 -0
  604. package/lib/typescript/commonjs/listing-details/use-container-width.d.ts +13 -0
  605. package/lib/typescript/commonjs/listing-details/use-container-width.d.ts.map +1 -0
  606. package/lib/typescript/commonjs/map-marker/MapClusterMarker.d.ts +6 -0
  607. package/lib/typescript/commonjs/map-marker/MapClusterMarker.d.ts.map +1 -0
  608. package/lib/typescript/commonjs/map-marker/MapListingPreview.d.ts +6 -0
  609. package/lib/typescript/commonjs/map-marker/MapListingPreview.d.ts.map +1 -0
  610. package/lib/typescript/commonjs/map-marker/MapPriceMarker.d.ts +6 -0
  611. package/lib/typescript/commonjs/map-marker/MapPriceMarker.d.ts.map +1 -0
  612. package/lib/typescript/commonjs/map-marker/MapSearchAreaButton.d.ts +6 -0
  613. package/lib/typescript/commonjs/map-marker/MapSearchAreaButton.d.ts.map +1 -0
  614. package/lib/typescript/commonjs/map-marker/index.d.ts +6 -0
  615. package/lib/typescript/commonjs/map-marker/index.d.ts.map +1 -0
  616. package/lib/typescript/commonjs/map-marker/shared.d.ts +30 -0
  617. package/lib/typescript/commonjs/map-marker/shared.d.ts.map +1 -0
  618. package/lib/typescript/commonjs/map-marker/types.d.ts +94 -0
  619. package/lib/typescript/commonjs/map-marker/types.d.ts.map +1 -0
  620. package/lib/typescript/commonjs/rating/Rating.d.ts +8 -0
  621. package/lib/typescript/commonjs/rating/Rating.d.ts.map +1 -0
  622. package/lib/typescript/commonjs/rating/RatingBar.d.ts +6 -0
  623. package/lib/typescript/commonjs/rating/RatingBar.d.ts.map +1 -0
  624. package/lib/typescript/commonjs/rating/index.d.ts +4 -0
  625. package/lib/typescript/commonjs/rating/index.d.ts.map +1 -0
  626. package/lib/typescript/commonjs/rating/types.d.ts +49 -0
  627. package/lib/typescript/commonjs/rating/types.d.ts.map +1 -0
  628. package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
  629. package/lib/typescript/commonjs/sidebar/SidebarLogoView.d.ts +6 -0
  630. package/lib/typescript/commonjs/sidebar/SidebarLogoView.d.ts.map +1 -0
  631. package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts +3 -2
  632. package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts.map +1 -1
  633. package/lib/typescript/commonjs/sidebar/index.d.ts +1 -1
  634. package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
  635. package/lib/typescript/commonjs/sidebar/types.d.ts +36 -0
  636. package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
  637. package/lib/typescript/commonjs/stay-filters/AmenityFilter.d.ts +15 -0
  638. package/lib/typescript/commonjs/stay-filters/AmenityFilter.d.ts.map +1 -0
  639. package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts +21 -0
  640. package/lib/typescript/commonjs/stay-filters/CountFilter.d.ts.map +1 -0
  641. package/lib/typescript/commonjs/stay-filters/FilterChip.d.ts +17 -0
  642. package/lib/typescript/commonjs/stay-filters/FilterChip.d.ts.map +1 -0
  643. package/lib/typescript/commonjs/stay-filters/FilterFooter.d.ts +19 -0
  644. package/lib/typescript/commonjs/stay-filters/FilterFooter.d.ts.map +1 -0
  645. package/lib/typescript/commonjs/stay-filters/FilterSection.d.ts +19 -0
  646. package/lib/typescript/commonjs/stay-filters/FilterSection.d.ts.map +1 -0
  647. package/lib/typescript/commonjs/stay-filters/FilterTextButton.d.ts +13 -0
  648. package/lib/typescript/commonjs/stay-filters/FilterTextButton.d.ts.map +1 -0
  649. package/lib/typescript/commonjs/stay-filters/FilterTriggerButton.d.ts +14 -0
  650. package/lib/typescript/commonjs/stay-filters/FilterTriggerButton.d.ts.map +1 -0
  651. package/lib/typescript/commonjs/stay-filters/PriceHistogram.d.ts +22 -0
  652. package/lib/typescript/commonjs/stay-filters/PriceHistogram.d.ts.map +1 -0
  653. package/lib/typescript/commonjs/stay-filters/PriceRangeFilter.d.ts +8 -0
  654. package/lib/typescript/commonjs/stay-filters/PriceRangeFilter.d.ts.map +1 -0
  655. package/lib/typescript/commonjs/stay-filters/SegmentedFilter.d.ts +12 -0
  656. package/lib/typescript/commonjs/stay-filters/SegmentedFilter.d.ts.map +1 -0
  657. package/lib/typescript/commonjs/stay-filters/SwitchFilterRow.d.ts +14 -0
  658. package/lib/typescript/commonjs/stay-filters/SwitchFilterRow.d.ts.map +1 -0
  659. package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts +17 -0
  660. package/lib/typescript/commonjs/stay-filters/ToggleChipGroup.d.ts.map +1 -0
  661. package/lib/typescript/commonjs/stay-filters/index.d.ts +12 -0
  662. package/lib/typescript/commonjs/stay-filters/index.d.ts.map +1 -0
  663. package/lib/typescript/commonjs/stay-filters/types.d.ts +179 -0
  664. package/lib/typescript/commonjs/stay-filters/types.d.ts.map +1 -0
  665. package/lib/typescript/commonjs/stay-search/DateFlexibilityChips.d.ts +12 -0
  666. package/lib/typescript/commonjs/stay-search/DateFlexibilityChips.d.ts.map +1 -0
  667. package/lib/typescript/commonjs/stay-search/DestinationSuggestions.d.ts +6 -0
  668. package/lib/typescript/commonjs/stay-search/DestinationSuggestions.d.ts.map +1 -0
  669. package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts +19 -0
  670. package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts.map +1 -0
  671. package/lib/typescript/commonjs/stay-search/StaySearchBar.d.ts +6 -0
  672. package/lib/typescript/commonjs/stay-search/StaySearchBar.d.ts.map +1 -0
  673. package/lib/typescript/commonjs/stay-search/StaySearchCompact.d.ts +6 -0
  674. package/lib/typescript/commonjs/stay-search/StaySearchCompact.d.ts.map +1 -0
  675. package/lib/typescript/commonjs/stay-search/StaySearchPanel.d.ts +13 -0
  676. package/lib/typescript/commonjs/stay-search/StaySearchPanel.d.ts.map +1 -0
  677. package/lib/typescript/commonjs/stay-search/StaySearchStep.d.ts +6 -0
  678. package/lib/typescript/commonjs/stay-search/StaySearchStep.d.ts.map +1 -0
  679. package/lib/typescript/commonjs/stay-search/constants.d.ts +27 -0
  680. package/lib/typescript/commonjs/stay-search/constants.d.ts.map +1 -0
  681. package/lib/typescript/commonjs/stay-search/context.d.ts +3 -0
  682. package/lib/typescript/commonjs/stay-search/context.d.ts.map +1 -0
  683. package/lib/typescript/commonjs/stay-search/guests.d.ts +13 -0
  684. package/lib/typescript/commonjs/stay-search/guests.d.ts.map +1 -0
  685. package/lib/typescript/commonjs/stay-search/index.d.ts +10 -0
  686. package/lib/typescript/commonjs/stay-search/index.d.ts.map +1 -0
  687. package/lib/typescript/commonjs/stay-search/palette.d.ts +48 -0
  688. package/lib/typescript/commonjs/stay-search/palette.d.ts.map +1 -0
  689. package/lib/typescript/commonjs/stay-search/types.d.ts +195 -0
  690. package/lib/typescript/commonjs/stay-search/types.d.ts.map +1 -0
  691. package/lib/typescript/commonjs/stepper/Stepper.d.ts +6 -0
  692. package/lib/typescript/commonjs/stepper/Stepper.d.ts.map +1 -0
  693. package/lib/typescript/commonjs/stepper/StepperRow.d.ts +13 -0
  694. package/lib/typescript/commonjs/stepper/StepperRow.d.ts.map +1 -0
  695. package/lib/typescript/commonjs/stepper/index.d.ts +4 -0
  696. package/lib/typescript/commonjs/stepper/index.d.ts.map +1 -0
  697. package/lib/typescript/commonjs/stepper/types.d.ts +49 -0
  698. package/lib/typescript/commonjs/stepper/types.d.ts.map +1 -0
  699. package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
  700. package/lib/typescript/module/app-shell/AppShellHeader.d.ts.map +1 -1
  701. package/lib/typescript/module/app-shell/AppShellMenuButton.d.ts +4 -0
  702. package/lib/typescript/module/app-shell/AppShellMenuButton.d.ts.map +1 -0
  703. package/lib/typescript/module/app-shell/context.d.ts +18 -0
  704. package/lib/typescript/module/app-shell/context.d.ts.map +1 -0
  705. package/lib/typescript/module/app-shell/index.d.ts +4 -1
  706. package/lib/typescript/module/app-shell/index.d.ts.map +1 -1
  707. package/lib/typescript/module/app-shell/types.d.ts +41 -11
  708. package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
  709. package/lib/typescript/module/booking/BookingBar.d.ts +21 -0
  710. package/lib/typescript/module/booking/BookingBar.d.ts.map +1 -0
  711. package/lib/typescript/module/booking/BookingCard.d.ts +6 -0
  712. package/lib/typescript/module/booking/BookingCard.d.ts.map +1 -0
  713. package/lib/typescript/module/booking/BookingLink.d.ts +27 -0
  714. package/lib/typescript/module/booking/BookingLink.d.ts.map +1 -0
  715. package/lib/typescript/module/booking/BookingPrice.d.ts +20 -0
  716. package/lib/typescript/module/booking/BookingPrice.d.ts.map +1 -0
  717. package/lib/typescript/module/booking/PriceBreakdown.d.ts +6 -0
  718. package/lib/typescript/module/booking/PriceBreakdown.d.ts.map +1 -0
  719. package/lib/typescript/module/booking/TripCard.d.ts +28 -0
  720. package/lib/typescript/module/booking/TripCard.d.ts.map +1 -0
  721. package/lib/typescript/module/booking/constants.d.ts +8 -0
  722. package/lib/typescript/module/booking/constants.d.ts.map +1 -0
  723. package/lib/typescript/module/booking/index.d.ts +7 -0
  724. package/lib/typescript/module/booking/index.d.ts.map +1 -0
  725. package/lib/typescript/module/booking/shared.d.ts +35 -0
  726. package/lib/typescript/module/booking/shared.d.ts.map +1 -0
  727. package/lib/typescript/module/booking/types.d.ts +149 -0
  728. package/lib/typescript/module/booking/types.d.ts.map +1 -0
  729. package/lib/typescript/module/category-bar/CategoryBar.d.ts +36 -0
  730. package/lib/typescript/module/category-bar/CategoryBar.d.ts.map +1 -0
  731. package/lib/typescript/module/category-bar/index.d.ts +3 -0
  732. package/lib/typescript/module/category-bar/index.d.ts.map +1 -0
  733. package/lib/typescript/module/category-bar/types.d.ts +44 -0
  734. package/lib/typescript/module/category-bar/types.d.ts.map +1 -0
  735. package/lib/typescript/module/dialog/DialogBottomSheet.d.ts.map +1 -1
  736. package/lib/typescript/module/icons/remix/RiAncientGateLine.d.ts +8 -0
  737. package/lib/typescript/module/icons/remix/RiAncientGateLine.d.ts.map +1 -0
  738. package/lib/typescript/module/icons/remix/RiAncientPavilionLine.d.ts +8 -0
  739. package/lib/typescript/module/icons/remix/RiAncientPavilionLine.d.ts.map +1 -0
  740. package/lib/typescript/module/icons/remix/RiBikeLine.d.ts +8 -0
  741. package/lib/typescript/module/icons/remix/RiBikeLine.d.ts.map +1 -0
  742. package/lib/typescript/module/icons/remix/RiBriefcase4Line.d.ts +8 -0
  743. package/lib/typescript/module/icons/remix/RiBriefcase4Line.d.ts.map +1 -0
  744. package/lib/typescript/module/icons/remix/RiCactusLine.d.ts +8 -0
  745. package/lib/typescript/module/icons/remix/RiCactusLine.d.ts.map +1 -0
  746. package/lib/typescript/module/icons/remix/RiCalendarCloseLine.d.ts +8 -0
  747. package/lib/typescript/module/icons/remix/RiCalendarCloseLine.d.ts.map +1 -0
  748. package/lib/typescript/module/icons/remix/RiDoorOpenLine.d.ts +8 -0
  749. package/lib/typescript/module/icons/remix/RiDoorOpenLine.d.ts.map +1 -0
  750. package/lib/typescript/module/icons/remix/RiFridgeLine.d.ts +8 -0
  751. package/lib/typescript/module/icons/remix/RiFridgeLine.d.ts.map +1 -0
  752. package/lib/typescript/module/icons/remix/RiGolfBallLine.d.ts +8 -0
  753. package/lib/typescript/module/icons/remix/RiGolfBallLine.d.ts.map +1 -0
  754. package/lib/typescript/module/icons/remix/RiHeart3Fill.d.ts +8 -0
  755. package/lib/typescript/module/icons/remix/RiHeart3Fill.d.ts.map +1 -0
  756. package/lib/typescript/module/icons/remix/RiHeart3Line.d.ts +8 -0
  757. package/lib/typescript/module/icons/remix/RiHeart3Line.d.ts.map +1 -0
  758. package/lib/typescript/module/icons/remix/RiLandscapeLine.d.ts +8 -0
  759. package/lib/typescript/module/icons/remix/RiLandscapeLine.d.ts.map +1 -0
  760. package/lib/typescript/module/icons/remix/RiMapPin2Line.d.ts +8 -0
  761. package/lib/typescript/module/icons/remix/RiMapPin2Line.d.ts.map +1 -0
  762. package/lib/typescript/module/icons/remix/RiMedalLine.d.ts +8 -0
  763. package/lib/typescript/module/icons/remix/RiMedalLine.d.ts.map +1 -0
  764. package/lib/typescript/module/icons/remix/RiParkingBoxLine.d.ts +8 -0
  765. package/lib/typescript/module/icons/remix/RiParkingBoxLine.d.ts.map +1 -0
  766. package/lib/typescript/module/icons/remix/RiPlantLine.d.ts +8 -0
  767. package/lib/typescript/module/icons/remix/RiPlantLine.d.ts.map +1 -0
  768. package/lib/typescript/module/icons/remix/RiSailboatLine.d.ts +8 -0
  769. package/lib/typescript/module/icons/remix/RiSailboatLine.d.ts.map +1 -0
  770. package/lib/typescript/module/icons/remix/RiShareLine.d.ts +8 -0
  771. package/lib/typescript/module/icons/remix/RiShareLine.d.ts.map +1 -0
  772. package/lib/typescript/module/icons/remix/RiShip2Line.d.ts +8 -0
  773. package/lib/typescript/module/icons/remix/RiShip2Line.d.ts.map +1 -0
  774. package/lib/typescript/module/icons/remix/RiSubtractLine.d.ts +8 -0
  775. package/lib/typescript/module/icons/remix/RiSubtractLine.d.ts.map +1 -0
  776. package/lib/typescript/module/icons/remix/RiTShirtAirLine.d.ts +8 -0
  777. package/lib/typescript/module/icons/remix/RiTShirtAirLine.d.ts.map +1 -0
  778. package/lib/typescript/module/icons/remix/RiTempColdLine.d.ts +8 -0
  779. package/lib/typescript/module/icons/remix/RiTempColdLine.d.ts.map +1 -0
  780. package/lib/typescript/module/icons/remix/RiTentLine.d.ts +8 -0
  781. package/lib/typescript/module/icons/remix/RiTentLine.d.ts.map +1 -0
  782. package/lib/typescript/module/icons/remix/RiTranslate2.d.ts +8 -0
  783. package/lib/typescript/module/icons/remix/RiTranslate2.d.ts.map +1 -0
  784. package/lib/typescript/module/icons/remix/RiTreeLine.d.ts +8 -0
  785. package/lib/typescript/module/icons/remix/RiTreeLine.d.ts.map +1 -0
  786. package/lib/typescript/module/icons/remix/RiTvLine.d.ts +8 -0
  787. package/lib/typescript/module/icons/remix/RiTvLine.d.ts.map +1 -0
  788. package/lib/typescript/module/icons/remix/RiWifiLine.d.ts +8 -0
  789. package/lib/typescript/module/icons/remix/RiWifiLine.d.ts.map +1 -0
  790. package/lib/typescript/module/icons/remix/index.d.ts +27 -0
  791. package/lib/typescript/module/icons/remix/index.d.ts.map +1 -1
  792. package/lib/typescript/module/index.d.ts +17 -0
  793. package/lib/typescript/module/index.d.ts.map +1 -1
  794. package/lib/typescript/module/index.web.d.ts +17 -0
  795. package/lib/typescript/module/index.web.d.ts.map +1 -1
  796. package/lib/typescript/module/listing-card/FavoriteButton.d.ts +21 -0
  797. package/lib/typescript/module/listing-card/FavoriteButton.d.ts.map +1 -0
  798. package/lib/typescript/module/listing-card/ListingCard.d.ts +6 -0
  799. package/lib/typescript/module/listing-card/ListingCard.d.ts.map +1 -0
  800. package/lib/typescript/module/listing-card/ListingCardGrid.d.ts +23 -0
  801. package/lib/typescript/module/listing-card/ListingCardGrid.d.ts.map +1 -0
  802. package/lib/typescript/module/listing-card/WishlistCard.d.ts +6 -0
  803. package/lib/typescript/module/listing-card/WishlistCard.d.ts.map +1 -0
  804. package/lib/typescript/module/listing-card/index.d.ts +6 -0
  805. package/lib/typescript/module/listing-card/index.d.ts.map +1 -0
  806. package/lib/typescript/module/listing-card/shared.d.ts +67 -0
  807. package/lib/typescript/module/listing-card/shared.d.ts.map +1 -0
  808. package/lib/typescript/module/listing-card/types.d.ts +129 -0
  809. package/lib/typescript/module/listing-card/types.d.ts.map +1 -0
  810. package/lib/typescript/module/listing-details/AmenityList.d.ts +6 -0
  811. package/lib/typescript/module/listing-details/AmenityList.d.ts.map +1 -0
  812. package/lib/typescript/module/listing-details/HostCard.d.ts +22 -0
  813. package/lib/typescript/module/listing-details/HostCard.d.ts.map +1 -0
  814. package/lib/typescript/module/listing-details/ListingHeader.d.ts +8 -0
  815. package/lib/typescript/module/listing-details/ListingHeader.d.ts.map +1 -0
  816. package/lib/typescript/module/listing-details/ListingHighlights.d.ts +14 -0
  817. package/lib/typescript/module/listing-details/ListingHighlights.d.ts.map +1 -0
  818. package/lib/typescript/module/listing-details/ListingPhotoGrid.d.ts +6 -0
  819. package/lib/typescript/module/listing-details/ListingPhotoGrid.d.ts.map +1 -0
  820. package/lib/typescript/module/listing-details/ListingSection.d.ts +15 -0
  821. package/lib/typescript/module/listing-details/ListingSection.d.ts.map +1 -0
  822. package/lib/typescript/module/listing-details/ReviewCard.d.ts +6 -0
  823. package/lib/typescript/module/listing-details/ReviewCard.d.ts.map +1 -0
  824. package/lib/typescript/module/listing-details/ReviewSummary.d.ts +6 -0
  825. package/lib/typescript/module/listing-details/ReviewSummary.d.ts.map +1 -0
  826. package/lib/typescript/module/listing-details/constants.d.ts +15 -0
  827. package/lib/typescript/module/listing-details/constants.d.ts.map +1 -0
  828. package/lib/typescript/module/listing-details/index.d.ts +11 -0
  829. package/lib/typescript/module/listing-details/index.d.ts.map +1 -0
  830. package/lib/typescript/module/listing-details/shared.d.ts +42 -0
  831. package/lib/typescript/module/listing-details/shared.d.ts.map +1 -0
  832. package/lib/typescript/module/listing-details/types.d.ts +238 -0
  833. package/lib/typescript/module/listing-details/types.d.ts.map +1 -0
  834. package/lib/typescript/module/listing-details/use-container-width.d.ts +13 -0
  835. package/lib/typescript/module/listing-details/use-container-width.d.ts.map +1 -0
  836. package/lib/typescript/module/map-marker/MapClusterMarker.d.ts +6 -0
  837. package/lib/typescript/module/map-marker/MapClusterMarker.d.ts.map +1 -0
  838. package/lib/typescript/module/map-marker/MapListingPreview.d.ts +6 -0
  839. package/lib/typescript/module/map-marker/MapListingPreview.d.ts.map +1 -0
  840. package/lib/typescript/module/map-marker/MapPriceMarker.d.ts +6 -0
  841. package/lib/typescript/module/map-marker/MapPriceMarker.d.ts.map +1 -0
  842. package/lib/typescript/module/map-marker/MapSearchAreaButton.d.ts +6 -0
  843. package/lib/typescript/module/map-marker/MapSearchAreaButton.d.ts.map +1 -0
  844. package/lib/typescript/module/map-marker/index.d.ts +6 -0
  845. package/lib/typescript/module/map-marker/index.d.ts.map +1 -0
  846. package/lib/typescript/module/map-marker/shared.d.ts +30 -0
  847. package/lib/typescript/module/map-marker/shared.d.ts.map +1 -0
  848. package/lib/typescript/module/map-marker/types.d.ts +94 -0
  849. package/lib/typescript/module/map-marker/types.d.ts.map +1 -0
  850. package/lib/typescript/module/rating/Rating.d.ts +8 -0
  851. package/lib/typescript/module/rating/Rating.d.ts.map +1 -0
  852. package/lib/typescript/module/rating/RatingBar.d.ts +6 -0
  853. package/lib/typescript/module/rating/RatingBar.d.ts.map +1 -0
  854. package/lib/typescript/module/rating/index.d.ts +4 -0
  855. package/lib/typescript/module/rating/index.d.ts.map +1 -0
  856. package/lib/typescript/module/rating/types.d.ts +49 -0
  857. package/lib/typescript/module/rating/types.d.ts.map +1 -0
  858. package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
  859. package/lib/typescript/module/sidebar/SidebarLogoView.d.ts +6 -0
  860. package/lib/typescript/module/sidebar/SidebarLogoView.d.ts.map +1 -0
  861. package/lib/typescript/module/sidebar/SidebarRail.d.ts +3 -2
  862. package/lib/typescript/module/sidebar/SidebarRail.d.ts.map +1 -1
  863. package/lib/typescript/module/sidebar/index.d.ts +1 -1
  864. package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
  865. package/lib/typescript/module/sidebar/types.d.ts +36 -0
  866. package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
  867. package/lib/typescript/module/stay-filters/AmenityFilter.d.ts +15 -0
  868. package/lib/typescript/module/stay-filters/AmenityFilter.d.ts.map +1 -0
  869. package/lib/typescript/module/stay-filters/CountFilter.d.ts +21 -0
  870. package/lib/typescript/module/stay-filters/CountFilter.d.ts.map +1 -0
  871. package/lib/typescript/module/stay-filters/FilterChip.d.ts +17 -0
  872. package/lib/typescript/module/stay-filters/FilterChip.d.ts.map +1 -0
  873. package/lib/typescript/module/stay-filters/FilterFooter.d.ts +19 -0
  874. package/lib/typescript/module/stay-filters/FilterFooter.d.ts.map +1 -0
  875. package/lib/typescript/module/stay-filters/FilterSection.d.ts +19 -0
  876. package/lib/typescript/module/stay-filters/FilterSection.d.ts.map +1 -0
  877. package/lib/typescript/module/stay-filters/FilterTextButton.d.ts +13 -0
  878. package/lib/typescript/module/stay-filters/FilterTextButton.d.ts.map +1 -0
  879. package/lib/typescript/module/stay-filters/FilterTriggerButton.d.ts +14 -0
  880. package/lib/typescript/module/stay-filters/FilterTriggerButton.d.ts.map +1 -0
  881. package/lib/typescript/module/stay-filters/PriceHistogram.d.ts +22 -0
  882. package/lib/typescript/module/stay-filters/PriceHistogram.d.ts.map +1 -0
  883. package/lib/typescript/module/stay-filters/PriceRangeFilter.d.ts +8 -0
  884. package/lib/typescript/module/stay-filters/PriceRangeFilter.d.ts.map +1 -0
  885. package/lib/typescript/module/stay-filters/SegmentedFilter.d.ts +12 -0
  886. package/lib/typescript/module/stay-filters/SegmentedFilter.d.ts.map +1 -0
  887. package/lib/typescript/module/stay-filters/SwitchFilterRow.d.ts +14 -0
  888. package/lib/typescript/module/stay-filters/SwitchFilterRow.d.ts.map +1 -0
  889. package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts +17 -0
  890. package/lib/typescript/module/stay-filters/ToggleChipGroup.d.ts.map +1 -0
  891. package/lib/typescript/module/stay-filters/index.d.ts +12 -0
  892. package/lib/typescript/module/stay-filters/index.d.ts.map +1 -0
  893. package/lib/typescript/module/stay-filters/types.d.ts +179 -0
  894. package/lib/typescript/module/stay-filters/types.d.ts.map +1 -0
  895. package/lib/typescript/module/stay-search/DateFlexibilityChips.d.ts +12 -0
  896. package/lib/typescript/module/stay-search/DateFlexibilityChips.d.ts.map +1 -0
  897. package/lib/typescript/module/stay-search/DestinationSuggestions.d.ts +6 -0
  898. package/lib/typescript/module/stay-search/DestinationSuggestions.d.ts.map +1 -0
  899. package/lib/typescript/module/stay-search/GuestPicker.d.ts +19 -0
  900. package/lib/typescript/module/stay-search/GuestPicker.d.ts.map +1 -0
  901. package/lib/typescript/module/stay-search/StaySearchBar.d.ts +6 -0
  902. package/lib/typescript/module/stay-search/StaySearchBar.d.ts.map +1 -0
  903. package/lib/typescript/module/stay-search/StaySearchCompact.d.ts +6 -0
  904. package/lib/typescript/module/stay-search/StaySearchCompact.d.ts.map +1 -0
  905. package/lib/typescript/module/stay-search/StaySearchPanel.d.ts +13 -0
  906. package/lib/typescript/module/stay-search/StaySearchPanel.d.ts.map +1 -0
  907. package/lib/typescript/module/stay-search/StaySearchStep.d.ts +6 -0
  908. package/lib/typescript/module/stay-search/StaySearchStep.d.ts.map +1 -0
  909. package/lib/typescript/module/stay-search/constants.d.ts +27 -0
  910. package/lib/typescript/module/stay-search/constants.d.ts.map +1 -0
  911. package/lib/typescript/module/stay-search/context.d.ts +3 -0
  912. package/lib/typescript/module/stay-search/context.d.ts.map +1 -0
  913. package/lib/typescript/module/stay-search/guests.d.ts +13 -0
  914. package/lib/typescript/module/stay-search/guests.d.ts.map +1 -0
  915. package/lib/typescript/module/stay-search/index.d.ts +10 -0
  916. package/lib/typescript/module/stay-search/index.d.ts.map +1 -0
  917. package/lib/typescript/module/stay-search/palette.d.ts +48 -0
  918. package/lib/typescript/module/stay-search/palette.d.ts.map +1 -0
  919. package/lib/typescript/module/stay-search/types.d.ts +195 -0
  920. package/lib/typescript/module/stay-search/types.d.ts.map +1 -0
  921. package/lib/typescript/module/stepper/Stepper.d.ts +6 -0
  922. package/lib/typescript/module/stepper/Stepper.d.ts.map +1 -0
  923. package/lib/typescript/module/stepper/StepperRow.d.ts +13 -0
  924. package/lib/typescript/module/stepper/StepperRow.d.ts.map +1 -0
  925. package/lib/typescript/module/stepper/index.d.ts +4 -0
  926. package/lib/typescript/module/stepper/index.d.ts.map +1 -0
  927. package/lib/typescript/module/stepper/types.d.ts +49 -0
  928. package/lib/typescript/module/stepper/types.d.ts.map +1 -0
  929. package/package.json +127 -1
  930. package/src/app-shell/AppShell.tsx +181 -107
  931. package/src/app-shell/AppShellHeader.tsx +11 -9
  932. package/src/app-shell/AppShellMenuButton.tsx +37 -0
  933. package/src/app-shell/context.ts +35 -0
  934. package/src/app-shell/index.ts +4 -0
  935. package/src/app-shell/types.ts +42 -11
  936. package/src/booking/BookingBar.tsx +106 -0
  937. package/src/booking/BookingCard.tsx +355 -0
  938. package/src/booking/BookingLink.tsx +96 -0
  939. package/src/booking/BookingPrice.tsx +67 -0
  940. package/src/booking/PriceBreakdown.tsx +99 -0
  941. package/src/booking/TripCard.tsx +202 -0
  942. package/src/booking/constants.ts +10 -0
  943. package/src/booking/index.ts +17 -0
  944. package/src/booking/shared.ts +115 -0
  945. package/src/booking/types.ts +179 -0
  946. package/src/category-bar/CategoryBar.tsx +511 -0
  947. package/src/category-bar/index.ts +2 -0
  948. package/src/category-bar/types.ts +42 -0
  949. package/src/dialog/DialogBottomSheet.tsx +11 -1
  950. package/src/icons/remix/RiAncientGateLine.tsx +6 -0
  951. package/src/icons/remix/RiAncientPavilionLine.tsx +6 -0
  952. package/src/icons/remix/RiBikeLine.tsx +6 -0
  953. package/src/icons/remix/RiBriefcase4Line.tsx +6 -0
  954. package/src/icons/remix/RiCactusLine.tsx +6 -0
  955. package/src/icons/remix/RiCalendarCloseLine.tsx +6 -0
  956. package/src/icons/remix/RiDoorOpenLine.tsx +6 -0
  957. package/src/icons/remix/RiFridgeLine.tsx +6 -0
  958. package/src/icons/remix/RiGolfBallLine.tsx +6 -0
  959. package/src/icons/remix/RiHeart3Fill.tsx +6 -0
  960. package/src/icons/remix/RiHeart3Line.tsx +6 -0
  961. package/src/icons/remix/RiLandscapeLine.tsx +6 -0
  962. package/src/icons/remix/RiMapPin2Line.tsx +6 -0
  963. package/src/icons/remix/RiMedalLine.tsx +6 -0
  964. package/src/icons/remix/RiParkingBoxLine.tsx +6 -0
  965. package/src/icons/remix/RiPlantLine.tsx +6 -0
  966. package/src/icons/remix/RiSailboatLine.tsx +6 -0
  967. package/src/icons/remix/RiShareLine.tsx +6 -0
  968. package/src/icons/remix/RiShip2Line.tsx +6 -0
  969. package/src/icons/remix/RiSubtractLine.tsx +6 -0
  970. package/src/icons/remix/RiTShirtAirLine.tsx +6 -0
  971. package/src/icons/remix/RiTempColdLine.tsx +6 -0
  972. package/src/icons/remix/RiTentLine.tsx +6 -0
  973. package/src/icons/remix/RiTranslate2.tsx +6 -0
  974. package/src/icons/remix/RiTreeLine.tsx +6 -0
  975. package/src/icons/remix/RiTvLine.tsx +6 -0
  976. package/src/icons/remix/RiWifiLine.tsx +6 -0
  977. package/src/icons/remix/index.ts +27 -0
  978. package/src/index.ts +94 -0
  979. package/src/index.web.ts +94 -0
  980. package/src/listing-card/FavoriteButton.tsx +101 -0
  981. package/src/listing-card/ListingCard.tsx +565 -0
  982. package/src/listing-card/ListingCardGrid.tsx +65 -0
  983. package/src/listing-card/WishlistCard.tsx +150 -0
  984. package/src/listing-card/index.ts +11 -0
  985. package/src/listing-card/shared.ts +207 -0
  986. package/src/listing-card/types.ts +133 -0
  987. package/src/listing-details/AmenityList.tsx +103 -0
  988. package/src/listing-details/HostCard.tsx +229 -0
  989. package/src/listing-details/ListingHeader.tsx +248 -0
  990. package/src/listing-details/ListingHighlights.tsx +53 -0
  991. package/src/listing-details/ListingPhotoGrid.tsx +301 -0
  992. package/src/listing-details/ListingSection.tsx +75 -0
  993. package/src/listing-details/ReviewCard.tsx +221 -0
  994. package/src/listing-details/ReviewSummary.tsx +180 -0
  995. package/src/listing-details/constants.ts +14 -0
  996. package/src/listing-details/index.ts +35 -0
  997. package/src/listing-details/shared.ts +121 -0
  998. package/src/listing-details/types.ts +286 -0
  999. package/src/listing-details/use-container-width.ts +21 -0
  1000. package/src/map-marker/MapClusterMarker.tsx +85 -0
  1001. package/src/map-marker/MapListingPreview.tsx +302 -0
  1002. package/src/map-marker/MapPriceMarker.tsx +108 -0
  1003. package/src/map-marker/MapSearchAreaButton.tsx +118 -0
  1004. package/src/map-marker/index.ts +12 -0
  1005. package/src/map-marker/shared.ts +101 -0
  1006. package/src/map-marker/types.ts +101 -0
  1007. package/src/rating/Rating.tsx +89 -0
  1008. package/src/rating/RatingBar.tsx +87 -0
  1009. package/src/rating/index.ts +3 -0
  1010. package/src/rating/types.ts +52 -0
  1011. package/src/sidebar/Sidebar.tsx +42 -22
  1012. package/src/sidebar/SidebarLogoView.tsx +92 -0
  1013. package/src/sidebar/SidebarRail.tsx +9 -1
  1014. package/src/sidebar/index.ts +1 -0
  1015. package/src/sidebar/types.ts +38 -0
  1016. package/src/stay-filters/AmenityFilter.tsx +58 -0
  1017. package/src/stay-filters/CountFilter.tsx +88 -0
  1018. package/src/stay-filters/FilterChip.tsx +129 -0
  1019. package/src/stay-filters/FilterFooter.tsx +79 -0
  1020. package/src/stay-filters/FilterSection.tsx +72 -0
  1021. package/src/stay-filters/FilterTextButton.tsx +105 -0
  1022. package/src/stay-filters/FilterTriggerButton.tsx +58 -0
  1023. package/src/stay-filters/PriceHistogram.tsx +79 -0
  1024. package/src/stay-filters/PriceRangeFilter.tsx +142 -0
  1025. package/src/stay-filters/SegmentedFilter.tsx +42 -0
  1026. package/src/stay-filters/SwitchFilterRow.tsx +60 -0
  1027. package/src/stay-filters/ToggleChipGroup.tsx +59 -0
  1028. package/src/stay-filters/index.ts +25 -0
  1029. package/src/stay-filters/types.ts +192 -0
  1030. package/src/stay-search/DateFlexibilityChips.tsx +48 -0
  1031. package/src/stay-search/DestinationSuggestions.tsx +161 -0
  1032. package/src/stay-search/GuestPicker.tsx +101 -0
  1033. package/src/stay-search/StaySearchBar.tsx +349 -0
  1034. package/src/stay-search/StaySearchCompact.tsx +127 -0
  1035. package/src/stay-search/StaySearchPanel.tsx +51 -0
  1036. package/src/stay-search/StaySearchStep.tsx +116 -0
  1037. package/src/stay-search/constants.ts +58 -0
  1038. package/src/stay-search/context.ts +15 -0
  1039. package/src/stay-search/guests.ts +21 -0
  1040. package/src/stay-search/index.ts +25 -0
  1041. package/src/stay-search/palette.ts +91 -0
  1042. package/src/stay-search/types.ts +210 -0
  1043. package/src/stepper/Stepper.tsx +223 -0
  1044. package/src/stepper/StepperRow.tsx +69 -0
  1045. package/src/stepper/index.ts +3 -0
  1046. package/src/stepper/types.ts +51 -0
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ import React, { Children, isValidElement, memo, useState } from 'react';
4
+ import { View, useWindowDimensions } from 'react-native';
5
+ import { IS_WEB, listingGridColumns } from "./shared.js";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ /**
8
+ * A results grid for `ListingCard`s.
9
+ *
10
+ * columns 1 below 640, 2 below 950, 3 below 1280, 4 from there — of the
11
+ * GRID's own width, so a grid beside a map or inside a sheet counts
12
+ * the room it actually has; `columns` fixes the count instead
13
+ * gaps 24 between columns, 40 between rows
14
+ *
15
+ * Bloom's `Grid` (`Row`/`Col`) is a single fixed row of fractional columns: it
16
+ * neither wraps nor responds to width, which is what a results page needs, so
17
+ * this measures and wraps instead. Until the first layout it counts from the
18
+ * window, so the first frame is already close.
19
+ *
20
+ * Cells are sized in pixels from the measured width, rounded DOWN to a
21
+ * hundredth: a fraction that rounds up can push the last cell of a row onto
22
+ * the next.
23
+ */
24
+ function ListingCardGridComponent({
25
+ children,
26
+ columns: fixedColumns,
27
+ columnGap = 24,
28
+ rowGap = 40,
29
+ style,
30
+ testID
31
+ }) {
32
+ const window = useWindowDimensions();
33
+ const [measured, setMeasured] = useState(0);
34
+ const width = measured > 0 ? measured : window.width;
35
+ const columns = Math.max(1, fixedColumns ?? listingGridColumns(width));
36
+ const cell = Math.max(0, Math.floor((width - columnGap * (columns - 1)) / columns * 100) / 100);
37
+ const items = Children.toArray(children).filter(isValidElement);
38
+ return /*#__PURE__*/_jsx(View, {
39
+ role: "list",
40
+ onLayout: event => setMeasured(event.nativeEvent.layout.width),
41
+ style: [{
42
+ width: '100%',
43
+ flexDirection: 'row',
44
+ flexWrap: 'wrap',
45
+ columnGap,
46
+ rowGap
47
+ }, style],
48
+ testID: testID,
49
+ ...(IS_WEB ? {
50
+ dataSet: {
51
+ bloomListingCardGrid: String(columns)
52
+ }
53
+ } : null),
54
+ children: items.map((child, index) => /*#__PURE__*/_jsx(View, {
55
+ role: "listitem",
56
+ style: {
57
+ width: cell
58
+ },
59
+ children: child
60
+ }, child.key ?? index))
61
+ });
62
+ }
63
+ export const ListingCardGrid = /*#__PURE__*/memo(ListingCardGridComponent);
64
+ ListingCardGrid.displayName = 'ListingCardGrid';
65
+ //# sourceMappingURL=ListingCardGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Children","isValidElement","memo","useState","View","useWindowDimensions","IS_WEB","listingGridColumns","jsx","_jsx","ListingCardGridComponent","children","columns","fixedColumns","columnGap","rowGap","style","testID","window","measured","setMeasured","width","Math","max","cell","floor","items","toArray","filter","role","onLayout","event","nativeEvent","layout","flexDirection","flexWrap","dataSet","bloomListingCardGrid","String","map","child","index","key","ListingCardGrid","displayName"],"sourceRoot":"../../../src","sources":["listing-card/ListingCardGrid.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,cAAc,EAAEC,IAAI,EAAEC,QAAQ,QAAQ,OAAO;AACvE,SAASC,IAAI,EAAEC,mBAAmB,QAAgC,cAAc;AAEhF,SAASC,MAAM,EAAEC,kBAAkB,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,wBAAwBA,CAAC;EAChCC,QAAQ;EACRC,OAAO,EAAEC,YAAY;EACrBC,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IAAA,CAACL,IAAI;MAEHyB,IAAI,EAAC,UAAU;MACfb,KAAK,EAAE;QAAEK,KAAK,EAAEG;MAAK,CAAE;MAAAb,QAAA,EAEtB6B;IAAK,GAJDA,KAAK,CAACE,GAAG,IAAID,KAKd,CACP;EAAC,CACE,CAAC;AAEX;AAEA,OAAO,MAAME,eAAe,gBAAGzC,IAAI,CAACQ,wBAAwB,CAAC;AAC7DiC,eAAe,CAACC,WAAW,GAAG,iBAAiB","ignoreList":[]}
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+
3
+ import React, { memo, useMemo } from 'react';
4
+ import { Image, Linking, Pressable, View } from 'react-native';
5
+ import { useImageResolver } from "../image-resolver/context.js";
6
+ import { useInteractiveWebCss } from "../styles/interactive-web-css.js";
7
+ import { useTheme } from "../theme/use-theme.js";
8
+ import { Text } from "../typography/index.js";
9
+ import { IS_WEB, LISTING_CARD_CSS, LISTING_CARD_STYLE_ID, PHOTO_RADIUS, resolveListingCardPaint, resolvePhoto, webData } from "./shared.js";
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ /**
12
+ * A saved collection of stays.
13
+ *
14
+ * cover a square, radius 16, 2px seams in the page colour:
15
+ * 1 photo fills it
16
+ * 2 side by side
17
+ * 3 one tall photo left, two stacked right
18
+ * 4+ a 2×2 (the first four)
19
+ * text 12 below: the name body-semibold, the description body-regular
20
+ * text-secondary
21
+ *
22
+ * A link on web with `href` (a real `<a>`), otherwise a button with `onPress`;
23
+ * its name is "name, description".
24
+ */
25
+
26
+ const SEAM = 2;
27
+ function Tile({
28
+ uri,
29
+ paint,
30
+ style
31
+ }) {
32
+ return /*#__PURE__*/_jsx(View, {
33
+ style: [{
34
+ backgroundColor: paint.photoPlaceholder,
35
+ overflow: 'hidden'
36
+ }, style],
37
+ children: uri ? /*#__PURE__*/_jsx(Image, {
38
+ source: {
39
+ uri
40
+ },
41
+ resizeMode: "cover",
42
+ accessibilityIgnoresInvertColors: true,
43
+ style: {
44
+ width: '100%',
45
+ height: '100%'
46
+ }
47
+ }) : null
48
+ });
49
+ }
50
+ function WishlistCardComponent({
51
+ name,
52
+ description,
53
+ photos,
54
+ photoVariant,
55
+ onPress,
56
+ href,
57
+ accessibilityLabel,
58
+ style,
59
+ testID
60
+ }) {
61
+ const theme = useTheme();
62
+ useInteractiveWebCss(LISTING_CARD_STYLE_ID, LISTING_CARD_CSS);
63
+ const paint = useMemo(() => resolveListingCardPaint(theme), [theme]);
64
+ const resolver = useImageResolver();
65
+ const uris = photos.slice(0, 4).map(photo => resolvePhoto(photo, resolver, photoVariant));
66
+ const count = Math.max(1, uris.length);
67
+ const fill = {
68
+ flex: 1
69
+ };
70
+ let cover;
71
+ if (count === 1) {
72
+ cover = /*#__PURE__*/_jsx(Tile, {
73
+ uri: uris[0],
74
+ paint: paint,
75
+ style: fill
76
+ });
77
+ } else if (count === 2) {
78
+ cover = /*#__PURE__*/_jsxs(View, {
79
+ style: {
80
+ flex: 1,
81
+ flexDirection: 'row',
82
+ gap: SEAM
83
+ },
84
+ children: [/*#__PURE__*/_jsx(Tile, {
85
+ uri: uris[0],
86
+ paint: paint,
87
+ style: fill
88
+ }), /*#__PURE__*/_jsx(Tile, {
89
+ uri: uris[1],
90
+ paint: paint,
91
+ style: fill
92
+ })]
93
+ });
94
+ } else {
95
+ const right = count === 3 ? [uris[1], uris[2]] : [uris[2], uris[3]];
96
+ cover = /*#__PURE__*/_jsxs(View, {
97
+ style: {
98
+ flex: 1,
99
+ flexDirection: 'row',
100
+ gap: SEAM
101
+ },
102
+ children: [count === 3 ? /*#__PURE__*/_jsx(Tile, {
103
+ uri: uris[0],
104
+ paint: paint,
105
+ style: fill
106
+ }) : /*#__PURE__*/_jsxs(View, {
107
+ style: {
108
+ flex: 1,
109
+ gap: SEAM
110
+ },
111
+ children: [/*#__PURE__*/_jsx(Tile, {
112
+ uri: uris[0],
113
+ paint: paint,
114
+ style: fill
115
+ }), /*#__PURE__*/_jsx(Tile, {
116
+ uri: uris[1],
117
+ paint: paint,
118
+ style: fill
119
+ })]
120
+ }), /*#__PURE__*/_jsxs(View, {
121
+ style: {
122
+ flex: 1,
123
+ gap: SEAM
124
+ },
125
+ children: [/*#__PURE__*/_jsx(Tile, {
126
+ uri: right[0],
127
+ paint: paint,
128
+ style: fill
129
+ }), /*#__PURE__*/_jsx(Tile, {
130
+ uri: right[1],
131
+ paint: paint,
132
+ style: fill
133
+ })]
134
+ })]
135
+ });
136
+ }
137
+ const rootStyle = {
138
+ '--bloom-listing-card-ring': paint.ring
139
+ };
140
+ const interactive = onPress != null || href != null;
141
+ return /*#__PURE__*/_jsxs(Pressable, {
142
+ ...webData({
143
+ bloomWishlistCard: ''
144
+ }),
145
+ ...(IS_WEB && href ? {
146
+ href
147
+ } : null),
148
+ role: href ? 'link' : onPress ? 'button' : undefined,
149
+ accessibilityLabel: accessibilityLabel ?? (description ? `${name}, ${description}` : name),
150
+ disabled: !interactive,
151
+ onPress: event => {
152
+ if (onPress) {
153
+ if (IS_WEB && href) event.preventDefault();
154
+ onPress();
155
+ return;
156
+ }
157
+ if (!IS_WEB && href) void Linking.openURL(href).catch(() => undefined);
158
+ },
159
+ style: [rootStyle, style],
160
+ testID: testID,
161
+ children: [/*#__PURE__*/_jsx(View, {
162
+ style: {
163
+ width: '100%',
164
+ aspectRatio: 1,
165
+ borderRadius: PHOTO_RADIUS,
166
+ overflow: 'hidden',
167
+ flexDirection: 'row'
168
+ },
169
+ testID: testID ? `${testID}-cover` : undefined,
170
+ children: cover
171
+ }), /*#__PURE__*/_jsxs(View, {
172
+ style: {
173
+ marginTop: 12,
174
+ gap: 2
175
+ },
176
+ children: [/*#__PURE__*/_jsx(Text, {
177
+ variant: "body-semibold",
178
+ numberOfLines: 1,
179
+ style: {
180
+ color: paint.text
181
+ },
182
+ children: name
183
+ }), description ? /*#__PURE__*/_jsx(Text, {
184
+ variant: "body-regular",
185
+ numberOfLines: 1,
186
+ style: {
187
+ color: paint.textSecondary
188
+ },
189
+ children: description
190
+ }) : null]
191
+ })]
192
+ });
193
+ }
194
+ export const WishlistCard = /*#__PURE__*/memo(WishlistCardComponent);
195
+ WishlistCard.displayName = 'WishlistCard';
196
+ //# sourceMappingURL=WishlistCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","memo","useMemo","Image","Linking","Pressable","View","useImageResolver","useInteractiveWebCss","useTheme","Text","IS_WEB","LISTING_CARD_CSS","LISTING_CARD_STYLE_ID","PHOTO_RADIUS","resolveListingCardPaint","resolvePhoto","webData","jsx","_jsx","jsxs","_jsxs","SEAM","Tile","uri","paint","style","backgroundColor","photoPlaceholder","overflow","children","source","resizeMode","accessibilityIgnoresInvertColors","width","height","WishlistCardComponent","name","description","photos","photoVariant","onPress","href","accessibilityLabel","testID","theme","resolver","uris","slice","map","photo","count","Math","max","length","fill","flex","cover","flexDirection","gap","right","rootStyle","ring","interactive","bloomWishlistCard","role","undefined","disabled","event","preventDefault","openURL","catch","aspectRatio","borderRadius","marginTop","variant","numberOfLines","color","text","textSecondary","WishlistCard","displayName"],"sourceRoot":"../../../src","sources":["listing-card/WishlistCard.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,KAAK,EAAEC,OAAO,EAAEC,SAAS,EAAEC,IAAI,QAAoD,cAAc;AAE1G,SAASC,gBAAgB,QAAQ,8BAA2B;AAC5D,SAASC,oBAAoB,QAAQ,kCAA+B;AAEpE,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AACpC,SACEC,MAAM,EACNC,gBAAgB,EAChBC,qBAAqB,EACrBC,YAAY,EACZC,uBAAuB,EACvBC,YAAY,EACZC,OAAO,QAEF,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGlB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMC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AE;QAAClD,KAAK,EAAE;UAAEmD,KAAK,EAAEpD,KAAK,CAACsD;QAAc,CAAE;QAAAjD,QAAA,EAClFQ;MAAW,CACR,CAAC,GACL,IAAI;IAAA,CACJ,CAAC;EAAA,CACE,CAAC;AAEhB;AAEA,OAAO,MAAM0C,YAAY,gBAAG/E,IAAI,CAACmC,qBAAqB,CAAC;AACvD4C,YAAY,CAACC,WAAW,GAAG,cAAc","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ export { ListingCard } from "./ListingCard.js";
4
+ export { FavoriteButton } from "./FavoriteButton.js";
5
+ export { ListingCardGrid } from "./ListingCardGrid.js";
6
+ export { WishlistCard } from "./WishlistCard.js";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ListingCard","FavoriteButton","ListingCardGrid","WishlistCard"],"sourceRoot":"../../../src","sources":["listing-card/index.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAe;AAC3C,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,eAAe,QAAQ,sBAAmB;AACnD,SAASC,YAAY,QAAQ,mBAAgB","ignoreList":[]}
@@ -0,0 +1,169 @@
1
+ "use strict";
2
+
3
+ import { Platform } from 'react-native';
4
+ import { colorRamp, DANGER_TABLE, mixColor, resolveButtonRamps } from "../button/shared.js";
5
+ import { resolveMenuPalette } from "../floating/menu-palette.js";
6
+ export const IS_WEB = Platform.OS === 'web';
7
+
8
+ /** The photo tile's corner radius (a card image). */
9
+ export const PHOTO_RADIUS = 16;
10
+ /** Width : height of the photo in the vertical layout. */
11
+ export const PHOTO_ASPECT_RATIO = 20 / 19;
12
+ /** Share of the card the photo takes in the horizontal layout. */
13
+ export const HORIZONTAL_PHOTO_WIDTH = '40%';
14
+ /** The most dots the pager draws; longer runs slide a window. */
15
+ export const MAX_DOTS = 5;
16
+ export const DOT_SIZE = 6;
17
+ /** A dot at a window edge that has more photos beyond it. */
18
+ export const DOT_EDGE_SIZE = 4;
19
+ /** The heart's dark body over imagery is this opaque. */
20
+ export const HEART_SCRIM_OPACITY = 0.5;
21
+ /** An inactive dot is this opaque; the active one is solid. */
22
+ export const DOT_INACTIVE_OPACITY = 0.6;
23
+
24
+ /**
25
+ * Every colour the listing card family paints. Pure.
26
+ *
27
+ * photo placeholder neutral-100 (dark neutral-800 → 700 at 60%)
28
+ * on media neutral-50 both modes — drawn over a photo
29
+ * scrim neutral-950 at 50% both modes
30
+ * favourite red-500 (`error`) both modes — over a photo
31
+ * surface the menu surface card / neutral-800
32
+ * text text / text-secondary
33
+ */
34
+ export function resolveListingCardPaint(theme) {
35
+ const {
36
+ accent,
37
+ neutral: n
38
+ } = resolveButtonRamps(theme);
39
+ // `error`, not `negative`: dark mode's `negative` is a pale tint made for text
40
+ // on a dark page, and reads pink over a photo; `error` stays a saturated red.
41
+ const red = colorRamp(theme.colors.error, DANGER_TABLE);
42
+ const menu = resolveMenuPalette(theme);
43
+ return {
44
+ photoPlaceholder: theme.isDark ? mixColor(n[800], n[700], 0.6) : n[100],
45
+ onMedia: n[50],
46
+ scrim: n[950],
47
+ favorite: red[500],
48
+ surface: menu.surface,
49
+ surfaceText: menu.text,
50
+ surfaceShadow: menu.shadow,
51
+ text: theme.colors.text,
52
+ textSecondary: theme.colors.textSecondary,
53
+ ring: accent[500]
54
+ };
55
+ }
56
+ export function isUrl(value) {
57
+ return value.startsWith('http://') || value.startsWith('https://') || value.startsWith('data:') || value.startsWith('blob:') || value.startsWith('file:') || value.startsWith('/');
58
+ }
59
+
60
+ /** A URL passes through; an id goes to the app's resolver (`undefined` without one). */
61
+ export function resolvePhoto(photo, resolver, variant) {
62
+ if (!photo) return undefined;
63
+ return isUrl(photo) ? photo : resolver?.(photo, variant);
64
+ }
65
+
66
+ /** The responsive column count of a results grid of the given width. */
67
+ export function listingGridColumns(width) {
68
+ if (width < 640) return 1;
69
+ if (width < 950) return 2;
70
+ if (width < 1280) return 3;
71
+ return 4;
72
+ }
73
+ /**
74
+ * The dots to draw for `count` photos with `active` in view: all of them up to
75
+ * {@link MAX_DOTS}, otherwise a window of five that follows the active photo,
76
+ * whose edge dots shrink while more photos lie beyond them.
77
+ */
78
+ export function dotWindow(count, active) {
79
+ if (count <= 1) return [];
80
+ const visible = Math.min(count, MAX_DOTS);
81
+ const start = Math.min(Math.max(0, active - Math.floor(visible / 2)), count - visible);
82
+ const end = start + visible - 1;
83
+ const slots = [];
84
+ for (let index = start; index <= end; index++) {
85
+ const moreBefore = index === start && start > 0;
86
+ const moreAfter = index === end && end < count - 1;
87
+ slots.push({
88
+ index,
89
+ size: moreBefore || moreAfter ? DOT_EDGE_SIZE : DOT_SIZE,
90
+ active: index === active
91
+ });
92
+ }
93
+ return slots;
94
+ }
95
+ export function webData(data) {
96
+ return IS_WEB ? {
97
+ dataSet: data
98
+ } : {};
99
+ }
100
+
101
+ // ---------------------------------------------------------------------------
102
+ // Web CSS — hover-only arrows, the snapping track and focus rings have no
103
+ // inline-style spelling, so they hang off `dataSet` attributes in an adopted
104
+ // sheet. `adoptStyleSheet` no-ops without a document.
105
+ // ---------------------------------------------------------------------------
106
+
107
+ export const LISTING_CARD_STYLE_ID = 'bloom-listing-card-web-css';
108
+ const CARD = '[data-bloom-listing-card]';
109
+ const LINK = '[data-bloom-listing-card-link]';
110
+ const TRACK = '[data-bloom-listing-card-track]';
111
+ const ARROW = '[data-bloom-listing-card-arrow]';
112
+ const DOT = '[data-bloom-listing-card-dot]';
113
+ const FAVORITE = '[data-bloom-favorite-button]';
114
+ const WISHLIST = '[data-bloom-wishlist-card]';
115
+ export const LISTING_CARD_CSS = `
116
+ ${LINK}, ${WISHLIST} {
117
+ outline: none;
118
+ text-decoration: none;
119
+ color: inherit;
120
+ }
121
+ ${LINK}:focus-visible, ${WISHLIST}:focus-visible {
122
+ outline: 2px solid var(--bloom-listing-card-ring, currentColor);
123
+ outline-offset: 4px;
124
+ border-radius: ${PHOTO_RADIUS + 4}px;
125
+ }
126
+ ${TRACK} {
127
+ scroll-snap-type: x mandatory;
128
+ overscroll-behavior-x: contain;
129
+ scrollbar-width: none;
130
+ }
131
+ ${TRACK}::-webkit-scrollbar {
132
+ display: none;
133
+ }
134
+ ${TRACK} [data-bloom-listing-card-slide] {
135
+ scroll-snap-align: start;
136
+ scroll-snap-stop: always;
137
+ }
138
+ ${ARROW} {
139
+ opacity: 0;
140
+ transition: opacity 150ms ease-out;
141
+ }
142
+ @media (any-hover: hover) {
143
+ ${CARD}:hover ${ARROW}, ${ARROW}:focus-within {
144
+ opacity: 1;
145
+ }
146
+ }
147
+ @media (any-hover: none) {
148
+ ${ARROW} {
149
+ display: none;
150
+ }
151
+ }
152
+ ${DOT} {
153
+ transition: width 200ms ease-out, height 200ms ease-out, opacity 200ms ease-out;
154
+ }
155
+ ${FAVORITE} {
156
+ outline: none;
157
+ cursor: pointer;
158
+ }
159
+ ${FAVORITE}:focus-visible {
160
+ outline: 2px solid var(--bloom-listing-card-ring, currentColor);
161
+ outline-offset: 0;
162
+ }
163
+ @media (prefers-reduced-motion: reduce) {
164
+ ${ARROW}, ${DOT} {
165
+ transition: none;
166
+ }
167
+ }
168
+ `;
169
+ //# sourceMappingURL=shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","colorRamp","DANGER_TABLE","mixColor","resolveButtonRamps","resolveMenuPalette","IS_WEB","OS","PHOTO_RADIUS","PHOTO_ASPECT_RATIO","HORIZONTAL_PHOTO_WIDTH","MAX_DOTS","DOT_SIZE","DOT_EDGE_SIZE","HEART_SCRIM_OPACITY","DOT_INACTIVE_OPACITY","resolveListingCardPaint","theme","accent","neutral","n","red","colors","error","menu","photoPlaceholder","isDark","onMedia","scrim","favorite","surface","surfaceText","text","surfaceShadow","shadow","textSecondary","ring","isUrl","value","startsWith","resolvePhoto","photo","resolver","variant","undefined","listingGridColumns","width","dotWindow","count","active","visible","Math","min","start","max","floor","end","slots","index","moreBefore","moreAfter","push","size","webData","data","dataSet","LISTING_CARD_STYLE_ID","CARD","LINK","TRACK","ARROW","DOT","FAVORITE","WISHLIST","LISTING_CARD_CSS"],"sourceRoot":"../../../src","sources":["listing-card/shared.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,SAASC,SAAS,EAAEC,YAAY,EAAEC,QAAQ,EAAEC,kBAAkB,QAAQ,qBAAkB;AACxF,SAASC,kBAAkB,QAAQ,6BAA0B;AAI7D,OAAO,MAAMC,MAAM,GAAGN,QAAQ,CAACO,EAAE,KAAK,KAAK;;AAE3C;AACA,OAAO,MAAMC,YAAY,GAAG,EAAE;AAC9B;AACA,OAAO,MAAMC,kBAAkB,GAAG,EAAE,GAAG,EAAE;AACzC;AACA,OAAO,MAAMC,sBAAsB,GAAG,KAAK;AAC3C;AACA,OAAO,MAAMC,QAAQ,GAAG,CAAC;AACzB,OAAO,MAAMC,QAAQ,GAAG,CAAC;AACzB;AACA,OAAO,MAAMC,aAAa,GAAG,CAAC;AAoB9B;AACA,OAAO,MAAMC,mBAAmB,GAAG,GAAG;AACtC;AACA,OAAO,MAAMC,oBAAoB,GAAG,GAAG;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACC,KAAY,EAAoB;EACtE,MAAM;IAAEC,MAAM;IAAEC,OAAO,EAAEC;EAAE,CAAC,GAAGhB,kBAAkB,CAACa,KAAK,CAAC;EACxD;EACA;EACA,MAAMI,GAAG,GAAGpB,SAAS,CAACgB,KAAK,CAACK,MAAM,CAACC,KAAK,EAAErB,YAAY,CAAC;EACvD,MAAMsB,IAAI,GAAGnB,kBAAkB,CAACY,KAAK,CAAC;EACtC,OAAO;IACLQ,gBAAgB,EAAER,KAAK,CAACS,MAAM,GAAGvB,QAAQ,CAACiB,CAAC,CAAC,GAAG,CAAC,EAAEA,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,GAAGA,CAAC,CAAC,GAAG,CAAC;IACvEO,OAAO,EAAEP,CAA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QAAQ,GAAG,8BAA8B;AAC/C,MAAMC,QAAQ,GAAG,4BAA4B;AAE7C,OAAO,MAAMC,gBAAgB,GAAG;AAChC,EAAEN,IAAI,KAAKK,QAAQ;AACnB;AACA;AACA;AACA;AACA,EAAEL,IAAI,mBAAmBK,QAAQ;AACjC;AACA;AACA,mBAAmBjE,YAAY,GAAG,CAAC;AACnC;AACA,EAAE6D,KAAK;AACP;AACA;AACA;AACA;AACA,EAAEA,KAAK;AACP;AACA;AACA,EAAEA,KAAK;AACP;AACA;AACA;AACA,EAAEC,KAAK;AACP;AACA;AACA;AACA;AACA,IAAIH,IAAI,UAAUG,KAAK,KAAKA,KAAK;AACjC;AACA;AACA;AACA;AACA,IAAIA,KAAK;AACT;AACA;AACA;AACA,EAAEC,GAAG;AACL;AACA;AACA,EAAEC,QAAQ;AACV;AACA;AACA;AACA,EAAEA,QAAQ;AACV;AACA;AACA;AACA;AACA,IAAIF,KAAK,KAAKC,GAAG;AACjB;AACA;AACA;AACA,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["listing-card/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+
3
+ import React, { memo, useMemo } from 'react';
4
+ import { View } from 'react-native';
5
+ import { Button } from '../button';
6
+ import { useTheme } from "../theme/use-theme.js";
7
+ import { Text } from "../typography/index.js";
8
+ import { AMENITY_LIST_TWO_COLUMN_MIN_WIDTH } from "./constants.js";
9
+ import { resolveListingPalette } from "./shared.js";
10
+ import { useContainerWidth } from "./use-container-width.js";
11
+
12
+ /**
13
+ * What a listing offers: icon + label rows in one or two columns.
14
+ *
15
+ * row icon 24 + gap 16 + label, 12 above and below
16
+ * columns `auto` is 2 from 560 wide; columns 24 apart
17
+ * label body-regular, text-primary
18
+ * description body-2-regular, text-secondary
19
+ * unavailable label struck through, icon text-tertiary; announced
20
+ * "Unavailable: <label>"
21
+ * show all a medium secondary Button, 24 under the rows, when `onShowAll`
22
+ * is set and more exist than are drawn
23
+ */
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
+ const COLUMN_GAP = 24;
26
+ function AmenityListComponent({
27
+ items,
28
+ columns = 'auto',
29
+ limit,
30
+ onShowAll,
31
+ total,
32
+ showAllLabel,
33
+ unavailableLabel = 'Unavailable',
34
+ style,
35
+ testID
36
+ }) {
37
+ const theme = useTheme();
38
+ const palette = useMemo(() => resolveListingPalette(theme), [theme]);
39
+ const {
40
+ width,
41
+ onLayout
42
+ } = useContainerWidth();
43
+ const count = columns === 'auto' ? width != null && width >= AMENITY_LIST_TWO_COLUMN_MIN_WIDTH ? 2 : 1 : columns;
44
+ const shown = limit != null && limit >= 0 ? items.slice(0, limit) : items;
45
+ const fullCount = Math.max(total ?? items.length, items.length);
46
+ const hasMore = fullCount > shown.length;
47
+ const buttonLabel = showAllLabel ? showAllLabel(fullCount) : `Show all ${fullCount} amenities`;
48
+ return /*#__PURE__*/_jsxs(View, {
49
+ onLayout: onLayout,
50
+ style: [{
51
+ width: '100%',
52
+ gap: 24
53
+ }, style],
54
+ testID: testID,
55
+ children: [/*#__PURE__*/_jsx(View, {
56
+ role: "list",
57
+ style: {
58
+ flexDirection: 'row',
59
+ flexWrap: 'wrap',
60
+ columnGap: COLUMN_GAP
61
+ },
62
+ children: shown.map(({
63
+ label,
64
+ icon: Icon,
65
+ description,
66
+ available = true
67
+ }, index) => /*#__PURE__*/_jsxs(View, {
68
+ role: "listitem",
69
+ accessible: true,
70
+ accessibilityLabel: available ? label : `${unavailableLabel}: ${label}`,
71
+ testID: testID ? `${testID}-item-${index}` : undefined,
72
+ style: {
73
+ // Two columns share the row less the 24px column gap.
74
+ width: count === 2 && width != null ? Math.floor((width - COLUMN_GAP) / 2) : '100%',
75
+ flexDirection: 'row',
76
+ alignItems: 'center',
77
+ gap: 16,
78
+ paddingTop: 12,
79
+ paddingBottom: 12
80
+ },
81
+ children: [Icon ? /*#__PURE__*/_jsx(Icon, {
82
+ width: 24,
83
+ height: 24,
84
+ fill: available ? palette.text : palette.muted
85
+ }) : null, /*#__PURE__*/_jsxs(View, {
86
+ style: {
87
+ flex: 1,
88
+ minWidth: 0,
89
+ gap: 2
90
+ },
91
+ children: [/*#__PURE__*/_jsx(Text, {
92
+ variant: "body-regular",
93
+ style: {
94
+ color: available ? palette.text : palette.textSecondary,
95
+ textDecorationLine: available ? 'none' : 'line-through'
96
+ },
97
+ testID: testID ? `${testID}-item-${index}-label` : undefined,
98
+ children: label
99
+ }), description ? /*#__PURE__*/_jsx(Text, {
100
+ variant: "body-2-regular",
101
+ style: {
102
+ color: palette.textSecondary
103
+ },
104
+ children: description
105
+ }) : null]
106
+ })]
107
+ }, `${label}-${index}`))
108
+ }), onShowAll && hasMore ? /*#__PURE__*/_jsx(View, {
109
+ style: {
110
+ flexDirection: 'row'
111
+ },
112
+ children: /*#__PURE__*/_jsx(Button, {
113
+ variant: "secondary",
114
+ onPress: onShowAll,
115
+ testID: testID ? `${testID}-show-all` : undefined,
116
+ children: buttonLabel
117
+ })
118
+ }) : null]
119
+ });
120
+ }
121
+ export const AmenityList = /*#__PURE__*/memo(AmenityListComponent);
122
+ AmenityList.displayName = 'AmenityList';
123
+ //# sourceMappingURL=AmenityList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","memo","useMemo","View","Button","useTheme","Text","AMENITY_LIST_TWO_COLUMN_MIN_WIDTH","resolveListingPalette","useContainerWidth","jsx","_jsx","jsxs","_jsxs","COLUMN_GAP","AmenityListComponent","items","columns","limit","onShowAll","total","showAllLabel","unavailableLabel","style","testID","theme","palette","width","onLayout","count","shown","slice","fullCount","Math","max","length","hasMore","buttonLabel","gap","children","role","flexDirection","flexWrap","columnGap","map","label","icon","Icon","description","available","index","accessible","accessibilityLabel","undefined","floor","alignItems","paddingTop","paddingBottom","height","fill","text","muted","flex","minWidth","variant","color","textSecondary","textDecorationLine","onPress","AmenityList","displayName"],"sourceRoot":"../../../src","sources":["listing-details/AmenityList.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,iCAAiC,QAAQ,gBAAa;AAC/D,SAASC,qBAAqB,QAAQ,aAAU;AAEhD,SAASC,iBAAiB,QAAQ,0BAAuB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYA,MAAMC,UAAU,GAAG,EAAE;AAErB,SAASC,oBAAoBA,CAAC;EAC5BC,KAAK;EACLC,OAAO,GAAG,MAAM;EAChBC,KAAK;EACLC,SAAS;EACTC,KAAK;EACLC,YAAY;EACZC,gBAAgB,GAAG,aAAa;EAChCC,KAAK;EACLC;AACgB,CAAC,EAAE;EACnB,MAAMC,KAAK,GAAGpB,QAAQ,CAAC,CAAC;EACxB,MAAMqB,OAAO,GAAGxB,OAAO,CAAC,MAAMM,qBAAqB,CAACiB,KAAK,CAAC,EAAE,CAACA,KAAK,CAAC,CAAC;EACpE,MAAM;IAAEE,KAAK;IAAEC;EAAS,CAAC,GAAGnB,iBAAiB,CAAC,CAAC;EAE/C,MAAMoB,KAAK,GACTZ,OAAO,KAAK,MAAM,GAAIU,KAAK,IAAI,IAAI,IAAIA,KAAK,IAAIpB,iCAAiC,GAAG,CAAC,GAAG,CAAC,GAAIU,OAAO;EACtG,MAAMa,KAAK,GAAGZ,KAAK,IAAI,IAAI,IAAIA,KAAK,IAAI,CAAC,GAAGF,KAAK,CAACe,KAAK,CAAC,CAAC,EAAEb,KAAK,CAAC,GAAGF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