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,7 +1,7 @@
1
1
  import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
- import { View, Image, FlatList, TouchableOpacity, ActivityIndicator, ScrollView, StyleSheet } from 'react-native';
2
+ import { Image, FlatList, ActivityIndicator, ScrollView } from 'react-native';
3
3
  import { view_styles } from '../../../constants/styles';
4
- import { Button, Icons, LinearDiagnal, Text } from '../../../Components';
4
+ import { Icons, LinearDiagnal } from '../../../Components';
5
5
  import { TeamEventMarketHelpers } from './api';
6
6
  import MarketButton from '../../components/MarketButton';
7
7
  import Colors from '../../../constants/colors';
@@ -13,9 +13,12 @@ import { LinearGradient } from 'expo-linear-gradient';
13
13
  import { useIsInViewport } from '../../../Components/ViewportObserver';
14
14
  import ContestStatsCard from '../ContestStats';
15
15
  import PodcastCard from '../PodcastCard';
16
+ import { Button, Text, View } from '../../../Components/Themed';
17
+ import { useColors } from '../../../constants/useColors';
16
18
  const TeamEventMarket = ({
17
19
  event,
18
20
  league,
21
+ float,
19
22
  style,
20
23
  init_expanded,
21
24
  hot_markets_direction,
@@ -44,12 +47,7 @@ const TeamEventMarket = ({
44
47
  onShare,
45
48
  onPodcastSelect
46
49
  }) => {
47
- let set_style = {
48
- ...styles.container_style
49
- };
50
- if (style) {
51
- set_style = style;
52
- }
50
+ const C = useColors();
53
51
  const [market_width, setMarketWidth] = useState(180);
54
52
  const [expanded_data, setExpandedData] = useState({
55
53
  loaded: false,
@@ -171,12 +169,13 @@ const TeamEventMarket = ({
171
169
  return setSquaresExpanded(true);
172
170
  };
173
171
  const renderCompetitions = data => {
174
- return /*#__PURE__*/React.createElement(TouchableOpacity, {
172
+ return /*#__PURE__*/React.createElement(Button, {
173
+ type: "text",
175
174
  style: {
176
- ...view_styles.body_row,
177
- padding: 10,
175
+ flexDirection: 'row',
176
+ alignItems: 'center',
178
177
  borderBottomWidth: 1,
179
- borderColor: Colors.shades.shade600
178
+ borderColor: C.borders.light
180
179
  },
181
180
  onPress: () => {
182
181
  setCompetitionsExpanded(false);
@@ -192,28 +191,30 @@ const TeamEventMarket = ({
192
191
  },
193
192
  resizeMode: "cover"
194
193
  }), /*#__PURE__*/React.createElement(View, {
194
+ transparent: true,
195
195
  style: {
196
196
  flex: 1,
197
197
  marginLeft: 10
198
198
  }
199
199
  }, /*#__PURE__*/React.createElement(Text, {
200
- theme: "header_2"
200
+ theme: "description"
201
201
  }, data.item.competition_name)), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
202
202
  direction: "right",
203
203
  size: 10,
204
- color: Colors.brand.midnight
204
+ color: C.text.h1
205
205
  }));
206
206
  };
207
207
  const renderSquaresCompetitions = data => {
208
- return /*#__PURE__*/React.createElement(TouchableOpacity, {
208
+ return /*#__PURE__*/React.createElement(Button, {
209
+ type: "text",
209
210
  style: {
210
- ...view_styles.body_row,
211
- padding: 10,
211
+ flexDirection: 'row',
212
+ alignItems: 'center',
212
213
  borderBottomWidth: 1,
213
- borderColor: Colors.shades.shade600
214
+ borderColor: C.borders.light
214
215
  },
215
216
  onPress: () => {
216
- setSquaresExpanded(false);
217
+ setCompetitionsExpanded(false);
217
218
  onSquaresSelect(data.item.sq_comp_id);
218
219
  }
219
220
  }, /*#__PURE__*/React.createElement(Image, {
@@ -226,16 +227,17 @@ const TeamEventMarket = ({
226
227
  },
227
228
  resizeMode: "cover"
228
229
  }), /*#__PURE__*/React.createElement(View, {
230
+ transparent: true,
229
231
  style: {
230
232
  flex: 1,
231
233
  marginLeft: 10
232
234
  }
233
235
  }, /*#__PURE__*/React.createElement(Text, {
234
- theme: "header_2"
236
+ theme: "description"
235
237
  }, data.item.sq_comp_name)), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
236
238
  direction: "right",
237
239
  size: 10,
238
- color: Colors.brand.midnight
240
+ color: C.text.h1
239
241
  }));
240
242
  };
241
243
  const renderSides = useCallback(data => {
@@ -252,6 +254,7 @@ const TeamEventMarket = ({
252
254
  return /*#__PURE__*/React.createElement(React.Fragment, null);
253
255
  }
254
256
  return /*#__PURE__*/React.createElement(View, {
257
+ transparent: true,
255
258
  key: `${event.event_id}_${data.item.side}`,
256
259
  style: {
257
260
  margin: 2,
@@ -280,6 +283,7 @@ const TeamEventMarket = ({
280
283
  }, [JSON.stringify(best_available_orders), JSON.stringify(latest_trades), primary_width]);
281
284
  const renderMarketHeaders = useCallback(data => {
282
285
  return /*#__PURE__*/React.createElement(View, {
286
+ transparent: true,
283
287
  style: {
284
288
  width: primary_width,
285
289
  marginLeft: 2,
@@ -287,7 +291,7 @@ const TeamEventMarket = ({
287
291
  }
288
292
  }, /*#__PURE__*/React.createElement(Text, {
289
293
  size: 12,
290
- color: Colors.brand.midnight,
294
+ color: C.text.h1,
291
295
  textAlign: "center"
292
296
  }, data.item.type.toUpperCase()));
293
297
  }, [primary_markets.length, primary_width]);
@@ -320,6 +324,7 @@ const TeamEventMarket = ({
320
324
  const athlete_trades = latest_trades.filter(t => t.market_type == 'FOR_MONEY' && t.market_id == data.item.market_id && t.side_type == 'athlete' && t.side_id == data.item.side_id);
321
325
  const athlete_orders = best_available_orders.filter(t => t.market_id == data.item.market_id && t.side_type == 'athlete' && t.side_id == data.item.side_id);
322
326
  return /*#__PURE__*/React.createElement(View, {
327
+ transparent: true,
323
328
  style: {
324
329
  flexGrow: 1
325
330
  }
@@ -327,6 +332,7 @@ const TeamEventMarket = ({
327
332
  event: event,
328
333
  event_type: "team",
329
334
  athlete: athlete,
335
+ float: true,
330
336
  direction: hot_markets_direction == 'vertical' ? 'horizontal' : 'vertical',
331
337
  show_grades: show_grades,
332
338
  market: market,
@@ -342,9 +348,15 @@ const TeamEventMarket = ({
342
348
  case 'event':
343
349
  const event_trades = latest_trades.filter(t => t.market_type == 'FOR_MONEY' && t.market_id == data.item.market_id);
344
350
  const event_orders = best_available_orders.filter(t => t.market_id == data.item.market_id);
345
- return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(EventMarket, {
351
+ return /*#__PURE__*/React.createElement(View, {
352
+ transparent: true,
353
+ style: {
354
+ flexGrow: 1
355
+ }
356
+ }, /*#__PURE__*/React.createElement(EventMarket, {
346
357
  event: event,
347
358
  market: market,
359
+ float: true,
348
360
  direction: hot_markets_direction == 'vertical' ? 'horizontal' : 'vertical',
349
361
  hide_liquidity: hide_liquidity,
350
362
  onTradeLongPress: onTradeLongPress,
@@ -362,7 +374,9 @@ const TeamEventMarket = ({
362
374
  }, [athletes.length, JSON.stringify(best_available_orders), JSON.stringify(latest_trades)]);
363
375
  const renderPrimaryMarkets = useCallback(data => {
364
376
  const is_locked = MarketComponentHelpers.isEventMarketLocked(event, data.item.market_id);
365
- return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(FlatList, {
377
+ return /*#__PURE__*/React.createElement(View, {
378
+ transparent: true
379
+ }, /*#__PURE__*/React.createElement(FlatList, {
366
380
  key: `${event.event_id}_side_options`,
367
381
  scrollEnabled: false,
368
382
  data: data.item.side_options.sort((a, b) => {
@@ -394,8 +408,8 @@ const TeamEventMarket = ({
394
408
  available
395
409
  } = useMemo(() => TeamEventMarketHelpers.sortNonPrimaryMarkets(TeamEventMarketHelpers.getNonPrimaryMarkets(event, markets), event_order_stats, latest_trades), []);
396
410
  return /*#__PURE__*/React.createElement(View, {
397
- ref: ref,
398
- style: set_style
411
+ float: float,
412
+ style: [style]
399
413
  }, sponsor ? /*#__PURE__*/React.createElement(LinearGradient, {
400
414
  style: {
401
415
  marginTop: -1,
@@ -415,7 +429,7 @@ const TeamEventMarket = ({
415
429
  x: 1,
416
430
  y: 0
417
431
  },
418
- colors: [sponsor.brand_primary ?? Colors.brand.midnight, sponsor.brand_secondary ?? Colors.brand.cyan]
432
+ colors: [sponsor.brand_primary ?? C.text.h1, sponsor.brand_secondary ?? C.text.h1]
419
433
  }, /*#__PURE__*/React.createElement(View, {
420
434
  style: {
421
435
  height: 30,
@@ -487,15 +501,17 @@ const TeamEventMarket = ({
487
501
  title_color: Colors.shades.white,
488
502
  backgroundColor: Colors.utility.success,
489
503
  onPress: () => onActivate(event.event_id, 'team')
490
- }) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(TouchableOpacity, {
504
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(Button, {
505
+ type: "text",
491
506
  style: {
492
507
  marginLeft: 10
493
508
  },
494
509
  onPress: () => onShare(event)
495
510
  }, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
496
511
  size: 14,
497
- color: Colors.brand.electric
512
+ color: C.text.action
498
513
  })) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, {
514
+ transparent: true,
499
515
  nativeID: "event_header_data",
500
516
  style: {
501
517
  flexDirection: 'row',
@@ -503,9 +519,10 @@ const TeamEventMarket = ({
503
519
  flexWrap: 'wrap',
504
520
  padding: 10,
505
521
  borderBottomWidth: 1,
506
- borderBottomColor: Colors.shades.shade600
522
+ borderBottomColor: C.borders.light
507
523
  }
508
524
  }, /*#__PURE__*/React.createElement(View, {
525
+ transparent: true,
509
526
  style: {
510
527
  flex: 1,
511
528
  flexDirection: 'row',
@@ -527,96 +544,94 @@ const TeamEventMarket = ({
527
544
  marginLeft: 2,
528
545
  marginRight: 3
529
546
  },
530
- size: 12,
531
- color: Colors.brand.midnight,
532
- weight: "semibold",
547
+ theme: "description",
533
548
  selectable: true
534
549
  }, event.event_id, " ") : /*#__PURE__*/React.createElement(React.Fragment, null), event.event_sub_title ? /*#__PURE__*/React.createElement(Text, {
535
550
  size: 12,
536
- color: Colors.brand.midnight,
537
- weight: "semibold"
551
+ theme: "description"
538
552
  }, event.event_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
539
553
  style: {
540
554
  flexDirection: 'row',
541
555
  alignItems: 'center'
542
556
  }
543
557
  }, /*#__PURE__*/React.createElement(Icons.TVIcon, {
544
- size: 10,
545
- color: Colors.brand.midnight
558
+ size: 16,
559
+ color: C.text.h1
546
560
  }), /*#__PURE__*/React.createElement(Text, {
547
561
  style: {
548
562
  marginLeft: 8
549
563
  },
550
- size: 12,
551
- color: Colors.brand.midnight,
552
- weight: "semibold"
564
+ theme: "description"
553
565
  }, event.info?.broadcast?.network)), onActivate && event_status != 'closed' ? /*#__PURE__*/React.createElement(Button, {
554
566
  title: event_status == 'active' ? 'Refresh' : 'Activate',
555
567
  style: {
556
568
  opacity: activate_loading ? 0.5 : 1,
557
- marginLeft: 5
569
+ marginLeft: 5,
570
+ padding: 10
558
571
  },
559
572
  disabled: activate_loading,
560
573
  loading: activate_loading,
561
- title_color: Colors.shades.white,
562
- backgroundColor: Colors.utility.success,
574
+ type: "success",
563
575
  onPress: () => onActivate(event.event_id, 'team')
564
- }) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(TouchableOpacity, {
576
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(Button, {
577
+ type: "text",
565
578
  style: {
566
579
  marginLeft: 10
567
580
  },
568
581
  onPress: () => onShare(event)
569
582
  }, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
570
583
  size: 14,
571
- color: Colors.brand.electric
584
+ color: C.text.action
572
585
  })) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
586
+ transparent: true,
573
587
  nativeID: "primary_markets",
574
588
  style: {
575
589
  flexDirection: 'row'
576
590
  }
577
591
  }, /*#__PURE__*/React.createElement(View, {
592
+ transparent: true,
578
593
  nativeID: "team_details",
579
594
  style: {
580
595
  flex: 1,
581
596
  padding: 5,
582
597
  paddingRight: 0
583
598
  }
584
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
599
+ }, /*#__PURE__*/React.createElement(View, {
600
+ transparent: true,
585
601
  style: {
586
602
  flexDirection: 'row',
587
603
  alignItems: 'center',
588
604
  marginTop: 5,
589
605
  marginBottom: 5,
590
606
  marginLeft: 10
591
- },
592
- onPress: () => setShowStats(!show_stats)
607
+ }
593
608
  }, show_stats ? /*#__PURE__*/React.createElement(Button, {
594
609
  title: "X",
595
- title_size: 10,
596
- padding: 0,
597
610
  style: {
598
- marginRight: 5
611
+ marginRight: 5,
612
+ padding: 10
599
613
  },
600
- disabled: true,
614
+ type: "error",
601
615
  title_color: Colors.utility.error,
602
- onPress: () => console.log('')
616
+ onPress: () => setShowStats(!show_stats)
603
617
  }) : /*#__PURE__*/React.createElement(React.Fragment, null), !show_stats ? /*#__PURE__*/React.createElement(View, {
604
618
  style: {
605
619
  marginRight: 5,
606
620
  height: 10,
607
621
  width: 10,
608
622
  borderRadius: 100,
609
- backgroundColor: event_status == 'active' ? Colors.utility.success : event_status == 'inactive' ? Colors.brand.electric : Colors.utility.error
623
+ backgroundColor: event_status == 'active' ? C.text.success : event_status == 'inactive' ? C.text.action : C.text.error
610
624
  }
611
625
  }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Text, {
612
626
  size: 12,
613
- color: show_stats ? Colors.utility.error : Colors.brand.electric
614
- }, show_stats ? 'Hide Boxscore' : `${TeamEventMarketHelpers.getTimeDetail(event)}`)), /*#__PURE__*/React.createElement(TouchableOpacity, {
627
+ color: show_stats ? C.text.error : C.text.action
628
+ }, show_stats ? 'Hide Boxscore' : `${TeamEventMarketHelpers.getTimeDetail(event)}`)), /*#__PURE__*/React.createElement(Button, {
615
629
  disabled: !onTeamSelect,
616
630
  style: {
617
631
  ...view_styles.body_row,
618
632
  minHeight: 48
619
633
  },
634
+ type: "text",
620
635
  onPress: () => onTeamSelect ? onTeamSelect(event.away_team_id) : console.log('')
621
636
  }, /*#__PURE__*/React.createElement(Image, {
622
637
  source: {
@@ -628,6 +643,7 @@ const TeamEventMarket = ({
628
643
  },
629
644
  resizeMode: "cover"
630
645
  }), /*#__PURE__*/React.createElement(View, {
646
+ transparent: true,
631
647
  style: {
632
648
  flex: 1,
633
649
  flexDirection: 'row',
@@ -639,28 +655,30 @@ const TeamEventMarket = ({
639
655
  marginRight: 3
640
656
  },
641
657
  size: 12,
642
- color: Colors.brand.cyan,
658
+ color: C.text.highlight,
643
659
  weight: "semibold"
644
660
  }, event.away.rank) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
661
+ transparent: true,
645
662
  style: {
646
663
  flex: 1,
647
664
  marginRight: 5
648
665
  }
649
666
  }, /*#__PURE__*/React.createElement(Text, {
650
- theme: "header_2"
667
+ theme: "h2"
651
668
  }, event.away.market_name, " ", event.away.name), event.away_sub_title ? /*#__PURE__*/React.createElement(Text, {
652
669
  style: {
653
670
  marginTop: 3
654
671
  },
655
- theme: "body_2"
672
+ theme: "description"
656
673
  }, event.away_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(Text, {
657
- theme: "body"
658
- }, event.away_team_score))), /*#__PURE__*/React.createElement(TouchableOpacity, {
674
+ theme: "description"
675
+ }, event.away_team_score))), /*#__PURE__*/React.createElement(Button, {
659
676
  disabled: !onTeamSelect,
660
677
  style: {
661
678
  ...view_styles.body_row,
662
679
  minHeight: 48
663
680
  },
681
+ type: "text",
664
682
  onPress: () => onTeamSelect ? onTeamSelect(event.home_team_id) : console.log('')
665
683
  }, /*#__PURE__*/React.createElement(Image, {
666
684
  source: {
@@ -672,6 +690,7 @@ const TeamEventMarket = ({
672
690
  },
673
691
  resizeMode: "cover"
674
692
  }), /*#__PURE__*/React.createElement(View, {
693
+ transparent: true,
675
694
  style: {
676
695
  flex: 1,
677
696
  flexDirection: 'row',
@@ -683,23 +702,25 @@ const TeamEventMarket = ({
683
702
  marginRight: 3
684
703
  },
685
704
  size: 12,
686
- color: Colors.brand.cyan,
705
+ color: C.text.highlight,
687
706
  weight: "semibold"
688
707
  }, event.home.rank) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
708
+ transparent: true,
689
709
  style: {
690
710
  flex: 1,
691
711
  marginRight: 5
692
712
  }
693
713
  }, /*#__PURE__*/React.createElement(Text, {
694
- theme: "header_2"
714
+ theme: "h2"
695
715
  }, event.home.market_name, " ", event.home.name), event.home_sub_title ? /*#__PURE__*/React.createElement(Text, {
696
716
  style: {
697
717
  marginTop: 3
698
718
  },
699
- theme: "body_2"
719
+ theme: "description"
700
720
  }, event.home_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(Text, {
701
- theme: "body"
721
+ theme: "description"
702
722
  }, event.home_team_score)))), event_status == 'active' ? /*#__PURE__*/React.createElement(View, {
723
+ transparent: true,
703
724
  nativeID: "primary_market_details",
704
725
  style: {
705
726
  padding: 5,
@@ -712,6 +733,7 @@ const TeamEventMarket = ({
712
733
  setMarketWidth(width);
713
734
  }
714
735
  }, /*#__PURE__*/React.createElement(View, {
736
+ transparent: true,
715
737
  style: {
716
738
  marginTop: 5,
717
739
  marginBottom: 5
@@ -730,21 +752,22 @@ const TeamEventMarket = ({
730
752
  scrollEnabled: false,
731
753
  renderItem: renderPrimaryMarkets,
732
754
  keyExtractor: item => item.market_id.toString()
733
- })) : /*#__PURE__*/React.createElement(TouchableOpacity, {
755
+ })) : /*#__PURE__*/React.createElement(Button, {
734
756
  disabled: !onActivate ? true : false,
735
757
  style: {
736
758
  flex: 0.5,
737
- padding: 10,
738
759
  justifyContent: 'center',
739
760
  alignItems: 'center'
740
761
  },
762
+ type: "text",
763
+ transparent: true,
741
764
  onPress: () => onActivate ? onActivate(event.event_id, 'team') : console.log('')
742
765
  }, /*#__PURE__*/React.createElement(Icons.MarketClosedIcon, {
743
766
  size: 60,
744
- color: Colors.brand.midnight
767
+ color: C.text.h1
745
768
  }))), event_status == 'active' ? /*#__PURE__*/React.createElement(View, {
769
+ type: "footer",
746
770
  style: {
747
- backgroundColor: Colors.shades.shade100,
748
771
  padding: 10,
749
772
  flexDirection: 'row',
750
773
  alignItems: 'center',
@@ -752,12 +775,14 @@ const TeamEventMarket = ({
752
775
  borderBottomLeftRadius: 8,
753
776
  borderBottomRightRadius: 8
754
777
  }
755
- }, !hide_liquidity ? /*#__PURE__*/React.createElement(TouchableOpacity, {
778
+ }, !hide_liquidity ? /*#__PURE__*/React.createElement(Button, {
756
779
  style: {
757
780
  flex: 1,
758
781
  flexDirection: 'row',
759
- minWidth: 115
782
+ minWidth: 115,
783
+ padding: 0
760
784
  },
785
+ type: "text",
761
786
  onPress: () => {
762
787
  if (!primary_markets[0]) {
763
788
  return;
@@ -769,126 +794,126 @@ const TeamEventMarket = ({
769
794
  });
770
795
  }
771
796
  }, /*#__PURE__*/React.createElement(View, {
797
+ transparent: true,
798
+ float: true,
772
799
  style: {
773
- backgroundColor: Colors.shades.white,
774
800
  height: 30,
775
801
  width: 30,
776
802
  borderRadius: 100,
777
803
  justifyContent: 'center',
778
- alignItems: 'center',
779
- ...view_styles.float
804
+ alignItems: 'center'
780
805
  }
781
806
  }, /*#__PURE__*/React.createElement(Icons.LiquidityIcon, {
782
- color: Colors.brand.midnight,
807
+ color: C.text.h1,
783
808
  size: 30
784
809
  })), /*#__PURE__*/React.createElement(View, {
810
+ transparent: true,
785
811
  style: {
786
812
  marginLeft: 5
787
813
  }
788
814
  }, /*#__PURE__*/React.createElement(Text, {
789
- theme: "body_2"
815
+ theme: "description"
790
816
  }, "Liquidity"), /*#__PURE__*/React.createElement(Text, {
791
817
  size: 12,
792
- color: Colors.brand.electric,
818
+ style: {
819
+ marginTop: 3
820
+ },
821
+ color: C.text.highlight,
793
822
  weight: "semibold"
794
- }, "$", liquidity.toFixed(), " ", open_order_count, " Orders"))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_competitions.length > 0 ? /*#__PURE__*/React.createElement(TouchableOpacity, {
823
+ }, "$", liquidity.toFixed(), " ", open_order_count, " Orders"))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_competitions.length > 0 ? /*#__PURE__*/React.createElement(Button, {
824
+ float: true,
825
+ type: "squares",
795
826
  style: {
796
827
  marginRight: 5,
797
828
  flexDirection: 'row',
798
829
  alignItems: 'center',
799
830
  padding: 10,
800
- borderRadius: 22,
801
- backgroundColor: Colors.highlights.highlight100,
802
- ...view_styles.float
831
+ borderRadius: 22
803
832
  },
804
833
  onPress: () => handleSelectSquares()
805
834
  }, /*#__PURE__*/React.createElement(Icons.SquaresIcon, {
806
835
  size: 18,
807
- color: Colors.shades.white
836
+ color: C.text.white
808
837
  }), /*#__PURE__*/React.createElement(Text, {
809
838
  style: {
810
839
  marginLeft: 5
811
840
  },
812
841
  size: 14,
813
- color: Colors.shades.white,
842
+ color: C.text.white,
814
843
  weight: "semibold"
815
- }, "Squares")) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions.length > 0 ? /*#__PURE__*/React.createElement(TouchableOpacity, {
844
+ }, "Squares")) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions.length > 0 ? /*#__PURE__*/React.createElement(Button, {
845
+ float: true,
846
+ type: "competition",
816
847
  style: {
817
848
  marginRight: 5,
818
849
  flexDirection: 'row',
819
850
  alignItems: 'center',
820
851
  padding: 10,
821
- borderRadius: 22,
822
- backgroundColor: Colors.highlights.highlight500,
823
- ...view_styles.float
852
+ borderRadius: 22
824
853
  },
825
854
  onPress: () => handleSelectCompetition()
826
855
  }, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
827
856
  size: 14,
828
- color: Colors.shades.white
857
+ color: C.text.white
829
858
  }), /*#__PURE__*/React.createElement(Text, {
830
859
  style: {
831
860
  marginLeft: 5
832
861
  },
833
862
  size: 14,
834
- color: Colors.shades.white,
863
+ color: C.text.white,
835
864
  weight: "semibold"
836
- }, "MultiPick")) : /*#__PURE__*/React.createElement(React.Fragment, null), non_primary_markets.length > 0 ? /*#__PURE__*/React.createElement(TouchableOpacity, {
865
+ }, "MultiPick")) : /*#__PURE__*/React.createElement(React.Fragment, null), non_primary_markets.length > 0 ? /*#__PURE__*/React.createElement(Button, {
866
+ float: true,
837
867
  style: {
838
868
  height: 35,
839
869
  width: 35,
840
870
  justifyContent: 'center',
841
871
  borderRadius: 100,
842
- alignItems: 'center',
843
- backgroundColor: Colors.shades.white,
844
- ...view_styles.float
872
+ alignItems: 'center'
845
873
  },
846
874
  onPress: () => expandedEvent()
847
875
  }, /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
848
876
  direction: expanded ? 'up' : 'down',
849
877
  size: 8,
850
- color: Colors.brand.midnight
878
+ color: C.text.h1
851
879
  })) : available ? /*#__PURE__*/React.createElement(Button, {
852
880
  title: "MORE",
853
- title_color: Colors.shades.white,
854
- backgroundColor: Colors.brand.electric,
881
+ type: "info",
855
882
  onPress: () => onViewAdditionalMarkets(event.event_id, 'team')
856
883
  }) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions_expanded ? /*#__PURE__*/React.createElement(View, {
884
+ float: true,
857
885
  style: {
858
886
  position: 'absolute',
859
887
  bottom: 0,
860
888
  right: 0,
861
- ...view_styles.section,
862
- minWidth: 300,
863
- maxHeight: 220
889
+ justifyContent: 'flex-end',
890
+ maxHeight: 230,
891
+ minWidth: 300
864
892
  }
865
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
893
+ }, /*#__PURE__*/React.createElement(View, {
894
+ type: "header",
866
895
  style: {
867
- ...view_styles.section_header,
868
- padding: 15,
869
- paddingRight: 10,
870
- backgroundColor: Colors.highlights.highlight500
871
- },
872
- onPress: () => setCompetitionsExpanded(false)
896
+ flexDirection: 'row',
897
+ alignItems: 'center',
898
+ padding: 5
899
+ }
873
900
  }, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
874
901
  size: 16,
875
- color: Colors.shades.white
902
+ color: C.text.h1
876
903
  }), /*#__PURE__*/React.createElement(Text, {
877
904
  style: {
878
905
  flex: 1,
879
906
  marginLeft: 10
880
907
  },
881
- size: 16,
882
- weight: "bold",
883
- color: Colors.shades.white
908
+ theme: "h2"
884
909
  }, "Select Competition"), /*#__PURE__*/React.createElement(Button, {
885
910
  title: "X",
886
- backgroundColor: "transparent",
887
- title_color: Colors.utility.error,
888
- disabled: true,
889
- title_size: 16,
890
- padding: 0,
891
- onPress: () => console.log('')
911
+ style: {
912
+ padding: 10,
913
+ borderRadius: 100
914
+ },
915
+ type: "error",
916
+ onPress: () => setCompetitionsExpanded(false)
892
917
  })), /*#__PURE__*/React.createElement(ScrollView, {
893
918
  style: {
894
919
  flex: 1
@@ -898,41 +923,39 @@ const TeamEventMarket = ({
898
923
  renderItem: renderCompetitions,
899
924
  keyExtractor: item => item.competition_id.toString()
900
925
  }))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_expanded ? /*#__PURE__*/React.createElement(View, {
926
+ float: true,
901
927
  style: {
902
928
  position: 'absolute',
903
929
  bottom: 0,
904
930
  right: 0,
905
- ...view_styles.section,
906
- minWidth: 300,
907
- maxHeight: 220
931
+ justifyContent: 'flex-end',
932
+ maxHeight: 230,
933
+ minWidth: 300
908
934
  }
909
- }, /*#__PURE__*/React.createElement(TouchableOpacity, {
935
+ }, /*#__PURE__*/React.createElement(View, {
936
+ type: "header",
910
937
  style: {
911
- ...view_styles.section_header,
912
- padding: 15,
913
- paddingRight: 10,
914
- backgroundColor: Colors.highlights.highlight100
915
- },
916
- onPress: () => setSquaresExpanded(false)
917
- }, /*#__PURE__*/React.createElement(Icons.SquaresIcon, {
938
+ flexDirection: 'row',
939
+ alignItems: 'center',
940
+ padding: 5
941
+ }
942
+ }, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
918
943
  size: 16,
919
- color: Colors.shades.white
944
+ color: C.text.h1
920
945
  }), /*#__PURE__*/React.createElement(Text, {
921
946
  style: {
922
947
  flex: 1,
923
948
  marginLeft: 10
924
949
  },
925
- size: 16,
926
- weight: "bold",
927
- color: Colors.shades.white
928
- }, "Select Squares Competition"), /*#__PURE__*/React.createElement(Button, {
950
+ theme: "h2"
951
+ }, "Select Squares"), /*#__PURE__*/React.createElement(Button, {
929
952
  title: "X",
930
- backgroundColor: "transparent",
931
- title_color: Colors.utility.error,
932
- disabled: true,
933
- title_size: 16,
934
- padding: 0,
935
- onPress: () => console.log('')
953
+ style: {
954
+ padding: 10,
955
+ borderRadius: 100
956
+ },
957
+ type: "error",
958
+ onPress: () => setSquaresExpanded(false)
936
959
  })), /*#__PURE__*/React.createElement(ScrollView, {
937
960
  style: {
938
961
  flex: 1
@@ -941,12 +964,16 @@ const TeamEventMarket = ({
941
964
  data: squares_competitions,
942
965
  renderItem: renderSquaresCompetitions,
943
966
  keyExtractor: item => item.sq_comp_id.toString()
944
- }))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), expanded ? /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
967
+ }))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), expanded ? /*#__PURE__*/React.createElement(View, {
968
+ transparent: true
969
+ }, /*#__PURE__*/React.createElement(View, {
970
+ transparent: true,
945
971
  style: {
946
972
  flexDirection: 'row',
947
973
  alignItems: 'center'
948
974
  }
949
975
  }, /*#__PURE__*/React.createElement(View, {
976
+ transparent: true,
950
977
  style: {
951
978
  flexGrow: 1
952
979
  }
@@ -963,37 +990,38 @@ const TeamEventMarket = ({
963
990
  color: Colors.brand.midnight
964
991
  }) : /*#__PURE__*/React.createElement(Button, {
965
992
  title: "SEE ALL",
966
- padding: 15,
967
- backgroundColor: "transparent",
968
- title_color: Colors.brand.electric,
993
+ type: "text",
969
994
  onPress: () => onViewAdditionalMarkets(event.event_id, 'team')
970
- })), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(FlatList, {
995
+ })), /*#__PURE__*/React.createElement(View, {
996
+ transparent: true
997
+ }, /*#__PURE__*/React.createElement(FlatList, {
971
998
  data: non_primary_markets,
972
999
  renderItem: renderNonPrimaryMarkets,
973
1000
  showsHorizontalScrollIndicator: false,
974
1001
  keyExtractor: item => `${item.market_id}:${item.side_type}:${item.side_id}`,
975
1002
  horizontal: hot_markets_direction && hot_markets_direction == 'vertical' ? false : true
976
1003
  })), podcasts.length > 0 ? /*#__PURE__*/React.createElement(View, {
1004
+ type: "footer",
977
1005
  style: {
978
1006
  flexDirection: 'row',
979
1007
  marginTop: 10,
980
1008
  borderBottomRightRadius: 8,
981
- borderBottomLeftRadius: 8,
982
- backgroundColor: Colors.shades.shade100
1009
+ borderBottomLeftRadius: 8
983
1010
  }
984
1011
  }, /*#__PURE__*/React.createElement(View, {
1012
+ transparent: true,
985
1013
  style: {
986
1014
  padding: 5,
987
1015
  paddingRight: 20,
988
1016
  paddingLeft: 20,
989
1017
  justifyContent: 'center',
990
- backgroundColor: Colors.brand.midnight,
991
1018
  borderBottomLeftRadius: 8
992
1019
  }
993
1020
  }, /*#__PURE__*/React.createElement(Icons.HeadphoneIcon, {
994
1021
  size: 36,
995
- color: Colors.shades.white
1022
+ color: C.text.h1
996
1023
  })), /*#__PURE__*/React.createElement(View, {
1024
+ transparent: true,
997
1025
  style: {
998
1026
  flex: 1,
999
1027
  padding: 5
@@ -1002,9 +1030,7 @@ const TeamEventMarket = ({
1002
1030
  style: {
1003
1031
  marginBottom: 3
1004
1032
  },
1005
- size: 14,
1006
- weight: "semibold",
1007
- color: Colors.brand.midnight
1033
+ theme: "h2"
1008
1034
  }, "Need Help? Checkout these podcasts!"), /*#__PURE__*/React.createElement(FlatList, {
1009
1035
  key: `${event.event_id}:pods`,
1010
1036
  data: podcasts,
@@ -1021,13 +1047,6 @@ const TeamEventMarket = ({
1021
1047
  event: event
1022
1048
  })) : /*#__PURE__*/React.createElement(React.Fragment, null));
1023
1049
  };
1024
- const styles = StyleSheet.create({
1025
- container_style: {
1026
- ...view_styles.section,
1027
- borderWidth: 1,
1028
- borderColor: Colors.shades.shade600
1029
- }
1030
- });
1031
1050
  export default /*#__PURE__*/React.memo(TeamEventMarket, (left, right) => {
1032
1051
  if (JSON.stringify(left) != JSON.stringify(right)) {
1033
1052
  return false;