@marigold/components 11.2.0 → 11.2.1

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 (3) hide show
  1. package/dist/index.js +714 -723
  2. package/dist/index.mjs +616 -629
  3. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -701,19 +701,136 @@ _Autocomplete.Option = _ListBox.Item;
701
701
  _Autocomplete.Section = _ListBox.Section;
702
702
 
703
703
  // src/ComboBox/ComboBox.tsx
704
- import { forwardRef as forwardRef13 } from "react";
704
+ import { forwardRef as forwardRef12 } from "react";
705
705
  import { ComboBox as ComboBox2 } from "react-aria-components";
706
706
  import { useClassNames as useClassNames11 } from "@marigold/system";
707
707
 
708
- // src/Button/Button.tsx
709
- import { forwardRef as forwardRef8 } from "react";
708
+ // src/IconButton/IconButton.tsx
710
709
  import { Button as Button3 } from "react-aria-components";
711
710
  import { cn as cn14, useClassNames as useClassNames10 } from "@marigold/system";
711
+ import { jsx as jsx21 } from "react/jsx-runtime";
712
+ var IconButton = ({
713
+ className,
714
+ children,
715
+ variant,
716
+ size,
717
+ ...props
718
+ }) => {
719
+ const classNames2 = useClassNames10({
720
+ component: "IconButton",
721
+ variant,
722
+ size
723
+ });
724
+ return /* @__PURE__ */ jsx21(
725
+ Button3,
726
+ {
727
+ className: cn14("shrink-0 cursor-pointer outline-0", classNames2, className),
728
+ ...props,
729
+ children
730
+ }
731
+ );
732
+ };
733
+
734
+ // src/icons/ChevronRight.tsx
735
+ import { forwardRef as forwardRef8 } from "react";
736
+ import { SVG as SVG3 } from "@marigold/system";
737
+ import { jsx as jsx22 } from "react/jsx-runtime";
738
+ var ChevronRight = forwardRef8(
739
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx22(SVG3, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx22("path", { d: "M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" }) })
740
+ );
741
+
742
+ // src/icons/ChevronLeft.tsx
743
+ import { forwardRef as forwardRef9 } from "react";
744
+ import { SVG as SVG4 } from "@marigold/system";
745
+ import { jsx as jsx23 } from "react/jsx-runtime";
746
+ var ChevronLeft = forwardRef9(
747
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(SVG4, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx23("path", { d: "M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" }) })
748
+ );
749
+
750
+ // src/icons/SortDown.tsx
751
+ import { forwardRef as forwardRef10 } from "react";
752
+ import { SVG as SVG5 } from "@marigold/system";
753
+ import { jsx as jsx24 } from "react/jsx-runtime";
754
+ var SortDown = forwardRef10((props, ref) => /* @__PURE__ */ jsx24(SVG5, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx24("path", { d: "M17.3962 10.0496L12.5042 14.9416C12.3731 15.0727 12.1984 15.1492 12.0128 15.1492C11.8272 15.1492 11.6524 15.0727 11.5214 14.9416L6.62934 10.0496C6.49827 9.91854 6.42188 9.7439 6.42188 9.55816C6.42188 9.17606 6.73856 8.85938 7.12078 8.85938H16.9048C17.287 8.85938 17.6037 9.17606 17.6037 9.55816C17.6037 9.7439 17.5273 9.91854 17.3962 10.0496Z" }) }));
755
+
756
+ // src/icons/SortUp.tsx
757
+ import { forwardRef as forwardRef11 } from "react";
758
+ import { SVG as SVG6 } from "@marigold/system";
759
+ import { jsx as jsx25 } from "react/jsx-runtime";
760
+ var SortUp = forwardRef11((props, ref) => /* @__PURE__ */ jsx25(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx25("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
761
+
762
+ // src/ComboBox/ComboBox.tsx
763
+ import { jsx as jsx26, jsxs as jsxs10 } from "react/jsx-runtime";
764
+ var _ComboBox = forwardRef12(
765
+ ({
766
+ variant,
767
+ size,
768
+ required,
769
+ disabled,
770
+ readOnly,
771
+ error,
772
+ defaultValue,
773
+ value,
774
+ onChange,
775
+ children,
776
+ ...rest
777
+ }, ref) => {
778
+ const props = {
779
+ isDisabled: disabled,
780
+ isReadOnly: readOnly,
781
+ isRequired: required,
782
+ isInvalid: error,
783
+ defaultInputValue: defaultValue,
784
+ inputValue: value,
785
+ onInputChange: onChange,
786
+ ...rest
787
+ };
788
+ const classNames2 = useClassNames11({ component: "ComboBox", variant, size });
789
+ return /* @__PURE__ */ jsxs10(FieldBase, { as: ComboBox2, ref, ...props, children: [
790
+ /* @__PURE__ */ jsx26(
791
+ _Input,
792
+ {
793
+ action: /* @__PURE__ */ jsx26(IconButton, { className: classNames2, children: /* @__PURE__ */ jsx26(ChevronDown, { className: "size-4" }) })
794
+ }
795
+ ),
796
+ /* @__PURE__ */ jsx26(_Popover, { children: /* @__PURE__ */ jsx26(_ListBox, { children }) })
797
+ ] });
798
+ }
799
+ );
800
+ _ComboBox.Option = _ListBox.Item;
801
+ _ComboBox.Section = _ListBox.Section;
802
+
803
+ // src/Badge/Badge.tsx
804
+ import { useClassNames as useClassNames12 } from "@marigold/system";
805
+ import { jsx as jsx27 } from "react/jsx-runtime";
806
+ var Badge = ({ variant, size, children, ...props }) => {
807
+ const classNames2 = useClassNames12({ component: "Badge", variant, size });
808
+ return /* @__PURE__ */ jsx27("div", { className: classNames2, ...props, children });
809
+ };
810
+
811
+ // src/Breakout/Breakout.tsx
812
+ import { jsx as jsx28 } from "react/jsx-runtime";
813
+ var Breakout = ({ children }) => {
814
+ return /* @__PURE__ */ jsx28("div", { className: "![grid-column:1/-1]", children });
815
+ };
816
+
817
+ // src/Body/Body.tsx
818
+ import { useClassNames as useClassNames13 } from "@marigold/system";
819
+ import { jsx as jsx29 } from "react/jsx-runtime";
820
+ var Body = ({ children, variant, size, ...props }) => {
821
+ const classNames2 = useClassNames13({ component: "Body", variant, size });
822
+ return /* @__PURE__ */ jsx29("section", { ...props, className: classNames2, children });
823
+ };
824
+
825
+ // src/Button/Button.tsx
826
+ import { forwardRef as forwardRef13 } from "react";
827
+ import { Button as Button4 } from "react-aria-components";
828
+ import { cn as cn16, useClassNames as useClassNames15 } from "@marigold/system";
712
829
 
713
830
  // src/ProgressCycle/ProgressCycle.tsx
714
831
  import { ProgressBar } from "react-aria-components";
715
- import { SVG as SVG3 } from "@marigold/system";
716
- import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
832
+ import { SVG as SVG7, cn as cn15, useClassNames as useClassNames14 } from "@marigold/system";
833
+ import { jsx as jsx30, jsxs as jsxs11 } from "react/jsx-runtime";
717
834
  var ProgressCycle = ({
718
835
  size = "16",
719
836
  ...props
@@ -725,15 +842,16 @@ var ProgressCycle = ({
725
842
  strokeWidth = 4;
726
843
  }
727
844
  const radius = `calc(50% - ${strokeWidth / 2}px)`;
728
- return /* @__PURE__ */ jsx21(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs10(
729
- SVG3,
845
+ const classNames2 = useClassNames14({ component: "ProgressCycle" });
846
+ return /* @__PURE__ */ jsx30(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs11(
847
+ SVG7,
730
848
  {
731
849
  className: "animate-rotate-spinner origin-center fill-none",
732
850
  size,
733
851
  "aria-hidden": "true",
734
852
  role: "img",
735
853
  children: [
736
- /* @__PURE__ */ jsx21(
854
+ /* @__PURE__ */ jsx30(
737
855
  "circle",
738
856
  {
739
857
  cx: "50%",
@@ -743,7 +861,7 @@ var ProgressCycle = ({
743
861
  className: "stroke-transparent"
744
862
  }
745
863
  ),
746
- /* @__PURE__ */ jsx21(
864
+ /* @__PURE__ */ jsx30(
747
865
  "circle",
748
866
  {
749
867
  cx: "50%",
@@ -754,7 +872,10 @@ var ProgressCycle = ({
754
872
  strokeDasharray: "100 200",
755
873
  strokeDashoffset: "0",
756
874
  strokeLinecap: "round",
757
- className: "animate-progress-cycle origin-center -rotate-90 stroke-gray-800"
875
+ className: cn15(
876
+ "animate-progress-cycle origin-center -rotate-90",
877
+ classNames2
878
+ )
758
879
  }
759
880
  )
760
881
  ]
@@ -763,8 +884,8 @@ var ProgressCycle = ({
763
884
  };
764
885
 
765
886
  // src/Button/Button.tsx
766
- import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
767
- var _Button = forwardRef8(
887
+ import { Fragment as Fragment2, jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
888
+ var _Button = forwardRef13(
768
889
  ({
769
890
  children,
770
891
  variant,
@@ -775,18 +896,18 @@ var _Button = forwardRef8(
775
896
  fullWidth,
776
897
  ...props
777
898
  }, ref) => {
778
- const classNames2 = useClassNames10({
899
+ const classNames2 = useClassNames15({
779
900
  component: "Button",
780
901
  variant,
781
902
  size,
782
903
  className
783
904
  });
784
- return /* @__PURE__ */ jsx22(
785
- Button3,
905
+ return /* @__PURE__ */ jsx31(
906
+ Button4,
786
907
  {
787
908
  ...props,
788
909
  ref,
789
- className: cn14(
910
+ className: cn16(
790
911
  "inline-flex items-center justify-center gap-[0.5ch]",
791
912
  classNames2,
792
913
  fullWidth ? "w-full" : void 0,
@@ -794,109 +915,18 @@ var _Button = forwardRef8(
794
915
  ),
795
916
  isPending: loading,
796
917
  isDisabled: disabled,
797
- children: loading ? /* @__PURE__ */ jsxs11(Fragment2, { children: [
798
- /* @__PURE__ */ jsx22("span", { className: "absolute", children: /* @__PURE__ */ jsx22(ProgressCycle, {}) }),
799
- /* @__PURE__ */ jsx22("span", { className: "invisible flex gap-[inherit]", children })
918
+ children: loading ? /* @__PURE__ */ jsxs12(Fragment2, { children: [
919
+ /* @__PURE__ */ jsx31("span", { className: "absolute", children: /* @__PURE__ */ jsx31(ProgressCycle, {}) }),
920
+ /* @__PURE__ */ jsx31("span", { className: "invisible flex gap-[inherit]", children })
800
921
  ] }) : children
801
922
  }
802
923
  );
803
924
  }
804
925
  );
805
926
 
806
- // src/icons/ChevronRight.tsx
807
- import { forwardRef as forwardRef9 } from "react";
808
- import { SVG as SVG4 } from "@marigold/system";
809
- import { jsx as jsx23 } from "react/jsx-runtime";
810
- var ChevronRight = forwardRef9(
811
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(SVG4, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx23("path", { d: "M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" }) })
812
- );
813
-
814
- // src/icons/ChevronLeft.tsx
815
- import { forwardRef as forwardRef10 } from "react";
816
- import { SVG as SVG5 } from "@marigold/system";
817
- import { jsx as jsx24 } from "react/jsx-runtime";
818
- var ChevronLeft = forwardRef10(
819
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx24(SVG5, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx24("path", { d: "M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" }) })
820
- );
821
-
822
- // src/icons/SortDown.tsx
823
- import { forwardRef as forwardRef11 } from "react";
824
- import { SVG as SVG6 } from "@marigold/system";
825
- import { jsx as jsx25 } from "react/jsx-runtime";
826
- var SortDown = forwardRef11((props, ref) => /* @__PURE__ */ jsx25(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx25("path", { d: "M17.3962 10.0496L12.5042 14.9416C12.3731 15.0727 12.1984 15.1492 12.0128 15.1492C11.8272 15.1492 11.6524 15.0727 11.5214 14.9416L6.62934 10.0496C6.49827 9.91854 6.42188 9.7439 6.42188 9.55816C6.42188 9.17606 6.73856 8.85938 7.12078 8.85938H16.9048C17.287 8.85938 17.6037 9.17606 17.6037 9.55816C17.6037 9.7439 17.5273 9.91854 17.3962 10.0496Z" }) }));
827
-
828
- // src/icons/SortUp.tsx
829
- import { forwardRef as forwardRef12 } from "react";
830
- import { SVG as SVG7 } from "@marigold/system";
831
- import { jsx as jsx26 } from "react/jsx-runtime";
832
- var SortUp = forwardRef12((props, ref) => /* @__PURE__ */ jsx26(SVG7, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx26("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
833
-
834
- // src/ComboBox/ComboBox.tsx
835
- import { jsx as jsx27, jsxs as jsxs12 } from "react/jsx-runtime";
836
- var _ComboBox = forwardRef13(
837
- ({
838
- variant,
839
- size,
840
- required,
841
- disabled,
842
- readOnly,
843
- error,
844
- defaultValue,
845
- value,
846
- onChange,
847
- children,
848
- ...rest
849
- }, ref) => {
850
- const props = {
851
- isDisabled: disabled,
852
- isReadOnly: readOnly,
853
- isRequired: required,
854
- isInvalid: error,
855
- defaultInputValue: defaultValue,
856
- inputValue: value,
857
- onInputChange: onChange,
858
- ...rest
859
- };
860
- const classNames2 = useClassNames11({ component: "ComboBox", variant, size });
861
- return /* @__PURE__ */ jsxs12(FieldBase, { as: ComboBox2, ref, ...props, children: [
862
- /* @__PURE__ */ jsx27(
863
- _Input,
864
- {
865
- action: /* @__PURE__ */ jsx27(_Button, { className: classNames2, children: /* @__PURE__ */ jsx27(ChevronDown, { className: "size-4" }) })
866
- }
867
- ),
868
- /* @__PURE__ */ jsx27(_Popover, { children: /* @__PURE__ */ jsx27(_ListBox, { children }) })
869
- ] });
870
- }
871
- );
872
- _ComboBox.Option = _ListBox.Item;
873
- _ComboBox.Section = _ListBox.Section;
874
-
875
- // src/Badge/Badge.tsx
876
- import { useClassNames as useClassNames12 } from "@marigold/system";
877
- import { jsx as jsx28 } from "react/jsx-runtime";
878
- var Badge = ({ variant, size, children, ...props }) => {
879
- const classNames2 = useClassNames12({ component: "Badge", variant, size });
880
- return /* @__PURE__ */ jsx28("div", { className: classNames2, ...props, children });
881
- };
882
-
883
- // src/Breakout/Breakout.tsx
884
- import { jsx as jsx29 } from "react/jsx-runtime";
885
- var Breakout = ({ children }) => {
886
- return /* @__PURE__ */ jsx29("div", { className: "![grid-column:1/-1]", children });
887
- };
888
-
889
- // src/Body/Body.tsx
890
- import { useClassNames as useClassNames13 } from "@marigold/system";
891
- import { jsx as jsx30 } from "react/jsx-runtime";
892
- var Body = ({ children, variant, size, ...props }) => {
893
- const classNames2 = useClassNames13({ component: "Body", variant, size });
894
- return /* @__PURE__ */ jsx30("section", { ...props, className: classNames2, children });
895
- };
896
-
897
927
  // src/Card/Card.tsx
898
928
  import {
899
- cn as cn15,
929
+ cn as cn17,
900
930
  gapSpace as gapSpace2,
901
931
  paddingBottom,
902
932
  paddingLeft,
@@ -905,9 +935,9 @@ import {
905
935
  paddingSpaceX,
906
936
  paddingSpaceY,
907
937
  paddingTop,
908
- useClassNames as useClassNames14
938
+ useClassNames as useClassNames16
909
939
  } from "@marigold/system";
910
- import { jsx as jsx31 } from "react/jsx-runtime";
940
+ import { jsx as jsx32 } from "react/jsx-runtime";
911
941
  var Card = ({
912
942
  children,
913
943
  variant,
@@ -922,12 +952,12 @@ var Card = ({
922
952
  pr,
923
953
  ...props
924
954
  }) => {
925
- const classNames2 = useClassNames14({ component: "Card", variant, size });
926
- return /* @__PURE__ */ jsx31(
955
+ const classNames2 = useClassNames16({ component: "Card", variant, size });
956
+ return /* @__PURE__ */ jsx32(
927
957
  "div",
928
958
  {
929
959
  ...props,
930
- className: cn15(
960
+ className: cn17(
931
961
  "flex flex-col",
932
962
  classNames2,
933
963
  gapSpace2[space],
@@ -945,19 +975,19 @@ var Card = ({
945
975
  };
946
976
 
947
977
  // src/Center/Center.tsx
948
- import { cn as cn16, createVar as createVar4, gapSpace as gapSpace3 } from "@marigold/system";
949
- import { jsx as jsx32 } from "react/jsx-runtime";
978
+ import { cn as cn18, createVar as createVar4, gapSpace as gapSpace3 } from "@marigold/system";
979
+ import { jsx as jsx33 } from "react/jsx-runtime";
950
980
  var Center = ({
951
981
  maxWidth = "100%",
952
982
  space = 0,
953
983
  children,
954
984
  ...props
955
985
  }) => {
956
- return /* @__PURE__ */ jsx32(
986
+ return /* @__PURE__ */ jsx33(
957
987
  "div",
958
988
  {
959
989
  ...props,
960
- className: cn16(
990
+ className: cn18(
961
991
  "ms-[auto] me-[auto] box-content flex flex-col items-center justify-center",
962
992
  gapSpace3[space],
963
993
  "max-w-(--maxWidth)"
@@ -971,22 +1001,22 @@ var Center = ({
971
1001
  // src/Checkbox/Checkbox.tsx
972
1002
  import { forwardRef as forwardRef14 } from "react";
973
1003
  import { Checkbox } from "react-aria-components";
974
- import { cn as cn18, useClassNames as useClassNames17 } from "@marigold/system";
1004
+ import { cn as cn20, useClassNames as useClassNames19 } from "@marigold/system";
975
1005
 
976
1006
  // src/Checkbox/CheckBoxField.tsx
977
- import { createVar as createVar5, useClassNames as useClassNames15 } from "@marigold/system";
978
- import { jsx as jsx33, jsxs as jsxs13 } from "react/jsx-runtime";
1007
+ import { createVar as createVar5, useClassNames as useClassNames17 } from "@marigold/system";
1008
+ import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
979
1009
  var CheckboxField = ({ children, labelWidth }) => {
980
- const classNames2 = useClassNames15({ component: "Field" });
1010
+ const classNames2 = useClassNames17({ component: "Field" });
981
1011
  return /* @__PURE__ */ jsxs13("div", { className: classNames2, children: [
982
- /* @__PURE__ */ jsx33("div", { className: "w-(--labelWidth)", style: createVar5({ labelWidth }) }),
1012
+ /* @__PURE__ */ jsx34("div", { className: "w-(--labelWidth)", style: createVar5({ labelWidth }) }),
983
1013
  children
984
1014
  ] });
985
1015
  };
986
1016
 
987
1017
  // src/Checkbox/CheckboxGroup.tsx
988
1018
  import { CheckboxGroup } from "react-aria-components";
989
- import { cn as cn17, useClassNames as useClassNames16 } from "@marigold/system";
1019
+ import { cn as cn19, useClassNames as useClassNames18 } from "@marigold/system";
990
1020
 
991
1021
  // src/Checkbox/Context.tsx
992
1022
  import { createContext as createContext5, useContext as useContext7 } from "react";
@@ -994,7 +1024,7 @@ var CheckboxGroupContext = createContext5(null);
994
1024
  var useCheckboxGroupContext = () => useContext7(CheckboxGroupContext);
995
1025
 
996
1026
  // src/Checkbox/CheckboxGroup.tsx
997
- import { jsx as jsx34 } from "react/jsx-runtime";
1027
+ import { jsx as jsx35 } from "react/jsx-runtime";
998
1028
  var _CheckboxGroup = ({
999
1029
  children,
1000
1030
  variant,
@@ -1007,7 +1037,7 @@ var _CheckboxGroup = ({
1007
1037
  orientation = "vertical",
1008
1038
  ...rest
1009
1039
  }) => {
1010
- const classNames2 = useClassNames16({
1040
+ const classNames2 = useClassNames18({
1011
1041
  component: "Checkbox",
1012
1042
  variant,
1013
1043
  size,
@@ -1021,24 +1051,25 @@ var _CheckboxGroup = ({
1021
1051
  isInvalid: error,
1022
1052
  ...rest
1023
1053
  };
1024
- return /* @__PURE__ */ jsx34(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx34(
1054
+ return /* @__PURE__ */ jsx35(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx35(
1025
1055
  "div",
1026
1056
  {
1027
1057
  role: "presentation",
1028
1058
  "data-orientation": orientation,
1029
- className: cn17(
1059
+ "data-group": "checkbox",
1060
+ className: cn19(
1030
1061
  classNames2.group,
1031
- "flex items-start",
1062
+ "group/checkboxgroup flex items-start",
1032
1063
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
1033
1064
  ),
1034
- children: /* @__PURE__ */ jsx34(CheckboxGroupContext.Provider, { value: { width, variant, size }, children })
1065
+ children: /* @__PURE__ */ jsx35(CheckboxGroupContext.Provider, { value: { width, variant, size }, children })
1035
1066
  }
1036
1067
  ) });
1037
1068
  };
1038
1069
 
1039
1070
  // src/Checkbox/Checkbox.tsx
1040
- import { Fragment as Fragment3, jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
1041
- var CheckMark = () => /* @__PURE__ */ jsx35("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx35(
1071
+ import { Fragment as Fragment3, jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
1072
+ var CheckMark = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx36(
1042
1073
  "path",
1043
1074
  {
1044
1075
  fill: "currentColor",
@@ -1046,7 +1077,7 @@ var CheckMark = () => /* @__PURE__ */ jsx35("svg", { width: "12px", height: "10p
1046
1077
  d: "M11.915 1.548 10.367 0 4.045 6.315 1.557 3.827 0 5.373l4.045 4.046 7.87-7.871Z"
1047
1078
  }
1048
1079
  ) });
1049
- var IndeterminateMark = () => /* @__PURE__ */ jsx35("svg", { width: "12px", height: "3px", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx35(
1080
+ var IndeterminateMark = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "3px", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx36(
1050
1081
  "path",
1051
1082
  {
1052
1083
  fill: "currentColor",
@@ -1055,11 +1086,11 @@ var IndeterminateMark = () => /* @__PURE__ */ jsx35("svg", { width: "12px", heig
1055
1086
  }
1056
1087
  ) });
1057
1088
  var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1058
- return /* @__PURE__ */ jsx35(
1089
+ return /* @__PURE__ */ jsx36(
1059
1090
  "div",
1060
1091
  {
1061
1092
  "aria-hidden": "true",
1062
- className: cn18(
1093
+ className: cn20(
1063
1094
  "flex shrink-0 grow-0 basis-4 items-center justify-center",
1064
1095
  "h-4 w-4 p-px",
1065
1096
  "bg-white",
@@ -1067,7 +1098,7 @@ var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1067
1098
  className
1068
1099
  ),
1069
1100
  ...props,
1070
- children: indeterminate ? /* @__PURE__ */ jsx35(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx35(CheckMark, {}) : null
1101
+ children: indeterminate ? /* @__PURE__ */ jsx36(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx36(CheckMark, {}) : null
1071
1102
  }
1072
1103
  );
1073
1104
  };
@@ -1097,23 +1128,23 @@ var _Checkbox = forwardRef14(
1097
1128
  };
1098
1129
  const { labelWidth } = useFieldGroupContext();
1099
1130
  const group = useCheckboxGroupContext();
1100
- const classNames2 = useClassNames17({
1131
+ const classNames2 = useClassNames19({
1101
1132
  component: "Checkbox",
1102
1133
  variant: variant || (group == null ? void 0 : group.variant),
1103
1134
  size: size || (group == null ? void 0 : group.size)
1104
1135
  });
1105
- const component = /* @__PURE__ */ jsx35(
1136
+ const component = /* @__PURE__ */ jsx36(
1106
1137
  Checkbox,
1107
1138
  {
1108
1139
  ref,
1109
- className: cn18(
1140
+ className: cn20(
1110
1141
  "group/checkbox flex items-center gap-[0.5rem]",
1111
1142
  "cursor-pointer data-disabled:cursor-not-allowed",
1112
1143
  classNames2.container
1113
1144
  ),
1114
1145
  ...props,
1115
1146
  children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs14(Fragment3, { children: [
1116
- /* @__PURE__ */ jsx35(
1147
+ /* @__PURE__ */ jsx36(
1117
1148
  Icon2,
1118
1149
  {
1119
1150
  checked: isSelected,
@@ -1121,19 +1152,19 @@ var _Checkbox = forwardRef14(
1121
1152
  className: classNames2.checkbox
1122
1153
  }
1123
1154
  ),
1124
- children ? /* @__PURE__ */ jsx35("div", { className: classNames2.label, children }) : null
1155
+ children ? /* @__PURE__ */ jsx36("div", { className: classNames2.label, children }) : null
1125
1156
  ] })
1126
1157
  }
1127
1158
  );
1128
- return !group && !!labelWidth ? /* @__PURE__ */ jsx35(CheckboxField, { labelWidth, children: component }) : component;
1159
+ return !group && !!labelWidth ? /* @__PURE__ */ jsx36(CheckboxField, { labelWidth, children: component }) : component;
1129
1160
  }
1130
1161
  );
1131
1162
  _Checkbox.Group = _CheckboxGroup;
1132
1163
 
1133
1164
  // src/Columns/Columns.tsx
1134
1165
  import { Children as Children2 } from "react";
1135
- import { cn as cn19, createVar as createVar6, gapSpace as gapSpace4 } from "@marigold/system";
1136
- import { jsx as jsx36 } from "react/jsx-runtime";
1166
+ import { cn as cn21, createVar as createVar6, gapSpace as gapSpace4 } from "@marigold/system";
1167
+ import { jsx as jsx37 } from "react/jsx-runtime";
1137
1168
  var Columns = ({
1138
1169
  space = 0,
1139
1170
  columns,
@@ -1149,19 +1180,19 @@ var Columns = ({
1149
1180
  )}`
1150
1181
  );
1151
1182
  }
1152
- return /* @__PURE__ */ jsx36(
1183
+ return /* @__PURE__ */ jsx37(
1153
1184
  "div",
1154
1185
  {
1155
- className: cn19(
1186
+ className: cn21(
1156
1187
  "flex flex-wrap items-stretch",
1157
1188
  stretch && "h-full",
1158
1189
  gapSpace4[space]
1159
1190
  ),
1160
1191
  ...props,
1161
- children: Children2.map(children, (child, idx) => /* @__PURE__ */ jsx36(
1192
+ children: Children2.map(children, (child, idx) => /* @__PURE__ */ jsx37(
1162
1193
  "div",
1163
1194
  {
1164
- className: cn19(
1195
+ className: cn21(
1165
1196
  columns[idx] === "fit" ? "flex h-fit w-fit" : "flex-(--columnSize)",
1166
1197
  "basis-[calc((var(--collapseAt)_-_100%)_*_999)]"
1167
1198
  ),
@@ -1177,8 +1208,8 @@ var Columns = ({
1177
1208
  };
1178
1209
 
1179
1210
  // src/Container/Container.tsx
1180
- import { cn as cn20, createVar as createVar7, gapSpace as gapSpace5, placeItems } from "@marigold/system";
1181
- import { jsx as jsx37 } from "react/jsx-runtime";
1211
+ import { cn as cn22, createVar as createVar7, gapSpace as gapSpace5, placeItems } from "@marigold/system";
1212
+ import { jsx as jsx38 } from "react/jsx-runtime";
1182
1213
  var containerTextLength = {
1183
1214
  short: "40ch",
1184
1215
  default: "60ch",
@@ -1206,11 +1237,11 @@ var Container = ({
1206
1237
  space = 0,
1207
1238
  children,
1208
1239
  ...props
1209
- }) => /* @__PURE__ */ jsx37(
1240
+ }) => /* @__PURE__ */ jsx38(
1210
1241
  "div",
1211
1242
  {
1212
1243
  ...props,
1213
- className: cn20(
1244
+ className: cn22(
1214
1245
  "grid",
1215
1246
  placeItems[alignItems],
1216
1247
  gridColsAlign[align],
@@ -1228,53 +1259,53 @@ var Container = ({
1228
1259
  // src/Dialog/Dialog.tsx
1229
1260
  import { useContext as useContext8 } from "react";
1230
1261
  import { Dialog, OverlayTriggerStateContext } from "react-aria-components";
1231
- import { cn as cn25, useClassNames as useClassNames23 } from "@marigold/system";
1262
+ import { cn as cn27, useClassNames as useClassNames25 } from "@marigold/system";
1232
1263
 
1233
1264
  // src/Dialog/DialogActions.tsx
1234
- import { cn as cn21, useClassNames as useClassNames18 } from "@marigold/system";
1235
- import { jsx as jsx38 } from "react/jsx-runtime";
1265
+ import { cn as cn23, useClassNames as useClassNames20 } from "@marigold/system";
1266
+ import { jsx as jsx39 } from "react/jsx-runtime";
1236
1267
  var DialogActions = ({ variant, size, children }) => {
1237
- const classNames2 = useClassNames18({ component: "Dialog", variant, size });
1238
- return /* @__PURE__ */ jsx38("div", { className: cn21("[grid-area:actions]", classNames2.actions), children });
1268
+ const classNames2 = useClassNames20({ component: "Dialog", variant, size });
1269
+ return /* @__PURE__ */ jsx39("div", { className: cn23("[grid-area:actions]", classNames2.actions), children });
1239
1270
  };
1240
1271
 
1241
1272
  // src/Dialog/DialogContent.tsx
1242
- import { cn as cn22, useClassNames as useClassNames19 } from "@marigold/system";
1243
- import { jsx as jsx39 } from "react/jsx-runtime";
1273
+ import { cn as cn24, useClassNames as useClassNames21 } from "@marigold/system";
1274
+ import { jsx as jsx40 } from "react/jsx-runtime";
1244
1275
  var DialogContent = ({
1245
1276
  variant,
1246
1277
  size,
1247
1278
  children
1248
1279
  }) => {
1249
- const classNames2 = useClassNames19({ component: "Dialog", variant, size });
1250
- return /* @__PURE__ */ jsx39("div", { className: cn22("[grid-area:content]", classNames2.content), children });
1280
+ const classNames2 = useClassNames21({ component: "Dialog", variant, size });
1281
+ return /* @__PURE__ */ jsx40("div", { className: cn24("[grid-area:content]", classNames2.content), children });
1251
1282
  };
1252
1283
 
1253
1284
  // src/Dialog/DialogTitle.tsx
1254
- import { cn as cn24, useClassNames as useClassNames22 } from "@marigold/system";
1285
+ import { cn as cn26, useClassNames as useClassNames24 } from "@marigold/system";
1255
1286
 
1256
1287
  // src/Header/Header.tsx
1257
1288
  import { Header as Header2 } from "react-aria-components";
1258
- import { useClassNames as useClassNames20 } from "@marigold/system";
1259
- import { jsx as jsx40 } from "react/jsx-runtime";
1289
+ import { useClassNames as useClassNames22 } from "@marigold/system";
1290
+ import { jsx as jsx41 } from "react/jsx-runtime";
1260
1291
  var _Header = ({ variant, size, ...props }) => {
1261
- const classNames2 = useClassNames20({
1292
+ const classNames2 = useClassNames22({
1262
1293
  component: "Header",
1263
1294
  variant,
1264
1295
  size
1265
1296
  });
1266
- return /* @__PURE__ */ jsx40(Header2, { className: classNames2, ...props, children: props.children });
1297
+ return /* @__PURE__ */ jsx41(Header2, { className: classNames2, ...props, children: props.children });
1267
1298
  };
1268
1299
 
1269
1300
  // src/Headline/Headline.tsx
1270
1301
  import { Heading as Heading2 } from "react-aria-components";
1271
1302
  import {
1272
- cn as cn23,
1303
+ cn as cn25,
1273
1304
  ensureCssVar,
1274
1305
  textAlign,
1275
- useClassNames as useClassNames21
1306
+ useClassNames as useClassNames23
1276
1307
  } from "@marigold/system";
1277
- import { jsx as jsx41 } from "react/jsx-runtime";
1308
+ import { jsx as jsx42 } from "react/jsx-runtime";
1278
1309
  var _Headline = ({
1279
1310
  variant,
1280
1311
  size,
@@ -1284,17 +1315,17 @@ var _Headline = ({
1284
1315
  level = "1",
1285
1316
  ...props
1286
1317
  }) => {
1287
- const classNames2 = useClassNames21({
1318
+ const classNames2 = useClassNames23({
1288
1319
  component: "Headline",
1289
1320
  variant,
1290
1321
  size: size != null ? size : `level-${level}`
1291
1322
  });
1292
- return /* @__PURE__ */ jsx41(
1323
+ return /* @__PURE__ */ jsx42(
1293
1324
  Heading2,
1294
1325
  {
1295
1326
  level: Number(level),
1296
1327
  ...props,
1297
- className: cn23(
1328
+ className: cn25(
1298
1329
  classNames2,
1299
1330
  "max-w-(--maxHeadlineWidth)",
1300
1331
  // possibly set by a <Container>
@@ -1307,15 +1338,15 @@ var _Headline = ({
1307
1338
  };
1308
1339
 
1309
1340
  // src/Dialog/DialogTitle.tsx
1310
- import { jsx as jsx42 } from "react/jsx-runtime";
1341
+ import { jsx as jsx43 } from "react/jsx-runtime";
1311
1342
  var DialogTitle = ({
1312
1343
  level = "2",
1313
1344
  variant,
1314
1345
  size,
1315
1346
  children
1316
1347
  }) => {
1317
- const classNames2 = useClassNames22({ component: "Dialog", variant, size });
1318
- return /* @__PURE__ */ jsx42(_Header, { className: cn24("[grid-area:title]", classNames2.header), children: /* @__PURE__ */ jsx42(_Headline, { slot: "title", level, children }) });
1348
+ const classNames2 = useClassNames24({ component: "Dialog", variant, size });
1349
+ return /* @__PURE__ */ jsx43(_Header, { className: cn26("[grid-area:title]", classNames2.header), children: /* @__PURE__ */ jsx43(_Headline, { slot: "title", level, children }) });
1319
1350
  };
1320
1351
 
1321
1352
  // src/Dialog/DialogTrigger.tsx
@@ -1325,7 +1356,7 @@ import { DialogTrigger } from "react-aria-components";
1325
1356
  // src/Overlay/Modal.tsx
1326
1357
  import { forwardRef as forwardRef15 } from "react";
1327
1358
  import { Modal } from "react-aria-components";
1328
- import { jsx as jsx43 } from "react/jsx-runtime";
1359
+ import { jsx as jsx44 } from "react/jsx-runtime";
1329
1360
  var _Modal = forwardRef15(({ open, dismissable, keyboardDismissable, ...rest }, ref) => {
1330
1361
  const props = {
1331
1362
  isOpen: open,
@@ -1333,14 +1364,14 @@ var _Modal = forwardRef15(({ open, dismissable, keyboardDismissable, ...rest },
1333
1364
  isKeyboardDismissDisabled: keyboardDismissable,
1334
1365
  ...rest
1335
1366
  };
1336
- return /* @__PURE__ */ jsx43(
1367
+ return /* @__PURE__ */ jsx44(
1337
1368
  Underlay,
1338
1369
  {
1339
1370
  dismissable,
1340
1371
  keyboardDismissable,
1341
1372
  open,
1342
1373
  variant: "modal",
1343
- children: /* @__PURE__ */ jsx43(
1374
+ children: /* @__PURE__ */ jsx44(
1344
1375
  Modal,
1345
1376
  {
1346
1377
  ref,
@@ -1354,7 +1385,7 @@ var _Modal = forwardRef15(({ open, dismissable, keyboardDismissable, ...rest },
1354
1385
  });
1355
1386
 
1356
1387
  // src/Dialog/DialogTrigger.tsx
1357
- import { jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
1388
+ import { jsx as jsx45, jsxs as jsxs15 } from "react/jsx-runtime";
1358
1389
  var _DialogTrigger = ({
1359
1390
  open,
1360
1391
  dismissable,
@@ -1371,10 +1402,10 @@ var _DialogTrigger = ({
1371
1402
  const hasDialogTrigger = dialogTrigger.type !== _Dialog;
1372
1403
  const currentDialog = children.length < 2 ? !hasDialogTrigger && dialogTrigger : dialog;
1373
1404
  if (isNonModal)
1374
- return /* @__PURE__ */ jsx44(DialogTrigger, { ...props, children: props.children });
1405
+ return /* @__PURE__ */ jsx45(DialogTrigger, { ...props, children: props.children });
1375
1406
  return /* @__PURE__ */ jsxs15(DialogTrigger, { ...props, children: [
1376
1407
  hasDialogTrigger && dialogTrigger,
1377
- /* @__PURE__ */ jsx44(
1408
+ /* @__PURE__ */ jsx45(
1378
1409
  _Modal,
1379
1410
  {
1380
1411
  dismissable,
@@ -1386,19 +1417,19 @@ var _DialogTrigger = ({
1386
1417
  };
1387
1418
 
1388
1419
  // src/Dialog/Dialog.tsx
1389
- import { jsx as jsx45, jsxs as jsxs16 } from "react/jsx-runtime";
1420
+ import { jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
1390
1421
  var CloseButton = ({ className }) => {
1391
1422
  const ctx = useContext8(OverlayTriggerStateContext);
1392
- return /* @__PURE__ */ jsx45("div", { className: "absolute top-4 right-4 ml-4", children: /* @__PURE__ */ jsx45(
1423
+ return /* @__PURE__ */ jsx46("div", { className: "absolute top-4 right-4 ml-4", children: /* @__PURE__ */ jsx46(
1393
1424
  "button",
1394
1425
  {
1395
- className: cn25(
1426
+ className: cn27(
1396
1427
  "h-4 w-4 cursor-pointer border-none p-0 leading-normal outline-0",
1397
1428
  className
1398
1429
  ),
1399
1430
  onClick: ctx == null ? void 0 : ctx.close,
1400
1431
  slot: "dismiss-button",
1401
- children: /* @__PURE__ */ jsx45("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx45(
1432
+ children: /* @__PURE__ */ jsx46("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx46(
1402
1433
  "path",
1403
1434
  {
1404
1435
  fillRule: "evenodd",
@@ -1417,7 +1448,7 @@ var _Dialog = ({
1417
1448
  ...props
1418
1449
  }) => {
1419
1450
  var _a;
1420
- const classNames2 = useClassNames23({ component: "Dialog", variant, size });
1451
+ const classNames2 = useClassNames25({ component: "Dialog", variant, size });
1421
1452
  const state = useContext8(OverlayTriggerStateContext);
1422
1453
  const children = typeof props.children === "function" ? props.children({
1423
1454
  close: (_a = state == null ? void 0 : state.close) != null ? _a : () => {
@@ -1427,13 +1458,13 @@ var _Dialog = ({
1427
1458
  Dialog,
1428
1459
  {
1429
1460
  ...props,
1430
- className: cn25(
1461
+ className: cn27(
1431
1462
  "relative outline-hidden [&>*:not(:last-child)]:mb-4",
1432
1463
  "grid [grid-template-areas:'title'_'content'_'actions']",
1433
1464
  classNames2.container
1434
1465
  ),
1435
1466
  children: [
1436
- closeButton && /* @__PURE__ */ jsx45(CloseButton, { className: classNames2.closeButton }),
1467
+ closeButton && /* @__PURE__ */ jsx46(CloseButton, { className: classNames2.closeButton }),
1437
1468
  children
1438
1469
  ]
1439
1470
  }
@@ -1446,33 +1477,33 @@ _Dialog.Actions = DialogActions;
1446
1477
 
1447
1478
  // src/Divider/Divider.tsx
1448
1479
  import { Separator } from "react-aria-components";
1449
- import { cn as cn26, useClassNames as useClassNames24 } from "@marigold/system";
1450
- import { jsx as jsx46 } from "react/jsx-runtime";
1480
+ import { cn as cn28, useClassNames as useClassNames26 } from "@marigold/system";
1481
+ import { jsx as jsx47 } from "react/jsx-runtime";
1451
1482
  var _Divider = ({ variant, ...props }) => {
1452
- const classNames2 = useClassNames24({ component: "Divider", variant });
1453
- return /* @__PURE__ */ jsx46(Separator, { className: cn26("border-none", classNames2), ...props });
1483
+ const classNames2 = useClassNames26({ component: "Divider", variant });
1484
+ return /* @__PURE__ */ jsx47(Separator, { className: cn28("border-none", classNames2), ...props });
1454
1485
  };
1455
1486
 
1456
1487
  // src/Footer/Footer.tsx
1457
- import { useClassNames as useClassNames25 } from "@marigold/system";
1458
- import { jsx as jsx47 } from "react/jsx-runtime";
1488
+ import { useClassNames as useClassNames27 } from "@marigold/system";
1489
+ import { jsx as jsx48 } from "react/jsx-runtime";
1459
1490
  var Footer = ({ children, variant, size, ...props }) => {
1460
- const classNames2 = useClassNames25({ component: "Footer", variant, size });
1461
- return /* @__PURE__ */ jsx47("footer", { ...props, className: classNames2, children });
1491
+ const classNames2 = useClassNames27({ component: "Footer", variant, size });
1492
+ return /* @__PURE__ */ jsx48("footer", { ...props, className: classNames2, children });
1462
1493
  };
1463
1494
 
1464
1495
  // src/Form/Form.tsx
1465
1496
  import { Form } from "react-aria-components";
1466
1497
 
1467
1498
  // src/Grid/Grid.tsx
1468
- import { cn as cn27, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
1499
+ import { cn as cn29, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
1469
1500
 
1470
1501
  // src/Grid/GridArea.tsx
1471
- import { jsx as jsx48 } from "react/jsx-runtime";
1472
- var GridArea = ({ name, children }) => /* @__PURE__ */ jsx48("div", { style: { gridArea: name }, children });
1502
+ import { jsx as jsx49 } from "react/jsx-runtime";
1503
+ var GridArea = ({ name, children }) => /* @__PURE__ */ jsx49("div", { style: { gridArea: name }, children });
1473
1504
 
1474
1505
  // src/Grid/Grid.tsx
1475
- import { jsx as jsx49 } from "react/jsx-runtime";
1506
+ import { jsx as jsx50 } from "react/jsx-runtime";
1476
1507
  var parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
1477
1508
  var parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
1478
1509
  var Grid = ({
@@ -1484,10 +1515,10 @@ var Grid = ({
1484
1515
  space = 0,
1485
1516
  ...props
1486
1517
  }) => {
1487
- return /* @__PURE__ */ jsx49(
1518
+ return /* @__PURE__ */ jsx50(
1488
1519
  "div",
1489
1520
  {
1490
- className: cn27("grid", gapSpace6[space], twHeight[height]),
1521
+ className: cn29("grid", gapSpace6[space], twHeight[height]),
1491
1522
  style: {
1492
1523
  gridTemplateAreas: parseGridAreas(areas),
1493
1524
  gridTemplateColumns: parseTemplateValue(columns),
@@ -1502,12 +1533,12 @@ Grid.Area = GridArea;
1502
1533
 
1503
1534
  // src/Image/Image.tsx
1504
1535
  import {
1505
- cn as cn28,
1536
+ cn as cn30,
1506
1537
  objectFit,
1507
1538
  objectPosition,
1508
- useClassNames as useClassNames26
1539
+ useClassNames as useClassNames28
1509
1540
  } from "@marigold/system";
1510
- import { jsx as jsx50 } from "react/jsx-runtime";
1541
+ import { jsx as jsx51 } from "react/jsx-runtime";
1511
1542
  var Image = ({
1512
1543
  variant,
1513
1544
  size,
@@ -1515,13 +1546,13 @@ var Image = ({
1515
1546
  position = "none",
1516
1547
  ...props
1517
1548
  }) => {
1518
- const classNames2 = useClassNames26({ component: "Image", variant, size });
1519
- return /* @__PURE__ */ jsx50(
1549
+ const classNames2 = useClassNames28({ component: "Image", variant, size });
1550
+ return /* @__PURE__ */ jsx51(
1520
1551
  "img",
1521
1552
  {
1522
1553
  ...props,
1523
1554
  alt: props.alt,
1524
- className: cn28(
1555
+ className: cn30(
1525
1556
  fit !== "none" && "h-full w-full",
1526
1557
  classNames2,
1527
1558
  objectFit[fit],
@@ -1532,8 +1563,8 @@ var Image = ({
1532
1563
  };
1533
1564
 
1534
1565
  // src/Inline/Inline.tsx
1535
- import { alignment, cn as cn29, gapSpace as gapSpace7 } from "@marigold/system";
1536
- import { jsx as jsx51 } from "react/jsx-runtime";
1566
+ import { alignment, cn as cn31, gapSpace as gapSpace7 } from "@marigold/system";
1567
+ import { jsx as jsx52 } from "react/jsx-runtime";
1537
1568
  var Inline = ({
1538
1569
  space = 0,
1539
1570
  alignX,
@@ -1542,11 +1573,11 @@ var Inline = ({
1542
1573
  ...props
1543
1574
  }) => {
1544
1575
  var _a, _b, _c, _d;
1545
- return /* @__PURE__ */ jsx51(
1576
+ return /* @__PURE__ */ jsx52(
1546
1577
  "div",
1547
1578
  {
1548
1579
  ...props,
1549
- className: cn29(
1580
+ className: cn31(
1550
1581
  "flex flex-wrap",
1551
1582
  gapSpace7[space],
1552
1583
  alignX && ((_b = (_a = alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
@@ -1563,14 +1594,14 @@ import { DateField } from "react-aria-components";
1563
1594
 
1564
1595
  // src/DateField/DateInput.tsx
1565
1596
  import { DateInput, Group } from "react-aria-components";
1566
- import { useClassNames as useClassNames27 } from "@marigold/system";
1597
+ import { useClassNames as useClassNames29 } from "@marigold/system";
1567
1598
 
1568
1599
  // src/DateField/DateSegment.tsx
1569
1600
  import { DateSegment } from "react-aria-components";
1570
- import { cn as cn30 } from "@marigold/system";
1571
- import { Fragment as Fragment4, jsx as jsx52, jsxs as jsxs17 } from "react/jsx-runtime";
1601
+ import { cn as cn32 } from "@marigold/system";
1602
+ import { Fragment as Fragment4, jsx as jsx53, jsxs as jsxs17 } from "react/jsx-runtime";
1572
1603
  var _DateSegment = ({ segment, ...props }) => {
1573
- return /* @__PURE__ */ jsx52(
1604
+ return /* @__PURE__ */ jsx53(
1574
1605
  DateSegment,
1575
1606
  {
1576
1607
  ...props,
@@ -1579,30 +1610,30 @@ var _DateSegment = ({ segment, ...props }) => {
1579
1610
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
1580
1611
  },
1581
1612
  children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs17(Fragment4, { children: [
1582
- /* @__PURE__ */ jsx52(
1613
+ /* @__PURE__ */ jsx53(
1583
1614
  "span",
1584
1615
  {
1585
1616
  "aria-hidden": "true",
1586
- className: cn30(
1617
+ className: cn32(
1587
1618
  isPlaceholder ? "visible block" : "invisible hidden",
1588
1619
  "pointer-events-none w-full text-center"
1589
1620
  ),
1590
1621
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
1591
1622
  }
1592
1623
  ),
1593
- /* @__PURE__ */ jsx52("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1624
+ /* @__PURE__ */ jsx53("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1594
1625
  ] })
1595
1626
  }
1596
1627
  );
1597
1628
  };
1598
1629
 
1599
1630
  // src/DateField/DateInput.tsx
1600
- import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
1631
+ import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
1601
1632
  var _DateInput = ({ variant, size, action, ...props }) => {
1602
- const classNames2 = useClassNames27({ component: "DateField", variant, size });
1633
+ const classNames2 = useClassNames29({ component: "DateField", variant, size });
1603
1634
  return /* @__PURE__ */ jsxs18(Group, { className: classNames2.field, children: [
1604
- /* @__PURE__ */ jsx53(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx53(_DateSegment, { className: classNames2.segment, segment }) }),
1605
- action ? action : /* @__PURE__ */ jsx53("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx53(
1635
+ /* @__PURE__ */ jsx54(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx54(_DateSegment, { className: classNames2.segment, segment }) }),
1636
+ action ? action : /* @__PURE__ */ jsx54("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx54(
1606
1637
  "svg",
1607
1638
  {
1608
1639
  "data-testid": "action",
@@ -1610,14 +1641,14 @@ var _DateInput = ({ variant, size, action, ...props }) => {
1610
1641
  viewBox: "0 0 24 24",
1611
1642
  width: 24,
1612
1643
  height: 24,
1613
- children: /* @__PURE__ */ jsx53("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1644
+ children: /* @__PURE__ */ jsx54("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1614
1645
  }
1615
1646
  ) })
1616
1647
  ] });
1617
1648
  };
1618
1649
 
1619
1650
  // src/DateField/DateField.tsx
1620
- import { jsx as jsx54 } from "react/jsx-runtime";
1651
+ import { jsx as jsx55 } from "react/jsx-runtime";
1621
1652
  var _DateField = forwardRef16(
1622
1653
  ({
1623
1654
  variant,
@@ -1636,7 +1667,7 @@ var _DateField = forwardRef16(
1636
1667
  isRequired: required,
1637
1668
  ...rest
1638
1669
  };
1639
- return /* @__PURE__ */ jsx54(
1670
+ return /* @__PURE__ */ jsx55(
1640
1671
  FieldBase,
1641
1672
  {
1642
1673
  as: DateField,
@@ -1644,7 +1675,7 @@ var _DateField = forwardRef16(
1644
1675
  size,
1645
1676
  ref,
1646
1677
  ...props,
1647
- children: /* @__PURE__ */ jsx54(_DateInput, { action })
1678
+ children: /* @__PURE__ */ jsx55(_DateInput, { action })
1648
1679
  }
1649
1680
  );
1650
1681
  }
@@ -1653,7 +1684,7 @@ var _DateField = forwardRef16(
1653
1684
  // src/Calendar/Calendar.tsx
1654
1685
  import { useState } from "react";
1655
1686
  import { Calendar } from "react-aria-components";
1656
- import { cn as cn34, useClassNames as useClassNames32 } from "@marigold/system";
1687
+ import { cn as cn36, useClassNames as useClassNames34 } from "@marigold/system";
1657
1688
 
1658
1689
  // src/Calendar/CalendarGrid.tsx
1659
1690
  import {
@@ -1661,7 +1692,7 @@ import {
1661
1692
  CalendarGrid,
1662
1693
  CalendarGridBody
1663
1694
  } from "react-aria-components";
1664
- import { cn as cn31, useClassNames as useClassNames29 } from "@marigold/system";
1695
+ import { cn as cn33, useClassNames as useClassNames31 } from "@marigold/system";
1665
1696
 
1666
1697
  // src/Calendar/CalendarGridHeader.tsx
1667
1698
  import { startOfWeek, today } from "@internationalized/date";
@@ -1669,8 +1700,8 @@ import { useContext as useContext9, useMemo } from "react";
1669
1700
  import { CalendarStateContext } from "react-aria-components";
1670
1701
  import { useCalendarGrid } from "@react-aria/calendar";
1671
1702
  import { useDateFormatter, useLocale } from "@react-aria/i18n";
1672
- import { useClassNames as useClassNames28 } from "@marigold/system";
1673
- import { jsx as jsx55 } from "react/jsx-runtime";
1703
+ import { useClassNames as useClassNames30 } from "@marigold/system";
1704
+ import { jsx as jsx56 } from "react/jsx-runtime";
1674
1705
  function CalendarGridHeader(props) {
1675
1706
  const state = useContext9(CalendarStateContext);
1676
1707
  const { headerProps } = useCalendarGrid(props, state);
@@ -1687,21 +1718,21 @@ function CalendarGridHeader(props) {
1687
1718
  return dayFormatter.format(dateDay);
1688
1719
  });
1689
1720
  }, [locale, state.timeZone, dayFormatter]);
1690
- const classNames2 = useClassNames28({ component: "Calendar" });
1691
- return /* @__PURE__ */ jsx55("thead", { ...headerProps, children: /* @__PURE__ */ jsx55("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx55("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1721
+ const classNames2 = useClassNames30({ component: "Calendar" });
1722
+ return /* @__PURE__ */ jsx56("thead", { ...headerProps, children: /* @__PURE__ */ jsx56("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx56("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1692
1723
  }
1693
1724
 
1694
1725
  // src/Calendar/CalendarGrid.tsx
1695
- import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
1726
+ import { jsx as jsx57, jsxs as jsxs19 } from "react/jsx-runtime";
1696
1727
  var _CalendarGrid = () => {
1697
- const classNames2 = useClassNames29({ component: "Calendar" });
1728
+ const classNames2 = useClassNames31({ component: "Calendar" });
1698
1729
  return /* @__PURE__ */ jsxs19(CalendarGrid, { className: classNames2.calendarGrid, children: [
1699
- /* @__PURE__ */ jsx56(CalendarGridHeader, {}),
1700
- /* @__PURE__ */ jsx56(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx56(
1730
+ /* @__PURE__ */ jsx57(CalendarGridHeader, {}),
1731
+ /* @__PURE__ */ jsx57(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx57(
1701
1732
  CalendarCell,
1702
1733
  {
1703
1734
  date,
1704
- className: cn31(
1735
+ className: cn33(
1705
1736
  "flex h-[30px] w-[30px] cursor-pointer items-center justify-center rounded-full p-[5.3px] text-sm font-normal aria-disabled:cursor-default",
1706
1737
  classNames2.calendarCell
1707
1738
  )
@@ -1713,7 +1744,7 @@ var _CalendarGrid = () => {
1713
1744
  // src/Calendar/CalendarListBox.tsx
1714
1745
  import { useContext as useContext10 } from "react";
1715
1746
  import { CalendarStateContext as CalendarStateContext2 } from "react-aria-components";
1716
- import { cn as cn32, useClassNames as useClassNames30 } from "@marigold/system";
1747
+ import { cn as cn34, useClassNames as useClassNames32 } from "@marigold/system";
1717
1748
 
1718
1749
  // src/Calendar/useFormattedMonths.tsx
1719
1750
  import { useDateFormatter as useDateFormatter2 } from "@react-aria/i18n";
@@ -1732,7 +1763,7 @@ function useFormattedMonths(timeZone, focusedDate) {
1732
1763
  }
1733
1764
 
1734
1765
  // src/Calendar/CalendarListBox.tsx
1735
- import { jsx as jsx57, jsxs as jsxs20 } from "react/jsx-runtime";
1766
+ import { jsx as jsx58, jsxs as jsxs20 } from "react/jsx-runtime";
1736
1767
  function CalendarListBox({
1737
1768
  type,
1738
1769
  isDisabled,
@@ -1741,57 +1772,51 @@ function CalendarListBox({
1741
1772
  const state = useContext10(CalendarStateContext2);
1742
1773
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
1743
1774
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
1744
- const { select: selectClassNames } = useClassNames30({ component: "Select" });
1775
+ const { select: selectClassNames } = useClassNames32({ component: "Select" });
1745
1776
  return /* @__PURE__ */ jsxs20(
1746
1777
  "button",
1747
1778
  {
1748
1779
  disabled: isDisabled,
1749
1780
  onClick: () => setSelectedDropdown(type),
1750
- className: cn32(buttonStyles, selectClassNames),
1781
+ className: cn34(buttonStyles, selectClassNames),
1751
1782
  "data-testid": type,
1752
1783
  children: [
1753
1784
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
1754
- /* @__PURE__ */ jsx57(ChevronDown, {})
1785
+ /* @__PURE__ */ jsx58(ChevronDown, {})
1755
1786
  ]
1756
1787
  }
1757
1788
  );
1758
1789
  }
1759
1790
 
1760
1791
  // src/Calendar/MonthControls.tsx
1761
- import { Button as Button4 } from "react-aria-components";
1762
- import { cn as cn33, useClassNames as useClassNames31 } from "@marigold/system";
1763
- import { jsx as jsx58, jsxs as jsxs21 } from "react/jsx-runtime";
1792
+ import { cn as cn35, useClassNames as useClassNames33 } from "@marigold/system";
1793
+ import { jsx as jsx59, jsxs as jsxs21 } from "react/jsx-runtime";
1764
1794
  function MonthControls() {
1765
- const classNames2 = useClassNames31({ component: "Calendar" });
1766
- const buttonClassNames = useClassNames31({ component: "Button" });
1795
+ const classNames2 = useClassNames33({ component: "Calendar" });
1767
1796
  return /* @__PURE__ */ jsxs21(
1768
1797
  "div",
1769
1798
  {
1770
- className: cn33(
1771
- "flex w-full flex-nowrap justify-end gap-[10px] [&_button:disabled]:cursor-not-allowed [&_button]:px-2 [&_button]:py-1",
1799
+ className: cn35(
1800
+ "flex w-full flex-nowrap justify-end gap-[10px] [&_button]:px-2 [&_button]:py-1 [&_button:disabled]:cursor-not-allowed",
1772
1801
  classNames2.calendarControllers
1773
1802
  ),
1774
1803
  children: [
1775
- /* @__PURE__ */ jsx58(
1776
- Button4,
1804
+ /* @__PURE__ */ jsx59(
1805
+ IconButton,
1777
1806
  {
1778
- className: cn33(
1779
- "inline-flex items-center justify-center gap-[0.5ch]",
1780
- buttonClassNames
1781
- ),
1807
+ className: cn35("inline-flex items-center justify-center gap-[0.5ch]"),
1808
+ variant: "navigation",
1782
1809
  slot: "previous",
1783
- children: /* @__PURE__ */ jsx58(ChevronLeft, {})
1810
+ children: /* @__PURE__ */ jsx59(ChevronLeft, {})
1784
1811
  }
1785
1812
  ),
1786
- /* @__PURE__ */ jsx58(
1787
- Button4,
1813
+ /* @__PURE__ */ jsx59(
1814
+ IconButton,
1788
1815
  {
1789
- className: cn33(
1790
- "inline-flex items-center justify-center gap-[0.5ch]",
1791
- buttonClassNames
1792
- ),
1816
+ className: cn35("inline-flex items-center justify-center gap-[0.5ch]"),
1817
+ variant: "navigation",
1793
1818
  slot: "next",
1794
- children: /* @__PURE__ */ jsx58(ChevronRight, {})
1819
+ children: /* @__PURE__ */ jsx59(ChevronRight, {})
1795
1820
  }
1796
1821
  )
1797
1822
  ]
@@ -1803,7 +1828,7 @@ var MonthControls_default = MonthControls;
1803
1828
  // src/Calendar/MonthListBox.tsx
1804
1829
  import { useContext as useContext11 } from "react";
1805
1830
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
1806
- import { jsx as jsx59 } from "react/jsx-runtime";
1831
+ import { jsx as jsx60 } from "react/jsx-runtime";
1807
1832
  var MonthListBox = ({ setSelectedDropdown }) => {
1808
1833
  const state = useContext11(CalendarStateContext3);
1809
1834
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
@@ -1812,13 +1837,13 @@ var MonthListBox = ({ setSelectedDropdown }) => {
1812
1837
  let date = state.focusedDate.set({ month: value });
1813
1838
  state.setFocusedDate(date);
1814
1839
  };
1815
- return /* @__PURE__ */ jsx59(
1840
+ return /* @__PURE__ */ jsx60(
1816
1841
  "ul",
1817
1842
  {
1818
1843
  "data-testid": "monthOptions",
1819
1844
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1820
1845
  children: months.map((month, index) => {
1821
- return /* @__PURE__ */ jsx59("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx59(
1846
+ return /* @__PURE__ */ jsx60("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx60(
1822
1847
  _Button,
1823
1848
  {
1824
1849
  slot: "previous",
@@ -1846,7 +1871,7 @@ import {
1846
1871
  } from "react";
1847
1872
  import { CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
1848
1873
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
1849
- import { jsx as jsx60 } from "react/jsx-runtime";
1874
+ import { jsx as jsx61 } from "react/jsx-runtime";
1850
1875
  var YearListBox = ({ setSelectedDropdown }) => {
1851
1876
  const state = useContext12(CalendarStateContext4);
1852
1877
  const years = [];
@@ -1876,19 +1901,19 @@ var YearListBox = ({ setSelectedDropdown }) => {
1876
1901
  let date = years[index].value;
1877
1902
  state.setFocusedDate(date);
1878
1903
  };
1879
- return /* @__PURE__ */ jsx60(
1904
+ return /* @__PURE__ */ jsx61(
1880
1905
  "ul",
1881
1906
  {
1882
1907
  "data-testid": "yearOptions",
1883
1908
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1884
1909
  children: years.map((year, index) => {
1885
1910
  const isActive = +year.formatted === state.focusedDate.year;
1886
- return /* @__PURE__ */ jsx60("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx60(
1911
+ return /* @__PURE__ */ jsx61("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx61(
1887
1912
  "div",
1888
1913
  {
1889
1914
  ref: isActive ? activeButtonRef : null,
1890
1915
  style: { height: "100%", width: "100%" },
1891
- children: /* @__PURE__ */ jsx60(
1916
+ children: /* @__PURE__ */ jsx61(
1892
1917
  _Button,
1893
1918
  {
1894
1919
  slot: "previous",
@@ -1913,7 +1938,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
1913
1938
  var YearListBox_default = YearListBox;
1914
1939
 
1915
1940
  // src/Calendar/Calendar.tsx
1916
- import { Fragment as Fragment5, jsx as jsx61, jsxs as jsxs22 } from "react/jsx-runtime";
1941
+ import { Fragment as Fragment5, jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
1917
1942
  var _Calendar = ({
1918
1943
  disabled,
1919
1944
  readOnly,
@@ -1928,24 +1953,24 @@ var _Calendar = ({
1928
1953
  isDateUnavailable: dateUnavailable,
1929
1954
  ...rest
1930
1955
  };
1931
- const classNames2 = useClassNames32({ component: "Calendar" });
1956
+ const classNames2 = useClassNames34({ component: "Calendar" });
1932
1957
  const [selectedDropdown, setSelectedDropdown] = useState();
1933
1958
  const ViewMap = {
1934
- month: /* @__PURE__ */ jsx61(MonthListBox_default, { setSelectedDropdown }),
1935
- year: /* @__PURE__ */ jsx61(YearListBox_default, { setSelectedDropdown })
1959
+ month: /* @__PURE__ */ jsx62(MonthListBox_default, { setSelectedDropdown }),
1960
+ year: /* @__PURE__ */ jsx62(YearListBox_default, { setSelectedDropdown })
1936
1961
  };
1937
- return /* @__PURE__ */ jsx61(
1962
+ return /* @__PURE__ */ jsx62(
1938
1963
  Calendar,
1939
1964
  {
1940
- className: cn34(
1941
- "flex min-h-[350px] w-[360px] flex-col rounded-xs p-4",
1965
+ className: cn36(
1966
+ "flex min-h-[350px] w-fit flex-col rounded-xs p-4",
1942
1967
  classNames2.calendar
1943
1968
  ),
1944
1969
  ...props,
1945
1970
  children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs22(Fragment5, { children: [
1946
1971
  /* @__PURE__ */ jsxs22("div", { className: "mb-4 flex items-center justify-between", children: [
1947
- /* @__PURE__ */ jsxs22("div", { className: "flex w-full gap-4", children: [
1948
- /* @__PURE__ */ jsx61(
1972
+ /* @__PURE__ */ jsxs22("div", { className: "flex w-fit gap-4", children: [
1973
+ /* @__PURE__ */ jsx62(
1949
1974
  CalendarListBox,
1950
1975
  {
1951
1976
  type: "month",
@@ -1953,7 +1978,7 @@ var _Calendar = ({
1953
1978
  setSelectedDropdown
1954
1979
  }
1955
1980
  ),
1956
- /* @__PURE__ */ jsx61(
1981
+ /* @__PURE__ */ jsx62(
1957
1982
  CalendarListBox,
1958
1983
  {
1959
1984
  type: "year",
@@ -1962,9 +1987,9 @@ var _Calendar = ({
1962
1987
  }
1963
1988
  )
1964
1989
  ] }),
1965
- /* @__PURE__ */ jsx61(MonthControls_default, {})
1990
+ /* @__PURE__ */ jsx62(MonthControls_default, {})
1966
1991
  ] }),
1967
- /* @__PURE__ */ jsx61(_CalendarGrid, {})
1992
+ /* @__PURE__ */ jsx62(_CalendarGrid, {})
1968
1993
  ] })
1969
1994
  }
1970
1995
  );
@@ -1973,8 +1998,8 @@ var _Calendar = ({
1973
1998
  // src/DatePicker/DatePicker.tsx
1974
1999
  import React6 from "react";
1975
2000
  import { DatePicker } from "react-aria-components";
1976
- import { useClassNames as useClassNames33 } from "@marigold/system";
1977
- import { jsx as jsx62, jsxs as jsxs23 } from "react/jsx-runtime";
2001
+ import { useClassNames as useClassNames35 } from "@marigold/system";
2002
+ import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
1978
2003
  var _DatePicker = React6.forwardRef(
1979
2004
  ({
1980
2005
  dateUnavailable,
@@ -1998,7 +2023,7 @@ var _DatePicker = React6.forwardRef(
1998
2023
  granularity,
1999
2024
  ...rest
2000
2025
  };
2001
- const classNames2 = useClassNames33({
2026
+ const classNames2 = useClassNames35({
2002
2027
  component: "DatePicker",
2003
2028
  size,
2004
2029
  variant
@@ -2012,31 +2037,23 @@ var _DatePicker = React6.forwardRef(
2012
2037
  ...props,
2013
2038
  ref,
2014
2039
  children: [
2015
- /* @__PURE__ */ jsx62(
2040
+ /* @__PURE__ */ jsx63(
2016
2041
  _DateInput,
2017
2042
  {
2018
- action: /* @__PURE__ */ jsx62("div", { className: classNames2.container, children: /* @__PURE__ */ jsx62(
2019
- _Button,
2043
+ action: /* @__PURE__ */ jsx63(IconButton, { className: classNames2, children: /* @__PURE__ */ jsx63(
2044
+ "svg",
2020
2045
  {
2021
- size: "small",
2022
- disabled,
2023
- className: classNames2.button,
2024
- children: /* @__PURE__ */ jsx62(
2025
- "svg",
2026
- {
2027
- "data-testid": "action",
2028
- viewBox: "0 0 24 24",
2029
- width: 24,
2030
- height: 24,
2031
- fill: "currentColor",
2032
- children: /* @__PURE__ */ jsx62("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
2033
- }
2034
- )
2046
+ "data-testid": "action",
2047
+ viewBox: "0 0 24 24",
2048
+ width: 24,
2049
+ height: 24,
2050
+ fill: "currentColor",
2051
+ children: /* @__PURE__ */ jsx63("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
2035
2052
  }
2036
2053
  ) })
2037
2054
  }
2038
2055
  ),
2039
- /* @__PURE__ */ jsx62(_Popover, { children: /* @__PURE__ */ jsx62(_Calendar, { disabled }) })
2056
+ /* @__PURE__ */ jsx63(_Popover, { children: /* @__PURE__ */ jsx63(_Calendar, { disabled }) })
2040
2057
  ]
2041
2058
  }
2042
2059
  );
@@ -2045,16 +2062,16 @@ var _DatePicker = React6.forwardRef(
2045
2062
 
2046
2063
  // src/Inset/Inset.tsx
2047
2064
  import {
2048
- cn as cn35,
2065
+ cn as cn37,
2049
2066
  paddingSpace as paddingSpace2,
2050
2067
  paddingSpaceX as paddingSpaceX2,
2051
2068
  paddingSpaceY as paddingSpaceY2
2052
2069
  } from "@marigold/system";
2053
- import { jsx as jsx63 } from "react/jsx-runtime";
2054
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx63(
2070
+ import { jsx as jsx64 } from "react/jsx-runtime";
2071
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx64(
2055
2072
  "div",
2056
2073
  {
2057
- className: cn35(
2074
+ className: cn37(
2058
2075
  space && paddingSpace2[space],
2059
2076
  !space && spaceX && paddingSpaceX2[spaceX],
2060
2077
  !space && spaceY && paddingSpaceY2[spaceY]
@@ -2066,21 +2083,21 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx63(
2066
2083
  // src/Link/Link.tsx
2067
2084
  import { forwardRef as forwardRef17 } from "react";
2068
2085
  import { Link } from "react-aria-components";
2069
- import { useClassNames as useClassNames34 } from "@marigold/system";
2070
- import { jsx as jsx64 } from "react/jsx-runtime";
2086
+ import { useClassNames as useClassNames36 } from "@marigold/system";
2087
+ import { jsx as jsx65 } from "react/jsx-runtime";
2071
2088
  var _Link = forwardRef17(
2072
2089
  ({ variant, size, disabled, children, ...props }, ref) => {
2073
- const classNames2 = useClassNames34({
2090
+ const classNames2 = useClassNames36({
2074
2091
  component: "Link",
2075
2092
  variant,
2076
2093
  size
2077
2094
  });
2078
- return /* @__PURE__ */ jsx64(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2095
+ return /* @__PURE__ */ jsx65(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2079
2096
  }
2080
2097
  );
2081
2098
 
2082
2099
  // src/List/List.tsx
2083
- import { useClassNames as useClassNames35 } from "@marigold/system";
2100
+ import { useClassNames as useClassNames37 } from "@marigold/system";
2084
2101
 
2085
2102
  // src/List/Context.ts
2086
2103
  import { createContext as createContext6, useContext as useContext13 } from "react";
@@ -2088,14 +2105,14 @@ var ListContext = createContext6({});
2088
2105
  var useListContext = () => useContext13(ListContext);
2089
2106
 
2090
2107
  // src/List/ListItem.tsx
2091
- import { jsx as jsx65 } from "react/jsx-runtime";
2108
+ import { jsx as jsx66 } from "react/jsx-runtime";
2092
2109
  var ListItem = ({ children, ...props }) => {
2093
2110
  const { classNames: classNames2 } = useListContext();
2094
- return /* @__PURE__ */ jsx65("li", { ...props, className: classNames2, children });
2111
+ return /* @__PURE__ */ jsx66("li", { ...props, className: classNames2, children });
2095
2112
  };
2096
2113
 
2097
2114
  // src/List/List.tsx
2098
- import { jsx as jsx66 } from "react/jsx-runtime";
2115
+ import { jsx as jsx67 } from "react/jsx-runtime";
2099
2116
  var List = ({
2100
2117
  as = "ul",
2101
2118
  children,
@@ -2104,38 +2121,38 @@ var List = ({
2104
2121
  ...props
2105
2122
  }) => {
2106
2123
  const Component = as;
2107
- const classNames2 = useClassNames35({ component: "List", variant, size });
2108
- return /* @__PURE__ */ jsx66(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx66(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2124
+ const classNames2 = useClassNames37({ component: "List", variant, size });
2125
+ return /* @__PURE__ */ jsx67(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx67(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2109
2126
  };
2110
2127
  List.Item = ListItem;
2111
2128
 
2112
2129
  // src/Menu/Menu.tsx
2113
2130
  import { Menu, MenuTrigger } from "react-aria-components";
2114
- import { useClassNames as useClassNames38 } from "@marigold/system";
2131
+ import { useClassNames as useClassNames40 } from "@marigold/system";
2115
2132
 
2116
2133
  // src/Menu/MenuItem.tsx
2117
2134
  import { MenuItem } from "react-aria-components";
2118
- import { useClassNames as useClassNames36 } from "@marigold/system";
2119
- import { jsx as jsx67 } from "react/jsx-runtime";
2135
+ import { useClassNames as useClassNames38 } from "@marigold/system";
2136
+ import { jsx as jsx68 } from "react/jsx-runtime";
2120
2137
  var _MenuItem = ({ children, ...props }) => {
2121
- const classNames2 = useClassNames36({ component: "Menu" });
2122
- return /* @__PURE__ */ jsx67(MenuItem, { ...props, className: classNames2.item, children });
2138
+ const classNames2 = useClassNames38({ component: "Menu" });
2139
+ return /* @__PURE__ */ jsx68(MenuItem, { ...props, className: classNames2.item, children });
2123
2140
  };
2124
2141
 
2125
2142
  // src/Menu/MenuSection.tsx
2126
2143
  import { MenuSection } from "react-aria-components";
2127
- import { useClassNames as useClassNames37 } from "@marigold/system";
2128
- import { jsx as jsx68, jsxs as jsxs24 } from "react/jsx-runtime";
2144
+ import { useClassNames as useClassNames39 } from "@marigold/system";
2145
+ import { jsx as jsx69, jsxs as jsxs24 } from "react/jsx-runtime";
2129
2146
  var _MenuSection = ({ children, title, ...props }) => {
2130
- const className = useClassNames37({ component: "Menu" });
2147
+ const className = useClassNames39({ component: "Menu" });
2131
2148
  return /* @__PURE__ */ jsxs24(MenuSection, { ...props, children: [
2132
- /* @__PURE__ */ jsx68(_Header, { className: className.section, children: title }),
2149
+ /* @__PURE__ */ jsx69(_Header, { className: className.section, children: title }),
2133
2150
  children
2134
2151
  ] });
2135
2152
  };
2136
2153
 
2137
2154
  // src/Menu/Menu.tsx
2138
- import { jsx as jsx69, jsxs as jsxs25 } from "react/jsx-runtime";
2155
+ import { jsx as jsx70, jsxs as jsxs25 } from "react/jsx-runtime";
2139
2156
  var _Menu = ({
2140
2157
  children,
2141
2158
  label,
@@ -2147,10 +2164,10 @@ var _Menu = ({
2147
2164
  "aria-label": ariaLabel,
2148
2165
  ...props
2149
2166
  }) => {
2150
- const classNames2 = useClassNames38({ component: "Menu", variant, size });
2167
+ const classNames2 = useClassNames40({ component: "Menu", variant, size });
2151
2168
  return /* @__PURE__ */ jsxs25(MenuTrigger, { ...props, children: [
2152
- /* @__PURE__ */ jsx69(_Button, { variant: "menu", disabled, "aria-label": ariaLabel, children: label }),
2153
- /* @__PURE__ */ jsx69(_Popover, { open, placement, children: /* @__PURE__ */ jsx69(Menu, { ...props, className: classNames2.container, children }) })
2169
+ /* @__PURE__ */ jsx70(_Button, { variant: "menu", disabled, "aria-label": ariaLabel, children: label }),
2170
+ /* @__PURE__ */ jsx70(_Popover, { open, placement, children: /* @__PURE__ */ jsx70(Menu, { ...props, className: classNames2.container, children }) })
2154
2171
  ] });
2155
2172
  };
2156
2173
  _Menu.Item = _MenuItem;
@@ -2158,25 +2175,25 @@ _Menu.Section = _MenuSection;
2158
2175
 
2159
2176
  // src/Menu/ActionMenu.tsx
2160
2177
  import { Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
2161
- import { SVG as SVG8, useClassNames as useClassNames39 } from "@marigold/system";
2162
- import { jsx as jsx70, jsxs as jsxs26 } from "react/jsx-runtime";
2178
+ import { SVG as SVG8, useClassNames as useClassNames41 } from "@marigold/system";
2179
+ import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
2163
2180
  var ActionMenu = ({
2164
2181
  variant,
2165
2182
  size,
2166
2183
  disabled,
2167
2184
  ...props
2168
2185
  }) => {
2169
- const classNames2 = useClassNames39({ component: "Menu", variant, size });
2186
+ const classNames2 = useClassNames41({ component: "Menu", variant, size });
2170
2187
  return /* @__PURE__ */ jsxs26(MenuTrigger2, { children: [
2171
- /* @__PURE__ */ jsx70(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx70(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx70("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2172
- /* @__PURE__ */ jsx70(_Popover, { children: /* @__PURE__ */ jsx70(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2188
+ /* @__PURE__ */ jsx71(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx71(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx71("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2189
+ /* @__PURE__ */ jsx71(_Popover, { children: /* @__PURE__ */ jsx71(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2173
2190
  ] });
2174
2191
  };
2175
2192
 
2176
2193
  // src/SectionMessage/SectionMessage.tsx
2177
2194
  import { useRef as useRef2, useState as useState2 } from "react";
2178
2195
  import { useButton } from "@react-aria/button";
2179
- import { cn as cn38, useClassNames as useClassNames40 } from "@marigold/system";
2196
+ import { cn as cn40, useClassNames as useClassNames42 } from "@marigold/system";
2180
2197
 
2181
2198
  // src/SectionMessage/Context.tsx
2182
2199
  import { createContext as createContext7, useContext as useContext14 } from "react";
@@ -2184,33 +2201,33 @@ var SectionMessageContext = createContext7({});
2184
2201
  var useSectionMessageContext = () => useContext14(SectionMessageContext);
2185
2202
 
2186
2203
  // src/SectionMessage/SectionMessageContent.tsx
2187
- import { cn as cn36 } from "@marigold/system";
2188
- import { jsx as jsx71 } from "react/jsx-runtime";
2204
+ import { cn as cn38 } from "@marigold/system";
2205
+ import { jsx as jsx72 } from "react/jsx-runtime";
2189
2206
  var SectionMessageContent = ({
2190
2207
  children
2191
2208
  }) => {
2192
2209
  const { classNames: classNames2 } = useSectionMessageContext();
2193
- return /* @__PURE__ */ jsx71("div", { className: cn36("[grid-area:content]", classNames2.content), children });
2210
+ return /* @__PURE__ */ jsx72("div", { className: cn38("[grid-area:content]", classNames2.content), children });
2194
2211
  };
2195
2212
 
2196
2213
  // src/SectionMessage/SectionMessageTitle.tsx
2197
- import { cn as cn37 } from "@marigold/system";
2198
- import { jsx as jsx72 } from "react/jsx-runtime";
2214
+ import { cn as cn39 } from "@marigold/system";
2215
+ import { jsx as jsx73 } from "react/jsx-runtime";
2199
2216
  var SectionMessageTitle = ({ children }) => {
2200
2217
  const { classNames: classNames2 } = useSectionMessageContext();
2201
- return /* @__PURE__ */ jsx72("div", { className: cn37("[grid-area:title]", classNames2.title), children });
2218
+ return /* @__PURE__ */ jsx73("div", { className: cn39("[grid-area:title]", classNames2.title), children });
2202
2219
  };
2203
2220
 
2204
2221
  // src/SectionMessage/SectionMessage.tsx
2205
- import { jsx as jsx73, jsxs as jsxs27 } from "react/jsx-runtime";
2222
+ import { jsx as jsx74, jsxs as jsxs27 } from "react/jsx-runtime";
2206
2223
  var icons = {
2207
- success: () => /* @__PURE__ */ jsx73(
2224
+ success: () => /* @__PURE__ */ jsx74(
2208
2225
  "svg",
2209
2226
  {
2210
2227
  xmlns: "http://www.w3.org/2000/svg",
2211
2228
  viewBox: "0 0 24 24",
2212
2229
  fill: "currentColor",
2213
- children: /* @__PURE__ */ jsx73(
2230
+ children: /* @__PURE__ */ jsx74(
2214
2231
  "path",
2215
2232
  {
2216
2233
  fillRule: "evenodd",
@@ -2220,13 +2237,13 @@ var icons = {
2220
2237
  )
2221
2238
  }
2222
2239
  ),
2223
- info: () => /* @__PURE__ */ jsx73(
2240
+ info: () => /* @__PURE__ */ jsx74(
2224
2241
  "svg",
2225
2242
  {
2226
2243
  xmlns: "http://www.w3.org/2000/svg",
2227
2244
  viewBox: "0 0 24 24",
2228
2245
  fill: "currentColor",
2229
- children: /* @__PURE__ */ jsx73(
2246
+ children: /* @__PURE__ */ jsx74(
2230
2247
  "path",
2231
2248
  {
2232
2249
  fillRule: "evenodd",
@@ -2236,13 +2253,13 @@ var icons = {
2236
2253
  )
2237
2254
  }
2238
2255
  ),
2239
- warning: () => /* @__PURE__ */ jsx73(
2256
+ warning: () => /* @__PURE__ */ jsx74(
2240
2257
  "svg",
2241
2258
  {
2242
2259
  xmlns: "http://www.w3.org/2000/svg",
2243
2260
  viewBox: "0 0 24 24",
2244
2261
  fill: "currentColor",
2245
- children: /* @__PURE__ */ jsx73(
2262
+ children: /* @__PURE__ */ jsx74(
2246
2263
  "path",
2247
2264
  {
2248
2265
  fillRule: "evenodd",
@@ -2252,13 +2269,13 @@ var icons = {
2252
2269
  )
2253
2270
  }
2254
2271
  ),
2255
- error: () => /* @__PURE__ */ jsx73(
2272
+ error: () => /* @__PURE__ */ jsx74(
2256
2273
  "svg",
2257
2274
  {
2258
2275
  xmlns: "http://www.w3.org/2000/svg",
2259
2276
  viewBox: "0 0 24 24",
2260
2277
  fill: "currentColor",
2261
- children: /* @__PURE__ */ jsx73(
2278
+ children: /* @__PURE__ */ jsx74(
2262
2279
  "path",
2263
2280
  {
2264
2281
  fillRule: "evenodd",
@@ -2279,7 +2296,7 @@ var SectionMessage = ({
2279
2296
  ...props
2280
2297
  }) => {
2281
2298
  const buttonRef = useRef2(null);
2282
- const classNames2 = useClassNames40({
2299
+ const classNames2 = useClassNames42({
2283
2300
  component: "SectionMessage",
2284
2301
  variant,
2285
2302
  size
@@ -2295,32 +2312,23 @@ var SectionMessage = ({
2295
2312
  }
2296
2313
  };
2297
2314
  if (!isCurrentlyVisible) return null;
2298
- return /* @__PURE__ */ jsx73(SectionMessageContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsxs27(
2315
+ return /* @__PURE__ */ jsx74(SectionMessageContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsxs27(
2299
2316
  "div",
2300
2317
  {
2301
2318
  role: variant === "error" ? "alert" : void 0,
2302
2319
  ...props,
2303
- className: cn38("grid auto-rows-min", classNames2.container),
2320
+ className: cn40("grid auto-rows-min", classNames2.container),
2304
2321
  children: [
2305
- /* @__PURE__ */ jsx73(
2306
- "div",
2307
- {
2308
- className: cn38(
2309
- "h-5 w-5 self-center [grid-area:icon]",
2310
- classNames2.icon
2311
- ),
2312
- children: Icon4 && /* @__PURE__ */ jsx73(Icon4, {})
2313
- }
2314
- ),
2315
- closeButton && /* @__PURE__ */ jsx73(
2322
+ /* @__PURE__ */ jsx74("div", { className: cn40("[grid-area:icon]", classNames2.icon), children: Icon4 && /* @__PURE__ */ jsx74(Icon4, {}) }),
2323
+ closeButton && /* @__PURE__ */ jsx74("div", { className: "h-6 w-6 text-center", children: /* @__PURE__ */ jsx74(
2316
2324
  "button",
2317
2325
  {
2318
2326
  ...buttonProps,
2319
2327
  ref: buttonRef,
2320
2328
  "aria-label": "close",
2321
- className: "h-5 w-5 cursor-pointer border-none p-0 leading-normal outline-0 [grid-area:close]",
2329
+ className: cn40("[grid-area:close]", classNames2.close),
2322
2330
  onClick: handleClose,
2323
- children: /* @__PURE__ */ jsx73("svg", { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx73(
2331
+ children: /* @__PURE__ */ jsx74("svg", { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx74(
2324
2332
  "path",
2325
2333
  {
2326
2334
  fillRule: "evenodd",
@@ -2329,7 +2337,7 @@ var SectionMessage = ({
2329
2337
  }
2330
2338
  ) })
2331
2339
  }
2332
- ),
2340
+ ) }),
2333
2341
  children
2334
2342
  ]
2335
2343
  }
@@ -2344,12 +2352,12 @@ import { useListData as useListData2 } from "@react-stately/data";
2344
2352
 
2345
2353
  // src/TagGroup/Tag.tsx
2346
2354
  import { Button as Button5, Tag } from "react-aria-components";
2347
- import { cn as cn39, useClassNames as useClassNames42 } from "@marigold/system";
2355
+ import { cn as cn41, useClassNames as useClassNames44 } from "@marigold/system";
2348
2356
 
2349
2357
  // src/TagGroup/TagGroup.tsx
2350
2358
  import { TagGroup, TagList } from "react-aria-components";
2351
- import { useClassNames as useClassNames41 } from "@marigold/system";
2352
- import { jsx as jsx74 } from "react/jsx-runtime";
2359
+ import { useClassNames as useClassNames43 } from "@marigold/system";
2360
+ import { jsx as jsx75 } from "react/jsx-runtime";
2353
2361
  var _TagGroup = ({
2354
2362
  width,
2355
2363
  items,
@@ -2359,8 +2367,8 @@ var _TagGroup = ({
2359
2367
  size,
2360
2368
  ...rest
2361
2369
  }) => {
2362
- const classNames2 = useClassNames41({ component: "Tag", variant, size });
2363
- return /* @__PURE__ */ jsx74(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx74(
2370
+ const classNames2 = useClassNames43({ component: "Tag", variant, size });
2371
+ return /* @__PURE__ */ jsx75(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx75(
2364
2372
  TagList,
2365
2373
  {
2366
2374
  items,
@@ -2372,25 +2380,25 @@ var _TagGroup = ({
2372
2380
  };
2373
2381
 
2374
2382
  // src/TagGroup/Tag.tsx
2375
- import { Fragment as Fragment6, jsx as jsx75, jsxs as jsxs28 } from "react/jsx-runtime";
2383
+ import { Fragment as Fragment6, jsx as jsx76, jsxs as jsxs28 } from "react/jsx-runtime";
2376
2384
  var CloseButton2 = ({ className }) => {
2377
- return /* @__PURE__ */ jsx75(Button5, { slot: "remove", className, children: /* @__PURE__ */ jsx75("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx75("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2385
+ return /* @__PURE__ */ jsx76(Button5, { slot: "remove", className, children: /* @__PURE__ */ jsx76("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx76("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2378
2386
  };
2379
2387
  var _Tag = ({ variant, size, children, ...props }) => {
2380
2388
  let textValue = typeof children === "string" ? children : void 0;
2381
- const classNames2 = useClassNames42({ component: "Tag", variant, size });
2382
- return /* @__PURE__ */ jsx75(
2389
+ const classNames2 = useClassNames44({ component: "Tag", variant, size });
2390
+ return /* @__PURE__ */ jsx76(
2383
2391
  Tag,
2384
2392
  {
2385
2393
  textValue,
2386
2394
  ...props,
2387
- className: cn39("data-selection-mode:cursor-pointer", classNames2.tag),
2395
+ className: cn41("data-selection-mode:cursor-pointer", classNames2.tag),
2388
2396
  children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs28(Fragment6, { children: [
2389
2397
  children,
2390
- allowsRemoving && /* @__PURE__ */ jsx75(
2398
+ allowsRemoving && /* @__PURE__ */ jsx76(
2391
2399
  CloseButton2,
2392
2400
  {
2393
- className: cn39("flex items-center", classNames2.closeButton)
2401
+ className: cn41("flex items-center", classNames2.closeButton)
2394
2402
  }
2395
2403
  )
2396
2404
  ] })
@@ -2400,7 +2408,7 @@ var _Tag = ({ variant, size, children, ...props }) => {
2400
2408
  _Tag.Group = _TagGroup;
2401
2409
 
2402
2410
  // src/Multiselect/Multiselect.tsx
2403
- import { jsx as jsx76, jsxs as jsxs29 } from "react/jsx-runtime";
2411
+ import { jsx as jsx77, jsxs as jsxs29 } from "react/jsx-runtime";
2404
2412
  var Item = (_) => null;
2405
2413
  var Multiselect = ({
2406
2414
  label,
@@ -2439,17 +2447,17 @@ var Multiselect = ({
2439
2447
  input.focus();
2440
2448
  };
2441
2449
  return /* @__PURE__ */ jsxs29("div", { className: "flex flex-wrap gap-1", children: [
2442
- /* @__PURE__ */ jsx76(
2450
+ /* @__PURE__ */ jsx77(
2443
2451
  _Tag.Group,
2444
2452
  {
2445
2453
  items: selected,
2446
2454
  allowsRemoving: true,
2447
2455
  onRemove: setUnselected,
2448
2456
  renderEmptyState: () => null,
2449
- children: (item) => /* @__PURE__ */ jsx76(_Tag, { id: item.id, children: item.children }, item.id)
2457
+ children: (item) => /* @__PURE__ */ jsx77(_Tag, { id: item.id, children: item.children }, item.id)
2450
2458
  }
2451
2459
  ),
2452
- /* @__PURE__ */ jsx76(
2460
+ /* @__PURE__ */ jsx77(
2453
2461
  _ComboBox,
2454
2462
  {
2455
2463
  value,
@@ -2459,7 +2467,7 @@ var Multiselect = ({
2459
2467
  disabled: unselected.length === 0,
2460
2468
  placeholder: unselected.length === 0 ? "All items selected" : "",
2461
2469
  ...props,
2462
- children: unselected.map((item) => /* @__PURE__ */ jsx76(_ComboBox.Option, { id: item.id, children: item.children }, item.id))
2470
+ children: unselected.map((item) => /* @__PURE__ */ jsx77(_ComboBox.Option, { id: item.id, children: item.children }, item.id))
2463
2471
  }
2464
2472
  )
2465
2473
  ] });
@@ -2469,13 +2477,13 @@ Multiselect.Item = Item;
2469
2477
  // src/NumberField/NumberField.tsx
2470
2478
  import { forwardRef as forwardRef18 } from "react";
2471
2479
  import { Group as Group2, NumberField } from "react-aria-components";
2472
- import { cn as cn41, useClassNames as useClassNames43 } from "@marigold/system";
2480
+ import { cn as cn43, useClassNames as useClassNames45 } from "@marigold/system";
2473
2481
 
2474
2482
  // src/NumberField/StepButton.tsx
2475
2483
  import { Button as Button6 } from "react-aria-components";
2476
- import { cn as cn40 } from "@marigold/system";
2477
- import { jsx as jsx77 } from "react/jsx-runtime";
2478
- var Plus = () => /* @__PURE__ */ jsx77("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx77(
2484
+ import { cn as cn42 } from "@marigold/system";
2485
+ import { jsx as jsx78 } from "react/jsx-runtime";
2486
+ var Plus = () => /* @__PURE__ */ jsx78("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx78(
2479
2487
  "path",
2480
2488
  {
2481
2489
  fillRule: "evenodd",
@@ -2483,7 +2491,7 @@ var Plus = () => /* @__PURE__ */ jsx77("svg", { width: 16, height: 16, viewBox:
2483
2491
  d: "M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z"
2484
2492
  }
2485
2493
  ) });
2486
- var Minus = () => /* @__PURE__ */ jsx77("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx77(
2494
+ var Minus = () => /* @__PURE__ */ jsx78("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx78(
2487
2495
  "path",
2488
2496
  {
2489
2497
  fillRule: "evenodd",
@@ -2493,10 +2501,10 @@ var Minus = () => /* @__PURE__ */ jsx77("svg", { width: 16, height: 16, viewBox:
2493
2501
  ) });
2494
2502
  var _StepButton = ({ direction, className, ...props }) => {
2495
2503
  const Icon4 = direction === "up" ? Plus : Minus;
2496
- return /* @__PURE__ */ jsx77(
2504
+ return /* @__PURE__ */ jsx78(
2497
2505
  Button6,
2498
2506
  {
2499
- className: cn40(
2507
+ className: cn42(
2500
2508
  [
2501
2509
  "flex items-center justify-center",
2502
2510
  "cursor-pointer data-disabled:cursor-not-allowed"
@@ -2504,13 +2512,13 @@ var _StepButton = ({ direction, className, ...props }) => {
2504
2512
  className
2505
2513
  ),
2506
2514
  ...props,
2507
- children: /* @__PURE__ */ jsx77(Icon4, {})
2515
+ children: /* @__PURE__ */ jsx78(Icon4, {})
2508
2516
  }
2509
2517
  );
2510
2518
  };
2511
2519
 
2512
2520
  // src/NumberField/NumberField.tsx
2513
- import { jsx as jsx78, jsxs as jsxs30 } from "react/jsx-runtime";
2521
+ import { jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
2514
2522
  var _NumberField = forwardRef18(
2515
2523
  ({
2516
2524
  variant,
@@ -2522,7 +2530,7 @@ var _NumberField = forwardRef18(
2522
2530
  hideStepper,
2523
2531
  ...rest
2524
2532
  }, ref) => {
2525
- const classNames2 = useClassNames43({
2533
+ const classNames2 = useClassNames45({
2526
2534
  component: "NumberField",
2527
2535
  size,
2528
2536
  variant
@@ -2535,8 +2543,8 @@ var _NumberField = forwardRef18(
2535
2543
  ...rest
2536
2544
  };
2537
2545
  const showStepper = !hideStepper;
2538
- return /* @__PURE__ */ jsx78(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs30(Group2, { className: cn41("flex items-stretch", classNames2.group), children: [
2539
- showStepper && /* @__PURE__ */ jsx78(
2546
+ return /* @__PURE__ */ jsx79(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs30(Group2, { className: cn43("flex items-stretch", classNames2.group), children: [
2547
+ showStepper && /* @__PURE__ */ jsx79(
2540
2548
  _StepButton,
2541
2549
  {
2542
2550
  className: classNames2.stepper,
@@ -2544,7 +2552,7 @@ var _NumberField = forwardRef18(
2544
2552
  slot: "decrement"
2545
2553
  }
2546
2554
  ),
2547
- /* @__PURE__ */ jsx78("div", { className: "flex-1", children: /* @__PURE__ */ jsx78(
2555
+ /* @__PURE__ */ jsx79("div", { className: "flex-1", children: /* @__PURE__ */ jsx79(
2548
2556
  _Input,
2549
2557
  {
2550
2558
  ref,
@@ -2553,7 +2561,7 @@ var _NumberField = forwardRef18(
2553
2561
  className: classNames2.input
2554
2562
  }
2555
2563
  ) }),
2556
- showStepper && /* @__PURE__ */ jsx78(
2564
+ showStepper && /* @__PURE__ */ jsx79(
2557
2565
  _StepButton,
2558
2566
  {
2559
2567
  className: classNames2.stepper,
@@ -2567,11 +2575,12 @@ var _NumberField = forwardRef18(
2567
2575
 
2568
2576
  // src/Pagination/Pagination.tsx
2569
2577
  import { useEffect as useEffect4, useRef as useRef5, useState as useState5 } from "react";
2578
+ import { cn as cn45, useClassNames as useClassNames48 } from "@marigold/system";
2570
2579
 
2571
2580
  // src/Pagination/Ellipsis.tsx
2572
- import { jsx as jsx79 } from "react/jsx-runtime";
2581
+ import { jsx as jsx80 } from "react/jsx-runtime";
2573
2582
  var Ellipsis = () => {
2574
- return /* @__PURE__ */ jsx79(
2583
+ return /* @__PURE__ */ jsx80(
2575
2584
  "span",
2576
2585
  {
2577
2586
  className: "text-text-base flex h-8 w-8 items-center justify-center",
@@ -2584,11 +2593,11 @@ var Ellipsis = () => {
2584
2593
  // src/Pagination/NavigationButton.tsx
2585
2594
  import React7, { useEffect as useEffect2 } from "react";
2586
2595
  import { useButton as useButton2 } from "@react-aria/button";
2587
- import { cn as cn42, useClassNames as useClassNames44 } from "@marigold/system";
2596
+ import { cn as cn44, useClassNames as useClassNames46 } from "@marigold/system";
2588
2597
  import { jsxs as jsxs31 } from "react/jsx-runtime";
2589
2598
  var NavigationButton = (props) => {
2590
2599
  const ref = React7.useRef(null);
2591
- const classNames2 = useClassNames44({
2600
+ const classNames2 = useClassNames46({
2592
2601
  component: "Pagination"
2593
2602
  });
2594
2603
  let { buttonProps } = useButton2(props, ref);
@@ -2614,7 +2623,7 @@ var NavigationButton = (props) => {
2614
2623
  ...buttonProps,
2615
2624
  ...rest,
2616
2625
  disabled: isDisabled,
2617
- className: cn42(classNames2, controlLabel && "w-24 px-2"),
2626
+ className: cn44(classNames2.navigationButton, controlLabel && "w-24 px-2"),
2618
2627
  "data-selected": isSelected,
2619
2628
  children: [
2620
2629
  position === "left" && children,
@@ -2628,11 +2637,11 @@ var NavigationButton = (props) => {
2628
2637
  // src/Pagination/PageButton.tsx
2629
2638
  import { useEffect as useEffect3, useRef as useRef3 } from "react";
2630
2639
  import { useButton as useButton3 } from "@react-aria/button";
2631
- import { useClassNames as useClassNames45 } from "@marigold/system";
2632
- import { jsx as jsx80 } from "react/jsx-runtime";
2640
+ import { useClassNames as useClassNames47 } from "@marigold/system";
2641
+ import { jsx as jsx81 } from "react/jsx-runtime";
2633
2642
  var PageButton = (props) => {
2634
2643
  const ref = useRef3(null);
2635
- const classNames2 = useClassNames45({
2644
+ const classNames2 = useClassNames47({
2636
2645
  component: "Pagination"
2637
2646
  });
2638
2647
  let { buttonProps } = useButton3(props, ref);
@@ -2643,14 +2652,14 @@ var PageButton = (props) => {
2643
2652
  return () => registerRef(null);
2644
2653
  }
2645
2654
  }, [registerRef]);
2646
- return /* @__PURE__ */ jsx80(
2655
+ return /* @__PURE__ */ jsx81(
2647
2656
  "button",
2648
2657
  {
2649
2658
  ref,
2650
2659
  ...buttonProps,
2651
2660
  "aria-label": `Page ${page}`,
2652
2661
  "aria-current": selected ? "page" : void 0,
2653
- className: classNames2,
2662
+ className: classNames2.pageButton,
2654
2663
  "data-selected": selected,
2655
2664
  disabled: isDisabled,
2656
2665
  tabIndex: selected === true ? 0 : -1,
@@ -2806,7 +2815,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
2806
2815
  };
2807
2816
 
2808
2817
  // src/Pagination/Pagination.tsx
2809
- import { jsx as jsx81, jsxs as jsxs32 } from "react/jsx-runtime";
2818
+ import { jsx as jsx82, jsxs as jsxs32 } from "react/jsx-runtime";
2810
2819
  var _Pagination = ({
2811
2820
  defaultPage = 1,
2812
2821
  page,
@@ -2819,6 +2828,9 @@ var _Pagination = ({
2819
2828
  const [currentPage, setCurrentPage] = useState5(page != null ? page : defaultPage);
2820
2829
  const totalPages = Math.ceil(totalItems / pageSize);
2821
2830
  const isFirstRender = useRef5(true);
2831
+ const classNames2 = useClassNames48({
2832
+ component: "Pagination"
2833
+ });
2822
2834
  useEffect4(() => {
2823
2835
  if (isFirstRender.current) {
2824
2836
  isFirstRender.current = false;
@@ -2859,7 +2871,7 @@ var _Pagination = ({
2859
2871
  "aria-label": `Page ${currentPage} of ${totalPages}`,
2860
2872
  ...keyboardProps,
2861
2873
  children: [
2862
- /* @__PURE__ */ jsx81(
2874
+ /* @__PURE__ */ jsx82(
2863
2875
  NavigationButton,
2864
2876
  {
2865
2877
  onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
@@ -2868,11 +2880,11 @@ var _Pagination = ({
2868
2880
  registerRef: (ref) => registerRef(NavigationTypes.Prev, currentPage - 1, ref),
2869
2881
  controlLabel: controlLabels == null ? void 0 : controlLabels[0],
2870
2882
  position: "left",
2871
- children: /* @__PURE__ */ jsx81(ChevronLeft, { className: "h-5 w-5" })
2883
+ children: /* @__PURE__ */ jsx82(ChevronLeft, { className: cn45(classNames2.icon) })
2872
2884
  }
2873
2885
  ),
2874
- /* @__PURE__ */ jsx81("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
2875
- (pageNumber, index) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx81(Ellipsis, {}, `ellipsis-${index}`) : /* @__PURE__ */ jsx81(
2886
+ /* @__PURE__ */ jsx82("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
2887
+ (pageNumber, index) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx82(Ellipsis, {}, `ellipsis-${index}`) : /* @__PURE__ */ jsx82(
2876
2888
  PageButton,
2877
2889
  {
2878
2890
  page: pageNumber,
@@ -2882,8 +2894,8 @@ var _Pagination = ({
2882
2894
  },
2883
2895
  pageNumber
2884
2896
  )
2885
- ) : /* @__PURE__ */ jsx81(PageButton, { page: 1, isDisabled: true }, 1) }),
2886
- /* @__PURE__ */ jsx81(
2897
+ ) : /* @__PURE__ */ jsx82(PageButton, { page: 1, isDisabled: true }, 1) }),
2898
+ /* @__PURE__ */ jsx82(
2887
2899
  NavigationButton,
2888
2900
  {
2889
2901
  onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
@@ -2892,7 +2904,7 @@ var _Pagination = ({
2892
2904
  registerRef: (ref) => registerRef(NavigationTypes.Next, currentPage + 1, ref),
2893
2905
  controlLabel: controlLabels == null ? void 0 : controlLabels[1],
2894
2906
  position: "right",
2895
- children: /* @__PURE__ */ jsx81(ChevronRight, { className: "h-5 w-5" })
2907
+ children: /* @__PURE__ */ jsx82(ChevronRight, { className: cn45(classNames2.icon) })
2896
2908
  }
2897
2909
  )
2898
2910
  ]
@@ -2905,7 +2917,7 @@ import {
2905
2917
  forwardRef as forwardRef19
2906
2918
  } from "react";
2907
2919
  import { Radio } from "react-aria-components";
2908
- import { cn as cn44, useClassNames as useClassNames47 } from "@marigold/system";
2920
+ import { cn as cn47, useClassNames as useClassNames50 } from "@marigold/system";
2909
2921
 
2910
2922
  // src/Radio/Context.ts
2911
2923
  import { createContext as createContext8, useContext as useContext15 } from "react";
@@ -2916,8 +2928,8 @@ var useRadioGroupContext = () => useContext15(RadioGroupContext);
2916
2928
 
2917
2929
  // src/Radio/RadioGroup.tsx
2918
2930
  import { RadioGroup } from "react-aria-components";
2919
- import { cn as cn43, useClassNames as useClassNames46 } from "@marigold/system";
2920
- import { jsx as jsx82 } from "react/jsx-runtime";
2931
+ import { cn as cn46, useClassNames as useClassNames49 } from "@marigold/system";
2932
+ import { jsx as jsx83 } from "react/jsx-runtime";
2921
2933
  var _RadioGroup = ({
2922
2934
  variant,
2923
2935
  size,
@@ -2933,7 +2945,7 @@ var _RadioGroup = ({
2933
2945
  width,
2934
2946
  ...rest
2935
2947
  }) => {
2936
- const classNames2 = useClassNames46({ component: "Radio", variant, size });
2948
+ const classNames2 = useClassNames49({ component: "Radio", variant, size });
2937
2949
  const props = {
2938
2950
  isDisabled: disabled,
2939
2951
  isReadOnly: readOnly,
@@ -2941,7 +2953,7 @@ var _RadioGroup = ({
2941
2953
  isInvalid: error,
2942
2954
  ...rest
2943
2955
  };
2944
- return /* @__PURE__ */ jsx82(
2956
+ return /* @__PURE__ */ jsx83(
2945
2957
  FieldBase,
2946
2958
  {
2947
2959
  as: RadioGroup,
@@ -2952,18 +2964,18 @@ var _RadioGroup = ({
2952
2964
  variant,
2953
2965
  size,
2954
2966
  ...props,
2955
- children: /* @__PURE__ */ jsx82(
2967
+ children: /* @__PURE__ */ jsx83(
2956
2968
  "div",
2957
2969
  {
2958
2970
  role: "presentation",
2959
2971
  "data-testid": "group",
2960
2972
  "data-orientation": orientation,
2961
- className: cn43(
2973
+ className: cn46(
2962
2974
  classNames2.group,
2963
2975
  "flex items-start",
2964
2976
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
2965
2977
  ),
2966
- children: /* @__PURE__ */ jsx82(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2978
+ children: /* @__PURE__ */ jsx83(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2967
2979
  }
2968
2980
  )
2969
2981
  }
@@ -2971,33 +2983,33 @@ var _RadioGroup = ({
2971
2983
  };
2972
2984
 
2973
2985
  // src/Radio/Radio.tsx
2974
- import { Fragment as Fragment7, jsx as jsx83, jsxs as jsxs33 } from "react/jsx-runtime";
2975
- var Dot = () => /* @__PURE__ */ jsx83("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx83("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2976
- var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx83(
2986
+ import { Fragment as Fragment7, jsx as jsx84, jsxs as jsxs33 } from "react/jsx-runtime";
2987
+ var Dot = () => /* @__PURE__ */ jsx84("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx84("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2988
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx84(
2977
2989
  "div",
2978
2990
  {
2979
- className: cn44(
2991
+ className: cn47(
2980
2992
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
2981
2993
  className
2982
2994
  ),
2983
2995
  "aria-hidden": "true",
2984
2996
  ...props,
2985
- children: checked ? /* @__PURE__ */ jsx83(Dot, {}) : null
2997
+ children: checked ? /* @__PURE__ */ jsx84(Dot, {}) : null
2986
2998
  }
2987
2999
  );
2988
3000
  var _Radio = forwardRef19(
2989
3001
  ({ value, disabled, width, children, ...props }, ref) => {
2990
3002
  const { variant, size, width: groupWidth } = useRadioGroupContext();
2991
- const classNames2 = useClassNames47({
3003
+ const classNames2 = useClassNames50({
2992
3004
  component: "Radio",
2993
3005
  variant: variant || props.variant,
2994
3006
  size: size || props.size
2995
3007
  });
2996
- return /* @__PURE__ */ jsx83(
3008
+ return /* @__PURE__ */ jsx84(
2997
3009
  Radio,
2998
3010
  {
2999
3011
  ref,
3000
- className: cn44(
3012
+ className: cn47(
3001
3013
  "group/radio",
3002
3014
  "relative flex items-center gap-[1ch]",
3003
3015
  width || groupWidth || "w-full",
@@ -3007,17 +3019,17 @@ var _Radio = forwardRef19(
3007
3019
  isDisabled: disabled,
3008
3020
  ...props,
3009
3021
  children: ({ isSelected }) => /* @__PURE__ */ jsxs33(Fragment7, { children: [
3010
- /* @__PURE__ */ jsx83(
3022
+ /* @__PURE__ */ jsx84(
3011
3023
  Icon3,
3012
3024
  {
3013
3025
  checked: isSelected,
3014
- className: cn44(
3026
+ className: cn47(
3015
3027
  disabled ? "cursor-not-allowed" : "cursor-pointer",
3016
3028
  classNames2.radio
3017
3029
  )
3018
3030
  }
3019
3031
  ),
3020
- /* @__PURE__ */ jsx83("div", { className: classNames2.label, children })
3032
+ /* @__PURE__ */ jsx84("div", { className: classNames2.label, children })
3021
3033
  ] })
3022
3034
  }
3023
3035
  );
@@ -3028,7 +3040,7 @@ _Radio.Group = _RadioGroup;
3028
3040
  // src/SearchField/SearchField.tsx
3029
3041
  import { forwardRef as forwardRef20 } from "react";
3030
3042
  import { SearchField } from "react-aria-components";
3031
- import { jsx as jsx84 } from "react/jsx-runtime";
3043
+ import { jsx as jsx85 } from "react/jsx-runtime";
3032
3044
  var _SearchField = forwardRef20(
3033
3045
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
3034
3046
  const props = {
@@ -3038,7 +3050,7 @@ var _SearchField = forwardRef20(
3038
3050
  isReadOnly: readOnly,
3039
3051
  isInvalid: error
3040
3052
  };
3041
- return /* @__PURE__ */ jsx84(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx84(
3053
+ return /* @__PURE__ */ jsx85(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx85(
3042
3054
  SearchInput,
3043
3055
  {
3044
3056
  ref,
@@ -3050,13 +3062,9 @@ var _SearchField = forwardRef20(
3050
3062
 
3051
3063
  // src/Select/Select.tsx
3052
3064
  import { forwardRef as forwardRef21 } from "react";
3053
- import {
3054
- Button as Button7,
3055
- Select,
3056
- SelectValue
3057
- } from "react-aria-components";
3058
- import { cn as cn45, useClassNames as useClassNames48 } from "@marigold/system";
3059
- import { jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
3065
+ import { Select, SelectValue } from "react-aria-components";
3066
+ import { cn as cn48, useClassNames as useClassNames51 } from "@marigold/system";
3067
+ import { jsx as jsx86, jsxs as jsxs34 } from "react/jsx-runtime";
3060
3068
  var _Select = forwardRef21(
3061
3069
  ({
3062
3070
  disabled,
@@ -3077,22 +3085,22 @@ var _Select = forwardRef21(
3077
3085
  onSelectionChange: onChange,
3078
3086
  ...rest
3079
3087
  };
3080
- const classNames2 = useClassNames48({ component: "Select", variant, size });
3088
+ const classNames2 = useClassNames51({ component: "Select", variant, size });
3081
3089
  return /* @__PURE__ */ jsxs34(FieldBase, { as: Select, ref, variant, size, ...props, children: [
3082
3090
  /* @__PURE__ */ jsxs34(
3083
- Button7,
3091
+ IconButton,
3084
3092
  {
3085
- className: cn45(
3093
+ className: cn48(
3086
3094
  "flex w-full items-center justify-between gap-1 overflow-hidden",
3087
3095
  classNames2.select
3088
3096
  ),
3089
3097
  children: [
3090
- /* @__PURE__ */ jsx85(SelectValue, { className: "[&>[slot=description]]:hidden" }),
3091
- /* @__PURE__ */ jsx85(ChevronDown, { className: cn45("size-4", classNames2.icon) })
3098
+ /* @__PURE__ */ jsx86(SelectValue, { className: "[&>[slot=description]]:hidden" }),
3099
+ /* @__PURE__ */ jsx86(ChevronDown, { className: cn48("size-4", classNames2.icon) })
3092
3100
  ]
3093
3101
  }
3094
3102
  ),
3095
- /* @__PURE__ */ jsx85(_Popover, { children: /* @__PURE__ */ jsx85(_ListBox, { items, children: props.children }) })
3103
+ /* @__PURE__ */ jsx86(_Popover, { children: /* @__PURE__ */ jsx86(_ListBox, { items, children: props.children }) })
3096
3104
  ] });
3097
3105
  }
3098
3106
  );
@@ -3104,7 +3112,7 @@ import {
3104
3112
  forwardRef as forwardRef23
3105
3113
  } from "react";
3106
3114
  import { GridList as SelectList } from "react-aria-components";
3107
- import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
3115
+ import { cn as cn50, useClassNames as useClassNames52 } from "@marigold/system";
3108
3116
 
3109
3117
  // src/SelectList/Context.ts
3110
3118
  import { createContext as createContext9, useContext as useContext16 } from "react";
@@ -3116,24 +3124,24 @@ var useSelectListContext = () => useContext16(SelectListContext);
3116
3124
  // src/SelectList/SelectListItem.tsx
3117
3125
  import { forwardRef as forwardRef22 } from "react";
3118
3126
  import { GridListItem as SelectListItem } from "react-aria-components";
3119
- import { cn as cn46 } from "@marigold/system";
3120
- import { Fragment as Fragment8, jsx as jsx86, jsxs as jsxs35 } from "react/jsx-runtime";
3127
+ import { cn as cn49 } from "@marigold/system";
3128
+ import { jsx as jsx87, jsxs as jsxs35 } from "react/jsx-runtime";
3121
3129
  var _SelectListItem = forwardRef22(
3122
3130
  ({ children, ...props }, ref) => {
3123
3131
  let textValue = typeof children === "string" ? children : void 0;
3124
3132
  const { classNames: classNames2 } = useSelectListContext();
3125
- return /* @__PURE__ */ jsx86(
3133
+ return /* @__PURE__ */ jsx87(
3126
3134
  SelectListItem,
3127
3135
  {
3128
3136
  textValue,
3129
3137
  ...props,
3130
- className: cn46(
3138
+ className: cn49(
3131
3139
  "items-center group-[layout=grid]/list:flex-row",
3132
3140
  classNames2 == null ? void 0 : classNames2.option
3133
3141
  ),
3134
3142
  ref,
3135
- children: ({ selectionMode }) => /* @__PURE__ */ jsxs35(Fragment8, { children: [
3136
- selectionMode === "multiple" && /* @__PURE__ */ jsx86(_Checkbox, { slot: "selection" }),
3143
+ children: ({ selectionMode }) => /* @__PURE__ */ jsxs35("div", { className: "flex gap-2", children: [
3144
+ selectionMode === "multiple" && /* @__PURE__ */ jsx87(_Checkbox, { slot: "selection" }),
3137
3145
  children
3138
3146
  ] })
3139
3147
  }
@@ -3142,21 +3150,21 @@ var _SelectListItem = forwardRef22(
3142
3150
  );
3143
3151
 
3144
3152
  // src/SelectList/SelectList.tsx
3145
- import { jsx as jsx87 } from "react/jsx-runtime";
3153
+ import { jsx as jsx88 } from "react/jsx-runtime";
3146
3154
  var _SelectList = forwardRef23(
3147
3155
  ({ onChange, ...rest }, ref) => {
3148
- const classNames2 = useClassNames49({ component: "ListBox" });
3156
+ const classNames2 = useClassNames52({ component: "ListBox" });
3149
3157
  const props = {
3150
3158
  onSelectionChange: onChange,
3151
3159
  ...rest
3152
3160
  };
3153
- return /* @__PURE__ */ jsx87(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx87("div", { className: classNames2.container, children: /* @__PURE__ */ jsx87(
3161
+ return /* @__PURE__ */ jsx88(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx88("div", { className: classNames2.container, children: /* @__PURE__ */ jsx88(
3154
3162
  SelectList,
3155
3163
  {
3156
3164
  ...props,
3157
3165
  layout: "grid",
3158
3166
  ref,
3159
- className: cn47(
3167
+ className: cn50(
3160
3168
  "group/list overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
3161
3169
  classNames2.list
3162
3170
  ),
@@ -3168,18 +3176,18 @@ var _SelectList = forwardRef23(
3168
3176
  _SelectList.Item = _SelectListItem;
3169
3177
 
3170
3178
  // src/Scrollable/Scrollable.tsx
3171
- import { cn as cn48, createVar as createVar8, width as twWidth2 } from "@marigold/system";
3172
- import { jsx as jsx88 } from "react/jsx-runtime";
3179
+ import { cn as cn51, createVar as createVar8, width as twWidth2 } from "@marigold/system";
3180
+ import { jsx as jsx89 } from "react/jsx-runtime";
3173
3181
  var Scrollable = ({
3174
3182
  children,
3175
3183
  width = "full",
3176
3184
  height,
3177
3185
  ...props
3178
- }) => /* @__PURE__ */ jsx88(
3186
+ }) => /* @__PURE__ */ jsx89(
3179
3187
  "div",
3180
3188
  {
3181
3189
  ...props,
3182
- className: cn48(["sticky h-(--height) overflow-auto", twWidth2[width]]),
3190
+ className: cn51(["sticky h-(--height) overflow-auto", twWidth2[width]]),
3183
3191
  style: createVar8({ height }),
3184
3192
  children
3185
3193
  }
@@ -3194,11 +3202,11 @@ import {
3194
3202
  SliderTrack
3195
3203
  } from "react-aria-components";
3196
3204
  import {
3197
- cn as cn49,
3205
+ cn as cn52,
3198
3206
  width as twWidth3,
3199
- useClassNames as useClassNames50
3207
+ useClassNames as useClassNames53
3200
3208
  } from "@marigold/system";
3201
- import { Fragment as Fragment9, jsx as jsx89, jsxs as jsxs36 } from "react/jsx-runtime";
3209
+ import { Fragment as Fragment8, jsx as jsx90, jsxs as jsxs36 } from "react/jsx-runtime";
3202
3210
  var _Slider = forwardRef24(
3203
3211
  ({
3204
3212
  thumbLabels,
@@ -3209,7 +3217,7 @@ var _Slider = forwardRef24(
3209
3217
  label,
3210
3218
  ...rest
3211
3219
  }, ref) => {
3212
- const classNames2 = useClassNames50({
3220
+ const classNames2 = useClassNames53({
3213
3221
  component: "Slider",
3214
3222
  variant,
3215
3223
  size
@@ -3222,7 +3230,7 @@ var _Slider = forwardRef24(
3222
3230
  FieldBase,
3223
3231
  {
3224
3232
  as: Slider,
3225
- className: cn49(
3233
+ className: cn52(
3226
3234
  "grid grid-cols-[auto_1fr] gap-y-1",
3227
3235
  classNames2.container,
3228
3236
  twWidth3[width]
@@ -3230,26 +3238,26 @@ var _Slider = forwardRef24(
3230
3238
  ref,
3231
3239
  ...props,
3232
3240
  children: [
3233
- /* @__PURE__ */ jsx89(_Label, { children: props.children && props.children || label && label }),
3234
- /* @__PURE__ */ jsx89(SliderOutput, { className: cn49("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
3235
- /* @__PURE__ */ jsx89(
3241
+ /* @__PURE__ */ jsx90(_Label, { children: props.children && props.children || label && label }),
3242
+ /* @__PURE__ */ jsx90(SliderOutput, { className: cn52("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
3243
+ /* @__PURE__ */ jsx90(
3236
3244
  SliderTrack,
3237
3245
  {
3238
- className: cn49("relative col-span-2 h-2 w-full", classNames2.track),
3239
- children: ({ state }) => /* @__PURE__ */ jsxs36(Fragment9, { children: [
3240
- /* @__PURE__ */ jsx89(
3246
+ className: cn52("relative col-span-2 h-2 w-full", classNames2.track),
3247
+ children: ({ state }) => /* @__PURE__ */ jsxs36(Fragment8, { children: [
3248
+ /* @__PURE__ */ jsx90(
3241
3249
  "div",
3242
3250
  {
3243
- className: cn49(
3251
+ className: cn52(
3244
3252
  "absolute top-[50%] h-2 w-full translate-y-[-50%]",
3245
3253
  classNames2.track
3246
3254
  )
3247
3255
  }
3248
3256
  ),
3249
- /* @__PURE__ */ jsx89(
3257
+ /* @__PURE__ */ jsx90(
3250
3258
  "div",
3251
3259
  {
3252
- className: cn49(
3260
+ className: cn52(
3253
3261
  "absolute top-[50%] h-2 translate-y-[-50%]",
3254
3262
  classNames2.selectedTrack
3255
3263
  ),
@@ -3259,10 +3267,10 @@ var _Slider = forwardRef24(
3259
3267
  }
3260
3268
  }
3261
3269
  ),
3262
- state.values.map((_, i) => /* @__PURE__ */ jsx89(
3270
+ state.values.map((_, i) => /* @__PURE__ */ jsx90(
3263
3271
  SliderThumb,
3264
3272
  {
3265
- className: cn49("top-1/2 cursor-pointer", classNames2.thumb),
3273
+ className: cn52("top-1/2 cursor-pointer", classNames2.thumb),
3266
3274
  index: i,
3267
3275
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i],
3268
3276
  name: thumbLabels == null ? void 0 : thumbLabels[i]
@@ -3279,12 +3287,12 @@ var _Slider = forwardRef24(
3279
3287
  );
3280
3288
 
3281
3289
  // src/Split/Split.tsx
3282
- import { jsx as jsx90 } from "react/jsx-runtime";
3283
- var Split = () => /* @__PURE__ */ jsx90("div", { role: "separator", className: "grow" });
3290
+ import { jsx as jsx91 } from "react/jsx-runtime";
3291
+ var Split = () => /* @__PURE__ */ jsx91("div", { role: "separator", className: "grow" });
3284
3292
 
3285
3293
  // src/Stack/Stack.tsx
3286
- import { alignment as alignment2, cn as cn50, gapSpace as gapSpace8 } from "@marigold/system";
3287
- import { jsx as jsx91 } from "react/jsx-runtime";
3294
+ import { alignment as alignment2, cn as cn53, gapSpace as gapSpace8 } from "@marigold/system";
3295
+ import { jsx as jsx92 } from "react/jsx-runtime";
3288
3296
  var Stack = ({
3289
3297
  children,
3290
3298
  space = 0,
@@ -3294,10 +3302,10 @@ var Stack = ({
3294
3302
  ...props
3295
3303
  }) => {
3296
3304
  var _a, _b, _c, _d;
3297
- return /* @__PURE__ */ jsx91(
3305
+ return /* @__PURE__ */ jsx92(
3298
3306
  "div",
3299
3307
  {
3300
- className: cn50(
3308
+ className: cn53(
3301
3309
  "flex flex-col",
3302
3310
  gapSpace8[space],
3303
3311
  alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
@@ -3314,11 +3322,11 @@ var Stack = ({
3314
3322
  import { forwardRef as forwardRef25 } from "react";
3315
3323
  import { Switch } from "react-aria-components";
3316
3324
  import {
3317
- cn as cn51,
3325
+ cn as cn54,
3318
3326
  width as twWidth4,
3319
- useClassNames as useClassNames51
3327
+ useClassNames as useClassNames54
3320
3328
  } from "@marigold/system";
3321
- import { jsx as jsx92, jsxs as jsxs37 } from "react/jsx-runtime";
3329
+ import { jsx as jsx93, jsxs as jsxs37 } from "react/jsx-runtime";
3322
3330
  var _Switch = forwardRef25(
3323
3331
  ({
3324
3332
  variant,
@@ -3330,7 +3338,7 @@ var _Switch = forwardRef25(
3330
3338
  readOnly,
3331
3339
  ...rest
3332
3340
  }, ref) => {
3333
- const classNames2 = useClassNames51({ component: "Switch", size, variant });
3341
+ const classNames2 = useClassNames54({ component: "Switch", size, variant });
3334
3342
  const props = {
3335
3343
  isDisabled: disabled,
3336
3344
  isReadOnly: readOnly,
@@ -3342,36 +3350,15 @@ var _Switch = forwardRef25(
3342
3350
  {
3343
3351
  ...props,
3344
3352
  ref,
3345
- className: cn51(
3353
+ className: cn54(
3346
3354
  twWidth4[width],
3347
3355
  "group/switch",
3348
3356
  "flex items-center gap-[1ch]",
3349
3357
  classNames2.container
3350
3358
  ),
3351
3359
  children: [
3352
- /* @__PURE__ */ jsx92(_Label, { elementType: "span", children }),
3353
- /* @__PURE__ */ jsx92("div", { className: "relative", children: /* @__PURE__ */ jsx92(
3354
- "div",
3355
- {
3356
- className: cn51(
3357
- "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed",
3358
- classNames2.track
3359
- ),
3360
- children: /* @__PURE__ */ jsx92(
3361
- "div",
3362
- {
3363
- className: cn51(
3364
- "h-[22px] w-[22px]",
3365
- "cubic-bezier(.7,0,.3,1)",
3366
- "absolute top-px left-0",
3367
- "block translate-x-[1px] rounded-full transition-all duration-100 ease-in-out will-change-transform",
3368
- "group-selected/switch:translate-x-[calc(47px_-_100%)]",
3369
- classNames2.thumb
3370
- )
3371
- }
3372
- )
3373
- }
3374
- ) })
3360
+ /* @__PURE__ */ jsx93(_Label, { elementType: "span", children }),
3361
+ /* @__PURE__ */ jsx93("div", { className: "relative", children: /* @__PURE__ */ jsx93("div", { className: classNames2.track, children: /* @__PURE__ */ jsx93("div", { className: classNames2.thumb }) }) })
3375
3362
  ]
3376
3363
  }
3377
3364
  );
@@ -3389,7 +3376,7 @@ import {
3389
3376
  Row,
3390
3377
  useTableState
3391
3378
  } from "@react-stately/table";
3392
- import { cn as cn57, useClassNames as useClassNames53 } from "@marigold/system";
3379
+ import { cn as cn60, useClassNames as useClassNames56 } from "@marigold/system";
3393
3380
 
3394
3381
  // src/Table/Context.tsx
3395
3382
  import { createContext as createContext10, useContext as useContext17 } from "react";
@@ -3398,7 +3385,7 @@ var useTableContext = () => useContext17(TableContext);
3398
3385
 
3399
3386
  // src/Table/TableBody.tsx
3400
3387
  import { useTableRowGroup } from "@react-aria/table";
3401
- import { jsx as jsx93 } from "react/jsx-runtime";
3388
+ import { jsx as jsx94 } from "react/jsx-runtime";
3402
3389
  var TableBody = ({
3403
3390
  children,
3404
3391
  className,
@@ -3407,7 +3394,7 @@ var TableBody = ({
3407
3394
  const { rowGroupProps } = useTableRowGroup();
3408
3395
  const { state, classNames: classNames2 } = useTableContext();
3409
3396
  if (state.collection.size === 0 && emptyState) {
3410
- return /* @__PURE__ */ jsx93("tbody", { className, children: /* @__PURE__ */ jsx93("tr", { className: classNames2 == null ? void 0 : classNames2.row, role: "row", children: /* @__PURE__ */ jsx93(
3397
+ return /* @__PURE__ */ jsx94("tbody", { className, children: /* @__PURE__ */ jsx94("tr", { className: classNames2 == null ? void 0 : classNames2.row, role: "row", children: /* @__PURE__ */ jsx94(
3411
3398
  "td",
3412
3399
  {
3413
3400
  className: classNames2 == null ? void 0 : classNames2.cell,
@@ -3417,7 +3404,7 @@ var TableBody = ({
3417
3404
  }
3418
3405
  ) }) });
3419
3406
  }
3420
- return /* @__PURE__ */ jsx93("tbody", { ...rowGroupProps, className, children });
3407
+ return /* @__PURE__ */ jsx94("tbody", { ...rowGroupProps, className, children });
3421
3408
  };
3422
3409
 
3423
3410
  // src/Table/TableCell.tsx
@@ -3425,8 +3412,8 @@ import { useRef as useRef6 } from "react";
3425
3412
  import { useFocusRing } from "@react-aria/focus";
3426
3413
  import { useTableCell } from "@react-aria/table";
3427
3414
  import { mergeProps } from "@react-aria/utils";
3428
- import { cn as cn52, useStateProps } from "@marigold/system";
3429
- import { jsx as jsx94 } from "react/jsx-runtime";
3415
+ import { cn as cn55, useStateProps } from "@marigold/system";
3416
+ import { jsx as jsx95 } from "react/jsx-runtime";
3430
3417
  var TableCell = ({ cell, align = "left" }) => {
3431
3418
  const ref = useRef6(null);
3432
3419
  const { interactive, state, classNames: classNames2 } = useTableContext();
@@ -3449,11 +3436,11 @@ var TableCell = ({ cell, align = "left" }) => {
3449
3436
  };
3450
3437
  const { focusProps, isFocusVisible } = useFocusRing();
3451
3438
  const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
3452
- return /* @__PURE__ */ jsx94(
3439
+ return /* @__PURE__ */ jsx95(
3453
3440
  "td",
3454
3441
  {
3455
3442
  ref,
3456
- className: cn52(classNames2 == null ? void 0 : classNames2.cell),
3443
+ className: cn55(classNames2 == null ? void 0 : classNames2.cell),
3457
3444
  ...mergeProps(cellProps, focusProps),
3458
3445
  ...stateProps,
3459
3446
  align,
@@ -3467,7 +3454,7 @@ import { useRef as useRef7 } from "react";
3467
3454
  import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
3468
3455
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
3469
3456
  import { mergeProps as mergeProps2 } from "@react-aria/utils";
3470
- import { cn as cn53, useStateProps as useStateProps2 } from "@marigold/system";
3457
+ import { cn as cn56, useStateProps as useStateProps2 } from "@marigold/system";
3471
3458
 
3472
3459
  // src/Table/utils.ts
3473
3460
  var mapCheckboxProps = ({
@@ -3490,7 +3477,7 @@ var mapCheckboxProps = ({
3490
3477
  };
3491
3478
 
3492
3479
  // src/Table/TableCheckboxCell.tsx
3493
- import { jsx as jsx95 } from "react/jsx-runtime";
3480
+ import { jsx as jsx96 } from "react/jsx-runtime";
3494
3481
  var TableCheckboxCell = ({ cell }) => {
3495
3482
  const ref = useRef7(null);
3496
3483
  const { state, classNames: classNames2 } = useTableContext();
@@ -3507,14 +3494,14 @@ var TableCheckboxCell = ({ cell }) => {
3507
3494
  );
3508
3495
  const { focusProps, isFocusVisible } = useFocusRing2();
3509
3496
  const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
3510
- return /* @__PURE__ */ jsx95(
3497
+ return /* @__PURE__ */ jsx96(
3511
3498
  "td",
3512
3499
  {
3513
3500
  ref,
3514
- className: cn53("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3501
+ className: cn56("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3515
3502
  ...mergeProps2(gridCellProps, focusProps),
3516
3503
  ...stateProps,
3517
- children: /* @__PURE__ */ jsx95(_Checkbox, { ...checkboxProps })
3504
+ children: /* @__PURE__ */ jsx96(_Checkbox, { ...checkboxProps })
3518
3505
  }
3519
3506
  );
3520
3507
  };
@@ -3525,8 +3512,8 @@ import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
3525
3512
  import { useHover } from "@react-aria/interactions";
3526
3513
  import { useTableColumnHeader } from "@react-aria/table";
3527
3514
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
3528
- import { cn as cn54, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
3529
- import { jsx as jsx96, jsxs as jsxs38 } from "react/jsx-runtime";
3515
+ import { cn as cn57, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
3516
+ import { jsx as jsx97, jsxs as jsxs38 } from "react/jsx-runtime";
3530
3517
  var TableColumnHeader = ({
3531
3518
  column,
3532
3519
  width = "auto",
@@ -3553,13 +3540,13 @@ var TableColumnHeader = ({
3553
3540
  {
3554
3541
  colSpan: column.colspan,
3555
3542
  ref,
3556
- className: cn54("cursor-default", twWidth5[width], classNames2 == null ? void 0 : classNames2.header),
3543
+ className: cn57("cursor-default", twWidth5[width], classNames2 == null ? void 0 : classNames2.header),
3557
3544
  ...mergeProps3(columnHeaderProps, hoverProps, focusProps),
3558
3545
  ...stateProps,
3559
3546
  align,
3560
3547
  children: [
3561
3548
  column.rendered,
3562
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx96(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx96(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx96("span", { className: "invisible", children: /* @__PURE__ */ jsx96(SortDown, { className: "inline-block" }) }))
3549
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx97(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx97(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx97("span", { className: "invisible", children: /* @__PURE__ */ jsx97(SortDown, { className: "inline-block" }) }))
3563
3550
  ]
3564
3551
  }
3565
3552
  );
@@ -3567,10 +3554,10 @@ var TableColumnHeader = ({
3567
3554
 
3568
3555
  // src/Table/TableHeader.tsx
3569
3556
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
3570
- import { jsx as jsx97 } from "react/jsx-runtime";
3557
+ import { jsx as jsx98 } from "react/jsx-runtime";
3571
3558
  var TableHeader = ({ stickyHeader, children }) => {
3572
3559
  const { rowGroupProps } = useTableRowGroup2();
3573
- return /* @__PURE__ */ jsx97(
3560
+ return /* @__PURE__ */ jsx98(
3574
3561
  "thead",
3575
3562
  {
3576
3563
  ...rowGroupProps,
@@ -3583,7 +3570,7 @@ var TableHeader = ({ stickyHeader, children }) => {
3583
3570
  // src/Table/TableHeaderRow.tsx
3584
3571
  import { useRef as useRef9 } from "react";
3585
3572
  import { useTableHeaderRow } from "@react-aria/table";
3586
- import { jsx as jsx98 } from "react/jsx-runtime";
3573
+ import { jsx as jsx99 } from "react/jsx-runtime";
3587
3574
  var TableHeaderRow = ({
3588
3575
  item,
3589
3576
  className,
@@ -3592,7 +3579,7 @@ var TableHeaderRow = ({
3592
3579
  const { state } = useTableContext();
3593
3580
  const ref = useRef9(null);
3594
3581
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
3595
- return /* @__PURE__ */ jsx98("tr", { ...rowProps, className, ref, children });
3582
+ return /* @__PURE__ */ jsx99("tr", { ...rowProps, className, ref, children });
3596
3583
  };
3597
3584
 
3598
3585
  // src/Table/TableRow.tsx
@@ -3601,13 +3588,13 @@ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
3601
3588
  import { useHover as useHover2 } from "@react-aria/interactions";
3602
3589
  import { useTableRow } from "@react-aria/table";
3603
3590
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
3604
- import { cn as cn55, useClassNames as useClassNames52, useStateProps as useStateProps4 } from "@marigold/system";
3605
- import { jsx as jsx99 } from "react/jsx-runtime";
3591
+ import { cn as cn58, useClassNames as useClassNames55, useStateProps as useStateProps4 } from "@marigold/system";
3592
+ import { jsx as jsx100 } from "react/jsx-runtime";
3606
3593
  var TableRow = ({ children, row }) => {
3607
3594
  const ref = useRef10(null);
3608
3595
  const { interactive, state, ...ctx } = useTableContext();
3609
3596
  const { variant, size } = row.props;
3610
- const classNames2 = useClassNames52({
3597
+ const classNames2 = useClassNames55({
3611
3598
  component: "Table",
3612
3599
  variant: variant || ctx.variant,
3613
3600
  size: size || ctx.size
@@ -3632,11 +3619,11 @@ var TableRow = ({ children, row }) => {
3632
3619
  focusVisible: isFocusVisible,
3633
3620
  active: isPressed
3634
3621
  });
3635
- return /* @__PURE__ */ jsx99(
3622
+ return /* @__PURE__ */ jsx100(
3636
3623
  "tr",
3637
3624
  {
3638
3625
  ref,
3639
- className: cn55(
3626
+ className: cn58(
3640
3627
  [
3641
3628
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
3642
3629
  ],
@@ -3659,11 +3646,11 @@ import {
3659
3646
  } from "@react-aria/table";
3660
3647
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
3661
3648
  import {
3662
- cn as cn56,
3649
+ cn as cn59,
3663
3650
  width as twWidth6,
3664
3651
  useStateProps as useStateProps5
3665
3652
  } from "@marigold/system";
3666
- import { jsx as jsx100 } from "react/jsx-runtime";
3653
+ import { jsx as jsx101 } from "react/jsx-runtime";
3667
3654
  var TableSelectAllCell = ({
3668
3655
  column,
3669
3656
  width = "auto",
@@ -3685,21 +3672,21 @@ var TableSelectAllCell = ({
3685
3672
  hover: isHovered,
3686
3673
  focusVisible: isFocusVisible
3687
3674
  });
3688
- return /* @__PURE__ */ jsx100(
3675
+ return /* @__PURE__ */ jsx101(
3689
3676
  "th",
3690
3677
  {
3691
3678
  ref,
3692
- className: cn56(twWidth6[width], ["leading-none"], classNames2 == null ? void 0 : classNames2.header),
3679
+ className: cn59(twWidth6[width], ["leading-none"], classNames2 == null ? void 0 : classNames2.header),
3693
3680
  ...mergeProps5(columnHeaderProps, hoverProps, focusProps),
3694
3681
  ...stateProps,
3695
3682
  align,
3696
- children: /* @__PURE__ */ jsx100(_Checkbox, { ...checkboxProps })
3683
+ children: /* @__PURE__ */ jsx101(_Checkbox, { ...checkboxProps })
3697
3684
  }
3698
3685
  );
3699
3686
  };
3700
3687
 
3701
3688
  // src/Table/Table.tsx
3702
- import { jsx as jsx101, jsxs as jsxs39 } from "react/jsx-runtime";
3689
+ import { jsx as jsx102, jsxs as jsxs39 } from "react/jsx-runtime";
3703
3690
  var Table = ({
3704
3691
  variant,
3705
3692
  size,
@@ -3722,13 +3709,13 @@ var Table = ({
3722
3709
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
3723
3710
  }
3724
3711
  const { gridProps } = useTable(props, state, tableRef);
3725
- const classNames2 = useClassNames53({
3712
+ const classNames2 = useClassNames56({
3726
3713
  component: "Table",
3727
3714
  variant,
3728
3715
  size
3729
3716
  });
3730
3717
  const { collection } = state;
3731
- return /* @__PURE__ */ jsx101(
3718
+ return /* @__PURE__ */ jsx102(
3732
3719
  TableContext.Provider,
3733
3720
  {
3734
3721
  value: { state, interactive, classNames: classNames2, variant, size },
@@ -3736,7 +3723,7 @@ var Table = ({
3736
3723
  "table",
3737
3724
  {
3738
3725
  ref: tableRef,
3739
- className: cn57(
3726
+ className: cn60(
3740
3727
  "group/table",
3741
3728
  "border-collapse",
3742
3729
  stretch ? "table w-full" : "block",
@@ -3744,7 +3731,7 @@ var Table = ({
3744
3731
  ),
3745
3732
  ...gridProps,
3746
3733
  children: [
3747
- /* @__PURE__ */ jsx101(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx101(
3734
+ /* @__PURE__ */ jsx102(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx102(
3748
3735
  TableHeaderRow,
3749
3736
  {
3750
3737
  item: headerRow,
@@ -3752,7 +3739,7 @@ var Table = ({
3752
3739
  children: [...collection.getChildren(headerRow.key)].map(
3753
3740
  (column) => {
3754
3741
  var _a, _b, _c, _d, _e;
3755
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx101(
3742
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx102(
3756
3743
  TableSelectAllCell,
3757
3744
  {
3758
3745
  width: (_b = column.props) == null ? void 0 : _b.width,
@@ -3760,7 +3747,7 @@ var Table = ({
3760
3747
  align: (_c = column.props) == null ? void 0 : _c.align
3761
3748
  },
3762
3749
  column.key
3763
- ) : /* @__PURE__ */ jsx101(
3750
+ ) : /* @__PURE__ */ jsx102(
3764
3751
  TableColumnHeader,
3765
3752
  {
3766
3753
  width: (_d = column.props) == null ? void 0 : _d.width,
@@ -3776,10 +3763,10 @@ var Table = ({
3776
3763
  )) }),
3777
3764
  /* @__PURE__ */ jsxs39(TableBody, { className: classNames2.body, emptyState, children: [
3778
3765
  ...collection.rows.map(
3779
- (row) => row.type === "item" && /* @__PURE__ */ jsx101(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3766
+ (row) => row.type === "item" && /* @__PURE__ */ jsx102(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3780
3767
  var _a, _b;
3781
3768
  const currentColumn = collection.columns[index];
3782
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx101(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx101(
3769
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx102(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx102(
3783
3770
  TableCell,
3784
3771
  {
3785
3772
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -3805,16 +3792,16 @@ Table.Row = Row;
3805
3792
  // src/Text/Text.tsx
3806
3793
  import { Text as Text2 } from "react-aria-components";
3807
3794
  import {
3808
- cn as cn58,
3795
+ cn as cn61,
3809
3796
  cursorStyle,
3810
3797
  ensureCssVar as ensureCssVar2,
3811
3798
  fontWeight,
3812
3799
  textAlign as textAlign2,
3813
3800
  textSize,
3814
3801
  textStyle,
3815
- useClassNames as useClassNames54
3802
+ useClassNames as useClassNames57
3816
3803
  } from "@marigold/system";
3817
- import { jsx as jsx102 } from "react/jsx-runtime";
3804
+ import { jsx as jsx103 } from "react/jsx-runtime";
3818
3805
  var _Text = ({
3819
3806
  variant,
3820
3807
  size,
@@ -3828,19 +3815,19 @@ var _Text = ({
3828
3815
  as = "div",
3829
3816
  ...props
3830
3817
  }) => {
3831
- const classNames2 = useClassNames54({
3818
+ const classNames2 = useClassNames57({
3832
3819
  component: "Text",
3833
3820
  variant,
3834
3821
  size
3835
3822
  });
3836
3823
  const Component = props.slot ? Text2 : as;
3837
3824
  const elementType = props.slot ? { elementType: as } : {};
3838
- return /* @__PURE__ */ jsx102(
3825
+ return /* @__PURE__ */ jsx103(
3839
3826
  Component,
3840
3827
  {
3841
3828
  ...props,
3842
3829
  ...elementType,
3843
- className: cn58(
3830
+ className: cn61(
3844
3831
  "max-w-(--maxTextWidth)",
3845
3832
  // possibly set by a <Container>
3846
3833
  classNames2,
@@ -3859,8 +3846,8 @@ var _Text = ({
3859
3846
  // src/TextArea/TextArea.tsx
3860
3847
  import { forwardRef as forwardRef26 } from "react";
3861
3848
  import { TextArea, TextField } from "react-aria-components";
3862
- import { useClassNames as useClassNames55 } from "@marigold/system";
3863
- import { jsx as jsx103 } from "react/jsx-runtime";
3849
+ import { useClassNames as useClassNames58 } from "@marigold/system";
3850
+ import { jsx as jsx104 } from "react/jsx-runtime";
3864
3851
  var _TextArea = forwardRef26(
3865
3852
  ({
3866
3853
  variant,
@@ -3872,7 +3859,7 @@ var _TextArea = forwardRef26(
3872
3859
  rows,
3873
3860
  ...rest
3874
3861
  }, ref) => {
3875
- const classNames2 = useClassNames55({ component: "TextArea", variant, size });
3862
+ const classNames2 = useClassNames58({ component: "TextArea", variant, size });
3876
3863
  const props = {
3877
3864
  isDisabled: disabled,
3878
3865
  isReadOnly: readOnly,
@@ -3880,14 +3867,14 @@ var _TextArea = forwardRef26(
3880
3867
  isRequired: required,
3881
3868
  ...rest
3882
3869
  };
3883
- return /* @__PURE__ */ jsx103(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx103(TextArea, { className: classNames2, ref, rows }) });
3870
+ return /* @__PURE__ */ jsx104(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx104(TextArea, { className: classNames2, ref, rows }) });
3884
3871
  }
3885
3872
  );
3886
3873
 
3887
3874
  // src/TextField/TextField.tsx
3888
3875
  import { forwardRef as forwardRef27 } from "react";
3889
3876
  import { TextField as TextField2 } from "react-aria-components";
3890
- import { jsx as jsx104 } from "react/jsx-runtime";
3877
+ import { jsx as jsx105 } from "react/jsx-runtime";
3891
3878
  var _TextField = forwardRef27(
3892
3879
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
3893
3880
  const props = {
@@ -3897,13 +3884,13 @@ var _TextField = forwardRef27(
3897
3884
  isRequired: required,
3898
3885
  ...rest
3899
3886
  };
3900
- return /* @__PURE__ */ jsx104(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx104(_Input, { ref }) });
3887
+ return /* @__PURE__ */ jsx105(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx105(_Input, { ref }) });
3901
3888
  }
3902
3889
  );
3903
3890
 
3904
3891
  // src/Tiles/Tiles.tsx
3905
- import { cn as cn59, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
3906
- import { jsx as jsx105 } from "react/jsx-runtime";
3892
+ import { cn as cn62, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
3893
+ import { jsx as jsx106 } from "react/jsx-runtime";
3907
3894
  var Tiles = ({
3908
3895
  space = 0,
3909
3896
  stretch = false,
@@ -3916,11 +3903,11 @@ var Tiles = ({
3916
3903
  if (stretch) {
3917
3904
  column = `minmax(${column}, 1fr)`;
3918
3905
  }
3919
- return /* @__PURE__ */ jsx105(
3906
+ return /* @__PURE__ */ jsx106(
3920
3907
  "div",
3921
3908
  {
3922
3909
  ...props,
3923
- className: cn59(
3910
+ className: cn62(
3924
3911
  "grid",
3925
3912
  gapSpace9[space],
3926
3913
  "grid-cols-[repeat(auto-fit,var(--column))]",
@@ -3934,11 +3921,11 @@ var Tiles = ({
3934
3921
 
3935
3922
  // src/Tooltip/Tooltip.tsx
3936
3923
  import { OverlayArrow, Tooltip } from "react-aria-components";
3937
- import { cn as cn60, useClassNames as useClassNames56 } from "@marigold/system";
3924
+ import { cn as cn63, useClassNames as useClassNames59 } from "@marigold/system";
3938
3925
 
3939
3926
  // src/Tooltip/TooltipTrigger.tsx
3940
3927
  import { TooltipTrigger } from "react-aria-components";
3941
- import { jsx as jsx106 } from "react/jsx-runtime";
3928
+ import { jsx as jsx107 } from "react/jsx-runtime";
3942
3929
  var _TooltipTrigger = ({
3943
3930
  delay = 1e3,
3944
3931
  children,
@@ -3952,26 +3939,26 @@ var _TooltipTrigger = ({
3952
3939
  isOpen: open,
3953
3940
  delay
3954
3941
  };
3955
- return /* @__PURE__ */ jsx106(TooltipTrigger, { ...props, children });
3942
+ return /* @__PURE__ */ jsx107(TooltipTrigger, { ...props, children });
3956
3943
  };
3957
3944
 
3958
3945
  // src/Tooltip/Tooltip.tsx
3959
- import { jsx as jsx107, jsxs as jsxs40 } from "react/jsx-runtime";
3946
+ import { jsx as jsx108, jsxs as jsxs40 } from "react/jsx-runtime";
3960
3947
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3961
3948
  const props = {
3962
3949
  ...rest,
3963
3950
  isOpen: open
3964
3951
  };
3965
- const classNames2 = useClassNames56({ component: "Tooltip", variant, size });
3952
+ const classNames2 = useClassNames59({ component: "Tooltip", variant, size });
3966
3953
  const portal = usePortalContainer();
3967
3954
  return /* @__PURE__ */ jsxs40(
3968
3955
  Tooltip,
3969
3956
  {
3970
3957
  ...props,
3971
- className: cn60("group/tooltip", classNames2.container),
3958
+ className: cn63("group/tooltip", classNames2.container),
3972
3959
  UNSTABLE_portalContainer: portal,
3973
3960
  children: [
3974
- /* @__PURE__ */ jsx107(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx107("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx107("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3961
+ /* @__PURE__ */ jsx108(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx108("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx108("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3975
3962
  children
3976
3963
  ]
3977
3964
  }
@@ -3985,12 +3972,12 @@ import { VisuallyHidden } from "@react-aria/visually-hidden";
3985
3972
  // src/XLoader/XLoader.tsx
3986
3973
  import { Dialog as Dialog2, Modal as Modal2 } from "react-aria-components";
3987
3974
  import { useId } from "@react-aria/utils";
3988
- import { useClassNames as useClassNames58 } from "@marigold/system";
3975
+ import { useClassNames as useClassNames61 } from "@marigold/system";
3989
3976
 
3990
3977
  // src/XLoader/BaseLoader.tsx
3991
3978
  import { Label as Label2, ProgressBar as ProgressBar2 } from "react-aria-components";
3992
3979
  import { useLocalizedStringFormatter as useLocalizedStringFormatter2 } from "@react-aria/i18n";
3993
- import { useClassNames as useClassNames57 } from "@marigold/system";
3980
+ import { useClassNames as useClassNames60 } from "@marigold/system";
3994
3981
 
3995
3982
  // src/intl/messages.ts
3996
3983
  var intlMessages2 = {
@@ -4003,7 +3990,7 @@ var intlMessages2 = {
4003
3990
  };
4004
3991
 
4005
3992
  // src/XLoader/BaseLoader.tsx
4006
- import { jsx as jsx108, jsxs as jsxs41 } from "react/jsx-runtime";
3993
+ import { jsx as jsx109, jsxs as jsxs41 } from "react/jsx-runtime";
4007
3994
  var BaseLoader = ({
4008
3995
  variant,
4009
3996
  size,
@@ -4012,7 +3999,7 @@ var BaseLoader = ({
4012
3999
  ...props
4013
4000
  }) => {
4014
4001
  const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
4015
- const className = useClassNames57({ component: "XLoader", variant, size });
4002
+ const className = useClassNames60({ component: "XLoader", variant, size });
4016
4003
  return /* @__PURE__ */ jsxs41(
4017
4004
  ProgressBar2,
4018
4005
  {
@@ -4029,13 +4016,13 @@ var BaseLoader = ({
4029
4016
  fill: "currentColor",
4030
4017
  className: className.loader,
4031
4018
  children: [
4032
- /* @__PURE__ */ jsx108("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
4033
- /* @__PURE__ */ jsx108(
4019
+ /* @__PURE__ */ jsx109("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
4020
+ /* @__PURE__ */ jsx109(
4034
4021
  "path",
4035
4022
  {
4036
4023
  id: "XMLID_5_",
4037
4024
  d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4038
- children: /* @__PURE__ */ jsx108(
4025
+ children: /* @__PURE__ */ jsx109(
4039
4026
  "animate",
4040
4027
  {
4041
4028
  attributeName: "opacity",
@@ -4048,12 +4035,12 @@ var BaseLoader = ({
4048
4035
  )
4049
4036
  }
4050
4037
  ),
4051
- /* @__PURE__ */ jsx108(
4038
+ /* @__PURE__ */ jsx109(
4052
4039
  "path",
4053
4040
  {
4054
4041
  id: "XMLID_18_",
4055
4042
  d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4056
- children: /* @__PURE__ */ jsx108(
4043
+ children: /* @__PURE__ */ jsx109(
4057
4044
  "animate",
4058
4045
  {
4059
4046
  attributeName: "opacity",
@@ -4066,12 +4053,12 @@ var BaseLoader = ({
4066
4053
  )
4067
4054
  }
4068
4055
  ),
4069
- /* @__PURE__ */ jsx108(
4056
+ /* @__PURE__ */ jsx109(
4070
4057
  "path",
4071
4058
  {
4072
4059
  id: "XMLID_19_",
4073
4060
  d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4074
- children: /* @__PURE__ */ jsx108(
4061
+ children: /* @__PURE__ */ jsx109(
4075
4062
  "animate",
4076
4063
  {
4077
4064
  attributeName: "opacity",
@@ -4084,12 +4071,12 @@ var BaseLoader = ({
4084
4071
  )
4085
4072
  }
4086
4073
  ),
4087
- /* @__PURE__ */ jsx108(
4074
+ /* @__PURE__ */ jsx109(
4088
4075
  "path",
4089
4076
  {
4090
4077
  id: "XMLID_20_",
4091
4078
  d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4092
- children: /* @__PURE__ */ jsx108(
4079
+ children: /* @__PURE__ */ jsx109(
4093
4080
  "animate",
4094
4081
  {
4095
4082
  attributeName: "opacity",
@@ -4102,12 +4089,12 @@ var BaseLoader = ({
4102
4089
  )
4103
4090
  }
4104
4091
  ),
4105
- /* @__PURE__ */ jsx108(
4092
+ /* @__PURE__ */ jsx109(
4106
4093
  "path",
4107
4094
  {
4108
4095
  id: "XMLID_21_",
4109
4096
  d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
4110
- children: /* @__PURE__ */ jsx108(
4097
+ children: /* @__PURE__ */ jsx109(
4111
4098
  "animate",
4112
4099
  {
4113
4100
  attributeName: "opacity",
@@ -4120,12 +4107,12 @@ var BaseLoader = ({
4120
4107
  )
4121
4108
  }
4122
4109
  ),
4123
- /* @__PURE__ */ jsx108(
4110
+ /* @__PURE__ */ jsx109(
4124
4111
  "path",
4125
4112
  {
4126
4113
  id: "XMLID_22_",
4127
4114
  d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
4128
- children: /* @__PURE__ */ jsx108(
4115
+ children: /* @__PURE__ */ jsx109(
4129
4116
  "animate",
4130
4117
  {
4131
4118
  attributeName: "opacity",
@@ -4138,12 +4125,12 @@ var BaseLoader = ({
4138
4125
  )
4139
4126
  }
4140
4127
  ),
4141
- /* @__PURE__ */ jsx108(
4128
+ /* @__PURE__ */ jsx109(
4142
4129
  "path",
4143
4130
  {
4144
4131
  id: "XMLID_23_",
4145
4132
  d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4146
- children: /* @__PURE__ */ jsx108(
4133
+ children: /* @__PURE__ */ jsx109(
4147
4134
  "animate",
4148
4135
  {
4149
4136
  attributeName: "opacity",
@@ -4156,12 +4143,12 @@ var BaseLoader = ({
4156
4143
  )
4157
4144
  }
4158
4145
  ),
4159
- /* @__PURE__ */ jsx108(
4146
+ /* @__PURE__ */ jsx109(
4160
4147
  "path",
4161
4148
  {
4162
4149
  id: "XMLID_24_",
4163
4150
  d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
4164
- children: /* @__PURE__ */ jsx108(
4151
+ children: /* @__PURE__ */ jsx109(
4165
4152
  "animate",
4166
4153
  {
4167
4154
  attributeName: "opacity",
@@ -4174,12 +4161,12 @@ var BaseLoader = ({
4174
4161
  )
4175
4162
  }
4176
4163
  ),
4177
- /* @__PURE__ */ jsx108(
4164
+ /* @__PURE__ */ jsx109(
4178
4165
  "path",
4179
4166
  {
4180
4167
  id: "XMLID_25_",
4181
4168
  d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
4182
- children: /* @__PURE__ */ jsx108(
4169
+ children: /* @__PURE__ */ jsx109(
4183
4170
  "animate",
4184
4171
  {
4185
4172
  attributeName: "opacity",
@@ -4192,12 +4179,12 @@ var BaseLoader = ({
4192
4179
  )
4193
4180
  }
4194
4181
  ),
4195
- /* @__PURE__ */ jsx108(
4182
+ /* @__PURE__ */ jsx109(
4196
4183
  "path",
4197
4184
  {
4198
4185
  id: "XMLID_26_",
4199
4186
  d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
4200
- children: /* @__PURE__ */ jsx108(
4187
+ children: /* @__PURE__ */ jsx109(
4201
4188
  "animate",
4202
4189
  {
4203
4190
  attributeName: "opacity",
@@ -4210,12 +4197,12 @@ var BaseLoader = ({
4210
4197
  )
4211
4198
  }
4212
4199
  ),
4213
- /* @__PURE__ */ jsx108(
4200
+ /* @__PURE__ */ jsx109(
4214
4201
  "path",
4215
4202
  {
4216
4203
  id: "XMLID_27_",
4217
4204
  d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
4218
- children: /* @__PURE__ */ jsx108(
4205
+ children: /* @__PURE__ */ jsx109(
4219
4206
  "animate",
4220
4207
  {
4221
4208
  attributeName: "opacity",
@@ -4231,31 +4218,31 @@ var BaseLoader = ({
4231
4218
  ]
4232
4219
  }
4233
4220
  ),
4234
- children ? /* @__PURE__ */ jsx108(Label2, { className: className.label, children }) : null
4221
+ children ? /* @__PURE__ */ jsx109(Label2, { className: className.label, children }) : null
4235
4222
  ]
4236
4223
  }
4237
4224
  );
4238
4225
  };
4239
4226
 
4240
4227
  // src/XLoader/XLoader.tsx
4241
- import { jsx as jsx109 } from "react/jsx-runtime";
4228
+ import { jsx as jsx110 } from "react/jsx-runtime";
4242
4229
  var LoaderFullScreen = (props) => {
4243
4230
  const id = useId();
4244
- return /* @__PURE__ */ jsx109(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx109(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx109(Dialog2, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx109(BaseLoader, { id, ...props }) }) }) });
4231
+ return /* @__PURE__ */ jsx110(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx110(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx110(Dialog2, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx110(BaseLoader, { id, ...props }) }) }) });
4245
4232
  };
4246
4233
  var LoaderSection = (props) => {
4247
- const className = useClassNames58({
4234
+ const className = useClassNames61({
4248
4235
  component: "Underlay",
4249
4236
  variant: "modal",
4250
4237
  className: "flex size-full items-center justify-center"
4251
4238
  });
4252
- return /* @__PURE__ */ jsx109("div", { className, children: /* @__PURE__ */ jsx109(BaseLoader, { ...props }) });
4239
+ return /* @__PURE__ */ jsx110("div", { className, children: /* @__PURE__ */ jsx110(BaseLoader, { ...props }) });
4253
4240
  };
4254
- var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx109(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx109(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx109(BaseLoader, { variant, ...props });
4241
+ var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx110(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx110(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx110(BaseLoader, { variant, ...props });
4255
4242
 
4256
4243
  // src/Tabs/Tabs.tsx
4257
4244
  import { Tabs } from "react-aria-components";
4258
- import { useClassNames as useClassNames59 } from "@marigold/system";
4245
+ import { useClassNames as useClassNames62 } from "@marigold/system";
4259
4246
 
4260
4247
  // src/Tabs/Context.ts
4261
4248
  import { createContext as createContext11, useContext as useContext18 } from "react";
@@ -4264,15 +4251,15 @@ var useTabContext = () => useContext18(TabContext);
4264
4251
 
4265
4252
  // src/Tabs/Tab.tsx
4266
4253
  import { Tab } from "react-aria-components";
4267
- import { cn as cn61 } from "@marigold/system";
4268
- import { jsx as jsx110 } from "react/jsx-runtime";
4254
+ import { cn as cn64 } from "@marigold/system";
4255
+ import { jsx as jsx111 } from "react/jsx-runtime";
4269
4256
  var _Tab = (props) => {
4270
4257
  const { classNames: classNames2 } = useTabContext();
4271
- return /* @__PURE__ */ jsx110(
4258
+ return /* @__PURE__ */ jsx111(
4272
4259
  Tab,
4273
4260
  {
4274
4261
  ...props,
4275
- className: cn61(
4262
+ className: cn64(
4276
4263
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
4277
4264
  classNames2.tab
4278
4265
  ),
@@ -4283,15 +4270,15 @@ var _Tab = (props) => {
4283
4270
 
4284
4271
  // src/Tabs/TabList.tsx
4285
4272
  import { TabList } from "react-aria-components";
4286
- import { cn as cn62, gapSpace as gapSpace10 } from "@marigold/system";
4287
- import { jsx as jsx111 } from "react/jsx-runtime";
4273
+ import { cn as cn65, gapSpace as gapSpace10 } from "@marigold/system";
4274
+ import { jsx as jsx112 } from "react/jsx-runtime";
4288
4275
  var _TabList = ({ space = 2, ...props }) => {
4289
4276
  const { classNames: classNames2 } = useTabContext();
4290
- return /* @__PURE__ */ jsx111(
4277
+ return /* @__PURE__ */ jsx112(
4291
4278
  TabList,
4292
4279
  {
4293
4280
  ...props,
4294
- className: cn62("flex", gapSpace10[space], classNames2.tabsList),
4281
+ className: cn65("flex", gapSpace10[space], classNames2.tabsList),
4295
4282
  children: props.children
4296
4283
  }
4297
4284
  );
@@ -4299,25 +4286,25 @@ var _TabList = ({ space = 2, ...props }) => {
4299
4286
 
4300
4287
  // src/Tabs/TabPanel.tsx
4301
4288
  import { TabPanel } from "react-aria-components";
4302
- import { jsx as jsx112 } from "react/jsx-runtime";
4289
+ import { jsx as jsx113 } from "react/jsx-runtime";
4303
4290
  var _TabPanel = (props) => {
4304
4291
  const { classNames: classNames2 } = useTabContext();
4305
- return /* @__PURE__ */ jsx112(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
4292
+ return /* @__PURE__ */ jsx113(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
4306
4293
  };
4307
4294
 
4308
4295
  // src/Tabs/Tabs.tsx
4309
- import { jsx as jsx113 } from "react/jsx-runtime";
4296
+ import { jsx as jsx114 } from "react/jsx-runtime";
4310
4297
  var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
4311
4298
  const props = {
4312
4299
  isDisabled: disabled,
4313
4300
  ...rest
4314
4301
  };
4315
- const classNames2 = useClassNames59({
4302
+ const classNames2 = useClassNames62({
4316
4303
  component: "Tabs",
4317
4304
  size,
4318
4305
  variant
4319
4306
  });
4320
- return /* @__PURE__ */ jsx113(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx113(Tabs, { ...props, className: classNames2.container, children: props.children }) });
4307
+ return /* @__PURE__ */ jsx114(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx114(Tabs, { ...props, className: classNames2.container, children: props.children }) });
4321
4308
  };
4322
4309
  _Tabs.List = _TabList;
4323
4310
  _Tabs.TabPanel = _TabPanel;