be-components 3.3.6 → 3.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +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 +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 +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.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 +3 -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 +2 -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 +15 -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 +50 -59
  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 +1 @@
1
- {"version":3,"names":["React","View","Image","ScrollView","Button","Icons","Text","Colors","view_styles","BasicStatus","onVerify","code_details","player","onClose","code_request","promo","getStatus","p","errors","first_name","last_name","push","no_password","createElement","style","flex","justifyContent","alignItems","source","uri","width","height","borderRadius","resizeMode","padding","backgroundColor","shades","black_faded_super_heavy","marginTop","flexDirection","CheckCirlceIcon","color","utility","success","size","marginLeft","weight","white","textAlign","vouched_status","AlertIcon","warning","length","map","e","i","includes","status","margin","float","GiftIcon","incentive","gold","gold_faded","paddingBottom","borderBottomWidth","borderBottomColor","shade600","brand","midnight","paddingTop","Fragment","nativeID","title","marginRight","borderWidth","borderColor","electric","title_color","onPress","opacity","disabled"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/BasicStatus.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AACtD,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,QAAQ,kBAAkB;AACtD,OAAOC,MAAM,MAAM,wBAAwB;AAE3C,SAASC,WAAW,QAAQ,wBAAwB;AAcpD,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,YAAY;EAAEC,MAA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KAAK,CAACS,QAAS;IACnCC,WAAW,EAAEvE,MAAM,CAAC6D,KAAK,CAACS,QAAS;IACnCE,OAAO,EAAEA,CAAA,KAAMlE,OAAO,CAAC;EAAE,CAC5B,CAAC,eACFb,KAAA,CAAAuB,aAAA,CAACnB,MAAM;IACHqE,KAAK,EAAC,gBAAgB;IACtBjD,KAAK,EAAE;MAAEC,IAAI,EAAC,CAAC;MAAEuD,OAAO,EAAE9D,MAAM,CAACkC,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG;IAAE,CAAE;IACxDlB,OAAO,EAAE,EAAG;IACZ+C,QAAQ,EAAE/D,MAAM,CAACkC,MAAM,GAAG,CAAE;IAC5BjB,eAAe,EAAE5B,MAAM,CAACmC,OAAO,CAACC,OAAQ;IACxCmC,WAAW,EAAEvE,MAAM,CAAC6B,MAAM,CAACW,KAAM;IACjCgC,OAAO,EAAEA,CAAA,KAAMrE,QAAQ,CAAC;EAAE,CAC7B,CACC,CAAC,gBAEPV,KAAA,CAAAuB,aAAA,CAACtB,IAAI;IAACuE,QAAQ,EAAC,YAAY;IAAChD,KAAK,EAAE;MAAEe,aAAa,EAAC,KAAK;MAAEL,OAAO,EAAC;IAAG;EAAE,gBACnElC,KAAA,CAAAuB,aAAA,CAACnB,MAAM;IACHqE,KAAK,EAAC,OAAO;IACbjD,KAAK,EAAE;MAAEC,IAAI,EAAC,CAAC;MAAEiD,WAAW,EAAC;IAAE,CAAE;IACjCxC,OAAO,EAAE,EAAG;IACZyC,WAAW,EAAE,CAAE;IACfC,WAAW,EAAErE,MAAM,CAAC6D,KAAK,CAACS,QAAS;IACnCC,WAAW,EAAEvE,MAAM,CAAC6D,KAAK,CAACS,QAAS;IACnCE,OAAO,EAAEA,CAAA,KAAMlE,OAAO,CAAC;EAAE,CAC5B,CACC,CAEJ,CAAC;AAEf,CAAC;AAED,eAAeJ,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["React","Image","ScrollView","Icons","Button","Text","View","useColors","BasicStatus","onVerify","code_details","player","onClose","C","code_request","promo","getStatus","p","errors","first_name","last_name","push","no_password","createElement","style","flexGrow","justifyContent","alignItems","source","uri","width","height","borderRadius","resizeMode","padding","marginTop","flexDirection","CheckCirlceIcon","color","text","success","size","flex","marginLeft","theme","vouched_status","AlertIcon","warning","length","map","e","i","includes","status","float","margin","transparent","GiftIcon","gold","paddingTop","Fragment","nativeID","title","marginRight","type","onPress","opacity","disabled"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/BasicStatus.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAChD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,SAAS,QAAQ,2BAA2B;AAcrD,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,YAAY;EAAEC,MAAM;EAAEC;AAAyB,CAAC,KAAK;EAClF,MAAMC,CAAC,GAAGN,SAAS,CAAC,CAAC;EACrB,MAAM;IAAEO,YAAY;IAAEC;EAAM,CAAC,GAAGL,YAAY;EAE5C,MAAMM,SAAS,GAAIC,CAAe,IAAK;IACnC,IAAIC,MAAe,GAAG,EAAE;IACxB,IAAG,CAACD,CAAC,CAACE,UAAU,IAAI,CAACF,CAAC,CAACG,SAAS,EAAC;MAAEF,MAAM,CAACG,IAAI,CAAC,sDAAsD,CAAC;IAAC;IACvG,IAAGJ,CAAC,CAACK,WAAW,EAAC;MAAEJ,MAAM,CAACG,IAAI,CAAC,0CAA0C,CAAC;IAAC;IAC3E,OAAOH,MAAM;EACjB,CAAC;EAED,MAAMA,MAAM,GAAGF,SAAS,CAACL,MAAM,CAAC;EAEhC,oBACIX,KAAA,CAAAuB,aAAA,CAACjB,IAAI;IAACkB,KAAK,EAAE;MAAEC,QAAQ,EAAC;IAAE;EAAE,gBACxBzB,KAAA,CAAAuB,aAAA,CAACr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;IAACuD,QAAQ,EAAC,YAAY;IAACrC,KAAK,EAAE;MAAEY,aAAa,EAAC,KAAK;MAAEF,OAAO,EAAC;IAAG;EAAE,gBACnElC,KAAA,CAAAuB,aAAA,CAACnB,MAAM;IACH0D,KAAK,EAAC,OAAO;IACbtC,KAAK,EAAE;MAAEkB,IAAI,EAAC,CAAC;MAAEqB,WAAW,EAAC;IAAE,CAAE;IACjCC,IAAI,EAAC,OAAO;IACZC,OAAO,EAAEA,CAAA,KAAMrD,OAAO,CAAC;EAAE,CAC5B,CACC,CAEJ,CAAC;AAEf,CAAC;AAED,eAAeJ,WAAW","ignoreList":[]}
@@ -1,14 +1,16 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { ActivityIndicator, View, Image } from 'react-native';
3
- import { Button, Icons, Text, TextInput } from '../../Components';
4
- import Colors from '../../constants/colors';
2
+ import { ActivityIndicator, Image } from 'react-native';
3
+ import { Icons } from '../../Components';
5
4
  import { ProfileApi, ProfileHelpers } from '../api';
5
+ import { Button, Text, TextInput, View } from '../../Components/Themed';
6
+ import { useColors } from '../../constants/useColors';
6
7
  const CodeRedeem = ({
7
8
  walkthrough,
8
9
  onVerify,
9
10
  onClose,
10
11
  onRedeemCode
11
12
  }) => {
13
+ const C = useColors();
12
14
  const [loading, setLoading] = useState(false);
13
15
  const [show_reward, setShowReward] = useState(false);
14
16
  const [action_loading, setActionLoading] = useState(false);
@@ -66,7 +68,7 @@ const CodeRedeem = ({
66
68
  if (loading) {
67
69
  return /*#__PURE__*/React.createElement(ActivityIndicator, {
68
70
  size: "large",
69
- color: Colors.brand.midnight,
71
+ color: C.text.h1,
70
72
  style: {
71
73
  padding: 40,
72
74
  alignSelf: 'center'
@@ -78,11 +80,11 @@ const CodeRedeem = ({
78
80
  const change_allowed = !loading && ProfileHelpers.isChangeCodeAllowed(code_request) ? true : false;
79
81
  return /*#__PURE__*/React.createElement(View, {
80
82
  style: {
81
- flex: 1
83
+ flexGrow: 1
82
84
  }
83
85
  }, /*#__PURE__*/React.createElement(View, {
84
86
  style: {
85
- flex: 1,
87
+ flexGrow: 1,
86
88
  padding: 20
87
89
  }
88
90
  }, /*#__PURE__*/React.createElement(View, {
@@ -91,15 +93,13 @@ const CodeRedeem = ({
91
93
  }
92
94
  }, /*#__PURE__*/React.createElement(Text, {
93
95
  size: 30,
94
- color: Colors.brand.midnight,
95
- weight: "bold"
96
+ theme: "h1"
96
97
  }, "How Did You Find Us?"), /*#__PURE__*/React.createElement(Text, {
97
98
  style: {
98
99
  marginTop: 15
99
100
  },
100
101
  size: 16,
101
- color: Colors.brand.midnight,
102
- weight: "regular"
102
+ theme: "h2"
103
103
  }, "All new players are eligible for a one-time sign up bonus. Below is the code / referrer used during sign up.")), /*#__PURE__*/React.createElement(View, {
104
104
  style: {
105
105
  padding: 10,
@@ -107,59 +107,57 @@ const CodeRedeem = ({
107
107
  }
108
108
  }, /*#__PURE__*/React.createElement(Text, {
109
109
  size: 20,
110
- weight: "bold",
111
- textAlign: "center",
112
- color: Colors.brand.midnight
110
+ theme: "h1",
111
+ textAlign: "center"
113
112
  }, "CODE USED"), /*#__PURE__*/React.createElement(View, {
113
+ type: "input",
114
114
  style: {
115
115
  marginTop: 20,
116
- backgroundColor: Colors.shades.white,
117
- borderRadius: 22,
118
116
  flexDirection: 'row',
119
117
  alignItems: 'center'
120
118
  }
121
119
  }, /*#__PURE__*/React.createElement(View, {
120
+ transparent: true,
122
121
  style: {
123
122
  paddingLeft: 15,
124
123
  paddingRight: 15
125
124
  }
126
125
  }, /*#__PURE__*/React.createElement(Icons.USDIcon, {
127
- color: Colors.brand.midnight,
126
+ color: C.text.h1,
128
127
  size: 18
129
128
  })), /*#__PURE__*/React.createElement(TextInput, {
130
129
  value: draft_code,
131
130
  style: {
132
131
  flex: 1,
133
- borderRadius: 0,
134
- backroundColor: change_allowed ? Colors.shades.white : Colors.shades.shade100
132
+ textAlign: 'center'
135
133
  },
136
134
  placeholder: "Add Code Here",
137
135
  editable: change_allowed,
138
- placeholderTextColor: Colors.brand.slate,
136
+ transparent: true,
139
137
  onChangeText: text => setDraftCode(text)
140
138
  }), /*#__PURE__*/React.createElement(View, {
139
+ transparent: true,
141
140
  style: {
142
141
  paddingLeft: 15,
143
142
  paddingRight: 15
144
143
  }
145
144
  }, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
146
145
  size: "small",
147
- color: Colors.brand.midnight
146
+ color: C.text.h1
148
147
  }) : /*#__PURE__*/React.createElement(View, null, !is_changed && code_request ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
149
148
  size: 16,
150
- color: Colors.utility.success
149
+ color: C.text.success
151
150
  }) : !code_error ? /*#__PURE__*/React.createElement(Icons.AlertIcon, {
152
151
  size: 16,
153
- color: Colors.utility.warning
152
+ color: C.text.warning
154
153
  }) : /*#__PURE__*/React.createElement(Icons.CloseIcon, {
155
154
  size: 14,
156
- color: Colors.utility.error
155
+ color: C.text.error
157
156
  })))), code_error ? /*#__PURE__*/React.createElement(Text, {
158
157
  style: {
159
158
  padding: 5
160
159
  },
161
- size: 14,
162
- color: Colors.utility.error,
160
+ theme: "error",
163
161
  textAlign: "center"
164
162
  }, code_error) : /*#__PURE__*/React.createElement(React.Fragment, null), is_changed ? /*#__PURE__*/React.createElement(Button, {
165
163
  title: "Apply Code",
@@ -168,14 +166,12 @@ const CodeRedeem = ({
168
166
  opacity: try_allowed ? 1 : 0.5
169
167
  },
170
168
  disabled: !try_allowed,
171
- padding: 15,
172
169
  onPress: () => handleTryCodeRequest(),
173
- title_color: Colors.shades.white,
174
- backgroundColor: Colors.brand.electric
170
+ type: "success"
175
171
  }) : /*#__PURE__*/React.createElement(React.Fragment, null), false ? /*#__PURE__*/React.createElement(Text, {
176
- size: 14,
177
- color: Colors.utility.warning
172
+ theme: "warning"
178
173
  }, 'ERROR GOES HERE') : /*#__PURE__*/React.createElement(React.Fragment, null)), !reward_option ? /*#__PURE__*/React.createElement(View, {
174
+ float: true,
179
175
  style: {
180
176
  padding: 10,
181
177
  marginTop: 20
@@ -184,11 +180,11 @@ const CodeRedeem = ({
184
180
  size: 20,
185
181
  weight: "bold",
186
182
  textAlign: "center",
187
- color: Colors.brand.midnight
183
+ theme: "h1"
188
184
  }, "CODE OFFER"), promo ? /*#__PURE__*/React.createElement(View, {
185
+ transparent: true,
189
186
  style: {
190
187
  marginTop: 20,
191
- backgroundColor: Colors.shades.white,
192
188
  borderRadius: 8,
193
189
  padding: 10
194
190
  }
@@ -196,46 +192,38 @@ const CodeRedeem = ({
196
192
  style: {
197
193
  marginTop: 5
198
194
  },
199
- size: 14,
200
- color: Colors.brand.midnight,
201
- weight: "regular",
195
+ theme: "description",
202
196
  textAlign: "center"
203
197
  }, ProfileHelpers.getReferralDescription(promo))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, {
198
+ float: true,
204
199
  style: {
205
200
  padding: 10,
206
201
  marginTop: 20
207
202
  }
208
203
  }, /*#__PURE__*/React.createElement(Text, {
209
204
  size: 20,
210
- weight: "bold",
211
- textAlign: "center",
212
- color: Colors.brand.midnight
205
+ theme: "h1",
206
+ textAlign: "center"
213
207
  }, "CODE REDEEMED"), reward_option ? /*#__PURE__*/React.createElement(View, {
208
+ transparent: true,
214
209
  style: {
215
210
  marginTop: 10,
216
- backgroundColor: Colors.highlights.highlight400Faded,
217
211
  padding: 10,
218
212
  borderRadius: 8
219
213
  }
220
214
  }, /*#__PURE__*/React.createElement(Text, {
221
215
  size: 14,
222
- color: Colors.brand.midnight,
223
- weight: "semibold"
216
+ theme: "h2"
224
217
  }, "AWARDED: ", reward_option.reward_name), code_request && promo && ['referral_sweepstakes', 'referral_code'].includes(promo.type) ? /*#__PURE__*/React.createElement(Text, {
225
218
  style: {
226
219
  marginTop: 10
227
220
  },
228
- size: 14,
229
- color: Colors.brand.midnight,
230
- weight: "semibold"
221
+ theme: "h2"
231
222
  }, "KICKBACK STATUS: ", code_request.status == 'fulfilled' ? 'Referrer will get the same reward amount after you make your first deposit' : 'Kickback received') : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null))), referrer ? /*#__PURE__*/React.createElement(View, {
223
+ float: true,
232
224
  style: {
233
- margin: 10,
234
- marginRight: 30,
235
- marginLeft: 30,
236
- padding: 5,
237
- backgroundColor: Colors.shades.white,
238
- borderRadius: 8
225
+ margin: 20,
226
+ padding: 5
239
227
  }
240
228
  }, /*#__PURE__*/React.createElement(View, {
241
229
  nativeID: "referrer_details",
@@ -260,13 +248,12 @@ const CodeRedeem = ({
260
248
  }
261
249
  }, /*#__PURE__*/React.createElement(Text, {
262
250
  size: 16,
263
- weight: "bold"
251
+ theme: "h1"
264
252
  }, "Referred By: ", referrer.first_name, " ", referrer.last_name), /*#__PURE__*/React.createElement(Text, {
265
253
  style: {
266
254
  marginTop: 5
267
255
  },
268
- size: 14,
269
- weight: "regular"
256
+ theme: "description"
270
257
  }, "@", referrer.username)))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
271
258
  style: {
272
259
  flexDirection: 'row',
@@ -278,28 +265,21 @@ const CodeRedeem = ({
278
265
  flex: 1,
279
266
  marginRight: 5
280
267
  },
281
- borderColor: Colors.brand.electric,
282
- title_color: Colors.brand.electric,
283
- borderWidth: 1,
284
- padding: 15,
268
+ type: "close",
285
269
  onPress: () => onClose()
286
270
  }), code_request?.status == 'requested' ? /*#__PURE__*/React.createElement(Button, {
287
271
  title: "VERIFY MY ACCOUNT",
288
272
  style: {
289
273
  flex: 3
290
274
  },
291
- backgroundColor: Colors.utility.warning,
292
- title_color: Colors.shades.white,
293
- padding: 15,
275
+ type: "success",
294
276
  onPress: () => onVerify()
295
277
  }) : code_request?.status == 'verified' ? /*#__PURE__*/React.createElement(Button, {
296
278
  title: "REDEEM CODE",
297
279
  style: {
298
280
  flex: 3
299
281
  },
300
- backgroundColor: Colors.utility.success,
301
- title_color: Colors.shades.white,
302
- padding: 15,
282
+ type: "success",
303
283
  onPress: () => handleRedeemCode()
304
284
  }) : /*#__PURE__*/React.createElement(Button, {
305
285
  title: "CODE REDEEMED",
@@ -307,40 +287,38 @@ const CodeRedeem = ({
307
287
  flex: 3
308
288
  },
309
289
  disabled: true,
310
- backgroundColor: Colors.brand.slate,
311
- title_color: Colors.shades.white,
312
- padding: 15,
290
+ type: "info",
313
291
  onPress: () => console.log('REDEEMED!!!')
314
292
  })), show_reward ? /*#__PURE__*/React.createElement(View, {
293
+ type: "blur",
315
294
  style: {
316
295
  position: 'absolute',
317
296
  top: 0,
318
297
  left: 0,
319
298
  right: 0,
320
299
  bottom: 0,
321
- backgroundColor: Colors.shades.black_faded,
322
300
  justifyContent: 'center',
323
301
  alignItems: 'center'
324
302
  }
325
303
  }, /*#__PURE__*/React.createElement(View, {
304
+ float: true,
326
305
  style: {
327
- borderRadius: 8,
328
- backgroundColor: Colors.shades.white,
329
306
  padding: 20,
330
307
  minWidth: 250,
331
308
  minHeight: 200
332
309
  }
333
- }, reward_option ? /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
310
+ }, reward_option ? /*#__PURE__*/React.createElement(View, {
311
+ transparent: true
312
+ }, /*#__PURE__*/React.createElement(Text, {
334
313
  size: 14,
335
- color: Colors.brand.midnight,
336
- weight: "semibold",
314
+ theme: "h1",
337
315
  textAlign: "center"
338
316
  }, "CONGRATULATIONS!"), /*#__PURE__*/React.createElement(Text, {
339
317
  style: {
340
318
  marginTop: 10
341
319
  },
342
320
  size: 30,
343
- color: Colors.utility.success,
321
+ theme: "success",
344
322
  weight: "bold",
345
323
  textAlign: "center"
346
324
  }, reward_option.reward_name), /*#__PURE__*/React.createElement(Text, {
@@ -348,26 +326,22 @@ const CodeRedeem = ({
348
326
  marginTop: 10
349
327
  },
350
328
  size: 14,
351
- color: Colors.brand.midnight,
352
- weight: "regular",
329
+ theme: "description",
353
330
  textAlign: "center"
354
331
  }, "AWARD RECEIVED"), /*#__PURE__*/React.createElement(Button, {
355
332
  title: "CLOSE",
356
- title_color: Colors.shades.white,
357
333
  style: {
358
334
  marginTop: 20
359
335
  },
360
- padding: 15,
361
- backgroundColor: Colors.brand.electric,
336
+ type: "close",
362
337
  onPress: () => setShowReward(false)
363
338
  })) : /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
364
339
  size: 14,
365
- color: Colors.brand.midnight,
366
- weight: "semibold",
340
+ theme: "h1",
367
341
  textAlign: "center"
368
342
  }, "GETTING YOUR REWARD..."), /*#__PURE__*/React.createElement(ActivityIndicator, {
369
343
  size: "large",
370
- color: Colors.brand.midnight,
344
+ color: C.text.h1,
371
345
  style: {
372
346
  alignSelf: 'center',
373
347
  marginTop: 20
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","ActivityIndicator","View","Image","Button","Icons","Text","TextInput","Colors","ProfileApi","ProfileHelpers","CodeRedeem","walkthrough","onVerify","onClose","onRedeemCode","loading","setLoading","show_reward","setShowReward","action_loading","setActionLoading","data","setData","code_error","setCodeError","draft_code","setDraftCode","code_request","promo","reward_option","referrer","getDataFromServer","request_response","getMyCodeDetails","referral_code","handleTryCodeRequest","tryCodeRequest","result","error_message","handleRedeemCode","redeemCode","code_request_id","setTimeout","createElement","size","color","brand","midnight","style","padding","alignSelf","is_changed","try_allowed","change_allowed","isChangeCodeAllowed","flex","weight","marginTop","textAlign","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","USDIcon","value","backroundColor","shade100","placeholder","editable","placeholderTextColor","slate","onChangeText","text","CheckIcon","utility","success","AlertIcon","warning","CloseIcon","error","Fragment","title","opacity","disabled","onPress","title_color","electric","getReferralDescription","highlights","highlight400Faded","reward_name","includes","type","status","margin","marginRight","marginLeft","nativeID","source","uri","profile_pic","height","width","resizeMode","first_name","last_name","username","borderColor","borderWidth","console","log","position","top","left","right","bottom","black_faded","justifyContent","minWidth","minHeight"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/CodeRedeem.tsx"],"mappings":"AAAA,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AACC,QAAS;IAACC,KAAK,EAAE;MAACE,SAAS,EAAC,QAAQ;MAAEO,SAAS,EAAC;IAAG;EAAE,CAAC,CACxG,CAEJ,CAAC,KACN,eAAA5D,KAAA,CAAA8C,aAAA,CAAA9C,KAAA,CAAAuF,QAAA,MAAI,CACH,CAAC,gBACNvF,KAAA,CAAA8C,aAAA,CAAA9C,KAAA,CAAAuF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAe1E,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","ActivityIndicator","Image","Icons","ProfileApi","ProfileHelpers","Button","Text","TextInput","View","useColors","CodeRedeem","walkthrough","onVerify","onClose","onRedeemCode","C","loading","setLoading","show_reward","setShowReward","action_loading","setActionLoading","data","setData","code_error","setCodeError","draft_code","setDraftCode","code_request","promo","reward_option","referrer","getDataFromServer","request_response","getMyCodeDetails","referral_code","handleTryCodeRequest","tryCodeRequest","result","error_message","handleRedeemCode","redeemCode","code_request_id","setTimeout","createElement","size","color","text","h1","style","padding","alignSelf","is_changed","try_allowed","change_allowed","isChangeCodeAllowed","flexGrow","theme","marginTop","textAlign","type","flexDirection","alignItems","transparent","paddingLeft","paddingRight","USDIcon","value","flex","placeholder","editable","onChangeText","CheckIcon","success","AlertIcon","warning","CloseIcon","error","Fragment","title","opacity","disabled","onPress","float","weight","borderRadius","getReferralDescription","reward_name","includes","status","margin","nativeID","source","uri","profile_pic","height","width","resizeMode","marginLeft","first_name","last_name","username","marginRight","console","log","position","top","left","right","bottom","justifyContent","minWidth","minHeight"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/CodeRedeem.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,iBAAiB,EAAEC,KAAK,QAAQ,cAAc;AACvD,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAEnD,SAASC,MAAM,EAA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AK,EAAC,OAAO;IACb9B,KAAK,EAAE;MAAES,SAAS,EAAC;IAAG,CAAE;IACxBE,IAAI,EAAC,OAAO;IACZsB,OAAO,EAAEA,CAAA,KAAM/D,aAAa,CAAC,KAAK;EAAE,CACvC,CACC,CAAC,gBAEPtB,KAAA,CAAA+C,aAAA,CAACpC,IAAI,qBACDX,KAAA,CAAA+C,aAAA,CAACtC,IAAI;IAACuC,IAAI,EAAE,EAAG;IAACY,KAAK,EAAC,IAAI;IAACE,SAAS,EAAC;EAAQ,GAAC,wBAA4B,CAAC,eAC3E9D,KAAA,CAAA+C,aAAA,CAAC5C,iBAAiB;IAAC6C,IAAI,EAAC,OAAO;IAACC,KAAK,EAAE/B,CAAC,CAACgC,IAAI,CAACC,EAAG;IAACC,KAAK,EAAE;MAACE,SAAS,EAAC,QAAQ;MAAEO,SAAS,EAAC;IAAG;EAAE,CAAC,CAC5F,CAEJ,CAAC,KACN,eAAA7D,KAAA,CAAA+C,aAAA,CAAA/C,KAAA,CAAAiF,QAAA,MAAI,CACH,CAAC,gBACNjF,KAAA,CAAA+C,aAAA,CAAA/C,KAAA,CAAAiF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAepE,UAAU","ignoreList":[]}
@@ -1,10 +1,12 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import moment from 'moment-mini';
3
- import { View, ActivityIndicator, TouchableOpacity } from 'react-native';
4
- import { Button, Icons, Text, TextInput } from '../../Components';
3
+ import { ActivityIndicator, TouchableOpacity } from 'react-native';
4
+ import { Icons } from '../../Components';
5
5
  import Colors from '../../constants/colors';
6
6
  import { ProfileApi } from '../api';
7
7
  import { button_styles } from '../../constants/styles';
8
+ import { Button, Text, TextInput, View } from '../../Components/Themed';
9
+ import { useColors } from '../../constants/useColors';
8
10
  const DOBManager = ({
9
11
  player,
10
12
  walkthrough,
@@ -12,6 +14,7 @@ const DOBManager = ({
12
14
  onNext,
13
15
  onClose
14
16
  }) => {
17
+ const C = useColors();
15
18
  const [loading, setLoading] = useState(false);
16
19
  const [dob, setDob] = useState('');
17
20
  const [error, setError] = useState(undefined);
@@ -80,11 +83,11 @@ const DOBManager = ({
80
83
  };
81
84
  return /*#__PURE__*/React.createElement(View, {
82
85
  style: {
83
- flex: 1
86
+ flexGrow: 1
84
87
  }
85
88
  }, /*#__PURE__*/React.createElement(View, {
86
89
  style: {
87
- flex: 1,
90
+ flexGrow: 1,
88
91
  justifyContent: 'center'
89
92
  }
90
93
  }, /*#__PURE__*/React.createElement(View, {
@@ -93,65 +96,65 @@ const DOBManager = ({
93
96
  }
94
97
  }, /*#__PURE__*/React.createElement(Text, {
95
98
  size: 30,
96
- color: Colors.brand.midnight,
97
- weight: "bold"
99
+ theme: "h1"
98
100
  }, "Date Of Birth"), /*#__PURE__*/React.createElement(Text, {
99
101
  style: {
100
102
  marginTop: 15
101
103
  },
102
104
  size: 16,
103
- color: Colors.brand.midnight,
104
- weight: "regular"
105
+ theme: "h2"
105
106
  }, "In order to participate in real-money gaming you must be over 18.")), /*#__PURE__*/React.createElement(View, {
106
107
  style: {
107
108
  padding: 30,
108
- flex: 1
109
+ flexGrow: 1
109
110
  }
110
111
  }, /*#__PURE__*/React.createElement(View, {
112
+ type: "input",
111
113
  style: {
112
- backgroundColor: Colors.shades.white,
113
- borderRadius: 22,
114
114
  flexDirection: 'row',
115
115
  alignItems: 'center'
116
116
  }
117
117
  }, /*#__PURE__*/React.createElement(View, {
118
+ transparent: true,
118
119
  style: {
119
120
  paddingLeft: 15,
120
121
  paddingRight: 15
121
122
  }
122
123
  }, /*#__PURE__*/React.createElement(Icons.BirthdayIcon, {
123
- color: Colors.brand.midnight,
124
+ color: C.text.h1,
124
125
  size: 18
125
126
  })), /*#__PURE__*/React.createElement(TextInput, {
126
127
  value: dob,
127
128
  placeholder: "01/01/2005",
128
129
  editable: player.vouched_status == 'verified' ? false : true,
129
- placeholderTextColor: Colors.brand.slate,
130
130
  style: {
131
- flex: 1,
132
- borderRadius: 0
131
+ flex: 1
133
132
  },
133
+ transparent: true,
134
134
  onChangeText: text => handleDOBChange(text)
135
135
  }), /*#__PURE__*/React.createElement(View, {
136
+ transparent: true,
136
137
  style: {
137
138
  paddingLeft: 15,
138
139
  paddingRight: 15
139
140
  }
140
141
  }, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
141
142
  size: "small",
142
- color: Colors.brand.midnight
143
- }) : /*#__PURE__*/React.createElement(View, null, player.dob && !error ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
143
+ color: C.text.h1
144
+ }) : /*#__PURE__*/React.createElement(View, {
145
+ transparent: true
146
+ }, player.dob && !error ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
144
147
  size: 16,
145
- color: Colors.utility.success
148
+ color: C.text.success
146
149
  }) : /*#__PURE__*/React.createElement(Icons.AlertIcon, {
147
150
  size: 16,
148
- color: Colors.utility.warning
151
+ color: C.text.warning
149
152
  })))), error ? /*#__PURE__*/React.createElement(Text, {
150
153
  size: 14,
151
- color: Colors.utility.warning
154
+ color: C.text.warning
152
155
  }, error) : age_error ? /*#__PURE__*/React.createElement(Text, {
153
156
  size: 14,
154
- color: Colors.utility.warning
157
+ color: C.text.warning
155
158
  }, age_error) : /*#__PURE__*/React.createElement(React.Fragment, null))), walkthrough ? /*#__PURE__*/React.createElement(View, {
156
159
  nativeID: "action_row",
157
160
  style: {
@@ -161,8 +164,7 @@ const DOBManager = ({
161
164
  }
162
165
  }, /*#__PURE__*/React.createElement(Button, {
163
166
  title: "EXIT SETUP",
164
- title_color: Colors.utility.error,
165
- backgroundColor: "transparent",
167
+ type: "text",
166
168
  onPress: () => onClose()
167
169
  }), /*#__PURE__*/React.createElement(TouchableOpacity, {
168
170
  style: !error && !loading ? button_styles.wizard_valid : button_styles.wizard_invalid,
@@ -185,10 +187,7 @@ const DOBManager = ({
185
187
  marginRight: 5
186
188
  },
187
189
  title: "BACK",
188
- padding: 15,
189
- title_color: Colors.brand.electric,
190
- borderWidth: 1,
191
- borderColor: Colors.brand.electric,
190
+ type: "close",
192
191
  onPress: () => onClose()
193
192
  }), /*#__PURE__*/React.createElement(Button, {
194
193
  style: {
@@ -198,12 +197,9 @@ const DOBManager = ({
198
197
  disabled: !update_allowed,
199
198
  loading: loading,
200
199
  title: "UPDATE",
201
- padding: 15,
202
- title_color: Colors.shades.white,
203
- backgroundColor: Colors.utility.success,
200
+ type: "success",
204
201
  onPress: async () => {
205
202
  await handleUpdatePlayerDOB();
206
- //onClose()
207
203
  }
208
204
  })));
209
205
  };