@marigold/components 5.1.0 → 5.3.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.
Files changed (4) hide show
  1. package/dist/index.d.ts +55 -7
  2. package/dist/index.js +1284 -1027
  3. package/dist/index.mjs +1227 -965
  4. package/package.json +47 -44
package/dist/index.mjs CHANGED
@@ -67,16 +67,724 @@ var Aspect = ({
67
67
  children
68
68
  );
69
69
 
70
+ // src/Autocomplete/Autocomplete.tsx
71
+ import React17, { useRef as useRef5 } from "react";
72
+ import { useSearchAutocomplete } from "@react-aria/autocomplete";
73
+ import { useFilter } from "@react-aria/i18n";
74
+ import { useComboBoxState } from "@react-stately/combobox";
75
+ import { Item } from "@react-stately/collections";
76
+ import {
77
+ SVG as SVG3,
78
+ useComponentStyles as useComponentStyles7
79
+ } from "@marigold/system";
80
+
81
+ // src/FieldBase/FieldBase.tsx
82
+ import React6 from "react";
83
+ import {
84
+ Box as Box4,
85
+ useComponentStyles as useComponentStyles3
86
+ } from "@marigold/system";
87
+
88
+ // src/Label/Label.tsx
89
+ import React3 from "react";
90
+ import { Box as Box2, SVG, useComponentStyles } from "@marigold/system";
91
+ var Label = ({
92
+ as = "label",
93
+ required,
94
+ children,
95
+ variant,
96
+ size,
97
+ labelWidth,
98
+ ...props
99
+ }) => {
100
+ const styles = useComponentStyles("Label", { size, variant });
101
+ return /* @__PURE__ */ React3.createElement(
102
+ Box2,
103
+ {
104
+ ...props,
105
+ as,
106
+ "aria-required": required,
107
+ __baseCSS: {
108
+ display: "flex",
109
+ width: labelWidth
110
+ },
111
+ css: styles
112
+ },
113
+ children,
114
+ required && /* @__PURE__ */ React3.createElement(SVG, { viewBox: "0 0 24 24", role: "presentation", size: 16, fill: "error" }, /* @__PURE__ */ React3.createElement("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" }))
115
+ );
116
+ };
117
+
118
+ // src/HelpText/HelpText.tsx
119
+ import React4 from "react";
120
+ import {
121
+ Box as Box3,
122
+ SVG as SVG2,
123
+ useComponentStyles as useComponentStyles2
124
+ } from "@marigold/system";
125
+ var HelpText = ({
126
+ variant,
127
+ size,
128
+ disabled,
129
+ description,
130
+ descriptionProps,
131
+ error,
132
+ errorMessage,
133
+ errorMessageProps,
134
+ ...props
135
+ }) => {
136
+ var _a;
137
+ const hasErrorMessage = errorMessage && error;
138
+ const styles = useComponentStyles2(
139
+ "HelpText",
140
+ { variant, size },
141
+ { parts: ["container", "icon"] }
142
+ );
143
+ return /* @__PURE__ */ React4.createElement(
144
+ Box3,
145
+ {
146
+ ...hasErrorMessage ? errorMessageProps : descriptionProps,
147
+ ...props,
148
+ __baseCSS: { display: "flex", alignItems: "center", gap: 4 },
149
+ css: styles.container
150
+ },
151
+ hasErrorMessage ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
152
+ SVG2,
153
+ {
154
+ viewBox: "0 0 24 24",
155
+ role: "presentation",
156
+ size: ((_a = styles == null ? void 0 : styles.icon) == null ? void 0 : _a.size) || 16
157
+ },
158
+ /* @__PURE__ */ React4.createElement("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" })
159
+ ), errorMessage) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, description)
160
+ );
161
+ };
162
+
163
+ // src/FieldBase/FieldGroup.tsx
164
+ import React5 from "react";
165
+ import { createContext, useContext } from "react";
166
+ var FieldGroupContext = createContext({});
167
+ var useFieldGroupContext = () => useContext(FieldGroupContext);
168
+ var FieldGroup = ({ labelWidth, children }) => {
169
+ return /* @__PURE__ */ React5.createElement(FieldGroupContext.Provider, { value: { labelWidth } }, children);
170
+ };
171
+
172
+ // src/FieldBase/FieldBase.tsx
173
+ var FieldBase = ({
174
+ children,
175
+ variant,
176
+ size,
177
+ width = "100%",
178
+ disabled,
179
+ required,
180
+ label,
181
+ labelProps,
182
+ description,
183
+ descriptionProps,
184
+ error,
185
+ errorMessage,
186
+ errorMessageProps,
187
+ stateProps,
188
+ ...props
189
+ }) => {
190
+ const hasHelpText = !!description || errorMessage && error;
191
+ const style = useComponentStyles3("Field", { variant, size });
192
+ const { labelWidth } = useFieldGroupContext();
193
+ return /* @__PURE__ */ React6.createElement(
194
+ Box4,
195
+ {
196
+ ...props,
197
+ __baseCSS: {
198
+ display: "flex",
199
+ flexDirection: "column",
200
+ width,
201
+ position: "relative"
202
+ },
203
+ css: style
204
+ },
205
+ label && /* @__PURE__ */ React6.createElement(
206
+ Label,
207
+ {
208
+ required,
209
+ variant,
210
+ size,
211
+ labelWidth,
212
+ ...labelProps,
213
+ ...stateProps
214
+ },
215
+ label
216
+ ),
217
+ /* @__PURE__ */ React6.createElement(Box4, { __baseCSS: { display: "flex", flexDirection: "column" } }, children, hasHelpText && /* @__PURE__ */ React6.createElement(
218
+ HelpText,
219
+ {
220
+ ...stateProps,
221
+ variant,
222
+ size,
223
+ disabled,
224
+ description,
225
+ descriptionProps,
226
+ error,
227
+ errorMessage,
228
+ errorMessageProps
229
+ }
230
+ ))
231
+ );
232
+ };
233
+
234
+ // src/Input/Input.tsx
235
+ import React7, { forwardRef } from "react";
236
+ import {
237
+ Box as Box5,
238
+ useComponentStyles as useComponentStyles4,
239
+ useStateProps
240
+ } from "@marigold/system";
241
+ var Input = forwardRef(
242
+ ({ type = "text", icon, action, variant, size, ...props }, ref) => {
243
+ const styles = useComponentStyles4(
244
+ "Input",
245
+ { variant, size },
246
+ { parts: ["input", "icon", "container"] }
247
+ );
248
+ const stateProps = useStateProps({
249
+ hasIcon: icon ? true : false
250
+ });
251
+ return /* @__PURE__ */ React7.createElement(
252
+ Box5,
253
+ {
254
+ __baseCSS: {
255
+ position: "relative",
256
+ display: "flex",
257
+ alignItems: "center",
258
+ width: "100%"
259
+ },
260
+ css: styles.container
261
+ },
262
+ /* @__PURE__ */ React7.createElement(
263
+ Box5,
264
+ {
265
+ __baseCSS: { border: 0, width: "100%", outline: "none", pl: 16 },
266
+ ...props,
267
+ ...stateProps,
268
+ as: "input",
269
+ ref,
270
+ css: styles.input,
271
+ type
272
+ }
273
+ ),
274
+ icon && /* @__PURE__ */ React7.createElement(
275
+ Box5,
276
+ {
277
+ __baseCSS: {
278
+ position: "absolute",
279
+ pointerEvents: "none",
280
+ left: 8
281
+ },
282
+ css: styles.icon
283
+ },
284
+ icon
285
+ ),
286
+ /* @__PURE__ */ React7.createElement(
287
+ Box5,
288
+ {
289
+ __baseCSS: {
290
+ display: "inline-flex",
291
+ position: "absolute",
292
+ right: 8
293
+ }
294
+ },
295
+ action
296
+ )
297
+ );
298
+ }
299
+ );
300
+
301
+ // src/ListBox/ListBox.tsx
302
+ import React10, { forwardRef as forwardRef2 } from "react";
303
+ import { useObjectRef } from "@react-aria/utils";
304
+ import {
305
+ Box as Box8,
306
+ useComponentStyles as useComponentStyles5
307
+ } from "@marigold/system";
308
+ import { useListBox } from "@react-aria/listbox";
309
+
310
+ // src/ListBox/Context.ts
311
+ import { createContext as createContext2, useContext as useContext2 } from "react";
312
+ var ListBoxContext = createContext2({});
313
+ var useListBoxContext = () => useContext2(ListBoxContext);
314
+
315
+ // src/ListBox/ListBoxSection.tsx
316
+ import React9 from "react";
317
+ import { useListBoxSection } from "@react-aria/listbox";
318
+ import { Box as Box7 } from "@marigold/system";
319
+
320
+ // src/ListBox/ListBoxOption.tsx
321
+ import React8, { useRef } from "react";
322
+ import { useOption } from "@react-aria/listbox";
323
+ import { mergeProps } from "@react-aria/utils";
324
+ import { Box as Box6, useStateProps as useStateProps2 } from "@marigold/system";
325
+ var ListBoxOption = ({ item, state }) => {
326
+ const ref = useRef(null);
327
+ const { optionProps, isSelected, isDisabled, isFocused } = useOption(
328
+ {
329
+ key: item.key
330
+ },
331
+ state,
332
+ ref
333
+ );
334
+ const { onPointerUp, ...props } = optionProps;
335
+ const { styles } = useListBoxContext();
336
+ const stateProps = useStateProps2({
337
+ selected: isSelected,
338
+ disabled: isDisabled,
339
+ focusVisible: isFocused
340
+ });
341
+ return /* @__PURE__ */ React8.createElement(
342
+ Box6,
343
+ {
344
+ as: "li",
345
+ ref,
346
+ css: styles.option,
347
+ ...mergeProps(props, { onPointerDown: onPointerUp }, { ...stateProps })
348
+ },
349
+ item.rendered
350
+ );
351
+ };
352
+
353
+ // src/ListBox/ListBoxSection.tsx
354
+ var ListBoxSection = ({ section, state }) => {
355
+ const { itemProps, headingProps, groupProps } = useListBoxSection({
356
+ heading: section.rendered,
357
+ "aria-label": section["aria-label"]
358
+ });
359
+ const { styles } = useListBoxContext();
360
+ return /* @__PURE__ */ React9.createElement(Box7, { as: "li", css: styles.section, ...itemProps }, section.rendered && /* @__PURE__ */ React9.createElement(Box7, { css: styles.sectionTitle, ...headingProps }, section.rendered), /* @__PURE__ */ React9.createElement(
361
+ Box7,
362
+ {
363
+ as: "ul",
364
+ __baseCSS: { listStyle: "none", p: 0 },
365
+ css: styles.list,
366
+ ...groupProps
367
+ },
368
+ [...section.childNodes].map((node) => /* @__PURE__ */ React9.createElement(ListBoxOption, { key: node.key, item: node, state }))
369
+ ));
370
+ };
371
+
372
+ // src/ListBox/ListBox.tsx
373
+ var ListBox = forwardRef2(
374
+ ({ state, variant, size, ...props }, ref) => {
375
+ const innerRef = useObjectRef(ref);
376
+ const { listBoxProps } = useListBox(props, state, innerRef);
377
+ const styles = useComponentStyles5(
378
+ "ListBox",
379
+ { variant, size },
380
+ { parts: ["container", "list", "option", "section", "sectionTitle"] }
381
+ );
382
+ return /* @__PURE__ */ React10.createElement(ListBoxContext.Provider, { value: { styles } }, /* @__PURE__ */ React10.createElement(Box8, { css: styles.container }, /* @__PURE__ */ React10.createElement(
383
+ Box8,
384
+ {
385
+ as: "ul",
386
+ ref: innerRef,
387
+ __baseCSS: { listStyle: "none", p: 0 },
388
+ css: styles.list,
389
+ ...listBoxProps
390
+ },
391
+ [...state.collection].map(
392
+ (item) => item.type === "section" ? /* @__PURE__ */ React10.createElement(ListBoxSection, { key: item.key, section: item, state }) : /* @__PURE__ */ React10.createElement(ListBoxOption, { key: item.key, item, state })
393
+ )
394
+ )));
395
+ }
396
+ );
397
+
398
+ // src/Overlay/Modal.tsx
399
+ import React12, { forwardRef as forwardRef3 } from "react";
400
+ import { FocusScope } from "@react-aria/focus";
401
+ import { useModal, useOverlay, usePreventScroll } from "@react-aria/overlays";
402
+ import { mergeProps as mergeProps2, useObjectRef as useObjectRef2 } from "@react-aria/utils";
403
+
404
+ // src/Overlay/Underlay.tsx
405
+ import React11 from "react";
406
+ import { Box as Box9, useComponentStyles as useComponentStyles6 } from "@marigold/system";
407
+ var Underlay = ({ size, variant, ...props }) => {
408
+ const styles = useComponentStyles6("Underlay", { size, variant });
409
+ return /* @__PURE__ */ React11.createElement(
410
+ Box9,
411
+ {
412
+ __baseCSS: {
413
+ position: "fixed",
414
+ inset: 0,
415
+ zIndex: 1
416
+ },
417
+ css: styles,
418
+ ...props
419
+ }
420
+ );
421
+ };
422
+
423
+ // src/Overlay/Modal.tsx
424
+ var Modal = forwardRef3(
425
+ ({ children, open, dismissable, keyboardDismissable, onClose, ...props }, ref) => {
426
+ const modalRef = useObjectRef2(ref);
427
+ const { overlayProps, underlayProps } = useOverlay(
428
+ {
429
+ isOpen: open,
430
+ onClose,
431
+ isDismissable: dismissable,
432
+ isKeyboardDismissDisabled: !keyboardDismissable
433
+ },
434
+ modalRef
435
+ );
436
+ usePreventScroll();
437
+ const { modalProps } = useModal({});
438
+ return /* @__PURE__ */ React12.createElement(FocusScope, { contain: true, restoreFocus: true, autoFocus: true }, /* @__PURE__ */ React12.createElement(Underlay, { ...underlayProps, variant: "modal" }), /* @__PURE__ */ React12.createElement(
439
+ "div",
440
+ {
441
+ style: {
442
+ display: "flex",
443
+ alignItems: "center",
444
+ justifyContent: "center",
445
+ position: "fixed",
446
+ inset: 0,
447
+ zIndex: 2,
448
+ pointerEvents: "none"
449
+ },
450
+ ref: modalRef,
451
+ ...mergeProps2(props, overlayProps, modalProps)
452
+ },
453
+ /* @__PURE__ */ React12.createElement("div", { style: { pointerEvents: "auto" } }, children)
454
+ ));
455
+ }
456
+ );
457
+
458
+ // src/Overlay/Overlay.tsx
459
+ import React13, { useRef as useRef2 } from "react";
460
+ import { Transition } from "react-transition-group";
461
+ import {
462
+ Overlay as ReactAriaOverlay
463
+ } from "@react-aria/overlays";
464
+ var duration = 300;
465
+ var defaultStyle = {
466
+ transition: `opacity ${duration}ms ease-in-out`,
467
+ opacity: 0
468
+ };
469
+ var transitionStyles = {
470
+ entering: { opacity: 1 },
471
+ entered: { opacity: 1 },
472
+ exiting: { opacity: 0 },
473
+ exited: { opacity: 0 },
474
+ unmounted: { opacity: 0 }
475
+ };
476
+ var Overlay = ({ children, container, open }) => {
477
+ const nodeRef = useRef2(null);
478
+ let mountOverlay = open;
479
+ if (!mountOverlay) {
480
+ return null;
481
+ }
482
+ return /* @__PURE__ */ React13.createElement(ReactAriaOverlay, { portalContainer: container }, /* @__PURE__ */ React13.createElement(Transition, { nodeRef, timeout: duration, in: open, appear: true }, (state) => /* @__PURE__ */ React13.createElement(
483
+ "div",
484
+ {
485
+ ref: nodeRef,
486
+ "data-testid": "overlay",
487
+ style: {
488
+ ...defaultStyle,
489
+ ...transitionStyles[state]
490
+ }
491
+ },
492
+ children
493
+ )));
494
+ };
495
+
496
+ // src/Overlay/Popover.tsx
497
+ import React14, { forwardRef as forwardRef4, useRef as useRef3 } from "react";
498
+ import {
499
+ DismissButton,
500
+ usePopover
501
+ } from "@react-aria/overlays";
502
+ import { FocusScope as FocusScope2 } from "@react-aria/focus";
503
+ var Popover = forwardRef4(
504
+ (props, ref) => {
505
+ const fallbackRef = useRef3(null);
506
+ const popoverRef = ref || fallbackRef;
507
+ let { children, state, ...otherProps } = props;
508
+ return /* @__PURE__ */ React14.createElement(Overlay, { open: state.isOpen, ...otherProps }, /* @__PURE__ */ React14.createElement(PopoverWrapper, { ref: popoverRef, ...props }, children));
509
+ }
510
+ );
511
+ var PopoverWrapper = forwardRef4(
512
+ ({
513
+ children,
514
+ isNonModal,
515
+ state,
516
+ keyboardDismissDisabled,
517
+ ...props
518
+ }, ref) => {
519
+ const { popoverProps, underlayProps } = usePopover(
520
+ {
521
+ ...props,
522
+ isNonModal,
523
+ isKeyboardDismissDisabled: keyboardDismissDisabled,
524
+ popoverRef: ref,
525
+ placement: "bottom left"
526
+ },
527
+ state
528
+ );
529
+ return /* @__PURE__ */ React14.createElement(FocusScope2, { restoreFocus: true }, !isNonModal && /* @__PURE__ */ React14.createElement(Underlay, { ...underlayProps }), /* @__PURE__ */ React14.createElement(
530
+ "div",
531
+ {
532
+ ...popoverProps,
533
+ style: {
534
+ ...popoverProps.style,
535
+ minWidth: props.triggerRef.current ? props.triggerRef.current.offsetWidth : void 0
536
+ },
537
+ ref,
538
+ role: "presentation"
539
+ },
540
+ !isNonModal && /* @__PURE__ */ React14.createElement(DismissButton, { onDismiss: state.close }),
541
+ children,
542
+ /* @__PURE__ */ React14.createElement(DismissButton, { onDismiss: state.close })
543
+ ));
544
+ }
545
+ );
546
+
547
+ // src/Overlay/Tray.tsx
548
+ import React15 from "react";
549
+ import { Box as Box10 } from "@marigold/system";
550
+ import { FocusScope as FocusScope3 } from "@react-aria/focus";
551
+ import {
552
+ DismissButton as DismissButton2,
553
+ useModalOverlay
554
+ } from "@react-aria/overlays";
555
+ import { useObjectRef as useObjectRef3 } from "@react-aria/utils";
556
+ import { forwardRef as forwardRef5 } from "react";
557
+ var Tray = forwardRef5(
558
+ ({ state, children, ...props }, ref) => {
559
+ const trayRef = useObjectRef3(ref);
560
+ return /* @__PURE__ */ React15.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React15.createElement(TrayWrapper, { state, ...props, ref: trayRef }, children));
561
+ }
562
+ );
563
+ var TrayWrapper = forwardRef5(
564
+ ({ children, state, ...props }, ref) => {
565
+ let { modalProps, underlayProps } = useModalOverlay(
566
+ {
567
+ ...props,
568
+ isDismissable: true
569
+ },
570
+ state,
571
+ ref
572
+ );
573
+ return /* @__PURE__ */ React15.createElement(FocusScope3, { contain: true, restoreFocus: true, autoFocus: true }, /* @__PURE__ */ React15.createElement(Underlay, { ...underlayProps, variant: "modal" }, /* @__PURE__ */ React15.createElement(
574
+ Box10,
575
+ {
576
+ ...modalProps,
577
+ ref,
578
+ __baseCSS: { position: "absolute", width: "100%", bottom: 0 },
579
+ "data-testid": "tray"
580
+ },
581
+ /* @__PURE__ */ React15.createElement(DismissButton2, { onDismiss: state.close }),
582
+ children,
583
+ /* @__PURE__ */ React15.createElement(DismissButton2, { onDismiss: state.close })
584
+ )));
585
+ }
586
+ );
587
+
588
+ // src/Autocomplete/ClearButton.tsx
589
+ import React16, { useRef as useRef4 } from "react";
590
+ import { useHover } from "@react-aria/interactions";
591
+ import { useFocusRing } from "@react-aria/focus";
592
+ import { useButton } from "@react-aria/button";
593
+ import { mergeProps as mergeProps3 } from "@react-aria/utils";
594
+ import { Box as Box11, useStateProps as useStateProps3 } from "@marigold/system";
595
+ var ClearButton = ({
596
+ css,
597
+ preventFocus,
598
+ disabled,
599
+ onClick,
600
+ onPress,
601
+ onPressStart,
602
+ onPressEnd,
603
+ onPressChange,
604
+ onPressUp,
605
+ excludeFromTabOrder,
606
+ preventFocusOnPress,
607
+ ...props
608
+ }) => {
609
+ const buttonRef = useRef4(null);
610
+ const { hoverProps, isHovered } = useHover({ isDisabled: disabled });
611
+ const { isFocusVisible, focusProps } = useFocusRing({
612
+ autoFocus: props.autoFocus
613
+ });
614
+ const { buttonProps, isPressed } = useButton(
615
+ {
616
+ ...props,
617
+ onClick,
618
+ onPress,
619
+ onPressStart,
620
+ onPressEnd,
621
+ onPressChange,
622
+ onPressUp,
623
+ excludeFromTabOrder,
624
+ preventFocusOnPress,
625
+ isDisabled: disabled
626
+ },
627
+ buttonRef
628
+ );
629
+ if (preventFocus) {
630
+ delete buttonProps.tabIndex;
631
+ }
632
+ const stateProps = useStateProps3({
633
+ active: isPressed,
634
+ focusVisible: isFocusVisible,
635
+ hover: isHovered
636
+ });
637
+ return /* @__PURE__ */ React16.createElement(
638
+ Box11,
639
+ {
640
+ ...mergeProps3(buttonProps, focusProps, hoverProps, props),
641
+ ...stateProps,
642
+ as: "button",
643
+ ref: buttonRef,
644
+ __baseCSS: {
645
+ appearance: "none",
646
+ border: "none",
647
+ p: 0,
648
+ cursor: "pointer",
649
+ height: 16,
650
+ width: 16
651
+ },
652
+ css
653
+ },
654
+ /* @__PURE__ */ React16.createElement(
655
+ "svg",
656
+ {
657
+ xmlns: "http://www.w3.org/2000/svg",
658
+ viewBox: "0 0 20 20",
659
+ fill: "currentColor"
660
+ },
661
+ /* @__PURE__ */ React16.createElement("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" })
662
+ )
663
+ );
664
+ };
665
+
666
+ // src/Autocomplete/Autocomplete.tsx
667
+ var SearchIcon = ({ css }) => /* @__PURE__ */ React17.createElement(
668
+ SVG3,
669
+ {
670
+ xmlns: "http://www.w3.org/2000/svg",
671
+ viewBox: "0 0 24 24",
672
+ fill: "currentColor",
673
+ css
674
+ },
675
+ /* @__PURE__ */ React17.createElement("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" })
676
+ );
677
+ var Autocomplete = ({
678
+ disabled,
679
+ required,
680
+ readOnly,
681
+ error,
682
+ onChange,
683
+ value,
684
+ defaultValue,
685
+ variant,
686
+ size,
687
+ width,
688
+ ...rest
689
+ }) => {
690
+ const { contains } = useFilter({ sensitivity: "base" });
691
+ const props = {
692
+ ...rest,
693
+ onInputChange: onChange,
694
+ inputValue: value,
695
+ defaultInputValue: defaultValue,
696
+ isDisabled: disabled,
697
+ isRequired: required,
698
+ isReadOnly: readOnly,
699
+ validationState: error ? "invalid" : "valid"
700
+ };
701
+ const state = useComboBoxState({
702
+ ...props,
703
+ defaultFilter: contains,
704
+ allowsCustomValue: true,
705
+ onSelectionChange: (key) => {
706
+ var _a;
707
+ return key !== null && ((_a = props.onSubmit) == null ? void 0 : _a.call(props, key, null));
708
+ },
709
+ selectedKey: void 0,
710
+ defaultSelectedKey: void 0
711
+ });
712
+ const inputRef = useRef5(null);
713
+ const listBoxRef = useRef5(null);
714
+ const popoverRef = useRef5(null);
715
+ const { inputProps, listBoxProps, labelProps, clearButtonProps } = useSearchAutocomplete(
716
+ {
717
+ ...props,
718
+ onSubmit: (value2, key) => {
719
+ var _a;
720
+ return (_a = props.onSubmit) == null ? void 0 : _a.call(props, key, value2);
721
+ },
722
+ popoverRef,
723
+ listBoxRef,
724
+ inputRef
725
+ },
726
+ state
727
+ );
728
+ const errorMessageProps = { "aria-invalid": error };
729
+ const { isDisabled, ...restClearButtonProps } = clearButtonProps;
730
+ const styles = useComponentStyles7(
731
+ "Autocomplete",
732
+ { variant, size },
733
+ { parts: ["icon", "clear"] }
734
+ );
735
+ return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
736
+ FieldBase,
737
+ {
738
+ label: props.label,
739
+ labelProps,
740
+ description: props.description,
741
+ error,
742
+ errorMessage: props.errorMessage,
743
+ errorMessageProps,
744
+ disabled,
745
+ width
746
+ },
747
+ /* @__PURE__ */ React17.createElement(
748
+ Input,
749
+ {
750
+ ...inputProps,
751
+ ref: inputRef,
752
+ icon: /* @__PURE__ */ React17.createElement(SearchIcon, { css: { height: 16, width: 16, ...styles.icon } }),
753
+ action: state.inputValue !== "" ? /* @__PURE__ */ React17.createElement(
754
+ ClearButton,
755
+ {
756
+ preventFocus: true,
757
+ disabled: isDisabled,
758
+ css: styles.clear,
759
+ ...restClearButtonProps
760
+ }
761
+ ) : void 0
762
+ }
763
+ )
764
+ ), /* @__PURE__ */ React17.createElement(
765
+ Popover,
766
+ {
767
+ state,
768
+ ref: popoverRef,
769
+ triggerRef: inputRef,
770
+ scrollRef: listBoxRef,
771
+ isNonModal: true
772
+ },
773
+ /* @__PURE__ */ React17.createElement(ListBox, { ref: listBoxRef, state, ...listBoxProps })
774
+ ));
775
+ };
776
+ Autocomplete.Item = Item;
777
+
70
778
  // src/Badge/Badge.tsx
71
- import React3 from "react";
72
- import { useComponentStyles } from "@marigold/system";
779
+ import React18 from "react";
780
+ import { useComponentStyles as useComponentStyles8 } from "@marigold/system";
73
781
  var Badge = ({ variant, size, children, ...props }) => {
74
- const styles = useComponentStyles("Badge", { variant, size });
75
- return /* @__PURE__ */ React3.createElement(Box, { ...props, css: styles }, children);
782
+ const styles = useComponentStyles8("Badge", { variant, size });
783
+ return /* @__PURE__ */ React18.createElement(Box, { ...props, css: styles }, children);
76
784
  };
77
785
 
78
786
  // src/Breakout/Breakout.tsx
79
- import React4 from "react";
787
+ import React19 from "react";
80
788
  var useAlignment = (direction) => {
81
789
  switch (direction) {
82
790
  case "right":
@@ -97,7 +805,7 @@ var Breakout = ({
97
805
  }) => {
98
806
  const alignItems = useAlignment(alignY);
99
807
  const justifyContent = useAlignment(alignX);
100
- return /* @__PURE__ */ React4.createElement(
808
+ return /* @__PURE__ */ React19.createElement(
101
809
  Box,
102
810
  {
103
811
  css: {
@@ -115,28 +823,28 @@ var Breakout = ({
115
823
  };
116
824
 
117
825
  // src/Body/Body.tsx
118
- import React5 from "react";
826
+ import React20 from "react";
119
827
  import {
120
- Box as Box2,
121
- useComponentStyles as useComponentStyles2
828
+ Box as Box12,
829
+ useComponentStyles as useComponentStyles9
122
830
  } from "@marigold/system";
123
831
  var Body = ({ children, variant, size, ...props }) => {
124
- const styles = useComponentStyles2("Body", { variant, size });
125
- return /* @__PURE__ */ React5.createElement(Box2, { as: "section", ...props, css: styles }, children);
832
+ const styles = useComponentStyles9("Body", { variant, size });
833
+ return /* @__PURE__ */ React20.createElement(Box12, { as: "section", ...props, css: styles }, children);
126
834
  };
127
835
 
128
836
  // src/Button/Button.tsx
129
- import React6, { forwardRef } from "react";
130
- import { useButton } from "@react-aria/button";
131
- import { useFocusRing } from "@react-aria/focus";
132
- import { useHover } from "@react-aria/interactions";
133
- import { mergeProps, useObjectRef } from "@react-aria/utils";
837
+ import React21, { forwardRef as forwardRef6 } from "react";
838
+ import { useButton as useButton2 } from "@react-aria/button";
839
+ import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
840
+ import { useHover as useHover2 } from "@react-aria/interactions";
841
+ import { mergeProps as mergeProps4, useObjectRef as useObjectRef4 } from "@react-aria/utils";
134
842
  import {
135
- Box as Box3,
136
- useComponentStyles as useComponentStyles3,
137
- useStateProps
843
+ Box as Box13,
844
+ useComponentStyles as useComponentStyles10,
845
+ useStateProps as useStateProps4
138
846
  } from "@marigold/system";
139
- var Button = forwardRef(
847
+ var Button = forwardRef6(
140
848
  ({
141
849
  as = "button",
142
850
  children,
@@ -152,12 +860,12 @@ var Button = forwardRef(
152
860
  fullWidth,
153
861
  ...props
154
862
  }, ref) => {
155
- const buttonRef = useObjectRef(ref);
156
- const { hoverProps, isHovered } = useHover({ isDisabled: disabled });
157
- const { isFocusVisible, focusProps } = useFocusRing({
863
+ const buttonRef = useObjectRef4(ref);
864
+ const { hoverProps, isHovered } = useHover2({ isDisabled: disabled });
865
+ const { isFocusVisible, focusProps } = useFocusRing2({
158
866
  autoFocus: props.autoFocus
159
867
  });
160
- const { buttonProps, isPressed } = useButton(
868
+ const { buttonProps, isPressed } = useButton2(
161
869
  {
162
870
  /**
163
871
  * `react-aria` only expected `Element` but we casted
@@ -175,16 +883,16 @@ var Button = forwardRef(
175
883
  },
176
884
  buttonRef
177
885
  );
178
- const styles = useComponentStyles3("Button", { variant, size });
179
- const stateProps = useStateProps({
886
+ const styles = useComponentStyles10("Button", { variant, size });
887
+ const stateProps = useStateProps4({
180
888
  active: isPressed,
181
889
  focusVisible: isFocusVisible,
182
890
  hover: isHovered
183
891
  });
184
- return /* @__PURE__ */ React6.createElement(
185
- Box3,
892
+ return /* @__PURE__ */ React21.createElement(
893
+ Box13,
186
894
  {
187
- ...mergeProps(buttonProps, focusProps, hoverProps, props),
895
+ ...mergeProps4(buttonProps, focusProps, hoverProps, props),
188
896
  ...stateProps,
189
897
  as,
190
898
  ref: buttonRef,
@@ -207,10 +915,10 @@ var Button = forwardRef(
207
915
  );
208
916
 
209
917
  // src/Card/Card.tsx
210
- import React7 from "react";
918
+ import React22 from "react";
211
919
  import {
212
- Box as Box4,
213
- useComponentStyles as useComponentStyles4
920
+ Box as Box14,
921
+ useComponentStyles as useComponentStyles11
214
922
  } from "@marigold/system";
215
923
  var Card = ({
216
924
  children,
@@ -225,214 +933,59 @@ var Card = ({
225
933
  pr,
226
934
  ...props
227
935
  }) => {
228
- const styles = useComponentStyles4("Card", { variant, size });
229
- return /* @__PURE__ */ React7.createElement(Box4, { ...props, css: [styles, { p, px, py, pt, pb, pl, pr }] }, children);
936
+ const styles = useComponentStyles11("Card", { variant, size });
937
+ return /* @__PURE__ */ React22.createElement(Box14, { ...props, css: [styles, { p, px, py, pt, pb, pl, pr }] }, children);
230
938
  };
231
939
 
232
940
  // src/Center/Center.tsx
233
- import React8 from "react";
941
+ import React23 from "react";
234
942
  var Center = ({
235
943
  maxWidth,
236
944
  space = "none",
237
945
  children,
238
946
  ...props
239
- }) => /* @__PURE__ */ React8.createElement(
240
- Box,
241
- {
242
- css: {
243
- boxSizing: "content-box",
244
- display: "flex",
245
- flexDirection: "column",
246
- alignItems: "center",
247
- justifyContent: "center",
248
- marginInline: "auto",
249
- maxInlineSize: maxWidth,
250
- gap: space
251
- },
252
- ...props
253
- },
254
- children
255
- );
256
-
257
- // src/Checkbox/Checkbox.tsx
258
- import React14, { forwardRef as forwardRef2 } from "react";
259
- import { useCheckbox, useCheckboxGroupItem } from "@react-aria/checkbox";
260
- import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
261
- import { useHover as useHover2 } from "@react-aria/interactions";
262
- import { useObjectRef as useObjectRef2 } from "@react-aria/utils";
263
- import { useToggleState } from "@react-stately/toggle";
264
- import {
265
- Box as Box9,
266
- useComponentStyles as useComponentStyles8,
267
- useStateProps as useStateProps3
268
- } from "@marigold/system";
269
-
270
- // src/Checkbox/CheckboxGroup.tsx
271
- import React13, { createContext as createContext2, useContext as useContext2 } from "react";
272
- import { useCheckboxGroup } from "@react-aria/checkbox";
273
- import {
274
- useCheckboxGroupState
275
- } from "@react-stately/checkbox";
276
- import { Box as Box8, useStateProps as useStateProps2 } from "@marigold/system";
277
-
278
- // src/FieldBase/FieldBase.tsx
279
- import React12 from "react";
280
- import {
281
- Box as Box7,
282
- useComponentStyles as useComponentStyles7
283
- } from "@marigold/system";
284
-
285
- // src/Label/Label.tsx
286
- import React9 from "react";
287
- import { Box as Box5, SVG, useComponentStyles as useComponentStyles5 } from "@marigold/system";
288
- var Label = ({
289
- as = "label",
290
- required,
291
- children,
292
- variant,
293
- size,
294
- labelWidth,
295
- ...props
296
- }) => {
297
- const styles = useComponentStyles5("Label", { size, variant });
298
- return /* @__PURE__ */ React9.createElement(
299
- Box5,
300
- {
301
- ...props,
302
- as,
303
- "aria-required": required,
304
- __baseCSS: {
305
- display: "flex",
306
- width: labelWidth
307
- },
308
- css: styles
309
- },
310
- children,
311
- required && /* @__PURE__ */ React9.createElement(SVG, { viewBox: "0 0 24 24", role: "presentation", size: 16, fill: "error" }, /* @__PURE__ */ React9.createElement("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" }))
312
- );
313
- };
314
-
315
- // src/HelpText/HelpText.tsx
316
- import React10 from "react";
317
- import {
318
- Box as Box6,
319
- SVG as SVG2,
320
- useComponentStyles as useComponentStyles6
321
- } from "@marigold/system";
322
- var HelpText = ({
323
- variant,
324
- size,
325
- disabled,
326
- description,
327
- descriptionProps,
328
- error,
329
- errorMessage,
330
- errorMessageProps,
331
- ...props
332
- }) => {
333
- var _a;
334
- const hasErrorMessage = errorMessage && error;
335
- const styles = useComponentStyles6(
336
- "HelpText",
337
- { variant, size },
338
- { parts: ["container", "icon"] }
339
- );
340
- return /* @__PURE__ */ React10.createElement(
341
- Box6,
342
- {
343
- ...hasErrorMessage ? errorMessageProps : descriptionProps,
344
- ...props,
345
- __baseCSS: { display: "flex", alignItems: "center", gap: 4 },
346
- css: styles.container
347
- },
348
- hasErrorMessage ? /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(
349
- SVG2,
350
- {
351
- viewBox: "0 0 24 24",
352
- role: "presentation",
353
- size: ((_a = styles == null ? void 0 : styles.icon) == null ? void 0 : _a.size) || 16
354
- },
355
- /* @__PURE__ */ React10.createElement("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" })
356
- ), errorMessage) : /* @__PURE__ */ React10.createElement(React10.Fragment, null, description)
357
- );
358
- };
359
-
360
- // src/FieldBase/FieldGroup.tsx
361
- import React11 from "react";
362
- import { createContext, useContext } from "react";
363
- var FieldGroupContext = createContext({});
364
- var useFieldGroupContext = () => useContext(FieldGroupContext);
365
- var FieldGroup = ({ labelWidth, children }) => {
366
- return /* @__PURE__ */ React11.createElement(FieldGroupContext.Provider, { value: { labelWidth } }, children);
367
- };
368
-
369
- // src/FieldBase/FieldBase.tsx
370
- var FieldBase = ({
371
- children,
372
- variant,
373
- size,
374
- width = "100%",
375
- disabled,
376
- required,
377
- label,
378
- labelProps,
379
- description,
380
- descriptionProps,
381
- error,
382
- errorMessage,
383
- errorMessageProps,
384
- stateProps,
385
- ...props
386
- }) => {
387
- const hasHelpText = !!description || errorMessage && error;
388
- const style = useComponentStyles7("Field", { variant, size });
389
- const { labelWidth } = useFieldGroupContext();
390
- return /* @__PURE__ */ React12.createElement(
391
- Box7,
392
- {
393
- ...props,
394
- __baseCSS: {
395
- display: "flex",
396
- flexDirection: "column",
397
- width,
398
- position: "relative"
399
- },
400
- css: style
947
+ }) => /* @__PURE__ */ React23.createElement(
948
+ Box,
949
+ {
950
+ css: {
951
+ boxSizing: "content-box",
952
+ display: "flex",
953
+ flexDirection: "column",
954
+ alignItems: "center",
955
+ justifyContent: "center",
956
+ marginInline: "auto",
957
+ maxInlineSize: maxWidth,
958
+ gap: space
401
959
  },
402
- label && /* @__PURE__ */ React12.createElement(
403
- Label,
404
- {
405
- required,
406
- variant,
407
- size,
408
- labelWidth,
409
- ...labelProps,
410
- ...stateProps
411
- },
412
- label
413
- ),
414
- /* @__PURE__ */ React12.createElement(Box7, { __baseCSS: { display: "flex", flexDirection: "column" } }, children, hasHelpText && /* @__PURE__ */ React12.createElement(
415
- HelpText,
416
- {
417
- ...stateProps,
418
- variant,
419
- size,
420
- disabled,
421
- description,
422
- descriptionProps,
423
- error,
424
- errorMessage,
425
- errorMessageProps
426
- }
427
- ))
428
- );
429
- };
960
+ ...props
961
+ },
962
+ children
963
+ );
964
+
965
+ // src/Checkbox/Checkbox.tsx
966
+ import React25, { forwardRef as forwardRef7 } from "react";
967
+ import { useCheckbox, useCheckboxGroupItem } from "@react-aria/checkbox";
968
+ import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
969
+ import { useHover as useHover3 } from "@react-aria/interactions";
970
+ import { useObjectRef as useObjectRef5 } from "@react-aria/utils";
971
+ import { useToggleState } from "@react-stately/toggle";
972
+ import {
973
+ Box as Box16,
974
+ useComponentStyles as useComponentStyles12,
975
+ useStateProps as useStateProps6
976
+ } from "@marigold/system";
430
977
 
431
978
  // src/Checkbox/CheckboxGroup.tsx
432
- var CheckboxGroupContext = createContext2(
979
+ import React24, { createContext as createContext3, useContext as useContext3 } from "react";
980
+ import { useCheckboxGroup } from "@react-aria/checkbox";
981
+ import {
982
+ useCheckboxGroupState
983
+ } from "@react-stately/checkbox";
984
+ import { Box as Box15, useStateProps as useStateProps5 } from "@marigold/system";
985
+ var CheckboxGroupContext = createContext3(
433
986
  null
434
987
  );
435
- var useCheckboxGroupContext = () => useContext2(CheckboxGroupContext);
988
+ var useCheckboxGroupContext = () => useContext3(CheckboxGroupContext);
436
989
  var CheckboxGroup = ({
437
990
  children,
438
991
  required,
@@ -450,12 +1003,12 @@ var CheckboxGroup = ({
450
1003
  };
451
1004
  const state = useCheckboxGroupState(props);
452
1005
  const { groupProps, labelProps, descriptionProps, errorMessageProps } = useCheckboxGroup(props, state);
453
- const stateProps = useStateProps2({
1006
+ const stateProps = useStateProps5({
454
1007
  disabled,
455
1008
  readOnly,
456
1009
  error
457
1010
  });
458
- return /* @__PURE__ */ React13.createElement(
1011
+ return /* @__PURE__ */ React24.createElement(
459
1012
  FieldBase,
460
1013
  {
461
1014
  label: props.label,
@@ -470,8 +1023,8 @@ var CheckboxGroup = ({
470
1023
  required,
471
1024
  ...groupProps
472
1025
  },
473
- /* @__PURE__ */ React13.createElement(
474
- Box8,
1026
+ /* @__PURE__ */ React24.createElement(
1027
+ Box15,
475
1028
  {
476
1029
  role: "presentation",
477
1030
  __baseCSS: {
@@ -480,13 +1033,13 @@ var CheckboxGroup = ({
480
1033
  alignItems: "start"
481
1034
  }
482
1035
  },
483
- /* @__PURE__ */ React13.createElement(CheckboxGroupContext.Provider, { value: { error, ...state } }, children)
1036
+ /* @__PURE__ */ React24.createElement(CheckboxGroupContext.Provider, { value: { error, ...state } }, children)
484
1037
  )
485
1038
  );
486
1039
  };
487
1040
 
488
1041
  // src/Checkbox/Checkbox.tsx
489
- var CheckMark = () => /* @__PURE__ */ React14.createElement("svg", { viewBox: "0 0 12 10" }, /* @__PURE__ */ React14.createElement(
1042
+ var CheckMark = () => /* @__PURE__ */ React25.createElement("svg", { viewBox: "0 0 12 10" }, /* @__PURE__ */ React25.createElement(
490
1043
  "path",
491
1044
  {
492
1045
  fill: "currentColor",
@@ -494,7 +1047,7 @@ var CheckMark = () => /* @__PURE__ */ React14.createElement("svg", { viewBox: "0
494
1047
  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"
495
1048
  }
496
1049
  ));
497
- var IndeterminateMark = () => /* @__PURE__ */ React14.createElement("svg", { width: "12", height: "3", viewBox: "0 0 12 3" }, /* @__PURE__ */ React14.createElement(
1050
+ var IndeterminateMark = () => /* @__PURE__ */ React25.createElement("svg", { width: "12", height: "3", viewBox: "0 0 12 3" }, /* @__PURE__ */ React25.createElement(
498
1051
  "path",
499
1052
  {
500
1053
  fill: "currentColor",
@@ -502,8 +1055,8 @@ var IndeterminateMark = () => /* @__PURE__ */ React14.createElement("svg", { wid
502
1055
  d: "M11.5 2.04018H0.5V0.46875H11.5V2.04018Z"
503
1056
  }
504
1057
  ));
505
- var Icon = ({ css, checked, indeterminate, ...props }) => /* @__PURE__ */ React14.createElement(
506
- Box9,
1058
+ var Icon = ({ css, checked, indeterminate, ...props }) => /* @__PURE__ */ React25.createElement(
1059
+ Box16,
507
1060
  {
508
1061
  "aria-hidden": "true",
509
1062
  __baseCSS: {
@@ -521,9 +1074,9 @@ var Icon = ({ css, checked, indeterminate, ...props }) => /* @__PURE__ */ React1
521
1074
  css,
522
1075
  ...props
523
1076
  },
524
- indeterminate ? /* @__PURE__ */ React14.createElement(IndeterminateMark, null) : checked ? /* @__PURE__ */ React14.createElement(CheckMark, null) : null
1077
+ indeterminate ? /* @__PURE__ */ React25.createElement(IndeterminateMark, null) : checked ? /* @__PURE__ */ React25.createElement(CheckMark, null) : null
525
1078
  );
526
- var Checkbox = forwardRef2(
1079
+ var Checkbox = forwardRef7(
527
1080
  ({
528
1081
  size,
529
1082
  variant,
@@ -536,7 +1089,7 @@ var Checkbox = forwardRef2(
536
1089
  error,
537
1090
  ...props
538
1091
  }, ref) => {
539
- const inputRef = useObjectRef2(ref);
1092
+ const inputRef = useObjectRef5(ref);
540
1093
  const checkboxProps = {
541
1094
  isIndeterminate: indeterminate,
542
1095
  isDisabled: disabled,
@@ -572,7 +1125,7 @@ var Checkbox = forwardRef2(
572
1125
  }),
573
1126
  inputRef
574
1127
  );
575
- const styles = useComponentStyles8(
1128
+ const styles = useComponentStyles12(
576
1129
  "Checkbox",
577
1130
  {
578
1131
  variant,
@@ -580,9 +1133,9 @@ var Checkbox = forwardRef2(
580
1133
  },
581
1134
  { parts: ["container", "label", "checkbox"] }
582
1135
  );
583
- const { hoverProps, isHovered } = useHover2({});
584
- const { isFocusVisible, focusProps } = useFocusRing2();
585
- const stateProps = useStateProps3({
1136
+ const { hoverProps, isHovered } = useHover3({});
1137
+ const { isFocusVisible, focusProps } = useFocusRing3();
1138
+ const stateProps = useStateProps6({
586
1139
  hover: isHovered,
587
1140
  focus: isFocusVisible,
588
1141
  checked: inputProps.checked,
@@ -591,8 +1144,8 @@ var Checkbox = forwardRef2(
591
1144
  readOnly,
592
1145
  indeterminate
593
1146
  });
594
- return /* @__PURE__ */ React14.createElement(
595
- Box9,
1147
+ return /* @__PURE__ */ React25.createElement(
1148
+ Box16,
596
1149
  {
597
1150
  as: "label",
598
1151
  __baseCSS: {
@@ -605,8 +1158,8 @@ var Checkbox = forwardRef2(
605
1158
  ...hoverProps,
606
1159
  ...stateProps
607
1160
  },
608
- /* @__PURE__ */ React14.createElement(
609
- Box9,
1161
+ /* @__PURE__ */ React25.createElement(
1162
+ Box16,
610
1163
  {
611
1164
  as: "input",
612
1165
  ref: inputRef,
@@ -624,7 +1177,7 @@ var Checkbox = forwardRef2(
624
1177
  ...focusProps
625
1178
  }
626
1179
  ),
627
- /* @__PURE__ */ React14.createElement(
1180
+ /* @__PURE__ */ React25.createElement(
628
1181
  Icon,
629
1182
  {
630
1183
  checked: inputProps.checked,
@@ -633,13 +1186,13 @@ var Checkbox = forwardRef2(
633
1186
  ...stateProps
634
1187
  }
635
1188
  ),
636
- props.children && /* @__PURE__ */ React14.createElement(Box9, { css: styles.label, ...stateProps }, props.children)
1189
+ props.children && /* @__PURE__ */ React25.createElement(Box16, { css: styles.label, ...stateProps }, props.children)
637
1190
  );
638
1191
  }
639
1192
  );
640
1193
 
641
1194
  // src/Columns/Columns.tsx
642
- import React15, {
1195
+ import React26, {
643
1196
  Children,
644
1197
  cloneElement,
645
1198
  isValidElement
@@ -659,7 +1212,7 @@ var Columns = ({
659
1212
  )}`
660
1213
  );
661
1214
  }
662
- return /* @__PURE__ */ React15.createElement(
1215
+ return /* @__PURE__ */ React26.createElement(
663
1216
  Box,
664
1217
  {
665
1218
  css: {
@@ -678,7 +1231,7 @@ var Columns = ({
678
1231
  },
679
1232
  ...props
680
1233
  },
681
- Children.map(children, (child, idx) => /* @__PURE__ */ React15.createElement(
1234
+ Children.map(children, (child, idx) => /* @__PURE__ */ React26.createElement(
682
1235
  Box,
683
1236
  {
684
1237
  css: {
@@ -692,7 +1245,7 @@ var Columns = ({
692
1245
  };
693
1246
 
694
1247
  // src/Container/Container.tsx
695
- import React16 from "react";
1248
+ import React27 from "react";
696
1249
  import { size as tokenSize } from "@marigold/tokens";
697
1250
  var ALIGN_ITEMS = {
698
1251
  left: "start",
@@ -723,7 +1276,7 @@ var Container = ({
723
1276
  ...props
724
1277
  }) => {
725
1278
  const maxWidth = tokenSize[contentType][size];
726
- return /* @__PURE__ */ React16.createElement(
1279
+ return /* @__PURE__ */ React27.createElement(
727
1280
  Box,
728
1281
  {
729
1282
  css: {
@@ -741,29 +1294,29 @@ var Container = ({
741
1294
  };
742
1295
 
743
1296
  // src/Dialog/Dialog.tsx
744
- import React26, { useRef as useRef3 } from "react";
745
- import { useButton as useButton2 } from "@react-aria/button";
1297
+ import React32, { useRef as useRef7 } from "react";
1298
+ import { useButton as useButton3 } from "@react-aria/button";
746
1299
  import { useDialog } from "@react-aria/dialog";
747
1300
  import {
748
- Box as Box13,
749
- useComponentStyles as useComponentStyles12
1301
+ Box as Box18,
1302
+ useComponentStyles as useComponentStyles15
750
1303
  } from "@marigold/system";
751
1304
 
752
1305
  // src/Header/Header.tsx
753
- import React17 from "react";
1306
+ import React28 from "react";
754
1307
  import {
755
- useComponentStyles as useComponentStyles9
1308
+ useComponentStyles as useComponentStyles13
756
1309
  } from "@marigold/system";
757
1310
  var Header = ({ children, variant, size, ...props }) => {
758
- const styles = useComponentStyles9("Header", { variant, size });
759
- return /* @__PURE__ */ React17.createElement(Box, { as: "header", ...props, css: styles }, children);
1311
+ const styles = useComponentStyles13("Header", { variant, size });
1312
+ return /* @__PURE__ */ React28.createElement(Box, { as: "header", ...props, css: styles }, children);
760
1313
  };
761
1314
 
762
1315
  // src/Headline/Headline.tsx
763
- import React18 from "react";
1316
+ import React29 from "react";
764
1317
  import {
765
- Box as Box10,
766
- useComponentStyles as useComponentStyles10
1318
+ Box as Box17,
1319
+ useComponentStyles as useComponentStyles14
767
1320
  } from "@marigold/system";
768
1321
  var Headline = ({
769
1322
  children,
@@ -774,12 +1327,12 @@ var Headline = ({
774
1327
  level = "1",
775
1328
  ...props
776
1329
  }) => {
777
- const styles = useComponentStyles10("Headline", {
1330
+ const styles = useComponentStyles14("Headline", {
778
1331
  variant,
779
1332
  size: size != null ? size : `level-${level}`
780
1333
  });
781
- return /* @__PURE__ */ React18.createElement(
782
- Box10,
1334
+ return /* @__PURE__ */ React29.createElement(
1335
+ Box17,
783
1336
  {
784
1337
  as: `h${level}`,
785
1338
  ...props,
@@ -789,217 +1342,25 @@ var Headline = ({
789
1342
  );
790
1343
  };
791
1344
 
792
- // src/Dialog/Context.ts
793
- import { createContext as createContext3, useContext as useContext3 } from "react";
794
- var DialogContext = createContext3({});
795
- var useDialogContext = () => useContext3(DialogContext);
796
-
797
- // src/Dialog/DialogTrigger.tsx
798
- import React24, { useRef as useRef2 } from "react";
799
- import { PressResponder } from "@react-aria/interactions";
800
- import { useOverlayTriggerState } from "@react-stately/overlays";
801
-
802
- // src/Overlay/Modal.tsx
803
- import React20, { forwardRef as forwardRef3 } from "react";
804
- import { FocusScope } from "@react-aria/focus";
805
- import { useModal, useOverlay, usePreventScroll } from "@react-aria/overlays";
806
- import { mergeProps as mergeProps2, useObjectRef as useObjectRef3 } from "@react-aria/utils";
807
-
808
- // src/Overlay/Underlay.tsx
809
- import React19 from "react";
810
- import { Box as Box11, useComponentStyles as useComponentStyles11 } from "@marigold/system";
811
- var Underlay = ({ size, variant, ...props }) => {
812
- const styles = useComponentStyles11("Underlay", { size, variant });
813
- return /* @__PURE__ */ React19.createElement(
814
- Box11,
815
- {
816
- __baseCSS: {
817
- position: "fixed",
818
- inset: 0,
819
- zIndex: 1
820
- },
821
- css: styles,
822
- ...props
823
- }
824
- );
825
- };
826
-
827
- // src/Overlay/Modal.tsx
828
- var Modal = forwardRef3(
829
- ({ children, open, dismissable, keyboardDismissable, onClose, ...props }, ref) => {
830
- const modalRef = useObjectRef3(ref);
831
- const { overlayProps, underlayProps } = useOverlay(
832
- {
833
- isOpen: open,
834
- onClose,
835
- isDismissable: dismissable,
836
- isKeyboardDismissDisabled: !keyboardDismissable
837
- },
838
- modalRef
839
- );
840
- usePreventScroll();
841
- const { modalProps } = useModal({});
842
- return /* @__PURE__ */ React20.createElement(FocusScope, { contain: true, restoreFocus: true, autoFocus: true }, /* @__PURE__ */ React20.createElement(Underlay, { ...underlayProps, variant: "modal" }), /* @__PURE__ */ React20.createElement(
843
- "div",
844
- {
845
- style: {
846
- display: "flex",
847
- alignItems: "center",
848
- justifyContent: "center",
849
- position: "fixed",
850
- inset: 0,
851
- zIndex: 2,
852
- pointerEvents: "none"
853
- },
854
- ref: modalRef,
855
- ...mergeProps2(props, overlayProps, modalProps)
856
- },
857
- /* @__PURE__ */ React20.createElement("div", { style: { pointerEvents: "auto" } }, children)
858
- ));
859
- }
860
- );
861
-
862
- // src/Overlay/Overlay.tsx
863
- import React21, { useRef } from "react";
864
- import { Transition } from "react-transition-group";
865
- import {
866
- Overlay as ReactAriaOverlay
867
- } from "@react-aria/overlays";
868
- var duration = 300;
869
- var defaultStyle = {
870
- transition: `opacity ${duration}ms ease-in-out`,
871
- opacity: 0
872
- };
873
- var transitionStyles = {
874
- entering: { opacity: 1 },
875
- entered: { opacity: 1 },
876
- exiting: { opacity: 0 },
877
- exited: { opacity: 0 },
878
- unmounted: { opacity: 0 }
879
- };
880
- var Overlay = ({ children, container, open }) => {
881
- const nodeRef = useRef(null);
882
- let mountOverlay = open;
883
- if (!mountOverlay) {
884
- return null;
885
- }
886
- return /* @__PURE__ */ React21.createElement(ReactAriaOverlay, { portalContainer: container }, /* @__PURE__ */ React21.createElement(Transition, { nodeRef, timeout: duration, in: open, appear: true }, (state) => /* @__PURE__ */ React21.createElement(
887
- "div",
888
- {
889
- ref: nodeRef,
890
- "data-testid": "overlay",
891
- style: {
892
- ...defaultStyle,
893
- ...transitionStyles[state]
894
- }
895
- },
896
- children
897
- )));
898
- };
899
-
900
- // src/Overlay/Popover.tsx
901
- import React22, { forwardRef as forwardRef4 } from "react";
902
- import {
903
- DismissButton,
904
- usePopover
905
- } from "@react-aria/overlays";
906
- import { useObjectRef as useObjectRef4 } from "@react-aria/utils";
907
- import { FocusScope as FocusScope2 } from "@react-aria/focus";
908
- var Popover = forwardRef4(
909
- (props, ref) => {
910
- const popoverRef = useObjectRef4(ref);
911
- let { children, state, ...otherProps } = props;
912
- return /* @__PURE__ */ React22.createElement(Overlay, { open: state.isOpen, ...otherProps }, /* @__PURE__ */ React22.createElement(PopoverWrapper, { ref: popoverRef, ...props }, children));
913
- }
914
- );
915
- var PopoverWrapper = forwardRef4(
916
- ({
917
- children,
918
- isNonModal,
919
- state,
920
- keyboardDismissDisabled,
921
- ...props
922
- }, ref) => {
923
- const { popoverProps, underlayProps } = usePopover(
924
- {
925
- ...props,
926
- isNonModal,
927
- isKeyboardDismissDisabled: keyboardDismissDisabled,
928
- popoverRef: ref,
929
- placement: "bottom left"
930
- },
931
- state
932
- );
933
- return /* @__PURE__ */ React22.createElement(FocusScope2, { restoreFocus: true }, !isNonModal && /* @__PURE__ */ React22.createElement(Underlay, { ...underlayProps }), /* @__PURE__ */ React22.createElement(
934
- "div",
935
- {
936
- ...popoverProps,
937
- style: {
938
- ...popoverProps.style,
939
- minWidth: props.triggerRef.current ? props.triggerRef.current.offsetWidth : void 0
940
- },
941
- ref,
942
- role: "presentation"
943
- },
944
- !isNonModal && /* @__PURE__ */ React22.createElement(DismissButton, { onDismiss: state.close }),
945
- children,
946
- /* @__PURE__ */ React22.createElement(DismissButton, { onDismiss: state.close })
947
- ));
948
- }
949
- );
950
-
951
- // src/Overlay/Tray.tsx
952
- import React23 from "react";
953
- import { Box as Box12 } from "@marigold/system";
954
- import { FocusScope as FocusScope3 } from "@react-aria/focus";
955
- import {
956
- DismissButton as DismissButton2,
957
- useModalOverlay
958
- } from "@react-aria/overlays";
959
- import { useObjectRef as useObjectRef5 } from "@react-aria/utils";
960
- import { forwardRef as forwardRef5 } from "react";
961
- var Tray = forwardRef5(
962
- ({ state, children, ...props }, ref) => {
963
- const trayRef = useObjectRef5(ref);
964
- return /* @__PURE__ */ React23.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React23.createElement(TrayWrapper, { state, ...props, ref: trayRef }, children));
965
- }
966
- );
967
- var TrayWrapper = forwardRef5(
968
- ({ children, state, ...props }, ref) => {
969
- let { modalProps, underlayProps } = useModalOverlay(
970
- {
971
- ...props,
972
- isDismissable: true
973
- },
974
- state,
975
- ref
976
- );
977
- return /* @__PURE__ */ React23.createElement(FocusScope3, { contain: true, restoreFocus: true, autoFocus: true }, /* @__PURE__ */ React23.createElement(Underlay, { ...underlayProps, variant: "modal" }, /* @__PURE__ */ React23.createElement(
978
- Box12,
979
- {
980
- ...modalProps,
981
- ref,
982
- __baseCSS: { position: "absolute", width: "100%", bottom: 0 },
983
- "data-testid": "tray"
984
- },
985
- /* @__PURE__ */ React23.createElement(DismissButton2, { onDismiss: state.close }),
986
- children,
987
- /* @__PURE__ */ React23.createElement(DismissButton2, { onDismiss: state.close })
988
- )));
989
- }
990
- );
991
-
1345
+ // src/Dialog/Context.ts
1346
+ import { createContext as createContext4, useContext as useContext4 } from "react";
1347
+ var DialogContext = createContext4({});
1348
+ var useDialogContext = () => useContext4(DialogContext);
1349
+
992
1350
  // src/Dialog/DialogTrigger.tsx
1351
+ import React30, { useRef as useRef6 } from "react";
1352
+ import { PressResponder } from "@react-aria/interactions";
1353
+ import { useOverlayTriggerState } from "@react-stately/overlays";
993
1354
  var DialogTrigger = ({
994
1355
  children,
995
1356
  dismissable = true,
996
1357
  keyboardDismissable = true
997
1358
  }) => {
998
- const [dialogTrigger, dialog] = React24.Children.toArray(children);
999
- const dialogTriggerRef = useRef2(null);
1359
+ const [dialogTrigger, dialog] = React30.Children.toArray(children);
1360
+ const dialogTriggerRef = useRef6(null);
1000
1361
  const state = useOverlayTriggerState({});
1001
1362
  const ctx = { open: state.isOpen, close: state.close };
1002
- return /* @__PURE__ */ React24.createElement(DialogContext.Provider, { value: ctx }, /* @__PURE__ */ React24.createElement(
1363
+ return /* @__PURE__ */ React30.createElement(DialogContext.Provider, { value: ctx }, /* @__PURE__ */ React30.createElement(
1003
1364
  PressResponder,
1004
1365
  {
1005
1366
  ref: dialogTriggerRef,
@@ -1007,7 +1368,7 @@ var DialogTrigger = ({
1007
1368
  onPress: state.toggle
1008
1369
  },
1009
1370
  dialogTrigger
1010
- ), /* @__PURE__ */ React24.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React24.createElement(
1371
+ ), /* @__PURE__ */ React30.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React30.createElement(
1011
1372
  Modal,
1012
1373
  {
1013
1374
  open: state.isOpen,
@@ -1021,7 +1382,7 @@ var DialogTrigger = ({
1021
1382
 
1022
1383
  // src/Dialog/DialogController.tsx
1023
1384
  import { useOverlayTriggerState as useOverlayTriggerState2 } from "@react-stately/overlays";
1024
- import React25 from "react";
1385
+ import React31 from "react";
1025
1386
  var DialogController = ({
1026
1387
  children,
1027
1388
  dismissable = true,
@@ -1034,7 +1395,7 @@ var DialogController = ({
1034
1395
  onOpenChange
1035
1396
  });
1036
1397
  const ctx = { open: state.isOpen, close: state.close };
1037
- return /* @__PURE__ */ React25.createElement(DialogContext.Provider, { value: ctx }, /* @__PURE__ */ React25.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React25.createElement(
1398
+ return /* @__PURE__ */ React31.createElement(DialogContext.Provider, { value: ctx }, /* @__PURE__ */ React31.createElement(Overlay, { open: state.isOpen }, /* @__PURE__ */ React31.createElement(
1038
1399
  Modal,
1039
1400
  {
1040
1401
  open: state.isOpen,
@@ -1048,16 +1409,16 @@ var DialogController = ({
1048
1409
 
1049
1410
  // src/Dialog/Dialog.tsx
1050
1411
  var CloseButton = ({ css }) => {
1051
- const ref = useRef3(null);
1412
+ const ref = useRef7(null);
1052
1413
  const { close } = useDialogContext();
1053
- const { buttonProps } = useButton2(
1414
+ const { buttonProps } = useButton3(
1054
1415
  {
1055
1416
  onPress: () => close == null ? void 0 : close()
1056
1417
  },
1057
1418
  ref
1058
1419
  );
1059
- return /* @__PURE__ */ React26.createElement(Box13, { css: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React26.createElement(
1060
- Box13,
1420
+ return /* @__PURE__ */ React32.createElement(Box18, { css: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React32.createElement(
1421
+ Box18,
1061
1422
  {
1062
1423
  as: "button",
1063
1424
  __baseCSS: {
@@ -1073,7 +1434,7 @@ var CloseButton = ({ css }) => {
1073
1434
  ref,
1074
1435
  ...buttonProps
1075
1436
  },
1076
- /* @__PURE__ */ React26.createElement("svg", { viewBox: "0 0 20 20", fill: "currentColor" }, /* @__PURE__ */ React26.createElement(
1437
+ /* @__PURE__ */ React32.createElement("svg", { viewBox: "0 0 20 20", fill: "currentColor" }, /* @__PURE__ */ React32.createElement(
1077
1438
  "path",
1078
1439
  {
1079
1440
  fillRule: "evenodd",
@@ -1084,9 +1445,9 @@ var CloseButton = ({ css }) => {
1084
1445
  ));
1085
1446
  };
1086
1447
  var addTitleProps = (children, titleProps) => {
1087
- const childs = React26.Children.toArray(children);
1448
+ const childs = React32.Children.toArray(children);
1088
1449
  const titleIndex = childs.findIndex(
1089
- (child) => React26.isValidElement(child) && (child.type === Header || child.type === Headline)
1450
+ (child) => React32.isValidElement(child) && (child.type === Header || child.type === Headline)
1090
1451
  );
1091
1452
  if (titleIndex < 0) {
1092
1453
  console.warn(
@@ -1094,7 +1455,7 @@ var addTitleProps = (children, titleProps) => {
1094
1455
  );
1095
1456
  return children;
1096
1457
  }
1097
- const titleChild = React26.cloneElement(
1458
+ const titleChild = React32.cloneElement(
1098
1459
  childs[titleIndex],
1099
1460
  titleProps
1100
1461
  );
@@ -1108,43 +1469,43 @@ var Dialog = ({
1108
1469
  closeButton,
1109
1470
  ...props
1110
1471
  }) => {
1111
- const ref = useRef3(null);
1472
+ const ref = useRef7(null);
1112
1473
  const { close } = useDialogContext();
1113
1474
  const { dialogProps, titleProps } = useDialog(props, ref);
1114
- const styles = useComponentStyles12(
1475
+ const styles = useComponentStyles15(
1115
1476
  "Dialog",
1116
1477
  { variant, size },
1117
1478
  { parts: ["container", "closeButton"] }
1118
1479
  );
1119
- return /* @__PURE__ */ React26.createElement(Box13, { __baseCSS: { bg: "#fff" }, css: styles.container, ...dialogProps }, closeButton && /* @__PURE__ */ React26.createElement(CloseButton, { css: styles.closeButton }), typeof children === "function" ? children({ close, titleProps }) : props["aria-labelledby"] ? children : addTitleProps(children, titleProps));
1480
+ return /* @__PURE__ */ React32.createElement(Box18, { __baseCSS: { bg: "#fff" }, css: styles.container, ...dialogProps }, closeButton && /* @__PURE__ */ React32.createElement(CloseButton, { css: styles.closeButton }), typeof children === "function" ? children({ close, titleProps }) : props["aria-labelledby"] ? children : addTitleProps(children, titleProps));
1120
1481
  };
1121
1482
  Dialog.Trigger = DialogTrigger;
1122
1483
  Dialog.Controller = DialogController;
1123
1484
 
1124
1485
  // src/Divider/Divider.tsx
1125
- import React27 from "react";
1486
+ import React33 from "react";
1126
1487
  import { useSeparator } from "@react-aria/separator";
1127
- import { Box as Box14, useComponentStyles as useComponentStyles13 } from "@marigold/system";
1488
+ import { Box as Box19, useComponentStyles as useComponentStyles16 } from "@marigold/system";
1128
1489
  var Divider = ({ variant, ...props }) => {
1129
1490
  const { separatorProps } = useSeparator(props);
1130
- const styles = useComponentStyles13("Divider", { variant });
1131
- return /* @__PURE__ */ React27.createElement(Box14, { css: styles, ...props, ...separatorProps });
1491
+ const styles = useComponentStyles16("Divider", { variant });
1492
+ return /* @__PURE__ */ React33.createElement(Box19, { css: styles, ...props, ...separatorProps });
1132
1493
  };
1133
1494
 
1134
1495
  // src/Footer/Footer.tsx
1135
- import React28 from "react";
1496
+ import React34 from "react";
1136
1497
  import {
1137
- useComponentStyles as useComponentStyles14
1498
+ useComponentStyles as useComponentStyles17
1138
1499
  } from "@marigold/system";
1139
1500
  var Footer = ({ children, variant, size, ...props }) => {
1140
- const styles = useComponentStyles14("Footer", { variant, size });
1141
- return /* @__PURE__ */ React28.createElement(Box, { as: "footer", ...props, css: styles }, children);
1501
+ const styles = useComponentStyles17("Footer", { variant, size });
1502
+ return /* @__PURE__ */ React34.createElement(Box, { as: "footer", ...props, css: styles }, children);
1142
1503
  };
1143
1504
 
1144
1505
  // src/Image/Image.tsx
1145
- import React29 from "react";
1146
- import { Box as Box15 } from "@marigold/system";
1147
- import { useComponentStyles as useComponentStyles15 } from "@marigold/system";
1506
+ import React35 from "react";
1507
+ import { Box as Box20 } from "@marigold/system";
1508
+ import { useComponentStyles as useComponentStyles18 } from "@marigold/system";
1148
1509
  var Image = ({
1149
1510
  variant,
1150
1511
  size,
@@ -1152,14 +1513,14 @@ var Image = ({
1152
1513
  position,
1153
1514
  ...props
1154
1515
  }) => {
1155
- const styles = useComponentStyles15("Image", { variant, size });
1516
+ const styles = useComponentStyles18("Image", { variant, size });
1156
1517
  const css = {
1157
1518
  ...styles,
1158
1519
  objectFit: fit,
1159
1520
  objectPosition: position
1160
1521
  };
1161
- return /* @__PURE__ */ React29.createElement(
1162
- Box15,
1522
+ return /* @__PURE__ */ React35.createElement(
1523
+ Box20,
1163
1524
  {
1164
1525
  ...props,
1165
1526
  as: "img",
@@ -1170,7 +1531,7 @@ var Image = ({
1170
1531
  };
1171
1532
 
1172
1533
  // src/Inline/Inline.tsx
1173
- import React30 from "react";
1534
+ import React36 from "react";
1174
1535
  var ALIGNMENT_X = {
1175
1536
  left: "flex-start",
1176
1537
  center: "center",
@@ -1187,7 +1548,7 @@ var Inline = ({
1187
1548
  alignY = "center",
1188
1549
  children,
1189
1550
  ...props
1190
- }) => /* @__PURE__ */ React30.createElement(
1551
+ }) => /* @__PURE__ */ React36.createElement(
1191
1552
  Box,
1192
1553
  {
1193
1554
  css: {
@@ -1202,22 +1563,17 @@ var Inline = ({
1202
1563
  children
1203
1564
  );
1204
1565
 
1205
- // src/Input/Input.tsx
1206
- import React31, { forwardRef as forwardRef6 } from "react";
1207
- import { Box as Box16, useComponentStyles as useComponentStyles16 } from "@marigold/system";
1208
- var Input = forwardRef6(
1209
- ({ variant, size, type = "text", ...props }, ref) => {
1210
- const styles = useComponentStyles16("Input", { variant, size });
1211
- return /* @__PURE__ */ React31.createElement(Box16, { ...props, ref, as: "input", type, css: styles });
1212
- }
1213
- );
1566
+ // src/Inset/Inset.tsx
1567
+ import React37 from "react";
1568
+ import { Box as Box21 } from "@marigold/system";
1569
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ React37.createElement(Box21, { css: space ? { p: space } : { px: spaceX, py: spaceY } }, children);
1214
1570
 
1215
1571
  // src/Link/Link.tsx
1216
- import React32, { forwardRef as forwardRef7 } from "react";
1572
+ import React38, { forwardRef as forwardRef8 } from "react";
1217
1573
  import { useLink } from "@react-aria/link";
1218
- import { useComponentStyles as useComponentStyles17 } from "@marigold/system";
1574
+ import { useComponentStyles as useComponentStyles19 } from "@marigold/system";
1219
1575
  import { useObjectRef as useObjectRef6 } from "@react-aria/utils";
1220
- var Link = forwardRef7(
1576
+ var Link = forwardRef8(
1221
1577
  ({
1222
1578
  as = "a",
1223
1579
  variant,
@@ -1237,8 +1593,8 @@ var Link = forwardRef7(
1237
1593
  },
1238
1594
  linkRef
1239
1595
  );
1240
- const styles = useComponentStyles17("Link", { variant, size });
1241
- return /* @__PURE__ */ React32.createElement(
1596
+ const styles = useComponentStyles19("Link", { variant, size });
1597
+ return /* @__PURE__ */ React38.createElement(
1242
1598
  Box,
1243
1599
  {
1244
1600
  as,
@@ -1254,23 +1610,23 @@ var Link = forwardRef7(
1254
1610
  );
1255
1611
 
1256
1612
  // src/List/List.tsx
1257
- import React34 from "react";
1613
+ import React40 from "react";
1258
1614
  import {
1259
- Box as Box18,
1260
- useComponentStyles as useComponentStyles18
1615
+ Box as Box23,
1616
+ useComponentStyles as useComponentStyles20
1261
1617
  } from "@marigold/system";
1262
1618
 
1263
1619
  // src/List/Context.ts
1264
- import { createContext as createContext4, useContext as useContext4 } from "react";
1265
- var ListContext = createContext4({});
1266
- var useListContext = () => useContext4(ListContext);
1620
+ import { createContext as createContext5, useContext as useContext5 } from "react";
1621
+ var ListContext = createContext5({});
1622
+ var useListContext = () => useContext5(ListContext);
1267
1623
 
1268
1624
  // src/List/ListItem.tsx
1269
- import React33 from "react";
1270
- import { Box as Box17 } from "@marigold/system";
1625
+ import React39 from "react";
1626
+ import { Box as Box22 } from "@marigold/system";
1271
1627
  var ListItem = ({ children, ...props }) => {
1272
1628
  const { styles } = useListContext();
1273
- return /* @__PURE__ */ React33.createElement(Box17, { ...props, as: "li", css: styles }, children);
1629
+ return /* @__PURE__ */ React39.createElement(Box22, { ...props, as: "li", css: styles }, children);
1274
1630
  };
1275
1631
 
1276
1632
  // src/List/List.tsx
@@ -1281,35 +1637,35 @@ var List = ({
1281
1637
  size,
1282
1638
  ...props
1283
1639
  }) => {
1284
- const styles = useComponentStyles18(
1640
+ const styles = useComponentStyles20(
1285
1641
  "List",
1286
1642
  { variant, size },
1287
1643
  { parts: ["ul", "ol", "item"] }
1288
1644
  );
1289
- return /* @__PURE__ */ React34.createElement(Box18, { ...props, as, css: styles[as] }, /* @__PURE__ */ React34.createElement(ListContext.Provider, { value: { styles: styles.item } }, children));
1645
+ return /* @__PURE__ */ React40.createElement(Box23, { ...props, as, css: styles[as] }, /* @__PURE__ */ React40.createElement(ListContext.Provider, { value: { styles: styles.item } }, children));
1290
1646
  };
1291
1647
  List.Item = ListItem;
1292
1648
 
1293
1649
  // src/Menu/Menu.tsx
1294
- import React37, { useRef as useRef6 } from "react";
1650
+ import React43, { useRef as useRef10 } from "react";
1295
1651
  import { useMenu } from "@react-aria/menu";
1296
- import { Item } from "@react-stately/collections";
1652
+ import { Item as Item2 } from "@react-stately/collections";
1297
1653
  import { useTreeState } from "@react-stately/tree";
1298
1654
  import {
1299
- Box as Box20,
1300
- useComponentStyles as useComponentStyles19
1655
+ Box as Box25,
1656
+ useComponentStyles as useComponentStyles21
1301
1657
  } from "@marigold/system";
1302
1658
 
1303
1659
  // src/Menu/Context.ts
1304
1660
  import {
1305
- createContext as createContext5,
1306
- useContext as useContext5
1661
+ createContext as createContext6,
1662
+ useContext as useContext6
1307
1663
  } from "react";
1308
- var MenuContext = createContext5({});
1309
- var useMenuContext = () => useContext5(MenuContext);
1664
+ var MenuContext = createContext6({});
1665
+ var useMenuContext = () => useContext6(MenuContext);
1310
1666
 
1311
1667
  // src/Menu/MenuTrigger.tsx
1312
- import React35, { useRef as useRef4 } from "react";
1668
+ import React41, { useRef as useRef8 } from "react";
1313
1669
  import { useMenuTriggerState } from "@react-stately/menu";
1314
1670
  import { PressResponder as PressResponder2 } from "@react-aria/interactions";
1315
1671
  import { useMenuTrigger } from "@react-aria/menu";
@@ -1321,8 +1677,8 @@ var MenuTrigger = ({
1321
1677
  onOpenChange,
1322
1678
  children
1323
1679
  }) => {
1324
- const [menuTrigger, menu] = React35.Children.toArray(children);
1325
- const menuTriggerRef = useRef4(null);
1680
+ const [menuTrigger, menu] = React41.Children.toArray(children);
1681
+ const menuTriggerRef = useRef8(null);
1326
1682
  const menuRef = useObjectRef7();
1327
1683
  const state = useMenuTriggerState({
1328
1684
  isOpen: open,
@@ -1341,7 +1697,7 @@ var MenuTrigger = ({
1341
1697
  autoFocus: state.focusStrategy
1342
1698
  };
1343
1699
  const isSmallScreen = useResponsiveValue([true, false, false], 2);
1344
- return /* @__PURE__ */ React35.createElement(MenuContext.Provider, { value: menuContext }, /* @__PURE__ */ React35.createElement(
1700
+ return /* @__PURE__ */ React41.createElement(MenuContext.Provider, { value: menuContext }, /* @__PURE__ */ React41.createElement(
1345
1701
  PressResponder2,
1346
1702
  {
1347
1703
  ...menuTriggerProps,
@@ -1349,17 +1705,17 @@ var MenuTrigger = ({
1349
1705
  isPressed: state.isOpen
1350
1706
  },
1351
1707
  menuTrigger
1352
- ), isSmallScreen ? /* @__PURE__ */ React35.createElement(Tray, { state }, menu) : /* @__PURE__ */ React35.createElement(Popover, { triggerRef: menuTriggerRef, scrollRef: menuRef, state }, menu));
1708
+ ), isSmallScreen ? /* @__PURE__ */ React41.createElement(Tray, { state }, menu) : /* @__PURE__ */ React41.createElement(Popover, { triggerRef: menuTriggerRef, scrollRef: menuRef, state }, menu));
1353
1709
  };
1354
1710
 
1355
1711
  // src/Menu/MenuItem.tsx
1356
- import React36, { useRef as useRef5 } from "react";
1357
- import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
1712
+ import React42, { useRef as useRef9 } from "react";
1713
+ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
1358
1714
  import { useMenuItem } from "@react-aria/menu";
1359
- import { mergeProps as mergeProps3 } from "@react-aria/utils";
1360
- import { Box as Box19, useStateProps as useStateProps4 } from "@marigold/system";
1715
+ import { mergeProps as mergeProps5 } from "@react-aria/utils";
1716
+ import { Box as Box24, useStateProps as useStateProps7 } from "@marigold/system";
1361
1717
  var MenuItem = ({ item, state, onAction, css }) => {
1362
- const ref = useRef5(null);
1718
+ const ref = useRef9(null);
1363
1719
  const { onClose } = useMenuContext();
1364
1720
  const { menuItemProps } = useMenuItem(
1365
1721
  {
@@ -1370,13 +1726,13 @@ var MenuItem = ({ item, state, onAction, css }) => {
1370
1726
  state,
1371
1727
  ref
1372
1728
  );
1373
- const { isFocusVisible, focusProps } = useFocusRing3();
1374
- const stateProps = useStateProps4({
1729
+ const { isFocusVisible, focusProps } = useFocusRing4();
1730
+ const stateProps = useStateProps7({
1375
1731
  focus: isFocusVisible
1376
1732
  });
1377
1733
  const { onPointerUp, ...props } = menuItemProps;
1378
- return /* @__PURE__ */ React36.createElement(
1379
- Box19,
1734
+ return /* @__PURE__ */ React42.createElement(
1735
+ Box24,
1380
1736
  {
1381
1737
  as: "li",
1382
1738
  ref,
@@ -1386,7 +1742,7 @@ var MenuItem = ({ item, state, onAction, css }) => {
1386
1742
  }
1387
1743
  },
1388
1744
  css,
1389
- ...mergeProps3(props, { onPointerDown: onPointerUp }, focusProps),
1745
+ ...mergeProps5(props, { onPointerDown: onPointerUp }, focusProps),
1390
1746
  ...stateProps
1391
1747
  },
1392
1748
  item.rendered
@@ -1398,17 +1754,17 @@ import { useSyncRef } from "@react-aria/utils";
1398
1754
  var Menu = ({ variant, size, ...props }) => {
1399
1755
  const { ref: scrollRef, ...menuContext } = useMenuContext();
1400
1756
  const ownProps = { ...props, ...menuContext };
1401
- const ref = useRef6(null);
1757
+ const ref = useRef10(null);
1402
1758
  const state = useTreeState({ ...ownProps, selectionMode: "none" });
1403
1759
  const { menuProps } = useMenu(ownProps, state, ref);
1404
1760
  useSyncRef({ ref: scrollRef }, ref);
1405
- const styles = useComponentStyles19(
1761
+ const styles = useComponentStyles21(
1406
1762
  "Menu",
1407
1763
  { variant, size },
1408
1764
  { parts: ["container", "item"] }
1409
1765
  );
1410
- return /* @__PURE__ */ React37.createElement(
1411
- Box20,
1766
+ return /* @__PURE__ */ React43.createElement(
1767
+ Box25,
1412
1768
  {
1413
1769
  as: "ul",
1414
1770
  ref,
@@ -1420,7 +1776,7 @@ var Menu = ({ variant, size, ...props }) => {
1420
1776
  css: styles.container,
1421
1777
  ...menuProps
1422
1778
  },
1423
- [...state.collection].map((item) => /* @__PURE__ */ React37.createElement(
1779
+ [...state.collection].map((item) => /* @__PURE__ */ React43.createElement(
1424
1780
  MenuItem,
1425
1781
  {
1426
1782
  key: item.key,
@@ -1433,18 +1789,18 @@ var Menu = ({ variant, size, ...props }) => {
1433
1789
  );
1434
1790
  };
1435
1791
  Menu.Trigger = MenuTrigger;
1436
- Menu.Item = Item;
1792
+ Menu.Item = Item2;
1437
1793
 
1438
1794
  // src/Menu/ActionMenu.tsx
1439
- import React38 from "react";
1440
- import { SVG as SVG3 } from "@marigold/system";
1795
+ import React44 from "react";
1796
+ import { SVG as SVG4 } from "@marigold/system";
1441
1797
  var ActionMenu = (props) => {
1442
- return /* @__PURE__ */ React38.createElement(Menu.Trigger, null, /* @__PURE__ */ React38.createElement(Button, { variant: "menu", size: "small" }, /* @__PURE__ */ React38.createElement(SVG3, { viewBox: "0 0 24 24" }, /* @__PURE__ */ React38.createElement("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" }))), /* @__PURE__ */ React38.createElement(Menu, { ...props }));
1798
+ return /* @__PURE__ */ React44.createElement(Menu.Trigger, null, /* @__PURE__ */ React44.createElement(Button, { variant: "menu", size: "small" }, /* @__PURE__ */ React44.createElement(SVG4, { viewBox: "0 0 24 24" }, /* @__PURE__ */ React44.createElement("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" }))), /* @__PURE__ */ React44.createElement(Menu, { ...props }));
1443
1799
  };
1444
1800
 
1445
1801
  // src/Message/Message.tsx
1446
- import React39 from "react";
1447
- import { useComponentStyles as useComponentStyles20 } from "@marigold/system";
1802
+ import React45 from "react";
1803
+ import { useComponentStyles as useComponentStyles22 } from "@marigold/system";
1448
1804
  var Message = ({
1449
1805
  messageTitle,
1450
1806
  variant = "info",
@@ -1452,7 +1808,7 @@ var Message = ({
1452
1808
  children,
1453
1809
  ...props
1454
1810
  }) => {
1455
- const styles = useComponentStyles20(
1811
+ const styles = useComponentStyles22(
1456
1812
  "Message",
1457
1813
  {
1458
1814
  variant,
@@ -1460,14 +1816,14 @@ var Message = ({
1460
1816
  },
1461
1817
  { parts: ["container", "icon", "title", "content"] }
1462
1818
  );
1463
- var icon = /* @__PURE__ */ React39.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React39.createElement("path", { d: "M12 2.85938C6.95437 2.85938 2.85938 6.95437 2.85938 12C2.85938 17.0456 6.95437 21.1406 12 21.1406C17.0456 21.1406 21.1406 17.0456 21.1406 12C21.1406 6.95437 17.0456 2.85938 12 2.85938ZM12.7875 15.9374H11.2125V11.2124H12.7875V15.9374ZM12.7875 9.6375H11.2125V8.0625H12.7875V9.6375Z" }));
1819
+ var icon = /* @__PURE__ */ React45.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React45.createElement("path", { d: "M12 2.85938C6.95437 2.85938 2.85938 6.95437 2.85938 12C2.85938 17.0456 6.95437 21.1406 12 21.1406C17.0456 21.1406 21.1406 17.0456 21.1406 12C21.1406 6.95437 17.0456 2.85938 12 2.85938ZM12.7875 15.9374H11.2125V11.2124H12.7875V15.9374ZM12.7875 9.6375H11.2125V8.0625H12.7875V9.6375Z" }));
1464
1820
  if (variant === "warning") {
1465
- icon = /* @__PURE__ */ React39.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React39.createElement("path", { d: "M19.2 3H4.8C3.81 3 3.009 3.81 3.009 4.8L3 21L6.6 17.4H19.2C20.19 17.4 21 16.59 21 15.6V4.8C21 3.81 20.19 3 19.2 3ZM12.9 13.8H11.1V12H12.9V13.8ZM12.9 10.2001H11.1V6.60008H12.9V10.2001Z" }));
1821
+ icon = /* @__PURE__ */ React45.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React45.createElement("path", { d: "M19.2 3H4.8C3.81 3 3.009 3.81 3.009 4.8L3 21L6.6 17.4H19.2C20.19 17.4 21 16.59 21 15.6V4.8C21 3.81 20.19 3 19.2 3ZM12.9 13.8H11.1V12H12.9V13.8ZM12.9 10.2001H11.1V6.60008H12.9V10.2001Z" }));
1466
1822
  }
1467
1823
  if (variant === "error") {
1468
- icon = /* @__PURE__ */ React39.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React39.createElement("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" }));
1824
+ icon = /* @__PURE__ */ React45.createElement("svg", { viewBox: "0 0 24 24" }, /* @__PURE__ */ React45.createElement("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" }));
1469
1825
  }
1470
- return /* @__PURE__ */ React39.createElement(Box, { css: styles.container, ...props }, /* @__PURE__ */ React39.createElement(Box, { __baseCSS: { display: "flex", alignItems: "top", gap: 4 } }, /* @__PURE__ */ React39.createElement(
1826
+ return /* @__PURE__ */ React45.createElement(Box, { css: styles.container, ...props }, /* @__PURE__ */ React45.createElement(Box, { __baseCSS: { display: "flex", alignItems: "top", gap: 4 } }, /* @__PURE__ */ React45.createElement(
1471
1827
  Box,
1472
1828
  {
1473
1829
  role: "presentation",
@@ -1475,38 +1831,38 @@ var Message = ({
1475
1831
  css: styles.icon
1476
1832
  },
1477
1833
  icon
1478
- ), /* @__PURE__ */ React39.createElement(Box, { css: styles.title }, messageTitle)), /* @__PURE__ */ React39.createElement(Box, { css: styles.content }, children));
1834
+ ), /* @__PURE__ */ React45.createElement(Box, { css: styles.title }, messageTitle)), /* @__PURE__ */ React45.createElement(Box, { css: styles.content }, children));
1479
1835
  };
1480
1836
 
1481
1837
  // src/NumberField/NumberField.tsx
1482
- import React41, { forwardRef as forwardRef8 } from "react";
1483
- import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
1484
- import { useHover as useHover4 } from "@react-aria/interactions";
1838
+ import React47, { forwardRef as forwardRef9 } from "react";
1839
+ import { useFocusRing as useFocusRing5 } from "@react-aria/focus";
1840
+ import { useHover as useHover5 } from "@react-aria/interactions";
1485
1841
  import { useLocale } from "@react-aria/i18n";
1486
1842
  import { useNumberField } from "@react-aria/numberfield";
1487
- import { mergeProps as mergeProps5, useObjectRef as useObjectRef8 } from "@react-aria/utils";
1843
+ import { mergeProps as mergeProps7, useObjectRef as useObjectRef8 } from "@react-aria/utils";
1488
1844
  import { useNumberFieldState } from "@react-stately/numberfield";
1489
1845
  import {
1490
- Box as Box22,
1491
- useComponentStyles as useComponentStyles21,
1492
- useStateProps as useStateProps6
1846
+ Box as Box27,
1847
+ useComponentStyles as useComponentStyles23,
1848
+ useStateProps as useStateProps9
1493
1849
  } from "@marigold/system";
1494
1850
 
1495
1851
  // src/NumberField/StepButton.tsx
1496
- import React40, { useRef as useRef7 } from "react";
1497
- import { useButton as useButton3 } from "@react-aria/button";
1498
- import { useHover as useHover3 } from "@react-aria/interactions";
1499
- import { mergeProps as mergeProps4 } from "@react-aria/utils";
1500
- import { Box as Box21, useStateProps as useStateProps5 } from "@marigold/system";
1501
- var Plus = () => /* @__PURE__ */ React40.createElement(
1502
- Box21,
1852
+ import React46, { useRef as useRef11 } from "react";
1853
+ import { useButton as useButton4 } from "@react-aria/button";
1854
+ import { useHover as useHover4 } from "@react-aria/interactions";
1855
+ import { mergeProps as mergeProps6 } from "@react-aria/utils";
1856
+ import { Box as Box26, useStateProps as useStateProps8 } from "@marigold/system";
1857
+ var Plus = () => /* @__PURE__ */ React46.createElement(
1858
+ Box26,
1503
1859
  {
1504
1860
  as: "svg",
1505
1861
  __baseCSS: { width: 16, height: 16 },
1506
1862
  viewBox: "0 0 20 20",
1507
1863
  fill: "currentColor"
1508
1864
  },
1509
- /* @__PURE__ */ React40.createElement(
1865
+ /* @__PURE__ */ React46.createElement(
1510
1866
  "path",
1511
1867
  {
1512
1868
  fillRule: "evenodd",
@@ -1515,15 +1871,15 @@ var Plus = () => /* @__PURE__ */ React40.createElement(
1515
1871
  }
1516
1872
  )
1517
1873
  );
1518
- var Minus = () => /* @__PURE__ */ React40.createElement(
1519
- Box21,
1874
+ var Minus = () => /* @__PURE__ */ React46.createElement(
1875
+ Box26,
1520
1876
  {
1521
1877
  as: "svg",
1522
1878
  __baseCSS: { width: 16, height: 16 },
1523
1879
  viewBox: "0 0 20 20",
1524
1880
  fill: "currentColor"
1525
1881
  },
1526
- /* @__PURE__ */ React40.createElement(
1882
+ /* @__PURE__ */ React46.createElement(
1527
1883
  "path",
1528
1884
  {
1529
1885
  fillRule: "evenodd",
@@ -1533,20 +1889,20 @@ var Minus = () => /* @__PURE__ */ React40.createElement(
1533
1889
  )
1534
1890
  );
1535
1891
  var StepButton = ({ direction, css, ...props }) => {
1536
- const ref = useRef7(null);
1537
- const { buttonProps, isPressed } = useButton3(
1892
+ const ref = useRef11(null);
1893
+ const { buttonProps, isPressed } = useButton4(
1538
1894
  { ...props, elementType: "div" },
1539
1895
  ref
1540
1896
  );
1541
- const { hoverProps, isHovered } = useHover3(props);
1542
- const stateProps = useStateProps5({
1897
+ const { hoverProps, isHovered } = useHover4(props);
1898
+ const stateProps = useStateProps8({
1543
1899
  active: isPressed,
1544
1900
  hover: isHovered,
1545
1901
  disabled: props.isDisabled
1546
1902
  });
1547
1903
  const Icon3 = direction === "up" ? Plus : Minus;
1548
- return /* @__PURE__ */ React40.createElement(
1549
- Box21,
1904
+ return /* @__PURE__ */ React46.createElement(
1905
+ Box26,
1550
1906
  {
1551
1907
  __baseCSS: {
1552
1908
  display: "flex",
@@ -1555,15 +1911,15 @@ var StepButton = ({ direction, css, ...props }) => {
1555
1911
  cursor: props.isDisabled ? "not-allowed" : "pointer"
1556
1912
  },
1557
1913
  css,
1558
- ...mergeProps4(buttonProps, hoverProps),
1914
+ ...mergeProps6(buttonProps, hoverProps),
1559
1915
  ...stateProps
1560
1916
  },
1561
- /* @__PURE__ */ React40.createElement(Icon3, null)
1917
+ /* @__PURE__ */ React46.createElement(Icon3, null)
1562
1918
  );
1563
1919
  };
1564
1920
 
1565
1921
  // src/NumberField/NumberField.tsx
1566
- var NumberField = forwardRef8(
1922
+ var NumberField = forwardRef9(
1567
1923
  ({
1568
1924
  variant,
1569
1925
  size,
@@ -1595,25 +1951,25 @@ var NumberField = forwardRef8(
1595
1951
  incrementButtonProps,
1596
1952
  decrementButtonProps
1597
1953
  } = useNumberField(props, state, inputRef);
1598
- const { hoverProps, isHovered } = useHover4({ isDisabled: disabled });
1599
- const { focusProps, isFocused } = useFocusRing4({
1954
+ const { hoverProps, isHovered } = useHover5({ isDisabled: disabled });
1955
+ const { focusProps, isFocused } = useFocusRing5({
1600
1956
  within: true,
1601
1957
  isTextInput: true,
1602
1958
  autoFocus: props.autoFocus
1603
1959
  });
1604
- const styles = useComponentStyles21(
1960
+ const styles = useComponentStyles23(
1605
1961
  "NumberField",
1606
1962
  { variant, size },
1607
1963
  { parts: ["group", "stepper"] }
1608
1964
  );
1609
- const stateProps = useStateProps6({
1965
+ const stateProps = useStateProps9({
1610
1966
  hover: isHovered,
1611
1967
  focus: isFocused,
1612
1968
  disabled,
1613
1969
  readOnly,
1614
1970
  error
1615
1971
  });
1616
- return /* @__PURE__ */ React41.createElement(
1972
+ return /* @__PURE__ */ React47.createElement(
1617
1973
  FieldBase,
1618
1974
  {
1619
1975
  label: props.label,
@@ -1629,8 +1985,8 @@ var NumberField = forwardRef8(
1629
1985
  size,
1630
1986
  width
1631
1987
  },
1632
- /* @__PURE__ */ React41.createElement(
1633
- Box22,
1988
+ /* @__PURE__ */ React47.createElement(
1989
+ Box27,
1634
1990
  {
1635
1991
  "data-group": true,
1636
1992
  __baseCSS: {
@@ -1643,10 +1999,10 @@ var NumberField = forwardRef8(
1643
1999
  }
1644
2000
  },
1645
2001
  css: styles.group,
1646
- ...mergeProps5(groupProps, focusProps, hoverProps),
2002
+ ...mergeProps7(groupProps, focusProps, hoverProps),
1647
2003
  ...stateProps
1648
2004
  },
1649
- showStepper && /* @__PURE__ */ React41.createElement(
2005
+ showStepper && /* @__PURE__ */ React47.createElement(
1650
2006
  StepButton,
1651
2007
  {
1652
2008
  direction: "down",
@@ -1654,7 +2010,7 @@ var NumberField = forwardRef8(
1654
2010
  ...decrementButtonProps
1655
2011
  }
1656
2012
  ),
1657
- /* @__PURE__ */ React41.createElement(
2013
+ /* @__PURE__ */ React47.createElement(
1658
2014
  Input,
1659
2015
  {
1660
2016
  ref: inputRef,
@@ -1664,7 +2020,7 @@ var NumberField = forwardRef8(
1664
2020
  ...stateProps
1665
2021
  }
1666
2022
  ),
1667
- showStepper && /* @__PURE__ */ React41.createElement(
2023
+ showStepper && /* @__PURE__ */ React47.createElement(
1668
2024
  StepButton,
1669
2025
  {
1670
2026
  direction: "up",
@@ -1682,7 +2038,7 @@ import { useTheme as useTheme2, ThemeProvider as ThemeProvider2 } from "@marigol
1682
2038
  import { SSRProvider } from "@react-aria/ssr";
1683
2039
 
1684
2040
  // src/Provider/MarigoldProvider.tsx
1685
- import React42 from "react";
2041
+ import React48 from "react";
1686
2042
  import { OverlayProvider } from "@react-aria/overlays";
1687
2043
  import {
1688
2044
  Global,
@@ -1705,41 +2061,41 @@ function MarigoldProvider({
1705
2061
  Nested themes with a "root" property must specify a "selector" to prevent accidentally overriding global CSS`
1706
2062
  );
1707
2063
  }
1708
- return /* @__PURE__ */ React42.createElement(ThemeProvider, { theme }, /* @__PURE__ */ React42.createElement(
2064
+ return /* @__PURE__ */ React48.createElement(ThemeProvider, { theme }, /* @__PURE__ */ React48.createElement(
1709
2065
  Global,
1710
2066
  {
1711
2067
  normalizeDocument: isTopLevel && normalizeDocument,
1712
2068
  selector
1713
2069
  }
1714
- ), isTopLevel ? /* @__PURE__ */ React42.createElement(OverlayProvider, null, children) : children);
2070
+ ), isTopLevel ? /* @__PURE__ */ React48.createElement(OverlayProvider, null, children) : children);
1715
2071
  }
1716
2072
 
1717
2073
  // src/Radio/Radio.tsx
1718
- import React44, {
1719
- forwardRef as forwardRef9
2074
+ import React50, {
2075
+ forwardRef as forwardRef10
1720
2076
  } from "react";
1721
- import { useHover as useHover5 } from "@react-aria/interactions";
1722
- import { useFocusRing as useFocusRing5 } from "@react-aria/focus";
2077
+ import { useHover as useHover6 } from "@react-aria/interactions";
2078
+ import { useFocusRing as useFocusRing6 } from "@react-aria/focus";
1723
2079
  import { useRadio } from "@react-aria/radio";
1724
- import { mergeProps as mergeProps6, useObjectRef as useObjectRef9 } from "@react-aria/utils";
2080
+ import { mergeProps as mergeProps8, useObjectRef as useObjectRef9 } from "@react-aria/utils";
1725
2081
  import {
1726
- Box as Box24,
1727
- useComponentStyles as useComponentStyles22,
1728
- useStateProps as useStateProps8
2082
+ Box as Box29,
2083
+ useComponentStyles as useComponentStyles24,
2084
+ useStateProps as useStateProps11
1729
2085
  } from "@marigold/system";
1730
2086
 
1731
2087
  // src/Radio/Context.ts
1732
- import { createContext as createContext6, useContext as useContext6 } from "react";
1733
- var RadioGroupContext = createContext6(
2088
+ import { createContext as createContext7, useContext as useContext7 } from "react";
2089
+ var RadioGroupContext = createContext7(
1734
2090
  null
1735
2091
  );
1736
- var useRadioGroupContext = () => useContext6(RadioGroupContext);
2092
+ var useRadioGroupContext = () => useContext7(RadioGroupContext);
1737
2093
 
1738
2094
  // src/Radio/RadioGroup.tsx
1739
- import React43 from "react";
2095
+ import React49 from "react";
1740
2096
  import { useRadioGroup } from "@react-aria/radio";
1741
2097
  import { useRadioGroupState } from "@react-stately/radio";
1742
- import { Box as Box23, useStateProps as useStateProps7 } from "@marigold/system";
2098
+ import { Box as Box28, useStateProps as useStateProps10 } from "@marigold/system";
1743
2099
  var RadioGroup = ({
1744
2100
  children,
1745
2101
  orientation = "vertical",
@@ -1759,12 +2115,12 @@ var RadioGroup = ({
1759
2115
  };
1760
2116
  const state = useRadioGroupState(props);
1761
2117
  const { radioGroupProps, labelProps, errorMessageProps, descriptionProps } = useRadioGroup(props, state);
1762
- const stateProps = useStateProps7({
2118
+ const stateProps = useStateProps10({
1763
2119
  disabled,
1764
2120
  readOnly,
1765
2121
  error
1766
2122
  });
1767
- return /* @__PURE__ */ React43.createElement(
2123
+ return /* @__PURE__ */ React49.createElement(
1768
2124
  FieldBase,
1769
2125
  {
1770
2126
  width,
@@ -1780,8 +2136,8 @@ var RadioGroup = ({
1780
2136
  required,
1781
2137
  ...radioGroupProps
1782
2138
  },
1783
- /* @__PURE__ */ React43.createElement(
1784
- Box23,
2139
+ /* @__PURE__ */ React49.createElement(
2140
+ Box28,
1785
2141
  {
1786
2142
  role: "presentation",
1787
2143
  "data-orientation": orientation,
@@ -1792,15 +2148,15 @@ var RadioGroup = ({
1792
2148
  gap: orientation === "vertical" ? "0.5ch" : "1.5ch"
1793
2149
  }
1794
2150
  },
1795
- /* @__PURE__ */ React43.createElement(RadioGroupContext.Provider, { value: { width, error, state } }, children)
2151
+ /* @__PURE__ */ React49.createElement(RadioGroupContext.Provider, { value: { width, error, state } }, children)
1796
2152
  )
1797
2153
  );
1798
2154
  };
1799
2155
 
1800
2156
  // src/Radio/Radio.tsx
1801
- var Dot = () => /* @__PURE__ */ React44.createElement("svg", { viewBox: "0 0 6 6" }, /* @__PURE__ */ React44.createElement("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }));
1802
- var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React44.createElement(
1803
- Box24,
2157
+ var Dot = () => /* @__PURE__ */ React50.createElement("svg", { viewBox: "0 0 6 6" }, /* @__PURE__ */ React50.createElement("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }));
2158
+ var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React50.createElement(
2159
+ Box29,
1804
2160
  {
1805
2161
  "aria-hidden": "true",
1806
2162
  __baseCSS: {
@@ -1817,9 +2173,9 @@ var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React44.createElemen
1817
2173
  css,
1818
2174
  ...props
1819
2175
  },
1820
- checked ? /* @__PURE__ */ React44.createElement(Dot, null) : null
2176
+ checked ? /* @__PURE__ */ React50.createElement(Dot, null) : null
1821
2177
  );
1822
- var Radio = forwardRef9(
2178
+ var Radio = forwardRef10(
1823
2179
  ({ width, disabled, ...props }, ref) => {
1824
2180
  const {
1825
2181
  variant,
@@ -1834,14 +2190,14 @@ var Radio = forwardRef9(
1834
2190
  state,
1835
2191
  inputRef
1836
2192
  );
1837
- const styles = useComponentStyles22(
2193
+ const styles = useComponentStyles24(
1838
2194
  "Radio",
1839
2195
  { variant: variant || props.variant, size: size || props.size },
1840
2196
  { parts: ["container", "label", "radio"] }
1841
2197
  );
1842
- const { hoverProps, isHovered } = useHover5({ isDisabled: disabled });
1843
- const { isFocusVisible, focusProps } = useFocusRing5();
1844
- const stateProps = useStateProps8({
2198
+ const { hoverProps, isHovered } = useHover6({ isDisabled: disabled });
2199
+ const { isFocusVisible, focusProps } = useFocusRing6();
2200
+ const stateProps = useStateProps11({
1845
2201
  hover: isHovered,
1846
2202
  focus: isFocusVisible,
1847
2203
  checked: inputProps.checked,
@@ -1849,8 +2205,8 @@ var Radio = forwardRef9(
1849
2205
  readOnly: props.readOnly,
1850
2206
  error
1851
2207
  });
1852
- return /* @__PURE__ */ React44.createElement(
1853
- Box24,
2208
+ return /* @__PURE__ */ React50.createElement(
2209
+ Box29,
1854
2210
  {
1855
2211
  as: "label",
1856
2212
  __baseCSS: {
@@ -1861,10 +2217,10 @@ var Radio = forwardRef9(
1861
2217
  width: width || groupWidth || "100%"
1862
2218
  },
1863
2219
  css: styles.container,
1864
- ...mergeProps6(hoverProps, stateProps)
2220
+ ...mergeProps8(hoverProps, stateProps)
1865
2221
  },
1866
- /* @__PURE__ */ React44.createElement(
1867
- Box24,
2222
+ /* @__PURE__ */ React50.createElement(
2223
+ Box29,
1868
2224
  {
1869
2225
  as: "input",
1870
2226
  ref: inputRef,
@@ -1878,131 +2234,34 @@ var Radio = forwardRef9(
1878
2234
  opacity: 1e-4,
1879
2235
  cursor: inputProps.disabled ? "not-allowed" : "pointer"
1880
2236
  },
1881
- ...mergeProps6(inputProps, focusProps)
2237
+ ...mergeProps8(inputProps, focusProps)
1882
2238
  }
1883
2239
  ),
1884
- /* @__PURE__ */ React44.createElement(Icon2, { checked: inputProps.checked, css: styles.radio, ...stateProps }),
1885
- /* @__PURE__ */ React44.createElement(Box24, { css: styles.label, ...stateProps }, props.children)
2240
+ /* @__PURE__ */ React50.createElement(Icon2, { checked: inputProps.checked, css: styles.radio, ...stateProps }),
2241
+ /* @__PURE__ */ React50.createElement(Box29, { css: styles.label, ...stateProps }, props.children)
1886
2242
  );
1887
2243
  }
1888
2244
  );
1889
2245
  Radio.Group = RadioGroup;
1890
2246
 
1891
2247
  // src/Select/Select.tsx
1892
- import React48, {
2248
+ import React51, {
1893
2249
  forwardRef as forwardRef11,
1894
- useRef as useRef9
2250
+ useRef as useRef12
1895
2251
  } from "react";
1896
- import { useButton as useButton4 } from "@react-aria/button";
1897
- import { useFocusRing as useFocusRing6 } from "@react-aria/focus";
2252
+ import { useButton as useButton5 } from "@react-aria/button";
2253
+ import { useFocusRing as useFocusRing7 } from "@react-aria/focus";
1898
2254
  import { useLocalizedStringFormatter } from "@react-aria/i18n";
1899
2255
  import { HiddenSelect, useSelect } from "@react-aria/select";
1900
2256
  import { useSelectState } from "@react-stately/select";
1901
- import { Item as Item2, Section } from "@react-stately/collections";
1902
- import { mergeProps as mergeProps8, useObjectRef as useObjectRef11 } from "@react-aria/utils";
2257
+ import { Item as Item3, Section } from "@react-stately/collections";
2258
+ import { mergeProps as mergeProps9, useObjectRef as useObjectRef10 } from "@react-aria/utils";
1903
2259
  import {
1904
- Box as Box28,
1905
- useComponentStyles as useComponentStyles24,
2260
+ Box as Box30,
2261
+ useComponentStyles as useComponentStyles25,
1906
2262
  useResponsiveValue as useResponsiveValue2,
1907
- useStateProps as useStateProps10
1908
- } from "@marigold/system";
1909
-
1910
- // src/ListBox/ListBox.tsx
1911
- import React47, { forwardRef as forwardRef10 } from "react";
1912
- import { useObjectRef as useObjectRef10 } from "@react-aria/utils";
1913
- import {
1914
- Box as Box27,
1915
- useComponentStyles as useComponentStyles23
2263
+ useStateProps as useStateProps12
1916
2264
  } from "@marigold/system";
1917
- import { useListBox } from "@react-aria/listbox";
1918
-
1919
- // src/ListBox/Context.ts
1920
- import { createContext as createContext7, useContext as useContext7 } from "react";
1921
- var ListBoxContext = createContext7({});
1922
- var useListBoxContext = () => useContext7(ListBoxContext);
1923
-
1924
- // src/ListBox/ListBoxSection.tsx
1925
- import React46 from "react";
1926
- import { useListBoxSection } from "@react-aria/listbox";
1927
- import { Box as Box26 } from "@marigold/system";
1928
-
1929
- // src/ListBox/ListBoxOption.tsx
1930
- import React45, { useRef as useRef8 } from "react";
1931
- import { useOption } from "@react-aria/listbox";
1932
- import { mergeProps as mergeProps7 } from "@react-aria/utils";
1933
- import { Box as Box25, useStateProps as useStateProps9 } from "@marigold/system";
1934
- var ListBoxOption = ({ item, state }) => {
1935
- const ref = useRef8(null);
1936
- const { optionProps, isSelected, isDisabled, isFocused } = useOption(
1937
- {
1938
- key: item.key
1939
- },
1940
- state,
1941
- ref
1942
- );
1943
- const { onPointerUp, ...props } = optionProps;
1944
- const { styles } = useListBoxContext();
1945
- const stateProps = useStateProps9({
1946
- selected: isSelected,
1947
- disabled: isDisabled,
1948
- focusVisible: isFocused
1949
- });
1950
- return /* @__PURE__ */ React45.createElement(
1951
- Box25,
1952
- {
1953
- as: "li",
1954
- ref,
1955
- css: styles.option,
1956
- ...mergeProps7(props, { onPointerDown: onPointerUp }, { ...stateProps })
1957
- },
1958
- item.rendered
1959
- );
1960
- };
1961
-
1962
- // src/ListBox/ListBoxSection.tsx
1963
- var ListBoxSection = ({ section, state }) => {
1964
- const { itemProps, headingProps, groupProps } = useListBoxSection({
1965
- heading: section.rendered,
1966
- "aria-label": section["aria-label"]
1967
- });
1968
- const { styles } = useListBoxContext();
1969
- return /* @__PURE__ */ React46.createElement(Box26, { as: "li", css: styles.section, ...itemProps }, section.rendered && /* @__PURE__ */ React46.createElement(Box26, { css: styles.sectionTitle, ...headingProps }, section.rendered), /* @__PURE__ */ React46.createElement(
1970
- Box26,
1971
- {
1972
- as: "ul",
1973
- __baseCSS: { listStyle: "none", p: 0 },
1974
- css: styles.list,
1975
- ...groupProps
1976
- },
1977
- [...section.childNodes].map((node) => /* @__PURE__ */ React46.createElement(ListBoxOption, { key: node.key, item: node, state }))
1978
- ));
1979
- };
1980
-
1981
- // src/ListBox/ListBox.tsx
1982
- var ListBox = forwardRef10(
1983
- ({ state, variant, size, ...props }, ref) => {
1984
- const innerRef = useObjectRef10(ref);
1985
- const { listBoxProps } = useListBox(props, state, innerRef);
1986
- const styles = useComponentStyles23(
1987
- "ListBox",
1988
- { variant, size },
1989
- { parts: ["container", "list", "option", "section", "sectionTitle"] }
1990
- );
1991
- return /* @__PURE__ */ React47.createElement(ListBoxContext.Provider, { value: { styles } }, /* @__PURE__ */ React47.createElement(Box27, { css: styles.container }, /* @__PURE__ */ React47.createElement(
1992
- Box27,
1993
- {
1994
- as: "ul",
1995
- ref: innerRef,
1996
- __baseCSS: { listStyle: "none", p: 0 },
1997
- css: styles.list,
1998
- ...listBoxProps
1999
- },
2000
- [...state.collection].map(
2001
- (item) => item.type === "section" ? /* @__PURE__ */ React47.createElement(ListBoxSection, { key: item.key, section: item, state }) : /* @__PURE__ */ React47.createElement(ListBoxOption, { key: item.key, item, state })
2002
- )
2003
- )));
2004
- }
2005
- );
2006
2265
 
2007
2266
  // src/Select/intl.ts
2008
2267
  var messages = {
@@ -2015,8 +2274,8 @@ var messages = {
2015
2274
  };
2016
2275
 
2017
2276
  // src/Select/Select.tsx
2018
- var Chevron = ({ css }) => /* @__PURE__ */ React48.createElement(
2019
- Box28,
2277
+ var Chevron = ({ css }) => /* @__PURE__ */ React51.createElement(
2278
+ Box30,
2020
2279
  {
2021
2280
  as: "svg",
2022
2281
  __baseCSS: { width: 16, height: 16, fill: "none" },
@@ -2025,7 +2284,7 @@ var Chevron = ({ css }) => /* @__PURE__ */ React48.createElement(
2025
2284
  stroke: "currentColor",
2026
2285
  strokeWidth: 2
2027
2286
  },
2028
- /* @__PURE__ */ React48.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
2287
+ /* @__PURE__ */ React51.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
2029
2288
  );
2030
2289
  var Select = forwardRef11(
2031
2290
  ({
@@ -2050,8 +2309,8 @@ var Select = forwardRef11(
2050
2309
  ...rest
2051
2310
  };
2052
2311
  const state = useSelectState(props);
2053
- const buttonRef = useObjectRef11(ref);
2054
- const listboxRef = useRef9(null);
2312
+ const buttonRef = useObjectRef10(ref);
2313
+ const listboxRef = useRef12(null);
2055
2314
  const isSmallScreen = useResponsiveValue2([true, false, false], 2);
2056
2315
  const {
2057
2316
  labelProps,
@@ -2061,23 +2320,23 @@ var Select = forwardRef11(
2061
2320
  descriptionProps,
2062
2321
  errorMessageProps
2063
2322
  } = useSelect(props, state, buttonRef);
2064
- const { buttonProps } = useButton4(
2323
+ const { buttonProps } = useButton5(
2065
2324
  { isDisabled: disabled, ...triggerProps },
2066
2325
  buttonRef
2067
2326
  );
2068
- const { focusProps, isFocusVisible } = useFocusRing6();
2069
- const styles = useComponentStyles24(
2327
+ const { focusProps, isFocusVisible } = useFocusRing7();
2328
+ const styles = useComponentStyles25(
2070
2329
  "Select",
2071
2330
  { variant, size },
2072
2331
  { parts: ["container", "button", "icon"] }
2073
2332
  );
2074
- const stateProps = useStateProps10({
2333
+ const stateProps = useStateProps12({
2075
2334
  disabled,
2076
2335
  error,
2077
2336
  focusVisible: isFocusVisible,
2078
2337
  expanded: state.isOpen
2079
2338
  });
2080
- return /* @__PURE__ */ React48.createElement(
2339
+ return /* @__PURE__ */ React51.createElement(
2081
2340
  FieldBase,
2082
2341
  {
2083
2342
  variant,
@@ -2094,7 +2353,7 @@ var Select = forwardRef11(
2094
2353
  disabled,
2095
2354
  required
2096
2355
  },
2097
- /* @__PURE__ */ React48.createElement(
2356
+ /* @__PURE__ */ React51.createElement(
2098
2357
  HiddenSelect,
2099
2358
  {
2100
2359
  state,
@@ -2104,8 +2363,8 @@ var Select = forwardRef11(
2104
2363
  isDisabled: disabled
2105
2364
  }
2106
2365
  ),
2107
- /* @__PURE__ */ React48.createElement(
2108
- Box28,
2366
+ /* @__PURE__ */ React51.createElement(
2367
+ Box30,
2109
2368
  {
2110
2369
  as: "button",
2111
2370
  __baseCSS: {
@@ -2117,11 +2376,11 @@ var Select = forwardRef11(
2117
2376
  },
2118
2377
  css: styles.button,
2119
2378
  ref: buttonRef,
2120
- ...mergeProps8(buttonProps, focusProps),
2379
+ ...mergeProps9(buttonProps, focusProps),
2121
2380
  ...stateProps
2122
2381
  },
2123
- /* @__PURE__ */ React48.createElement(
2124
- Box28,
2382
+ /* @__PURE__ */ React51.createElement(
2383
+ Box30,
2125
2384
  {
2126
2385
  css: {
2127
2386
  overflow: "hidden",
@@ -2131,9 +2390,9 @@ var Select = forwardRef11(
2131
2390
  },
2132
2391
  state.selectedItem ? state.selectedItem.rendered : props.placeholder
2133
2392
  ),
2134
- /* @__PURE__ */ React48.createElement(Chevron, { css: styles.icon })
2393
+ /* @__PURE__ */ React51.createElement(Chevron, { css: styles.icon })
2135
2394
  ),
2136
- isSmallScreen ? /* @__PURE__ */ React48.createElement(Tray, { state }, /* @__PURE__ */ React48.createElement(
2395
+ isSmallScreen ? /* @__PURE__ */ React51.createElement(Tray, { state }, /* @__PURE__ */ React51.createElement(
2137
2396
  ListBox,
2138
2397
  {
2139
2398
  ref: listboxRef,
@@ -2142,7 +2401,7 @@ var Select = forwardRef11(
2142
2401
  size,
2143
2402
  ...menuProps
2144
2403
  }
2145
- )) : /* @__PURE__ */ React48.createElement(Popover, { state, triggerRef: buttonRef, scrollRef: listboxRef }, /* @__PURE__ */ React48.createElement(
2404
+ )) : /* @__PURE__ */ React51.createElement(Popover, { state, triggerRef: buttonRef, scrollRef: listboxRef }, /* @__PURE__ */ React51.createElement(
2146
2405
  ListBox,
2147
2406
  {
2148
2407
  ref: listboxRef,
@@ -2155,34 +2414,34 @@ var Select = forwardRef11(
2155
2414
  );
2156
2415
  }
2157
2416
  );
2158
- Select.Option = Item2;
2417
+ Select.Option = Item3;
2159
2418
  Select.Section = Section;
2160
2419
 
2161
2420
  // src/Slider/Slider.tsx
2162
- import React50, { forwardRef as forwardRef12 } from "react";
2421
+ import React53, { forwardRef as forwardRef12 } from "react";
2163
2422
  import { useSlider } from "@react-aria/slider";
2164
2423
  import { useSliderState } from "@react-stately/slider";
2165
2424
  import { useNumberFormatter } from "@react-aria/i18n";
2166
- import { useObjectRef as useObjectRef12 } from "@react-aria/utils";
2167
- import { useComponentStyles as useComponentStyles25 } from "@marigold/system";
2425
+ import { useObjectRef as useObjectRef11 } from "@react-aria/utils";
2426
+ import { useComponentStyles as useComponentStyles26 } from "@marigold/system";
2168
2427
 
2169
2428
  // src/Slider/Thumb.tsx
2170
- import React49, { useEffect } from "react";
2429
+ import React52, { useEffect } from "react";
2171
2430
  import { useSliderThumb } from "@react-aria/slider";
2172
- import { mergeProps as mergeProps9 } from "@react-aria/utils";
2173
- import { useStateProps as useStateProps11 } from "@marigold/system";
2431
+ import { mergeProps as mergeProps10 } from "@react-aria/utils";
2432
+ import { useStateProps as useStateProps13 } from "@marigold/system";
2174
2433
 
2175
2434
  // src/VisuallyHidden/VisuallyHidden.tsx
2176
2435
  import { VisuallyHidden } from "@react-aria/visually-hidden";
2177
2436
 
2178
2437
  // src/Slider/Thumb.tsx
2179
- import { useFocusRing as useFocusRing7 } from "@react-aria/focus";
2438
+ import { useFocusRing as useFocusRing8 } from "@react-aria/focus";
2180
2439
  var Thumb = ({ state, trackRef, styles, ...props }) => {
2181
2440
  const { disabled } = props;
2182
- const inputRef = React49.useRef(null);
2183
- const { isFocusVisible, focusProps, isFocused } = useFocusRing7();
2441
+ const inputRef = React52.useRef(null);
2442
+ const { isFocusVisible, focusProps, isFocused } = useFocusRing8();
2184
2443
  const focused = isFocused || isFocusVisible || state.isThumbDragging(0);
2185
- const stateProps = useStateProps11({
2444
+ const stateProps = useStateProps13({
2186
2445
  focus: focused,
2187
2446
  disabled
2188
2447
  });
@@ -2198,7 +2457,7 @@ var Thumb = ({ state, trackRef, styles, ...props }) => {
2198
2457
  useEffect(() => {
2199
2458
  state.setThumbEditable(0, !disabled);
2200
2459
  }, [disabled, state]);
2201
- return /* @__PURE__ */ React49.createElement(
2460
+ return /* @__PURE__ */ React52.createElement(
2202
2461
  Box,
2203
2462
  {
2204
2463
  __baseCSS: { top: "50%" },
@@ -2206,13 +2465,13 @@ var Thumb = ({ state, trackRef, styles, ...props }) => {
2206
2465
  ...thumbProps,
2207
2466
  ...stateProps
2208
2467
  },
2209
- /* @__PURE__ */ React49.createElement(VisuallyHidden, null, /* @__PURE__ */ React49.createElement(
2468
+ /* @__PURE__ */ React52.createElement(VisuallyHidden, null, /* @__PURE__ */ React52.createElement(
2210
2469
  Box,
2211
2470
  {
2212
2471
  as: "input",
2213
2472
  type: "range",
2214
2473
  ref: inputRef,
2215
- ...mergeProps9(inputProps, focusProps)
2474
+ ...mergeProps10(inputProps, focusProps)
2216
2475
  }
2217
2476
  ))
2218
2477
  );
@@ -2222,7 +2481,7 @@ var Thumb = ({ state, trackRef, styles, ...props }) => {
2222
2481
  var Slider = forwardRef12(
2223
2482
  ({ variant, size, width = "100%", ...props }, ref) => {
2224
2483
  const { formatOptions } = props;
2225
- const trackRef = useObjectRef12(ref);
2484
+ const trackRef = useObjectRef11(ref);
2226
2485
  const numberFormatter = useNumberFormatter(formatOptions);
2227
2486
  const state = useSliderState({ ...props, numberFormatter });
2228
2487
  const { groupProps, trackProps, labelProps, outputProps } = useSlider(
@@ -2233,12 +2492,12 @@ var Slider = forwardRef12(
2233
2492
  state,
2234
2493
  trackRef
2235
2494
  );
2236
- const styles = useComponentStyles25(
2495
+ const styles = useComponentStyles26(
2237
2496
  "Slider",
2238
2497
  { variant, size },
2239
2498
  { parts: ["track", "thumb", "label", "output"] }
2240
2499
  );
2241
- return /* @__PURE__ */ React50.createElement(
2500
+ return /* @__PURE__ */ React53.createElement(
2242
2501
  Box,
2243
2502
  {
2244
2503
  __baseCSS: {
@@ -2249,7 +2508,7 @@ var Slider = forwardRef12(
2249
2508
  },
2250
2509
  ...groupProps
2251
2510
  },
2252
- /* @__PURE__ */ React50.createElement(Box, { __baseCSS: { display: "flex", alignSelf: "stretch" } }, props.children && /* @__PURE__ */ React50.createElement(Box, { as: "label", __baseCSS: styles.label, ...labelProps }, props.children), /* @__PURE__ */ React50.createElement(
2511
+ /* @__PURE__ */ React53.createElement(Box, { __baseCSS: { display: "flex", alignSelf: "stretch" } }, props.children && /* @__PURE__ */ React53.createElement(Box, { as: "label", __baseCSS: styles.label, ...labelProps }, props.children), /* @__PURE__ */ React53.createElement(
2253
2512
  Box,
2254
2513
  {
2255
2514
  as: "output",
@@ -2259,7 +2518,7 @@ var Slider = forwardRef12(
2259
2518
  },
2260
2519
  state.getThumbValueLabel(0)
2261
2520
  )),
2262
- /* @__PURE__ */ React50.createElement(
2521
+ /* @__PURE__ */ React53.createElement(
2263
2522
  Box,
2264
2523
  {
2265
2524
  ...trackProps,
@@ -2270,7 +2529,7 @@ var Slider = forwardRef12(
2270
2529
  cursor: props.disabled ? "not-allowed" : "pointer"
2271
2530
  }
2272
2531
  },
2273
- /* @__PURE__ */ React50.createElement(
2532
+ /* @__PURE__ */ React53.createElement(
2274
2533
  Box,
2275
2534
  {
2276
2535
  __baseCSS: {
@@ -2280,7 +2539,7 @@ var Slider = forwardRef12(
2280
2539
  css: styles.track
2281
2540
  }
2282
2541
  ),
2283
- /* @__PURE__ */ React50.createElement(
2542
+ /* @__PURE__ */ React53.createElement(
2284
2543
  Thumb,
2285
2544
  {
2286
2545
  state,
@@ -2295,12 +2554,13 @@ var Slider = forwardRef12(
2295
2554
  );
2296
2555
 
2297
2556
  // src/Split/Split.tsx
2298
- import React51 from "react";
2299
- import { Box as Box29 } from "@marigold/system";
2300
- var Split = (props) => /* @__PURE__ */ React51.createElement(Box29, { ...props, role: "separator", css: { flexGrow: 1 } });
2557
+ import React54 from "react";
2558
+ import { Box as Box31 } from "@marigold/system";
2559
+ var Split = (props) => /* @__PURE__ */ React54.createElement(Box31, { ...props, role: "separator", css: { flexGrow: 1 } });
2301
2560
 
2302
2561
  // src/Stack/Stack.tsx
2303
- import React52 from "react";
2562
+ import React55 from "react";
2563
+ import { Box as Box32 } from "@marigold/system";
2304
2564
  var ALIGNMENT_X2 = {
2305
2565
  none: "initial",
2306
2566
  left: "flex-start",
@@ -2320,8 +2580,8 @@ var Stack = ({
2320
2580
  alignY = "none",
2321
2581
  stretch = false,
2322
2582
  ...props
2323
- }) => /* @__PURE__ */ React52.createElement(
2324
- Box,
2583
+ }) => /* @__PURE__ */ React55.createElement(
2584
+ Box32,
2325
2585
  {
2326
2586
  css: {
2327
2587
  display: "flex",
@@ -2338,14 +2598,14 @@ var Stack = ({
2338
2598
  );
2339
2599
 
2340
2600
  // src/Switch/Switch.tsx
2341
- import React53, { forwardRef as forwardRef13 } from "react";
2342
- import { useFocusRing as useFocusRing8 } from "@react-aria/focus";
2601
+ import React56, { forwardRef as forwardRef13 } from "react";
2602
+ import { useFocusRing as useFocusRing9 } from "@react-aria/focus";
2343
2603
  import { useSwitch } from "@react-aria/switch";
2344
- import { useObjectRef as useObjectRef13 } from "@react-aria/utils";
2604
+ import { useObjectRef as useObjectRef12 } from "@react-aria/utils";
2345
2605
  import { useToggleState as useToggleState2 } from "@react-stately/toggle";
2346
2606
  import {
2347
- useComponentStyles as useComponentStyles26,
2348
- useStateProps as useStateProps12
2607
+ useComponentStyles as useComponentStyles27,
2608
+ useStateProps as useStateProps14
2349
2609
  } from "@marigold/system";
2350
2610
  var Switch = forwardRef13(
2351
2611
  ({
@@ -2358,7 +2618,7 @@ var Switch = forwardRef13(
2358
2618
  defaultChecked,
2359
2619
  ...rest
2360
2620
  }, ref) => {
2361
- const inputRef = useObjectRef13(ref);
2621
+ const inputRef = useObjectRef12(ref);
2362
2622
  const props = {
2363
2623
  isSelected: checked,
2364
2624
  isDisabled: disabled,
@@ -2368,19 +2628,19 @@ var Switch = forwardRef13(
2368
2628
  };
2369
2629
  const state = useToggleState2(props);
2370
2630
  const { inputProps } = useSwitch(props, state, inputRef);
2371
- const { isFocusVisible, focusProps } = useFocusRing8();
2372
- const stateProps = useStateProps12({
2631
+ const { isFocusVisible, focusProps } = useFocusRing9();
2632
+ const stateProps = useStateProps14({
2373
2633
  checked: state.isSelected,
2374
2634
  disabled,
2375
2635
  readOnly,
2376
2636
  focus: isFocusVisible
2377
2637
  });
2378
- const styles = useComponentStyles26(
2638
+ const styles = useComponentStyles27(
2379
2639
  "Switch",
2380
2640
  { variant, size },
2381
2641
  { parts: ["container", "label", "track", "thumb"] }
2382
2642
  );
2383
- return /* @__PURE__ */ React53.createElement(
2643
+ return /* @__PURE__ */ React56.createElement(
2384
2644
  Box,
2385
2645
  {
2386
2646
  as: "label",
@@ -2394,7 +2654,7 @@ var Switch = forwardRef13(
2394
2654
  },
2395
2655
  css: styles.container
2396
2656
  },
2397
- /* @__PURE__ */ React53.createElement(
2657
+ /* @__PURE__ */ React56.createElement(
2398
2658
  Box,
2399
2659
  {
2400
2660
  as: "input",
@@ -2413,8 +2673,8 @@ var Switch = forwardRef13(
2413
2673
  ...focusProps
2414
2674
  }
2415
2675
  ),
2416
- props.children && /* @__PURE__ */ React53.createElement(Box, { css: styles.label }, props.children),
2417
- /* @__PURE__ */ React53.createElement(
2676
+ props.children && /* @__PURE__ */ React56.createElement(Box, { css: styles.label }, props.children),
2677
+ /* @__PURE__ */ React56.createElement(
2418
2678
  Box,
2419
2679
  {
2420
2680
  __baseCSS: {
@@ -2428,7 +2688,7 @@ var Switch = forwardRef13(
2428
2688
  css: styles.track,
2429
2689
  ...stateProps
2430
2690
  },
2431
- /* @__PURE__ */ React53.createElement(
2691
+ /* @__PURE__ */ React56.createElement(
2432
2692
  Box,
2433
2693
  {
2434
2694
  __baseCSS: {
@@ -2457,7 +2717,7 @@ var Switch = forwardRef13(
2457
2717
  );
2458
2718
 
2459
2719
  // src/Table/Table.tsx
2460
- import React62, { useRef as useRef16 } from "react";
2720
+ import React65, { useRef as useRef19 } from "react";
2461
2721
  import { useTable } from "@react-aria/table";
2462
2722
  import {
2463
2723
  Cell,
@@ -2468,8 +2728,8 @@ import {
2468
2728
  useTableState
2469
2729
  } from "@react-stately/table";
2470
2730
  import {
2471
- Box as Box35,
2472
- useComponentStyles as useComponentStyles28
2731
+ Box as Box38,
2732
+ useComponentStyles as useComponentStyles29
2473
2733
  } from "@marigold/system";
2474
2734
 
2475
2735
  // src/Table/Context.tsx
@@ -2478,21 +2738,21 @@ var TableContext = createContext8({});
2478
2738
  var useTableContext = () => useContext8(TableContext);
2479
2739
 
2480
2740
  // src/Table/TableBody.tsx
2481
- import React54 from "react";
2741
+ import React57 from "react";
2482
2742
  import { useTableRowGroup } from "@react-aria/table";
2483
2743
  var TableBody = ({ children }) => {
2484
2744
  const { rowGroupProps } = useTableRowGroup();
2485
- return /* @__PURE__ */ React54.createElement("tbody", { ...rowGroupProps }, children);
2745
+ return /* @__PURE__ */ React57.createElement("tbody", { ...rowGroupProps }, children);
2486
2746
  };
2487
2747
 
2488
2748
  // src/Table/TableCell.tsx
2489
- import React55, { useRef as useRef10 } from "react";
2749
+ import React58, { useRef as useRef13 } from "react";
2490
2750
  import { useTableCell } from "@react-aria/table";
2491
- import { useFocusRing as useFocusRing9 } from "@react-aria/focus";
2492
- import { mergeProps as mergeProps10 } from "@react-aria/utils";
2493
- import { Box as Box30, useStateProps as useStateProps13 } from "@marigold/system";
2751
+ import { useFocusRing as useFocusRing10 } from "@react-aria/focus";
2752
+ import { mergeProps as mergeProps11 } from "@react-aria/utils";
2753
+ import { Box as Box33, useStateProps as useStateProps15 } from "@marigold/system";
2494
2754
  var TableCell = ({ cell }) => {
2495
- const ref = useRef10(null);
2755
+ const ref = useRef13(null);
2496
2756
  const { interactive, state, styles } = useTableContext();
2497
2757
  const disabled = state.disabledKeys.has(cell.parentKey);
2498
2758
  const { gridCellProps } = useTableCell(
@@ -2511,15 +2771,15 @@ var TableCell = ({ cell }) => {
2511
2771
  onMouseDown: (e) => e.stopPropagation(),
2512
2772
  onPointerDown: (e) => e.stopPropagation()
2513
2773
  };
2514
- const { focusProps, isFocusVisible } = useFocusRing9();
2515
- const stateProps = useStateProps13({ disabled, focusVisible: isFocusVisible });
2516
- return /* @__PURE__ */ React55.createElement(
2517
- Box30,
2774
+ const { focusProps, isFocusVisible } = useFocusRing10();
2775
+ const stateProps = useStateProps15({ disabled, focusVisible: isFocusVisible });
2776
+ return /* @__PURE__ */ React58.createElement(
2777
+ Box33,
2518
2778
  {
2519
2779
  as: "td",
2520
2780
  ref,
2521
2781
  css: styles.cell,
2522
- ...mergeProps10(cellProps, focusProps),
2782
+ ...mergeProps11(cellProps, focusProps),
2523
2783
  ...stateProps
2524
2784
  },
2525
2785
  cell.rendered
@@ -2527,11 +2787,11 @@ var TableCell = ({ cell }) => {
2527
2787
  };
2528
2788
 
2529
2789
  // src/Table/TableCheckboxCell.tsx
2530
- import React56, { useRef as useRef11 } from "react";
2790
+ import React59, { useRef as useRef14 } from "react";
2531
2791
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
2532
- import { useFocusRing as useFocusRing10 } from "@react-aria/focus";
2533
- import { mergeProps as mergeProps11 } from "@react-aria/utils";
2534
- import { Box as Box31, useStateProps as useStateProps14 } from "@marigold/system";
2792
+ import { useFocusRing as useFocusRing11 } from "@react-aria/focus";
2793
+ import { mergeProps as mergeProps12 } from "@react-aria/utils";
2794
+ import { Box as Box34, useStateProps as useStateProps16 } from "@marigold/system";
2535
2795
 
2536
2796
  // src/Table/utils.ts
2537
2797
  var mapCheckboxProps = ({
@@ -2555,7 +2815,7 @@ var mapCheckboxProps = ({
2555
2815
 
2556
2816
  // src/Table/TableCheckboxCell.tsx
2557
2817
  var TableCheckboxCell = ({ cell }) => {
2558
- const ref = useRef11(null);
2818
+ const ref = useRef14(null);
2559
2819
  const { state, styles } = useTableContext();
2560
2820
  const disabled = state.disabledKeys.has(cell.parentKey);
2561
2821
  const { gridCellProps } = useTableCell2(
@@ -2568,10 +2828,10 @@ var TableCheckboxCell = ({ cell }) => {
2568
2828
  const { checkboxProps } = mapCheckboxProps(
2569
2829
  useTableSelectionCheckbox({ key: cell.parentKey }, state)
2570
2830
  );
2571
- const { focusProps, isFocusVisible } = useFocusRing10();
2572
- const stateProps = useStateProps14({ disabled, focusVisible: isFocusVisible });
2573
- return /* @__PURE__ */ React56.createElement(
2574
- Box31,
2831
+ const { focusProps, isFocusVisible } = useFocusRing11();
2832
+ const stateProps = useStateProps16({ disabled, focusVisible: isFocusVisible });
2833
+ return /* @__PURE__ */ React59.createElement(
2834
+ Box34,
2575
2835
  {
2576
2836
  as: "td",
2577
2837
  ref,
@@ -2581,25 +2841,25 @@ var TableCheckboxCell = ({ cell }) => {
2581
2841
  lineHeight: 1
2582
2842
  },
2583
2843
  css: styles.cell,
2584
- ...mergeProps11(gridCellProps, focusProps),
2844
+ ...mergeProps12(gridCellProps, focusProps),
2585
2845
  ...stateProps
2586
2846
  },
2587
- /* @__PURE__ */ React56.createElement(Checkbox, { ...checkboxProps })
2847
+ /* @__PURE__ */ React59.createElement(Checkbox, { ...checkboxProps })
2588
2848
  );
2589
2849
  };
2590
2850
 
2591
2851
  // src/Table/TableColumnHeader.tsx
2592
- import React57, { useRef as useRef12 } from "react";
2593
- import { useFocusRing as useFocusRing11 } from "@react-aria/focus";
2594
- import { useHover as useHover6 } from "@react-aria/interactions";
2852
+ import React60, { useRef as useRef15 } from "react";
2853
+ import { useFocusRing as useFocusRing12 } from "@react-aria/focus";
2854
+ import { useHover as useHover7 } from "@react-aria/interactions";
2595
2855
  import { useTableColumnHeader } from "@react-aria/table";
2596
- import { mergeProps as mergeProps12 } from "@react-aria/utils";
2597
- import { Box as Box32, useStateProps as useStateProps15 } from "@marigold/system";
2856
+ import { mergeProps as mergeProps13 } from "@react-aria/utils";
2857
+ import { Box as Box35, useStateProps as useStateProps17 } from "@marigold/system";
2598
2858
  var SortIndicator = ({
2599
2859
  direction = "ascending",
2600
2860
  visible
2601
- }) => /* @__PURE__ */ React57.createElement(
2602
- Box32,
2861
+ }) => /* @__PURE__ */ React60.createElement(
2862
+ Box35,
2603
2863
  {
2604
2864
  as: "span",
2605
2865
  role: "presentation",
@@ -2614,7 +2874,7 @@ var SortIndicator = ({
2614
2874
  );
2615
2875
  var TableColumnHeader = ({ column }) => {
2616
2876
  var _a, _b;
2617
- const ref = useRef12(null);
2877
+ const ref = useRef15(null);
2618
2878
  const { state, styles } = useTableContext();
2619
2879
  const { columnHeaderProps } = useTableColumnHeader(
2620
2880
  {
@@ -2623,25 +2883,25 @@ var TableColumnHeader = ({ column }) => {
2623
2883
  state,
2624
2884
  ref
2625
2885
  );
2626
- const { hoverProps, isHovered } = useHover6({});
2627
- const { focusProps, isFocusVisible } = useFocusRing11();
2628
- const stateProps = useStateProps15({
2886
+ const { hoverProps, isHovered } = useHover7({});
2887
+ const { focusProps, isFocusVisible } = useFocusRing12();
2888
+ const stateProps = useStateProps17({
2629
2889
  hover: isHovered,
2630
2890
  focusVisible: isFocusVisible
2631
2891
  });
2632
- return /* @__PURE__ */ React57.createElement(
2633
- Box32,
2892
+ return /* @__PURE__ */ React60.createElement(
2893
+ Box35,
2634
2894
  {
2635
2895
  as: "th",
2636
2896
  colSpan: column.colspan,
2637
2897
  ref,
2638
2898
  __baseCSS: { cursor: "default" },
2639
2899
  css: styles.header,
2640
- ...mergeProps12(columnHeaderProps, hoverProps, focusProps),
2900
+ ...mergeProps13(columnHeaderProps, hoverProps, focusProps),
2641
2901
  ...stateProps
2642
2902
  },
2643
2903
  column.rendered,
2644
- column.props.allowsSorting && /* @__PURE__ */ React57.createElement(
2904
+ column.props.allowsSorting && /* @__PURE__ */ React60.createElement(
2645
2905
  SortIndicator,
2646
2906
  {
2647
2907
  direction: (_a = state.sortDescriptor) == null ? void 0 : _a.direction,
@@ -2652,35 +2912,35 @@ var TableColumnHeader = ({ column }) => {
2652
2912
  };
2653
2913
 
2654
2914
  // src/Table/TableHeader.tsx
2655
- import React58 from "react";
2915
+ import React61 from "react";
2656
2916
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
2657
2917
  var TableHeader = ({ children }) => {
2658
2918
  const { rowGroupProps } = useTableRowGroup2();
2659
- return /* @__PURE__ */ React58.createElement("thead", { ...rowGroupProps }, children);
2919
+ return /* @__PURE__ */ React61.createElement("thead", { ...rowGroupProps }, children);
2660
2920
  };
2661
2921
 
2662
2922
  // src/Table/TableHeaderRow.tsx
2663
- import React59, { useRef as useRef13 } from "react";
2923
+ import React62, { useRef as useRef16 } from "react";
2664
2924
  import { useTableHeaderRow } from "@react-aria/table";
2665
2925
  var TableHeaderRow = ({ item, children }) => {
2666
2926
  const { state } = useTableContext();
2667
- const ref = useRef13(null);
2927
+ const ref = useRef16(null);
2668
2928
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
2669
- return /* @__PURE__ */ React59.createElement("tr", { ...rowProps, ref }, children);
2929
+ return /* @__PURE__ */ React62.createElement("tr", { ...rowProps, ref }, children);
2670
2930
  };
2671
2931
 
2672
2932
  // src/Table/TableRow.tsx
2673
- import React60, { useRef as useRef14 } from "react";
2674
- import { useFocusRing as useFocusRing12 } from "@react-aria/focus";
2675
- import { useHover as useHover7 } from "@react-aria/interactions";
2933
+ import React63, { useRef as useRef17 } from "react";
2934
+ import { useFocusRing as useFocusRing13 } from "@react-aria/focus";
2935
+ import { useHover as useHover8 } from "@react-aria/interactions";
2676
2936
  import { useTableRow } from "@react-aria/table";
2677
- import { mergeProps as mergeProps13 } from "@react-aria/utils";
2678
- import { Box as Box33, useComponentStyles as useComponentStyles27, useStateProps as useStateProps16 } from "@marigold/system";
2937
+ import { mergeProps as mergeProps14 } from "@react-aria/utils";
2938
+ import { Box as Box36, useComponentStyles as useComponentStyles28, useStateProps as useStateProps18 } from "@marigold/system";
2679
2939
  var TableRow = ({ children, row }) => {
2680
- const ref = useRef14(null);
2940
+ const ref = useRef17(null);
2681
2941
  const { interactive, state, ...ctx } = useTableContext();
2682
2942
  const { variant, size } = row.props;
2683
- const { row: styles } = useComponentStyles27(
2943
+ const { row: styles } = useComponentStyles28(
2684
2944
  "Table",
2685
2945
  { variant: variant || ctx.variant, size: size || ctx.size },
2686
2946
  { parts: ["row"] }
@@ -2694,19 +2954,19 @@ var TableRow = ({ children, row }) => {
2694
2954
  );
2695
2955
  const disabled = state.disabledKeys.has(row.key);
2696
2956
  const selected = state.selectionManager.isSelected(row.key);
2697
- const { focusProps, isFocusVisible } = useFocusRing12({ within: true });
2698
- const { hoverProps, isHovered } = useHover7({
2957
+ const { focusProps, isFocusVisible } = useFocusRing13({ within: true });
2958
+ const { hoverProps, isHovered } = useHover8({
2699
2959
  isDisabled: disabled || !interactive
2700
2960
  });
2701
- const stateProps = useStateProps16({
2961
+ const stateProps = useStateProps18({
2702
2962
  disabled,
2703
2963
  selected,
2704
2964
  hover: isHovered,
2705
2965
  focusVisible: isFocusVisible,
2706
2966
  active: isPressed
2707
2967
  });
2708
- return /* @__PURE__ */ React60.createElement(
2709
- Box33,
2968
+ return /* @__PURE__ */ React63.createElement(
2969
+ Box36,
2710
2970
  {
2711
2971
  as: "tr",
2712
2972
  ref,
@@ -2714,7 +2974,7 @@ var TableRow = ({ children, row }) => {
2714
2974
  cursor: !interactive ? "text" : disabled ? "default" : "pointer"
2715
2975
  },
2716
2976
  css: styles,
2717
- ...mergeProps13(rowProps, focusProps, hoverProps),
2977
+ ...mergeProps14(rowProps, focusProps, hoverProps),
2718
2978
  ...stateProps
2719
2979
  },
2720
2980
  children
@@ -2722,17 +2982,17 @@ var TableRow = ({ children, row }) => {
2722
2982
  };
2723
2983
 
2724
2984
  // src/Table/TableSelectAllCell.tsx
2725
- import React61, { useRef as useRef15 } from "react";
2726
- import { useFocusRing as useFocusRing13 } from "@react-aria/focus";
2727
- import { useHover as useHover8 } from "@react-aria/interactions";
2985
+ import React64, { useRef as useRef18 } from "react";
2986
+ import { useFocusRing as useFocusRing14 } from "@react-aria/focus";
2987
+ import { useHover as useHover9 } from "@react-aria/interactions";
2728
2988
  import {
2729
2989
  useTableColumnHeader as useTableColumnHeader2,
2730
2990
  useTableSelectAllCheckbox
2731
2991
  } from "@react-aria/table";
2732
- import { mergeProps as mergeProps14 } from "@react-aria/utils";
2733
- import { Box as Box34, useStateProps as useStateProps17 } from "@marigold/system";
2992
+ import { mergeProps as mergeProps15 } from "@react-aria/utils";
2993
+ import { Box as Box37, useStateProps as useStateProps19 } from "@marigold/system";
2734
2994
  var TableSelectAllCell = ({ column }) => {
2735
- const ref = useRef15(null);
2995
+ const ref = useRef18(null);
2736
2996
  const { state, styles } = useTableContext();
2737
2997
  const { columnHeaderProps } = useTableColumnHeader2(
2738
2998
  {
@@ -2742,14 +3002,14 @@ var TableSelectAllCell = ({ column }) => {
2742
3002
  ref
2743
3003
  );
2744
3004
  const { checkboxProps } = mapCheckboxProps(useTableSelectAllCheckbox(state));
2745
- const { hoverProps, isHovered } = useHover8({});
2746
- const { focusProps, isFocusVisible } = useFocusRing13();
2747
- const stateProps = useStateProps17({
3005
+ const { hoverProps, isHovered } = useHover9({});
3006
+ const { focusProps, isFocusVisible } = useFocusRing14();
3007
+ const stateProps = useStateProps19({
2748
3008
  hover: isHovered,
2749
3009
  focusVisible: isFocusVisible
2750
3010
  });
2751
- return /* @__PURE__ */ React61.createElement(
2752
- Box34,
3011
+ return /* @__PURE__ */ React64.createElement(
3012
+ Box37,
2753
3013
  {
2754
3014
  as: "th",
2755
3015
  ref,
@@ -2759,10 +3019,10 @@ var TableSelectAllCell = ({ column }) => {
2759
3019
  lineHeight: 1
2760
3020
  },
2761
3021
  css: styles.header,
2762
- ...mergeProps14(columnHeaderProps, hoverProps, focusProps),
3022
+ ...mergeProps15(columnHeaderProps, hoverProps, focusProps),
2763
3023
  ...stateProps
2764
3024
  },
2765
- /* @__PURE__ */ React61.createElement(Checkbox, { ...checkboxProps })
3025
+ /* @__PURE__ */ React64.createElement(Checkbox, { ...checkboxProps })
2766
3026
  );
2767
3027
  };
2768
3028
 
@@ -2775,7 +3035,7 @@ var Table = ({
2775
3035
  ...props
2776
3036
  }) => {
2777
3037
  const interactive = selectionMode !== "none";
2778
- const tableRef = useRef16(null);
3038
+ const tableRef = useRef19(null);
2779
3039
  const state = useTableState({
2780
3040
  ...props,
2781
3041
  selectionMode,
@@ -2783,14 +3043,14 @@ var Table = ({
2783
3043
  props.selectionBehavior !== "replace"
2784
3044
  });
2785
3045
  const { gridProps } = useTable(props, state, tableRef);
2786
- const styles = useComponentStyles28(
3046
+ const styles = useComponentStyles29(
2787
3047
  "Table",
2788
3048
  { variant, size },
2789
3049
  { parts: ["table", "header", "row", "cell"] }
2790
3050
  );
2791
3051
  const { collection } = state;
2792
- return /* @__PURE__ */ React62.createElement(TableContext.Provider, { value: { state, interactive, styles } }, /* @__PURE__ */ React62.createElement(
2793
- Box35,
3052
+ return /* @__PURE__ */ React65.createElement(TableContext.Provider, { value: { state, interactive, styles } }, /* @__PURE__ */ React65.createElement(
3053
+ Box38,
2794
3054
  {
2795
3055
  as: "table",
2796
3056
  ref: tableRef,
@@ -2804,16 +3064,16 @@ var Table = ({
2804
3064
  css: styles.table,
2805
3065
  ...gridProps
2806
3066
  },
2807
- /* @__PURE__ */ React62.createElement(TableHeader, null, collection.headerRows.map((headerRow) => /* @__PURE__ */ React62.createElement(TableHeaderRow, { key: headerRow.key, item: headerRow }, [...headerRow.childNodes].map(
3067
+ /* @__PURE__ */ React65.createElement(TableHeader, null, collection.headerRows.map((headerRow) => /* @__PURE__ */ React65.createElement(TableHeaderRow, { key: headerRow.key, item: headerRow }, [...headerRow.childNodes].map(
2808
3068
  (column) => {
2809
3069
  var _a;
2810
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React62.createElement(TableSelectAllCell, { key: column.key, column }) : /* @__PURE__ */ React62.createElement(TableColumnHeader, { key: column.key, column });
3070
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React65.createElement(TableSelectAllCell, { key: column.key, column }) : /* @__PURE__ */ React65.createElement(TableColumnHeader, { key: column.key, column });
2811
3071
  }
2812
3072
  )))),
2813
- /* @__PURE__ */ React62.createElement(TableBody, null, [...collection.body.childNodes].map((row) => /* @__PURE__ */ React62.createElement(TableRow, { key: row.key, row }, [...row.childNodes].map(
3073
+ /* @__PURE__ */ React65.createElement(TableBody, null, [...collection.body.childNodes].map((row) => /* @__PURE__ */ React65.createElement(TableRow, { key: row.key, row }, [...row.childNodes].map(
2814
3074
  (cell) => {
2815
3075
  var _a;
2816
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React62.createElement(TableCheckboxCell, { key: cell.key, cell }) : /* @__PURE__ */ React62.createElement(TableCell, { key: cell.key, cell });
3076
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React65.createElement(TableCheckboxCell, { key: cell.key, cell }) : /* @__PURE__ */ React65.createElement(TableCell, { key: cell.key, cell });
2817
3077
  }
2818
3078
  ))))
2819
3079
  ));
@@ -2825,11 +3085,11 @@ Table.Header = Header2;
2825
3085
  Table.Row = Row;
2826
3086
 
2827
3087
  // src/Text/Text.tsx
2828
- import React63 from "react";
3088
+ import React66 from "react";
2829
3089
  import {
2830
- useComponentStyles as useComponentStyles29
3090
+ useComponentStyles as useComponentStyles30
2831
3091
  } from "@marigold/system";
2832
- import { Box as Box36 } from "@marigold/system";
3092
+ import { Box as Box39 } from "@marigold/system";
2833
3093
  var Text = ({
2834
3094
  variant,
2835
3095
  size,
@@ -2843,12 +3103,12 @@ var Text = ({
2843
3103
  children,
2844
3104
  ...props
2845
3105
  }) => {
2846
- const styles = useComponentStyles29("Text", {
3106
+ const styles = useComponentStyles30("Text", {
2847
3107
  variant,
2848
3108
  size
2849
3109
  });
2850
- return /* @__PURE__ */ React63.createElement(
2851
- Box36,
3110
+ return /* @__PURE__ */ React66.createElement(
3111
+ Box39,
2852
3112
  {
2853
3113
  as: "p",
2854
3114
  ...props,
@@ -2870,15 +3130,15 @@ var Text = ({
2870
3130
  };
2871
3131
 
2872
3132
  // src/TextArea/TextArea.tsx
2873
- import React64, { forwardRef as forwardRef14 } from "react";
2874
- import { useHover as useHover9 } from "@react-aria/interactions";
2875
- import { useFocusRing as useFocusRing14 } from "@react-aria/focus";
3133
+ import React67, { forwardRef as forwardRef14 } from "react";
3134
+ import { useHover as useHover10 } from "@react-aria/interactions";
3135
+ import { useFocusRing as useFocusRing15 } from "@react-aria/focus";
2876
3136
  import { useTextField } from "@react-aria/textfield";
2877
- import { useObjectRef as useObjectRef14 } from "@react-aria/utils";
3137
+ import { useObjectRef as useObjectRef13 } from "@react-aria/utils";
2878
3138
  import {
2879
- Box as Box37,
2880
- useComponentStyles as useComponentStyles30,
2881
- useStateProps as useStateProps18
3139
+ Box as Box40,
3140
+ useComponentStyles as useComponentStyles31,
3141
+ useStateProps as useStateProps20
2882
3142
  } from "@marigold/system";
2883
3143
  var TextArea = forwardRef14(
2884
3144
  ({
@@ -2893,7 +3153,7 @@ var TextArea = forwardRef14(
2893
3153
  ...props
2894
3154
  }, ref) => {
2895
3155
  const { label, description, errorMessage } = props;
2896
- const textAreaRef = useObjectRef14(ref);
3156
+ const textAreaRef = useObjectRef13(ref);
2897
3157
  const { labelProps, inputProps, descriptionProps, errorMessageProps } = useTextField(
2898
3158
  {
2899
3159
  inputElementType: "textarea",
@@ -2905,17 +3165,17 @@ var TextArea = forwardRef14(
2905
3165
  },
2906
3166
  textAreaRef
2907
3167
  );
2908
- const { hoverProps, isHovered } = useHover9({});
2909
- const { focusProps, isFocusVisible } = useFocusRing14();
2910
- const stateProps = useStateProps18({
3168
+ const { hoverProps, isHovered } = useHover10({});
3169
+ const { focusProps, isFocusVisible } = useFocusRing15();
3170
+ const stateProps = useStateProps20({
2911
3171
  hover: isHovered,
2912
3172
  focus: isFocusVisible,
2913
3173
  disabled,
2914
3174
  readOnly,
2915
3175
  error
2916
3176
  });
2917
- const styles = useComponentStyles30("TextArea", { variant, size });
2918
- return /* @__PURE__ */ React64.createElement(
3177
+ const styles = useComponentStyles31("TextArea", { variant, size });
3178
+ return /* @__PURE__ */ React67.createElement(
2919
3179
  FieldBase,
2920
3180
  {
2921
3181
  label,
@@ -2931,8 +3191,8 @@ var TextArea = forwardRef14(
2931
3191
  size,
2932
3192
  width
2933
3193
  },
2934
- /* @__PURE__ */ React64.createElement(
2935
- Box37,
3194
+ /* @__PURE__ */ React67.createElement(
3195
+ Box40,
2936
3196
  {
2937
3197
  as: "textarea",
2938
3198
  css: styles,
@@ -2949,16 +3209,16 @@ var TextArea = forwardRef14(
2949
3209
  );
2950
3210
 
2951
3211
  // src/TextField/TextField.tsx
2952
- import React65, { forwardRef as forwardRef15 } from "react";
2953
- import { useHover as useHover10 } from "@react-aria/interactions";
2954
- import { useFocusRing as useFocusRing15 } from "@react-aria/focus";
3212
+ import React68, { forwardRef as forwardRef15 } from "react";
3213
+ import { useHover as useHover11 } from "@react-aria/interactions";
3214
+ import { useFocusRing as useFocusRing16 } from "@react-aria/focus";
2955
3215
  import { useTextField as useTextField2 } from "@react-aria/textfield";
2956
- import { useObjectRef as useObjectRef15 } from "@react-aria/utils";
2957
- import { useStateProps as useStateProps19 } from "@marigold/system";
3216
+ import { useObjectRef as useObjectRef14 } from "@react-aria/utils";
3217
+ import { useStateProps as useStateProps21 } from "@marigold/system";
2958
3218
  var TextField = forwardRef15(
2959
3219
  ({ variant, size, width, disabled, required, readOnly, error, ...props }, ref) => {
2960
3220
  const { label, description, errorMessage, autoFocus } = props;
2961
- const inputRef = useObjectRef15(ref);
3221
+ const inputRef = useObjectRef14(ref);
2962
3222
  const { labelProps, inputProps, descriptionProps, errorMessageProps } = useTextField2(
2963
3223
  {
2964
3224
  isDisabled: disabled,
@@ -2969,19 +3229,19 @@ var TextField = forwardRef15(
2969
3229
  },
2970
3230
  inputRef
2971
3231
  );
2972
- const { hoverProps, isHovered } = useHover10({});
2973
- const { focusProps, isFocusVisible } = useFocusRing15({
3232
+ const { hoverProps, isHovered } = useHover11({});
3233
+ const { focusProps, isFocused } = useFocusRing16({
2974
3234
  isTextInput: true,
2975
3235
  autoFocus
2976
3236
  });
2977
- const stateProps = useStateProps19({
3237
+ const stateProps = useStateProps21({
2978
3238
  hover: isHovered,
2979
- focus: isFocusVisible,
3239
+ focus: isFocused,
2980
3240
  disabled,
2981
3241
  readOnly,
2982
3242
  error
2983
3243
  });
2984
- return /* @__PURE__ */ React65.createElement(
3244
+ return /* @__PURE__ */ React68.createElement(
2985
3245
  FieldBase,
2986
3246
  {
2987
3247
  label,
@@ -2997,7 +3257,7 @@ var TextField = forwardRef15(
2997
3257
  size,
2998
3258
  width
2999
3259
  },
3000
- /* @__PURE__ */ React65.createElement(
3260
+ /* @__PURE__ */ React68.createElement(
3001
3261
  Input,
3002
3262
  {
3003
3263
  ref: inputRef,
@@ -3014,7 +3274,7 @@ var TextField = forwardRef15(
3014
3274
  );
3015
3275
 
3016
3276
  // src/Tiles/Tiles.tsx
3017
- import React66 from "react";
3277
+ import React69 from "react";
3018
3278
  import { useTheme as useTheme3 } from "@marigold/system";
3019
3279
  var Tiles = ({
3020
3280
  space = "none",
@@ -3030,7 +3290,7 @@ var Tiles = ({
3030
3290
  if (stretch) {
3031
3291
  column = `minmax(${column}, 1fr)`;
3032
3292
  }
3033
- return /* @__PURE__ */ React66.createElement(
3293
+ return /* @__PURE__ */ React69.createElement(
3034
3294
  Box,
3035
3295
  {
3036
3296
  ...props,
@@ -3050,11 +3310,11 @@ var Tiles = ({
3050
3310
  };
3051
3311
 
3052
3312
  // src/Tooltip/Tooltip.tsx
3053
- import React68 from "react";
3313
+ import React71 from "react";
3054
3314
  import { useTooltip } from "@react-aria/tooltip";
3055
3315
  import {
3056
- Box as Box38,
3057
- useComponentStyles as useComponentStyles31
3316
+ Box as Box41,
3317
+ useComponentStyles as useComponentStyles32
3058
3318
  } from "@marigold/system";
3059
3319
 
3060
3320
  // src/Tooltip/Context.ts
@@ -3063,7 +3323,7 @@ var TooltipContext = createContext9({});
3063
3323
  var useTooltipContext = () => useContext9(TooltipContext);
3064
3324
 
3065
3325
  // src/Tooltip/TooltipTrigger.tsx
3066
- import React67, { useRef as useRef17 } from "react";
3326
+ import React70, { useRef as useRef20 } from "react";
3067
3327
  import { FocusableProvider } from "@react-aria/focus";
3068
3328
  import { useOverlayPosition } from "@react-aria/overlays";
3069
3329
  import { useTooltipTrigger } from "@react-aria/tooltip";
@@ -3076,7 +3336,7 @@ var TooltipTrigger = ({
3076
3336
  children,
3077
3337
  ...rest
3078
3338
  }) => {
3079
- const [tooltipTrigger, tooltip] = React67.Children.toArray(children);
3339
+ const [tooltipTrigger, tooltip] = React70.Children.toArray(children);
3080
3340
  const props = {
3081
3341
  ...rest,
3082
3342
  isDisabled: disabled,
@@ -3084,8 +3344,8 @@ var TooltipTrigger = ({
3084
3344
  delay,
3085
3345
  placement
3086
3346
  };
3087
- const tooltipTriggerRef = useRef17(null);
3088
- const overlayRef = useRef17(null);
3347
+ const tooltipTriggerRef = useRef20(null);
3348
+ const overlayRef = useRef20(null);
3089
3349
  const state = useTooltipTriggerState(props);
3090
3350
  const { triggerProps, tooltipProps } = useTooltipTrigger(
3091
3351
  props,
@@ -3104,7 +3364,7 @@ var TooltipTrigger = ({
3104
3364
  isOpen: state.isOpen,
3105
3365
  overlayRef
3106
3366
  });
3107
- return /* @__PURE__ */ React67.createElement(FocusableProvider, { ref: tooltipTriggerRef, ...triggerProps }, tooltipTrigger, /* @__PURE__ */ React67.createElement(
3367
+ return /* @__PURE__ */ React70.createElement(FocusableProvider, { ref: tooltipTriggerRef, ...triggerProps }, tooltipTrigger, /* @__PURE__ */ React70.createElement(
3108
3368
  TooltipContext.Provider,
3109
3369
  {
3110
3370
  value: {
@@ -3116,7 +3376,7 @@ var TooltipTrigger = ({
3116
3376
  ...positionProps
3117
3377
  }
3118
3378
  },
3119
- /* @__PURE__ */ React67.createElement(Overlay, { open: state.isOpen }, tooltip)
3379
+ /* @__PURE__ */ React70.createElement(Overlay, { open: state.isOpen }, tooltip)
3120
3380
  ));
3121
3381
  };
3122
3382
 
@@ -3124,13 +3384,13 @@ var TooltipTrigger = ({
3124
3384
  var Tooltip = ({ children, variant, size }) => {
3125
3385
  const { arrowProps, state, overlayRef, placement, ...rest } = useTooltipContext();
3126
3386
  const { tooltipProps } = useTooltip({}, state);
3127
- const styles = useComponentStyles31(
3387
+ const styles = useComponentStyles32(
3128
3388
  "Tooltip",
3129
3389
  { variant, size },
3130
3390
  { parts: ["container", "arrow"] }
3131
3391
  );
3132
- return /* @__PURE__ */ React68.createElement(
3133
- Box38,
3392
+ return /* @__PURE__ */ React71.createElement(
3393
+ Box41,
3134
3394
  {
3135
3395
  ...tooltipProps,
3136
3396
  ...rest,
@@ -3138,9 +3398,9 @@ var Tooltip = ({ children, variant, size }) => {
3138
3398
  css: styles.container,
3139
3399
  "data-placement": placement
3140
3400
  },
3141
- /* @__PURE__ */ React68.createElement("div", null, children),
3142
- /* @__PURE__ */ React68.createElement(
3143
- Box38,
3401
+ /* @__PURE__ */ React71.createElement("div", null, children),
3402
+ /* @__PURE__ */ React71.createElement(
3403
+ Box41,
3144
3404
  {
3145
3405
  ...arrowProps,
3146
3406
  __baseCSS: {
@@ -3160,10 +3420,10 @@ var Tooltip = ({ children, variant, size }) => {
3160
3420
  Tooltip.Trigger = TooltipTrigger;
3161
3421
 
3162
3422
  // src/XLoader/XLoader.tsx
3163
- import { SVG as SVG4 } from "@marigold/system";
3164
- import React69, { forwardRef as forwardRef16 } from "react";
3165
- var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement(
3166
- SVG4,
3423
+ import { SVG as SVG5 } from "@marigold/system";
3424
+ import React72, { forwardRef as forwardRef16 } from "react";
3425
+ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React72.createElement(
3426
+ SVG5,
3167
3427
  {
3168
3428
  id: "XLoader",
3169
3429
  xmlns: "http://www.w3.org/2000/svg",
@@ -3172,14 +3432,14 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3172
3432
  ...props,
3173
3433
  ...ref
3174
3434
  },
3175
- /* @__PURE__ */ React69.createElement("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3176
- /* @__PURE__ */ React69.createElement(
3435
+ /* @__PURE__ */ React72.createElement("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3436
+ /* @__PURE__ */ React72.createElement(
3177
3437
  "path",
3178
3438
  {
3179
3439
  id: "XMLID_5_",
3180
3440
  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"
3181
3441
  },
3182
- /* @__PURE__ */ React69.createElement(
3442
+ /* @__PURE__ */ React72.createElement(
3183
3443
  "animate",
3184
3444
  {
3185
3445
  attributeName: "opacity",
@@ -3191,13 +3451,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3191
3451
  }
3192
3452
  )
3193
3453
  ),
3194
- /* @__PURE__ */ React69.createElement(
3454
+ /* @__PURE__ */ React72.createElement(
3195
3455
  "path",
3196
3456
  {
3197
3457
  id: "XMLID_18_",
3198
3458
  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"
3199
3459
  },
3200
- /* @__PURE__ */ React69.createElement(
3460
+ /* @__PURE__ */ React72.createElement(
3201
3461
  "animate",
3202
3462
  {
3203
3463
  attributeName: "opacity",
@@ -3209,13 +3469,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3209
3469
  }
3210
3470
  )
3211
3471
  ),
3212
- /* @__PURE__ */ React69.createElement(
3472
+ /* @__PURE__ */ React72.createElement(
3213
3473
  "path",
3214
3474
  {
3215
3475
  id: "XMLID_19_",
3216
3476
  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"
3217
3477
  },
3218
- /* @__PURE__ */ React69.createElement(
3478
+ /* @__PURE__ */ React72.createElement(
3219
3479
  "animate",
3220
3480
  {
3221
3481
  attributeName: "opacity",
@@ -3227,13 +3487,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3227
3487
  }
3228
3488
  )
3229
3489
  ),
3230
- /* @__PURE__ */ React69.createElement(
3490
+ /* @__PURE__ */ React72.createElement(
3231
3491
  "path",
3232
3492
  {
3233
3493
  id: "XMLID_20_",
3234
3494
  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"
3235
3495
  },
3236
- /* @__PURE__ */ React69.createElement(
3496
+ /* @__PURE__ */ React72.createElement(
3237
3497
  "animate",
3238
3498
  {
3239
3499
  attributeName: "opacity",
@@ -3245,13 +3505,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3245
3505
  }
3246
3506
  )
3247
3507
  ),
3248
- /* @__PURE__ */ React69.createElement(
3508
+ /* @__PURE__ */ React72.createElement(
3249
3509
  "path",
3250
3510
  {
3251
3511
  id: "XMLID_21_",
3252
3512
  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"
3253
3513
  },
3254
- /* @__PURE__ */ React69.createElement(
3514
+ /* @__PURE__ */ React72.createElement(
3255
3515
  "animate",
3256
3516
  {
3257
3517
  attributeName: "opacity",
@@ -3263,13 +3523,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3263
3523
  }
3264
3524
  )
3265
3525
  ),
3266
- /* @__PURE__ */ React69.createElement(
3526
+ /* @__PURE__ */ React72.createElement(
3267
3527
  "path",
3268
3528
  {
3269
3529
  id: "XMLID_22_",
3270
3530
  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"
3271
3531
  },
3272
- /* @__PURE__ */ React69.createElement(
3532
+ /* @__PURE__ */ React72.createElement(
3273
3533
  "animate",
3274
3534
  {
3275
3535
  attributeName: "opacity",
@@ -3281,13 +3541,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3281
3541
  }
3282
3542
  )
3283
3543
  ),
3284
- /* @__PURE__ */ React69.createElement(
3544
+ /* @__PURE__ */ React72.createElement(
3285
3545
  "path",
3286
3546
  {
3287
3547
  id: "XMLID_23_",
3288
3548
  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"
3289
3549
  },
3290
- /* @__PURE__ */ React69.createElement(
3550
+ /* @__PURE__ */ React72.createElement(
3291
3551
  "animate",
3292
3552
  {
3293
3553
  attributeName: "opacity",
@@ -3299,13 +3559,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3299
3559
  }
3300
3560
  )
3301
3561
  ),
3302
- /* @__PURE__ */ React69.createElement(
3562
+ /* @__PURE__ */ React72.createElement(
3303
3563
  "path",
3304
3564
  {
3305
3565
  id: "XMLID_24_",
3306
3566
  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"
3307
3567
  },
3308
- /* @__PURE__ */ React69.createElement(
3568
+ /* @__PURE__ */ React72.createElement(
3309
3569
  "animate",
3310
3570
  {
3311
3571
  attributeName: "opacity",
@@ -3317,13 +3577,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3317
3577
  }
3318
3578
  )
3319
3579
  ),
3320
- /* @__PURE__ */ React69.createElement(
3580
+ /* @__PURE__ */ React72.createElement(
3321
3581
  "path",
3322
3582
  {
3323
3583
  id: "XMLID_25_",
3324
3584
  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"
3325
3585
  },
3326
- /* @__PURE__ */ React69.createElement(
3586
+ /* @__PURE__ */ React72.createElement(
3327
3587
  "animate",
3328
3588
  {
3329
3589
  attributeName: "opacity",
@@ -3335,13 +3595,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3335
3595
  }
3336
3596
  )
3337
3597
  ),
3338
- /* @__PURE__ */ React69.createElement(
3598
+ /* @__PURE__ */ React72.createElement(
3339
3599
  "path",
3340
3600
  {
3341
3601
  id: "XMLID_26_",
3342
3602
  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"
3343
3603
  },
3344
- /* @__PURE__ */ React69.createElement(
3604
+ /* @__PURE__ */ React72.createElement(
3345
3605
  "animate",
3346
3606
  {
3347
3607
  attributeName: "opacity",
@@ -3353,13 +3613,13 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement
3353
3613
  }
3354
3614
  )
3355
3615
  ),
3356
- /* @__PURE__ */ React69.createElement(
3616
+ /* @__PURE__ */ React72.createElement(
3357
3617
  "path",
3358
3618
  {
3359
3619
  id: "XMLID_27_",
3360
3620
  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"
3361
3621
  },
3362
- /* @__PURE__ */ React69.createElement(
3622
+ /* @__PURE__ */ React72.createElement(
3363
3623
  "animate",
3364
3624
  {
3365
3625
  attributeName: "opacity",
@@ -3376,6 +3636,7 @@ export {
3376
3636
  ActionMenu,
3377
3637
  Aside,
3378
3638
  Aspect,
3639
+ Autocomplete,
3379
3640
  Badge,
3380
3641
  Body,
3381
3642
  Box,
@@ -3399,6 +3660,7 @@ export {
3399
3660
  Image,
3400
3661
  Inline,
3401
3662
  Input,
3663
+ Inset,
3402
3664
  Label,
3403
3665
  Link,
3404
3666
  List,