@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,33 @@
1
+ import type { ExchangeAccount, SocialAccountState, WalletAccountInfo } from "../profile-modal.types";
2
+ interface VenueAccountInfo {
3
+ id: string;
4
+ venue: string;
5
+ status: string;
6
+ kycStatus: string;
7
+ }
8
+ export interface AccountsWalletsTabProps {
9
+ exchanges: ExchangeAccount[];
10
+ wallets?: WalletAccountInfo[];
11
+ socialAccounts?: SocialAccountState;
12
+ email?: string | null;
13
+ venueAccounts?: VenueAccountInfo[] | null;
14
+ onKycError?: (error: Error) => void;
15
+ onDisconnectExchange?: (venue: string) => void;
16
+ onConnectTwitter?: () => void;
17
+ onDisconnectTwitter?: () => void;
18
+ onConnectGoogle?: () => void;
19
+ onDisconnectGoogle?: () => void;
20
+ onConnectApple?: () => void;
21
+ onDisconnectApple?: () => void;
22
+ onConnectDiscord?: () => void;
23
+ onDisconnectDiscord?: () => void;
24
+ onConnectTelegram?: () => void;
25
+ onDisconnectTelegram?: () => void;
26
+ onDisconnectWallet?: (wallet: WalletAccountInfo) => void;
27
+ onConnectEmail?: () => void;
28
+ }
29
+ export declare const AccountsWalletsTab: {
30
+ ({ exchanges: _exchanges, socialAccounts, email, venueAccounts, onKycError, onDisconnectExchange: _onDisconnectExchange, onConnectTwitter, onDisconnectTwitter, onConnectGoogle, onDisconnectGoogle, onConnectApple, onDisconnectApple, onConnectDiscord: _onConnectDiscord, onDisconnectDiscord: _onDisconnectDiscord, onConnectTelegram: _onConnectTelegram, onDisconnectTelegram: _onDisconnectTelegram, onConnectEmail, }: AccountsWalletsTabProps): JSX.Element;
31
+ displayName: string;
32
+ };
33
+ export {};
@@ -0,0 +1,33 @@
1
+ import type { SelectItem } from "../primitives/select";
2
+ export interface TokenConfig {
3
+ /** Unique identifier used as the select value (e.g. "USDC"). */
4
+ value: string;
5
+ /** Human-readable label shown in dropdowns. */
6
+ label: string;
7
+ /** URL of the token icon/logo. */
8
+ iconUrl: string;
9
+ }
10
+ /** Static config for a blockchain network. */
11
+ export interface NetworkConfig {
12
+ /** Unique identifier used as the select value (e.g. "polygon"). */
13
+ value: string;
14
+ /** Human-readable label shown in dropdowns. */
15
+ label: string;
16
+ /** URL of the colored chain icon. */
17
+ iconUrl: string;
18
+ /** Tokens supported for deposits/withdrawals on this network. */
19
+ tokens: TokenConfig[];
20
+ }
21
+ export declare const SUPPORTED_NETWORKS: NetworkConfig[];
22
+ /** Return the supported tokens for a given network value. */
23
+ export declare const getTokensForNetwork: (networkValue: string) => TokenConfig[];
24
+ /** Map local SUPPORTED_NETWORKS to Select items with iconUrl and inline icon. */
25
+ export declare const mapNetworksToOptions: () => SelectItem[];
26
+ /** Default currency options shown when the caller does not provide any. */
27
+ export declare const DEFAULT_CURRENCY_OPTIONS: SelectItem[];
28
+ /** Add iconUrl to token options when missing, based on DEFAULT_CURRENCY_OPTIONS. */
29
+ export declare const withTokenIcons: (options: SelectItem[]) => SelectItem[];
30
+ /** Add iconUrl and icon to network options when missing, based on SUPPORTED_NETWORKS. */
31
+ export declare const withNetworkIcons: (options: SelectItem[]) => SelectItem[];
32
+ /** Merge two option arrays by value (preserving caller order, then filling from defaults). */
33
+ export declare const mergeSelectOptionsUnique: (base: SelectItem[] | undefined, fill: SelectItem[]) => SelectItem[];
@@ -0,0 +1,33 @@
1
+ import type { SelectItem } from "../primitives/select";
2
+ export interface TokenConfig {
3
+ /** Unique identifier used as the select value (e.g. "USDC"). */
4
+ value: string;
5
+ /** Human-readable label shown in dropdowns. */
6
+ label: string;
7
+ /** URL of the token icon/logo. */
8
+ iconUrl: string;
9
+ }
10
+ /** Static config for a blockchain network. */
11
+ export interface NetworkConfig {
12
+ /** Unique identifier used as the select value (e.g. "polygon"). */
13
+ value: string;
14
+ /** Human-readable label shown in dropdowns. */
15
+ label: string;
16
+ /** URL of the colored chain icon. */
17
+ iconUrl: string;
18
+ /** Tokens supported for deposits/withdrawals on this network. */
19
+ tokens: TokenConfig[];
20
+ }
21
+ export declare const SUPPORTED_NETWORKS: NetworkConfig[];
22
+ /** Return the supported tokens for a given network value. */
23
+ export declare const getTokensForNetwork: (networkValue: string) => TokenConfig[];
24
+ /** Map local SUPPORTED_NETWORKS to Select items with iconUrl and inline icon. */
25
+ export declare const mapNetworksToOptions: () => SelectItem[];
26
+ /** Default currency options shown when the caller does not provide any. */
27
+ export declare const DEFAULT_CURRENCY_OPTIONS: SelectItem[];
28
+ /** Add iconUrl to token options when missing, based on DEFAULT_CURRENCY_OPTIONS. */
29
+ export declare const withTokenIcons: (options: SelectItem[]) => SelectItem[];
30
+ /** Add iconUrl and icon to network options when missing, based on SUPPORTED_NETWORKS. */
31
+ export declare const withNetworkIcons: (options: SelectItem[]) => SelectItem[];
32
+ /** Merge two option arrays by value (preserving caller order, then filling from defaults). */
33
+ export declare const mergeSelectOptionsUnique: (base: SelectItem[] | undefined, fill: SelectItem[]) => SelectItem[];
@@ -0,0 +1,4 @@
1
+ export declare const DEPOSIT_MODAL_OPEN_EVENT = "agg-deposit:open-modal";
2
+ export declare const WITHDRAW_MODAL_OPEN_EVENT = "agg-withdraw:open-modal";
3
+ export declare const requestAggDepositModalOpen: () => void;
4
+ export declare const requestAggWithdrawModalOpen: () => void;
@@ -0,0 +1,4 @@
1
+ export declare const DEPOSIT_MODAL_OPEN_EVENT = "agg-deposit:open-modal";
2
+ export declare const WITHDRAW_MODAL_OPEN_EVENT = "agg-withdraw:open-modal";
3
+ export declare const requestAggDepositModalOpen: () => void;
4
+ export declare const requestAggWithdrawModalOpen: () => void;
@@ -0,0 +1,2 @@
1
+ export declare const getErrorStatus: (error: unknown) => number | null;
2
+ export declare const isErrorWithStatus: (error: unknown, status: number) => boolean;
@@ -0,0 +1,2 @@
1
+ export declare const getErrorStatus: (error: unknown) => number | null;
2
+ export declare const isErrorWithStatus: (error: unknown, status: number) => boolean;
@@ -0,0 +1 @@
1
+ export type AvailableSizes = "small" | "medium" | "large";
@@ -0,0 +1 @@
1
+ export type AvailableSizes = "small" | "medium" | "large";
@@ -0,0 +1,15 @@
1
+ export type ClassValue = string | false | null | undefined;
2
+ export type Falsy = false | 0 | "" | null | undefined;
3
+ export { AGG_ROOT_CLASS_NAME as aggRootClassName } from "../constants";
4
+ export declare const isTruthy: <T>(x: T | Falsy) => x is T;
5
+ export declare const cn: (...values: ClassValue[]) => string;
6
+ export declare const getMotionClassName: (enabled: boolean, ...values: ClassValue[]) => string | undefined;
7
+ export declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
8
+ export declare const isValidDateValue: (value: unknown) => value is Date;
9
+ export declare const toDate: (value: string | Date | undefined) => Date | null;
10
+ export declare const shortenAddress: (value: string) => string;
11
+ export declare const formatUsd: (value: number) => string;
12
+ /** Compact USD format (e.g. 127.8 → "$127.8", 50 → "$50"). */
13
+ export declare const formatCompactUsd: (amount: number) => string;
14
+ /** Format a raw numeric string for the amount input (adds locale grouping). */
15
+ export declare const formatAmountDisplay: (value: string) => string;
@@ -0,0 +1,15 @@
1
+ export type ClassValue = string | false | null | undefined;
2
+ export type Falsy = false | 0 | "" | null | undefined;
3
+ export { AGG_ROOT_CLASS_NAME as aggRootClassName } from "../constants";
4
+ export declare const isTruthy: <T>(x: T | Falsy) => x is T;
5
+ export declare const cn: (...values: ClassValue[]) => string;
6
+ export declare const getMotionClassName: (enabled: boolean, ...values: ClassValue[]) => string | undefined;
7
+ export declare const getScrollBehavior: (enabled: boolean) => "auto" | "smooth";
8
+ export declare const isValidDateValue: (value: unknown) => value is Date;
9
+ export declare const toDate: (value: string | Date | undefined) => Date | null;
10
+ export declare const shortenAddress: (value: string) => string;
11
+ export declare const formatUsd: (value: number) => string;
12
+ /** Compact USD format (e.g. 127.8 → "$127.8", 50 → "$50"). */
13
+ export declare const formatCompactUsd: (amount: number) => string;
14
+ /** Format a raw numeric string for the amount input (adds locale grouping). */
15
+ export declare const formatAmountDisplay: (value: string) => string;
@@ -0,0 +1,7 @@
1
+ export * from "./types";
2
+ export * from "./utils";
3
+ export * from "./settlement";
4
+ export * from "./settlement/settlement-details";
5
+ export * from "./settlement/settlement-details.utils";
6
+ export * from "./place-order";
7
+ export * from "./trading-context";
@@ -0,0 +1,7 @@
1
+ export * from "./types";
2
+ export * from "./utils";
3
+ export * from "./settlement";
4
+ export * from "./settlement/settlement-details";
5
+ export * from "./settlement/settlement-details.utils";
6
+ export * from "./place-order";
7
+ export * from "./trading-context";
@@ -0,0 +1,10 @@
1
+ import type { PlaceOrderProps } from "./index.place-order.types";
2
+ export { PlaceOrderFailureView } from "./index.place-order.failure";
3
+ export type { PlaceOrderFailureViewProps } from "./index.place-order.failure";
4
+ export { PlaceOrderSuccessView } from "./index.place-order.success";
5
+ export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
6
+ export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
7
+ export declare const PlaceOrder: {
8
+ ({ className, classNames, eventTradingState, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, chainBalancesOverride, onAmountChange, onClose, onOutcomeChange, onPrimaryAction, onSlippageChange, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, }: PlaceOrderProps): JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ import type { PlaceOrderProps } from "./index.place-order.types";
2
+ export { PlaceOrderFailureView } from "./index.place-order.failure";
3
+ export type { PlaceOrderFailureViewProps } from "./index.place-order.failure";
4
+ export { PlaceOrderSuccessView } from "./index.place-order.success";
5
+ export type { PlaceOrderSuccessViewProps } from "./index.place-order.success";
6
+ export type { PlaceOrderClassNames, PlaceOrderExecutionSummary, PlaceOrderResolvedClaimSummary, PlaceOrderTradingLabels, } from "./index.place-order.types";
7
+ export declare const PlaceOrder: {
8
+ ({ className, classNames, eventTradingState, isLoading, isPrimaryActionDisabled, isPrimaryActionLoading, chainBalancesOverride, onAmountChange, onClose, onOutcomeChange, onPrimaryAction, onSlippageChange, onTabChange, onSuccess, onError, onExecutionStateChange, resolvedClaim, }: PlaceOrderProps): JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,18 @@
1
+ import type { PlaceOrderResultTone } from "./index.place-order.types";
2
+ /**
3
+ * Order minimum is 1$ in all venues
4
+ * This will prevent from retrying partially filled order
5
+ */
6
+ export declare const MIN_BUY_ORDER_AMOUNT = 1;
7
+ export declare const DEFAULT_SLIPPAGE_VALUE = "0.5";
8
+ export declare const DEFAULT_SLIPPAGE_MINIMUM = 0.5;
9
+ export declare const HIGH_SLIPPAGE_THRESHOLD = 10;
10
+ export declare const PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT = 3;
11
+ export declare const PLACE_ORDER_CONTAINER_CLASS_NAME = "w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary shadow-none hover:shadow-none";
12
+ export declare const PLACE_ORDER_OUTCOME_BUTTON_CLASS_NAMES: {
13
+ readonly activeNegative: "border-agg-error/50 bg-agg-error/15 font-agg-bold text-agg-error";
14
+ readonly activePositive: "border-agg-success/50 bg-agg-success/15 font-agg-bold text-agg-success";
15
+ readonly base: "flex h-10 flex-1 items-center justify-center rounded-agg-full border px-6 text-agg-base leading-agg-6";
16
+ readonly inactive: "border-transparent bg-agg-secondary-hover font-agg-normal text-agg-foreground hover:bg-agg-tertiary";
17
+ };
18
+ export declare const PLACE_ORDER_RESULT_VALUE_CLASS_NAME_BY_TONE: Record<PlaceOrderResultTone, string>;
@@ -0,0 +1,18 @@
1
+ import type { PlaceOrderResultTone } from "./index.place-order.types";
2
+ /**
3
+ * Order minimum is 1$ in all venues
4
+ * This will prevent from retrying partially filled order
5
+ */
6
+ export declare const MIN_BUY_ORDER_AMOUNT = 1;
7
+ export declare const DEFAULT_SLIPPAGE_VALUE = "0.5";
8
+ export declare const DEFAULT_SLIPPAGE_MINIMUM = 0.5;
9
+ export declare const HIGH_SLIPPAGE_THRESHOLD = 10;
10
+ export declare const PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT = 3;
11
+ export declare const PLACE_ORDER_CONTAINER_CLASS_NAME = "w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary shadow-none hover:shadow-none";
12
+ export declare const PLACE_ORDER_OUTCOME_BUTTON_CLASS_NAMES: {
13
+ readonly activeNegative: "border-agg-error/50 bg-agg-error/15 font-agg-bold text-agg-error";
14
+ readonly activePositive: "border-agg-success/50 bg-agg-success/15 font-agg-bold text-agg-success";
15
+ readonly base: "flex h-10 flex-1 items-center justify-center rounded-agg-full border px-6 text-agg-base leading-agg-6";
16
+ readonly inactive: "border-transparent bg-agg-secondary-hover font-agg-normal text-agg-foreground hover:bg-agg-tertiary";
17
+ };
18
+ export declare const PLACE_ORDER_RESULT_VALUE_CLASS_NAME_BY_TONE: Record<PlaceOrderResultTone, string>;
@@ -0,0 +1,14 @@
1
+ import type { PlaceOrderFailureSummary, PlaceOrderTradingLabels } from "./index.place-order.types";
2
+ export interface PlaceOrderFailureViewProps {
3
+ className?: string;
4
+ enableAnimations?: boolean;
5
+ summary: PlaceOrderFailureSummary;
6
+ tradingLabels: PlaceOrderTradingLabels;
7
+ onRetry: () => void;
8
+ onDone: () => void;
9
+ onSkip?: () => void;
10
+ }
11
+ export declare const PlaceOrderFailureView: {
12
+ ({ className, enableAnimations: _enableAnimations, summary, tradingLabels, onRetry, onDone, onSkip, }: PlaceOrderFailureViewProps): JSX.Element;
13
+ displayName: string;
14
+ };
@@ -0,0 +1,14 @@
1
+ import type { PlaceOrderFailureSummary, PlaceOrderTradingLabels } from "./index.place-order.types";
2
+ export interface PlaceOrderFailureViewProps {
3
+ className?: string;
4
+ enableAnimations?: boolean;
5
+ summary: PlaceOrderFailureSummary;
6
+ tradingLabels: PlaceOrderTradingLabels;
7
+ onRetry: () => void;
8
+ onDone: () => void;
9
+ onSkip?: () => void;
10
+ }
11
+ export declare const PlaceOrderFailureView: {
12
+ ({ className, enableAnimations: _enableAnimations, summary, tradingLabels, onRetry, onDone, onSkip, }: PlaceOrderFailureViewProps): JSX.Element;
13
+ displayName: string;
14
+ };
@@ -0,0 +1,12 @@
1
+ import type { PlaceOrderExecutionSummary, PlaceOrderTradingLabels } from "./index.place-order.types";
2
+ export interface PlaceOrderSuccessViewProps {
3
+ className?: string;
4
+ summary: PlaceOrderExecutionSummary;
5
+ tradingLabels: PlaceOrderTradingLabels;
6
+ onDone: () => void;
7
+ onShare?: () => void;
8
+ }
9
+ export declare const PlaceOrderSuccessView: {
10
+ ({ className, summary, tradingLabels, onDone, onShare: _onShare, }: PlaceOrderSuccessViewProps): JSX.Element;
11
+ displayName: string;
12
+ };
@@ -0,0 +1,12 @@
1
+ import type { PlaceOrderExecutionSummary, PlaceOrderTradingLabels } from "./index.place-order.types";
2
+ export interface PlaceOrderSuccessViewProps {
3
+ className?: string;
4
+ summary: PlaceOrderExecutionSummary;
5
+ tradingLabels: PlaceOrderTradingLabels;
6
+ onDone: () => void;
7
+ onShare?: () => void;
8
+ }
9
+ export declare const PlaceOrderSuccessView: {
10
+ ({ className, summary, tradingLabels, onDone, onShare: _onShare, }: PlaceOrderSuccessViewProps): JSX.Element;
11
+ displayName: string;
12
+ };
@@ -0,0 +1,192 @@
1
+ import type { AggUiLabels, DagStepProgress, EventTradingState, VenueMarket, VenueMarketOutcome } from "@agg-build/hooks";
2
+ import type { SmartRouteResponse } from "@agg-build/sdk";
3
+ import type { PlaceOrderRoutingRow, PlaceOrderStatus, PlaceOrderTab, TradingVenue } from "../types";
4
+ export type PlaceOrderProps = {
5
+ /** Custom class name applied to the place-order root. */
6
+ className?: string;
7
+ /** Custom class name applied to the place-order elements. */
8
+ classNames?: PlaceOrderClassNames;
9
+ /** Trading state used to drive markets, balances, and quotes. */
10
+ eventTradingState?: EventTradingState;
11
+ /** Whether the place-order panel should render its loading state. */
12
+ isLoading?: boolean;
13
+ /** Whether the primary submit action should be disabled. */
14
+ isPrimaryActionDisabled?: boolean;
15
+ /** Whether the primary submit action should show a loading spinner. */
16
+ isPrimaryActionLoading?: boolean;
17
+ /** Called when the entered order amount changes. */
18
+ onAmountChange?: (amount: number) => void;
19
+ /** Called when the place-order panel should close. */
20
+ onClose?: () => void;
21
+ /** Called when the selected outcome changes. */
22
+ onOutcomeChange?: (outcomeId: string) => void;
23
+ /** Called when the primary action is triggered. */
24
+ onPrimaryAction?: (context?: {
25
+ quoteId?: string;
26
+ }) => void;
27
+ /** Called when the slippage control value changes. */
28
+ onSlippageChange?: (value: string) => void;
29
+ /** Called when the active trade tab changes. */
30
+ onTabChange?: (tab: PlaceOrderTab) => void;
31
+ /** Optional chain balance overrides keyed by chain ID. */
32
+ chainBalancesOverride?: Record<string, number>;
33
+ /** Called when order execution completes successfully. */
34
+ onSuccess?: (summary: PlaceOrderExecutionSummary) => void;
35
+ /** Called when order execution fails. */
36
+ onError?: (error: Error) => void;
37
+ /** Called on each execution phase transition (finding-route → submitting → executing → success → failed). */
38
+ onExecutionStateChange?: (state: PlaceOrderSubmissionProgressState) => void;
39
+ /** Optional resolved-event claim summary shown in read-only state. */
40
+ resolvedClaim?: PlaceOrderResolvedClaimSummary;
41
+ };
42
+ export type PlaceOrderResolvedClaimSummary = {
43
+ /** Resolution date label, e.g. "Mar 21, 2026". */
44
+ resolutionDateLabel: string;
45
+ /** Winning outcome label, e.g. "Yes". */
46
+ winningOutcomeLabel: string;
47
+ /** Shares label, e.g. "286 Yes". */
48
+ sharesLabel: string;
49
+ /** Total payout label, e.g. "$8.50". */
50
+ totalPayoutLabel: string;
51
+ /** Whether the claim action is currently in-flight. */
52
+ isClaiming?: boolean;
53
+ /** Optional claim action for eligible winnings. */
54
+ onClaim?: () => void;
55
+ };
56
+ export type PlaceOrderClassNames = {
57
+ root?: string;
58
+ body?: string;
59
+ header?: string;
60
+ content?: string;
61
+ footer?: string;
62
+ };
63
+ export type PlaceOrderSlippageControlProps = {
64
+ /** Default slippage value shown when the control initializes. */
65
+ defaultValue: string;
66
+ /** Whether the control should animate state changes. */
67
+ enableAnimations: boolean;
68
+ /** Minimum allowed slippage percentage. */
69
+ minimumValue: number;
70
+ /** Called when the slippage value changes. */
71
+ onChange?: (value: string) => void;
72
+ /** Controlled slippage value. */
73
+ value: string;
74
+ };
75
+ export type PlaceOrderRouteCardKind = "split" | "venue";
76
+ export type PlaceOrderRouteCard = {
77
+ id: string;
78
+ hint: string;
79
+ kind: PlaceOrderRouteCardKind;
80
+ label: string;
81
+ numericValue: number;
82
+ quoteData: SmartRouteResponse;
83
+ rows?: PlaceOrderRoutingRow[];
84
+ value: string;
85
+ venue?: TradingVenue;
86
+ /** Whether the venue is unavailable in the user's region (geo-blocked). */
87
+ isUnavailable?: boolean;
88
+ };
89
+ export type PlaceOrderOutcomeClassNameParams = {
90
+ enableAnimations: boolean;
91
+ isActive: boolean;
92
+ isPositive: boolean;
93
+ };
94
+ export type PlaceOrderOutcomeLabelValue = Pick<VenueMarketOutcome, "id" | "label">;
95
+ export type PlaceOrderVenueOutcome = Pick<VenueMarketOutcome, "id" | "label" | "price"> & {
96
+ title?: string | null;
97
+ };
98
+ export type PlaceOrderVenueQuote = {
99
+ price: number;
100
+ venue: TradingVenue;
101
+ venueMarketId: string;
102
+ venueMarketOutcomeId: string;
103
+ };
104
+ export type PlaceOrderResultTone = "default" | "success";
105
+ export type PlaceOrderQuoteResult = {
106
+ hint: string;
107
+ value: string;
108
+ };
109
+ export type PlaceOrderTradingLabels = AggUiLabels["trading"];
110
+ export type PlaceOrderExecutionStep = {
111
+ id: string;
112
+ label: string;
113
+ tone?: "complete" | "warning" | "error";
114
+ venue?: TradingVenue;
115
+ };
116
+ export type PlaceOrderExecutionStepGroup = PlaceOrderExecutionStep[];
117
+ export type PlaceOrderTerminalOrderEvent = {
118
+ orderId: string;
119
+ venue: string;
120
+ event: "filled" | "partial_fill" | "failed";
121
+ filledAmountRaw?: string;
122
+ remainingAmountRaw?: string;
123
+ errorReason?: string;
124
+ timestamp: number;
125
+ };
126
+ export type PlaceOrderFailureStepTone = "complete" | "warning" | "error";
127
+ export type PlaceOrderFailureStep = {
128
+ id: string;
129
+ label: string;
130
+ tone: PlaceOrderFailureStepTone;
131
+ venue?: TradingVenue;
132
+ };
133
+ export type PlaceOrderFailureAction = {
134
+ id: string;
135
+ label: string;
136
+ variant: "retry" | "dismiss" | "continue" | "skip";
137
+ };
138
+ export type PlaceOrderFailureKind = "partial_fill" | "venue_unavailable" | "market_resolved" | "generic";
139
+ export type PlaceOrderFailureSummary = {
140
+ actionLabel: string;
141
+ actions: PlaceOrderFailureAction[];
142
+ errorMessage?: string;
143
+ eventImage?: string | null;
144
+ eventSubtitle?: string;
145
+ eventTitle: string;
146
+ kind: PlaceOrderFailureKind;
147
+ steps: PlaceOrderFailureStep[];
148
+ };
149
+ export type ResolvePlaceOrderQuoteResultParams = {
150
+ labels: PlaceOrderTradingLabels;
151
+ quoteData: SmartRouteResponse | null;
152
+ tradeSide: PlaceOrderTab;
153
+ };
154
+ export type ResolvePlaceOrderQuoteStatusParams = {
155
+ amount: number;
156
+ labels: PlaceOrderTradingLabels;
157
+ quoteData: SmartRouteResponse | null;
158
+ selectedMarket: VenueMarket | null;
159
+ };
160
+ export type ResolvePlaceOrderTabKeyParams = {
161
+ currentTab: PlaceOrderTab;
162
+ key: string;
163
+ };
164
+ export type PlaceOrderQuoteStatus = PlaceOrderStatus | undefined;
165
+ export type PlaceOrderSubmissionProgressPhase = "finding-route" | "submitting" | "executing" | "success" | "failed";
166
+ export type PlaceOrderExecutionSummary = {
167
+ tradeSide?: PlaceOrderTab;
168
+ shares: string;
169
+ avgPrice: string;
170
+ estimatedCost: string;
171
+ venue?: string;
172
+ eventTitle?: string;
173
+ eventDateLabel?: string;
174
+ eventImage?: string | null;
175
+ actionLabel?: string;
176
+ actionTone?: "positive" | "negative";
177
+ amountLabel?: string;
178
+ toWinLabel?: string;
179
+ potentialReturnLabel?: string;
180
+ executionStepGroups?: PlaceOrderExecutionStepGroup[];
181
+ shareText?: string;
182
+ };
183
+ export type PlaceOrderSubmissionProgressState = {
184
+ errorMessage?: string;
185
+ executionVenue?: TradingVenue;
186
+ failureSummary?: PlaceOrderFailureSummary;
187
+ orderId?: string;
188
+ orderIds?: string[];
189
+ phase: PlaceOrderSubmissionProgressPhase;
190
+ summary?: PlaceOrderExecutionSummary;
191
+ dagProgress?: DagStepProgress | null;
192
+ };