@agg-market/ui 5.0.0 → 7.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 (541) hide show
  1. package/README.md +42 -27
  2. package/dist/chunk-6I474QXG.mjs +2736 -0
  3. package/dist/chunk-AVHMI47G.mjs +2409 -0
  4. package/dist/chunk-BXW3VIKV.mjs +90 -0
  5. package/dist/{chunk-5K7VXAYM.mjs → chunk-EEQPPN7N.mjs} +2 -4
  6. package/dist/chunk-EERL6BZF.mjs +997 -0
  7. package/dist/chunk-KQKLLL4D.mjs +730 -0
  8. package/dist/chunk-KZOQW6NT.mjs +0 -0
  9. package/dist/chunk-L5U7RGJV.mjs +1211 -0
  10. package/dist/{connect-button.js → chunk-MUB7NYWZ.mjs} +1039 -876
  11. package/dist/chunk-OAJBTVZT.mjs +119 -0
  12. package/dist/{chunk-QDMHLRDY.mjs → chunk-OVQVAUAI.mjs} +167 -40
  13. package/dist/chunk-ZYUJ7YEJ.mjs +645 -0
  14. package/dist/events.d.mts +1 -0
  15. package/dist/events.d.ts +1 -0
  16. package/dist/{event-market-page.js → events.js} +5552 -5315
  17. package/dist/events.mjs +16 -0
  18. package/dist/index.d.mts +1 -79
  19. package/dist/index.d.ts +1 -79
  20. package/dist/index.js +9186 -8374
  21. package/dist/index.mjs +644 -170
  22. package/dist/modals.d.mts +1 -0
  23. package/dist/modals.d.ts +1 -0
  24. package/dist/{onboarding-modal.js → modals.js} +3472 -1335
  25. package/dist/modals.mjs +24 -0
  26. package/dist/pages.d.mts +1 -0
  27. package/dist/pages.d.ts +1 -0
  28. package/dist/pages.js +8590 -0
  29. package/dist/pages.mjs +16 -0
  30. package/dist/primitives.d.mts +1 -0
  31. package/dist/primitives.d.ts +1 -0
  32. package/dist/{market-details.js → primitives.js} +3914 -3741
  33. package/dist/{icon.mjs → primitives.mjs} +70 -9
  34. package/dist/styles.css +1 -1
  35. package/dist/tailwind.css +1 -1
  36. package/dist/trading.d.mts +1 -0
  37. package/dist/trading.d.ts +1 -0
  38. package/dist/{place-order.js → trading.js} +2404 -1409
  39. package/dist/trading.mjs +65 -0
  40. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.mts +31 -0
  41. package/dist/types/auth/connect-button-view/connect-button-view.constants.d.ts +31 -0
  42. package/dist/types/auth/connect-button-view/connect-button-view.types.d.mts +83 -0
  43. package/dist/types/auth/connect-button-view/connect-button-view.types.d.ts +83 -0
  44. package/dist/types/auth/connect-button-view/index.d.mts +7 -0
  45. package/dist/types/auth/connect-button-view/index.d.ts +7 -0
  46. package/dist/types/auth/index.d.mts +1 -0
  47. package/dist/types/auth/index.d.ts +1 -0
  48. package/dist/types/constants.d.mts +1 -0
  49. package/dist/types/constants.d.ts +1 -0
  50. package/dist/types/deposit/deposit-modal.constants.d.mts +9 -0
  51. package/dist/types/deposit/deposit-modal.constants.d.ts +9 -0
  52. package/dist/{deposit-modal.d.mts → types/deposit/deposit-modal.types.d.mts} +3 -10
  53. package/dist/{deposit-modal.d.ts → types/deposit/deposit-modal.types.d.ts} +3 -10
  54. package/dist/types/deposit/index.d.mts +6 -0
  55. package/dist/types/deposit/index.d.ts +6 -0
  56. package/dist/types/deposit/steps/card-deposit.d.mts +7 -0
  57. package/dist/types/deposit/steps/card-deposit.d.ts +7 -0
  58. package/dist/types/deposit/steps/crypto-transfer.d.mts +7 -0
  59. package/dist/types/deposit/steps/crypto-transfer.d.ts +7 -0
  60. package/dist/types/deposit/steps/deposit-method.d.mts +7 -0
  61. package/dist/types/deposit/steps/deposit-method.d.ts +7 -0
  62. package/dist/types/deposit/steps/kalshi-deposit.d.mts +5 -0
  63. package/dist/types/deposit/steps/kalshi-deposit.d.ts +5 -0
  64. package/dist/types/deposit/steps/venue-selection.d.mts +7 -0
  65. package/dist/types/deposit/steps/venue-selection.d.ts +7 -0
  66. package/dist/types/events/index.d.mts +4 -0
  67. package/dist/types/events/index.d.ts +4 -0
  68. package/dist/types/events/item/event-list-item.constants.d.mts +1 -0
  69. package/dist/types/events/item/event-list-item.constants.d.ts +1 -0
  70. package/dist/types/events/item/event-list-item.types.d.mts +46 -0
  71. package/dist/types/events/item/event-list-item.types.d.ts +46 -0
  72. package/dist/types/events/item/event-list-item.utils.d.mts +23 -0
  73. package/dist/types/events/item/event-list-item.utils.d.ts +23 -0
  74. package/dist/types/events/item/index.d.mts +6 -0
  75. package/dist/types/events/item/index.d.ts +6 -0
  76. package/dist/types/events/item-details/event-list-item-details.constants.d.mts +10 -0
  77. package/dist/types/events/item-details/event-list-item-details.constants.d.ts +10 -0
  78. package/dist/types/events/item-details/event-list-item-details.types.d.mts +53 -0
  79. package/dist/types/events/item-details/event-list-item-details.types.d.ts +53 -0
  80. package/dist/types/events/item-details/event-list-item-details.utils.d.mts +26 -0
  81. package/dist/types/events/item-details/event-list-item-details.utils.d.ts +26 -0
  82. package/dist/types/events/item-details/index.d.mts +6 -0
  83. package/dist/types/events/item-details/index.d.ts +6 -0
  84. package/dist/types/events/list/event-list.constants.d.mts +3 -0
  85. package/dist/types/events/list/event-list.constants.d.ts +3 -0
  86. package/dist/types/events/list/event-list.types.d.mts +21 -0
  87. package/dist/types/events/list/event-list.types.d.ts +21 -0
  88. package/dist/types/events/list/event-list.utils.d.mts +6 -0
  89. package/dist/types/events/list/event-list.utils.d.ts +6 -0
  90. package/dist/types/events/list/index.d.mts +6 -0
  91. package/dist/types/events/list/index.d.ts +6 -0
  92. package/dist/types/events/market-details/index.d.mts +6 -0
  93. package/dist/types/events/market-details/index.d.ts +6 -0
  94. package/dist/types/events/market-details/market-details.constants.d.mts +9 -0
  95. package/dist/types/events/market-details/market-details.constants.d.ts +9 -0
  96. package/dist/types/events/market-details/market-details.types.d.mts +63 -0
  97. package/dist/types/events/market-details/market-details.types.d.ts +63 -0
  98. package/dist/types/events/market-details/market-details.utils.d.mts +46 -0
  99. package/dist/types/events/market-details/market-details.utils.d.ts +46 -0
  100. package/dist/types/index.d.mts +9 -0
  101. package/dist/types/index.d.ts +9 -0
  102. package/dist/types/modals/index.d.mts +4 -0
  103. package/dist/types/modals/index.d.ts +4 -0
  104. package/dist/types/onboarding/index.d.mts +11 -0
  105. package/dist/types/onboarding/index.d.ts +11 -0
  106. package/dist/types/onboarding/onboarding-modal.constants.d.mts +10 -0
  107. package/dist/types/onboarding/onboarding-modal.constants.d.ts +10 -0
  108. package/dist/types/onboarding/onboarding-modal.types.d.mts +55 -0
  109. package/dist/types/onboarding/onboarding-modal.types.d.ts +55 -0
  110. package/dist/types/onboarding/steps/connect-accounts.d.mts +5 -0
  111. package/dist/types/onboarding/steps/connect-accounts.d.ts +5 -0
  112. package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +5 -0
  113. package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +5 -0
  114. package/dist/types/onboarding/steps/connect-onchain-modal.d.mts +5 -0
  115. package/dist/types/onboarding/steps/connect-onchain-modal.d.ts +5 -0
  116. package/dist/types/onboarding/steps/how-it-works.d.mts +5 -0
  117. package/dist/types/onboarding/steps/how-it-works.d.ts +5 -0
  118. package/dist/types/onboarding/steps/profile-setup.d.mts +5 -0
  119. package/dist/types/onboarding/steps/profile-setup.d.ts +5 -0
  120. package/dist/types/pages/event-market/event-market.types.d.mts +42 -0
  121. package/dist/types/pages/event-market/event-market.types.d.ts +42 -0
  122. package/dist/types/pages/event-market/index.d.mts +6 -0
  123. package/dist/types/pages/event-market/index.d.ts +6 -0
  124. package/dist/types/pages/home/home.constants.d.mts +8 -0
  125. package/dist/types/pages/home/home.constants.d.ts +8 -0
  126. package/dist/{home-page.d.ts → types/pages/home/home.types.d.mts} +8 -18
  127. package/dist/{home-page.d.mts → types/pages/home/home.types.d.ts} +8 -18
  128. package/dist/types/pages/home/home.utils.d.mts +3 -0
  129. package/dist/types/pages/home/home.utils.d.ts +3 -0
  130. package/dist/types/pages/home/index.d.mts +6 -0
  131. package/dist/types/pages/home/index.d.ts +6 -0
  132. package/dist/types/pages/index.d.mts +3 -0
  133. package/dist/types/pages/index.d.ts +3 -0
  134. package/dist/types/pages/user-profile/components/activity-row.d.mts +10 -0
  135. package/dist/types/pages/user-profile/components/activity-row.d.ts +10 -0
  136. package/dist/types/pages/user-profile/components/balance-display.d.mts +12 -0
  137. package/dist/types/pages/user-profile/components/balance-display.d.ts +12 -0
  138. package/dist/types/pages/user-profile/components/balances-card.d.mts +12 -0
  139. package/dist/types/pages/user-profile/components/balances-card.d.ts +12 -0
  140. package/dist/types/pages/user-profile/components/default-avatar.d.mts +8 -0
  141. package/dist/types/pages/user-profile/components/default-avatar.d.ts +8 -0
  142. package/dist/types/pages/user-profile/components/empty-state.d.mts +10 -0
  143. package/dist/types/pages/user-profile/components/empty-state.d.ts +10 -0
  144. package/dist/types/pages/user-profile/components/position-row.d.mts +10 -0
  145. package/dist/types/pages/user-profile/components/position-row.d.ts +10 -0
  146. package/dist/types/pages/user-profile/components/positions-activity.d.mts +14 -0
  147. package/dist/types/pages/user-profile/components/positions-activity.d.ts +14 -0
  148. package/dist/types/pages/user-profile/components/user-info-card.d.mts +11 -0
  149. package/dist/types/pages/user-profile/components/user-info-card.d.ts +11 -0
  150. package/dist/types/pages/user-profile/index.d.mts +6 -0
  151. package/dist/types/pages/user-profile/index.d.ts +6 -0
  152. package/dist/types/pages/user-profile/user-profile.constants.d.mts +9 -0
  153. package/dist/types/pages/user-profile/user-profile.constants.d.ts +9 -0
  154. package/dist/{user-profile-page.d.ts → types/pages/user-profile/user-profile.types.d.mts} +12 -22
  155. package/dist/{user-profile-page.d.mts → types/pages/user-profile/user-profile.types.d.ts} +12 -22
  156. package/dist/types/primitives/badge/badge.constants.d.mts +4 -0
  157. package/dist/types/primitives/badge/badge.constants.d.ts +4 -0
  158. package/dist/types/primitives/badge/badge.types.d.mts +18 -0
  159. package/dist/types/primitives/badge/badge.types.d.ts +18 -0
  160. package/dist/types/primitives/badge/index.d.mts +7 -0
  161. package/dist/types/primitives/badge/index.d.ts +7 -0
  162. package/dist/types/primitives/button/button.constants.d.mts +6 -0
  163. package/dist/types/primitives/button/button.constants.d.ts +6 -0
  164. package/dist/types/primitives/button/button.types.d.mts +12 -0
  165. package/dist/types/primitives/button/button.types.d.ts +12 -0
  166. package/dist/types/primitives/button/index.d.mts +6 -0
  167. package/dist/types/primitives/button/index.d.ts +6 -0
  168. package/dist/types/primitives/card/card.types.d.mts +3 -0
  169. package/dist/types/primitives/card/card.types.d.ts +3 -0
  170. package/dist/types/primitives/card/index.d.mts +6 -0
  171. package/dist/types/primitives/card/index.d.ts +6 -0
  172. package/dist/types/primitives/chart/chart-type-switch.d.mts +10 -0
  173. package/dist/types/primitives/chart/chart-type-switch.d.ts +10 -0
  174. package/dist/{chart.d.mts → types/primitives/chart/index.d.mts} +14 -11
  175. package/dist/{chart.d.ts → types/primitives/chart/index.d.ts} +14 -11
  176. package/dist/types/primitives/hello-world.d.mts +4 -0
  177. package/dist/types/primitives/hello-world.d.ts +4 -0
  178. package/dist/types/primitives/icon/icon.constants.d.mts +2 -0
  179. package/dist/types/primitives/icon/icon.constants.d.ts +2 -0
  180. package/dist/types/primitives/icon/icon.types.d.mts +9 -0
  181. package/dist/types/primitives/icon/icon.types.d.ts +9 -0
  182. package/dist/types/primitives/icon/icon.utils.d.mts +2 -0
  183. package/dist/types/primitives/icon/icon.utils.d.ts +2 -0
  184. package/dist/types/primitives/icon/index.d.mts +53 -0
  185. package/dist/types/primitives/icon/index.d.ts +53 -0
  186. package/dist/types/primitives/icon/registry.d.mts +194 -0
  187. package/dist/types/primitives/icon/registry.d.ts +194 -0
  188. package/dist/types/primitives/icon/svg/apple.d.mts +5 -0
  189. package/dist/types/primitives/icon/svg/apple.d.ts +5 -0
  190. package/dist/types/primitives/icon/svg/arrow-trend-up.d.mts +5 -0
  191. package/dist/types/primitives/icon/svg/arrow-trend-up.d.ts +5 -0
  192. package/dist/types/primitives/icon/svg/arrows-to-dot.d.mts +5 -0
  193. package/dist/types/primitives/icon/svg/arrows-to-dot.d.ts +5 -0
  194. package/dist/types/primitives/icon/svg/bank.d.mts +5 -0
  195. package/dist/types/primitives/icon/svg/bank.d.ts +5 -0
  196. package/dist/types/primitives/icon/svg/best-prices.d.mts +5 -0
  197. package/dist/types/primitives/icon/svg/best-prices.d.ts +5 -0
  198. package/dist/types/primitives/icon/svg/bolt.d.mts +5 -0
  199. package/dist/types/primitives/icon/svg/bolt.d.ts +5 -0
  200. package/dist/types/primitives/icon/svg/chart-candlestick.d.mts +5 -0
  201. package/dist/types/primitives/icon/svg/chart-candlestick.d.ts +5 -0
  202. package/dist/types/primitives/icon/svg/chart-line.d.mts +5 -0
  203. package/dist/types/primitives/icon/svg/chart-line.d.ts +5 -0
  204. package/dist/types/primitives/icon/svg/check-badge.d.mts +5 -0
  205. package/dist/types/primitives/icon/svg/check-badge.d.ts +5 -0
  206. package/dist/types/primitives/icon/svg/check-circle.d.mts +5 -0
  207. package/dist/types/primitives/icon/svg/check-circle.d.ts +5 -0
  208. package/dist/types/primitives/icon/svg/chevron-down.d.mts +5 -0
  209. package/dist/types/primitives/icon/svg/chevron-down.d.ts +5 -0
  210. package/dist/types/primitives/icon/svg/chevron-left.d.mts +5 -0
  211. package/dist/types/primitives/icon/svg/chevron-left.d.ts +5 -0
  212. package/dist/types/primitives/icon/svg/chevron-right.d.mts +5 -0
  213. package/dist/types/primitives/icon/svg/chevron-right.d.ts +5 -0
  214. package/dist/types/primitives/icon/svg/chevron-up.d.mts +5 -0
  215. package/dist/types/primitives/icon/svg/chevron-up.d.ts +5 -0
  216. package/dist/types/primitives/icon/svg/close.d.mts +5 -0
  217. package/dist/types/primitives/icon/svg/close.d.ts +5 -0
  218. package/dist/types/primitives/icon/svg/copy.d.mts +5 -0
  219. package/dist/types/primitives/icon/svg/copy.d.ts +5 -0
  220. package/dist/types/primitives/icon/svg/create-account.d.mts +5 -0
  221. package/dist/types/primitives/icon/svg/create-account.d.ts +5 -0
  222. package/dist/types/primitives/icon/svg/credit-card.d.mts +5 -0
  223. package/dist/types/primitives/icon/svg/credit-card.d.ts +5 -0
  224. package/dist/types/primitives/icon/svg/disconnect.d.mts +5 -0
  225. package/dist/types/primitives/icon/svg/disconnect.d.ts +5 -0
  226. package/dist/types/primitives/icon/svg/discord.d.mts +5 -0
  227. package/dist/types/primitives/icon/svg/discord.d.ts +5 -0
  228. package/dist/types/primitives/icon/svg/document.d.mts +5 -0
  229. package/dist/types/primitives/icon/svg/document.d.ts +5 -0
  230. package/dist/types/primitives/icon/svg/dots-horizontal.d.mts +5 -0
  231. package/dist/types/primitives/icon/svg/dots-horizontal.d.ts +5 -0
  232. package/dist/types/primitives/icon/svg/download.d.mts +5 -0
  233. package/dist/types/primitives/icon/svg/download.d.ts +5 -0
  234. package/dist/types/primitives/icon/svg/email.d.mts +5 -0
  235. package/dist/types/primitives/icon/svg/email.d.ts +5 -0
  236. package/dist/types/primitives/icon/svg/error-filled.d.mts +5 -0
  237. package/dist/types/primitives/icon/svg/error-filled.d.ts +5 -0
  238. package/dist/types/primitives/icon/svg/ethereum.d.mts +5 -0
  239. package/dist/types/primitives/icon/svg/ethereum.d.ts +5 -0
  240. package/dist/types/primitives/icon/svg/external-link.d.mts +5 -0
  241. package/dist/types/primitives/icon/svg/external-link.d.ts +5 -0
  242. package/dist/types/primitives/icon/svg/google.d.mts +5 -0
  243. package/dist/types/primitives/icon/svg/google.d.ts +5 -0
  244. package/dist/types/primitives/icon/svg/info.d.mts +5 -0
  245. package/dist/types/primitives/icon/svg/info.d.ts +5 -0
  246. package/dist/types/primitives/icon/svg/link-accounts.d.mts +5 -0
  247. package/dist/types/primitives/icon/svg/link-accounts.d.ts +5 -0
  248. package/dist/types/primitives/icon/svg/pencil.d.mts +5 -0
  249. package/dist/types/primitives/icon/svg/pencil.d.ts +5 -0
  250. package/dist/types/primitives/icon/svg/play-square.d.mts +5 -0
  251. package/dist/types/primitives/icon/svg/play-square.d.ts +5 -0
  252. package/dist/types/primitives/icon/svg/profile.d.mts +5 -0
  253. package/dist/types/primitives/icon/svg/profile.d.ts +5 -0
  254. package/dist/types/primitives/icon/svg/revenue-alt.d.mts +5 -0
  255. package/dist/types/primitives/icon/svg/revenue-alt.d.ts +5 -0
  256. package/dist/types/primitives/icon/svg/search.d.mts +5 -0
  257. package/dist/types/primitives/icon/svg/search.d.ts +5 -0
  258. package/dist/types/primitives/icon/svg/shield-trust.d.mts +5 -0
  259. package/dist/types/primitives/icon/svg/shield-trust.d.ts +5 -0
  260. package/dist/types/primitives/icon/svg/solana.d.mts +5 -0
  261. package/dist/types/primitives/icon/svg/solana.d.ts +5 -0
  262. package/dist/types/primitives/icon/svg/stay-in-control.d.mts +5 -0
  263. package/dist/types/primitives/icon/svg/stay-in-control.d.ts +5 -0
  264. package/dist/types/primitives/icon/svg/telegram.d.mts +5 -0
  265. package/dist/types/primitives/icon/svg/telegram.d.ts +5 -0
  266. package/dist/types/primitives/icon/svg/triangle-down.d.mts +5 -0
  267. package/dist/types/primitives/icon/svg/triangle-down.d.ts +5 -0
  268. package/dist/types/primitives/icon/svg/triangle-up-filled.d.mts +5 -0
  269. package/dist/types/primitives/icon/svg/triangle-up-filled.d.ts +5 -0
  270. package/dist/types/primitives/icon/svg/triangle-up.d.mts +5 -0
  271. package/dist/types/primitives/icon/svg/triangle-up.d.ts +5 -0
  272. package/dist/types/primitives/icon/svg/twitter.d.mts +5 -0
  273. package/dist/types/primitives/icon/svg/twitter.d.ts +5 -0
  274. package/dist/types/primitives/icon/svg/upload.d.mts +5 -0
  275. package/dist/types/primitives/icon/svg/upload.d.ts +5 -0
  276. package/dist/types/primitives/icon/svg/wallet-avatar.d.mts +5 -0
  277. package/dist/types/primitives/icon/svg/wallet-avatar.d.ts +5 -0
  278. package/dist/types/primitives/icon/svg/wallet.d.mts +5 -0
  279. package/dist/types/primitives/icon/svg/wallet.d.ts +5 -0
  280. package/dist/types/primitives/icon/svg/warning-filled.d.mts +5 -0
  281. package/dist/types/primitives/icon/svg/warning-filled.d.ts +5 -0
  282. package/dist/types/primitives/icon/svg/warning.d.mts +5 -0
  283. package/dist/types/primitives/icon/svg/warning.d.ts +5 -0
  284. package/dist/types/primitives/icon/types.d.mts +5 -0
  285. package/dist/types/primitives/icon/types.d.ts +5 -0
  286. package/dist/types/primitives/index.d.mts +18 -0
  287. package/dist/types/primitives/index.d.ts +18 -0
  288. package/dist/types/primitives/inline-alert/index.d.mts +16 -0
  289. package/dist/types/primitives/inline-alert/index.d.ts +16 -0
  290. package/dist/types/primitives/loading-icon/index.d.mts +11 -0
  291. package/dist/types/primitives/loading-icon/index.d.ts +11 -0
  292. package/dist/types/primitives/modal/index.d.mts +10 -0
  293. package/dist/types/primitives/modal/index.d.ts +10 -0
  294. package/dist/types/primitives/modal/modal.types.d.mts +54 -0
  295. package/dist/types/primitives/modal/modal.types.d.ts +54 -0
  296. package/dist/{number-value.d.mts → types/primitives/number-value.d.mts} +3 -5
  297. package/dist/{number-value.d.ts → types/primitives/number-value.d.ts} +3 -5
  298. package/dist/types/primitives/search/index.d.mts +6 -0
  299. package/dist/types/primitives/search/index.d.ts +6 -0
  300. package/dist/types/primitives/search/search-empty-icon.d.mts +5 -0
  301. package/dist/types/primitives/search/search-empty-icon.d.ts +5 -0
  302. package/dist/types/primitives/search/search.types.d.mts +96 -0
  303. package/dist/types/primitives/search/search.types.d.ts +96 -0
  304. package/dist/{select.d.mts → types/primitives/select/index.d.mts} +3 -5
  305. package/dist/{select.d.ts → types/primitives/select/index.d.ts} +3 -5
  306. package/dist/types/primitives/skeleton/index.d.mts +7 -0
  307. package/dist/types/primitives/skeleton/index.d.ts +7 -0
  308. package/dist/types/primitives/skeleton/skeleton-block.d.mts +8 -0
  309. package/dist/types/primitives/skeleton/skeleton-block.d.ts +8 -0
  310. package/dist/{skeleton.d.mts → types/primitives/skeleton/skeleton.types.d.mts} +6 -9
  311. package/dist/{skeleton.d.ts → types/primitives/skeleton/skeleton.types.d.ts} +6 -9
  312. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.mts +5 -0
  313. package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.ts +5 -0
  314. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +9 -0
  315. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +9 -0
  316. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.mts +5 -0
  317. package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.ts +5 -0
  318. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.mts +12 -0
  319. package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.ts +12 -0
  320. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +5 -0
  321. package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +5 -0
  322. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.mts +5 -0
  323. package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.ts +5 -0
  324. package/dist/{state-message.d.mts → types/primitives/state-message/index.d.mts} +2 -3
  325. package/dist/{state-message.d.ts → types/primitives/state-message/index.d.ts} +2 -3
  326. package/dist/{switch-button.d.mts → types/primitives/switch-button/index.d.mts} +4 -7
  327. package/dist/{switch-button.d.ts → types/primitives/switch-button/index.d.ts} +4 -7
  328. package/dist/types/primitives/tabs/index.d.mts +6 -0
  329. package/dist/types/primitives/tabs/index.d.ts +6 -0
  330. package/dist/types/primitives/tabs/tabs.types.d.mts +24 -0
  331. package/dist/types/primitives/tabs/tabs.types.d.ts +24 -0
  332. package/dist/types/primitives/tabs/tabs.utils.d.mts +14 -0
  333. package/dist/types/primitives/tabs/tabs.utils.d.ts +14 -0
  334. package/dist/types/primitives/typography/index.d.mts +7 -0
  335. package/dist/types/primitives/typography/index.d.ts +7 -0
  336. package/dist/types/primitives/typography/typography.constants.d.mts +3 -0
  337. package/dist/types/primitives/typography/typography.constants.d.ts +3 -0
  338. package/dist/types/primitives/typography/typography.types.d.mts +8 -0
  339. package/dist/types/primitives/typography/typography.types.d.ts +8 -0
  340. package/dist/types/primitives/venue-logo/index.d.mts +8 -0
  341. package/dist/types/primitives/venue-logo/index.d.ts +8 -0
  342. package/dist/types/primitives/venue-logo/logo-props.d.mts +10 -0
  343. package/dist/types/primitives/venue-logo/logo-props.d.ts +10 -0
  344. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.mts +5 -0
  345. package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.ts +5 -0
  346. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.mts +5 -0
  347. package/dist/types/primitives/venue-logo/svg/logo-limitless.d.ts +5 -0
  348. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.mts +5 -0
  349. package/dist/types/primitives/venue-logo/svg/logo-opinion.d.ts +5 -0
  350. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.mts +5 -0
  351. package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.ts +5 -0
  352. package/dist/types/primitives/venue-logo/svg/logo-probable.d.mts +5 -0
  353. package/dist/types/primitives/venue-logo/svg/logo-probable.d.ts +5 -0
  354. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +9 -0
  355. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +9 -0
  356. package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +17 -0
  357. package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +17 -0
  358. package/dist/types/profile/index.d.mts +6 -0
  359. package/dist/types/profile/index.d.ts +6 -0
  360. package/dist/types/profile/profile-modal.constants.d.mts +17 -0
  361. package/dist/types/profile/profile-modal.constants.d.ts +17 -0
  362. package/dist/{profile-modal.d.mts → types/profile/profile-modal.types.d.mts} +4 -11
  363. package/dist/{profile-modal.d.ts → types/profile/profile-modal.types.d.ts} +4 -11
  364. package/dist/types/profile/tabs/about-tab.d.mts +16 -0
  365. package/dist/types/profile/tabs/about-tab.d.ts +16 -0
  366. package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +18 -0
  367. package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +18 -0
  368. package/dist/types/shared/constants.d.mts +23 -0
  369. package/dist/types/shared/constants.d.ts +23 -0
  370. package/dist/types/shared/query-error.d.mts +2 -0
  371. package/dist/types/shared/query-error.d.ts +2 -0
  372. package/dist/types/shared/types.d.mts +1 -0
  373. package/dist/types/shared/types.d.ts +1 -0
  374. package/dist/types/shared/utils.d.mts +15 -0
  375. package/dist/types/shared/utils.d.ts +15 -0
  376. package/dist/types/trading/index.d.mts +4 -0
  377. package/dist/types/trading/index.d.ts +4 -0
  378. package/dist/{place-order.d.ts → types/trading/place-order/index.d.mts} +3 -7
  379. package/dist/{place-order.d.mts → types/trading/place-order/index.d.ts} +3 -7
  380. package/dist/{settlement.d.ts → types/trading/settlement/index.d.mts} +3 -7
  381. package/dist/{settlement.d.mts → types/trading/settlement/index.d.ts} +3 -7
  382. package/dist/{types-BImwqY4o.d.ts → types/trading/types.d.mts} +61 -64
  383. package/dist/{types-BImwqY4o.d.mts → types/trading/types.d.ts} +61 -64
  384. package/dist/types/trading/utils.d.mts +16 -0
  385. package/dist/types/trading/utils.d.ts +16 -0
  386. package/dist/types/withdraw/index.d.mts +6 -0
  387. package/dist/types/withdraw/index.d.ts +6 -0
  388. package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +5 -0
  389. package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +5 -0
  390. package/dist/types/withdraw/steps/venue-selection.d.mts +6 -0
  391. package/dist/types/withdraw/steps/venue-selection.d.ts +6 -0
  392. package/dist/types/withdraw/steps/withdraw-amount.d.mts +8 -0
  393. package/dist/types/withdraw/steps/withdraw-amount.d.ts +8 -0
  394. package/dist/types/withdraw/steps/withdraw-method.d.mts +7 -0
  395. package/dist/types/withdraw/steps/withdraw-method.d.ts +7 -0
  396. package/dist/types/withdraw/withdraw-modal.constants.d.mts +9 -0
  397. package/dist/types/withdraw/withdraw-modal.constants.d.ts +9 -0
  398. package/dist/{withdraw-modal.d.mts → types/withdraw/withdraw-modal.types.d.mts} +3 -10
  399. package/dist/{withdraw-modal.d.ts → types/withdraw/withdraw-modal.types.d.ts} +3 -10
  400. package/package.json +29 -291
  401. package/dist/badge.d.mts +0 -28
  402. package/dist/badge.d.ts +0 -28
  403. package/dist/badge.js +0 -110
  404. package/dist/badge.mjs +0 -9
  405. package/dist/button.d.mts +0 -20
  406. package/dist/button.d.ts +0 -20
  407. package/dist/button.js +0 -183
  408. package/dist/button.mjs +0 -8
  409. package/dist/card.d.mts +0 -10
  410. package/dist/card.d.ts +0 -10
  411. package/dist/card.js +0 -88
  412. package/dist/card.mjs +0 -7
  413. package/dist/chart.js +0 -438
  414. package/dist/chart.mjs +0 -8
  415. package/dist/chunk-34IRJYSU.mjs +0 -146
  416. package/dist/chunk-3QLOUBDJ.mjs +0 -483
  417. package/dist/chunk-3W7NBJLU.mjs +0 -371
  418. package/dist/chunk-4343LYSH.mjs +0 -45
  419. package/dist/chunk-4S3I6X7F.mjs +0 -855
  420. package/dist/chunk-4VUDTWH7.mjs +0 -42
  421. package/dist/chunk-5ADMXO3Y.mjs +0 -456
  422. package/dist/chunk-6JG6I5AY.mjs +0 -654
  423. package/dist/chunk-BNDFQPHF.mjs +0 -9
  424. package/dist/chunk-CTYJVVHJ.mjs +0 -334
  425. package/dist/chunk-DHBHKIJR.mjs +0 -1049
  426. package/dist/chunk-ERGNR6UQ.mjs +0 -67
  427. package/dist/chunk-FO263M3V.mjs +0 -10
  428. package/dist/chunk-FO2QCB4Z.mjs +0 -35
  429. package/dist/chunk-GFBF2J3Y.mjs +0 -328
  430. package/dist/chunk-GJ4U5NCE.mjs +0 -134
  431. package/dist/chunk-IGPNIM2B.mjs +0 -83
  432. package/dist/chunk-K6IJ4WBM.mjs +0 -67
  433. package/dist/chunk-KAGYJ4XT.mjs +0 -126
  434. package/dist/chunk-KIYMVWL4.mjs +0 -280
  435. package/dist/chunk-LCZKSITC.mjs +0 -162
  436. package/dist/chunk-M4RJHRFT.mjs +0 -445
  437. package/dist/chunk-MJHKBCXQ.mjs +0 -379
  438. package/dist/chunk-MKVGQ7AS.mjs +0 -168
  439. package/dist/chunk-NDG43KGL.mjs +0 -44
  440. package/dist/chunk-NH2G3POM.mjs +0 -470
  441. package/dist/chunk-OBCHURW5.mjs +0 -64
  442. package/dist/chunk-OJVTGNIF.mjs +0 -230
  443. package/dist/chunk-PORVP72S.mjs +0 -277
  444. package/dist/chunk-PZTHM6WG.mjs +0 -1340
  445. package/dist/chunk-Q6DGDBPV.mjs +0 -774
  446. package/dist/chunk-QLMVKLNJ.mjs +0 -669
  447. package/dist/chunk-S3H63TQ5.mjs +0 -537
  448. package/dist/chunk-T7TATHPD.mjs +0 -313
  449. package/dist/chunk-XUCS575S.mjs +0 -65
  450. package/dist/chunk-YJA5VQW6.mjs +0 -167
  451. package/dist/chunk-ZFMCCBP6.mjs +0 -25
  452. package/dist/connect-button.d.mts +0 -40
  453. package/dist/connect-button.d.ts +0 -40
  454. package/dist/connect-button.mjs +0 -14
  455. package/dist/deposit-modal.js +0 -2801
  456. package/dist/deposit-modal.mjs +0 -15
  457. package/dist/event-list-item-details.d.mts +0 -11
  458. package/dist/event-list-item-details.d.ts +0 -11
  459. package/dist/event-list-item-details.js +0 -3711
  460. package/dist/event-list-item-details.mjs +0 -23
  461. package/dist/event-list-item-details.types-CMbXOrT-.d.ts +0 -53
  462. package/dist/event-list-item-details.types-DekJKeMD.d.mts +0 -53
  463. package/dist/event-list-item.d.mts +0 -10
  464. package/dist/event-list-item.d.ts +0 -10
  465. package/dist/event-list-item.js +0 -2821
  466. package/dist/event-list-item.mjs +0 -20
  467. package/dist/event-list-item.types-Y6IeJ4e4.d.mts +0 -46
  468. package/dist/event-list-item.types-Y6IeJ4e4.d.ts +0 -46
  469. package/dist/event-list.d.mts +0 -9
  470. package/dist/event-list.d.ts +0 -9
  471. package/dist/event-list.js +0 -3802
  472. package/dist/event-list.mjs +0 -23
  473. package/dist/event-list.types-CkAAUqwW.d.mts +0 -13
  474. package/dist/event-list.types-CkAAUqwW.d.ts +0 -13
  475. package/dist/event-market-page.d.mts +0 -52
  476. package/dist/event-market-page.d.ts +0 -52
  477. package/dist/event-market-page.mjs +0 -30
  478. package/dist/hello-world.d.mts +0 -8
  479. package/dist/hello-world.d.ts +0 -8
  480. package/dist/hello-world.js +0 -92
  481. package/dist/hello-world.mjs +0 -8
  482. package/dist/home-page.js +0 -4066
  483. package/dist/home-page.mjs +0 -24
  484. package/dist/icon.d.mts +0 -193
  485. package/dist/icon.d.ts +0 -193
  486. package/dist/icon.js +0 -1465
  487. package/dist/loading-icon.d.mts +0 -14
  488. package/dist/loading-icon.d.ts +0 -14
  489. package/dist/loading-icon.js +0 -112
  490. package/dist/loading-icon.mjs +0 -8
  491. package/dist/market-details.d.mts +0 -73
  492. package/dist/market-details.d.ts +0 -73
  493. package/dist/market-details.mjs +0 -24
  494. package/dist/modal.d.mts +0 -66
  495. package/dist/modal.d.ts +0 -66
  496. package/dist/modal.js +0 -321
  497. package/dist/modal.mjs +0 -9
  498. package/dist/number-value.js +0 -67
  499. package/dist/number-value.mjs +0 -7
  500. package/dist/onboarding-modal.d.mts +0 -88
  501. package/dist/onboarding-modal.d.ts +0 -88
  502. package/dist/onboarding-modal.mjs +0 -24
  503. package/dist/place-order.mjs +0 -18
  504. package/dist/profile-modal.js +0 -2447
  505. package/dist/profile-modal.mjs +0 -14
  506. package/dist/registry-DfSCFAdC.d.mts +0 -178
  507. package/dist/registry-DfSCFAdC.d.ts +0 -178
  508. package/dist/search.d.mts +0 -51
  509. package/dist/search.d.ts +0 -51
  510. package/dist/search.js +0 -1957
  511. package/dist/search.mjs +0 -13
  512. package/dist/select.js +0 -1552
  513. package/dist/select.mjs +0 -11
  514. package/dist/settlement.js +0 -2445
  515. package/dist/settlement.mjs +0 -15
  516. package/dist/skeleton.js +0 -490
  517. package/dist/skeleton.mjs +0 -10
  518. package/dist/state-message.js +0 -1629
  519. package/dist/state-message.mjs +0 -14
  520. package/dist/switch-button.js +0 -191
  521. package/dist/switch-button.mjs +0 -7
  522. package/dist/tabs.d.mts +0 -31
  523. package/dist/tabs.d.ts +0 -31
  524. package/dist/tabs.js +0 -2078
  525. package/dist/tabs.mjs +0 -12
  526. package/dist/types-BVj9ky9P.d.mts +0 -3
  527. package/dist/types-BVj9ky9P.d.ts +0 -3
  528. package/dist/typography.d.mts +0 -18
  529. package/dist/typography.d.ts +0 -18
  530. package/dist/typography.js +0 -93
  531. package/dist/typography.mjs +0 -9
  532. package/dist/user-profile-page.js +0 -3081
  533. package/dist/user-profile-page.mjs +0 -15
  534. package/dist/venue-logo.d.mts +0 -13
  535. package/dist/venue-logo.d.ts +0 -13
  536. package/dist/venue-logo.js +0 -323
  537. package/dist/venue-logo.mjs +0 -10
  538. package/dist/venue-logo.types-CGUc22ly.d.mts +0 -19
  539. package/dist/venue-logo.types-Dqr39S1-.d.ts +0 -19
  540. package/dist/withdraw-modal.js +0 -2449
  541. package/dist/withdraw-modal.mjs +0 -14
@@ -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,4 @@
1
+ export * from "./types";
2
+ export * from "./utils";
3
+ export * from "./settlement";
4
+ export * from "./place-order";
@@ -0,0 +1,4 @@
1
+ export * from "./types";
2
+ export * from "./utils";
3
+ export * from "./settlement";
4
+ export * from "./place-order";
@@ -1,7 +1,5 @@
1
- import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-BImwqY4o.js';
2
- import 'zod';
3
-
4
- type PlaceOrderProps = PlaceOrderViewModel & {
1
+ import type { PlaceOrderTab, PlaceOrderViewModel } from "../types";
2
+ export type PlaceOrderProps = PlaceOrderViewModel & {
5
3
  className?: string;
6
4
  isLoading?: boolean;
7
5
  isPrimaryActionDisabled?: boolean;
@@ -12,9 +10,7 @@ type PlaceOrderProps = PlaceOrderViewModel & {
12
10
  onStatusAction?: () => void;
13
11
  onTabChange?: (tab: PlaceOrderTab) => void;
14
12
  };
15
- declare const PlaceOrder: {
13
+ export declare const PlaceOrder: {
16
14
  ({ title, marketDate, marketImageUrl, activeTab, buyLabel, sellLabel, outcomes, selectedOutcomeId, primaryMetric, routing, result, actionLabel, disclaimer, isDismissible, isLoading, status, className, isPrimaryActionDisabled, isPrimaryActionLoading, onClose, onOutcomeChange, onPrimaryAction, onStatusAction, onTabChange, }: PlaceOrderProps): JSX.Element;
17
15
  displayName: string;
18
16
  };
19
-
20
- export { PlaceOrder, type PlaceOrderProps };
@@ -1,7 +1,5 @@
1
- import { A as PlaceOrderViewModel, P as PlaceOrderTab } from './types-BImwqY4o.mjs';
2
- import 'zod';
3
-
4
- type PlaceOrderProps = PlaceOrderViewModel & {
1
+ import type { PlaceOrderTab, PlaceOrderViewModel } from "../types";
2
+ export type PlaceOrderProps = PlaceOrderViewModel & {
5
3
  className?: string;
6
4
  isLoading?: boolean;
7
5
  isPrimaryActionDisabled?: boolean;
@@ -12,9 +10,7 @@ type PlaceOrderProps = PlaceOrderViewModel & {
12
10
  onStatusAction?: () => void;
13
11
  onTabChange?: (tab: PlaceOrderTab) => void;
14
12
  };
15
- declare const PlaceOrder: {
13
+ export declare const PlaceOrder: {
16
14
  ({ title, marketDate, marketImageUrl, activeTab, buyLabel, sellLabel, outcomes, selectedOutcomeId, primaryMetric, routing, result, actionLabel, disclaimer, isDismissible, isLoading, status, className, isPrimaryActionDisabled, isPrimaryActionLoading, onClose, onOutcomeChange, onPrimaryAction, onStatusAction, onTabChange, }: PlaceOrderProps): JSX.Element;
17
15
  displayName: string;
18
16
  };
19
-
20
- export { PlaceOrder, type PlaceOrderProps };
@@ -1,16 +1,12 @@
1
- import { S as SettlementViewModel, T as TradingVenue } from './types-BImwqY4o.js';
2
- import 'zod';
3
-
4
- type SettlementProps = SettlementViewModel & {
1
+ import type { SettlementViewModel, TradingVenue } from "../types";
2
+ export type SettlementProps = SettlementViewModel & {
5
3
  className?: string;
6
4
  expandedVenue?: TradingVenue | null;
7
5
  isLoading?: boolean;
8
6
  onExpandedVenueChange?: (venue: TradingVenue | null) => void;
9
7
  onShowMore?: (venue: TradingVenue) => void;
10
8
  };
11
- declare const Settlement: {
9
+ export declare const Settlement: {
12
10
  ({ sectionLabel, question, differencesTitle, differences, venues, defaultExpandedVenue, expandedVenue, isLoading, onExpandedVenueChange, onShowMore, className, }: SettlementProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
-
16
- export { Settlement, type SettlementProps };
@@ -1,16 +1,12 @@
1
- import { S as SettlementViewModel, T as TradingVenue } from './types-BImwqY4o.mjs';
2
- import 'zod';
3
-
4
- type SettlementProps = SettlementViewModel & {
1
+ import type { SettlementViewModel, TradingVenue } from "../types";
2
+ export type SettlementProps = SettlementViewModel & {
5
3
  className?: string;
6
4
  expandedVenue?: TradingVenue | null;
7
5
  isLoading?: boolean;
8
6
  onExpandedVenueChange?: (venue: TradingVenue | null) => void;
9
7
  onShowMore?: (venue: TradingVenue) => void;
10
8
  };
11
- declare const Settlement: {
9
+ export declare const Settlement: {
12
10
  ({ sectionLabel, question, differencesTitle, differences, venues, defaultExpandedVenue, expandedVenue, isLoading, onExpandedVenueChange, onShowMore, className, }: SettlementProps): JSX.Element;
13
11
  displayName: string;
14
12
  };
15
-
16
- export { Settlement, type SettlementProps };
@@ -1,24 +1,23 @@
1
- import { z } from 'zod';
2
-
3
- declare const tradingVenueSchema: z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>;
4
- type TradingVenue = z.infer<typeof tradingVenueSchema>;
5
- declare const settlementVenueSchema: z.ZodObject<{
1
+ import { z } from "zod";
2
+ export declare const tradingVenueSchema: z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>;
3
+ export type TradingVenue = z.infer<typeof tradingVenueSchema>;
4
+ export declare const settlementVenueSchema: z.ZodObject<{
6
5
  venue: z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>;
7
6
  label: z.ZodOptional<z.ZodString>;
8
7
  description: z.ZodString;
9
8
  showMoreLabel: z.ZodOptional<z.ZodString>;
10
9
  }, "strip", z.ZodTypeAny, {
11
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
10
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
12
11
  description: string;
13
12
  label?: string | undefined;
14
13
  showMoreLabel?: string | undefined;
15
14
  }, {
16
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
15
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
17
16
  description: string;
18
17
  label?: string | undefined;
19
18
  showMoreLabel?: string | undefined;
20
19
  }>;
21
- declare const settlementViewModelSchema: z.ZodObject<{
20
+ export declare const settlementViewModelSchema: z.ZodObject<{
22
21
  sectionLabel: z.ZodString;
23
22
  question: z.ZodString;
24
23
  differencesTitle: z.ZodString;
@@ -29,12 +28,12 @@ declare const settlementViewModelSchema: z.ZodObject<{
29
28
  description: z.ZodString;
30
29
  showMoreLabel: z.ZodOptional<z.ZodString>;
31
30
  }, "strip", z.ZodTypeAny, {
32
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
31
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
33
32
  description: string;
34
33
  label?: string | undefined;
35
34
  showMoreLabel?: string | undefined;
36
35
  }, {
37
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
36
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
38
37
  description: string;
39
38
  label?: string | undefined;
40
39
  showMoreLabel?: string | undefined;
@@ -42,7 +41,7 @@ declare const settlementViewModelSchema: z.ZodObject<{
42
41
  defaultExpandedVenue: z.ZodOptional<z.ZodNullable<z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>>>;
43
42
  }, "strip", z.ZodTypeAny, {
44
43
  venues: {
45
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
44
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
46
45
  description: string;
47
46
  label?: string | undefined;
48
47
  showMoreLabel?: string | undefined;
@@ -51,10 +50,10 @@ declare const settlementViewModelSchema: z.ZodObject<{
51
50
  question: string;
52
51
  differencesTitle: string;
53
52
  differences: string[];
54
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
53
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
55
54
  }, {
56
55
  venues: {
57
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
56
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
58
57
  description: string;
59
58
  label?: string | undefined;
60
59
  showMoreLabel?: string | undefined;
@@ -63,16 +62,16 @@ declare const settlementViewModelSchema: z.ZodObject<{
63
62
  question: string;
64
63
  differencesTitle: string;
65
64
  differences: string[];
66
- defaultExpandedVenue?: "opinion" | "probable" | "kalshi" | "polymarket" | null | undefined;
65
+ defaultExpandedVenue?: "probable" | "kalshi" | "polymarket" | "opinion" | null | undefined;
67
66
  }>;
68
- type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
69
- type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
70
- declare const placeOrderTabSchema: z.ZodEnum<["buy", "sell"]>;
71
- declare const placeOrderStatusToneSchema: z.ZodEnum<["warning", "error"]>;
72
- declare const placeOrderStatusPlacementSchema: z.ZodEnum<["above-action", "below-action"]>;
73
- declare const placeOrderRoutingToneSchema: z.ZodEnum<["default", "highlighted"]>;
74
- declare const placeOrderResultToneSchema: z.ZodEnum<["default", "success"]>;
75
- declare const placeOrderOutcomeSchema: z.ZodObject<{
67
+ export type SettlementViewModel = z.infer<typeof settlementViewModelSchema>;
68
+ export type SettlementVenueItem = z.infer<typeof settlementVenueSchema>;
69
+ export declare const placeOrderTabSchema: z.ZodEnum<["buy", "sell"]>;
70
+ export declare const placeOrderStatusToneSchema: z.ZodEnum<["warning", "error"]>;
71
+ export declare const placeOrderStatusPlacementSchema: z.ZodEnum<["above-action", "below-action"]>;
72
+ export declare const placeOrderRoutingToneSchema: z.ZodEnum<["default", "highlighted"]>;
73
+ export declare const placeOrderResultToneSchema: z.ZodEnum<["default", "success"]>;
74
+ export declare const placeOrderOutcomeSchema: z.ZodObject<{
76
75
  id: z.ZodString;
77
76
  label: z.ZodString;
78
77
  priceLabel: z.ZodString;
@@ -85,7 +84,7 @@ declare const placeOrderOutcomeSchema: z.ZodObject<{
85
84
  label: string;
86
85
  priceLabel: string;
87
86
  }>;
88
- declare const placeOrderMetricSchema: z.ZodObject<{
87
+ export declare const placeOrderMetricSchema: z.ZodObject<{
89
88
  label: z.ZodString;
90
89
  hint: z.ZodString;
91
90
  value: z.ZodString;
@@ -98,31 +97,31 @@ declare const placeOrderMetricSchema: z.ZodObject<{
98
97
  label: string;
99
98
  hint: string;
100
99
  }>;
101
- declare const placeOrderRoutingRowSchema: z.ZodObject<{
100
+ export declare const placeOrderRoutingRowSchema: z.ZodObject<{
102
101
  venue: z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>;
103
102
  label: z.ZodString;
104
103
  priceLabel: z.ZodString;
105
104
  }, "strip", z.ZodTypeAny, {
106
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
105
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
107
106
  label: string;
108
107
  priceLabel: string;
109
108
  }, {
110
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
109
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
111
110
  label: string;
112
111
  priceLabel: string;
113
112
  }>;
114
- declare const placeOrderRoutingSchema: z.ZodObject<{
113
+ export declare const placeOrderRoutingSchema: z.ZodObject<{
115
114
  tone: z.ZodEnum<["default", "highlighted"]>;
116
115
  rows: z.ZodArray<z.ZodObject<{
117
116
  venue: z.ZodEnum<["polymarket", "kalshi", "opinion", "probable"]>;
118
117
  label: z.ZodString;
119
118
  priceLabel: z.ZodString;
120
119
  }, "strip", z.ZodTypeAny, {
121
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
120
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
122
121
  label: string;
123
122
  priceLabel: string;
124
123
  }, {
125
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
124
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
126
125
  label: string;
127
126
  priceLabel: string;
128
127
  }>, "many">;
@@ -131,7 +130,7 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
131
130
  }, "strip", z.ZodTypeAny, {
132
131
  tone: "default" | "highlighted";
133
132
  rows: {
134
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
133
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
135
134
  label: string;
136
135
  priceLabel: string;
137
136
  }[];
@@ -140,14 +139,14 @@ declare const placeOrderRoutingSchema: z.ZodObject<{
140
139
  }, {
141
140
  tone: "default" | "highlighted";
142
141
  rows: {
143
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
142
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
144
143
  label: string;
145
144
  priceLabel: string;
146
145
  }[];
147
146
  helperLabel: string;
148
147
  highlightLabel?: string | undefined;
149
148
  }>;
150
- declare const placeOrderResultSchema: z.ZodObject<{
149
+ export declare const placeOrderResultSchema: z.ZodObject<{
151
150
  label: z.ZodString;
152
151
  hint: z.ZodString;
153
152
  value: z.ZodString;
@@ -163,23 +162,23 @@ declare const placeOrderResultSchema: z.ZodObject<{
163
162
  tone: "default" | "success";
164
163
  hint: string;
165
164
  }>;
166
- declare const placeOrderStatusSchema: z.ZodObject<{
165
+ export declare const placeOrderStatusSchema: z.ZodObject<{
167
166
  tone: z.ZodEnum<["warning", "error"]>;
168
167
  message: z.ZodString;
169
168
  actionLabel: z.ZodOptional<z.ZodString>;
170
169
  placement: z.ZodEnum<["above-action", "below-action"]>;
171
170
  }, "strip", z.ZodTypeAny, {
172
- message: string;
173
171
  tone: "warning" | "error";
172
+ message: string;
174
173
  placement: "above-action" | "below-action";
175
174
  actionLabel?: string | undefined;
176
175
  }, {
177
- message: string;
178
176
  tone: "warning" | "error";
177
+ message: string;
179
178
  placement: "above-action" | "below-action";
180
179
  actionLabel?: string | undefined;
181
180
  }>;
182
- declare const placeOrderViewModelSchema: z.ZodObject<{
181
+ export declare const placeOrderViewModelSchema: z.ZodObject<{
183
182
  title: z.ZodString;
184
183
  marketDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
185
184
  marketImageUrl: z.ZodOptional<z.ZodString>;
@@ -220,11 +219,11 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
220
219
  label: z.ZodString;
221
220
  priceLabel: z.ZodString;
222
221
  }, "strip", z.ZodTypeAny, {
223
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
222
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
224
223
  label: string;
225
224
  priceLabel: string;
226
225
  }, {
227
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
226
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
228
227
  label: string;
229
228
  priceLabel: string;
230
229
  }>, "many">;
@@ -233,7 +232,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
233
232
  }, "strip", z.ZodTypeAny, {
234
233
  tone: "default" | "highlighted";
235
234
  rows: {
236
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
235
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
237
236
  label: string;
238
237
  priceLabel: string;
239
238
  }[];
@@ -242,7 +241,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
242
241
  }, {
243
242
  tone: "default" | "highlighted";
244
243
  rows: {
245
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
244
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
246
245
  label: string;
247
246
  priceLabel: string;
248
247
  }[];
@@ -274,32 +273,32 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
274
273
  actionLabel: z.ZodOptional<z.ZodString>;
275
274
  placement: z.ZodEnum<["above-action", "below-action"]>;
276
275
  }, "strip", z.ZodTypeAny, {
277
- message: string;
278
276
  tone: "warning" | "error";
277
+ message: string;
279
278
  placement: "above-action" | "below-action";
280
279
  actionLabel?: string | undefined;
281
280
  }, {
282
- message: string;
283
281
  tone: "warning" | "error";
282
+ message: string;
284
283
  placement: "above-action" | "below-action";
285
284
  actionLabel?: string | undefined;
286
285
  }>>;
287
286
  }, "strip", z.ZodTypeAny, {
288
- title: string;
289
287
  result: {
290
288
  value: string;
291
289
  label: string;
292
290
  tone: "default" | "success";
293
291
  hint: string;
294
292
  };
293
+ title: string;
295
294
  actionLabel: string;
296
295
  outcomes: {
297
296
  id: string;
298
297
  label: string;
299
298
  priceLabel: string;
300
299
  }[];
301
- activeTab: "buy" | "sell";
302
300
  marketDate: string | Date;
301
+ activeTab: "buy" | "sell";
303
302
  buyLabel: string;
304
303
  sellLabel: string;
305
304
  selectedOutcomeId: string;
@@ -311,7 +310,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
311
310
  routing: {
312
311
  tone: "default" | "highlighted";
313
312
  rows: {
314
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
313
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
315
314
  label: string;
316
315
  priceLabel: string;
317
316
  }[];
@@ -320,29 +319,29 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
320
319
  };
321
320
  disclaimer: string;
322
321
  status?: {
323
- message: string;
324
322
  tone: "warning" | "error";
323
+ message: string;
325
324
  placement: "above-action" | "below-action";
326
325
  actionLabel?: string | undefined;
327
326
  } | undefined;
328
327
  marketImageUrl?: string | undefined;
329
328
  isDismissible?: boolean | undefined;
330
329
  }, {
331
- title: string;
332
330
  result: {
333
331
  value: string;
334
332
  label: string;
335
333
  tone: "default" | "success";
336
334
  hint: string;
337
335
  };
336
+ title: string;
338
337
  actionLabel: string;
339
338
  outcomes: {
340
339
  id: string;
341
340
  label: string;
342
341
  priceLabel: string;
343
342
  }[];
344
- activeTab: "buy" | "sell";
345
343
  marketDate: string | Date;
344
+ activeTab: "buy" | "sell";
346
345
  buyLabel: string;
347
346
  sellLabel: string;
348
347
  selectedOutcomeId: string;
@@ -354,7 +353,7 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
354
353
  routing: {
355
354
  tone: "default" | "highlighted";
356
355
  rows: {
357
- venue: "opinion" | "probable" | "kalshi" | "polymarket";
356
+ venue: "probable" | "kalshi" | "polymarket" | "opinion";
358
357
  label: string;
359
358
  priceLabel: string;
360
359
  }[];
@@ -363,25 +362,23 @@ declare const placeOrderViewModelSchema: z.ZodObject<{
363
362
  };
364
363
  disclaimer: string;
365
364
  status?: {
366
- message: string;
367
365
  tone: "warning" | "error";
366
+ message: string;
368
367
  placement: "above-action" | "below-action";
369
368
  actionLabel?: string | undefined;
370
369
  } | undefined;
371
370
  marketImageUrl?: string | undefined;
372
371
  isDismissible?: boolean | undefined;
373
372
  }>;
374
- type PlaceOrderTab = z.infer<typeof placeOrderTabSchema>;
375
- type PlaceOrderStatusTone = z.infer<typeof placeOrderStatusToneSchema>;
376
- type PlaceOrderStatusPlacement = z.infer<typeof placeOrderStatusPlacementSchema>;
377
- type PlaceOrderRoutingTone = z.infer<typeof placeOrderRoutingToneSchema>;
378
- type PlaceOrderResultTone = z.infer<typeof placeOrderResultToneSchema>;
379
- type PlaceOrderOutcome = z.infer<typeof placeOrderOutcomeSchema>;
380
- type PlaceOrderMetric = z.infer<typeof placeOrderMetricSchema>;
381
- type PlaceOrderRoutingRow = z.infer<typeof placeOrderRoutingRowSchema>;
382
- type PlaceOrderRouting = z.infer<typeof placeOrderRoutingSchema>;
383
- type PlaceOrderResult = z.infer<typeof placeOrderResultSchema>;
384
- type PlaceOrderStatus = z.infer<typeof placeOrderStatusSchema>;
385
- type PlaceOrderViewModel = z.infer<typeof placeOrderViewModelSchema>;
386
-
387
- export { type PlaceOrderViewModel as A, type PlaceOrderTab as P, type SettlementViewModel as S, type TradingVenue as T, settlementViewModelSchema as a, type SettlementVenueItem as b, placeOrderStatusToneSchema as c, placeOrderStatusPlacementSchema as d, placeOrderRoutingToneSchema as e, placeOrderResultToneSchema as f, placeOrderOutcomeSchema as g, placeOrderMetricSchema as h, placeOrderRoutingRowSchema as i, placeOrderRoutingSchema as j, placeOrderResultSchema as k, placeOrderStatusSchema as l, placeOrderViewModelSchema as m, type PlaceOrderStatusTone as n, type PlaceOrderStatusPlacement as o, placeOrderTabSchema as p, type PlaceOrderRoutingTone as q, type PlaceOrderResultTone as r, settlementVenueSchema as s, tradingVenueSchema as t, type PlaceOrderOutcome as u, type PlaceOrderMetric as v, type PlaceOrderRoutingRow as w, type PlaceOrderRouting as x, type PlaceOrderResult as y, type PlaceOrderStatus as z };
373
+ export type PlaceOrderTab = z.infer<typeof placeOrderTabSchema>;
374
+ export type PlaceOrderStatusTone = z.infer<typeof placeOrderStatusToneSchema>;
375
+ export type PlaceOrderStatusPlacement = z.infer<typeof placeOrderStatusPlacementSchema>;
376
+ export type PlaceOrderRoutingTone = z.infer<typeof placeOrderRoutingToneSchema>;
377
+ export type PlaceOrderResultTone = z.infer<typeof placeOrderResultToneSchema>;
378
+ export type PlaceOrderOutcome = z.infer<typeof placeOrderOutcomeSchema>;
379
+ export type PlaceOrderMetric = z.infer<typeof placeOrderMetricSchema>;
380
+ export type PlaceOrderRoutingRow = z.infer<typeof placeOrderRoutingRowSchema>;
381
+ export type PlaceOrderRouting = z.infer<typeof placeOrderRoutingSchema>;
382
+ export type PlaceOrderResult = z.infer<typeof placeOrderResultSchema>;
383
+ export type PlaceOrderStatus = z.infer<typeof placeOrderStatusSchema>;
384
+ export type PlaceOrderViewModel = z.infer<typeof placeOrderViewModelSchema>;