@marigold/components 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import { useFocusRing } from "@react-aria/focus";
18
18
  import { mergeProps as mergeProps2 } from "@react-aria/utils";
19
19
  import { cn, useClassNames, useStateProps } from "@marigold/system";
20
20
 
21
- // src/Chevron/ChevronUp.tsx
21
+ // src/icons/ChevronUp.tsx
22
22
  import { forwardRef } from "react";
23
23
  import { SVG } from "@marigold/system";
24
24
  import { jsx } from "react/jsx-runtime";
@@ -26,7 +26,7 @@ var ChevronUp = forwardRef(
26
26
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(SVG, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx("path", { d: "M5.97563 16.8506L12 10.8394L18.0244 16.8506L19.875 15L12 7.125L4.125 15L5.97563 16.8506Z" }) })
27
27
  );
28
28
 
29
- // src/Chevron/ChevronDown.tsx
29
+ // src/icons/ChevronDown.tsx
30
30
  import { forwardRef as forwardRef2 } from "react";
31
31
  import { SVG as SVG2 } from "@marigold/system";
32
32
  import { jsx as jsx2 } from "react/jsx-runtime";
@@ -34,6 +34,34 @@ var ChevronDown = forwardRef2(
34
34
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx2(SVG2, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx2("path", { d: "M5.97563 7.125L12 13.1363L18.0244 7.125L19.875 8.97563L12 16.8506L4.125 8.97563L5.97563 7.125Z" }) })
35
35
  );
36
36
 
37
+ // src/icons/ChevronRight.tsx
38
+ import { forwardRef as forwardRef3 } from "react";
39
+ import { SVG as SVG3 } from "@marigold/system";
40
+ import { jsx as jsx3 } from "react/jsx-runtime";
41
+ var ChevronRight = forwardRef3(
42
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx3(SVG3, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx3("path", { d: "M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" }) })
43
+ );
44
+
45
+ // src/icons/ChevronLeft.tsx
46
+ import { forwardRef as forwardRef4 } from "react";
47
+ import { SVG as SVG4 } from "@marigold/system";
48
+ import { jsx as jsx4 } from "react/jsx-runtime";
49
+ var ChevronLeft = forwardRef4(
50
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx4(SVG4, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx4("path", { d: "M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" }) })
51
+ );
52
+
53
+ // src/icons/SortDown.tsx
54
+ import { forwardRef as forwardRef5 } from "react";
55
+ import { SVG as SVG5 } from "@marigold/system";
56
+ import { jsx as jsx5 } from "react/jsx-runtime";
57
+ var SortDown = forwardRef5((props, ref) => /* @__PURE__ */ jsx5(SVG5, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx5("path", { d: "M17.3962 10.0496L12.5042 14.9416C12.3731 15.0727 12.1984 15.1492 12.0128 15.1492C11.8272 15.1492 11.6524 15.0727 11.5214 14.9416L6.62934 10.0496C6.49827 9.91854 6.42188 9.7439 6.42188 9.55816C6.42188 9.17606 6.73856 8.85938 7.12078 8.85938H16.9048C17.287 8.85938 17.6037 9.17606 17.6037 9.55816C17.6037 9.7439 17.5273 9.91854 17.3962 10.0496Z" }) }));
58
+
59
+ // src/icons/SortUp.tsx
60
+ import { forwardRef as forwardRef6 } from "react";
61
+ import { SVG as SVG6 } from "@marigold/system";
62
+ import { jsx as jsx6 } from "react/jsx-runtime";
63
+ var SortUp = forwardRef6((props, ref) => /* @__PURE__ */ jsx6(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx6("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
64
+
37
65
  // src/Accordion/useAccordionItem.ts
38
66
  import { useButton } from "@react-aria/button";
39
67
  import { useSelectableItem } from "@react-aria/selection";
@@ -127,7 +155,7 @@ function useAccordionItem(props, state, ref) {
127
155
  }
128
156
 
129
157
  // src/Accordion/AccordionItem.tsx
130
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
158
+ import { jsx as jsx7, jsxs } from "react/jsx-runtime";
131
159
  var AccordionItem = ({
132
160
  item,
133
161
  state,
@@ -180,11 +208,11 @@ var AccordionItem = ({
180
208
  "aria-label": item.textValue,
181
209
  children: [
182
210
  title,
183
- expanded ? /* @__PURE__ */ jsx3(ChevronUp, { className: "h3 w-6" }) : /* @__PURE__ */ jsx3(ChevronDown, { className: "h3 w-6" })
211
+ expanded ? /* @__PURE__ */ jsx7(ChevronUp, { className: "h3 w-6" }) : /* @__PURE__ */ jsx7(ChevronDown, { className: "h3 w-6" })
184
212
  ]
185
213
  }
186
214
  ),
187
- /* @__PURE__ */ jsx3(
215
+ /* @__PURE__ */ jsx7(
188
216
  "div",
189
217
  {
190
218
  ...mergeProps2(regionProps, focusProps, stateProps),
@@ -196,7 +224,7 @@ var AccordionItem = ({
196
224
  };
197
225
 
198
226
  // src/Accordion/Accordion.tsx
199
- import { jsx as jsx4 } from "react/jsx-runtime";
227
+ import { jsx as jsx8 } from "react/jsx-runtime";
200
228
  var Accordion = ({ children, ...props }) => {
201
229
  const ownProps = {
202
230
  ...props,
@@ -229,7 +257,7 @@ var Accordion = ({ children, ...props }) => {
229
257
  ref
230
258
  );
231
259
  delete accordionProps.onKeyDownCapture;
232
- return /* @__PURE__ */ jsx4("div", { ...accordionProps, ref, children: [...state.collection].map((item) => /* @__PURE__ */ jsx4(
260
+ return /* @__PURE__ */ jsx8("div", { ...accordionProps, ref, children: [...state.collection].map((item) => /* @__PURE__ */ jsx8(
233
261
  AccordionItem,
234
262
  {
235
263
  title: item.props.title,
@@ -246,7 +274,7 @@ Accordion.Item = Item;
246
274
  // src/Aside/Aside.tsx
247
275
  import { Children as Children2 } from "react";
248
276
  import { cn as cn2, createVar, gapSpace } from "@marigold/system";
249
- import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
277
+ import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
250
278
  var classNames = {
251
279
  aside: "grow basis-[--sideWidth]",
252
280
  content: "basis-0 grow-[999] [min-inline-size:--wrap]"
@@ -264,7 +292,7 @@ var Aside = ({
264
292
  content: createVar({ wrap })
265
293
  };
266
294
  return /* @__PURE__ */ jsxs2("div", { className: cn2("flex flex-wrap", gapSpace[space]), children: [
267
- /* @__PURE__ */ jsx5(
295
+ /* @__PURE__ */ jsx9(
268
296
  "div",
269
297
  {
270
298
  className: classNames[side === "left" ? "aside" : "content"],
@@ -272,7 +300,7 @@ var Aside = ({
272
300
  children: left
273
301
  }
274
302
  ),
275
- /* @__PURE__ */ jsx5(
303
+ /* @__PURE__ */ jsx9(
276
304
  "div",
277
305
  {
278
306
  className: classNames[side === "right" ? "aside" : "content"],
@@ -285,13 +313,13 @@ var Aside = ({
285
313
 
286
314
  // src/Aspect/Aspect.tsx
287
315
  import { aspect, cn as cn3, createVar as createVar2 } from "@marigold/system";
288
- import { jsx as jsx6 } from "react/jsx-runtime";
316
+ import { jsx as jsx10 } from "react/jsx-runtime";
289
317
  var Aspect = ({
290
318
  ratio = "square",
291
319
  maxWidth,
292
320
  children
293
321
  }) => {
294
- return /* @__PURE__ */ jsx6(
322
+ return /* @__PURE__ */ jsx10(
295
323
  "div",
296
324
  {
297
325
  className: cn3(
@@ -306,29 +334,29 @@ var Aspect = ({
306
334
  };
307
335
 
308
336
  // src/Autocomplete/Autocomplete.tsx
309
- import React, {
310
- forwardRef as forwardRef8
337
+ import React3, {
338
+ forwardRef as forwardRef12
311
339
  } from "react";
312
340
  import { ComboBox, ComboBoxStateContext } from "react-aria-components";
313
341
  import { cn as cn13, useClassNames as useClassNames9 } from "@marigold/system";
314
342
 
315
343
  // src/FieldBase/FieldBase.tsx
316
- import { forwardRef as forwardRef3 } from "react";
344
+ import { forwardRef as forwardRef7 } from "react";
317
345
  import { cn as cn6, width as twWidth, useClassNames as useClassNames4 } from "@marigold/system";
318
346
 
319
347
  // src/HelpText/HelpText.tsx
320
348
  import { useContext } from "react";
321
349
  import { FieldError, FieldErrorContext, Text } from "react-aria-components";
322
350
  import { cn as cn4, useClassNames as useClassNames2 } from "@marigold/system";
323
- import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
324
- var Icon = ({ className }) => /* @__PURE__ */ jsx7(
351
+ import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
352
+ var Icon = ({ className }) => /* @__PURE__ */ jsx11(
325
353
  "svg",
326
354
  {
327
355
  className: cn4("h-4 w-4 shrink-0", className),
328
356
  viewBox: "0 0 24 24",
329
357
  role: "presentation",
330
358
  fill: "currentColor",
331
- children: /* @__PURE__ */ jsx7("path", { d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z" })
359
+ children: /* @__PURE__ */ jsx11("path", { d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z" })
332
360
  }
333
361
  );
334
362
  var HelpText = ({
@@ -348,35 +376,35 @@ var HelpText = ({
348
376
  return null;
349
377
  }
350
378
  return /* @__PURE__ */ jsxs3("div", { className: cn4(classNames2.container), children: [
351
- /* @__PURE__ */ jsx7(FieldError, { ...props, className: "flex flex-col", children: (validation) => {
379
+ /* @__PURE__ */ jsx11(FieldError, { ...props, className: "flex flex-col", children: (validation) => {
352
380
  const messages = (typeof errorMessage === "function" ? errorMessage(validation) : errorMessage) || validation.validationErrors;
353
381
  return Array.isArray(messages) ? messages.map((msg, idx) => /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-start gap-1", children: [
354
- /* @__PURE__ */ jsx7(Icon, { className: classNames2.icon }),
382
+ /* @__PURE__ */ jsx11(Icon, { className: classNames2.icon }),
355
383
  msg
356
384
  ] }, idx)) : /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-start gap-1", children: [
357
- /* @__PURE__ */ jsx7(Icon, { className: classNames2.icon }),
385
+ /* @__PURE__ */ jsx11(Icon, { className: classNames2.icon }),
358
386
  messages
359
387
  ] });
360
388
  } }),
361
- ctx && ctx.isInvalid ? null : /* @__PURE__ */ jsx7(Text, { slot: "description", children: description })
389
+ ctx && ctx.isInvalid ? null : /* @__PURE__ */ jsx11(Text, { slot: "description", children: description })
362
390
  ] });
363
391
  };
364
392
 
365
393
  // src/Label/Label.tsx
366
394
  import { Label } from "react-aria-components";
367
- import { SVG as SVG3, cn as cn5, createVar as createVar3, useClassNames as useClassNames3 } from "@marigold/system";
395
+ import { SVG as SVG7, cn as cn5, createVar as createVar3, useClassNames as useClassNames3 } from "@marigold/system";
368
396
 
369
397
  // src/FieldBase/FieldGroup.tsx
370
398
  import { createContext, useContext as useContext2 } from "react";
371
- import { jsx as jsx8 } from "react/jsx-runtime";
399
+ import { jsx as jsx12 } from "react/jsx-runtime";
372
400
  var FieldGroupContext = createContext({});
373
401
  var useFieldGroupContext = () => useContext2(FieldGroupContext);
374
402
  var FieldGroup = ({ labelWidth, children }) => {
375
- return /* @__PURE__ */ jsx8(FieldGroupContext.Provider, { value: { labelWidth }, children });
403
+ return /* @__PURE__ */ jsx12(FieldGroupContext.Provider, { value: { labelWidth }, children });
376
404
  };
377
405
 
378
406
  // src/Label/Label.tsx
379
- import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
407
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
380
408
  var _Label = ({ size, variant, children, ...props }) => {
381
409
  const classNames2 = useClassNames3({ component: "Label", size, variant });
382
410
  const { labelWidth } = useFieldGroupContext();
@@ -388,14 +416,14 @@ var _Label = ({ size, variant, children, ...props }) => {
388
416
  style: createVar3({ labelWidth }),
389
417
  children: [
390
418
  children,
391
- /* @__PURE__ */ jsx9(
392
- SVG3,
419
+ /* @__PURE__ */ jsx13(
420
+ SVG7,
393
421
  {
394
422
  viewBox: "0 0 24 24",
395
423
  role: "presentation",
396
424
  size: 16,
397
425
  className: cn5("hidden", classNames2.indicator),
398
- children: /* @__PURE__ */ jsx9("path", { d: "M10.8 3.84003H13.2V9.85259L18.1543 7.01815L19.3461 9.10132L14.3584 11.9549L19.3371 14.7999L18.1463 16.8836L13.2 14.0572V20.16H10.8V13.9907L5.76116 16.8735L4.56935 14.7903L9.5232 11.9561L4.56 9.12003L5.75073 7.03624L10.8 9.92154V3.84003Z" })
426
+ children: /* @__PURE__ */ jsx13("path", { d: "M10.8 3.84003H13.2V9.85259L18.1543 7.01815L19.3461 9.10132L14.3584 11.9549L19.3371 14.7999L18.1463 16.8836L13.2 14.0572V20.16H10.8V13.9907L5.76116 16.8735L4.56935 14.7903L9.5232 11.9561L4.56 9.12003L5.75073 7.03624L10.8 9.92154V3.84003Z" })
399
427
  }
400
428
  )
401
429
  ]
@@ -404,8 +432,8 @@ var _Label = ({ size, variant, children, ...props }) => {
404
432
  };
405
433
 
406
434
  // src/FieldBase/FieldBase.tsx
407
- import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
408
- var fixedForwardRef = forwardRef3;
435
+ import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
436
+ var fixedForwardRef = forwardRef7;
409
437
  var _FieldBase = (props, ref) => {
410
438
  const {
411
439
  as: Component = "div",
@@ -440,9 +468,9 @@ var _FieldBase = (props, ref) => {
440
468
  "data-error": props.isInvalid ? true : void 0,
441
469
  ...rest,
442
470
  children: [
443
- label ? /* @__PURE__ */ jsx10(_Label, { variant, size, children: label }) : /* @__PURE__ */ jsx10("span", { "aria-hidden": "true" }),
471
+ label ? /* @__PURE__ */ jsx14(_Label, { variant, size, children: label }) : /* @__PURE__ */ jsx14("span", { "aria-hidden": "true" }),
444
472
  children,
445
- /* @__PURE__ */ jsx10(
473
+ /* @__PURE__ */ jsx14(
446
474
  HelpText,
447
475
  {
448
476
  variant,
@@ -458,17 +486,17 @@ var _FieldBase = (props, ref) => {
458
486
  var FieldBase = fixedForwardRef(_FieldBase);
459
487
 
460
488
  // src/Input/SearchInput.tsx
461
- import { forwardRef as forwardRef5 } from "react";
489
+ import { forwardRef as forwardRef9 } from "react";
462
490
  import { Button } from "react-aria-components";
463
491
  import { useLocalizedStringFormatter } from "@react-aria/i18n";
464
492
  import { cn as cn8 } from "@marigold/system";
465
493
 
466
494
  // src/Input/Input.tsx
467
- import { cloneElement as cloneElement2, forwardRef as forwardRef4 } from "react";
495
+ import { cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
468
496
  import { Input } from "react-aria-components";
469
497
  import { cn as cn7, useClassNames as useClassNames5 } from "@marigold/system";
470
- import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
471
- var _Input = forwardRef4(
498
+ import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
499
+ var _Input = forwardRef8(
472
500
  ({ type, icon, action, variant, size, className, ...props }, ref) => {
473
501
  const classNames2 = useClassNames5({
474
502
  component: "Input",
@@ -499,7 +527,7 @@ var _Input = forwardRef4(
499
527
  "data-action": action && "",
500
528
  children: [
501
529
  inputIcon,
502
- /* @__PURE__ */ jsx11(
530
+ /* @__PURE__ */ jsx15(
503
531
  Input,
504
532
  {
505
533
  ...props,
@@ -523,7 +551,7 @@ var _Input = forwardRef4(
523
551
  );
524
552
 
525
553
  // src/Input/SearchInput.tsx
526
- import { jsx as jsx12 } from "react/jsx-runtime";
554
+ import { jsx as jsx16 } from "react/jsx-runtime";
527
555
  var intlMessages = {
528
556
  "de-DE": {
529
557
  "Clear search": "Suche zur\xFCcksetzen"
@@ -535,7 +563,7 @@ var intlMessages = {
535
563
  "Clear search": "Effacer la recherche"
536
564
  }
537
565
  };
538
- var SearchIcon = (props) => /* @__PURE__ */ jsx12(
566
+ var SearchIcon = (props) => /* @__PURE__ */ jsx16(
539
567
  "svg",
540
568
  {
541
569
  xmlns: "http://www.w3.org/2000/svg",
@@ -544,13 +572,13 @@ var SearchIcon = (props) => /* @__PURE__ */ jsx12(
544
572
  width: 24,
545
573
  height: 24,
546
574
  ...props,
547
- children: /* @__PURE__ */ jsx12("path", { d: "M16.1865 14.5142H15.3057L14.9936 14.2131C16.0862 12.9421 16.744 11.292 16.744 9.497C16.744 5.49443 13.4996 2.25 9.497 2.25C5.49443 2.25 2.25 5.49443 2.25 9.497C2.25 13.4996 5.49443 16.744 9.497 16.744C11.292 16.744 12.9421 16.0862 14.2131 14.9936L14.5142 15.3057V16.1865L20.0888 21.75L21.75 20.0888L16.1865 14.5142ZM9.49701 14.5142C6.72085 14.5142 4.47986 12.2732 4.47986 9.49701C4.47986 6.72085 6.72085 4.47986 9.49701 4.47986C12.2732 4.47986 14.5142 6.72085 14.5142 9.49701C14.5142 12.2732 12.2732 14.5142 9.49701 14.5142Z" })
575
+ children: /* @__PURE__ */ jsx16("path", { d: "M16.1865 14.5142H15.3057L14.9936 14.2131C16.0862 12.9421 16.744 11.292 16.744 9.497C16.744 5.49443 13.4996 2.25 9.497 2.25C5.49443 2.25 2.25 5.49443 2.25 9.497C2.25 13.4996 5.49443 16.744 9.497 16.744C11.292 16.744 12.9421 16.0862 14.2131 14.9936L14.5142 15.3057V16.1865L20.0888 21.75L21.75 20.0888L16.1865 14.5142ZM9.49701 14.5142C6.72085 14.5142 4.47986 12.2732 4.47986 9.49701C4.47986 6.72085 6.72085 4.47986 9.49701 4.47986C12.2732 4.47986 14.5142 6.72085 14.5142 9.49701C14.5142 12.2732 12.2732 14.5142 9.49701 14.5142Z" })
548
576
  }
549
577
  );
550
- var SearchInput = forwardRef5(
578
+ var SearchInput = forwardRef9(
551
579
  ({ className, onClear, ...props }, ref) => {
552
580
  const stringFormatter = useLocalizedStringFormatter(intlMessages);
553
- return /* @__PURE__ */ jsx12(
581
+ return /* @__PURE__ */ jsx16(
554
582
  _Input,
555
583
  {
556
584
  type: "search",
@@ -559,8 +587,8 @@ var SearchInput = forwardRef5(
559
587
  className == null ? void 0 : className.input
560
588
  ),
561
589
  ref,
562
- icon: /* @__PURE__ */ jsx12(SearchIcon, {}),
563
- action: /* @__PURE__ */ jsx12(
590
+ icon: /* @__PURE__ */ jsx16(SearchIcon, {}),
591
+ action: /* @__PURE__ */ jsx16(
564
592
  Button,
565
593
  {
566
594
  className: className == null ? void 0 : className.action,
@@ -568,7 +596,7 @@ var SearchInput = forwardRef5(
568
596
  "aria-label": stringFormatter.format("Clear search"),
569
597
  excludeFromTabOrder: true,
570
598
  preventFocusOnPress: true,
571
- children: /* @__PURE__ */ jsx12(
599
+ children: /* @__PURE__ */ jsx16(
572
600
  "svg",
573
601
  {
574
602
  xmlns: "http://www.w3.org/2000/svg",
@@ -576,7 +604,7 @@ var SearchInput = forwardRef5(
576
604
  fill: "currentColor",
577
605
  width: 20,
578
606
  height: 20,
579
- children: /* @__PURE__ */ jsx12("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
607
+ children: /* @__PURE__ */ jsx16("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
580
608
  }
581
609
  )
582
610
  }
@@ -589,7 +617,7 @@ var SearchInput = forwardRef5(
589
617
 
590
618
  // src/ListBox/ListBox.tsx
591
619
  import {
592
- forwardRef as forwardRef6
620
+ forwardRef as forwardRef10
593
621
  } from "react";
594
622
  import { ListBox } from "react-aria-components";
595
623
  import { cn as cn10, useClassNames as useClassNames6 } from "@marigold/system";
@@ -601,31 +629,31 @@ var useListBoxContext = () => useContext3(ListBoxContext);
601
629
 
602
630
  // src/ListBox/ListBoxItem.tsx
603
631
  import { ListBoxItem } from "react-aria-components";
604
- import { jsx as jsx13 } from "react/jsx-runtime";
632
+ import { jsx as jsx17 } from "react/jsx-runtime";
605
633
  var _ListBoxItem = ({ ...props }) => {
606
634
  const { classNames: classNames2 } = useListBoxContext();
607
- return /* @__PURE__ */ jsx13(ListBoxItem, { ...props, className: classNames2.option });
635
+ return /* @__PURE__ */ jsx17(ListBoxItem, { ...props, className: classNames2.option });
608
636
  };
609
637
 
610
638
  // src/ListBox/ListBoxSection.tsx
611
639
  import { Header, Section } from "react-aria-components";
612
640
  import { cn as cn9 } from "@marigold/system";
613
- import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
641
+ import { jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
614
642
  var _Section = ({ header: header2, children, ...props }) => {
615
643
  const { classNames: classNames2 } = useListBoxContext();
616
644
  return /* @__PURE__ */ jsxs7(Section, { ...props, className: cn9(classNames2.section, classNames2.header), children: [
617
- /* @__PURE__ */ jsx14(Header, { children: header2 }),
645
+ /* @__PURE__ */ jsx18(Header, { children: header2 }),
618
646
  children
619
647
  ] });
620
648
  };
621
649
 
622
650
  // src/ListBox/ListBox.tsx
623
- import { jsx as jsx15 } from "react/jsx-runtime";
624
- var _ListBox = forwardRef6(
651
+ import { jsx as jsx19 } from "react/jsx-runtime";
652
+ var _ListBox = forwardRef10(
625
653
  ({ variant, size, ...props }, ref) => {
626
654
  const classNames2 = useClassNames6({ component: "ListBox", variant, size });
627
655
  const listBoxProps = { shouldSelectOnPressUp: false };
628
- return /* @__PURE__ */ jsx15(ListBoxContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx15("div", { className: classNames2.container, children: /* @__PURE__ */ jsx15(
656
+ return /* @__PURE__ */ jsx19(ListBoxContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx19("div", { className: classNames2.container, children: /* @__PURE__ */ jsx19(
629
657
  ListBox,
630
658
  {
631
659
  ...props,
@@ -644,7 +672,7 @@ _ListBox.Item = _ListBoxItem;
644
672
  _ListBox.Section = _Section;
645
673
 
646
674
  // src/Overlay/Popover.tsx
647
- import { forwardRef as forwardRef7 } from "react";
675
+ import { forwardRef as forwardRef11 } from "react";
648
676
  import { Popover } from "react-aria-components";
649
677
  import { cn as cn12, useClassNames as useClassNames8, useSmallScreen } from "@marigold/system";
650
678
 
@@ -670,17 +698,17 @@ import { I18nProvider } from "@react-aria/i18n";
670
698
 
671
699
  // src/Provider/MarigoldProvider.tsx
672
700
  import { ThemeProvider } from "@marigold/system";
673
- import { jsx as jsx16 } from "react/jsx-runtime";
701
+ import { jsx as jsx20 } from "react/jsx-runtime";
674
702
  function MarigoldProvider({
675
703
  children,
676
704
  className,
677
705
  theme
678
706
  }) {
679
- return /* @__PURE__ */ jsx16(ThemeProvider, { theme, className, children });
707
+ return /* @__PURE__ */ jsx20(ThemeProvider, { theme, className, children });
680
708
  }
681
709
 
682
710
  // src/Overlay/Underlay.tsx
683
- import { jsx as jsx17 } from "react/jsx-runtime";
711
+ import { jsx as jsx21 } from "react/jsx-runtime";
684
712
  var Underlay = ({
685
713
  size,
686
714
  variant,
@@ -697,7 +725,7 @@ var Underlay = ({
697
725
  ...rest
698
726
  };
699
727
  const portal = usePortalContainer();
700
- return /* @__PURE__ */ jsx17(
728
+ return /* @__PURE__ */ jsx21(
701
729
  ModalOverlay,
702
730
  {
703
731
  className: ({ isEntering, isExiting }) => cn11(
@@ -715,8 +743,8 @@ var Underlay = ({
715
743
  };
716
744
 
717
745
  // src/Overlay/Popover.tsx
718
- import { Fragment, jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
719
- var _Popover = forwardRef7(
746
+ import { Fragment, jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
747
+ var _Popover = forwardRef11(
720
748
  ({ keyboardDismissDisabled, placement, open, children, container, ...rest }, ref) => {
721
749
  const props = {
722
750
  isKeyboardDismissDisabled: keyboardDismissDisabled,
@@ -732,9 +760,9 @@ var _Popover = forwardRef7(
732
760
  });
733
761
  const isSmallScreen = useSmallScreen();
734
762
  const portal = usePortalContainer();
735
- return /* @__PURE__ */ jsx18(Fragment, { children: isSmallScreen ? /* @__PURE__ */ jsxs8(Fragment, { children: [
736
- /* @__PURE__ */ jsx18(Underlay, { open, variant: "modal" }),
737
- /* @__PURE__ */ jsx18(
763
+ return /* @__PURE__ */ jsx22(Fragment, { children: isSmallScreen ? /* @__PURE__ */ jsxs8(Fragment, { children: [
764
+ /* @__PURE__ */ jsx22(Underlay, { open, variant: "modal" }),
765
+ /* @__PURE__ */ jsx22(
738
766
  Popover,
739
767
  {
740
768
  ref,
@@ -746,7 +774,7 @@ var _Popover = forwardRef7(
746
774
  children
747
775
  }
748
776
  )
749
- ] }) : /* @__PURE__ */ jsx18(
777
+ ] }) : /* @__PURE__ */ jsx22(
750
778
  Popover,
751
779
  {
752
780
  ref,
@@ -762,15 +790,15 @@ var _Popover = forwardRef7(
762
790
  );
763
791
 
764
792
  // src/Autocomplete/Autocomplete.tsx
765
- import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
793
+ import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
766
794
  var AutocompleteInput = ({
767
795
  onSubmit,
768
796
  onClear,
769
797
  ref
770
798
  }) => {
771
- const state = React.useContext(ComboBoxStateContext);
799
+ const state = React3.useContext(ComboBoxStateContext);
772
800
  const classNames2 = useClassNames9({ component: "ComboBox" });
773
- return /* @__PURE__ */ jsx19(
801
+ return /* @__PURE__ */ jsx23(
774
802
  SearchInput,
775
803
  {
776
804
  ref,
@@ -785,8 +813,8 @@ var AutocompleteInput = ({
785
813
  e.preventDefault();
786
814
  }
787
815
  if (e.key === "Enter") {
788
- if (state.selectionManager.focusedKey === null) {
789
- onSubmit == null ? void 0 : onSubmit(null, state.inputValue);
816
+ if ((state == null ? void 0 : state.selectionManager.focusedKey) === null) {
817
+ onSubmit == null ? void 0 : onSubmit(null, state == null ? void 0 : state.inputValue);
790
818
  }
791
819
  }
792
820
  },
@@ -798,7 +826,7 @@ var AutocompleteInput = ({
798
826
  }
799
827
  );
800
828
  };
801
- var _Autocomplete = forwardRef8(
829
+ var _Autocomplete = forwardRef12(
802
830
  ({
803
831
  children,
804
832
  defaultValue,
@@ -825,8 +853,8 @@ var _Autocomplete = forwardRef8(
825
853
  ...rest
826
854
  };
827
855
  return /* @__PURE__ */ jsxs9(FieldBase, { as: ComboBox, ref, ...props, children: [
828
- /* @__PURE__ */ jsx19(AutocompleteInput, { onSubmit, onClear, ref }),
829
- /* @__PURE__ */ jsx19(_Popover, { children: /* @__PURE__ */ jsx19(_ListBox, { children }) })
856
+ /* @__PURE__ */ jsx23(AutocompleteInput, { onSubmit, onClear, ref }),
857
+ /* @__PURE__ */ jsx23(_Popover, { children: /* @__PURE__ */ jsx23(_ListBox, { children }) })
830
858
  ] });
831
859
  }
832
860
  );
@@ -834,24 +862,87 @@ _Autocomplete.Option = _ListBox.Item;
834
862
  _Autocomplete.Section = _ListBox.Section;
835
863
 
836
864
  // src/ComboBox/ComboBox.tsx
837
- import { forwardRef as forwardRef10 } from "react";
865
+ import { forwardRef as forwardRef14 } from "react";
838
866
  import { ComboBox as ComboBox2 } from "react-aria-components";
839
867
  import { useClassNames as useClassNames11 } from "@marigold/system";
840
868
 
841
869
  // src/Button/Button.tsx
842
- import { forwardRef as forwardRef9 } from "react";
870
+ import { forwardRef as forwardRef13 } from "react";
843
871
  import { Button as Button2 } from "react-aria-components";
844
872
  import { cn as cn14, useClassNames as useClassNames10 } from "@marigold/system";
845
- import { jsx as jsx20 } from "react/jsx-runtime";
846
- var _Button = forwardRef9(
847
- ({ children, variant, size, className, disabled, fullWidth, ...props }, ref) => {
873
+
874
+ // src/ProgressCycle/ProgressCycle.tsx
875
+ import { ProgressBar } from "react-aria-components";
876
+ import { SVG as SVG8 } from "@marigold/system";
877
+ import { jsx as jsx24, jsxs as jsxs10 } from "react/jsx-runtime";
878
+ var ProgressCycle = ({
879
+ size = "16",
880
+ ...props
881
+ }) => {
882
+ let strokeWidth = 3;
883
+ if (size <= "24") {
884
+ strokeWidth = 2;
885
+ } else if (size >= "32") {
886
+ strokeWidth = 4;
887
+ }
888
+ const radius = `calc(50% - ${strokeWidth / 2}px)`;
889
+ return /* @__PURE__ */ jsx24(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs10(
890
+ SVG8,
891
+ {
892
+ className: "animate-rotate-spinner origin-center fill-none",
893
+ size,
894
+ "aria-hidden": "true",
895
+ role: "img",
896
+ children: [
897
+ /* @__PURE__ */ jsx24(
898
+ "circle",
899
+ {
900
+ cx: "50%",
901
+ cy: "50%",
902
+ r: radius,
903
+ strokeWidth,
904
+ className: "stroke-transparent"
905
+ }
906
+ ),
907
+ /* @__PURE__ */ jsx24(
908
+ "circle",
909
+ {
910
+ cx: "50%",
911
+ cy: "50%",
912
+ r: radius,
913
+ strokeWidth,
914
+ pathLength: "100",
915
+ strokeDasharray: "100 200",
916
+ strokeDashoffset: "0",
917
+ strokeLinecap: "round",
918
+ className: "animate-progress-cycle origin-center -rotate-90 stroke-gray-800"
919
+ }
920
+ )
921
+ ]
922
+ }
923
+ ) });
924
+ };
925
+
926
+ // src/Button/Button.tsx
927
+ import { Fragment as Fragment2, jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
928
+ var _Button = forwardRef13(
929
+ ({
930
+ children,
931
+ variant,
932
+ size,
933
+ className,
934
+ disabled,
935
+ loading,
936
+ fullWidth,
937
+ ...props
938
+ }, ref) => {
848
939
  const classNames2 = useClassNames10({
849
940
  component: "Button",
850
941
  variant,
851
942
  size,
852
943
  className
853
944
  });
854
- return /* @__PURE__ */ jsx20(
945
+ return /* @__PURE__ */ jsx25(
855
946
  Button2,
856
947
  {
857
948
  ...props,
@@ -859,18 +950,23 @@ var _Button = forwardRef9(
859
950
  className: cn14(
860
951
  "inline-flex items-center justify-center gap-[0.5ch]",
861
952
  classNames2,
862
- fullWidth ? "w-full" : void 0
953
+ fullWidth ? "w-full" : void 0,
954
+ loading && "!cursor-progress"
863
955
  ),
956
+ isPending: loading,
864
957
  isDisabled: disabled,
865
- children
958
+ children: loading ? /* @__PURE__ */ jsxs11(Fragment2, { children: [
959
+ /* @__PURE__ */ jsx25("span", { className: "absolute", children: /* @__PURE__ */ jsx25(ProgressCycle, {}) }),
960
+ /* @__PURE__ */ jsx25("span", { className: "invisible flex gap-[inherit]", children })
961
+ ] }) : children
866
962
  }
867
963
  );
868
964
  }
869
965
  );
870
966
 
871
967
  // src/ComboBox/ComboBox.tsx
872
- import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
873
- var _ComboBox = forwardRef10(
968
+ import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
969
+ var _ComboBox = forwardRef14(
874
970
  ({
875
971
  variant,
876
972
  size,
@@ -895,14 +991,14 @@ var _ComboBox = forwardRef10(
895
991
  ...rest
896
992
  };
897
993
  const classNames2 = useClassNames11({ component: "ComboBox", variant, size });
898
- return /* @__PURE__ */ jsxs10(FieldBase, { as: ComboBox2, ref, ...props, children: [
899
- /* @__PURE__ */ jsx21(
994
+ return /* @__PURE__ */ jsxs12(FieldBase, { as: ComboBox2, ref, ...props, children: [
995
+ /* @__PURE__ */ jsx26(
900
996
  _Input,
901
997
  {
902
- action: /* @__PURE__ */ jsx21(_Button, { className: classNames2, children: /* @__PURE__ */ jsx21(ChevronDown, { className: "size-4" }) })
998
+ action: /* @__PURE__ */ jsx26(_Button, { className: classNames2, children: /* @__PURE__ */ jsx26(ChevronDown, { className: "size-4" }) })
903
999
  }
904
1000
  ),
905
- /* @__PURE__ */ jsx21(_Popover, { children: /* @__PURE__ */ jsx21(_ListBox, { children }) })
1001
+ /* @__PURE__ */ jsx26(_Popover, { children: /* @__PURE__ */ jsx26(_ListBox, { children }) })
906
1002
  ] });
907
1003
  }
908
1004
  );
@@ -911,15 +1007,15 @@ _ComboBox.Section = _ListBox.Section;
911
1007
 
912
1008
  // src/Badge/Badge.tsx
913
1009
  import { useClassNames as useClassNames12 } from "@marigold/system";
914
- import { jsx as jsx22 } from "react/jsx-runtime";
1010
+ import { jsx as jsx27 } from "react/jsx-runtime";
915
1011
  var Badge = ({ variant, size, children, ...props }) => {
916
1012
  const classNames2 = useClassNames12({ component: "Badge", variant, size });
917
- return /* @__PURE__ */ jsx22("div", { className: classNames2, ...props, children });
1013
+ return /* @__PURE__ */ jsx27("div", { className: classNames2, ...props, children });
918
1014
  };
919
1015
 
920
1016
  // src/Breakout/Breakout.tsx
921
1017
  import { alignment, cn as cn15, createVar as createVar4 } from "@marigold/system";
922
- import { jsx as jsx23 } from "react/jsx-runtime";
1018
+ import { jsx as jsx28 } from "react/jsx-runtime";
923
1019
  var Breakout = ({
924
1020
  height,
925
1021
  children,
@@ -927,7 +1023,7 @@ var Breakout = ({
927
1023
  alignY = "center"
928
1024
  }) => {
929
1025
  var _a, _b, _c, _d;
930
- return /* @__PURE__ */ jsx23(
1026
+ return /* @__PURE__ */ jsx28(
931
1027
  "div",
932
1028
  {
933
1029
  className: cn15(
@@ -945,10 +1041,10 @@ var Breakout = ({
945
1041
 
946
1042
  // src/Body/Body.tsx
947
1043
  import { useClassNames as useClassNames13 } from "@marigold/system";
948
- import { jsx as jsx24 } from "react/jsx-runtime";
1044
+ import { jsx as jsx29 } from "react/jsx-runtime";
949
1045
  var Body = ({ children, variant, size, ...props }) => {
950
1046
  const classNames2 = useClassNames13({ component: "Body", variant, size });
951
- return /* @__PURE__ */ jsx24("section", { ...props, className: classNames2, children });
1047
+ return /* @__PURE__ */ jsx29("section", { ...props, className: classNames2, children });
952
1048
  };
953
1049
 
954
1050
  // src/Card/Card.tsx
@@ -964,7 +1060,7 @@ import {
964
1060
  paddingTop,
965
1061
  useClassNames as useClassNames14
966
1062
  } from "@marigold/system";
967
- import { jsx as jsx25 } from "react/jsx-runtime";
1063
+ import { jsx as jsx30 } from "react/jsx-runtime";
968
1064
  var Card = ({
969
1065
  children,
970
1066
  variant,
@@ -980,7 +1076,7 @@ var Card = ({
980
1076
  ...props
981
1077
  }) => {
982
1078
  const classNames2 = useClassNames14({ component: "Card", variant, size });
983
- return /* @__PURE__ */ jsx25(
1079
+ return /* @__PURE__ */ jsx30(
984
1080
  "div",
985
1081
  {
986
1082
  ...props,
@@ -1003,14 +1099,14 @@ var Card = ({
1003
1099
 
1004
1100
  // src/Center/Center.tsx
1005
1101
  import { cn as cn17, createVar as createVar5, gapSpace as gapSpace3 } from "@marigold/system";
1006
- import { jsx as jsx26 } from "react/jsx-runtime";
1102
+ import { jsx as jsx31 } from "react/jsx-runtime";
1007
1103
  var Center = ({
1008
1104
  maxWidth = "100%",
1009
1105
  space = 0,
1010
1106
  children,
1011
1107
  ...props
1012
1108
  }) => {
1013
- return /* @__PURE__ */ jsx26(
1109
+ return /* @__PURE__ */ jsx31(
1014
1110
  "div",
1015
1111
  {
1016
1112
  ...props,
@@ -1026,17 +1122,17 @@ var Center = ({
1026
1122
  };
1027
1123
 
1028
1124
  // src/Checkbox/Checkbox.tsx
1029
- import { forwardRef as forwardRef11 } from "react";
1125
+ import { forwardRef as forwardRef15 } from "react";
1030
1126
  import { Checkbox } from "react-aria-components";
1031
1127
  import { cn as cn19, useClassNames as useClassNames17 } from "@marigold/system";
1032
1128
 
1033
1129
  // src/Checkbox/CheckBoxField.tsx
1034
1130
  import { createVar as createVar6, useClassNames as useClassNames15 } from "@marigold/system";
1035
- import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
1131
+ import { jsx as jsx32, jsxs as jsxs13 } from "react/jsx-runtime";
1036
1132
  var CheckboxField = ({ children, labelWidth }) => {
1037
1133
  const classNames2 = useClassNames15({ component: "Field" });
1038
- return /* @__PURE__ */ jsxs11("div", { className: classNames2, children: [
1039
- /* @__PURE__ */ jsx27("div", { className: "w-[--labelWidth]", style: createVar6({ labelWidth }) }),
1134
+ return /* @__PURE__ */ jsxs13("div", { className: classNames2, children: [
1135
+ /* @__PURE__ */ jsx32("div", { className: "w-[--labelWidth]", style: createVar6({ labelWidth }) }),
1040
1136
  children
1041
1137
  ] });
1042
1138
  };
@@ -1051,7 +1147,7 @@ var CheckboxGroupContext = createContext4(null);
1051
1147
  var useCheckboxGroupContext = () => useContext5(CheckboxGroupContext);
1052
1148
 
1053
1149
  // src/Checkbox/CheckboxGroup.tsx
1054
- import { jsx as jsx28 } from "react/jsx-runtime";
1150
+ import { jsx as jsx33 } from "react/jsx-runtime";
1055
1151
  var _CheckboxGroup = ({
1056
1152
  children,
1057
1153
  variant,
@@ -1078,7 +1174,7 @@ var _CheckboxGroup = ({
1078
1174
  isInvalid: error,
1079
1175
  ...rest
1080
1176
  };
1081
- return /* @__PURE__ */ jsx28(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx28(
1177
+ return /* @__PURE__ */ jsx33(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx33(
1082
1178
  "div",
1083
1179
  {
1084
1180
  role: "presentation",
@@ -1088,14 +1184,14 @@ var _CheckboxGroup = ({
1088
1184
  "flex items-start",
1089
1185
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
1090
1186
  ),
1091
- children: /* @__PURE__ */ jsx28(CheckboxGroupContext.Provider, { value: { width, variant, size }, children })
1187
+ children: /* @__PURE__ */ jsx33(CheckboxGroupContext.Provider, { value: { width, variant, size }, children })
1092
1188
  }
1093
1189
  ) });
1094
1190
  };
1095
1191
 
1096
1192
  // src/Checkbox/Checkbox.tsx
1097
- import { Fragment as Fragment2, jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
1098
- var CheckMark = () => /* @__PURE__ */ jsx29("svg", { viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx29(
1193
+ import { Fragment as Fragment3, jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
1194
+ var CheckMark = () => /* @__PURE__ */ jsx34("svg", { viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx34(
1099
1195
  "path",
1100
1196
  {
1101
1197
  fill: "currentColor",
@@ -1103,7 +1199,7 @@ var CheckMark = () => /* @__PURE__ */ jsx29("svg", { viewBox: "0 0 12 10", child
1103
1199
  d: "M11.915 1.548 10.367 0 4.045 6.315 1.557 3.827 0 5.373l4.045 4.046 7.87-7.871Z"
1104
1200
  }
1105
1201
  ) });
1106
- var IndeterminateMark = () => /* @__PURE__ */ jsx29("svg", { width: "12", height: "3", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx29(
1202
+ var IndeterminateMark = () => /* @__PURE__ */ jsx34("svg", { width: "12", height: "3", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx34(
1107
1203
  "path",
1108
1204
  {
1109
1205
  fill: "currentColor",
@@ -1112,7 +1208,7 @@ var IndeterminateMark = () => /* @__PURE__ */ jsx29("svg", { width: "12", height
1112
1208
  }
1113
1209
  ) });
1114
1210
  var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1115
- return /* @__PURE__ */ jsx29(
1211
+ return /* @__PURE__ */ jsx34(
1116
1212
  "div",
1117
1213
  {
1118
1214
  "aria-hidden": "true",
@@ -1124,11 +1220,11 @@ var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1124
1220
  className
1125
1221
  ),
1126
1222
  ...props,
1127
- children: indeterminate ? /* @__PURE__ */ jsx29(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx29(CheckMark, {}) : null
1223
+ children: indeterminate ? /* @__PURE__ */ jsx34(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx34(CheckMark, {}) : null
1128
1224
  }
1129
1225
  );
1130
1226
  };
1131
- var _Checkbox = forwardRef11(
1227
+ var _Checkbox = forwardRef15(
1132
1228
  ({
1133
1229
  error,
1134
1230
  disabled,
@@ -1159,7 +1255,7 @@ var _Checkbox = forwardRef11(
1159
1255
  variant: variant || (group == null ? void 0 : group.variant),
1160
1256
  size: size || (group == null ? void 0 : group.size)
1161
1257
  });
1162
- const component = /* @__PURE__ */ jsx29(
1258
+ const component = /* @__PURE__ */ jsx34(
1163
1259
  Checkbox,
1164
1260
  {
1165
1261
  ref,
@@ -1169,8 +1265,8 @@ var _Checkbox = forwardRef11(
1169
1265
  classNames2.container
1170
1266
  ),
1171
1267
  ...props,
1172
- children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs12(Fragment2, { children: [
1173
- /* @__PURE__ */ jsx29(
1268
+ children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs14(Fragment3, { children: [
1269
+ /* @__PURE__ */ jsx34(
1174
1270
  Icon2,
1175
1271
  {
1176
1272
  checked: isSelected,
@@ -1178,11 +1274,11 @@ var _Checkbox = forwardRef11(
1178
1274
  className: classNames2.checkbox
1179
1275
  }
1180
1276
  ),
1181
- children ? /* @__PURE__ */ jsx29("div", { className: classNames2.label, children }) : null
1277
+ children ? /* @__PURE__ */ jsx34("div", { className: classNames2.label, children }) : null
1182
1278
  ] })
1183
1279
  }
1184
1280
  );
1185
- return !group && !!labelWidth ? /* @__PURE__ */ jsx29(CheckboxField, { labelWidth, children: component }) : component;
1281
+ return !group && !!labelWidth ? /* @__PURE__ */ jsx34(CheckboxField, { labelWidth, children: component }) : component;
1186
1282
  }
1187
1283
  );
1188
1284
  _Checkbox.Group = _CheckboxGroup;
@@ -1190,7 +1286,7 @@ _Checkbox.Group = _CheckboxGroup;
1190
1286
  // src/Columns/Columns.tsx
1191
1287
  import { Children as Children3 } from "react";
1192
1288
  import { cn as cn20, createVar as createVar7, gapSpace as gapSpace4 } from "@marigold/system";
1193
- import { jsx as jsx30 } from "react/jsx-runtime";
1289
+ import { jsx as jsx35 } from "react/jsx-runtime";
1194
1290
  var Columns = ({
1195
1291
  space = 0,
1196
1292
  columns,
@@ -1206,7 +1302,7 @@ var Columns = ({
1206
1302
  )}`
1207
1303
  );
1208
1304
  }
1209
- return /* @__PURE__ */ jsx30(
1305
+ return /* @__PURE__ */ jsx35(
1210
1306
  "div",
1211
1307
  {
1212
1308
  className: cn20(
@@ -1215,7 +1311,7 @@ var Columns = ({
1215
1311
  gapSpace4[space]
1216
1312
  ),
1217
1313
  ...props,
1218
- children: Children3.map(children, (child, idx) => /* @__PURE__ */ jsx30(
1314
+ children: Children3.map(children, (child, idx) => /* @__PURE__ */ jsx35(
1219
1315
  "div",
1220
1316
  {
1221
1317
  className: cn20(
@@ -1241,7 +1337,7 @@ import {
1241
1337
  gridColumn,
1242
1338
  placeItems
1243
1339
  } from "@marigold/system";
1244
- import { jsx as jsx31 } from "react/jsx-runtime";
1340
+ import { jsx as jsx36 } from "react/jsx-runtime";
1245
1341
  var content = {
1246
1342
  small: "20ch",
1247
1343
  medium: "45ch",
@@ -1261,7 +1357,7 @@ var Container = ({
1261
1357
  ...props
1262
1358
  }) => {
1263
1359
  const maxWidth = contentType === "content" ? content[size] : header[size];
1264
- return /* @__PURE__ */ jsx31(
1360
+ return /* @__PURE__ */ jsx36(
1265
1361
  "div",
1266
1362
  {
1267
1363
  ...props,
@@ -1284,22 +1380,22 @@ import { cn as cn26, useClassNames as useClassNames23 } from "@marigold/system";
1284
1380
 
1285
1381
  // src/Dialog/DialogActions.tsx
1286
1382
  import { cn as cn22, useClassNames as useClassNames18 } from "@marigold/system";
1287
- import { jsx as jsx32 } from "react/jsx-runtime";
1383
+ import { jsx as jsx37 } from "react/jsx-runtime";
1288
1384
  var DialogActions = ({ variant, size, children }) => {
1289
1385
  const classNames2 = useClassNames18({ component: "Dialog", variant, size });
1290
- return /* @__PURE__ */ jsx32("div", { className: cn22("[grid-area:actions]", classNames2.actions), children });
1386
+ return /* @__PURE__ */ jsx37("div", { className: cn22("[grid-area:actions]", classNames2.actions), children });
1291
1387
  };
1292
1388
 
1293
1389
  // src/Dialog/DialogContent.tsx
1294
1390
  import { cn as cn23, useClassNames as useClassNames19 } from "@marigold/system";
1295
- import { jsx as jsx33 } from "react/jsx-runtime";
1391
+ import { jsx as jsx38 } from "react/jsx-runtime";
1296
1392
  var DialogContent = ({
1297
1393
  variant,
1298
1394
  size,
1299
1395
  children
1300
1396
  }) => {
1301
1397
  const classNames2 = useClassNames19({ component: "Dialog", variant, size });
1302
- return /* @__PURE__ */ jsx33("div", { className: cn23("[grid-area:content]", classNames2.content), children });
1398
+ return /* @__PURE__ */ jsx38("div", { className: cn23("[grid-area:content]", classNames2.content), children });
1303
1399
  };
1304
1400
 
1305
1401
  // src/Dialog/DialogTitle.tsx
@@ -1308,14 +1404,14 @@ import { cn as cn25, useClassNames as useClassNames22 } from "@marigold/system";
1308
1404
  // src/Header/Header.tsx
1309
1405
  import { Header as Header2 } from "react-aria-components";
1310
1406
  import { useClassNames as useClassNames20 } from "@marigold/system";
1311
- import { jsx as jsx34 } from "react/jsx-runtime";
1407
+ import { jsx as jsx39 } from "react/jsx-runtime";
1312
1408
  var _Header = ({ variant, size, ...props }) => {
1313
1409
  const classNames2 = useClassNames20({
1314
1410
  component: "Header",
1315
1411
  variant,
1316
1412
  size
1317
1413
  });
1318
- return /* @__PURE__ */ jsx34(Header2, { className: classNames2, ...props, children: props.children });
1414
+ return /* @__PURE__ */ jsx39(Header2, { className: classNames2, ...props, children: props.children });
1319
1415
  };
1320
1416
 
1321
1417
  // src/Headline/Headline.tsx
@@ -1328,7 +1424,7 @@ import {
1328
1424
  useClassNames as useClassNames21,
1329
1425
  useTheme as useTheme2
1330
1426
  } from "@marigold/system";
1331
- import { jsx as jsx35 } from "react/jsx-runtime";
1427
+ import { jsx as jsx40 } from "react/jsx-runtime";
1332
1428
  var _Headline = ({
1333
1429
  variant,
1334
1430
  size,
@@ -1344,7 +1440,7 @@ var _Headline = ({
1344
1440
  variant,
1345
1441
  size: size != null ? size : `level-${level}`
1346
1442
  });
1347
- return /* @__PURE__ */ jsx35(
1443
+ return /* @__PURE__ */ jsx40(
1348
1444
  Heading,
1349
1445
  {
1350
1446
  level: Number(level),
@@ -1364,7 +1460,7 @@ var _Headline = ({
1364
1460
  };
1365
1461
 
1366
1462
  // src/Dialog/DialogTitle.tsx
1367
- import { jsx as jsx36 } from "react/jsx-runtime";
1463
+ import { jsx as jsx41 } from "react/jsx-runtime";
1368
1464
  var DialogTitle = ({
1369
1465
  level = "2",
1370
1466
  variant,
@@ -1372,7 +1468,7 @@ var DialogTitle = ({
1372
1468
  children
1373
1469
  }) => {
1374
1470
  const classNames2 = useClassNames22({ component: "Dialog", variant, size });
1375
- return /* @__PURE__ */ jsx36(_Header, { className: cn25("[grid-area:title]", classNames2.header), children: /* @__PURE__ */ jsx36(_Headline, { slot: "title", level, children }) });
1471
+ return /* @__PURE__ */ jsx41(_Header, { className: cn25("[grid-area:title]", classNames2.header), children: /* @__PURE__ */ jsx41(_Headline, { slot: "title", level, children }) });
1376
1472
  };
1377
1473
 
1378
1474
  // src/Dialog/DialogTrigger.tsx
@@ -1380,24 +1476,24 @@ import { Children as Children4 } from "react";
1380
1476
  import { DialogTrigger } from "react-aria-components";
1381
1477
 
1382
1478
  // src/Overlay/Modal.tsx
1383
- import { forwardRef as forwardRef12 } from "react";
1479
+ import { forwardRef as forwardRef16 } from "react";
1384
1480
  import { Modal } from "react-aria-components";
1385
- import { jsx as jsx37 } from "react/jsx-runtime";
1386
- var _Modal = forwardRef12(({ open, dismissable, keyboardDismissable, ...rest }, ref) => {
1481
+ import { jsx as jsx42 } from "react/jsx-runtime";
1482
+ var _Modal = forwardRef16(({ open, dismissable, keyboardDismissable, ...rest }, ref) => {
1387
1483
  const props = {
1388
1484
  isOpen: open,
1389
1485
  isDismissable: dismissable,
1390
1486
  isKeyboardDismissDisabled: keyboardDismissable,
1391
1487
  ...rest
1392
1488
  };
1393
- return /* @__PURE__ */ jsx37(
1489
+ return /* @__PURE__ */ jsx42(
1394
1490
  Underlay,
1395
1491
  {
1396
1492
  dismissable,
1397
1493
  keyboardDismissable,
1398
1494
  open,
1399
1495
  variant: "modal",
1400
- children: /* @__PURE__ */ jsx37(
1496
+ children: /* @__PURE__ */ jsx42(
1401
1497
  Modal,
1402
1498
  {
1403
1499
  ref,
@@ -1411,7 +1507,7 @@ var _Modal = forwardRef12(({ open, dismissable, keyboardDismissable, ...rest },
1411
1507
  });
1412
1508
 
1413
1509
  // src/Dialog/DialogTrigger.tsx
1414
- import { jsx as jsx38, jsxs as jsxs13 } from "react/jsx-runtime";
1510
+ import { jsx as jsx43, jsxs as jsxs15 } from "react/jsx-runtime";
1415
1511
  var _DialogTrigger = ({
1416
1512
  open,
1417
1513
  dismissable,
@@ -1428,10 +1524,10 @@ var _DialogTrigger = ({
1428
1524
  const hasDialogTrigger = dialogTrigger.type !== _Dialog;
1429
1525
  const currentDialog = children.length < 2 ? !hasDialogTrigger && dialogTrigger : dialog;
1430
1526
  if (isNonModal)
1431
- return /* @__PURE__ */ jsx38(DialogTrigger, { ...props, children: props.children });
1432
- return /* @__PURE__ */ jsxs13(DialogTrigger, { ...props, children: [
1527
+ return /* @__PURE__ */ jsx43(DialogTrigger, { ...props, children: props.children });
1528
+ return /* @__PURE__ */ jsxs15(DialogTrigger, { ...props, children: [
1433
1529
  hasDialogTrigger && dialogTrigger,
1434
- /* @__PURE__ */ jsx38(
1530
+ /* @__PURE__ */ jsx43(
1435
1531
  _Modal,
1436
1532
  {
1437
1533
  dismissable,
@@ -1443,19 +1539,19 @@ var _DialogTrigger = ({
1443
1539
  };
1444
1540
 
1445
1541
  // src/Dialog/Dialog.tsx
1446
- import { jsx as jsx39, jsxs as jsxs14 } from "react/jsx-runtime";
1542
+ import { jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
1447
1543
  var CloseButton = ({ className }) => {
1448
- const { close } = useContext6(OverlayTriggerStateContext);
1449
- return /* @__PURE__ */ jsx39("div", { className: "absolute right-4 top-4 ml-4", children: /* @__PURE__ */ jsx39(
1544
+ const ctx = useContext6(OverlayTriggerStateContext);
1545
+ return /* @__PURE__ */ jsx44("div", { className: "absolute right-4 top-4 ml-4", children: /* @__PURE__ */ jsx44(
1450
1546
  "button",
1451
1547
  {
1452
1548
  className: cn26(
1453
1549
  "h-4 w-4 cursor-pointer border-none p-0 leading-normal outline-0",
1454
1550
  className
1455
1551
  ),
1456
- onClick: close,
1552
+ onClick: ctx == null ? void 0 : ctx.close,
1457
1553
  slot: "dismiss-button",
1458
- children: /* @__PURE__ */ jsx39("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx39(
1554
+ children: /* @__PURE__ */ jsx44("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx44(
1459
1555
  "path",
1460
1556
  {
1461
1557
  fillRule: "evenodd",
@@ -1473,12 +1569,14 @@ var _Dialog = ({
1473
1569
  isNonModal,
1474
1570
  ...props
1475
1571
  }) => {
1572
+ var _a;
1476
1573
  const classNames2 = useClassNames23({ component: "Dialog", variant, size });
1477
1574
  const state = useContext6(OverlayTriggerStateContext);
1478
1575
  const children = typeof props.children === "function" ? props.children({
1479
- close: state == null ? void 0 : state.close
1576
+ close: (_a = state == null ? void 0 : state.close) != null ? _a : () => {
1577
+ }
1480
1578
  }) : props.children;
1481
- return /* @__PURE__ */ jsxs14(
1579
+ return /* @__PURE__ */ jsxs16(
1482
1580
  Dialog,
1483
1581
  {
1484
1582
  ...props,
@@ -1488,7 +1586,7 @@ var _Dialog = ({
1488
1586
  classNames2.container
1489
1587
  ),
1490
1588
  children: [
1491
- closeButton && /* @__PURE__ */ jsx39(CloseButton, { className: classNames2.closeButton }),
1589
+ closeButton && /* @__PURE__ */ jsx44(CloseButton, { className: classNames2.closeButton }),
1492
1590
  children
1493
1591
  ]
1494
1592
  }
@@ -1502,18 +1600,18 @@ _Dialog.Actions = DialogActions;
1502
1600
  // src/Divider/Divider.tsx
1503
1601
  import { Separator } from "react-aria-components";
1504
1602
  import { cn as cn27, useClassNames as useClassNames24 } from "@marigold/system";
1505
- import { jsx as jsx40 } from "react/jsx-runtime";
1603
+ import { jsx as jsx45 } from "react/jsx-runtime";
1506
1604
  var _Divider = ({ variant, ...props }) => {
1507
1605
  const classNames2 = useClassNames24({ component: "Divider", variant });
1508
- return /* @__PURE__ */ jsx40(Separator, { className: cn27("border-none", classNames2), ...props });
1606
+ return /* @__PURE__ */ jsx45(Separator, { className: cn27("border-none", classNames2), ...props });
1509
1607
  };
1510
1608
 
1511
1609
  // src/Footer/Footer.tsx
1512
1610
  import { useClassNames as useClassNames25 } from "@marigold/system";
1513
- import { jsx as jsx41 } from "react/jsx-runtime";
1611
+ import { jsx as jsx46 } from "react/jsx-runtime";
1514
1612
  var Footer = ({ children, variant, size, ...props }) => {
1515
1613
  const classNames2 = useClassNames25({ component: "Footer", variant, size });
1516
- return /* @__PURE__ */ jsx41("footer", { ...props, className: classNames2, children });
1614
+ return /* @__PURE__ */ jsx46("footer", { ...props, className: classNames2, children });
1517
1615
  };
1518
1616
 
1519
1617
  // src/Form/Form.tsx
@@ -1523,11 +1621,11 @@ import { Form } from "react-aria-components";
1523
1621
  import { cn as cn28, gapSpace as gapSpace5, height as twHeight } from "@marigold/system";
1524
1622
 
1525
1623
  // src/Grid/GridArea.tsx
1526
- import { jsx as jsx42 } from "react/jsx-runtime";
1527
- var GridArea = ({ name, children }) => /* @__PURE__ */ jsx42("div", { style: { gridArea: name }, children });
1624
+ import { jsx as jsx47 } from "react/jsx-runtime";
1625
+ var GridArea = ({ name, children }) => /* @__PURE__ */ jsx47("div", { style: { gridArea: name }, children });
1528
1626
 
1529
1627
  // src/Grid/Grid.tsx
1530
- import { jsx as jsx43 } from "react/jsx-runtime";
1628
+ import { jsx as jsx48 } from "react/jsx-runtime";
1531
1629
  var parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
1532
1630
  var parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
1533
1631
  var Grid = ({
@@ -1539,7 +1637,7 @@ var Grid = ({
1539
1637
  space = 0,
1540
1638
  ...props
1541
1639
  }) => {
1542
- return /* @__PURE__ */ jsx43(
1640
+ return /* @__PURE__ */ jsx48(
1543
1641
  "div",
1544
1642
  {
1545
1643
  className: cn28("grid", gapSpace5[space], twHeight[height]),
@@ -1562,7 +1660,7 @@ import {
1562
1660
  objectPosition,
1563
1661
  useClassNames as useClassNames26
1564
1662
  } from "@marigold/system";
1565
- import { jsx as jsx44 } from "react/jsx-runtime";
1663
+ import { jsx as jsx49 } from "react/jsx-runtime";
1566
1664
  var Image = ({
1567
1665
  variant,
1568
1666
  size,
@@ -1571,7 +1669,7 @@ var Image = ({
1571
1669
  ...props
1572
1670
  }) => {
1573
1671
  const classNames2 = useClassNames26({ component: "Image", variant, size });
1574
- return /* @__PURE__ */ jsx44(
1672
+ return /* @__PURE__ */ jsx49(
1575
1673
  "img",
1576
1674
  {
1577
1675
  ...props,
@@ -1588,7 +1686,7 @@ var Image = ({
1588
1686
 
1589
1687
  // src/Inline/Inline.tsx
1590
1688
  import { alignment as alignment2, cn as cn30, gapSpace as gapSpace6 } from "@marigold/system";
1591
- import { jsx as jsx45 } from "react/jsx-runtime";
1689
+ import { jsx as jsx50 } from "react/jsx-runtime";
1592
1690
  var Inline = ({
1593
1691
  space = 0,
1594
1692
  alignX,
@@ -1597,7 +1695,7 @@ var Inline = ({
1597
1695
  ...props
1598
1696
  }) => {
1599
1697
  var _a, _b, _c, _d;
1600
- return /* @__PURE__ */ jsx45(
1698
+ return /* @__PURE__ */ jsx50(
1601
1699
  "div",
1602
1700
  {
1603
1701
  ...props,
@@ -1613,7 +1711,7 @@ var Inline = ({
1613
1711
  };
1614
1712
 
1615
1713
  // src/DateField/DateField.tsx
1616
- import { forwardRef as forwardRef13 } from "react";
1714
+ import { forwardRef as forwardRef17 } from "react";
1617
1715
  import { DateField } from "react-aria-components";
1618
1716
 
1619
1717
  // src/DateField/DateInput.tsx
@@ -1623,9 +1721,9 @@ import { useClassNames as useClassNames27 } from "@marigold/system";
1623
1721
  // src/DateField/DateSegment.tsx
1624
1722
  import { DateSegment } from "react-aria-components";
1625
1723
  import { cn as cn31 } from "@marigold/system";
1626
- import { Fragment as Fragment3, jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
1724
+ import { Fragment as Fragment4, jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
1627
1725
  var _DateSegment = ({ segment, ...props }) => {
1628
- return /* @__PURE__ */ jsx46(
1726
+ return /* @__PURE__ */ jsx51(
1629
1727
  DateSegment,
1630
1728
  {
1631
1729
  ...props,
@@ -1633,8 +1731,8 @@ var _DateSegment = ({ segment, ...props }) => {
1633
1731
  style: {
1634
1732
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
1635
1733
  },
1636
- children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs15(Fragment3, { children: [
1637
- /* @__PURE__ */ jsx46(
1734
+ children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs17(Fragment4, { children: [
1735
+ /* @__PURE__ */ jsx51(
1638
1736
  "span",
1639
1737
  {
1640
1738
  "aria-hidden": "true",
@@ -1645,19 +1743,19 @@ var _DateSegment = ({ segment, ...props }) => {
1645
1743
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
1646
1744
  }
1647
1745
  ),
1648
- /* @__PURE__ */ jsx46("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1746
+ /* @__PURE__ */ jsx51("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1649
1747
  ] })
1650
1748
  }
1651
1749
  );
1652
1750
  };
1653
1751
 
1654
1752
  // src/DateField/DateInput.tsx
1655
- import { jsx as jsx47, jsxs as jsxs16 } from "react/jsx-runtime";
1753
+ import { jsx as jsx52, jsxs as jsxs18 } from "react/jsx-runtime";
1656
1754
  var _DateInput = ({ variant, size, action, ...props }) => {
1657
1755
  const classNames2 = useClassNames27({ component: "DateField", variant, size });
1658
- return /* @__PURE__ */ jsxs16(Group, { className: classNames2.field, children: [
1659
- /* @__PURE__ */ jsx47(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx47(_DateSegment, { className: classNames2.segment, segment }) }),
1660
- action ? action : /* @__PURE__ */ jsx47("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx47(
1756
+ return /* @__PURE__ */ jsxs18(Group, { className: classNames2.field, children: [
1757
+ /* @__PURE__ */ jsx52(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx52(_DateSegment, { className: classNames2.segment, segment }) }),
1758
+ action ? action : /* @__PURE__ */ jsx52("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx52(
1661
1759
  "svg",
1662
1760
  {
1663
1761
  "data-testid": "action",
@@ -1665,15 +1763,15 @@ var _DateInput = ({ variant, size, action, ...props }) => {
1665
1763
  viewBox: "0 0 24 24",
1666
1764
  width: 24,
1667
1765
  height: 24,
1668
- children: /* @__PURE__ */ jsx47("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1766
+ children: /* @__PURE__ */ jsx52("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1669
1767
  }
1670
1768
  ) })
1671
1769
  ] });
1672
1770
  };
1673
1771
 
1674
1772
  // src/DateField/DateField.tsx
1675
- import { jsx as jsx48 } from "react/jsx-runtime";
1676
- var _DateField = forwardRef13(
1773
+ import { jsx as jsx53 } from "react/jsx-runtime";
1774
+ var _DateField = forwardRef17(
1677
1775
  ({
1678
1776
  variant,
1679
1777
  size,
@@ -1691,7 +1789,7 @@ var _DateField = forwardRef13(
1691
1789
  isRequired: required,
1692
1790
  ...rest
1693
1791
  };
1694
- return /* @__PURE__ */ jsx48(
1792
+ return /* @__PURE__ */ jsx53(
1695
1793
  FieldBase,
1696
1794
  {
1697
1795
  as: DateField,
@@ -1699,7 +1797,7 @@ var _DateField = forwardRef13(
1699
1797
  size,
1700
1798
  ref,
1701
1799
  ...props,
1702
- children: /* @__PURE__ */ jsx48(_DateInput, { action })
1800
+ children: /* @__PURE__ */ jsx53(_DateInput, { action })
1703
1801
  }
1704
1802
  );
1705
1803
  }
@@ -1725,7 +1823,7 @@ import { CalendarStateContext } from "react-aria-components";
1725
1823
  import { useCalendarGrid } from "@react-aria/calendar";
1726
1824
  import { useDateFormatter, useLocale } from "@react-aria/i18n";
1727
1825
  import { useClassNames as useClassNames28 } from "@marigold/system";
1728
- import { jsx as jsx49 } from "react/jsx-runtime";
1826
+ import { jsx as jsx54 } from "react/jsx-runtime";
1729
1827
  function CalendarGridHeader(props) {
1730
1828
  const state = useContext7(CalendarStateContext);
1731
1829
  const { headerProps } = useCalendarGrid(props, state);
@@ -1743,16 +1841,16 @@ function CalendarGridHeader(props) {
1743
1841
  });
1744
1842
  }, [locale, state.timeZone, dayFormatter]);
1745
1843
  const classNames2 = useClassNames28({ component: "Calendar" });
1746
- return /* @__PURE__ */ jsx49("thead", { ...headerProps, children: /* @__PURE__ */ jsx49("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx49("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1844
+ return /* @__PURE__ */ jsx54("thead", { ...headerProps, children: /* @__PURE__ */ jsx54("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx54("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1747
1845
  }
1748
1846
 
1749
1847
  // src/Calendar/CalendarGrid.tsx
1750
- import { jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
1848
+ import { jsx as jsx55, jsxs as jsxs19 } from "react/jsx-runtime";
1751
1849
  var _CalendarGrid = () => {
1752
1850
  const classNames2 = useClassNames29({ component: "Calendar" });
1753
- return /* @__PURE__ */ jsxs17(CalendarGrid, { className: classNames2.calendarGrid, children: [
1754
- /* @__PURE__ */ jsx50(CalendarGridHeader, {}),
1755
- /* @__PURE__ */ jsx50(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx50(
1851
+ return /* @__PURE__ */ jsxs19(CalendarGrid, { className: classNames2.calendarGrid, children: [
1852
+ /* @__PURE__ */ jsx55(CalendarGridHeader, {}),
1853
+ /* @__PURE__ */ jsx55(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx55(
1756
1854
  CalendarCell,
1757
1855
  {
1758
1856
  date,
@@ -1768,7 +1866,6 @@ var _CalendarGrid = () => {
1768
1866
  // src/Calendar/CalendarListBox.tsx
1769
1867
  import { useContext as useContext8 } from "react";
1770
1868
  import { CalendarStateContext as CalendarStateContext2 } from "react-aria-components";
1771
- import { ChevronDown as ChevronDown2 } from "@marigold/icons";
1772
1869
  import { cn as cn33, useClassNames as useClassNames30 } from "@marigold/system";
1773
1870
 
1774
1871
  // src/Calendar/useFormattedMonths.tsx
@@ -1788,7 +1885,7 @@ function useFormattedMonths(timeZone, focusedDate) {
1788
1885
  }
1789
1886
 
1790
1887
  // src/Calendar/CalendarListBox.tsx
1791
- import { jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
1888
+ import { jsx as jsx56, jsxs as jsxs20 } from "react/jsx-runtime";
1792
1889
  function CalendarListBox({
1793
1890
  type,
1794
1891
  isDisabled,
@@ -1798,7 +1895,7 @@ function CalendarListBox({
1798
1895
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
1799
1896
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
1800
1897
  const { select: selectClassNames } = useClassNames30({ component: "Select" });
1801
- return /* @__PURE__ */ jsxs18(
1898
+ return /* @__PURE__ */ jsxs20(
1802
1899
  "button",
1803
1900
  {
1804
1901
  disabled: isDisabled,
@@ -1807,7 +1904,7 @@ function CalendarListBox({
1807
1904
  "data-testid": type,
1808
1905
  children: [
1809
1906
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
1810
- /* @__PURE__ */ jsx51(ChevronDown2, {})
1907
+ /* @__PURE__ */ jsx56(ChevronDown, {})
1811
1908
  ]
1812
1909
  }
1813
1910
  );
@@ -1815,13 +1912,12 @@ function CalendarListBox({
1815
1912
 
1816
1913
  // src/Calendar/MonthControls.tsx
1817
1914
  import { Button as Button3 } from "react-aria-components";
1818
- import { ChevronLeft, ChevronRight } from "@marigold/icons";
1819
1915
  import { cn as cn34, useClassNames as useClassNames31 } from "@marigold/system";
1820
- import { jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
1916
+ import { jsx as jsx57, jsxs as jsxs21 } from "react/jsx-runtime";
1821
1917
  function MonthControls() {
1822
1918
  const classNames2 = useClassNames31({ component: "Calendar" });
1823
1919
  const buttonClassNames = useClassNames31({ component: "Button" });
1824
- return /* @__PURE__ */ jsxs19(
1920
+ return /* @__PURE__ */ jsxs21(
1825
1921
  "div",
1826
1922
  {
1827
1923
  className: cn34(
@@ -1829,7 +1925,7 @@ function MonthControls() {
1829
1925
  classNames2.calendarControllers
1830
1926
  ),
1831
1927
  children: [
1832
- /* @__PURE__ */ jsx52(
1928
+ /* @__PURE__ */ jsx57(
1833
1929
  Button3,
1834
1930
  {
1835
1931
  className: cn34(
@@ -1837,10 +1933,10 @@ function MonthControls() {
1837
1933
  buttonClassNames
1838
1934
  ),
1839
1935
  slot: "previous",
1840
- children: /* @__PURE__ */ jsx52(ChevronLeft, {})
1936
+ children: /* @__PURE__ */ jsx57(ChevronLeft, {})
1841
1937
  }
1842
1938
  ),
1843
- /* @__PURE__ */ jsx52(
1939
+ /* @__PURE__ */ jsx57(
1844
1940
  Button3,
1845
1941
  {
1846
1942
  className: cn34(
@@ -1848,7 +1944,7 @@ function MonthControls() {
1848
1944
  buttonClassNames
1849
1945
  ),
1850
1946
  slot: "next",
1851
- children: /* @__PURE__ */ jsx52(ChevronRight, {})
1947
+ children: /* @__PURE__ */ jsx57(ChevronRight, {})
1852
1948
  }
1853
1949
  )
1854
1950
  ]
@@ -1860,7 +1956,7 @@ var MonthControls_default = MonthControls;
1860
1956
  // src/Calendar/MonthListBox.tsx
1861
1957
  import { useContext as useContext9 } from "react";
1862
1958
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
1863
- import { jsx as jsx53 } from "react/jsx-runtime";
1959
+ import { jsx as jsx58 } from "react/jsx-runtime";
1864
1960
  var MonthListBox = ({ setSelectedDropdown }) => {
1865
1961
  const state = useContext9(CalendarStateContext3);
1866
1962
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
@@ -1869,13 +1965,13 @@ var MonthListBox = ({ setSelectedDropdown }) => {
1869
1965
  let date = state.focusedDate.set({ month: value });
1870
1966
  state.setFocusedDate(date);
1871
1967
  };
1872
- return /* @__PURE__ */ jsx53(
1968
+ return /* @__PURE__ */ jsx58(
1873
1969
  "ul",
1874
1970
  {
1875
1971
  "data-testid": "monthOptions",
1876
1972
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1877
1973
  children: months.map((month, index) => {
1878
- return /* @__PURE__ */ jsx53("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx53(
1974
+ return /* @__PURE__ */ jsx58("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx58(
1879
1975
  _Button,
1880
1976
  {
1881
1977
  slot: "previous",
@@ -1903,7 +1999,7 @@ import {
1903
1999
  } from "react";
1904
2000
  import { CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
1905
2001
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
1906
- import { jsx as jsx54 } from "react/jsx-runtime";
2002
+ import { jsx as jsx59 } from "react/jsx-runtime";
1907
2003
  var YearListBox = ({ setSelectedDropdown }) => {
1908
2004
  const state = useContext10(CalendarStateContext4);
1909
2005
  const years = [];
@@ -1933,19 +2029,19 @@ var YearListBox = ({ setSelectedDropdown }) => {
1933
2029
  let date = years[index].value;
1934
2030
  state.setFocusedDate(date);
1935
2031
  };
1936
- return /* @__PURE__ */ jsx54(
2032
+ return /* @__PURE__ */ jsx59(
1937
2033
  "ul",
1938
2034
  {
1939
2035
  "data-testid": "yearOptions",
1940
2036
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1941
2037
  children: years.map((year, index) => {
1942
2038
  const isActive = +year.formatted === state.focusedDate.year;
1943
- return /* @__PURE__ */ jsx54("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx54(
2039
+ return /* @__PURE__ */ jsx59("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx59(
1944
2040
  "div",
1945
2041
  {
1946
2042
  ref: isActive ? activeButtonRef : null,
1947
2043
  style: { height: "100%", width: "100%" },
1948
- children: /* @__PURE__ */ jsx54(
2044
+ children: /* @__PURE__ */ jsx59(
1949
2045
  _Button,
1950
2046
  {
1951
2047
  slot: "previous",
@@ -1970,7 +2066,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
1970
2066
  var YearListBox_default = YearListBox;
1971
2067
 
1972
2068
  // src/Calendar/Calendar.tsx
1973
- import { Fragment as Fragment4, jsx as jsx55, jsxs as jsxs20 } from "react/jsx-runtime";
2069
+ import { Fragment as Fragment5, jsx as jsx60, jsxs as jsxs22 } from "react/jsx-runtime";
1974
2070
  var _Calendar = ({
1975
2071
  disabled,
1976
2072
  readOnly,
@@ -1986,10 +2082,10 @@ var _Calendar = ({
1986
2082
  const classNames2 = useClassNames32({ component: "Calendar" });
1987
2083
  const [selectedDropdown, setSelectedDropdown] = useState();
1988
2084
  const ViewMap = {
1989
- month: /* @__PURE__ */ jsx55(MonthListBox_default, { setSelectedDropdown }),
1990
- year: /* @__PURE__ */ jsx55(YearListBox_default, { setSelectedDropdown })
2085
+ month: /* @__PURE__ */ jsx60(MonthListBox_default, { setSelectedDropdown }),
2086
+ year: /* @__PURE__ */ jsx60(YearListBox_default, { setSelectedDropdown })
1991
2087
  };
1992
- return /* @__PURE__ */ jsx55(
2088
+ return /* @__PURE__ */ jsx60(
1993
2089
  Calendar,
1994
2090
  {
1995
2091
  className: cn35(
@@ -1997,10 +2093,10 @@ var _Calendar = ({
1997
2093
  classNames2.calendar
1998
2094
  ),
1999
2095
  ...props,
2000
- children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs20(Fragment4, { children: [
2001
- /* @__PURE__ */ jsxs20("div", { className: "mb-4 flex items-center justify-between", children: [
2002
- /* @__PURE__ */ jsxs20("div", { className: "flex w-full gap-4", children: [
2003
- /* @__PURE__ */ jsx55(
2096
+ children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs22(Fragment5, { children: [
2097
+ /* @__PURE__ */ jsxs22("div", { className: "mb-4 flex items-center justify-between", children: [
2098
+ /* @__PURE__ */ jsxs22("div", { className: "flex w-full gap-4", children: [
2099
+ /* @__PURE__ */ jsx60(
2004
2100
  CalendarListBox,
2005
2101
  {
2006
2102
  type: "month",
@@ -2008,7 +2104,7 @@ var _Calendar = ({
2008
2104
  setSelectedDropdown
2009
2105
  }
2010
2106
  ),
2011
- /* @__PURE__ */ jsx55(
2107
+ /* @__PURE__ */ jsx60(
2012
2108
  CalendarListBox,
2013
2109
  {
2014
2110
  type: "year",
@@ -2017,20 +2113,20 @@ var _Calendar = ({
2017
2113
  }
2018
2114
  )
2019
2115
  ] }),
2020
- /* @__PURE__ */ jsx55(MonthControls_default, {})
2116
+ /* @__PURE__ */ jsx60(MonthControls_default, {})
2021
2117
  ] }),
2022
- /* @__PURE__ */ jsx55(_CalendarGrid, {})
2118
+ /* @__PURE__ */ jsx60(_CalendarGrid, {})
2023
2119
  ] })
2024
2120
  }
2025
2121
  );
2026
2122
  };
2027
2123
 
2028
2124
  // src/DatePicker/DatePicker.tsx
2029
- import React4 from "react";
2125
+ import React6 from "react";
2030
2126
  import { DatePicker } from "react-aria-components";
2031
2127
  import { useClassNames as useClassNames33 } from "@marigold/system";
2032
- import { jsx as jsx56, jsxs as jsxs21 } from "react/jsx-runtime";
2033
- var _DatePicker = React4.forwardRef(
2128
+ import { jsx as jsx61, jsxs as jsxs23 } from "react/jsx-runtime";
2129
+ var _DatePicker = React6.forwardRef(
2034
2130
  ({
2035
2131
  dateUnavailable,
2036
2132
  disabled,
@@ -2058,7 +2154,7 @@ var _DatePicker = React4.forwardRef(
2058
2154
  size,
2059
2155
  variant
2060
2156
  });
2061
- return /* @__PURE__ */ jsxs21(
2157
+ return /* @__PURE__ */ jsxs23(
2062
2158
  FieldBase,
2063
2159
  {
2064
2160
  as: DatePicker,
@@ -2067,16 +2163,16 @@ var _DatePicker = React4.forwardRef(
2067
2163
  ...props,
2068
2164
  ref,
2069
2165
  children: [
2070
- /* @__PURE__ */ jsx56(
2166
+ /* @__PURE__ */ jsx61(
2071
2167
  _DateInput,
2072
2168
  {
2073
- action: /* @__PURE__ */ jsx56("div", { className: classNames2.container, children: /* @__PURE__ */ jsx56(
2169
+ action: /* @__PURE__ */ jsx61("div", { className: classNames2.container, children: /* @__PURE__ */ jsx61(
2074
2170
  _Button,
2075
2171
  {
2076
2172
  size: "small",
2077
2173
  disabled,
2078
2174
  className: classNames2.button,
2079
- children: /* @__PURE__ */ jsx56(
2175
+ children: /* @__PURE__ */ jsx61(
2080
2176
  "svg",
2081
2177
  {
2082
2178
  "data-testid": "action",
@@ -2084,14 +2180,14 @@ var _DatePicker = React4.forwardRef(
2084
2180
  width: 24,
2085
2181
  height: 24,
2086
2182
  fill: "currentColor",
2087
- children: /* @__PURE__ */ jsx56("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
2183
+ children: /* @__PURE__ */ jsx61("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
2088
2184
  }
2089
2185
  )
2090
2186
  }
2091
2187
  ) })
2092
2188
  }
2093
2189
  ),
2094
- /* @__PURE__ */ jsx56(_Popover, { children: /* @__PURE__ */ jsx56(_Calendar, { disabled }) })
2190
+ /* @__PURE__ */ jsx61(_Popover, { children: /* @__PURE__ */ jsx61(_Calendar, { disabled }) })
2095
2191
  ]
2096
2192
  }
2097
2193
  );
@@ -2105,8 +2201,8 @@ import {
2105
2201
  paddingSpaceX as paddingSpaceX2,
2106
2202
  paddingSpaceY as paddingSpaceY2
2107
2203
  } from "@marigold/system";
2108
- import { jsx as jsx57 } from "react/jsx-runtime";
2109
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx57(
2204
+ import { jsx as jsx62 } from "react/jsx-runtime";
2205
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx62(
2110
2206
  "div",
2111
2207
  {
2112
2208
  className: cn36(
@@ -2119,18 +2215,18 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx57(
2119
2215
  );
2120
2216
 
2121
2217
  // src/Link/Link.tsx
2122
- import { forwardRef as forwardRef14 } from "react";
2218
+ import { forwardRef as forwardRef18 } from "react";
2123
2219
  import { Link } from "react-aria-components";
2124
2220
  import { useClassNames as useClassNames34 } from "@marigold/system";
2125
- import { jsx as jsx58 } from "react/jsx-runtime";
2126
- var _Link = forwardRef14(
2221
+ import { jsx as jsx63 } from "react/jsx-runtime";
2222
+ var _Link = forwardRef18(
2127
2223
  ({ variant, size, disabled, children, ...props }, ref) => {
2128
2224
  const classNames2 = useClassNames34({
2129
2225
  component: "Link",
2130
2226
  variant,
2131
2227
  size
2132
2228
  });
2133
- return /* @__PURE__ */ jsx58(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2229
+ return /* @__PURE__ */ jsx63(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2134
2230
  }
2135
2231
  );
2136
2232
 
@@ -2143,14 +2239,14 @@ var ListContext = createContext5({});
2143
2239
  var useListContext = () => useContext11(ListContext);
2144
2240
 
2145
2241
  // src/List/ListItem.tsx
2146
- import { jsx as jsx59 } from "react/jsx-runtime";
2242
+ import { jsx as jsx64 } from "react/jsx-runtime";
2147
2243
  var ListItem = ({ children, ...props }) => {
2148
2244
  const { classNames: classNames2 } = useListContext();
2149
- return /* @__PURE__ */ jsx59("li", { ...props, className: classNames2, children });
2245
+ return /* @__PURE__ */ jsx64("li", { ...props, className: classNames2, children });
2150
2246
  };
2151
2247
 
2152
2248
  // src/List/List.tsx
2153
- import { jsx as jsx60 } from "react/jsx-runtime";
2249
+ import { jsx as jsx65 } from "react/jsx-runtime";
2154
2250
  var List = ({
2155
2251
  as = "ul",
2156
2252
  children,
@@ -2160,7 +2256,7 @@ var List = ({
2160
2256
  }) => {
2161
2257
  const Component = as;
2162
2258
  const classNames2 = useClassNames35({ component: "List", variant, size });
2163
- return /* @__PURE__ */ jsx60(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx60(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2259
+ return /* @__PURE__ */ jsx65(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx65(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2164
2260
  };
2165
2261
  List.Item = ListItem;
2166
2262
 
@@ -2171,26 +2267,26 @@ import { useClassNames as useClassNames38 } from "@marigold/system";
2171
2267
  // src/Menu/MenuItem.tsx
2172
2268
  import { MenuItem } from "react-aria-components";
2173
2269
  import { useClassNames as useClassNames36 } from "@marigold/system";
2174
- import { jsx as jsx61 } from "react/jsx-runtime";
2270
+ import { jsx as jsx66 } from "react/jsx-runtime";
2175
2271
  var _MenuItem = ({ children, ...props }) => {
2176
2272
  const classNames2 = useClassNames36({ component: "Menu" });
2177
- return /* @__PURE__ */ jsx61(MenuItem, { ...props, className: classNames2.item, children });
2273
+ return /* @__PURE__ */ jsx66(MenuItem, { ...props, className: classNames2.item, children });
2178
2274
  };
2179
2275
 
2180
2276
  // src/Menu/MenuSection.tsx
2181
2277
  import { Section as Section2 } from "react-aria-components";
2182
2278
  import { useClassNames as useClassNames37 } from "@marigold/system";
2183
- import { jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
2279
+ import { jsx as jsx67, jsxs as jsxs24 } from "react/jsx-runtime";
2184
2280
  var _MenuSection = ({ children, title, ...props }) => {
2185
2281
  const className = useClassNames37({ component: "Menu" });
2186
- return /* @__PURE__ */ jsxs22(Section2, { ...props, children: [
2187
- /* @__PURE__ */ jsx62(_Header, { className: className.section, children: title }),
2282
+ return /* @__PURE__ */ jsxs24(Section2, { ...props, children: [
2283
+ /* @__PURE__ */ jsx67(_Header, { className: className.section, children: title }),
2188
2284
  children
2189
2285
  ] });
2190
2286
  };
2191
2287
 
2192
2288
  // src/Menu/Menu.tsx
2193
- import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
2289
+ import { jsx as jsx68, jsxs as jsxs25 } from "react/jsx-runtime";
2194
2290
  var _Menu = ({
2195
2291
  children,
2196
2292
  label,
@@ -2203,9 +2299,9 @@ var _Menu = ({
2203
2299
  ...props
2204
2300
  }) => {
2205
2301
  const classNames2 = useClassNames38({ component: "Menu", variant, size });
2206
- return /* @__PURE__ */ jsxs23(MenuTrigger, { ...props, children: [
2207
- /* @__PURE__ */ jsx63(_Button, { variant: "menu", disabled, "aria-label": ariaLabel, children: label }),
2208
- /* @__PURE__ */ jsx63(_Popover, { open, placement, children: /* @__PURE__ */ jsx63(Menu, { ...props, className: classNames2.container, children }) })
2302
+ return /* @__PURE__ */ jsxs25(MenuTrigger, { ...props, children: [
2303
+ /* @__PURE__ */ jsx68(_Button, { variant: "menu", disabled, "aria-label": ariaLabel, children: label }),
2304
+ /* @__PURE__ */ jsx68(_Popover, { open, placement, children: /* @__PURE__ */ jsx68(Menu, { ...props, className: classNames2.container, children }) })
2209
2305
  ] });
2210
2306
  };
2211
2307
  _Menu.Item = _MenuItem;
@@ -2213,8 +2309,8 @@ _Menu.Section = _MenuSection;
2213
2309
 
2214
2310
  // src/Menu/ActionMenu.tsx
2215
2311
  import { Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
2216
- import { SVG as SVG4, useClassNames as useClassNames39 } from "@marigold/system";
2217
- import { jsx as jsx64, jsxs as jsxs24 } from "react/jsx-runtime";
2312
+ import { SVG as SVG9, useClassNames as useClassNames39 } from "@marigold/system";
2313
+ import { jsx as jsx69, jsxs as jsxs26 } from "react/jsx-runtime";
2218
2314
  var ActionMenu = ({
2219
2315
  variant,
2220
2316
  size,
@@ -2222,9 +2318,9 @@ var ActionMenu = ({
2222
2318
  ...props
2223
2319
  }) => {
2224
2320
  const classNames2 = useClassNames39({ component: "Menu", variant, size });
2225
- return /* @__PURE__ */ jsxs24(MenuTrigger2, { children: [
2226
- /* @__PURE__ */ jsx64(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx64(SVG4, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("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" }) }) }),
2227
- /* @__PURE__ */ jsx64(_Popover, { children: /* @__PURE__ */ jsx64(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2321
+ return /* @__PURE__ */ jsxs26(MenuTrigger2, { children: [
2322
+ /* @__PURE__ */ jsx69(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx69(SVG9, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx69("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" }) }) }),
2323
+ /* @__PURE__ */ jsx69(_Popover, { children: /* @__PURE__ */ jsx69(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2228
2324
  ] });
2229
2325
  };
2230
2326
 
@@ -2239,32 +2335,32 @@ var useSectionMessageContext = () => useContext12(SectionMessageContext);
2239
2335
 
2240
2336
  // src/SectionMessage/SectionMessageContent.tsx
2241
2337
  import { cn as cn37 } from "@marigold/system";
2242
- import { jsx as jsx65 } from "react/jsx-runtime";
2338
+ import { jsx as jsx70 } from "react/jsx-runtime";
2243
2339
  var SectionMessageContent = ({
2244
2340
  children
2245
2341
  }) => {
2246
2342
  const { classNames: classNames2 } = useSectionMessageContext();
2247
- return /* @__PURE__ */ jsx65("div", { className: cn37("[grid-area:content]", classNames2.content), children });
2343
+ return /* @__PURE__ */ jsx70("div", { className: cn37("[grid-area:content]", classNames2.content), children });
2248
2344
  };
2249
2345
 
2250
2346
  // src/SectionMessage/SectionMessageTitle.tsx
2251
2347
  import { cn as cn38 } from "@marigold/system";
2252
- import { jsx as jsx66 } from "react/jsx-runtime";
2348
+ import { jsx as jsx71 } from "react/jsx-runtime";
2253
2349
  var SectionMessageTitle = ({ children }) => {
2254
2350
  const { classNames: classNames2 } = useSectionMessageContext();
2255
- return /* @__PURE__ */ jsx66("div", { className: cn38("[grid-area:title]", classNames2.title), children });
2351
+ return /* @__PURE__ */ jsx71("div", { className: cn38("[grid-area:title]", classNames2.title), children });
2256
2352
  };
2257
2353
 
2258
2354
  // src/SectionMessage/SectionMessage.tsx
2259
- import { jsx as jsx67, jsxs as jsxs25 } from "react/jsx-runtime";
2355
+ import { jsx as jsx72, jsxs as jsxs27 } from "react/jsx-runtime";
2260
2356
  var icons = {
2261
- success: () => /* @__PURE__ */ jsx67(
2357
+ success: () => /* @__PURE__ */ jsx72(
2262
2358
  "svg",
2263
2359
  {
2264
2360
  xmlns: "http://www.w3.org/2000/svg",
2265
2361
  viewBox: "0 0 24 24",
2266
2362
  fill: "currentColor",
2267
- children: /* @__PURE__ */ jsx67(
2363
+ children: /* @__PURE__ */ jsx72(
2268
2364
  "path",
2269
2365
  {
2270
2366
  fillRule: "evenodd",
@@ -2274,13 +2370,13 @@ var icons = {
2274
2370
  )
2275
2371
  }
2276
2372
  ),
2277
- info: () => /* @__PURE__ */ jsx67(
2373
+ info: () => /* @__PURE__ */ jsx72(
2278
2374
  "svg",
2279
2375
  {
2280
2376
  xmlns: "http://www.w3.org/2000/svg",
2281
2377
  viewBox: "0 0 24 24",
2282
2378
  fill: "currentColor",
2283
- children: /* @__PURE__ */ jsx67(
2379
+ children: /* @__PURE__ */ jsx72(
2284
2380
  "path",
2285
2381
  {
2286
2382
  fillRule: "evenodd",
@@ -2290,13 +2386,13 @@ var icons = {
2290
2386
  )
2291
2387
  }
2292
2388
  ),
2293
- warning: () => /* @__PURE__ */ jsx67(
2389
+ warning: () => /* @__PURE__ */ jsx72(
2294
2390
  "svg",
2295
2391
  {
2296
2392
  xmlns: "http://www.w3.org/2000/svg",
2297
2393
  viewBox: "0 0 24 24",
2298
2394
  fill: "currentColor",
2299
- children: /* @__PURE__ */ jsx67(
2395
+ children: /* @__PURE__ */ jsx72(
2300
2396
  "path",
2301
2397
  {
2302
2398
  fillRule: "evenodd",
@@ -2306,13 +2402,13 @@ var icons = {
2306
2402
  )
2307
2403
  }
2308
2404
  ),
2309
- error: () => /* @__PURE__ */ jsx67(
2405
+ error: () => /* @__PURE__ */ jsx72(
2310
2406
  "svg",
2311
2407
  {
2312
2408
  xmlns: "http://www.w3.org/2000/svg",
2313
2409
  viewBox: "0 0 24 24",
2314
2410
  fill: "currentColor",
2315
- children: /* @__PURE__ */ jsx67(
2411
+ children: /* @__PURE__ */ jsx72(
2316
2412
  "path",
2317
2413
  {
2318
2414
  fillRule: "evenodd",
@@ -2341,30 +2437,30 @@ var SectionMessage = ({
2341
2437
  setIsVisible(false);
2342
2438
  };
2343
2439
  if (!isVisible) return null;
2344
- return /* @__PURE__ */ jsx67(SectionMessageContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsxs25(
2440
+ return /* @__PURE__ */ jsx72(SectionMessageContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsxs27(
2345
2441
  "div",
2346
2442
  {
2347
2443
  role: variant === "error" ? "alert" : void 0,
2348
2444
  ...props,
2349
2445
  className: cn39("grid auto-rows-min", classNames2.container),
2350
2446
  children: [
2351
- /* @__PURE__ */ jsx67(
2447
+ /* @__PURE__ */ jsx72(
2352
2448
  "div",
2353
2449
  {
2354
2450
  className: cn39(
2355
2451
  "h-5 w-5 self-center [grid-area:icon]",
2356
2452
  classNames2.icon
2357
2453
  ),
2358
- children: Icon4 && /* @__PURE__ */ jsx67(Icon4, {})
2454
+ children: Icon4 && /* @__PURE__ */ jsx72(Icon4, {})
2359
2455
  }
2360
2456
  ),
2361
- closeButton && /* @__PURE__ */ jsx67(
2457
+ closeButton && /* @__PURE__ */ jsx72(
2362
2458
  "button",
2363
2459
  {
2364
2460
  "aria-label": "close",
2365
2461
  className: "h-5 w-5 cursor-pointer border-none p-0 leading-normal outline-0 [grid-area:close]",
2366
2462
  onClick: handleClose,
2367
- children: /* @__PURE__ */ jsx67("svg", { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx67(
2463
+ children: /* @__PURE__ */ jsx72("svg", { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ jsx72(
2368
2464
  "path",
2369
2465
  {
2370
2466
  fillRule: "evenodd",
@@ -2393,7 +2489,7 @@ import { cn as cn40, useClassNames as useClassNames42 } from "@marigold/system";
2393
2489
  // src/TagGroup/TagGroup.tsx
2394
2490
  import { TagGroup, TagList } from "react-aria-components";
2395
2491
  import { useClassNames as useClassNames41 } from "@marigold/system";
2396
- import { jsx as jsx68 } from "react/jsx-runtime";
2492
+ import { jsx as jsx73 } from "react/jsx-runtime";
2397
2493
  var _TagGroup = ({
2398
2494
  width,
2399
2495
  items,
@@ -2404,7 +2500,7 @@ var _TagGroup = ({
2404
2500
  ...rest
2405
2501
  }) => {
2406
2502
  const classNames2 = useClassNames41({ component: "Tag", variant, size });
2407
- return /* @__PURE__ */ jsx68(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx68(
2503
+ return /* @__PURE__ */ jsx73(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx73(
2408
2504
  TagList,
2409
2505
  {
2410
2506
  items,
@@ -2416,22 +2512,22 @@ var _TagGroup = ({
2416
2512
  };
2417
2513
 
2418
2514
  // src/TagGroup/Tag.tsx
2419
- import { Fragment as Fragment5, jsx as jsx69, jsxs as jsxs26 } from "react/jsx-runtime";
2515
+ import { Fragment as Fragment6, jsx as jsx74, jsxs as jsxs28 } from "react/jsx-runtime";
2420
2516
  var CloseButton2 = ({ className }) => {
2421
- return /* @__PURE__ */ jsx69(Button4, { slot: "remove", className, children: /* @__PURE__ */ jsx69("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx69("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" }) }) });
2517
+ return /* @__PURE__ */ jsx74(Button4, { slot: "remove", className, children: /* @__PURE__ */ jsx74("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx74("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" }) }) });
2422
2518
  };
2423
2519
  var _Tag = ({ variant, size, children, ...props }) => {
2424
2520
  let textValue = typeof children === "string" ? children : void 0;
2425
2521
  const classNames2 = useClassNames42({ component: "Tag", variant, size });
2426
- return /* @__PURE__ */ jsx69(
2522
+ return /* @__PURE__ */ jsx74(
2427
2523
  Tag,
2428
2524
  {
2429
2525
  textValue,
2430
2526
  ...props,
2431
2527
  className: cn40("data-[selection-mode]:cursor-pointer", classNames2.tag),
2432
- children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs26(Fragment5, { children: [
2528
+ children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs28(Fragment6, { children: [
2433
2529
  children,
2434
- allowsRemoving && /* @__PURE__ */ jsx69(
2530
+ allowsRemoving && /* @__PURE__ */ jsx74(
2435
2531
  CloseButton2,
2436
2532
  {
2437
2533
  className: cn40("flex items-center", classNames2.closeButton)
@@ -2444,7 +2540,7 @@ var _Tag = ({ variant, size, children, ...props }) => {
2444
2540
  _Tag.Group = _TagGroup;
2445
2541
 
2446
2542
  // src/Multiselect/Multiselect.tsx
2447
- import { jsx as jsx70, jsxs as jsxs27 } from "react/jsx-runtime";
2543
+ import { jsx as jsx75, jsxs as jsxs29 } from "react/jsx-runtime";
2448
2544
  var Item2 = (_) => null;
2449
2545
  var Multiselect = ({
2450
2546
  label,
@@ -2482,18 +2578,18 @@ var Multiselect = ({
2482
2578
  }, 0);
2483
2579
  input.focus();
2484
2580
  };
2485
- return /* @__PURE__ */ jsxs27("div", { className: "flex flex-wrap gap-1", children: [
2486
- /* @__PURE__ */ jsx70(
2581
+ return /* @__PURE__ */ jsxs29("div", { className: "flex flex-wrap gap-1", children: [
2582
+ /* @__PURE__ */ jsx75(
2487
2583
  _Tag.Group,
2488
2584
  {
2489
2585
  items: selected,
2490
2586
  allowsRemoving: true,
2491
2587
  onRemove: setUnselected,
2492
2588
  renderEmptyState: () => null,
2493
- children: (item) => /* @__PURE__ */ jsx70(_Tag, { id: item.id, children: item.children }, item.id)
2589
+ children: (item) => /* @__PURE__ */ jsx75(_Tag, { id: item.id, children: item.children }, item.id)
2494
2590
  }
2495
2591
  ),
2496
- /* @__PURE__ */ jsx70(
2592
+ /* @__PURE__ */ jsx75(
2497
2593
  _ComboBox,
2498
2594
  {
2499
2595
  value,
@@ -2503,7 +2599,7 @@ var Multiselect = ({
2503
2599
  disabled: unselected.length === 0,
2504
2600
  placeholder: unselected.length === 0 ? "All items selected" : "",
2505
2601
  ...props,
2506
- children: unselected.map((item) => /* @__PURE__ */ jsx70(_ComboBox.Option, { id: item.id, children: item.children }, item.id))
2602
+ children: unselected.map((item) => /* @__PURE__ */ jsx75(_ComboBox.Option, { id: item.id, children: item.children }, item.id))
2507
2603
  }
2508
2604
  )
2509
2605
  ] });
@@ -2511,15 +2607,15 @@ var Multiselect = ({
2511
2607
  Multiselect.Item = Item2;
2512
2608
 
2513
2609
  // src/NumberField/NumberField.tsx
2514
- import { forwardRef as forwardRef15 } from "react";
2610
+ import { forwardRef as forwardRef19 } from "react";
2515
2611
  import { Group as Group2, NumberField } from "react-aria-components";
2516
2612
  import { cn as cn42, useClassNames as useClassNames43 } from "@marigold/system";
2517
2613
 
2518
2614
  // src/NumberField/StepButton.tsx
2519
2615
  import { Button as Button5 } from "react-aria-components";
2520
2616
  import { cn as cn41 } from "@marigold/system";
2521
- import { jsx as jsx71 } from "react/jsx-runtime";
2522
- var Plus = () => /* @__PURE__ */ jsx71("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx71(
2617
+ import { jsx as jsx76 } from "react/jsx-runtime";
2618
+ var Plus = () => /* @__PURE__ */ jsx76("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx76(
2523
2619
  "path",
2524
2620
  {
2525
2621
  fillRule: "evenodd",
@@ -2527,7 +2623,7 @@ var Plus = () => /* @__PURE__ */ jsx71("svg", { width: 16, height: 16, viewBox:
2527
2623
  d: "M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z"
2528
2624
  }
2529
2625
  ) });
2530
- var Minus = () => /* @__PURE__ */ jsx71("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx71(
2626
+ var Minus = () => /* @__PURE__ */ jsx76("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx76(
2531
2627
  "path",
2532
2628
  {
2533
2629
  fillRule: "evenodd",
@@ -2537,7 +2633,7 @@ var Minus = () => /* @__PURE__ */ jsx71("svg", { width: 16, height: 16, viewBox:
2537
2633
  ) });
2538
2634
  var _StepButton = ({ direction, className, ...props }) => {
2539
2635
  const Icon4 = direction === "up" ? Plus : Minus;
2540
- return /* @__PURE__ */ jsx71(
2636
+ return /* @__PURE__ */ jsx76(
2541
2637
  Button5,
2542
2638
  {
2543
2639
  className: cn41(
@@ -2548,14 +2644,14 @@ var _StepButton = ({ direction, className, ...props }) => {
2548
2644
  className
2549
2645
  ),
2550
2646
  ...props,
2551
- children: /* @__PURE__ */ jsx71(Icon4, {})
2647
+ children: /* @__PURE__ */ jsx76(Icon4, {})
2552
2648
  }
2553
2649
  );
2554
2650
  };
2555
2651
 
2556
2652
  // src/NumberField/NumberField.tsx
2557
- import { jsx as jsx72, jsxs as jsxs28 } from "react/jsx-runtime";
2558
- var _NumberField = forwardRef15(
2653
+ import { jsx as jsx77, jsxs as jsxs30 } from "react/jsx-runtime";
2654
+ var _NumberField = forwardRef19(
2559
2655
  ({
2560
2656
  variant,
2561
2657
  size,
@@ -2579,8 +2675,8 @@ var _NumberField = forwardRef15(
2579
2675
  ...rest
2580
2676
  };
2581
2677
  const showStepper = !hideStepper;
2582
- return /* @__PURE__ */ jsx72(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs28(Group2, { className: cn42("flex items-stretch", classNames2.group), children: [
2583
- showStepper && /* @__PURE__ */ jsx72(
2678
+ return /* @__PURE__ */ jsx77(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs30(Group2, { className: cn42("flex items-stretch", classNames2.group), children: [
2679
+ showStepper && /* @__PURE__ */ jsx77(
2584
2680
  _StepButton,
2585
2681
  {
2586
2682
  className: classNames2.stepper,
@@ -2588,7 +2684,7 @@ var _NumberField = forwardRef15(
2588
2684
  slot: "decrement"
2589
2685
  }
2590
2686
  ),
2591
- /* @__PURE__ */ jsx72("div", { className: "flex-1", children: /* @__PURE__ */ jsx72(
2687
+ /* @__PURE__ */ jsx77("div", { className: "flex-1", children: /* @__PURE__ */ jsx77(
2592
2688
  _Input,
2593
2689
  {
2594
2690
  ref,
@@ -2597,7 +2693,7 @@ var _NumberField = forwardRef15(
2597
2693
  className: classNames2.input
2598
2694
  }
2599
2695
  ) }),
2600
- showStepper && /* @__PURE__ */ jsx72(
2696
+ showStepper && /* @__PURE__ */ jsx77(
2601
2697
  _StepButton,
2602
2698
  {
2603
2699
  className: classNames2.stepper,
@@ -2611,7 +2707,7 @@ var _NumberField = forwardRef15(
2611
2707
 
2612
2708
  // src/Radio/Radio.tsx
2613
2709
  import {
2614
- forwardRef as forwardRef16
2710
+ forwardRef as forwardRef20
2615
2711
  } from "react";
2616
2712
  import { Radio } from "react-aria-components";
2617
2713
  import { cn as cn44, useClassNames as useClassNames45 } from "@marigold/system";
@@ -2626,7 +2722,7 @@ var useRadioGroupContext = () => useContext13(RadioGroupContext);
2626
2722
  // src/Radio/RadioGroup.tsx
2627
2723
  import { RadioGroup } from "react-aria-components";
2628
2724
  import { cn as cn43, useClassNames as useClassNames44 } from "@marigold/system";
2629
- import { jsx as jsx73 } from "react/jsx-runtime";
2725
+ import { jsx as jsx78 } from "react/jsx-runtime";
2630
2726
  var _RadioGroup = ({
2631
2727
  variant,
2632
2728
  size,
@@ -2650,7 +2746,7 @@ var _RadioGroup = ({
2650
2746
  isInvalid: error,
2651
2747
  ...rest
2652
2748
  };
2653
- return /* @__PURE__ */ jsx73(
2749
+ return /* @__PURE__ */ jsx78(
2654
2750
  FieldBase,
2655
2751
  {
2656
2752
  as: RadioGroup,
@@ -2661,7 +2757,7 @@ var _RadioGroup = ({
2661
2757
  variant,
2662
2758
  size,
2663
2759
  ...props,
2664
- children: /* @__PURE__ */ jsx73(
2760
+ children: /* @__PURE__ */ jsx78(
2665
2761
  "div",
2666
2762
  {
2667
2763
  role: "presentation",
@@ -2672,7 +2768,7 @@ var _RadioGroup = ({
2672
2768
  "flex items-start",
2673
2769
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
2674
2770
  ),
2675
- children: /* @__PURE__ */ jsx73(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2771
+ children: /* @__PURE__ */ jsx78(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2676
2772
  }
2677
2773
  )
2678
2774
  }
@@ -2680,9 +2776,9 @@ var _RadioGroup = ({
2680
2776
  };
2681
2777
 
2682
2778
  // src/Radio/Radio.tsx
2683
- import { Fragment as Fragment6, jsx as jsx74, jsxs as jsxs29 } from "react/jsx-runtime";
2684
- var Dot = () => /* @__PURE__ */ jsx74("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx74("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2685
- var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx74(
2779
+ import { Fragment as Fragment7, jsx as jsx79, jsxs as jsxs31 } from "react/jsx-runtime";
2780
+ var Dot = () => /* @__PURE__ */ jsx79("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx79("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2781
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx79(
2686
2782
  "div",
2687
2783
  {
2688
2784
  className: cn44(
@@ -2691,10 +2787,10 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx74(
2691
2787
  ),
2692
2788
  "aria-hidden": "true",
2693
2789
  ...props,
2694
- children: checked ? /* @__PURE__ */ jsx74(Dot, {}) : null
2790
+ children: checked ? /* @__PURE__ */ jsx79(Dot, {}) : null
2695
2791
  }
2696
2792
  );
2697
- var _Radio = forwardRef16(
2793
+ var _Radio = forwardRef20(
2698
2794
  ({ value, disabled, width, children, ...props }, ref) => {
2699
2795
  const { variant, size, width: groupWidth } = useRadioGroupContext();
2700
2796
  const classNames2 = useClassNames45({
@@ -2702,7 +2798,7 @@ var _Radio = forwardRef16(
2702
2798
  variant: variant || props.variant,
2703
2799
  size: size || props.size
2704
2800
  });
2705
- return /* @__PURE__ */ jsx74(
2801
+ return /* @__PURE__ */ jsx79(
2706
2802
  Radio,
2707
2803
  {
2708
2804
  ref,
@@ -2715,8 +2811,8 @@ var _Radio = forwardRef16(
2715
2811
  value,
2716
2812
  isDisabled: disabled,
2717
2813
  ...props,
2718
- children: ({ isSelected }) => /* @__PURE__ */ jsxs29(Fragment6, { children: [
2719
- /* @__PURE__ */ jsx74(
2814
+ children: ({ isSelected }) => /* @__PURE__ */ jsxs31(Fragment7, { children: [
2815
+ /* @__PURE__ */ jsx79(
2720
2816
  Icon3,
2721
2817
  {
2722
2818
  checked: isSelected,
@@ -2726,7 +2822,7 @@ var _Radio = forwardRef16(
2726
2822
  )
2727
2823
  }
2728
2824
  ),
2729
- /* @__PURE__ */ jsx74("div", { className: classNames2.label, children })
2825
+ /* @__PURE__ */ jsx79("div", { className: classNames2.label, children })
2730
2826
  ] })
2731
2827
  }
2732
2828
  );
@@ -2735,10 +2831,10 @@ var _Radio = forwardRef16(
2735
2831
  _Radio.Group = _RadioGroup;
2736
2832
 
2737
2833
  // src/SearchField/SearchField.tsx
2738
- import { forwardRef as forwardRef17 } from "react";
2834
+ import { forwardRef as forwardRef21 } from "react";
2739
2835
  import { SearchField } from "react-aria-components";
2740
- import { jsx as jsx75 } from "react/jsx-runtime";
2741
- var _SearchField = forwardRef17(
2836
+ import { jsx as jsx80 } from "react/jsx-runtime";
2837
+ var _SearchField = forwardRef21(
2742
2838
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
2743
2839
  const props = {
2744
2840
  ...rest,
@@ -2747,7 +2843,7 @@ var _SearchField = forwardRef17(
2747
2843
  isReadOnly: readOnly,
2748
2844
  isInvalid: error
2749
2845
  };
2750
- return /* @__PURE__ */ jsx75(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx75(
2846
+ return /* @__PURE__ */ jsx80(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx80(
2751
2847
  SearchInput,
2752
2848
  {
2753
2849
  ref,
@@ -2758,15 +2854,15 @@ var _SearchField = forwardRef17(
2758
2854
  );
2759
2855
 
2760
2856
  // src/Select/Select.tsx
2761
- import { forwardRef as forwardRef18 } from "react";
2857
+ import { forwardRef as forwardRef22 } from "react";
2762
2858
  import {
2763
2859
  Button as Button6,
2764
2860
  Select,
2765
2861
  SelectValue
2766
2862
  } from "react-aria-components";
2767
2863
  import { cn as cn45, useClassNames as useClassNames46 } from "@marigold/system";
2768
- import { jsx as jsx76, jsxs as jsxs30 } from "react/jsx-runtime";
2769
- var _Select = forwardRef18(
2864
+ import { jsx as jsx81, jsxs as jsxs32 } from "react/jsx-runtime";
2865
+ var _Select = forwardRef22(
2770
2866
  ({
2771
2867
  disabled,
2772
2868
  required,
@@ -2787,33 +2883,22 @@ var _Select = forwardRef18(
2787
2883
  ...rest
2788
2884
  };
2789
2885
  const classNames2 = useClassNames46({ component: "Select", variant, size });
2790
- return /* @__PURE__ */ jsxs30(
2791
- FieldBase,
2792
- {
2793
- isOpen: true,
2794
- as: Select,
2795
- ref,
2796
- variant,
2797
- size,
2798
- ...props,
2799
- children: [
2800
- /* @__PURE__ */ jsxs30(
2801
- Button6,
2802
- {
2803
- className: cn45(
2804
- "flex w-full items-center justify-between gap-1 overflow-hidden",
2805
- classNames2.select
2806
- ),
2807
- children: [
2808
- /* @__PURE__ */ jsx76(SelectValue, { className: "[&>[slot=description]]:hidden" }),
2809
- /* @__PURE__ */ jsx76(ChevronDown, { className: cn45("size-4", classNames2.icon) })
2810
- ]
2811
- }
2886
+ return /* @__PURE__ */ jsxs32(FieldBase, { as: Select, ref, variant, size, ...props, children: [
2887
+ /* @__PURE__ */ jsxs32(
2888
+ Button6,
2889
+ {
2890
+ className: cn45(
2891
+ "flex w-full items-center justify-between gap-1 overflow-hidden",
2892
+ classNames2.select
2812
2893
  ),
2813
- /* @__PURE__ */ jsx76(_Popover, { children: /* @__PURE__ */ jsx76(_ListBox, { items, children: props.children }) })
2814
- ]
2815
- }
2816
- );
2894
+ children: [
2895
+ /* @__PURE__ */ jsx81(SelectValue, { className: "[&>[slot=description]]:hidden" }),
2896
+ /* @__PURE__ */ jsx81(ChevronDown, { className: cn45("size-4", classNames2.icon) })
2897
+ ]
2898
+ }
2899
+ ),
2900
+ /* @__PURE__ */ jsx81(_Popover, { children: /* @__PURE__ */ jsx81(_ListBox, { items, children: props.children }) })
2901
+ ] });
2817
2902
  }
2818
2903
  );
2819
2904
  _Select.Option = _ListBox.Item;
@@ -2821,7 +2906,7 @@ _Select.Section = _ListBox.Section;
2821
2906
 
2822
2907
  // src/SelectList/SelectList.tsx
2823
2908
  import {
2824
- forwardRef as forwardRef20
2909
+ forwardRef as forwardRef24
2825
2910
  } from "react";
2826
2911
  import { GridList as SelectList } from "react-aria-components";
2827
2912
  import { cn as cn47, useClassNames as useClassNames47 } from "@marigold/system";
@@ -2834,15 +2919,15 @@ var SelectListContext = createContext8(
2834
2919
  var useSelectListContext = () => useContext14(SelectListContext);
2835
2920
 
2836
2921
  // src/SelectList/SelectListItem.tsx
2837
- import { forwardRef as forwardRef19 } from "react";
2922
+ import { forwardRef as forwardRef23 } from "react";
2838
2923
  import { GridListItem as SelectListItem } from "react-aria-components";
2839
2924
  import { cn as cn46 } from "@marigold/system";
2840
- import { Fragment as Fragment7, jsx as jsx77, jsxs as jsxs31 } from "react/jsx-runtime";
2841
- var _SelectListItem = forwardRef19(
2925
+ import { Fragment as Fragment8, jsx as jsx82, jsxs as jsxs33 } from "react/jsx-runtime";
2926
+ var _SelectListItem = forwardRef23(
2842
2927
  ({ children, ...props }, ref) => {
2843
2928
  let textValue = typeof children === "string" ? children : void 0;
2844
2929
  const { classNames: classNames2 } = useSelectListContext();
2845
- return /* @__PURE__ */ jsx77(
2930
+ return /* @__PURE__ */ jsx82(
2846
2931
  SelectListItem,
2847
2932
  {
2848
2933
  textValue,
@@ -2852,8 +2937,8 @@ var _SelectListItem = forwardRef19(
2852
2937
  classNames2 == null ? void 0 : classNames2.option
2853
2938
  ),
2854
2939
  ref,
2855
- children: ({ selectionMode }) => /* @__PURE__ */ jsxs31(Fragment7, { children: [
2856
- selectionMode === "multiple" && /* @__PURE__ */ jsx77(_Checkbox, { slot: "selection" }),
2940
+ children: ({ selectionMode }) => /* @__PURE__ */ jsxs33(Fragment8, { children: [
2941
+ selectionMode === "multiple" && /* @__PURE__ */ jsx82(_Checkbox, { slot: "selection" }),
2857
2942
  children
2858
2943
  ] })
2859
2944
  }
@@ -2862,15 +2947,15 @@ var _SelectListItem = forwardRef19(
2862
2947
  );
2863
2948
 
2864
2949
  // src/SelectList/SelectList.tsx
2865
- import { jsx as jsx78 } from "react/jsx-runtime";
2866
- var _SelectList = forwardRef20(
2950
+ import { jsx as jsx83 } from "react/jsx-runtime";
2951
+ var _SelectList = forwardRef24(
2867
2952
  ({ onChange, ...rest }, ref) => {
2868
2953
  const classNames2 = useClassNames47({ component: "ListBox" });
2869
2954
  const props = {
2870
2955
  onSelectionChange: onChange,
2871
2956
  ...rest
2872
2957
  };
2873
- return /* @__PURE__ */ jsx78(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx78("div", { className: classNames2.container, children: /* @__PURE__ */ jsx78(
2958
+ return /* @__PURE__ */ jsx83(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx83("div", { className: classNames2.container, children: /* @__PURE__ */ jsx83(
2874
2959
  SelectList,
2875
2960
  {
2876
2961
  ...props,
@@ -2889,13 +2974,13 @@ _SelectList.Item = _SelectListItem;
2889
2974
 
2890
2975
  // src/Scrollable/Scrollable.tsx
2891
2976
  import { cn as cn48, createVar as createVar10, width as twWidth2 } from "@marigold/system";
2892
- import { jsx as jsx79 } from "react/jsx-runtime";
2977
+ import { jsx as jsx84 } from "react/jsx-runtime";
2893
2978
  var Scrollable = ({
2894
2979
  children,
2895
2980
  width = "full",
2896
2981
  height,
2897
2982
  ...props
2898
- }) => /* @__PURE__ */ jsx79(
2983
+ }) => /* @__PURE__ */ jsx84(
2899
2984
  "div",
2900
2985
  {
2901
2986
  ...props,
@@ -2906,7 +2991,7 @@ var Scrollable = ({
2906
2991
  );
2907
2992
 
2908
2993
  // src/Slider/Slider.tsx
2909
- import { forwardRef as forwardRef21 } from "react";
2994
+ import { forwardRef as forwardRef25 } from "react";
2910
2995
  import {
2911
2996
  Slider,
2912
2997
  SliderOutput,
@@ -2918,14 +3003,15 @@ import {
2918
3003
  width as twWidth3,
2919
3004
  useClassNames as useClassNames48
2920
3005
  } from "@marigold/system";
2921
- import { jsx as jsx80, jsxs as jsxs32 } from "react/jsx-runtime";
2922
- var _Slider = forwardRef21(
3006
+ import { Fragment as Fragment9, jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
3007
+ var _Slider = forwardRef25(
2923
3008
  ({
2924
3009
  thumbLabels,
2925
3010
  variant,
2926
3011
  size,
2927
3012
  width = "full",
2928
3013
  disabled,
3014
+ label,
2929
3015
  ...rest
2930
3016
  }, ref) => {
2931
3017
  const classNames2 = useClassNames48({
@@ -2937,9 +3023,10 @@ var _Slider = forwardRef21(
2937
3023
  isDisabled: disabled,
2938
3024
  ...rest
2939
3025
  };
2940
- return /* @__PURE__ */ jsxs32(
2941
- Slider,
3026
+ return /* @__PURE__ */ jsxs34(
3027
+ FieldBase,
2942
3028
  {
3029
+ as: Slider,
2943
3030
  className: cn49(
2944
3031
  "grid grid-cols-[auto_1fr] gap-y-1",
2945
3032
  classNames2.container,
@@ -2948,21 +3035,46 @@ var _Slider = forwardRef21(
2948
3035
  ref,
2949
3036
  ...props,
2950
3037
  children: [
2951
- /* @__PURE__ */ jsx80(_Label, { children: props.children }),
2952
- /* @__PURE__ */ jsx80(SliderOutput, { className: cn49("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2953
- /* @__PURE__ */ jsx80(
3038
+ /* @__PURE__ */ jsx85(_Label, { children: props.children && props.children || label && label }),
3039
+ /* @__PURE__ */ jsx85(SliderOutput, { className: cn49("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
3040
+ /* @__PURE__ */ jsx85(
2954
3041
  SliderTrack,
2955
3042
  {
2956
3043
  className: cn49("relative col-span-2 h-2 w-full", classNames2.track),
2957
- children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ jsx80(
2958
- SliderThumb,
2959
- {
2960
- className: cn49("top-1/2 cursor-pointer", classNames2.thumb),
2961
- index: i,
2962
- "aria-label": thumbLabels == null ? void 0 : thumbLabels[i]
2963
- },
2964
- i
2965
- ))
3044
+ children: ({ state }) => /* @__PURE__ */ jsxs34(Fragment9, { children: [
3045
+ /* @__PURE__ */ jsx85(
3046
+ "div",
3047
+ {
3048
+ className: cn49(
3049
+ "absolute top-[50%] h-2 w-full translate-y-[-50%]",
3050
+ classNames2.track
3051
+ )
3052
+ }
3053
+ ),
3054
+ /* @__PURE__ */ jsx85(
3055
+ "div",
3056
+ {
3057
+ className: cn49(
3058
+ "absolute top-[50%] h-2 translate-y-[-50%]",
3059
+ classNames2.selectedTrack
3060
+ ),
3061
+ style: state.values.length === 1 ? { width: state.getThumbPercent(0) * 100 + "%" } : {
3062
+ width: state.getThumbPercent(1) * 100 - state.getThumbPercent(0) * 100 + "%",
3063
+ left: state.getThumbPercent(0) * 100 + "%"
3064
+ }
3065
+ }
3066
+ ),
3067
+ state.values.map((_, i) => /* @__PURE__ */ jsx85(
3068
+ SliderThumb,
3069
+ {
3070
+ className: cn49("top-1/2 cursor-pointer", classNames2.thumb),
3071
+ index: i,
3072
+ "aria-label": thumbLabels == null ? void 0 : thumbLabels[i],
3073
+ name: thumbLabels == null ? void 0 : thumbLabels[i]
3074
+ },
3075
+ i
3076
+ ))
3077
+ ] })
2966
3078
  }
2967
3079
  )
2968
3080
  ]
@@ -2972,12 +3084,12 @@ var _Slider = forwardRef21(
2972
3084
  );
2973
3085
 
2974
3086
  // src/Split/Split.tsx
2975
- import { jsx as jsx81 } from "react/jsx-runtime";
2976
- var Split = () => /* @__PURE__ */ jsx81("div", { role: "separator", className: "grow" });
3087
+ import { jsx as jsx86 } from "react/jsx-runtime";
3088
+ var Split = () => /* @__PURE__ */ jsx86("div", { role: "separator", className: "grow" });
2977
3089
 
2978
3090
  // src/Stack/Stack.tsx
2979
3091
  import { alignment as alignment3, cn as cn50, gapSpace as gapSpace7 } from "@marigold/system";
2980
- import { jsx as jsx82 } from "react/jsx-runtime";
3092
+ import { jsx as jsx87 } from "react/jsx-runtime";
2981
3093
  var Stack = ({
2982
3094
  children,
2983
3095
  space = 0,
@@ -2987,7 +3099,7 @@ var Stack = ({
2987
3099
  ...props
2988
3100
  }) => {
2989
3101
  var _a, _b, _c, _d;
2990
- return /* @__PURE__ */ jsx82(
3102
+ return /* @__PURE__ */ jsx87(
2991
3103
  "div",
2992
3104
  {
2993
3105
  className: cn50(
@@ -3004,15 +3116,15 @@ var Stack = ({
3004
3116
  };
3005
3117
 
3006
3118
  // src/Switch/Switch.tsx
3007
- import { forwardRef as forwardRef22 } from "react";
3119
+ import { forwardRef as forwardRef26 } from "react";
3008
3120
  import { Switch } from "react-aria-components";
3009
3121
  import {
3010
3122
  cn as cn51,
3011
3123
  width as twWidth4,
3012
3124
  useClassNames as useClassNames49
3013
3125
  } from "@marigold/system";
3014
- import { jsx as jsx83, jsxs as jsxs33 } from "react/jsx-runtime";
3015
- var _Switch = forwardRef22(
3126
+ import { jsx as jsx88, jsxs as jsxs35 } from "react/jsx-runtime";
3127
+ var _Switch = forwardRef26(
3016
3128
  ({
3017
3129
  variant,
3018
3130
  size,
@@ -3030,7 +3142,7 @@ var _Switch = forwardRef22(
3030
3142
  isSelected: selected,
3031
3143
  ...rest
3032
3144
  };
3033
- return /* @__PURE__ */ jsxs33(
3145
+ return /* @__PURE__ */ jsxs35(
3034
3146
  Switch,
3035
3147
  {
3036
3148
  ...props,
@@ -3042,15 +3154,15 @@ var _Switch = forwardRef22(
3042
3154
  classNames2.container
3043
3155
  ),
3044
3156
  children: [
3045
- /* @__PURE__ */ jsx83(_Label, { elementType: "span", children }),
3046
- /* @__PURE__ */ jsx83("div", { className: "relative", children: /* @__PURE__ */ jsx83(
3157
+ /* @__PURE__ */ jsx88(_Label, { elementType: "span", children }),
3158
+ /* @__PURE__ */ jsx88("div", { className: "relative", children: /* @__PURE__ */ jsx88(
3047
3159
  "div",
3048
3160
  {
3049
3161
  className: cn51(
3050
3162
  "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed",
3051
3163
  classNames2.track
3052
3164
  ),
3053
- children: /* @__PURE__ */ jsx83(
3165
+ children: /* @__PURE__ */ jsx88(
3054
3166
  "div",
3055
3167
  {
3056
3168
  className: cn51(
@@ -3091,12 +3203,12 @@ var useTableContext = () => useContext15(TableContext);
3091
3203
 
3092
3204
  // src/Table/TableBody.tsx
3093
3205
  import { useTableRowGroup } from "@react-aria/table";
3094
- import { jsx as jsx84 } from "react/jsx-runtime";
3206
+ import { jsx as jsx89 } from "react/jsx-runtime";
3095
3207
  var TableBody = ({ children, emptyState }) => {
3096
3208
  const { rowGroupProps } = useTableRowGroup();
3097
3209
  const { state, classNames: classNames2 } = useTableContext();
3098
3210
  if (state.collection.size === 0 && emptyState) {
3099
- return /* @__PURE__ */ jsx84("tbody", { children: /* @__PURE__ */ jsx84("tr", { className: classNames2 == null ? void 0 : classNames2.row, role: "row", children: /* @__PURE__ */ jsx84(
3211
+ return /* @__PURE__ */ jsx89("tbody", { children: /* @__PURE__ */ jsx89("tr", { className: classNames2 == null ? void 0 : classNames2.row, role: "row", children: /* @__PURE__ */ jsx89(
3100
3212
  "td",
3101
3213
  {
3102
3214
  className: classNames2 == null ? void 0 : classNames2.cell,
@@ -3106,7 +3218,7 @@ var TableBody = ({ children, emptyState }) => {
3106
3218
  }
3107
3219
  ) }) });
3108
3220
  }
3109
- return /* @__PURE__ */ jsx84("tbody", { ...rowGroupProps, children });
3221
+ return /* @__PURE__ */ jsx89("tbody", { ...rowGroupProps, children });
3110
3222
  };
3111
3223
 
3112
3224
  // src/Table/TableCell.tsx
@@ -3115,7 +3227,7 @@ import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
3115
3227
  import { useTableCell } from "@react-aria/table";
3116
3228
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
3117
3229
  import { cn as cn52, useStateProps as useStateProps2 } from "@marigold/system";
3118
- import { jsx as jsx85 } from "react/jsx-runtime";
3230
+ import { jsx as jsx90 } from "react/jsx-runtime";
3119
3231
  var TableCell = ({ cell, align = "left" }) => {
3120
3232
  const ref = useRef4(null);
3121
3233
  const { interactive, state, classNames: classNames2 } = useTableContext();
@@ -3138,7 +3250,7 @@ var TableCell = ({ cell, align = "left" }) => {
3138
3250
  };
3139
3251
  const { focusProps, isFocusVisible } = useFocusRing2();
3140
3252
  const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
3141
- return /* @__PURE__ */ jsx85(
3253
+ return /* @__PURE__ */ jsx90(
3142
3254
  "td",
3143
3255
  {
3144
3256
  ref,
@@ -3179,7 +3291,7 @@ var mapCheckboxProps = ({
3179
3291
  };
3180
3292
 
3181
3293
  // src/Table/TableCheckboxCell.tsx
3182
- import { jsx as jsx86 } from "react/jsx-runtime";
3294
+ import { jsx as jsx91 } from "react/jsx-runtime";
3183
3295
  var TableCheckboxCell = ({ cell }) => {
3184
3296
  const ref = useRef5(null);
3185
3297
  const { state, classNames: classNames2 } = useTableContext();
@@ -3196,14 +3308,14 @@ var TableCheckboxCell = ({ cell }) => {
3196
3308
  );
3197
3309
  const { focusProps, isFocusVisible } = useFocusRing3();
3198
3310
  const stateProps = useStateProps3({ disabled, focusVisible: isFocusVisible });
3199
- return /* @__PURE__ */ jsx86(
3311
+ return /* @__PURE__ */ jsx91(
3200
3312
  "td",
3201
3313
  {
3202
3314
  ref,
3203
3315
  className: cn53("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3204
3316
  ...mergeProps4(gridCellProps, focusProps),
3205
3317
  ...stateProps,
3206
- children: /* @__PURE__ */ jsx86(_Checkbox, { ...checkboxProps })
3318
+ children: /* @__PURE__ */ jsx91(_Checkbox, { ...checkboxProps })
3207
3319
  }
3208
3320
  );
3209
3321
  };
@@ -3214,9 +3326,8 @@ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
3214
3326
  import { useHover } from "@react-aria/interactions";
3215
3327
  import { useTableColumnHeader } from "@react-aria/table";
3216
3328
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
3217
- import { SortDown, SortUp } from "@marigold/icons";
3218
3329
  import { cn as cn54, width as twWidth5, useStateProps as useStateProps4 } from "@marigold/system";
3219
- import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
3330
+ import { jsx as jsx92, jsxs as jsxs36 } from "react/jsx-runtime";
3220
3331
  var TableColumnHeader = ({
3221
3332
  column,
3222
3333
  width = "auto",
@@ -3238,7 +3349,7 @@ var TableColumnHeader = ({
3238
3349
  hover: isHovered,
3239
3350
  focusVisible: isFocusVisible
3240
3351
  });
3241
- return /* @__PURE__ */ jsxs34(
3352
+ return /* @__PURE__ */ jsxs36(
3242
3353
  "th",
3243
3354
  {
3244
3355
  colSpan: column.colspan,
@@ -3249,7 +3360,7 @@ var TableColumnHeader = ({
3249
3360
  align,
3250
3361
  children: [
3251
3362
  column.rendered,
3252
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx87(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx87(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx87("span", { className: "invisible", children: /* @__PURE__ */ jsx87(SortDown, { className: "inline-block" }) }))
3363
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx92(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx92(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx92("span", { className: "invisible", children: /* @__PURE__ */ jsx92(SortDown, { className: "inline-block" }) }))
3253
3364
  ]
3254
3365
  }
3255
3366
  );
@@ -3257,10 +3368,10 @@ var TableColumnHeader = ({
3257
3368
 
3258
3369
  // src/Table/TableHeader.tsx
3259
3370
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
3260
- import { jsx as jsx88 } from "react/jsx-runtime";
3371
+ import { jsx as jsx93 } from "react/jsx-runtime";
3261
3372
  var TableHeader = ({ stickyHeader, children }) => {
3262
3373
  const { rowGroupProps } = useTableRowGroup2();
3263
- return /* @__PURE__ */ jsx88(
3374
+ return /* @__PURE__ */ jsx93(
3264
3375
  "thead",
3265
3376
  {
3266
3377
  ...rowGroupProps,
@@ -3273,12 +3384,12 @@ var TableHeader = ({ stickyHeader, children }) => {
3273
3384
  // src/Table/TableHeaderRow.tsx
3274
3385
  import { useRef as useRef7 } from "react";
3275
3386
  import { useTableHeaderRow } from "@react-aria/table";
3276
- import { jsx as jsx89 } from "react/jsx-runtime";
3387
+ import { jsx as jsx94 } from "react/jsx-runtime";
3277
3388
  var TableHeaderRow = ({ item, children }) => {
3278
3389
  const { state } = useTableContext();
3279
3390
  const ref = useRef7(null);
3280
3391
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
3281
- return /* @__PURE__ */ jsx89("tr", { ...rowProps, ref, children });
3392
+ return /* @__PURE__ */ jsx94("tr", { ...rowProps, ref, children });
3282
3393
  };
3283
3394
 
3284
3395
  // src/Table/TableRow.tsx
@@ -3288,7 +3399,7 @@ import { useHover as useHover2 } from "@react-aria/interactions";
3288
3399
  import { useTableRow } from "@react-aria/table";
3289
3400
  import { mergeProps as mergeProps6 } from "@react-aria/utils";
3290
3401
  import { cn as cn55, useClassNames as useClassNames50, useStateProps as useStateProps5 } from "@marigold/system";
3291
- import { jsx as jsx90 } from "react/jsx-runtime";
3402
+ import { jsx as jsx95 } from "react/jsx-runtime";
3292
3403
  var TableRow = ({ children, row }) => {
3293
3404
  const ref = useRef8(null);
3294
3405
  const { interactive, state, ...ctx } = useTableContext();
@@ -3318,7 +3429,7 @@ var TableRow = ({ children, row }) => {
3318
3429
  focusVisible: isFocusVisible,
3319
3430
  active: isPressed
3320
3431
  });
3321
- return /* @__PURE__ */ jsx90(
3432
+ return /* @__PURE__ */ jsx95(
3322
3433
  "tr",
3323
3434
  {
3324
3435
  ref,
@@ -3349,7 +3460,7 @@ import {
3349
3460
  width as twWidth6,
3350
3461
  useStateProps as useStateProps6
3351
3462
  } from "@marigold/system";
3352
- import { jsx as jsx91 } from "react/jsx-runtime";
3463
+ import { jsx as jsx96 } from "react/jsx-runtime";
3353
3464
  var TableSelectAllCell = ({
3354
3465
  column,
3355
3466
  width = "auto",
@@ -3371,7 +3482,7 @@ var TableSelectAllCell = ({
3371
3482
  hover: isHovered,
3372
3483
  focusVisible: isFocusVisible
3373
3484
  });
3374
- return /* @__PURE__ */ jsx91(
3485
+ return /* @__PURE__ */ jsx96(
3375
3486
  "th",
3376
3487
  {
3377
3488
  ref,
@@ -3379,13 +3490,13 @@ var TableSelectAllCell = ({
3379
3490
  ...mergeProps7(columnHeaderProps, hoverProps, focusProps),
3380
3491
  ...stateProps,
3381
3492
  align,
3382
- children: /* @__PURE__ */ jsx91(_Checkbox, { ...checkboxProps })
3493
+ children: /* @__PURE__ */ jsx96(_Checkbox, { ...checkboxProps })
3383
3494
  }
3384
3495
  );
3385
3496
  };
3386
3497
 
3387
3498
  // src/Table/Table.tsx
3388
- import { jsx as jsx92, jsxs as jsxs35 } from "react/jsx-runtime";
3499
+ import { jsx as jsx97, jsxs as jsxs37 } from "react/jsx-runtime";
3389
3500
  var Table = ({
3390
3501
  variant,
3391
3502
  size,
@@ -3414,11 +3525,11 @@ var Table = ({
3414
3525
  size
3415
3526
  });
3416
3527
  const { collection } = state;
3417
- return /* @__PURE__ */ jsx92(
3528
+ return /* @__PURE__ */ jsx97(
3418
3529
  TableContext.Provider,
3419
3530
  {
3420
3531
  value: { state, interactive, classNames: classNames2, variant, size },
3421
- children: /* @__PURE__ */ jsxs35(
3532
+ children: /* @__PURE__ */ jsxs37(
3422
3533
  "table",
3423
3534
  {
3424
3535
  ref: tableRef,
@@ -3430,10 +3541,10 @@ var Table = ({
3430
3541
  ),
3431
3542
  ...gridProps,
3432
3543
  children: [
3433
- /* @__PURE__ */ jsx92(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx92(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3544
+ /* @__PURE__ */ jsx97(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx97(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3434
3545
  (column) => {
3435
3546
  var _a, _b, _c, _d, _e;
3436
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx92(
3547
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx97(
3437
3548
  TableSelectAllCell,
3438
3549
  {
3439
3550
  width: (_b = column.props) == null ? void 0 : _b.width,
@@ -3441,7 +3552,7 @@ var Table = ({
3441
3552
  align: (_c = column.props) == null ? void 0 : _c.align
3442
3553
  },
3443
3554
  column.key
3444
- ) : /* @__PURE__ */ jsx92(
3555
+ ) : /* @__PURE__ */ jsx97(
3445
3556
  TableColumnHeader,
3446
3557
  {
3447
3558
  width: (_d = column.props) == null ? void 0 : _d.width,
@@ -3452,12 +3563,12 @@ var Table = ({
3452
3563
  );
3453
3564
  }
3454
3565
  ) }, headerRow.key)) }),
3455
- /* @__PURE__ */ jsxs35(TableBody, { emptyState, children: [
3566
+ /* @__PURE__ */ jsxs37(TableBody, { emptyState, children: [
3456
3567
  ...collection.rows.map(
3457
- (row) => row.type === "item" && /* @__PURE__ */ jsx92(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3568
+ (row) => row.type === "item" && /* @__PURE__ */ jsx97(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3458
3569
  var _a, _b;
3459
3570
  const currentColumn = collection.columns[index];
3460
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx92(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx92(
3571
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx97(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx97(
3461
3572
  TableCell,
3462
3573
  {
3463
3574
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -3494,7 +3605,7 @@ import {
3494
3605
  useClassNames as useClassNames52,
3495
3606
  useTheme as useTheme3
3496
3607
  } from "@marigold/system";
3497
- import { jsx as jsx93 } from "react/jsx-runtime";
3608
+ import { jsx as jsx98 } from "react/jsx-runtime";
3498
3609
  var _Text = ({
3499
3610
  variant,
3500
3611
  size,
@@ -3515,11 +3626,11 @@ var _Text = ({
3515
3626
  size
3516
3627
  });
3517
3628
  const Component = props.slot ? Text2 : as;
3518
- return /* @__PURE__ */ jsx93(
3629
+ return /* @__PURE__ */ jsx98(
3519
3630
  Component,
3520
3631
  {
3521
3632
  ...props,
3522
- elementType: as,
3633
+ elementType: props.slot ? as : void 0,
3523
3634
  className: cn58(
3524
3635
  "text-[--color] outline-[--outline]",
3525
3636
  classNames2,
@@ -3543,11 +3654,11 @@ var _Text = ({
3543
3654
  };
3544
3655
 
3545
3656
  // src/TextArea/TextArea.tsx
3546
- import { forwardRef as forwardRef23 } from "react";
3657
+ import { forwardRef as forwardRef27 } from "react";
3547
3658
  import { TextArea, TextField } from "react-aria-components";
3548
3659
  import { useClassNames as useClassNames53 } from "@marigold/system";
3549
- import { jsx as jsx94 } from "react/jsx-runtime";
3550
- var _TextArea = forwardRef23(
3660
+ import { jsx as jsx99 } from "react/jsx-runtime";
3661
+ var _TextArea = forwardRef27(
3551
3662
  ({
3552
3663
  variant,
3553
3664
  size,
@@ -3566,15 +3677,15 @@ var _TextArea = forwardRef23(
3566
3677
  isRequired: required,
3567
3678
  ...rest
3568
3679
  };
3569
- return /* @__PURE__ */ jsx94(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx94(TextArea, { className: classNames2, ref, rows }) });
3680
+ return /* @__PURE__ */ jsx99(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx99(TextArea, { className: classNames2, ref, rows }) });
3570
3681
  }
3571
3682
  );
3572
3683
 
3573
3684
  // src/TextField/TextField.tsx
3574
- import { forwardRef as forwardRef24 } from "react";
3685
+ import { forwardRef as forwardRef28 } from "react";
3575
3686
  import { TextField as TextField2 } from "react-aria-components";
3576
- import { jsx as jsx95 } from "react/jsx-runtime";
3577
- var _TextField = forwardRef24(
3687
+ import { jsx as jsx100 } from "react/jsx-runtime";
3688
+ var _TextField = forwardRef28(
3578
3689
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
3579
3690
  const props = {
3580
3691
  isDisabled: disabled,
@@ -3583,13 +3694,13 @@ var _TextField = forwardRef24(
3583
3694
  isRequired: required,
3584
3695
  ...rest
3585
3696
  };
3586
- return /* @__PURE__ */ jsx95(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx95(_Input, { ref }) });
3697
+ return /* @__PURE__ */ jsx100(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx100(_Input, { ref }) });
3587
3698
  }
3588
3699
  );
3589
3700
 
3590
3701
  // src/Tiles/Tiles.tsx
3591
3702
  import { cn as cn59, createVar as createVar12, gapSpace as gapSpace8 } from "@marigold/system";
3592
- import { jsx as jsx96 } from "react/jsx-runtime";
3703
+ import { jsx as jsx101 } from "react/jsx-runtime";
3593
3704
  var Tiles = ({
3594
3705
  space = 0,
3595
3706
  stretch = false,
@@ -3602,7 +3713,7 @@ var Tiles = ({
3602
3713
  if (stretch) {
3603
3714
  column = `minmax(${column}, 1fr)`;
3604
3715
  }
3605
- return /* @__PURE__ */ jsx96(
3716
+ return /* @__PURE__ */ jsx101(
3606
3717
  "div",
3607
3718
  {
3608
3719
  ...props,
@@ -3624,7 +3735,7 @@ import { cn as cn60, useClassNames as useClassNames54 } from "@marigold/system";
3624
3735
 
3625
3736
  // src/Tooltip/TooltipTrigger.tsx
3626
3737
  import { TooltipTrigger } from "react-aria-components";
3627
- import { jsx as jsx97 } from "react/jsx-runtime";
3738
+ import { jsx as jsx102 } from "react/jsx-runtime";
3628
3739
  var _TooltipTrigger = ({
3629
3740
  delay = 1e3,
3630
3741
  children,
@@ -3638,11 +3749,11 @@ var _TooltipTrigger = ({
3638
3749
  isOpen: open,
3639
3750
  delay
3640
3751
  };
3641
- return /* @__PURE__ */ jsx97(TooltipTrigger, { ...props, children });
3752
+ return /* @__PURE__ */ jsx102(TooltipTrigger, { ...props, children });
3642
3753
  };
3643
3754
 
3644
3755
  // src/Tooltip/Tooltip.tsx
3645
- import { jsx as jsx98, jsxs as jsxs36 } from "react/jsx-runtime";
3756
+ import { jsx as jsx103, jsxs as jsxs38 } from "react/jsx-runtime";
3646
3757
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3647
3758
  const props = {
3648
3759
  ...rest,
@@ -3650,14 +3761,14 @@ var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3650
3761
  };
3651
3762
  const classNames2 = useClassNames54({ component: "Tooltip", variant, size });
3652
3763
  const portal = usePortalContainer();
3653
- return /* @__PURE__ */ jsxs36(
3764
+ return /* @__PURE__ */ jsxs38(
3654
3765
  Tooltip,
3655
3766
  {
3656
3767
  ...props,
3657
3768
  className: cn60("group/tooltip", classNames2.container),
3658
3769
  UNSTABLE_portalContainer: portal,
3659
3770
  children: [
3660
- /* @__PURE__ */ jsx98(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx98("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx98("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3771
+ /* @__PURE__ */ jsx103(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx103("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx103("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3661
3772
  children
3662
3773
  ]
3663
3774
  }
@@ -3669,16 +3780,16 @@ _Tooltip.Trigger = _TooltipTrigger;
3669
3780
  import { VisuallyHidden } from "@react-aria/visually-hidden";
3670
3781
 
3671
3782
  // src/XLoader/XLoader.tsx
3672
- import { forwardRef as forwardRef25 } from "react";
3783
+ import { forwardRef as forwardRef29 } from "react";
3673
3784
  import { Dialog as Dialog2, Modal as Modal2, ModalOverlay as ModalOverlay2 } from "react-aria-components";
3674
- import { SVG as SVG5, useClassNames as useClassNames55 } from "@marigold/system";
3675
- import { Fragment as Fragment8, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
3785
+ import { SVG as SVG10, useClassNames as useClassNames55 } from "@marigold/system";
3786
+ import { Fragment as Fragment10, jsx as jsx104, jsxs as jsxs39 } from "react/jsx-runtime";
3676
3787
  var LoadingModes = {
3677
3788
  FullSize: "fullsize",
3678
3789
  Inline: "inline"
3679
3790
  };
3680
- var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3681
- SVG5,
3791
+ var Loader = forwardRef29((props, ref) => /* @__PURE__ */ jsxs39(
3792
+ SVG10,
3682
3793
  {
3683
3794
  id: "XLoader",
3684
3795
  xmlns: "http://www.w3.org/2000/svg",
@@ -3687,13 +3798,13 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3687
3798
  ...props,
3688
3799
  ...ref,
3689
3800
  children: [
3690
- /* @__PURE__ */ jsx99("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3691
- /* @__PURE__ */ jsx99(
3801
+ /* @__PURE__ */ jsx104("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3802
+ /* @__PURE__ */ jsx104(
3692
3803
  "path",
3693
3804
  {
3694
3805
  id: "XMLID_5_",
3695
3806
  d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3696
- children: /* @__PURE__ */ jsx99(
3807
+ children: /* @__PURE__ */ jsx104(
3697
3808
  "animate",
3698
3809
  {
3699
3810
  attributeName: "opacity",
@@ -3706,12 +3817,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3706
3817
  )
3707
3818
  }
3708
3819
  ),
3709
- /* @__PURE__ */ jsx99(
3820
+ /* @__PURE__ */ jsx104(
3710
3821
  "path",
3711
3822
  {
3712
3823
  id: "XMLID_18_",
3713
3824
  d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3714
- children: /* @__PURE__ */ jsx99(
3825
+ children: /* @__PURE__ */ jsx104(
3715
3826
  "animate",
3716
3827
  {
3717
3828
  attributeName: "opacity",
@@ -3724,12 +3835,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3724
3835
  )
3725
3836
  }
3726
3837
  ),
3727
- /* @__PURE__ */ jsx99(
3838
+ /* @__PURE__ */ jsx104(
3728
3839
  "path",
3729
3840
  {
3730
3841
  id: "XMLID_19_",
3731
3842
  d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3732
- children: /* @__PURE__ */ jsx99(
3843
+ children: /* @__PURE__ */ jsx104(
3733
3844
  "animate",
3734
3845
  {
3735
3846
  attributeName: "opacity",
@@ -3742,12 +3853,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3742
3853
  )
3743
3854
  }
3744
3855
  ),
3745
- /* @__PURE__ */ jsx99(
3856
+ /* @__PURE__ */ jsx104(
3746
3857
  "path",
3747
3858
  {
3748
3859
  id: "XMLID_20_",
3749
3860
  d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3750
- children: /* @__PURE__ */ jsx99(
3861
+ children: /* @__PURE__ */ jsx104(
3751
3862
  "animate",
3752
3863
  {
3753
3864
  attributeName: "opacity",
@@ -3760,12 +3871,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3760
3871
  )
3761
3872
  }
3762
3873
  ),
3763
- /* @__PURE__ */ jsx99(
3874
+ /* @__PURE__ */ jsx104(
3764
3875
  "path",
3765
3876
  {
3766
3877
  id: "XMLID_21_",
3767
3878
  d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
3768
- children: /* @__PURE__ */ jsx99(
3879
+ children: /* @__PURE__ */ jsx104(
3769
3880
  "animate",
3770
3881
  {
3771
3882
  attributeName: "opacity",
@@ -3778,12 +3889,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3778
3889
  )
3779
3890
  }
3780
3891
  ),
3781
- /* @__PURE__ */ jsx99(
3892
+ /* @__PURE__ */ jsx104(
3782
3893
  "path",
3783
3894
  {
3784
3895
  id: "XMLID_22_",
3785
3896
  d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
3786
- children: /* @__PURE__ */ jsx99(
3897
+ children: /* @__PURE__ */ jsx104(
3787
3898
  "animate",
3788
3899
  {
3789
3900
  attributeName: "opacity",
@@ -3796,12 +3907,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3796
3907
  )
3797
3908
  }
3798
3909
  ),
3799
- /* @__PURE__ */ jsx99(
3910
+ /* @__PURE__ */ jsx104(
3800
3911
  "path",
3801
3912
  {
3802
3913
  id: "XMLID_23_",
3803
3914
  d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3804
- children: /* @__PURE__ */ jsx99(
3915
+ children: /* @__PURE__ */ jsx104(
3805
3916
  "animate",
3806
3917
  {
3807
3918
  attributeName: "opacity",
@@ -3814,12 +3925,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3814
3925
  )
3815
3926
  }
3816
3927
  ),
3817
- /* @__PURE__ */ jsx99(
3928
+ /* @__PURE__ */ jsx104(
3818
3929
  "path",
3819
3930
  {
3820
3931
  id: "XMLID_24_",
3821
3932
  d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
3822
- children: /* @__PURE__ */ jsx99(
3933
+ children: /* @__PURE__ */ jsx104(
3823
3934
  "animate",
3824
3935
  {
3825
3936
  attributeName: "opacity",
@@ -3832,12 +3943,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3832
3943
  )
3833
3944
  }
3834
3945
  ),
3835
- /* @__PURE__ */ jsx99(
3946
+ /* @__PURE__ */ jsx104(
3836
3947
  "path",
3837
3948
  {
3838
3949
  id: "XMLID_25_",
3839
3950
  d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
3840
- children: /* @__PURE__ */ jsx99(
3951
+ children: /* @__PURE__ */ jsx104(
3841
3952
  "animate",
3842
3953
  {
3843
3954
  attributeName: "opacity",
@@ -3850,12 +3961,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3850
3961
  )
3851
3962
  }
3852
3963
  ),
3853
- /* @__PURE__ */ jsx99(
3964
+ /* @__PURE__ */ jsx104(
3854
3965
  "path",
3855
3966
  {
3856
3967
  id: "XMLID_26_",
3857
3968
  d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
3858
- children: /* @__PURE__ */ jsx99(
3969
+ children: /* @__PURE__ */ jsx104(
3859
3970
  "animate",
3860
3971
  {
3861
3972
  attributeName: "opacity",
@@ -3868,12 +3979,12 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3868
3979
  )
3869
3980
  }
3870
3981
  ),
3871
- /* @__PURE__ */ jsx99(
3982
+ /* @__PURE__ */ jsx104(
3872
3983
  "path",
3873
3984
  {
3874
3985
  id: "XMLID_27_",
3875
3986
  d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
3876
- children: /* @__PURE__ */ jsx99(
3987
+ children: /* @__PURE__ */ jsx104(
3877
3988
  "animate",
3878
3989
  {
3879
3990
  attributeName: "opacity",
@@ -3889,30 +4000,30 @@ var Loader = forwardRef25((props, ref) => /* @__PURE__ */ jsxs37(
3889
4000
  ]
3890
4001
  }
3891
4002
  ));
3892
- var LoaderFullSize = forwardRef25(
4003
+ var LoaderFullSize = forwardRef29(
3893
4004
  ({ children, ...rest }, ref) => {
3894
4005
  const className = useClassNames55({
3895
4006
  component: "Underlay",
3896
4007
  variant: "modal",
3897
4008
  className: "fixed left-0 top-0 z-10 flex h-[--visual-viewport-height] w-screen items-center justify-center bg-gray-950/30 cursor-progress"
3898
4009
  });
3899
- return /* @__PURE__ */ jsx99(ModalOverlay2, { defaultOpen: true, className, isKeyboardDismissDisabled: true, children: /* @__PURE__ */ jsx99(Modal2, { children: /* @__PURE__ */ jsx99(Dialog2, { className: "text-text-inverted outline-0", children: /* @__PURE__ */ jsxs37(Stack, { space: 2, alignX: "center", children: [
3900
- /* @__PURE__ */ jsx99(Loader, { ...rest, ...ref, color: "text-inverted", size: 80 }),
4010
+ return /* @__PURE__ */ jsx104(ModalOverlay2, { defaultOpen: true, className, isKeyboardDismissDisabled: true, children: /* @__PURE__ */ jsx104(Modal2, { children: /* @__PURE__ */ jsx104(Dialog2, { className: "text-text-inverted outline-0", children: /* @__PURE__ */ jsxs39(Stack, { space: 2, alignX: "center", children: [
4011
+ /* @__PURE__ */ jsx104(Loader, { ...rest, ...ref, color: "text-inverted", size: 80 }),
3901
4012
  children
3902
4013
  ] }) }) }) });
3903
4014
  }
3904
4015
  );
3905
- var LoaderInline = forwardRef25(
4016
+ var LoaderInline = forwardRef29(
3906
4017
  ({ children, ...rest }, ref) => {
3907
- return /* @__PURE__ */ jsx99("div", { className: "text-text-inverted flex h-full w-full items-center justify-center bg-gray-950/30", children: /* @__PURE__ */ jsxs37(Stack, { space: 2, alignX: "center", children: [
3908
- /* @__PURE__ */ jsx99(Loader, { ...rest, ...ref, color: "text-inverted", size: 80 }),
4018
+ return /* @__PURE__ */ jsx104("div", { className: "text-text-inverted flex h-full w-full items-center justify-center bg-gray-950/30", children: /* @__PURE__ */ jsxs39(Stack, { space: 2, alignX: "center", children: [
4019
+ /* @__PURE__ */ jsx104(Loader, { ...rest, ...ref, color: "text-inverted", size: 80 }),
3909
4020
  children
3910
4021
  ] }) });
3911
4022
  }
3912
4023
  );
3913
- var XLoader = forwardRef25(
4024
+ var XLoader = forwardRef29(
3914
4025
  ({ mode, ...rest }, ref) => {
3915
- return /* @__PURE__ */ jsx99(Fragment8, { children: mode === LoadingModes.FullSize ? /* @__PURE__ */ jsx99(LoaderFullSize, { ...rest, ...ref }) : mode === LoadingModes.Inline ? /* @__PURE__ */ jsx99(LoaderInline, { ...rest, ...ref }) : /* @__PURE__ */ jsx99(Loader, { ...rest, ...ref }) });
4026
+ return /* @__PURE__ */ jsx104(Fragment10, { children: mode === LoadingModes.FullSize ? /* @__PURE__ */ jsx104(LoaderFullSize, { ...rest, ...ref }) : mode === LoadingModes.Inline ? /* @__PURE__ */ jsx104(LoaderInline, { ...rest, ...ref }) : /* @__PURE__ */ jsx104(Loader, { ...rest, ...ref }) });
3916
4027
  }
3917
4028
  );
3918
4029
 
@@ -3928,10 +4039,10 @@ var useTabContext = () => useContext16(TabContext);
3928
4039
  // src/Tabs/Tab.tsx
3929
4040
  import { Tab } from "react-aria-components";
3930
4041
  import { cn as cn61 } from "@marigold/system";
3931
- import { jsx as jsx100 } from "react/jsx-runtime";
4042
+ import { jsx as jsx105 } from "react/jsx-runtime";
3932
4043
  var _Tab = (props) => {
3933
4044
  const { classNames: classNames2 } = useTabContext();
3934
- return /* @__PURE__ */ jsx100(
4045
+ return /* @__PURE__ */ jsx105(
3935
4046
  Tab,
3936
4047
  {
3937
4048
  ...props,
@@ -3947,10 +4058,10 @@ var _Tab = (props) => {
3947
4058
  // src/Tabs/TabList.tsx
3948
4059
  import { TabList } from "react-aria-components";
3949
4060
  import { cn as cn62, gapSpace as gapSpace9 } from "@marigold/system";
3950
- import { jsx as jsx101 } from "react/jsx-runtime";
4061
+ import { jsx as jsx106 } from "react/jsx-runtime";
3951
4062
  var _TabList = ({ space = 2, ...props }) => {
3952
4063
  const { classNames: classNames2 } = useTabContext();
3953
- return /* @__PURE__ */ jsx101(
4064
+ return /* @__PURE__ */ jsx106(
3954
4065
  TabList,
3955
4066
  {
3956
4067
  ...props,
@@ -3962,14 +4073,14 @@ var _TabList = ({ space = 2, ...props }) => {
3962
4073
 
3963
4074
  // src/Tabs/TabPanel.tsx
3964
4075
  import { TabPanel } from "react-aria-components";
3965
- import { jsx as jsx102 } from "react/jsx-runtime";
4076
+ import { jsx as jsx107 } from "react/jsx-runtime";
3966
4077
  var _TabPanel = (props) => {
3967
4078
  const { classNames: classNames2 } = useTabContext();
3968
- return /* @__PURE__ */ jsx102(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
4079
+ return /* @__PURE__ */ jsx107(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3969
4080
  };
3970
4081
 
3971
4082
  // src/Tabs/Tabs.tsx
3972
- import { jsx as jsx103 } from "react/jsx-runtime";
4083
+ import { jsx as jsx108 } from "react/jsx-runtime";
3973
4084
  var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3974
4085
  const props = {
3975
4086
  isDisabled: disabled,
@@ -3980,7 +4091,7 @@ var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3980
4091
  size,
3981
4092
  variant
3982
4093
  });
3983
- return /* @__PURE__ */ jsx103(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx103(Tabs, { ...props, className: classNames2.container, children: props.children }) });
4094
+ return /* @__PURE__ */ jsx108(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx108(Tabs, { ...props, className: classNames2.container, children: props.children }) });
3984
4095
  };
3985
4096
  _Tabs.List = _TabList;
3986
4097
  _Tabs.TabPanel = _TabPanel;