@marigold/components 12.0.5 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
206
206
  var ContextProvider = REACT_PROVIDER_TYPE;
207
207
  var Element2 = REACT_ELEMENT_TYPE;
208
208
  var ForwardRef = REACT_FORWARD_REF_TYPE;
209
- var Fragment14 = REACT_FRAGMENT_TYPE;
209
+ var Fragment12 = REACT_FRAGMENT_TYPE;
210
210
  var Lazy = REACT_LAZY_TYPE;
211
211
  var Memo = REACT_MEMO_TYPE;
212
212
  var Portal = REACT_PORTAL_TYPE;
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
265
265
  exports.ContextProvider = ContextProvider;
266
266
  exports.Element = Element2;
267
267
  exports.ForwardRef = ForwardRef;
268
- exports.Fragment = Fragment14;
268
+ exports.Fragment = Fragment12;
269
269
  exports.Lazy = Lazy;
270
270
  exports.Memo = Memo;
271
271
  exports.Portal = Portal;
@@ -1070,47 +1070,27 @@ var HelpText = ({
1070
1070
 
1071
1071
  // src/Label/Label.tsx
1072
1072
  import { Label } from "react-aria-components";
1073
- import { SVG as SVG2, cn as cn5, createVar as createVar3, useClassNames as useClassNames3 } from "@marigold/system";
1074
-
1075
- // src/FieldBase/FieldGroup.tsx
1076
- import { createContext as createContext2, useContext as useContext4 } from "react";
1077
- import { jsx as jsx9 } from "react/jsx-runtime";
1078
- var FieldGroupContext = createContext2({});
1079
- var useFieldGroupContext = () => useContext4(FieldGroupContext);
1080
- var FieldGroup = ({ labelWidth, children }) => {
1081
- return /* @__PURE__ */ jsx9(FieldGroupContext.Provider, { value: { labelWidth }, children });
1082
- };
1083
-
1084
- // src/Label/Label.tsx
1085
- import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1073
+ import { SVG as SVG2, cn as cn5, useClassNames as useClassNames3 } from "@marigold/system";
1074
+ import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
1086
1075
  var _Label = ({ size: size2, variant, children, ...props }) => {
1087
1076
  const classNames3 = useClassNames3({ component: "Label", size: size2, variant });
1088
- const { labelWidth } = useFieldGroupContext();
1089
- return /* @__PURE__ */ jsxs4(
1090
- Label,
1091
- {
1092
- ...props,
1093
- className: cn5(classNames3.container, "inline-flex w-[var(--labelWidth)]"),
1094
- style: createVar3({ labelWidth }),
1095
- children: [
1096
- children,
1097
- /* @__PURE__ */ jsx10(
1098
- SVG2,
1099
- {
1100
- viewBox: "0 0 24 24",
1101
- role: "presentation",
1102
- size: 16,
1103
- className: cn5("hidden", classNames3.indicator),
1104
- children: /* @__PURE__ */ jsx10("path", { d: "M10.8 3.84003H13.2V9.85259L18.1543 7.01815L19.3461 9.10132L14.3584 11.9549L19.3371 14.7999L18.1463 16.8836L13.2 14.0572V20.16H10.8V13.9907L5.76116 16.8735L4.56935 14.7903L9.5232 11.9561L4.56 9.12003L5.75073 7.03624L10.8 9.92154V3.84003Z" })
1105
- }
1106
- )
1107
- ]
1108
- }
1109
- );
1077
+ return /* @__PURE__ */ jsxs4(Label, { ...props, className: cn5(classNames3.container, "inline-flex"), children: [
1078
+ children,
1079
+ /* @__PURE__ */ jsx9(
1080
+ SVG2,
1081
+ {
1082
+ viewBox: "0 0 24 24",
1083
+ role: "presentation",
1084
+ size: 16,
1085
+ className: cn5("hidden", classNames3.indicator),
1086
+ children: /* @__PURE__ */ jsx9("path", { d: "M10.8 3.84003H13.2V9.85259L18.1543 7.01815L19.3461 9.10132L14.3584 11.9549L19.3371 14.7999L18.1463 16.8836L13.2 14.0572V20.16H10.8V13.9907L5.76116 16.8735L4.56935 14.7903L9.5232 11.9561L4.56 9.12003L5.75073 7.03624L10.8 9.92154V3.84003Z" })
1087
+ }
1088
+ )
1089
+ ] });
1110
1090
  };
1111
1091
 
1112
1092
  // src/FieldBase/FieldBase.tsx
1113
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1093
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
1114
1094
  var fixedForwardRef = forwardRef2;
1115
1095
  var _FieldBase = (props, ref) => {
1116
1096
  const {
@@ -1137,6 +1117,7 @@ var _FieldBase = (props, ref) => {
1137
1117
  ref,
1138
1118
  className: cn6(
1139
1119
  "group/field",
1120
+ "flex flex-col",
1140
1121
  twWidth[width],
1141
1122
  classNames3,
1142
1123
  className,
@@ -1146,9 +1127,9 @@ var _FieldBase = (props, ref) => {
1146
1127
  "data-error": props.isInvalid ? true : void 0,
1147
1128
  ...rest,
1148
1129
  children: [
1149
- label ? /* @__PURE__ */ jsx11(_Label, { variant, size: size2, children: label }) : /* @__PURE__ */ jsx11("span", { "aria-hidden": "true" }),
1130
+ label ? /* @__PURE__ */ jsx10(_Label, { variant, size: size2, children: label }) : /* @__PURE__ */ jsx10("span", { "aria-hidden": "true" }),
1150
1131
  children,
1151
- /* @__PURE__ */ jsx11(
1132
+ /* @__PURE__ */ jsx10(
1152
1133
  HelpText,
1153
1134
  {
1154
1135
  variant,
@@ -1173,7 +1154,7 @@ import { cn as cn8 } from "@marigold/system";
1173
1154
  import { cloneElement, forwardRef as forwardRef3 } from "react";
1174
1155
  import { Input } from "react-aria-components";
1175
1156
  import { cn as cn7, useClassNames as useClassNames5 } from "@marigold/system";
1176
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1157
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
1177
1158
  var _Input = forwardRef3(
1178
1159
  ({ type, icon, action, variant, size: size2, className, ...props }, ref) => {
1179
1160
  const classNames3 = useClassNames5({
@@ -1205,7 +1186,7 @@ var _Input = forwardRef3(
1205
1186
  "data-action": action && "",
1206
1187
  children: [
1207
1188
  inputIcon,
1208
- /* @__PURE__ */ jsx12(
1189
+ /* @__PURE__ */ jsx11(
1209
1190
  Input,
1210
1191
  {
1211
1192
  ...props,
@@ -1229,7 +1210,7 @@ var _Input = forwardRef3(
1229
1210
  );
1230
1211
 
1231
1212
  // src/Input/SearchInput.tsx
1232
- import { jsx as jsx13 } from "react/jsx-runtime";
1213
+ import { jsx as jsx12 } from "react/jsx-runtime";
1233
1214
  var intlMessages = {
1234
1215
  "de-DE": {
1235
1216
  "Clear search": "Suche zur\xFCcksetzen"
@@ -1241,7 +1222,7 @@ var intlMessages = {
1241
1222
  "Clear search": "Effacer la recherche"
1242
1223
  }
1243
1224
  };
1244
- var SearchIcon = (props) => /* @__PURE__ */ jsx13(
1225
+ var SearchIcon = (props) => /* @__PURE__ */ jsx12(
1245
1226
  "svg",
1246
1227
  {
1247
1228
  xmlns: "http://www.w3.org/2000/svg",
@@ -1250,13 +1231,13 @@ var SearchIcon = (props) => /* @__PURE__ */ jsx13(
1250
1231
  width: 24,
1251
1232
  height: 24,
1252
1233
  ...props,
1253
- children: /* @__PURE__ */ jsx13("path", { d: "M16.1865 14.5142H15.3057L14.9936 14.2131C16.0862 12.9421 16.744 11.292 16.744 9.497C16.744 5.49443 13.4996 2.25 9.497 2.25C5.49443 2.25 2.25 5.49443 2.25 9.497C2.25 13.4996 5.49443 16.744 9.497 16.744C11.292 16.744 12.9421 16.0862 14.2131 14.9936L14.5142 15.3057V16.1865L20.0888 21.75L21.75 20.0888L16.1865 14.5142ZM9.49701 14.5142C6.72085 14.5142 4.47986 12.2732 4.47986 9.49701C4.47986 6.72085 6.72085 4.47986 9.49701 4.47986C12.2732 4.47986 14.5142 6.72085 14.5142 9.49701C14.5142 12.2732 12.2732 14.5142 9.49701 14.5142Z" })
1234
+ children: /* @__PURE__ */ jsx12("path", { d: "M16.1865 14.5142H15.3057L14.9936 14.2131C16.0862 12.9421 16.744 11.292 16.744 9.497C16.744 5.49443 13.4996 2.25 9.497 2.25C5.49443 2.25 2.25 5.49443 2.25 9.497C2.25 13.4996 5.49443 16.744 9.497 16.744C11.292 16.744 12.9421 16.0862 14.2131 14.9936L14.5142 15.3057V16.1865L20.0888 21.75L21.75 20.0888L16.1865 14.5142ZM9.49701 14.5142C6.72085 14.5142 4.47986 12.2732 4.47986 9.49701C4.47986 6.72085 6.72085 4.47986 9.49701 4.47986C12.2732 4.47986 14.5142 6.72085 14.5142 9.49701C14.5142 12.2732 12.2732 14.5142 9.49701 14.5142Z" })
1254
1235
  }
1255
1236
  );
1256
1237
  var SearchInput = forwardRef4(
1257
1238
  ({ className, onClear, ...props }, ref) => {
1258
1239
  const stringFormatter = useLocalizedStringFormatter(intlMessages);
1259
- return /* @__PURE__ */ jsx13(
1240
+ return /* @__PURE__ */ jsx12(
1260
1241
  _Input,
1261
1242
  {
1262
1243
  type: "search",
@@ -1265,8 +1246,8 @@ var SearchInput = forwardRef4(
1265
1246
  className == null ? void 0 : className.input
1266
1247
  ),
1267
1248
  ref,
1268
- icon: /* @__PURE__ */ jsx13(SearchIcon, {}),
1269
- action: /* @__PURE__ */ jsx13(
1249
+ icon: /* @__PURE__ */ jsx12(SearchIcon, {}),
1250
+ action: /* @__PURE__ */ jsx12(
1270
1251
  Button2,
1271
1252
  {
1272
1253
  className: className == null ? void 0 : className.action,
@@ -1274,7 +1255,7 @@ var SearchInput = forwardRef4(
1274
1255
  "aria-label": stringFormatter.format("Clear search"),
1275
1256
  excludeFromTabOrder: true,
1276
1257
  preventFocusOnPress: true,
1277
- children: /* @__PURE__ */ jsx13(
1258
+ children: /* @__PURE__ */ jsx12(
1278
1259
  "svg",
1279
1260
  {
1280
1261
  xmlns: "http://www.w3.org/2000/svg",
@@ -1282,7 +1263,7 @@ var SearchInput = forwardRef4(
1282
1263
  fill: "currentColor",
1283
1264
  width: 20,
1284
1265
  height: 20,
1285
- children: /* @__PURE__ */ jsx13("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
1266
+ children: /* @__PURE__ */ jsx12("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
1286
1267
  }
1287
1268
  )
1288
1269
  }
@@ -1301,14 +1282,14 @@ import { ListBox } from "react-aria-components";
1301
1282
  import { cn as cn10, useClassNames as useClassNames6 } from "@marigold/system";
1302
1283
 
1303
1284
  // src/ListBox/Context.ts
1304
- import { createContext as createContext3, useContext as useContext5 } from "react";
1305
- var ListBoxContext = createContext3({});
1306
- var useListBoxContext = () => useContext5(ListBoxContext);
1285
+ import { createContext as createContext2, useContext as useContext4 } from "react";
1286
+ var ListBoxContext = createContext2({});
1287
+ var useListBoxContext = () => useContext4(ListBoxContext);
1307
1288
 
1308
1289
  // src/ListBox/ListBoxItem.tsx
1309
1290
  import { ListBoxItem } from "react-aria-components";
1310
- import { Fragment, jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
1311
- var CheckMark = ({ className }) => /* @__PURE__ */ jsx14("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx14(
1291
+ import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1292
+ var CheckMark = ({ className }) => /* @__PURE__ */ jsx13("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx13(
1312
1293
  "path",
1313
1294
  {
1314
1295
  fill: "currentColor",
@@ -1319,14 +1300,14 @@ var CheckMark = ({ className }) => /* @__PURE__ */ jsx14("svg", { width: "12px",
1319
1300
  var _ListBoxItem = ({ ...props }) => {
1320
1301
  var _a;
1321
1302
  const { classNames: classNames3 } = useListBoxContext();
1322
- return /* @__PURE__ */ jsx14(
1303
+ return /* @__PURE__ */ jsx13(
1323
1304
  ListBoxItem,
1324
1305
  {
1325
1306
  ...props,
1326
1307
  className: classNames3.item,
1327
1308
  textValue: (_a = props.textValue) != null ? _a : String(props.children),
1328
- children: /* @__PURE__ */ jsxs7(Fragment, { children: [
1329
- /* @__PURE__ */ jsx14(CheckMark, { className: "hidden" }),
1309
+ children: /* @__PURE__ */ jsxs7("div", { className: "selection-indicator contents", children: [
1310
+ /* @__PURE__ */ jsx13(CheckMark, { className: "hidden" }),
1330
1311
  props.children
1331
1312
  ] })
1332
1313
  }
@@ -1336,7 +1317,7 @@ var _ListBoxItem = ({ ...props }) => {
1336
1317
  // src/ListBox/ListBoxSection.tsx
1337
1318
  import { Header, ListBoxSection } from "react-aria-components";
1338
1319
  import { cn as cn9 } from "@marigold/system";
1339
- import { jsx as jsx15, jsxs as jsxs8 } from "react/jsx-runtime";
1320
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
1340
1321
  var _Section = ({ header, children, ...props }) => {
1341
1322
  const { classNames: classNames3 } = useListBoxContext();
1342
1323
  return /* @__PURE__ */ jsxs8(
@@ -1345,7 +1326,7 @@ var _Section = ({ header, children, ...props }) => {
1345
1326
  ...props,
1346
1327
  className: cn9(classNames3.section, classNames3.header),
1347
1328
  children: [
1348
- /* @__PURE__ */ jsx15(Header, { children: header }),
1329
+ /* @__PURE__ */ jsx14(Header, { children: header }),
1349
1330
  children
1350
1331
  ]
1351
1332
  }
@@ -1353,12 +1334,12 @@ var _Section = ({ header, children, ...props }) => {
1353
1334
  };
1354
1335
 
1355
1336
  // src/ListBox/ListBox.tsx
1356
- import { jsx as jsx16 } from "react/jsx-runtime";
1337
+ import { jsx as jsx15 } from "react/jsx-runtime";
1357
1338
  var _ListBox = forwardRef5(
1358
1339
  ({ variant, size: size2, ...props }, ref) => {
1359
1340
  const classNames3 = useClassNames6({ component: "ListBox", variant, size: size2 });
1360
1341
  const listBoxProps = { shouldSelectOnPressUp: false };
1361
- return /* @__PURE__ */ jsx16(ListBoxContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx16("div", { className: classNames3.container, children: /* @__PURE__ */ jsx16(
1342
+ return /* @__PURE__ */ jsx15(ListBoxContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx15("div", { className: classNames3.container, children: /* @__PURE__ */ jsx15(
1362
1343
  ListBox,
1363
1344
  {
1364
1345
  ...props,
@@ -1379,15 +1360,16 @@ _ListBox.Section = _Section;
1379
1360
  // src/Overlay/Popover.tsx
1380
1361
  import { forwardRef as forwardRef6 } from "react";
1381
1362
  import { Popover } from "react-aria-components";
1363
+ import { UNSAFE_PortalProvider as UNSAFE_PortalProvider2 } from "@react-aria/overlays";
1382
1364
  import { cn as cn12, useClassNames as useClassNames8, useSmallScreen } from "@marigold/system";
1383
1365
 
1384
1366
  // src/Provider/OverlayContainerProvider.tsx
1385
- import { createContext as createContext4, useContext as useContext6 } from "react";
1367
+ import { createContext as createContext3, useContext as useContext5 } from "react";
1386
1368
  import { useIsSSR } from "@react-aria/ssr";
1387
- var OverlayContainerContext = createContext4(void 0);
1369
+ var OverlayContainerContext = createContext3(void 0);
1388
1370
  var OverlayContainerProvider = OverlayContainerContext.Provider;
1389
1371
  var usePortalContainer = () => {
1390
- const portalContainer = useContext6(OverlayContainerContext);
1372
+ const portalContainer = useContext5(OverlayContainerContext);
1391
1373
  const isSSR = useIsSSR();
1392
1374
  const portal = isSSR ? void 0 : portalContainer ? document.getElementById(portalContainer) || void 0 : document.body;
1393
1375
  return portal;
@@ -1395,6 +1377,7 @@ var usePortalContainer = () => {
1395
1377
 
1396
1378
  // src/Overlay/Underlay.tsx
1397
1379
  import { ModalOverlay } from "react-aria-components";
1380
+ import { UNSAFE_PortalProvider } from "@react-aria/overlays";
1398
1381
  import { cn as cn11, useClassNames as useClassNames7 } from "@marigold/system";
1399
1382
 
1400
1383
  // src/Provider/index.ts
@@ -1403,17 +1386,17 @@ import { I18nProvider } from "@react-aria/i18n";
1403
1386
 
1404
1387
  // src/Provider/MarigoldProvider.tsx
1405
1388
  import { ThemeProvider } from "@marigold/system";
1406
- import { jsx as jsx17 } from "react/jsx-runtime";
1389
+ import { jsx as jsx16 } from "react/jsx-runtime";
1407
1390
  function MarigoldProvider({
1408
1391
  children,
1409
1392
  className,
1410
1393
  theme
1411
1394
  }) {
1412
- return /* @__PURE__ */ jsx17(ThemeProvider, { theme, className, children });
1395
+ return /* @__PURE__ */ jsx16(ThemeProvider, { theme, className, children });
1413
1396
  }
1414
1397
 
1415
1398
  // src/Overlay/Underlay.tsx
1416
- import { jsx as jsx18 } from "react/jsx-runtime";
1399
+ import { jsx as jsx17 } from "react/jsx-runtime";
1417
1400
  var Underlay = ({
1418
1401
  size: size2,
1419
1402
  variant,
@@ -1430,7 +1413,7 @@ var Underlay = ({
1430
1413
  ...rest
1431
1414
  };
1432
1415
  const portal = usePortalContainer();
1433
- return /* @__PURE__ */ jsx18(
1416
+ return /* @__PURE__ */ jsx17(UNSAFE_PortalProvider, { getContainer: () => portal, children: /* @__PURE__ */ jsx17(
1434
1417
  ModalOverlay,
1435
1418
  {
1436
1419
  className: ({ isEntering, isExiting }) => cn11(
@@ -1441,14 +1424,13 @@ var Underlay = ({
1441
1424
  ),
1442
1425
  ...props,
1443
1426
  "data-testid": "underlay-id",
1444
- UNSTABLE_portalContainer: portal,
1445
1427
  children: props.children
1446
1428
  }
1447
- );
1429
+ ) });
1448
1430
  };
1449
1431
 
1450
1432
  // src/Overlay/Popover.tsx
1451
- import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
1433
+ import { Fragment, jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
1452
1434
  var _Popover = forwardRef6(
1453
1435
  ({ keyboardDismissDisabled, placement, open, children, container, ...rest }, ref) => {
1454
1436
  const props = {
@@ -1465,38 +1447,48 @@ var _Popover = forwardRef6(
1465
1447
  });
1466
1448
  const isSmallScreen = useSmallScreen();
1467
1449
  const portal = usePortalContainer();
1468
- return /* @__PURE__ */ jsx19(Fragment2, { children: isSmallScreen ? /* @__PURE__ */ jsx19(Fragment2, { children: /* @__PURE__ */ jsxs9(
1469
- Popover,
1450
+ return /* @__PURE__ */ jsx18(Fragment, { children: isSmallScreen ? /* @__PURE__ */ jsx18(
1451
+ UNSAFE_PortalProvider2,
1470
1452
  {
1471
- ref,
1472
- ...props,
1473
- className: cn12(
1474
- "fixed! top-auto! bottom-0! left-0! max-h-fit! w-full",
1475
- classNames3
1476
- ),
1477
- UNSTABLE_portalContainer: portal,
1478
- children: [
1479
- children,
1480
- /* @__PURE__ */ jsx19(Underlay, { open })
1481
- ]
1453
+ getContainer: () => portal instanceof HTMLElement ? portal : null,
1454
+ children: /* @__PURE__ */ jsxs9(
1455
+ Popover,
1456
+ {
1457
+ ref,
1458
+ ...props,
1459
+ className: cn12(
1460
+ "fixed! top-auto! bottom-0! left-0! max-h-fit! w-full",
1461
+ classNames3
1462
+ ),
1463
+ children: [
1464
+ children,
1465
+ /* @__PURE__ */ jsx18(Underlay, { open })
1466
+ ]
1467
+ }
1468
+ )
1482
1469
  }
1483
- ) }) : /* @__PURE__ */ jsx19(
1484
- Popover,
1470
+ ) : /* @__PURE__ */ jsx18(
1471
+ UNSAFE_PortalProvider2,
1485
1472
  {
1486
- ref,
1487
- ...props,
1488
- className: classNames3,
1489
- placement,
1490
- offset: 0,
1491
- UNSTABLE_portalContainer: portal,
1492
- children
1473
+ getContainer: () => portal instanceof HTMLElement ? portal : null,
1474
+ children: /* @__PURE__ */ jsx18(
1475
+ Popover,
1476
+ {
1477
+ ref,
1478
+ ...props,
1479
+ className: classNames3,
1480
+ placement,
1481
+ offset: 0,
1482
+ children
1483
+ }
1484
+ )
1493
1485
  }
1494
1486
  ) });
1495
1487
  }
1496
1488
  );
1497
1489
 
1498
1490
  // src/Autocomplete/Autocomplete.tsx
1499
- import { jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
1491
+ import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
1500
1492
  var AutocompleteInput = ({
1501
1493
  onSubmit,
1502
1494
  onClear,
@@ -1504,7 +1496,7 @@ var AutocompleteInput = ({
1504
1496
  }) => {
1505
1497
  const state = React.useContext(ComboBoxStateContext);
1506
1498
  const classNames3 = useClassNames9({ component: "ComboBox" });
1507
- return /* @__PURE__ */ jsx20(
1499
+ return /* @__PURE__ */ jsx19(
1508
1500
  SearchInput,
1509
1501
  {
1510
1502
  ref,
@@ -1559,8 +1551,8 @@ var _Autocomplete = forwardRef7(
1559
1551
  ...rest
1560
1552
  };
1561
1553
  return /* @__PURE__ */ jsxs10(FieldBase, { as: ComboBox, ref, ...props, children: [
1562
- /* @__PURE__ */ jsx20(AutocompleteInput, { onSubmit, onClear, ref }),
1563
- /* @__PURE__ */ jsx20(_Popover, { children: /* @__PURE__ */ jsx20(_ListBox, { children }) })
1554
+ /* @__PURE__ */ jsx19(AutocompleteInput, { onSubmit, onClear, ref }),
1555
+ /* @__PURE__ */ jsx19(_Popover, { children: /* @__PURE__ */ jsx19(_ListBox, { children }) })
1564
1556
  ] });
1565
1557
  }
1566
1558
  );
@@ -1575,7 +1567,7 @@ import { useClassNames as useClassNames11 } from "@marigold/system";
1575
1567
  // src/IconButton/IconButton.tsx
1576
1568
  import { Button as Button3 } from "react-aria-components";
1577
1569
  import { cn as cn14, useClassNames as useClassNames10 } from "@marigold/system";
1578
- import { jsx as jsx21 } from "react/jsx-runtime";
1570
+ import { jsx as jsx20 } from "react/jsx-runtime";
1579
1571
  var IconButton = ({
1580
1572
  className,
1581
1573
  children,
@@ -1588,7 +1580,7 @@ var IconButton = ({
1588
1580
  variant,
1589
1581
  size: size2
1590
1582
  });
1591
- return /* @__PURE__ */ jsx21(
1583
+ return /* @__PURE__ */ jsx20(
1592
1584
  Button3,
1593
1585
  {
1594
1586
  className: cn14("shrink-0 cursor-pointer outline-0", classNames3, className),
@@ -1601,33 +1593,33 @@ var IconButton = ({
1601
1593
  // src/icons/ChevronRight.tsx
1602
1594
  import { forwardRef as forwardRef8 } from "react";
1603
1595
  import { SVG as SVG3 } from "@marigold/system";
1604
- import { jsx as jsx22 } from "react/jsx-runtime";
1596
+ import { jsx as jsx21 } from "react/jsx-runtime";
1605
1597
  var ChevronRight = forwardRef8(
1606
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx22(SVG3, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx22("path", { d: "M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" }) })
1598
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx21(SVG3, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx21("path", { d: "M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" }) })
1607
1599
  );
1608
1600
 
1609
1601
  // src/icons/ChevronLeft.tsx
1610
1602
  import { forwardRef as forwardRef9 } from "react";
1611
1603
  import { SVG as SVG4 } from "@marigold/system";
1612
- import { jsx as jsx23 } from "react/jsx-runtime";
1604
+ import { jsx as jsx22 } from "react/jsx-runtime";
1613
1605
  var ChevronLeft = forwardRef9(
1614
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(SVG4, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx23("path", { d: "M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" }) })
1606
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx22(SVG4, { className, ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx22("path", { d: "M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" }) })
1615
1607
  );
1616
1608
 
1617
1609
  // src/icons/SortDown.tsx
1618
1610
  import { forwardRef as forwardRef10 } from "react";
1619
1611
  import { SVG as SVG5 } from "@marigold/system";
1620
- import { jsx as jsx24 } from "react/jsx-runtime";
1621
- var SortDown = forwardRef10((props, ref) => /* @__PURE__ */ jsx24(SVG5, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx24("path", { d: "M17.3962 10.0496L12.5042 14.9416C12.3731 15.0727 12.1984 15.1492 12.0128 15.1492C11.8272 15.1492 11.6524 15.0727 11.5214 14.9416L6.62934 10.0496C6.49827 9.91854 6.42188 9.7439 6.42188 9.55816C6.42188 9.17606 6.73856 8.85938 7.12078 8.85938H16.9048C17.287 8.85938 17.6037 9.17606 17.6037 9.55816C17.6037 9.7439 17.5273 9.91854 17.3962 10.0496Z" }) }));
1612
+ import { jsx as jsx23 } from "react/jsx-runtime";
1613
+ var SortDown = forwardRef10((props, ref) => /* @__PURE__ */ jsx23(SVG5, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx23("path", { d: "M17.3962 10.0496L12.5042 14.9416C12.3731 15.0727 12.1984 15.1492 12.0128 15.1492C11.8272 15.1492 11.6524 15.0727 11.5214 14.9416L6.62934 10.0496C6.49827 9.91854 6.42188 9.7439 6.42188 9.55816C6.42188 9.17606 6.73856 8.85938 7.12078 8.85938H16.9048C17.287 8.85938 17.6037 9.17606 17.6037 9.55816C17.6037 9.7439 17.5273 9.91854 17.3962 10.0496Z" }) }));
1622
1614
 
1623
1615
  // src/icons/SortUp.tsx
1624
1616
  import { forwardRef as forwardRef11 } from "react";
1625
1617
  import { SVG as SVG6 } from "@marigold/system";
1626
- import { jsx as jsx25 } from "react/jsx-runtime";
1627
- var SortUp = forwardRef11((props, ref) => /* @__PURE__ */ jsx25(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx25("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
1618
+ import { jsx as jsx24 } from "react/jsx-runtime";
1619
+ var SortUp = forwardRef11((props, ref) => /* @__PURE__ */ jsx24(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx24("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
1628
1620
 
1629
1621
  // src/ComboBox/ComboBox.tsx
1630
- import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
1622
+ import { jsx as jsx25, jsxs as jsxs11 } from "react/jsx-runtime";
1631
1623
  var _ComboBox = forwardRef12(
1632
1624
  ({
1633
1625
  variant,
@@ -1654,13 +1646,13 @@ var _ComboBox = forwardRef12(
1654
1646
  };
1655
1647
  const classNames3 = useClassNames11({ component: "ComboBox", variant, size: size2 });
1656
1648
  return /* @__PURE__ */ jsxs11(FieldBase, { as: ComboBox2, ref, ...props, children: [
1657
- /* @__PURE__ */ jsx26(
1649
+ /* @__PURE__ */ jsx25(
1658
1650
  _Input,
1659
1651
  {
1660
- action: /* @__PURE__ */ jsx26(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx26(ChevronDown, { className: "size-4" }) })
1652
+ action: /* @__PURE__ */ jsx25(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx25(ChevronDown, { className: "size-4" }) })
1661
1653
  }
1662
1654
  ),
1663
- /* @__PURE__ */ jsx26(_Popover, { children: /* @__PURE__ */ jsx26(_ListBox, { children }) })
1655
+ /* @__PURE__ */ jsx25(_Popover, { children: /* @__PURE__ */ jsx25(_ListBox, { children }) })
1664
1656
  ] });
1665
1657
  }
1666
1658
  );
@@ -1669,24 +1661,24 @@ _ComboBox.Section = _ListBox.Section;
1669
1661
 
1670
1662
  // src/Badge/Badge.tsx
1671
1663
  import { useClassNames as useClassNames12 } from "@marigold/system";
1672
- import { jsx as jsx27 } from "react/jsx-runtime";
1664
+ import { jsx as jsx26 } from "react/jsx-runtime";
1673
1665
  var Badge = ({ variant, size: size2, children, ...props }) => {
1674
1666
  const classNames3 = useClassNames12({ component: "Badge", variant, size: size2 });
1675
- return /* @__PURE__ */ jsx27("div", { className: classNames3, ...props, children });
1667
+ return /* @__PURE__ */ jsx26("div", { className: classNames3, ...props, children });
1676
1668
  };
1677
1669
 
1678
1670
  // src/Breakout/Breakout.tsx
1679
- import { jsx as jsx28 } from "react/jsx-runtime";
1671
+ import { jsx as jsx27 } from "react/jsx-runtime";
1680
1672
  var Breakout = ({ children }) => {
1681
- return /* @__PURE__ */ jsx28("div", { className: "![grid-column:1/-1]", children });
1673
+ return /* @__PURE__ */ jsx27("div", { className: "![grid-column:1/-1]", children });
1682
1674
  };
1683
1675
 
1684
1676
  // src/Body/Body.tsx
1685
1677
  import { useClassNames as useClassNames13 } from "@marigold/system";
1686
- import { jsx as jsx29 } from "react/jsx-runtime";
1678
+ import { jsx as jsx28 } from "react/jsx-runtime";
1687
1679
  var Body = ({ children, variant, size: size2, ...props }) => {
1688
1680
  const classNames3 = useClassNames13({ component: "Body", variant, size: size2 });
1689
- return /* @__PURE__ */ jsx29("section", { ...props, className: classNames3, children });
1681
+ return /* @__PURE__ */ jsx28("section", { ...props, className: classNames3, children });
1690
1682
  };
1691
1683
 
1692
1684
  // src/Button/Button.tsx
@@ -1697,7 +1689,7 @@ import { cn as cn16, useClassNames as useClassNames15 } from "@marigold/system";
1697
1689
  // src/ProgressCycle/ProgressCycle.tsx
1698
1690
  import { ProgressBar } from "react-aria-components";
1699
1691
  import { SVG as SVG7, cn as cn15, useClassNames as useClassNames14 } from "@marigold/system";
1700
- import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
1692
+ import { jsx as jsx29, jsxs as jsxs12 } from "react/jsx-runtime";
1701
1693
  var ProgressCycle = ({
1702
1694
  size: size2 = "16",
1703
1695
  ...props
@@ -1710,7 +1702,7 @@ var ProgressCycle = ({
1710
1702
  }
1711
1703
  const radius = `calc(50% - ${strokeWidth / 2}px)`;
1712
1704
  const classNames3 = useClassNames14({ component: "ProgressCycle" });
1713
- return /* @__PURE__ */ jsx30(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs12(
1705
+ return /* @__PURE__ */ jsx29(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs12(
1714
1706
  SVG7,
1715
1707
  {
1716
1708
  className: "animate-rotate-spinner origin-center fill-none",
@@ -1718,7 +1710,7 @@ var ProgressCycle = ({
1718
1710
  "aria-hidden": "true",
1719
1711
  role: "img",
1720
1712
  children: [
1721
- /* @__PURE__ */ jsx30(
1713
+ /* @__PURE__ */ jsx29(
1722
1714
  "circle",
1723
1715
  {
1724
1716
  cx: "50%",
@@ -1728,7 +1720,7 @@ var ProgressCycle = ({
1728
1720
  className: "stroke-transparent"
1729
1721
  }
1730
1722
  ),
1731
- /* @__PURE__ */ jsx30(
1723
+ /* @__PURE__ */ jsx29(
1732
1724
  "circle",
1733
1725
  {
1734
1726
  cx: "50%",
@@ -1751,25 +1743,15 @@ var ProgressCycle = ({
1751
1743
  };
1752
1744
 
1753
1745
  // src/Button/Button.tsx
1754
- import { Fragment as Fragment3, jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
1746
+ import { Fragment as Fragment2, jsx as jsx30, jsxs as jsxs13 } from "react/jsx-runtime";
1755
1747
  var _Button = forwardRef13(
1756
- ({
1757
- children,
1758
- variant,
1759
- size: size2,
1760
- className,
1761
- disabled,
1762
- loading,
1763
- fullWidth,
1764
- ...props
1765
- }, ref) => {
1748
+ ({ children, variant, size: size2, disabled, loading, fullWidth, ...props }, ref) => {
1766
1749
  const classNames3 = useClassNames15({
1767
1750
  component: "Button",
1768
1751
  variant,
1769
- size: size2,
1770
- className
1752
+ size: size2
1771
1753
  });
1772
- return /* @__PURE__ */ jsx31(
1754
+ return /* @__PURE__ */ jsx30(
1773
1755
  Button4,
1774
1756
  {
1775
1757
  ...props,
@@ -1782,9 +1764,9 @@ var _Button = forwardRef13(
1782
1764
  ),
1783
1765
  isPending: loading,
1784
1766
  isDisabled: disabled,
1785
- children: loading ? /* @__PURE__ */ jsxs13(Fragment3, { children: [
1786
- /* @__PURE__ */ jsx31("span", { className: "absolute", children: /* @__PURE__ */ jsx31(ProgressCycle, {}) }),
1787
- /* @__PURE__ */ jsx31("span", { className: "invisible flex gap-[inherit]", children })
1767
+ children: loading ? /* @__PURE__ */ jsxs13(Fragment2, { children: [
1768
+ /* @__PURE__ */ jsx30("span", { className: "absolute", children: /* @__PURE__ */ jsx30(ProgressCycle, {}) }),
1769
+ /* @__PURE__ */ jsx30("span", { className: "invisible flex gap-[inherit]", children })
1788
1770
  ] }) : children
1789
1771
  }
1790
1772
  );
@@ -1804,7 +1786,7 @@ import {
1804
1786
  paddingTop,
1805
1787
  useClassNames as useClassNames16
1806
1788
  } from "@marigold/system";
1807
- import { jsx as jsx32 } from "react/jsx-runtime";
1789
+ import { jsx as jsx31 } from "react/jsx-runtime";
1808
1790
  var Card = ({
1809
1791
  children,
1810
1792
  variant,
@@ -1820,7 +1802,7 @@ var Card = ({
1820
1802
  ...props
1821
1803
  }) => {
1822
1804
  const classNames3 = useClassNames16({ component: "Card", variant, size: size2 });
1823
- return /* @__PURE__ */ jsx32(
1805
+ return /* @__PURE__ */ jsx31(
1824
1806
  "div",
1825
1807
  {
1826
1808
  ...props,
@@ -1842,15 +1824,15 @@ var Card = ({
1842
1824
  };
1843
1825
 
1844
1826
  // src/Center/Center.tsx
1845
- import { cn as cn18, createVar as createVar4, gapSpace as gapSpace3 } from "@marigold/system";
1846
- import { jsx as jsx33 } from "react/jsx-runtime";
1827
+ import { cn as cn18, createVar as createVar3, gapSpace as gapSpace3 } from "@marigold/system";
1828
+ import { jsx as jsx32 } from "react/jsx-runtime";
1847
1829
  var Center = ({
1848
1830
  maxWidth = "100%",
1849
1831
  space = 0,
1850
1832
  children,
1851
1833
  ...props
1852
1834
  }) => {
1853
- return /* @__PURE__ */ jsx33(
1835
+ return /* @__PURE__ */ jsx32(
1854
1836
  "div",
1855
1837
  {
1856
1838
  ...props,
@@ -1859,7 +1841,7 @@ var Center = ({
1859
1841
  gapSpace3[space],
1860
1842
  "max-w-(--maxWidth)"
1861
1843
  ),
1862
- style: createVar4({ maxWidth }),
1844
+ style: createVar3({ maxWidth }),
1863
1845
  children
1864
1846
  }
1865
1847
  );
@@ -1868,30 +1850,19 @@ var Center = ({
1868
1850
  // src/Checkbox/Checkbox.tsx
1869
1851
  import { forwardRef as forwardRef14 } from "react";
1870
1852
  import { Checkbox } from "react-aria-components";
1871
- import { cn as cn20, useClassNames as useClassNames19 } from "@marigold/system";
1872
-
1873
- // src/Checkbox/CheckBoxField.tsx
1874
- import { createVar as createVar5, useClassNames as useClassNames17 } from "@marigold/system";
1875
- import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
1876
- var CheckboxField = ({ children, labelWidth }) => {
1877
- const classNames3 = useClassNames17({ component: "Field" });
1878
- return /* @__PURE__ */ jsxs14("div", { className: classNames3, children: [
1879
- /* @__PURE__ */ jsx34("div", { className: "w-(--labelWidth)", style: createVar5({ labelWidth }) }),
1880
- children
1881
- ] });
1882
- };
1853
+ import { cn as cn20, useClassNames as useClassNames18 } from "@marigold/system";
1883
1854
 
1884
1855
  // src/Checkbox/CheckboxGroup.tsx
1885
1856
  import { CheckboxGroup } from "react-aria-components";
1886
- import { cn as cn19, useClassNames as useClassNames18 } from "@marigold/system";
1857
+ import { cn as cn19, useClassNames as useClassNames17 } from "@marigold/system";
1887
1858
 
1888
1859
  // src/Checkbox/Context.tsx
1889
- import { createContext as createContext5, useContext as useContext7 } from "react";
1890
- var CheckboxGroupContext = createContext5(null);
1891
- var useCheckboxGroupContext = () => useContext7(CheckboxGroupContext);
1860
+ import { createContext as createContext4, useContext as useContext6 } from "react";
1861
+ var CheckboxGroupContext = createContext4(null);
1862
+ var useCheckboxGroupContext = () => useContext6(CheckboxGroupContext);
1892
1863
 
1893
1864
  // src/Checkbox/CheckboxGroup.tsx
1894
- import { jsx as jsx35 } from "react/jsx-runtime";
1865
+ import { jsx as jsx33 } from "react/jsx-runtime";
1895
1866
  var _CheckboxGroup = ({
1896
1867
  children,
1897
1868
  variant,
@@ -1904,7 +1875,7 @@ var _CheckboxGroup = ({
1904
1875
  orientation = "vertical",
1905
1876
  ...rest
1906
1877
  }) => {
1907
- const classNames3 = useClassNames18({
1878
+ const classNames3 = useClassNames17({
1908
1879
  component: "Checkbox",
1909
1880
  variant,
1910
1881
  size: size2,
@@ -1918,7 +1889,7 @@ var _CheckboxGroup = ({
1918
1889
  isInvalid: error,
1919
1890
  ...rest
1920
1891
  };
1921
- return /* @__PURE__ */ jsx35(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx35(
1892
+ return /* @__PURE__ */ jsx33(FieldBase, { as: CheckboxGroup, width, ...props, children: /* @__PURE__ */ jsx33(
1922
1893
  "div",
1923
1894
  {
1924
1895
  role: "presentation",
@@ -1929,14 +1900,14 @@ var _CheckboxGroup = ({
1929
1900
  "group/checkboxgroup flex items-start",
1930
1901
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
1931
1902
  ),
1932
- children: /* @__PURE__ */ jsx35(CheckboxGroupContext.Provider, { value: { width, variant, size: size2 }, children })
1903
+ children: /* @__PURE__ */ jsx33(CheckboxGroupContext.Provider, { value: { width, variant, size: size2 }, children })
1933
1904
  }
1934
1905
  ) });
1935
1906
  };
1936
1907
 
1937
1908
  // src/Checkbox/Checkbox.tsx
1938
- import { Fragment as Fragment4, jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
1939
- var CheckMark2 = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx36(
1909
+ import { Fragment as Fragment3, jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
1910
+ var CheckMark2 = () => /* @__PURE__ */ jsx34("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx34(
1940
1911
  "path",
1941
1912
  {
1942
1913
  fill: "currentColor",
@@ -1944,7 +1915,7 @@ var CheckMark2 = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "10
1944
1915
  d: "M11.915 1.548 10.367 0 4.045 6.315 1.557 3.827 0 5.373l4.045 4.046 7.87-7.871Z"
1945
1916
  }
1946
1917
  ) });
1947
- var IndeterminateMark = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "3px", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx36(
1918
+ var IndeterminateMark = () => /* @__PURE__ */ jsx34("svg", { width: "12px", height: "3px", viewBox: "0 0 12 3", children: /* @__PURE__ */ jsx34(
1948
1919
  "path",
1949
1920
  {
1950
1921
  fill: "currentColor",
@@ -1953,7 +1924,7 @@ var IndeterminateMark = () => /* @__PURE__ */ jsx36("svg", { width: "12px", heig
1953
1924
  }
1954
1925
  ) });
1955
1926
  var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1956
- return /* @__PURE__ */ jsx36(
1927
+ return /* @__PURE__ */ jsx34(
1957
1928
  "div",
1958
1929
  {
1959
1930
  "aria-hidden": "true",
@@ -1965,7 +1936,7 @@ var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1965
1936
  className
1966
1937
  ),
1967
1938
  ...props,
1968
- children: indeterminate ? /* @__PURE__ */ jsx36(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx36(CheckMark2, {}) : null
1939
+ children: indeterminate ? /* @__PURE__ */ jsx34(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx34(CheckMark2, {}) : null
1969
1940
  }
1970
1941
  );
1971
1942
  };
@@ -1993,14 +1964,13 @@ var _Checkbox = forwardRef14(
1993
1964
  defaultSelected: defaultChecked,
1994
1965
  ...rest
1995
1966
  };
1996
- const { labelWidth } = useFieldGroupContext();
1997
1967
  const group = useCheckboxGroupContext();
1998
- const classNames3 = useClassNames19({
1968
+ const classNames3 = useClassNames18({
1999
1969
  component: "Checkbox",
2000
1970
  variant: variant || (group == null ? void 0 : group.variant),
2001
1971
  size: size2 || (group == null ? void 0 : group.size)
2002
1972
  });
2003
- const component = /* @__PURE__ */ jsx36(
1973
+ return /* @__PURE__ */ jsx34(
2004
1974
  Checkbox,
2005
1975
  {
2006
1976
  ref,
@@ -2010,8 +1980,8 @@ var _Checkbox = forwardRef14(
2010
1980
  classNames3.container
2011
1981
  ),
2012
1982
  ...props,
2013
- children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs15(Fragment4, { children: [
2014
- /* @__PURE__ */ jsx36(
1983
+ children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs14(Fragment3, { children: [
1984
+ /* @__PURE__ */ jsx34(
2015
1985
  Icon2,
2016
1986
  {
2017
1987
  checked: isSelected,
@@ -2019,19 +1989,18 @@ var _Checkbox = forwardRef14(
2019
1989
  className: classNames3.checkbox
2020
1990
  }
2021
1991
  ),
2022
- label && /* @__PURE__ */ jsx36("div", { className: classNames3.label, children: label })
1992
+ label && /* @__PURE__ */ jsx34("div", { className: classNames3.label, children: label })
2023
1993
  ] })
2024
1994
  }
2025
1995
  );
2026
- return !group && !!labelWidth ? /* @__PURE__ */ jsx36(CheckboxField, { labelWidth, children: component }) : component;
2027
1996
  }
2028
1997
  );
2029
1998
  _Checkbox.Group = _CheckboxGroup;
2030
1999
 
2031
2000
  // src/Columns/Columns.tsx
2032
2001
  import { Children as Children2 } from "react";
2033
- import { cn as cn21, createVar as createVar6, gapSpace as gapSpace4 } from "@marigold/system";
2034
- import { jsx as jsx37 } from "react/jsx-runtime";
2002
+ import { cn as cn21, createVar as createVar4, gapSpace as gapSpace4 } from "@marigold/system";
2003
+ import { jsx as jsx35 } from "react/jsx-runtime";
2035
2004
  var Columns = ({
2036
2005
  space = 0,
2037
2006
  columns,
@@ -2047,7 +2016,7 @@ var Columns = ({
2047
2016
  )}`
2048
2017
  );
2049
2018
  }
2050
- return /* @__PURE__ */ jsx37(
2019
+ return /* @__PURE__ */ jsx35(
2051
2020
  "div",
2052
2021
  {
2053
2022
  className: cn21(
@@ -2056,14 +2025,14 @@ var Columns = ({
2056
2025
  gapSpace4[space]
2057
2026
  ),
2058
2027
  ...props,
2059
- children: Children2.map(children, (child, idx) => /* @__PURE__ */ jsx37(
2028
+ children: Children2.map(children, (child, idx) => /* @__PURE__ */ jsx35(
2060
2029
  "div",
2061
2030
  {
2062
2031
  className: cn21(
2063
2032
  columns[idx] === "fit" ? "flex h-fit w-fit" : "flex-(--columnSize)",
2064
2033
  "basis-[calc((var(--collapseAt)_-_100%)_*_999)]"
2065
2034
  ),
2066
- style: createVar6({
2035
+ style: createVar4({
2067
2036
  collapseAt,
2068
2037
  columnSize: columns[idx]
2069
2038
  }),
@@ -2075,8 +2044,8 @@ var Columns = ({
2075
2044
  };
2076
2045
 
2077
2046
  // src/Container/Container.tsx
2078
- import { cn as cn22, createVar as createVar7, gapSpace as gapSpace5, placeItems } from "@marigold/system";
2079
- import { jsx as jsx38 } from "react/jsx-runtime";
2047
+ import { cn as cn22, createVar as createVar5, gapSpace as gapSpace5, placeItems } from "@marigold/system";
2048
+ import { jsx as jsx36 } from "react/jsx-runtime";
2080
2049
  var containerTextLength = {
2081
2050
  short: "40ch",
2082
2051
  default: "60ch",
@@ -2104,7 +2073,7 @@ var Container = ({
2104
2073
  space = 0,
2105
2074
  children,
2106
2075
  ...props
2107
- }) => /* @__PURE__ */ jsx38(
2076
+ }) => /* @__PURE__ */ jsx36(
2108
2077
  "div",
2109
2078
  {
2110
2079
  ...props,
@@ -2115,7 +2084,7 @@ var Container = ({
2115
2084
  gridColumn[align],
2116
2085
  gapSpace5[space]
2117
2086
  ),
2118
- style: createVar7({
2087
+ style: createVar5({
2119
2088
  maxTextWidth: containerTextLength[contentLength],
2120
2089
  maxHeadlineWidth: containerHeadlineLength[contentLength]
2121
2090
  }),
@@ -2133,45 +2102,45 @@ import {
2133
2102
  Popover as Popover2,
2134
2103
  DialogTrigger as RACDialogTrigger
2135
2104
  } from "react-aria-components";
2136
- import { useClassNames as useClassNames22 } from "@marigold/system";
2105
+ import { useClassNames as useClassNames21 } from "@marigold/system";
2137
2106
 
2138
2107
  // src/ContextualHelp/ContextualHelpContent.tsx
2139
- import { useClassNames as useClassNames20 } from "@marigold/system";
2140
- import { jsx as jsx39 } from "react/jsx-runtime";
2108
+ import { useClassNames as useClassNames19 } from "@marigold/system";
2109
+ import { jsx as jsx37 } from "react/jsx-runtime";
2141
2110
  var ContextualHelpContent = ({
2142
2111
  children,
2143
2112
  variant,
2144
2113
  size: size2
2145
2114
  }) => {
2146
- const classNames3 = useClassNames20({
2115
+ const classNames3 = useClassNames19({
2147
2116
  component: "ContextualHelp",
2148
2117
  variant,
2149
2118
  size: size2
2150
2119
  });
2151
- return /* @__PURE__ */ jsx39("div", { className: classNames3.content, children });
2120
+ return /* @__PURE__ */ jsx37("div", { className: classNames3.content, children });
2152
2121
  };
2153
2122
 
2154
2123
  // src/ContextualHelp/ContextualHelpTitle.tsx
2155
2124
  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";
2125
+ import { useClassNames as useClassNames20 } from "@marigold/system";
2126
+ import { jsx as jsx38 } from "react/jsx-runtime";
2158
2127
  var ContextualHelpTitle = ({
2159
2128
  children,
2160
2129
  variant,
2161
2130
  size: size2
2162
2131
  }) => {
2163
- const classNames3 = useClassNames21({
2132
+ const classNames3 = useClassNames20({
2164
2133
  component: "ContextualHelp",
2165
2134
  variant,
2166
2135
  size: size2
2167
2136
  });
2168
- return /* @__PURE__ */ jsx40(Heading2, { className: classNames3.title, children });
2137
+ return /* @__PURE__ */ jsx38(Heading2, { className: classNames3.title, children });
2169
2138
  };
2170
2139
 
2171
2140
  // src/ContextualHelp/ContextualHelp.tsx
2172
- import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
2141
+ import { jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
2173
2142
  var icons = {
2174
- help: () => /* @__PURE__ */ jsxs16(
2143
+ help: () => /* @__PURE__ */ jsxs15(
2175
2144
  "svg",
2176
2145
  {
2177
2146
  xmlns: "http://www.w3.org/2000/svg",
@@ -2185,13 +2154,13 @@ var icons = {
2185
2154
  strokeLinejoin: "round",
2186
2155
  className: "lucide lucide-circle-help-icon lucide-circle-help h-5",
2187
2156
  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" })
2157
+ /* @__PURE__ */ jsx39("circle", { cx: "12", cy: "12", r: "10" }),
2158
+ /* @__PURE__ */ jsx39("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
2159
+ /* @__PURE__ */ jsx39("path", { d: "M12 17h.01" })
2191
2160
  ]
2192
2161
  }
2193
2162
  ),
2194
- info: () => /* @__PURE__ */ jsxs16(
2163
+ info: () => /* @__PURE__ */ jsxs15(
2195
2164
  "svg",
2196
2165
  {
2197
2166
  xmlns: "http://www.w3.org/2000/svg",
@@ -2205,16 +2174,14 @@ var icons = {
2205
2174
  strokeLinejoin: "round",
2206
2175
  className: "lucide lucide-info-icon lucide-info h-5",
2207
2176
  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" })
2177
+ /* @__PURE__ */ jsx39("circle", { cx: "12", cy: "12", r: "10" }),
2178
+ /* @__PURE__ */ jsx39("path", { d: "M12 16v-4" }),
2179
+ /* @__PURE__ */ jsx39("path", { d: "M12 8h.01" })
2211
2180
  ]
2212
2181
  }
2213
2182
  )
2214
2183
  };
2215
- var DialogTrigger = forwardRef15(
2216
- ({ open, ...rest }, ref) => /* @__PURE__ */ jsx41(RACDialogTrigger, { isOpen: open, ...rest })
2217
- );
2184
+ var DialogTrigger = ({ open, ...rest }) => /* @__PURE__ */ jsx39(RACDialogTrigger, { isOpen: open, ...rest });
2218
2185
  var _ContextualHelp = forwardRef15(
2219
2186
  ({
2220
2187
  children,
@@ -2229,19 +2196,19 @@ var _ContextualHelp = forwardRef15(
2229
2196
  }, ref) => {
2230
2197
  var _a;
2231
2198
  const icon = (_a = icons[variant]) == null ? void 0 : _a.call(icons);
2232
- const classNames3 = useClassNames22({
2199
+ const classNames3 = useClassNames21({
2233
2200
  component: "ContextualHelp",
2234
2201
  variant,
2235
2202
  size: size2
2236
2203
  });
2237
- return /* @__PURE__ */ jsxs16(
2204
+ return /* @__PURE__ */ jsxs15(
2238
2205
  DialogTrigger,
2239
2206
  {
2240
2207
  defaultOpen,
2241
2208
  open,
2242
2209
  onOpenChange,
2243
2210
  children: [
2244
- /* @__PURE__ */ jsx41(
2211
+ /* @__PURE__ */ jsx39(
2245
2212
  Button5,
2246
2213
  {
2247
2214
  ref,
@@ -2250,7 +2217,7 @@ var _ContextualHelp = forwardRef15(
2250
2217
  children: icon
2251
2218
  }
2252
2219
  ),
2253
- /* @__PURE__ */ jsx41(
2220
+ /* @__PURE__ */ jsx39(
2254
2221
  Popover2,
2255
2222
  {
2256
2223
  placement,
@@ -2259,7 +2226,7 @@ var _ContextualHelp = forwardRef15(
2259
2226
  ...{
2260
2227
  [`data-${width != null ? width : "medium"}`]: true
2261
2228
  },
2262
- children: /* @__PURE__ */ jsx41(Dialog, { className: (classNames3.dialog, "prose"), children })
2229
+ children: /* @__PURE__ */ jsx39(Dialog, { className: (classNames3.dialog, "prose"), children })
2263
2230
  }
2264
2231
  )
2265
2232
  ]
@@ -2273,33 +2240,33 @@ _ContextualHelp.Content = ContextualHelpContent;
2273
2240
  // src/Dialog/Dialog.tsx
2274
2241
  import {
2275
2242
  forwardRef as forwardRef19,
2276
- useContext as useContext9
2243
+ useContext as useContext8
2277
2244
  } from "react";
2278
2245
  import { Dialog as Dialog2, OverlayTriggerStateContext as OverlayTriggerStateContext2 } from "react-aria-components";
2279
- import { cn as cn26, useClassNames as useClassNames28 } from "@marigold/system";
2246
+ import { cn as cn26, useClassNames as useClassNames27 } from "@marigold/system";
2280
2247
 
2281
2248
  // src/CloseButton/CloseButton.tsx
2282
2249
  import { forwardRef as forwardRef16 } from "react";
2283
2250
  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";
2251
+ import { useClassNames as useClassNames22 } from "@marigold/system";
2252
+ import { jsx as jsx40 } from "react/jsx-runtime";
2286
2253
  var CloseButton = forwardRef16(
2287
2254
  ({ className, size: size2, variant, ...props }, ref) => {
2288
- const classNames3 = useClassNames23({
2255
+ const classNames3 = useClassNames22({
2289
2256
  component: "CloseButton",
2290
2257
  className,
2291
2258
  size: size2,
2292
2259
  variant
2293
2260
  });
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" }) }) });
2261
+ return /* @__PURE__ */ jsx40(Button6, { ref, className: classNames3, ...props, children: /* @__PURE__ */ jsx40("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx40("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" }) }) });
2295
2262
  }
2296
2263
  );
2297
2264
 
2298
2265
  // src/Overlay/Modal.tsx
2299
2266
  import { forwardRef as forwardRef17 } from "react";
2300
2267
  import { Modal } from "react-aria-components";
2301
- import { useClassNames as useClassNames24 } from "@marigold/system";
2302
- import { jsx as jsx43 } from "react/jsx-runtime";
2268
+ import { useClassNames as useClassNames23 } from "@marigold/system";
2269
+ import { jsx as jsx41 } from "react/jsx-runtime";
2303
2270
  var _Modal = forwardRef17(({ size: size2, open, dismissable, keyboardDismissable, ...rest }, ref) => {
2304
2271
  const props = {
2305
2272
  isOpen: open,
@@ -2307,20 +2274,20 @@ var _Modal = forwardRef17(({ size: size2, open, dismissable, keyboardDismissable
2307
2274
  isKeyboardDismissDisabled: keyboardDismissable,
2308
2275
  ...rest
2309
2276
  };
2310
- const className = useClassNames24({ component: "Modal", size: size2 });
2311
- return /* @__PURE__ */ jsx43(
2277
+ const className = useClassNames23({ component: "Modal", size: size2 });
2278
+ return /* @__PURE__ */ jsx41(
2312
2279
  Underlay,
2313
2280
  {
2314
2281
  dismissable,
2315
2282
  keyboardDismissable,
2316
2283
  open,
2317
- children: /* @__PURE__ */ jsx43(Modal, { ...props, className, ref, children: props.children })
2284
+ children: /* @__PURE__ */ jsx41(Modal, { ...props, className, ref, children: props.children })
2318
2285
  }
2319
2286
  );
2320
2287
  });
2321
2288
 
2322
2289
  // src/Overlay/NonModal.tsx
2323
- import { forwardRef as forwardRef18, useContext as useContext8 } from "react";
2290
+ import { forwardRef as forwardRef18, useContext as useContext7 } from "react";
2324
2291
  import {
2325
2292
  OverlayTriggerStateContext,
2326
2293
  Provider
@@ -2409,7 +2376,7 @@ var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
2409
2376
  };
2410
2377
 
2411
2378
  // src/Overlay/NonModal.tsx
2412
- import { jsx as jsx44, jsxs as jsxs17 } from "react/jsx-runtime";
2379
+ import { jsx as jsx42, jsxs as jsxs16 } from "react/jsx-runtime";
2413
2380
  var NonModalInner = ({ state, isExiting, ...props }) => {
2414
2381
  const { nonModalProps } = useNonModal(props, state);
2415
2382
  const ref = props.nonModalRef;
@@ -2429,7 +2396,7 @@ var NonModalInner = ({ state, isExiting, ...props }) => {
2429
2396
  ...renderProps.style,
2430
2397
  "--visual-viewport-height": viewport.height + "px"
2431
2398
  };
2432
- const overlay = /* @__PURE__ */ jsxs17(
2399
+ const overlay = /* @__PURE__ */ jsxs16(
2433
2400
  "div",
2434
2401
  {
2435
2402
  ...mergeProps(filterDOMProps(props), nonModalProps),
@@ -2444,17 +2411,17 @@ var NonModalInner = ({ state, isExiting, ...props }) => {
2444
2411
  "data-exiting": isExiting || void 0,
2445
2412
  children: [
2446
2413
  renderProps.children,
2447
- /* @__PURE__ */ jsx44(DismissButton, { onDismiss: state.close })
2414
+ /* @__PURE__ */ jsx42(DismissButton, { onDismiss: state.close })
2448
2415
  ]
2449
2416
  }
2450
2417
  );
2451
- return /* @__PURE__ */ jsx44(
2418
+ return /* @__PURE__ */ jsx42(
2452
2419
  Overlay,
2453
2420
  {
2454
2421
  isExiting,
2455
2422
  portalContainer,
2456
2423
  disableFocusManagement: true,
2457
- children: /* @__PURE__ */ jsx44(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx44(Provider, { values: [[OverlayTriggerStateContext, state]], children: overlay }) })
2424
+ children: /* @__PURE__ */ jsx42(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx42(Provider, { values: [[OverlayTriggerStateContext, state]], children: overlay }) })
2458
2425
  }
2459
2426
  );
2460
2427
  };
@@ -2465,7 +2432,7 @@ var NonModal = forwardRef18(
2465
2432
  ...rest
2466
2433
  };
2467
2434
  ref = useObjectRef(ref);
2468
- const contextState = useContext8(OverlayTriggerStateContext);
2435
+ const contextState = useContext7(OverlayTriggerStateContext);
2469
2436
  const localState = useOverlayTriggerState(props);
2470
2437
  const state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
2471
2438
  const isExiting = useExitAnimation(ref, state.isOpen) || props.isExiting || false;
@@ -2473,7 +2440,7 @@ var NonModal = forwardRef18(
2473
2440
  if (state && !state.isOpen && !isExiting || isSSR) {
2474
2441
  return null;
2475
2442
  }
2476
- return /* @__PURE__ */ jsx44(
2443
+ return /* @__PURE__ */ jsx42(
2477
2444
  NonModalInner,
2478
2445
  {
2479
2446
  ...props,
@@ -2486,44 +2453,44 @@ var NonModal = forwardRef18(
2486
2453
  );
2487
2454
 
2488
2455
  // src/Dialog/DialogActions.tsx
2489
- import { cn as cn23, useClassNames as useClassNames25 } from "@marigold/system";
2490
- import { jsx as jsx45 } from "react/jsx-runtime";
2456
+ import { cn as cn23, useClassNames as useClassNames24 } from "@marigold/system";
2457
+ import { jsx as jsx43 } from "react/jsx-runtime";
2491
2458
  var DialogActions = ({ variant, size: size2, children }) => {
2492
- const classNames3 = useClassNames25({ component: "Dialog", variant, size: size2 });
2493
- return /* @__PURE__ */ jsx45("div", { className: cn23("[grid-area:actions]", classNames3.actions), children });
2459
+ const classNames3 = useClassNames24({ component: "Dialog", variant, size: size2 });
2460
+ return /* @__PURE__ */ jsx43("div", { className: cn23("[grid-area:actions]", classNames3.actions), children });
2494
2461
  };
2495
2462
 
2496
2463
  // src/Dialog/DialogContent.tsx
2497
- import { cn as cn24, useClassNames as useClassNames26 } from "@marigold/system";
2498
- import { jsx as jsx46 } from "react/jsx-runtime";
2464
+ import { cn as cn24, useClassNames as useClassNames25 } from "@marigold/system";
2465
+ import { jsx as jsx44 } from "react/jsx-runtime";
2499
2466
  var DialogContent = ({
2500
2467
  variant,
2501
2468
  size: size2,
2502
2469
  children
2503
2470
  }) => {
2504
- const classNames3 = useClassNames26({ component: "Dialog", variant, size: size2 });
2505
- return /* @__PURE__ */ jsx46("div", { className: cn24("[grid-area:content]", classNames3.content), children });
2471
+ const classNames3 = useClassNames25({ component: "Dialog", variant, size: size2 });
2472
+ return /* @__PURE__ */ jsx44("div", { className: cn24("[grid-area:content]", classNames3.content), children });
2506
2473
  };
2507
2474
 
2508
2475
  // src/Dialog/DialogTitle.tsx
2509
2476
  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";
2477
+ import { cn as cn25, useClassNames as useClassNames26 } from "@marigold/system";
2478
+ import { jsx as jsx45 } from "react/jsx-runtime";
2512
2479
  var DialogTitle = ({ variant, size: size2, children }) => {
2513
- const classNames3 = useClassNames27({
2480
+ const classNames3 = useClassNames26({
2514
2481
  component: "Dialog",
2515
2482
  variant,
2516
2483
  size: size2
2517
2484
  });
2518
- return /* @__PURE__ */ jsx47(Header2, { className: cn25("[grid-area:title]", classNames3.header), children: /* @__PURE__ */ jsx47(Heading3, { slot: "title", className: classNames3.title, children }) });
2485
+ return /* @__PURE__ */ jsx45(Header2, { className: cn25("[grid-area:title]", classNames3.header), children: /* @__PURE__ */ jsx45(Heading3, { slot: "title", className: classNames3.title, children }) });
2519
2486
  };
2520
2487
 
2521
2488
  // src/Dialog/DialogTrigger.tsx
2522
- import { createContext as createContext6 } from "react";
2489
+ import { createContext as createContext5 } from "react";
2523
2490
  import { DialogTrigger as DialogTrigger2 } from "react-aria-components";
2524
2491
  import { PressResponder } from "@react-aria/interactions";
2525
- import { jsx as jsx48 } from "react/jsx-runtime";
2526
- var DialogContext = createContext6({});
2492
+ import { jsx as jsx46 } from "react/jsx-runtime";
2493
+ var DialogContext = createContext5({});
2527
2494
  var _DialogTrigger = ({
2528
2495
  open,
2529
2496
  dismissable,
@@ -2536,33 +2503,33 @@ var _DialogTrigger = ({
2536
2503
  isKeyboardDismissDisabled: !keyboardDismissable,
2537
2504
  ...rest
2538
2505
  };
2539
- return /* @__PURE__ */ jsx48(DialogContext.Provider, { value: props, children: /* @__PURE__ */ jsx48(DialogTrigger2, { ...props, children: /* @__PURE__ */ jsx48(PressResponder, { isPressed: false, children: props.children }) }) });
2506
+ return /* @__PURE__ */ jsx46(DialogContext.Provider, { value: props, children: /* @__PURE__ */ jsx46(DialogTrigger2, { ...props, children: /* @__PURE__ */ jsx46(PressResponder, { isPressed: false, children: props.children }) }) });
2540
2507
  };
2541
2508
 
2542
2509
  // src/Dialog/Dialog.tsx
2543
- import { jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
2510
+ import { jsx as jsx47, jsxs as jsxs17 } from "react/jsx-runtime";
2544
2511
  var _Dialog = forwardRef19(
2545
2512
  ({ variant, size: size2, ...props }, ref) => {
2546
2513
  var _a;
2547
- const classNames3 = useClassNames28({
2514
+ const classNames3 = useClassNames27({
2548
2515
  component: "Dialog",
2549
2516
  variant,
2550
2517
  size: size2
2551
2518
  });
2552
- const { isDismissable, isKeyboardDismissDisabled, isOpen } = useContext9(DialogContext);
2553
- const state = useContext9(OverlayTriggerStateContext2);
2519
+ const { isDismissable, isKeyboardDismissDisabled, isOpen } = useContext8(DialogContext);
2520
+ const state = useContext8(OverlayTriggerStateContext2);
2554
2521
  const children = typeof props.children === "function" ? props.children({
2555
2522
  close: (_a = state == null ? void 0 : state.close) != null ? _a : () => {
2556
2523
  }
2557
2524
  }) : props.children;
2558
- return /* @__PURE__ */ jsx49(
2525
+ return /* @__PURE__ */ jsx47(
2559
2526
  _Modal,
2560
2527
  {
2561
2528
  dismissable: isDismissable,
2562
2529
  keyboardDismissable: isKeyboardDismissDisabled,
2563
2530
  open: isOpen,
2564
2531
  size: size2,
2565
- children: /* @__PURE__ */ jsxs18(
2532
+ children: /* @__PURE__ */ jsxs17(
2566
2533
  Dialog2,
2567
2534
  {
2568
2535
  ...props,
@@ -2573,7 +2540,7 @@ var _Dialog = forwardRef19(
2573
2540
  classNames3.container
2574
2541
  ),
2575
2542
  children: [
2576
- props.closeButton && /* @__PURE__ */ jsx49(
2543
+ props.closeButton && /* @__PURE__ */ jsx47(
2577
2544
  CloseButton,
2578
2545
  {
2579
2546
  className: classNames3.closeButton,
@@ -2595,38 +2562,38 @@ _Dialog.Actions = DialogActions;
2595
2562
 
2596
2563
  // src/Divider/Divider.tsx
2597
2564
  import { Separator } from "react-aria-components";
2598
- import { cn as cn27, useClassNames as useClassNames29 } from "@marigold/system";
2599
- import { jsx as jsx50 } from "react/jsx-runtime";
2565
+ import { cn as cn27, useClassNames as useClassNames28 } from "@marigold/system";
2566
+ import { jsx as jsx48 } from "react/jsx-runtime";
2600
2567
  var _Divider = ({ variant, ...props }) => {
2601
- const classNames3 = useClassNames29({ component: "Divider", variant });
2602
- return /* @__PURE__ */ jsx50(Separator, { className: cn27("border-none", classNames3), ...props });
2568
+ const classNames3 = useClassNames28({ component: "Divider", variant });
2569
+ return /* @__PURE__ */ jsx48(Separator, { className: cn27("border-none", classNames3), ...props });
2603
2570
  };
2604
2571
 
2605
2572
  // src/Drawer/Drawer.tsx
2606
- import { useContext as useContext11, useRef } from "react";
2573
+ import { useContext as useContext10, useRef } from "react";
2607
2574
  import { Dialog as Dialog3, OverlayTriggerStateContext as OverlayTriggerStateContext3 } from "react-aria-components";
2608
2575
  import { useLandmark } from "@react-aria/landmark";
2609
- import { cn as cn32, useClassNames as useClassNames33, useSmallScreen as useSmallScreen3 } from "@marigold/system";
2576
+ import { cn as cn32, useClassNames as useClassNames32, useSmallScreen as useSmallScreen3 } from "@marigold/system";
2610
2577
 
2611
2578
  // src/Drawer/Context.tsx
2612
- import { createContext as createContext7, useContext as useContext10 } from "react";
2613
- var DrawerContext = createContext7({
2579
+ import { createContext as createContext6, useContext as useContext9 } from "react";
2580
+ var DrawerContext = createContext6({
2614
2581
  variant: void 0,
2615
2582
  size: void 0
2616
2583
  });
2617
- var useDrawerContext = () => useContext10(DrawerContext);
2584
+ var useDrawerContext = () => useContext9(DrawerContext);
2618
2585
 
2619
2586
  // src/Drawer/DrawerActions.tsx
2620
- import { cn as cn28, useClassNames as useClassNames30 } from "@marigold/system";
2621
- import { jsx as jsx51 } from "react/jsx-runtime";
2587
+ import { cn as cn28, useClassNames as useClassNames29 } from "@marigold/system";
2588
+ import { jsx as jsx49 } from "react/jsx-runtime";
2622
2589
  var DrawerActions = ({ variant, size: size2, children }) => {
2623
2590
  const ctx = useDrawerContext();
2624
- const classNames3 = useClassNames30({
2591
+ const classNames3 = useClassNames29({
2625
2592
  component: "Drawer",
2626
2593
  variant: variant != null ? variant : ctx.variant,
2627
2594
  size: size2 != null ? size2 : ctx.size
2628
2595
  });
2629
- return /* @__PURE__ */ jsx51(
2596
+ return /* @__PURE__ */ jsx49(
2630
2597
  "div",
2631
2598
  {
2632
2599
  className: cn28("[grid-area:actions]", classNames3.actions),
@@ -2637,20 +2604,20 @@ var DrawerActions = ({ variant, size: size2, children }) => {
2637
2604
  };
2638
2605
 
2639
2606
  // src/Drawer/DrawerContent.tsx
2640
- import { cn as cn29, useClassNames as useClassNames31 } from "@marigold/system";
2641
- import { jsx as jsx52 } from "react/jsx-runtime";
2607
+ import { cn as cn29, useClassNames as useClassNames30 } from "@marigold/system";
2608
+ import { jsx as jsx50 } from "react/jsx-runtime";
2642
2609
  var DrawerContent = ({
2643
2610
  variant,
2644
2611
  size: size2,
2645
2612
  children
2646
2613
  }) => {
2647
2614
  const ctx = useDrawerContext();
2648
- const classNames3 = useClassNames31({
2615
+ const classNames3 = useClassNames30({
2649
2616
  component: "Drawer",
2650
2617
  variant: variant != null ? variant : ctx.variant,
2651
2618
  size: size2 != null ? size2 : ctx.size
2652
2619
  });
2653
- return /* @__PURE__ */ jsx52(
2620
+ return /* @__PURE__ */ jsx50(
2654
2621
  "div",
2655
2622
  {
2656
2623
  className: cn29("[grid-area:content]", classNames3.content),
@@ -2662,14 +2629,14 @@ var DrawerContent = ({
2662
2629
 
2663
2630
  // src/Drawer/DrawerModal.tsx
2664
2631
  import { cn as cn30, useSmallScreen as useSmallScreen2 } from "@marigold/system";
2665
- import { jsx as jsx53 } from "react/jsx-runtime";
2632
+ import { jsx as jsx51 } from "react/jsx-runtime";
2666
2633
  var DrawerModal = ({
2667
2634
  children,
2668
2635
  className,
2669
2636
  ...props
2670
2637
  }) => {
2671
2638
  const isSmallScreen = useSmallScreen2();
2672
- return isSmallScreen ? /* @__PURE__ */ jsx53(_Modal, { children }) : /* @__PURE__ */ jsx53(
2639
+ return isSmallScreen ? /* @__PURE__ */ jsx51(_Modal, { children }) : /* @__PURE__ */ jsx51(
2673
2640
  NonModal,
2674
2641
  {
2675
2642
  ...props,
@@ -2681,36 +2648,36 @@ var DrawerModal = ({
2681
2648
 
2682
2649
  // src/Drawer/DrawerTitle.tsx
2683
2650
  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";
2651
+ import { cn as cn31, useClassNames as useClassNames31 } from "@marigold/system";
2652
+ import { jsx as jsx52 } from "react/jsx-runtime";
2686
2653
  var DrawerTitle = ({ variant, size: size2, children }) => {
2687
- const classNames3 = useClassNames32({
2654
+ const classNames3 = useClassNames31({
2688
2655
  component: "Drawer",
2689
2656
  size: size2,
2690
2657
  variant,
2691
2658
  context: DrawerContext
2692
2659
  });
2693
- return /* @__PURE__ */ jsx54(
2660
+ return /* @__PURE__ */ jsx52(
2694
2661
  Header3,
2695
2662
  {
2696
2663
  className: cn31("[grid-area:title]", classNames3.header),
2697
2664
  style: { "--i": 0 },
2698
- children: /* @__PURE__ */ jsx54(Heading4, { slot: "title", level: 2, className: classNames3.title, children })
2665
+ children: /* @__PURE__ */ jsx52(Heading4, { slot: "title", level: 2, className: classNames3.title, children })
2699
2666
  }
2700
2667
  );
2701
2668
  };
2702
2669
 
2703
2670
  // src/Drawer/DrawerTrigger.tsx
2704
2671
  import { DialogTrigger as DialogTrigger3 } from "react-aria-components";
2705
- import { jsx as jsx55 } from "react/jsx-runtime";
2672
+ import { jsx as jsx53 } from "react/jsx-runtime";
2706
2673
  var DrawerTrigger = ({
2707
2674
  open,
2708
2675
  children,
2709
2676
  ...props
2710
- }) => /* @__PURE__ */ jsx55(DialogTrigger3, { isOpen: open, ...props, children });
2677
+ }) => /* @__PURE__ */ jsx53(DialogTrigger3, { isOpen: open, ...props, children });
2711
2678
 
2712
2679
  // src/Drawer/Drawer.tsx
2713
- import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
2680
+ import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
2714
2681
  var Drawer = ({
2715
2682
  children,
2716
2683
  variant,
@@ -2722,18 +2689,18 @@ var Drawer = ({
2722
2689
  ...props
2723
2690
  }) => {
2724
2691
  const ref = useRef(null);
2725
- const classNames3 = useClassNames33({ component: "Drawer", variant, size: size2 });
2726
- const ctx = useContext11(OverlayTriggerStateContext3);
2692
+ const classNames3 = useClassNames32({ component: "Drawer", variant, size: size2 });
2693
+ const ctx = useContext10(OverlayTriggerStateContext3);
2727
2694
  const isSmallScreen = useSmallScreen3();
2728
2695
  const landmarkAria = useLandmark({ ...props, role }, ref);
2729
2696
  const landmarkProps = isSmallScreen ? {} : landmarkAria.landmarkProps;
2730
- return /* @__PURE__ */ jsx56(
2697
+ return /* @__PURE__ */ jsx54(
2731
2698
  DrawerModal,
2732
2699
  {
2733
2700
  className: classNames3.overlay,
2734
2701
  open,
2735
2702
  keyboardDismissable,
2736
- children: /* @__PURE__ */ jsx56(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs19(
2703
+ children: /* @__PURE__ */ jsx54(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs18(
2737
2704
  Dialog3,
2738
2705
  {
2739
2706
  ...props,
@@ -2744,7 +2711,7 @@ var Drawer = ({
2744
2711
  classNames3.container
2745
2712
  ),
2746
2713
  children: [
2747
- closeButton && /* @__PURE__ */ jsx56(
2714
+ closeButton && /* @__PURE__ */ jsx54(
2748
2715
  CloseButton,
2749
2716
  {
2750
2717
  "aria-label": "dismiss drawer",
@@ -2766,18 +2733,18 @@ Drawer.Content = DrawerContent;
2766
2733
  Drawer.Actions = DrawerActions;
2767
2734
 
2768
2735
  // src/Footer/Footer.tsx
2769
- import { useClassNames as useClassNames34 } from "@marigold/system";
2770
- import { jsx as jsx57 } from "react/jsx-runtime";
2736
+ import { useClassNames as useClassNames33 } from "@marigold/system";
2737
+ import { jsx as jsx55 } from "react/jsx-runtime";
2771
2738
  var Footer = ({ children, variant, size: size2, ...props }) => {
2772
- const classNames3 = useClassNames34({ component: "Footer", variant, size: size2 });
2773
- return /* @__PURE__ */ jsx57("footer", { ...props, className: classNames3, children });
2739
+ const classNames3 = useClassNames33({ component: "Footer", variant, size: size2 });
2740
+ return /* @__PURE__ */ jsx55("footer", { ...props, className: classNames3, children });
2774
2741
  };
2775
2742
 
2776
2743
  // src/Form/Form.tsx
2777
2744
  import { Form } from "react-aria-components";
2778
2745
  import { cn as cn33, maxWidth as twMaxWidth } from "@marigold/system";
2779
- import { jsx as jsx58 } from "react/jsx-runtime";
2780
- var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx58(
2746
+ import { jsx as jsx56 } from "react/jsx-runtime";
2747
+ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx56(
2781
2748
  Form,
2782
2749
  {
2783
2750
  ...props,
@@ -2789,11 +2756,11 @@ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx58
2789
2756
  import { alignment, cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2790
2757
 
2791
2758
  // src/Grid/GridArea.tsx
2792
- import { jsx as jsx59 } from "react/jsx-runtime";
2793
- var GridArea = ({ name, children }) => /* @__PURE__ */ jsx59("div", { style: { gridArea: name }, children });
2759
+ import { jsx as jsx57 } from "react/jsx-runtime";
2760
+ var GridArea = ({ name, children }) => /* @__PURE__ */ jsx57("div", { style: { gridArea: name }, children });
2794
2761
 
2795
2762
  // src/Grid/Grid.tsx
2796
- import { jsx as jsx60 } from "react/jsx-runtime";
2763
+ import { jsx as jsx58 } from "react/jsx-runtime";
2797
2764
  var parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
2798
2765
  var parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
2799
2766
  var Grid = ({
@@ -2808,7 +2775,7 @@ var Grid = ({
2808
2775
  ...props
2809
2776
  }) => {
2810
2777
  var _a, _b, _c, _d;
2811
- return /* @__PURE__ */ jsx60(
2778
+ return /* @__PURE__ */ jsx58(
2812
2779
  "div",
2813
2780
  {
2814
2781
  className: cn34(
@@ -2832,15 +2799,15 @@ Grid.Area = GridArea;
2832
2799
 
2833
2800
  // src/Header/Header.tsx
2834
2801
  import { Header as Header4 } from "react-aria-components";
2835
- import { useClassNames as useClassNames35 } from "@marigold/system";
2836
- import { jsx as jsx61 } from "react/jsx-runtime";
2802
+ import { useClassNames as useClassNames34 } from "@marigold/system";
2803
+ import { jsx as jsx59 } from "react/jsx-runtime";
2837
2804
  var _Header = ({ variant, size: size2, ...props }) => {
2838
- const classNames3 = useClassNames35({
2805
+ const classNames3 = useClassNames34({
2839
2806
  component: "Header",
2840
2807
  variant,
2841
2808
  size: size2
2842
2809
  });
2843
- return /* @__PURE__ */ jsx61(Header4, { className: classNames3, ...props, children: props.children });
2810
+ return /* @__PURE__ */ jsx59(Header4, { className: classNames3, ...props, children: props.children });
2844
2811
  };
2845
2812
 
2846
2813
  // src/Headline/Headline.tsx
@@ -2849,9 +2816,9 @@ import {
2849
2816
  cn as cn35,
2850
2817
  ensureCssVar,
2851
2818
  textAlign,
2852
- useClassNames as useClassNames36
2819
+ useClassNames as useClassNames35
2853
2820
  } from "@marigold/system";
2854
- import { jsx as jsx62 } from "react/jsx-runtime";
2821
+ import { jsx as jsx60 } from "react/jsx-runtime";
2855
2822
  var _Headline = ({
2856
2823
  variant,
2857
2824
  size: size2,
@@ -2861,12 +2828,12 @@ var _Headline = ({
2861
2828
  level = "1",
2862
2829
  ...props
2863
2830
  }) => {
2864
- const classNames3 = useClassNames36({
2831
+ const classNames3 = useClassNames35({
2865
2832
  component: "Headline",
2866
2833
  variant,
2867
2834
  size: size2 != null ? size2 : `level-${level}`
2868
2835
  });
2869
- return /* @__PURE__ */ jsx62(
2836
+ return /* @__PURE__ */ jsx60(
2870
2837
  Heading5,
2871
2838
  {
2872
2839
  level: Number(level),
@@ -2888,9 +2855,9 @@ import {
2888
2855
  cn as cn36,
2889
2856
  objectFit,
2890
2857
  objectPosition,
2891
- useClassNames as useClassNames37
2858
+ useClassNames as useClassNames36
2892
2859
  } from "@marigold/system";
2893
- import { jsx as jsx63 } from "react/jsx-runtime";
2860
+ import { jsx as jsx61 } from "react/jsx-runtime";
2894
2861
  var Image = ({
2895
2862
  variant,
2896
2863
  size: size2,
@@ -2898,8 +2865,8 @@ var Image = ({
2898
2865
  position: position2 = "none",
2899
2866
  ...props
2900
2867
  }) => {
2901
- const classNames3 = useClassNames37({ component: "Image", variant, size: size2 });
2902
- return /* @__PURE__ */ jsx63(
2868
+ const classNames3 = useClassNames36({ component: "Image", variant, size: size2 });
2869
+ return /* @__PURE__ */ jsx61(
2903
2870
  "img",
2904
2871
  {
2905
2872
  ...props,
@@ -2916,7 +2883,7 @@ var Image = ({
2916
2883
 
2917
2884
  // src/Inline/Inline.tsx
2918
2885
  import { alignment as alignment2, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2919
- import { jsx as jsx64 } from "react/jsx-runtime";
2886
+ import { jsx as jsx62 } from "react/jsx-runtime";
2920
2887
  var Inline = ({
2921
2888
  space = 0,
2922
2889
  alignX,
@@ -2925,7 +2892,7 @@ var Inline = ({
2925
2892
  ...props
2926
2893
  }) => {
2927
2894
  var _a, _b, _c, _d;
2928
- return /* @__PURE__ */ jsx64(
2895
+ return /* @__PURE__ */ jsx62(
2929
2896
  "div",
2930
2897
  {
2931
2898
  ...props,
@@ -2933,7 +2900,8 @@ var Inline = ({
2933
2900
  "flex flex-wrap",
2934
2901
  gapSpace7[space],
2935
2902
  alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2936
- alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
2903
+ alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY]),
2904
+ alignY === "center" && "items-end [&:has([slot=description])]:items-center [&:has([slot=errorMessage])]:items-center"
2937
2905
  ),
2938
2906
  children
2939
2907
  }
@@ -2946,14 +2914,14 @@ import { DateField } from "react-aria-components";
2946
2914
 
2947
2915
  // src/DateField/DateInput.tsx
2948
2916
  import { DateInput, Group } from "react-aria-components";
2949
- import { useClassNames as useClassNames38 } from "@marigold/system";
2917
+ import { useClassNames as useClassNames37 } from "@marigold/system";
2950
2918
 
2951
2919
  // src/DateField/DateSegment.tsx
2952
2920
  import { DateSegment } from "react-aria-components";
2953
2921
  import { cn as cn38 } from "@marigold/system";
2954
- import { Fragment as Fragment5, jsx as jsx65, jsxs as jsxs20 } from "react/jsx-runtime";
2922
+ import { Fragment as Fragment4, jsx as jsx63, jsxs as jsxs19 } from "react/jsx-runtime";
2955
2923
  var _DateSegment = ({ segment, ...props }) => {
2956
- return /* @__PURE__ */ jsx65(
2924
+ return /* @__PURE__ */ jsx63(
2957
2925
  DateSegment,
2958
2926
  {
2959
2927
  ...props,
@@ -2961,8 +2929,8 @@ var _DateSegment = ({ segment, ...props }) => {
2961
2929
  style: {
2962
2930
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
2963
2931
  },
2964
- children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs20(Fragment5, { children: [
2965
- /* @__PURE__ */ jsx65(
2932
+ children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs19(Fragment4, { children: [
2933
+ /* @__PURE__ */ jsx63(
2966
2934
  "span",
2967
2935
  {
2968
2936
  "aria-hidden": "true",
@@ -2973,24 +2941,24 @@ var _DateSegment = ({ segment, ...props }) => {
2973
2941
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
2974
2942
  }
2975
2943
  ),
2976
- /* @__PURE__ */ jsx65("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
2944
+ /* @__PURE__ */ jsx63("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
2977
2945
  ] })
2978
2946
  }
2979
2947
  );
2980
2948
  };
2981
2949
 
2982
2950
  // src/DateField/DateInput.tsx
2983
- import { jsx as jsx66, jsxs as jsxs21 } from "react/jsx-runtime";
2951
+ import { jsx as jsx64, jsxs as jsxs20 } from "react/jsx-runtime";
2984
2952
  var _DateInput = ({ variant, size: size2, action, ...props }) => {
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 }) }),
2953
+ const classNames3 = useClassNames37({ component: "DateField", variant, size: size2 });
2954
+ return /* @__PURE__ */ jsxs20(Group, { className: classNames3.field, children: [
2955
+ /* @__PURE__ */ jsx64(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx64(_DateSegment, { className: classNames3.segment, segment }) }),
2988
2956
  action ? action : null
2989
2957
  ] });
2990
2958
  };
2991
2959
 
2992
2960
  // src/DateField/DateField.tsx
2993
- import { jsx as jsx67 } from "react/jsx-runtime";
2961
+ import { jsx as jsx65 } from "react/jsx-runtime";
2994
2962
  var _DateField = forwardRef20(
2995
2963
  ({
2996
2964
  variant,
@@ -3009,7 +2977,7 @@ var _DateField = forwardRef20(
3009
2977
  isRequired: required,
3010
2978
  ...rest
3011
2979
  };
3012
- return /* @__PURE__ */ jsx67(
2980
+ return /* @__PURE__ */ jsx65(
3013
2981
  FieldBase,
3014
2982
  {
3015
2983
  as: DateField,
@@ -3017,7 +2985,7 @@ var _DateField = forwardRef20(
3017
2985
  size: size2,
3018
2986
  ref,
3019
2987
  ...props,
3020
- children: /* @__PURE__ */ jsx67(_DateInput, { action })
2988
+ children: /* @__PURE__ */ jsx65(_DateInput, { action })
3021
2989
  }
3022
2990
  );
3023
2991
  }
@@ -3026,7 +2994,11 @@ var _DateField = forwardRef20(
3026
2994
  // src/Calendar/Calendar.tsx
3027
2995
  import { useState } from "react";
3028
2996
  import { Calendar } from "react-aria-components";
3029
- import { cn as cn44, useClassNames as useClassNames42 } from "@marigold/system";
2997
+ import {
2998
+ cn as cn44,
2999
+ width as twWidth2,
3000
+ useClassNames as useClassNames41
3001
+ } from "@marigold/system";
3030
3002
 
3031
3003
  // src/Calendar/CalendarGrid.tsx
3032
3004
  import {
@@ -3034,18 +3006,18 @@ import {
3034
3006
  CalendarGrid,
3035
3007
  CalendarGridBody
3036
3008
  } from "react-aria-components";
3037
- import { cn as cn39, useClassNames as useClassNames40 } from "@marigold/system";
3009
+ import { cn as cn39, useClassNames as useClassNames39 } from "@marigold/system";
3038
3010
 
3039
3011
  // src/Calendar/CalendarGridHeader.tsx
3040
3012
  import { startOfWeek, today } from "@internationalized/date";
3041
- import { useContext as useContext12, useMemo as useMemo2 } from "react";
3013
+ import { useContext as useContext11, useMemo as useMemo2 } from "react";
3042
3014
  import { CalendarStateContext } from "react-aria-components";
3043
3015
  import { useCalendarGrid } from "@react-aria/calendar";
3044
3016
  import { useDateFormatter, useLocale } from "@react-aria/i18n";
3045
- import { useClassNames as useClassNames39 } from "@marigold/system";
3046
- import { jsx as jsx68 } from "react/jsx-runtime";
3017
+ import { useClassNames as useClassNames38 } from "@marigold/system";
3018
+ import { jsx as jsx66 } from "react/jsx-runtime";
3047
3019
  function CalendarGridHeader(props) {
3048
- const state = useContext12(CalendarStateContext);
3020
+ const state = useContext11(CalendarStateContext);
3049
3021
  const { headerProps } = useCalendarGrid(props, state);
3050
3022
  const { locale } = useLocale();
3051
3023
  const dayFormatter = useDateFormatter({
@@ -3060,17 +3032,17 @@ function CalendarGridHeader(props) {
3060
3032
  return dayFormatter.format(dateDay);
3061
3033
  });
3062
3034
  }, [locale, state.timeZone, dayFormatter]);
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)) }) });
3035
+ const classNames3 = useClassNames38({ component: "Calendar" });
3036
+ return /* @__PURE__ */ jsx66("thead", { ...headerProps, children: /* @__PURE__ */ jsx66("tr", { children: weekDays.map((day, index2) => /* @__PURE__ */ jsx66("th", { className: classNames3.calendarHeader, children: day.substring(0, 2) }, index2)) }) });
3065
3037
  }
3066
3038
 
3067
3039
  // src/Calendar/CalendarGrid.tsx
3068
- import { jsx as jsx69, jsxs as jsxs22 } from "react/jsx-runtime";
3040
+ import { jsx as jsx67, jsxs as jsxs21 } from "react/jsx-runtime";
3069
3041
  var _CalendarGrid = () => {
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(
3042
+ const classNames3 = useClassNames39({ component: "Calendar" });
3043
+ return /* @__PURE__ */ jsxs21(CalendarGrid, { className: classNames3.calendarGrid, children: [
3044
+ /* @__PURE__ */ jsx67(CalendarGridHeader, {}),
3045
+ /* @__PURE__ */ jsx67(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx67(
3074
3046
  CalendarCell,
3075
3047
  {
3076
3048
  date,
@@ -3084,14 +3056,14 @@ var _CalendarGrid = () => {
3084
3056
  };
3085
3057
 
3086
3058
  // src/Calendar/CalendarListBox.tsx
3087
- import { useContext as useContext14 } from "react";
3059
+ import { useContext as useContext13 } from "react";
3088
3060
  import { CalendarStateContext as CalendarStateContext2 } from "react-aria-components";
3089
3061
  import { cn as cn40 } from "@marigold/system";
3090
3062
 
3091
3063
  // src/Calendar/Context.tsx
3092
- import { createContext as createContext8, useContext as useContext13 } from "react";
3093
- var CalendarContext = createContext8({});
3094
- var useCalendarContext = () => useContext13(CalendarContext);
3064
+ import { createContext as createContext7, useContext as useContext12 } from "react";
3065
+ var CalendarContext = createContext7({});
3066
+ var useCalendarContext = () => useContext12(CalendarContext);
3095
3067
 
3096
3068
  // src/Calendar/useFormattedMonths.tsx
3097
3069
  import { useDateFormatter as useDateFormatter2 } from "@react-aria/i18n";
@@ -3110,17 +3082,17 @@ function useFormattedMonths(timeZone, focusedDate) {
3110
3082
  }
3111
3083
 
3112
3084
  // src/Calendar/CalendarListBox.tsx
3113
- import { jsx as jsx70, jsxs as jsxs23 } from "react/jsx-runtime";
3085
+ import { jsx as jsx68, jsxs as jsxs22 } from "react/jsx-runtime";
3114
3086
  function CalendarListBox({
3115
3087
  type,
3116
3088
  isDisabled,
3117
3089
  setSelectedDropdown
3118
3090
  }) {
3119
- const state = useContext14(CalendarStateContext2);
3091
+ const state = useContext13(CalendarStateContext2);
3120
3092
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3121
3093
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
3122
3094
  const { classNames: classNames3 } = useCalendarContext();
3123
- return /* @__PURE__ */ jsxs23(
3095
+ return /* @__PURE__ */ jsxs22(
3124
3096
  "button",
3125
3097
  {
3126
3098
  disabled: isDisabled,
@@ -3129,18 +3101,18 @@ function CalendarListBox({
3129
3101
  "data-testid": type,
3130
3102
  children: [
3131
3103
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
3132
- /* @__PURE__ */ jsx70(ChevronDown, {})
3104
+ /* @__PURE__ */ jsx68(ChevronDown, {})
3133
3105
  ]
3134
3106
  }
3135
3107
  );
3136
3108
  }
3137
3109
 
3138
3110
  // src/Calendar/MonthControls.tsx
3139
- import { cn as cn41, useClassNames as useClassNames41 } from "@marigold/system";
3140
- import { jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
3111
+ import { cn as cn41, useClassNames as useClassNames40 } from "@marigold/system";
3112
+ import { jsx as jsx69, jsxs as jsxs23 } from "react/jsx-runtime";
3141
3113
  function MonthControls() {
3142
- const classNames3 = useClassNames41({ component: "Calendar" });
3143
- return /* @__PURE__ */ jsxs24(
3114
+ const classNames3 = useClassNames40({ component: "Calendar" });
3115
+ return /* @__PURE__ */ jsxs23(
3144
3116
  "div",
3145
3117
  {
3146
3118
  className: cn41(
@@ -3148,22 +3120,22 @@ function MonthControls() {
3148
3120
  classNames3.calendarControllers
3149
3121
  ),
3150
3122
  children: [
3151
- /* @__PURE__ */ jsx71(
3123
+ /* @__PURE__ */ jsx69(
3152
3124
  IconButton,
3153
3125
  {
3154
3126
  className: cn41("inline-flex items-center justify-center gap-[0.5ch]"),
3155
3127
  variant: "navigation",
3156
3128
  slot: "previous",
3157
- children: /* @__PURE__ */ jsx71(ChevronLeft, {})
3129
+ children: /* @__PURE__ */ jsx69(ChevronLeft, {})
3158
3130
  }
3159
3131
  ),
3160
- /* @__PURE__ */ jsx71(
3132
+ /* @__PURE__ */ jsx69(
3161
3133
  IconButton,
3162
3134
  {
3163
3135
  className: cn41("inline-flex items-center justify-center gap-[0.5ch]"),
3164
3136
  variant: "navigation",
3165
3137
  slot: "next",
3166
- children: /* @__PURE__ */ jsx71(ChevronRight, {})
3138
+ children: /* @__PURE__ */ jsx69(ChevronRight, {})
3167
3139
  }
3168
3140
  )
3169
3141
  ]
@@ -3173,13 +3145,13 @@ function MonthControls() {
3173
3145
  var MonthControls_default = MonthControls;
3174
3146
 
3175
3147
  // src/Calendar/MonthListBox.tsx
3176
- import { useContext as useContext15 } from "react";
3148
+ import { useContext as useContext14 } from "react";
3177
3149
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
3178
3150
  import { Button as Button7 } from "react-aria-components";
3179
3151
  import { cn as cn42 } from "@marigold/system";
3180
- import { jsx as jsx72 } from "react/jsx-runtime";
3152
+ import { jsx as jsx70 } from "react/jsx-runtime";
3181
3153
  var MonthListBox = ({ setSelectedDropdown }) => {
3182
- const state = useContext15(CalendarStateContext3);
3154
+ const state = useContext14(CalendarStateContext3);
3183
3155
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
3184
3156
  let onChange2 = (index2) => {
3185
3157
  let value = Number(index2) + 1;
@@ -3187,14 +3159,14 @@ var MonthListBox = ({ setSelectedDropdown }) => {
3187
3159
  state.setFocusedDate(date);
3188
3160
  };
3189
3161
  const { classNames: classNames3 } = useCalendarContext();
3190
- return /* @__PURE__ */ jsx72(
3162
+ return /* @__PURE__ */ jsx70(
3191
3163
  "ul",
3192
3164
  {
3193
3165
  "data-testid": "monthOptions",
3194
3166
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 p-2",
3195
3167
  children: months.map((month, index2) => {
3196
3168
  const isSelected = index2 === state.focusedDate.month - 1;
3197
- return /* @__PURE__ */ jsx72("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx72(
3169
+ return /* @__PURE__ */ jsx70("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx70(
3198
3170
  Button7,
3199
3171
  {
3200
3172
  slot: "previous",
@@ -3219,16 +3191,16 @@ var MonthListBox_default = MonthListBox;
3219
3191
 
3220
3192
  // src/Calendar/YearListBox.tsx
3221
3193
  import {
3222
- useContext as useContext16,
3194
+ useContext as useContext15,
3223
3195
  useEffect,
3224
3196
  useRef as useRef2
3225
3197
  } from "react";
3226
3198
  import { Button as Button8, CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
3227
3199
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
3228
3200
  import { cn as cn43 } from "@marigold/system";
3229
- import { jsx as jsx73 } from "react/jsx-runtime";
3201
+ import { jsx as jsx71 } from "react/jsx-runtime";
3230
3202
  var YearListBox = ({ setSelectedDropdown }) => {
3231
- const state = useContext16(CalendarStateContext4);
3203
+ const state = useContext15(CalendarStateContext4);
3232
3204
  const { classNames: classNames3 } = useCalendarContext();
3233
3205
  const years = [];
3234
3206
  let formatter = useDateFormatter3({
@@ -3257,19 +3229,19 @@ var YearListBox = ({ setSelectedDropdown }) => {
3257
3229
  let date = years[index2].value;
3258
3230
  state.setFocusedDate(date);
3259
3231
  };
3260
- return /* @__PURE__ */ jsx73(
3232
+ return /* @__PURE__ */ jsx71(
3261
3233
  "ul",
3262
3234
  {
3263
3235
  "data-testid": "yearOptions",
3264
3236
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
3265
3237
  children: years.map((year, index2) => {
3266
3238
  const isSelected = +year.formatted === state.focusedDate.year;
3267
- return /* @__PURE__ */ jsx73("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx73(
3239
+ return /* @__PURE__ */ jsx71("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx71(
3268
3240
  "div",
3269
3241
  {
3270
3242
  ref: isSelected ? activeButtonRef : null,
3271
3243
  className: "flex size-full justify-center",
3272
- children: /* @__PURE__ */ jsx73(
3244
+ children: /* @__PURE__ */ jsx71(
3273
3245
  Button8,
3274
3246
  {
3275
3247
  slot: "previous",
@@ -3296,12 +3268,13 @@ var YearListBox = ({ setSelectedDropdown }) => {
3296
3268
  var YearListBox_default = YearListBox;
3297
3269
 
3298
3270
  // src/Calendar/Calendar.tsx
3299
- import { jsx as jsx74, jsxs as jsxs25 } from "react/jsx-runtime";
3271
+ import { jsx as jsx72, jsxs as jsxs24 } from "react/jsx-runtime";
3300
3272
  var _Calendar = ({
3301
3273
  disabled,
3302
3274
  readOnly,
3303
3275
  size: size2,
3304
3276
  variant,
3277
+ width = "fit",
3305
3278
  dateUnavailable,
3306
3279
  ...rest
3307
3280
  }) => {
@@ -3311,22 +3284,23 @@ var _Calendar = ({
3311
3284
  isDateUnavailable: dateUnavailable,
3312
3285
  ...rest
3313
3286
  };
3314
- const classNames3 = useClassNames42({ component: "Calendar", size: size2, variant });
3287
+ const classNames3 = useClassNames41({ component: "Calendar", size: size2, variant });
3315
3288
  const [selectedDropdown, setSelectedDropdown] = useState();
3316
3289
  const ViewMap = {
3317
- month: /* @__PURE__ */ jsx74(MonthListBox_default, { setSelectedDropdown }),
3318
- year: /* @__PURE__ */ jsx74(YearListBox_default, { setSelectedDropdown })
3290
+ month: /* @__PURE__ */ jsx72(MonthListBox_default, { setSelectedDropdown }),
3291
+ year: /* @__PURE__ */ jsx72(YearListBox_default, { setSelectedDropdown })
3319
3292
  };
3320
- return /* @__PURE__ */ jsx74(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs25(
3293
+ return /* @__PURE__ */ jsx72(CalendarContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs24(
3321
3294
  Calendar,
3322
3295
  {
3323
3296
  className: cn44(
3324
- "relative flex min-h-[350px] w-fit flex-col rounded-xs p-4",
3297
+ "relative flex min-h-[350px] flex-col rounded-xs p-4",
3298
+ twWidth2[width],
3325
3299
  classNames3.calendar
3326
3300
  ),
3327
3301
  ...props,
3328
3302
  children: [
3329
- /* @__PURE__ */ jsx74(
3303
+ /* @__PURE__ */ jsx72(
3330
3304
  "div",
3331
3305
  {
3332
3306
  className: cn44(
@@ -3336,7 +3310,7 @@ var _Calendar = ({
3336
3310
  children: ViewMap[selectedDropdown]
3337
3311
  }
3338
3312
  ),
3339
- /* @__PURE__ */ jsxs25(
3313
+ /* @__PURE__ */ jsxs24(
3340
3314
  "div",
3341
3315
  {
3342
3316
  className: cn44(
@@ -3344,8 +3318,8 @@ var _Calendar = ({
3344
3318
  selectedDropdown && "pointer-events-none opacity-0"
3345
3319
  ),
3346
3320
  children: [
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(
3321
+ /* @__PURE__ */ jsxs24("div", { className: "mb-4 flex items-center justify-between", children: [
3322
+ /* @__PURE__ */ jsx72("div", { className: "flex w-fit gap-4", children: ["month", "year"].map((dateType) => /* @__PURE__ */ jsx72(
3349
3323
  CalendarListBox,
3350
3324
  {
3351
3325
  type: dateType,
@@ -3354,9 +3328,9 @@ var _Calendar = ({
3354
3328
  },
3355
3329
  dateType
3356
3330
  )) }),
3357
- /* @__PURE__ */ jsx74(MonthControls_default, {})
3331
+ /* @__PURE__ */ jsx72(MonthControls_default, {})
3358
3332
  ] }),
3359
- /* @__PURE__ */ jsx74(_CalendarGrid, {})
3333
+ /* @__PURE__ */ jsx72(_CalendarGrid, {})
3360
3334
  ]
3361
3335
  }
3362
3336
  )
@@ -3368,8 +3342,8 @@ var _Calendar = ({
3368
3342
  // src/DatePicker/DatePicker.tsx
3369
3343
  import React6 from "react";
3370
3344
  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";
3345
+ import { useClassNames as useClassNames42 } from "@marigold/system";
3346
+ import { jsx as jsx73, jsxs as jsxs25 } from "react/jsx-runtime";
3373
3347
  var _DatePicker = React6.forwardRef(
3374
3348
  ({
3375
3349
  dateUnavailable,
@@ -3393,12 +3367,12 @@ var _DatePicker = React6.forwardRef(
3393
3367
  granularity,
3394
3368
  ...rest
3395
3369
  };
3396
- const classNames3 = useClassNames43({
3370
+ const classNames3 = useClassNames42({
3397
3371
  component: "DatePicker",
3398
3372
  size: size2,
3399
3373
  variant
3400
3374
  });
3401
- return /* @__PURE__ */ jsxs26(
3375
+ return /* @__PURE__ */ jsxs25(
3402
3376
  FieldBase,
3403
3377
  {
3404
3378
  as: DatePicker,
@@ -3407,10 +3381,10 @@ var _DatePicker = React6.forwardRef(
3407
3381
  ...props,
3408
3382
  ref,
3409
3383
  children: [
3410
- /* @__PURE__ */ jsx75(
3384
+ /* @__PURE__ */ jsx73(
3411
3385
  _DateInput,
3412
3386
  {
3413
- action: /* @__PURE__ */ jsx75(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx75(
3387
+ action: /* @__PURE__ */ jsx73(IconButton, { className: classNames3, children: /* @__PURE__ */ jsx73(
3414
3388
  "svg",
3415
3389
  {
3416
3390
  "data-testid": "action",
@@ -3418,12 +3392,12 @@ var _DatePicker = React6.forwardRef(
3418
3392
  width: 24,
3419
3393
  height: 24,
3420
3394
  fill: "currentColor",
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" })
3395
+ children: /* @__PURE__ */ jsx73("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" })
3422
3396
  }
3423
3397
  ) })
3424
3398
  }
3425
3399
  ),
3426
- /* @__PURE__ */ jsx75(_Popover, { children: /* @__PURE__ */ jsx75(Dialog4, { children: /* @__PURE__ */ jsx75(_Calendar, { disabled }) }) })
3400
+ /* @__PURE__ */ jsx73(_Popover, { children: /* @__PURE__ */ jsx73(Dialog4, { children: /* @__PURE__ */ jsx73(_Calendar, { disabled }) }) })
3427
3401
  ]
3428
3402
  }
3429
3403
  );
@@ -3437,8 +3411,8 @@ import {
3437
3411
  paddingSpaceX as paddingSpaceX2,
3438
3412
  paddingSpaceY as paddingSpaceY2
3439
3413
  } from "@marigold/system";
3440
- import { jsx as jsx76 } from "react/jsx-runtime";
3441
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx76(
3414
+ import { jsx as jsx74 } from "react/jsx-runtime";
3415
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx74(
3442
3416
  "div",
3443
3417
  {
3444
3418
  className: cn45(
@@ -3453,36 +3427,36 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx76(
3453
3427
  // src/Link/Link.tsx
3454
3428
  import { forwardRef as forwardRef21 } from "react";
3455
3429
  import { Link } from "react-aria-components";
3456
- import { useClassNames as useClassNames44 } from "@marigold/system";
3457
- import { jsx as jsx77 } from "react/jsx-runtime";
3430
+ import { useClassNames as useClassNames43 } from "@marigold/system";
3431
+ import { jsx as jsx75 } from "react/jsx-runtime";
3458
3432
  var _Link = forwardRef21(
3459
3433
  ({ variant, size: size2, disabled, children, ...props }, ref) => {
3460
- const classNames3 = useClassNames44({
3434
+ const classNames3 = useClassNames43({
3461
3435
  component: "Link",
3462
3436
  variant,
3463
3437
  size: size2
3464
3438
  });
3465
- return /* @__PURE__ */ jsx77(Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3439
+ return /* @__PURE__ */ jsx75(Link, { ...props, ref, className: classNames3, isDisabled: disabled, children });
3466
3440
  }
3467
3441
  );
3468
3442
 
3469
3443
  // src/List/List.tsx
3470
- import { useClassNames as useClassNames45 } from "@marigold/system";
3444
+ import { useClassNames as useClassNames44 } from "@marigold/system";
3471
3445
 
3472
3446
  // src/List/Context.ts
3473
- import { createContext as createContext9, useContext as useContext17 } from "react";
3474
- var ListContext = createContext9({});
3475
- var useListContext = () => useContext17(ListContext);
3447
+ import { createContext as createContext8, useContext as useContext16 } from "react";
3448
+ var ListContext = createContext8({});
3449
+ var useListContext = () => useContext16(ListContext);
3476
3450
 
3477
3451
  // src/List/ListItem.tsx
3478
- import { jsx as jsx78 } from "react/jsx-runtime";
3452
+ import { jsx as jsx76 } from "react/jsx-runtime";
3479
3453
  var ListItem = ({ children, ...props }) => {
3480
3454
  const { classNames: classNames3 } = useListContext();
3481
- return /* @__PURE__ */ jsx78("li", { ...props, className: classNames3, children });
3455
+ return /* @__PURE__ */ jsx76("li", { ...props, className: classNames3, children });
3482
3456
  };
3483
3457
 
3484
3458
  // src/List/List.tsx
3485
- import { jsx as jsx79 } from "react/jsx-runtime";
3459
+ import { jsx as jsx77 } from "react/jsx-runtime";
3486
3460
  var List = ({
3487
3461
  as = "ul",
3488
3462
  children,
@@ -3491,38 +3465,38 @@ var List = ({
3491
3465
  ...props
3492
3466
  }) => {
3493
3467
  const Component2 = as;
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 }) });
3468
+ const classNames3 = useClassNames44({ component: "List", variant, size: size2 });
3469
+ return /* @__PURE__ */ jsx77(Component2, { ...props, className: classNames3[as], children: /* @__PURE__ */ jsx77(ListContext.Provider, { value: { classNames: classNames3.item }, children }) });
3496
3470
  };
3497
3471
  List.Item = ListItem;
3498
3472
 
3499
3473
  // src/Menu/Menu.tsx
3500
3474
  import { Button as Button9, Menu, MenuTrigger } from "react-aria-components";
3501
- import { useClassNames as useClassNames48 } from "@marigold/system";
3475
+ import { useClassNames as useClassNames47 } from "@marigold/system";
3502
3476
 
3503
3477
  // src/Menu/MenuItem.tsx
3504
3478
  import { MenuItem } from "react-aria-components";
3505
- import { useClassNames as useClassNames46 } from "@marigold/system";
3506
- import { jsx as jsx80 } from "react/jsx-runtime";
3479
+ import { useClassNames as useClassNames45 } from "@marigold/system";
3480
+ import { jsx as jsx78 } from "react/jsx-runtime";
3507
3481
  var _MenuItem = ({ children, ...props }) => {
3508
- const classNames3 = useClassNames46({ component: "Menu" });
3509
- return /* @__PURE__ */ jsx80(MenuItem, { ...props, className: classNames3.item, children });
3482
+ const classNames3 = useClassNames45({ component: "Menu" });
3483
+ return /* @__PURE__ */ jsx78(MenuItem, { ...props, className: classNames3.item, children });
3510
3484
  };
3511
3485
 
3512
3486
  // src/Menu/MenuSection.tsx
3513
3487
  import { MenuSection } from "react-aria-components";
3514
- import { useClassNames as useClassNames47 } from "@marigold/system";
3515
- import { jsx as jsx81, jsxs as jsxs27 } from "react/jsx-runtime";
3488
+ import { useClassNames as useClassNames46 } from "@marigold/system";
3489
+ import { jsx as jsx79, jsxs as jsxs26 } from "react/jsx-runtime";
3516
3490
  var _MenuSection = ({ children, title, ...props }) => {
3517
- const className = useClassNames47({ component: "Menu" });
3518
- return /* @__PURE__ */ jsxs27(MenuSection, { ...props, children: [
3519
- /* @__PURE__ */ jsx81(_Header, { className: className.section, children: title }),
3491
+ const className = useClassNames46({ component: "Menu" });
3492
+ return /* @__PURE__ */ jsxs26(MenuSection, { ...props, children: [
3493
+ /* @__PURE__ */ jsx79(_Header, { className: className.section, children: title }),
3520
3494
  children
3521
3495
  ] });
3522
3496
  };
3523
3497
 
3524
3498
  // src/Menu/Menu.tsx
3525
- import { jsx as jsx82, jsxs as jsxs28 } from "react/jsx-runtime";
3499
+ import { jsx as jsx80, jsxs as jsxs27 } from "react/jsx-runtime";
3526
3500
  var _Menu = ({
3527
3501
  children,
3528
3502
  label,
@@ -3534,9 +3508,9 @@ var _Menu = ({
3534
3508
  "aria-label": ariaLabel,
3535
3509
  ...props
3536
3510
  }) => {
3537
- const classNames3 = useClassNames48({ component: "Menu", variant, size: size2 });
3538
- return /* @__PURE__ */ jsxs28(MenuTrigger, { ...props, children: [
3539
- /* @__PURE__ */ jsx82(
3511
+ const classNames3 = useClassNames47({ component: "Menu", variant, size: size2 });
3512
+ return /* @__PURE__ */ jsxs27(MenuTrigger, { ...props, children: [
3513
+ /* @__PURE__ */ jsx80(
3540
3514
  Button9,
3541
3515
  {
3542
3516
  className: classNames3.button,
@@ -3545,7 +3519,7 @@ var _Menu = ({
3545
3519
  children: label
3546
3520
  }
3547
3521
  ),
3548
- /* @__PURE__ */ jsx82(_Popover, { open, placement, children: /* @__PURE__ */ jsx82(Menu, { ...props, className: classNames3.container, children }) })
3522
+ /* @__PURE__ */ jsx80(_Popover, { open, placement, children: /* @__PURE__ */ jsx80(Menu, { ...props, className: classNames3.container, children }) })
3549
3523
  ] });
3550
3524
  };
3551
3525
  _Menu.Item = _MenuItem;
@@ -3553,17 +3527,17 @@ _Menu.Section = _MenuSection;
3553
3527
 
3554
3528
  // src/Menu/ActionMenu.tsx
3555
3529
  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";
3530
+ import { useClassNames as useClassNames48 } from "@marigold/system";
3531
+ import { jsx as jsx81, jsxs as jsxs28 } from "react/jsx-runtime";
3558
3532
  var ActionMenu = ({
3559
3533
  variant,
3560
3534
  size: size2,
3561
3535
  disabled,
3562
3536
  ...props
3563
3537
  }) => {
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(
3538
+ const classNames3 = useClassNames48({ component: "Menu", variant, size: size2 });
3539
+ return /* @__PURE__ */ jsxs28(MenuTrigger2, { children: [
3540
+ /* @__PURE__ */ jsx81(Button10, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsxs28(
3567
3541
  "svg",
3568
3542
  {
3569
3543
  xmlns: "http://www.w3.org/2000/svg",
@@ -3574,54 +3548,54 @@ var ActionMenu = ({
3574
3548
  strokeLinecap: "round",
3575
3549
  strokeLinejoin: "round",
3576
3550
  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 })
3551
+ /* @__PURE__ */ jsx81("circle", { cx: 12, cy: 12, r: 1 }),
3552
+ /* @__PURE__ */ jsx81("circle", { cx: 12, cy: 5, r: 1 }),
3553
+ /* @__PURE__ */ jsx81("circle", { cx: 12, cy: 19, r: 1 })
3580
3554
  ]
3581
3555
  }
3582
3556
  ) }),
3583
- /* @__PURE__ */ jsx83(_Popover, { children: /* @__PURE__ */ jsx83(Menu2, { ...props, className: classNames3.container, children: props.children }) })
3557
+ /* @__PURE__ */ jsx81(_Popover, { children: /* @__PURE__ */ jsx81(Menu2, { ...props, className: classNames3.container, children: props.children }) })
3584
3558
  ] });
3585
3559
  };
3586
3560
 
3587
3561
  // src/SectionMessage/SectionMessage.tsx
3588
3562
  import { useRef as useRef3, useState as useState2 } from "react";
3589
3563
  import { useButton } from "@react-aria/button";
3590
- import { cn as cn48, useClassNames as useClassNames50 } from "@marigold/system";
3564
+ import { cn as cn48, useClassNames as useClassNames49 } from "@marigold/system";
3591
3565
 
3592
3566
  // src/SectionMessage/Context.tsx
3593
- import { createContext as createContext10, useContext as useContext18 } from "react";
3594
- var SectionMessageContext = createContext10({});
3595
- var useSectionMessageContext = () => useContext18(SectionMessageContext);
3567
+ import { createContext as createContext9, useContext as useContext17 } from "react";
3568
+ var SectionMessageContext = createContext9({});
3569
+ var useSectionMessageContext = () => useContext17(SectionMessageContext);
3596
3570
 
3597
3571
  // src/SectionMessage/SectionMessageContent.tsx
3598
3572
  import { cn as cn46 } from "@marigold/system";
3599
- import { jsx as jsx84 } from "react/jsx-runtime";
3573
+ import { jsx as jsx82 } from "react/jsx-runtime";
3600
3574
  var SectionMessageContent = ({
3601
3575
  children
3602
3576
  }) => {
3603
3577
  const { classNames: classNames3 } = useSectionMessageContext();
3604
- return /* @__PURE__ */ jsx84("div", { className: cn46("[grid-area:content]", classNames3.content), children });
3578
+ return /* @__PURE__ */ jsx82("div", { className: cn46("[grid-area:content]", classNames3.content), children });
3605
3579
  };
3606
3580
 
3607
3581
  // src/SectionMessage/SectionMessageTitle.tsx
3608
3582
  import { cn as cn47 } from "@marigold/system";
3609
- import { jsx as jsx85 } from "react/jsx-runtime";
3583
+ import { jsx as jsx83 } from "react/jsx-runtime";
3610
3584
  var SectionMessageTitle = ({ children }) => {
3611
3585
  const { classNames: classNames3 } = useSectionMessageContext();
3612
- return /* @__PURE__ */ jsx85("div", { className: cn47("[grid-area:title]", classNames3.title), children });
3586
+ return /* @__PURE__ */ jsx83("div", { className: cn47("[grid-area:title]", classNames3.title), children });
3613
3587
  };
3614
3588
 
3615
3589
  // src/SectionMessage/SectionMessage.tsx
3616
- import { jsx as jsx86, jsxs as jsxs30 } from "react/jsx-runtime";
3590
+ import { jsx as jsx84, jsxs as jsxs29 } from "react/jsx-runtime";
3617
3591
  var icons2 = {
3618
- success: () => /* @__PURE__ */ jsx86(
3592
+ success: () => /* @__PURE__ */ jsx84(
3619
3593
  "svg",
3620
3594
  {
3621
3595
  xmlns: "http://www.w3.org/2000/svg",
3622
3596
  viewBox: "0 0 24 24",
3623
3597
  fill: "currentColor",
3624
- children: /* @__PURE__ */ jsx86(
3598
+ children: /* @__PURE__ */ jsx84(
3625
3599
  "path",
3626
3600
  {
3627
3601
  fillRule: "evenodd",
@@ -3631,13 +3605,13 @@ var icons2 = {
3631
3605
  )
3632
3606
  }
3633
3607
  ),
3634
- info: () => /* @__PURE__ */ jsx86(
3608
+ info: () => /* @__PURE__ */ jsx84(
3635
3609
  "svg",
3636
3610
  {
3637
3611
  xmlns: "http://www.w3.org/2000/svg",
3638
3612
  viewBox: "0 0 24 24",
3639
3613
  fill: "currentColor",
3640
- children: /* @__PURE__ */ jsx86(
3614
+ children: /* @__PURE__ */ jsx84(
3641
3615
  "path",
3642
3616
  {
3643
3617
  fillRule: "evenodd",
@@ -3647,13 +3621,13 @@ var icons2 = {
3647
3621
  )
3648
3622
  }
3649
3623
  ),
3650
- warning: () => /* @__PURE__ */ jsx86(
3624
+ warning: () => /* @__PURE__ */ jsx84(
3651
3625
  "svg",
3652
3626
  {
3653
3627
  xmlns: "http://www.w3.org/2000/svg",
3654
3628
  viewBox: "0 0 24 24",
3655
3629
  fill: "currentColor",
3656
- children: /* @__PURE__ */ jsx86(
3630
+ children: /* @__PURE__ */ jsx84(
3657
3631
  "path",
3658
3632
  {
3659
3633
  fillRule: "evenodd",
@@ -3663,13 +3637,13 @@ var icons2 = {
3663
3637
  )
3664
3638
  }
3665
3639
  ),
3666
- error: () => /* @__PURE__ */ jsx86(
3640
+ error: () => /* @__PURE__ */ jsx84(
3667
3641
  "svg",
3668
3642
  {
3669
3643
  xmlns: "http://www.w3.org/2000/svg",
3670
3644
  viewBox: "0 0 24 24",
3671
3645
  fill: "currentColor",
3672
- children: /* @__PURE__ */ jsx86(
3646
+ children: /* @__PURE__ */ jsx84(
3673
3647
  "path",
3674
3648
  {
3675
3649
  fillRule: "evenodd",
@@ -3690,7 +3664,7 @@ var SectionMessage = ({
3690
3664
  ...props
3691
3665
  }) => {
3692
3666
  const buttonRef = useRef3(null);
3693
- const classNames3 = useClassNames50({
3667
+ const classNames3 = useClassNames49({
3694
3668
  component: "SectionMessage",
3695
3669
  variant,
3696
3670
  size: size2
@@ -3706,15 +3680,15 @@ var SectionMessage = ({
3706
3680
  }
3707
3681
  };
3708
3682
  if (!isCurrentlyVisible) return null;
3709
- return /* @__PURE__ */ jsx86(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs30(
3683
+ return /* @__PURE__ */ jsx84(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs29(
3710
3684
  "div",
3711
3685
  {
3712
3686
  role: variant === "error" ? "alert" : void 0,
3713
3687
  ...props,
3714
3688
  className: cn48("grid auto-rows-min", classNames3.container),
3715
3689
  children: [
3716
- /* @__PURE__ */ jsx86("div", { className: cn48("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx86(Icon4, {}) }),
3717
- closeButton && /* @__PURE__ */ jsx86(
3690
+ /* @__PURE__ */ jsx84("div", { className: cn48("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx84(Icon4, {}) }),
3691
+ closeButton && /* @__PURE__ */ jsx84(
3718
3692
  CloseButton,
3719
3693
  {
3720
3694
  ...buttonProps,
@@ -3879,7 +3853,7 @@ function _objectWithoutProperties(e, t) {
3879
3853
  return i;
3880
3854
  }
3881
3855
 
3882
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
3856
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
3883
3857
  import { useState as useState3, useCallback } from "react";
3884
3858
  var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
3885
3859
  function useStateManager(_ref3) {
@@ -3937,7 +3911,7 @@ function _extends() {
3937
3911
  }, _extends.apply(null, arguments);
3938
3912
  }
3939
3913
 
3940
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
3914
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
3941
3915
  import * as React11 from "react";
3942
3916
  import { forwardRef as forwardRef24, useMemo as useMemo5 } from "react";
3943
3917
 
@@ -4045,13 +4019,13 @@ function _toConsumableArray(r) {
4045
4019
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
4046
4020
  }
4047
4021
 
4048
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
4022
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
4049
4023
  import * as React10 from "react";
4050
- import { useMemo as useMemo4, Fragment as Fragment8, useRef as useRef6, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
4024
+ import { useMemo as useMemo4, Fragment as Fragment7, useRef as useRef6, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
4051
4025
 
4052
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.6_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
4026
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
4053
4027
  import * as React8 from "react";
4054
- import { useContext as useContext20, forwardRef as forwardRef23 } from "react";
4028
+ import { useContext as useContext19, forwardRef as forwardRef23 } from "react";
4055
4029
 
4056
4030
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
4057
4031
  var isDevelopment = false;
@@ -5223,7 +5197,7 @@ var syncFallback = function syncFallback2(create) {
5223
5197
  var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
5224
5198
  var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
5225
5199
 
5226
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.6_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
5200
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
5227
5201
  var isDevelopment3 = false;
5228
5202
  var isBrowser4 = typeof document !== "undefined";
5229
5203
  var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
@@ -5240,14 +5214,14 @@ var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
5240
5214
  var CacheProvider = EmotionCacheContext.Provider;
5241
5215
  var withEmotionCache = function withEmotionCache2(func) {
5242
5216
  return /* @__PURE__ */ forwardRef23(function(props, ref) {
5243
- var cache = useContext20(EmotionCacheContext);
5217
+ var cache = useContext19(EmotionCacheContext);
5244
5218
  return func(props, cache, ref);
5245
5219
  });
5246
5220
  };
5247
5221
  if (!isBrowser4) {
5248
5222
  withEmotionCache = function withEmotionCache3(func) {
5249
5223
  return function(props) {
5250
- var cache = useContext20(EmotionCacheContext);
5224
+ var cache = useContext19(EmotionCacheContext);
5251
5225
  if (cache === null) {
5252
5226
  cache = createCache({
5253
5227
  key: "css"
@@ -5327,11 +5301,11 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
5327
5301
  });
5328
5302
  var Emotion$1 = Emotion;
5329
5303
 
5330
- // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.6_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
5304
+ // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
5331
5305
  import * as React9 from "react";
5332
5306
  var import_extends2 = __toESM(require_extends());
5333
5307
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
5334
- var jsx87 = function jsx88(type, props) {
5308
+ var jsx85 = function jsx86(type, props) {
5335
5309
  var args = arguments;
5336
5310
  if (props == null || !hasOwn.call(props, "css")) {
5337
5311
  return React9.createElement.apply(void 0, args);
@@ -5349,7 +5323,7 @@ var jsx87 = function jsx88(type, props) {
5349
5323
  var JSX2;
5350
5324
  /* @__PURE__ */ (function(_JSX) {
5351
5325
  })(JSX2 || (JSX2 = _jsx.JSX || (_jsx.JSX = {})));
5352
- })(jsx87 || (jsx87 = {}));
5326
+ })(jsx85 || (jsx85 = {}));
5353
5327
  function css() {
5354
5328
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5355
5329
  args[_key] = arguments[_key];
@@ -5378,8 +5352,8 @@ function _taggedTemplateLiteral(e, t) {
5378
5352
  }));
5379
5353
  }
5380
5354
 
5381
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5382
- import { useContext as useContext22, useRef as useRef5, useState as useState4, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext12 } from "react";
5355
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5356
+ import { useContext as useContext21, useRef as useRef5, useState as useState4, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext11 } from "react";
5383
5357
  import { createPortal } from "react-dom";
5384
5358
 
5385
5359
  // ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
@@ -5779,12 +5753,12 @@ function autoUpdate(reference, floating, update, options2) {
5779
5753
  };
5780
5754
  }
5781
5755
 
5782
- // ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.6_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
5756
+ // ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.8_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
5783
5757
  import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "react";
5784
5758
  var isClient = typeof document !== "undefined";
5785
5759
  var index = isClient ? useLayoutEffect2 : useEffect2;
5786
5760
 
5787
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5761
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
5788
5762
  var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
5789
5763
  var noop = function noop2() {
5790
5764
  };
@@ -6116,10 +6090,10 @@ var menuCSS = function menuCSS2(_ref23, unstyled) {
6116
6090
  marginTop: spacing2.menuGutter
6117
6091
  });
6118
6092
  };
6119
- var PortalPlacementContext = /* @__PURE__ */ createContext12(null);
6093
+ var PortalPlacementContext = /* @__PURE__ */ createContext11(null);
6120
6094
  var MenuPlacer = function MenuPlacer2(props) {
6121
6095
  var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
6122
- var _ref3 = useContext22(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
6096
+ var _ref3 = useContext21(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
6123
6097
  var ref = useRef5(null);
6124
6098
  var _useState = useState4(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
6125
6099
  var _useState3 = useState4(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
@@ -6152,7 +6126,7 @@ var MenuPlacer = function MenuPlacer2(props) {
6152
6126
  };
6153
6127
  var Menu3 = function Menu4(props) {
6154
6128
  var children = props.children, innerRef = props.innerRef, innerProps = props.innerProps;
6155
- return jsx87("div", _extends({}, getStyleProps(props, "menu", {
6129
+ return jsx85("div", _extends({}, getStyleProps(props, "menu", {
6156
6130
  menu: true
6157
6131
  }), {
6158
6132
  ref: innerRef
@@ -6174,7 +6148,7 @@ var menuListCSS = function menuListCSS2(_ref4, unstyled) {
6174
6148
  };
6175
6149
  var MenuList = function MenuList2(props) {
6176
6150
  var children = props.children, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
6177
- return jsx87("div", _extends({}, getStyleProps(props, "menuList", {
6151
+ return jsx85("div", _extends({}, getStyleProps(props, "menuList", {
6178
6152
  "menu-list": true,
6179
6153
  "menu-list--is-multi": isMulti
6180
6154
  }), {
@@ -6194,7 +6168,7 @@ var noOptionsMessageCSS = noticeCSS;
6194
6168
  var loadingMessageCSS = noticeCSS;
6195
6169
  var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
6196
6170
  var _ref6$children = _ref6.children, children = _ref6$children === void 0 ? "No options" : _ref6$children, innerProps = _ref6.innerProps, restProps = _objectWithoutProperties(_ref6, _excluded$3);
6197
- return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6171
+ return jsx85("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6198
6172
  children,
6199
6173
  innerProps
6200
6174
  }), "noOptionsMessage", {
@@ -6204,7 +6178,7 @@ var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
6204
6178
  };
6205
6179
  var LoadingMessage = function LoadingMessage2(_ref7) {
6206
6180
  var _ref7$children = _ref7.children, children = _ref7$children === void 0 ? "Loading..." : _ref7$children, innerProps = _ref7.innerProps, restProps = _objectWithoutProperties(_ref7, _excluded2$1);
6207
- return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6181
+ return jsx85("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6208
6182
  children,
6209
6183
  innerProps
6210
6184
  }), "loadingMessage", {
@@ -6267,7 +6241,7 @@ var MenuPortal = function MenuPortal2(props) {
6267
6241
  runAutoUpdate();
6268
6242
  }, [runAutoUpdate]);
6269
6243
  if (!appendTo && menuPosition !== "fixed" || !computedPosition) return null;
6270
- var menuWrapper = jsx87("div", _extends({
6244
+ var menuWrapper = jsx85("div", _extends({
6271
6245
  ref: setMenuPortalElement
6272
6246
  }, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
6273
6247
  offset: computedPosition.offset,
@@ -6276,7 +6250,7 @@ var MenuPortal = function MenuPortal2(props) {
6276
6250
  }), "menuPortal", {
6277
6251
  "menu-portal": true
6278
6252
  }), innerProps), children);
6279
- return jsx87(PortalPlacementContext.Provider, {
6253
+ return jsx85(PortalPlacementContext.Provider, {
6280
6254
  value: portalPlacementContext
6281
6255
  }, appendTo ? /* @__PURE__ */ createPortal(menuWrapper, appendTo) : menuWrapper);
6282
6256
  };
@@ -6292,7 +6266,7 @@ var containerCSS = function containerCSS2(_ref3) {
6292
6266
  };
6293
6267
  var SelectContainer = function SelectContainer2(props) {
6294
6268
  var children = props.children, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
6295
- return jsx87("div", _extends({}, getStyleProps(props, "container", {
6269
+ return jsx85("div", _extends({}, getStyleProps(props, "container", {
6296
6270
  "--is-disabled": isDisabled,
6297
6271
  "--is-rtl": isRtl
6298
6272
  }), innerProps), children);
@@ -6313,7 +6287,7 @@ var valueContainerCSS = function valueContainerCSS2(_ref23, unstyled) {
6313
6287
  };
6314
6288
  var ValueContainer = function ValueContainer2(props) {
6315
6289
  var children = props.children, innerProps = props.innerProps, isMulti = props.isMulti, hasValue = props.hasValue;
6316
- return jsx87("div", _extends({}, getStyleProps(props, "valueContainer", {
6290
+ return jsx85("div", _extends({}, getStyleProps(props, "valueContainer", {
6317
6291
  "value-container": true,
6318
6292
  "value-container--is-multi": isMulti,
6319
6293
  "value-container--has-value": hasValue
@@ -6329,7 +6303,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS2() {
6329
6303
  };
6330
6304
  var IndicatorsContainer = function IndicatorsContainer2(props) {
6331
6305
  var children = props.children, innerProps = props.innerProps;
6332
- return jsx87("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
6306
+ return jsx85("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
6333
6307
  indicators: true
6334
6308
  }), innerProps), children);
6335
6309
  };
@@ -6350,7 +6324,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
6350
6324
  };
6351
6325
  var Svg = function Svg2(_ref3) {
6352
6326
  var size2 = _ref3.size, props = _objectWithoutProperties(_ref3, _excluded$2);
6353
- return jsx87("svg", _extends({
6327
+ return jsx85("svg", _extends({
6354
6328
  height: size2,
6355
6329
  width: size2,
6356
6330
  viewBox: "0 0 20 20",
@@ -6360,16 +6334,16 @@ var Svg = function Svg2(_ref3) {
6360
6334
  }, props));
6361
6335
  };
6362
6336
  var CrossIcon = function CrossIcon2(props) {
6363
- return jsx87(Svg, _extends({
6337
+ return jsx85(Svg, _extends({
6364
6338
  size: 20
6365
- }, props), jsx87("path", {
6339
+ }, props), jsx85("path", {
6366
6340
  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"
6367
6341
  }));
6368
6342
  };
6369
6343
  var DownChevron = function DownChevron2(props) {
6370
- return jsx87(Svg, _extends({
6344
+ return jsx85(Svg, _extends({
6371
6345
  size: 20
6372
- }, props), jsx87("path", {
6346
+ }, props), jsx85("path", {
6373
6347
  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"
6374
6348
  }));
6375
6349
  };
@@ -6390,18 +6364,18 @@ var baseCSS = function baseCSS2(_ref3, unstyled) {
6390
6364
  var dropdownIndicatorCSS = baseCSS;
6391
6365
  var DropdownIndicator = function DropdownIndicator2(props) {
6392
6366
  var children = props.children, innerProps = props.innerProps;
6393
- return jsx87("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
6367
+ return jsx85("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
6394
6368
  indicator: true,
6395
6369
  "dropdown-indicator": true
6396
- }), innerProps), children || jsx87(DownChevron, null));
6370
+ }), innerProps), children || jsx85(DownChevron, null));
6397
6371
  };
6398
6372
  var clearIndicatorCSS = baseCSS;
6399
6373
  var ClearIndicator = function ClearIndicator2(props) {
6400
6374
  var children = props.children, innerProps = props.innerProps;
6401
- return jsx87("div", _extends({}, getStyleProps(props, "clearIndicator", {
6375
+ return jsx85("div", _extends({}, getStyleProps(props, "clearIndicator", {
6402
6376
  indicator: true,
6403
6377
  "clear-indicator": true
6404
- }), innerProps), children || jsx87(CrossIcon, null));
6378
+ }), innerProps), children || jsx85(CrossIcon, null));
6405
6379
  };
6406
6380
  var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
6407
6381
  var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit2 = _ref4$theme.spacing.baseUnit, colors2 = _ref4$theme.colors;
@@ -6417,7 +6391,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
6417
6391
  };
6418
6392
  var IndicatorSeparator = function IndicatorSeparator2(props) {
6419
6393
  var innerProps = props.innerProps;
6420
- return jsx87("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
6394
+ return jsx85("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
6421
6395
  "indicator-separator": true
6422
6396
  })));
6423
6397
  };
@@ -6441,7 +6415,7 @@ var loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5, unstyled) {
6441
6415
  };
6442
6416
  var LoadingDot = function LoadingDot2(_ref6) {
6443
6417
  var delay = _ref6.delay, offset2 = _ref6.offset;
6444
- return jsx87("span", {
6418
+ return jsx85("span", {
6445
6419
  css: /* @__PURE__ */ css({
6446
6420
  animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
6447
6421
  backgroundColor: "currentColor",
@@ -6456,20 +6430,20 @@ var LoadingDot = function LoadingDot2(_ref6) {
6456
6430
  };
6457
6431
  var LoadingIndicator = function LoadingIndicator2(_ref7) {
6458
6432
  var innerProps = _ref7.innerProps, isRtl = _ref7.isRtl, _ref7$size = _ref7.size, size2 = _ref7$size === void 0 ? 4 : _ref7$size, restProps = _objectWithoutProperties(_ref7, _excluded2);
6459
- return jsx87("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6433
+ return jsx85("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
6460
6434
  innerProps,
6461
6435
  isRtl,
6462
6436
  size: size2
6463
6437
  }), "loadingIndicator", {
6464
6438
  indicator: true,
6465
6439
  "loading-indicator": true
6466
- }), innerProps), jsx87(LoadingDot, {
6440
+ }), innerProps), jsx85(LoadingDot, {
6467
6441
  delay: 0,
6468
6442
  offset: isRtl
6469
- }), jsx87(LoadingDot, {
6443
+ }), jsx85(LoadingDot, {
6470
6444
  delay: 160,
6471
6445
  offset: true
6472
- }), jsx87(LoadingDot, {
6446
+ }), jsx85(LoadingDot, {
6473
6447
  delay: 320,
6474
6448
  offset: !isRtl
6475
6449
  }));
@@ -6501,7 +6475,7 @@ var css$1 = function css2(_ref3, unstyled) {
6501
6475
  };
6502
6476
  var Control = function Control2(props) {
6503
6477
  var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
6504
- return jsx87("div", _extends({
6478
+ return jsx85("div", _extends({
6505
6479
  ref: innerRef
6506
6480
  }, getStyleProps(props, "control", {
6507
6481
  control: true,
@@ -6523,15 +6497,15 @@ var groupCSS = function groupCSS2(_ref3, unstyled) {
6523
6497
  };
6524
6498
  var Group2 = function Group3(props) {
6525
6499
  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", {
6500
+ return jsx85("div", _extends({}, getStyleProps(props, "group", {
6527
6501
  group: true
6528
- }), innerProps), jsx87(Heading6, _extends({}, headingProps, {
6502
+ }), innerProps), jsx85(Heading6, _extends({}, headingProps, {
6529
6503
  selectProps,
6530
6504
  theme,
6531
6505
  getStyles,
6532
6506
  getClassNames: getClassNames2,
6533
6507
  cx
6534
- }), label), jsx87("div", null, children));
6508
+ }), label), jsx85("div", null, children));
6535
6509
  };
6536
6510
  var groupHeadingCSS = function groupHeadingCSS2(_ref23, unstyled) {
6537
6511
  var _ref2$theme = _ref23.theme, colors2 = _ref2$theme.colors, spacing2 = _ref2$theme.spacing;
@@ -6553,7 +6527,7 @@ var GroupHeading = function GroupHeading2(props) {
6553
6527
  var _cleanCommonProps = cleanCommonProps(props);
6554
6528
  _cleanCommonProps.data;
6555
6529
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1);
6556
- return jsx87("div", _extends({}, getStyleProps(props, "groupHeading", {
6530
+ return jsx85("div", _extends({}, getStyleProps(props, "groupHeading", {
6557
6531
  "group-heading": true
6558
6532
  }), innerProps));
6559
6533
  };
@@ -6605,11 +6579,11 @@ var inputStyle = function inputStyle2(isHidden) {
6605
6579
  var Input2 = function Input3(props) {
6606
6580
  var cx = props.cx, value = props.value;
6607
6581
  var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded3);
6608
- return jsx87("div", _extends({}, getStyleProps(props, "input", {
6582
+ return jsx85("div", _extends({}, getStyleProps(props, "input", {
6609
6583
  "input-container": true
6610
6584
  }), {
6611
6585
  "data-value": value || ""
6612
- }), jsx87("input", _extends({
6586
+ }), jsx85("input", _extends({
6613
6587
  className: cx({
6614
6588
  input: true
6615
6589
  }, inputClassName),
@@ -6663,35 +6637,35 @@ var multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3, unstyled) {
6663
6637
  };
6664
6638
  var MultiValueGeneric = function MultiValueGeneric2(_ref4) {
6665
6639
  var children = _ref4.children, innerProps = _ref4.innerProps;
6666
- return jsx87("div", innerProps, children);
6640
+ return jsx85("div", innerProps, children);
6667
6641
  };
6668
6642
  var MultiValueContainer = MultiValueGeneric;
6669
6643
  var MultiValueLabel = MultiValueGeneric;
6670
6644
  function MultiValueRemove(_ref5) {
6671
6645
  var children = _ref5.children, innerProps = _ref5.innerProps;
6672
- return jsx87("div", _extends({
6646
+ return jsx85("div", _extends({
6673
6647
  role: "button"
6674
- }, innerProps), children || jsx87(CrossIcon, {
6648
+ }, innerProps), children || jsx85(CrossIcon, {
6675
6649
  size: 14
6676
6650
  }));
6677
6651
  }
6678
6652
  var MultiValue = function MultiValue2(props) {
6679
6653
  var children = props.children, components2 = props.components, data = props.data, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps;
6680
6654
  var Container2 = components2.Container, Label3 = components2.Label, Remove = components2.Remove;
6681
- return jsx87(Container2, {
6655
+ return jsx85(Container2, {
6682
6656
  data,
6683
6657
  innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValue", {
6684
6658
  "multi-value": true,
6685
6659
  "multi-value--is-disabled": isDisabled
6686
6660
  })), innerProps),
6687
6661
  selectProps
6688
- }, jsx87(Label3, {
6662
+ }, jsx85(Label3, {
6689
6663
  data,
6690
6664
  innerProps: _objectSpread2({}, getStyleProps(props, "multiValueLabel", {
6691
6665
  "multi-value__label": true
6692
6666
  })),
6693
6667
  selectProps
6694
- }, children), jsx87(Remove, {
6668
+ }, children), jsx85(Remove, {
6695
6669
  data,
6696
6670
  innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValueRemove", {
6697
6671
  "multi-value__remove": true
@@ -6724,7 +6698,7 @@ var optionCSS = function optionCSS2(_ref3, unstyled) {
6724
6698
  };
6725
6699
  var Option = function Option2(props) {
6726
6700
  var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
6727
- return jsx87("div", _extends({}, getStyleProps(props, "option", {
6701
+ return jsx85("div", _extends({}, getStyleProps(props, "option", {
6728
6702
  option: true,
6729
6703
  "option--is-disabled": isDisabled,
6730
6704
  "option--is-focused": isFocused,
@@ -6748,7 +6722,7 @@ var placeholderCSS = function placeholderCSS2(_ref3, unstyled) {
6748
6722
  };
6749
6723
  var Placeholder = function Placeholder2(props) {
6750
6724
  var children = props.children, innerProps = props.innerProps;
6751
- return jsx87("div", _extends({}, getStyleProps(props, "placeholder", {
6725
+ return jsx85("div", _extends({}, getStyleProps(props, "placeholder", {
6752
6726
  placeholder: true
6753
6727
  }), innerProps), children);
6754
6728
  };
@@ -6770,7 +6744,7 @@ var css3 = function css4(_ref3, unstyled) {
6770
6744
  };
6771
6745
  var SingleValue = function SingleValue2(props) {
6772
6746
  var children = props.children, isDisabled = props.isDisabled, innerProps = props.innerProps;
6773
- return jsx87("div", _extends({}, getStyleProps(props, "singleValue", {
6747
+ return jsx85("div", _extends({}, getStyleProps(props, "singleValue", {
6774
6748
  "single-value": true,
6775
6749
  "single-value--is-disabled": isDisabled
6776
6750
  }), innerProps), children);
@@ -6858,7 +6832,7 @@ function memoizeOne(resultFn, isEqual2) {
6858
6832
  return memoized;
6859
6833
  }
6860
6834
 
6861
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
6835
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
6862
6836
  function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
6863
6837
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
6864
6838
  }
@@ -6872,7 +6846,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
6872
6846
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
6873
6847
  };
6874
6848
  var A11yText = function A11yText2(props) {
6875
- return jsx87("span", _extends({
6849
+ return jsx85("span", _extends({
6876
6850
  css: _ref
6877
6851
  }, props));
6878
6852
  };
@@ -7007,18 +6981,18 @@ var LiveRegion = function LiveRegion2(props) {
7007
6981
  }
7008
6982
  return guidanceMsg;
7009
6983
  }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
7010
- var ScreenReaderText = jsx87(Fragment8, null, jsx87("span", {
6984
+ var ScreenReaderText = jsx85(Fragment7, null, jsx85("span", {
7011
6985
  id: "aria-selection"
7012
- }, ariaSelected), jsx87("span", {
6986
+ }, ariaSelected), jsx85("span", {
7013
6987
  id: "aria-focused"
7014
- }, ariaFocused), jsx87("span", {
6988
+ }, ariaFocused), jsx85("span", {
7015
6989
  id: "aria-results"
7016
- }, ariaResults), jsx87("span", {
6990
+ }, ariaResults), jsx85("span", {
7017
6991
  id: "aria-guidance"
7018
6992
  }, ariaGuidance));
7019
- return jsx87(Fragment8, null, jsx87(A11yText$1, {
6993
+ return jsx85(Fragment7, null, jsx85(A11yText$1, {
7020
6994
  id
7021
- }, isInitialFocus && ScreenReaderText), jsx87(A11yText$1, {
6995
+ }, isInitialFocus && ScreenReaderText), jsx85(A11yText$1, {
7022
6996
  "aria-live": ariaLive,
7023
6997
  "aria-atomic": "false",
7024
6998
  "aria-relevant": "additions text",
@@ -7331,7 +7305,7 @@ var _excluded4 = ["innerRef"];
7331
7305
  function DummyInput(_ref3) {
7332
7306
  var innerRef = _ref3.innerRef, props = _objectWithoutProperties(_ref3, _excluded4);
7333
7307
  var filteredProps = removeProps(props, "onExited", "in", "enter", "exit", "appear");
7334
- return jsx87("input", _extends({
7308
+ return jsx85("input", _extends({
7335
7309
  ref: innerRef
7336
7310
  }, filteredProps, {
7337
7311
  css: /* @__PURE__ */ css({
@@ -7573,7 +7547,7 @@ function ScrollManager(_ref3) {
7573
7547
  setScrollCaptureTarget(element);
7574
7548
  setScrollLockTarget(element);
7575
7549
  };
7576
- return jsx87(Fragment8, null, lockEnabled && jsx87("div", {
7550
+ return jsx85(Fragment7, null, lockEnabled && jsx85("div", {
7577
7551
  onClick: blurSelectInput,
7578
7552
  css: _ref2$1
7579
7553
  }), children(targetRef));
@@ -7592,7 +7566,7 @@ var _ref22 = process.env.NODE_ENV === "production" ? {
7592
7566
  };
7593
7567
  var RequiredInput = function RequiredInput2(_ref3) {
7594
7568
  var name = _ref3.name, onFocus2 = _ref3.onFocus;
7595
- return jsx87("input", {
7569
+ return jsx85("input", {
7596
7570
  required: true,
7597
7571
  name,
7598
7572
  tabIndex: -1,
@@ -9154,7 +9128,7 @@ var Select = /* @__PURE__ */ function(_Component) {
9154
9128
  }(Component);
9155
9129
  Select.defaultProps = defaultProps;
9156
9130
 
9157
- // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
9131
+ // ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
9158
9132
  var import_objectSpread24 = __toESM(require_objectSpread2());
9159
9133
  var import_slicedToArray3 = __toESM(require_slicedToArray());
9160
9134
  var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
@@ -9239,8 +9213,8 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
9239
9213
 
9240
9214
  // src/Multiselect/Multiselect.tsx
9241
9215
  import { useId } from "@react-aria/utils";
9242
- import { cn as cn49, useClassNames as useClassNames51 } from "@marigold/system";
9243
- import { jsx as jsx89, jsxs as jsxs31 } from "react/jsx-runtime";
9216
+ import { cn as cn49, useClassNames as useClassNames50 } from "@marigold/system";
9217
+ import { jsx as jsx87, jsxs as jsxs30 } from "react/jsx-runtime";
9244
9218
  var propsToBeRemoved = [
9245
9219
  "clearValue",
9246
9220
  "getStyles",
@@ -9266,7 +9240,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9266
9240
  },
9267
9241
  {}
9268
9242
  );
9269
- return /* @__PURE__ */ jsx89(
9243
+ return /* @__PURE__ */ jsx87(
9270
9244
  _Input2,
9271
9245
  {
9272
9246
  disabled: props.isDisabled,
@@ -9277,7 +9251,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
9277
9251
  );
9278
9252
  };
9279
9253
  var MultiValueRemove2 = ({ innerProps }) => {
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" }) }) });
9254
+ return /* @__PURE__ */ jsx87(Button11, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx87("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx87("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" }) }) });
9281
9255
  };
9282
9256
  var getClassNames = (classNames3) => ({
9283
9257
  control: () => cn49(
@@ -9309,9 +9283,10 @@ var Multiselect = ({
9309
9283
  description,
9310
9284
  onChange: onChange2,
9311
9285
  onSelectionChange,
9286
+ width,
9312
9287
  ...rest
9313
9288
  }) => {
9314
- const classNames3 = useClassNames51({
9289
+ const classNames3 = useClassNames50({
9315
9290
  component: "MultiSelect",
9316
9291
  size: size2,
9317
9292
  variant
@@ -9329,7 +9304,7 @@ var Multiselect = ({
9329
9304
  label: props.label,
9330
9305
  errorMessage
9331
9306
  });
9332
- return /* @__PURE__ */ jsx89(
9307
+ return /* @__PURE__ */ jsx87(
9333
9308
  Provider2,
9334
9309
  {
9335
9310
  values: [
@@ -9359,16 +9334,16 @@ var Multiselect = ({
9359
9334
  }
9360
9335
  ]
9361
9336
  ],
9362
- children: /* @__PURE__ */ jsxs31(
9337
+ children: /* @__PURE__ */ jsxs30(
9363
9338
  "div",
9364
9339
  {
9365
- className: cn49(classNames3.field, "group/field"),
9340
+ className: cn49(classNames3.field, "group/field", `w-${width}`),
9366
9341
  "data-required": props.required,
9367
9342
  "data-invalid": error,
9368
9343
  "data-readonly": readOnly,
9369
9344
  children: [
9370
- props.label && /* @__PURE__ */ jsx89(_Label, { ...labelProps, children: props.label }),
9371
- /* @__PURE__ */ jsx89(
9345
+ props.label && /* @__PURE__ */ jsx87(_Label, { ...labelProps, children: props.label }),
9346
+ /* @__PURE__ */ jsx87(
9372
9347
  StateManagedSelect$1,
9373
9348
  {
9374
9349
  ...props,
@@ -9404,19 +9379,19 @@ var Multiselect = ({
9404
9379
  Input: Input4,
9405
9380
  MultiValueRemove: MultiValueRemove2,
9406
9381
  // eslint-disable-next-line react/prop-types
9407
- DropdownIndicator: ({ innerProps, isDisabled }) => /* @__PURE__ */ jsx89(
9382
+ DropdownIndicator: ({ innerProps, isDisabled }) => /* @__PURE__ */ jsx87(
9408
9383
  "button",
9409
9384
  {
9410
9385
  ...innerProps,
9411
9386
  disabled: isDisabled,
9412
9387
  className: classNames3.icon,
9413
- children: /* @__PURE__ */ jsx89(ChevronDown, { className: "size-4" })
9388
+ children: /* @__PURE__ */ jsx87(ChevronDown, { className: "size-4" })
9414
9389
  }
9415
9390
  )
9416
9391
  }
9417
9392
  }
9418
9393
  ),
9419
- /* @__PURE__ */ jsx89(HelpText, { description, errorMessage })
9394
+ /* @__PURE__ */ jsx87(HelpText, { description, errorMessage })
9420
9395
  ]
9421
9396
  }
9422
9397
  )
@@ -9427,13 +9402,13 @@ var Multiselect = ({
9427
9402
  // src/NumberField/NumberField.tsx
9428
9403
  import { forwardRef as forwardRef25 } from "react";
9429
9404
  import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
9430
- import { cn as cn51, useClassNames as useClassNames52 } from "@marigold/system";
9405
+ import { cn as cn51, useClassNames as useClassNames51 } from "@marigold/system";
9431
9406
 
9432
9407
  // src/NumberField/StepButton.tsx
9433
9408
  import { Button as Button12 } from "react-aria-components";
9434
9409
  import { cn as cn50 } from "@marigold/system";
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(
9410
+ import { jsx as jsx88 } from "react/jsx-runtime";
9411
+ var Plus = () => /* @__PURE__ */ jsx88("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx88(
9437
9412
  "path",
9438
9413
  {
9439
9414
  fillRule: "evenodd",
@@ -9441,7 +9416,7 @@ var Plus = () => /* @__PURE__ */ jsx90("svg", { width: 16, height: 16, viewBox:
9441
9416
  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"
9442
9417
  }
9443
9418
  ) });
9444
- var Minus = () => /* @__PURE__ */ jsx90("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx90(
9419
+ var Minus = () => /* @__PURE__ */ jsx88("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx88(
9445
9420
  "path",
9446
9421
  {
9447
9422
  fillRule: "evenodd",
@@ -9451,7 +9426,7 @@ var Minus = () => /* @__PURE__ */ jsx90("svg", { width: 16, height: 16, viewBox:
9451
9426
  ) });
9452
9427
  var _StepButton = ({ direction, className, ...props }) => {
9453
9428
  const Icon4 = direction === "up" ? Plus : Minus;
9454
- return /* @__PURE__ */ jsx90(
9429
+ return /* @__PURE__ */ jsx88(
9455
9430
  Button12,
9456
9431
  {
9457
9432
  className: cn50(
@@ -9462,13 +9437,13 @@ var _StepButton = ({ direction, className, ...props }) => {
9462
9437
  className
9463
9438
  ),
9464
9439
  ...props,
9465
- children: /* @__PURE__ */ jsx90(Icon4, {})
9440
+ children: /* @__PURE__ */ jsx88(Icon4, {})
9466
9441
  }
9467
9442
  );
9468
9443
  };
9469
9444
 
9470
9445
  // src/NumberField/NumberField.tsx
9471
- import { jsx as jsx91, jsxs as jsxs32 } from "react/jsx-runtime";
9446
+ import { jsx as jsx89, jsxs as jsxs31 } from "react/jsx-runtime";
9472
9447
  var _NumberField = forwardRef25(
9473
9448
  ({
9474
9449
  variant,
@@ -9480,7 +9455,7 @@ var _NumberField = forwardRef25(
9480
9455
  hideStepper,
9481
9456
  ...rest
9482
9457
  }, ref) => {
9483
- const classNames3 = useClassNames52({
9458
+ const classNames3 = useClassNames51({
9484
9459
  component: "NumberField",
9485
9460
  size: size2,
9486
9461
  variant
@@ -9493,15 +9468,15 @@ var _NumberField = forwardRef25(
9493
9468
  ...rest
9494
9469
  };
9495
9470
  const showStepper = !hideStepper && !readOnly;
9496
- return /* @__PURE__ */ jsx91(
9471
+ return /* @__PURE__ */ jsx89(
9497
9472
  FieldBase,
9498
9473
  {
9499
9474
  as: NumberField,
9500
9475
  ...props,
9501
9476
  "data-readonly": readOnly ? "true" : void 0,
9502
9477
  "data-stepper": showStepper ? "true" : void 0,
9503
- children: /* @__PURE__ */ jsxs32(Group4, { className: cn51("flex items-stretch", classNames3.group), children: [
9504
- showStepper && /* @__PURE__ */ jsx91(
9478
+ children: /* @__PURE__ */ jsxs31(Group4, { className: cn51("flex items-stretch", classNames3.group), children: [
9479
+ showStepper && /* @__PURE__ */ jsx89(
9505
9480
  _StepButton,
9506
9481
  {
9507
9482
  className: classNames3.stepper,
@@ -9509,14 +9484,14 @@ var _NumberField = forwardRef25(
9509
9484
  slot: "decrement"
9510
9485
  }
9511
9486
  ),
9512
- /* @__PURE__ */ jsx91(
9487
+ /* @__PURE__ */ jsx89(
9513
9488
  Input5,
9514
9489
  {
9515
9490
  ref,
9516
9491
  className: cn51("h-full flex-1 outline-none", classNames3.input)
9517
9492
  }
9518
9493
  ),
9519
- showStepper && /* @__PURE__ */ jsx91(
9494
+ showStepper && /* @__PURE__ */ jsx89(
9520
9495
  _StepButton,
9521
9496
  {
9522
9497
  className: classNames3.stepper,
@@ -9533,12 +9508,12 @@ var _NumberField = forwardRef25(
9533
9508
  // src/Pagination/Pagination.tsx
9534
9509
  import { useEffect as useEffect4, useRef as useRef9, useState as useState5 } from "react";
9535
9510
  import { FocusScope as FocusScope2, useFocusManager } from "@react-aria/focus";
9536
- import { useClassNames as useClassNames55 } from "@marigold/system";
9511
+ import { useClassNames as useClassNames54 } from "@marigold/system";
9537
9512
 
9538
9513
  // src/Pagination/Ellipsis.tsx
9539
- import { jsx as jsx92 } from "react/jsx-runtime";
9514
+ import { jsx as jsx90 } from "react/jsx-runtime";
9540
9515
  var Ellipsis = () => {
9541
- return /* @__PURE__ */ jsx92(
9516
+ return /* @__PURE__ */ jsx90(
9542
9517
  "span",
9543
9518
  {
9544
9519
  className: "text-text-base flex h-8 w-8 items-center justify-center",
@@ -9551,11 +9526,11 @@ var Ellipsis = () => {
9551
9526
  // src/Pagination/NavigationButton.tsx
9552
9527
  import { useRef as useRef7 } from "react";
9553
9528
  import { useButton as useButton2 } from "@react-aria/button";
9554
- import { cn as cn52, useClassNames as useClassNames53 } from "@marigold/system";
9555
- import { jsxs as jsxs33 } from "react/jsx-runtime";
9529
+ import { cn as cn52, useClassNames as useClassNames52 } from "@marigold/system";
9530
+ import { jsxs as jsxs32 } from "react/jsx-runtime";
9556
9531
  var NavigationButton = (props) => {
9557
9532
  const ref = useRef7(null);
9558
- const classNames3 = useClassNames53({
9533
+ const classNames3 = useClassNames52({
9559
9534
  component: "Pagination"
9560
9535
  });
9561
9536
  let { buttonProps } = useButton2(props, ref);
@@ -9568,7 +9543,7 @@ var NavigationButton = (props) => {
9568
9543
  position: position2,
9569
9544
  ...rest
9570
9545
  } = props;
9571
- return /* @__PURE__ */ jsxs33(
9546
+ return /* @__PURE__ */ jsxs32(
9572
9547
  "button",
9573
9548
  {
9574
9549
  ref,
@@ -9589,16 +9564,16 @@ var NavigationButton = (props) => {
9589
9564
  // src/Pagination/PageButton.tsx
9590
9565
  import { useRef as useRef8 } from "react";
9591
9566
  import { useButton as useButton3 } from "@react-aria/button";
9592
- import { useClassNames as useClassNames54 } from "@marigold/system";
9593
- import { jsx as jsx93 } from "react/jsx-runtime";
9567
+ import { useClassNames as useClassNames53 } from "@marigold/system";
9568
+ import { jsx as jsx91 } from "react/jsx-runtime";
9594
9569
  var PageButton = (props) => {
9595
9570
  const ref = useRef8(null);
9596
- const classNames3 = useClassNames54({
9571
+ const classNames3 = useClassNames53({
9597
9572
  component: "Pagination"
9598
9573
  });
9599
9574
  let { buttonProps } = useButton3(props, ref);
9600
9575
  let { page, selected, isDisabled } = props;
9601
- return /* @__PURE__ */ jsx93(
9576
+ return /* @__PURE__ */ jsx91(
9602
9577
  "button",
9603
9578
  {
9604
9579
  ref,
@@ -9645,7 +9620,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
9645
9620
  };
9646
9621
 
9647
9622
  // src/Pagination/Pagination.tsx
9648
- import { Fragment as Fragment9, jsx as jsx94, jsxs as jsxs34 } from "react/jsx-runtime";
9623
+ import { Fragment as Fragment8, jsx as jsx92, jsxs as jsxs33 } from "react/jsx-runtime";
9649
9624
  var InnerPagination = ({
9650
9625
  currentPage,
9651
9626
  pageSize,
@@ -9672,7 +9647,7 @@ var InnerPagination = ({
9672
9647
  onChange2(newPage);
9673
9648
  }
9674
9649
  };
9675
- const classNames3 = useClassNames55({ component: "Pagination" });
9650
+ const classNames3 = useClassNames54({ component: "Pagination" });
9676
9651
  const handleKeyDown = (onEnter) => (e) => {
9677
9652
  if (e.key === "ArrowRight") {
9678
9653
  e.preventDefault();
@@ -9685,8 +9660,8 @@ var InnerPagination = ({
9685
9660
  onEnter();
9686
9661
  }
9687
9662
  };
9688
- return /* @__PURE__ */ jsxs34(Fragment9, { children: [
9689
- /* @__PURE__ */ jsx94(
9663
+ return /* @__PURE__ */ jsxs33(Fragment8, { children: [
9664
+ /* @__PURE__ */ jsx92(
9690
9665
  NavigationButton,
9691
9666
  {
9692
9667
  onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
@@ -9695,11 +9670,11 @@ var InnerPagination = ({
9695
9670
  controlLabel: controlLabels == null ? void 0 : controlLabels[0],
9696
9671
  position: "left",
9697
9672
  onKeyDown: handleKeyDown(() => handlePageChange(currentPage - 1)),
9698
- children: /* @__PURE__ */ jsx94(ChevronLeft, { className: classNames3.icon })
9673
+ children: /* @__PURE__ */ jsx92(ChevronLeft, { className: classNames3.icon })
9699
9674
  }
9700
9675
  ),
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(
9676
+ /* @__PURE__ */ jsx92("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
9677
+ (pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx92(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx92(
9703
9678
  PageButton,
9704
9679
  {
9705
9680
  page: pageNumber,
@@ -9709,8 +9684,8 @@ var InnerPagination = ({
9709
9684
  },
9710
9685
  pageNumber
9711
9686
  )
9712
- ) : /* @__PURE__ */ jsx94(PageButton, { page: 1, isDisabled: true }, 1) }),
9713
- /* @__PURE__ */ jsx94(
9687
+ ) : /* @__PURE__ */ jsx92(PageButton, { page: 1, isDisabled: true }, 1) }),
9688
+ /* @__PURE__ */ jsx92(
9714
9689
  NavigationButton,
9715
9690
  {
9716
9691
  onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
@@ -9719,7 +9694,7 @@ var InnerPagination = ({
9719
9694
  controlLabel: controlLabels == null ? void 0 : controlLabels[1],
9720
9695
  position: "right",
9721
9696
  onKeyDown: handleKeyDown(() => handlePageChange(currentPage + 1)),
9722
- children: /* @__PURE__ */ jsx94(ChevronRight, { className: classNames3.icon })
9697
+ children: /* @__PURE__ */ jsx92(ChevronRight, { className: classNames3.icon })
9723
9698
  }
9724
9699
  )
9725
9700
  ] });
@@ -9734,12 +9709,12 @@ var _Pagination = ({
9734
9709
  const [currentPage, setCurrentPage] = useState5(page != null ? page : defaultPage);
9735
9710
  const totalPages = Math.ceil(totalItems / pageSize);
9736
9711
  const pageRange = usePageRange({ currentPage, totalPages });
9737
- return /* @__PURE__ */ jsx94(
9712
+ return /* @__PURE__ */ jsx92(
9738
9713
  "nav",
9739
9714
  {
9740
9715
  className: "flex items-center justify-center space-x-2",
9741
9716
  "aria-label": `Page ${currentPage} of ${totalPages}`,
9742
- children: /* @__PURE__ */ jsx94(FocusScope2, { restoreFocus: true, children: /* @__PURE__ */ jsx94(
9717
+ children: /* @__PURE__ */ jsx92(FocusScope2, { restoreFocus: true, children: /* @__PURE__ */ jsx92(
9743
9718
  InnerPagination,
9744
9719
  {
9745
9720
  pageSize,
@@ -9759,19 +9734,19 @@ import {
9759
9734
  forwardRef as forwardRef26
9760
9735
  } from "react";
9761
9736
  import { Radio } from "react-aria-components";
9762
- import { cn as cn54, useClassNames as useClassNames57 } from "@marigold/system";
9737
+ import { cn as cn54, useClassNames as useClassNames56 } from "@marigold/system";
9763
9738
 
9764
9739
  // src/Radio/Context.ts
9765
- import { createContext as createContext13, useContext as useContext23 } from "react";
9766
- var RadioGroupContext = createContext13(
9740
+ import { createContext as createContext12, useContext as useContext22 } from "react";
9741
+ var RadioGroupContext = createContext12(
9767
9742
  null
9768
9743
  );
9769
- var useRadioGroupContext = () => useContext23(RadioGroupContext);
9744
+ var useRadioGroupContext = () => useContext22(RadioGroupContext);
9770
9745
 
9771
9746
  // src/Radio/RadioGroup.tsx
9772
9747
  import { RadioGroup } from "react-aria-components";
9773
- import { cn as cn53, useClassNames as useClassNames56 } from "@marigold/system";
9774
- import { jsx as jsx95 } from "react/jsx-runtime";
9748
+ import { cn as cn53, useClassNames as useClassNames55 } from "@marigold/system";
9749
+ import { jsx as jsx93 } from "react/jsx-runtime";
9775
9750
  var _RadioGroup = ({
9776
9751
  variant,
9777
9752
  size: size2,
@@ -9787,7 +9762,7 @@ var _RadioGroup = ({
9787
9762
  width,
9788
9763
  ...rest
9789
9764
  }) => {
9790
- const classNames3 = useClassNames56({ component: "Radio", variant, size: size2 });
9765
+ const classNames3 = useClassNames55({ component: "Radio", variant, size: size2 });
9791
9766
  const props = {
9792
9767
  isDisabled: disabled,
9793
9768
  isReadOnly: readOnly,
@@ -9795,7 +9770,7 @@ var _RadioGroup = ({
9795
9770
  isInvalid: error,
9796
9771
  ...rest
9797
9772
  };
9798
- return /* @__PURE__ */ jsx95(
9773
+ return /* @__PURE__ */ jsx93(
9799
9774
  FieldBase,
9800
9775
  {
9801
9776
  as: RadioGroup,
@@ -9806,7 +9781,7 @@ var _RadioGroup = ({
9806
9781
  variant,
9807
9782
  size: size2,
9808
9783
  ...props,
9809
- children: /* @__PURE__ */ jsx95(
9784
+ children: /* @__PURE__ */ jsx93(
9810
9785
  "div",
9811
9786
  {
9812
9787
  role: "presentation",
@@ -9817,7 +9792,7 @@ var _RadioGroup = ({
9817
9792
  "flex items-start",
9818
9793
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
9819
9794
  ),
9820
- children: /* @__PURE__ */ jsx95(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
9795
+ children: /* @__PURE__ */ jsx93(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
9821
9796
  }
9822
9797
  )
9823
9798
  }
@@ -9825,9 +9800,9 @@ var _RadioGroup = ({
9825
9800
  };
9826
9801
 
9827
9802
  // src/Radio/Radio.tsx
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(
9803
+ import { Fragment as Fragment9, jsx as jsx94, jsxs as jsxs34 } from "react/jsx-runtime";
9804
+ var Dot = () => /* @__PURE__ */ jsx94("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx94("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
9805
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx94(
9831
9806
  "div",
9832
9807
  {
9833
9808
  className: cn54(
@@ -9836,18 +9811,18 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx96(
9836
9811
  ),
9837
9812
  "aria-hidden": "true",
9838
9813
  ...props,
9839
- children: checked ? /* @__PURE__ */ jsx96(Dot, {}) : null
9814
+ children: checked ? /* @__PURE__ */ jsx94(Dot, {}) : null
9840
9815
  }
9841
9816
  );
9842
9817
  var _Radio = forwardRef26(
9843
9818
  ({ value, disabled, width, children, ...props }, ref) => {
9844
9819
  const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
9845
- const classNames3 = useClassNames57({
9820
+ const classNames3 = useClassNames56({
9846
9821
  component: "Radio",
9847
9822
  variant: variant || props.variant,
9848
9823
  size: size2 || props.size
9849
9824
  });
9850
- return /* @__PURE__ */ jsx96(
9825
+ return /* @__PURE__ */ jsx94(
9851
9826
  Radio,
9852
9827
  {
9853
9828
  ref,
@@ -9860,8 +9835,8 @@ var _Radio = forwardRef26(
9860
9835
  value,
9861
9836
  isDisabled: disabled,
9862
9837
  ...props,
9863
- children: ({ isSelected }) => /* @__PURE__ */ jsxs35(Fragment10, { children: [
9864
- /* @__PURE__ */ jsx96(
9838
+ children: ({ isSelected }) => /* @__PURE__ */ jsxs34(Fragment9, { children: [
9839
+ /* @__PURE__ */ jsx94(
9865
9840
  Icon3,
9866
9841
  {
9867
9842
  checked: isSelected,
@@ -9871,7 +9846,7 @@ var _Radio = forwardRef26(
9871
9846
  )
9872
9847
  }
9873
9848
  ),
9874
- /* @__PURE__ */ jsx96("div", { className: classNames3.label, children })
9849
+ /* @__PURE__ */ jsx94("div", { className: classNames3.label, children })
9875
9850
  ] })
9876
9851
  }
9877
9852
  );
@@ -9882,7 +9857,7 @@ _Radio.Group = _RadioGroup;
9882
9857
  // src/SearchField/SearchField.tsx
9883
9858
  import { forwardRef as forwardRef27 } from "react";
9884
9859
  import { SearchField } from "react-aria-components";
9885
- import { jsx as jsx97 } from "react/jsx-runtime";
9860
+ import { jsx as jsx95 } from "react/jsx-runtime";
9886
9861
  var _SearchField = forwardRef27(
9887
9862
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
9888
9863
  const props = {
@@ -9892,7 +9867,7 @@ var _SearchField = forwardRef27(
9892
9867
  isReadOnly: readOnly,
9893
9868
  isInvalid: error
9894
9869
  };
9895
- return /* @__PURE__ */ jsx97(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx97(
9870
+ return /* @__PURE__ */ jsx95(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx95(
9896
9871
  SearchInput,
9897
9872
  {
9898
9873
  ref,
@@ -9903,10 +9878,12 @@ var _SearchField = forwardRef27(
9903
9878
  );
9904
9879
 
9905
9880
  // src/Select/Select.tsx
9906
- import { forwardRef as forwardRef28 } from "react";
9881
+ import {
9882
+ forwardRef as forwardRef28
9883
+ } from "react";
9907
9884
  import { Select as Select2, SelectValue } from "react-aria-components";
9908
- import { cn as cn55, useClassNames as useClassNames58 } from "@marigold/system";
9909
- import { jsx as jsx98, jsxs as jsxs36 } from "react/jsx-runtime";
9885
+ import { cn as cn55, useClassNames as useClassNames57 } from "@marigold/system";
9886
+ import { jsx as jsx96, jsxs as jsxs35 } from "react/jsx-runtime";
9910
9887
  var _Select = forwardRef28(
9911
9888
  ({
9912
9889
  disabled,
@@ -9927,9 +9904,9 @@ var _Select = forwardRef28(
9927
9904
  onSelectionChange: onChange2,
9928
9905
  ...rest
9929
9906
  };
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(
9907
+ const classNames3 = useClassNames57({ component: "Select", variant, size: size2 });
9908
+ return /* @__PURE__ */ jsxs35(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
9909
+ /* @__PURE__ */ jsxs35(
9933
9910
  IconButton,
9934
9911
  {
9935
9912
  className: cn55(
@@ -9937,12 +9914,12 @@ var _Select = forwardRef28(
9937
9914
  classNames3.select
9938
9915
  ),
9939
9916
  children: [
9940
- /* @__PURE__ */ jsx98(SelectValue, { className: "[&>[slot=description]]:hidden" }),
9941
- /* @__PURE__ */ jsx98(ChevronDown, { className: cn55("size-4", classNames3.icon) })
9917
+ /* @__PURE__ */ jsx96(SelectValue, { className: "[&>[slot=description]]:hidden" }),
9918
+ /* @__PURE__ */ jsx96(ChevronDown, { className: cn55("size-4", classNames3.icon) })
9942
9919
  ]
9943
9920
  }
9944
9921
  ),
9945
- /* @__PURE__ */ jsx98(_Popover, { children: /* @__PURE__ */ jsx98(_ListBox, { items, children: props.children }) })
9922
+ /* @__PURE__ */ jsx96(_Popover, { children: /* @__PURE__ */ jsx96(_ListBox, { items, children: props.children }) })
9946
9923
  ] });
9947
9924
  }
9948
9925
  );
@@ -9954,21 +9931,25 @@ import {
9954
9931
  forwardRef as forwardRef30
9955
9932
  } from "react";
9956
9933
  import { GridList as SelectList } from "react-aria-components";
9957
- import { cn as cn57, useClassNames as useClassNames59 } from "@marigold/system";
9934
+ import { cn as cn57, useClassNames as useClassNames58 } from "@marigold/system";
9958
9935
 
9959
9936
  // src/SelectList/Context.ts
9960
- import { createContext as createContext14, useContext as useContext24 } from "react";
9961
- var SelectListContext = createContext14(
9937
+ import { createContext as createContext13, useContext as useContext23 } from "react";
9938
+ var SelectListContext = createContext13(
9962
9939
  {}
9963
9940
  );
9964
- var useSelectListContext = () => useContext24(SelectListContext);
9941
+ var useSelectListContext = () => useContext23(SelectListContext);
9942
+
9943
+ // src/SelectList/SelectListAction.tsx
9944
+ import { jsx as jsx97 } from "react/jsx-runtime";
9945
+ var SelectListAction = ({ children }) => /* @__PURE__ */ jsx97("div", { className: "order-last", children });
9965
9946
 
9966
9947
  // src/SelectList/SelectListItem.tsx
9967
9948
  import { forwardRef as forwardRef29 } from "react";
9968
9949
  import { GridListItem as SelectListItem } from "react-aria-components";
9969
9950
  import { cn as cn56 } from "@marigold/system";
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(
9951
+ import { jsx as jsx98, jsxs as jsxs36 } from "react/jsx-runtime";
9952
+ var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx98("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx98(
9972
9953
  "path",
9973
9954
  {
9974
9955
  fill: "currentColor",
@@ -9979,26 +9960,30 @@ var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx99("svg", { width: "12px"
9979
9960
  var SelectionIndicator = ({ selectionMode }) => {
9980
9961
  switch (selectionMode) {
9981
9962
  case "multiple": {
9982
- return /* @__PURE__ */ jsx99(_Checkbox, { slot: "selection" });
9963
+ return /* @__PURE__ */ jsx98(_Checkbox, { slot: "selection" });
9983
9964
  }
9984
9965
  case "single": {
9985
- return /* @__PURE__ */ jsx99(CheckMark3, { className: "invisible hidden" });
9966
+ return /* @__PURE__ */ jsx98(CheckMark3, { className: "invisible hidden" });
9986
9967
  }
9987
9968
  }
9988
9969
  };
9989
9970
  var _SelectListItem = forwardRef29(
9990
- ({ children, ...props }, ref) => {
9971
+ ({ children, disabled, ...props }, ref) => {
9991
9972
  let textValue = typeof children === "string" ? children : void 0;
9992
9973
  const { classNames: classNames3 } = useSelectListContext();
9993
- return /* @__PURE__ */ jsx99(
9974
+ return /* @__PURE__ */ jsx98(
9994
9975
  SelectListItem,
9995
9976
  {
9977
+ isDisabled: disabled,
9996
9978
  textValue,
9997
9979
  ...props,
9998
- className: cn56("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
9980
+ className: cn56(
9981
+ classNames3 == null ? void 0 : classNames3.item,
9982
+ "grid grid-flow-col [grid-template-columns:min-content_1fr]"
9983
+ ),
9999
9984
  ref,
10000
- children: ({ selectionMode }) => /* @__PURE__ */ jsxs37(Fragment11, { children: [
10001
- /* @__PURE__ */ jsx99(SelectionIndicator, { selectionMode }),
9985
+ children: ({ selectionMode }) => /* @__PURE__ */ jsxs36("div", { className: "selection-indicator contents", children: [
9986
+ /* @__PURE__ */ jsx98(SelectionIndicator, { selectionMode }),
10002
9987
  children
10003
9988
  ] })
10004
9989
  }
@@ -10007,15 +9992,15 @@ var _SelectListItem = forwardRef29(
10007
9992
  );
10008
9993
 
10009
9994
  // src/SelectList/SelectList.tsx
10010
- import { jsx as jsx100 } from "react/jsx-runtime";
9995
+ import { jsx as jsx99 } from "react/jsx-runtime";
10011
9996
  var _SelectList = forwardRef30(
10012
9997
  ({ onChange: onChange2, ...rest }, ref) => {
10013
- const classNames3 = useClassNames59({ component: "ListBox" });
9998
+ const classNames3 = useClassNames58({ component: "ListBox" });
10014
9999
  const props = {
10015
10000
  onSelectionChange: onChange2,
10016
10001
  ...rest
10017
10002
  };
10018
- return /* @__PURE__ */ jsx100(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx100("div", { className: classNames3.container, children: /* @__PURE__ */ jsx100(
10003
+ return /* @__PURE__ */ jsx99(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx99("div", { className: classNames3.container, children: /* @__PURE__ */ jsx99(
10019
10004
  SelectList,
10020
10005
  {
10021
10006
  ...props,
@@ -10031,21 +10016,22 @@ var _SelectList = forwardRef30(
10031
10016
  }
10032
10017
  );
10033
10018
  _SelectList.Item = _SelectListItem;
10019
+ _SelectList.Action = SelectListAction;
10034
10020
 
10035
10021
  // src/Scrollable/Scrollable.tsx
10036
- import { cn as cn58, createVar as createVar8, width as twWidth2 } from "@marigold/system";
10037
- import { jsx as jsx101 } from "react/jsx-runtime";
10022
+ import { cn as cn58, createVar as createVar6, width as twWidth3 } from "@marigold/system";
10023
+ import { jsx as jsx100 } from "react/jsx-runtime";
10038
10024
  var Scrollable = ({
10039
10025
  children,
10040
10026
  width = "full",
10041
10027
  height,
10042
10028
  ...props
10043
- }) => /* @__PURE__ */ jsx101(
10029
+ }) => /* @__PURE__ */ jsx100(
10044
10030
  "div",
10045
10031
  {
10046
10032
  ...props,
10047
- className: cn58(["sticky h-(--height) overflow-auto", twWidth2[width]]),
10048
- style: createVar8({ height }),
10033
+ className: cn58(["sticky h-(--height) overflow-auto", twWidth3[width]]),
10034
+ style: createVar6({ height }),
10049
10035
  children
10050
10036
  }
10051
10037
  );
@@ -10060,10 +10046,10 @@ import {
10060
10046
  } from "react-aria-components";
10061
10047
  import {
10062
10048
  cn as cn59,
10063
- width as twWidth3,
10064
- useClassNames as useClassNames60
10049
+ width as twWidth4,
10050
+ useClassNames as useClassNames59
10065
10051
  } from "@marigold/system";
10066
- import { Fragment as Fragment12, jsx as jsx102, jsxs as jsxs38 } from "react/jsx-runtime";
10052
+ import { Fragment as Fragment10, jsx as jsx101, jsxs as jsxs37 } from "react/jsx-runtime";
10067
10053
  var _Slider = forwardRef31(
10068
10054
  ({
10069
10055
  thumbLabels,
@@ -10074,7 +10060,7 @@ var _Slider = forwardRef31(
10074
10060
  label,
10075
10061
  ...rest
10076
10062
  }, ref) => {
10077
- const classNames3 = useClassNames60({
10063
+ const classNames3 = useClassNames59({
10078
10064
  component: "Slider",
10079
10065
  variant,
10080
10066
  size: size2
@@ -10083,26 +10069,26 @@ var _Slider = forwardRef31(
10083
10069
  isDisabled: disabled,
10084
10070
  ...rest
10085
10071
  };
10086
- return /* @__PURE__ */ jsxs38(
10072
+ return /* @__PURE__ */ jsxs37(
10087
10073
  FieldBase,
10088
10074
  {
10089
10075
  as: Slider,
10090
10076
  className: cn59(
10091
10077
  "grid grid-cols-[auto_1fr] gap-y-1",
10092
10078
  classNames3.container,
10093
- twWidth3[width]
10079
+ twWidth4[width]
10094
10080
  ),
10095
10081
  ref,
10096
10082
  ...props,
10097
10083
  children: [
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(
10084
+ label && /* @__PURE__ */ jsx101(_Label, { children: label }),
10085
+ /* @__PURE__ */ jsx101(SliderOutput, { className: cn59("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
10086
+ /* @__PURE__ */ jsx101(
10101
10087
  SliderTrack,
10102
10088
  {
10103
10089
  className: cn59("relative col-span-2 h-2 w-full", classNames3.track),
10104
- children: ({ state }) => /* @__PURE__ */ jsxs38(Fragment12, { children: [
10105
- /* @__PURE__ */ jsx102(
10090
+ children: ({ state }) => /* @__PURE__ */ jsxs37(Fragment10, { children: [
10091
+ /* @__PURE__ */ jsx101(
10106
10092
  "div",
10107
10093
  {
10108
10094
  className: cn59(
@@ -10111,7 +10097,7 @@ var _Slider = forwardRef31(
10111
10097
  )
10112
10098
  }
10113
10099
  ),
10114
- /* @__PURE__ */ jsx102(
10100
+ /* @__PURE__ */ jsx101(
10115
10101
  "div",
10116
10102
  {
10117
10103
  className: cn59(
@@ -10124,7 +10110,7 @@ var _Slider = forwardRef31(
10124
10110
  }
10125
10111
  }
10126
10112
  ),
10127
- state.values.map((_, i) => /* @__PURE__ */ jsx102(
10113
+ state.values.map((_, i) => /* @__PURE__ */ jsx101(
10128
10114
  SliderThumb,
10129
10115
  {
10130
10116
  className: cn59("top-1/2 cursor-pointer", classNames3.thumb),
@@ -10144,23 +10130,27 @@ var _Slider = forwardRef31(
10144
10130
  );
10145
10131
 
10146
10132
  // src/Split/Split.tsx
10147
- import { jsx as jsx103 } from "react/jsx-runtime";
10148
- var Split = () => /* @__PURE__ */ jsx103("div", { role: "separator", className: "grow" });
10133
+ import { jsx as jsx102 } from "react/jsx-runtime";
10134
+ var Split = () => /* @__PURE__ */ jsx102("div", { role: "separator", className: "grow" });
10149
10135
 
10150
10136
  // src/Stack/Stack.tsx
10137
+ import { Children as Children3 } from "react";
10151
10138
  import { alignment as alignment3, cn as cn60, gapSpace as gapSpace8 } from "@marigold/system";
10152
- import { jsx as jsx104 } from "react/jsx-runtime";
10139
+ import { jsx as jsx103 } from "react/jsx-runtime";
10153
10140
  var Stack = ({
10154
10141
  children,
10155
10142
  space = 0,
10156
10143
  stretch = false,
10157
10144
  alignX,
10158
10145
  alignY,
10146
+ asList = false,
10159
10147
  ...props
10160
10148
  }) => {
10161
10149
  var _a, _b, _c, _d;
10162
- return /* @__PURE__ */ jsx104(
10163
- "div",
10150
+ const Component2 = asList ? "ul" : "div";
10151
+ const stackChildren = asList ? Children3.map(children, (child) => child != null ? /* @__PURE__ */ jsx103("li", { children: child }) : null) : children;
10152
+ return /* @__PURE__ */ jsx103(
10153
+ Component2,
10164
10154
  {
10165
10155
  className: cn60(
10166
10156
  "flex flex-col",
@@ -10170,7 +10160,7 @@ var Stack = ({
10170
10160
  stretch && "h-full w-full"
10171
10161
  ),
10172
10162
  ...props,
10173
- children
10163
+ children: stackChildren
10174
10164
  }
10175
10165
  );
10176
10166
  };
@@ -10180,10 +10170,10 @@ import { forwardRef as forwardRef32 } from "react";
10180
10170
  import { Switch } from "react-aria-components";
10181
10171
  import {
10182
10172
  cn as cn61,
10183
- width as twWidth4,
10184
- useClassNames as useClassNames61
10173
+ width as twWidth5,
10174
+ useClassNames as useClassNames60
10185
10175
  } from "@marigold/system";
10186
- import { jsx as jsx105, jsxs as jsxs39 } from "react/jsx-runtime";
10176
+ import { jsx as jsx104, jsxs as jsxs38 } from "react/jsx-runtime";
10187
10177
  var _Switch = forwardRef32(
10188
10178
  ({
10189
10179
  variant,
@@ -10195,27 +10185,27 @@ var _Switch = forwardRef32(
10195
10185
  readOnly,
10196
10186
  ...rest
10197
10187
  }, ref) => {
10198
- const classNames3 = useClassNames61({ component: "Switch", size: size2, variant });
10188
+ const classNames3 = useClassNames60({ component: "Switch", size: size2, variant });
10199
10189
  const props = {
10200
10190
  isDisabled: disabled,
10201
10191
  isReadOnly: readOnly,
10202
10192
  isSelected: selected,
10203
10193
  ...rest
10204
10194
  };
10205
- return /* @__PURE__ */ jsxs39(
10195
+ return /* @__PURE__ */ jsxs38(
10206
10196
  Switch,
10207
10197
  {
10208
10198
  ...props,
10209
10199
  ref,
10210
10200
  className: cn61(
10211
- twWidth4[width],
10201
+ twWidth5[width],
10212
10202
  "group/switch",
10213
10203
  "flex items-center gap-[1ch]",
10214
10204
  classNames3.container
10215
10205
  ),
10216
10206
  children: [
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 }) }) })
10207
+ label && /* @__PURE__ */ jsx104(_Label, { elementType: "span", children: label }),
10208
+ /* @__PURE__ */ jsx104("div", { className: "relative", children: /* @__PURE__ */ jsx104("div", { className: classNames3.track, children: /* @__PURE__ */ jsx104("div", { className: classNames3.thumb }) }) })
10219
10209
  ]
10220
10210
  }
10221
10211
  );
@@ -10233,16 +10223,16 @@ import {
10233
10223
  Row,
10234
10224
  useTableState
10235
10225
  } from "@react-stately/table";
10236
- import { cn as cn67, useClassNames as useClassNames63 } from "@marigold/system";
10226
+ import { cn as cn67, useClassNames as useClassNames62 } from "@marigold/system";
10237
10227
 
10238
10228
  // src/Table/Context.tsx
10239
- import { createContext as createContext15, useContext as useContext25 } from "react";
10240
- var TableContext = createContext15({});
10241
- var useTableContext = () => useContext25(TableContext);
10229
+ import { createContext as createContext14, useContext as useContext24 } from "react";
10230
+ var TableContext = createContext14({});
10231
+ var useTableContext = () => useContext24(TableContext);
10242
10232
 
10243
10233
  // src/Table/TableBody.tsx
10244
10234
  import { useTableRowGroup } from "@react-aria/table";
10245
- import { jsx as jsx106 } from "react/jsx-runtime";
10235
+ import { jsx as jsx105 } from "react/jsx-runtime";
10246
10236
  var TableBody = ({
10247
10237
  children,
10248
10238
  className,
@@ -10251,7 +10241,7 @@ var TableBody = ({
10251
10241
  const { rowGroupProps } = useTableRowGroup();
10252
10242
  const { state, classNames: classNames3 } = useTableContext();
10253
10243
  if (state.collection.size === 0 && emptyState) {
10254
- return /* @__PURE__ */ jsx106("tbody", { className, children: /* @__PURE__ */ jsx106("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx106(
10244
+ return /* @__PURE__ */ jsx105("tbody", { className, children: /* @__PURE__ */ jsx105("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx105(
10255
10245
  "td",
10256
10246
  {
10257
10247
  className: classNames3 == null ? void 0 : classNames3.cell,
@@ -10261,7 +10251,7 @@ var TableBody = ({
10261
10251
  }
10262
10252
  ) }) });
10263
10253
  }
10264
- return /* @__PURE__ */ jsx106("tbody", { ...rowGroupProps, className, children });
10254
+ return /* @__PURE__ */ jsx105("tbody", { ...rowGroupProps, className, children });
10265
10255
  };
10266
10256
 
10267
10257
  // src/Table/TableCell.tsx
@@ -10270,7 +10260,7 @@ import { useFocusRing } from "@react-aria/focus";
10270
10260
  import { useTableCell } from "@react-aria/table";
10271
10261
  import { mergeProps as mergeProps2 } from "@react-aria/utils";
10272
10262
  import { useStateProps } from "@marigold/system";
10273
- import { jsx as jsx107 } from "react/jsx-runtime";
10263
+ import { jsx as jsx106 } from "react/jsx-runtime";
10274
10264
  var TableCell = ({
10275
10265
  cell,
10276
10266
  align = "left",
@@ -10297,7 +10287,7 @@ var TableCell = ({
10297
10287
  };
10298
10288
  const { focusProps, isFocusVisible } = useFocusRing();
10299
10289
  const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
10300
- return /* @__PURE__ */ jsx107(
10290
+ return /* @__PURE__ */ jsx106(
10301
10291
  "td",
10302
10292
  {
10303
10293
  ref,
@@ -10339,7 +10329,7 @@ var mapCheckboxProps = ({
10339
10329
  };
10340
10330
 
10341
10331
  // src/Table/TableCheckboxCell.tsx
10342
- import { jsx as jsx108 } from "react/jsx-runtime";
10332
+ import { jsx as jsx107 } from "react/jsx-runtime";
10343
10333
  var TableCheckboxCell = ({
10344
10334
  cell,
10345
10335
  alignY = "middle"
@@ -10359,7 +10349,7 @@ var TableCheckboxCell = ({
10359
10349
  );
10360
10350
  const { focusProps, isFocusVisible } = useFocusRing2();
10361
10351
  const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
10362
- return /* @__PURE__ */ jsx108(
10352
+ return /* @__PURE__ */ jsx107(
10363
10353
  "td",
10364
10354
  {
10365
10355
  ref,
@@ -10367,7 +10357,7 @@ var TableCheckboxCell = ({
10367
10357
  ...mergeProps3(gridCellProps, focusProps),
10368
10358
  ...stateProps,
10369
10359
  valign: alignY,
10370
- children: /* @__PURE__ */ jsx108(_Checkbox, { ...checkboxProps })
10360
+ children: /* @__PURE__ */ jsx107(_Checkbox, { ...checkboxProps })
10371
10361
  }
10372
10362
  );
10373
10363
  };
@@ -10378,8 +10368,8 @@ import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
10378
10368
  import { useHover } from "@react-aria/interactions";
10379
10369
  import { useTableColumnHeader } from "@react-aria/table";
10380
10370
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
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";
10371
+ import { cn as cn63, width as twWidth6, useStateProps as useStateProps3 } from "@marigold/system";
10372
+ import { jsx as jsx108, jsxs as jsxs39 } from "react/jsx-runtime";
10383
10373
  var TableColumnHeader = ({
10384
10374
  column: column2,
10385
10375
  width = "auto",
@@ -10401,18 +10391,18 @@ var TableColumnHeader = ({
10401
10391
  hover: isHovered,
10402
10392
  focusVisible: isFocusVisible
10403
10393
  });
10404
- return /* @__PURE__ */ jsxs40(
10394
+ return /* @__PURE__ */ jsxs39(
10405
10395
  "th",
10406
10396
  {
10407
10397
  colSpan: column2.colspan,
10408
10398
  ref,
10409
- className: cn63("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
10399
+ className: cn63("cursor-default", twWidth6[width], classNames3 == null ? void 0 : classNames3.header),
10410
10400
  ...mergeProps4(columnHeaderProps, hoverProps, focusProps),
10411
10401
  ...stateProps,
10412
10402
  align,
10413
10403
  children: [
10414
10404
  column2.rendered,
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" }) }))
10405
+ column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx108(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx108(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx108("span", { className: "hidden", children: /* @__PURE__ */ jsx108(SortDown, { className: "inline-block" }) }))
10416
10406
  ]
10417
10407
  }
10418
10408
  );
@@ -10421,17 +10411,16 @@ var TableColumnHeader = ({
10421
10411
  // src/Table/TableHeader.tsx
10422
10412
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
10423
10413
  import { cn as cn64 } from "@marigold/system";
10424
- import { jsx as jsx110 } from "react/jsx-runtime";
10414
+ import { jsx as jsx109 } from "react/jsx-runtime";
10425
10415
  var TableHeader = ({ stickyHeader, children }) => {
10426
10416
  const { rowGroupProps } = useTableRowGroup2();
10427
10417
  const { classNames: classNames3 } = useTableContext();
10428
- return /* @__PURE__ */ jsx110(
10418
+ return /* @__PURE__ */ jsx109(
10429
10419
  "thead",
10430
10420
  {
10431
10421
  ...rowGroupProps,
10432
10422
  className: cn64(
10433
10423
  classNames3 == null ? void 0 : classNames3.thead,
10434
- // for sticky header &th needs to be sticky for b2b and core theme
10435
10424
  // for rui sticky is applied to thead
10436
10425
  stickyHeader ? "sticky [&_th]:sticky [&_th]:top-0" : ""
10437
10426
  ),
@@ -10443,7 +10432,7 @@ var TableHeader = ({ stickyHeader, children }) => {
10443
10432
  // src/Table/TableHeaderRow.tsx
10444
10433
  import { useRef as useRef13 } from "react";
10445
10434
  import { useTableHeaderRow } from "@react-aria/table";
10446
- import { jsx as jsx111 } from "react/jsx-runtime";
10435
+ import { jsx as jsx110 } from "react/jsx-runtime";
10447
10436
  var TableHeaderRow = ({
10448
10437
  item,
10449
10438
  className,
@@ -10452,7 +10441,7 @@ var TableHeaderRow = ({
10452
10441
  const { state } = useTableContext();
10453
10442
  const ref = useRef13(null);
10454
10443
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
10455
- return /* @__PURE__ */ jsx111("tr", { ...rowProps, className, ref, children });
10444
+ return /* @__PURE__ */ jsx110("tr", { ...rowProps, className, ref, children });
10456
10445
  };
10457
10446
 
10458
10447
  // src/Table/TableRow.tsx
@@ -10461,13 +10450,13 @@ import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
10461
10450
  import { useHover as useHover2 } from "@react-aria/interactions";
10462
10451
  import { useTableRow } from "@react-aria/table";
10463
10452
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
10464
- import { cn as cn65, useClassNames as useClassNames62, useStateProps as useStateProps4 } from "@marigold/system";
10465
- import { jsx as jsx112 } from "react/jsx-runtime";
10453
+ import { cn as cn65, useClassNames as useClassNames61, useStateProps as useStateProps4 } from "@marigold/system";
10454
+ import { jsx as jsx111 } from "react/jsx-runtime";
10466
10455
  var TableRow = ({ children, row }) => {
10467
10456
  const ref = useRef14(null);
10468
10457
  const { interactive, state, ...ctx } = useTableContext();
10469
10458
  const { variant, size: size2 } = row.props;
10470
- const classNames3 = useClassNames62({
10459
+ const classNames3 = useClassNames61({
10471
10460
  component: "Table",
10472
10461
  variant: variant || ctx.variant,
10473
10462
  size: size2 || ctx.size
@@ -10492,7 +10481,7 @@ var TableRow = ({ children, row }) => {
10492
10481
  focusVisible: isFocusVisible,
10493
10482
  active: isPressed
10494
10483
  });
10495
- return /* @__PURE__ */ jsx112(
10484
+ return /* @__PURE__ */ jsx111(
10496
10485
  "tr",
10497
10486
  {
10498
10487
  ref,
@@ -10520,10 +10509,10 @@ import {
10520
10509
  import { mergeProps as mergeProps6 } from "@react-aria/utils";
10521
10510
  import {
10522
10511
  cn as cn66,
10523
- width as twWidth6,
10512
+ width as twWidth7,
10524
10513
  useStateProps as useStateProps5
10525
10514
  } from "@marigold/system";
10526
- import { jsx as jsx113 } from "react/jsx-runtime";
10515
+ import { jsx as jsx112 } from "react/jsx-runtime";
10527
10516
  var TableSelectAllCell = ({
10528
10517
  column: column2,
10529
10518
  width = "auto",
@@ -10545,21 +10534,21 @@ var TableSelectAllCell = ({
10545
10534
  hover: isHovered,
10546
10535
  focusVisible: isFocusVisible
10547
10536
  });
10548
- return /* @__PURE__ */ jsx113(
10537
+ return /* @__PURE__ */ jsx112(
10549
10538
  "th",
10550
10539
  {
10551
10540
  ref,
10552
- className: cn66(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10541
+ className: cn66(twWidth7[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
10553
10542
  ...mergeProps6(columnHeaderProps, hoverProps, focusProps),
10554
10543
  ...stateProps,
10555
10544
  align,
10556
- children: /* @__PURE__ */ jsx113(_Checkbox, { ...checkboxProps })
10545
+ children: /* @__PURE__ */ jsx112(_Checkbox, { ...checkboxProps })
10557
10546
  }
10558
10547
  );
10559
10548
  };
10560
10549
 
10561
10550
  // src/Table/Table.tsx
10562
- import { jsx as jsx114, jsxs as jsxs41 } from "react/jsx-runtime";
10551
+ import { jsx as jsx113, jsxs as jsxs40 } from "react/jsx-runtime";
10563
10552
  var Table = ({
10564
10553
  variant,
10565
10554
  size: size2,
@@ -10583,17 +10572,17 @@ var Table = ({
10583
10572
  state.isKeyboardNavigationDisabled = disableKeyboardNavigation;
10584
10573
  }
10585
10574
  const { gridProps } = useTable(props, state, tableRef);
10586
- const classNames3 = useClassNames63({
10575
+ const classNames3 = useClassNames62({
10587
10576
  component: "Table",
10588
10577
  variant,
10589
10578
  size: size2
10590
10579
  });
10591
10580
  const { collection } = state;
10592
- return /* @__PURE__ */ jsx114(
10581
+ return /* @__PURE__ */ jsx113(
10593
10582
  TableContext.Provider,
10594
10583
  {
10595
10584
  value: { state, interactive, classNames: classNames3, variant, size: size2 },
10596
- children: /* @__PURE__ */ jsxs41(
10585
+ children: /* @__PURE__ */ jsxs40(
10597
10586
  "table",
10598
10587
  {
10599
10588
  ref: tableRef,
@@ -10605,7 +10594,7 @@ var Table = ({
10605
10594
  ),
10606
10595
  ...gridProps,
10607
10596
  children: [
10608
- /* @__PURE__ */ jsx114(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx114(
10597
+ /* @__PURE__ */ jsx113(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx113(
10609
10598
  TableHeaderRow,
10610
10599
  {
10611
10600
  item: headerRow,
@@ -10613,7 +10602,7 @@ var Table = ({
10613
10602
  children: [...collection.getChildren(headerRow.key)].map(
10614
10603
  (column2) => {
10615
10604
  var _a, _b, _c, _d, _e;
10616
- return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx114(
10605
+ return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx113(
10617
10606
  TableSelectAllCell,
10618
10607
  {
10619
10608
  width: (_b = column2.props) == null ? void 0 : _b.width,
@@ -10621,7 +10610,7 @@ var Table = ({
10621
10610
  align: (_c = column2.props) == null ? void 0 : _c.align
10622
10611
  },
10623
10612
  column2.key
10624
- ) : /* @__PURE__ */ jsx114(
10613
+ ) : /* @__PURE__ */ jsx113(
10625
10614
  TableColumnHeader,
10626
10615
  {
10627
10616
  width: (_d = column2.props) == null ? void 0 : _d.width,
@@ -10635,19 +10624,19 @@ var Table = ({
10635
10624
  },
10636
10625
  headerRow.key
10637
10626
  )) }),
10638
- /* @__PURE__ */ jsxs41(TableBody, { className: classNames3.body, emptyState, children: [
10627
+ /* @__PURE__ */ jsxs40(TableBody, { className: classNames3.body, emptyState, children: [
10639
10628
  ...collection.rows.map(
10640
- (row) => row.type === "item" && /* @__PURE__ */ jsx114(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
10629
+ (row) => row.type === "item" && /* @__PURE__ */ jsx113(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
10641
10630
  var _a, _b;
10642
10631
  const currentColumn = collection.columns[index2];
10643
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx114(
10632
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx113(
10644
10633
  TableCheckboxCell,
10645
10634
  {
10646
10635
  cell,
10647
10636
  alignY
10648
10637
  },
10649
10638
  cell.key
10650
- ) : /* @__PURE__ */ jsx114(
10639
+ ) : /* @__PURE__ */ jsx113(
10651
10640
  TableCell,
10652
10641
  {
10653
10642
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -10681,9 +10670,9 @@ import {
10681
10670
  textAlign as textAlign2,
10682
10671
  textSize,
10683
10672
  textStyle,
10684
- useClassNames as useClassNames64
10673
+ useClassNames as useClassNames63
10685
10674
  } from "@marigold/system";
10686
- import { jsx as jsx115 } from "react/jsx-runtime";
10675
+ import { jsx as jsx114 } from "react/jsx-runtime";
10687
10676
  var _Text = ({
10688
10677
  variant,
10689
10678
  size: size2,
@@ -10697,14 +10686,14 @@ var _Text = ({
10697
10686
  as = "div",
10698
10687
  ...props
10699
10688
  }) => {
10700
- const classNames3 = useClassNames64({
10689
+ const classNames3 = useClassNames63({
10701
10690
  component: "Text",
10702
10691
  variant,
10703
10692
  size: size2
10704
10693
  });
10705
10694
  const Component2 = props.slot ? Text2 : as;
10706
10695
  const elementType = props.slot ? { elementType: as } : {};
10707
- return /* @__PURE__ */ jsx115(
10696
+ return /* @__PURE__ */ jsx114(
10708
10697
  Component2,
10709
10698
  {
10710
10699
  ...props,
@@ -10728,8 +10717,8 @@ var _Text = ({
10728
10717
  // src/TextArea/TextArea.tsx
10729
10718
  import { forwardRef as forwardRef33 } from "react";
10730
10719
  import { TextArea, TextField } from "react-aria-components";
10731
- import { useClassNames as useClassNames65 } from "@marigold/system";
10732
- import { jsx as jsx116 } from "react/jsx-runtime";
10720
+ import { useClassNames as useClassNames64 } from "@marigold/system";
10721
+ import { jsx as jsx115 } from "react/jsx-runtime";
10733
10722
  var _TextArea = forwardRef33(
10734
10723
  ({
10735
10724
  variant,
@@ -10741,7 +10730,7 @@ var _TextArea = forwardRef33(
10741
10730
  rows,
10742
10731
  ...rest
10743
10732
  }, ref) => {
10744
- const classNames3 = useClassNames65({ component: "TextArea", variant, size: size2 });
10733
+ const classNames3 = useClassNames64({ component: "TextArea", variant, size: size2 });
10745
10734
  const props = {
10746
10735
  isDisabled: disabled,
10747
10736
  isReadOnly: readOnly,
@@ -10749,14 +10738,14 @@ var _TextArea = forwardRef33(
10749
10738
  isRequired: required,
10750
10739
  ...rest
10751
10740
  };
10752
- return /* @__PURE__ */ jsx116(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx116(TextArea, { className: classNames3, ref, rows }) });
10741
+ return /* @__PURE__ */ jsx115(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx115(TextArea, { className: classNames3, ref, rows }) });
10753
10742
  }
10754
10743
  );
10755
10744
 
10756
10745
  // src/TextField/TextField.tsx
10757
10746
  import { forwardRef as forwardRef34 } from "react";
10758
10747
  import { TextField as TextField2 } from "react-aria-components";
10759
- import { jsx as jsx117 } from "react/jsx-runtime";
10748
+ import { jsx as jsx116 } from "react/jsx-runtime";
10760
10749
  var _TextField = forwardRef34(
10761
10750
  ({ required, disabled, readOnly, error, ...rest }, ref) => {
10762
10751
  const props = {
@@ -10766,13 +10755,13 @@ var _TextField = forwardRef34(
10766
10755
  isRequired: required,
10767
10756
  ...rest
10768
10757
  };
10769
- return /* @__PURE__ */ jsx117(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx117(_Input, { ref }) });
10758
+ return /* @__PURE__ */ jsx116(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx116(_Input, { ref }) });
10770
10759
  }
10771
10760
  );
10772
10761
 
10773
10762
  // src/Tiles/Tiles.tsx
10774
- import { cn as cn69, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
10775
- import { jsx as jsx118 } from "react/jsx-runtime";
10763
+ import { cn as cn69, createVar as createVar7, gapSpace as gapSpace9 } from "@marigold/system";
10764
+ import { jsx as jsx117 } from "react/jsx-runtime";
10776
10765
  var Tiles = ({
10777
10766
  space = 0,
10778
10767
  stretch = false,
@@ -10785,7 +10774,7 @@ var Tiles = ({
10785
10774
  if (stretch) {
10786
10775
  column2 = `minmax(${column2}, 1fr)`;
10787
10776
  }
10788
- return /* @__PURE__ */ jsx118(
10777
+ return /* @__PURE__ */ jsx117(
10789
10778
  "div",
10790
10779
  {
10791
10780
  ...props,
@@ -10795,7 +10784,7 @@ var Tiles = ({
10795
10784
  "grid-cols-[repeat(auto-fit,var(--column))]",
10796
10785
  equalHeight && "auto-rows-[1fr]"
10797
10786
  ),
10798
- style: createVar9({ column: column2, tilesWidth }),
10787
+ style: createVar7({ column: column2, tilesWidth }),
10799
10788
  children
10800
10789
  }
10801
10790
  );
@@ -10803,11 +10792,12 @@ var Tiles = ({
10803
10792
 
10804
10793
  // src/Tooltip/Tooltip.tsx
10805
10794
  import { OverlayArrow, Tooltip } from "react-aria-components";
10806
- import { cn as cn70, useClassNames as useClassNames66 } from "@marigold/system";
10795
+ import { UNSAFE_PortalProvider as UNSAFE_PortalProvider3 } from "@react-aria/overlays";
10796
+ import { cn as cn70, useClassNames as useClassNames65 } from "@marigold/system";
10807
10797
 
10808
10798
  // src/Tooltip/TooltipTrigger.tsx
10809
10799
  import { TooltipTrigger } from "react-aria-components";
10810
- import { jsx as jsx119 } from "react/jsx-runtime";
10800
+ import { jsx as jsx118 } from "react/jsx-runtime";
10811
10801
  var _TooltipTrigger = ({
10812
10802
  delay = 1e3,
10813
10803
  children,
@@ -10821,28 +10811,26 @@ var _TooltipTrigger = ({
10821
10811
  isOpen: open,
10822
10812
  delay
10823
10813
  };
10824
- return /* @__PURE__ */ jsx119(TooltipTrigger, { ...props, children });
10814
+ return /* @__PURE__ */ jsx118(TooltipTrigger, { ...props, children });
10825
10815
  };
10826
10816
 
10827
10817
  // src/Tooltip/Tooltip.tsx
10828
- import { jsx as jsx120, jsxs as jsxs42 } from "react/jsx-runtime";
10818
+ import { jsx as jsx119, jsxs as jsxs41 } from "react/jsx-runtime";
10829
10819
  var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
10830
10820
  const props = {
10831
10821
  ...rest,
10832
10822
  isOpen: open
10833
10823
  };
10834
- const classNames3 = useClassNames66({ component: "Tooltip", variant, size: size2 });
10824
+ const classNames3 = useClassNames65({ component: "Tooltip", variant, size: size2 });
10835
10825
  const portal = usePortalContainer();
10836
- return /* @__PURE__ */ jsxs42(
10837
- Tooltip,
10826
+ return /* @__PURE__ */ jsx119(
10827
+ UNSAFE_PortalProvider3,
10838
10828
  {
10839
- ...props,
10840
- className: cn70("group/tooltip", classNames3.container),
10841
- UNSTABLE_portalContainer: portal,
10842
- children: [
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" }) }) }),
10829
+ getContainer: () => portal instanceof HTMLElement ? portal : null,
10830
+ children: /* @__PURE__ */ jsxs41(Tooltip, { ...props, className: cn70("group/tooltip", classNames3.container), children: [
10831
+ /* @__PURE__ */ jsx119(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx119("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx119("path", { d: "M0 0 L4 4 L8 0" }) }) }),
10844
10832
  children
10845
- ]
10833
+ ] })
10846
10834
  }
10847
10835
  );
10848
10836
  };
@@ -10850,22 +10838,22 @@ _Tooltip.Trigger = _TooltipTrigger;
10850
10838
 
10851
10839
  // src/TagGroup/Tag.tsx
10852
10840
  import { Tag } from "react-aria-components";
10853
- import { cn as cn71, useClassNames as useClassNames68 } from "@marigold/system";
10841
+ import { cn as cn71, useClassNames as useClassNames67 } from "@marigold/system";
10854
10842
 
10855
10843
  // src/TagGroup/TagGroup.tsx
10856
10844
  import { TagGroup, TagList } from "react-aria-components";
10857
- import { useClassNames as useClassNames67 } from "@marigold/system";
10845
+ import { useClassNames as useClassNames66 } from "@marigold/system";
10858
10846
 
10859
10847
  // src/TagGroup/TagGroupHiddenInput.tsx
10860
- import { useContext as useContext26 } from "react";
10848
+ import { useContext as useContext25 } from "react";
10861
10849
  import { ListStateContext } from "react-aria-components";
10862
- import { jsx as jsx121 } from "react/jsx-runtime";
10850
+ import { jsx as jsx120 } from "react/jsx-runtime";
10863
10851
  var TagGroupHiddenInput = ({ name }) => {
10864
10852
  var _a;
10865
- const state = useContext26(ListStateContext);
10853
+ const state = useContext25(ListStateContext);
10866
10854
  const selectedKeys = Array.from((_a = state == null ? void 0 : state.selectionManager.selectedKeys) != null ? _a : []);
10867
10855
  if (!selectedKeys.length) return null;
10868
- return /* @__PURE__ */ jsx121("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ jsx121(
10856
+ return /* @__PURE__ */ jsx120("div", { hidden: true, "aria-hidden": "true", children: selectedKeys.map((key) => /* @__PURE__ */ jsx120(
10869
10857
  "input",
10870
10858
  {
10871
10859
  type: "checkbox",
@@ -10879,7 +10867,7 @@ var TagGroupHiddenInput = ({ name }) => {
10879
10867
  };
10880
10868
 
10881
10869
  // src/TagGroup/TagGroup.tsx
10882
- import { jsx as jsx122, jsxs as jsxs43 } from "react/jsx-runtime";
10870
+ import { jsx as jsx121, jsxs as jsxs42 } from "react/jsx-runtime";
10883
10871
  var _TagGroup = ({
10884
10872
  width,
10885
10873
  items,
@@ -10890,9 +10878,9 @@ var _TagGroup = ({
10890
10878
  name,
10891
10879
  ...rest
10892
10880
  }) => {
10893
- const classNames3 = useClassNames67({ component: "Tag", variant, size: size2 });
10894
- return /* @__PURE__ */ jsxs43(FieldBase, { as: TagGroup, ...rest, children: [
10895
- /* @__PURE__ */ jsx122(
10881
+ const classNames3 = useClassNames66({ component: "Tag", variant, size: size2 });
10882
+ return /* @__PURE__ */ jsxs42(FieldBase, { as: TagGroup, ...rest, children: [
10883
+ /* @__PURE__ */ jsx121(
10896
10884
  TagList,
10897
10885
  {
10898
10886
  items,
@@ -10901,28 +10889,28 @@ var _TagGroup = ({
10901
10889
  children
10902
10890
  }
10903
10891
  ),
10904
- name ? /* @__PURE__ */ jsx122(TagGroupHiddenInput, { name }) : null
10892
+ name ? /* @__PURE__ */ jsx121(TagGroupHiddenInput, { name }) : null
10905
10893
  ] });
10906
10894
  };
10907
10895
 
10908
10896
  // src/TagGroup/Tag.tsx
10909
- import { Fragment as Fragment13, jsx as jsx123, jsxs as jsxs44 } from "react/jsx-runtime";
10897
+ import { Fragment as Fragment11, jsx as jsx122, jsxs as jsxs43 } from "react/jsx-runtime";
10910
10898
  var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
10911
10899
  let textValue = typeof children === "string" ? children : void 0;
10912
- const classNames3 = useClassNames68({ component: "Tag", variant, size: size2 });
10900
+ const classNames3 = useClassNames67({ component: "Tag", variant, size: size2 });
10913
10901
  const props = {
10914
10902
  isDisabled: disabled,
10915
10903
  ...rest
10916
10904
  };
10917
- return /* @__PURE__ */ jsx123(
10905
+ return /* @__PURE__ */ jsx122(
10918
10906
  Tag,
10919
10907
  {
10920
10908
  textValue,
10921
10909
  ...props,
10922
10910
  className: cn71("data-selection-mode:cursor-pointer", classNames3.tag),
10923
- children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs44(Fragment13, { children: [
10911
+ children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs43(Fragment11, { children: [
10924
10912
  children,
10925
- allowsRemoving && /* @__PURE__ */ jsx123(CloseButton, { className: classNames3.closeButton, slot: "remove" })
10913
+ allowsRemoving && /* @__PURE__ */ jsx122(CloseButton, { className: classNames3.closeButton, slot: "remove" })
10926
10914
  ] })
10927
10915
  }
10928
10916
  );
@@ -10935,12 +10923,12 @@ import { VisuallyHidden } from "@react-aria/visually-hidden";
10935
10923
  // src/XLoader/XLoader.tsx
10936
10924
  import { Dialog as Dialog5, Modal as Modal2 } from "react-aria-components";
10937
10925
  import { useId as useId2 } from "@react-aria/utils";
10938
- import { useClassNames as useClassNames70 } from "@marigold/system";
10926
+ import { useClassNames as useClassNames69 } from "@marigold/system";
10939
10927
 
10940
10928
  // src/XLoader/BaseLoader.tsx
10941
10929
  import { Label as Label2, ProgressBar as ProgressBar2 } from "react-aria-components";
10942
10930
  import { useLocalizedStringFormatter as useLocalizedStringFormatter2 } from "@react-aria/i18n";
10943
- import { useClassNames as useClassNames69 } from "@marigold/system";
10931
+ import { useClassNames as useClassNames68 } from "@marigold/system";
10944
10932
 
10945
10933
  // src/intl/messages.ts
10946
10934
  var intlMessages2 = {
@@ -10953,7 +10941,7 @@ var intlMessages2 = {
10953
10941
  };
10954
10942
 
10955
10943
  // src/XLoader/BaseLoader.tsx
10956
- import { jsx as jsx124, jsxs as jsxs45 } from "react/jsx-runtime";
10944
+ import { jsx as jsx123, jsxs as jsxs44 } from "react/jsx-runtime";
10957
10945
  var BaseLoader = ({
10958
10946
  variant,
10959
10947
  size: size2,
@@ -10962,8 +10950,8 @@ var BaseLoader = ({
10962
10950
  ...props
10963
10951
  }) => {
10964
10952
  const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
10965
- const className = useClassNames69({ component: "XLoader", variant, size: size2 });
10966
- return /* @__PURE__ */ jsxs45(
10953
+ const className = useClassNames68({ component: "XLoader", variant, size: size2 });
10954
+ return /* @__PURE__ */ jsxs44(
10967
10955
  ProgressBar2,
10968
10956
  {
10969
10957
  className: className.container,
@@ -10971,7 +10959,7 @@ var BaseLoader = ({
10971
10959
  "aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
10972
10960
  ...props,
10973
10961
  children: [
10974
- /* @__PURE__ */ jsxs45(
10962
+ /* @__PURE__ */ jsxs44(
10975
10963
  "svg",
10976
10964
  {
10977
10965
  xmlns: "http://www.w3.org/2000/svg",
@@ -10979,13 +10967,13 @@ var BaseLoader = ({
10979
10967
  fill: "currentColor",
10980
10968
  className: className.loader,
10981
10969
  children: [
10982
- /* @__PURE__ */ jsx124("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
10983
- /* @__PURE__ */ jsx124(
10970
+ /* @__PURE__ */ jsx123("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
10971
+ /* @__PURE__ */ jsx123(
10984
10972
  "path",
10985
10973
  {
10986
10974
  id: "XMLID_5_",
10987
10975
  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",
10988
- children: /* @__PURE__ */ jsx124(
10976
+ children: /* @__PURE__ */ jsx123(
10989
10977
  "animate",
10990
10978
  {
10991
10979
  attributeName: "opacity",
@@ -10998,12 +10986,12 @@ var BaseLoader = ({
10998
10986
  )
10999
10987
  }
11000
10988
  ),
11001
- /* @__PURE__ */ jsx124(
10989
+ /* @__PURE__ */ jsx123(
11002
10990
  "path",
11003
10991
  {
11004
10992
  id: "XMLID_18_",
11005
10993
  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",
11006
- children: /* @__PURE__ */ jsx124(
10994
+ children: /* @__PURE__ */ jsx123(
11007
10995
  "animate",
11008
10996
  {
11009
10997
  attributeName: "opacity",
@@ -11016,12 +11004,12 @@ var BaseLoader = ({
11016
11004
  )
11017
11005
  }
11018
11006
  ),
11019
- /* @__PURE__ */ jsx124(
11007
+ /* @__PURE__ */ jsx123(
11020
11008
  "path",
11021
11009
  {
11022
11010
  id: "XMLID_19_",
11023
11011
  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",
11024
- children: /* @__PURE__ */ jsx124(
11012
+ children: /* @__PURE__ */ jsx123(
11025
11013
  "animate",
11026
11014
  {
11027
11015
  attributeName: "opacity",
@@ -11034,12 +11022,12 @@ var BaseLoader = ({
11034
11022
  )
11035
11023
  }
11036
11024
  ),
11037
- /* @__PURE__ */ jsx124(
11025
+ /* @__PURE__ */ jsx123(
11038
11026
  "path",
11039
11027
  {
11040
11028
  id: "XMLID_20_",
11041
11029
  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",
11042
- children: /* @__PURE__ */ jsx124(
11030
+ children: /* @__PURE__ */ jsx123(
11043
11031
  "animate",
11044
11032
  {
11045
11033
  attributeName: "opacity",
@@ -11052,12 +11040,12 @@ var BaseLoader = ({
11052
11040
  )
11053
11041
  }
11054
11042
  ),
11055
- /* @__PURE__ */ jsx124(
11043
+ /* @__PURE__ */ jsx123(
11056
11044
  "path",
11057
11045
  {
11058
11046
  id: "XMLID_21_",
11059
11047
  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",
11060
- children: /* @__PURE__ */ jsx124(
11048
+ children: /* @__PURE__ */ jsx123(
11061
11049
  "animate",
11062
11050
  {
11063
11051
  attributeName: "opacity",
@@ -11070,12 +11058,12 @@ var BaseLoader = ({
11070
11058
  )
11071
11059
  }
11072
11060
  ),
11073
- /* @__PURE__ */ jsx124(
11061
+ /* @__PURE__ */ jsx123(
11074
11062
  "path",
11075
11063
  {
11076
11064
  id: "XMLID_22_",
11077
11065
  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",
11078
- children: /* @__PURE__ */ jsx124(
11066
+ children: /* @__PURE__ */ jsx123(
11079
11067
  "animate",
11080
11068
  {
11081
11069
  attributeName: "opacity",
@@ -11088,12 +11076,12 @@ var BaseLoader = ({
11088
11076
  )
11089
11077
  }
11090
11078
  ),
11091
- /* @__PURE__ */ jsx124(
11079
+ /* @__PURE__ */ jsx123(
11092
11080
  "path",
11093
11081
  {
11094
11082
  id: "XMLID_23_",
11095
11083
  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",
11096
- children: /* @__PURE__ */ jsx124(
11084
+ children: /* @__PURE__ */ jsx123(
11097
11085
  "animate",
11098
11086
  {
11099
11087
  attributeName: "opacity",
@@ -11106,12 +11094,12 @@ var BaseLoader = ({
11106
11094
  )
11107
11095
  }
11108
11096
  ),
11109
- /* @__PURE__ */ jsx124(
11097
+ /* @__PURE__ */ jsx123(
11110
11098
  "path",
11111
11099
  {
11112
11100
  id: "XMLID_24_",
11113
11101
  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",
11114
- children: /* @__PURE__ */ jsx124(
11102
+ children: /* @__PURE__ */ jsx123(
11115
11103
  "animate",
11116
11104
  {
11117
11105
  attributeName: "opacity",
@@ -11124,12 +11112,12 @@ var BaseLoader = ({
11124
11112
  )
11125
11113
  }
11126
11114
  ),
11127
- /* @__PURE__ */ jsx124(
11115
+ /* @__PURE__ */ jsx123(
11128
11116
  "path",
11129
11117
  {
11130
11118
  id: "XMLID_25_",
11131
11119
  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",
11132
- children: /* @__PURE__ */ jsx124(
11120
+ children: /* @__PURE__ */ jsx123(
11133
11121
  "animate",
11134
11122
  {
11135
11123
  attributeName: "opacity",
@@ -11142,12 +11130,12 @@ var BaseLoader = ({
11142
11130
  )
11143
11131
  }
11144
11132
  ),
11145
- /* @__PURE__ */ jsx124(
11133
+ /* @__PURE__ */ jsx123(
11146
11134
  "path",
11147
11135
  {
11148
11136
  id: "XMLID_26_",
11149
11137
  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",
11150
- children: /* @__PURE__ */ jsx124(
11138
+ children: /* @__PURE__ */ jsx123(
11151
11139
  "animate",
11152
11140
  {
11153
11141
  attributeName: "opacity",
@@ -11160,12 +11148,12 @@ var BaseLoader = ({
11160
11148
  )
11161
11149
  }
11162
11150
  ),
11163
- /* @__PURE__ */ jsx124(
11151
+ /* @__PURE__ */ jsx123(
11164
11152
  "path",
11165
11153
  {
11166
11154
  id: "XMLID_27_",
11167
11155
  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",
11168
- children: /* @__PURE__ */ jsx124(
11156
+ children: /* @__PURE__ */ jsx123(
11169
11157
  "animate",
11170
11158
  {
11171
11159
  attributeName: "opacity",
@@ -11181,44 +11169,44 @@ var BaseLoader = ({
11181
11169
  ]
11182
11170
  }
11183
11171
  ),
11184
- children ? /* @__PURE__ */ jsx124(Label2, { className: className.label, children }) : null
11172
+ children ? /* @__PURE__ */ jsx123(Label2, { className: className.label, children }) : null
11185
11173
  ]
11186
11174
  }
11187
11175
  );
11188
11176
  };
11189
11177
 
11190
11178
  // src/XLoader/XLoader.tsx
11191
- import { jsx as jsx125 } from "react/jsx-runtime";
11179
+ import { jsx as jsx124 } from "react/jsx-runtime";
11192
11180
  var LoaderFullScreen = (props) => {
11193
11181
  const id = useId2();
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 }) }) }) });
11182
+ return /* @__PURE__ */ jsx124(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx124(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx124(Dialog5, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx124(BaseLoader, { id, ...props }) }) }) });
11195
11183
  };
11196
11184
  var LoaderSection = (props) => {
11197
- const className = useClassNames70({
11185
+ const className = useClassNames69({
11198
11186
  component: "Underlay",
11199
11187
  variant: "modal",
11200
11188
  className: "flex size-full items-center justify-center"
11201
11189
  });
11202
- return /* @__PURE__ */ jsx125("div", { className, children: /* @__PURE__ */ jsx125(BaseLoader, { ...props }) });
11190
+ return /* @__PURE__ */ jsx124("div", { className, children: /* @__PURE__ */ jsx124(BaseLoader, { ...props }) });
11203
11191
  };
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 });
11192
+ var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx124(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx124(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx124(BaseLoader, { variant, ...props });
11205
11193
 
11206
11194
  // src/Tabs/Tabs.tsx
11207
11195
  import { Tabs } from "react-aria-components";
11208
- import { useClassNames as useClassNames71 } from "@marigold/system";
11196
+ import { useClassNames as useClassNames70 } from "@marigold/system";
11209
11197
 
11210
11198
  // src/Tabs/Context.ts
11211
- import { createContext as createContext16, useContext as useContext27 } from "react";
11212
- var TabContext = createContext16({});
11213
- var useTabContext = () => useContext27(TabContext);
11199
+ import { createContext as createContext15, useContext as useContext26 } from "react";
11200
+ var TabContext = createContext15({});
11201
+ var useTabContext = () => useContext26(TabContext);
11214
11202
 
11215
11203
  // src/Tabs/Tab.tsx
11216
11204
  import { Tab } from "react-aria-components";
11217
11205
  import { cn as cn72 } from "@marigold/system";
11218
- import { jsx as jsx126 } from "react/jsx-runtime";
11206
+ import { jsx as jsx125 } from "react/jsx-runtime";
11219
11207
  var _Tab = (props) => {
11220
11208
  const { classNames: classNames3 } = useTabContext();
11221
- return /* @__PURE__ */ jsx126(
11209
+ return /* @__PURE__ */ jsx125(
11222
11210
  Tab,
11223
11211
  {
11224
11212
  ...props,
@@ -11234,10 +11222,10 @@ var _Tab = (props) => {
11234
11222
  // src/Tabs/TabList.tsx
11235
11223
  import { TabList } from "react-aria-components";
11236
11224
  import { cn as cn73, gapSpace as gapSpace10 } from "@marigold/system";
11237
- import { jsx as jsx127 } from "react/jsx-runtime";
11225
+ import { jsx as jsx126 } from "react/jsx-runtime";
11238
11226
  var _TabList = ({ space = 2, ...props }) => {
11239
11227
  const { classNames: classNames3 } = useTabContext();
11240
- return /* @__PURE__ */ jsx127(
11228
+ return /* @__PURE__ */ jsx126(
11241
11229
  TabList,
11242
11230
  {
11243
11231
  ...props,
@@ -11249,25 +11237,25 @@ var _TabList = ({ space = 2, ...props }) => {
11249
11237
 
11250
11238
  // src/Tabs/TabPanel.tsx
11251
11239
  import { TabPanel } from "react-aria-components";
11252
- import { jsx as jsx128 } from "react/jsx-runtime";
11240
+ import { jsx as jsx127 } from "react/jsx-runtime";
11253
11241
  var _TabPanel = (props) => {
11254
11242
  const { classNames: classNames3 } = useTabContext();
11255
- return /* @__PURE__ */ jsx128(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11243
+ return /* @__PURE__ */ jsx127(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
11256
11244
  };
11257
11245
 
11258
11246
  // src/Tabs/Tabs.tsx
11259
- import { jsx as jsx129 } from "react/jsx-runtime";
11247
+ import { jsx as jsx128 } from "react/jsx-runtime";
11260
11248
  var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
11261
11249
  const props = {
11262
11250
  isDisabled: disabled,
11263
11251
  ...rest
11264
11252
  };
11265
- const classNames3 = useClassNames71({
11253
+ const classNames3 = useClassNames70({
11266
11254
  component: "Tabs",
11267
11255
  size: size2,
11268
11256
  variant
11269
11257
  });
11270
- return /* @__PURE__ */ jsx129(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx129(Tabs, { ...props, className: classNames3.container, children: props.children }) });
11258
+ return /* @__PURE__ */ jsx128(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx128(Tabs, { ...props, className: classNames3.container, children: props.children }) });
11271
11259
  };
11272
11260
  _Tabs.List = _TabList;
11273
11261
  _Tabs.TabPanel = _TabPanel;
@@ -11279,8 +11267,8 @@ import { RouterProvider } from "react-aria-components";
11279
11267
  // src/TimeField/TimeField.tsx
11280
11268
  import { forwardRef as forwardRef35 } from "react";
11281
11269
  import { DateInput as DateInput2, DateSegment as DateSegment2, TimeField } from "react-aria-components";
11282
- import { useClassNames as useClassNames72 } from "@marigold/system";
11283
- import { jsx as jsx130 } from "react/jsx-runtime";
11270
+ import { useClassNames as useClassNames71 } from "@marigold/system";
11271
+ import { jsx as jsx129 } from "react/jsx-runtime";
11284
11272
  var _TimeField = forwardRef35(
11285
11273
  ({
11286
11274
  required,
@@ -11292,7 +11280,7 @@ var _TimeField = forwardRef35(
11292
11280
  width = "full",
11293
11281
  ...rest
11294
11282
  }, ref) => {
11295
- const classNames3 = useClassNames72({ component: "DateField", variant, size: size2 });
11283
+ const classNames3 = useClassNames71({ component: "DateField", variant, size: size2 });
11296
11284
  const props = {
11297
11285
  isDisabled: disabled,
11298
11286
  isReadOnly: readOnly,
@@ -11300,7 +11288,7 @@ var _TimeField = forwardRef35(
11300
11288
  isRequired: required,
11301
11289
  ...rest
11302
11290
  };
11303
- return /* @__PURE__ */ jsx130(
11291
+ return /* @__PURE__ */ jsx129(
11304
11292
  FieldBase,
11305
11293
  {
11306
11294
  as: TimeField,
@@ -11309,7 +11297,7 @@ var _TimeField = forwardRef35(
11309
11297
  width,
11310
11298
  ...props,
11311
11299
  ref,
11312
- children: /* @__PURE__ */ jsx130(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx130(DateSegment2, { className: classNames3.segment, segment }) })
11300
+ children: /* @__PURE__ */ jsx129(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx129(DateSegment2, { className: classNames3.segment, segment }) })
11313
11301
  }
11314
11302
  );
11315
11303
  }
@@ -11341,8 +11329,6 @@ export {
11341
11329
  _Divider as Divider,
11342
11330
  Drawer,
11343
11331
  FieldBase,
11344
- FieldGroup,
11345
- FieldGroupContext,
11346
11332
  Footer,
11347
11333
  _Form as Form,
11348
11334
  Grid,
@@ -11395,7 +11381,6 @@ export {
11395
11381
  gridColsAlign,
11396
11382
  gridColumn,
11397
11383
  useAsyncList,
11398
- useFieldGroupContext,
11399
11384
  useListData,
11400
11385
  usePortalContainer,
11401
11386
  useTheme