related-ui-components 1.9.5 → 1.9.6

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 (604) hide show
  1. package/lib/module/app.js +3 -2
  2. package/lib/module/app.js.map +1 -1
  3. package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -2
  4. package/lib/module/components/DateRangePicker/DateRangePicker.js.map +1 -1
  5. package/lib/module/components/Popup/README.md +1 -1
  6. package/lib/module/components/Suggestions/SuggestionList.js +1 -1
  7. package/lib/module/components/Suggestions/SuggestionList.js.map +1 -1
  8. package/lib/module/components/TravelBooking/CarRentalForm.js +1 -1
  9. package/lib/module/components/TravelBooking/CarRentalForm.js.map +1 -1
  10. package/lib/module/components/TravelBooking/FlightForm.js +1 -1
  11. package/lib/module/components/TravelBooking/FlightForm.js.map +1 -1
  12. package/lib/module/components/TravelBooking/FlightSummary.js +1 -1
  13. package/lib/module/components/TravelBooking/FlightSummary.js.map +1 -1
  14. package/lib/module/components/TravelBooking/HotelForm.js +1 -1
  15. package/lib/module/components/TravelBooking/HotelForm.js.map +1 -1
  16. package/lib/module/components/TravelBooking/HotelSummary.js +1 -1
  17. package/lib/module/components/TravelBooking/HotelSummary.js.map +1 -1
  18. package/lib/module/components/TravelBooking/README.md +3 -3
  19. package/lib/module/components/TravelBooking/SummaryBar.js +1 -1
  20. package/lib/module/components/TravelBooking/SummaryBar.js.map +1 -1
  21. package/lib/module/components/TravelBooking/TabSelector.js +1 -1
  22. package/lib/module/components/TravelBooking/TabSelector.js.map +1 -1
  23. package/lib/module/components/TravelBooking/TravelBooking.js +1 -1
  24. package/lib/module/components/TravelBooking/TravelBooking.js.map +1 -1
  25. package/lib/module/components/UnlockRewards/README.md +1 -1
  26. package/lib/typescript/app.d.ts.map +1 -0
  27. package/lib/typescript/components/Badges/Badge.d.ts.map +1 -0
  28. package/lib/typescript/components/Badges/index.d.ts.map +1 -0
  29. package/lib/typescript/components/Banner/Banner.d.ts.map +1 -0
  30. package/lib/typescript/components/Banner/BannerWithDetails.d.ts.map +1 -0
  31. package/lib/typescript/components/Banner/index.d.ts.map +1 -0
  32. package/lib/typescript/components/BrandIcon/BrandIcon.d.ts.map +1 -0
  33. package/lib/typescript/components/BrandIcon/index.d.ts.map +1 -0
  34. package/lib/typescript/components/Button/Button.d.ts.map +1 -0
  35. package/lib/typescript/components/Button/index.d.ts.map +1 -0
  36. package/lib/typescript/components/Card/Card.d.ts.map +1 -0
  37. package/lib/typescript/components/Card/CardContent.d.ts.map +1 -0
  38. package/lib/typescript/components/Card/CardFooter.d.ts.map +1 -0
  39. package/lib/typescript/components/Card/CardHeader.d.ts.map +1 -0
  40. package/lib/typescript/components/Card/CardImage.d.ts.map +1 -0
  41. package/lib/typescript/components/Card/index.d.ts.map +1 -0
  42. package/lib/typescript/components/Card/templates/DealCard.d.ts.map +1 -0
  43. package/lib/typescript/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
  44. package/lib/typescript/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
  45. package/lib/typescript/components/Card/types.d.ts.map +1 -0
  46. package/lib/typescript/components/CloseIcon/CloseIcon.d.ts.map +1 -0
  47. package/lib/typescript/components/CloseIcon/index.d.ts.map +1 -0
  48. package/lib/typescript/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  49. package/lib/typescript/components/DateRangePicker/index.d.ts +2 -0
  50. package/lib/typescript/components/DateRangePicker/index.d.ts.map +1 -0
  51. package/lib/typescript/components/Filters/Filters.d.ts.map +1 -0
  52. package/lib/typescript/components/Filters/PointsRangeSelector.d.ts.map +1 -0
  53. package/lib/typescript/components/Filters/index.d.ts.map +1 -0
  54. package/lib/typescript/components/Input/Input.d.ts.map +1 -0
  55. package/lib/typescript/components/Input/index.d.ts.map +1 -0
  56. package/lib/typescript/components/LockOverlay/LockOverlay.d.ts.map +1 -0
  57. package/lib/typescript/components/LockOverlay/index.d.ts.map +1 -0
  58. package/lib/typescript/components/Marquee/Marquee.d.ts.map +1 -0
  59. package/lib/typescript/components/Marquee/index.d.ts.map +1 -0
  60. package/lib/typescript/components/NumericStepper/NumericStepper.d.ts.map +1 -0
  61. package/lib/typescript/components/NumericStepper/index.d.ts.map +1 -0
  62. package/lib/typescript/components/Popup/Popup.d.ts.map +1 -0
  63. package/lib/typescript/components/Popup/index.d.ts.map +1 -0
  64. package/lib/typescript/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  65. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -0
  66. package/lib/typescript/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
  67. package/lib/typescript/components/RedeemedVoucher/index.d.ts.map +1 -0
  68. package/lib/typescript/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
  69. package/lib/typescript/components/RedemptionOption/index.d.ts.map +1 -0
  70. package/lib/typescript/components/ScratchCard/ScratchCard.d.ts.map +1 -0
  71. package/lib/typescript/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
  72. package/lib/typescript/components/ScratchCard/index.d.ts.map +1 -0
  73. package/lib/typescript/components/SelectAmount/SelectAmount.d.ts.map +1 -0
  74. package/lib/typescript/components/SelectAmount/index.d.ts +2 -0
  75. package/lib/typescript/components/SelectAmount/index.d.ts.map +1 -0
  76. package/lib/typescript/components/Skeleton/Shimmer.d.ts.map +1 -0
  77. package/lib/typescript/components/Skeleton/SkeletonElement.d.ts.map +1 -0
  78. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  79. package/lib/typescript/components/Suggestions/SuggestionList.d.ts.map +1 -0
  80. package/lib/typescript/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
  81. package/lib/typescript/components/TravelBooking/FlightForm.d.ts.map +1 -0
  82. package/lib/typescript/components/TravelBooking/FlightSummary.d.ts.map +1 -0
  83. package/lib/typescript/components/TravelBooking/HotelForm.d.ts.map +1 -0
  84. package/lib/typescript/components/TravelBooking/HotelSummary.d.ts.map +1 -0
  85. package/lib/typescript/components/TravelBooking/SummaryBar.d.ts.map +1 -0
  86. package/lib/typescript/components/TravelBooking/TabSelector.d.ts.map +1 -0
  87. package/lib/typescript/components/TravelBooking/TravelBooking.d.ts.map +1 -0
  88. package/lib/typescript/components/TravelBooking/index.d.ts +2 -0
  89. package/lib/typescript/components/TravelBooking/index.d.ts.map +1 -0
  90. package/lib/typescript/components/TravelBooking/types.d.ts.map +1 -0
  91. package/lib/typescript/components/UnlockRewards/RewardItem.d.ts.map +1 -0
  92. package/lib/typescript/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
  93. package/lib/typescript/components/UnlockRewards/index.d.ts.map +1 -0
  94. package/lib/typescript/components/Wheel/Wheel.d.ts.map +1 -0
  95. package/lib/typescript/components/Wheel/index.d.ts.map +1 -0
  96. package/lib/typescript/components/index.d.ts.map +1 -0
  97. package/lib/typescript/constants/BRANDS.d.ts.map +1 -0
  98. package/lib/typescript/index.d.ts.map +1 -0
  99. package/lib/typescript/package.json +1 -0
  100. package/lib/typescript/theme/Colors.d.ts.map +1 -0
  101. package/lib/typescript/theme/ThemeContext.d.ts.map +1 -0
  102. package/lib/typescript/theme/index.d.ts.map +1 -0
  103. package/package.json +29 -79
  104. package/src/app.tsx +1 -1
  105. package/src/components/DateRangePicker/DateRangePicker.tsx +1 -2
  106. package/src/components/Popup/README.md +1 -1
  107. package/src/components/Suggestions/SuggestionList.tsx +1 -1
  108. package/src/components/TravelBooking/CarRentalForm.tsx +1 -1
  109. package/src/components/TravelBooking/FlightForm.tsx +1 -1
  110. package/src/components/TravelBooking/FlightSummary.tsx +1 -1
  111. package/src/components/TravelBooking/HotelForm.tsx +1 -1
  112. package/src/components/TravelBooking/HotelSummary.tsx +1 -1
  113. package/src/components/TravelBooking/README.md +3 -3
  114. package/src/components/TravelBooking/SummaryBar.tsx +1 -1
  115. package/src/components/TravelBooking/TabSelector.tsx +1 -1
  116. package/src/components/TravelBooking/TravelBooking.tsx +1 -1
  117. package/src/components/UnlockRewards/README.md +1 -1
  118. package/README.md +0 -200
  119. package/lib/commonjs/app.js +0 -161
  120. package/lib/commonjs/app.js.map +0 -1
  121. package/lib/commonjs/assets/components/BannerWithDetails.png +0 -0
  122. package/lib/commonjs/assets/components/DealCard-Horizontal.png +0 -0
  123. package/lib/commonjs/assets/components/DealCard-Vertical.png +0 -0
  124. package/lib/commonjs/assets/components/DealCard-floating.png +0 -0
  125. package/lib/commonjs/assets/components/DealCard-nested.png +0 -0
  126. package/lib/commonjs/assets/components/Filters.png +0 -0
  127. package/lib/commonjs/assets/components/Popup-1.png +0 -0
  128. package/lib/commonjs/assets/components/Popup-2.png +0 -0
  129. package/lib/commonjs/assets/components/Popup-3.png +0 -0
  130. package/lib/commonjs/assets/components/RedemptionOption-Horizontal.png +0 -0
  131. package/lib/commonjs/assets/components/RedemptionOption-Vertical.png +0 -0
  132. package/lib/commonjs/assets/components/SimpleBanner.png +0 -0
  133. package/lib/commonjs/assets/components/SimpleTrendingCard.png +0 -0
  134. package/lib/commonjs/assets/components/SimpleTrendingCardV2.png +0 -0
  135. package/lib/commonjs/assets/components/UnlockRewards-1.png +0 -0
  136. package/lib/commonjs/assets/components/UnlockRewards-2.png +0 -0
  137. package/lib/commonjs/assets/fonts/SpaceMono-Regular.ttf +0 -0
  138. package/lib/commonjs/assets/images/adaptive-icon.png +0 -0
  139. package/lib/commonjs/assets/images/face.jpg +0 -0
  140. package/lib/commonjs/assets/images/favicon.png +0 -0
  141. package/lib/commonjs/assets/images/giftvoucher.jpg +0 -0
  142. package/lib/commonjs/assets/images/icon.png +0 -0
  143. package/lib/commonjs/assets/images/insta.webp +0 -0
  144. package/lib/commonjs/assets/images/muse.jpg +0 -0
  145. package/lib/commonjs/assets/images/namshi-banner.png +0 -0
  146. package/lib/commonjs/assets/images/namshi.webp +0 -0
  147. package/lib/commonjs/assets/images/partial-react-logo.png +0 -0
  148. package/lib/commonjs/assets/images/pb-logo.jpg +0 -0
  149. package/lib/commonjs/assets/images/pb.jpg +0 -0
  150. package/lib/commonjs/assets/images/react-logo.png +0 -0
  151. package/lib/commonjs/assets/images/react-logo@2x.png +0 -0
  152. package/lib/commonjs/assets/images/react-logo@3x.png +0 -0
  153. package/lib/commonjs/assets/images/scratch_foreground.png +0 -0
  154. package/lib/commonjs/assets/images/splash-icon.png +0 -0
  155. package/lib/commonjs/assets/images/upgrade.png +0 -0
  156. package/lib/commonjs/components/Badges/Badge.js +0 -67
  157. package/lib/commonjs/components/Badges/Badge.js.map +0 -1
  158. package/lib/commonjs/components/Badges/README.md +0 -98
  159. package/lib/commonjs/components/Badges/index.js +0 -29
  160. package/lib/commonjs/components/Badges/index.js.map +0 -1
  161. package/lib/commonjs/components/Banner/Banner.js +0 -138
  162. package/lib/commonjs/components/Banner/Banner.js.map +0 -1
  163. package/lib/commonjs/components/Banner/BannerWithDetails.js +0 -120
  164. package/lib/commonjs/components/Banner/BannerWithDetails.js.map +0 -1
  165. package/lib/commonjs/components/Banner/README.md +0 -101
  166. package/lib/commonjs/components/Banner/index.js +0 -48
  167. package/lib/commonjs/components/Banner/index.js.map +0 -1
  168. package/lib/commonjs/components/BrandIcon/BrandIcon.js +0 -115
  169. package/lib/commonjs/components/BrandIcon/BrandIcon.js.map +0 -1
  170. package/lib/commonjs/components/BrandIcon/index.js +0 -29
  171. package/lib/commonjs/components/BrandIcon/index.js.map +0 -1
  172. package/lib/commonjs/components/Button/Button.js +0 -124
  173. package/lib/commonjs/components/Button/Button.js.map +0 -1
  174. package/lib/commonjs/components/Button/index.js +0 -29
  175. package/lib/commonjs/components/Button/index.js.map +0 -1
  176. package/lib/commonjs/components/Card/Card.js +0 -116
  177. package/lib/commonjs/components/Card/Card.js.map +0 -1
  178. package/lib/commonjs/components/Card/CardContent.js +0 -42
  179. package/lib/commonjs/components/Card/CardContent.js.map +0 -1
  180. package/lib/commonjs/components/Card/CardFooter.js +0 -34
  181. package/lib/commonjs/components/Card/CardFooter.js.map +0 -1
  182. package/lib/commonjs/components/Card/CardHeader.js +0 -79
  183. package/lib/commonjs/components/Card/CardHeader.js.map +0 -1
  184. package/lib/commonjs/components/Card/CardImage.js +0 -52
  185. package/lib/commonjs/components/Card/CardImage.js.map +0 -1
  186. package/lib/commonjs/components/Card/index.js +0 -98
  187. package/lib/commonjs/components/Card/index.js.map +0 -1
  188. package/lib/commonjs/components/Card/templates/DealCard.js +0 -194
  189. package/lib/commonjs/components/Card/templates/DealCard.js.map +0 -1
  190. package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js +0 -237
  191. package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js.map +0 -1
  192. package/lib/commonjs/components/Card/templates/README.md +0 -233
  193. package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js +0 -59
  194. package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js.map +0 -1
  195. package/lib/commonjs/components/Card/types.js +0 -6
  196. package/lib/commonjs/components/Card/types.js.map +0 -1
  197. package/lib/commonjs/components/CloseIcon/CloseIcon.js +0 -75
  198. package/lib/commonjs/components/CloseIcon/CloseIcon.js.map +0 -1
  199. package/lib/commonjs/components/CloseIcon/index.js +0 -29
  200. package/lib/commonjs/components/CloseIcon/index.js.map +0 -1
  201. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +0 -358
  202. package/lib/commonjs/components/DateRangePicker/DateRangePicker.js.map +0 -1
  203. package/lib/commonjs/components/DateRangePicker/index.js +0 -4
  204. package/lib/commonjs/components/DateRangePicker/index.js.map +0 -1
  205. package/lib/commonjs/components/Filters/Filters.js +0 -345
  206. package/lib/commonjs/components/Filters/Filters.js.map +0 -1
  207. package/lib/commonjs/components/Filters/PointsRangeSelector.js +0 -264
  208. package/lib/commonjs/components/Filters/PointsRangeSelector.js.map +0 -1
  209. package/lib/commonjs/components/Filters/README.md +0 -212
  210. package/lib/commonjs/components/Filters/index.js +0 -48
  211. package/lib/commonjs/components/Filters/index.js.map +0 -1
  212. package/lib/commonjs/components/Input/Input.js +0 -161
  213. package/lib/commonjs/components/Input/Input.js.map +0 -1
  214. package/lib/commonjs/components/Input/README.md +0 -128
  215. package/lib/commonjs/components/Input/index.js +0 -29
  216. package/lib/commonjs/components/Input/index.js.map +0 -1
  217. package/lib/commonjs/components/LockOverlay/LockOverlay.js +0 -65
  218. package/lib/commonjs/components/LockOverlay/LockOverlay.js.map +0 -1
  219. package/lib/commonjs/components/LockOverlay/index.js +0 -29
  220. package/lib/commonjs/components/LockOverlay/index.js.map +0 -1
  221. package/lib/commonjs/components/Marquee/Marquee.js +0 -105
  222. package/lib/commonjs/components/Marquee/Marquee.js.map +0 -1
  223. package/lib/commonjs/components/Marquee/index.js +0 -29
  224. package/lib/commonjs/components/Marquee/index.js.map +0 -1
  225. package/lib/commonjs/components/NumericStepper/NumericStepper.js +0 -103
  226. package/lib/commonjs/components/NumericStepper/NumericStepper.js.map +0 -1
  227. package/lib/commonjs/components/NumericStepper/index.js +0 -29
  228. package/lib/commonjs/components/NumericStepper/index.js.map +0 -1
  229. package/lib/commonjs/components/Popup/Popup.js +0 -342
  230. package/lib/commonjs/components/Popup/Popup.js.map +0 -1
  231. package/lib/commonjs/components/Popup/README.md +0 -133
  232. package/lib/commonjs/components/Popup/index.js +0 -29
  233. package/lib/commonjs/components/Popup/index.js.map +0 -1
  234. package/lib/commonjs/components/ProgressBar/ProgressBar.js +0 -125
  235. package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +0 -1
  236. package/lib/commonjs/components/ProgressBar/index.js +0 -29
  237. package/lib/commonjs/components/ProgressBar/index.js.map +0 -1
  238. package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js +0 -459
  239. package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js.map +0 -1
  240. package/lib/commonjs/components/RedeemedVoucher/index.js +0 -29
  241. package/lib/commonjs/components/RedeemedVoucher/index.js.map +0 -1
  242. package/lib/commonjs/components/RedemptionOption/README.md +0 -148
  243. package/lib/commonjs/components/RedemptionOption/RedemptionOption.js +0 -132
  244. package/lib/commonjs/components/RedemptionOption/RedemptionOption.js.map +0 -1
  245. package/lib/commonjs/components/RedemptionOption/index.js +0 -29
  246. package/lib/commonjs/components/RedemptionOption/index.js.map +0 -1
  247. package/lib/commonjs/components/ScratchCard/README.md +0 -119
  248. package/lib/commonjs/components/ScratchCard/ScratchCard.js +0 -222
  249. package/lib/commonjs/components/ScratchCard/ScratchCard.js.map +0 -1
  250. package/lib/commonjs/components/ScratchCard/ScratchCardContent.js +0 -28
  251. package/lib/commonjs/components/ScratchCard/ScratchCardContent.js.map +0 -1
  252. package/lib/commonjs/components/ScratchCard/index.js +0 -48
  253. package/lib/commonjs/components/ScratchCard/index.js.map +0 -1
  254. package/lib/commonjs/components/SelectAmount/SelectAmount.js +0 -189
  255. package/lib/commonjs/components/SelectAmount/SelectAmount.js.map +0 -1
  256. package/lib/commonjs/components/SelectAmount/index.js +0 -4
  257. package/lib/commonjs/components/SelectAmount/index.js.map +0 -1
  258. package/lib/commonjs/components/Skeleton/Shimmer.js +0 -75
  259. package/lib/commonjs/components/Skeleton/Shimmer.js.map +0 -1
  260. package/lib/commonjs/components/Skeleton/SkeletonElement.js +0 -36
  261. package/lib/commonjs/components/Skeleton/SkeletonElement.js.map +0 -1
  262. package/lib/commonjs/components/Skeleton/index.js +0 -48
  263. package/lib/commonjs/components/Skeleton/index.js.map +0 -1
  264. package/lib/commonjs/components/Suggestions/SuggestionList.js +0 -98
  265. package/lib/commonjs/components/Suggestions/SuggestionList.js.map +0 -1
  266. package/lib/commonjs/components/TravelBooking/CarRentalForm.js +0 -370
  267. package/lib/commonjs/components/TravelBooking/CarRentalForm.js.map +0 -1
  268. package/lib/commonjs/components/TravelBooking/FlightForm.js +0 -347
  269. package/lib/commonjs/components/TravelBooking/FlightForm.js.map +0 -1
  270. package/lib/commonjs/components/TravelBooking/FlightSummary.js +0 -257
  271. package/lib/commonjs/components/TravelBooking/FlightSummary.js.map +0 -1
  272. package/lib/commonjs/components/TravelBooking/HotelForm.js +0 -290
  273. package/lib/commonjs/components/TravelBooking/HotelForm.js.map +0 -1
  274. package/lib/commonjs/components/TravelBooking/HotelSummary.js +0 -246
  275. package/lib/commonjs/components/TravelBooking/HotelSummary.js.map +0 -1
  276. package/lib/commonjs/components/TravelBooking/README.md +0 -421
  277. package/lib/commonjs/components/TravelBooking/SummaryBar.js +0 -181
  278. package/lib/commonjs/components/TravelBooking/SummaryBar.js.map +0 -1
  279. package/lib/commonjs/components/TravelBooking/TabSelector.js +0 -115
  280. package/lib/commonjs/components/TravelBooking/TabSelector.js.map +0 -1
  281. package/lib/commonjs/components/TravelBooking/TravelBooking.js +0 -261
  282. package/lib/commonjs/components/TravelBooking/TravelBooking.js.map +0 -1
  283. package/lib/commonjs/components/TravelBooking/index.js +0 -22
  284. package/lib/commonjs/components/TravelBooking/index.js.map +0 -1
  285. package/lib/commonjs/components/TravelBooking/types.js +0 -15
  286. package/lib/commonjs/components/TravelBooking/types.js.map +0 -1
  287. package/lib/commonjs/components/UnlockRewards/README.md +0 -187
  288. package/lib/commonjs/components/UnlockRewards/RewardItem.js +0 -129
  289. package/lib/commonjs/components/UnlockRewards/RewardItem.js.map +0 -1
  290. package/lib/commonjs/components/UnlockRewards/UnlockRewards.js +0 -230
  291. package/lib/commonjs/components/UnlockRewards/UnlockRewards.js.map +0 -1
  292. package/lib/commonjs/components/UnlockRewards/index.js +0 -48
  293. package/lib/commonjs/components/UnlockRewards/index.js.map +0 -1
  294. package/lib/commonjs/components/Wheel/README.md +0 -141
  295. package/lib/commonjs/components/Wheel/Wheel.js +0 -361
  296. package/lib/commonjs/components/Wheel/Wheel.js.map +0 -1
  297. package/lib/commonjs/components/Wheel/index.js +0 -29
  298. package/lib/commonjs/components/Wheel/index.js.map +0 -1
  299. package/lib/commonjs/components/index.js +0 -204
  300. package/lib/commonjs/components/index.js.map +0 -1
  301. package/lib/commonjs/constants/BRANDS.js +0 -58
  302. package/lib/commonjs/constants/BRANDS.js.map +0 -1
  303. package/lib/commonjs/index.js +0 -28
  304. package/lib/commonjs/index.js.map +0 -1
  305. package/lib/commonjs/theme/Colors.js +0 -154
  306. package/lib/commonjs/theme/Colors.js.map +0 -1
  307. package/lib/commonjs/theme/ThemeContext.js +0 -57
  308. package/lib/commonjs/theme/ThemeContext.js.map +0 -1
  309. package/lib/commonjs/theme/index.js +0 -28
  310. package/lib/commonjs/theme/index.js.map +0 -1
  311. package/lib/typescript/commonjs/app.d.ts.map +0 -1
  312. package/lib/typescript/commonjs/components/Badges/Badge.d.ts.map +0 -1
  313. package/lib/typescript/commonjs/components/Badges/index.d.ts.map +0 -1
  314. package/lib/typescript/commonjs/components/Banner/Banner.d.ts.map +0 -1
  315. package/lib/typescript/commonjs/components/Banner/BannerWithDetails.d.ts.map +0 -1
  316. package/lib/typescript/commonjs/components/Banner/index.d.ts.map +0 -1
  317. package/lib/typescript/commonjs/components/BrandIcon/BrandIcon.d.ts.map +0 -1
  318. package/lib/typescript/commonjs/components/BrandIcon/index.d.ts.map +0 -1
  319. package/lib/typescript/commonjs/components/Button/Button.d.ts.map +0 -1
  320. package/lib/typescript/commonjs/components/Button/index.d.ts.map +0 -1
  321. package/lib/typescript/commonjs/components/Card/Card.d.ts.map +0 -1
  322. package/lib/typescript/commonjs/components/Card/CardContent.d.ts.map +0 -1
  323. package/lib/typescript/commonjs/components/Card/CardFooter.d.ts.map +0 -1
  324. package/lib/typescript/commonjs/components/Card/CardHeader.d.ts.map +0 -1
  325. package/lib/typescript/commonjs/components/Card/CardImage.d.ts.map +0 -1
  326. package/lib/typescript/commonjs/components/Card/index.d.ts.map +0 -1
  327. package/lib/typescript/commonjs/components/Card/templates/DealCard.d.ts.map +0 -1
  328. package/lib/typescript/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
  329. package/lib/typescript/commonjs/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
  330. package/lib/typescript/commonjs/components/Card/types.d.ts.map +0 -1
  331. package/lib/typescript/commonjs/components/CloseIcon/CloseIcon.d.ts.map +0 -1
  332. package/lib/typescript/commonjs/components/CloseIcon/index.d.ts.map +0 -1
  333. package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  334. package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +0 -1
  335. package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts.map +0 -1
  336. package/lib/typescript/commonjs/components/Filters/Filters.d.ts.map +0 -1
  337. package/lib/typescript/commonjs/components/Filters/PointsRangeSelector.d.ts.map +0 -1
  338. package/lib/typescript/commonjs/components/Filters/index.d.ts.map +0 -1
  339. package/lib/typescript/commonjs/components/Input/Input.d.ts.map +0 -1
  340. package/lib/typescript/commonjs/components/Input/index.d.ts.map +0 -1
  341. package/lib/typescript/commonjs/components/LockOverlay/LockOverlay.d.ts.map +0 -1
  342. package/lib/typescript/commonjs/components/LockOverlay/index.d.ts.map +0 -1
  343. package/lib/typescript/commonjs/components/Marquee/Marquee.d.ts.map +0 -1
  344. package/lib/typescript/commonjs/components/Marquee/index.d.ts.map +0 -1
  345. package/lib/typescript/commonjs/components/NumericStepper/NumericStepper.d.ts.map +0 -1
  346. package/lib/typescript/commonjs/components/NumericStepper/index.d.ts.map +0 -1
  347. package/lib/typescript/commonjs/components/Popup/Popup.d.ts.map +0 -1
  348. package/lib/typescript/commonjs/components/Popup/index.d.ts.map +0 -1
  349. package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts.map +0 -1
  350. package/lib/typescript/commonjs/components/ProgressBar/index.d.ts.map +0 -1
  351. package/lib/typescript/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
  352. package/lib/typescript/commonjs/components/RedeemedVoucher/index.d.ts.map +0 -1
  353. package/lib/typescript/commonjs/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
  354. package/lib/typescript/commonjs/components/RedemptionOption/index.d.ts.map +0 -1
  355. package/lib/typescript/commonjs/components/ScratchCard/ScratchCard.d.ts.map +0 -1
  356. package/lib/typescript/commonjs/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
  357. package/lib/typescript/commonjs/components/ScratchCard/index.d.ts.map +0 -1
  358. package/lib/typescript/commonjs/components/SelectAmount/SelectAmount.d.ts.map +0 -1
  359. package/lib/typescript/commonjs/components/SelectAmount/index.d.ts +0 -1
  360. package/lib/typescript/commonjs/components/SelectAmount/index.d.ts.map +0 -1
  361. package/lib/typescript/commonjs/components/Skeleton/Shimmer.d.ts.map +0 -1
  362. package/lib/typescript/commonjs/components/Skeleton/SkeletonElement.d.ts.map +0 -1
  363. package/lib/typescript/commonjs/components/Skeleton/index.d.ts.map +0 -1
  364. package/lib/typescript/commonjs/components/Suggestions/SuggestionList.d.ts.map +0 -1
  365. package/lib/typescript/commonjs/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
  366. package/lib/typescript/commonjs/components/TravelBooking/FlightForm.d.ts.map +0 -1
  367. package/lib/typescript/commonjs/components/TravelBooking/FlightSummary.d.ts.map +0 -1
  368. package/lib/typescript/commonjs/components/TravelBooking/HotelForm.d.ts.map +0 -1
  369. package/lib/typescript/commonjs/components/TravelBooking/HotelSummary.d.ts.map +0 -1
  370. package/lib/typescript/commonjs/components/TravelBooking/SummaryBar.d.ts.map +0 -1
  371. package/lib/typescript/commonjs/components/TravelBooking/TabSelector.d.ts.map +0 -1
  372. package/lib/typescript/commonjs/components/TravelBooking/TravelBooking.d.ts.map +0 -1
  373. package/lib/typescript/commonjs/components/TravelBooking/index.d.ts +0 -1
  374. package/lib/typescript/commonjs/components/TravelBooking/index.d.ts.map +0 -1
  375. package/lib/typescript/commonjs/components/TravelBooking/types.d.ts.map +0 -1
  376. package/lib/typescript/commonjs/components/UnlockRewards/RewardItem.d.ts.map +0 -1
  377. package/lib/typescript/commonjs/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
  378. package/lib/typescript/commonjs/components/UnlockRewards/index.d.ts.map +0 -1
  379. package/lib/typescript/commonjs/components/Wheel/Wheel.d.ts.map +0 -1
  380. package/lib/typescript/commonjs/components/Wheel/index.d.ts.map +0 -1
  381. package/lib/typescript/commonjs/components/index.d.ts.map +0 -1
  382. package/lib/typescript/commonjs/constants/BRANDS.d.ts.map +0 -1
  383. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  384. package/lib/typescript/commonjs/package.json +0 -1
  385. package/lib/typescript/commonjs/theme/Colors.d.ts.map +0 -1
  386. package/lib/typescript/commonjs/theme/ThemeContext.d.ts.map +0 -1
  387. package/lib/typescript/commonjs/theme/index.d.ts.map +0 -1
  388. package/lib/typescript/module/app.d.ts +0 -4
  389. package/lib/typescript/module/app.d.ts.map +0 -1
  390. package/lib/typescript/module/components/Badges/Badge.d.ts +0 -16
  391. package/lib/typescript/module/components/Badges/Badge.d.ts.map +0 -1
  392. package/lib/typescript/module/components/Badges/index.d.ts +0 -3
  393. package/lib/typescript/module/components/Badges/index.d.ts.map +0 -1
  394. package/lib/typescript/module/components/Banner/Banner.d.ts +0 -26
  395. package/lib/typescript/module/components/Banner/Banner.d.ts.map +0 -1
  396. package/lib/typescript/module/components/Banner/BannerWithDetails.d.ts +0 -19
  397. package/lib/typescript/module/components/Banner/BannerWithDetails.d.ts.map +0 -1
  398. package/lib/typescript/module/components/Banner/index.d.ts +0 -5
  399. package/lib/typescript/module/components/Banner/index.d.ts.map +0 -1
  400. package/lib/typescript/module/components/BrandIcon/BrandIcon.d.ts +0 -21
  401. package/lib/typescript/module/components/BrandIcon/BrandIcon.d.ts.map +0 -1
  402. package/lib/typescript/module/components/BrandIcon/index.d.ts +0 -3
  403. package/lib/typescript/module/components/BrandIcon/index.d.ts.map +0 -1
  404. package/lib/typescript/module/components/Button/Button.d.ts +0 -21
  405. package/lib/typescript/module/components/Button/Button.d.ts.map +0 -1
  406. package/lib/typescript/module/components/Button/index.d.ts +0 -3
  407. package/lib/typescript/module/components/Button/index.d.ts.map +0 -1
  408. package/lib/typescript/module/components/Card/Card.d.ts +0 -5
  409. package/lib/typescript/module/components/Card/Card.d.ts.map +0 -1
  410. package/lib/typescript/module/components/Card/CardContent.d.ts +0 -5
  411. package/lib/typescript/module/components/Card/CardContent.d.ts.map +0 -1
  412. package/lib/typescript/module/components/Card/CardFooter.d.ts +0 -5
  413. package/lib/typescript/module/components/Card/CardFooter.d.ts.map +0 -1
  414. package/lib/typescript/module/components/Card/CardHeader.d.ts +0 -5
  415. package/lib/typescript/module/components/Card/CardHeader.d.ts.map +0 -1
  416. package/lib/typescript/module/components/Card/CardImage.d.ts +0 -5
  417. package/lib/typescript/module/components/Card/CardImage.d.ts.map +0 -1
  418. package/lib/typescript/module/components/Card/index.d.ts +0 -11
  419. package/lib/typescript/module/components/Card/index.d.ts.map +0 -1
  420. package/lib/typescript/module/components/Card/templates/DealCard.d.ts +0 -33
  421. package/lib/typescript/module/components/Card/templates/DealCard.d.ts.map +0 -1
  422. package/lib/typescript/module/components/Card/templates/DealCardWithBackgroundImage.d.ts +0 -40
  423. package/lib/typescript/module/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
  424. package/lib/typescript/module/components/Card/templates/SimpleTrendingCard.d.ts +0 -14
  425. package/lib/typescript/module/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
  426. package/lib/typescript/module/components/Card/types.d.ts +0 -91
  427. package/lib/typescript/module/components/Card/types.d.ts.map +0 -1
  428. package/lib/typescript/module/components/CloseIcon/CloseIcon.d.ts +0 -16
  429. package/lib/typescript/module/components/CloseIcon/CloseIcon.d.ts.map +0 -1
  430. package/lib/typescript/module/components/CloseIcon/index.d.ts +0 -3
  431. package/lib/typescript/module/components/CloseIcon/index.d.ts.map +0 -1
  432. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +0 -25
  433. package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  434. package/lib/typescript/module/components/DateRangePicker/index.d.ts +0 -1
  435. package/lib/typescript/module/components/DateRangePicker/index.d.ts.map +0 -1
  436. package/lib/typescript/module/components/Filters/Filters.d.ts +0 -80
  437. package/lib/typescript/module/components/Filters/Filters.d.ts.map +0 -1
  438. package/lib/typescript/module/components/Filters/PointsRangeSelector.d.ts +0 -29
  439. package/lib/typescript/module/components/Filters/PointsRangeSelector.d.ts.map +0 -1
  440. package/lib/typescript/module/components/Filters/index.d.ts +0 -5
  441. package/lib/typescript/module/components/Filters/index.d.ts.map +0 -1
  442. package/lib/typescript/module/components/Input/Input.d.ts +0 -23
  443. package/lib/typescript/module/components/Input/Input.d.ts.map +0 -1
  444. package/lib/typescript/module/components/Input/index.d.ts +0 -3
  445. package/lib/typescript/module/components/Input/index.d.ts.map +0 -1
  446. package/lib/typescript/module/components/LockOverlay/LockOverlay.d.ts +0 -16
  447. package/lib/typescript/module/components/LockOverlay/LockOverlay.d.ts.map +0 -1
  448. package/lib/typescript/module/components/LockOverlay/index.d.ts +0 -3
  449. package/lib/typescript/module/components/LockOverlay/index.d.ts.map +0 -1
  450. package/lib/typescript/module/components/Marquee/Marquee.d.ts +0 -18
  451. package/lib/typescript/module/components/Marquee/Marquee.d.ts.map +0 -1
  452. package/lib/typescript/module/components/Marquee/index.d.ts +0 -3
  453. package/lib/typescript/module/components/Marquee/index.d.ts.map +0 -1
  454. package/lib/typescript/module/components/NumericStepper/NumericStepper.d.ts +0 -19
  455. package/lib/typescript/module/components/NumericStepper/NumericStepper.d.ts.map +0 -1
  456. package/lib/typescript/module/components/NumericStepper/index.d.ts +0 -3
  457. package/lib/typescript/module/components/NumericStepper/index.d.ts.map +0 -1
  458. package/lib/typescript/module/components/Popup/Popup.d.ts +0 -42
  459. package/lib/typescript/module/components/Popup/Popup.d.ts.map +0 -1
  460. package/lib/typescript/module/components/Popup/index.d.ts +0 -3
  461. package/lib/typescript/module/components/Popup/index.d.ts.map +0 -1
  462. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +0 -26
  463. package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts.map +0 -1
  464. package/lib/typescript/module/components/ProgressBar/index.d.ts +0 -3
  465. package/lib/typescript/module/components/ProgressBar/index.d.ts.map +0 -1
  466. package/lib/typescript/module/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -58
  467. package/lib/typescript/module/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
  468. package/lib/typescript/module/components/RedeemedVoucher/index.d.ts +0 -3
  469. package/lib/typescript/module/components/RedeemedVoucher/index.d.ts.map +0 -1
  470. package/lib/typescript/module/components/RedemptionOption/RedemptionOption.d.ts +0 -25
  471. package/lib/typescript/module/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
  472. package/lib/typescript/module/components/RedemptionOption/index.d.ts +0 -3
  473. package/lib/typescript/module/components/RedemptionOption/index.d.ts.map +0 -1
  474. package/lib/typescript/module/components/ScratchCard/ScratchCard.d.ts +0 -31
  475. package/lib/typescript/module/components/ScratchCard/ScratchCard.d.ts.map +0 -1
  476. package/lib/typescript/module/components/ScratchCard/ScratchCardContent.d.ts +0 -8
  477. package/lib/typescript/module/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
  478. package/lib/typescript/module/components/ScratchCard/index.d.ts +0 -5
  479. package/lib/typescript/module/components/ScratchCard/index.d.ts.map +0 -1
  480. package/lib/typescript/module/components/SelectAmount/SelectAmount.d.ts +0 -29
  481. package/lib/typescript/module/components/SelectAmount/SelectAmount.d.ts.map +0 -1
  482. package/lib/typescript/module/components/SelectAmount/index.d.ts +0 -1
  483. package/lib/typescript/module/components/SelectAmount/index.d.ts.map +0 -1
  484. package/lib/typescript/module/components/Skeleton/Shimmer.d.ts +0 -13
  485. package/lib/typescript/module/components/Skeleton/Shimmer.d.ts.map +0 -1
  486. package/lib/typescript/module/components/Skeleton/SkeletonElement.d.ts +0 -12
  487. package/lib/typescript/module/components/Skeleton/SkeletonElement.d.ts.map +0 -1
  488. package/lib/typescript/module/components/Skeleton/index.d.ts +0 -5
  489. package/lib/typescript/module/components/Skeleton/index.d.ts.map +0 -1
  490. package/lib/typescript/module/components/Suggestions/SuggestionList.d.ts +0 -14
  491. package/lib/typescript/module/components/Suggestions/SuggestionList.d.ts.map +0 -1
  492. package/lib/typescript/module/components/TravelBooking/CarRentalForm.d.ts +0 -58
  493. package/lib/typescript/module/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
  494. package/lib/typescript/module/components/TravelBooking/FlightForm.d.ts +0 -57
  495. package/lib/typescript/module/components/TravelBooking/FlightForm.d.ts.map +0 -1
  496. package/lib/typescript/module/components/TravelBooking/FlightSummary.d.ts +0 -41
  497. package/lib/typescript/module/components/TravelBooking/FlightSummary.d.ts.map +0 -1
  498. package/lib/typescript/module/components/TravelBooking/HotelForm.d.ts +0 -52
  499. package/lib/typescript/module/components/TravelBooking/HotelForm.d.ts.map +0 -1
  500. package/lib/typescript/module/components/TravelBooking/HotelSummary.d.ts +0 -44
  501. package/lib/typescript/module/components/TravelBooking/HotelSummary.d.ts.map +0 -1
  502. package/lib/typescript/module/components/TravelBooking/SummaryBar.d.ts +0 -17
  503. package/lib/typescript/module/components/TravelBooking/SummaryBar.d.ts.map +0 -1
  504. package/lib/typescript/module/components/TravelBooking/TabSelector.d.ts +0 -17
  505. package/lib/typescript/module/components/TravelBooking/TabSelector.d.ts.map +0 -1
  506. package/lib/typescript/module/components/TravelBooking/TravelBooking.d.ts +0 -84
  507. package/lib/typescript/module/components/TravelBooking/TravelBooking.d.ts.map +0 -1
  508. package/lib/typescript/module/components/TravelBooking/index.d.ts +0 -1
  509. package/lib/typescript/module/components/TravelBooking/index.d.ts.map +0 -1
  510. package/lib/typescript/module/components/TravelBooking/types.d.ts +0 -26
  511. package/lib/typescript/module/components/TravelBooking/types.d.ts.map +0 -1
  512. package/lib/typescript/module/components/UnlockRewards/RewardItem.d.ts +0 -25
  513. package/lib/typescript/module/components/UnlockRewards/RewardItem.d.ts.map +0 -1
  514. package/lib/typescript/module/components/UnlockRewards/UnlockRewards.d.ts +0 -60
  515. package/lib/typescript/module/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
  516. package/lib/typescript/module/components/UnlockRewards/index.d.ts +0 -5
  517. package/lib/typescript/module/components/UnlockRewards/index.d.ts.map +0 -1
  518. package/lib/typescript/module/components/Wheel/Wheel.d.ts +0 -37
  519. package/lib/typescript/module/components/Wheel/Wheel.d.ts.map +0 -1
  520. package/lib/typescript/module/components/Wheel/index.d.ts +0 -3
  521. package/lib/typescript/module/components/Wheel/index.d.ts.map +0 -1
  522. package/lib/typescript/module/components/index.d.ts +0 -19
  523. package/lib/typescript/module/components/index.d.ts.map +0 -1
  524. package/lib/typescript/module/constants/BRANDS.d.ts +0 -13
  525. package/lib/typescript/module/constants/BRANDS.d.ts.map +0 -1
  526. package/lib/typescript/module/index.d.ts +0 -3
  527. package/lib/typescript/module/index.d.ts.map +0 -1
  528. package/lib/typescript/module/theme/Colors.d.ts +0 -45
  529. package/lib/typescript/module/theme/Colors.d.ts.map +0 -1
  530. package/lib/typescript/module/theme/ThemeContext.d.ts +0 -18
  531. package/lib/typescript/module/theme/ThemeContext.d.ts.map +0 -1
  532. package/lib/typescript/module/theme/index.d.ts +0 -3
  533. package/lib/typescript/module/theme/index.d.ts.map +0 -1
  534. /package/lib/{typescript/module → module}/package.json +0 -0
  535. /package/lib/typescript/{commonjs/app.d.ts → app.d.ts} +0 -0
  536. /package/lib/typescript/{commonjs/components → components}/Badges/Badge.d.ts +0 -0
  537. /package/lib/typescript/{commonjs/components → components}/Badges/index.d.ts +0 -0
  538. /package/lib/typescript/{commonjs/components → components}/Banner/Banner.d.ts +0 -0
  539. /package/lib/typescript/{commonjs/components → components}/Banner/BannerWithDetails.d.ts +0 -0
  540. /package/lib/typescript/{commonjs/components → components}/Banner/index.d.ts +0 -0
  541. /package/lib/typescript/{commonjs/components → components}/BrandIcon/BrandIcon.d.ts +0 -0
  542. /package/lib/typescript/{commonjs/components → components}/BrandIcon/index.d.ts +0 -0
  543. /package/lib/typescript/{commonjs/components → components}/Button/Button.d.ts +0 -0
  544. /package/lib/typescript/{commonjs/components → components}/Button/index.d.ts +0 -0
  545. /package/lib/typescript/{commonjs/components → components}/Card/Card.d.ts +0 -0
  546. /package/lib/typescript/{commonjs/components → components}/Card/CardContent.d.ts +0 -0
  547. /package/lib/typescript/{commonjs/components → components}/Card/CardFooter.d.ts +0 -0
  548. /package/lib/typescript/{commonjs/components → components}/Card/CardHeader.d.ts +0 -0
  549. /package/lib/typescript/{commonjs/components → components}/Card/CardImage.d.ts +0 -0
  550. /package/lib/typescript/{commonjs/components → components}/Card/index.d.ts +0 -0
  551. /package/lib/typescript/{commonjs/components → components}/Card/templates/DealCard.d.ts +0 -0
  552. /package/lib/typescript/{commonjs/components → components}/Card/templates/DealCardWithBackgroundImage.d.ts +0 -0
  553. /package/lib/typescript/{commonjs/components → components}/Card/templates/SimpleTrendingCard.d.ts +0 -0
  554. /package/lib/typescript/{commonjs/components → components}/Card/types.d.ts +0 -0
  555. /package/lib/typescript/{commonjs/components → components}/CloseIcon/CloseIcon.d.ts +0 -0
  556. /package/lib/typescript/{commonjs/components → components}/CloseIcon/index.d.ts +0 -0
  557. /package/lib/typescript/{commonjs/components → components}/DateRangePicker/DateRangePicker.d.ts +0 -0
  558. /package/lib/typescript/{commonjs/components → components}/Filters/Filters.d.ts +0 -0
  559. /package/lib/typescript/{commonjs/components → components}/Filters/PointsRangeSelector.d.ts +0 -0
  560. /package/lib/typescript/{commonjs/components → components}/Filters/index.d.ts +0 -0
  561. /package/lib/typescript/{commonjs/components → components}/Input/Input.d.ts +0 -0
  562. /package/lib/typescript/{commonjs/components → components}/Input/index.d.ts +0 -0
  563. /package/lib/typescript/{commonjs/components → components}/LockOverlay/LockOverlay.d.ts +0 -0
  564. /package/lib/typescript/{commonjs/components → components}/LockOverlay/index.d.ts +0 -0
  565. /package/lib/typescript/{commonjs/components → components}/Marquee/Marquee.d.ts +0 -0
  566. /package/lib/typescript/{commonjs/components → components}/Marquee/index.d.ts +0 -0
  567. /package/lib/typescript/{commonjs/components → components}/NumericStepper/NumericStepper.d.ts +0 -0
  568. /package/lib/typescript/{commonjs/components → components}/NumericStepper/index.d.ts +0 -0
  569. /package/lib/typescript/{commonjs/components → components}/Popup/Popup.d.ts +0 -0
  570. /package/lib/typescript/{commonjs/components → components}/Popup/index.d.ts +0 -0
  571. /package/lib/typescript/{commonjs/components → components}/ProgressBar/ProgressBar.d.ts +0 -0
  572. /package/lib/typescript/{commonjs/components → components}/ProgressBar/index.d.ts +0 -0
  573. /package/lib/typescript/{commonjs/components → components}/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -0
  574. /package/lib/typescript/{commonjs/components → components}/RedeemedVoucher/index.d.ts +0 -0
  575. /package/lib/typescript/{commonjs/components → components}/RedemptionOption/RedemptionOption.d.ts +0 -0
  576. /package/lib/typescript/{commonjs/components → components}/RedemptionOption/index.d.ts +0 -0
  577. /package/lib/typescript/{commonjs/components → components}/ScratchCard/ScratchCard.d.ts +0 -0
  578. /package/lib/typescript/{commonjs/components → components}/ScratchCard/ScratchCardContent.d.ts +0 -0
  579. /package/lib/typescript/{commonjs/components → components}/ScratchCard/index.d.ts +0 -0
  580. /package/lib/typescript/{commonjs/components → components}/SelectAmount/SelectAmount.d.ts +0 -0
  581. /package/lib/typescript/{commonjs/components → components}/Skeleton/Shimmer.d.ts +0 -0
  582. /package/lib/typescript/{commonjs/components → components}/Skeleton/SkeletonElement.d.ts +0 -0
  583. /package/lib/typescript/{commonjs/components → components}/Skeleton/index.d.ts +0 -0
  584. /package/lib/typescript/{commonjs/components → components}/Suggestions/SuggestionList.d.ts +0 -0
  585. /package/lib/typescript/{commonjs/components → components}/TravelBooking/CarRentalForm.d.ts +0 -0
  586. /package/lib/typescript/{commonjs/components → components}/TravelBooking/FlightForm.d.ts +0 -0
  587. /package/lib/typescript/{commonjs/components → components}/TravelBooking/FlightSummary.d.ts +0 -0
  588. /package/lib/typescript/{commonjs/components → components}/TravelBooking/HotelForm.d.ts +0 -0
  589. /package/lib/typescript/{commonjs/components → components}/TravelBooking/HotelSummary.d.ts +0 -0
  590. /package/lib/typescript/{commonjs/components → components}/TravelBooking/SummaryBar.d.ts +0 -0
  591. /package/lib/typescript/{commonjs/components → components}/TravelBooking/TabSelector.d.ts +0 -0
  592. /package/lib/typescript/{commonjs/components → components}/TravelBooking/TravelBooking.d.ts +0 -0
  593. /package/lib/typescript/{commonjs/components → components}/TravelBooking/types.d.ts +0 -0
  594. /package/lib/typescript/{commonjs/components → components}/UnlockRewards/RewardItem.d.ts +0 -0
  595. /package/lib/typescript/{commonjs/components → components}/UnlockRewards/UnlockRewards.d.ts +0 -0
  596. /package/lib/typescript/{commonjs/components → components}/UnlockRewards/index.d.ts +0 -0
  597. /package/lib/typescript/{commonjs/components → components}/Wheel/Wheel.d.ts +0 -0
  598. /package/lib/typescript/{commonjs/components → components}/Wheel/index.d.ts +0 -0
  599. /package/lib/typescript/{commonjs/components → components}/index.d.ts +0 -0
  600. /package/lib/typescript/{commonjs/constants → constants}/BRANDS.d.ts +0 -0
  601. /package/lib/typescript/{commonjs/index.d.ts → index.d.ts} +0 -0
  602. /package/lib/typescript/{commonjs/theme → theme}/Colors.d.ts +0 -0
  603. /package/lib/typescript/{commonjs/theme → theme}/ThemeContext.d.ts +0 -0
  604. /package/lib/typescript/{commonjs/theme → theme}/index.d.ts +0 -0
@@ -1,347 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _theme = require("@/theme");
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _reactNative = require("react-native");
10
- var _vectorIcons = require("@expo/vector-icons");
11
- var _Input = _interopRequireDefault(require("../Input/Input.js"));
12
- var _DateRangePicker = _interopRequireDefault(require("../DateRangePicker/DateRangePicker.js"));
13
- var _SuggestionList = _interopRequireDefault(require("../Suggestions/SuggestionList.js"));
14
- var _types = require("./types.js");
15
- var _jsxRuntime = require("react/jsx-runtime");
16
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
- 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); }
18
- 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; }
19
- // --- Helper Types ---
20
-
21
- // --- Component Props ---
22
-
23
- // --- Component ---
24
- const FlightForm = ({
25
- initialFromLocation = "Beirut, Beirut Intl Arpt - BEY",
26
- initialToLocation = "Dubai, Dubai Intl Arpt - DXB",
27
- initialDepartureDate,
28
- initialReturnDate,
29
- onSwapPress,
30
- onSearchPress,
31
- onInputFocus,
32
- onTextChange,
33
- fromLabel = "FROM",
34
- toLabel = "TO",
35
- fromPlaceholder = "From Where?",
36
- toPlaceholder = "To Where?",
37
- departureLabel = "DEPARTURE",
38
- returnLabel = "RETURN",
39
- swapIconName = "swap-horizontal",
40
- searchIconName = "search",
41
- calendarThemeOverrides = {},
42
- isOneWay,
43
- suggestionData,
44
- // Style Props
45
- containerStyle,
46
- inputGroupContainerStyle,
47
- inputWrapperStyle,
48
- customInputContainerStyle,
49
- // Renamed from inputStyle for clarity
50
- labelStyle,
51
- swapButtonContainerStyle,
52
- swapButtonStyle,
53
- swapIconStyle,
54
- departureRowStyle,
55
- searchButtonStyle,
56
- searchIconStyle,
57
- dateRangePickerOuterContainerStyle,
58
- dateRangePickerLabelStyle,
59
- dateRangePickerInputGroupStyle,
60
- dateRangePickerCalendarContainerStyle,
61
- suggestionListContainerStyle,
62
- suggestionItemGroupStyle,
63
- suggestionCityRowStyle,
64
- suggestionCityIconStyle,
65
- suggestionCityTextStyle,
66
- suggestionAirportTouchableStyle,
67
- suggestionAirportIconStyle,
68
- suggestionAirportTextStyle
69
- }) => {
70
- const {
71
- theme,
72
- isRTL
73
- } = (0, _theme.useTheme)();
74
- const styles = (0, _react.useMemo)(() => themedStyles(theme, isRTL), [theme, isRTL]);
75
- const toLocationInput = (0, _react.useRef)(null);
76
- const fromLocationInput = (0, _react.useRef)(null);
77
-
78
- // --- State ---
79
- const [fromLocation, setFromLocation] = (0, _react.useState)(initialFromLocation);
80
- const [toLocation, setToLocation] = (0, _react.useState)(initialToLocation);
81
- const [departureDate, setDepartureDate] = (0, _react.useState)(initialDepartureDate);
82
- const [returnDate, setReturnDate] = (0, _react.useState)(initialReturnDate);
83
- const [focusedInput, setFocusedInput] = (0, _react.useState)();
84
-
85
- // --- Handlers ---
86
- const handleSwap = (0, _react.useCallback)(() => {
87
- const currentFrom = fromLocation;
88
- const currentTo = toLocation;
89
- setFromLocation(currentTo);
90
- setToLocation(currentFrom);
91
- onSwapPress?.(currentFrom, currentTo);
92
- }, [fromLocation, toLocation, onSwapPress]);
93
- const handleSearch = (0, _react.useCallback)(() => {
94
- onSearchPress?.({
95
- from: fromLocation,
96
- to: toLocation,
97
- departure: departureDate,
98
- return: isOneWay ? undefined : returnDate // Only send return if not one way
99
- });
100
- }, [fromLocation, toLocation, departureDate, returnDate, isOneWay, onSearchPress]);
101
-
102
- // --- Default Suggestion Renderer (Now Stylable) ---
103
- const suggestionRenderItem = item => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
104
- style: [styles.suggestionItemGroup, suggestionItemGroupStyle],
105
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
106
- style: [styles.suggestionCityRow, suggestionCityRowStyle],
107
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
108
- name: "airplane" // Consider making icon name a prop too if needed
109
- ,
110
- size: 20,
111
- color: theme.primary,
112
- style: [styles.suggestionCityIcon, suggestionCityIconStyle]
113
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
114
- style: [styles.suggestionCityText, suggestionCityTextStyle],
115
- children: item.city
116
- })]
117
- }), item.airports.map((airport, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
118
- style: [styles.suggestionAirportTouchable, suggestionAirportTouchableStyle],
119
- onPress: () => {
120
- if (focusedInput == _types.FormInputType.FLIGHT_TO) {
121
- setToLocation(airport);
122
- toLocationInput.current?.blur();
123
- } else {
124
- setFromLocation(airport);
125
- fromLocationInput.current?.blur();
126
- }
127
- },
128
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
129
- name: "arrow-forward",
130
- size: 18,
131
- color: theme.primary,
132
- style: [styles.suggestionAirportIcon, suggestionAirportIconStyle]
133
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
134
- style: [styles.suggestionAirportText, suggestionAirportTextStyle],
135
- children: airport
136
- })]
137
- }, `${item.id}-${index}`))]
138
- }, item.id);
139
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
140
- style: [styles.container, containerStyle],
141
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
142
- style: [styles.inputGroupContainer, inputGroupContainerStyle],
143
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
144
- style: [styles.inputWrapper, inputWrapperStyle],
145
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
146
- ref: fromLocationInput,
147
- onChangeText: text => {
148
- setFromLocation(text);
149
- onTextChange?.(text);
150
- },
151
- label: fromLabel,
152
- value: fromLocation,
153
- labelStyle: [styles.label, labelStyle],
154
- placeholder: fromPlaceholder,
155
- onFocus: () => {
156
- setFocusedInput(_types.FormInputType.FLIGHT_FROM);
157
- onInputFocus?.(_types.FormInputType.FLIGHT_FROM);
158
- },
159
- onBlur: () => {
160
- setTimeout(() => {
161
- if (focusedInput === _types.FormInputType.FLIGHT_FROM) {
162
- setFocusedInput(undefined);
163
- }
164
- }, 150);
165
- },
166
- containerStyle: customInputContainerStyle
167
- }), suggestionData && /*#__PURE__*/(0, _jsxRuntime.jsx)(_SuggestionList.default, {
168
- data: suggestionData,
169
- visible: focusedInput === _types.FormInputType.FLIGHT_FROM,
170
- renderItemContent: suggestionRenderItem,
171
- containerStyle: suggestionListContainerStyle
172
- })]
173
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
174
- style: [styles.swapButtonContainer, swapButtonContainerStyle],
175
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
176
- style: [styles.swapButton, swapButtonStyle],
177
- onPress: handleSwap,
178
- activeOpacity: 0.7,
179
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
180
- name: swapIconName,
181
- size: 20,
182
- color: theme.onSurface,
183
- style: swapIconStyle
184
- })
185
- })
186
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
187
- style: [styles.inputWrapper, inputWrapperStyle],
188
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.default, {
189
- ref: toLocationInput,
190
- onChangeText: text => {
191
- setToLocation(text);
192
- onTextChange?.(text);
193
- },
194
- label: toLabel,
195
- value: toLocation,
196
- labelStyle: [styles.label, labelStyle],
197
- placeholder: toPlaceholder,
198
- onFocus: () => {
199
- setFocusedInput(_types.FormInputType.FLIGHT_TO);
200
- onInputFocus?.(_types.FormInputType.FLIGHT_TO);
201
- },
202
- onBlur: () => {
203
- // Delay blur slightly to allow suggestion press
204
- setTimeout(() => {
205
- if (focusedInput === _types.FormInputType.FLIGHT_TO) {
206
- setFocusedInput(undefined);
207
- }
208
- }, 150);
209
- }
210
- // Apply customInputContainerStyle (passed to CustomInput)
211
- ,
212
- containerStyle: customInputContainerStyle
213
- }), suggestionData && /*#__PURE__*/(0, _jsxRuntime.jsx)(_SuggestionList.default, {
214
- data: suggestionData,
215
- visible: focusedInput === _types.FormInputType.FLIGHT_TO,
216
- renderItemContent: suggestionRenderItem
217
- // Apply suggestionListContainerStyle
218
- ,
219
- containerStyle: suggestionListContainerStyle
220
- })]
221
- })]
222
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
223
- style: [styles.departureRow, departureRowStyle],
224
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_DateRangePicker.default, {
225
- returnLabel: returnLabel,
226
- departureLabel: departureLabel,
227
- outerContainerStyle: [styles.dateRangePickerOuterContainer, dateRangePickerOuterContainerStyle],
228
- labelStyle: [labelStyle, dateRangePickerLabelStyle],
229
- inputGroupStyle: dateRangePickerInputGroupStyle,
230
- calendarContainerStyle: dateRangePickerCalendarContainerStyle,
231
- calendarThemeOverrides: calendarThemeOverrides,
232
- onDatesChange: d => {
233
- setDepartureDate(d.departure);
234
- setReturnDate(d.return);
235
- },
236
- isOneWay: isOneWay,
237
- initialDepartureDate: initialDepartureDate,
238
- initialReturnDate: initialReturnDate
239
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
240
- style: [styles.searchButton, searchButtonStyle],
241
- onPress: handleSearch,
242
- activeOpacity: 0.8,
243
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
244
- name: searchIconName,
245
- size: 24,
246
- color: theme.onPrimary,
247
- style: searchIconStyle
248
- })
249
- })]
250
- })]
251
- });
252
- };
253
-
254
- // --- Styles ---
255
- const themedStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
256
- container: {
257
- padding: 16,
258
- backgroundColor: theme.surface,
259
- borderBottomRightRadius: 8,
260
- borderBottomLeftRadius: 8
261
- },
262
- inputGroupContainer: {
263
- position: "relative"
264
- },
265
- inputWrapper: {
266
- marginBottom: 15,
267
- position: "relative"
268
- },
269
- label: {
270
- color: theme.labelText,
271
- fontSize: 12,
272
- fontWeight: "600",
273
- textTransform: "uppercase",
274
- textAlign: isRTL ? "right" : "left",
275
- marginBottom: 6
276
- },
277
- swapButtonContainer: {
278
- // Position swap button between the two input wrappers
279
- // position: "absolute",
280
- // left: 0,
281
- // right: 0,
282
- // top: "50%", // Adjust as needed based on CustomInput height
283
- // transform: [{ translateY: -18 }], // Half the button height
284
- alignItems: "center"
285
- // zIndex: 1, // Ensure button is clickable above inputs
286
- },
287
- swapButton: {
288
- width: 36,
289
- height: 36,
290
- borderRadius: 18,
291
- backgroundColor: theme.surface,
292
- borderColor: theme.border,
293
- borderWidth: 1,
294
- justifyContent: "center",
295
- alignItems: "center"
296
- },
297
- departureRow: {
298
- flexDirection: isRTL ? "row-reverse" : "row",
299
- alignItems: "flex-end",
300
- marginTop: 10,
301
- gap: 10
302
- },
303
- dateRangePickerOuterContainer: {
304
- flex: 1
305
- },
306
- searchButton: {
307
- backgroundColor: theme.primary,
308
- width: 50,
309
- height: 50,
310
- borderRadius: 8,
311
- justifyContent: "center",
312
- alignItems: "center"
313
- },
314
- suggestionItemGroup: {
315
- paddingVertical: 8,
316
- paddingHorizontal: 12,
317
- borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
318
- borderBottomColor: theme.border,
319
- backgroundColor: theme.surface
320
- },
321
- suggestionCityRow: {
322
- flexDirection: "row",
323
- alignItems: "center",
324
- gap: 10,
325
- marginBottom: 5
326
- },
327
- suggestionCityIcon: {},
328
- suggestionCityText: {
329
- fontSize: 15,
330
- fontWeight: "600",
331
- color: theme.onSurface
332
- },
333
- suggestionAirportTouchable: {
334
- flexDirection: "row",
335
- alignItems: "center",
336
- gap: 10,
337
- paddingVertical: 4,
338
- marginLeft: 25
339
- },
340
- suggestionAirportIcon: {},
341
- suggestionAirportText: {
342
- fontSize: 14,
343
- color: theme.onSurface
344
- }
345
- });
346
- var _default = exports.default = FlightForm;
347
- //# sourceMappingURL=FlightForm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_theme","require","_react","_interopRequireWildcard","_reactNative","_vectorIcons","_Input","_interopRequireDefault","_DateRangePicker","_SuggestionList","_types","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","FlightForm","initialFromLocation","initialToLocation","initialDepartureDate","initialReturnDate","onSwapPress","onSearchPress","onInputFocus","onTextChange","fromLabel","toLabel","fromPlaceholder","toPlaceholder","departureLabel","returnLabel","swapIconName","searchIconName","calendarThemeOverrides","isOneWay","suggestionData","containerStyle","inputGroupContainerStyle","inputWrapperStyle","customInputContainerStyle","labelStyle","swapButtonContainerStyle","swapButtonStyle","swapIconStyle","departureRowStyle","searchButtonStyle","searchIconStyle","dateRangePickerOuterContainerStyle","dateRangePickerLabelStyle","dateRangePickerInputGroupStyle","dateRangePickerCalendarContainerStyle","suggestionListContainerStyle","suggestionItemGroupStyle","suggestionCityRowStyle","suggestionCityIconStyle","suggestionCityTextStyle","suggestionAirportTouchableStyle","suggestionAirportIconStyle","suggestionAirportTextStyle","theme","isRTL","useTheme","styles","useMemo","themedStyles","toLocationInput","useRef","fromLocationInput","fromLocation","setFromLocation","useState","toLocation","setToLocation","departureDate","setDepartureDate","returnDate","setReturnDate","focusedInput","setFocusedInput","handleSwap","useCallback","currentFrom","currentTo","handleSearch","from","to","departure","return","undefined","suggestionRenderItem","item","jsxs","View","style","suggestionItemGroup","children","suggestionCityRow","jsx","Ionicons","name","size","color","primary","suggestionCityIcon","Text","suggestionCityText","city","airports","map","airport","index","TouchableOpacity","suggestionAirportTouchable","onPress","FormInputType","FLIGHT_TO","current","blur","suggestionAirportIcon","suggestionAirportText","id","container","inputGroupContainer","inputWrapper","ref","onChangeText","text","label","value","placeholder","onFocus","FLIGHT_FROM","onBlur","setTimeout","data","visible","renderItemContent","swapButtonContainer","swapButton","activeOpacity","onSurface","departureRow","outerContainerStyle","dateRangePickerOuterContainer","inputGroupStyle","calendarContainerStyle","onDatesChange","d","searchButton","onPrimary","StyleSheet","create","padding","backgroundColor","surface","borderBottomRightRadius","borderBottomLeftRadius","position","marginBottom","labelText","fontSize","fontWeight","textTransform","textAlign","alignItems","width","height","borderRadius","borderColor","border","borderWidth","justifyContent","flexDirection","marginTop","gap","flex","paddingVertical","paddingHorizontal","borderBottomWidth","hairlineWidth","borderBottomColor","marginLeft","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/FlightForm.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AASA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAD,sBAAA,CAAAN,OAAA;AACA,IAAAQ,eAAA,GAAAF,sBAAA,CAAAN,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA;AAA2D,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAM,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAA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,KAAK,EAAE1C,KAAK,CAACiF;EACf;AACF,CAAC,CAAC;AAAC,IAAA0C,QAAA,GAAAC,OAAA,CAAAzL,OAAA,GAEUkB,UAAU","ignoreList":[]}
@@ -1,257 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _theme = require("@/theme");
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _reactNative = require("react-native");
10
- var _index = require("../NumericStepper/index.js");
11
- var _jsxRuntime = require("react/jsx-runtime");
12
- 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); }
13
- 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; }
14
- const DEFAULT_PASSENGERS = [{
15
- key: "adults",
16
- name: "Adults",
17
- description: "12+ years old",
18
- defaultValue: 1,
19
- minValue: 1,
20
- maxValue: 9
21
- }, {
22
- key: "children",
23
- name: "Children",
24
- description: "2 - 11 years old",
25
- defaultValue: 0,
26
- minValue: 0,
27
- maxValue: 9
28
- }, {
29
- key: "infants",
30
- name: "Infants",
31
- description: "0 - 1 years old",
32
- defaultValue: 0,
33
- minValue: 0,
34
- maxValue: 9
35
- }];
36
- const DEFAULT_FLIGHT_TYPES = ["Round trip", "One way"];
37
- const DEFAULT_FLIGHT_CLASSES = ["Economy", "Business", "First"];
38
- const getInitialPassengerCounts = config => {
39
- return config.reduce((acc, passenger) => {
40
- acc[passenger.key] = passenger.defaultValue;
41
- return acc;
42
- }, {});
43
- };
44
-
45
- // --- Component Props ---
46
-
47
- // --- Component Implementation ---
48
- const FlightSummary = ({
49
- // Data
50
- passengersData: passengersProp = DEFAULT_PASSENGERS,
51
- flightTypesData: flightTypesProp = DEFAULT_FLIGHT_TYPES,
52
- flightClassesData: flightClassesProp = DEFAULT_FLIGHT_CLASSES,
53
- // State & Callbacks
54
- selection,
55
- onSelectionChange,
56
- // Styles
57
- containerStyle,
58
- buttonGroupContainerStyle,
59
- buttonStyle,
60
- selectedButtonStyle,
61
- buttonTextStyle,
62
- selectedButtonTextStyle,
63
- passengerSectionStyle,
64
- passengerRowStyle,
65
- passengerLabelContainerStyle,
66
- passengerNameStyle,
67
- passengerDescriptionStyle,
68
- stepperContainerStyle,
69
- stepperButtonStyle,
70
- stepperButtonTextStyle,
71
- stepperValueTextStyle
72
- }) => {
73
- const {
74
- theme,
75
- isRTL
76
- } = (0, _theme.useTheme)();
77
- const styles = (0, _react.useMemo)(() => themedStyles(theme, isRTL), [theme, isRTL]);
78
- const passengersConfig = (0, _react.useMemo)(() => passengersProp, [passengersProp]);
79
- const flightTypes = (0, _react.useMemo)(() => flightTypesProp, [flightTypesProp]);
80
- const flightClasses = (0, _react.useMemo)(() => flightClassesProp, [flightClassesProp]);
81
- const [selectedFlightType, setSelectedFlightType] = (0, _react.useState)(selection?.flightType ?? flightTypes[0]);
82
- const [selectedFlightClass, setSelectedFlightClass] = (0, _react.useState)(selection?.flightClass ?? flightClasses[0]);
83
- const [passengerCounts, setPassengerCounts] = (0, _react.useState)(selection?.passengers ?? getInitialPassengerCounts(passengersConfig));
84
- const handleFlightTypeSelect = (0, _react.useCallback)(type => {
85
- setSelectedFlightType(type);
86
- const newState = {
87
- flightType: type,
88
- flightClass: selectedFlightClass,
89
- passengers: passengerCounts
90
- };
91
- onSelectionChange?.(newState);
92
- }, [selectedFlightClass, passengerCounts, onSelectionChange]);
93
- const handlePassengerChange = (0, _react.useCallback)((passengerKey, action) => {
94
- setPassengerCounts(prevCounts => {
95
- const passengerInfo = passengersConfig.find(p => p.key === passengerKey);
96
- if (!passengerInfo) return prevCounts;
97
- const currentVal = prevCounts[passengerKey];
98
- const minValue = passengerInfo.minValue;
99
- const maxValue = passengerInfo.maxValue ?? 99;
100
- let newValue = currentVal;
101
- if (action === "increment") {
102
- newValue = Math.min(maxValue, currentVal + 1);
103
- } else if (action === "decrement") {
104
- newValue = Math.max(minValue, currentVal - 1);
105
- }
106
-
107
- // Only update if value changed
108
- if (newValue === currentVal) {
109
- return prevCounts;
110
- }
111
- const newCounts = {
112
- ...prevCounts,
113
- [passengerKey]: newValue
114
- };
115
- const newState = {
116
- flightType: selectedFlightType,
117
- flightClass: selectedFlightClass,
118
- passengers: newCounts
119
- };
120
- onSelectionChange?.(newState);
121
- return newCounts;
122
- });
123
- }, [passengersConfig, selectedFlightType, selectedFlightClass, onSelectionChange
124
- // No dependency on passengerCounts due to updater function usage
125
- ]);
126
- const handleFlightClassSelect = (0, _react.useCallback)(fClass => {
127
- setSelectedFlightClass(fClass);
128
- const newState = {
129
- flightType: selectedFlightType,
130
- flightClass: fClass,
131
- passengers: passengerCounts
132
- };
133
- onSelectionChange?.(newState);
134
- }, [selectedFlightType, passengerCounts, onSelectionChange]);
135
-
136
- // --- Render Helpers ---
137
- const renderButtonGroup = (items, selectedValue, onSelect) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
138
- style: [styles.buttonGroupContainer, buttonGroupContainerStyle],
139
- children: items.map(item => {
140
- const isSelected = item === selectedValue;
141
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
142
- style: [styles.button, buttonStyle, isSelected && styles.selectedButton, isSelected && selectedButtonStyle],
143
- onPress: () => onSelect(item),
144
- activeOpacity: 0.7,
145
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
146
- style: [styles.buttonText, buttonTextStyle, isSelected && styles.selectedButtonText, isSelected && selectedButtonTextStyle],
147
- children: item
148
- })
149
- }, item);
150
- })
151
- });
152
- (0, _react.useEffect)(() => {
153
- onSelectionChange?.({
154
- flightType: selectedFlightType,
155
- flightClass: selectedFlightClass,
156
- passengers: passengerCounts
157
- });
158
- }, []);
159
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
160
- style: [styles.container, containerStyle],
161
- children: [renderButtonGroup(flightTypes, selectedFlightType, handleFlightTypeSelect), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
162
- style: [styles.passengerSection, passengerSectionStyle],
163
- children: passengersConfig.map(passenger => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
164
- style: [styles.passengerRow, passengerRowStyle],
165
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
166
- style: [styles.passengerLabelContainer, passengerLabelContainerStyle],
167
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
168
- style: [styles.passengerName, passengerNameStyle],
169
- children: passenger.name
170
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
171
- style: [styles.passengerDescription, passengerDescriptionStyle],
172
- children: passenger.description
173
- })]
174
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.NumericStepper, {
175
- value: passengerCounts[passenger.key],
176
- minValue: passenger.minValue,
177
- maxValue: passenger.maxValue ?? 99,
178
- onIncrement: () => handlePassengerChange(passenger.key, "increment"),
179
- onDecrement: () => handlePassengerChange(passenger.key, "decrement")
180
- // Pass through stepper styles
181
- ,
182
- style: stepperContainerStyle,
183
- buttonStyle: stepperButtonStyle,
184
- buttonTextStyle: stepperButtonTextStyle,
185
- valueTextStyle: stepperValueTextStyle
186
- })]
187
- }, passenger.key))
188
- }), renderButtonGroup(flightClasses, selectedFlightClass, handleFlightClassSelect)]
189
- });
190
- };
191
- const themedStyles = (theme, isRTL) => _reactNative.StyleSheet.create({
192
- container: {
193
- backgroundColor: theme.surface,
194
- padding: 16
195
- },
196
- buttonGroupContainer: {
197
- flexDirection: isRTL ? "row-reverse" : "row",
198
- // marginBottom: 10,
199
- marginTop: 5,
200
- justifyContent: "flex-start",
201
- flexWrap: "wrap",
202
- gap: 8
203
- },
204
- button: {
205
- paddingVertical: 8,
206
- paddingHorizontal: 16,
207
- borderRadius: 16,
208
- borderWidth: 1,
209
- borderColor: theme.border,
210
- backgroundColor: theme.surface
211
- },
212
- selectedButton: {
213
- borderColor: theme.primary,
214
- backgroundColor: theme.primary
215
- },
216
- buttonText: {
217
- color: theme.onSurface,
218
- fontWeight: "500",
219
- fontSize: 14
220
- },
221
- selectedButtonText: {
222
- color: theme.onPrimary,
223
- fontWeight: "bold",
224
- fontSize: 14
225
- },
226
- passengerSection: {
227
- marginVertical: 15
228
- },
229
- passengerRow: {
230
- flexDirection: isRTL ? "row-reverse" : "row",
231
- justifyContent: "space-between",
232
- alignItems: "center",
233
- paddingVertical: 10,
234
- borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
235
- borderBottomColor: theme.divider
236
- // Remove width: '100%' unless absolutely necessary
237
- },
238
- passengerLabelContainer: {
239
- flexDirection: "column",
240
- alignItems: isRTL ? "flex-end" : "flex-start",
241
- flexShrink: 1,
242
- marginRight: isRTL ? 0 : 8,
243
- marginLeft: isRTL ? 8 : 0
244
- },
245
- passengerName: {
246
- fontSize: 16,
247
- fontWeight: "bold",
248
- color: theme.onSurface
249
- },
250
- passengerDescription: {
251
- fontSize: 12,
252
- color: theme.text || theme.onSurface,
253
- opacity: 0.8
254
- }
255
- });
256
- var _default = exports.default = FlightSummary;
257
- //# sourceMappingURL=FlightSummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_theme","require","_react","_interopRequireWildcard","_reactNative","_index","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DEFAULT_PASSENGERS","key","name","description","defaultValue","minValue","maxValue","DEFAULT_FLIGHT_TYPES","DEFAULT_FLIGHT_CLASSES","getInitialPassengerCounts","config","reduce","acc","passenger","FlightSummary","passengersData","passengersProp","flightTypesData","flightTypesProp","flightClassesData","flightClassesProp","selection","onSelectionChange","containerStyle","buttonGroupContainerStyle","buttonStyle","selectedButtonStyle","buttonTextStyle","selectedButtonTextStyle","passengerSectionStyle","passengerRowStyle","passengerLabelContainerStyle","passengerNameStyle","passengerDescriptionStyle","stepperContainerStyle","stepperButtonStyle","stepperButtonTextStyle","stepperValueTextStyle","theme","isRTL","useTheme","styles","useMemo","themedStyles","passengersConfig","flightTypes","flightClasses","selectedFlightType","setSelectedFlightType","useState","flightType","selectedFlightClass","setSelectedFlightClass","flightClass","passengerCounts","setPassengerCounts","passengers","handleFlightTypeSelect","useCallback","type","newState","handlePassengerChange","passengerKey","action","prevCounts","passengerInfo","find","p","currentVal","newValue","Math","min","max","newCounts","handleFlightClassSelect","fClass","renderButtonGroup","items","selectedValue","onSelect","jsx","View","style","buttonGroupContainer","children","map","item","isSelected","TouchableOpacity","button","selectedButton","onPress","activeOpacity","Text","buttonText","selectedButtonText","useEffect","jsxs","container","passengerSection","passengerRow","passengerLabelContainer","passengerName","passengerDescription","NumericStepper","value","onIncrement","onDecrement","valueTextStyle","StyleSheet","create","backgroundColor","surface","padding","flexDirection","marginTop","justifyContent","flexWrap","gap","paddingVertical","paddingHorizontal","borderRadius","borderWidth","borderColor","border","primary","color","onSurface","fontWeight","fontSize","onPrimary","marginVertical","alignItems","borderBottomWidth","hairlineWidth","borderBottomColor","divider","flexShrink","marginRight","marginLeft","text","opacity","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/FlightSummary.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AASA,IAAAI,MAAA,GAAAJ,OAAA;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