@salesmind-ai/design-system 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/AppearancePanel-UT57J69V.d.cts +51 -0
  2. package/dist/AppearancePanel-UT57J69V.d.ts +51 -0
  3. package/dist/AppearanceProvider-C36a8-eb.d.cts +45 -0
  4. package/dist/AppearanceProvider-C36a8-eb.d.ts +45 -0
  5. package/dist/Breadcrumb-RX-B_gDV.d.cts +44 -0
  6. package/dist/Breadcrumb-RX-B_gDV.d.ts +44 -0
  7. package/dist/ExportMenu-A2TLFiVv.d.cts +311 -0
  8. package/dist/ExportMenu-C8qck5AT.d.ts +311 -0
  9. package/dist/SectionShell-BfBw5q0Y.d.cts +18 -0
  10. package/dist/SectionShell-BfBw5q0Y.d.ts +18 -0
  11. package/dist/Select-BdZmK0Lt.d.cts +66 -0
  12. package/dist/Select-BdZmK0Lt.d.ts +66 -0
  13. package/dist/admin/index.cjs +2941 -0
  14. package/dist/admin/index.cjs.map +1 -0
  15. package/dist/admin/index.css +4145 -0
  16. package/dist/admin/index.css.map +1 -0
  17. package/dist/admin/index.d.cts +491 -0
  18. package/dist/admin/index.d.ts +491 -0
  19. package/dist/admin/index.js +2918 -0
  20. package/dist/admin/index.js.map +1 -0
  21. package/dist/{audit-CiyPkxk1.d.cts → audit-BS2fn7M4.d.ts} +2 -51
  22. package/dist/{audit-CiyPkxk1.d.ts → audit-DwCmg32J.d.cts} +2 -51
  23. package/dist/blog/index.cjs +1074 -0
  24. package/dist/blog/index.cjs.map +1 -0
  25. package/dist/blog/index.css +1422 -0
  26. package/dist/blog/index.css.map +1 -0
  27. package/dist/blog/index.d.cts +233 -0
  28. package/dist/blog/index.d.ts +233 -0
  29. package/dist/blog/index.js +1056 -0
  30. package/dist/blog/index.js.map +1 -0
  31. package/dist/chart-types-BGVVO-zl.d.cts +208 -0
  32. package/dist/chart-types-BGVVO-zl.d.ts +208 -0
  33. package/dist/charts/index.cjs +2698 -0
  34. package/dist/charts/index.cjs.map +1 -0
  35. package/dist/charts/index.css +1167 -0
  36. package/dist/charts/index.css.map +1 -0
  37. package/dist/charts/index.d.cts +453 -0
  38. package/dist/charts/index.d.ts +453 -0
  39. package/dist/charts/index.js +2682 -0
  40. package/dist/charts/index.js.map +1 -0
  41. package/dist/core/index.cjs +526 -395
  42. package/dist/core/index.cjs.map +1 -1
  43. package/dist/core/index.css +297 -2
  44. package/dist/core/index.css.map +1 -1
  45. package/dist/core/index.d.cts +7 -982
  46. package/dist/core/index.d.ts +7 -982
  47. package/dist/core/index.js +476 -351
  48. package/dist/core/index.js.map +1 -1
  49. package/dist/i18n/index.cjs +585 -0
  50. package/dist/i18n/index.cjs.map +1 -0
  51. package/dist/i18n/index.d.cts +855 -0
  52. package/dist/i18n/index.d.ts +855 -0
  53. package/dist/i18n/index.js +547 -0
  54. package/dist/i18n/index.js.map +1 -0
  55. package/dist/index.css +16 -6
  56. package/dist/index.css.map +1 -1
  57. package/dist/index.d.cts +22 -1290
  58. package/dist/index.d.ts +22 -1290
  59. package/dist/marketing/index.cjs +2144 -3023
  60. package/dist/marketing/index.cjs.map +1 -1
  61. package/dist/marketing/index.css +3729 -4824
  62. package/dist/marketing/index.css.map +1 -1
  63. package/dist/marketing/index.d.cts +1351 -4
  64. package/dist/marketing/index.d.ts +1351 -4
  65. package/dist/marketing/index.js +2190 -3054
  66. package/dist/marketing/index.js.map +1 -1
  67. package/dist/motion/index.cjs +1230 -0
  68. package/dist/motion/index.cjs.map +1 -0
  69. package/dist/motion/index.css +699 -0
  70. package/dist/motion/index.css.map +1 -0
  71. package/dist/motion/index.d.cts +68 -0
  72. package/dist/motion/index.d.ts +68 -0
  73. package/dist/motion/index.js +1218 -0
  74. package/dist/motion/index.js.map +1 -0
  75. package/dist/nav/index.cjs +1533 -0
  76. package/dist/nav/index.cjs.map +1 -0
  77. package/dist/nav/index.css +1984 -0
  78. package/dist/nav/index.css.map +1 -0
  79. package/dist/nav/index.d.cts +279 -0
  80. package/dist/nav/index.d.ts +279 -0
  81. package/dist/nav/index.js +1501 -0
  82. package/dist/nav/index.js.map +1 -0
  83. package/dist/report/index.cjs +26 -1649
  84. package/dist/report/index.cjs.map +1 -1
  85. package/dist/report/index.css +6 -968
  86. package/dist/report/index.css.map +1 -1
  87. package/dist/report/index.d.cts +4 -2
  88. package/dist/report/index.d.ts +4 -2
  89. package/dist/report/index.js +27 -1640
  90. package/dist/report/index.js.map +1 -1
  91. package/dist/sections/index.cjs +385 -0
  92. package/dist/sections/index.cjs.map +1 -0
  93. package/dist/sections/index.css +818 -0
  94. package/dist/sections/index.css.map +1 -0
  95. package/dist/sections/index.d.cts +69 -0
  96. package/dist/sections/index.d.ts +69 -0
  97. package/dist/sections/index.js +374 -0
  98. package/dist/sections/index.js.map +1 -0
  99. package/dist/social-proof/index.cjs +1254 -0
  100. package/dist/social-proof/index.cjs.map +1 -0
  101. package/dist/social-proof/index.css +1416 -0
  102. package/dist/social-proof/index.css.map +1 -0
  103. package/dist/social-proof/index.d.cts +258 -0
  104. package/dist/social-proof/index.d.ts +258 -0
  105. package/dist/social-proof/index.js +1237 -0
  106. package/dist/social-proof/index.js.map +1 -0
  107. package/dist/theme/index.cjs +573 -0
  108. package/dist/theme/index.cjs.map +1 -0
  109. package/dist/theme/index.css +464 -0
  110. package/dist/theme/index.css.map +1 -0
  111. package/dist/theme/index.d.cts +48 -0
  112. package/dist/theme/index.d.ts +48 -0
  113. package/dist/theme/index.js +558 -0
  114. package/dist/theme/index.js.map +1 -0
  115. package/dist/types-DAlgDGzw.d.cts +52 -0
  116. package/dist/types-DAlgDGzw.d.ts +52 -0
  117. package/dist/web/index.d.cts +3 -2
  118. package/dist/web/index.d.ts +3 -2
  119. package/package.json +68 -9
  120. package/dist/ExportMenu-hEe5MhLq.d.cts +0 -1027
  121. package/dist/ExportMenu-hEe5MhLq.d.ts +0 -1027
  122. package/dist/index-B64suAAc.d.cts +0 -1498
  123. package/dist/index-B64suAAc.d.ts +0 -1498
@@ -1,10 +1,11 @@
1
- import React38, { createContext, useId, forwardRef, useContext, useState, useEffect, useCallback, useRef } from 'react';
1
+ import React39, { createContext, useId, forwardRef, useContext, useState, useEffect, useCallback, useRef } from 'react';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
- import clsx27 from 'clsx';
3
+ import clsx28 from 'clsx';
4
4
  import { Slot } from '@radix-ui/react-slot';
5
5
  import { Input } from '@base-ui/react/input';
6
6
  import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
7
7
  import { Switch as Switch$1 } from '@base-ui/react/switch';
8
+ import { Select as Select$1 } from '@base-ui/react/select';
8
9
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
9
10
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
10
11
  import ReactDOM, { createPortal } from 'react-dom';
@@ -441,7 +442,7 @@ function initializeAppearance(settings) {
441
442
  const merged = { ...loaded, ...settings };
442
443
  applySettings(merged);
443
444
  }
444
- var AppearancePanel = React38.forwardRef(
445
+ var AppearancePanel = React39.forwardRef(
445
446
  ({ className, labels: l }, ref) => {
446
447
  const {
447
448
  theme,
@@ -483,14 +484,14 @@ var AppearancePanel = React38.forwardRef(
483
484
  { value: "playful", label: l?.radiusPlayful ?? "Playful", description: l?.radiusPlayfulDescription ?? "Rounded corners" },
484
485
  { value: "sharp", label: l?.radiusSharp ?? "Sharp", description: l?.radiusSharpDescription ?? "Technical feel" }
485
486
  ];
486
- return /* @__PURE__ */ jsxs("div", { ref, className: clsx27("ds-appearance-panel", className), children: [
487
+ return /* @__PURE__ */ jsxs("div", { ref, className: clsx28("ds-appearance-panel", className), children: [
487
488
  /* @__PURE__ */ jsx("h3", { className: "ds-appearance-panel__title", children: l?.title ?? "Appearance Settings" }),
488
489
  /* @__PURE__ */ jsxs("fieldset", { className: "ds-appearance-panel__section", children: [
489
490
  /* @__PURE__ */ jsx("legend", { className: "ds-appearance-panel__legend", children: l?.themeHeading ?? "Theme" }),
490
491
  /* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: themeOptions.map((option) => /* @__PURE__ */ jsxs(
491
492
  "label",
492
493
  {
493
- className: clsx27(
494
+ className: clsx28(
494
495
  "ds-appearance-panel__option",
495
496
  theme === option.value && "ds-appearance-panel__option--active"
496
497
  ),
@@ -517,7 +518,7 @@ var AppearancePanel = React38.forwardRef(
517
518
  /* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: brandOptions.map((option) => /* @__PURE__ */ jsxs(
518
519
  "label",
519
520
  {
520
- className: clsx27(
521
+ className: clsx28(
521
522
  "ds-appearance-panel__option",
522
523
  brand === option.value && "ds-appearance-panel__option--active"
523
524
  ),
@@ -563,7 +564,7 @@ var AppearancePanel = React38.forwardRef(
563
564
  /* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options ds-appearance-panel__options--row", children: densityOptions.map((option) => /* @__PURE__ */ jsxs(
564
565
  "label",
565
566
  {
566
- className: clsx27(
567
+ className: clsx28(
567
568
  "ds-appearance-panel__option",
568
569
  "ds-appearance-panel__option--toggle",
569
570
  density === option.value && "ds-appearance-panel__option--active"
@@ -594,7 +595,7 @@ var AppearancePanel = React38.forwardRef(
594
595
  /* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options ds-appearance-panel__options--row", children: radiusOptions.map((option) => /* @__PURE__ */ jsxs(
595
596
  "label",
596
597
  {
597
- className: clsx27(
598
+ className: clsx28(
598
599
  "ds-appearance-panel__option",
599
600
  "ds-appearance-panel__option--toggle",
600
601
  radius === option.value && "ds-appearance-panel__option--active"
@@ -625,7 +626,7 @@ var AppearancePanel = React38.forwardRef(
625
626
  /* @__PURE__ */ jsx("div", { className: "ds-appearance-panel__options", children: navOptions.map((option) => /* @__PURE__ */ jsxs(
626
627
  "label",
627
628
  {
628
- className: clsx27(
629
+ className: clsx28(
629
630
  "ds-appearance-panel__option",
630
631
  navPlacement === option.value && "ds-appearance-panel__option--active"
631
632
  ),
@@ -652,9 +653,9 @@ var AppearancePanel = React38.forwardRef(
652
653
  }
653
654
  );
654
655
  AppearancePanel.displayName = "AppearancePanel";
655
- var Button = React38.forwardRef(
656
+ var Button = React39.forwardRef(
656
657
  ({ className, variant = "primary", size = "md", asChild = false, isLoading = false, children, disabled, ...props }, ref) => {
657
- const buttonClass = clsx27(
658
+ const buttonClass = clsx28(
658
659
  "ds-button",
659
660
  `ds-button--${variant}`,
660
661
  size === "icon" ? "ds-button--icon ds-button--md" : `ds-button--${size}`,
@@ -697,21 +698,21 @@ var Button = React38.forwardRef(
697
698
  children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
698
699
  }
699
700
  ),
700
- /* @__PURE__ */ jsx("span", { className: clsx27("ds-button__content", isLoading && "ds-button__content--hidden"), children })
701
+ /* @__PURE__ */ jsx("span", { className: clsx28("ds-button__content", isLoading && "ds-button__content--hidden"), children })
701
702
  ]
702
703
  }
703
704
  );
704
705
  }
705
706
  );
706
707
  Button.displayName = "Button";
707
- var ButtonGroup = React38.forwardRef(
708
+ var ButtonGroup = React39.forwardRef(
708
709
  ({ orientation = "horizontal", fullWidth = false, size = "md", className, children, ...props }, ref) => {
709
710
  return /* @__PURE__ */ jsx(
710
711
  "div",
711
712
  {
712
713
  ref,
713
714
  role: "group",
714
- className: clsx27(
715
+ className: clsx28(
715
716
  "ds-button-group",
716
717
  `ds-button-group--${orientation}`,
717
718
  fullWidth && "ds-button-group--full-width",
@@ -725,11 +726,11 @@ var ButtonGroup = React38.forwardRef(
725
726
  }
726
727
  );
727
728
  ButtonGroup.displayName = "ButtonGroup";
728
- var TextField = React38.forwardRef(
729
+ var TextField = React39.forwardRef(
729
730
  ({ className, label, error, helperText, endAdornment, id, ...props }, ref) => {
730
- const generatedId = React38.useId();
731
+ const generatedId = React39.useId();
731
732
  const inputId = id || generatedId;
732
- return /* @__PURE__ */ jsxs("div", { className: clsx27("ds-textfield", className), children: [
733
+ return /* @__PURE__ */ jsxs("div", { className: clsx28("ds-textfield", className), children: [
733
734
  label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "ds-textfield__label", children: label }),
734
735
  /* @__PURE__ */ jsxs("div", { className: "ds-textfield__input-wrapper", children: [
735
736
  /* @__PURE__ */ jsx(
@@ -737,7 +738,7 @@ var TextField = React38.forwardRef(
737
738
  {
738
739
  id: inputId,
739
740
  ref,
740
- className: clsx27(
741
+ className: clsx28(
741
742
  "ds-textfield__input",
742
743
  error && "ds-textfield__input--error",
743
744
  endAdornment && "ds-textfield__input--adorned"
@@ -747,7 +748,7 @@ var TextField = React38.forwardRef(
747
748
  ),
748
749
  endAdornment && /* @__PURE__ */ jsx("div", { className: "ds-textfield__adornment", children: endAdornment })
749
750
  ] }),
750
- helperText && /* @__PURE__ */ jsx("span", { className: clsx27("ds-textfield__helper", error && "ds-textfield__helper--error"), children: helperText })
751
+ helperText && /* @__PURE__ */ jsx("span", { className: clsx28("ds-textfield__helper", error && "ds-textfield__helper--error"), children: helperText })
751
752
  ] });
752
753
  }
753
754
  );
@@ -756,27 +757,27 @@ var TextArea = forwardRef(
756
757
  ({ className, label, error, helperText, id, ...props }, ref) => {
757
758
  const generatedId = useId();
758
759
  const inputId = id || generatedId;
759
- return /* @__PURE__ */ jsxs("div", { className: clsx27("ds-textarea", className), children: [
760
+ return /* @__PURE__ */ jsxs("div", { className: clsx28("ds-textarea", className), children: [
760
761
  label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "ds-textarea__label", children: label }),
761
762
  /* @__PURE__ */ jsx("div", { className: "ds-textarea__input-wrapper", children: /* @__PURE__ */ jsx(
762
763
  "textarea",
763
764
  {
764
765
  id: inputId,
765
766
  ref,
766
- className: clsx27("ds-textarea__input", error && "ds-textarea__input--error"),
767
+ className: clsx28("ds-textarea__input", error && "ds-textarea__input--error"),
767
768
  ...props
768
769
  }
769
770
  ) }),
770
- helperText && /* @__PURE__ */ jsx("span", { className: clsx27("ds-textarea__helper", error && "ds-textarea__helper--error"), children: helperText })
771
+ helperText && /* @__PURE__ */ jsx("span", { className: clsx28("ds-textarea__helper", error && "ds-textarea__helper--error"), children: helperText })
771
772
  ] });
772
773
  }
773
774
  );
774
775
  TextArea.displayName = "TextArea";
775
- var Checkbox = React38.forwardRef(
776
+ var Checkbox = React39.forwardRef(
776
777
  ({ className, label, id, ...props }, ref) => {
777
- const generatedId = React38.useId();
778
+ const generatedId = React39.useId();
778
779
  const checkboxId = id || generatedId;
779
- return /* @__PURE__ */ jsxs("div", { className: clsx27("ds-checkbox-wrapper", className), children: [
780
+ return /* @__PURE__ */ jsxs("div", { className: clsx28("ds-checkbox-wrapper", className), children: [
780
781
  /* @__PURE__ */ jsx(Checkbox$1.Root, { id: checkboxId, ref, className: "ds-checkbox", ...props, children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, { className: "ds-checkbox__indicator", children: /* @__PURE__ */ jsx(
781
782
  "svg",
782
783
  {
@@ -819,7 +820,7 @@ var RadioGroup = forwardRef(
819
820
  {
820
821
  ref,
821
822
  role: "radiogroup",
822
- className: clsx27(
823
+ className: clsx28(
823
824
  "ds-radio-group",
824
825
  orientation === "horizontal" && "ds-radio-group--horizontal",
825
826
  className
@@ -845,7 +846,7 @@ var Radio = forwardRef(
845
846
  return /* @__PURE__ */ jsxs(
846
847
  "label",
847
848
  {
848
- className: clsx27("ds-radio-wrapper", disabled && "ds-radio-wrapper--disabled", className),
849
+ className: clsx28("ds-radio-wrapper", disabled && "ds-radio-wrapper--disabled", className),
849
850
  children: [
850
851
  /* @__PURE__ */ jsx(
851
852
  "input",
@@ -862,7 +863,7 @@ var Radio = forwardRef(
862
863
  ...props
863
864
  }
864
865
  ),
865
- /* @__PURE__ */ jsx("div", { className: clsx27("ds-radio", isChecked && "ds-radio--checked"), children: /* @__PURE__ */ jsx("div", { className: "ds-radio__indicator" }) }),
866
+ /* @__PURE__ */ jsx("div", { className: clsx28("ds-radio", isChecked && "ds-radio--checked"), children: /* @__PURE__ */ jsx("div", { className: "ds-radio__indicator" }) }),
866
867
  label && /* @__PURE__ */ jsx("span", { className: "ds-radio__label", children: label })
867
868
  ]
868
869
  }
@@ -870,50 +871,174 @@ var Radio = forwardRef(
870
871
  }
871
872
  );
872
873
  Radio.displayName = "Radio";
873
- var Switch = React38.forwardRef(
874
+ var Switch = React39.forwardRef(
874
875
  ({ className, label, id, ...props }, ref) => {
875
- const generatedId = React38.useId();
876
+ const generatedId = React39.useId();
876
877
  const switchId = id || generatedId;
877
- return /* @__PURE__ */ jsxs("div", { className: clsx27("ds-switch-wrapper", className), children: [
878
+ return /* @__PURE__ */ jsxs("div", { className: clsx28("ds-switch-wrapper", className), children: [
878
879
  /* @__PURE__ */ jsx(Switch$1.Root, { id: switchId, ref, className: "ds-switch", ...props, children: /* @__PURE__ */ jsx(Switch$1.Thumb, { className: "ds-switch__thumb" }) }),
879
880
  label && /* @__PURE__ */ jsx("label", { htmlFor: switchId, className: "ds-switch__label", children: label })
880
881
  ] });
881
882
  }
882
883
  );
883
884
  Switch.displayName = "Switch";
885
+ function Select({
886
+ value,
887
+ defaultValue,
888
+ onValueChange,
889
+ disabled,
890
+ required,
891
+ name,
892
+ items,
893
+ children
894
+ }) {
895
+ return /* @__PURE__ */ jsx(
896
+ Select$1.Root,
897
+ {
898
+ value,
899
+ defaultValue,
900
+ onValueChange: onValueChange ? (val) => onValueChange(val) : void 0,
901
+ disabled,
902
+ required,
903
+ name,
904
+ items,
905
+ children
906
+ }
907
+ );
908
+ }
909
+ Select.displayName = "Select";
910
+ var SelectTrigger = React39.forwardRef(
911
+ ({ className, placeholder = "Select...", size = "md", ...props }, ref) => {
912
+ return /* @__PURE__ */ jsx("div", { className: "ds-select__trigger-wrapper", children: /* @__PURE__ */ jsxs(
913
+ Select$1.Trigger,
914
+ {
915
+ ref,
916
+ className: clsx28("ds-select__trigger", `ds-select__trigger--${size}`, className),
917
+ "aria-label": props["aria-label"] || (typeof placeholder === "string" ? placeholder : "Select"),
918
+ ...props,
919
+ children: [
920
+ /* @__PURE__ */ jsx(Select$1.Value, { className: "ds-select__value", placeholder }),
921
+ /* @__PURE__ */ jsx(Select$1.Icon, { className: "ds-select__icon", "aria-hidden": true, children: /* @__PURE__ */ jsx(ChevronDownIcon, {}) })
922
+ ]
923
+ }
924
+ ) });
925
+ }
926
+ );
927
+ SelectTrigger.displayName = "SelectTrigger";
928
+ var SelectContent = React39.forwardRef(
929
+ ({ className, side = "bottom", sideOffset = 4, align = "start", children, ...props }, ref) => {
930
+ return /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(
931
+ Select$1.Positioner,
932
+ {
933
+ side,
934
+ sideOffset,
935
+ align,
936
+ alignItemWithTrigger: false,
937
+ children: /* @__PURE__ */ jsx(Select$1.Popup, { ref, className: clsx28("ds-select__content", className), ...props, children: /* @__PURE__ */ jsx(Select$1.List, { className: "ds-select__list", children }) })
938
+ }
939
+ ) });
940
+ }
941
+ );
942
+ SelectContent.displayName = "SelectContent";
943
+ var SelectItem = React39.forwardRef(
944
+ ({ className, value, children, disabled, ...props }, ref) => {
945
+ return /* @__PURE__ */ jsxs(
946
+ Select$1.Item,
947
+ {
948
+ ref,
949
+ value,
950
+ disabled,
951
+ className: clsx28("ds-select__item", className),
952
+ ...props,
953
+ children: [
954
+ /* @__PURE__ */ jsx(Select$1.ItemIndicator, { className: "ds-select__item-indicator", children: /* @__PURE__ */ jsx(CheckIcon, {}) }),
955
+ /* @__PURE__ */ jsx(Select$1.ItemText, { children })
956
+ ]
957
+ }
958
+ );
959
+ }
960
+ );
961
+ SelectItem.displayName = "SelectItem";
962
+ var SelectGroup = React39.forwardRef(
963
+ ({ className, label, children, ...props }, ref) => {
964
+ return /* @__PURE__ */ jsxs(Select$1.Group, { ref, className: clsx28("ds-select__group", className), ...props, children: [
965
+ label && /* @__PURE__ */ jsx(Select$1.GroupLabel, { className: "ds-select__group-label", children: label }),
966
+ children
967
+ ] });
968
+ }
969
+ );
970
+ SelectGroup.displayName = "SelectGroup";
971
+ var SelectSeparator = React39.forwardRef(({ className, ...props }, ref) => {
972
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-select__separator", className), ...props });
973
+ });
974
+ SelectSeparator.displayName = "SelectSeparator";
975
+ function ChevronDownIcon() {
976
+ return /* @__PURE__ */ jsx(
977
+ "svg",
978
+ {
979
+ xmlns: "http://www.w3.org/2000/svg",
980
+ width: "16",
981
+ height: "16",
982
+ viewBox: "0 0 24 24",
983
+ fill: "none",
984
+ stroke: "currentColor",
985
+ strokeWidth: "2",
986
+ strokeLinecap: "round",
987
+ strokeLinejoin: "round",
988
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
989
+ }
990
+ );
991
+ }
992
+ function CheckIcon() {
993
+ return /* @__PURE__ */ jsx(
994
+ "svg",
995
+ {
996
+ xmlns: "http://www.w3.org/2000/svg",
997
+ width: "14",
998
+ height: "14",
999
+ viewBox: "0 0 24 24",
1000
+ fill: "none",
1001
+ stroke: "currentColor",
1002
+ strokeWidth: "2",
1003
+ strokeLinecap: "round",
1004
+ strokeLinejoin: "round",
1005
+ children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
1006
+ }
1007
+ );
1008
+ }
884
1009
  var Dialog = Dialog$1.Root;
885
1010
  var DialogTrigger = Dialog$1.Trigger;
886
1011
  var DialogClose = Dialog$1.Close;
887
- var DialogTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog$1.Title, { ref, className: clsx27("ds-dialog__title", className), ...props }));
1012
+ var DialogTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog$1.Title, { ref, className: clsx28("ds-dialog__title", className), ...props }));
888
1013
  DialogTitle.displayName = "DialogTitle";
889
- var DialogDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1014
+ var DialogDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
890
1015
  Dialog$1.Description,
891
1016
  {
892
1017
  ref,
893
- className: clsx27("ds-dialog__description", className),
1018
+ className: clsx28("ds-dialog__description", className),
894
1019
  ...props
895
1020
  }
896
1021
  ));
897
1022
  DialogDescription.displayName = "DialogDescription";
898
- var DialogContent = React38.forwardRef(
1023
+ var DialogContent = React39.forwardRef(
899
1024
  ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [
900
1025
  /* @__PURE__ */ jsx(Dialog$1.Backdrop, { className: "ds-dialog__backdrop" }),
901
- /* @__PURE__ */ jsx(Dialog$1.Popup, { ref, className: clsx27("ds-dialog__content", className), ...props, children })
1026
+ /* @__PURE__ */ jsx(Dialog$1.Popup, { ref, className: clsx28("ds-dialog__content", className), ...props, children })
902
1027
  ] })
903
1028
  );
904
1029
  DialogContent.displayName = "DialogContent";
905
- var DialogHeader = React38.forwardRef(
906
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-dialog__header", className), ...props })
1030
+ var DialogHeader = React39.forwardRef(
1031
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-dialog__header", className), ...props })
907
1032
  );
908
1033
  DialogHeader.displayName = "DialogHeader";
909
- var DialogFooter = React38.forwardRef(
910
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-dialog__footer", className), ...props })
1034
+ var DialogFooter = React39.forwardRef(
1035
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-dialog__footer", className), ...props })
911
1036
  );
912
1037
  DialogFooter.displayName = "DialogFooter";
913
1038
  var TooltipProvider = Tooltip$1.Provider;
914
1039
  var TooltipRoot = Tooltip$1.Root;
915
1040
  var TooltipTrigger = Tooltip$1.Trigger;
916
- var TooltipContent = React38.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, { sideOffset: 5, children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, { ref, className: clsx27("ds-tooltip__content", className), ...props, children: [
1041
+ var TooltipContent = React39.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, { sideOffset: 5, children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, { ref, className: clsx28("ds-tooltip__content", className), ...props, children: [
917
1042
  children,
918
1043
  /* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "ds-tooltip__arrow" })
919
1044
  ] }) }) }));
@@ -924,26 +1049,26 @@ var Tooltip = ({ content, children, delay = 200 }) => {
924
1049
  /* @__PURE__ */ jsx(TooltipContent, { children: content })
925
1050
  ] }) });
926
1051
  };
927
- var Badge = React38.forwardRef(
1052
+ var Badge = React39.forwardRef(
928
1053
  ({ className, variant = "default", ...props }, ref) => {
929
1054
  return /* @__PURE__ */ jsx(
930
1055
  "span",
931
1056
  {
932
1057
  ref,
933
- className: clsx27("ds-badge", `ds-badge--${variant}`, className),
1058
+ className: clsx28("ds-badge", `ds-badge--${variant}`, className),
934
1059
  ...props
935
1060
  }
936
1061
  );
937
1062
  }
938
1063
  );
939
1064
  Badge.displayName = "Badge";
940
- var StatusBadge = React38.forwardRef(
1065
+ var StatusBadge = React39.forwardRef(
941
1066
  ({ variant = "default", size = "md", dot = false, className, children }, ref) => {
942
1067
  return /* @__PURE__ */ jsxs(
943
1068
  "span",
944
1069
  {
945
1070
  ref,
946
- className: clsx27(
1071
+ className: clsx28(
947
1072
  "ds-status-badge",
948
1073
  `ds-status-badge--${variant}`,
949
1074
  `ds-status-badge--${size}`,
@@ -1032,7 +1157,7 @@ var DefaultIcons = {
1032
1157
  }
1033
1158
  )
1034
1159
  };
1035
- var Alert = React38.forwardRef(
1160
+ var Alert = React39.forwardRef(
1036
1161
  ({ className, variant = "info", title, icon, children, ...props }, ref) => {
1037
1162
  const renderedIcon = icon || DefaultIcons[variant];
1038
1163
  return /* @__PURE__ */ jsxs(
@@ -1040,7 +1165,7 @@ var Alert = React38.forwardRef(
1040
1165
  {
1041
1166
  ref,
1042
1167
  role: "alert",
1043
- className: clsx27("ds-alert", `ds-alert--${variant}`, className),
1168
+ className: clsx28("ds-alert", `ds-alert--${variant}`, className),
1044
1169
  ...props,
1045
1170
  children: [
1046
1171
  /* @__PURE__ */ jsx("div", { className: "ds-alert__icon", "aria-hidden": "true", children: renderedIcon }),
@@ -1070,7 +1195,7 @@ var ToastItem = ({
1070
1195
  onDismiss,
1071
1196
  dismissLabel = "Close"
1072
1197
  }) => {
1073
- return /* @__PURE__ */ jsxs("div", { className: clsx27("ds-toast-root", `ds-toast--${variant}`), "data-state": "open", role: "alert", children: [
1198
+ return /* @__PURE__ */ jsxs("div", { className: clsx28("ds-toast-root", `ds-toast--${variant}`), "data-state": "open", role: "alert", children: [
1074
1199
  title && /* @__PURE__ */ jsx("div", { className: "ds-toast-title", children: title }),
1075
1200
  description && /* @__PURE__ */ jsx("div", { className: "ds-toast-description", children: description }),
1076
1201
  action && /* @__PURE__ */ jsx("div", { className: "ds-toast-action", children: action }),
@@ -1140,18 +1265,18 @@ var ToastProvider = ({ children }) => {
1140
1265
  ] });
1141
1266
  };
1142
1267
  var DropdownMenu = Menu.Root;
1143
- var DropdownMenuTrigger = React38.forwardRef(({ className, ...props }, ref) => {
1268
+ var DropdownMenuTrigger = React39.forwardRef(({ className, ...props }, ref) => {
1144
1269
  return /* @__PURE__ */ jsx(
1145
1270
  Menu.Trigger,
1146
1271
  {
1147
1272
  ref,
1148
- className: clsx27("ds-dropdown-menu__trigger", className),
1273
+ className: clsx28("ds-dropdown-menu__trigger", className),
1149
1274
  ...props
1150
1275
  }
1151
1276
  );
1152
1277
  });
1153
1278
  DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
1154
- var DropdownMenuContent = React38.forwardRef(
1279
+ var DropdownMenuContent = React39.forwardRef(
1155
1280
  ({ className, side = "bottom", align = "start", sideOffset = 4, alignOffset = 0, ...props }, ref) => {
1156
1281
  return /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(
1157
1282
  Menu.Positioner,
@@ -1164,7 +1289,7 @@ var DropdownMenuContent = React38.forwardRef(
1164
1289
  Menu.Popup,
1165
1290
  {
1166
1291
  ref,
1167
- className: clsx27("ds-dropdown-menu__content", className),
1292
+ className: clsx28("ds-dropdown-menu__content", className),
1168
1293
  ...props
1169
1294
  }
1170
1295
  )
@@ -1173,23 +1298,23 @@ var DropdownMenuContent = React38.forwardRef(
1173
1298
  }
1174
1299
  );
1175
1300
  DropdownMenuContent.displayName = "DropdownMenuContent";
1176
- var DropdownMenuItem = React38.forwardRef(
1301
+ var DropdownMenuItem = React39.forwardRef(
1177
1302
  ({ className, ...props }, ref) => {
1178
- return /* @__PURE__ */ jsx(Menu.Item, { ref, className: clsx27("ds-dropdown-menu__item", className), ...props });
1303
+ return /* @__PURE__ */ jsx(Menu.Item, { ref, className: clsx28("ds-dropdown-menu__item", className), ...props });
1179
1304
  }
1180
1305
  );
1181
1306
  DropdownMenuItem.displayName = "DropdownMenuItem";
1182
- var DropdownMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => {
1183
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-dropdown-menu__separator", className), ...props });
1307
+ var DropdownMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => {
1308
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-dropdown-menu__separator", className), ...props });
1184
1309
  });
1185
1310
  DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1186
- var DropdownMenuLabel = React38.forwardRef(({ className, ...props }, ref) => {
1187
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-dropdown-menu__label", className), ...props });
1311
+ var DropdownMenuLabel = React39.forwardRef(({ className, ...props }, ref) => {
1312
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-dropdown-menu__label", className), ...props });
1188
1313
  });
1189
1314
  DropdownMenuLabel.displayName = "DropdownMenuLabel";
1190
- var EmptyState = React38.forwardRef(
1315
+ var EmptyState = React39.forwardRef(
1191
1316
  ({ icon, title, description, action, className, ...props }, ref) => {
1192
- return /* @__PURE__ */ jsxs("div", { ref, className: clsx27("ds-empty-state", className), ...props, children: [
1317
+ return /* @__PURE__ */ jsxs("div", { ref, className: clsx28("ds-empty-state", className), ...props, children: [
1193
1318
  icon && /* @__PURE__ */ jsx("div", { className: "ds-empty-state__icon", children: icon }),
1194
1319
  /* @__PURE__ */ jsx("h3", { className: "ds-empty-state__title", children: title }),
1195
1320
  description && /* @__PURE__ */ jsx("p", { className: "ds-empty-state__description", children: description }),
@@ -1198,48 +1323,48 @@ var EmptyState = React38.forwardRef(
1198
1323
  }
1199
1324
  );
1200
1325
  EmptyState.displayName = "EmptyState";
1201
- var Card = React38.forwardRef(
1202
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-card", className), ...props })
1326
+ var Card = React39.forwardRef(
1327
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-card", className), ...props })
1203
1328
  );
1204
1329
  Card.displayName = "Card";
1205
- var CardHeader = React38.forwardRef(
1206
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-card__header", className), ...props })
1330
+ var CardHeader = React39.forwardRef(
1331
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-card__header", className), ...props })
1207
1332
  );
1208
1333
  CardHeader.displayName = "CardHeader";
1209
- var CardTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h3", { ref, className: clsx27("ds-card__title", className), ...props }));
1334
+ var CardTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h3", { ref, className: clsx28("ds-card__title", className), ...props }));
1210
1335
  CardTitle.displayName = "CardTitle";
1211
- var CardDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx27("ds-card__description", className), ...props }));
1336
+ var CardDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx28("ds-card__description", className), ...props }));
1212
1337
  CardDescription.displayName = "CardDescription";
1213
- var CardContent = React38.forwardRef(
1214
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-card__content", className), ...props })
1338
+ var CardContent = React39.forwardRef(
1339
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-card__content", className), ...props })
1215
1340
  );
1216
1341
  CardContent.displayName = "CardContent";
1217
- var CardFooter = React38.forwardRef(
1218
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-card__footer", className), ...props })
1342
+ var CardFooter = React39.forwardRef(
1343
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-card__footer", className), ...props })
1219
1344
  );
1220
1345
  CardFooter.displayName = "CardFooter";
1221
- var AccordionContext = React38.createContext(null);
1346
+ var AccordionContext = React39.createContext(null);
1222
1347
  function useAccordionContext() {
1223
- const ctx = React38.useContext(AccordionContext);
1348
+ const ctx = React39.useContext(AccordionContext);
1224
1349
  if (!ctx) {
1225
1350
  throw new Error("Accordion compound components must be used within <Accordion>");
1226
1351
  }
1227
1352
  return ctx;
1228
1353
  }
1229
- var AccordionItemContext = React38.createContext(null);
1354
+ var AccordionItemContext = React39.createContext(null);
1230
1355
  function useAccordionItemContext() {
1231
- const ctx = React38.useContext(AccordionItemContext);
1356
+ const ctx = React39.useContext(AccordionItemContext);
1232
1357
  if (!ctx) {
1233
1358
  throw new Error("AccordionTrigger/AccordionContent must be used within <AccordionItem>");
1234
1359
  }
1235
1360
  return ctx;
1236
1361
  }
1237
- var Accordion = React38.forwardRef(
1362
+ var Accordion = React39.forwardRef(
1238
1363
  ({ className, type = "single", defaultValue = [], collapsible: _collapsible, children, ...props }, ref) => {
1239
- const [openItems, setOpenItems] = React38.useState(
1364
+ const [openItems, setOpenItems] = React39.useState(
1240
1365
  () => new Set(defaultValue)
1241
1366
  );
1242
- const toggle = React38.useCallback(
1367
+ const toggle = React39.useCallback(
1243
1368
  (value) => {
1244
1369
  setOpenItems((prev) => {
1245
1370
  const next = new Set(prev);
@@ -1256,19 +1381,19 @@ var Accordion = React38.forwardRef(
1256
1381
  },
1257
1382
  [type]
1258
1383
  );
1259
- const contextValue = React38.useMemo(
1384
+ const contextValue = React39.useMemo(
1260
1385
  () => ({ openItems, toggle }),
1261
1386
  [openItems, toggle]
1262
1387
  );
1263
- return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-accordion", className), ...props, children }) });
1388
+ return /* @__PURE__ */ jsx(AccordionContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-accordion", className), ...props, children }) });
1264
1389
  }
1265
1390
  );
1266
1391
  Accordion.displayName = "Accordion";
1267
- var AccordionItem = React38.forwardRef(
1392
+ var AccordionItem = React39.forwardRef(
1268
1393
  ({ className, value, children, ...props }, ref) => {
1269
1394
  const { openItems } = useAccordionContext();
1270
1395
  const isOpen = openItems.has(value);
1271
- const contextValue = React38.useMemo(
1396
+ const contextValue = React39.useMemo(
1272
1397
  () => ({ value, isOpen }),
1273
1398
  [value, isOpen]
1274
1399
  );
@@ -1276,7 +1401,7 @@ var AccordionItem = React38.forwardRef(
1276
1401
  "div",
1277
1402
  {
1278
1403
  ref,
1279
- className: clsx27("ds-accordion__item", className),
1404
+ className: clsx28("ds-accordion__item", className),
1280
1405
  "data-state": isOpen ? "open" : "closed",
1281
1406
  ...props,
1282
1407
  children
@@ -1285,7 +1410,7 @@ var AccordionItem = React38.forwardRef(
1285
1410
  }
1286
1411
  );
1287
1412
  AccordionItem.displayName = "AccordionItem";
1288
- var AccordionTrigger = React38.forwardRef(({ className, children, ...props }, ref) => {
1413
+ var AccordionTrigger = React39.forwardRef(({ className, children, ...props }, ref) => {
1289
1414
  const { toggle } = useAccordionContext();
1290
1415
  const { value, isOpen } = useAccordionItemContext();
1291
1416
  return /* @__PURE__ */ jsxs(
@@ -1293,7 +1418,7 @@ var AccordionTrigger = React38.forwardRef(({ className, children, ...props }, re
1293
1418
  {
1294
1419
  ref,
1295
1420
  type: "button",
1296
- className: clsx27("ds-accordion__trigger", className),
1421
+ className: clsx28("ds-accordion__trigger", className),
1297
1422
  "aria-expanded": isOpen,
1298
1423
  onClick: () => toggle(value),
1299
1424
  ...props,
@@ -1320,13 +1445,13 @@ var AccordionTrigger = React38.forwardRef(({ className, children, ...props }, re
1320
1445
  );
1321
1446
  });
1322
1447
  AccordionTrigger.displayName = "AccordionTrigger";
1323
- var AccordionContent = React38.forwardRef(({ className, children, ...props }, ref) => {
1448
+ var AccordionContent = React39.forwardRef(({ className, children, ...props }, ref) => {
1324
1449
  const { isOpen } = useAccordionItemContext();
1325
- const contentRef = React38.useRef(null);
1326
- const [height, setHeight] = React38.useState(
1450
+ const contentRef = React39.useRef(null);
1451
+ const [height, setHeight] = React39.useState(
1327
1452
  isOpen ? void 0 : 0
1328
1453
  );
1329
- React38.useEffect(() => {
1454
+ React39.useEffect(() => {
1330
1455
  const el = contentRef.current;
1331
1456
  if (!el) return;
1332
1457
  if (isOpen) {
@@ -1348,7 +1473,7 @@ var AccordionContent = React38.forwardRef(({ className, children, ...props }, re
1348
1473
  "div",
1349
1474
  {
1350
1475
  ref: contentRef,
1351
- className: clsx27("ds-accordion__content", className),
1476
+ className: clsx28("ds-accordion__content", className),
1352
1477
  style: {
1353
1478
  height: height !== void 0 ? `${height}px` : "auto"
1354
1479
  },
@@ -1359,13 +1484,13 @@ var AccordionContent = React38.forwardRef(({ className, children, ...props }, re
1359
1484
  );
1360
1485
  });
1361
1486
  AccordionContent.displayName = "AccordionContent";
1362
- var Label = React38.forwardRef(
1487
+ var Label = React39.forwardRef(
1363
1488
  ({ className, disabled, ...props }, ref) => {
1364
1489
  return /* @__PURE__ */ jsx(
1365
1490
  "label",
1366
1491
  {
1367
1492
  ref,
1368
- className: clsx27("ds-label", disabled && "ds-label--disabled", className),
1493
+ className: clsx28("ds-label", disabled && "ds-label--disabled", className),
1369
1494
  "data-disabled": disabled || void 0,
1370
1495
  ...props
1371
1496
  }
@@ -1373,20 +1498,20 @@ var Label = React38.forwardRef(
1373
1498
  }
1374
1499
  );
1375
1500
  Label.displayName = "Label";
1376
- var Skeleton = React38.forwardRef(
1501
+ var Skeleton = React39.forwardRef(
1377
1502
  ({ className, ...props }, ref) => {
1378
1503
  return /* @__PURE__ */ jsx(
1379
1504
  "div",
1380
1505
  {
1381
1506
  ref,
1382
- className: clsx27("ds-skeleton", className),
1507
+ className: clsx28("ds-skeleton", className),
1383
1508
  ...props
1384
1509
  }
1385
1510
  );
1386
1511
  }
1387
1512
  );
1388
1513
  Skeleton.displayName = "Skeleton";
1389
- var Separator = React38.forwardRef(
1514
+ var Separator = React39.forwardRef(
1390
1515
  ({ className, orientation = "horizontal", ...props }, ref) => {
1391
1516
  return /* @__PURE__ */ jsx(
1392
1517
  "div",
@@ -1394,7 +1519,7 @@ var Separator = React38.forwardRef(
1394
1519
  ref,
1395
1520
  role: "separator",
1396
1521
  "aria-orientation": orientation,
1397
- className: clsx27(
1522
+ className: clsx28(
1398
1523
  "ds-separator",
1399
1524
  `ds-separator--${orientation}`,
1400
1525
  className
@@ -1405,19 +1530,19 @@ var Separator = React38.forwardRef(
1405
1530
  }
1406
1531
  );
1407
1532
  Separator.displayName = "Separator";
1408
- var SheetContext = React38.createContext(void 0);
1533
+ var SheetContext = React39.createContext(void 0);
1409
1534
  function useSheetContext() {
1410
- const ctx = React38.useContext(SheetContext);
1535
+ const ctx = React39.useContext(SheetContext);
1411
1536
  if (!ctx) {
1412
1537
  throw new Error("Sheet compound components must be used within a <Sheet> parent.");
1413
1538
  }
1414
1539
  return ctx;
1415
1540
  }
1416
1541
  var Sheet = ({ open: controlledOpen, onOpenChange, children }) => {
1417
- const [uncontrolledOpen, setUncontrolledOpen] = React38.useState(false);
1542
+ const [uncontrolledOpen, setUncontrolledOpen] = React39.useState(false);
1418
1543
  const isControlled = controlledOpen !== void 0;
1419
1544
  const open = isControlled ? controlledOpen : uncontrolledOpen;
1420
- const handleOpenChange = React38.useCallback(
1545
+ const handleOpenChange = React39.useCallback(
1421
1546
  (next) => {
1422
1547
  if (!isControlled) {
1423
1548
  setUncontrolledOpen(next);
@@ -1429,7 +1554,7 @@ var Sheet = ({ open: controlledOpen, onOpenChange, children }) => {
1429
1554
  return /* @__PURE__ */ jsx(SheetContext.Provider, { value: { open, onOpenChange: handleOpenChange }, children });
1430
1555
  };
1431
1556
  Sheet.displayName = "Sheet";
1432
- var SheetTrigger = React38.forwardRef(
1557
+ var SheetTrigger = React39.forwardRef(
1433
1558
  ({ onClick, asChild = false, ...props }, ref) => {
1434
1559
  const { onOpenChange } = useSheetContext();
1435
1560
  const handleClick = (e) => {
@@ -1441,7 +1566,7 @@ var SheetTrigger = React38.forwardRef(
1441
1566
  }
1442
1567
  );
1443
1568
  SheetTrigger.displayName = "SheetTrigger";
1444
- var SheetClose = React38.forwardRef(
1569
+ var SheetClose = React39.forwardRef(
1445
1570
  ({ onClick, asChild = false, ...props }, ref) => {
1446
1571
  const { onOpenChange } = useSheetContext();
1447
1572
  const handleClick = (e) => {
@@ -1453,7 +1578,7 @@ var SheetClose = React38.forwardRef(
1453
1578
  }
1454
1579
  );
1455
1580
  SheetClose.displayName = "SheetClose";
1456
- var SheetContent = React38.forwardRef(
1581
+ var SheetContent = React39.forwardRef(
1457
1582
  ({ side = "right", className, children, ...props }, ref) => {
1458
1583
  const { open, onOpenChange } = useSheetContext();
1459
1584
  if (!open) return null;
@@ -1472,7 +1597,7 @@ var SheetContent = React38.forwardRef(
1472
1597
  {
1473
1598
  ref,
1474
1599
  role: "dialog",
1475
- className: clsx27("ds-sheet__content", `ds-sheet__content--${side}`, className),
1600
+ className: clsx28("ds-sheet__content", `ds-sheet__content--${side}`, className),
1476
1601
  ...props,
1477
1602
  children
1478
1603
  }
@@ -1483,45 +1608,45 @@ var SheetContent = React38.forwardRef(
1483
1608
  }
1484
1609
  );
1485
1610
  SheetContent.displayName = "SheetContent";
1486
- var SheetHeader = React38.forwardRef(
1487
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-sheet__header", className), ...props })
1611
+ var SheetHeader = React39.forwardRef(
1612
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-sheet__header", className), ...props })
1488
1613
  );
1489
1614
  SheetHeader.displayName = "SheetHeader";
1490
- var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx27("ds-sheet__title", className), ...props }));
1615
+ var SheetTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx28("ds-sheet__title", className), ...props }));
1491
1616
  SheetTitle.displayName = "SheetTitle";
1492
- var SheetDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx27("ds-sheet__description", className), ...props }));
1617
+ var SheetDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx28("ds-sheet__description", className), ...props }));
1493
1618
  SheetDescription.displayName = "SheetDescription";
1494
- var SheetFooter = React38.forwardRef(
1495
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-sheet__footer", className), ...props })
1619
+ var SheetFooter = React39.forwardRef(
1620
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-sheet__footer", className), ...props })
1496
1621
  );
1497
1622
  SheetFooter.displayName = "SheetFooter";
1498
- var AvatarContext = React38.createContext({
1623
+ var AvatarContext = React39.createContext({
1499
1624
  hasImage: false,
1500
1625
  imageError: false,
1501
1626
  onImageError: () => {
1502
1627
  }
1503
1628
  });
1504
- var Avatar = React38.forwardRef(
1629
+ var Avatar = React39.forwardRef(
1505
1630
  ({ size = "md", className, children, ...props }, ref) => {
1506
- const [imageError, setImageError] = React38.useState(false);
1507
- const [hasImage, setHasImage] = React38.useState(false);
1508
- React38.useEffect(() => {
1631
+ const [imageError, setImageError] = React39.useState(false);
1632
+ const [hasImage, setHasImage] = React39.useState(false);
1633
+ React39.useEffect(() => {
1509
1634
  let found = false;
1510
- React38.Children.forEach(children, (child) => {
1511
- if (React38.isValidElement(child) && child.type === AvatarImage) {
1635
+ React39.Children.forEach(children, (child) => {
1636
+ if (React39.isValidElement(child) && child.type === AvatarImage) {
1512
1637
  found = true;
1513
1638
  }
1514
1639
  });
1515
1640
  setHasImage(found);
1516
1641
  }, [children]);
1517
- const onImageError = React38.useCallback(() => {
1642
+ const onImageError = React39.useCallback(() => {
1518
1643
  setImageError(true);
1519
1644
  }, []);
1520
1645
  return /* @__PURE__ */ jsx(AvatarContext.Provider, { value: { hasImage, imageError, onImageError }, children: /* @__PURE__ */ jsx(
1521
1646
  "span",
1522
1647
  {
1523
1648
  ref,
1524
- className: clsx27("ds-avatar", `ds-avatar--${size}`, className),
1649
+ className: clsx28("ds-avatar", `ds-avatar--${size}`, className),
1525
1650
  ...props,
1526
1651
  children
1527
1652
  }
@@ -1529,8 +1654,8 @@ var Avatar = React38.forwardRef(
1529
1654
  }
1530
1655
  );
1531
1656
  Avatar.displayName = "Avatar";
1532
- var AvatarImage = React38.forwardRef(({ className, onError, ...props }, ref) => {
1533
- const { imageError, onImageError } = React38.useContext(AvatarContext);
1657
+ var AvatarImage = React39.forwardRef(({ className, onError, ...props }, ref) => {
1658
+ const { imageError, onImageError } = React39.useContext(AvatarContext);
1534
1659
  const handleError = (e) => {
1535
1660
  onImageError();
1536
1661
  onError?.(e);
@@ -1540,32 +1665,32 @@ var AvatarImage = React38.forwardRef(({ className, onError, ...props }, ref) =>
1540
1665
  "img",
1541
1666
  {
1542
1667
  ref,
1543
- className: clsx27("ds-avatar__image", className),
1668
+ className: clsx28("ds-avatar__image", className),
1544
1669
  onError: handleError,
1545
1670
  ...props
1546
1671
  }
1547
1672
  );
1548
1673
  });
1549
1674
  AvatarImage.displayName = "AvatarImage";
1550
- var AvatarFallback = React38.forwardRef(({ className, ...props }, ref) => {
1551
- const { hasImage, imageError } = React38.useContext(AvatarContext);
1675
+ var AvatarFallback = React39.forwardRef(({ className, ...props }, ref) => {
1676
+ const { hasImage, imageError } = React39.useContext(AvatarContext);
1552
1677
  if (hasImage && !imageError) return null;
1553
- return /* @__PURE__ */ jsx("span", { ref, className: clsx27("ds-avatar__fallback", className), ...props });
1678
+ return /* @__PURE__ */ jsx("span", { ref, className: clsx28("ds-avatar__fallback", className), ...props });
1554
1679
  });
1555
1680
  AvatarFallback.displayName = "AvatarFallback";
1556
- var PopoverContext = React38.createContext(null);
1681
+ var PopoverContext = React39.createContext(null);
1557
1682
  function usePopoverContext() {
1558
- const context = React38.useContext(PopoverContext);
1683
+ const context = React39.useContext(PopoverContext);
1559
1684
  if (!context) {
1560
1685
  throw new Error("Popover compound components must be used within <Popover>");
1561
1686
  }
1562
1687
  return context;
1563
1688
  }
1564
1689
  var Popover = ({ open: controlledOpen, onOpenChange, children }) => {
1565
- const [uncontrolledOpen, setUncontrolledOpen] = React38.useState(false);
1690
+ const [uncontrolledOpen, setUncontrolledOpen] = React39.useState(false);
1566
1691
  const isControlled = controlledOpen !== void 0;
1567
1692
  const open = isControlled ? controlledOpen : uncontrolledOpen;
1568
- const setOpen = React38.useCallback(
1693
+ const setOpen = React39.useCallback(
1569
1694
  (value) => {
1570
1695
  if (!isControlled) {
1571
1696
  setUncontrolledOpen(value);
@@ -1574,17 +1699,17 @@ var Popover = ({ open: controlledOpen, onOpenChange, children }) => {
1574
1699
  },
1575
1700
  [isControlled, onOpenChange]
1576
1701
  );
1577
- const toggle = React38.useCallback(() => {
1702
+ const toggle = React39.useCallback(() => {
1578
1703
  setOpen(!open);
1579
1704
  }, [open, setOpen]);
1580
- const contextValue = React38.useMemo(
1705
+ const contextValue = React39.useMemo(
1581
1706
  () => ({ open, setOpen, toggle }),
1582
1707
  [open, setOpen, toggle]
1583
1708
  );
1584
1709
  return /* @__PURE__ */ jsx(PopoverContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { className: "ds-popover", children }) });
1585
1710
  };
1586
1711
  Popover.displayName = "Popover";
1587
- var PopoverTrigger = React38.forwardRef(
1712
+ var PopoverTrigger = React39.forwardRef(
1588
1713
  ({ className, onClick, asChild = false, ...props }, ref) => {
1589
1714
  const { toggle } = usePopoverContext();
1590
1715
  const handleClick = (e) => {
@@ -1597,7 +1722,7 @@ var PopoverTrigger = React38.forwardRef(
1597
1722
  {
1598
1723
  ref,
1599
1724
  type: "button",
1600
- className: clsx27("ds-popover__trigger", className),
1725
+ className: clsx28("ds-popover__trigger", className),
1601
1726
  onClick: handleClick,
1602
1727
  ...props
1603
1728
  }
@@ -1605,7 +1730,7 @@ var PopoverTrigger = React38.forwardRef(
1605
1730
  }
1606
1731
  );
1607
1732
  PopoverTrigger.displayName = "PopoverTrigger";
1608
- var PopoverContent = React38.forwardRef(
1733
+ var PopoverContent = React39.forwardRef(
1609
1734
  ({ className, side = "bottom", align = "center", ...props }, ref) => {
1610
1735
  const { open } = usePopoverContext();
1611
1736
  if (!open) return null;
@@ -1613,7 +1738,7 @@ var PopoverContent = React38.forwardRef(
1613
1738
  "div",
1614
1739
  {
1615
1740
  ref,
1616
- className: clsx27(
1741
+ className: clsx28(
1617
1742
  "ds-popover__content",
1618
1743
  `ds-popover__content--${side}`,
1619
1744
  `ds-popover__content--align-${align}`,
@@ -1625,7 +1750,7 @@ var PopoverContent = React38.forwardRef(
1625
1750
  }
1626
1751
  );
1627
1752
  PopoverContent.displayName = "PopoverContent";
1628
- var PopoverClose = React38.forwardRef(({ className, onClick, ...props }, ref) => {
1753
+ var PopoverClose = React39.forwardRef(({ className, onClick, ...props }, ref) => {
1629
1754
  const { setOpen } = usePopoverContext();
1630
1755
  const handleClick = (e) => {
1631
1756
  setOpen(false);
@@ -1636,14 +1761,14 @@ var PopoverClose = React38.forwardRef(({ className, onClick, ...props }, ref) =>
1636
1761
  {
1637
1762
  ref,
1638
1763
  type: "button",
1639
- className: clsx27("ds-popover__close", className),
1764
+ className: clsx28("ds-popover__close", className),
1640
1765
  onClick: handleClick,
1641
1766
  ...props
1642
1767
  }
1643
1768
  );
1644
1769
  });
1645
1770
  PopoverClose.displayName = "PopoverClose";
1646
- var Progress = React38.forwardRef(
1771
+ var Progress = React39.forwardRef(
1647
1772
  ({ className, value = 0, max = 100, ...props }, ref) => {
1648
1773
  const percentage = max > 0 ? Math.min(100, Math.max(0, value / max * 100)) : 0;
1649
1774
  return /* @__PURE__ */ jsx(
@@ -1654,7 +1779,7 @@ var Progress = React38.forwardRef(
1654
1779
  "aria-valuenow": value,
1655
1780
  "aria-valuemin": 0,
1656
1781
  "aria-valuemax": max,
1657
- className: clsx27("ds-progress", className),
1782
+ className: clsx28("ds-progress", className),
1658
1783
  ...props,
1659
1784
  children: /* @__PURE__ */ jsx(
1660
1785
  "div",
@@ -1668,19 +1793,19 @@ var Progress = React38.forwardRef(
1668
1793
  }
1669
1794
  );
1670
1795
  Progress.displayName = "Progress";
1671
- var ScrollArea = React38.forwardRef(
1796
+ var ScrollArea = React39.forwardRef(
1672
1797
  ({ className, children, ...props }, ref) => {
1673
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-scroll-area", className), ...props, children: /* @__PURE__ */ jsx("div", { className: "ds-scroll-area__viewport", children }) });
1798
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-scroll-area", className), ...props, children: /* @__PURE__ */ jsx("div", { className: "ds-scroll-area__viewport", children }) });
1674
1799
  }
1675
1800
  );
1676
1801
  ScrollArea.displayName = "ScrollArea";
1677
- var ScrollBar = React38.forwardRef(
1802
+ var ScrollBar = React39.forwardRef(
1678
1803
  ({ className, orientation = "vertical", ...props }, ref) => {
1679
1804
  return /* @__PURE__ */ jsx(
1680
1805
  "div",
1681
1806
  {
1682
1807
  ref,
1683
- className: clsx27(
1808
+ className: clsx28(
1684
1809
  "ds-scroll-area__scrollbar",
1685
1810
  `ds-scroll-area__scrollbar--${orientation}`,
1686
1811
  className
@@ -1691,55 +1816,55 @@ var ScrollBar = React38.forwardRef(
1691
1816
  }
1692
1817
  );
1693
1818
  ScrollBar.displayName = "ScrollBar";
1694
- var Breadcrumb = React38.forwardRef(
1819
+ var Breadcrumb = React39.forwardRef(
1695
1820
  ({ className, "aria-label": ariaLabel = "Breadcrumb", ...props }, ref) => {
1696
1821
  return /* @__PURE__ */ jsx(
1697
1822
  "nav",
1698
1823
  {
1699
1824
  ref,
1700
1825
  "aria-label": ariaLabel,
1701
- className: clsx27("ds-breadcrumb", className),
1826
+ className: clsx28("ds-breadcrumb", className),
1702
1827
  ...props
1703
1828
  }
1704
1829
  );
1705
1830
  }
1706
1831
  );
1707
1832
  Breadcrumb.displayName = "Breadcrumb";
1708
- var BreadcrumbList = React38.forwardRef(({ className, ...props }, ref) => {
1833
+ var BreadcrumbList = React39.forwardRef(({ className, ...props }, ref) => {
1709
1834
  return /* @__PURE__ */ jsx(
1710
1835
  "ol",
1711
1836
  {
1712
1837
  ref,
1713
- className: clsx27("ds-breadcrumb__list", className),
1838
+ className: clsx28("ds-breadcrumb__list", className),
1714
1839
  ...props
1715
1840
  }
1716
1841
  );
1717
1842
  });
1718
1843
  BreadcrumbList.displayName = "BreadcrumbList";
1719
- var BreadcrumbItem = React38.forwardRef(({ className, ...props }, ref) => {
1844
+ var BreadcrumbItem = React39.forwardRef(({ className, ...props }, ref) => {
1720
1845
  return /* @__PURE__ */ jsx(
1721
1846
  "li",
1722
1847
  {
1723
1848
  ref,
1724
- className: clsx27("ds-breadcrumb__item", className),
1849
+ className: clsx28("ds-breadcrumb__item", className),
1725
1850
  ...props
1726
1851
  }
1727
1852
  );
1728
1853
  });
1729
1854
  BreadcrumbItem.displayName = "BreadcrumbItem";
1730
- var BreadcrumbLink = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
1855
+ var BreadcrumbLink = React39.forwardRef(({ className, asChild = false, ...props }, ref) => {
1731
1856
  const Comp = asChild ? Slot : "a";
1732
1857
  return /* @__PURE__ */ jsx(
1733
1858
  Comp,
1734
1859
  {
1735
1860
  ref,
1736
- className: clsx27("ds-breadcrumb__link", className),
1861
+ className: clsx28("ds-breadcrumb__link", className),
1737
1862
  ...props
1738
1863
  }
1739
1864
  );
1740
1865
  });
1741
1866
  BreadcrumbLink.displayName = "BreadcrumbLink";
1742
- var BreadcrumbPage = React38.forwardRef(({ className, ...props }, ref) => {
1867
+ var BreadcrumbPage = React39.forwardRef(({ className, ...props }, ref) => {
1743
1868
  return /* @__PURE__ */ jsx(
1744
1869
  "span",
1745
1870
  {
@@ -1747,39 +1872,39 @@ var BreadcrumbPage = React38.forwardRef(({ className, ...props }, ref) => {
1747
1872
  role: "link",
1748
1873
  "aria-current": "page",
1749
1874
  "aria-disabled": "true",
1750
- className: clsx27("ds-breadcrumb__page", className),
1875
+ className: clsx28("ds-breadcrumb__page", className),
1751
1876
  ...props
1752
1877
  }
1753
1878
  );
1754
1879
  });
1755
1880
  BreadcrumbPage.displayName = "BreadcrumbPage";
1756
- var BreadcrumbSeparator = React38.forwardRef(({ className, children, ...props }, ref) => {
1881
+ var BreadcrumbSeparator = React39.forwardRef(({ className, children, ...props }, ref) => {
1757
1882
  return /* @__PURE__ */ jsx(
1758
1883
  "li",
1759
1884
  {
1760
1885
  ref,
1761
1886
  role: "presentation",
1762
1887
  "aria-hidden": "true",
1763
- className: clsx27("ds-breadcrumb__separator", className),
1888
+ className: clsx28("ds-breadcrumb__separator", className),
1764
1889
  ...props,
1765
1890
  children: children ?? "/"
1766
1891
  }
1767
1892
  );
1768
1893
  });
1769
1894
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
1770
- var BreadcrumbEllipsis = React38.forwardRef(({ className, ...props }, ref) => {
1895
+ var BreadcrumbEllipsis = React39.forwardRef(({ className, ...props }, ref) => {
1771
1896
  return /* @__PURE__ */ jsx(
1772
1897
  "span",
1773
1898
  {
1774
1899
  ref,
1775
- className: clsx27("ds-breadcrumb__ellipsis", className),
1900
+ className: clsx28("ds-breadcrumb__ellipsis", className),
1776
1901
  ...props,
1777
1902
  children: "\u2026"
1778
1903
  }
1779
1904
  );
1780
1905
  });
1781
1906
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
1782
- var Toggle = React38.forwardRef(
1907
+ var Toggle = React39.forwardRef(
1783
1908
  ({
1784
1909
  className,
1785
1910
  pressed: controlledPressed,
@@ -1789,7 +1914,7 @@ var Toggle = React38.forwardRef(
1789
1914
  onClick,
1790
1915
  ...props
1791
1916
  }, ref) => {
1792
- const [uncontrolledPressed, setUncontrolledPressed] = React38.useState(false);
1917
+ const [uncontrolledPressed, setUncontrolledPressed] = React39.useState(false);
1793
1918
  const isControlled = controlledPressed !== void 0;
1794
1919
  const pressed = isControlled ? controlledPressed : uncontrolledPressed;
1795
1920
  const handleClick = (e) => {
@@ -1805,7 +1930,7 @@ var Toggle = React38.forwardRef(
1805
1930
  {
1806
1931
  ref,
1807
1932
  type: "button",
1808
- className: clsx27(
1933
+ className: clsx28(
1809
1934
  "ds-toggle",
1810
1935
  `ds-toggle--${variant}`,
1811
1936
  `ds-toggle--${size}`,
@@ -1820,19 +1945,19 @@ var Toggle = React38.forwardRef(
1820
1945
  }
1821
1946
  );
1822
1947
  Toggle.displayName = "Toggle";
1823
- var ToggleGroupContext = React38.createContext({
1948
+ var ToggleGroupContext = React39.createContext({
1824
1949
  type: "single",
1825
1950
  value: [],
1826
1951
  onItemToggle: () => {
1827
1952
  }
1828
1953
  });
1829
- var ToggleGroup = React38.forwardRef(
1954
+ var ToggleGroup = React39.forwardRef(
1830
1955
  ({ className, type, value, onValueChange, children, ...props }, ref) => {
1831
- const normalizedValue = React38.useMemo(() => {
1956
+ const normalizedValue = React39.useMemo(() => {
1832
1957
  if (value === void 0) return [];
1833
1958
  return Array.isArray(value) ? value : [value];
1834
1959
  }, [value]);
1835
- const onItemToggle = React38.useCallback(
1960
+ const onItemToggle = React39.useCallback(
1836
1961
  (itemValue) => {
1837
1962
  if (type === "single") {
1838
1963
  const next = normalizedValue.includes(itemValue) ? "" : itemValue;
@@ -1844,7 +1969,7 @@ var ToggleGroup = React38.forwardRef(
1844
1969
  },
1845
1970
  [type, normalizedValue, onValueChange]
1846
1971
  );
1847
- const ctx = React38.useMemo(
1972
+ const ctx = React39.useMemo(
1848
1973
  () => ({ type, value: normalizedValue, onItemToggle }),
1849
1974
  [type, normalizedValue, onItemToggle]
1850
1975
  );
@@ -1853,7 +1978,7 @@ var ToggleGroup = React38.forwardRef(
1853
1978
  {
1854
1979
  ref,
1855
1980
  role: "group",
1856
- className: clsx27("ds-toggle-group", className),
1981
+ className: clsx28("ds-toggle-group", className),
1857
1982
  ...props,
1858
1983
  children
1859
1984
  }
@@ -1861,8 +1986,8 @@ var ToggleGroup = React38.forwardRef(
1861
1986
  }
1862
1987
  );
1863
1988
  ToggleGroup.displayName = "ToggleGroup";
1864
- var ToggleGroupItem = React38.forwardRef(({ className, value, children, onClick, ...props }, ref) => {
1865
- const ctx = React38.useContext(ToggleGroupContext);
1989
+ var ToggleGroupItem = React39.forwardRef(({ className, value, children, onClick, ...props }, ref) => {
1990
+ const ctx = React39.useContext(ToggleGroupContext);
1866
1991
  const pressed = ctx.value.includes(value);
1867
1992
  const handleClick = (e) => {
1868
1993
  ctx.onItemToggle(value);
@@ -1874,7 +1999,7 @@ var ToggleGroupItem = React38.forwardRef(({ className, value, children, onClick,
1874
1999
  ref,
1875
2000
  type: "button",
1876
2001
  "aria-pressed": pressed,
1877
- className: clsx27(
2002
+ className: clsx28(
1878
2003
  "ds-toggle-group__item",
1879
2004
  pressed && "ds-toggle-group__item--pressed",
1880
2005
  className
@@ -1886,7 +2011,7 @@ var ToggleGroupItem = React38.forwardRef(({ className, value, children, onClick,
1886
2011
  );
1887
2012
  });
1888
2013
  ToggleGroupItem.displayName = "ToggleGroupItem";
1889
- var Slider = React38.forwardRef(
2014
+ var Slider = React39.forwardRef(
1890
2015
  ({
1891
2016
  className,
1892
2017
  value: controlledValue,
@@ -1898,7 +2023,7 @@ var Slider = React38.forwardRef(
1898
2023
  disabled = false,
1899
2024
  ...props
1900
2025
  }, ref) => {
1901
- const [uncontrolledValue, setUncontrolledValue] = React38.useState(defaultValue);
2026
+ const [uncontrolledValue, setUncontrolledValue] = React39.useState(defaultValue);
1902
2027
  const isControlled = controlledValue !== void 0;
1903
2028
  const value = isControlled ? controlledValue : uncontrolledValue;
1904
2029
  const handleChange = (e) => {
@@ -1913,7 +2038,7 @@ var Slider = React38.forwardRef(
1913
2038
  "div",
1914
2039
  {
1915
2040
  ref,
1916
- className: clsx27("ds-slider", disabled && "ds-slider--disabled", className),
2041
+ className: clsx28("ds-slider", disabled && "ds-slider--disabled", className),
1917
2042
  ...props,
1918
2043
  children: [
1919
2044
  /* @__PURE__ */ jsx("div", { className: "ds-slider__track", children: /* @__PURE__ */ jsx(
@@ -1946,27 +2071,27 @@ var Slider = React38.forwardRef(
1946
2071
  }
1947
2072
  );
1948
2073
  Slider.displayName = "Slider";
1949
- var CollapsibleContext = React38.createContext(null);
2074
+ var CollapsibleContext = React39.createContext(null);
1950
2075
  function useCollapsibleContext() {
1951
- const context = React38.useContext(CollapsibleContext);
2076
+ const context = React39.useContext(CollapsibleContext);
1952
2077
  if (!context) {
1953
2078
  throw new Error("Collapsible compound components must be used within <Collapsible>");
1954
2079
  }
1955
2080
  return context;
1956
2081
  }
1957
- var Collapsible = React38.forwardRef(
2082
+ var Collapsible = React39.forwardRef(
1958
2083
  ({ className, open: controlledOpen, onOpenChange, children, ...props }, ref) => {
1959
- const [uncontrolledOpen, setUncontrolledOpen] = React38.useState(false);
2084
+ const [uncontrolledOpen, setUncontrolledOpen] = React39.useState(false);
1960
2085
  const isControlled = controlledOpen !== void 0;
1961
2086
  const open = isControlled ? controlledOpen : uncontrolledOpen;
1962
- const toggle = React38.useCallback(() => {
2087
+ const toggle = React39.useCallback(() => {
1963
2088
  const next = !open;
1964
2089
  if (!isControlled) {
1965
2090
  setUncontrolledOpen(next);
1966
2091
  }
1967
2092
  onOpenChange?.(next);
1968
2093
  }, [open, isControlled, onOpenChange]);
1969
- const contextValue = React38.useMemo(
2094
+ const contextValue = React39.useMemo(
1970
2095
  () => ({ open, toggle }),
1971
2096
  [open, toggle]
1972
2097
  );
@@ -1974,7 +2099,7 @@ var Collapsible = React38.forwardRef(
1974
2099
  "div",
1975
2100
  {
1976
2101
  ref,
1977
- className: clsx27("ds-collapsible", className),
2102
+ className: clsx28("ds-collapsible", className),
1978
2103
  "data-state": open ? "open" : "closed",
1979
2104
  ...props,
1980
2105
  children
@@ -1983,7 +2108,7 @@ var Collapsible = React38.forwardRef(
1983
2108
  }
1984
2109
  );
1985
2110
  Collapsible.displayName = "Collapsible";
1986
- var CollapsibleTrigger = React38.forwardRef(({ className, onClick, ...props }, ref) => {
2111
+ var CollapsibleTrigger = React39.forwardRef(({ className, onClick, ...props }, ref) => {
1987
2112
  const { toggle } = useCollapsibleContext();
1988
2113
  const handleClick = (e) => {
1989
2114
  toggle();
@@ -1994,20 +2119,20 @@ var CollapsibleTrigger = React38.forwardRef(({ className, onClick, ...props }, r
1994
2119
  {
1995
2120
  ref,
1996
2121
  type: "button",
1997
- className: clsx27("ds-collapsible__trigger", className),
2122
+ className: clsx28("ds-collapsible__trigger", className),
1998
2123
  onClick: handleClick,
1999
2124
  ...props
2000
2125
  }
2001
2126
  );
2002
2127
  });
2003
2128
  CollapsibleTrigger.displayName = "CollapsibleTrigger";
2004
- var CollapsibleContent = React38.forwardRef(({ className, children, ...props }, ref) => {
2129
+ var CollapsibleContent = React39.forwardRef(({ className, children, ...props }, ref) => {
2005
2130
  const { open } = useCollapsibleContext();
2006
- const contentRef = React38.useRef(null);
2007
- const [maxHeight, setMaxHeight] = React38.useState(
2131
+ const contentRef = React39.useRef(null);
2132
+ const [maxHeight, setMaxHeight] = React39.useState(
2008
2133
  open ? void 0 : 0
2009
2134
  );
2010
- React38.useEffect(() => {
2135
+ React39.useEffect(() => {
2011
2136
  const el = contentRef.current;
2012
2137
  if (!el) return;
2013
2138
  if (open) {
@@ -2029,7 +2154,7 @@ var CollapsibleContent = React38.forwardRef(({ className, children, ...props },
2029
2154
  "div",
2030
2155
  {
2031
2156
  ref: contentRef,
2032
- className: clsx27("ds-collapsible__content", className),
2157
+ className: clsx28("ds-collapsible__content", className),
2033
2158
  "data-state": open ? "open" : "closed",
2034
2159
  style: {
2035
2160
  maxHeight: maxHeight !== void 0 ? `${maxHeight}px` : "none"
@@ -2041,9 +2166,9 @@ var CollapsibleContent = React38.forwardRef(({ className, children, ...props },
2041
2166
  );
2042
2167
  });
2043
2168
  CollapsibleContent.displayName = "CollapsibleContent";
2044
- var HoverCardContext = React38.createContext(null);
2169
+ var HoverCardContext = React39.createContext(null);
2045
2170
  function useHoverCardContext() {
2046
- const context = React38.useContext(HoverCardContext);
2171
+ const context = React39.useContext(HoverCardContext);
2047
2172
  if (!context) {
2048
2173
  throw new Error("HoverCard compound components must be used within <HoverCard>");
2049
2174
  }
@@ -2054,31 +2179,31 @@ var HoverCard = ({
2054
2179
  closeDelay = 100,
2055
2180
  children
2056
2181
  }) => {
2057
- const [open, setOpen] = React38.useState(false);
2058
- const openTimerRef = React38.useRef();
2059
- const closeTimerRef = React38.useRef();
2060
- const onOpen = React38.useCallback(() => {
2182
+ const [open, setOpen] = React39.useState(false);
2183
+ const openTimerRef = React39.useRef();
2184
+ const closeTimerRef = React39.useRef();
2185
+ const onOpen = React39.useCallback(() => {
2061
2186
  clearTimeout(closeTimerRef.current);
2062
2187
  openTimerRef.current = setTimeout(() => setOpen(true), openDelay);
2063
2188
  }, [openDelay]);
2064
- const onClose = React38.useCallback(() => {
2189
+ const onClose = React39.useCallback(() => {
2065
2190
  clearTimeout(openTimerRef.current);
2066
2191
  closeTimerRef.current = setTimeout(() => setOpen(false), closeDelay);
2067
2192
  }, [closeDelay]);
2068
- React38.useEffect(() => {
2193
+ React39.useEffect(() => {
2069
2194
  return () => {
2070
2195
  clearTimeout(openTimerRef.current);
2071
2196
  clearTimeout(closeTimerRef.current);
2072
2197
  };
2073
2198
  }, []);
2074
- const contextValue = React38.useMemo(
2199
+ const contextValue = React39.useMemo(
2075
2200
  () => ({ open, onOpen, onClose }),
2076
2201
  [open, onOpen, onClose]
2077
2202
  );
2078
2203
  return /* @__PURE__ */ jsx(HoverCardContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { className: "ds-hover-card", children }) });
2079
2204
  };
2080
2205
  HoverCard.displayName = "HoverCard";
2081
- var HoverCardTrigger = React38.forwardRef(({ className, onMouseEnter, onMouseLeave, ...props }, ref) => {
2206
+ var HoverCardTrigger = React39.forwardRef(({ className, onMouseEnter, onMouseLeave, ...props }, ref) => {
2082
2207
  const { onOpen, onClose } = useHoverCardContext();
2083
2208
  const handleMouseEnter = (e) => {
2084
2209
  onOpen();
@@ -2092,7 +2217,7 @@ var HoverCardTrigger = React38.forwardRef(({ className, onMouseEnter, onMouseLea
2092
2217
  "span",
2093
2218
  {
2094
2219
  ref,
2095
- className: clsx27("ds-hover-card__trigger", className),
2220
+ className: clsx28("ds-hover-card__trigger", className),
2096
2221
  onMouseEnter: handleMouseEnter,
2097
2222
  onMouseLeave: handleMouseLeave,
2098
2223
  ...props
@@ -2100,7 +2225,7 @@ var HoverCardTrigger = React38.forwardRef(({ className, onMouseEnter, onMouseLea
2100
2225
  );
2101
2226
  });
2102
2227
  HoverCardTrigger.displayName = "HoverCardTrigger";
2103
- var HoverCardContent = React38.forwardRef(
2228
+ var HoverCardContent = React39.forwardRef(
2104
2229
  ({ className, side = "bottom", align = "center", onMouseEnter, onMouseLeave, ...props }, ref) => {
2105
2230
  const { open, onOpen, onClose } = useHoverCardContext();
2106
2231
  const handleMouseEnter = (e) => {
@@ -2116,7 +2241,7 @@ var HoverCardContent = React38.forwardRef(
2116
2241
  "div",
2117
2242
  {
2118
2243
  ref,
2119
- className: clsx27(
2244
+ className: clsx28(
2120
2245
  "ds-hover-card__content",
2121
2246
  `ds-hover-card__content--${side}`,
2122
2247
  `ds-hover-card__content--align-${align}`,
@@ -2130,13 +2255,13 @@ var HoverCardContent = React38.forwardRef(
2130
2255
  }
2131
2256
  );
2132
2257
  HoverCardContent.displayName = "HoverCardContent";
2133
- var AspectRatio = React38.forwardRef(
2258
+ var AspectRatio = React39.forwardRef(
2134
2259
  ({ className, ratio = 1, style, children, ...props }, ref) => {
2135
2260
  return /* @__PURE__ */ jsx(
2136
2261
  "div",
2137
2262
  {
2138
2263
  ref,
2139
- className: clsx27("ds-aspect-ratio", className),
2264
+ className: clsx28("ds-aspect-ratio", className),
2140
2265
  style: { ...style, paddingBottom: `${1 / ratio * 100}%` },
2141
2266
  ...props,
2142
2267
  children
@@ -2145,7 +2270,7 @@ var AspectRatio = React38.forwardRef(
2145
2270
  }
2146
2271
  );
2147
2272
  AspectRatio.displayName = "AspectRatio";
2148
- var Pagination = React38.forwardRef(
2273
+ var Pagination = React39.forwardRef(
2149
2274
  ({ className, "aria-label": ariaLabel = "pagination", ...props }, ref) => {
2150
2275
  return /* @__PURE__ */ jsx(
2151
2276
  "nav",
@@ -2153,43 +2278,43 @@ var Pagination = React38.forwardRef(
2153
2278
  ref,
2154
2279
  role: "navigation",
2155
2280
  "aria-label": ariaLabel,
2156
- className: clsx27("ds-pagination", className),
2281
+ className: clsx28("ds-pagination", className),
2157
2282
  ...props
2158
2283
  }
2159
2284
  );
2160
2285
  }
2161
2286
  );
2162
2287
  Pagination.displayName = "Pagination";
2163
- var PaginationContent = React38.forwardRef(({ className, ...props }, ref) => {
2288
+ var PaginationContent = React39.forwardRef(({ className, ...props }, ref) => {
2164
2289
  return /* @__PURE__ */ jsx(
2165
2290
  "ul",
2166
2291
  {
2167
2292
  ref,
2168
- className: clsx27("ds-pagination__content", className),
2293
+ className: clsx28("ds-pagination__content", className),
2169
2294
  ...props
2170
2295
  }
2171
2296
  );
2172
2297
  });
2173
2298
  PaginationContent.displayName = "PaginationContent";
2174
- var PaginationItem = React38.forwardRef(({ className, ...props }, ref) => {
2299
+ var PaginationItem = React39.forwardRef(({ className, ...props }, ref) => {
2175
2300
  return /* @__PURE__ */ jsx(
2176
2301
  "li",
2177
2302
  {
2178
2303
  ref,
2179
- className: clsx27("ds-pagination__item", className),
2304
+ className: clsx28("ds-pagination__item", className),
2180
2305
  ...props
2181
2306
  }
2182
2307
  );
2183
2308
  });
2184
2309
  PaginationItem.displayName = "PaginationItem";
2185
- var PaginationLink = React38.forwardRef(({ className, isActive = false, size = "md", asChild = false, ...props }, ref) => {
2310
+ var PaginationLink = React39.forwardRef(({ className, isActive = false, size = "md", asChild = false, ...props }, ref) => {
2186
2311
  const Comp = asChild ? Slot : "button";
2187
2312
  return /* @__PURE__ */ jsx(
2188
2313
  Comp,
2189
2314
  {
2190
2315
  ref,
2191
2316
  "aria-current": isActive ? "page" : void 0,
2192
- className: clsx27(
2317
+ className: clsx28(
2193
2318
  "ds-pagination__link",
2194
2319
  `ds-pagination__link--${size}`,
2195
2320
  isActive && "ds-pagination__link--active",
@@ -2200,13 +2325,13 @@ var PaginationLink = React38.forwardRef(({ className, isActive = false, size = "
2200
2325
  );
2201
2326
  });
2202
2327
  PaginationLink.displayName = "PaginationLink";
2203
- var PaginationPrevious = React38.forwardRef(({ className, label = "Previous", "aria-label": ariaLabel = "Go to previous page", ...props }, ref) => {
2328
+ var PaginationPrevious = React39.forwardRef(({ className, label = "Previous", "aria-label": ariaLabel = "Go to previous page", ...props }, ref) => {
2204
2329
  return /* @__PURE__ */ jsxs(
2205
2330
  PaginationLink,
2206
2331
  {
2207
2332
  ref,
2208
2333
  "aria-label": ariaLabel,
2209
- className: clsx27("ds-pagination__prev", className),
2334
+ className: clsx28("ds-pagination__prev", className),
2210
2335
  ...props,
2211
2336
  children: [
2212
2337
  /* @__PURE__ */ jsx(
@@ -2231,13 +2356,13 @@ var PaginationPrevious = React38.forwardRef(({ className, label = "Previous", "a
2231
2356
  );
2232
2357
  });
2233
2358
  PaginationPrevious.displayName = "PaginationPrevious";
2234
- var PaginationNext = React38.forwardRef(({ className, label = "Next", "aria-label": ariaLabel = "Go to next page", ...props }, ref) => {
2359
+ var PaginationNext = React39.forwardRef(({ className, label = "Next", "aria-label": ariaLabel = "Go to next page", ...props }, ref) => {
2235
2360
  return /* @__PURE__ */ jsxs(
2236
2361
  PaginationLink,
2237
2362
  {
2238
2363
  ref,
2239
2364
  "aria-label": ariaLabel,
2240
- className: clsx27("ds-pagination__next", className),
2365
+ className: clsx28("ds-pagination__next", className),
2241
2366
  ...props,
2242
2367
  children: [
2243
2368
  /* @__PURE__ */ jsx("span", { children: label }),
@@ -2262,13 +2387,13 @@ var PaginationNext = React38.forwardRef(({ className, label = "Next", "aria-labe
2262
2387
  );
2263
2388
  });
2264
2389
  PaginationNext.displayName = "PaginationNext";
2265
- var PaginationEllipsis = React38.forwardRef(({ className, ...props }, ref) => {
2390
+ var PaginationEllipsis = React39.forwardRef(({ className, ...props }, ref) => {
2266
2391
  return /* @__PURE__ */ jsx(
2267
2392
  "span",
2268
2393
  {
2269
2394
  ref,
2270
2395
  "aria-hidden": "true",
2271
- className: clsx27("ds-pagination__ellipsis", className),
2396
+ className: clsx28("ds-pagination__ellipsis", className),
2272
2397
  ...props,
2273
2398
  children: "..."
2274
2399
  }
@@ -2284,14 +2409,14 @@ var levelToElement = {
2284
2409
  h5: "h5",
2285
2410
  h6: "h6"
2286
2411
  };
2287
- var Heading = React38.forwardRef(
2412
+ var Heading = React39.forwardRef(
2288
2413
  ({ className, level = "h2", as, children, ...props }, ref) => {
2289
2414
  const Comp = as ?? levelToElement[level];
2290
2415
  return /* @__PURE__ */ jsx(
2291
2416
  Comp,
2292
2417
  {
2293
2418
  ref,
2294
- className: clsx27("ds-heading", `ds-heading--${level}`, className),
2419
+ className: clsx28("ds-heading", `ds-heading--${level}`, className),
2295
2420
  ...props,
2296
2421
  children
2297
2422
  }
@@ -2299,14 +2424,14 @@ var Heading = React38.forwardRef(
2299
2424
  }
2300
2425
  );
2301
2426
  Heading.displayName = "Heading";
2302
- var Text = React38.forwardRef(
2427
+ var Text = React39.forwardRef(
2303
2428
  ({ className, variant = "body", as = "p", children, ...props }, ref) => {
2304
2429
  const Comp = as;
2305
2430
  return /* @__PURE__ */ jsx(
2306
2431
  Comp,
2307
2432
  {
2308
2433
  ref,
2309
- className: clsx27("ds-text", `ds-text--${variant}`, className),
2434
+ className: clsx28("ds-text", `ds-text--${variant}`, className),
2310
2435
  ...props,
2311
2436
  children
2312
2437
  }
@@ -2314,13 +2439,13 @@ var Text = React38.forwardRef(
2314
2439
  }
2315
2440
  );
2316
2441
  Text.displayName = "Text";
2317
- var Prose = React38.forwardRef(
2442
+ var Prose = React39.forwardRef(
2318
2443
  ({ className, children, ...props }, ref) => {
2319
2444
  return /* @__PURE__ */ jsx(
2320
2445
  "div",
2321
2446
  {
2322
2447
  ref,
2323
- className: clsx27("ds-prose", className),
2448
+ className: clsx28("ds-prose", className),
2324
2449
  ...props,
2325
2450
  children
2326
2451
  }
@@ -2328,24 +2453,24 @@ var Prose = React38.forwardRef(
2328
2453
  }
2329
2454
  );
2330
2455
  Prose.displayName = "Prose";
2331
- var CarouselContext = React38.createContext(void 0);
2456
+ var CarouselContext = React39.createContext(void 0);
2332
2457
  function useCarouselContext() {
2333
- const ctx = React38.useContext(CarouselContext);
2458
+ const ctx = React39.useContext(CarouselContext);
2334
2459
  if (!ctx) {
2335
2460
  throw new Error("Carousel compound components must be used within a <Carousel> parent.");
2336
2461
  }
2337
2462
  return ctx;
2338
2463
  }
2339
- var Carousel = React38.forwardRef(
2464
+ var Carousel = React39.forwardRef(
2340
2465
  ({ className, children, ...props }, ref) => {
2341
- const scrollRef = React38.useRef(null);
2342
- return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: { scrollRef }, children: /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-carousel", className), ...props, children }) });
2466
+ const scrollRef = React39.useRef(null);
2467
+ return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: { scrollRef }, children: /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-carousel", className), ...props, children }) });
2343
2468
  }
2344
2469
  );
2345
2470
  Carousel.displayName = "Carousel";
2346
- var CarouselContent = React38.forwardRef(({ className, ...props }, ref) => {
2471
+ var CarouselContent = React39.forwardRef(({ className, ...props }, ref) => {
2347
2472
  const { scrollRef } = useCarouselContext();
2348
- const mergedRef = React38.useCallback(
2473
+ const mergedRef = React39.useCallback(
2349
2474
  (node) => {
2350
2475
  scrollRef.current = node;
2351
2476
  if (typeof ref === "function") {
@@ -2356,14 +2481,14 @@ var CarouselContent = React38.forwardRef(({ className, ...props }, ref) => {
2356
2481
  },
2357
2482
  [ref, scrollRef]
2358
2483
  );
2359
- return /* @__PURE__ */ jsx("div", { ref: mergedRef, className: clsx27("ds-carousel__content", className), ...props });
2484
+ return /* @__PURE__ */ jsx("div", { ref: mergedRef, className: clsx28("ds-carousel__content", className), ...props });
2360
2485
  });
2361
2486
  CarouselContent.displayName = "CarouselContent";
2362
- var CarouselItem = React38.forwardRef(
2363
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-carousel__item", className), ...props })
2487
+ var CarouselItem = React39.forwardRef(
2488
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-carousel__item", className), ...props })
2364
2489
  );
2365
2490
  CarouselItem.displayName = "CarouselItem";
2366
- var CarouselPrevious = React38.forwardRef(({ className, onClick, children, "aria-label": ariaLabel = "Previous slide", ...props }, ref) => {
2491
+ var CarouselPrevious = React39.forwardRef(({ className, onClick, children, "aria-label": ariaLabel = "Previous slide", ...props }, ref) => {
2367
2492
  const { scrollRef } = useCarouselContext();
2368
2493
  const handleClick = (e) => {
2369
2494
  const container = scrollRef.current;
@@ -2379,7 +2504,7 @@ var CarouselPrevious = React38.forwardRef(({ className, onClick, children, "aria
2379
2504
  {
2380
2505
  ref,
2381
2506
  type: "button",
2382
- className: clsx27("ds-carousel__prev", className),
2507
+ className: clsx28("ds-carousel__prev", className),
2383
2508
  "aria-label": ariaLabel,
2384
2509
  onClick: handleClick,
2385
2510
  ...props,
@@ -2397,7 +2522,7 @@ var CarouselPrevious = React38.forwardRef(({ className, onClick, children, "aria
2397
2522
  );
2398
2523
  });
2399
2524
  CarouselPrevious.displayName = "CarouselPrevious";
2400
- var CarouselNext = React38.forwardRef(({ className, onClick, children, "aria-label": ariaLabel = "Next slide", ...props }, ref) => {
2525
+ var CarouselNext = React39.forwardRef(({ className, onClick, children, "aria-label": ariaLabel = "Next slide", ...props }, ref) => {
2401
2526
  const { scrollRef } = useCarouselContext();
2402
2527
  const handleClick = (e) => {
2403
2528
  const container = scrollRef.current;
@@ -2413,7 +2538,7 @@ var CarouselNext = React38.forwardRef(({ className, onClick, children, "aria-lab
2413
2538
  {
2414
2539
  ref,
2415
2540
  type: "button",
2416
- className: clsx27("ds-carousel__next", className),
2541
+ className: clsx28("ds-carousel__next", className),
2417
2542
  "aria-label": ariaLabel,
2418
2543
  onClick: handleClick,
2419
2544
  ...props,
@@ -2439,9 +2564,9 @@ function mergeRefs(...refs) {
2439
2564
  });
2440
2565
  };
2441
2566
  }
2442
- var CommandContext = React38.createContext(void 0);
2567
+ var CommandContext = React39.createContext(void 0);
2443
2568
  function useCommandContext() {
2444
- const ctx = React38.useContext(CommandContext);
2569
+ const ctx = React39.useContext(CommandContext);
2445
2570
  if (!ctx) {
2446
2571
  throw new Error("Command compound components must be used within a <Command> parent.");
2447
2572
  }
@@ -2451,16 +2576,16 @@ function getOptionElements(listEl) {
2451
2576
  if (!listEl) return [];
2452
2577
  return Array.from(listEl.querySelectorAll('[role="option"]'));
2453
2578
  }
2454
- var Command = React38.forwardRef(
2579
+ var Command = React39.forwardRef(
2455
2580
  ({ className, value: controlledValue, onValueChange, onKeyDown, children, ...props }, ref) => {
2456
- const [uncontrolledValue, setUncontrolledValue] = React38.useState("");
2457
- const [activeId, setActiveId] = React38.useState(null);
2458
- const listRef = React38.useRef(null);
2581
+ const [uncontrolledValue, setUncontrolledValue] = React39.useState("");
2582
+ const [activeId, setActiveId] = React39.useState(null);
2583
+ const listRef = React39.useRef(null);
2459
2584
  const isControlled = controlledValue !== void 0;
2460
2585
  const search = isControlled ? controlledValue : uncontrolledValue;
2461
- const inputId = React38.useId();
2462
- const listId = React38.useId();
2463
- const setSearch = React38.useCallback(
2586
+ const inputId = React39.useId();
2587
+ const listId = React39.useId();
2588
+ const setSearch = React39.useCallback(
2464
2589
  (next) => {
2465
2590
  if (!isControlled) {
2466
2591
  setUncontrolledValue(next);
@@ -2469,7 +2594,7 @@ var Command = React38.forwardRef(
2469
2594
  },
2470
2595
  [isControlled, onValueChange]
2471
2596
  );
2472
- React38.useEffect(() => {
2597
+ React39.useEffect(() => {
2473
2598
  const frame = requestAnimationFrame(() => {
2474
2599
  const items = getOptionElements(listRef.current);
2475
2600
  if (items.length > 0) {
@@ -2480,7 +2605,7 @@ var Command = React38.forwardRef(
2480
2605
  });
2481
2606
  return () => cancelAnimationFrame(frame);
2482
2607
  }, [search]);
2483
- const handleKeyDown = React38.useCallback(
2608
+ const handleKeyDown = React39.useCallback(
2484
2609
  (e) => {
2485
2610
  const items = getOptionElements(listRef.current);
2486
2611
  if (items.length === 0) {
@@ -2531,7 +2656,7 @@ var Command = React38.forwardRef(
2531
2656
  },
2532
2657
  [activeId, onKeyDown]
2533
2658
  );
2534
- const ctx = React38.useMemo(
2659
+ const ctx = React39.useMemo(
2535
2660
  () => ({ search, setSearch, activeId, setActiveId, listRef, inputId, listId }),
2536
2661
  [search, setSearch, activeId, inputId, listId]
2537
2662
  );
@@ -2539,7 +2664,7 @@ var Command = React38.forwardRef(
2539
2664
  "div",
2540
2665
  {
2541
2666
  ref,
2542
- className: clsx27("ds-command", className),
2667
+ className: clsx28("ds-command", className),
2543
2668
  onKeyDown: handleKeyDown,
2544
2669
  ...props,
2545
2670
  children
@@ -2548,7 +2673,7 @@ var Command = React38.forwardRef(
2548
2673
  }
2549
2674
  );
2550
2675
  Command.displayName = "Command";
2551
- var CommandInput = React38.forwardRef(({ className, onChange, ...props }, ref) => {
2676
+ var CommandInput = React39.forwardRef(({ className, onChange, ...props }, ref) => {
2552
2677
  const { search, setSearch, activeId, inputId, listId } = useCommandContext();
2553
2678
  const handleChange = (e) => {
2554
2679
  setSearch(e.target.value);
@@ -2590,7 +2715,7 @@ var CommandInput = React38.forwardRef(({ className, onChange, ...props }, ref) =
2590
2715
  "aria-activedescendant": activeId ?? void 0,
2591
2716
  "aria-autocomplete": "list",
2592
2717
  autoComplete: "off",
2593
- className: clsx27("ds-command__input", className),
2718
+ className: clsx28("ds-command__input", className),
2594
2719
  value: search,
2595
2720
  onChange: handleChange,
2596
2721
  ...props
@@ -2599,7 +2724,7 @@ var CommandInput = React38.forwardRef(({ className, onChange, ...props }, ref) =
2599
2724
  ] });
2600
2725
  });
2601
2726
  CommandInput.displayName = "CommandInput";
2602
- var CommandList = React38.forwardRef(
2727
+ var CommandList = React39.forwardRef(
2603
2728
  ({ className, ...props }, ref) => {
2604
2729
  const { listRef, listId } = useCommandContext();
2605
2730
  return /* @__PURE__ */ jsx(
@@ -2608,27 +2733,27 @@ var CommandList = React38.forwardRef(
2608
2733
  ref: mergeRefs(ref, listRef),
2609
2734
  id: listId,
2610
2735
  role: "listbox",
2611
- className: clsx27("ds-command__list", className),
2736
+ className: clsx28("ds-command__list", className),
2612
2737
  ...props
2613
2738
  }
2614
2739
  );
2615
2740
  }
2616
2741
  );
2617
2742
  CommandList.displayName = "CommandList";
2618
- var CommandEmpty = React38.forwardRef(
2619
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-command__empty", className), ...props })
2743
+ var CommandEmpty = React39.forwardRef(
2744
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-command__empty", className), ...props })
2620
2745
  );
2621
2746
  CommandEmpty.displayName = "CommandEmpty";
2622
- var CommandGroup = React38.forwardRef(
2623
- ({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: clsx27("ds-command__group", className), ...props, children: [
2747
+ var CommandGroup = React39.forwardRef(
2748
+ ({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: clsx28("ds-command__group", className), ...props, children: [
2624
2749
  heading && /* @__PURE__ */ jsx("div", { className: "ds-command__group-heading", children: heading }),
2625
2750
  children
2626
2751
  ] })
2627
2752
  );
2628
2753
  CommandGroup.displayName = "CommandGroup";
2629
- var CommandItem = React38.forwardRef(
2754
+ var CommandItem = React39.forwardRef(
2630
2755
  ({ className, onSelect, onClick, onKeyDown, onPointerEnter, id: externalId, ...props }, ref) => {
2631
- const generatedId = React38.useId();
2756
+ const generatedId = React39.useId();
2632
2757
  const { activeId, setActiveId } = useCommandContext();
2633
2758
  const itemId = externalId || generatedId;
2634
2759
  const isActive = activeId === itemId;
@@ -2655,7 +2780,7 @@ var CommandItem = React38.forwardRef(
2655
2780
  tabIndex: 0,
2656
2781
  "aria-selected": isActive,
2657
2782
  "data-active": isActive || void 0,
2658
- className: clsx27("ds-command__item", className),
2783
+ className: clsx28("ds-command__item", className),
2659
2784
  onClick: handleClick,
2660
2785
  onKeyDown: handleKeyDown,
2661
2786
  onPointerEnter: handlePointerEnter,
@@ -2665,7 +2790,7 @@ var CommandItem = React38.forwardRef(
2665
2790
  }
2666
2791
  );
2667
2792
  CommandItem.displayName = "CommandItem";
2668
- var CommandSeparator = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-command__separator", className), ...props }));
2793
+ var CommandSeparator = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-command__separator", className), ...props }));
2669
2794
  CommandSeparator.displayName = "CommandSeparator";
2670
2795
  var SIZE_CLASSES = {
2671
2796
  sm: "ds-dialog__content--sm",
@@ -2682,7 +2807,7 @@ var CommandDialog = ({
2682
2807
  }) => /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(
2683
2808
  DialogContent,
2684
2809
  {
2685
- className: clsx27("ds-command-dialog", SIZE_CLASSES[size], className),
2810
+ className: clsx28("ds-command-dialog", SIZE_CLASSES[size], className),
2686
2811
  children: [
2687
2812
  /* @__PURE__ */ jsx(DialogTitle, { className: "ds-command-dialog__sr-title", children: title }),
2688
2813
  children
@@ -2690,19 +2815,19 @@ var CommandDialog = ({
2690
2815
  }
2691
2816
  ) });
2692
2817
  CommandDialog.displayName = "CommandDialog";
2693
- var DrawerContext = React38.createContext(void 0);
2818
+ var DrawerContext = React39.createContext(void 0);
2694
2819
  function useDrawerContext() {
2695
- const ctx = React38.useContext(DrawerContext);
2820
+ const ctx = React39.useContext(DrawerContext);
2696
2821
  if (!ctx) {
2697
2822
  throw new Error("Drawer compound components must be used within a <Drawer> parent.");
2698
2823
  }
2699
2824
  return ctx;
2700
2825
  }
2701
2826
  var Drawer = ({ open: controlledOpen, onOpenChange, children }) => {
2702
- const [uncontrolledOpen, setUncontrolledOpen] = React38.useState(false);
2827
+ const [uncontrolledOpen, setUncontrolledOpen] = React39.useState(false);
2703
2828
  const isControlled = controlledOpen !== void 0;
2704
2829
  const open = isControlled ? controlledOpen : uncontrolledOpen;
2705
- const handleOpenChange = React38.useCallback(
2830
+ const handleOpenChange = React39.useCallback(
2706
2831
  (next) => {
2707
2832
  if (!isControlled) {
2708
2833
  setUncontrolledOpen(next);
@@ -2714,7 +2839,7 @@ var Drawer = ({ open: controlledOpen, onOpenChange, children }) => {
2714
2839
  return /* @__PURE__ */ jsx(DrawerContext.Provider, { value: { open, onOpenChange: handleOpenChange }, children });
2715
2840
  };
2716
2841
  Drawer.displayName = "Drawer";
2717
- var DrawerTrigger = React38.forwardRef(({ onClick, ...props }, ref) => {
2842
+ var DrawerTrigger = React39.forwardRef(({ onClick, ...props }, ref) => {
2718
2843
  const { onOpenChange } = useDrawerContext();
2719
2844
  const handleClick = (e) => {
2720
2845
  onOpenChange(true);
@@ -2723,7 +2848,7 @@ var DrawerTrigger = React38.forwardRef(({ onClick, ...props }, ref) => {
2723
2848
  return /* @__PURE__ */ jsx("button", { ref, type: "button", onClick: handleClick, ...props });
2724
2849
  });
2725
2850
  DrawerTrigger.displayName = "DrawerTrigger";
2726
- var DrawerClose = React38.forwardRef(({ onClick, ...props }, ref) => {
2851
+ var DrawerClose = React39.forwardRef(({ onClick, ...props }, ref) => {
2727
2852
  const { onOpenChange } = useDrawerContext();
2728
2853
  const handleClick = (e) => {
2729
2854
  onOpenChange(false);
@@ -2732,7 +2857,7 @@ var DrawerClose = React38.forwardRef(({ onClick, ...props }, ref) => {
2732
2857
  return /* @__PURE__ */ jsx("button", { ref, type: "button", onClick: handleClick, ...props });
2733
2858
  });
2734
2859
  DrawerClose.displayName = "DrawerClose";
2735
- var DrawerContent = React38.forwardRef(
2860
+ var DrawerContent = React39.forwardRef(
2736
2861
  ({ className, children, ...props }, ref) => {
2737
2862
  const { open, onOpenChange } = useDrawerContext();
2738
2863
  if (!open) return null;
@@ -2751,7 +2876,7 @@ var DrawerContent = React38.forwardRef(
2751
2876
  {
2752
2877
  ref,
2753
2878
  role: "dialog",
2754
- className: clsx27("ds-drawer__content", className),
2879
+ className: clsx28("ds-drawer__content", className),
2755
2880
  ...props,
2756
2881
  children: [
2757
2882
  /* @__PURE__ */ jsx("div", { className: "ds-drawer__handle", "aria-hidden": "true", children: /* @__PURE__ */ jsx("div", { className: "ds-drawer__handle-bar" }) }),
@@ -2765,16 +2890,16 @@ var DrawerContent = React38.forwardRef(
2765
2890
  }
2766
2891
  );
2767
2892
  DrawerContent.displayName = "DrawerContent";
2768
- var DrawerHeader = React38.forwardRef(
2769
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-drawer__header", className), ...props })
2893
+ var DrawerHeader = React39.forwardRef(
2894
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-drawer__header", className), ...props })
2770
2895
  );
2771
2896
  DrawerHeader.displayName = "DrawerHeader";
2772
- var DrawerTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx27("ds-drawer__title", className), ...props }));
2897
+ var DrawerTitle = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("h2", { ref, className: clsx28("ds-drawer__title", className), ...props }));
2773
2898
  DrawerTitle.displayName = "DrawerTitle";
2774
- var DrawerDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx27("ds-drawer__description", className), ...props }));
2899
+ var DrawerDescription = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: clsx28("ds-drawer__description", className), ...props }));
2775
2900
  DrawerDescription.displayName = "DrawerDescription";
2776
- var DrawerFooter = React38.forwardRef(
2777
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-drawer__footer", className), ...props })
2901
+ var DrawerFooter = React39.forwardRef(
2902
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-drawer__footer", className), ...props })
2778
2903
  );
2779
2904
  DrawerFooter.displayName = "DrawerFooter";
2780
2905
  var DEFAULT_WEEKDAY_LABELS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
@@ -2821,13 +2946,13 @@ function getCalendarGrid(year, month) {
2821
2946
  }
2822
2947
  return weeks;
2823
2948
  }
2824
- var Calendar = React38.forwardRef(
2949
+ var Calendar = React39.forwardRef(
2825
2950
  ({ className, selected, onSelect, month, onMonthChange, labels, ...props }, ref) => {
2826
2951
  const weekdayLabels = labels?.weekdays ?? DEFAULT_WEEKDAY_LABELS;
2827
2952
  const monthNames = labels?.months ?? DEFAULT_MONTH_NAMES;
2828
2953
  const formatDayLabel = labels?.formatDayLabel ?? ((d) => d.toDateString());
2829
2954
  const today = /* @__PURE__ */ new Date();
2830
- const [internalMonth, setInternalMonth] = React38.useState(
2955
+ const [internalMonth, setInternalMonth] = React39.useState(
2831
2956
  () => month ?? selected ?? /* @__PURE__ */ new Date()
2832
2957
  );
2833
2958
  const displayedMonth = month ?? internalMonth;
@@ -2845,7 +2970,7 @@ var Calendar = React38.forwardRef(
2845
2970
  const handleDayClick = (date) => {
2846
2971
  onSelect?.(date);
2847
2972
  };
2848
- return /* @__PURE__ */ jsxs("div", { ref, className: clsx27("ds-calendar", className), ...props, children: [
2973
+ return /* @__PURE__ */ jsxs("div", { ref, className: clsx28("ds-calendar", className), ...props, children: [
2849
2974
  /* @__PURE__ */ jsxs("div", { className: "ds-calendar__header", children: [
2850
2975
  /* @__PURE__ */ jsx(
2851
2976
  "button",
@@ -2909,7 +3034,7 @@ var Calendar = React38.forwardRef(
2909
3034
  "button",
2910
3035
  {
2911
3036
  type: "button",
2912
- className: clsx27(
3037
+ className: clsx28(
2913
3038
  "ds-calendar__day",
2914
3039
  isSelected && "ds-calendar__day--selected",
2915
3040
  isToday && "ds-calendar__day--today",
@@ -2927,14 +3052,14 @@ var Calendar = React38.forwardRef(
2927
3052
  }
2928
3053
  );
2929
3054
  Calendar.displayName = "Calendar";
2930
- var InputOTPContext = React38.createContext({
3055
+ var InputOTPContext = React39.createContext({
2931
3056
  value: "",
2932
3057
  activeIndex: -1
2933
3058
  });
2934
- var InputOTP = React38.forwardRef(
3059
+ var InputOTP = React39.forwardRef(
2935
3060
  ({ className, length = 6, value = "", onChange, children, "aria-label": ariaLabel = "One-time password", ...props }, ref) => {
2936
- const inputRef = React38.useRef(null);
2937
- const [activeIndex, setActiveIndex] = React38.useState(-1);
3061
+ const inputRef = React39.useRef(null);
3062
+ const [activeIndex, setActiveIndex] = React39.useState(-1);
2938
3063
  const handleChange = (e) => {
2939
3064
  const newValue = e.target.value.replace(/[^0-9]/g, "").slice(0, length);
2940
3065
  onChange?.(newValue);
@@ -2953,7 +3078,7 @@ var InputOTP = React38.forwardRef(
2953
3078
  const handleContainerClick = () => {
2954
3079
  inputRef.current?.focus();
2955
3080
  };
2956
- const contextValue = React38.useMemo(
3081
+ const contextValue = React39.useMemo(
2957
3082
  () => ({ value, activeIndex }),
2958
3083
  [value, activeIndex]
2959
3084
  );
@@ -2961,7 +3086,7 @@ var InputOTP = React38.forwardRef(
2961
3086
  "div",
2962
3087
  {
2963
3088
  ref,
2964
- className: clsx27("ds-input-otp", className),
3089
+ className: clsx28("ds-input-otp", className),
2965
3090
  onClick: handleContainerClick,
2966
3091
  ...props,
2967
3092
  children: [
@@ -2990,13 +3115,13 @@ var InputOTP = React38.forwardRef(
2990
3115
  }
2991
3116
  );
2992
3117
  InputOTP.displayName = "InputOTP";
2993
- var InputOTPGroup = React38.forwardRef(({ className, ...props }, ref) => {
2994
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-input-otp__group", className), ...props });
3118
+ var InputOTPGroup = React39.forwardRef(({ className, ...props }, ref) => {
3119
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-input-otp__group", className), ...props });
2995
3120
  });
2996
3121
  InputOTPGroup.displayName = "InputOTPGroup";
2997
- var InputOTPSlot = React38.forwardRef(
3122
+ var InputOTPSlot = React39.forwardRef(
2998
3123
  ({ className, index, ...props }, ref) => {
2999
- const { value, activeIndex } = React38.useContext(InputOTPContext);
3124
+ const { value, activeIndex } = React39.useContext(InputOTPContext);
3000
3125
  const char = value[index] ?? "";
3001
3126
  const isActive = activeIndex === index;
3002
3127
  const isFilled = char !== "";
@@ -3004,7 +3129,7 @@ var InputOTPSlot = React38.forwardRef(
3004
3129
  "div",
3005
3130
  {
3006
3131
  ref,
3007
- className: clsx27(
3132
+ className: clsx28(
3008
3133
  "ds-input-otp__slot",
3009
3134
  isActive && "ds-input-otp__slot--active",
3010
3135
  isFilled && "ds-input-otp__slot--filled",
@@ -3017,8 +3142,8 @@ var InputOTPSlot = React38.forwardRef(
3017
3142
  }
3018
3143
  );
3019
3144
  InputOTPSlot.displayName = "InputOTPSlot";
3020
- var InputOTPSeparator = React38.forwardRef(({ className, ...props }, ref) => {
3021
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-input-otp__separator", className), role: "separator", ...props, children: /* @__PURE__ */ jsx(
3145
+ var InputOTPSeparator = React39.forwardRef(({ className, ...props }, ref) => {
3146
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-input-otp__separator", className), role: "separator", ...props, children: /* @__PURE__ */ jsx(
3022
3147
  "svg",
3023
3148
  {
3024
3149
  width: "8",
@@ -3030,33 +3155,33 @@ var InputOTPSeparator = React38.forwardRef(({ className, ...props }, ref) => {
3030
3155
  ) });
3031
3156
  });
3032
3157
  InputOTPSeparator.displayName = "InputOTPSeparator";
3033
- var ContextMenuContext = React38.createContext({
3158
+ var ContextMenuContext = React39.createContext({
3034
3159
  open: false,
3035
3160
  position: { x: 0, y: 0 },
3036
3161
  onClose: () => {
3037
3162
  }
3038
3163
  });
3039
3164
  function ContextMenu({ children }) {
3040
- const [open, setOpen] = React38.useState(false);
3041
- const [position, setPosition] = React38.useState({ x: 0, y: 0 });
3042
- const handleOpen = React38.useCallback((x, y) => {
3165
+ const [open, setOpen] = React39.useState(false);
3166
+ const [position, setPosition] = React39.useState({ x: 0, y: 0 });
3167
+ const handleOpen = React39.useCallback((x, y) => {
3043
3168
  setPosition({ x, y });
3044
3169
  setOpen(true);
3045
3170
  }, []);
3046
- const handleClose = React38.useCallback(() => {
3171
+ const handleClose = React39.useCallback(() => {
3047
3172
  setOpen(false);
3048
3173
  }, []);
3049
- const contextValue = React38.useMemo(
3174
+ const contextValue = React39.useMemo(
3050
3175
  () => ({ open, position, onClose: handleClose }),
3051
3176
  [open, position, handleClose]
3052
3177
  );
3053
3178
  return /* @__PURE__ */ jsx(ContextMenuInternalContext.Provider, { value: { onOpen: handleOpen }, children: /* @__PURE__ */ jsx(ContextMenuContext.Provider, { value: contextValue, children }) });
3054
3179
  }
3055
3180
  ContextMenu.displayName = "ContextMenu";
3056
- var ContextMenuInternalContext = React38.createContext({ onOpen: () => {
3181
+ var ContextMenuInternalContext = React39.createContext({ onOpen: () => {
3057
3182
  } });
3058
- var ContextMenuTrigger = React38.forwardRef(({ className, onContextMenu, ...props }, ref) => {
3059
- const { onOpen } = React38.useContext(ContextMenuInternalContext);
3183
+ var ContextMenuTrigger = React39.forwardRef(({ className, onContextMenu, ...props }, ref) => {
3184
+ const { onOpen } = React39.useContext(ContextMenuInternalContext);
3060
3185
  const handleContextMenu = (e) => {
3061
3186
  e.preventDefault();
3062
3187
  onOpen(e.clientX, e.clientY);
@@ -3066,17 +3191,17 @@ var ContextMenuTrigger = React38.forwardRef(({ className, onContextMenu, ...prop
3066
3191
  "div",
3067
3192
  {
3068
3193
  ref,
3069
- className: clsx27("ds-context-menu__trigger", className),
3194
+ className: clsx28("ds-context-menu__trigger", className),
3070
3195
  onContextMenu: handleContextMenu,
3071
3196
  ...props
3072
3197
  }
3073
3198
  );
3074
3199
  });
3075
3200
  ContextMenuTrigger.displayName = "ContextMenuTrigger";
3076
- var ContextMenuContent = React38.forwardRef(({ className, ...props }, ref) => {
3077
- const { open, position, onClose } = React38.useContext(ContextMenuContext);
3078
- const contentRef = React38.useRef(null);
3079
- const mergedRef = React38.useCallback(
3201
+ var ContextMenuContent = React39.forwardRef(({ className, ...props }, ref) => {
3202
+ const { open, position, onClose } = React39.useContext(ContextMenuContext);
3203
+ const contentRef = React39.useRef(null);
3204
+ const mergedRef = React39.useCallback(
3080
3205
  (node) => {
3081
3206
  contentRef.current = node;
3082
3207
  if (typeof ref === "function") ref(node);
@@ -3084,7 +3209,7 @@ var ContextMenuContent = React38.forwardRef(({ className, ...props }, ref) => {
3084
3209
  },
3085
3210
  [ref]
3086
3211
  );
3087
- React38.useEffect(() => {
3212
+ React39.useEffect(() => {
3088
3213
  if (!open) return;
3089
3214
  const handleClickOutside = (e) => {
3090
3215
  if (contentRef.current && !contentRef.current.contains(e.target)) {
@@ -3113,7 +3238,7 @@ var ContextMenuContent = React38.forwardRef(({ className, ...props }, ref) => {
3113
3238
  {
3114
3239
  ref: mergedRef,
3115
3240
  role: "menu",
3116
- className: clsx27("ds-context-menu__content", className),
3241
+ className: clsx28("ds-context-menu__content", className),
3117
3242
  style: { top: position.y, left: position.x },
3118
3243
  ...props
3119
3244
  }
@@ -3122,9 +3247,9 @@ var ContextMenuContent = React38.forwardRef(({ className, ...props }, ref) => {
3122
3247
  );
3123
3248
  });
3124
3249
  ContextMenuContent.displayName = "ContextMenuContent";
3125
- var ContextMenuItem = React38.forwardRef(
3250
+ var ContextMenuItem = React39.forwardRef(
3126
3251
  ({ className, onSelect, onClick, ...props }, ref) => {
3127
- const { onClose } = React38.useContext(ContextMenuContext);
3252
+ const { onClose } = React39.useContext(ContextMenuContext);
3128
3253
  const handleClick = (e) => {
3129
3254
  onSelect?.();
3130
3255
  onClose();
@@ -3135,7 +3260,7 @@ var ContextMenuItem = React38.forwardRef(
3135
3260
  {
3136
3261
  ref,
3137
3262
  role: "menuitem",
3138
- className: clsx27("ds-context-menu__item", className),
3263
+ className: clsx28("ds-context-menu__item", className),
3139
3264
  onClick: handleClick,
3140
3265
  ...props
3141
3266
  }
@@ -3143,45 +3268,45 @@ var ContextMenuItem = React38.forwardRef(
3143
3268
  }
3144
3269
  );
3145
3270
  ContextMenuItem.displayName = "ContextMenuItem";
3146
- var ContextMenuSeparator = React38.forwardRef(({ className, ...props }, ref) => {
3271
+ var ContextMenuSeparator = React39.forwardRef(({ className, ...props }, ref) => {
3147
3272
  return /* @__PURE__ */ jsx(
3148
3273
  "div",
3149
3274
  {
3150
3275
  ref,
3151
3276
  role: "separator",
3152
- className: clsx27("ds-context-menu__separator", className),
3277
+ className: clsx28("ds-context-menu__separator", className),
3153
3278
  ...props
3154
3279
  }
3155
3280
  );
3156
3281
  });
3157
3282
  ContextMenuSeparator.displayName = "ContextMenuSeparator";
3158
- var ContextMenuLabel = React38.forwardRef(({ className, ...props }, ref) => {
3283
+ var ContextMenuLabel = React39.forwardRef(({ className, ...props }, ref) => {
3159
3284
  return /* @__PURE__ */ jsx(
3160
3285
  "div",
3161
3286
  {
3162
3287
  ref,
3163
- className: clsx27("ds-context-menu__label", className),
3288
+ className: clsx28("ds-context-menu__label", className),
3164
3289
  ...props
3165
3290
  }
3166
3291
  );
3167
3292
  });
3168
3293
  ContextMenuLabel.displayName = "ContextMenuLabel";
3169
- var FormFieldContext = React38.createContext(void 0);
3294
+ var FormFieldContext = React39.createContext(void 0);
3170
3295
  function useFormField() {
3171
- const ctx = React38.useContext(FormFieldContext);
3296
+ const ctx = React39.useContext(FormFieldContext);
3172
3297
  if (!ctx) {
3173
3298
  throw new Error("useFormField must be used within a <FormField>");
3174
3299
  }
3175
3300
  return ctx;
3176
3301
  }
3177
- var FormItemContext = React38.createContext(void 0);
3302
+ var FormItemContext = React39.createContext(void 0);
3178
3303
  function FormField({ name, children, value, onChange, onBlur, error }) {
3179
- const id = React38.useId();
3180
- const contextValue = React38.useMemo(
3304
+ const id = React39.useId();
3305
+ const contextValue = React39.useMemo(
3181
3306
  () => ({ id: `${id}-form-item`, name, error }),
3182
3307
  [id, name, error]
3183
3308
  );
3184
- const fieldProps = React38.useMemo(
3309
+ const fieldProps = React39.useMemo(
3185
3310
  () => ({
3186
3311
  value: value ?? "",
3187
3312
  onChange: onChange ?? (() => {
@@ -3196,35 +3321,35 @@ function FormField({ name, children, value, onChange, onBlur, error }) {
3196
3321
  return /* @__PURE__ */ jsx(FormFieldContext.Provider, { value: contextValue, children: children(fieldProps) });
3197
3322
  }
3198
3323
  FormField.displayName = "FormField";
3199
- var FormItem = React38.forwardRef(
3324
+ var FormItem = React39.forwardRef(
3200
3325
  ({ className, ...props }, ref) => {
3201
- const id = React38.useId();
3202
- const contextValue = React38.useMemo(() => ({ id }), [id]);
3203
- return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-form__item", className), ...props }) });
3326
+ const id = React39.useId();
3327
+ const contextValue = React39.useMemo(() => ({ id }), [id]);
3328
+ return /* @__PURE__ */ jsx(FormItemContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-form__item", className), ...props }) });
3204
3329
  }
3205
3330
  );
3206
3331
  FormItem.displayName = "FormItem";
3207
- var FormLabel = React38.forwardRef(({ className, ...props }, ref) => {
3208
- const fieldCtx = React38.useContext(FormFieldContext);
3332
+ var FormLabel = React39.forwardRef(({ className, ...props }, ref) => {
3333
+ const fieldCtx = React39.useContext(FormFieldContext);
3209
3334
  const hasError = !!fieldCtx?.error;
3210
3335
  return /* @__PURE__ */ jsx(
3211
3336
  "label",
3212
3337
  {
3213
3338
  ref,
3214
3339
  htmlFor: fieldCtx?.id,
3215
- className: clsx27("ds-form__label", hasError && "ds-form__label--error", className),
3340
+ className: clsx28("ds-form__label", hasError && "ds-form__label--error", className),
3216
3341
  ...props
3217
3342
  }
3218
3343
  );
3219
3344
  });
3220
3345
  FormLabel.displayName = "FormLabel";
3221
- var FormControl = React38.forwardRef(
3346
+ var FormControl = React39.forwardRef(
3222
3347
  ({ className, children, ...props }, ref) => {
3223
- const fieldCtx = React38.useContext(FormFieldContext);
3348
+ const fieldCtx = React39.useContext(FormFieldContext);
3224
3349
  const descriptionId = fieldCtx ? `${fieldCtx.id}-description` : void 0;
3225
3350
  const messageId = fieldCtx ? `${fieldCtx.id}-message` : void 0;
3226
3351
  const hasError = !!fieldCtx?.error;
3227
- return /* @__PURE__ */ jsx("div", { ref, className: clsx27("ds-form__control", className), ...props, children: React38.isValidElement(children) ? React38.cloneElement(children, {
3352
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx28("ds-form__control", className), ...props, children: React39.isValidElement(children) ? React39.cloneElement(children, {
3228
3353
  id: fieldCtx?.id,
3229
3354
  "aria-describedby": descriptionId,
3230
3355
  "aria-invalid": hasError || void 0,
@@ -3233,21 +3358,21 @@ var FormControl = React38.forwardRef(
3233
3358
  }
3234
3359
  );
3235
3360
  FormControl.displayName = "FormControl";
3236
- var FormDescription = React38.forwardRef(({ className, ...props }, ref) => {
3237
- const fieldCtx = React38.useContext(FormFieldContext);
3361
+ var FormDescription = React39.forwardRef(({ className, ...props }, ref) => {
3362
+ const fieldCtx = React39.useContext(FormFieldContext);
3238
3363
  return /* @__PURE__ */ jsx(
3239
3364
  "p",
3240
3365
  {
3241
3366
  ref,
3242
3367
  id: fieldCtx ? `${fieldCtx.id}-description` : void 0,
3243
- className: clsx27("ds-form__description", className),
3368
+ className: clsx28("ds-form__description", className),
3244
3369
  ...props
3245
3370
  }
3246
3371
  );
3247
3372
  });
3248
3373
  FormDescription.displayName = "FormDescription";
3249
- var FormMessage = React38.forwardRef(({ className, children, ...props }, ref) => {
3250
- const fieldCtx = React38.useContext(FormFieldContext);
3374
+ var FormMessage = React39.forwardRef(({ className, children, ...props }, ref) => {
3375
+ const fieldCtx = React39.useContext(FormFieldContext);
3251
3376
  const message = children ?? fieldCtx?.error;
3252
3377
  if (!message) return null;
3253
3378
  return /* @__PURE__ */ jsx(
@@ -3256,7 +3381,7 @@ var FormMessage = React38.forwardRef(({ className, children, ...props }, ref) =>
3256
3381
  ref,
3257
3382
  id: fieldCtx ? `${fieldCtx.id}-message` : void 0,
3258
3383
  role: "alert",
3259
- className: clsx27("ds-form__message", className),
3384
+ className: clsx28("ds-form__message", className),
3260
3385
  ...props,
3261
3386
  children: message
3262
3387
  }
@@ -3322,7 +3447,7 @@ var Box = forwardRef(
3322
3447
  Component,
3323
3448
  {
3324
3449
  ref,
3325
- className: clsx27("ds-box", className),
3450
+ className: clsx28("ds-box", className),
3326
3451
  style: { ...spacingStyles, ...style },
3327
3452
  ...domProps,
3328
3453
  children
@@ -3337,7 +3462,7 @@ var Stack = forwardRef(
3337
3462
  Box,
3338
3463
  {
3339
3464
  ref,
3340
- className: clsx27("ds-stack", direction === "row" && "ds-stack--horizontal", className),
3465
+ className: clsx28("ds-stack", direction === "row" && "ds-stack--horizontal", className),
3341
3466
  style: {
3342
3467
  alignItems: align,
3343
3468
  justifyContent: justify === "between" ? "space-between" : justify,
@@ -3358,7 +3483,7 @@ var Grid = forwardRef(
3358
3483
  Box,
3359
3484
  {
3360
3485
  ref,
3361
- className: clsx27(
3486
+ className: clsx28(
3362
3487
  "ds-grid",
3363
3488
  useColClass && `ds-grid--cols-${columns}`,
3364
3489
  fixed && "ds-grid--fixed",
@@ -3402,7 +3527,7 @@ var Container = forwardRef(
3402
3527
  Box,
3403
3528
  {
3404
3529
  ref,
3405
- className: clsx27("ds-container", className),
3530
+ className: clsx28("ds-container", className),
3406
3531
  style: {
3407
3532
  maxWidth: resolvedMaxWidth,
3408
3533
  ...style
@@ -3419,7 +3544,7 @@ var Section = forwardRef(
3419
3544
  "section",
3420
3545
  {
3421
3546
  ref,
3422
- className: clsx27("ds-section-block", `ds-section-block--${padding}`, className),
3547
+ className: clsx28("ds-section-block", `ds-section-block--${padding}`, className),
3423
3548
  ...props,
3424
3549
  children
3425
3550
  }
@@ -3429,17 +3554,17 @@ var Section = forwardRef(
3429
3554
  Section.displayName = "Section";
3430
3555
  var VisuallyHidden = forwardRef(
3431
3556
  ({ className, ...props }, ref) => {
3432
- return /* @__PURE__ */ jsx("span", { ref, className: clsx27("ds-visually-hidden", className), ...props });
3557
+ return /* @__PURE__ */ jsx("span", { ref, className: clsx28("ds-visually-hidden", className), ...props });
3433
3558
  }
3434
3559
  );
3435
3560
  VisuallyHidden.displayName = "VisuallyHidden";
3436
- var Tabs = React38.forwardRef(
3561
+ var Tabs = React39.forwardRef(
3437
3562
  ({ className, orientation = "horizontal", ...props }, ref) => {
3438
3563
  return /* @__PURE__ */ jsx(
3439
3564
  Tabs$1.Root,
3440
3565
  {
3441
3566
  ref,
3442
- className: clsx27("ds-tabs", `ds-tabs--${orientation}`, className),
3567
+ className: clsx28("ds-tabs", `ds-tabs--${orientation}`, className),
3443
3568
  orientation,
3444
3569
  ...props
3445
3570
  }
@@ -3447,21 +3572,21 @@ var Tabs = React38.forwardRef(
3447
3572
  }
3448
3573
  );
3449
3574
  Tabs.displayName = "Tabs";
3450
- var TabsList = React38.forwardRef(
3575
+ var TabsList = React39.forwardRef(
3451
3576
  ({ className, ...props }, ref) => {
3452
- return /* @__PURE__ */ jsx(Tabs$1.List, { ref, className: clsx27("ds-tabs__list", className), ...props });
3577
+ return /* @__PURE__ */ jsx(Tabs$1.List, { ref, className: clsx28("ds-tabs__list", className), ...props });
3453
3578
  }
3454
3579
  );
3455
3580
  TabsList.displayName = "TabsList";
3456
- var TabsTrigger = React38.forwardRef(
3581
+ var TabsTrigger = React39.forwardRef(
3457
3582
  ({ className, children, ...props }, ref) => {
3458
- return /* @__PURE__ */ jsx(Tabs$1.Tab, { ref, className: clsx27("ds-tabs__trigger", className), ...props, children });
3583
+ return /* @__PURE__ */ jsx(Tabs$1.Tab, { ref, className: clsx28("ds-tabs__trigger", className), ...props, children });
3459
3584
  }
3460
3585
  );
3461
3586
  TabsTrigger.displayName = "TabsTrigger";
3462
- var TabsContent = React38.forwardRef(
3587
+ var TabsContent = React39.forwardRef(
3463
3588
  ({ className, ...props }, ref) => {
3464
- return /* @__PURE__ */ jsx(Tabs$1.Panel, { ref, className: clsx27("ds-tabs__content", className), ...props });
3589
+ return /* @__PURE__ */ jsx(Tabs$1.Panel, { ref, className: clsx28("ds-tabs__content", className), ...props });
3465
3590
  }
3466
3591
  );
3467
3592
  TabsContent.displayName = "TabsContent";
@@ -4002,6 +4127,6 @@ var allMessages = {
4002
4127
  ...methodologyMessages
4003
4128
  };
4004
4129
 
4005
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AppearancePanel, AppearanceProvider, AspectRatio, Avatar, AvatarFallback, AvatarImage, BREAKPOINTS, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, COLORS, CONTAINER_SIZE_MAP, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, Container, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger, DISTANCE, DSIntlProvider, DURATION, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EASING, EmptyState, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, Heading, HoverCard, HoverCardContent, HoverCardTrigger, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, LINE_HEIGHT, Label, MEDIA_QUERIES, MOTION, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverTrigger, Progress, Prose, RADIUS, Radio, RadioGroup, SHADOWS, SPACING, ScrollArea, ScrollBar, Section, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, Slider, Stack, StatusBadge, Switch, TRANSITION, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextArea, TextField, ToastContext, ToastItem, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, VARIANTS, VisuallyHidden, Z_INDEX, alertMessages, allMessages, appearanceMessages, authMessages, calendarMessages, carouselMessages, commonMessages, dialogMessages, extractSpacingStyles, formMessages, hexToRgb, initializeAppearance, methodologyMessages, navigationMessages, paginationMessages, prefersReducedMotion, reportMessages, resolveSpacing, toastMessages, useAppearance, useDateFormat, useFormField, useIsRTL, useLocale, useMessage, useNumberFormat, useRelativeTime, useTextDirection, useToast };
4130
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AppearancePanel, AppearanceProvider, AspectRatio, Avatar, AvatarFallback, AvatarImage, BREAKPOINTS, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, COLORS, CONTAINER_SIZE_MAP, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, Container, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuTrigger, DISTANCE, DSIntlProvider, DURATION, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EASING, EmptyState, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, Heading, HoverCard, HoverCardContent, HoverCardTrigger, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, LINE_HEIGHT, Label, MEDIA_QUERIES, MOTION, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverTrigger, Progress, Prose, RADIUS, Radio, RadioGroup, SHADOWS, SPACING, ScrollArea, ScrollBar, Section, Select, SelectContent, SelectGroup, SelectItem, SelectSeparator, SelectTrigger, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, Slider, Stack, StatusBadge, Switch, TRANSITION, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextArea, TextField, ToastContext, ToastItem, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, VARIANTS, VisuallyHidden, Z_INDEX, alertMessages, allMessages, appearanceMessages, authMessages, calendarMessages, carouselMessages, commonMessages, dialogMessages, extractSpacingStyles, formMessages, hexToRgb, initializeAppearance, methodologyMessages, navigationMessages, paginationMessages, prefersReducedMotion, reportMessages, resolveSpacing, toastMessages, useAppearance, useDateFormat, useFormField, useIsRTL, useLocale, useMessage, useNumberFormat, useRelativeTime, useTextDirection, useToast };
4006
4131
  //# sourceMappingURL=out.js.map
4007
4132
  //# sourceMappingURL=index.js.map