@agg-build/ui 4.0.0 → 4.4.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 (70) hide show
  1. package/README.md +21 -16
  2. package/dist/{chunk-XIDQ2A6W.mjs → chunk-64BBTXFE.mjs} +1639 -909
  3. package/dist/{chunk-VR5ZRDQT.mjs → chunk-6STRIKUA.mjs} +1 -1
  4. package/dist/{chunk-KX3TQ7WC.mjs → chunk-734VTGCV.mjs} +1 -1
  5. package/dist/{chunk-KO6VTRV6.mjs → chunk-N7UPPT5J.mjs} +336 -232
  6. package/dist/{chunk-JTSLZARU.mjs → chunk-UCU2XCV5.mjs} +2 -2
  7. package/dist/{chunk-MKU5Q6PN.mjs → chunk-V5CRUO6S.mjs} +653 -379
  8. package/dist/{chunk-R362GNI2.mjs → chunk-WW5QKNIM.mjs} +278 -146
  9. package/dist/events.js +1241 -754
  10. package/dist/events.mjs +6 -4
  11. package/dist/index.js +4919 -3694
  12. package/dist/index.mjs +20 -8
  13. package/dist/modals.js +1321 -1260
  14. package/dist/modals.mjs +3 -3
  15. package/dist/pages.js +4271 -3054
  16. package/dist/pages.mjs +10 -6
  17. package/dist/primitives.js +346 -265
  18. package/dist/primitives.mjs +1 -1
  19. package/dist/styles.css +1 -1
  20. package/dist/tailwind.css +1 -1
  21. package/dist/trading.js +2281 -1499
  22. package/dist/trading.mjs +10 -4
  23. package/dist/types/events/index.d.mts +1 -0
  24. package/dist/types/events/index.d.ts +1 -0
  25. package/dist/types/events/item-details/event-list-item-details-market-selector.d.mts +4 -1
  26. package/dist/types/events/item-details/event-list-item-details-market-selector.d.ts +4 -1
  27. package/dist/types/events/item-details/event-list-item-details.types.d.mts +25 -1
  28. package/dist/types/events/item-details/event-list-item-details.types.d.ts +25 -1
  29. package/dist/types/events/item-details/index.d.mts +1 -1
  30. package/dist/types/events/item-details/index.d.ts +1 -1
  31. package/dist/types/events/market-details/index.d.mts +1 -1
  32. package/dist/types/events/market-details/index.d.ts +1 -1
  33. package/dist/types/events/market-details/market-details.types.d.mts +4 -0
  34. package/dist/types/events/market-details/market-details.types.d.ts +4 -0
  35. package/dist/types/events/shared/format-event-title.d.mts +9 -1
  36. package/dist/types/events/shared/format-event-title.d.ts +9 -1
  37. package/dist/types/events/shared/format-sports-event-time.d.mts +2 -0
  38. package/dist/types/events/shared/format-sports-event-time.d.ts +2 -0
  39. package/dist/types/events/shared/sports-live-score.d.mts +10 -0
  40. package/dist/types/events/shared/sports-live-score.d.ts +10 -0
  41. package/dist/types/pages/event-market/event-market.types.d.mts +4 -0
  42. package/dist/types/pages/event-market/event-market.types.d.ts +4 -0
  43. package/dist/types/pages/event-market/index.d.mts +1 -0
  44. package/dist/types/pages/event-market/index.d.ts +1 -0
  45. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +5 -0
  46. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +5 -0
  47. package/dist/types/pages/user-profile/components/open-order-row.d.mts +1 -0
  48. package/dist/types/pages/user-profile/components/open-order-row.d.ts +1 -0
  49. package/dist/types/pages/user-profile/components/positions-activity.d.mts +1 -1
  50. package/dist/types/pages/user-profile/components/positions-activity.d.ts +1 -1
  51. package/dist/types/pages/user-profile/index.d.mts +1 -0
  52. package/dist/types/pages/user-profile/index.d.ts +1 -0
  53. package/dist/types/pages/user-profile/user-profile.types.d.mts +1 -1
  54. package/dist/types/pages/user-profile/user-profile.types.d.ts +1 -1
  55. package/dist/types/primitives/venue-logo/svg/logo-novig.d.mts +24 -0
  56. package/dist/types/primitives/venue-logo/svg/logo-novig.d.ts +24 -0
  57. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +1 -1
  58. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +1 -1
  59. package/dist/types/trading/place-order/index.d.mts +4 -1
  60. package/dist/types/trading/place-order/index.d.ts +4 -1
  61. package/dist/types/trading/place-order/index.place-order.execution-steps.d.mts +38 -73
  62. package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +38 -73
  63. package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +26 -0
  64. package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +26 -0
  65. package/dist/types/trading/place-order/index.place-order.types.d.mts +15 -0
  66. package/dist/types/trading/place-order/index.place-order.types.d.ts +15 -0
  67. package/dist/types/trading/place-order/index.place-order.utils.d.mts +14 -1
  68. package/dist/types/trading/place-order/index.place-order.utils.d.ts +14 -1
  69. package/package.json +3 -3
  70. /package/dist/{chunk-KHHFHXXD.mjs → chunk-JH4B3ZHQ.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import "./chunk-KHHFHXXD.mjs";
2
+ import "./chunk-JH4B3ZHQ.mjs";
3
3
  import {
4
4
  ConditionalWrapper,
5
5
  DefaultAvatar,
@@ -11,8 +11,10 @@ import {
11
11
  USER_PROFILE_TAB_POSITIONS,
12
12
  UserProfilePage,
13
13
  buildAggTxExplorerHref,
14
+ formatRecurringCountdown,
15
+ formatShareAmount,
14
16
  useHomePageModals
15
- } from "./chunk-R362GNI2.mjs";
17
+ } from "./chunk-WW5QKNIM.mjs";
16
18
  import {
17
19
  EventList,
18
20
  EventListItem,
@@ -23,13 +25,14 @@ import {
23
25
  Orderbook,
24
26
  OrderbookWithStates,
25
27
  SettlementSummary,
28
+ SportsLiveScore,
26
29
  collectEligibleVenueOutcomeIds,
27
30
  collectEligibleVenueOutcomes,
28
31
  mergeVenueOutcomeOrderbooks,
29
32
  orderbookRowLimitDefault,
30
33
  resolveEventDetailsSyncKey,
31
34
  useCenterOrderbookSpread
32
- } from "./chunk-MKU5Q6PN.mjs";
35
+ } from "./chunk-V5CRUO6S.mjs";
33
36
  import {
34
37
  CARD_NETWORK_OPTIONS,
35
38
  DepositModal,
@@ -39,12 +42,15 @@ import {
39
42
  buildTerminalSummary,
40
43
  clearPendingCardSession,
41
44
  getPendingCardSession
42
- } from "./chunk-JTSLZARU.mjs";
45
+ } from "./chunk-UCU2XCV5.mjs";
43
46
  import {
44
47
  AggNotificationEventsProvider,
45
48
  DEPOSIT_MODAL_OPEN_EVENT,
46
49
  FundKalshiModal,
47
50
  PlaceOrder,
51
+ PlaceOrderExecutionGroups,
52
+ PlaceOrderExecutionHeader,
53
+ PlaceOrderExecutionView,
48
54
  PlaceOrderFailureView,
49
55
  PlaceOrderSuccessView,
50
56
  SettlementDetails,
@@ -55,7 +61,7 @@ import {
55
61
  requestAggWithdrawModalOpen,
56
62
  useClaimWinnings,
57
63
  useResolvedMarketClaim
58
- } from "./chunk-XIDQ2A6W.mjs";
64
+ } from "./chunk-64BBTXFE.mjs";
59
65
  import {
60
66
  SETTLEMENT_SECTION_ID,
61
67
  Settlement,
@@ -76,7 +82,7 @@ import {
76
82
  resolveOrderBookRows,
77
83
  resolveUnifiedOrderBookEntries,
78
84
  useEventTradingContext
79
- } from "./chunk-VR5ZRDQT.mjs";
85
+ } from "./chunk-6STRIKUA.mjs";
80
86
  import {
81
87
  ConnectAccountsStep,
82
88
  ConnectKalshiModal,
@@ -85,7 +91,7 @@ import {
85
91
  HowItWorksStep,
86
92
  OnboardingModal,
87
93
  ProfileSetupStep
88
- } from "./chunk-KX3TQ7WC.mjs";
94
+ } from "./chunk-734VTGCV.mjs";
89
95
  import {
90
96
  AGG_DEFAULT_URL,
91
97
  AGG_DOCS_URL,
@@ -207,7 +213,7 @@ import {
207
213
  useOptionalToast,
208
214
  useToast,
209
215
  venueLogoNames
210
- } from "./chunk-KO6VTRV6.mjs";
216
+ } from "./chunk-N7UPPT5J.mjs";
211
217
 
212
218
  // src/notifications/agg-toast-provider.tsx
213
219
  import { jsx } from "react/jsx-runtime";
@@ -1062,6 +1068,9 @@ export {
1062
1068
  PaperPlaneIcon,
1063
1069
  PencilIcon,
1064
1070
  PlaceOrder,
1071
+ PlaceOrderExecutionGroups,
1072
+ PlaceOrderExecutionHeader,
1073
+ PlaceOrderExecutionView,
1065
1074
  PlaceOrderFailureView,
1066
1075
  PlaceOrderRouteCardSkeleton,
1067
1076
  PlaceOrderSuccessView,
@@ -1083,6 +1092,7 @@ export {
1083
1092
  Skeleton,
1084
1093
  SolanaIcon,
1085
1094
  SparklesFilledIcon,
1095
+ SportsLiveScore,
1086
1096
  StateMessage,
1087
1097
  StayInControlIcon,
1088
1098
  SuccessCheckIcon,
@@ -1122,6 +1132,8 @@ export {
1122
1132
  formatAmountDisplay,
1123
1133
  formatCompactUsd,
1124
1134
  formatProbabilityCents,
1135
+ formatRecurringCountdown,
1136
+ formatShareAmount,
1125
1137
  formatTokenAmount,
1126
1138
  formatUsd,
1127
1139
  getMotionClassName,