be-components 3.3.6 → 3.3.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/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +21 -28
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/LoginForm.js +93 -109
- package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +246 -342
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/commonjs/Authenticator/index.js +22 -32
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/Competition/components/AthleteMarketCard.js +39 -26
- package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +115 -175
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +97 -95
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionPlay.js +99 -113
- package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +56 -75
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/commonjs/Competition/components/LeaderPicks.js +4 -4
- package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/commonjs/Competition/components/MarketsCard.js +22 -12
- package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
- package/lib/commonjs/Competition/components/TeamEventCard.js +46 -37
- package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/commonjs/Competition/components/WagerPickForm.js +73 -85
- package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/commonjs/Competition/index.js +236 -216
- package/lib/commonjs/Competition/index.js.map +1 -1
- package/lib/commonjs/Components/Button.js +49 -6
- package/lib/commonjs/Components/Button.js.map +1 -1
- package/lib/commonjs/Components/ConfirmationModal.js +29 -29
- package/lib/commonjs/Components/ConfirmationModal.js.map +1 -1
- package/lib/commonjs/Components/Themed.js +281 -0
- package/lib/commonjs/Components/Themed.js.map +1 -0
- package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js +43 -52
- package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js +50 -61
- package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/EventMarket/index.js +48 -54
- package/lib/commonjs/MarketComponents/components/EventMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js +2 -3
- package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MarketButton/index.js +22 -22
- package/lib/commonjs/MarketComponents/components/MarketButton/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MatchMarket/index.js +53 -63
- package/lib/commonjs/MarketComponents/components/MatchMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js +239 -220
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js +48 -57
- package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js +203 -131
- package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +49 -55
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js +55 -88
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +94 -121
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/DOBManager.js +42 -46
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/EmailManager.js +66 -86
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js +60 -78
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js +62 -81
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +19 -27
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +31 -48
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +69 -92
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js +63 -65
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js +106 -132
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/index.js +29 -31
- package/lib/commonjs/ProfileManager/index.js.map +1 -1
- package/lib/commonjs/Share/api/index.js +13 -6
- package/lib/commonjs/Share/api/index.js.map +1 -1
- package/lib/commonjs/Share/index.js +11 -11
- package/lib/commonjs/Share/index.js.map +1 -1
- package/lib/commonjs/Squares/components/BidForm.js +142 -120
- package/lib/commonjs/Squares/components/BidForm.js.map +1 -1
- package/lib/commonjs/Squares/components/BidToggle.js +10 -11
- package/lib/commonjs/Squares/components/BidToggle.js.map +1 -1
- package/lib/commonjs/Squares/components/BoardStats.js +63 -47
- package/lib/commonjs/Squares/components/BoardStats.js.map +1 -1
- package/lib/commonjs/Squares/components/EventCard.js +48 -29
- package/lib/commonjs/Squares/components/EventCard.js.map +1 -1
- package/lib/commonjs/Squares/components/MySquaresCard.js +48 -31
- package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -1
- package/lib/commonjs/Squares/components/MyStatsCard.js +155 -121
- package/lib/commonjs/Squares/components/MyStatsCard.js.map +1 -1
- package/lib/commonjs/Squares/components/OfferForm.js +32 -32
- package/lib/commonjs/Squares/components/OfferForm.js.map +1 -1
- package/lib/commonjs/Squares/components/PrizeCard.js +44 -35
- package/lib/commonjs/Squares/components/PrizeCard.js.map +1 -1
- package/lib/commonjs/Squares/components/ResultsCard.js +37 -24
- package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOffersCard.js +20 -13
- package/lib/commonjs/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOwners.js +44 -38
- package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresBoard.js +77 -59
- package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresDetails.js +46 -36
- package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -1
- package/lib/commonjs/Squares/index.js +207 -150
- package/lib/commonjs/Squares/index.js.map +1 -1
- package/lib/commonjs/constants/colors.js +18 -3
- package/lib/commonjs/constants/colors.js.map +1 -1
- package/lib/commonjs/constants/styles.js +72 -2
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/constants/useColors.js +153 -0
- package/lib/commonjs/constants/useColors.js.map +1 -0
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +19 -26
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/module/Authenticator/Components/LoginForm.js +54 -70
- package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/module/Authenticator/Components/StrategyForm.js +227 -322
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/module/Authenticator/index.js +16 -26
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/Competition/components/AthleteMarketCard.js +28 -15
- package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionInfoCard.js +82 -141
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js +68 -66
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionPlay.js +65 -79
- package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +35 -54
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/module/Competition/components/LeaderPicks.js +4 -4
- package/lib/module/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/module/Competition/components/MarketsCard.js +15 -5
- package/lib/module/Competition/components/MarketsCard.js.map +1 -1
- package/lib/module/Competition/components/TeamEventCard.js +24 -15
- package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/module/Competition/components/WagerPickForm.js +44 -56
- package/lib/module/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/module/Competition/index.js +215 -195
- package/lib/module/Competition/index.js.map +1 -1
- package/lib/module/Components/Button.js +49 -6
- package/lib/module/Components/Button.js.map +1 -1
- package/lib/module/Components/ConfirmationModal.js +21 -21
- package/lib/module/Components/ConfirmationModal.js.map +1 -1
- package/lib/module/Components/Themed.js +269 -0
- package/lib/module/Components/Themed.js.map +1 -0
- package/lib/module/MarketComponents/components/AthleteMarket/index.js +29 -38
- package/lib/module/MarketComponents/components/AthleteMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js +36 -47
- package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/EventMarket/index.js +35 -41
- package/lib/module/MarketComponents/components/EventMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MarketButton/api/index.js +2 -3
- package/lib/module/MarketComponents/components/MarketButton/api/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MarketButton/index.js +17 -17
- package/lib/module/MarketComponents/components/MarketButton/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MatchMarket/index.js +35 -45
- package/lib/module/MarketComponents/components/MatchMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TeamEventMarket/index.js +176 -157
- package/lib/module/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js +34 -43
- package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TournamentMarket/index.js +172 -100
- package/lib/module/MarketComponents/components/TournamentMarket/index.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicInfoManager.js +28 -34
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js +28 -61
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js +55 -81
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js +27 -31
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js +42 -61
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js +36 -54
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js +37 -56
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js +10 -18
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js +21 -38
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js +42 -65
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/module/ProfileManager/Components/SettingsManager.js +45 -47
- package/lib/module/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js +69 -95
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/index.js +18 -20
- package/lib/module/ProfileManager/index.js.map +1 -1
- package/lib/module/Share/api/index.js +11 -6
- package/lib/module/Share/api/index.js.map +1 -1
- package/lib/module/Share/index.js +13 -13
- package/lib/module/Share/index.js.map +1 -1
- package/lib/module/Squares/components/BidForm.js +138 -116
- package/lib/module/Squares/components/BidForm.js.map +1 -1
- package/lib/module/Squares/components/BidToggle.js +6 -7
- package/lib/module/Squares/components/BidToggle.js.map +1 -1
- package/lib/module/Squares/components/BoardStats.js +44 -27
- package/lib/module/Squares/components/BoardStats.js.map +1 -1
- package/lib/module/Squares/components/EventCard.js +34 -15
- package/lib/module/Squares/components/EventCard.js.map +1 -1
- package/lib/module/Squares/components/MySquaresCard.js +36 -19
- package/lib/module/Squares/components/MySquaresCard.js.map +1 -1
- package/lib/module/Squares/components/MyStatsCard.js +98 -64
- package/lib/module/Squares/components/MyStatsCard.js.map +1 -1
- package/lib/module/Squares/components/OfferForm.js +12 -12
- package/lib/module/Squares/components/OfferForm.js.map +1 -1
- package/lib/module/Squares/components/PrizeCard.js +25 -16
- package/lib/module/Squares/components/PrizeCard.js.map +1 -1
- package/lib/module/Squares/components/ResultsCard.js +27 -14
- package/lib/module/Squares/components/ResultsCard.js.map +1 -1
- package/lib/module/Squares/components/SquareOffersCard.js +16 -9
- package/lib/module/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/module/Squares/components/SquareOwners.js +35 -28
- package/lib/module/Squares/components/SquareOwners.js.map +1 -1
- package/lib/module/Squares/components/SquaresBoard.js +52 -34
- package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/module/Squares/components/SquaresDetails.js +30 -19
- package/lib/module/Squares/components/SquaresDetails.js.map +1 -1
- package/lib/module/Squares/index.js +206 -149
- package/lib/module/Squares/index.js.map +1 -1
- package/lib/module/constants/colors.js +18 -3
- package/lib/module/constants/colors.js.map +1 -1
- package/lib/module/constants/styles.js +71 -1
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/constants/useColors.js +145 -0
- package/lib/module/constants/useColors.js.map +1 -0
- package/lib/typescript/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts +2 -2
- package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts +2 -4
- package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts +1 -3
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Button.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Themed.d.ts +6 -0
- package/lib/typescript/lib/commonjs/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts +2 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts +1 -2
- package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Share/api/index.d.ts +1 -1
- package/lib/typescript/lib/commonjs/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/constants/colors.d.ts +9 -0
- package/lib/typescript/lib/commonjs/constants/styles.d.ts +95 -8
- package/lib/typescript/lib/commonjs/constants/useColors.d.ts +58 -0
- package/lib/typescript/lib/commonjs/constants/useColors.d.ts.map +1 -0
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +3 -4
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +3 -6
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/index.d.ts +4 -4
- package/lib/typescript/lib/module/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +2 -5
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts +2 -4
- package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/index.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Button.d.ts +2 -1
- package/lib/typescript/lib/module/Components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Spring.d.ts +1 -1
- package/lib/typescript/lib/module/Components/Themed.d.ts +9 -0
- package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts +1 -2
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +3 -3
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +3 -3
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts +4 -3
- package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts +2 -4
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts +1 -4
- package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/index.d.ts +2 -4
- package/lib/typescript/lib/module/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Share/api/index.d.ts +1 -1
- package/lib/typescript/lib/module/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Share/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BidForm.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +2 -4
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/index.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/constants/colors.d.ts +9 -0
- package/lib/typescript/lib/module/constants/styles.d.ts +95 -8
- package/lib/typescript/lib/module/constants/useColors.d.ts +57 -0
- package/lib/typescript/lib/module/constants/useColors.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +2 -2
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +2 -3
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/index.d.ts +2 -2
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -1
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -1
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -1
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/src/Competition/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Button.d.ts +2 -1
- package/lib/typescript/src/Components/Button.d.ts.map +1 -1
- package/lib/typescript/src/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/src/Components/Themed.d.ts +38 -0
- package/lib/typescript/src/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
- package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
- package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/index.d.ts +15 -7
- package/lib/typescript/src/MarketComponents/index.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/index.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Share/api/index.d.ts +1 -1
- package/lib/typescript/src/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Share/index.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/MyStatsCard.d.ts +1 -1
- package/lib/typescript/src/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/src/Squares/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/colors.d.ts +9 -0
- package/lib/typescript/src/constants/colors.d.ts.map +1 -1
- package/lib/typescript/src/constants/styles.d.ts +55 -1
- package/lib/typescript/src/constants/styles.d.ts.map +1 -1
- package/lib/typescript/src/constants/useColors.d.ts +57 -0
- package/lib/typescript/src/constants/useColors.d.ts.map +1 -0
- package/package.json +2 -1
- package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +40 -40
- package/src/Authenticator/Components/LoginForm.tsx +50 -54
- package/src/Authenticator/Components/StrategyForm.tsx +135 -147
- package/src/Authenticator/index.tsx +16 -18
- package/src/Competition/components/AthleteMarketCard.tsx +19 -17
- package/src/Competition/components/CompetitionInfoCard.tsx +48 -138
- package/src/Competition/components/CompetitionLeaderboard.tsx +65 -57
- package/src/Competition/components/CompetitionPlay.tsx +55 -48
- package/src/Competition/components/EnterCompetitionPrompt.tsx +30 -39
- package/src/Competition/components/LeaderPicks.tsx +5 -5
- package/src/Competition/components/MarketsCard.tsx +14 -10
- package/src/Competition/components/TeamEventCard.tsx +24 -23
- package/src/Competition/components/WagerPickForm.tsx +35 -41
- package/src/Competition/index.tsx +162 -125
- package/src/Components/Button.tsx +50 -6
- package/src/Components/ConfirmationModal.tsx +13 -21
- package/src/Components/Themed.tsx +233 -0
- package/src/MarketComponents/components/AthleteMarket/index.tsx +21 -26
- package/src/MarketComponents/components/AthleteTournamentMarket/index.tsx +24 -32
- package/src/MarketComponents/components/EventMarket/index.tsx +25 -33
- package/src/MarketComponents/components/MarketButton/api/index.ts +2 -3
- package/src/MarketComponents/components/MarketButton/index.tsx +16 -15
- package/src/MarketComponents/components/MatchMarket/index.tsx +50 -59
- package/src/MarketComponents/components/TeamEventMarket/index.tsx +160 -139
- package/src/MarketComponents/components/TeamTournamentMarket/index.tsx +24 -30
- package/src/MarketComponents/components/TournamentMarket/index.tsx +117 -107
- package/src/ProfileManager/Components/BasicInfoManager.tsx +26 -29
- package/src/ProfileManager/Components/BasicStatus.tsx +29 -36
- package/src/ProfileManager/Components/CodeRedeem.tsx +50 -60
- package/src/ProfileManager/Components/DOBManager.tsx +25 -30
- package/src/ProfileManager/Components/EmailManager.tsx +37 -45
- package/src/ProfileManager/Components/PasswordManager.tsx +36 -40
- package/src/ProfileManager/Components/PhoneManager.tsx +36 -43
- package/src/ProfileManager/Components/ProfilePicManager.tsx +10 -16
- package/src/ProfileManager/Components/ProfileWelcome.tsx +19 -25
- package/src/ProfileManager/Components/ProfileWizard.tsx +42 -46
- package/src/ProfileManager/Components/SettingsManager.tsx +41 -45
- package/src/ProfileManager/Components/VouchCard.tsx +50 -59
- package/src/ProfileManager/index.tsx +16 -13
- package/src/Share/api/index.ts +9 -3
- package/src/Share/index.tsx +13 -12
- package/src/Squares/components/BidForm.tsx +85 -62
- package/src/Squares/components/BidToggle.tsx +8 -9
- package/src/Squares/components/BoardStats.tsx +28 -28
- package/src/Squares/components/EventCard.tsx +33 -31
- package/src/Squares/components/MySquaresCard.tsx +24 -23
- package/src/Squares/components/MyStatsCard.tsx +66 -68
- package/src/Squares/components/OfferForm.tsx +15 -15
- package/src/Squares/components/PrizeCard.tsx +21 -18
- package/src/Squares/components/ResultsCard.tsx +21 -18
- package/src/Squares/components/SquareOffersCard.tsx +12 -10
- package/src/Squares/components/SquareOwners.tsx +24 -23
- package/src/Squares/components/SquaresBoard.tsx +39 -42
- package/src/Squares/components/SquaresDetails.tsx +25 -24
- package/src/Squares/index.tsx +196 -144
- package/src/constants/colors.ts +55 -47
- package/src/constants/styles.ts +37 -1
- package/src/constants/useColors.tsx +131 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ActivityIndicator, TouchableOpacity, ScrollView } from 'react-native';
|
|
3
|
+
import { Icons, TextInput } from '../../Components';
|
|
4
4
|
import Colors from '../../constants/colors';
|
|
5
5
|
import { ProfileApi } from '../api';
|
|
6
6
|
import { button_styles } from '../../constants/styles';
|
|
7
7
|
import type { MyPlayerProps } from '../../types';
|
|
8
|
+
import { Button, Text, View } from '../../Components/Themed';
|
|
9
|
+
import { useColors } from '../../constants/useColors';
|
|
8
10
|
|
|
9
11
|
type BasicInfoManagerProps = {
|
|
10
12
|
player:MyPlayerProps,
|
|
@@ -15,6 +17,7 @@ type BasicInfoManagerProps = {
|
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose }:BasicInfoManagerProps) => {
|
|
20
|
+
const C = useColors();
|
|
18
21
|
const [ draft_player, setDraftPlayer ] = useState<MyPlayerProps>(player)
|
|
19
22
|
const [ loading, setLoading ] = useState(false);
|
|
20
23
|
const [ username_valid, setUsernameValid ] = useState<{
|
|
@@ -57,20 +60,20 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
57
60
|
const allow_next = username_valid.valid && !username_valid.loading && draft_player.first_name && draft_player.last_name ? true : false
|
|
58
61
|
|
|
59
62
|
return (
|
|
60
|
-
<View style={{
|
|
61
|
-
<ScrollView style={{
|
|
63
|
+
<View style={{ flexGrow:1 }}>
|
|
64
|
+
<ScrollView style={{ flexGrow:1 }}>
|
|
62
65
|
{walkthrough ?
|
|
63
66
|
<View style={{ padding:20 }}>
|
|
64
|
-
<Text size={30}
|
|
65
|
-
<Text style={{ marginTop:15 }} size={16}
|
|
67
|
+
<Text size={30} theme='h1'>Let's start with the basics</Text>
|
|
68
|
+
<Text style={{ marginTop:15 }} size={16} theme='h2'>You can change this later, but will be required to verify your account.</Text>
|
|
66
69
|
</View>
|
|
67
70
|
:<></>}
|
|
68
71
|
<View style={{ padding:30 }}>
|
|
69
|
-
<Text weight='bold' size={18}
|
|
70
|
-
<Text style={{ marginTop:5 }}
|
|
72
|
+
<Text weight='bold' size={18} theme='h1'>USERNAME</Text>
|
|
73
|
+
<Text style={{ marginTop:5 }} theme='h2'>To start, we randomly generate a username for you! Change it if you'd like here.</Text>
|
|
71
74
|
<View style={{ marginTop:20, backgroundColor:Colors.shades.white, borderRadius:22, flexDirection:'row', alignItems:'center' }}>
|
|
72
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
73
|
-
<Text
|
|
75
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
76
|
+
<Text theme='h1'>@</Text>
|
|
74
77
|
</View>
|
|
75
78
|
<TextInput
|
|
76
79
|
value={draft_player.username}
|
|
@@ -92,15 +95,15 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
92
95
|
}
|
|
93
96
|
}}
|
|
94
97
|
/>
|
|
95
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
98
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
96
99
|
{username_valid.loading ?
|
|
97
100
|
<ActivityIndicator size='small' color={Colors.brand.midnight}/>
|
|
98
101
|
:
|
|
99
|
-
<View>
|
|
102
|
+
<View transparent>
|
|
100
103
|
{username_valid.valid ?
|
|
101
|
-
<Icons.CheckIcon size={16} color={
|
|
104
|
+
<Icons.CheckIcon size={16} color={C.text.success} />
|
|
102
105
|
:
|
|
103
|
-
<Icons.AlertIcon size={16} color={
|
|
106
|
+
<Icons.AlertIcon size={16} color={C.text.warning} />
|
|
104
107
|
}
|
|
105
108
|
</View>
|
|
106
109
|
}
|
|
@@ -109,12 +112,12 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
109
112
|
</View>
|
|
110
113
|
|
|
111
114
|
<View style={{ padding:30 }}>
|
|
112
|
-
<Text weight='bold' size={18}
|
|
113
|
-
<Text style={{ marginTop:5 }}
|
|
115
|
+
<Text weight='bold' size={18} theme='h1'>NAME</Text>
|
|
116
|
+
<Text style={{ marginTop:5 }} theme='h2'>Add / Update your name below. This is required to verify your account</Text>
|
|
114
117
|
<View style={{ marginTop:20, backgroundColor:Colors.shades.white, borderRadius:22, flexDirection:'row', alignItems:'center' }}>
|
|
115
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
118
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
116
119
|
<Icons.UserIcon
|
|
117
|
-
color={
|
|
120
|
+
color={C.text.h1}
|
|
118
121
|
size={18}
|
|
119
122
|
/>
|
|
120
123
|
</View>
|
|
@@ -128,9 +131,9 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
128
131
|
/>
|
|
129
132
|
</View>
|
|
130
133
|
<View style={{ marginTop:10, backgroundColor:Colors.shades.white, borderRadius:22, flexDirection:'row', alignItems:'center' }}>
|
|
131
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
134
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
132
135
|
<Icons.UserIcon
|
|
133
|
-
color={
|
|
136
|
+
color={C.text.h1}
|
|
134
137
|
size={18}
|
|
135
138
|
/>
|
|
136
139
|
</View>
|
|
@@ -149,8 +152,7 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
149
152
|
<View nativeID='action_row' style={{ flexDirection:'row', justifyContent:'space-between', padding:10 }}>
|
|
150
153
|
<Button
|
|
151
154
|
title='EXIT SETUP'
|
|
152
|
-
|
|
153
|
-
backgroundColor='transparent'
|
|
155
|
+
type='text'
|
|
154
156
|
onPress={() => onClose()}
|
|
155
157
|
/>
|
|
156
158
|
<TouchableOpacity
|
|
@@ -166,19 +168,14 @@ const BasicInfoManager = ({ player, walkthrough, onPlayerUpdate, onNext, onClose
|
|
|
166
168
|
<Button
|
|
167
169
|
style={{ flex:1, marginRight:5 }}
|
|
168
170
|
title='BACK'
|
|
169
|
-
|
|
170
|
-
title_color={Colors.brand.electric}
|
|
171
|
-
borderWidth={1}
|
|
172
|
-
borderColor={Colors.brand.electric}
|
|
171
|
+
type='close'
|
|
173
172
|
onPress={() => onClose()}
|
|
174
173
|
/>
|
|
175
174
|
<Button
|
|
176
175
|
style={{ flex:3, opacity:allow_next && is_changed?1:0.5 }}
|
|
177
176
|
disabled={!is_changed || !allow_next}
|
|
178
177
|
title='UPDATE'
|
|
179
|
-
|
|
180
|
-
title_color={Colors.shades.white}
|
|
181
|
-
backgroundColor={Colors.utility.success}
|
|
178
|
+
type='success'
|
|
182
179
|
onPress={async() => {
|
|
183
180
|
await updatePlayer()
|
|
184
181
|
onClose()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import Colors from '../../constants/colors';
|
|
2
|
+
import { Image, ScrollView } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
5
4
|
import type { CodeRequestProps, MyPlayerProps, PlayerReferralProps, PromoProps, PublicPlayerProps } from '../../types';
|
|
6
|
-
import {
|
|
5
|
+
import { Button, Text, View } from '../../Components/Themed';
|
|
6
|
+
import { useColors } from '../../constants/useColors';
|
|
7
7
|
|
|
8
8
|
type BasicStatusProps = {
|
|
9
9
|
player:MyPlayerProps,
|
|
@@ -18,7 +18,7 @@ type BasicStatusProps = {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
const BasicStatus = ({ onVerify, code_details, player, onClose }:BasicStatusProps) => {
|
|
21
|
-
|
|
21
|
+
const C = useColors();
|
|
22
22
|
const { code_request, promo } = code_details;
|
|
23
23
|
|
|
24
24
|
const getStatus = (p:MyPlayerProps) => {
|
|
@@ -31,8 +31,8 @@ const BasicStatus = ({ onVerify, code_details, player, onClose }:BasicStatusProp
|
|
|
31
31
|
const errors = getStatus(player)
|
|
32
32
|
|
|
33
33
|
return (
|
|
34
|
-
<View style={{
|
|
35
|
-
<ScrollView style={{
|
|
34
|
+
<View style={{ flexGrow:1 }}>
|
|
35
|
+
<ScrollView style={{ flexGrow:1 }}>
|
|
36
36
|
|
|
37
37
|
<View style={{ justifyContent:'center', alignItems:'center' }}>
|
|
38
38
|
<Image
|
|
@@ -41,29 +41,29 @@ const BasicStatus = ({ onVerify, code_details, player, onClose }:BasicStatusProp
|
|
|
41
41
|
resizeMode='cover'
|
|
42
42
|
/>
|
|
43
43
|
</View>
|
|
44
|
-
<View style={{ padding:10,
|
|
44
|
+
<View style={{ padding:10, marginTop:-100 }}>
|
|
45
45
|
<View style={{ padding:10, flexDirection:'row' }}>
|
|
46
|
-
<Icons.CheckCirlceIcon color={
|
|
46
|
+
<Icons.CheckCirlceIcon color={C.text.success} size={32}/>
|
|
47
47
|
<View style={{ flex:1, marginLeft:20 }}>
|
|
48
|
-
<Text
|
|
49
|
-
<Text style={{ marginTop:5 }}
|
|
48
|
+
<Text theme='h1'>FREE TO PLAY - ENGAGED!</Text>
|
|
49
|
+
<Text style={{ marginTop:5 }} theme='h2'>Your profile is ready to go for play money betting and all our FREE TO PLAY games.</Text>
|
|
50
50
|
</View>
|
|
51
51
|
</View>
|
|
52
52
|
{player.vouched_status != 'verified' ?
|
|
53
53
|
<View style={{ padding:10, flexDirection:'row' }}>
|
|
54
|
-
<Icons.AlertIcon color={
|
|
54
|
+
<Icons.AlertIcon color={C.text.warning} size={32}/>
|
|
55
55
|
<View style={{ flex:1, marginLeft:20 }}>
|
|
56
56
|
|
|
57
|
-
<Text
|
|
57
|
+
<Text theme='h1'>WANT TO USE REAL MONEY?</Text>
|
|
58
58
|
{errors.length == 0 ?
|
|
59
|
-
<Text style={{ marginTop:5 }}
|
|
59
|
+
<Text style={{ marginTop:5 }} theme='description'>Continue on your journey and complete the verification steps in just a couple minutes.</Text>
|
|
60
60
|
:
|
|
61
61
|
<View style={{ marginTop:5 }}>
|
|
62
|
-
<Text size={14}
|
|
62
|
+
<Text size={14} theme='warning'>FIX THE FOLLOWING BEFORE CONTINUING</Text>
|
|
63
63
|
<View style={{ padding:10 }}>
|
|
64
64
|
{errors.map((e,i) => {
|
|
65
65
|
return (
|
|
66
|
-
<Text style={{ padding:2 }}
|
|
66
|
+
<Text style={{ padding:2 }} theme='warning'>{i+1} - {e}</Text>
|
|
67
67
|
)
|
|
68
68
|
})}
|
|
69
69
|
</View>
|
|
@@ -73,44 +73,40 @@ const BasicStatus = ({ onVerify, code_details, player, onClose }:BasicStatusProp
|
|
|
73
73
|
</View>
|
|
74
74
|
:
|
|
75
75
|
<View style={{ padding:10, flexDirection:'row' }}>
|
|
76
|
-
<Icons.CheckCirlceIcon color={
|
|
76
|
+
<Icons.CheckCirlceIcon color={C.text.success} size={32}/>
|
|
77
77
|
<View style={{ flex:1, marginLeft:20 }}>
|
|
78
|
-
<Text
|
|
79
|
-
<Text style={{ marginTop:5 }}
|
|
78
|
+
<Text theme='h1'>REAL MONEY - ENGAGED!</Text>
|
|
79
|
+
<Text style={{ marginTop:5 }} theme='h2'>Way to go! Your profile is ready to go for real-money activities!</Text>
|
|
80
80
|
</View>
|
|
81
81
|
</View>
|
|
82
82
|
}
|
|
83
83
|
</View>
|
|
84
84
|
</ScrollView>
|
|
85
85
|
{code_request && !['closed','fulfilled'].includes(code_request.status) && promo ?
|
|
86
|
-
<View style={{ margin:15, marginTop:-50, flexDirection:'row'
|
|
87
|
-
<View style={{ padding:10, justifyContent:'center' }}>
|
|
88
|
-
<Icons.GiftIcon size={40} color={
|
|
86
|
+
<View float style={{ margin:15, marginTop:-50, flexDirection:'row' }}>
|
|
87
|
+
<View transparent style={{ padding:10, justifyContent:'center' }}>
|
|
88
|
+
<Icons.GiftIcon size={40} color={C.text.gold} />
|
|
89
89
|
</View>
|
|
90
|
-
<View style={{flex:1,
|
|
91
|
-
<Text
|
|
92
|
-
<Text style={{ paddingTop:5 }}
|
|
90
|
+
<View transparent style={{flex:1, padding:10 }}>
|
|
91
|
+
<Text theme='h1'>Verify to claim your gift!</Text>
|
|
92
|
+
<Text style={{ paddingTop:5 }} theme='h2'>Did you know on average it only takes 3 minutes to complete the verification process?</Text>
|
|
93
93
|
</View>
|
|
94
94
|
</View>
|
|
95
95
|
:<></>}
|
|
96
|
+
|
|
96
97
|
{player.vouched_status != 'verified' ?
|
|
97
98
|
<View nativeID='action_row' style={{ flexDirection:'row', padding:10 }}>
|
|
98
99
|
<Button
|
|
99
100
|
title='DO IT LATER'
|
|
100
101
|
style={{ flex:3, marginRight:5 }}
|
|
101
|
-
|
|
102
|
-
borderWidth={1}
|
|
103
|
-
borderColor={Colors.brand.electric}
|
|
104
|
-
title_color={Colors.brand.electric}
|
|
102
|
+
type='close'
|
|
105
103
|
onPress={() => onClose()}
|
|
106
104
|
/>
|
|
107
105
|
<Button
|
|
108
106
|
title='VERIFY ACCOUNT'
|
|
109
107
|
style={{ flex:5, opacity: errors.length > 0 ? 0.5 : 1 }}
|
|
110
|
-
padding={15}
|
|
111
108
|
disabled={errors.length > 0}
|
|
112
|
-
|
|
113
|
-
title_color={Colors.shades.white}
|
|
109
|
+
type='success'
|
|
114
110
|
onPress={() => onVerify()}
|
|
115
111
|
/>
|
|
116
112
|
</View>
|
|
@@ -119,10 +115,7 @@ const BasicStatus = ({ onVerify, code_details, player, onClose }:BasicStatusProp
|
|
|
119
115
|
<Button
|
|
120
116
|
title='CLOSE'
|
|
121
117
|
style={{ flex:3, marginRight:5 }}
|
|
122
|
-
|
|
123
|
-
borderWidth={1}
|
|
124
|
-
borderColor={Colors.brand.electric}
|
|
125
|
-
title_color={Colors.brand.electric}
|
|
118
|
+
type='close'
|
|
126
119
|
onPress={() => onClose()}
|
|
127
120
|
/>
|
|
128
121
|
</View>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import { ActivityIndicator,
|
|
3
|
-
import {
|
|
4
|
-
import Colors from '../../constants/colors';
|
|
2
|
+
import { ActivityIndicator, Image } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
5
4
|
import { ProfileApi, ProfileHelpers } from '../api';
|
|
6
5
|
import type { CodeRequestProps, MyPlayerProps, PlayerReferralProps, PromoProps, PublicPlayerProps, RewardOptionProps } from '../../types';
|
|
6
|
+
import { Button, Text, TextInput, View } from '../../Components/Themed';
|
|
7
|
+
import { useColors } from '../../constants/useColors';
|
|
7
8
|
|
|
8
9
|
type CodeRedeemProps = {
|
|
9
10
|
player:MyPlayerProps,
|
|
@@ -20,6 +21,7 @@ type CodeRedeemProps = {
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemProps) => {
|
|
24
|
+
const C = useColors();
|
|
23
25
|
const [ loading, setLoading ] = useState(false);
|
|
24
26
|
const [ show_reward, setShowReward ] = useState(false);
|
|
25
27
|
const [ action_loading, setActionLoading ] = useState(false);
|
|
@@ -73,7 +75,7 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
73
75
|
|
|
74
76
|
if(loading){
|
|
75
77
|
return (
|
|
76
|
-
<ActivityIndicator size='large' color={
|
|
78
|
+
<ActivityIndicator size='large' color={C.text.h1} style={{ padding:40, alignSelf:'center' }} />
|
|
77
79
|
)
|
|
78
80
|
}
|
|
79
81
|
|
|
@@ -81,80 +83,79 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
81
83
|
const try_allowed = draft_code ? true : false
|
|
82
84
|
const change_allowed = !loading && ProfileHelpers.isChangeCodeAllowed(code_request) ? true : false
|
|
83
85
|
return (
|
|
84
|
-
<View style={{
|
|
85
|
-
<View style={{
|
|
86
|
+
<View style={{ flexGrow:1 }}>
|
|
87
|
+
<View style={{ flexGrow:1, padding:20 }}>
|
|
86
88
|
<View style={{ padding:20 }}>
|
|
87
|
-
<Text size={30}
|
|
88
|
-
<Text style={{ marginTop:15 }} size={16}
|
|
89
|
+
<Text size={30} theme='h1'>How Did You Find Us?</Text>
|
|
90
|
+
<Text style={{ marginTop:15 }} size={16} theme='h2'>All new players are eligible for a one-time sign up bonus. Below is the code / referrer used during sign up.</Text>
|
|
89
91
|
</View>
|
|
90
92
|
<View style={{ padding:10, marginTop:20 }}>
|
|
91
|
-
<Text size={20}
|
|
92
|
-
<View style={{ marginTop:20,
|
|
93
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
93
|
+
<Text size={20} theme='h1' textAlign='center'>CODE USED</Text>
|
|
94
|
+
<View type='input' style={{ marginTop:20, flexDirection:'row', alignItems:'center' }}>
|
|
95
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
94
96
|
<Icons.USDIcon
|
|
95
|
-
color={
|
|
97
|
+
color={C.text.h1}
|
|
96
98
|
size={18}
|
|
97
99
|
/>
|
|
98
100
|
</View>
|
|
99
101
|
<TextInput
|
|
100
102
|
value={draft_code}
|
|
101
|
-
style={{ flex:1,
|
|
103
|
+
style={{ flex:1, textAlign: 'center' }}
|
|
102
104
|
placeholder='Add Code Here'
|
|
103
105
|
editable={change_allowed}
|
|
104
|
-
|
|
106
|
+
transparent
|
|
105
107
|
onChangeText={(text) => setDraftCode(text)}
|
|
106
108
|
/>
|
|
107
|
-
<View style={{ paddingLeft:15, paddingRight:15 }}>
|
|
109
|
+
<View transparent style={{ paddingLeft:15, paddingRight:15 }}>
|
|
108
110
|
{loading ?
|
|
109
|
-
<ActivityIndicator size='small' color={
|
|
111
|
+
<ActivityIndicator size='small' color={C.text.h1}/>
|
|
110
112
|
:
|
|
111
113
|
<View>
|
|
112
114
|
{ !is_changed && code_request ?
|
|
113
|
-
<Icons.CheckIcon size={16} color={
|
|
115
|
+
<Icons.CheckIcon size={16} color={C.text.success} />
|
|
114
116
|
: !code_error ?
|
|
115
|
-
<Icons.AlertIcon size={16} color={
|
|
117
|
+
<Icons.AlertIcon size={16} color={C.text.warning} />
|
|
116
118
|
:
|
|
117
|
-
<Icons.CloseIcon size={14} color={
|
|
119
|
+
<Icons.CloseIcon size={14} color={C.text.error} />
|
|
118
120
|
}
|
|
119
121
|
</View>
|
|
120
122
|
}
|
|
121
123
|
</View>
|
|
122
124
|
</View>
|
|
123
125
|
{code_error ?
|
|
124
|
-
<Text style={{ padding:5 }}
|
|
126
|
+
<Text style={{ padding:5 }} theme='error' textAlign='center'>{code_error}</Text>
|
|
125
127
|
:<></>}
|
|
126
128
|
{is_changed ?
|
|
127
129
|
<Button
|
|
128
130
|
title='Apply Code'
|
|
129
131
|
style={{ marginTop:20, opacity:try_allowed?1:0.5 }}
|
|
130
132
|
disabled={!try_allowed}
|
|
131
|
-
padding={15}
|
|
132
133
|
onPress={() => handleTryCodeRequest()}
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
type='success'
|
|
135
|
+
|
|
135
136
|
/>
|
|
136
137
|
:<></>}
|
|
137
138
|
{false ?
|
|
138
|
-
<Text
|
|
139
|
+
<Text theme='warning'>{'ERROR GOES HERE'}</Text>
|
|
139
140
|
:<></>}
|
|
140
141
|
</View>
|
|
141
142
|
{!reward_option ?
|
|
142
|
-
<View style={{ padding:10, marginTop:20 }}>
|
|
143
|
-
<Text size={20} weight='bold' textAlign='center'
|
|
143
|
+
<View float style={{ padding:10, marginTop:20 }}>
|
|
144
|
+
<Text size={20} weight='bold' textAlign='center' theme='h1'>CODE OFFER</Text>
|
|
144
145
|
{promo ?
|
|
145
|
-
<View style={{ marginTop:20,
|
|
146
|
-
<Text style={{ marginTop:5 }}
|
|
146
|
+
<View transparent style={{ marginTop:20, borderRadius:8, padding:10 }}>
|
|
147
|
+
<Text style={{ marginTop:5 }} theme='description' textAlign='center'>{ProfileHelpers.getReferralDescription(promo)}</Text>
|
|
147
148
|
</View>
|
|
148
149
|
:<></>}
|
|
149
150
|
</View>
|
|
150
151
|
:
|
|
151
|
-
<View style={{ padding:10, marginTop:20 }}>
|
|
152
|
-
<Text size={20}
|
|
152
|
+
<View float style={{ padding:10, marginTop:20 }}>
|
|
153
|
+
<Text size={20} theme='h1' textAlign='center'>CODE REDEEMED</Text>
|
|
153
154
|
{reward_option ?
|
|
154
|
-
<View style={{ marginTop:10,
|
|
155
|
-
<Text size={14}
|
|
155
|
+
<View transparent style={{ marginTop:10, padding:10, borderRadius:8 }}>
|
|
156
|
+
<Text size={14} theme='h2'>AWARDED: {reward_option.reward_name}</Text>
|
|
156
157
|
{code_request && promo && ['referral_sweepstakes','referral_code'].includes(promo.type) ?
|
|
157
|
-
<Text style={{ marginTop:10 }}
|
|
158
|
+
<Text style={{ marginTop:10 }} theme='h2'>KICKBACK STATUS: {code_request.status == 'fulfilled' ? 'Referrer will get the same reward amount after you make your first deposit': 'Kickback received'}</Text>
|
|
158
159
|
:<></>}
|
|
159
160
|
</View>
|
|
160
161
|
:<></>}
|
|
@@ -162,7 +163,7 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
162
163
|
}
|
|
163
164
|
</View>
|
|
164
165
|
{referrer ?
|
|
165
|
-
<View style={{ margin:
|
|
166
|
+
<View float style={{ margin:20, padding:5 }}>
|
|
166
167
|
<View nativeID='referrer_details' style={{ flexDirection:'row', padding:5}}>
|
|
167
168
|
<Image
|
|
168
169
|
source={{ uri:referrer.profile_pic }}
|
|
@@ -170,8 +171,8 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
170
171
|
resizeMode='cover'
|
|
171
172
|
/>
|
|
172
173
|
<View style={{ flex:1, marginLeft:20 }}>
|
|
173
|
-
<Text size={16}
|
|
174
|
-
<Text style={{ marginTop:5 }}
|
|
174
|
+
<Text size={16} theme='h1'>Referred By: {referrer.first_name} {referrer.last_name}</Text>
|
|
175
|
+
<Text style={{ marginTop:5 }} theme='description'>@{referrer.username}</Text>
|
|
175
176
|
</View>
|
|
176
177
|
</View>
|
|
177
178
|
</View>
|
|
@@ -180,28 +181,21 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
180
181
|
<Button
|
|
181
182
|
title={walkthrough ? 'SKIP' : 'CLOSE'}
|
|
182
183
|
style={{ flex:1, marginRight:5 }}
|
|
183
|
-
|
|
184
|
-
title_color={Colors.brand.electric}
|
|
185
|
-
borderWidth={1}
|
|
186
|
-
padding={15}
|
|
184
|
+
type='close'
|
|
187
185
|
onPress={() => onClose()}
|
|
188
186
|
/>
|
|
189
187
|
{code_request?.status == 'requested' ?
|
|
190
188
|
<Button
|
|
191
189
|
title='VERIFY MY ACCOUNT'
|
|
192
190
|
style={{ flex:3 }}
|
|
193
|
-
|
|
194
|
-
title_color={Colors.shades.white}
|
|
195
|
-
padding={15}
|
|
191
|
+
type='success'
|
|
196
192
|
onPress={() => onVerify()}
|
|
197
193
|
/>
|
|
198
194
|
:code_request?.status == 'verified' ?
|
|
199
195
|
<Button
|
|
200
196
|
title='REDEEM CODE'
|
|
201
197
|
style={{ flex:3 }}
|
|
202
|
-
|
|
203
|
-
title_color={Colors.shades.white}
|
|
204
|
-
padding={15}
|
|
198
|
+
type='success'
|
|
205
199
|
onPress={() => handleRedeemCode()}
|
|
206
200
|
/>
|
|
207
201
|
:
|
|
@@ -209,34 +203,30 @@ const CodeRedeem = ({ walkthrough, onVerify, onClose, onRedeemCode }:CodeRedeemP
|
|
|
209
203
|
title='CODE REDEEMED'
|
|
210
204
|
style={{ flex:3 }}
|
|
211
205
|
disabled
|
|
212
|
-
|
|
213
|
-
title_color={Colors.shades.white}
|
|
214
|
-
padding={15}
|
|
206
|
+
type='info'
|
|
215
207
|
onPress={() => console.log('REDEEMED!!!')}
|
|
216
208
|
/>
|
|
217
209
|
}
|
|
218
210
|
</View>
|
|
219
211
|
{show_reward ?
|
|
220
|
-
<View style={{ position:'absolute', top:0, left:0, right:0, bottom:0,
|
|
221
|
-
<View style={{
|
|
212
|
+
<View type='blur' style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center' }}>
|
|
213
|
+
<View float style={{ padding:20, minWidth:250, minHeight:200 }}>
|
|
222
214
|
{reward_option ?
|
|
223
|
-
<View>
|
|
224
|
-
<Text size={14}
|
|
225
|
-
<Text style={{ marginTop:10 }} size={30}
|
|
226
|
-
<Text style={{ marginTop:10 }} size={14}
|
|
215
|
+
<View transparent>
|
|
216
|
+
<Text size={14} theme='h1' textAlign='center'>CONGRATULATIONS!</Text>
|
|
217
|
+
<Text style={{ marginTop:10 }} size={30} theme='success' weight='bold' textAlign='center'>{reward_option.reward_name}</Text>
|
|
218
|
+
<Text style={{ marginTop:10 }} size={14} theme='description' textAlign='center'>AWARD RECEIVED</Text>
|
|
227
219
|
<Button
|
|
228
220
|
title='CLOSE'
|
|
229
|
-
title_color={Colors.shades.white}
|
|
230
221
|
style={{ marginTop:20 }}
|
|
231
|
-
|
|
232
|
-
backgroundColor={Colors.brand.electric}
|
|
222
|
+
type='close'
|
|
233
223
|
onPress={() => setShowReward(false)}
|
|
234
224
|
/>
|
|
235
225
|
</View>
|
|
236
226
|
:
|
|
237
227
|
<View>
|
|
238
|
-
<Text size={14}
|
|
239
|
-
<ActivityIndicator size='large' color={
|
|
228
|
+
<Text size={14} theme='h1' textAlign='center'>GETTING YOUR REWARD...</Text>
|
|
229
|
+
<ActivityIndicator size='large' color={C.text.h1} style={{alignSelf:'center', marginTop:20 }}/>
|
|
240
230
|
</View>
|
|
241
231
|
}
|
|
242
232
|
</View>
|