@marigold/components 12.0.1 → 12.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
206
206
  var ContextProvider = REACT_PROVIDER_TYPE;
207
207
  var Element2 = REACT_ELEMENT_TYPE;
208
208
  var ForwardRef = REACT_FORWARD_REF_TYPE;
209
- var Fragment15 = REACT_FRAGMENT_TYPE;
209
+ var Fragment14 = REACT_FRAGMENT_TYPE;
210
210
  var Lazy = REACT_LAZY_TYPE;
211
211
  var Memo = REACT_MEMO_TYPE;
212
212
  var Portal = REACT_PORTAL_TYPE;
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
265
265
  exports.ContextProvider = ContextProvider;
266
266
  exports.Element = Element2;
267
267
  exports.ForwardRef = ForwardRef;
268
- exports.Fragment = Fragment15;
268
+ exports.Fragment = Fragment14;
269
269
  exports.Lazy = Lazy;
270
270
  exports.Memo = Memo;
271
271
  exports.Portal = Portal;
@@ -884,7 +884,7 @@ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
884
884
  var AccordionHeader = ({ children }) => {
885
885
  const { classNames: classNames3 } = useAccordionContext();
886
886
  const { isExpanded } = useContext2(DisclosureStateContext);
887
- return /* @__PURE__ */ jsx2(Heading, { children: /* @__PURE__ */ jsxs(Button, { slot: "trigger", className: classNames3.header, children: [
887
+ return /* @__PURE__ */ jsx2(Heading, { className: "flex-1", children: /* @__PURE__ */ jsxs(Button, { slot: "trigger", className: classNames3.header, children: [
888
888
  children,
889
889
  /* @__PURE__ */ jsx2(
890
890
  ChevronDown,
@@ -2639,7 +2639,7 @@ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx55
2639
2639
  );
2640
2640
 
2641
2641
  // src/Grid/Grid.tsx
2642
- import { cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2642
+ import { alignment, cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2643
2643
 
2644
2644
  // src/Grid/GridArea.tsx
2645
2645
  import { jsx as jsx56 } from "react/jsx-runtime";
@@ -2654,14 +2654,23 @@ var Grid = ({
2654
2654
  areas,
2655
2655
  columns,
2656
2656
  rows,
2657
+ alignX,
2658
+ alignY,
2657
2659
  height = "auto",
2658
2660
  space = 0,
2659
2661
  ...props
2660
2662
  }) => {
2663
+ var _a, _b, _c, _d;
2661
2664
  return /* @__PURE__ */ jsx57(
2662
2665
  "div",
2663
2666
  {
2664
- className: cn34("grid", gapSpace6[space], twHeight[height]),
2667
+ className: cn34(
2668
+ "grid",
2669
+ alignX && ((_b = (_a = alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2670
+ alignY && ((_d = (_c = alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY]),
2671
+ gapSpace6[space],
2672
+ twHeight[height]
2673
+ ),
2665
2674
  style: {
2666
2675
  gridTemplateAreas: parseGridAreas(areas),
2667
2676
  gridTemplateColumns: parseTemplateValue(columns),
@@ -2759,7 +2768,7 @@ var Image = ({
2759
2768
  };
2760
2769
 
2761
2770
  // src/Inline/Inline.tsx
2762
- import { alignment, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2771
+ import { alignment as alignment2, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2763
2772
  import { jsx as jsx61 } from "react/jsx-runtime";
2764
2773
  var Inline = ({
2765
2774
  space = 0,
@@ -2776,8 +2785,8 @@ var Inline = ({
2776
2785
  className: cn37(
2777
2786
  "flex flex-wrap",
2778
2787
  gapSpace7[space],
2779
- alignX && ((_b = (_a = alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2780
- alignY && ((_d = (_c = alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
2788
+ alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2789
+ alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
2781
2790
  ),
2782
2791
  children
2783
2792
  }
@@ -2870,7 +2879,7 @@ var _DateField = forwardRef19(
2870
2879
  // src/Calendar/Calendar.tsx
2871
2880
  import { useState } from "react";
2872
2881
  import { Calendar } from "react-aria-components";
2873
- import { cn as cn42, useClassNames as useClassNames40 } from "@marigold/system";
2882
+ import { cn as cn44, useClassNames as useClassNames39 } from "@marigold/system";
2874
2883
 
2875
2884
  // src/Calendar/CalendarGrid.tsx
2876
2885
  import {
@@ -2928,9 +2937,14 @@ var _CalendarGrid = () => {
2928
2937
  };
2929
2938
 
2930
2939
  // src/Calendar/CalendarListBox.tsx
2931
- import { useContext as useContext13 } from "react";
2940
+ import { useContext as useContext14 } from "react";
2932
2941
  import { CalendarStateContext as CalendarStateContext2 } from "react-aria-components";
2933
- import { cn as cn40, useClassNames as useClassNames38 } from "@marigold/system";
2942
+ import { cn as cn40 } from "@marigold/system";
2943
+
2944
+ // src/Calendar/Context.tsx
2945
+ import { createContext as createContext8, useContext as useContext13 } from "react";
2946
+ var CalendarContext = createContext8({});
2947
+ var useCalendarContext = () => useContext13(CalendarContext);
2934
2948
 
2935
2949
  // src/Calendar/useFormattedMonths.tsx
2936
2950
  import { useDateFormatter as useDateFormatter2 } from "@react-aria/i18n";
@@ -2955,16 +2969,16 @@ function CalendarListBox({
2955
2969
  isDisabled,
2956
2970
  setSelectedDropdown
2957
2971
  }) {
2958
- const state = useContext13(CalendarStateContext2);
2972
+ const state = useContext14(CalendarStateContext2);
2959
2973
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
2960
2974
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
2961
- const { select: selectClassNames } = useClassNames38({ component: "Select" });
2975
+ const { classNames: classNames3 } = useCalendarContext();
2962
2976
  return /* @__PURE__ */ jsxs22(
2963
2977
  "button",
2964
2978
  {
2965
2979
  disabled: isDisabled,
2966
2980
  onClick: () => setSelectedDropdown(type),
2967
- className: cn40(buttonStyles, selectClassNames),
2981
+ className: cn40(buttonStyles, classNames3.select),
2968
2982
  "data-testid": type,
2969
2983
  children: [
2970
2984
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
@@ -2975,10 +2989,10 @@ function CalendarListBox({
2975
2989
  }
2976
2990
 
2977
2991
  // src/Calendar/MonthControls.tsx
2978
- import { cn as cn41, useClassNames as useClassNames39 } from "@marigold/system";
2992
+ import { cn as cn41, useClassNames as useClassNames38 } from "@marigold/system";
2979
2993
  import { jsx as jsx68, jsxs as jsxs23 } from "react/jsx-runtime";
2980
2994
  function MonthControls() {
2981
- const classNames3 = useClassNames39({ component: "Calendar" });
2995
+ const classNames3 = useClassNames38({ component: "Calendar" });
2982
2996
  return /* @__PURE__ */ jsxs23(
2983
2997
  "div",
2984
2998
  {
@@ -3012,33 +3026,40 @@ function MonthControls() {
3012
3026
  var MonthControls_default = MonthControls;
3013
3027
 
3014
3028
  // src/Calendar/MonthListBox.tsx
3015
- import { useContext as useContext14 } from "react";
3029
+ import { useContext as useContext15 } from "react";
3016
3030
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
3031
+ import { Button as Button6 } from "react-aria-components";
3032
+ import { cn as cn42 } from "@marigold/system";
3017
3033
  import { jsx as jsx69 } from "react/jsx-runtime";
3018
3034
  var MonthListBox = ({ setSelectedDropdown }) => {
3019
- const state = useContext14(CalendarStateContext3);
3035
+ const state = useContext15(CalendarStateContext3);
3020
3036
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3021
3037
  let onChange2 = (index2) => {
3022
3038
  let value = Number(index2) + 1;
3023
3039
  let date = state.focusedDate.set({ month: value });
3024
3040
  state.setFocusedDate(date);
3025
3041
  };
3042
+ const { classNames: classNames3 } = useCalendarContext();
3026
3043
  return /* @__PURE__ */ jsx69(
3027
3044
  "ul",
3028
3045
  {
3029
3046
  "data-testid": "monthOptions",
3030
- className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3047
+ className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 p-2",
3031
3048
  children: months.map((month, index2) => {
3049
+ const isSelected = index2 === state.focusedDate.month - 1;
3032
3050
  return /* @__PURE__ */ jsx69("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx69(
3033
- _Button,
3051
+ Button6,
3034
3052
  {
3035
3053
  slot: "previous",
3036
- variant: index2 === state.focusedDate.month - 1 ? "secondary" : "text",
3037
- size: "small",
3038
3054
  onPress: () => {
3039
3055
  onChange2(index2);
3040
3056
  setSelectedDropdown(void 0);
3041
3057
  },
3058
+ "aria-current": isSelected,
3059
+ className: cn42(
3060
+ classNames3.calendarListboxButton,
3061
+ "inline-flex items-center justify-center gap-[0.5ch]"
3062
+ ),
3042
3063
  children: month.substring(0, 3)
3043
3064
  },
3044
3065
  index2 + 1
@@ -3051,15 +3072,17 @@ var MonthListBox_default = MonthListBox;
3051
3072
 
3052
3073
  // src/Calendar/YearListBox.tsx
3053
3074
  import {
3054
- useContext as useContext15,
3075
+ useContext as useContext16,
3055
3076
  useEffect,
3056
3077
  useRef as useRef2
3057
3078
  } from "react";
3058
- import { CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
3079
+ import { Button as Button7, CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
3059
3080
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
3081
+ import { cn as cn43 } from "@marigold/system";
3060
3082
  import { jsx as jsx70 } from "react/jsx-runtime";
3061
3083
  var YearListBox = ({ setSelectedDropdown }) => {
3062
- const state = useContext15(CalendarStateContext4);
3084
+ const state = useContext16(CalendarStateContext4);
3085
+ const { classNames: classNames3 } = useCalendarContext();
3063
3086
  const years = [];
3064
3087
  let formatter = useDateFormatter3({
3065
3088
  year: "numeric",
@@ -3093,24 +3116,26 @@ var YearListBox = ({ setSelectedDropdown }) => {
3093
3116
  "data-testid": "yearOptions",
3094
3117
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3095
3118
  children: years.map((year, index2) => {
3096
- const isActive = +year.formatted === state.focusedDate.year;
3119
+ const isSelected = +year.formatted === state.focusedDate.year;
3097
3120
  return /* @__PURE__ */ jsx70("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx70(
3098
3121
  "div",
3099
3122
  {
3100
- ref: isActive ? activeButtonRef : null,
3101
- style: { height: "100%", width: "100%" },
3123
+ ref: isSelected ? activeButtonRef : null,
3124
+ className: "flex size-full justify-center",
3102
3125
  children: /* @__PURE__ */ jsx70(
3103
- _Button,
3126
+ Button7,
3104
3127
  {
3105
3128
  slot: "previous",
3106
- disabled: state.isDisabled,
3107
- variant: isActive ? "secondary" : "text",
3108
- size: "small",
3129
+ className: cn43(
3130
+ classNames3.calendarListboxButton,
3131
+ "inline-flex items-center justify-center gap-[0.5ch]"
3132
+ ),
3109
3133
  onPress: () => {
3110
3134
  onChange2(index2);
3111
3135
  setSelectedDropdown(void 0);
3112
3136
  },
3113
3137
  "data-value": year.formatted,
3138
+ "aria-current": isSelected,
3114
3139
  children: year.formatted
3115
3140
  },
3116
3141
  index2
@@ -3124,7 +3149,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
3124
3149
  var YearListBox_default = YearListBox;
3125
3150
 
3126
3151
  // src/Calendar/Calendar.tsx
3127
- import { Fragment as Fragment6, jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
3152
+ import { jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
3128
3153
  var _Calendar = ({
3129
3154
  disabled,
3130
3155
  readOnly,
@@ -3139,52 +3164,64 @@ var _Calendar = ({
3139
3164
  isDateUnavailable: dateUnavailable,
3140
3165
  ...rest
3141
3166
  };
3142
- const classNames3 = useClassNames40({ component: "Calendar" });
3167
+ const classNames3 = useClassNames39({ component: "Calendar", size: size2, variant });
3143
3168
  const [selectedDropdown, setSelectedDropdown] = useState();
3144
3169
  const ViewMap = {
3145
3170
  month: /* @__PURE__ */ jsx71(MonthListBox_default, { setSelectedDropdown }),
3146
3171
  year: /* @__PURE__ */ jsx71(YearListBox_default, { setSelectedDropdown })
3147
3172
  };
3148
- return /* @__PURE__ */ jsx71(
3173
+ return /* @__PURE__ */ jsx71(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs24(
3149
3174
  Calendar,
3150
3175
  {
3151
- className: cn42(
3152
- "flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3176
+ className: cn44(
3177
+ "relative flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3153
3178
  classNames3.calendar
3154
3179
  ),
3155
3180
  ...props,
3156
- children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs24(Fragment6, { children: [
3157
- /* @__PURE__ */ jsxs24("div", { className: "mb-4 flex items-center justify-between", children: [
3158
- /* @__PURE__ */ jsxs24("div", { className: "flex w-fit gap-4", children: [
3159
- /* @__PURE__ */ jsx71(
3160
- CalendarListBox,
3161
- {
3162
- type: "month",
3163
- isDisabled: props.isDisabled,
3164
- setSelectedDropdown
3165
- }
3181
+ children: [
3182
+ /* @__PURE__ */ jsx71(
3183
+ "div",
3184
+ {
3185
+ className: cn44(
3186
+ "pointer-events-none absolute top-1/2 left-0 w-full -translate-y-1/2 opacity-0",
3187
+ selectedDropdown && "pointer-events-auto opacity-100"
3166
3188
  ),
3167
- /* @__PURE__ */ jsx71(
3168
- CalendarListBox,
3169
- {
3170
- type: "year",
3171
- isDisabled: props.isDisabled,
3172
- setSelectedDropdown
3173
- }
3174
- )
3175
- ] }),
3176
- /* @__PURE__ */ jsx71(MonthControls_default, {})
3177
- ] }),
3178
- /* @__PURE__ */ jsx71(_CalendarGrid, {})
3179
- ] })
3189
+ children: ViewMap[selectedDropdown]
3190
+ }
3191
+ ),
3192
+ /* @__PURE__ */ jsxs24(
3193
+ "div",
3194
+ {
3195
+ className: cn44(
3196
+ "flex flex-col",
3197
+ selectedDropdown && "pointer-events-none opacity-0"
3198
+ ),
3199
+ children: [
3200
+ /* @__PURE__ */ jsxs24("div", { className: "mb-4 flex items-center justify-between", children: [
3201
+ /* @__PURE__ */ jsx71("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ jsx71(
3202
+ CalendarListBox,
3203
+ {
3204
+ type: dateType,
3205
+ isDisabled: props.isDisabled,
3206
+ setSelectedDropdown
3207
+ },
3208
+ dateType
3209
+ )) }),
3210
+ /* @__PURE__ */ jsx71(MonthControls_default, {})
3211
+ ] }),
3212
+ /* @__PURE__ */ jsx71(_CalendarGrid, {})
3213
+ ]
3214
+ }
3215
+ )
3216
+ ]
3180
3217
  }
3181
- );
3218
+ ) });
3182
3219
  };
3183
3220
 
3184
3221
  // src/DatePicker/DatePicker.tsx
3185
3222
  import React6 from "react";
3186
3223
  import { DatePicker, Dialog as Dialog3 } from "react-aria-components";
3187
- import { useClassNames as useClassNames41 } from "@marigold/system";
3224
+ import { useClassNames as useClassNames40 } from "@marigold/system";
3188
3225
  import { jsx as jsx72, jsxs as jsxs25 } from "react/jsx-runtime";
3189
3226
  var _DatePicker = React6.forwardRef(
3190
3227
  ({
@@ -3209,7 +3246,7 @@ var _DatePicker = React6.forwardRef(
3209
3246
  granularity,
3210
3247
  ...rest
3211
3248
  };
3212
- const classNames3 = useClassNames41({
3249
+ const classNames3 = useClassNames40({
3213
3250
  component: "DatePicker",
3214
3251
  size: size2,
3215
3252
  variant
@@ -3248,7 +3285,7 @@ var _DatePicker = React6.forwardRef(
3248
3285
 
3249
3286
  // src/Inset/Inset.tsx
3250
3287
  import {
3251
- cn as cn43,
3288
+ cn as cn45,
3252
3289
  paddingSpace as paddingSpace2,
3253
3290
  paddingSpaceX as paddingSpaceX2,
3254
3291
  paddingSpaceY as paddingSpaceY2
@@ -3257,7 +3294,7 @@ import { jsx as jsx73 } from "react/jsx-runtime";
3257
3294
  var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx73(
3258
3295
  "div",
3259
3296
  {
3260
- className: cn43(
3297
+ className: cn45(
3261
3298
  space && paddingSpace2[space],
3262
3299
  !space && spaceX && paddingSpaceX2[spaceX],
3263
3300
  !space && spaceY && paddingSpaceY2[spaceY]
@@ -3269,11 +3306,11 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx73(
3269
3306
  // src/Link/Link.tsx
3270
3307
  import { forwardRef as forwardRef20 } from "react";
3271
3308
  import { Link } from "react-aria-components";
3272
- import { useClassNames as useClassNames42 } from "@marigold/system";
3309
+ import { useClassNames as useClassNames41 } from "@marigold/system";
3273
3310
  import { jsx as jsx74 } from "react/jsx-runtime";
3274
3311
  var _Link = forwardRef20(
3275
3312
  ({ variant, size: size2, disabled, children, ...props }, ref) => {
3276
- const classNames3 = useClassNames42({
3313
+ const classNames3 = useClassNames41({
3277
3314
  component: "Link",
3278
3315
  variant,
3279
3316
  size: size2
@@ -3283,12 +3320,12 @@ var _Link = forwardRef20(
3283
3320
  );
3284
3321
 
3285
3322
  // src/List/List.tsx
3286
- import { useClassNames as useClassNames43 } from "@marigold/system";
3323
+ import { useClassNames as useClassNames42 } from "@marigold/system";
3287
3324
 
3288
3325
  // src/List/Context.ts
3289
- import { createContext as createContext8, useContext as useContext16 } from "react";
3290
- var ListContext = createContext8({});
3291
- var useListContext = () => useContext16(ListContext);
3326
+ import { createContext as createContext9, useContext as useContext17 } from "react";
3327
+ var ListContext = createContext9({});
3328
+ var useListContext = () => useContext17(ListContext);
3292
3329
 
3293
3330
  // src/List/ListItem.tsx
3294
3331
  import { jsx as jsx75 } from "react/jsx-runtime";
@@ -3307,30 +3344,30 @@ var List = ({
3307
3344
  ...props
3308
3345
  }) => {
3309
3346
  const Component2 = as;
3310
- const classNames3 = useClassNames43({ component: "List", variant, size: size2 });
3347
+ const classNames3 = useClassNames42({ component: "List", variant, size: size2 });
3311
3348
  return /* @__PURE__ */ jsx76(Component2, { ...props, className: classNames3[as], children: /* @__PURE__ */ jsx76(ListContext.Provider, { value: { classNames: classNames3.item }, children }) });
3312
3349
  };
3313
3350
  List.Item = ListItem;
3314
3351
 
3315
3352
  // src/Menu/Menu.tsx
3316
- import { Button as Button6, Menu, MenuTrigger } from "react-aria-components";
3317
- import { useClassNames as useClassNames46 } from "@marigold/system";
3353
+ import { Button as Button8, Menu, MenuTrigger } from "react-aria-components";
3354
+ import { useClassNames as useClassNames45 } from "@marigold/system";
3318
3355
 
3319
3356
  // src/Menu/MenuItem.tsx
3320
3357
  import { MenuItem } from "react-aria-components";
3321
- import { useClassNames as useClassNames44 } from "@marigold/system";
3358
+ import { useClassNames as useClassNames43 } from "@marigold/system";
3322
3359
  import { jsx as jsx77 } from "react/jsx-runtime";
3323
3360
  var _MenuItem = ({ children, ...props }) => {
3324
- const classNames3 = useClassNames44({ component: "Menu" });
3361
+ const classNames3 = useClassNames43({ component: "Menu" });
3325
3362
  return /* @__PURE__ */ jsx77(MenuItem, { ...props, className: classNames3.item, children });
3326
3363
  };
3327
3364
 
3328
3365
  // src/Menu/MenuSection.tsx
3329
3366
  import { MenuSection } from "react-aria-components";
3330
- import { useClassNames as useClassNames45 } from "@marigold/system";
3367
+ import { useClassNames as useClassNames44 } from "@marigold/system";
3331
3368
  import { jsx as jsx78, jsxs as jsxs26 } from "react/jsx-runtime";
3332
3369
  var _MenuSection = ({ children, title, ...props }) => {
3333
- const className = useClassNames45({ component: "Menu" });
3370
+ const className = useClassNames44({ component: "Menu" });
3334
3371
  return /* @__PURE__ */ jsxs26(MenuSection, { ...props, children: [
3335
3372
  /* @__PURE__ */ jsx78(_Header, { className: className.section, children: title }),
3336
3373
  children
@@ -3350,10 +3387,10 @@ var _Menu = ({
3350
3387
  "aria-label": ariaLabel,
3351
3388
  ...props
3352
3389
  }) => {
3353
- const classNames3 = useClassNames46({ component: "Menu", variant, size: size2 });
3390
+ const classNames3 = useClassNames45({ component: "Menu", variant, size: size2 });
3354
3391
  return /* @__PURE__ */ jsxs27(MenuTrigger, { ...props, children: [
3355
3392
  /* @__PURE__ */ jsx79(
3356
- Button6,
3393
+ Button8,
3357
3394
  {
3358
3395
  className: classNames3.button,
3359
3396
  "aria-label": ariaLabel,
@@ -3368,8 +3405,8 @@ _Menu.Item = _MenuItem;
3368
3405
  _Menu.Section = _MenuSection;
3369
3406
 
3370
3407
  // src/Menu/ActionMenu.tsx
3371
- import { Button as Button7, Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
3372
- import { SVG as SVG8, useClassNames as useClassNames47 } from "@marigold/system";
3408
+ import { Button as Button9, Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
3409
+ import { SVG as SVG8, useClassNames as useClassNames46 } from "@marigold/system";
3373
3410
  import { jsx as jsx80, jsxs as jsxs28 } from "react/jsx-runtime";
3374
3411
  var ActionMenu = ({
3375
3412
  variant,
@@ -3377,9 +3414,9 @@ var ActionMenu = ({
3377
3414
  disabled,
3378
3415
  ...props
3379
3416
  }) => {
3380
- const classNames3 = useClassNames47({ component: "Menu", variant, size: size2 });
3417
+ const classNames3 = useClassNames46({ component: "Menu", variant, size: size2 });
3381
3418
  return /* @__PURE__ */ jsxs28(MenuTrigger2, { children: [
3382
- /* @__PURE__ */ jsx80(Button7, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsx80(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx80("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" }) }) }),
3419
+ /* @__PURE__ */ jsx80(Button9, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsx80(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx80("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" }) }) }),
3383
3420
  /* @__PURE__ */ jsx80(_Popover, { children: /* @__PURE__ */ jsx80(Menu2, { ...props, className: classNames3.container, children: props.children }) })
3384
3421
  ] });
3385
3422
  };
@@ -3387,29 +3424,29 @@ var ActionMenu = ({
3387
3424
  // src/SectionMessage/SectionMessage.tsx
3388
3425
  import { useRef as useRef3, useState as useState2 } from "react";
3389
3426
  import { useButton } from "@react-aria/button";
3390
- import { cn as cn46, useClassNames as useClassNames48 } from "@marigold/system";
3427
+ import { cn as cn48, useClassNames as useClassNames47 } from "@marigold/system";
3391
3428
 
3392
3429
  // src/SectionMessage/Context.tsx
3393
- import { createContext as createContext9, useContext as useContext17 } from "react";
3394
- var SectionMessageContext = createContext9({});
3395
- var useSectionMessageContext = () => useContext17(SectionMessageContext);
3430
+ import { createContext as createContext10, useContext as useContext18 } from "react";
3431
+ var SectionMessageContext = createContext10({});
3432
+ var useSectionMessageContext = () => useContext18(SectionMessageContext);
3396
3433
 
3397
3434
  // src/SectionMessage/SectionMessageContent.tsx
3398
- import { cn as cn44 } from "@marigold/system";
3435
+ import { cn as cn46 } from "@marigold/system";
3399
3436
  import { jsx as jsx81 } from "react/jsx-runtime";
3400
3437
  var SectionMessageContent = ({
3401
3438
  children
3402
3439
  }) => {
3403
3440
  const { classNames: classNames3 } = useSectionMessageContext();
3404
- return /* @__PURE__ */ jsx81("div", { className: cn44("[grid-area:content]", classNames3.content), children });
3441
+ return /* @__PURE__ */ jsx81("div", { className: cn46("[grid-area:content]", classNames3.content), children });
3405
3442
  };
3406
3443
 
3407
3444
  // src/SectionMessage/SectionMessageTitle.tsx
3408
- import { cn as cn45 } from "@marigold/system";
3445
+ import { cn as cn47 } from "@marigold/system";
3409
3446
  import { jsx as jsx82 } from "react/jsx-runtime";
3410
3447
  var SectionMessageTitle = ({ children }) => {
3411
3448
  const { classNames: classNames3 } = useSectionMessageContext();
3412
- return /* @__PURE__ */ jsx82("div", { className: cn45("[grid-area:title]", classNames3.title), children });
3449
+ return /* @__PURE__ */ jsx82("div", { className: cn47("[grid-area:title]", classNames3.title), children });
3413
3450
  };
3414
3451
 
3415
3452
  // src/SectionMessage/SectionMessage.tsx
@@ -3490,7 +3527,7 @@ var SectionMessage = ({
3490
3527
  ...props
3491
3528
  }) => {
3492
3529
  const buttonRef = useRef3(null);
3493
- const classNames3 = useClassNames48({
3530
+ const classNames3 = useClassNames47({
3494
3531
  component: "SectionMessage",
3495
3532
  variant,
3496
3533
  size: size2
@@ -3511,16 +3548,16 @@ var SectionMessage = ({
3511
3548
  {
3512
3549
  role: variant === "error" ? "alert" : void 0,
3513
3550
  ...props,
3514
- className: cn46("grid auto-rows-min", classNames3.container),
3551
+ className: cn48("grid auto-rows-min", classNames3.container),
3515
3552
  children: [
3516
- /* @__PURE__ */ jsx83("div", { className: cn46("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx83(Icon4, {}) }),
3553
+ /* @__PURE__ */ jsx83("div", { className: cn48("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx83(Icon4, {}) }),
3517
3554
  closeButton && /* @__PURE__ */ jsx83(
3518
3555
  CloseButton,
3519
3556
  {
3520
3557
  ...buttonProps,
3521
3558
  ref: buttonRef,
3522
3559
  "aria-label": "close",
3523
- className: cn46("[grid-area:close]", classNames3.close),
3560
+ className: cn48("[grid-area:close]", classNames3.close),
3524
3561
  onPress: handleClose
3525
3562
  }
3526
3563
  ),
@@ -3534,7 +3571,7 @@ SectionMessage.Content = SectionMessageContent;
3534
3571
 
3535
3572
  // src/Multiselect/Multiselect.tsx
3536
3573
  import {
3537
- Button as Button8,
3574
+ Button as Button10,
3538
3575
  ButtonContext,
3539
3576
  FieldErrorContext as FieldErrorContext2,
3540
3577
  InputContext,
@@ -3679,7 +3716,7 @@ function _objectWithoutProperties(e, t) {
3679
3716
  return i;
3680
3717
  }
3681
3718
 
3682
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
3719
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
3683
3720
  import { useState as useState3, useCallback } from "react";
3684
3721
  var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
3685
3722
  function useStateManager(_ref3) {
@@ -3737,7 +3774,7 @@ function _extends() {
3737
3774
  }, _extends.apply(null, arguments);
3738
3775
  }
3739
3776
 
3740
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
3777
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
3741
3778
  import * as React11 from "react";
3742
3779
  import { forwardRef as forwardRef23, useMemo as useMemo5 } from "react";
3743
3780
 
@@ -3845,13 +3882,13 @@ function _toConsumableArray(r) {
3845
3882
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
3846
3883
  }
3847
3884
 
3848
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
3885
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
3849
3886
  import * as React10 from "react";
3850
- import { useMemo as useMemo4, Fragment as Fragment9, useRef as useRef6, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
3887
+ import { useMemo as useMemo4, Fragment as Fragment8, useRef as useRef6, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
3851
3888
 
3852
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
3889
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.5_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
3853
3890
  import * as React8 from "react";
3854
- import { useContext as useContext19, forwardRef as forwardRef22 } from "react";
3891
+ import { useContext as useContext20, forwardRef as forwardRef22 } from "react";
3855
3892
 
3856
3893
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
3857
3894
  var isDevelopment = false;
@@ -5023,7 +5060,7 @@ var syncFallback = function syncFallback2(create) {
5023
5060
  var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
5024
5061
  var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
5025
5062
 
5026
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
5063
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.5_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
5027
5064
  var isDevelopment3 = false;
5028
5065
  var isBrowser4 = typeof document !== "undefined";
5029
5066
  var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
@@ -5040,14 +5077,14 @@ var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
5040
5077
  var CacheProvider = EmotionCacheContext.Provider;
5041
5078
  var withEmotionCache = function withEmotionCache2(func) {
5042
5079
  return /* @__PURE__ */ forwardRef22(function(props, ref) {
5043
- var cache = useContext19(EmotionCacheContext);
5080
+ var cache = useContext20(EmotionCacheContext);
5044
5081
  return func(props, cache, ref);
5045
5082
  });
5046
5083
  };
5047
5084
  if (!isBrowser4) {
5048
5085
  withEmotionCache = function withEmotionCache3(func) {
5049
5086
  return function(props) {
5050
- var cache = useContext19(EmotionCacheContext);
5087
+ var cache = useContext20(EmotionCacheContext);
5051
5088
  if (cache === null) {
5052
5089
  cache = createCache({
5053
5090
  key: "css"
@@ -5127,7 +5164,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
5127
5164
  });
5128
5165
  var Emotion$1 = Emotion;
5129
5166
 
5130
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
5167
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.5_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
5131
5168
  import * as React9 from "react";
5132
5169
  var import_extends2 = __toESM(require_extends());
5133
5170
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
@@ -5178,8 +5215,8 @@ function _taggedTemplateLiteral(e, t) {
5178
5215
  }));
5179
5216
  }
5180
5217
 
5181
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5182
- import { useContext as useContext21, useRef as useRef5, useState as useState4, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext11 } from "react";
5218
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5219
+ import { useContext as useContext22, useRef as useRef5, useState as useState4, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext12 } from "react";
5183
5220
  import { createPortal } from "react-dom";
5184
5221
 
5185
5222
  // ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
@@ -5579,12 +5616,12 @@ function autoUpdate(reference, floating, update, options2) {
5579
5616
  };
5580
5617
  }
5581
5618
 
5582
- // ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.3_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
5619
+ // ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.5_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
5583
5620
  import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "react";
5584
5621
  var isClient = typeof document !== "undefined";
5585
5622
  var index = isClient ? useLayoutEffect2 : useEffect2;
5586
5623
 
5587
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5624
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5588
5625
  var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
5589
5626
  var noop = function noop2() {
5590
5627
  };
@@ -5916,10 +5953,10 @@ var menuCSS = function menuCSS2(_ref23, unstyled) {
5916
5953
  marginTop: spacing2.menuGutter
5917
5954
  });
5918
5955
  };
5919
- var PortalPlacementContext = /* @__PURE__ */ createContext11(null);
5956
+ var PortalPlacementContext = /* @__PURE__ */ createContext12(null);
5920
5957
  var MenuPlacer = function MenuPlacer2(props) {
5921
5958
  var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
5922
- var _ref3 = useContext21(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
5959
+ var _ref3 = useContext22(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
5923
5960
  var ref = useRef5(null);
5924
5961
  var _useState = useState4(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
5925
5962
  var _useState3 = useState4(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
@@ -6658,7 +6695,7 @@ function memoizeOne(resultFn, isEqual2) {
6658
6695
  return memoized;
6659
6696
  }
6660
6697
 
6661
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
6698
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
6662
6699
  function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
6663
6700
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
6664
6701
  }
@@ -6807,7 +6844,7 @@ var LiveRegion = function LiveRegion2(props) {
6807
6844
  }
6808
6845
  return guidanceMsg;
6809
6846
  }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
6810
- var ScreenReaderText = jsx84(Fragment9, null, jsx84("span", {
6847
+ var ScreenReaderText = jsx84(Fragment8, null, jsx84("span", {
6811
6848
  id: "aria-selection"
6812
6849
  }, ariaSelected), jsx84("span", {
6813
6850
  id: "aria-focused"
@@ -6816,7 +6853,7 @@ var LiveRegion = function LiveRegion2(props) {
6816
6853
  }, ariaResults), jsx84("span", {
6817
6854
  id: "aria-guidance"
6818
6855
  }, ariaGuidance));
6819
- return jsx84(Fragment9, null, jsx84(A11yText$1, {
6856
+ return jsx84(Fragment8, null, jsx84(A11yText$1, {
6820
6857
  id
6821
6858
  }, isInitialFocus && ScreenReaderText), jsx84(A11yText$1, {
6822
6859
  "aria-live": ariaLive,
@@ -7373,7 +7410,7 @@ function ScrollManager(_ref3) {
7373
7410
  setScrollCaptureTarget(element);
7374
7411
  setScrollLockTarget(element);
7375
7412
  };
7376
- return jsx84(Fragment9, null, lockEnabled && jsx84("div", {
7413
+ return jsx84(Fragment8, null, lockEnabled && jsx84("div", {
7377
7414
  onClick: blurSelectInput,
7378
7415
  css: _ref2$1
7379
7416
  }), children(targetRef));
@@ -8954,7 +8991,7 @@ var Select = /* @__PURE__ */ function(_Component) {
8954
8991
  }(Component);
8955
8992
  Select.defaultProps = defaultProps;
8956
8993
 
8957
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
8994
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
8958
8995
  var import_objectSpread24 = __toESM(require_objectSpread2());
8959
8996
  var import_slicedToArray3 = __toESM(require_slicedToArray());
8960
8997
  var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
@@ -8975,7 +9012,7 @@ var StateManagedSelect = /* @__PURE__ */ forwardRef23(function(props, ref) {
8975
9012
  });
8976
9013
  var StateManagedSelect$1 = StateManagedSelect;
8977
9014
 
8978
- // ../../node_modules/.pnpm/@react-aria+label@3.7.17_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useLabel.mjs
9015
+ // ../../node_modules/.pnpm/@react-aria+label@3.7.18_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useLabel.mjs
8979
9016
  import { useId as $83Elw$useId, useLabels as $83Elw$useLabels } from "@react-aria/utils";
8980
9017
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
8981
9018
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
@@ -9000,7 +9037,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
9000
9037
  };
9001
9038
  }
9002
9039
 
9003
- // ../../node_modules/.pnpm/@react-aria+label@3.7.17_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useField.mjs
9040
+ // ../../node_modules/.pnpm/@react-aria+label@3.7.18_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useField.mjs
9004
9041
  import { useSlotId as $2kC82$useSlotId, mergeProps as $2kC82$mergeProps } from "@react-aria/utils";
9005
9042
  function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9006
9043
  let { description, errorMessage, isInvalid, validationState } = props;
@@ -9039,7 +9076,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9039
9076
 
9040
9077
  // src/Multiselect/Multiselect.tsx
9041
9078
  import { useId } from "@react-aria/utils";
9042
- import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
9079
+ import { cn as cn49, useClassNames as useClassNames48 } from "@marigold/system";
9043
9080
  import { jsx as jsx86, jsxs as jsxs30 } from "react/jsx-runtime";
9044
9081
  var propsToBeRemoved = [
9045
9082
  "clearValue",
@@ -9077,20 +9114,20 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9077
9114
  );
9078
9115
  };
9079
9116
  var MultiValueRemove2 = ({ innerProps }) => {
9080
- return /* @__PURE__ */ jsx86(Button8, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx86("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx86("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" }) }) });
9117
+ return /* @__PURE__ */ jsx86(Button10, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx86("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx86("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" }) }) });
9081
9118
  };
9082
9119
  var getClassNames = (classNames3) => ({
9083
- control: () => cn47(
9120
+ control: () => cn49(
9084
9121
  "relative flex items-center box-border flex-wrap justify-between",
9085
9122
  classNames3.container
9086
9123
  ),
9087
9124
  container: () => "pointer-events-auto",
9088
9125
  indicatorSeparator: () => "hidden",
9089
- menu: () => cn47("b", classNames3.listContainer),
9090
- menuList: () => cn47("overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh] p-0", classNames3.list),
9091
- multiValue: () => cn47(classNames3.tag, "m-0 "),
9126
+ menu: () => cn49("b", classNames3.listContainer),
9127
+ menuList: () => cn49("overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh] p-0", classNames3.list),
9128
+ multiValue: () => cn49(classNames3.tag, "m-0 "),
9092
9129
  multiValueLabel: () => "p-0",
9093
- option: ({ isFocused }) => cn47(classNames3.option, { isFocused }),
9130
+ option: ({ isFocused }) => cn49(classNames3.option, { isFocused }),
9094
9131
  placeholder: () => "hidden",
9095
9132
  valueContainer: () => classNames3.valueContainer
9096
9133
  });
@@ -9111,7 +9148,7 @@ var Multiselect = ({
9111
9148
  onSelectionChange,
9112
9149
  ...rest
9113
9150
  }) => {
9114
- const classNames3 = useClassNames49({
9151
+ const classNames3 = useClassNames48({
9115
9152
  component: "MultiSelect",
9116
9153
  size: size2,
9117
9154
  variant
@@ -9155,14 +9192,14 @@ var Multiselect = ({
9155
9192
  // react-select doesn't handle readonly so we had to do it manually here
9156
9193
  // keep to the button disabled in read only to prevent menu from opening
9157
9194
  isDisabled: disabled || readOnly,
9158
- className: cn47("flex items-center", classNames3.closeButton)
9195
+ className: cn49("flex items-center", classNames3.closeButton)
9159
9196
  }
9160
9197
  ]
9161
9198
  ],
9162
9199
  children: /* @__PURE__ */ jsxs30(
9163
9200
  "div",
9164
9201
  {
9165
- className: cn47(classNames3.field, "group/field"),
9202
+ className: cn49(classNames3.field, "group/field"),
9166
9203
  "data-required": props.required,
9167
9204
  "data-invalid": error,
9168
9205
  "data-readonly": readOnly,
@@ -9227,11 +9264,11 @@ var Multiselect = ({
9227
9264
  // src/NumberField/NumberField.tsx
9228
9265
  import { forwardRef as forwardRef24 } from "react";
9229
9266
  import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
9230
- import { cn as cn49, useClassNames as useClassNames50 } from "@marigold/system";
9267
+ import { cn as cn51, useClassNames as useClassNames49 } from "@marigold/system";
9231
9268
 
9232
9269
  // src/NumberField/StepButton.tsx
9233
- import { Button as Button9 } from "react-aria-components";
9234
- import { cn as cn48 } from "@marigold/system";
9270
+ import { Button as Button11 } from "react-aria-components";
9271
+ import { cn as cn50 } from "@marigold/system";
9235
9272
  import { jsx as jsx87 } from "react/jsx-runtime";
9236
9273
  var Plus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx87(
9237
9274
  "path",
@@ -9252,9 +9289,9 @@ var Minus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox:
9252
9289
  var _StepButton = ({ direction, className, ...props }) => {
9253
9290
  const Icon4 = direction === "up" ? Plus : Minus;
9254
9291
  return /* @__PURE__ */ jsx87(
9255
- Button9,
9292
+ Button11,
9256
9293
  {
9257
- className: cn48(
9294
+ className: cn50(
9258
9295
  [
9259
9296
  "flex items-center justify-center",
9260
9297
  "cursor-pointer data-disabled:cursor-not-allowed"
@@ -9280,7 +9317,7 @@ var _NumberField = forwardRef24(
9280
9317
  hideStepper,
9281
9318
  ...rest
9282
9319
  }, ref) => {
9283
- const classNames3 = useClassNames50({
9320
+ const classNames3 = useClassNames49({
9284
9321
  component: "NumberField",
9285
9322
  size: size2,
9286
9323
  variant
@@ -9300,7 +9337,7 @@ var _NumberField = forwardRef24(
9300
9337
  ...props,
9301
9338
  "data-readonly": readOnly ? "true" : void 0,
9302
9339
  "data-stepper": showStepper ? "true" : void 0,
9303
- children: /* @__PURE__ */ jsxs31(Group4, { className: cn49("flex items-stretch", classNames3.group), children: [
9340
+ children: /* @__PURE__ */ jsxs31(Group4, { className: cn51("flex items-stretch", classNames3.group), children: [
9304
9341
  showStepper && /* @__PURE__ */ jsx88(
9305
9342
  _StepButton,
9306
9343
  {
@@ -9313,7 +9350,7 @@ var _NumberField = forwardRef24(
9313
9350
  Input5,
9314
9351
  {
9315
9352
  ref,
9316
- className: cn49("h-full flex-1 outline-none", classNames3.input)
9353
+ className: cn51("h-full flex-1 outline-none", classNames3.input)
9317
9354
  }
9318
9355
  ),
9319
9356
  showStepper && /* @__PURE__ */ jsx88(
@@ -9333,7 +9370,7 @@ var _NumberField = forwardRef24(
9333
9370
  // src/Pagination/Pagination.tsx
9334
9371
  import { useEffect as useEffect4, useRef as useRef9, useState as useState5 } from "react";
9335
9372
  import { FocusScope as FocusScope2, useFocusManager } from "@react-aria/focus";
9336
- import { useClassNames as useClassNames53 } from "@marigold/system";
9373
+ import { useClassNames as useClassNames52 } from "@marigold/system";
9337
9374
 
9338
9375
  // src/Pagination/Ellipsis.tsx
9339
9376
  import { jsx as jsx89 } from "react/jsx-runtime";
@@ -9351,11 +9388,11 @@ var Ellipsis = () => {
9351
9388
  // src/Pagination/NavigationButton.tsx
9352
9389
  import { useRef as useRef7 } from "react";
9353
9390
  import { useButton as useButton2 } from "@react-aria/button";
9354
- import { cn as cn50, useClassNames as useClassNames51 } from "@marigold/system";
9391
+ import { cn as cn52, useClassNames as useClassNames50 } from "@marigold/system";
9355
9392
  import { jsxs as jsxs32 } from "react/jsx-runtime";
9356
9393
  var NavigationButton = (props) => {
9357
9394
  const ref = useRef7(null);
9358
- const classNames3 = useClassNames51({
9395
+ const classNames3 = useClassNames50({
9359
9396
  component: "Pagination"
9360
9397
  });
9361
9398
  let { buttonProps } = useButton2(props, ref);
@@ -9375,7 +9412,7 @@ var NavigationButton = (props) => {
9375
9412
  ...buttonProps,
9376
9413
  ...rest,
9377
9414
  disabled: isDisabled,
9378
- className: cn50(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9415
+ className: cn52(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9379
9416
  "data-selected": isSelected,
9380
9417
  children: [
9381
9418
  position2 === "left" && children,
@@ -9389,11 +9426,11 @@ var NavigationButton = (props) => {
9389
9426
  // src/Pagination/PageButton.tsx
9390
9427
  import { useRef as useRef8 } from "react";
9391
9428
  import { useButton as useButton3 } from "@react-aria/button";
9392
- import { useClassNames as useClassNames52 } from "@marigold/system";
9429
+ import { useClassNames as useClassNames51 } from "@marigold/system";
9393
9430
  import { jsx as jsx90 } from "react/jsx-runtime";
9394
9431
  var PageButton = (props) => {
9395
9432
  const ref = useRef8(null);
9396
- const classNames3 = useClassNames52({
9433
+ const classNames3 = useClassNames51({
9397
9434
  component: "Pagination"
9398
9435
  });
9399
9436
  let { buttonProps } = useButton3(props, ref);
@@ -9445,7 +9482,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
9445
9482
  };
9446
9483
 
9447
9484
  // src/Pagination/Pagination.tsx
9448
- import { Fragment as Fragment10, jsx as jsx91, jsxs as jsxs33 } from "react/jsx-runtime";
9485
+ import { Fragment as Fragment9, jsx as jsx91, jsxs as jsxs33 } from "react/jsx-runtime";
9449
9486
  var InnerPagination = ({
9450
9487
  currentPage,
9451
9488
  pageSize,
@@ -9472,7 +9509,7 @@ var InnerPagination = ({
9472
9509
  onChange2(newPage);
9473
9510
  }
9474
9511
  };
9475
- const classNames3 = useClassNames53({ component: "Pagination" });
9512
+ const classNames3 = useClassNames52({ component: "Pagination" });
9476
9513
  const handleKeyDown = (onEnter) => (e) => {
9477
9514
  if (e.key === "ArrowRight") {
9478
9515
  e.preventDefault();
@@ -9485,7 +9522,7 @@ var InnerPagination = ({
9485
9522
  onEnter();
9486
9523
  }
9487
9524
  };
9488
- return /* @__PURE__ */ jsxs33(Fragment10, { children: [
9525
+ return /* @__PURE__ */ jsxs33(Fragment9, { children: [
9489
9526
  /* @__PURE__ */ jsx91(
9490
9527
  NavigationButton,
9491
9528
  {
@@ -9559,18 +9596,18 @@ import {
9559
9596
  forwardRef as forwardRef25
9560
9597
  } from "react";
9561
9598
  import { Radio } from "react-aria-components";
9562
- import { cn as cn52, useClassNames as useClassNames55 } from "@marigold/system";
9599
+ import { cn as cn54, useClassNames as useClassNames54 } from "@marigold/system";
9563
9600
 
9564
9601
  // src/Radio/Context.ts
9565
- import { createContext as createContext12, useContext as useContext22 } from "react";
9566
- var RadioGroupContext = createContext12(
9602
+ import { createContext as createContext13, useContext as useContext23 } from "react";
9603
+ var RadioGroupContext = createContext13(
9567
9604
  null
9568
9605
  );
9569
- var useRadioGroupContext = () => useContext22(RadioGroupContext);
9606
+ var useRadioGroupContext = () => useContext23(RadioGroupContext);
9570
9607
 
9571
9608
  // src/Radio/RadioGroup.tsx
9572
9609
  import { RadioGroup } from "react-aria-components";
9573
- import { cn as cn51, useClassNames as useClassNames54 } from "@marigold/system";
9610
+ import { cn as cn53, useClassNames as useClassNames53 } from "@marigold/system";
9574
9611
  import { jsx as jsx92 } from "react/jsx-runtime";
9575
9612
  var _RadioGroup = ({
9576
9613
  variant,
@@ -9587,7 +9624,7 @@ var _RadioGroup = ({
9587
9624
  width,
9588
9625
  ...rest
9589
9626
  }) => {
9590
- const classNames3 = useClassNames54({ component: "Radio", variant, size: size2 });
9627
+ const classNames3 = useClassNames53({ component: "Radio", variant, size: size2 });
9591
9628
  const props = {
9592
9629
  isDisabled: disabled,
9593
9630
  isReadOnly: readOnly,
@@ -9612,7 +9649,7 @@ var _RadioGroup = ({
9612
9649
  role: "presentation",
9613
9650
  "data-testid": "group",
9614
9651
  "data-orientation": orientation,
9615
- className: cn51(
9652
+ className: cn53(
9616
9653
  classNames3.group,
9617
9654
  "flex items-start",
9618
9655
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
@@ -9625,12 +9662,12 @@ var _RadioGroup = ({
9625
9662
  };
9626
9663
 
9627
9664
  // src/Radio/Radio.tsx
9628
- import { Fragment as Fragment11, jsx as jsx93, jsxs as jsxs34 } from "react/jsx-runtime";
9665
+ import { Fragment as Fragment10, jsx as jsx93, jsxs as jsxs34 } from "react/jsx-runtime";
9629
9666
  var Dot = () => /* @__PURE__ */ jsx93("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx93("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
9630
9667
  var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx93(
9631
9668
  "div",
9632
9669
  {
9633
- className: cn52(
9670
+ className: cn54(
9634
9671
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
9635
9672
  className
9636
9673
  ),
@@ -9642,7 +9679,7 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx93(
9642
9679
  var _Radio = forwardRef25(
9643
9680
  ({ value, disabled, width, children, ...props }, ref) => {
9644
9681
  const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
9645
- const classNames3 = useClassNames55({
9682
+ const classNames3 = useClassNames54({
9646
9683
  component: "Radio",
9647
9684
  variant: variant || props.variant,
9648
9685
  size: size2 || props.size
@@ -9651,7 +9688,7 @@ var _Radio = forwardRef25(
9651
9688
  Radio,
9652
9689
  {
9653
9690
  ref,
9654
- className: cn52(
9691
+ className: cn54(
9655
9692
  "group/radio",
9656
9693
  "relative flex items-center gap-[1ch]",
9657
9694
  width || groupWidth || "w-full",
@@ -9660,12 +9697,12 @@ var _Radio = forwardRef25(
9660
9697
  value,
9661
9698
  isDisabled: disabled,
9662
9699
  ...props,
9663
- children: ({ isSelected }) => /* @__PURE__ */ jsxs34(Fragment11, { children: [
9700
+ children: ({ isSelected }) => /* @__PURE__ */ jsxs34(Fragment10, { children: [
9664
9701
  /* @__PURE__ */ jsx93(
9665
9702
  Icon3,
9666
9703
  {
9667
9704
  checked: isSelected,
9668
- className: cn52(
9705
+ className: cn54(
9669
9706
  disabled ? "cursor-not-allowed" : "cursor-pointer",
9670
9707
  classNames3.radio
9671
9708
  )
@@ -9705,7 +9742,7 @@ var _SearchField = forwardRef26(
9705
9742
  // src/Select/Select.tsx
9706
9743
  import { forwardRef as forwardRef27 } from "react";
9707
9744
  import { Select as Select2, SelectValue } from "react-aria-components";
9708
- import { cn as cn53, useClassNames as useClassNames56 } from "@marigold/system";
9745
+ import { cn as cn55, useClassNames as useClassNames55 } from "@marigold/system";
9709
9746
  import { jsx as jsx95, jsxs as jsxs35 } from "react/jsx-runtime";
9710
9747
  var _Select = forwardRef27(
9711
9748
  ({
@@ -9727,18 +9764,18 @@ var _Select = forwardRef27(
9727
9764
  onSelectionChange: onChange2,
9728
9765
  ...rest
9729
9766
  };
9730
- const classNames3 = useClassNames56({ component: "Select", variant, size: size2 });
9767
+ const classNames3 = useClassNames55({ component: "Select", variant, size: size2 });
9731
9768
  return /* @__PURE__ */ jsxs35(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
9732
9769
  /* @__PURE__ */ jsxs35(
9733
9770
  IconButton,
9734
9771
  {
9735
- className: cn53(
9772
+ className: cn55(
9736
9773
  "flex w-full items-center justify-between gap-1 overflow-hidden",
9737
9774
  classNames3.select
9738
9775
  ),
9739
9776
  children: [
9740
9777
  /* @__PURE__ */ jsx95(SelectValue, { className: "[&>[slot=description]]:hidden" }),
9741
- /* @__PURE__ */ jsx95(ChevronDown, { className: cn53("size-4", classNames3.icon) })
9778
+ /* @__PURE__ */ jsx95(ChevronDown, { className: cn55("size-4", classNames3.icon) })
9742
9779
  ]
9743
9780
  }
9744
9781
  ),
@@ -9754,20 +9791,20 @@ import {
9754
9791
  forwardRef as forwardRef29
9755
9792
  } from "react";
9756
9793
  import { GridList as SelectList } from "react-aria-components";
9757
- import { cn as cn55, useClassNames as useClassNames57 } from "@marigold/system";
9794
+ import { cn as cn57, useClassNames as useClassNames56 } from "@marigold/system";
9758
9795
 
9759
9796
  // src/SelectList/Context.ts
9760
- import { createContext as createContext13, useContext as useContext23 } from "react";
9761
- var SelectListContext = createContext13(
9797
+ import { createContext as createContext14, useContext as useContext24 } from "react";
9798
+ var SelectListContext = createContext14(
9762
9799
  {}
9763
9800
  );
9764
- var useSelectListContext = () => useContext23(SelectListContext);
9801
+ var useSelectListContext = () => useContext24(SelectListContext);
9765
9802
 
9766
9803
  // src/SelectList/SelectListItem.tsx
9767
9804
  import { forwardRef as forwardRef28 } from "react";
9768
9805
  import { GridListItem as SelectListItem } from "react-aria-components";
9769
- import { cn as cn54 } from "@marigold/system";
9770
- import { Fragment as Fragment12, jsx as jsx96, jsxs as jsxs36 } from "react/jsx-runtime";
9806
+ import { cn as cn56 } from "@marigold/system";
9807
+ import { Fragment as Fragment11, jsx as jsx96, jsxs as jsxs36 } from "react/jsx-runtime";
9771
9808
  var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx96("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx96(
9772
9809
  "path",
9773
9810
  {
@@ -9795,9 +9832,9 @@ var _SelectListItem = forwardRef28(
9795
9832
  {
9796
9833
  textValue,
9797
9834
  ...props,
9798
- className: cn54("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9835
+ className: cn56("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9799
9836
  ref,
9800
- children: ({ selectionMode }) => /* @__PURE__ */ jsxs36(Fragment12, { children: [
9837
+ children: ({ selectionMode }) => /* @__PURE__ */ jsxs36(Fragment11, { children: [
9801
9838
  /* @__PURE__ */ jsx96(SelectionIndicator, { selectionMode }),
9802
9839
  children
9803
9840
  ] })
@@ -9810,7 +9847,7 @@ var _SelectListItem = forwardRef28(
9810
9847
  import { jsx as jsx97 } from "react/jsx-runtime";
9811
9848
  var _SelectList = forwardRef29(
9812
9849
  ({ onChange: onChange2, ...rest }, ref) => {
9813
- const classNames3 = useClassNames57({ component: "ListBox" });
9850
+ const classNames3 = useClassNames56({ component: "ListBox" });
9814
9851
  const props = {
9815
9852
  onSelectionChange: onChange2,
9816
9853
  ...rest
@@ -9821,7 +9858,7 @@ var _SelectList = forwardRef29(
9821
9858
  ...props,
9822
9859
  layout: "grid",
9823
9860
  ref,
9824
- className: cn55(
9861
+ className: cn57(
9825
9862
  "group/list overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
9826
9863
  classNames3.list
9827
9864
  ),
@@ -9833,7 +9870,7 @@ var _SelectList = forwardRef29(
9833
9870
  _SelectList.Item = _SelectListItem;
9834
9871
 
9835
9872
  // src/Scrollable/Scrollable.tsx
9836
- import { cn as cn56, createVar as createVar8, width as twWidth2 } from "@marigold/system";
9873
+ import { cn as cn58, createVar as createVar8, width as twWidth2 } from "@marigold/system";
9837
9874
  import { jsx as jsx98 } from "react/jsx-runtime";
9838
9875
  var Scrollable = ({
9839
9876
  children,
@@ -9844,7 +9881,7 @@ var Scrollable = ({
9844
9881
  "div",
9845
9882
  {
9846
9883
  ...props,
9847
- className: cn56(["sticky h-(--height) overflow-auto", twWidth2[width]]),
9884
+ className: cn58(["sticky h-(--height) overflow-auto", twWidth2[width]]),
9848
9885
  style: createVar8({ height }),
9849
9886
  children
9850
9887
  }
@@ -9859,11 +9896,11 @@ import {
9859
9896
  SliderTrack
9860
9897
  } from "react-aria-components";
9861
9898
  import {
9862
- cn as cn57,
9899
+ cn as cn59,
9863
9900
  width as twWidth3,
9864
- useClassNames as useClassNames58
9901
+ useClassNames as useClassNames57
9865
9902
  } from "@marigold/system";
9866
- import { Fragment as Fragment13, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
9903
+ import { Fragment as Fragment12, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
9867
9904
  var _Slider = forwardRef30(
9868
9905
  ({
9869
9906
  thumbLabels,
@@ -9874,7 +9911,7 @@ var _Slider = forwardRef30(
9874
9911
  label,
9875
9912
  ...rest
9876
9913
  }, ref) => {
9877
- const classNames3 = useClassNames58({
9914
+ const classNames3 = useClassNames57({
9878
9915
  component: "Slider",
9879
9916
  variant,
9880
9917
  size: size2
@@ -9887,7 +9924,7 @@ var _Slider = forwardRef30(
9887
9924
  FieldBase,
9888
9925
  {
9889
9926
  as: Slider,
9890
- className: cn57(
9927
+ className: cn59(
9891
9928
  "grid grid-cols-[auto_1fr] gap-y-1",
9892
9929
  classNames3.container,
9893
9930
  twWidth3[width]
@@ -9896,16 +9933,16 @@ var _Slider = forwardRef30(
9896
9933
  ...props,
9897
9934
  children: [
9898
9935
  label && /* @__PURE__ */ jsx99(_Label, { children: label }),
9899
- /* @__PURE__ */ jsx99(SliderOutput, { className: cn57("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
9936
+ /* @__PURE__ */ jsx99(SliderOutput, { className: cn59("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
9900
9937
  /* @__PURE__ */ jsx99(
9901
9938
  SliderTrack,
9902
9939
  {
9903
- className: cn57("relative col-span-2 h-2 w-full", classNames3.track),
9904
- children: ({ state }) => /* @__PURE__ */ jsxs37(Fragment13, { children: [
9940
+ className: cn59("relative col-span-2 h-2 w-full", classNames3.track),
9941
+ children: ({ state }) => /* @__PURE__ */ jsxs37(Fragment12, { children: [
9905
9942
  /* @__PURE__ */ jsx99(
9906
9943
  "div",
9907
9944
  {
9908
- className: cn57(
9945
+ className: cn59(
9909
9946
  "absolute top-[50%] h-2 w-full translate-y-[-50%]",
9910
9947
  classNames3.track
9911
9948
  )
@@ -9914,7 +9951,7 @@ var _Slider = forwardRef30(
9914
9951
  /* @__PURE__ */ jsx99(
9915
9952
  "div",
9916
9953
  {
9917
- className: cn57(
9954
+ className: cn59(
9918
9955
  "absolute top-[50%] h-2 translate-y-[-50%]",
9919
9956
  classNames3.selectedTrack
9920
9957
  ),
@@ -9927,7 +9964,7 @@ var _Slider = forwardRef30(
9927
9964
  state.values.map((_, i) => /* @__PURE__ */ jsx99(
9928
9965
  SliderThumb,
9929
9966
  {
9930
- className: cn57("top-1/2 cursor-pointer", classNames3.thumb),
9967
+ className: cn59("top-1/2 cursor-pointer", classNames3.thumb),
9931
9968
  index: i,
9932
9969
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i],
9933
9970
  name: thumbLabels == null ? void 0 : thumbLabels[i]
@@ -9948,7 +9985,7 @@ import { jsx as jsx100 } from "react/jsx-runtime";
9948
9985
  var Split = () => /* @__PURE__ */ jsx100("div", { role: "separator", className: "grow" });
9949
9986
 
9950
9987
  // src/Stack/Stack.tsx
9951
- import { alignment as alignment2, cn as cn58, gapSpace as gapSpace8 } from "@marigold/system";
9988
+ import { alignment as alignment3, cn as cn60, gapSpace as gapSpace8 } from "@marigold/system";
9952
9989
  import { jsx as jsx101 } from "react/jsx-runtime";
9953
9990
  var Stack = ({
9954
9991
  children,
@@ -9962,11 +9999,11 @@ var Stack = ({
9962
9999
  return /* @__PURE__ */ jsx101(
9963
10000
  "div",
9964
10001
  {
9965
- className: cn58(
10002
+ className: cn60(
9966
10003
  "flex flex-col",
9967
10004
  gapSpace8[space],
9968
- alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
9969
- alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
10005
+ alignX && ((_b = (_a = alignment3) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
10006
+ alignY && ((_d = (_c = alignment3) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
9970
10007
  stretch && "h-full w-full"
9971
10008
  ),
9972
10009
  ...props,
@@ -9979,9 +10016,9 @@ var Stack = ({
9979
10016
  import { forwardRef as forwardRef31 } from "react";
9980
10017
  import { Switch } from "react-aria-components";
9981
10018
  import {
9982
- cn as cn59,
10019
+ cn as cn61,
9983
10020
  width as twWidth4,
9984
- useClassNames as useClassNames59
10021
+ useClassNames as useClassNames58
9985
10022
  } from "@marigold/system";
9986
10023
  import { jsx as jsx102, jsxs as jsxs38 } from "react/jsx-runtime";
9987
10024
  var _Switch = forwardRef31(
@@ -9995,7 +10032,7 @@ var _Switch = forwardRef31(
9995
10032
  readOnly,
9996
10033
  ...rest
9997
10034
  }, ref) => {
9998
- const classNames3 = useClassNames59({ component: "Switch", size: size2, variant });
10035
+ const classNames3 = useClassNames58({ component: "Switch", size: size2, variant });
9999
10036
  const props = {
10000
10037
  isDisabled: disabled,
10001
10038
  isReadOnly: readOnly,
@@ -10007,7 +10044,7 @@ var _Switch = forwardRef31(
10007
10044
  {
10008
10045
  ...props,
10009
10046
  ref,
10010
- className: cn59(
10047
+ className: cn61(
10011
10048
  twWidth4[width],
10012
10049
  "group/switch",
10013
10050
  "flex items-center gap-[1ch]",
@@ -10033,12 +10070,12 @@ import {
10033
10070
  Row,
10034
10071
  useTableState
10035
10072
  } from "@react-stately/table";
10036
- import { cn as cn66, useClassNames as useClassNames61 } from "@marigold/system";
10073
+ import { cn as cn68, useClassNames as useClassNames60 } from "@marigold/system";
10037
10074
 
10038
10075
  // src/Table/Context.tsx
10039
- import { createContext as createContext14, useContext as useContext24 } from "react";
10040
- var TableContext = createContext14({});
10041
- var useTableContext = () => useContext24(TableContext);
10076
+ import { createContext as createContext15, useContext as useContext25 } from "react";
10077
+ var TableContext = createContext15({});
10078
+ var useTableContext = () => useContext25(TableContext);
10042
10079
 
10043
10080
  // src/Table/TableBody.tsx
10044
10081
  import { useTableRowGroup } from "@react-aria/table";
@@ -10069,7 +10106,7 @@ import { useRef as useRef10 } from "react";
10069
10106
  import { useFocusRing } from "@react-aria/focus";
10070
10107
  import { useTableCell } from "@react-aria/table";
10071
10108
  import { mergeProps as mergeProps2 } from "@react-aria/utils";
10072
- import { cn as cn60, useStateProps } from "@marigold/system";
10109
+ import { cn as cn62, useStateProps } from "@marigold/system";
10073
10110
  import { jsx as jsx104 } from "react/jsx-runtime";
10074
10111
  var TableCell = ({ cell, align = "left" }) => {
10075
10112
  const ref = useRef10(null);
@@ -10097,7 +10134,7 @@ var TableCell = ({ cell, align = "left" }) => {
10097
10134
  "td",
10098
10135
  {
10099
10136
  ref,
10100
- className: cn60(classNames3 == null ? void 0 : classNames3.cell),
10137
+ className: cn62(classNames3 == null ? void 0 : classNames3.cell),
10101
10138
  ...mergeProps2(cellProps, focusProps),
10102
10139
  ...stateProps,
10103
10140
  align,
@@ -10111,7 +10148,7 @@ import { useRef as useRef11 } from "react";
10111
10148
  import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
10112
10149
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
10113
10150
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
10114
- import { cn as cn61, useStateProps as useStateProps2 } from "@marigold/system";
10151
+ import { cn as cn63, useStateProps as useStateProps2 } from "@marigold/system";
10115
10152
 
10116
10153
  // src/Table/utils.ts
10117
10154
  var mapCheckboxProps = ({
@@ -10155,7 +10192,7 @@ var TableCheckboxCell = ({ cell }) => {
10155
10192
  "td",
10156
10193
  {
10157
10194
  ref,
10158
- className: cn61("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10195
+ className: cn63("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10159
10196
  ...mergeProps3(gridCellProps, focusProps),
10160
10197
  ...stateProps,
10161
10198
  children: /* @__PURE__ */ jsx105(_Checkbox, { ...checkboxProps })
@@ -10169,7 +10206,7 @@ import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
10169
10206
  import { useHover } from "@react-aria/interactions";
10170
10207
  import { useTableColumnHeader } from "@react-aria/table";
10171
10208
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
10172
- import { cn as cn62, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
10209
+ import { cn as cn64, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
10173
10210
  import { jsx as jsx106, jsxs as jsxs39 } from "react/jsx-runtime";
10174
10211
  var TableColumnHeader = ({
10175
10212
  column: column2,
@@ -10197,7 +10234,7 @@ var TableColumnHeader = ({
10197
10234
  {
10198
10235
  colSpan: column2.colspan,
10199
10236
  ref,
10200
- className: cn62("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
10237
+ className: cn64("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
10201
10238
  ...mergeProps4(columnHeaderProps, hoverProps, focusProps),
10202
10239
  ...stateProps,
10203
10240
  align,
@@ -10211,7 +10248,7 @@ var TableColumnHeader = ({
10211
10248
 
10212
10249
  // src/Table/TableHeader.tsx
10213
10250
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
10214
- import { cn as cn63 } from "@marigold/system";
10251
+ import { cn as cn65 } from "@marigold/system";
10215
10252
  import { jsx as jsx107 } from "react/jsx-runtime";
10216
10253
  var TableHeader = ({ stickyHeader, children }) => {
10217
10254
  const { rowGroupProps } = useTableRowGroup2();
@@ -10220,7 +10257,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10220
10257
  "thead",
10221
10258
  {
10222
10259
  ...rowGroupProps,
10223
- className: cn63(
10260
+ className: cn65(
10224
10261
  classNames3 == null ? void 0 : classNames3.thead,
10225
10262
  // for sticky header &th needs to be sticky for b2b and core theme
10226
10263
  // for rui sticky is applied to thead
@@ -10252,13 +10289,13 @@ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
10252
10289
  import { useHover as useHover2 } from "@react-aria/interactions";
10253
10290
  import { useTableRow } from "@react-aria/table";
10254
10291
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
10255
- import { cn as cn64, useClassNames as useClassNames60, useStateProps as useStateProps4 } from "@marigold/system";
10292
+ import { cn as cn66, useClassNames as useClassNames59, useStateProps as useStateProps4 } from "@marigold/system";
10256
10293
  import { jsx as jsx109 } from "react/jsx-runtime";
10257
10294
  var TableRow = ({ children, row }) => {
10258
10295
  const ref = useRef14(null);
10259
10296
  const { interactive, state, ...ctx } = useTableContext();
10260
10297
  const { variant, size: size2 } = row.props;
10261
- const classNames3 = useClassNames60({
10298
+ const classNames3 = useClassNames59({
10262
10299
  component: "Table",
10263
10300
  variant: variant || ctx.variant,
10264
10301
  size: size2 || ctx.size
@@ -10287,7 +10324,7 @@ var TableRow = ({ children, row }) => {
10287
10324
  "tr",
10288
10325
  {
10289
10326
  ref,
10290
- className: cn64(
10327
+ className: cn66(
10291
10328
  [
10292
10329
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
10293
10330
  ],
@@ -10310,7 +10347,7 @@ import {
10310
10347
  } from "@react-aria/table";
10311
10348
  import { mergeProps as mergeProps6 } from "@react-aria/utils";
10312
10349
  import {
10313
- cn as cn65,
10350
+ cn as cn67,
10314
10351
  width as twWidth6,
10315
10352
  useStateProps as useStateProps5
10316
10353
  } from "@marigold/system";
@@ -10340,7 +10377,7 @@ var TableSelectAllCell = ({
10340
10377
  "th",
10341
10378
  {
10342
10379
  ref,
10343
- className: cn65(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10380
+ className: cn67(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10344
10381
  ...mergeProps6(columnHeaderProps, hoverProps, focusProps),
10345
10382
  ...stateProps,
10346
10383
  align,
@@ -10373,7 +10410,7 @@ var Table = ({
10373
10410
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
10374
10411
  }
10375
10412
  const { gridProps } = useTable(props, state, tableRef);
10376
- const classNames3 = useClassNames61({
10413
+ const classNames3 = useClassNames60({
10377
10414
  component: "Table",
10378
10415
  variant,
10379
10416
  size: size2
@@ -10387,7 +10424,7 @@ var Table = ({
10387
10424
  "table",
10388
10425
  {
10389
10426
  ref: tableRef,
10390
- className: cn66(
10427
+ className: cn68(
10391
10428
  "group/table",
10392
10429
  "border-collapse",
10393
10430
  stretch ? "table w-full" : "block",
@@ -10456,14 +10493,14 @@ Table.Row = Row;
10456
10493
  // src/Text/Text.tsx
10457
10494
  import { Text as Text2 } from "react-aria-components";
10458
10495
  import {
10459
- cn as cn67,
10496
+ cn as cn69,
10460
10497
  cursorStyle,
10461
10498
  ensureCssVar as ensureCssVar2,
10462
10499
  fontWeight,
10463
10500
  textAlign as textAlign2,
10464
10501
  textSize,
10465
10502
  textStyle,
10466
- useClassNames as useClassNames62
10503
+ useClassNames as useClassNames61
10467
10504
  } from "@marigold/system";
10468
10505
  import { jsx as jsx112 } from "react/jsx-runtime";
10469
10506
  var _Text = ({
@@ -10479,7 +10516,7 @@ var _Text = ({
10479
10516
  as = "div",
10480
10517
  ...props
10481
10518
  }) => {
10482
- const classNames3 = useClassNames62({
10519
+ const classNames3 = useClassNames61({
10483
10520
  component: "Text",
10484
10521
  variant,
10485
10522
  size: size2
@@ -10491,7 +10528,7 @@ var _Text = ({
10491
10528
  {
10492
10529
  ...props,
10493
10530
  ...elementType,
10494
- className: cn67(
10531
+ className: cn69(
10495
10532
  "max-w-(--maxTextWidth)",
10496
10533
  // possibly set by a <Container>
10497
10534
  classNames3,
@@ -10510,7 +10547,7 @@ var _Text = ({
10510
10547
  // src/TextArea/TextArea.tsx
10511
10548
  import { forwardRef as forwardRef32 } from "react";
10512
10549
  import { TextArea, TextField } from "react-aria-components";
10513
- import { useClassNames as useClassNames63 } from "@marigold/system";
10550
+ import { useClassNames as useClassNames62 } from "@marigold/system";
10514
10551
  import { jsx as jsx113 } from "react/jsx-runtime";
10515
10552
  var _TextArea = forwardRef32(
10516
10553
  ({
@@ -10523,7 +10560,7 @@ var _TextArea = forwardRef32(
10523
10560
  rows,
10524
10561
  ...rest
10525
10562
  }, ref) => {
10526
- const classNames3 = useClassNames63({ component: "TextArea", variant, size: size2 });
10563
+ const classNames3 = useClassNames62({ component: "TextArea", variant, size: size2 });
10527
10564
  const props = {
10528
10565
  isDisabled: disabled,
10529
10566
  isReadOnly: readOnly,
@@ -10553,7 +10590,7 @@ var _TextField = forwardRef33(
10553
10590
  );
10554
10591
 
10555
10592
  // src/Tiles/Tiles.tsx
10556
- import { cn as cn68, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
10593
+ import { cn as cn70, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
10557
10594
  import { jsx as jsx115 } from "react/jsx-runtime";
10558
10595
  var Tiles = ({
10559
10596
  space = 0,
@@ -10571,7 +10608,7 @@ var Tiles = ({
10571
10608
  "div",
10572
10609
  {
10573
10610
  ...props,
10574
- className: cn68(
10611
+ className: cn70(
10575
10612
  "grid",
10576
10613
  gapSpace9[space],
10577
10614
  "grid-cols-[repeat(auto-fit,var(--column))]",
@@ -10585,7 +10622,7 @@ var Tiles = ({
10585
10622
 
10586
10623
  // src/Tooltip/Tooltip.tsx
10587
10624
  import { OverlayArrow, Tooltip } from "react-aria-components";
10588
- import { cn as cn69, useClassNames as useClassNames64 } from "@marigold/system";
10625
+ import { cn as cn71, useClassNames as useClassNames63 } from "@marigold/system";
10589
10626
 
10590
10627
  // src/Tooltip/TooltipTrigger.tsx
10591
10628
  import { TooltipTrigger } from "react-aria-components";
@@ -10613,13 +10650,13 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10613
10650
  ...rest,
10614
10651
  isOpen: open
10615
10652
  };
10616
- const classNames3 = useClassNames64({ component: "Tooltip", variant, size: size2 });
10653
+ const classNames3 = useClassNames63({ component: "Tooltip", variant, size: size2 });
10617
10654
  const portal = usePortalContainer();
10618
10655
  return /* @__PURE__ */ jsxs41(
10619
10656
  Tooltip,
10620
10657
  {
10621
10658
  ...props,
10622
- className: cn69("group/tooltip", classNames3.container),
10659
+ className: cn71("group/tooltip", classNames3.container),
10623
10660
  UNSTABLE_portalContainer: portal,
10624
10661
  children: [
10625
10662
  /* @__PURE__ */ jsx117(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx117("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx117("path", { d: "M0 0 L4 4 L8 0" }) }) }),
@@ -10632,19 +10669,19 @@ _Tooltip.Trigger = _TooltipTrigger;
10632
10669
 
10633
10670
  // src/TagGroup/Tag.tsx
10634
10671
  import { Tag } from "react-aria-components";
10635
- import { cn as cn70, useClassNames as useClassNames66 } from "@marigold/system";
10672
+ import { cn as cn72, useClassNames as useClassNames65 } from "@marigold/system";
10636
10673
 
10637
10674
  // src/TagGroup/TagGroup.tsx
10638
10675
  import { TagGroup, TagList } from "react-aria-components";
10639
- import { useClassNames as useClassNames65 } from "@marigold/system";
10676
+ import { useClassNames as useClassNames64 } from "@marigold/system";
10640
10677
 
10641
10678
  // src/TagGroup/TagGroupHiddenInput.tsx
10642
- import { useContext as useContext25 } from "react";
10679
+ import { useContext as useContext26 } from "react";
10643
10680
  import { ListStateContext } from "react-aria-components";
10644
10681
  import { jsx as jsx118 } from "react/jsx-runtime";
10645
10682
  var TagGroupHiddenInput = ({ name }) => {
10646
10683
  var _a;
10647
- const state = useContext25(ListStateContext);
10684
+ const state = useContext26(ListStateContext);
10648
10685
  const selectedKeys = Array.from((_a = state == null ? void 0 : state.selectionManager.selectedKeys) != null ? _a : []);
10649
10686
  if (!selectedKeys.length) return null;
10650
10687
  return /* @__PURE__ */ jsx118("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ jsx118(
@@ -10672,7 +10709,7 @@ var _TagGroup = ({
10672
10709
  name,
10673
10710
  ...rest
10674
10711
  }) => {
10675
- const classNames3 = useClassNames65({ component: "Tag", variant, size: size2 });
10712
+ const classNames3 = useClassNames64({ component: "Tag", variant, size: size2 });
10676
10713
  return /* @__PURE__ */ jsxs42(FieldBase, { as: TagGroup, ...rest, children: [
10677
10714
  /* @__PURE__ */ jsx119(
10678
10715
  TagList,
@@ -10688,10 +10725,10 @@ var _TagGroup = ({
10688
10725
  };
10689
10726
 
10690
10727
  // src/TagGroup/Tag.tsx
10691
- import { Fragment as Fragment14, jsx as jsx120, jsxs as jsxs43 } from "react/jsx-runtime";
10728
+ import { Fragment as Fragment13, jsx as jsx120, jsxs as jsxs43 } from "react/jsx-runtime";
10692
10729
  var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10693
10730
  let textValue = typeof children === "string" ? children : void 0;
10694
- const classNames3 = useClassNames66({ component: "Tag", variant, size: size2 });
10731
+ const classNames3 = useClassNames65({ component: "Tag", variant, size: size2 });
10695
10732
  const props = {
10696
10733
  isDisabled: disabled,
10697
10734
  ...rest
@@ -10701,8 +10738,8 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10701
10738
  {
10702
10739
  textValue,
10703
10740
  ...props,
10704
- className: cn70("data-selection-mode:cursor-pointer", classNames3.tag),
10705
- children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs43(Fragment14, { children: [
10741
+ className: cn72("data-selection-mode:cursor-pointer", classNames3.tag),
10742
+ children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs43(Fragment13, { children: [
10706
10743
  children,
10707
10744
  allowsRemoving && /* @__PURE__ */ jsx120(CloseButton, { className: classNames3.closeButton, slot: "remove" })
10708
10745
  ] })
@@ -10717,12 +10754,12 @@ import { VisuallyHidden } from "@react-aria/visually-hidden";
10717
10754
  // src/XLoader/XLoader.tsx
10718
10755
  import { Dialog as Dialog4, Modal as Modal2 } from "react-aria-components";
10719
10756
  import { useId as useId2 } from "@react-aria/utils";
10720
- import { useClassNames as useClassNames68 } from "@marigold/system";
10757
+ import { useClassNames as useClassNames67 } from "@marigold/system";
10721
10758
 
10722
10759
  // src/XLoader/BaseLoader.tsx
10723
10760
  import { Label as Label2, ProgressBar as ProgressBar2 } from "react-aria-components";
10724
10761
  import { useLocalizedStringFormatter as useLocalizedStringFormatter2 } from "@react-aria/i18n";
10725
- import { useClassNames as useClassNames67 } from "@marigold/system";
10762
+ import { useClassNames as useClassNames66 } from "@marigold/system";
10726
10763
 
10727
10764
  // src/intl/messages.ts
10728
10765
  var intlMessages2 = {
@@ -10744,7 +10781,7 @@ var BaseLoader = ({
10744
10781
  ...props
10745
10782
  }) => {
10746
10783
  const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
10747
- const className = useClassNames67({ component: "XLoader", variant, size: size2 });
10784
+ const className = useClassNames66({ component: "XLoader", variant, size: size2 });
10748
10785
  return /* @__PURE__ */ jsxs44(
10749
10786
  ProgressBar2,
10750
10787
  {
@@ -10976,7 +11013,7 @@ var LoaderFullScreen = (props) => {
10976
11013
  return /* @__PURE__ */ jsx122(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx122(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx122(Dialog4, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx122(BaseLoader, { id, ...props }) }) }) });
10977
11014
  };
10978
11015
  var LoaderSection = (props) => {
10979
- const className = useClassNames68({
11016
+ const className = useClassNames67({
10980
11017
  component: "Underlay",
10981
11018
  variant: "modal",
10982
11019
  className: "flex size-full items-center justify-center"
@@ -10987,16 +11024,16 @@ var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PUR
10987
11024
 
10988
11025
  // src/Tabs/Tabs.tsx
10989
11026
  import { Tabs } from "react-aria-components";
10990
- import { useClassNames as useClassNames69 } from "@marigold/system";
11027
+ import { useClassNames as useClassNames68 } from "@marigold/system";
10991
11028
 
10992
11029
  // src/Tabs/Context.ts
10993
- import { createContext as createContext15, useContext as useContext26 } from "react";
10994
- var TabContext = createContext15({});
10995
- var useTabContext = () => useContext26(TabContext);
11030
+ import { createContext as createContext16, useContext as useContext27 } from "react";
11031
+ var TabContext = createContext16({});
11032
+ var useTabContext = () => useContext27(TabContext);
10996
11033
 
10997
11034
  // src/Tabs/Tab.tsx
10998
11035
  import { Tab } from "react-aria-components";
10999
- import { cn as cn71 } from "@marigold/system";
11036
+ import { cn as cn73 } from "@marigold/system";
11000
11037
  import { jsx as jsx123 } from "react/jsx-runtime";
11001
11038
  var _Tab = (props) => {
11002
11039
  const { classNames: classNames3 } = useTabContext();
@@ -11004,7 +11041,7 @@ var _Tab = (props) => {
11004
11041
  Tab,
11005
11042
  {
11006
11043
  ...props,
11007
- className: cn71(
11044
+ className: cn73(
11008
11045
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
11009
11046
  classNames3.tab
11010
11047
  ),
@@ -11015,7 +11052,7 @@ var _Tab = (props) => {
11015
11052
 
11016
11053
  // src/Tabs/TabList.tsx
11017
11054
  import { TabList } from "react-aria-components";
11018
- import { cn as cn72, gapSpace as gapSpace10 } from "@marigold/system";
11055
+ import { cn as cn74, gapSpace as gapSpace10 } from "@marigold/system";
11019
11056
  import { jsx as jsx124 } from "react/jsx-runtime";
11020
11057
  var _TabList = ({ space = 2, ...props }) => {
11021
11058
  const { classNames: classNames3 } = useTabContext();
@@ -11023,7 +11060,7 @@ var _TabList = ({ space = 2, ...props }) => {
11023
11060
  TabList,
11024
11061
  {
11025
11062
  ...props,
11026
- className: cn72("flex", gapSpace10[space], classNames3.tabsList),
11063
+ className: cn74("flex", gapSpace10[space], classNames3.tabsList),
11027
11064
  children: props.children
11028
11065
  }
11029
11066
  );
@@ -11044,7 +11081,7 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
11044
11081
  isDisabled: disabled,
11045
11082
  ...rest
11046
11083
  };
11047
- const classNames3 = useClassNames69({
11084
+ const classNames3 = useClassNames68({
11048
11085
  component: "Tabs",
11049
11086
  size: size2,
11050
11087
  variant
@@ -11057,6 +11094,45 @@ _Tabs.Item = _Tab;
11057
11094
 
11058
11095
  // src/RouterProvider/RouterProvider.tsx
11059
11096
  import { RouterProvider } from "react-aria-components";
11097
+
11098
+ // src/TimeField/TimeField.tsx
11099
+ import { forwardRef as forwardRef34 } from "react";
11100
+ import { DateInput as DateInput2, DateSegment as DateSegment2, TimeField } from "react-aria-components";
11101
+ import { useClassNames as useClassNames69 } from "@marigold/system";
11102
+ import { jsx as jsx127 } from "react/jsx-runtime";
11103
+ var _TimeField = forwardRef34(
11104
+ ({
11105
+ required,
11106
+ disabled,
11107
+ readOnly,
11108
+ error,
11109
+ variant,
11110
+ size: size2,
11111
+ width = "full",
11112
+ ...rest
11113
+ }, ref) => {
11114
+ const classNames3 = useClassNames69({ component: "DateField", variant, size: size2 });
11115
+ const props = {
11116
+ isDisabled: disabled,
11117
+ isReadOnly: readOnly,
11118
+ isInvalid: error,
11119
+ isRequired: required,
11120
+ ...rest
11121
+ };
11122
+ return /* @__PURE__ */ jsx127(
11123
+ FieldBase,
11124
+ {
11125
+ as: TimeField,
11126
+ variant,
11127
+ size: size2,
11128
+ width,
11129
+ ...props,
11130
+ ref,
11131
+ children: /* @__PURE__ */ jsx127(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx127(DateSegment2, { className: classNames3.segment, segment }) })
11132
+ }
11133
+ );
11134
+ }
11135
+ );
11060
11136
  export {
11061
11137
  Accordion,
11062
11138
  AccordionItem,
@@ -11128,11 +11204,11 @@ export {
11128
11204
  _TextField as TextField,
11129
11205
  ThemeProvider2 as ThemeProvider,
11130
11206
  Tiles,
11207
+ _TimeField as TimeField,
11131
11208
  _Tooltip as Tooltip,
11132
11209
  Underlay,
11133
11210
  VisuallyHidden,
11134
11211
  XLoader,
11135
- _Calendar,
11136
11212
  gridColsAlign,
11137
11213
  gridColumn,
11138
11214
  useAsyncList,