@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,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CountFilter = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _useTheme = require("../theme/use-theme.js");
10
+ var _index = require("../typography/index.js");
11
+ var _FilterChip = require("./FilterChip.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
14
+ /**
15
+ * A minimum count ("Bedrooms") picked from a row of pills: "Any", then
16
+ * `min`..`max`, the last reading `8+`.
17
+ *
18
+ * title body-regular, text-primary, 16 above the pills
19
+ * pills the filter pill (40 tall, full pill), 8 apart; the selected one is
20
+ * inverted. One row that scrolls sideways when it does not fit, so the
21
+ * counts stay in reading order on a narrow screen instead of wrapping.
22
+ *
23
+ * Single select, and never empty: "Any" is the `null` value. A `radiogroup` of
24
+ * `radio`s, named by `title` — each pill names only its number.
25
+ *
26
+ * For an exact count the user nudges rather than picks (beds on a small
27
+ * screen), `StepperRow` from `@oxy.so/bloom/stepper` is the alternative.
28
+ */
29
+ function CountFilterComponent({
30
+ title,
31
+ value,
32
+ onValueChange,
33
+ max = 8,
34
+ min = 1,
35
+ anyLabel = 'Any',
36
+ formatCount = (n, isMax) => isMax ? `${n}+` : String(n),
37
+ accessibilityLabel,
38
+ disabled = false,
39
+ style,
40
+ testID
41
+ }) {
42
+ const theme = (0, _useTheme.useTheme)();
43
+ const name = accessibilityLabel ?? (typeof title === 'string' ? title : undefined);
44
+ const counts = [];
45
+ for (let n = min; n <= max; n += 1) counts.push(n);
46
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
47
+ testID: testID,
48
+ style: [{
49
+ gap: 16
50
+ }, style],
51
+ children: [typeof title === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Text, {
52
+ variant: "body-regular",
53
+ style: {
54
+ color: theme.colors.text
55
+ },
56
+ children: title
57
+ }) : title, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
58
+ horizontal: true,
59
+ showsHorizontalScrollIndicator: false,
60
+ role: "radiogroup",
61
+ accessibilityLabel: name,
62
+ "aria-disabled": disabled || undefined
63
+ // 4px of room on every side so a pill's focus ring is not clipped by the
64
+ // scroller, taken back out with negative margins so the pills still
65
+ // line up with the title.
66
+ ,
67
+ style: {
68
+ marginTop: -4,
69
+ marginBottom: -4,
70
+ marginLeft: -4,
71
+ marginRight: -4
72
+ },
73
+ contentContainerStyle: {
74
+ flexDirection: 'row',
75
+ gap: 8,
76
+ paddingTop: 4,
77
+ paddingBottom: 4,
78
+ paddingLeft: 4,
79
+ paddingRight: 4
80
+ },
81
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilterChip.FilterChip, {
82
+ mode: "radio",
83
+ label: anyLabel,
84
+ selected: value == null,
85
+ onPress: () => onValueChange(null),
86
+ disabled: disabled,
87
+ testID: testID ? `${testID}-any` : undefined
88
+ }), counts.map(n => /*#__PURE__*/(0, _jsxRuntime.jsx)(_FilterChip.FilterChip, {
89
+ mode: "radio",
90
+ label: formatCount(n, n === max),
91
+ selected: value === n,
92
+ onPress: () => onValueChange(n),
93
+ disabled: disabled,
94
+ testID: testID ? `${testID}-${n}` : undefined
95
+ }, n))]
96
+ })]
97
+ });
98
+ }
99
+ const CountFilter = exports.CountFilter = /*#__PURE__*/(0, _react.memo)(CountFilterComponent);
100
+ CountFilter.displayName = 'CountFilter';
101
+ //# sourceMappingURL=CountFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useTheme","_index","_FilterChip","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CountFilterComponent","title","value","onValueChange","max","min","anyLabel","formatCount","isMax","String","accessibilityLabel","disabled","style","testID","theme","useTheme","name","undefined","counts","push","jsxs","View","gap","children","jsx","Text","variant","color","colors","text","ScrollView","horizontal","showsHorizontalScrollIndicator","role","marginTop","marginBottom","marginLeft","marginRight","contentContainerStyle","flexDirection","paddingTop","paddingBottom","paddingLeft","paddingRight","FilterChip","mode","label","selected","onPress","map","CountFilter","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["stay-filters/CountFilter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAA0C,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,wBAAAO,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,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AEkB,UAAU,EAAE,CAAC;QAAEC,aAAa,EAAE,CAAC;QAAEC,WAAW,EAAE,CAAC;QAAEC,YAAY,EAAE;MAAE,CAAE;MAAApB,QAAA,gBAE1H,IAAA3C,WAAA,CAAA4C,GAAA,EAAC7C,WAAA,CAAAiE,UAAU;QACTC,IAAI,EAAC,OAAO;QACZC,KAAK,EAAExC,QAAS;QAChByC,QAAQ,EAAE7C,KAAK,IAAI,IAAK;QACxB8C,OAAO,EAAEA,CAAA,KAAM7C,aAAa,CAAC,IAAI,CAAE;QACnCQ,QAAQ,EAAEA,QAAS;QACnBE,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,MAAM,GAAGI;MAAU,CAC9C,CAAC,EACDC,MAAM,CAAC+B,GAAG,CAAEhE,CAAC,iBACZ,IAAAL,WAAA,CAAA4C,GAAA,EAAC7C,WAAA,CAAAiE,UAAU;QAETC,IAAI,EAAC,OAAO;QACZC,KAAK,EAAEvC,WAAW,CAACtB,CAAC,EAAEA,CAAC,KAAKmB,GAAG,CAAE;QACjC2C,QAAQ,EAAE7C,KAAK,KAAKjB,CAAE;QACtB+D,OAAO,EAAEA,CAAA,KAAM7C,aAAa,CAAClB,CAAC,CAAE;QAChC0B,QAAQ,EAAEA,QAAS;QACnBE,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,IAAI5B,CAAC,EAAE,GAAGgC;MAAU,GANzChC,CAON,CACF,CAAC;IAAA,CACQ,CAAC;EAAA,CACT,CAAC;AAEX;AAEO,MAAMiE,WAAW,GAAAC,OAAA,CAAAD,WAAA,gBAAG,IAAAE,WAAI,EAACpD,oBAAoB,CAAC;AACrDkD,WAAW,CAACG,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FilterChip = exports.FILTER_CHIP_HEIGHT = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _shared = require("../button/shared.js");
10
+ var _shared2 = require("../checkbox/shared.js");
11
+ var _useInteractionState = require("../hooks/use-interaction-state.js");
12
+ var _adoptStyleSheet = require("../styles/adopt-style-sheet.js");
13
+ var _tokens = require("../styles/tokens.js");
14
+ var _useTheme = require("../theme/use-theme.js");
15
+ var _index = require("../typography/index.js");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
18
+ /**
19
+ * The selectable pill both chip filters are built from. Internal: `CountFilter`
20
+ * uses it as a radio, `ToggleChipGroup` as a toggle button.
21
+ *
22
+ * geometry 40 tall, full pill, 1px border, px 16 (12 before an icon),
23
+ * 8 between icon (18) and label; minWidth 48 so "1" is not a dot
24
+ * label body-medium
25
+ * rest transparent fill, border neutral-200 (dark neutral-700), text-primary
26
+ * hover border text-primary (web pointer only)
27
+ * press fill neutral-100 (dark neutral-800)
28
+ * selected INVERTED: fill + border text-primary, label + icon the page
29
+ * background — the page's own reading pair turned over, so it is
30
+ * legible in both modes and under every preset
31
+ * disabled 50% opacity
32
+ *
33
+ * Why not `Chip`: its tallest size is 28 (too small a target for a filters
34
+ * sheet on touch) and its selected state promotes to the brand tone, where
35
+ * these pills invert. Colour change only on hover and press — no scale.
36
+ */
37
+
38
+ const STYLE_ID = 'bloom-filter-chip-web-css';
39
+ const SELECTOR = '[data-bloom-filter-chip]';
40
+ const FILTER_CHIP_CSS = `
41
+ ${SELECTOR} {
42
+ outline: none;
43
+ cursor: pointer;
44
+ transition: background-color 120ms ease, border-color 120ms ease;
45
+ }
46
+ ${SELECTOR}[aria-disabled="true"] {
47
+ cursor: default;
48
+ }
49
+ ${SELECTOR}:focus-visible {
50
+ box-shadow: 0 0 0 2px ${_shared2.FOCUS_RING_OFFSET_COLOR}, 0 0 0 4px var(--bloom-filter-chip-ring, currentColor);
51
+ }
52
+ `;
53
+ const FILTER_CHIP_HEIGHT = exports.FILTER_CHIP_HEIGHT = 40;
54
+ const ICON_SIZE = 18;
55
+ function FilterChipComponent({
56
+ label,
57
+ selected,
58
+ onPress,
59
+ mode,
60
+ icon: Icon,
61
+ disabled = false,
62
+ testID
63
+ }) {
64
+ const theme = (0, _useTheme.useTheme)();
65
+ (0, _react.useEffect)(() => {
66
+ (0, _adoptStyleSheet.adoptStyleSheet)(STYLE_ID, FILTER_CHIP_CSS);
67
+ }, []);
68
+ const {
69
+ accent,
70
+ neutral
71
+ } = (0, _react.useMemo)(() => (0, _shared.resolveButtonRamps)(theme), [theme]);
72
+ const {
73
+ state: hovered,
74
+ onIn: onHoverIn,
75
+ onOut: onHoverOut
76
+ } = (0, _useInteractionState.useInteractionState)();
77
+ const {
78
+ state: pressed,
79
+ onIn: onPressIn,
80
+ onOut: onPressOut
81
+ } = (0, _useInteractionState.useInteractionState)();
82
+ const dark = theme.isDark;
83
+ const text = theme.colors.text;
84
+ const foreground = selected ? theme.colors.background : text;
85
+ const active = !disabled;
86
+ const style = {
87
+ height: FILTER_CHIP_HEIGHT,
88
+ minWidth: 48,
89
+ paddingLeft: Icon ? 12 : 16,
90
+ paddingRight: 16,
91
+ borderRadius: _tokens.borderRadius.full,
92
+ borderWidth: 1,
93
+ borderColor: selected || hovered && active ? text : dark ? neutral[700] : neutral[200],
94
+ backgroundColor: selected ? text : pressed && active ? dark ? neutral[800] : neutral[100] : 'transparent',
95
+ flexDirection: 'row',
96
+ alignItems: 'center',
97
+ justifyContent: 'center',
98
+ gap: 8,
99
+ flexShrink: 0,
100
+ opacity: disabled ? 0.5 : 1,
101
+ '--bloom-filter-chip-ring': accent[500]
102
+ };
103
+ const stateProps = mode === 'radio' ? {
104
+ accessibilityState: {
105
+ checked: selected,
106
+ disabled
107
+ },
108
+ 'aria-checked': selected
109
+ } : {
110
+ accessibilityState: {
111
+ selected,
112
+ disabled
113
+ },
114
+ 'aria-pressed': selected
115
+ };
116
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
117
+ role: mode === 'radio' ? 'radio' : 'button',
118
+ accessibilityLabel: label,
119
+ ...stateProps,
120
+ "aria-disabled": disabled || undefined,
121
+ disabled: disabled,
122
+ onPress: onPress,
123
+ onPressIn: onPressIn,
124
+ onPressOut: onPressOut,
125
+ onHoverIn: onHoverIn,
126
+ onHoverOut: onHoverOut,
127
+ testID: testID,
128
+ ...(0, _shared2.webDataSet)({
129
+ bloomFilterChip: ''
130
+ }),
131
+ style: style,
132
+ children: [Icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
133
+ style: {
134
+ width: ICON_SIZE,
135
+ height: ICON_SIZE,
136
+ alignItems: 'center',
137
+ justifyContent: 'center'
138
+ },
139
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
140
+ width: ICON_SIZE,
141
+ height: ICON_SIZE,
142
+ fill: foreground
143
+ })
144
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Text, {
145
+ variant: "body-medium",
146
+ numberOfLines: 1,
147
+ style: {
148
+ color: foreground
149
+ },
150
+ children: label
151
+ })]
152
+ });
153
+ }
154
+ const FilterChip = exports.FilterChip = /*#__PURE__*/(0, _react.memo)(FilterChipComponent);
155
+ FilterChip.displayName = 'FilterChip';
156
+ //# sourceMappingURL=FilterChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_shared","_shared2","_useInteractionState","_adoptStyleSheet","_tokens","_useTheme","_index","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","STYLE_ID","SELECTOR","FILTER_CHIP_CSS","FOCUS_RING_OFFSET_COLOR","FILTER_CHIP_HEIGHT","exports","ICON_SIZE","FilterChipComponent","label","selected","onPress","mode","icon","Icon","disabled","testID","theme","useTheme","useEffect","adoptStyleSheet","accent","neutral","useMemo","resolveButtonRamps","state","hovered","onIn","onHoverIn","onOut","onHoverOut","useInteractionState","pressed","onPressIn","onPressOut","dark","isDark","text","colors","foreground","background","active","style","height","minWidth","paddingLeft","paddingRight","borderRadius","full","borderWidth","borderColor","backgroundColor","flexDirection","alignItems","justifyContent","gap","flexShrink","opacity","stateProps","accessibilityState","checked","jsxs","Pressable","role","accessibilityLabel","undefined","webDataSet","bloomFilterChip","children","jsx","View","width","fill","Text","variant","numberOfLines","color","FilterChip","memo","displayName"],"sourceRoot":"../../../src","sources":["stay-filters/FilterChip.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAEA,IAAAO,SAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AAAqC,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAA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EAAE;QAAE6B,KAAK,EAAEhE,SAAS;QAAEoC,MAAM,EAAEpC,SAAS;QAAE8C,UAAU,EAAE,QAAQ;QAAEC,cAAc,EAAE;MAAS,CAAE;MAAAc,QAAA,eACnG,IAAAvF,WAAA,CAAAwF,GAAA,EAACvD,IAAI;QAACyD,KAAK,EAAEhE,SAAU;QAACoC,MAAM,EAAEpC,SAAU;QAACiE,IAAI,EAAEjC;MAAW,CAAE;IAAC,CAC3D,CAAC,GACL,IAAI,eACR,IAAA1D,WAAA,CAAAwF,GAAA,EAACzF,MAAA,CAAA6F,IAAI;MAACC,OAAO,EAAC,aAAa;MAACC,aAAa,EAAE,CAAE;MAACjC,KAAK,EAAE;QAAEkC,KAAK,EAAErC;MAAW,CAAE;MAAA6B,QAAA,EACxE3D;IAAK,CACF,CAAC;EAAA,CACE,CAAC;AAEhB;AAEO,MAAMoE,UAAU,GAAAvE,OAAA,CAAAuE,UAAA,gBAAG,IAAAC,WAAI,EAACtE,mBAAmB,CAAC;AACnDqE,UAAU,CAACE,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FilterFooter = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _button = require("../button");
10
+ var _shared = require("../button/shared.js");
11
+ var _useTheme = require("../theme/use-theme.js");
12
+ var _FilterTextButton = require("./FilterTextButton.js");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
+ /**
16
+ * The action bar under a filters surface.
17
+ *
18
+ * bar 1px hairline on top (neutral-200, dark neutral-800), page
19
+ * background, py 16 px 24
20
+ * left "Clear all" — underlined body-semibold text-primary
21
+ * right primary `Button` at `large`, labelled by `resultsLabel`; `loading`
22
+ * is the Button's own loading state (spinner, width kept, presses
23
+ * ignored) while the count is fetched
24
+ *
25
+ * It is sticky by PLACEMENT, not by positioning: render it after the scrolling
26
+ * body, outside it, so it stays put while the sections scroll (see the docs).
27
+ */
28
+ function FilterFooterComponent({
29
+ resultsLabel,
30
+ onApply,
31
+ onClear,
32
+ clearLabel = 'Clear all',
33
+ clearDisabled = false,
34
+ loading = false,
35
+ applyDisabled = false,
36
+ style,
37
+ testID
38
+ }) {
39
+ const theme = (0, _useTheme.useTheme)();
40
+ const {
41
+ neutral
42
+ } = (0, _react.useMemo)(() => (0, _shared.resolveButtonRamps)(theme), [theme]);
43
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
44
+ testID: testID,
45
+ style: [{
46
+ flexDirection: 'row',
47
+ alignItems: 'center',
48
+ justifyContent: 'space-between',
49
+ gap: 16,
50
+ paddingTop: 16,
51
+ paddingBottom: 16,
52
+ paddingLeft: 24,
53
+ paddingRight: 24,
54
+ borderTopWidth: 1,
55
+ borderTopColor: theme.isDark ? neutral[800] : neutral[200],
56
+ backgroundColor: theme.colors.background
57
+ }, style],
58
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilterTextButton.FilterTextButton, {
59
+ label: clearLabel,
60
+ onPress: onClear,
61
+ disabled: clearDisabled,
62
+ testID: testID ? `${testID}-clear` : undefined
63
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
64
+ variant: "primary",
65
+ size: "large",
66
+ onPress: onApply,
67
+ loading: loading,
68
+ disabled: applyDisabled,
69
+ accessibilityLabel: resultsLabel,
70
+ testID: testID ? `${testID}-apply` : undefined,
71
+ children: resultsLabel
72
+ })]
73
+ });
74
+ }
75
+ const FilterFooter = exports.FilterFooter = /*#__PURE__*/(0, _react.memo)(FilterFooterComponent);
76
+ FilterFooter.displayName = 'FilterFooter';
77
+ //# sourceMappingURL=FilterFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_button","_shared","_useTheme","_FilterTextButton","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FilterFooterComponent","resultsLabel","onApply","onClear","clearLabel","clearDisabled","loading","applyDisabled","style","testID","theme","useTheme","neutral","useMemo","resolveButtonRamps","jsxs","View","flexDirection","alignItems","justifyContent","gap","paddingTop","paddingBottom","paddingLeft","paddingRight","borderTopWidth","borderTopColor","isDark","backgroundColor","colors","background","children","jsx","FilterTextButton","label","onPress","disabled","undefined","Button","variant","size","accessibilityLabel","FilterFooter","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["stay-filters/FilterFooter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AAAsD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,wBAAAQ,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBAAA,YAAAA,CAAAQ,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAA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
4
+ value: true
5
+ });
6
+ exports.FilterSection = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _shared = require("../button/shared.js");
10
+ var _useTheme = require("../theme/use-theme.js");
11
+ var _index = require("../typography/index.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
14
+ /**
15
+ * One block of a filters surface.
16
+ *
17
+ * padding 32 above and below
18
+ * title headline-semibold, text-primary, `role="heading"`
19
+ * description body-regular, text-secondary, 4 under the title
20
+ * content 24 under the heading block
21
+ * divider 1px hairline under the section, neutral-200 (dark neutral-800)
22
+ * — `Divider`'s stop, the same one `StepperRow` draws
23
+ *
24
+ * No horizontal padding: the surface the sections stack in owns the side inset,
25
+ * so a section lines up with that surface's own header and footer.
26
+ */
27
+ function FilterSectionComponent({
28
+ title,
29
+ description,
30
+ children,
31
+ divider = true,
32
+ accessibilityLabel,
33
+ style,
34
+ testID
35
+ }) {
36
+ const theme = (0, _useTheme.useTheme)();
37
+ const {
38
+ neutral
39
+ } = (0, _react.useMemo)(() => (0, _shared.resolveButtonRamps)(theme), [theme]);
40
+ const name = accessibilityLabel ?? (typeof title === 'string' ? title : undefined);
41
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
42
+ testID: testID,
43
+ role: "group",
44
+ accessibilityLabel: name,
45
+ style: [{
46
+ paddingTop: 32,
47
+ paddingBottom: 32,
48
+ borderBottomWidth: divider ? 1 : 0,
49
+ borderBottomColor: theme.isDark ? neutral[800] : neutral[200]
50
+ }, style],
51
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
52
+ style: {
53
+ gap: 4
54
+ },
55
+ children: [typeof title === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Text, {
56
+ variant: "headline-semibold",
57
+ role: "heading",
58
+ "aria-level": 3,
59
+ style: {
60
+ color: theme.colors.text
61
+ },
62
+ children: title
63
+ }) : title, description == null ? null : typeof description === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Text, {
64
+ variant: "body-regular",
65
+ style: {
66
+ color: theme.colors.textSecondary
67
+ },
68
+ children: description
69
+ }) : description]
70
+ }), children == null ? null : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
71
+ style: {
72
+ marginTop: 24
73
+ },
74
+ children: children
75
+ })]
76
+ });
77
+ }
78
+ const FilterSection = exports.FilterSection = /*#__PURE__*/(0, _react.memo)(FilterSectionComponent);
79
+ FilterSection.displayName = 'FilterSection';
80
+ //# sourceMappingURL=FilterSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_shared","_useTheme","_index","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FilterSectionComponent","title","description","children","divider","accessibilityLabel","style","testID","theme","useTheme","neutral","useMemo","resolveButtonRamps","name","undefined","jsxs","View","role","paddingTop","paddingBottom","borderBottomWidth","borderBottomColor","isDark","gap","jsx","Text","variant","color","colors","text","textSecondary","marginTop","FilterSection","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["stay-filters/FilterSection.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OA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B,WAAA,CAAA4C,GAAA,EAAC7C,MAAA,CAAA8C,IAAI;QAACC,OAAO,EAAC,cAAc;QAACpB,KAAK,EAAE;UAAEqB,KAAK,EAAEnB,KAAK,CAACoB,MAAM,CAACE;QAAc,CAAE;QAAA3B,QAAA,EACvED;MAAW,CACR,CAAC,GAEPA,WACD;IAAA,CACG,CAAC,EACNC,QAAQ,IAAI,IAAI,GAAG,IAAI,gBAAG,IAAAvB,WAAA,CAAA4C,GAAA,EAAChD,YAAA,CAAAwC,IAAI;MAACV,KAAK,EAAE;QAAEyB,SAAS,EAAE;MAAG,CAAE;MAAA5B,QAAA,EAAEA;IAAQ,CAAO,CAAC;EAAA,CACxE,CAAC;AAEX;AAEO,MAAM6B,aAAa,GAAAC,OAAA,CAAAD,aAAA,gBAAG,IAAAE,WAAI,EAAClC,sBAAsB,CAAC;AACzDgC,aAAa,CAACG,WAAW,GAAG,eAAe","ignoreList":[]}
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FilterTextButton = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _shared = require("../button/shared.js");
10
+ var _shared2 = require("../checkbox/shared.js");
11
+ var _useInteractionState = require("../hooks/use-interaction-state.js");
12
+ var _adoptStyleSheet = require("../styles/adopt-style-sheet.js");
13
+ var _useTheme = require("../theme/use-theme.js");
14
+ var _index = require("../typography/index.js");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
17
+ /**
18
+ * The underlined text action of a filters surface ("Clear all", "Show more").
19
+ * Internal.
20
+ *
21
+ * label body-semibold, text-primary, underlined
22
+ * hover text-secondary (web pointer); press the same — colour only
23
+ * disabled text-tertiary, not pressable
24
+ * target 8px of padding around the label, taken back out with negative
25
+ * margins so the underline still aligns with the content edge
26
+ *
27
+ * Why not `Button`: its `link` variant paints the accent (or neutral-500) and
28
+ * underlines only on hover; here the underline IS the affordance at rest and the
29
+ * label stays the reading colour, so it sits quietly beside the primary action.
30
+ */const STYLE_ID = 'bloom-filter-text-button-web-css';
31
+ const SELECTOR = '[data-bloom-filter-text-button]';
32
+ const CSS = `
33
+ ${SELECTOR} {
34
+ outline: none;
35
+ cursor: pointer;
36
+ }
37
+ ${SELECTOR}[aria-disabled="true"] {
38
+ cursor: default;
39
+ }
40
+ ${SELECTOR}:focus-visible {
41
+ box-shadow: 0 0 0 2px ${_shared2.FOCUS_RING_OFFSET_COLOR}, 0 0 0 4px var(--bloom-filter-text-button-ring, currentColor);
42
+ }
43
+ `;
44
+ const PAD = 8;
45
+ function FilterTextButtonComponent({
46
+ label,
47
+ onPress,
48
+ disabled = false,
49
+ expanded,
50
+ testID
51
+ }) {
52
+ const theme = (0, _useTheme.useTheme)();
53
+ (0, _react.useEffect)(() => {
54
+ (0, _adoptStyleSheet.adoptStyleSheet)(STYLE_ID, CSS);
55
+ }, []);
56
+ const {
57
+ accent
58
+ } = (0, _react.useMemo)(() => (0, _shared.resolveButtonRamps)(theme), [theme]);
59
+ const {
60
+ state: hovered,
61
+ onIn: onHoverIn,
62
+ onOut: onHoverOut
63
+ } = (0, _useInteractionState.useInteractionState)();
64
+ const {
65
+ state: pressed,
66
+ onIn: onPressIn,
67
+ onOut: onPressOut
68
+ } = (0, _useInteractionState.useInteractionState)();
69
+ const color = disabled ? theme.colors.textTertiary : hovered || pressed ? theme.colors.textSecondary : theme.colors.text;
70
+ const style = {
71
+ paddingTop: PAD,
72
+ paddingBottom: PAD,
73
+ paddingLeft: PAD,
74
+ paddingRight: PAD,
75
+ marginTop: -PAD,
76
+ marginBottom: -PAD,
77
+ marginLeft: -PAD,
78
+ marginRight: -PAD,
79
+ borderRadius: 8,
80
+ '--bloom-filter-text-button-ring': accent[500]
81
+ };
82
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
83
+ role: "button",
84
+ accessibilityLabel: label,
85
+ accessibilityState: expanded === undefined ? {
86
+ disabled
87
+ } : {
88
+ disabled,
89
+ expanded
90
+ },
91
+ "aria-expanded": expanded,
92
+ "aria-disabled": disabled || undefined,
93
+ disabled: disabled,
94
+ onPress: onPress,
95
+ onPressIn: onPressIn,
96
+ onPressOut: onPressOut,
97
+ onHoverIn: onHoverIn,
98
+ onHoverOut: onHoverOut,
99
+ testID: testID,
100
+ ...(0, _shared2.webDataSet)({
101
+ bloomFilterTextButton: ''
102
+ }),
103
+ style: style,
104
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Text, {
105
+ variant: "body-semibold",
106
+ style: {
107
+ color,
108
+ textDecorationLine: 'underline'
109
+ },
110
+ children: label
111
+ })
112
+ });
113
+ }
114
+ const FilterTextButton = exports.FilterTextButton = /*#__PURE__*/(0, _react.memo)(FilterTextButtonComponent);
115
+ FilterTextButton.displayName = 'FilterTextButton';
116
+ //# sourceMappingURL=FilterTextButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_shared","_shared2","_useInteractionState","_adoptStyleSheet","_useTheme","_index","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","STYLE_ID","SELECTOR","CSS","FOCUS_RING_OFFSET_COLOR","PAD","FilterTextButtonComponent","label","onPress","disabled","expanded","testID","theme","useTheme","useEffect","adoptStyleSheet","accent","useMemo","resolveButtonRamps","state","hovered","onIn","onHoverIn","onOut","onHoverOut","useInteractionState","pressed","onPressIn","onPressOut","color","colors","textTertiary","textSecondary","text","style","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","borderRadius","jsx","Pressable","role","accessibilityLabel","accessibilityState","undefined","webDataSet","bloomFilterTextButton","children","Text","variant","textDecorationLine","FilterTextButton","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["stay-filters/FilterTextButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAAqC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,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AkB,QAAA,eAEb,IAAAvE,WAAA,CAAA+D,GAAA,EAAChE,MAAA,CAAAyE,IAAI;MAACC,OAAO,EAAC,eAAe;MAACpB,KAAK,EAAE;QAAEL,KAAK;QAAE0B,kBAAkB,EAAE;MAAY,CAAE;MAAAH,QAAA,EAC7E7C;IAAK,CACF;EAAC,CACE,CAAC;AAEhB;AAEO,MAAMiD,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,gBAAG,IAAAE,WAAI,EAACpD,yBAAyB,CAAC;AAC/DkD,gBAAgB,CAACG,WAAW,GAAG,kBAAkB","ignoreList":[]}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FilterTriggerButton = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../badge/index.js");
10
+ var _button = require("../button");
11
+ var _RiEqualizerLine = require("../icons/remix/RiEqualizerLine.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
14
+ /**
15
+ * The button that opens the filters surface: Bloom's `outline` `Button` with
16
+ * `RiEqualizerLine` before "Filters", and — while `count > 0` — a solid
17
+ * text-colour count `Badge` over its top-right corner.
18
+ *
19
+ * The badge is a drawn number, so the button's name carries it too
20
+ * ("Filters, 3 applied").
21
+ */
22
+ function FilterTriggerButtonComponent({
23
+ count = 0,
24
+ onPress,
25
+ label = 'Filters',
26
+ accessibilityLabel,
27
+ size = 'medium',
28
+ disabled,
29
+ style,
30
+ testID
31
+ }) {
32
+ const applied = count > 0;
33
+ const name = accessibilityLabel ?? (applied ? `${label}, ${count} applied` : label);
34
+ const button = /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
35
+ variant: "outline",
36
+ size: size,
37
+ leadingIcon: _RiEqualizerLine.RiEqualizerLine,
38
+ onPress: onPress,
39
+ disabled: disabled,
40
+ accessibilityLabel: name,
41
+ testID: testID,
42
+ children: label
43
+ });
44
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
45
+ style: [{
46
+ alignSelf: 'flex-start'
47
+ }, style],
48
+ children: applied ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Badge, {
49
+ content: count,
50
+ max: 99,
51
+ color: "default",
52
+ variant: "solid",
53
+ placement: "top-right",
54
+ children: button
55
+ }) : button
56
+ });
57
+ }
58
+ const FilterTriggerButton = exports.FilterTriggerButton = /*#__PURE__*/(0, _react.memo)(FilterTriggerButtonComponent);
59
+ FilterTriggerButton.displayName = 'FilterTriggerButton';
60
+ //# sourceMappingURL=FilterTriggerButton.js.map