related-ui-components 1.9.6 → 1.9.7

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 (562) hide show
  1. package/README.md +200 -0
  2. package/lib/commonjs/app.js +161 -0
  3. package/lib/commonjs/app.js.map +1 -0
  4. package/lib/commonjs/assets/components/BannerWithDetails.png +0 -0
  5. package/lib/commonjs/assets/components/DealCard-Horizontal.png +0 -0
  6. package/lib/commonjs/assets/components/DealCard-Vertical.png +0 -0
  7. package/lib/commonjs/assets/components/DealCard-floating.png +0 -0
  8. package/lib/commonjs/assets/components/DealCard-nested.png +0 -0
  9. package/lib/commonjs/assets/components/Filters.png +0 -0
  10. package/lib/commonjs/assets/components/Popup-1.png +0 -0
  11. package/lib/commonjs/assets/components/Popup-2.png +0 -0
  12. package/lib/commonjs/assets/components/Popup-3.png +0 -0
  13. package/lib/commonjs/assets/components/RedemptionOption-Horizontal.png +0 -0
  14. package/lib/commonjs/assets/components/RedemptionOption-Vertical.png +0 -0
  15. package/lib/commonjs/assets/components/SimpleBanner.png +0 -0
  16. package/lib/commonjs/assets/components/SimpleTrendingCard.png +0 -0
  17. package/lib/commonjs/assets/components/SimpleTrendingCardV2.png +0 -0
  18. package/lib/commonjs/assets/components/UnlockRewards-1.png +0 -0
  19. package/lib/commonjs/assets/components/UnlockRewards-2.png +0 -0
  20. package/lib/commonjs/assets/fonts/SpaceMono-Regular.ttf +0 -0
  21. package/lib/commonjs/assets/images/adaptive-icon.png +0 -0
  22. package/lib/commonjs/assets/images/face.jpg +0 -0
  23. package/lib/commonjs/assets/images/favicon.png +0 -0
  24. package/lib/commonjs/assets/images/giftvoucher.jpg +0 -0
  25. package/lib/commonjs/assets/images/icon.png +0 -0
  26. package/lib/commonjs/assets/images/insta.webp +0 -0
  27. package/lib/commonjs/assets/images/muse.jpg +0 -0
  28. package/lib/commonjs/assets/images/namshi-banner.png +0 -0
  29. package/lib/commonjs/assets/images/namshi.webp +0 -0
  30. package/lib/commonjs/assets/images/partial-react-logo.png +0 -0
  31. package/lib/commonjs/assets/images/pb-logo.jpg +0 -0
  32. package/lib/commonjs/assets/images/pb.jpg +0 -0
  33. package/lib/commonjs/assets/images/react-logo.png +0 -0
  34. package/lib/commonjs/assets/images/react-logo@2x.png +0 -0
  35. package/lib/commonjs/assets/images/react-logo@3x.png +0 -0
  36. package/lib/commonjs/assets/images/scratch_foreground.png +0 -0
  37. package/lib/commonjs/assets/images/splash-icon.png +0 -0
  38. package/lib/commonjs/assets/images/upgrade.png +0 -0
  39. package/lib/commonjs/components/Badges/Badge.js +67 -0
  40. package/lib/commonjs/components/Badges/Badge.js.map +1 -0
  41. package/lib/commonjs/components/Badges/README.md +98 -0
  42. package/lib/commonjs/components/Badges/index.js +29 -0
  43. package/lib/commonjs/components/Badges/index.js.map +1 -0
  44. package/lib/commonjs/components/Banner/Banner.js +138 -0
  45. package/lib/commonjs/components/Banner/Banner.js.map +1 -0
  46. package/lib/commonjs/components/Banner/BannerWithDetails.js +120 -0
  47. package/lib/commonjs/components/Banner/BannerWithDetails.js.map +1 -0
  48. package/lib/commonjs/components/Banner/README.md +101 -0
  49. package/lib/commonjs/components/Banner/index.js +48 -0
  50. package/lib/commonjs/components/Banner/index.js.map +1 -0
  51. package/lib/commonjs/components/BrandIcon/BrandIcon.js +115 -0
  52. package/lib/commonjs/components/BrandIcon/BrandIcon.js.map +1 -0
  53. package/lib/commonjs/components/BrandIcon/index.js +29 -0
  54. package/lib/commonjs/components/BrandIcon/index.js.map +1 -0
  55. package/lib/commonjs/components/Button/Button.js +124 -0
  56. package/lib/commonjs/components/Button/Button.js.map +1 -0
  57. package/lib/commonjs/components/Button/index.js +29 -0
  58. package/lib/commonjs/components/Button/index.js.map +1 -0
  59. package/lib/commonjs/components/Card/Card.js +116 -0
  60. package/lib/commonjs/components/Card/Card.js.map +1 -0
  61. package/lib/commonjs/components/Card/CardContent.js +42 -0
  62. package/lib/commonjs/components/Card/CardContent.js.map +1 -0
  63. package/lib/commonjs/components/Card/CardFooter.js +34 -0
  64. package/lib/commonjs/components/Card/CardFooter.js.map +1 -0
  65. package/lib/commonjs/components/Card/CardHeader.js +79 -0
  66. package/lib/commonjs/components/Card/CardHeader.js.map +1 -0
  67. package/lib/commonjs/components/Card/CardImage.js +52 -0
  68. package/lib/commonjs/components/Card/CardImage.js.map +1 -0
  69. package/lib/commonjs/components/Card/index.js +98 -0
  70. package/lib/commonjs/components/Card/index.js.map +1 -0
  71. package/lib/commonjs/components/Card/templates/DealCard.js +194 -0
  72. package/lib/commonjs/components/Card/templates/DealCard.js.map +1 -0
  73. package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js +237 -0
  74. package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js.map +1 -0
  75. package/lib/commonjs/components/Card/templates/README.md +233 -0
  76. package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js +59 -0
  77. package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js.map +1 -0
  78. package/lib/commonjs/components/Card/types.js +6 -0
  79. package/lib/commonjs/components/Card/types.js.map +1 -0
  80. package/lib/commonjs/components/CloseIcon/CloseIcon.js +75 -0
  81. package/lib/commonjs/components/CloseIcon/CloseIcon.js.map +1 -0
  82. package/lib/commonjs/components/CloseIcon/index.js +29 -0
  83. package/lib/commonjs/components/CloseIcon/index.js.map +1 -0
  84. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +358 -0
  85. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js.map +1 -0
  86. package/lib/commonjs/components/DateRangePicker/index.js +4 -0
  87. package/lib/commonjs/components/DateRangePicker/index.js.map +1 -0
  88. package/lib/commonjs/components/Filters/Filters.js +345 -0
  89. package/lib/commonjs/components/Filters/Filters.js.map +1 -0
  90. package/lib/commonjs/components/Filters/PointsRangeSelector.js +264 -0
  91. package/lib/commonjs/components/Filters/PointsRangeSelector.js.map +1 -0
  92. package/lib/commonjs/components/Filters/README.md +212 -0
  93. package/lib/commonjs/components/Filters/index.js +48 -0
  94. package/lib/commonjs/components/Filters/index.js.map +1 -0
  95. package/lib/commonjs/components/Input/Input.js +161 -0
  96. package/lib/commonjs/components/Input/Input.js.map +1 -0
  97. package/lib/commonjs/components/Input/README.md +128 -0
  98. package/lib/commonjs/components/Input/index.js +29 -0
  99. package/lib/commonjs/components/Input/index.js.map +1 -0
  100. package/lib/commonjs/components/LockOverlay/LockOverlay.js +65 -0
  101. package/lib/commonjs/components/LockOverlay/LockOverlay.js.map +1 -0
  102. package/lib/commonjs/components/LockOverlay/index.js +29 -0
  103. package/lib/commonjs/components/LockOverlay/index.js.map +1 -0
  104. package/lib/commonjs/components/Marquee/Marquee.js +105 -0
  105. package/lib/commonjs/components/Marquee/Marquee.js.map +1 -0
  106. package/lib/commonjs/components/Marquee/index.js +29 -0
  107. package/lib/commonjs/components/Marquee/index.js.map +1 -0
  108. package/lib/commonjs/components/NumericStepper/NumericStepper.js +103 -0
  109. package/lib/commonjs/components/NumericStepper/NumericStepper.js.map +1 -0
  110. package/lib/commonjs/components/NumericStepper/index.js +29 -0
  111. package/lib/commonjs/components/NumericStepper/index.js.map +1 -0
  112. package/lib/commonjs/components/Popup/Popup.js +342 -0
  113. package/lib/commonjs/components/Popup/Popup.js.map +1 -0
  114. package/lib/commonjs/components/Popup/README.md +133 -0
  115. package/lib/commonjs/components/Popup/index.js +29 -0
  116. package/lib/commonjs/components/Popup/index.js.map +1 -0
  117. package/lib/commonjs/components/ProgressBar/ProgressBar.js +125 -0
  118. package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +1 -0
  119. package/lib/commonjs/components/ProgressBar/index.js +29 -0
  120. package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
  121. package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js +459 -0
  122. package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js.map +1 -0
  123. package/lib/commonjs/components/RedeemedVoucher/index.js +29 -0
  124. package/lib/commonjs/components/RedeemedVoucher/index.js.map +1 -0
  125. package/lib/commonjs/components/RedemptionOption/README.md +148 -0
  126. package/lib/commonjs/components/RedemptionOption/RedemptionOption.js +132 -0
  127. package/lib/commonjs/components/RedemptionOption/RedemptionOption.js.map +1 -0
  128. package/lib/commonjs/components/RedemptionOption/index.js +29 -0
  129. package/lib/commonjs/components/RedemptionOption/index.js.map +1 -0
  130. package/lib/commonjs/components/ScratchCard/README.md +119 -0
  131. package/lib/commonjs/components/ScratchCard/ScratchCard.js +222 -0
  132. package/lib/commonjs/components/ScratchCard/ScratchCard.js.map +1 -0
  133. package/lib/commonjs/components/ScratchCard/ScratchCardContent.js +28 -0
  134. package/lib/commonjs/components/ScratchCard/ScratchCardContent.js.map +1 -0
  135. package/lib/commonjs/components/ScratchCard/index.js +48 -0
  136. package/lib/commonjs/components/ScratchCard/index.js.map +1 -0
  137. package/lib/commonjs/components/SelectAmount/SelectAmount.js +189 -0
  138. package/lib/commonjs/components/SelectAmount/SelectAmount.js.map +1 -0
  139. package/lib/commonjs/components/SelectAmount/index.js +4 -0
  140. package/lib/commonjs/components/SelectAmount/index.js.map +1 -0
  141. package/lib/commonjs/components/Skeleton/Shimmer.js +75 -0
  142. package/lib/commonjs/components/Skeleton/Shimmer.js.map +1 -0
  143. package/lib/commonjs/components/Skeleton/SkeletonElement.js +36 -0
  144. package/lib/commonjs/components/Skeleton/SkeletonElement.js.map +1 -0
  145. package/lib/commonjs/components/Skeleton/index.js +48 -0
  146. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  147. package/lib/commonjs/components/Suggestions/SuggestionList.js +98 -0
  148. package/lib/commonjs/components/Suggestions/SuggestionList.js.map +1 -0
  149. package/lib/commonjs/components/TravelBooking/CarRentalForm.js +370 -0
  150. package/lib/commonjs/components/TravelBooking/CarRentalForm.js.map +1 -0
  151. package/lib/commonjs/components/TravelBooking/FlightForm.js +347 -0
  152. package/lib/commonjs/components/TravelBooking/FlightForm.js.map +1 -0
  153. package/lib/commonjs/components/TravelBooking/FlightSummary.js +257 -0
  154. package/lib/commonjs/components/TravelBooking/FlightSummary.js.map +1 -0
  155. package/lib/commonjs/components/TravelBooking/HotelForm.js +290 -0
  156. package/lib/commonjs/components/TravelBooking/HotelForm.js.map +1 -0
  157. package/lib/commonjs/components/TravelBooking/HotelSummary.js +246 -0
  158. package/lib/commonjs/components/TravelBooking/HotelSummary.js.map +1 -0
  159. package/lib/commonjs/components/TravelBooking/README.md +421 -0
  160. package/lib/commonjs/components/TravelBooking/SummaryBar.js +181 -0
  161. package/lib/commonjs/components/TravelBooking/SummaryBar.js.map +1 -0
  162. package/lib/commonjs/components/TravelBooking/TabSelector.js +115 -0
  163. package/lib/commonjs/components/TravelBooking/TabSelector.js.map +1 -0
  164. package/lib/commonjs/components/TravelBooking/TravelBooking.js +261 -0
  165. package/lib/commonjs/components/TravelBooking/TravelBooking.js.map +1 -0
  166. package/lib/commonjs/components/TravelBooking/index.js +22 -0
  167. package/lib/commonjs/components/TravelBooking/index.js.map +1 -0
  168. package/lib/commonjs/components/TravelBooking/types.js +15 -0
  169. package/lib/commonjs/components/TravelBooking/types.js.map +1 -0
  170. package/lib/commonjs/components/UnlockRewards/README.md +187 -0
  171. package/lib/commonjs/components/UnlockRewards/RewardItem.js +129 -0
  172. package/lib/commonjs/components/UnlockRewards/RewardItem.js.map +1 -0
  173. package/lib/commonjs/components/UnlockRewards/UnlockRewards.js +230 -0
  174. package/lib/commonjs/components/UnlockRewards/UnlockRewards.js.map +1 -0
  175. package/lib/commonjs/components/UnlockRewards/index.js +48 -0
  176. package/lib/commonjs/components/UnlockRewards/index.js.map +1 -0
  177. package/lib/commonjs/components/Wheel/README.md +141 -0
  178. package/lib/commonjs/components/Wheel/Wheel.js +361 -0
  179. package/lib/commonjs/components/Wheel/Wheel.js.map +1 -0
  180. package/lib/commonjs/components/Wheel/index.js +29 -0
  181. package/lib/commonjs/components/Wheel/index.js.map +1 -0
  182. package/lib/commonjs/components/index.js +204 -0
  183. package/lib/commonjs/components/index.js.map +1 -0
  184. package/lib/commonjs/constants/BRANDS.js +58 -0
  185. package/lib/commonjs/constants/BRANDS.js.map +1 -0
  186. package/lib/commonjs/index.js +28 -0
  187. package/lib/commonjs/index.js.map +1 -0
  188. package/lib/commonjs/theme/Colors.js +154 -0
  189. package/lib/commonjs/theme/Colors.js.map +1 -0
  190. package/lib/commonjs/theme/ThemeContext.js +57 -0
  191. package/lib/commonjs/theme/ThemeContext.js.map +1 -0
  192. package/lib/commonjs/theme/index.js +28 -0
  193. package/lib/commonjs/theme/index.js.map +1 -0
  194. package/lib/module/theme/ThemeContext.js +39 -19
  195. package/lib/module/theme/ThemeContext.js.map +1 -1
  196. package/lib/typescript/lib/commonjs/app.d.ts +4 -0
  197. package/lib/typescript/lib/commonjs/app.d.ts.map +1 -0
  198. package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts +14 -0
  199. package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts.map +1 -0
  200. package/lib/typescript/lib/commonjs/components/Badges/index.d.ts +3 -0
  201. package/lib/typescript/lib/commonjs/components/Badges/index.d.ts.map +1 -0
  202. package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts +24 -0
  203. package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts.map +1 -0
  204. package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts +16 -0
  205. package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts.map +1 -0
  206. package/lib/typescript/lib/commonjs/components/Banner/index.d.ts +4 -0
  207. package/lib/typescript/lib/commonjs/components/Banner/index.d.ts.map +1 -0
  208. package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts +18 -0
  209. package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts.map +1 -0
  210. package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts +3 -0
  211. package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts.map +1 -0
  212. package/lib/typescript/lib/commonjs/components/Button/Button.d.ts +17 -0
  213. package/lib/typescript/lib/commonjs/components/Button/Button.d.ts.map +1 -0
  214. package/lib/typescript/lib/commonjs/components/Button/index.d.ts +3 -0
  215. package/lib/typescript/lib/commonjs/components/Button/index.d.ts.map +1 -0
  216. package/lib/typescript/lib/commonjs/components/Card/Card.d.ts +17 -0
  217. package/lib/typescript/lib/commonjs/components/Card/Card.d.ts.map +1 -0
  218. package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts +8 -0
  219. package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts.map +1 -0
  220. package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts +9 -0
  221. package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts.map +1 -0
  222. package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts +14 -0
  223. package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts.map +1 -0
  224. package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts +12 -0
  225. package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts.map +1 -0
  226. package/lib/typescript/lib/commonjs/components/Card/index.d.ts +10 -0
  227. package/lib/typescript/lib/commonjs/components/Card/index.d.ts.map +1 -0
  228. package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts +30 -0
  229. package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts.map +1 -0
  230. package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts +37 -0
  231. package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
  232. package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts +12 -0
  233. package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
  234. package/lib/typescript/lib/commonjs/components/Card/types.d.ts +2 -0
  235. package/lib/typescript/lib/commonjs/components/Card/types.d.ts.map +1 -0
  236. package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts +14 -0
  237. package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts.map +1 -0
  238. package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts +3 -0
  239. package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts.map +1 -0
  240. package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts +20 -0
  241. package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  242. package/lib/typescript/lib/commonjs/components/DateRangePicker/index.d.ts.map +1 -0
  243. package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts +56 -0
  244. package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts.map +1 -0
  245. package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts +27 -0
  246. package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts.map +1 -0
  247. package/lib/typescript/lib/commonjs/components/Filters/index.d.ts +4 -0
  248. package/lib/typescript/lib/commonjs/components/Filters/index.d.ts.map +1 -0
  249. package/lib/typescript/lib/commonjs/components/Input/Input.d.ts +4 -0
  250. package/lib/typescript/lib/commonjs/components/Input/Input.d.ts.map +1 -0
  251. package/lib/typescript/lib/commonjs/components/Input/index.d.ts +3 -0
  252. package/lib/typescript/lib/commonjs/components/Input/index.d.ts.map +1 -0
  253. package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts +15 -0
  254. package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts.map +1 -0
  255. package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts +3 -0
  256. package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts.map +1 -0
  257. package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts +14 -0
  258. package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts.map +1 -0
  259. package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts +3 -0
  260. package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts.map +1 -0
  261. package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts +16 -0
  262. package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts.map +1 -0
  263. package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts +3 -0
  264. package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts.map +1 -0
  265. package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts +39 -0
  266. package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts.map +1 -0
  267. package/lib/typescript/lib/commonjs/components/Popup/index.d.ts +3 -0
  268. package/lib/typescript/lib/commonjs/components/Popup/index.d.ts.map +1 -0
  269. package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts +22 -0
  270. package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  271. package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts +3 -0
  272. package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts.map +1 -0
  273. package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +4 -0
  274. package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
  275. package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts +3 -0
  276. package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts.map +1 -0
  277. package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts +23 -0
  278. package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
  279. package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts +3 -0
  280. package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts.map +1 -0
  281. package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts +19 -0
  282. package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts.map +1 -0
  283. package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts +7 -0
  284. package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
  285. package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts +4 -0
  286. package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts.map +1 -0
  287. package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts +29 -0
  288. package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts.map +1 -0
  289. package/lib/typescript/lib/commonjs/components/SelectAmount/index.d.ts.map +1 -0
  290. package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts +11 -0
  291. package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts.map +1 -0
  292. package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts +10 -0
  293. package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts.map +1 -0
  294. package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts +4 -0
  295. package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts.map +1 -0
  296. package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts +12 -0
  297. package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts.map +1 -0
  298. package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts +52 -0
  299. package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
  300. package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts +47 -0
  301. package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts.map +1 -0
  302. package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts +32 -0
  303. package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts.map +1 -0
  304. package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts +45 -0
  305. package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts.map +1 -0
  306. package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts +36 -0
  307. package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts.map +1 -0
  308. package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts +12 -0
  309. package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts.map +1 -0
  310. package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts +15 -0
  311. package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts.map +1 -0
  312. package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts +47 -0
  313. package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts.map +1 -0
  314. package/lib/typescript/lib/commonjs/components/TravelBooking/index.d.ts.map +1 -0
  315. package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts +3 -0
  316. package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts.map +1 -0
  317. package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts +23 -0
  318. package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts.map +1 -0
  319. package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts +41 -0
  320. package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
  321. package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts +4 -0
  322. package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts.map +1 -0
  323. package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts +25 -0
  324. package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts.map +1 -0
  325. package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts +3 -0
  326. package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts.map +1 -0
  327. package/lib/typescript/lib/commonjs/components/index.d.ts +2 -0
  328. package/lib/typescript/lib/commonjs/components/index.d.ts.map +1 -0
  329. package/lib/typescript/lib/commonjs/constants/BRANDS.d.ts +14 -0
  330. package/lib/typescript/lib/commonjs/constants/BRANDS.d.ts.map +1 -0
  331. package/lib/typescript/lib/commonjs/index.d.ts +2 -0
  332. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
  333. package/lib/typescript/lib/commonjs/theme/Colors.d.ts +110 -0
  334. package/lib/typescript/lib/commonjs/theme/Colors.d.ts.map +1 -0
  335. package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts +11 -0
  336. package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts.map +1 -0
  337. package/lib/typescript/lib/commonjs/theme/index.d.ts +2 -0
  338. package/lib/typescript/lib/commonjs/theme/index.d.ts.map +1 -0
  339. package/lib/typescript/src/app.d.ts.map +1 -0
  340. package/lib/typescript/src/components/Badges/Badge.d.ts.map +1 -0
  341. package/lib/typescript/src/components/Badges/index.d.ts.map +1 -0
  342. package/lib/typescript/src/components/Banner/Banner.d.ts.map +1 -0
  343. package/lib/typescript/src/components/Banner/BannerWithDetails.d.ts.map +1 -0
  344. package/lib/typescript/src/components/Banner/index.d.ts.map +1 -0
  345. package/lib/typescript/src/components/BrandIcon/BrandIcon.d.ts.map +1 -0
  346. package/lib/typescript/src/components/BrandIcon/index.d.ts.map +1 -0
  347. package/lib/typescript/src/components/Button/Button.d.ts.map +1 -0
  348. package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
  349. package/lib/typescript/src/components/Card/Card.d.ts.map +1 -0
  350. package/lib/typescript/src/components/Card/CardContent.d.ts.map +1 -0
  351. package/lib/typescript/src/components/Card/CardFooter.d.ts.map +1 -0
  352. package/lib/typescript/src/components/Card/CardHeader.d.ts.map +1 -0
  353. package/lib/typescript/src/components/Card/CardImage.d.ts.map +1 -0
  354. package/lib/typescript/src/components/Card/index.d.ts.map +1 -0
  355. package/lib/typescript/src/components/Card/templates/DealCard.d.ts.map +1 -0
  356. package/lib/typescript/src/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
  357. package/lib/typescript/src/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
  358. package/lib/typescript/src/components/Card/types.d.ts.map +1 -0
  359. package/lib/typescript/src/components/CloseIcon/CloseIcon.d.ts.map +1 -0
  360. package/lib/typescript/src/components/CloseIcon/index.d.ts.map +1 -0
  361. package/lib/typescript/src/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  362. package/lib/typescript/src/components/DateRangePicker/index.d.ts +2 -0
  363. package/lib/typescript/src/components/DateRangePicker/index.d.ts.map +1 -0
  364. package/lib/typescript/src/components/Filters/Filters.d.ts.map +1 -0
  365. package/lib/typescript/src/components/Filters/PointsRangeSelector.d.ts.map +1 -0
  366. package/lib/typescript/src/components/Filters/index.d.ts.map +1 -0
  367. package/lib/typescript/src/components/Input/Input.d.ts.map +1 -0
  368. package/lib/typescript/src/components/Input/index.d.ts.map +1 -0
  369. package/lib/typescript/src/components/LockOverlay/LockOverlay.d.ts.map +1 -0
  370. package/lib/typescript/src/components/LockOverlay/index.d.ts.map +1 -0
  371. package/lib/typescript/src/components/Marquee/Marquee.d.ts.map +1 -0
  372. package/lib/typescript/src/components/Marquee/index.d.ts.map +1 -0
  373. package/lib/typescript/src/components/NumericStepper/NumericStepper.d.ts.map +1 -0
  374. package/lib/typescript/src/components/NumericStepper/index.d.ts.map +1 -0
  375. package/lib/typescript/src/components/Popup/Popup.d.ts.map +1 -0
  376. package/lib/typescript/src/components/Popup/index.d.ts.map +1 -0
  377. package/lib/typescript/src/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  378. package/lib/typescript/src/components/ProgressBar/index.d.ts.map +1 -0
  379. package/lib/typescript/src/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
  380. package/lib/typescript/src/components/RedeemedVoucher/index.d.ts.map +1 -0
  381. package/lib/typescript/src/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
  382. package/lib/typescript/src/components/RedemptionOption/index.d.ts.map +1 -0
  383. package/lib/typescript/src/components/ScratchCard/ScratchCard.d.ts.map +1 -0
  384. package/lib/typescript/src/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
  385. package/lib/typescript/src/components/ScratchCard/index.d.ts.map +1 -0
  386. package/lib/typescript/src/components/SelectAmount/SelectAmount.d.ts.map +1 -0
  387. package/lib/typescript/src/components/SelectAmount/index.d.ts +2 -0
  388. package/lib/typescript/src/components/SelectAmount/index.d.ts.map +1 -0
  389. package/lib/typescript/src/components/Skeleton/Shimmer.d.ts.map +1 -0
  390. package/lib/typescript/src/components/Skeleton/SkeletonElement.d.ts.map +1 -0
  391. package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
  392. package/lib/typescript/src/components/Suggestions/SuggestionList.d.ts.map +1 -0
  393. package/lib/typescript/src/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
  394. package/lib/typescript/src/components/TravelBooking/FlightForm.d.ts.map +1 -0
  395. package/lib/typescript/src/components/TravelBooking/FlightSummary.d.ts.map +1 -0
  396. package/lib/typescript/src/components/TravelBooking/HotelForm.d.ts.map +1 -0
  397. package/lib/typescript/src/components/TravelBooking/HotelSummary.d.ts.map +1 -0
  398. package/lib/typescript/src/components/TravelBooking/SummaryBar.d.ts.map +1 -0
  399. package/lib/typescript/src/components/TravelBooking/TabSelector.d.ts.map +1 -0
  400. package/lib/typescript/src/components/TravelBooking/TravelBooking.d.ts.map +1 -0
  401. package/lib/typescript/src/components/TravelBooking/index.d.ts +2 -0
  402. package/lib/typescript/src/components/TravelBooking/index.d.ts.map +1 -0
  403. package/lib/typescript/src/components/TravelBooking/types.d.ts.map +1 -0
  404. package/lib/typescript/src/components/UnlockRewards/RewardItem.d.ts.map +1 -0
  405. package/lib/typescript/src/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
  406. package/lib/typescript/src/components/UnlockRewards/index.d.ts.map +1 -0
  407. package/lib/typescript/src/components/Wheel/Wheel.d.ts.map +1 -0
  408. package/lib/typescript/src/components/Wheel/index.d.ts.map +1 -0
  409. package/lib/typescript/src/components/index.d.ts.map +1 -0
  410. package/lib/typescript/src/constants/BRANDS.d.ts.map +1 -0
  411. package/lib/typescript/src/index.d.ts.map +1 -0
  412. package/lib/typescript/src/theme/Colors.d.ts.map +1 -0
  413. package/lib/typescript/{theme → src/theme}/ThemeContext.d.ts +8 -5
  414. package/lib/typescript/src/theme/ThemeContext.d.ts.map +1 -0
  415. package/lib/typescript/src/theme/index.d.ts.map +1 -0
  416. package/package.json +3 -3
  417. package/src/theme/ThemeContext.tsx +56 -20
  418. package/lib/typescript/app.d.ts.map +0 -1
  419. package/lib/typescript/components/Badges/Badge.d.ts.map +0 -1
  420. package/lib/typescript/components/Badges/index.d.ts.map +0 -1
  421. package/lib/typescript/components/Banner/Banner.d.ts.map +0 -1
  422. package/lib/typescript/components/Banner/BannerWithDetails.d.ts.map +0 -1
  423. package/lib/typescript/components/Banner/index.d.ts.map +0 -1
  424. package/lib/typescript/components/BrandIcon/BrandIcon.d.ts.map +0 -1
  425. package/lib/typescript/components/BrandIcon/index.d.ts.map +0 -1
  426. package/lib/typescript/components/Button/Button.d.ts.map +0 -1
  427. package/lib/typescript/components/Button/index.d.ts.map +0 -1
  428. package/lib/typescript/components/Card/Card.d.ts.map +0 -1
  429. package/lib/typescript/components/Card/CardContent.d.ts.map +0 -1
  430. package/lib/typescript/components/Card/CardFooter.d.ts.map +0 -1
  431. package/lib/typescript/components/Card/CardHeader.d.ts.map +0 -1
  432. package/lib/typescript/components/Card/CardImage.d.ts.map +0 -1
  433. package/lib/typescript/components/Card/index.d.ts.map +0 -1
  434. package/lib/typescript/components/Card/templates/DealCard.d.ts.map +0 -1
  435. package/lib/typescript/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
  436. package/lib/typescript/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
  437. package/lib/typescript/components/Card/types.d.ts.map +0 -1
  438. package/lib/typescript/components/CloseIcon/CloseIcon.d.ts.map +0 -1
  439. package/lib/typescript/components/CloseIcon/index.d.ts.map +0 -1
  440. package/lib/typescript/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  441. package/lib/typescript/components/DateRangePicker/index.d.ts.map +0 -1
  442. package/lib/typescript/components/Filters/Filters.d.ts.map +0 -1
  443. package/lib/typescript/components/Filters/PointsRangeSelector.d.ts.map +0 -1
  444. package/lib/typescript/components/Filters/index.d.ts.map +0 -1
  445. package/lib/typescript/components/Input/Input.d.ts.map +0 -1
  446. package/lib/typescript/components/Input/index.d.ts.map +0 -1
  447. package/lib/typescript/components/LockOverlay/LockOverlay.d.ts.map +0 -1
  448. package/lib/typescript/components/LockOverlay/index.d.ts.map +0 -1
  449. package/lib/typescript/components/Marquee/Marquee.d.ts.map +0 -1
  450. package/lib/typescript/components/Marquee/index.d.ts.map +0 -1
  451. package/lib/typescript/components/NumericStepper/NumericStepper.d.ts.map +0 -1
  452. package/lib/typescript/components/NumericStepper/index.d.ts.map +0 -1
  453. package/lib/typescript/components/Popup/Popup.d.ts.map +0 -1
  454. package/lib/typescript/components/Popup/index.d.ts.map +0 -1
  455. package/lib/typescript/components/ProgressBar/ProgressBar.d.ts.map +0 -1
  456. package/lib/typescript/components/ProgressBar/index.d.ts.map +0 -1
  457. package/lib/typescript/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
  458. package/lib/typescript/components/RedeemedVoucher/index.d.ts.map +0 -1
  459. package/lib/typescript/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
  460. package/lib/typescript/components/RedemptionOption/index.d.ts.map +0 -1
  461. package/lib/typescript/components/ScratchCard/ScratchCard.d.ts.map +0 -1
  462. package/lib/typescript/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
  463. package/lib/typescript/components/ScratchCard/index.d.ts.map +0 -1
  464. package/lib/typescript/components/SelectAmount/SelectAmount.d.ts.map +0 -1
  465. package/lib/typescript/components/SelectAmount/index.d.ts.map +0 -1
  466. package/lib/typescript/components/Skeleton/Shimmer.d.ts.map +0 -1
  467. package/lib/typescript/components/Skeleton/SkeletonElement.d.ts.map +0 -1
  468. package/lib/typescript/components/Skeleton/index.d.ts.map +0 -1
  469. package/lib/typescript/components/Suggestions/SuggestionList.d.ts.map +0 -1
  470. package/lib/typescript/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
  471. package/lib/typescript/components/TravelBooking/FlightForm.d.ts.map +0 -1
  472. package/lib/typescript/components/TravelBooking/FlightSummary.d.ts.map +0 -1
  473. package/lib/typescript/components/TravelBooking/HotelForm.d.ts.map +0 -1
  474. package/lib/typescript/components/TravelBooking/HotelSummary.d.ts.map +0 -1
  475. package/lib/typescript/components/TravelBooking/SummaryBar.d.ts.map +0 -1
  476. package/lib/typescript/components/TravelBooking/TabSelector.d.ts.map +0 -1
  477. package/lib/typescript/components/TravelBooking/TravelBooking.d.ts.map +0 -1
  478. package/lib/typescript/components/TravelBooking/index.d.ts.map +0 -1
  479. package/lib/typescript/components/TravelBooking/types.d.ts.map +0 -1
  480. package/lib/typescript/components/UnlockRewards/RewardItem.d.ts.map +0 -1
  481. package/lib/typescript/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
  482. package/lib/typescript/components/UnlockRewards/index.d.ts.map +0 -1
  483. package/lib/typescript/components/Wheel/Wheel.d.ts.map +0 -1
  484. package/lib/typescript/components/Wheel/index.d.ts.map +0 -1
  485. package/lib/typescript/components/index.d.ts.map +0 -1
  486. package/lib/typescript/constants/BRANDS.d.ts.map +0 -1
  487. package/lib/typescript/index.d.ts.map +0 -1
  488. package/lib/typescript/theme/Colors.d.ts.map +0 -1
  489. package/lib/typescript/theme/ThemeContext.d.ts.map +0 -1
  490. package/lib/typescript/theme/index.d.ts.map +0 -1
  491. /package/lib/typescript/{components → lib/commonjs/components}/DateRangePicker/index.d.ts +0 -0
  492. /package/lib/typescript/{components → lib/commonjs/components}/SelectAmount/index.d.ts +0 -0
  493. /package/lib/typescript/{components → lib/commonjs/components}/TravelBooking/index.d.ts +0 -0
  494. /package/lib/typescript/{app.d.ts → src/app.d.ts} +0 -0
  495. /package/lib/typescript/{components → src/components}/Badges/Badge.d.ts +0 -0
  496. /package/lib/typescript/{components → src/components}/Badges/index.d.ts +0 -0
  497. /package/lib/typescript/{components → src/components}/Banner/Banner.d.ts +0 -0
  498. /package/lib/typescript/{components → src/components}/Banner/BannerWithDetails.d.ts +0 -0
  499. /package/lib/typescript/{components → src/components}/Banner/index.d.ts +0 -0
  500. /package/lib/typescript/{components → src/components}/BrandIcon/BrandIcon.d.ts +0 -0
  501. /package/lib/typescript/{components → src/components}/BrandIcon/index.d.ts +0 -0
  502. /package/lib/typescript/{components → src/components}/Button/Button.d.ts +0 -0
  503. /package/lib/typescript/{components → src/components}/Button/index.d.ts +0 -0
  504. /package/lib/typescript/{components → src/components}/Card/Card.d.ts +0 -0
  505. /package/lib/typescript/{components → src/components}/Card/CardContent.d.ts +0 -0
  506. /package/lib/typescript/{components → src/components}/Card/CardFooter.d.ts +0 -0
  507. /package/lib/typescript/{components → src/components}/Card/CardHeader.d.ts +0 -0
  508. /package/lib/typescript/{components → src/components}/Card/CardImage.d.ts +0 -0
  509. /package/lib/typescript/{components → src/components}/Card/index.d.ts +0 -0
  510. /package/lib/typescript/{components → src/components}/Card/templates/DealCard.d.ts +0 -0
  511. /package/lib/typescript/{components → src/components}/Card/templates/DealCardWithBackgroundImage.d.ts +0 -0
  512. /package/lib/typescript/{components → src/components}/Card/templates/SimpleTrendingCard.d.ts +0 -0
  513. /package/lib/typescript/{components → src/components}/Card/types.d.ts +0 -0
  514. /package/lib/typescript/{components → src/components}/CloseIcon/CloseIcon.d.ts +0 -0
  515. /package/lib/typescript/{components → src/components}/CloseIcon/index.d.ts +0 -0
  516. /package/lib/typescript/{components → src/components}/DateRangePicker/DateRangePicker.d.ts +0 -0
  517. /package/lib/typescript/{components → src/components}/Filters/Filters.d.ts +0 -0
  518. /package/lib/typescript/{components → src/components}/Filters/PointsRangeSelector.d.ts +0 -0
  519. /package/lib/typescript/{components → src/components}/Filters/index.d.ts +0 -0
  520. /package/lib/typescript/{components → src/components}/Input/Input.d.ts +0 -0
  521. /package/lib/typescript/{components → src/components}/Input/index.d.ts +0 -0
  522. /package/lib/typescript/{components → src/components}/LockOverlay/LockOverlay.d.ts +0 -0
  523. /package/lib/typescript/{components → src/components}/LockOverlay/index.d.ts +0 -0
  524. /package/lib/typescript/{components → src/components}/Marquee/Marquee.d.ts +0 -0
  525. /package/lib/typescript/{components → src/components}/Marquee/index.d.ts +0 -0
  526. /package/lib/typescript/{components → src/components}/NumericStepper/NumericStepper.d.ts +0 -0
  527. /package/lib/typescript/{components → src/components}/NumericStepper/index.d.ts +0 -0
  528. /package/lib/typescript/{components → src/components}/Popup/Popup.d.ts +0 -0
  529. /package/lib/typescript/{components → src/components}/Popup/index.d.ts +0 -0
  530. /package/lib/typescript/{components → src/components}/ProgressBar/ProgressBar.d.ts +0 -0
  531. /package/lib/typescript/{components → src/components}/ProgressBar/index.d.ts +0 -0
  532. /package/lib/typescript/{components → src/components}/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -0
  533. /package/lib/typescript/{components → src/components}/RedeemedVoucher/index.d.ts +0 -0
  534. /package/lib/typescript/{components → src/components}/RedemptionOption/RedemptionOption.d.ts +0 -0
  535. /package/lib/typescript/{components → src/components}/RedemptionOption/index.d.ts +0 -0
  536. /package/lib/typescript/{components → src/components}/ScratchCard/ScratchCard.d.ts +0 -0
  537. /package/lib/typescript/{components → src/components}/ScratchCard/ScratchCardContent.d.ts +0 -0
  538. /package/lib/typescript/{components → src/components}/ScratchCard/index.d.ts +0 -0
  539. /package/lib/typescript/{components → src/components}/SelectAmount/SelectAmount.d.ts +0 -0
  540. /package/lib/typescript/{components → src/components}/Skeleton/Shimmer.d.ts +0 -0
  541. /package/lib/typescript/{components → src/components}/Skeleton/SkeletonElement.d.ts +0 -0
  542. /package/lib/typescript/{components → src/components}/Skeleton/index.d.ts +0 -0
  543. /package/lib/typescript/{components → src/components}/Suggestions/SuggestionList.d.ts +0 -0
  544. /package/lib/typescript/{components → src/components}/TravelBooking/CarRentalForm.d.ts +0 -0
  545. /package/lib/typescript/{components → src/components}/TravelBooking/FlightForm.d.ts +0 -0
  546. /package/lib/typescript/{components → src/components}/TravelBooking/FlightSummary.d.ts +0 -0
  547. /package/lib/typescript/{components → src/components}/TravelBooking/HotelForm.d.ts +0 -0
  548. /package/lib/typescript/{components → src/components}/TravelBooking/HotelSummary.d.ts +0 -0
  549. /package/lib/typescript/{components → src/components}/TravelBooking/SummaryBar.d.ts +0 -0
  550. /package/lib/typescript/{components → src/components}/TravelBooking/TabSelector.d.ts +0 -0
  551. /package/lib/typescript/{components → src/components}/TravelBooking/TravelBooking.d.ts +0 -0
  552. /package/lib/typescript/{components → src/components}/TravelBooking/types.d.ts +0 -0
  553. /package/lib/typescript/{components → src/components}/UnlockRewards/RewardItem.d.ts +0 -0
  554. /package/lib/typescript/{components → src/components}/UnlockRewards/UnlockRewards.d.ts +0 -0
  555. /package/lib/typescript/{components → src/components}/UnlockRewards/index.d.ts +0 -0
  556. /package/lib/typescript/{components → src/components}/Wheel/Wheel.d.ts +0 -0
  557. /package/lib/typescript/{components → src/components}/Wheel/index.d.ts +0 -0
  558. /package/lib/typescript/{components → src/components}/index.d.ts +0 -0
  559. /package/lib/typescript/{constants → src/constants}/BRANDS.d.ts +0 -0
  560. /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
  561. /package/lib/typescript/{theme → src/theme}/Colors.d.ts +0 -0
  562. /package/lib/typescript/{theme → src/theme}/index.d.ts +0 -0
@@ -0,0 +1,345 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _bottomSheet = _interopRequireWildcard(require("@gorhom/bottom-sheet"));
10
+ var _PointsRangeSelector = _interopRequireDefault(require("./PointsRangeSelector.js"));
11
+ var _index = require("../BrandIcon/index.js");
12
+ var _vectorIcons = require("@expo/vector-icons");
13
+ var _expoCheckbox = _interopRequireDefault(require("expo-checkbox"));
14
+ var _index2 = require("../../theme/index.js");
15
+ var _index3 = require("../Button/index.js");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ // Import ThemeType
21
+
22
+ // ... (Keep existing type definitions: SortOption, Brand, FilterResult) ...
23
+
24
+ const Filters = ({
25
+ isRTL: isRTLProp,
26
+ sortOptions = [],
27
+ sortSectionTitle = "Sort",
28
+ sectionTitleStyle,
29
+ sortSectionStyle,
30
+ onActionButtonPress,
31
+ rangeInitialMax = 1000,
32
+ rangeInitialMin = 0,
33
+ rangeMaxLimit = 1000,
34
+ rangeMinLimit = 0,
35
+ pointsRangeContainerStyle,
36
+ pointsRangeInputsContainerStyle,
37
+ pointsRangeCustomInputContainerStyle,
38
+ pointsRangeCustomInputFieldStyle,
39
+ pointsRangeSliderContainerStyle,
40
+ pointsRangeMultiSliderContainerStyle,
41
+ pointsRangeTrackStyle,
42
+ pointsRangeSelectedTrackStyle,
43
+ pointsRangeUnselectedTrackStyle,
44
+ pointsRangeMarkerStyle,
45
+ pointsRangeMarkerEnabledStyle,
46
+ pointsRangeMarkerDisabledStyle,
47
+ pointsRangeMarkerDotStyle,
48
+ pointsRangeInputProps,
49
+ pointsRangeMultiSliderProps,
50
+ containerStyle,
51
+ headerStyle,
52
+ titleStyle,
53
+ resetTextStyle,
54
+ sectionStyle,
55
+ optionRowStyle,
56
+ optionTextStyle,
57
+ checkboxColor: checkboxColorProp,
58
+ applyButtonStyle,
59
+ applyButtonTextStyle,
60
+ bottomSheetStyle,
61
+ bottomSheetIndex = 0,
62
+ handleIndicatorStyle,
63
+ brands = [],
64
+ brandContainerStyle,
65
+ brandActiveIcon,
66
+ showPointsRange = true,
67
+ pointsRangeSectionTitle = "Points range",
68
+ brandActiveIconStyle,
69
+ brandSectionTile = "Brands",
70
+ applyButtonText = "Apply Filter",
71
+ headerResetText = "Reset All",
72
+ headerTitleText = "Filter",
73
+ onClose,
74
+ visible = true,
75
+ applyButtonComponentProps
76
+ }) => {
77
+ const {
78
+ theme,
79
+ isRTL: themeIsRTL
80
+ } = (0, _index2.useTheme)();
81
+ const isRTL = isRTLProp ?? themeIsRTL ?? _reactNative.I18nManager.isRTL;
82
+ const bottomSheetRef = (0, _react.useRef)(null);
83
+ const styles = createStyles(theme, isRTL);
84
+ const checkboxColor = checkboxColorProp ?? theme.primary;
85
+ const handleSheetChanges = (0, _react.useCallback)(index => {
86
+ if (index === -1) {
87
+ if (onClose) {
88
+ onClose();
89
+ }
90
+ }
91
+ }, [onClose]);
92
+ const [resetCounter, setResetCounter] = (0, _react.useState)(0);
93
+ const [checkedItem, setCheckedItem] = (0, _react.useState)(sortOptions.find(option => option.checked)?.id || null);
94
+ const [selectedBrands, setSelectedBrands] = (0, _react.useState)(brands.reduce((acc, option) => {
95
+ acc[option.id] = option.checked || false;
96
+ return acc;
97
+ }, {}));
98
+ const [pointsRange, setPointsRange] = (0, _react.useState)({
99
+ min: rangeInitialMin,
100
+ max: rangeInitialMax
101
+ });
102
+ const handleCheckboxChange = id => {
103
+ setCheckedItem(id);
104
+ };
105
+ const handleBrandSelect = id => {
106
+ setSelectedBrands(prevState => ({
107
+ ...prevState,
108
+ [id]: !prevState[id]
109
+ }));
110
+ };
111
+ const closeBottomSheet = (0, _react.useCallback)(() => {
112
+ bottomSheetRef.current?.close();
113
+ }, [
114
+ /* onClose */
115
+ ]);
116
+ const handleApplyFilter = () => {
117
+ if (onActionButtonPress) {
118
+ const selectedSortOption = sortOptions.find(option => option.id == checkedItem);
119
+ const selectedBrandsList = brands.filter(brand => selectedBrands[brand.id]);
120
+ const filterResult = {
121
+ sort: selectedSortOption,
122
+ pointsRange: pointsRange,
123
+ selectedBrands: selectedBrandsList
124
+ };
125
+ onActionButtonPress(filterResult);
126
+ }
127
+ closeBottomSheet();
128
+ };
129
+ const handleResetAll = () => {
130
+ const resetBrands = brands.reduce((acc, option) => {
131
+ acc[option.id] = false;
132
+ return acc;
133
+ }, {});
134
+ setCheckedItem(null);
135
+ setSelectedBrands(resetBrands);
136
+ setPointsRange({
137
+ min: rangeMinLimit,
138
+ max: rangeInitialMax
139
+ });
140
+ setResetCounter(prev => prev + 1);
141
+ };
142
+ const renderBackdrop = (0, _react.useCallback)(props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.BottomSheetBackdrop, {
143
+ ...props,
144
+ appearsOnIndex: 0,
145
+ disappearsOnIndex: -1,
146
+ pressBehavior: "close",
147
+ opacity: 0.5
148
+ }), []);
149
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomSheet.default, {
150
+ ref: bottomSheetRef,
151
+ index: visible ? bottomSheetIndex : -1,
152
+ onChange: handleSheetChanges,
153
+ handleComponent: () => null,
154
+ style: bottomSheetStyle,
155
+ backgroundStyle: {
156
+ backgroundColor: theme.surface
157
+ },
158
+ handleIndicatorStyle: [styles.handleIndicator, handleIndicatorStyle],
159
+ enablePanDownToClose: true,
160
+ backdropComponent: renderBackdrop,
161
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
162
+ style: [styles.container, containerStyle],
163
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
164
+ style: [styles.header, headerStyle],
165
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
166
+ style: [styles.title, titleStyle],
167
+ children: headerTitleText
168
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
169
+ onPress: handleResetAll,
170
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
171
+ style: [styles.resetText, resetTextStyle],
172
+ children: headerResetText
173
+ })
174
+ })]
175
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_bottomSheet.BottomSheetView, {
176
+ style: {
177
+ paddingBottom: 75
178
+ },
179
+ children: [sortOptions && sortOptions.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
180
+ style: [styles.section, sectionStyle, sortSectionStyle],
181
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
182
+ style: [styles.sectionTitle, sectionTitleStyle],
183
+ children: sortSectionTitle
184
+ }), sortOptions.map(option => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
185
+ style: [styles.optionRow, optionRowStyle],
186
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_expoCheckbox.default, {
187
+ value: option.id == checkedItem,
188
+ color: checkboxColor,
189
+ hitSlop: {
190
+ top: 10,
191
+ right: 10,
192
+ bottom: 10,
193
+ left: 10
194
+ },
195
+ onValueChange: () => handleCheckboxChange(option.id)
196
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
197
+ style: [styles.optionText, optionTextStyle],
198
+ children: option.name
199
+ })]
200
+ }, option.id))]
201
+ }), showPointsRange && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
202
+ style: [styles.section, sectionStyle],
203
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
204
+ style: [styles.sectionTitle, sectionTitleStyle],
205
+ children: pointsRangeSectionTitle
206
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PointsRangeSelector.default, {
207
+ resetKey: resetCounter,
208
+ initialMax: rangeInitialMax,
209
+ initialMin: rangeInitialMin,
210
+ minLimit: rangeMinLimit,
211
+ maxLimit: rangeMaxLimit,
212
+ isRTL: isRTL,
213
+ containerStyle: pointsRangeContainerStyle,
214
+ inputsContainerStyle: pointsRangeInputsContainerStyle,
215
+ customInputContainerStyle: pointsRangeCustomInputContainerStyle,
216
+ customInputFieldStyle: pointsRangeCustomInputFieldStyle,
217
+ sliderContainerStyle: pointsRangeSliderContainerStyle,
218
+ multiSliderContainerStyle: pointsRangeMultiSliderContainerStyle,
219
+ trackStyle: pointsRangeTrackStyle,
220
+ selectedTrackStyle: pointsRangeSelectedTrackStyle,
221
+ unselectedTrackStyle: pointsRangeUnselectedTrackStyle,
222
+ markerStyle: pointsRangeMarkerStyle,
223
+ markerEnabledStyle: pointsRangeMarkerEnabledStyle,
224
+ markerDisabledStyle: pointsRangeMarkerDisabledStyle,
225
+ markerDotStyle: pointsRangeMarkerDotStyle,
226
+ inputProps: pointsRangeInputProps,
227
+ multiSliderProps: pointsRangeMultiSliderProps,
228
+ onChange: (min, max) => {
229
+ setPointsRange({
230
+ min,
231
+ max
232
+ });
233
+ }
234
+ })]
235
+ }), brands && brands.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
236
+ style: [styles.section, sectionStyle],
237
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
238
+ style: [styles.sectionTitle, sectionTitleStyle],
239
+ children: brandSectionTile
240
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
241
+ style: [styles.brandsGrid, brandContainerStyle],
242
+ children: brands.map(brand => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BrandIcon, {
243
+ size: 50,
244
+ selected: selectedBrands[brand.id],
245
+ onPress: () => handleBrandSelect(brand.id.toString()),
246
+ brandLogo: brand.logo,
247
+ brandName: brand.name,
248
+ selectionIndicatorIcon: brandActiveIcon || /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
249
+ name: "checkmark-outline",
250
+ color: theme.onPrimary
251
+ }),
252
+ selectionIndicatorStyle: brandActiveIconStyle
253
+ }, brand.id))
254
+ })]
255
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Button, {
256
+ style: [styles.applyButton, applyButtonStyle],
257
+ onPress: handleApplyFilter,
258
+ title: applyButtonText,
259
+ textStyle: [styles.applyButtonText, applyButtonTextStyle],
260
+ ...applyButtonComponentProps
261
+ })]
262
+ })]
263
+ })
264
+ });
265
+ };
266
+ const createStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
267
+ container: {
268
+ flex: 1,
269
+ paddingHorizontal: 25,
270
+ backgroundColor: theme.surface
271
+ },
272
+ handleIndicator: {
273
+ width: 40,
274
+ height: 4,
275
+ backgroundColor: theme.border,
276
+ alignSelf: "center",
277
+ marginTop: 8,
278
+ borderRadius: 2
279
+ },
280
+ header: {
281
+ flexDirection: isRTL ? "row-reverse" : "row",
282
+ justifyContent: "space-between",
283
+ alignItems: "center",
284
+ paddingVertical: 15,
285
+ borderBottomWidth: 1,
286
+ borderBottomColor: theme.border
287
+ },
288
+ title: {
289
+ fontSize: 18,
290
+ fontWeight: "bold",
291
+ color: theme.text,
292
+ textAlign: isRTL ? "right" : "left"
293
+ },
294
+ resetText: {
295
+ fontSize: 14,
296
+ color: theme.primary,
297
+ fontWeight: "500",
298
+ textAlign: isRTL ? "left" : "right"
299
+ },
300
+ section: {
301
+ marginTop: 20
302
+ },
303
+ sectionTitle: {
304
+ fontSize: 16,
305
+ fontWeight: "500",
306
+ color: theme.helper,
307
+ marginBottom: 15,
308
+ textAlign: isRTL ? "right" : "left"
309
+ },
310
+ optionRow: {
311
+ flexDirection: isRTL ? "row-reverse" : "row",
312
+ alignItems: "center",
313
+ marginBottom: 15,
314
+ gap: 5
315
+ },
316
+ optionText: {
317
+ fontSize: 15,
318
+ color: theme.text,
319
+ textAlign: isRTL ? "right" : "left",
320
+ marginLeft: isRTL ? 0 : 8,
321
+ marginRight: isRTL ? 8 : 0
322
+ },
323
+ brandsGrid: {
324
+ flexDirection: "row",
325
+ flexWrap: "wrap",
326
+ gap: 10,
327
+ justifyContent: isRTL ? "flex-end" : "flex-start"
328
+ },
329
+ applyButton: {
330
+ backgroundColor: theme.primary,
331
+ borderRadius: 30,
332
+ paddingVertical: 15,
333
+ alignItems: "center",
334
+ marginTop: 30
335
+ // Consider adding marginBottom if needed, especially inside BottomSheetView
336
+ // marginBottom: 20,
337
+ },
338
+ applyButtonText: {
339
+ color: theme.onPrimary,
340
+ fontSize: 16,
341
+ fontWeight: "bold"
342
+ }
343
+ });
344
+ var _default = exports.default = Filters;
345
+ //# sourceMappingURL=Filters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_bottomSheet","_PointsRangeSelector","_interopRequireDefault","_index","_vectorIcons","_expoCheckbox","_index2","_index3","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Filters","isRTL","isRTLProp","sortOptions","sortSectionTitle","sectionTitleStyle","sortSectionStyle","onActionButtonPress","rangeInitialMax","rangeInitialMin","rangeMaxLimit","rangeMinLimit","pointsRangeContainerStyle","pointsRangeInputsContainerStyle","pointsRangeCustomInputContainerStyle","pointsRangeCustomInputFieldStyle","pointsRangeSliderContainerStyle","pointsRangeMultiSliderContainerStyle","pointsRangeTrackStyle","pointsRangeSelectedTrackStyle","pointsRangeUnselectedTrackStyle","pointsRangeMarkerStyle","pointsRangeMarkerEnabledStyle","pointsRangeMarkerDisabledStyle","pointsRangeMarkerDotStyle","pointsRangeInputProps","pointsRangeMultiSliderProps","containerStyle","headerStyle","titleStyle","resetTextStyle","sectionStyle","optionRowStyle","optionTextStyle","checkboxColor","checkboxColorProp","applyButtonStyle","applyButtonTextStyle","bottomSheetStyle","bottomSheetIndex","handleIndicatorStyle","brands","brandContainerStyle","brandActiveIcon","showPointsRange","pointsRangeSectionTitle","brandActiveIconStyle","brandSectionTile","applyButtonText","headerResetText","headerTitleText","onClose","visible","applyButtonComponentProps","theme","themeIsRTL","useTheme","I18nManager","bottomSheetRef","useRef","styles","createStyles","primary","handleSheetChanges","useCallback","index","resetCounter","setResetCounter","useState","checkedItem","setCheckedItem","find","option","checked","id","selectedBrands","setSelectedBrands","reduce","acc","pointsRange","setPointsRange","min","max","handleCheckboxChange","handleBrandSelect","prevState","closeBottomSheet","current","close","handleApplyFilter","selectedSortOption","selectedBrandsList","filter","brand","filterResult","sort","handleResetAll","resetBrands","prev","renderBackdrop","props","jsx","BottomSheetBackdrop","appearsOnIndex","disappearsOnIndex","pressBehavior","opacity","ref","onChange","handleComponent","style","backgroundStyle","backgroundColor","surface","handleIndicator","enablePanDownToClose","backdropComponent","children","jsxs","View","container","header","Text","title","TouchableOpacity","onPress","resetText","BottomSheetView","paddingBottom","length","section","sectionTitle","map","optionRow","value","color","hitSlop","top","right","bottom","left","onValueChange","optionText","name","resetKey","initialMax","initialMin","minLimit","maxLimit","inputsContainerStyle","customInputContainerStyle","customInputFieldStyle","sliderContainerStyle","multiSliderContainerStyle","trackStyle","selectedTrackStyle","unselectedTrackStyle","markerStyle","markerEnabledStyle","markerDisabledStyle","markerDotStyle","inputProps","multiSliderProps","brandsGrid","BrandIcon","size","selected","toString","brandLogo","logo","brandName","selectionIndicatorIcon","Ionicons","onPrimary","selectionIndicatorStyle","Button","applyButton","textStyle","StyleSheet","create","flex","paddingHorizontal","width","height","border","alignSelf","marginTop","borderRadius","flexDirection","justifyContent","alignItems","paddingVertical","borderBottomWidth","borderBottomColor","fontSize","fontWeight","text","textAlign","helper","marginBottom","gap","marginLeft","marginRight","flexWrap","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Filters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G,CAAC;IACzByM,WAAW,EAAEzM,KAAK,GAAG,CAAC,GAAG;EAC3B,CAAC;EACDkK,UAAU,EAAE;IACVyB,aAAa,EAAE,KAAK;IACpBe,QAAQ,EAAE,MAAM;IAChBH,GAAG,EAAE,EAAE;IACPX,cAAc,EAAE5L,KAAK,GAAG,UAAU,GAAG;EACvC,CAAC;EACD+K,WAAW,EAAE;IACXhE,eAAe,EAAE1D,KAAK,CAACQ,OAAO;IAC9B6H,YAAY,EAAE,EAAE;IAChBI,eAAe,EAAE,EAAE;IACnBD,UAAU,EAAE,QAAQ;IACpBJ,SAAS,EAAE;IACX;IACA;EACF,CAAC;EACD1I,eAAe,EAAE;IACfuF,KAAK,EAAEjF,KAAK,CAACuH,SAAS;IACtBqB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAAC,IAAAS,QAAA,GAAAC,OAAA,CAAA/N,OAAA,GAEUkB,OAAO","ignoreList":[]}
@@ -0,0 +1,264 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactNativeMultiSlider = _interopRequireDefault(require("@ptomasroos/react-native-multi-slider"));
10
+ var _Input = _interopRequireDefault(require("../Input/Input.js"));
11
+ var _index = require("../../theme/index.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
+ // Get initial screen width (we'll refine this with onLayout)
17
+ const {
18
+ width: SCREEN_WIDTH
19
+ } = _reactNative.Dimensions.get("window");
20
+ const HORIZONTAL_PADDING = 40; // Adjust based on your container's padding
21
+
22
+ const PointsRangeSelector = ({
23
+ minLimit = 0,
24
+ maxLimit = 1000,
25
+ initialMin = 50,
26
+ initialMax = 500,
27
+ resetKey,
28
+ isRTL = _reactNative.I18nManager.isRTL,
29
+ onChange,
30
+ // Style props
31
+ containerStyle,
32
+ inputsContainerStyle,
33
+ customInputContainerStyle,
34
+ customInputFieldStyle,
35
+ sliderContainerStyle,
36
+ multiSliderContainerStyle,
37
+ trackStyle,
38
+ selectedTrackStyle,
39
+ unselectedTrackStyle,
40
+ markerStyle,
41
+ markerEnabledStyle,
42
+ markerDisabledStyle,
43
+ markerDotStyle,
44
+ inputProps = {},
45
+ multiSliderProps = {}
46
+ }) => {
47
+ const {
48
+ theme,
49
+ isRTL: rtl
50
+ } = (0, _index.useTheme)();
51
+ isRTL = rtl || isRTL;
52
+ const styles = createStyles(theme, isRTL);
53
+ const [values, setValues] = (0, _react.useState)([initialMin, initialMax]);
54
+ const [minInputValue, setMinInputValue] = (0, _react.useState)(initialMin.toString());
55
+ const [maxInputValue, setMaxInputValue] = (0, _react.useState)(initialMax.toString());
56
+
57
+ // Track container width for responsive sizing
58
+ const [containerWidth, setContainerWidth] = (0, _react.useState)(SCREEN_WIDTH - HORIZONTAL_PADDING);
59
+
60
+ // Handle container layout to get precise width
61
+ const onContainerLayout = (0, _react.useCallback)(event => {
62
+ const {
63
+ width
64
+ } = event.nativeEvent.layout;
65
+ setContainerWidth(width);
66
+ }, []);
67
+ (0, _react.useEffect)(() => {
68
+ setValues([initialMin, initialMax]);
69
+ setMinInputValue(initialMin.toString());
70
+ setMaxInputValue(initialMax.toString());
71
+ if (onChange) {
72
+ onChange(initialMin, initialMax);
73
+ }
74
+ }, [resetKey, initialMin, initialMax]);
75
+ const handleValuesChange = newValues => {
76
+ setValues(newValues);
77
+ setMinInputValue(newValues[0].toString());
78
+ setMaxInputValue(newValues[1].toString());
79
+ if (onChange) {
80
+ onChange(newValues[0], newValues[1]);
81
+ }
82
+ };
83
+ const handleMinInputChange = text => {
84
+ setMinInputValue(text);
85
+ if (text && !isNaN(Number(text))) {
86
+ const newValue = Number(text);
87
+ if (newValue < minLimit || newValue >= values[1]) {
88
+ return;
89
+ }
90
+ const newValues = [newValue, values[1]];
91
+ setValues(newValues);
92
+ if (onChange) {
93
+ onChange(newValues[0], newValues[1]);
94
+ }
95
+ }
96
+ };
97
+ const handleMaxInputChange = text => {
98
+ setMaxInputValue(text);
99
+ if (text && !isNaN(Number(text))) {
100
+ const newValue = Number(text);
101
+ if (newValue > maxLimit || newValue <= values[0]) {
102
+ return;
103
+ }
104
+ const newValues = [values[0], newValue];
105
+ setValues(newValues);
106
+ if (onChange) {
107
+ onChange(newValues[0], newValues[1]);
108
+ }
109
+ }
110
+ };
111
+
112
+ // Custom marker component
113
+ const CustomMarker = ({
114
+ currentValue,
115
+ enabled
116
+ }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
117
+ style: [styles.marker, enabled ? styles.markerEnabled : styles.markerDisabled, markerStyle, enabled ? markerEnabledStyle : markerDisabledStyle],
118
+ hitSlop: {
119
+ top: 10,
120
+ right: 10,
121
+ bottom: 10,
122
+ left: 10
123
+ },
124
+ children: enabled && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
125
+ style: [styles.markerDot, markerDotStyle]
126
+ })
127
+ });
128
+
129
+ // Prepare inputs in the correct order based on RTL setting
130
+ const renderInputs = () => {
131
+ const minInput = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
132
+ value: minInputValue,
133
+ onChangeText: handleMinInputChange,
134
+ keyboardType: "numeric",
135
+ placeholder: "Min",
136
+ containerStyle: [styles.customInputContainer, customInputContainerStyle],
137
+ inputContainerStyle: [styles.customInputField, customInputFieldStyle],
138
+ textAlign: isRTL ? "right" : "left",
139
+ ...inputProps
140
+ });
141
+ const maxInput = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
142
+ value: maxInputValue,
143
+ onChangeText: handleMaxInputChange,
144
+ keyboardType: "numeric",
145
+ placeholder: "Max",
146
+ containerStyle: [styles.customInputContainer, customInputContainerStyle],
147
+ inputContainerStyle: [styles.customInputField, customInputFieldStyle],
148
+ textAlign: isRTL ? "right" : "left",
149
+ ...inputProps
150
+ });
151
+
152
+ // If RTL, we swap the order of the inputs
153
+ return isRTL ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
154
+ children: [maxInput, minInput]
155
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
156
+ children: [minInput, maxInput]
157
+ });
158
+ };
159
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
160
+ style: [styles.container, containerStyle],
161
+ onLayout: onContainerLayout,
162
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
163
+ style: [styles.inputsContainer, inputsContainerStyle],
164
+ children: renderInputs()
165
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
166
+ style: [styles.sliderContainer, sliderContainerStyle],
167
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeMultiSlider.default, {
168
+ values: values,
169
+ min: minLimit,
170
+ max: maxLimit,
171
+ step: 10,
172
+ allowOverlap: false,
173
+ snapped: true,
174
+ onValuesChange: handleValuesChange,
175
+ selectedStyle: [styles.selectedTrack, selectedTrackStyle],
176
+ unselectedStyle: [styles.unselectedTrack, unselectedTrackStyle],
177
+ containerStyle: [styles.sliderContainerStyle, multiSliderContainerStyle],
178
+ trackStyle: [styles.track, trackStyle],
179
+ sliderLength: containerWidth // Use measured width for slider length
180
+ ,
181
+ customMarker: CustomMarker
182
+ // For RTL support with MultiSlider
183
+ ,
184
+ enabledsOne: true,
185
+ enabledTwo: true,
186
+ isRTL: isRTL,
187
+ ...multiSliderProps
188
+ })
189
+ })]
190
+ });
191
+ };
192
+ const createStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
193
+ container: {
194
+ // Default container styling
195
+ },
196
+ inputsContainer: {
197
+ flexDirection: "row",
198
+ justifyContent: "space-between",
199
+ marginBottom: 20
200
+ },
201
+ customInputContainer: {
202
+ width: "48%"
203
+ },
204
+ customInputField: {
205
+ minHeight: 40,
206
+ textAlign: isRTL ? "right" : "left"
207
+ },
208
+ sliderContainer: {
209
+ marginVertical: 10,
210
+ alignItems: "center",
211
+ width: "100%"
212
+ // Apply any RTL specific styling if needed
213
+ // transform: isRTL ? [{ scaleX: -1 }] : [],
214
+ },
215
+ sliderContainerStyle: {
216
+ height: 30,
217
+ width: "100%"
218
+ },
219
+ track: {
220
+ height: 4,
221
+ borderRadius: 2
222
+ },
223
+ selectedTrack: {
224
+ backgroundColor: theme.primary
225
+ },
226
+ unselectedTrack: {
227
+ backgroundColor: theme.border
228
+ },
229
+ marker: {
230
+ width: 20,
231
+ height: 20,
232
+ borderRadius: 12,
233
+ backgroundColor: theme.surface,
234
+ borderWidth: 2,
235
+ shadowColor: "#000",
236
+ shadowOffset: {
237
+ width: 0,
238
+ height: 2
239
+ },
240
+ shadowOpacity: 0.25,
241
+ shadowRadius: 2.84,
242
+ elevation: 3,
243
+ alignItems: "center",
244
+ justifyContent: "center",
245
+ // Flip the marker back when parent is flipped for RTL
246
+ transform: isRTL ? [{
247
+ scaleX: -1
248
+ }] : []
249
+ },
250
+ markerEnabled: {
251
+ borderColor: theme.primary
252
+ },
253
+ markerDisabled: {
254
+ borderColor: theme.disabled
255
+ },
256
+ markerDot: {
257
+ width: 18,
258
+ height: 18,
259
+ borderRadius: 12,
260
+ backgroundColor: theme.primary
261
+ }
262
+ });
263
+ var _default = exports.default = PointsRangeSelector;
264
+ //# sourceMappingURL=PointsRangeSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeMultiSlider","_interopRequireDefault","_Input","_index","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","width","SCREEN_WIDTH","Dimensions","HORIZONTAL_PADDING","PointsRangeSelector","minLimit","maxLimit","initialMin","initialMax","resetKey","isRTL","I18nManager","onChange","containerStyle","inputsContainerStyle","customInputContainerStyle","customInputFieldStyle","sliderContainerStyle","multiSliderContainerStyle","trackStyle","selectedTrackStyle","unselectedTrackStyle","markerStyle","markerEnabledStyle","markerDisabledStyle","markerDotStyle","inputProps","multiSliderProps","theme","rtl","useTheme","styles","createStyles","values","setValues","useState","minInputValue","setMinInputValue","toString","maxInputValue","setMaxInputValue","containerWidth","setContainerWidth","onContainerLayout","useCallback","event","nativeEvent","layout","useEffect","handleValuesChange","newValues","handleMinInputChange","text","isNaN","Number","newValue","handleMaxInputChange","CustomMarker","currentValue","enabled","jsx","View","style","marker","markerEnabled","markerDisabled","hitSlop","top","right","bottom","left","children","markerDot","renderInputs","minInput","value","onChangeText","keyboardType","placeholder","customInputContainer","inputContainerStyle","customInputField","textAlign","maxInput","jsxs","Fragment","container","onLayout","inputsContainer","sliderContainer","min","max","step","allowOverlap","snapped","onValuesChange","selectedStyle","selectedTrack","unselectedStyle","unselectedTrack","track","sliderLength","customMarker","enabledsOne","enabledTwo","StyleSheet","create","flexDirection","justifyContent","marginBottom","minHeight","marginVertical","alignItems","height","borderRadius","backgroundColor","primary","border","surface","borderWidth","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","transform","scaleX","borderColor","disabled","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/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