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.
- 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/typescript/app.d.ts.map +1 -0
- package/lib/typescript/components/Badges/Badge.d.ts.map +1 -0
- package/lib/typescript/components/Badges/index.d.ts.map +1 -0
- package/lib/typescript/components/Banner/Banner.d.ts.map +1 -0
- package/lib/typescript/components/Banner/BannerWithDetails.d.ts.map +1 -0
- package/lib/typescript/components/Banner/index.d.ts.map +1 -0
- package/lib/typescript/components/BrandIcon/BrandIcon.d.ts.map +1 -0
- package/lib/typescript/components/BrandIcon/index.d.ts.map +1 -0
- package/lib/typescript/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/components/Card/CardContent.d.ts.map +1 -0
- package/lib/typescript/components/Card/CardFooter.d.ts.map +1 -0
- package/lib/typescript/components/Card/CardHeader.d.ts.map +1 -0
- package/lib/typescript/components/Card/CardImage.d.ts.map +1 -0
- package/lib/typescript/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/components/Card/templates/DealCard.d.ts.map +1 -0
- package/lib/typescript/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +1 -0
- package/lib/typescript/components/Card/templates/SimpleTrendingCard.d.ts.map +1 -0
- package/lib/typescript/components/Card/types.d.ts.map +1 -0
- package/lib/typescript/components/CloseIcon/CloseIcon.d.ts.map +1 -0
- package/lib/typescript/components/CloseIcon/index.d.ts.map +1 -0
- package/lib/typescript/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/typescript/components/DateRangePicker/index.d.ts +2 -0
- package/lib/typescript/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/typescript/components/Filters/Filters.d.ts.map +1 -0
- package/lib/typescript/components/Filters/PointsRangeSelector.d.ts.map +1 -0
- package/lib/typescript/components/Filters/index.d.ts.map +1 -0
- package/lib/typescript/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/components/Input/index.d.ts.map +1 -0
- package/lib/typescript/components/LockOverlay/LockOverlay.d.ts.map +1 -0
- package/lib/typescript/components/LockOverlay/index.d.ts.map +1 -0
- package/lib/typescript/components/Marquee/Marquee.d.ts.map +1 -0
- package/lib/typescript/components/Marquee/index.d.ts.map +1 -0
- package/lib/typescript/components/NumericStepper/NumericStepper.d.ts.map +1 -0
- package/lib/typescript/components/NumericStepper/index.d.ts.map +1 -0
- package/lib/typescript/components/Popup/Popup.d.ts.map +1 -0
- package/lib/typescript/components/Popup/index.d.ts.map +1 -0
- package/lib/typescript/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +1 -0
- package/lib/typescript/components/RedeemedVoucher/index.d.ts.map +1 -0
- package/lib/typescript/components/RedemptionOption/RedemptionOption.d.ts.map +1 -0
- package/lib/typescript/components/RedemptionOption/index.d.ts.map +1 -0
- package/lib/typescript/components/ScratchCard/ScratchCard.d.ts.map +1 -0
- package/lib/typescript/components/ScratchCard/ScratchCardContent.d.ts.map +1 -0
- package/lib/typescript/components/ScratchCard/index.d.ts.map +1 -0
- package/lib/typescript/components/SelectAmount/SelectAmount.d.ts.map +1 -0
- package/lib/typescript/components/SelectAmount/index.d.ts +2 -0
- package/lib/typescript/components/SelectAmount/index.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/Shimmer.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/SkeletonElement.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/components/Suggestions/SuggestionList.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/CarRentalForm.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/FlightForm.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/FlightSummary.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/HotelForm.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/HotelSummary.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/SummaryBar.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/TabSelector.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/TravelBooking.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/index.d.ts +2 -0
- package/lib/typescript/components/TravelBooking/index.d.ts.map +1 -0
- package/lib/typescript/components/TravelBooking/types.d.ts.map +1 -0
- package/lib/typescript/components/UnlockRewards/RewardItem.d.ts.map +1 -0
- package/lib/typescript/components/UnlockRewards/UnlockRewards.d.ts.map +1 -0
- package/lib/typescript/components/UnlockRewards/index.d.ts.map +1 -0
- package/lib/typescript/components/Wheel/Wheel.d.ts.map +1 -0
- package/lib/typescript/components/Wheel/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/constants/BRANDS.d.ts.map +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/theme/Colors.d.ts.map +1 -0
- package/lib/typescript/theme/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/theme/index.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/README.md +0 -200
- package/lib/commonjs/app.js +0 -161
- package/lib/commonjs/app.js.map +0 -1
- package/lib/commonjs/assets/components/BannerWithDetails.png +0 -0
- package/lib/commonjs/assets/components/DealCard-Horizontal.png +0 -0
- package/lib/commonjs/assets/components/DealCard-Vertical.png +0 -0
- package/lib/commonjs/assets/components/DealCard-floating.png +0 -0
- package/lib/commonjs/assets/components/DealCard-nested.png +0 -0
- package/lib/commonjs/assets/components/Filters.png +0 -0
- package/lib/commonjs/assets/components/Popup-1.png +0 -0
- package/lib/commonjs/assets/components/Popup-2.png +0 -0
- package/lib/commonjs/assets/components/Popup-3.png +0 -0
- package/lib/commonjs/assets/components/RedemptionOption-Horizontal.png +0 -0
- package/lib/commonjs/assets/components/RedemptionOption-Vertical.png +0 -0
- package/lib/commonjs/assets/components/SimpleBanner.png +0 -0
- package/lib/commonjs/assets/components/SimpleTrendingCard.png +0 -0
- package/lib/commonjs/assets/components/SimpleTrendingCardV2.png +0 -0
- package/lib/commonjs/assets/components/UnlockRewards-1.png +0 -0
- package/lib/commonjs/assets/components/UnlockRewards-2.png +0 -0
- package/lib/commonjs/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/lib/commonjs/assets/images/adaptive-icon.png +0 -0
- package/lib/commonjs/assets/images/face.jpg +0 -0
- package/lib/commonjs/assets/images/favicon.png +0 -0
- package/lib/commonjs/assets/images/giftvoucher.jpg +0 -0
- package/lib/commonjs/assets/images/icon.png +0 -0
- package/lib/commonjs/assets/images/insta.webp +0 -0
- package/lib/commonjs/assets/images/muse.jpg +0 -0
- package/lib/commonjs/assets/images/namshi-banner.png +0 -0
- package/lib/commonjs/assets/images/namshi.webp +0 -0
- package/lib/commonjs/assets/images/partial-react-logo.png +0 -0
- package/lib/commonjs/assets/images/pb-logo.jpg +0 -0
- package/lib/commonjs/assets/images/pb.jpg +0 -0
- package/lib/commonjs/assets/images/react-logo.png +0 -0
- package/lib/commonjs/assets/images/react-logo@2x.png +0 -0
- package/lib/commonjs/assets/images/react-logo@3x.png +0 -0
- package/lib/commonjs/assets/images/scratch_foreground.png +0 -0
- package/lib/commonjs/assets/images/splash-icon.png +0 -0
- package/lib/commonjs/assets/images/upgrade.png +0 -0
- package/lib/commonjs/components/Badges/Badge.js +0 -67
- package/lib/commonjs/components/Badges/Badge.js.map +0 -1
- package/lib/commonjs/components/Badges/README.md +0 -98
- package/lib/commonjs/components/Badges/index.js +0 -29
- package/lib/commonjs/components/Badges/index.js.map +0 -1
- package/lib/commonjs/components/Banner/Banner.js +0 -138
- package/lib/commonjs/components/Banner/Banner.js.map +0 -1
- package/lib/commonjs/components/Banner/BannerWithDetails.js +0 -120
- package/lib/commonjs/components/Banner/BannerWithDetails.js.map +0 -1
- package/lib/commonjs/components/Banner/README.md +0 -101
- package/lib/commonjs/components/Banner/index.js +0 -48
- package/lib/commonjs/components/Banner/index.js.map +0 -1
- package/lib/commonjs/components/BrandIcon/BrandIcon.js +0 -115
- package/lib/commonjs/components/BrandIcon/BrandIcon.js.map +0 -1
- package/lib/commonjs/components/BrandIcon/index.js +0 -29
- package/lib/commonjs/components/BrandIcon/index.js.map +0 -1
- package/lib/commonjs/components/Button/Button.js +0 -124
- package/lib/commonjs/components/Button/Button.js.map +0 -1
- package/lib/commonjs/components/Button/index.js +0 -29
- package/lib/commonjs/components/Button/index.js.map +0 -1
- package/lib/commonjs/components/Card/Card.js +0 -116
- package/lib/commonjs/components/Card/Card.js.map +0 -1
- package/lib/commonjs/components/Card/CardContent.js +0 -42
- package/lib/commonjs/components/Card/CardContent.js.map +0 -1
- package/lib/commonjs/components/Card/CardFooter.js +0 -34
- package/lib/commonjs/components/Card/CardFooter.js.map +0 -1
- package/lib/commonjs/components/Card/CardHeader.js +0 -79
- package/lib/commonjs/components/Card/CardHeader.js.map +0 -1
- package/lib/commonjs/components/Card/CardImage.js +0 -52
- package/lib/commonjs/components/Card/CardImage.js.map +0 -1
- package/lib/commonjs/components/Card/index.js +0 -98
- package/lib/commonjs/components/Card/index.js.map +0 -1
- package/lib/commonjs/components/Card/templates/DealCard.js +0 -194
- package/lib/commonjs/components/Card/templates/DealCard.js.map +0 -1
- package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js +0 -237
- package/lib/commonjs/components/Card/templates/DealCardWithBackgroundImage.js.map +0 -1
- package/lib/commonjs/components/Card/templates/README.md +0 -233
- package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js +0 -59
- package/lib/commonjs/components/Card/templates/SimpleTrendingCard.js.map +0 -1
- package/lib/commonjs/components/Card/types.js +0 -6
- package/lib/commonjs/components/Card/types.js.map +0 -1
- package/lib/commonjs/components/CloseIcon/CloseIcon.js +0 -75
- package/lib/commonjs/components/CloseIcon/CloseIcon.js.map +0 -1
- package/lib/commonjs/components/CloseIcon/index.js +0 -29
- package/lib/commonjs/components/CloseIcon/index.js.map +0 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +0 -358
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js.map +0 -1
- package/lib/commonjs/components/DateRangePicker/index.js +0 -4
- package/lib/commonjs/components/DateRangePicker/index.js.map +0 -1
- package/lib/commonjs/components/Filters/Filters.js +0 -345
- package/lib/commonjs/components/Filters/Filters.js.map +0 -1
- package/lib/commonjs/components/Filters/PointsRangeSelector.js +0 -264
- package/lib/commonjs/components/Filters/PointsRangeSelector.js.map +0 -1
- package/lib/commonjs/components/Filters/README.md +0 -212
- package/lib/commonjs/components/Filters/index.js +0 -48
- package/lib/commonjs/components/Filters/index.js.map +0 -1
- package/lib/commonjs/components/Input/Input.js +0 -161
- package/lib/commonjs/components/Input/Input.js.map +0 -1
- package/lib/commonjs/components/Input/README.md +0 -128
- package/lib/commonjs/components/Input/index.js +0 -29
- package/lib/commonjs/components/Input/index.js.map +0 -1
- package/lib/commonjs/components/LockOverlay/LockOverlay.js +0 -65
- package/lib/commonjs/components/LockOverlay/LockOverlay.js.map +0 -1
- package/lib/commonjs/components/LockOverlay/index.js +0 -29
- package/lib/commonjs/components/LockOverlay/index.js.map +0 -1
- package/lib/commonjs/components/Marquee/Marquee.js +0 -105
- package/lib/commonjs/components/Marquee/Marquee.js.map +0 -1
- package/lib/commonjs/components/Marquee/index.js +0 -29
- package/lib/commonjs/components/Marquee/index.js.map +0 -1
- package/lib/commonjs/components/NumericStepper/NumericStepper.js +0 -103
- package/lib/commonjs/components/NumericStepper/NumericStepper.js.map +0 -1
- package/lib/commonjs/components/NumericStepper/index.js +0 -29
- package/lib/commonjs/components/NumericStepper/index.js.map +0 -1
- package/lib/commonjs/components/Popup/Popup.js +0 -342
- package/lib/commonjs/components/Popup/Popup.js.map +0 -1
- package/lib/commonjs/components/Popup/README.md +0 -133
- package/lib/commonjs/components/Popup/index.js +0 -29
- package/lib/commonjs/components/Popup/index.js.map +0 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +0 -125
- package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +0 -1
- package/lib/commonjs/components/ProgressBar/index.js +0 -29
- package/lib/commonjs/components/ProgressBar/index.js.map +0 -1
- package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js +0 -459
- package/lib/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.js.map +0 -1
- package/lib/commonjs/components/RedeemedVoucher/index.js +0 -29
- package/lib/commonjs/components/RedeemedVoucher/index.js.map +0 -1
- package/lib/commonjs/components/RedemptionOption/README.md +0 -148
- package/lib/commonjs/components/RedemptionOption/RedemptionOption.js +0 -132
- package/lib/commonjs/components/RedemptionOption/RedemptionOption.js.map +0 -1
- package/lib/commonjs/components/RedemptionOption/index.js +0 -29
- package/lib/commonjs/components/RedemptionOption/index.js.map +0 -1
- package/lib/commonjs/components/ScratchCard/README.md +0 -119
- package/lib/commonjs/components/ScratchCard/ScratchCard.js +0 -222
- package/lib/commonjs/components/ScratchCard/ScratchCard.js.map +0 -1
- package/lib/commonjs/components/ScratchCard/ScratchCardContent.js +0 -28
- package/lib/commonjs/components/ScratchCard/ScratchCardContent.js.map +0 -1
- package/lib/commonjs/components/ScratchCard/index.js +0 -48
- package/lib/commonjs/components/ScratchCard/index.js.map +0 -1
- package/lib/commonjs/components/SelectAmount/SelectAmount.js +0 -189
- package/lib/commonjs/components/SelectAmount/SelectAmount.js.map +0 -1
- package/lib/commonjs/components/SelectAmount/index.js +0 -4
- package/lib/commonjs/components/SelectAmount/index.js.map +0 -1
- package/lib/commonjs/components/Skeleton/Shimmer.js +0 -75
- package/lib/commonjs/components/Skeleton/Shimmer.js.map +0 -1
- package/lib/commonjs/components/Skeleton/SkeletonElement.js +0 -36
- package/lib/commonjs/components/Skeleton/SkeletonElement.js.map +0 -1
- package/lib/commonjs/components/Skeleton/index.js +0 -48
- package/lib/commonjs/components/Skeleton/index.js.map +0 -1
- package/lib/commonjs/components/Suggestions/SuggestionList.js +0 -98
- package/lib/commonjs/components/Suggestions/SuggestionList.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/CarRentalForm.js +0 -370
- package/lib/commonjs/components/TravelBooking/CarRentalForm.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/FlightForm.js +0 -347
- package/lib/commonjs/components/TravelBooking/FlightForm.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/FlightSummary.js +0 -257
- package/lib/commonjs/components/TravelBooking/FlightSummary.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/HotelForm.js +0 -290
- package/lib/commonjs/components/TravelBooking/HotelForm.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/HotelSummary.js +0 -246
- package/lib/commonjs/components/TravelBooking/HotelSummary.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/README.md +0 -421
- package/lib/commonjs/components/TravelBooking/SummaryBar.js +0 -181
- package/lib/commonjs/components/TravelBooking/SummaryBar.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/TabSelector.js +0 -115
- package/lib/commonjs/components/TravelBooking/TabSelector.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/TravelBooking.js +0 -261
- package/lib/commonjs/components/TravelBooking/TravelBooking.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/index.js +0 -22
- package/lib/commonjs/components/TravelBooking/index.js.map +0 -1
- package/lib/commonjs/components/TravelBooking/types.js +0 -15
- package/lib/commonjs/components/TravelBooking/types.js.map +0 -1
- package/lib/commonjs/components/UnlockRewards/README.md +0 -187
- package/lib/commonjs/components/UnlockRewards/RewardItem.js +0 -129
- package/lib/commonjs/components/UnlockRewards/RewardItem.js.map +0 -1
- package/lib/commonjs/components/UnlockRewards/UnlockRewards.js +0 -230
- package/lib/commonjs/components/UnlockRewards/UnlockRewards.js.map +0 -1
- package/lib/commonjs/components/UnlockRewards/index.js +0 -48
- package/lib/commonjs/components/UnlockRewards/index.js.map +0 -1
- package/lib/commonjs/components/Wheel/README.md +0 -141
- package/lib/commonjs/components/Wheel/Wheel.js +0 -361
- package/lib/commonjs/components/Wheel/Wheel.js.map +0 -1
- package/lib/commonjs/components/Wheel/index.js +0 -29
- package/lib/commonjs/components/Wheel/index.js.map +0 -1
- package/lib/commonjs/components/index.js +0 -204
- package/lib/commonjs/components/index.js.map +0 -1
- package/lib/commonjs/constants/BRANDS.js +0 -58
- package/lib/commonjs/constants/BRANDS.js.map +0 -1
- package/lib/commonjs/index.js +0 -28
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/theme/Colors.js +0 -154
- package/lib/commonjs/theme/Colors.js.map +0 -1
- package/lib/commonjs/theme/ThemeContext.js +0 -57
- package/lib/commonjs/theme/ThemeContext.js.map +0 -1
- package/lib/commonjs/theme/index.js +0 -28
- package/lib/commonjs/theme/index.js.map +0 -1
- package/lib/typescript/commonjs/app.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Badges/Badge.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Badges/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Banner/BannerWithDetails.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Banner/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/BrandIcon/BrandIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/BrandIcon/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Button/Button.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Button/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/Card.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/CardContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/CardFooter.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/CardHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/CardImage.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/templates/DealCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/templates/DealCardWithBackgroundImage.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/templates/SimpleTrendingCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Card/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/CloseIcon/CloseIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/CloseIcon/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +0 -1
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Filters/Filters.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Filters/PointsRangeSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Filters/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Input/Input.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Input/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/LockOverlay/LockOverlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/LockOverlay/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Marquee/Marquee.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Marquee/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/NumericStepper/NumericStepper.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/NumericStepper/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Popup/Popup.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Popup/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/RedeemedVoucher/RedeemedVoucherSheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/RedeemedVoucher/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/RedemptionOption/RedemptionOption.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/RedemptionOption/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/ScratchCard/ScratchCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/ScratchCard/ScratchCardContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/ScratchCard/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/SelectAmount/SelectAmount.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/SelectAmount/index.d.ts +0 -1
- package/lib/typescript/commonjs/components/SelectAmount/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Skeleton/Shimmer.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Skeleton/SkeletonElement.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Skeleton/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Suggestions/SuggestionList.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/CarRentalForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/FlightForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/FlightSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/HotelForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/HotelSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/SummaryBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/TabSelector.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/TravelBooking.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/index.d.ts +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/TravelBooking/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/UnlockRewards/RewardItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/UnlockRewards/UnlockRewards.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/UnlockRewards/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Wheel/Wheel.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/Wheel/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/constants/BRANDS.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/theme/Colors.d.ts.map +0 -1
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/theme/index.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 +0 -13
- 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 +0 -18
- 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/app.d.ts → app.d.ts} +0 -0
- /package/lib/typescript/{commonjs/components → components}/Badges/Badge.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Badges/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Banner/Banner.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Banner/BannerWithDetails.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Banner/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/BrandIcon/BrandIcon.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/BrandIcon/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Button/Button.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Button/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/Card.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/CardContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/CardFooter.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/CardHeader.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/CardImage.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/templates/DealCard.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/templates/DealCardWithBackgroundImage.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/templates/SimpleTrendingCard.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Card/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/CloseIcon/CloseIcon.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/CloseIcon/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/DateRangePicker/DateRangePicker.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Filters/Filters.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Filters/PointsRangeSelector.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Filters/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Input/Input.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Input/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/LockOverlay/LockOverlay.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/LockOverlay/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Marquee/Marquee.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Marquee/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/NumericStepper/NumericStepper.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/NumericStepper/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Popup/Popup.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Popup/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/ProgressBar/ProgressBar.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/ProgressBar/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/RedeemedVoucher/RedeemedVoucherSheet.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/RedeemedVoucher/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/RedemptionOption/RedemptionOption.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/RedemptionOption/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/ScratchCard/ScratchCard.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/ScratchCard/ScratchCardContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/ScratchCard/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/SelectAmount/SelectAmount.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Skeleton/Shimmer.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Skeleton/SkeletonElement.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Skeleton/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Suggestions/SuggestionList.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/CarRentalForm.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/FlightForm.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/FlightSummary.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/HotelForm.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/HotelSummary.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/SummaryBar.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/TabSelector.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/TravelBooking.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/TravelBooking/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/UnlockRewards/RewardItem.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/UnlockRewards/UnlockRewards.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/UnlockRewards/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Wheel/Wheel.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/Wheel/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/components → components}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/constants → constants}/BRANDS.d.ts +0 -0
- /package/lib/typescript/{commonjs/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/{commonjs/theme → theme}/Colors.d.ts +0 -0
- /package/lib/typescript/{commonjs/theme → theme}/ThemeContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/theme → theme}/index.d.ts +0 -0
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _Badge = _interopRequireDefault(require("../Badges/Badge.js"));
|
|
10
|
-
var _index = require("../../theme/index.js");
|
|
11
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const RewardItem = ({
|
|
14
|
-
icon,
|
|
15
|
-
title,
|
|
16
|
-
description,
|
|
17
|
-
status,
|
|
18
|
-
statusBgColor,
|
|
19
|
-
statusTextColor,
|
|
20
|
-
activeIcon,
|
|
21
|
-
isActive,
|
|
22
|
-
inactiveIconStyle,
|
|
23
|
-
activeIconStyle,
|
|
24
|
-
isRTL = false,
|
|
25
|
-
containerStyle,
|
|
26
|
-
badgeStyle,
|
|
27
|
-
textContainerStyle,
|
|
28
|
-
titleTextStyle,
|
|
29
|
-
descriptionTextStyle,
|
|
30
|
-
statusBadgeStyle,
|
|
31
|
-
statusTextStyle
|
|
32
|
-
}) => {
|
|
33
|
-
const {
|
|
34
|
-
theme,
|
|
35
|
-
isRTL: rtl
|
|
36
|
-
} = (0, _index.useTheme)();
|
|
37
|
-
isRTL = rtl;
|
|
38
|
-
const styles = themedStyles(theme);
|
|
39
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
40
|
-
style: [styles.rewardItemContainer, {
|
|
41
|
-
flexDirection: isRTL ? "row-reverse" : "row"
|
|
42
|
-
}, containerStyle],
|
|
43
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Badge.default, {
|
|
44
|
-
style: [styles.badgeStyle, {
|
|
45
|
-
marginRight: isRTL ? 0 : 15,
|
|
46
|
-
marginLeft: isRTL ? 15 : 0
|
|
47
|
-
}, badgeStyle],
|
|
48
|
-
isActive: isActive,
|
|
49
|
-
icon: icon,
|
|
50
|
-
activeIcon: activeIcon,
|
|
51
|
-
inactiveStyle: inactiveIconStyle,
|
|
52
|
-
activeStyle: activeIconStyle
|
|
53
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
54
|
-
style: [styles.rewardTextContainer, textContainerStyle],
|
|
55
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
56
|
-
style: [styles.rewardTitle, titleTextStyle, isRTL && {
|
|
57
|
-
textAlign: "right"
|
|
58
|
-
}],
|
|
59
|
-
children: title
|
|
60
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
61
|
-
style: [styles.rewardDescription, descriptionTextStyle, isRTL && {
|
|
62
|
-
textAlign: "right"
|
|
63
|
-
}],
|
|
64
|
-
children: description
|
|
65
|
-
})]
|
|
66
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
67
|
-
style: [styles.statusBadge, {
|
|
68
|
-
backgroundColor: statusBgColor
|
|
69
|
-
}, {
|
|
70
|
-
right: isRTL ? undefined : 10,
|
|
71
|
-
left: isRTL ? 10 : undefined
|
|
72
|
-
}, statusBadgeStyle],
|
|
73
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
74
|
-
style: [styles.statusText, {
|
|
75
|
-
color: statusTextColor
|
|
76
|
-
}, statusTextStyle],
|
|
77
|
-
children: status
|
|
78
|
-
})
|
|
79
|
-
})]
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
const themedStyles = theme => _reactNative.StyleSheet.create({
|
|
83
|
-
rewardItemContainer: {
|
|
84
|
-
alignItems: "center",
|
|
85
|
-
backgroundColor: theme.surface,
|
|
86
|
-
borderRadius: 15,
|
|
87
|
-
padding: 15,
|
|
88
|
-
marginBottom: 15,
|
|
89
|
-
width: "100%",
|
|
90
|
-
borderWidth: 1,
|
|
91
|
-
borderColor: theme.border
|
|
92
|
-
},
|
|
93
|
-
badgeStyle: {
|
|
94
|
-
borderRadius: 10,
|
|
95
|
-
alignItems: "center",
|
|
96
|
-
justifyContent: "center"
|
|
97
|
-
},
|
|
98
|
-
rewardTextContainer: {
|
|
99
|
-
flex: 1
|
|
100
|
-
},
|
|
101
|
-
rewardTitle: {
|
|
102
|
-
fontSize: 16,
|
|
103
|
-
fontWeight: "bold",
|
|
104
|
-
color: theme.text,
|
|
105
|
-
marginBottom: 4,
|
|
106
|
-
textAlign: "left"
|
|
107
|
-
},
|
|
108
|
-
rewardDescription: {
|
|
109
|
-
fontSize: 13,
|
|
110
|
-
color: theme.helper,
|
|
111
|
-
lineHeight: 18,
|
|
112
|
-
textAlign: "left"
|
|
113
|
-
},
|
|
114
|
-
statusBadge: {
|
|
115
|
-
paddingVertical: 4,
|
|
116
|
-
paddingHorizontal: 8,
|
|
117
|
-
borderRadius: 8,
|
|
118
|
-
top: 10,
|
|
119
|
-
position: "absolute",
|
|
120
|
-
alignSelf: "flex-start",
|
|
121
|
-
marginTop: 4
|
|
122
|
-
},
|
|
123
|
-
statusText: {
|
|
124
|
-
fontSize: 12,
|
|
125
|
-
fontWeight: "bold"
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
var _default = exports.default = RewardItem;
|
|
129
|
-
//# sourceMappingURL=RewardItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_Badge","_index","_jsxRuntime","e","__esModule","default","RewardItem","icon","title","description","status","statusBgColor","statusTextColor","activeIcon","isActive","inactiveIconStyle","activeIconStyle","isRTL","containerStyle","badgeStyle","textContainerStyle","titleTextStyle","descriptionTextStyle","statusBadgeStyle","statusTextStyle","theme","rtl","useTheme","styles","themedStyles","jsxs","View","style","rewardItemContainer","flexDirection","children","jsx","marginRight","marginLeft","inactiveStyle","activeStyle","rewardTextContainer","Text","rewardTitle","textAlign","rewardDescription","statusBadge","backgroundColor","right","undefined","left","statusText","color","StyleSheet","create","alignItems","surface","borderRadius","padding","marginBottom","width","borderWidth","borderColor","border","justifyContent","flex","fontSize","fontWeight","text","helper","lineHeight","paddingVertical","paddingHorizontal","top","position","alignSelf","marginTop","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/UnlockRewards/RewardItem.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAAkD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA2BlD,MAAMG,UAAqC,GAAGA,CAAC;EAC7CC,IAAI;EACJC,KAAK;EACLC,WAAW;EACXC,MAAM;EACNC,aAAa;EACbC,eAAe;EACfC,UAAU;EACVC,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,UAAU,EAAE,QAAQ;IACpBS,cAAc,EAAE;EAClB,CAAC;EACDvB,mBAAmB,EAAE;IACnBwB,IAAI,EAAE;EACR,CAAC;EACDtB,WAAW,EAAE;IACXuB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBf,KAAK,EAAE3B,KAAK,CAAC2C,IAAI;IACjBT,YAAY,EAAE,CAAC;IACff,SAAS,EAAE;EACb,CAAC;EACDC,iBAAiB,EAAE;IACjBqB,QAAQ,EAAE,EAAE;IACZd,KAAK,EAAE3B,KAAK,CAAC4C,MAAM;IACnBC,UAAU,EAAE,EAAE;IACd1B,SAAS,EAAE;EACb,CAAC;EACDE,WAAW,EAAE;IACXyB,eAAe,EAAE,CAAC;IAClBC,iBAAiB,EAAE,CAAC;IACpBf,YAAY,EAAE,CAAC;IACfgB,GAAG,EAAE,EAAE;IACPC,QAAQ,EAAE,UAAU;IACpBC,SAAS,EAAE,YAAY;IACvBC,SAAS,EAAE;EACb,CAAC;EACDzB,UAAU,EAAE;IACVe,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAAC,IAAAU,QAAA,GAAAC,OAAA,CAAAzE,OAAA,GAEUC,UAAU","ignoreList":[]}
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _RewardItem = _interopRequireDefault(require("../UnlockRewards/RewardItem.js"));
|
|
10
|
-
var _Badge = _interopRequireDefault(require("../Badges/Badge.js"));
|
|
11
|
-
var _index = require("../../theme/index.js");
|
|
12
|
-
var _expoLinearGradient = require("expo-linear-gradient");
|
|
13
|
-
var _CloseIcon = _interopRequireDefault(require("../CloseIcon/CloseIcon.js"));
|
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
-
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); }
|
|
17
|
-
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; }
|
|
18
|
-
// Import the new component
|
|
19
|
-
|
|
20
|
-
const UnlockRewards = ({
|
|
21
|
-
rewards,
|
|
22
|
-
title,
|
|
23
|
-
description,
|
|
24
|
-
activeIconStyle,
|
|
25
|
-
inactiveIconStyle,
|
|
26
|
-
onClose,
|
|
27
|
-
// Keep onClose
|
|
28
|
-
isRTL,
|
|
29
|
-
topBackgroundImage,
|
|
30
|
-
topBackgroundColor: topBackgroundColorProp,
|
|
31
|
-
topBackgroundHeight = 250,
|
|
32
|
-
topBackgroundImageStyle,
|
|
33
|
-
topBackgroundStyle,
|
|
34
|
-
topGradientColors,
|
|
35
|
-
topGradientStart,
|
|
36
|
-
topGradientEnd,
|
|
37
|
-
topGradientLocations,
|
|
38
|
-
cardContainerStyle,
|
|
39
|
-
mainTitleStyle,
|
|
40
|
-
subtitleStyle,
|
|
41
|
-
rewardsContainerStyle,
|
|
42
|
-
smallIconsRowStyle,
|
|
43
|
-
rewardItemContainerStyle,
|
|
44
|
-
rewardItemIconWrapperStyle,
|
|
45
|
-
rewardItemTextContainerStyle,
|
|
46
|
-
rewardItemTitleTextStyle,
|
|
47
|
-
rewardItemDescriptionTextStyle,
|
|
48
|
-
rewardItemStatusBadgeStyle,
|
|
49
|
-
rewardItemStatusTextStyle,
|
|
50
|
-
showCloseIcon = true,
|
|
51
|
-
customCloseIcon,
|
|
52
|
-
closeIconVariant = "nested",
|
|
53
|
-
closeIconContainerStyle,
|
|
54
|
-
closeIconStyle,
|
|
55
|
-
closeIconColor,
|
|
56
|
-
closeIconSize = 28,
|
|
57
|
-
customTopBackground
|
|
58
|
-
}) => {
|
|
59
|
-
const {
|
|
60
|
-
theme,
|
|
61
|
-
isRTL: rtl
|
|
62
|
-
} = (0, _index.useTheme)();
|
|
63
|
-
isRTL = isRTL || rtl;
|
|
64
|
-
const styles = (0, _react.useMemo)(() => themedStyles(theme), [theme]);
|
|
65
|
-
const topBackgroundColor = topBackgroundColorProp ?? theme.surface;
|
|
66
|
-
const finalCardStyle = _reactNative.StyleSheet.flatten([styles.cardContainer, cardContainerStyle]);
|
|
67
|
-
const cardBorderRadius = finalCardStyle.borderRadius ?? 20;
|
|
68
|
-
const topBackgroundBorderRadius = {
|
|
69
|
-
borderTopLeftRadius: cardBorderRadius,
|
|
70
|
-
borderTopRightRadius: cardBorderRadius
|
|
71
|
-
};
|
|
72
|
-
const topElementBaseStyle = [styles.topBackgroundBase, topBackgroundBorderRadius, topBackgroundStyle, {
|
|
73
|
-
height: topBackgroundHeight
|
|
74
|
-
}];
|
|
75
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
76
|
-
style: [styles.cardContainer, cardContainerStyle],
|
|
77
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CloseIcon.default, {
|
|
78
|
-
show: showCloseIcon,
|
|
79
|
-
onPress: onClose,
|
|
80
|
-
customIcon: customCloseIcon,
|
|
81
|
-
variant: closeIconVariant,
|
|
82
|
-
containerStyle: closeIconContainerStyle,
|
|
83
|
-
iconStyle: closeIconStyle,
|
|
84
|
-
color: closeIconColor // Pass the prop down
|
|
85
|
-
,
|
|
86
|
-
size: closeIconSize,
|
|
87
|
-
isRTL: isRTL
|
|
88
|
-
}), !customTopBackground ? topGradientColors && topGradientColors.length >= 2 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoLinearGradient.LinearGradient, {
|
|
89
|
-
colors: topGradientColors,
|
|
90
|
-
start: topGradientStart,
|
|
91
|
-
end: topGradientEnd,
|
|
92
|
-
locations: topGradientLocations,
|
|
93
|
-
style: topElementBaseStyle
|
|
94
|
-
}) : topBackgroundImage ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ImageBackground, {
|
|
95
|
-
source: topBackgroundImage,
|
|
96
|
-
style: topElementBaseStyle,
|
|
97
|
-
imageStyle: [styles.topBackgroundImageStyle, topBackgroundBorderRadius, topBackgroundImageStyle],
|
|
98
|
-
resizeMode: "cover"
|
|
99
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
100
|
-
style: [...topElementBaseStyle, {
|
|
101
|
-
backgroundColor: topBackgroundColor
|
|
102
|
-
}]
|
|
103
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
104
|
-
style: topElementBaseStyle,
|
|
105
|
-
children: customTopBackground
|
|
106
|
-
}), title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
107
|
-
style: [styles.mainTitle, mainTitleStyle],
|
|
108
|
-
children: title
|
|
109
|
-
}), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
110
|
-
style: [styles.subtitle, subtitleStyle],
|
|
111
|
-
children: description
|
|
112
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
113
|
-
style: [styles.rewardsContainer, rewardsContainerStyle],
|
|
114
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
115
|
-
style: [styles.smallIconsRow, smallIconsRowStyle, isRTL && {
|
|
116
|
-
flexDirection: "row-reverse"
|
|
117
|
-
}],
|
|
118
|
-
children: rewards.map((reward, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Badge.default, {
|
|
119
|
-
isActive: reward.isActive,
|
|
120
|
-
icon: reward.icon,
|
|
121
|
-
activeIcon: reward.activeIcon,
|
|
122
|
-
inactiveStyle: inactiveIconStyle,
|
|
123
|
-
activeStyle: activeIconStyle
|
|
124
|
-
}, `badge-${index}`))
|
|
125
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
126
|
-
style: {
|
|
127
|
-
maxHeight: 300
|
|
128
|
-
},
|
|
129
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
130
|
-
data: rewards,
|
|
131
|
-
keyExtractor: (_, idx) => `reward-${idx}`,
|
|
132
|
-
showsVerticalScrollIndicator: false,
|
|
133
|
-
renderItem: ({
|
|
134
|
-
item,
|
|
135
|
-
index
|
|
136
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_RewardItem.default, {
|
|
137
|
-
icon: item.icon,
|
|
138
|
-
activeIcon: item.activeIcon,
|
|
139
|
-
isActive: item.isActive,
|
|
140
|
-
title: item.title,
|
|
141
|
-
description: item.description,
|
|
142
|
-
status: item.status,
|
|
143
|
-
statusBgColor: item.statusBackgroundColor,
|
|
144
|
-
statusTextColor: item.statusTextColor,
|
|
145
|
-
activeIconStyle: activeIconStyle,
|
|
146
|
-
inactiveIconStyle: inactiveIconStyle,
|
|
147
|
-
containerStyle: rewardItemContainerStyle,
|
|
148
|
-
badgeStyle: rewardItemIconWrapperStyle,
|
|
149
|
-
textContainerStyle: rewardItemTextContainerStyle,
|
|
150
|
-
titleTextStyle: rewardItemTitleTextStyle,
|
|
151
|
-
descriptionTextStyle: rewardItemDescriptionTextStyle,
|
|
152
|
-
statusBadgeStyle: rewardItemStatusBadgeStyle,
|
|
153
|
-
statusTextStyle: rewardItemStatusTextStyle,
|
|
154
|
-
isRTL: isRTL
|
|
155
|
-
}, `reward-${index}`)
|
|
156
|
-
})
|
|
157
|
-
})]
|
|
158
|
-
})]
|
|
159
|
-
});
|
|
160
|
-
};
|
|
161
|
-
const themedStyles = theme => _reactNative.StyleSheet.create({
|
|
162
|
-
cardContainer: {
|
|
163
|
-
backgroundColor: theme.surface,
|
|
164
|
-
borderRadius: 20,
|
|
165
|
-
padding: 20,
|
|
166
|
-
paddingTop: 40,
|
|
167
|
-
width: "100%",
|
|
168
|
-
maxWidth: 400,
|
|
169
|
-
alignItems: "center",
|
|
170
|
-
shadowColor: "#000",
|
|
171
|
-
shadowOffset: {
|
|
172
|
-
width: 0,
|
|
173
|
-
height: 2
|
|
174
|
-
},
|
|
175
|
-
shadowOpacity: 0.15,
|
|
176
|
-
shadowRadius: 5,
|
|
177
|
-
elevation: 5,
|
|
178
|
-
position: "relative",
|
|
179
|
-
borderWidth: 1,
|
|
180
|
-
borderColor: theme.border
|
|
181
|
-
},
|
|
182
|
-
topBackgroundBase: {
|
|
183
|
-
position: "absolute",
|
|
184
|
-
top: 0,
|
|
185
|
-
left: 0,
|
|
186
|
-
right: 0,
|
|
187
|
-
zIndex: 0
|
|
188
|
-
},
|
|
189
|
-
topBackgroundImageStyle: {},
|
|
190
|
-
closeIconContainer: {
|
|
191
|
-
position: "absolute",
|
|
192
|
-
zIndex: 10
|
|
193
|
-
},
|
|
194
|
-
mainTitle: {
|
|
195
|
-
fontSize: 26,
|
|
196
|
-
fontWeight: "bold",
|
|
197
|
-
color: theme.text,
|
|
198
|
-
marginBottom: 8,
|
|
199
|
-
textAlign: "center",
|
|
200
|
-
zIndex: 1
|
|
201
|
-
},
|
|
202
|
-
subtitle: {
|
|
203
|
-
fontSize: 14,
|
|
204
|
-
color: theme.helper,
|
|
205
|
-
textAlign: "center",
|
|
206
|
-
marginBottom: 25,
|
|
207
|
-
paddingHorizontal: 10,
|
|
208
|
-
zIndex: 1
|
|
209
|
-
},
|
|
210
|
-
rewardsContainer: {
|
|
211
|
-
backgroundColor: theme.background,
|
|
212
|
-
padding: 20,
|
|
213
|
-
borderRadius: 20,
|
|
214
|
-
width: "100%",
|
|
215
|
-
zIndex: 1,
|
|
216
|
-
borderWidth: 1,
|
|
217
|
-
borderColor: theme.border
|
|
218
|
-
},
|
|
219
|
-
smallIconsRow: {
|
|
220
|
-
flexDirection: "row",
|
|
221
|
-
justifyContent: "space-around",
|
|
222
|
-
alignItems: "center",
|
|
223
|
-
marginBottom: 30,
|
|
224
|
-
paddingVertical: 15,
|
|
225
|
-
backgroundColor: theme.surface,
|
|
226
|
-
borderRadius: 15
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
var _default = exports.default = UnlockRewards;
|
|
230
|
-
//# sourceMappingURL=UnlockRewards.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_RewardItem","_interopRequireDefault","_Badge","_index","_expoLinearGradient","_CloseIcon","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnlockRewards","rewards","title","description","activeIconStyle","inactiveIconStyle","onClose","isRTL","topBackgroundImage","topBackgroundColor","topBackgroundColorProp","topBackgroundHeight","topBackgroundImageStyle","topBackgroundStyle","topGradientColors","topGradientStart","topGradientEnd","topGradientLocations","cardContainerStyle","mainTitleStyle","subtitleStyle","rewardsContainerStyle","smallIconsRowStyle","rewardItemContainerStyle","rewardItemIconWrapperStyle","rewardItemTextContainerStyle","rewardItemTitleTextStyle","rewardItemDescriptionTextStyle","rewardItemStatusBadgeStyle","rewardItemStatusTextStyle","showCloseIcon","customCloseIcon","closeIconVariant","closeIconContainerStyle","closeIconStyle","closeIconColor","closeIconSize","customTopBackground","theme","rtl","useTheme","styles","useMemo","themedStyles","surface","finalCardStyle","StyleSheet","flatten","cardContainer","cardBorderRadius","borderRadius","topBackgroundBorderRadius","borderTopLeftRadius","borderTopRightRadius","topElementBaseStyle","topBackgroundBase","height","jsxs","View","style","children","jsx","show","onPress","customIcon","variant","containerStyle","iconStyle","color","size","length","LinearGradient","colors","start","end","locations","ImageBackground","source","imageStyle","resizeMode","backgroundColor","Text","mainTitle","subtitle","rewardsContainer","smallIconsRow","flexDirection","map","reward","index","isActive","icon","activeIcon","inactiveStyle","activeStyle","maxHeight","FlatList","data","keyExtractor","_","idx","showsVerticalScrollIndicator","renderItem","item","status","statusBgColor","statusBackgroundColor","statusTextColor","badgeStyle","textContainerStyle","titleTextStyle","descriptionTextStyle","statusBadgeStyle","statusTextStyle","create","padding","paddingTop","width","maxWidth","alignItems","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","position","borderWidth","borderColor","border","top","left","right","zIndex","closeIconContainer","fontSize","fontWeight","text","marginBottom","textAlign","helper","paddingHorizontal","background","justifyContent","paddingVertical","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/UnlockRewards/UnlockRewards.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,WAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAJ,sBAAA,CAAAH,OAAA;AAA+C,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAG,uBAAAM,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,CA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;IAC9BvB,UAAU,EAAE,QAAQ;IACpBkB,YAAY,EAAE,EAAE;IAChBM,eAAe,EAAE,EAAE;IACnB/D,eAAe,EAAE1C,KAAK,CAACM,OAAO;IAC9BM,YAAY,EAAE;EAChB;AACF,CAAC,CAAC;AAAC,IAAA8F,QAAA,GAAAC,OAAA,CAAAnK,OAAA,GAEUkB,aAAa","ignoreList":[]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
UnlockRewards: true,
|
|
8
|
-
RewardItem: true
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "RewardItem", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _RewardItem.default;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "UnlockRewards", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return _UnlockRewards.default;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
var _UnlockRewards = _interopRequireWildcard(require("./UnlockRewards.js"));
|
|
23
|
-
Object.keys(_UnlockRewards).forEach(function (key) {
|
|
24
|
-
if (key === "default" || key === "__esModule") return;
|
|
25
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
26
|
-
if (key in exports && exports[key] === _UnlockRewards[key]) return;
|
|
27
|
-
Object.defineProperty(exports, key, {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () {
|
|
30
|
-
return _UnlockRewards[key];
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
var _RewardItem = _interopRequireWildcard(require("./RewardItem.js"));
|
|
35
|
-
Object.keys(_RewardItem).forEach(function (key) {
|
|
36
|
-
if (key === "default" || key === "__esModule") return;
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
38
|
-
if (key in exports && exports[key] === _RewardItem[key]) return;
|
|
39
|
-
Object.defineProperty(exports, key, {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () {
|
|
42
|
-
return _RewardItem[key];
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
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); }
|
|
47
|
-
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; }
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_UnlockRewards","_interopRequireWildcard","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_RewardItem","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/UnlockRewards/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGAC,MAAA,CAAAC,IAAA,CAAAJ,cAAA,EAAAK,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,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A,GAAAvB,MAAA,CAAAS,cAAA,IAAAT,MAAA,CAAAwB,wBAAA,WAAAC,CAAA,IAAAX,CAAA,oBAAAW,CAAA,OAAApB,cAAA,CAAAC,IAAA,CAAAQ,CAAA,EAAAW,CAAA,SAAAC,CAAA,GAAAH,CAAA,GAAAvB,MAAA,CAAAwB,wBAAA,CAAAV,CAAA,EAAAW,CAAA,UAAAC,CAAA,KAAAA,CAAA,CAAAf,GAAA,IAAAe,CAAA,CAAAC,GAAA,IAAA3B,MAAA,CAAAS,cAAA,CAAAY,CAAA,EAAAI,CAAA,EAAAC,CAAA,IAAAL,CAAA,CAAAI,CAAA,IAAAX,CAAA,CAAAW,CAAA,YAAAJ,CAAA,CAAAF,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAU,GAAA,CAAAb,CAAA,EAAAO,CAAA,GAAAA,CAAA","ignoreList":[]}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
# SpinWheel Component
|
|
2
|
-
|
|
3
|
-
A customizable spinning wheel component for React Native applications that allows users to create interactive prize wheels, random selectors, or game elements.
|
|
4
|
-
|
|
5
|
-
## Basic Usage
|
|
6
|
-
|
|
7
|
-
```jsx
|
|
8
|
-
import React, { useState } from 'react';
|
|
9
|
-
import { View, Alert } from 'react-native';
|
|
10
|
-
import { SpinWheel } from '@your-org/component-library';
|
|
11
|
-
|
|
12
|
-
const MySpinWheelExample = () => {
|
|
13
|
-
const items = [
|
|
14
|
-
{ id: 1, label: '10% OFF', color: '#FF0000', value: { discount: 10 } },
|
|
15
|
-
{ id: 2, label: '20% OFF', color: '#00FF00', value: { discount: 20 } },
|
|
16
|
-
{ id: 3, label: '30% OFF', color: '#0000FF', value: { discount: 30 } },
|
|
17
|
-
{ id: 4, label: 'FREE GIFT', color: '#FFFF00', value: { type: 'gift' } },
|
|
18
|
-
{ id: 5, label: 'BETTER LUCK', color: '#FF00FF', value: null },
|
|
19
|
-
];
|
|
20
|
-
|
|
21
|
-
const handleWin = (item) => {
|
|
22
|
-
Alert.alert('Congratulations!', `You won: ${item.label}`);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
return (
|
|
26
|
-
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
|
|
27
|
-
<SpinWheel
|
|
28
|
-
items={items}
|
|
29
|
-
size={300}
|
|
30
|
-
onSpinEnd={handleWin}
|
|
31
|
-
/>
|
|
32
|
-
</View>
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export default MySpinWheelExample;
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Props
|
|
40
|
-
|
|
41
|
-
### Data Props
|
|
42
|
-
|
|
43
|
-
| Prop | Type | Required | Default | Description |
|
|
44
|
-
|------|------|----------|---------|-------------|
|
|
45
|
-
| `items` | `SpinWheelItem[]` | ✅ | `[]` | Array of items to display on the wheel |
|
|
46
|
-
|
|
47
|
-
#### SpinWheelItem Interface
|
|
48
|
-
|
|
49
|
-
```typescript
|
|
50
|
-
interface SpinWheelItem {
|
|
51
|
-
id: string | number; // Unique identifier
|
|
52
|
-
label: string; // Text to display on the wheel
|
|
53
|
-
value?: any; // Optional value associated with the item
|
|
54
|
-
color: string; // Background color (HEX, RGB, or named color)
|
|
55
|
-
textColor?: string; // Text color (defaults to wheelTextColor)
|
|
56
|
-
}
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Dimension Props
|
|
60
|
-
|
|
61
|
-
| Prop | Type | Required | Default | Description |
|
|
62
|
-
|------|------|----------|---------|-------------|
|
|
63
|
-
| `size` | `number` | ❌ | `300` | Diameter of the wheel in pixels |
|
|
64
|
-
|
|
65
|
-
### Behavior Props
|
|
66
|
-
|
|
67
|
-
| Prop | Type | Required | Default | Description |
|
|
68
|
-
|------|------|----------|---------|-------------|
|
|
69
|
-
| `spinDuration` | `number` | ❌ | `5000` | Duration of spin animation in milliseconds |
|
|
70
|
-
| `enabled` | `boolean` | ❌ | `true` | Whether the wheel can be spun |
|
|
71
|
-
|
|
72
|
-
### Event Props
|
|
73
|
-
|
|
74
|
-
| Prop | Type | Required | Default | Description |
|
|
75
|
-
|------|------|----------|---------|-------------|
|
|
76
|
-
| `onSpinStart` | `() => void` | ❌ | - | Callback function called when spinning starts |
|
|
77
|
-
| `onSpinEnd` | `(item: SpinWheelItem) => void` | ❌ | - | Callback function called when spinning ends with the winning item |
|
|
78
|
-
|
|
79
|
-
### Styling Props
|
|
80
|
-
|
|
81
|
-
| Prop | Type | Required | Default | Description |
|
|
82
|
-
|------|------|----------|---------|-------------|
|
|
83
|
-
| `containerStyle` | `ViewStyle` | ❌ | - | Custom style for the container |
|
|
84
|
-
| `centerStyle` | `ViewStyle` | ❌ | - | Custom style for the center of the wheel |
|
|
85
|
-
| `spinButtonText` | `string` | ❌ | `"Spin"` | Text for the spin button |
|
|
86
|
-
| `spinButtonStyle` | `ViewStyle` | ❌ | - | Custom style for the spin button |
|
|
87
|
-
| `spinButtonTextStyle` | `TextStyle` | ❌ | - | Custom style for the spin button text |
|
|
88
|
-
| `wheelTextStyle` | `TextStyle` | ❌ | - | Custom style for the text on the wheel |
|
|
89
|
-
| `knobStyle` | `ViewStyle` | ❌ | - | Custom style for the pointer |
|
|
90
|
-
| `actionButtonStyle` | `ViewStyle` | ❌ | - | Custom style for the action button |
|
|
91
|
-
| `actionButtonTextStyle` | `TextStyle` | ❌ | - | Custom style for the action button text |
|
|
92
|
-
| `wheelBorderColor` | `string` | ❌ | `"#000000"` | Color of the wheel border |
|
|
93
|
-
| `wheelTextColor` | `string` | ❌ | `"#FFFFFF"` | Default color of text on the wheel |
|
|
94
|
-
| `knobColor` | `string` | ❌ | `"#D81E5B"` | Color of the pointer |
|
|
95
|
-
| `centerComponent` | `React.ReactNode` | ❌ | - | Custom component to render in the center |
|
|
96
|
-
|
|
97
|
-
## Advanced Examples
|
|
98
|
-
|
|
99
|
-
### Custom Styling
|
|
100
|
-
|
|
101
|
-
```jsx
|
|
102
|
-
<SpinWheel
|
|
103
|
-
items={items}
|
|
104
|
-
size={350}
|
|
105
|
-
spinDuration={6000}
|
|
106
|
-
knobColor="#FF5722"
|
|
107
|
-
wheelTextColor="#000000"
|
|
108
|
-
containerStyle={{ backgroundColor: '#F5F5F5', padding: 20, borderRadius: 10 }}
|
|
109
|
-
centerStyle={{ backgroundColor: '#FFC107' }}
|
|
110
|
-
spinButtonText="Try Your Luck!"
|
|
111
|
-
spinButtonStyle={{ backgroundColor: '#4CAF50' }}
|
|
112
|
-
spinButtonTextStyle={{ color: 'white', fontSize: 18 }}
|
|
113
|
-
onSpinEnd={handleWin}
|
|
114
|
-
/>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
<!-- ### With Custom Center Component
|
|
118
|
-
|
|
119
|
-
```jsx
|
|
120
|
-
<SpinWheel
|
|
121
|
-
items={items}
|
|
122
|
-
size={400}
|
|
123
|
-
centerComponent={
|
|
124
|
-
<Image
|
|
125
|
-
source={require('./logo.png')}
|
|
126
|
-
style={{ width: 60, height: 60 }}
|
|
127
|
-
/>
|
|
128
|
-
}
|
|
129
|
-
onSpinEnd={handleWin}
|
|
130
|
-
/>
|
|
131
|
-
``` -->
|
|
132
|
-
|
|
133
|
-
### Disabled State
|
|
134
|
-
|
|
135
|
-
```jsx
|
|
136
|
-
<SpinWheel
|
|
137
|
-
items={items}
|
|
138
|
-
enabled={userHasCredits}
|
|
139
|
-
onSpinEnd={handleWin}
|
|
140
|
-
/>
|
|
141
|
-
```
|