@marigold/components 12.0.3 → 12.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2123,57 +2123,204 @@ var Container = ({
2123
2123
  }
2124
2124
  );
2125
2125
 
2126
+ // src/ContextualHelp/ContextualHelp.tsx
2127
+ import {
2128
+ forwardRef as forwardRef15
2129
+ } from "react";
2130
+ import {
2131
+ Button as Button5,
2132
+ Dialog,
2133
+ Popover as Popover2,
2134
+ DialogTrigger as RACDialogTrigger
2135
+ } from "react-aria-components";
2136
+ import { useClassNames as useClassNames22 } from "@marigold/system";
2137
+
2138
+ // src/ContextualHelp/ContextualHelpContent.tsx
2139
+ import { useClassNames as useClassNames20 } from "@marigold/system";
2140
+ import { jsx as jsx39 } from "react/jsx-runtime";
2141
+ var ContextualHelpContent = ({
2142
+ children,
2143
+ variant,
2144
+ size: size2
2145
+ }) => {
2146
+ const classNames3 = useClassNames20({
2147
+ component: "ContextualHelp",
2148
+ variant,
2149
+ size: size2
2150
+ });
2151
+ return /* @__PURE__ */ jsx39("div", { className: classNames3.content, children });
2152
+ };
2153
+
2154
+ // src/ContextualHelp/ContextualHelpTitle.tsx
2155
+ import { Heading as Heading2 } from "react-aria-components";
2156
+ import { useClassNames as useClassNames21 } from "@marigold/system";
2157
+ import { jsx as jsx40 } from "react/jsx-runtime";
2158
+ var ContextualHelpTitle = ({
2159
+ children,
2160
+ variant,
2161
+ size: size2
2162
+ }) => {
2163
+ const classNames3 = useClassNames21({
2164
+ component: "ContextualHelp",
2165
+ variant,
2166
+ size: size2
2167
+ });
2168
+ return /* @__PURE__ */ jsx40(Heading2, { className: classNames3.title, children });
2169
+ };
2170
+
2171
+ // src/ContextualHelp/ContextualHelp.tsx
2172
+ import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
2173
+ var icons = {
2174
+ help: () => /* @__PURE__ */ jsxs16(
2175
+ "svg",
2176
+ {
2177
+ xmlns: "http://www.w3.org/2000/svg",
2178
+ width: "24",
2179
+ height: "24",
2180
+ viewBox: "0 0 24 24",
2181
+ fill: "none",
2182
+ stroke: "currentColor",
2183
+ strokeWidth: "2",
2184
+ strokeLinecap: "round",
2185
+ strokeLinejoin: "round",
2186
+ className: "lucide lucide-circle-help-icon lucide-circle-help h-5",
2187
+ children: [
2188
+ /* @__PURE__ */ jsx41("circle", { cx: "12", cy: "12", r: "10" }),
2189
+ /* @__PURE__ */ jsx41("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2190
+ /* @__PURE__ */ jsx41("path", { d: "M12 17h.01" })
2191
+ ]
2192
+ }
2193
+ ),
2194
+ info: () => /* @__PURE__ */ jsxs16(
2195
+ "svg",
2196
+ {
2197
+ xmlns: "http://www.w3.org/2000/svg",
2198
+ width: "24",
2199
+ height: "24",
2200
+ viewBox: "0 0 24 24",
2201
+ fill: "none",
2202
+ stroke: "currentColor",
2203
+ strokeWidth: "2",
2204
+ strokeLinecap: "round",
2205
+ strokeLinejoin: "round",
2206
+ className: "lucide lucide-info-icon lucide-info h-5",
2207
+ children: [
2208
+ /* @__PURE__ */ jsx41("circle", { cx: "12", cy: "12", r: "10" }),
2209
+ /* @__PURE__ */ jsx41("path", { d: "M12 16v-4" }),
2210
+ /* @__PURE__ */ jsx41("path", { d: "M12 8h.01" })
2211
+ ]
2212
+ }
2213
+ )
2214
+ };
2215
+ var DialogTrigger = forwardRef15(
2216
+ ({ open, ...rest }, ref) => /* @__PURE__ */ jsx41(RACDialogTrigger, { isOpen: open, ...rest })
2217
+ );
2218
+ var _ContextualHelp = forwardRef15(
2219
+ ({
2220
+ children,
2221
+ variant = "help",
2222
+ size: size2,
2223
+ width,
2224
+ placement = "bottom start",
2225
+ offset: offset2 = 8,
2226
+ defaultOpen,
2227
+ open,
2228
+ onOpenChange
2229
+ }, ref) => {
2230
+ var _a;
2231
+ const icon = (_a = icons[variant]) == null ? void 0 : _a.call(icons);
2232
+ const classNames3 = useClassNames22({
2233
+ component: "ContextualHelp",
2234
+ variant,
2235
+ size: size2
2236
+ });
2237
+ return /* @__PURE__ */ jsxs16(
2238
+ DialogTrigger,
2239
+ {
2240
+ defaultOpen,
2241
+ open,
2242
+ onOpenChange,
2243
+ children: [
2244
+ /* @__PURE__ */ jsx41(
2245
+ Button5,
2246
+ {
2247
+ ref,
2248
+ className: classNames3.trigger,
2249
+ "aria-label": variant === "info" ? "Information" : "Hilfe",
2250
+ children: icon
2251
+ }
2252
+ ),
2253
+ /* @__PURE__ */ jsx41(
2254
+ Popover2,
2255
+ {
2256
+ placement,
2257
+ offset: offset2,
2258
+ className: classNames3.popover,
2259
+ ...{
2260
+ [`data-${width != null ? width : "medium"}`]: true
2261
+ },
2262
+ children: /* @__PURE__ */ jsx41(Dialog, { className: (classNames3.dialog, "prose"), children })
2263
+ }
2264
+ )
2265
+ ]
2266
+ }
2267
+ );
2268
+ }
2269
+ );
2270
+ _ContextualHelp.Title = ContextualHelpTitle;
2271
+ _ContextualHelp.Content = ContextualHelpContent;
2272
+
2126
2273
  // src/Dialog/Dialog.tsx
2127
2274
  import {
2128
- forwardRef as forwardRef18,
2275
+ forwardRef as forwardRef19,
2129
2276
  useContext as useContext9
2130
2277
  } from "react";
2131
- import { Dialog, OverlayTriggerStateContext as OverlayTriggerStateContext2 } from "react-aria-components";
2132
- import { cn as cn26, useClassNames as useClassNames25 } from "@marigold/system";
2278
+ import { Dialog as Dialog2, OverlayTriggerStateContext as OverlayTriggerStateContext2 } from "react-aria-components";
2279
+ import { cn as cn26, useClassNames as useClassNames28 } from "@marigold/system";
2133
2280
 
2134
2281
  // src/CloseButton/CloseButton.tsx
2135
- import { forwardRef as forwardRef15 } from "react";
2136
- import { Button as Button5 } from "react-aria-components";
2137
- import { useClassNames as useClassNames20 } from "@marigold/system";
2138
- import { jsx as jsx39 } from "react/jsx-runtime";
2139
- var CloseButton = forwardRef15(
2282
+ import { forwardRef as forwardRef16 } from "react";
2283
+ import { Button as Button6 } from "react-aria-components";
2284
+ import { useClassNames as useClassNames23 } from "@marigold/system";
2285
+ import { jsx as jsx42 } from "react/jsx-runtime";
2286
+ var CloseButton = forwardRef16(
2140
2287
  ({ className, size: size2, variant, ...props }, ref) => {
2141
- const classNames3 = useClassNames20({
2288
+ const classNames3 = useClassNames23({
2142
2289
  component: "CloseButton",
2143
2290
  className,
2144
2291
  size: size2,
2145
2292
  variant
2146
2293
  });
2147
- return /* @__PURE__ */ jsx39(Button5, { ref, className: classNames3, ...props, children: /* @__PURE__ */ jsx39("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx39("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2294
+ return /* @__PURE__ */ jsx42(Button6, { ref, className: classNames3, ...props, children: /* @__PURE__ */ jsx42("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx42("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2148
2295
  }
2149
2296
  );
2150
2297
 
2151
2298
  // src/Overlay/Modal.tsx
2152
- import { forwardRef as forwardRef16 } from "react";
2299
+ import { forwardRef as forwardRef17 } from "react";
2153
2300
  import { Modal } from "react-aria-components";
2154
- import { useClassNames as useClassNames21 } from "@marigold/system";
2155
- import { jsx as jsx40 } from "react/jsx-runtime";
2156
- var _Modal = forwardRef16(({ size: size2, open, dismissable, keyboardDismissable, ...rest }, ref) => {
2301
+ import { useClassNames as useClassNames24 } from "@marigold/system";
2302
+ import { jsx as jsx43 } from "react/jsx-runtime";
2303
+ var _Modal = forwardRef17(({ size: size2, open, dismissable, keyboardDismissable, ...rest }, ref) => {
2157
2304
  const props = {
2158
2305
  isOpen: open,
2159
2306
  isDismissable: dismissable,
2160
2307
  isKeyboardDismissDisabled: keyboardDismissable,
2161
2308
  ...rest
2162
2309
  };
2163
- const className = useClassNames21({ component: "Modal", size: size2 });
2164
- return /* @__PURE__ */ jsx40(
2310
+ const className = useClassNames24({ component: "Modal", size: size2 });
2311
+ return /* @__PURE__ */ jsx43(
2165
2312
  Underlay,
2166
2313
  {
2167
2314
  dismissable,
2168
2315
  keyboardDismissable,
2169
2316
  open,
2170
- children: /* @__PURE__ */ jsx40(Modal, { ...props, className, ref, children: props.children })
2317
+ children: /* @__PURE__ */ jsx43(Modal, { ...props, className, ref, children: props.children })
2171
2318
  }
2172
2319
  );
2173
2320
  });
2174
2321
 
2175
2322
  // src/Overlay/NonModal.tsx
2176
- import { forwardRef as forwardRef17, useContext as useContext8 } from "react";
2323
+ import { forwardRef as forwardRef18, useContext as useContext8 } from "react";
2177
2324
  import {
2178
2325
  OverlayTriggerStateContext,
2179
2326
  Provider
@@ -2262,7 +2409,7 @@ var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
2262
2409
  };
2263
2410
 
2264
2411
  // src/Overlay/NonModal.tsx
2265
- import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
2412
+ import { jsx as jsx44, jsxs as jsxs17 } from "react/jsx-runtime";
2266
2413
  var NonModalInner = ({ state, isExiting, ...props }) => {
2267
2414
  const { nonModalProps } = useNonModal(props, state);
2268
2415
  const ref = props.nonModalRef;
@@ -2282,7 +2429,7 @@ var NonModalInner = ({ state, isExiting, ...props }) => {
2282
2429
  ...renderProps.style,
2283
2430
  "--visual-viewport-height": viewport.height + "px"
2284
2431
  };
2285
- const overlay = /* @__PURE__ */ jsxs16(
2432
+ const overlay = /* @__PURE__ */ jsxs17(
2286
2433
  "div",
2287
2434
  {
2288
2435
  ...mergeProps(filterDOMProps(props), nonModalProps),
@@ -2297,21 +2444,21 @@ var NonModalInner = ({ state, isExiting, ...props }) => {
2297
2444
  "data-exiting": isExiting || void 0,
2298
2445
  children: [
2299
2446
  renderProps.children,
2300
- /* @__PURE__ */ jsx41(DismissButton, { onDismiss: state.close })
2447
+ /* @__PURE__ */ jsx44(DismissButton, { onDismiss: state.close })
2301
2448
  ]
2302
2449
  }
2303
2450
  );
2304
- return /* @__PURE__ */ jsx41(
2451
+ return /* @__PURE__ */ jsx44(
2305
2452
  Overlay,
2306
2453
  {
2307
2454
  isExiting,
2308
2455
  portalContainer,
2309
2456
  disableFocusManagement: true,
2310
- children: /* @__PURE__ */ jsx41(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx41(Provider, { values: [[OverlayTriggerStateContext, state]], children: overlay }) })
2457
+ children: /* @__PURE__ */ jsx44(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx44(Provider, { values: [[OverlayTriggerStateContext, state]], children: overlay }) })
2311
2458
  }
2312
2459
  );
2313
2460
  };
2314
- var NonModal = forwardRef17(
2461
+ var NonModal = forwardRef18(
2315
2462
  ({ open, ...rest }, ref) => {
2316
2463
  const props = {
2317
2464
  isOpen: open,
@@ -2326,7 +2473,7 @@ var NonModal = forwardRef17(
2326
2473
  if (state && !state.isOpen && !isExiting || isSSR) {
2327
2474
  return null;
2328
2475
  }
2329
- return /* @__PURE__ */ jsx41(
2476
+ return /* @__PURE__ */ jsx44(
2330
2477
  NonModalInner,
2331
2478
  {
2332
2479
  ...props,
@@ -2339,43 +2486,43 @@ var NonModal = forwardRef17(
2339
2486
  );
2340
2487
 
2341
2488
  // src/Dialog/DialogActions.tsx
2342
- import { cn as cn23, useClassNames as useClassNames22 } from "@marigold/system";
2343
- import { jsx as jsx42 } from "react/jsx-runtime";
2489
+ import { cn as cn23, useClassNames as useClassNames25 } from "@marigold/system";
2490
+ import { jsx as jsx45 } from "react/jsx-runtime";
2344
2491
  var DialogActions = ({ variant, size: size2, children }) => {
2345
- const classNames3 = useClassNames22({ component: "Dialog", variant, size: size2 });
2346
- return /* @__PURE__ */ jsx42("div", { className: cn23("[grid-area:actions]", classNames3.actions), children });
2492
+ const classNames3 = useClassNames25({ component: "Dialog", variant, size: size2 });
2493
+ return /* @__PURE__ */ jsx45("div", { className: cn23("[grid-area:actions]", classNames3.actions), children });
2347
2494
  };
2348
2495
 
2349
2496
  // src/Dialog/DialogContent.tsx
2350
- import { cn as cn24, useClassNames as useClassNames23 } from "@marigold/system";
2351
- import { jsx as jsx43 } from "react/jsx-runtime";
2497
+ import { cn as cn24, useClassNames as useClassNames26 } from "@marigold/system";
2498
+ import { jsx as jsx46 } from "react/jsx-runtime";
2352
2499
  var DialogContent = ({
2353
2500
  variant,
2354
2501
  size: size2,
2355
2502
  children
2356
2503
  }) => {
2357
- const classNames3 = useClassNames23({ component: "Dialog", variant, size: size2 });
2358
- return /* @__PURE__ */ jsx43("div", { className: cn24("[grid-area:content]", classNames3.content), children });
2504
+ const classNames3 = useClassNames26({ component: "Dialog", variant, size: size2 });
2505
+ return /* @__PURE__ */ jsx46("div", { className: cn24("[grid-area:content]", classNames3.content), children });
2359
2506
  };
2360
2507
 
2361
2508
  // src/Dialog/DialogTitle.tsx
2362
- import { Header as Header2, Heading as Heading2 } from "react-aria-components";
2363
- import { cn as cn25, useClassNames as useClassNames24 } from "@marigold/system";
2364
- import { jsx as jsx44 } from "react/jsx-runtime";
2509
+ import { Header as Header2, Heading as Heading3 } from "react-aria-components";
2510
+ import { cn as cn25, useClassNames as useClassNames27 } from "@marigold/system";
2511
+ import { jsx as jsx47 } from "react/jsx-runtime";
2365
2512
  var DialogTitle = ({ variant, size: size2, children }) => {
2366
- const classNames3 = useClassNames24({
2513
+ const classNames3 = useClassNames27({
2367
2514
  component: "Dialog",
2368
2515
  variant,
2369
2516
  size: size2
2370
2517
  });
2371
- return /* @__PURE__ */ jsx44(Header2, { className: cn25("[grid-area:title]", classNames3.header), children: /* @__PURE__ */ jsx44(Heading2, { slot: "title", className: classNames3.title, children }) });
2518
+ return /* @__PURE__ */ jsx47(Header2, { className: cn25("[grid-area:title]", classNames3.header), children: /* @__PURE__ */ jsx47(Heading3, { slot: "title", className: classNames3.title, children }) });
2372
2519
  };
2373
2520
 
2374
2521
  // src/Dialog/DialogTrigger.tsx
2375
2522
  import { createContext as createContext6 } from "react";
2376
- import { DialogTrigger } from "react-aria-components";
2523
+ import { DialogTrigger as DialogTrigger2 } from "react-aria-components";
2377
2524
  import { PressResponder } from "@react-aria/interactions";
2378
- import { jsx as jsx45 } from "react/jsx-runtime";
2525
+ import { jsx as jsx48 } from "react/jsx-runtime";
2379
2526
  var DialogContext = createContext6({});
2380
2527
  var _DialogTrigger = ({
2381
2528
  open,
@@ -2389,15 +2536,15 @@ var _DialogTrigger = ({
2389
2536
  isKeyboardDismissDisabled: !keyboardDismissable,
2390
2537
  ...rest
2391
2538
  };
2392
- return /* @__PURE__ */ jsx45(DialogContext.Provider, { value: props, children: /* @__PURE__ */ jsx45(DialogTrigger, { ...props, children: /* @__PURE__ */ jsx45(PressResponder, { isPressed: false, children: props.children }) }) });
2539
+ return /* @__PURE__ */ jsx48(DialogContext.Provider, { value: props, children: /* @__PURE__ */ jsx48(DialogTrigger2, { ...props, children: /* @__PURE__ */ jsx48(PressResponder, { isPressed: false, children: props.children }) }) });
2393
2540
  };
2394
2541
 
2395
2542
  // src/Dialog/Dialog.tsx
2396
- import { jsx as jsx46, jsxs as jsxs17 } from "react/jsx-runtime";
2397
- var _Dialog = forwardRef18(
2543
+ import { jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
2544
+ var _Dialog = forwardRef19(
2398
2545
  ({ variant, size: size2, ...props }, ref) => {
2399
2546
  var _a;
2400
- const classNames3 = useClassNames25({
2547
+ const classNames3 = useClassNames28({
2401
2548
  component: "Dialog",
2402
2549
  variant,
2403
2550
  size: size2
@@ -2408,15 +2555,15 @@ var _Dialog = forwardRef18(
2408
2555
  close: (_a = state == null ? void 0 : state.close) != null ? _a : () => {
2409
2556
  }
2410
2557
  }) : props.children;
2411
- return /* @__PURE__ */ jsx46(
2558
+ return /* @__PURE__ */ jsx49(
2412
2559
  _Modal,
2413
2560
  {
2414
2561
  dismissable: isDismissable,
2415
2562
  keyboardDismissable: isKeyboardDismissDisabled,
2416
2563
  open: isOpen,
2417
2564
  size: size2,
2418
- children: /* @__PURE__ */ jsxs17(
2419
- Dialog,
2565
+ children: /* @__PURE__ */ jsxs18(
2566
+ Dialog2,
2420
2567
  {
2421
2568
  ...props,
2422
2569
  ref,
@@ -2426,7 +2573,7 @@ var _Dialog = forwardRef18(
2426
2573
  classNames3.container
2427
2574
  ),
2428
2575
  children: [
2429
- props.closeButton && /* @__PURE__ */ jsx46(
2576
+ props.closeButton && /* @__PURE__ */ jsx49(
2430
2577
  CloseButton,
2431
2578
  {
2432
2579
  className: classNames3.closeButton,
@@ -2448,18 +2595,18 @@ _Dialog.Actions = DialogActions;
2448
2595
 
2449
2596
  // src/Divider/Divider.tsx
2450
2597
  import { Separator } from "react-aria-components";
2451
- import { cn as cn27, useClassNames as useClassNames26 } from "@marigold/system";
2452
- import { jsx as jsx47 } from "react/jsx-runtime";
2598
+ import { cn as cn27, useClassNames as useClassNames29 } from "@marigold/system";
2599
+ import { jsx as jsx50 } from "react/jsx-runtime";
2453
2600
  var _Divider = ({ variant, ...props }) => {
2454
- const classNames3 = useClassNames26({ component: "Divider", variant });
2455
- return /* @__PURE__ */ jsx47(Separator, { className: cn27("border-none", classNames3), ...props });
2601
+ const classNames3 = useClassNames29({ component: "Divider", variant });
2602
+ return /* @__PURE__ */ jsx50(Separator, { className: cn27("border-none", classNames3), ...props });
2456
2603
  };
2457
2604
 
2458
2605
  // src/Drawer/Drawer.tsx
2459
2606
  import { useContext as useContext11, useRef } from "react";
2460
- import { Dialog as Dialog2, OverlayTriggerStateContext as OverlayTriggerStateContext3 } from "react-aria-components";
2607
+ import { Dialog as Dialog3, OverlayTriggerStateContext as OverlayTriggerStateContext3 } from "react-aria-components";
2461
2608
  import { useLandmark } from "@react-aria/landmark";
2462
- import { cn as cn32, useClassNames as useClassNames30, useSmallScreen as useSmallScreen3 } from "@marigold/system";
2609
+ import { cn as cn32, useClassNames as useClassNames33, useSmallScreen as useSmallScreen3 } from "@marigold/system";
2463
2610
 
2464
2611
  // src/Drawer/Context.tsx
2465
2612
  import { createContext as createContext7, useContext as useContext10 } from "react";
@@ -2470,16 +2617,16 @@ var DrawerContext = createContext7({
2470
2617
  var useDrawerContext = () => useContext10(DrawerContext);
2471
2618
 
2472
2619
  // src/Drawer/DrawerActions.tsx
2473
- import { cn as cn28, useClassNames as useClassNames27 } from "@marigold/system";
2474
- import { jsx as jsx48 } from "react/jsx-runtime";
2620
+ import { cn as cn28, useClassNames as useClassNames30 } from "@marigold/system";
2621
+ import { jsx as jsx51 } from "react/jsx-runtime";
2475
2622
  var DrawerActions = ({ variant, size: size2, children }) => {
2476
2623
  const ctx = useDrawerContext();
2477
- const classNames3 = useClassNames27({
2624
+ const classNames3 = useClassNames30({
2478
2625
  component: "Drawer",
2479
2626
  variant: variant != null ? variant : ctx.variant,
2480
2627
  size: size2 != null ? size2 : ctx.size
2481
2628
  });
2482
- return /* @__PURE__ */ jsx48(
2629
+ return /* @__PURE__ */ jsx51(
2483
2630
  "div",
2484
2631
  {
2485
2632
  className: cn28("[grid-area:actions]", classNames3.actions),
@@ -2490,20 +2637,20 @@ var DrawerActions = ({ variant, size: size2, children }) => {
2490
2637
  };
2491
2638
 
2492
2639
  // src/Drawer/DrawerContent.tsx
2493
- import { cn as cn29, useClassNames as useClassNames28 } from "@marigold/system";
2494
- import { jsx as jsx49 } from "react/jsx-runtime";
2640
+ import { cn as cn29, useClassNames as useClassNames31 } from "@marigold/system";
2641
+ import { jsx as jsx52 } from "react/jsx-runtime";
2495
2642
  var DrawerContent = ({
2496
2643
  variant,
2497
2644
  size: size2,
2498
2645
  children
2499
2646
  }) => {
2500
2647
  const ctx = useDrawerContext();
2501
- const classNames3 = useClassNames28({
2648
+ const classNames3 = useClassNames31({
2502
2649
  component: "Drawer",
2503
2650
  variant: variant != null ? variant : ctx.variant,
2504
2651
  size: size2 != null ? size2 : ctx.size
2505
2652
  });
2506
- return /* @__PURE__ */ jsx49(
2653
+ return /* @__PURE__ */ jsx52(
2507
2654
  "div",
2508
2655
  {
2509
2656
  className: cn29("[grid-area:content]", classNames3.content),
@@ -2515,14 +2662,14 @@ var DrawerContent = ({
2515
2662
 
2516
2663
  // src/Drawer/DrawerModal.tsx
2517
2664
  import { cn as cn30, useSmallScreen as useSmallScreen2 } from "@marigold/system";
2518
- import { jsx as jsx50 } from "react/jsx-runtime";
2665
+ import { jsx as jsx53 } from "react/jsx-runtime";
2519
2666
  var DrawerModal = ({
2520
2667
  children,
2521
2668
  className,
2522
2669
  ...props
2523
2670
  }) => {
2524
2671
  const isSmallScreen = useSmallScreen2();
2525
- return isSmallScreen ? /* @__PURE__ */ jsx50(_Modal, { children }) : /* @__PURE__ */ jsx50(
2672
+ return isSmallScreen ? /* @__PURE__ */ jsx53(_Modal, { children }) : /* @__PURE__ */ jsx53(
2526
2673
  NonModal,
2527
2674
  {
2528
2675
  ...props,
@@ -2533,37 +2680,37 @@ var DrawerModal = ({
2533
2680
  };
2534
2681
 
2535
2682
  // src/Drawer/DrawerTitle.tsx
2536
- import { Header as Header3, Heading as Heading3 } from "react-aria-components";
2537
- import { cn as cn31, useClassNames as useClassNames29 } from "@marigold/system";
2538
- import { jsx as jsx51 } from "react/jsx-runtime";
2683
+ import { Header as Header3, Heading as Heading4 } from "react-aria-components";
2684
+ import { cn as cn31, useClassNames as useClassNames32 } from "@marigold/system";
2685
+ import { jsx as jsx54 } from "react/jsx-runtime";
2539
2686
  var DrawerTitle = ({ variant, size: size2, children }) => {
2540
- const classNames3 = useClassNames29({
2687
+ const classNames3 = useClassNames32({
2541
2688
  component: "Drawer",
2542
2689
  size: size2,
2543
2690
  variant,
2544
2691
  context: DrawerContext
2545
2692
  });
2546
- return /* @__PURE__ */ jsx51(
2693
+ return /* @__PURE__ */ jsx54(
2547
2694
  Header3,
2548
2695
  {
2549
2696
  className: cn31("[grid-area:title]", classNames3.header),
2550
2697
  style: { "--i": 0 },
2551
- children: /* @__PURE__ */ jsx51(Heading3, { slot: "title", level: 2, className: classNames3.title, children })
2698
+ children: /* @__PURE__ */ jsx54(Heading4, { slot: "title", level: 2, className: classNames3.title, children })
2552
2699
  }
2553
2700
  );
2554
2701
  };
2555
2702
 
2556
2703
  // src/Drawer/DrawerTrigger.tsx
2557
- import { DialogTrigger as DialogTrigger2 } from "react-aria-components";
2558
- import { jsx as jsx52 } from "react/jsx-runtime";
2704
+ import { DialogTrigger as DialogTrigger3 } from "react-aria-components";
2705
+ import { jsx as jsx55 } from "react/jsx-runtime";
2559
2706
  var DrawerTrigger = ({
2560
2707
  open,
2561
2708
  children,
2562
2709
  ...props
2563
- }) => /* @__PURE__ */ jsx52(DialogTrigger2, { isOpen: open, ...props, children });
2710
+ }) => /* @__PURE__ */ jsx55(DialogTrigger3, { isOpen: open, ...props, children });
2564
2711
 
2565
2712
  // src/Drawer/Drawer.tsx
2566
- import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
2713
+ import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
2567
2714
  var Drawer = ({
2568
2715
  children,
2569
2716
  variant,
@@ -2575,19 +2722,19 @@ var Drawer = ({
2575
2722
  ...props
2576
2723
  }) => {
2577
2724
  const ref = useRef(null);
2578
- const classNames3 = useClassNames30({ component: "Drawer", variant, size: size2 });
2725
+ const classNames3 = useClassNames33({ component: "Drawer", variant, size: size2 });
2579
2726
  const ctx = useContext11(OverlayTriggerStateContext3);
2580
2727
  const isSmallScreen = useSmallScreen3();
2581
2728
  const landmarkAria = useLandmark({ ...props, role }, ref);
2582
2729
  const landmarkProps = isSmallScreen ? {} : landmarkAria.landmarkProps;
2583
- return /* @__PURE__ */ jsx53(
2730
+ return /* @__PURE__ */ jsx56(
2584
2731
  DrawerModal,
2585
2732
  {
2586
2733
  className: classNames3.overlay,
2587
2734
  open,
2588
2735
  keyboardDismissable,
2589
- children: /* @__PURE__ */ jsx53(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs18(
2590
- Dialog2,
2736
+ children: /* @__PURE__ */ jsx56(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs19(
2737
+ Dialog3,
2591
2738
  {
2592
2739
  ...props,
2593
2740
  ...landmarkProps,
@@ -2597,7 +2744,7 @@ var Drawer = ({
2597
2744
  classNames3.container
2598
2745
  ),
2599
2746
  children: [
2600
- closeButton && /* @__PURE__ */ jsx53(
2747
+ closeButton && /* @__PURE__ */ jsx56(
2601
2748
  CloseButton,
2602
2749
  {
2603
2750
  "aria-label": "dismiss drawer",
@@ -2619,18 +2766,18 @@ Drawer.Content = DrawerContent;
2619
2766
  Drawer.Actions = DrawerActions;
2620
2767
 
2621
2768
  // src/Footer/Footer.tsx
2622
- import { useClassNames as useClassNames31 } from "@marigold/system";
2623
- import { jsx as jsx54 } from "react/jsx-runtime";
2769
+ import { useClassNames as useClassNames34 } from "@marigold/system";
2770
+ import { jsx as jsx57 } from "react/jsx-runtime";
2624
2771
  var Footer = ({ children, variant, size: size2, ...props }) => {
2625
- const classNames3 = useClassNames31({ component: "Footer", variant, size: size2 });
2626
- return /* @__PURE__ */ jsx54("footer", { ...props, className: classNames3, children });
2772
+ const classNames3 = useClassNames34({ component: "Footer", variant, size: size2 });
2773
+ return /* @__PURE__ */ jsx57("footer", { ...props, className: classNames3, children });
2627
2774
  };
2628
2775
 
2629
2776
  // src/Form/Form.tsx
2630
2777
  import { Form } from "react-aria-components";
2631
2778
  import { cn as cn33, maxWidth as twMaxWidth } from "@marigold/system";
2632
- import { jsx as jsx55 } from "react/jsx-runtime";
2633
- var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx55(
2779
+ import { jsx as jsx58 } from "react/jsx-runtime";
2780
+ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx58(
2634
2781
  Form,
2635
2782
  {
2636
2783
  ...props,
@@ -2642,11 +2789,11 @@ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx55
2642
2789
  import { alignment, cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2643
2790
 
2644
2791
  // src/Grid/GridArea.tsx
2645
- import { jsx as jsx56 } from "react/jsx-runtime";
2646
- var GridArea = ({ name, children }) => /* @__PURE__ */ jsx56("div", { style: { gridArea: name }, children });
2792
+ import { jsx as jsx59 } from "react/jsx-runtime";
2793
+ var GridArea = ({ name, children }) => /* @__PURE__ */ jsx59("div", { style: { gridArea: name }, children });
2647
2794
 
2648
2795
  // src/Grid/Grid.tsx
2649
- import { jsx as jsx57 } from "react/jsx-runtime";
2796
+ import { jsx as jsx60 } from "react/jsx-runtime";
2650
2797
  var parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
2651
2798
  var parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
2652
2799
  var Grid = ({
@@ -2661,7 +2808,7 @@ var Grid = ({
2661
2808
  ...props
2662
2809
  }) => {
2663
2810
  var _a, _b, _c, _d;
2664
- return /* @__PURE__ */ jsx57(
2811
+ return /* @__PURE__ */ jsx60(
2665
2812
  "div",
2666
2813
  {
2667
2814
  className: cn34(
@@ -2685,26 +2832,26 @@ Grid.Area = GridArea;
2685
2832
 
2686
2833
  // src/Header/Header.tsx
2687
2834
  import { Header as Header4 } from "react-aria-components";
2688
- import { useClassNames as useClassNames32 } from "@marigold/system";
2689
- import { jsx as jsx58 } from "react/jsx-runtime";
2835
+ import { useClassNames as useClassNames35 } from "@marigold/system";
2836
+ import { jsx as jsx61 } from "react/jsx-runtime";
2690
2837
  var _Header = ({ variant, size: size2, ...props }) => {
2691
- const classNames3 = useClassNames32({
2838
+ const classNames3 = useClassNames35({
2692
2839
  component: "Header",
2693
2840
  variant,
2694
2841
  size: size2
2695
2842
  });
2696
- return /* @__PURE__ */ jsx58(Header4, { className: classNames3, ...props, children: props.children });
2843
+ return /* @__PURE__ */ jsx61(Header4, { className: classNames3, ...props, children: props.children });
2697
2844
  };
2698
2845
 
2699
2846
  // src/Headline/Headline.tsx
2700
- import { Heading as Heading4 } from "react-aria-components";
2847
+ import { Heading as Heading5 } from "react-aria-components";
2701
2848
  import {
2702
2849
  cn as cn35,
2703
2850
  ensureCssVar,
2704
2851
  textAlign,
2705
- useClassNames as useClassNames33
2852
+ useClassNames as useClassNames36
2706
2853
  } from "@marigold/system";
2707
- import { jsx as jsx59 } from "react/jsx-runtime";
2854
+ import { jsx as jsx62 } from "react/jsx-runtime";
2708
2855
  var _Headline = ({
2709
2856
  variant,
2710
2857
  size: size2,
@@ -2714,13 +2861,13 @@ var _Headline = ({
2714
2861
  level = "1",
2715
2862
  ...props
2716
2863
  }) => {
2717
- const classNames3 = useClassNames33({
2864
+ const classNames3 = useClassNames36({
2718
2865
  component: "Headline",
2719
2866
  variant,
2720
2867
  size: size2 != null ? size2 : `level-${level}`
2721
2868
  });
2722
- return /* @__PURE__ */ jsx59(
2723
- Heading4,
2869
+ return /* @__PURE__ */ jsx62(
2870
+ Heading5,
2724
2871
  {
2725
2872
  level: Number(level),
2726
2873
  ...props,
@@ -2741,9 +2888,9 @@ import {
2741
2888
  cn as cn36,
2742
2889
  objectFit,
2743
2890
  objectPosition,
2744
- useClassNames as useClassNames34
2891
+ useClassNames as useClassNames37
2745
2892
  } from "@marigold/system";
2746
- import { jsx as jsx60 } from "react/jsx-runtime";
2893
+ import { jsx as jsx63 } from "react/jsx-runtime";
2747
2894
  var Image = ({
2748
2895
  variant,
2749
2896
  size: size2,
@@ -2751,8 +2898,8 @@ var Image = ({
2751
2898
  position: position2 = "none",
2752
2899
  ...props
2753
2900
  }) => {
2754
- const classNames3 = useClassNames34({ component: "Image", variant, size: size2 });
2755
- return /* @__PURE__ */ jsx60(
2901
+ const classNames3 = useClassNames37({ component: "Image", variant, size: size2 });
2902
+ return /* @__PURE__ */ jsx63(
2756
2903
  "img",
2757
2904
  {
2758
2905
  ...props,
@@ -2769,7 +2916,7 @@ var Image = ({
2769
2916
 
2770
2917
  // src/Inline/Inline.tsx
2771
2918
  import { alignment as alignment2, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2772
- import { jsx as jsx61 } from "react/jsx-runtime";
2919
+ import { jsx as jsx64 } from "react/jsx-runtime";
2773
2920
  var Inline = ({
2774
2921
  space = 0,
2775
2922
  alignX,
@@ -2778,7 +2925,7 @@ var Inline = ({
2778
2925
  ...props
2779
2926
  }) => {
2780
2927
  var _a, _b, _c, _d;
2781
- return /* @__PURE__ */ jsx61(
2928
+ return /* @__PURE__ */ jsx64(
2782
2929
  "div",
2783
2930
  {
2784
2931
  ...props,
@@ -2794,19 +2941,19 @@ var Inline = ({
2794
2941
  };
2795
2942
 
2796
2943
  // src/DateField/DateField.tsx
2797
- import { forwardRef as forwardRef19 } from "react";
2944
+ import { forwardRef as forwardRef20 } from "react";
2798
2945
  import { DateField } from "react-aria-components";
2799
2946
 
2800
2947
  // src/DateField/DateInput.tsx
2801
2948
  import { DateInput, Group } from "react-aria-components";
2802
- import { useClassNames as useClassNames35 } from "@marigold/system";
2949
+ import { useClassNames as useClassNames38 } from "@marigold/system";
2803
2950
 
2804
2951
  // src/DateField/DateSegment.tsx
2805
2952
  import { DateSegment } from "react-aria-components";
2806
2953
  import { cn as cn38 } from "@marigold/system";
2807
- import { Fragment as Fragment5, jsx as jsx62, jsxs as jsxs19 } from "react/jsx-runtime";
2954
+ import { Fragment as Fragment5, jsx as jsx65, jsxs as jsxs20 } from "react/jsx-runtime";
2808
2955
  var _DateSegment = ({ segment, ...props }) => {
2809
- return /* @__PURE__ */ jsx62(
2956
+ return /* @__PURE__ */ jsx65(
2810
2957
  DateSegment,
2811
2958
  {
2812
2959
  ...props,
@@ -2814,8 +2961,8 @@ var _DateSegment = ({ segment, ...props }) => {
2814
2961
  style: {
2815
2962
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
2816
2963
  },
2817
- children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs19(Fragment5, { children: [
2818
- /* @__PURE__ */ jsx62(
2964
+ children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs20(Fragment5, { children: [
2965
+ /* @__PURE__ */ jsx65(
2819
2966
  "span",
2820
2967
  {
2821
2968
  "aria-hidden": "true",
@@ -2826,25 +2973,25 @@ var _DateSegment = ({ segment, ...props }) => {
2826
2973
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
2827
2974
  }
2828
2975
  ),
2829
- /* @__PURE__ */ jsx62("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
2976
+ /* @__PURE__ */ jsx65("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
2830
2977
  ] })
2831
2978
  }
2832
2979
  );
2833
2980
  };
2834
2981
 
2835
2982
  // src/DateField/DateInput.tsx
2836
- import { jsx as jsx63, jsxs as jsxs20 } from "react/jsx-runtime";
2983
+ import { jsx as jsx66, jsxs as jsxs21 } from "react/jsx-runtime";
2837
2984
  var _DateInput = ({ variant, size: size2, action, ...props }) => {
2838
- const classNames3 = useClassNames35({ component: "DateField", variant, size: size2 });
2839
- return /* @__PURE__ */ jsxs20(Group, { className: classNames3.field, children: [
2840
- /* @__PURE__ */ jsx63(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx63(_DateSegment, { className: classNames3.segment, segment }) }),
2985
+ const classNames3 = useClassNames38({ component: "DateField", variant, size: size2 });
2986
+ return /* @__PURE__ */ jsxs21(Group, { className: classNames3.field, children: [
2987
+ /* @__PURE__ */ jsx66(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx66(_DateSegment, { className: classNames3.segment, segment }) }),
2841
2988
  action ? action : null
2842
2989
  ] });
2843
2990
  };
2844
2991
 
2845
2992
  // src/DateField/DateField.tsx
2846
- import { jsx as jsx64 } from "react/jsx-runtime";
2847
- var _DateField = forwardRef19(
2993
+ import { jsx as jsx67 } from "react/jsx-runtime";
2994
+ var _DateField = forwardRef20(
2848
2995
  ({
2849
2996
  variant,
2850
2997
  size: size2,
@@ -2862,7 +3009,7 @@ var _DateField = forwardRef19(
2862
3009
  isRequired: required,
2863
3010
  ...rest
2864
3011
  };
2865
- return /* @__PURE__ */ jsx64(
3012
+ return /* @__PURE__ */ jsx67(
2866
3013
  FieldBase,
2867
3014
  {
2868
3015
  as: DateField,
@@ -2870,7 +3017,7 @@ var _DateField = forwardRef19(
2870
3017
  size: size2,
2871
3018
  ref,
2872
3019
  ...props,
2873
- children: /* @__PURE__ */ jsx64(_DateInput, { action })
3020
+ children: /* @__PURE__ */ jsx67(_DateInput, { action })
2874
3021
  }
2875
3022
  );
2876
3023
  }
@@ -2879,7 +3026,7 @@ var _DateField = forwardRef19(
2879
3026
  // src/Calendar/Calendar.tsx
2880
3027
  import { useState } from "react";
2881
3028
  import { Calendar } from "react-aria-components";
2882
- import { cn as cn44, useClassNames as useClassNames39 } from "@marigold/system";
3029
+ import { cn as cn44, useClassNames as useClassNames42 } from "@marigold/system";
2883
3030
 
2884
3031
  // src/Calendar/CalendarGrid.tsx
2885
3032
  import {
@@ -2887,7 +3034,7 @@ import {
2887
3034
  CalendarGrid,
2888
3035
  CalendarGridBody
2889
3036
  } from "react-aria-components";
2890
- import { cn as cn39, useClassNames as useClassNames37 } from "@marigold/system";
3037
+ import { cn as cn39, useClassNames as useClassNames40 } from "@marigold/system";
2891
3038
 
2892
3039
  // src/Calendar/CalendarGridHeader.tsx
2893
3040
  import { startOfWeek, today } from "@internationalized/date";
@@ -2895,8 +3042,8 @@ import { useContext as useContext12, useMemo as useMemo2 } from "react";
2895
3042
  import { CalendarStateContext } from "react-aria-components";
2896
3043
  import { useCalendarGrid } from "@react-aria/calendar";
2897
3044
  import { useDateFormatter, useLocale } from "@react-aria/i18n";
2898
- import { useClassNames as useClassNames36 } from "@marigold/system";
2899
- import { jsx as jsx65 } from "react/jsx-runtime";
3045
+ import { useClassNames as useClassNames39 } from "@marigold/system";
3046
+ import { jsx as jsx68 } from "react/jsx-runtime";
2900
3047
  function CalendarGridHeader(props) {
2901
3048
  const state = useContext12(CalendarStateContext);
2902
3049
  const { headerProps } = useCalendarGrid(props, state);
@@ -2913,17 +3060,17 @@ function CalendarGridHeader(props) {
2913
3060
  return dayFormatter.format(dateDay);
2914
3061
  });
2915
3062
  }, [locale, state.timeZone, dayFormatter]);
2916
- const classNames3 = useClassNames36({ component: "Calendar" });
2917
- return /* @__PURE__ */ jsx65("thead", { ...headerProps, children: /* @__PURE__ */ jsx65("tr", { children: weekDays.map((day, index2) => /* @__PURE__ */ jsx65("th", { className: classNames3.calendarHeader, children: day.substring(0, 2) }, index2)) }) });
3063
+ const classNames3 = useClassNames39({ component: "Calendar" });
3064
+ return /* @__PURE__ */ jsx68("thead", { ...headerProps, children: /* @__PURE__ */ jsx68("tr", { children: weekDays.map((day, index2) => /* @__PURE__ */ jsx68("th", { className: classNames3.calendarHeader, children: day.substring(0, 2) }, index2)) }) });
2918
3065
  }
2919
3066
 
2920
3067
  // src/Calendar/CalendarGrid.tsx
2921
- import { jsx as jsx66, jsxs as jsxs21 } from "react/jsx-runtime";
3068
+ import { jsx as jsx69, jsxs as jsxs22 } from "react/jsx-runtime";
2922
3069
  var _CalendarGrid = () => {
2923
- const classNames3 = useClassNames37({ component: "Calendar" });
2924
- return /* @__PURE__ */ jsxs21(CalendarGrid, { className: classNames3.calendarGrid, children: [
2925
- /* @__PURE__ */ jsx66(CalendarGridHeader, {}),
2926
- /* @__PURE__ */ jsx66(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx66(
3070
+ const classNames3 = useClassNames40({ component: "Calendar" });
3071
+ return /* @__PURE__ */ jsxs22(CalendarGrid, { className: classNames3.calendarGrid, children: [
3072
+ /* @__PURE__ */ jsx69(CalendarGridHeader, {}),
3073
+ /* @__PURE__ */ jsx69(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx69(
2927
3074
  CalendarCell,
2928
3075
  {
2929
3076
  date,
@@ -2963,7 +3110,7 @@ function useFormattedMonths(timeZone, focusedDate) {
2963
3110
  }
2964
3111
 
2965
3112
  // src/Calendar/CalendarListBox.tsx
2966
- import { jsx as jsx67, jsxs as jsxs22 } from "react/jsx-runtime";
3113
+ import { jsx as jsx70, jsxs as jsxs23 } from "react/jsx-runtime";
2967
3114
  function CalendarListBox({
2968
3115
  type,
2969
3116
  isDisabled,
@@ -2973,7 +3120,7 @@ function CalendarListBox({
2973
3120
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
2974
3121
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
2975
3122
  const { classNames: classNames3 } = useCalendarContext();
2976
- return /* @__PURE__ */ jsxs22(
3123
+ return /* @__PURE__ */ jsxs23(
2977
3124
  "button",
2978
3125
  {
2979
3126
  disabled: isDisabled,
@@ -2982,18 +3129,18 @@ function CalendarListBox({
2982
3129
  "data-testid": type,
2983
3130
  children: [
2984
3131
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
2985
- /* @__PURE__ */ jsx67(ChevronDown, {})
3132
+ /* @__PURE__ */ jsx70(ChevronDown, {})
2986
3133
  ]
2987
3134
  }
2988
3135
  );
2989
3136
  }
2990
3137
 
2991
3138
  // src/Calendar/MonthControls.tsx
2992
- import { cn as cn41, useClassNames as useClassNames38 } from "@marigold/system";
2993
- import { jsx as jsx68, jsxs as jsxs23 } from "react/jsx-runtime";
3139
+ import { cn as cn41, useClassNames as useClassNames41 } from "@marigold/system";
3140
+ import { jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
2994
3141
  function MonthControls() {
2995
- const classNames3 = useClassNames38({ component: "Calendar" });
2996
- return /* @__PURE__ */ jsxs23(
3142
+ const classNames3 = useClassNames41({ component: "Calendar" });
3143
+ return /* @__PURE__ */ jsxs24(
2997
3144
  "div",
2998
3145
  {
2999
3146
  className: cn41(
@@ -3001,22 +3148,22 @@ function MonthControls() {
3001
3148
  classNames3.calendarControllers
3002
3149
  ),
3003
3150
  children: [
3004
- /* @__PURE__ */ jsx68(
3151
+ /* @__PURE__ */ jsx71(
3005
3152
  IconButton,
3006
3153
  {
3007
3154
  className: cn41("inline-flex items-center justify-center gap-[0.5ch]"),
3008
3155
  variant: "navigation",
3009
3156
  slot: "previous",
3010
- children: /* @__PURE__ */ jsx68(ChevronLeft, {})
3157
+ children: /* @__PURE__ */ jsx71(ChevronLeft, {})
3011
3158
  }
3012
3159
  ),
3013
- /* @__PURE__ */ jsx68(
3160
+ /* @__PURE__ */ jsx71(
3014
3161
  IconButton,
3015
3162
  {
3016
3163
  className: cn41("inline-flex items-center justify-center gap-[0.5ch]"),
3017
3164
  variant: "navigation",
3018
3165
  slot: "next",
3019
- children: /* @__PURE__ */ jsx68(ChevronRight, {})
3166
+ children: /* @__PURE__ */ jsx71(ChevronRight, {})
3020
3167
  }
3021
3168
  )
3022
3169
  ]
@@ -3028,9 +3175,9 @@ var MonthControls_default = MonthControls;
3028
3175
  // src/Calendar/MonthListBox.tsx
3029
3176
  import { useContext as useContext15 } from "react";
3030
3177
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
3031
- import { Button as Button6 } from "react-aria-components";
3178
+ import { Button as Button7 } from "react-aria-components";
3032
3179
  import { cn as cn42 } from "@marigold/system";
3033
- import { jsx as jsx69 } from "react/jsx-runtime";
3180
+ import { jsx as jsx72 } from "react/jsx-runtime";
3034
3181
  var MonthListBox = ({ setSelectedDropdown }) => {
3035
3182
  const state = useContext15(CalendarStateContext3);
3036
3183
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
@@ -3040,15 +3187,15 @@ var MonthListBox = ({ setSelectedDropdown }) => {
3040
3187
  state.setFocusedDate(date);
3041
3188
  };
3042
3189
  const { classNames: classNames3 } = useCalendarContext();
3043
- return /* @__PURE__ */ jsx69(
3190
+ return /* @__PURE__ */ jsx72(
3044
3191
  "ul",
3045
3192
  {
3046
3193
  "data-testid": "monthOptions",
3047
3194
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 p-2",
3048
3195
  children: months.map((month, index2) => {
3049
3196
  const isSelected = index2 === state.focusedDate.month - 1;
3050
- return /* @__PURE__ */ jsx69("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx69(
3051
- Button6,
3197
+ return /* @__PURE__ */ jsx72("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx72(
3198
+ Button7,
3052
3199
  {
3053
3200
  slot: "previous",
3054
3201
  onPress: () => {
@@ -3076,10 +3223,10 @@ import {
3076
3223
  useEffect,
3077
3224
  useRef as useRef2
3078
3225
  } from "react";
3079
- import { Button as Button7, CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
3226
+ import { Button as Button8, CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
3080
3227
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
3081
3228
  import { cn as cn43 } from "@marigold/system";
3082
- import { jsx as jsx70 } from "react/jsx-runtime";
3229
+ import { jsx as jsx73 } from "react/jsx-runtime";
3083
3230
  var YearListBox = ({ setSelectedDropdown }) => {
3084
3231
  const state = useContext16(CalendarStateContext4);
3085
3232
  const { classNames: classNames3 } = useCalendarContext();
@@ -3110,20 +3257,20 @@ var YearListBox = ({ setSelectedDropdown }) => {
3110
3257
  let date = years[index2].value;
3111
3258
  state.setFocusedDate(date);
3112
3259
  };
3113
- return /* @__PURE__ */ jsx70(
3260
+ return /* @__PURE__ */ jsx73(
3114
3261
  "ul",
3115
3262
  {
3116
3263
  "data-testid": "yearOptions",
3117
3264
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3118
3265
  children: years.map((year, index2) => {
3119
3266
  const isSelected = +year.formatted === state.focusedDate.year;
3120
- return /* @__PURE__ */ jsx70("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx70(
3267
+ return /* @__PURE__ */ jsx73("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx73(
3121
3268
  "div",
3122
3269
  {
3123
3270
  ref: isSelected ? activeButtonRef : null,
3124
3271
  className: "flex size-full justify-center",
3125
- children: /* @__PURE__ */ jsx70(
3126
- Button7,
3272
+ children: /* @__PURE__ */ jsx73(
3273
+ Button8,
3127
3274
  {
3128
3275
  slot: "previous",
3129
3276
  className: cn43(
@@ -3149,7 +3296,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
3149
3296
  var YearListBox_default = YearListBox;
3150
3297
 
3151
3298
  // src/Calendar/Calendar.tsx
3152
- import { jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
3299
+ import { jsx as jsx74, jsxs as jsxs25 } from "react/jsx-runtime";
3153
3300
  var _Calendar = ({
3154
3301
  disabled,
3155
3302
  readOnly,
@@ -3164,13 +3311,13 @@ var _Calendar = ({
3164
3311
  isDateUnavailable: dateUnavailable,
3165
3312
  ...rest
3166
3313
  };
3167
- const classNames3 = useClassNames39({ component: "Calendar", size: size2, variant });
3314
+ const classNames3 = useClassNames42({ component: "Calendar", size: size2, variant });
3168
3315
  const [selectedDropdown, setSelectedDropdown] = useState();
3169
3316
  const ViewMap = {
3170
- month: /* @__PURE__ */ jsx71(MonthListBox_default, { setSelectedDropdown }),
3171
- year: /* @__PURE__ */ jsx71(YearListBox_default, { setSelectedDropdown })
3317
+ month: /* @__PURE__ */ jsx74(MonthListBox_default, { setSelectedDropdown }),
3318
+ year: /* @__PURE__ */ jsx74(YearListBox_default, { setSelectedDropdown })
3172
3319
  };
3173
- return /* @__PURE__ */ jsx71(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs24(
3320
+ return /* @__PURE__ */ jsx74(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs25(
3174
3321
  Calendar,
3175
3322
  {
3176
3323
  className: cn44(
@@ -3179,7 +3326,7 @@ var _Calendar = ({
3179
3326
  ),
3180
3327
  ...props,
3181
3328
  children: [
3182
- /* @__PURE__ */ jsx71(
3329
+ /* @__PURE__ */ jsx74(
3183
3330
  "div",
3184
3331
  {
3185
3332
  className: cn44(
@@ -3189,7 +3336,7 @@ var _Calendar = ({
3189
3336
  children: ViewMap[selectedDropdown]
3190
3337
  }
3191
3338
  ),
3192
- /* @__PURE__ */ jsxs24(
3339
+ /* @__PURE__ */ jsxs25(
3193
3340
  "div",
3194
3341
  {
3195
3342
  className: cn44(
@@ -3197,8 +3344,8 @@ var _Calendar = ({
3197
3344
  selectedDropdown && "pointer-events-none opacity-0"
3198
3345
  ),
3199
3346
  children: [
3200
- /* @__PURE__ */ jsxs24("div", { className: "mb-4 flex items-center justify-between", children: [
3201
- /* @__PURE__ */ jsx71("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ jsx71(
3347
+ /* @__PURE__ */ jsxs25("div", { className: "mb-4 flex items-center justify-between", children: [
3348
+ /* @__PURE__ */ jsx74("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ jsx74(
3202
3349
  CalendarListBox,
3203
3350
  {
3204
3351
  type: dateType,
@@ -3207,9 +3354,9 @@ var _Calendar = ({
3207
3354
  },
3208
3355
  dateType
3209
3356
  )) }),
3210
- /* @__PURE__ */ jsx71(MonthControls_default, {})
3357
+ /* @__PURE__ */ jsx74(MonthControls_default, {})
3211
3358
  ] }),
3212
- /* @__PURE__ */ jsx71(_CalendarGrid, {})
3359
+ /* @__PURE__ */ jsx74(_CalendarGrid, {})
3213
3360
  ]
3214
3361
  }
3215
3362
  )
@@ -3220,9 +3367,9 @@ var _Calendar = ({
3220
3367
 
3221
3368
  // src/DatePicker/DatePicker.tsx
3222
3369
  import React6 from "react";
3223
- import { DatePicker, Dialog as Dialog3 } from "react-aria-components";
3224
- import { useClassNames as useClassNames40 } from "@marigold/system";
3225
- import { jsx as jsx72, jsxs as jsxs25 } from "react/jsx-runtime";
3370
+ import { DatePicker, Dialog as Dialog4 } from "react-aria-components";
3371
+ import { useClassNames as useClassNames43 } from "@marigold/system";
3372
+ import { jsx as jsx75, jsxs as jsxs26 } from "react/jsx-runtime";
3226
3373
  var _DatePicker = React6.forwardRef(
3227
3374
  ({
3228
3375
  dateUnavailable,
@@ -3246,12 +3393,12 @@ var _DatePicker = React6.forwardRef(
3246
3393
  granularity,
3247
3394
  ...rest
3248
3395
  };
3249
- const classNames3 = useClassNames40({
3396
+ const classNames3 = useClassNames43({
3250
3397
  component: "DatePicker",
3251
3398
  size: size2,
3252
3399
  variant
3253
3400
  });
3254
- return /* @__PURE__ */ jsxs25(
3401
+ return /* @__PURE__ */ jsxs26(
3255
3402
  FieldBase,
3256
3403
  {
3257
3404
  as: DatePicker,
@@ -3260,10 +3407,10 @@ var _DatePicker = React6.forwardRef(
3260
3407
  ...props,
3261
3408
  ref,
3262
3409
  children: [
3263
- /* @__PURE__ */ jsx72(
3410
+ /* @__PURE__ */ jsx75(
3264
3411
  _DateInput,
3265
3412
  {
3266
- action: /* @__PURE__ */ jsx72(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx72(
3413
+ action: /* @__PURE__ */ jsx75(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx75(
3267
3414
  "svg",
3268
3415
  {
3269
3416
  "data-testid": "action",
@@ -3271,12 +3418,12 @@ var _DatePicker = React6.forwardRef(
3271
3418
  width: 24,
3272
3419
  height: 24,
3273
3420
  fill: "currentColor",
3274
- children: /* @__PURE__ */ jsx72("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
3421
+ children: /* @__PURE__ */ jsx75("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
3275
3422
  }
3276
3423
  ) })
3277
3424
  }
3278
3425
  ),
3279
- /* @__PURE__ */ jsx72(_Popover, { children: /* @__PURE__ */ jsx72(Dialog3, { children: /* @__PURE__ */ jsx72(_Calendar, { disabled }) }) })
3426
+ /* @__PURE__ */ jsx75(_Popover, { children: /* @__PURE__ */ jsx75(Dialog4, { children: /* @__PURE__ */ jsx75(_Calendar, { disabled }) }) })
3280
3427
  ]
3281
3428
  }
3282
3429
  );
@@ -3290,8 +3437,8 @@ import {
3290
3437
  paddingSpaceX as paddingSpaceX2,
3291
3438
  paddingSpaceY as paddingSpaceY2
3292
3439
  } from "@marigold/system";
3293
- import { jsx as jsx73 } from "react/jsx-runtime";
3294
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx73(
3440
+ import { jsx as jsx76 } from "react/jsx-runtime";
3441
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx76(
3295
3442
  "div",
3296
3443
  {
3297
3444
  className: cn45(
@@ -3304,23 +3451,23 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx73(
3304
3451
  );
3305
3452
 
3306
3453
  // src/Link/Link.tsx
3307
- import { forwardRef as forwardRef20 } from "react";
3454
+ import { forwardRef as forwardRef21 } from "react";
3308
3455
  import { Link } from "react-aria-components";
3309
- import { useClassNames as useClassNames41 } from "@marigold/system";
3310
- import { jsx as jsx74 } from "react/jsx-runtime";
3311
- var _Link = forwardRef20(
3456
+ import { useClassNames as useClassNames44 } from "@marigold/system";
3457
+ import { jsx as jsx77 } from "react/jsx-runtime";
3458
+ var _Link = forwardRef21(
3312
3459
  ({ variant, size: size2, disabled, children, ...props }, ref) => {
3313
- const classNames3 = useClassNames41({
3460
+ const classNames3 = useClassNames44({
3314
3461
  component: "Link",
3315
3462
  variant,
3316
3463
  size: size2
3317
3464
  });
3318
- return /* @__PURE__ */ jsx74(Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3465
+ return /* @__PURE__ */ jsx77(Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3319
3466
  }
3320
3467
  );
3321
3468
 
3322
3469
  // src/List/List.tsx
3323
- import { useClassNames as useClassNames42 } from "@marigold/system";
3470
+ import { useClassNames as useClassNames45 } from "@marigold/system";
3324
3471
 
3325
3472
  // src/List/Context.ts
3326
3473
  import { createContext as createContext9, useContext as useContext17 } from "react";
@@ -3328,14 +3475,14 @@ var ListContext = createContext9({});
3328
3475
  var useListContext = () => useContext17(ListContext);
3329
3476
 
3330
3477
  // src/List/ListItem.tsx
3331
- import { jsx as jsx75 } from "react/jsx-runtime";
3478
+ import { jsx as jsx78 } from "react/jsx-runtime";
3332
3479
  var ListItem = ({ children, ...props }) => {
3333
3480
  const { classNames: classNames3 } = useListContext();
3334
- return /* @__PURE__ */ jsx75("li", { ...props, className: classNames3, children });
3481
+ return /* @__PURE__ */ jsx78("li", { ...props, className: classNames3, children });
3335
3482
  };
3336
3483
 
3337
3484
  // src/List/List.tsx
3338
- import { jsx as jsx76 } from "react/jsx-runtime";
3485
+ import { jsx as jsx79 } from "react/jsx-runtime";
3339
3486
  var List = ({
3340
3487
  as = "ul",
3341
3488
  children,
@@ -3344,38 +3491,38 @@ var List = ({
3344
3491
  ...props
3345
3492
  }) => {
3346
3493
  const Component2 = as;
3347
- const classNames3 = useClassNames42({ component: "List", variant, size: size2 });
3348
- return /* @__PURE__ */ jsx76(Component2, { ...props, className: classNames3[as], children: /* @__PURE__ */ jsx76(ListContext.Provider, { value: { classNames: classNames3.item }, children }) });
3494
+ const classNames3 = useClassNames45({ component: "List", variant, size: size2 });
3495
+ return /* @__PURE__ */ jsx79(Component2, { ...props, className: classNames3[as], children: /* @__PURE__ */ jsx79(ListContext.Provider, { value: { classNames: classNames3.item }, children }) });
3349
3496
  };
3350
3497
  List.Item = ListItem;
3351
3498
 
3352
3499
  // src/Menu/Menu.tsx
3353
- import { Button as Button8, Menu, MenuTrigger } from "react-aria-components";
3354
- import { useClassNames as useClassNames45 } from "@marigold/system";
3500
+ import { Button as Button9, Menu, MenuTrigger } from "react-aria-components";
3501
+ import { useClassNames as useClassNames48 } from "@marigold/system";
3355
3502
 
3356
3503
  // src/Menu/MenuItem.tsx
3357
3504
  import { MenuItem } from "react-aria-components";
3358
- import { useClassNames as useClassNames43 } from "@marigold/system";
3359
- import { jsx as jsx77 } from "react/jsx-runtime";
3505
+ import { useClassNames as useClassNames46 } from "@marigold/system";
3506
+ import { jsx as jsx80 } from "react/jsx-runtime";
3360
3507
  var _MenuItem = ({ children, ...props }) => {
3361
- const classNames3 = useClassNames43({ component: "Menu" });
3362
- return /* @__PURE__ */ jsx77(MenuItem, { ...props, className: classNames3.item, children });
3508
+ const classNames3 = useClassNames46({ component: "Menu" });
3509
+ return /* @__PURE__ */ jsx80(MenuItem, { ...props, className: classNames3.item, children });
3363
3510
  };
3364
3511
 
3365
3512
  // src/Menu/MenuSection.tsx
3366
3513
  import { MenuSection } from "react-aria-components";
3367
- import { useClassNames as useClassNames44 } from "@marigold/system";
3368
- import { jsx as jsx78, jsxs as jsxs26 } from "react/jsx-runtime";
3514
+ import { useClassNames as useClassNames47 } from "@marigold/system";
3515
+ import { jsx as jsx81, jsxs as jsxs27 } from "react/jsx-runtime";
3369
3516
  var _MenuSection = ({ children, title, ...props }) => {
3370
- const className = useClassNames44({ component: "Menu" });
3371
- return /* @__PURE__ */ jsxs26(MenuSection, { ...props, children: [
3372
- /* @__PURE__ */ jsx78(_Header, { className: className.section, children: title }),
3517
+ const className = useClassNames47({ component: "Menu" });
3518
+ return /* @__PURE__ */ jsxs27(MenuSection, { ...props, children: [
3519
+ /* @__PURE__ */ jsx81(_Header, { className: className.section, children: title }),
3373
3520
  children
3374
3521
  ] });
3375
3522
  };
3376
3523
 
3377
3524
  // src/Menu/Menu.tsx
3378
- import { jsx as jsx79, jsxs as jsxs27 } from "react/jsx-runtime";
3525
+ import { jsx as jsx82, jsxs as jsxs28 } from "react/jsx-runtime";
3379
3526
  var _Menu = ({
3380
3527
  children,
3381
3528
  label,
@@ -3387,10 +3534,10 @@ var _Menu = ({
3387
3534
  "aria-label": ariaLabel,
3388
3535
  ...props
3389
3536
  }) => {
3390
- const classNames3 = useClassNames45({ component: "Menu", variant, size: size2 });
3391
- return /* @__PURE__ */ jsxs27(MenuTrigger, { ...props, children: [
3392
- /* @__PURE__ */ jsx79(
3393
- Button8,
3537
+ const classNames3 = useClassNames48({ component: "Menu", variant, size: size2 });
3538
+ return /* @__PURE__ */ jsxs28(MenuTrigger, { ...props, children: [
3539
+ /* @__PURE__ */ jsx82(
3540
+ Button9,
3394
3541
  {
3395
3542
  className: classNames3.button,
3396
3543
  "aria-label": ariaLabel,
@@ -3398,33 +3545,49 @@ var _Menu = ({
3398
3545
  children: label
3399
3546
  }
3400
3547
  ),
3401
- /* @__PURE__ */ jsx79(_Popover, { open, placement, children: /* @__PURE__ */ jsx79(Menu, { ...props, className: classNames3.container, children }) })
3548
+ /* @__PURE__ */ jsx82(_Popover, { open, placement, children: /* @__PURE__ */ jsx82(Menu, { ...props, className: classNames3.container, children }) })
3402
3549
  ] });
3403
3550
  };
3404
3551
  _Menu.Item = _MenuItem;
3405
3552
  _Menu.Section = _MenuSection;
3406
3553
 
3407
3554
  // src/Menu/ActionMenu.tsx
3408
- import { Button as Button9, Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
3409
- import { SVG as SVG8, useClassNames as useClassNames46 } from "@marigold/system";
3410
- import { jsx as jsx80, jsxs as jsxs28 } from "react/jsx-runtime";
3555
+ import { Button as Button10, Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
3556
+ import { useClassNames as useClassNames49 } from "@marigold/system";
3557
+ import { jsx as jsx83, jsxs as jsxs29 } from "react/jsx-runtime";
3411
3558
  var ActionMenu = ({
3412
3559
  variant,
3413
3560
  size: size2,
3414
3561
  disabled,
3415
3562
  ...props
3416
3563
  }) => {
3417
- const classNames3 = useClassNames46({ component: "Menu", variant, size: size2 });
3418
- return /* @__PURE__ */ jsxs28(MenuTrigger2, { children: [
3419
- /* @__PURE__ */ jsx80(Button9, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsx80(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx80("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
3420
- /* @__PURE__ */ jsx80(_Popover, { children: /* @__PURE__ */ jsx80(Menu2, { ...props, className: classNames3.container, children: props.children }) })
3564
+ const classNames3 = useClassNames49({ component: "Menu", variant, size: size2 });
3565
+ return /* @__PURE__ */ jsxs29(MenuTrigger2, { children: [
3566
+ /* @__PURE__ */ jsx83(Button10, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsxs29(
3567
+ "svg",
3568
+ {
3569
+ xmlns: "http://www.w3.org/2000/svg",
3570
+ viewBox: "0 0 24 24",
3571
+ fill: "none",
3572
+ stroke: "currentColor",
3573
+ strokeWidth: 2,
3574
+ strokeLinecap: "round",
3575
+ strokeLinejoin: "round",
3576
+ children: [
3577
+ /* @__PURE__ */ jsx83("circle", { cx: 12, cy: 12, r: 1 }),
3578
+ /* @__PURE__ */ jsx83("circle", { cx: 12, cy: 5, r: 1 }),
3579
+ /* @__PURE__ */ jsx83("circle", { cx: 12, cy: 19, r: 1 })
3580
+ ]
3581
+ }
3582
+ ) }),
3583
+ /* @__PURE__ */ jsx83(_Popover, { children: /* @__PURE__ */ jsx83(Menu2, { ...props, className: classNames3.container, children: props.children }) })
3421
3584
  ] });
3422
3585
  };
3423
3586
 
3424
3587
  // src/SectionMessage/SectionMessage.tsx
3425
3588
  import { useRef as useRef3, useState as useState2 } from "react";
3426
3589
  import { useButton } from "@react-aria/button";
3427
- import { cn as cn48, useClassNames as useClassNames47 } from "@marigold/system";
3590
+ import { cn as cn48, useClassNames as useClassNames50 } from "@marigold/system";
3428
3591
 
3429
3592
  // src/SectionMessage/Context.tsx
3430
3593
  import { createContext as createContext10, useContext as useContext18 } from "react";
@@ -3433,32 +3596,32 @@ var useSectionMessageContext = () => useContext18(SectionMessageContext);
3433
3596
 
3434
3597
  // src/SectionMessage/SectionMessageContent.tsx
3435
3598
  import { cn as cn46 } from "@marigold/system";
3436
- import { jsx as jsx81 } from "react/jsx-runtime";
3599
+ import { jsx as jsx84 } from "react/jsx-runtime";
3437
3600
  var SectionMessageContent = ({
3438
3601
  children
3439
3602
  }) => {
3440
3603
  const { classNames: classNames3 } = useSectionMessageContext();
3441
- return /* @__PURE__ */ jsx81("div", { className: cn46("[grid-area:content]", classNames3.content), children });
3604
+ return /* @__PURE__ */ jsx84("div", { className: cn46("[grid-area:content]", classNames3.content), children });
3442
3605
  };
3443
3606
 
3444
3607
  // src/SectionMessage/SectionMessageTitle.tsx
3445
3608
  import { cn as cn47 } from "@marigold/system";
3446
- import { jsx as jsx82 } from "react/jsx-runtime";
3609
+ import { jsx as jsx85 } from "react/jsx-runtime";
3447
3610
  var SectionMessageTitle = ({ children }) => {
3448
3611
  const { classNames: classNames3 } = useSectionMessageContext();
3449
- return /* @__PURE__ */ jsx82("div", { className: cn47("[grid-area:title]", classNames3.title), children });
3612
+ return /* @__PURE__ */ jsx85("div", { className: cn47("[grid-area:title]", classNames3.title), children });
3450
3613
  };
3451
3614
 
3452
3615
  // src/SectionMessage/SectionMessage.tsx
3453
- import { jsx as jsx83, jsxs as jsxs29 } from "react/jsx-runtime";
3454
- var icons = {
3455
- success: () => /* @__PURE__ */ jsx83(
3616
+ import { jsx as jsx86, jsxs as jsxs30 } from "react/jsx-runtime";
3617
+ var icons2 = {
3618
+ success: () => /* @__PURE__ */ jsx86(
3456
3619
  "svg",
3457
3620
  {
3458
3621
  xmlns: "http://www.w3.org/2000/svg",
3459
3622
  viewBox: "0 0 24 24",
3460
3623
  fill: "currentColor",
3461
- children: /* @__PURE__ */ jsx83(
3624
+ children: /* @__PURE__ */ jsx86(
3462
3625
  "path",
3463
3626
  {
3464
3627
  fillRule: "evenodd",
@@ -3468,13 +3631,13 @@ var icons = {
3468
3631
  )
3469
3632
  }
3470
3633
  ),
3471
- info: () => /* @__PURE__ */ jsx83(
3634
+ info: () => /* @__PURE__ */ jsx86(
3472
3635
  "svg",
3473
3636
  {
3474
3637
  xmlns: "http://www.w3.org/2000/svg",
3475
3638
  viewBox: "0 0 24 24",
3476
3639
  fill: "currentColor",
3477
- children: /* @__PURE__ */ jsx83(
3640
+ children: /* @__PURE__ */ jsx86(
3478
3641
  "path",
3479
3642
  {
3480
3643
  fillRule: "evenodd",
@@ -3484,13 +3647,13 @@ var icons = {
3484
3647
  )
3485
3648
  }
3486
3649
  ),
3487
- warning: () => /* @__PURE__ */ jsx83(
3650
+ warning: () => /* @__PURE__ */ jsx86(
3488
3651
  "svg",
3489
3652
  {
3490
3653
  xmlns: "http://www.w3.org/2000/svg",
3491
3654
  viewBox: "0 0 24 24",
3492
3655
  fill: "currentColor",
3493
- children: /* @__PURE__ */ jsx83(
3656
+ children: /* @__PURE__ */ jsx86(
3494
3657
  "path",
3495
3658
  {
3496
3659
  fillRule: "evenodd",
@@ -3500,13 +3663,13 @@ var icons = {
3500
3663
  )
3501
3664
  }
3502
3665
  ),
3503
- error: () => /* @__PURE__ */ jsx83(
3666
+ error: () => /* @__PURE__ */ jsx86(
3504
3667
  "svg",
3505
3668
  {
3506
3669
  xmlns: "http://www.w3.org/2000/svg",
3507
3670
  viewBox: "0 0 24 24",
3508
3671
  fill: "currentColor",
3509
- children: /* @__PURE__ */ jsx83(
3672
+ children: /* @__PURE__ */ jsx86(
3510
3673
  "path",
3511
3674
  {
3512
3675
  fillRule: "evenodd",
@@ -3527,12 +3690,12 @@ var SectionMessage = ({
3527
3690
  ...props
3528
3691
  }) => {
3529
3692
  const buttonRef = useRef3(null);
3530
- const classNames3 = useClassNames47({
3693
+ const classNames3 = useClassNames50({
3531
3694
  component: "SectionMessage",
3532
3695
  variant,
3533
3696
  size: size2
3534
3697
  });
3535
- const Icon4 = icons[variant];
3698
+ const Icon4 = icons2[variant];
3536
3699
  const [internalVisible, setInternalVisible] = useState2(true);
3537
3700
  const isCurrentlyVisible = close != null ? close : internalVisible;
3538
3701
  const { buttonProps } = useButton(props, buttonRef);
@@ -3543,15 +3706,15 @@ var SectionMessage = ({
3543
3706
  }
3544
3707
  };
3545
3708
  if (!isCurrentlyVisible) return null;
3546
- return /* @__PURE__ */ jsx83(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs29(
3709
+ return /* @__PURE__ */ jsx86(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs30(
3547
3710
  "div",
3548
3711
  {
3549
3712
  role: variant === "error" ? "alert" : void 0,
3550
3713
  ...props,
3551
3714
  className: cn48("grid auto-rows-min", classNames3.container),
3552
3715
  children: [
3553
- /* @__PURE__ */ jsx83("div", { className: cn48("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx83(Icon4, {}) }),
3554
- closeButton && /* @__PURE__ */ jsx83(
3716
+ /* @__PURE__ */ jsx86("div", { className: cn48("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx86(Icon4, {}) }),
3717
+ closeButton && /* @__PURE__ */ jsx86(
3555
3718
  CloseButton,
3556
3719
  {
3557
3720
  ...buttonProps,
@@ -3571,7 +3734,7 @@ SectionMessage.Content = SectionMessageContent;
3571
3734
 
3572
3735
  // src/Multiselect/Multiselect.tsx
3573
3736
  import {
3574
- Button as Button10,
3737
+ Button as Button11,
3575
3738
  ButtonContext,
3576
3739
  FieldErrorContext as FieldErrorContext2,
3577
3740
  InputContext,
@@ -3776,7 +3939,7 @@ function _extends() {
3776
3939
 
3777
3940
  // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
3778
3941
  import * as React11 from "react";
3779
- import { forwardRef as forwardRef23, useMemo as useMemo5 } from "react";
3942
+ import { forwardRef as forwardRef24, useMemo as useMemo5 } from "react";
3780
3943
 
3781
3944
  // ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
3782
3945
  function _classCallCheck(a, n) {
@@ -3888,7 +4051,7 @@ import { useMemo as useMemo4, Fragment as Fragment8, useRef as useRef6, useCallb
3888
4051
 
3889
4052
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.5_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
3890
4053
  import * as React8 from "react";
3891
- import { useContext as useContext20, forwardRef as forwardRef22 } from "react";
4054
+ import { useContext as useContext20, forwardRef as forwardRef23 } from "react";
3892
4055
 
3893
4056
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
3894
4057
  var isDevelopment = false;
@@ -5076,7 +5239,7 @@ var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
5076
5239
  );
5077
5240
  var CacheProvider = EmotionCacheContext.Provider;
5078
5241
  var withEmotionCache = function withEmotionCache2(func) {
5079
- return /* @__PURE__ */ forwardRef22(function(props, ref) {
5242
+ return /* @__PURE__ */ forwardRef23(function(props, ref) {
5080
5243
  var cache = useContext20(EmotionCacheContext);
5081
5244
  return func(props, cache, ref);
5082
5245
  });
@@ -5168,7 +5331,7 @@ var Emotion$1 = Emotion;
5168
5331
  import * as React9 from "react";
5169
5332
  var import_extends2 = __toESM(require_extends());
5170
5333
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
5171
- var jsx84 = function jsx85(type, props) {
5334
+ var jsx87 = function jsx88(type, props) {
5172
5335
  var args = arguments;
5173
5336
  if (props == null || !hasOwn.call(props, "css")) {
5174
5337
  return React9.createElement.apply(void 0, args);
@@ -5183,10 +5346,10 @@ var jsx84 = function jsx85(type, props) {
5183
5346
  return React9.createElement.apply(null, createElementArgArray);
5184
5347
  };
5185
5348
  (function(_jsx) {
5186
- var JSX;
5349
+ var JSX2;
5187
5350
  /* @__PURE__ */ (function(_JSX) {
5188
- })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
5189
- })(jsx84 || (jsx84 = {}));
5351
+ })(JSX2 || (JSX2 = _jsx.JSX || (_jsx.JSX = {})));
5352
+ })(jsx87 || (jsx87 = {}));
5190
5353
  function css() {
5191
5354
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5192
5355
  args[_key] = arguments[_key];
@@ -5989,7 +6152,7 @@ var MenuPlacer = function MenuPlacer2(props) {
5989
6152
  };
5990
6153
  var Menu3 = function Menu4(props) {
5991
6154
  var children = props.children, innerRef = props.innerRef, innerProps = props.innerProps;
5992
- return jsx84("div", _extends({}, getStyleProps(props, "menu", {
6155
+ return jsx87("div", _extends({}, getStyleProps(props, "menu", {
5993
6156
  menu: true
5994
6157
  }), {
5995
6158
  ref: innerRef
@@ -6011,7 +6174,7 @@ var menuListCSS = function menuListCSS2(_ref4, unstyled) {
6011
6174
  };
6012
6175
  var MenuList = function MenuList2(props) {
6013
6176
  var children = props.children, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
6014
- return jsx84("div", _extends({}, getStyleProps(props, "menuList", {
6177
+ return jsx87("div", _extends({}, getStyleProps(props, "menuList", {
6015
6178
  "menu-list": true,
6016
6179
  "menu-list--is-multi": isMulti
6017
6180
  }), {
@@ -6031,7 +6194,7 @@ var noOptionsMessageCSS = noticeCSS;
6031
6194
  var loadingMessageCSS = noticeCSS;
6032
6195
  var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
6033
6196
  var _ref6$children = _ref6.children, children = _ref6$children === void 0 ? "No options" : _ref6$children, innerProps = _ref6.innerProps, restProps = _objectWithoutProperties(_ref6, _excluded$3);
6034
- return jsx84("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6197
+ return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6035
6198
  children,
6036
6199
  innerProps
6037
6200
  }), "noOptionsMessage", {
@@ -6041,7 +6204,7 @@ var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
6041
6204
  };
6042
6205
  var LoadingMessage = function LoadingMessage2(_ref7) {
6043
6206
  var _ref7$children = _ref7.children, children = _ref7$children === void 0 ? "Loading..." : _ref7$children, innerProps = _ref7.innerProps, restProps = _objectWithoutProperties(_ref7, _excluded2$1);
6044
- return jsx84("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6207
+ return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6045
6208
  children,
6046
6209
  innerProps
6047
6210
  }), "loadingMessage", {
@@ -6104,7 +6267,7 @@ var MenuPortal = function MenuPortal2(props) {
6104
6267
  runAutoUpdate();
6105
6268
  }, [runAutoUpdate]);
6106
6269
  if (!appendTo && menuPosition !== "fixed" || !computedPosition) return null;
6107
- var menuWrapper = jsx84("div", _extends({
6270
+ var menuWrapper = jsx87("div", _extends({
6108
6271
  ref: setMenuPortalElement
6109
6272
  }, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
6110
6273
  offset: computedPosition.offset,
@@ -6113,7 +6276,7 @@ var MenuPortal = function MenuPortal2(props) {
6113
6276
  }), "menuPortal", {
6114
6277
  "menu-portal": true
6115
6278
  }), innerProps), children);
6116
- return jsx84(PortalPlacementContext.Provider, {
6279
+ return jsx87(PortalPlacementContext.Provider, {
6117
6280
  value: portalPlacementContext
6118
6281
  }, appendTo ? /* @__PURE__ */ createPortal(menuWrapper, appendTo) : menuWrapper);
6119
6282
  };
@@ -6129,7 +6292,7 @@ var containerCSS = function containerCSS2(_ref3) {
6129
6292
  };
6130
6293
  var SelectContainer = function SelectContainer2(props) {
6131
6294
  var children = props.children, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
6132
- return jsx84("div", _extends({}, getStyleProps(props, "container", {
6295
+ return jsx87("div", _extends({}, getStyleProps(props, "container", {
6133
6296
  "--is-disabled": isDisabled,
6134
6297
  "--is-rtl": isRtl
6135
6298
  }), innerProps), children);
@@ -6150,7 +6313,7 @@ var valueContainerCSS = function valueContainerCSS2(_ref23, unstyled) {
6150
6313
  };
6151
6314
  var ValueContainer = function ValueContainer2(props) {
6152
6315
  var children = props.children, innerProps = props.innerProps, isMulti = props.isMulti, hasValue = props.hasValue;
6153
- return jsx84("div", _extends({}, getStyleProps(props, "valueContainer", {
6316
+ return jsx87("div", _extends({}, getStyleProps(props, "valueContainer", {
6154
6317
  "value-container": true,
6155
6318
  "value-container--is-multi": isMulti,
6156
6319
  "value-container--has-value": hasValue
@@ -6166,7 +6329,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS2() {
6166
6329
  };
6167
6330
  var IndicatorsContainer = function IndicatorsContainer2(props) {
6168
6331
  var children = props.children, innerProps = props.innerProps;
6169
- return jsx84("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
6332
+ return jsx87("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
6170
6333
  indicators: true
6171
6334
  }), innerProps), children);
6172
6335
  };
@@ -6187,7 +6350,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
6187
6350
  };
6188
6351
  var Svg = function Svg2(_ref3) {
6189
6352
  var size2 = _ref3.size, props = _objectWithoutProperties(_ref3, _excluded$2);
6190
- return jsx84("svg", _extends({
6353
+ return jsx87("svg", _extends({
6191
6354
  height: size2,
6192
6355
  width: size2,
6193
6356
  viewBox: "0 0 20 20",
@@ -6197,16 +6360,16 @@ var Svg = function Svg2(_ref3) {
6197
6360
  }, props));
6198
6361
  };
6199
6362
  var CrossIcon = function CrossIcon2(props) {
6200
- return jsx84(Svg, _extends({
6363
+ return jsx87(Svg, _extends({
6201
6364
  size: 20
6202
- }, props), jsx84("path", {
6365
+ }, props), jsx87("path", {
6203
6366
  d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
6204
6367
  }));
6205
6368
  };
6206
6369
  var DownChevron = function DownChevron2(props) {
6207
- return jsx84(Svg, _extends({
6370
+ return jsx87(Svg, _extends({
6208
6371
  size: 20
6209
- }, props), jsx84("path", {
6372
+ }, props), jsx87("path", {
6210
6373
  d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
6211
6374
  }));
6212
6375
  };
@@ -6227,18 +6390,18 @@ var baseCSS = function baseCSS2(_ref3, unstyled) {
6227
6390
  var dropdownIndicatorCSS = baseCSS;
6228
6391
  var DropdownIndicator = function DropdownIndicator2(props) {
6229
6392
  var children = props.children, innerProps = props.innerProps;
6230
- return jsx84("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
6393
+ return jsx87("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
6231
6394
  indicator: true,
6232
6395
  "dropdown-indicator": true
6233
- }), innerProps), children || jsx84(DownChevron, null));
6396
+ }), innerProps), children || jsx87(DownChevron, null));
6234
6397
  };
6235
6398
  var clearIndicatorCSS = baseCSS;
6236
6399
  var ClearIndicator = function ClearIndicator2(props) {
6237
6400
  var children = props.children, innerProps = props.innerProps;
6238
- return jsx84("div", _extends({}, getStyleProps(props, "clearIndicator", {
6401
+ return jsx87("div", _extends({}, getStyleProps(props, "clearIndicator", {
6239
6402
  indicator: true,
6240
6403
  "clear-indicator": true
6241
- }), innerProps), children || jsx84(CrossIcon, null));
6404
+ }), innerProps), children || jsx87(CrossIcon, null));
6242
6405
  };
6243
6406
  var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
6244
6407
  var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit2 = _ref4$theme.spacing.baseUnit, colors2 = _ref4$theme.colors;
@@ -6254,7 +6417,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
6254
6417
  };
6255
6418
  var IndicatorSeparator = function IndicatorSeparator2(props) {
6256
6419
  var innerProps = props.innerProps;
6257
- return jsx84("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
6420
+ return jsx87("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
6258
6421
  "indicator-separator": true
6259
6422
  })));
6260
6423
  };
@@ -6278,7 +6441,7 @@ var loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5, unstyled) {
6278
6441
  };
6279
6442
  var LoadingDot = function LoadingDot2(_ref6) {
6280
6443
  var delay = _ref6.delay, offset2 = _ref6.offset;
6281
- return jsx84("span", {
6444
+ return jsx87("span", {
6282
6445
  css: /* @__PURE__ */ css({
6283
6446
  animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
6284
6447
  backgroundColor: "currentColor",
@@ -6293,20 +6456,20 @@ var LoadingDot = function LoadingDot2(_ref6) {
6293
6456
  };
6294
6457
  var LoadingIndicator = function LoadingIndicator2(_ref7) {
6295
6458
  var innerProps = _ref7.innerProps, isRtl = _ref7.isRtl, _ref7$size = _ref7.size, size2 = _ref7$size === void 0 ? 4 : _ref7$size, restProps = _objectWithoutProperties(_ref7, _excluded2);
6296
- return jsx84("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6459
+ return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6297
6460
  innerProps,
6298
6461
  isRtl,
6299
6462
  size: size2
6300
6463
  }), "loadingIndicator", {
6301
6464
  indicator: true,
6302
6465
  "loading-indicator": true
6303
- }), innerProps), jsx84(LoadingDot, {
6466
+ }), innerProps), jsx87(LoadingDot, {
6304
6467
  delay: 0,
6305
6468
  offset: isRtl
6306
- }), jsx84(LoadingDot, {
6469
+ }), jsx87(LoadingDot, {
6307
6470
  delay: 160,
6308
6471
  offset: true
6309
- }), jsx84(LoadingDot, {
6472
+ }), jsx87(LoadingDot, {
6310
6473
  delay: 320,
6311
6474
  offset: !isRtl
6312
6475
  }));
@@ -6338,7 +6501,7 @@ var css$1 = function css2(_ref3, unstyled) {
6338
6501
  };
6339
6502
  var Control = function Control2(props) {
6340
6503
  var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
6341
- return jsx84("div", _extends({
6504
+ return jsx87("div", _extends({
6342
6505
  ref: innerRef
6343
6506
  }, getStyleProps(props, "control", {
6344
6507
  control: true,
@@ -6359,16 +6522,16 @@ var groupCSS = function groupCSS2(_ref3, unstyled) {
6359
6522
  };
6360
6523
  };
6361
6524
  var Group2 = function Group3(props) {
6362
- var children = props.children, cx = props.cx, getStyles = props.getStyles, getClassNames2 = props.getClassNames, Heading5 = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps;
6363
- return jsx84("div", _extends({}, getStyleProps(props, "group", {
6525
+ var children = props.children, cx = props.cx, getStyles = props.getStyles, getClassNames2 = props.getClassNames, Heading6 = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps;
6526
+ return jsx87("div", _extends({}, getStyleProps(props, "group", {
6364
6527
  group: true
6365
- }), innerProps), jsx84(Heading5, _extends({}, headingProps, {
6528
+ }), innerProps), jsx87(Heading6, _extends({}, headingProps, {
6366
6529
  selectProps,
6367
6530
  theme,
6368
6531
  getStyles,
6369
6532
  getClassNames: getClassNames2,
6370
6533
  cx
6371
- }), label), jsx84("div", null, children));
6534
+ }), label), jsx87("div", null, children));
6372
6535
  };
6373
6536
  var groupHeadingCSS = function groupHeadingCSS2(_ref23, unstyled) {
6374
6537
  var _ref2$theme = _ref23.theme, colors2 = _ref2$theme.colors, spacing2 = _ref2$theme.spacing;
@@ -6390,7 +6553,7 @@ var GroupHeading = function GroupHeading2(props) {
6390
6553
  var _cleanCommonProps = cleanCommonProps(props);
6391
6554
  _cleanCommonProps.data;
6392
6555
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1);
6393
- return jsx84("div", _extends({}, getStyleProps(props, "groupHeading", {
6556
+ return jsx87("div", _extends({}, getStyleProps(props, "groupHeading", {
6394
6557
  "group-heading": true
6395
6558
  }), innerProps));
6396
6559
  };
@@ -6442,11 +6605,11 @@ var inputStyle = function inputStyle2(isHidden) {
6442
6605
  var Input2 = function Input3(props) {
6443
6606
  var cx = props.cx, value = props.value;
6444
6607
  var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded3);
6445
- return jsx84("div", _extends({}, getStyleProps(props, "input", {
6608
+ return jsx87("div", _extends({}, getStyleProps(props, "input", {
6446
6609
  "input-container": true
6447
6610
  }), {
6448
6611
  "data-value": value || ""
6449
- }), jsx84("input", _extends({
6612
+ }), jsx87("input", _extends({
6450
6613
  className: cx({
6451
6614
  input: true
6452
6615
  }, inputClassName),
@@ -6500,35 +6663,35 @@ var multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3, unstyled) {
6500
6663
  };
6501
6664
  var MultiValueGeneric = function MultiValueGeneric2(_ref4) {
6502
6665
  var children = _ref4.children, innerProps = _ref4.innerProps;
6503
- return jsx84("div", innerProps, children);
6666
+ return jsx87("div", innerProps, children);
6504
6667
  };
6505
6668
  var MultiValueContainer = MultiValueGeneric;
6506
6669
  var MultiValueLabel = MultiValueGeneric;
6507
6670
  function MultiValueRemove(_ref5) {
6508
6671
  var children = _ref5.children, innerProps = _ref5.innerProps;
6509
- return jsx84("div", _extends({
6672
+ return jsx87("div", _extends({
6510
6673
  role: "button"
6511
- }, innerProps), children || jsx84(CrossIcon, {
6674
+ }, innerProps), children || jsx87(CrossIcon, {
6512
6675
  size: 14
6513
6676
  }));
6514
6677
  }
6515
6678
  var MultiValue = function MultiValue2(props) {
6516
6679
  var children = props.children, components2 = props.components, data = props.data, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps;
6517
6680
  var Container2 = components2.Container, Label3 = components2.Label, Remove = components2.Remove;
6518
- return jsx84(Container2, {
6681
+ return jsx87(Container2, {
6519
6682
  data,
6520
6683
  innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValue", {
6521
6684
  "multi-value": true,
6522
6685
  "multi-value--is-disabled": isDisabled
6523
6686
  })), innerProps),
6524
6687
  selectProps
6525
- }, jsx84(Label3, {
6688
+ }, jsx87(Label3, {
6526
6689
  data,
6527
6690
  innerProps: _objectSpread2({}, getStyleProps(props, "multiValueLabel", {
6528
6691
  "multi-value__label": true
6529
6692
  })),
6530
6693
  selectProps
6531
- }, children), jsx84(Remove, {
6694
+ }, children), jsx87(Remove, {
6532
6695
  data,
6533
6696
  innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValueRemove", {
6534
6697
  "multi-value__remove": true
@@ -6561,7 +6724,7 @@ var optionCSS = function optionCSS2(_ref3, unstyled) {
6561
6724
  };
6562
6725
  var Option = function Option2(props) {
6563
6726
  var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
6564
- return jsx84("div", _extends({}, getStyleProps(props, "option", {
6727
+ return jsx87("div", _extends({}, getStyleProps(props, "option", {
6565
6728
  option: true,
6566
6729
  "option--is-disabled": isDisabled,
6567
6730
  "option--is-focused": isFocused,
@@ -6585,7 +6748,7 @@ var placeholderCSS = function placeholderCSS2(_ref3, unstyled) {
6585
6748
  };
6586
6749
  var Placeholder = function Placeholder2(props) {
6587
6750
  var children = props.children, innerProps = props.innerProps;
6588
- return jsx84("div", _extends({}, getStyleProps(props, "placeholder", {
6751
+ return jsx87("div", _extends({}, getStyleProps(props, "placeholder", {
6589
6752
  placeholder: true
6590
6753
  }), innerProps), children);
6591
6754
  };
@@ -6607,7 +6770,7 @@ var css3 = function css4(_ref3, unstyled) {
6607
6770
  };
6608
6771
  var SingleValue = function SingleValue2(props) {
6609
6772
  var children = props.children, isDisabled = props.isDisabled, innerProps = props.innerProps;
6610
- return jsx84("div", _extends({}, getStyleProps(props, "singleValue", {
6773
+ return jsx87("div", _extends({}, getStyleProps(props, "singleValue", {
6611
6774
  "single-value": true,
6612
6775
  "single-value--is-disabled": isDisabled
6613
6776
  }), innerProps), children);
@@ -6709,7 +6872,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
6709
6872
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
6710
6873
  };
6711
6874
  var A11yText = function A11yText2(props) {
6712
- return jsx84("span", _extends({
6875
+ return jsx87("span", _extends({
6713
6876
  css: _ref
6714
6877
  }, props));
6715
6878
  };
@@ -6844,18 +7007,18 @@ var LiveRegion = function LiveRegion2(props) {
6844
7007
  }
6845
7008
  return guidanceMsg;
6846
7009
  }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
6847
- var ScreenReaderText = jsx84(Fragment8, null, jsx84("span", {
7010
+ var ScreenReaderText = jsx87(Fragment8, null, jsx87("span", {
6848
7011
  id: "aria-selection"
6849
- }, ariaSelected), jsx84("span", {
7012
+ }, ariaSelected), jsx87("span", {
6850
7013
  id: "aria-focused"
6851
- }, ariaFocused), jsx84("span", {
7014
+ }, ariaFocused), jsx87("span", {
6852
7015
  id: "aria-results"
6853
- }, ariaResults), jsx84("span", {
7016
+ }, ariaResults), jsx87("span", {
6854
7017
  id: "aria-guidance"
6855
7018
  }, ariaGuidance));
6856
- return jsx84(Fragment8, null, jsx84(A11yText$1, {
7019
+ return jsx87(Fragment8, null, jsx87(A11yText$1, {
6857
7020
  id
6858
- }, isInitialFocus && ScreenReaderText), jsx84(A11yText$1, {
7021
+ }, isInitialFocus && ScreenReaderText), jsx87(A11yText$1, {
6859
7022
  "aria-live": ariaLive,
6860
7023
  "aria-atomic": "false",
6861
7024
  "aria-relevant": "additions text",
@@ -7168,7 +7331,7 @@ var _excluded4 = ["innerRef"];
7168
7331
  function DummyInput(_ref3) {
7169
7332
  var innerRef = _ref3.innerRef, props = _objectWithoutProperties(_ref3, _excluded4);
7170
7333
  var filteredProps = removeProps(props, "onExited", "in", "enter", "exit", "appear");
7171
- return jsx84("input", _extends({
7334
+ return jsx87("input", _extends({
7172
7335
  ref: innerRef
7173
7336
  }, filteredProps, {
7174
7337
  css: /* @__PURE__ */ css({
@@ -7410,7 +7573,7 @@ function ScrollManager(_ref3) {
7410
7573
  setScrollCaptureTarget(element);
7411
7574
  setScrollLockTarget(element);
7412
7575
  };
7413
- return jsx84(Fragment8, null, lockEnabled && jsx84("div", {
7576
+ return jsx87(Fragment8, null, lockEnabled && jsx87("div", {
7414
7577
  onClick: blurSelectInput,
7415
7578
  css: _ref2$1
7416
7579
  }), children(targetRef));
@@ -7429,7 +7592,7 @@ var _ref22 = process.env.NODE_ENV === "production" ? {
7429
7592
  };
7430
7593
  var RequiredInput = function RequiredInput2(_ref3) {
7431
7594
  var name = _ref3.name, onFocus2 = _ref3.onFocus;
7432
- return jsx84("input", {
7595
+ return jsx87("input", {
7433
7596
  required: true,
7434
7597
  name,
7435
7598
  tabIndex: -1,
@@ -9004,7 +9167,7 @@ var import_typeof5 = __toESM(require_typeof());
9004
9167
  var import_taggedTemplateLiteral2 = __toESM(require_taggedTemplateLiteral());
9005
9168
  var import_defineProperty3 = __toESM(require_defineProperty());
9006
9169
  import "react-dom";
9007
- var StateManagedSelect = /* @__PURE__ */ forwardRef23(function(props, ref) {
9170
+ var StateManagedSelect = /* @__PURE__ */ forwardRef24(function(props, ref) {
9008
9171
  var baseSelectProps = useStateManager(props);
9009
9172
  return /* @__PURE__ */ React11.createElement(Select, _extends({
9010
9173
  ref
@@ -9076,8 +9239,8 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9076
9239
 
9077
9240
  // src/Multiselect/Multiselect.tsx
9078
9241
  import { useId } from "@react-aria/utils";
9079
- import { cn as cn49, useClassNames as useClassNames48 } from "@marigold/system";
9080
- import { jsx as jsx86, jsxs as jsxs30 } from "react/jsx-runtime";
9242
+ import { cn as cn49, useClassNames as useClassNames51 } from "@marigold/system";
9243
+ import { jsx as jsx89, jsxs as jsxs31 } from "react/jsx-runtime";
9081
9244
  var propsToBeRemoved = [
9082
9245
  "clearValue",
9083
9246
  "getStyles",
@@ -9103,7 +9266,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9103
9266
  },
9104
9267
  {}
9105
9268
  );
9106
- return /* @__PURE__ */ jsx86(
9269
+ return /* @__PURE__ */ jsx89(
9107
9270
  _Input2,
9108
9271
  {
9109
9272
  disabled: props.isDisabled,
@@ -9114,7 +9277,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9114
9277
  );
9115
9278
  };
9116
9279
  var MultiValueRemove2 = ({ innerProps }) => {
9117
- return /* @__PURE__ */ jsx86(Button10, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx86("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx86("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
9280
+ return /* @__PURE__ */ jsx89(Button11, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx89("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx89("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
9118
9281
  };
9119
9282
  var getClassNames = (classNames3) => ({
9120
9283
  control: () => cn49(
@@ -9148,7 +9311,7 @@ var Multiselect = ({
9148
9311
  onSelectionChange,
9149
9312
  ...rest
9150
9313
  }) => {
9151
- const classNames3 = useClassNames48({
9314
+ const classNames3 = useClassNames51({
9152
9315
  component: "MultiSelect",
9153
9316
  size: size2,
9154
9317
  variant
@@ -9166,7 +9329,7 @@ var Multiselect = ({
9166
9329
  label: props.label,
9167
9330
  errorMessage
9168
9331
  });
9169
- return /* @__PURE__ */ jsx86(
9332
+ return /* @__PURE__ */ jsx89(
9170
9333
  Provider2,
9171
9334
  {
9172
9335
  values: [
@@ -9196,7 +9359,7 @@ var Multiselect = ({
9196
9359
  }
9197
9360
  ]
9198
9361
  ],
9199
- children: /* @__PURE__ */ jsxs30(
9362
+ children: /* @__PURE__ */ jsxs31(
9200
9363
  "div",
9201
9364
  {
9202
9365
  className: cn49(classNames3.field, "group/field"),
@@ -9204,8 +9367,8 @@ var Multiselect = ({
9204
9367
  "data-invalid": error,
9205
9368
  "data-readonly": readOnly,
9206
9369
  children: [
9207
- props.label && /* @__PURE__ */ jsx86(_Label, { ...labelProps, children: props.label }),
9208
- /* @__PURE__ */ jsx86(
9370
+ props.label && /* @__PURE__ */ jsx89(_Label, { ...labelProps, children: props.label }),
9371
+ /* @__PURE__ */ jsx89(
9209
9372
  StateManagedSelect$1,
9210
9373
  {
9211
9374
  ...props,
@@ -9241,19 +9404,19 @@ var Multiselect = ({
9241
9404
  Input: Input4,
9242
9405
  MultiValueRemove: MultiValueRemove2,
9243
9406
  // eslint-disable-next-line react/prop-types
9244
- DropdownIndicator: ({ innerProps, isDisabled }) => /* @__PURE__ */ jsx86(
9407
+ DropdownIndicator: ({ innerProps, isDisabled }) => /* @__PURE__ */ jsx89(
9245
9408
  "button",
9246
9409
  {
9247
9410
  ...innerProps,
9248
9411
  disabled: isDisabled,
9249
9412
  className: classNames3.icon,
9250
- children: /* @__PURE__ */ jsx86(ChevronDown, { className: "size-4" })
9413
+ children: /* @__PURE__ */ jsx89(ChevronDown, { className: "size-4" })
9251
9414
  }
9252
9415
  )
9253
9416
  }
9254
9417
  }
9255
9418
  ),
9256
- /* @__PURE__ */ jsx86(HelpText, { description, errorMessage })
9419
+ /* @__PURE__ */ jsx89(HelpText, { description, errorMessage })
9257
9420
  ]
9258
9421
  }
9259
9422
  )
@@ -9262,15 +9425,15 @@ var Multiselect = ({
9262
9425
  };
9263
9426
 
9264
9427
  // src/NumberField/NumberField.tsx
9265
- import { forwardRef as forwardRef24 } from "react";
9428
+ import { forwardRef as forwardRef25 } from "react";
9266
9429
  import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
9267
- import { cn as cn51, useClassNames as useClassNames49 } from "@marigold/system";
9430
+ import { cn as cn51, useClassNames as useClassNames52 } from "@marigold/system";
9268
9431
 
9269
9432
  // src/NumberField/StepButton.tsx
9270
- import { Button as Button11 } from "react-aria-components";
9433
+ import { Button as Button12 } from "react-aria-components";
9271
9434
  import { cn as cn50 } from "@marigold/system";
9272
- import { jsx as jsx87 } from "react/jsx-runtime";
9273
- var Plus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx87(
9435
+ import { jsx as jsx90 } from "react/jsx-runtime";
9436
+ var Plus = () => /* @__PURE__ */ jsx90("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx90(
9274
9437
  "path",
9275
9438
  {
9276
9439
  fillRule: "evenodd",
@@ -9278,7 +9441,7 @@ var Plus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox:
9278
9441
  d: "M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z"
9279
9442
  }
9280
9443
  ) });
9281
- var Minus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx87(
9444
+ var Minus = () => /* @__PURE__ */ jsx90("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx90(
9282
9445
  "path",
9283
9446
  {
9284
9447
  fillRule: "evenodd",
@@ -9288,8 +9451,8 @@ var Minus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox:
9288
9451
  ) });
9289
9452
  var _StepButton = ({ direction, className, ...props }) => {
9290
9453
  const Icon4 = direction === "up" ? Plus : Minus;
9291
- return /* @__PURE__ */ jsx87(
9292
- Button11,
9454
+ return /* @__PURE__ */ jsx90(
9455
+ Button12,
9293
9456
  {
9294
9457
  className: cn50(
9295
9458
  [
@@ -9299,14 +9462,14 @@ var _StepButton = ({ direction, className, ...props }) => {
9299
9462
  className
9300
9463
  ),
9301
9464
  ...props,
9302
- children: /* @__PURE__ */ jsx87(Icon4, {})
9465
+ children: /* @__PURE__ */ jsx90(Icon4, {})
9303
9466
  }
9304
9467
  );
9305
9468
  };
9306
9469
 
9307
9470
  // src/NumberField/NumberField.tsx
9308
- import { jsx as jsx88, jsxs as jsxs31 } from "react/jsx-runtime";
9309
- var _NumberField = forwardRef24(
9471
+ import { jsx as jsx91, jsxs as jsxs32 } from "react/jsx-runtime";
9472
+ var _NumberField = forwardRef25(
9310
9473
  ({
9311
9474
  variant,
9312
9475
  size: size2,
@@ -9317,7 +9480,7 @@ var _NumberField = forwardRef24(
9317
9480
  hideStepper,
9318
9481
  ...rest
9319
9482
  }, ref) => {
9320
- const classNames3 = useClassNames49({
9483
+ const classNames3 = useClassNames52({
9321
9484
  component: "NumberField",
9322
9485
  size: size2,
9323
9486
  variant
@@ -9330,15 +9493,15 @@ var _NumberField = forwardRef24(
9330
9493
  ...rest
9331
9494
  };
9332
9495
  const showStepper = !hideStepper && !readOnly;
9333
- return /* @__PURE__ */ jsx88(
9496
+ return /* @__PURE__ */ jsx91(
9334
9497
  FieldBase,
9335
9498
  {
9336
9499
  as: NumberField,
9337
9500
  ...props,
9338
9501
  "data-readonly": readOnly ? "true" : void 0,
9339
9502
  "data-stepper": showStepper ? "true" : void 0,
9340
- children: /* @__PURE__ */ jsxs31(Group4, { className: cn51("flex items-stretch", classNames3.group), children: [
9341
- showStepper && /* @__PURE__ */ jsx88(
9503
+ children: /* @__PURE__ */ jsxs32(Group4, { className: cn51("flex items-stretch", classNames3.group), children: [
9504
+ showStepper && /* @__PURE__ */ jsx91(
9342
9505
  _StepButton,
9343
9506
  {
9344
9507
  className: classNames3.stepper,
@@ -9346,14 +9509,14 @@ var _NumberField = forwardRef24(
9346
9509
  slot: "decrement"
9347
9510
  }
9348
9511
  ),
9349
- /* @__PURE__ */ jsx88(
9512
+ /* @__PURE__ */ jsx91(
9350
9513
  Input5,
9351
9514
  {
9352
9515
  ref,
9353
9516
  className: cn51("h-full flex-1 outline-none", classNames3.input)
9354
9517
  }
9355
9518
  ),
9356
- showStepper && /* @__PURE__ */ jsx88(
9519
+ showStepper && /* @__PURE__ */ jsx91(
9357
9520
  _StepButton,
9358
9521
  {
9359
9522
  className: classNames3.stepper,
@@ -9370,12 +9533,12 @@ var _NumberField = forwardRef24(
9370
9533
  // src/Pagination/Pagination.tsx
9371
9534
  import { useEffect as useEffect4, useRef as useRef9, useState as useState5 } from "react";
9372
9535
  import { FocusScope as FocusScope2, useFocusManager } from "@react-aria/focus";
9373
- import { useClassNames as useClassNames52 } from "@marigold/system";
9536
+ import { useClassNames as useClassNames55 } from "@marigold/system";
9374
9537
 
9375
9538
  // src/Pagination/Ellipsis.tsx
9376
- import { jsx as jsx89 } from "react/jsx-runtime";
9539
+ import { jsx as jsx92 } from "react/jsx-runtime";
9377
9540
  var Ellipsis = () => {
9378
- return /* @__PURE__ */ jsx89(
9541
+ return /* @__PURE__ */ jsx92(
9379
9542
  "span",
9380
9543
  {
9381
9544
  className: "text-text-base flex h-8 w-8 items-center justify-center",
@@ -9388,11 +9551,11 @@ var Ellipsis = () => {
9388
9551
  // src/Pagination/NavigationButton.tsx
9389
9552
  import { useRef as useRef7 } from "react";
9390
9553
  import { useButton as useButton2 } from "@react-aria/button";
9391
- import { cn as cn52, useClassNames as useClassNames50 } from "@marigold/system";
9392
- import { jsxs as jsxs32 } from "react/jsx-runtime";
9554
+ import { cn as cn52, useClassNames as useClassNames53 } from "@marigold/system";
9555
+ import { jsxs as jsxs33 } from "react/jsx-runtime";
9393
9556
  var NavigationButton = (props) => {
9394
9557
  const ref = useRef7(null);
9395
- const classNames3 = useClassNames50({
9558
+ const classNames3 = useClassNames53({
9396
9559
  component: "Pagination"
9397
9560
  });
9398
9561
  let { buttonProps } = useButton2(props, ref);
@@ -9405,7 +9568,7 @@ var NavigationButton = (props) => {
9405
9568
  position: position2,
9406
9569
  ...rest
9407
9570
  } = props;
9408
- return /* @__PURE__ */ jsxs32(
9571
+ return /* @__PURE__ */ jsxs33(
9409
9572
  "button",
9410
9573
  {
9411
9574
  ref,
@@ -9426,16 +9589,16 @@ var NavigationButton = (props) => {
9426
9589
  // src/Pagination/PageButton.tsx
9427
9590
  import { useRef as useRef8 } from "react";
9428
9591
  import { useButton as useButton3 } from "@react-aria/button";
9429
- import { useClassNames as useClassNames51 } from "@marigold/system";
9430
- import { jsx as jsx90 } from "react/jsx-runtime";
9592
+ import { useClassNames as useClassNames54 } from "@marigold/system";
9593
+ import { jsx as jsx93 } from "react/jsx-runtime";
9431
9594
  var PageButton = (props) => {
9432
9595
  const ref = useRef8(null);
9433
- const classNames3 = useClassNames51({
9596
+ const classNames3 = useClassNames54({
9434
9597
  component: "Pagination"
9435
9598
  });
9436
9599
  let { buttonProps } = useButton3(props, ref);
9437
9600
  let { page, selected, isDisabled } = props;
9438
- return /* @__PURE__ */ jsx90(
9601
+ return /* @__PURE__ */ jsx93(
9439
9602
  "button",
9440
9603
  {
9441
9604
  ref,
@@ -9482,7 +9645,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
9482
9645
  };
9483
9646
 
9484
9647
  // src/Pagination/Pagination.tsx
9485
- import { Fragment as Fragment9, jsx as jsx91, jsxs as jsxs33 } from "react/jsx-runtime";
9648
+ import { Fragment as Fragment9, jsx as jsx94, jsxs as jsxs34 } from "react/jsx-runtime";
9486
9649
  var InnerPagination = ({
9487
9650
  currentPage,
9488
9651
  pageSize,
@@ -9509,7 +9672,7 @@ var InnerPagination = ({
9509
9672
  onChange2(newPage);
9510
9673
  }
9511
9674
  };
9512
- const classNames3 = useClassNames52({ component: "Pagination" });
9675
+ const classNames3 = useClassNames55({ component: "Pagination" });
9513
9676
  const handleKeyDown = (onEnter) => (e) => {
9514
9677
  if (e.key === "ArrowRight") {
9515
9678
  e.preventDefault();
@@ -9522,8 +9685,8 @@ var InnerPagination = ({
9522
9685
  onEnter();
9523
9686
  }
9524
9687
  };
9525
- return /* @__PURE__ */ jsxs33(Fragment9, { children: [
9526
- /* @__PURE__ */ jsx91(
9688
+ return /* @__PURE__ */ jsxs34(Fragment9, { children: [
9689
+ /* @__PURE__ */ jsx94(
9527
9690
  NavigationButton,
9528
9691
  {
9529
9692
  onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
@@ -9532,11 +9695,11 @@ var InnerPagination = ({
9532
9695
  controlLabel: controlLabels == null ? void 0 : controlLabels[0],
9533
9696
  position: "left",
9534
9697
  onKeyDown: handleKeyDown(() => handlePageChange(currentPage - 1)),
9535
- children: /* @__PURE__ */ jsx91(ChevronLeft, { className: classNames3.icon })
9698
+ children: /* @__PURE__ */ jsx94(ChevronLeft, { className: classNames3.icon })
9536
9699
  }
9537
9700
  ),
9538
- /* @__PURE__ */ jsx91("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
9539
- (pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx91(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx91(
9701
+ /* @__PURE__ */ jsx94("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
9702
+ (pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx94(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx94(
9540
9703
  PageButton,
9541
9704
  {
9542
9705
  page: pageNumber,
@@ -9546,8 +9709,8 @@ var InnerPagination = ({
9546
9709
  },
9547
9710
  pageNumber
9548
9711
  )
9549
- ) : /* @__PURE__ */ jsx91(PageButton, { page: 1, isDisabled: true }, 1) }),
9550
- /* @__PURE__ */ jsx91(
9712
+ ) : /* @__PURE__ */ jsx94(PageButton, { page: 1, isDisabled: true }, 1) }),
9713
+ /* @__PURE__ */ jsx94(
9551
9714
  NavigationButton,
9552
9715
  {
9553
9716
  onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
@@ -9556,7 +9719,7 @@ var InnerPagination = ({
9556
9719
  controlLabel: controlLabels == null ? void 0 : controlLabels[1],
9557
9720
  position: "right",
9558
9721
  onKeyDown: handleKeyDown(() => handlePageChange(currentPage + 1)),
9559
- children: /* @__PURE__ */ jsx91(ChevronRight, { className: classNames3.icon })
9722
+ children: /* @__PURE__ */ jsx94(ChevronRight, { className: classNames3.icon })
9560
9723
  }
9561
9724
  )
9562
9725
  ] });
@@ -9571,12 +9734,12 @@ var _Pagination = ({
9571
9734
  const [currentPage, setCurrentPage] = useState5(page != null ? page : defaultPage);
9572
9735
  const totalPages = Math.ceil(totalItems / pageSize);
9573
9736
  const pageRange = usePageRange({ currentPage, totalPages });
9574
- return /* @__PURE__ */ jsx91(
9737
+ return /* @__PURE__ */ jsx94(
9575
9738
  "nav",
9576
9739
  {
9577
9740
  className: "flex items-center justify-center space-x-2",
9578
9741
  "aria-label": `Page ${currentPage} of ${totalPages}`,
9579
- children: /* @__PURE__ */ jsx91(FocusScope2, { restoreFocus: true, children: /* @__PURE__ */ jsx91(
9742
+ children: /* @__PURE__ */ jsx94(FocusScope2, { restoreFocus: true, children: /* @__PURE__ */ jsx94(
9580
9743
  InnerPagination,
9581
9744
  {
9582
9745
  pageSize,
@@ -9593,10 +9756,10 @@ var _Pagination = ({
9593
9756
 
9594
9757
  // src/Radio/Radio.tsx
9595
9758
  import {
9596
- forwardRef as forwardRef25
9759
+ forwardRef as forwardRef26
9597
9760
  } from "react";
9598
9761
  import { Radio } from "react-aria-components";
9599
- import { cn as cn54, useClassNames as useClassNames54 } from "@marigold/system";
9762
+ import { cn as cn54, useClassNames as useClassNames57 } from "@marigold/system";
9600
9763
 
9601
9764
  // src/Radio/Context.ts
9602
9765
  import { createContext as createContext13, useContext as useContext23 } from "react";
@@ -9607,8 +9770,8 @@ var useRadioGroupContext = () => useContext23(RadioGroupContext);
9607
9770
 
9608
9771
  // src/Radio/RadioGroup.tsx
9609
9772
  import { RadioGroup } from "react-aria-components";
9610
- import { cn as cn53, useClassNames as useClassNames53 } from "@marigold/system";
9611
- import { jsx as jsx92 } from "react/jsx-runtime";
9773
+ import { cn as cn53, useClassNames as useClassNames56 } from "@marigold/system";
9774
+ import { jsx as jsx95 } from "react/jsx-runtime";
9612
9775
  var _RadioGroup = ({
9613
9776
  variant,
9614
9777
  size: size2,
@@ -9624,7 +9787,7 @@ var _RadioGroup = ({
9624
9787
  width,
9625
9788
  ...rest
9626
9789
  }) => {
9627
- const classNames3 = useClassNames53({ component: "Radio", variant, size: size2 });
9790
+ const classNames3 = useClassNames56({ component: "Radio", variant, size: size2 });
9628
9791
  const props = {
9629
9792
  isDisabled: disabled,
9630
9793
  isReadOnly: readOnly,
@@ -9632,7 +9795,7 @@ var _RadioGroup = ({
9632
9795
  isInvalid: error,
9633
9796
  ...rest
9634
9797
  };
9635
- return /* @__PURE__ */ jsx92(
9798
+ return /* @__PURE__ */ jsx95(
9636
9799
  FieldBase,
9637
9800
  {
9638
9801
  as: RadioGroup,
@@ -9643,7 +9806,7 @@ var _RadioGroup = ({
9643
9806
  variant,
9644
9807
  size: size2,
9645
9808
  ...props,
9646
- children: /* @__PURE__ */ jsx92(
9809
+ children: /* @__PURE__ */ jsx95(
9647
9810
  "div",
9648
9811
  {
9649
9812
  role: "presentation",
@@ -9654,7 +9817,7 @@ var _RadioGroup = ({
9654
9817
  "flex items-start",
9655
9818
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
9656
9819
  ),
9657
- children: /* @__PURE__ */ jsx92(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
9820
+ children: /* @__PURE__ */ jsx95(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
9658
9821
  }
9659
9822
  )
9660
9823
  }
@@ -9662,9 +9825,9 @@ var _RadioGroup = ({
9662
9825
  };
9663
9826
 
9664
9827
  // src/Radio/Radio.tsx
9665
- import { Fragment as Fragment10, jsx as jsx93, jsxs as jsxs34 } from "react/jsx-runtime";
9666
- var Dot = () => /* @__PURE__ */ jsx93("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx93("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
9667
- var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx93(
9828
+ import { Fragment as Fragment10, jsx as jsx96, jsxs as jsxs35 } from "react/jsx-runtime";
9829
+ var Dot = () => /* @__PURE__ */ jsx96("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx96("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
9830
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx96(
9668
9831
  "div",
9669
9832
  {
9670
9833
  className: cn54(
@@ -9673,18 +9836,18 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx93(
9673
9836
  ),
9674
9837
  "aria-hidden": "true",
9675
9838
  ...props,
9676
- children: checked ? /* @__PURE__ */ jsx93(Dot, {}) : null
9839
+ children: checked ? /* @__PURE__ */ jsx96(Dot, {}) : null
9677
9840
  }
9678
9841
  );
9679
- var _Radio = forwardRef25(
9842
+ var _Radio = forwardRef26(
9680
9843
  ({ value, disabled, width, children, ...props }, ref) => {
9681
9844
  const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
9682
- const classNames3 = useClassNames54({
9845
+ const classNames3 = useClassNames57({
9683
9846
  component: "Radio",
9684
9847
  variant: variant || props.variant,
9685
9848
  size: size2 || props.size
9686
9849
  });
9687
- return /* @__PURE__ */ jsx93(
9850
+ return /* @__PURE__ */ jsx96(
9688
9851
  Radio,
9689
9852
  {
9690
9853
  ref,
@@ -9697,8 +9860,8 @@ var _Radio = forwardRef25(
9697
9860
  value,
9698
9861
  isDisabled: disabled,
9699
9862
  ...props,
9700
- children: ({ isSelected }) => /* @__PURE__ */ jsxs34(Fragment10, { children: [
9701
- /* @__PURE__ */ jsx93(
9863
+ children: ({ isSelected }) => /* @__PURE__ */ jsxs35(Fragment10, { children: [
9864
+ /* @__PURE__ */ jsx96(
9702
9865
  Icon3,
9703
9866
  {
9704
9867
  checked: isSelected,
@@ -9708,7 +9871,7 @@ var _Radio = forwardRef25(
9708
9871
  )
9709
9872
  }
9710
9873
  ),
9711
- /* @__PURE__ */ jsx93("div", { className: classNames3.label, children })
9874
+ /* @__PURE__ */ jsx96("div", { className: classNames3.label, children })
9712
9875
  ] })
9713
9876
  }
9714
9877
  );
@@ -9717,10 +9880,10 @@ var _Radio = forwardRef25(
9717
9880
  _Radio.Group = _RadioGroup;
9718
9881
 
9719
9882
  // src/SearchField/SearchField.tsx
9720
- import { forwardRef as forwardRef26 } from "react";
9883
+ import { forwardRef as forwardRef27 } from "react";
9721
9884
  import { SearchField } from "react-aria-components";
9722
- import { jsx as jsx94 } from "react/jsx-runtime";
9723
- var _SearchField = forwardRef26(
9885
+ import { jsx as jsx97 } from "react/jsx-runtime";
9886
+ var _SearchField = forwardRef27(
9724
9887
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
9725
9888
  const props = {
9726
9889
  ...rest,
@@ -9729,7 +9892,7 @@ var _SearchField = forwardRef26(
9729
9892
  isReadOnly: readOnly,
9730
9893
  isInvalid: error
9731
9894
  };
9732
- return /* @__PURE__ */ jsx94(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx94(
9895
+ return /* @__PURE__ */ jsx97(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx97(
9733
9896
  SearchInput,
9734
9897
  {
9735
9898
  ref,
@@ -9740,11 +9903,11 @@ var _SearchField = forwardRef26(
9740
9903
  );
9741
9904
 
9742
9905
  // src/Select/Select.tsx
9743
- import { forwardRef as forwardRef27 } from "react";
9906
+ import { forwardRef as forwardRef28 } from "react";
9744
9907
  import { Select as Select2, SelectValue } from "react-aria-components";
9745
- import { cn as cn55, useClassNames as useClassNames55 } from "@marigold/system";
9746
- import { jsx as jsx95, jsxs as jsxs35 } from "react/jsx-runtime";
9747
- var _Select = forwardRef27(
9908
+ import { cn as cn55, useClassNames as useClassNames58 } from "@marigold/system";
9909
+ import { jsx as jsx98, jsxs as jsxs36 } from "react/jsx-runtime";
9910
+ var _Select = forwardRef28(
9748
9911
  ({
9749
9912
  disabled,
9750
9913
  required,
@@ -9764,9 +9927,9 @@ var _Select = forwardRef27(
9764
9927
  onSelectionChange: onChange2,
9765
9928
  ...rest
9766
9929
  };
9767
- const classNames3 = useClassNames55({ component: "Select", variant, size: size2 });
9768
- return /* @__PURE__ */ jsxs35(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
9769
- /* @__PURE__ */ jsxs35(
9930
+ const classNames3 = useClassNames58({ component: "Select", variant, size: size2 });
9931
+ return /* @__PURE__ */ jsxs36(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
9932
+ /* @__PURE__ */ jsxs36(
9770
9933
  IconButton,
9771
9934
  {
9772
9935
  className: cn55(
@@ -9774,12 +9937,12 @@ var _Select = forwardRef27(
9774
9937
  classNames3.select
9775
9938
  ),
9776
9939
  children: [
9777
- /* @__PURE__ */ jsx95(SelectValue, { className: "[&>[slot=description]]:hidden" }),
9778
- /* @__PURE__ */ jsx95(ChevronDown, { className: cn55("size-4", classNames3.icon) })
9940
+ /* @__PURE__ */ jsx98(SelectValue, { className: "[&>[slot=description]]:hidden" }),
9941
+ /* @__PURE__ */ jsx98(ChevronDown, { className: cn55("size-4", classNames3.icon) })
9779
9942
  ]
9780
9943
  }
9781
9944
  ),
9782
- /* @__PURE__ */ jsx95(_Popover, { children: /* @__PURE__ */ jsx95(_ListBox, { items, children: props.children }) })
9945
+ /* @__PURE__ */ jsx98(_Popover, { children: /* @__PURE__ */ jsx98(_ListBox, { items, children: props.children }) })
9783
9946
  ] });
9784
9947
  }
9785
9948
  );
@@ -9788,10 +9951,10 @@ _Select.Section = _ListBox.Section;
9788
9951
 
9789
9952
  // src/SelectList/SelectList.tsx
9790
9953
  import {
9791
- forwardRef as forwardRef29
9954
+ forwardRef as forwardRef30
9792
9955
  } from "react";
9793
9956
  import { GridList as SelectList } from "react-aria-components";
9794
- import { cn as cn57, useClassNames as useClassNames56 } from "@marigold/system";
9957
+ import { cn as cn57, useClassNames as useClassNames59 } from "@marigold/system";
9795
9958
 
9796
9959
  // src/SelectList/Context.ts
9797
9960
  import { createContext as createContext14, useContext as useContext24 } from "react";
@@ -9801,11 +9964,11 @@ var SelectListContext = createContext14(
9801
9964
  var useSelectListContext = () => useContext24(SelectListContext);
9802
9965
 
9803
9966
  // src/SelectList/SelectListItem.tsx
9804
- import { forwardRef as forwardRef28 } from "react";
9967
+ import { forwardRef as forwardRef29 } from "react";
9805
9968
  import { GridListItem as SelectListItem } from "react-aria-components";
9806
9969
  import { cn as cn56 } from "@marigold/system";
9807
- import { Fragment as Fragment11, jsx as jsx96, jsxs as jsxs36 } from "react/jsx-runtime";
9808
- var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx96("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx96(
9970
+ import { Fragment as Fragment11, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
9971
+ var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx99("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx99(
9809
9972
  "path",
9810
9973
  {
9811
9974
  fill: "currentColor",
@@ -9816,26 +9979,26 @@ var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx96("svg", { width: "12px"
9816
9979
  var SelectionIndicator = ({ selectionMode }) => {
9817
9980
  switch (selectionMode) {
9818
9981
  case "multiple": {
9819
- return /* @__PURE__ */ jsx96(_Checkbox, { slot: "selection" });
9982
+ return /* @__PURE__ */ jsx99(_Checkbox, { slot: "selection" });
9820
9983
  }
9821
9984
  case "single": {
9822
- return /* @__PURE__ */ jsx96(CheckMark3, { className: "invisible hidden" });
9985
+ return /* @__PURE__ */ jsx99(CheckMark3, { className: "invisible hidden" });
9823
9986
  }
9824
9987
  }
9825
9988
  };
9826
- var _SelectListItem = forwardRef28(
9989
+ var _SelectListItem = forwardRef29(
9827
9990
  ({ children, ...props }, ref) => {
9828
9991
  let textValue = typeof children === "string" ? children : void 0;
9829
9992
  const { classNames: classNames3 } = useSelectListContext();
9830
- return /* @__PURE__ */ jsx96(
9993
+ return /* @__PURE__ */ jsx99(
9831
9994
  SelectListItem,
9832
9995
  {
9833
9996
  textValue,
9834
9997
  ...props,
9835
9998
  className: cn56("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9836
9999
  ref,
9837
- children: ({ selectionMode }) => /* @__PURE__ */ jsxs36(Fragment11, { children: [
9838
- /* @__PURE__ */ jsx96(SelectionIndicator, { selectionMode }),
10000
+ children: ({ selectionMode }) => /* @__PURE__ */ jsxs37(Fragment11, { children: [
10001
+ /* @__PURE__ */ jsx99(SelectionIndicator, { selectionMode }),
9839
10002
  children
9840
10003
  ] })
9841
10004
  }
@@ -9844,15 +10007,15 @@ var _SelectListItem = forwardRef28(
9844
10007
  );
9845
10008
 
9846
10009
  // src/SelectList/SelectList.tsx
9847
- import { jsx as jsx97 } from "react/jsx-runtime";
9848
- var _SelectList = forwardRef29(
10010
+ import { jsx as jsx100 } from "react/jsx-runtime";
10011
+ var _SelectList = forwardRef30(
9849
10012
  ({ onChange: onChange2, ...rest }, ref) => {
9850
- const classNames3 = useClassNames56({ component: "ListBox" });
10013
+ const classNames3 = useClassNames59({ component: "ListBox" });
9851
10014
  const props = {
9852
10015
  onSelectionChange: onChange2,
9853
10016
  ...rest
9854
10017
  };
9855
- return /* @__PURE__ */ jsx97(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx97("div", { className: classNames3.container, children: /* @__PURE__ */ jsx97(
10018
+ return /* @__PURE__ */ jsx100(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx100("div", { className: classNames3.container, children: /* @__PURE__ */ jsx100(
9856
10019
  SelectList,
9857
10020
  {
9858
10021
  ...props,
@@ -9871,13 +10034,13 @@ _SelectList.Item = _SelectListItem;
9871
10034
 
9872
10035
  // src/Scrollable/Scrollable.tsx
9873
10036
  import { cn as cn58, createVar as createVar8, width as twWidth2 } from "@marigold/system";
9874
- import { jsx as jsx98 } from "react/jsx-runtime";
10037
+ import { jsx as jsx101 } from "react/jsx-runtime";
9875
10038
  var Scrollable = ({
9876
10039
  children,
9877
10040
  width = "full",
9878
10041
  height,
9879
10042
  ...props
9880
- }) => /* @__PURE__ */ jsx98(
10043
+ }) => /* @__PURE__ */ jsx101(
9881
10044
  "div",
9882
10045
  {
9883
10046
  ...props,
@@ -9888,7 +10051,7 @@ var Scrollable = ({
9888
10051
  );
9889
10052
 
9890
10053
  // src/Slider/Slider.tsx
9891
- import { forwardRef as forwardRef30 } from "react";
10054
+ import { forwardRef as forwardRef31 } from "react";
9892
10055
  import {
9893
10056
  Slider,
9894
10057
  SliderOutput,
@@ -9898,10 +10061,10 @@ import {
9898
10061
  import {
9899
10062
  cn as cn59,
9900
10063
  width as twWidth3,
9901
- useClassNames as useClassNames57
10064
+ useClassNames as useClassNames60
9902
10065
  } from "@marigold/system";
9903
- import { Fragment as Fragment12, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
9904
- var _Slider = forwardRef30(
10066
+ import { Fragment as Fragment12, jsx as jsx102, jsxs as jsxs38 } from "react/jsx-runtime";
10067
+ var _Slider = forwardRef31(
9905
10068
  ({
9906
10069
  thumbLabels,
9907
10070
  variant,
@@ -9911,7 +10074,7 @@ var _Slider = forwardRef30(
9911
10074
  label,
9912
10075
  ...rest
9913
10076
  }, ref) => {
9914
- const classNames3 = useClassNames57({
10077
+ const classNames3 = useClassNames60({
9915
10078
  component: "Slider",
9916
10079
  variant,
9917
10080
  size: size2
@@ -9920,7 +10083,7 @@ var _Slider = forwardRef30(
9920
10083
  isDisabled: disabled,
9921
10084
  ...rest
9922
10085
  };
9923
- return /* @__PURE__ */ jsxs37(
10086
+ return /* @__PURE__ */ jsxs38(
9924
10087
  FieldBase,
9925
10088
  {
9926
10089
  as: Slider,
@@ -9932,14 +10095,14 @@ var _Slider = forwardRef30(
9932
10095
  ref,
9933
10096
  ...props,
9934
10097
  children: [
9935
- label && /* @__PURE__ */ jsx99(_Label, { children: label }),
9936
- /* @__PURE__ */ jsx99(SliderOutput, { className: cn59("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
9937
- /* @__PURE__ */ jsx99(
10098
+ label && /* @__PURE__ */ jsx102(_Label, { children: label }),
10099
+ /* @__PURE__ */ jsx102(SliderOutput, { className: cn59("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
10100
+ /* @__PURE__ */ jsx102(
9938
10101
  SliderTrack,
9939
10102
  {
9940
10103
  className: cn59("relative col-span-2 h-2 w-full", classNames3.track),
9941
- children: ({ state }) => /* @__PURE__ */ jsxs37(Fragment12, { children: [
9942
- /* @__PURE__ */ jsx99(
10104
+ children: ({ state }) => /* @__PURE__ */ jsxs38(Fragment12, { children: [
10105
+ /* @__PURE__ */ jsx102(
9943
10106
  "div",
9944
10107
  {
9945
10108
  className: cn59(
@@ -9948,7 +10111,7 @@ var _Slider = forwardRef30(
9948
10111
  )
9949
10112
  }
9950
10113
  ),
9951
- /* @__PURE__ */ jsx99(
10114
+ /* @__PURE__ */ jsx102(
9952
10115
  "div",
9953
10116
  {
9954
10117
  className: cn59(
@@ -9961,7 +10124,7 @@ var _Slider = forwardRef30(
9961
10124
  }
9962
10125
  }
9963
10126
  ),
9964
- state.values.map((_, i) => /* @__PURE__ */ jsx99(
10127
+ state.values.map((_, i) => /* @__PURE__ */ jsx102(
9965
10128
  SliderThumb,
9966
10129
  {
9967
10130
  className: cn59("top-1/2 cursor-pointer", classNames3.thumb),
@@ -9981,12 +10144,12 @@ var _Slider = forwardRef30(
9981
10144
  );
9982
10145
 
9983
10146
  // src/Split/Split.tsx
9984
- import { jsx as jsx100 } from "react/jsx-runtime";
9985
- var Split = () => /* @__PURE__ */ jsx100("div", { role: "separator", className: "grow" });
10147
+ import { jsx as jsx103 } from "react/jsx-runtime";
10148
+ var Split = () => /* @__PURE__ */ jsx103("div", { role: "separator", className: "grow" });
9986
10149
 
9987
10150
  // src/Stack/Stack.tsx
9988
10151
  import { alignment as alignment3, cn as cn60, gapSpace as gapSpace8 } from "@marigold/system";
9989
- import { jsx as jsx101 } from "react/jsx-runtime";
10152
+ import { jsx as jsx104 } from "react/jsx-runtime";
9990
10153
  var Stack = ({
9991
10154
  children,
9992
10155
  space = 0,
@@ -9996,7 +10159,7 @@ var Stack = ({
9996
10159
  ...props
9997
10160
  }) => {
9998
10161
  var _a, _b, _c, _d;
9999
- return /* @__PURE__ */ jsx101(
10162
+ return /* @__PURE__ */ jsx104(
10000
10163
  "div",
10001
10164
  {
10002
10165
  className: cn60(
@@ -10013,15 +10176,15 @@ var Stack = ({
10013
10176
  };
10014
10177
 
10015
10178
  // src/Switch/Switch.tsx
10016
- import { forwardRef as forwardRef31 } from "react";
10179
+ import { forwardRef as forwardRef32 } from "react";
10017
10180
  import { Switch } from "react-aria-components";
10018
10181
  import {
10019
10182
  cn as cn61,
10020
10183
  width as twWidth4,
10021
- useClassNames as useClassNames58
10184
+ useClassNames as useClassNames61
10022
10185
  } from "@marigold/system";
10023
- import { jsx as jsx102, jsxs as jsxs38 } from "react/jsx-runtime";
10024
- var _Switch = forwardRef31(
10186
+ import { jsx as jsx105, jsxs as jsxs39 } from "react/jsx-runtime";
10187
+ var _Switch = forwardRef32(
10025
10188
  ({
10026
10189
  variant,
10027
10190
  size: size2,
@@ -10032,14 +10195,14 @@ var _Switch = forwardRef31(
10032
10195
  readOnly,
10033
10196
  ...rest
10034
10197
  }, ref) => {
10035
- const classNames3 = useClassNames58({ component: "Switch", size: size2, variant });
10198
+ const classNames3 = useClassNames61({ component: "Switch", size: size2, variant });
10036
10199
  const props = {
10037
10200
  isDisabled: disabled,
10038
10201
  isReadOnly: readOnly,
10039
10202
  isSelected: selected,
10040
10203
  ...rest
10041
10204
  };
10042
- return /* @__PURE__ */ jsxs38(
10205
+ return /* @__PURE__ */ jsxs39(
10043
10206
  Switch,
10044
10207
  {
10045
10208
  ...props,
@@ -10051,8 +10214,8 @@ var _Switch = forwardRef31(
10051
10214
  classNames3.container
10052
10215
  ),
10053
10216
  children: [
10054
- label && /* @__PURE__ */ jsx102(_Label, { elementType: "span", children: label }),
10055
- /* @__PURE__ */ jsx102("div", { className: "relative", children: /* @__PURE__ */ jsx102("div", { className: classNames3.track, children: /* @__PURE__ */ jsx102("div", { className: classNames3.thumb }) }) })
10217
+ label && /* @__PURE__ */ jsx105(_Label, { elementType: "span", children: label }),
10218
+ /* @__PURE__ */ jsx105("div", { className: "relative", children: /* @__PURE__ */ jsx105("div", { className: classNames3.track, children: /* @__PURE__ */ jsx105("div", { className: classNames3.thumb }) }) })
10056
10219
  ]
10057
10220
  }
10058
10221
  );
@@ -10070,7 +10233,7 @@ import {
10070
10233
  Row,
10071
10234
  useTableState
10072
10235
  } from "@react-stately/table";
10073
- import { cn as cn68, useClassNames as useClassNames60 } from "@marigold/system";
10236
+ import { cn as cn67, useClassNames as useClassNames63 } from "@marigold/system";
10074
10237
 
10075
10238
  // src/Table/Context.tsx
10076
10239
  import { createContext as createContext15, useContext as useContext25 } from "react";
@@ -10079,7 +10242,7 @@ var useTableContext = () => useContext25(TableContext);
10079
10242
 
10080
10243
  // src/Table/TableBody.tsx
10081
10244
  import { useTableRowGroup } from "@react-aria/table";
10082
- import { jsx as jsx103 } from "react/jsx-runtime";
10245
+ import { jsx as jsx106 } from "react/jsx-runtime";
10083
10246
  var TableBody = ({
10084
10247
  children,
10085
10248
  className,
@@ -10088,7 +10251,7 @@ var TableBody = ({
10088
10251
  const { rowGroupProps } = useTableRowGroup();
10089
10252
  const { state, classNames: classNames3 } = useTableContext();
10090
10253
  if (state.collection.size === 0 && emptyState) {
10091
- return /* @__PURE__ */ jsx103("tbody", { className, children: /* @__PURE__ */ jsx103("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx103(
10254
+ return /* @__PURE__ */ jsx106("tbody", { className, children: /* @__PURE__ */ jsx106("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx106(
10092
10255
  "td",
10093
10256
  {
10094
10257
  className: classNames3 == null ? void 0 : classNames3.cell,
@@ -10098,7 +10261,7 @@ var TableBody = ({
10098
10261
  }
10099
10262
  ) }) });
10100
10263
  }
10101
- return /* @__PURE__ */ jsx103("tbody", { ...rowGroupProps, className, children });
10264
+ return /* @__PURE__ */ jsx106("tbody", { ...rowGroupProps, className, children });
10102
10265
  };
10103
10266
 
10104
10267
  // src/Table/TableCell.tsx
@@ -10106,9 +10269,13 @@ import { useRef as useRef10 } from "react";
10106
10269
  import { useFocusRing } from "@react-aria/focus";
10107
10270
  import { useTableCell } from "@react-aria/table";
10108
10271
  import { mergeProps as mergeProps2 } from "@react-aria/utils";
10109
- import { cn as cn62, useStateProps } from "@marigold/system";
10110
- import { jsx as jsx104 } from "react/jsx-runtime";
10111
- var TableCell = ({ cell, align = "left" }) => {
10272
+ import { useStateProps } from "@marigold/system";
10273
+ import { jsx as jsx107 } from "react/jsx-runtime";
10274
+ var TableCell = ({
10275
+ cell,
10276
+ align = "left",
10277
+ alignY = "middle"
10278
+ }) => {
10112
10279
  const ref = useRef10(null);
10113
10280
  const { interactive, state, classNames: classNames3 } = useTableContext();
10114
10281
  const disabled = state.disabledKeys.has(cell.parentKey);
@@ -10130,14 +10297,15 @@ var TableCell = ({ cell, align = "left" }) => {
10130
10297
  };
10131
10298
  const { focusProps, isFocusVisible } = useFocusRing();
10132
10299
  const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
10133
- return /* @__PURE__ */ jsx104(
10300
+ return /* @__PURE__ */ jsx107(
10134
10301
  "td",
10135
10302
  {
10136
10303
  ref,
10137
- className: cn62(classNames3 == null ? void 0 : classNames3.cell),
10304
+ className: classNames3 == null ? void 0 : classNames3.cell,
10138
10305
  ...mergeProps2(cellProps, focusProps),
10139
10306
  ...stateProps,
10140
10307
  align,
10308
+ valign: alignY,
10141
10309
  children: cell.rendered
10142
10310
  }
10143
10311
  );
@@ -10148,7 +10316,7 @@ import { useRef as useRef11 } from "react";
10148
10316
  import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
10149
10317
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
10150
10318
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
10151
- import { cn as cn63, useStateProps as useStateProps2 } from "@marigold/system";
10319
+ import { cn as cn62, useStateProps as useStateProps2 } from "@marigold/system";
10152
10320
 
10153
10321
  // src/Table/utils.ts
10154
10322
  var mapCheckboxProps = ({
@@ -10171,8 +10339,11 @@ var mapCheckboxProps = ({
10171
10339
  };
10172
10340
 
10173
10341
  // src/Table/TableCheckboxCell.tsx
10174
- import { jsx as jsx105 } from "react/jsx-runtime";
10175
- var TableCheckboxCell = ({ cell }) => {
10342
+ import { jsx as jsx108 } from "react/jsx-runtime";
10343
+ var TableCheckboxCell = ({
10344
+ cell,
10345
+ alignY = "middle"
10346
+ }) => {
10176
10347
  const ref = useRef11(null);
10177
10348
  const { state, classNames: classNames3 } = useTableContext();
10178
10349
  const disabled = state.disabledKeys.has(cell.parentKey);
@@ -10188,14 +10359,15 @@ var TableCheckboxCell = ({ cell }) => {
10188
10359
  );
10189
10360
  const { focusProps, isFocusVisible } = useFocusRing2();
10190
10361
  const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
10191
- return /* @__PURE__ */ jsx105(
10362
+ return /* @__PURE__ */ jsx108(
10192
10363
  "td",
10193
10364
  {
10194
10365
  ref,
10195
- className: cn63("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
10366
+ className: cn62("leading-none", classNames3 == null ? void 0 : classNames3.cell),
10196
10367
  ...mergeProps3(gridCellProps, focusProps),
10197
10368
  ...stateProps,
10198
- children: /* @__PURE__ */ jsx105(_Checkbox, { ...checkboxProps })
10369
+ valign: alignY,
10370
+ children: /* @__PURE__ */ jsx108(_Checkbox, { ...checkboxProps })
10199
10371
  }
10200
10372
  );
10201
10373
  };
@@ -10206,8 +10378,8 @@ import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
10206
10378
  import { useHover } from "@react-aria/interactions";
10207
10379
  import { useTableColumnHeader } from "@react-aria/table";
10208
10380
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
10209
- import { cn as cn64, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
10210
- import { jsx as jsx106, jsxs as jsxs39 } from "react/jsx-runtime";
10381
+ import { cn as cn63, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
10382
+ import { jsx as jsx109, jsxs as jsxs40 } from "react/jsx-runtime";
10211
10383
  var TableColumnHeader = ({
10212
10384
  column: column2,
10213
10385
  width = "auto",
@@ -10229,18 +10401,18 @@ var TableColumnHeader = ({
10229
10401
  hover: isHovered,
10230
10402
  focusVisible: isFocusVisible
10231
10403
  });
10232
- return /* @__PURE__ */ jsxs39(
10404
+ return /* @__PURE__ */ jsxs40(
10233
10405
  "th",
10234
10406
  {
10235
10407
  colSpan: column2.colspan,
10236
10408
  ref,
10237
- className: cn64("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
10409
+ className: cn63("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
10238
10410
  ...mergeProps4(columnHeaderProps, hoverProps, focusProps),
10239
10411
  ...stateProps,
10240
10412
  align,
10241
10413
  children: [
10242
10414
  column2.rendered,
10243
- column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx106(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx106(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx106("span", { className: "hidden", children: /* @__PURE__ */ jsx106(SortDown, { className: "inline-block" }) }))
10415
+ column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx109(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx109(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx109("span", { className: "hidden", children: /* @__PURE__ */ jsx109(SortDown, { className: "inline-block" }) }))
10244
10416
  ]
10245
10417
  }
10246
10418
  );
@@ -10248,16 +10420,16 @@ var TableColumnHeader = ({
10248
10420
 
10249
10421
  // src/Table/TableHeader.tsx
10250
10422
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
10251
- import { cn as cn65 } from "@marigold/system";
10252
- import { jsx as jsx107 } from "react/jsx-runtime";
10423
+ import { cn as cn64 } from "@marigold/system";
10424
+ import { jsx as jsx110 } from "react/jsx-runtime";
10253
10425
  var TableHeader = ({ stickyHeader, children }) => {
10254
10426
  const { rowGroupProps } = useTableRowGroup2();
10255
10427
  const { classNames: classNames3 } = useTableContext();
10256
- return /* @__PURE__ */ jsx107(
10428
+ return /* @__PURE__ */ jsx110(
10257
10429
  "thead",
10258
10430
  {
10259
10431
  ...rowGroupProps,
10260
- className: cn65(
10432
+ className: cn64(
10261
10433
  classNames3 == null ? void 0 : classNames3.thead,
10262
10434
  // for sticky header &th needs to be sticky for b2b and core theme
10263
10435
  // for rui sticky is applied to thead
@@ -10271,7 +10443,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10271
10443
  // src/Table/TableHeaderRow.tsx
10272
10444
  import { useRef as useRef13 } from "react";
10273
10445
  import { useTableHeaderRow } from "@react-aria/table";
10274
- import { jsx as jsx108 } from "react/jsx-runtime";
10446
+ import { jsx as jsx111 } from "react/jsx-runtime";
10275
10447
  var TableHeaderRow = ({
10276
10448
  item,
10277
10449
  className,
@@ -10280,7 +10452,7 @@ var TableHeaderRow = ({
10280
10452
  const { state } = useTableContext();
10281
10453
  const ref = useRef13(null);
10282
10454
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
10283
- return /* @__PURE__ */ jsx108("tr", { ...rowProps, className, ref, children });
10455
+ return /* @__PURE__ */ jsx111("tr", { ...rowProps, className, ref, children });
10284
10456
  };
10285
10457
 
10286
10458
  // src/Table/TableRow.tsx
@@ -10289,13 +10461,13 @@ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
10289
10461
  import { useHover as useHover2 } from "@react-aria/interactions";
10290
10462
  import { useTableRow } from "@react-aria/table";
10291
10463
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
10292
- import { cn as cn66, useClassNames as useClassNames59, useStateProps as useStateProps4 } from "@marigold/system";
10293
- import { jsx as jsx109 } from "react/jsx-runtime";
10464
+ import { cn as cn65, useClassNames as useClassNames62, useStateProps as useStateProps4 } from "@marigold/system";
10465
+ import { jsx as jsx112 } from "react/jsx-runtime";
10294
10466
  var TableRow = ({ children, row }) => {
10295
10467
  const ref = useRef14(null);
10296
10468
  const { interactive, state, ...ctx } = useTableContext();
10297
10469
  const { variant, size: size2 } = row.props;
10298
- const classNames3 = useClassNames59({
10470
+ const classNames3 = useClassNames62({
10299
10471
  component: "Table",
10300
10472
  variant: variant || ctx.variant,
10301
10473
  size: size2 || ctx.size
@@ -10320,11 +10492,11 @@ var TableRow = ({ children, row }) => {
10320
10492
  focusVisible: isFocusVisible,
10321
10493
  active: isPressed
10322
10494
  });
10323
- return /* @__PURE__ */ jsx109(
10495
+ return /* @__PURE__ */ jsx112(
10324
10496
  "tr",
10325
10497
  {
10326
10498
  ref,
10327
- className: cn66(
10499
+ className: cn65(
10328
10500
  [
10329
10501
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
10330
10502
  ],
@@ -10347,11 +10519,11 @@ import {
10347
10519
  } from "@react-aria/table";
10348
10520
  import { mergeProps as mergeProps6 } from "@react-aria/utils";
10349
10521
  import {
10350
- cn as cn67,
10522
+ cn as cn66,
10351
10523
  width as twWidth6,
10352
10524
  useStateProps as useStateProps5
10353
10525
  } from "@marigold/system";
10354
- import { jsx as jsx110 } from "react/jsx-runtime";
10526
+ import { jsx as jsx113 } from "react/jsx-runtime";
10355
10527
  var TableSelectAllCell = ({
10356
10528
  column: column2,
10357
10529
  width = "auto",
@@ -10373,21 +10545,21 @@ var TableSelectAllCell = ({
10373
10545
  hover: isHovered,
10374
10546
  focusVisible: isFocusVisible
10375
10547
  });
10376
- return /* @__PURE__ */ jsx110(
10548
+ return /* @__PURE__ */ jsx113(
10377
10549
  "th",
10378
10550
  {
10379
10551
  ref,
10380
- className: cn67(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10552
+ className: cn66(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10381
10553
  ...mergeProps6(columnHeaderProps, hoverProps, focusProps),
10382
10554
  ...stateProps,
10383
10555
  align,
10384
- children: /* @__PURE__ */ jsx110(_Checkbox, { ...checkboxProps })
10556
+ children: /* @__PURE__ */ jsx113(_Checkbox, { ...checkboxProps })
10385
10557
  }
10386
10558
  );
10387
10559
  };
10388
10560
 
10389
10561
  // src/Table/Table.tsx
10390
- import { jsx as jsx111, jsxs as jsxs40 } from "react/jsx-runtime";
10562
+ import { jsx as jsx114, jsxs as jsxs41 } from "react/jsx-runtime";
10391
10563
  var Table = ({
10392
10564
  variant,
10393
10565
  size: size2,
@@ -10396,6 +10568,7 @@ var Table = ({
10396
10568
  disableKeyboardNavigation = false,
10397
10569
  stickyHeader,
10398
10570
  emptyState,
10571
+ alignY = "middle",
10399
10572
  ...props
10400
10573
  }) => {
10401
10574
  const interactive = selectionMode !== "none";
@@ -10410,21 +10583,21 @@ var Table = ({
10410
10583
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
10411
10584
  }
10412
10585
  const { gridProps } = useTable(props, state, tableRef);
10413
- const classNames3 = useClassNames60({
10586
+ const classNames3 = useClassNames63({
10414
10587
  component: "Table",
10415
10588
  variant,
10416
10589
  size: size2
10417
10590
  });
10418
10591
  const { collection } = state;
10419
- return /* @__PURE__ */ jsx111(
10592
+ return /* @__PURE__ */ jsx114(
10420
10593
  TableContext.Provider,
10421
10594
  {
10422
10595
  value: { state, interactive, classNames: classNames3, variant, size: size2 },
10423
- children: /* @__PURE__ */ jsxs40(
10596
+ children: /* @__PURE__ */ jsxs41(
10424
10597
  "table",
10425
10598
  {
10426
10599
  ref: tableRef,
10427
- className: cn68(
10600
+ className: cn67(
10428
10601
  "group/table",
10429
10602
  "border-collapse",
10430
10603
  stretch ? "table w-full" : "block",
@@ -10432,7 +10605,7 @@ var Table = ({
10432
10605
  ),
10433
10606
  ...gridProps,
10434
10607
  children: [
10435
- /* @__PURE__ */ jsx111(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx111(
10608
+ /* @__PURE__ */ jsx114(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx114(
10436
10609
  TableHeaderRow,
10437
10610
  {
10438
10611
  item: headerRow,
@@ -10440,7 +10613,7 @@ var Table = ({
10440
10613
  children: [...collection.getChildren(headerRow.key)].map(
10441
10614
  (column2) => {
10442
10615
  var _a, _b, _c, _d, _e;
10443
- return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx111(
10616
+ return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx114(
10444
10617
  TableSelectAllCell,
10445
10618
  {
10446
10619
  width: (_b = column2.props) == null ? void 0 : _b.width,
@@ -10448,7 +10621,7 @@ var Table = ({
10448
10621
  align: (_c = column2.props) == null ? void 0 : _c.align
10449
10622
  },
10450
10623
  column2.key
10451
- ) : /* @__PURE__ */ jsx111(
10624
+ ) : /* @__PURE__ */ jsx114(
10452
10625
  TableColumnHeader,
10453
10626
  {
10454
10627
  width: (_d = column2.props) == null ? void 0 : _d.width,
@@ -10462,15 +10635,23 @@ var Table = ({
10462
10635
  },
10463
10636
  headerRow.key
10464
10637
  )) }),
10465
- /* @__PURE__ */ jsxs40(TableBody, { className: classNames3.body, emptyState, children: [
10638
+ /* @__PURE__ */ jsxs41(TableBody, { className: classNames3.body, emptyState, children: [
10466
10639
  ...collection.rows.map(
10467
- (row) => row.type === "item" && /* @__PURE__ */ jsx111(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
10640
+ (row) => row.type === "item" && /* @__PURE__ */ jsx114(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
10468
10641
  var _a, _b;
10469
10642
  const currentColumn = collection.columns[index2];
10470
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx111(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx111(
10643
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx114(
10644
+ TableCheckboxCell,
10645
+ {
10646
+ cell,
10647
+ alignY
10648
+ },
10649
+ cell.key
10650
+ ) : /* @__PURE__ */ jsx114(
10471
10651
  TableCell,
10472
10652
  {
10473
10653
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
10654
+ alignY,
10474
10655
  cell
10475
10656
  },
10476
10657
  cell.key
@@ -10493,16 +10674,16 @@ Table.Row = Row;
10493
10674
  // src/Text/Text.tsx
10494
10675
  import { Text as Text2 } from "react-aria-components";
10495
10676
  import {
10496
- cn as cn69,
10677
+ cn as cn68,
10497
10678
  cursorStyle,
10498
10679
  ensureCssVar as ensureCssVar2,
10499
10680
  fontWeight,
10500
10681
  textAlign as textAlign2,
10501
10682
  textSize,
10502
10683
  textStyle,
10503
- useClassNames as useClassNames61
10684
+ useClassNames as useClassNames64
10504
10685
  } from "@marigold/system";
10505
- import { jsx as jsx112 } from "react/jsx-runtime";
10686
+ import { jsx as jsx115 } from "react/jsx-runtime";
10506
10687
  var _Text = ({
10507
10688
  variant,
10508
10689
  size: size2,
@@ -10516,19 +10697,19 @@ var _Text = ({
10516
10697
  as = "div",
10517
10698
  ...props
10518
10699
  }) => {
10519
- const classNames3 = useClassNames61({
10700
+ const classNames3 = useClassNames64({
10520
10701
  component: "Text",
10521
10702
  variant,
10522
10703
  size: size2
10523
10704
  });
10524
10705
  const Component2 = props.slot ? Text2 : as;
10525
10706
  const elementType = props.slot ? { elementType: as } : {};
10526
- return /* @__PURE__ */ jsx112(
10707
+ return /* @__PURE__ */ jsx115(
10527
10708
  Component2,
10528
10709
  {
10529
10710
  ...props,
10530
10711
  ...elementType,
10531
- className: cn69(
10712
+ className: cn68(
10532
10713
  "max-w-(--maxTextWidth)",
10533
10714
  // possibly set by a <Container>
10534
10715
  classNames3,
@@ -10545,11 +10726,11 @@ var _Text = ({
10545
10726
  };
10546
10727
 
10547
10728
  // src/TextArea/TextArea.tsx
10548
- import { forwardRef as forwardRef32 } from "react";
10729
+ import { forwardRef as forwardRef33 } from "react";
10549
10730
  import { TextArea, TextField } from "react-aria-components";
10550
- import { useClassNames as useClassNames62 } from "@marigold/system";
10551
- import { jsx as jsx113 } from "react/jsx-runtime";
10552
- var _TextArea = forwardRef32(
10731
+ import { useClassNames as useClassNames65 } from "@marigold/system";
10732
+ import { jsx as jsx116 } from "react/jsx-runtime";
10733
+ var _TextArea = forwardRef33(
10553
10734
  ({
10554
10735
  variant,
10555
10736
  size: size2,
@@ -10560,7 +10741,7 @@ var _TextArea = forwardRef32(
10560
10741
  rows,
10561
10742
  ...rest
10562
10743
  }, ref) => {
10563
- const classNames3 = useClassNames62({ component: "TextArea", variant, size: size2 });
10744
+ const classNames3 = useClassNames65({ component: "TextArea", variant, size: size2 });
10564
10745
  const props = {
10565
10746
  isDisabled: disabled,
10566
10747
  isReadOnly: readOnly,
@@ -10568,15 +10749,15 @@ var _TextArea = forwardRef32(
10568
10749
  isRequired: required,
10569
10750
  ...rest
10570
10751
  };
10571
- return /* @__PURE__ */ jsx113(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx113(TextArea, { className: classNames3, ref, rows }) });
10752
+ return /* @__PURE__ */ jsx116(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx116(TextArea, { className: classNames3, ref, rows }) });
10572
10753
  }
10573
10754
  );
10574
10755
 
10575
10756
  // src/TextField/TextField.tsx
10576
- import { forwardRef as forwardRef33 } from "react";
10757
+ import { forwardRef as forwardRef34 } from "react";
10577
10758
  import { TextField as TextField2 } from "react-aria-components";
10578
- import { jsx as jsx114 } from "react/jsx-runtime";
10579
- var _TextField = forwardRef33(
10759
+ import { jsx as jsx117 } from "react/jsx-runtime";
10760
+ var _TextField = forwardRef34(
10580
10761
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
10581
10762
  const props = {
10582
10763
  isDisabled: disabled,
@@ -10585,13 +10766,13 @@ var _TextField = forwardRef33(
10585
10766
  isRequired: required,
10586
10767
  ...rest
10587
10768
  };
10588
- return /* @__PURE__ */ jsx114(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx114(_Input, { ref }) });
10769
+ return /* @__PURE__ */ jsx117(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx117(_Input, { ref }) });
10589
10770
  }
10590
10771
  );
10591
10772
 
10592
10773
  // src/Tiles/Tiles.tsx
10593
- import { cn as cn70, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
10594
- import { jsx as jsx115 } from "react/jsx-runtime";
10774
+ import { cn as cn69, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
10775
+ import { jsx as jsx118 } from "react/jsx-runtime";
10595
10776
  var Tiles = ({
10596
10777
  space = 0,
10597
10778
  stretch = false,
@@ -10604,11 +10785,11 @@ var Tiles = ({
10604
10785
  if (stretch) {
10605
10786
  column2 = `minmax(${column2}, 1fr)`;
10606
10787
  }
10607
- return /* @__PURE__ */ jsx115(
10788
+ return /* @__PURE__ */ jsx118(
10608
10789
  "div",
10609
10790
  {
10610
10791
  ...props,
10611
- className: cn70(
10792
+ className: cn69(
10612
10793
  "grid",
10613
10794
  gapSpace9[space],
10614
10795
  "grid-cols-[repeat(auto-fit,var(--column))]",
@@ -10622,11 +10803,11 @@ var Tiles = ({
10622
10803
 
10623
10804
  // src/Tooltip/Tooltip.tsx
10624
10805
  import { OverlayArrow, Tooltip } from "react-aria-components";
10625
- import { cn as cn71, useClassNames as useClassNames63 } from "@marigold/system";
10806
+ import { cn as cn70, useClassNames as useClassNames66 } from "@marigold/system";
10626
10807
 
10627
10808
  // src/Tooltip/TooltipTrigger.tsx
10628
10809
  import { TooltipTrigger } from "react-aria-components";
10629
- import { jsx as jsx116 } from "react/jsx-runtime";
10810
+ import { jsx as jsx119 } from "react/jsx-runtime";
10630
10811
  var _TooltipTrigger = ({
10631
10812
  delay = 1e3,
10632
10813
  children,
@@ -10640,26 +10821,26 @@ var _TooltipTrigger = ({
10640
10821
  isOpen: open,
10641
10822
  delay
10642
10823
  };
10643
- return /* @__PURE__ */ jsx116(TooltipTrigger, { ...props, children });
10824
+ return /* @__PURE__ */ jsx119(TooltipTrigger, { ...props, children });
10644
10825
  };
10645
10826
 
10646
10827
  // src/Tooltip/Tooltip.tsx
10647
- import { jsx as jsx117, jsxs as jsxs41 } from "react/jsx-runtime";
10828
+ import { jsx as jsx120, jsxs as jsxs42 } from "react/jsx-runtime";
10648
10829
  var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10649
10830
  const props = {
10650
10831
  ...rest,
10651
10832
  isOpen: open
10652
10833
  };
10653
- const classNames3 = useClassNames63({ component: "Tooltip", variant, size: size2 });
10834
+ const classNames3 = useClassNames66({ component: "Tooltip", variant, size: size2 });
10654
10835
  const portal = usePortalContainer();
10655
- return /* @__PURE__ */ jsxs41(
10836
+ return /* @__PURE__ */ jsxs42(
10656
10837
  Tooltip,
10657
10838
  {
10658
10839
  ...props,
10659
- className: cn71("group/tooltip", classNames3.container),
10840
+ className: cn70("group/tooltip", classNames3.container),
10660
10841
  UNSTABLE_portalContainer: portal,
10661
10842
  children: [
10662
- /* @__PURE__ */ jsx117(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx117("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx117("path", { d: "M0 0 L4 4 L8 0" }) }) }),
10843
+ /* @__PURE__ */ jsx120(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx120("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx120("path", { d: "M0 0 L4 4 L8 0" }) }) }),
10663
10844
  children
10664
10845
  ]
10665
10846
  }
@@ -10669,22 +10850,22 @@ _Tooltip.Trigger = _TooltipTrigger;
10669
10850
 
10670
10851
  // src/TagGroup/Tag.tsx
10671
10852
  import { Tag } from "react-aria-components";
10672
- import { cn as cn72, useClassNames as useClassNames65 } from "@marigold/system";
10853
+ import { cn as cn71, useClassNames as useClassNames68 } from "@marigold/system";
10673
10854
 
10674
10855
  // src/TagGroup/TagGroup.tsx
10675
10856
  import { TagGroup, TagList } from "react-aria-components";
10676
- import { useClassNames as useClassNames64 } from "@marigold/system";
10857
+ import { useClassNames as useClassNames67 } from "@marigold/system";
10677
10858
 
10678
10859
  // src/TagGroup/TagGroupHiddenInput.tsx
10679
10860
  import { useContext as useContext26 } from "react";
10680
10861
  import { ListStateContext } from "react-aria-components";
10681
- import { jsx as jsx118 } from "react/jsx-runtime";
10862
+ import { jsx as jsx121 } from "react/jsx-runtime";
10682
10863
  var TagGroupHiddenInput = ({ name }) => {
10683
10864
  var _a;
10684
10865
  const state = useContext26(ListStateContext);
10685
10866
  const selectedKeys = Array.from((_a = state == null ? void 0 : state.selectionManager.selectedKeys) != null ? _a : []);
10686
10867
  if (!selectedKeys.length) return null;
10687
- return /* @__PURE__ */ jsx118("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ jsx118(
10868
+ return /* @__PURE__ */ jsx121("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ jsx121(
10688
10869
  "input",
10689
10870
  {
10690
10871
  type: "checkbox",
@@ -10698,7 +10879,7 @@ var TagGroupHiddenInput = ({ name }) => {
10698
10879
  };
10699
10880
 
10700
10881
  // src/TagGroup/TagGroup.tsx
10701
- import { jsx as jsx119, jsxs as jsxs42 } from "react/jsx-runtime";
10882
+ import { jsx as jsx122, jsxs as jsxs43 } from "react/jsx-runtime";
10702
10883
  var _TagGroup = ({
10703
10884
  width,
10704
10885
  items,
@@ -10709,9 +10890,9 @@ var _TagGroup = ({
10709
10890
  name,
10710
10891
  ...rest
10711
10892
  }) => {
10712
- const classNames3 = useClassNames64({ component: "Tag", variant, size: size2 });
10713
- return /* @__PURE__ */ jsxs42(FieldBase, { as: TagGroup, ...rest, children: [
10714
- /* @__PURE__ */ jsx119(
10893
+ const classNames3 = useClassNames67({ component: "Tag", variant, size: size2 });
10894
+ return /* @__PURE__ */ jsxs43(FieldBase, { as: TagGroup, ...rest, children: [
10895
+ /* @__PURE__ */ jsx122(
10715
10896
  TagList,
10716
10897
  {
10717
10898
  items,
@@ -10720,28 +10901,28 @@ var _TagGroup = ({
10720
10901
  children
10721
10902
  }
10722
10903
  ),
10723
- name ? /* @__PURE__ */ jsx119(TagGroupHiddenInput, { name }) : null
10904
+ name ? /* @__PURE__ */ jsx122(TagGroupHiddenInput, { name }) : null
10724
10905
  ] });
10725
10906
  };
10726
10907
 
10727
10908
  // src/TagGroup/Tag.tsx
10728
- import { Fragment as Fragment13, jsx as jsx120, jsxs as jsxs43 } from "react/jsx-runtime";
10909
+ import { Fragment as Fragment13, jsx as jsx123, jsxs as jsxs44 } from "react/jsx-runtime";
10729
10910
  var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10730
10911
  let textValue = typeof children === "string" ? children : void 0;
10731
- const classNames3 = useClassNames65({ component: "Tag", variant, size: size2 });
10912
+ const classNames3 = useClassNames68({ component: "Tag", variant, size: size2 });
10732
10913
  const props = {
10733
10914
  isDisabled: disabled,
10734
10915
  ...rest
10735
10916
  };
10736
- return /* @__PURE__ */ jsx120(
10917
+ return /* @__PURE__ */ jsx123(
10737
10918
  Tag,
10738
10919
  {
10739
10920
  textValue,
10740
10921
  ...props,
10741
- className: cn72("data-selection-mode:cursor-pointer", classNames3.tag),
10742
- children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs43(Fragment13, { children: [
10922
+ className: cn71("data-selection-mode:cursor-pointer", classNames3.tag),
10923
+ children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs44(Fragment13, { children: [
10743
10924
  children,
10744
- allowsRemoving && /* @__PURE__ */ jsx120(CloseButton, { className: classNames3.closeButton, slot: "remove" })
10925
+ allowsRemoving && /* @__PURE__ */ jsx123(CloseButton, { className: classNames3.closeButton, slot: "remove" })
10745
10926
  ] })
10746
10927
  }
10747
10928
  );
@@ -10752,14 +10933,14 @@ _Tag.Group = _TagGroup;
10752
10933
  import { VisuallyHidden } from "@react-aria/visually-hidden";
10753
10934
 
10754
10935
  // src/XLoader/XLoader.tsx
10755
- import { Dialog as Dialog4, Modal as Modal2 } from "react-aria-components";
10936
+ import { Dialog as Dialog5, Modal as Modal2 } from "react-aria-components";
10756
10937
  import { useId as useId2 } from "@react-aria/utils";
10757
- import { useClassNames as useClassNames67 } from "@marigold/system";
10938
+ import { useClassNames as useClassNames70 } from "@marigold/system";
10758
10939
 
10759
10940
  // src/XLoader/BaseLoader.tsx
10760
10941
  import { Label as Label2, ProgressBar as ProgressBar2 } from "react-aria-components";
10761
10942
  import { useLocalizedStringFormatter as useLocalizedStringFormatter2 } from "@react-aria/i18n";
10762
- import { useClassNames as useClassNames66 } from "@marigold/system";
10943
+ import { useClassNames as useClassNames69 } from "@marigold/system";
10763
10944
 
10764
10945
  // src/intl/messages.ts
10765
10946
  var intlMessages2 = {
@@ -10772,7 +10953,7 @@ var intlMessages2 = {
10772
10953
  };
10773
10954
 
10774
10955
  // src/XLoader/BaseLoader.tsx
10775
- import { jsx as jsx121, jsxs as jsxs44 } from "react/jsx-runtime";
10956
+ import { jsx as jsx124, jsxs as jsxs45 } from "react/jsx-runtime";
10776
10957
  var BaseLoader = ({
10777
10958
  variant,
10778
10959
  size: size2,
@@ -10781,8 +10962,8 @@ var BaseLoader = ({
10781
10962
  ...props
10782
10963
  }) => {
10783
10964
  const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
10784
- const className = useClassNames66({ component: "XLoader", variant, size: size2 });
10785
- return /* @__PURE__ */ jsxs44(
10965
+ const className = useClassNames69({ component: "XLoader", variant, size: size2 });
10966
+ return /* @__PURE__ */ jsxs45(
10786
10967
  ProgressBar2,
10787
10968
  {
10788
10969
  className: className.container,
@@ -10790,7 +10971,7 @@ var BaseLoader = ({
10790
10971
  "aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
10791
10972
  ...props,
10792
10973
  children: [
10793
- /* @__PURE__ */ jsxs44(
10974
+ /* @__PURE__ */ jsxs45(
10794
10975
  "svg",
10795
10976
  {
10796
10977
  xmlns: "http://www.w3.org/2000/svg",
@@ -10798,13 +10979,13 @@ var BaseLoader = ({
10798
10979
  fill: "currentColor",
10799
10980
  className: className.loader,
10800
10981
  children: [
10801
- /* @__PURE__ */ jsx121("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
10802
- /* @__PURE__ */ jsx121(
10982
+ /* @__PURE__ */ jsx124("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
10983
+ /* @__PURE__ */ jsx124(
10803
10984
  "path",
10804
10985
  {
10805
10986
  id: "XMLID_5_",
10806
10987
  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",
10807
- children: /* @__PURE__ */ jsx121(
10988
+ children: /* @__PURE__ */ jsx124(
10808
10989
  "animate",
10809
10990
  {
10810
10991
  attributeName: "opacity",
@@ -10817,12 +10998,12 @@ var BaseLoader = ({
10817
10998
  )
10818
10999
  }
10819
11000
  ),
10820
- /* @__PURE__ */ jsx121(
11001
+ /* @__PURE__ */ jsx124(
10821
11002
  "path",
10822
11003
  {
10823
11004
  id: "XMLID_18_",
10824
11005
  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",
10825
- children: /* @__PURE__ */ jsx121(
11006
+ children: /* @__PURE__ */ jsx124(
10826
11007
  "animate",
10827
11008
  {
10828
11009
  attributeName: "opacity",
@@ -10835,12 +11016,12 @@ var BaseLoader = ({
10835
11016
  )
10836
11017
  }
10837
11018
  ),
10838
- /* @__PURE__ */ jsx121(
11019
+ /* @__PURE__ */ jsx124(
10839
11020
  "path",
10840
11021
  {
10841
11022
  id: "XMLID_19_",
10842
11023
  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",
10843
- children: /* @__PURE__ */ jsx121(
11024
+ children: /* @__PURE__ */ jsx124(
10844
11025
  "animate",
10845
11026
  {
10846
11027
  attributeName: "opacity",
@@ -10853,12 +11034,12 @@ var BaseLoader = ({
10853
11034
  )
10854
11035
  }
10855
11036
  ),
10856
- /* @__PURE__ */ jsx121(
11037
+ /* @__PURE__ */ jsx124(
10857
11038
  "path",
10858
11039
  {
10859
11040
  id: "XMLID_20_",
10860
11041
  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",
10861
- children: /* @__PURE__ */ jsx121(
11042
+ children: /* @__PURE__ */ jsx124(
10862
11043
  "animate",
10863
11044
  {
10864
11045
  attributeName: "opacity",
@@ -10871,12 +11052,12 @@ var BaseLoader = ({
10871
11052
  )
10872
11053
  }
10873
11054
  ),
10874
- /* @__PURE__ */ jsx121(
11055
+ /* @__PURE__ */ jsx124(
10875
11056
  "path",
10876
11057
  {
10877
11058
  id: "XMLID_21_",
10878
11059
  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",
10879
- children: /* @__PURE__ */ jsx121(
11060
+ children: /* @__PURE__ */ jsx124(
10880
11061
  "animate",
10881
11062
  {
10882
11063
  attributeName: "opacity",
@@ -10889,12 +11070,12 @@ var BaseLoader = ({
10889
11070
  )
10890
11071
  }
10891
11072
  ),
10892
- /* @__PURE__ */ jsx121(
11073
+ /* @__PURE__ */ jsx124(
10893
11074
  "path",
10894
11075
  {
10895
11076
  id: "XMLID_22_",
10896
11077
  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",
10897
- children: /* @__PURE__ */ jsx121(
11078
+ children: /* @__PURE__ */ jsx124(
10898
11079
  "animate",
10899
11080
  {
10900
11081
  attributeName: "opacity",
@@ -10907,12 +11088,12 @@ var BaseLoader = ({
10907
11088
  )
10908
11089
  }
10909
11090
  ),
10910
- /* @__PURE__ */ jsx121(
11091
+ /* @__PURE__ */ jsx124(
10911
11092
  "path",
10912
11093
  {
10913
11094
  id: "XMLID_23_",
10914
11095
  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",
10915
- children: /* @__PURE__ */ jsx121(
11096
+ children: /* @__PURE__ */ jsx124(
10916
11097
  "animate",
10917
11098
  {
10918
11099
  attributeName: "opacity",
@@ -10925,12 +11106,12 @@ var BaseLoader = ({
10925
11106
  )
10926
11107
  }
10927
11108
  ),
10928
- /* @__PURE__ */ jsx121(
11109
+ /* @__PURE__ */ jsx124(
10929
11110
  "path",
10930
11111
  {
10931
11112
  id: "XMLID_24_",
10932
11113
  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",
10933
- children: /* @__PURE__ */ jsx121(
11114
+ children: /* @__PURE__ */ jsx124(
10934
11115
  "animate",
10935
11116
  {
10936
11117
  attributeName: "opacity",
@@ -10943,12 +11124,12 @@ var BaseLoader = ({
10943
11124
  )
10944
11125
  }
10945
11126
  ),
10946
- /* @__PURE__ */ jsx121(
11127
+ /* @__PURE__ */ jsx124(
10947
11128
  "path",
10948
11129
  {
10949
11130
  id: "XMLID_25_",
10950
11131
  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",
10951
- children: /* @__PURE__ */ jsx121(
11132
+ children: /* @__PURE__ */ jsx124(
10952
11133
  "animate",
10953
11134
  {
10954
11135
  attributeName: "opacity",
@@ -10961,12 +11142,12 @@ var BaseLoader = ({
10961
11142
  )
10962
11143
  }
10963
11144
  ),
10964
- /* @__PURE__ */ jsx121(
11145
+ /* @__PURE__ */ jsx124(
10965
11146
  "path",
10966
11147
  {
10967
11148
  id: "XMLID_26_",
10968
11149
  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",
10969
- children: /* @__PURE__ */ jsx121(
11150
+ children: /* @__PURE__ */ jsx124(
10970
11151
  "animate",
10971
11152
  {
10972
11153
  attributeName: "opacity",
@@ -10979,12 +11160,12 @@ var BaseLoader = ({
10979
11160
  )
10980
11161
  }
10981
11162
  ),
10982
- /* @__PURE__ */ jsx121(
11163
+ /* @__PURE__ */ jsx124(
10983
11164
  "path",
10984
11165
  {
10985
11166
  id: "XMLID_27_",
10986
11167
  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",
10987
- children: /* @__PURE__ */ jsx121(
11168
+ children: /* @__PURE__ */ jsx124(
10988
11169
  "animate",
10989
11170
  {
10990
11171
  attributeName: "opacity",
@@ -11000,31 +11181,31 @@ var BaseLoader = ({
11000
11181
  ]
11001
11182
  }
11002
11183
  ),
11003
- children ? /* @__PURE__ */ jsx121(Label2, { className: className.label, children }) : null
11184
+ children ? /* @__PURE__ */ jsx124(Label2, { className: className.label, children }) : null
11004
11185
  ]
11005
11186
  }
11006
11187
  );
11007
11188
  };
11008
11189
 
11009
11190
  // src/XLoader/XLoader.tsx
11010
- import { jsx as jsx122 } from "react/jsx-runtime";
11191
+ import { jsx as jsx125 } from "react/jsx-runtime";
11011
11192
  var LoaderFullScreen = (props) => {
11012
11193
  const id = useId2();
11013
- return /* @__PURE__ */ jsx122(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx122(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx122(Dialog4, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx122(BaseLoader, { id, ...props }) }) }) });
11194
+ return /* @__PURE__ */ jsx125(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx125(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx125(Dialog5, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx125(BaseLoader, { id, ...props }) }) }) });
11014
11195
  };
11015
11196
  var LoaderSection = (props) => {
11016
- const className = useClassNames67({
11197
+ const className = useClassNames70({
11017
11198
  component: "Underlay",
11018
11199
  variant: "modal",
11019
11200
  className: "flex size-full items-center justify-center"
11020
11201
  });
11021
- return /* @__PURE__ */ jsx122("div", { className, children: /* @__PURE__ */ jsx122(BaseLoader, { ...props }) });
11202
+ return /* @__PURE__ */ jsx125("div", { className, children: /* @__PURE__ */ jsx125(BaseLoader, { ...props }) });
11022
11203
  };
11023
- var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx122(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx122(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx122(BaseLoader, { variant, ...props });
11204
+ var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx125(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx125(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx125(BaseLoader, { variant, ...props });
11024
11205
 
11025
11206
  // src/Tabs/Tabs.tsx
11026
11207
  import { Tabs } from "react-aria-components";
11027
- import { useClassNames as useClassNames68 } from "@marigold/system";
11208
+ import { useClassNames as useClassNames71 } from "@marigold/system";
11028
11209
 
11029
11210
  // src/Tabs/Context.ts
11030
11211
  import { createContext as createContext16, useContext as useContext27 } from "react";
@@ -11033,15 +11214,15 @@ var useTabContext = () => useContext27(TabContext);
11033
11214
 
11034
11215
  // src/Tabs/Tab.tsx
11035
11216
  import { Tab } from "react-aria-components";
11036
- import { cn as cn73 } from "@marigold/system";
11037
- import { jsx as jsx123 } from "react/jsx-runtime";
11217
+ import { cn as cn72 } from "@marigold/system";
11218
+ import { jsx as jsx126 } from "react/jsx-runtime";
11038
11219
  var _Tab = (props) => {
11039
11220
  const { classNames: classNames3 } = useTabContext();
11040
- return /* @__PURE__ */ jsx123(
11221
+ return /* @__PURE__ */ jsx126(
11041
11222
  Tab,
11042
11223
  {
11043
11224
  ...props,
11044
- className: cn73(
11225
+ className: cn72(
11045
11226
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
11046
11227
  classNames3.tab
11047
11228
  ),
@@ -11052,15 +11233,15 @@ var _Tab = (props) => {
11052
11233
 
11053
11234
  // src/Tabs/TabList.tsx
11054
11235
  import { TabList } from "react-aria-components";
11055
- import { cn as cn74, gapSpace as gapSpace10 } from "@marigold/system";
11056
- import { jsx as jsx124 } from "react/jsx-runtime";
11236
+ import { cn as cn73, gapSpace as gapSpace10 } from "@marigold/system";
11237
+ import { jsx as jsx127 } from "react/jsx-runtime";
11057
11238
  var _TabList = ({ space = 2, ...props }) => {
11058
11239
  const { classNames: classNames3 } = useTabContext();
11059
- return /* @__PURE__ */ jsx124(
11240
+ return /* @__PURE__ */ jsx127(
11060
11241
  TabList,
11061
11242
  {
11062
11243
  ...props,
11063
- className: cn74("flex", gapSpace10[space], classNames3.tabsList),
11244
+ className: cn73("flex", gapSpace10[space], classNames3.tabsList),
11064
11245
  children: props.children
11065
11246
  }
11066
11247
  );
@@ -11068,25 +11249,25 @@ var _TabList = ({ space = 2, ...props }) => {
11068
11249
 
11069
11250
  // src/Tabs/TabPanel.tsx
11070
11251
  import { TabPanel } from "react-aria-components";
11071
- import { jsx as jsx125 } from "react/jsx-runtime";
11252
+ import { jsx as jsx128 } from "react/jsx-runtime";
11072
11253
  var _TabPanel = (props) => {
11073
11254
  const { classNames: classNames3 } = useTabContext();
11074
- return /* @__PURE__ */ jsx125(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11255
+ return /* @__PURE__ */ jsx128(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11075
11256
  };
11076
11257
 
11077
11258
  // src/Tabs/Tabs.tsx
11078
- import { jsx as jsx126 } from "react/jsx-runtime";
11259
+ import { jsx as jsx129 } from "react/jsx-runtime";
11079
11260
  var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
11080
11261
  const props = {
11081
11262
  isDisabled: disabled,
11082
11263
  ...rest
11083
11264
  };
11084
- const classNames3 = useClassNames68({
11265
+ const classNames3 = useClassNames71({
11085
11266
  component: "Tabs",
11086
11267
  size: size2,
11087
11268
  variant
11088
11269
  });
11089
- return /* @__PURE__ */ jsx126(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx126(Tabs, { ...props, className: classNames3.container, children: props.children }) });
11270
+ return /* @__PURE__ */ jsx129(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx129(Tabs, { ...props, className: classNames3.container, children: props.children }) });
11090
11271
  };
11091
11272
  _Tabs.List = _TabList;
11092
11273
  _Tabs.TabPanel = _TabPanel;
@@ -11096,11 +11277,11 @@ _Tabs.Item = _Tab;
11096
11277
  import { RouterProvider } from "react-aria-components";
11097
11278
 
11098
11279
  // src/TimeField/TimeField.tsx
11099
- import { forwardRef as forwardRef34 } from "react";
11280
+ import { forwardRef as forwardRef35 } from "react";
11100
11281
  import { DateInput as DateInput2, DateSegment as DateSegment2, TimeField } from "react-aria-components";
11101
- import { useClassNames as useClassNames69 } from "@marigold/system";
11102
- import { jsx as jsx127 } from "react/jsx-runtime";
11103
- var _TimeField = forwardRef34(
11282
+ import { useClassNames as useClassNames72 } from "@marigold/system";
11283
+ import { jsx as jsx130 } from "react/jsx-runtime";
11284
+ var _TimeField = forwardRef35(
11104
11285
  ({
11105
11286
  required,
11106
11287
  disabled,
@@ -11111,7 +11292,7 @@ var _TimeField = forwardRef34(
11111
11292
  width = "full",
11112
11293
  ...rest
11113
11294
  }, ref) => {
11114
- const classNames3 = useClassNames69({ component: "DateField", variant, size: size2 });
11295
+ const classNames3 = useClassNames72({ component: "DateField", variant, size: size2 });
11115
11296
  const props = {
11116
11297
  isDisabled: disabled,
11117
11298
  isReadOnly: readOnly,
@@ -11119,7 +11300,7 @@ var _TimeField = forwardRef34(
11119
11300
  isRequired: required,
11120
11301
  ...rest
11121
11302
  };
11122
- return /* @__PURE__ */ jsx127(
11303
+ return /* @__PURE__ */ jsx130(
11123
11304
  FieldBase,
11124
11305
  {
11125
11306
  as: TimeField,
@@ -11128,7 +11309,7 @@ var _TimeField = forwardRef34(
11128
11309
  width,
11129
11310
  ...props,
11130
11311
  ref,
11131
- children: /* @__PURE__ */ jsx127(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx127(DateSegment2, { className: classNames3.segment, segment }) })
11312
+ children: /* @__PURE__ */ jsx130(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx130(DateSegment2, { className: classNames3.segment, segment }) })
11132
11313
  }
11133
11314
  );
11134
11315
  }
@@ -11152,6 +11333,7 @@ export {
11152
11333
  Columns,
11153
11334
  _ComboBox as ComboBox,
11154
11335
  Container,
11336
+ _ContextualHelp as ContextualHelp,
11155
11337
  _DateField as DateField,
11156
11338
  DateFormat,
11157
11339
  _DatePicker as DatePicker,
@@ -11209,6 +11391,7 @@ export {
11209
11391
  Underlay,
11210
11392
  VisuallyHidden,
11211
11393
  XLoader,
11394
+ _ContextualHelp,
11212
11395
  gridColsAlign,
11213
11396
  gridColumn,
11214
11397
  useAsyncList,