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.
Files changed (554) hide show
  1. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +21 -28
  2. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  3. package/lib/commonjs/Authenticator/Components/LoginForm.js +93 -109
  4. package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
  5. package/lib/commonjs/Authenticator/Components/StrategyForm.js +246 -342
  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 +65 -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 +19 -26
  118. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  119. package/lib/module/Authenticator/Components/LoginForm.js +54 -70
  120. package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
  121. package/lib/module/Authenticator/Components/StrategyForm.js +227 -322
  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 +50 -48
  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 +5 -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.map +1 -1
  304. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +3 -4
  305. package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
  306. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +3 -6
  307. package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  308. package/lib/typescript/lib/module/Authenticator/index.d.ts +4 -4
  309. package/lib/typescript/lib/module/Authenticator/index.d.ts.map +1 -1
  310. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -2
  311. package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  312. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -2
  313. package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  314. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +2 -5
  315. package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  316. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -2
  317. package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
  318. package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
  319. package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  320. package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts +1 -2
  321. package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts.map +1 -1
  322. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -2
  323. package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
  324. package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts +2 -4
  325. package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts.map +1 -1
  326. package/lib/typescript/lib/module/Competition/index.d.ts +1 -2
  327. package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
  328. package/lib/typescript/lib/module/Components/Button.d.ts +2 -1
  329. package/lib/typescript/lib/module/Components/Button.d.ts.map +1 -1
  330. package/lib/typescript/lib/module/Components/ConfirmationModal.d.ts.map +1 -1
  331. package/lib/typescript/lib/module/Components/Spring.d.ts +1 -1
  332. package/lib/typescript/lib/module/Components/Themed.d.ts +9 -0
  333. package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -0
  334. package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts +3 -4
  335. package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
  336. package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts +3 -4
  337. package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
  338. package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts +3 -4
  339. package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
  340. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
  341. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
  342. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts +1 -2
  343. package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
  344. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +6 -3
  345. package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  346. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +3 -3
  347. package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  348. package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts +3 -4
  349. package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
  350. package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts +4 -3
  351. package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
  352. package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
  353. package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  354. package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts +1 -2
  355. package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  356. package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts +1 -2
  357. package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  358. package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts +1 -2
  359. package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  360. package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts +1 -2
  361. package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  362. package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts +1 -2
  363. package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  364. package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts +1 -2
  365. package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  366. package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
  367. package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  368. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts +2 -4
  369. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  370. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts +1 -2
  371. package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  372. package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts +1 -2
  373. package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  374. package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts +1 -4
  375. package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  376. package/lib/typescript/lib/module/ProfileManager/index.d.ts +2 -4
  377. package/lib/typescript/lib/module/ProfileManager/index.d.ts.map +1 -1
  378. package/lib/typescript/lib/module/Share/api/index.d.ts +1 -1
  379. package/lib/typescript/lib/module/Share/api/index.d.ts.map +1 -1
  380. package/lib/typescript/lib/module/Share/index.d.ts.map +1 -1
  381. package/lib/typescript/lib/module/Squares/components/BidForm.d.ts +1 -2
  382. package/lib/typescript/lib/module/Squares/components/BidForm.d.ts.map +1 -1
  383. package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts +1 -2
  384. package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts.map +1 -1
  385. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -2
  386. package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
  387. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -2
  388. package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
  389. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -2
  390. package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
  391. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +2 -4
  392. package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
  393. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -2
  394. package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
  395. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -2
  396. package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
  397. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -2
  398. package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
  399. package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts +1 -2
  400. package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts.map +1 -1
  401. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -2
  402. package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
  403. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -2
  404. package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
  405. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -2
  406. package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
  407. package/lib/typescript/lib/module/Squares/index.d.ts +1 -2
  408. package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
  409. package/lib/typescript/lib/module/constants/colors.d.ts +9 -0
  410. package/lib/typescript/lib/module/constants/styles.d.ts +95 -8
  411. package/lib/typescript/lib/module/constants/useColors.d.ts +57 -0
  412. package/lib/typescript/lib/module/constants/useColors.d.ts.map +1 -0
  413. package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  414. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +2 -2
  415. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
  416. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +2 -3
  417. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  418. package/lib/typescript/src/Authenticator/index.d.ts +2 -2
  419. package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
  420. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  421. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  422. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -1
  423. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  424. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
  425. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  426. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -1
  427. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
  428. package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
  429. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
  430. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -1
  431. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
  432. package/lib/typescript/src/Competition/index.d.ts.map +1 -1
  433. package/lib/typescript/src/Components/Button.d.ts +2 -1
  434. package/lib/typescript/src/Components/Button.d.ts.map +1 -1
  435. package/lib/typescript/src/Components/ConfirmationModal.d.ts.map +1 -1
  436. package/lib/typescript/src/Components/Themed.d.ts +38 -0
  437. package/lib/typescript/src/Components/Themed.d.ts.map +1 -0
  438. package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts +2 -1
  439. package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
  440. package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -1
  441. package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
  442. package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts +2 -1
  443. package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
  444. package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
  445. package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
  446. package/lib/typescript/src/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
  447. package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts +5 -1
  448. package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
  449. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts +2 -1
  450. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  451. package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -1
  452. package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
  453. package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
  454. package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
  455. package/lib/typescript/src/MarketComponents/index.d.ts +18 -7
  456. package/lib/typescript/src/MarketComponents/index.d.ts.map +1 -1
  457. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  458. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  459. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  460. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  461. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  462. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  463. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  464. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  465. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
  466. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  467. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  468. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  469. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  470. package/lib/typescript/src/ProfileManager/index.d.ts +1 -2
  471. package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
  472. package/lib/typescript/src/Share/api/index.d.ts +1 -1
  473. package/lib/typescript/src/Share/api/index.d.ts.map +1 -1
  474. package/lib/typescript/src/Share/index.d.ts.map +1 -1
  475. package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -1
  476. package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -1
  477. package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -1
  478. package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -1
  479. package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -1
  480. package/lib/typescript/src/Squares/components/MyStatsCard.d.ts +1 -1
  481. package/lib/typescript/src/Squares/components/MyStatsCard.d.ts.map +1 -1
  482. package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -1
  483. package/lib/typescript/src/Squares/components/PrizeCard.d.ts.map +1 -1
  484. package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -1
  485. package/lib/typescript/src/Squares/components/SquareOffersCard.d.ts.map +1 -1
  486. package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -1
  487. package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -1
  488. package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -1
  489. package/lib/typescript/src/Squares/index.d.ts.map +1 -1
  490. package/lib/typescript/src/constants/colors.d.ts +9 -0
  491. package/lib/typescript/src/constants/colors.d.ts.map +1 -1
  492. package/lib/typescript/src/constants/styles.d.ts +55 -1
  493. package/lib/typescript/src/constants/styles.d.ts.map +1 -1
  494. package/lib/typescript/src/constants/useColors.d.ts +57 -0
  495. package/lib/typescript/src/constants/useColors.d.ts.map +1 -0
  496. package/package.json +2 -1
  497. package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +40 -40
  498. package/src/Authenticator/Components/LoginForm.tsx +50 -54
  499. package/src/Authenticator/Components/StrategyForm.tsx +135 -147
  500. package/src/Authenticator/index.tsx +16 -18
  501. package/src/Competition/components/AthleteMarketCard.tsx +19 -17
  502. package/src/Competition/components/CompetitionInfoCard.tsx +48 -138
  503. package/src/Competition/components/CompetitionLeaderboard.tsx +65 -57
  504. package/src/Competition/components/CompetitionPlay.tsx +55 -48
  505. package/src/Competition/components/EnterCompetitionPrompt.tsx +30 -39
  506. package/src/Competition/components/LeaderPicks.tsx +5 -5
  507. package/src/Competition/components/MarketsCard.tsx +14 -10
  508. package/src/Competition/components/TeamEventCard.tsx +24 -23
  509. package/src/Competition/components/WagerPickForm.tsx +35 -41
  510. package/src/Competition/index.tsx +162 -125
  511. package/src/Components/Button.tsx +50 -6
  512. package/src/Components/ConfirmationModal.tsx +13 -21
  513. package/src/Components/Themed.tsx +233 -0
  514. package/src/MarketComponents/components/AthleteMarket/index.tsx +21 -26
  515. package/src/MarketComponents/components/AthleteTournamentMarket/index.tsx +24 -32
  516. package/src/MarketComponents/components/EventMarket/index.tsx +25 -33
  517. package/src/MarketComponents/components/MarketButton/api/index.ts +2 -3
  518. package/src/MarketComponents/components/MarketButton/index.tsx +16 -15
  519. package/src/MarketComponents/components/MatchMarket/index.tsx +54 -57
  520. package/src/MarketComponents/components/TeamEventMarket/index.tsx +160 -139
  521. package/src/MarketComponents/components/TeamTournamentMarket/index.tsx +24 -30
  522. package/src/MarketComponents/components/TournamentMarket/index.tsx +117 -107
  523. package/src/ProfileManager/Components/BasicInfoManager.tsx +26 -29
  524. package/src/ProfileManager/Components/BasicStatus.tsx +29 -36
  525. package/src/ProfileManager/Components/CodeRedeem.tsx +50 -60
  526. package/src/ProfileManager/Components/DOBManager.tsx +25 -30
  527. package/src/ProfileManager/Components/EmailManager.tsx +37 -45
  528. package/src/ProfileManager/Components/PasswordManager.tsx +36 -40
  529. package/src/ProfileManager/Components/PhoneManager.tsx +36 -43
  530. package/src/ProfileManager/Components/ProfilePicManager.tsx +10 -16
  531. package/src/ProfileManager/Components/ProfileWelcome.tsx +19 -25
  532. package/src/ProfileManager/Components/ProfileWizard.tsx +42 -46
  533. package/src/ProfileManager/Components/SettingsManager.tsx +41 -45
  534. package/src/ProfileManager/Components/VouchCard.tsx +50 -59
  535. package/src/ProfileManager/index.tsx +16 -13
  536. package/src/Share/api/index.ts +9 -3
  537. package/src/Share/index.tsx +13 -12
  538. package/src/Squares/components/BidForm.tsx +85 -62
  539. package/src/Squares/components/BidToggle.tsx +8 -9
  540. package/src/Squares/components/BoardStats.tsx +28 -28
  541. package/src/Squares/components/EventCard.tsx +33 -31
  542. package/src/Squares/components/MySquaresCard.tsx +24 -23
  543. package/src/Squares/components/MyStatsCard.tsx +66 -68
  544. package/src/Squares/components/OfferForm.tsx +15 -15
  545. package/src/Squares/components/PrizeCard.tsx +21 -18
  546. package/src/Squares/components/ResultsCard.tsx +21 -18
  547. package/src/Squares/components/SquareOffersCard.tsx +12 -10
  548. package/src/Squares/components/SquareOwners.tsx +24 -23
  549. package/src/Squares/components/SquaresBoard.tsx +39 -42
  550. package/src/Squares/components/SquaresDetails.tsx +25 -24
  551. package/src/Squares/index.tsx +196 -144
  552. package/src/constants/colors.ts +55 -47
  553. package/src/constants/styles.ts +37 -1
  554. package/src/constants/useColors.tsx +131 -0
@@ -1,18 +1,19 @@
1
1
  import React, { useCallback } from 'react';
2
- import { View, Image, TouchableOpacity, StyleSheet } from 'react-native';
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, Text } from '../../../Components';
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 = ({ width, event, 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) => {
31
- let set_style = { ...styles.container_style, width, maxWidth:direction == 'horizontal'?undefined:175 }
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={set_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={Colors.incentive.gold}
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', flex:1 }}>
76
+ <View transparent style={{ flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:1 }}>
81
77
 
82
- <View style={{ ...view_styles.section_body, flexDirection:direction == 'horizontal' ? 'row' : 'column', flexGrow:2, padding:0, justifyContent:'center', alignItems:'center' }}>
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='body'>VS</Text>
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' size={14} style={{ maxWidth:100 }} color={Colors.brand.midnight} textAlign='center'>{event.event_title}</Text>
100
- <Text style={{ marginTop:3 }} color={Colors.brand.midnight} weight='regular' textAlign='center' size={12}>{TeamEventMarketHelpers.getTimeDetail(event)}</Text>
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={{ backgroundColor:Colors.shades.shade100, padding:10, flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
116
- <TouchableOpacity style={{ flex:1, flexDirection:'row' }} onPress={() => {
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={{ backgroundColor:Colors.shades.white, height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center', ...view_styles.float }}>
124
- <Icons.LiquidityIcon color={Colors.brand.midnight} size={30}/>
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='body_2'>Liquidity</Text>
128
- <Text size={12} color={Colors.brand.electric} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
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
- </TouchableOpacity>
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? Colors.highlights.highlight500Faded : Colors.shades.shade100 }
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 { TouchableOpacity, View, ActivityIndicator } from "react-native"
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
- <TouchableOpacity
49
- style={{ flex:1, backgroundColor:color, borderRadius:4}}
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={{ flex:1, padding:5, justifyContent:'center' }}>
55
+ <View transparent style={{ flexGrow:1, padding:5, justifyContent:'center' }}>
55
56
  {!market.var_1_required && market.show_side_option ?
56
- <Text size={12} color={Colors.brand.midnight} weight='regular' textAlign='center'>{side_label?side_label:side_option.label.toUpperCase()}</Text>
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} color={Colors.brand.midnight} weight='regular' textAlign='center'>{var_1}</Text>
60
+ <Text size={12} theme='description' textAlign='center'>{var_1}</Text>
60
61
  :<></>}
61
- <Text style={{ marginTop:2 }} size={12} color={Colors.brand.midnight} weight='semibold' textAlign='center'>{odds}</Text>
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={Colors.shades.white} />
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', backgroundColor:Colors.shades.black_faded_super_heavy, borderRadius:4 }}>
77
- <Icons.LockClosedIcon size={22} color={Colors.utility.error} />
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
- </TouchableOpacity>
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, Text } from '../../../Components';
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
- let set_style = { ...styles.container_style, width }
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={set_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={Colors.incentive.gold}
92
+ left_color={C.text.gold}
93
93
  right_color={'#ebd197'}
94
94
  />
95
95
  :<></>}
96
96
  {show_event ?
97
- <View style={{ padding:5, backgroundColor:Colors.shades.shade100 }}>
98
- <Text size={12} color={Colors.brand.midnight} textAlign='center' weight='semibold'>{match.match_title}</Text>
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={{ ...view_styles.section_body, padding:2, justifyContent:'center', alignItems:'center' }}>
102
- {match.participant_type == 'athlete' && away_athlete && home_athlete ?
103
- <View style={{ flexDirection:'row', alignItems:'center' }}>
104
- <View style={{ borderRadius:100, borderWidth:match.winner == away_athlete?.athlete_id ? 2 : 0, borderColor:Colors.incentive.gold }}>
105
- <AthleteImage
106
- athlete={away_athlete}
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={home_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
- <View style={{ padding:10, paddingBottom:0 }}>
124
- <Text weight='bold' size={14} color={Colors.brand.midnight} textAlign='center'>{match.match_title}</Text>
125
- <Text style={{ marginTop:3 }} color={Colors.brand.midnight} weight='regular' textAlign='center' size={12}>{match_time_detail}</Text>
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={{ backgroundColor:Colors.shades.shade100, padding:10, flexDirection:'row', alignItems:'center', borderBottomLeftRadius:8, borderBottomRightRadius:8 }}>
140
- <TouchableOpacity style={{ flex:1, flexDirection:'row' }} onPress={() => {
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={{ backgroundColor:Colors.shades.white, height:30, width:30, borderRadius:100, justifyContent:'center', alignItems:'center', ...view_styles.float }}>
150
- <Icons.LiquidityIcon color={Colors.brand.midnight} size={30}/>
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='body_2'>Liquidity</Text>
154
- <Text size={12} color={Colors.brand.electric} weight='semibold'>${liquidity.toFixed()} {open_order_count} Orders</Text>
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
- </TouchableOpacity>
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