@agg-market/ui 1.0.0 → 3.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 (129) 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-H4UIBDL2.mjs → chunk-LK5D3ZTK.mjs} +15 -15
  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.js +826 -764
  57. package/dist/event-market-page.mjs +19 -19
  58. package/dist/hello-world.js +28 -16
  59. package/dist/hello-world.mjs +2 -2
  60. package/dist/home-page.js +395 -511
  61. package/dist/home-page.mjs +12 -12
  62. package/dist/icon.d.mts +1 -1
  63. package/dist/icon.d.ts +1 -1
  64. package/dist/icon.js +15 -17
  65. package/dist/icon.mjs +2 -2
  66. package/dist/index.d.mts +4 -4
  67. package/dist/index.d.ts +4 -4
  68. package/dist/index.js +1135 -944
  69. package/dist/index.mjs +34 -32
  70. package/dist/loading-icon.d.mts +1 -1
  71. package/dist/loading-icon.d.ts +1 -1
  72. package/dist/loading-icon.js +5 -9
  73. package/dist/loading-icon.mjs +2 -2
  74. package/dist/market-details.d.mts +2 -2
  75. package/dist/market-details.d.ts +2 -2
  76. package/dist/market-details.js +357 -551
  77. package/dist/market-details.mjs +13 -13
  78. package/dist/modal.js +4 -0
  79. package/dist/modal.mjs +1 -1
  80. package/dist/onboarding-modal.js +63 -67
  81. package/dist/onboarding-modal.mjs +6 -6
  82. package/dist/place-order.js +231 -466
  83. package/dist/place-order.mjs +9 -9
  84. package/dist/profile-modal.js +52 -65
  85. package/dist/profile-modal.mjs +6 -6
  86. package/dist/search.d.mts +2 -2
  87. package/dist/search.d.ts +2 -2
  88. package/dist/search.js +28 -34
  89. package/dist/search.mjs +4 -4
  90. package/dist/select.js +104 -99
  91. package/dist/select.mjs +3 -3
  92. package/dist/settlement.js +279 -59
  93. package/dist/settlement.mjs +6 -6
  94. package/dist/skeleton.js +15 -10
  95. package/dist/skeleton.mjs +2 -2
  96. package/dist/styles.css +1 -1
  97. package/dist/switch-button.js +13 -6
  98. package/dist/switch-button.mjs +1 -1
  99. package/dist/tabs.d.mts +8 -4
  100. package/dist/tabs.d.ts +8 -4
  101. package/dist/tabs.js +163 -420
  102. package/dist/tabs.mjs +4 -4
  103. package/dist/tailwind.css +1 -1
  104. package/dist/types-BVj9ky9P.d.mts +3 -0
  105. package/dist/types-BVj9ky9P.d.ts +3 -0
  106. package/dist/typography.d.mts +4 -2
  107. package/dist/typography.d.ts +4 -2
  108. package/dist/typography.js +49 -18
  109. package/dist/typography.mjs +5 -3
  110. package/dist/user-profile-page.d.mts +2 -2
  111. package/dist/user-profile-page.d.ts +2 -2
  112. package/dist/user-profile-page.js +200 -474
  113. package/dist/user-profile-page.mjs +7 -7
  114. package/dist/venue-logo.d.mts +2 -2
  115. package/dist/venue-logo.d.ts +2 -2
  116. package/dist/venue-logo.js +6 -11
  117. package/dist/venue-logo.mjs +1 -1
  118. package/dist/{venue-logo.types-BSAuY84j.d.ts → venue-logo.types-D8Cu2rAm.d.ts} +1 -1
  119. package/dist/{venue-logo.types-DACqcTvY.d.mts → venue-logo.types-HRf1yBLD.d.mts} +1 -1
  120. package/dist/withdraw-modal.js +72 -85
  121. package/dist/withdraw-modal.mjs +6 -6
  122. package/package.json +2 -2
  123. package/dist/chunk-AEMAY3MR.mjs +0 -44
  124. package/dist/chunk-DYEWXEEY.mjs +0 -37
  125. package/dist/chunk-QFQHD2V6.mjs +0 -146
  126. package/dist/chunk-ZDF7QP4G.mjs +0 -160
  127. package/dist/chunk-ZVBVGWSP.mjs +0 -15
  128. package/dist/types-Bed6Q0EK.d.mts +0 -3
  129. package/dist/types-Bed6Q0EK.d.ts +0 -3
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  PlaceOrder
3
- } from "./chunk-VUDJ3PYM.mjs";
3
+ } from "./chunk-O46OFVH6.mjs";
4
4
  import "./chunk-OBCHURW5.mjs";
5
- import "./chunk-LWTQD345.mjs";
6
- import "./chunk-ZDF7QP4G.mjs";
7
- import "./chunk-JH5VMNDL.mjs";
8
- import "./chunk-BLSHXIAH.mjs";
9
- import "./chunk-F236MLT6.mjs";
5
+ import "./chunk-S3H63TQ5.mjs";
6
+ import "./chunk-YJA5VQW6.mjs";
7
+ import "./chunk-V52WSZHQ.mjs";
8
+ import "./chunk-D7JTOGYP.mjs";
9
+ import "./chunk-PZTHM6WG.mjs";
10
10
  import "./chunk-NDG43KGL.mjs";
11
11
  import "./chunk-BNDFQPHF.mjs";
12
- import "./chunk-PGSPYQOW.mjs";
13
- import "./chunk-ZVBVGWSP.mjs";
14
- import "./chunk-3O4U3E5I.mjs";
12
+ import "./chunk-KAGYJ4XT.mjs";
13
+ import "./chunk-FO263M3V.mjs";
14
+ import "./chunk-FO2QCB4Z.mjs";
15
15
  import "./chunk-GJ4U5NCE.mjs";
16
16
  export {
17
17
  PlaceOrder
@@ -153,6 +153,7 @@ var ModalContainer = ({
153
153
  Dialog.Content,
154
154
  {
155
155
  className: cn(
156
+ "group/agg-modal",
156
157
  "fixed inset-0 z-agg-modal",
157
158
  "flex items-center justify-center p-4",
158
159
  "sm:p-5",
@@ -205,6 +206,7 @@ var ModalHeader = ({
205
206
  "div",
206
207
  {
207
208
  className: cn(
209
+ "group/agg-modal-header",
208
210
  "flex flex-col",
209
211
  "sticky top-0 z-20",
210
212
  "bg-agg-secondary",
@@ -280,6 +282,7 @@ var ModalBody = ({ children, classNames }) => {
280
282
  "div",
281
283
  {
282
284
  className: cn(
285
+ "group/agg-modal-body",
283
286
  "grow overflow-y-auto",
284
287
  "px-4 py-6",
285
288
  "sm:p-8",
@@ -300,6 +303,7 @@ var ModalFooter = ({
300
303
  "div",
301
304
  {
302
305
  className: cn(
306
+ "group/agg-modal-footer",
303
307
  "sticky bottom-0",
304
308
  "bg-agg-secondary",
305
309
  "flex h-[73px] w-full flex-row items-center justify-between gap-3",
@@ -370,14 +374,10 @@ var ArrowsToDotIcon = (_a) => {
370
374
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
371
375
  "path",
372
376
  {
373
- d: "M8 2V5M8 11V14M2 8H5M11 8H14M3.76 3.76L5.9 5.9M10.1 10.1L12.24 12.24M12.24 3.76L10.1 5.9M5.9 10.1L3.76 12.24",
374
- stroke: "currentColor",
375
- strokeWidth: "1.25",
376
- strokeLinecap: "round",
377
- strokeLinejoin: "round"
377
+ d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
378
+ fill: "currentColor"
378
379
  }
379
- ),
380
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("circle", { cx: "8", cy: "8", r: "1.5", fill: "currentColor" })
380
+ )
381
381
  ]
382
382
  })
383
383
  );
@@ -879,14 +879,9 @@ InfoIcon.displayName = "InfoIcon";
879
879
 
880
880
  // src/primitives/icon/icon.constants.ts
881
881
  var iconSizeClasses = {
882
- xxs: "h-2 w-2",
883
- xs: "h-3 w-3",
884
- s: "h-4 w-4",
885
- ms: "h-5 w-5",
886
- m: "h-6 w-6",
887
- l: "h-8 w-8",
888
- xl: "h-10 w-10",
889
- xxl: "h-12 w-12"
882
+ small: "h-4 w-4",
883
+ medium: "h-6 w-6",
884
+ large: "h-8 w-8"
890
885
  };
891
886
 
892
887
  // src/primitives/icon/svg/check-badge.tsx
@@ -1592,7 +1587,7 @@ var Icon = (_a) => {
1592
1587
  var _b = _a, {
1593
1588
  name,
1594
1589
  color,
1595
- size = "m",
1590
+ size = "medium",
1596
1591
  className = "text-agg-primary",
1597
1592
  style
1598
1593
  } = _b, props = __objRest(_b, [
@@ -1605,7 +1600,14 @@ var Icon = (_a) => {
1605
1600
  const Component = iconRegistry[name];
1606
1601
  const resolvedStyle = resolveIconStyle(color, style);
1607
1602
  const resolvedClassName = cn(iconSizeClasses[size], className);
1608
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
1603
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1604
+ Component,
1605
+ __spreadValues({
1606
+ color,
1607
+ className: cn("group/agg-icon", resolvedClassName),
1608
+ style: resolvedStyle
1609
+ }, props)
1610
+ );
1609
1611
  };
1610
1612
  Icon.displayName = "Icon";
1611
1613
 
@@ -1614,31 +1616,19 @@ var import_hooks2 = require("@agg-market/hooks");
1614
1616
 
1615
1617
  // src/primitives/button/button.constants.ts
1616
1618
  var sizeClasses = {
1617
- xxs: cn("h-6 px-2.5 gap-1", "text-agg-xs leading-agg-4"),
1618
- xs: cn("h-7 px-3 gap-1", "text-agg-xs leading-agg-4"),
1619
- s: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
1620
- m: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
1621
- l: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6"),
1622
- xl: cn("h-11 px-7 gap-2", "text-agg-base leading-agg-6"),
1623
- xxl: cn("h-12 px-8 gap-2", "text-agg-base leading-agg-6")
1619
+ small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
1620
+ medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
1621
+ large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
1624
1622
  };
1625
1623
  var iconSizeClasses2 = {
1626
- xxs: iconSizeClasses.xs,
1627
- xs: iconSizeClasses.xs,
1628
- s: iconSizeClasses.s,
1629
- m: iconSizeClasses.s,
1630
- l: iconSizeClasses.s,
1631
- xl: iconSizeClasses.s,
1632
- xxl: iconSizeClasses.s
1624
+ small: iconSizeClasses.small,
1625
+ medium: iconSizeClasses.small,
1626
+ large: iconSizeClasses.small
1633
1627
  };
1634
1628
  var iconSlotClasses = {
1635
- xxs: "[&_svg]:h-3 [&_svg]:w-3",
1636
- xs: "[&_svg]:h-3 [&_svg]:w-3",
1637
- s: "[&_svg]:h-4 [&_svg]:w-4",
1638
- m: "[&_svg]:h-4 [&_svg]:w-4",
1639
- l: "[&_svg]:h-4 [&_svg]:w-4",
1640
- xl: "[&_svg]:h-4 [&_svg]:w-4",
1641
- xxl: "[&_svg]:h-4 [&_svg]:w-4"
1629
+ small: "[&_svg]:h-4 [&_svg]:w-4",
1630
+ medium: "[&_svg]:h-4 [&_svg]:w-4",
1631
+ large: "[&_svg]:h-4 [&_svg]:w-4"
1642
1632
  };
1643
1633
  var variantClasses = {
1644
1634
  primary: cn(
@@ -1654,10 +1644,11 @@ var variantClasses = {
1654
1644
  "focus-visible:ring-agg-separator"
1655
1645
  ),
1656
1646
  tertiary: cn(
1657
- "bg-transparent text-agg-foreground",
1658
- "hover:bg-agg-secondary-hover",
1647
+ "bg-transparent text-agg-primary",
1648
+ "hover:text-agg-primary-hover",
1659
1649
  "disabled:bg-transparent disabled:text-agg-muted-foreground",
1660
- "focus-visible:ring-agg-separator"
1650
+ "focus-visible:ring-agg-separator",
1651
+ "px-0! py-0! h-fit!"
1661
1652
  )
1662
1653
  };
1663
1654
  var baseButtonClasses = cn(
@@ -1673,7 +1664,7 @@ var Button = (_a) => {
1673
1664
  var _b = _a, {
1674
1665
  children,
1675
1666
  variant = "primary",
1676
- size = "m",
1667
+ size = "medium",
1677
1668
  isLoading = false,
1678
1669
  disabled,
1679
1670
  prefix,
@@ -1700,8 +1691,9 @@ var Button = (_a) => {
1700
1691
  __spreadProps(__spreadValues({
1701
1692
  type,
1702
1693
  className: cn(
1694
+ "group/agg-button",
1703
1695
  baseButtonClasses,
1704
- getMotionClassName(enableAnimations, "transition-colors"),
1696
+ getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
1705
1697
  sizeClasses[size],
1706
1698
  iconSlotClasses[size],
1707
1699
  variantClasses[variant],
@@ -1732,7 +1724,7 @@ var Button = (_a) => {
1732
1724
  Button.displayName = "Button";
1733
1725
 
1734
1726
  // src/primitives/venue-logo/logo-props.ts
1735
- var DEFAULT_MONOCHROME_COLOR = "#000000";
1727
+ var DEFAULT_MONOCHROME_COLOR = "currentColor";
1736
1728
  var resolveLogoPrimaryColor = ({
1737
1729
  brandColor,
1738
1730
  isColor = true,
@@ -1936,14 +1928,9 @@ var venueLogoLabels = {
1936
1928
  };
1937
1929
  var venueLogoNames = Object.keys(venueLogoRegistry);
1938
1930
  var sizeClasses2 = {
1939
- xxs: "h-2 w-2",
1940
- xs: "h-3 w-3",
1941
- s: "h-4 w-4",
1942
- ms: "h-5 w-5",
1943
- m: "h-6 w-6",
1944
- l: "h-8 w-8",
1945
- xl: "h-10 w-10",
1946
- xxl: "h-12 w-12"
1931
+ small: "h-4 w-4",
1932
+ medium: "h-6 w-6",
1933
+ large: "h-8 w-8"
1947
1934
  };
1948
1935
 
1949
1936
  // src/profile/profile-modal.constants.ts
@@ -2095,7 +2082,7 @@ var VenueLogo = ({
2095
2082
  isColor = true,
2096
2083
  isMonochromatic = false,
2097
2084
  color,
2098
- size = "m",
2085
+ size = "medium",
2099
2086
  className,
2100
2087
  ariaLabel,
2101
2088
  title
@@ -2107,7 +2094,7 @@ var VenueLogo = ({
2107
2094
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2108
2095
  Component,
2109
2096
  {
2110
- className: cn("shrink-0", sizeClass, className),
2097
+ className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
2111
2098
  isColor: resolvedIsColor,
2112
2099
  color,
2113
2100
  "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
@@ -2174,7 +2161,7 @@ var AccountsWalletsTab = ({
2174
2161
  const displayName = (_a = venueLogoLabels[account.venue]) != null ? _a : account.venue;
2175
2162
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(AccountRow, { children: [
2176
2163
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-3 min-w-0", children: [
2177
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VenueLogo, { venue: account.venue, size: "s" }),
2164
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(VenueLogo, { venue: account.venue, size: "small" }),
2178
2165
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: displayName }),
2179
2166
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-2 min-w-0", children: [
2180
2167
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate text-agg-base font-agg-normal leading-6 text-agg-foreground", children: account.displayAddress }),
@@ -2182,7 +2169,7 @@ var AccountsWalletsTab = ({
2182
2169
  Icon,
2183
2170
  {
2184
2171
  name: "check-badge",
2185
- size: "s",
2172
+ size: "small",
2186
2173
  color: "var(--agg-color-primary, #536dfe)"
2187
2174
  }
2188
2175
  ) : null
@@ -2197,21 +2184,21 @@ var AccountsWalletsTab = ({
2197
2184
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col gap-2", children: [
2198
2185
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(AccountRow, { children: [
2199
2186
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-3", children: [
2200
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "twitter", size: "s", color: "currentColor" }) }),
2187
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "twitter", size: "small", color: "currentColor" }) }),
2201
2188
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "X (Twitter)" })
2202
2189
  ] }),
2203
2190
  (twitter == null ? void 0 : twitter.connected) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DisconnectTextButton, { onClick: onDisconnectTwitter }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ConnectTextButton, { onClick: onConnectTwitter })
2204
2191
  ] }),
2205
2192
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(AccountRow, { children: [
2206
2193
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-3", children: [
2207
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-[#5865F2]", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "discord", size: "s", color: "currentColor" }) }),
2194
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-[#5865F2]", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "discord", size: "small", color: "currentColor" }) }),
2208
2195
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "Discord" })
2209
2196
  ] }),
2210
2197
  (discord == null ? void 0 : discord.connected) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DisconnectTextButton, { onClick: onDisconnectDiscord }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ConnectTextButton, { onClick: onConnectDiscord })
2211
2198
  ] }),
2212
2199
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(AccountRow, { children: [
2213
2200
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-3", children: [
2214
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-[#26A5E4]", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "telegram", size: "s", color: "currentColor" }) }),
2201
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-[#26A5E4]", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "telegram", size: "small", color: "currentColor" }) }),
2215
2202
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "Telegram" })
2216
2203
  ] }),
2217
2204
  (telegram == null ? void 0 : telegram.connected) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DisconnectTextButton, { onClick: onDisconnectTelegram }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ConnectTextButton, { onClick: onConnectTelegram })
@@ -2233,10 +2220,10 @@ var AccountsWalletsTab = ({
2233
2220
  ),
2234
2221
  children: [
2235
2222
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex items-center gap-3", children: [
2236
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "email", size: "s", color: "currentColor" }) }),
2223
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "email", size: "small", color: "currentColor" }) }),
2237
2224
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: email != null ? email : "Connect email" })
2238
2225
  ] }),
2239
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "chevron-right", size: "s", color: "currentColor" })
2226
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
2240
2227
  ]
2241
2228
  }
2242
2229
  )
@@ -2337,7 +2324,7 @@ var ProfileModal = ({
2337
2324
  isActive ? "font-agg-normal text-agg-foreground bg-agg-secondary-hover border-agg-primary" : "font-agg-normal text-agg-foreground border-transparent"
2338
2325
  ),
2339
2326
  children: [
2340
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: tab.icon, size: "s", color: "currentColor" }),
2327
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: tab.icon, size: "small", color: "currentColor" }),
2341
2328
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "whitespace-nowrap", children: tab.label })
2342
2329
  ]
2343
2330
  },
@@ -2375,7 +2362,7 @@ var ProfileModal = ({
2375
2362
  ),
2376
2363
  children: [
2377
2364
  isActive ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
2378
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: tab.icon, size: "s", color: "currentColor" }),
2365
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: tab.icon, size: "small", color: "currentColor" }),
2379
2366
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "shrink-0 whitespace-nowrap", children: tab.label })
2380
2367
  ]
2381
2368
  },
@@ -2418,12 +2405,12 @@ var ProfileModal = ({
2418
2405
  ] })
2419
2406
  ] }) }),
2420
2407
  /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Modal.Footer, { children: [
2421
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { variant: "secondary", size: "l", onClick: handleCancel, className: "min-w-[120px]", children: "Cancel" }),
2408
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { variant: "secondary", size: "large", onClick: handleCancel, className: "min-w-[120px]", children: "Cancel" }),
2422
2409
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2423
2410
  Button,
2424
2411
  {
2425
2412
  variant: "primary",
2426
- size: "l",
2413
+ size: "large",
2427
2414
  disabled: !hasChanges,
2428
2415
  isLoading: isSaving,
2429
2416
  onClick: handleSave,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ProfileModal
3
- } from "./chunk-H4UIBDL2.mjs";
4
- import "./chunk-VIP7HSOU.mjs";
5
- import "./chunk-BLSHXIAH.mjs";
6
- import "./chunk-F236MLT6.mjs";
3
+ } from "./chunk-LK5D3ZTK.mjs";
4
+ import "./chunk-5K7VXAYM.mjs";
5
+ import "./chunk-D7JTOGYP.mjs";
6
+ import "./chunk-PZTHM6WG.mjs";
7
7
  import "./chunk-NDG43KGL.mjs";
8
8
  import "./chunk-BNDFQPHF.mjs";
9
- import "./chunk-PGSPYQOW.mjs";
10
- import "./chunk-ZVBVGWSP.mjs";
9
+ import "./chunk-KAGYJ4XT.mjs";
10
+ import "./chunk-FO263M3V.mjs";
11
11
  import "./chunk-GJ4U5NCE.mjs";
12
12
  export {
13
13
  ProfileModal
package/dist/search.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- import { V as VenueLogoName } from './venue-logo.types-DACqcTvY.mjs';
2
+ import { V as VenueLogoName } from './venue-logo.types-HRf1yBLD.mjs';
3
3
  import '@agg-market/hooks';
4
- import './types-Bed6Q0EK.mjs';
4
+ import './types-BVj9ky9P.mjs';
5
5
 
6
6
  type SearchResultItem = {
7
7
  id: string;
package/dist/search.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- import { V as VenueLogoName } from './venue-logo.types-BSAuY84j.js';
2
+ import { V as VenueLogoName } from './venue-logo.types-D8Cu2rAm.js';
3
3
  import '@agg-market/hooks';
4
- import './types-Bed6Q0EK.js';
4
+ import './types-BVj9ky9P.js';
5
5
 
6
6
  type SearchResultItem = {
7
7
  id: string;
package/dist/search.js CHANGED
@@ -124,14 +124,10 @@ var ArrowsToDotIcon = (_a) => {
124
124
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
125
125
  "path",
126
126
  {
127
- d: "M8 2V5M8 11V14M2 8H5M11 8H14M3.76 3.76L5.9 5.9M10.1 10.1L12.24 12.24M12.24 3.76L10.1 5.9M5.9 10.1L3.76 12.24",
128
- stroke: "currentColor",
129
- strokeWidth: "1.25",
130
- strokeLinecap: "round",
131
- strokeLinejoin: "round"
127
+ d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
128
+ fill: "currentColor"
132
129
  }
133
- ),
134
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "8", cy: "8", r: "1.5", fill: "currentColor" })
130
+ )
135
131
  ]
136
132
  })
137
133
  );
@@ -665,14 +661,9 @@ InfoIcon.displayName = "InfoIcon";
665
661
 
666
662
  // src/primitives/icon/icon.constants.ts
667
663
  var iconSizeClasses = {
668
- xxs: "h-2 w-2",
669
- xs: "h-3 w-3",
670
- s: "h-4 w-4",
671
- ms: "h-5 w-5",
672
- m: "h-6 w-6",
673
- l: "h-8 w-8",
674
- xl: "h-10 w-10",
675
- xxl: "h-12 w-12"
664
+ small: "h-4 w-4",
665
+ medium: "h-6 w-6",
666
+ large: "h-8 w-8"
676
667
  };
677
668
 
678
669
  // src/primitives/icon/svg/check-badge.tsx
@@ -1378,7 +1369,7 @@ var Icon = (_a) => {
1378
1369
  var _b = _a, {
1379
1370
  name,
1380
1371
  color,
1381
- size = "m",
1372
+ size = "medium",
1382
1373
  className = "text-agg-primary",
1383
1374
  style
1384
1375
  } = _b, props = __objRest(_b, [
@@ -1391,7 +1382,14 @@ var Icon = (_a) => {
1391
1382
  const Component = iconRegistry[name];
1392
1383
  const resolvedStyle = resolveIconStyle(color, style);
1393
1384
  const resolvedClassName = cn(iconSizeClasses[size], className);
1394
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
1385
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1386
+ Component,
1387
+ __spreadValues({
1388
+ color,
1389
+ className: cn("group/agg-icon", resolvedClassName),
1390
+ style: resolvedStyle
1391
+ }, props)
1392
+ );
1395
1393
  };
1396
1394
  Icon.displayName = "Icon";
1397
1395
 
@@ -1399,7 +1397,7 @@ Icon.displayName = "Icon";
1399
1397
  var import_hooks = require("@agg-market/hooks");
1400
1398
 
1401
1399
  // src/primitives/venue-logo/logo-props.ts
1402
- var DEFAULT_MONOCHROME_COLOR = "#000000";
1400
+ var DEFAULT_MONOCHROME_COLOR = "currentColor";
1403
1401
  var resolveLogoPrimaryColor = ({
1404
1402
  brandColor,
1405
1403
  isColor = true,
@@ -1597,14 +1595,9 @@ var venueLogoRegistry = {
1597
1595
  };
1598
1596
  var venueLogoNames = Object.keys(venueLogoRegistry);
1599
1597
  var sizeClasses = {
1600
- xxs: "h-2 w-2",
1601
- xs: "h-3 w-3",
1602
- s: "h-4 w-4",
1603
- ms: "h-5 w-5",
1604
- m: "h-6 w-6",
1605
- l: "h-8 w-8",
1606
- xl: "h-10 w-10",
1607
- xxl: "h-12 w-12"
1598
+ small: "h-4 w-4",
1599
+ medium: "h-6 w-6",
1600
+ large: "h-8 w-8"
1608
1601
  };
1609
1602
 
1610
1603
  // src/primitives/venue-logo/index.tsx
@@ -1614,7 +1607,7 @@ var VenueLogo = ({
1614
1607
  isColor = true,
1615
1608
  isMonochromatic = false,
1616
1609
  color,
1617
- size = "m",
1610
+ size = "medium",
1618
1611
  className,
1619
1612
  ariaLabel,
1620
1613
  title
@@ -1626,7 +1619,7 @@ var VenueLogo = ({
1626
1619
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1627
1620
  Component,
1628
1621
  {
1629
- className: cn("shrink-0", sizeClass, className),
1622
+ className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
1630
1623
  isColor: resolvedIsColor,
1631
1624
  color,
1632
1625
  "aria-label": ariaLabel != null ? ariaLabel : labels.venues[venue],
@@ -1709,6 +1702,7 @@ var SearchResultRow = ({
1709
1702
  {
1710
1703
  type: "button",
1711
1704
  className: cn(
1705
+ "group/agg-search-result",
1712
1706
  "group flex w-full items-center gap-6 px-5 py-3 text-left",
1713
1707
  "focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
1714
1708
  "hover:bg-agg-secondary-hover",
@@ -1741,13 +1735,13 @@ var SearchResultRow = ({
1741
1735
  )
1742
1736
  ] }),
1743
1737
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cn("flex w-[200px] shrink-0 items-center gap-2", classNames == null ? void 0 : classNames.resultMeta), children: [
1744
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(VenueLogo, { venue: item.venue, size: "s" }),
1738
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
1745
1739
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
1746
1740
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1747
1741
  "p",
1748
1742
  {
1749
1743
  className: cn(
1750
- "shrink-0 whitespace-nowrap font-agg-sans text-[18px] leading-7 font-agg-bold text-agg-foreground",
1744
+ "agg-type-body-large-strong shrink-0 whitespace-nowrap text-agg-foreground",
1751
1745
  classNames == null ? void 0 : classNames.resultValue
1752
1746
  ),
1753
1747
  children: item.valueLabel
@@ -1769,7 +1763,7 @@ var SearchResultRow = ({
1769
1763
  Icon,
1770
1764
  {
1771
1765
  name: "chevron-right",
1772
- size: "m",
1766
+ size: "medium",
1773
1767
  className: cn("h-5 w-5 shrink-0 text-agg-muted-foreground", classNames == null ? void 0 : classNames.resultChevron)
1774
1768
  }
1775
1769
  )
@@ -1806,7 +1800,7 @@ var Search = ({
1806
1800
  const handleInputChange = (event) => {
1807
1801
  onValueChange(event.target.value);
1808
1802
  };
1809
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cn("flex w-full flex-col gap-1", classNames == null ? void 0 : classNames.root), children: [
1803
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cn("group/agg-search", "flex w-full flex-col gap-1", classNames == null ? void 0 : classNames.root), children: [
1810
1804
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("label", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
1811
1805
  "div",
1812
1806
  {
@@ -1816,7 +1810,7 @@ var Search = ({
1816
1810
  "focus-within:border-2 focus-within:border-agg-primary",
1817
1811
  getMotionClassName(
1818
1812
  enableAnimations,
1819
- "transition-[border-color,box-shadow] duration-200 ease-out"
1813
+ "transition-[border-color,box-shadow] duration-200 ease-in-out"
1820
1814
  ),
1821
1815
  classNames == null ? void 0 : classNames.inputContainer
1822
1816
  ),
@@ -1825,7 +1819,7 @@ var Search = ({
1825
1819
  Icon,
1826
1820
  {
1827
1821
  name: "search",
1828
- size: "s",
1822
+ size: "small",
1829
1823
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
1830
1824
  }
1831
1825
  ),
package/dist/search.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Search
3
- } from "./chunk-MNSHWA6M.mjs";
4
- import "./chunk-BLSHXIAH.mjs";
5
- import "./chunk-F236MLT6.mjs";
3
+ } from "./chunk-TA7LKYKP.mjs";
4
+ import "./chunk-D7JTOGYP.mjs";
5
+ import "./chunk-PZTHM6WG.mjs";
6
6
  import "./chunk-NDG43KGL.mjs";
7
7
  import "./chunk-BNDFQPHF.mjs";
8
- import "./chunk-ZVBVGWSP.mjs";
8
+ import "./chunk-FO263M3V.mjs";
9
9
  import "./chunk-GJ4U5NCE.mjs";
10
10
  export {
11
11
  Search