related-ui-components 1.9.5 → 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.
- package/lib/module/app.js +3 -2
- package/lib/module/app.js.map +1 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -2
- package/lib/module/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/lib/module/components/Popup/README.md +1 -1
- package/lib/module/components/Suggestions/SuggestionList.js +1 -1
- package/lib/module/components/Suggestions/SuggestionList.js.map +1 -1
- package/lib/module/components/TravelBooking/CarRentalForm.js +1 -1
- package/lib/module/components/TravelBooking/CarRentalForm.js.map +1 -1
- package/lib/module/components/TravelBooking/FlightForm.js +1 -1
- package/lib/module/components/TravelBooking/FlightForm.js.map +1 -1
- package/lib/module/components/TravelBooking/FlightSummary.js +1 -1
- package/lib/module/components/TravelBooking/FlightSummary.js.map +1 -1
- package/lib/module/components/TravelBooking/HotelForm.js +1 -1
- package/lib/module/components/TravelBooking/HotelForm.js.map +1 -1
- package/lib/module/components/TravelBooking/HotelSummary.js +1 -1
- package/lib/module/components/TravelBooking/HotelSummary.js.map +1 -1
- package/lib/module/components/TravelBooking/README.md +3 -3
- package/lib/module/components/TravelBooking/SummaryBar.js +1 -1
- package/lib/module/components/TravelBooking/SummaryBar.js.map +1 -1
- package/lib/module/components/TravelBooking/TabSelector.js +1 -1
- package/lib/module/components/TravelBooking/TabSelector.js.map +1 -1
- package/lib/module/components/TravelBooking/TravelBooking.js +1 -1
- package/lib/module/components/TravelBooking/TravelBooking.js.map +1 -1
- package/lib/module/components/UnlockRewards/README.md +1 -1
- package/lib/module/theme/ThemeContext.js +39 -19
- package/lib/module/theme/ThemeContext.js.map +1 -1
- package/lib/typescript/lib/commonjs/app.d.ts +4 -0
- package/lib/typescript/lib/commonjs/app.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Badges/Badge.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Badges/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Badges/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts +24 -0
- package/lib/typescript/lib/commonjs/components/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts +16 -0
- package/lib/typescript/lib/commonjs/components/Banner/BannerWithDetails.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Banner/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Banner/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts +18 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/BrandIcon.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/BrandIcon/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button/Button.d.ts +17 -0
- package/lib/typescript/lib/commonjs/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/Card.d.ts +17 -0
- package/lib/typescript/lib/commonjs/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts +8 -0
- package/lib/typescript/lib/commonjs/components/Card/CardContent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts +9 -0
- package/lib/typescript/lib/commonjs/components/Card/CardFooter.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Card/CardHeader.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Card/CardImage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/index.d.ts +10 -0
- package/lib/typescript/lib/commonjs/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts +30 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts +37 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Card/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/Card/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/CloseIcon.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/CloseIcon/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts +20 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts +56 -0
- package/lib/typescript/lib/commonjs/components/Filters/Filters.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts +27 -0
- package/lib/typescript/lib/commonjs/components/Filters/PointsRangeSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Filters/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Filters/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Input/Input.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Input/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts +15 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/LockOverlay.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/LockOverlay/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts +14 -0
- package/lib/typescript/lib/commonjs/components/Marquee/Marquee.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Marquee/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts +16 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/NumericStepper.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/NumericStepper/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts +39 -0
- package/lib/typescript/lib/commonjs/components/Popup/Popup.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Popup/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Popup/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts +22 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/RedeemedVoucher/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts +23 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/RedemptionOption/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts +19 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts +7 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/ScratchCard/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts +29 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/SelectAmount.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/SelectAmount/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts +11 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/Shimmer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts +10 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/SkeletonElement.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/Suggestions/SuggestionList.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts +52 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts +47 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts +32 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/FlightSummary.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts +45 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts +36 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/HotelSummary.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts +12 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/SummaryBar.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts +15 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TabSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts +47 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/TravelBooking.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/TravelBooking/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts +23 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/RewardItem.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts +41 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/UnlockRewards/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts +25 -0
- package/lib/typescript/lib/commonjs/components/Wheel/Wheel.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Wheel/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/components/index.d.ts.map +1 -0
- package/lib/typescript/{module → lib/commonjs}/constants/BRANDS.d.ts +2 -1
- package/lib/typescript/lib/commonjs/constants/BRANDS.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/Colors.d.ts +110 -0
- package/lib/typescript/lib/commonjs/theme/Colors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts +11 -0
- package/lib/typescript/lib/commonjs/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/theme/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/theme/index.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/{commonjs → src}/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/typescript/src/components/DateRangePicker/index.d.ts +2 -0
- package/lib/typescript/src/components/SelectAmount/index.d.ts +2 -0
- package/lib/typescript/src/components/TravelBooking/index.d.ts +2 -0
- package/lib/typescript/{module → src}/theme/ThemeContext.d.ts +8 -5
- package/lib/typescript/src/theme/ThemeContext.d.ts.map +1 -0
- package/package.json +29 -79
- package/src/app.tsx +1 -1
- package/src/components/DateRangePicker/DateRangePicker.tsx +1 -2
- package/src/components/Popup/README.md +1 -1
- package/src/components/Suggestions/SuggestionList.tsx +1 -1
- package/src/components/TravelBooking/CarRentalForm.tsx +1 -1
- package/src/components/TravelBooking/FlightForm.tsx +1 -1
- package/src/components/TravelBooking/FlightSummary.tsx +1 -1
- package/src/components/TravelBooking/HotelForm.tsx +1 -1
- package/src/components/TravelBooking/HotelSummary.tsx +1 -1
- package/src/components/TravelBooking/README.md +3 -3
- package/src/components/TravelBooking/SummaryBar.tsx +1 -1
- package/src/components/TravelBooking/TabSelector.tsx +1 -1
- package/src/components/TravelBooking/TravelBooking.tsx +1 -1
- package/src/components/UnlockRewards/README.md +1 -1
- package/src/theme/ThemeContext.tsx +56 -20
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +0 -1
- package/lib/typescript/commonjs/components/SelectAmount/index.d.ts +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/index.d.ts +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +0 -18
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/app.d.ts +0 -4
- package/lib/typescript/module/app.d.ts.map +0 -1
- package/lib/typescript/module/components/Badges/Badge.d.ts +0 -16
- package/lib/typescript/module/components/Badges/Badge.d.ts.map +0 -1
- package/lib/typescript/module/components/Badges/index.d.ts +0 -3
- package/lib/typescript/module/components/Badges/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Banner/Banner.d.ts +0 -26
- package/lib/typescript/module/components/Banner/Banner.d.ts.map +0 -1
- package/lib/typescript/module/components/Banner/BannerWithDetails.d.ts +0 -19
- package/lib/typescript/module/components/Banner/BannerWithDetails.d.ts.map +0 -1
- package/lib/typescript/module/components/Banner/index.d.ts +0 -5
- package/lib/typescript/module/components/Banner/index.d.ts.map +0 -1
- package/lib/typescript/module/components/BrandIcon/BrandIcon.d.ts +0 -21
- package/lib/typescript/module/components/BrandIcon/BrandIcon.d.ts.map +0 -1
- package/lib/typescript/module/components/BrandIcon/index.d.ts +0 -3
- package/lib/typescript/module/components/BrandIcon/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Button/Button.d.ts +0 -21
- package/lib/typescript/module/components/Button/Button.d.ts.map +0 -1
- package/lib/typescript/module/components/Button/index.d.ts +0 -3
- package/lib/typescript/module/components/Button/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/Card.d.ts +0 -5
- package/lib/typescript/module/components/Card/Card.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/CardContent.d.ts +0 -5
- package/lib/typescript/module/components/Card/CardContent.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/CardFooter.d.ts +0 -5
- package/lib/typescript/module/components/Card/CardFooter.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/CardHeader.d.ts +0 -5
- package/lib/typescript/module/components/Card/CardHeader.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/CardImage.d.ts +0 -5
- package/lib/typescript/module/components/Card/CardImage.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/index.d.ts +0 -11
- package/lib/typescript/module/components/Card/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/templates/DealCard.d.ts +0 -33
- package/lib/typescript/module/components/Card/templates/DealCard.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/templates/DealCardWithBackgroundImage.d.ts +0 -40
- package/lib/typescript/module/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/templates/SimpleTrendingCard.d.ts +0 -14
- package/lib/typescript/module/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
- package/lib/typescript/module/components/Card/types.d.ts +0 -91
- package/lib/typescript/module/components/Card/types.d.ts.map +0 -1
- package/lib/typescript/module/components/CloseIcon/CloseIcon.d.ts +0 -16
- package/lib/typescript/module/components/CloseIcon/CloseIcon.d.ts.map +0 -1
- package/lib/typescript/module/components/CloseIcon/index.d.ts +0 -3
- package/lib/typescript/module/components/CloseIcon/index.d.ts.map +0 -1
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +0 -25
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +0 -1
- package/lib/typescript/module/components/DateRangePicker/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Filters/Filters.d.ts +0 -80
- package/lib/typescript/module/components/Filters/Filters.d.ts.map +0 -1
- package/lib/typescript/module/components/Filters/PointsRangeSelector.d.ts +0 -29
- package/lib/typescript/module/components/Filters/PointsRangeSelector.d.ts.map +0 -1
- package/lib/typescript/module/components/Filters/index.d.ts +0 -5
- package/lib/typescript/module/components/Filters/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Input/Input.d.ts +0 -23
- package/lib/typescript/module/components/Input/Input.d.ts.map +0 -1
- package/lib/typescript/module/components/Input/index.d.ts +0 -3
- package/lib/typescript/module/components/Input/index.d.ts.map +0 -1
- package/lib/typescript/module/components/LockOverlay/LockOverlay.d.ts +0 -16
- package/lib/typescript/module/components/LockOverlay/LockOverlay.d.ts.map +0 -1
- package/lib/typescript/module/components/LockOverlay/index.d.ts +0 -3
- package/lib/typescript/module/components/LockOverlay/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Marquee/Marquee.d.ts +0 -18
- package/lib/typescript/module/components/Marquee/Marquee.d.ts.map +0 -1
- package/lib/typescript/module/components/Marquee/index.d.ts +0 -3
- package/lib/typescript/module/components/Marquee/index.d.ts.map +0 -1
- package/lib/typescript/module/components/NumericStepper/NumericStepper.d.ts +0 -19
- package/lib/typescript/module/components/NumericStepper/NumericStepper.d.ts.map +0 -1
- package/lib/typescript/module/components/NumericStepper/index.d.ts +0 -3
- package/lib/typescript/module/components/NumericStepper/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Popup/Popup.d.ts +0 -42
- package/lib/typescript/module/components/Popup/Popup.d.ts.map +0 -1
- package/lib/typescript/module/components/Popup/index.d.ts +0 -3
- package/lib/typescript/module/components/Popup/index.d.ts.map +0 -1
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +0 -26
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/module/components/ProgressBar/index.d.ts +0 -3
- package/lib/typescript/module/components/ProgressBar/index.d.ts.map +0 -1
- package/lib/typescript/module/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -58
- package/lib/typescript/module/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
- package/lib/typescript/module/components/RedeemedVoucher/index.d.ts +0 -3
- package/lib/typescript/module/components/RedeemedVoucher/index.d.ts.map +0 -1
- package/lib/typescript/module/components/RedemptionOption/RedemptionOption.d.ts +0 -25
- package/lib/typescript/module/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
- package/lib/typescript/module/components/RedemptionOption/index.d.ts +0 -3
- package/lib/typescript/module/components/RedemptionOption/index.d.ts.map +0 -1
- package/lib/typescript/module/components/ScratchCard/ScratchCard.d.ts +0 -31
- package/lib/typescript/module/components/ScratchCard/ScratchCard.d.ts.map +0 -1
- package/lib/typescript/module/components/ScratchCard/ScratchCardContent.d.ts +0 -8
- package/lib/typescript/module/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
- package/lib/typescript/module/components/ScratchCard/index.d.ts +0 -5
- package/lib/typescript/module/components/ScratchCard/index.d.ts.map +0 -1
- package/lib/typescript/module/components/SelectAmount/SelectAmount.d.ts +0 -29
- package/lib/typescript/module/components/SelectAmount/SelectAmount.d.ts.map +0 -1
- package/lib/typescript/module/components/SelectAmount/index.d.ts +0 -1
- package/lib/typescript/module/components/SelectAmount/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Skeleton/Shimmer.d.ts +0 -13
- package/lib/typescript/module/components/Skeleton/Shimmer.d.ts.map +0 -1
- package/lib/typescript/module/components/Skeleton/SkeletonElement.d.ts +0 -12
- package/lib/typescript/module/components/Skeleton/SkeletonElement.d.ts.map +0 -1
- package/lib/typescript/module/components/Skeleton/index.d.ts +0 -5
- package/lib/typescript/module/components/Skeleton/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Suggestions/SuggestionList.d.ts +0 -14
- package/lib/typescript/module/components/Suggestions/SuggestionList.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/CarRentalForm.d.ts +0 -58
- package/lib/typescript/module/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/FlightForm.d.ts +0 -57
- package/lib/typescript/module/components/TravelBooking/FlightForm.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/FlightSummary.d.ts +0 -41
- package/lib/typescript/module/components/TravelBooking/FlightSummary.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/HotelForm.d.ts +0 -52
- package/lib/typescript/module/components/TravelBooking/HotelForm.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/HotelSummary.d.ts +0 -44
- package/lib/typescript/module/components/TravelBooking/HotelSummary.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/SummaryBar.d.ts +0 -17
- package/lib/typescript/module/components/TravelBooking/SummaryBar.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/TabSelector.d.ts +0 -17
- package/lib/typescript/module/components/TravelBooking/TabSelector.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/TravelBooking.d.ts +0 -84
- package/lib/typescript/module/components/TravelBooking/TravelBooking.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/index.d.ts +0 -1
- package/lib/typescript/module/components/TravelBooking/index.d.ts.map +0 -1
- package/lib/typescript/module/components/TravelBooking/types.d.ts +0 -26
- package/lib/typescript/module/components/TravelBooking/types.d.ts.map +0 -1
- package/lib/typescript/module/components/UnlockRewards/RewardItem.d.ts +0 -25
- package/lib/typescript/module/components/UnlockRewards/RewardItem.d.ts.map +0 -1
- package/lib/typescript/module/components/UnlockRewards/UnlockRewards.d.ts +0 -60
- package/lib/typescript/module/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
- package/lib/typescript/module/components/UnlockRewards/index.d.ts +0 -5
- package/lib/typescript/module/components/UnlockRewards/index.d.ts.map +0 -1
- package/lib/typescript/module/components/Wheel/Wheel.d.ts +0 -37
- package/lib/typescript/module/components/Wheel/Wheel.d.ts.map +0 -1
- package/lib/typescript/module/components/Wheel/index.d.ts +0 -3
- package/lib/typescript/module/components/Wheel/index.d.ts.map +0 -1
- package/lib/typescript/module/components/index.d.ts +0 -19
- package/lib/typescript/module/components/index.d.ts.map +0 -1
- package/lib/typescript/module/constants/BRANDS.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts +0 -3
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/theme/Colors.d.ts +0 -45
- package/lib/typescript/module/theme/Colors.d.ts.map +0 -1
- package/lib/typescript/module/theme/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/theme/index.d.ts +0 -3
- package/lib/typescript/module/theme/index.d.ts.map +0 -1
- /package/lib/{typescript/module → module}/package.json +0 -0
- /package/lib/typescript/{commonjs → src}/app.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/app.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Badges/Badge.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Badges/Badge.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Badges/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Badges/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/Banner.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/Banner.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/BannerWithDetails.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/BannerWithDetails.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Banner/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/BrandIcon/BrandIcon.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/BrandIcon/BrandIcon.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/BrandIcon/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/BrandIcon/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Button/Button.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Button/Button.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Button/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Button/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/Card.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/Card.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardContent.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardContent.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardFooter.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardFooter.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardHeader.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardHeader.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardImage.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/CardImage.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/DealCard.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/DealCard.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/DealCardWithBackgroundImage.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/SimpleTrendingCard.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/types.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Card/types.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/CloseIcon/CloseIcon.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/CloseIcon/CloseIcon.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/CloseIcon/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/CloseIcon/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/DateRangePicker/DateRangePicker.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/DateRangePicker/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/Filters.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/Filters.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/PointsRangeSelector.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/PointsRangeSelector.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Filters/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Input/Input.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Input/Input.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Input/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Input/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/LockOverlay/LockOverlay.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/LockOverlay/LockOverlay.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/LockOverlay/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/LockOverlay/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Marquee/Marquee.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Marquee/Marquee.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Marquee/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Marquee/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/NumericStepper/NumericStepper.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/NumericStepper/NumericStepper.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/NumericStepper/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/NumericStepper/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Popup/Popup.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Popup/Popup.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Popup/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Popup/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/ProgressBar/ProgressBar.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/ProgressBar/ProgressBar.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/ProgressBar/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/ProgressBar/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedeemedVoucher/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedeemedVoucher/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedemptionOption/RedemptionOption.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedemptionOption/RedemptionOption.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedemptionOption/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/RedemptionOption/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/ScratchCard.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/ScratchCard.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/ScratchCardContent.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/ScratchCardContent.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/ScratchCard/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/SelectAmount/SelectAmount.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/SelectAmount/SelectAmount.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/SelectAmount/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/Shimmer.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/Shimmer.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/SkeletonElement.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/SkeletonElement.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Skeleton/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Suggestions/SuggestionList.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Suggestions/SuggestionList.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/CarRentalForm.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/CarRentalForm.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/FlightForm.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/FlightForm.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/FlightSummary.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/FlightSummary.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/HotelForm.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/HotelForm.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/HotelSummary.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/HotelSummary.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/SummaryBar.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/SummaryBar.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/TabSelector.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/TabSelector.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/TravelBooking.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/TravelBooking.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/types.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/TravelBooking/types.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/RewardItem.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/RewardItem.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/UnlockRewards.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/UnlockRewards.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/UnlockRewards/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Wheel/Wheel.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Wheel/Wheel.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/Wheel/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/Wheel/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/components/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/components/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/constants/BRANDS.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/constants/BRANDS.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/index.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/theme/Colors.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/theme/Colors.d.ts.map +0 -0
- /package/lib/typescript/{commonjs → src}/theme/index.d.ts +0 -0
- /package/lib/typescript/{commonjs → src}/theme/index.d.ts.map +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { useTheme } from "
|
|
3
|
+
import { useTheme } from "../../theme/index.js"; // Adjust import path
|
|
4
4
|
import React, { useCallback, useMemo, useState } from "react";
|
|
5
5
|
import { View, Text, TouchableOpacity, StyleSheet, LayoutAnimation,
|
|
6
6
|
// Optional: for smoother transitions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useTheme","React","useCallback","useMemo","useState","View","Text","TouchableOpacity","StyleSheet","LayoutAnimation","Platform","UIManager","jsx","_jsx","OS","setLayoutAnimationEnabledExperimental","TabSelector","tabs","initialTab","onTabChange","containerStyle","tabStyle","activeTabStyle","tabTextStyle","activeTabTextStyle","separatorStyle","animated","theme","isRTL","styles","themedStyles","defaultTab","length","activeTab","setActiveTab","handleTabPress","tab","configureNext","Presets","easeInEaseOut","style","container","children","map","index","isSelected","isLastTab","Fragment","onPress","activeOpacity","accessibilityRole","accessibilityState","selected","accessibilityLabel","tabText","activeTabText","create","flexDirection","alignItems","backgroundColor","surface","paddingVertical","paddingHorizontal","justifyContent","primary","borderTopLeftRadius","borderTopRightRadius","borderBottomWidth","color","onSurface","fontSize","fontWeight","onPrimary","separator","width","height","alignSelf"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/TabSelector.tsx"],"mappings":";;AAAA,SAAoBA,QAAQ,QAAQ,
|
|
1
|
+
{"version":3,"names":["useTheme","React","useCallback","useMemo","useState","View","Text","TouchableOpacity","StyleSheet","LayoutAnimation","Platform","UIManager","jsx","_jsx","OS","setLayoutAnimationEnabledExperimental","TabSelector","tabs","initialTab","onTabChange","containerStyle","tabStyle","activeTabStyle","tabTextStyle","activeTabTextStyle","separatorStyle","animated","theme","isRTL","styles","themedStyles","defaultTab","length","activeTab","setActiveTab","handleTabPress","tab","configureNext","Presets","easeInEaseOut","style","container","children","map","index","isSelected","isLastTab","Fragment","onPress","activeOpacity","accessibilityRole","accessibilityState","selected","accessibilityLabel","tabText","activeTabText","create","flexDirection","alignItems","backgroundColor","surface","paddingVertical","paddingHorizontal","justifyContent","primary","borderTopLeftRadius","borderTopRightRadius","borderBottomWidth","color","onSurface","fontSize","fontWeight","onPrimary","separator","width","height","alignSelf"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/TabSelector.tsx"],"mappings":";;AAAA,SAAoBA,QAAQ,QAAQ,sBAAa,CAAC,CAAC;AACnD,OAAOC,KAAK,IAAIC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC7D,SACEC,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EAIVC,eAAe;AAAE;AACjBC,QAAQ,EACRC,SAAS,QACJ,cAAc;;AAErB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AACA,IACEH,QAAQ,CAACI,EAAE,KAAK,SAAS,IACzBH,SAAS,CAACI,qCAAqC,EAC/C;EACAJ,SAAS,CAACI,qCAAqC,CAAC,IAAI,CAAC;AACvD;AAeA,MAAMC,WAAuC,GAA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IACtBC,oBAAoB,EAAE,CAAC;IACvBC,iBAAiB,EAAE;EACrB,CAAC;EACDb,OAAO,EAAE;IACPc,KAAK,EAAEzC,KAAK,CAAC0C,SAAS;IACtBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EACDhB,aAAa,EAAE;IACba,KAAK,EAAEzC,KAAK,CAAC6C,SAAS;IACtBD,UAAU,EAAE;EACd,CAAC;EACDE,SAAS,EAAE;IACTC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,KAAK;IACbC,SAAS,EAAE,QAAQ;IACnBjB,eAAe,EAAE;EACnB;AACF,CAAC,CAAC;AAEJ,eAAe3C,WAAW","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ import TabSelector from "./TabSelector.js"; // Adjust import path
|
|
|
7
7
|
import FlightForm from "./FlightForm.js"; // Adjust import path
|
|
8
8
|
import HotelForm from "./HotelForm.js"; // Adjust import path
|
|
9
9
|
import CarRentalForm, { mockCarSuggestions } from "./CarRentalForm.js"; // Adjust import path
|
|
10
|
-
import { useTheme } from "
|
|
10
|
+
import { useTheme } from "../../theme/index.js"; // Adjust import path
|
|
11
11
|
import SummaryBar from "./SummaryBar.js"; // Adjust import path
|
|
12
12
|
|
|
13
13
|
// Adjust import path
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useCallback","useMemo","View","StyleSheet","TabSelector","FlightForm","HotelForm","CarRentalForm","mockCarSuggestions","useTheme","SummaryBar","jsx","_jsx","jsxs","_jsxs","DEFAULT_TABS","DEFAULT_MOCK_FLIGHT_SUGGESTIONS","id","city","value","airports","DEFAULT_MOCK_HOTEL_SUGGESTIONS","country","DEFAULT_MOCK_CAR_SUGGESTIONS","TravelBooking","tabs","initialTab","onTabChange","onSearch","initialFlightSelection","initialHotelSelection","onSummarySelectionChange","flightSuggestionData","hotelSuggestionData","carSuggestionData","tabSelectorProps","summaryBarProps","flightFormProps","hotelFormProps","carRentalFormProps","onInputFocus","onTextChange","formContainerStyle","labelStyle","inputStyle","inputTouchableStyle","inputTextStyle","dateSearchRowStyle","dateInputGroupStyle","searchButtonStyle","searchIconStyle","calendarThemeOverrides","calendarContainerStyle","swapButtonContainerStyle","swapButtonStyle","swapIconStyle","inputGroupContainerStyle","theme","styles","themedStyles","actualInitialTab","length","selectedTab","setSelectedTab","selectedOptions","setSelectedOptions","undefined","handleTabChange","tab","handleInternalSummarySelectionChange","selection","handleInternalSearch","details","console","log","handleInternalTextChange","text","handleInternalInputFocus","input","summaryBarMode","renderContent","commonFormProps","containerStyle","isOneWay","Array","isArray","flightType","departureRowStyle","onSearchPress","suggestionData","checkoutRowStyle","pickupRowStyle","inputGroupStyle","warn","style","container","children","mode","onSelectionChange","contentContainer","create"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/TravelBooking.tsx"],"mappings":";;AAAA;AACA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,EAAEC,OAAO,QAAmB,OAAO;AACxE,SAASC,IAAI,EAAEC,UAAU,QAAyC,cAAc,CAAC,CAAC;AAClF,OAAOC,WAAW,MAA4B,kBAAe,CAAC,CAAC;AAC/D,OAAOC,UAAU,MAA2B,iBAAc,CAAC,CAAC;AAC5D,OAAOC,SAAS,MAA0B,gBAAa,CAAC,CAAC;AACzD,OAAOC,aAAa,IAElBC,kBAAkB,QACb,oBAAiB,CAAC,CAAC;AAC1B,SAAoBC,QAAQ,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","useState","useCallback","useMemo","View","StyleSheet","TabSelector","FlightForm","HotelForm","CarRentalForm","mockCarSuggestions","useTheme","SummaryBar","jsx","_jsx","jsxs","_jsxs","DEFAULT_TABS","DEFAULT_MOCK_FLIGHT_SUGGESTIONS","id","city","value","airports","DEFAULT_MOCK_HOTEL_SUGGESTIONS","country","DEFAULT_MOCK_CAR_SUGGESTIONS","TravelBooking","tabs","initialTab","onTabChange","onSearch","initialFlightSelection","initialHotelSelection","onSummarySelectionChange","flightSuggestionData","hotelSuggestionData","carSuggestionData","tabSelectorProps","summaryBarProps","flightFormProps","hotelFormProps","carRentalFormProps","onInputFocus","onTextChange","formContainerStyle","labelStyle","inputStyle","inputTouchableStyle","inputTextStyle","dateSearchRowStyle","dateInputGroupStyle","searchButtonStyle","searchIconStyle","calendarThemeOverrides","calendarContainerStyle","swapButtonContainerStyle","swapButtonStyle","swapIconStyle","inputGroupContainerStyle","theme","styles","themedStyles","actualInitialTab","length","selectedTab","setSelectedTab","selectedOptions","setSelectedOptions","undefined","handleTabChange","tab","handleInternalSummarySelectionChange","selection","handleInternalSearch","details","console","log","handleInternalTextChange","text","handleInternalInputFocus","input","summaryBarMode","renderContent","commonFormProps","containerStyle","isOneWay","Array","isArray","flightType","departureRowStyle","onSearchPress","suggestionData","checkoutRowStyle","pickupRowStyle","inputGroupStyle","warn","style","container","children","mode","onSelectionChange","contentContainer","create"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/TravelBooking/TravelBooking.tsx"],"mappings":";;AAAA;AACA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,EAAEC,OAAO,QAAmB,OAAO;AACxE,SAASC,IAAI,EAAEC,UAAU,QAAyC,cAAc,CAAC,CAAC;AAClF,OAAOC,WAAW,MAA4B,kBAAe,CAAC,CAAC;AAC/D,OAAOC,UAAU,MAA2B,iBAAc,CAAC,CAAC;AAC5D,OAAOC,SAAS,MAA0B,gBAAa,CAAC,CAAC;AACzD,OAAOC,aAAa,IAElBC,kBAAkB,QACb,oBAAiB,CAAC,CAAC;AAC1B,SAAoBC,QAAQ,QAAQ,sBAAa,CAAC,CAAC;AACnD,OAAOC,UAAU,MAGV,iBAAc,CAAC,CAAC;;AAML;;AAIlB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEA,MAAMC,YAAkC,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,aAAa,CAAC;;AAE/E;AACA,MAAMC,+BAAoD,GAAG,CAC3D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B;UAEtB;UACAiD,aAAa,EAAEjB,oBAAqB;UACpC/B,YAAY,EAAEqC,wBAAyB;UACvCpC,YAAY,EAAEkC,wBAAyB;UACvCc,cAAc,EAAEvD;QAAkB,CACnC,CAAC;MAEN;QACEuC,OAAO,CAACoB,IAAI,CAAC,+BAA+B/B,WAAW,EAAE,CAAC;QAC1D,OAAO,IAAI;IACf;EACF,CAAC;EAED,oBACEhD,KAAA,CAACZ,IAAI;IAAC4F,KAAK,EAAEpC,MAAM,CAACqC,SAAU;IAAAC,QAAA,GAE3BjB,cAAc,iBACbnE,IAAA,CAACF,UAAU;MAAA,GACL0B,eAAe;MACnB6D,IAAI,EAAElB,cAAe;MACrBmB,iBAAiB,EAAE7B;IAAqC,CACzD,CACF,eAEDzD,IAAA,CAACR,WAAW;MAAA,GACN+B,gBAAgB;MACpBV,IAAI,EAAEA,IAAK;MACXC,UAAU,EAAEoC,WAAY,CAAC;MAAA;MACzBnC,WAAW,EAAEwC;IAAgB,CAC9B,CAAC,eAEFvD,IAAA,CAACV,IAAI;MAAC4F,KAAK,EAAEpC,MAAM,CAACyC,gBAAiB;MAAAH,QAAA,EAAEhB,aAAa,CAAC;IAAC,CAAO,CAAC;EAAA,CAC1D,CAAC;AAEX,CAAC;AAED,MAAMrB,YAAY,GAAIF,KAAgB,IACpCtD,UAAU,CAACiG,MAAM,CAAC;EAChBL,SAAS,EAAE;IACT;EAAA,CACD;EACDI,gBAAgB,EAAE;IAChB;EAAA;AAEJ,CAAC,CAAC;AAEJ,eAAe3E,aAAa","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@ The `UnlockRewards` is a comprehensive component designed for displaying user re
|
|
|
11
11
|
|
|
12
12
|
```tsx
|
|
13
13
|
import UnlockRewards from "@/components/UnlockRewards/UnlockRewards";
|
|
14
|
-
import { useTheme } from "
|
|
14
|
+
import { useTheme } from "../../theme";
|
|
15
15
|
import { Ionicons } from "@expo/vector-icons";
|
|
16
16
|
|
|
17
17
|
const MyComponent = () => {
|
|
@@ -1,29 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import React, { createContext, useContext, useState } from "react";
|
|
4
|
-
import { I18nManager, useColorScheme } from "react-native";
|
|
5
|
-
import { lightTheme, darkTheme } from "./Colors.js";
|
|
3
|
+
import React, { createContext, useContext, useState, useEffect, useCallback } from "react";
|
|
4
|
+
import { I18nManager, useColorScheme } from "react-native"; // Added Appearance
|
|
5
|
+
import { lightTheme, darkTheme } from "./Colors.js"; // Assuming Colors.ts exists
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const ThemeContext = /*#__PURE__*/createContext({
|
|
8
8
|
theme: lightTheme,
|
|
9
|
-
|
|
9
|
+
isDark: false,
|
|
10
|
+
toggleTheme: () => console.warn("toggleTheme called outside of ThemeProvider"),
|
|
11
|
+
isRTL: I18nManager.isRTL,
|
|
12
|
+
setRTL: () => console.warn("setRTL called outside of ThemeProvider")
|
|
10
13
|
});
|
|
11
|
-
|
|
12
|
-
// Define props for ThemeProvider
|
|
13
|
-
|
|
14
|
-
// Provider component
|
|
15
14
|
export const RelatedProvider = ({
|
|
16
15
|
children,
|
|
17
16
|
customLightTheme,
|
|
18
17
|
customDarkTheme,
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
initialDark,
|
|
19
|
+
initialRTL
|
|
21
20
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
const systemColorScheme = useColorScheme();
|
|
22
|
+
const [isDark, setIsDark] = useState(initialDark ?? systemColorScheme === "dark");
|
|
23
|
+
const [isRTL, setIsRTLState] = useState(initialRTL ?? I18nManager.isRTL);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (typeof initialDark === "boolean") {
|
|
26
|
+
setIsDark(initialDark);
|
|
27
|
+
}
|
|
28
|
+
}, [initialDark]);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
if (typeof initialRTL === "boolean") {
|
|
31
|
+
setIsRTLState(initialRTL);
|
|
32
|
+
}
|
|
33
|
+
}, [initialRTL]);
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (initialDark === undefined) {
|
|
36
|
+
setIsDark(useColorScheme() === "dark");
|
|
37
|
+
}
|
|
38
|
+
}, [initialDark]);
|
|
39
|
+
const themes = React.useMemo(() => ({
|
|
27
40
|
light: {
|
|
28
41
|
...lightTheme,
|
|
29
42
|
...customLightTheme
|
|
@@ -32,18 +45,25 @@ export const RelatedProvider = ({
|
|
|
32
45
|
...darkTheme,
|
|
33
46
|
...customDarkTheme
|
|
34
47
|
}
|
|
35
|
-
});
|
|
48
|
+
}), [customLightTheme, customDarkTheme]);
|
|
36
49
|
const currentTheme = isDark ? themes.dark : themes.light;
|
|
50
|
+
const toggleTheme = useCallback(() => {
|
|
51
|
+
setIsDark(prevIsDark => !prevIsDark);
|
|
52
|
+
}, []);
|
|
53
|
+
const setRTL = useCallback(rtlValue => {
|
|
54
|
+
setIsRTLState(rtlValue);
|
|
55
|
+
}, []);
|
|
37
56
|
const contextValue = {
|
|
38
57
|
theme: currentTheme,
|
|
39
|
-
|
|
58
|
+
isDark,
|
|
59
|
+
toggleTheme,
|
|
60
|
+
isRTL,
|
|
61
|
+
setRTL
|
|
40
62
|
};
|
|
41
63
|
return /*#__PURE__*/_jsx(ThemeContext.Provider, {
|
|
42
64
|
value: contextValue,
|
|
43
65
|
children: children
|
|
44
66
|
});
|
|
45
67
|
};
|
|
46
|
-
|
|
47
|
-
// Hook for easy access
|
|
48
68
|
export const useTheme = () => useContext(ThemeContext);
|
|
49
69
|
//# sourceMappingURL=ThemeContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createContext","useContext","useState","I18nManager","useColorScheme","lightTheme","darkTheme","jsx","_jsx","ThemeContext","theme","isRTL","RelatedProvider","children","customLightTheme","customDarkTheme","
|
|
1
|
+
{"version":3,"names":["React","createContext","useContext","useState","useEffect","useCallback","I18nManager","useColorScheme","lightTheme","darkTheme","jsx","_jsx","ThemeContext","theme","isDark","toggleTheme","console","warn","isRTL","setRTL","RelatedProvider","children","customLightTheme","customDarkTheme","initialDark","initialRTL","systemColorScheme","setIsDark","setIsRTLState","undefined","themes","useMemo","light","dark","currentTheme","prevIsDark","rtlValue","contextValue","Provider","value","useTheme"],"sourceRoot":"..\\..\\..\\src","sources":["theme/ThemeContext.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IACVC,aAAa,EACbC,UAAU,EACVC,QAAQ,EACRC,SAAS,EAETC,WAAW,QACN,OAAO;AACd,SAASC,WAAW,EAAEC,cAAc,QAAoB,cAAc,CAAC,CAAC;AACxE,SAASC,UAAU,EAAaC,SAAS,QAAQ,aAAU,CAAC,CAAC;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAU7D,OAAO,MAAMC,YAAY,gBAAGX,aAAa,CAAsB;EAC7DY,KAAK,EAAEL,UAAU;EACjBM,MAAM,EAAE,KAAK;EACbC,WAAW,EAAEA,CAAA,KAAMC,OAAO,CAACC,IAAI,CAAC,6CAA6C,CAAC;EAC9EC,KAAK,EAAEZ,WAAW,CAACY,KAAK;EACxBC,MAAM,EAAEA,CAAA,KAAMH,OAAO,CAACC,IAAI,CAAC,wCAAwC;AACrE,CAAC,CAAC;AAUF,OAAO,MAAMG,eAA+C,GAAGA,CAAC;EAC9DC,QAAQ;EACRC,gBAAgB;EAChBC,eAAe;EACfC,WAAW;EACXC;AACF,CAAC,KAAK;EACJ,MAAMC,iBAAiB,GAAGnB,cAAc,CAAC,CAAC;EAC1C,MAAM,CAACO,MAAM,EAAEa,SAAS,CAAC,GAAGxB,QAAQ,CAClCqB,WAAW,IAAKE,iBAAiB,KAAK,MACxC,CAAC;EAED,MAAM,CAACR,KAAK,EAAEU,aAAa,CAAC,GAAGzB,QAAQ,CACrCsB,UAAU,IAAInB,WAAW,CAACY,KAC5B,CAAC;EAEDd,SAAS,CAAC,MAAM;IACd,IAAI,OAAOoB,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AAE5B,CAAC;AAED,OAAO,MAAMmB,QAAQ,GAAGA,CAAA,KAAMtC,UAAU,CAACU,YAAY,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../commonjs/app.js"],"names":[],"mappings":";;AAeA,wHA+IC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default Badge;
|
|
3
|
+
export function Badge({ icon, isActive, size, style, activeStyle, inactiveStyle, activeIcon, label, labelStyle }: {
|
|
4
|
+
icon: any;
|
|
5
|
+
isActive?: boolean | undefined;
|
|
6
|
+
size: any;
|
|
7
|
+
style: any;
|
|
8
|
+
activeStyle: any;
|
|
9
|
+
inactiveStyle: any;
|
|
10
|
+
activeIcon: any;
|
|
11
|
+
label: any;
|
|
12
|
+
labelStyle: any;
|
|
13
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Badges/Badge.js"],"names":[],"mappings":";;AAcA;;;;;;;;;;+FAiDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Badges/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default Banner;
|
|
3
|
+
/**
|
|
4
|
+
* A customizable banner component with background image and action button
|
|
5
|
+
*/
|
|
6
|
+
declare function Banner({ backgroundImage, buttonText, onButtonPress, onBannerPress, containerStyle, backgroundImageStyle, contentContainerStyle, buttonStyle, buttonTextStyle, height, customButton, contentAlignment, icon, iconPosition, iconStyle, iconSpacing }: {
|
|
7
|
+
backgroundImage: any;
|
|
8
|
+
buttonText?: string | undefined;
|
|
9
|
+
onButtonPress: any;
|
|
10
|
+
onBannerPress: any;
|
|
11
|
+
containerStyle: any;
|
|
12
|
+
backgroundImageStyle: any;
|
|
13
|
+
contentContainerStyle: any;
|
|
14
|
+
buttonStyle: any;
|
|
15
|
+
buttonTextStyle: any;
|
|
16
|
+
height?: number | undefined;
|
|
17
|
+
customButton: any;
|
|
18
|
+
contentAlignment?: string | undefined;
|
|
19
|
+
icon: any;
|
|
20
|
+
iconPosition?: string | undefined;
|
|
21
|
+
iconStyle: any;
|
|
22
|
+
iconSpacing?: number | undefined;
|
|
23
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
24
|
+
//# sourceMappingURL=Banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Banner/Banner.js"],"names":[],"mappings":";;AAaA;;GAEG;AACH;;;;;;;;;;;;;;;;;+FA6EC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default BannerWithDetails;
|
|
3
|
+
declare function BannerWithDetails({ backgroundImage, logoImage, detailText, onPress, containerStyle, imageStyle, logoContainerStyle, logoStyle, textContainerStyle, textStyle, customDetailContent }: {
|
|
4
|
+
backgroundImage: any;
|
|
5
|
+
logoImage: any;
|
|
6
|
+
detailText: any;
|
|
7
|
+
onPress: any;
|
|
8
|
+
containerStyle: any;
|
|
9
|
+
imageStyle: any;
|
|
10
|
+
logoContainerStyle: any;
|
|
11
|
+
logoStyle: any;
|
|
12
|
+
textContainerStyle: any;
|
|
13
|
+
textStyle: any;
|
|
14
|
+
customDetailContent: any;
|
|
15
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
16
|
+
//# sourceMappingURL=BannerWithDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerWithDetails.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Banner/BannerWithDetails.js"],"names":[],"mappings":";;AAcA;;;;;;;;;;;;+FAyDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Banner/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default BrandIcon;
|
|
3
|
+
declare function BrandIcon({ brandLogo, brandName, size, selected, showName, onPress, disabled, containerStyle, wrapperStyle, imageStyle, selectionIndicatorStyle, selectionIndicatorIcon, nameStyle }: {
|
|
4
|
+
brandLogo: any;
|
|
5
|
+
brandName: any;
|
|
6
|
+
size?: number | undefined;
|
|
7
|
+
selected?: boolean | undefined;
|
|
8
|
+
showName?: boolean | undefined;
|
|
9
|
+
onPress: any;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
containerStyle: any;
|
|
12
|
+
wrapperStyle: any;
|
|
13
|
+
imageStyle: any;
|
|
14
|
+
selectionIndicatorStyle: any;
|
|
15
|
+
selectionIndicatorIcon: any;
|
|
16
|
+
nameStyle: any;
|
|
17
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
//# sourceMappingURL=BrandIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandIcon.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/BrandIcon/BrandIcon.js"],"names":[],"mappings":";;AAYA;;;;;;;;;;;;;;+FA+DC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/BrandIcon/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default AppButton;
|
|
3
|
+
declare function AppButton({ title, onPress, style, textStyle, disabled, loading, activeOpacity, backgroundColor, gradientProps, loadingIndicatorColor, accessibilityLabel, testID }: {
|
|
4
|
+
title: any;
|
|
5
|
+
onPress: any;
|
|
6
|
+
style: any;
|
|
7
|
+
textStyle: any;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
loading?: boolean | undefined;
|
|
10
|
+
activeOpacity?: number | undefined;
|
|
11
|
+
backgroundColor: any;
|
|
12
|
+
gradientProps: any;
|
|
13
|
+
loadingIndicatorColor: any;
|
|
14
|
+
accessibilityLabel: any;
|
|
15
|
+
testID: any;
|
|
16
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Button/Button.js"],"names":[],"mappings":";;AAcA;;;;;;;;;;;;;+FAkEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Button/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default Card;
|
|
3
|
+
declare function Card({ children, style, onPress, disabled, elevation, testID, variant, backgroundColor, borderColor, borderRadius, backgroundImage, gradient }: {
|
|
4
|
+
children: any;
|
|
5
|
+
style: any;
|
|
6
|
+
onPress: any;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
elevation?: number | undefined;
|
|
9
|
+
testID: any;
|
|
10
|
+
variant: any;
|
|
11
|
+
backgroundColor: any;
|
|
12
|
+
borderColor: any;
|
|
13
|
+
borderRadius?: number | undefined;
|
|
14
|
+
backgroundImage: any;
|
|
15
|
+
gradient: any;
|
|
16
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/Card.js"],"names":[],"mappings":";;AAYA;;;;;;;;;;;;;+FA+EC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default CardContent;
|
|
3
|
+
declare function CardContent({ children, style, padding }: {
|
|
4
|
+
children: any;
|
|
5
|
+
style: any;
|
|
6
|
+
padding?: number | undefined;
|
|
7
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
8
|
+
//# sourceMappingURL=CardContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/CardContent.js"],"names":[],"mappings":";;AAUA;;;;+FAwBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default CardFooter;
|
|
3
|
+
declare function CardFooter({ children, style, inset, justifyContent }: {
|
|
4
|
+
children: any;
|
|
5
|
+
style: any;
|
|
6
|
+
inset?: boolean | undefined;
|
|
7
|
+
justifyContent?: string | undefined;
|
|
8
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
9
|
+
//# sourceMappingURL=CardFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/CardFooter.js"],"names":[],"mappings":";;AAUA;;;;;+FAYE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default CardHeader;
|
|
3
|
+
declare function CardHeader({ title, subtitle, left, right, style, titleStyle, subtitleStyle, titleColor, subtitleColor }: {
|
|
4
|
+
title: any;
|
|
5
|
+
subtitle: any;
|
|
6
|
+
left: any;
|
|
7
|
+
right: any;
|
|
8
|
+
style: any;
|
|
9
|
+
titleStyle: any;
|
|
10
|
+
subtitleStyle: any;
|
|
11
|
+
titleColor: any;
|
|
12
|
+
subtitleColor: any;
|
|
13
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
+
//# sourceMappingURL=CardHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/CardHeader.js"],"names":[],"mappings":";;AAWA;;;;;;;;;;+FAuCC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default CardImage;
|
|
3
|
+
declare function CardImage({ source, style, height, width, resizeMode, borderRadius, overlay }: {
|
|
4
|
+
source: any;
|
|
5
|
+
style: any;
|
|
6
|
+
height?: number | undefined;
|
|
7
|
+
width?: string | undefined;
|
|
8
|
+
resizeMode?: string | undefined;
|
|
9
|
+
borderRadius: any;
|
|
10
|
+
overlay: any;
|
|
11
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
+
//# sourceMappingURL=CardImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardImage.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/CardImage.js"],"names":[],"mappings":";;AAWA;;;;;;;;+FAwBE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export const Card: any;
|
|
3
|
+
export const CardContent: any;
|
|
4
|
+
export const CardFooter: any;
|
|
5
|
+
export const CardHeader: any;
|
|
6
|
+
export const CardImage: any;
|
|
7
|
+
export const DealCard: any;
|
|
8
|
+
export const DealCardWithBackgroundImage: any;
|
|
9
|
+
export const SimpleTrendingCard: any;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default DealCard;
|
|
3
|
+
declare function DealCard({ imageSource, onPress, label, labelContainerStyle, labelStyle, dealDescription, dealDescriptionStyle, dealPrice, dealPriceStyle, dealProviderName, dealProviderNameStyle, progressBar, progressBarText, progressBarTextPosition, progressBarTextAlign, progressValue, progressHeight, progressWidth, remainingProgressColor, progressColor, style, width, variant, isRTL, overlayVisible }: {
|
|
4
|
+
imageSource: any;
|
|
5
|
+
onPress: any;
|
|
6
|
+
label: any;
|
|
7
|
+
labelContainerStyle: any;
|
|
8
|
+
labelStyle: any;
|
|
9
|
+
dealDescription: any;
|
|
10
|
+
dealDescriptionStyle: any;
|
|
11
|
+
dealPrice: any;
|
|
12
|
+
dealPriceStyle: any;
|
|
13
|
+
dealProviderName: any;
|
|
14
|
+
dealProviderNameStyle: any;
|
|
15
|
+
progressBar: any;
|
|
16
|
+
progressBarText: any;
|
|
17
|
+
progressBarTextPosition: any;
|
|
18
|
+
progressBarTextAlign: any;
|
|
19
|
+
progressValue: any;
|
|
20
|
+
progressHeight: any;
|
|
21
|
+
progressWidth: any;
|
|
22
|
+
remainingProgressColor: any;
|
|
23
|
+
progressColor: any;
|
|
24
|
+
style: any;
|
|
25
|
+
width: any;
|
|
26
|
+
variant?: string | undefined;
|
|
27
|
+
isRTL?: boolean | undefined;
|
|
28
|
+
overlayVisible?: boolean | undefined;
|
|
29
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
30
|
+
//# sourceMappingURL=DealCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DealCard.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/Card/templates/DealCard.js"],"names":[],"mappings":";;AAiBA;;;;;;;;;;;;;;;;;;;;;;;;;;+FA8KC"}
|
package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default DealCardWithBackgroundImage;
|
|
3
|
+
declare function DealCardWithBackgroundImage({ backgroundImage, onPress, label, labelContainerStyle, labelStyle, actionIconDefault, actionIconActive, onActionPress, innerCardStyle, dealDescription, dealDescriptionStyle, dealPrice, dealPriceStyle, dealProviderName, dealProviderNameStyle, progressBar, progressBarText, progressBarTextPosition, progressBarTextAlign, progressValue, progressHeight, progressWidth, remainingProgressColor, progressColor, innerCardVariant, style, width, isRTL: initialIsRTL, overlayVisible, overlayCover, borderRadius, onOverlayPress }: {
|
|
4
|
+
backgroundImage: any;
|
|
5
|
+
onPress: any;
|
|
6
|
+
label: any;
|
|
7
|
+
labelContainerStyle: any;
|
|
8
|
+
labelStyle: any;
|
|
9
|
+
actionIconDefault: any;
|
|
10
|
+
actionIconActive: any;
|
|
11
|
+
onActionPress: any;
|
|
12
|
+
innerCardStyle: any;
|
|
13
|
+
dealDescription: any;
|
|
14
|
+
dealDescriptionStyle: any;
|
|
15
|
+
dealPrice: any;
|
|
16
|
+
dealPriceStyle: any;
|
|
17
|
+
dealProviderName: any;
|
|
18
|
+
dealProviderNameStyle: any;
|
|
19
|
+
progressBar: any;
|
|
20
|
+
progressBarText: any;
|
|
21
|
+
progressBarTextPosition: any;
|
|
22
|
+
progressBarTextAlign: any;
|
|
23
|
+
progressValue: any;
|
|
24
|
+
progressHeight: any;
|
|
25
|
+
progressWidth: any;
|
|
26
|
+
remainingProgressColor: any;
|
|
27
|
+
progressColor: any;
|
|
28
|
+
innerCardVariant?: string | undefined;
|
|
29
|
+
style: any;
|
|
30
|
+
width?: string | undefined;
|
|
31
|
+
isRTL?: boolean | undefined;
|
|
32
|
+
overlayVisible?: boolean | undefined;
|
|
33
|
+
overlayCover?: string | undefined;
|
|
34
|
+
borderRadius?: number | undefined;
|
|
35
|
+
onOverlayPress: any;
|
|
36
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
37
|
+
//# sourceMappingURL=DealCardWithBackgroundImage.d.ts.map
|
package/lib/typescript/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DealCardWithBackgroundImage.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/Card/templates/DealCardWithBackgroundImage.js"],"names":[],"mappings":";;AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+FAuNC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default SimpleTrendingCard;
|
|
3
|
+
declare function SimpleTrendingCard({ backgroundImage, onPress, icon, iconPosition, shadowEffect, shadowOpacity, style }: {
|
|
4
|
+
backgroundImage: any;
|
|
5
|
+
onPress: any;
|
|
6
|
+
icon: any;
|
|
7
|
+
iconPosition?: string | undefined;
|
|
8
|
+
shadowEffect?: boolean | undefined;
|
|
9
|
+
shadowOpacity?: number | undefined;
|
|
10
|
+
style: any;
|
|
11
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
+
//# sourceMappingURL=SimpleTrendingCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleTrendingCard.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/components/Card/templates/SimpleTrendingCard.js"],"names":[],"mappings":";;AAYA;;;;;;;;+FA4CC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/Card/types.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default CloseIcon;
|
|
3
|
+
declare function CloseIcon({ onPress, show, customIcon, variant, containerStyle, iconStyle, color: colorProp, size, isRTL }: {
|
|
4
|
+
onPress: any;
|
|
5
|
+
show?: boolean | undefined;
|
|
6
|
+
customIcon: any;
|
|
7
|
+
variant?: string | undefined;
|
|
8
|
+
containerStyle: any;
|
|
9
|
+
iconStyle: any;
|
|
10
|
+
color: any;
|
|
11
|
+
size?: number | undefined;
|
|
12
|
+
isRTL?: boolean | undefined;
|
|
13
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
14
|
+
//# sourceMappingURL=CloseIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/CloseIcon/CloseIcon.js"],"names":[],"mappings":";;AAgBA;;;;;;;;;;sGAkDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/components/CloseIcon/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const __esModule: boolean;
|
|
2
|
+
export default DateRangePicker;
|
|
3
|
+
declare function DateRangePicker({ initialDepartureDate, initialReturnDate, isOneWay, onDatesChange, departureLabel, returnLabel, placeholder, calendarThemeOverrides, outerContainerStyle, inputContainerStyle, inputGroupStyle, labelStyle, inputTextStyle, separatorStyle, calendarContainerStyle }: {
|
|
4
|
+
initialDepartureDate: any;
|
|
5
|
+
initialReturnDate: any;
|
|
6
|
+
isOneWay?: boolean | undefined;
|
|
7
|
+
onDatesChange: any;
|
|
8
|
+
departureLabel?: string | undefined;
|
|
9
|
+
returnLabel?: string | undefined;
|
|
10
|
+
placeholder?: string | undefined;
|
|
11
|
+
calendarThemeOverrides?: {} | undefined;
|
|
12
|
+
outerContainerStyle: any;
|
|
13
|
+
inputContainerStyle: any;
|
|
14
|
+
inputGroupStyle: any;
|
|
15
|
+
labelStyle: any;
|
|
16
|
+
inputTextStyle: any;
|
|
17
|
+
separatorStyle: any;
|
|
18
|
+
calendarContainerStyle: any;
|
|
19
|
+
}): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
20
|
+
//# sourceMappingURL=DateRangePicker.d.ts.map
|