@agg-build/ui 1.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 (664) hide show
  1. package/README.md +287 -0
  2. package/dist/chunk-2QJXRRYP.mjs +37 -0
  3. package/dist/chunk-6NS7D73S.mjs +8811 -0
  4. package/dist/chunk-75IGOQ4N.mjs +3415 -0
  5. package/dist/chunk-C7T56TJR.mjs +748 -0
  6. package/dist/chunk-CGNDMLQL.mjs +3813 -0
  7. package/dist/chunk-DMKKNK76.mjs +3742 -0
  8. package/dist/chunk-I2WBGEWK.mjs +4512 -0
  9. package/dist/chunk-KHHFHXXD.mjs +1 -0
  10. package/dist/events.d.mts +1 -0
  11. package/dist/events.d.ts +1 -0
  12. package/dist/events.js +11414 -0
  13. package/dist/events.mjs +41 -0
  14. package/dist/index.d.mts +1 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +25520 -0
  17. package/dist/index.mjs +978 -0
  18. package/dist/modals.d.mts +1 -0
  19. package/dist/modals.d.ts +1 -0
  20. package/dist/modals.js +7743 -0
  21. package/dist/modals.mjs +36 -0
  22. package/dist/pages.d.mts +1 -0
  23. package/dist/pages.d.ts +1 -0
  24. package/dist/pages.js +20230 -0
  25. package/dist/pages.mjs +33 -0
  26. package/dist/primitives.d.mts +1 -0
  27. package/dist/primitives.d.ts +1 -0
  28. package/dist/primitives.js +8599 -0
  29. package/dist/primitives.mjs +179 -0
  30. package/dist/styles.css +2 -0
  31. package/dist/tailwind.css +2 -0
  32. package/dist/trading.d.mts +1 -0
  33. package/dist/trading.d.ts +1 -0
  34. package/dist/trading.js +8658 -0
  35. package/dist/trading.mjs +49 -0
  36. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.mts +30 -0
  37. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.ts +30 -0
  38. package/dist/types/auth/connect-button-view/connect-button-view.types.d.mts +115 -0
  39. package/dist/types/auth/connect-button-view/connect-button-view.types.d.ts +115 -0
  40. package/dist/types/auth/connect-button-view/index.d.mts +7 -0
  41. package/dist/types/auth/connect-button-view/index.d.ts +7 -0
  42. package/dist/types/auth/index.d.mts +1 -0
  43. package/dist/types/auth/index.d.ts +1 -0
  44. package/dist/types/constants.d.mts +5 -0
  45. package/dist/types/constants.d.ts +5 -0
  46. package/dist/types/deposit/components/DepositQRCode.d.mts +12 -0
  47. package/dist/types/deposit/components/DepositQRCode.d.ts +12 -0
  48. package/dist/types/deposit/deposit-modal.constants.d.mts +10 -0
  49. package/dist/types/deposit/deposit-modal.constants.d.ts +10 -0
  50. package/dist/types/deposit/deposit-modal.types.d.mts +233 -0
  51. package/dist/types/deposit/deposit-modal.types.d.ts +233 -0
  52. package/dist/types/deposit/index.d.mts +22 -0
  53. package/dist/types/deposit/index.d.ts +22 -0
  54. package/dist/types/deposit/steps/card-deposit.d.mts +17 -0
  55. package/dist/types/deposit/steps/card-deposit.d.ts +17 -0
  56. package/dist/types/deposit/steps/card-payment-pending.d.mts +7 -0
  57. package/dist/types/deposit/steps/card-payment-pending.d.ts +7 -0
  58. package/dist/types/deposit/steps/card-provider.d.mts +14 -0
  59. package/dist/types/deposit/steps/card-provider.d.ts +14 -0
  60. package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
  61. package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
  62. package/dist/types/deposit/steps/card-widget.d.mts +6 -0
  63. package/dist/types/deposit/steps/card-widget.d.ts +6 -0
  64. package/dist/types/deposit/steps/crypto-transfer.d.mts +19 -0
  65. package/dist/types/deposit/steps/crypto-transfer.d.ts +19 -0
  66. package/dist/types/deposit/steps/deposit-method.d.mts +12 -0
  67. package/dist/types/deposit/steps/deposit-method.d.ts +12 -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/deposit/steps/wallet-form.d.mts +24 -0
  71. package/dist/types/deposit/steps/wallet-form.d.ts +24 -0
  72. package/dist/types/deposit/steps/wallet-processing.d.mts +7 -0
  73. package/dist/types/deposit/steps/wallet-processing.d.ts +7 -0
  74. package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
  75. package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
  76. package/dist/types/events/index.d.mts +5 -0
  77. package/dist/types/events/index.d.ts +5 -0
  78. package/dist/types/events/item/event-list-item.constants.d.mts +1 -0
  79. package/dist/types/events/item/event-list-item.constants.d.ts +1 -0
  80. package/dist/types/events/item/event-list-item.types.d.mts +71 -0
  81. package/dist/types/events/item/event-list-item.types.d.ts +71 -0
  82. package/dist/types/events/item/event-list-item.utils.d.mts +46 -0
  83. package/dist/types/events/item/event-list-item.utils.d.ts +46 -0
  84. package/dist/types/events/item/index.d.mts +6 -0
  85. package/dist/types/events/item/index.d.ts +6 -0
  86. package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +10 -0
  87. package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +10 -0
  88. package/dist/types/events/item-details/event-list-item-details.constants.d.mts +3 -0
  89. package/dist/types/events/item-details/event-list-item-details.constants.d.ts +3 -0
  90. package/dist/types/events/item-details/event-list-item-details.types.d.mts +116 -0
  91. package/dist/types/events/item-details/event-list-item-details.types.d.ts +116 -0
  92. package/dist/types/events/item-details/event-list-item-details.utils.d.mts +75 -0
  93. package/dist/types/events/item-details/event-list-item-details.utils.d.ts +75 -0
  94. package/dist/types/events/item-details/index.d.mts +8 -0
  95. package/dist/types/events/item-details/index.d.ts +8 -0
  96. package/dist/types/events/item-details/settlement-summary.d.mts +9 -0
  97. package/dist/types/events/item-details/settlement-summary.d.ts +9 -0
  98. package/dist/types/events/list/event-list-tabs.d.mts +44 -0
  99. package/dist/types/events/list/event-list-tabs.d.ts +44 -0
  100. package/dist/types/events/list/event-list.constants.d.mts +4 -0
  101. package/dist/types/events/list/event-list.constants.d.ts +4 -0
  102. package/dist/types/events/list/event-list.types.d.mts +48 -0
  103. package/dist/types/events/list/event-list.types.d.ts +48 -0
  104. package/dist/types/events/list/event-list.utils.d.mts +19 -0
  105. package/dist/types/events/list/event-list.utils.d.ts +19 -0
  106. package/dist/types/events/list/index.d.mts +6 -0
  107. package/dist/types/events/list/index.d.ts +6 -0
  108. package/dist/types/events/market-details/index.d.mts +12 -0
  109. package/dist/types/events/market-details/index.d.ts +12 -0
  110. package/dist/types/events/market-details/market-details-outcome-button.d.mts +13 -0
  111. package/dist/types/events/market-details/market-details-outcome-button.d.ts +13 -0
  112. package/dist/types/events/market-details/market-details.constants.d.mts +9 -0
  113. package/dist/types/events/market-details/market-details.constants.d.ts +9 -0
  114. package/dist/types/events/market-details/market-details.types.d.mts +143 -0
  115. package/dist/types/events/market-details/market-details.types.d.ts +143 -0
  116. package/dist/types/events/market-details/market-details.utils.d.mts +72 -0
  117. package/dist/types/events/market-details/market-details.utils.d.ts +72 -0
  118. package/dist/types/events/market-details/orderbook-aggregation.d.mts +30 -0
  119. package/dist/types/events/market-details/orderbook-aggregation.d.ts +30 -0
  120. package/dist/types/events/orderbook/index.d.mts +11 -0
  121. package/dist/types/events/orderbook/index.d.ts +11 -0
  122. package/dist/types/events/orderbook/orderbook-with-states.d.mts +35 -0
  123. package/dist/types/events/orderbook/orderbook-with-states.d.ts +35 -0
  124. package/dist/types/events/orderbook/orderbook.constants.d.mts +10 -0
  125. package/dist/types/events/orderbook/orderbook.constants.d.ts +10 -0
  126. package/dist/types/events/orderbook/orderbook.types.d.mts +65 -0
  127. package/dist/types/events/orderbook/orderbook.types.d.ts +65 -0
  128. package/dist/types/events/orderbook/orderbook.utils.d.mts +13 -0
  129. package/dist/types/events/orderbook/orderbook.utils.d.ts +13 -0
  130. package/dist/types/events/orderbook/use-center-orderbook-spread.d.mts +13 -0
  131. package/dist/types/events/orderbook/use-center-orderbook-spread.d.ts +13 -0
  132. package/dist/types/events/shared/chart-venue-selection.d.mts +20 -0
  133. package/dist/types/events/shared/chart-venue-selection.d.ts +20 -0
  134. package/dist/types/events/shared/event-trading-state.utils.d.mts +14 -0
  135. package/dist/types/events/shared/event-trading-state.utils.d.ts +14 -0
  136. package/dist/types/events/shared/venue-market-cluster.d.mts +11 -0
  137. package/dist/types/events/shared/venue-market-cluster.d.ts +11 -0
  138. package/dist/types/geo-block-banner/index.d.mts +12 -0
  139. package/dist/types/geo-block-banner/index.d.ts +12 -0
  140. package/dist/types/geo-block-modal/geo-block-modal.types.d.mts +13 -0
  141. package/dist/types/geo-block-modal/geo-block-modal.types.d.ts +13 -0
  142. package/dist/types/geo-block-modal/index.d.mts +6 -0
  143. package/dist/types/geo-block-modal/index.d.ts +6 -0
  144. package/dist/types/index.d.mts +10 -0
  145. package/dist/types/index.d.ts +10 -0
  146. package/dist/types/modals/index.d.mts +6 -0
  147. package/dist/types/modals/index.d.ts +6 -0
  148. package/dist/types/onboarding/index.d.mts +11 -0
  149. package/dist/types/onboarding/index.d.ts +11 -0
  150. package/dist/types/onboarding/onboarding-modal.constants.d.mts +10 -0
  151. package/dist/types/onboarding/onboarding-modal.constants.d.ts +10 -0
  152. package/dist/types/onboarding/onboarding-modal.types.d.mts +76 -0
  153. package/dist/types/onboarding/onboarding-modal.types.d.ts +76 -0
  154. package/dist/types/onboarding/steps/connect-accounts.d.mts +5 -0
  155. package/dist/types/onboarding/steps/connect-accounts.d.ts +5 -0
  156. package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +5 -0
  157. package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +5 -0
  158. package/dist/types/onboarding/steps/connect-onchain-modal.d.mts +5 -0
  159. package/dist/types/onboarding/steps/connect-onchain-modal.d.ts +5 -0
  160. package/dist/types/onboarding/steps/how-it-works.d.mts +5 -0
  161. package/dist/types/onboarding/steps/how-it-works.d.ts +5 -0
  162. package/dist/types/onboarding/steps/profile-setup.d.mts +5 -0
  163. package/dist/types/onboarding/steps/profile-setup.d.ts +5 -0
  164. package/dist/types/pages/event-market/event-market.types.d.mts +84 -0
  165. package/dist/types/pages/event-market/event-market.types.d.ts +84 -0
  166. package/dist/types/pages/event-market/event-market.utils.d.mts +14 -0
  167. package/dist/types/pages/event-market/event-market.utils.d.ts +14 -0
  168. package/dist/types/pages/event-market/index.d.mts +8 -0
  169. package/dist/types/pages/event-market/index.d.ts +8 -0
  170. package/dist/types/pages/home/home.constants.d.mts +6 -0
  171. package/dist/types/pages/home/home.constants.d.ts +6 -0
  172. package/dist/types/pages/home/home.types.d.mts +85 -0
  173. package/dist/types/pages/home/home.types.d.ts +85 -0
  174. package/dist/types/pages/home/home.utils.d.mts +7 -0
  175. package/dist/types/pages/home/home.utils.d.ts +7 -0
  176. package/dist/types/pages/home/index.d.mts +9 -0
  177. package/dist/types/pages/home/index.d.ts +9 -0
  178. package/dist/types/pages/home/use-home-page-modals.d.mts +32 -0
  179. package/dist/types/pages/home/use-home-page-modals.d.ts +32 -0
  180. package/dist/types/pages/home/use-scroll-restoration.d.mts +17 -0
  181. package/dist/types/pages/home/use-scroll-restoration.d.ts +17 -0
  182. package/dist/types/pages/index.d.mts +4 -0
  183. package/dist/types/pages/index.d.ts +4 -0
  184. package/dist/types/pages/user-profile/chain-display.d.mts +1 -0
  185. package/dist/types/pages/user-profile/chain-display.d.ts +1 -0
  186. package/dist/types/pages/user-profile/components/activity-row.d.mts +11 -0
  187. package/dist/types/pages/user-profile/components/activity-row.d.ts +11 -0
  188. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +18 -0
  189. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +18 -0
  190. package/dist/types/pages/user-profile/components/balance-display.d.mts +10 -0
  191. package/dist/types/pages/user-profile/components/balance-display.d.ts +10 -0
  192. package/dist/types/pages/user-profile/components/balances-card.d.mts +12 -0
  193. package/dist/types/pages/user-profile/components/balances-card.d.ts +12 -0
  194. package/dist/types/pages/user-profile/components/default-avatar.d.mts +8 -0
  195. package/dist/types/pages/user-profile/components/default-avatar.d.ts +8 -0
  196. package/dist/types/pages/user-profile/components/empty-state.d.mts +10 -0
  197. package/dist/types/pages/user-profile/components/empty-state.d.ts +10 -0
  198. package/dist/types/pages/user-profile/components/open-order-row.d.mts +12 -0
  199. package/dist/types/pages/user-profile/components/open-order-row.d.ts +12 -0
  200. package/dist/types/pages/user-profile/components/position-row.d.mts +15 -0
  201. package/dist/types/pages/user-profile/components/position-row.d.ts +15 -0
  202. package/dist/types/pages/user-profile/components/positions-activity.d.mts +51 -0
  203. package/dist/types/pages/user-profile/components/positions-activity.d.ts +51 -0
  204. package/dist/types/pages/user-profile/components/positions-value-card.d.mts +10 -0
  205. package/dist/types/pages/user-profile/components/positions-value-card.d.ts +10 -0
  206. package/dist/types/pages/user-profile/components/user-info-card.d.mts +15 -0
  207. package/dist/types/pages/user-profile/components/user-info-card.d.ts +15 -0
  208. package/dist/types/pages/user-profile/index.d.mts +10 -0
  209. package/dist/types/pages/user-profile/index.d.ts +10 -0
  210. package/dist/types/pages/user-profile/user-profile.constants.d.mts +9 -0
  211. package/dist/types/pages/user-profile/user-profile.constants.d.ts +9 -0
  212. package/dist/types/pages/user-profile/user-profile.types.d.mts +281 -0
  213. package/dist/types/pages/user-profile/user-profile.types.d.ts +281 -0
  214. package/dist/types/primitives/agg-logo/agg-logo.constants.d.mts +3 -0
  215. package/dist/types/primitives/agg-logo/agg-logo.constants.d.ts +3 -0
  216. package/dist/types/primitives/agg-logo/agg-logo.types.d.mts +2 -0
  217. package/dist/types/primitives/agg-logo/agg-logo.types.d.ts +2 -0
  218. package/dist/types/primitives/agg-logo/agg-logo.utils.d.mts +2 -0
  219. package/dist/types/primitives/agg-logo/agg-logo.utils.d.ts +2 -0
  220. package/dist/types/primitives/agg-logo/index.d.mts +7 -0
  221. package/dist/types/primitives/agg-logo/index.d.ts +7 -0
  222. package/dist/types/primitives/autocomplete-select/autocomplete-select.constants.d.mts +1 -0
  223. package/dist/types/primitives/autocomplete-select/autocomplete-select.constants.d.ts +1 -0
  224. package/dist/types/primitives/autocomplete-select/autocomplete-select.types.d.mts +26 -0
  225. package/dist/types/primitives/autocomplete-select/autocomplete-select.types.d.ts +26 -0
  226. package/dist/types/primitives/autocomplete-select/autocomplete-select.utils.d.mts +7 -0
  227. package/dist/types/primitives/autocomplete-select/autocomplete-select.utils.d.ts +7 -0
  228. package/dist/types/primitives/autocomplete-select/index.d.mts +7 -0
  229. package/dist/types/primitives/autocomplete-select/index.d.ts +7 -0
  230. package/dist/types/primitives/badge/badge.constants.d.mts +4 -0
  231. package/dist/types/primitives/badge/badge.constants.d.ts +4 -0
  232. package/dist/types/primitives/badge/badge.types.d.mts +27 -0
  233. package/dist/types/primitives/badge/badge.types.d.ts +27 -0
  234. package/dist/types/primitives/badge/badge.utils.d.mts +11 -0
  235. package/dist/types/primitives/badge/badge.utils.d.ts +11 -0
  236. package/dist/types/primitives/badge/index.d.mts +8 -0
  237. package/dist/types/primitives/badge/index.d.ts +8 -0
  238. package/dist/types/primitives/button/button.constants.d.mts +6 -0
  239. package/dist/types/primitives/button/button.constants.d.ts +6 -0
  240. package/dist/types/primitives/button/button.types.d.mts +18 -0
  241. package/dist/types/primitives/button/button.types.d.ts +18 -0
  242. package/dist/types/primitives/button/button.utils.d.mts +12 -0
  243. package/dist/types/primitives/button/button.utils.d.ts +12 -0
  244. package/dist/types/primitives/button/index.d.mts +7 -0
  245. package/dist/types/primitives/button/index.d.ts +7 -0
  246. package/dist/types/primitives/card/card.constants.d.mts +4 -0
  247. package/dist/types/primitives/card/card.constants.d.ts +4 -0
  248. package/dist/types/primitives/card/card.types.d.mts +8 -0
  249. package/dist/types/primitives/card/card.types.d.ts +8 -0
  250. package/dist/types/primitives/card/card.utils.d.mts +8 -0
  251. package/dist/types/primitives/card/card.utils.d.ts +8 -0
  252. package/dist/types/primitives/card/index.d.mts +6 -0
  253. package/dist/types/primitives/card/index.d.ts +6 -0
  254. package/dist/types/primitives/chart/chart-type-switch.constants.d.mts +2 -0
  255. package/dist/types/primitives/chart/chart-type-switch.constants.d.ts +2 -0
  256. package/dist/types/primitives/chart/chart-type-switch.d.mts +7 -0
  257. package/dist/types/primitives/chart/chart-type-switch.d.ts +7 -0
  258. package/dist/types/primitives/chart/chart-type-switch.types.d.mts +9 -0
  259. package/dist/types/primitives/chart/chart-type-switch.types.d.ts +9 -0
  260. package/dist/types/primitives/chart/chart-type-switch.utils.d.mts +13 -0
  261. package/dist/types/primitives/chart/chart-type-switch.utils.d.ts +13 -0
  262. package/dist/types/primitives/chart/chart.constants.d.mts +5 -0
  263. package/dist/types/primitives/chart/chart.constants.d.ts +5 -0
  264. package/dist/types/primitives/chart/chart.types.d.mts +59 -0
  265. package/dist/types/primitives/chart/chart.types.d.ts +59 -0
  266. package/dist/types/primitives/chart/chart.utils.d.mts +35 -0
  267. package/dist/types/primitives/chart/chart.utils.d.ts +35 -0
  268. package/dist/types/primitives/chart/index.d.mts +7 -0
  269. package/dist/types/primitives/chart/index.d.ts +7 -0
  270. package/dist/types/primitives/conditional-wrapper.d.mts +11 -0
  271. package/dist/types/primitives/conditional-wrapper.d.ts +11 -0
  272. package/dist/types/primitives/currency-input/currency-input.constants.d.mts +6 -0
  273. package/dist/types/primitives/currency-input/currency-input.constants.d.ts +6 -0
  274. package/dist/types/primitives/currency-input/currency-input.types.d.mts +36 -0
  275. package/dist/types/primitives/currency-input/currency-input.types.d.ts +36 -0
  276. package/dist/types/primitives/currency-input/currency-input.utils.d.mts +10 -0
  277. package/dist/types/primitives/currency-input/currency-input.utils.d.ts +10 -0
  278. package/dist/types/primitives/currency-input/index.d.mts +7 -0
  279. package/dist/types/primitives/currency-input/index.d.ts +7 -0
  280. package/dist/types/primitives/error-boundary/index.d.mts +24 -0
  281. package/dist/types/primitives/error-boundary/index.d.ts +24 -0
  282. package/dist/types/primitives/footer/agg-build-logo.d.mts +16 -0
  283. package/dist/types/primitives/footer/agg-build-logo.d.ts +16 -0
  284. package/dist/types/primitives/footer/footer.constants.d.mts +3 -0
  285. package/dist/types/primitives/footer/footer.constants.d.ts +3 -0
  286. package/dist/types/primitives/footer/footer.types.d.mts +25 -0
  287. package/dist/types/primitives/footer/footer.types.d.ts +25 -0
  288. package/dist/types/primitives/footer/index.d.mts +8 -0
  289. package/dist/types/primitives/footer/index.d.ts +8 -0
  290. package/dist/types/primitives/header/agg-logo.d.mts +2 -0
  291. package/dist/types/primitives/header/agg-logo.d.ts +2 -0
  292. package/dist/types/primitives/header/header.constants.d.mts +2 -0
  293. package/dist/types/primitives/header/header.constants.d.ts +2 -0
  294. package/dist/types/primitives/header/header.types.d.mts +42 -0
  295. package/dist/types/primitives/header/header.types.d.ts +42 -0
  296. package/dist/types/primitives/header/header.utils.d.mts +12 -0
  297. package/dist/types/primitives/header/header.utils.d.ts +12 -0
  298. package/dist/types/primitives/header/index.d.mts +8 -0
  299. package/dist/types/primitives/header/index.d.ts +8 -0
  300. package/dist/types/primitives/icon/icon.constants.d.mts +2 -0
  301. package/dist/types/primitives/icon/icon.constants.d.ts +2 -0
  302. package/dist/types/primitives/icon/icon.types.d.mts +12 -0
  303. package/dist/types/primitives/icon/icon.types.d.ts +12 -0
  304. package/dist/types/primitives/icon/icon.utils.d.mts +3 -0
  305. package/dist/types/primitives/icon/icon.utils.d.ts +3 -0
  306. package/dist/types/primitives/icon/index.d.mts +68 -0
  307. package/dist/types/primitives/icon/index.d.ts +68 -0
  308. package/dist/types/primitives/icon/registry.d.mts +286 -0
  309. package/dist/types/primitives/icon/registry.d.ts +286 -0
  310. package/dist/types/primitives/icon/svg/activity-chart.d.mts +5 -0
  311. package/dist/types/primitives/icon/svg/activity-chart.d.ts +5 -0
  312. package/dist/types/primitives/icon/svg/activity.d.mts +5 -0
  313. package/dist/types/primitives/icon/svg/activity.d.ts +5 -0
  314. package/dist/types/primitives/icon/svg/apple.d.mts +5 -0
  315. package/dist/types/primitives/icon/svg/apple.d.ts +5 -0
  316. package/dist/types/primitives/icon/svg/arbitrum.d.mts +5 -0
  317. package/dist/types/primitives/icon/svg/arbitrum.d.ts +5 -0
  318. package/dist/types/primitives/icon/svg/arrow-right.d.mts +5 -0
  319. package/dist/types/primitives/icon/svg/arrow-right.d.ts +5 -0
  320. package/dist/types/primitives/icon/svg/arrow-trend-up.d.mts +5 -0
  321. package/dist/types/primitives/icon/svg/arrow-trend-up.d.ts +5 -0
  322. package/dist/types/primitives/icon/svg/arrows-to-dot.d.mts +5 -0
  323. package/dist/types/primitives/icon/svg/arrows-to-dot.d.ts +5 -0
  324. package/dist/types/primitives/icon/svg/badge-check-thin.d.mts +5 -0
  325. package/dist/types/primitives/icon/svg/badge-check-thin.d.ts +5 -0
  326. package/dist/types/primitives/icon/svg/bank.d.mts +5 -0
  327. package/dist/types/primitives/icon/svg/bank.d.ts +5 -0
  328. package/dist/types/primitives/icon/svg/base.d.mts +5 -0
  329. package/dist/types/primitives/icon/svg/base.d.ts +5 -0
  330. package/dist/types/primitives/icon/svg/best-prices.d.mts +5 -0
  331. package/dist/types/primitives/icon/svg/best-prices.d.ts +5 -0
  332. package/dist/types/primitives/icon/svg/bnb.d.mts +5 -0
  333. package/dist/types/primitives/icon/svg/bnb.d.ts +5 -0
  334. package/dist/types/primitives/icon/svg/bolt.d.mts +5 -0
  335. package/dist/types/primitives/icon/svg/bolt.d.ts +5 -0
  336. package/dist/types/primitives/icon/svg/chart-candlestick.d.mts +5 -0
  337. package/dist/types/primitives/icon/svg/chart-candlestick.d.ts +5 -0
  338. package/dist/types/primitives/icon/svg/chart-line.d.mts +5 -0
  339. package/dist/types/primitives/icon/svg/chart-line.d.ts +5 -0
  340. package/dist/types/primitives/icon/svg/check-badge.d.mts +5 -0
  341. package/dist/types/primitives/icon/svg/check-badge.d.ts +5 -0
  342. package/dist/types/primitives/icon/svg/check-circle.d.mts +5 -0
  343. package/dist/types/primitives/icon/svg/check-circle.d.ts +5 -0
  344. package/dist/types/primitives/icon/svg/chevron-down-thin.d.mts +6 -0
  345. package/dist/types/primitives/icon/svg/chevron-down-thin.d.ts +6 -0
  346. package/dist/types/primitives/icon/svg/chevron-down.d.mts +5 -0
  347. package/dist/types/primitives/icon/svg/chevron-down.d.ts +5 -0
  348. package/dist/types/primitives/icon/svg/chevron-left.d.mts +5 -0
  349. package/dist/types/primitives/icon/svg/chevron-left.d.ts +5 -0
  350. package/dist/types/primitives/icon/svg/chevron-right.d.mts +5 -0
  351. package/dist/types/primitives/icon/svg/chevron-right.d.ts +5 -0
  352. package/dist/types/primitives/icon/svg/chevron-up.d.mts +5 -0
  353. package/dist/types/primitives/icon/svg/chevron-up.d.ts +5 -0
  354. package/dist/types/primitives/icon/svg/close.d.mts +5 -0
  355. package/dist/types/primitives/icon/svg/close.d.ts +5 -0
  356. package/dist/types/primitives/icon/svg/copy.d.mts +5 -0
  357. package/dist/types/primitives/icon/svg/copy.d.ts +5 -0
  358. package/dist/types/primitives/icon/svg/create-account.d.mts +5 -0
  359. package/dist/types/primitives/icon/svg/create-account.d.ts +5 -0
  360. package/dist/types/primitives/icon/svg/credit-card.d.mts +5 -0
  361. package/dist/types/primitives/icon/svg/credit-card.d.ts +5 -0
  362. package/dist/types/primitives/icon/svg/cross-circle.d.mts +5 -0
  363. package/dist/types/primitives/icon/svg/cross-circle.d.ts +5 -0
  364. package/dist/types/primitives/icon/svg/disconnect.d.mts +5 -0
  365. package/dist/types/primitives/icon/svg/disconnect.d.ts +5 -0
  366. package/dist/types/primitives/icon/svg/discord.d.mts +5 -0
  367. package/dist/types/primitives/icon/svg/discord.d.ts +5 -0
  368. package/dist/types/primitives/icon/svg/document.d.mts +5 -0
  369. package/dist/types/primitives/icon/svg/document.d.ts +5 -0
  370. package/dist/types/primitives/icon/svg/dots-horizontal.d.mts +5 -0
  371. package/dist/types/primitives/icon/svg/dots-horizontal.d.ts +5 -0
  372. package/dist/types/primitives/icon/svg/download.d.mts +5 -0
  373. package/dist/types/primitives/icon/svg/download.d.ts +5 -0
  374. package/dist/types/primitives/icon/svg/email.d.mts +5 -0
  375. package/dist/types/primitives/icon/svg/email.d.ts +5 -0
  376. package/dist/types/primitives/icon/svg/error-filled.d.mts +5 -0
  377. package/dist/types/primitives/icon/svg/error-filled.d.ts +5 -0
  378. package/dist/types/primitives/icon/svg/ethereum.d.mts +5 -0
  379. package/dist/types/primitives/icon/svg/ethereum.d.ts +5 -0
  380. package/dist/types/primitives/icon/svg/external-link.d.mts +5 -0
  381. package/dist/types/primitives/icon/svg/external-link.d.ts +5 -0
  382. package/dist/types/primitives/icon/svg/google.d.mts +5 -0
  383. package/dist/types/primitives/icon/svg/google.d.ts +5 -0
  384. package/dist/types/primitives/icon/svg/image.d.mts +5 -0
  385. package/dist/types/primitives/icon/svg/image.d.ts +5 -0
  386. package/dist/types/primitives/icon/svg/info.d.mts +5 -0
  387. package/dist/types/primitives/icon/svg/info.d.ts +5 -0
  388. package/dist/types/primitives/icon/svg/internet-security.d.mts +5 -0
  389. package/dist/types/primitives/icon/svg/internet-security.d.ts +5 -0
  390. package/dist/types/primitives/icon/svg/link-accounts.d.mts +5 -0
  391. package/dist/types/primitives/icon/svg/link-accounts.d.ts +5 -0
  392. package/dist/types/primitives/icon/svg/paper-plane.d.mts +5 -0
  393. package/dist/types/primitives/icon/svg/paper-plane.d.ts +5 -0
  394. package/dist/types/primitives/icon/svg/pencil.d.mts +5 -0
  395. package/dist/types/primitives/icon/svg/pencil.d.ts +5 -0
  396. package/dist/types/primitives/icon/svg/play-square.d.mts +5 -0
  397. package/dist/types/primitives/icon/svg/play-square.d.ts +5 -0
  398. package/dist/types/primitives/icon/svg/polygon.d.mts +5 -0
  399. package/dist/types/primitives/icon/svg/polygon.d.ts +5 -0
  400. package/dist/types/primitives/icon/svg/profile-about-tab.d.mts +6 -0
  401. package/dist/types/primitives/icon/svg/profile-about-tab.d.ts +6 -0
  402. package/dist/types/primitives/icon/svg/profile-accounts-wallets-tab.d.mts +6 -0
  403. package/dist/types/primitives/icon/svg/profile-accounts-wallets-tab.d.ts +6 -0
  404. package/dist/types/primitives/icon/svg/profile.d.mts +5 -0
  405. package/dist/types/primitives/icon/svg/profile.d.ts +5 -0
  406. package/dist/types/primitives/icon/svg/quotes-warning.d.mts +6 -0
  407. package/dist/types/primitives/icon/svg/quotes-warning.d.ts +6 -0
  408. package/dist/types/primitives/icon/svg/recenter.d.mts +5 -0
  409. package/dist/types/primitives/icon/svg/recenter.d.ts +5 -0
  410. package/dist/types/primitives/icon/svg/revenue-alt.d.mts +5 -0
  411. package/dist/types/primitives/icon/svg/revenue-alt.d.ts +5 -0
  412. package/dist/types/primitives/icon/svg/search.d.mts +5 -0
  413. package/dist/types/primitives/icon/svg/search.d.ts +5 -0
  414. package/dist/types/primitives/icon/svg/shield-trust.d.mts +5 -0
  415. package/dist/types/primitives/icon/svg/shield-trust.d.ts +5 -0
  416. package/dist/types/primitives/icon/svg/solana.d.mts +5 -0
  417. package/dist/types/primitives/icon/svg/solana.d.ts +5 -0
  418. package/dist/types/primitives/icon/svg/sparkles-filled.d.mts +5 -0
  419. package/dist/types/primitives/icon/svg/sparkles-filled.d.ts +5 -0
  420. package/dist/types/primitives/icon/svg/stay-in-control.d.mts +5 -0
  421. package/dist/types/primitives/icon/svg/stay-in-control.d.ts +5 -0
  422. package/dist/types/primitives/icon/svg/success-check.d.mts +5 -0
  423. package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
  424. package/dist/types/primitives/icon/svg/telegram.d.mts +5 -0
  425. package/dist/types/primitives/icon/svg/telegram.d.ts +5 -0
  426. package/dist/types/primitives/icon/svg/triangle-down.d.mts +5 -0
  427. package/dist/types/primitives/icon/svg/triangle-down.d.ts +5 -0
  428. package/dist/types/primitives/icon/svg/triangle-up-filled.d.mts +5 -0
  429. package/dist/types/primitives/icon/svg/triangle-up-filled.d.ts +5 -0
  430. package/dist/types/primitives/icon/svg/triangle-up.d.mts +5 -0
  431. package/dist/types/primitives/icon/svg/triangle-up.d.ts +5 -0
  432. package/dist/types/primitives/icon/svg/twitter.d.mts +5 -0
  433. package/dist/types/primitives/icon/svg/twitter.d.ts +5 -0
  434. package/dist/types/primitives/icon/svg/upload.d.mts +5 -0
  435. package/dist/types/primitives/icon/svg/upload.d.ts +5 -0
  436. package/dist/types/primitives/icon/svg/usdc.d.mts +5 -0
  437. package/dist/types/primitives/icon/svg/usdc.d.ts +5 -0
  438. package/dist/types/primitives/icon/svg/user-trust.d.mts +5 -0
  439. package/dist/types/primitives/icon/svg/user-trust.d.ts +5 -0
  440. package/dist/types/primitives/icon/svg/wallet-avatar.d.mts +5 -0
  441. package/dist/types/primitives/icon/svg/wallet-avatar.d.ts +5 -0
  442. package/dist/types/primitives/icon/svg/wallet-filled.d.mts +5 -0
  443. package/dist/types/primitives/icon/svg/wallet-filled.d.ts +5 -0
  444. package/dist/types/primitives/icon/svg/wallet.d.mts +5 -0
  445. package/dist/types/primitives/icon/svg/wallet.d.ts +5 -0
  446. package/dist/types/primitives/icon/svg/warning-filled.d.mts +5 -0
  447. package/dist/types/primitives/icon/svg/warning-filled.d.ts +5 -0
  448. package/dist/types/primitives/icon/svg/warning.d.mts +5 -0
  449. package/dist/types/primitives/icon/svg/warning.d.ts +5 -0
  450. package/dist/types/primitives/icon/types.d.mts +6 -0
  451. package/dist/types/primitives/icon/types.d.ts +6 -0
  452. package/dist/types/primitives/index.d.mts +25 -0
  453. package/dist/types/primitives/index.d.ts +25 -0
  454. package/dist/types/primitives/inline-alert/index.d.mts +7 -0
  455. package/dist/types/primitives/inline-alert/index.d.ts +7 -0
  456. package/dist/types/primitives/inline-alert/inline-alert.constants.d.mts +7 -0
  457. package/dist/types/primitives/inline-alert/inline-alert.constants.d.ts +7 -0
  458. package/dist/types/primitives/inline-alert/inline-alert.types.d.mts +24 -0
  459. package/dist/types/primitives/inline-alert/inline-alert.types.d.ts +24 -0
  460. package/dist/types/primitives/inline-alert/inline-alert.utils.d.mts +10 -0
  461. package/dist/types/primitives/inline-alert/inline-alert.utils.d.ts +10 -0
  462. package/dist/types/primitives/loading-icon/index.d.mts +7 -0
  463. package/dist/types/primitives/loading-icon/index.d.ts +7 -0
  464. package/dist/types/primitives/loading-icon/loading-icon.constants.d.mts +11 -0
  465. package/dist/types/primitives/loading-icon/loading-icon.constants.d.ts +11 -0
  466. package/dist/types/primitives/loading-icon/loading-icon.types.d.mts +15 -0
  467. package/dist/types/primitives/loading-icon/loading-icon.types.d.ts +15 -0
  468. package/dist/types/primitives/loading-icon/loading-icon.utils.d.mts +5 -0
  469. package/dist/types/primitives/loading-icon/loading-icon.utils.d.ts +5 -0
  470. package/dist/types/primitives/modal/index.d.mts +11 -0
  471. package/dist/types/primitives/modal/index.d.ts +11 -0
  472. package/dist/types/primitives/modal/modal.constants.d.mts +2 -0
  473. package/dist/types/primitives/modal/modal.constants.d.ts +2 -0
  474. package/dist/types/primitives/modal/modal.types.d.mts +78 -0
  475. package/dist/types/primitives/modal/modal.types.d.ts +78 -0
  476. package/dist/types/primitives/modal/modal.utils.d.mts +8 -0
  477. package/dist/types/primitives/modal/modal.utils.d.ts +8 -0
  478. package/dist/types/primitives/number-value.d.mts +12 -0
  479. package/dist/types/primitives/number-value.d.ts +12 -0
  480. package/dist/types/primitives/remote-image/index.d.mts +7 -0
  481. package/dist/types/primitives/remote-image/index.d.ts +7 -0
  482. package/dist/types/primitives/remote-image/remote-image.constants.d.mts +4 -0
  483. package/dist/types/primitives/remote-image/remote-image.constants.d.ts +4 -0
  484. package/dist/types/primitives/remote-image/remote-image.types.d.mts +28 -0
  485. package/dist/types/primitives/remote-image/remote-image.types.d.ts +28 -0
  486. package/dist/types/primitives/remote-image/remote-image.utils.d.mts +4 -0
  487. package/dist/types/primitives/remote-image/remote-image.utils.d.ts +4 -0
  488. package/dist/types/primitives/search/index.d.mts +7 -0
  489. package/dist/types/primitives/search/index.d.ts +7 -0
  490. package/dist/types/primitives/search/search-empty-icon.d.mts +5 -0
  491. package/dist/types/primitives/search/search-empty-icon.d.ts +5 -0
  492. package/dist/types/primitives/search/search.constants.d.mts +3 -0
  493. package/dist/types/primitives/search/search.constants.d.ts +3 -0
  494. package/dist/types/primitives/search/search.types.d.mts +57 -0
  495. package/dist/types/primitives/search/search.types.d.ts +57 -0
  496. package/dist/types/primitives/search/search.utils.d.mts +4 -0
  497. package/dist/types/primitives/search/search.utils.d.ts +4 -0
  498. package/dist/types/primitives/select/index.d.mts +7 -0
  499. package/dist/types/primitives/select/index.d.ts +7 -0
  500. package/dist/types/primitives/select/select.constants.d.mts +1 -0
  501. package/dist/types/primitives/select/select.constants.d.ts +1 -0
  502. package/dist/types/primitives/select/select.types.d.mts +25 -0
  503. package/dist/types/primitives/select/select.types.d.ts +25 -0
  504. package/dist/types/primitives/select/select.utils.d.mts +9 -0
  505. package/dist/types/primitives/select/select.utils.d.ts +9 -0
  506. package/dist/types/primitives/skeleton/index.d.mts +8 -0
  507. package/dist/types/primitives/skeleton/index.d.ts +8 -0
  508. package/dist/types/primitives/skeleton/skeleton-block.d.mts +8 -0
  509. package/dist/types/primitives/skeleton/skeleton-block.d.ts +8 -0
  510. package/dist/types/primitives/skeleton/skeleton.constants.d.mts +1 -0
  511. package/dist/types/primitives/skeleton/skeleton.constants.d.ts +1 -0
  512. package/dist/types/primitives/skeleton/skeleton.types.d.mts +27 -0
  513. package/dist/types/primitives/skeleton/skeleton.types.d.ts +27 -0
  514. package/dist/types/primitives/skeleton/skeleton.utils.d.mts +3 -0
  515. package/dist/types/primitives/skeleton/skeleton.utils.d.ts +3 -0
  516. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.mts +5 -0
  517. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.ts +5 -0
  518. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +9 -0
  519. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +9 -0
  520. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.mts +5 -0
  521. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.ts +5 -0
  522. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.mts +12 -0
  523. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.ts +12 -0
  524. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +5 -0
  525. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +5 -0
  526. package/dist/types/primitives/skeleton/views/search-skeleton-view.d.mts +5 -0
  527. package/dist/types/primitives/skeleton/views/search-skeleton-view.d.ts +5 -0
  528. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.mts +5 -0
  529. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.ts +5 -0
  530. package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.mts +5 -0
  531. package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.ts +5 -0
  532. package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.mts +5 -0
  533. package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.ts +5 -0
  534. package/dist/types/primitives/state-message/index.d.mts +7 -0
  535. package/dist/types/primitives/state-message/index.d.ts +7 -0
  536. package/dist/types/primitives/state-message/state-message.constants.d.mts +1 -0
  537. package/dist/types/primitives/state-message/state-message.constants.d.ts +1 -0
  538. package/dist/types/primitives/state-message/state-message.types.d.mts +24 -0
  539. package/dist/types/primitives/state-message/state-message.types.d.ts +24 -0
  540. package/dist/types/primitives/state-message/state-message.utils.d.mts +4 -0
  541. package/dist/types/primitives/state-message/state-message.utils.d.ts +4 -0
  542. package/dist/types/primitives/switch-button/index.d.mts +7 -0
  543. package/dist/types/primitives/switch-button/index.d.ts +7 -0
  544. package/dist/types/primitives/switch-button/switch-button.constants.d.mts +5 -0
  545. package/dist/types/primitives/switch-button/switch-button.constants.d.ts +5 -0
  546. package/dist/types/primitives/switch-button/switch-button.types.d.mts +19 -0
  547. package/dist/types/primitives/switch-button/switch-button.types.d.ts +19 -0
  548. package/dist/types/primitives/switch-button/switch-button.utils.d.mts +7 -0
  549. package/dist/types/primitives/switch-button/switch-button.utils.d.ts +7 -0
  550. package/dist/types/primitives/tabs/index.d.mts +7 -0
  551. package/dist/types/primitives/tabs/index.d.ts +7 -0
  552. package/dist/types/primitives/tabs/tabs.constants.d.mts +1 -0
  553. package/dist/types/primitives/tabs/tabs.constants.d.ts +1 -0
  554. package/dist/types/primitives/tabs/tabs.types.d.mts +36 -0
  555. package/dist/types/primitives/tabs/tabs.types.d.ts +36 -0
  556. package/dist/types/primitives/tabs/tabs.utils.d.mts +15 -0
  557. package/dist/types/primitives/tabs/tabs.utils.d.ts +15 -0
  558. package/dist/types/primitives/tooltip/index.d.mts +7 -0
  559. package/dist/types/primitives/tooltip/index.d.ts +7 -0
  560. package/dist/types/primitives/tooltip/tooltip.constants.d.mts +3 -0
  561. package/dist/types/primitives/tooltip/tooltip.constants.d.ts +3 -0
  562. package/dist/types/primitives/tooltip/tooltip.types.d.mts +27 -0
  563. package/dist/types/primitives/tooltip/tooltip.types.d.ts +27 -0
  564. package/dist/types/primitives/tooltip/tooltip.utils.d.mts +7 -0
  565. package/dist/types/primitives/tooltip/tooltip.utils.d.ts +7 -0
  566. package/dist/types/primitives/typography/index.d.mts +8 -0
  567. package/dist/types/primitives/typography/index.d.ts +8 -0
  568. package/dist/types/primitives/typography/typography.constants.d.mts +3 -0
  569. package/dist/types/primitives/typography/typography.constants.d.ts +3 -0
  570. package/dist/types/primitives/typography/typography.types.d.mts +12 -0
  571. package/dist/types/primitives/typography/typography.types.d.ts +12 -0
  572. package/dist/types/primitives/typography/typography.utils.d.mts +6 -0
  573. package/dist/types/primitives/typography/typography.utils.d.ts +6 -0
  574. package/dist/types/primitives/venue-logo/index.d.mts +9 -0
  575. package/dist/types/primitives/venue-logo/index.d.ts +9 -0
  576. package/dist/types/primitives/venue-logo/logo-props.d.mts +10 -0
  577. package/dist/types/primitives/venue-logo/logo-props.d.ts +10 -0
  578. package/dist/types/primitives/venue-logo/svg/default-venue.d.mts +2 -0
  579. package/dist/types/primitives/venue-logo/svg/default-venue.d.ts +2 -0
  580. package/dist/types/primitives/venue-logo/svg/logo-hyperliquid.d.mts +5 -0
  581. package/dist/types/primitives/venue-logo/svg/logo-hyperliquid.d.ts +5 -0
  582. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.mts +5 -0
  583. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.ts +5 -0
  584. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.mts +5 -0
  585. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.ts +5 -0
  586. package/dist/types/primitives/venue-logo/svg/logo-myriad.d.mts +5 -0
  587. package/dist/types/primitives/venue-logo/svg/logo-myriad.d.ts +5 -0
  588. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.mts +5 -0
  589. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.ts +5 -0
  590. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.mts +5 -0
  591. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.ts +5 -0
  592. package/dist/types/primitives/venue-logo/svg/logo-predict.d.mts +5 -0
  593. package/dist/types/primitives/venue-logo/svg/logo-predict.d.ts +5 -0
  594. package/dist/types/primitives/venue-logo/svg/logo-probable.d.mts +5 -0
  595. package/dist/types/primitives/venue-logo/svg/logo-probable.d.ts +5 -0
  596. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +17 -0
  597. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +17 -0
  598. package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +24 -0
  599. package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +24 -0
  600. package/dist/types/primitives/venue-logo/venue-logo.utils.d.mts +13 -0
  601. package/dist/types/primitives/venue-logo/venue-logo.utils.d.ts +13 -0
  602. package/dist/types/profile/index.d.mts +6 -0
  603. package/dist/types/profile/index.d.ts +6 -0
  604. package/dist/types/profile/profile-modal.constants.d.mts +17 -0
  605. package/dist/types/profile/profile-modal.constants.d.ts +17 -0
  606. package/dist/types/profile/profile-modal.types.d.mts +84 -0
  607. package/dist/types/profile/profile-modal.types.d.ts +84 -0
  608. package/dist/types/profile/tabs/about-tab.d.mts +18 -0
  609. package/dist/types/profile/tabs/about-tab.d.ts +18 -0
  610. package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +33 -0
  611. package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +33 -0
  612. package/dist/types/shared/constants.d.mts +33 -0
  613. package/dist/types/shared/constants.d.ts +33 -0
  614. package/dist/types/shared/deposit-modal-events.d.mts +4 -0
  615. package/dist/types/shared/deposit-modal-events.d.ts +4 -0
  616. package/dist/types/shared/query-error.d.mts +2 -0
  617. package/dist/types/shared/query-error.d.ts +2 -0
  618. package/dist/types/shared/types.d.mts +1 -0
  619. package/dist/types/shared/types.d.ts +1 -0
  620. package/dist/types/shared/utils.d.mts +15 -0
  621. package/dist/types/shared/utils.d.ts +15 -0
  622. package/dist/types/trading/index.d.mts +7 -0
  623. package/dist/types/trading/index.d.ts +7 -0
  624. package/dist/types/trading/place-order/index.d.mts +10 -0
  625. package/dist/types/trading/place-order/index.d.ts +10 -0
  626. package/dist/types/trading/place-order/index.place-order.constants.d.mts +18 -0
  627. package/dist/types/trading/place-order/index.place-order.constants.d.ts +18 -0
  628. package/dist/types/trading/place-order/index.place-order.failure.d.mts +14 -0
  629. package/dist/types/trading/place-order/index.place-order.failure.d.ts +14 -0
  630. package/dist/types/trading/place-order/index.place-order.success.d.mts +12 -0
  631. package/dist/types/trading/place-order/index.place-order.success.d.ts +12 -0
  632. package/dist/types/trading/place-order/index.place-order.types.d.mts +192 -0
  633. package/dist/types/trading/place-order/index.place-order.types.d.ts +192 -0
  634. package/dist/types/trading/place-order/index.place-order.utils.d.mts +100 -0
  635. package/dist/types/trading/place-order/index.place-order.utils.d.ts +100 -0
  636. package/dist/types/trading/settlement/index.d.mts +12 -0
  637. package/dist/types/trading/settlement/index.d.ts +12 -0
  638. package/dist/types/trading/settlement/settlement-details.d.mts +8 -0
  639. package/dist/types/trading/settlement/settlement-details.d.ts +8 -0
  640. package/dist/types/trading/settlement/settlement-details.utils.d.mts +7 -0
  641. package/dist/types/trading/settlement/settlement-details.utils.d.ts +7 -0
  642. package/dist/types/trading/trading-context/index.d.mts +2 -0
  643. package/dist/types/trading/trading-context/index.d.ts +2 -0
  644. package/dist/types/trading/types.d.mts +82 -0
  645. package/dist/types/trading/types.d.ts +82 -0
  646. package/dist/types/trading/use-kalshi-kyc-flow.d.mts +22 -0
  647. package/dist/types/trading/use-kalshi-kyc-flow.d.ts +22 -0
  648. package/dist/types/trading/utils.d.mts +16 -0
  649. package/dist/types/trading/utils.d.ts +16 -0
  650. package/dist/types/withdraw/index.d.mts +6 -0
  651. package/dist/types/withdraw/index.d.ts +6 -0
  652. package/dist/types/withdraw/steps/withdraw-amount.d.mts +17 -0
  653. package/dist/types/withdraw/steps/withdraw-amount.d.ts +17 -0
  654. package/dist/types/withdraw/steps/withdraw-method.d.mts +6 -0
  655. package/dist/types/withdraw/steps/withdraw-method.d.ts +6 -0
  656. package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
  657. package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
  658. package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
  659. package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
  660. package/dist/types/withdraw/withdraw-modal.constants.d.mts +5 -0
  661. package/dist/types/withdraw/withdraw-modal.constants.d.ts +5 -0
  662. package/dist/types/withdraw/withdraw-modal.types.d.mts +64 -0
  663. package/dist/types/withdraw/withdraw-modal.types.d.ts +64 -0
  664. package/package.json +128 -0
@@ -0,0 +1,84 @@
1
+ import type { VenueEventWithMarkets } from "../../events/item/event-list-item.types";
2
+ import type { PlaceOrderResolvedClaimSummary, SettlementViewModel } from "../../trading";
3
+ export type EventMarketPageClassNames = Partial<{
4
+ root: string;
5
+ content: string;
6
+ main: string;
7
+ sidebar: string;
8
+ hero: string;
9
+ markets: string;
10
+ settlement: string;
11
+ trade: string;
12
+ tradeBody: string;
13
+ tradeHeader: string;
14
+ tradeContent: string;
15
+ tradeFooter: string;
16
+ mobileTrade: string;
17
+ mobileTradeBody: string;
18
+ mobileTradeHeader: string;
19
+ mobileTradeContent: string;
20
+ mobileTradeFooter: string;
21
+ mobileTradeCta: string;
22
+ mobileTradeModal: string;
23
+ }>;
24
+ export type EventMarketPageStickyOrderPanelConfig = {
25
+ /** Enable sticky order panel */
26
+ enabled?: boolean;
27
+ /** Extend or override desktop sticky classes for the order panel rail. */
28
+ className?: string;
29
+ /** Sticky top offset in px when a number is provided, or a raw CSS length value. */
30
+ top?: number | string;
31
+ /**
32
+ * Optional desktop breathing space below the sticky rail viewport.
33
+ * This value is subtracted from the rail max height.
34
+ * When omitted and `top` is numeric, spacing is derived from the header offset.
35
+ */
36
+ spacing?: number | string;
37
+ };
38
+ export type EventMarketPageBaseProps = {
39
+ /** Called when the expanded market accordion item changes. */
40
+ onExpandedMarketChange?: (marketId: string | null) => void;
41
+ /** Market ID to preselect in the event details hero. */
42
+ defaultMarketId?: string;
43
+ /** Outcome ID to preselect alongside defaultMarketId. */
44
+ defaultOutcomeId?: string;
45
+ /** Whether to render the place-order panel. */
46
+ showPlaceOrder?: boolean;
47
+ /** Optional resolved-event claim summary shown inside the read-only order panel. */
48
+ resolvedClaim?: PlaceOrderResolvedClaimSummary;
49
+ /** Settlement view model shown when the event has settled. */
50
+ settlement?: SettlementViewModel;
51
+ /** Class name overrides for page layout slots. */
52
+ classNames?: EventMarketPageClassNames;
53
+ /** Sticky order panel behavior configuration. */
54
+ stickyOrderPanel?: EventMarketPageStickyOrderPanelConfig;
55
+ /** Accessible label applied to the page root. */
56
+ ariaLabel?: string;
57
+ /** Whether the page should render its loading state. */
58
+ isLoading?: boolean;
59
+ };
60
+ export type EventMarketPageLoadingProps = EventMarketPageBaseProps & {
61
+ /** Forces the page into its loading state. */
62
+ isLoading: true;
63
+ /** Prevents passing a resolved event while loading. */
64
+ event?: never;
65
+ /** Optional event ID used to fetch the event data. */
66
+ eventId?: string;
67
+ };
68
+ export type EventMarketPageWithEventProps = EventMarketPageBaseProps & {
69
+ /** Fully resolved event rendered by the page. */
70
+ event: VenueEventWithMarkets;
71
+ /** Optional explicit event ID override. */
72
+ eventId?: string;
73
+ /** Marks the page as loaded when event data is present. */
74
+ isLoading?: false;
75
+ };
76
+ export type EventMarketPageWithEventIdProps = EventMarketPageBaseProps & {
77
+ /** Prevents passing a full event object in ID-driven mode. */
78
+ event?: never;
79
+ /** Event ID used to fetch the page data. */
80
+ eventId: string;
81
+ /** Marks the page as loaded when ID-driven fetching is used. */
82
+ isLoading?: false;
83
+ };
84
+ export type EventMarketPageProps = EventMarketPageLoadingProps | EventMarketPageWithEventProps | EventMarketPageWithEventIdProps;
@@ -0,0 +1,14 @@
1
+ import type { CSSProperties } from "react";
2
+ import type { EventMarketPageStickyOrderPanelConfig } from "./event-market.types";
3
+ type EventMarketPageStickyState = {
4
+ contentClassName?: string;
5
+ sidebarClassName?: string;
6
+ mainClassName?: string;
7
+ placeOrder?: string;
8
+ style?: CSSProperties;
9
+ };
10
+ type ResolveEventMarketPageStickyStateOptions = {
11
+ stickyOrderPanel?: EventMarketPageStickyOrderPanelConfig;
12
+ };
13
+ export declare const resolveEventMarketPageStickyState: ({ stickyOrderPanel, }: ResolveEventMarketPageStickyStateOptions) => EventMarketPageStickyState;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { CSSProperties } from "react";
2
+ import type { EventMarketPageStickyOrderPanelConfig } from "./event-market.types";
3
+ type EventMarketPageStickyState = {
4
+ contentClassName?: string;
5
+ sidebarClassName?: string;
6
+ mainClassName?: string;
7
+ placeOrder?: string;
8
+ style?: CSSProperties;
9
+ };
10
+ type ResolveEventMarketPageStickyStateOptions = {
11
+ stickyOrderPanel?: EventMarketPageStickyOrderPanelConfig;
12
+ };
13
+ export declare const resolveEventMarketPageStickyState: ({ stickyOrderPanel, }: ResolveEventMarketPageStickyStateOptions) => EventMarketPageStickyState;
14
+ export {};
@@ -0,0 +1,8 @@
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 & {
5
+ onError?: (error: Error) => void;
6
+ }): JSX.Element;
7
+ displayName: string;
8
+ };
@@ -0,0 +1,8 @@
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 & {
5
+ onError?: (error: Error) => void;
6
+ }): JSX.Element;
7
+ displayName: string;
8
+ };
@@ -0,0 +1,6 @@
1
+ import type { AggUiLabels } from "@agg-build/hooks";
2
+ import type { HomePageEventSectionItem } 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 getDefaultEventSectionItems: (labels: AggUiLabels) => HomePageEventSectionItem[];
@@ -0,0 +1,6 @@
1
+ import type { AggUiLabels } from "@agg-build/hooks";
2
+ import type { HomePageEventSectionItem } 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 getDefaultEventSectionItems: (labels: AggUiLabels) => HomePageEventSectionItem[];
@@ -0,0 +1,85 @@
1
+ import type { VenueEventWithMarkets, VenueMarket, VenueMarketOutcome } from "../../events/item";
2
+ import type { EventListProps } from "../../events/list";
3
+ import type { IconName } from "../../primitives/icon";
4
+ import { EventMarketPageStickyOrderPanelConfig } from "../event-market/event-market.types";
5
+ export type HomePageTabValue = string;
6
+ export type HomePageTab = {
7
+ value: HomePageTabValue;
8
+ label: string;
9
+ iconName?: IconName;
10
+ search?: EventListProps["search"];
11
+ categoryIds?: EventListProps["categoryIds"];
12
+ disabled?: boolean;
13
+ };
14
+ export type HomePageEventSectionItem = {
15
+ id?: string;
16
+ title: EventListProps["title"];
17
+ limit?: EventListProps["limit"];
18
+ maxVisibleItems?: EventListProps["maxVisibleItems"];
19
+ search?: EventListProps["search"];
20
+ categoryIds?: EventListProps["categoryIds"];
21
+ };
22
+ export type HomePageClassNames = Partial<{
23
+ root: string;
24
+ header: string;
25
+ tabs: string;
26
+ sections: string;
27
+ }>;
28
+ export type HomePageProps = {
29
+ /** Available top-level tabs rendered in the page header. */
30
+ tabs?: HomePageTab[];
31
+ /** Initially selected tab when the page mounts. */
32
+ defaultActiveTab?: HomePageTabValue;
33
+ /** Called when the active tab changes. */
34
+ onTabChange?: (value: HomePageTabValue) => void;
35
+ /** Event list sections rendered for the active tab. */
36
+ eventSectionItems?: HomePageEventSectionItem[];
37
+ /** Class name overrides for page layout slots. */
38
+ classNames?: HomePageClassNames;
39
+ /** Maximum number of categories to request for the category tabs. */
40
+ categoriesLimit?: number;
41
+ /** Label used for the catch-all categories tab. */
42
+ allCategoryTabLabel?: string;
43
+ /** Custom actions rendered in the page header area. */
44
+ actions?: React.ReactNode;
45
+ /**
46
+ * Whether to render the built-in Header with search and logo.
47
+ * Set to `false` when you render the Header yourself in your app layout.
48
+ * @default true
49
+ */
50
+ withHeader?: boolean;
51
+ /**
52
+ * Controlled mode: when provided, clicking an event card calls this callback
53
+ * instead of showing inline event details. Use this when you want to handle
54
+ * navigation externally (e.g., routing to a dedicated event page).
55
+ */
56
+ onEventClick?: (event: VenueEventWithMarkets) => void;
57
+ /**
58
+ * Called when an outcome price badge is clicked. Receives the event, the specific market,
59
+ * and the outcome — use this to navigate to the event with a preselected market and outcome.
60
+ */
61
+ onMarketClick?: (event: VenueEventWithMarkets, market: VenueMarket, outcome: VenueMarketOutcome) => void;
62
+ /**
63
+ * Returns an href for each outcome badge, enabling native browser link behaviors
64
+ * (cmd/ctrl-click → new tab, middle-click → new tab, right-click → "Open in new tab").
65
+ */
66
+ getMarketHref?: (event: VenueEventWithMarkets, market: VenueMarket, outcome: VenueMarketOutcome) => string;
67
+ /**
68
+ * Override handler for when "See all results" is clicked in the search dropdown.
69
+ * When provided, prevents the default inline full-results behavior.
70
+ * Use this when you want to navigate to a search results page instead.
71
+ */
72
+ onSeeAllEvents?: (searchPhrase: string) => void;
73
+ /**
74
+ * Returns an href for each event card, enabling native browser link behaviors
75
+ * (cmd/ctrl-click → new tab, middle-click → new tab, right-click → "Open in new tab").
76
+ * When omitted, event cards render as div elements (current behavior).
77
+ */
78
+ getEventHref?: (event: VenueEventWithMarkets) => string;
79
+ /** Sticky order panel behavior configuration. */
80
+ stickyOrderPanel?: EventMarketPageStickyOrderPanelConfig;
81
+ };
82
+ export type HomePageCategory = {
83
+ id: string;
84
+ name: string;
85
+ };
@@ -0,0 +1,85 @@
1
+ import type { VenueEventWithMarkets, VenueMarket, VenueMarketOutcome } from "../../events/item";
2
+ import type { EventListProps } from "../../events/list";
3
+ import type { IconName } from "../../primitives/icon";
4
+ import { EventMarketPageStickyOrderPanelConfig } from "../event-market/event-market.types";
5
+ export type HomePageTabValue = string;
6
+ export type HomePageTab = {
7
+ value: HomePageTabValue;
8
+ label: string;
9
+ iconName?: IconName;
10
+ search?: EventListProps["search"];
11
+ categoryIds?: EventListProps["categoryIds"];
12
+ disabled?: boolean;
13
+ };
14
+ export type HomePageEventSectionItem = {
15
+ id?: string;
16
+ title: EventListProps["title"];
17
+ limit?: EventListProps["limit"];
18
+ maxVisibleItems?: EventListProps["maxVisibleItems"];
19
+ search?: EventListProps["search"];
20
+ categoryIds?: EventListProps["categoryIds"];
21
+ };
22
+ export type HomePageClassNames = Partial<{
23
+ root: string;
24
+ header: string;
25
+ tabs: string;
26
+ sections: string;
27
+ }>;
28
+ export type HomePageProps = {
29
+ /** Available top-level tabs rendered in the page header. */
30
+ tabs?: HomePageTab[];
31
+ /** Initially selected tab when the page mounts. */
32
+ defaultActiveTab?: HomePageTabValue;
33
+ /** Called when the active tab changes. */
34
+ onTabChange?: (value: HomePageTabValue) => void;
35
+ /** Event list sections rendered for the active tab. */
36
+ eventSectionItems?: HomePageEventSectionItem[];
37
+ /** Class name overrides for page layout slots. */
38
+ classNames?: HomePageClassNames;
39
+ /** Maximum number of categories to request for the category tabs. */
40
+ categoriesLimit?: number;
41
+ /** Label used for the catch-all categories tab. */
42
+ allCategoryTabLabel?: string;
43
+ /** Custom actions rendered in the page header area. */
44
+ actions?: React.ReactNode;
45
+ /**
46
+ * Whether to render the built-in Header with search and logo.
47
+ * Set to `false` when you render the Header yourself in your app layout.
48
+ * @default true
49
+ */
50
+ withHeader?: boolean;
51
+ /**
52
+ * Controlled mode: when provided, clicking an event card calls this callback
53
+ * instead of showing inline event details. Use this when you want to handle
54
+ * navigation externally (e.g., routing to a dedicated event page).
55
+ */
56
+ onEventClick?: (event: VenueEventWithMarkets) => void;
57
+ /**
58
+ * Called when an outcome price badge is clicked. Receives the event, the specific market,
59
+ * and the outcome — use this to navigate to the event with a preselected market and outcome.
60
+ */
61
+ onMarketClick?: (event: VenueEventWithMarkets, market: VenueMarket, outcome: VenueMarketOutcome) => void;
62
+ /**
63
+ * Returns an href for each outcome badge, enabling native browser link behaviors
64
+ * (cmd/ctrl-click → new tab, middle-click → new tab, right-click → "Open in new tab").
65
+ */
66
+ getMarketHref?: (event: VenueEventWithMarkets, market: VenueMarket, outcome: VenueMarketOutcome) => string;
67
+ /**
68
+ * Override handler for when "See all results" is clicked in the search dropdown.
69
+ * When provided, prevents the default inline full-results behavior.
70
+ * Use this when you want to navigate to a search results page instead.
71
+ */
72
+ onSeeAllEvents?: (searchPhrase: string) => void;
73
+ /**
74
+ * Returns an href for each event card, enabling native browser link behaviors
75
+ * (cmd/ctrl-click → new tab, middle-click → new tab, right-click → "Open in new tab").
76
+ * When omitted, event cards render as div elements (current behavior).
77
+ */
78
+ getEventHref?: (event: VenueEventWithMarkets) => string;
79
+ /** Sticky order panel behavior configuration. */
80
+ stickyOrderPanel?: EventMarketPageStickyOrderPanelConfig;
81
+ };
82
+ export type HomePageCategory = {
83
+ id: string;
84
+ name: string;
85
+ };
@@ -0,0 +1,7 @@
1
+ import type { HomePageCategory, HomePageTab, HomePageTabValue } from "./home.types";
2
+ /**
3
+ * Build category tabs from API-returned categories.
4
+ * Preserves the order returned by the API — no hardcoded ordering.
5
+ */
6
+ export declare const resolveCategoryTabs: (categories: HomePageCategory[], allCategoryTabLabel: string) => HomePageTab[];
7
+ export declare const resolveInitialTabValue: (tabs: HomePageTab[], defaultActiveTab: HomePageTabValue | undefined) => HomePageTabValue;
@@ -0,0 +1,7 @@
1
+ import type { HomePageCategory, HomePageTab, HomePageTabValue } from "./home.types";
2
+ /**
3
+ * Build category tabs from API-returned categories.
4
+ * Preserves the order returned by the API — no hardcoded ordering.
5
+ */
6
+ export declare const resolveCategoryTabs: (categories: HomePageCategory[], allCategoryTabLabel: string) => HomePageTab[];
7
+ export declare const resolveInitialTabValue: (tabs: HomePageTab[], defaultActiveTab: HomePageTabValue | undefined) => HomePageTabValue;
@@ -0,0 +1,9 @@
1
+ import type { HomePageProps } from "./home.types";
2
+ export type { HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue, } from "./home.types";
3
+ export { useHomePageModals, type HomePageModals, type HomePageModalState, } from "./use-home-page-modals";
4
+ export declare const HomePage: {
5
+ ({ tabs, defaultActiveTab, onTabChange: _onTabChange, eventSectionItems, classNames, categoriesLimit, allCategoryTabLabel, actions, withHeader, onEventClick: onEventClickProp, onSeeAllEvents: onSeeAllEventsProp, onMarketClick: onMarketClickProp, getMarketHref, getEventHref, onError, stickyOrderPanel, }: HomePageProps & {
6
+ onError?: (error: Error) => void;
7
+ }): JSX.Element;
8
+ displayName: string;
9
+ };
@@ -0,0 +1,9 @@
1
+ import type { HomePageProps } from "./home.types";
2
+ export type { HomePageCategory, HomePageClassNames, HomePageEventSectionItem, HomePageProps, HomePageTab, HomePageTabValue, } from "./home.types";
3
+ export { useHomePageModals, type HomePageModals, type HomePageModalState, } from "./use-home-page-modals";
4
+ export declare const HomePage: {
5
+ ({ tabs, defaultActiveTab, onTabChange: _onTabChange, eventSectionItems, classNames, categoriesLimit, allCategoryTabLabel, actions, withHeader, onEventClick: onEventClickProp, onSeeAllEvents: onSeeAllEventsProp, onMarketClick: onMarketClickProp, getMarketHref, getEventHref, onError, stickyOrderPanel, }: HomePageProps & {
6
+ onError?: (error: Error) => void;
7
+ }): JSX.Element;
8
+ displayName: string;
9
+ };
@@ -0,0 +1,32 @@
1
+ export type HomePageModalState = {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ };
5
+ export type HomePageModals = {
6
+ profileModal: HomePageModalState;
7
+ depositModal: HomePageModalState;
8
+ withdrawModal: HomePageModalState;
9
+ connectButtonHandlers: {
10
+ onProfileCardClick?: () => void;
11
+ onProfileClick: () => void;
12
+ onDepositClick: () => void;
13
+ onWithdrawClick: () => void;
14
+ };
15
+ };
16
+ /**
17
+ * Feature-level modal controller for the home page.
18
+ *
19
+ * Manages open/close state for Profile, Deposit, and Withdraw modals
20
+ * and returns ConnectButton-compatible action handlers.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * const { profileModal, depositModal, withdrawModal, connectButtonHandlers } = useHomePageModals();
25
+ *
26
+ * <ConnectButton {...connectButtonHandlers} />
27
+ * <ProfileModal {...profileModal} username="alice" ... />
28
+ * <DepositModal {...depositModal} walletFlow={...} ... />
29
+ * <WithdrawModal {...withdrawModal} withdrawFlow={...} ... />
30
+ * ```
31
+ */
32
+ export declare const useHomePageModals: () => HomePageModals;
@@ -0,0 +1,32 @@
1
+ export type HomePageModalState = {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ };
5
+ export type HomePageModals = {
6
+ profileModal: HomePageModalState;
7
+ depositModal: HomePageModalState;
8
+ withdrawModal: HomePageModalState;
9
+ connectButtonHandlers: {
10
+ onProfileCardClick?: () => void;
11
+ onProfileClick: () => void;
12
+ onDepositClick: () => void;
13
+ onWithdrawClick: () => void;
14
+ };
15
+ };
16
+ /**
17
+ * Feature-level modal controller for the home page.
18
+ *
19
+ * Manages open/close state for Profile, Deposit, and Withdraw modals
20
+ * and returns ConnectButton-compatible action handlers.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * const { profileModal, depositModal, withdrawModal, connectButtonHandlers } = useHomePageModals();
25
+ *
26
+ * <ConnectButton {...connectButtonHandlers} />
27
+ * <ProfileModal {...profileModal} username="alice" ... />
28
+ * <DepositModal {...depositModal} walletFlow={...} ... />
29
+ * <WithdrawModal {...withdrawModal} withdrawFlow={...} ... />
30
+ * ```
31
+ */
32
+ export declare const useHomePageModals: () => HomePageModals;
@@ -0,0 +1,17 @@
1
+ export interface UseScrollRestorationOptions {
2
+ /** Whether scroll restoration is active (a snapshot was consumed). */
3
+ enabled: boolean;
4
+ /** Target scroll offset in pixels from the top of the document. */
5
+ scrollY: number;
6
+ /** True when all data needed for scroll restoration has been loaded and rendered. */
7
+ isReady: boolean;
8
+ }
9
+ export interface UseScrollRestorationResult {
10
+ /** True while waiting for data to load before restoring scroll. */
11
+ isRestoring: boolean;
12
+ }
13
+ /**
14
+ * Restores window scroll position after data has loaded.
15
+ * Fires once when `enabled` and `isReady` are both true, then disables itself.
16
+ */
17
+ export declare function useScrollRestoration({ enabled, scrollY, isReady, }: UseScrollRestorationOptions): UseScrollRestorationResult;
@@ -0,0 +1,17 @@
1
+ export interface UseScrollRestorationOptions {
2
+ /** Whether scroll restoration is active (a snapshot was consumed). */
3
+ enabled: boolean;
4
+ /** Target scroll offset in pixels from the top of the document. */
5
+ scrollY: number;
6
+ /** True when all data needed for scroll restoration has been loaded and rendered. */
7
+ isReady: boolean;
8
+ }
9
+ export interface UseScrollRestorationResult {
10
+ /** True while waiting for data to load before restoring scroll. */
11
+ isRestoring: boolean;
12
+ }
13
+ /**
14
+ * Restores window scroll position after data has loaded.
15
+ * Fires once when `enabled` and `isReady` are both true, then disables itself.
16
+ */
17
+ export declare function useScrollRestoration({ enabled, scrollY, isReady, }: UseScrollRestorationOptions): UseScrollRestorationResult;
@@ -0,0 +1,4 @@
1
+ export * from "./home";
2
+ export * from "./event-market";
3
+ export * from "./user-profile";
4
+ export { DEPOSIT_MODAL_OPEN_EVENT, WITHDRAW_MODAL_OPEN_EVENT, requestAggDepositModalOpen, requestAggWithdrawModalOpen, } from "../shared/deposit-modal-events";
@@ -0,0 +1,4 @@
1
+ export * from "./home";
2
+ export * from "./event-market";
3
+ export * from "./user-profile";
4
+ export { DEPOSIT_MODAL_OPEN_EVENT, WITHDRAW_MODAL_OPEN_EVENT, requestAggDepositModalOpen, requestAggWithdrawModalOpen, } from "../shared/deposit-modal-events";
@@ -0,0 +1 @@
1
+ export declare const formatChainIdLabel: (chainId: string | number | null | undefined) => string;
@@ -0,0 +1 @@
1
+ export declare const formatChainIdLabel: (chainId: string | number | null | undefined) => string;
@@ -0,0 +1,11 @@
1
+ import type { UserProfileActivity } from "../user-profile.types";
2
+ type ActivityRowProps = {
3
+ activity: UserProfileActivity;
4
+ href?: string;
5
+ onClick?: (activity: UserProfileActivity) => void;
6
+ };
7
+ export declare const ActivityRow: {
8
+ ({ activity, href, onClick }: ActivityRowProps): JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { UserProfileActivity } from "../user-profile.types";
2
+ type ActivityRowProps = {
3
+ activity: UserProfileActivity;
4
+ href?: string;
5
+ onClick?: (activity: UserProfileActivity) => void;
6
+ };
7
+ export declare const ActivityRow: {
8
+ ({ activity, href, onClick }: ActivityRowProps): JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export {};
@@ -0,0 +1,18 @@
1
+ type ChainRow = {
2
+ key: string;
3
+ label: string;
4
+ balance: number;
5
+ accountCount: number;
6
+ venues?: string[];
7
+ };
8
+ type AvailableBalanceCardProps = {
9
+ label?: string;
10
+ valueLabel: string;
11
+ chains: ChainRow[];
12
+ className?: string;
13
+ };
14
+ export declare const AvailableBalanceCard: {
15
+ ({ label, valueLabel, chains, className, }: AvailableBalanceCardProps): JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export {};
@@ -0,0 +1,18 @@
1
+ type ChainRow = {
2
+ key: string;
3
+ label: string;
4
+ balance: number;
5
+ accountCount: number;
6
+ venues?: string[];
7
+ };
8
+ type AvailableBalanceCardProps = {
9
+ label?: string;
10
+ valueLabel: string;
11
+ chains: ChainRow[];
12
+ className?: string;
13
+ };
14
+ export declare const AvailableBalanceCard: {
15
+ ({ label, valueLabel, chains, className, }: AvailableBalanceCardProps): JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { UserProfileBalance } from "../user-profile.types";
2
+ type BalanceDisplayProps = {
3
+ balance?: UserProfileBalance;
4
+ className?: string;
5
+ };
6
+ export declare const BalanceDisplay: {
7
+ ({ balance, className }: BalanceDisplayProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { UserProfileBalance } from "../user-profile.types";
2
+ type BalanceDisplayProps = {
3
+ balance?: UserProfileBalance;
4
+ className?: string;
5
+ };
6
+ export declare const BalanceDisplay: {
7
+ ({ balance, className }: BalanceDisplayProps): JSX.Element;
8
+ displayName: string;
9
+ };
10
+ 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,12 @@
1
+ import type { UserProfileOpenOrder } from "../user-profile.types";
2
+ type OpenOrderRowProps = {
3
+ order: UserProfileOpenOrder;
4
+ onClick?: (order: UserProfileOpenOrder) => void;
5
+ onCancel?: (order: UserProfileOpenOrder) => void;
6
+ isCancelling?: boolean;
7
+ };
8
+ export declare const OpenOrderRow: {
9
+ ({ order, onClick, onCancel, isCancelling, }: OpenOrderRowProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};