@agg-market/ui 5.0.0 → 6.0.0

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 (517) hide show
  1. package/README.md +26 -26
  2. package/dist/auth.d.mts +1 -0
  3. package/dist/auth.d.ts +1 -0
  4. package/dist/{connect-button.js → auth.js} +6 -4
  5. package/dist/auth.mjs +8 -0
  6. package/dist/chunk-2ICOSP7N.mjs +1211 -0
  7. package/dist/chunk-5ZKPBMRK.mjs +2411 -0
  8. package/dist/{chunk-5K7VXAYM.mjs → chunk-ADGL6RFX.mjs} +2 -4
  9. package/dist/chunk-BXW3VIKV.mjs +90 -0
  10. package/dist/{chart.js → chunk-CN7GI2RJ.mjs} +250 -103
  11. package/dist/chunk-G6YKGVQR.mjs +769 -0
  12. package/dist/{chunk-PZTHM6WG.mjs → chunk-HI4EEDN5.mjs} +897 -357
  13. package/dist/{chunk-5ADMXO3Y.mjs → chunk-INRG3D4M.mjs} +5 -11
  14. package/dist/{chunk-QDMHLRDY.mjs → chunk-JE3Z52FD.mjs} +90 -38
  15. package/dist/chunk-KZOQW6NT.mjs +0 -0
  16. package/dist/chunk-LMOJKJOY.mjs +2616 -0
  17. package/dist/{chunk-YJA5VQW6.mjs → chunk-MHCHR65A.mjs} +2 -4
  18. package/dist/{chunk-IGPNIM2B.mjs → chunk-PASXFYKQ.mjs} +2 -4
  19. package/dist/chunk-UBBOLLOS.mjs +999 -0
  20. package/dist/events.d.mts +1 -0
  21. package/dist/events.d.ts +1 -0
  22. package/dist/{event-market-page.js → events.js} +4579 -4935
  23. package/dist/events.mjs +17 -0
  24. package/dist/index.d.mts +1 -79
  25. package/dist/index.d.ts +1 -79
  26. package/dist/index.js +6839 -6839
  27. package/dist/index.mjs +66 -170
  28. package/dist/modals.d.mts +1 -0
  29. package/dist/modals.d.ts +1 -0
  30. package/dist/{deposit-modal.js → modals.js} +1771 -6
  31. package/dist/modals.mjs +25 -0
  32. package/dist/pages.d.mts +1 -0
  33. package/dist/pages.d.ts +1 -0
  34. package/dist/{home-page.js → pages.js} +3868 -6
  35. package/dist/pages.mjs +16 -0
  36. package/dist/primitives.d.mts +1 -0
  37. package/dist/primitives.d.ts +1 -0
  38. package/dist/{market-details.js → primitives.js} +3302 -3729
  39. package/dist/{icon.mjs → primitives.mjs} +56 -9
  40. package/dist/trading.d.mts +1 -0
  41. package/dist/trading.d.ts +1 -0
  42. package/dist/{event-list.js → trading.js} +1426 -1467
  43. package/dist/trading.mjs +65 -0
  44. package/dist/types/auth/connect-button/connect-button.constants.d.mts +10 -0
  45. package/dist/types/auth/connect-button/connect-button.constants.d.ts +10 -0
  46. package/dist/{connect-button.d.mts → types/auth/connect-button/connect-button.types.d.mts} +5 -12
  47. package/dist/{connect-button.d.ts → types/auth/connect-button/connect-button.types.d.ts} +5 -12
  48. package/dist/types/auth/connect-button/index.d.mts +7 -0
  49. package/dist/types/auth/connect-button/index.d.ts +7 -0
  50. package/dist/types/auth/index.d.mts +1 -0
  51. package/dist/types/auth/index.d.ts +1 -0
  52. package/dist/types/constants.d.mts +1 -0
  53. package/dist/types/constants.d.ts +1 -0
  54. package/dist/types/deposit/deposit-modal.constants.d.mts +9 -0
  55. package/dist/types/deposit/deposit-modal.constants.d.ts +9 -0
  56. package/dist/{deposit-modal.d.mts → types/deposit/deposit-modal.types.d.mts} +3 -10
  57. package/dist/{deposit-modal.d.ts → types/deposit/deposit-modal.types.d.ts} +3 -10
  58. package/dist/types/deposit/index.d.mts +6 -0
  59. package/dist/types/deposit/index.d.ts +6 -0
  60. package/dist/types/deposit/steps/card-deposit.d.mts +7 -0
  61. package/dist/types/deposit/steps/card-deposit.d.ts +7 -0
  62. package/dist/types/deposit/steps/crypto-transfer.d.mts +7 -0
  63. package/dist/types/deposit/steps/crypto-transfer.d.ts +7 -0
  64. package/dist/types/deposit/steps/deposit-method.d.mts +7 -0
  65. package/dist/types/deposit/steps/deposit-method.d.ts +7 -0
  66. package/dist/types/deposit/steps/kalshi-deposit.d.mts +5 -0
  67. package/dist/types/deposit/steps/kalshi-deposit.d.ts +5 -0
  68. package/dist/types/deposit/steps/venue-selection.d.mts +7 -0
  69. package/dist/types/deposit/steps/venue-selection.d.ts +7 -0
  70. package/dist/types/events/index.d.mts +4 -0
  71. package/dist/types/events/index.d.ts +4 -0
  72. package/dist/types/events/item/event-list-item.constants.d.mts +1 -0
  73. package/dist/types/events/item/event-list-item.constants.d.ts +1 -0
  74. package/dist/types/events/item/event-list-item.types.d.mts +46 -0
  75. package/dist/types/events/item/event-list-item.types.d.ts +46 -0
  76. package/dist/types/events/item/event-list-item.utils.d.mts +23 -0
  77. package/dist/types/events/item/event-list-item.utils.d.ts +23 -0
  78. package/dist/types/events/item/index.d.mts +6 -0
  79. package/dist/types/events/item/index.d.ts +6 -0
  80. package/dist/types/events/item-details/event-list-item-details.constants.d.mts +10 -0
  81. package/dist/types/events/item-details/event-list-item-details.constants.d.ts +10 -0
  82. package/dist/types/events/item-details/event-list-item-details.types.d.mts +53 -0
  83. package/dist/types/events/item-details/event-list-item-details.types.d.ts +53 -0
  84. package/dist/types/events/item-details/event-list-item-details.utils.d.mts +26 -0
  85. package/dist/types/events/item-details/event-list-item-details.utils.d.ts +26 -0
  86. package/dist/types/events/item-details/index.d.mts +6 -0
  87. package/dist/types/events/item-details/index.d.ts +6 -0
  88. package/dist/types/events/list/event-list.constants.d.mts +3 -0
  89. package/dist/types/events/list/event-list.constants.d.ts +3 -0
  90. package/dist/types/events/list/event-list.types.d.mts +21 -0
  91. package/dist/types/events/list/event-list.types.d.ts +21 -0
  92. package/dist/types/events/list/event-list.utils.d.mts +6 -0
  93. package/dist/types/events/list/event-list.utils.d.ts +6 -0
  94. package/dist/types/events/list/index.d.mts +6 -0
  95. package/dist/types/events/list/index.d.ts +6 -0
  96. package/dist/types/events/market-details/index.d.mts +6 -0
  97. package/dist/types/events/market-details/index.d.ts +6 -0
  98. package/dist/types/events/market-details/market-details.constants.d.mts +9 -0
  99. package/dist/types/events/market-details/market-details.constants.d.ts +9 -0
  100. package/dist/types/events/market-details/market-details.types.d.mts +63 -0
  101. package/dist/types/events/market-details/market-details.types.d.ts +63 -0
  102. package/dist/types/events/market-details/market-details.utils.d.mts +46 -0
  103. package/dist/types/events/market-details/market-details.utils.d.ts +46 -0
  104. package/dist/types/index.d.mts +9 -0
  105. package/dist/types/index.d.ts +9 -0
  106. package/dist/types/modals/index.d.mts +4 -0
  107. package/dist/types/modals/index.d.ts +4 -0
  108. package/dist/types/onboarding/index.d.mts +11 -0
  109. package/dist/types/onboarding/index.d.ts +11 -0
  110. package/dist/types/onboarding/onboarding-modal.constants.d.mts +10 -0
  111. package/dist/types/onboarding/onboarding-modal.constants.d.ts +10 -0
  112. package/dist/types/onboarding/onboarding-modal.types.d.mts +55 -0
  113. package/dist/types/onboarding/onboarding-modal.types.d.ts +55 -0
  114. package/dist/types/onboarding/steps/connect-accounts.d.mts +5 -0
  115. package/dist/types/onboarding/steps/connect-accounts.d.ts +5 -0
  116. package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +5 -0
  117. package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +5 -0
  118. package/dist/types/onboarding/steps/connect-onchain-modal.d.mts +5 -0
  119. package/dist/types/onboarding/steps/connect-onchain-modal.d.ts +5 -0
  120. package/dist/types/onboarding/steps/how-it-works.d.mts +5 -0
  121. package/dist/types/onboarding/steps/how-it-works.d.ts +5 -0
  122. package/dist/types/onboarding/steps/profile-setup.d.mts +5 -0
  123. package/dist/types/onboarding/steps/profile-setup.d.ts +5 -0
  124. package/dist/types/pages/event-market/event-market.types.d.mts +42 -0
  125. package/dist/types/pages/event-market/event-market.types.d.ts +42 -0
  126. package/dist/types/pages/event-market/index.d.mts +6 -0
  127. package/dist/types/pages/event-market/index.d.ts +6 -0
  128. package/dist/types/pages/home/home.constants.d.mts +8 -0
  129. package/dist/types/pages/home/home.constants.d.ts +8 -0
  130. package/dist/{home-page.d.ts → types/pages/home/home.types.d.mts} +8 -18
  131. package/dist/{home-page.d.mts → types/pages/home/home.types.d.ts} +8 -18
  132. package/dist/types/pages/home/home.utils.d.mts +3 -0
  133. package/dist/types/pages/home/home.utils.d.ts +3 -0
  134. package/dist/types/pages/home/index.d.mts +6 -0
  135. package/dist/types/pages/home/index.d.ts +6 -0
  136. package/dist/types/pages/index.d.mts +3 -0
  137. package/dist/types/pages/index.d.ts +3 -0
  138. package/dist/types/pages/user-profile/components/activity-row.d.mts +10 -0
  139. package/dist/types/pages/user-profile/components/activity-row.d.ts +10 -0
  140. package/dist/types/pages/user-profile/components/balance-display.d.mts +12 -0
  141. package/dist/types/pages/user-profile/components/balance-display.d.ts +12 -0
  142. package/dist/types/pages/user-profile/components/balances-card.d.mts +12 -0
  143. package/dist/types/pages/user-profile/components/balances-card.d.ts +12 -0
  144. package/dist/types/pages/user-profile/components/default-avatar.d.mts +8 -0
  145. package/dist/types/pages/user-profile/components/default-avatar.d.ts +8 -0
  146. package/dist/types/pages/user-profile/components/empty-state.d.mts +10 -0
  147. package/dist/types/pages/user-profile/components/empty-state.d.ts +10 -0
  148. package/dist/types/pages/user-profile/components/position-row.d.mts +10 -0
  149. package/dist/types/pages/user-profile/components/position-row.d.ts +10 -0
  150. package/dist/types/pages/user-profile/components/positions-activity.d.mts +14 -0
  151. package/dist/types/pages/user-profile/components/positions-activity.d.ts +14 -0
  152. package/dist/types/pages/user-profile/components/user-info-card.d.mts +11 -0
  153. package/dist/types/pages/user-profile/components/user-info-card.d.ts +11 -0
  154. package/dist/types/pages/user-profile/index.d.mts +6 -0
  155. package/dist/types/pages/user-profile/index.d.ts +6 -0
  156. package/dist/types/pages/user-profile/user-profile.constants.d.mts +9 -0
  157. package/dist/types/pages/user-profile/user-profile.constants.d.ts +9 -0
  158. package/dist/{user-profile-page.d.ts → types/pages/user-profile/user-profile.types.d.mts} +12 -22
  159. package/dist/{user-profile-page.d.mts → types/pages/user-profile/user-profile.types.d.ts} +12 -22
  160. package/dist/types/primitives/badge/badge.constants.d.mts +4 -0
  161. package/dist/types/primitives/badge/badge.constants.d.ts +4 -0
  162. package/dist/types/primitives/badge/badge.types.d.mts +18 -0
  163. package/dist/types/primitives/badge/badge.types.d.ts +18 -0
  164. package/dist/types/primitives/badge/index.d.mts +7 -0
  165. package/dist/types/primitives/badge/index.d.ts +7 -0
  166. package/dist/types/primitives/button/button.constants.d.mts +6 -0
  167. package/dist/types/primitives/button/button.constants.d.ts +6 -0
  168. package/dist/types/primitives/button/button.types.d.mts +12 -0
  169. package/dist/types/primitives/button/button.types.d.ts +12 -0
  170. package/dist/types/primitives/button/index.d.mts +6 -0
  171. package/dist/types/primitives/button/index.d.ts +6 -0
  172. package/dist/types/primitives/card/card.types.d.mts +3 -0
  173. package/dist/types/primitives/card/card.types.d.ts +3 -0
  174. package/dist/types/primitives/card/index.d.mts +6 -0
  175. package/dist/types/primitives/card/index.d.ts +6 -0
  176. package/dist/{chart.d.mts → types/primitives/chart/index.d.mts} +7 -10
  177. package/dist/{chart.d.ts → types/primitives/chart/index.d.ts} +7 -10
  178. package/dist/types/primitives/hello-world.d.mts +4 -0
  179. package/dist/types/primitives/hello-world.d.ts +4 -0
  180. package/dist/types/primitives/icon/icon.constants.d.mts +2 -0
  181. package/dist/types/primitives/icon/icon.constants.d.ts +2 -0
  182. package/dist/types/primitives/icon/icon.types.d.mts +9 -0
  183. package/dist/types/primitives/icon/icon.types.d.ts +9 -0
  184. package/dist/types/primitives/icon/icon.utils.d.mts +2 -0
  185. package/dist/types/primitives/icon/icon.utils.d.ts +2 -0
  186. package/dist/types/primitives/icon/index.d.mts +46 -0
  187. package/dist/types/primitives/icon/index.d.ts +46 -0
  188. package/dist/types/primitives/icon/registry.d.mts +166 -0
  189. package/dist/types/primitives/icon/registry.d.ts +166 -0
  190. package/dist/types/primitives/icon/svg/arrow-trend-up.d.mts +5 -0
  191. package/dist/types/primitives/icon/svg/arrow-trend-up.d.ts +5 -0
  192. package/dist/types/primitives/icon/svg/arrows-to-dot.d.mts +5 -0
  193. package/dist/types/primitives/icon/svg/arrows-to-dot.d.ts +5 -0
  194. package/dist/types/primitives/icon/svg/bank.d.mts +5 -0
  195. package/dist/types/primitives/icon/svg/bank.d.ts +5 -0
  196. package/dist/types/primitives/icon/svg/best-prices.d.mts +5 -0
  197. package/dist/types/primitives/icon/svg/best-prices.d.ts +5 -0
  198. package/dist/types/primitives/icon/svg/bolt.d.mts +5 -0
  199. package/dist/types/primitives/icon/svg/bolt.d.ts +5 -0
  200. package/dist/types/primitives/icon/svg/check-badge.d.mts +5 -0
  201. package/dist/types/primitives/icon/svg/check-badge.d.ts +5 -0
  202. package/dist/types/primitives/icon/svg/check-circle.d.mts +5 -0
  203. package/dist/types/primitives/icon/svg/check-circle.d.ts +5 -0
  204. package/dist/types/primitives/icon/svg/chevron-down.d.mts +5 -0
  205. package/dist/types/primitives/icon/svg/chevron-down.d.ts +5 -0
  206. package/dist/types/primitives/icon/svg/chevron-left.d.mts +5 -0
  207. package/dist/types/primitives/icon/svg/chevron-left.d.ts +5 -0
  208. package/dist/types/primitives/icon/svg/chevron-right.d.mts +5 -0
  209. package/dist/types/primitives/icon/svg/chevron-right.d.ts +5 -0
  210. package/dist/types/primitives/icon/svg/chevron-up.d.mts +5 -0
  211. package/dist/types/primitives/icon/svg/chevron-up.d.ts +5 -0
  212. package/dist/types/primitives/icon/svg/close.d.mts +5 -0
  213. package/dist/types/primitives/icon/svg/close.d.ts +5 -0
  214. package/dist/types/primitives/icon/svg/copy.d.mts +5 -0
  215. package/dist/types/primitives/icon/svg/copy.d.ts +5 -0
  216. package/dist/types/primitives/icon/svg/create-account.d.mts +5 -0
  217. package/dist/types/primitives/icon/svg/create-account.d.ts +5 -0
  218. package/dist/types/primitives/icon/svg/credit-card.d.mts +5 -0
  219. package/dist/types/primitives/icon/svg/credit-card.d.ts +5 -0
  220. package/dist/types/primitives/icon/svg/disconnect.d.mts +5 -0
  221. package/dist/types/primitives/icon/svg/disconnect.d.ts +5 -0
  222. package/dist/types/primitives/icon/svg/discord.d.mts +5 -0
  223. package/dist/types/primitives/icon/svg/discord.d.ts +5 -0
  224. package/dist/types/primitives/icon/svg/document.d.mts +5 -0
  225. package/dist/types/primitives/icon/svg/document.d.ts +5 -0
  226. package/dist/types/primitives/icon/svg/dots-horizontal.d.mts +5 -0
  227. package/dist/types/primitives/icon/svg/dots-horizontal.d.ts +5 -0
  228. package/dist/types/primitives/icon/svg/download.d.mts +5 -0
  229. package/dist/types/primitives/icon/svg/download.d.ts +5 -0
  230. package/dist/types/primitives/icon/svg/email.d.mts +5 -0
  231. package/dist/types/primitives/icon/svg/email.d.ts +5 -0
  232. package/dist/types/primitives/icon/svg/external-link.d.mts +5 -0
  233. package/dist/types/primitives/icon/svg/external-link.d.ts +5 -0
  234. package/dist/types/primitives/icon/svg/info.d.mts +5 -0
  235. package/dist/types/primitives/icon/svg/info.d.ts +5 -0
  236. package/dist/types/primitives/icon/svg/link-accounts.d.mts +5 -0
  237. package/dist/types/primitives/icon/svg/link-accounts.d.ts +5 -0
  238. package/dist/types/primitives/icon/svg/pencil.d.mts +5 -0
  239. package/dist/types/primitives/icon/svg/pencil.d.ts +5 -0
  240. package/dist/types/primitives/icon/svg/play-square.d.mts +5 -0
  241. package/dist/types/primitives/icon/svg/play-square.d.ts +5 -0
  242. package/dist/types/primitives/icon/svg/profile.d.mts +5 -0
  243. package/dist/types/primitives/icon/svg/profile.d.ts +5 -0
  244. package/dist/types/primitives/icon/svg/revenue-alt.d.mts +5 -0
  245. package/dist/types/primitives/icon/svg/revenue-alt.d.ts +5 -0
  246. package/dist/types/primitives/icon/svg/search.d.mts +5 -0
  247. package/dist/types/primitives/icon/svg/search.d.ts +5 -0
  248. package/dist/types/primitives/icon/svg/shield-trust.d.mts +5 -0
  249. package/dist/types/primitives/icon/svg/shield-trust.d.ts +5 -0
  250. package/dist/types/primitives/icon/svg/stay-in-control.d.mts +5 -0
  251. package/dist/types/primitives/icon/svg/stay-in-control.d.ts +5 -0
  252. package/dist/types/primitives/icon/svg/telegram.d.mts +5 -0
  253. package/dist/types/primitives/icon/svg/telegram.d.ts +5 -0
  254. package/dist/types/primitives/icon/svg/triangle-down.d.mts +5 -0
  255. package/dist/types/primitives/icon/svg/triangle-down.d.ts +5 -0
  256. package/dist/types/primitives/icon/svg/triangle-up-filled.d.mts +5 -0
  257. package/dist/types/primitives/icon/svg/triangle-up-filled.d.ts +5 -0
  258. package/dist/types/primitives/icon/svg/triangle-up.d.mts +5 -0
  259. package/dist/types/primitives/icon/svg/triangle-up.d.ts +5 -0
  260. package/dist/types/primitives/icon/svg/twitter.d.mts +5 -0
  261. package/dist/types/primitives/icon/svg/twitter.d.ts +5 -0
  262. package/dist/types/primitives/icon/svg/upload.d.mts +5 -0
  263. package/dist/types/primitives/icon/svg/upload.d.ts +5 -0
  264. package/dist/types/primitives/icon/svg/wallet-avatar.d.mts +5 -0
  265. package/dist/types/primitives/icon/svg/wallet-avatar.d.ts +5 -0
  266. package/dist/types/primitives/icon/svg/wallet.d.mts +5 -0
  267. package/dist/types/primitives/icon/svg/wallet.d.ts +5 -0
  268. package/dist/types/primitives/icon/svg/warning-filled.d.mts +5 -0
  269. package/dist/types/primitives/icon/svg/warning-filled.d.ts +5 -0
  270. package/dist/types/primitives/icon/svg/warning.d.mts +5 -0
  271. package/dist/types/primitives/icon/svg/warning.d.ts +5 -0
  272. package/dist/types/primitives/icon/types.d.mts +5 -0
  273. package/dist/types/primitives/icon/types.d.ts +5 -0
  274. package/dist/types/primitives/index.d.mts +17 -0
  275. package/dist/types/primitives/index.d.ts +17 -0
  276. package/dist/types/primitives/loading-icon/index.d.mts +11 -0
  277. package/dist/types/primitives/loading-icon/index.d.ts +11 -0
  278. package/dist/types/primitives/modal/index.d.mts +10 -0
  279. package/dist/types/primitives/modal/index.d.ts +10 -0
  280. package/dist/types/primitives/modal/modal.types.d.mts +54 -0
  281. package/dist/types/primitives/modal/modal.types.d.ts +54 -0
  282. package/dist/{number-value.d.mts → types/primitives/number-value.d.mts} +3 -5
  283. package/dist/{number-value.d.ts → types/primitives/number-value.d.ts} +3 -5
  284. package/dist/types/primitives/search/index.d.mts +6 -0
  285. package/dist/types/primitives/search/index.d.ts +6 -0
  286. package/dist/types/primitives/search/search-empty-icon.d.mts +5 -0
  287. package/dist/types/primitives/search/search-empty-icon.d.ts +5 -0
  288. package/dist/types/primitives/search/search.types.d.mts +96 -0
  289. package/dist/types/primitives/search/search.types.d.ts +96 -0
  290. package/dist/{select.d.mts → types/primitives/select/index.d.mts} +3 -5
  291. package/dist/{select.d.ts → types/primitives/select/index.d.ts} +3 -5
  292. package/dist/types/primitives/skeleton/index.d.mts +7 -0
  293. package/dist/types/primitives/skeleton/index.d.ts +7 -0
  294. package/dist/types/primitives/skeleton/skeleton-block.d.mts +8 -0
  295. package/dist/types/primitives/skeleton/skeleton-block.d.ts +8 -0
  296. package/dist/{skeleton.d.mts → types/primitives/skeleton/skeleton.types.d.mts} +6 -9
  297. package/dist/{skeleton.d.ts → types/primitives/skeleton/skeleton.types.d.ts} +6 -9
  298. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.mts +5 -0
  299. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.ts +5 -0
  300. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +9 -0
  301. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +9 -0
  302. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.mts +5 -0
  303. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.ts +5 -0
  304. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.mts +12 -0
  305. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.ts +12 -0
  306. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +5 -0
  307. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +5 -0
  308. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.mts +5 -0
  309. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.ts +5 -0
  310. package/dist/{state-message.d.mts → types/primitives/state-message/index.d.mts} +2 -3
  311. package/dist/{state-message.d.ts → types/primitives/state-message/index.d.ts} +2 -3
  312. package/dist/{switch-button.d.mts → types/primitives/switch-button/index.d.mts} +4 -7
  313. package/dist/{switch-button.d.ts → types/primitives/switch-button/index.d.ts} +4 -7
  314. package/dist/types/primitives/tabs/index.d.mts +6 -0
  315. package/dist/types/primitives/tabs/index.d.ts +6 -0
  316. package/dist/types/primitives/tabs/tabs.types.d.mts +24 -0
  317. package/dist/types/primitives/tabs/tabs.types.d.ts +24 -0
  318. package/dist/types/primitives/tabs/tabs.utils.d.mts +14 -0
  319. package/dist/types/primitives/tabs/tabs.utils.d.ts +14 -0
  320. package/dist/types/primitives/typography/index.d.mts +7 -0
  321. package/dist/types/primitives/typography/index.d.ts +7 -0
  322. package/dist/types/primitives/typography/typography.constants.d.mts +3 -0
  323. package/dist/types/primitives/typography/typography.constants.d.ts +3 -0
  324. package/dist/types/primitives/typography/typography.types.d.mts +8 -0
  325. package/dist/types/primitives/typography/typography.types.d.ts +8 -0
  326. package/dist/types/primitives/venue-logo/index.d.mts +8 -0
  327. package/dist/types/primitives/venue-logo/index.d.ts +8 -0
  328. package/dist/types/primitives/venue-logo/logo-props.d.mts +10 -0
  329. package/dist/types/primitives/venue-logo/logo-props.d.ts +10 -0
  330. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.mts +5 -0
  331. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.ts +5 -0
  332. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.mts +5 -0
  333. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.ts +5 -0
  334. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.mts +5 -0
  335. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.ts +5 -0
  336. package/dist/types/primitives/venue-logo/svg/logo-probable.d.mts +5 -0
  337. package/dist/types/primitives/venue-logo/svg/logo-probable.d.ts +5 -0
  338. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +9 -0
  339. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +9 -0
  340. package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +17 -0
  341. package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +17 -0
  342. package/dist/types/profile/index.d.mts +6 -0
  343. package/dist/types/profile/index.d.ts +6 -0
  344. package/dist/types/profile/profile-modal.constants.d.mts +17 -0
  345. package/dist/types/profile/profile-modal.constants.d.ts +17 -0
  346. package/dist/{profile-modal.d.mts → types/profile/profile-modal.types.d.mts} +4 -11
  347. package/dist/{profile-modal.d.ts → types/profile/profile-modal.types.d.ts} +4 -11
  348. package/dist/types/profile/tabs/about-tab.d.mts +16 -0
  349. package/dist/types/profile/tabs/about-tab.d.ts +16 -0
  350. package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +18 -0
  351. package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +18 -0
  352. package/dist/types/shared/constants.d.mts +23 -0
  353. package/dist/types/shared/constants.d.ts +23 -0
  354. package/dist/types/shared/query-error.d.mts +2 -0
  355. package/dist/types/shared/query-error.d.ts +2 -0
  356. package/dist/types/shared/types.d.mts +1 -0
  357. package/dist/types/shared/types.d.ts +1 -0
  358. package/dist/types/shared/utils.d.mts +15 -0
  359. package/dist/types/shared/utils.d.ts +15 -0
  360. package/dist/types/trading/index.d.mts +4 -0
  361. package/dist/types/trading/index.d.ts +4 -0
  362. package/dist/{place-order.d.ts → types/trading/place-order/index.d.mts} +3 -7
  363. package/dist/{place-order.d.mts → types/trading/place-order/index.d.ts} +3 -7
  364. package/dist/{settlement.d.ts → types/trading/settlement/index.d.mts} +3 -7
  365. package/dist/{settlement.d.mts → types/trading/settlement/index.d.ts} +3 -7
  366. package/dist/{types-BImwqY4o.d.ts → types/trading/types.d.mts} +35 -38
  367. package/dist/{types-BImwqY4o.d.mts → types/trading/types.d.ts} +35 -38
  368. package/dist/types/trading/utils.d.mts +16 -0
  369. package/dist/types/trading/utils.d.ts +16 -0
  370. package/dist/types/withdraw/index.d.mts +6 -0
  371. package/dist/types/withdraw/index.d.ts +6 -0
  372. package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +5 -0
  373. package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +5 -0
  374. package/dist/types/withdraw/steps/venue-selection.d.mts +6 -0
  375. package/dist/types/withdraw/steps/venue-selection.d.ts +6 -0
  376. package/dist/types/withdraw/steps/withdraw-amount.d.mts +8 -0
  377. package/dist/types/withdraw/steps/withdraw-amount.d.ts +8 -0
  378. package/dist/types/withdraw/steps/withdraw-method.d.mts +7 -0
  379. package/dist/types/withdraw/steps/withdraw-method.d.ts +7 -0
  380. package/dist/types/withdraw/withdraw-modal.constants.d.mts +9 -0
  381. package/dist/types/withdraw/withdraw-modal.constants.d.ts +9 -0
  382. package/dist/{withdraw-modal.d.mts → types/withdraw/withdraw-modal.types.d.mts} +3 -10
  383. package/dist/{withdraw-modal.d.ts → types/withdraw/withdraw-modal.types.d.ts} +3 -10
  384. package/package.json +33 -283
  385. package/dist/badge.d.mts +0 -28
  386. package/dist/badge.d.ts +0 -28
  387. package/dist/badge.js +0 -110
  388. package/dist/badge.mjs +0 -9
  389. package/dist/button.d.mts +0 -20
  390. package/dist/button.d.ts +0 -20
  391. package/dist/button.js +0 -183
  392. package/dist/button.mjs +0 -8
  393. package/dist/card.d.mts +0 -10
  394. package/dist/card.d.ts +0 -10
  395. package/dist/card.js +0 -88
  396. package/dist/card.mjs +0 -7
  397. package/dist/chart.mjs +0 -8
  398. package/dist/chunk-34IRJYSU.mjs +0 -146
  399. package/dist/chunk-3QLOUBDJ.mjs +0 -483
  400. package/dist/chunk-3W7NBJLU.mjs +0 -371
  401. package/dist/chunk-4343LYSH.mjs +0 -45
  402. package/dist/chunk-4S3I6X7F.mjs +0 -855
  403. package/dist/chunk-4VUDTWH7.mjs +0 -42
  404. package/dist/chunk-6JG6I5AY.mjs +0 -654
  405. package/dist/chunk-BNDFQPHF.mjs +0 -9
  406. package/dist/chunk-CTYJVVHJ.mjs +0 -334
  407. package/dist/chunk-DHBHKIJR.mjs +0 -1049
  408. package/dist/chunk-ERGNR6UQ.mjs +0 -67
  409. package/dist/chunk-FO263M3V.mjs +0 -10
  410. package/dist/chunk-FO2QCB4Z.mjs +0 -35
  411. package/dist/chunk-GFBF2J3Y.mjs +0 -328
  412. package/dist/chunk-GJ4U5NCE.mjs +0 -134
  413. package/dist/chunk-K6IJ4WBM.mjs +0 -67
  414. package/dist/chunk-KAGYJ4XT.mjs +0 -126
  415. package/dist/chunk-KIYMVWL4.mjs +0 -280
  416. package/dist/chunk-LCZKSITC.mjs +0 -162
  417. package/dist/chunk-M4RJHRFT.mjs +0 -445
  418. package/dist/chunk-MJHKBCXQ.mjs +0 -379
  419. package/dist/chunk-MKVGQ7AS.mjs +0 -168
  420. package/dist/chunk-NDG43KGL.mjs +0 -44
  421. package/dist/chunk-NH2G3POM.mjs +0 -470
  422. package/dist/chunk-OBCHURW5.mjs +0 -64
  423. package/dist/chunk-OJVTGNIF.mjs +0 -230
  424. package/dist/chunk-PORVP72S.mjs +0 -277
  425. package/dist/chunk-Q6DGDBPV.mjs +0 -774
  426. package/dist/chunk-QLMVKLNJ.mjs +0 -669
  427. package/dist/chunk-S3H63TQ5.mjs +0 -537
  428. package/dist/chunk-T7TATHPD.mjs +0 -313
  429. package/dist/chunk-XUCS575S.mjs +0 -65
  430. package/dist/chunk-ZFMCCBP6.mjs +0 -25
  431. package/dist/connect-button.mjs +0 -14
  432. package/dist/deposit-modal.mjs +0 -15
  433. package/dist/event-list-item-details.d.mts +0 -11
  434. package/dist/event-list-item-details.d.ts +0 -11
  435. package/dist/event-list-item-details.js +0 -3711
  436. package/dist/event-list-item-details.mjs +0 -23
  437. package/dist/event-list-item-details.types-CMbXOrT-.d.ts +0 -53
  438. package/dist/event-list-item-details.types-DekJKeMD.d.mts +0 -53
  439. package/dist/event-list-item.d.mts +0 -10
  440. package/dist/event-list-item.d.ts +0 -10
  441. package/dist/event-list-item.js +0 -2821
  442. package/dist/event-list-item.mjs +0 -20
  443. package/dist/event-list-item.types-Y6IeJ4e4.d.mts +0 -46
  444. package/dist/event-list-item.types-Y6IeJ4e4.d.ts +0 -46
  445. package/dist/event-list.d.mts +0 -9
  446. package/dist/event-list.d.ts +0 -9
  447. package/dist/event-list.mjs +0 -23
  448. package/dist/event-list.types-CkAAUqwW.d.mts +0 -13
  449. package/dist/event-list.types-CkAAUqwW.d.ts +0 -13
  450. package/dist/event-market-page.d.mts +0 -52
  451. package/dist/event-market-page.d.ts +0 -52
  452. package/dist/event-market-page.mjs +0 -30
  453. package/dist/hello-world.d.mts +0 -8
  454. package/dist/hello-world.d.ts +0 -8
  455. package/dist/hello-world.js +0 -92
  456. package/dist/hello-world.mjs +0 -8
  457. package/dist/home-page.mjs +0 -24
  458. package/dist/icon.d.mts +0 -193
  459. package/dist/icon.d.ts +0 -193
  460. package/dist/icon.js +0 -1465
  461. package/dist/loading-icon.d.mts +0 -14
  462. package/dist/loading-icon.d.ts +0 -14
  463. package/dist/loading-icon.js +0 -112
  464. package/dist/loading-icon.mjs +0 -8
  465. package/dist/market-details.d.mts +0 -73
  466. package/dist/market-details.d.ts +0 -73
  467. package/dist/market-details.mjs +0 -24
  468. package/dist/modal.d.mts +0 -66
  469. package/dist/modal.d.ts +0 -66
  470. package/dist/modal.js +0 -321
  471. package/dist/modal.mjs +0 -9
  472. package/dist/number-value.js +0 -67
  473. package/dist/number-value.mjs +0 -7
  474. package/dist/onboarding-modal.d.mts +0 -88
  475. package/dist/onboarding-modal.d.ts +0 -88
  476. package/dist/onboarding-modal.js +0 -2836
  477. package/dist/onboarding-modal.mjs +0 -24
  478. package/dist/place-order.js +0 -3248
  479. package/dist/place-order.mjs +0 -18
  480. package/dist/profile-modal.js +0 -2447
  481. package/dist/profile-modal.mjs +0 -14
  482. package/dist/registry-DfSCFAdC.d.mts +0 -178
  483. package/dist/registry-DfSCFAdC.d.ts +0 -178
  484. package/dist/search.d.mts +0 -51
  485. package/dist/search.d.ts +0 -51
  486. package/dist/search.js +0 -1957
  487. package/dist/search.mjs +0 -13
  488. package/dist/select.js +0 -1552
  489. package/dist/select.mjs +0 -11
  490. package/dist/settlement.js +0 -2445
  491. package/dist/settlement.mjs +0 -15
  492. package/dist/skeleton.js +0 -490
  493. package/dist/skeleton.mjs +0 -10
  494. package/dist/state-message.js +0 -1629
  495. package/dist/state-message.mjs +0 -14
  496. package/dist/switch-button.js +0 -191
  497. package/dist/switch-button.mjs +0 -7
  498. package/dist/tabs.d.mts +0 -31
  499. package/dist/tabs.d.ts +0 -31
  500. package/dist/tabs.js +0 -2078
  501. package/dist/tabs.mjs +0 -12
  502. package/dist/types-BVj9ky9P.d.mts +0 -3
  503. package/dist/types-BVj9ky9P.d.ts +0 -3
  504. package/dist/typography.d.mts +0 -18
  505. package/dist/typography.d.ts +0 -18
  506. package/dist/typography.js +0 -93
  507. package/dist/typography.mjs +0 -9
  508. package/dist/user-profile-page.js +0 -3081
  509. package/dist/user-profile-page.mjs +0 -15
  510. package/dist/venue-logo.d.mts +0 -13
  511. package/dist/venue-logo.d.ts +0 -13
  512. package/dist/venue-logo.js +0 -323
  513. package/dist/venue-logo.mjs +0 -10
  514. package/dist/venue-logo.types-CGUc22ly.d.mts +0 -19
  515. package/dist/venue-logo.types-Dqr39S1-.d.ts +0 -19
  516. package/dist/withdraw-modal.js +0 -2449
  517. package/dist/withdraw-modal.mjs +0 -14
@@ -0,0 +1,55 @@
1
+ import type { ReactNode } from "react";
2
+ export interface OnboardingProfileData {
3
+ username: string;
4
+ avatarFile?: File;
5
+ avatarPreview?: string;
6
+ }
7
+ export interface HowItWorksIcons {
8
+ createAccount?: ReactNode;
9
+ linkAccounts?: ReactNode;
10
+ bestPrices?: ReactNode;
11
+ stayInControl?: ReactNode;
12
+ }
13
+ /** Connection state for a venue card. */
14
+ export type ConnectionState = "idle" | "connecting" | "connected" | "error";
15
+ export interface OnboardingModalProps {
16
+ open: boolean;
17
+ onOpenChange: (open: boolean) => void;
18
+ onProfileSubmit?: (data: OnboardingProfileData) => void;
19
+ /** Called when the user clicks "Connect" on the onchain card. Should resolve on success, reject/throw on failure. */
20
+ onConnectOnchain?: () => Promise<void>;
21
+ /** Called when the user submits Kalshi credentials. Should resolve on success, reject/throw on failure. */
22
+ onConnectKalshi?: (credentials: KalshiCredentials) => Promise<void>;
23
+ onComplete?: () => void;
24
+ howItWorksIcons?: HowItWorksIcons;
25
+ connectedOnchain?: boolean;
26
+ connectedKalshi?: boolean;
27
+ }
28
+ export interface KalshiCredentials {
29
+ apiKeyId: string;
30
+ privateKey: string;
31
+ }
32
+ export interface HowItWorksStepProps {
33
+ onContinue: () => void;
34
+ icons?: HowItWorksIcons;
35
+ }
36
+ export interface ProfileSetupStepProps {
37
+ onContinue: (data: OnboardingProfileData) => void;
38
+ }
39
+ export interface ConnectAccountsStepProps {
40
+ onConnectOnchain?: () => void;
41
+ onConnectKalshi?: () => void;
42
+ onContinue: () => void;
43
+ connectedOnchain?: boolean;
44
+ connectedKalshi?: boolean;
45
+ }
46
+ export interface ConnectOnchainModalProps {
47
+ open: boolean;
48
+ onOpenChange: (open: boolean) => void;
49
+ onConnect: () => Promise<void>;
50
+ }
51
+ export interface ConnectKalshiModalProps {
52
+ open: boolean;
53
+ onOpenChange: (open: boolean) => void;
54
+ onVerify: (credentials: KalshiCredentials) => Promise<void>;
55
+ }
@@ -0,0 +1,5 @@
1
+ import type { ConnectAccountsStepProps } from "../onboarding-modal.types";
2
+ export declare const ConnectAccountsStep: {
3
+ ({ onConnectOnchain, onConnectKalshi, onContinue, connectedOnchain, connectedKalshi, }: ConnectAccountsStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ConnectAccountsStepProps } from "../onboarding-modal.types";
2
+ export declare const ConnectAccountsStep: {
3
+ ({ onConnectOnchain, onConnectKalshi, onContinue, connectedOnchain, connectedKalshi, }: ConnectAccountsStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ConnectKalshiModalProps } from "../onboarding-modal.types";
2
+ export declare const ConnectKalshiModal: {
3
+ ({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ConnectKalshiModalProps } from "../onboarding-modal.types";
2
+ export declare const ConnectKalshiModal: {
3
+ ({ open, onOpenChange, onVerify, }: ConnectKalshiModalProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ConnectOnchainModalProps } from "../onboarding-modal.types";
2
+ export declare const ConnectOnchainModal: {
3
+ ({ open, onOpenChange, onConnect, }: ConnectOnchainModalProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ConnectOnchainModalProps } from "../onboarding-modal.types";
2
+ export declare const ConnectOnchainModal: {
3
+ ({ open, onOpenChange, onConnect, }: ConnectOnchainModalProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { HowItWorksStepProps } from "../onboarding-modal.types";
2
+ export declare const HowItWorksStep: {
3
+ ({ onContinue, icons }: HowItWorksStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { HowItWorksStepProps } from "../onboarding-modal.types";
2
+ export declare const HowItWorksStep: {
3
+ ({ onContinue, icons }: HowItWorksStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ProfileSetupStepProps } from "../onboarding-modal.types";
2
+ export declare const ProfileSetupStep: {
3
+ ({ onContinue }: ProfileSetupStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import type { ProfileSetupStepProps } from "../onboarding-modal.types";
2
+ export declare const ProfileSetupStep: {
3
+ ({ onContinue }: ProfileSetupStepProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,42 @@
1
+ import type { Event } from "@agg-market/hooks";
2
+ import type { PlaceOrderViewModel, SettlementViewModel } from "../../trading/types";
3
+ import type { EventListItemDetailsTimeRange } from "../../events/item-details/event-list-item-details.types";
4
+ export type EventMarketPageClassNames = Partial<{
5
+ root: string;
6
+ content: string;
7
+ main: string;
8
+ sidebar: string;
9
+ hero: string;
10
+ markets: string;
11
+ settlement: string;
12
+ trade: string;
13
+ mobileTrade: string;
14
+ }>;
15
+ export type EventMarketPageBaseProps = {
16
+ heroMarketId?: string;
17
+ defaultExpandedMarketId?: string;
18
+ expandedMarketId?: string | null;
19
+ onExpandedMarketChange?: (marketId: string | null) => void;
20
+ heroDefaultTimeRange?: EventListItemDetailsTimeRange;
21
+ placeOrder?: PlaceOrderViewModel;
22
+ settlement?: SettlementViewModel;
23
+ classNames?: EventMarketPageClassNames;
24
+ ariaLabel?: string;
25
+ isLoading?: boolean;
26
+ };
27
+ export type EventMarketPageLoadingProps = EventMarketPageBaseProps & {
28
+ isLoading: true;
29
+ event?: never;
30
+ eventId?: string;
31
+ };
32
+ export type EventMarketPageWithEventProps = EventMarketPageBaseProps & {
33
+ event: Event;
34
+ eventId?: string;
35
+ isLoading?: false;
36
+ };
37
+ export type EventMarketPageWithEventIdProps = EventMarketPageBaseProps & {
38
+ event?: never;
39
+ eventId: string;
40
+ isLoading?: false;
41
+ };
42
+ export type EventMarketPageProps = EventMarketPageLoadingProps | EventMarketPageWithEventProps | EventMarketPageWithEventIdProps;
@@ -0,0 +1,42 @@
1
+ import type { Event } from "@agg-market/hooks";
2
+ import type { PlaceOrderViewModel, SettlementViewModel } from "../../trading/types";
3
+ import type { EventListItemDetailsTimeRange } from "../../events/item-details/event-list-item-details.types";
4
+ export type EventMarketPageClassNames = Partial<{
5
+ root: string;
6
+ content: string;
7
+ main: string;
8
+ sidebar: string;
9
+ hero: string;
10
+ markets: string;
11
+ settlement: string;
12
+ trade: string;
13
+ mobileTrade: string;
14
+ }>;
15
+ export type EventMarketPageBaseProps = {
16
+ heroMarketId?: string;
17
+ defaultExpandedMarketId?: string;
18
+ expandedMarketId?: string | null;
19
+ onExpandedMarketChange?: (marketId: string | null) => void;
20
+ heroDefaultTimeRange?: EventListItemDetailsTimeRange;
21
+ placeOrder?: PlaceOrderViewModel;
22
+ settlement?: SettlementViewModel;
23
+ classNames?: EventMarketPageClassNames;
24
+ ariaLabel?: string;
25
+ isLoading?: boolean;
26
+ };
27
+ export type EventMarketPageLoadingProps = EventMarketPageBaseProps & {
28
+ isLoading: true;
29
+ event?: never;
30
+ eventId?: string;
31
+ };
32
+ export type EventMarketPageWithEventProps = EventMarketPageBaseProps & {
33
+ event: Event;
34
+ eventId?: string;
35
+ isLoading?: false;
36
+ };
37
+ export type EventMarketPageWithEventIdProps = EventMarketPageBaseProps & {
38
+ event?: never;
39
+ eventId: string;
40
+ isLoading?: false;
41
+ };
42
+ export type EventMarketPageProps = EventMarketPageLoadingProps | EventMarketPageWithEventProps | EventMarketPageWithEventIdProps;
@@ -0,0 +1,6 @@
1
+ import type { EventMarketPageProps } from "./event-market.types";
2
+ export type { EventMarketPageClassNames, EventMarketPageProps } from "./event-market.types";
3
+ export declare const EventMarketPage: {
4
+ (props: EventMarketPageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,6 @@
1
+ import type { EventMarketPageProps } from "./event-market.types";
2
+ export type { EventMarketPageClassNames, EventMarketPageProps } from "./event-market.types";
3
+ export declare const EventMarketPage: {
4
+ (props: EventMarketPageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,8 @@
1
+ import type { AggUiLabels } from "@agg-market/hooks";
2
+ import type { HomePageEventSectionItem, HomePageTab } from "./home.types";
3
+ export declare const ALL_CATEGORIES_TAB_VALUE = "trending";
4
+ export declare const DEFAULT_CATEGORIES_LIMIT = 100;
5
+ export declare const DEFAULT_ALL_CATEGORY_TAB_LABEL = "Trending";
6
+ export declare const CATEGORY_TAB_NAME_ORDER: readonly ["crypto", "economy", "entertainment", "finance", "geopolitics", "health", "mentions", "politics", "science", "sports", "technology", "weather", "world"];
7
+ export declare const getDefaultHomePageTabs: (allCategoryTabLabel: string) => HomePageTab[];
8
+ export declare const getDefaultEventSectionItems: (labels: AggUiLabels) => HomePageEventSectionItem[];
@@ -0,0 +1,8 @@
1
+ import type { AggUiLabels } from "@agg-market/hooks";
2
+ import type { HomePageEventSectionItem, HomePageTab } from "./home.types";
3
+ export declare const ALL_CATEGORIES_TAB_VALUE = "trending";
4
+ export declare const DEFAULT_CATEGORIES_LIMIT = 100;
5
+ export declare const DEFAULT_ALL_CATEGORY_TAB_LABEL = "Trending";
6
+ export declare const CATEGORY_TAB_NAME_ORDER: readonly ["crypto", "economy", "entertainment", "finance", "geopolitics", "health", "mentions", "politics", "science", "sports", "technology", "weather", "world"];
7
+ export declare const getDefaultHomePageTabs: (allCategoryTabLabel: string) => HomePageTab[];
8
+ export declare const getDefaultEventSectionItems: (labels: AggUiLabels) => HomePageEventSectionItem[];
@@ -1,10 +1,7 @@
1
- import { I as IconName } from './registry-DfSCFAdC.js';
2
- import { E as EventListProps } from './event-list.types-CkAAUqwW.js';
3
- import 'react';
4
- import '@agg-market/hooks';
5
-
6
- type HomePageTabValue = string;
7
- type HomePageTab = {
1
+ import type { IconName } from "../../primitives/icon";
2
+ import type { EventListProps } from "../../events/list";
3
+ export type HomePageTabValue = string;
4
+ export type HomePageTab = {
8
5
  value: HomePageTabValue;
9
6
  label: string;
10
7
  iconName?: IconName;
@@ -12,7 +9,7 @@ type HomePageTab = {
12
9
  categoryIds?: EventListProps["categoryIds"];
13
10
  disabled?: boolean;
14
11
  };
15
- type HomePageEventSectionItem = {
12
+ export type HomePageEventSectionItem = {
16
13
  id?: string;
17
14
  title: EventListProps["title"];
18
15
  maxItemsPerRow?: EventListProps["maxItemsPerRow"];
@@ -22,13 +19,13 @@ type HomePageEventSectionItem = {
22
19
  search?: EventListProps["search"];
23
20
  categoryIds?: EventListProps["categoryIds"];
24
21
  };
25
- type HomePageClassNames = Partial<{
22
+ export type HomePageClassNames = Partial<{
26
23
  root: string;
27
24
  header: string;
28
25
  tabs: string;
29
26
  sections: string;
30
27
  }>;
31
- type HomePageProps = {
28
+ export type HomePageProps = {
32
29
  tabs?: HomePageTab[];
33
30
  defaultActiveTab?: HomePageTabValue;
34
31
  onTabChange?: (value: HomePageTabValue) => void;
@@ -38,14 +35,7 @@ type HomePageProps = {
38
35
  categoriesLimit?: number;
39
36
  allCategoryTabLabel?: string;
40
37
  };
41
- type HomePageCategory = {
38
+ export type HomePageCategory = {
42
39
  id: string;
43
40
  name: string;
44
41
  };
45
-
46
- declare const HomePage: {
47
- ({ tabs, defaultActiveTab, onTabChange, eventSectionItems, classNames, useCategoriesTabs, categoriesLimit, allCategoryTabLabel, }: HomePageProps): JSX.Element;
48
- displayName: string;
49
- };
50
-
51
- export { HomePage, type HomePageCategory, type HomePageClassNames, type HomePageEventSectionItem, type HomePageProps, type HomePageTab, type HomePageTabValue };
@@ -1,10 +1,7 @@
1
- import { I as IconName } from './registry-DfSCFAdC.mjs';
2
- import { E as EventListProps } from './event-list.types-CkAAUqwW.mjs';
3
- import 'react';
4
- import '@agg-market/hooks';
5
-
6
- type HomePageTabValue = string;
7
- type HomePageTab = {
1
+ import type { IconName } from "../../primitives/icon";
2
+ import type { EventListProps } from "../../events/list";
3
+ export type HomePageTabValue = string;
4
+ export type HomePageTab = {
8
5
  value: HomePageTabValue;
9
6
  label: string;
10
7
  iconName?: IconName;
@@ -12,7 +9,7 @@ type HomePageTab = {
12
9
  categoryIds?: EventListProps["categoryIds"];
13
10
  disabled?: boolean;
14
11
  };
15
- type HomePageEventSectionItem = {
12
+ export type HomePageEventSectionItem = {
16
13
  id?: string;
17
14
  title: EventListProps["title"];
18
15
  maxItemsPerRow?: EventListProps["maxItemsPerRow"];
@@ -22,13 +19,13 @@ type HomePageEventSectionItem = {
22
19
  search?: EventListProps["search"];
23
20
  categoryIds?: EventListProps["categoryIds"];
24
21
  };
25
- type HomePageClassNames = Partial<{
22
+ export type HomePageClassNames = Partial<{
26
23
  root: string;
27
24
  header: string;
28
25
  tabs: string;
29
26
  sections: string;
30
27
  }>;
31
- type HomePageProps = {
28
+ export type HomePageProps = {
32
29
  tabs?: HomePageTab[];
33
30
  defaultActiveTab?: HomePageTabValue;
34
31
  onTabChange?: (value: HomePageTabValue) => void;
@@ -38,14 +35,7 @@ type HomePageProps = {
38
35
  categoriesLimit?: number;
39
36
  allCategoryTabLabel?: string;
40
37
  };
41
- type HomePageCategory = {
38
+ export type HomePageCategory = {
42
39
  id: string;
43
40
  name: string;
44
41
  };
45
-
46
- declare const HomePage: {
47
- ({ tabs, defaultActiveTab, onTabChange, eventSectionItems, classNames, useCategoriesTabs, categoriesLimit, allCategoryTabLabel, }: HomePageProps): JSX.Element;
48
- displayName: string;
49
- };
50
-
51
- export { HomePage, type HomePageCategory, type HomePageClassNames, type HomePageEventSectionItem, type HomePageProps, type HomePageTab, type HomePageTabValue };
@@ -0,0 +1,3 @@
1
+ import type { HomePageCategory, HomePageTab, HomePageTabValue } from "./home.types";
2
+ export declare const resolveCategoryTabs: (categories: HomePageCategory[], allCategoryTabLabel: string) => HomePageTab[];
3
+ export declare const resolveInitialTabValue: (tabs: HomePageTab[], defaultActiveTab: HomePageTabValue | undefined) => HomePageTabValue;
@@ -0,0 +1,3 @@
1
+ import type { HomePageCategory, HomePageTab, HomePageTabValue } from "./home.types";
2
+ export declare const resolveCategoryTabs: (categories: HomePageCategory[], allCategoryTabLabel: string) => HomePageTab[];
3
+ export declare const resolveInitialTabValue: (tabs: HomePageTab[], defaultActiveTab: HomePageTabValue | undefined) => HomePageTabValue;
@@ -0,0 +1,6 @@
1
+ import type { HomePageProps } from "./home.types";
2
+ export type { HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue, } from "./home.types";
3
+ export declare const HomePage: {
4
+ ({ tabs, defaultActiveTab, onTabChange, eventSectionItems, classNames, useCategoriesTabs, categoriesLimit, allCategoryTabLabel, }: HomePageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,6 @@
1
+ import type { HomePageProps } from "./home.types";
2
+ export type { HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue, } from "./home.types";
3
+ export declare const HomePage: {
4
+ ({ tabs, defaultActiveTab, onTabChange, eventSectionItems, classNames, useCategoriesTabs, categoriesLimit, allCategoryTabLabel, }: HomePageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./home";
2
+ export * from "./event-market";
3
+ export * from "./user-profile";
@@ -0,0 +1,3 @@
1
+ export * from "./home";
2
+ export * from "./event-market";
3
+ export * from "./user-profile";
@@ -0,0 +1,10 @@
1
+ import type { UserProfileActivity } from "../user-profile.types";
2
+ type ActivityRowProps = {
3
+ activity: UserProfileActivity;
4
+ onClick?: (activity: UserProfileActivity) => void;
5
+ };
6
+ export declare const ActivityRow: {
7
+ ({ activity, onClick }: ActivityRowProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { UserProfileActivity } from "../user-profile.types";
2
+ type ActivityRowProps = {
3
+ activity: UserProfileActivity;
4
+ onClick?: (activity: UserProfileActivity) => void;
5
+ };
6
+ export declare const ActivityRow: {
7
+ ({ activity, onClick }: ActivityRowProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { UserProfileBalance, UserProfileTimeRange } from "../user-profile.types";
2
+ type BalanceDisplayProps = {
3
+ balance?: Partial<Record<UserProfileTimeRange, UserProfileBalance>>;
4
+ defaultTimeRange?: UserProfileTimeRange;
5
+ onTimeRangeChange?: (range: UserProfileTimeRange) => void;
6
+ className?: string;
7
+ };
8
+ export declare const BalanceDisplay: {
9
+ ({ balance, defaultTimeRange, onTimeRangeChange, className, }: BalanceDisplayProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { UserProfileBalance, UserProfileTimeRange } from "../user-profile.types";
2
+ type BalanceDisplayProps = {
3
+ balance?: Partial<Record<UserProfileTimeRange, UserProfileBalance>>;
4
+ defaultTimeRange?: UserProfileTimeRange;
5
+ onTimeRangeChange?: (range: UserProfileTimeRange) => void;
6
+ className?: string;
7
+ };
8
+ export declare const BalanceDisplay: {
9
+ ({ balance, defaultTimeRange, onTimeRangeChange, className, }: BalanceDisplayProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { UserProfileVenueBalance } from "../user-profile.types";
2
+ type BalancesCardProps = {
3
+ venueBalances?: UserProfileVenueBalance[];
4
+ onDeposit?: () => void;
5
+ onWithdraw?: () => void;
6
+ className?: string;
7
+ };
8
+ export declare const BalancesCard: {
9
+ ({ venueBalances, onDeposit, onWithdraw, className, }: BalancesCardProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { UserProfileVenueBalance } from "../user-profile.types";
2
+ type BalancesCardProps = {
3
+ venueBalances?: UserProfileVenueBalance[];
4
+ onDeposit?: () => void;
5
+ onWithdraw?: () => void;
6
+ className?: string;
7
+ };
8
+ export declare const BalancesCard: {
9
+ ({ venueBalances, onDeposit, onWithdraw, className, }: BalancesCardProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};
@@ -0,0 +1,8 @@
1
+ type DefaultAvatarProps = {
2
+ className?: string;
3
+ };
4
+ export declare const DefaultAvatar: {
5
+ ({ className }: DefaultAvatarProps): JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ type DefaultAvatarProps = {
2
+ className?: string;
3
+ };
4
+ export declare const DefaultAvatar: {
5
+ ({ className }: DefaultAvatarProps): JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,10 @@
1
+ type EmptyStateProps = {
2
+ title: string;
3
+ description?: string;
4
+ className?: string;
5
+ };
6
+ export declare const EmptyState: {
7
+ ({ title, description, className }: EmptyStateProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,10 @@
1
+ type EmptyStateProps = {
2
+ title: string;
3
+ description?: string;
4
+ className?: string;
5
+ };
6
+ export declare const EmptyState: {
7
+ ({ title, description, className }: EmptyStateProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { UserProfilePosition } from "../user-profile.types";
2
+ type PositionRowProps = {
3
+ position: UserProfilePosition;
4
+ onClick?: (position: UserProfilePosition) => void;
5
+ };
6
+ export declare const PositionRow: {
7
+ ({ position, onClick }: PositionRowProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { UserProfilePosition } from "../user-profile.types";
2
+ type PositionRowProps = {
3
+ position: UserProfilePosition;
4
+ onClick?: (position: UserProfilePosition) => void;
5
+ };
6
+ export declare const PositionRow: {
7
+ ({ position, onClick }: PositionRowProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { UserProfileActivity, UserProfilePosition } from "../user-profile.types";
2
+ type PositionsActivityProps = {
3
+ activePositions?: UserProfilePosition[];
4
+ closedPositions?: UserProfilePosition[];
5
+ activities?: UserProfileActivity[];
6
+ onPositionClick?: (position: UserProfilePosition) => void;
7
+ onActivityClick?: (activity: UserProfileActivity) => void;
8
+ className?: string;
9
+ };
10
+ export declare const PositionsActivity: {
11
+ ({ activePositions, closedPositions, activities, onPositionClick, onActivityClick, className, }: PositionsActivityProps): JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { UserProfileActivity, UserProfilePosition } from "../user-profile.types";
2
+ type PositionsActivityProps = {
3
+ activePositions?: UserProfilePosition[];
4
+ closedPositions?: UserProfilePosition[];
5
+ activities?: UserProfileActivity[];
6
+ onPositionClick?: (position: UserProfilePosition) => void;
7
+ onActivityClick?: (activity: UserProfileActivity) => void;
8
+ className?: string;
9
+ };
10
+ export declare const PositionsActivity: {
11
+ ({ activePositions, closedPositions, activities, onPositionClick, onActivityClick, className, }: PositionsActivityProps): JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { UserProfileInfo } from "../user-profile.types";
2
+ type UserInfoCardProps = {
3
+ user: UserProfileInfo;
4
+ onEditProfile?: () => void;
5
+ className?: string;
6
+ };
7
+ export declare const UserInfoCard: {
8
+ ({ user, onEditProfile, className, }: UserInfoCardProps): JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { UserProfileInfo } from "../user-profile.types";
2
+ type UserInfoCardProps = {
3
+ user: UserProfileInfo;
4
+ onEditProfile?: () => void;
5
+ className?: string;
6
+ };
7
+ export declare const UserInfoCard: {
8
+ ({ user, onEditProfile, className, }: UserInfoCardProps): JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { UserProfilePageProps } from "./user-profile.types";
2
+ export type { UserProfileActivity, UserProfileBalance, UserProfileConnectedExchange, UserProfileInfo, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfileSocialLink, UserProfileTimeRange, UserProfileVenueBalance, } from "./user-profile.types";
3
+ export declare const UserProfilePage: {
4
+ ({ user, venueBalances, balance, defaultTimeRange, onTimeRangeChange, activePositions, closedPositions, activities, onEditProfile, onDeposit, onWithdraw, onPositionClick, onActivityClick, classNames, }: UserProfilePageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,6 @@
1
+ import type { UserProfilePageProps } from "./user-profile.types";
2
+ export type { UserProfileActivity, UserProfileBalance, UserProfileConnectedExchange, UserProfileInfo, UserProfilePageClassNames, UserProfilePageProps, UserProfilePosition, UserProfilePositionFilter, UserProfileSocialLink, UserProfileTimeRange, UserProfileVenueBalance, } from "./user-profile.types";
3
+ export declare const UserProfilePage: {
4
+ ({ user, venueBalances, balance, defaultTimeRange, onTimeRangeChange, activePositions, closedPositions, activities, onEditProfile, onDeposit, onWithdraw, onPositionClick, onActivityClick, classNames, }: UserProfilePageProps): JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,9 @@
1
+ import type { UserProfilePositionFilter, UserProfileTimeRange } from "./user-profile.types";
2
+ export declare const USER_PROFILE_TAB_POSITIONS: "positions";
3
+ export declare const USER_PROFILE_TAB_ACTIVITY: "activity";
4
+ export type UserProfileTabValue = typeof USER_PROFILE_TAB_POSITIONS | typeof USER_PROFILE_TAB_ACTIVITY;
5
+ export declare const USER_PROFILE_TIME_RANGES: UserProfileTimeRange[];
6
+ export declare const USER_PROFILE_POSITION_FILTERS: {
7
+ value: UserProfilePositionFilter;
8
+ label: string;
9
+ }[];
@@ -0,0 +1,9 @@
1
+ import type { UserProfilePositionFilter, UserProfileTimeRange } from "./user-profile.types";
2
+ export declare const USER_PROFILE_TAB_POSITIONS: "positions";
3
+ export declare const USER_PROFILE_TAB_ACTIVITY: "activity";
4
+ export type UserProfileTabValue = typeof USER_PROFILE_TAB_POSITIONS | typeof USER_PROFILE_TAB_ACTIVITY;
5
+ export declare const USER_PROFILE_TIME_RANGES: UserProfileTimeRange[];
6
+ export declare const USER_PROFILE_POSITION_FILTERS: {
7
+ value: UserProfilePositionFilter;
8
+ label: string;
9
+ }[];