be-components 3.3.5 → 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 +65 -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 +50 -48
- 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 +5 -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 +6 -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 +5 -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 +18 -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 +54 -57
- 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,18 +1,19 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Image } from 'react-native';
|
|
3
3
|
import type { BestAvailableOrderProps, EventOrderStatProps, EventProps, MarketProps, MarketSideOptionProps, OrderProps, TradeProps } from '../../../types';
|
|
4
4
|
import { MarketButtonHelpers } from '../MarketButton/api';
|
|
5
5
|
import MarketButton from '../../components/MarketButton';
|
|
6
|
-
import { Icons, LinearDiagnal
|
|
7
|
-
import Colors from '../../../constants/colors';
|
|
8
|
-
import { view_styles } from '../../../constants/styles';
|
|
6
|
+
import { Icons, LinearDiagnal } from '../../../Components';
|
|
9
7
|
import { TeamEventMarketHelpers } from '../TeamEventMarket/api';
|
|
10
8
|
import { MarketComponentHelpers } from '../../api';
|
|
9
|
+
import { Button, Text, View } from '../../../Components/Themed';
|
|
10
|
+
import { useColors } from '../../../constants/useColors';
|
|
11
11
|
|
|
12
12
|
type EventMarketProps = {
|
|
13
13
|
event:EventProps,
|
|
14
14
|
width?:number,
|
|
15
15
|
market:MarketProps,
|
|
16
|
+
float?:boolean,
|
|
16
17
|
hide_market_banner?:boolean,
|
|
17
18
|
latest_trades:TradeProps[],
|
|
18
19
|
hide_liquidity?:boolean,
|
|
@@ -27,12 +28,8 @@ type EventMarketProps = {
|
|
|
27
28
|
onTradeLongPress:(trade:TradeProps) => void
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
const EventMarket = ({
|
|
31
|
-
|
|
32
|
-
if(style){
|
|
33
|
-
set_style = style
|
|
34
|
-
}
|
|
35
|
-
|
|
31
|
+
const EventMarket = ({ event, float, style, direction, hide_liquidity, market, latest_trades, best_available_orders, hide_market_banner, event_order_stats, show_grades, default_price_view, onOrder, onView, onTradeLongPress }:EventMarketProps) => {
|
|
32
|
+
const C = useColors();
|
|
36
33
|
const { liquidity, open_order_count } = MarketComponentHelpers.getLiqudity(event_order_stats);
|
|
37
34
|
const is_locked = MarketComponentHelpers.isEventMarketLocked(event, market.market_id);
|
|
38
35
|
const renderSides = useCallback((data:{ item:MarketSideOptionProps, index:number, market:MarketProps }) => {
|
|
@@ -65,21 +62,20 @@ const EventMarket = ({ width, event, style, direction, hide_liquidity, market, l
|
|
|
65
62
|
</View>
|
|
66
63
|
)
|
|
67
64
|
},[JSON.stringify(best_available_orders)])
|
|
68
|
-
|
|
69
65
|
return (
|
|
70
|
-
<View style={
|
|
66
|
+
<View float={float} style={[{ borderRadius:8 }, style]}>
|
|
71
67
|
{!hide_market_banner ?
|
|
72
68
|
<LinearDiagnal
|
|
73
69
|
label={market.stat_label ?? market.type}
|
|
74
70
|
label_size={14}
|
|
75
|
-
style={{ borderTopLeftRadius:8, padding:5
|
|
76
|
-
left_color={
|
|
71
|
+
style={{ borderTopLeftRadius:8, padding:5 }}
|
|
72
|
+
left_color={C.text.gold}
|
|
77
73
|
right_color={'#ebd197'}
|
|
78
74
|
/>
|
|
79
75
|
:<></>}
|
|
80
|
-
<View style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column',
|
|
76
|
+
<View transparent style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:1 }}>
|
|
81
77
|
|
|
82
|
-
<View style={{
|
|
78
|
+
<View type='body' transparent style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:2, padding:0, justifyContent:'center', alignItems:'center' }}>
|
|
83
79
|
{direction != 'horizontal' ?
|
|
84
80
|
<View style={{flexDirection:'row', alignItems:'center'}}>
|
|
85
81
|
<Image
|
|
@@ -87,7 +83,7 @@ const EventMarket = ({ width, event, style, direction, hide_liquidity, market, l
|
|
|
87
83
|
style={{ height:50, width:50, marginRight:5 }}
|
|
88
84
|
resizeMode='cover'
|
|
89
85
|
/>
|
|
90
|
-
<Text theme='
|
|
86
|
+
<Text theme='description'>VS</Text>
|
|
91
87
|
<Image
|
|
92
88
|
source={{ uri: event.home?.image?.url }}
|
|
93
89
|
style={{ height:50, width:50, marginLeft:5 }}
|
|
@@ -95,12 +91,12 @@ const EventMarket = ({ width, event, style, direction, hide_liquidity, market, l
|
|
|
95
91
|
/>
|
|
96
92
|
</View>
|
|
97
93
|
:<></>}
|
|
98
|
-
<View style={{ padding:10, paddingBottom:0 }}>
|
|
99
|
-
<Text weight='bold'
|
|
100
|
-
<Text style={{ marginTop:3 }}
|
|
94
|
+
<View transparent style={{ padding:10, paddingBottom:0 }}>
|
|
95
|
+
<Text weight='bold' theme='h2' style={{ maxWidth:100 }} textAlign='center'>{event.event_title}</Text>
|
|
96
|
+
<Text style={{ marginTop:3 }} theme='light' textAlign='center' size={12}>{TeamEventMarketHelpers.getTimeDetail(event)}</Text>
|
|
101
97
|
</View>
|
|
102
98
|
</View>
|
|
103
|
-
<View nativeID='market_sides' style={{ flexDirection:'row', flexGrow:1, justifyContent:'flex-end', alignItems:'center', padding:10 }}>
|
|
99
|
+
<View transparent nativeID='market_sides' style={{ flexDirection:'row', flexGrow:1, justifyContent:'flex-end', alignItems:'center', padding:10 }}>
|
|
104
100
|
{market.side_options.sort((a,b) => {
|
|
105
101
|
let a_t = a.side == market.trade_side ? 1 : 0
|
|
106
102
|
let b_t = b.side == market.trade_side ? 1 : 0
|
|
@@ -112,30 +108,26 @@ const EventMarket = ({ width, event, style, direction, hide_liquidity, market, l
|
|
|
112
108
|
</View>
|
|
113
109
|
</View>
|
|
114
110
|
{!hide_liquidity ?
|
|
115
|
-
<View style={{
|
|
116
|
-
<
|
|
111
|
+
<View type='footer' style={{ flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
|
|
112
|
+
<Button transparent style={{ flexGrow:1, flexDirection:'row', padding:10 }} onPress={() => {
|
|
117
113
|
onView({
|
|
118
114
|
event_id: event.event_id,
|
|
119
115
|
event_type: 'team',
|
|
120
116
|
market_id: market.market_id
|
|
121
117
|
});
|
|
122
118
|
}}>
|
|
123
|
-
<View style={{
|
|
124
|
-
<Icons.LiquidityIcon color={
|
|
119
|
+
<View float style={{ height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center' }}>
|
|
120
|
+
<Icons.LiquidityIcon color={C.text.h1} size={30}/>
|
|
125
121
|
</View>
|
|
126
|
-
<View style={{ marginLeft:10 }}>
|
|
127
|
-
<Text theme='
|
|
128
|
-
<Text size={12} color={
|
|
122
|
+
<View transparent style={{ marginLeft:10 }}>
|
|
123
|
+
<Text theme='description'>Liquidity</Text>
|
|
124
|
+
<Text size={12} style={{ marginTop:3 }} color={C.text.highlight} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
|
|
129
125
|
</View>
|
|
130
|
-
</
|
|
126
|
+
</Button>
|
|
131
127
|
</View>
|
|
132
128
|
:<></>}
|
|
133
129
|
</View>
|
|
134
130
|
)
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
const styles = StyleSheet.create({
|
|
138
|
-
container_style: { ...view_styles.section, flexGrow:1, borderWidth:1, borderColor:Colors.shades.shade600 }
|
|
139
|
-
})
|
|
140
|
-
|
|
141
133
|
export default EventMarket
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import moment from "moment-mini";
|
|
2
|
-
import Colors from "../../../../constants/colors";
|
|
3
2
|
import type { BestAvailableOrderProps, MarketProps, MarketSideOptionProps, OrderProps, TradeProps } from "../../../../types";
|
|
4
3
|
import { MarketComponentHelpers } from "../../../api";
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
export const MarketButtonHelpers = {
|
|
8
|
-
getButtonLabel: (market:MarketProps, side_option:MarketSideOptionProps, trade:TradeProps) => {
|
|
7
|
+
getButtonLabel: (market:MarketProps, side_option:MarketSideOptionProps, trade:TradeProps, C:any) => {
|
|
9
8
|
let v_1 = MarketComponentHelpers.getVar1Label(market, trade.var_1, side_option.side);
|
|
10
9
|
let o_1 = MarketComponentHelpers.getOddsLabel(trade.odds);
|
|
11
|
-
return { var_1: v_1, odds:o_1, color: trade.draft_liquidity?
|
|
10
|
+
return { var_1: v_1, odds:o_1, color: trade.draft_liquidity? C.views.liquidMarket : C.views.illiquidMarket }
|
|
12
11
|
},
|
|
13
12
|
getVisibleTrade: (default_price_view:'best_available'|'last_trade', market:MarketProps, side_option:MarketSideOptionProps, latest_trades:TradeProps[], best_available_orders:BestAvailableOrderProps[], side_id:string, reversed_side_id:string) => {
|
|
14
13
|
const order = best_available_orders.find(o => o.market_id == market.market_id && o.side == side_option.side && o.show);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import Text from '../../../Components/Text';
|
|
2
|
+
import { ActivityIndicator } from "react-native"
|
|
4
3
|
import type { BestAvailableOrderProps, MarketProps, MarketSideOptionProps, OrderProps, TradeProps } from '../../../types';
|
|
5
|
-
import Colors from '../../../constants/colors';
|
|
6
4
|
import { MarketButtonHelpers } from './api';
|
|
7
5
|
import OrderGradeBar from '../OrderGradeBar';
|
|
8
6
|
import { Icons } from '../../../Components';
|
|
7
|
+
import { Button, Text, View } from '../../../Components/Themed';
|
|
8
|
+
import { useColors } from '../../../constants/useColors';
|
|
9
9
|
|
|
10
10
|
type MarketButtonProps = {
|
|
11
11
|
market:MarketProps,
|
|
@@ -19,6 +19,7 @@ type MarketButtonProps = {
|
|
|
19
19
|
onLongPress:(trade:TradeProps) => void
|
|
20
20
|
}
|
|
21
21
|
const MarketCard = ({ side_option, locked, show_grades, market, trade, order, side_label, onPress, onLongPress }:MarketButtonProps) => {
|
|
22
|
+
const C = useColors();
|
|
22
23
|
const [ updated, setUpdated ] = useState<{
|
|
23
24
|
iteration: number,
|
|
24
25
|
iteration_trade?:TradeProps,
|
|
@@ -29,7 +30,7 @@ const MarketCard = ({ side_option, locked, show_grades, market, trade, order, si
|
|
|
29
30
|
});
|
|
30
31
|
const { iteration, loading, iteration_trade } = updated;
|
|
31
32
|
|
|
32
|
-
const { var_1, odds, color } = MarketButtonHelpers.getButtonLabel(market, side_option, trade);
|
|
33
|
+
const { var_1, odds, color } = MarketButtonHelpers.getButtonLabel(market, side_option, trade, C);
|
|
33
34
|
const handlePress = () => {
|
|
34
35
|
return onPress(MarketButtonHelpers.getOrderFromTrade(trade, undefined, order?.order_id))
|
|
35
36
|
}
|
|
@@ -45,20 +46,20 @@ const MarketCard = ({ side_option, locked, show_grades, market, trade, order, si
|
|
|
45
46
|
},[trade])
|
|
46
47
|
|
|
47
48
|
return (
|
|
48
|
-
<
|
|
49
|
-
style={{
|
|
49
|
+
<Button
|
|
50
|
+
style={{ flexGrow:1, padding:0, backgroundColor:color, borderRadius:4}}
|
|
50
51
|
onPress={() => handlePress()}
|
|
51
52
|
disabled={loading || locked ? true : false}
|
|
52
53
|
onLongPress={() => onLongPress({ ...trade, market:market })}
|
|
53
54
|
>
|
|
54
|
-
<View style={{
|
|
55
|
+
<View transparent style={{ flexGrow:1, padding:5, justifyContent:'center' }}>
|
|
55
56
|
{!market.var_1_required && market.show_side_option ?
|
|
56
|
-
<Text size={12}
|
|
57
|
+
<Text size={12} theme='description' textAlign='center'>{side_label?side_label:side_option.label.toUpperCase()}</Text>
|
|
57
58
|
:<></>}
|
|
58
59
|
{market.var_1_required ?
|
|
59
|
-
<Text size={12}
|
|
60
|
+
<Text size={12} theme='description' textAlign='center'>{var_1}</Text>
|
|
60
61
|
:<></>}
|
|
61
|
-
<Text style={{ marginTop:2 }}
|
|
62
|
+
<Text style={{ marginTop:2 }} theme='description' textAlign='center'>{odds}</Text>
|
|
62
63
|
</View>
|
|
63
64
|
{order ?
|
|
64
65
|
<OrderGradeBar
|
|
@@ -68,16 +69,16 @@ const MarketCard = ({ side_option, locked, show_grades, market, trade, order, si
|
|
|
68
69
|
/>
|
|
69
70
|
:<></>}
|
|
70
71
|
{loading ?
|
|
71
|
-
<View style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center' }}>
|
|
72
|
-
<ActivityIndicator size='small' color={
|
|
72
|
+
<View type='blur' style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center' }}>
|
|
73
|
+
<ActivityIndicator size='small' color={C.text.highlight} />
|
|
73
74
|
</View>
|
|
74
75
|
:<></>}
|
|
75
76
|
{locked ?
|
|
76
|
-
<View style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center',
|
|
77
|
-
<Icons.LockClosedIcon size={22} color={
|
|
77
|
+
<View type='blur' style={{ position:'absolute', top:0, left:0, right:0, bottom:0, justifyContent:'center', alignItems:'center', borderRadius:4 }}>
|
|
78
|
+
<Icons.LockClosedIcon size={22} color={C.text.error} />
|
|
78
79
|
</View>
|
|
79
80
|
:<></>}
|
|
80
|
-
</
|
|
81
|
+
</Button>
|
|
81
82
|
)
|
|
82
83
|
}
|
|
83
84
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React, { useCallback, useMemo } from 'react';
|
|
2
|
-
import { View, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
2
|
import type { AthleteProps, BestAvailableOrderProps, EventOrderStatProps, LeagueProps, MarketProps, MarketSideOptionProps, MatchProps, OrderProps, TeamProps, TournamentProps, TradeProps } from "../../../types"
|
|
4
|
-
import { view_styles } from '../../../constants/styles';
|
|
5
3
|
import MarketButton from '../../components/MarketButton';
|
|
6
|
-
import { Icons, LinearDiagnal
|
|
7
|
-
import Colors from '../../../constants/colors';
|
|
4
|
+
import { Icons, LinearDiagnal } from '../../../Components';
|
|
8
5
|
import { MarketButtonHelpers } from '../MarketButton/api';
|
|
9
6
|
import { MarketComponentHelpers } from '../../api';
|
|
10
7
|
import { AthleteImage } from '../../../Components/Jerseys';
|
|
8
|
+
import { Button, Text, View } from '../../../Components/Themed';
|
|
9
|
+
import { useColors } from '../../../constants/useColors';
|
|
11
10
|
|
|
12
11
|
type MatchMarketProps = {
|
|
13
12
|
league?:LeagueProps,
|
|
@@ -15,8 +14,12 @@ type MatchMarketProps = {
|
|
|
15
14
|
match:MatchProps,
|
|
16
15
|
away_athlete?:AthleteProps,
|
|
17
16
|
home_athlete?:AthleteProps,
|
|
17
|
+
direction?:'horizontal'|'vertical',
|
|
18
18
|
away_team?:TeamProps,
|
|
19
|
+
hide_image?:boolean,
|
|
20
|
+
float?:boolean,
|
|
19
21
|
home_team?:TeamProps,
|
|
22
|
+
image_size_override?:number,
|
|
20
23
|
hide_stat_banner?:boolean,
|
|
21
24
|
width?:number,
|
|
22
25
|
style?:any,
|
|
@@ -33,17 +36,14 @@ type MatchMarketProps = {
|
|
|
33
36
|
onTradeLongPress:(trade:TradeProps) => void
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
const MatchMarket = ({ league, match, show_event, style, hide_liquidity, hide_stat_banner, width, away_athlete, home_athlete, away_team, home_team, market, event_order_stats, default_price_view, latest_trades, show_grades, best_available_orders, onOrder, onView, onTradeLongPress }:MatchMarketProps) => {
|
|
37
|
-
|
|
38
|
-
if(style){
|
|
39
|
-
set_style = style
|
|
40
|
-
}
|
|
39
|
+
const MatchMarket = ({ league, match, float, show_event, hide_image, image_size_override, direction, style, hide_liquidity, hide_stat_banner, width, away_athlete, home_athlete, away_team, home_team, market, event_order_stats, default_price_view, latest_trades, show_grades, best_available_orders, onOrder, onView, onTradeLongPress }:MatchMarketProps) => {
|
|
40
|
+
const C = useColors();
|
|
41
41
|
|
|
42
42
|
const { liquidity, open_order_count } = MarketComponentHelpers.getLiqudity(event_order_stats)
|
|
43
43
|
const is_locked = useMemo(() => MarketComponentHelpers.isMatchMarketLocked(match, market.market_id),[JSON.stringify(match.supported_markets)])
|
|
44
44
|
const match_time_detail = MarketComponentHelpers.getMatchTimeDetail(match);
|
|
45
|
-
let image_size = 32
|
|
46
|
-
if(width){ image_size = width * 0.18 }
|
|
45
|
+
let image_size = image_size_override ?? 32
|
|
46
|
+
if(!image_size_override && width){ image_size = width * 0.18 }
|
|
47
47
|
|
|
48
48
|
const renderSides = useCallback((data:{ item:MarketSideOptionProps, index:number, market:MarketProps }) => {
|
|
49
49
|
const ba_order = best_available_orders.find(o => o.market_id == market.market_id && o.side == data.item.side && o.show);
|
|
@@ -83,61 +83,64 @@ const MatchMarket = ({ league, match, show_event, style, hide_liquidity, hide_st
|
|
|
83
83
|
if(match.participant_type == 'athlete' && (!home_athlete || !away_athlete)){ return <></> }
|
|
84
84
|
if(match.participant_type == 'team' && (!home_team || !away_team)){ return <></> }
|
|
85
85
|
return (
|
|
86
|
-
<View style={
|
|
86
|
+
<View float={float} style={[{ borderRadius:8 }, style]}>
|
|
87
87
|
{!hide_stat_banner ?
|
|
88
88
|
<LinearDiagnal
|
|
89
89
|
label={market.stat_label ?? market.type}
|
|
90
90
|
label_size={14}
|
|
91
91
|
style={{ borderTopLeftRadius:8, padding:5 }}
|
|
92
|
-
left_color={
|
|
92
|
+
left_color={C.text.gold}
|
|
93
93
|
right_color={'#ebd197'}
|
|
94
94
|
/>
|
|
95
95
|
:<></>}
|
|
96
96
|
{show_event ?
|
|
97
|
-
<View style={{ padding:5
|
|
98
|
-
<Text size={12}
|
|
97
|
+
<View transparent style={{ padding:5 }}>
|
|
98
|
+
<Text size={12} theme='h2' textAlign='center' weight='semibold'>{match.match_title}</Text>
|
|
99
99
|
</View>
|
|
100
100
|
:<></>}
|
|
101
|
-
<View style={{
|
|
102
|
-
{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
size={image_size}
|
|
108
|
-
league={league}
|
|
109
|
-
number_size={12}
|
|
110
|
-
/>
|
|
111
|
-
</View>
|
|
112
|
-
<Text style={{ marginLeft:2, marginRight:2 }} size={12} weight='bold' color={Colors.brand.midnight}>VS</Text>
|
|
113
|
-
<View style={{ borderRadius:100, borderWidth:match.winner == home_athlete?.athlete_id ? 2 : 0, borderColor:Colors.incentive.gold }}>
|
|
101
|
+
<View style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:1 }}>
|
|
102
|
+
<View style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column' , flexGrow:1, padding:2, justifyContent:'center', alignItems:'center' }}>
|
|
103
|
+
{!hide_image && match.participant_type == 'athlete' && away_athlete && home_athlete ?
|
|
104
|
+
|
|
105
|
+
<View style={{ flexDirection:'row', alignItems:'center' }}>
|
|
106
|
+
<View style={{ borderRadius:100, borderWidth:match.winner == away_athlete?.athlete_id ? 2 : 0, borderColor:C.text.gold }}>
|
|
114
107
|
<AthleteImage
|
|
115
|
-
athlete={
|
|
108
|
+
athlete={away_athlete}
|
|
116
109
|
size={image_size}
|
|
117
110
|
league={league}
|
|
118
111
|
number_size={12}
|
|
119
112
|
/>
|
|
113
|
+
</View>
|
|
114
|
+
<Text style={{ marginLeft:2, marginRight:2 }} theme='h2'>VS</Text>
|
|
115
|
+
<View style={{ borderRadius:100, borderWidth:match.winner == home_athlete?.athlete_id ? 2 : 0, borderColor:C.text.gold }}>
|
|
116
|
+
<AthleteImage
|
|
117
|
+
athlete={home_athlete}
|
|
118
|
+
size={image_size}
|
|
119
|
+
league={league}
|
|
120
|
+
number_size={12}
|
|
121
|
+
/>
|
|
122
|
+
</View>
|
|
123
|
+
</View>
|
|
124
|
+
:<></>}
|
|
125
|
+
<View style={{ padding:10, paddingBottom:0 }}>
|
|
126
|
+
<Text weight='bold' size={14} style={{ maxWidth:100 }} theme='h2' textAlign='center'>{match.match_title}</Text>
|
|
127
|
+
<Text style={{ marginTop:3 }} theme='light' textAlign='center' size={12}>{match_time_detail}</Text>
|
|
120
128
|
</View>
|
|
121
129
|
</View>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
130
|
+
<View nativeID='market_sides' style={{ flexDirection:'row', justifyContent:'center', alignItems:'center', padding:10 }}>
|
|
131
|
+
{market.side_options.sort((a,b) => {
|
|
132
|
+
let a_t = a.side == market.trade_side ? 1 : 0
|
|
133
|
+
let b_t = b.side == market.trade_side ? 1 : 0
|
|
134
|
+
return a_t - b_t
|
|
135
|
+
}).map((so, index) => {
|
|
136
|
+
return renderSides({ item:so, index, market })
|
|
137
|
+
})}
|
|
138
|
+
|
|
126
139
|
</View>
|
|
127
140
|
</View>
|
|
128
|
-
<View nativeID='market_sides' style={{ flexDirection:'row', justifyContent:'center', alignItems:'center', padding:10 }}>
|
|
129
|
-
{market.side_options.sort((a,b) => {
|
|
130
|
-
let a_t = a.side == market.trade_side ? 1 : 0
|
|
131
|
-
let b_t = b.side == market.trade_side ? 1 : 0
|
|
132
|
-
return a_t - b_t
|
|
133
|
-
}).map((so, index) => {
|
|
134
|
-
return renderSides({ item:so, index, market })
|
|
135
|
-
})}
|
|
136
|
-
|
|
137
|
-
</View>
|
|
138
141
|
{!hide_liquidity ?
|
|
139
|
-
<View style={{
|
|
140
|
-
<
|
|
142
|
+
<View type='footer' style={{ flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
|
|
143
|
+
<Button transparent style={{ flexGrow:1, flexDirection:'row', padding:10 }} onPress={() => {
|
|
141
144
|
onView({
|
|
142
145
|
event_id: match.match_id,
|
|
143
146
|
event_type: 'match',
|
|
@@ -146,24 +149,18 @@ const MatchMarket = ({ league, match, show_event, style, hide_liquidity, hide_st
|
|
|
146
149
|
side_id: ''
|
|
147
150
|
});
|
|
148
151
|
}}>
|
|
149
|
-
<View style={{
|
|
150
|
-
<Icons.LiquidityIcon color={
|
|
152
|
+
<View float style={{ height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center' }}>
|
|
153
|
+
<Icons.LiquidityIcon color={C.text.h1} size={30}/>
|
|
151
154
|
</View>
|
|
152
|
-
<View style={{ marginLeft:10 }}>
|
|
153
|
-
<Text theme='
|
|
154
|
-
<Text size={12} color={
|
|
155
|
+
<View transparent style={{ marginLeft:10 }}>
|
|
156
|
+
<Text theme='description'>Liquidity</Text>
|
|
157
|
+
<Text size={12} style={{ marginTop:3 }} color={C.text.highlight} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
|
|
155
158
|
</View>
|
|
156
|
-
</
|
|
159
|
+
</Button>
|
|
157
160
|
</View>
|
|
158
161
|
:<></>}
|
|
159
162
|
</View>
|
|
160
163
|
)
|
|
161
164
|
}
|
|
162
165
|
|
|
163
|
-
|
|
164
|
-
const styles = StyleSheet.create({
|
|
165
|
-
container_style: { ...view_styles.section, flexGrow:1, borderWidth:1, borderColor:Colors.shades.shade600 }
|
|
166
|
-
})
|
|
167
|
-
|
|
168
|
-
|
|
169
166
|
export default MatchMarket
|