@marigold/components 7.5.4 → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -78,10 +78,11 @@ __export(src_exports, {
78
78
  Popover: () => _Popover,
79
79
  Radio: () => _Radio,
80
80
  RadioGroup: () => _RadioGroup,
81
- RouterProvider: () => import_react_aria_components57.RouterProvider,
81
+ RouterProvider: () => import_react_aria_components59.RouterProvider,
82
82
  Scrollable: () => Scrollable,
83
83
  SearchField: () => _SearchField,
84
84
  Select: () => _Select,
85
+ SelectList: () => _SelectList,
85
86
  Slider: () => _Slider,
86
87
  Split: () => Split,
87
88
  Stack: () => Stack,
@@ -2150,12 +2151,13 @@ var _Menu = ({
2150
2151
  size,
2151
2152
  disabled,
2152
2153
  open,
2154
+ placement,
2153
2155
  ...props
2154
2156
  }) => {
2155
2157
  const classNames2 = (0, import_system49.useClassNames)({ component: "Menu", variant, size });
2156
2158
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react_aria_components37.MenuTrigger, { ...props, children: [
2157
2159
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Button, { variant: "menu", disabled, children: label }),
2158
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Popover, { open, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_aria_components37.Menu, { ...props, className: classNames2.container, children }) })
2160
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Popover, { open, placement, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_aria_components37.Menu, { ...props, className: classNames2.container, children }) })
2159
2161
  ] });
2160
2162
  };
2161
2163
  _Menu.Item = _MenuItem;
@@ -2700,30 +2702,92 @@ var _Select = (0, import_react38.forwardRef)(
2700
2702
  _Select.Option = _ListBox.Item;
2701
2703
  _Select.Section = _ListBox.Section;
2702
2704
 
2703
- // src/Scrollable/Scrollable.tsx
2705
+ // src/SelectList/SelectList.tsx
2706
+ var import_react41 = require("react");
2707
+ var import_react_aria_components48 = require("react-aria-components");
2708
+ var import_system60 = require("@marigold/system");
2709
+
2710
+ // src/SelectList/Context.ts
2711
+ var import_react39 = require("react");
2712
+ var SelectListContext = (0, import_react39.createContext)(
2713
+ {}
2714
+ );
2715
+ var useSelectListContext = () => (0, import_react39.useContext)(SelectListContext);
2716
+
2717
+ // src/SelectList/SelectListItem.tsx
2718
+ var import_react40 = require("react");
2719
+ var import_react_aria_components47 = require("react-aria-components");
2704
2720
  var import_system59 = require("@marigold/system");
2705
2721
  var import_jsx_runtime70 = require("react/jsx-runtime");
2722
+ var _SelectListItem = (0, import_react40.forwardRef)(
2723
+ ({ children, ...props }, ref) => {
2724
+ let textValue = typeof children === "string" ? children : void 0;
2725
+ const { classNames: classNames2 } = useSelectListContext();
2726
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
2727
+ import_react_aria_components47.GridListItem,
2728
+ {
2729
+ textValue,
2730
+ ...props,
2731
+ className: (0, import_system59.cn)("flex items-center", classNames2 == null ? void 0 : classNames2.option),
2732
+ ref,
2733
+ children: ({ selectionMode }) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
2734
+ selectionMode === "multiple" && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(FieldGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(_Checkbox, { slot: "selection" }) }),
2735
+ children
2736
+ ] })
2737
+ }
2738
+ );
2739
+ }
2740
+ );
2741
+
2742
+ // src/SelectList/SelectList.tsx
2743
+ var import_jsx_runtime71 = require("react/jsx-runtime");
2744
+ var _SelectList = (0, import_react41.forwardRef)(
2745
+ ({ onChange, ...rest }, ref) => {
2746
+ const classNames2 = (0, import_system60.useClassNames)({ component: "ListBox" });
2747
+ const props = {
2748
+ onSelectionChange: onChange,
2749
+ ...rest
2750
+ };
2751
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: classNames2.container, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
2752
+ import_react_aria_components48.GridList,
2753
+ {
2754
+ ...props,
2755
+ ref,
2756
+ className: (0, import_system60.cn)(
2757
+ "overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
2758
+ classNames2.list
2759
+ ),
2760
+ children: props.children
2761
+ }
2762
+ ) }) });
2763
+ }
2764
+ );
2765
+ _SelectList.Item = _SelectListItem;
2766
+
2767
+ // src/Scrollable/Scrollable.tsx
2768
+ var import_system61 = require("@marigold/system");
2769
+ var import_jsx_runtime72 = require("react/jsx-runtime");
2706
2770
  var Scrollable = ({
2707
2771
  children,
2708
2772
  width = "full",
2709
2773
  height,
2710
2774
  ...props
2711
- }) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
2775
+ }) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
2712
2776
  "div",
2713
2777
  {
2714
2778
  ...props,
2715
- className: (0, import_system59.cn)(["sticky h-[--height] overflow-auto", import_system59.width[width]]),
2716
- style: (0, import_system59.createVar)({ height }),
2779
+ className: (0, import_system61.cn)(["sticky h-[--height] overflow-auto", import_system61.width[width]]),
2780
+ style: (0, import_system61.createVar)({ height }),
2717
2781
  children
2718
2782
  }
2719
2783
  );
2720
2784
 
2721
2785
  // src/Slider/Slider.tsx
2722
- var import_react39 = require("react");
2723
- var import_react_aria_components47 = require("react-aria-components");
2724
- var import_system60 = require("@marigold/system");
2725
- var import_jsx_runtime71 = require("react/jsx-runtime");
2726
- var _Slider = (0, import_react39.forwardRef)(
2786
+ var import_react42 = require("react");
2787
+ var import_react_aria_components49 = require("react-aria-components");
2788
+ var import_system62 = require("@marigold/system");
2789
+ var import_jsx_runtime73 = require("react/jsx-runtime");
2790
+ var _Slider = (0, import_react42.forwardRef)(
2727
2791
  ({
2728
2792
  thumbLabels,
2729
2793
  variant,
@@ -2732,7 +2796,7 @@ var _Slider = (0, import_react39.forwardRef)(
2732
2796
  disabled,
2733
2797
  ...rest
2734
2798
  }, ref) => {
2735
- const classNames2 = (0, import_system60.useClassNames)({
2799
+ const classNames2 = (0, import_system62.useClassNames)({
2736
2800
  component: "Slider",
2737
2801
  variant,
2738
2802
  size
@@ -2741,27 +2805,27 @@ var _Slider = (0, import_react39.forwardRef)(
2741
2805
  isDisabled: disabled,
2742
2806
  ...rest
2743
2807
  };
2744
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
2745
- import_react_aria_components47.Slider,
2808
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
2809
+ import_react_aria_components49.Slider,
2746
2810
  {
2747
- className: (0, import_system60.cn)(
2811
+ className: (0, import_system62.cn)(
2748
2812
  "grid grid-cols-[auto_1fr] gap-y-1",
2749
2813
  classNames2.container,
2750
- import_system60.width[width]
2814
+ import_system62.width[width]
2751
2815
  ),
2752
2816
  ref,
2753
2817
  ...props,
2754
2818
  children: [
2755
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_Label, { children: props.children }),
2756
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react_aria_components47.SliderOutput, { className: (0, import_system60.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2757
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
2758
- import_react_aria_components47.SliderTrack,
2819
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(_Label, { children: props.children }),
2820
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_react_aria_components49.SliderOutput, { className: (0, import_system62.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2821
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
2822
+ import_react_aria_components49.SliderTrack,
2759
2823
  {
2760
- className: (0, import_system60.cn)("relative col-span-2 h-2 w-full", classNames2.track),
2761
- children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
2762
- import_react_aria_components47.SliderThumb,
2824
+ className: (0, import_system62.cn)("relative col-span-2 h-2 w-full", classNames2.track),
2825
+ children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
2826
+ import_react_aria_components49.SliderThumb,
2763
2827
  {
2764
- className: (0, import_system60.cn)("top-1/2 cursor-pointer", classNames2.thumb),
2828
+ className: (0, import_system62.cn)("top-1/2 cursor-pointer", classNames2.thumb),
2765
2829
  index: i,
2766
2830
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i]
2767
2831
  },
@@ -2776,12 +2840,12 @@ var _Slider = (0, import_react39.forwardRef)(
2776
2840
  );
2777
2841
 
2778
2842
  // src/Split/Split.tsx
2779
- var import_jsx_runtime72 = require("react/jsx-runtime");
2780
- var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { ...props, role: "separator", className: "grow" });
2843
+ var import_jsx_runtime74 = require("react/jsx-runtime");
2844
+ var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { ...props, role: "separator", className: "grow" });
2781
2845
 
2782
2846
  // src/Stack/Stack.tsx
2783
- var import_system61 = require("@marigold/system");
2784
- var import_jsx_runtime73 = require("react/jsx-runtime");
2847
+ var import_system63 = require("@marigold/system");
2848
+ var import_jsx_runtime75 = require("react/jsx-runtime");
2785
2849
  var Stack = ({
2786
2850
  children,
2787
2851
  space = 0,
@@ -2792,14 +2856,14 @@ var Stack = ({
2792
2856
  ...props
2793
2857
  }) => {
2794
2858
  var _a, _b, _c, _d;
2795
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
2859
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
2796
2860
  "div",
2797
2861
  {
2798
- className: (0, import_system61.cn)(
2862
+ className: (0, import_system63.cn)(
2799
2863
  "flex flex-col",
2800
- import_system61.gapSpace[space],
2801
- alignX && ((_b = (_a = import_system61.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
2802
- alignY && ((_d = (_c = import_system61.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
2864
+ import_system63.gapSpace[space],
2865
+ alignX && ((_b = (_a = import_system63.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
2866
+ alignY && ((_d = (_c = import_system63.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
2803
2867
  stretch && "h-full w-full"
2804
2868
  ),
2805
2869
  ...props,
@@ -2809,11 +2873,11 @@ var Stack = ({
2809
2873
  };
2810
2874
 
2811
2875
  // src/Switch/Switch.tsx
2812
- var import_react40 = require("react");
2813
- var import_react_aria_components48 = require("react-aria-components");
2814
- var import_system62 = require("@marigold/system");
2815
- var import_jsx_runtime74 = require("react/jsx-runtime");
2816
- var _Switch = (0, import_react40.forwardRef)(
2876
+ var import_react43 = require("react");
2877
+ var import_react_aria_components50 = require("react-aria-components");
2878
+ var import_system64 = require("@marigold/system");
2879
+ var import_jsx_runtime76 = require("react/jsx-runtime");
2880
+ var _Switch = (0, import_react43.forwardRef)(
2817
2881
  ({
2818
2882
  variant,
2819
2883
  size,
@@ -2824,37 +2888,37 @@ var _Switch = (0, import_react40.forwardRef)(
2824
2888
  readOnly,
2825
2889
  ...rest
2826
2890
  }, ref) => {
2827
- const classNames2 = (0, import_system62.useClassNames)({ component: "Switch", size, variant });
2891
+ const classNames2 = (0, import_system64.useClassNames)({ component: "Switch", size, variant });
2828
2892
  const props = {
2829
2893
  isDisabled: disabled,
2830
2894
  isReadOnly: readOnly,
2831
2895
  isSelected: selected,
2832
2896
  ...rest
2833
2897
  };
2834
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
2835
- import_react_aria_components48.Switch,
2898
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
2899
+ import_react_aria_components50.Switch,
2836
2900
  {
2837
2901
  ...props,
2838
2902
  ref,
2839
- className: (0, import_system62.cn)(
2840
- import_system62.width[width],
2903
+ className: (0, import_system64.cn)(
2904
+ import_system64.width[width],
2841
2905
  "group/switch",
2842
2906
  "flex items-center gap-[1ch]",
2843
2907
  classNames2.container
2844
2908
  ),
2845
2909
  children: [
2846
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(_Label, { elementType: "span", children }),
2847
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
2910
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(_Label, { elementType: "span", children }),
2911
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
2848
2912
  "div",
2849
2913
  {
2850
- className: (0, import_system62.cn)(
2914
+ className: (0, import_system64.cn)(
2851
2915
  "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed ",
2852
2916
  classNames2.track
2853
2917
  ),
2854
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
2918
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
2855
2919
  "div",
2856
2920
  {
2857
- className: (0, import_system62.cn)(
2921
+ className: (0, import_system64.cn)(
2858
2922
  "h-[22px] w-[22px]",
2859
2923
  "cubic-bezier(.7,0,.3,1)",
2860
2924
  "absolute left-0 top-px",
@@ -2873,33 +2937,33 @@ var _Switch = (0, import_react40.forwardRef)(
2873
2937
  );
2874
2938
 
2875
2939
  // src/Table/Table.tsx
2876
- var import_react48 = require("react");
2940
+ var import_react51 = require("react");
2877
2941
  var import_table9 = require("@react-aria/table");
2878
2942
  var import_table10 = require("@react-stately/table");
2879
- var import_system69 = require("@marigold/system");
2943
+ var import_system71 = require("@marigold/system");
2880
2944
 
2881
2945
  // src/Table/Context.tsx
2882
- var import_react41 = require("react");
2883
- var TableContext = (0, import_react41.createContext)({});
2884
- var useTableContext = () => (0, import_react41.useContext)(TableContext);
2946
+ var import_react44 = require("react");
2947
+ var TableContext = (0, import_react44.createContext)({});
2948
+ var useTableContext = () => (0, import_react44.useContext)(TableContext);
2885
2949
 
2886
2950
  // src/Table/TableBody.tsx
2887
2951
  var import_table = require("@react-aria/table");
2888
- var import_jsx_runtime75 = require("react/jsx-runtime");
2952
+ var import_jsx_runtime77 = require("react/jsx-runtime");
2889
2953
  var TableBody = ({ children }) => {
2890
2954
  const { rowGroupProps } = (0, import_table.useTableRowGroup)();
2891
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("tbody", { ...rowGroupProps, children });
2955
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tbody", { ...rowGroupProps, children });
2892
2956
  };
2893
2957
 
2894
2958
  // src/Table/TableCell.tsx
2895
- var import_react42 = require("react");
2959
+ var import_react45 = require("react");
2896
2960
  var import_focus2 = require("@react-aria/focus");
2897
2961
  var import_table2 = require("@react-aria/table");
2898
2962
  var import_utils3 = require("@react-aria/utils");
2899
- var import_system63 = require("@marigold/system");
2900
- var import_jsx_runtime76 = require("react/jsx-runtime");
2963
+ var import_system65 = require("@marigold/system");
2964
+ var import_jsx_runtime78 = require("react/jsx-runtime");
2901
2965
  var TableCell = ({ cell, align = "left" }) => {
2902
- const ref = (0, import_react42.useRef)(null);
2966
+ const ref = (0, import_react45.useRef)(null);
2903
2967
  const { interactive, state, classNames: classNames2 } = useTableContext();
2904
2968
  const disabled = state.disabledKeys.has(cell.parentKey);
2905
2969
  const { gridCellProps } = (0, import_table2.useTableCell)(
@@ -2919,12 +2983,12 @@ var TableCell = ({ cell, align = "left" }) => {
2919
2983
  onPointerDown: (e) => e.stopPropagation()
2920
2984
  };
2921
2985
  const { focusProps, isFocusVisible } = (0, import_focus2.useFocusRing)();
2922
- const stateProps = (0, import_system63.useStateProps)({ disabled, focusVisible: isFocusVisible });
2923
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
2986
+ const stateProps = (0, import_system65.useStateProps)({ disabled, focusVisible: isFocusVisible });
2987
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
2924
2988
  "td",
2925
2989
  {
2926
2990
  ref,
2927
- className: (0, import_system63.cn)(classNames2 == null ? void 0 : classNames2.cell),
2991
+ className: (0, import_system65.cn)(classNames2 == null ? void 0 : classNames2.cell),
2928
2992
  ...(0, import_utils3.mergeProps)(cellProps, focusProps),
2929
2993
  ...stateProps,
2930
2994
  align,
@@ -2934,11 +2998,11 @@ var TableCell = ({ cell, align = "left" }) => {
2934
2998
  };
2935
2999
 
2936
3000
  // src/Table/TableCheckboxCell.tsx
2937
- var import_react43 = require("react");
3001
+ var import_react46 = require("react");
2938
3002
  var import_focus3 = require("@react-aria/focus");
2939
3003
  var import_table3 = require("@react-aria/table");
2940
3004
  var import_utils4 = require("@react-aria/utils");
2941
- var import_system64 = require("@marigold/system");
3005
+ var import_system66 = require("@marigold/system");
2942
3006
 
2943
3007
  // src/Table/utils.ts
2944
3008
  var mapCheckboxProps = ({
@@ -2961,9 +3025,9 @@ var mapCheckboxProps = ({
2961
3025
  };
2962
3026
 
2963
3027
  // src/Table/TableCheckboxCell.tsx
2964
- var import_jsx_runtime77 = require("react/jsx-runtime");
3028
+ var import_jsx_runtime79 = require("react/jsx-runtime");
2965
3029
  var TableCheckboxCell = ({ cell }) => {
2966
- const ref = (0, import_react43.useRef)(null);
3030
+ const ref = (0, import_react46.useRef)(null);
2967
3031
  const { state, classNames: classNames2 } = useTableContext();
2968
3032
  const disabled = state.disabledKeys.has(cell.parentKey);
2969
3033
  const { gridCellProps } = (0, import_table3.useTableCell)(
@@ -2977,36 +3041,36 @@ var TableCheckboxCell = ({ cell }) => {
2977
3041
  (0, import_table3.useTableSelectionCheckbox)({ key: cell.parentKey }, state)
2978
3042
  );
2979
3043
  const { focusProps, isFocusVisible } = (0, import_focus3.useFocusRing)();
2980
- const stateProps = (0, import_system64.useStateProps)({ disabled, focusVisible: isFocusVisible });
2981
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
3044
+ const stateProps = (0, import_system66.useStateProps)({ disabled, focusVisible: isFocusVisible });
3045
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
2982
3046
  "td",
2983
3047
  {
2984
3048
  ref,
2985
- className: (0, import_system64.cn)("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3049
+ className: (0, import_system66.cn)("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
2986
3050
  ...(0, import_utils4.mergeProps)(gridCellProps, focusProps),
2987
3051
  ...stateProps,
2988
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(_Checkbox, { ...checkboxProps })
3052
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(_Checkbox, { ...checkboxProps })
2989
3053
  }
2990
3054
  );
2991
3055
  };
2992
3056
 
2993
3057
  // src/Table/TableColumnHeader.tsx
2994
- var import_react44 = require("react");
3058
+ var import_react47 = require("react");
2995
3059
  var import_focus4 = require("@react-aria/focus");
2996
3060
  var import_interactions = require("@react-aria/interactions");
2997
3061
  var import_table4 = require("@react-aria/table");
2998
3062
  var import_utils6 = require("@react-aria/utils");
2999
3063
  var import_icons3 = require("@marigold/icons");
3000
- var import_system65 = require("@marigold/system");
3001
- var import_system66 = require("@marigold/system");
3002
- var import_jsx_runtime78 = require("react/jsx-runtime");
3064
+ var import_system67 = require("@marigold/system");
3065
+ var import_system68 = require("@marigold/system");
3066
+ var import_jsx_runtime80 = require("react/jsx-runtime");
3003
3067
  var TableColumnHeader = ({
3004
3068
  column,
3005
3069
  width = "auto",
3006
3070
  align = "left"
3007
3071
  }) => {
3008
3072
  var _a, _b;
3009
- const ref = (0, import_react44.useRef)(null);
3073
+ const ref = (0, import_react47.useRef)(null);
3010
3074
  const { state, classNames: classNames2 } = useTableContext();
3011
3075
  const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
3012
3076
  {
@@ -3017,22 +3081,22 @@ var TableColumnHeader = ({
3017
3081
  );
3018
3082
  const { hoverProps, isHovered } = (0, import_interactions.useHover)({});
3019
3083
  const { focusProps, isFocusVisible } = (0, import_focus4.useFocusRing)();
3020
- const stateProps = (0, import_system65.useStateProps)({
3084
+ const stateProps = (0, import_system67.useStateProps)({
3021
3085
  hover: isHovered,
3022
3086
  focusVisible: isFocusVisible
3023
3087
  });
3024
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
3088
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
3025
3089
  "th",
3026
3090
  {
3027
3091
  colSpan: column.colspan,
3028
3092
  ref,
3029
- className: (0, import_system65.cn)("cursor-default", import_system66.width[width], classNames2 == null ? void 0 : classNames2.header),
3093
+ className: (0, import_system67.cn)("cursor-default", import_system68.width[width], classNames2 == null ? void 0 : classNames2.header),
3030
3094
  ...(0, import_utils6.mergeProps)(columnHeaderProps, hoverProps, focusProps),
3031
3095
  ...stateProps,
3032
3096
  align,
3033
3097
  children: [
3034
3098
  column.rendered,
3035
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_icons3.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_icons3.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_icons3.SortDown, { className: "inline-block" }))
3099
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_icons3.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_icons3.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_icons3.SortDown, { className: "inline-block" }))
3036
3100
  ]
3037
3101
  }
3038
3102
  );
@@ -3040,10 +3104,10 @@ var TableColumnHeader = ({
3040
3104
 
3041
3105
  // src/Table/TableHeader.tsx
3042
3106
  var import_table5 = require("@react-aria/table");
3043
- var import_jsx_runtime79 = require("react/jsx-runtime");
3107
+ var import_jsx_runtime81 = require("react/jsx-runtime");
3044
3108
  var TableHeader = ({ stickyHeader, children }) => {
3045
3109
  const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
3046
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3110
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3047
3111
  "thead",
3048
3112
  {
3049
3113
  ...rowGroupProps,
@@ -3054,29 +3118,29 @@ var TableHeader = ({ stickyHeader, children }) => {
3054
3118
  };
3055
3119
 
3056
3120
  // src/Table/TableHeaderRow.tsx
3057
- var import_react45 = require("react");
3121
+ var import_react48 = require("react");
3058
3122
  var import_table6 = require("@react-aria/table");
3059
- var import_jsx_runtime80 = require("react/jsx-runtime");
3123
+ var import_jsx_runtime82 = require("react/jsx-runtime");
3060
3124
  var TableHeaderRow = ({ item, children }) => {
3061
3125
  const { state } = useTableContext();
3062
- const ref = (0, import_react45.useRef)(null);
3126
+ const ref = (0, import_react48.useRef)(null);
3063
3127
  const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
3064
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("tr", { ...rowProps, ref, children });
3128
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("tr", { ...rowProps, ref, children });
3065
3129
  };
3066
3130
 
3067
3131
  // src/Table/TableRow.tsx
3068
- var import_react46 = require("react");
3132
+ var import_react49 = require("react");
3069
3133
  var import_focus5 = require("@react-aria/focus");
3070
3134
  var import_interactions2 = require("@react-aria/interactions");
3071
3135
  var import_table7 = require("@react-aria/table");
3072
3136
  var import_utils7 = require("@react-aria/utils");
3073
- var import_system67 = require("@marigold/system");
3074
- var import_jsx_runtime81 = require("react/jsx-runtime");
3137
+ var import_system69 = require("@marigold/system");
3138
+ var import_jsx_runtime83 = require("react/jsx-runtime");
3075
3139
  var TableRow = ({ children, row }) => {
3076
- const ref = (0, import_react46.useRef)(null);
3140
+ const ref = (0, import_react49.useRef)(null);
3077
3141
  const { interactive, state, ...ctx } = useTableContext();
3078
3142
  const { variant, size } = row.props;
3079
- const classNames2 = (0, import_system67.useClassNames)({
3143
+ const classNames2 = (0, import_system69.useClassNames)({
3080
3144
  component: "Table",
3081
3145
  variant: variant || ctx.variant,
3082
3146
  size: size || ctx.size
@@ -3094,18 +3158,18 @@ var TableRow = ({ children, row }) => {
3094
3158
  const { hoverProps, isHovered } = (0, import_interactions2.useHover)({
3095
3159
  isDisabled: disabled || !interactive
3096
3160
  });
3097
- const stateProps = (0, import_system67.useStateProps)({
3161
+ const stateProps = (0, import_system69.useStateProps)({
3098
3162
  disabled,
3099
3163
  selected,
3100
3164
  hover: isHovered,
3101
3165
  focusVisible: isFocusVisible,
3102
3166
  active: isPressed
3103
3167
  });
3104
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3168
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3105
3169
  "tr",
3106
3170
  {
3107
3171
  ref,
3108
- className: (0, import_system67.cn)(
3172
+ className: (0, import_system69.cn)(
3109
3173
  [
3110
3174
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
3111
3175
  ],
@@ -3119,19 +3183,19 @@ var TableRow = ({ children, row }) => {
3119
3183
  };
3120
3184
 
3121
3185
  // src/Table/TableSelectAllCell.tsx
3122
- var import_react47 = require("react");
3186
+ var import_react50 = require("react");
3123
3187
  var import_focus6 = require("@react-aria/focus");
3124
3188
  var import_interactions3 = require("@react-aria/interactions");
3125
3189
  var import_table8 = require("@react-aria/table");
3126
3190
  var import_utils8 = require("@react-aria/utils");
3127
- var import_system68 = require("@marigold/system");
3128
- var import_jsx_runtime82 = require("react/jsx-runtime");
3191
+ var import_system70 = require("@marigold/system");
3192
+ var import_jsx_runtime84 = require("react/jsx-runtime");
3129
3193
  var TableSelectAllCell = ({
3130
3194
  column,
3131
3195
  width = "auto",
3132
3196
  align = "left"
3133
3197
  }) => {
3134
- const ref = (0, import_react47.useRef)(null);
3198
+ const ref = (0, import_react50.useRef)(null);
3135
3199
  const { state, classNames: classNames2 } = useTableContext();
3136
3200
  const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
3137
3201
  {
@@ -3143,57 +3207,61 @@ var TableSelectAllCell = ({
3143
3207
  const { checkboxProps } = mapCheckboxProps((0, import_table8.useTableSelectAllCheckbox)(state));
3144
3208
  const { hoverProps, isHovered } = (0, import_interactions3.useHover)({});
3145
3209
  const { focusProps, isFocusVisible } = (0, import_focus6.useFocusRing)();
3146
- const stateProps = (0, import_system68.useStateProps)({
3210
+ const stateProps = (0, import_system70.useStateProps)({
3147
3211
  hover: isHovered,
3148
3212
  focusVisible: isFocusVisible
3149
3213
  });
3150
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
3214
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3151
3215
  "th",
3152
3216
  {
3153
3217
  ref,
3154
- className: (0, import_system68.cn)(import_system68.width[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
3218
+ className: (0, import_system70.cn)(import_system70.width[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
3155
3219
  ...(0, import_utils8.mergeProps)(columnHeaderProps, hoverProps, focusProps),
3156
3220
  ...stateProps,
3157
3221
  align,
3158
- children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(_Checkbox, { ...checkboxProps })
3222
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(_Checkbox, { ...checkboxProps })
3159
3223
  }
3160
3224
  );
3161
3225
  };
3162
3226
 
3163
3227
  // src/Table/Table.tsx
3164
- var import_jsx_runtime83 = require("react/jsx-runtime");
3228
+ var import_jsx_runtime85 = require("react/jsx-runtime");
3165
3229
  var Table = ({
3166
3230
  variant,
3167
3231
  size,
3168
3232
  stretch,
3169
3233
  selectionMode = "none",
3234
+ disableKeyboardNavigation = false,
3170
3235
  stickyHeader,
3171
3236
  ...props
3172
3237
  }) => {
3173
3238
  const interactive = selectionMode !== "none";
3174
- const tableRef = (0, import_react48.useRef)(null);
3239
+ const tableRef = (0, import_react51.useRef)(null);
3175
3240
  const state = (0, import_table10.useTableState)({
3176
3241
  ...props,
3177
3242
  selectionMode,
3178
3243
  showSelectionCheckboxes: selectionMode === "multiple" && // TODO: It this necessary?
3179
3244
  props.selectionBehavior !== "replace"
3180
3245
  });
3246
+ if (disableKeyboardNavigation !== void 0) {
3247
+ state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
3248
+ }
3181
3249
  const { gridProps } = (0, import_table9.useTable)(props, state, tableRef);
3182
- const classNames2 = (0, import_system69.useClassNames)({
3250
+ const classNames2 = (0, import_system71.useClassNames)({
3183
3251
  component: "Table",
3184
3252
  variant,
3185
3253
  size
3186
3254
  });
3187
3255
  const { collection } = state;
3188
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3256
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
3189
3257
  TableContext.Provider,
3190
3258
  {
3191
3259
  value: { state, interactive, classNames: classNames2, variant, size },
3192
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
3260
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
3193
3261
  "table",
3194
3262
  {
3195
3263
  ref: tableRef,
3196
- className: (0, import_system69.cn)(
3264
+ className: (0, import_system71.cn)(
3197
3265
  "group/table",
3198
3266
  "border-collapse whitespace-nowrap",
3199
3267
  stretch ? "table w-full" : "block",
@@ -3201,10 +3269,10 @@ var Table = ({
3201
3269
  ),
3202
3270
  ...gridProps,
3203
3271
  children: [
3204
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3272
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3205
3273
  (column) => {
3206
3274
  var _a, _b, _c, _d, _e;
3207
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3275
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
3208
3276
  TableSelectAllCell,
3209
3277
  {
3210
3278
  width: (_b = column.props) == null ? void 0 : _b.width,
@@ -3212,7 +3280,7 @@ var Table = ({
3212
3280
  align: (_c = column.props) == null ? void 0 : _c.align
3213
3281
  },
3214
3282
  column.key
3215
- ) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3283
+ ) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
3216
3284
  TableColumnHeader,
3217
3285
  {
3218
3286
  width: (_d = column.props) == null ? void 0 : _d.width,
@@ -3223,12 +3291,12 @@ var Table = ({
3223
3291
  );
3224
3292
  }
3225
3293
  ) }, headerRow.key)) }),
3226
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(TableBody, { children: [
3294
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(TableBody, { children: [
3227
3295
  ...collection.rows.map(
3228
- (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3296
+ (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3229
3297
  var _a, _b;
3230
3298
  const currentColumn = collection.columns[index];
3231
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3299
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
3232
3300
  TableCell,
3233
3301
  {
3234
3302
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -3252,8 +3320,8 @@ Table.Header = import_table10.TableHeader;
3252
3320
  Table.Row = import_table10.Row;
3253
3321
 
3254
3322
  // src/Text/Text.tsx
3255
- var import_system70 = require("@marigold/system");
3256
- var import_jsx_runtime84 = require("react/jsx-runtime");
3323
+ var import_system72 = require("@marigold/system");
3324
+ var import_jsx_runtime86 = require("react/jsx-runtime");
3257
3325
  var Text2 = ({
3258
3326
  variant,
3259
3327
  size,
@@ -3266,27 +3334,27 @@ var Text2 = ({
3266
3334
  children,
3267
3335
  ...props
3268
3336
  }) => {
3269
- const theme = (0, import_system70.useTheme)();
3270
- const classNames2 = (0, import_system70.useClassNames)({
3337
+ const theme = (0, import_system72.useTheme)();
3338
+ const classNames2 = (0, import_system72.useClassNames)({
3271
3339
  component: "Text",
3272
3340
  variant,
3273
3341
  size
3274
3342
  });
3275
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3343
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
3276
3344
  "p",
3277
3345
  {
3278
3346
  ...props,
3279
- className: (0, import_system70.cn)(
3347
+ className: (0, import_system72.cn)(
3280
3348
  "text-[--color] outline-[--outline]",
3281
3349
  classNames2,
3282
- fontStyle && import_system70.textStyle[fontStyle],
3283
- align && import_system70.textAlign[align],
3284
- cursor && import_system70.cursorStyle[cursor],
3285
- weight && import_system70.fontWeight[weight],
3286
- fontSize && import_system70.textSize[fontSize]
3350
+ fontStyle && import_system72.textStyle[fontStyle],
3351
+ align && import_system72.textAlign[align],
3352
+ cursor && import_system72.cursorStyle[cursor],
3353
+ weight && import_system72.fontWeight[weight],
3354
+ fontSize && import_system72.textSize[fontSize]
3287
3355
  ),
3288
- style: (0, import_system70.createVar)({
3289
- color: color && (0, import_system70.getColor)(
3356
+ style: (0, import_system72.createVar)({
3357
+ color: color && (0, import_system72.getColor)(
3290
3358
  theme,
3291
3359
  color,
3292
3360
  color
@@ -3299,11 +3367,11 @@ var Text2 = ({
3299
3367
  };
3300
3368
 
3301
3369
  // src/TextArea/TextArea.tsx
3302
- var import_react49 = require("react");
3303
- var import_react_aria_components49 = require("react-aria-components");
3304
- var import_system71 = require("@marigold/system");
3305
- var import_jsx_runtime85 = require("react/jsx-runtime");
3306
- var _TextArea = (0, import_react49.forwardRef)(
3370
+ var import_react52 = require("react");
3371
+ var import_react_aria_components51 = require("react-aria-components");
3372
+ var import_system73 = require("@marigold/system");
3373
+ var import_jsx_runtime87 = require("react/jsx-runtime");
3374
+ var _TextArea = (0, import_react52.forwardRef)(
3307
3375
  ({
3308
3376
  variant,
3309
3377
  size,
@@ -3314,7 +3382,7 @@ var _TextArea = (0, import_react49.forwardRef)(
3314
3382
  rows,
3315
3383
  ...rest
3316
3384
  }, ref) => {
3317
- const classNames2 = (0, import_system71.useClassNames)({ component: "TextArea", variant, size });
3385
+ const classNames2 = (0, import_system73.useClassNames)({ component: "TextArea", variant, size });
3318
3386
  const props = {
3319
3387
  isDisabled: disabled,
3320
3388
  isReadOnly: readOnly,
@@ -3322,15 +3390,15 @@ var _TextArea = (0, import_react49.forwardRef)(
3322
3390
  isRequired: required,
3323
3391
  ...rest
3324
3392
  };
3325
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(FieldBase, { as: import_react_aria_components49.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_aria_components49.TextArea, { className: classNames2, ref, rows }) });
3393
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(FieldBase, { as: import_react_aria_components51.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_aria_components51.TextArea, { className: classNames2, ref, rows }) });
3326
3394
  }
3327
3395
  );
3328
3396
 
3329
3397
  // src/TextField/TextField.tsx
3330
- var import_react50 = require("react");
3331
- var import_react_aria_components50 = require("react-aria-components");
3332
- var import_jsx_runtime86 = require("react/jsx-runtime");
3333
- var _TextField = (0, import_react50.forwardRef)(
3398
+ var import_react53 = require("react");
3399
+ var import_react_aria_components52 = require("react-aria-components");
3400
+ var import_jsx_runtime88 = require("react/jsx-runtime");
3401
+ var _TextField = (0, import_react53.forwardRef)(
3334
3402
  ({
3335
3403
  variant,
3336
3404
  size,
@@ -3347,13 +3415,13 @@ var _TextField = (0, import_react50.forwardRef)(
3347
3415
  isRequired: required,
3348
3416
  ...rest
3349
3417
  };
3350
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(FieldBase, { as: import_react_aria_components50.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(_Input, { ref }) });
3418
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(FieldBase, { as: import_react_aria_components52.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(_Input, { ref }) });
3351
3419
  }
3352
3420
  );
3353
3421
 
3354
3422
  // src/Tiles/Tiles.tsx
3355
- var import_system72 = require("@marigold/system");
3356
- var import_jsx_runtime87 = require("react/jsx-runtime");
3423
+ var import_system74 = require("@marigold/system");
3424
+ var import_jsx_runtime89 = require("react/jsx-runtime");
3357
3425
  var Tiles = ({
3358
3426
  space = 0,
3359
3427
  stretch = false,
@@ -3366,29 +3434,29 @@ var Tiles = ({
3366
3434
  if (stretch) {
3367
3435
  column = `minmax(${column}, 1fr)`;
3368
3436
  }
3369
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
3437
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3370
3438
  "div",
3371
3439
  {
3372
3440
  ...props,
3373
- className: (0, import_system72.cn)(
3441
+ className: (0, import_system74.cn)(
3374
3442
  "grid",
3375
- import_system72.gapSpace[space],
3443
+ import_system74.gapSpace[space],
3376
3444
  "grid-cols-[repeat(auto-fit,var(--column))]",
3377
3445
  equalHeight && "auto-rows-[1fr]"
3378
3446
  ),
3379
- style: (0, import_system72.createVar)({ column, tilesWidth }),
3447
+ style: (0, import_system74.createVar)({ column, tilesWidth }),
3380
3448
  children
3381
3449
  }
3382
3450
  );
3383
3451
  };
3384
3452
 
3385
3453
  // src/Tooltip/Tooltip.tsx
3386
- var import_react_aria_components52 = require("react-aria-components");
3387
- var import_system73 = require("@marigold/system");
3454
+ var import_react_aria_components54 = require("react-aria-components");
3455
+ var import_system75 = require("@marigold/system");
3388
3456
 
3389
3457
  // src/Tooltip/TooltipTrigger.tsx
3390
- var import_react_aria_components51 = require("react-aria-components");
3391
- var import_jsx_runtime88 = require("react/jsx-runtime");
3458
+ var import_react_aria_components53 = require("react-aria-components");
3459
+ var import_jsx_runtime90 = require("react/jsx-runtime");
3392
3460
  var _TooltipTrigger = ({
3393
3461
  delay = 1e3,
3394
3462
  children,
@@ -3402,26 +3470,26 @@ var _TooltipTrigger = ({
3402
3470
  isOpen: open,
3403
3471
  delay
3404
3472
  };
3405
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria_components51.TooltipTrigger, { ...props, children });
3473
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_aria_components53.TooltipTrigger, { ...props, children });
3406
3474
  };
3407
3475
 
3408
3476
  // src/Tooltip/Tooltip.tsx
3409
- var import_jsx_runtime89 = require("react/jsx-runtime");
3477
+ var import_jsx_runtime91 = require("react/jsx-runtime");
3410
3478
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3411
3479
  const props = {
3412
3480
  ...rest,
3413
3481
  isOpen: open
3414
3482
  };
3415
- const classNames2 = (0, import_system73.useClassNames)({ component: "Tooltip", variant, size });
3483
+ const classNames2 = (0, import_system75.useClassNames)({ component: "Tooltip", variant, size });
3416
3484
  const portal = usePortalContainer();
3417
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
3418
- import_react_aria_components52.Tooltip,
3485
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
3486
+ import_react_aria_components54.Tooltip,
3419
3487
  {
3420
3488
  ...props,
3421
- className: (0, import_system73.cn)("group/tooltip", classNames2.container),
3489
+ className: (0, import_system75.cn)("group/tooltip", classNames2.container),
3422
3490
  UNSTABLE_portalContainer: portal,
3423
3491
  children: [
3424
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_aria_components52.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3492
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_aria_components54.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3425
3493
  children
3426
3494
  ]
3427
3495
  }
@@ -3433,11 +3501,11 @@ _Tooltip.Trigger = _TooltipTrigger;
3433
3501
  var import_visually_hidden = require("@react-aria/visually-hidden");
3434
3502
 
3435
3503
  // src/XLoader/XLoader.tsx
3436
- var import_react51 = require("react");
3437
- var import_system74 = require("@marigold/system");
3438
- var import_jsx_runtime90 = require("react/jsx-runtime");
3439
- var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
3440
- import_system74.SVG,
3504
+ var import_react54 = require("react");
3505
+ var import_system76 = require("@marigold/system");
3506
+ var import_jsx_runtime92 = require("react/jsx-runtime");
3507
+ var XLoader = (0, import_react54.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
3508
+ import_system76.SVG,
3441
3509
  {
3442
3510
  id: "XLoader",
3443
3511
  xmlns: "http://www.w3.org/2000/svg",
@@ -3446,13 +3514,13 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3446
3514
  ...props,
3447
3515
  ...ref,
3448
3516
  children: [
3449
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3450
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3517
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3518
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3451
3519
  "path",
3452
3520
  {
3453
3521
  id: "XMLID_5_",
3454
3522
  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",
3455
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3523
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3456
3524
  "animate",
3457
3525
  {
3458
3526
  attributeName: "opacity",
@@ -3465,12 +3533,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3465
3533
  )
3466
3534
  }
3467
3535
  ),
3468
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3536
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3469
3537
  "path",
3470
3538
  {
3471
3539
  id: "XMLID_18_",
3472
3540
  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",
3473
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3541
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3474
3542
  "animate",
3475
3543
  {
3476
3544
  attributeName: "opacity",
@@ -3483,12 +3551,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3483
3551
  )
3484
3552
  }
3485
3553
  ),
3486
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3554
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3487
3555
  "path",
3488
3556
  {
3489
3557
  id: "XMLID_19_",
3490
3558
  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",
3491
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3559
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3492
3560
  "animate",
3493
3561
  {
3494
3562
  attributeName: "opacity",
@@ -3501,12 +3569,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3501
3569
  )
3502
3570
  }
3503
3571
  ),
3504
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3572
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3505
3573
  "path",
3506
3574
  {
3507
3575
  id: "XMLID_20_",
3508
3576
  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",
3509
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3577
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3510
3578
  "animate",
3511
3579
  {
3512
3580
  attributeName: "opacity",
@@ -3519,12 +3587,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3519
3587
  )
3520
3588
  }
3521
3589
  ),
3522
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3590
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3523
3591
  "path",
3524
3592
  {
3525
3593
  id: "XMLID_21_",
3526
3594
  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",
3527
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3595
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3528
3596
  "animate",
3529
3597
  {
3530
3598
  attributeName: "opacity",
@@ -3537,12 +3605,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3537
3605
  )
3538
3606
  }
3539
3607
  ),
3540
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3608
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3541
3609
  "path",
3542
3610
  {
3543
3611
  id: "XMLID_22_",
3544
3612
  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",
3545
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3613
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3546
3614
  "animate",
3547
3615
  {
3548
3616
  attributeName: "opacity",
@@ -3555,12 +3623,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3555
3623
  )
3556
3624
  }
3557
3625
  ),
3558
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3626
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3559
3627
  "path",
3560
3628
  {
3561
3629
  id: "XMLID_23_",
3562
3630
  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",
3563
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3631
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3564
3632
  "animate",
3565
3633
  {
3566
3634
  attributeName: "opacity",
@@ -3573,12 +3641,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3573
3641
  )
3574
3642
  }
3575
3643
  ),
3576
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3644
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3577
3645
  "path",
3578
3646
  {
3579
3647
  id: "XMLID_24_",
3580
3648
  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",
3581
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3649
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3582
3650
  "animate",
3583
3651
  {
3584
3652
  attributeName: "opacity",
@@ -3591,12 +3659,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3591
3659
  )
3592
3660
  }
3593
3661
  ),
3594
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3662
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3595
3663
  "path",
3596
3664
  {
3597
3665
  id: "XMLID_25_",
3598
3666
  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",
3599
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3667
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3600
3668
  "animate",
3601
3669
  {
3602
3670
  attributeName: "opacity",
@@ -3609,12 +3677,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3609
3677
  )
3610
3678
  }
3611
3679
  ),
3612
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3680
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3613
3681
  "path",
3614
3682
  {
3615
3683
  id: "XMLID_26_",
3616
3684
  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",
3617
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3685
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3618
3686
  "animate",
3619
3687
  {
3620
3688
  attributeName: "opacity",
@@ -3627,12 +3695,12 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3627
3695
  )
3628
3696
  }
3629
3697
  ),
3630
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3698
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3631
3699
  "path",
3632
3700
  {
3633
3701
  id: "XMLID_27_",
3634
3702
  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",
3635
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3703
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3636
3704
  "animate",
3637
3705
  {
3638
3706
  attributeName: "opacity",
@@ -3650,25 +3718,25 @@ var XLoader = (0, import_react51.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3650
3718
  ));
3651
3719
 
3652
3720
  // src/Tabs/Tabs.tsx
3653
- var import_react_aria_components56 = require("react-aria-components");
3654
- var import_system77 = require("@marigold/system");
3721
+ var import_react_aria_components58 = require("react-aria-components");
3722
+ var import_system79 = require("@marigold/system");
3655
3723
 
3656
3724
  // src/Tabs/Context.ts
3657
- var import_react52 = require("react");
3658
- var TabContext = (0, import_react52.createContext)({});
3659
- var useTabContext = () => (0, import_react52.useContext)(TabContext);
3725
+ var import_react55 = require("react");
3726
+ var TabContext = (0, import_react55.createContext)({});
3727
+ var useTabContext = () => (0, import_react55.useContext)(TabContext);
3660
3728
 
3661
3729
  // src/Tabs/Tab.tsx
3662
- var import_react_aria_components53 = require("react-aria-components");
3663
- var import_system75 = require("@marigold/system");
3664
- var import_jsx_runtime91 = require("react/jsx-runtime");
3730
+ var import_react_aria_components55 = require("react-aria-components");
3731
+ var import_system77 = require("@marigold/system");
3732
+ var import_jsx_runtime93 = require("react/jsx-runtime");
3665
3733
  var _Tab = (props) => {
3666
3734
  const { classNames: classNames2 } = useTabContext();
3667
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
3668
- import_react_aria_components53.Tab,
3735
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
3736
+ import_react_aria_components55.Tab,
3669
3737
  {
3670
3738
  ...props,
3671
- className: (0, import_system75.cn)(
3739
+ className: (0, import_system77.cn)(
3672
3740
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
3673
3741
  classNames2.tab
3674
3742
  ),
@@ -3678,49 +3746,49 @@ var _Tab = (props) => {
3678
3746
  };
3679
3747
 
3680
3748
  // src/Tabs/TabList.tsx
3681
- var import_react_aria_components54 = require("react-aria-components");
3682
- var import_system76 = require("@marigold/system");
3683
- var import_jsx_runtime92 = require("react/jsx-runtime");
3749
+ var import_react_aria_components56 = require("react-aria-components");
3750
+ var import_system78 = require("@marigold/system");
3751
+ var import_jsx_runtime94 = require("react/jsx-runtime");
3684
3752
  var _TabList = ({ space = 2, ...props }) => {
3685
3753
  const { classNames: classNames2 } = useTabContext();
3686
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
3687
- import_react_aria_components54.TabList,
3754
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
3755
+ import_react_aria_components56.TabList,
3688
3756
  {
3689
3757
  ...props,
3690
- className: (0, import_system76.cn)("flex", import_system76.gapSpace[space], classNames2.tabsList),
3758
+ className: (0, import_system78.cn)("flex", import_system78.gapSpace[space], classNames2.tabsList),
3691
3759
  children: props.children
3692
3760
  }
3693
3761
  );
3694
3762
  };
3695
3763
 
3696
3764
  // src/Tabs/TabPanel.tsx
3697
- var import_react_aria_components55 = require("react-aria-components");
3698
- var import_jsx_runtime93 = require("react/jsx-runtime");
3765
+ var import_react_aria_components57 = require("react-aria-components");
3766
+ var import_jsx_runtime95 = require("react/jsx-runtime");
3699
3767
  var _TabPanel = (props) => {
3700
3768
  const { classNames: classNames2 } = useTabContext();
3701
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_aria_components55.TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3769
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_aria_components57.TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3702
3770
  };
3703
3771
 
3704
3772
  // src/Tabs/Tabs.tsx
3705
- var import_jsx_runtime94 = require("react/jsx-runtime");
3773
+ var import_jsx_runtime96 = require("react/jsx-runtime");
3706
3774
  var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3707
3775
  const props = {
3708
3776
  isDisabled: disabled,
3709
3777
  ...rest
3710
3778
  };
3711
- const classNames2 = (0, import_system77.useClassNames)({
3779
+ const classNames2 = (0, import_system79.useClassNames)({
3712
3780
  component: "Tabs",
3713
3781
  size,
3714
3782
  variant
3715
3783
  });
3716
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_aria_components56.Tabs, { ...props, className: classNames2.container, children: props.children }) });
3784
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_aria_components58.Tabs, { ...props, className: classNames2.container, children: props.children }) });
3717
3785
  };
3718
3786
  _Tabs.List = _TabList;
3719
3787
  _Tabs.TabPanel = _TabPanel;
3720
3788
  _Tabs.Item = _Tab;
3721
3789
 
3722
3790
  // src/RouterProvider/RouterProvider.tsx
3723
- var import_react_aria_components57 = require("react-aria-components");
3791
+ var import_react_aria_components59 = require("react-aria-components");
3724
3792
  // Annotate the CommonJS export names for ESM import in node:
3725
3793
  0 && (module.exports = {
3726
3794
  Accordion,
@@ -3775,6 +3843,7 @@ var import_react_aria_components57 = require("react-aria-components");
3775
3843
  Scrollable,
3776
3844
  SearchField,
3777
3845
  Select,
3846
+ SelectList,
3778
3847
  Slider,
3779
3848
  Split,
3780
3849
  Stack,