@agg-market/ui 11.0.0 → 13.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 (110) hide show
  1. package/README.md +1 -0
  2. package/dist/{chunk-HMUMJUIL.mjs → chunk-3ST2TN6E.mjs} +613 -312
  3. package/dist/{chunk-IUJXJEDQ.mjs → chunk-B56YA2YQ.mjs} +872 -650
  4. package/dist/chunk-CHVTY3OB.mjs +3140 -0
  5. package/dist/{chunk-2KGE5AJQ.mjs → chunk-GQ4P3AHJ.mjs} +66 -131
  6. package/dist/{chunk-UONHGMFI.mjs → chunk-T4WFRR6D.mjs} +23 -45
  7. package/dist/events.js +1013 -924
  8. package/dist/events.mjs +2 -2
  9. package/dist/index.js +3653 -2943
  10. package/dist/index.mjs +14 -7
  11. package/dist/modals.js +2578 -2190
  12. package/dist/modals.mjs +2 -2
  13. package/dist/pages.js +2192 -1763
  14. package/dist/pages.mjs +4 -4
  15. package/dist/primitives.js +860 -628
  16. package/dist/primitives.mjs +9 -1
  17. package/dist/styles.css +2 -2
  18. package/dist/tailwind.css +2 -2
  19. package/dist/trading.js +823 -673
  20. package/dist/trading.mjs +2 -2
  21. package/dist/types/deposit/deposit-modal.constants.d.mts +0 -4
  22. package/dist/types/deposit/deposit-modal.constants.d.ts +0 -4
  23. package/dist/types/deposit/deposit-modal.types.d.mts +110 -14
  24. package/dist/types/deposit/deposit-modal.types.d.ts +110 -14
  25. package/dist/types/deposit/index.d.mts +1 -1
  26. package/dist/types/deposit/index.d.ts +1 -1
  27. package/dist/types/deposit/steps/card-deposit.d.mts +13 -3
  28. package/dist/types/deposit/steps/card-deposit.d.ts +13 -3
  29. package/dist/types/deposit/steps/card-provider.d.mts +10 -0
  30. package/dist/types/deposit/steps/card-provider.d.ts +10 -0
  31. package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
  32. package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
  33. package/dist/types/deposit/steps/crypto-transfer.d.mts +13 -3
  34. package/dist/types/deposit/steps/crypto-transfer.d.ts +13 -3
  35. package/dist/types/deposit/steps/deposit-method.d.mts +6 -4
  36. package/dist/types/deposit/steps/deposit-method.d.ts +6 -4
  37. package/dist/types/deposit/steps/wallet-form.d.mts +20 -0
  38. package/dist/types/deposit/steps/wallet-form.d.ts +20 -0
  39. package/dist/types/deposit/steps/wallet-processing.d.mts +6 -0
  40. package/dist/types/deposit/steps/wallet-processing.d.ts +6 -0
  41. package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
  42. package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
  43. package/dist/types/pages/home/index.d.mts +1 -1
  44. package/dist/types/pages/home/index.d.ts +1 -1
  45. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +17 -0
  46. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +17 -0
  47. package/dist/types/pages/user-profile/components/balance-display.d.mts +3 -5
  48. package/dist/types/pages/user-profile/components/balance-display.d.ts +3 -5
  49. package/dist/types/pages/user-profile/components/positions-activity.d.mts +11 -1
  50. package/dist/types/pages/user-profile/components/positions-activity.d.ts +11 -1
  51. package/dist/types/pages/user-profile/components/positions-value-card.d.mts +10 -0
  52. package/dist/types/pages/user-profile/components/positions-value-card.d.ts +10 -0
  53. package/dist/types/pages/user-profile/components/user-info-card.d.mts +3 -1
  54. package/dist/types/pages/user-profile/components/user-info-card.d.ts +3 -1
  55. package/dist/types/pages/user-profile/index.d.mts +2 -2
  56. package/dist/types/pages/user-profile/index.d.ts +2 -2
  57. package/dist/types/pages/user-profile/user-profile.constants.d.mts +1 -2
  58. package/dist/types/pages/user-profile/user-profile.constants.d.ts +1 -2
  59. package/dist/types/pages/user-profile/user-profile.types.d.mts +29 -16
  60. package/dist/types/pages/user-profile/user-profile.types.d.ts +29 -16
  61. package/dist/types/primitives/icon/index.d.mts +4 -1
  62. package/dist/types/primitives/icon/index.d.ts +4 -1
  63. package/dist/types/primitives/icon/registry.d.mts +12 -0
  64. package/dist/types/primitives/icon/registry.d.ts +12 -0
  65. package/dist/types/primitives/icon/svg/bnb.d.mts +5 -0
  66. package/dist/types/primitives/icon/svg/bnb.d.ts +5 -0
  67. package/dist/types/primitives/icon/svg/polygon.d.mts +5 -0
  68. package/dist/types/primitives/icon/svg/polygon.d.ts +5 -0
  69. package/dist/types/primitives/icon/svg/success-check.d.mts +5 -0
  70. package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
  71. package/dist/types/primitives/index.d.mts +1 -0
  72. package/dist/types/primitives/index.d.ts +1 -0
  73. package/dist/types/primitives/skeleton/skeleton.types.d.mts +2 -0
  74. package/dist/types/primitives/skeleton/skeleton.types.d.ts +2 -0
  75. package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.mts +5 -0
  76. package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.ts +5 -0
  77. package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.mts +5 -0
  78. package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.ts +5 -0
  79. package/dist/types/primitives/tooltip/index.d.mts +6 -0
  80. package/dist/types/primitives/tooltip/index.d.ts +6 -0
  81. package/dist/types/primitives/tooltip/tooltip.constants.d.mts +2 -0
  82. package/dist/types/primitives/tooltip/tooltip.constants.d.ts +2 -0
  83. package/dist/types/primitives/tooltip/tooltip.types.d.mts +27 -0
  84. package/dist/types/primitives/tooltip/tooltip.types.d.ts +27 -0
  85. package/dist/types/profile/tabs/about-tab.d.mts +1 -1
  86. package/dist/types/profile/tabs/about-tab.d.ts +1 -1
  87. package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +1 -1
  88. package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +1 -1
  89. package/dist/types/withdraw/index.d.mts +2 -2
  90. package/dist/types/withdraw/index.d.ts +2 -2
  91. package/dist/types/withdraw/steps/withdraw-amount.d.mts +14 -5
  92. package/dist/types/withdraw/steps/withdraw-amount.d.ts +14 -5
  93. package/dist/types/withdraw/steps/withdraw-method.d.mts +3 -4
  94. package/dist/types/withdraw/steps/withdraw-method.d.ts +3 -4
  95. package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
  96. package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
  97. package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
  98. package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
  99. package/dist/types/withdraw/withdraw-modal.constants.d.mts +0 -4
  100. package/dist/types/withdraw/withdraw-modal.constants.d.ts +0 -4
  101. package/dist/types/withdraw/withdraw-modal.types.d.mts +47 -23
  102. package/dist/types/withdraw/withdraw-modal.types.d.ts +47 -23
  103. package/package.json +3 -2
  104. package/dist/chunk-5FSWOXEG.mjs +0 -2857
  105. package/dist/types/deposit/steps/kalshi-deposit.d.mts +0 -5
  106. package/dist/types/deposit/steps/kalshi-deposit.d.ts +0 -5
  107. package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +0 -5
  108. package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +0 -5
  109. package/dist/types/withdraw/steps/venue-selection.d.mts +0 -6
  110. package/dist/types/withdraw/steps/venue-selection.d.ts +0 -6
package/dist/index.mjs CHANGED
@@ -3,14 +3,14 @@ import {
3
3
  EventMarketPage,
4
4
  HomePage,
5
5
  UserProfilePage
6
- } from "./chunk-HMUMJUIL.mjs";
6
+ } from "./chunk-3ST2TN6E.mjs";
7
7
  import {
8
8
  EventList,
9
9
  EventListItem,
10
10
  EventListItemDetails,
11
11
  MarketDetails,
12
12
  MarketDetailsList
13
- } from "./chunk-2KGE5AJQ.mjs";
13
+ } from "./chunk-GQ4P3AHJ.mjs";
14
14
  import {
15
15
  ConnectAccountsStep,
16
16
  ConnectKalshiModal,
@@ -22,7 +22,7 @@ import {
22
22
  ProfileModal,
23
23
  ProfileSetupStep,
24
24
  WithdrawModal
25
- } from "./chunk-5FSWOXEG.mjs";
25
+ } from "./chunk-CHVTY3OB.mjs";
26
26
  import {
27
27
  placeOrderMetricSchema,
28
28
  placeOrderOutcomeSchema,
@@ -54,7 +54,7 @@ import {
54
54
  getTradingSlippageLabel,
55
55
  getTradingValueLabel,
56
56
  getTradingVenueLabel
57
- } from "./chunk-UONHGMFI.mjs";
57
+ } from "./chunk-T4WFRR6D.mjs";
58
58
  import {
59
59
  AGG_ROOT_CLASS_NAME,
60
60
  AggLogo,
@@ -64,6 +64,7 @@ import {
64
64
  Badge,
65
65
  BankIcon,
66
66
  BestPricesIcon,
67
+ BnbIcon,
67
68
  BoltIcon,
68
69
  Button,
69
70
  Card,
@@ -99,6 +100,7 @@ import {
99
100
  NumberValue,
100
101
  PencilIcon,
101
102
  PlaySquareIcon,
103
+ PolygonIcon,
102
104
  ProfileIcon,
103
105
  RemoteImage,
104
106
  RevenueAltIcon,
@@ -110,8 +112,10 @@ import {
110
112
  SolanaIcon,
111
113
  StateMessage,
112
114
  StayInControlIcon,
115
+ SuccessCheckIcon,
113
116
  SwitchButton,
114
117
  Tabs,
118
+ Tooltip,
115
119
  TriangleDownIcon,
116
120
  TriangleUpFilledIcon,
117
121
  TriangleUpIcon,
@@ -139,7 +143,7 @@ import {
139
143
  toDate,
140
144
  typographyVariants,
141
145
  venueLogoNames
142
- } from "./chunk-IUJXJEDQ.mjs";
146
+ } from "./chunk-B56YA2YQ.mjs";
143
147
 
144
148
  // src/auth/connect-button-view/index.tsx
145
149
  import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
@@ -234,8 +238,7 @@ var venueLogoNameSet = /* @__PURE__ */ new Set([
234
238
  "probable"
235
239
  ]);
236
240
  var toVenueLogoName = (value) => {
237
- if (!venueLogoNameSet.has(value))
238
- return null;
241
+ if (!venueLogoNameSet.has(value)) return null;
239
242
  return value;
240
243
  };
241
244
  var AuthMethodActionButton = ({
@@ -718,6 +721,7 @@ export {
718
721
  Badge,
719
722
  BankIcon,
720
723
  BestPricesIcon,
724
+ BnbIcon,
721
725
  BoltIcon,
722
726
  Button,
723
727
  Card,
@@ -768,6 +772,7 @@ export {
768
772
  PencilIcon,
769
773
  PlaceOrder,
770
774
  PlaySquareIcon,
775
+ PolygonIcon,
771
776
  ProfileIcon,
772
777
  ProfileModal,
773
778
  ProfileSetupStep,
@@ -782,8 +787,10 @@ export {
782
787
  SolanaIcon,
783
788
  StateMessage,
784
789
  StayInControlIcon,
790
+ SuccessCheckIcon,
785
791
  SwitchButton,
786
792
  Tabs,
793
+ Tooltip,
787
794
  TriangleDownIcon,
788
795
  TriangleUpFilledIcon,
789
796
  TriangleUpIcon,