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,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Icons } from "../../Components";
|
|
2
2
|
import type { EventProps, PlayerSquareProps, SquareOfferProps, SquareProps, SquareResultProps, SquaresCompetitionProps } from "../../types"
|
|
3
|
-
import {
|
|
3
|
+
import { FlatList, Image, ScrollView, Platform } from 'react-native';
|
|
4
4
|
import SquareCard from "./SquareCard";
|
|
5
5
|
import Countdown from './Countdown';
|
|
6
6
|
import { SqauresHelpers } from "../api";
|
|
7
|
-
import Colors from "../../constants/colors";
|
|
8
|
-
import { view_styles } from "../../constants/styles";
|
|
9
7
|
import React, { useState } from "react";
|
|
10
8
|
import moment from "moment-mini";
|
|
9
|
+
import { Button, Text, View } from "../../Components/Themed";
|
|
10
|
+
import { useColors } from "../../constants/useColors";
|
|
11
11
|
|
|
12
12
|
type SquaresBoardProps = {
|
|
13
13
|
squares_competition:SquaresCompetitionProps,
|
|
@@ -28,6 +28,7 @@ type SquaresBoardProps = {
|
|
|
28
28
|
const SquaresBoard = ({
|
|
29
29
|
player_id, event, square_bids, draft_square_offers, squares_competition, player_square_history, square_offers, squares, player_squares, onRefreshCompetition, onSquareBid, onSquareOffer
|
|
30
30
|
}:SquaresBoardProps) => {
|
|
31
|
+
const C = useColors();
|
|
31
32
|
const [ expanded, setExpanded ] = useState(true);
|
|
32
33
|
const [ times_up, setTimesUp ] = useState(false);
|
|
33
34
|
const [ refresh_allowed, setRefreshAllowed ] = useState(false);
|
|
@@ -57,7 +58,7 @@ const SquaresBoard = ({
|
|
|
57
58
|
}
|
|
58
59
|
const event_status = SqauresHelpers.getCompStatus(event, squares_competition);
|
|
59
60
|
return (
|
|
60
|
-
<View>
|
|
61
|
+
<View transparent>
|
|
61
62
|
<SquareCard
|
|
62
63
|
player_id={player_id}
|
|
63
64
|
square={data.item}
|
|
@@ -78,7 +79,7 @@ const SquaresBoard = ({
|
|
|
78
79
|
const renderYSquares = (data: { item:number, index:number }) => {
|
|
79
80
|
const x_squares = squares.filter(s => s.square_score_y == data.item);
|
|
80
81
|
return (
|
|
81
|
-
<View>
|
|
82
|
+
<View transparent>
|
|
82
83
|
<FlatList
|
|
83
84
|
data={x_squares.sort((a,b) => a.square_score_x - b.square_score_x)}
|
|
84
85
|
horizontal
|
|
@@ -99,18 +100,18 @@ const SquaresBoard = ({
|
|
|
99
100
|
if(squares_competition.guaranteed_payout && squares_competition.guaranteed_payout > total_payout){ total_payout = squares_competition.guaranteed_payout }
|
|
100
101
|
|
|
101
102
|
return (
|
|
102
|
-
<View style={{
|
|
103
|
-
<
|
|
104
|
-
<Icons.SquaresIcon size={18} color={
|
|
105
|
-
<View style={{ flex:1, marginLeft:10 }}>
|
|
106
|
-
<Text theme="
|
|
107
|
-
<Text style={{ marginTop:3 }} theme="
|
|
103
|
+
<View float style={{ minWidth:350, maxWidth:600 }}>
|
|
104
|
+
<Button transparent style={{ flexDirection:'row', alignItems:'center' }} onPress={() => setExpanded(!expanded)}>
|
|
105
|
+
<Icons.SquaresIcon size={18} color={C.text.h1} />
|
|
106
|
+
<View transparent style={{ flex:1, marginLeft:10 }}>
|
|
107
|
+
<Text theme="h1">SQUARES BOARD</Text>
|
|
108
|
+
<Text style={{ marginTop:3 }} theme="description">Bid, buy, sell squares using the board below.</Text>
|
|
108
109
|
</View>
|
|
109
|
-
<View style={{ paddingLeft:10, paddingRight:10 }}>
|
|
110
|
-
<Text size={14}
|
|
110
|
+
<View transparent style={{ paddingLeft:10, paddingRight:10 }}>
|
|
111
|
+
<Text size={14} theme="success" weight='bold'>${total_payout.toFixed(2)}</Text>
|
|
111
112
|
</View>
|
|
112
|
-
<Icons.ChevronIcon direction={expanded?'up':'down'} color={
|
|
113
|
-
<View style={{ position:'absolute', top:0, left:10, bottom:0, justifyContent:'center' }}>
|
|
113
|
+
<Icons.ChevronIcon direction={expanded?'up':'down'} color={C.text.h1} size={8} />
|
|
114
|
+
<View transparent style={{ position:'absolute', top:0, left:10, bottom:0, justifyContent:'center' }}>
|
|
114
115
|
<Countdown
|
|
115
116
|
end_datetime={moment(squares_competition.begin_datetime)}
|
|
116
117
|
label={'Auction ends in'}
|
|
@@ -122,21 +123,21 @@ const SquaresBoard = ({
|
|
|
122
123
|
}}
|
|
123
124
|
/>
|
|
124
125
|
</View>
|
|
125
|
-
</
|
|
126
|
+
</Button>
|
|
126
127
|
{expanded ?
|
|
127
|
-
<View style={{
|
|
128
|
+
<View transparent style={{ flex:1 }} nativeID="board">
|
|
128
129
|
<ScrollView horizontal style={{ flexDirection:'row', marginLeft:20 }}>
|
|
129
|
-
<View>
|
|
130
|
-
<View style={{ flexDirection:'row', marginLeft:4 }}>
|
|
130
|
+
<View transparent>
|
|
131
|
+
<View transparent style={{ flexDirection:'row', marginLeft:4 }}>
|
|
131
132
|
{unique_score_y.map(num => {
|
|
132
133
|
return (
|
|
133
|
-
<View key={`y_${num}`} style={{ margin:3, justifyContent:'center', alignItems:'center', height:20, width:40, backgroundColor:'transparent' }}>
|
|
134
|
-
<Text theme="
|
|
134
|
+
<View transparent key={`y_${num}`} style={{ margin:3, justifyContent:'center', alignItems:'center', height:20, width:40, backgroundColor:'transparent' }}>
|
|
135
|
+
<Text theme="h2" textAlign="center">{num}</Text>
|
|
135
136
|
</View>
|
|
136
137
|
)
|
|
137
138
|
})}
|
|
138
139
|
</View>
|
|
139
|
-
<View style={{
|
|
140
|
+
<View transparent style={{ padding:2, borderRadius:8, marginLeft:2 }}>
|
|
140
141
|
<FlatList
|
|
141
142
|
data={unique_score_y}
|
|
142
143
|
renderItem={renderYSquares}
|
|
@@ -146,23 +147,23 @@ const SquaresBoard = ({
|
|
|
146
147
|
</View>
|
|
147
148
|
</View>
|
|
148
149
|
</ScrollView>
|
|
149
|
-
<View style={{ position:'absolute', top: 47,left:20, backgroundColor:'transparent' }}>
|
|
150
|
+
<View transparent style={{ position:'absolute', top: 47,left:20, backgroundColor:'transparent' }}>
|
|
150
151
|
{unique_score_y.map(num => {
|
|
151
152
|
return (
|
|
152
153
|
<View key={`x_${num}`} style={{ margin:3, justifyContent:'center', alignItems:'center', height:40, width:20, backgroundColor:'transparent' }}>
|
|
153
|
-
<Text theme='
|
|
154
|
+
<Text theme='h2'>{num}</Text>
|
|
154
155
|
</View>
|
|
155
156
|
)
|
|
156
157
|
})}
|
|
157
158
|
</View>
|
|
158
159
|
{event && event.home ?
|
|
159
|
-
<View style={{ position:'absolute', top:4, left:0, right:0, justifyContent:'center', alignItems:'center' }}>
|
|
160
|
-
<Text theme="
|
|
160
|
+
<View transparent style={{ position:'absolute', top:4, left:0, right:0, justifyContent:'center', alignItems:'center' }}>
|
|
161
|
+
<Text theme="h2">{event.home.market_name} {event.home.name}</Text>
|
|
161
162
|
</View>
|
|
162
163
|
:<></>}
|
|
163
164
|
{event && event.away ?
|
|
164
|
-
<View style={{ position:'absolute', top:0, left:4, bottom:0, justifyContent:'center' }}>
|
|
165
|
-
<View style={{ width: TEXT_HEIGHT, height: TEXT_LENGTH }}>
|
|
165
|
+
<View transparent style={{ position:'absolute', top:0, left:4, bottom:0, justifyContent:'center' }}>
|
|
166
|
+
<View transparent style={{ width: TEXT_HEIGHT, height: TEXT_LENGTH }}>
|
|
166
167
|
<Text
|
|
167
168
|
textAlign="center"
|
|
168
169
|
style={{
|
|
@@ -174,7 +175,7 @@ const SquaresBoard = ({
|
|
|
174
175
|
width: TEXT_LENGTH,
|
|
175
176
|
height: TEXT_HEIGHT
|
|
176
177
|
}}
|
|
177
|
-
theme="
|
|
178
|
+
theme="h2"
|
|
178
179
|
>
|
|
179
180
|
{away_name}
|
|
180
181
|
</Text>
|
|
@@ -182,29 +183,25 @@ const SquaresBoard = ({
|
|
|
182
183
|
</View>
|
|
183
184
|
:<></>}
|
|
184
185
|
{times_up ?
|
|
185
|
-
<View style={{ position:'absolute', top:0, left:0, right:0, bottom:0,
|
|
186
|
-
<View style={{
|
|
187
|
-
<View style={{
|
|
188
|
-
<Text theme="
|
|
186
|
+
<View type='blur' transparent style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center' }}>
|
|
187
|
+
<View transparent style={{ width:250, height:250 }}>
|
|
188
|
+
<View transparent style={{ justifyContent:'center' }}>
|
|
189
|
+
<Text theme="h1">AUCTION HAS ENDED</Text>
|
|
189
190
|
</View>
|
|
190
|
-
<View style={{
|
|
191
|
+
<View transparent style={{ justifyContent:'center', alignItems:'center'}}>
|
|
191
192
|
<Image
|
|
192
193
|
source={{ uri : squares_competition.image?.url }}
|
|
193
194
|
style={{ height:75, width:75, borderRadius:4, marginBottom:20 }}
|
|
194
195
|
resizeMode="cover"
|
|
195
196
|
/>
|
|
196
|
-
<Text size={14} color={
|
|
197
|
+
<Text size={14} color={C.text.h1} weight='semibold' textAlign="center">Assigning unbid squares based on board ownership % ...</Text>
|
|
197
198
|
</View>
|
|
198
|
-
<View style={{
|
|
199
|
+
<View type='footer' style={{ flexDirection:'row', alignItems:'center' }}>
|
|
199
200
|
<Button
|
|
200
201
|
title="SEE FINAL BOARD"
|
|
201
202
|
style={{ flex:1, opacity:refresh_allowed?1:0.5 }}
|
|
202
203
|
disabled={!refresh_allowed}
|
|
203
|
-
|
|
204
|
-
borderRadius={8}
|
|
205
|
-
borderWidth={1}
|
|
206
|
-
borderColor={Colors.brand.electric}
|
|
207
|
-
backgroundColor={Colors.shades.white}
|
|
204
|
+
type='close'
|
|
208
205
|
onPress={() => {
|
|
209
206
|
setRefreshAllowed(false);
|
|
210
207
|
onRefreshCompetition();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TouchableOpacity, View } from "react-native"
|
|
2
1
|
import type { SquaresCompetitionProps, SquaresPayoutProps, SquaresTypeProps } from "../../types"
|
|
3
2
|
import { view_styles } from "../../constants/styles"
|
|
4
|
-
import { Icons
|
|
5
|
-
import Colors from "../../constants/colors"
|
|
3
|
+
import { Icons } from "../../Components"
|
|
6
4
|
import React, { useState } from "react"
|
|
5
|
+
import { Button, Text, View } from "../../Components/Themed"
|
|
6
|
+
import { useColors } from "../../constants/useColors"
|
|
7
7
|
|
|
8
8
|
type SquaresDetailsProps = {
|
|
9
9
|
squares_competition:SquaresCompetitionProps,
|
|
@@ -12,38 +12,39 @@ type SquaresDetailsProps = {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const SquaresDetails = ({ squares_competition, squares_type, squares_payout_type }:SquaresDetailsProps) => {
|
|
15
|
+
const C = useColors();
|
|
15
16
|
const [ expanded, setExpanded ] = useState(false);
|
|
16
17
|
return (
|
|
17
|
-
<View nativeID="competition_details" style={{
|
|
18
|
-
<
|
|
19
|
-
<Icons.SettingsIcon size={18} color={
|
|
20
|
-
<View style={{ flex:1, marginLeft:10 }}>
|
|
21
|
-
<Text theme="
|
|
22
|
-
<Text style={{ marginTop: 4 }} theme="
|
|
18
|
+
<View float nativeID="competition_details" style={{ minWidth:350 }}>
|
|
19
|
+
<Button transparent style={{ flexDirection:'row', alignItems:'center' }} onPress={() => setExpanded(!expanded)}>
|
|
20
|
+
<Icons.SettingsIcon size={18} color={C.text.h1} />
|
|
21
|
+
<View transparent style={{ flex:1, marginLeft:10 }}>
|
|
22
|
+
<Text theme="h1">COMPETITION DETAILS</Text>
|
|
23
|
+
<Text style={{ marginTop: 4 }} theme="description">Detailed Information on this competition</Text>
|
|
23
24
|
</View>
|
|
24
|
-
<Icons.ChevronIcon direction={expanded?'up':'down'} color={
|
|
25
|
-
</
|
|
25
|
+
<Icons.ChevronIcon direction={expanded?'up':'down'} color={C.text.h1} size={8} />
|
|
26
|
+
</Button>
|
|
26
27
|
{expanded ?
|
|
27
|
-
<View style={{
|
|
28
|
+
<View transparent style={{ padding:20 }}>
|
|
28
29
|
{squares_type ?
|
|
29
|
-
<View style={view_styles.body_row}>
|
|
30
|
-
<Text style={{flex:1}} theme="
|
|
31
|
-
<Text theme="
|
|
30
|
+
<View transparent style={view_styles.body_row}>
|
|
31
|
+
<Text style={{flex:1}} theme="description">Type</Text>
|
|
32
|
+
<Text theme="h2">{squares_type.sq_type_name}</Text>
|
|
32
33
|
</View>
|
|
33
34
|
:<></>}
|
|
34
|
-
<View style={view_styles.body_row}>
|
|
35
|
-
<Text style={{flex:1}} theme="
|
|
36
|
-
<Text theme="
|
|
35
|
+
<View transparent style={view_styles.body_row}>
|
|
36
|
+
<Text style={{flex:1}} theme="description">Initial Square Price</Text>
|
|
37
|
+
<Text theme="h2">${squares_competition.minimum_square_price.toFixed(2)}</Text>
|
|
37
38
|
</View>
|
|
38
39
|
{squares_payout_type ?
|
|
39
|
-
<View style={view_styles.body_row}>
|
|
40
|
-
<Text style={{flex:1}} theme="
|
|
41
|
-
<Text theme="
|
|
40
|
+
<View transparent style={view_styles.body_row}>
|
|
41
|
+
<Text style={{flex:1}} theme="description">Payout</Text>
|
|
42
|
+
<Text theme="h2">{squares_payout_type.sq_payout_name.toUpperCase()}</Text>
|
|
42
43
|
</View>
|
|
43
44
|
:<></>}
|
|
44
|
-
<View style={view_styles.body_row}>
|
|
45
|
-
<Text style={{flex:1}} theme="
|
|
46
|
-
<Text theme="
|
|
45
|
+
<View transparent style={view_styles.body_row}>
|
|
46
|
+
<Text style={{flex:1}} theme="description">Payout Frequency</Text>
|
|
47
|
+
<Text theme="h2">{squares_competition.payout_frequency} Quarters</Text>
|
|
47
48
|
</View>
|
|
48
49
|
</View>
|
|
49
50
|
:<></>}
|