be-components 3.3.6 → 3.3.8

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.
Files changed (555) hide show
  1. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +27 -36
  2. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  3. package/lib/commonjs/Authenticator/Components/LoginForm.js +103 -124
  4. package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
  5. package/lib/commonjs/Authenticator/Components/StrategyForm.js +254 -347
  6. package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
  7. package/lib/commonjs/Authenticator/index.js +22 -32
  8. package/lib/commonjs/Authenticator/index.js.map +1 -1
  9. package/lib/commonjs/Competition/components/AthleteMarketCard.js +39 -26
  10. package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
  11. package/lib/commonjs/Competition/components/CompetitionInfoCard.js +115 -175
  12. package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
  13. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +97 -95
  14. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
  15. package/lib/commonjs/Competition/components/CompetitionPlay.js +99 -113
  16. package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
  17. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +56 -75
  18. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  19. package/lib/commonjs/Competition/components/LeaderPicks.js +4 -4
  20. package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
  21. package/lib/commonjs/Competition/components/MarketsCard.js +22 -12
  22. package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
  23. package/lib/commonjs/Competition/components/TeamEventCard.js +46 -37
  24. package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
  25. package/lib/commonjs/Competition/components/WagerPickForm.js +73 -85
  26. package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
  27. package/lib/commonjs/Competition/index.js +236 -216
  28. package/lib/commonjs/Competition/index.js.map +1 -1
  29. package/lib/commonjs/Components/Button.js +49 -6
  30. package/lib/commonjs/Components/Button.js.map +1 -1
  31. package/lib/commonjs/Components/ConfirmationModal.js +29 -29
  32. package/lib/commonjs/Components/ConfirmationModal.js.map +1 -1
  33. package/lib/commonjs/Components/Themed.js +281 -0
  34. package/lib/commonjs/Components/Themed.js.map +1 -0
  35. package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js +43 -52
  36. package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js.map +1 -1
  37. package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js +50 -61
  38. package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
  39. package/lib/commonjs/MarketComponents/components/EventMarket/index.js +48 -54
  40. package/lib/commonjs/MarketComponents/components/EventMarket/index.js.map +1 -1
  41. package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js +2 -3
  42. package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js.map +1 -1
  43. package/lib/commonjs/MarketComponents/components/MarketButton/index.js +22 -22
  44. package/lib/commonjs/MarketComponents/components/MarketButton/index.js.map +1 -1
  45. package/lib/commonjs/MarketComponents/components/MatchMarket/index.js +53 -63
  46. package/lib/commonjs/MarketComponents/components/MatchMarket/index.js.map +1 -1
  47. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js +239 -220
  48. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  49. package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js +48 -57
  50. package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
  51. package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js +203 -131
  52. package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js.map +1 -1
  53. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +49 -55
  54. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  55. package/lib/commonjs/ProfileManager/Components/BasicStatus.js +55 -88
  56. package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
  57. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +94 -121
  58. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
  59. package/lib/commonjs/ProfileManager/Components/DOBManager.js +42 -46
  60. package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
  61. package/lib/commonjs/ProfileManager/Components/EmailManager.js +66 -86
  62. package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
  63. package/lib/commonjs/ProfileManager/Components/PasswordManager.js +60 -78
  64. package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
  65. package/lib/commonjs/ProfileManager/Components/PhoneManager.js +62 -81
  66. package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
  67. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +19 -27
  68. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  69. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +31 -48
  70. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  71. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +69 -92
  72. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
  73. package/lib/commonjs/ProfileManager/Components/SettingsManager.js +63 -65
  74. package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
  75. package/lib/commonjs/ProfileManager/Components/VouchCard.js +106 -132
  76. package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
  77. package/lib/commonjs/ProfileManager/index.js +29 -31
  78. package/lib/commonjs/ProfileManager/index.js.map +1 -1
  79. package/lib/commonjs/Share/api/index.js +13 -6
  80. package/lib/commonjs/Share/api/index.js.map +1 -1
  81. package/lib/commonjs/Share/index.js +11 -11
  82. package/lib/commonjs/Share/index.js.map +1 -1
  83. package/lib/commonjs/Squares/components/BidForm.js +142 -120
  84. package/lib/commonjs/Squares/components/BidForm.js.map +1 -1
  85. package/lib/commonjs/Squares/components/BidToggle.js +10 -11
  86. package/lib/commonjs/Squares/components/BidToggle.js.map +1 -1
  87. package/lib/commonjs/Squares/components/BoardStats.js +63 -47
  88. package/lib/commonjs/Squares/components/BoardStats.js.map +1 -1
  89. package/lib/commonjs/Squares/components/EventCard.js +48 -29
  90. package/lib/commonjs/Squares/components/EventCard.js.map +1 -1
  91. package/lib/commonjs/Squares/components/MySquaresCard.js +48 -31
  92. package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -1
  93. package/lib/commonjs/Squares/components/MyStatsCard.js +155 -121
  94. package/lib/commonjs/Squares/components/MyStatsCard.js.map +1 -1
  95. package/lib/commonjs/Squares/components/OfferForm.js +32 -32
  96. package/lib/commonjs/Squares/components/OfferForm.js.map +1 -1
  97. package/lib/commonjs/Squares/components/PrizeCard.js +44 -35
  98. package/lib/commonjs/Squares/components/PrizeCard.js.map +1 -1
  99. package/lib/commonjs/Squares/components/ResultsCard.js +37 -24
  100. package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -1
  101. package/lib/commonjs/Squares/components/SquareOffersCard.js +20 -13
  102. package/lib/commonjs/Squares/components/SquareOffersCard.js.map +1 -1
  103. package/lib/commonjs/Squares/components/SquareOwners.js +44 -38
  104. package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -1
  105. package/lib/commonjs/Squares/components/SquaresBoard.js +77 -59
  106. package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
  107. package/lib/commonjs/Squares/components/SquaresDetails.js +46 -36
  108. package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -1
  109. package/lib/commonjs/Squares/index.js +207 -150
  110. package/lib/commonjs/Squares/index.js.map +1 -1
  111. package/lib/commonjs/constants/colors.js +18 -3
  112. package/lib/commonjs/constants/colors.js.map +1 -1
  113. package/lib/commonjs/constants/styles.js +72 -2
  114. package/lib/commonjs/constants/styles.js.map +1 -1
  115. package/lib/commonjs/constants/useColors.js +153 -0
  116. package/lib/commonjs/constants/useColors.js.map +1 -0
  117. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +21 -30
  118. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  119. package/lib/module/Authenticator/Components/LoginForm.js +61 -82
  120. package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
  121. package/lib/module/Authenticator/Components/StrategyForm.js +234 -326
  122. package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
  123. package/lib/module/Authenticator/index.js +16 -26
  124. package/lib/module/Authenticator/index.js.map +1 -1
  125. package/lib/module/Competition/components/AthleteMarketCard.js +28 -15
  126. package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
  127. package/lib/module/Competition/components/CompetitionInfoCard.js +82 -141
  128. package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
  129. package/lib/module/Competition/components/CompetitionLeaderboard.js +68 -66
  130. package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
  131. package/lib/module/Competition/components/CompetitionPlay.js +65 -79
  132. package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
  133. package/lib/module/Competition/components/EnterCompetitionPrompt.js +35 -54
  134. package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  135. package/lib/module/Competition/components/LeaderPicks.js +4 -4
  136. package/lib/module/Competition/components/LeaderPicks.js.map +1 -1
  137. package/lib/module/Competition/components/MarketsCard.js +15 -5
  138. package/lib/module/Competition/components/MarketsCard.js.map +1 -1
  139. package/lib/module/Competition/components/TeamEventCard.js +24 -15
  140. package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
  141. package/lib/module/Competition/components/WagerPickForm.js +44 -56
  142. package/lib/module/Competition/components/WagerPickForm.js.map +1 -1
  143. package/lib/module/Competition/index.js +215 -195
  144. package/lib/module/Competition/index.js.map +1 -1
  145. package/lib/module/Components/Button.js +49 -6
  146. package/lib/module/Components/Button.js.map +1 -1
  147. package/lib/module/Components/ConfirmationModal.js +21 -21
  148. package/lib/module/Components/ConfirmationModal.js.map +1 -1
  149. package/lib/module/Components/Themed.js +269 -0
  150. package/lib/module/Components/Themed.js.map +1 -0
  151. package/lib/module/MarketComponents/components/AthleteMarket/index.js +29 -38
  152. package/lib/module/MarketComponents/components/AthleteMarket/index.js.map +1 -1
  153. package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js +36 -47
  154. package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
  155. package/lib/module/MarketComponents/components/EventMarket/index.js +35 -41
  156. package/lib/module/MarketComponents/components/EventMarket/index.js.map +1 -1
  157. package/lib/module/MarketComponents/components/MarketButton/api/index.js +2 -3
  158. package/lib/module/MarketComponents/components/MarketButton/api/index.js.map +1 -1
  159. package/lib/module/MarketComponents/components/MarketButton/index.js +17 -17
  160. package/lib/module/MarketComponents/components/MarketButton/index.js.map +1 -1
  161. package/lib/module/MarketComponents/components/MatchMarket/index.js +35 -45
  162. package/lib/module/MarketComponents/components/MatchMarket/index.js.map +1 -1
  163. package/lib/module/MarketComponents/components/TeamEventMarket/index.js +176 -157
  164. package/lib/module/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  165. package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js +34 -43
  166. package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
  167. package/lib/module/MarketComponents/components/TournamentMarket/index.js +172 -100
  168. package/lib/module/MarketComponents/components/TournamentMarket/index.js.map +1 -1
  169. package/lib/module/ProfileManager/Components/BasicInfoManager.js +28 -34
  170. package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  171. package/lib/module/ProfileManager/Components/BasicStatus.js +28 -61
  172. package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
  173. package/lib/module/ProfileManager/Components/CodeRedeem.js +55 -81
  174. package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
  175. package/lib/module/ProfileManager/Components/DOBManager.js +27 -31
  176. package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
  177. package/lib/module/ProfileManager/Components/EmailManager.js +42 -61
  178. package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
  179. package/lib/module/ProfileManager/Components/PasswordManager.js +36 -54
  180. package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
  181. package/lib/module/ProfileManager/Components/PhoneManager.js +37 -56
  182. package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
  183. package/lib/module/ProfileManager/Components/ProfilePicManager.js +10 -18
  184. package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  185. package/lib/module/ProfileManager/Components/ProfileWelcome.js +21 -38
  186. package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  187. package/lib/module/ProfileManager/Components/ProfileWizard.js +42 -65
  188. package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
  189. package/lib/module/ProfileManager/Components/SettingsManager.js +45 -47
  190. package/lib/module/ProfileManager/Components/SettingsManager.js.map +1 -1
  191. package/lib/module/ProfileManager/Components/VouchCard.js +69 -95
  192. package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
  193. package/lib/module/ProfileManager/index.js +18 -20
  194. package/lib/module/ProfileManager/index.js.map +1 -1
  195. package/lib/module/Share/api/index.js +11 -6
  196. package/lib/module/Share/api/index.js.map +1 -1
  197. package/lib/module/Share/index.js +13 -13
  198. package/lib/module/Share/index.js.map +1 -1
  199. package/lib/module/Squares/components/BidForm.js +138 -116
  200. package/lib/module/Squares/components/BidForm.js.map +1 -1
  201. package/lib/module/Squares/components/BidToggle.js +6 -7
  202. package/lib/module/Squares/components/BidToggle.js.map +1 -1
  203. package/lib/module/Squares/components/BoardStats.js +44 -27
  204. package/lib/module/Squares/components/BoardStats.js.map +1 -1
  205. package/lib/module/Squares/components/EventCard.js +34 -15
  206. package/lib/module/Squares/components/EventCard.js.map +1 -1
  207. package/lib/module/Squares/components/MySquaresCard.js +36 -19
  208. package/lib/module/Squares/components/MySquaresCard.js.map +1 -1
  209. package/lib/module/Squares/components/MyStatsCard.js +98 -64
  210. package/lib/module/Squares/components/MyStatsCard.js.map +1 -1
  211. package/lib/module/Squares/components/OfferForm.js +12 -12
  212. package/lib/module/Squares/components/OfferForm.js.map +1 -1
  213. package/lib/module/Squares/components/PrizeCard.js +25 -16
  214. package/lib/module/Squares/components/PrizeCard.js.map +1 -1
  215. package/lib/module/Squares/components/ResultsCard.js +27 -14
  216. package/lib/module/Squares/components/ResultsCard.js.map +1 -1
  217. package/lib/module/Squares/components/SquareOffersCard.js +16 -9
  218. package/lib/module/Squares/components/SquareOffersCard.js.map +1 -1
  219. package/lib/module/Squares/components/SquareOwners.js +35 -28
  220. package/lib/module/Squares/components/SquareOwners.js.map +1 -1
  221. package/lib/module/Squares/components/SquaresBoard.js +52 -34
  222. package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
  223. package/lib/module/Squares/components/SquaresDetails.js +30 -19
  224. package/lib/module/Squares/components/SquaresDetails.js.map +1 -1
  225. package/lib/module/Squares/index.js +206 -149
  226. package/lib/module/Squares/index.js.map +1 -1
  227. package/lib/module/constants/colors.js +18 -3
  228. package/lib/module/constants/colors.js.map +1 -1
  229. package/lib/module/constants/styles.js +71 -1
  230. package/lib/module/constants/styles.js.map +1 -1
  231. package/lib/module/constants/useColors.js +145 -0
  232. package/lib/module/constants/useColors.js.map +1 -0
  233. package/lib/typescript/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  234. package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts +2 -2
  235. package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts.map +1 -1
  236. package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts +2 -4
  237. package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  238. package/lib/typescript/lib/commonjs/Authenticator/index.d.ts +2 -2
  239. package/lib/typescript/lib/commonjs/Authenticator/index.d.ts.map +1 -1
  240. package/lib/typescript/lib/commonjs/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  241. package/lib/typescript/lib/commonjs/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  242. package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts +1 -3
  243. package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  244. package/lib/typescript/lib/commonjs/Competition/components/CompetitionPlay.d.ts.map +1 -1
  245. package/lib/typescript/lib/commonjs/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  246. package/lib/typescript/lib/commonjs/Competition/components/MarketsCard.d.ts.map +1 -1
  247. package/lib/typescript/lib/commonjs/Competition/components/TeamEventCard.d.ts.map +1 -1
  248. package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts +1 -2
  249. package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts.map +1 -1
  250. package/lib/typescript/lib/commonjs/Competition/index.d.ts.map +1 -1
  251. package/lib/typescript/lib/commonjs/Components/Button.d.ts +2 -1
  252. package/lib/typescript/lib/commonjs/Components/Button.d.ts.map +1 -1
  253. package/lib/typescript/lib/commonjs/Components/ConfirmationModal.d.ts.map +1 -1
  254. package/lib/typescript/lib/commonjs/Components/Themed.d.ts +6 -0
  255. package/lib/typescript/lib/commonjs/Components/Themed.d.ts.map +1 -0
  256. package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -2
  257. package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
  258. package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts +2 -2
  259. package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
  260. package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts +1 -1
  261. package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
  262. package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts +2 -1
  263. package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  264. package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -2
  265. package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
  266. package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
  267. package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
  268. package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  269. package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  270. package/lib/typescript/lib/commonjs/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  271. package/lib/typescript/lib/commonjs/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  272. package/lib/typescript/lib/commonjs/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  273. package/lib/typescript/lib/commonjs/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  274. package/lib/typescript/lib/commonjs/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  275. package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  276. package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
  277. package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  278. package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  279. package/lib/typescript/lib/commonjs/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  280. package/lib/typescript/lib/commonjs/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  281. package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts +1 -2
  282. package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts.map +1 -1
  283. package/lib/typescript/lib/commonjs/Share/api/index.d.ts +1 -1
  284. package/lib/typescript/lib/commonjs/Share/api/index.d.ts.map +1 -1
  285. package/lib/typescript/lib/commonjs/Squares/components/BidForm.d.ts.map +1 -1
  286. package/lib/typescript/lib/commonjs/Squares/components/BidToggle.d.ts.map +1 -1
  287. package/lib/typescript/lib/commonjs/Squares/components/BoardStats.d.ts.map +1 -1
  288. package/lib/typescript/lib/commonjs/Squares/components/EventCard.d.ts.map +1 -1
  289. package/lib/typescript/lib/commonjs/Squares/components/MySquaresCard.d.ts.map +1 -1
  290. package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts +1 -2
  291. package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts.map +1 -1
  292. package/lib/typescript/lib/commonjs/Squares/components/PrizeCard.d.ts.map +1 -1
  293. package/lib/typescript/lib/commonjs/Squares/components/ResultsCard.d.ts.map +1 -1
  294. package/lib/typescript/lib/commonjs/Squares/components/SquareOffersCard.d.ts.map +1 -1
  295. package/lib/typescript/lib/commonjs/Squares/components/SquareOwners.d.ts.map +1 -1
  296. package/lib/typescript/lib/commonjs/Squares/components/SquaresBoard.d.ts.map +1 -1
  297. package/lib/typescript/lib/commonjs/Squares/components/SquaresDetails.d.ts.map +1 -1
  298. package/lib/typescript/lib/commonjs/Squares/index.d.ts.map +1 -1
  299. package/lib/typescript/lib/commonjs/constants/colors.d.ts +9 -0
  300. package/lib/typescript/lib/commonjs/constants/styles.d.ts +95 -8
  301. package/lib/typescript/lib/commonjs/constants/useColors.d.ts +58 -0
  302. package/lib/typescript/lib/commonjs/constants/useColors.d.ts.map +1 -0
  303. package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -2
  304. package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  305. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +3 -4
  306. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
  307. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +3 -6
  308. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  309. package/lib/typescript/lib/module/Authenticator/index.d.ts +4 -4
  310. package/lib/typescript/lib/module/Authenticator/index.d.ts.map +1 -1
  311. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -2
  312. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  313. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -2
  314. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  315. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +2 -5
  316. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  317. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -2
  318. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
  319. package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
  320. package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  321. package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts +1 -2
  322. package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts.map +1 -1
  323. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -2
  324. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
  325. package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts +2 -4
  326. package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts.map +1 -1
  327. package/lib/typescript/lib/module/Competition/index.d.ts +1 -2
  328. package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
  329. package/lib/typescript/lib/module/Components/Button.d.ts +2 -1
  330. package/lib/typescript/lib/module/Components/Button.d.ts.map +1 -1
  331. package/lib/typescript/lib/module/Components/ConfirmationModal.d.ts.map +1 -1
  332. package/lib/typescript/lib/module/Components/Spring.d.ts +1 -1
  333. package/lib/typescript/lib/module/Components/Themed.d.ts +9 -0
  334. package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -0
  335. package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts +3 -4
  336. package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
  337. package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts +3 -4
  338. package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
  339. package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts +3 -4
  340. package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
  341. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
  342. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
  343. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts +1 -2
  344. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
  345. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +3 -3
  346. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  347. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +3 -3
  348. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  349. package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts +3 -4
  350. package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
  351. package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts +4 -3
  352. package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
  353. package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
  354. package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  355. package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts +1 -2
  356. package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  357. package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts +1 -2
  358. package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  359. package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts +1 -2
  360. package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  361. package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts +1 -2
  362. package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  363. package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts +1 -2
  364. package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  365. package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts +1 -2
  366. package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  367. package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
  368. package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  369. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts +2 -4
  370. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  371. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts +1 -2
  372. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  373. package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts +1 -2
  374. package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  375. package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts +1 -4
  376. package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  377. package/lib/typescript/lib/module/ProfileManager/index.d.ts +2 -4
  378. package/lib/typescript/lib/module/ProfileManager/index.d.ts.map +1 -1
  379. package/lib/typescript/lib/module/Share/api/index.d.ts +1 -1
  380. package/lib/typescript/lib/module/Share/api/index.d.ts.map +1 -1
  381. package/lib/typescript/lib/module/Share/index.d.ts.map +1 -1
  382. package/lib/typescript/lib/module/Squares/components/BidForm.d.ts +1 -2
  383. package/lib/typescript/lib/module/Squares/components/BidForm.d.ts.map +1 -1
  384. package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts +1 -2
  385. package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts.map +1 -1
  386. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -2
  387. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
  388. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -2
  389. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
  390. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -2
  391. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
  392. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +2 -4
  393. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
  394. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -2
  395. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
  396. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -2
  397. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
  398. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -2
  399. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
  400. package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts +1 -2
  401. package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts.map +1 -1
  402. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -2
  403. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
  404. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -2
  405. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
  406. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -2
  407. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
  408. package/lib/typescript/lib/module/Squares/index.d.ts +1 -2
  409. package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
  410. package/lib/typescript/lib/module/constants/colors.d.ts +9 -0
  411. package/lib/typescript/lib/module/constants/styles.d.ts +95 -8
  412. package/lib/typescript/lib/module/constants/useColors.d.ts +57 -0
  413. package/lib/typescript/lib/module/constants/useColors.d.ts.map +1 -0
  414. package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  415. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +2 -2
  416. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
  417. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +2 -3
  418. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  419. package/lib/typescript/src/Authenticator/index.d.ts +2 -2
  420. package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
  421. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  422. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  423. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -1
  424. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  425. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
  426. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  427. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -1
  428. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
  429. package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
  430. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
  431. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -1
  432. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
  433. package/lib/typescript/src/Competition/index.d.ts.map +1 -1
  434. package/lib/typescript/src/Components/Button.d.ts +2 -1
  435. package/lib/typescript/src/Components/Button.d.ts.map +1 -1
  436. package/lib/typescript/src/Components/ConfirmationModal.d.ts.map +1 -1
  437. package/lib/typescript/src/Components/Themed.d.ts +38 -0
  438. package/lib/typescript/src/Components/Themed.d.ts.map +1 -0
  439. package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts +2 -1
  440. package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
  441. package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -1
  442. package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
  443. package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts +2 -1
  444. package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
  445. package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
  446. package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
  447. package/lib/typescript/src/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
  448. package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts +2 -1
  449. package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  450. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts +2 -1
  451. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  452. package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -1
  453. package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
  454. package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
  455. package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
  456. package/lib/typescript/src/MarketComponents/index.d.ts +15 -7
  457. package/lib/typescript/src/MarketComponents/index.d.ts.map +1 -1
  458. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  459. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  460. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  461. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  462. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  463. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  464. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  465. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  466. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
  467. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  468. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  469. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  470. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  471. package/lib/typescript/src/ProfileManager/index.d.ts +1 -2
  472. package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
  473. package/lib/typescript/src/Share/api/index.d.ts +1 -1
  474. package/lib/typescript/src/Share/api/index.d.ts.map +1 -1
  475. package/lib/typescript/src/Share/index.d.ts.map +1 -1
  476. package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -1
  477. package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -1
  478. package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -1
  479. package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -1
  480. package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -1
  481. package/lib/typescript/src/Squares/components/MyStatsCard.d.ts +1 -1
  482. package/lib/typescript/src/Squares/components/MyStatsCard.d.ts.map +1 -1
  483. package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -1
  484. package/lib/typescript/src/Squares/components/PrizeCard.d.ts.map +1 -1
  485. package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -1
  486. package/lib/typescript/src/Squares/components/SquareOffersCard.d.ts.map +1 -1
  487. package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -1
  488. package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -1
  489. package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -1
  490. package/lib/typescript/src/Squares/index.d.ts.map +1 -1
  491. package/lib/typescript/src/constants/colors.d.ts +9 -0
  492. package/lib/typescript/src/constants/colors.d.ts.map +1 -1
  493. package/lib/typescript/src/constants/styles.d.ts +55 -1
  494. package/lib/typescript/src/constants/styles.d.ts.map +1 -1
  495. package/lib/typescript/src/constants/useColors.d.ts +57 -0
  496. package/lib/typescript/src/constants/useColors.d.ts.map +1 -0
  497. package/package.json +2 -1
  498. package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +41 -41
  499. package/src/Authenticator/Components/LoginForm.tsx +54 -56
  500. package/src/Authenticator/Components/StrategyForm.tsx +138 -147
  501. package/src/Authenticator/index.tsx +16 -18
  502. package/src/Competition/components/AthleteMarketCard.tsx +19 -17
  503. package/src/Competition/components/CompetitionInfoCard.tsx +48 -138
  504. package/src/Competition/components/CompetitionLeaderboard.tsx +65 -57
  505. package/src/Competition/components/CompetitionPlay.tsx +55 -48
  506. package/src/Competition/components/EnterCompetitionPrompt.tsx +30 -39
  507. package/src/Competition/components/LeaderPicks.tsx +5 -5
  508. package/src/Competition/components/MarketsCard.tsx +14 -10
  509. package/src/Competition/components/TeamEventCard.tsx +24 -23
  510. package/src/Competition/components/WagerPickForm.tsx +35 -41
  511. package/src/Competition/index.tsx +162 -125
  512. package/src/Components/Button.tsx +50 -6
  513. package/src/Components/ConfirmationModal.tsx +13 -21
  514. package/src/Components/Themed.tsx +233 -0
  515. package/src/MarketComponents/components/AthleteMarket/index.tsx +21 -26
  516. package/src/MarketComponents/components/AthleteTournamentMarket/index.tsx +24 -32
  517. package/src/MarketComponents/components/EventMarket/index.tsx +25 -33
  518. package/src/MarketComponents/components/MarketButton/api/index.ts +2 -3
  519. package/src/MarketComponents/components/MarketButton/index.tsx +16 -15
  520. package/src/MarketComponents/components/MatchMarket/index.tsx +50 -59
  521. package/src/MarketComponents/components/TeamEventMarket/index.tsx +160 -139
  522. package/src/MarketComponents/components/TeamTournamentMarket/index.tsx +24 -30
  523. package/src/MarketComponents/components/TournamentMarket/index.tsx +117 -107
  524. package/src/ProfileManager/Components/BasicInfoManager.tsx +26 -29
  525. package/src/ProfileManager/Components/BasicStatus.tsx +29 -36
  526. package/src/ProfileManager/Components/CodeRedeem.tsx +50 -60
  527. package/src/ProfileManager/Components/DOBManager.tsx +25 -30
  528. package/src/ProfileManager/Components/EmailManager.tsx +37 -45
  529. package/src/ProfileManager/Components/PasswordManager.tsx +36 -40
  530. package/src/ProfileManager/Components/PhoneManager.tsx +36 -43
  531. package/src/ProfileManager/Components/ProfilePicManager.tsx +10 -16
  532. package/src/ProfileManager/Components/ProfileWelcome.tsx +19 -25
  533. package/src/ProfileManager/Components/ProfileWizard.tsx +42 -46
  534. package/src/ProfileManager/Components/SettingsManager.tsx +41 -45
  535. package/src/ProfileManager/Components/VouchCard.tsx +50 -59
  536. package/src/ProfileManager/index.tsx +16 -13
  537. package/src/Share/api/index.ts +9 -3
  538. package/src/Share/index.tsx +13 -12
  539. package/src/Squares/components/BidForm.tsx +85 -62
  540. package/src/Squares/components/BidToggle.tsx +8 -9
  541. package/src/Squares/components/BoardStats.tsx +28 -28
  542. package/src/Squares/components/EventCard.tsx +33 -31
  543. package/src/Squares/components/MySquaresCard.tsx +24 -23
  544. package/src/Squares/components/MyStatsCard.tsx +66 -68
  545. package/src/Squares/components/OfferForm.tsx +15 -15
  546. package/src/Squares/components/PrizeCard.tsx +21 -18
  547. package/src/Squares/components/ResultsCard.tsx +21 -18
  548. package/src/Squares/components/SquareOffersCard.tsx +12 -10
  549. package/src/Squares/components/SquareOwners.tsx +24 -23
  550. package/src/Squares/components/SquaresBoard.tsx +39 -42
  551. package/src/Squares/components/SquaresDetails.tsx +25 -24
  552. package/src/Squares/index.tsx +196 -144
  553. package/src/constants/colors.ts +55 -47
  554. package/src/constants/styles.ts +37 -1
  555. package/src/constants/useColors.tsx +131 -0
@@ -1,13 +1,13 @@
1
1
  import React, { useCallback, useMemo } from 'react';
2
- import { View, TouchableOpacity, StyleSheet } from 'react-native';
3
2
  import type { BestAvailableOrderProps, EventOrderStatProps, MarketProps, MarketSideOptionProps, OrderProps, TeamProps, TournamentProps, TradeProps } from "../../../types"
4
3
  import { view_styles } from '../../../constants/styles';
5
4
  import MarketButton from '../../components/MarketButton';
6
- import { Icons, LinearDiagnal, Text } from '../../../Components';
7
- import Colors from '../../../constants/colors';
5
+ import { Icons, LinearDiagnal } from '../../../Components';
8
6
  import { MarketButtonHelpers } from '../MarketButton/api';
9
7
  import { MarketComponentHelpers } from '../../api';
10
8
  import { TeamImage } from '../../../Components/Jerseys';
9
+ import { Button, Text, View } from '../../../Components/Themed';
10
+ import { useColors } from '../../../constants/useColors';
11
11
 
12
12
  type TeamTournamentMarketProps = {
13
13
  tournament:TournamentProps,
@@ -15,6 +15,7 @@ type TeamTournamentMarketProps = {
15
15
  team:TeamProps,
16
16
  hide_stat_banner?:boolean,
17
17
  width?:number,
18
+ float?:boolean,
18
19
  market:MarketProps,
19
20
  direction?:'horizontal'|'vertical',
20
21
  show_event?:boolean,
@@ -30,12 +31,8 @@ type TeamTournamentMarketProps = {
30
31
  onTradeLongPress:(trade:TradeProps) => void
31
32
  }
32
33
 
33
- const TeamTournamentMarket = ({ tournament, direction, show_event, hide_liquidity, hide_stat_banner, style, width, team, market, event_order_stats, default_price_view, latest_trades, show_grades, best_available_orders, onOrder, onView, onTradeLongPress }:TeamTournamentMarketProps) => {
34
- let set_style = { ...styles.container_style, width }
35
- if(style){
36
- set_style = style
37
- }
38
-
34
+ const TeamTournamentMarket = ({ tournament, float, direction, show_event, hide_liquidity, hide_stat_banner, style, team, market, event_order_stats, default_price_view, latest_trades, show_grades, best_available_orders, onOrder, onView, onTradeLongPress }:TeamTournamentMarketProps) => {
35
+ const C = useColors();
39
36
  const { liquidity, open_order_count } = MarketComponentHelpers.getLiqudity(event_order_stats);
40
37
  const is_locked = useMemo(() => MarketComponentHelpers.isTournamentMarketLocked(tournament, market.market_id),[JSON.stringify(tournament.supported_markets)])
41
38
 
@@ -69,33 +66,33 @@ const TeamTournamentMarket = ({ tournament, direction, show_event, hide_liquidit
69
66
  },[JSON.stringify(best_available_orders)])
70
67
 
71
68
  return (
72
- <View style={set_style}>
69
+ <View float={float} style={[{ borderRadius:8 }, style]}>
73
70
  {!hide_stat_banner ?
74
71
  <LinearDiagnal
75
72
  label={market.stat_label ?? market.type}
76
73
  label_size={14}
77
74
  style={{ borderTopLeftRadius:8, padding:5 }}
78
- left_color={Colors.incentive.gold}
75
+ left_color={C.text.gold}
79
76
  right_color={'#ebd197'}
80
77
  />
81
78
  :<></>}
82
79
  {show_event ?
83
- <View style={{ padding:5, backgroundColor:Colors.shades.shade100 }}>
84
- <Text size={12} color={Colors.brand.midnight} textAlign='center' weight='semibold'>{tournament.tournament_name}</Text>
80
+ <View transparent style={{ padding:5 }}>
81
+ <Text theme='description'>{tournament.tournament_name}</Text>
85
82
  </View>
86
83
  :<></>}
87
- <View style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column' }}>
88
- <View style={{ ...view_styles.section_body, flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:2, padding:0, justifyContent:'center', alignItems:'center' }}>
84
+ <View transparent style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column' }}>
85
+ <View transparent style={{ ...view_styles.section_body, flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:2, padding:0, justifyContent:'center', alignItems:'center' }}>
89
86
  <TeamImage
90
87
  team={team}
91
88
  size={24}
92
89
  />
93
- <View style={{ padding:10, paddingBottom:0 }}>
94
- <Text weight='bold' size={14} color={Colors.brand.midnight} textAlign='center'>{team.market_name} {team.name}</Text>
95
- <Text style={{ marginTop:3 }} color={Colors.brand.midnight} weight='regular' textAlign='center' size={12}>{team.division}</Text>
90
+ <View transparent style={{ padding:10, paddingBottom:0 }}>
91
+ <Text theme='h2' textAlign='center'>{team.market_name} {team.name}</Text>
92
+ <Text style={{ marginTop:3 }} theme='light' textAlign='center' size={12}>{team.division}</Text>
96
93
  </View>
97
94
  </View>
98
- <View nativeID='market_sides' style={{ flexDirection:'row',flexGrow:1.5, justifyContent:'center', alignItems:'center', padding:10 }}>
95
+ <View transparent nativeID='market_sides' style={{ flexDirection:'row',flexGrow:1.5, justifyContent:'center', alignItems:'center', padding:10 }}>
99
96
  {market.side_options.sort((a,b) => {
100
97
  let a_t = a.side == market.trade_side ? 1 : 0
101
98
  let b_t = b.side == market.trade_side ? 1 : 0
@@ -106,8 +103,8 @@ const TeamTournamentMarket = ({ tournament, direction, show_event, hide_liquidit
106
103
  </View>
107
104
  </View>
108
105
  {!hide_liquidity ?
109
- <View style={{ backgroundColor:Colors.shades.shade100, padding:10, flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
110
- <TouchableOpacity style={{ flex:1, flexDirection:'row' }} onPress={() => {
106
+ <View type='footer' style={{ flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
107
+ <Button transparent style={{ flexGrow:1, flexDirection:'row', padding:10 }} onPress={() => {
111
108
  onView({
112
109
  event_id: tournament.tournament_id,
113
110
  event_type: 'tournament',
@@ -116,22 +113,19 @@ const TeamTournamentMarket = ({ tournament, direction, show_event, hide_liquidit
116
113
  side_id: team.team_id
117
114
  });
118
115
  }}>
119
- <View style={{ backgroundColor:Colors.shades.white, height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center', ...view_styles.float }}>
120
- <Icons.LiquidityIcon color={Colors.brand.midnight} size={30}/>
116
+ <View float style={{ height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center' }}>
117
+ <Icons.LiquidityIcon color={C.text.h1} size={30}/>
121
118
  </View>
122
- <View style={{ marginLeft:10 }}>
123
- <Text theme='body_2'>Liquidity</Text>
124
- <Text size={12} color={Colors.brand.electric} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
119
+ <View transparent style={{ marginLeft:10 }}>
120
+ <Text theme='description'>Liquidity</Text>
121
+ <Text size={12} style={{ marginTop:3 }} color={C.text.highlight} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
125
122
  </View>
126
- </TouchableOpacity>
123
+ </Button>
127
124
  </View>
128
125
  :<></>}
129
126
  </View>
130
127
  )
131
128
  }
132
129
 
133
- const styles = StyleSheet.create({
134
- container_style: { ...view_styles.section, flexGrow:1, borderWidth:1, borderColor:Colors.shades.shade600 }
135
- })
136
130
 
137
131
  export default TeamTournamentMarket
@@ -1,9 +1,8 @@
1
1
  import React, { useEffect, useRef, useState } from 'react';
2
- import { View, FlatList, TouchableOpacity, ActivityIndicator, Image, ScrollView } from 'react-native';
3
- import { view_styles } from '../../../constants/styles';
2
+ import { FlatList, ActivityIndicator, Image } from 'react-native';
4
3
  import Colors from '../../../constants/colors';
5
4
  import type { AthleteProps, BestAvailableOrderProps, EventOrderStatProps, LeagueProps, MarketProps, MatchProps, OrderProps, TeamProps, TournamentProps, TradeProps } from '../../../types';
6
- import { Button, Icons, LinearDiagnal, Text, TextInput } from '../../../Components';
5
+ import { Icons, LinearDiagnal } from '../../../Components';
7
6
  import { MarketComponentApi, MarketComponentHelpers } from '../../api';
8
7
  import AthleteTournamentMarket from '../AthleteTournamentMarket';
9
8
  import TeamTournamentMarket from '../TeamTournamentMarket';
@@ -11,6 +10,8 @@ import MatchMarket from '../MatchMarket';
11
10
  import moment from 'moment-mini';
12
11
  import { TournamentMarketHelpers } from './api';
13
12
  import { useIsInViewport } from '../../../Components/ViewportObserver';
13
+ import { Button, Text, TextInput, View } from '../../../Components/Themed';
14
+ import { useColors } from '../../../constants/useColors';
14
15
 
15
16
 
16
17
  type TournamentMarketProps = {
@@ -19,8 +20,10 @@ type TournamentMarketProps = {
19
20
  markets:MarketProps[],
20
21
  hide_liquidity?:boolean,
21
22
  width?:number,
23
+ style?:any,
22
24
  hide_match_liquidity?:boolean,
23
25
  show_grades?:boolean,
26
+ float?:boolean,
24
27
  hide_participant_liquidity?:boolean,
25
28
  activate_loading?:boolean,
26
29
  wrap_markets?:boolean,
@@ -39,7 +42,8 @@ type TournamentMarketProps = {
39
42
  onOrder:(order:OrderProps) => void
40
43
  }
41
44
 
42
- const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_location, hide_match_liquidity, show_grades, hide_participant_liquidity, league, markets, latest_trades, hide_liquidity, best_available_orders, event_order_stats, match_available_orders, match_latest_trades, match_order_stats, activate_loading, onView, onTradeLongPress, onViewAdditionalMarkets, onOrder, onActivate, onShare }:TournamentMarketProps) => {
45
+ const TournamentMarket = ({ tournament, float, wrap_markets, width, style, market_selector_location, hide_match_liquidity, show_grades, hide_participant_liquidity, league, markets, latest_trades, hide_liquidity, best_available_orders, event_order_stats, match_available_orders, match_latest_trades, match_order_stats, activate_loading, onView, onTradeLongPress, onViewAdditionalMarkets, onOrder, onActivate, onShare }:TournamentMarketProps) => {
46
+ const C = useColors();
43
47
  const [ search_value, setSearchValue ] = useState<string | undefined>(undefined);
44
48
  const [ tournament_data, setTournamentData ] = useState<{
45
49
  loaded:boolean,
@@ -61,6 +65,7 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
61
65
  });
62
66
  const { loaded, athletes, active_type, loading, matches, teams, active_market, match_trades } = tournament_data;
63
67
  const [ show_markets, setShowMarkets ] = useState(false);
68
+ console.log(loaded, loading)
64
69
  const ref = useRef(null);
65
70
  const is_in_viewport = useIsInViewport(ref)
66
71
 
@@ -80,7 +85,7 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
80
85
  if(!wrap_markets){ sorted_matches = sorted_matches.filter(m => !['closed','cancelled','postponed','suspended'].includes(m.status)) }
81
86
  const market_width = TournamentMarketHelpers.getMarketWrapWidth(50, width, wrap_markets)
82
87
  useEffect(() => {
83
- if(!is_in_viewport || loaded || loading){ return }
88
+ if(loaded || loading){ return }
84
89
  MarketComponentApi.setEnvironment();
85
90
  getTournamentData(tournament)
86
91
  },[is_in_viewport, tournament.tournament_id]);
@@ -120,12 +125,12 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
120
125
 
121
126
  const renderMarkets = (data: { item:MarketProps, index:number }) => {
122
127
  return (
123
- <TouchableOpacity style={{ ...view_styles.body_row, padding:10, borderBottomWidth:1, borderColor:Colors.shades.shade600 }} onPress={() => {
128
+ <Button style={{ flexDirection:'row', alignItems:'center', padding:10, borderBottomWidth:1, borderColor:C.borders.light }} onPress={() => {
124
129
  setTournamentData({ ...tournament_data, active_market: data.item });
125
130
  setShowMarkets(false);
126
131
  }}>
127
- <Text size={12} color={Colors.brand.midnight} weight='semibold'>{data.item.type == 'Stat' ? data.item.stat_label : data.item.type}</Text>
128
- </TouchableOpacity>
132
+ <Text size={12} theme='h2'>{data.item.type == 'Stat' ? data.item.stat_label : data.item.type}</Text>
133
+ </Button>
129
134
  )
130
135
  }
131
136
 
@@ -144,10 +149,12 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
144
149
  let m_order_stats = match_order_stats.filter(os => os.event_id == data.item.match_id && os.event_type == 'match');
145
150
 
146
151
  return (
147
- <View key={`${tournament.tournament_id}_${data.item.match_id}`}>
152
+ <View key={`${tournament.tournament_id}_${data.item.match_id}`} style={{ margin:4 }}>
148
153
  <MatchMarket
149
154
  match={data.item}
150
155
  league={league}
156
+ float
157
+ style={{ flexGrow:1 }}
151
158
  away_athlete={away_athlete}
152
159
  home_athlete={home_athlete}
153
160
  away_team={away_team}
@@ -175,7 +182,7 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
175
182
  let team_trades = latest_trades.filter(t => t.side_type == 'team' && t.side_id == data.item.team_id);
176
183
  let team_order_stats = event_order_stats.filter(os => os.side_type == 'team' && os.side_id == data.item.team_id);
177
184
  return (
178
- <View key={`${tournament.tournament_id}_${data.item.team_id.toString()}`}>
185
+ <View key={`${tournament.tournament_id}_${data.item.team_id.toString()}`} style={{ margin:4 }}>
179
186
  <TeamTournamentMarket
180
187
  team={data.item}
181
188
  event_type='tournament'
@@ -183,6 +190,7 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
183
190
  onView={onView}
184
191
  width={wrap_markets ? market_width : undefined}
185
192
  show_grades={show_grades}
193
+ float
186
194
  hide_liquidity={hide_participant_liquidity ? true : false}
187
195
  tournament={tournament}
188
196
  event_order_stats={team_order_stats}
@@ -202,12 +210,14 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
202
210
  let team_trades = latest_trades.filter(t => t.side_type == 'athlete' && t.side_id == data.item.athlete_id);
203
211
  let team_order_stats = event_order_stats.filter(os => os.side_type == 'athlete' && os.side_id == data.item.athlete_id);
204
212
  return (
205
- <View key={`${tournament.tournament_id}_${data.item.athlete_id.toString()}`}>
213
+ <View key={`${tournament.tournament_id}_${data.item.athlete_id.toString()}`} style={{ margin:4 }}>
206
214
  <AthleteTournamentMarket
207
215
  athlete={data.item}
208
216
  event_type='tournament'
209
217
  onTradeLongPress={onTradeLongPress}
210
218
  onView={onView}
219
+ float
220
+ style={{ flexGrow:1 }}
211
221
  show_grades={show_grades}
212
222
  hide_liquidity={hide_participant_liquidity ? true : false}
213
223
  tournament={tournament}
@@ -224,8 +234,8 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
224
234
  }
225
235
 
226
236
  return (
227
- <View ref={ref} style={{ ...view_styles.section, borderWidth:1, borderColor:Colors.shades.shade600 }}>
228
- <View style={{ ...view_styles.section_header }}>
237
+ <View float={float} style={[{ borderRadius:8 }, style]}>
238
+ <View type='header' transparent nativeID='event_header_data' style={{ flexDirection:'row', alignItems:'center', flexWrap:'wrap', padding:10, borderBottomWidth:1, borderBottomColor:C.borders.light }}>
229
239
  {league ?
230
240
  <Image
231
241
  source={{ uri: league.league_image }}
@@ -233,9 +243,9 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
233
243
  resizeMode='cover'
234
244
  />
235
245
  :<></>}
236
- <View style={{ flex:1 }}>
237
- <Text theme='header_2'>{tournament.tournament_name}</Text>
238
- <Text style={{ marginTop:3 }} theme='body'>{moment(tournament.scheduled_datetime).format('MMM DD YYYY')}</Text>
246
+ <View transparent style={{ flex:1 }}>
247
+ <Text theme='h2'>{tournament.tournament_name}</Text>
248
+ <Text style={{ marginTop:3 }} theme='description'>{moment(tournament.scheduled_datetime).format('MMM DD YYYY')}</Text>
239
249
  </View>
240
250
  {onActivate && tournament.status != 'closed' ?
241
251
  <Button
@@ -249,67 +259,68 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
249
259
  />
250
260
  :<></>}
251
261
  {onShare ?
252
- <TouchableOpacity style={{ marginLeft:10 }} onPress={() => onShare(tournament)}>
253
- <Icons.ShareIcon size={14} color={Colors.brand.electric} />
254
- </TouchableOpacity>
262
+ <Button style={{ marginLeft:10 }} onPress={() => onShare(tournament)}>
263
+ <Icons.ShareIcon size={14} color={C.text.action} />
264
+ </Button>
255
265
  :<></>}
256
266
  </View>
257
267
  {loading || !loaded ?
258
- <View style={{ padding:20 }}>
259
- <ActivityIndicator size={'large'} color={Colors.brand.midnight} />
268
+ <View transparent style={{ padding:20 }}>
269
+ <ActivityIndicator size={'large'} color={C.text.h1} />
260
270
  </View>
261
271
  :
262
- <View>
272
+ <View type='body' transparent style={{ flexGrow:1 }}>
263
273
  {market_selector_location == 'top_right' ?
264
- <View style={{ ...view_styles.body_row, paddingLeft:10, paddingRight:10, zIndex:1, backgroundColor:Colors.shades.shade100 }}>
265
- <View style={{ flexDirection:'row', alignItems:'center', flex:1, marginRight:10, paddingLeft:10, backgroundColor:Colors.shades.white, borderRadius:22 }}>
266
- <Icons.SearchIcon color={Colors.brand.electric} size={18} />
267
- <TextInput
268
- style={{ flex:1, marginLeft:10, borderRadius:0, borderTopRightRadius:22, borderBottomRightRadius:22 }}
269
- placeholder='Search athletes, teams, matches ...'
270
- placeholderTextColor={Colors.accents.accent200}
271
- onChangeText={(text) => setSearchValue(text)}
272
- />
273
- </View>
274
- <TouchableOpacity style={{ flexDirection:'row', alignItems:'center', backgroundColor:Colors.shades.white, borderWidth:1, borderColor:Colors.shades.shade600, borderRadius:4, padding:10, ...view_styles.float }} onPress={() => setShowMarkets(!show_markets)}>
275
- <Text style={{ marginRight:10 }} size={14} color={Colors.brand.midnight}>{active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type}</Text>
276
- <Icons.ChevronIcon color={Colors.brand.midnight} size={14} />
277
- </TouchableOpacity>
278
- {show_markets ?
279
- <View style={{ ...view_styles.section, position:'absolute', top:5, right:5, minWidth:175 }}>
280
- <View style={{ ...view_styles.section_header, backgroundColor:Colors.shades.shade100 }}>
281
- <View style={{ flex:1 }}>
282
- <Text theme='header_2'>Select Market</Text>
274
+ <View transparent style={{ flexDirection:'row', alignItems:'center', padding:10, zIndex:1 }}>
275
+ <View type='input' style={{ flex:1, flexDirection:'row', alignItems:'center' }}>
276
+ <View transparent style={{ padding:5, paddingLeft:10, paddingRight:10 }}>
277
+ <Icons.SearchIcon color={C.text.action} size={18} />
283
278
  </View>
284
- <Button
285
- title='X'
286
- title_weight='regular'
287
- borderRadius={100}
288
- backgroundColor={Colors.shades.white}
289
- padding={5}
290
- onPress={() => setShowMarkets(false)}
279
+ <TextInput
280
+ style={{ flex:1}}
281
+ transparent
282
+ placeholder='Search athletes, teams, matches ...'
283
+ onChangeText={(text) => setSearchValue(text)}
291
284
  />
292
285
  </View>
293
- <View style={{ ...view_styles.section_body, padding:10 }}>
294
- <FlatList
295
- data={supported_markets}
296
- renderItem={renderMarkets}
297
- keyExtractor={(item) => item.market_id.toString()}
298
- />
286
+ <Button float style={{ flexDirection:'row', alignItems:'center', marginLeft:5 }} onPress={() => setShowMarkets(!show_markets)}>
287
+ <Text style={{ marginRight:10 }} size={14} color={C.text.h1}>{active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type}</Text>
288
+ <Icons.ChevronIcon color={C.text.h1} size={14} />
289
+ </Button>
290
+ {show_markets ?
291
+ <View transparent float style={{ position:'absolute', top:5, right:5, minWidth:175 }}>
292
+ <View type='header' style={{ flexDirection:'row', alignItems:'center', padding:5, borderTopRightRadius:8, borderTopLeftRadius:8 }}>
293
+ <View transparent style={{ flex:1 }}>
294
+ <Text theme='h2'>Select Market</Text>
295
+ </View>
296
+ <Button
297
+ title='X'
298
+ title_color={C.text.action}
299
+ style={{ borderRadius:100, padding:5, paddingLeft:10, paddingRight:10 }}
300
+ type='close'
301
+ onPress={() => setShowMarkets(false)}
302
+ />
303
+
304
+ </View>
305
+ <View transparent style={{ padding:10 }}>
306
+ <FlatList
307
+ data={supported_markets}
308
+ renderItem={renderMarkets}
309
+ keyExtractor={(item) => item.market_id.toString()}
310
+ />
311
+ </View>
299
312
  </View>
313
+ :<></>}
300
314
  </View>
301
- :<></>}
302
- </View>
303
315
  :<></>}
304
316
  <View style={{ flexDirection:'row', alignItems:'center' }}>
305
317
  <View style={{flex:1}}>
306
- <LinearDiagnal label_size={14} label={active_type == 'futures' ? 'FUTURES' : 'MATCHES'} left_color={Colors.utility.warning} right_color={Colors.utility.error}/>
318
+ <LinearDiagnal label_size={14} label={active_type == 'futures' ? 'FUTURES' : 'MATCHES'} left_color={C.text.warning} right_color={C.text.error}/>
307
319
  </View>
308
320
  {((active_type == 'matches' && show_futures) || (active_type == 'futures' && show_matches)) ?
309
321
  <Button
310
322
  title={`SEE ${active_type == 'futures' ? 'MATCHES' : 'FUTURES'}`}
311
- padding={15}
312
- title_color={Colors.brand.electric}
323
+ type='close'
313
324
  onPress={() => {
314
325
  let new_active_market = active_market
315
326
  if(active_type == 'futures'){
@@ -324,15 +335,13 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
324
335
  :<></>}
325
336
  </View>
326
337
  {active_type == 'futures' && show_teams && teams.length > 0 ?
327
- <View>
338
+ <View transparent style={{ padding:10 }}>
328
339
  {wrap_markets ?
329
- <ScrollView>
330
- <View style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
331
- {sorted_teams.map((t,i) => {
332
- return renderTeams({ item:t, index:i })
333
- })}
334
- </View>
335
- </ScrollView>
340
+ <View transparent style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
341
+ {sorted_teams.map((t,i) => {
342
+ return renderTeams({ item:t, index:i })
343
+ })}
344
+ </View>
336
345
  :
337
346
  <FlatList
338
347
  data={sorted_teams}
@@ -344,9 +353,9 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
344
353
  </View>
345
354
  :<></>}
346
355
  {active_type == 'futures' && show_athletes && athletes.length > 0 ?
347
- <View>
356
+ <View transparent style={{ padding:10 }}>
348
357
  {wrap_markets ?
349
- <View style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
358
+ <View transparent style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
350
359
  {sorted_athletes.map((a,i) => {
351
360
  return renderAthletes({ item:a, index:i })
352
361
  })}
@@ -361,9 +370,9 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
361
370
  }
362
371
  </View>
363
372
  :active_type == 'matches' && show_matches && matches.length > 0 ?
364
- <View>
373
+ <View transparent style={{ padding:10 }}>
365
374
  {wrap_markets ?
366
- <View style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
375
+ <View transparent style={{ flexDirection:'row', flexWrap:'wrap', justifyContent:'center' }}>
367
376
  {sorted_matches.map((m,i) => {
368
377
  return renderMatches({ item:m, index:i })
369
378
  })}
@@ -381,51 +390,52 @@ const TournamentMarket = ({ tournament, wrap_markets, width, market_selector_loc
381
390
  </View>
382
391
  }
383
392
 
384
- <View style={{ backgroundColor:Colors.shades.shade100, padding:10, flexDirection:'row', alignItems:'center', flexWrap:'wrap', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
393
+ <View type='footer' style={{ flexDirection:'row', alignItems:'center', padding:10, borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
394
+
385
395
  {!hide_liquidity ?
386
- <TouchableOpacity style={{ flex:1, flexDirection:'row', minWidth:115 }} onPress={() => {
396
+ <Button transparent style={{ flexGrow:1, flexDirection:'row', padding:10 }} onPress={() => {
387
397
  if(!active_market){ return }
388
398
  onViewAdditionalMarkets(tournament.tournament_id, 'tournament');
389
399
  }}>
390
- <View style={{ backgroundColor:Colors.shades.white, height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center', ...view_styles.float }}>
391
- <Icons.LiquidityIcon color={Colors.brand.midnight} size={30}/>
400
+ <View float style={{ height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center' }}>
401
+ <Icons.LiquidityIcon color={C.text.h1} size={30}/>
392
402
  </View>
393
- <View style={{ marginLeft:5 }}>
394
- <Text theme='body_2'>Tournament Liquidity</Text>
395
- <Text size={12} color={Colors.brand.electric} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
403
+ <View transparent style={{ marginLeft:10 }}>
404
+ <Text theme='description'>Liquidity</Text>
405
+ <Text size={12} style={{ marginTop:3 }} color={C.text.highlight} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
396
406
  </View>
397
- </TouchableOpacity>
398
- :<View style={{flex:1}} />}
407
+ </Button>
408
+ :<View transparent style={{flex:1}} />}
399
409
  {!market_selector_location ?
400
- <View>
401
- <TouchableOpacity style={{ flexDirection:'row', alignItems:'center', backgroundColor:Colors.shades.white, borderWidth:1, borderColor:Colors.shades.shade600, borderRadius:4, padding:10, ...view_styles.float }} onPress={() => setShowMarkets(!show_markets)}>
402
- <Text style={{ marginRight:10 }} size={14} color={Colors.brand.midnight}>{active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type}</Text>
403
- <Icons.ChevronIcon color={Colors.brand.midnight} size={14} />
404
- </TouchableOpacity>
405
- {show_markets ?
406
- <View style={{ ...view_styles.section, position:'absolute', bottom:5, right:5, minWidth:175 }}>
407
- <View style={{ ...view_styles.section_header, backgroundColor:Colors.shades.shade100 }}>
408
- <View style={{ flex:1 }}>
409
- <Text theme='header_2'>Select Market</Text>
410
+ <View transparent>
411
+ <Button float style={{ flexDirection:'row', alignItems:'center', marginLeft:5 }} onPress={() => setShowMarkets(!show_markets)}>
412
+ <Text style={{ marginRight:10 }} size={14} color={C.text.h1}>{active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type}</Text>
413
+ <Icons.ChevronIcon color={C.text.h1} size={14} />
414
+ </Button>
415
+ {show_markets ?
416
+ <View transparent float style={{ position:'absolute', bottom:5, right:5, minWidth:175 }}>
417
+ <View type='header' style={{ flexDirection:'row', alignItems:'center', padding:5, borderTopRightRadius:8, borderTopLeftRadius:8 }}>
418
+ <View transparent style={{ flex:1 }}>
419
+ <Text theme='h2'>Select Market</Text>
420
+ </View>
421
+ <Button
422
+ title='X'
423
+ title_color={C.text.action}
424
+ style={{ borderRadius:100, padding:5, paddingLeft:10, paddingRight:10 }}
425
+ type='close'
426
+ onPress={() => setShowMarkets(false)}
427
+ />
428
+
429
+ </View>
430
+ <View transparent style={{ padding:10 }}>
431
+ <FlatList
432
+ data={supported_markets}
433
+ renderItem={renderMarkets}
434
+ keyExtractor={(item) => item.market_id.toString()}
435
+ />
410
436
  </View>
411
- <Button
412
- title='X'
413
- title_weight='regular'
414
- borderRadius={100}
415
- backgroundColor={Colors.shades.white}
416
- padding={5}
417
- onPress={() => setShowMarkets(false)}
418
- />
419
- </View>
420
- <View style={{ ...view_styles.section_body, padding:10 }}>
421
- <FlatList
422
- data={supported_markets}
423
- renderItem={renderMarkets}
424
- keyExtractor={(item) => item.market_id.toString()}
425
- />
426
437
  </View>
427
- </View>
428
- :<></>}
438
+ :<></>}
429
439
  </View>
430
440
  :<></>}
431
441
  </View>