@marigold/components 12.0.1 → 12.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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,
@@ -923,11 +923,11 @@ __export(index_exports, {
923
923
  TextField: () => _TextField,
924
924
  ThemeProvider: () => import_system15.ThemeProvider,
925
925
  Tiles: () => Tiles,
926
+ TimeField: () => _TimeField,
926
927
  Tooltip: () => _Tooltip,
927
928
  Underlay: () => Underlay,
928
929
  VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
929
930
  XLoader: () => XLoader,
930
- _Calendar: () => _Calendar,
931
931
  gridColsAlign: () => gridColsAlign,
932
932
  gridColumn: () => gridColumn,
933
933
  useAsyncList: () => import_data.useAsyncList,
@@ -978,7 +978,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
978
978
  var AccordionHeader = ({ children }) => {
979
979
  const { classNames: classNames3 } = useAccordionContext();
980
980
  const { isExpanded } = (0, import_react3.useContext)(import_react_aria_components.DisclosureStateContext);
981
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_aria_components.Button, { slot: "trigger", className: classNames3.header, children: [
981
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_aria_components.Button, { slot: "trigger", className: classNames3.header, children: [
982
982
  children,
983
983
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
984
984
  ChevronDown,
@@ -2718,14 +2718,23 @@ var Grid = ({
2718
2718
  areas,
2719
2719
  columns,
2720
2720
  rows,
2721
+ alignX,
2722
+ alignY,
2721
2723
  height = "auto",
2722
2724
  space = 0,
2723
2725
  ...props
2724
2726
  }) => {
2727
+ var _a, _b, _c, _d;
2725
2728
  return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2726
2729
  "div",
2727
2730
  {
2728
- className: (0, import_system50.cn)("grid", import_system50.gapSpace[space], import_system50.height[height]),
2731
+ className: (0, import_system50.cn)(
2732
+ "grid",
2733
+ alignX && ((_b = (_a = import_system50.alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2734
+ alignY && ((_d = (_c = import_system50.alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY]),
2735
+ import_system50.gapSpace[space],
2736
+ import_system50.height[height]
2737
+ ),
2729
2738
  style: {
2730
2739
  gridTemplateAreas: parseGridAreas(areas),
2731
2740
  gridTemplateColumns: parseTemplateValue(columns),
@@ -2922,9 +2931,9 @@ var _DateField = (0, import_react32.forwardRef)(
2922
2931
  );
2923
2932
 
2924
2933
  // 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");
2934
+ var import_react38 = require("react");
2935
+ var import_react_aria_components43 = require("react-aria-components");
2936
+ var import_system63 = require("@marigold/system");
2928
2937
 
2929
2938
  // src/Calendar/CalendarGrid.tsx
2930
2939
  var import_react_aria_components38 = require("react-aria-components");
@@ -2978,10 +2987,15 @@ var _CalendarGrid = () => {
2978
2987
  };
2979
2988
 
2980
2989
  // src/Calendar/CalendarListBox.tsx
2981
- var import_react34 = require("react");
2990
+ var import_react35 = require("react");
2982
2991
  var import_react_aria_components39 = require("react-aria-components");
2983
2992
  var import_system59 = require("@marigold/system");
2984
2993
 
2994
+ // src/Calendar/Context.tsx
2995
+ var import_react34 = require("react");
2996
+ var CalendarContext = (0, import_react34.createContext)({});
2997
+ var useCalendarContext = () => (0, import_react34.useContext)(CalendarContext);
2998
+
2985
2999
  // src/Calendar/useFormattedMonths.tsx
2986
3000
  var import_i18n4 = require("@react-aria/i18n");
2987
3001
  function useFormattedMonths(timeZone, focusedDate) {
@@ -3005,16 +3019,16 @@ function CalendarListBox({
3005
3019
  isDisabled,
3006
3020
  setSelectedDropdown
3007
3021
  }) {
3008
- const state = (0, import_react34.useContext)(import_react_aria_components39.CalendarStateContext);
3022
+ const state = (0, import_react35.useContext)(import_react_aria_components39.CalendarStateContext);
3009
3023
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3010
3024
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
3011
- const { select: selectClassNames } = (0, import_system59.useClassNames)({ component: "Select" });
3025
+ const { classNames: classNames3 } = useCalendarContext();
3012
3026
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3013
3027
  "button",
3014
3028
  {
3015
3029
  disabled: isDisabled,
3016
3030
  onClick: () => setSelectedDropdown(type),
3017
- className: (0, import_system59.cn)(buttonStyles, selectClassNames),
3031
+ className: (0, import_system59.cn)(buttonStyles, classNames3.select),
3018
3032
  "data-testid": type,
3019
3033
  children: [
3020
3034
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
@@ -3062,33 +3076,40 @@ function MonthControls() {
3062
3076
  var MonthControls_default = MonthControls;
3063
3077
 
3064
3078
  // src/Calendar/MonthListBox.tsx
3065
- var import_react35 = require("react");
3079
+ var import_react36 = require("react");
3066
3080
  var import_react_aria_components40 = require("react-aria-components");
3081
+ var import_react_aria_components41 = require("react-aria-components");
3082
+ var import_system61 = require("@marigold/system");
3067
3083
  var import_jsx_runtime69 = require("react/jsx-runtime");
3068
3084
  var MonthListBox = ({ setSelectedDropdown }) => {
3069
- const state = (0, import_react35.useContext)(import_react_aria_components40.CalendarStateContext);
3085
+ const state = (0, import_react36.useContext)(import_react_aria_components40.CalendarStateContext);
3070
3086
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3071
3087
  let onChange2 = (index2) => {
3072
3088
  let value = Number(index2) + 1;
3073
3089
  let date = state.focusedDate.set({ month: value });
3074
3090
  state.setFocusedDate(date);
3075
3091
  };
3092
+ const { classNames: classNames3 } = useCalendarContext();
3076
3093
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3077
3094
  "ul",
3078
3095
  {
3079
3096
  "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",
3097
+ className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 p-2",
3081
3098
  children: months.map((month, index2) => {
3099
+ const isSelected = index2 === state.focusedDate.month - 1;
3082
3100
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3083
- _Button,
3101
+ import_react_aria_components41.Button,
3084
3102
  {
3085
3103
  slot: "previous",
3086
- variant: index2 === state.focusedDate.month - 1 ? "secondary" : "text",
3087
- size: "small",
3088
3104
  onPress: () => {
3089
3105
  onChange2(index2);
3090
3106
  setSelectedDropdown(void 0);
3091
3107
  },
3108
+ "aria-current": isSelected,
3109
+ className: (0, import_system61.cn)(
3110
+ classNames3.calendarListboxButton,
3111
+ "inline-flex items-center justify-center gap-[0.5ch]"
3112
+ ),
3092
3113
  children: month.substring(0, 3)
3093
3114
  },
3094
3115
  index2 + 1
@@ -3100,12 +3121,14 @@ var MonthListBox = ({ setSelectedDropdown }) => {
3100
3121
  var MonthListBox_default = MonthListBox;
3101
3122
 
3102
3123
  // src/Calendar/YearListBox.tsx
3103
- var import_react36 = require("react");
3104
- var import_react_aria_components41 = require("react-aria-components");
3124
+ var import_react37 = require("react");
3125
+ var import_react_aria_components42 = require("react-aria-components");
3105
3126
  var import_i18n5 = require("@react-aria/i18n");
3127
+ var import_system62 = require("@marigold/system");
3106
3128
  var import_jsx_runtime70 = require("react/jsx-runtime");
3107
3129
  var YearListBox = ({ setSelectedDropdown }) => {
3108
- const state = (0, import_react36.useContext)(import_react_aria_components41.CalendarStateContext);
3130
+ const state = (0, import_react37.useContext)(import_react_aria_components42.CalendarStateContext);
3131
+ const { classNames: classNames3 } = useCalendarContext();
3109
3132
  const years = [];
3110
3133
  let formatter = (0, import_i18n5.useDateFormatter)({
3111
3134
  year: "numeric",
@@ -3118,8 +3141,8 @@ var YearListBox = ({ setSelectedDropdown }) => {
3118
3141
  formatted: formatter.format(date.toDate(state.timeZone))
3119
3142
  });
3120
3143
  }
3121
- const activeButtonRef = (0, import_react36.useRef)(null);
3122
- (0, import_react36.useEffect)(() => {
3144
+ const activeButtonRef = (0, import_react37.useRef)(null);
3145
+ (0, import_react37.useEffect)(() => {
3123
3146
  if (activeButtonRef.current) {
3124
3147
  const activeButton = activeButtonRef.current;
3125
3148
  activeButton == null ? void 0 : activeButton.scrollIntoView({
@@ -3139,24 +3162,26 @@ var YearListBox = ({ setSelectedDropdown }) => {
3139
3162
  "data-testid": "yearOptions",
3140
3163
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3141
3164
  children: years.map((year, index2) => {
3142
- const isActive = +year.formatted === state.focusedDate.year;
3165
+ const isSelected = +year.formatted === state.focusedDate.year;
3143
3166
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3144
3167
  "div",
3145
3168
  {
3146
- ref: isActive ? activeButtonRef : null,
3147
- style: { height: "100%", width: "100%" },
3169
+ ref: isSelected ? activeButtonRef : null,
3170
+ className: "flex size-full justify-center",
3148
3171
  children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3149
- _Button,
3172
+ import_react_aria_components42.Button,
3150
3173
  {
3151
3174
  slot: "previous",
3152
- disabled: state.isDisabled,
3153
- variant: isActive ? "secondary" : "text",
3154
- size: "small",
3175
+ className: (0, import_system62.cn)(
3176
+ classNames3.calendarListboxButton,
3177
+ "inline-flex items-center justify-center gap-[0.5ch]"
3178
+ ),
3155
3179
  onPress: () => {
3156
3180
  onChange2(index2);
3157
3181
  setSelectedDropdown(void 0);
3158
3182
  },
3159
3183
  "data-value": year.formatted,
3184
+ "aria-current": isSelected,
3160
3185
  children: year.formatted
3161
3186
  },
3162
3187
  index2
@@ -3185,54 +3210,66 @@ var _Calendar = ({
3185
3210
  isDateUnavailable: dateUnavailable,
3186
3211
  ...rest
3187
3212
  };
3188
- const classNames3 = (0, import_system61.useClassNames)({ component: "Calendar" });
3189
- const [selectedDropdown, setSelectedDropdown] = (0, import_react37.useState)();
3213
+ const classNames3 = (0, import_system63.useClassNames)({ component: "Calendar", size: size2, variant });
3214
+ const [selectedDropdown, setSelectedDropdown] = (0, import_react38.useState)();
3190
3215
  const ViewMap = {
3191
3216
  month: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(MonthListBox_default, { setSelectedDropdown }),
3192
3217
  year: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(YearListBox_default, { setSelectedDropdown })
3193
3218
  };
3194
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3195
- import_react_aria_components42.Calendar,
3219
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3220
+ import_react_aria_components43.Calendar,
3196
3221
  {
3197
- className: (0, import_system61.cn)(
3198
- "flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3222
+ className: (0, import_system63.cn)(
3223
+ "relative flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3199
3224
  classNames3.calendar
3200
3225
  ),
3201
3226
  ...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
- }
3227
+ children: [
3228
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3229
+ "div",
3230
+ {
3231
+ className: (0, import_system63.cn)(
3232
+ "pointer-events-none absolute top-1/2 left-0 w-full -translate-y-1/2 opacity-0",
3233
+ selectedDropdown && "pointer-events-auto opacity-100"
3212
3234
  ),
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
- ] })
3235
+ children: ViewMap[selectedDropdown]
3236
+ }
3237
+ ),
3238
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3239
+ "div",
3240
+ {
3241
+ className: (0, import_system63.cn)(
3242
+ "flex flex-col",
3243
+ selectedDropdown && "pointer-events-none opacity-0"
3244
+ ),
3245
+ children: [
3246
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
3247
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3248
+ CalendarListBox,
3249
+ {
3250
+ type: dateType,
3251
+ isDisabled: props.isDisabled,
3252
+ setSelectedDropdown
3253
+ },
3254
+ dateType
3255
+ )) }),
3256
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(MonthControls_default, {})
3257
+ ] }),
3258
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_CalendarGrid, {})
3259
+ ]
3260
+ }
3261
+ )
3262
+ ]
3226
3263
  }
3227
- );
3264
+ ) });
3228
3265
  };
3229
3266
 
3230
3267
  // 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");
3268
+ var import_react39 = __toESM(require("react"));
3269
+ var import_react_aria_components44 = require("react-aria-components");
3270
+ var import_system64 = require("@marigold/system");
3234
3271
  var import_jsx_runtime72 = require("react/jsx-runtime");
3235
- var _DatePicker = import_react38.default.forwardRef(
3272
+ var _DatePicker = import_react39.default.forwardRef(
3236
3273
  ({
3237
3274
  dateUnavailable,
3238
3275
  disabled,
@@ -3255,7 +3292,7 @@ var _DatePicker = import_react38.default.forwardRef(
3255
3292
  granularity,
3256
3293
  ...rest
3257
3294
  };
3258
- const classNames3 = (0, import_system62.useClassNames)({
3295
+ const classNames3 = (0, import_system64.useClassNames)({
3259
3296
  component: "DatePicker",
3260
3297
  size: size2,
3261
3298
  variant
@@ -3263,7 +3300,7 @@ var _DatePicker = import_react38.default.forwardRef(
3263
3300
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
3264
3301
  FieldBase,
3265
3302
  {
3266
- as: import_react_aria_components43.DatePicker,
3303
+ as: import_react_aria_components44.DatePicker,
3267
3304
  variant,
3268
3305
  size: size2,
3269
3306
  ...props,
@@ -3285,7 +3322,7 @@ var _DatePicker = import_react38.default.forwardRef(
3285
3322
  ) })
3286
3323
  }
3287
3324
  ),
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 }) }) })
3325
+ /* @__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
3326
  ]
3290
3327
  }
3291
3328
  );
@@ -3293,43 +3330,43 @@ var _DatePicker = import_react38.default.forwardRef(
3293
3330
  );
3294
3331
 
3295
3332
  // src/Inset/Inset.tsx
3296
- var import_system63 = require("@marigold/system");
3333
+ var import_system65 = require("@marigold/system");
3297
3334
  var import_jsx_runtime73 = require("react/jsx-runtime");
3298
3335
  var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3299
3336
  "div",
3300
3337
  {
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]
3338
+ className: (0, import_system65.cn)(
3339
+ space && import_system65.paddingSpace[space],
3340
+ !space && spaceX && import_system65.paddingSpaceX[spaceX],
3341
+ !space && spaceY && import_system65.paddingSpaceY[spaceY]
3305
3342
  ),
3306
3343
  children
3307
3344
  }
3308
3345
  );
3309
3346
 
3310
3347
  // 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");
3348
+ var import_react40 = require("react");
3349
+ var import_react_aria_components45 = require("react-aria-components");
3350
+ var import_system66 = require("@marigold/system");
3314
3351
  var import_jsx_runtime74 = require("react/jsx-runtime");
3315
- var _Link = (0, import_react39.forwardRef)(
3352
+ var _Link = (0, import_react40.forwardRef)(
3316
3353
  ({ variant, size: size2, disabled, children, ...props }, ref) => {
3317
- const classNames3 = (0, import_system64.useClassNames)({
3354
+ const classNames3 = (0, import_system66.useClassNames)({
3318
3355
  component: "Link",
3319
3356
  variant,
3320
3357
  size: size2
3321
3358
  });
3322
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_aria_components44.Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3359
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_aria_components45.Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3323
3360
  }
3324
3361
  );
3325
3362
 
3326
3363
  // src/List/List.tsx
3327
- var import_system65 = require("@marigold/system");
3364
+ var import_system67 = require("@marigold/system");
3328
3365
 
3329
3366
  // 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);
3367
+ var import_react41 = require("react");
3368
+ var ListContext = (0, import_react41.createContext)({});
3369
+ var useListContext = () => (0, import_react41.useContext)(ListContext);
3333
3370
 
3334
3371
  // src/List/ListItem.tsx
3335
3372
  var import_jsx_runtime75 = require("react/jsx-runtime");
@@ -3348,31 +3385,31 @@ var List = ({
3348
3385
  ...props
3349
3386
  }) => {
3350
3387
  const Component2 = as;
3351
- const classNames3 = (0, import_system65.useClassNames)({ component: "List", variant, size: size2 });
3388
+ const classNames3 = (0, import_system67.useClassNames)({ component: "List", variant, size: size2 });
3352
3389
  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
3390
  };
3354
3391
  List.Item = ListItem;
3355
3392
 
3356
3393
  // src/Menu/Menu.tsx
3357
- var import_react_aria_components47 = require("react-aria-components");
3358
- var import_system68 = require("@marigold/system");
3394
+ var import_react_aria_components48 = require("react-aria-components");
3395
+ var import_system70 = require("@marigold/system");
3359
3396
 
3360
3397
  // src/Menu/MenuItem.tsx
3361
- var import_react_aria_components45 = require("react-aria-components");
3362
- var import_system66 = require("@marigold/system");
3398
+ var import_react_aria_components46 = require("react-aria-components");
3399
+ var import_system68 = require("@marigold/system");
3363
3400
  var import_jsx_runtime77 = require("react/jsx-runtime");
3364
3401
  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 });
3402
+ const classNames3 = (0, import_system68.useClassNames)({ component: "Menu" });
3403
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react_aria_components46.MenuItem, { ...props, className: classNames3.item, children });
3367
3404
  };
3368
3405
 
3369
3406
  // src/Menu/MenuSection.tsx
3370
- var import_react_aria_components46 = require("react-aria-components");
3371
- var import_system67 = require("@marigold/system");
3407
+ var import_react_aria_components47 = require("react-aria-components");
3408
+ var import_system69 = require("@marigold/system");
3372
3409
  var import_jsx_runtime78 = require("react/jsx-runtime");
3373
3410
  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: [
3411
+ const className = (0, import_system69.useClassNames)({ component: "Menu" });
3412
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_react_aria_components47.MenuSection, { ...props, children: [
3376
3413
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(_Header, { className: className.section, children: title }),
3377
3414
  children
3378
3415
  ] });
@@ -3391,10 +3428,10 @@ var _Menu = ({
3391
3428
  "aria-label": ariaLabel,
3392
3429
  ...props
3393
3430
  }) => {
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: [
3431
+ const classNames3 = (0, import_system70.useClassNames)({ component: "Menu", variant, size: size2 });
3432
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_react_aria_components48.MenuTrigger, { ...props, children: [
3396
3433
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3397
- import_react_aria_components47.Button,
3434
+ import_react_aria_components48.Button,
3398
3435
  {
3399
3436
  className: classNames3.button,
3400
3437
  "aria-label": ariaLabel,
@@ -3402,15 +3439,15 @@ var _Menu = ({
3402
3439
  children: label
3403
3440
  }
3404
3441
  ),
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 }) })
3442
+ /* @__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
3443
  ] });
3407
3444
  };
3408
3445
  _Menu.Item = _MenuItem;
3409
3446
  _Menu.Section = _MenuSection;
3410
3447
 
3411
3448
  // src/Menu/ActionMenu.tsx
3412
- var import_react_aria_components48 = require("react-aria-components");
3413
- var import_system69 = require("@marigold/system");
3449
+ var import_react_aria_components49 = require("react-aria-components");
3450
+ var import_system71 = require("@marigold/system");
3414
3451
  var import_jsx_runtime80 = require("react/jsx-runtime");
3415
3452
  var ActionMenu = ({
3416
3453
  variant,
@@ -3418,39 +3455,39 @@ var ActionMenu = ({
3418
3455
  disabled,
3419
3456
  ...props
3420
3457
  }) => {
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 }) })
3458
+ const classNames3 = (0, import_system71.useClassNames)({ component: "Menu", variant, size: size2 });
3459
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_react_aria_components49.MenuTrigger, { children: [
3460
+ /* @__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" }) }) }),
3461
+ /* @__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
3462
  ] });
3426
3463
  };
3427
3464
 
3428
3465
  // src/SectionMessage/SectionMessage.tsx
3429
- var import_react42 = require("react");
3466
+ var import_react43 = require("react");
3430
3467
  var import_button = require("@react-aria/button");
3431
- var import_system72 = require("@marigold/system");
3468
+ var import_system74 = require("@marigold/system");
3432
3469
 
3433
3470
  // 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);
3471
+ var import_react42 = require("react");
3472
+ var SectionMessageContext = (0, import_react42.createContext)({});
3473
+ var useSectionMessageContext = () => (0, import_react42.useContext)(SectionMessageContext);
3437
3474
 
3438
3475
  // src/SectionMessage/SectionMessageContent.tsx
3439
- var import_system70 = require("@marigold/system");
3476
+ var import_system72 = require("@marigold/system");
3440
3477
  var import_jsx_runtime81 = require("react/jsx-runtime");
3441
3478
  var SectionMessageContent = ({
3442
3479
  children
3443
3480
  }) => {
3444
3481
  const { classNames: classNames3 } = useSectionMessageContext();
3445
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: (0, import_system70.cn)("[grid-area:content]", classNames3.content), children });
3482
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: (0, import_system72.cn)("[grid-area:content]", classNames3.content), children });
3446
3483
  };
3447
3484
 
3448
3485
  // src/SectionMessage/SectionMessageTitle.tsx
3449
- var import_system71 = require("@marigold/system");
3486
+ var import_system73 = require("@marigold/system");
3450
3487
  var import_jsx_runtime82 = require("react/jsx-runtime");
3451
3488
  var SectionMessageTitle = ({ children }) => {
3452
3489
  const { classNames: classNames3 } = useSectionMessageContext();
3453
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: (0, import_system71.cn)("[grid-area:title]", classNames3.title), children });
3490
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: (0, import_system73.cn)("[grid-area:title]", classNames3.title), children });
3454
3491
  };
3455
3492
 
3456
3493
  // src/SectionMessage/SectionMessage.tsx
@@ -3530,14 +3567,14 @@ var SectionMessage = ({
3530
3567
  onCloseChange,
3531
3568
  ...props
3532
3569
  }) => {
3533
- const buttonRef = (0, import_react42.useRef)(null);
3534
- const classNames3 = (0, import_system72.useClassNames)({
3570
+ const buttonRef = (0, import_react43.useRef)(null);
3571
+ const classNames3 = (0, import_system74.useClassNames)({
3535
3572
  component: "SectionMessage",
3536
3573
  variant,
3537
3574
  size: size2
3538
3575
  });
3539
3576
  const Icon4 = icons[variant];
3540
- const [internalVisible, setInternalVisible] = (0, import_react42.useState)(true);
3577
+ const [internalVisible, setInternalVisible] = (0, import_react43.useState)(true);
3541
3578
  const isCurrentlyVisible = close != null ? close : internalVisible;
3542
3579
  const { buttonProps } = (0, import_button.useButton)(props, buttonRef);
3543
3580
  const handleClose = () => {
@@ -3552,16 +3589,16 @@ var SectionMessage = ({
3552
3589
  {
3553
3590
  role: variant === "error" ? "alert" : void 0,
3554
3591
  ...props,
3555
- className: (0, import_system72.cn)("grid auto-rows-min", classNames3.container),
3592
+ className: (0, import_system74.cn)("grid auto-rows-min", classNames3.container),
3556
3593
  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, {}) }),
3594
+ /* @__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
3595
  closeButton && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3559
3596
  CloseButton,
3560
3597
  {
3561
3598
  ...buttonProps,
3562
3599
  ref: buttonRef,
3563
3600
  "aria-label": "close",
3564
- className: (0, import_system72.cn)("[grid-area:close]", classNames3.close),
3601
+ className: (0, import_system74.cn)("[grid-area:close]", classNames3.close),
3565
3602
  onPress: handleClose
3566
3603
  }
3567
3604
  ),
@@ -3574,7 +3611,7 @@ SectionMessage.Title = SectionMessageTitle;
3574
3611
  SectionMessage.Content = SectionMessageContent;
3575
3612
 
3576
3613
  // src/Multiselect/Multiselect.tsx
3577
- var import_react_aria_components49 = require("react-aria-components");
3614
+ var import_react_aria_components50 = require("react-aria-components");
3578
3615
 
3579
3616
  // ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js
3580
3617
  function _typeof(o) {
@@ -3713,34 +3750,34 @@ function _objectWithoutProperties(e, t) {
3713
3750
  return i;
3714
3751
  }
3715
3752
 
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");
3753
+ // ../../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
3754
+ var import_react44 = require("react");
3718
3755
  var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
3719
3756
  function useStateManager(_ref3) {
3720
3757
  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) {
3758
+ var _useState = (0, import_react44.useState)(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1];
3759
+ var _useState3 = (0, import_react44.useState)(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1];
3760
+ var _useState5 = (0, import_react44.useState)(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1];
3761
+ var onChange2 = (0, import_react44.useCallback)(function(value2, actionMeta) {
3725
3762
  if (typeof propsOnChange === "function") {
3726
3763
  propsOnChange(value2, actionMeta);
3727
3764
  }
3728
3765
  setStateValue(value2);
3729
3766
  }, [propsOnChange]);
3730
- var onInputChange = (0, import_react43.useCallback)(function(value2, actionMeta) {
3767
+ var onInputChange = (0, import_react44.useCallback)(function(value2, actionMeta) {
3731
3768
  var newValue;
3732
3769
  if (typeof propsOnInputChange === "function") {
3733
3770
  newValue = propsOnInputChange(value2, actionMeta);
3734
3771
  }
3735
3772
  setStateInputValue(newValue !== void 0 ? newValue : value2);
3736
3773
  }, [propsOnInputChange]);
3737
- var onMenuOpen = (0, import_react43.useCallback)(function() {
3774
+ var onMenuOpen = (0, import_react44.useCallback)(function() {
3738
3775
  if (typeof propsOnMenuOpen === "function") {
3739
3776
  propsOnMenuOpen();
3740
3777
  }
3741
3778
  setStateMenuIsOpen(true);
3742
3779
  }, [propsOnMenuOpen]);
3743
- var onMenuClose = (0, import_react43.useCallback)(function() {
3780
+ var onMenuClose = (0, import_react44.useCallback)(function() {
3744
3781
  if (typeof propsOnMenuClose === "function") {
3745
3782
  propsOnMenuClose();
3746
3783
  }
@@ -3771,9 +3808,9 @@ function _extends() {
3771
3808
  }, _extends.apply(null, arguments);
3772
3809
  }
3773
3810
 
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
3811
+ // ../../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
3812
  var React11 = __toESM(require("react"));
3776
- var import_react50 = require("react");
3813
+ var import_react51 = require("react");
3777
3814
 
3778
3815
  // ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
3779
3816
  function _classCallCheck(a, n) {
@@ -3879,13 +3916,13 @@ function _toConsumableArray(r) {
3879
3916
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
3880
3917
  }
3881
3918
 
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
3919
+ // ../../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
3920
  var React10 = __toESM(require("react"));
3884
- var import_react48 = require("react");
3921
+ var import_react49 = require("react");
3885
3922
 
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
3923
+ // ../../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
3924
  var React8 = __toESM(require("react"));
3888
- var import_react44 = require("react");
3925
+ var import_react45 = require("react");
3889
3926
 
3890
3927
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
3891
3928
  var isDevelopment = false;
@@ -5057,7 +5094,7 @@ var syncFallback = function syncFallback2(create) {
5057
5094
  var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
5058
5095
  var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
5059
5096
 
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
5097
+ // ../../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
5098
  var isDevelopment3 = false;
5062
5099
  var isBrowser4 = typeof document !== "undefined";
5063
5100
  var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
@@ -5073,15 +5110,15 @@ var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
5073
5110
  );
5074
5111
  var CacheProvider = EmotionCacheContext.Provider;
5075
5112
  var withEmotionCache = function withEmotionCache2(func) {
5076
- return /* @__PURE__ */ (0, import_react44.forwardRef)(function(props, ref) {
5077
- var cache = (0, import_react44.useContext)(EmotionCacheContext);
5113
+ return /* @__PURE__ */ (0, import_react45.forwardRef)(function(props, ref) {
5114
+ var cache = (0, import_react45.useContext)(EmotionCacheContext);
5078
5115
  return func(props, cache, ref);
5079
5116
  });
5080
5117
  };
5081
5118
  if (!isBrowser4) {
5082
5119
  withEmotionCache = function withEmotionCache3(func) {
5083
5120
  return function(props) {
5084
- var cache = (0, import_react44.useContext)(EmotionCacheContext);
5121
+ var cache = (0, import_react45.useContext)(EmotionCacheContext);
5085
5122
  if (cache === null) {
5086
5123
  cache = createCache({
5087
5124
  key: "css"
@@ -5161,7 +5198,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
5161
5198
  });
5162
5199
  var Emotion$1 = Emotion;
5163
5200
 
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
5201
+ // ../../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
5202
  var React9 = __toESM(require("react"));
5166
5203
  var import_extends2 = __toESM(require_extends());
5167
5204
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
@@ -5212,8 +5249,8 @@ function _taggedTemplateLiteral(e, t) {
5212
5249
  }));
5213
5250
  }
5214
5251
 
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");
5252
+ // ../../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
5253
+ var import_react48 = require("react");
5217
5254
  var import_react_dom = require("react-dom");
5218
5255
 
5219
5256
  // ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
@@ -5613,12 +5650,12 @@ function autoUpdate(reference, floating, update, options2) {
5613
5650
  };
5614
5651
  }
5615
5652
 
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");
5653
+ // ../../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
5654
+ var import_react46 = require("react");
5618
5655
  var isClient = typeof document !== "undefined";
5619
- var index = isClient ? import_react45.useLayoutEffect : import_react45.useEffect;
5656
+ var index = isClient ? import_react46.useLayoutEffect : import_react46.useEffect;
5620
5657
 
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
5658
+ // ../../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
5659
  var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
5623
5660
  var noop = function noop2() {
5624
5661
  };
@@ -5950,13 +5987,13 @@ var menuCSS = function menuCSS2(_ref23, unstyled) {
5950
5987
  marginTop: spacing2.menuGutter
5951
5988
  });
5952
5989
  };
5953
- var PortalPlacementContext = /* @__PURE__ */ (0, import_react47.createContext)(null);
5990
+ var PortalPlacementContext = /* @__PURE__ */ (0, import_react48.createContext)(null);
5954
5991
  var MenuPlacer = function MenuPlacer2(props) {
5955
5992
  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];
5993
+ var _ref3 = (0, import_react48.useContext)(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
5994
+ var ref = (0, import_react48.useRef)(null);
5995
+ var _useState = (0, import_react48.useState)(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
5996
+ var _useState3 = (0, import_react48.useState)(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
5960
5997
  var controlHeight2 = theme.spacing.controlHeight;
5961
5998
  index(function() {
5962
5999
  var menuEl = ref.current;
@@ -6058,16 +6095,16 @@ var menuPortalCSS = function menuPortalCSS2(_ref8) {
6058
6095
  };
6059
6096
  var MenuPortal = function MenuPortal2(props) {
6060
6097
  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() {
6098
+ var menuPortalRef = (0, import_react48.useRef)(null);
6099
+ var cleanupRef = (0, import_react48.useRef)(null);
6100
+ var _useState5 = (0, import_react48.useState)(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
6101
+ var portalPlacementContext = (0, import_react48.useMemo)(function() {
6065
6102
  return {
6066
6103
  setPortalPlacement
6067
6104
  };
6068
6105
  }, []);
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() {
6106
+ var _useState7 = (0, import_react48.useState)(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
6107
+ var updateComputedPosition = (0, import_react48.useCallback)(function() {
6071
6108
  if (!controlElement) return;
6072
6109
  var rect = getBoundingClientObj(controlElement);
6073
6110
  var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset;
@@ -6082,7 +6119,7 @@ var MenuPortal = function MenuPortal2(props) {
6082
6119
  index(function() {
6083
6120
  updateComputedPosition();
6084
6121
  }, [updateComputedPosition]);
6085
- var runAutoUpdate = (0, import_react47.useCallback)(function() {
6122
+ var runAutoUpdate = (0, import_react48.useCallback)(function() {
6086
6123
  if (typeof cleanupRef.current === "function") {
6087
6124
  cleanupRef.current();
6088
6125
  cleanupRef.current = null;
@@ -6096,7 +6133,7 @@ var MenuPortal = function MenuPortal2(props) {
6096
6133
  index(function() {
6097
6134
  runAutoUpdate();
6098
6135
  }, [runAutoUpdate]);
6099
- var setMenuPortalElement = (0, import_react47.useCallback)(function(menuPortalElement) {
6136
+ var setMenuPortalElement = (0, import_react48.useCallback)(function(menuPortalElement) {
6100
6137
  menuPortalRef.current = menuPortalElement;
6101
6138
  runAutoUpdate();
6102
6139
  }, [runAutoUpdate]);
@@ -6692,7 +6729,7 @@ function memoizeOne(resultFn, isEqual2) {
6692
6729
  return memoized;
6693
6730
  }
6694
6731
 
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
6732
+ // ../../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
6733
  function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
6697
6734
  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
6735
  }
@@ -6767,10 +6804,10 @@ var LiveRegion = function LiveRegion2(props) {
6767
6804
  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
6805
  var ariaLabel = selectProps["aria-label"];
6769
6806
  var ariaLive = selectProps["aria-live"];
6770
- var messages = (0, import_react48.useMemo)(function() {
6807
+ var messages = (0, import_react49.useMemo)(function() {
6771
6808
  return _objectSpread2(_objectSpread2({}, defaultAriaLiveMessages), ariaLiveMessages || {});
6772
6809
  }, [ariaLiveMessages]);
6773
- var ariaSelected = (0, import_react48.useMemo)(function() {
6810
+ var ariaSelected = (0, import_react49.useMemo)(function() {
6774
6811
  var message = "";
6775
6812
  if (ariaSelection && messages.onChange) {
6776
6813
  var option = ariaSelection.option, selectedOptions = ariaSelection.options, removedValue = ariaSelection.removedValue, removedValues = ariaSelection.removedValues, value = ariaSelection.value;
@@ -6792,7 +6829,7 @@ var LiveRegion = function LiveRegion2(props) {
6792
6829
  }
6793
6830
  return message;
6794
6831
  }, [ariaSelection, messages, isOptionDisabled3, selectValue, getOptionLabel4]);
6795
- var ariaFocused = (0, import_react48.useMemo)(function() {
6832
+ var ariaFocused = (0, import_react49.useMemo)(function() {
6796
6833
  var focusMsg = "";
6797
6834
  var focused = focusedOption || focusedValue;
6798
6835
  var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));
@@ -6811,7 +6848,7 @@ var LiveRegion = function LiveRegion2(props) {
6811
6848
  }
6812
6849
  return focusMsg;
6813
6850
  }, [focusedOption, focusedValue, getOptionLabel4, isOptionDisabled3, messages, focusableOptions, selectValue, isAppleDevice2]);
6814
- var ariaResults = (0, import_react48.useMemo)(function() {
6851
+ var ariaResults = (0, import_react49.useMemo)(function() {
6815
6852
  var resultsMsg = "";
6816
6853
  if (menuIsOpen && options2.length && !isLoading && messages.onFilter) {
6817
6854
  var resultsMessage = screenReaderStatus2({
@@ -6825,7 +6862,7 @@ var LiveRegion = function LiveRegion2(props) {
6825
6862
  return resultsMsg;
6826
6863
  }, [focusableOptions, inputValue, menuIsOpen, messages, options2, screenReaderStatus2, isLoading]);
6827
6864
  var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus";
6828
- var ariaGuidance = (0, import_react48.useMemo)(function() {
6865
+ var ariaGuidance = (0, import_react49.useMemo)(function() {
6829
6866
  var guidanceMsg = "";
6830
6867
  if (messages.guidance) {
6831
6868
  var context = focusedValue ? "value" : menuIsOpen ? "menu" : "input";
@@ -6841,7 +6878,7 @@ var LiveRegion = function LiveRegion2(props) {
6841
6878
  }
6842
6879
  return guidanceMsg;
6843
6880
  }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
6844
- var ScreenReaderText = jsx84(import_react48.Fragment, null, jsx84("span", {
6881
+ var ScreenReaderText = jsx84(import_react49.Fragment, null, jsx84("span", {
6845
6882
  id: "aria-selection"
6846
6883
  }, ariaSelected), jsx84("span", {
6847
6884
  id: "aria-focused"
@@ -6850,7 +6887,7 @@ var LiveRegion = function LiveRegion2(props) {
6850
6887
  }, ariaResults), jsx84("span", {
6851
6888
  id: "aria-guidance"
6852
6889
  }, ariaGuidance));
6853
- return jsx84(import_react48.Fragment, null, jsx84(A11yText$1, {
6890
+ return jsx84(import_react49.Fragment, null, jsx84(A11yText$1, {
6854
6891
  id
6855
6892
  }, isInitialFocus && ScreenReaderText), jsx84(A11yText$1, {
6856
6893
  "aria-live": ariaLive,
@@ -7197,11 +7234,11 @@ var cancelScroll = function cancelScroll2(event) {
7197
7234
  };
7198
7235
  function useScrollCapture(_ref3) {
7199
7236
  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) {
7237
+ var isBottom = (0, import_react49.useRef)(false);
7238
+ var isTop = (0, import_react49.useRef)(false);
7239
+ var touchStart = (0, import_react49.useRef)(0);
7240
+ var scrollTarget = (0, import_react49.useRef)(null);
7241
+ var handleEventDelta = (0, import_react49.useCallback)(function(event, delta) {
7205
7242
  if (scrollTarget.current === null) return;
7206
7243
  var _scrollTarget$current = scrollTarget.current, scrollTop = _scrollTarget$current.scrollTop, scrollHeight = _scrollTarget$current.scrollHeight, clientHeight = _scrollTarget$current.clientHeight;
7207
7244
  var target = scrollTarget.current;
@@ -7235,17 +7272,17 @@ function useScrollCapture(_ref3) {
7235
7272
  cancelScroll(event);
7236
7273
  }
7237
7274
  }, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]);
7238
- var onWheel = (0, import_react48.useCallback)(function(event) {
7275
+ var onWheel = (0, import_react49.useCallback)(function(event) {
7239
7276
  handleEventDelta(event, event.deltaY);
7240
7277
  }, [handleEventDelta]);
7241
- var onTouchStart = (0, import_react48.useCallback)(function(event) {
7278
+ var onTouchStart = (0, import_react49.useCallback)(function(event) {
7242
7279
  touchStart.current = event.changedTouches[0].clientY;
7243
7280
  }, []);
7244
- var onTouchMove = (0, import_react48.useCallback)(function(event) {
7281
+ var onTouchMove = (0, import_react49.useCallback)(function(event) {
7245
7282
  var deltaY = touchStart.current - event.changedTouches[0].clientY;
7246
7283
  handleEventDelta(event, deltaY);
7247
7284
  }, [handleEventDelta]);
7248
- var startListening = (0, import_react48.useCallback)(function(el) {
7285
+ var startListening = (0, import_react49.useCallback)(function(el) {
7249
7286
  if (!el) return;
7250
7287
  var notPassive = supportsPassiveEvents ? {
7251
7288
  passive: false
@@ -7254,13 +7291,13 @@ function useScrollCapture(_ref3) {
7254
7291
  el.addEventListener("touchstart", onTouchStart, notPassive);
7255
7292
  el.addEventListener("touchmove", onTouchMove, notPassive);
7256
7293
  }, [onTouchMove, onTouchStart, onWheel]);
7257
- var stopListening = (0, import_react48.useCallback)(function(el) {
7294
+ var stopListening = (0, import_react49.useCallback)(function(el) {
7258
7295
  if (!el) return;
7259
7296
  el.removeEventListener("wheel", onWheel, false);
7260
7297
  el.removeEventListener("touchstart", onTouchStart, false);
7261
7298
  el.removeEventListener("touchmove", onTouchMove, false);
7262
7299
  }, [onTouchMove, onTouchStart, onWheel]);
7263
- (0, import_react48.useEffect)(function() {
7300
+ (0, import_react49.useEffect)(function() {
7264
7301
  if (!isEnabled) return;
7265
7302
  var element = scrollTarget.current;
7266
7303
  startListening(element);
@@ -7307,9 +7344,9 @@ var listenerOptions = {
7307
7344
  };
7308
7345
  function useScrollLock(_ref3) {
7309
7346
  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) {
7347
+ var originalStyles = (0, import_react49.useRef)({});
7348
+ var scrollTarget = (0, import_react49.useRef)(null);
7349
+ var addScrollLock = (0, import_react49.useCallback)(function(touchScrollTarget) {
7313
7350
  if (!canUseDOM) return;
7314
7351
  var target = document.body;
7315
7352
  var targetStyle = target && target.style;
@@ -7342,7 +7379,7 @@ function useScrollLock(_ref3) {
7342
7379
  }
7343
7380
  activeScrollLocks += 1;
7344
7381
  }, [accountForScrollbars]);
7345
- var removeScrollLock = (0, import_react48.useCallback)(function(touchScrollTarget) {
7382
+ var removeScrollLock = (0, import_react49.useCallback)(function(touchScrollTarget) {
7346
7383
  if (!canUseDOM) return;
7347
7384
  var target = document.body;
7348
7385
  var targetStyle = target && target.style;
@@ -7363,7 +7400,7 @@ function useScrollLock(_ref3) {
7363
7400
  }
7364
7401
  }
7365
7402
  }, [accountForScrollbars]);
7366
- (0, import_react48.useEffect)(function() {
7403
+ (0, import_react49.useEffect)(function() {
7367
7404
  if (!isEnabled) return;
7368
7405
  var element = scrollTarget.current;
7369
7406
  addScrollLock(element);
@@ -7407,7 +7444,7 @@ function ScrollManager(_ref3) {
7407
7444
  setScrollCaptureTarget(element);
7408
7445
  setScrollLockTarget(element);
7409
7446
  };
7410
- return jsx84(import_react48.Fragment, null, lockEnabled && jsx84("div", {
7447
+ return jsx84(import_react49.Fragment, null, lockEnabled && jsx84("div", {
7411
7448
  onClick: blurSelectInput,
7412
7449
  css: _ref2$1
7413
7450
  }), children(targetRef));
@@ -8985,10 +9022,10 @@ var Select = /* @__PURE__ */ function(_Component) {
8985
9022
  }
8986
9023
  }]);
8987
9024
  return Select3;
8988
- }(import_react48.Component);
9025
+ }(import_react49.Component);
8989
9026
  Select.defaultProps = defaultProps;
8990
9027
 
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
9028
+ // ../../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
9029
  var import_objectSpread24 = __toESM(require_objectSpread2());
8993
9030
  var import_slicedToArray3 = __toESM(require_slicedToArray());
8994
9031
  var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
@@ -9001,7 +9038,7 @@ var import_typeof5 = __toESM(require_typeof());
9001
9038
  var import_taggedTemplateLiteral2 = __toESM(require_taggedTemplateLiteral());
9002
9039
  var import_defineProperty3 = __toESM(require_defineProperty());
9003
9040
  var import_react_dom2 = require("react-dom");
9004
- var StateManagedSelect = /* @__PURE__ */ (0, import_react50.forwardRef)(function(props, ref) {
9041
+ var StateManagedSelect = /* @__PURE__ */ (0, import_react51.forwardRef)(function(props, ref) {
9005
9042
  var baseSelectProps = useStateManager(props);
9006
9043
  return /* @__PURE__ */ React11.createElement(Select, _extends({
9007
9044
  ref
@@ -9009,7 +9046,7 @@ var StateManagedSelect = /* @__PURE__ */ (0, import_react50.forwardRef)(function
9009
9046
  });
9010
9047
  var StateManagedSelect$1 = StateManagedSelect;
9011
9048
 
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
9049
+ // ../../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
9050
  var import_utils6 = require("@react-aria/utils");
9014
9051
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
9015
9052
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
@@ -9034,7 +9071,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
9034
9071
  };
9035
9072
  }
9036
9073
 
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
9074
+ // ../../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
9075
  var import_utils7 = require("@react-aria/utils");
9039
9076
  function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9040
9077
  let { description, errorMessage, isInvalid, validationState } = props;
@@ -9073,7 +9110,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9073
9110
 
9074
9111
  // src/Multiselect/Multiselect.tsx
9075
9112
  var import_utils8 = require("@react-aria/utils");
9076
- var import_system73 = require("@marigold/system");
9113
+ var import_system75 = require("@marigold/system");
9077
9114
  var import_jsx_runtime84 = require("react/jsx-runtime");
9078
9115
  var propsToBeRemoved = [
9079
9116
  "clearValue",
@@ -9101,7 +9138,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9101
9138
  {}
9102
9139
  );
9103
9140
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9104
- import_react_aria_components49.Input,
9141
+ import_react_aria_components50.Input,
9105
9142
  {
9106
9143
  disabled: props.isDisabled,
9107
9144
  ref: innerRef,
@@ -9111,20 +9148,20 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9111
9148
  );
9112
9149
  };
9113
9150
  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" }) }) });
9151
+ 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
9152
  };
9116
9153
  var getClassNames = (classNames3) => ({
9117
- control: () => (0, import_system73.cn)(
9154
+ control: () => (0, import_system75.cn)(
9118
9155
  "relative flex items-center box-border flex-wrap justify-between",
9119
9156
  classNames3.container
9120
9157
  ),
9121
9158
  container: () => "pointer-events-auto",
9122
9159
  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 "),
9160
+ menu: () => (0, import_system75.cn)("b", classNames3.listContainer),
9161
+ menuList: () => (0, import_system75.cn)("overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh] p-0", classNames3.list),
9162
+ multiValue: () => (0, import_system75.cn)(classNames3.tag, "m-0 "),
9126
9163
  multiValueLabel: () => "p-0",
9127
- option: ({ isFocused }) => (0, import_system73.cn)(classNames3.option, { isFocused }),
9164
+ option: ({ isFocused }) => (0, import_system75.cn)(classNames3.option, { isFocused }),
9128
9165
  placeholder: () => "hidden",
9129
9166
  valueContainer: () => classNames3.valueContainer
9130
9167
  });
@@ -9145,7 +9182,7 @@ var Multiselect = ({
9145
9182
  onSelectionChange,
9146
9183
  ...rest
9147
9184
  }) => {
9148
- const classNames3 = (0, import_system73.useClassNames)({
9185
+ const classNames3 = (0, import_system75.useClassNames)({
9149
9186
  component: "MultiSelect",
9150
9187
  size: size2,
9151
9188
  variant
@@ -9164,11 +9201,11 @@ var Multiselect = ({
9164
9201
  errorMessage
9165
9202
  });
9166
9203
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9167
- import_react_aria_components49.Provider,
9204
+ import_react_aria_components50.Provider,
9168
9205
  {
9169
9206
  values: [
9170
9207
  [
9171
- import_react_aria_components49.FieldErrorContext,
9208
+ import_react_aria_components50.FieldErrorContext,
9172
9209
  {
9173
9210
  isInvalid: !!error,
9174
9211
  validationDetails: {},
@@ -9176,7 +9213,7 @@ var Multiselect = ({
9176
9213
  }
9177
9214
  ],
9178
9215
  [
9179
- import_react_aria_components49.InputContext,
9216
+ import_react_aria_components50.InputContext,
9180
9217
  {
9181
9218
  ...fieldProps,
9182
9219
  placeholder,
@@ -9184,19 +9221,19 @@ var Multiselect = ({
9184
9221
  }
9185
9222
  ],
9186
9223
  [
9187
- import_react_aria_components49.ButtonContext,
9224
+ import_react_aria_components50.ButtonContext,
9188
9225
  {
9189
9226
  // react-select doesn't handle readonly so we had to do it manually here
9190
9227
  // keep to the button disabled in read only to prevent menu from opening
9191
9228
  isDisabled: disabled || readOnly,
9192
- className: (0, import_system73.cn)("flex items-center", classNames3.closeButton)
9229
+ className: (0, import_system75.cn)("flex items-center", classNames3.closeButton)
9193
9230
  }
9194
9231
  ]
9195
9232
  ],
9196
9233
  children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9197
9234
  "div",
9198
9235
  {
9199
- className: (0, import_system73.cn)(classNames3.field, "group/field"),
9236
+ className: (0, import_system75.cn)(classNames3.field, "group/field"),
9200
9237
  "data-required": props.required,
9201
9238
  "data-invalid": error,
9202
9239
  "data-readonly": readOnly,
@@ -9259,13 +9296,13 @@ var Multiselect = ({
9259
9296
  };
9260
9297
 
9261
9298
  // 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");
9299
+ var import_react52 = require("react");
9300
+ var import_react_aria_components52 = require("react-aria-components");
9301
+ var import_system77 = require("@marigold/system");
9265
9302
 
9266
9303
  // src/NumberField/StepButton.tsx
9267
- var import_react_aria_components50 = require("react-aria-components");
9268
- var import_system74 = require("@marigold/system");
9304
+ var import_react_aria_components51 = require("react-aria-components");
9305
+ var import_system76 = require("@marigold/system");
9269
9306
  var import_jsx_runtime85 = require("react/jsx-runtime");
9270
9307
  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
9308
  "path",
@@ -9286,9 +9323,9 @@ var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("svg", { width:
9286
9323
  var _StepButton = ({ direction, className, ...props }) => {
9287
9324
  const Icon4 = direction === "up" ? Plus : Minus;
9288
9325
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9289
- import_react_aria_components50.Button,
9326
+ import_react_aria_components51.Button,
9290
9327
  {
9291
- className: (0, import_system74.cn)(
9328
+ className: (0, import_system76.cn)(
9292
9329
  [
9293
9330
  "flex items-center justify-center",
9294
9331
  "cursor-pointer data-disabled:cursor-not-allowed"
@@ -9303,7 +9340,7 @@ var _StepButton = ({ direction, className, ...props }) => {
9303
9340
 
9304
9341
  // src/NumberField/NumberField.tsx
9305
9342
  var import_jsx_runtime86 = require("react/jsx-runtime");
9306
- var _NumberField = (0, import_react51.forwardRef)(
9343
+ var _NumberField = (0, import_react52.forwardRef)(
9307
9344
  ({
9308
9345
  variant,
9309
9346
  size: size2,
@@ -9314,7 +9351,7 @@ var _NumberField = (0, import_react51.forwardRef)(
9314
9351
  hideStepper,
9315
9352
  ...rest
9316
9353
  }, ref) => {
9317
- const classNames3 = (0, import_system75.useClassNames)({
9354
+ const classNames3 = (0, import_system77.useClassNames)({
9318
9355
  component: "NumberField",
9319
9356
  size: size2,
9320
9357
  variant
@@ -9330,11 +9367,11 @@ var _NumberField = (0, import_react51.forwardRef)(
9330
9367
  return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9331
9368
  FieldBase,
9332
9369
  {
9333
- as: import_react_aria_components51.NumberField,
9370
+ as: import_react_aria_components52.NumberField,
9334
9371
  ...props,
9335
9372
  "data-readonly": readOnly ? "true" : void 0,
9336
9373
  "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: [
9374
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_react_aria_components52.Group, { className: (0, import_system77.cn)("flex items-stretch", classNames3.group), children: [
9338
9375
  showStepper && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9339
9376
  _StepButton,
9340
9377
  {
@@ -9344,10 +9381,10 @@ var _NumberField = (0, import_react51.forwardRef)(
9344
9381
  }
9345
9382
  ),
9346
9383
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
9347
- import_react_aria_components51.Input,
9384
+ import_react_aria_components52.Input,
9348
9385
  {
9349
9386
  ref,
9350
- className: (0, import_system75.cn)("h-full flex-1 outline-none", classNames3.input)
9387
+ className: (0, import_system77.cn)("h-full flex-1 outline-none", classNames3.input)
9351
9388
  }
9352
9389
  ),
9353
9390
  showStepper && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
@@ -9365,9 +9402,9 @@ var _NumberField = (0, import_react51.forwardRef)(
9365
9402
  );
9366
9403
 
9367
9404
  // src/Pagination/Pagination.tsx
9368
- var import_react54 = require("react");
9405
+ var import_react55 = require("react");
9369
9406
  var import_focus2 = require("@react-aria/focus");
9370
- var import_system78 = require("@marigold/system");
9407
+ var import_system80 = require("@marigold/system");
9371
9408
 
9372
9409
  // src/Pagination/Ellipsis.tsx
9373
9410
  var import_jsx_runtime87 = require("react/jsx-runtime");
@@ -9383,13 +9420,13 @@ var Ellipsis = () => {
9383
9420
  };
9384
9421
 
9385
9422
  // src/Pagination/NavigationButton.tsx
9386
- var import_react52 = require("react");
9423
+ var import_react53 = require("react");
9387
9424
  var import_button2 = require("@react-aria/button");
9388
- var import_system76 = require("@marigold/system");
9425
+ var import_system78 = require("@marigold/system");
9389
9426
  var import_jsx_runtime88 = require("react/jsx-runtime");
9390
9427
  var NavigationButton = (props) => {
9391
- const ref = (0, import_react52.useRef)(null);
9392
- const classNames3 = (0, import_system76.useClassNames)({
9428
+ const ref = (0, import_react53.useRef)(null);
9429
+ const classNames3 = (0, import_system78.useClassNames)({
9393
9430
  component: "Pagination"
9394
9431
  });
9395
9432
  let { buttonProps } = (0, import_button2.useButton)(props, ref);
@@ -9409,7 +9446,7 @@ var NavigationButton = (props) => {
9409
9446
  ...buttonProps,
9410
9447
  ...rest,
9411
9448
  disabled: isDisabled,
9412
- className: (0, import_system76.cn)(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9449
+ className: (0, import_system78.cn)(classNames3.navigationButton, controlLabel && "w-24 px-2"),
9413
9450
  "data-selected": isSelected,
9414
9451
  children: [
9415
9452
  position2 === "left" && children,
@@ -9421,13 +9458,13 @@ var NavigationButton = (props) => {
9421
9458
  };
9422
9459
 
9423
9460
  // src/Pagination/PageButton.tsx
9424
- var import_react53 = require("react");
9461
+ var import_react54 = require("react");
9425
9462
  var import_button3 = require("@react-aria/button");
9426
- var import_system77 = require("@marigold/system");
9463
+ var import_system79 = require("@marigold/system");
9427
9464
  var import_jsx_runtime89 = require("react/jsx-runtime");
9428
9465
  var PageButton = (props) => {
9429
- const ref = (0, import_react53.useRef)(null);
9430
- const classNames3 = (0, import_system77.useClassNames)({
9466
+ const ref = (0, import_react54.useRef)(null);
9467
+ const classNames3 = (0, import_system79.useClassNames)({
9431
9468
  component: "Pagination"
9432
9469
  });
9433
9470
  let { buttonProps } = (0, import_button3.useButton)(props, ref);
@@ -9492,8 +9529,8 @@ var InnerPagination = ({
9492
9529
  const focusManager = (0, import_focus2.useFocusManager)();
9493
9530
  const isFirstPage = currentPage === 1;
9494
9531
  const isLastPage = currentPage === totalPages || totalPages === 0;
9495
- const isFirstRender = (0, import_react54.useRef)(true);
9496
- (0, import_react54.useEffect)(() => {
9532
+ const isFirstRender = (0, import_react55.useRef)(true);
9533
+ (0, import_react55.useEffect)(() => {
9497
9534
  if (isFirstRender.current) {
9498
9535
  isFirstRender.current = false;
9499
9536
  return;
@@ -9506,7 +9543,7 @@ var InnerPagination = ({
9506
9543
  onChange2(newPage);
9507
9544
  }
9508
9545
  };
9509
- const classNames3 = (0, import_system78.useClassNames)({ component: "Pagination" });
9546
+ const classNames3 = (0, import_system80.useClassNames)({ component: "Pagination" });
9510
9547
  const handleKeyDown = (onEnter) => (e) => {
9511
9548
  if (e.key === "ArrowRight") {
9512
9549
  e.preventDefault();
@@ -9565,7 +9602,7 @@ var _Pagination = ({
9565
9602
  pageSize,
9566
9603
  ...props
9567
9604
  }) => {
9568
- const [currentPage, setCurrentPage] = (0, import_react54.useState)(page != null ? page : defaultPage);
9605
+ const [currentPage, setCurrentPage] = (0, import_react55.useState)(page != null ? page : defaultPage);
9569
9606
  const totalPages = Math.ceil(totalItems / pageSize);
9570
9607
  const pageRange = usePageRange({ currentPage, totalPages });
9571
9608
  return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
@@ -9589,20 +9626,20 @@ var _Pagination = ({
9589
9626
  };
9590
9627
 
9591
9628
  // 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");
9629
+ var import_react57 = require("react");
9630
+ var import_react_aria_components54 = require("react-aria-components");
9631
+ var import_system82 = require("@marigold/system");
9595
9632
 
9596
9633
  // src/Radio/Context.ts
9597
- var import_react55 = require("react");
9598
- var RadioGroupContext = (0, import_react55.createContext)(
9634
+ var import_react56 = require("react");
9635
+ var RadioGroupContext = (0, import_react56.createContext)(
9599
9636
  null
9600
9637
  );
9601
- var useRadioGroupContext = () => (0, import_react55.useContext)(RadioGroupContext);
9638
+ var useRadioGroupContext = () => (0, import_react56.useContext)(RadioGroupContext);
9602
9639
 
9603
9640
  // src/Radio/RadioGroup.tsx
9604
- var import_react_aria_components52 = require("react-aria-components");
9605
- var import_system79 = require("@marigold/system");
9641
+ var import_react_aria_components53 = require("react-aria-components");
9642
+ var import_system81 = require("@marigold/system");
9606
9643
  var import_jsx_runtime91 = require("react/jsx-runtime");
9607
9644
  var _RadioGroup = ({
9608
9645
  variant,
@@ -9619,7 +9656,7 @@ var _RadioGroup = ({
9619
9656
  width,
9620
9657
  ...rest
9621
9658
  }) => {
9622
- const classNames3 = (0, import_system79.useClassNames)({ component: "Radio", variant, size: size2 });
9659
+ const classNames3 = (0, import_system81.useClassNames)({ component: "Radio", variant, size: size2 });
9623
9660
  const props = {
9624
9661
  isDisabled: disabled,
9625
9662
  isReadOnly: readOnly,
@@ -9630,7 +9667,7 @@ var _RadioGroup = ({
9630
9667
  return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
9631
9668
  FieldBase,
9632
9669
  {
9633
- as: import_react_aria_components52.RadioGroup,
9670
+ as: import_react_aria_components53.RadioGroup,
9634
9671
  width,
9635
9672
  label,
9636
9673
  description,
@@ -9644,7 +9681,7 @@ var _RadioGroup = ({
9644
9681
  role: "presentation",
9645
9682
  "data-testid": "group",
9646
9683
  "data-orientation": orientation,
9647
- className: (0, import_system79.cn)(
9684
+ className: (0, import_system81.cn)(
9648
9685
  classNames3.group,
9649
9686
  "flex items-start",
9650
9687
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
@@ -9662,7 +9699,7 @@ var Dot = () => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("svg", { viewBox:
9662
9699
  var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
9663
9700
  "div",
9664
9701
  {
9665
- className: (0, import_system80.cn)(
9702
+ className: (0, import_system82.cn)(
9666
9703
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
9667
9704
  className
9668
9705
  ),
@@ -9671,19 +9708,19 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx
9671
9708
  children: checked ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Dot, {}) : null
9672
9709
  }
9673
9710
  );
9674
- var _Radio = (0, import_react56.forwardRef)(
9711
+ var _Radio = (0, import_react57.forwardRef)(
9675
9712
  ({ value, disabled, width, children, ...props }, ref) => {
9676
9713
  const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
9677
- const classNames3 = (0, import_system80.useClassNames)({
9714
+ const classNames3 = (0, import_system82.useClassNames)({
9678
9715
  component: "Radio",
9679
9716
  variant: variant || props.variant,
9680
9717
  size: size2 || props.size
9681
9718
  });
9682
9719
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
9683
- import_react_aria_components53.Radio,
9720
+ import_react_aria_components54.Radio,
9684
9721
  {
9685
9722
  ref,
9686
- className: (0, import_system80.cn)(
9723
+ className: (0, import_system82.cn)(
9687
9724
  "group/radio",
9688
9725
  "relative flex items-center gap-[1ch]",
9689
9726
  width || groupWidth || "w-full",
@@ -9697,7 +9734,7 @@ var _Radio = (0, import_react56.forwardRef)(
9697
9734
  Icon3,
9698
9735
  {
9699
9736
  checked: isSelected,
9700
- className: (0, import_system80.cn)(
9737
+ className: (0, import_system82.cn)(
9701
9738
  disabled ? "cursor-not-allowed" : "cursor-pointer",
9702
9739
  classNames3.radio
9703
9740
  )
@@ -9712,10 +9749,10 @@ var _Radio = (0, import_react56.forwardRef)(
9712
9749
  _Radio.Group = _RadioGroup;
9713
9750
 
9714
9751
  // src/SearchField/SearchField.tsx
9715
- var import_react57 = require("react");
9716
- var import_react_aria_components54 = require("react-aria-components");
9752
+ var import_react58 = require("react");
9753
+ var import_react_aria_components55 = require("react-aria-components");
9717
9754
  var import_jsx_runtime93 = require("react/jsx-runtime");
9718
- var _SearchField = (0, import_react57.forwardRef)(
9755
+ var _SearchField = (0, import_react58.forwardRef)(
9719
9756
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
9720
9757
  const props = {
9721
9758
  ...rest,
@@ -9724,7 +9761,7 @@ var _SearchField = (0, import_react57.forwardRef)(
9724
9761
  isReadOnly: readOnly,
9725
9762
  isInvalid: error
9726
9763
  };
9727
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FieldBase, { as: import_react_aria_components54.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
9764
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FieldBase, { as: import_react_aria_components55.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
9728
9765
  SearchInput,
9729
9766
  {
9730
9767
  ref,
@@ -9735,11 +9772,11 @@ var _SearchField = (0, import_react57.forwardRef)(
9735
9772
  );
9736
9773
 
9737
9774
  // 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");
9775
+ var import_react59 = require("react");
9776
+ var import_react_aria_components56 = require("react-aria-components");
9777
+ var import_system83 = require("@marigold/system");
9741
9778
  var import_jsx_runtime94 = require("react/jsx-runtime");
9742
- var _Select = (0, import_react58.forwardRef)(
9779
+ var _Select = (0, import_react59.forwardRef)(
9743
9780
  ({
9744
9781
  disabled,
9745
9782
  required,
@@ -9759,18 +9796,18 @@ var _Select = (0, import_react58.forwardRef)(
9759
9796
  onSelectionChange: onChange2,
9760
9797
  ...rest
9761
9798
  };
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: [
9799
+ const classNames3 = (0, import_system83.useClassNames)({ component: "Select", variant, size: size2 });
9800
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(FieldBase, { as: import_react_aria_components56.Select, ref, variant, size: size2, ...props, children: [
9764
9801
  /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
9765
9802
  IconButton,
9766
9803
  {
9767
- className: (0, import_system81.cn)(
9804
+ className: (0, import_system83.cn)(
9768
9805
  "flex w-full items-center justify-between gap-1 overflow-hidden",
9769
9806
  classNames3.select
9770
9807
  ),
9771
9808
  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) })
9809
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_aria_components56.SelectValue, { className: "[&>[slot=description]]:hidden" }),
9810
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ChevronDown, { className: (0, import_system83.cn)("size-4", classNames3.icon) })
9774
9811
  ]
9775
9812
  }
9776
9813
  ),
@@ -9782,21 +9819,21 @@ _Select.Option = _ListBox.Item;
9782
9819
  _Select.Section = _ListBox.Section;
9783
9820
 
9784
9821
  // 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");
9822
+ var import_react62 = require("react");
9823
+ var import_react_aria_components58 = require("react-aria-components");
9824
+ var import_system85 = require("@marigold/system");
9788
9825
 
9789
9826
  // src/SelectList/Context.ts
9790
- var import_react59 = require("react");
9791
- var SelectListContext = (0, import_react59.createContext)(
9827
+ var import_react60 = require("react");
9828
+ var SelectListContext = (0, import_react60.createContext)(
9792
9829
  {}
9793
9830
  );
9794
- var useSelectListContext = () => (0, import_react59.useContext)(SelectListContext);
9831
+ var useSelectListContext = () => (0, import_react60.useContext)(SelectListContext);
9795
9832
 
9796
9833
  // 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");
9834
+ var import_react61 = require("react");
9835
+ var import_react_aria_components57 = require("react-aria-components");
9836
+ var import_system84 = require("@marigold/system");
9800
9837
  var import_jsx_runtime95 = require("react/jsx-runtime");
9801
9838
  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
9839
  "path",
@@ -9816,16 +9853,16 @@ var SelectionIndicator = ({ selectionMode }) => {
9816
9853
  }
9817
9854
  }
9818
9855
  };
9819
- var _SelectListItem = (0, import_react60.forwardRef)(
9856
+ var _SelectListItem = (0, import_react61.forwardRef)(
9820
9857
  ({ children, ...props }, ref) => {
9821
9858
  let textValue = typeof children === "string" ? children : void 0;
9822
9859
  const { classNames: classNames3 } = useSelectListContext();
9823
9860
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
9824
- import_react_aria_components56.GridListItem,
9861
+ import_react_aria_components57.GridListItem,
9825
9862
  {
9826
9863
  textValue,
9827
9864
  ...props,
9828
- className: (0, import_system82.cn)("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9865
+ className: (0, import_system84.cn)("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9829
9866
  ref,
9830
9867
  children: ({ selectionMode }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
9831
9868
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(SelectionIndicator, { selectionMode }),
@@ -9838,20 +9875,20 @@ var _SelectListItem = (0, import_react60.forwardRef)(
9838
9875
 
9839
9876
  // src/SelectList/SelectList.tsx
9840
9877
  var import_jsx_runtime96 = require("react/jsx-runtime");
9841
- var _SelectList = (0, import_react61.forwardRef)(
9878
+ var _SelectList = (0, import_react62.forwardRef)(
9842
9879
  ({ onChange: onChange2, ...rest }, ref) => {
9843
- const classNames3 = (0, import_system83.useClassNames)({ component: "ListBox" });
9880
+ const classNames3 = (0, import_system85.useClassNames)({ component: "ListBox" });
9844
9881
  const props = {
9845
9882
  onSelectionChange: onChange2,
9846
9883
  ...rest
9847
9884
  };
9848
9885
  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,
9886
+ import_react_aria_components58.GridList,
9850
9887
  {
9851
9888
  ...props,
9852
9889
  layout: "grid",
9853
9890
  ref,
9854
- className: (0, import_system83.cn)(
9891
+ className: (0, import_system85.cn)(
9855
9892
  "group/list overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
9856
9893
  classNames3.list
9857
9894
  ),
@@ -9863,7 +9900,7 @@ var _SelectList = (0, import_react61.forwardRef)(
9863
9900
  _SelectList.Item = _SelectListItem;
9864
9901
 
9865
9902
  // src/Scrollable/Scrollable.tsx
9866
- var import_system84 = require("@marigold/system");
9903
+ var import_system86 = require("@marigold/system");
9867
9904
  var import_jsx_runtime97 = require("react/jsx-runtime");
9868
9905
  var Scrollable = ({
9869
9906
  children,
@@ -9874,18 +9911,18 @@ var Scrollable = ({
9874
9911
  "div",
9875
9912
  {
9876
9913
  ...props,
9877
- className: (0, import_system84.cn)(["sticky h-(--height) overflow-auto", import_system84.width[width]]),
9878
- style: (0, import_system84.createVar)({ height }),
9914
+ className: (0, import_system86.cn)(["sticky h-(--height) overflow-auto", import_system86.width[width]]),
9915
+ style: (0, import_system86.createVar)({ height }),
9879
9916
  children
9880
9917
  }
9881
9918
  );
9882
9919
 
9883
9920
  // 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");
9921
+ var import_react63 = require("react");
9922
+ var import_react_aria_components59 = require("react-aria-components");
9923
+ var import_system87 = require("@marigold/system");
9887
9924
  var import_jsx_runtime98 = require("react/jsx-runtime");
9888
- var _Slider = (0, import_react62.forwardRef)(
9925
+ var _Slider = (0, import_react63.forwardRef)(
9889
9926
  ({
9890
9927
  thumbLabels,
9891
9928
  variant,
@@ -9895,7 +9932,7 @@ var _Slider = (0, import_react62.forwardRef)(
9895
9932
  label,
9896
9933
  ...rest
9897
9934
  }, ref) => {
9898
- const classNames3 = (0, import_system85.useClassNames)({
9935
+ const classNames3 = (0, import_system87.useClassNames)({
9899
9936
  component: "Slider",
9900
9937
  variant,
9901
9938
  size: size2
@@ -9907,26 +9944,26 @@ var _Slider = (0, import_react62.forwardRef)(
9907
9944
  return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
9908
9945
  FieldBase,
9909
9946
  {
9910
- as: import_react_aria_components58.Slider,
9911
- className: (0, import_system85.cn)(
9947
+ as: import_react_aria_components59.Slider,
9948
+ className: (0, import_system87.cn)(
9912
9949
  "grid grid-cols-[auto_1fr] gap-y-1",
9913
9950
  classNames3.container,
9914
- import_system85.width[width]
9951
+ import_system87.width[width]
9915
9952
  ),
9916
9953
  ref,
9917
9954
  ...props,
9918
9955
  children: [
9919
9956
  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 ") }),
9957
+ /* @__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
9958
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9922
- import_react_aria_components58.SliderTrack,
9959
+ import_react_aria_components59.SliderTrack,
9923
9960
  {
9924
- className: (0, import_system85.cn)("relative col-span-2 h-2 w-full", classNames3.track),
9961
+ className: (0, import_system87.cn)("relative col-span-2 h-2 w-full", classNames3.track),
9925
9962
  children: ({ state }) => /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_jsx_runtime98.Fragment, { children: [
9926
9963
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9927
9964
  "div",
9928
9965
  {
9929
- className: (0, import_system85.cn)(
9966
+ className: (0, import_system87.cn)(
9930
9967
  "absolute top-[50%] h-2 w-full translate-y-[-50%]",
9931
9968
  classNames3.track
9932
9969
  )
@@ -9935,7 +9972,7 @@ var _Slider = (0, import_react62.forwardRef)(
9935
9972
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9936
9973
  "div",
9937
9974
  {
9938
- className: (0, import_system85.cn)(
9975
+ className: (0, import_system87.cn)(
9939
9976
  "absolute top-[50%] h-2 translate-y-[-50%]",
9940
9977
  classNames3.selectedTrack
9941
9978
  ),
@@ -9946,9 +9983,9 @@ var _Slider = (0, import_react62.forwardRef)(
9946
9983
  }
9947
9984
  ),
9948
9985
  state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
9949
- import_react_aria_components58.SliderThumb,
9986
+ import_react_aria_components59.SliderThumb,
9950
9987
  {
9951
- className: (0, import_system85.cn)("top-1/2 cursor-pointer", classNames3.thumb),
9988
+ className: (0, import_system87.cn)("top-1/2 cursor-pointer", classNames3.thumb),
9952
9989
  index: i,
9953
9990
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i],
9954
9991
  name: thumbLabels == null ? void 0 : thumbLabels[i]
@@ -9969,7 +10006,7 @@ var import_jsx_runtime99 = require("react/jsx-runtime");
9969
10006
  var Split = () => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { role: "separator", className: "grow" });
9970
10007
 
9971
10008
  // src/Stack/Stack.tsx
9972
- var import_system86 = require("@marigold/system");
10009
+ var import_system88 = require("@marigold/system");
9973
10010
  var import_jsx_runtime100 = require("react/jsx-runtime");
9974
10011
  var Stack = ({
9975
10012
  children,
@@ -9983,11 +10020,11 @@ var Stack = ({
9983
10020
  return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
9984
10021
  "div",
9985
10022
  {
9986
- className: (0, import_system86.cn)(
10023
+ className: (0, import_system88.cn)(
9987
10024
  "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]),
10025
+ import_system88.gapSpace[space],
10026
+ alignX && ((_b = (_a = import_system88.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
10027
+ alignY && ((_d = (_c = import_system88.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
9991
10028
  stretch && "h-full w-full"
9992
10029
  ),
9993
10030
  ...props,
@@ -9997,11 +10034,11 @@ var Stack = ({
9997
10034
  };
9998
10035
 
9999
10036
  // 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");
10037
+ var import_react64 = require("react");
10038
+ var import_react_aria_components60 = require("react-aria-components");
10039
+ var import_system89 = require("@marigold/system");
10003
10040
  var import_jsx_runtime101 = require("react/jsx-runtime");
10004
- var _Switch = (0, import_react63.forwardRef)(
10041
+ var _Switch = (0, import_react64.forwardRef)(
10005
10042
  ({
10006
10043
  variant,
10007
10044
  size: size2,
@@ -10012,7 +10049,7 @@ var _Switch = (0, import_react63.forwardRef)(
10012
10049
  readOnly,
10013
10050
  ...rest
10014
10051
  }, ref) => {
10015
- const classNames3 = (0, import_system87.useClassNames)({ component: "Switch", size: size2, variant });
10052
+ const classNames3 = (0, import_system89.useClassNames)({ component: "Switch", size: size2, variant });
10016
10053
  const props = {
10017
10054
  isDisabled: disabled,
10018
10055
  isReadOnly: readOnly,
@@ -10020,12 +10057,12 @@ var _Switch = (0, import_react63.forwardRef)(
10020
10057
  ...rest
10021
10058
  };
10022
10059
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
10023
- import_react_aria_components59.Switch,
10060
+ import_react_aria_components60.Switch,
10024
10061
  {
10025
10062
  ...props,
10026
10063
  ref,
10027
- className: (0, import_system87.cn)(
10028
- import_system87.width[width],
10064
+ className: (0, import_system89.cn)(
10065
+ import_system89.width[width],
10029
10066
  "group/switch",
10030
10067
  "flex items-center gap-[1ch]",
10031
10068
  classNames3.container
@@ -10040,15 +10077,15 @@ var _Switch = (0, import_react63.forwardRef)(
10040
10077
  );
10041
10078
 
10042
10079
  // src/Table/Table.tsx
10043
- var import_react71 = require("react");
10080
+ var import_react72 = require("react");
10044
10081
  var import_table9 = require("@react-aria/table");
10045
10082
  var import_table10 = require("@react-stately/table");
10046
- var import_system94 = require("@marigold/system");
10083
+ var import_system96 = require("@marigold/system");
10047
10084
 
10048
10085
  // 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);
10086
+ var import_react65 = require("react");
10087
+ var TableContext = (0, import_react65.createContext)({});
10088
+ var useTableContext = () => (0, import_react65.useContext)(TableContext);
10052
10089
 
10053
10090
  // src/Table/TableBody.tsx
10054
10091
  var import_table = require("@react-aria/table");
@@ -10075,14 +10112,14 @@ var TableBody = ({
10075
10112
  };
10076
10113
 
10077
10114
  // src/Table/TableCell.tsx
10078
- var import_react65 = require("react");
10115
+ var import_react66 = require("react");
10079
10116
  var import_focus3 = require("@react-aria/focus");
10080
10117
  var import_table2 = require("@react-aria/table");
10081
10118
  var import_utils9 = require("@react-aria/utils");
10082
- var import_system88 = require("@marigold/system");
10119
+ var import_system90 = require("@marigold/system");
10083
10120
  var import_jsx_runtime103 = require("react/jsx-runtime");
10084
10121
  var TableCell = ({ cell, align = "left" }) => {
10085
- const ref = (0, import_react65.useRef)(null);
10122
+ const ref = (0, import_react66.useRef)(null);
10086
10123
  const { interactive, state, classNames: classNames3 } = useTableContext();
10087
10124
  const disabled = state.disabledKeys.has(cell.parentKey);
10088
10125
  const { gridCellProps } = (0, import_table2.useTableCell)(
@@ -10102,12 +10139,12 @@ var TableCell = ({ cell, align = "left" }) => {
10102
10139
  onPointerDown: (e) => e.stopPropagation()
10103
10140
  };
10104
10141
  const { focusProps, isFocusVisible } = (0, import_focus3.useFocusRing)();
10105
- const stateProps = (0, import_system88.useStateProps)({ disabled, focusVisible: isFocusVisible });
10142
+ const stateProps = (0, import_system90.useStateProps)({ disabled, focusVisible: isFocusVisible });
10106
10143
  return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
10107
10144
  "td",
10108
10145
  {
10109
10146
  ref,
10110
- className: (0, import_system88.cn)(classNames3 == null ? void 0 : classNames3.cell),
10147
+ className: (0, import_system90.cn)(classNames3 == null ? void 0 : classNames3.cell),
10111
10148
  ...(0, import_utils9.mergeProps)(cellProps, focusProps),
10112
10149
  ...stateProps,
10113
10150
  align,
@@ -10117,11 +10154,11 @@ var TableCell = ({ cell, align = "left" }) => {
10117
10154
  };
10118
10155
 
10119
10156
  // src/Table/TableCheckboxCell.tsx
10120
- var import_react66 = require("react");
10157
+ var import_react67 = require("react");
10121
10158
  var import_focus4 = require("@react-aria/focus");
10122
10159
  var import_table3 = require("@react-aria/table");
10123
10160
  var import_utils10 = require("@react-aria/utils");
10124
- var import_system89 = require("@marigold/system");
10161
+ var import_system91 = require("@marigold/system");
10125
10162
 
10126
10163
  // src/Table/utils.ts
10127
10164
  var mapCheckboxProps = ({
@@ -10146,7 +10183,7 @@ var mapCheckboxProps = ({
10146
10183
  // src/Table/TableCheckboxCell.tsx
10147
10184
  var import_jsx_runtime104 = require("react/jsx-runtime");
10148
10185
  var TableCheckboxCell = ({ cell }) => {
10149
- const ref = (0, import_react66.useRef)(null);
10186
+ const ref = (0, import_react67.useRef)(null);
10150
10187
  const { state, classNames: classNames3 } = useTableContext();
10151
10188
  const disabled = state.disabledKeys.has(cell.parentKey);
10152
10189
  const { gridCellProps } = (0, import_table3.useTableCell)(
@@ -10160,12 +10197,12 @@ var TableCheckboxCell = ({ cell }) => {
10160
10197
  (0, import_table3.useTableSelectionCheckbox)({ key: cell.parentKey }, state)
10161
10198
  );
10162
10199
  const { focusProps, isFocusVisible } = (0, import_focus4.useFocusRing)();
10163
- const stateProps = (0, import_system89.useStateProps)({ disabled, focusVisible: isFocusVisible });
10200
+ const stateProps = (0, import_system91.useStateProps)({ disabled, focusVisible: isFocusVisible });
10164
10201
  return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
10165
10202
  "td",
10166
10203
  {
10167
10204
  ref,
10168
- className: (0, import_system89.cn)("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10205
+ className: (0, import_system91.cn)("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10169
10206
  ...(0, import_utils10.mergeProps)(gridCellProps, focusProps),
10170
10207
  ...stateProps,
10171
10208
  children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(_Checkbox, { ...checkboxProps })
@@ -10174,12 +10211,12 @@ var TableCheckboxCell = ({ cell }) => {
10174
10211
  };
10175
10212
 
10176
10213
  // src/Table/TableColumnHeader.tsx
10177
- var import_react67 = require("react");
10214
+ var import_react68 = require("react");
10178
10215
  var import_focus5 = require("@react-aria/focus");
10179
10216
  var import_interactions2 = require("@react-aria/interactions");
10180
10217
  var import_table4 = require("@react-aria/table");
10181
10218
  var import_utils12 = require("@react-aria/utils");
10182
- var import_system90 = require("@marigold/system");
10219
+ var import_system92 = require("@marigold/system");
10183
10220
  var import_jsx_runtime105 = require("react/jsx-runtime");
10184
10221
  var TableColumnHeader = ({
10185
10222
  column: column2,
@@ -10187,7 +10224,7 @@ var TableColumnHeader = ({
10187
10224
  align = "left"
10188
10225
  }) => {
10189
10226
  var _a, _b;
10190
- const ref = (0, import_react67.useRef)(null);
10227
+ const ref = (0, import_react68.useRef)(null);
10191
10228
  const { state, classNames: classNames3 } = useTableContext();
10192
10229
  const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
10193
10230
  {
@@ -10198,7 +10235,7 @@ var TableColumnHeader = ({
10198
10235
  );
10199
10236
  const { hoverProps, isHovered } = (0, import_interactions2.useHover)({});
10200
10237
  const { focusProps, isFocusVisible } = (0, import_focus5.useFocusRing)();
10201
- const stateProps = (0, import_system90.useStateProps)({
10238
+ const stateProps = (0, import_system92.useStateProps)({
10202
10239
  hover: isHovered,
10203
10240
  focusVisible: isFocusVisible
10204
10241
  });
@@ -10207,7 +10244,7 @@ var TableColumnHeader = ({
10207
10244
  {
10208
10245
  colSpan: column2.colspan,
10209
10246
  ref,
10210
- className: (0, import_system90.cn)("cursor-default", import_system90.width[width], classNames3 == null ? void 0 : classNames3.header),
10247
+ className: (0, import_system92.cn)("cursor-default", import_system92.width[width], classNames3 == null ? void 0 : classNames3.header),
10211
10248
  ...(0, import_utils12.mergeProps)(columnHeaderProps, hoverProps, focusProps),
10212
10249
  ...stateProps,
10213
10250
  align,
@@ -10221,7 +10258,7 @@ var TableColumnHeader = ({
10221
10258
 
10222
10259
  // src/Table/TableHeader.tsx
10223
10260
  var import_table5 = require("@react-aria/table");
10224
- var import_system91 = require("@marigold/system");
10261
+ var import_system93 = require("@marigold/system");
10225
10262
  var import_jsx_runtime106 = require("react/jsx-runtime");
10226
10263
  var TableHeader = ({ stickyHeader, children }) => {
10227
10264
  const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
@@ -10230,7 +10267,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10230
10267
  "thead",
10231
10268
  {
10232
10269
  ...rowGroupProps,
10233
- className: (0, import_system91.cn)(
10270
+ className: (0, import_system93.cn)(
10234
10271
  classNames3 == null ? void 0 : classNames3.thead,
10235
10272
  // for sticky header &th needs to be sticky for b2b and core theme
10236
10273
  // for rui sticky is applied to thead
@@ -10242,7 +10279,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10242
10279
  };
10243
10280
 
10244
10281
  // src/Table/TableHeaderRow.tsx
10245
- var import_react68 = require("react");
10282
+ var import_react69 = require("react");
10246
10283
  var import_table6 = require("@react-aria/table");
10247
10284
  var import_jsx_runtime107 = require("react/jsx-runtime");
10248
10285
  var TableHeaderRow = ({
@@ -10251,24 +10288,24 @@ var TableHeaderRow = ({
10251
10288
  children
10252
10289
  }) => {
10253
10290
  const { state } = useTableContext();
10254
- const ref = (0, import_react68.useRef)(null);
10291
+ const ref = (0, import_react69.useRef)(null);
10255
10292
  const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
10256
10293
  return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("tr", { ...rowProps, className, ref, children });
10257
10294
  };
10258
10295
 
10259
10296
  // src/Table/TableRow.tsx
10260
- var import_react69 = require("react");
10297
+ var import_react70 = require("react");
10261
10298
  var import_focus6 = require("@react-aria/focus");
10262
10299
  var import_interactions3 = require("@react-aria/interactions");
10263
10300
  var import_table7 = require("@react-aria/table");
10264
10301
  var import_utils13 = require("@react-aria/utils");
10265
- var import_system92 = require("@marigold/system");
10302
+ var import_system94 = require("@marigold/system");
10266
10303
  var import_jsx_runtime108 = require("react/jsx-runtime");
10267
10304
  var TableRow = ({ children, row }) => {
10268
- const ref = (0, import_react69.useRef)(null);
10305
+ const ref = (0, import_react70.useRef)(null);
10269
10306
  const { interactive, state, ...ctx } = useTableContext();
10270
10307
  const { variant, size: size2 } = row.props;
10271
- const classNames3 = (0, import_system92.useClassNames)({
10308
+ const classNames3 = (0, import_system94.useClassNames)({
10272
10309
  component: "Table",
10273
10310
  variant: variant || ctx.variant,
10274
10311
  size: size2 || ctx.size
@@ -10286,7 +10323,7 @@ var TableRow = ({ children, row }) => {
10286
10323
  const { hoverProps, isHovered } = (0, import_interactions3.useHover)({
10287
10324
  isDisabled: disabled || !interactive
10288
10325
  });
10289
- const stateProps = (0, import_system92.useStateProps)({
10326
+ const stateProps = (0, import_system94.useStateProps)({
10290
10327
  disabled,
10291
10328
  selected,
10292
10329
  hover: isHovered,
@@ -10297,7 +10334,7 @@ var TableRow = ({ children, row }) => {
10297
10334
  "tr",
10298
10335
  {
10299
10336
  ref,
10300
- className: (0, import_system92.cn)(
10337
+ className: (0, import_system94.cn)(
10301
10338
  [
10302
10339
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
10303
10340
  ],
@@ -10311,19 +10348,19 @@ var TableRow = ({ children, row }) => {
10311
10348
  };
10312
10349
 
10313
10350
  // src/Table/TableSelectAllCell.tsx
10314
- var import_react70 = require("react");
10351
+ var import_react71 = require("react");
10315
10352
  var import_focus7 = require("@react-aria/focus");
10316
10353
  var import_interactions4 = require("@react-aria/interactions");
10317
10354
  var import_table8 = require("@react-aria/table");
10318
10355
  var import_utils14 = require("@react-aria/utils");
10319
- var import_system93 = require("@marigold/system");
10356
+ var import_system95 = require("@marigold/system");
10320
10357
  var import_jsx_runtime109 = require("react/jsx-runtime");
10321
10358
  var TableSelectAllCell = ({
10322
10359
  column: column2,
10323
10360
  width = "auto",
10324
10361
  align = "left"
10325
10362
  }) => {
10326
- const ref = (0, import_react70.useRef)(null);
10363
+ const ref = (0, import_react71.useRef)(null);
10327
10364
  const { state, classNames: classNames3 } = useTableContext();
10328
10365
  const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
10329
10366
  {
@@ -10335,7 +10372,7 @@ var TableSelectAllCell = ({
10335
10372
  const { checkboxProps } = mapCheckboxProps((0, import_table8.useTableSelectAllCheckbox)(state));
10336
10373
  const { hoverProps, isHovered } = (0, import_interactions4.useHover)({});
10337
10374
  const { focusProps, isFocusVisible } = (0, import_focus7.useFocusRing)();
10338
- const stateProps = (0, import_system93.useStateProps)({
10375
+ const stateProps = (0, import_system95.useStateProps)({
10339
10376
  hover: isHovered,
10340
10377
  focusVisible: isFocusVisible
10341
10378
  });
@@ -10343,7 +10380,7 @@ var TableSelectAllCell = ({
10343
10380
  "th",
10344
10381
  {
10345
10382
  ref,
10346
- className: (0, import_system93.cn)(import_system93.width[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10383
+ className: (0, import_system95.cn)(import_system95.width[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10347
10384
  ...(0, import_utils14.mergeProps)(columnHeaderProps, hoverProps, focusProps),
10348
10385
  ...stateProps,
10349
10386
  align,
@@ -10365,7 +10402,7 @@ var Table = ({
10365
10402
  ...props
10366
10403
  }) => {
10367
10404
  const interactive = selectionMode !== "none";
10368
- const tableRef = (0, import_react71.useRef)(null);
10405
+ const tableRef = (0, import_react72.useRef)(null);
10369
10406
  const state = (0, import_table10.useTableState)({
10370
10407
  ...props,
10371
10408
  selectionMode,
@@ -10376,7 +10413,7 @@ var Table = ({
10376
10413
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
10377
10414
  }
10378
10415
  const { gridProps } = (0, import_table9.useTable)(props, state, tableRef);
10379
- const classNames3 = (0, import_system94.useClassNames)({
10416
+ const classNames3 = (0, import_system96.useClassNames)({
10380
10417
  component: "Table",
10381
10418
  variant,
10382
10419
  size: size2
@@ -10390,7 +10427,7 @@ var Table = ({
10390
10427
  "table",
10391
10428
  {
10392
10429
  ref: tableRef,
10393
- className: (0, import_system94.cn)(
10430
+ className: (0, import_system96.cn)(
10394
10431
  "group/table",
10395
10432
  "border-collapse",
10396
10433
  stretch ? "table w-full" : "block",
@@ -10457,8 +10494,8 @@ Table.Header = import_table10.TableHeader;
10457
10494
  Table.Row = import_table10.Row;
10458
10495
 
10459
10496
  // src/Text/Text.tsx
10460
- var import_react_aria_components60 = require("react-aria-components");
10461
- var import_system95 = require("@marigold/system");
10497
+ var import_react_aria_components61 = require("react-aria-components");
10498
+ var import_system97 = require("@marigold/system");
10462
10499
  var import_jsx_runtime111 = require("react/jsx-runtime");
10463
10500
  var _Text = ({
10464
10501
  variant,
@@ -10473,40 +10510,40 @@ var _Text = ({
10473
10510
  as = "div",
10474
10511
  ...props
10475
10512
  }) => {
10476
- const classNames3 = (0, import_system95.useClassNames)({
10513
+ const classNames3 = (0, import_system97.useClassNames)({
10477
10514
  component: "Text",
10478
10515
  variant,
10479
10516
  size: size2
10480
10517
  });
10481
- const Component2 = props.slot ? import_react_aria_components60.Text : as;
10518
+ const Component2 = props.slot ? import_react_aria_components61.Text : as;
10482
10519
  const elementType = props.slot ? { elementType: as } : {};
10483
10520
  return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
10484
10521
  Component2,
10485
10522
  {
10486
10523
  ...props,
10487
10524
  ...elementType,
10488
- className: (0, import_system95.cn)(
10525
+ className: (0, import_system97.cn)(
10489
10526
  "max-w-(--maxTextWidth)",
10490
10527
  // possibly set by a <Container>
10491
10528
  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]
10529
+ fontStyle && import_system97.textStyle[fontStyle],
10530
+ align && import_system97.textAlign[align],
10531
+ cursor2 && import_system97.cursorStyle[cursor2],
10532
+ weight && import_system97.fontWeight[weight],
10533
+ fontSize && import_system97.textSize[fontSize]
10497
10534
  ),
10498
- style: { color: color && (0, import_system95.ensureCssVar)(color, "color") },
10535
+ style: { color: color && (0, import_system97.ensureCssVar)(color, "color") },
10499
10536
  children
10500
10537
  }
10501
10538
  );
10502
10539
  };
10503
10540
 
10504
10541
  // 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");
10542
+ var import_react73 = require("react");
10543
+ var import_react_aria_components62 = require("react-aria-components");
10544
+ var import_system98 = require("@marigold/system");
10508
10545
  var import_jsx_runtime112 = require("react/jsx-runtime");
10509
- var _TextArea = (0, import_react72.forwardRef)(
10546
+ var _TextArea = (0, import_react73.forwardRef)(
10510
10547
  ({
10511
10548
  variant,
10512
10549
  size: size2,
@@ -10517,7 +10554,7 @@ var _TextArea = (0, import_react72.forwardRef)(
10517
10554
  rows,
10518
10555
  ...rest
10519
10556
  }, ref) => {
10520
- const classNames3 = (0, import_system96.useClassNames)({ component: "TextArea", variant, size: size2 });
10557
+ const classNames3 = (0, import_system98.useClassNames)({ component: "TextArea", variant, size: size2 });
10521
10558
  const props = {
10522
10559
  isDisabled: disabled,
10523
10560
  isReadOnly: readOnly,
@@ -10525,15 +10562,15 @@ var _TextArea = (0, import_react72.forwardRef)(
10525
10562
  isRequired: required,
10526
10563
  ...rest
10527
10564
  };
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 }) });
10565
+ 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
10566
  }
10530
10567
  );
10531
10568
 
10532
10569
  // src/TextField/TextField.tsx
10533
- var import_react73 = require("react");
10534
- var import_react_aria_components62 = require("react-aria-components");
10570
+ var import_react74 = require("react");
10571
+ var import_react_aria_components63 = require("react-aria-components");
10535
10572
  var import_jsx_runtime113 = require("react/jsx-runtime");
10536
- var _TextField = (0, import_react73.forwardRef)(
10573
+ var _TextField = (0, import_react74.forwardRef)(
10537
10574
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
10538
10575
  const props = {
10539
10576
  isDisabled: disabled,
@@ -10542,12 +10579,12 @@ var _TextField = (0, import_react73.forwardRef)(
10542
10579
  isRequired: required,
10543
10580
  ...rest
10544
10581
  };
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 }) });
10582
+ 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
10583
  }
10547
10584
  );
10548
10585
 
10549
10586
  // src/Tiles/Tiles.tsx
10550
- var import_system97 = require("@marigold/system");
10587
+ var import_system99 = require("@marigold/system");
10551
10588
  var import_jsx_runtime114 = require("react/jsx-runtime");
10552
10589
  var Tiles = ({
10553
10590
  space = 0,
@@ -10565,24 +10602,24 @@ var Tiles = ({
10565
10602
  "div",
10566
10603
  {
10567
10604
  ...props,
10568
- className: (0, import_system97.cn)(
10605
+ className: (0, import_system99.cn)(
10569
10606
  "grid",
10570
- import_system97.gapSpace[space],
10607
+ import_system99.gapSpace[space],
10571
10608
  "grid-cols-[repeat(auto-fit,var(--column))]",
10572
10609
  equalHeight && "auto-rows-[1fr]"
10573
10610
  ),
10574
- style: (0, import_system97.createVar)({ column: column2, tilesWidth }),
10611
+ style: (0, import_system99.createVar)({ column: column2, tilesWidth }),
10575
10612
  children
10576
10613
  }
10577
10614
  );
10578
10615
  };
10579
10616
 
10580
10617
  // src/Tooltip/Tooltip.tsx
10581
- var import_react_aria_components64 = require("react-aria-components");
10582
- var import_system98 = require("@marigold/system");
10618
+ var import_react_aria_components65 = require("react-aria-components");
10619
+ var import_system100 = require("@marigold/system");
10583
10620
 
10584
10621
  // src/Tooltip/TooltipTrigger.tsx
10585
- var import_react_aria_components63 = require("react-aria-components");
10622
+ var import_react_aria_components64 = require("react-aria-components");
10586
10623
  var import_jsx_runtime115 = require("react/jsx-runtime");
10587
10624
  var _TooltipTrigger = ({
10588
10625
  delay = 1e3,
@@ -10597,7 +10634,7 @@ var _TooltipTrigger = ({
10597
10634
  isOpen: open,
10598
10635
  delay
10599
10636
  };
10600
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_aria_components63.TooltipTrigger, { ...props, children });
10637
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_aria_components64.TooltipTrigger, { ...props, children });
10601
10638
  };
10602
10639
 
10603
10640
  // src/Tooltip/Tooltip.tsx
@@ -10607,16 +10644,16 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10607
10644
  ...rest,
10608
10645
  isOpen: open
10609
10646
  };
10610
- const classNames3 = (0, import_system98.useClassNames)({ component: "Tooltip", variant, size: size2 });
10647
+ const classNames3 = (0, import_system100.useClassNames)({ component: "Tooltip", variant, size: size2 });
10611
10648
  const portal = usePortalContainer();
10612
10649
  return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
10613
- import_react_aria_components64.Tooltip,
10650
+ import_react_aria_components65.Tooltip,
10614
10651
  {
10615
10652
  ...props,
10616
- className: (0, import_system98.cn)("group/tooltip", classNames3.container),
10653
+ className: (0, import_system100.cn)("group/tooltip", classNames3.container),
10617
10654
  UNSTABLE_portalContainer: portal,
10618
10655
  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" }) }) }),
10656
+ /* @__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
10657
  children
10621
10658
  ]
10622
10659
  }
@@ -10625,20 +10662,20 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10625
10662
  _Tooltip.Trigger = _TooltipTrigger;
10626
10663
 
10627
10664
  // src/TagGroup/Tag.tsx
10628
- var import_react_aria_components67 = require("react-aria-components");
10629
- var import_system100 = require("@marigold/system");
10665
+ var import_react_aria_components68 = require("react-aria-components");
10666
+ var import_system102 = require("@marigold/system");
10630
10667
 
10631
10668
  // src/TagGroup/TagGroup.tsx
10632
- var import_react_aria_components66 = require("react-aria-components");
10633
- var import_system99 = require("@marigold/system");
10669
+ var import_react_aria_components67 = require("react-aria-components");
10670
+ var import_system101 = require("@marigold/system");
10634
10671
 
10635
10672
  // src/TagGroup/TagGroupHiddenInput.tsx
10636
- var import_react74 = require("react");
10637
- var import_react_aria_components65 = require("react-aria-components");
10673
+ var import_react75 = require("react");
10674
+ var import_react_aria_components66 = require("react-aria-components");
10638
10675
  var import_jsx_runtime117 = require("react/jsx-runtime");
10639
10676
  var TagGroupHiddenInput = ({ name }) => {
10640
10677
  var _a;
10641
- const state = (0, import_react74.useContext)(import_react_aria_components65.ListStateContext);
10678
+ const state = (0, import_react75.useContext)(import_react_aria_components66.ListStateContext);
10642
10679
  const selectedKeys = Array.from((_a = state == null ? void 0 : state.selectionManager.selectedKeys) != null ? _a : []);
10643
10680
  if (!selectedKeys.length) return null;
10644
10681
  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 +10703,10 @@ var _TagGroup = ({
10666
10703
  name,
10667
10704
  ...rest
10668
10705
  }) => {
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: [
10706
+ const classNames3 = (0, import_system101.useClassNames)({ component: "Tag", variant, size: size2 });
10707
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(FieldBase, { as: import_react_aria_components67.TagGroup, ...rest, children: [
10671
10708
  /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
10672
- import_react_aria_components66.TagList,
10709
+ import_react_aria_components67.TagList,
10673
10710
  {
10674
10711
  items,
10675
10712
  className: classNames3.listItems,
@@ -10685,17 +10722,17 @@ var _TagGroup = ({
10685
10722
  var import_jsx_runtime119 = require("react/jsx-runtime");
10686
10723
  var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10687
10724
  let textValue = typeof children === "string" ? children : void 0;
10688
- const classNames3 = (0, import_system100.useClassNames)({ component: "Tag", variant, size: size2 });
10725
+ const classNames3 = (0, import_system102.useClassNames)({ component: "Tag", variant, size: size2 });
10689
10726
  const props = {
10690
10727
  isDisabled: disabled,
10691
10728
  ...rest
10692
10729
  };
10693
10730
  return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
10694
- import_react_aria_components67.Tag,
10731
+ import_react_aria_components68.Tag,
10695
10732
  {
10696
10733
  textValue,
10697
10734
  ...props,
10698
- className: (0, import_system100.cn)("data-selection-mode:cursor-pointer", classNames3.tag),
10735
+ className: (0, import_system102.cn)("data-selection-mode:cursor-pointer", classNames3.tag),
10699
10736
  children: ({ allowsRemoving }) => /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
10700
10737
  children,
10701
10738
  allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(CloseButton, { className: classNames3.closeButton, slot: "remove" })
@@ -10709,14 +10746,14 @@ _Tag.Group = _TagGroup;
10709
10746
  var import_visually_hidden = require("@react-aria/visually-hidden");
10710
10747
 
10711
10748
  // src/XLoader/XLoader.tsx
10712
- var import_react_aria_components69 = require("react-aria-components");
10749
+ var import_react_aria_components70 = require("react-aria-components");
10713
10750
  var import_utils16 = require("@react-aria/utils");
10714
- var import_system102 = require("@marigold/system");
10751
+ var import_system104 = require("@marigold/system");
10715
10752
 
10716
10753
  // src/XLoader/BaseLoader.tsx
10717
- var import_react_aria_components68 = require("react-aria-components");
10754
+ var import_react_aria_components69 = require("react-aria-components");
10718
10755
  var import_i18n6 = require("@react-aria/i18n");
10719
- var import_system101 = require("@marigold/system");
10756
+ var import_system103 = require("@marigold/system");
10720
10757
 
10721
10758
  // src/intl/messages.ts
10722
10759
  var intlMessages2 = {
@@ -10738,9 +10775,9 @@ var BaseLoader = ({
10738
10775
  ...props
10739
10776
  }) => {
10740
10777
  const stringFormatter = (0, import_i18n6.useLocalizedStringFormatter)(intlMessages2, "marigold");
10741
- const className = (0, import_system101.useClassNames)({ component: "XLoader", variant, size: size2 });
10778
+ const className = (0, import_system103.useClassNames)({ component: "XLoader", variant, size: size2 });
10742
10779
  return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
10743
- import_react_aria_components68.ProgressBar,
10780
+ import_react_aria_components69.ProgressBar,
10744
10781
  {
10745
10782
  className: className.container,
10746
10783
  isIndeterminate: true,
@@ -10957,7 +10994,7 @@ var BaseLoader = ({
10957
10994
  ]
10958
10995
  }
10959
10996
  ),
10960
- children ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_react_aria_components68.Label, { className: className.label, children }) : null
10997
+ children ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_react_aria_components69.Label, { className: className.label, children }) : null
10961
10998
  ]
10962
10999
  }
10963
11000
  );
@@ -10967,10 +11004,10 @@ var BaseLoader = ({
10967
11004
  var import_jsx_runtime121 = require("react/jsx-runtime");
10968
11005
  var LoaderFullScreen = (props) => {
10969
11006
  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 }) }) }) });
11007
+ 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
11008
  };
10972
11009
  var LoaderSection = (props) => {
10973
- const className = (0, import_system102.useClassNames)({
11010
+ const className = (0, import_system104.useClassNames)({
10974
11011
  component: "Underlay",
10975
11012
  variant: "modal",
10976
11013
  className: "flex size-full items-center justify-center"
@@ -10980,25 +11017,25 @@ var LoaderSection = (props) => {
10980
11017
  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
11018
 
10982
11019
  // src/Tabs/Tabs.tsx
10983
- var import_react_aria_components73 = require("react-aria-components");
10984
- var import_system105 = require("@marigold/system");
11020
+ var import_react_aria_components74 = require("react-aria-components");
11021
+ var import_system107 = require("@marigold/system");
10985
11022
 
10986
11023
  // 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);
11024
+ var import_react76 = require("react");
11025
+ var TabContext = (0, import_react76.createContext)({});
11026
+ var useTabContext = () => (0, import_react76.useContext)(TabContext);
10990
11027
 
10991
11028
  // src/Tabs/Tab.tsx
10992
- var import_react_aria_components70 = require("react-aria-components");
10993
- var import_system103 = require("@marigold/system");
11029
+ var import_react_aria_components71 = require("react-aria-components");
11030
+ var import_system105 = require("@marigold/system");
10994
11031
  var import_jsx_runtime122 = require("react/jsx-runtime");
10995
11032
  var _Tab = (props) => {
10996
11033
  const { classNames: classNames3 } = useTabContext();
10997
11034
  return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
10998
- import_react_aria_components70.Tab,
11035
+ import_react_aria_components71.Tab,
10999
11036
  {
11000
11037
  ...props,
11001
- className: (0, import_system103.cn)(
11038
+ className: (0, import_system105.cn)(
11002
11039
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
11003
11040
  classNames3.tab
11004
11041
  ),
@@ -11008,27 +11045,27 @@ var _Tab = (props) => {
11008
11045
  };
11009
11046
 
11010
11047
  // src/Tabs/TabList.tsx
11011
- var import_react_aria_components71 = require("react-aria-components");
11012
- var import_system104 = require("@marigold/system");
11048
+ var import_react_aria_components72 = require("react-aria-components");
11049
+ var import_system106 = require("@marigold/system");
11013
11050
  var import_jsx_runtime123 = require("react/jsx-runtime");
11014
11051
  var _TabList = ({ space = 2, ...props }) => {
11015
11052
  const { classNames: classNames3 } = useTabContext();
11016
11053
  return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
11017
- import_react_aria_components71.TabList,
11054
+ import_react_aria_components72.TabList,
11018
11055
  {
11019
11056
  ...props,
11020
- className: (0, import_system104.cn)("flex", import_system104.gapSpace[space], classNames3.tabsList),
11057
+ className: (0, import_system106.cn)("flex", import_system106.gapSpace[space], classNames3.tabsList),
11021
11058
  children: props.children
11022
11059
  }
11023
11060
  );
11024
11061
  };
11025
11062
 
11026
11063
  // src/Tabs/TabPanel.tsx
11027
- var import_react_aria_components72 = require("react-aria-components");
11064
+ var import_react_aria_components73 = require("react-aria-components");
11028
11065
  var import_jsx_runtime124 = require("react/jsx-runtime");
11029
11066
  var _TabPanel = (props) => {
11030
11067
  const { classNames: classNames3 } = useTabContext();
11031
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react_aria_components72.TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11068
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react_aria_components73.TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11032
11069
  };
11033
11070
 
11034
11071
  // src/Tabs/Tabs.tsx
@@ -11038,19 +11075,58 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
11038
11075
  isDisabled: disabled,
11039
11076
  ...rest
11040
11077
  };
11041
- const classNames3 = (0, import_system105.useClassNames)({
11078
+ const classNames3 = (0, import_system107.useClassNames)({
11042
11079
  component: "Tabs",
11043
11080
  size: size2,
11044
11081
  variant
11045
11082
  });
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 }) });
11083
+ 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
11084
  };
11048
11085
  _Tabs.List = _TabList;
11049
11086
  _Tabs.TabPanel = _TabPanel;
11050
11087
  _Tabs.Item = _Tab;
11051
11088
 
11052
11089
  // src/RouterProvider/RouterProvider.tsx
11053
- var import_react_aria_components74 = require("react-aria-components");
11090
+ var import_react_aria_components75 = require("react-aria-components");
11091
+
11092
+ // src/TimeField/TimeField.tsx
11093
+ var import_react77 = require("react");
11094
+ var import_react_aria_components76 = require("react-aria-components");
11095
+ var import_system108 = require("@marigold/system");
11096
+ var import_jsx_runtime126 = require("react/jsx-runtime");
11097
+ var _TimeField = (0, import_react77.forwardRef)(
11098
+ ({
11099
+ required,
11100
+ disabled,
11101
+ readOnly,
11102
+ error,
11103
+ variant,
11104
+ size: size2,
11105
+ width = "full",
11106
+ ...rest
11107
+ }, ref) => {
11108
+ const classNames3 = (0, import_system108.useClassNames)({ component: "DateField", variant, size: size2 });
11109
+ const props = {
11110
+ isDisabled: disabled,
11111
+ isReadOnly: readOnly,
11112
+ isInvalid: error,
11113
+ isRequired: required,
11114
+ ...rest
11115
+ };
11116
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
11117
+ FieldBase,
11118
+ {
11119
+ as: import_react_aria_components76.TimeField,
11120
+ variant,
11121
+ size: size2,
11122
+ width,
11123
+ ...props,
11124
+ ref,
11125
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_react_aria_components76.DateInput, { className: classNames3.field, children: (segment) => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_react_aria_components76.DateSegment, { className: classNames3.segment, segment }) })
11126
+ }
11127
+ );
11128
+ }
11129
+ );
11054
11130
  // Annotate the CommonJS export names for ESM import in node:
11055
11131
  0 && (module.exports = {
11056
11132
  Accordion,
@@ -11123,11 +11199,11 @@ var import_react_aria_components74 = require("react-aria-components");
11123
11199
  TextField,
11124
11200
  ThemeProvider,
11125
11201
  Tiles,
11202
+ TimeField,
11126
11203
  Tooltip,
11127
11204
  Underlay,
11128
11205
  VisuallyHidden,
11129
11206
  XLoader,
11130
- _Calendar,
11131
11207
  gridColsAlign,
11132
11208
  gridColumn,
11133
11209
  useAsyncList,