@agg-market/ui 0.0.6 → 2.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 (137) hide show
  1. package/dist/badge.d.mts +5 -3
  2. package/dist/badge.d.ts +5 -3
  3. package/dist/badge.js +52 -12
  4. package/dist/badge.mjs +1 -1
  5. package/dist/button.d.mts +2 -2
  6. package/dist/button.d.ts +2 -2
  7. package/dist/button.js +19 -34
  8. package/dist/button.mjs +2 -2
  9. package/dist/card.d.mts +4 -2
  10. package/dist/card.d.ts +4 -2
  11. package/dist/card.js +8 -4
  12. package/dist/card.mjs +1 -1
  13. package/dist/chart.js +14 -7
  14. package/dist/chart.mjs +2 -2
  15. package/dist/{chunk-ZYREURXK.mjs → chunk-2MJY6RVY.mjs} +35 -35
  16. package/dist/{chunk-P23GR7NX.mjs → chunk-422MCIXV.mjs} +1 -1
  17. package/dist/chunk-4KMFDCAH.mjs +371 -0
  18. package/dist/{chunk-HM3CGN32.mjs → chunk-5GDNWQZS.mjs} +46 -46
  19. package/dist/{chunk-VIP7HSOU.mjs → chunk-5K7VXAYM.mjs} +4 -0
  20. package/dist/{chunk-BJNHDIDW.mjs → chunk-6425RRBI.mjs} +4 -4
  21. package/dist/{chunk-O2XH4A3G.mjs → chunk-7NISYVSJ.mjs} +22 -22
  22. package/dist/{chunk-MXBPDNMC.mjs → chunk-BEDUFOIG.mjs} +95 -22
  23. package/dist/{chunk-VC7LTPQD.mjs → chunk-BN5VVHNV.mjs} +2 -2
  24. package/dist/{chunk-JRS2M5GY.mjs → chunk-CTVMT3VL.mjs} +13 -6
  25. package/dist/{chunk-USLTNDJA.mjs → chunk-D5FTFSKL.mjs} +8 -8
  26. package/dist/{chunk-BLSHXIAH.mjs → chunk-D7JTOGYP.mjs} +6 -11
  27. package/dist/{chunk-W2DMBW4E.mjs → chunk-DL7STJQ5.mjs} +61 -33
  28. package/dist/chunk-ERGNR6UQ.mjs +67 -0
  29. package/dist/chunk-FO263M3V.mjs +10 -0
  30. package/dist/{chunk-3O4U3E5I.mjs → chunk-FO2QCB4Z.mjs} +8 -4
  31. package/dist/{chunk-OGI343OV.mjs → chunk-IGPNIM2B.mjs} +3 -2
  32. package/dist/chunk-K6IJ4WBM.mjs +67 -0
  33. package/dist/{chunk-PGSPYQOW.mjs → chunk-KAGYJ4XT.mjs} +17 -27
  34. package/dist/{chunk-RGZQHSNJ.mjs → chunk-KCPDVBIZ.mjs} +26 -17
  35. package/dist/{chunk-ZHKMDK5M.mjs → chunk-KFOATMAE.mjs} +87 -87
  36. package/dist/{chunk-I4YUYVJJ.mjs → chunk-LK5D3ZTK.mjs} +38 -27
  37. package/dist/{chunk-VUDJ3PYM.mjs → chunk-O46OFVH6.mjs} +40 -16
  38. package/dist/{chunk-RXACBTON.mjs → chunk-OA2IZ3VW.mjs} +16 -22
  39. package/dist/{chunk-F236MLT6.mjs → chunk-PZTHM6WG.mjs} +13 -10
  40. package/dist/{chunk-XELWY7SO.mjs → chunk-QYZKC7KG.mjs} +137 -104
  41. package/dist/{chunk-LWTQD345.mjs → chunk-S3H63TQ5.mjs} +57 -312
  42. package/dist/{chunk-MNSHWA6M.mjs → chunk-TA7LKYKP.mjs} +9 -8
  43. package/dist/{chunk-JH5VMNDL.mjs → chunk-V52WSZHQ.mjs} +8 -7
  44. package/dist/chunk-YJA5VQW6.mjs +167 -0
  45. package/dist/{chunk-EXF4SESB.mjs → chunk-ZFMCCBP6.mjs} +1 -1
  46. package/dist/connect-button.js +51 -73
  47. package/dist/connect-button.mjs +6 -6
  48. package/dist/deposit-modal.js +171 -177
  49. package/dist/deposit-modal.mjs +7 -7
  50. package/dist/event-list-item-details.js +222 -198
  51. package/dist/event-list-item-details.mjs +11 -11
  52. package/dist/event-list-item.js +172 -114
  53. package/dist/event-list-item.mjs +8 -8
  54. package/dist/event-list.js +391 -507
  55. package/dist/event-list.mjs +11 -11
  56. package/dist/event-market-page.d.mts +1 -1
  57. package/dist/event-market-page.d.ts +1 -1
  58. package/dist/event-market-page.js +826 -764
  59. package/dist/event-market-page.mjs +19 -19
  60. package/dist/hello-world.js +28 -16
  61. package/dist/hello-world.mjs +2 -2
  62. package/dist/home-page.js +395 -511
  63. package/dist/home-page.mjs +12 -12
  64. package/dist/icon.d.mts +1 -1
  65. package/dist/icon.d.ts +1 -1
  66. package/dist/icon.js +15 -17
  67. package/dist/icon.mjs +2 -2
  68. package/dist/index.d.mts +6 -6
  69. package/dist/index.d.ts +6 -6
  70. package/dist/index.js +1158 -956
  71. package/dist/index.mjs +34 -32
  72. package/dist/loading-icon.d.mts +1 -1
  73. package/dist/loading-icon.d.ts +1 -1
  74. package/dist/loading-icon.js +5 -9
  75. package/dist/loading-icon.mjs +2 -2
  76. package/dist/market-details.d.mts +2 -2
  77. package/dist/market-details.d.ts +2 -2
  78. package/dist/market-details.js +357 -551
  79. package/dist/market-details.mjs +13 -13
  80. package/dist/modal.js +4 -0
  81. package/dist/modal.mjs +1 -1
  82. package/dist/onboarding-modal.js +63 -67
  83. package/dist/onboarding-modal.mjs +6 -6
  84. package/dist/place-order.d.mts +1 -1
  85. package/dist/place-order.d.ts +1 -1
  86. package/dist/place-order.js +231 -466
  87. package/dist/place-order.mjs +9 -9
  88. package/dist/profile-modal.js +75 -77
  89. package/dist/profile-modal.mjs +6 -6
  90. package/dist/search.d.mts +2 -2
  91. package/dist/search.d.ts +2 -2
  92. package/dist/search.js +28 -34
  93. package/dist/search.mjs +4 -4
  94. package/dist/select.js +104 -99
  95. package/dist/select.mjs +3 -3
  96. package/dist/settlement.d.mts +1 -1
  97. package/dist/settlement.d.ts +1 -1
  98. package/dist/settlement.js +279 -59
  99. package/dist/settlement.mjs +6 -6
  100. package/dist/skeleton.js +15 -10
  101. package/dist/skeleton.mjs +2 -2
  102. package/dist/styles.css +1 -1
  103. package/dist/switch-button.js +13 -6
  104. package/dist/switch-button.mjs +1 -1
  105. package/dist/tabs.d.mts +8 -4
  106. package/dist/tabs.d.ts +8 -4
  107. package/dist/tabs.js +163 -420
  108. package/dist/tabs.mjs +4 -4
  109. package/dist/tailwind.css +1 -1
  110. package/dist/types-BVj9ky9P.d.mts +3 -0
  111. package/dist/types-BVj9ky9P.d.ts +3 -0
  112. package/dist/typography.d.mts +4 -2
  113. package/dist/typography.d.ts +4 -2
  114. package/dist/typography.js +49 -18
  115. package/dist/typography.mjs +5 -3
  116. package/dist/user-profile-page.d.mts +2 -2
  117. package/dist/user-profile-page.d.ts +2 -2
  118. package/dist/user-profile-page.js +200 -474
  119. package/dist/user-profile-page.mjs +7 -7
  120. package/dist/venue-logo.d.mts +2 -2
  121. package/dist/venue-logo.d.ts +2 -2
  122. package/dist/venue-logo.js +6 -11
  123. package/dist/venue-logo.mjs +1 -1
  124. package/dist/{venue-logo.types-BSAuY84j.d.ts → venue-logo.types-D8Cu2rAm.d.ts} +1 -1
  125. package/dist/{venue-logo.types-DACqcTvY.d.mts → venue-logo.types-HRf1yBLD.d.mts} +1 -1
  126. package/dist/withdraw-modal.js +72 -85
  127. package/dist/withdraw-modal.mjs +6 -6
  128. package/package.json +2 -2
  129. package/dist/chunk-AEMAY3MR.mjs +0 -44
  130. package/dist/chunk-DYEWXEEY.mjs +0 -37
  131. package/dist/chunk-QFQHD2V6.mjs +0 -146
  132. package/dist/chunk-ZDF7QP4G.mjs +0 -160
  133. package/dist/chunk-ZVBVGWSP.mjs +0 -15
  134. package/dist/types-Bed6Q0EK.d.mts +0 -3
  135. package/dist/types-Bed6Q0EK.d.ts +0 -3
  136. package/dist/{types-DkGlbmXq.d.mts → types-JBf1DZlH.d.mts} +2 -2
  137. package/dist/{types-DkGlbmXq.d.ts → types-JBf1DZlH.d.ts} +2 -2
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  HomePage
3
- } from "./chunk-BJNHDIDW.mjs";
3
+ } from "./chunk-6425RRBI.mjs";
4
4
  import {
5
5
  DepositModal
6
- } from "./chunk-HM3CGN32.mjs";
6
+ } from "./chunk-5GDNWQZS.mjs";
7
7
  import {
8
8
  WithdrawModal
9
- } from "./chunk-ZYREURXK.mjs";
9
+ } from "./chunk-2MJY6RVY.mjs";
10
10
  import {
11
11
  ConnectAccountsStep,
12
12
  ConnectKalshiModal,
@@ -14,25 +14,25 @@ import {
14
14
  HowItWorksStep,
15
15
  OnboardingModal,
16
16
  ProfileSetupStep
17
- } from "./chunk-RGZQHSNJ.mjs";
17
+ } from "./chunk-KCPDVBIZ.mjs";
18
18
  import {
19
19
  ProfileModal
20
- } from "./chunk-I4YUYVJJ.mjs";
20
+ } from "./chunk-LK5D3ZTK.mjs";
21
21
  import {
22
22
  EventMarketPage
23
- } from "./chunk-USLTNDJA.mjs";
23
+ } from "./chunk-D5FTFSKL.mjs";
24
24
  import {
25
25
  UserProfilePage
26
- } from "./chunk-O2XH4A3G.mjs";
26
+ } from "./chunk-7NISYVSJ.mjs";
27
27
  import {
28
28
  Modal
29
- } from "./chunk-VIP7HSOU.mjs";
29
+ } from "./chunk-5K7VXAYM.mjs";
30
30
  import {
31
31
  Settlement
32
- } from "./chunk-QFQHD2V6.mjs";
32
+ } from "./chunk-4KMFDCAH.mjs";
33
33
  import {
34
34
  PlaceOrder
35
- } from "./chunk-VUDJ3PYM.mjs";
35
+ } from "./chunk-O46OFVH6.mjs";
36
36
  import {
37
37
  defaultSettlementDifferencesTitle,
38
38
  defaultSettlementSectionLabel,
@@ -48,20 +48,20 @@ import {
48
48
  } from "./chunk-OBCHURW5.mjs";
49
49
  import {
50
50
  EventListItemDetails
51
- } from "./chunk-ZHKMDK5M.mjs";
51
+ } from "./chunk-KFOATMAE.mjs";
52
52
  import {
53
53
  MarketDetails
54
- } from "./chunk-XELWY7SO.mjs";
55
- import "./chunk-P23GR7NX.mjs";
54
+ } from "./chunk-QYZKC7KG.mjs";
55
+ import "./chunk-422MCIXV.mjs";
56
56
  import {
57
57
  EventList
58
- } from "./chunk-MXBPDNMC.mjs";
58
+ } from "./chunk-BEDUFOIG.mjs";
59
59
  import {
60
60
  EventListItem
61
- } from "./chunk-W2DMBW4E.mjs";
61
+ } from "./chunk-DL7STJQ5.mjs";
62
62
  import {
63
63
  Tabs
64
- } from "./chunk-LWTQD345.mjs";
64
+ } from "./chunk-S3H63TQ5.mjs";
65
65
  import "./chunk-GHB3GOCW.mjs";
66
66
  import {
67
67
  NumberValue
@@ -69,27 +69,27 @@ import {
69
69
  import {
70
70
  Badge,
71
71
  badgeSizes
72
- } from "./chunk-AEMAY3MR.mjs";
72
+ } from "./chunk-K6IJ4WBM.mjs";
73
73
  import {
74
74
  Select
75
- } from "./chunk-ZDF7QP4G.mjs";
75
+ } from "./chunk-YJA5VQW6.mjs";
76
76
  import {
77
77
  Search
78
- } from "./chunk-MNSHWA6M.mjs";
78
+ } from "./chunk-TA7LKYKP.mjs";
79
79
  import {
80
80
  Skeleton,
81
81
  skeletonViews
82
- } from "./chunk-JH5VMNDL.mjs";
82
+ } from "./chunk-V52WSZHQ.mjs";
83
83
  import {
84
84
  ConnectButton
85
- } from "./chunk-RXACBTON.mjs";
85
+ } from "./chunk-OA2IZ3VW.mjs";
86
86
  import {
87
87
  LoadingIcon
88
- } from "./chunk-OGI343OV.mjs";
88
+ } from "./chunk-IGPNIM2B.mjs";
89
89
  import {
90
90
  VenueLogo,
91
91
  venueLogoNames
92
- } from "./chunk-BLSHXIAH.mjs";
92
+ } from "./chunk-D7JTOGYP.mjs";
93
93
  import {
94
94
  ArrowTrendUpIcon,
95
95
  ArrowsToDotIcon,
@@ -128,30 +128,31 @@ import {
128
128
  WarningFilledIcon,
129
129
  WarningIcon,
130
130
  iconNames
131
- } from "./chunk-F236MLT6.mjs";
131
+ } from "./chunk-PZTHM6WG.mjs";
132
132
  import {
133
133
  CloseIcon
134
134
  } from "./chunk-NDG43KGL.mjs";
135
135
  import "./chunk-BNDFQPHF.mjs";
136
136
  import {
137
137
  Button
138
- } from "./chunk-PGSPYQOW.mjs";
139
- import "./chunk-ZVBVGWSP.mjs";
138
+ } from "./chunk-KAGYJ4XT.mjs";
139
+ import "./chunk-FO263M3V.mjs";
140
140
  import {
141
141
  HelloWorld
142
- } from "./chunk-EXF4SESB.mjs";
142
+ } from "./chunk-ZFMCCBP6.mjs";
143
143
  import {
144
- Typography
145
- } from "./chunk-DYEWXEEY.mjs";
144
+ Typography,
145
+ typographyVariants
146
+ } from "./chunk-ERGNR6UQ.mjs";
146
147
  import {
147
148
  Card
148
- } from "./chunk-3O4U3E5I.mjs";
149
+ } from "./chunk-FO2QCB4Z.mjs";
149
150
  import {
150
151
  LineChart
151
- } from "./chunk-VC7LTPQD.mjs";
152
+ } from "./chunk-BN5VVHNV.mjs";
152
153
  import {
153
154
  SwitchButton
154
- } from "./chunk-JRS2M5GY.mjs";
155
+ } from "./chunk-CTVMT3VL.mjs";
155
156
  import {
156
157
  AGG_ROOT_CLASS_NAME,
157
158
  cn,
@@ -351,5 +352,6 @@ export {
351
352
  skeletonViews,
352
353
  toDate,
353
354
  tradingVenueSchema,
355
+ typographyVariants,
354
356
  venueLogoNames
355
357
  };
@@ -1,4 +1,4 @@
1
- import { A as AvailableSizes } from './types-Bed6Q0EK.mjs';
1
+ import { A as AvailableSizes } from './types-BVj9ky9P.mjs';
2
2
 
3
3
  type LoadingIconSize = AvailableSizes;
4
4
  type LoadingIconProps = {
@@ -1,4 +1,4 @@
1
- import { A as AvailableSizes } from './types-Bed6Q0EK.js';
1
+ import { A as AvailableSizes } from './types-BVj9ky9P.js';
2
2
 
3
3
  type LoadingIconSize = AvailableSizes;
4
4
  type LoadingIconProps = {
@@ -27,14 +27,9 @@ var import_hooks = require("@agg-market/hooks");
27
27
 
28
28
  // src/primitives/icon/icon.constants.ts
29
29
  var iconSizeClasses = {
30
- xxs: "h-2 w-2",
31
- xs: "h-3 w-3",
32
- s: "h-4 w-4",
33
- ms: "h-5 w-5",
34
- m: "h-6 w-6",
35
- l: "h-8 w-8",
36
- xl: "h-10 w-10",
37
- xxl: "h-12 w-12"
30
+ small: "h-4 w-4",
31
+ medium: "h-6 w-6",
32
+ large: "h-8 w-8"
38
33
  };
39
34
 
40
35
  // src/shared/utils.ts
@@ -43,7 +38,7 @@ var cn = (...values) => values.filter(Boolean).join(" ");
43
38
  // src/primitives/loading-icon/index.tsx
44
39
  var import_jsx_runtime = require("react/jsx-runtime");
45
40
  var LoadingIcon = ({
46
- size = "m",
41
+ size = "medium",
47
42
  className,
48
43
  ariaLabel
49
44
  }) => {
@@ -55,6 +50,7 @@ var LoadingIcon = ({
55
50
  role: "status",
56
51
  "aria-label": ariaLabel != null ? ariaLabel : labels.common.loading,
57
52
  className: cn(
53
+ "group/agg-loading-icon",
58
54
  "inline-grid place-items-center text-agg-primary will-change-transform",
59
55
  className
60
56
  ),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LoadingIcon
3
- } from "./chunk-OGI343OV.mjs";
4
- import "./chunk-ZVBVGWSP.mjs";
3
+ } from "./chunk-IGPNIM2B.mjs";
4
+ import "./chunk-FO263M3V.mjs";
5
5
  import "./chunk-GJ4U5NCE.mjs";
6
6
  export {
7
7
  LoadingIcon
@@ -1,8 +1,8 @@
1
1
  import { Event } from '@agg-market/hooks';
2
2
  import React from 'react';
3
- import { V as VenueLogoName } from './venue-logo.types-DACqcTvY.mjs';
3
+ import { V as VenueLogoName } from './venue-logo.types-HRf1yBLD.mjs';
4
4
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-DekJKeMD.mjs';
5
- import './types-Bed6Q0EK.mjs';
5
+ import './types-BVj9ky9P.mjs';
6
6
  import './event-list-item.types-Y6IeJ4e4.mjs';
7
7
 
8
8
  type MarketDetailsTab = "order-book" | "graph" | "other";
@@ -1,8 +1,8 @@
1
1
  import { Event } from '@agg-market/hooks';
2
2
  import React from 'react';
3
- import { V as VenueLogoName } from './venue-logo.types-BSAuY84j.js';
3
+ import { V as VenueLogoName } from './venue-logo.types-D8Cu2rAm.js';
4
4
  import { d as EventListItemDetailsTimeRange } from './event-list-item-details.types-CMbXOrT-.js';
5
- import './types-Bed6Q0EK.js';
5
+ import './types-BVj9ky9P.js';
6
6
  import './event-list-item.types-Y6IeJ4e4.js';
7
7
 
8
8
  type MarketDetailsTab = "order-book" | "graph" | "other";