@agg-market/ui 9.0.0 → 11.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 (76) hide show
  1. package/dist/{chunk-6CRY27SQ.mjs → chunk-2KGE5AJQ.mjs} +670 -659
  2. package/dist/{chunk-N7U7QCSB.mjs → chunk-5FSWOXEG.mjs} +807 -358
  3. package/dist/{chunk-HJ4UPYM7.mjs → chunk-HMUMJUIL.mjs} +539 -405
  4. package/dist/{chunk-3G7C6WEC.mjs → chunk-IUJXJEDQ.mjs} +1340 -664
  5. package/dist/{chunk-3U4VHAP6.mjs → chunk-UONHGMFI.mjs} +12 -4
  6. package/dist/events.js +1267 -1035
  7. package/dist/events.mjs +6 -4
  8. package/dist/index.js +4443 -3205
  9. package/dist/index.mjs +18 -7
  10. package/dist/modals.js +1207 -379
  11. package/dist/modals.mjs +4 -2
  12. package/dist/pages.js +2942 -1689
  13. package/dist/pages.mjs +4 -4
  14. package/dist/primitives.js +1317 -657
  15. package/dist/primitives.mjs +5 -1
  16. package/dist/styles.css +1 -1
  17. package/dist/tailwind.css +1 -1
  18. package/dist/trading.js +274 -190
  19. package/dist/trading.mjs +2 -2
  20. package/dist/types/events/item/event-list-item.types.d.mts +1 -2
  21. package/dist/types/events/item/event-list-item.types.d.ts +1 -2
  22. package/dist/types/events/item-details/event-list-item-details.types.d.mts +1 -4
  23. package/dist/types/events/item-details/event-list-item-details.types.d.ts +1 -4
  24. package/dist/types/events/item-details/event-list-item-details.utils.d.mts +42 -3
  25. package/dist/types/events/item-details/event-list-item-details.utils.d.ts +42 -3
  26. package/dist/types/events/list/event-list.types.d.mts +3 -2
  27. package/dist/types/events/list/event-list.types.d.ts +3 -2
  28. package/dist/types/events/list/index.d.mts +1 -1
  29. package/dist/types/events/list/index.d.ts +1 -1
  30. package/dist/types/events/market-details/index.d.mts +7 -3
  31. package/dist/types/events/market-details/index.d.ts +7 -3
  32. package/dist/types/events/market-details/market-details.types.d.mts +30 -10
  33. package/dist/types/events/market-details/market-details.types.d.ts +30 -10
  34. package/dist/types/events/market-details/market-details.utils.d.mts +15 -10
  35. package/dist/types/events/market-details/market-details.utils.d.ts +15 -10
  36. package/dist/types/modals/index.d.mts +1 -0
  37. package/dist/types/modals/index.d.ts +1 -0
  38. package/dist/types/pages/event-market/event-market.types.d.mts +2 -0
  39. package/dist/types/pages/event-market/event-market.types.d.ts +2 -0
  40. package/dist/types/pages/home/home.constants.d.mts +1 -3
  41. package/dist/types/pages/home/home.constants.d.ts +1 -3
  42. package/dist/types/pages/home/home.types.d.mts +0 -2
  43. package/dist/types/pages/home/home.types.d.ts +0 -2
  44. package/dist/types/pages/home/home.utils.d.mts +4 -0
  45. package/dist/types/pages/home/home.utils.d.ts +4 -0
  46. package/dist/types/pages/home/index.d.mts +1 -1
  47. package/dist/types/pages/home/index.d.ts +1 -1
  48. package/dist/types/primitives/agg-logo/index.d.mts +6 -0
  49. package/dist/types/primitives/agg-logo/index.d.ts +6 -0
  50. package/dist/types/primitives/chart/index.d.mts +9 -1
  51. package/dist/types/primitives/chart/index.d.ts +9 -1
  52. package/dist/types/primitives/header/agg-logo.d.mts +2 -0
  53. package/dist/types/primitives/header/agg-logo.d.ts +2 -0
  54. package/dist/types/primitives/header/header.constants.d.mts +3 -0
  55. package/dist/types/primitives/header/header.constants.d.ts +3 -0
  56. package/dist/types/primitives/header/header.types.d.mts +28 -0
  57. package/dist/types/primitives/header/header.types.d.ts +28 -0
  58. package/dist/types/primitives/header/index.d.mts +7 -0
  59. package/dist/types/primitives/header/index.d.ts +7 -0
  60. package/dist/types/primitives/index.d.mts +2 -0
  61. package/dist/types/primitives/index.d.ts +2 -0
  62. package/dist/types/primitives/search/index.d.mts +1 -1
  63. package/dist/types/primitives/search/index.d.ts +1 -1
  64. package/dist/types/primitives/search/search.types.d.mts +9 -59
  65. package/dist/types/primitives/search/search.types.d.ts +9 -59
  66. package/dist/types/primitives/search/search.utils.d.mts +4 -0
  67. package/dist/types/primitives/search/search.utils.d.ts +4 -0
  68. package/dist/types/primitives/skeleton/skeleton.types.d.mts +1 -0
  69. package/dist/types/primitives/skeleton/skeleton.types.d.ts +1 -0
  70. package/dist/types/primitives/skeleton/views/search-skeleton-view.d.mts +5 -0
  71. package/dist/types/primitives/skeleton/views/search-skeleton-view.d.ts +5 -0
  72. package/dist/types/primitives/venue-logo/index.d.mts +1 -1
  73. package/dist/types/primitives/venue-logo/index.d.ts +1 -1
  74. package/dist/types/trading/types.d.mts +2 -2
  75. package/dist/types/trading/types.d.ts +2 -2
  76. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -3,13 +3,14 @@ import {
3
3
  EventMarketPage,
4
4
  HomePage,
5
5
  UserProfilePage
6
- } from "./chunk-HJ4UPYM7.mjs";
6
+ } from "./chunk-HMUMJUIL.mjs";
7
7
  import {
8
8
  EventList,
9
9
  EventListItem,
10
10
  EventListItemDetails,
11
- MarketDetails
12
- } from "./chunk-6CRY27SQ.mjs";
11
+ MarketDetails,
12
+ MarketDetailsList
13
+ } from "./chunk-2KGE5AJQ.mjs";
13
14
  import {
14
15
  ConnectAccountsStep,
15
16
  ConnectKalshiModal,
@@ -17,10 +18,11 @@ import {
17
18
  DepositModal,
18
19
  HowItWorksStep,
19
20
  OnboardingModal,
21
+ OnrampModal,
20
22
  ProfileModal,
21
23
  ProfileSetupStep,
22
24
  WithdrawModal
23
- } from "./chunk-N7U7QCSB.mjs";
25
+ } from "./chunk-5FSWOXEG.mjs";
24
26
  import {
25
27
  placeOrderMetricSchema,
26
28
  placeOrderOutcomeSchema,
@@ -52,9 +54,10 @@ import {
52
54
  getTradingSlippageLabel,
53
55
  getTradingValueLabel,
54
56
  getTradingVenueLabel
55
- } from "./chunk-3U4VHAP6.mjs";
57
+ } from "./chunk-UONHGMFI.mjs";
56
58
  import {
57
59
  AGG_ROOT_CLASS_NAME,
60
+ AggLogo,
58
61
  AppleIcon,
59
62
  ArrowTrendUpIcon,
60
63
  ArrowsToDotIcon,
@@ -83,6 +86,7 @@ import {
83
86
  EthereumIcon,
84
87
  ExternalLinkIcon,
85
88
  GoogleIcon,
89
+ Header,
86
90
  HelloWorld,
87
91
  Icon,
88
92
  ImageIcon,
@@ -135,7 +139,7 @@ import {
135
139
  toDate,
136
140
  typographyVariants,
137
141
  venueLogoNames
138
- } from "./chunk-3G7C6WEC.mjs";
142
+ } from "./chunk-IUJXJEDQ.mjs";
139
143
 
140
144
  // src/auth/connect-button-view/index.tsx
141
145
  import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
@@ -482,7 +486,10 @@ var AuthConnectButtonView = ({
482
486
  walletMethods
483
487
  }) => {
484
488
  const labels = useLabels();
485
- const { enableAnimations, rootClassName } = useSdkUiConfig();
489
+ const {
490
+ general: { rootClassName },
491
+ features: { enableAnimations }
492
+ } = useSdkUiConfig();
486
493
  const resolvedProfileLabel = profileLabel || labels.auth.myProfile;
487
494
  const dropdownMenuItemClassName = cn(
488
495
  "cursor-pointer",
@@ -703,6 +710,7 @@ var AuthConnectButtonView = ({
703
710
  AuthConnectButtonView.displayName = "AuthConnectButtonView";
704
711
  export {
705
712
  AGG_ROOT_CLASS_NAME,
713
+ AggLogo,
706
714
  AppleIcon,
707
715
  ArrowTrendUpIcon,
708
716
  ArrowsToDotIcon,
@@ -740,6 +748,7 @@ export {
740
748
  EventMarketPage,
741
749
  ExternalLinkIcon,
742
750
  GoogleIcon,
751
+ Header,
743
752
  HelloWorld,
744
753
  HomePage,
745
754
  HowItWorksStep,
@@ -751,9 +760,11 @@ export {
751
760
  LinkAccountsIcon,
752
761
  LoadingIcon,
753
762
  MarketDetails,
763
+ MarketDetailsList,
754
764
  Modal,
755
765
  NumberValue,
756
766
  OnboardingModal,
767
+ OnrampModal,
757
768
  PencilIcon,
758
769
  PlaceOrder,
759
770
  PlaySquareIcon,