@agg-build/ui 4.7.1 → 4.7.3

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.
@@ -6217,7 +6217,7 @@ Skeleton.displayName = "Skeleton";
6217
6217
  import { useLabels as useLabels9 } from "@agg-build/hooks";
6218
6218
 
6219
6219
  // src/primitives/venue-logo/venue-logo.constants.ts
6220
- import { Venue as Venue10 } from "@agg-build/sdk";
6220
+ import { Venue as Venue11 } from "@agg-build/sdk";
6221
6221
 
6222
6222
  // src/primitives/venue-logo/logo-props.ts
6223
6223
  var DEFAULT_MONOCHROME_COLOR = "currentColor";
@@ -6706,41 +6706,169 @@ var LogoProbableIcon = (_a) => {
6706
6706
  };
6707
6707
  LogoProbableIcon.displayName = "LogoProbableIcon";
6708
6708
 
6709
+ // src/primitives/venue-logo/svg/logo-prophetx.tsx
6710
+ import { useAggUiConfig as useAggUiConfig10 } from "@agg-build/hooks";
6711
+ import { Venue as Venue10 } from "@agg-build/sdk";
6712
+ import { useId } from "react";
6713
+ import { jsx as jsx123, jsxs as jsxs118 } from "react/jsx-runtime";
6714
+ var LogoProphetXIcon = (_a) => {
6715
+ var _b = _a, {
6716
+ title: title2,
6717
+ className,
6718
+ isColor = true,
6719
+ color
6720
+ } = _b, props = __objRest(_b, [
6721
+ "title",
6722
+ "className",
6723
+ "isColor",
6724
+ "color"
6725
+ ]);
6726
+ var _a2;
6727
+ const {
6728
+ general: { theme }
6729
+ } = useAggUiConfig10();
6730
+ const isDarkTheme = theme === "dark";
6731
+ const uid = useId();
6732
+ const primaryColor = resolveLogoPrimaryColor({
6733
+ // First stop of the official gradient — see `lineColorByVenue`.
6734
+ brandColor: (_a2 = resolveVenueLineColor(Venue10.prophetx, isDarkTheme)) != null ? _a2 : "#1DC29A",
6735
+ isColor,
6736
+ color
6737
+ });
6738
+ const isMonochrome = !isColor || Boolean(color == null ? void 0 : color.trim());
6739
+ const gradientTransform = "matrix(2.750846, 0, 0, 2.750846, -1935.152964, 138.485876)";
6740
+ const fillFor = (n) => isMonochrome ? primaryColor : `url(#${uid}-${n})`;
6741
+ return /* @__PURE__ */ jsxs118(
6742
+ "svg",
6743
+ __spreadProps(__spreadValues(__spreadValues({
6744
+ viewBox: "81.867 138.419 424.492 272.214",
6745
+ className,
6746
+ fill: "none"
6747
+ }, getIconA11yProps(title2)), props), {
6748
+ children: [
6749
+ title2 ? /* @__PURE__ */ jsx123("title", { children: title2 }) : null,
6750
+ isMonochrome ? null : /* @__PURE__ */ jsxs118("defs", { children: [
6751
+ /* @__PURE__ */ jsxs118(
6752
+ "linearGradient",
6753
+ {
6754
+ id: `${uid}-0`,
6755
+ x1: "853.77",
6756
+ y1: "100.796",
6757
+ x2: "763.522",
6758
+ y2: "10.5487",
6759
+ gradientUnits: "userSpaceOnUse",
6760
+ gradientTransform,
6761
+ children: [
6762
+ /* @__PURE__ */ jsx123("stop", { stopColor: "#1DC29A" }),
6763
+ /* @__PURE__ */ jsx123("stop", { offset: "0.1032", stopColor: "#19BE9D" }),
6764
+ /* @__PURE__ */ jsx123("stop", { offset: "0.6255", stopColor: "#06ADAA" }),
6765
+ /* @__PURE__ */ jsx123("stop", { offset: "1", stopColor: "#00A7AF" })
6766
+ ]
6767
+ }
6768
+ ),
6769
+ /* @__PURE__ */ jsxs118(
6770
+ "linearGradient",
6771
+ {
6772
+ id: `${uid}-1`,
6773
+ x1: "806.164",
6774
+ y1: "49.573",
6775
+ x2: "677.027",
6776
+ y2: "49.573",
6777
+ gradientUnits: "userSpaceOnUse",
6778
+ gradientTransform,
6779
+ children: [
6780
+ /* @__PURE__ */ jsx123("stop", { stopColor: "#1DC29A" }),
6781
+ /* @__PURE__ */ jsx123("stop", { offset: "1", stopColor: "#00A7AF" })
6782
+ ]
6783
+ }
6784
+ ),
6785
+ /* @__PURE__ */ jsxs118(
6786
+ "linearGradient",
6787
+ {
6788
+ id: `${uid}-2`,
6789
+ x1: "758.472",
6790
+ y1: "4.56",
6791
+ x2: "823.114",
6792
+ y2: "41.9371",
6793
+ gradientUnits: "userSpaceOnUse",
6794
+ gradientTransform,
6795
+ children: [
6796
+ /* @__PURE__ */ jsx123("stop", { stopColor: "#1DC29A" }),
6797
+ /* @__PURE__ */ jsx123("stop", { offset: "0.3631", stopColor: "#18BD9E" }),
6798
+ /* @__PURE__ */ jsx123("stop", { offset: "0.802", stopColor: "#09AFA8" }),
6799
+ /* @__PURE__ */ jsx123("stop", { offset: "1", stopColor: "#00A7AF" })
6800
+ ]
6801
+ }
6802
+ )
6803
+ ] }),
6804
+ /* @__PURE__ */ jsx123(
6805
+ "path",
6806
+ {
6807
+ 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",
6808
+ fill: fillFor(0)
6809
+ }
6810
+ ),
6811
+ /* @__PURE__ */ jsx123(
6812
+ "path",
6813
+ {
6814
+ 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",
6815
+ fill: fillFor(1)
6816
+ }
6817
+ ),
6818
+ /* @__PURE__ */ jsx123(
6819
+ "path",
6820
+ {
6821
+ 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",
6822
+ fill: fillFor(2)
6823
+ }
6824
+ )
6825
+ ]
6826
+ })
6827
+ );
6828
+ };
6829
+ LogoProphetXIcon.displayName = "LogoProphetXIcon";
6830
+
6709
6831
  // src/primitives/venue-logo/venue-logo.constants.ts
6710
6832
  var venueLogoRegistry = {
6711
- [Venue10.kalshi]: LogoKalshiIcon,
6712
- [Venue10.limitless]: LogoLimitlessIcon,
6713
- [Venue10.opinion]: LogoOpinionIcon,
6714
- [Venue10.polymarket]: LogoPolymarketIcon,
6715
- [Venue10.predict]: LogoPredictIcon,
6716
- [Venue10.probable]: LogoProbableIcon,
6717
- [Venue10.myriad]: LogoMyriadIcon,
6718
- [Venue10.hyperliquid]: LogoHyperliquidIcon,
6719
- [Venue10.novig]: LogoNovigIcon
6833
+ [Venue11.kalshi]: LogoKalshiIcon,
6834
+ [Venue11.limitless]: LogoLimitlessIcon,
6835
+ [Venue11.opinion]: LogoOpinionIcon,
6836
+ [Venue11.polymarket]: LogoPolymarketIcon,
6837
+ [Venue11.predict]: LogoPredictIcon,
6838
+ [Venue11.probable]: LogoProbableIcon,
6839
+ [Venue11.myriad]: LogoMyriadIcon,
6840
+ [Venue11.hyperliquid]: LogoHyperliquidIcon,
6841
+ [Venue11.novig]: LogoNovigIcon,
6842
+ [Venue11.prophetx]: LogoProphetXIcon
6720
6843
  };
6721
6844
  var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
6722
6845
  var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
6723
6846
  var venueLogoUrlRegistry = {
6724
- [Venue10.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6725
- [Venue10.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6726
- [Venue10.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6727
- [Venue10.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6728
- [Venue10.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6729
- [Venue10.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6730
- [Venue10.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6731
- [Venue10.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`,
6732
- [Venue10.novig]: `${VENUE_LOGO_BASE_URL}/novig.png`
6847
+ [Venue11.kalshi]: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
6848
+ [Venue11.limitless]: `${VENUE_LOGO_BASE_URL}/limitless.png`,
6849
+ [Venue11.opinion]: `${VENUE_LOGO_BASE_URL}/opinion.png`,
6850
+ [Venue11.polymarket]: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
6851
+ [Venue11.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
6852
+ [Venue11.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
6853
+ [Venue11.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
6854
+ [Venue11.hyperliquid]: `${VENUE_LOGO_BASE_URL}/hyperliquid.png`,
6855
+ [Venue11.novig]: `${VENUE_LOGO_BASE_URL}/novig.png`,
6856
+ // Uploaded 2026-09-01 — re-verified live at 200 (50,962 bytes, image/png).
6857
+ // It returned 403 on 2026-08-26, so this row was a known gap; it is not any
6858
+ // more, and the `variant="logo"` image path now works for ProphetX.
6859
+ [Venue11.prophetx]: `${VENUE_LOGO_BASE_URL}/prophetx.png`
6733
6860
  };
6734
6861
  var venueLogoLabels = {
6735
- [Venue10.kalshi]: "Kalshi",
6736
- [Venue10.limitless]: "Limitless",
6737
- [Venue10.opinion]: "Opinion",
6738
- [Venue10.polymarket]: "Polymarket",
6739
- [Venue10.predict]: "Predict",
6740
- [Venue10.probable]: "Probable",
6741
- [Venue10.myriad]: "Myriad",
6742
- [Venue10.hyperliquid]: "Hyperliquid",
6743
- [Venue10.novig]: "Novig"
6862
+ [Venue11.kalshi]: "Kalshi",
6863
+ [Venue11.limitless]: "Limitless",
6864
+ [Venue11.opinion]: "Opinion",
6865
+ [Venue11.polymarket]: "Polymarket",
6866
+ [Venue11.predict]: "Predict",
6867
+ [Venue11.probable]: "Probable",
6868
+ [Venue11.myriad]: "Myriad",
6869
+ [Venue11.hyperliquid]: "Hyperliquid",
6870
+ [Venue11.novig]: "Novig",
6871
+ [Venue11.prophetx]: "ProphetX"
6744
6872
  };
6745
6873
  var DEFAULT_VENUE_LABEL = "Market";
6746
6874
  var venueLogoNames = Object.keys(venueLogoRegistry);
@@ -6751,29 +6879,35 @@ var sizeClasses2 = {
6751
6879
  };
6752
6880
  var lineColorByVenue = {
6753
6881
  light: {
6754
- [Venue10.kalshi]: "#00D295",
6755
- [Venue10.limitless]: "#C4FF00",
6756
- [Venue10.opinion]: "#000000",
6757
- [Venue10.polymarket]: "#2E5CFF",
6758
- [Venue10.predict]: "#6D57F8",
6759
- [Venue10.probable]: "#F05923",
6760
- [Venue10.myriad]: "#000000",
6761
- [Venue10.hyperliquid]: "#97FCE4",
6882
+ [Venue11.kalshi]: "#00D295",
6883
+ [Venue11.limitless]: "#C4FF00",
6884
+ [Venue11.opinion]: "#000000",
6885
+ [Venue11.polymarket]: "#2E5CFF",
6886
+ [Venue11.predict]: "#6D57F8",
6887
+ [Venue11.probable]: "#F05923",
6888
+ [Venue11.myriad]: "#000000",
6889
+ [Venue11.hyperliquid]: "#97FCE4",
6762
6890
  // Novig's own `<meta name="theme-color">`. Their logomark is monochrome
6763
6891
  // (cream on #050505, like Opinion/Myriad), but unlike those two this blue
6764
6892
  // reads on both themes, so it does not need the light/dark flip they use.
6765
- [Venue10.novig]: "#179BE7"
6893
+ [Venue11.novig]: "#179BE7",
6894
+ // First stop of the official logomark's gradient (#1DC29A -> #00A7AF). The
6895
+ // mark is a gradient, so any single value is a choice: the green end reads
6896
+ // on both themes where the teal end goes muddy on dark, and it is the stop
6897
+ // all three of the asset's gradients start from.
6898
+ [Venue11.prophetx]: "#1DC29A"
6766
6899
  },
6767
6900
  dark: {
6768
- [Venue10.kalshi]: "#00D295",
6769
- [Venue10.limitless]: "#C4FF00",
6770
- [Venue10.opinion]: "#FFFFFF",
6771
- [Venue10.polymarket]: "#2E5CFF",
6772
- [Venue10.predict]: "#6D57F8",
6773
- [Venue10.probable]: "#F05923",
6774
- [Venue10.myriad]: "#FFFFFF",
6775
- [Venue10.hyperliquid]: "#97FCE4",
6776
- [Venue10.novig]: "#179BE7"
6901
+ [Venue11.kalshi]: "#00D295",
6902
+ [Venue11.limitless]: "#C4FF00",
6903
+ [Venue11.opinion]: "#FFFFFF",
6904
+ [Venue11.polymarket]: "#2E5CFF",
6905
+ [Venue11.predict]: "#6D57F8",
6906
+ [Venue11.probable]: "#F05923",
6907
+ [Venue11.myriad]: "#FFFFFF",
6908
+ [Venue11.hyperliquid]: "#97FCE4",
6909
+ [Venue11.novig]: "#179BE7",
6910
+ [Venue11.prophetx]: "#1DC29A"
6777
6911
  }
6778
6912
  };
6779
6913
  var resolveVenueLineColor = (venue, isDarkTheme) => {
@@ -6812,7 +6946,7 @@ var resolveVenueLogoIsColor = ({
6812
6946
  };
6813
6947
 
6814
6948
  // src/primitives/venue-logo/index.tsx
6815
- import { jsx as jsx123 } from "react/jsx-runtime";
6949
+ import { jsx as jsx124 } from "react/jsx-runtime";
6816
6950
  var VenueLogo = ({
6817
6951
  venue,
6818
6952
  variant = "icon",
@@ -6838,7 +6972,7 @@ var VenueLogo = ({
6838
6972
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
6839
6973
  }
6840
6974
  if (variant === "logo") {
6841
- return /* @__PURE__ */ jsx123(
6975
+ return /* @__PURE__ */ jsx124(
6842
6976
  RemoteImage,
6843
6977
  {
6844
6978
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -6853,7 +6987,7 @@ var VenueLogo = ({
6853
6987
  isColor,
6854
6988
  isMonochromatic
6855
6989
  });
6856
- return /* @__PURE__ */ jsx123(
6990
+ return /* @__PURE__ */ jsx124(
6857
6991
  Component2,
6858
6992
  {
6859
6993
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -7392,7 +7526,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
7392
7526
  };
7393
7527
 
7394
7528
  // src/primitives/search/index.tsx
7395
- import { Fragment as Fragment5, jsx as jsx124, jsxs as jsxs118 } from "react/jsx-runtime";
7529
+ import { Fragment as Fragment5, jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
7396
7530
  var SearchResultRow = ({
7397
7531
  item,
7398
7532
  resultAria,
@@ -7406,7 +7540,7 @@ var SearchResultRow = ({
7406
7540
  const handleResultPointerDown = (event) => {
7407
7541
  event.preventDefault();
7408
7542
  };
7409
- return /* @__PURE__ */ jsxs118(
7543
+ return /* @__PURE__ */ jsxs119(
7410
7544
  "button",
7411
7545
  {
7412
7546
  type: "button",
@@ -7424,8 +7558,8 @@ var SearchResultRow = ({
7424
7558
  onClick: handleResultClick,
7425
7559
  "aria-label": resultAria(item.title),
7426
7560
  children: [
7427
- /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7428
- /* @__PURE__ */ jsx124(
7561
+ /* @__PURE__ */ jsxs119("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7562
+ /* @__PURE__ */ jsx125(
7429
7563
  RemoteImage,
7430
7564
  {
7431
7565
  src: item.thumbnailSrc,
@@ -7437,8 +7571,8 @@ var SearchResultRow = ({
7437
7571
  )
7438
7572
  }
7439
7573
  ),
7440
- /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7441
- /* @__PURE__ */ jsx124(
7574
+ /* @__PURE__ */ jsxs119("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7575
+ /* @__PURE__ */ jsx125(
7442
7576
  "p",
7443
7577
  {
7444
7578
  className: cn(
@@ -7449,8 +7583,8 @@ var SearchResultRow = ({
7449
7583
  children: item.title
7450
7584
  }
7451
7585
  ),
7452
- /* @__PURE__ */ jsxs118("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7453
- /* @__PURE__ */ jsx124(
7586
+ /* @__PURE__ */ jsxs119("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7587
+ /* @__PURE__ */ jsx125(
7454
7588
  "p",
7455
7589
  {
7456
7590
  className: cn(
@@ -7460,7 +7594,7 @@ var SearchResultRow = ({
7460
7594
  children: item.marketSummaryLabel
7461
7595
  }
7462
7596
  ),
7463
- /* @__PURE__ */ jsx124("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx124(
7597
+ /* @__PURE__ */ jsx125("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx125(
7464
7598
  VenueLogo,
7465
7599
  {
7466
7600
  venue,
@@ -7470,9 +7604,9 @@ var SearchResultRow = ({
7470
7604
  },
7471
7605
  `${item.id}-${venue}`
7472
7606
  )) }),
7473
- item.volumeLabel ? /* @__PURE__ */ jsxs118(Fragment5, { children: [
7474
- /* @__PURE__ */ jsx124("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7475
- /* @__PURE__ */ jsx124(
7607
+ item.volumeLabel ? /* @__PURE__ */ jsxs119(Fragment5, { children: [
7608
+ /* @__PURE__ */ jsx125("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7609
+ /* @__PURE__ */ jsx125(
7476
7610
  "p",
7477
7611
  {
7478
7612
  className: cn(
@@ -7486,7 +7620,7 @@ var SearchResultRow = ({
7486
7620
  ] })
7487
7621
  ] })
7488
7622
  ] }),
7489
- /* @__PURE__ */ jsxs118(
7623
+ /* @__PURE__ */ jsxs119(
7490
7624
  "div",
7491
7625
  {
7492
7626
  className: cn(
@@ -7494,9 +7628,9 @@ var SearchResultRow = ({
7494
7628
  classNames == null ? void 0 : classNames.resultMeta
7495
7629
  ),
7496
7630
  children: [
7497
- /* @__PURE__ */ jsx124(VenueLogo, { venue: item.venue, size: "small" }),
7498
- /* @__PURE__ */ jsxs118("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7499
- item.isValueLoading ? /* @__PURE__ */ jsx124(
7631
+ /* @__PURE__ */ jsx125(VenueLogo, { venue: item.venue, size: "small" }),
7632
+ /* @__PURE__ */ jsxs119("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7633
+ item.isValueLoading ? /* @__PURE__ */ jsx125(
7500
7634
  "span",
7501
7635
  {
7502
7636
  "aria-hidden": "true",
@@ -7505,7 +7639,7 @@ var SearchResultRow = ({
7505
7639
  "h-5 w-12 shrink-0 rounded-agg-sm bg-agg-separator animate-pulse"
7506
7640
  )
7507
7641
  }
7508
- ) : /* @__PURE__ */ jsx124(
7642
+ ) : /* @__PURE__ */ jsx125(
7509
7643
  "p",
7510
7644
  {
7511
7645
  className: cn(
@@ -7516,7 +7650,7 @@ var SearchResultRow = ({
7516
7650
  children: item.valueLabel
7517
7651
  }
7518
7652
  ),
7519
- /* @__PURE__ */ jsx124(
7653
+ /* @__PURE__ */ jsx125(
7520
7654
  "p",
7521
7655
  {
7522
7656
  className: cn(
@@ -7530,7 +7664,7 @@ var SearchResultRow = ({
7530
7664
  ]
7531
7665
  }
7532
7666
  ),
7533
- /* @__PURE__ */ jsx124(
7667
+ /* @__PURE__ */ jsx125(
7534
7668
  Icon,
7535
7669
  {
7536
7670
  name: "chevron-right",
@@ -7553,7 +7687,7 @@ var SearchSeeAllResultsButton = ({
7553
7687
  const handlePointerDown = (event) => {
7554
7688
  event.preventDefault();
7555
7689
  };
7556
- return /* @__PURE__ */ jsxs118(
7690
+ return /* @__PURE__ */ jsxs119(
7557
7691
  "button",
7558
7692
  {
7559
7693
  type: "button",
@@ -7567,8 +7701,8 @@ var SearchSeeAllResultsButton = ({
7567
7701
  onPointerDown: handlePointerDown,
7568
7702
  onClick,
7569
7703
  children: [
7570
- /* @__PURE__ */ jsx124("span", { children: label2 }),
7571
- /* @__PURE__ */ jsx124(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7704
+ /* @__PURE__ */ jsx125("span", { children: label2 }),
7705
+ /* @__PURE__ */ jsx125(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7572
7706
  ]
7573
7707
  }
7574
7708
  );
@@ -7737,14 +7871,14 @@ var Search = ({
7737
7871
  event.preventDefault();
7738
7872
  handleSeeAllResults();
7739
7873
  };
7740
- return /* @__PURE__ */ jsxs118(
7874
+ return /* @__PURE__ */ jsxs119(
7741
7875
  "div",
7742
7876
  {
7743
7877
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
7744
7878
  onFocusCapture: handleFocusWithin,
7745
7879
  onBlurCapture: handleBlurWithin,
7746
7880
  children: [
7747
- /* @__PURE__ */ jsx124("label", { className: "w-full", children: /* @__PURE__ */ jsxs118(
7881
+ /* @__PURE__ */ jsx125("label", { className: "w-full", children: /* @__PURE__ */ jsxs119(
7748
7882
  "div",
7749
7883
  {
7750
7884
  className: cn(
@@ -7760,7 +7894,7 @@ var Search = ({
7760
7894
  ),
7761
7895
  onClick: handleFocusWithin,
7762
7896
  children: [
7763
- /* @__PURE__ */ jsx124(
7897
+ /* @__PURE__ */ jsx125(
7764
7898
  Icon,
7765
7899
  {
7766
7900
  name: "search",
@@ -7768,7 +7902,7 @@ var Search = ({
7768
7902
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
7769
7903
  }
7770
7904
  ),
7771
- /* @__PURE__ */ jsx124(
7905
+ /* @__PURE__ */ jsx125(
7772
7906
  "input",
7773
7907
  __spreadProps(__spreadValues({}, inputProps), {
7774
7908
  ref: inputRef,
@@ -7789,11 +7923,11 @@ var Search = ({
7789
7923
  )
7790
7924
  })
7791
7925
  ),
7792
- 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
7926
+ shouldRenderShortcut ? /* @__PURE__ */ jsx125("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx125("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
7793
7927
  ]
7794
7928
  }
7795
7929
  ) }),
7796
- shouldRenderLoadingState ? /* @__PURE__ */ jsx124(
7930
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx125(
7797
7931
  "div",
7798
7932
  {
7799
7933
  className: cn(
@@ -7803,10 +7937,10 @@ var Search = ({
7803
7937
  "mt-1",
7804
7938
  classNames == null ? void 0 : classNames.emptyState
7805
7939
  ),
7806
- children: /* @__PURE__ */ jsx124(Skeleton, { view: "search" })
7940
+ children: /* @__PURE__ */ jsx125(Skeleton, { view: "search" })
7807
7941
  }
7808
7942
  ) : null,
7809
- shouldRenderResults ? /* @__PURE__ */ jsx124(
7943
+ shouldRenderResults ? /* @__PURE__ */ jsx125(
7810
7944
  "div",
7811
7945
  {
7812
7946
  className: cn(
@@ -7816,7 +7950,7 @@ var Search = ({
7816
7950
  "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)]",
7817
7951
  classNames == null ? void 0 : classNames.dropdown
7818
7952
  ),
7819
- children: /* @__PURE__ */ jsxs118(
7953
+ children: /* @__PURE__ */ jsxs119(
7820
7954
  "ul",
7821
7955
  {
7822
7956
  className: cn(
@@ -7826,7 +7960,7 @@ var Search = ({
7826
7960
  role: "listbox",
7827
7961
  "aria-label": labels.search.resultsAria,
7828
7962
  children: [
7829
- validatedResults.map((item, index) => /* @__PURE__ */ jsx124(
7963
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx125(
7830
7964
  "li",
7831
7965
  {
7832
7966
  role: "presentation",
@@ -7835,7 +7969,7 @@ var Search = ({
7835
7969
  index > 0 && "border-t border-agg-separator",
7836
7970
  classNames == null ? void 0 : classNames.resultItem
7837
7971
  ),
7838
- children: /* @__PURE__ */ jsx124(
7972
+ children: /* @__PURE__ */ jsx125(
7839
7973
  SearchResultRow,
7840
7974
  {
7841
7975
  item,
@@ -7847,12 +7981,12 @@ var Search = ({
7847
7981
  },
7848
7982
  item.id
7849
7983
  )),
7850
- /* @__PURE__ */ jsx124(
7984
+ /* @__PURE__ */ jsx125(
7851
7985
  "li",
7852
7986
  {
7853
7987
  role: "presentation",
7854
7988
  className: "agg-search-result-item border-t border-agg-separator",
7855
- children: /* @__PURE__ */ jsx124(
7989
+ children: /* @__PURE__ */ jsx125(
7856
7990
  SearchSeeAllResultsButton,
7857
7991
  {
7858
7992
  label: labels.search.seeAllResults,
@@ -7866,7 +8000,7 @@ var Search = ({
7866
8000
  )
7867
8001
  }
7868
8002
  ) : null,
7869
- shouldRenderNoResults ? /* @__PURE__ */ jsx124(
8003
+ shouldRenderNoResults ? /* @__PURE__ */ jsx125(
7870
8004
  "div",
7871
8005
  {
7872
8006
  className: cn(
@@ -7876,7 +8010,7 @@ var Search = ({
7876
8010
  "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)]",
7877
8011
  classNames == null ? void 0 : classNames.emptyState
7878
8012
  ),
7879
- children: /* @__PURE__ */ jsxs118(
8013
+ children: /* @__PURE__ */ jsxs119(
7880
8014
  "div",
7881
8015
  {
7882
8016
  className: cn(
@@ -7886,15 +8020,15 @@ var Search = ({
7886
8020
  role: "status",
7887
8021
  "aria-live": "polite",
7888
8022
  children: [
7889
- /* @__PURE__ */ jsx124(
8023
+ /* @__PURE__ */ jsx125(
7890
8024
  SearchEmptyIcon,
7891
8025
  {
7892
8026
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
7893
8027
  "aria-hidden": true
7894
8028
  }
7895
8029
  ),
7896
- /* @__PURE__ */ jsxs118("div", { className: "flex flex-col items-center gap-1 text-center", children: [
7897
- /* @__PURE__ */ jsx124(
8030
+ /* @__PURE__ */ jsxs119("div", { className: "flex flex-col items-center gap-1 text-center", children: [
8031
+ /* @__PURE__ */ jsx125(
7898
8032
  "p",
7899
8033
  {
7900
8034
  className: cn(
@@ -7905,7 +8039,7 @@ var Search = ({
7905
8039
  children: labels.search.noResultsTitle
7906
8040
  }
7907
8041
  ),
7908
- /* @__PURE__ */ jsx124(
8042
+ /* @__PURE__ */ jsx125(
7909
8043
  "p",
7910
8044
  {
7911
8045
  className: cn(
@@ -7955,7 +8089,7 @@ var resolveHeaderSearchContent = ({
7955
8089
  };
7956
8090
 
7957
8091
  // src/primitives/header/index.tsx
7958
- import { Fragment as Fragment6, jsx as jsx125, jsxs as jsxs119 } from "react/jsx-runtime";
8092
+ import { Fragment as Fragment6, jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
7959
8093
  var Header = ({
7960
8094
  logo,
7961
8095
  logoHref,
@@ -7968,7 +8102,7 @@ var Header = ({
7968
8102
  "aria-label": ariaLabel
7969
8103
  }) => {
7970
8104
  const labels = useLabels11();
7971
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx125(
8105
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx126(
7972
8106
  "img",
7973
8107
  {
7974
8108
  src: logo.src,
@@ -7977,14 +8111,14 @@ var Header = ({
7977
8111
  height: logo.height,
7978
8112
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
7979
8113
  }
7980
- ) : logo !== void 0 ? /* @__PURE__ */ jsx125("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx125(
8114
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx126("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx126(
7981
8115
  AggLogo,
7982
8116
  {
7983
8117
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
7984
8118
  title: labels.header.logoAria
7985
8119
  }
7986
8120
  );
7987
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx125(
8121
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx126(
7988
8122
  "a",
7989
8123
  {
7990
8124
  href: logoHref,
@@ -7993,7 +8127,7 @@ var Header = ({
7993
8127
  onClick: onLogoClick,
7994
8128
  children: logoContent
7995
8129
  }
7996
- ) : onLogoClick ? /* @__PURE__ */ jsx125(
8130
+ ) : onLogoClick ? /* @__PURE__ */ jsx126(
7997
8131
  "button",
7998
8132
  {
7999
8133
  type: "button",
@@ -8005,13 +8139,13 @@ var Header = ({
8005
8139
  onClick: onLogoClick,
8006
8140
  children: logoContent
8007
8141
  }
8008
- ) : /* @__PURE__ */ jsx125("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
8142
+ ) : /* @__PURE__ */ jsx126("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
8009
8143
  const searchContent = resolveHeaderSearchContent({
8010
8144
  search,
8011
8145
  searchProps,
8012
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx125(Search, __spreadValues({}, nextSearchProps))
8146
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx126(Search, __spreadValues({}, nextSearchProps))
8013
8147
  });
8014
- return /* @__PURE__ */ jsx125(Fragment6, { children: /* @__PURE__ */ jsx125(
8148
+ return /* @__PURE__ */ jsx126(Fragment6, { children: /* @__PURE__ */ jsx126(
8015
8149
  "header",
8016
8150
  {
8017
8151
  role: "banner",
@@ -8020,7 +8154,7 @@ var Header = ({
8020
8154
  fallbackLabel: labels.header.bannerAria
8021
8155
  }),
8022
8156
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
8023
- children: /* @__PURE__ */ jsxs119(
8157
+ children: /* @__PURE__ */ jsxs120(
8024
8158
  "div",
8025
8159
  {
8026
8160
  className: cn(
@@ -8028,7 +8162,7 @@ var Header = ({
8028
8162
  classNames == null ? void 0 : classNames.inner
8029
8163
  ),
8030
8164
  children: [
8031
- /* @__PURE__ */ jsx125(
8165
+ /* @__PURE__ */ jsx126(
8032
8166
  "div",
8033
8167
  {
8034
8168
  className: cn(
@@ -8038,7 +8172,7 @@ var Header = ({
8038
8172
  children: wrappedLogo
8039
8173
  }
8040
8174
  ),
8041
- searchContent ? /* @__PURE__ */ jsx125(
8175
+ searchContent ? /* @__PURE__ */ jsx126(
8042
8176
  "div",
8043
8177
  {
8044
8178
  className: cn(
@@ -8049,7 +8183,7 @@ var Header = ({
8049
8183
  children: searchContent
8050
8184
  }
8051
8185
  ) : null,
8052
- /* @__PURE__ */ jsx125(
8186
+ /* @__PURE__ */ jsx126(
8053
8187
  "div",
8054
8188
  {
8055
8189
  className: cn(
@@ -8112,7 +8246,7 @@ var resolveInlineAlertHasAction = ({
8112
8246
  };
8113
8247
 
8114
8248
  // src/primitives/inline-alert/index.tsx
8115
- import { jsx as jsx126, jsxs as jsxs120 } from "react/jsx-runtime";
8249
+ import { jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8116
8250
  var InlineAlert = ({
8117
8251
  tone = INLINE_ALERT_DEFAULT_TONE,
8118
8252
  variant,
@@ -8126,7 +8260,7 @@ var InlineAlert = ({
8126
8260
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
8127
8261
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
8128
8262
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
8129
- return /* @__PURE__ */ jsxs120(
8263
+ return /* @__PURE__ */ jsxs121(
8130
8264
  "div",
8131
8265
  {
8132
8266
  className: cn(
@@ -8138,7 +8272,7 @@ var InlineAlert = ({
8138
8272
  "aria-live": ariaLive,
8139
8273
  "aria-label": ariaLabel,
8140
8274
  children: [
8141
- /* @__PURE__ */ jsx126(
8275
+ /* @__PURE__ */ jsx127(
8142
8276
  Icon,
8143
8277
  {
8144
8278
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -8146,14 +8280,14 @@ var InlineAlert = ({
8146
8280
  "aria-hidden": "true"
8147
8281
  }
8148
8282
  ),
8149
- /* @__PURE__ */ jsx126(
8283
+ /* @__PURE__ */ jsx127(
8150
8284
  "div",
8151
8285
  {
8152
8286
  className: cn(
8153
8287
  "min-w-0",
8154
8288
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
8155
8289
  ),
8156
- children: /* @__PURE__ */ jsxs120(
8290
+ children: /* @__PURE__ */ jsxs121(
8157
8291
  "div",
8158
8292
  {
8159
8293
  className: cn(
@@ -8162,14 +8296,14 @@ var InlineAlert = ({
8162
8296
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
8163
8297
  ),
8164
8298
  children: [
8165
- title2 ? /* @__PURE__ */ jsx126("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8166
- /* @__PURE__ */ jsx126("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8299
+ title2 ? /* @__PURE__ */ jsx127("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8300
+ /* @__PURE__ */ jsx127("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8167
8301
  ]
8168
8302
  }
8169
8303
  )
8170
8304
  }
8171
8305
  ),
8172
- hasAction ? /* @__PURE__ */ jsx126(
8306
+ hasAction ? /* @__PURE__ */ jsx127(
8173
8307
  "button",
8174
8308
  {
8175
8309
  type: "button",
@@ -8207,7 +8341,7 @@ var resolveLoadingIconAriaLabel = ({
8207
8341
  };
8208
8342
 
8209
8343
  // src/primitives/loading-icon/index.tsx
8210
- import { Fragment as Fragment7, jsx as jsx127, jsxs as jsxs121 } from "react/jsx-runtime";
8344
+ import { Fragment as Fragment7, jsx as jsx128, jsxs as jsxs122 } from "react/jsx-runtime";
8211
8345
  var LoadingIcon = ({
8212
8346
  size = LOADING_ICON_DEFAULT_SIZE,
8213
8347
  variant = "default",
@@ -8218,7 +8352,7 @@ var LoadingIcon = ({
8218
8352
  const {
8219
8353
  features: { enableAnimations }
8220
8354
  } = useSdkUiConfig11();
8221
- return /* @__PURE__ */ jsx127(
8355
+ return /* @__PURE__ */ jsx128(
8222
8356
  "span",
8223
8357
  {
8224
8358
  role: "status",
@@ -8231,7 +8365,7 @@ var LoadingIcon = ({
8231
8365
  "inline-grid place-items-center text-agg-primary will-change-transform",
8232
8366
  className
8233
8367
  ),
8234
- children: /* @__PURE__ */ jsx127("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx127(
8368
+ children: /* @__PURE__ */ jsx128("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx128(
8235
8369
  "svg",
8236
8370
  {
8237
8371
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -8239,8 +8373,8 @@ var LoadingIcon = ({
8239
8373
  "block",
8240
8374
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
8241
8375
  ),
8242
- children: variant === "prominent" ? /* @__PURE__ */ jsxs121("g", { children: [
8243
- enableAnimations ? /* @__PURE__ */ jsx127(
8376
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs122("g", { children: [
8377
+ enableAnimations ? /* @__PURE__ */ jsx128(
8244
8378
  "animateTransform",
8245
8379
  {
8246
8380
  attributeName: "transform",
@@ -8252,7 +8386,7 @@ var LoadingIcon = ({
8252
8386
  repeatCount: "indefinite"
8253
8387
  }
8254
8388
  ) : null,
8255
- /* @__PURE__ */ jsx127(
8389
+ /* @__PURE__ */ jsx128(
8256
8390
  "circle",
8257
8391
  {
8258
8392
  cx: "22",
@@ -8266,8 +8400,8 @@ var LoadingIcon = ({
8266
8400
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
8267
8401
  }
8268
8402
  )
8269
- ] }) : /* @__PURE__ */ jsxs121("g", { children: [
8270
- enableAnimations ? /* @__PURE__ */ jsx127(
8403
+ ] }) : /* @__PURE__ */ jsxs122("g", { children: [
8404
+ enableAnimations ? /* @__PURE__ */ jsx128(
8271
8405
  "animateTransform",
8272
8406
  {
8273
8407
  attributeName: "transform",
@@ -8279,7 +8413,7 @@ var LoadingIcon = ({
8279
8413
  repeatCount: "indefinite"
8280
8414
  }
8281
8415
  ) : null,
8282
- /* @__PURE__ */ jsx127(
8416
+ /* @__PURE__ */ jsx128(
8283
8417
  "circle",
8284
8418
  {
8285
8419
  cx: "22",
@@ -8291,8 +8425,8 @@ var LoadingIcon = ({
8291
8425
  strokeLinecap: "round",
8292
8426
  strokeDasharray: "60 100",
8293
8427
  strokeDashoffset: "0",
8294
- children: enableAnimations ? /* @__PURE__ */ jsxs121(Fragment7, { children: [
8295
- /* @__PURE__ */ jsx127(
8428
+ children: enableAnimations ? /* @__PURE__ */ jsxs122(Fragment7, { children: [
8429
+ /* @__PURE__ */ jsx128(
8296
8430
  "animate",
8297
8431
  {
8298
8432
  attributeName: "stroke-dasharray",
@@ -8301,7 +8435,7 @@ var LoadingIcon = ({
8301
8435
  repeatCount: "indefinite"
8302
8436
  }
8303
8437
  ),
8304
- /* @__PURE__ */ jsx127(
8438
+ /* @__PURE__ */ jsx128(
8305
8439
  "animate",
8306
8440
  {
8307
8441
  attributeName: "stroke-dashoffset",
@@ -8346,7 +8480,7 @@ var resolveModalCloseIcon = ({
8346
8480
  };
8347
8481
 
8348
8482
  // src/primitives/modal/index.tsx
8349
- import { Fragment as Fragment8, jsx as jsx128, jsxs as jsxs122 } from "react/jsx-runtime";
8483
+ import { Fragment as Fragment8, jsx as jsx129, jsxs as jsxs123 } from "react/jsx-runtime";
8350
8484
  var Modal = ({
8351
8485
  open,
8352
8486
  onOpenChange,
@@ -8354,7 +8488,7 @@ var Modal = ({
8354
8488
  "aria-label": _ariaLabel,
8355
8489
  "aria-labelledby": _ariaLabelledBy
8356
8490
  }) => {
8357
- return /* @__PURE__ */ jsx128(Dialog.Root, { open, onOpenChange, children });
8491
+ return /* @__PURE__ */ jsx129(Dialog.Root, { open, onOpenChange, children });
8358
8492
  };
8359
8493
  var ModalContainer = ({
8360
8494
  children,
@@ -8369,8 +8503,8 @@ var ModalContainer = ({
8369
8503
  } = useSdkUiConfig12();
8370
8504
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
8371
8505
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
8372
- return /* @__PURE__ */ jsxs122(Dialog.Portal, { children: [
8373
- /* @__PURE__ */ jsx128(
8506
+ return /* @__PURE__ */ jsxs123(Dialog.Portal, { children: [
8507
+ /* @__PURE__ */ jsx129(
8374
8508
  Dialog.Overlay,
8375
8509
  {
8376
8510
  className: cn(
@@ -8381,7 +8515,7 @@ var ModalContainer = ({
8381
8515
  )
8382
8516
  }
8383
8517
  ),
8384
- /* @__PURE__ */ jsx128(
8518
+ /* @__PURE__ */ jsx129(
8385
8519
  Dialog.Content,
8386
8520
  {
8387
8521
  className: cn(
@@ -8407,7 +8541,7 @@ var ModalContainer = ({
8407
8541
  event.preventDefault();
8408
8542
  }
8409
8543
  },
8410
- children: /* @__PURE__ */ jsx128(
8544
+ children: /* @__PURE__ */ jsx129(
8411
8545
  "div",
8412
8546
  {
8413
8547
  className: cn(
@@ -8415,7 +8549,7 @@ var ModalContainer = ({
8415
8549
  "items-end md:items-center",
8416
8550
  "flex h-full min-h-0 w-full justify-center p-0 md:p-5"
8417
8551
  ),
8418
- children: /* @__PURE__ */ jsx128(
8552
+ children: /* @__PURE__ */ jsx129(
8419
8553
  "div",
8420
8554
  {
8421
8555
  className: cn(
@@ -8457,12 +8591,12 @@ var ModalHeader = ({
8457
8591
  features: { enableAnimations }
8458
8592
  } = useSdkUiConfig12();
8459
8593
  const labels = useLabels13();
8460
- const defaultCloseIcon = /* @__PURE__ */ jsx128(CloseIcon, { className: "h-6 w-6" });
8594
+ const defaultCloseIcon = /* @__PURE__ */ jsx129(CloseIcon, { className: "h-6 w-6" });
8461
8595
  const resolvedCloseIcon = resolveModalCloseIcon({
8462
8596
  closeIcon,
8463
8597
  defaultCloseIcon
8464
8598
  });
8465
- return /* @__PURE__ */ jsxs122(
8599
+ return /* @__PURE__ */ jsxs123(
8466
8600
  "div",
8467
8601
  {
8468
8602
  className: cn(
@@ -8475,7 +8609,7 @@ var ModalHeader = ({
8475
8609
  classNames == null ? void 0 : classNames.root
8476
8610
  ),
8477
8611
  children: [
8478
- /* @__PURE__ */ jsxs122(
8612
+ /* @__PURE__ */ jsxs123(
8479
8613
  "div",
8480
8614
  {
8481
8615
  className: cn(
@@ -8488,8 +8622,8 @@ var ModalHeader = ({
8488
8622
  classNames == null ? void 0 : classNames.container
8489
8623
  ),
8490
8624
  children: [
8491
- leftElement ? /* @__PURE__ */ jsx128(Fragment8, { children: leftElement }) : null,
8492
- /* @__PURE__ */ jsxs122(
8625
+ leftElement ? /* @__PURE__ */ jsx129(Fragment8, { children: leftElement }) : null,
8626
+ /* @__PURE__ */ jsxs123(
8493
8627
  "div",
8494
8628
  {
8495
8629
  className: cn(
@@ -8498,7 +8632,7 @@ var ModalHeader = ({
8498
8632
  classNames == null ? void 0 : classNames.titleContainer
8499
8633
  ),
8500
8634
  children: [
8501
- /* @__PURE__ */ jsx128(
8635
+ /* @__PURE__ */ jsx129(
8502
8636
  Dialog.Title,
8503
8637
  {
8504
8638
  className: cn(
@@ -8512,7 +8646,7 @@ var ModalHeader = ({
8512
8646
  children: title2
8513
8647
  }
8514
8648
  ),
8515
- subtitle ? /* @__PURE__ */ jsx128(
8649
+ subtitle ? /* @__PURE__ */ jsx129(
8516
8650
  "span",
8517
8651
  {
8518
8652
  className: cn(
@@ -8526,9 +8660,9 @@ var ModalHeader = ({
8526
8660
  ]
8527
8661
  }
8528
8662
  ),
8529
- /* @__PURE__ */ jsxs122("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8530
- rightElement ? /* @__PURE__ */ jsx128(Fragment8, { children: rightElement }) : null,
8531
- !hideClose && /* @__PURE__ */ jsx128(
8663
+ /* @__PURE__ */ jsxs123("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8664
+ rightElement ? /* @__PURE__ */ jsx129(Fragment8, { children: rightElement }) : null,
8665
+ !hideClose && /* @__PURE__ */ jsx129(
8532
8666
  Dialog.Close,
8533
8667
  {
8534
8668
  className: cn(
@@ -8545,14 +8679,14 @@ var ModalHeader = ({
8545
8679
  ]
8546
8680
  }
8547
8681
  ),
8548
- children ? /* @__PURE__ */ jsx128("div", { className: "agg-modal-header-extra", children }) : null
8682
+ children ? /* @__PURE__ */ jsx129("div", { className: "agg-modal-header-extra", children }) : null
8549
8683
  ]
8550
8684
  }
8551
8685
  );
8552
8686
  };
8553
8687
  Modal.Header = ModalHeader;
8554
8688
  var ModalBody = ({ children, classNames }) => {
8555
- return /* @__PURE__ */ jsx128(
8689
+ return /* @__PURE__ */ jsx129(
8556
8690
  "div",
8557
8691
  {
8558
8692
  className: cn(
@@ -8573,7 +8707,7 @@ var ModalFooter = ({
8573
8707
  classNames,
8574
8708
  hideBorder = false
8575
8709
  }) => {
8576
- return /* @__PURE__ */ jsx128(
8710
+ return /* @__PURE__ */ jsx129(
8577
8711
  "div",
8578
8712
  {
8579
8713
  className: cn(
@@ -8596,7 +8730,7 @@ Modal.displayName = "Modal";
8596
8730
  // src/primitives/number-value.tsx
8597
8731
  import { useMemo as useMemo6 } from "react";
8598
8732
  import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8599
- import { jsx as jsx129 } from "react/jsx-runtime";
8733
+ import { jsx as jsx130 } from "react/jsx-runtime";
8600
8734
  var NumberValue = ({
8601
8735
  value,
8602
8736
  format = "number",
@@ -8630,7 +8764,7 @@ var NumberValue = ({
8630
8764
  formatPercent,
8631
8765
  value
8632
8766
  ]);
8633
- return /* @__PURE__ */ jsx129("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8767
+ return /* @__PURE__ */ jsx130("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
8634
8768
  };
8635
8769
  NumberValue.displayName = "NumberValue";
8636
8770
 
@@ -8663,7 +8797,7 @@ var resolveIsSelectDisabled = ({
8663
8797
  };
8664
8798
 
8665
8799
  // src/primitives/select/index.tsx
8666
- import { jsx as jsx130, jsxs as jsxs123 } from "react/jsx-runtime";
8800
+ import { jsx as jsx131, jsxs as jsxs124 } from "react/jsx-runtime";
8667
8801
  var SELECT_DROPDOWN_Z = 1e4;
8668
8802
  function resolveSelectPortalContainer(triggerRoot) {
8669
8803
  var _a, _b;
@@ -8782,7 +8916,7 @@ var Select = ({
8782
8916
  };
8783
8917
  const isInline = variant === "inline";
8784
8918
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : isInline ? "rounded-agg-sm" : "rounded-agg-md";
8785
- const listbox = menuRect ? /* @__PURE__ */ jsx130(
8919
+ const listbox = menuRect ? /* @__PURE__ */ jsx131(
8786
8920
  "div",
8787
8921
  {
8788
8922
  ref: portalRef,
@@ -8810,7 +8944,7 @@ var Select = ({
8810
8944
  const isSelected = item.value === value;
8811
8945
  const isHidden = item.hidden === true;
8812
8946
  if (isHidden) return null;
8813
- return /* @__PURE__ */ jsxs123(
8947
+ return /* @__PURE__ */ jsxs124(
8814
8948
  "button",
8815
8949
  {
8816
8950
  type: "button",
@@ -8834,14 +8968,14 @@ var Select = ({
8834
8968
  handleClose();
8835
8969
  },
8836
8970
  children: [
8837
- isInline && isSelected ? /* @__PURE__ */ jsx130(
8971
+ isInline && isSelected ? /* @__PURE__ */ jsx131(
8838
8972
  "span",
8839
8973
  {
8840
8974
  className: "agg-select-item-indicator absolute bottom-2 left-0 top-2 w-1 bg-agg-primary",
8841
8975
  "aria-hidden": true
8842
8976
  }
8843
8977
  ) : null,
8844
- item.icon ? /* @__PURE__ */ jsx130(
8978
+ item.icon ? /* @__PURE__ */ jsx131(
8845
8979
  "span",
8846
8980
  {
8847
8981
  className: cn(
@@ -8850,7 +8984,7 @@ var Select = ({
8850
8984
  ),
8851
8985
  children: item.icon
8852
8986
  }
8853
- ) : item.iconUrl ? /* @__PURE__ */ jsx130(
8987
+ ) : item.iconUrl ? /* @__PURE__ */ jsx131(
8854
8988
  RemoteImage,
8855
8989
  {
8856
8990
  src: item.iconUrl,
@@ -8858,7 +8992,7 @@ var Select = ({
8858
8992
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8859
8993
  }
8860
8994
  ) : null,
8861
- /* @__PURE__ */ jsx130("span", { className: "agg-select-item-label truncate", children: item.label })
8995
+ /* @__PURE__ */ jsx131("span", { className: "agg-select-item-label truncate", children: item.label })
8862
8996
  ]
8863
8997
  },
8864
8998
  item.value
@@ -8866,7 +9000,7 @@ var Select = ({
8866
9000
  })
8867
9001
  }
8868
9002
  ) : null;
8869
- return /* @__PURE__ */ jsxs123(
9003
+ return /* @__PURE__ */ jsxs124(
8870
9004
  "div",
8871
9005
  {
8872
9006
  ref: containerRef,
@@ -8876,7 +9010,7 @@ var Select = ({
8876
9010
  className
8877
9011
  ),
8878
9012
  children: [
8879
- /* @__PURE__ */ jsxs123(
9013
+ /* @__PURE__ */ jsxs124(
8880
9014
  "button",
8881
9015
  {
8882
9016
  type: "button",
@@ -8900,7 +9034,7 @@ var Select = ({
8900
9034
  onPointerEnter: handlePointerEnter,
8901
9035
  onPointerLeave: handlePointerLeave,
8902
9036
  children: [
8903
- (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(
9037
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx131("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx131(
8904
9038
  RemoteImage,
8905
9039
  {
8906
9040
  src: selectedItem.iconUrl,
@@ -8908,18 +9042,18 @@ var Select = ({
8908
9042
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
8909
9043
  }
8910
9044
  ) : null,
8911
- /* @__PURE__ */ jsx130("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
9045
+ /* @__PURE__ */ jsx131("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
8912
9046
  ]
8913
9047
  }
8914
9048
  ),
8915
- /* @__PURE__ */ jsx130(
9049
+ /* @__PURE__ */ jsx131(
8916
9050
  "span",
8917
9051
  {
8918
9052
  className: cn(
8919
9053
  "agg-select-chevron pointer-events-none absolute inset-y-0 inline-flex items-center justify-center",
8920
9054
  isInline ? "right-2 text-agg-foreground" : "right-3 text-agg-muted-foreground"
8921
9055
  ),
8922
- children: /* @__PURE__ */ jsx130(
9056
+ children: /* @__PURE__ */ jsx131(
8923
9057
  Icon,
8924
9058
  {
8925
9059
  name: isOpen ? "chevron-up" : "chevron-down-thin",
@@ -9035,7 +9169,7 @@ var getTypographyClassName = ({
9035
9169
  };
9036
9170
 
9037
9171
  // src/primitives/typography/index.tsx
9038
- import { jsx as jsx131 } from "react/jsx-runtime";
9172
+ import { jsx as jsx132 } from "react/jsx-runtime";
9039
9173
  var Typography = ({
9040
9174
  as: Component2 = "p",
9041
9175
  variant = "body",
@@ -9043,7 +9177,7 @@ var Typography = ({
9043
9177
  children,
9044
9178
  "aria-label": ariaLabel
9045
9179
  }) => {
9046
- return /* @__PURE__ */ jsx131(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9180
+ return /* @__PURE__ */ jsx132(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9047
9181
  };
9048
9182
  Typography.displayName = "Typography";
9049
9183
 
@@ -9056,7 +9190,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
9056
9190
  };
9057
9191
 
9058
9192
  // src/primitives/state-message/index.tsx
9059
- import { jsx as jsx132, jsxs as jsxs124 } from "react/jsx-runtime";
9193
+ import { jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9060
9194
  var StateMessage = (_a) => {
9061
9195
  var _b = _a, {
9062
9196
  icon,
@@ -9077,7 +9211,7 @@ var StateMessage = (_a) => {
9077
9211
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
9078
9212
  "aria-hidden": true
9079
9213
  });
9080
- return /* @__PURE__ */ jsx132(
9214
+ return /* @__PURE__ */ jsx133(
9081
9215
  "div",
9082
9216
  __spreadProps(__spreadValues({}, rest), {
9083
9217
  className: cn(
@@ -9088,7 +9222,7 @@ var StateMessage = (_a) => {
9088
9222
  role: "status",
9089
9223
  "aria-live": "polite",
9090
9224
  "aria-label": title2,
9091
- children: /* @__PURE__ */ jsxs124(
9225
+ children: /* @__PURE__ */ jsxs125(
9092
9226
  "div",
9093
9227
  {
9094
9228
  className: cn(
@@ -9097,7 +9231,7 @@ var StateMessage = (_a) => {
9097
9231
  ),
9098
9232
  children: [
9099
9233
  resolvedIcon,
9100
- /* @__PURE__ */ jsxs124(
9234
+ /* @__PURE__ */ jsxs125(
9101
9235
  "div",
9102
9236
  {
9103
9237
  className: cn(
@@ -9105,8 +9239,8 @@ var StateMessage = (_a) => {
9105
9239
  classNames == null ? void 0 : classNames.text
9106
9240
  ),
9107
9241
  children: [
9108
- /* @__PURE__ */ jsx132(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9109
- description ? /* @__PURE__ */ jsx132(
9242
+ /* @__PURE__ */ jsx133(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9243
+ description ? /* @__PURE__ */ jsx133(
9110
9244
  Typography,
9111
9245
  {
9112
9246
  variant: "label",
@@ -9117,7 +9251,7 @@ var StateMessage = (_a) => {
9117
9251
  ]
9118
9252
  }
9119
9253
  ),
9120
- hasAction ? /* @__PURE__ */ jsx132(
9254
+ hasAction ? /* @__PURE__ */ jsx133(
9121
9255
  Button,
9122
9256
  {
9123
9257
  variant: "tertiary",
@@ -9219,7 +9353,7 @@ var findEdgeEnabledIndex = (items, direction) => {
9219
9353
  };
9220
9354
 
9221
9355
  // src/primitives/tabs/index.tsx
9222
- import { Fragment as Fragment9, jsx as jsx133, jsxs as jsxs125 } from "react/jsx-runtime";
9356
+ import { Fragment as Fragment9, jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
9223
9357
  var getTabButtonClassName = ({
9224
9358
  enableAnimations,
9225
9359
  isBarVariant,
@@ -9547,7 +9681,7 @@ var Tabs = ({
9547
9681
  value
9548
9682
  ]);
9549
9683
  if (shouldUseOverflowSelect) {
9550
- return /* @__PURE__ */ jsx133("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx133(
9684
+ return /* @__PURE__ */ jsx134("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx134(
9551
9685
  Select,
9552
9686
  {
9553
9687
  ariaLabel,
@@ -9559,7 +9693,7 @@ var Tabs = ({
9559
9693
  }
9560
9694
  ) });
9561
9695
  }
9562
- return /* @__PURE__ */ jsxs125(
9696
+ return /* @__PURE__ */ jsxs126(
9563
9697
  "div",
9564
9698
  {
9565
9699
  className: cn(
@@ -9570,7 +9704,7 @@ var Tabs = ({
9570
9704
  classNames == null ? void 0 : classNames.root
9571
9705
  ),
9572
9706
  children: [
9573
- /* @__PURE__ */ jsxs125(
9707
+ /* @__PURE__ */ jsxs126(
9574
9708
  "div",
9575
9709
  {
9576
9710
  ref: tabListRef,
@@ -9584,7 +9718,7 @@ var Tabs = ({
9584
9718
  onPointerUp: handleEndTabListDrag,
9585
9719
  onWheel: handleTabListWheel,
9586
9720
  children: [
9587
- shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx133(
9721
+ shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx134(
9588
9722
  "span",
9589
9723
  {
9590
9724
  "aria-hidden": true,
@@ -9595,7 +9729,7 @@ var Tabs = ({
9595
9729
  var _a;
9596
9730
  const isActive = item.value === value;
9597
9731
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
9598
- return /* @__PURE__ */ jsxs125(
9732
+ return /* @__PURE__ */ jsxs126(
9599
9733
  "button",
9600
9734
  {
9601
9735
  ref: (buttonElement) => {
@@ -9631,7 +9765,7 @@ var Tabs = ({
9631
9765
  ),
9632
9766
  children: [
9633
9767
  item.icon ? item.icon : null,
9634
- /* @__PURE__ */ jsxs125(
9768
+ /* @__PURE__ */ jsxs126(
9635
9769
  "span",
9636
9770
  {
9637
9771
  className: cn(
@@ -9649,7 +9783,7 @@ var Tabs = ({
9649
9783
  item.value
9650
9784
  );
9651
9785
  }),
9652
- !isBarVariant ? /* @__PURE__ */ jsx133(
9786
+ !isBarVariant ? /* @__PURE__ */ jsx134(
9653
9787
  "span",
9654
9788
  {
9655
9789
  "aria-hidden": true,
@@ -9668,8 +9802,8 @@ var Tabs = ({
9668
9802
  ]
9669
9803
  }
9670
9804
  ),
9671
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9672
- /* @__PURE__ */ jsx133(
9805
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs126(Fragment9, { children: [
9806
+ /* @__PURE__ */ jsx134(
9673
9807
  "span",
9674
9808
  {
9675
9809
  "aria-hidden": true,
@@ -9681,7 +9815,7 @@ var Tabs = ({
9681
9815
  )
9682
9816
  }
9683
9817
  ),
9684
- /* @__PURE__ */ jsx133(
9818
+ /* @__PURE__ */ jsx134(
9685
9819
  "span",
9686
9820
  {
9687
9821
  "aria-hidden": true,
@@ -9694,8 +9828,8 @@ var Tabs = ({
9694
9828
  }
9695
9829
  )
9696
9830
  ] }) : null,
9697
- shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs125(Fragment9, { children: [
9698
- /* @__PURE__ */ jsx133(
9831
+ shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs126(Fragment9, { children: [
9832
+ /* @__PURE__ */ jsx134(
9699
9833
  "button",
9700
9834
  {
9701
9835
  type: "button",
@@ -9717,10 +9851,10 @@ var Tabs = ({
9717
9851
  behavior: getScrollBehavior(enableAnimations)
9718
9852
  });
9719
9853
  },
9720
- children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9854
+ children: /* @__PURE__ */ jsx134(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
9721
9855
  }
9722
9856
  ),
9723
- /* @__PURE__ */ jsx133(
9857
+ /* @__PURE__ */ jsx134(
9724
9858
  "button",
9725
9859
  {
9726
9860
  type: "button",
@@ -9742,7 +9876,7 @@ var Tabs = ({
9742
9876
  behavior: getScrollBehavior(enableAnimations)
9743
9877
  });
9744
9878
  },
9745
- children: /* @__PURE__ */ jsx133(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9879
+ children: /* @__PURE__ */ jsx134(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
9746
9880
  }
9747
9881
  )
9748
9882
  ] }) : null
@@ -9762,7 +9896,7 @@ import {
9762
9896
  useRef as useRef10,
9763
9897
  useState as useState11
9764
9898
  } from "react";
9765
- import { jsx as jsx134, jsxs as jsxs126 } from "react/jsx-runtime";
9899
+ import { jsx as jsx135, jsxs as jsxs127 } from "react/jsx-runtime";
9766
9900
  var DEFAULT_DURATION_MS = 5e3;
9767
9901
  var EXIT_ANIMATION_MS = 350;
9768
9902
  var TONE_ACCENT_CLASS = {
@@ -9811,9 +9945,9 @@ function ToastProvider({
9811
9945
  },
9812
9946
  [defaultDurationMs]
9813
9947
  );
9814
- return /* @__PURE__ */ jsx134(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs126(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9948
+ return /* @__PURE__ */ jsx135(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs127(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
9815
9949
  children,
9816
- toasts.map((entry) => /* @__PURE__ */ jsx134(
9950
+ toasts.map((entry) => /* @__PURE__ */ jsx135(
9817
9951
  ToastRow,
9818
9952
  {
9819
9953
  entry,
@@ -9823,7 +9957,7 @@ function ToastProvider({
9823
9957
  },
9824
9958
  entry.id
9825
9959
  )),
9826
- /* @__PURE__ */ jsx134(
9960
+ /* @__PURE__ */ jsx135(
9827
9961
  RadixToast.Viewport,
9828
9962
  {
9829
9963
  className: cn(
@@ -9903,7 +10037,7 @@ function ToastRow({ entry, onOpenChange }) {
9903
10037
  clearCloseTimer();
9904
10038
  };
9905
10039
  }, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
9906
- return /* @__PURE__ */ jsxs126(
10040
+ return /* @__PURE__ */ jsxs127(
9907
10041
  RadixToast.Root,
9908
10042
  {
9909
10043
  open: isOpen,
@@ -9924,7 +10058,7 @@ function ToastRow({ entry, onOpenChange }) {
9924
10058
  TONE_ACCENT_CLASS[entry.tone]
9925
10059
  ),
9926
10060
  children: [
9927
- /* @__PURE__ */ jsx134(
10061
+ /* @__PURE__ */ jsx135(
9928
10062
  Icon,
9929
10063
  {
9930
10064
  name: TONE_ICON_NAME[entry.tone],
@@ -9932,25 +10066,25 @@ function ToastRow({ entry, onOpenChange }) {
9932
10066
  "aria-hidden": "true"
9933
10067
  }
9934
10068
  ),
9935
- /* @__PURE__ */ jsxs126("div", { className: "min-w-0 flex-1", children: [
9936
- 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,
9937
- /* @__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 }),
9938
- 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
10069
+ /* @__PURE__ */ jsxs127("div", { className: "min-w-0 flex-1", children: [
10070
+ entry.title ? /* @__PURE__ */ jsx135(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
10071
+ /* @__PURE__ */ jsx135(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
10072
+ entry.detail ? /* @__PURE__ */ jsx135("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
9939
10073
  ] }),
9940
- /* @__PURE__ */ jsx134(
10074
+ /* @__PURE__ */ jsx135(
9941
10075
  RadixToast.Close,
9942
10076
  {
9943
10077
  "aria-label": "Dismiss",
9944
10078
  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",
9945
- children: /* @__PURE__ */ jsx134(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
10079
+ children: /* @__PURE__ */ jsx135(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
9946
10080
  }
9947
10081
  ),
9948
- /* @__PURE__ */ jsx134(
10082
+ /* @__PURE__ */ jsx135(
9949
10083
  "div",
9950
10084
  {
9951
10085
  className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
9952
10086
  "aria-hidden": "true",
9953
- children: /* @__PURE__ */ jsx134(
10087
+ children: /* @__PURE__ */ jsx135(
9954
10088
  "div",
9955
10089
  {
9956
10090
  "data-testid": "agg-toast-progress",
@@ -10012,7 +10146,7 @@ var resolveTooltipArrowDimensions = (size) => {
10012
10146
  };
10013
10147
 
10014
10148
  // src/primitives/tooltip/index.tsx
10015
- import { jsx as jsx135, jsxs as jsxs127 } from "react/jsx-runtime";
10149
+ import { jsx as jsx136, jsxs as jsxs128 } from "react/jsx-runtime";
10016
10150
  var Tooltip = ({
10017
10151
  content,
10018
10152
  children,
@@ -10030,22 +10164,22 @@ var Tooltip = ({
10030
10164
  } = useSdkUiConfig16();
10031
10165
  const trigger = useMemo8(() => {
10032
10166
  if (children) return children;
10033
- return /* @__PURE__ */ jsx135(
10167
+ return /* @__PURE__ */ jsx136(
10034
10168
  "button",
10035
10169
  {
10036
10170
  type: "button",
10037
10171
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
10038
10172
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
10039
- children: /* @__PURE__ */ jsx135(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10173
+ children: /* @__PURE__ */ jsx136(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10040
10174
  }
10041
10175
  );
10042
10176
  }, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
10043
10177
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
10044
10178
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
10045
10179
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
10046
- return /* @__PURE__ */ jsx135(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs127(TooltipPrimitive.Root, { children: [
10047
- /* @__PURE__ */ jsx135(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10048
- /* @__PURE__ */ jsx135(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs127(
10180
+ return /* @__PURE__ */ jsx136(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs128(TooltipPrimitive.Root, { children: [
10181
+ /* @__PURE__ */ jsx136(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10182
+ /* @__PURE__ */ jsx136(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs128(
10049
10183
  TooltipPrimitive.Content,
10050
10184
  {
10051
10185
  side,
@@ -10069,7 +10203,7 @@ var Tooltip = ({
10069
10203
  classNames == null ? void 0 : classNames.content
10070
10204
  ),
10071
10205
  children: [
10072
- /* @__PURE__ */ jsx135(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs127(
10206
+ /* @__PURE__ */ jsx136(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs128(
10073
10207
  "svg",
10074
10208
  {
10075
10209
  width: arrowWidth,
@@ -10078,8 +10212,8 @@ var Tooltip = ({
10078
10212
  "aria-hidden": "true",
10079
10213
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
10080
10214
  children: [
10081
- /* @__PURE__ */ jsx135("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10082
- /* @__PURE__ */ jsx135(
10215
+ /* @__PURE__ */ jsx136("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10216
+ /* @__PURE__ */ jsx136(
10083
10217
  "path",
10084
10218
  {
10085
10219
  d: arrowBorderPath,