@agg-build/ui 3.0.0 → 4.2.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 (38) hide show
  1. package/dist/{chunk-JTSLZARU.mjs → chunk-6X6Y4INU.mjs} +2 -2
  2. package/dist/{chunk-XIDQ2A6W.mjs → chunk-DNPDXL2D.mjs} +1357 -858
  3. package/dist/{chunk-KX3TQ7WC.mjs → chunk-FTL25XKE.mjs} +1 -1
  4. package/dist/{chunk-MKU5Q6PN.mjs → chunk-GNEFI4SO.mjs} +25 -8
  5. package/dist/{chunk-KO6VTRV6.mjs → chunk-QW7VFURU.mjs} +283 -229
  6. package/dist/{chunk-R362GNI2.mjs → chunk-UDBHAZJJ.mjs} +12 -27
  7. package/dist/{chunk-VR5ZRDQT.mjs → chunk-WDCH4RRS.mjs} +1 -1
  8. package/dist/events.js +760 -689
  9. package/dist/events.mjs +3 -3
  10. package/dist/index.js +4032 -3479
  11. package/dist/index.mjs +15 -7
  12. package/dist/modals.js +1312 -1258
  13. package/dist/modals.mjs +3 -3
  14. package/dist/pages.js +3364 -2817
  15. package/dist/pages.mjs +8 -6
  16. package/dist/primitives.js +316 -262
  17. package/dist/primitives.mjs +1 -1
  18. package/dist/styles.css +1 -1
  19. package/dist/tailwind.css +1 -1
  20. package/dist/trading.js +1996 -1445
  21. package/dist/trading.mjs +10 -4
  22. package/dist/types/pages/user-profile/index.d.mts +1 -0
  23. package/dist/types/pages/user-profile/index.d.ts +1 -0
  24. package/dist/types/primitives/venue-logo/svg/logo-novig.d.mts +24 -0
  25. package/dist/types/primitives/venue-logo/svg/logo-novig.d.ts +24 -0
  26. package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +1 -1
  27. package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +1 -1
  28. package/dist/types/trading/place-order/index.d.mts +3 -0
  29. package/dist/types/trading/place-order/index.d.ts +3 -0
  30. package/dist/types/trading/place-order/index.place-order.execution-steps.d.mts +28 -75
  31. package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +28 -75
  32. package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +25 -0
  33. package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +25 -0
  34. package/dist/types/trading/place-order/index.place-order.types.d.mts +6 -0
  35. package/dist/types/trading/place-order/index.place-order.types.d.ts +6 -0
  36. package/dist/types/trading/place-order/index.place-order.utils.d.mts +8 -1
  37. package/dist/types/trading/place-order/index.place-order.utils.d.ts +8 -1
  38. package/package.json +3 -3
@@ -6204,7 +6204,7 @@ Skeleton.displayName = "Skeleton";
6204
6204
  import { useLabels as useLabels9 } from "@agg-build/hooks";
6205
6205
 
6206
6206
  // src/primitives/venue-logo/venue-logo.constants.ts
6207
- import { Venue as Venue9 } from "@agg-build/sdk";
6207
+ import { Venue as Venue10 } from "@agg-build/sdk";
6208
6208
 
6209
6209
  // src/primitives/venue-logo/logo-props.ts
6210
6210
  var DEFAULT_MONOCHROME_COLOR = "currentColor";
@@ -6445,11 +6445,11 @@ var LogoMyriadIcon = (_a) => {
6445
6445
  };
6446
6446
  LogoMyriadIcon.displayName = "LogoMyriadIcon";
6447
6447
 
6448
- // src/primitives/venue-logo/svg/logo-opinion.tsx
6448
+ // src/primitives/venue-logo/svg/logo-novig.tsx
6449
6449
  import { useAggUiConfig as useAggUiConfig5 } from "@agg-build/hooks";
6450
6450
  import { Venue as Venue5 } from "@agg-build/sdk";
6451
6451
  import { jsx as jsx118, jsxs as jsxs113 } from "react/jsx-runtime";
6452
- var LogoOpinionIcon = (_a) => {
6452
+ var LogoNovigIcon = (_a) => {
6453
6453
  var _b = _a, {
6454
6454
  title: title2,
6455
6455
  className,
@@ -6467,7 +6467,7 @@ var LogoOpinionIcon = (_a) => {
6467
6467
  } = useAggUiConfig5();
6468
6468
  const isDarkTheme = theme === "dark";
6469
6469
  const primaryColor = resolveLogoPrimaryColor({
6470
- brandColor: (_a2 = resolveVenueLineColor(Venue5.opinion, isDarkTheme)) != null ? _a2 : "#ec5e26",
6470
+ brandColor: (_a2 = resolveVenueLineColor(Venue5.novig, isDarkTheme)) != null ? _a2 : "#179BE7",
6471
6471
  isColor,
6472
6472
  color
6473
6473
  });
@@ -6480,24 +6480,22 @@ var LogoOpinionIcon = (_a) => {
6480
6480
  }, getIconA11yProps(title2)), props), {
6481
6481
  children: [
6482
6482
  title2 ? /* @__PURE__ */ jsx118("title", { children: title2 }) : null,
6483
- /* @__PURE__ */ jsx118(
6484
- "path",
6485
- {
6486
- d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
6487
- fill: primaryColor
6488
- }
6489
- )
6483
+ /* @__PURE__ */ jsxs113("g", { stroke: primaryColor, strokeWidth: 19.3, strokeLinecap: "round", strokeLinejoin: "round", children: [
6484
+ /* @__PURE__ */ jsx118("path", { d: "M33.6 34.7L64.2 65.4" }),
6485
+ /* @__PURE__ */ jsx118("path", { d: "M64.2 34.7V65.4" })
6486
+ ] }),
6487
+ /* @__PURE__ */ jsx118("circle", { cx: 32.2, cy: 65.5, r: 9.65, fill: primaryColor })
6490
6488
  ]
6491
6489
  })
6492
6490
  );
6493
6491
  };
6494
- LogoOpinionIcon.displayName = "LogoOpinionIcon";
6492
+ LogoNovigIcon.displayName = "LogoNovigIcon";
6495
6493
 
6496
- // src/primitives/venue-logo/svg/logo-polymarket.tsx
6494
+ // src/primitives/venue-logo/svg/logo-opinion.tsx
6497
6495
  import { useAggUiConfig as useAggUiConfig6 } from "@agg-build/hooks";
6498
6496
  import { Venue as Venue6 } from "@agg-build/sdk";
6499
6497
  import { jsx as jsx119, jsxs as jsxs114 } from "react/jsx-runtime";
6500
- var LogoPolymarketIcon = (_a) => {
6498
+ var LogoOpinionIcon = (_a) => {
6501
6499
  var _b = _a, {
6502
6500
  title: title2,
6503
6501
  className,
@@ -6515,7 +6513,7 @@ var LogoPolymarketIcon = (_a) => {
6515
6513
  } = useAggUiConfig6();
6516
6514
  const isDarkTheme = theme === "dark";
6517
6515
  const primaryColor = resolveLogoPrimaryColor({
6518
- brandColor: (_a2 = resolveVenueLineColor(Venue6.polymarket, isDarkTheme)) != null ? _a2 : "#2E5CFF",
6516
+ brandColor: (_a2 = resolveVenueLineColor(Venue6.opinion, isDarkTheme)) != null ? _a2 : "#ec5e26",
6519
6517
  isColor,
6520
6518
  color
6521
6519
  });
@@ -6531,7 +6529,7 @@ var LogoPolymarketIcon = (_a) => {
6531
6529
  /* @__PURE__ */ jsx119(
6532
6530
  "path",
6533
6531
  {
6534
- d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
6532
+ d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
6535
6533
  fill: primaryColor
6536
6534
  }
6537
6535
  )
@@ -6539,13 +6537,13 @@ var LogoPolymarketIcon = (_a) => {
6539
6537
  })
6540
6538
  );
6541
6539
  };
6542
- LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6540
+ LogoOpinionIcon.displayName = "LogoOpinionIcon";
6543
6541
 
6544
- // src/primitives/venue-logo/svg/logo-predict.tsx
6542
+ // src/primitives/venue-logo/svg/logo-polymarket.tsx
6545
6543
  import { useAggUiConfig as useAggUiConfig7 } from "@agg-build/hooks";
6546
6544
  import { Venue as Venue7 } from "@agg-build/sdk";
6547
6545
  import { jsx as jsx120, jsxs as jsxs115 } from "react/jsx-runtime";
6548
- var LogoPredictIcon = (_a) => {
6546
+ var LogoPolymarketIcon = (_a) => {
6549
6547
  var _b = _a, {
6550
6548
  title: title2,
6551
6549
  className,
@@ -6563,7 +6561,7 @@ var LogoPredictIcon = (_a) => {
6563
6561
  } = useAggUiConfig7();
6564
6562
  const isDarkTheme = theme === "dark";
6565
6563
  const primaryColor = resolveLogoPrimaryColor({
6566
- brandColor: (_a2 = resolveVenueLineColor(Venue7.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6564
+ brandColor: (_a2 = resolveVenueLineColor(Venue7.polymarket, isDarkTheme)) != null ? _a2 : "#2E5CFF",
6567
6565
  isColor,
6568
6566
  color
6569
6567
  });
@@ -6579,9 +6577,7 @@ var LogoPredictIcon = (_a) => {
6579
6577
  /* @__PURE__ */ jsx120(
6580
6578
  "path",
6581
6579
  {
6582
- fillRule: "evenodd",
6583
- clipRule: "evenodd",
6584
- d: "M75.2979 28.7579C76.4297 31.8263 77.0757 35.3709 77.0757 39.3906C77.0757 55.8415 65.8789 66.072 51.536 66.072C50.6567 66.072 49.836 65.9154 49.1715 65.7591C46.0451 65.485 45.0681 66.2871 45.0681 67.9695V69.3583C45.0681 71.4905 45.3809 72.3708 47.9602 73.5443C53.7443 76.322 51.8488 85.0855 44.6187 85.6919C39.6945 86.1027 33.7346 86.1027 28.6345 85.6919C21.893 85.144 19.6458 77.3979 24.9218 74.0138C27.4621 72.5077 28.4 70.4537 28.4195 66.0329C28.4977 53.5527 28.4977 50.6969 28.4782 39.9186C28.4586 33.9134 27.677 32.5246 24.2183 29.121C21.0527 25.9716 22.0884 21.2377 26.4069 18.7926C29.1621 17.2278 31.6633 16.054 34.6725 14.8608C37.5255 13.6871 39.8117 13.8437 41.414 14.9196C43.4267 16.1909 45.5177 16.3669 47.9992 15.4085C50.1486 14.5088 52.3569 14 54.7407 14C62.1263 14 69.7167 17.8763 73.871 25.5865C74.1788 26.1427 74.8952 27.5557 75.2979 28.7579ZM45.0681 45.9632C45.0681 50.599 47.667 53.4158 52.0246 53.4158C57.1639 53.4158 59.4696 49.6602 59.4696 41.7967C59.4696 32.7984 56.5971 28.006 51.536 28.006C47.5106 28.006 45.0681 31.077 45.0681 36.1825V45.9632Z",
6580
+ d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
6585
6581
  fill: primaryColor
6586
6582
  }
6587
6583
  )
@@ -6589,13 +6585,13 @@ var LogoPredictIcon = (_a) => {
6589
6585
  })
6590
6586
  );
6591
6587
  };
6592
- LogoPredictIcon.displayName = "LogoPredictIcon";
6588
+ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6593
6589
 
6594
- // src/primitives/venue-logo/svg/logo-probable.tsx
6590
+ // src/primitives/venue-logo/svg/logo-predict.tsx
6595
6591
  import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
6596
6592
  import { Venue as Venue8 } from "@agg-build/sdk";
6597
6593
  import { jsx as jsx121, jsxs as jsxs116 } from "react/jsx-runtime";
6598
- var LogoProbableIcon = (_a) => {
6594
+ var LogoPredictIcon = (_a) => {
6599
6595
  var _b = _a, {
6600
6596
  title: title2,
6601
6597
  className,
@@ -6613,7 +6609,7 @@ var LogoProbableIcon = (_a) => {
6613
6609
  } = useAggUiConfig8();
6614
6610
  const isDarkTheme = theme === "dark";
6615
6611
  const primaryColor = resolveLogoPrimaryColor({
6616
- brandColor: (_a2 = resolveVenueLineColor(Venue8.probable, isDarkTheme)) != null ? _a2 : "#EC4899",
6612
+ brandColor: (_a2 = resolveVenueLineColor(Venue8.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6617
6613
  isColor,
6618
6614
  color
6619
6615
  });
@@ -6627,14 +6623,64 @@ var LogoProbableIcon = (_a) => {
6627
6623
  children: [
6628
6624
  title2 ? /* @__PURE__ */ jsx121("title", { children: title2 }) : null,
6629
6625
  /* @__PURE__ */ jsx121(
6626
+ "path",
6627
+ {
6628
+ fillRule: "evenodd",
6629
+ clipRule: "evenodd",
6630
+ d: "M75.2979 28.7579C76.4297 31.8263 77.0757 35.3709 77.0757 39.3906C77.0757 55.8415 65.8789 66.072 51.536 66.072C50.6567 66.072 49.836 65.9154 49.1715 65.7591C46.0451 65.485 45.0681 66.2871 45.0681 67.9695V69.3583C45.0681 71.4905 45.3809 72.3708 47.9602 73.5443C53.7443 76.322 51.8488 85.0855 44.6187 85.6919C39.6945 86.1027 33.7346 86.1027 28.6345 85.6919C21.893 85.144 19.6458 77.3979 24.9218 74.0138C27.4621 72.5077 28.4 70.4537 28.4195 66.0329C28.4977 53.5527 28.4977 50.6969 28.4782 39.9186C28.4586 33.9134 27.677 32.5246 24.2183 29.121C21.0527 25.9716 22.0884 21.2377 26.4069 18.7926C29.1621 17.2278 31.6633 16.054 34.6725 14.8608C37.5255 13.6871 39.8117 13.8437 41.414 14.9196C43.4267 16.1909 45.5177 16.3669 47.9992 15.4085C50.1486 14.5088 52.3569 14 54.7407 14C62.1263 14 69.7167 17.8763 73.871 25.5865C74.1788 26.1427 74.8952 27.5557 75.2979 28.7579ZM45.0681 45.9632C45.0681 50.599 47.667 53.4158 52.0246 53.4158C57.1639 53.4158 59.4696 49.6602 59.4696 41.7967C59.4696 32.7984 56.5971 28.006 51.536 28.006C47.5106 28.006 45.0681 31.077 45.0681 36.1825V45.9632Z",
6631
+ fill: primaryColor
6632
+ }
6633
+ )
6634
+ ]
6635
+ })
6636
+ );
6637
+ };
6638
+ LogoPredictIcon.displayName = "LogoPredictIcon";
6639
+
6640
+ // src/primitives/venue-logo/svg/logo-probable.tsx
6641
+ import { useAggUiConfig as useAggUiConfig9 } from "@agg-build/hooks";
6642
+ import { Venue as Venue9 } from "@agg-build/sdk";
6643
+ import { jsx as jsx122, jsxs as jsxs117 } from "react/jsx-runtime";
6644
+ var LogoProbableIcon = (_a) => {
6645
+ var _b = _a, {
6646
+ title: title2,
6647
+ className,
6648
+ isColor = true,
6649
+ color
6650
+ } = _b, props = __objRest(_b, [
6651
+ "title",
6652
+ "className",
6653
+ "isColor",
6654
+ "color"
6655
+ ]);
6656
+ var _a2;
6657
+ const {
6658
+ general: { theme }
6659
+ } = useAggUiConfig9();
6660
+ const isDarkTheme = theme === "dark";
6661
+ const primaryColor = resolveLogoPrimaryColor({
6662
+ brandColor: (_a2 = resolveVenueLineColor(Venue9.probable, isDarkTheme)) != null ? _a2 : "#EC4899",
6663
+ isColor,
6664
+ color
6665
+ });
6666
+ return /* @__PURE__ */ jsxs117(
6667
+ "svg",
6668
+ __spreadProps(__spreadValues(__spreadValues({
6669
+ viewBox: "0 0 100 100",
6670
+ className,
6671
+ fill: "none"
6672
+ }, getIconA11yProps(title2)), props), {
6673
+ children: [
6674
+ title2 ? /* @__PURE__ */ jsx122("title", { children: title2 }) : null,
6675
+ /* @__PURE__ */ jsx122(
6630
6676
  "path",
6631
6677
  {
6632
6678
  d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
6633
6679
  fill: primaryColor
6634
6680
  }
6635
6681
  ),
6636
- /* @__PURE__ */ jsx121("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6637
- /* @__PURE__ */ jsx121(
6682
+ /* @__PURE__ */ jsx122("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6683
+ /* @__PURE__ */ jsx122(
6638
6684
  "path",
6639
6685
  {
6640
6686
  d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
@@ -6649,38 +6695,41 @@ LogoProbableIcon.displayName = "LogoProbableIcon";
6649
6695
 
6650
6696
  // src/primitives/venue-logo/venue-logo.constants.ts
6651
6697
  var venueLogoRegistry = {
6652
- [Venue9.kalshi]: LogoKalshiIcon,
6653
- [Venue9.limitless]: LogoLimitlessIcon,
6654
- [Venue9.opinion]: LogoOpinionIcon,
6655
- [Venue9.polymarket]: LogoPolymarketIcon,
6656
- [Venue9.predict]: LogoPredictIcon,
6657
- [Venue9.probable]: LogoProbableIcon,
6658
- [Venue9.myriad]: LogoMyriadIcon,
6659
- [Venue9.hyperliquid]: LogoHyperliquidIcon
6698
+ [Venue10.kalshi]: LogoKalshiIcon,
6699
+ [Venue10.limitless]: LogoLimitlessIcon,
6700
+ [Venue10.opinion]: LogoOpinionIcon,
6701
+ [Venue10.polymarket]: LogoPolymarketIcon,
6702
+ [Venue10.predict]: LogoPredictIcon,
6703
+ [Venue10.probable]: LogoProbableIcon,
6704
+ [Venue10.myriad]: LogoMyriadIcon,
6705
+ [Venue10.hyperliquid]: LogoHyperliquidIcon,
6706
+ [Venue10.novig]: LogoNovigIcon
6660
6707
  };
6661
6708
  var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
6709
+ var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
6662
6710
  var venueLogoUrlRegistry = {
6663
- [Venue9.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6664
- [Venue9.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6665
- [Venue9.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6666
- [Venue9.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6667
- [Venue9.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6668
- [Venue9.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6669
- [Venue9.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6670
- [Venue9.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`
6711
+ [Venue10.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6712
+ [Venue10.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6713
+ [Venue10.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6714
+ [Venue10.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6715
+ [Venue10.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6716
+ [Venue10.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6717
+ [Venue10.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6718
+ [Venue10.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`,
6719
+ [Venue10.novig]: `${VENUE_LOGO_BASE_URL}/novig.png`
6671
6720
  };
6672
6721
  var venueLogoLabels = {
6673
- [Venue9.kalshi]: "Kalshi",
6674
- [Venue9.limitless]: "Limitless",
6675
- [Venue9.opinion]: "Opinion",
6676
- [Venue9.polymarket]: "Polymarket",
6677
- [Venue9.predict]: "Predict",
6678
- [Venue9.probable]: "Probable",
6679
- [Venue9.myriad]: "Myriad",
6680
- [Venue9.hyperliquid]: "Hyperliquid"
6722
+ [Venue10.kalshi]: "Kalshi",
6723
+ [Venue10.limitless]: "Limitless",
6724
+ [Venue10.opinion]: "Opinion",
6725
+ [Venue10.polymarket]: "Polymarket",
6726
+ [Venue10.predict]: "Predict",
6727
+ [Venue10.probable]: "Probable",
6728
+ [Venue10.myriad]: "Myriad",
6729
+ [Venue10.hyperliquid]: "Hyperliquid",
6730
+ [Venue10.novig]: "Novig"
6681
6731
  };
6682
6732
  var DEFAULT_VENUE_LABEL = "Market";
6683
- var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
6684
6733
  var venueLogoNames = Object.keys(venueLogoRegistry);
6685
6734
  var sizeClasses2 = {
6686
6735
  small: "h-4 w-4",
@@ -6689,24 +6738,29 @@ var sizeClasses2 = {
6689
6738
  };
6690
6739
  var lineColorByVenue = {
6691
6740
  light: {
6692
- [Venue9.kalshi]: "#00D295",
6693
- [Venue9.limitless]: "#C4FF00",
6694
- [Venue9.opinion]: "#000000",
6695
- [Venue9.polymarket]: "#2E5CFF",
6696
- [Venue9.predict]: "#6D57F8",
6697
- [Venue9.probable]: "#F05923",
6698
- [Venue9.myriad]: "#000000",
6699
- [Venue9.hyperliquid]: "#97FCE4"
6741
+ [Venue10.kalshi]: "#00D295",
6742
+ [Venue10.limitless]: "#C4FF00",
6743
+ [Venue10.opinion]: "#000000",
6744
+ [Venue10.polymarket]: "#2E5CFF",
6745
+ [Venue10.predict]: "#6D57F8",
6746
+ [Venue10.probable]: "#F05923",
6747
+ [Venue10.myriad]: "#000000",
6748
+ [Venue10.hyperliquid]: "#97FCE4",
6749
+ // Novig's own `<meta name="theme-color">`. Their logomark is monochrome
6750
+ // (cream on #050505, like Opinion/Myriad), but unlike those two this blue
6751
+ // reads on both themes, so it does not need the light/dark flip they use.
6752
+ [Venue10.novig]: "#179BE7"
6700
6753
  },
6701
6754
  dark: {
6702
- [Venue9.kalshi]: "#00D295",
6703
- [Venue9.limitless]: "#C4FF00",
6704
- [Venue9.opinion]: "#FFFFFF",
6705
- [Venue9.polymarket]: "#2E5CFF",
6706
- [Venue9.predict]: "#6D57F8",
6707
- [Venue9.probable]: "#F05923",
6708
- [Venue9.myriad]: "#FFFFFF",
6709
- [Venue9.hyperliquid]: "#97FCE4"
6755
+ [Venue10.kalshi]: "#00D295",
6756
+ [Venue10.limitless]: "#C4FF00",
6757
+ [Venue10.opinion]: "#FFFFFF",
6758
+ [Venue10.polymarket]: "#2E5CFF",
6759
+ [Venue10.predict]: "#6D57F8",
6760
+ [Venue10.probable]: "#F05923",
6761
+ [Venue10.myriad]: "#FFFFFF",
6762
+ [Venue10.hyperliquid]: "#97FCE4",
6763
+ [Venue10.novig]: "#179BE7"
6710
6764
  }
6711
6765
  };
6712
6766
  var resolveVenueLineColor = (venue, isDarkTheme) => {
@@ -6745,7 +6799,7 @@ var resolveVenueLogoIsColor = ({
6745
6799
  };
6746
6800
 
6747
6801
  // src/primitives/venue-logo/index.tsx
6748
- import { jsx as jsx122 } from "react/jsx-runtime";
6802
+ import { jsx as jsx123 } from "react/jsx-runtime";
6749
6803
  var VenueLogo = ({
6750
6804
  venue,
6751
6805
  variant = "icon",
@@ -6771,7 +6825,7 @@ var VenueLogo = ({
6771
6825
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
6772
6826
  }
6773
6827
  if (variant === "logo") {
6774
- return /* @__PURE__ */ jsx122(
6828
+ return /* @__PURE__ */ jsx123(
6775
6829
  RemoteImage,
6776
6830
  {
6777
6831
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -6786,7 +6840,7 @@ var VenueLogo = ({
6786
6840
  isColor,
6787
6841
  isMonochromatic
6788
6842
  });
6789
- return /* @__PURE__ */ jsx122(
6843
+ return /* @__PURE__ */ jsx123(
6790
6844
  Component2,
6791
6845
  {
6792
6846
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -7284,7 +7338,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
7284
7338
  };
7285
7339
 
7286
7340
  // src/primitives/search/index.tsx
7287
- import { Fragment as Fragment5, jsx as jsx123, jsxs as jsxs117 } from "react/jsx-runtime";
7341
+ import { Fragment as Fragment5, jsx as jsx124, jsxs as jsxs118 } from "react/jsx-runtime";
7288
7342
  var SearchResultRow = ({
7289
7343
  item,
7290
7344
  resultAria,
@@ -7298,7 +7352,7 @@ var SearchResultRow = ({
7298
7352
  const handleResultPointerDown = (event) => {
7299
7353
  event.preventDefault();
7300
7354
  };
7301
- return /* @__PURE__ */ jsxs117(
7355
+ return /* @__PURE__ */ jsxs118(
7302
7356
  "button",
7303
7357
  {
7304
7358
  type: "button",
@@ -7316,8 +7370,8 @@ var SearchResultRow = ({
7316
7370
  onClick: handleResultClick,
7317
7371
  "aria-label": resultAria(item.title),
7318
7372
  children: [
7319
- /* @__PURE__ */ jsxs117("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7320
- /* @__PURE__ */ jsx123(
7373
+ /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7374
+ /* @__PURE__ */ jsx124(
7321
7375
  RemoteImage,
7322
7376
  {
7323
7377
  src: item.thumbnailSrc,
@@ -7329,8 +7383,8 @@ var SearchResultRow = ({
7329
7383
  )
7330
7384
  }
7331
7385
  ),
7332
- /* @__PURE__ */ jsxs117("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7333
- /* @__PURE__ */ jsx123(
7386
+ /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7387
+ /* @__PURE__ */ jsx124(
7334
7388
  "p",
7335
7389
  {
7336
7390
  className: cn(
@@ -7341,8 +7395,8 @@ var SearchResultRow = ({
7341
7395
  children: item.title
7342
7396
  }
7343
7397
  ),
7344
- /* @__PURE__ */ jsxs117("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7345
- /* @__PURE__ */ jsx123(
7398
+ /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7399
+ /* @__PURE__ */ jsx124(
7346
7400
  "p",
7347
7401
  {
7348
7402
  className: cn(
@@ -7352,7 +7406,7 @@ var SearchResultRow = ({
7352
7406
  children: item.marketSummaryLabel
7353
7407
  }
7354
7408
  ),
7355
- /* @__PURE__ */ jsx123("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx123(
7409
+ /* @__PURE__ */ jsx124("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx124(
7356
7410
  VenueLogo,
7357
7411
  {
7358
7412
  venue,
@@ -7362,9 +7416,9 @@ var SearchResultRow = ({
7362
7416
  },
7363
7417
  `${item.id}-${venue}`
7364
7418
  )) }),
7365
- item.volumeLabel ? /* @__PURE__ */ jsxs117(Fragment5, { children: [
7366
- /* @__PURE__ */ jsx123("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7367
- /* @__PURE__ */ jsx123(
7419
+ item.volumeLabel ? /* @__PURE__ */ jsxs118(Fragment5, { children: [
7420
+ /* @__PURE__ */ jsx124("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7421
+ /* @__PURE__ */ jsx124(
7368
7422
  "p",
7369
7423
  {
7370
7424
  className: cn(
@@ -7378,7 +7432,7 @@ var SearchResultRow = ({
7378
7432
  ] })
7379
7433
  ] })
7380
7434
  ] }),
7381
- /* @__PURE__ */ jsxs117(
7435
+ /* @__PURE__ */ jsxs118(
7382
7436
  "div",
7383
7437
  {
7384
7438
  className: cn(
@@ -7386,9 +7440,9 @@ var SearchResultRow = ({
7386
7440
  classNames == null ? void 0 : classNames.resultMeta
7387
7441
  ),
7388
7442
  children: [
7389
- /* @__PURE__ */ jsx123(VenueLogo, { venue: item.venue, size: "small" }),
7390
- /* @__PURE__ */ jsxs117("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7391
- item.isValueLoading ? /* @__PURE__ */ jsx123(
7443
+ /* @__PURE__ */ jsx124(VenueLogo, { venue: item.venue, size: "small" }),
7444
+ /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7445
+ item.isValueLoading ? /* @__PURE__ */ jsx124(
7392
7446
  "span",
7393
7447
  {
7394
7448
  "aria-hidden": "true",
@@ -7397,7 +7451,7 @@ var SearchResultRow = ({
7397
7451
  "h-5 w-12 shrink-0 rounded-agg-sm bg-agg-separator animate-pulse"
7398
7452
  )
7399
7453
  }
7400
- ) : /* @__PURE__ */ jsx123(
7454
+ ) : /* @__PURE__ */ jsx124(
7401
7455
  "p",
7402
7456
  {
7403
7457
  className: cn(
@@ -7408,7 +7462,7 @@ var SearchResultRow = ({
7408
7462
  children: item.valueLabel
7409
7463
  }
7410
7464
  ),
7411
- /* @__PURE__ */ jsx123(
7465
+ /* @__PURE__ */ jsx124(
7412
7466
  "p",
7413
7467
  {
7414
7468
  className: cn(
@@ -7422,7 +7476,7 @@ var SearchResultRow = ({
7422
7476
  ]
7423
7477
  }
7424
7478
  ),
7425
- /* @__PURE__ */ jsx123(
7479
+ /* @__PURE__ */ jsx124(
7426
7480
  Icon,
7427
7481
  {
7428
7482
  name: "chevron-right",
@@ -7445,7 +7499,7 @@ var SearchSeeAllResultsButton = ({
7445
7499
  const handlePointerDown = (event) => {
7446
7500
  event.preventDefault();
7447
7501
  };
7448
- return /* @__PURE__ */ jsxs117(
7502
+ return /* @__PURE__ */ jsxs118(
7449
7503
  "button",
7450
7504
  {
7451
7505
  type: "button",
@@ -7459,8 +7513,8 @@ var SearchSeeAllResultsButton = ({
7459
7513
  onPointerDown: handlePointerDown,
7460
7514
  onClick,
7461
7515
  children: [
7462
- /* @__PURE__ */ jsx123("span", { children: label2 }),
7463
- /* @__PURE__ */ jsx123(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7516
+ /* @__PURE__ */ jsx124("span", { children: label2 }),
7517
+ /* @__PURE__ */ jsx124(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7464
7518
  ]
7465
7519
  }
7466
7520
  );
@@ -7629,14 +7683,14 @@ var Search = ({
7629
7683
  event.preventDefault();
7630
7684
  handleSeeAllResults();
7631
7685
  };
7632
- return /* @__PURE__ */ jsxs117(
7686
+ return /* @__PURE__ */ jsxs118(
7633
7687
  "div",
7634
7688
  {
7635
7689
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
7636
7690
  onFocusCapture: handleFocusWithin,
7637
7691
  onBlurCapture: handleBlurWithin,
7638
7692
  children: [
7639
- /* @__PURE__ */ jsx123("label", { className: "w-full", children: /* @__PURE__ */ jsxs117(
7693
+ /* @__PURE__ */ jsx124("label", { className: "w-full", children: /* @__PURE__ */ jsxs118(
7640
7694
  "div",
7641
7695
  {
7642
7696
  className: cn(
@@ -7652,7 +7706,7 @@ var Search = ({
7652
7706
  ),
7653
7707
  onClick: handleFocusWithin,
7654
7708
  children: [
7655
- /* @__PURE__ */ jsx123(
7709
+ /* @__PURE__ */ jsx124(
7656
7710
  Icon,
7657
7711
  {
7658
7712
  name: "search",
@@ -7660,7 +7714,7 @@ var Search = ({
7660
7714
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
7661
7715
  }
7662
7716
  ),
7663
- /* @__PURE__ */ jsx123(
7717
+ /* @__PURE__ */ jsx124(
7664
7718
  "input",
7665
7719
  __spreadProps(__spreadValues({}, inputProps), {
7666
7720
  ref: inputRef,
@@ -7681,11 +7735,11 @@ var Search = ({
7681
7735
  )
7682
7736
  })
7683
7737
  ),
7684
- shouldRenderShortcut ? /* @__PURE__ */ jsx123("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx123("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
7738
+ shouldRenderShortcut ? /* @__PURE__ */ jsx124("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx124("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
7685
7739
  ]
7686
7740
  }
7687
7741
  ) }),
7688
- shouldRenderLoadingState ? /* @__PURE__ */ jsx123(
7742
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx124(
7689
7743
  "div",
7690
7744
  {
7691
7745
  className: cn(
@@ -7695,10 +7749,10 @@ var Search = ({
7695
7749
  "mt-1",
7696
7750
  classNames == null ? void 0 : classNames.emptyState
7697
7751
  ),
7698
- children: /* @__PURE__ */ jsx123(Skeleton, { view: "search" })
7752
+ children: /* @__PURE__ */ jsx124(Skeleton, { view: "search" })
7699
7753
  }
7700
7754
  ) : null,
7701
- shouldRenderResults ? /* @__PURE__ */ jsx123(
7755
+ shouldRenderResults ? /* @__PURE__ */ jsx124(
7702
7756
  "div",
7703
7757
  {
7704
7758
  className: cn(
@@ -7708,7 +7762,7 @@ var Search = ({
7708
7762
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
7709
7763
  classNames == null ? void 0 : classNames.dropdown
7710
7764
  ),
7711
- children: /* @__PURE__ */ jsxs117(
7765
+ children: /* @__PURE__ */ jsxs118(
7712
7766
  "ul",
7713
7767
  {
7714
7768
  className: cn(
@@ -7718,7 +7772,7 @@ var Search = ({
7718
7772
  role: "listbox",
7719
7773
  "aria-label": labels.search.resultsAria,
7720
7774
  children: [
7721
- validatedResults.map((item, index) => /* @__PURE__ */ jsx123(
7775
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx124(
7722
7776
  "li",
7723
7777
  {
7724
7778
  role: "presentation",
@@ -7727,7 +7781,7 @@ var Search = ({
7727
7781
  index > 0 && "border-t border-agg-separator",
7728
7782
  classNames == null ? void 0 : classNames.resultItem
7729
7783
  ),
7730
- children: /* @__PURE__ */ jsx123(
7784
+ children: /* @__PURE__ */ jsx124(
7731
7785
  SearchResultRow,
7732
7786
  {
7733
7787
  item,
@@ -7739,12 +7793,12 @@ var Search = ({
7739
7793
  },
7740
7794
  item.id
7741
7795
  )),
7742
- /* @__PURE__ */ jsx123(
7796
+ /* @__PURE__ */ jsx124(
7743
7797
  "li",
7744
7798
  {
7745
7799
  role: "presentation",
7746
7800
  className: "agg-search-result-item border-t border-agg-separator",
7747
- children: /* @__PURE__ */ jsx123(
7801
+ children: /* @__PURE__ */ jsx124(
7748
7802
  SearchSeeAllResultsButton,
7749
7803
  {
7750
7804
  label: labels.search.seeAllResults,
@@ -7758,7 +7812,7 @@ var Search = ({
7758
7812
  )
7759
7813
  }
7760
7814
  ) : null,
7761
- shouldRenderNoResults ? /* @__PURE__ */ jsx123(
7815
+ shouldRenderNoResults ? /* @__PURE__ */ jsx124(
7762
7816
  "div",
7763
7817
  {
7764
7818
  className: cn(
@@ -7768,7 +7822,7 @@ var Search = ({
7768
7822
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
7769
7823
  classNames == null ? void 0 : classNames.emptyState
7770
7824
  ),
7771
- children: /* @__PURE__ */ jsxs117(
7825
+ children: /* @__PURE__ */ jsxs118(
7772
7826
  "div",
7773
7827
  {
7774
7828
  className: cn(
@@ -7778,15 +7832,15 @@ var Search = ({
7778
7832
  role: "status",
7779
7833
  "aria-live": "polite",
7780
7834
  children: [
7781
- /* @__PURE__ */ jsx123(
7835
+ /* @__PURE__ */ jsx124(
7782
7836
  SearchEmptyIcon,
7783
7837
  {
7784
7838
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
7785
7839
  "aria-hidden": true
7786
7840
  }
7787
7841
  ),
7788
- /* @__PURE__ */ jsxs117("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7789
- /* @__PURE__ */ jsx123(
7842
+ /* @__PURE__ */ jsxs118("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7843
+ /* @__PURE__ */ jsx124(
7790
7844
  "p",
7791
7845
  {
7792
7846
  className: cn(
@@ -7797,7 +7851,7 @@ var Search = ({
7797
7851
  children: labels.search.noResultsTitle
7798
7852
  }
7799
7853
  ),
7800
- /* @__PURE__ */ jsx123(
7854
+ /* @__PURE__ */ jsx124(
7801
7855
  "p",
7802
7856
  {
7803
7857
  className: cn(
@@ -7847,7 +7901,7 @@ var resolveHeaderSearchContent = ({
7847
7901
  };
7848
7902
 
7849
7903
  // src/primitives/header/index.tsx
7850
- import { Fragment as Fragment6, jsx as jsx124, jsxs as jsxs118 } from "react/jsx-runtime";
7904
+ import { Fragment as Fragment6, jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
7851
7905
  var Header = ({
7852
7906
  logo,
7853
7907
  logoHref,
@@ -7860,7 +7914,7 @@ var Header = ({
7860
7914
  "aria-label": ariaLabel
7861
7915
  }) => {
7862
7916
  const labels = useLabels11();
7863
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx124(
7917
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx125(
7864
7918
  "img",
7865
7919
  {
7866
7920
  src: logo.src,
@@ -7869,14 +7923,14 @@ var Header = ({
7869
7923
  height: logo.height,
7870
7924
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
7871
7925
  }
7872
- ) : logo !== void 0 ? /* @__PURE__ */ jsx124("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx124(
7926
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx125("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx125(
7873
7927
  AggLogo,
7874
7928
  {
7875
7929
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
7876
7930
  title: labels.header.logoAria
7877
7931
  }
7878
7932
  );
7879
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx124(
7933
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx125(
7880
7934
  "a",
7881
7935
  {
7882
7936
  href: logoHref,
@@ -7885,7 +7939,7 @@ var Header = ({
7885
7939
  onClick: onLogoClick,
7886
7940
  children: logoContent
7887
7941
  }
7888
- ) : onLogoClick ? /* @__PURE__ */ jsx124(
7942
+ ) : onLogoClick ? /* @__PURE__ */ jsx125(
7889
7943
  "button",
7890
7944
  {
7891
7945
  type: "button",
@@ -7897,13 +7951,13 @@ var Header = ({
7897
7951
  onClick: onLogoClick,
7898
7952
  children: logoContent
7899
7953
  }
7900
- ) : /* @__PURE__ */ jsx124("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7954
+ ) : /* @__PURE__ */ jsx125("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
7901
7955
  const searchContent = resolveHeaderSearchContent({
7902
7956
  search,
7903
7957
  searchProps,
7904
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx124(Search, __spreadValues({}, nextSearchProps))
7958
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx125(Search, __spreadValues({}, nextSearchProps))
7905
7959
  });
7906
- return /* @__PURE__ */ jsx124(Fragment6, { children: /* @__PURE__ */ jsx124(
7960
+ return /* @__PURE__ */ jsx125(Fragment6, { children: /* @__PURE__ */ jsx125(
7907
7961
  "header",
7908
7962
  {
7909
7963
  role: "banner",
@@ -7912,7 +7966,7 @@ var Header = ({
7912
7966
  fallbackLabel: labels.header.bannerAria
7913
7967
  }),
7914
7968
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
7915
- children: /* @__PURE__ */ jsxs118(
7969
+ children: /* @__PURE__ */ jsxs119(
7916
7970
  "div",
7917
7971
  {
7918
7972
  className: cn(
@@ -7920,7 +7974,7 @@ var Header = ({
7920
7974
  classNames == null ? void 0 : classNames.inner
7921
7975
  ),
7922
7976
  children: [
7923
- /* @__PURE__ */ jsx124(
7977
+ /* @__PURE__ */ jsx125(
7924
7978
  "div",
7925
7979
  {
7926
7980
  className: cn(
@@ -7930,7 +7984,7 @@ var Header = ({
7930
7984
  children: wrappedLogo
7931
7985
  }
7932
7986
  ),
7933
- searchContent ? /* @__PURE__ */ jsx124(
7987
+ searchContent ? /* @__PURE__ */ jsx125(
7934
7988
  "div",
7935
7989
  {
7936
7990
  className: cn(
@@ -7941,7 +7995,7 @@ var Header = ({
7941
7995
  children: searchContent
7942
7996
  }
7943
7997
  ) : null,
7944
- /* @__PURE__ */ jsx124(
7998
+ /* @__PURE__ */ jsx125(
7945
7999
  "div",
7946
8000
  {
7947
8001
  className: cn(
@@ -8004,7 +8058,7 @@ var resolveInlineAlertHasAction = ({
8004
8058
  };
8005
8059
 
8006
8060
  // src/primitives/inline-alert/index.tsx
8007
- import { jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
8061
+ import { jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
8008
8062
  var InlineAlert = ({
8009
8063
  tone = INLINE_ALERT_DEFAULT_TONE,
8010
8064
  variant,
@@ -8018,7 +8072,7 @@ var InlineAlert = ({
8018
8072
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
8019
8073
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
8020
8074
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
8021
- return /* @__PURE__ */ jsxs119(
8075
+ return /* @__PURE__ */ jsxs120(
8022
8076
  "div",
8023
8077
  {
8024
8078
  className: cn(
@@ -8030,7 +8084,7 @@ var InlineAlert = ({
8030
8084
  "aria-live": ariaLive,
8031
8085
  "aria-label": ariaLabel,
8032
8086
  children: [
8033
- /* @__PURE__ */ jsx125(
8087
+ /* @__PURE__ */ jsx126(
8034
8088
  Icon,
8035
8089
  {
8036
8090
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -8038,14 +8092,14 @@ var InlineAlert = ({
8038
8092
  "aria-hidden": "true"
8039
8093
  }
8040
8094
  ),
8041
- /* @__PURE__ */ jsx125(
8095
+ /* @__PURE__ */ jsx126(
8042
8096
  "div",
8043
8097
  {
8044
8098
  className: cn(
8045
8099
  "min-w-0",
8046
8100
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
8047
8101
  ),
8048
- children: /* @__PURE__ */ jsxs119(
8102
+ children: /* @__PURE__ */ jsxs120(
8049
8103
  "div",
8050
8104
  {
8051
8105
  className: cn(
@@ -8054,14 +8108,14 @@ var InlineAlert = ({
8054
8108
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
8055
8109
  ),
8056
8110
  children: [
8057
- title2 ? /* @__PURE__ */ jsx125("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8058
- /* @__PURE__ */ jsx125("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8111
+ title2 ? /* @__PURE__ */ jsx126("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8112
+ /* @__PURE__ */ jsx126("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8059
8113
  ]
8060
8114
  }
8061
8115
  )
8062
8116
  }
8063
8117
  ),
8064
- hasAction ? /* @__PURE__ */ jsx125(
8118
+ hasAction ? /* @__PURE__ */ jsx126(
8065
8119
  "button",
8066
8120
  {
8067
8121
  type: "button",
@@ -8099,7 +8153,7 @@ var resolveLoadingIconAriaLabel = ({
8099
8153
  };
8100
8154
 
8101
8155
  // src/primitives/loading-icon/index.tsx
8102
- import { Fragment as Fragment7, jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
8156
+ import { Fragment as Fragment7, jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8103
8157
  var LoadingIcon = ({
8104
8158
  size = LOADING_ICON_DEFAULT_SIZE,
8105
8159
  variant = "default",
@@ -8110,7 +8164,7 @@ var LoadingIcon = ({
8110
8164
  const {
8111
8165
  features: { enableAnimations }
8112
8166
  } = useSdkUiConfig11();
8113
- return /* @__PURE__ */ jsx126(
8167
+ return /* @__PURE__ */ jsx127(
8114
8168
  "span",
8115
8169
  {
8116
8170
  role: "status",
@@ -8123,7 +8177,7 @@ var LoadingIcon = ({
8123
8177
  "inline-grid place-items-center text-agg-primary will-change-transform",
8124
8178
  className
8125
8179
  ),
8126
- children: /* @__PURE__ */ jsx126("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx126(
8180
+ children: /* @__PURE__ */ jsx127("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx127(
8127
8181
  "svg",
8128
8182
  {
8129
8183
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -8131,8 +8185,8 @@ var LoadingIcon = ({
8131
8185
  "block",
8132
8186
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
8133
8187
  ),
8134
- children: variant === "prominent" ? /* @__PURE__ */ jsxs120("g", { children: [
8135
- enableAnimations ? /* @__PURE__ */ jsx126(
8188
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs121("g", { children: [
8189
+ enableAnimations ? /* @__PURE__ */ jsx127(
8136
8190
  "animateTransform",
8137
8191
  {
8138
8192
  attributeName: "transform",
@@ -8144,7 +8198,7 @@ var LoadingIcon = ({
8144
8198
  repeatCount: "indefinite"
8145
8199
  }
8146
8200
  ) : null,
8147
- /* @__PURE__ */ jsx126(
8201
+ /* @__PURE__ */ jsx127(
8148
8202
  "circle",
8149
8203
  {
8150
8204
  cx: "22",
@@ -8158,8 +8212,8 @@ var LoadingIcon = ({
8158
8212
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
8159
8213
  }
8160
8214
  )
8161
- ] }) : /* @__PURE__ */ jsxs120("g", { children: [
8162
- enableAnimations ? /* @__PURE__ */ jsx126(
8215
+ ] }) : /* @__PURE__ */ jsxs121("g", { children: [
8216
+ enableAnimations ? /* @__PURE__ */ jsx127(
8163
8217
  "animateTransform",
8164
8218
  {
8165
8219
  attributeName: "transform",
@@ -8171,7 +8225,7 @@ var LoadingIcon = ({
8171
8225
  repeatCount: "indefinite"
8172
8226
  }
8173
8227
  ) : null,
8174
- /* @__PURE__ */ jsx126(
8228
+ /* @__PURE__ */ jsx127(
8175
8229
  "circle",
8176
8230
  {
8177
8231
  cx: "22",
@@ -8183,8 +8237,8 @@ var LoadingIcon = ({
8183
8237
  strokeLinecap: "round",
8184
8238
  strokeDasharray: "60 100",
8185
8239
  strokeDashoffset: "0",
8186
- children: enableAnimations ? /* @__PURE__ */ jsxs120(Fragment7, { children: [
8187
- /* @__PURE__ */ jsx126(
8240
+ children: enableAnimations ? /* @__PURE__ */ jsxs121(Fragment7, { children: [
8241
+ /* @__PURE__ */ jsx127(
8188
8242
  "animate",
8189
8243
  {
8190
8244
  attributeName: "stroke-dasharray",
@@ -8193,7 +8247,7 @@ var LoadingIcon = ({
8193
8247
  repeatCount: "indefinite"
8194
8248
  }
8195
8249
  ),
8196
- /* @__PURE__ */ jsx126(
8250
+ /* @__PURE__ */ jsx127(
8197
8251
  "animate",
8198
8252
  {
8199
8253
  attributeName: "stroke-dashoffset",
@@ -8238,7 +8292,7 @@ var resolveModalCloseIcon = ({
8238
8292
  };
8239
8293
 
8240
8294
  // src/primitives/modal/index.tsx
8241
- import { Fragment as Fragment8, jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8295
+ import { Fragment as Fragment8, jsx as jsx128, jsxs as jsxs122 } from "react/jsx-runtime";
8242
8296
  var Modal = ({
8243
8297
  open,
8244
8298
  onOpenChange,
@@ -8246,7 +8300,7 @@ var Modal = ({
8246
8300
  "aria-label": _ariaLabel,
8247
8301
  "aria-labelledby": _ariaLabelledBy
8248
8302
  }) => {
8249
- return /* @__PURE__ */ jsx127(Dialog.Root, { open, onOpenChange, children });
8303
+ return /* @__PURE__ */ jsx128(Dialog.Root, { open, onOpenChange, children });
8250
8304
  };
8251
8305
  var ModalContainer = ({
8252
8306
  children,
@@ -8261,8 +8315,8 @@ var ModalContainer = ({
8261
8315
  } = useSdkUiConfig12();
8262
8316
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
8263
8317
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
8264
- return /* @__PURE__ */ jsxs121(Dialog.Portal, { children: [
8265
- /* @__PURE__ */ jsx127(
8318
+ return /* @__PURE__ */ jsxs122(Dialog.Portal, { children: [
8319
+ /* @__PURE__ */ jsx128(
8266
8320
  Dialog.Overlay,
8267
8321
  {
8268
8322
  className: cn(
@@ -8273,7 +8327,7 @@ var ModalContainer = ({
8273
8327
  )
8274
8328
  }
8275
8329
  ),
8276
- /* @__PURE__ */ jsx127(
8330
+ /* @__PURE__ */ jsx128(
8277
8331
  Dialog.Content,
8278
8332
  {
8279
8333
  className: cn(
@@ -8299,7 +8353,7 @@ var ModalContainer = ({
8299
8353
  event.preventDefault();
8300
8354
  }
8301
8355
  },
8302
- children: /* @__PURE__ */ jsx127(
8356
+ children: /* @__PURE__ */ jsx128(
8303
8357
  "div",
8304
8358
  {
8305
8359
  className: cn(
@@ -8307,7 +8361,7 @@ var ModalContainer = ({
8307
8361
  "items-end md:items-center",
8308
8362
  "flex h-full min-h-0 w-full justify-center p-0 md:p-5"
8309
8363
  ),
8310
- children: /* @__PURE__ */ jsx127(
8364
+ children: /* @__PURE__ */ jsx128(
8311
8365
  "div",
8312
8366
  {
8313
8367
  className: cn(
@@ -8349,12 +8403,12 @@ var ModalHeader = ({
8349
8403
  features: { enableAnimations }
8350
8404
  } = useSdkUiConfig12();
8351
8405
  const labels = useLabels13();
8352
- const defaultCloseIcon = /* @__PURE__ */ jsx127(CloseIcon, { className: "h-6 w-6" });
8406
+ const defaultCloseIcon = /* @__PURE__ */ jsx128(CloseIcon, { className: "h-6 w-6" });
8353
8407
  const resolvedCloseIcon = resolveModalCloseIcon({
8354
8408
  closeIcon,
8355
8409
  defaultCloseIcon
8356
8410
  });
8357
- return /* @__PURE__ */ jsxs121(
8411
+ return /* @__PURE__ */ jsxs122(
8358
8412
  "div",
8359
8413
  {
8360
8414
  className: cn(
@@ -8367,7 +8421,7 @@ var ModalHeader = ({
8367
8421
  classNames == null ? void 0 : classNames.root
8368
8422
  ),
8369
8423
  children: [
8370
- /* @__PURE__ */ jsxs121(
8424
+ /* @__PURE__ */ jsxs122(
8371
8425
  "div",
8372
8426
  {
8373
8427
  className: cn(
@@ -8380,8 +8434,8 @@ var ModalHeader = ({
8380
8434
  classNames == null ? void 0 : classNames.container
8381
8435
  ),
8382
8436
  children: [
8383
- leftElement ? /* @__PURE__ */ jsx127(Fragment8, { children: leftElement }) : null,
8384
- /* @__PURE__ */ jsxs121(
8437
+ leftElement ? /* @__PURE__ */ jsx128(Fragment8, { children: leftElement }) : null,
8438
+ /* @__PURE__ */ jsxs122(
8385
8439
  "div",
8386
8440
  {
8387
8441
  className: cn(
@@ -8390,7 +8444,7 @@ var ModalHeader = ({
8390
8444
  classNames == null ? void 0 : classNames.titleContainer
8391
8445
  ),
8392
8446
  children: [
8393
- /* @__PURE__ */ jsx127(
8447
+ /* @__PURE__ */ jsx128(
8394
8448
  Dialog.Title,
8395
8449
  {
8396
8450
  className: cn(
@@ -8404,7 +8458,7 @@ var ModalHeader = ({
8404
8458
  children: title2
8405
8459
  }
8406
8460
  ),
8407
- subtitle ? /* @__PURE__ */ jsx127(
8461
+ subtitle ? /* @__PURE__ */ jsx128(
8408
8462
  "span",
8409
8463
  {
8410
8464
  className: cn(
@@ -8418,9 +8472,9 @@ var ModalHeader = ({
8418
8472
  ]
8419
8473
  }
8420
8474
  ),
8421
- /* @__PURE__ */ jsxs121("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8422
- rightElement ? /* @__PURE__ */ jsx127(Fragment8, { children: rightElement }) : null,
8423
- !hideClose && /* @__PURE__ */ jsx127(
8475
+ /* @__PURE__ */ jsxs122("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8476
+ rightElement ? /* @__PURE__ */ jsx128(Fragment8, { children: rightElement }) : null,
8477
+ !hideClose && /* @__PURE__ */ jsx128(
8424
8478
  Dialog.Close,
8425
8479
  {
8426
8480
  className: cn(
@@ -8437,14 +8491,14 @@ var ModalHeader = ({
8437
8491
  ]
8438
8492
  }
8439
8493
  ),
8440
- children ? /* @__PURE__ */ jsx127("div", { className: "agg-modal-header-extra", children }) : null
8494
+ children ? /* @__PURE__ */ jsx128("div", { className: "agg-modal-header-extra", children }) : null
8441
8495
  ]
8442
8496
  }
8443
8497
  );
8444
8498
  };
8445
8499
  Modal.Header = ModalHeader;
8446
8500
  var ModalBody = ({ children, classNames }) => {
8447
- return /* @__PURE__ */ jsx127(
8501
+ return /* @__PURE__ */ jsx128(
8448
8502
  "div",
8449
8503
  {
8450
8504
  className: cn(
@@ -8465,7 +8519,7 @@ var ModalFooter = ({
8465
8519
  classNames,
8466
8520
  hideBorder = false
8467
8521
  }) => {
8468
- return /* @__PURE__ */ jsx127(
8522
+ return /* @__PURE__ */ jsx128(
8469
8523
  "div",
8470
8524
  {
8471
8525
  className: cn(
@@ -8488,7 +8542,7 @@ Modal.displayName = "Modal";
8488
8542
  // src/primitives/number-value.tsx
8489
8543
  import { useMemo as useMemo6 } from "react";
8490
8544
  import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8491
- import { jsx as jsx128 } from "react/jsx-runtime";
8545
+ import { jsx as jsx129 } from "react/jsx-runtime";
8492
8546
  var NumberValue = ({
8493
8547
  value,
8494
8548
  format = "number",
@@ -8522,7 +8576,7 @@ var NumberValue = ({
8522
8576
  formatPercent,
8523
8577
  value
8524
8578
  ]);
8525
- return /* @__PURE__ */ jsx128("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8579
+ return /* @__PURE__ */ jsx129("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8526
8580
  };
8527
8581
  NumberValue.displayName = "NumberValue";
8528
8582
 
@@ -8555,7 +8609,7 @@ var resolveIsSelectDisabled = ({
8555
8609
  };
8556
8610
 
8557
8611
  // src/primitives/select/index.tsx
8558
- import { jsx as jsx129, jsxs as jsxs122 } from "react/jsx-runtime";
8612
+ import { jsx as jsx130, jsxs as jsxs123 } from "react/jsx-runtime";
8559
8613
  var SELECT_DROPDOWN_Z = 1e4;
8560
8614
  function resolveSelectPortalContainer(triggerRoot) {
8561
8615
  var _a, _b;
@@ -8674,7 +8728,7 @@ var Select = ({
8674
8728
  };
8675
8729
  const isInline = variant === "inline";
8676
8730
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : isInline ? "rounded-agg-sm" : "rounded-agg-md";
8677
- const listbox = menuRect ? /* @__PURE__ */ jsx129(
8731
+ const listbox = menuRect ? /* @__PURE__ */ jsx130(
8678
8732
  "div",
8679
8733
  {
8680
8734
  ref: portalRef,
@@ -8702,7 +8756,7 @@ var Select = ({
8702
8756
  const isSelected = item.value === value;
8703
8757
  const isHidden = item.hidden === true;
8704
8758
  if (isHidden) return null;
8705
- return /* @__PURE__ */ jsxs122(
8759
+ return /* @__PURE__ */ jsxs123(
8706
8760
  "button",
8707
8761
  {
8708
8762
  type: "button",
@@ -8726,14 +8780,14 @@ var Select = ({
8726
8780
  handleClose();
8727
8781
  },
8728
8782
  children: [
8729
- isInline && isSelected ? /* @__PURE__ */ jsx129(
8783
+ isInline && isSelected ? /* @__PURE__ */ jsx130(
8730
8784
  "span",
8731
8785
  {
8732
8786
  className: "agg-select-item-indicator absolute bottom-2 left-0 top-2 w-1 bg-agg-primary",
8733
8787
  "aria-hidden": true
8734
8788
  }
8735
8789
  ) : null,
8736
- item.icon ? /* @__PURE__ */ jsx129(
8790
+ item.icon ? /* @__PURE__ */ jsx130(
8737
8791
  "span",
8738
8792
  {
8739
8793
  className: cn(
@@ -8742,7 +8796,7 @@ var Select = ({
8742
8796
  ),
8743
8797
  children: item.icon
8744
8798
  }
8745
- ) : item.iconUrl ? /* @__PURE__ */ jsx129(
8799
+ ) : item.iconUrl ? /* @__PURE__ */ jsx130(
8746
8800
  RemoteImage,
8747
8801
  {
8748
8802
  src: item.iconUrl,
@@ -8750,7 +8804,7 @@ var Select = ({
8750
8804
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8751
8805
  }
8752
8806
  ) : null,
8753
- /* @__PURE__ */ jsx129("span", { className: "agg-select-item-label truncate", children: item.label })
8807
+ /* @__PURE__ */ jsx130("span", { className: "agg-select-item-label truncate", children: item.label })
8754
8808
  ]
8755
8809
  },
8756
8810
  item.value
@@ -8758,7 +8812,7 @@ var Select = ({
8758
8812
  })
8759
8813
  }
8760
8814
  ) : null;
8761
- return /* @__PURE__ */ jsxs122(
8815
+ return /* @__PURE__ */ jsxs123(
8762
8816
  "div",
8763
8817
  {
8764
8818
  ref: containerRef,
@@ -8768,7 +8822,7 @@ var Select = ({
8768
8822
  className
8769
8823
  ),
8770
8824
  children: [
8771
- /* @__PURE__ */ jsxs122(
8825
+ /* @__PURE__ */ jsxs123(
8772
8826
  "button",
8773
8827
  {
8774
8828
  type: "button",
@@ -8792,7 +8846,7 @@ var Select = ({
8792
8846
  onPointerEnter: handlePointerEnter,
8793
8847
  onPointerLeave: handlePointerLeave,
8794
8848
  children: [
8795
- (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx129("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx129(
8849
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx130("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx130(
8796
8850
  RemoteImage,
8797
8851
  {
8798
8852
  src: selectedItem.iconUrl,
@@ -8800,18 +8854,18 @@ var Select = ({
8800
8854
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8801
8855
  }
8802
8856
  ) : null,
8803
- /* @__PURE__ */ jsx129("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
8857
+ /* @__PURE__ */ jsx130("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
8804
8858
  ]
8805
8859
  }
8806
8860
  ),
8807
- /* @__PURE__ */ jsx129(
8861
+ /* @__PURE__ */ jsx130(
8808
8862
  "span",
8809
8863
  {
8810
8864
  className: cn(
8811
8865
  "agg-select-chevron pointer-events-none absolute inset-y-0 inline-flex items-center justify-center",
8812
8866
  isInline ? "right-2 text-agg-foreground" : "right-3 text-agg-muted-foreground"
8813
8867
  ),
8814
- children: /* @__PURE__ */ jsx129(
8868
+ children: /* @__PURE__ */ jsx130(
8815
8869
  Icon,
8816
8870
  {
8817
8871
  name: isOpen ? "chevron-up" : "chevron-down-thin",
@@ -8927,7 +8981,7 @@ var getTypographyClassName = ({
8927
8981
  };
8928
8982
 
8929
8983
  // src/primitives/typography/index.tsx
8930
- import { jsx as jsx130 } from "react/jsx-runtime";
8984
+ import { jsx as jsx131 } from "react/jsx-runtime";
8931
8985
  var Typography = ({
8932
8986
  as: Component2 = "p",
8933
8987
  variant = "body",
@@ -8935,7 +8989,7 @@ var Typography = ({
8935
8989
  children,
8936
8990
  "aria-label": ariaLabel
8937
8991
  }) => {
8938
- return /* @__PURE__ */ jsx130(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
8992
+ return /* @__PURE__ */ jsx131(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
8939
8993
  };
8940
8994
  Typography.displayName = "Typography";
8941
8995
 
@@ -8948,7 +9002,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
8948
9002
  };
8949
9003
 
8950
9004
  // src/primitives/state-message/index.tsx
8951
- import { jsx as jsx131, jsxs as jsxs123 } from "react/jsx-runtime";
9005
+ import { jsx as jsx132, jsxs as jsxs124 } from "react/jsx-runtime";
8952
9006
  var StateMessage = (_a) => {
8953
9007
  var _b = _a, {
8954
9008
  icon,
@@ -8969,7 +9023,7 @@ var StateMessage = (_a) => {
8969
9023
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
8970
9024
  "aria-hidden": true
8971
9025
  });
8972
- return /* @__PURE__ */ jsx131(
9026
+ return /* @__PURE__ */ jsx132(
8973
9027
  "div",
8974
9028
  __spreadProps(__spreadValues({}, rest), {
8975
9029
  className: cn(
@@ -8980,7 +9034,7 @@ var StateMessage = (_a) => {
8980
9034
  role: "status",
8981
9035
  "aria-live": "polite",
8982
9036
  "aria-label": title2,
8983
- children: /* @__PURE__ */ jsxs123(
9037
+ children: /* @__PURE__ */ jsxs124(
8984
9038
  "div",
8985
9039
  {
8986
9040
  className: cn(
@@ -8989,7 +9043,7 @@ var StateMessage = (_a) => {
8989
9043
  ),
8990
9044
  children: [
8991
9045
  resolvedIcon,
8992
- /* @__PURE__ */ jsxs123(
9046
+ /* @__PURE__ */ jsxs124(
8993
9047
  "div",
8994
9048
  {
8995
9049
  className: cn(
@@ -8997,8 +9051,8 @@ var StateMessage = (_a) => {
8997
9051
  classNames == null ? void 0 : classNames.text
8998
9052
  ),
8999
9053
  children: [
9000
- /* @__PURE__ */ jsx131(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9001
- description ? /* @__PURE__ */ jsx131(
9054
+ /* @__PURE__ */ jsx132(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9055
+ description ? /* @__PURE__ */ jsx132(
9002
9056
  Typography,
9003
9057
  {
9004
9058
  variant: "label",
@@ -9009,7 +9063,7 @@ var StateMessage = (_a) => {
9009
9063
  ]
9010
9064
  }
9011
9065
  ),
9012
- hasAction ? /* @__PURE__ */ jsx131(
9066
+ hasAction ? /* @__PURE__ */ jsx132(
9013
9067
  Button,
9014
9068
  {
9015
9069
  variant: "tertiary",
@@ -9111,7 +9165,7 @@ var findEdgeEnabledIndex = (items, direction) => {
9111
9165
  };
9112
9166
 
9113
9167
  // src/primitives/tabs/index.tsx
9114
- import { Fragment as Fragment9, jsx as jsx132, jsxs as jsxs124 } from "react/jsx-runtime";
9168
+ import { Fragment as Fragment9, jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9115
9169
  var getTabButtonClassName = ({
9116
9170
  enableAnimations,
9117
9171
  isBarVariant,
@@ -9432,7 +9486,7 @@ var Tabs = ({
9432
9486
  });
9433
9487
  }, [enableAnimations, renderedItems, shouldUseOverflowScroll, updateScrollState, value]);
9434
9488
  if (shouldUseOverflowSelect) {
9435
- return /* @__PURE__ */ jsx132("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx132(
9489
+ return /* @__PURE__ */ jsx133("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx133(
9436
9490
  Select,
9437
9491
  {
9438
9492
  ariaLabel,
@@ -9444,7 +9498,7 @@ var Tabs = ({
9444
9498
  }
9445
9499
  ) });
9446
9500
  }
9447
- return /* @__PURE__ */ jsxs124(
9501
+ return /* @__PURE__ */ jsxs125(
9448
9502
  "div",
9449
9503
  {
9450
9504
  className: cn(
@@ -9455,7 +9509,7 @@ var Tabs = ({
9455
9509
  classNames == null ? void 0 : classNames.root
9456
9510
  ),
9457
9511
  children: [
9458
- /* @__PURE__ */ jsxs124(
9512
+ /* @__PURE__ */ jsxs125(
9459
9513
  "div",
9460
9514
  {
9461
9515
  ref: tabListRef,
@@ -9469,7 +9523,7 @@ var Tabs = ({
9469
9523
  onPointerUp: handleEndTabListDrag,
9470
9524
  onWheel: handleTabListWheel,
9471
9525
  children: [
9472
- shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx132(
9526
+ shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx133(
9473
9527
  "span",
9474
9528
  {
9475
9529
  "aria-hidden": true,
@@ -9480,7 +9534,7 @@ var Tabs = ({
9480
9534
  var _a;
9481
9535
  const isActive = item.value === value;
9482
9536
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
9483
- return /* @__PURE__ */ jsxs124(
9537
+ return /* @__PURE__ */ jsxs125(
9484
9538
  "button",
9485
9539
  {
9486
9540
  ref: (buttonElement) => {
@@ -9516,7 +9570,7 @@ var Tabs = ({
9516
9570
  ),
9517
9571
  children: [
9518
9572
  item.icon ? item.icon : null,
9519
- /* @__PURE__ */ jsxs124(
9573
+ /* @__PURE__ */ jsxs125(
9520
9574
  "span",
9521
9575
  {
9522
9576
  className: cn(
@@ -9534,7 +9588,7 @@ var Tabs = ({
9534
9588
  item.value
9535
9589
  );
9536
9590
  }),
9537
- !isBarVariant ? /* @__PURE__ */ jsx132(
9591
+ !isBarVariant ? /* @__PURE__ */ jsx133(
9538
9592
  "span",
9539
9593
  {
9540
9594
  "aria-hidden": true,
@@ -9553,8 +9607,8 @@ var Tabs = ({
9553
9607
  ]
9554
9608
  }
9555
9609
  ),
9556
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs124(Fragment9, { children: [
9557
- /* @__PURE__ */ jsx132(
9610
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9611
+ /* @__PURE__ */ jsx133(
9558
9612
  "span",
9559
9613
  {
9560
9614
  "aria-hidden": true,
@@ -9566,7 +9620,7 @@ var Tabs = ({
9566
9620
  )
9567
9621
  }
9568
9622
  ),
9569
- /* @__PURE__ */ jsx132(
9623
+ /* @__PURE__ */ jsx133(
9570
9624
  "span",
9571
9625
  {
9572
9626
  "aria-hidden": true,
@@ -9579,8 +9633,8 @@ var Tabs = ({
9579
9633
  }
9580
9634
  )
9581
9635
  ] }) : null,
9582
- shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs124(Fragment9, { children: [
9583
- /* @__PURE__ */ jsx132(
9636
+ shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9637
+ /* @__PURE__ */ jsx133(
9584
9638
  "button",
9585
9639
  {
9586
9640
  type: "button",
@@ -9602,10 +9656,10 @@ var Tabs = ({
9602
9656
  behavior: getScrollBehavior(enableAnimations)
9603
9657
  });
9604
9658
  },
9605
- children: /* @__PURE__ */ jsx132(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9659
+ children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9606
9660
  }
9607
9661
  ),
9608
- /* @__PURE__ */ jsx132(
9662
+ /* @__PURE__ */ jsx133(
9609
9663
  "button",
9610
9664
  {
9611
9665
  type: "button",
@@ -9627,7 +9681,7 @@ var Tabs = ({
9627
9681
  behavior: getScrollBehavior(enableAnimations)
9628
9682
  });
9629
9683
  },
9630
- children: /* @__PURE__ */ jsx132(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9684
+ children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9631
9685
  }
9632
9686
  )
9633
9687
  ] }) : null
@@ -9647,7 +9701,7 @@ import {
9647
9701
  useRef as useRef10,
9648
9702
  useState as useState11
9649
9703
  } from "react";
9650
- import { jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9704
+ import { jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
9651
9705
  var DEFAULT_DURATION_MS = 5e3;
9652
9706
  var EXIT_ANIMATION_MS = 350;
9653
9707
  var TONE_ACCENT_CLASS = {
@@ -9696,9 +9750,9 @@ function ToastProvider({
9696
9750
  },
9697
9751
  [defaultDurationMs]
9698
9752
  );
9699
- return /* @__PURE__ */ jsx133(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs125(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9753
+ return /* @__PURE__ */ jsx134(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs126(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9700
9754
  children,
9701
- toasts.map((entry) => /* @__PURE__ */ jsx133(
9755
+ toasts.map((entry) => /* @__PURE__ */ jsx134(
9702
9756
  ToastRow,
9703
9757
  {
9704
9758
  entry,
@@ -9708,7 +9762,7 @@ function ToastProvider({
9708
9762
  },
9709
9763
  entry.id
9710
9764
  )),
9711
- /* @__PURE__ */ jsx133(
9765
+ /* @__PURE__ */ jsx134(
9712
9766
  RadixToast.Viewport,
9713
9767
  {
9714
9768
  className: cn(
@@ -9788,7 +9842,7 @@ function ToastRow({ entry, onOpenChange }) {
9788
9842
  clearCloseTimer();
9789
9843
  };
9790
9844
  }, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
9791
- return /* @__PURE__ */ jsxs125(
9845
+ return /* @__PURE__ */ jsxs126(
9792
9846
  RadixToast.Root,
9793
9847
  {
9794
9848
  open: isOpen,
@@ -9809,7 +9863,7 @@ function ToastRow({ entry, onOpenChange }) {
9809
9863
  TONE_ACCENT_CLASS[entry.tone]
9810
9864
  ),
9811
9865
  children: [
9812
- /* @__PURE__ */ jsx133(
9866
+ /* @__PURE__ */ jsx134(
9813
9867
  Icon,
9814
9868
  {
9815
9869
  name: TONE_ICON_NAME[entry.tone],
@@ -9817,25 +9871,25 @@ function ToastRow({ entry, onOpenChange }) {
9817
9871
  "aria-hidden": "true"
9818
9872
  }
9819
9873
  ),
9820
- /* @__PURE__ */ jsxs125("div", { className: "min-w-0 flex-1", children: [
9821
- entry.title ? /* @__PURE__ */ jsx133(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
9822
- /* @__PURE__ */ jsx133(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
9823
- entry.detail ? /* @__PURE__ */ jsx133("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground wrap-break-word", children: entry.detail }) : null
9874
+ /* @__PURE__ */ jsxs126("div", { className: "min-w-0 flex-1", children: [
9875
+ entry.title ? /* @__PURE__ */ jsx134(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
9876
+ /* @__PURE__ */ jsx134(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
9877
+ entry.detail ? /* @__PURE__ */ jsx134("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground wrap-break-word", children: entry.detail }) : null
9824
9878
  ] }),
9825
- /* @__PURE__ */ jsx133(
9879
+ /* @__PURE__ */ jsx134(
9826
9880
  RadixToast.Close,
9827
9881
  {
9828
9882
  "aria-label": "Dismiss",
9829
9883
  className: "absolute top-4 right-4 cursor-pointer text-agg-foreground transition-opacity hover:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary",
9830
- children: /* @__PURE__ */ jsx133(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
9884
+ children: /* @__PURE__ */ jsx134(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
9831
9885
  }
9832
9886
  ),
9833
- /* @__PURE__ */ jsx133(
9887
+ /* @__PURE__ */ jsx134(
9834
9888
  "div",
9835
9889
  {
9836
9890
  className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
9837
9891
  "aria-hidden": "true",
9838
- children: /* @__PURE__ */ jsx133(
9892
+ children: /* @__PURE__ */ jsx134(
9839
9893
  "div",
9840
9894
  {
9841
9895
  "data-testid": "agg-toast-progress",
@@ -9897,7 +9951,7 @@ var resolveTooltipArrowDimensions = (size) => {
9897
9951
  };
9898
9952
 
9899
9953
  // src/primitives/tooltip/index.tsx
9900
- import { jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
9954
+ import { jsx as jsx135, jsxs as jsxs127 } from "react/jsx-runtime";
9901
9955
  var Tooltip = ({
9902
9956
  content,
9903
9957
  children,
@@ -9915,22 +9969,22 @@ var Tooltip = ({
9915
9969
  } = useSdkUiConfig16();
9916
9970
  const trigger = useMemo8(() => {
9917
9971
  if (children) return children;
9918
- return /* @__PURE__ */ jsx134(
9972
+ return /* @__PURE__ */ jsx135(
9919
9973
  "button",
9920
9974
  {
9921
9975
  type: "button",
9922
9976
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
9923
9977
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
9924
- children: /* @__PURE__ */ jsx134(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
9978
+ children: /* @__PURE__ */ jsx135(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
9925
9979
  }
9926
9980
  );
9927
9981
  }, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
9928
9982
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
9929
9983
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
9930
9984
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
9931
- return /* @__PURE__ */ jsx134(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs126(TooltipPrimitive.Root, { children: [
9932
- /* @__PURE__ */ jsx134(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
9933
- /* @__PURE__ */ jsx134(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs126(
9985
+ return /* @__PURE__ */ jsx135(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs127(TooltipPrimitive.Root, { children: [
9986
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
9987
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs127(
9934
9988
  TooltipPrimitive.Content,
9935
9989
  {
9936
9990
  side,
@@ -9954,7 +10008,7 @@ var Tooltip = ({
9954
10008
  classNames == null ? void 0 : classNames.content
9955
10009
  ),
9956
10010
  children: [
9957
- /* @__PURE__ */ jsx134(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs126(
10011
+ /* @__PURE__ */ jsx135(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs127(
9958
10012
  "svg",
9959
10013
  {
9960
10014
  width: arrowWidth,
@@ -9963,8 +10017,8 @@ var Tooltip = ({
9963
10017
  "aria-hidden": "true",
9964
10018
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
9965
10019
  children: [
9966
- /* @__PURE__ */ jsx134("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
9967
- /* @__PURE__ */ jsx134(
10020
+ /* @__PURE__ */ jsx135("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10021
+ /* @__PURE__ */ jsx135(
9968
10022
  "path",
9969
10023
  {
9970
10024
  d: arrowBorderPath,