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 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","moment","View","ActivityIndicator","TouchableOpacity","Button","Icons","Text","TextInput","Colors","ProfileApi","button_styles","DOBManager","player","walkthrough","onPlayerUpdate","onNext","onClose","loading","setLoading","dob","setDob","error","setError","undefined","age_error","setAgeError","split_dob","split","new_date","valid","isValid","format","age_diff","diff","isUpdateNeeded","new_dob","old_dob","handleDOBChange","val","dob_moment","update_allowed","handleUpdatePlayerDOB","new_player","updatePlayerDOB","handleNext","createElement","style","flex","justifyContent","padding","size","color","brand","midnight","weight","marginTop","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","BirthdayIcon","value","placeholder","editable","vouched_status","placeholderTextColor","slate","onChangeText","text","CheckIcon","utility","success","AlertIcon","warning","Fragment","nativeID","title","title_color","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","marginRight","electric","borderWidth","borderColor","opacity"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/DOBManager.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,OAAOC,MAAM,MAAM,aAAa;AAChC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AAE,CAAC7C,cAAe;IAC1BvB,OAAO,EAAEA,OAAQ;IACjB+D,KAAK,EAAC,QAAQ;IACd/B,OAAO,EAAE,EAAG;IACZgC,WAAW,EAAEzE,MAAM,CAACiD,MAAM,CAACC,KAAM;IACjCF,eAAe,EAAEhD,MAAM,CAACkE,OAAO,CAACC,OAAQ;IACxCO,OAAO,EAAE,MAAAA,CAAA,KAAW;MAChB,MAAMzC,qBAAqB,CAAC,CAAC;MAC7B;IACJ;EAAE,CACL,CACC,CAEJ,CAAC;AAEf,CAAC;AAED,eAAe9B,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","moment","ActivityIndicator","TouchableOpacity","Icons","Colors","ProfileApi","button_styles","Button","Text","TextInput","View","useColors","DOBManager","player","walkthrough","onPlayerUpdate","onNext","onClose","C","loading","setLoading","dob","setDob","error","setError","undefined","age_error","setAgeError","split_dob","split","new_date","valid","isValid","format","age_diff","diff","isUpdateNeeded","new_dob","old_dob","handleDOBChange","val","dob_moment","update_allowed","handleUpdatePlayerDOB","new_player","updatePlayerDOB","handleNext","createElement","style","flexGrow","justifyContent","padding","size","theme","marginTop","type","flexDirection","alignItems","transparent","paddingLeft","paddingRight","BirthdayIcon","color","text","h1","value","placeholder","editable","vouched_status","flex","onChangeText","CheckIcon","success","AlertIcon","warning","Fragment","nativeID","title","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","brand","midnight","marginRight","opacity"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/DOBManager.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AAClE,SAASC,KAAK,QAAQ,kBAAkB;AACxC,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,UAAU,QAAQ,QAAQ;AACnC,SAASC,aAAa,QAAQ,wBAAwB;AAEtD,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C;EAAE,gBAE5BjD,KAAA,CAAAkD,aAAA,CAAC5C,KAAK,CAAC+E,WAAW;IAAC9B,IAAI,EAAE,EAAG;IAAC+B,SAAS,EAAC,OAAO;IAACrB,KAAK,EAAE1D,MAAM,CAACgF,KAAK,CAACC;EAAS,CAAC,CAC/D,CAChB,CAAC,gBAEPxF,KAAA,CAAAkD,aAAA,CAACrC,IAAI;IAACkE,QAAQ,EAAC,YAAY;IAAC5B,KAAK,EAAE;MAAEQ,aAAa,EAAC,KAAK;MAAEN,cAAc,EAAC,eAAe;MAAEC,OAAO,EAAC;IAAG;EAAE,gBACnGtD,KAAA,CAAAkD,aAAA,CAACxC,MAAM;IACHyC,KAAK,EAAE;MAAEqB,IAAI,EAAC,CAAC;MAAEiB,WAAW,EAAC;IAAE,CAAE;IACjCT,KAAK,EAAC,MAAM;IACZtB,IAAI,EAAC,OAAO;IACZuB,OAAO,EAAEA,CAAA,KAAM7D,OAAO,CAAC;EAAE,CAC5B,CAAC,eACFpB,KAAA,CAAAkD,aAAA,CAACxC,MAAM;IACHyC,KAAK,EAAE;MAAEqB,IAAI,EAAC,CAAC;MAAEkB,OAAO,EAAC7C,cAAc,GAAC,CAAC,GAAC;IAAI,CAAE;IAChDuC,QAAQ,EAAE,CAACvC,cAAe;IAC1BvB,OAAO,EAAEA,OAAQ;IACjB0D,KAAK,EAAC,QAAQ;IACdtB,IAAI,EAAC,SAAS;IACduB,OAAO,EAAE,MAAAA,CAAA,KAAW;MAChB,MAAMnC,qBAAqB,CAAC,CAAC;IACjC;EAAE,CACL,CACC,CAEJ,CAAC;AAEf,CAAC;AAED,eAAe/B,UAAU","ignoreList":[]}
@@ -1,9 +1,10 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { View, ActivityIndicator, TouchableOpacity } from 'react-native';
3
- import { Button, Icons, Text, TextInput } from '../../Components';
4
- import Colors from '../../constants/colors';
5
- import { button_styles, view_styles } from '../../constants/styles';
2
+ import { ActivityIndicator, TouchableOpacity } from 'react-native';
3
+ import { Icons } from '../../Components';
4
+ import { button_styles } from '../../constants/styles';
6
5
  import { ProfileApi, ProfileHelpers } from '../api';
6
+ import { Button, Text, TextInput, View } from '../../Components/Themed';
7
+ import { useColors } from '../../constants/useColors';
7
8
  const EmailManager = ({
8
9
  player,
9
10
  walkthrough,
@@ -11,6 +12,7 @@ const EmailManager = ({
11
12
  onNext,
12
13
  onClose
13
14
  }) => {
15
+ const C = useColors();
14
16
  const [loading, setLoading] = useState(false);
15
17
  const [verify_token, setVerifyToken] = useState({
16
18
  loading: false,
@@ -96,11 +98,11 @@ const EmailManager = ({
96
98
  };
97
99
  return /*#__PURE__*/React.createElement(View, {
98
100
  style: {
99
- flex: 1
101
+ flexGrow: 1
100
102
  }
101
103
  }, /*#__PURE__*/React.createElement(View, {
102
104
  style: {
103
- flex: 1
105
+ flexGrow: 1
104
106
  }
105
107
  }, /*#__PURE__*/React.createElement(View, {
106
108
  style: {
@@ -108,23 +110,20 @@ const EmailManager = ({
108
110
  }
109
111
  }, /*#__PURE__*/React.createElement(Text, {
110
112
  size: 30,
111
- color: Colors.brand.midnight,
112
- weight: "bold"
113
+ theme: "h1"
113
114
  }, "Confirm Your Email"), /*#__PURE__*/React.createElement(Text, {
114
115
  style: {
115
116
  marginTop: 15
116
117
  },
117
118
  size: 16,
118
- color: Colors.brand.midnight,
119
- weight: "regular"
119
+ theme: "h2"
120
120
  }, "Confirming your email will help secure your account and is required for real-money activities")), /*#__PURE__*/React.createElement(View, {
121
121
  style: {
122
122
  padding: 30
123
123
  }
124
124
  }, /*#__PURE__*/React.createElement(View, {
125
+ type: "input",
125
126
  style: {
126
- backgroundColor: Colors.shades.white,
127
- borderRadius: 22,
128
127
  flexDirection: 'row',
129
128
  alignItems: 'center'
130
129
  }
@@ -134,15 +133,15 @@ const EmailManager = ({
134
133
  paddingRight: 15
135
134
  }
136
135
  }, /*#__PURE__*/React.createElement(Icons.EmailIcon, {
137
- color: Colors.brand.midnight,
136
+ color: C.text.h1,
138
137
  size: 18
139
138
  })), /*#__PURE__*/React.createElement(TextInput, {
140
139
  value: draft_player.email,
141
140
  keyboardType: "email-address",
142
141
  style: {
143
- flex: 1,
144
- borderRadius: 0
142
+ flex: 1
145
143
  },
144
+ transparent: true,
146
145
  onChangeText: text => {
147
146
  if (update_error) {
148
147
  setUpdateError(undefined);
@@ -153,38 +152,36 @@ const EmailManager = ({
153
152
  });
154
153
  }
155
154
  }), /*#__PURE__*/React.createElement(View, {
155
+ transparent: true,
156
156
  style: {
157
157
  paddingLeft: 15,
158
158
  paddingRight: 15
159
159
  }
160
160
  }, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
161
161
  size: "small",
162
- color: Colors.brand.midnight
163
- }) : /*#__PURE__*/React.createElement(View, null, valid ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
162
+ color: C.text.h1
163
+ }) : /*#__PURE__*/React.createElement(View, {
164
+ transparent: true
165
+ }, valid ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
164
166
  size: 16,
165
- color: Colors.utility.success
167
+ color: C.text.success
166
168
  }) : verify_token.visible ? /*#__PURE__*/React.createElement(Icons.AlertIcon, {
167
169
  size: 16,
168
- color: Colors.utility.warning
170
+ color: C.text.warning
169
171
  }) : /*#__PURE__*/React.createElement(Icons.CloseIcon, {
170
172
  size: 14,
171
- color: Colors.utility.error
173
+ color: C.text.error
172
174
  })))), error ? /*#__PURE__*/React.createElement(Text, {
173
175
  style: {
174
176
  marginTop: 10
175
177
  },
176
- size: 14,
177
- color: Colors.utility.warning,
178
- weight: "semibold",
178
+ theme: "warning",
179
179
  textAlign: "center"
180
180
  }, error) : /*#__PURE__*/React.createElement(React.Fragment, null), update_error ? /*#__PURE__*/React.createElement(Text, {
181
181
  style: {
182
182
  marginTop: 10
183
183
  },
184
- size: 14,
185
- color: Colors.utility.warning,
186
- weight: "semibold",
187
- textAlign: "center"
184
+ theme: "warning"
188
185
  }, update_error) : /*#__PURE__*/React.createElement(React.Fragment, null))), walkthrough ? /*#__PURE__*/React.createElement(View, {
189
186
  nativeID: "action_row",
190
187
  style: {
@@ -194,8 +191,7 @@ const EmailManager = ({
194
191
  }
195
192
  }, /*#__PURE__*/React.createElement(Button, {
196
193
  title: "EXIT SETUP",
197
- title_color: Colors.utility.error,
198
- backgroundColor: "transparent",
194
+ type: "text",
199
195
  onPress: () => onClose()
200
196
  }), /*#__PURE__*/React.createElement(TouchableOpacity, {
201
197
  style: valid && !loading ? button_styles.wizard_valid : button_styles.wizard_invalid,
@@ -204,7 +200,7 @@ const EmailManager = ({
204
200
  }, /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
205
201
  size: 20,
206
202
  direction: "right",
207
- color: Colors.brand.midnight
203
+ color: C.text.h1
208
204
  }))) : /*#__PURE__*/React.createElement(View, {
209
205
  nativeID: "action_row",
210
206
  style: {
@@ -218,10 +214,7 @@ const EmailManager = ({
218
214
  marginRight: 5
219
215
  },
220
216
  title: "BACK",
221
- padding: 15,
222
- title_color: Colors.brand.electric,
223
- borderWidth: 1,
224
- borderColor: Colors.brand.electric,
217
+ type: "close",
225
218
  onPress: () => onClose()
226
219
  }), /*#__PURE__*/React.createElement(Button, {
227
220
  style: {
@@ -231,51 +224,43 @@ const EmailManager = ({
231
224
  disabled: !valid || loading || !update_allowed,
232
225
  loading: loading,
233
226
  title: "UPDATE",
234
- padding: 15,
235
- title_color: Colors.shades.white,
236
- backgroundColor: Colors.utility.success,
227
+ type: "success",
237
228
  onPress: async () => {
238
229
  await handleUpdatePlayer();
239
230
  }
240
231
  })), verify_token.visible ? /*#__PURE__*/React.createElement(View, {
232
+ type: "blur",
241
233
  style: {
242
234
  position: 'absolute',
243
235
  top: 0,
244
236
  left: 0,
245
237
  right: 0,
246
238
  bottom: 0,
247
- backgroundColor: Colors.shades.black_faded,
248
239
  justifyContent: 'center',
249
240
  alignItems: 'center'
250
241
  }
251
242
  }, /*#__PURE__*/React.createElement(View, {
243
+ float: true,
252
244
  style: {
253
- padding: 20,
254
- backgroundColor: Colors.shades.white,
255
- borderRadius: 8,
256
- ...view_styles.float
245
+ padding: 20
257
246
  }
258
247
  }, /*#__PURE__*/React.createElement(View, {
248
+ transparent: true,
259
249
  style: {
260
250
  padding: 10
261
251
  }
262
252
  }, /*#__PURE__*/React.createElement(Text, {
263
253
  size: 14,
264
- weight: "semibold",
265
- color: Colors.brand.midnight,
266
- textAlign: "center"
254
+ theme: "description"
267
255
  }, "Enter Code Sent To"), /*#__PURE__*/React.createElement(Text, {
268
256
  size: 18,
269
257
  style: {
270
- marginTop: 10
258
+ marginTop: 5
271
259
  },
272
- weight: "bold",
273
- color: Colors.brand.midnight,
274
- textAlign: "center"
260
+ theme: "h1"
275
261
  }, draft_player.email)), /*#__PURE__*/React.createElement(View, {
262
+ type: "input",
276
263
  style: {
277
- backgroundColor: Colors.shades.white,
278
- borderRadius: 22,
279
264
  flexDirection: 'row',
280
265
  alignItems: 'center'
281
266
  }
@@ -283,17 +268,18 @@ const EmailManager = ({
283
268
  value: verify_token.token,
284
269
  textContentType: "oneTimeCode",
285
270
  style: {
286
- flex: 1
271
+ flex: 1,
272
+ textAlign: 'center'
287
273
  },
288
274
  placeholder: "00000",
289
- placeholderTextColor: Colors.brand.slate,
275
+ transparent: true,
290
276
  onChangeText: text => setVerifyToken({
291
277
  ...verify_token,
292
278
  token: text
293
279
  })
294
280
  })), verify_error ? /*#__PURE__*/React.createElement(Text, {
295
281
  size: 14,
296
- color: Colors.utility.warning
282
+ theme: "warning"
297
283
  }, error) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Button, {
298
284
  title: "CONFIRM",
299
285
  style: {
@@ -301,10 +287,8 @@ const EmailManager = ({
301
287
  opacity: token_valid && !loading ? 1 : 0.5
302
288
  },
303
289
  disabled: !token_valid || loading,
304
- padding: 15,
305
290
  loading: verify_token.loading,
306
- title_color: Colors.shades.white,
307
- backgroundColor: Colors.utility.success,
291
+ type: "success",
308
292
  onPress: () => handleVerifyEmail()
309
293
  }), /*#__PURE__*/React.createElement(Button, {
310
294
  title: "CANCEL",
@@ -312,11 +296,8 @@ const EmailManager = ({
312
296
  marginTop: 10
313
297
  },
314
298
  disabled: loading,
315
- padding: 15,
316
299
  loading: verify_token.loading,
317
- title_color: Colors.brand.electric,
318
- borderWidth: 1,
319
- borderColor: Colors.brand.electric,
300
+ type: "close",
320
301
  onPress: () => handleCancelUpdate()
321
302
  }))) : /*#__PURE__*/React.createElement(React.Fragment, null));
322
303
  };
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","View","ActivityIndicator","TouchableOpacity","Button","Icons","Text","TextInput","Colors","button_styles","view_styles","ProfileApi","ProfileHelpers","EmailManager","player","walkthrough","onPlayerUpdate","onNext","onClose","loading","setLoading","verify_token","setVerifyToken","visible","token","draft_player","setDraftPlayer","update_error","setUpdateError","verify_error","setVerifyError","valid","error","isEmailValid","email","is_changed","toLowerCase","token_valid","update_allowed","handleUpdatePlayer","updatePlayerEmail","undefined","setTimeout","e","handleNext","handleVerifyEmail","confirmPlayerEmail","handleCancelUpdate","createElement","style","flex","padding","size","color","brand","midnight","weight","marginTop","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","EmailIcon","value","keyboardType","onChangeText","text","CheckIcon","utility","success","AlertIcon","warning","CloseIcon","textAlign","Fragment","nativeID","justifyContent","title","title_color","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","marginRight","electric","borderWidth","borderColor","opacity","position","top","left","right","bottom","black_faded","float","textContentType","placeholder","placeholderTextColor","slate"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/EmailManager.tsx"],"mappings":"AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AACxE,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,EAAEC,SAAS,QAAQ,kBAAkB;AACjE,OAAOC,MAAM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AS,EAAC,EAAE;MAAEoC,OAAO,EAACxD,WAAW,IAAI,CAAClB,OAAO,GAAG,CAAC,GAAG;IAAI,CAAE;IACnEmE,QAAQ,EAAE,CAACjD,WAAW,IAAIlB,OAAQ;IAClCgC,OAAO,EAAE,EAAG;IACZhC,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9B+D,WAAW,EAAE1E,MAAM,CAACmD,MAAM,CAACC,KAAM;IACjCF,eAAe,EAAElD,MAAM,CAACgE,OAAO,CAACC,OAAQ;IACxCU,OAAO,EAAEA,CAAA,KAAMtC,iBAAiB,CAAC;EAAE,CACtC,CAAC,eACF/C,KAAA,CAAAkD,aAAA,CAAC5C,MAAM;IACH6E,KAAK,EAAC,QAAQ;IACdhC,KAAK,EAAE;MAAEQ,SAAS,EAAC;IAAG,CAAE;IACxB6B,QAAQ,EAAEnE,OAAQ;IAClBgC,OAAO,EAAE,EAAG;IACZhC,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9B+D,WAAW,EAAE1E,MAAM,CAAC8C,KAAK,CAACoC,QAAS;IACnCC,WAAW,EAAE,CAAE;IACfC,WAAW,EAAEpF,MAAM,CAAC8C,KAAK,CAACoC,QAAS;IACnCP,OAAO,EAAEA,CAAA,KAAMpC,kBAAkB,CAAC;EAAE,CACvC,CACC,CACJ,CAAC,gBACNjD,KAAA,CAAAkD,aAAA,CAAAlD,KAAA,CAAAgF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAejE,YAAY","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","ActivityIndicator","TouchableOpacity","Icons","button_styles","ProfileApi","ProfileHelpers","Button","Text","TextInput","View","useColors","EmailManager","player","walkthrough","onPlayerUpdate","onNext","onClose","C","loading","setLoading","verify_token","setVerifyToken","visible","token","draft_player","setDraftPlayer","update_error","setUpdateError","verify_error","setVerifyError","valid","error","isEmailValid","email","is_changed","toLowerCase","token_valid","update_allowed","handleUpdatePlayer","updatePlayerEmail","undefined","setTimeout","e","handleNext","handleVerifyEmail","confirmPlayerEmail","handleCancelUpdate","createElement","style","flexGrow","padding","size","theme","marginTop","type","flexDirection","alignItems","paddingLeft","paddingRight","EmailIcon","color","text","h1","value","keyboardType","flex","transparent","onChangeText","CheckIcon","success","AlertIcon","warning","CloseIcon","textAlign","Fragment","nativeID","justifyContent","title","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","marginRight","opacity","position","top","left","right","bottom","float","textContentType","placeholder"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/EmailManager.tsx"],"mappings":"AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AAClE,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,aAAa,QAAQ,wBAAwB;AACtD,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAEnD,SAASC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,yBAAyB;AACvE,SAASC,SAAS,QAAQ,2BAA2B;AAWrD,MAAMC,YAAY,GAAGA,CAAC;EAAEC,MAAM;EAAEC,WAAW;EAAEC,cAAc;EAAEC,MAAM;EAAEC;AAA0B,CAAC,KAAK;EACjG,MAAMC,CAAC,GAAGP,SAAS,CAAC,CAAC;EACrB,MAAM,CAAEQ,OAAO,EAAEC,UAAU,CAAE,GAAGpB,QAAQ,CAAC,KAAK,CAAC;EAC/C,MAAM,CAAEqB,YAAY,EAAEC,cAAc,CAAE,GAAGtB,QAAQ,CAAC;IAC9CmB,OAAO,EAAC,KAAK;IACbI,OAAO,EAAE,KAAK;IACdC,KAAK,EAAE;EACX,CAAC,CAAC;EACF,MAAM,CAAEC,YAAY,EAAEC,cAAc,CAAE,GAAG1B,QAAQ,CAAgBa,MAAM,CAAC;EACxE,MAAM,CAAEc,YAAY,EAAEC,cAAc,CAAE,GAAG5B,QAAQ,CAAS,CAAC;EAC3D,MAA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EAAE/D,OAAQ;IAClBA,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9BoC,IAAI,EAAC,OAAO;IACZwB,OAAO,EAAEA,CAAA,KAAMhC,kBAAkB,CAAC;EAAE,CACvC,CACC,CACJ,CAAC,gBACNjD,KAAA,CAAAkD,aAAA,CAAAlD,KAAA,CAAA6E,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAe/D,YAAY","ignoreList":[]}
@@ -1,9 +1,11 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { View, FlatList, TouchableOpacity } from 'react-native';
3
- import { Button, Icons, Text, TextInput } from '../../Components';
2
+ import { FlatList, TouchableOpacity } from 'react-native';
3
+ import { Icons } from '../../Components';
4
4
  import Colors from '../../constants/colors';
5
5
  import { ProfileApi, ProfileHelpers } from '../api';
6
6
  import { button_styles } from '../../constants/styles';
7
+ import { Text, View, Button, TextInput } from '../../Components/Themed';
8
+ import { useColors } from '../../constants/useColors';
7
9
  const PasswordManager = ({
8
10
  player,
9
11
  walkthrough,
@@ -11,6 +13,7 @@ const PasswordManager = ({
11
13
  onNext,
12
14
  onClose
13
15
  }) => {
16
+ const C = useColors();
14
17
  const [draft_player, setDraftPlayer] = useState(player);
15
18
  const [draft_password, setDraftPassword] = useState({
16
19
  change_visible: false,
@@ -93,14 +96,13 @@ const PasswordManager = ({
93
96
  style: {
94
97
  flex: 1
95
98
  },
96
- size: 14,
97
- color: Colors.brand.midnight
99
+ theme: "h2"
98
100
  }, data.item.label), data.item.state === 'valid' ? /*#__PURE__*/React.createElement(Icons.CheckCirlceIcon, {
99
101
  size: 14,
100
- color: Colors.utility.success
102
+ color: C.text.success
101
103
  }) : /*#__PURE__*/React.createElement(Icons.AlertIcon, {
102
104
  size: 14,
103
- color: Colors.utility.warning
105
+ color: C.text.warning
104
106
  }));
105
107
  };
106
108
  const valid_states = validatePassword();
@@ -132,7 +134,7 @@ const PasswordManager = ({
132
134
  };
133
135
  return /*#__PURE__*/React.createElement(View, {
134
136
  style: {
135
- flex: 1
137
+ flexGrow: 1
136
138
  }
137
139
  }, walkthrough ? /*#__PURE__*/React.createElement(View, {
138
140
  style: {
@@ -140,44 +142,39 @@ const PasswordManager = ({
140
142
  }
141
143
  }, /*#__PURE__*/React.createElement(Text, {
142
144
  size: 30,
143
- color: Colors.brand.midnight,
144
- weight: "bold"
145
+ theme: "h1"
145
146
  }, "Secure Your Account"), /*#__PURE__*/React.createElement(Text, {
146
147
  style: {
147
148
  marginTop: 15
148
149
  },
149
150
  size: 16,
150
- color: Colors.brand.midnight,
151
- weight: "regular"
151
+ theme: "h2"
152
152
  }, "Help up secure your account with a password. Once set, you can login using your username and password")) : /*#__PURE__*/React.createElement(React.Fragment, null), draft_player.no_password || change_visible ? /*#__PURE__*/React.createElement(View, {
153
153
  style: {
154
- padding: 20,
155
- flex: 1
154
+ padding: 20
156
155
  }
157
156
  }, !draft_player.no_password ? /*#__PURE__*/React.createElement(View, {
157
+ type: "input",
158
158
  style: {
159
159
  margin: 10,
160
- backgroundColor: Colors.shades.white,
161
- borderRadius: 22,
162
160
  flexDirection: 'row',
163
161
  alignItems: 'center'
164
162
  }
165
163
  }, /*#__PURE__*/React.createElement(View, {
164
+ transparent: true,
166
165
  style: {
167
166
  paddingLeft: 15,
168
167
  paddingRight: 15
169
168
  }
170
169
  }, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
171
- color: Colors.brand.midnight,
170
+ color: C.text.h1,
172
171
  size: 18
173
172
  })), /*#__PURE__*/React.createElement(TextInput, {
174
173
  value: draft_password.current_password,
175
174
  placeholder: "My Current Password",
176
175
  secureTextEntry: true,
177
- placeholderTextColor: Colors.brand.slate,
176
+ transparent: true,
178
177
  style: {
179
- borderTopLeftRadius: 0,
180
- borderBottomLeftRadius: 0,
181
178
  flex: 1
182
179
  },
183
180
  onChangeText: text => setDraftPassword({
@@ -185,63 +182,56 @@ const PasswordManager = ({
185
182
  current_password: text
186
183
  })
187
184
  })) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
185
+ type: "input",
188
186
  style: {
189
- flex: 1,
190
187
  margin: 10,
191
- marginTop: 0,
192
- backgroundColor: Colors.shades.white,
193
- borderRadius: 22,
194
188
  flexDirection: 'row',
195
189
  alignItems: 'center'
196
190
  }
197
191
  }, /*#__PURE__*/React.createElement(View, {
192
+ transparent: true,
198
193
  style: {
199
194
  paddingLeft: 15,
200
195
  paddingRight: 15
201
196
  }
202
197
  }, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
203
- color: Colors.brand.midnight,
198
+ color: C.text.h1,
204
199
  size: 18
205
200
  })), /*#__PURE__*/React.createElement(TextInput, {
206
201
  value: draft_password.password,
207
202
  placeholder: "Enter Password",
203
+ transparent: true,
208
204
  secureTextEntry: true,
209
- placeholderTextColor: Colors.brand.slate,
210
205
  style: {
211
- flex: 1,
212
- borderTopLeftRadius: 0,
213
- borderBottomLeftRadius: 0
206
+ flex: 1
214
207
  },
215
208
  onChangeText: text => setDraftPassword({
216
209
  ...draft_password,
217
210
  password: text
218
211
  })
219
212
  })), /*#__PURE__*/React.createElement(View, {
213
+ type: "input",
220
214
  style: {
221
215
  margin: 10,
222
- marginTop: 0,
223
- backgroundColor: Colors.shades.white,
224
- borderRadius: 22,
225
216
  flexDirection: 'row',
226
217
  alignItems: 'center'
227
218
  }
228
219
  }, /*#__PURE__*/React.createElement(View, {
220
+ transparent: true,
229
221
  style: {
230
222
  paddingLeft: 15,
231
223
  paddingRight: 15
232
224
  }
233
225
  }, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
234
- color: Colors.brand.midnight,
226
+ color: C.text.h1,
235
227
  size: 18
236
228
  })), /*#__PURE__*/React.createElement(TextInput, {
237
229
  value: draft_password.re_password,
238
230
  placeholder: "Re-Enter Password",
239
231
  secureTextEntry: true,
240
- placeholderTextColor: Colors.brand.slate,
232
+ transparent: true,
241
233
  style: {
242
- flex: 1,
243
- borderTopLeftRadius: 0,
244
- borderBottomLeftRadius: 0
234
+ flex: 1
245
235
  },
246
236
  onChangeText: text => setDraftPassword({
247
237
  ...draft_password,
@@ -257,15 +247,16 @@ const PasswordManager = ({
257
247
  keyExtractor: item => item.type ?? item.attribute
258
248
  }))) : /*#__PURE__*/React.createElement(View, {
259
249
  style: {
260
- flex: 1,
250
+ flexGrow: 1,
261
251
  justifyContent: 'center',
262
252
  alignItems: 'center',
263
253
  padding: 10
264
254
  }
265
255
  }, /*#__PURE__*/React.createElement(View, {
256
+ float: true,
266
257
  style: {
267
258
  borderRadius: 8,
268
- backgroundColor: Colors.shades.shade600,
259
+ backgroundColor: C.views.background,
269
260
  justifyContent: 'center',
270
261
  alignItems: 'center',
271
262
  padding: 30
@@ -275,20 +266,17 @@ const PasswordManager = ({
275
266
  marginBottom: 30
276
267
  },
277
268
  size: 24,
278
- color: Colors.brand.midnight,
279
- weight: "bold"
269
+ theme: "h1"
280
270
  }, "Password Set"), /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
281
271
  size: 40,
282
- color: Colors.utility.success
272
+ color: C.text.success
283
273
  }), /*#__PURE__*/React.createElement(Button, {
284
274
  title: "CHANGE",
285
275
  style: {
286
276
  marginTop: 20,
287
- padding: 15,
288
- flex: 0
277
+ padding: 15
289
278
  },
290
- title_color: Colors.shades.white,
291
- backgroundColor: Colors.brand.electric,
279
+ type: "info",
292
280
  onPress: () => setDraftPassword({
293
281
  ...draft_password,
294
282
  change_visible: true
@@ -302,8 +290,7 @@ const PasswordManager = ({
302
290
  }
303
291
  }, /*#__PURE__*/React.createElement(Button, {
304
292
  title: "EXIT SETUP",
305
- title_color: Colors.utility.error,
306
- backgroundColor: "transparent",
293
+ type: "text",
307
294
  onPress: () => onClose()
308
295
  }), /*#__PURE__*/React.createElement(TouchableOpacity, {
309
296
  disabled: !is_valid,
@@ -326,10 +313,7 @@ const PasswordManager = ({
326
313
  marginRight: 5
327
314
  },
328
315
  title: "BACK",
329
- padding: 15,
330
- title_color: Colors.brand.electric,
331
- borderWidth: 1,
332
- borderColor: Colors.brand.electric,
316
+ type: "close",
333
317
  onPress: () => onClose()
334
318
  }), /*#__PURE__*/React.createElement(Button, {
335
319
  style: {
@@ -338,9 +322,7 @@ const PasswordManager = ({
338
322
  },
339
323
  disabled: !is_valid || !password,
340
324
  title: "UPDATE",
341
- padding: 15,
342
- title_color: Colors.shades.white,
343
- backgroundColor: Colors.utility.success,
325
+ type: "success",
344
326
  onPress: () => handleSetPassword()
345
327
  })));
346
328
  };