@agg-build/ui 4.9.1 → 4.10.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 (36) hide show
  1. package/dist/{chunk-GKYBQEBC.mjs → chunk-4HTE5IEZ.mjs} +43 -26
  2. package/dist/{chunk-TNNLRRHC.mjs → chunk-6EHT5OFU.mjs} +1 -1
  3. package/dist/{chunk-GVIS3YXU.mjs → chunk-H5LCCV2J.mjs} +22 -11
  4. package/dist/{chunk-GG57TRNE.mjs → chunk-I72YHWOI.mjs} +2 -2
  5. package/dist/{chunk-XQLLZTEW.mjs → chunk-SMQRUNMZ.mjs} +19 -10
  6. package/dist/{chunk-H7L4HDXS.mjs → chunk-TXQJUVRW.mjs} +3 -2
  7. package/dist/{chunk-NYL6A6AD.mjs → chunk-W7HQVQ22.mjs} +257 -195
  8. package/dist/events.js +753 -680
  9. package/dist/events.mjs +3 -3
  10. package/dist/index.js +2703 -2603
  11. package/dist/index.mjs +7 -7
  12. package/dist/modals.js +1352 -1289
  13. package/dist/modals.mjs +3 -3
  14. package/dist/pages.js +2063 -1963
  15. package/dist/pages.mjs +6 -6
  16. package/dist/primitives.js +288 -226
  17. package/dist/primitives.mjs +1 -1
  18. package/dist/trading.js +845 -765
  19. package/dist/trading.mjs +4 -4
  20. package/dist/types/events/item-details/event-list-item-details.types.d.mts +2 -0
  21. package/dist/types/events/item-details/event-list-item-details.types.d.ts +2 -0
  22. package/dist/types/pages/event-market/event-market.types.d.mts +2 -0
  23. package/dist/types/pages/event-market/event-market.types.d.ts +2 -0
  24. package/dist/types/pages/event-market/sports-event-market-page.d.mts +1 -1
  25. package/dist/types/pages/event-market/sports-event-market-page.d.ts +1 -1
  26. package/dist/types/pages/user-profile/user-profile.types.d.mts +2 -0
  27. package/dist/types/pages/user-profile/user-profile.types.d.ts +2 -0
  28. package/dist/types/primitives/venue-logo/svg/logo-pred.d.mts +10 -0
  29. package/dist/types/primitives/venue-logo/svg/logo-pred.d.ts +10 -0
  30. package/dist/types/trading/place-order/index.place-order.execution-view.d.mts +2 -1
  31. package/dist/types/trading/place-order/index.place-order.execution-view.d.ts +2 -1
  32. package/dist/types/trading/place-order/index.place-order.types.d.mts +8 -0
  33. package/dist/types/trading/place-order/index.place-order.types.d.ts +8 -0
  34. package/dist/types/trading/place-order/index.place-order.utils.d.mts +1 -1
  35. package/dist/types/trading/place-order/index.place-order.utils.d.ts +1 -1
  36. package/package.json +3 -3
@@ -6753,11 +6753,11 @@ var LogoPolymarketIcon = (_a) => {
6753
6753
  };
6754
6754
  LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6755
6755
 
6756
- // src/primitives/venue-logo/svg/logo-predict.tsx
6756
+ // src/primitives/venue-logo/svg/logo-pred.tsx
6757
6757
  import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
6758
- import { Venue as Venue8 } from "@agg-build/sdk";
6759
6758
  import { jsx as jsx126, jsxs as jsxs121 } from "react/jsx-runtime";
6760
- var LogoPredictIcon = (_a) => {
6759
+ var PRED_LOGO_COLORS = { light: "#120C06", dark: "#F4FB37" };
6760
+ var LogoPredIcon = (_a) => {
6761
6761
  var _b = _a, {
6762
6762
  title: title2,
6763
6763
  className,
@@ -6769,26 +6769,80 @@ var LogoPredictIcon = (_a) => {
6769
6769
  "isColor",
6770
6770
  "color"
6771
6771
  ]);
6772
- var _a2;
6773
6772
  const {
6774
6773
  general: { theme }
6775
6774
  } = useAggUiConfig8();
6776
6775
  const isDarkTheme = theme === "dark";
6777
6776
  const primaryColor = resolveLogoPrimaryColor({
6778
- brandColor: (_a2 = resolveVenueLineColor(Venue8.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6777
+ brandColor: PRED_LOGO_COLORS[isDarkTheme ? "dark" : "light"],
6779
6778
  isColor,
6780
6779
  color
6781
6780
  });
6782
6781
  return /* @__PURE__ */ jsxs121(
6783
6782
  "svg",
6784
6783
  __spreadProps(__spreadValues(__spreadValues({
6785
- viewBox: "0 0 100 100",
6784
+ viewBox: "0 0 48 48",
6786
6785
  className,
6787
6786
  fill: "none"
6788
6787
  }, getIconA11yProps(title2)), props), {
6789
6788
  children: [
6790
6789
  title2 ? /* @__PURE__ */ jsx126("title", { children: title2 }) : null,
6791
6790
  /* @__PURE__ */ jsx126(
6791
+ "path",
6792
+ {
6793
+ d: "M13.2063 24.447L30.8869 21.6235L31.7298 19.898L4 10.4414L10.9436 16.4694L5.95218 41.9708L13.2063 24.447Z",
6794
+ fill: primaryColor
6795
+ }
6796
+ ),
6797
+ /* @__PURE__ */ jsx126(
6798
+ "path",
6799
+ {
6800
+ d: "M34.3927 24.0014L16.7121 26.8473L15.8691 28.5504L43.599 38.0294L36.6554 31.979L41.6468 6.5L34.3927 24.0014Z",
6801
+ fill: primaryColor
6802
+ }
6803
+ )
6804
+ ]
6805
+ })
6806
+ );
6807
+ };
6808
+ LogoPredIcon.displayName = "LogoPredIcon";
6809
+
6810
+ // src/primitives/venue-logo/svg/logo-predict.tsx
6811
+ import { useAggUiConfig as useAggUiConfig9 } from "@agg-build/hooks";
6812
+ import { Venue as Venue8 } from "@agg-build/sdk";
6813
+ import { jsx as jsx127, jsxs as jsxs122 } from "react/jsx-runtime";
6814
+ var LogoPredictIcon = (_a) => {
6815
+ var _b = _a, {
6816
+ title: title2,
6817
+ className,
6818
+ isColor = true,
6819
+ color
6820
+ } = _b, props = __objRest(_b, [
6821
+ "title",
6822
+ "className",
6823
+ "isColor",
6824
+ "color"
6825
+ ]);
6826
+ var _a2;
6827
+ const {
6828
+ general: { theme }
6829
+ } = useAggUiConfig9();
6830
+ const isDarkTheme = theme === "dark";
6831
+ const primaryColor = resolveLogoPrimaryColor({
6832
+ brandColor: (_a2 = resolveVenueLineColor(Venue8.predict, isDarkTheme)) != null ? _a2 : "#705bf6",
6833
+ isColor,
6834
+ color
6835
+ });
6836
+ return /* @__PURE__ */ jsxs122(
6837
+ "svg",
6838
+ __spreadProps(__spreadValues(__spreadValues({
6839
+ viewBox: "0 0 100 100",
6840
+ className,
6841
+ fill: "none"
6842
+ }, getIconA11yProps(title2)), props), {
6843
+ children: [
6844
+ title2 ? /* @__PURE__ */ jsx127("title", { children: title2 }) : null,
6845
+ /* @__PURE__ */ jsx127(
6792
6846
  "path",
6793
6847
  {
6794
6848
  fillRule: "evenodd",
@@ -6804,9 +6858,9 @@ var LogoPredictIcon = (_a) => {
6804
6858
  LogoPredictIcon.displayName = "LogoPredictIcon";
6805
6859
 
6806
6860
  // src/primitives/venue-logo/svg/logo-probable.tsx
6807
- import { useAggUiConfig as useAggUiConfig9 } from "@agg-build/hooks";
6861
+ import { useAggUiConfig as useAggUiConfig10 } from "@agg-build/hooks";
6808
6862
  import { Venue as Venue9 } from "@agg-build/sdk";
6809
- import { jsx as jsx127, jsxs as jsxs122 } from "react/jsx-runtime";
6863
+ import { jsx as jsx128, jsxs as jsxs123 } from "react/jsx-runtime";
6810
6864
  var LogoProbableIcon = (_a) => {
6811
6865
  var _b = _a, {
6812
6866
  title: title2,
@@ -6822,14 +6876,14 @@ var LogoProbableIcon = (_a) => {
6822
6876
  var _a2;
6823
6877
  const {
6824
6878
  general: { theme }
6825
- } = useAggUiConfig9();
6879
+ } = useAggUiConfig10();
6826
6880
  const isDarkTheme = theme === "dark";
6827
6881
  const primaryColor = resolveLogoPrimaryColor({
6828
6882
  brandColor: (_a2 = resolveVenueLineColor(Venue9.probable, isDarkTheme)) != null ? _a2 : "#EC4899",
6829
6883
  isColor,
6830
6884
  color
6831
6885
  });
6832
- return /* @__PURE__ */ jsxs122(
6886
+ return /* @__PURE__ */ jsxs123(
6833
6887
  "svg",
6834
6888
  __spreadProps(__spreadValues(__spreadValues({
6835
6889
  viewBox: "0 0 100 100",
@@ -6837,16 +6891,16 @@ var LogoProbableIcon = (_a) => {
6837
6891
  fill: "none"
6838
6892
  }, getIconA11yProps(title2)), props), {
6839
6893
  children: [
6840
- title2 ? /* @__PURE__ */ jsx127("title", { children: title2 }) : null,
6841
- /* @__PURE__ */ jsx127(
6894
+ title2 ? /* @__PURE__ */ jsx128("title", { children: title2 }) : null,
6895
+ /* @__PURE__ */ jsx128(
6842
6896
  "path",
6843
6897
  {
6844
6898
  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",
6845
6899
  fill: primaryColor
6846
6900
  }
6847
6901
  ),
6848
- /* @__PURE__ */ jsx127("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6849
- /* @__PURE__ */ jsx127(
6902
+ /* @__PURE__ */ jsx128("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6903
+ /* @__PURE__ */ jsx128(
6850
6904
  "path",
6851
6905
  {
6852
6906
  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",
@@ -6860,10 +6914,10 @@ var LogoProbableIcon = (_a) => {
6860
6914
  LogoProbableIcon.displayName = "LogoProbableIcon";
6861
6915
 
6862
6916
  // src/primitives/venue-logo/svg/logo-prophetx.tsx
6863
- import { useAggUiConfig as useAggUiConfig10 } from "@agg-build/hooks";
6917
+ import { useAggUiConfig as useAggUiConfig11 } from "@agg-build/hooks";
6864
6918
  import { Venue as Venue10 } from "@agg-build/sdk";
6865
6919
  import { useId } from "react";
6866
- import { jsx as jsx128, jsxs as jsxs123 } from "react/jsx-runtime";
6920
+ import { jsx as jsx129, jsxs as jsxs124 } from "react/jsx-runtime";
6867
6921
  var LogoProphetXIcon = (_a) => {
6868
6922
  var _b = _a, {
6869
6923
  title: title2,
@@ -6879,7 +6933,7 @@ var LogoProphetXIcon = (_a) => {
6879
6933
  var _a2;
6880
6934
  const {
6881
6935
  general: { theme }
6882
- } = useAggUiConfig10();
6936
+ } = useAggUiConfig11();
6883
6937
  const isDarkTheme = theme === "dark";
6884
6938
  const uid = useId();
6885
6939
  const primaryColor = resolveLogoPrimaryColor({
@@ -6891,7 +6945,7 @@ var LogoProphetXIcon = (_a) => {
6891
6945
  const isMonochrome = !isColor || Boolean(color == null ? void 0 : color.trim());
6892
6946
  const gradientTransform = "matrix(2.750846, 0, 0, 2.750846, -1935.152964, 138.485876)";
6893
6947
  const fillFor = (n) => isMonochrome ? primaryColor : `url(#${uid}-${n})`;
6894
- return /* @__PURE__ */ jsxs123(
6948
+ return /* @__PURE__ */ jsxs124(
6895
6949
  "svg",
6896
6950
  __spreadProps(__spreadValues(__spreadValues({
6897
6951
  viewBox: "81.867 138.419 424.492 272.214",
@@ -6899,9 +6953,9 @@ var LogoProphetXIcon = (_a) => {
6899
6953
  fill: "none"
6900
6954
  }, getIconA11yProps(title2)), props), {
6901
6955
  children: [
6902
- title2 ? /* @__PURE__ */ jsx128("title", { children: title2 }) : null,
6903
- isMonochrome ? null : /* @__PURE__ */ jsxs123("defs", { children: [
6904
- /* @__PURE__ */ jsxs123(
6956
+ title2 ? /* @__PURE__ */ jsx129("title", { children: title2 }) : null,
6957
+ isMonochrome ? null : /* @__PURE__ */ jsxs124("defs", { children: [
6958
+ /* @__PURE__ */ jsxs124(
6905
6959
  "linearGradient",
6906
6960
  {
6907
6961
  id: `${uid}-0`,
@@ -6912,14 +6966,14 @@ var LogoProphetXIcon = (_a) => {
6912
6966
  gradientUnits: "userSpaceOnUse",
6913
6967
  gradientTransform,
6914
6968
  children: [
6915
- /* @__PURE__ */ jsx128("stop", { stopColor: "#1DC29A" }),
6916
- /* @__PURE__ */ jsx128("stop", { offset: "0.1032", stopColor: "#19BE9D" }),
6917
- /* @__PURE__ */ jsx128("stop", { offset: "0.6255", stopColor: "#06ADAA" }),
6918
- /* @__PURE__ */ jsx128("stop", { offset: "1", stopColor: "#00A7AF" })
6969
+ /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
6970
+ /* @__PURE__ */ jsx129("stop", { offset: "0.1032", stopColor: "#19BE9D" }),
6971
+ /* @__PURE__ */ jsx129("stop", { offset: "0.6255", stopColor: "#06ADAA" }),
6972
+ /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
6919
6973
  ]
6920
6974
  }
6921
6975
  ),
6922
- /* @__PURE__ */ jsxs123(
6976
+ /* @__PURE__ */ jsxs124(
6923
6977
  "linearGradient",
6924
6978
  {
6925
6979
  id: `${uid}-1`,
@@ -6930,12 +6984,12 @@ var LogoProphetXIcon = (_a) => {
6930
6984
  gradientUnits: "userSpaceOnUse",
6931
6985
  gradientTransform,
6932
6986
  children: [
6933
- /* @__PURE__ */ jsx128("stop", { stopColor: "#1DC29A" }),
6934
- /* @__PURE__ */ jsx128("stop", { offset: "1", stopColor: "#00A7AF" })
6987
+ /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
6988
+ /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
6935
6989
  ]
6936
6990
  }
6937
6991
  ),
6938
- /* @__PURE__ */ jsxs123(
6992
+ /* @__PURE__ */ jsxs124(
6939
6993
  "linearGradient",
6940
6994
  {
6941
6995
  id: `${uid}-2`,
@@ -6946,29 +7000,29 @@ var LogoProphetXIcon = (_a) => {
6946
7000
  gradientUnits: "userSpaceOnUse",
6947
7001
  gradientTransform,
6948
7002
  children: [
6949
- /* @__PURE__ */ jsx128("stop", { stopColor: "#1DC29A" }),
6950
- /* @__PURE__ */ jsx128("stop", { offset: "0.3631", stopColor: "#18BD9E" }),
6951
- /* @__PURE__ */ jsx128("stop", { offset: "0.802", stopColor: "#09AFA8" }),
6952
- /* @__PURE__ */ jsx128("stop", { offset: "1", stopColor: "#00A7AF" })
7003
+ /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
7004
+ /* @__PURE__ */ jsx129("stop", { offset: "0.3631", stopColor: "#18BD9E" }),
7005
+ /* @__PURE__ */ jsx129("stop", { offset: "0.802", stopColor: "#09AFA8" }),
7006
+ /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
6953
7007
  ]
6954
7008
  }
6955
7009
  )
6956
7010
  ] }),
6957
- /* @__PURE__ */ jsx128(
7011
+ /* @__PURE__ */ jsx129(
6958
7012
  "path",
6959
7013
  {
6960
7014
  d: "M 282.449 326.493 L 332.847 402.716 L 426.472 402.716 L 344.879 279.66 L 282.449 326.493 Z",
6961
7015
  fill: fillFor(0)
6962
7016
  }
6963
7017
  ),
6964
- /* @__PURE__ */ jsx128(
7018
+ /* @__PURE__ */ jsx129(
6965
7019
  "path",
6966
7020
  {
6967
7021
  d: "M 379.966 146.995 L 389.569 161.125 L 313.636 218.145 L 307.055 222.927 L 244.624 269.759 L 238 274.873 L 162.069 331.56 L 152.804 317.473 L 87.353 402.71 L 209.197 402.71 L 199.888 388.287 L 275.818 331.56 L 282.443 326.488 L 344.873 279.655 L 351.456 274.832 L 427.388 218.145 L 436.694 232.232 L 502.101 146.995 L 379.966 146.995 Z",
6968
7022
  fill: fillFor(1)
6969
7023
  }
6970
7024
  ),
6971
- /* @__PURE__ */ jsx128(
7025
+ /* @__PURE__ */ jsx129(
6972
7026
  "path",
6973
7027
  {
6974
7028
  d: "M 162.993 146.995 L 244.624 269.759 L 307.055 222.927 L 256.323 146.995 L 162.993 146.995 Z",
@@ -6987,6 +7041,7 @@ var venueLogoRegistry = {
6987
7041
  [Venue11.limitless]: LogoLimitlessIcon,
6988
7042
  [Venue11.opinion]: LogoOpinionIcon,
6989
7043
  [Venue11.polymarket]: LogoPolymarketIcon,
7044
+ [Venue11.pred]: LogoPredIcon,
6990
7045
  [Venue11.predict]: LogoPredictIcon,
6991
7046
  [Venue11.probable]: LogoProbableIcon,
6992
7047
  [Venue11.myriad]: LogoMyriadIcon,
@@ -7001,6 +7056,9 @@ var venueLogoUrlRegistry = {
7001
7056
  [Venue11.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
7002
7057
  [Venue11.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
7003
7058
  [Venue11.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
7059
+ // PRED does not yet have a mirrored Snag asset. Its official production
7060
+ // favicon is the same square brand mark used by the application itself.
7061
+ [Venue11.pred]: "https://mainnet-assets.pred.app/assets/vite-oruAfoK1.svg",
7004
7062
  [Venue11.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
7005
7063
  [Venue11.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
7006
7064
  [Venue11.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
@@ -7016,6 +7074,7 @@ var venueLogoLabels = {
7016
7074
  [Venue11.limitless]: "Limitless",
7017
7075
  [Venue11.opinion]: "Opinion",
7018
7076
  [Venue11.polymarket]: "Polymarket",
7077
+ [Venue11.pred]: "PRED",
7019
7078
  [Venue11.predict]: "Predict",
7020
7079
  [Venue11.probable]: "Probable",
7021
7080
  [Venue11.myriad]: "Myriad",
@@ -7036,6 +7095,8 @@ var lineColorByVenue = {
7036
7095
  [Venue11.limitless]: "#C4FF00",
7037
7096
  [Venue11.opinion]: "#000000",
7038
7097
  [Venue11.polymarket]: "#2E5CFF",
7098
+ // On light surfaces use the dark half of PRED's official yellow/dark mark.
7099
+ [Venue11.pred]: PRED_LOGO_COLORS.light,
7039
7100
  [Venue11.predict]: "#6D57F8",
7040
7101
  [Venue11.probable]: "#F05923",
7041
7102
  [Venue11.myriad]: "#000000",
@@ -7055,6 +7116,7 @@ var lineColorByVenue = {
7055
7116
  [Venue11.limitless]: "#C4FF00",
7056
7117
  [Venue11.opinion]: "#FFFFFF",
7057
7118
  [Venue11.polymarket]: "#2E5CFF",
7119
+ [Venue11.pred]: PRED_LOGO_COLORS.dark,
7058
7120
  [Venue11.predict]: "#6D57F8",
7059
7121
  [Venue11.probable]: "#F05923",
7060
7122
  [Venue11.myriad]: "#FFFFFF",
@@ -7099,7 +7161,7 @@ var resolveVenueLogoIsColor = ({
7099
7161
  };
7100
7162
 
7101
7163
  // src/primitives/venue-logo/index.tsx
7102
- import { jsx as jsx129 } from "react/jsx-runtime";
7164
+ import { jsx as jsx130 } from "react/jsx-runtime";
7103
7165
  var VenueLogo = ({
7104
7166
  venue,
7105
7167
  variant = "icon",
@@ -7125,7 +7187,7 @@ var VenueLogo = ({
7125
7187
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
7126
7188
  }
7127
7189
  if (variant === "logo") {
7128
- return /* @__PURE__ */ jsx129(
7190
+ return /* @__PURE__ */ jsx130(
7129
7191
  RemoteImage,
7130
7192
  {
7131
7193
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -7140,7 +7202,7 @@ var VenueLogo = ({
7140
7202
  isColor,
7141
7203
  isMonochromatic
7142
7204
  });
7143
- return /* @__PURE__ */ jsx129(
7205
+ return /* @__PURE__ */ jsx130(
7144
7206
  Component2,
7145
7207
  {
7146
7208
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -7679,7 +7741,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
7679
7741
  };
7680
7742
 
7681
7743
  // src/primitives/search/index.tsx
7682
- import { Fragment as Fragment5, jsx as jsx130, jsxs as jsxs124 } from "react/jsx-runtime";
7744
+ import { Fragment as Fragment5, jsx as jsx131, jsxs as jsxs125 } from "react/jsx-runtime";
7683
7745
  var SearchResultRow = ({
7684
7746
  item,
7685
7747
  resultAria,
@@ -7693,7 +7755,7 @@ var SearchResultRow = ({
7693
7755
  const handleResultPointerDown = (event) => {
7694
7756
  event.preventDefault();
7695
7757
  };
7696
- return /* @__PURE__ */ jsxs124(
7758
+ return /* @__PURE__ */ jsxs125(
7697
7759
  "button",
7698
7760
  {
7699
7761
  type: "button",
@@ -7711,8 +7773,8 @@ var SearchResultRow = ({
7711
7773
  onClick: handleResultClick,
7712
7774
  "aria-label": resultAria(item.title),
7713
7775
  children: [
7714
- /* @__PURE__ */ jsxs124("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7715
- /* @__PURE__ */ jsx130(
7776
+ /* @__PURE__ */ jsxs125("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7777
+ /* @__PURE__ */ jsx131(
7716
7778
  RemoteImage,
7717
7779
  {
7718
7780
  src: item.thumbnailSrc,
@@ -7724,8 +7786,8 @@ var SearchResultRow = ({
7724
7786
  )
7725
7787
  }
7726
7788
  ),
7727
- /* @__PURE__ */ jsxs124("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7728
- /* @__PURE__ */ jsx130(
7789
+ /* @__PURE__ */ jsxs125("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7790
+ /* @__PURE__ */ jsx131(
7729
7791
  "p",
7730
7792
  {
7731
7793
  className: cn(
@@ -7736,8 +7798,8 @@ var SearchResultRow = ({
7736
7798
  children: item.title
7737
7799
  }
7738
7800
  ),
7739
- /* @__PURE__ */ jsxs124("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7740
- /* @__PURE__ */ jsx130(
7801
+ /* @__PURE__ */ jsxs125("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7802
+ /* @__PURE__ */ jsx131(
7741
7803
  "p",
7742
7804
  {
7743
7805
  className: cn(
@@ -7747,7 +7809,7 @@ var SearchResultRow = ({
7747
7809
  children: item.marketSummaryLabel
7748
7810
  }
7749
7811
  ),
7750
- /* @__PURE__ */ jsx130("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx130(
7812
+ /* @__PURE__ */ jsx131("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx131(
7751
7813
  VenueLogo,
7752
7814
  {
7753
7815
  venue,
@@ -7757,9 +7819,9 @@ var SearchResultRow = ({
7757
7819
  },
7758
7820
  `${item.id}-${venue}`
7759
7821
  )) }),
7760
- item.volumeLabel ? /* @__PURE__ */ jsxs124(Fragment5, { children: [
7761
- /* @__PURE__ */ jsx130("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7762
- /* @__PURE__ */ jsx130(
7822
+ item.volumeLabel ? /* @__PURE__ */ jsxs125(Fragment5, { children: [
7823
+ /* @__PURE__ */ jsx131("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7824
+ /* @__PURE__ */ jsx131(
7763
7825
  "p",
7764
7826
  {
7765
7827
  className: cn(
@@ -7773,7 +7835,7 @@ var SearchResultRow = ({
7773
7835
  ] })
7774
7836
  ] })
7775
7837
  ] }),
7776
- /* @__PURE__ */ jsxs124(
7838
+ /* @__PURE__ */ jsxs125(
7777
7839
  "div",
7778
7840
  {
7779
7841
  className: cn(
@@ -7781,9 +7843,9 @@ var SearchResultRow = ({
7781
7843
  classNames == null ? void 0 : classNames.resultMeta
7782
7844
  ),
7783
7845
  children: [
7784
- /* @__PURE__ */ jsx130(VenueLogo, { venue: item.venue, size: "small" }),
7785
- /* @__PURE__ */ jsxs124("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7786
- item.isValueLoading ? /* @__PURE__ */ jsx130(
7846
+ /* @__PURE__ */ jsx131(VenueLogo, { venue: item.venue, size: "small" }),
7847
+ /* @__PURE__ */ jsxs125("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7848
+ item.isValueLoading ? /* @__PURE__ */ jsx131(
7787
7849
  "span",
7788
7850
  {
7789
7851
  "aria-hidden": "true",
@@ -7792,7 +7854,7 @@ var SearchResultRow = ({
7792
7854
  "h-5 w-12 shrink-0 rounded-agg-sm bg-agg-separator animate-pulse"
7793
7855
  )
7794
7856
  }
7795
- ) : /* @__PURE__ */ jsx130(
7857
+ ) : /* @__PURE__ */ jsx131(
7796
7858
  "p",
7797
7859
  {
7798
7860
  className: cn(
@@ -7803,7 +7865,7 @@ var SearchResultRow = ({
7803
7865
  children: item.valueLabel
7804
7866
  }
7805
7867
  ),
7806
- /* @__PURE__ */ jsx130(
7868
+ /* @__PURE__ */ jsx131(
7807
7869
  "p",
7808
7870
  {
7809
7871
  className: cn(
@@ -7817,7 +7879,7 @@ var SearchResultRow = ({
7817
7879
  ]
7818
7880
  }
7819
7881
  ),
7820
- /* @__PURE__ */ jsx130(
7882
+ /* @__PURE__ */ jsx131(
7821
7883
  Icon,
7822
7884
  {
7823
7885
  name: "chevron-right",
@@ -7840,7 +7902,7 @@ var SearchSeeAllResultsButton = ({
7840
7902
  const handlePointerDown = (event) => {
7841
7903
  event.preventDefault();
7842
7904
  };
7843
- return /* @__PURE__ */ jsxs124(
7905
+ return /* @__PURE__ */ jsxs125(
7844
7906
  "button",
7845
7907
  {
7846
7908
  type: "button",
@@ -7854,8 +7916,8 @@ var SearchSeeAllResultsButton = ({
7854
7916
  onPointerDown: handlePointerDown,
7855
7917
  onClick,
7856
7918
  children: [
7857
- /* @__PURE__ */ jsx130("span", { children: label2 }),
7858
- /* @__PURE__ */ jsx130(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7919
+ /* @__PURE__ */ jsx131("span", { children: label2 }),
7920
+ /* @__PURE__ */ jsx131(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7859
7921
  ]
7860
7922
  }
7861
7923
  );
@@ -8024,14 +8086,14 @@ var Search = ({
8024
8086
  event.preventDefault();
8025
8087
  handleSeeAllResults();
8026
8088
  };
8027
- return /* @__PURE__ */ jsxs124(
8089
+ return /* @__PURE__ */ jsxs125(
8028
8090
  "div",
8029
8091
  {
8030
8092
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
8031
8093
  onFocusCapture: handleFocusWithin,
8032
8094
  onBlurCapture: handleBlurWithin,
8033
8095
  children: [
8034
- /* @__PURE__ */ jsx130("label", { className: "w-full", children: /* @__PURE__ */ jsxs124(
8096
+ /* @__PURE__ */ jsx131("label", { className: "w-full", children: /* @__PURE__ */ jsxs125(
8035
8097
  "div",
8036
8098
  {
8037
8099
  className: cn(
@@ -8047,7 +8109,7 @@ var Search = ({
8047
8109
  ),
8048
8110
  onClick: handleFocusWithin,
8049
8111
  children: [
8050
- /* @__PURE__ */ jsx130(
8112
+ /* @__PURE__ */ jsx131(
8051
8113
  Icon,
8052
8114
  {
8053
8115
  name: "search",
@@ -8055,7 +8117,7 @@ var Search = ({
8055
8117
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
8056
8118
  }
8057
8119
  ),
8058
- /* @__PURE__ */ jsx130(
8120
+ /* @__PURE__ */ jsx131(
8059
8121
  "input",
8060
8122
  __spreadProps(__spreadValues({}, inputProps), {
8061
8123
  ref: inputRef,
@@ -8076,11 +8138,11 @@ var Search = ({
8076
8138
  )
8077
8139
  })
8078
8140
  ),
8079
- shouldRenderShortcut ? /* @__PURE__ */ jsx130("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx130("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
8141
+ shouldRenderShortcut ? /* @__PURE__ */ jsx131("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx131("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
8080
8142
  ]
8081
8143
  }
8082
8144
  ) }),
8083
- shouldRenderLoadingState ? /* @__PURE__ */ jsx130(
8145
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx131(
8084
8146
  "div",
8085
8147
  {
8086
8148
  className: cn(
@@ -8090,10 +8152,10 @@ var Search = ({
8090
8152
  "mt-1",
8091
8153
  classNames == null ? void 0 : classNames.emptyState
8092
8154
  ),
8093
- children: /* @__PURE__ */ jsx130(Skeleton, { view: "search" })
8155
+ children: /* @__PURE__ */ jsx131(Skeleton, { view: "search" })
8094
8156
  }
8095
8157
  ) : null,
8096
- shouldRenderResults ? /* @__PURE__ */ jsx130(
8158
+ shouldRenderResults ? /* @__PURE__ */ jsx131(
8097
8159
  "div",
8098
8160
  {
8099
8161
  className: cn(
@@ -8103,7 +8165,7 @@ var Search = ({
8103
8165
  "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)]",
8104
8166
  classNames == null ? void 0 : classNames.dropdown
8105
8167
  ),
8106
- children: /* @__PURE__ */ jsxs124(
8168
+ children: /* @__PURE__ */ jsxs125(
8107
8169
  "ul",
8108
8170
  {
8109
8171
  className: cn(
@@ -8113,7 +8175,7 @@ var Search = ({
8113
8175
  role: "listbox",
8114
8176
  "aria-label": labels.search.resultsAria,
8115
8177
  children: [
8116
- validatedResults.map((item, index) => /* @__PURE__ */ jsx130(
8178
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx131(
8117
8179
  "li",
8118
8180
  {
8119
8181
  role: "presentation",
@@ -8122,7 +8184,7 @@ var Search = ({
8122
8184
  index > 0 && "border-t border-agg-separator",
8123
8185
  classNames == null ? void 0 : classNames.resultItem
8124
8186
  ),
8125
- children: /* @__PURE__ */ jsx130(
8187
+ children: /* @__PURE__ */ jsx131(
8126
8188
  SearchResultRow,
8127
8189
  {
8128
8190
  item,
@@ -8134,12 +8196,12 @@ var Search = ({
8134
8196
  },
8135
8197
  item.id
8136
8198
  )),
8137
- /* @__PURE__ */ jsx130(
8199
+ /* @__PURE__ */ jsx131(
8138
8200
  "li",
8139
8201
  {
8140
8202
  role: "presentation",
8141
8203
  className: "agg-search-result-item border-t border-agg-separator",
8142
- children: /* @__PURE__ */ jsx130(
8204
+ children: /* @__PURE__ */ jsx131(
8143
8205
  SearchSeeAllResultsButton,
8144
8206
  {
8145
8207
  label: labels.search.seeAllResults,
@@ -8153,7 +8215,7 @@ var Search = ({
8153
8215
  )
8154
8216
  }
8155
8217
  ) : null,
8156
- shouldRenderNoResults ? /* @__PURE__ */ jsx130(
8218
+ shouldRenderNoResults ? /* @__PURE__ */ jsx131(
8157
8219
  "div",
8158
8220
  {
8159
8221
  className: cn(
@@ -8163,7 +8225,7 @@ var Search = ({
8163
8225
  "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)]",
8164
8226
  classNames == null ? void 0 : classNames.emptyState
8165
8227
  ),
8166
- children: /* @__PURE__ */ jsxs124(
8228
+ children: /* @__PURE__ */ jsxs125(
8167
8229
  "div",
8168
8230
  {
8169
8231
  className: cn(
@@ -8173,15 +8235,15 @@ var Search = ({
8173
8235
  role: "status",
8174
8236
  "aria-live": "polite",
8175
8237
  children: [
8176
- /* @__PURE__ */ jsx130(
8238
+ /* @__PURE__ */ jsx131(
8177
8239
  SearchEmptyIcon,
8178
8240
  {
8179
8241
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
8180
8242
  "aria-hidden": true
8181
8243
  }
8182
8244
  ),
8183
- /* @__PURE__ */ jsxs124("div", { className: "flex flex-col items-center gap-1 text-center", children: [
8184
- /* @__PURE__ */ jsx130(
8245
+ /* @__PURE__ */ jsxs125("div", { className: "flex flex-col items-center gap-1 text-center", children: [
8246
+ /* @__PURE__ */ jsx131(
8185
8247
  "p",
8186
8248
  {
8187
8249
  className: cn(
@@ -8192,7 +8254,7 @@ var Search = ({
8192
8254
  children: labels.search.noResultsTitle
8193
8255
  }
8194
8256
  ),
8195
- /* @__PURE__ */ jsx130(
8257
+ /* @__PURE__ */ jsx131(
8196
8258
  "p",
8197
8259
  {
8198
8260
  className: cn(
@@ -8242,7 +8304,7 @@ var resolveHeaderSearchContent = ({
8242
8304
  };
8243
8305
 
8244
8306
  // src/primitives/header/index.tsx
8245
- import { Fragment as Fragment6, jsx as jsx131, jsxs as jsxs125 } from "react/jsx-runtime";
8307
+ import { Fragment as Fragment6, jsx as jsx132, jsxs as jsxs126 } from "react/jsx-runtime";
8246
8308
  var Header = ({
8247
8309
  logo,
8248
8310
  logoHref,
@@ -8256,7 +8318,7 @@ var Header = ({
8256
8318
  "aria-label": ariaLabel
8257
8319
  }) => {
8258
8320
  const labels = useLabels11();
8259
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx131(
8321
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx132(
8260
8322
  "img",
8261
8323
  {
8262
8324
  src: logo.src,
@@ -8265,14 +8327,14 @@ var Header = ({
8265
8327
  height: logo.height,
8266
8328
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
8267
8329
  }
8268
- ) : logo !== void 0 ? /* @__PURE__ */ jsx131("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx131(
8330
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx132("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx132(
8269
8331
  AggLogo,
8270
8332
  {
8271
8333
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
8272
8334
  title: labels.header.logoAria
8273
8335
  }
8274
8336
  );
8275
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx131(
8337
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx132(
8276
8338
  "a",
8277
8339
  {
8278
8340
  href: logoHref,
@@ -8281,7 +8343,7 @@ var Header = ({
8281
8343
  onClick: onLogoClick,
8282
8344
  children: logoContent
8283
8345
  }
8284
- ) : onLogoClick ? /* @__PURE__ */ jsx131(
8346
+ ) : onLogoClick ? /* @__PURE__ */ jsx132(
8285
8347
  "button",
8286
8348
  {
8287
8349
  type: "button",
@@ -8293,13 +8355,13 @@ var Header = ({
8293
8355
  onClick: onLogoClick,
8294
8356
  children: logoContent
8295
8357
  }
8296
- ) : /* @__PURE__ */ jsx131("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
8358
+ ) : /* @__PURE__ */ jsx132("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
8297
8359
  const searchContent = resolveHeaderSearchContent({
8298
8360
  search,
8299
8361
  searchProps,
8300
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx131(Search, __spreadValues({}, nextSearchProps))
8362
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx132(Search, __spreadValues({}, nextSearchProps))
8301
8363
  });
8302
- return /* @__PURE__ */ jsx131(Fragment6, { children: /* @__PURE__ */ jsx131(
8364
+ return /* @__PURE__ */ jsx132(Fragment6, { children: /* @__PURE__ */ jsx132(
8303
8365
  "header",
8304
8366
  {
8305
8367
  role: "banner",
@@ -8308,7 +8370,7 @@ var Header = ({
8308
8370
  fallbackLabel: labels.header.bannerAria
8309
8371
  }),
8310
8372
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
8311
- children: /* @__PURE__ */ jsxs125(
8373
+ children: /* @__PURE__ */ jsxs126(
8312
8374
  "div",
8313
8375
  {
8314
8376
  className: cn(
@@ -8323,7 +8385,7 @@ var Header = ({
8323
8385
  classNames == null ? void 0 : classNames.inner
8324
8386
  ),
8325
8387
  children: [
8326
- /* @__PURE__ */ jsxs125(
8388
+ /* @__PURE__ */ jsxs126(
8327
8389
  "div",
8328
8390
  {
8329
8391
  className: cn(
@@ -8339,7 +8401,7 @@ var Header = ({
8339
8401
  ]
8340
8402
  }
8341
8403
  ),
8342
- searchContent ? /* @__PURE__ */ jsx131(
8404
+ searchContent ? /* @__PURE__ */ jsx132(
8343
8405
  "div",
8344
8406
  {
8345
8407
  className: cn(
@@ -8350,7 +8412,7 @@ var Header = ({
8350
8412
  children: searchContent
8351
8413
  }
8352
8414
  ) : null,
8353
- /* @__PURE__ */ jsx131(
8415
+ /* @__PURE__ */ jsx132(
8354
8416
  "div",
8355
8417
  {
8356
8418
  className: cn(
@@ -8413,7 +8475,7 @@ var resolveInlineAlertHasAction = ({
8413
8475
  };
8414
8476
 
8415
8477
  // src/primitives/inline-alert/index.tsx
8416
- import { jsx as jsx132, jsxs as jsxs126 } from "react/jsx-runtime";
8478
+ import { jsx as jsx133, jsxs as jsxs127 } from "react/jsx-runtime";
8417
8479
  var InlineAlert = ({
8418
8480
  tone = INLINE_ALERT_DEFAULT_TONE,
8419
8481
  variant,
@@ -8427,7 +8489,7 @@ var InlineAlert = ({
8427
8489
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
8428
8490
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
8429
8491
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
8430
- return /* @__PURE__ */ jsxs126(
8492
+ return /* @__PURE__ */ jsxs127(
8431
8493
  "div",
8432
8494
  {
8433
8495
  className: cn(
@@ -8439,7 +8501,7 @@ var InlineAlert = ({
8439
8501
  "aria-live": ariaLive,
8440
8502
  "aria-label": ariaLabel,
8441
8503
  children: [
8442
- /* @__PURE__ */ jsx132(
8504
+ /* @__PURE__ */ jsx133(
8443
8505
  Icon,
8444
8506
  {
8445
8507
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -8447,14 +8509,14 @@ var InlineAlert = ({
8447
8509
  "aria-hidden": "true"
8448
8510
  }
8449
8511
  ),
8450
- /* @__PURE__ */ jsx132(
8512
+ /* @__PURE__ */ jsx133(
8451
8513
  "div",
8452
8514
  {
8453
8515
  className: cn(
8454
8516
  "min-w-0",
8455
8517
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
8456
8518
  ),
8457
- children: /* @__PURE__ */ jsxs126(
8519
+ children: /* @__PURE__ */ jsxs127(
8458
8520
  "div",
8459
8521
  {
8460
8522
  className: cn(
@@ -8463,14 +8525,14 @@ var InlineAlert = ({
8463
8525
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
8464
8526
  ),
8465
8527
  children: [
8466
- title2 ? /* @__PURE__ */ jsx132("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8467
- /* @__PURE__ */ jsx132("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8528
+ title2 ? /* @__PURE__ */ jsx133("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8529
+ /* @__PURE__ */ jsx133("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8468
8530
  ]
8469
8531
  }
8470
8532
  )
8471
8533
  }
8472
8534
  ),
8473
- hasAction ? /* @__PURE__ */ jsx132(
8535
+ hasAction ? /* @__PURE__ */ jsx133(
8474
8536
  "button",
8475
8537
  {
8476
8538
  type: "button",
@@ -8508,7 +8570,7 @@ var resolveLoadingIconAriaLabel = ({
8508
8570
  };
8509
8571
 
8510
8572
  // src/primitives/loading-icon/index.tsx
8511
- import { Fragment as Fragment7, jsx as jsx133, jsxs as jsxs127 } from "react/jsx-runtime";
8573
+ import { Fragment as Fragment7, jsx as jsx134, jsxs as jsxs128 } from "react/jsx-runtime";
8512
8574
  var LoadingIcon = ({
8513
8575
  size = LOADING_ICON_DEFAULT_SIZE,
8514
8576
  variant = "default",
@@ -8519,7 +8581,7 @@ var LoadingIcon = ({
8519
8581
  const {
8520
8582
  features: { enableAnimations }
8521
8583
  } = useSdkUiConfig11();
8522
- return /* @__PURE__ */ jsx133(
8584
+ return /* @__PURE__ */ jsx134(
8523
8585
  "span",
8524
8586
  {
8525
8587
  role: "status",
@@ -8532,7 +8594,7 @@ var LoadingIcon = ({
8532
8594
  "inline-grid place-items-center text-agg-primary will-change-transform",
8533
8595
  className
8534
8596
  ),
8535
- children: /* @__PURE__ */ jsx133("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx133(
8597
+ children: /* @__PURE__ */ jsx134("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx134(
8536
8598
  "svg",
8537
8599
  {
8538
8600
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -8540,8 +8602,8 @@ var LoadingIcon = ({
8540
8602
  "block",
8541
8603
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
8542
8604
  ),
8543
- children: variant === "prominent" ? /* @__PURE__ */ jsxs127("g", { children: [
8544
- enableAnimations ? /* @__PURE__ */ jsx133(
8605
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs128("g", { children: [
8606
+ enableAnimations ? /* @__PURE__ */ jsx134(
8545
8607
  "animateTransform",
8546
8608
  {
8547
8609
  attributeName: "transform",
@@ -8553,7 +8615,7 @@ var LoadingIcon = ({
8553
8615
  repeatCount: "indefinite"
8554
8616
  }
8555
8617
  ) : null,
8556
- /* @__PURE__ */ jsx133(
8618
+ /* @__PURE__ */ jsx134(
8557
8619
  "circle",
8558
8620
  {
8559
8621
  cx: "22",
@@ -8567,8 +8629,8 @@ var LoadingIcon = ({
8567
8629
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
8568
8630
  }
8569
8631
  )
8570
- ] }) : /* @__PURE__ */ jsxs127("g", { children: [
8571
- enableAnimations ? /* @__PURE__ */ jsx133(
8632
+ ] }) : /* @__PURE__ */ jsxs128("g", { children: [
8633
+ enableAnimations ? /* @__PURE__ */ jsx134(
8572
8634
  "animateTransform",
8573
8635
  {
8574
8636
  attributeName: "transform",
@@ -8580,7 +8642,7 @@ var LoadingIcon = ({
8580
8642
  repeatCount: "indefinite"
8581
8643
  }
8582
8644
  ) : null,
8583
- /* @__PURE__ */ jsx133(
8645
+ /* @__PURE__ */ jsx134(
8584
8646
  "circle",
8585
8647
  {
8586
8648
  cx: "22",
@@ -8592,8 +8654,8 @@ var LoadingIcon = ({
8592
8654
  strokeLinecap: "round",
8593
8655
  strokeDasharray: "60 100",
8594
8656
  strokeDashoffset: "0",
8595
- children: enableAnimations ? /* @__PURE__ */ jsxs127(Fragment7, { children: [
8596
- /* @__PURE__ */ jsx133(
8657
+ children: enableAnimations ? /* @__PURE__ */ jsxs128(Fragment7, { children: [
8658
+ /* @__PURE__ */ jsx134(
8597
8659
  "animate",
8598
8660
  {
8599
8661
  attributeName: "stroke-dasharray",
@@ -8602,7 +8664,7 @@ var LoadingIcon = ({
8602
8664
  repeatCount: "indefinite"
8603
8665
  }
8604
8666
  ),
8605
- /* @__PURE__ */ jsx133(
8667
+ /* @__PURE__ */ jsx134(
8606
8668
  "animate",
8607
8669
  {
8608
8670
  attributeName: "stroke-dashoffset",
@@ -8647,7 +8709,7 @@ var resolveModalCloseIcon = ({
8647
8709
  };
8648
8710
 
8649
8711
  // src/primitives/modal/index.tsx
8650
- import { Fragment as Fragment8, jsx as jsx134, jsxs as jsxs128 } from "react/jsx-runtime";
8712
+ import { Fragment as Fragment8, jsx as jsx135, jsxs as jsxs129 } from "react/jsx-runtime";
8651
8713
  var Modal = ({
8652
8714
  open,
8653
8715
  onOpenChange,
@@ -8655,7 +8717,7 @@ var Modal = ({
8655
8717
  "aria-label": _ariaLabel,
8656
8718
  "aria-labelledby": _ariaLabelledBy
8657
8719
  }) => {
8658
- return /* @__PURE__ */ jsx134(Dialog.Root, { open, onOpenChange, children });
8720
+ return /* @__PURE__ */ jsx135(Dialog.Root, { open, onOpenChange, children });
8659
8721
  };
8660
8722
  var ModalContainer = ({
8661
8723
  children,
@@ -8670,8 +8732,8 @@ var ModalContainer = ({
8670
8732
  } = useSdkUiConfig12();
8671
8733
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
8672
8734
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
8673
- return /* @__PURE__ */ jsxs128(Dialog.Portal, { children: [
8674
- /* @__PURE__ */ jsx134(
8735
+ return /* @__PURE__ */ jsxs129(Dialog.Portal, { children: [
8736
+ /* @__PURE__ */ jsx135(
8675
8737
  Dialog.Overlay,
8676
8738
  {
8677
8739
  className: cn(
@@ -8682,7 +8744,7 @@ var ModalContainer = ({
8682
8744
  )
8683
8745
  }
8684
8746
  ),
8685
- /* @__PURE__ */ jsx134(
8747
+ /* @__PURE__ */ jsx135(
8686
8748
  Dialog.Content,
8687
8749
  {
8688
8750
  className: cn(
@@ -8708,7 +8770,7 @@ var ModalContainer = ({
8708
8770
  event.preventDefault();
8709
8771
  }
8710
8772
  },
8711
- children: /* @__PURE__ */ jsx134(
8773
+ children: /* @__PURE__ */ jsx135(
8712
8774
  "div",
8713
8775
  {
8714
8776
  className: cn(
@@ -8717,7 +8779,7 @@ var ModalContainer = ({
8717
8779
  "flex h-full min-h-0 w-full justify-center p-0 md:p-5",
8718
8780
  classNames == null ? void 0 : classNames.center
8719
8781
  ),
8720
- children: /* @__PURE__ */ jsx134(
8782
+ children: /* @__PURE__ */ jsx135(
8721
8783
  "div",
8722
8784
  {
8723
8785
  className: cn(
@@ -8759,12 +8821,12 @@ var ModalHeader = ({
8759
8821
  features: { enableAnimations }
8760
8822
  } = useSdkUiConfig12();
8761
8823
  const labels = useLabels13();
8762
- const defaultCloseIcon = /* @__PURE__ */ jsx134(CloseIcon, { className: "h-6 w-6" });
8824
+ const defaultCloseIcon = /* @__PURE__ */ jsx135(CloseIcon, { className: "h-6 w-6" });
8763
8825
  const resolvedCloseIcon = resolveModalCloseIcon({
8764
8826
  closeIcon,
8765
8827
  defaultCloseIcon
8766
8828
  });
8767
- return /* @__PURE__ */ jsxs128(
8829
+ return /* @__PURE__ */ jsxs129(
8768
8830
  "div",
8769
8831
  {
8770
8832
  className: cn(
@@ -8777,7 +8839,7 @@ var ModalHeader = ({
8777
8839
  classNames == null ? void 0 : classNames.root
8778
8840
  ),
8779
8841
  children: [
8780
- /* @__PURE__ */ jsxs128(
8842
+ /* @__PURE__ */ jsxs129(
8781
8843
  "div",
8782
8844
  {
8783
8845
  className: cn(
@@ -8790,8 +8852,8 @@ var ModalHeader = ({
8790
8852
  classNames == null ? void 0 : classNames.container
8791
8853
  ),
8792
8854
  children: [
8793
- leftElement ? /* @__PURE__ */ jsx134(Fragment8, { children: leftElement }) : null,
8794
- /* @__PURE__ */ jsxs128(
8855
+ leftElement ? /* @__PURE__ */ jsx135(Fragment8, { children: leftElement }) : null,
8856
+ /* @__PURE__ */ jsxs129(
8795
8857
  "div",
8796
8858
  {
8797
8859
  className: cn(
@@ -8800,7 +8862,7 @@ var ModalHeader = ({
8800
8862
  classNames == null ? void 0 : classNames.titleContainer
8801
8863
  ),
8802
8864
  children: [
8803
- /* @__PURE__ */ jsx134(
8865
+ /* @__PURE__ */ jsx135(
8804
8866
  Dialog.Title,
8805
8867
  {
8806
8868
  className: cn(
@@ -8814,7 +8876,7 @@ var ModalHeader = ({
8814
8876
  children: title2
8815
8877
  }
8816
8878
  ),
8817
- subtitle ? /* @__PURE__ */ jsx134(
8879
+ subtitle ? /* @__PURE__ */ jsx135(
8818
8880
  "span",
8819
8881
  {
8820
8882
  className: cn(
@@ -8828,9 +8890,9 @@ var ModalHeader = ({
8828
8890
  ]
8829
8891
  }
8830
8892
  ),
8831
- /* @__PURE__ */ jsxs128("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8832
- rightElement ? /* @__PURE__ */ jsx134(Fragment8, { children: rightElement }) : null,
8833
- !hideClose && /* @__PURE__ */ jsx134(
8893
+ /* @__PURE__ */ jsxs129("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8894
+ rightElement ? /* @__PURE__ */ jsx135(Fragment8, { children: rightElement }) : null,
8895
+ !hideClose && /* @__PURE__ */ jsx135(
8834
8896
  Dialog.Close,
8835
8897
  {
8836
8898
  className: cn(
@@ -8847,14 +8909,14 @@ var ModalHeader = ({
8847
8909
  ]
8848
8910
  }
8849
8911
  ),
8850
- children ? /* @__PURE__ */ jsx134("div", { className: "agg-modal-header-extra", children }) : null
8912
+ children ? /* @__PURE__ */ jsx135("div", { className: "agg-modal-header-extra", children }) : null
8851
8913
  ]
8852
8914
  }
8853
8915
  );
8854
8916
  };
8855
8917
  Modal.Header = ModalHeader;
8856
8918
  var ModalBody = ({ children, classNames }) => {
8857
- return /* @__PURE__ */ jsx134(
8919
+ return /* @__PURE__ */ jsx135(
8858
8920
  "div",
8859
8921
  {
8860
8922
  className: cn(
@@ -8875,7 +8937,7 @@ var ModalFooter = ({
8875
8937
  classNames,
8876
8938
  hideBorder = false
8877
8939
  }) => {
8878
- return /* @__PURE__ */ jsx134(
8940
+ return /* @__PURE__ */ jsx135(
8879
8941
  "div",
8880
8942
  {
8881
8943
  className: cn(
@@ -8898,7 +8960,7 @@ Modal.displayName = "Modal";
8898
8960
  // src/primitives/number-value.tsx
8899
8961
  import { useMemo as useMemo6 } from "react";
8900
8962
  import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8901
- import { jsx as jsx135 } from "react/jsx-runtime";
8963
+ import { jsx as jsx136 } from "react/jsx-runtime";
8902
8964
  var NumberValue = ({
8903
8965
  value,
8904
8966
  format = "number",
@@ -8932,7 +8994,7 @@ var NumberValue = ({
8932
8994
  formatPercent,
8933
8995
  value
8934
8996
  ]);
8935
- return /* @__PURE__ */ jsx135("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8997
+ return /* @__PURE__ */ jsx136("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8936
8998
  };
8937
8999
  NumberValue.displayName = "NumberValue";
8938
9000
 
@@ -8965,7 +9027,7 @@ var resolveIsSelectDisabled = ({
8965
9027
  };
8966
9028
 
8967
9029
  // src/primitives/select/index.tsx
8968
- import { jsx as jsx136, jsxs as jsxs129 } from "react/jsx-runtime";
9030
+ import { jsx as jsx137, jsxs as jsxs130 } from "react/jsx-runtime";
8969
9031
  var SELECT_DROPDOWN_Z = 1e4;
8970
9032
  function resolveSelectPortalContainer(triggerRoot) {
8971
9033
  var _a, _b;
@@ -9084,7 +9146,7 @@ var Select = ({
9084
9146
  };
9085
9147
  const isInline = variant === "inline";
9086
9148
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : isInline ? "rounded-agg-sm" : "rounded-agg-md";
9087
- const listbox = menuRect ? /* @__PURE__ */ jsx136(
9149
+ const listbox = menuRect ? /* @__PURE__ */ jsx137(
9088
9150
  "div",
9089
9151
  {
9090
9152
  ref: portalRef,
@@ -9112,7 +9174,7 @@ var Select = ({
9112
9174
  const isSelected = item.value === value;
9113
9175
  const isHidden = item.hidden === true;
9114
9176
  if (isHidden) return null;
9115
- return /* @__PURE__ */ jsxs129(
9177
+ return /* @__PURE__ */ jsxs130(
9116
9178
  "button",
9117
9179
  {
9118
9180
  type: "button",
@@ -9136,14 +9198,14 @@ var Select = ({
9136
9198
  handleClose();
9137
9199
  },
9138
9200
  children: [
9139
- isInline && isSelected ? /* @__PURE__ */ jsx136(
9201
+ isInline && isSelected ? /* @__PURE__ */ jsx137(
9140
9202
  "span",
9141
9203
  {
9142
9204
  className: "agg-select-item-indicator absolute bottom-2 left-0 top-2 w-1 bg-agg-primary",
9143
9205
  "aria-hidden": true
9144
9206
  }
9145
9207
  ) : null,
9146
- item.icon ? /* @__PURE__ */ jsx136(
9208
+ item.icon ? /* @__PURE__ */ jsx137(
9147
9209
  "span",
9148
9210
  {
9149
9211
  className: cn(
@@ -9152,7 +9214,7 @@ var Select = ({
9152
9214
  ),
9153
9215
  children: item.icon
9154
9216
  }
9155
- ) : item.iconUrl ? /* @__PURE__ */ jsx136(
9217
+ ) : item.iconUrl ? /* @__PURE__ */ jsx137(
9156
9218
  RemoteImage,
9157
9219
  {
9158
9220
  src: item.iconUrl,
@@ -9160,7 +9222,7 @@ var Select = ({
9160
9222
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
9161
9223
  }
9162
9224
  ) : null,
9163
- /* @__PURE__ */ jsx136("span", { className: "agg-select-item-label truncate", children: item.label })
9225
+ /* @__PURE__ */ jsx137("span", { className: "agg-select-item-label truncate", children: item.label })
9164
9226
  ]
9165
9227
  },
9166
9228
  item.value
@@ -9168,7 +9230,7 @@ var Select = ({
9168
9230
  })
9169
9231
  }
9170
9232
  ) : null;
9171
- return /* @__PURE__ */ jsxs129(
9233
+ return /* @__PURE__ */ jsxs130(
9172
9234
  "div",
9173
9235
  {
9174
9236
  ref: containerRef,
@@ -9178,7 +9240,7 @@ var Select = ({
9178
9240
  className
9179
9241
  ),
9180
9242
  children: [
9181
- /* @__PURE__ */ jsxs129(
9243
+ /* @__PURE__ */ jsxs130(
9182
9244
  "button",
9183
9245
  {
9184
9246
  type: "button",
@@ -9202,7 +9264,7 @@ var Select = ({
9202
9264
  onPointerEnter: handlePointerEnter,
9203
9265
  onPointerLeave: handlePointerLeave,
9204
9266
  children: [
9205
- (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx136("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx136(
9267
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx137("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx137(
9206
9268
  RemoteImage,
9207
9269
  {
9208
9270
  src: selectedItem.iconUrl,
@@ -9210,18 +9272,18 @@ var Select = ({
9210
9272
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
9211
9273
  }
9212
9274
  ) : null,
9213
- /* @__PURE__ */ jsx136("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
9275
+ /* @__PURE__ */ jsx137("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
9214
9276
  ]
9215
9277
  }
9216
9278
  ),
9217
- /* @__PURE__ */ jsx136(
9279
+ /* @__PURE__ */ jsx137(
9218
9280
  "span",
9219
9281
  {
9220
9282
  className: cn(
9221
9283
  "agg-select-chevron pointer-events-none absolute inset-y-0 inline-flex items-center justify-center",
9222
9284
  isInline ? "right-2 text-agg-foreground" : "right-3 text-agg-muted-foreground"
9223
9285
  ),
9224
- children: /* @__PURE__ */ jsx136(
9286
+ children: /* @__PURE__ */ jsx137(
9225
9287
  Icon,
9226
9288
  {
9227
9289
  name: isOpen ? "chevron-up" : "chevron-down-thin",
@@ -9337,7 +9399,7 @@ var getTypographyClassName = ({
9337
9399
  };
9338
9400
 
9339
9401
  // src/primitives/typography/index.tsx
9340
- import { jsx as jsx137 } from "react/jsx-runtime";
9402
+ import { jsx as jsx138 } from "react/jsx-runtime";
9341
9403
  var Typography = ({
9342
9404
  as: Component2 = "p",
9343
9405
  variant = "body",
@@ -9345,7 +9407,7 @@ var Typography = ({
9345
9407
  children,
9346
9408
  "aria-label": ariaLabel
9347
9409
  }) => {
9348
- return /* @__PURE__ */ jsx137(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9410
+ return /* @__PURE__ */ jsx138(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9349
9411
  };
9350
9412
  Typography.displayName = "Typography";
9351
9413
 
@@ -9358,7 +9420,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
9358
9420
  };
9359
9421
 
9360
9422
  // src/primitives/state-message/index.tsx
9361
- import { jsx as jsx138, jsxs as jsxs130 } from "react/jsx-runtime";
9423
+ import { jsx as jsx139, jsxs as jsxs131 } from "react/jsx-runtime";
9362
9424
  var StateMessage = (_a) => {
9363
9425
  var _b = _a, {
9364
9426
  icon,
@@ -9379,7 +9441,7 @@ var StateMessage = (_a) => {
9379
9441
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
9380
9442
  "aria-hidden": true
9381
9443
  });
9382
- return /* @__PURE__ */ jsx138(
9444
+ return /* @__PURE__ */ jsx139(
9383
9445
  "div",
9384
9446
  __spreadProps(__spreadValues({}, rest), {
9385
9447
  className: cn(
@@ -9390,7 +9452,7 @@ var StateMessage = (_a) => {
9390
9452
  role: "status",
9391
9453
  "aria-live": "polite",
9392
9454
  "aria-label": title2,
9393
- children: /* @__PURE__ */ jsxs130(
9455
+ children: /* @__PURE__ */ jsxs131(
9394
9456
  "div",
9395
9457
  {
9396
9458
  className: cn(
@@ -9399,7 +9461,7 @@ var StateMessage = (_a) => {
9399
9461
  ),
9400
9462
  children: [
9401
9463
  resolvedIcon,
9402
- /* @__PURE__ */ jsxs130(
9464
+ /* @__PURE__ */ jsxs131(
9403
9465
  "div",
9404
9466
  {
9405
9467
  className: cn(
@@ -9407,8 +9469,8 @@ var StateMessage = (_a) => {
9407
9469
  classNames == null ? void 0 : classNames.text
9408
9470
  ),
9409
9471
  children: [
9410
- /* @__PURE__ */ jsx138(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9411
- description ? /* @__PURE__ */ jsx138(
9472
+ /* @__PURE__ */ jsx139(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9473
+ description ? /* @__PURE__ */ jsx139(
9412
9474
  Typography,
9413
9475
  {
9414
9476
  variant: "label",
@@ -9419,7 +9481,7 @@ var StateMessage = (_a) => {
9419
9481
  ]
9420
9482
  }
9421
9483
  ),
9422
- hasAction ? /* @__PURE__ */ jsx138(
9484
+ hasAction ? /* @__PURE__ */ jsx139(
9423
9485
  Button,
9424
9486
  {
9425
9487
  variant: "tertiary",
@@ -9521,7 +9583,7 @@ var findEdgeEnabledIndex = (items, direction) => {
9521
9583
  };
9522
9584
 
9523
9585
  // src/primitives/tabs/index.tsx
9524
- import { Fragment as Fragment9, jsx as jsx139, jsxs as jsxs131 } from "react/jsx-runtime";
9586
+ import { Fragment as Fragment9, jsx as jsx140, jsxs as jsxs132 } from "react/jsx-runtime";
9525
9587
  var getTabButtonClassName = ({
9526
9588
  enableAnimations,
9527
9589
  isBarVariant,
@@ -9849,7 +9911,7 @@ var Tabs = ({
9849
9911
  value
9850
9912
  ]);
9851
9913
  if (shouldUseOverflowSelect) {
9852
- return /* @__PURE__ */ jsx139("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx139(
9914
+ return /* @__PURE__ */ jsx140("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx140(
9853
9915
  Select,
9854
9916
  {
9855
9917
  ariaLabel,
@@ -9861,7 +9923,7 @@ var Tabs = ({
9861
9923
  }
9862
9924
  ) });
9863
9925
  }
9864
- return /* @__PURE__ */ jsxs131(
9926
+ return /* @__PURE__ */ jsxs132(
9865
9927
  "div",
9866
9928
  {
9867
9929
  className: cn(
@@ -9872,7 +9934,7 @@ var Tabs = ({
9872
9934
  classNames == null ? void 0 : classNames.root
9873
9935
  ),
9874
9936
  children: [
9875
- /* @__PURE__ */ jsxs131(
9937
+ /* @__PURE__ */ jsxs132(
9876
9938
  "div",
9877
9939
  {
9878
9940
  ref: tabListRef,
@@ -9886,7 +9948,7 @@ var Tabs = ({
9886
9948
  onPointerUp: handleEndTabListDrag,
9887
9949
  onWheel: handleTabListWheel,
9888
9950
  children: [
9889
- shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx139(
9951
+ shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx140(
9890
9952
  "span",
9891
9953
  {
9892
9954
  "aria-hidden": true,
@@ -9897,7 +9959,7 @@ var Tabs = ({
9897
9959
  var _a;
9898
9960
  const isActive = item.value === value;
9899
9961
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
9900
- return /* @__PURE__ */ jsxs131(
9962
+ return /* @__PURE__ */ jsxs132(
9901
9963
  "button",
9902
9964
  {
9903
9965
  ref: (buttonElement) => {
@@ -9933,7 +9995,7 @@ var Tabs = ({
9933
9995
  ),
9934
9996
  children: [
9935
9997
  item.icon ? item.icon : null,
9936
- /* @__PURE__ */ jsxs131(
9998
+ /* @__PURE__ */ jsxs132(
9937
9999
  "span",
9938
10000
  {
9939
10001
  className: cn(
@@ -9951,7 +10013,7 @@ var Tabs = ({
9951
10013
  item.value
9952
10014
  );
9953
10015
  }),
9954
- !isBarVariant ? /* @__PURE__ */ jsx139(
10016
+ !isBarVariant ? /* @__PURE__ */ jsx140(
9955
10017
  "span",
9956
10018
  {
9957
10019
  "aria-hidden": true,
@@ -9970,8 +10032,8 @@ var Tabs = ({
9970
10032
  ]
9971
10033
  }
9972
10034
  ),
9973
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs131(Fragment9, { children: [
9974
- /* @__PURE__ */ jsx139(
10035
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs132(Fragment9, { children: [
10036
+ /* @__PURE__ */ jsx140(
9975
10037
  "span",
9976
10038
  {
9977
10039
  "aria-hidden": true,
@@ -9983,7 +10045,7 @@ var Tabs = ({
9983
10045
  )
9984
10046
  }
9985
10047
  ),
9986
- /* @__PURE__ */ jsx139(
10048
+ /* @__PURE__ */ jsx140(
9987
10049
  "span",
9988
10050
  {
9989
10051
  "aria-hidden": true,
@@ -9996,8 +10058,8 @@ var Tabs = ({
9996
10058
  }
9997
10059
  )
9998
10060
  ] }) : null,
9999
- shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs131(Fragment9, { children: [
10000
- /* @__PURE__ */ jsx139(
10061
+ shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs132(Fragment9, { children: [
10062
+ /* @__PURE__ */ jsx140(
10001
10063
  "button",
10002
10064
  {
10003
10065
  type: "button",
@@ -10019,10 +10081,10 @@ var Tabs = ({
10019
10081
  behavior: getScrollBehavior(enableAnimations)
10020
10082
  });
10021
10083
  },
10022
- children: /* @__PURE__ */ jsx139(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
10084
+ children: /* @__PURE__ */ jsx140(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
10023
10085
  }
10024
10086
  ),
10025
- /* @__PURE__ */ jsx139(
10087
+ /* @__PURE__ */ jsx140(
10026
10088
  "button",
10027
10089
  {
10028
10090
  type: "button",
@@ -10044,7 +10106,7 @@ var Tabs = ({
10044
10106
  behavior: getScrollBehavior(enableAnimations)
10045
10107
  });
10046
10108
  },
10047
- children: /* @__PURE__ */ jsx139(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
10109
+ children: /* @__PURE__ */ jsx140(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
10048
10110
  }
10049
10111
  )
10050
10112
  ] }) : null
@@ -10064,7 +10126,7 @@ import {
10064
10126
  useRef as useRef10,
10065
10127
  useState as useState11
10066
10128
  } from "react";
10067
- import { jsx as jsx140, jsxs as jsxs132 } from "react/jsx-runtime";
10129
+ import { jsx as jsx141, jsxs as jsxs133 } from "react/jsx-runtime";
10068
10130
  var DEFAULT_DURATION_MS = 5e3;
10069
10131
  var EXIT_ANIMATION_MS = 350;
10070
10132
  var TONE_ACCENT_CLASS = {
@@ -10113,9 +10175,9 @@ function ToastProvider({
10113
10175
  },
10114
10176
  [defaultDurationMs]
10115
10177
  );
10116
- return /* @__PURE__ */ jsx140(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs132(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
10178
+ return /* @__PURE__ */ jsx141(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs133(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
10117
10179
  children,
10118
- toasts.map((entry) => /* @__PURE__ */ jsx140(
10180
+ toasts.map((entry) => /* @__PURE__ */ jsx141(
10119
10181
  ToastRow,
10120
10182
  {
10121
10183
  entry,
@@ -10125,7 +10187,7 @@ function ToastProvider({
10125
10187
  },
10126
10188
  entry.id
10127
10189
  )),
10128
- /* @__PURE__ */ jsx140(
10190
+ /* @__PURE__ */ jsx141(
10129
10191
  RadixToast.Viewport,
10130
10192
  {
10131
10193
  className: cn(
@@ -10205,7 +10267,7 @@ function ToastRow({ entry, onOpenChange }) {
10205
10267
  clearCloseTimer();
10206
10268
  };
10207
10269
  }, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
10208
- return /* @__PURE__ */ jsxs132(
10270
+ return /* @__PURE__ */ jsxs133(
10209
10271
  RadixToast.Root,
10210
10272
  {
10211
10273
  open: isOpen,
@@ -10226,7 +10288,7 @@ function ToastRow({ entry, onOpenChange }) {
10226
10288
  TONE_ACCENT_CLASS[entry.tone]
10227
10289
  ),
10228
10290
  children: [
10229
- /* @__PURE__ */ jsx140(
10291
+ /* @__PURE__ */ jsx141(
10230
10292
  Icon,
10231
10293
  {
10232
10294
  name: TONE_ICON_NAME[entry.tone],
@@ -10234,25 +10296,25 @@ function ToastRow({ entry, onOpenChange }) {
10234
10296
  "aria-hidden": "true"
10235
10297
  }
10236
10298
  ),
10237
- /* @__PURE__ */ jsxs132("div", { className: "min-w-0 flex-1", children: [
10238
- entry.title ? /* @__PURE__ */ jsx140(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
10239
- /* @__PURE__ */ jsx140(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
10240
- entry.detail ? /* @__PURE__ */ jsx140("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
10299
+ /* @__PURE__ */ jsxs133("div", { className: "min-w-0 flex-1", children: [
10300
+ entry.title ? /* @__PURE__ */ jsx141(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
10301
+ /* @__PURE__ */ jsx141(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
10302
+ entry.detail ? /* @__PURE__ */ jsx141("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
10241
10303
  ] }),
10242
- /* @__PURE__ */ jsx140(
10304
+ /* @__PURE__ */ jsx141(
10243
10305
  RadixToast.Close,
10244
10306
  {
10245
10307
  "aria-label": "Dismiss",
10246
10308
  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",
10247
- children: /* @__PURE__ */ jsx140(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
10309
+ children: /* @__PURE__ */ jsx141(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
10248
10310
  }
10249
10311
  ),
10250
- /* @__PURE__ */ jsx140(
10312
+ /* @__PURE__ */ jsx141(
10251
10313
  "div",
10252
10314
  {
10253
10315
  className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
10254
10316
  "aria-hidden": "true",
10255
- children: /* @__PURE__ */ jsx140(
10317
+ children: /* @__PURE__ */ jsx141(
10256
10318
  "div",
10257
10319
  {
10258
10320
  "data-testid": "agg-toast-progress",
@@ -10314,7 +10376,7 @@ var resolveTooltipArrowDimensions = (size) => {
10314
10376
  };
10315
10377
 
10316
10378
  // src/primitives/tooltip/index.tsx
10317
- import { jsx as jsx141, jsxs as jsxs133 } from "react/jsx-runtime";
10379
+ import { jsx as jsx142, jsxs as jsxs134 } from "react/jsx-runtime";
10318
10380
  var Tooltip = ({
10319
10381
  content,
10320
10382
  children,
@@ -10332,22 +10394,22 @@ var Tooltip = ({
10332
10394
  } = useSdkUiConfig16();
10333
10395
  const trigger = useMemo8(() => {
10334
10396
  if (children) return children;
10335
- return /* @__PURE__ */ jsx141(
10397
+ return /* @__PURE__ */ jsx142(
10336
10398
  "button",
10337
10399
  {
10338
10400
  type: "button",
10339
10401
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
10340
10402
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
10341
- children: /* @__PURE__ */ jsx141(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10403
+ children: /* @__PURE__ */ jsx142(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10342
10404
  }
10343
10405
  );
10344
10406
  }, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
10345
10407
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
10346
10408
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
10347
10409
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
10348
- return /* @__PURE__ */ jsx141(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs133(TooltipPrimitive.Root, { children: [
10349
- /* @__PURE__ */ jsx141(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10350
- /* @__PURE__ */ jsx141(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs133(
10410
+ return /* @__PURE__ */ jsx142(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs134(TooltipPrimitive.Root, { children: [
10411
+ /* @__PURE__ */ jsx142(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10412
+ /* @__PURE__ */ jsx142(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs134(
10351
10413
  TooltipPrimitive.Content,
10352
10414
  {
10353
10415
  side,
@@ -10371,7 +10433,7 @@ var Tooltip = ({
10371
10433
  classNames == null ? void 0 : classNames.content
10372
10434
  ),
10373
10435
  children: [
10374
- /* @__PURE__ */ jsx141(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs133(
10436
+ /* @__PURE__ */ jsx142(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs134(
10375
10437
  "svg",
10376
10438
  {
10377
10439
  width: arrowWidth,
@@ -10380,8 +10442,8 @@ var Tooltip = ({
10380
10442
  "aria-hidden": "true",
10381
10443
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
10382
10444
  children: [
10383
- /* @__PURE__ */ jsx141("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10384
- /* @__PURE__ */ jsx141(
10445
+ /* @__PURE__ */ jsx142("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10446
+ /* @__PURE__ */ jsx142(
10385
10447
  "path",
10386
10448
  {
10387
10449
  d: arrowBorderPath,