@marigold/components 12.0.1 → 12.0.2

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
@@ -212,7 +212,7 @@ var require_react_is_development = __commonJS({
212
212
  var ContextProvider = REACT_PROVIDER_TYPE;
213
213
  var Element2 = REACT_ELEMENT_TYPE;
214
214
  var ForwardRef = REACT_FORWARD_REF_TYPE;
215
- var Fragment15 = REACT_FRAGMENT_TYPE;
215
+ var Fragment14 = REACT_FRAGMENT_TYPE;
216
216
  var Lazy = REACT_LAZY_TYPE;
217
217
  var Memo = REACT_MEMO_TYPE;
218
218
  var Portal = REACT_PORTAL_TYPE;
@@ -271,7 +271,7 @@ var require_react_is_development = __commonJS({
271
271
  exports2.ContextProvider = ContextProvider;
272
272
  exports2.Element = Element2;
273
273
  exports2.ForwardRef = ForwardRef;
274
- exports2.Fragment = Fragment15;
274
+ exports2.Fragment = Fragment14;
275
275
  exports2.Lazy = Lazy;
276
276
  exports2.Memo = Memo;
277
277
  exports2.Portal = Portal;
@@ -905,7 +905,7 @@ __export(index_exports, {
905
905
  Popover: () => _Popover,
906
906
  Radio: () => _Radio,
907
907
  RadioGroup: () => _RadioGroup,
908
- RouterProvider: () => import_react_aria_components74.RouterProvider,
908
+ RouterProvider: () => import_react_aria_components75.RouterProvider,
909
909
  Scrollable: () => Scrollable,
910
910
  SearchField: () => _SearchField,
911
911
  SectionMessage: () => SectionMessage,
@@ -927,7 +927,6 @@ __export(index_exports, {
927
927
  Underlay: () => Underlay,
928
928
  VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
929
929
  XLoader: () => XLoader,
930
- _Calendar: () => _Calendar,
931
930
  gridColsAlign: () => gridColsAlign,
932
931
  gridColumn: () => gridColumn,
933
932
  useAsyncList: () => import_data.useAsyncList,
@@ -2922,9 +2921,9 @@ var _DateField = (0, import_react32.forwardRef)(
2922
2921
  );
2923
2922
 
2924
2923
  // src/Calendar/Calendar.tsx
2925
- var import_react37 = require("react");
2926
- var import_react_aria_components42 = require("react-aria-components");
2927
- var import_system61 = require("@marigold/system");
2924
+ var import_react38 = require("react");
2925
+ var import_react_aria_components43 = require("react-aria-components");
2926
+ var import_system63 = require("@marigold/system");
2928
2927
 
2929
2928
  // src/Calendar/CalendarGrid.tsx
2930
2929
  var import_react_aria_components38 = require("react-aria-components");
@@ -2978,10 +2977,15 @@ var _CalendarGrid = () => {
2978
2977
  };
2979
2978
 
2980
2979
  // src/Calendar/CalendarListBox.tsx
2981
- var import_react34 = require("react");
2980
+ var import_react35 = require("react");
2982
2981
  var import_react_aria_components39 = require("react-aria-components");
2983
2982
  var import_system59 = require("@marigold/system");
2984
2983
 
2984
+ // src/Calendar/Context.tsx
2985
+ var import_react34 = require("react");
2986
+ var CalendarContext = (0, import_react34.createContext)({});
2987
+ var useCalendarContext = () => (0, import_react34.useContext)(CalendarContext);
2988
+
2985
2989
  // src/Calendar/useFormattedMonths.tsx
2986
2990
  var import_i18n4 = require("@react-aria/i18n");
2987
2991
  function useFormattedMonths(timeZone, focusedDate) {
@@ -3005,16 +3009,16 @@ function CalendarListBox({
3005
3009
  isDisabled,
3006
3010
  setSelectedDropdown
3007
3011
  }) {
3008
- const state = (0, import_react34.useContext)(import_react_aria_components39.CalendarStateContext);
3012
+ const state = (0, import_react35.useContext)(import_react_aria_components39.CalendarStateContext);
3009
3013
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3010
3014
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
3011
- const { select: selectClassNames } = (0, import_system59.useClassNames)({ component: "Select" });
3015
+ const { classNames: classNames3 } = useCalendarContext();
3012
3016
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3013
3017
  "button",
3014
3018
  {
3015
3019
  disabled: isDisabled,
3016
3020
  onClick: () => setSelectedDropdown(type),
3017
- className: (0, import_system59.cn)(buttonStyles, selectClassNames),
3021
+ className: (0, import_system59.cn)(buttonStyles, classNames3.select),
3018
3022
  "data-testid": type,
3019
3023
  children: [
3020
3024
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
@@ -3062,33 +3066,40 @@ function MonthControls() {
3062
3066
  var MonthControls_default = MonthControls;
3063
3067
 
3064
3068
  // src/Calendar/MonthListBox.tsx
3065
- var import_react35 = require("react");
3069
+ var import_react36 = require("react");
3066
3070
  var import_react_aria_components40 = require("react-aria-components");
3071
+ var import_react_aria_components41 = require("react-aria-components");
3072
+ var import_system61 = require("@marigold/system");
3067
3073
  var import_jsx_runtime69 = require("react/jsx-runtime");
3068
3074
  var MonthListBox = ({ setSelectedDropdown }) => {
3069
- const state = (0, import_react35.useContext)(import_react_aria_components40.CalendarStateContext);
3075
+ const state = (0, import_react36.useContext)(import_react_aria_components40.CalendarStateContext);
3070
3076
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3071
3077
  let onChange2 = (index2) => {
3072
3078
  let value = Number(index2) + 1;
3073
3079
  let date = state.focusedDate.set({ month: value });
3074
3080
  state.setFocusedDate(date);
3075
3081
  };
3082
+ const { classNames: classNames3 } = useCalendarContext();
3076
3083
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3077
3084
  "ul",
3078
3085
  {
3079
3086
  "data-testid": "monthOptions",
3080
- className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3087
+ className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 p-2",
3081
3088
  children: months.map((month, index2) => {
3089
+ const isSelected = index2 === state.focusedDate.month - 1;
3082
3090
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3083
- _Button,
3091
+ import_react_aria_components41.Button,
3084
3092
  {
3085
3093
  slot: "previous",
3086
- variant: index2 === state.focusedDate.month - 1 ? "secondary" : "text",
3087
- size: "small",
3088
3094
  onPress: () => {
3089
3095
  onChange2(index2);
3090
3096
  setSelectedDropdown(void 0);
3091
3097
  },
3098
+ "aria-current": isSelected,
3099
+ className: (0, import_system61.cn)(
3100
+ classNames3.calendarListboxButton,
3101
+ "inline-flex items-center justify-center gap-[0.5ch]"
3102
+ ),
3092
3103
  children: month.substring(0, 3)
3093
3104
  },
3094
3105
  index2 + 1
@@ -3100,12 +3111,14 @@ var MonthListBox = ({ setSelectedDropdown }) => {
3100
3111
  var MonthListBox_default = MonthListBox;
3101
3112
 
3102
3113
  // src/Calendar/YearListBox.tsx
3103
- var import_react36 = require("react");
3104
- var import_react_aria_components41 = require("react-aria-components");
3114
+ var import_react37 = require("react");
3115
+ var import_react_aria_components42 = require("react-aria-components");
3105
3116
  var import_i18n5 = require("@react-aria/i18n");
3117
+ var import_system62 = require("@marigold/system");
3106
3118
  var import_jsx_runtime70 = require("react/jsx-runtime");
3107
3119
  var YearListBox = ({ setSelectedDropdown }) => {
3108
- const state = (0, import_react36.useContext)(import_react_aria_components41.CalendarStateContext);
3120
+ const state = (0, import_react37.useContext)(import_react_aria_components42.CalendarStateContext);
3121
+ const { classNames: classNames3 } = useCalendarContext();
3109
3122
  const years = [];
3110
3123
  let formatter = (0, import_i18n5.useDateFormatter)({
3111
3124
  year: "numeric",
@@ -3118,8 +3131,8 @@ var YearListBox = ({ setSelectedDropdown }) => {
3118
3131
  formatted: formatter.format(date.toDate(state.timeZone))
3119
3132
  });
3120
3133
  }
3121
- const activeButtonRef = (0, import_react36.useRef)(null);
3122
- (0, import_react36.useEffect)(() => {
3134
+ const activeButtonRef = (0, import_react37.useRef)(null);
3135
+ (0, import_react37.useEffect)(() => {
3123
3136
  if (activeButtonRef.current) {
3124
3137
  const activeButton = activeButtonRef.current;
3125
3138
  activeButton == null ? void 0 : activeButton.scrollIntoView({
@@ -3139,24 +3152,26 @@ var YearListBox = ({ setSelectedDropdown }) => {
3139
3152
  "data-testid": "yearOptions",
3140
3153
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3141
3154
  children: years.map((year, index2) => {
3142
- const isActive = +year.formatted === state.focusedDate.year;
3155
+ const isSelected = +year.formatted === state.focusedDate.year;
3143
3156
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3144
3157
  "div",
3145
3158
  {
3146
- ref: isActive ? activeButtonRef : null,
3147
- style: { height: "100%", width: "100%" },
3159
+ ref: isSelected ? activeButtonRef : null,
3160
+ className: "flex size-full justify-center",
3148
3161
  children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3149
- _Button,
3162
+ import_react_aria_components42.Button,
3150
3163
  {
3151
3164
  slot: "previous",
3152
- disabled: state.isDisabled,
3153
- variant: isActive ? "secondary" : "text",
3154
- size: "small",
3165
+ className: (0, import_system62.cn)(
3166
+ classNames3.calendarListboxButton,
3167
+ "inline-flex items-center justify-center gap-[0.5ch]"
3168
+ ),
3155
3169
  onPress: () => {
3156
3170
  onChange2(index2);
3157
3171
  setSelectedDropdown(void 0);
3158
3172
  },
3159
3173
  "data-value": year.formatted,
3174
+ "aria-current": isSelected,
3160
3175
  children: year.formatted
3161
3176
  },
3162
3177
  index2
@@ -3185,54 +3200,66 @@ var _Calendar = ({
3185
3200
  isDateUnavailable: dateUnavailable,
3186
3201
  ...rest
3187
3202
  };
3188
- const classNames3 = (0, import_system61.useClassNames)({ component: "Calendar" });
3189
- const [selectedDropdown, setSelectedDropdown] = (0, import_react37.useState)();
3203
+ const classNames3 = (0, import_system63.useClassNames)({ component: "Calendar", size: size2, variant });
3204
+ const [selectedDropdown, setSelectedDropdown] = (0, import_react38.useState)();
3190
3205
  const ViewMap = {
3191
3206
  month: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(MonthListBox_default, { setSelectedDropdown }),
3192
3207
  year: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(YearListBox_default, { setSelectedDropdown })
3193
3208
  };
3194
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3195
- import_react_aria_components42.Calendar,
3209
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3210
+ import_react_aria_components43.Calendar,
3196
3211
  {
3197
- className: (0, import_system61.cn)(
3198
- "flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3212
+ className: (0, import_system63.cn)(
3213
+ "relative flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3199
3214
  classNames3.calendar
3200
3215
  ),
3201
3216
  ...props,
3202
- children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
3203
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
3204
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex w-fit gap-4", children: [
3205
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3206
- CalendarListBox,
3207
- {
3208
- type: "month",
3209
- isDisabled: props.isDisabled,
3210
- setSelectedDropdown
3211
- }
3217
+ children: [
3218
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3219
+ "div",
3220
+ {
3221
+ className: (0, import_system63.cn)(
3222
+ "pointer-events-none absolute top-1/2 left-0 w-full -translate-y-1/2 opacity-0",
3223
+ selectedDropdown && "pointer-events-auto opacity-100"
3212
3224
  ),
3213
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3214
- CalendarListBox,
3215
- {
3216
- type: "year",
3217
- isDisabled: props.isDisabled,
3218
- setSelectedDropdown
3219
- }
3220
- )
3221
- ] }),
3222
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(MonthControls_default, {})
3223
- ] }),
3224
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_CalendarGrid, {})
3225
- ] })
3225
+ children: ViewMap[selectedDropdown]
3226
+ }
3227
+ ),
3228
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3229
+ "div",
3230
+ {
3231
+ className: (0, import_system63.cn)(
3232
+ "flex flex-col",
3233
+ selectedDropdown && "pointer-events-none opacity-0"
3234
+ ),
3235
+ children: [
3236
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
3237
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3238
+ CalendarListBox,
3239
+ {
3240
+ type: dateType,
3241
+ isDisabled: props.isDisabled,
3242
+ setSelectedDropdown
3243
+ },
3244
+ dateType
3245
+ )) }),
3246
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(MonthControls_default, {})
3247
+ ] }),
3248
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_CalendarGrid, {})
3249
+ ]
3250
+ }
3251
+ )
3252
+ ]
3226
3253
  }
3227
- );
3254
+ ) });
3228
3255
  };
3229
3256
 
3230
3257
  // src/DatePicker/DatePicker.tsx
3231
- var import_react38 = __toESM(require("react"));
3232
- var import_react_aria_components43 = require("react-aria-components");
3233
- var import_system62 = require("@marigold/system");
3258
+ var import_react39 = __toESM(require("react"));
3259
+ var import_react_aria_components44 = require("react-aria-components");
3260
+ var import_system64 = require("@marigold/system");
3234
3261
  var import_jsx_runtime72 = require("react/jsx-runtime");
3235
- var _DatePicker = import_react38.default.forwardRef(
3262
+ var _DatePicker = import_react39.default.forwardRef(
3236
3263
  ({
3237
3264
  dateUnavailable,
3238
3265
  disabled,
@@ -3255,7 +3282,7 @@ var _DatePicker = import_react38.default.forwardRef(
3255
3282
  granularity,
3256
3283
  ...rest
3257
3284
  };
3258
- const classNames3 = (0, import_system62.useClassNames)({
3285
+ const classNames3 = (0, import_system64.useClassNames)({
3259
3286
  component: "DatePicker",
3260
3287
  size: size2,
3261
3288
  variant
@@ -3263,7 +3290,7 @@ var _DatePicker = import_react38.default.forwardRef(
3263
3290
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
3264
3291
  FieldBase,
3265
3292
  {
3266
- as: import_react_aria_components43.DatePicker,
3293
+ as: import_react_aria_components44.DatePicker,
3267
3294
  variant,
3268
3295
  size: size2,
3269
3296
  ...props,
@@ -3285,7 +3312,7 @@ var _DatePicker = import_react38.default.forwardRef(
3285
3312
  ) })
3286
3313
  }
3287
3314
  ),
3288
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_aria_components43.Dialog, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(_Calendar, { disabled }) }) })
3315
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_aria_components44.Dialog, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(_Calendar, { disabled }) }) })
3289
3316
  ]
3290
3317
  }
3291
3318
  );
@@ -3293,43 +3320,43 @@ var _DatePicker = import_react38.default.forwardRef(
3293
3320
  );
3294
3321
 
3295
3322
  // src/Inset/Inset.tsx
3296
- var import_system63 = require("@marigold/system");
3323
+ var import_system65 = require("@marigold/system");
3297
3324
  var import_jsx_runtime73 = require("react/jsx-runtime");
3298
3325
  var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3299
3326
  "div",
3300
3327
  {
3301
- className: (0, import_system63.cn)(
3302
- space && import_system63.paddingSpace[space],
3303
- !space && spaceX && import_system63.paddingSpaceX[spaceX],
3304
- !space && spaceY && import_system63.paddingSpaceY[spaceY]
3328
+ className: (0, import_system65.cn)(
3329
+ space && import_system65.paddingSpace[space],
3330
+ !space && spaceX && import_system65.paddingSpaceX[spaceX],
3331
+ !space && spaceY && import_system65.paddingSpaceY[spaceY]
3305
3332
  ),
3306
3333
  children
3307
3334
  }
3308
3335
  );
3309
3336
 
3310
3337
  // src/Link/Link.tsx
3311
- var import_react39 = require("react");
3312
- var import_react_aria_components44 = require("react-aria-components");
3313
- var import_system64 = require("@marigold/system");
3338
+ var import_react40 = require("react");
3339
+ var import_react_aria_components45 = require("react-aria-components");
3340
+ var import_system66 = require("@marigold/system");
3314
3341
  var import_jsx_runtime74 = require("react/jsx-runtime");
3315
- var _Link = (0, import_react39.forwardRef)(
3342
+ var _Link = (0, import_react40.forwardRef)(
3316
3343
  ({ variant, size: size2, disabled, children, ...props }, ref) => {
3317
- const classNames3 = (0, import_system64.useClassNames)({
3344
+ const classNames3 = (0, import_system66.useClassNames)({
3318
3345
  component: "Link",
3319
3346
  variant,
3320
3347
  size: size2
3321
3348
  });
3322
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_aria_components44.Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3349
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_aria_components45.Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3323
3350
  }
3324
3351
  );
3325
3352
 
3326
3353
  // src/List/List.tsx
3327
- var import_system65 = require("@marigold/system");
3354
+ var import_system67 = require("@marigold/system");
3328
3355
 
3329
3356
  // src/List/Context.ts
3330
- var import_react40 = require("react");
3331
- var ListContext = (0, import_react40.createContext)({});
3332
- var useListContext = () => (0, import_react40.useContext)(ListContext);
3357
+ var import_react41 = require("react");
3358
+ var ListContext = (0, import_react41.createContext)({});
3359
+ var useListContext = () => (0, import_react41.useContext)(ListContext);
3333
3360
 
3334
3361
  // src/List/ListItem.tsx
3335
3362
  var import_jsx_runtime75 = require("react/jsx-runtime");
@@ -3348,31 +3375,31 @@ var List = ({
3348
3375
  ...props
3349
3376
  }) => {
3350
3377
  const Component2 = as;
3351
- const classNames3 = (0, import_system65.useClassNames)({ component: "List", variant, size: size2 });
3378
+ const classNames3 = (0, import_system67.useClassNames)({ component: "List", variant, size: size2 });
3352
3379
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Component2, { ...props, className: classNames3[as], children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ListContext.Provider, { value: { classNames: classNames3.item }, children }) });
3353
3380
  };
3354
3381
  List.Item = ListItem;
3355
3382
 
3356
3383
  // src/Menu/Menu.tsx
3357
- var import_react_aria_components47 = require("react-aria-components");
3358
- var import_system68 = require("@marigold/system");
3384
+ var import_react_aria_components48 = require("react-aria-components");
3385
+ var import_system70 = require("@marigold/system");
3359
3386
 
3360
3387
  // src/Menu/MenuItem.tsx
3361
- var import_react_aria_components45 = require("react-aria-components");
3362
- var import_system66 = require("@marigold/system");
3388
+ var import_react_aria_components46 = require("react-aria-components");
3389
+ var import_system68 = require("@marigold/system");
3363
3390
  var import_jsx_runtime77 = require("react/jsx-runtime");
3364
3391
  var _MenuItem = ({ children, ...props }) => {
3365
- const classNames3 = (0, import_system66.useClassNames)({ component: "Menu" });
3366
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_aria_components45.MenuItem, { ...props, className: classNames3.item, children });
3392
+ const classNames3 = (0, import_system68.useClassNames)({ component: "Menu" });
3393
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_aria_components46.MenuItem, { ...props, className: classNames3.item, children });
3367
3394
  };
3368
3395
 
3369
3396
  // src/Menu/MenuSection.tsx
3370
- var import_react_aria_components46 = require("react-aria-components");
3371
- var import_system67 = require("@marigold/system");
3397
+ var import_react_aria_components47 = require("react-aria-components");
3398
+ var import_system69 = require("@marigold/system");
3372
3399
  var import_jsx_runtime78 = require("react/jsx-runtime");
3373
3400
  var _MenuSection = ({ children, title, ...props }) => {
3374
- const className = (0, import_system67.useClassNames)({ component: "Menu" });
3375
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_react_aria_components46.MenuSection, { ...props, children: [
3401
+ const className = (0, import_system69.useClassNames)({ component: "Menu" });
3402
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_react_aria_components47.MenuSection, { ...props, children: [
3376
3403
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(_Header, { className: className.section, children: title }),
3377
3404
  children
3378
3405
  ] });
@@ -3391,10 +3418,10 @@ var _Menu = ({
3391
3418
  "aria-label": ariaLabel,
3392
3419
  ...props
3393
3420
  }) => {
3394
- const classNames3 = (0, import_system68.useClassNames)({ component: "Menu", variant, size: size2 });
3395
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_react_aria_components47.MenuTrigger, { ...props, children: [
3421
+ const classNames3 = (0, import_system70.useClassNames)({ component: "Menu", variant, size: size2 });
3422
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_react_aria_components48.MenuTrigger, { ...props, children: [
3396
3423
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3397
- import_react_aria_components47.Button,
3424
+ import_react_aria_components48.Button,
3398
3425
  {
3399
3426
  className: classNames3.button,
3400
3427
  "aria-label": ariaLabel,
@@ -3402,15 +3429,15 @@ var _Menu = ({
3402
3429
  children: label
3403
3430
  }
3404
3431
  ),
3405
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(_Popover, { open, placement, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react_aria_components47.Menu, { ...props, className: classNames3.container, children }) })
3432
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(_Popover, { open, placement, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react_aria_components48.Menu, { ...props, className: classNames3.container, children }) })
3406
3433
  ] });
3407
3434
  };
3408
3435
  _Menu.Item = _MenuItem;
3409
3436
  _Menu.Section = _MenuSection;
3410
3437
 
3411
3438
  // src/Menu/ActionMenu.tsx
3412
- var import_react_aria_components48 = require("react-aria-components");
3413
- var import_system69 = require("@marigold/system");
3439
+ var import_react_aria_components49 = require("react-aria-components");
3440
+ var import_system71 = require("@marigold/system");
3414
3441
  var import_jsx_runtime80 = require("react/jsx-runtime");
3415
3442
  var ActionMenu = ({
3416
3443
  variant,
@@ -3418,39 +3445,39 @@ var ActionMenu = ({
3418
3445
  disabled,
3419
3446
  ...props
3420
3447
  }) => {
3421
- const classNames3 = (0, import_system69.useClassNames)({ component: "Menu", variant, size: size2 });
3422
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_react_aria_components48.MenuTrigger, { children: [
3423
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_aria_components48.Button, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_system69.SVG, { viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("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" }) }) }),
3424
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_aria_components48.Menu, { ...props, className: classNames3.container, children: props.children }) })
3448
+ const classNames3 = (0, import_system71.useClassNames)({ component: "Menu", variant, size: size2 });
3449
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_react_aria_components49.MenuTrigger, { children: [
3450
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_aria_components49.Button, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_system71.SVG, { viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("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" }) }) }),
3451
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_aria_components49.Menu, { ...props, className: classNames3.container, children: props.children }) })
3425
3452
  ] });
3426
3453
  };
3427
3454
 
3428
3455
  // src/SectionMessage/SectionMessage.tsx
3429
- var import_react42 = require("react");
3456
+ var import_react43 = require("react");
3430
3457
  var import_button = require("@react-aria/button");
3431
- var import_system72 = require("@marigold/system");
3458
+ var import_system74 = require("@marigold/system");
3432
3459
 
3433
3460
  // src/SectionMessage/Context.tsx
3434
- var import_react41 = require("react");
3435
- var SectionMessageContext = (0, import_react41.createContext)({});
3436
- var useSectionMessageContext = () => (0, import_react41.useContext)(SectionMessageContext);
3461
+ var import_react42 = require("react");
3462
+ var SectionMessageContext = (0, import_react42.createContext)({});
3463
+ var useSectionMessageContext = () => (0, import_react42.useContext)(SectionMessageContext);
3437
3464
 
3438
3465
  // src/SectionMessage/SectionMessageContent.tsx
3439
- var import_system70 = require("@marigold/system");
3466
+ var import_system72 = require("@marigold/system");
3440
3467
  var import_jsx_runtime81 = require("react/jsx-runtime");
3441
3468
  var SectionMessageContent = ({
3442
3469
  children
3443
3470
  }) => {
3444
3471
  const { classNames: classNames3 } = useSectionMessageContext();
3445
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: (0, import_system70.cn)("[grid-area:content]", classNames3.content), children });
3472
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: (0, import_system72.cn)("[grid-area:content]", classNames3.content), children });
3446
3473
  };
3447
3474
 
3448
3475
  // src/SectionMessage/SectionMessageTitle.tsx
3449
- var import_system71 = require("@marigold/system");
3476
+ var import_system73 = require("@marigold/system");
3450
3477
  var import_jsx_runtime82 = require("react/jsx-runtime");
3451
3478
  var SectionMessageTitle = ({ children }) => {
3452
3479
  const { classNames: classNames3 } = useSectionMessageContext();
3453
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: (0, import_system71.cn)("[grid-area:title]", classNames3.title), children });
3480
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: (0, import_system73.cn)("[grid-area:title]", classNames3.title), children });
3454
3481
  };
3455
3482
 
3456
3483
  // src/SectionMessage/SectionMessage.tsx
@@ -3530,14 +3557,14 @@ var SectionMessage = ({
3530
3557
  onCloseChange,
3531
3558
  ...props
3532
3559
  }) => {
3533
- const buttonRef = (0, import_react42.useRef)(null);
3534
- const classNames3 = (0, import_system72.useClassNames)({
3560
+ const buttonRef = (0, import_react43.useRef)(null);
3561
+ const classNames3 = (0, import_system74.useClassNames)({
3535
3562
  component: "SectionMessage",
3536
3563
  variant,
3537
3564
  size: size2
3538
3565
  });
3539
3566
  const Icon4 = icons[variant];
3540
- const [internalVisible, setInternalVisible] = (0, import_react42.useState)(true);
3567
+ const [internalVisible, setInternalVisible] = (0, import_react43.useState)(true);
3541
3568
  const isCurrentlyVisible = close != null ? close : internalVisible;
3542
3569
  const { buttonProps } = (0, import_button.useButton)(props, buttonRef);
3543
3570
  const handleClose = () => {
@@ -3552,16 +3579,16 @@ var SectionMessage = ({
3552
3579
  {
3553
3580
  role: variant === "error" ? "alert" : void 0,
3554
3581
  ...props,
3555
- className: (0, import_system72.cn)("grid auto-rows-min", classNames3.container),
3582
+ className: (0, import_system74.cn)("grid auto-rows-min", classNames3.container),
3556
3583
  children: [
3557
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: (0, import_system72.cn)("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Icon4, {}) }),
3584
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: (0, import_system74.cn)("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Icon4, {}) }),
3558
3585
  closeButton && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3559
3586
  CloseButton,
3560
3587
  {
3561
3588
  ...buttonProps,
3562
3589
  ref: buttonRef,
3563
3590
  "aria-label": "close",
3564
- className: (0, import_system72.cn)("[grid-area:close]", classNames3.close),
3591
+ className: (0, import_system74.cn)("[grid-area:close]", classNames3.close),
3565
3592
  onPress: handleClose
3566
3593
  }
3567
3594
  ),
@@ -3574,7 +3601,7 @@ SectionMessage.Title = SectionMessageTitle;
3574
3601
  SectionMessage.Content = SectionMessageContent;
3575
3602
 
3576
3603
  // src/Multiselect/Multiselect.tsx
3577
- var import_react_aria_components49 = require("react-aria-components");
3604
+ var import_react_aria_components50 = require("react-aria-components");
3578
3605
 
3579
3606
  // ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js
3580
3607
  function _typeof(o) {
@@ -3713,34 +3740,34 @@ function _objectWithoutProperties(e, t) {
3713
3740
  return i;
3714
3741
  }
3715
3742
 
3716
- // ../../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
3717
- var import_react43 = require("react");
3743
+ // ../../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
3744
+ var import_react44 = require("react");
3718
3745
  var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
3719
3746
  function useStateManager(_ref3) {
3720
3747
  var _ref$defaultInputValu = _ref3.defaultInputValue, defaultInputValue = _ref$defaultInputValu === void 0 ? "" : _ref$defaultInputValu, _ref$defaultMenuIsOpe = _ref3.defaultMenuIsOpen, defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe, _ref$defaultValue = _ref3.defaultValue, defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue, propsInputValue = _ref3.inputValue, propsMenuIsOpen = _ref3.menuIsOpen, propsOnChange = _ref3.onChange, propsOnInputChange = _ref3.onInputChange, propsOnMenuClose = _ref3.onMenuClose, propsOnMenuOpen = _ref3.onMenuOpen, propsValue = _ref3.value, restSelectProps = _objectWithoutProperties(_ref3, _excluded);
3721
- var _useState = (0, import_react43.useState)(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1];
3722
- var _useState3 = (0, import_react43.useState)(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1];
3723
- var _useState5 = (0, import_react43.useState)(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1];
3724
- var onChange2 = (0, import_react43.useCallback)(function(value2, actionMeta) {
3748
+ var _useState = (0, import_react44.useState)(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1];
3749
+ var _useState3 = (0, import_react44.useState)(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1];
3750
+ var _useState5 = (0, import_react44.useState)(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1];
3751
+ var onChange2 = (0, import_react44.useCallback)(function(value2, actionMeta) {
3725
3752
  if (typeof propsOnChange === "function") {
3726
3753
  propsOnChange(value2, actionMeta);
3727
3754
  }
3728
3755
  setStateValue(value2);
3729
3756
  }, [propsOnChange]);
3730
- var onInputChange = (0, import_react43.useCallback)(function(value2, actionMeta) {
3757
+ var onInputChange = (0, import_react44.useCallback)(function(value2, actionMeta) {
3731
3758
  var newValue;
3732
3759
  if (typeof propsOnInputChange === "function") {
3733
3760
  newValue = propsOnInputChange(value2, actionMeta);
3734
3761
  }
3735
3762
  setStateInputValue(newValue !== void 0 ? newValue : value2);
3736
3763
  }, [propsOnInputChange]);
3737
- var onMenuOpen = (0, import_react43.useCallback)(function() {
3764
+ var onMenuOpen = (0, import_react44.useCallback)(function() {
3738
3765
  if (typeof propsOnMenuOpen === "function") {
3739
3766
  propsOnMenuOpen();
3740
3767
  }
3741
3768
  setStateMenuIsOpen(true);
3742
3769
  }, [propsOnMenuOpen]);
3743
- var onMenuClose = (0, import_react43.useCallback)(function() {
3770
+ var onMenuClose = (0, import_react44.useCallback)(function() {
3744
3771
  if (typeof propsOnMenuClose === "function") {
3745
3772
  propsOnMenuClose();
3746
3773
  }
@@ -3771,9 +3798,9 @@ function _extends() {
3771
3798
  }, _extends.apply(null, arguments);
3772
3799
  }
3773
3800
 
3774
- // ../../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
3801
+ // ../../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
3775
3802
  var React11 = __toESM(require("react"));
3776
- var import_react50 = require("react");
3803
+ var import_react51 = require("react");
3777
3804
 
3778
3805
  // ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
3779
3806
  function _classCallCheck(a, n) {
@@ -3879,13 +3906,13 @@ function _toConsumableArray(r) {
3879
3906
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
3880
3907
  }
3881
3908
 
3882
- // ../../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
3909
+ // ../../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
3883
3910
  var React10 = __toESM(require("react"));
3884
- var import_react48 = require("react");
3911
+ var import_react49 = require("react");
3885
3912
 
3886
- // ../../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
3913
+ // ../../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
3887
3914
  var React8 = __toESM(require("react"));
3888
- var import_react44 = require("react");
3915
+ var import_react45 = require("react");
3889
3916
 
3890
3917
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
3891
3918
  var isDevelopment = false;
@@ -5057,7 +5084,7 @@ var syncFallback = function syncFallback2(create) {
5057
5084
  var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
5058
5085
  var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
5059
5086
 
5060
- // ../../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
5087
+ // ../../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
5061
5088
  var isDevelopment3 = false;
5062
5089
  var isBrowser4 = typeof document !== "undefined";
5063
5090
  var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
@@ -5073,15 +5100,15 @@ var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
5073
5100
  );
5074
5101
  var CacheProvider = EmotionCacheContext.Provider;
5075
5102
  var withEmotionCache = function withEmotionCache2(func) {
5076
- return /* @__PURE__ */ (0, import_react44.forwardRef)(function(props, ref) {
5077
- var cache = (0, import_react44.useContext)(EmotionCacheContext);
5103
+ return /* @__PURE__ */ (0, import_react45.forwardRef)(function(props, ref) {
5104
+ var cache = (0, import_react45.useContext)(EmotionCacheContext);
5078
5105
  return func(props, cache, ref);
5079
5106
  });
5080
5107
  };
5081
5108
  if (!isBrowser4) {
5082
5109
  withEmotionCache = function withEmotionCache3(func) {
5083
5110
  return function(props) {
5084
- var cache = (0, import_react44.useContext)(EmotionCacheContext);
5111
+ var cache = (0, import_react45.useContext)(EmotionCacheContext);
5085
5112
  if (cache === null) {
5086
5113
  cache = createCache({
5087
5114
  key: "css"
@@ -5161,7 +5188,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
5161
5188
  });
5162
5189
  var Emotion$1 = Emotion;
5163
5190
 
5164
- // ../../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
5191
+ // ../../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
5165
5192
  var React9 = __toESM(require("react"));
5166
5193
  var import_extends2 = __toESM(require_extends());
5167
5194
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
@@ -5212,8 +5239,8 @@ function _taggedTemplateLiteral(e, t) {
5212
5239
  }));
5213
5240
  }
5214
5241
 
5215
- // ../../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
5216
- var import_react47 = require("react");
5242
+ // ../../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
5243
+ var import_react48 = require("react");
5217
5244
  var import_react_dom = require("react-dom");
5218
5245
 
5219
5246
  // ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
@@ -5613,12 +5640,12 @@ function autoUpdate(reference, floating, update, options2) {
5613
5640
  };
5614
5641
  }
5615
5642
 
5616
- // ../../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
5617
- var import_react45 = require("react");
5643
+ // ../../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
5644
+ var import_react46 = require("react");
5618
5645
  var isClient = typeof document !== "undefined";
5619
- var index = isClient ? import_react45.useLayoutEffect : import_react45.useEffect;
5646
+ var index = isClient ? import_react46.useLayoutEffect : import_react46.useEffect;
5620
5647
 
5621
- // ../../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
5648
+ // ../../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
5622
5649
  var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
5623
5650
  var noop = function noop2() {
5624
5651
  };
@@ -5950,13 +5977,13 @@ var menuCSS = function menuCSS2(_ref23, unstyled) {
5950
5977
  marginTop: spacing2.menuGutter
5951
5978
  });
5952
5979
  };
5953
- var PortalPlacementContext = /* @__PURE__ */ (0, import_react47.createContext)(null);
5980
+ var PortalPlacementContext = /* @__PURE__ */ (0, import_react48.createContext)(null);
5954
5981
  var MenuPlacer = function MenuPlacer2(props) {
5955
5982
  var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
5956
- var _ref3 = (0, import_react47.useContext)(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
5957
- var ref = (0, import_react47.useRef)(null);
5958
- var _useState = (0, import_react47.useState)(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
5959
- var _useState3 = (0, import_react47.useState)(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
5983
+ var _ref3 = (0, import_react48.useContext)(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
5984
+ var ref = (0, import_react48.useRef)(null);
5985
+ var _useState = (0, import_react48.useState)(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
5986
+ var _useState3 = (0, import_react48.useState)(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
5960
5987
  var controlHeight2 = theme.spacing.controlHeight;
5961
5988
  index(function() {
5962
5989
  var menuEl = ref.current;
@@ -6058,16 +6085,16 @@ var menuPortalCSS = function menuPortalCSS2(_ref8) {
6058
6085
  };
6059
6086
  var MenuPortal = function MenuPortal2(props) {
6060
6087
  var appendTo = props.appendTo, children = props.children, controlElement = props.controlElement, innerProps = props.innerProps, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition;
6061
- var menuPortalRef = (0, import_react47.useRef)(null);
6062
- var cleanupRef = (0, import_react47.useRef)(null);
6063
- var _useState5 = (0, import_react47.useState)(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
6064
- var portalPlacementContext = (0, import_react47.useMemo)(function() {
6088
+ var menuPortalRef = (0, import_react48.useRef)(null);
6089
+ var cleanupRef = (0, import_react48.useRef)(null);
6090
+ var _useState5 = (0, import_react48.useState)(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
6091
+ var portalPlacementContext = (0, import_react48.useMemo)(function() {
6065
6092
  return {
6066
6093
  setPortalPlacement
6067
6094
  };
6068
6095
  }, []);
6069
- var _useState7 = (0, import_react47.useState)(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
6070
- var updateComputedPosition = (0, import_react47.useCallback)(function() {
6096
+ var _useState7 = (0, import_react48.useState)(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
6097
+ var updateComputedPosition = (0, import_react48.useCallback)(function() {
6071
6098
  if (!controlElement) return;
6072
6099
  var rect = getBoundingClientObj(controlElement);
6073
6100
  var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset;
@@ -6082,7 +6109,7 @@ var MenuPortal = function MenuPortal2(props) {
6082
6109
  index(function() {
6083
6110
  updateComputedPosition();
6084
6111
  }, [updateComputedPosition]);
6085
- var runAutoUpdate = (0, import_react47.useCallback)(function() {
6112
+ var runAutoUpdate = (0, import_react48.useCallback)(function() {
6086
6113
  if (typeof cleanupRef.current === "function") {
6087
6114
  cleanupRef.current();
6088
6115
  cleanupRef.current = null;
@@ -6096,7 +6123,7 @@ var MenuPortal = function MenuPortal2(props) {
6096
6123
  index(function() {
6097
6124
  runAutoUpdate();
6098
6125
  }, [runAutoUpdate]);
6099
- var setMenuPortalElement = (0, import_react47.useCallback)(function(menuPortalElement) {
6126
+ var setMenuPortalElement = (0, import_react48.useCallback)(function(menuPortalElement) {
6100
6127
  menuPortalRef.current = menuPortalElement;
6101
6128
  runAutoUpdate();
6102
6129
  }, [runAutoUpdate]);
@@ -6692,7 +6719,7 @@ function memoizeOne(resultFn, isEqual2) {
6692
6719
  return memoized;
6693
6720
  }
6694
6721
 
6695
- // ../../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
6722
+ // ../../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
6696
6723
  function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
6697
6724
  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).";
6698
6725
  }
@@ -6767,10 +6794,10 @@ var LiveRegion = function LiveRegion2(props) {
6767
6794
  var ariaLiveMessages = selectProps.ariaLiveMessages, getOptionLabel4 = selectProps.getOptionLabel, inputValue = selectProps.inputValue, isMulti = selectProps.isMulti, isOptionDisabled3 = selectProps.isOptionDisabled, isSearchable = selectProps.isSearchable, menuIsOpen = selectProps.menuIsOpen, options2 = selectProps.options, screenReaderStatus2 = selectProps.screenReaderStatus, tabSelectsValue = selectProps.tabSelectsValue, isLoading = selectProps.isLoading;
6768
6795
  var ariaLabel = selectProps["aria-label"];
6769
6796
  var ariaLive = selectProps["aria-live"];
6770
- var messages = (0, import_react48.useMemo)(function() {
6797
+ var messages = (0, import_react49.useMemo)(function() {
6771
6798
  return _objectSpread2(_objectSpread2({}, defaultAriaLiveMessages), ariaLiveMessages || {});
6772
6799
  }, [ariaLiveMessages]);
6773
- var ariaSelected = (0, import_react48.useMemo)(function() {
6800
+ var ariaSelected = (0, import_react49.useMemo)(function() {
6774
6801
  var message = "";
6775
6802
  if (ariaSelection && messages.onChange) {
6776
6803
  var option = ariaSelection.option, selectedOptions = ariaSelection.options, removedValue = ariaSelection.removedValue, removedValues = ariaSelection.removedValues, value = ariaSelection.value;
@@ -6792,7 +6819,7 @@ var LiveRegion = function LiveRegion2(props) {
6792
6819
  }
6793
6820
  return message;
6794
6821
  }, [ariaSelection, messages, isOptionDisabled3, selectValue, getOptionLabel4]);
6795
- var ariaFocused = (0, import_react48.useMemo)(function() {
6822
+ var ariaFocused = (0, import_react49.useMemo)(function() {
6796
6823
  var focusMsg = "";
6797
6824
  var focused = focusedOption || focusedValue;
6798
6825
  var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));
@@ -6811,7 +6838,7 @@ var LiveRegion = function LiveRegion2(props) {
6811
6838
  }
6812
6839
  return focusMsg;
6813
6840
  }, [focusedOption, focusedValue, getOptionLabel4, isOptionDisabled3, messages, focusableOptions, selectValue, isAppleDevice2]);
6814
- var ariaResults = (0, import_react48.useMemo)(function() {
6841
+ var ariaResults = (0, import_react49.useMemo)(function() {
6815
6842
  var resultsMsg = "";
6816
6843
  if (menuIsOpen && options2.length && !isLoading && messages.onFilter) {
6817
6844
  var resultsMessage = screenReaderStatus2({
@@ -6825,7 +6852,7 @@ var LiveRegion = function LiveRegion2(props) {
6825
6852
  return resultsMsg;
6826
6853
  }, [focusableOptions, inputValue, menuIsOpen, messages, options2, screenReaderStatus2, isLoading]);
6827
6854
  var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus";
6828
- var ariaGuidance = (0, import_react48.useMemo)(function() {
6855
+ var ariaGuidance = (0, import_react49.useMemo)(function() {
6829
6856
  var guidanceMsg = "";
6830
6857
  if (messages.guidance) {
6831
6858
  var context = focusedValue ? "value" : menuIsOpen ? "menu" : "input";
@@ -6841,7 +6868,7 @@ var LiveRegion = function LiveRegion2(props) {
6841
6868
  }
6842
6869
  return guidanceMsg;
6843
6870
  }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
6844
- var ScreenReaderText = jsx84(import_react48.Fragment, null, jsx84("span", {
6871
+ var ScreenReaderText = jsx84(import_react49.Fragment, null, jsx84("span", {
6845
6872
  id: "aria-selection"
6846
6873
  }, ariaSelected), jsx84("span", {
6847
6874
  id: "aria-focused"
@@ -6850,7 +6877,7 @@ var LiveRegion = function LiveRegion2(props) {
6850
6877
  }, ariaResults), jsx84("span", {
6851
6878
  id: "aria-guidance"
6852
6879
  }, ariaGuidance));
6853
- return jsx84(import_react48.Fragment, null, jsx84(A11yText$1, {
6880
+ return jsx84(import_react49.Fragment, null, jsx84(A11yText$1, {
6854
6881
  id
6855
6882
  }, isInitialFocus && ScreenReaderText), jsx84(A11yText$1, {
6856
6883
  "aria-live": ariaLive,
@@ -7197,11 +7224,11 @@ var cancelScroll = function cancelScroll2(event) {
7197
7224
  };
7198
7225
  function useScrollCapture(_ref3) {
7199
7226
  var isEnabled = _ref3.isEnabled, onBottomArrive = _ref3.onBottomArrive, onBottomLeave = _ref3.onBottomLeave, onTopArrive = _ref3.onTopArrive, onTopLeave = _ref3.onTopLeave;
7200
- var isBottom = (0, import_react48.useRef)(false);
7201
- var isTop = (0, import_react48.useRef)(false);
7202
- var touchStart = (0, import_react48.useRef)(0);
7203
- var scrollTarget = (0, import_react48.useRef)(null);
7204
- var handleEventDelta = (0, import_react48.useCallback)(function(event, delta) {
7227
+ var isBottom = (0, import_react49.useRef)(false);
7228
+ var isTop = (0, import_react49.useRef)(false);
7229
+ var touchStart = (0, import_react49.useRef)(0);
7230
+ var scrollTarget = (0, import_react49.useRef)(null);
7231
+ var handleEventDelta = (0, import_react49.useCallback)(function(event, delta) {
7205
7232
  if (scrollTarget.current === null) return;
7206
7233
  var _scrollTarget$current = scrollTarget.current, scrollTop = _scrollTarget$current.scrollTop, scrollHeight = _scrollTarget$current.scrollHeight, clientHeight = _scrollTarget$current.clientHeight;
7207
7234
  var target = scrollTarget.current;
@@ -7235,17 +7262,17 @@ function useScrollCapture(_ref3) {
7235
7262
  cancelScroll(event);
7236
7263
  }
7237
7264
  }, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]);
7238
- var onWheel = (0, import_react48.useCallback)(function(event) {
7265
+ var onWheel = (0, import_react49.useCallback)(function(event) {
7239
7266
  handleEventDelta(event, event.deltaY);
7240
7267
  }, [handleEventDelta]);
7241
- var onTouchStart = (0, import_react48.useCallback)(function(event) {
7268
+ var onTouchStart = (0, import_react49.useCallback)(function(event) {
7242
7269
  touchStart.current = event.changedTouches[0].clientY;
7243
7270
  }, []);
7244
- var onTouchMove = (0, import_react48.useCallback)(function(event) {
7271
+ var onTouchMove = (0, import_react49.useCallback)(function(event) {
7245
7272
  var deltaY = touchStart.current - event.changedTouches[0].clientY;
7246
7273
  handleEventDelta(event, deltaY);
7247
7274
  }, [handleEventDelta]);
7248
- var startListening = (0, import_react48.useCallback)(function(el) {
7275
+ var startListening = (0, import_react49.useCallback)(function(el) {
7249
7276
  if (!el) return;
7250
7277
  var notPassive = supportsPassiveEvents ? {
7251
7278
  passive: false
@@ -7254,13 +7281,13 @@ function useScrollCapture(_ref3) {
7254
7281
  el.addEventListener("touchstart", onTouchStart, notPassive);
7255
7282
  el.addEventListener("touchmove", onTouchMove, notPassive);
7256
7283
  }, [onTouchMove, onTouchStart, onWheel]);
7257
- var stopListening = (0, import_react48.useCallback)(function(el) {
7284
+ var stopListening = (0, import_react49.useCallback)(function(el) {
7258
7285
  if (!el) return;
7259
7286
  el.removeEventListener("wheel", onWheel, false);
7260
7287
  el.removeEventListener("touchstart", onTouchStart, false);
7261
7288
  el.removeEventListener("touchmove", onTouchMove, false);
7262
7289
  }, [onTouchMove, onTouchStart, onWheel]);
7263
- (0, import_react48.useEffect)(function() {
7290
+ (0, import_react49.useEffect)(function() {
7264
7291
  if (!isEnabled) return;
7265
7292
  var element = scrollTarget.current;
7266
7293
  startListening(element);
@@ -7307,9 +7334,9 @@ var listenerOptions = {
7307
7334
  };
7308
7335
  function useScrollLock(_ref3) {
7309
7336
  var isEnabled = _ref3.isEnabled, _ref$accountForScroll = _ref3.accountForScrollbars, accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll;
7310
- var originalStyles = (0, import_react48.useRef)({});
7311
- var scrollTarget = (0, import_react48.useRef)(null);
7312
- var addScrollLock = (0, import_react48.useCallback)(function(touchScrollTarget) {
7337
+ var originalStyles = (0, import_react49.useRef)({});
7338
+ var scrollTarget = (0, import_react49.useRef)(null);
7339
+ var addScrollLock = (0, import_react49.useCallback)(function(touchScrollTarget) {
7313
7340
  if (!canUseDOM) return;
7314
7341
  var target = document.body;
7315
7342
  var targetStyle = target && target.style;
@@ -7342,7 +7369,7 @@ function useScrollLock(_ref3) {
7342
7369
  }
7343
7370
  activeScrollLocks += 1;
7344
7371
  }, [accountForScrollbars]);
7345
- var removeScrollLock = (0, import_react48.useCallback)(function(touchScrollTarget) {
7372
+ var removeScrollLock = (0, import_react49.useCallback)(function(touchScrollTarget) {
7346
7373
  if (!canUseDOM) return;
7347
7374
  var target = document.body;
7348
7375
  var targetStyle = target && target.style;
@@ -7363,7 +7390,7 @@ function useScrollLock(_ref3) {
7363
7390
  }
7364
7391
  }
7365
7392
  }, [accountForScrollbars]);
7366
- (0, import_react48.useEffect)(function() {
7393
+ (0, import_react49.useEffect)(function() {
7367
7394
  if (!isEnabled) return;
7368
7395
  var element = scrollTarget.current;
7369
7396
  addScrollLock(element);
@@ -7407,7 +7434,7 @@ function ScrollManager(_ref3) {
7407
7434
  setScrollCaptureTarget(element);
7408
7435
  setScrollLockTarget(element);
7409
7436
  };
7410
- return jsx84(import_react48.Fragment, null, lockEnabled && jsx84("div", {
7437
+ return jsx84(import_react49.Fragment, null, lockEnabled && jsx84("div", {
7411
7438
  onClick: blurSelectInput,
7412
7439
  css: _ref2$1
7413
7440
  }), children(targetRef));
@@ -8985,10 +9012,10 @@ var Select = /* @__PURE__ */ function(_Component) {
8985
9012
  }
8986
9013
  }]);
8987
9014
  return Select3;
8988
- }(import_react48.Component);
9015
+ }(import_react49.Component);
8989
9016
  Select.defaultProps = defaultProps;
8990
9017
 
8991
- // ../../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
9018
+ // ../../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
8992
9019
  var import_objectSpread24 = __toESM(require_objectSpread2());
8993
9020
  var import_slicedToArray3 = __toESM(require_slicedToArray());
8994
9021
  var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
@@ -9001,7 +9028,7 @@ var import_typeof5 = __toESM(require_typeof());
9001
9028
  var import_taggedTemplateLiteral2 = __toESM(require_taggedTemplateLiteral());
9002
9029
  var import_defineProperty3 = __toESM(require_defineProperty());
9003
9030
  var import_react_dom2 = require("react-dom");
9004
- var StateManagedSelect = /* @__PURE__ */ (0, import_react50.forwardRef)(function(props, ref) {
9031
+ var StateManagedSelect = /* @__PURE__ */ (0, import_react51.forwardRef)(function(props, ref) {
9005
9032
  var baseSelectProps = useStateManager(props);
9006
9033
  return /* @__PURE__ */ React11.createElement(Select, _extends({
9007
9034
  ref
@@ -9009,7 +9036,7 @@ var StateManagedSelect = /* @__PURE__ */ (0, import_react50.forwardRef)(function
9009
9036
  });
9010
9037
  var StateManagedSelect$1 = StateManagedSelect;
9011
9038
 
9012
- // ../../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
9039
+ // ../../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
9013
9040
  var import_utils6 = require("@react-aria/utils");
9014
9041
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
9015
9042
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
@@ -9034,7 +9061,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
9034
9061
  };
9035
9062
  }
9036
9063
 
9037
- // ../../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
9064
+ // ../../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
9038
9065
  var import_utils7 = require("@react-aria/utils");
9039
9066
  function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9040
9067
  let { description, errorMessage, isInvalid, validationState } = props;
@@ -9073,7 +9100,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9073
9100
 
9074
9101
  // src/Multiselect/Multiselect.tsx
9075
9102
  var import_utils8 = require("@react-aria/utils");
9076
- var import_system73 = require("@marigold/system");
9103
+ var import_system75 = require("@marigold/system");
9077
9104
  var import_jsx_runtime84 = require("react/jsx-runtime");
9078
9105
  var propsToBeRemoved = [
9079
9106
  "clearValue",
@@ -9101,7 +9128,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9101
9128
  {}
9102
9129
  );
9103
9130
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9104
- import_react_aria_components49.Input,
9131
+ import_react_aria_components50.Input,
9105
9132
  {
9106
9133
  disabled: props.isDisabled,
9107
9134
  ref: innerRef,
@@ -9111,20 +9138,20 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9111
9138
  );
9112
9139
  };
9113
9140
  var MultiValueRemove2 = ({ innerProps }) => {
9114
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_aria_components49.Button, { slot: "remove", ...innerProps, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("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" }) }) });
9141
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_aria_components50.Button, { slot: "remove", ...innerProps, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("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" }) }) });
9115
9142
  };
9116
9143
  var getClassNames = (classNames3) => ({
9117
- control: () => (0, import_system73.cn)(
9144
+ control: () => (0, import_system75.cn)(
9118
9145
  "relative flex items-center box-border flex-wrap justify-between",
9119
9146
  classNames3.container
9120
9147
  ),
9121
9148
  container: () => "pointer-events-auto",
9122
9149
  indicatorSeparator: () => "hidden",
9123
- menu: () => (0, import_system73.cn)("b", classNames3.listContainer),
9124
- menuList: () => (0, import_system73.cn)("overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh] p-0", classNames3.list),
9125
- multiValue: () => (0, import_system73.cn)(classNames3.tag, "m-0 "),
9150
+ menu: () => (0, import_system75.cn)("b", classNames3.listContainer),
9151
+ menuList: () => (0, import_system75.cn)("overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh] p-0", classNames3.list),
9152
+ multiValue: () => (0, import_system75.cn)(classNames3.tag, "m-0 "),
9126
9153
  multiValueLabel: () => "p-0",
9127
- option: ({ isFocused }) => (0, import_system73.cn)(classNames3.option, { isFocused }),
9154
+ option: ({ isFocused }) => (0, import_system75.cn)(classNames3.option, { isFocused }),
9128
9155
  placeholder: () => "hidden",
9129
9156
  valueContainer: () => classNames3.valueContainer
9130
9157
  });
@@ -9145,7 +9172,7 @@ var Multiselect = ({
9145
9172
  onSelectionChange,
9146
9173
  ...rest
9147
9174
  }) => {
9148
- const classNames3 = (0, import_system73.useClassNames)({
9175
+ const classNames3 = (0, import_system75.useClassNames)({
9149
9176
  component: "MultiSelect",
9150
9177
  size: size2,
9151
9178
  variant
@@ -9164,11 +9191,11 @@ var Multiselect = ({
9164
9191
  errorMessage
9165
9192
  });
9166
9193
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9167
- import_react_aria_components49.Provider,
9194
+ import_react_aria_components50.Provider,
9168
9195
  {
9169
9196
  values: [
9170
9197
  [
9171
- import_react_aria_components49.FieldErrorContext,
9198
+ import_react_aria_components50.FieldErrorContext,
9172
9199
  {
9173
9200
  isInvalid: !!error,
9174
9201
  validationDetails: {},
@@ -9176,7 +9203,7 @@ var Multiselect = ({
9176
9203
  }
9177
9204
  ],
9178
9205
  [
9179
- import_react_aria_components49.InputContext,
9206
+ import_react_aria_components50.InputContext,
9180
9207
  {
9181
9208
  ...fieldProps,
9182
9209
  placeholder,
@@ -9184,19 +9211,19 @@ var Multiselect = ({
9184
9211
  }
9185
9212
  ],
9186
9213
  [
9187
- import_react_aria_components49.ButtonContext,
9214
+ import_react_aria_components50.ButtonContext,
9188
9215
  {
9189
9216
  // react-select doesn't handle readonly so we had to do it manually here
9190
9217
  // keep to the button disabled in read only to prevent menu from opening
9191
9218
  isDisabled: disabled || readOnly,
9192
- className: (0, import_system73.cn)("flex items-center", classNames3.closeButton)
9219
+ className: (0, import_system75.cn)("flex items-center", classNames3.closeButton)
9193
9220
  }
9194
9221
  ]
9195
9222
  ],
9196
9223
  children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9197
9224
  "div",
9198
9225
  {
9199
- className: (0, import_system73.cn)(classNames3.field, "group/field"),
9226
+ className: (0, import_system75.cn)(classNames3.field, "group/field"),
9200
9227
  "data-required": props.required,
9201
9228
  "data-invalid": error,
9202
9229
  "data-readonly": readOnly,
@@ -9259,13 +9286,13 @@ var Multiselect = ({
9259
9286
  };
9260
9287
 
9261
9288
  // src/NumberField/NumberField.tsx
9262
- var import_react51 = require("react");
9263
- var import_react_aria_components51 = require("react-aria-components");
9264
- var import_system75 = require("@marigold/system");
9289
+ var import_react52 = require("react");
9290
+ var import_react_aria_components52 = require("react-aria-components");
9291
+ var import_system77 = require("@marigold/system");
9265
9292
 
9266
9293
  // src/NumberField/StepButton.tsx
9267
- var import_react_aria_components50 = require("react-aria-components");
9268
- var import_system74 = require("@marigold/system");
9294
+ var import_react_aria_components51 = require("react-aria-components");
9295
+ var import_system76 = require("@marigold/system");
9269
9296
  var import_jsx_runtime85 = require("react/jsx-runtime");
9270
9297
  var Plus = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9271
9298
  "path",
@@ -9286,9 +9313,9 @@ var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("svg", { width:
9286
9313
  var _StepButton = ({ direction, className, ...props }) => {
9287
9314
  const Icon4 = direction === "up" ? Plus : Minus;
9288
9315
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9289
- import_react_aria_components50.Button,
9316
+ import_react_aria_components51.Button,
9290
9317
  {
9291
- className: (0, import_system74.cn)(
9318
+ className: (0, import_system76.cn)(
9292
9319
  [
9293
9320
  "flex items-center justify-center",
9294
9321
  "cursor-pointer data-disabled:cursor-not-allowed"
@@ -9303,7 +9330,7 @@ var _StepButton = ({ direction, className, ...props }) => {
9303
9330
 
9304
9331
  // src/NumberField/NumberField.tsx
9305
9332
  var import_jsx_runtime86 = require("react/jsx-runtime");
9306
- var _NumberField = (0, import_react51.forwardRef)(
9333
+ var _NumberField = (0, import_react52.forwardRef)(
9307
9334
  ({
9308
9335
  variant,
9309
9336
  size: size2,
@@ -9314,7 +9341,7 @@ var _NumberField = (0, import_react51.forwardRef)(
9314
9341
  hideStepper,
9315
9342
  ...rest
9316
9343
  }, ref) => {
9317
- const classNames3 = (0, import_system75.useClassNames)({
9344
+ const classNames3 = (0, import_system77.useClassNames)({
9318
9345
  component: "NumberField",
9319
9346
  size: size2,
9320
9347
  variant
@@ -9330,11 +9357,11 @@ var _NumberField = (0, import_react51.forwardRef)(
9330
9357
  return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9331
9358
  FieldBase,
9332
9359
  {
9333
- as: import_react_aria_components51.NumberField,
9360
+ as: import_react_aria_components52.NumberField,
9334
9361
  ...props,
9335
9362
  "data-readonly": readOnly ? "true" : void 0,
9336
9363
  "data-stepper": showStepper ? "true" : void 0,
9337
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_react_aria_components51.Group, { className: (0, import_system75.cn)("flex items-stretch", classNames3.group), children: [
9364
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_react_aria_components52.Group, { className: (0, import_system77.cn)("flex items-stretch", classNames3.group), children: [
9338
9365
  showStepper && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9339
9366
  _StepButton,
9340
9367
  {
@@ -9344,10 +9371,10 @@ var _NumberField = (0, import_react51.forwardRef)(
9344
9371
  }
9345
9372
  ),
9346
9373
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9347
- import_react_aria_components51.Input,
9374
+ import_react_aria_components52.Input,
9348
9375
  {
9349
9376
  ref,
9350
- className: (0, import_system75.cn)("h-full flex-1 outline-none", classNames3.input)
9377
+ className: (0, import_system77.cn)("h-full flex-1 outline-none", classNames3.input)
9351
9378
  }
9352
9379
  ),
9353
9380
  showStepper && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
@@ -9365,9 +9392,9 @@ var _NumberField = (0, import_react51.forwardRef)(
9365
9392
  );
9366
9393
 
9367
9394
  // src/Pagination/Pagination.tsx
9368
- var import_react54 = require("react");
9395
+ var import_react55 = require("react");
9369
9396
  var import_focus2 = require("@react-aria/focus");
9370
- var import_system78 = require("@marigold/system");
9397
+ var import_system80 = require("@marigold/system");
9371
9398
 
9372
9399
  // src/Pagination/Ellipsis.tsx
9373
9400
  var import_jsx_runtime87 = require("react/jsx-runtime");
@@ -9383,13 +9410,13 @@ var Ellipsis = () => {
9383
9410
  };
9384
9411
 
9385
9412
  // src/Pagination/NavigationButton.tsx
9386
- var import_react52 = require("react");
9413
+ var import_react53 = require("react");
9387
9414
  var import_button2 = require("@react-aria/button");
9388
- var import_system76 = require("@marigold/system");
9415
+ var import_system78 = require("@marigold/system");
9389
9416
  var import_jsx_runtime88 = require("react/jsx-runtime");
9390
9417
  var NavigationButton = (props) => {
9391
- const ref = (0, import_react52.useRef)(null);
9392
- const classNames3 = (0, import_system76.useClassNames)({
9418
+ const ref = (0, import_react53.useRef)(null);
9419
+ const classNames3 = (0, import_system78.useClassNames)({
9393
9420
  component: "Pagination"
9394
9421
  });
9395
9422
  let { buttonProps } = (0, import_button2.useButton)(props, ref);
@@ -9409,7 +9436,7 @@ var NavigationButton = (props) => {
9409
9436
  ...buttonProps,
9410
9437
  ...rest,
9411
9438
  disabled: isDisabled,
9412
- className: (0, import_system76.cn)(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9439
+ className: (0, import_system78.cn)(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9413
9440
  "data-selected": isSelected,
9414
9441
  children: [
9415
9442
  position2 === "left" && children,
@@ -9421,13 +9448,13 @@ var NavigationButton = (props) => {
9421
9448
  };
9422
9449
 
9423
9450
  // src/Pagination/PageButton.tsx
9424
- var import_react53 = require("react");
9451
+ var import_react54 = require("react");
9425
9452
  var import_button3 = require("@react-aria/button");
9426
- var import_system77 = require("@marigold/system");
9453
+ var import_system79 = require("@marigold/system");
9427
9454
  var import_jsx_runtime89 = require("react/jsx-runtime");
9428
9455
  var PageButton = (props) => {
9429
- const ref = (0, import_react53.useRef)(null);
9430
- const classNames3 = (0, import_system77.useClassNames)({
9456
+ const ref = (0, import_react54.useRef)(null);
9457
+ const classNames3 = (0, import_system79.useClassNames)({
9431
9458
  component: "Pagination"
9432
9459
  });
9433
9460
  let { buttonProps } = (0, import_button3.useButton)(props, ref);
@@ -9492,8 +9519,8 @@ var InnerPagination = ({
9492
9519
  const focusManager = (0, import_focus2.useFocusManager)();
9493
9520
  const isFirstPage = currentPage === 1;
9494
9521
  const isLastPage = currentPage === totalPages || totalPages === 0;
9495
- const isFirstRender = (0, import_react54.useRef)(true);
9496
- (0, import_react54.useEffect)(() => {
9522
+ const isFirstRender = (0, import_react55.useRef)(true);
9523
+ (0, import_react55.useEffect)(() => {
9497
9524
  if (isFirstRender.current) {
9498
9525
  isFirstRender.current = false;
9499
9526
  return;
@@ -9506,7 +9533,7 @@ var InnerPagination = ({
9506
9533
  onChange2(newPage);
9507
9534
  }
9508
9535
  };
9509
- const classNames3 = (0, import_system78.useClassNames)({ component: "Pagination" });
9536
+ const classNames3 = (0, import_system80.useClassNames)({ component: "Pagination" });
9510
9537
  const handleKeyDown = (onEnter) => (e) => {
9511
9538
  if (e.key === "ArrowRight") {
9512
9539
  e.preventDefault();
@@ -9565,7 +9592,7 @@ var _Pagination = ({
9565
9592
  pageSize,
9566
9593
  ...props
9567
9594
  }) => {
9568
- const [currentPage, setCurrentPage] = (0, import_react54.useState)(page != null ? page : defaultPage);
9595
+ const [currentPage, setCurrentPage] = (0, import_react55.useState)(page != null ? page : defaultPage);
9569
9596
  const totalPages = Math.ceil(totalItems / pageSize);
9570
9597
  const pageRange = usePageRange({ currentPage, totalPages });
9571
9598
  return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
@@ -9589,20 +9616,20 @@ var _Pagination = ({
9589
9616
  };
9590
9617
 
9591
9618
  // src/Radio/Radio.tsx
9592
- var import_react56 = require("react");
9593
- var import_react_aria_components53 = require("react-aria-components");
9594
- var import_system80 = require("@marigold/system");
9619
+ var import_react57 = require("react");
9620
+ var import_react_aria_components54 = require("react-aria-components");
9621
+ var import_system82 = require("@marigold/system");
9595
9622
 
9596
9623
  // src/Radio/Context.ts
9597
- var import_react55 = require("react");
9598
- var RadioGroupContext = (0, import_react55.createContext)(
9624
+ var import_react56 = require("react");
9625
+ var RadioGroupContext = (0, import_react56.createContext)(
9599
9626
  null
9600
9627
  );
9601
- var useRadioGroupContext = () => (0, import_react55.useContext)(RadioGroupContext);
9628
+ var useRadioGroupContext = () => (0, import_react56.useContext)(RadioGroupContext);
9602
9629
 
9603
9630
  // src/Radio/RadioGroup.tsx
9604
- var import_react_aria_components52 = require("react-aria-components");
9605
- var import_system79 = require("@marigold/system");
9631
+ var import_react_aria_components53 = require("react-aria-components");
9632
+ var import_system81 = require("@marigold/system");
9606
9633
  var import_jsx_runtime91 = require("react/jsx-runtime");
9607
9634
  var _RadioGroup = ({
9608
9635
  variant,
@@ -9619,7 +9646,7 @@ var _RadioGroup = ({
9619
9646
  width,
9620
9647
  ...rest
9621
9648
  }) => {
9622
- const classNames3 = (0, import_system79.useClassNames)({ component: "Radio", variant, size: size2 });
9649
+ const classNames3 = (0, import_system81.useClassNames)({ component: "Radio", variant, size: size2 });
9623
9650
  const props = {
9624
9651
  isDisabled: disabled,
9625
9652
  isReadOnly: readOnly,
@@ -9630,7 +9657,7 @@ var _RadioGroup = ({
9630
9657
  return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
9631
9658
  FieldBase,
9632
9659
  {
9633
- as: import_react_aria_components52.RadioGroup,
9660
+ as: import_react_aria_components53.RadioGroup,
9634
9661
  width,
9635
9662
  label,
9636
9663
  description,
@@ -9644,7 +9671,7 @@ var _RadioGroup = ({
9644
9671
  role: "presentation",
9645
9672
  "data-testid": "group",
9646
9673
  "data-orientation": orientation,
9647
- className: (0, import_system79.cn)(
9674
+ className: (0, import_system81.cn)(
9648
9675
  classNames3.group,
9649
9676
  "flex items-start",
9650
9677
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
@@ -9662,7 +9689,7 @@ var Dot = () => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("svg", { viewBox:
9662
9689
  var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
9663
9690
  "div",
9664
9691
  {
9665
- className: (0, import_system80.cn)(
9692
+ className: (0, import_system82.cn)(
9666
9693
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
9667
9694
  className
9668
9695
  ),
@@ -9671,19 +9698,19 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx
9671
9698
  children: checked ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Dot, {}) : null
9672
9699
  }
9673
9700
  );
9674
- var _Radio = (0, import_react56.forwardRef)(
9701
+ var _Radio = (0, import_react57.forwardRef)(
9675
9702
  ({ value, disabled, width, children, ...props }, ref) => {
9676
9703
  const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
9677
- const classNames3 = (0, import_system80.useClassNames)({
9704
+ const classNames3 = (0, import_system82.useClassNames)({
9678
9705
  component: "Radio",
9679
9706
  variant: variant || props.variant,
9680
9707
  size: size2 || props.size
9681
9708
  });
9682
9709
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
9683
- import_react_aria_components53.Radio,
9710
+ import_react_aria_components54.Radio,
9684
9711
  {
9685
9712
  ref,
9686
- className: (0, import_system80.cn)(
9713
+ className: (0, import_system82.cn)(
9687
9714
  "group/radio",
9688
9715
  "relative flex items-center gap-[1ch]",
9689
9716
  width || groupWidth || "w-full",
@@ -9697,7 +9724,7 @@ var _Radio = (0, import_react56.forwardRef)(
9697
9724
  Icon3,
9698
9725
  {
9699
9726
  checked: isSelected,
9700
- className: (0, import_system80.cn)(
9727
+ className: (0, import_system82.cn)(
9701
9728
  disabled ? "cursor-not-allowed" : "cursor-pointer",
9702
9729
  classNames3.radio
9703
9730
  )
@@ -9712,10 +9739,10 @@ var _Radio = (0, import_react56.forwardRef)(
9712
9739
  _Radio.Group = _RadioGroup;
9713
9740
 
9714
9741
  // src/SearchField/SearchField.tsx
9715
- var import_react57 = require("react");
9716
- var import_react_aria_components54 = require("react-aria-components");
9742
+ var import_react58 = require("react");
9743
+ var import_react_aria_components55 = require("react-aria-components");
9717
9744
  var import_jsx_runtime93 = require("react/jsx-runtime");
9718
- var _SearchField = (0, import_react57.forwardRef)(
9745
+ var _SearchField = (0, import_react58.forwardRef)(
9719
9746
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
9720
9747
  const props = {
9721
9748
  ...rest,
@@ -9724,7 +9751,7 @@ var _SearchField = (0, import_react57.forwardRef)(
9724
9751
  isReadOnly: readOnly,
9725
9752
  isInvalid: error
9726
9753
  };
9727
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FieldBase, { as: import_react_aria_components54.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
9754
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FieldBase, { as: import_react_aria_components55.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
9728
9755
  SearchInput,
9729
9756
  {
9730
9757
  ref,
@@ -9735,11 +9762,11 @@ var _SearchField = (0, import_react57.forwardRef)(
9735
9762
  );
9736
9763
 
9737
9764
  // src/Select/Select.tsx
9738
- var import_react58 = require("react");
9739
- var import_react_aria_components55 = require("react-aria-components");
9740
- var import_system81 = require("@marigold/system");
9765
+ var import_react59 = require("react");
9766
+ var import_react_aria_components56 = require("react-aria-components");
9767
+ var import_system83 = require("@marigold/system");
9741
9768
  var import_jsx_runtime94 = require("react/jsx-runtime");
9742
- var _Select = (0, import_react58.forwardRef)(
9769
+ var _Select = (0, import_react59.forwardRef)(
9743
9770
  ({
9744
9771
  disabled,
9745
9772
  required,
@@ -9759,18 +9786,18 @@ var _Select = (0, import_react58.forwardRef)(
9759
9786
  onSelectionChange: onChange2,
9760
9787
  ...rest
9761
9788
  };
9762
- const classNames3 = (0, import_system81.useClassNames)({ component: "Select", variant, size: size2 });
9763
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(FieldBase, { as: import_react_aria_components55.Select, ref, variant, size: size2, ...props, children: [
9789
+ const classNames3 = (0, import_system83.useClassNames)({ component: "Select", variant, size: size2 });
9790
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(FieldBase, { as: import_react_aria_components56.Select, ref, variant, size: size2, ...props, children: [
9764
9791
  /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
9765
9792
  IconButton,
9766
9793
  {
9767
- className: (0, import_system81.cn)(
9794
+ className: (0, import_system83.cn)(
9768
9795
  "flex w-full items-center justify-between gap-1 overflow-hidden",
9769
9796
  classNames3.select
9770
9797
  ),
9771
9798
  children: [
9772
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_aria_components55.SelectValue, { className: "[&>[slot=description]]:hidden" }),
9773
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ChevronDown, { className: (0, import_system81.cn)("size-4", classNames3.icon) })
9799
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_aria_components56.SelectValue, { className: "[&>[slot=description]]:hidden" }),
9800
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ChevronDown, { className: (0, import_system83.cn)("size-4", classNames3.icon) })
9774
9801
  ]
9775
9802
  }
9776
9803
  ),
@@ -9782,21 +9809,21 @@ _Select.Option = _ListBox.Item;
9782
9809
  _Select.Section = _ListBox.Section;
9783
9810
 
9784
9811
  // src/SelectList/SelectList.tsx
9785
- var import_react61 = require("react");
9786
- var import_react_aria_components57 = require("react-aria-components");
9787
- var import_system83 = require("@marigold/system");
9812
+ var import_react62 = require("react");
9813
+ var import_react_aria_components58 = require("react-aria-components");
9814
+ var import_system85 = require("@marigold/system");
9788
9815
 
9789
9816
  // src/SelectList/Context.ts
9790
- var import_react59 = require("react");
9791
- var SelectListContext = (0, import_react59.createContext)(
9817
+ var import_react60 = require("react");
9818
+ var SelectListContext = (0, import_react60.createContext)(
9792
9819
  {}
9793
9820
  );
9794
- var useSelectListContext = () => (0, import_react59.useContext)(SelectListContext);
9821
+ var useSelectListContext = () => (0, import_react60.useContext)(SelectListContext);
9795
9822
 
9796
9823
  // src/SelectList/SelectListItem.tsx
9797
- var import_react60 = require("react");
9798
- var import_react_aria_components56 = require("react-aria-components");
9799
- var import_system82 = require("@marigold/system");
9824
+ var import_react61 = require("react");
9825
+ var import_react_aria_components57 = require("react-aria-components");
9826
+ var import_system84 = require("@marigold/system");
9800
9827
  var import_jsx_runtime95 = require("react/jsx-runtime");
9801
9828
  var CheckMark3 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
9802
9829
  "path",
@@ -9816,16 +9843,16 @@ var SelectionIndicator = ({ selectionMode }) => {
9816
9843
  }
9817
9844
  }
9818
9845
  };
9819
- var _SelectListItem = (0, import_react60.forwardRef)(
9846
+ var _SelectListItem = (0, import_react61.forwardRef)(
9820
9847
  ({ children, ...props }, ref) => {
9821
9848
  let textValue = typeof children === "string" ? children : void 0;
9822
9849
  const { classNames: classNames3 } = useSelectListContext();
9823
9850
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
9824
- import_react_aria_components56.GridListItem,
9851
+ import_react_aria_components57.GridListItem,
9825
9852
  {
9826
9853
  textValue,
9827
9854
  ...props,
9828
- className: (0, import_system82.cn)("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9855
+ className: (0, import_system84.cn)("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9829
9856
  ref,
9830
9857
  children: ({ selectionMode }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
9831
9858
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SelectionIndicator, { selectionMode }),
@@ -9838,20 +9865,20 @@ var _SelectListItem = (0, import_react60.forwardRef)(
9838
9865
 
9839
9866
  // src/SelectList/SelectList.tsx
9840
9867
  var import_jsx_runtime96 = require("react/jsx-runtime");
9841
- var _SelectList = (0, import_react61.forwardRef)(
9868
+ var _SelectList = (0, import_react62.forwardRef)(
9842
9869
  ({ onChange: onChange2, ...rest }, ref) => {
9843
- const classNames3 = (0, import_system83.useClassNames)({ component: "ListBox" });
9870
+ const classNames3 = (0, import_system85.useClassNames)({ component: "ListBox" });
9844
9871
  const props = {
9845
9872
  onSelectionChange: onChange2,
9846
9873
  ...rest
9847
9874
  };
9848
9875
  return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: classNames3.container, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
9849
- import_react_aria_components57.GridList,
9876
+ import_react_aria_components58.GridList,
9850
9877
  {
9851
9878
  ...props,
9852
9879
  layout: "grid",
9853
9880
  ref,
9854
- className: (0, import_system83.cn)(
9881
+ className: (0, import_system85.cn)(
9855
9882
  "group/list overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
9856
9883
  classNames3.list
9857
9884
  ),
@@ -9863,7 +9890,7 @@ var _SelectList = (0, import_react61.forwardRef)(
9863
9890
  _SelectList.Item = _SelectListItem;
9864
9891
 
9865
9892
  // src/Scrollable/Scrollable.tsx
9866
- var import_system84 = require("@marigold/system");
9893
+ var import_system86 = require("@marigold/system");
9867
9894
  var import_jsx_runtime97 = require("react/jsx-runtime");
9868
9895
  var Scrollable = ({
9869
9896
  children,
@@ -9874,18 +9901,18 @@ var Scrollable = ({
9874
9901
  "div",
9875
9902
  {
9876
9903
  ...props,
9877
- className: (0, import_system84.cn)(["sticky h-(--height) overflow-auto", import_system84.width[width]]),
9878
- style: (0, import_system84.createVar)({ height }),
9904
+ className: (0, import_system86.cn)(["sticky h-(--height) overflow-auto", import_system86.width[width]]),
9905
+ style: (0, import_system86.createVar)({ height }),
9879
9906
  children
9880
9907
  }
9881
9908
  );
9882
9909
 
9883
9910
  // src/Slider/Slider.tsx
9884
- var import_react62 = require("react");
9885
- var import_react_aria_components58 = require("react-aria-components");
9886
- var import_system85 = require("@marigold/system");
9911
+ var import_react63 = require("react");
9912
+ var import_react_aria_components59 = require("react-aria-components");
9913
+ var import_system87 = require("@marigold/system");
9887
9914
  var import_jsx_runtime98 = require("react/jsx-runtime");
9888
- var _Slider = (0, import_react62.forwardRef)(
9915
+ var _Slider = (0, import_react63.forwardRef)(
9889
9916
  ({
9890
9917
  thumbLabels,
9891
9918
  variant,
@@ -9895,7 +9922,7 @@ var _Slider = (0, import_react62.forwardRef)(
9895
9922
  label,
9896
9923
  ...rest
9897
9924
  }, ref) => {
9898
- const classNames3 = (0, import_system85.useClassNames)({
9925
+ const classNames3 = (0, import_system87.useClassNames)({
9899
9926
  component: "Slider",
9900
9927
  variant,
9901
9928
  size: size2
@@ -9907,26 +9934,26 @@ var _Slider = (0, import_react62.forwardRef)(
9907
9934
  return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
9908
9935
  FieldBase,
9909
9936
  {
9910
- as: import_react_aria_components58.Slider,
9911
- className: (0, import_system85.cn)(
9937
+ as: import_react_aria_components59.Slider,
9938
+ className: (0, import_system87.cn)(
9912
9939
  "grid grid-cols-[auto_1fr] gap-y-1",
9913
9940
  classNames3.container,
9914
- import_system85.width[width]
9941
+ import_system87.width[width]
9915
9942
  ),
9916
9943
  ref,
9917
9944
  ...props,
9918
9945
  children: [
9919
9946
  label && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(_Label, { children: label }),
9920
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_aria_components58.SliderOutput, { className: (0, import_system85.cn)("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
9947
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_aria_components59.SliderOutput, { className: (0, import_system87.cn)("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
9921
9948
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9922
- import_react_aria_components58.SliderTrack,
9949
+ import_react_aria_components59.SliderTrack,
9923
9950
  {
9924
- className: (0, import_system85.cn)("relative col-span-2 h-2 w-full", classNames3.track),
9951
+ className: (0, import_system87.cn)("relative col-span-2 h-2 w-full", classNames3.track),
9925
9952
  children: ({ state }) => /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_jsx_runtime98.Fragment, { children: [
9926
9953
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9927
9954
  "div",
9928
9955
  {
9929
- className: (0, import_system85.cn)(
9956
+ className: (0, import_system87.cn)(
9930
9957
  "absolute top-[50%] h-2 w-full translate-y-[-50%]",
9931
9958
  classNames3.track
9932
9959
  )
@@ -9935,7 +9962,7 @@ var _Slider = (0, import_react62.forwardRef)(
9935
9962
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9936
9963
  "div",
9937
9964
  {
9938
- className: (0, import_system85.cn)(
9965
+ className: (0, import_system87.cn)(
9939
9966
  "absolute top-[50%] h-2 translate-y-[-50%]",
9940
9967
  classNames3.selectedTrack
9941
9968
  ),
@@ -9946,9 +9973,9 @@ var _Slider = (0, import_react62.forwardRef)(
9946
9973
  }
9947
9974
  ),
9948
9975
  state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9949
- import_react_aria_components58.SliderThumb,
9976
+ import_react_aria_components59.SliderThumb,
9950
9977
  {
9951
- className: (0, import_system85.cn)("top-1/2 cursor-pointer", classNames3.thumb),
9978
+ className: (0, import_system87.cn)("top-1/2 cursor-pointer", classNames3.thumb),
9952
9979
  index: i,
9953
9980
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i],
9954
9981
  name: thumbLabels == null ? void 0 : thumbLabels[i]
@@ -9969,7 +9996,7 @@ var import_jsx_runtime99 = require("react/jsx-runtime");
9969
9996
  var Split = () => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { role: "separator", className: "grow" });
9970
9997
 
9971
9998
  // src/Stack/Stack.tsx
9972
- var import_system86 = require("@marigold/system");
9999
+ var import_system88 = require("@marigold/system");
9973
10000
  var import_jsx_runtime100 = require("react/jsx-runtime");
9974
10001
  var Stack = ({
9975
10002
  children,
@@ -9983,11 +10010,11 @@ var Stack = ({
9983
10010
  return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
9984
10011
  "div",
9985
10012
  {
9986
- className: (0, import_system86.cn)(
10013
+ className: (0, import_system88.cn)(
9987
10014
  "flex flex-col",
9988
- import_system86.gapSpace[space],
9989
- alignX && ((_b = (_a = import_system86.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
9990
- alignY && ((_d = (_c = import_system86.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
10015
+ import_system88.gapSpace[space],
10016
+ alignX && ((_b = (_a = import_system88.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
10017
+ alignY && ((_d = (_c = import_system88.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
9991
10018
  stretch && "h-full w-full"
9992
10019
  ),
9993
10020
  ...props,
@@ -9997,11 +10024,11 @@ var Stack = ({
9997
10024
  };
9998
10025
 
9999
10026
  // src/Switch/Switch.tsx
10000
- var import_react63 = require("react");
10001
- var import_react_aria_components59 = require("react-aria-components");
10002
- var import_system87 = require("@marigold/system");
10027
+ var import_react64 = require("react");
10028
+ var import_react_aria_components60 = require("react-aria-components");
10029
+ var import_system89 = require("@marigold/system");
10003
10030
  var import_jsx_runtime101 = require("react/jsx-runtime");
10004
- var _Switch = (0, import_react63.forwardRef)(
10031
+ var _Switch = (0, import_react64.forwardRef)(
10005
10032
  ({
10006
10033
  variant,
10007
10034
  size: size2,
@@ -10012,7 +10039,7 @@ var _Switch = (0, import_react63.forwardRef)(
10012
10039
  readOnly,
10013
10040
  ...rest
10014
10041
  }, ref) => {
10015
- const classNames3 = (0, import_system87.useClassNames)({ component: "Switch", size: size2, variant });
10042
+ const classNames3 = (0, import_system89.useClassNames)({ component: "Switch", size: size2, variant });
10016
10043
  const props = {
10017
10044
  isDisabled: disabled,
10018
10045
  isReadOnly: readOnly,
@@ -10020,12 +10047,12 @@ var _Switch = (0, import_react63.forwardRef)(
10020
10047
  ...rest
10021
10048
  };
10022
10049
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
10023
- import_react_aria_components59.Switch,
10050
+ import_react_aria_components60.Switch,
10024
10051
  {
10025
10052
  ...props,
10026
10053
  ref,
10027
- className: (0, import_system87.cn)(
10028
- import_system87.width[width],
10054
+ className: (0, import_system89.cn)(
10055
+ import_system89.width[width],
10029
10056
  "group/switch",
10030
10057
  "flex items-center gap-[1ch]",
10031
10058
  classNames3.container
@@ -10040,15 +10067,15 @@ var _Switch = (0, import_react63.forwardRef)(
10040
10067
  );
10041
10068
 
10042
10069
  // src/Table/Table.tsx
10043
- var import_react71 = require("react");
10070
+ var import_react72 = require("react");
10044
10071
  var import_table9 = require("@react-aria/table");
10045
10072
  var import_table10 = require("@react-stately/table");
10046
- var import_system94 = require("@marigold/system");
10073
+ var import_system96 = require("@marigold/system");
10047
10074
 
10048
10075
  // src/Table/Context.tsx
10049
- var import_react64 = require("react");
10050
- var TableContext = (0, import_react64.createContext)({});
10051
- var useTableContext = () => (0, import_react64.useContext)(TableContext);
10076
+ var import_react65 = require("react");
10077
+ var TableContext = (0, import_react65.createContext)({});
10078
+ var useTableContext = () => (0, import_react65.useContext)(TableContext);
10052
10079
 
10053
10080
  // src/Table/TableBody.tsx
10054
10081
  var import_table = require("@react-aria/table");
@@ -10075,14 +10102,14 @@ var TableBody = ({
10075
10102
  };
10076
10103
 
10077
10104
  // src/Table/TableCell.tsx
10078
- var import_react65 = require("react");
10105
+ var import_react66 = require("react");
10079
10106
  var import_focus3 = require("@react-aria/focus");
10080
10107
  var import_table2 = require("@react-aria/table");
10081
10108
  var import_utils9 = require("@react-aria/utils");
10082
- var import_system88 = require("@marigold/system");
10109
+ var import_system90 = require("@marigold/system");
10083
10110
  var import_jsx_runtime103 = require("react/jsx-runtime");
10084
10111
  var TableCell = ({ cell, align = "left" }) => {
10085
- const ref = (0, import_react65.useRef)(null);
10112
+ const ref = (0, import_react66.useRef)(null);
10086
10113
  const { interactive, state, classNames: classNames3 } = useTableContext();
10087
10114
  const disabled = state.disabledKeys.has(cell.parentKey);
10088
10115
  const { gridCellProps } = (0, import_table2.useTableCell)(
@@ -10102,12 +10129,12 @@ var TableCell = ({ cell, align = "left" }) => {
10102
10129
  onPointerDown: (e) => e.stopPropagation()
10103
10130
  };
10104
10131
  const { focusProps, isFocusVisible } = (0, import_focus3.useFocusRing)();
10105
- const stateProps = (0, import_system88.useStateProps)({ disabled, focusVisible: isFocusVisible });
10132
+ const stateProps = (0, import_system90.useStateProps)({ disabled, focusVisible: isFocusVisible });
10106
10133
  return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
10107
10134
  "td",
10108
10135
  {
10109
10136
  ref,
10110
- className: (0, import_system88.cn)(classNames3 == null ? void 0 : classNames3.cell),
10137
+ className: (0, import_system90.cn)(classNames3 == null ? void 0 : classNames3.cell),
10111
10138
  ...(0, import_utils9.mergeProps)(cellProps, focusProps),
10112
10139
  ...stateProps,
10113
10140
  align,
@@ -10117,11 +10144,11 @@ var TableCell = ({ cell, align = "left" }) => {
10117
10144
  };
10118
10145
 
10119
10146
  // src/Table/TableCheckboxCell.tsx
10120
- var import_react66 = require("react");
10147
+ var import_react67 = require("react");
10121
10148
  var import_focus4 = require("@react-aria/focus");
10122
10149
  var import_table3 = require("@react-aria/table");
10123
10150
  var import_utils10 = require("@react-aria/utils");
10124
- var import_system89 = require("@marigold/system");
10151
+ var import_system91 = require("@marigold/system");
10125
10152
 
10126
10153
  // src/Table/utils.ts
10127
10154
  var mapCheckboxProps = ({
@@ -10146,7 +10173,7 @@ var mapCheckboxProps = ({
10146
10173
  // src/Table/TableCheckboxCell.tsx
10147
10174
  var import_jsx_runtime104 = require("react/jsx-runtime");
10148
10175
  var TableCheckboxCell = ({ cell }) => {
10149
- const ref = (0, import_react66.useRef)(null);
10176
+ const ref = (0, import_react67.useRef)(null);
10150
10177
  const { state, classNames: classNames3 } = useTableContext();
10151
10178
  const disabled = state.disabledKeys.has(cell.parentKey);
10152
10179
  const { gridCellProps } = (0, import_table3.useTableCell)(
@@ -10160,12 +10187,12 @@ var TableCheckboxCell = ({ cell }) => {
10160
10187
  (0, import_table3.useTableSelectionCheckbox)({ key: cell.parentKey }, state)
10161
10188
  );
10162
10189
  const { focusProps, isFocusVisible } = (0, import_focus4.useFocusRing)();
10163
- const stateProps = (0, import_system89.useStateProps)({ disabled, focusVisible: isFocusVisible });
10190
+ const stateProps = (0, import_system91.useStateProps)({ disabled, focusVisible: isFocusVisible });
10164
10191
  return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
10165
10192
  "td",
10166
10193
  {
10167
10194
  ref,
10168
- className: (0, import_system89.cn)("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10195
+ className: (0, import_system91.cn)("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10169
10196
  ...(0, import_utils10.mergeProps)(gridCellProps, focusProps),
10170
10197
  ...stateProps,
10171
10198
  children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(_Checkbox, { ...checkboxProps })
@@ -10174,12 +10201,12 @@ var TableCheckboxCell = ({ cell }) => {
10174
10201
  };
10175
10202
 
10176
10203
  // src/Table/TableColumnHeader.tsx
10177
- var import_react67 = require("react");
10204
+ var import_react68 = require("react");
10178
10205
  var import_focus5 = require("@react-aria/focus");
10179
10206
  var import_interactions2 = require("@react-aria/interactions");
10180
10207
  var import_table4 = require("@react-aria/table");
10181
10208
  var import_utils12 = require("@react-aria/utils");
10182
- var import_system90 = require("@marigold/system");
10209
+ var import_system92 = require("@marigold/system");
10183
10210
  var import_jsx_runtime105 = require("react/jsx-runtime");
10184
10211
  var TableColumnHeader = ({
10185
10212
  column: column2,
@@ -10187,7 +10214,7 @@ var TableColumnHeader = ({
10187
10214
  align = "left"
10188
10215
  }) => {
10189
10216
  var _a, _b;
10190
- const ref = (0, import_react67.useRef)(null);
10217
+ const ref = (0, import_react68.useRef)(null);
10191
10218
  const { state, classNames: classNames3 } = useTableContext();
10192
10219
  const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
10193
10220
  {
@@ -10198,7 +10225,7 @@ var TableColumnHeader = ({
10198
10225
  );
10199
10226
  const { hoverProps, isHovered } = (0, import_interactions2.useHover)({});
10200
10227
  const { focusProps, isFocusVisible } = (0, import_focus5.useFocusRing)();
10201
- const stateProps = (0, import_system90.useStateProps)({
10228
+ const stateProps = (0, import_system92.useStateProps)({
10202
10229
  hover: isHovered,
10203
10230
  focusVisible: isFocusVisible
10204
10231
  });
@@ -10207,7 +10234,7 @@ var TableColumnHeader = ({
10207
10234
  {
10208
10235
  colSpan: column2.colspan,
10209
10236
  ref,
10210
- className: (0, import_system90.cn)("cursor-default", import_system90.width[width], classNames3 == null ? void 0 : classNames3.header),
10237
+ className: (0, import_system92.cn)("cursor-default", import_system92.width[width], classNames3 == null ? void 0 : classNames3.header),
10211
10238
  ...(0, import_utils12.mergeProps)(columnHeaderProps, hoverProps, focusProps),
10212
10239
  ...stateProps,
10213
10240
  align,
@@ -10221,7 +10248,7 @@ var TableColumnHeader = ({
10221
10248
 
10222
10249
  // src/Table/TableHeader.tsx
10223
10250
  var import_table5 = require("@react-aria/table");
10224
- var import_system91 = require("@marigold/system");
10251
+ var import_system93 = require("@marigold/system");
10225
10252
  var import_jsx_runtime106 = require("react/jsx-runtime");
10226
10253
  var TableHeader = ({ stickyHeader, children }) => {
10227
10254
  const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
@@ -10230,7 +10257,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10230
10257
  "thead",
10231
10258
  {
10232
10259
  ...rowGroupProps,
10233
- className: (0, import_system91.cn)(
10260
+ className: (0, import_system93.cn)(
10234
10261
  classNames3 == null ? void 0 : classNames3.thead,
10235
10262
  // for sticky header &th needs to be sticky for b2b and core theme
10236
10263
  // for rui sticky is applied to thead
@@ -10242,7 +10269,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10242
10269
  };
10243
10270
 
10244
10271
  // src/Table/TableHeaderRow.tsx
10245
- var import_react68 = require("react");
10272
+ var import_react69 = require("react");
10246
10273
  var import_table6 = require("@react-aria/table");
10247
10274
  var import_jsx_runtime107 = require("react/jsx-runtime");
10248
10275
  var TableHeaderRow = ({
@@ -10251,24 +10278,24 @@ var TableHeaderRow = ({
10251
10278
  children
10252
10279
  }) => {
10253
10280
  const { state } = useTableContext();
10254
- const ref = (0, import_react68.useRef)(null);
10281
+ const ref = (0, import_react69.useRef)(null);
10255
10282
  const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
10256
10283
  return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("tr", { ...rowProps, className, ref, children });
10257
10284
  };
10258
10285
 
10259
10286
  // src/Table/TableRow.tsx
10260
- var import_react69 = require("react");
10287
+ var import_react70 = require("react");
10261
10288
  var import_focus6 = require("@react-aria/focus");
10262
10289
  var import_interactions3 = require("@react-aria/interactions");
10263
10290
  var import_table7 = require("@react-aria/table");
10264
10291
  var import_utils13 = require("@react-aria/utils");
10265
- var import_system92 = require("@marigold/system");
10292
+ var import_system94 = require("@marigold/system");
10266
10293
  var import_jsx_runtime108 = require("react/jsx-runtime");
10267
10294
  var TableRow = ({ children, row }) => {
10268
- const ref = (0, import_react69.useRef)(null);
10295
+ const ref = (0, import_react70.useRef)(null);
10269
10296
  const { interactive, state, ...ctx } = useTableContext();
10270
10297
  const { variant, size: size2 } = row.props;
10271
- const classNames3 = (0, import_system92.useClassNames)({
10298
+ const classNames3 = (0, import_system94.useClassNames)({
10272
10299
  component: "Table",
10273
10300
  variant: variant || ctx.variant,
10274
10301
  size: size2 || ctx.size
@@ -10286,7 +10313,7 @@ var TableRow = ({ children, row }) => {
10286
10313
  const { hoverProps, isHovered } = (0, import_interactions3.useHover)({
10287
10314
  isDisabled: disabled || !interactive
10288
10315
  });
10289
- const stateProps = (0, import_system92.useStateProps)({
10316
+ const stateProps = (0, import_system94.useStateProps)({
10290
10317
  disabled,
10291
10318
  selected,
10292
10319
  hover: isHovered,
@@ -10297,7 +10324,7 @@ var TableRow = ({ children, row }) => {
10297
10324
  "tr",
10298
10325
  {
10299
10326
  ref,
10300
- className: (0, import_system92.cn)(
10327
+ className: (0, import_system94.cn)(
10301
10328
  [
10302
10329
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
10303
10330
  ],
@@ -10311,19 +10338,19 @@ var TableRow = ({ children, row }) => {
10311
10338
  };
10312
10339
 
10313
10340
  // src/Table/TableSelectAllCell.tsx
10314
- var import_react70 = require("react");
10341
+ var import_react71 = require("react");
10315
10342
  var import_focus7 = require("@react-aria/focus");
10316
10343
  var import_interactions4 = require("@react-aria/interactions");
10317
10344
  var import_table8 = require("@react-aria/table");
10318
10345
  var import_utils14 = require("@react-aria/utils");
10319
- var import_system93 = require("@marigold/system");
10346
+ var import_system95 = require("@marigold/system");
10320
10347
  var import_jsx_runtime109 = require("react/jsx-runtime");
10321
10348
  var TableSelectAllCell = ({
10322
10349
  column: column2,
10323
10350
  width = "auto",
10324
10351
  align = "left"
10325
10352
  }) => {
10326
- const ref = (0, import_react70.useRef)(null);
10353
+ const ref = (0, import_react71.useRef)(null);
10327
10354
  const { state, classNames: classNames3 } = useTableContext();
10328
10355
  const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
10329
10356
  {
@@ -10335,7 +10362,7 @@ var TableSelectAllCell = ({
10335
10362
  const { checkboxProps } = mapCheckboxProps((0, import_table8.useTableSelectAllCheckbox)(state));
10336
10363
  const { hoverProps, isHovered } = (0, import_interactions4.useHover)({});
10337
10364
  const { focusProps, isFocusVisible } = (0, import_focus7.useFocusRing)();
10338
- const stateProps = (0, import_system93.useStateProps)({
10365
+ const stateProps = (0, import_system95.useStateProps)({
10339
10366
  hover: isHovered,
10340
10367
  focusVisible: isFocusVisible
10341
10368
  });
@@ -10343,7 +10370,7 @@ var TableSelectAllCell = ({
10343
10370
  "th",
10344
10371
  {
10345
10372
  ref,
10346
- className: (0, import_system93.cn)(import_system93.width[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10373
+ className: (0, import_system95.cn)(import_system95.width[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10347
10374
  ...(0, import_utils14.mergeProps)(columnHeaderProps, hoverProps, focusProps),
10348
10375
  ...stateProps,
10349
10376
  align,
@@ -10365,7 +10392,7 @@ var Table = ({
10365
10392
  ...props
10366
10393
  }) => {
10367
10394
  const interactive = selectionMode !== "none";
10368
- const tableRef = (0, import_react71.useRef)(null);
10395
+ const tableRef = (0, import_react72.useRef)(null);
10369
10396
  const state = (0, import_table10.useTableState)({
10370
10397
  ...props,
10371
10398
  selectionMode,
@@ -10376,7 +10403,7 @@ var Table = ({
10376
10403
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
10377
10404
  }
10378
10405
  const { gridProps } = (0, import_table9.useTable)(props, state, tableRef);
10379
- const classNames3 = (0, import_system94.useClassNames)({
10406
+ const classNames3 = (0, import_system96.useClassNames)({
10380
10407
  component: "Table",
10381
10408
  variant,
10382
10409
  size: size2
@@ -10390,7 +10417,7 @@ var Table = ({
10390
10417
  "table",
10391
10418
  {
10392
10419
  ref: tableRef,
10393
- className: (0, import_system94.cn)(
10420
+ className: (0, import_system96.cn)(
10394
10421
  "group/table",
10395
10422
  "border-collapse",
10396
10423
  stretch ? "table w-full" : "block",
@@ -10457,8 +10484,8 @@ Table.Header = import_table10.TableHeader;
10457
10484
  Table.Row = import_table10.Row;
10458
10485
 
10459
10486
  // src/Text/Text.tsx
10460
- var import_react_aria_components60 = require("react-aria-components");
10461
- var import_system95 = require("@marigold/system");
10487
+ var import_react_aria_components61 = require("react-aria-components");
10488
+ var import_system97 = require("@marigold/system");
10462
10489
  var import_jsx_runtime111 = require("react/jsx-runtime");
10463
10490
  var _Text = ({
10464
10491
  variant,
@@ -10473,40 +10500,40 @@ var _Text = ({
10473
10500
  as = "div",
10474
10501
  ...props
10475
10502
  }) => {
10476
- const classNames3 = (0, import_system95.useClassNames)({
10503
+ const classNames3 = (0, import_system97.useClassNames)({
10477
10504
  component: "Text",
10478
10505
  variant,
10479
10506
  size: size2
10480
10507
  });
10481
- const Component2 = props.slot ? import_react_aria_components60.Text : as;
10508
+ const Component2 = props.slot ? import_react_aria_components61.Text : as;
10482
10509
  const elementType = props.slot ? { elementType: as } : {};
10483
10510
  return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
10484
10511
  Component2,
10485
10512
  {
10486
10513
  ...props,
10487
10514
  ...elementType,
10488
- className: (0, import_system95.cn)(
10515
+ className: (0, import_system97.cn)(
10489
10516
  "max-w-(--maxTextWidth)",
10490
10517
  // possibly set by a <Container>
10491
10518
  classNames3,
10492
- fontStyle && import_system95.textStyle[fontStyle],
10493
- align && import_system95.textAlign[align],
10494
- cursor2 && import_system95.cursorStyle[cursor2],
10495
- weight && import_system95.fontWeight[weight],
10496
- fontSize && import_system95.textSize[fontSize]
10519
+ fontStyle && import_system97.textStyle[fontStyle],
10520
+ align && import_system97.textAlign[align],
10521
+ cursor2 && import_system97.cursorStyle[cursor2],
10522
+ weight && import_system97.fontWeight[weight],
10523
+ fontSize && import_system97.textSize[fontSize]
10497
10524
  ),
10498
- style: { color: color && (0, import_system95.ensureCssVar)(color, "color") },
10525
+ style: { color: color && (0, import_system97.ensureCssVar)(color, "color") },
10499
10526
  children
10500
10527
  }
10501
10528
  );
10502
10529
  };
10503
10530
 
10504
10531
  // src/TextArea/TextArea.tsx
10505
- var import_react72 = require("react");
10506
- var import_react_aria_components61 = require("react-aria-components");
10507
- var import_system96 = require("@marigold/system");
10532
+ var import_react73 = require("react");
10533
+ var import_react_aria_components62 = require("react-aria-components");
10534
+ var import_system98 = require("@marigold/system");
10508
10535
  var import_jsx_runtime112 = require("react/jsx-runtime");
10509
- var _TextArea = (0, import_react72.forwardRef)(
10536
+ var _TextArea = (0, import_react73.forwardRef)(
10510
10537
  ({
10511
10538
  variant,
10512
10539
  size: size2,
@@ -10517,7 +10544,7 @@ var _TextArea = (0, import_react72.forwardRef)(
10517
10544
  rows,
10518
10545
  ...rest
10519
10546
  }, ref) => {
10520
- const classNames3 = (0, import_system96.useClassNames)({ component: "TextArea", variant, size: size2 });
10547
+ const classNames3 = (0, import_system98.useClassNames)({ component: "TextArea", variant, size: size2 });
10521
10548
  const props = {
10522
10549
  isDisabled: disabled,
10523
10550
  isReadOnly: readOnly,
@@ -10525,15 +10552,15 @@ var _TextArea = (0, import_react72.forwardRef)(
10525
10552
  isRequired: required,
10526
10553
  ...rest
10527
10554
  };
10528
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(FieldBase, { as: import_react_aria_components61.TextField, ...props, variant, size: size2, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_aria_components61.TextArea, { className: classNames3, ref, rows }) });
10555
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(FieldBase, { as: import_react_aria_components62.TextField, ...props, variant, size: size2, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_aria_components62.TextArea, { className: classNames3, ref, rows }) });
10529
10556
  }
10530
10557
  );
10531
10558
 
10532
10559
  // src/TextField/TextField.tsx
10533
- var import_react73 = require("react");
10534
- var import_react_aria_components62 = require("react-aria-components");
10560
+ var import_react74 = require("react");
10561
+ var import_react_aria_components63 = require("react-aria-components");
10535
10562
  var import_jsx_runtime113 = require("react/jsx-runtime");
10536
- var _TextField = (0, import_react73.forwardRef)(
10563
+ var _TextField = (0, import_react74.forwardRef)(
10537
10564
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
10538
10565
  const props = {
10539
10566
  isDisabled: disabled,
@@ -10542,12 +10569,12 @@ var _TextField = (0, import_react73.forwardRef)(
10542
10569
  isRequired: required,
10543
10570
  ...rest
10544
10571
  };
10545
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(FieldBase, { as: import_react_aria_components62.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(_Input, { ref }) });
10572
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(FieldBase, { as: import_react_aria_components63.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(_Input, { ref }) });
10546
10573
  }
10547
10574
  );
10548
10575
 
10549
10576
  // src/Tiles/Tiles.tsx
10550
- var import_system97 = require("@marigold/system");
10577
+ var import_system99 = require("@marigold/system");
10551
10578
  var import_jsx_runtime114 = require("react/jsx-runtime");
10552
10579
  var Tiles = ({
10553
10580
  space = 0,
@@ -10565,24 +10592,24 @@ var Tiles = ({
10565
10592
  "div",
10566
10593
  {
10567
10594
  ...props,
10568
- className: (0, import_system97.cn)(
10595
+ className: (0, import_system99.cn)(
10569
10596
  "grid",
10570
- import_system97.gapSpace[space],
10597
+ import_system99.gapSpace[space],
10571
10598
  "grid-cols-[repeat(auto-fit,var(--column))]",
10572
10599
  equalHeight && "auto-rows-[1fr]"
10573
10600
  ),
10574
- style: (0, import_system97.createVar)({ column: column2, tilesWidth }),
10601
+ style: (0, import_system99.createVar)({ column: column2, tilesWidth }),
10575
10602
  children
10576
10603
  }
10577
10604
  );
10578
10605
  };
10579
10606
 
10580
10607
  // src/Tooltip/Tooltip.tsx
10581
- var import_react_aria_components64 = require("react-aria-components");
10582
- var import_system98 = require("@marigold/system");
10608
+ var import_react_aria_components65 = require("react-aria-components");
10609
+ var import_system100 = require("@marigold/system");
10583
10610
 
10584
10611
  // src/Tooltip/TooltipTrigger.tsx
10585
- var import_react_aria_components63 = require("react-aria-components");
10612
+ var import_react_aria_components64 = require("react-aria-components");
10586
10613
  var import_jsx_runtime115 = require("react/jsx-runtime");
10587
10614
  var _TooltipTrigger = ({
10588
10615
  delay = 1e3,
@@ -10597,7 +10624,7 @@ var _TooltipTrigger = ({
10597
10624
  isOpen: open,
10598
10625
  delay
10599
10626
  };
10600
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_aria_components63.TooltipTrigger, { ...props, children });
10627
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_aria_components64.TooltipTrigger, { ...props, children });
10601
10628
  };
10602
10629
 
10603
10630
  // src/Tooltip/Tooltip.tsx
@@ -10607,16 +10634,16 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10607
10634
  ...rest,
10608
10635
  isOpen: open
10609
10636
  };
10610
- const classNames3 = (0, import_system98.useClassNames)({ component: "Tooltip", variant, size: size2 });
10637
+ const classNames3 = (0, import_system100.useClassNames)({ component: "Tooltip", variant, size: size2 });
10611
10638
  const portal = usePortalContainer();
10612
10639
  return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
10613
- import_react_aria_components64.Tooltip,
10640
+ import_react_aria_components65.Tooltip,
10614
10641
  {
10615
10642
  ...props,
10616
- className: (0, import_system98.cn)("group/tooltip", classNames3.container),
10643
+ className: (0, import_system100.cn)("group/tooltip", classNames3.container),
10617
10644
  UNSTABLE_portalContainer: portal,
10618
10645
  children: [
10619
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_aria_components64.OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
10646
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_aria_components65.OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
10620
10647
  children
10621
10648
  ]
10622
10649
  }
@@ -10625,20 +10652,20 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10625
10652
  _Tooltip.Trigger = _TooltipTrigger;
10626
10653
 
10627
10654
  // src/TagGroup/Tag.tsx
10628
- var import_react_aria_components67 = require("react-aria-components");
10629
- var import_system100 = require("@marigold/system");
10655
+ var import_react_aria_components68 = require("react-aria-components");
10656
+ var import_system102 = require("@marigold/system");
10630
10657
 
10631
10658
  // src/TagGroup/TagGroup.tsx
10632
- var import_react_aria_components66 = require("react-aria-components");
10633
- var import_system99 = require("@marigold/system");
10659
+ var import_react_aria_components67 = require("react-aria-components");
10660
+ var import_system101 = require("@marigold/system");
10634
10661
 
10635
10662
  // src/TagGroup/TagGroupHiddenInput.tsx
10636
- var import_react74 = require("react");
10637
- var import_react_aria_components65 = require("react-aria-components");
10663
+ var import_react75 = require("react");
10664
+ var import_react_aria_components66 = require("react-aria-components");
10638
10665
  var import_jsx_runtime117 = require("react/jsx-runtime");
10639
10666
  var TagGroupHiddenInput = ({ name }) => {
10640
10667
  var _a;
10641
- const state = (0, import_react74.useContext)(import_react_aria_components65.ListStateContext);
10668
+ const state = (0, import_react75.useContext)(import_react_aria_components66.ListStateContext);
10642
10669
  const selectedKeys = Array.from((_a = state == null ? void 0 : state.selectionManager.selectedKeys) != null ? _a : []);
10643
10670
  if (!selectedKeys.length) return null;
10644
10671
  return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
@@ -10666,10 +10693,10 @@ var _TagGroup = ({
10666
10693
  name,
10667
10694
  ...rest
10668
10695
  }) => {
10669
- const classNames3 = (0, import_system99.useClassNames)({ component: "Tag", variant, size: size2 });
10670
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(FieldBase, { as: import_react_aria_components66.TagGroup, ...rest, children: [
10696
+ const classNames3 = (0, import_system101.useClassNames)({ component: "Tag", variant, size: size2 });
10697
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(FieldBase, { as: import_react_aria_components67.TagGroup, ...rest, children: [
10671
10698
  /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
10672
- import_react_aria_components66.TagList,
10699
+ import_react_aria_components67.TagList,
10673
10700
  {
10674
10701
  items,
10675
10702
  className: classNames3.listItems,
@@ -10685,17 +10712,17 @@ var _TagGroup = ({
10685
10712
  var import_jsx_runtime119 = require("react/jsx-runtime");
10686
10713
  var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10687
10714
  let textValue = typeof children === "string" ? children : void 0;
10688
- const classNames3 = (0, import_system100.useClassNames)({ component: "Tag", variant, size: size2 });
10715
+ const classNames3 = (0, import_system102.useClassNames)({ component: "Tag", variant, size: size2 });
10689
10716
  const props = {
10690
10717
  isDisabled: disabled,
10691
10718
  ...rest
10692
10719
  };
10693
10720
  return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
10694
- import_react_aria_components67.Tag,
10721
+ import_react_aria_components68.Tag,
10695
10722
  {
10696
10723
  textValue,
10697
10724
  ...props,
10698
- className: (0, import_system100.cn)("data-selection-mode:cursor-pointer", classNames3.tag),
10725
+ className: (0, import_system102.cn)("data-selection-mode:cursor-pointer", classNames3.tag),
10699
10726
  children: ({ allowsRemoving }) => /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
10700
10727
  children,
10701
10728
  allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(CloseButton, { className: classNames3.closeButton, slot: "remove" })
@@ -10709,14 +10736,14 @@ _Tag.Group = _TagGroup;
10709
10736
  var import_visually_hidden = require("@react-aria/visually-hidden");
10710
10737
 
10711
10738
  // src/XLoader/XLoader.tsx
10712
- var import_react_aria_components69 = require("react-aria-components");
10739
+ var import_react_aria_components70 = require("react-aria-components");
10713
10740
  var import_utils16 = require("@react-aria/utils");
10714
- var import_system102 = require("@marigold/system");
10741
+ var import_system104 = require("@marigold/system");
10715
10742
 
10716
10743
  // src/XLoader/BaseLoader.tsx
10717
- var import_react_aria_components68 = require("react-aria-components");
10744
+ var import_react_aria_components69 = require("react-aria-components");
10718
10745
  var import_i18n6 = require("@react-aria/i18n");
10719
- var import_system101 = require("@marigold/system");
10746
+ var import_system103 = require("@marigold/system");
10720
10747
 
10721
10748
  // src/intl/messages.ts
10722
10749
  var intlMessages2 = {
@@ -10738,9 +10765,9 @@ var BaseLoader = ({
10738
10765
  ...props
10739
10766
  }) => {
10740
10767
  const stringFormatter = (0, import_i18n6.useLocalizedStringFormatter)(intlMessages2, "marigold");
10741
- const className = (0, import_system101.useClassNames)({ component: "XLoader", variant, size: size2 });
10768
+ const className = (0, import_system103.useClassNames)({ component: "XLoader", variant, size: size2 });
10742
10769
  return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
10743
- import_react_aria_components68.ProgressBar,
10770
+ import_react_aria_components69.ProgressBar,
10744
10771
  {
10745
10772
  className: className.container,
10746
10773
  isIndeterminate: true,
@@ -10957,7 +10984,7 @@ var BaseLoader = ({
10957
10984
  ]
10958
10985
  }
10959
10986
  ),
10960
- children ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_react_aria_components68.Label, { className: className.label, children }) : null
10987
+ children ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_react_aria_components69.Label, { className: className.label, children }) : null
10961
10988
  ]
10962
10989
  }
10963
10990
  );
@@ -10967,10 +10994,10 @@ var BaseLoader = ({
10967
10994
  var import_jsx_runtime121 = require("react/jsx-runtime");
10968
10995
  var LoaderFullScreen = (props) => {
10969
10996
  const id = (0, import_utils16.useId)();
10970
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_aria_components69.Modal, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_aria_components69.Dialog, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(BaseLoader, { id, ...props }) }) }) });
10997
+ return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_aria_components70.Modal, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_aria_components70.Dialog, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(BaseLoader, { id, ...props }) }) }) });
10971
10998
  };
10972
10999
  var LoaderSection = (props) => {
10973
- const className = (0, import_system102.useClassNames)({
11000
+ const className = (0, import_system104.useClassNames)({
10974
11001
  component: "Underlay",
10975
11002
  variant: "modal",
10976
11003
  className: "flex size-full items-center justify-center"
@@ -10980,25 +11007,25 @@ var LoaderSection = (props) => {
10980
11007
  var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(BaseLoader, { variant, ...props });
10981
11008
 
10982
11009
  // src/Tabs/Tabs.tsx
10983
- var import_react_aria_components73 = require("react-aria-components");
10984
- var import_system105 = require("@marigold/system");
11010
+ var import_react_aria_components74 = require("react-aria-components");
11011
+ var import_system107 = require("@marigold/system");
10985
11012
 
10986
11013
  // src/Tabs/Context.ts
10987
- var import_react75 = require("react");
10988
- var TabContext = (0, import_react75.createContext)({});
10989
- var useTabContext = () => (0, import_react75.useContext)(TabContext);
11014
+ var import_react76 = require("react");
11015
+ var TabContext = (0, import_react76.createContext)({});
11016
+ var useTabContext = () => (0, import_react76.useContext)(TabContext);
10990
11017
 
10991
11018
  // src/Tabs/Tab.tsx
10992
- var import_react_aria_components70 = require("react-aria-components");
10993
- var import_system103 = require("@marigold/system");
11019
+ var import_react_aria_components71 = require("react-aria-components");
11020
+ var import_system105 = require("@marigold/system");
10994
11021
  var import_jsx_runtime122 = require("react/jsx-runtime");
10995
11022
  var _Tab = (props) => {
10996
11023
  const { classNames: classNames3 } = useTabContext();
10997
11024
  return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
10998
- import_react_aria_components70.Tab,
11025
+ import_react_aria_components71.Tab,
10999
11026
  {
11000
11027
  ...props,
11001
- className: (0, import_system103.cn)(
11028
+ className: (0, import_system105.cn)(
11002
11029
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
11003
11030
  classNames3.tab
11004
11031
  ),
@@ -11008,27 +11035,27 @@ var _Tab = (props) => {
11008
11035
  };
11009
11036
 
11010
11037
  // src/Tabs/TabList.tsx
11011
- var import_react_aria_components71 = require("react-aria-components");
11012
- var import_system104 = require("@marigold/system");
11038
+ var import_react_aria_components72 = require("react-aria-components");
11039
+ var import_system106 = require("@marigold/system");
11013
11040
  var import_jsx_runtime123 = require("react/jsx-runtime");
11014
11041
  var _TabList = ({ space = 2, ...props }) => {
11015
11042
  const { classNames: classNames3 } = useTabContext();
11016
11043
  return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
11017
- import_react_aria_components71.TabList,
11044
+ import_react_aria_components72.TabList,
11018
11045
  {
11019
11046
  ...props,
11020
- className: (0, import_system104.cn)("flex", import_system104.gapSpace[space], classNames3.tabsList),
11047
+ className: (0, import_system106.cn)("flex", import_system106.gapSpace[space], classNames3.tabsList),
11021
11048
  children: props.children
11022
11049
  }
11023
11050
  );
11024
11051
  };
11025
11052
 
11026
11053
  // src/Tabs/TabPanel.tsx
11027
- var import_react_aria_components72 = require("react-aria-components");
11054
+ var import_react_aria_components73 = require("react-aria-components");
11028
11055
  var import_jsx_runtime124 = require("react/jsx-runtime");
11029
11056
  var _TabPanel = (props) => {
11030
11057
  const { classNames: classNames3 } = useTabContext();
11031
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react_aria_components72.TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11058
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react_aria_components73.TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11032
11059
  };
11033
11060
 
11034
11061
  // src/Tabs/Tabs.tsx
@@ -11038,19 +11065,19 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
11038
11065
  isDisabled: disabled,
11039
11066
  ...rest
11040
11067
  };
11041
- const classNames3 = (0, import_system105.useClassNames)({
11068
+ const classNames3 = (0, import_system107.useClassNames)({
11042
11069
  component: "Tabs",
11043
11070
  size: size2,
11044
11071
  variant
11045
11072
  });
11046
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_react_aria_components73.Tabs, { ...props, className: classNames3.container, children: props.children }) });
11073
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_react_aria_components74.Tabs, { ...props, className: classNames3.container, children: props.children }) });
11047
11074
  };
11048
11075
  _Tabs.List = _TabList;
11049
11076
  _Tabs.TabPanel = _TabPanel;
11050
11077
  _Tabs.Item = _Tab;
11051
11078
 
11052
11079
  // src/RouterProvider/RouterProvider.tsx
11053
- var import_react_aria_components74 = require("react-aria-components");
11080
+ var import_react_aria_components75 = require("react-aria-components");
11054
11081
  // Annotate the CommonJS export names for ESM import in node:
11055
11082
  0 && (module.exports = {
11056
11083
  Accordion,
@@ -11127,7 +11154,6 @@ var import_react_aria_components74 = require("react-aria-components");
11127
11154
  Underlay,
11128
11155
  VisuallyHidden,
11129
11156
  XLoader,
11130
- _Calendar,
11131
11157
  gridColsAlign,
11132
11158
  gridColumn,
11133
11159
  useAsyncList,