@maxsteinwender/sort-ui 1.1.2 → 1.4.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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var React78 = require('react');
4
+ var React80 = require('react');
5
5
  var AccordionPrimitive = require('@radix-ui/react-accordion');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
7
  var clsx = require('clsx');
@@ -52,7 +52,7 @@ function _interopNamespace(e) {
52
52
  return Object.freeze(n);
53
53
  }
54
54
 
55
- var React78__namespace = /*#__PURE__*/_interopNamespace(React78);
55
+ var React80__namespace = /*#__PURE__*/_interopNamespace(React80);
56
56
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
57
57
  var AlertDialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(AlertDialogPrimitive);
58
58
  var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
@@ -161,7 +161,7 @@ var accordionItemVariants = classVarianceAuthority.cva(
161
161
  }
162
162
  }
163
163
  );
164
- var AccordionItem = React78__namespace.forwardRef((_a, ref) => {
164
+ var AccordionItem = React80__namespace.forwardRef((_a, ref) => {
165
165
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
166
166
  return /* @__PURE__ */ jsxRuntime.jsx(
167
167
  AccordionPrimitive__namespace.Item,
@@ -172,7 +172,7 @@ var AccordionItem = React78__namespace.forwardRef((_a, ref) => {
172
172
  );
173
173
  });
174
174
  AccordionItem.displayName = "AccordionItem";
175
- var AccordionTrigger = React78__namespace.forwardRef((_a, ref) => {
175
+ var AccordionTrigger = React80__namespace.forwardRef((_a, ref) => {
176
176
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
177
177
  return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
178
178
  AccordionPrimitive__namespace.Trigger,
@@ -194,7 +194,7 @@ var AccordionTrigger = React78__namespace.forwardRef((_a, ref) => {
194
194
  ) });
195
195
  });
196
196
  AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
197
- var AccordionContent = React78__namespace.forwardRef((_a, ref) => {
197
+ var AccordionContent = React80__namespace.forwardRef((_a, ref) => {
198
198
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
199
199
  return /* @__PURE__ */ jsxRuntime.jsx(
200
200
  AccordionPrimitive__namespace.Content,
@@ -239,7 +239,7 @@ var alertVariants = classVarianceAuthority.cva(
239
239
  }
240
240
  }
241
241
  );
242
- var Alert = React78__namespace.forwardRef((_a, ref) => {
242
+ var Alert = React80__namespace.forwardRef((_a, ref) => {
243
243
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
244
244
  return /* @__PURE__ */ jsxRuntime.jsx(
245
245
  "div",
@@ -251,7 +251,7 @@ var Alert = React78__namespace.forwardRef((_a, ref) => {
251
251
  );
252
252
  });
253
253
  Alert.displayName = "Alert";
254
- var AlertTitle = React78__namespace.forwardRef((_a, ref) => {
254
+ var AlertTitle = React80__namespace.forwardRef((_a, ref) => {
255
255
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
256
256
  return /* @__PURE__ */ jsxRuntime.jsx(
257
257
  "h5",
@@ -262,7 +262,7 @@ var AlertTitle = React78__namespace.forwardRef((_a, ref) => {
262
262
  );
263
263
  });
264
264
  AlertTitle.displayName = "AlertTitle";
265
- var AlertDescription = React78__namespace.forwardRef((_a, ref) => {
265
+ var AlertDescription = React80__namespace.forwardRef((_a, ref) => {
266
266
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
267
267
  return /* @__PURE__ */ jsxRuntime.jsx(
268
268
  "div",
@@ -274,8 +274,8 @@ var AlertDescription = React78__namespace.forwardRef((_a, ref) => {
274
274
  });
275
275
  AlertDescription.displayName = "AlertDescription";
276
276
  function useDevWarnIconOnlyAriaLabel(isIconOnly, ariaLabel, ariaLabelledBy, componentName) {
277
- const warnedRef = React78__namespace.useRef(false);
278
- React78__namespace.useEffect(() => {
277
+ const warnedRef = React80__namespace.useRef(false);
278
+ React80__namespace.useEffect(() => {
279
279
  if (process.env.NODE_ENV === "production") return;
280
280
  if (warnedRef.current) return;
281
281
  if (!isIconOnly) return;
@@ -293,8 +293,9 @@ var buttonVariants = classVarianceAuthority.cva(
293
293
  {
294
294
  variants: {
295
295
  variant: {
296
- // Primary — Sort UI: bg/state/primary, text/white-default, icon/white-default
297
- default: "bg-sui-bg-state-primary text-sui-text-white-default [text-shadow:var(--shadow-text)] [&_i]:text-icon-white-default [&_i]:[text-shadow:none] [&_svg]:text-icon-white-default [&_svg]:[text-shadow:none] shadow-button-default active:shadow-button-press [@media(hover:hover)]:hover:bg-sui-bg-state-primary-hover active:bg-sui-bg-state-primary-press disabled:bg-sui-bg-state-disabled disabled:[text-shadow:none]",
296
+ // Primary — Sort UI: bg/state/primary, text/on-primary, icon/on-primary
297
+ // (on-primary is theme-aware: white everywhere except Theme 2 Dark, where the button inverts to near-white and needs dark text)
298
+ default: "bg-sui-bg-state-primary text-sui-text-on-primary [text-shadow:var(--shadow-text)] [&_i]:text-icon-on-primary [&_i]:[text-shadow:none] [&_svg]:text-icon-on-primary [&_svg]:[text-shadow:none] shadow-button-default active:shadow-button-press [@media(hover:hover)]:hover:bg-sui-bg-state-primary-hover active:bg-sui-bg-state-primary-press disabled:bg-sui-bg-state-disabled disabled:[text-shadow:none]",
298
299
  // Soft — Sort UI: bg/state/soft, text/subtle, icon/default-muted
299
300
  secondary: "bg-sui-bg-state-soft text-sui-text-subtle [&_i]:text-icon-default-muted [&_svg]:text-icon-default-muted [@media(hover:hover)]:hover:bg-sui-bg-state-soft-hover active:bg-sui-bg-state-soft-press disabled:bg-sui-bg-state-disabled",
300
301
  // Secondary — Sort UI: bg/state/secondary, border/darker, text/default, icon/default-muted
@@ -349,6 +350,10 @@ var buttonBadgeVariants = classVarianceAuthority.cva(
349
350
  variants: {
350
351
  color: {
351
352
  inverse: "bg-[rgba(255,255,255,0.1)] border-[rgba(255,255,255,0.2)] text-sui-text-white-default group-disabled:bg-transparent group-disabled:border-transparent group-disabled:text-sui-text-hint",
353
+ // Same visual treatment as `inverse`, but theme-aware — used on the Primary
354
+ // (default) button only, since that's the one that inverts in Theme 2 Dark.
355
+ // Destructive keeps `inverse` because its red background never inverts.
356
+ "on-primary": "bg-[var(--overlay-on-primary)] border-[var(--overlay-on-primary-border)] text-sui-text-on-primary group-disabled:bg-transparent group-disabled:border-transparent group-disabled:text-sui-text-hint",
352
357
  neutral: "bg-transparent border-sui-border-default text-sui-text-muted group-disabled:text-sui-text-hint"
353
358
  },
354
359
  badgeSize: {
@@ -363,7 +368,7 @@ var buttonBadgeVariants = classVarianceAuthority.cva(
363
368
  }
364
369
  );
365
370
  var badgeColorMap = {
366
- default: "inverse",
371
+ default: "on-primary",
367
372
  destructive: "inverse",
368
373
  secondary: "neutral",
369
374
  outline: "neutral",
@@ -389,7 +394,7 @@ var loadingBgMap = {
389
394
  "ghost-muted": "bg-sui-bg-state-ghost-loading"
390
395
  };
391
396
  var loadingSpinnerColorMap = {
392
- default: "text-icon-white-default",
397
+ default: "text-icon-on-primary",
393
398
  destructive: "text-icon-white-default",
394
399
  outline: "text-icon-default-muted",
395
400
  secondary: "text-icon-default-muted",
@@ -397,7 +402,7 @@ var loadingSpinnerColorMap = {
397
402
  "ghost-muted": "text-icon-default-muted"
398
403
  };
399
404
  var loadingTextColorMap = {
400
- default: "text-sui-text-white-default",
405
+ default: "text-sui-text-on-primary",
401
406
  destructive: "text-sui-text-white-default",
402
407
  outline: "text-sui-text-muted",
403
408
  secondary: "text-sui-text-muted",
@@ -405,7 +410,7 @@ var loadingTextColorMap = {
405
410
  "ghost-muted": "text-sui-text-muted"
406
411
  };
407
412
  var loadingShadowVariants = /* @__PURE__ */ new Set(["default", "outline", "destructive"]);
408
- var Button = React78__namespace.forwardRef(
413
+ var Button = React80__namespace.forwardRef(
409
414
  (_a, ref) => {
410
415
  var _b = _a, { className, variant, size, shape, iconOnly, loading, leadIcon: _leadIcon, tailIcon: _tailIcon, badgeLeft: _badgeLeft, badgeRight: _badgeRight, asChild = false, children, showSeparator: _showSeparator } = _b, props = __objRest(_b, ["className", "variant", "size", "shape", "iconOnly", "loading", "leadIcon", "tailIcon", "badgeLeft", "badgeRight", "asChild", "children", "showSeparator"]);
411
416
  const Comp = asChild ? reactSlot.Slot : "button";
@@ -476,7 +481,7 @@ Button.displayName = "Button";
476
481
  var AlertDialog = AlertDialogPrimitive__namespace.Root;
477
482
  var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
478
483
  var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
479
- var AlertDialogOverlay = React78__namespace.forwardRef((_a, ref) => {
484
+ var AlertDialogOverlay = React80__namespace.forwardRef((_a, ref) => {
480
485
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
481
486
  return /* @__PURE__ */ jsxRuntime.jsx(
482
487
  AlertDialogPrimitive__namespace.Overlay,
@@ -491,7 +496,7 @@ var AlertDialogOverlay = React78__namespace.forwardRef((_a, ref) => {
491
496
  );
492
497
  });
493
498
  AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
494
- var AlertDialogContent = React78__namespace.forwardRef((_a, ref) => {
499
+ var AlertDialogContent = React80__namespace.forwardRef((_a, ref) => {
495
500
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
496
501
  return /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
497
502
  /* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
@@ -542,7 +547,7 @@ var AlertDialogFooter = (_a) => {
542
547
  );
543
548
  };
544
549
  AlertDialogFooter.displayName = "AlertDialogFooter";
545
- var AlertDialogTitle = React78__namespace.forwardRef((_a, ref) => {
550
+ var AlertDialogTitle = React80__namespace.forwardRef((_a, ref) => {
546
551
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
547
552
  return /* @__PURE__ */ jsxRuntime.jsx(
548
553
  AlertDialogPrimitive__namespace.Title,
@@ -553,7 +558,7 @@ var AlertDialogTitle = React78__namespace.forwardRef((_a, ref) => {
553
558
  );
554
559
  });
555
560
  AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
556
- var AlertDialogDescription = React78__namespace.forwardRef((_a, ref) => {
561
+ var AlertDialogDescription = React80__namespace.forwardRef((_a, ref) => {
557
562
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
558
563
  return /* @__PURE__ */ jsxRuntime.jsx(
559
564
  AlertDialogPrimitive__namespace.Description,
@@ -564,7 +569,7 @@ var AlertDialogDescription = React78__namespace.forwardRef((_a, ref) => {
564
569
  );
565
570
  });
566
571
  AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
567
- var AlertDialogAction = React78__namespace.forwardRef((_a, ref) => {
572
+ var AlertDialogAction = React80__namespace.forwardRef((_a, ref) => {
568
573
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
569
574
  return /* @__PURE__ */ jsxRuntime.jsx(
570
575
  AlertDialogPrimitive__namespace.Action,
@@ -575,7 +580,7 @@ var AlertDialogAction = React78__namespace.forwardRef((_a, ref) => {
575
580
  );
576
581
  });
577
582
  AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
578
- var AlertDialogCancel = React78__namespace.forwardRef((_a, ref) => {
583
+ var AlertDialogCancel = React80__namespace.forwardRef((_a, ref) => {
579
584
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
580
585
  return /* @__PURE__ */ jsxRuntime.jsx(
581
586
  AlertDialogPrimitive__namespace.Cancel,
@@ -590,6 +595,228 @@ var AlertDialogCancel = React78__namespace.forwardRef((_a, ref) => {
590
595
  );
591
596
  });
592
597
  AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
598
+ var attachmentVariants = classVarianceAuthority.cva(
599
+ "relative flex overflow-hidden border rounded-lg bg-sui-bg-card shadow-card",
600
+ {
601
+ variants: {
602
+ size: {
603
+ default: "gap-3 p-3",
604
+ sm: "gap-2 p-2.5",
605
+ xs: "gap-1.5 p-2"
606
+ },
607
+ orientation: {
608
+ horizontal: "flex-row items-center",
609
+ vertical: "flex-col"
610
+ },
611
+ state: {
612
+ idle: "border-sui-border-default",
613
+ uploading: "border-sui-border-default",
614
+ processing: "border-sui-border-default",
615
+ error: "border-sui-border-destructive",
616
+ done: "border-sui-border-default"
617
+ }
618
+ },
619
+ defaultVariants: {
620
+ size: "default",
621
+ orientation: "horizontal",
622
+ state: "done"
623
+ }
624
+ }
625
+ );
626
+ var AttachmentContext = React80__namespace.createContext({
627
+ size: "default",
628
+ state: "done"
629
+ });
630
+ var Attachment = React80__namespace.forwardRef(
631
+ (_a, ref) => {
632
+ var _b = _a, {
633
+ className,
634
+ size = "default",
635
+ orientation = "horizontal",
636
+ state = "done"
637
+ } = _b, props = __objRest(_b, [
638
+ "className",
639
+ "size",
640
+ "orientation",
641
+ "state"
642
+ ]);
643
+ const resolvedSize = size != null ? size : "default";
644
+ const resolvedState = state != null ? state : "done";
645
+ return /* @__PURE__ */ jsxRuntime.jsx(AttachmentContext.Provider, { value: { size: resolvedSize, state: resolvedState }, children: /* @__PURE__ */ jsxRuntime.jsx(
646
+ "div",
647
+ __spreadValues({
648
+ ref,
649
+ className: cn(attachmentVariants({ size, orientation, state }), className)
650
+ }, props)
651
+ ) });
652
+ }
653
+ );
654
+ Attachment.displayName = "Attachment";
655
+ var mediaContainerSize = {
656
+ default: "size-10",
657
+ sm: "size-8",
658
+ xs: "size-6"
659
+ };
660
+ var mediaIconSize = {
661
+ default: "[&_i]:text-xl [&_svg]:size-5",
662
+ sm: "[&_i]:text-lg [&_svg]:size-4",
663
+ xs: "[&_i]:text-sm [&_svg]:size-3.5"
664
+ };
665
+ var AttachmentMedia = React80__namespace.forwardRef(
666
+ (_a, ref) => {
667
+ var _b = _a, { className, variant = "icon", children } = _b, props = __objRest(_b, ["className", "variant", "children"]);
668
+ const { size } = React80__namespace.useContext(AttachmentContext);
669
+ return /* @__PURE__ */ jsxRuntime.jsx(
670
+ "div",
671
+ __spreadProps(__spreadValues({
672
+ ref,
673
+ className: cn(
674
+ "relative flex shrink-0 items-center justify-center overflow-hidden rounded-sm",
675
+ mediaContainerSize[size],
676
+ variant === "icon" && [
677
+ "bg-sui-bg-subtle border-[0.5px] border-sui-border-darker",
678
+ "[&_i]:text-icon-default-muted [&_svg]:text-icon-default-muted",
679
+ mediaIconSize[size]
680
+ ],
681
+ variant === "image" && "[&_img]:size-full [&_img]:object-cover",
682
+ className
683
+ )
684
+ }, props), {
685
+ children
686
+ })
687
+ );
688
+ }
689
+ );
690
+ AttachmentMedia.displayName = "AttachmentMedia";
691
+ var AttachmentContent = React80__namespace.forwardRef((_a, ref) => {
692
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
693
+ return /* @__PURE__ */ jsxRuntime.jsx(
694
+ "div",
695
+ __spreadValues({
696
+ ref,
697
+ className: cn("relative flex flex-1 flex-col gap-0.5 justify-center min-w-0", className)
698
+ }, props)
699
+ );
700
+ });
701
+ AttachmentContent.displayName = "AttachmentContent";
702
+ var titleTextSize = {
703
+ default: "text-sm",
704
+ sm: "text-sm",
705
+ xs: "text-xs"
706
+ };
707
+ var AttachmentTitle = React80__namespace.forwardRef((_a, ref) => {
708
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
709
+ const { size, state } = React80__namespace.useContext(AttachmentContext);
710
+ const isShimmering = state === "uploading" || state === "processing";
711
+ return /* @__PURE__ */ jsxRuntime.jsx(
712
+ "p",
713
+ __spreadValues({
714
+ ref,
715
+ className: cn(
716
+ "font-medium leading-5 text-sui-text-default truncate",
717
+ titleTextSize[size],
718
+ isShimmering && "animate-pulse",
719
+ className
720
+ )
721
+ }, props)
722
+ );
723
+ });
724
+ AttachmentTitle.displayName = "AttachmentTitle";
725
+ var stateIcon = {
726
+ uploading: "ri-loader-4-line animate-spin text-icon-informative",
727
+ processing: "ri-loader-4-line animate-spin text-icon-informative",
728
+ error: "ri-error-warning-line text-icon-destructive",
729
+ done: "ri-check-line text-icon-success"
730
+ };
731
+ var AttachmentDescription = React80__namespace.forwardRef((_a, ref) => {
732
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
733
+ const { state } = React80__namespace.useContext(AttachmentContext);
734
+ const icon = stateIcon[state];
735
+ return /* @__PURE__ */ jsxRuntime.jsxs(
736
+ "div",
737
+ __spreadProps(__spreadValues({
738
+ ref,
739
+ className: cn(
740
+ "flex items-center gap-1 text-xs leading-4 whitespace-nowrap",
741
+ state === "error" ? "text-sui-text-destructive" : "text-sui-text-muted",
742
+ className
743
+ )
744
+ }, props), {
745
+ children: [
746
+ icon && /* @__PURE__ */ jsxRuntime.jsx("i", { className: cn(icon, "leading-none"), "aria-hidden": "true" }),
747
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children })
748
+ ]
749
+ })
750
+ );
751
+ });
752
+ AttachmentDescription.displayName = "AttachmentDescription";
753
+ var AttachmentActions = React80__namespace.forwardRef((_a, ref) => {
754
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
755
+ return /* @__PURE__ */ jsxRuntime.jsx(
756
+ "div",
757
+ __spreadValues({
758
+ ref,
759
+ className: cn("relative flex items-center gap-1 shrink-0", className)
760
+ }, props)
761
+ );
762
+ });
763
+ AttachmentActions.displayName = "AttachmentActions";
764
+ var AttachmentAction = React80__namespace.forwardRef(
765
+ (_a, ref) => {
766
+ var _b = _a, { className, size = "2xs", onClick } = _b, props = __objRest(_b, ["className", "size", "onClick"]);
767
+ return /* @__PURE__ */ jsxRuntime.jsx(
768
+ Button,
769
+ __spreadValues({
770
+ ref,
771
+ type: "button",
772
+ variant: "ghost",
773
+ size,
774
+ iconOnly: true,
775
+ onClick: (event) => {
776
+ event.stopPropagation();
777
+ onClick == null ? void 0 : onClick(event);
778
+ },
779
+ className
780
+ }, props)
781
+ );
782
+ }
783
+ );
784
+ AttachmentAction.displayName = "AttachmentAction";
785
+ var AttachmentTrigger = React80__namespace.forwardRef(
786
+ (_a, ref) => {
787
+ var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
788
+ const Comp = asChild ? reactSlot.Slot : "button";
789
+ return /* @__PURE__ */ jsxRuntime.jsx(
790
+ Comp,
791
+ __spreadValues({
792
+ ref,
793
+ type: asChild ? void 0 : "button",
794
+ className: cn(
795
+ "absolute inset-0 z-0 rounded-[inherit]",
796
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-2 focus-visible:ring-offset-sui-bg-default",
797
+ className
798
+ )
799
+ }, props)
800
+ );
801
+ }
802
+ );
803
+ AttachmentTrigger.displayName = "AttachmentTrigger";
804
+ var AttachmentGroup = React80__namespace.forwardRef((_a, ref) => {
805
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
806
+ return /* @__PURE__ */ jsxRuntime.jsx(
807
+ "div",
808
+ __spreadValues({
809
+ ref,
810
+ className: cn(
811
+ "flex gap-2 overflow-x-auto snap-x snap-mandatory",
812
+ "scroll-fade-x [--scroll-fade-size:16px]",
813
+ "[&>*]:snap-start",
814
+ className
815
+ )
816
+ }, props)
817
+ );
818
+ });
819
+ AttachmentGroup.displayName = "AttachmentGroup";
593
820
  var containerSize = {
594
821
  "2xs": "size-sui-8",
595
822
  "xs": "size-sui-10",
@@ -614,11 +841,11 @@ var awayIconSize = {
614
841
  "lg": "14px",
615
842
  "default": "16px"
616
843
  };
617
- var StatusBadge = React78__namespace.forwardRef(
844
+ var StatusBadge = React80__namespace.forwardRef(
618
845
  (_a, ref) => {
619
846
  var _b = _a, { variant, size = "default", src, className } = _b, props = __objRest(_b, ["variant", "size", "src", "className"]);
620
- const [imgError, setImgError] = React78__namespace.useState(false);
621
- React78__namespace.useEffect(() => {
847
+ const [imgError, setImgError] = React80__namespace.useState(false);
848
+ React80__namespace.useEffect(() => {
622
849
  setImgError(false);
623
850
  }, [src]);
624
851
  const sizeClass = containerSize[size];
@@ -831,12 +1058,12 @@ function extractInitials(value) {
831
1058
  }
832
1059
  return trimmed.slice(0, 2).toUpperCase();
833
1060
  }
834
- var AvatarContext = React78__namespace.createContext({
1061
+ var AvatarContext = React80__namespace.createContext({
835
1062
  size: "md",
836
1063
  shape: "circular",
837
1064
  color: "gray"
838
1065
  });
839
- var Avatar = React78__namespace.forwardRef((_a, ref) => {
1066
+ var Avatar = React80__namespace.forwardRef((_a, ref) => {
840
1067
  var _b = _a, {
841
1068
  className,
842
1069
  size = "md",
@@ -990,7 +1217,7 @@ var Avatar = React78__namespace.forwardRef((_a, ref) => {
990
1217
  ) });
991
1218
  });
992
1219
  Avatar.displayName = "Avatar";
993
- var AvatarImage = React78__namespace.forwardRef((_a, ref) => {
1220
+ var AvatarImage = React80__namespace.forwardRef((_a, ref) => {
994
1221
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
995
1222
  return /* @__PURE__ */ jsxRuntime.jsx(
996
1223
  AvatarPrimitive__namespace.Image,
@@ -1001,10 +1228,10 @@ var AvatarImage = React78__namespace.forwardRef((_a, ref) => {
1001
1228
  );
1002
1229
  });
1003
1230
  AvatarImage.displayName = "AvatarImage";
1004
- var AvatarFallback = React78__namespace.forwardRef((_a, ref) => {
1231
+ var AvatarFallback = React80__namespace.forwardRef((_a, ref) => {
1005
1232
  var _b = _a, { className, fallback, children } = _b, props = __objRest(_b, ["className", "fallback", "children"]);
1006
1233
  var _a2, _b2, _c;
1007
- const { size, shape, color } = React78__namespace.useContext(AvatarContext);
1234
+ const { size, shape, color } = React80__namespace.useContext(AvatarContext);
1008
1235
  const shapeClass = shape === "rounded" ? "rounded-sm" : "rounded-full";
1009
1236
  const fontClass = (_a2 = initialsFontSize[size]) != null ? _a2 : "text-sm";
1010
1237
  const iconClass = (_b2 = iconSize[size]) != null ? _b2 : "text-lg";
@@ -1054,7 +1281,7 @@ var avatarButtonVariants = classVarianceAuthority.cva(
1054
1281
  }
1055
1282
  }
1056
1283
  );
1057
- var AvatarButton = React78__namespace.forwardRef(
1284
+ var AvatarButton = React80__namespace.forwardRef(
1058
1285
  (_a, ref) => {
1059
1286
  var _b = _a, {
1060
1287
  className,
@@ -1148,7 +1375,7 @@ var paddingBySize = {
1148
1375
  "2xl": "pr-sui-10",
1149
1376
  "3xl": "pr-sui-12"
1150
1377
  };
1151
- var AvatarGroup = React78__namespace.forwardRef(
1378
+ var AvatarGroup = React80__namespace.forwardRef(
1152
1379
  (_a, ref) => {
1153
1380
  var _b = _a, { className, size = "md", stacking = "last-on-top", items } = _b, props = __objRest(_b, ["className", "size", "stacking", "items"]);
1154
1381
  const isFirstOnTop = stacking === "first-on-top";
@@ -1190,7 +1417,7 @@ var AvatarGroup = React78__namespace.forwardRef(
1190
1417
  }
1191
1418
  );
1192
1419
  AvatarGroup.displayName = "AvatarGroup";
1193
- var AvatarUpload = React78__namespace.forwardRef(
1420
+ var AvatarUpload = React80__namespace.forwardRef(
1194
1421
  ({
1195
1422
  src,
1196
1423
  alt = "",
@@ -1283,7 +1510,7 @@ var controlButtonVariants = classVarianceAuthority.cva(
1283
1510
  }
1284
1511
  }
1285
1512
  );
1286
- var ControlButton = React78__namespace.forwardRef(
1513
+ var ControlButton = React80__namespace.forwardRef(
1287
1514
  (_a, ref) => {
1288
1515
  var _b = _a, {
1289
1516
  className,
@@ -1454,12 +1681,12 @@ function Badge(_a) {
1454
1681
  })
1455
1682
  );
1456
1683
  }
1457
- var Breadcrumb = React78__namespace.forwardRef((_a, ref) => {
1684
+ var Breadcrumb = React80__namespace.forwardRef((_a, ref) => {
1458
1685
  var props = __objRest(_a, []);
1459
1686
  return /* @__PURE__ */ jsxRuntime.jsx("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
1460
1687
  });
1461
1688
  Breadcrumb.displayName = "Breadcrumb";
1462
- var BreadcrumbList = React78__namespace.forwardRef((_a, ref) => {
1689
+ var BreadcrumbList = React80__namespace.forwardRef((_a, ref) => {
1463
1690
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1464
1691
  return /* @__PURE__ */ jsxRuntime.jsx(
1465
1692
  "ol",
@@ -1473,7 +1700,7 @@ var BreadcrumbList = React78__namespace.forwardRef((_a, ref) => {
1473
1700
  );
1474
1701
  });
1475
1702
  BreadcrumbList.displayName = "BreadcrumbList";
1476
- var BreadcrumbItem = React78__namespace.forwardRef((_a, ref) => {
1703
+ var BreadcrumbItem = React80__namespace.forwardRef((_a, ref) => {
1477
1704
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1478
1705
  return /* @__PURE__ */ jsxRuntime.jsx(
1479
1706
  "li",
@@ -1484,7 +1711,7 @@ var BreadcrumbItem = React78__namespace.forwardRef((_a, ref) => {
1484
1711
  );
1485
1712
  });
1486
1713
  BreadcrumbItem.displayName = "BreadcrumbItem";
1487
- var BreadcrumbLink = React78__namespace.forwardRef((_a, ref) => {
1714
+ var BreadcrumbLink = React80__namespace.forwardRef((_a, ref) => {
1488
1715
  var _b = _a, { asChild, className } = _b, props = __objRest(_b, ["asChild", "className"]);
1489
1716
  const Comp = asChild ? reactSlot.Slot : "a";
1490
1717
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1500,7 +1727,7 @@ var BreadcrumbLink = React78__namespace.forwardRef((_a, ref) => {
1500
1727
  );
1501
1728
  });
1502
1729
  BreadcrumbLink.displayName = "BreadcrumbLink";
1503
- var BreadcrumbPage = React78__namespace.forwardRef((_a, ref) => {
1730
+ var BreadcrumbPage = React80__namespace.forwardRef((_a, ref) => {
1504
1731
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1505
1732
  return /* @__PURE__ */ jsxRuntime.jsx(
1506
1733
  "span",
@@ -1572,7 +1799,7 @@ function BreadcrumbDivider({ variant }) {
1572
1799
  variant === "dot" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "size-1 rounded-full bg-sui-text-muted" })
1573
1800
  ] });
1574
1801
  }
1575
- var SortBreadcrumb = React78__namespace.forwardRef(
1802
+ var SortBreadcrumb = React80__namespace.forwardRef(
1576
1803
  ({ items, variant = "slash", className }, ref) => {
1577
1804
  return /* @__PURE__ */ jsxRuntime.jsx("nav", { ref, "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsxRuntime.jsx(
1578
1805
  "ol",
@@ -1583,7 +1810,7 @@ var SortBreadcrumb = React78__namespace.forwardRef(
1583
1810
  ),
1584
1811
  children: items.map((item, index) => {
1585
1812
  const isLast = index === items.length - 1;
1586
- return /* @__PURE__ */ jsxRuntime.jsxs(React78__namespace.Fragment, { children: [
1813
+ return /* @__PURE__ */ jsxRuntime.jsxs(React80__namespace.Fragment, { children: [
1587
1814
  /* @__PURE__ */ jsxRuntime.jsx("li", { className: "inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
1588
1815
  SortBreadcrumbItem,
1589
1816
  __spreadProps(__spreadValues({}, item), {
@@ -1675,7 +1902,7 @@ var verticalChildRadius = {
1675
1902
  xs: "[&>button:first-child]:rounded-t-md [&>button:last-of-type]:rounded-b-md",
1676
1903
  "2xs": "[&>button:first-child]:rounded-t-sm [&>button:last-of-type]:rounded-b-sm"
1677
1904
  };
1678
- var ButtonGroup = React78__namespace.forwardRef(
1905
+ var ButtonGroup = React80__namespace.forwardRef(
1679
1906
  (_a, ref) => {
1680
1907
  var _b = _a, { size = "lg", orientation = "horizontal", className, children } = _b, props = __objRest(_b, ["size", "orientation", "className", "children"]);
1681
1908
  const isVertical = orientation === "vertical";
@@ -1694,9 +1921,9 @@ var ButtonGroup = React78__namespace.forwardRef(
1694
1921
  className
1695
1922
  )
1696
1923
  }, props), {
1697
- children: React78__namespace.Children.map(children, (child, index) => {
1698
- if (React78__namespace.isValidElement(child)) {
1699
- return React78__namespace.cloneElement(
1924
+ children: React80__namespace.Children.map(children, (child, index) => {
1925
+ if (React80__namespace.isValidElement(child)) {
1926
+ return React80__namespace.cloneElement(
1700
1927
  child,
1701
1928
  {
1702
1929
  showSeparator: index > 0,
@@ -1766,7 +1993,7 @@ var badgeClasses = {
1766
1993
  xs: "text-xs font-medium leading-4 py-sui-2",
1767
1994
  "2xs": "text-xs font-medium leading-4 py-0"
1768
1995
  };
1769
- var ButtonGroupItem = React78__namespace.forwardRef(
1996
+ var ButtonGroupItem = React80__namespace.forwardRef(
1770
1997
  (_a, ref) => {
1771
1998
  var _b = _a, {
1772
1999
  label,
@@ -1854,7 +2081,7 @@ var filterButtonVariants = classVarianceAuthority.cva(
1854
2081
  );
1855
2082
  var getVisualStateClasses = (selected) => selected ? "bg-sui-bg-state-secondary border border-solid border-sui-border-darker text-sui-text-muted [&_i]:text-icon-default-muted [&_svg]:text-icon-default-muted shadow-default" : "bg-sui-bg-state-secondary border border-dashed border-sui-border-darker text-sui-text-muted [&_i]:text-icon-default-muted [&_svg]:text-icon-default-muted";
1856
2083
  var SUB_BUTTON_FOCUS = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-1 rounded-sm";
1857
- var FilterButton = React78__namespace.forwardRef(
2084
+ var FilterButton = React80__namespace.forwardRef(
1858
2085
  (_a, ref) => {
1859
2086
  var _b = _a, {
1860
2087
  className,
@@ -2044,7 +2271,7 @@ var underlineOffsetMap = {
2044
2271
  md: "after:bottom-0",
2045
2272
  lg: "after:bottom-0"
2046
2273
  };
2047
- var LinkButton = React78__namespace.forwardRef(
2274
+ var LinkButton = React80__namespace.forwardRef(
2048
2275
  (_a, ref) => {
2049
2276
  var _b = _a, { className, variant, size, asChild = false, leadIcon, tailIcon, disabled, children } = _b, props = __objRest(_b, ["className", "variant", "size", "asChild", "leadIcon", "tailIcon", "disabled", "children"]);
2050
2277
  const Comp = asChild ? reactSlot.Slot : "button";
@@ -2127,7 +2354,7 @@ var brandMap = {
2127
2354
  dropbox: { icon: "ri-dropbox-fill", label: "Dropbox", bg: "var(--social-brand-dropbox)" },
2128
2355
  github: { icon: "ri-github-fill", label: "Github" }
2129
2356
  };
2130
- var SocialButton = React78__namespace.forwardRef(
2357
+ var SocialButton = React80__namespace.forwardRef(
2131
2358
  (_a, ref) => {
2132
2359
  var _b = _a, { className, variant, shape, brand, iconOnly, asChild = false, children } = _b, props = __objRest(_b, ["className", "variant", "shape", "brand", "iconOnly", "asChild", "children"]);
2133
2360
  const Comp = asChild ? reactSlot.Slot : "button";
@@ -2332,8 +2559,8 @@ function CalendarDayButton(_a) {
2332
2559
  "modifiers"
2333
2560
  ]);
2334
2561
  const defaultClassNames = reactDayPicker.getDefaultClassNames();
2335
- const ref = React78__namespace.useRef(null);
2336
- React78__namespace.useEffect(() => {
2562
+ const ref = React80__namespace.useRef(null);
2563
+ React80__namespace.useEffect(() => {
2337
2564
  var _a2;
2338
2565
  if (modifiers.focused) (_a2 = ref.current) == null ? void 0 : _a2.focus();
2339
2566
  }, [modifiers.focused]);
@@ -2405,7 +2632,7 @@ var cardVariants = classVarianceAuthority.cva(
2405
2632
  }
2406
2633
  }
2407
2634
  );
2408
- var Card = React78__namespace.forwardRef(
2635
+ var Card = React80__namespace.forwardRef(
2409
2636
  (_a, ref) => {
2410
2637
  var _b = _a, { className, variant, interactive, asChild = false } = _b, props = __objRest(_b, ["className", "variant", "interactive", "asChild"]);
2411
2638
  const Comp = asChild ? reactSlot.Slot : "div";
@@ -2428,7 +2655,7 @@ var Card = React78__namespace.forwardRef(
2428
2655
  }
2429
2656
  );
2430
2657
  Card.displayName = "Card";
2431
- var CardHeader = React78__namespace.forwardRef((_a, ref) => {
2658
+ var CardHeader = React80__namespace.forwardRef((_a, ref) => {
2432
2659
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2433
2660
  return /* @__PURE__ */ jsxRuntime.jsx(
2434
2661
  "div",
@@ -2439,7 +2666,7 @@ var CardHeader = React78__namespace.forwardRef((_a, ref) => {
2439
2666
  );
2440
2667
  });
2441
2668
  CardHeader.displayName = "CardHeader";
2442
- var CardTitle = React78__namespace.forwardRef((_a, ref) => {
2669
+ var CardTitle = React80__namespace.forwardRef((_a, ref) => {
2443
2670
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2444
2671
  return /* @__PURE__ */ jsxRuntime.jsx(
2445
2672
  "div",
@@ -2453,7 +2680,7 @@ var CardTitle = React78__namespace.forwardRef((_a, ref) => {
2453
2680
  );
2454
2681
  });
2455
2682
  CardTitle.displayName = "CardTitle";
2456
- var CardDescription = React78__namespace.forwardRef((_a, ref) => {
2683
+ var CardDescription = React80__namespace.forwardRef((_a, ref) => {
2457
2684
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2458
2685
  return /* @__PURE__ */ jsxRuntime.jsx(
2459
2686
  "div",
@@ -2464,12 +2691,12 @@ var CardDescription = React78__namespace.forwardRef((_a, ref) => {
2464
2691
  );
2465
2692
  });
2466
2693
  CardDescription.displayName = "CardDescription";
2467
- var CardContent = React78__namespace.forwardRef((_a, ref) => {
2694
+ var CardContent = React80__namespace.forwardRef((_a, ref) => {
2468
2695
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2469
2696
  return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadValues({ ref, className: cn("p-6 pt-0", className) }, props));
2470
2697
  });
2471
2698
  CardContent.displayName = "CardContent";
2472
- var CardFooter = React78__namespace.forwardRef((_a, ref) => {
2699
+ var CardFooter = React80__namespace.forwardRef((_a, ref) => {
2473
2700
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2474
2701
  return /* @__PURE__ */ jsxRuntime.jsx(
2475
2702
  "div",
@@ -2480,7 +2707,7 @@ var CardFooter = React78__namespace.forwardRef((_a, ref) => {
2480
2707
  );
2481
2708
  });
2482
2709
  CardFooter.displayName = "CardFooter";
2483
- var CardCover = React78__namespace.forwardRef(
2710
+ var CardCover = React80__namespace.forwardRef(
2484
2711
  (_a, ref) => {
2485
2712
  var _b = _a, { className, flush = false, aspectRatio = "3/2", style, children } = _b, props = __objRest(_b, ["className", "flush", "aspectRatio", "style", "children"]);
2486
2713
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -2501,17 +2728,17 @@ var CardCover = React78__namespace.forwardRef(
2501
2728
  );
2502
2729
  CardCover.displayName = "CardCover";
2503
2730
  var THEMES = { light: "", dark: ".dark" };
2504
- var ChartContext = React78__namespace.createContext(null);
2731
+ var ChartContext = React80__namespace.createContext(null);
2505
2732
  function useChart() {
2506
- const context = React78__namespace.useContext(ChartContext);
2733
+ const context = React80__namespace.useContext(ChartContext);
2507
2734
  if (!context) {
2508
2735
  throw new Error("useChart must be used within a <ChartContainer />");
2509
2736
  }
2510
2737
  return context;
2511
2738
  }
2512
- var ChartContainer = React78__namespace.forwardRef((_a, ref) => {
2739
+ var ChartContainer = React80__namespace.forwardRef((_a, ref) => {
2513
2740
  var _b = _a, { id, className, children, config } = _b, props = __objRest(_b, ["id", "className", "children", "config"]);
2514
- const uniqueId = React78__namespace.useId();
2741
+ const uniqueId = React80__namespace.useId();
2515
2742
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
2516
2743
  return /* @__PURE__ */ jsxRuntime.jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxRuntime.jsxs(
2517
2744
  "div",
@@ -2558,7 +2785,7 @@ ${colorConfig.map(([key, itemConfig]) => {
2558
2785
  );
2559
2786
  };
2560
2787
  var ChartTooltip = RechartsPrimitive__namespace.Tooltip;
2561
- var ChartTooltipContent = React78__namespace.forwardRef(
2788
+ var ChartTooltipContent = React80__namespace.forwardRef(
2562
2789
  ({
2563
2790
  active,
2564
2791
  payload,
@@ -2575,7 +2802,7 @@ var ChartTooltipContent = React78__namespace.forwardRef(
2575
2802
  labelKey
2576
2803
  }, ref) => {
2577
2804
  const { config } = useChart();
2578
- const tooltipLabel = React78__namespace.useMemo(() => {
2805
+ const tooltipLabel = React80__namespace.useMemo(() => {
2579
2806
  var _a;
2580
2807
  if (hideLabel || !(payload == null ? void 0 : payload.length)) {
2581
2808
  return null;
@@ -2672,7 +2899,7 @@ var ChartTooltipContent = React78__namespace.forwardRef(
2672
2899
  );
2673
2900
  ChartTooltipContent.displayName = "ChartTooltip";
2674
2901
  var ChartLegend = RechartsPrimitive__namespace.Legend;
2675
- var ChartLegendContent = React78__namespace.forwardRef(
2902
+ var ChartLegendContent = React80__namespace.forwardRef(
2676
2903
  ({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
2677
2904
  const { config } = useChart();
2678
2905
  if (!(payload == null ? void 0 : payload.length)) {
@@ -2791,7 +3018,7 @@ var checkboxVariants = classVarianceAuthority.cva(
2791
3018
  }
2792
3019
  }
2793
3020
  );
2794
- var Checkbox = React78__namespace.forwardRef((_a, ref) => {
3021
+ var Checkbox = React80__namespace.forwardRef((_a, ref) => {
2795
3022
  var _b = _a, { className, variant, checked, indeterminate } = _b, props = __objRest(_b, ["className", "variant", "checked", "indeterminate"]);
2796
3023
  return /* @__PURE__ */ jsxRuntime.jsxs(
2797
3024
  CheckboxPrimitive__namespace.Root,
@@ -2913,7 +3140,7 @@ var checkboxCardVariants = classVarianceAuthority.cva(
2913
3140
  }
2914
3141
  }
2915
3142
  );
2916
- var CheckboxCard = React78__namespace.forwardRef(
3143
+ var CheckboxCard = React80__namespace.forwardRef(
2917
3144
  ({
2918
3145
  title,
2919
3146
  description,
@@ -2927,7 +3154,7 @@ var CheckboxCard = React78__namespace.forwardRef(
2927
3154
  disabled = false,
2928
3155
  className
2929
3156
  }, ref) => {
2930
- const generatedId = React78__namespace.useId();
3157
+ const generatedId = React80__namespace.useId();
2931
3158
  const checkboxId = `checkbox-card-${generatedId}`;
2932
3159
  const titleId = `checkbox-card-title-${generatedId}`;
2933
3160
  const descriptionId = `checkbox-card-desc-${generatedId}`;
@@ -3023,10 +3250,10 @@ var CheckboxCard = React78__namespace.forwardRef(
3023
3250
  }
3024
3251
  );
3025
3252
  CheckboxCard.displayName = "CheckboxCard";
3026
- var CheckboxList = React78__namespace.forwardRef(
3253
+ var CheckboxList = React80__namespace.forwardRef(
3027
3254
  (_a, ref) => {
3028
3255
  var _b = _a, { className, divider = true, children } = _b, props = __objRest(_b, ["className", "divider", "children"]);
3029
- const items = React78__namespace.Children.toArray(children);
3256
+ const items = React80__namespace.Children.toArray(children);
3030
3257
  return /* @__PURE__ */ jsxRuntime.jsx(
3031
3258
  "div",
3032
3259
  __spreadProps(__spreadValues({
@@ -3068,7 +3295,7 @@ var checkboxWithTextVariants = classVarianceAuthority.cva(
3068
3295
  }
3069
3296
  }
3070
3297
  );
3071
- var CheckboxWithText = React78__namespace.forwardRef(
3298
+ var CheckboxWithText = React80__namespace.forwardRef(
3072
3299
  ({
3073
3300
  label,
3074
3301
  description,
@@ -3081,7 +3308,7 @@ var CheckboxWithText = React78__namespace.forwardRef(
3081
3308
  className,
3082
3309
  id
3083
3310
  }, ref) => {
3084
- const generatedId = React78__namespace.useId();
3311
+ const generatedId = React80__namespace.useId();
3085
3312
  const checkboxId = id || generatedId;
3086
3313
  return /* @__PURE__ */ jsxRuntime.jsxs(
3087
3314
  "div",
@@ -3165,10 +3392,10 @@ var unselectedStyles = {
3165
3392
  ].join(" ")
3166
3393
  };
3167
3394
  var selectedStyles = {
3168
- // default, soft, ghost → blue selected
3169
- default: "bg-sui-bg-badge-blue border-sui-border-blue text-sui-bg-basic-blue-strong [&_i]:text-sui-bg-basic-blue-strong",
3170
- soft: "bg-sui-bg-badge-blue text-sui-bg-basic-blue-strong [&_i]:text-sui-bg-basic-blue-strong",
3171
- ghost: "bg-sui-bg-badge-blue text-sui-bg-basic-blue-strong [&_i]:text-sui-bg-basic-blue-strong",
3395
+ // default, soft, ghost → informative accent selected (shifts blue → orange in Theme 2; bg-badge-blue has no theme-adaptive equivalent yet)
3396
+ default: "bg-sui-bg-badge-blue border-sui-border-blue text-sui-text-informative [&_i]:text-sui-text-informative",
3397
+ soft: "bg-sui-bg-badge-blue text-sui-text-informative [&_i]:text-sui-text-informative",
3398
+ ghost: "bg-sui-bg-badge-blue text-sui-text-informative [&_i]:text-sui-text-informative",
3172
3399
  // ghost-muted → soft bg + subtle text
3173
3400
  "ghost-muted": "bg-sui-bg-state-soft text-sui-text-subtle [&_i]:text-icon-default-subtle"
3174
3401
  };
@@ -3229,7 +3456,7 @@ var labelClasses2 = {
3229
3456
  md: "text-sm font-medium leading-5",
3230
3457
  sm: "text-xs font-medium leading-4"
3231
3458
  };
3232
- var Chip = React78__namespace.forwardRef(
3459
+ var Chip = React80__namespace.forwardRef(
3233
3460
  (_a, ref) => {
3234
3461
  var _b = _a, {
3235
3462
  label,
@@ -3258,7 +3485,7 @@ var Chip = React78__namespace.forwardRef(
3258
3485
  "className",
3259
3486
  "onClick"
3260
3487
  ]);
3261
- const [internalSelected, setInternalSelected] = React78__namespace.useState(false);
3488
+ const [internalSelected, setInternalSelected] = React80__namespace.useState(false);
3262
3489
  const isControlled = controlledSelected !== void 0;
3263
3490
  const selected = isControlled ? controlledSelected : internalSelected;
3264
3491
  const handleClick = (e) => {
@@ -3356,7 +3583,7 @@ var badgeStyles = [
3356
3583
  "bg-sui-bg-state-soft border border-sui-border-darker rounded-xs",
3357
3584
  "text-sui-text-subtle text-xs font-medium leading-4"
3358
3585
  ].join(" ");
3359
- var TooltipContent = React78__namespace.forwardRef((_a, ref) => {
3586
+ var TooltipContent = React80__namespace.forwardRef((_a, ref) => {
3360
3587
  var _b = _a, { className, variant = "default", weight = "subtle", shortcut, sideOffset = 4, children } = _b, props = __objRest(_b, ["className", "variant", "weight", "shortcut", "sideOffset", "children"]);
3361
3588
  return /* @__PURE__ */ jsxRuntime.jsxs(
3362
3589
  TooltipPrimitive__namespace.Content,
@@ -3392,7 +3619,7 @@ var underlineTabsListVariants = classVarianceAuthority.cva(
3392
3619
  }
3393
3620
  }
3394
3621
  );
3395
- var UnderlineTabsList = React78__namespace.forwardRef((_a, ref) => {
3622
+ var UnderlineTabsList = React80__namespace.forwardRef((_a, ref) => {
3396
3623
  var _b = _a, { className, layout, size } = _b, props = __objRest(_b, ["className", "layout", "size"]);
3397
3624
  return /* @__PURE__ */ jsxRuntime.jsx(
3398
3625
  TabsPrimitive4__namespace.List,
@@ -3439,7 +3666,7 @@ var underlineTabItemVariants = classVarianceAuthority.cva(
3439
3666
  }
3440
3667
  }
3441
3668
  );
3442
- var UnderlineTabItem = React78__namespace.forwardRef(
3669
+ var UnderlineTabItem = React80__namespace.forwardRef(
3443
3670
  (_a, ref) => {
3444
3671
  var _b = _a, {
3445
3672
  className,
@@ -3477,7 +3704,7 @@ var UnderlineTabItem = React78__namespace.forwardRef(
3477
3704
  );
3478
3705
  UnderlineTabItem.displayName = "UnderlineTabItem";
3479
3706
  var DEFAULT_LANGUAGES = ["React", "JavaScript", "TypeScript", "Next.js"];
3480
- var CodeBlock = React78__namespace.forwardRef(
3707
+ var CodeBlock = React80__namespace.forwardRef(
3481
3708
  (_a, ref) => {
3482
3709
  var _b = _a, {
3483
3710
  className,
@@ -3507,10 +3734,10 @@ var CodeBlock = React78__namespace.forwardRef(
3507
3734
  "showLineNumbers"
3508
3735
  ]);
3509
3736
  var _a2, _b2, _c, _d, _e, _f;
3510
- const [activeTab, setActiveTab] = React78__namespace.useState((_b2 = (_a2 = tabs == null ? void 0 : tabs[0]) == null ? void 0 : _a2.label) != null ? _b2 : "");
3511
- const [copied, setCopied] = React78__namespace.useState(false);
3737
+ const [activeTab, setActiveTab] = React80__namespace.useState((_b2 = (_a2 = tabs == null ? void 0 : tabs[0]) == null ? void 0 : _a2.label) != null ? _b2 : "");
3738
+ const [copied, setCopied] = React80__namespace.useState(false);
3512
3739
  const activeCode = variant === "advanced" ? (_f = (_e = (_c = tabs == null ? void 0 : tabs.find((t) => t.label === activeTab)) == null ? void 0 : _c.code) != null ? _e : (_d = tabs == null ? void 0 : tabs[0]) == null ? void 0 : _d.code) != null ? _f : "" : code;
3513
- const handleCopy = React78__namespace.useCallback(() => {
3740
+ const handleCopy = React80__namespace.useCallback(() => {
3514
3741
  if (onCopy) {
3515
3742
  onCopy();
3516
3743
  } else {
@@ -3701,7 +3928,7 @@ var Dialog = DialogPrimitive__namespace.Root;
3701
3928
  var DialogTrigger = DialogPrimitive__namespace.Trigger;
3702
3929
  var DialogPortal = DialogPrimitive__namespace.Portal;
3703
3930
  var DialogClose = DialogPrimitive__namespace.Close;
3704
- var DialogOverlay = React78__namespace.forwardRef((_a, ref) => {
3931
+ var DialogOverlay = React80__namespace.forwardRef((_a, ref) => {
3705
3932
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3706
3933
  return /* @__PURE__ */ jsxRuntime.jsx(
3707
3934
  DialogPrimitive__namespace.Overlay,
@@ -3715,7 +3942,7 @@ var DialogOverlay = React78__namespace.forwardRef((_a, ref) => {
3715
3942
  );
3716
3943
  });
3717
3944
  DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
3718
- var DialogContent = React78__namespace.forwardRef((_a, ref) => {
3945
+ var DialogContent = React80__namespace.forwardRef((_a, ref) => {
3719
3946
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
3720
3947
  return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
3721
3948
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
@@ -3774,7 +4001,7 @@ var DialogFooter = (_a) => {
3774
4001
  );
3775
4002
  };
3776
4003
  DialogFooter.displayName = "DialogFooter";
3777
- var DialogTitle = React78__namespace.forwardRef((_a, ref) => {
4004
+ var DialogTitle = React80__namespace.forwardRef((_a, ref) => {
3778
4005
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3779
4006
  return /* @__PURE__ */ jsxRuntime.jsx(
3780
4007
  DialogPrimitive__namespace.Title,
@@ -3788,7 +4015,7 @@ var DialogTitle = React78__namespace.forwardRef((_a, ref) => {
3788
4015
  );
3789
4016
  });
3790
4017
  DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
3791
- var DialogDescription = React78__namespace.forwardRef((_a, ref) => {
4018
+ var DialogDescription = React80__namespace.forwardRef((_a, ref) => {
3792
4019
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3793
4020
  return /* @__PURE__ */ jsxRuntime.jsx(
3794
4021
  DialogPrimitive__namespace.Description,
@@ -3799,7 +4026,7 @@ var DialogDescription = React78__namespace.forwardRef((_a, ref) => {
3799
4026
  );
3800
4027
  });
3801
4028
  DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
3802
- var Command = React78__namespace.forwardRef((_a, ref) => {
4029
+ var Command = React80__namespace.forwardRef((_a, ref) => {
3803
4030
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3804
4031
  return /* @__PURE__ */ jsxRuntime.jsx(
3805
4032
  cmdk.Command,
@@ -3817,7 +4044,7 @@ var CommandDialog = (_a) => {
3817
4044
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3818
4045
  return /* @__PURE__ */ jsxRuntime.jsx(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxRuntime.jsx(DialogContent, { className: "overflow-hidden p-0 shadow-card max-w-[560px]", children: /* @__PURE__ */ jsxRuntime.jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-sui-text-hint [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_i]:h-4 [&_[cmdk-input-wrapper]_i]:w-4 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_i]:h-4 [&_[cmdk-item]_i]:w-4", children }) }) }));
3819
4046
  };
3820
- var CommandInput = React78__namespace.forwardRef((_a, ref) => {
4047
+ var CommandInput = React80__namespace.forwardRef((_a, ref) => {
3821
4048
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3822
4049
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b border-sui-border-default px-3", "cmdk-input-wrapper": "", children: [
3823
4050
  /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-search-line mr-2 shrink-0 text-icon-default-muted" }),
@@ -3834,7 +4061,7 @@ var CommandInput = React78__namespace.forwardRef((_a, ref) => {
3834
4061
  ] });
3835
4062
  });
3836
4063
  CommandInput.displayName = cmdk.Command.Input.displayName;
3837
- var CommandList = React78__namespace.forwardRef((_a, ref) => {
4064
+ var CommandList = React80__namespace.forwardRef((_a, ref) => {
3838
4065
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3839
4066
  return /* @__PURE__ */ jsxRuntime.jsx(
3840
4067
  cmdk.Command.List,
@@ -3845,7 +4072,7 @@ var CommandList = React78__namespace.forwardRef((_a, ref) => {
3845
4072
  );
3846
4073
  });
3847
4074
  CommandList.displayName = cmdk.Command.List.displayName;
3848
- var CommandEmpty = React78__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4075
+ var CommandEmpty = React80__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3849
4076
  cmdk.Command.Empty,
3850
4077
  __spreadValues({
3851
4078
  ref,
@@ -3853,7 +4080,7 @@ var CommandEmpty = React78__namespace.forwardRef((props, ref) => /* @__PURE__ */
3853
4080
  }, props)
3854
4081
  ));
3855
4082
  CommandEmpty.displayName = cmdk.Command.Empty.displayName;
3856
- var CommandGroup = React78__namespace.forwardRef((_a, ref) => {
4083
+ var CommandGroup = React80__namespace.forwardRef((_a, ref) => {
3857
4084
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3858
4085
  return /* @__PURE__ */ jsxRuntime.jsx(
3859
4086
  cmdk.Command.Group,
@@ -3867,7 +4094,7 @@ var CommandGroup = React78__namespace.forwardRef((_a, ref) => {
3867
4094
  );
3868
4095
  });
3869
4096
  CommandGroup.displayName = cmdk.Command.Group.displayName;
3870
- var CommandSeparator = React78__namespace.forwardRef((_a, ref) => {
4097
+ var CommandSeparator = React80__namespace.forwardRef((_a, ref) => {
3871
4098
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3872
4099
  return /* @__PURE__ */ jsxRuntime.jsx(
3873
4100
  cmdk.Command.Separator,
@@ -3878,7 +4105,7 @@ var CommandSeparator = React78__namespace.forwardRef((_a, ref) => {
3878
4105
  );
3879
4106
  });
3880
4107
  CommandSeparator.displayName = cmdk.Command.Separator.displayName;
3881
- var CommandItem = React78__namespace.forwardRef((_a, ref) => {
4108
+ var CommandItem = React80__namespace.forwardRef((_a, ref) => {
3882
4109
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3883
4110
  return /* @__PURE__ */ jsxRuntime.jsx(
3884
4111
  cmdk.Command.Item,
@@ -3941,7 +4168,7 @@ var sliderHandleVariants = classVarianceAuthority.cva(
3941
4168
  }
3942
4169
  }
3943
4170
  );
3944
- var SliderHandle = React78__namespace.forwardRef(
4171
+ var SliderHandle = React80__namespace.forwardRef(
3945
4172
  (_a, ref) => {
3946
4173
  var _b = _a, { className, state, value, showTooltip = false } = _b, props = __objRest(_b, ["className", "state", "value", "showTooltip"]);
3947
4174
  const isDisabled = state === "disabled";
@@ -4004,7 +4231,7 @@ function buildHistogramPath(data, width, height) {
4004
4231
  path += ` L ${width} ${height} Z`;
4005
4232
  return path;
4006
4233
  }
4007
- var DataRangeSlider = React78__namespace.forwardRef(
4234
+ var DataRangeSlider = React80__namespace.forwardRef(
4008
4235
  (_a, ref) => {
4009
4236
  var _b = _a, {
4010
4237
  className,
@@ -4035,18 +4262,18 @@ var DataRangeSlider = React78__namespace.forwardRef(
4035
4262
  "formatValue",
4036
4263
  "onValueChange"
4037
4264
  ]);
4038
- const trackRef = React78__namespace.useRef(null);
4039
- const [draggingHandle, setDraggingHandle] = React78__namespace.useState(null);
4040
- const [focusedHandle, setFocusedHandle] = React78__namespace.useState(null);
4041
- const clipId = React78__namespace.useId();
4265
+ const trackRef = React80__namespace.useRef(null);
4266
+ const [draggingHandle, setDraggingHandle] = React80__namespace.useState(null);
4267
+ const [focusedHandle, setFocusedHandle] = React80__namespace.useState(null);
4268
+ const clipId = React80__namespace.useId();
4042
4269
  const [rangeMin, rangeMax] = value;
4043
4270
  const pctMin = percent(rangeMin, min, max);
4044
4271
  const pctMax = percent(rangeMax, min, max);
4045
- const fmt = React78__namespace.useCallback(
4272
+ const fmt = React80__namespace.useCallback(
4046
4273
  (v) => formatValue ? formatValue(v) : `${v}`,
4047
4274
  [formatValue]
4048
4275
  );
4049
- const getValueFromPointer = React78__namespace.useCallback(
4276
+ const getValueFromPointer = React80__namespace.useCallback(
4050
4277
  (clientX) => {
4051
4278
  const track = trackRef.current;
4052
4279
  if (!track) return 0;
@@ -4057,7 +4284,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4057
4284
  },
4058
4285
  [min, max, step]
4059
4286
  );
4060
- const closestHandle = React78__namespace.useCallback(
4287
+ const closestHandle = React80__namespace.useCallback(
4061
4288
  (pointerValue) => {
4062
4289
  const distMin = Math.abs(pointerValue - rangeMin);
4063
4290
  const distMax = Math.abs(pointerValue - rangeMax);
@@ -4065,7 +4292,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4065
4292
  },
4066
4293
  [rangeMin, rangeMax]
4067
4294
  );
4068
- const updateValue = React78__namespace.useCallback(
4295
+ const updateValue = React80__namespace.useCallback(
4069
4296
  (handle, newVal) => {
4070
4297
  if (handle === 0) {
4071
4298
  const clamped = clamp(newVal, min, rangeMax);
@@ -4077,7 +4304,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4077
4304
  },
4078
4305
  [min, max, rangeMin, rangeMax, onValueChange]
4079
4306
  );
4080
- const handlePointerDown = React78__namespace.useCallback(
4307
+ const handlePointerDown = React80__namespace.useCallback(
4081
4308
  (e) => {
4082
4309
  if (disabled) return;
4083
4310
  e.preventDefault();
@@ -4089,7 +4316,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4089
4316
  },
4090
4317
  [disabled, getValueFromPointer, closestHandle, updateValue]
4091
4318
  );
4092
- const handlePointerMove = React78__namespace.useCallback(
4319
+ const handlePointerMove = React80__namespace.useCallback(
4093
4320
  (e) => {
4094
4321
  if (draggingHandle === null || disabled) return;
4095
4322
  const newVal = getValueFromPointer(e.clientX);
@@ -4097,10 +4324,10 @@ var DataRangeSlider = React78__namespace.forwardRef(
4097
4324
  },
4098
4325
  [draggingHandle, disabled, getValueFromPointer, updateValue]
4099
4326
  );
4100
- const handlePointerUp = React78__namespace.useCallback(() => {
4327
+ const handlePointerUp = React80__namespace.useCallback(() => {
4101
4328
  setDraggingHandle(null);
4102
4329
  }, []);
4103
- const makeKeyHandler = React78__namespace.useCallback(
4330
+ const makeKeyHandler = React80__namespace.useCallback(
4104
4331
  (handle) => (e) => {
4105
4332
  if (disabled) return;
4106
4333
  const currentVal = handle === 0 ? rangeMin : rangeMax;
@@ -4128,7 +4355,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4128
4355
  },
4129
4356
  [disabled, rangeMin, rangeMax, step, min, max, updateValue]
4130
4357
  );
4131
- const tickLabels = React78__namespace.useMemo(() => {
4358
+ const tickLabels = React80__namespace.useMemo(() => {
4132
4359
  if (pointLabels) return pointLabels;
4133
4360
  const labels = [];
4134
4361
  for (let i = 0; i < pointCount; i++) {
@@ -4139,7 +4366,7 @@ var DataRangeSlider = React78__namespace.forwardRef(
4139
4366
  }, [pointLabels, pointCount, min, max, fmt]);
4140
4367
  const chartWidth = 320;
4141
4368
  const chartHeight = 32;
4142
- const histogramPath = React78__namespace.useMemo(
4369
+ const histogramPath = React80__namespace.useMemo(
4143
4370
  () => buildHistogramPath(data, chartWidth, chartHeight),
4144
4371
  [data]
4145
4372
  );
@@ -4286,7 +4513,7 @@ DataRangeSlider.displayName = "DataRangeSlider";
4286
4513
  var labelVariants = classVarianceAuthority.cva(
4287
4514
  "text-sm font-medium leading-5 text-sui-text-default"
4288
4515
  );
4289
- var Label = React78__namespace.forwardRef((_a, ref) => {
4516
+ var Label = React80__namespace.forwardRef((_a, ref) => {
4290
4517
  var _b = _a, { className, required, supportText, tailIcon, children } = _b, props = __objRest(_b, ["className", "required", "supportText", "tailIcon", "children"]);
4291
4518
  const hasTail = !!(supportText || tailIcon);
4292
4519
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -4347,7 +4574,7 @@ var inputContainerVariants = classVarianceAuthority.cva(
4347
4574
  }
4348
4575
  }
4349
4576
  );
4350
- var InputField = React78__namespace.forwardRef(
4577
+ var InputField = React80__namespace.forwardRef(
4351
4578
  (_a, ref) => {
4352
4579
  var _b = _a, {
4353
4580
  className,
@@ -4410,15 +4637,15 @@ var InputField = React78__namespace.forwardRef(
4410
4637
  "spellCheck",
4411
4638
  "autoComplete"
4412
4639
  ]);
4413
- const generatedId = React78__namespace.useId();
4640
+ const generatedId = React80__namespace.useId();
4414
4641
  const inputId = id || generatedId;
4415
4642
  const captionId = `${inputId}-caption`;
4416
4643
  const hasError = !!error;
4417
4644
  const helperText = hasError ? error : caption;
4418
4645
  const hasInlineTags = !!(tags && tags.length > 0 && !hasError && !disabled);
4419
- const innerRef = React78__namespace.useRef(null);
4420
- React78__namespace.useImperativeHandle(ref, () => innerRef.current, []);
4421
- const [internalHasValue, setInternalHasValue] = React78__namespace.useState(false);
4646
+ const innerRef = React80__namespace.useRef(null);
4647
+ React80__namespace.useImperativeHandle(ref, () => innerRef.current, []);
4648
+ const [internalHasValue, setInternalHasValue] = React80__namespace.useState(false);
4422
4649
  const hasValue = clearable ? typeof value === "string" ? value.length > 0 : internalHasValue : false;
4423
4650
  const handleChange = (e) => {
4424
4651
  if (clearable && value === void 0) {
@@ -4630,8 +4857,7 @@ var InputField = React78__namespace.forwardRef(
4630
4857
  ),
4631
4858
  children: tailAddon
4632
4859
  }
4633
- ),
4634
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom" })
4860
+ )
4635
4861
  ]
4636
4862
  }
4637
4863
  ),
@@ -4650,7 +4876,7 @@ var InputField = React78__namespace.forwardRef(
4650
4876
  }
4651
4877
  );
4652
4878
  InputField.displayName = "InputField";
4653
- var DataRangeSliderInput = React78__namespace.forwardRef(
4879
+ var DataRangeSliderInput = React80__namespace.forwardRef(
4654
4880
  (_a, ref) => {
4655
4881
  var _b = _a, {
4656
4882
  className,
@@ -4770,7 +4996,7 @@ var DataRangeSliderInput = React78__namespace.forwardRef(
4770
4996
  DataRangeSliderInput.displayName = "DataRangeSliderInput";
4771
4997
  var Popover = PopoverPrimitive__namespace.Root;
4772
4998
  var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
4773
- var PopoverContent = React78__namespace.forwardRef((_a, ref) => {
4999
+ var PopoverContent = React80__namespace.forwardRef((_a, ref) => {
4774
5000
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
4775
5001
  return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
4776
5002
  PopoverPrimitive__namespace.Content,
@@ -4793,7 +5019,7 @@ function DatePicker({
4793
5019
  className,
4794
5020
  disabled
4795
5021
  }) {
4796
- const [open, setOpen] = React78__namespace.useState(false);
5022
+ const [open, setOpen] = React80__namespace.useState(false);
4797
5023
  return /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open, onOpenChange: setOpen, children: [
4798
5024
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
4799
5025
  Button,
@@ -4834,7 +5060,7 @@ function DateRangePicker({
4834
5060
  className,
4835
5061
  disabled
4836
5062
  }) {
4837
- const [open, setOpen] = React78__namespace.useState(false);
5063
+ const [open, setOpen] = React80__namespace.useState(false);
4838
5064
  return /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open, onOpenChange: setOpen, children: [
4839
5065
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
4840
5066
  Button,
@@ -4885,7 +5111,7 @@ function DatePickerWithPresets({
4885
5111
  className,
4886
5112
  disabled
4887
5113
  }) {
4888
- const [open, setOpen] = React78__namespace.useState(false);
5114
+ const [open, setOpen] = React80__namespace.useState(false);
4889
5115
  return /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open, onOpenChange: setOpen, children: [
4890
5116
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
4891
5117
  Button,
@@ -5006,7 +5232,7 @@ function RequirementItem({ label, met }) {
5006
5232
  )
5007
5233
  ] });
5008
5234
  }
5009
- var InputCaption = React78__namespace.forwardRef(
5235
+ var InputCaption = React80__namespace.forwardRef(
5010
5236
  (_a, ref) => {
5011
5237
  var _b = _a, {
5012
5238
  variant = "default",
@@ -5097,9 +5323,9 @@ var InputCaption = React78__namespace.forwardRef(
5097
5323
  className
5098
5324
  )
5099
5325
  }, props), {
5100
- children: React78__namespace.Children.map(children, (child) => {
5101
- if (!React78__namespace.isValidElement(child)) return child;
5102
- return React78__namespace.cloneElement(child, {
5326
+ children: React80__namespace.Children.map(children, (child) => {
5327
+ if (!React80__namespace.isValidElement(child)) return child;
5328
+ return React80__namespace.cloneElement(child, {
5103
5329
  className: cn(
5104
5330
  "flex-1",
5105
5331
  child.props.className
@@ -5375,38 +5601,38 @@ function DatePickerInput({
5375
5601
  disabled = false,
5376
5602
  className
5377
5603
  }) {
5378
- const [calendarOpen, setCalendarOpen] = React78__namespace.useState(false);
5604
+ const [calendarOpen, setCalendarOpen] = React80__namespace.useState(false);
5379
5605
  const hasError = !!error;
5380
5606
  const helperText = hasError ? error : caption;
5381
5607
  const singleSegments = dateToSegments(date);
5382
- const [singleDay, setSingleDay] = React78__namespace.useState(singleSegments.day);
5383
- const [singleMonth, setSingleMonth] = React78__namespace.useState(singleSegments.month);
5384
- const [singleYear, setSingleYear] = React78__namespace.useState(singleSegments.year);
5608
+ const [singleDay, setSingleDay] = React80__namespace.useState(singleSegments.day);
5609
+ const [singleMonth, setSingleMonth] = React80__namespace.useState(singleSegments.month);
5610
+ const [singleYear, setSingleYear] = React80__namespace.useState(singleSegments.year);
5385
5611
  const startSegments = dateToSegments(dateRange == null ? void 0 : dateRange.from);
5386
5612
  const endSegments = dateToSegments(dateRange == null ? void 0 : dateRange.to);
5387
- const [startDay, setStartDay] = React78__namespace.useState(startSegments.day);
5388
- const [startMonth, setStartMonth] = React78__namespace.useState(startSegments.month);
5389
- const [startYear, setStartYear] = React78__namespace.useState(startSegments.year);
5390
- const [endDay, setEndDay] = React78__namespace.useState(endSegments.day);
5391
- const [endMonth, setEndMonth] = React78__namespace.useState(endSegments.month);
5392
- const [endYear, setEndYear] = React78__namespace.useState(endSegments.year);
5393
- const singleDayRef = React78__namespace.useRef(null);
5394
- const singleMonthRef = React78__namespace.useRef(null);
5395
- const singleYearRef = React78__namespace.useRef(null);
5396
- const startDayRef = React78__namespace.useRef(null);
5397
- const startMonthRef = React78__namespace.useRef(null);
5398
- const startYearRef = React78__namespace.useRef(null);
5399
- const endDayRef = React78__namespace.useRef(null);
5400
- const endMonthRef = React78__namespace.useRef(null);
5401
- const endYearRef = React78__namespace.useRef(null);
5402
- const calendarIconRef = React78__namespace.useRef(null);
5403
- React78__namespace.useEffect(() => {
5613
+ const [startDay, setStartDay] = React80__namespace.useState(startSegments.day);
5614
+ const [startMonth, setStartMonth] = React80__namespace.useState(startSegments.month);
5615
+ const [startYear, setStartYear] = React80__namespace.useState(startSegments.year);
5616
+ const [endDay, setEndDay] = React80__namespace.useState(endSegments.day);
5617
+ const [endMonth, setEndMonth] = React80__namespace.useState(endSegments.month);
5618
+ const [endYear, setEndYear] = React80__namespace.useState(endSegments.year);
5619
+ const singleDayRef = React80__namespace.useRef(null);
5620
+ const singleMonthRef = React80__namespace.useRef(null);
5621
+ const singleYearRef = React80__namespace.useRef(null);
5622
+ const startDayRef = React80__namespace.useRef(null);
5623
+ const startMonthRef = React80__namespace.useRef(null);
5624
+ const startYearRef = React80__namespace.useRef(null);
5625
+ const endDayRef = React80__namespace.useRef(null);
5626
+ const endMonthRef = React80__namespace.useRef(null);
5627
+ const endYearRef = React80__namespace.useRef(null);
5628
+ const calendarIconRef = React80__namespace.useRef(null);
5629
+ React80__namespace.useEffect(() => {
5404
5630
  const s = dateToSegments(date);
5405
5631
  setSingleDay(s.day);
5406
5632
  setSingleMonth(s.month);
5407
5633
  setSingleYear(s.year);
5408
5634
  }, [date]);
5409
- React78__namespace.useEffect(() => {
5635
+ React80__namespace.useEffect(() => {
5410
5636
  const s = dateToSegments(dateRange == null ? void 0 : dateRange.from);
5411
5637
  setStartDay(s.day);
5412
5638
  setStartMonth(s.month);
@@ -5416,7 +5642,7 @@ function DatePickerInput({
5416
5642
  setEndMonth(e.month);
5417
5643
  setEndYear(e.year);
5418
5644
  }, [dateRange]);
5419
- const handleSingleSegmentChange = React78__namespace.useCallback(
5645
+ const handleSingleSegmentChange = React80__namespace.useCallback(
5420
5646
  (day, month, year) => {
5421
5647
  const d = segmentsToDate(day, month, year);
5422
5648
  if (day.length === 2 && month.length === 2 && year.length === 4) {
@@ -5427,7 +5653,7 @@ function DatePickerInput({
5427
5653
  },
5428
5654
  [onDateChange]
5429
5655
  );
5430
- const handleRangeSegmentChange = React78__namespace.useCallback(
5656
+ const handleRangeSegmentChange = React80__namespace.useCallback(
5431
5657
  (sd, sm, sy, ed, em, ey) => {
5432
5658
  const from = segmentsToDate(sd, sm, sy);
5433
5659
  const to = segmentsToDate(ed, em, ey);
@@ -5502,7 +5728,7 @@ function DatePickerInput({
5502
5728
  setCalendarOpen(false);
5503
5729
  }
5504
5730
  };
5505
- const inputId = React78__namespace.useId();
5731
+ const inputId = React80__namespace.useId();
5506
5732
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex w-full flex-col gap-2", className), children: [
5507
5733
  label && /* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: inputId, children: label }),
5508
5734
  /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open: calendarOpen, onOpenChange: setCalendarOpen, children: [
@@ -5688,7 +5914,7 @@ var lineVariants = classVarianceAuthority.cva("h-px min-w-0 flex-1 border-t bord
5688
5914
  lineStyle: "solid"
5689
5915
  }
5690
5916
  });
5691
- var Divider = React78__namespace.forwardRef(
5917
+ var Divider = React80__namespace.forwardRef(
5692
5918
  (_a, ref) => {
5693
5919
  var _b = _a, {
5694
5920
  className,
@@ -5763,7 +5989,7 @@ var Divider = React78__namespace.forwardRef(
5763
5989
  }
5764
5990
  );
5765
5991
  Divider.displayName = "Divider";
5766
- var MenuSearchInput = React78__namespace.forwardRef(
5992
+ var MenuSearchInput = React80__namespace.forwardRef(
5767
5993
  (_a, ref) => {
5768
5994
  var _b = _a, {
5769
5995
  className,
@@ -5785,15 +6011,15 @@ var MenuSearchInput = React78__namespace.forwardRef(
5785
6011
  "id"
5786
6012
  ]);
5787
6013
  var _a2, _b2;
5788
- const internalRef = React78__namespace.useRef(null);
6014
+ const internalRef = React80__namespace.useRef(null);
5789
6015
  const inputRef = ref || internalRef;
5790
- const [internalValue, setInternalValue] = React78__namespace.useState(
6016
+ const [internalValue, setInternalValue] = React80__namespace.useState(
5791
6017
  defaultValue || ""
5792
6018
  );
5793
6019
  const isControlled = value !== void 0;
5794
6020
  const currentValue = isControlled ? String(value) : internalValue;
5795
6021
  const hasValue = currentValue.length > 0;
5796
- const generatedId = React78__namespace.useId();
6022
+ const generatedId = React80__namespace.useId();
5797
6023
  const inputId = id || generatedId;
5798
6024
  const handleChange = (e) => {
5799
6025
  var _a3;
@@ -5812,7 +6038,7 @@ var MenuSearchInput = React78__namespace.forwardRef(
5812
6038
  (_a3 = inputRef.current) == null ? void 0 : _a3.focus();
5813
6039
  }
5814
6040
  };
5815
- const [isFocused, setIsFocused] = React78__namespace.useState(false);
6041
+ const [isFocused, setIsFocused] = React80__namespace.useState(false);
5816
6042
  const showShortcut = !!shortcutKey && !hasValue && !isFocused && !disabled;
5817
6043
  const handleFocus = (e) => {
5818
6044
  var _a3;
@@ -5926,7 +6152,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
5926
6152
  var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
5927
6153
  var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
5928
6154
  var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
5929
- var DropdownMenuSubTrigger = React78__namespace.forwardRef((_a, ref) => {
6155
+ var DropdownMenuSubTrigger = React80__namespace.forwardRef((_a, ref) => {
5930
6156
  var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
5931
6157
  return /* @__PURE__ */ jsxRuntime.jsxs(
5932
6158
  DropdownMenuPrimitive__namespace.SubTrigger,
@@ -5950,7 +6176,7 @@ var DropdownMenuSubTrigger = React78__namespace.forwardRef((_a, ref) => {
5950
6176
  );
5951
6177
  });
5952
6178
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
5953
- var DropdownMenuSubContent = React78__namespace.forwardRef((_a, ref) => {
6179
+ var DropdownMenuSubContent = React80__namespace.forwardRef((_a, ref) => {
5954
6180
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5955
6181
  return /* @__PURE__ */ jsxRuntime.jsx(
5956
6182
  DropdownMenuPrimitive__namespace.SubContent,
@@ -5965,7 +6191,7 @@ var DropdownMenuSubContent = React78__namespace.forwardRef((_a, ref) => {
5965
6191
  );
5966
6192
  });
5967
6193
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
5968
- var DropdownMenuContent = React78__namespace.forwardRef((_a, ref) => {
6194
+ var DropdownMenuContent = React80__namespace.forwardRef((_a, ref) => {
5969
6195
  var _b = _a, { className, sideOffset = 4, search, searchValue, onSearchChange, onSearchClear, searchPlaceholder = "Search", children } = _b, props = __objRest(_b, ["className", "sideOffset", "search", "searchValue", "onSearchChange", "onSearchClear", "searchPlaceholder", "children"]);
5970
6196
  return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
5971
6197
  DropdownMenuPrimitive__namespace.Content,
@@ -6003,7 +6229,7 @@ var DropdownMenuContent = React78__namespace.forwardRef((_a, ref) => {
6003
6229
  ) });
6004
6230
  });
6005
6231
  DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
6006
- var DropdownMenuItem = React78__namespace.forwardRef((_a, ref) => {
6232
+ var DropdownMenuItem = React80__namespace.forwardRef((_a, ref) => {
6007
6233
  var _b = _a, { className, inset, variant = "default" } = _b, props = __objRest(_b, ["className", "inset", "variant"]);
6008
6234
  return /* @__PURE__ */ jsxRuntime.jsx(
6009
6235
  DropdownMenuPrimitive__namespace.Item,
@@ -6024,7 +6250,7 @@ var DropdownMenuItem = React78__namespace.forwardRef((_a, ref) => {
6024
6250
  );
6025
6251
  });
6026
6252
  DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
6027
- var DropdownMenuCheckboxItem = React78__namespace.forwardRef((_a, ref) => {
6253
+ var DropdownMenuCheckboxItem = React80__namespace.forwardRef((_a, ref) => {
6028
6254
  var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
6029
6255
  return /* @__PURE__ */ jsxRuntime.jsxs(
6030
6256
  DropdownMenuPrimitive__namespace.CheckboxItem,
@@ -6046,7 +6272,7 @@ var DropdownMenuCheckboxItem = React78__namespace.forwardRef((_a, ref) => {
6046
6272
  );
6047
6273
  });
6048
6274
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
6049
- var DropdownMenuRadioItem = React78__namespace.forwardRef((_a, ref) => {
6275
+ var DropdownMenuRadioItem = React80__namespace.forwardRef((_a, ref) => {
6050
6276
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6051
6277
  return /* @__PURE__ */ jsxRuntime.jsxs(
6052
6278
  DropdownMenuPrimitive__namespace.RadioItem,
@@ -6067,7 +6293,7 @@ var DropdownMenuRadioItem = React78__namespace.forwardRef((_a, ref) => {
6067
6293
  );
6068
6294
  });
6069
6295
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
6070
- var DropdownMenuLabel = React78__namespace.forwardRef((_a, ref) => {
6296
+ var DropdownMenuLabel = React80__namespace.forwardRef((_a, ref) => {
6071
6297
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6072
6298
  return /* @__PURE__ */ jsxRuntime.jsx(
6073
6299
  DropdownMenuPrimitive__namespace.Label,
@@ -6082,7 +6308,7 @@ var DropdownMenuLabel = React78__namespace.forwardRef((_a, ref) => {
6082
6308
  );
6083
6309
  });
6084
6310
  DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
6085
- var DropdownMenuSeparator = React78__namespace.forwardRef((_a, ref) => {
6311
+ var DropdownMenuSeparator = React80__namespace.forwardRef((_a, ref) => {
6086
6312
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6087
6313
  return /* @__PURE__ */ jsxRuntime.jsx(
6088
6314
  DropdownMenuPrimitive__namespace.Separator,
@@ -6111,7 +6337,7 @@ var DropdownMenuShortcut = (_a) => {
6111
6337
  );
6112
6338
  };
6113
6339
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
6114
- var DropdownMenuCaption = React78__namespace.forwardRef((_a, ref) => {
6340
+ var DropdownMenuCaption = React80__namespace.forwardRef((_a, ref) => {
6115
6341
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6116
6342
  return /* @__PURE__ */ jsxRuntime.jsx(
6117
6343
  "p",
@@ -6126,7 +6352,7 @@ var DropdownMenuCaption = React78__namespace.forwardRef((_a, ref) => {
6126
6352
  );
6127
6353
  });
6128
6354
  DropdownMenuCaption.displayName = "DropdownMenuCaption";
6129
- var DropdownMenuUserbar = React78__namespace.forwardRef((_a, ref) => {
6355
+ var DropdownMenuUserbar = React80__namespace.forwardRef((_a, ref) => {
6130
6356
  var _b = _a, { className, name, email, avatar, badge } = _b, props = __objRest(_b, ["className", "name", "email", "avatar", "badge"]);
6131
6357
  return /* @__PURE__ */ jsxRuntime.jsxs(
6132
6358
  "div",
@@ -6151,7 +6377,7 @@ var DropdownMenuUserbar = React78__namespace.forwardRef((_a, ref) => {
6151
6377
  );
6152
6378
  });
6153
6379
  DropdownMenuUserbar.displayName = "DropdownMenuUserbar";
6154
- var DropdownMenuLargeItem = React78__namespace.forwardRef((_a, ref) => {
6380
+ var DropdownMenuLargeItem = React80__namespace.forwardRef((_a, ref) => {
6155
6381
  var _b = _a, { className, label, caption, icon, badge, tailIcon } = _b, props = __objRest(_b, ["className", "label", "caption", "icon", "badge", "tailIcon"]);
6156
6382
  return /* @__PURE__ */ jsxRuntime.jsxs(
6157
6383
  DropdownMenuPrimitive__namespace.Item,
@@ -6192,7 +6418,7 @@ var emptyStateVariants = classVarianceAuthority.cva(
6192
6418
  }
6193
6419
  }
6194
6420
  );
6195
- var EmptyState = React78__namespace.forwardRef(
6421
+ var EmptyState = React80__namespace.forwardRef(
6196
6422
  (_a, ref) => {
6197
6423
  var _b = _a, {
6198
6424
  className,
@@ -6258,7 +6484,7 @@ function EmptyStateText({
6258
6484
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-4 text-sui-text-muted w-full", children: description })
6259
6485
  ] });
6260
6486
  }
6261
- var FileUploadArea = React78__namespace.forwardRef(
6487
+ var FileUploadArea = React80__namespace.forwardRef(
6262
6488
  (_a, ref) => {
6263
6489
  var _b = _a, {
6264
6490
  className,
@@ -6283,8 +6509,8 @@ var FileUploadArea = React78__namespace.forwardRef(
6283
6509
  "onDrop",
6284
6510
  "onDragOver"
6285
6511
  ]);
6286
- const [isDragOver, setIsDragOver] = React78__namespace.useState(false);
6287
- const handleDragOver = React78__namespace.useCallback(
6512
+ const [isDragOver, setIsDragOver] = React80__namespace.useState(false);
6513
+ const handleDragOver = React80__namespace.useCallback(
6288
6514
  (e) => {
6289
6515
  if (disabled) return;
6290
6516
  e.preventDefault();
@@ -6293,10 +6519,10 @@ var FileUploadArea = React78__namespace.forwardRef(
6293
6519
  },
6294
6520
  [disabled, onDragOver]
6295
6521
  );
6296
- const handleDragLeave = React78__namespace.useCallback(() => {
6522
+ const handleDragLeave = React80__namespace.useCallback(() => {
6297
6523
  setIsDragOver(false);
6298
6524
  }, []);
6299
- const handleDrop = React78__namespace.useCallback(
6525
+ const handleDrop = React80__namespace.useCallback(
6300
6526
  (e) => {
6301
6527
  if (disabled) return;
6302
6528
  e.preventDefault();
@@ -6305,11 +6531,11 @@ var FileUploadArea = React78__namespace.forwardRef(
6305
6531
  },
6306
6532
  [disabled, onDrop]
6307
6533
  );
6308
- const handleClick = React78__namespace.useCallback(() => {
6534
+ const handleClick = React80__namespace.useCallback(() => {
6309
6535
  if (disabled) return;
6310
6536
  onClick == null ? void 0 : onClick();
6311
6537
  }, [disabled, onClick]);
6312
- const handleKeyDown = React78__namespace.useCallback(
6538
+ const handleKeyDown = React80__namespace.useCallback(
6313
6539
  (e) => {
6314
6540
  if (disabled) return;
6315
6541
  if (e.key === "Enter" || e.key === " ") {
@@ -6425,7 +6651,7 @@ var progressBarVariants = classVarianceAuthority.cva(
6425
6651
  }
6426
6652
  );
6427
6653
  var SEGMENT_COUNT = 10;
6428
- var ProgressBar = React78__namespace.forwardRef(
6654
+ var ProgressBar = React80__namespace.forwardRef(
6429
6655
  (_a, ref) => {
6430
6656
  var _b = _a, {
6431
6657
  className,
@@ -6447,7 +6673,7 @@ var ProgressBar = React78__namespace.forwardRef(
6447
6673
  const clampedValue = Math.min(100, Math.max(0, value != null ? value : 0));
6448
6674
  const displayPercentage = `${Math.round(clampedValue)}%`;
6449
6675
  const filledSegments = Math.round(clampedValue / 100 * SEGMENT_COUNT);
6450
- const generatedId = React78__namespace.useId();
6676
+ const generatedId = React80__namespace.useId();
6451
6677
  const labelId = `${generatedId}-label`;
6452
6678
  return /* @__PURE__ */ jsxRuntime.jsxs(
6453
6679
  "div",
@@ -6533,7 +6759,7 @@ var statusLabel = {
6533
6759
  uploading: "Uploading...",
6534
6760
  failed: "Error"
6535
6761
  };
6536
- var FileUploadCard = React78__namespace.forwardRef(
6762
+ var FileUploadCard = React80__namespace.forwardRef(
6537
6763
  (_a, ref) => {
6538
6764
  var _b = _a, {
6539
6765
  className,
@@ -6745,7 +6971,7 @@ var lineColorMap = {
6745
6971
  warning: "bg-sui-bg-basic-orange-accent",
6746
6972
  error: "bg-sui-bg-basic-red-accent"
6747
6973
  };
6748
- var InlineTips = React78__namespace.forwardRef(
6974
+ var InlineTips = React80__namespace.forwardRef(
6749
6975
  (_a, ref) => {
6750
6976
  var _b = _a, {
6751
6977
  className,
@@ -6876,7 +7102,7 @@ function validateFile(file, accept, maxSize) {
6876
7102
  }
6877
7103
  return null;
6878
7104
  }
6879
- var FileUpload = React78__namespace.forwardRef(
7105
+ var FileUpload = React80__namespace.forwardRef(
6880
7106
  ({
6881
7107
  files = [],
6882
7108
  onFilesAdded,
@@ -6897,16 +7123,16 @@ var FileUpload = React78__namespace.forwardRef(
6897
7123
  icon,
6898
7124
  className
6899
7125
  }, ref) => {
6900
- const inputRef = React78__namespace.useRef(null);
6901
- const [errors, setErrors] = React78__namespace.useState([]);
6902
- const [thumbnails, setThumbnails] = React78__namespace.useState(
7126
+ const inputRef = React80__namespace.useRef(null);
7127
+ const [errors, setErrors] = React80__namespace.useState([]);
7128
+ const [thumbnails, setThumbnails] = React80__namespace.useState(
6903
7129
  {}
6904
7130
  );
6905
- const thumbnailsRef = React78__namespace.useRef(thumbnails);
6906
- React78__namespace.useEffect(() => {
7131
+ const thumbnailsRef = React80__namespace.useRef(thumbnails);
7132
+ React80__namespace.useEffect(() => {
6907
7133
  thumbnailsRef.current = thumbnails;
6908
7134
  }, [thumbnails]);
6909
- React78__namespace.useEffect(() => {
7135
+ React80__namespace.useEffect(() => {
6910
7136
  if (!autoPreview) return;
6911
7137
  setThumbnails((prev) => {
6912
7138
  let next = prev;
@@ -6937,7 +7163,7 @@ var FileUpload = React78__namespace.forwardRef(
6937
7163
  return changed ? next : prev;
6938
7164
  });
6939
7165
  }, [files, autoPreview]);
6940
- React78__namespace.useEffect(() => {
7166
+ React80__namespace.useEffect(() => {
6941
7167
  return () => {
6942
7168
  for (const url of Object.values(thumbnailsRef.current)) {
6943
7169
  URL.revokeObjectURL(url);
@@ -6945,7 +7171,7 @@ var FileUpload = React78__namespace.forwardRef(
6945
7171
  };
6946
7172
  }, []);
6947
7173
  const resolvedDescription = description != null ? description : generateDescription(accept, maxSize, maxFiles);
6948
- const processFiles = React78__namespace.useCallback(
7174
+ const processFiles = React80__namespace.useCallback(
6949
7175
  (fileList) => {
6950
7176
  const newFiles = Array.from(fileList);
6951
7177
  const validationErrors = [];
@@ -6973,11 +7199,11 @@ var FileUpload = React78__namespace.forwardRef(
6973
7199
  },
6974
7200
  [files.length, maxFiles, accept, maxSize, onFilesAdded]
6975
7201
  );
6976
- const handleClick = React78__namespace.useCallback(() => {
7202
+ const handleClick = React80__namespace.useCallback(() => {
6977
7203
  var _a;
6978
7204
  (_a = inputRef.current) == null ? void 0 : _a.click();
6979
7205
  }, []);
6980
- const handleInputChange = React78__namespace.useCallback(
7206
+ const handleInputChange = React80__namespace.useCallback(
6981
7207
  (e) => {
6982
7208
  if (e.target.files && e.target.files.length > 0) {
6983
7209
  processFiles(e.target.files);
@@ -6986,7 +7212,7 @@ var FileUpload = React78__namespace.forwardRef(
6986
7212
  },
6987
7213
  [processFiles]
6988
7214
  );
6989
- const handleDrop = React78__namespace.useCallback(
7215
+ const handleDrop = React80__namespace.useCallback(
6990
7216
  (e) => {
6991
7217
  if (e.dataTransfer.files && e.dataTransfer.files.length > 0) {
6992
7218
  processFiles(e.dataTransfer.files);
@@ -6994,10 +7220,10 @@ var FileUpload = React78__namespace.forwardRef(
6994
7220
  },
6995
7221
  [processFiles]
6996
7222
  );
6997
- const dismissError = React78__namespace.useCallback((index) => {
7223
+ const dismissError = React80__namespace.useCallback((index) => {
6998
7224
  setErrors((prev) => prev.filter((_, i) => i !== index));
6999
7225
  }, []);
7000
- const handlePaste = React78__namespace.useCallback(
7226
+ const handlePaste = React80__namespace.useCallback(
7001
7227
  (e) => {
7002
7228
  var _a;
7003
7229
  if (disabled || !pasteEnabled) return;
@@ -7018,7 +7244,7 @@ var FileUpload = React78__namespace.forwardRef(
7018
7244
  },
7019
7245
  [disabled, pasteEnabled, processFiles]
7020
7246
  );
7021
- const handleCancel = React78__namespace.useCallback(
7247
+ const handleCancel = React80__namespace.useCallback(
7022
7248
  (id) => {
7023
7249
  const uploadFile = files.find((f) => f.id === id);
7024
7250
  if (uploadFile == null ? void 0 : uploadFile.abortController) {
@@ -7135,7 +7361,7 @@ var ariaSortMap = {
7135
7361
  desc: "descending",
7136
7362
  none: "none"
7137
7363
  };
7138
- var GridTableHeaderItem = React78__namespace.forwardRef(
7364
+ var GridTableHeaderItem = React80__namespace.forwardRef(
7139
7365
  (_a, ref) => {
7140
7366
  var _b = _a, {
7141
7367
  className,
@@ -7237,7 +7463,7 @@ var gridTableRowVariants = classVarianceAuthority.cva(
7237
7463
  }
7238
7464
  }
7239
7465
  );
7240
- var GridTableRow = React78__namespace.forwardRef(
7466
+ var GridTableRow = React80__namespace.forwardRef(
7241
7467
  (_a, ref) => {
7242
7468
  var _b = _a, { className, variant = "default", children } = _b, props = __objRest(_b, ["className", "variant", "children"]);
7243
7469
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -7253,7 +7479,7 @@ var GridTableRow = React78__namespace.forwardRef(
7253
7479
  }
7254
7480
  );
7255
7481
  GridTableRow.displayName = "GridTableRow";
7256
- var GridTableCell = React78__namespace.forwardRef(
7482
+ var GridTableCell = React80__namespace.forwardRef(
7257
7483
  (_a, ref) => {
7258
7484
  var _b = _a, { className, bordered = true, children } = _b, props = __objRest(_b, ["className", "bordered", "children"]);
7259
7485
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -7297,7 +7523,7 @@ var gridTableSlotItemVariants = classVarianceAuthority.cva(
7297
7523
  }
7298
7524
  }
7299
7525
  );
7300
- var GridTableSlotItem = React78__namespace.forwardRef(
7526
+ var GridTableSlotItem = React80__namespace.forwardRef(
7301
7527
  (_a, ref) => {
7302
7528
  var _b = _a, {
7303
7529
  className,
@@ -7445,7 +7671,7 @@ var stepperNumberVariants = classVarianceAuthority.cva(
7445
7671
  }
7446
7672
  }
7447
7673
  );
7448
- var StepperNumber = React78__namespace.forwardRef(
7674
+ var StepperNumber = React80__namespace.forwardRef(
7449
7675
  (_a, ref) => {
7450
7676
  var _b = _a, { className, size, color, number = "1" } = _b, props = __objRest(_b, ["className", "size", "color", "number"]);
7451
7677
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -7484,7 +7710,7 @@ var stepperIconVariants = classVarianceAuthority.cva(
7484
7710
  }
7485
7711
  }
7486
7712
  );
7487
- var StepperIcon = React78__namespace.forwardRef(
7713
+ var StepperIcon = React80__namespace.forwardRef(
7488
7714
  (_a, ref) => {
7489
7715
  var _b = _a, { className, variant = "dot-large", icon } = _b, props = __objRest(_b, ["className", "variant", "icon"]);
7490
7716
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -7538,7 +7764,7 @@ function ConnectorLine({ success }) {
7538
7764
  }
7539
7765
  );
7540
7766
  }
7541
- var HorizontalStepperItem = React78__namespace.forwardRef(
7767
+ var HorizontalStepperItem = React80__namespace.forwardRef(
7542
7768
  (_a, ref) => {
7543
7769
  var _b = _a, {
7544
7770
  className,
@@ -7663,7 +7889,7 @@ var HorizontalStepperItem = React78__namespace.forwardRef(
7663
7889
  }
7664
7890
  );
7665
7891
  HorizontalStepperItem.displayName = "HorizontalStepperItem";
7666
- var HorizontalStepper = React78__namespace.forwardRef(
7892
+ var HorizontalStepper = React80__namespace.forwardRef(
7667
7893
  (_a, ref) => {
7668
7894
  var _b = _a, {
7669
7895
  className,
@@ -7738,7 +7964,7 @@ var HorizontalStepper = React78__namespace.forwardRef(
7738
7964
  }
7739
7965
  );
7740
7966
  HorizontalStepper.displayName = "HorizontalStepper";
7741
- var Input = React78__namespace.forwardRef(
7967
+ var Input = React80__namespace.forwardRef(
7742
7968
  (_a, ref) => {
7743
7969
  var _b = _a, { className, type, spellCheck, autoComplete } = _b, props = __objRest(_b, ["className", "type", "spellCheck", "autoComplete"]);
7744
7970
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -7831,7 +8057,7 @@ var inputButtonVariants = classVarianceAuthority.cva(
7831
8057
  }
7832
8058
  );
7833
8059
  var iconOnlyHoverClasses = "[@media(hover:hover)]:hover:[&_i]:text-icon-default-subtle [@media(hover:hover)]:hover:[&_svg]:text-icon-default-subtle active:[&_i]:text-icon-default-subtle active:[&_svg]:text-icon-default-subtle";
7834
- var InputButton = React78__namespace.forwardRef(
8060
+ var InputButton = React80__namespace.forwardRef(
7835
8061
  (_a, ref) => {
7836
8062
  var _b = _a, {
7837
8063
  className,
@@ -7963,7 +8189,7 @@ var InputButton = React78__namespace.forwardRef(
7963
8189
  }
7964
8190
  );
7965
8191
  InputButton.displayName = "InputButton";
7966
- var InputStepper = React78__namespace.forwardRef(
8192
+ var InputStepper = React80__namespace.forwardRef(
7967
8193
  ({ onIncrement, onDecrement, disabled, className }, ref) => {
7968
8194
  return /* @__PURE__ */ jsxRuntime.jsxs(
7969
8195
  "div",
@@ -8020,7 +8246,7 @@ var InputStepper = React78__namespace.forwardRef(
8020
8246
  }
8021
8247
  );
8022
8248
  InputStepper.displayName = "InputStepper";
8023
- var NavigationMenu = React78__namespace.forwardRef((_a, ref) => {
8249
+ var NavigationMenu = React80__namespace.forwardRef((_a, ref) => {
8024
8250
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
8025
8251
  return /* @__PURE__ */ jsxRuntime.jsxs(
8026
8252
  NavigationMenuPrimitive__namespace.Root,
@@ -8039,7 +8265,7 @@ var NavigationMenu = React78__namespace.forwardRef((_a, ref) => {
8039
8265
  );
8040
8266
  });
8041
8267
  NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
8042
- var NavigationMenuList = React78__namespace.forwardRef((_a, ref) => {
8268
+ var NavigationMenuList = React80__namespace.forwardRef((_a, ref) => {
8043
8269
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8044
8270
  return /* @__PURE__ */ jsxRuntime.jsx(
8045
8271
  NavigationMenuPrimitive__namespace.List,
@@ -8057,7 +8283,7 @@ var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
8057
8283
  var navigationMenuTriggerStyle = classVarianceAuthority.cva(
8058
8284
  "group inline-flex h-10 w-max items-center justify-center rounded-md bg-transparent px-4 py-2 text-sm font-medium text-sui-text-default transition-colors [@media(hover:hover)]:hover:bg-sui-bg-state-ghost-hover [@media(hover:hover)]:hover:text-sui-text-default focus:bg-sui-bg-state-ghost-hover focus:text-sui-text-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-2 focus-visible:ring-offset-sui-bg-default disabled:text-sui-text-hint disabled:pointer-events-none data-[state=open]:text-sui-text-default data-[state=open]:bg-sui-bg-state-ghost-hover"
8059
8285
  );
8060
- var NavigationMenuTrigger = React78__namespace.forwardRef((_a, ref) => {
8286
+ var NavigationMenuTrigger = React80__namespace.forwardRef((_a, ref) => {
8061
8287
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
8062
8288
  return /* @__PURE__ */ jsxRuntime.jsxs(
8063
8289
  NavigationMenuPrimitive__namespace.Trigger,
@@ -8080,7 +8306,7 @@ var NavigationMenuTrigger = React78__namespace.forwardRef((_a, ref) => {
8080
8306
  );
8081
8307
  });
8082
8308
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
8083
- var NavigationMenuContent = React78__namespace.forwardRef((_a, ref) => {
8309
+ var NavigationMenuContent = React80__namespace.forwardRef((_a, ref) => {
8084
8310
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8085
8311
  return /* @__PURE__ */ jsxRuntime.jsx(
8086
8312
  NavigationMenuPrimitive__namespace.Content,
@@ -8095,7 +8321,7 @@ var NavigationMenuContent = React78__namespace.forwardRef((_a, ref) => {
8095
8321
  });
8096
8322
  NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
8097
8323
  var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
8098
- var NavigationMenuViewport = React78__namespace.forwardRef((_a, ref) => {
8324
+ var NavigationMenuViewport = React80__namespace.forwardRef((_a, ref) => {
8099
8325
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8100
8326
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
8101
8327
  NavigationMenuPrimitive__namespace.Viewport,
@@ -8109,7 +8335,7 @@ var NavigationMenuViewport = React78__namespace.forwardRef((_a, ref) => {
8109
8335
  ) });
8110
8336
  });
8111
8337
  NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
8112
- var NavigationMenuIndicator = React78__namespace.forwardRef((_a, ref) => {
8338
+ var NavigationMenuIndicator = React80__namespace.forwardRef((_a, ref) => {
8113
8339
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8114
8340
  return /* @__PURE__ */ jsxRuntime.jsx(
8115
8341
  NavigationMenuPrimitive__namespace.Indicator,
@@ -8171,16 +8397,16 @@ var pageItemVariants = classVarianceAuthority.cva(
8171
8397
  );
8172
8398
  var activeDefaultClasses = [
8173
8399
  "bg-sui-bg-state-ghost",
8174
- // Blue text/border: uses bg-basic-blue tokens because text-informative shifts to orange in Theme 2
8175
- "text-sui-bg-basic-blue-strong",
8176
- "border border-sui-bg-basic-blue-accent",
8177
- "[@media(hover:hover)]:hover:bg-sui-bg-state-ghost [@media(hover:hover)]:hover:text-sui-bg-basic-blue-strong"
8400
+ // Semantic accent tokens shift blue orange in Theme 2, matching the theme's accent color
8401
+ "text-sui-text-informative",
8402
+ "border border-sui-border-informative",
8403
+ "[@media(hover:hover)]:hover:bg-sui-bg-state-ghost [@media(hover:hover)]:hover:text-sui-text-informative"
8178
8404
  ].join(" ");
8179
8405
  var activeDotClasses = [
8180
- "bg-sui-bg-basic-blue-accent",
8181
- "[@media(hover:hover)]:hover:bg-sui-bg-basic-blue-accent"
8406
+ "bg-informative",
8407
+ "[@media(hover:hover)]:hover:bg-informative"
8182
8408
  ].join(" ");
8183
- var PageItem = React78__namespace.forwardRef(
8409
+ var PageItem = React80__namespace.forwardRef(
8184
8410
  (_a, ref) => {
8185
8411
  var _b = _a, { className, variant = "default", active = false, label = "0", disabled, asChild = false } = _b, props = __objRest(_b, ["className", "variant", "active", "label", "disabled", "asChild"]);
8186
8412
  const Comp = asChild ? reactSlot.Slot : "button";
@@ -8215,7 +8441,7 @@ var Pagination = (_a) => {
8215
8441
  );
8216
8442
  };
8217
8443
  Pagination.displayName = "Pagination";
8218
- var PaginationContent = React78__namespace.forwardRef((_a, ref) => {
8444
+ var PaginationContent = React80__namespace.forwardRef((_a, ref) => {
8219
8445
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8220
8446
  return /* @__PURE__ */ jsxRuntime.jsx(
8221
8447
  "ul",
@@ -8226,7 +8452,7 @@ var PaginationContent = React78__namespace.forwardRef((_a, ref) => {
8226
8452
  );
8227
8453
  });
8228
8454
  PaginationContent.displayName = "PaginationContent";
8229
- var PaginationItem = React78__namespace.forwardRef((_a, ref) => {
8455
+ var PaginationItem = React80__namespace.forwardRef((_a, ref) => {
8230
8456
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8231
8457
  return /* @__PURE__ */ jsxRuntime.jsx("li", __spreadValues({ ref, className: cn("", className) }, props));
8232
8458
  });
@@ -8347,7 +8573,7 @@ function getPageRange(currentPage, totalPages, maxVisible) {
8347
8573
  }
8348
8574
  return pages;
8349
8575
  }
8350
- var Paginator = React78__namespace.forwardRef(
8576
+ var Paginator = React80__namespace.forwardRef(
8351
8577
  (_a, ref) => {
8352
8578
  var _b = _a, {
8353
8579
  className,
@@ -8527,7 +8753,236 @@ var Paginator = React78__namespace.forwardRef(
8527
8753
  }
8528
8754
  );
8529
8755
  Paginator.displayName = "Paginator";
8530
- var Progress = React78__namespace.forwardRef((_a, ref) => {
8756
+ var CoverImage = ({
8757
+ src,
8758
+ className,
8759
+ imageClassName
8760
+ }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("relative overflow-clip", className), children: src ? /* @__PURE__ */ jsxRuntime.jsx(
8761
+ "img",
8762
+ {
8763
+ src,
8764
+ alt: "",
8765
+ className: cn("absolute inset-0 size-full object-cover", imageClassName)
8766
+ }
8767
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-sui-bg-muted" }) });
8768
+ var TitleRow = ({ title, price }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between font-medium text-md leading-6 text-sui-text-default", children: [
8769
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: title }),
8770
+ price && /* @__PURE__ */ jsxRuntime.jsx("span", { children: price })
8771
+ ] });
8772
+ var DateRow = ({
8773
+ date,
8774
+ prefix = "Added"
8775
+ }) => date ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-sm font-normal leading-5 text-sui-text-muted", children: [
8776
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: prefix }),
8777
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: date })
8778
+ ] }) : null;
8779
+ var TagList = ({ tags }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(Badge, { size: "sm", children: tag }, tag)) });
8780
+ var ProductCard = React80__namespace.forwardRef(
8781
+ (_a, ref) => {
8782
+ var _b = _a, {
8783
+ className,
8784
+ variant = "minimal",
8785
+ title = "Product name",
8786
+ price,
8787
+ image,
8788
+ date,
8789
+ description,
8790
+ tags,
8791
+ author,
8792
+ rating,
8793
+ ctaLabel = "Add to cart",
8794
+ onCta,
8795
+ thumbnail
8796
+ } = _b, props = __objRest(_b, [
8797
+ "className",
8798
+ "variant",
8799
+ "title",
8800
+ "price",
8801
+ "image",
8802
+ "date",
8803
+ "description",
8804
+ "tags",
8805
+ "author",
8806
+ "rating",
8807
+ "ctaLabel",
8808
+ "onCta",
8809
+ "thumbnail"
8810
+ ]);
8811
+ if (variant === "minimal") {
8812
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8813
+ "div",
8814
+ __spreadProps(__spreadValues({
8815
+ ref,
8816
+ className: cn("flex flex-col gap-3", className)
8817
+ }, props), {
8818
+ children: [
8819
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative aspect-[3/2] w-full overflow-clip rounded-lg border border-sui-border-darker shadow-card", children: [
8820
+ /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { src: image, className: "absolute inset-0", imageClassName: "rounded-lg" }),
8821
+ rating && rating > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-[9px] top-[9px] flex items-center gap-0 overflow-clip rounded-md border border-sui-border-default bg-sui-bg-badge-default px-1 py-1 backdrop-blur-[2px]", children: [
8822
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-star-fill text-xs leading-none text-icon-default-muted", "aria-hidden": "true" }),
8823
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pl-0.5 pr-1 text-xs font-medium leading-4 text-sui-text-subtle", children: rating })
8824
+ ] }) : null,
8825
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom-strong" })
8826
+ ] }),
8827
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
8828
+ /* @__PURE__ */ jsxRuntime.jsx(TitleRow, { title, price }),
8829
+ date && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 text-sm font-normal leading-5 text-sui-text-muted", children: [
8830
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Added" }),
8831
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: date })
8832
+ ] })
8833
+ ] })
8834
+ ]
8835
+ })
8836
+ );
8837
+ }
8838
+ if (variant === "featured") {
8839
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8840
+ "div",
8841
+ __spreadProps(__spreadValues({
8842
+ ref,
8843
+ className: cn(
8844
+ "relative flex flex-col gap-3 rounded-xl border border-sui-border-darker bg-sui-bg-card p-4 shadow-card",
8845
+ className
8846
+ )
8847
+ }, props), {
8848
+ children: [
8849
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[3/2] w-full overflow-clip rounded-sm border border-sui-border-darker", children: /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { src: image, className: "absolute inset-0" }) }),
8850
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
8851
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
8852
+ /* @__PURE__ */ jsxRuntime.jsx(TitleRow, { title, price }),
8853
+ /* @__PURE__ */ jsxRuntime.jsx(DateRow, { date })
8854
+ ] }),
8855
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, {}),
8856
+ tags && tags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(TagList, { tags }),
8857
+ /* @__PURE__ */ jsxRuntime.jsxs(Button, { size: "md", className: "w-full", onClick: onCta, children: [
8858
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-shopping-cart-2-line", "aria-hidden": "true" }),
8859
+ ctaLabel
8860
+ ] })
8861
+ ] }),
8862
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom-strong" })
8863
+ ]
8864
+ })
8865
+ );
8866
+ }
8867
+ if (variant === "detailed") {
8868
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8869
+ "div",
8870
+ __spreadProps(__spreadValues({
8871
+ ref,
8872
+ className: cn(
8873
+ "relative flex flex-col overflow-clip rounded-xl border border-sui-border-darker bg-sui-bg-card shadow-card",
8874
+ className
8875
+ )
8876
+ }, props), {
8877
+ children: [
8878
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-[5/3] w-full shrink-0 border-b border-sui-border-darker", children: /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { src: image, className: "absolute inset-0" }) }),
8879
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 p-4", children: [
8880
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
8881
+ /* @__PURE__ */ jsxRuntime.jsx(TitleRow, { title, price }),
8882
+ /* @__PURE__ */ jsxRuntime.jsx(DateRow, { date })
8883
+ ] }),
8884
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, {}),
8885
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal leading-5 text-sui-text-muted", children: description }),
8886
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, {}),
8887
+ tags && tags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(TagList, { tags }),
8888
+ /* @__PURE__ */ jsxRuntime.jsxs(Button, { size: "md", className: "w-full", onClick: onCta, children: [
8889
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-shopping-cart-2-line", "aria-hidden": "true" }),
8890
+ ctaLabel
8891
+ ] })
8892
+ ] }),
8893
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom-strong" })
8894
+ ]
8895
+ })
8896
+ );
8897
+ }
8898
+ if (variant === "author") {
8899
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8900
+ "div",
8901
+ __spreadProps(__spreadValues({
8902
+ ref,
8903
+ className: cn("flex flex-col gap-3", className)
8904
+ }, props), {
8905
+ children: [
8906
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative aspect-[3/2] w-full overflow-clip rounded-lg border border-sui-border-darker shadow-card", children: [
8907
+ /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { src: image, className: "absolute inset-0" }),
8908
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom-strong" })
8909
+ ] }),
8910
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1.5", children: [
8911
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between font-medium text-md leading-6 text-sui-text-default", children: [
8912
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: title }),
8913
+ price && /* @__PURE__ */ jsxRuntime.jsx("span", { children: price })
8914
+ ] }),
8915
+ author && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
8916
+ /* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className: "size-6", children: [
8917
+ author.avatar && /* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src: author.avatar, alt: author.name }),
8918
+ /* @__PURE__ */ jsxRuntime.jsx(AvatarFallback, { className: "text-xs", children: author.name.slice(0, 2).toUpperCase() })
8919
+ ] }),
8920
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 text-sm font-normal leading-5 text-sui-text-subtle", children: [
8921
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: author.name }),
8922
+ author.category && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8923
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-arrow-right-s-line text-base leading-none text-icon-default-muted", "aria-hidden": "true" }),
8924
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: author.category })
8925
+ ] })
8926
+ ] })
8927
+ ] })
8928
+ ] })
8929
+ ]
8930
+ })
8931
+ );
8932
+ }
8933
+ if (variant === "overlay") {
8934
+ return /* @__PURE__ */ jsxRuntime.jsx(
8935
+ "div",
8936
+ __spreadProps(__spreadValues({
8937
+ ref,
8938
+ className: cn("relative", className)
8939
+ }, props), {
8940
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative aspect-[3/2] w-full overflow-clip rounded-lg border border-sui-border-darker shadow-card", children: [
8941
+ /* @__PURE__ */ jsxRuntime.jsx(CoverImage, { src: image, className: "absolute inset-0" }),
8942
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute inset-x-0 bottom-0 flex items-end justify-between bg-gradient-to-b from-transparent to-sui-bg-default pb-2.5 pt-8 px-2.5", children: [
8943
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "outline", size: "sm", children: "Live preview" }),
8944
+ /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "sm", children: [
8945
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-file-copy-line", "aria-hidden": "true" }),
8946
+ "Copy"
8947
+ ] })
8948
+ ] }),
8949
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] shadow-inset-bottom-strong" })
8950
+ ] })
8951
+ })
8952
+ );
8953
+ }
8954
+ return /* @__PURE__ */ jsxRuntime.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(
8955
+ "div",
8956
+ __spreadProps(__spreadValues({
8957
+ ref,
8958
+ className: cn("flex items-center justify-between gap-3", className)
8959
+ }, props), {
8960
+ children: [
8961
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
8962
+ (thumbnail || image) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative size-6 shrink-0 overflow-clip rounded-sm", children: /* @__PURE__ */ jsxRuntime.jsx(
8963
+ "img",
8964
+ {
8965
+ src: thumbnail != null ? thumbnail : image,
8966
+ alt: "",
8967
+ className: "absolute inset-0 size-full object-cover"
8968
+ }
8969
+ ) }),
8970
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate font-medium text-md leading-6 text-sui-text-default", children: title })
8971
+ ] }),
8972
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [
8973
+ /* @__PURE__ */ jsxRuntime.jsxs(Tooltip2, { children: [
8974
+ /* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "2xs", className: "size-6 p-0", children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-bookmark-line", "aria-hidden": "true" }) }) }),
8975
+ /* @__PURE__ */ jsxRuntime.jsx(TooltipContent, { children: "Save to library" })
8976
+ ] }),
8977
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "2xs", className: "size-6 p-0", children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-more-2-fill", "aria-hidden": "true" }) })
8978
+ ] })
8979
+ ]
8980
+ })
8981
+ ) });
8982
+ }
8983
+ );
8984
+ ProductCard.displayName = "ProductCard";
8985
+ var Progress = React80__namespace.forwardRef((_a, ref) => {
8531
8986
  var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
8532
8987
  return /* @__PURE__ */ jsxRuntime.jsx(
8533
8988
  ProgressPrimitive2__namespace.Root,
@@ -8577,7 +9032,7 @@ var arcStrokeVarMap = {
8577
9032
  success: "var(--text-success)",
8578
9033
  failed: "var(--text-destructive)"
8579
9034
  };
8580
- var RadialProgressBar = React78__namespace.forwardRef(
9035
+ var RadialProgressBar = React80__namespace.forwardRef(
8581
9036
  (_a, ref) => {
8582
9037
  var _b = _a, {
8583
9038
  className,
@@ -8697,7 +9152,7 @@ var RadialProgressBar = React78__namespace.forwardRef(
8697
9152
  }
8698
9153
  );
8699
9154
  RadialProgressBar.displayName = "RadialProgressBar";
8700
- var RadioGroup2 = React78__namespace.forwardRef((_a, ref) => {
9155
+ var RadioGroup2 = React80__namespace.forwardRef((_a, ref) => {
8701
9156
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8702
9157
  return /* @__PURE__ */ jsxRuntime.jsx(
8703
9158
  RadioGroupPrimitive__namespace.Root,
@@ -8757,7 +9212,7 @@ var radioButtonVariants = classVarianceAuthority.cva(
8757
9212
  }
8758
9213
  }
8759
9214
  );
8760
- var RadioButton = React78__namespace.forwardRef((_a, ref) => {
9215
+ var RadioButton = React80__namespace.forwardRef((_a, ref) => {
8761
9216
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
8762
9217
  return /* @__PURE__ */ jsxRuntime.jsxs(
8763
9218
  RadioGroupPrimitive__namespace.Item,
@@ -8797,7 +9252,7 @@ var RadioButton = React78__namespace.forwardRef((_a, ref) => {
8797
9252
  );
8798
9253
  });
8799
9254
  RadioButton.displayName = "RadioButton";
8800
- var RadioCardGroup = React78__namespace.forwardRef((_a, ref) => {
9255
+ var RadioCardGroup = React80__namespace.forwardRef((_a, ref) => {
8801
9256
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8802
9257
  return /* @__PURE__ */ jsxRuntime.jsx(
8803
9258
  RadioGroupPrimitive__namespace.Root,
@@ -8846,7 +9301,7 @@ var radioButtonCardVariants = classVarianceAuthority.cva(
8846
9301
  }
8847
9302
  }
8848
9303
  );
8849
- var RadioButtonCard = React78__namespace.forwardRef(
9304
+ var RadioButtonCard = React80__namespace.forwardRef(
8850
9305
  ({
8851
9306
  title,
8852
9307
  description,
@@ -8860,7 +9315,7 @@ var RadioButtonCard = React78__namespace.forwardRef(
8860
9315
  disabled = false,
8861
9316
  className
8862
9317
  }, ref) => {
8863
- const generatedId = React78__namespace.useId();
9318
+ const generatedId = React80__namespace.useId();
8864
9319
  const titleId = `radio-card-title-${generatedId}`;
8865
9320
  const descriptionId = `radio-card-desc-${generatedId}`;
8866
9321
  const isHorizontal = layout === "horizontal";
@@ -8968,9 +9423,9 @@ var RadioButtonCard = React78__namespace.forwardRef(
8968
9423
  }
8969
9424
  );
8970
9425
  RadioButtonCard.displayName = "RadioButtonCard";
8971
- var RadioButtonList = React78__namespace.forwardRef(
9426
+ var RadioButtonList = React80__namespace.forwardRef(
8972
9427
  ({ className, divider = true, value, defaultValue, onValueChange, disabled, children }, ref) => {
8973
- const items = React78__namespace.Children.toArray(children);
9428
+ const items = React80__namespace.Children.toArray(children);
8974
9429
  return /* @__PURE__ */ jsxRuntime.jsx(
8975
9430
  RadioGroup2,
8976
9431
  {
@@ -9014,7 +9469,7 @@ var radioButtonWithTextVariants = classVarianceAuthority.cva(
9014
9469
  }
9015
9470
  }
9016
9471
  );
9017
- var RadioButtonWithText = React78__namespace.forwardRef(
9472
+ var RadioButtonWithText = React80__namespace.forwardRef(
9018
9473
  ({
9019
9474
  label,
9020
9475
  description,
@@ -9025,7 +9480,7 @@ var RadioButtonWithText = React78__namespace.forwardRef(
9025
9480
  className,
9026
9481
  id
9027
9482
  }, ref) => {
9028
- const generatedId = React78__namespace.useId();
9483
+ const generatedId = React80__namespace.useId();
9029
9484
  const radioId = id || generatedId;
9030
9485
  return /* @__PURE__ */ jsxRuntime.jsxs(
9031
9486
  "div",
@@ -9080,7 +9535,7 @@ var RadioButtonWithText = React78__namespace.forwardRef(
9080
9535
  }
9081
9536
  );
9082
9537
  RadioButtonWithText.displayName = "RadioButtonWithText";
9083
- var ScrollArea = React78__namespace.forwardRef((_a, ref) => {
9538
+ var ScrollArea = React80__namespace.forwardRef((_a, ref) => {
9084
9539
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
9085
9540
  return /* @__PURE__ */ jsxRuntime.jsxs(
9086
9541
  ScrollAreaPrimitive__namespace.Root,
@@ -9097,7 +9552,7 @@ var ScrollArea = React78__namespace.forwardRef((_a, ref) => {
9097
9552
  );
9098
9553
  });
9099
9554
  ScrollArea.displayName = ScrollAreaPrimitive__namespace.Root.displayName;
9100
- var ScrollBar = React78__namespace.forwardRef((_a, ref) => {
9555
+ var ScrollBar = React80__namespace.forwardRef((_a, ref) => {
9101
9556
  var _b = _a, { className, orientation = "vertical" } = _b, props = __objRest(_b, ["className", "orientation"]);
9102
9557
  return /* @__PURE__ */ jsxRuntime.jsx(
9103
9558
  ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
@@ -9119,7 +9574,7 @@ ScrollBar.displayName = ScrollAreaPrimitive__namespace.ScrollAreaScrollbar.displ
9119
9574
  var Select = SelectPrimitive__namespace.Root;
9120
9575
  var SelectGroup = SelectPrimitive__namespace.Group;
9121
9576
  var SelectValue = SelectPrimitive__namespace.Value;
9122
- var SelectTrigger = React78__namespace.forwardRef((_a, ref) => {
9577
+ var SelectTrigger = React80__namespace.forwardRef((_a, ref) => {
9123
9578
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
9124
9579
  return /* @__PURE__ */ jsxRuntime.jsxs(
9125
9580
  SelectPrimitive__namespace.Trigger,
@@ -9142,7 +9597,7 @@ var SelectTrigger = React78__namespace.forwardRef((_a, ref) => {
9142
9597
  );
9143
9598
  });
9144
9599
  SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
9145
- var SelectScrollUpButton = React78__namespace.forwardRef((_a, ref) => {
9600
+ var SelectScrollUpButton = React80__namespace.forwardRef((_a, ref) => {
9146
9601
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9147
9602
  return /* @__PURE__ */ jsxRuntime.jsx(
9148
9603
  SelectPrimitive__namespace.ScrollUpButton,
@@ -9158,7 +9613,7 @@ var SelectScrollUpButton = React78__namespace.forwardRef((_a, ref) => {
9158
9613
  );
9159
9614
  });
9160
9615
  SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
9161
- var SelectScrollDownButton = React78__namespace.forwardRef((_a, ref) => {
9616
+ var SelectScrollDownButton = React80__namespace.forwardRef((_a, ref) => {
9162
9617
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9163
9618
  return /* @__PURE__ */ jsxRuntime.jsx(
9164
9619
  SelectPrimitive__namespace.ScrollDownButton,
@@ -9174,7 +9629,7 @@ var SelectScrollDownButton = React78__namespace.forwardRef((_a, ref) => {
9174
9629
  );
9175
9630
  });
9176
9631
  SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
9177
- var SelectContent = React78__namespace.forwardRef((_a, ref) => {
9632
+ var SelectContent = React80__namespace.forwardRef((_a, ref) => {
9178
9633
  var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
9179
9634
  return /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
9180
9635
  SelectPrimitive__namespace.Content,
@@ -9207,7 +9662,7 @@ var SelectContent = React78__namespace.forwardRef((_a, ref) => {
9207
9662
  ) });
9208
9663
  });
9209
9664
  SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
9210
- var SelectLabel = React78__namespace.forwardRef((_a, ref) => {
9665
+ var SelectLabel = React80__namespace.forwardRef((_a, ref) => {
9211
9666
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9212
9667
  return /* @__PURE__ */ jsxRuntime.jsx(
9213
9668
  SelectPrimitive__namespace.Label,
@@ -9221,7 +9676,7 @@ var SelectLabel = React78__namespace.forwardRef((_a, ref) => {
9221
9676
  );
9222
9677
  });
9223
9678
  SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
9224
- var SelectItem = React78__namespace.forwardRef((_a, ref) => {
9679
+ var SelectItem = React80__namespace.forwardRef((_a, ref) => {
9225
9680
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
9226
9681
  return /* @__PURE__ */ jsxRuntime.jsxs(
9227
9682
  SelectPrimitive__namespace.Item,
@@ -9246,7 +9701,7 @@ var SelectItem = React78__namespace.forwardRef((_a, ref) => {
9246
9701
  );
9247
9702
  });
9248
9703
  SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
9249
- var SelectSeparator = React78__namespace.forwardRef((_a, ref) => {
9704
+ var SelectSeparator = React80__namespace.forwardRef((_a, ref) => {
9250
9705
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9251
9706
  return /* @__PURE__ */ jsxRuntime.jsx(
9252
9707
  SelectPrimitive__namespace.Separator,
@@ -9257,7 +9712,7 @@ var SelectSeparator = React78__namespace.forwardRef((_a, ref) => {
9257
9712
  );
9258
9713
  });
9259
9714
  SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
9260
- var SelectMenu = React78__namespace.forwardRef(
9715
+ var SelectMenu = React80__namespace.forwardRef(
9261
9716
  (_a, ref) => {
9262
9717
  var _b = _a, {
9263
9718
  className,
@@ -9288,19 +9743,19 @@ var SelectMenu = React78__namespace.forwardRef(
9288
9743
  ]);
9289
9744
  var _a2;
9290
9745
  const indicator = selectType === "checkbox" ? "checkbox" : selectType === "radio" ? "radio" : selectType === "default" ? "checkmark" : "none";
9291
- const hasChildren = React78__namespace.Children.count(children) > 0;
9292
- const generatedId = React78__namespace.useId();
9746
+ const hasChildren = React80__namespace.Children.count(children) > 0;
9747
+ const generatedId = React80__namespace.useId();
9293
9748
  const listId = `${generatedId}-list`;
9294
- const listRef = React78__namespace.useRef(null);
9295
- const [activeIndex, setActiveIndex] = React78__namespace.useState(-1);
9749
+ const listRef = React80__namespace.useRef(null);
9750
+ const [activeIndex, setActiveIndex] = React80__namespace.useState(-1);
9296
9751
  const activeItemId = activeIndex >= 0 ? `${listId}-item-${activeIndex}` : void 0;
9297
- const getItems = React78__namespace.useCallback(() => {
9752
+ const getItems = React80__namespace.useCallback(() => {
9298
9753
  if (!listRef.current) return [];
9299
9754
  return Array.from(
9300
9755
  listRef.current.querySelectorAll('[role="option"]')
9301
9756
  );
9302
9757
  }, []);
9303
- const handleKeyDown = React78__namespace.useCallback(
9758
+ const handleKeyDown = React80__namespace.useCallback(
9304
9759
  (e) => {
9305
9760
  var _a3;
9306
9761
  const items = getItems();
@@ -9383,8 +9838,8 @@ var SelectMenu = React78__namespace.forwardRef(
9383
9838
  "focus-visible:outline-none"
9384
9839
  ),
9385
9840
  style: listMaxHeight ? { maxHeight: listMaxHeight } : void 0,
9386
- children: hasChildren ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col px-1", role: "presentation", children: React78__namespace.Children.map(children, (child, index) => {
9387
- if (React78__namespace.isValidElement(child) && child.type.displayName === "SelectMenuItem") {
9841
+ children: hasChildren ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col px-1", role: "presentation", children: React80__namespace.Children.map(children, (child, index) => {
9842
+ if (React80__namespace.isValidElement(child) && child.type.displayName === "SelectMenuItem") {
9388
9843
  const itemProps = child.props;
9389
9844
  const overrides = {};
9390
9845
  if (indicator !== "none" && itemProps.indicator === void 0) {
@@ -9401,7 +9856,7 @@ var SelectMenu = React78__namespace.forwardRef(
9401
9856
  overrides["data-active"] = "true";
9402
9857
  }
9403
9858
  if (Object.keys(overrides).length > 0) {
9404
- return React78__namespace.cloneElement(
9859
+ return React80__namespace.cloneElement(
9405
9860
  child,
9406
9861
  overrides
9407
9862
  );
@@ -9426,7 +9881,7 @@ var SelectMenu = React78__namespace.forwardRef(
9426
9881
  }
9427
9882
  );
9428
9883
  SelectMenu.displayName = "SelectMenu";
9429
- var SelectMenuFooterButton = React78__namespace.forwardRef((_a, ref) => {
9884
+ var SelectMenuFooterButton = React80__namespace.forwardRef((_a, ref) => {
9430
9885
  var _b = _a, { className, icon = "ri-add-line", children = "Add new", disabled } = _b, props = __objRest(_b, ["className", "icon", "children", "disabled"]);
9431
9886
  return /* @__PURE__ */ jsxRuntime.jsxs(
9432
9887
  "button",
@@ -9469,7 +9924,7 @@ var SelectMenuFooterButton = React78__namespace.forwardRef((_a, ref) => {
9469
9924
  );
9470
9925
  });
9471
9926
  SelectMenuFooterButton.displayName = "SelectMenuFooterButton";
9472
- var SelectInput = React78__namespace.forwardRef(
9927
+ var SelectInput = React80__namespace.forwardRef(
9473
9928
  ({
9474
9929
  label,
9475
9930
  required,
@@ -9501,10 +9956,10 @@ var SelectInput = React78__namespace.forwardRef(
9501
9956
  footer,
9502
9957
  className
9503
9958
  }, ref) => {
9504
- const [internalOpen, setInternalOpen] = React78__namespace.useState(false);
9959
+ const [internalOpen, setInternalOpen] = React80__namespace.useState(false);
9505
9960
  const isControlled = controlledOpen !== void 0;
9506
9961
  const isOpen = isControlled ? controlledOpen : internalOpen;
9507
- const handleOpenChange = React78__namespace.useCallback(
9962
+ const handleOpenChange = React80__namespace.useCallback(
9508
9963
  (next) => {
9509
9964
  if (disabled) return;
9510
9965
  if (!isControlled) setInternalOpen(next);
@@ -9512,7 +9967,7 @@ var SelectInput = React78__namespace.forwardRef(
9512
9967
  },
9513
9968
  [disabled, isControlled, onOpenChange]
9514
9969
  );
9515
- const generatedId = React78__namespace.useId();
9970
+ const generatedId = React80__namespace.useId();
9516
9971
  const hasError = !!error;
9517
9972
  const helperText = hasError ? error : caption;
9518
9973
  const hasTags = tags && tags.length > 0;
@@ -9591,7 +10046,7 @@ var SelectInput = React78__namespace.forwardRef(
9591
10046
  children: leadIcon
9592
10047
  }
9593
10048
  ) : null,
9594
- hasTags ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex min-w-0 flex-1 items-center gap-1 overflow-hidden", children: tags.map((tag, i) => /* @__PURE__ */ jsxRuntime.jsxs(React78__namespace.Fragment, { children: [
10049
+ hasTags ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex min-w-0 flex-1 items-center gap-1 overflow-hidden", children: tags.map((tag, i) => /* @__PURE__ */ jsxRuntime.jsxs(React80__namespace.Fragment, { children: [
9595
10050
  i > 0 && /* @__PURE__ */ jsxRuntime.jsx(
9596
10051
  "span",
9597
10052
  {
@@ -9708,7 +10163,7 @@ var SelectInput = React78__namespace.forwardRef(
9708
10163
  }
9709
10164
  );
9710
10165
  SelectInput.displayName = "SelectInput";
9711
- var SelectMenuItem = React78__namespace.forwardRef(
10166
+ var SelectMenuItem = React80__namespace.forwardRef(
9712
10167
  (_a, ref) => {
9713
10168
  var _b = _a, {
9714
10169
  className,
@@ -9872,7 +10327,7 @@ var SelectMenuItem = React78__namespace.forwardRef(
9872
10327
  }
9873
10328
  );
9874
10329
  SelectMenuItem.displayName = "SelectMenuItem";
9875
- var SelectMenuLabel = React78__namespace.forwardRef(
10330
+ var SelectMenuLabel = React80__namespace.forwardRef(
9876
10331
  (_a, ref) => {
9877
10332
  var _b = _a, { className, caption, children } = _b, props = __objRest(_b, ["className", "caption", "children"]);
9878
10333
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -9894,7 +10349,7 @@ var SelectMenuLabel = React78__namespace.forwardRef(
9894
10349
  }
9895
10350
  );
9896
10351
  SelectMenuLabel.displayName = "SelectMenuLabel";
9897
- var SelectMenuDescription = React78__namespace.forwardRef((_a, ref) => {
10352
+ var SelectMenuDescription = React80__namespace.forwardRef((_a, ref) => {
9898
10353
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9899
10354
  return /* @__PURE__ */ jsxRuntime.jsx(
9900
10355
  "p",
@@ -9908,7 +10363,7 @@ var SelectMenuDescription = React78__namespace.forwardRef((_a, ref) => {
9908
10363
  );
9909
10364
  });
9910
10365
  SelectMenuDescription.displayName = "SelectMenuDescription";
9911
- var SelectMenuSeparator = React78__namespace.forwardRef((_a, ref) => {
10366
+ var SelectMenuSeparator = React80__namespace.forwardRef((_a, ref) => {
9912
10367
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
9913
10368
  return /* @__PURE__ */ jsxRuntime.jsx(
9914
10369
  "div",
@@ -9920,7 +10375,7 @@ var SelectMenuSeparator = React78__namespace.forwardRef((_a, ref) => {
9920
10375
  );
9921
10376
  });
9922
10377
  SelectMenuSeparator.displayName = "SelectMenuSeparator";
9923
- var SelectMenuLargeItem = React78__namespace.forwardRef(
10378
+ var SelectMenuLargeItem = React80__namespace.forwardRef(
9924
10379
  (_a, ref) => {
9925
10380
  var _b = _a, {
9926
10381
  className,
@@ -10016,7 +10471,7 @@ var SelectMenuLargeItem = React78__namespace.forwardRef(
10016
10471
  }
10017
10472
  );
10018
10473
  SelectMenuLargeItem.displayName = "SelectMenuLargeItem";
10019
- var Separator3 = React78__namespace.forwardRef(
10474
+ var Separator3 = React80__namespace.forwardRef(
10020
10475
  (_a, ref) => {
10021
10476
  var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
10022
10477
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10039,7 +10494,7 @@ var Sheet = DialogPrimitive__namespace.Root;
10039
10494
  var SheetTrigger = DialogPrimitive__namespace.Trigger;
10040
10495
  var SheetClose = DialogPrimitive__namespace.Close;
10041
10496
  var SheetPortal = DialogPrimitive__namespace.Portal;
10042
- var SheetOverlay = React78__namespace.forwardRef((_a, ref) => {
10497
+ var SheetOverlay = React80__namespace.forwardRef((_a, ref) => {
10043
10498
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10044
10499
  return /* @__PURE__ */ jsxRuntime.jsx(
10045
10500
  DialogPrimitive__namespace.Overlay,
@@ -10070,7 +10525,7 @@ var sheetVariants = classVarianceAuthority.cva(
10070
10525
  }
10071
10526
  }
10072
10527
  );
10073
- var SheetContent = React78__namespace.forwardRef((_a, ref) => {
10528
+ var SheetContent = React80__namespace.forwardRef((_a, ref) => {
10074
10529
  var _b = _a, { side = "right", className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
10075
10530
  return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
10076
10531
  /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
@@ -10126,7 +10581,7 @@ var SheetFooter = (_a) => {
10126
10581
  );
10127
10582
  };
10128
10583
  SheetFooter.displayName = "SheetFooter";
10129
- var SheetTitle = React78__namespace.forwardRef((_a, ref) => {
10584
+ var SheetTitle = React80__namespace.forwardRef((_a, ref) => {
10130
10585
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10131
10586
  return /* @__PURE__ */ jsxRuntime.jsx(
10132
10587
  DialogPrimitive__namespace.Title,
@@ -10137,7 +10592,7 @@ var SheetTitle = React78__namespace.forwardRef((_a, ref) => {
10137
10592
  );
10138
10593
  });
10139
10594
  SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
10140
- var SheetDescription = React78__namespace.forwardRef((_a, ref) => {
10595
+ var SheetDescription = React80__namespace.forwardRef((_a, ref) => {
10141
10596
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10142
10597
  return /* @__PURE__ */ jsxRuntime.jsx(
10143
10598
  DialogPrimitive__namespace.Description,
@@ -10150,8 +10605,8 @@ var SheetDescription = React78__namespace.forwardRef((_a, ref) => {
10150
10605
  SheetDescription.displayName = DialogPrimitive__namespace.Description.displayName;
10151
10606
  var MOBILE_BREAKPOINT = 768;
10152
10607
  function useIsMobile() {
10153
- const [isMobile, setIsMobile] = React78__namespace.useState(void 0);
10154
- React78__namespace.useEffect(() => {
10608
+ const [isMobile, setIsMobile] = React80__namespace.useState(void 0);
10609
+ React80__namespace.useEffect(() => {
10155
10610
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
10156
10611
  const onChange = () => {
10157
10612
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -10181,15 +10636,15 @@ var SIDEBAR_WIDTH = "16rem";
10181
10636
  var SIDEBAR_WIDTH_MOBILE = "18rem";
10182
10637
  var SIDEBAR_WIDTH_ICON = "3rem";
10183
10638
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
10184
- var SidebarContext = React78__namespace.createContext(null);
10639
+ var SidebarContext = React80__namespace.createContext(null);
10185
10640
  function useSidebar() {
10186
- const context = React78__namespace.useContext(SidebarContext);
10641
+ const context = React80__namespace.useContext(SidebarContext);
10187
10642
  if (!context) {
10188
10643
  throw new Error("useSidebar must be used within a SidebarProvider.");
10189
10644
  }
10190
10645
  return context;
10191
10646
  }
10192
- var SidebarProvider = React78__namespace.forwardRef(
10647
+ var SidebarProvider = React80__namespace.forwardRef(
10193
10648
  (_a, ref) => {
10194
10649
  var _b = _a, {
10195
10650
  defaultOpen = true,
@@ -10207,10 +10662,10 @@ var SidebarProvider = React78__namespace.forwardRef(
10207
10662
  "children"
10208
10663
  ]);
10209
10664
  const isMobile = useIsMobile();
10210
- const [openMobile, setOpenMobile] = React78__namespace.useState(false);
10211
- const [_open, _setOpen] = React78__namespace.useState(defaultOpen);
10665
+ const [openMobile, setOpenMobile] = React80__namespace.useState(false);
10666
+ const [_open, _setOpen] = React80__namespace.useState(defaultOpen);
10212
10667
  const open = openProp != null ? openProp : _open;
10213
- const setOpen = React78__namespace.useCallback(
10668
+ const setOpen = React80__namespace.useCallback(
10214
10669
  (value) => {
10215
10670
  const openState = typeof value === "function" ? value(open) : value;
10216
10671
  if (setOpenProp) {
@@ -10222,10 +10677,10 @@ var SidebarProvider = React78__namespace.forwardRef(
10222
10677
  },
10223
10678
  [setOpenProp, open]
10224
10679
  );
10225
- const toggleSidebar = React78__namespace.useCallback(() => {
10680
+ const toggleSidebar = React80__namespace.useCallback(() => {
10226
10681
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
10227
10682
  }, [isMobile, setOpen, setOpenMobile]);
10228
- React78__namespace.useEffect(() => {
10683
+ React80__namespace.useEffect(() => {
10229
10684
  const handleKeyDown = (event) => {
10230
10685
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
10231
10686
  event.preventDefault();
@@ -10236,7 +10691,7 @@ var SidebarProvider = React78__namespace.forwardRef(
10236
10691
  return () => window.removeEventListener("keydown", handleKeyDown);
10237
10692
  }, [toggleSidebar]);
10238
10693
  const state = open ? "expanded" : "collapsed";
10239
- const contextValue = React78__namespace.useMemo(
10694
+ const contextValue = React80__namespace.useMemo(
10240
10695
  () => ({
10241
10696
  state,
10242
10697
  open,
@@ -10267,7 +10722,7 @@ var SidebarProvider = React78__namespace.forwardRef(
10267
10722
  }
10268
10723
  );
10269
10724
  SidebarProvider.displayName = "SidebarProvider";
10270
- var Sidebar = React78__namespace.forwardRef(
10725
+ var Sidebar = React80__namespace.forwardRef(
10271
10726
  (_a, ref) => {
10272
10727
  var _b = _a, {
10273
10728
  side = "left",
@@ -10366,7 +10821,7 @@ var Sidebar = React78__namespace.forwardRef(
10366
10821
  }
10367
10822
  );
10368
10823
  Sidebar.displayName = "Sidebar";
10369
- var SidebarTrigger = React78__namespace.forwardRef((_a, ref) => {
10824
+ var SidebarTrigger = React80__namespace.forwardRef((_a, ref) => {
10370
10825
  var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
10371
10826
  const { toggleSidebar } = useSidebar();
10372
10827
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10391,7 +10846,7 @@ var SidebarTrigger = React78__namespace.forwardRef((_a, ref) => {
10391
10846
  );
10392
10847
  });
10393
10848
  SidebarTrigger.displayName = "SidebarTrigger";
10394
- var SidebarRail = React78__namespace.forwardRef((_a, ref) => {
10849
+ var SidebarRail = React80__namespace.forwardRef((_a, ref) => {
10395
10850
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10396
10851
  const { toggleSidebar } = useSidebar();
10397
10852
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10416,7 +10871,7 @@ var SidebarRail = React78__namespace.forwardRef((_a, ref) => {
10416
10871
  );
10417
10872
  });
10418
10873
  SidebarRail.displayName = "SidebarRail";
10419
- var SidebarInset = React78__namespace.forwardRef((_a, ref) => {
10874
+ var SidebarInset = React80__namespace.forwardRef((_a, ref) => {
10420
10875
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10421
10876
  return /* @__PURE__ */ jsxRuntime.jsx(
10422
10877
  "main",
@@ -10431,7 +10886,7 @@ var SidebarInset = React78__namespace.forwardRef((_a, ref) => {
10431
10886
  );
10432
10887
  });
10433
10888
  SidebarInset.displayName = "SidebarInset";
10434
- var SidebarInput = React78__namespace.forwardRef((_a, ref) => {
10889
+ var SidebarInput = React80__namespace.forwardRef((_a, ref) => {
10435
10890
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10436
10891
  return /* @__PURE__ */ jsxRuntime.jsx(
10437
10892
  Input,
@@ -10446,7 +10901,7 @@ var SidebarInput = React78__namespace.forwardRef((_a, ref) => {
10446
10901
  );
10447
10902
  });
10448
10903
  SidebarInput.displayName = "SidebarInput";
10449
- var SidebarHeader = React78__namespace.forwardRef((_a, ref) => {
10904
+ var SidebarHeader = React80__namespace.forwardRef((_a, ref) => {
10450
10905
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10451
10906
  return /* @__PURE__ */ jsxRuntime.jsx(
10452
10907
  "div",
@@ -10458,7 +10913,7 @@ var SidebarHeader = React78__namespace.forwardRef((_a, ref) => {
10458
10913
  );
10459
10914
  });
10460
10915
  SidebarHeader.displayName = "SidebarHeader";
10461
- var SidebarFooter = React78__namespace.forwardRef((_a, ref) => {
10916
+ var SidebarFooter = React80__namespace.forwardRef((_a, ref) => {
10462
10917
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10463
10918
  return /* @__PURE__ */ jsxRuntime.jsx(
10464
10919
  "div",
@@ -10470,7 +10925,7 @@ var SidebarFooter = React78__namespace.forwardRef((_a, ref) => {
10470
10925
  );
10471
10926
  });
10472
10927
  SidebarFooter.displayName = "SidebarFooter";
10473
- var SidebarSeparator = React78__namespace.forwardRef((_a, ref) => {
10928
+ var SidebarSeparator = React80__namespace.forwardRef((_a, ref) => {
10474
10929
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10475
10930
  return /* @__PURE__ */ jsxRuntime.jsx(
10476
10931
  Separator3,
@@ -10482,7 +10937,7 @@ var SidebarSeparator = React78__namespace.forwardRef((_a, ref) => {
10482
10937
  );
10483
10938
  });
10484
10939
  SidebarSeparator.displayName = "SidebarSeparator";
10485
- var SidebarContent = React78__namespace.forwardRef((_a, ref) => {
10940
+ var SidebarContent = React80__namespace.forwardRef((_a, ref) => {
10486
10941
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10487
10942
  return /* @__PURE__ */ jsxRuntime.jsx(
10488
10943
  "div",
@@ -10497,7 +10952,7 @@ var SidebarContent = React78__namespace.forwardRef((_a, ref) => {
10497
10952
  );
10498
10953
  });
10499
10954
  SidebarContent.displayName = "SidebarContent";
10500
- var SidebarGroup = React78__namespace.forwardRef((_a, ref) => {
10955
+ var SidebarGroup = React80__namespace.forwardRef((_a, ref) => {
10501
10956
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10502
10957
  return /* @__PURE__ */ jsxRuntime.jsx(
10503
10958
  "div",
@@ -10509,7 +10964,7 @@ var SidebarGroup = React78__namespace.forwardRef((_a, ref) => {
10509
10964
  );
10510
10965
  });
10511
10966
  SidebarGroup.displayName = "SidebarGroup";
10512
- var SidebarGroupLabel = React78__namespace.forwardRef((_a, ref) => {
10967
+ var SidebarGroupLabel = React80__namespace.forwardRef((_a, ref) => {
10513
10968
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
10514
10969
  const Comp = asChild ? reactSlot.Slot : "div";
10515
10970
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10526,7 +10981,7 @@ var SidebarGroupLabel = React78__namespace.forwardRef((_a, ref) => {
10526
10981
  );
10527
10982
  });
10528
10983
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
10529
- var SidebarGroupAction = React78__namespace.forwardRef((_a, ref) => {
10984
+ var SidebarGroupAction = React80__namespace.forwardRef((_a, ref) => {
10530
10985
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
10531
10986
  const Comp = asChild ? reactSlot.Slot : "button";
10532
10987
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10545,7 +11000,7 @@ var SidebarGroupAction = React78__namespace.forwardRef((_a, ref) => {
10545
11000
  );
10546
11001
  });
10547
11002
  SidebarGroupAction.displayName = "SidebarGroupAction";
10548
- var SidebarGroupContent = React78__namespace.forwardRef((_a, ref) => {
11003
+ var SidebarGroupContent = React80__namespace.forwardRef((_a, ref) => {
10549
11004
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10550
11005
  return /* @__PURE__ */ jsxRuntime.jsx(
10551
11006
  "div",
@@ -10557,7 +11012,7 @@ var SidebarGroupContent = React78__namespace.forwardRef((_a, ref) => {
10557
11012
  );
10558
11013
  });
10559
11014
  SidebarGroupContent.displayName = "SidebarGroupContent";
10560
- var SidebarMenu = React78__namespace.forwardRef((_a, ref) => {
11015
+ var SidebarMenu = React80__namespace.forwardRef((_a, ref) => {
10561
11016
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10562
11017
  return /* @__PURE__ */ jsxRuntime.jsx(
10563
11018
  "ul",
@@ -10569,7 +11024,7 @@ var SidebarMenu = React78__namespace.forwardRef((_a, ref) => {
10569
11024
  );
10570
11025
  });
10571
11026
  SidebarMenu.displayName = "SidebarMenu";
10572
- var SidebarMenuItem = React78__namespace.forwardRef((_a, ref) => {
11027
+ var SidebarMenuItem = React80__namespace.forwardRef((_a, ref) => {
10573
11028
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10574
11029
  return /* @__PURE__ */ jsxRuntime.jsx(
10575
11030
  "li",
@@ -10601,7 +11056,7 @@ var sidebarMenuButtonVariants = classVarianceAuthority.cva(
10601
11056
  }
10602
11057
  }
10603
11058
  );
10604
- var SidebarMenuButton = React78__namespace.forwardRef(
11059
+ var SidebarMenuButton = React80__namespace.forwardRef(
10605
11060
  (_a, ref) => {
10606
11061
  var _b = _a, {
10607
11062
  asChild = false,
@@ -10652,7 +11107,7 @@ var SidebarMenuButton = React78__namespace.forwardRef(
10652
11107
  }
10653
11108
  );
10654
11109
  SidebarMenuButton.displayName = "SidebarMenuButton";
10655
- var SidebarMenuAction = React78__namespace.forwardRef((_a, ref) => {
11110
+ var SidebarMenuAction = React80__namespace.forwardRef((_a, ref) => {
10656
11111
  var _b = _a, { className, asChild = false, showOnHover = false } = _b, props = __objRest(_b, ["className", "asChild", "showOnHover"]);
10657
11112
  const Comp = asChild ? reactSlot.Slot : "button";
10658
11113
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10675,7 +11130,7 @@ var SidebarMenuAction = React78__namespace.forwardRef((_a, ref) => {
10675
11130
  );
10676
11131
  });
10677
11132
  SidebarMenuAction.displayName = "SidebarMenuAction";
10678
- var SidebarMenuBadge = React78__namespace.forwardRef((_a, ref) => {
11133
+ var SidebarMenuBadge = React80__namespace.forwardRef((_a, ref) => {
10679
11134
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10680
11135
  return /* @__PURE__ */ jsxRuntime.jsx(
10681
11136
  "div",
@@ -10695,10 +11150,10 @@ var SidebarMenuBadge = React78__namespace.forwardRef((_a, ref) => {
10695
11150
  );
10696
11151
  });
10697
11152
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
10698
- var SidebarMenuSkeleton = React78__namespace.forwardRef((_a, ref) => {
11153
+ var SidebarMenuSkeleton = React80__namespace.forwardRef((_a, ref) => {
10699
11154
  var _b = _a, { className, showIcon = false } = _b, props = __objRest(_b, ["className", "showIcon"]);
10700
- const id = React78__namespace.useId();
10701
- const width = React78__namespace.useMemo(() => {
11155
+ const id = React80__namespace.useId();
11156
+ const width = React80__namespace.useMemo(() => {
10702
11157
  const hash = id.split("").reduce((a, c) => a + c.charCodeAt(0), 0);
10703
11158
  return `${hash % 40 + 50}%`;
10704
11159
  }, [id]);
@@ -10732,7 +11187,7 @@ var SidebarMenuSkeleton = React78__namespace.forwardRef((_a, ref) => {
10732
11187
  );
10733
11188
  });
10734
11189
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
10735
- var SidebarMenuSub = React78__namespace.forwardRef((_a, ref) => {
11190
+ var SidebarMenuSub = React80__namespace.forwardRef((_a, ref) => {
10736
11191
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
10737
11192
  return /* @__PURE__ */ jsxRuntime.jsx(
10738
11193
  "ul",
@@ -10748,12 +11203,12 @@ var SidebarMenuSub = React78__namespace.forwardRef((_a, ref) => {
10748
11203
  );
10749
11204
  });
10750
11205
  SidebarMenuSub.displayName = "SidebarMenuSub";
10751
- var SidebarMenuSubItem = React78__namespace.forwardRef((_a, ref) => {
11206
+ var SidebarMenuSubItem = React80__namespace.forwardRef((_a, ref) => {
10752
11207
  var props = __objRest(_a, []);
10753
11208
  return /* @__PURE__ */ jsxRuntime.jsx("li", __spreadValues({ ref }, props));
10754
11209
  });
10755
11210
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
10756
- var SidebarMenuSubButton = React78__namespace.forwardRef((_a, ref) => {
11211
+ var SidebarMenuSubButton = React80__namespace.forwardRef((_a, ref) => {
10757
11212
  var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props = __objRest(_b, ["asChild", "size", "isActive", "className"]);
10758
11213
  const Comp = asChild ? reactSlot.Slot : "a";
10759
11214
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10793,7 +11248,7 @@ var sidebarCardVariants = classVarianceAuthority.cva(
10793
11248
  }
10794
11249
  }
10795
11250
  );
10796
- var SidebarCard = React78__namespace.forwardRef(
11251
+ var SidebarCard = React80__namespace.forwardRef(
10797
11252
  (_a, ref) => {
10798
11253
  var _b = _a, { className, variant, children } = _b, props = __objRest(_b, ["className", "variant", "children"]);
10799
11254
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -10832,7 +11287,7 @@ var sidebarMenuItemVariants = classVarianceAuthority.cva("", {
10832
11287
  variant: "default"
10833
11288
  }
10834
11289
  });
10835
- var SidebarMenuItem2 = React78__namespace.forwardRef(
11290
+ var SidebarMenuItem2 = React80__namespace.forwardRef(
10836
11291
  (_a, ref) => {
10837
11292
  var _b = _a, {
10838
11293
  className,
@@ -11017,6 +11472,198 @@ var SidebarMenuItem2 = React78__namespace.forwardRef(
11017
11472
  }
11018
11473
  );
11019
11474
  SidebarMenuItem2.displayName = "SidebarMenuItem";
11475
+ var DefaultLogo = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-8 items-center justify-center rounded-lg bg-sui-bg-state-primary", children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-layout-grid-fill text-md leading-none text-icon-on-primary", "aria-hidden": "true" }) });
11476
+ var CardFooter2 = ({
11477
+ text,
11478
+ linkText,
11479
+ onClick,
11480
+ centered
11481
+ }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex gap-1 text-sm leading-5", centered && "justify-center"), children: [
11482
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-normal text-sui-text-muted", children: text }),
11483
+ /* @__PURE__ */ jsxRuntime.jsx(
11484
+ "button",
11485
+ {
11486
+ type: "button",
11487
+ onClick,
11488
+ className: "font-medium text-sui-text-informative [@media(hover:hover)]:hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-2 focus-visible:ring-offset-sui-bg-default rounded-sm",
11489
+ children: linkText
11490
+ }
11491
+ )
11492
+ ] });
11493
+ var SignInCard = React80__namespace.forwardRef(
11494
+ (_a, ref) => {
11495
+ var _b = _a, {
11496
+ className,
11497
+ variant = "simple",
11498
+ title = "Sign in to Sort UI",
11499
+ subtitle = "Welcome back! Please enter your details.",
11500
+ logo,
11501
+ showRememberMe = true,
11502
+ showResetPassword = true,
11503
+ showSso = true,
11504
+ socialProviders = ["apple", "google", "twitter"],
11505
+ ctaLabel,
11506
+ footerText = "New to Sort UI?",
11507
+ footerLinkText = "Sign up",
11508
+ onFooterClick
11509
+ } = _b, props = __objRest(_b, [
11510
+ "className",
11511
+ "variant",
11512
+ "title",
11513
+ "subtitle",
11514
+ "logo",
11515
+ "showRememberMe",
11516
+ "showResetPassword",
11517
+ "showSso",
11518
+ "socialProviders",
11519
+ "ctaLabel",
11520
+ "footerText",
11521
+ "footerLinkText",
11522
+ "onFooterClick"
11523
+ ]);
11524
+ const logoNode = logo != null ? logo : /* @__PURE__ */ jsxRuntime.jsx(DefaultLogo, {});
11525
+ const isCentered = variant === "centered" || variant === "social";
11526
+ const Header2 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-3", isCentered && "items-center"), children: [
11527
+ logoNode,
11528
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-1", isCentered && "items-center text-center"), children: [
11529
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-md font-semibold leading-6 text-sui-text-default", children: title }),
11530
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-normal leading-5 text-sui-text-muted", children: subtitle })
11531
+ ] })
11532
+ ] });
11533
+ const FormFields = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-5", children: [
11534
+ /* @__PURE__ */ jsxRuntime.jsx(
11535
+ InputField,
11536
+ {
11537
+ label: "Email address or username",
11538
+ placeholder: "",
11539
+ inputStyle: "shadow",
11540
+ type: "email",
11541
+ autoComplete: "email"
11542
+ }
11543
+ ),
11544
+ /* @__PURE__ */ jsxRuntime.jsx(
11545
+ InputField,
11546
+ {
11547
+ label: "Password",
11548
+ placeholder: "",
11549
+ inputStyle: "shadow",
11550
+ type: "password",
11551
+ autoComplete: "current-password",
11552
+ labelSupportText: showResetPassword ? "Reset password" : void 0,
11553
+ tailIcon: showResetPassword ? void 0 : void 0
11554
+ }
11555
+ ),
11556
+ showRememberMe && /* @__PURE__ */ jsxRuntime.jsx(CheckboxWithText, { label: "Remember me" })
11557
+ ] });
11558
+ if (variant === "simple") {
11559
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11560
+ "div",
11561
+ __spreadProps(__spreadValues({
11562
+ ref,
11563
+ className: cn(
11564
+ "flex w-[400px] flex-col gap-6 overflow-clip rounded-xl bg-sui-bg-card",
11565
+ "pt-9 pb-6 px-9",
11566
+ "shadow-modal-sm",
11567
+ className
11568
+ )
11569
+ }, props), {
11570
+ children: [
11571
+ Header2,
11572
+ FormFields,
11573
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { className: "w-full", size: "md", children: ctaLabel != null ? ctaLabel : "Sign In" }),
11574
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, {}),
11575
+ /* @__PURE__ */ jsxRuntime.jsx(CardFooter2, { text: footerText, linkText: footerLinkText, onClick: onFooterClick })
11576
+ ]
11577
+ })
11578
+ );
11579
+ }
11580
+ if (variant === "centered") {
11581
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11582
+ "div",
11583
+ __spreadProps(__spreadValues({
11584
+ ref,
11585
+ className: cn(
11586
+ "flex w-[400px] flex-col gap-6 overflow-clip rounded-xl bg-sui-bg-card",
11587
+ "pt-9 pb-6 px-9",
11588
+ "shadow-modal-sm",
11589
+ className
11590
+ )
11591
+ }, props), {
11592
+ children: [
11593
+ Header2,
11594
+ FormFields,
11595
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
11596
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { className: "w-full", size: "md", children: ctaLabel != null ? ctaLabel : "Sign In" }),
11597
+ showSso && /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "secondary", className: "w-full", size: "md", children: [
11598
+ /* @__PURE__ */ jsxRuntime.jsx("i", { className: "ri-key-2-line", "aria-hidden": "true" }),
11599
+ "Single sign-on (SSO)"
11600
+ ] })
11601
+ ] }),
11602
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, {}),
11603
+ /* @__PURE__ */ jsxRuntime.jsx(CardFooter2, { text: footerText, linkText: footerLinkText, onClick: onFooterClick, centered: true })
11604
+ ]
11605
+ })
11606
+ );
11607
+ }
11608
+ if (variant === "social") {
11609
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11610
+ "div",
11611
+ __spreadProps(__spreadValues({
11612
+ ref,
11613
+ className: cn(
11614
+ "flex w-[400px] flex-col overflow-clip rounded-xl bg-sui-bg-card-subtle",
11615
+ "shadow-modal-sm",
11616
+ className
11617
+ )
11618
+ }, props), {
11619
+ children: [
11620
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 border-b border-sui-border-default bg-sui-bg-card p-9", children: [
11621
+ Header2,
11622
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6", children: [
11623
+ socialProviders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: socialProviders.map((brand) => /* @__PURE__ */ jsxRuntime.jsx(SocialButton, { brand, variant: "secondary", className: "w-full" }, brand)) }),
11624
+ /* @__PURE__ */ jsxRuntime.jsx(Divider, { type: "text-center", label: "or" }),
11625
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { className: "w-full", size: "md", children: ctaLabel != null ? ctaLabel : "Sign in with email" })
11626
+ ] })
11627
+ ] }),
11628
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex px-9 py-6 justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(CardFooter2, { text: footerText, linkText: footerLinkText, onClick: onFooterClick, centered: true }) })
11629
+ ]
11630
+ })
11631
+ );
11632
+ }
11633
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11634
+ "div",
11635
+ __spreadProps(__spreadValues({
11636
+ ref,
11637
+ className: cn(
11638
+ "flex w-[400px] flex-col overflow-clip rounded-xl bg-sui-bg-card-subtle",
11639
+ "shadow-modal-sm",
11640
+ className
11641
+ )
11642
+ }, props), {
11643
+ children: [
11644
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3 border-b border-sui-border-default bg-sui-bg-card p-9", children: [
11645
+ Header2,
11646
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 pt-3", children: [
11647
+ /* @__PURE__ */ jsxRuntime.jsx(
11648
+ InputField,
11649
+ {
11650
+ label: "Email address",
11651
+ placeholder: "",
11652
+ inputStyle: "shadow",
11653
+ type: "email",
11654
+ autoComplete: "email"
11655
+ }
11656
+ ),
11657
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { className: "w-full", size: "md", children: ctaLabel != null ? ctaLabel : "Continue" })
11658
+ ] })
11659
+ ] }),
11660
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex px-9 py-6", children: /* @__PURE__ */ jsxRuntime.jsx(CardFooter2, { text: footerText, linkText: footerLinkText, onClick: onFooterClick }) })
11661
+ ]
11662
+ })
11663
+ );
11664
+ }
11665
+ );
11666
+ SignInCard.displayName = "SignInCard";
11020
11667
  function clamp2(value, min, max) {
11021
11668
  return Math.min(Math.max(value, min), max);
11022
11669
  }
@@ -11028,7 +11675,7 @@ function percent2(value, min, max) {
11028
11675
  if (max === min) return 0;
11029
11676
  return (value - min) / (max - min) * 100;
11030
11677
  }
11031
- var Slider = React78__namespace.forwardRef(
11678
+ var Slider = React80__namespace.forwardRef(
11032
11679
  (_a, ref) => {
11033
11680
  var _b = _a, {
11034
11681
  className,
@@ -11061,12 +11708,12 @@ var Slider = React78__namespace.forwardRef(
11061
11708
  "formatValue",
11062
11709
  "onValueChange"
11063
11710
  ]);
11064
- const trackRef = React78__namespace.useRef(null);
11065
- const [isDragging, setIsDragging] = React78__namespace.useState(false);
11066
- const [isFocused, setIsFocused] = React78__namespace.useState(false);
11711
+ const trackRef = React80__namespace.useRef(null);
11712
+ const [isDragging, setIsDragging] = React80__namespace.useState(false);
11713
+ const [isFocused, setIsFocused] = React80__namespace.useState(false);
11067
11714
  const pct = percent2(value, min, max);
11068
11715
  const displayValue = formatValue ? formatValue(value) : `${value}`;
11069
- const getValueFromPointer = React78__namespace.useCallback(
11716
+ const getValueFromPointer = React80__namespace.useCallback(
11070
11717
  (clientX) => {
11071
11718
  const track = trackRef.current;
11072
11719
  if (!track) return 0;
@@ -11077,7 +11724,7 @@ var Slider = React78__namespace.forwardRef(
11077
11724
  },
11078
11725
  [min, max, step]
11079
11726
  );
11080
- const handlePointerDown = React78__namespace.useCallback(
11727
+ const handlePointerDown = React80__namespace.useCallback(
11081
11728
  (e) => {
11082
11729
  if (disabled) return;
11083
11730
  e.preventDefault();
@@ -11088,7 +11735,7 @@ var Slider = React78__namespace.forwardRef(
11088
11735
  },
11089
11736
  [disabled, getValueFromPointer, onValueChange, value]
11090
11737
  );
11091
- const handlePointerMove = React78__namespace.useCallback(
11738
+ const handlePointerMove = React80__namespace.useCallback(
11092
11739
  (e) => {
11093
11740
  if (!isDragging || disabled) return;
11094
11741
  const newValue = getValueFromPointer(e.clientX);
@@ -11096,10 +11743,10 @@ var Slider = React78__namespace.forwardRef(
11096
11743
  },
11097
11744
  [isDragging, disabled, getValueFromPointer, onValueChange, value]
11098
11745
  );
11099
- const handlePointerUp = React78__namespace.useCallback(() => {
11746
+ const handlePointerUp = React80__namespace.useCallback(() => {
11100
11747
  setIsDragging(false);
11101
11748
  }, []);
11102
- const handleKeyDown = React78__namespace.useCallback(
11749
+ const handleKeyDown = React80__namespace.useCallback(
11103
11750
  (e) => {
11104
11751
  if (disabled) return;
11105
11752
  let newValue = value;
@@ -11126,7 +11773,7 @@ var Slider = React78__namespace.forwardRef(
11126
11773
  },
11127
11774
  [disabled, value, step, min, max, onValueChange]
11128
11775
  );
11129
- const tickLabels = React78__namespace.useMemo(() => {
11776
+ const tickLabels = React80__namespace.useMemo(() => {
11130
11777
  if (pointLabels) return pointLabels;
11131
11778
  const count2 = pointCount;
11132
11779
  const labels = [];
@@ -11220,7 +11867,7 @@ Slider.displayName = "Slider";
11220
11867
  function clamp3(value, min, max) {
11221
11868
  return Math.min(Math.max(value, min), max);
11222
11869
  }
11223
- var SliderInput = React78__namespace.forwardRef(
11870
+ var SliderInput = React80__namespace.forwardRef(
11224
11871
  (_a, ref) => {
11225
11872
  var _b = _a, {
11226
11873
  className,
@@ -11243,8 +11890,8 @@ var SliderInput = React78__namespace.forwardRef(
11243
11890
  "formatValue",
11244
11891
  "onValueChange"
11245
11892
  ]);
11246
- const [internalValue, setInternalValue] = React78__namespace.useState(value);
11247
- React78__namespace.useEffect(() => {
11893
+ const [internalValue, setInternalValue] = React80__namespace.useState(value);
11894
+ React80__namespace.useEffect(() => {
11248
11895
  setInternalValue(value);
11249
11896
  }, [value]);
11250
11897
  const commit = (newVal) => {
@@ -11351,7 +11998,7 @@ function percent3(value, min, max) {
11351
11998
  if (max === min) return 0;
11352
11999
  return (value - min) / (max - min) * 100;
11353
12000
  }
11354
- var SliderRange = React78__namespace.forwardRef(
12001
+ var SliderRange = React80__namespace.forwardRef(
11355
12002
  (_a, ref) => {
11356
12003
  var _b = _a, {
11357
12004
  className,
@@ -11384,15 +12031,15 @@ var SliderRange = React78__namespace.forwardRef(
11384
12031
  "formatValue",
11385
12032
  "onValueChange"
11386
12033
  ]);
11387
- const trackRef = React78__namespace.useRef(null);
11388
- const [draggingHandle, setDraggingHandle] = React78__namespace.useState(null);
11389
- const [focusedHandle, setFocusedHandle] = React78__namespace.useState(null);
12034
+ const trackRef = React80__namespace.useRef(null);
12035
+ const [draggingHandle, setDraggingHandle] = React80__namespace.useState(null);
12036
+ const [focusedHandle, setFocusedHandle] = React80__namespace.useState(null);
11390
12037
  const [rangeMin, rangeMax] = value;
11391
12038
  const pctMin = percent3(rangeMin, min, max);
11392
12039
  const pctMax = percent3(rangeMax, min, max);
11393
12040
  const fmt = (v) => formatValue ? formatValue(v) : `${v}`;
11394
12041
  const displayValue = `${fmt(rangeMin)} \u2013 ${fmt(rangeMax)}`;
11395
- const getValueFromPointer = React78__namespace.useCallback(
12042
+ const getValueFromPointer = React80__namespace.useCallback(
11396
12043
  (clientX) => {
11397
12044
  const track = trackRef.current;
11398
12045
  if (!track) return 0;
@@ -11403,7 +12050,7 @@ var SliderRange = React78__namespace.forwardRef(
11403
12050
  },
11404
12051
  [min, max, step]
11405
12052
  );
11406
- const closestHandle = React78__namespace.useCallback(
12053
+ const closestHandle = React80__namespace.useCallback(
11407
12054
  (pointerValue) => {
11408
12055
  const distMin = Math.abs(pointerValue - rangeMin);
11409
12056
  const distMax = Math.abs(pointerValue - rangeMax);
@@ -11411,7 +12058,7 @@ var SliderRange = React78__namespace.forwardRef(
11411
12058
  },
11412
12059
  [rangeMin, rangeMax]
11413
12060
  );
11414
- const updateValue = React78__namespace.useCallback(
12061
+ const updateValue = React80__namespace.useCallback(
11415
12062
  (handle, newVal) => {
11416
12063
  if (handle === 0) {
11417
12064
  const clamped = clamp4(newVal, min, rangeMax);
@@ -11423,7 +12070,7 @@ var SliderRange = React78__namespace.forwardRef(
11423
12070
  },
11424
12071
  [min, max, rangeMin, rangeMax, onValueChange]
11425
12072
  );
11426
- const handlePointerDown = React78__namespace.useCallback(
12073
+ const handlePointerDown = React80__namespace.useCallback(
11427
12074
  (e) => {
11428
12075
  if (disabled) return;
11429
12076
  e.preventDefault();
@@ -11435,7 +12082,7 @@ var SliderRange = React78__namespace.forwardRef(
11435
12082
  },
11436
12083
  [disabled, getValueFromPointer, closestHandle, updateValue]
11437
12084
  );
11438
- const handlePointerMove = React78__namespace.useCallback(
12085
+ const handlePointerMove = React80__namespace.useCallback(
11439
12086
  (e) => {
11440
12087
  if (draggingHandle === null || disabled) return;
11441
12088
  const newVal = getValueFromPointer(e.clientX);
@@ -11443,10 +12090,10 @@ var SliderRange = React78__namespace.forwardRef(
11443
12090
  },
11444
12091
  [draggingHandle, disabled, getValueFromPointer, updateValue]
11445
12092
  );
11446
- const handlePointerUp = React78__namespace.useCallback(() => {
12093
+ const handlePointerUp = React80__namespace.useCallback(() => {
11447
12094
  setDraggingHandle(null);
11448
12095
  }, []);
11449
- const makeKeyHandler = React78__namespace.useCallback(
12096
+ const makeKeyHandler = React80__namespace.useCallback(
11450
12097
  (handle) => (e) => {
11451
12098
  if (disabled) return;
11452
12099
  const currentVal = handle === 0 ? rangeMin : rangeMax;
@@ -11474,7 +12121,7 @@ var SliderRange = React78__namespace.forwardRef(
11474
12121
  },
11475
12122
  [disabled, rangeMin, rangeMax, step, min, max, updateValue]
11476
12123
  );
11477
- const tickLabels = React78__namespace.useMemo(() => {
12124
+ const tickLabels = React80__namespace.useMemo(() => {
11478
12125
  if (pointLabels) return pointLabels;
11479
12126
  const labels = [];
11480
12127
  for (let i = 0; i < pointCount; i++) {
@@ -11591,7 +12238,7 @@ var SliderRange = React78__namespace.forwardRef(
11591
12238
  }
11592
12239
  );
11593
12240
  SliderRange.displayName = "SliderRange";
11594
- var SliderRangeInput = React78__namespace.forwardRef(
12241
+ var SliderRangeInput = React80__namespace.forwardRef(
11595
12242
  (_a, ref) => {
11596
12243
  var _b = _a, {
11597
12244
  className,
@@ -11725,7 +12372,7 @@ var Toaster = (_a) => {
11725
12372
  classNames: {
11726
12373
  toast: "group toast group-[.toaster]:bg-sui-bg-default group-[.toaster]:text-sui-text-default group-[.toaster]:border-sui-border-default group-[.toaster]:shadow-modal-sm",
11727
12374
  description: "group-[.toast]:text-sui-text-muted",
11728
- actionButton: "group-[.toast]:bg-sui-bg-state-primary group-[.toast]:text-sui-text-white-default",
12375
+ actionButton: "group-[.toast]:bg-sui-bg-state-primary group-[.toast]:text-sui-text-on-primary",
11729
12376
  cancelButton: "group-[.toast]:bg-sui-bg-subtle group-[.toast]:text-sui-text-muted"
11730
12377
  }
11731
12378
  }
@@ -11733,7 +12380,7 @@ var Toaster = (_a) => {
11733
12380
  );
11734
12381
  };
11735
12382
  var ToastProvider = ToastPrimitives__namespace.Provider;
11736
- var ToastViewport = React78__namespace.forwardRef((_a, ref) => {
12383
+ var ToastViewport = React80__namespace.forwardRef((_a, ref) => {
11737
12384
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11738
12385
  return /* @__PURE__ */ jsxRuntime.jsx(
11739
12386
  ToastPrimitives__namespace.Viewport,
@@ -11761,7 +12408,7 @@ var toastVariants = classVarianceAuthority.cva(
11761
12408
  }
11762
12409
  }
11763
12410
  );
11764
- var Toast = React78__namespace.forwardRef((_a, ref) => {
12411
+ var Toast = React80__namespace.forwardRef((_a, ref) => {
11765
12412
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
11766
12413
  return /* @__PURE__ */ jsxRuntime.jsx(
11767
12414
  ToastPrimitives__namespace.Root,
@@ -11772,7 +12419,7 @@ var Toast = React78__namespace.forwardRef((_a, ref) => {
11772
12419
  );
11773
12420
  });
11774
12421
  Toast.displayName = ToastPrimitives__namespace.Root.displayName;
11775
- var ToastAction = React78__namespace.forwardRef((_a, ref) => {
12422
+ var ToastAction = React80__namespace.forwardRef((_a, ref) => {
11776
12423
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11777
12424
  return /* @__PURE__ */ jsxRuntime.jsx(
11778
12425
  ToastPrimitives__namespace.Action,
@@ -11786,7 +12433,7 @@ var ToastAction = React78__namespace.forwardRef((_a, ref) => {
11786
12433
  );
11787
12434
  });
11788
12435
  ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
11789
- var ToastClose = React78__namespace.forwardRef((_a, ref) => {
12436
+ var ToastClose = React80__namespace.forwardRef((_a, ref) => {
11790
12437
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11791
12438
  return /* @__PURE__ */ jsxRuntime.jsx(
11792
12439
  ToastPrimitives__namespace.Close,
@@ -11803,7 +12450,7 @@ var ToastClose = React78__namespace.forwardRef((_a, ref) => {
11803
12450
  );
11804
12451
  });
11805
12452
  ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
11806
- var ToastTitle = React78__namespace.forwardRef((_a, ref) => {
12453
+ var ToastTitle = React80__namespace.forwardRef((_a, ref) => {
11807
12454
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11808
12455
  return /* @__PURE__ */ jsxRuntime.jsx(
11809
12456
  ToastPrimitives__namespace.Title,
@@ -11814,7 +12461,7 @@ var ToastTitle = React78__namespace.forwardRef((_a, ref) => {
11814
12461
  );
11815
12462
  });
11816
12463
  ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
11817
- var ToastDescription = React78__namespace.forwardRef((_a, ref) => {
12464
+ var ToastDescription = React80__namespace.forwardRef((_a, ref) => {
11818
12465
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11819
12466
  return /* @__PURE__ */ jsxRuntime.jsx(
11820
12467
  ToastPrimitives__namespace.Description,
@@ -11919,8 +12566,8 @@ function toast(_a) {
11919
12566
  };
11920
12567
  }
11921
12568
  function useToast() {
11922
- const [state, setState] = React78__namespace.useState(memoryState);
11923
- React78__namespace.useEffect(() => {
12569
+ const [state, setState] = React80__namespace.useState(memoryState);
12570
+ React80__namespace.useEffect(() => {
11924
12571
  listeners.push(setState);
11925
12572
  return () => {
11926
12573
  const index = listeners.indexOf(setState);
@@ -11951,7 +12598,7 @@ function Toaster2() {
11951
12598
  /* @__PURE__ */ jsxRuntime.jsx(ToastViewport, {})
11952
12599
  ] });
11953
12600
  }
11954
- var Switch = React78__namespace.forwardRef((_a, ref) => {
12601
+ var Switch = React80__namespace.forwardRef((_a, ref) => {
11955
12602
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11956
12603
  return /* @__PURE__ */ jsxRuntime.jsx(
11957
12604
  SwitchPrimitives__namespace.Root,
@@ -12003,10 +12650,10 @@ var Switch = React78__namespace.forwardRef((_a, ref) => {
12003
12650
  );
12004
12651
  });
12005
12652
  Switch.displayName = "Switch";
12006
- var SwitchList = React78__namespace.forwardRef(
12653
+ var SwitchList = React80__namespace.forwardRef(
12007
12654
  (_a, ref) => {
12008
12655
  var _b = _a, { className, divider = true, children } = _b, props = __objRest(_b, ["className", "divider", "children"]);
12009
- const items = React78__namespace.Children.toArray(children);
12656
+ const items = React80__namespace.Children.toArray(children);
12010
12657
  return /* @__PURE__ */ jsxRuntime.jsx(
12011
12658
  "div",
12012
12659
  __spreadProps(__spreadValues({
@@ -12034,7 +12681,7 @@ var SwitchList = React78__namespace.forwardRef(
12034
12681
  }
12035
12682
  );
12036
12683
  SwitchList.displayName = "SwitchList";
12037
- var SwitchWithText = React78__namespace.forwardRef(
12684
+ var SwitchWithText = React80__namespace.forwardRef(
12038
12685
  (_a, ref) => {
12039
12686
  var _b = _a, {
12040
12687
  className,
@@ -12051,7 +12698,7 @@ var SwitchWithText = React78__namespace.forwardRef(
12051
12698
  "disabled",
12052
12699
  "id"
12053
12700
  ]);
12054
- const generatedId = React78__namespace.useId();
12701
+ const generatedId = React80__namespace.useId();
12055
12702
  const switchId = id || generatedId;
12056
12703
  return /* @__PURE__ */ jsxRuntime.jsxs(
12057
12704
  "div",
@@ -12108,7 +12755,7 @@ var SwitchWithText = React78__namespace.forwardRef(
12108
12755
  }
12109
12756
  );
12110
12757
  SwitchWithText.displayName = "SwitchWithText";
12111
- var Table = React78__namespace.forwardRef((_a, ref) => {
12758
+ var Table = React80__namespace.forwardRef((_a, ref) => {
12112
12759
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12113
12760
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
12114
12761
  "table",
@@ -12119,12 +12766,12 @@ var Table = React78__namespace.forwardRef((_a, ref) => {
12119
12766
  ) });
12120
12767
  });
12121
12768
  Table.displayName = "Table";
12122
- var TableHeader = React78__namespace.forwardRef((_a, ref) => {
12769
+ var TableHeader = React80__namespace.forwardRef((_a, ref) => {
12123
12770
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12124
12771
  return /* @__PURE__ */ jsxRuntime.jsx("thead", __spreadValues({ ref, className: cn("[&_tr]:border-b [&_tr]:border-sui-border-default", className) }, props));
12125
12772
  });
12126
12773
  TableHeader.displayName = "TableHeader";
12127
- var TableBody = React78__namespace.forwardRef((_a, ref) => {
12774
+ var TableBody = React80__namespace.forwardRef((_a, ref) => {
12128
12775
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12129
12776
  return /* @__PURE__ */ jsxRuntime.jsx(
12130
12777
  "tbody",
@@ -12135,7 +12782,7 @@ var TableBody = React78__namespace.forwardRef((_a, ref) => {
12135
12782
  );
12136
12783
  });
12137
12784
  TableBody.displayName = "TableBody";
12138
- var TableFooter = React78__namespace.forwardRef((_a, ref) => {
12785
+ var TableFooter = React80__namespace.forwardRef((_a, ref) => {
12139
12786
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12140
12787
  return /* @__PURE__ */ jsxRuntime.jsx(
12141
12788
  "tfoot",
@@ -12149,7 +12796,7 @@ var TableFooter = React78__namespace.forwardRef((_a, ref) => {
12149
12796
  );
12150
12797
  });
12151
12798
  TableFooter.displayName = "TableFooter";
12152
- var TableRow = React78__namespace.forwardRef((_a, ref) => {
12799
+ var TableRow = React80__namespace.forwardRef((_a, ref) => {
12153
12800
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12154
12801
  return /* @__PURE__ */ jsxRuntime.jsx(
12155
12802
  "tr",
@@ -12163,7 +12810,7 @@ var TableRow = React78__namespace.forwardRef((_a, ref) => {
12163
12810
  );
12164
12811
  });
12165
12812
  TableRow.displayName = "TableRow";
12166
- var TableHead = React78__namespace.forwardRef((_a, ref) => {
12813
+ var TableHead = React80__namespace.forwardRef((_a, ref) => {
12167
12814
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12168
12815
  return /* @__PURE__ */ jsxRuntime.jsx(
12169
12816
  "th",
@@ -12177,7 +12824,7 @@ var TableHead = React78__namespace.forwardRef((_a, ref) => {
12177
12824
  );
12178
12825
  });
12179
12826
  TableHead.displayName = "TableHead";
12180
- var TableCell = React78__namespace.forwardRef((_a, ref) => {
12827
+ var TableCell = React80__namespace.forwardRef((_a, ref) => {
12181
12828
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12182
12829
  return /* @__PURE__ */ jsxRuntime.jsx(
12183
12830
  "td",
@@ -12188,7 +12835,7 @@ var TableCell = React78__namespace.forwardRef((_a, ref) => {
12188
12835
  );
12189
12836
  });
12190
12837
  TableCell.displayName = "TableCell";
12191
- var TableCaption = React78__namespace.forwardRef((_a, ref) => {
12838
+ var TableCaption = React80__namespace.forwardRef((_a, ref) => {
12192
12839
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12193
12840
  return /* @__PURE__ */ jsxRuntime.jsx(
12194
12841
  "caption",
@@ -12224,7 +12871,7 @@ var ariaSortMap2 = {
12224
12871
  desc: "descending",
12225
12872
  none: "none"
12226
12873
  };
12227
- var TableHeaderItem = React78__namespace.forwardRef(
12874
+ var TableHeaderItem = React80__namespace.forwardRef(
12228
12875
  (_a, ref) => {
12229
12876
  var _b = _a, {
12230
12877
  className,
@@ -12340,7 +12987,7 @@ var tableItemVariants = classVarianceAuthority.cva("flex items-center px-2", {
12340
12987
  size: "lg"
12341
12988
  }
12342
12989
  });
12343
- var TableItem = React78__namespace.forwardRef(
12990
+ var TableItem = React80__namespace.forwardRef(
12344
12991
  (_a, ref) => {
12345
12992
  var _b = _a, {
12346
12993
  className,
@@ -12424,7 +13071,7 @@ var TableItem = React78__namespace.forwardRef(
12424
13071
  }
12425
13072
  );
12426
13073
  TableItem.displayName = "TableItem";
12427
- var TablePagination = React78__namespace.forwardRef(
13074
+ var TablePagination = React80__namespace.forwardRef(
12428
13075
  (_a, ref) => {
12429
13076
  var _b = _a, {
12430
13077
  className,
@@ -12511,7 +13158,7 @@ var tableRowSortVariants = classVarianceAuthority.cva(
12511
13158
  }
12512
13159
  }
12513
13160
  );
12514
- var TableRowSort = React78__namespace.forwardRef(
13161
+ var TableRowSort = React80__namespace.forwardRef(
12515
13162
  (_a, ref) => {
12516
13163
  var _b = _a, { className, variant = "default", striped, sticky, children } = _b, props = __objRest(_b, ["className", "variant", "striped", "sticky", "children"]);
12517
13164
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -12534,7 +13181,7 @@ var TableRowSort = React78__namespace.forwardRef(
12534
13181
  TableRowSort.displayName = "TableRowSort";
12535
13182
  var textWidths = ["w-20", "w-28", "w-24", "w-32", "w-16", "w-26", "w-22", "w-30"];
12536
13183
  var skeletonBg = "bg-sui-bg-basic-gray-alpha-4";
12537
- var TableSkeletonRow = React78__namespace.forwardRef(
13184
+ var TableSkeletonRow = React80__namespace.forwardRef(
12538
13185
  (_a, ref) => {
12539
13186
  var _b = _a, { className, columns, rowCount = 5, size = "sm" } = _b, props = __objRest(_b, ["className", "columns", "rowCount", "size"]);
12540
13187
  return /* @__PURE__ */ jsxRuntime.jsx("div", __spreadProps(__spreadValues({ ref, className, "aria-hidden": "true" }, props), { children: Array.from({ length: rowCount }, (_, rowIdx) => /* @__PURE__ */ jsxRuntime.jsx(TableRowSort, { variant: "default", children: columns.map((col, colIdx) => {
@@ -12584,12 +13231,12 @@ var tabListVariants = classVarianceAuthority.cva(
12584
13231
  }
12585
13232
  }
12586
13233
  );
12587
- var TabList = React78__namespace.forwardRef((_a, ref) => {
13234
+ var TabList = React80__namespace.forwardRef((_a, ref) => {
12588
13235
  var _b = _a, { className, variant = "pill", shape = "pill", layout, children } = _b, props = __objRest(_b, ["className", "variant", "shape", "layout", "children"]);
12589
13236
  const childShape = variant === "segmented" && shape === "rounded" ? "rounded" : shape;
12590
13237
  const childRadiusOverride = variant === "segmented" && shape === "rounded" ? "rounded-sm" : void 0;
12591
- const enhancedChildren = React78__namespace.Children.map(children, (child) => {
12592
- if (!React78__namespace.isValidElement(child)) return child;
13238
+ const enhancedChildren = React80__namespace.Children.map(children, (child) => {
13239
+ if (!React80__namespace.isValidElement(child)) return child;
12593
13240
  const extraProps = {
12594
13241
  shape: childShape
12595
13242
  };
@@ -12597,7 +13244,7 @@ var TabList = React78__namespace.forwardRef((_a, ref) => {
12597
13244
  const existingClassName = child.props.className;
12598
13245
  extraProps.className = cn(existingClassName, childRadiusOverride);
12599
13246
  }
12600
- return React78__namespace.cloneElement(child, extraProps);
13247
+ return React80__namespace.cloneElement(child, extraProps);
12601
13248
  });
12602
13249
  return /* @__PURE__ */ jsxRuntime.jsx(
12603
13250
  TabsPrimitive4__namespace.List,
@@ -12659,7 +13306,7 @@ var tabItemVariants = classVarianceAuthority.cva(
12659
13306
  }
12660
13307
  }
12661
13308
  );
12662
- var TabItem = React78__namespace.forwardRef((_a, ref) => {
13309
+ var TabItem = React80__namespace.forwardRef((_a, ref) => {
12663
13310
  var _b = _a, { className, shape, size } = _b, props = __objRest(_b, ["className", "shape", "size"]);
12664
13311
  return /* @__PURE__ */ jsxRuntime.jsx(
12665
13312
  TabsPrimitive4__namespace.Trigger,
@@ -12671,35 +13318,35 @@ var TabItem = React78__namespace.forwardRef((_a, ref) => {
12671
13318
  });
12672
13319
  TabItem.displayName = "TabItem";
12673
13320
  var Tabs = TabsPrimitive4__namespace.Root;
12674
- var TabsList = React78__namespace.forwardRef((_a, ref) => {
13321
+ var TabsList = React80__namespace.forwardRef((_a, ref) => {
12675
13322
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12676
13323
  return /* @__PURE__ */ jsxRuntime.jsx(
12677
13324
  TabsPrimitive4__namespace.List,
12678
13325
  __spreadValues({
12679
13326
  ref,
12680
13327
  className: cn(
12681
- "inline-flex h-10 items-center justify-center rounded-md bg-sui-bg-subtle p-1 text-sui-text-muted",
13328
+ "inline-flex h-10 items-center justify-center rounded-md bg-sui-bg-state-soft p-1 text-sui-text-muted",
12682
13329
  className
12683
13330
  )
12684
13331
  }, props)
12685
13332
  );
12686
13333
  });
12687
13334
  TabsList.displayName = TabsPrimitive4__namespace.List.displayName;
12688
- var TabsTrigger = React78__namespace.forwardRef((_a, ref) => {
13335
+ var TabsTrigger = React80__namespace.forwardRef((_a, ref) => {
12689
13336
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12690
13337
  return /* @__PURE__ */ jsxRuntime.jsx(
12691
13338
  TabsPrimitive4__namespace.Trigger,
12692
13339
  __spreadValues({
12693
13340
  ref,
12694
13341
  className: cn(
12695
- "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-sui-bg-default transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-2 disabled:text-sui-text-hint disabled:pointer-events-none data-[state=active]:bg-sui-bg-default data-[state=active]:text-sui-text-default data-[state=active]:shadow-sm",
13342
+ "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-sui-bg-default transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sui-border-highlight focus-visible:ring-offset-2 disabled:text-sui-text-hint disabled:pointer-events-none [@media(hover:hover)]:hover:bg-sui-bg-state-ghost-hover [@media(hover:hover)]:hover:text-sui-text-default data-[state=active]:bg-sui-bg-default data-[state=active]:text-sui-text-default data-[state=active]:shadow-default",
12696
13343
  className
12697
13344
  )
12698
13345
  }, props)
12699
13346
  );
12700
13347
  });
12701
13348
  TabsTrigger.displayName = TabsPrimitive4__namespace.Trigger.displayName;
12702
- var TabsContent = React78__namespace.forwardRef((_a, ref) => {
13349
+ var TabsContent = React80__namespace.forwardRef((_a, ref) => {
12703
13350
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12704
13351
  return /* @__PURE__ */ jsxRuntime.jsx(
12705
13352
  TabsPrimitive4__namespace.Content,
@@ -12743,7 +13390,7 @@ var textAreaContainerVariants = classVarianceAuthority.cva(
12743
13390
  }
12744
13391
  }
12745
13392
  );
12746
- var TextAreaField = React78__namespace.forwardRef(
13393
+ var TextAreaField = React80__namespace.forwardRef(
12747
13394
  (_a, ref) => {
12748
13395
  var _b = _a, {
12749
13396
  className,
@@ -12792,7 +13439,7 @@ var TextAreaField = React78__namespace.forwardRef(
12792
13439
  "spellCheck",
12793
13440
  "autoComplete"
12794
13441
  ]);
12795
- const generatedId = React78__namespace.useId();
13442
+ const generatedId = React80__namespace.useId();
12796
13443
  const textAreaId = id || generatedId;
12797
13444
  const captionId = `${textAreaId}-caption`;
12798
13445
  const charCountId = `${textAreaId}-charcount`;
@@ -12800,8 +13447,8 @@ var TextAreaField = React78__namespace.forwardRef(
12800
13447
  const helperText = hasError ? error : caption;
12801
13448
  const hasActionBar = !!(leadActions || tailActions);
12802
13449
  const showCount = !!(showCharCount && maxLength);
12803
- const innerRef = React78__namespace.useRef(null);
12804
- React78__namespace.useImperativeHandle(ref, () => innerRef.current, []);
13450
+ const innerRef = React80__namespace.useRef(null);
13451
+ React80__namespace.useImperativeHandle(ref, () => innerRef.current, []);
12805
13452
  const focusTextareaOnDecorationClick = (e) => {
12806
13453
  var _a2;
12807
13454
  if (disabled) return;
@@ -12818,12 +13465,12 @@ var TextAreaField = React78__namespace.forwardRef(
12818
13465
  helperText ? captionId : null,
12819
13466
  showCount ? charCountId : null
12820
13467
  ].filter(Boolean).join(" ") || void 0;
12821
- const [charCount, setCharCount] = React78__namespace.useState(() => {
13468
+ const [charCount, setCharCount] = React80__namespace.useState(() => {
12822
13469
  if (value !== void 0) return String(value).length;
12823
13470
  if (defaultValue !== void 0) return String(defaultValue).length;
12824
13471
  return 0;
12825
13472
  });
12826
- React78__namespace.useEffect(() => {
13473
+ React80__namespace.useEffect(() => {
12827
13474
  if (value !== void 0) {
12828
13475
  setCharCount(String(value).length);
12829
13476
  }
@@ -13009,7 +13656,7 @@ var TextAreaField = React78__namespace.forwardRef(
13009
13656
  }
13010
13657
  );
13011
13658
  TextAreaField.displayName = "TextAreaField";
13012
- var Textarea = React78__namespace.forwardRef((_a, ref) => {
13659
+ var Textarea = React80__namespace.forwardRef((_a, ref) => {
13013
13660
  var _b = _a, { className, spellCheck } = _b, props = __objRest(_b, ["className", "spellCheck"]);
13014
13661
  return /* @__PURE__ */ jsxRuntime.jsx(
13015
13662
  "textarea",
@@ -13062,7 +13709,7 @@ var toggleVariants = classVarianceAuthority.cva(
13062
13709
  }
13063
13710
  }
13064
13711
  );
13065
- var Toggle = React78__namespace.forwardRef((_a, ref) => {
13712
+ var Toggle = React80__namespace.forwardRef((_a, ref) => {
13066
13713
  var _b = _a, { className, variant, size } = _b, props = __objRest(_b, ["className", "variant", "size"]);
13067
13714
  return /* @__PURE__ */ jsxRuntime.jsx(
13068
13715
  TogglePrimitive__namespace.Root,
@@ -13074,7 +13721,7 @@ var Toggle = React78__namespace.forwardRef((_a, ref) => {
13074
13721
  });
13075
13722
  Toggle.displayName = TogglePrimitive__namespace.Root.displayName;
13076
13723
  function useMergedRef(...refs) {
13077
- return React78__namespace.useCallback((node) => {
13724
+ return React80__namespace.useCallback((node) => {
13078
13725
  refs.forEach((ref) => {
13079
13726
  if (typeof ref === "function") ref(node);
13080
13727
  else if (ref && "current" in ref)
@@ -13103,13 +13750,13 @@ var chipSizeMap = {
13103
13750
  xs: "sm",
13104
13751
  "2xs": "sm"
13105
13752
  };
13106
- var ToggleGroupContext = React78__namespace.createContext(null);
13753
+ var ToggleGroupContext = React80__namespace.createContext(null);
13107
13754
  function useToggleGroup() {
13108
- const ctx = React78__namespace.useContext(ToggleGroupContext);
13755
+ const ctx = React80__namespace.useContext(ToggleGroupContext);
13109
13756
  if (!ctx) throw new Error("ToggleGroupItem must be used within a ToggleGroup");
13110
13757
  return ctx;
13111
13758
  }
13112
- var ToggleGroup = React78__namespace.forwardRef(
13759
+ var ToggleGroup = React80__namespace.forwardRef(
13113
13760
  (props, ref) => {
13114
13761
  const {
13115
13762
  type,
@@ -13124,16 +13771,16 @@ var ToggleGroup = React78__namespace.forwardRef(
13124
13771
  const controlledValue = "value" in props ? props.value : void 0;
13125
13772
  const defaultValue = "defaultValue" in props ? props.defaultValue : void 0;
13126
13773
  const onValueChange = "onValueChange" in props ? props.onValueChange : void 0;
13127
- const [internalValue, setInternalValue] = React78__namespace.useState(
13774
+ const [internalValue, setInternalValue] = React80__namespace.useState(
13128
13775
  defaultValue
13129
13776
  );
13130
13777
  const isControlled = controlledValue !== void 0;
13131
13778
  const value = isControlled ? controlledValue : internalValue;
13132
- const [rovingFocusValue, setRovingFocusValue] = React78__namespace.useState(null);
13133
- const itemRefs = React78__namespace.useRef(/* @__PURE__ */ new Map());
13134
- const itemValues = React78__namespace.useRef([]);
13135
- const [, notifyRegistration] = React78__namespace.useReducer((x) => x + 1, 0);
13136
- const isActive = React78__namespace.useCallback(
13779
+ const [rovingFocusValue, setRovingFocusValue] = React80__namespace.useState(null);
13780
+ const itemRefs = React80__namespace.useRef(/* @__PURE__ */ new Map());
13781
+ const itemValues = React80__namespace.useRef([]);
13782
+ const [, notifyRegistration] = React80__namespace.useReducer((x) => x + 1, 0);
13783
+ const isActive = React80__namespace.useCallback(
13137
13784
  (itemValue) => {
13138
13785
  if (type === "single") return value === itemValue;
13139
13786
  if (type === "multiple" && Array.isArray(value)) return value.includes(itemValue);
@@ -13141,7 +13788,7 @@ var ToggleGroup = React78__namespace.forwardRef(
13141
13788
  },
13142
13789
  [type, value]
13143
13790
  );
13144
- const toggle = React78__namespace.useCallback(
13791
+ const toggle = React80__namespace.useCallback(
13145
13792
  (itemValue) => {
13146
13793
  if (type === "single") {
13147
13794
  const newValue = value === itemValue ? void 0 : itemValue;
@@ -13185,7 +13832,7 @@ var ToggleGroup = React78__namespace.forwardRef(
13185
13832
  }
13186
13833
  );
13187
13834
  ToggleGroup.displayName = "ToggleGroup";
13188
- var ToggleGroupItem = React78__namespace.forwardRef(
13835
+ var ToggleGroupItem = React80__namespace.forwardRef(
13189
13836
  (_a, ref) => {
13190
13837
  var _b = _a, {
13191
13838
  value: itemValue,
@@ -13220,9 +13867,9 @@ var ToggleGroupItem = React78__namespace.forwardRef(
13220
13867
  const disabled = ctx.disabled || itemDisabled;
13221
13868
  const resolvedSize = bgSize != null ? bgSize : "lg";
13222
13869
  const chipSize = chipSizeMap[resolvedSize];
13223
- const internalRef = React78__namespace.useRef(null);
13870
+ const internalRef = React80__namespace.useRef(null);
13224
13871
  const mergedRef = useMergedRef(ref, internalRef);
13225
- React78__namespace.useEffect(() => {
13872
+ React80__namespace.useEffect(() => {
13226
13873
  const el = internalRef.current;
13227
13874
  if (!el) return;
13228
13875
  ctx.itemRefs.current.set(itemValue, el);
@@ -13358,8 +14005,8 @@ var ToggleGroupItem = React78__namespace.forwardRef(
13358
14005
  "bg-sui-bg-state-ghost text-sui-text-muted [&_svg]:text-icon-default-muted",
13359
14006
  "[@media(hover:hover)]:hover:bg-sui-bg-state-ghost-hover [@media(hover:hover)]:hover:text-sui-text-subtle [@media(hover:hover)]:hover:[&_svg]:text-icon-default-subtle",
13360
14007
  "active:bg-sui-bg-state-ghost-press",
13361
- // Selected state
13362
- active && "bg-sui-bg-badge-blue text-sui-bg-basic-blue-strong [&_svg]:text-sui-bg-basic-blue-strong",
14008
+ // Selected state — bg-badge-blue has no theme-adaptive equivalent yet (stays a light-blue tint in Theme 2); text/icon use the semantic informative token so they shift blue → orange
14009
+ active && "bg-sui-bg-badge-blue text-sui-text-informative [&_svg]:text-sui-text-informative",
13363
14010
  // Disabled
13364
14011
  disabled && "opacity-50 cursor-not-allowed pointer-events-none",
13365
14012
  // Size
@@ -13439,7 +14086,7 @@ var containedInnerVariants = classVarianceAuthority.cva(
13439
14086
  "group-hover:bg-sui-bg-state-secondary-hover group-active:bg-sui-bg-state-secondary-press"
13440
14087
  ]
13441
14088
  );
13442
- var Userbar = React78__namespace.forwardRef(
14089
+ var Userbar = React80__namespace.forwardRef(
13443
14090
  (_a, ref) => {
13444
14091
  var _b = _a, {
13445
14092
  className,
@@ -13548,7 +14195,7 @@ var Userbar = React78__namespace.forwardRef(
13548
14195
  }
13549
14196
  );
13550
14197
  Userbar.displayName = "Userbar";
13551
- var VerticalStepperItem = React78__namespace.forwardRef(
14198
+ var VerticalStepperItem = React80__namespace.forwardRef(
13552
14199
  (_a, ref) => {
13553
14200
  var _b = _a, {
13554
14201
  className,
@@ -13684,7 +14331,7 @@ var VerticalStepperItem = React78__namespace.forwardRef(
13684
14331
  }
13685
14332
  );
13686
14333
  VerticalStepperItem.displayName = "VerticalStepperItem";
13687
- var VerticalStepper = React78__namespace.forwardRef(
14334
+ var VerticalStepper = React80__namespace.forwardRef(
13688
14335
  (_a, ref) => {
13689
14336
  var _b = _a, {
13690
14337
  className,
@@ -13783,6 +14430,15 @@ exports.AlertDialogPortal = AlertDialogPortal;
13783
14430
  exports.AlertDialogTitle = AlertDialogTitle;
13784
14431
  exports.AlertDialogTrigger = AlertDialogTrigger;
13785
14432
  exports.AlertTitle = AlertTitle;
14433
+ exports.Attachment = Attachment;
14434
+ exports.AttachmentAction = AttachmentAction;
14435
+ exports.AttachmentActions = AttachmentActions;
14436
+ exports.AttachmentContent = AttachmentContent;
14437
+ exports.AttachmentDescription = AttachmentDescription;
14438
+ exports.AttachmentGroup = AttachmentGroup;
14439
+ exports.AttachmentMedia = AttachmentMedia;
14440
+ exports.AttachmentTitle = AttachmentTitle;
14441
+ exports.AttachmentTrigger = AttachmentTrigger;
13786
14442
  exports.Avatar = Avatar;
13787
14443
  exports.AvatarButton = AvatarButton;
13788
14444
  exports.AvatarFallback = AvatarFallback;
@@ -13909,6 +14565,7 @@ exports.Paginator = Paginator;
13909
14565
  exports.Popover = Popover;
13910
14566
  exports.PopoverContent = PopoverContent;
13911
14567
  exports.PopoverTrigger = PopoverTrigger;
14568
+ exports.ProductCard = ProductCard;
13912
14569
  exports.Progress = Progress;
13913
14570
  exports.ProgressBar = ProgressBar;
13914
14571
  exports.RadialProgressBar = RadialProgressBar;
@@ -13974,6 +14631,7 @@ exports.SidebarProvider = SidebarProvider;
13974
14631
  exports.SidebarRail = SidebarRail;
13975
14632
  exports.SidebarSeparator = SidebarSeparator;
13976
14633
  exports.SidebarTrigger = SidebarTrigger;
14634
+ exports.SignInCard = SignInCard;
13977
14635
  exports.Skeleton = Skeleton;
13978
14636
  exports.Slider = Slider;
13979
14637
  exports.SliderHandle = SliderHandle;
@@ -14031,6 +14689,7 @@ exports.Userbar = Userbar;
14031
14689
  exports.VerticalStepper = VerticalStepper;
14032
14690
  exports.VerticalStepperItem = VerticalStepperItem;
14033
14691
  exports.accordionItemVariants = accordionItemVariants;
14692
+ exports.attachmentVariants = attachmentVariants;
14034
14693
  exports.avatarButtonVariants = avatarButtonVariants;
14035
14694
  exports.avatarVariants = avatarVariants;
14036
14695
  exports.buttonGroupItemVariants = buttonGroupItemVariants;