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,8 +1,8 @@
1
1
  import React, { useEffect, useState } from 'react';
2
2
  import { CompetitionApi, CompetitionHelpers, CompetitionMatchApi, CompetitionPlayerApi, PlayerPicksApi } from './api';
3
- import { View, ScrollView, Image, TouchableOpacity, ActivityIndicator, Modal } from 'react-native';
3
+ import { Image, ActivityIndicator, Modal, FlatList } from 'react-native';
4
4
  import { view_styles } from '../constants/styles';
5
- import { Button, ConfirmationModal, Icons, Text } from '../Components';
5
+ import { ConfirmationModal, Icons } from '../Components';
6
6
  import Colors from '../constants/colors';
7
7
  import CompetitionInfoCard from './components/CompetitionInfoCard';
8
8
  import CompetitionLeaderboard from './components/CompetitionLeaderboard';
@@ -12,6 +12,9 @@ import EnterCompetitionPrompt from './components/EnterCompetitionPrompt';
12
12
  import moment from 'moment-mini';
13
13
  import LeaderPicks from './components/LeaderPicks';
14
14
  import SeasonCard from './components/SeasonCard';
15
+ import { Button, Text, View } from '../Components/Themed';
16
+ import { useColors } from '../constants/useColors';
17
+ const competition_sections = ['header', 'join', 'details', 'leaderboard', 'play'];
15
18
  const CompetitionModule = ({
16
19
  competition_id,
17
20
  player_id,
@@ -22,6 +25,7 @@ const CompetitionModule = ({
22
25
  onClose,
23
26
  onViewCompetitionSeason
24
27
  }) => {
28
+ const C = useColors();
25
29
  const [viewing_leader, setViewingLeader] = useState();
26
30
  const [show_full_leaderboard, setShowFullLeaderboard] = useState(false);
27
31
  const [module_size, setModuleSize] = useState({
@@ -315,6 +319,171 @@ const CompetitionModule = ({
315
319
  });
316
320
  }
317
321
  };
322
+ const renderSections = data => {
323
+ if (!competition) {
324
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
325
+ }
326
+ switch (data.item) {
327
+ case 'header':
328
+ return /*#__PURE__*/React.createElement(View, {
329
+ type: "header",
330
+ nativeID: "competition_header",
331
+ style: {
332
+ flexDirection: 'row',
333
+ alignItems: 'center',
334
+ padding: 20,
335
+ borderBottomWidth: 1,
336
+ borderColor: C.borders.light
337
+ }
338
+ }, /*#__PURE__*/React.createElement(View, {
339
+ transparent: true
340
+ }, /*#__PURE__*/React.createElement(Image, {
341
+ source: {
342
+ uri: competition.image?.url ?? 'https://res.cloudinary.com/hoabts6mc/image/upload/v1649737862/be_logo_jte2ux.webp'
343
+ },
344
+ style: {
345
+ height: 50,
346
+ width: 50,
347
+ borderRadius: 4
348
+ },
349
+ resizeMode: "cover"
350
+ })), /*#__PURE__*/React.createElement(View, {
351
+ transparent: true,
352
+ style: {
353
+ flex: 1,
354
+ marginLeft: 10,
355
+ marginRight: 10
356
+ }
357
+ }, /*#__PURE__*/React.createElement(Text, {
358
+ theme: "h1"
359
+ }, competition.competition_name), /*#__PURE__*/React.createElement(Text, {
360
+ style: {
361
+ marginTop: 4
362
+ },
363
+ theme: "h2"
364
+ }, competition.competition_description)), /*#__PURE__*/React.createElement(Button, {
365
+ float: true,
366
+ onPress: () => onShareCompetition(competition)
367
+ }, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
368
+ color: C.text.h1,
369
+ size: 14
370
+ })));
371
+ case 'join':
372
+ return /*#__PURE__*/React.createElement(View, {
373
+ transparent: true
374
+ }, competition_season ? /*#__PURE__*/React.createElement(SeasonCard, {
375
+ competition_season: competition_season,
376
+ authenticated_competition_player: authenticated_competition_player,
377
+ onViewSeason: cs => onViewCompetitionSeason(cs)
378
+ }) : /*#__PURE__*/React.createElement(View, {
379
+ transparent: true,
380
+ type: "header",
381
+ style: {
382
+ flexDirection: 'row',
383
+ padding: 10
384
+ }
385
+ }, /*#__PURE__*/React.createElement(View, {
386
+ transparent: true,
387
+ style: {
388
+ flex: 1
389
+ }
390
+ }, /*#__PURE__*/React.createElement(Text, {
391
+ size: 12,
392
+ theme: "description"
393
+ }, competition.status == 'closed' ? 'COMPLETED' : in_progress ? 'IN PROGRESS' : 'JOIN UNTIL'), in_progress ? /*#__PURE__*/React.createElement(Text, {
394
+ style: {
395
+ marginTop: 5
396
+ },
397
+ theme: "h2"
398
+ }, moment(competition.scheduled_datetime).format('MMM DD hh:mm a')) : /*#__PURE__*/React.createElement(Text, {
399
+ style: {
400
+ marginTop: 5
401
+ },
402
+ theme: "h2"
403
+ }, moment(competition.scheduled_datetime).format('MMM DD hh:mm a'))), !authenticated_competition_player ? /*#__PURE__*/React.createElement(Button, {
404
+ style: {
405
+ opacity: can_join ? 1 : 0.5
406
+ },
407
+ disabled: !can_join,
408
+ loading: loading,
409
+ title: `JOIN`,
410
+ type: "success",
411
+ onPress: () => {
412
+ if (competition.competition_season_id) {
413
+ return alert('Please select the season to join!');
414
+ }
415
+ setShowEnterPrompt(true);
416
+ }
417
+ }) : competition.status != 'closed' ? /*#__PURE__*/React.createElement(Button, {
418
+ style: {
419
+ opacity: can_leave ? 1 : 0.5
420
+ },
421
+ title: "LEAVE",
422
+ loading: loading,
423
+ type: "error",
424
+ onPress: () => {
425
+ if (competition.competition_season_id) {
426
+ return alert('You can only leave via the season');
427
+ }
428
+ if (!can_leave) {
429
+ return alert('Please remove all picks and try again');
430
+ }
431
+ handleLeaveCompetition();
432
+ }
433
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null)));
434
+ case 'details':
435
+ if (!competition || !competition_type || !competition_result_type) {
436
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
437
+ }
438
+ return /*#__PURE__*/React.createElement(CompetitionInfoCard, {
439
+ competition: competition,
440
+ competition_type: competition_type,
441
+ competition_result_type: competition_result_type,
442
+ competition_payouts: competition_payout_types.filter(cpt => cpt.competition_result_type_id == competition_result_type?.competition_result_type_id)
443
+ });
444
+ case 'leaderboard':
445
+ if (!competition_type) {
446
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
447
+ }
448
+ return /*#__PURE__*/React.createElement(CompetitionLeaderboard, {
449
+ competition: competition,
450
+ width: module_size.width,
451
+ competition_type: competition_type,
452
+ height: module_size.height,
453
+ onLeaderSelect: player => setViewingLeader(player),
454
+ view_mode: "short",
455
+ onSeeFull: () => setShowFullLeaderboard(true),
456
+ viewer_id: player_id
457
+ });
458
+ case 'play':
459
+ if (!competition || !competition_type) {
460
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
461
+ }
462
+ return /*#__PURE__*/React.createElement(CompetitionPlay, {
463
+ competition: competition,
464
+ competition_type: competition_type,
465
+ competition_matches: competition_matches,
466
+ competition_match_markets: competition_match_markets,
467
+ leagues: leagues,
468
+ events: events,
469
+ pick_loading: pick_loading,
470
+ athletes: athletes,
471
+ markets: markets,
472
+ tournaments: tournaments,
473
+ matches: matches,
474
+ player_picks: player_picks,
475
+ player_id: player_id,
476
+ competition_players: competition_players,
477
+ authenticated_competition_player: authenticated_competition_player,
478
+ height: module_size.height,
479
+ width: module_size.width,
480
+ onPick: handlePick,
481
+ onRequestAuthentication: () => onRequestAuthentication(competition.auth_strategy_id)
482
+ });
483
+ default:
484
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
485
+ }
486
+ };
318
487
  if (!competition || !competition_type || !competition_result_type) {
319
488
  return /*#__PURE__*/React.createElement(View, {
320
489
  style: {
@@ -331,11 +500,7 @@ const CompetitionModule = ({
331
500
  }
332
501
  return /*#__PURE__*/React.createElement(View, {
333
502
  style: {
334
- flex: 1
335
- }
336
- }, /*#__PURE__*/React.createElement(ScrollView, {
337
- style: {
338
- flex: 1
503
+ flexGrow: 1
339
504
  },
340
505
  onLayout: ev => {
341
506
  const {
@@ -347,158 +512,17 @@ const CompetitionModule = ({
347
512
  height
348
513
  });
349
514
  }
350
- }, /*#__PURE__*/React.createElement(View, {
351
- style: {
352
- backgroundColor: Colors.shades.white
353
- }
354
- }, /*#__PURE__*/React.createElement(View, {
355
- nativeID: "competition_header",
356
- style: {
357
- flexDirection: 'row',
358
- alignItems: 'center',
359
- padding: 20,
360
- borderBottomWidth: 1,
361
- borderColor: Colors.shades.shade600
362
- }
363
- }, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Image, {
364
- source: {
365
- uri: competition.image?.url ?? 'https://res.cloudinary.com/hoabts6mc/image/upload/v1649737862/be_logo_jte2ux.webp'
366
- },
367
- style: {
368
- height: 50,
369
- width: 50,
370
- borderRadius: 4
371
- },
372
- resizeMode: "cover"
373
- })), /*#__PURE__*/React.createElement(View, {
374
- style: {
375
- flex: 1,
376
- marginLeft: 10
377
- }
378
- }, /*#__PURE__*/React.createElement(Text, {
379
- theme: "header"
380
- }, competition.competition_name), /*#__PURE__*/React.createElement(Text, {
381
- style: {
382
- marginTop: 4
383
- },
384
- theme: "header_2>"
385
- }, competition.competition_description)), /*#__PURE__*/React.createElement(TouchableOpacity, {
386
- style: {
387
- paddingLeft: 10
388
- },
389
- onPress: () => onShareCompetition(competition)
390
- }, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
391
- color: Colors.brand.midnight,
392
- size: 14
393
- }))), competition_season ? /*#__PURE__*/React.createElement(SeasonCard, {
394
- competition_season: competition_season,
395
- authenticated_competition_player: authenticated_competition_player,
396
- onViewSeason: cs => onViewCompetitionSeason(cs)
397
- }) : /*#__PURE__*/React.createElement(View, {
398
- style: {
399
- flexDirection: 'row',
400
- padding: 10,
401
- backgroundColor: Colors.shades.shade100
402
- }
403
- }, /*#__PURE__*/React.createElement(View, {
404
- style: {
405
- flex: 1
406
- }
407
- }, /*#__PURE__*/React.createElement(Text, {
408
- size: 12,
409
- color: Colors.brand.midnight,
410
- weight: "regular"
411
- }, competition.status == 'closed' ? 'COMPLETED' : in_progress ? 'IN PROGRESS' : 'JOIN UNTIL'), in_progress ? /*#__PURE__*/React.createElement(Text, {
412
- style: {
413
- marginTop: 5
414
- },
415
- size: 12,
416
- color: Colors.brand.midnight,
417
- weight: "bold"
418
- }, moment(competition.scheduled_datetime).format('MMM DD hh:mm a')) : /*#__PURE__*/React.createElement(Text, {
419
- style: {
420
- marginTop: 5
421
- },
422
- size: 12,
423
- color: Colors.brand.midnight,
424
- weight: "bold"
425
- }, moment(competition.scheduled_datetime).format('MMM DD hh:mm a'))), !authenticated_competition_player ? /*#__PURE__*/React.createElement(Button, {
426
- style: {
427
- opacity: can_join ? 1 : 0.5
428
- },
429
- disabled: !can_join,
430
- loading: loading,
431
- title: `JOIN`,
432
- title_color: Colors.shades.white,
433
- backgroundColor: Colors.utility.success,
434
- onPress: () => {
435
- if (competition.competition_season_id) {
436
- return alert('Please select the season to join!');
437
- }
438
- setShowEnterPrompt(true);
439
- }
440
- }) : competition.status != 'closed' ? /*#__PURE__*/React.createElement(Button, {
441
- style: {
442
- flex: 1,
443
- opacity: can_leave ? 1 : 0.5
444
- },
445
- title: "LEAVE",
446
- loading: loading,
447
- title_color: Colors.shades.white,
448
- backgroundColor: Colors.utility.error,
449
- onPress: () => {
450
- if (competition.competition_season_id) {
451
- return alert('You can only leave via the season');
452
- }
453
- if (!can_leave) {
454
- return alert('Please remove all picks and try again');
455
- }
456
- handleLeaveCompetition();
457
- }
458
- }) : /*#__PURE__*/React.createElement(React.Fragment, null))), /*#__PURE__*/React.createElement(CompetitionInfoCard, {
459
- competition: competition,
460
- competition_type: competition_type,
461
- competition_result_type: competition_result_type,
462
- competition_payouts: competition_payout_types.filter(cpt => cpt.competition_result_type_id == competition_result_type?.competition_result_type_id)
463
- }), /*#__PURE__*/React.createElement(CompetitionLeaderboard, {
464
- competition: competition,
465
- width: module_size.width,
466
- competition_type: competition_type,
467
- height: module_size.height,
468
- onLeaderSelect: player => setViewingLeader(player),
469
- view_mode: "short",
470
- onSeeFull: () => setShowFullLeaderboard(true),
471
- viewer_id: player_id
472
- }), /*#__PURE__*/React.createElement(CompetitionPlay, {
473
- competition: competition,
474
- competition_type: competition_type,
475
- competition_matches: competition_matches,
476
- competition_match_markets: competition_match_markets,
477
- leagues: leagues,
478
- events: events,
479
- pick_loading: pick_loading,
480
- athletes: athletes,
481
- markets: markets,
482
- tournaments: tournaments,
483
- matches: matches,
484
- player_picks: player_picks,
485
- player_id: player_id,
486
- competition_players: competition_players,
487
- authenticated_competition_player: authenticated_competition_player,
488
- height: module_size.height,
489
- width: module_size.width,
490
- onPick: handlePick,
491
- onRequestAuthentication: () => onRequestAuthentication(competition.auth_strategy_id)
492
- }), /*#__PURE__*/React.createElement(View, {
515
+ }, /*#__PURE__*/React.createElement(FlatList, {
516
+ key: `competition_sections`,
517
+ data: competition_sections,
518
+ keyExtractor: item => item,
519
+ renderItem: renderSections
520
+ }), player?.player_id == competition.admin_id ? /*#__PURE__*/React.createElement(View, {
521
+ float: true,
522
+ type: "row",
493
523
  style: {
494
- ...view_styles.section
495
- }
496
- })), player?.player_id == competition.admin_id ? /*#__PURE__*/React.createElement(View, {
497
- style: {
498
- ...view_styles.body_row,
499
524
  padding: 0,
500
- paddingRight: 10,
501
- backgroundColor: Colors.shades.shade100
525
+ paddingRight: 10
502
526
  }
503
527
  }, /*#__PURE__*/React.createElement(Image, {
504
528
  source: {
@@ -516,17 +540,17 @@ const CompetitionModule = ({
516
540
  padding: 5
517
541
  }
518
542
  }, /*#__PURE__*/React.createElement(Text, {
519
- theme: "header_2"
543
+ theme: "h2"
520
544
  }, "ADMIN ACTIONS"), /*#__PURE__*/React.createElement(Text, {
521
545
  style: {
522
546
  marginTop: 3
523
547
  },
524
- theme: "body_2"
548
+ theme: "description"
525
549
  }, "Press manage to make changes to this competition")), /*#__PURE__*/React.createElement(Button, {
550
+ float: true,
526
551
  title: "MANAGE",
527
- title_color: Colors.shades.white,
528
- backgroundColor: Colors.brand.electric,
529
- onPress: () => onManageCompetition(competition_id)
552
+ onPress: () => onManageCompetition(competition_id),
553
+ type: "info"
530
554
  })) : /*#__PURE__*/React.createElement(React.Fragment, null), show_full_leaderboard ? /*#__PURE__*/React.createElement(View, {
531
555
  style: {
532
556
  position: 'absolute',
@@ -545,7 +569,7 @@ const CompetitionModule = ({
545
569
  onClose: () => setShowFullLeaderboard(false),
546
570
  onSeeFull: () => setShowFullLeaderboard(!show_full_leaderboard),
547
571
  viewer_id: player_id
548
- }), "xxw ") : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
572
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
549
573
  style: {
550
574
  position: 'absolute'
551
575
  }
@@ -560,16 +584,16 @@ const CompetitionModule = ({
560
584
  ...nav_out,
561
585
  visible: false
562
586
  })
563
- })), draft_player_pick?.draft_pick ? /*#__PURE__*/React.createElement(View, {
587
+ })), draft_player_pick?.draft_pick ? /*#__PURE__*/React.createElement(Modal, {
588
+ transparent: true,
589
+ visible: draft_player_pick.draft_pick ? true : false,
590
+ onRequestClose: () => setShowEnterPrompt(false),
591
+ animationType: "slide"
592
+ }, /*#__PURE__*/React.createElement(View, {
593
+ type: "blur",
564
594
  style: {
565
- position: 'absolute',
566
- top: 0,
567
- right: 0,
568
- left: 0,
569
- bottom: 0,
570
- backgroundColor: Colors.shades.black_faded,
571
- justifyContent: 'flex-end',
572
- alignItems: 'center'
595
+ flex: 1,
596
+ justifyContent: 'flex-end'
573
597
  }
574
598
  }, /*#__PURE__*/React.createElement(WagerPickForm, {
575
599
  event_start: draft_player_pick.event_start ?? '',
@@ -580,16 +604,16 @@ const CompetitionModule = ({
580
604
  player_pick: draft_player_pick.draft_pick,
581
605
  onCancel: () => setDraftPlayerPick({}),
582
606
  onSubmit: pp => handleWagerSubmit(pp)
583
- })) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Modal, {
607
+ }))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Modal, {
584
608
  transparent: true,
585
609
  visible: show_enter_prompt,
586
610
  onRequestClose: () => setShowEnterPrompt(false),
587
611
  animationType: "slide"
588
612
  }, /*#__PURE__*/React.createElement(View, {
613
+ type: "blur",
589
614
  style: {
590
615
  flex: 1,
591
- justifyContent: 'flex-end',
592
- backgroundColor: Colors.shades.black_faded
616
+ justifyContent: 'flex-end'
593
617
  }
594
618
  }, /*#__PURE__*/React.createElement(EnterCompetitionPrompt, {
595
619
  competition: competition,
@@ -601,16 +625,16 @@ const CompetitionModule = ({
601
625
  onCancel: () => setShowEnterPrompt(false),
602
626
  onEnter: promo_balance => handleEnterCompetition(promo_balance),
603
627
  onVerify: () => console.log('Handle verify')
604
- }))), viewing_leader ? /*#__PURE__*/React.createElement(View, {
628
+ }))), /*#__PURE__*/React.createElement(Modal, {
629
+ transparent: true,
630
+ visible: viewing_leader ? true : false,
631
+ onRequestClose: () => setShowEnterPrompt(false),
632
+ animationType: "slide"
633
+ }, /*#__PURE__*/React.createElement(View, {
634
+ type: "blur",
605
635
  style: {
606
- position: 'absolute',
607
- top: 0,
608
- right: 0,
609
- left: 0,
610
- bottom: 0,
611
- backgroundColor: Colors.shades.black_faded,
612
- justifyContent: 'flex-end',
613
- alignItems: 'center'
636
+ flex: 1,
637
+ justifyContent: 'flex-end'
614
638
  }
615
639
  }, /*#__PURE__*/React.createElement(LeaderPicks, {
616
640
  competition: competition,
@@ -627,7 +651,7 @@ const CompetitionModule = ({
627
651
  height: module_size.height,
628
652
  width: module_size.width,
629
653
  onClose: () => setViewingLeader(undefined)
630
- })) : /*#__PURE__*/React.createElement(React.Fragment, null), competition.status == 'inactive' ? /*#__PURE__*/React.createElement(View, {
654
+ }))), competition.status == 'inactive' ? /*#__PURE__*/React.createElement(View, {
631
655
  style: {
632
656
  position: 'absolute',
633
657
  top: 0,
@@ -652,7 +676,7 @@ const CompetitionModule = ({
652
676
  backgroundColor: Colors.shades.shade100
653
677
  }
654
678
  }, /*#__PURE__*/React.createElement(Text, {
655
- theme: "header"
679
+ theme: "h1"
656
680
  }, "Competition Has Been Deleted")), /*#__PURE__*/React.createElement(View, {
657
681
  style: {
658
682
  ...view_styles.section_body,
@@ -669,7 +693,7 @@ const CompetitionModule = ({
669
693
  },
670
694
  resizeMode: "cover"
671
695
  }), /*#__PURE__*/React.createElement(Text, {
672
- theme: "header_2"
696
+ theme: "h1"
673
697
  }, competition.competition_name)), /*#__PURE__*/React.createElement(View, {
674
698
  style: {
675
699
  ...view_styles.section_footer
@@ -679,9 +703,7 @@ const CompetitionModule = ({
679
703
  style: {
680
704
  flex: 1
681
705
  },
682
- title_color: Colors.shades.white,
683
- backgroundColor: Colors.utility.error,
684
- padding: 15,
706
+ type: "close",
685
707
  onPress: () => onClose()
686
708
  })))) : /*#__PURE__*/React.createElement(React.Fragment, null), competition.status == 'paused' ? /*#__PURE__*/React.createElement(View, {
687
709
  style: {
@@ -708,7 +730,7 @@ const CompetitionModule = ({
708
730
  backgroundColor: Colors.shades.shade100
709
731
  }
710
732
  }, /*#__PURE__*/React.createElement(Text, {
711
- theme: "header"
733
+ theme: "h1"
712
734
  }, "Competition Is Paused")), /*#__PURE__*/React.createElement(View, {
713
735
  style: {
714
736
  ...view_styles.section_body,
@@ -725,7 +747,7 @@ const CompetitionModule = ({
725
747
  },
726
748
  resizeMode: "cover"
727
749
  }), /*#__PURE__*/React.createElement(Text, {
728
- theme: "header_2"
750
+ theme: "h2"
729
751
  }, competition.competition_name)), /*#__PURE__*/React.createElement(View, {
730
752
  style: {
731
753
  ...view_styles.section_footer
@@ -735,9 +757,7 @@ const CompetitionModule = ({
735
757
  style: {
736
758
  flex: 1
737
759
  },
738
- title_color: Colors.shades.white,
739
- backgroundColor: Colors.utility.error,
740
- padding: 15,
760
+ type: "close",
741
761
  onPress: () => onClose()
742
762
  })))) : /*#__PURE__*/React.createElement(React.Fragment, null));
743
763
  };