@marigold/components 7.5.0 → 7.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -57,7 +57,7 @@ __export(src_exports, {
57
57
  FieldGroup: () => FieldGroup,
58
58
  FieldGroupContext: () => FieldGroupContext,
59
59
  Footer: () => Footer,
60
- Form: () => import_react_aria_components20.Form,
60
+ Form: () => import_react_aria_components21.Form,
61
61
  Header: () => _Header,
62
62
  Headline: () => _Headline,
63
63
  I18nProvider: () => import_i18n2.I18nProvider,
@@ -77,6 +77,7 @@ __export(src_exports, {
77
77
  Popover: () => _Popover,
78
78
  Radio: () => _Radio,
79
79
  RadioGroup: () => _RadioGroup,
80
+ RouterProvider: () => import_react_aria_components57.RouterProvider,
80
81
  Scrollable: () => Scrollable,
81
82
  SearchField: () => _SearchField,
82
83
  Select: () => _Select,
@@ -524,7 +525,13 @@ var _FieldBase = (props, ref) => {
524
525
  Component,
525
526
  {
526
527
  ref,
527
- className: (0, import_system8.cn)("group/field", import_system8.width[width], classNames2, className),
528
+ className: (0, import_system8.cn)(
529
+ "group/field",
530
+ import_system8.width[width],
531
+ classNames2,
532
+ className,
533
+ !label && `gap-x-0`
534
+ ),
528
535
  "data-required": props.isRequired ? true : void 0,
529
536
  "data-error": props.isInvalid ? true : void 0,
530
537
  ...rest,
@@ -654,7 +661,6 @@ var SearchInput = (0, import_react9.forwardRef)(
654
661
  {
655
662
  className: className == null ? void 0 : className.action,
656
663
  onPress: () => onClear == null ? void 0 : onClear(),
657
- slot: null,
658
664
  "aria-label": stringFormatter.format("Clear search"),
659
665
  excludeFromTabOrder: true,
660
666
  preventFocusOnPress: true,
@@ -791,7 +797,7 @@ var Underlay = ({
791
797
  import_react_aria_components8.ModalOverlay,
792
798
  {
793
799
  className: ({ isEntering, isExiting }) => (0, import_system15.cn)(
794
- "fixed inset-0 z-10 flex min-h-full items-center justify-center overflow-y-auto backdrop-blur ",
800
+ "fixed inset-0 z-40 flex min-h-full items-center justify-center overflow-y-auto backdrop-blur ",
795
801
  isEntering ? "animate-in fade-in duration-300 ease-out" : "",
796
802
  isExiting ? "animate-out fade-out duration-200 ease-in" : "",
797
803
  classNames2
@@ -1103,9 +1109,23 @@ var Center = ({
1103
1109
  // src/Checkbox/Checkbox.tsx
1104
1110
  var import_react18 = require("react");
1105
1111
  var import_react_aria_components13 = require("react-aria-components");
1112
+ var import_react_aria_components14 = require("react-aria-components");
1113
+ var import_system25 = require("@marigold/system");
1114
+
1115
+ // src/Checkbox/CheckBoxField.tsx
1106
1116
  var import_system24 = require("@marigold/system");
1107
1117
  var import_jsx_runtime27 = require("react/jsx-runtime");
1108
- var CheckMark = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { viewBox: "0 0 12 10", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1118
+ var CheckboxField = ({ children, labelWidth }) => {
1119
+ const classNames2 = (0, import_system24.useClassNames)({ component: "Field" });
1120
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: classNames2, children: [
1121
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-[--labelWidth]", style: (0, import_system24.createVar)({ labelWidth }) }),
1122
+ children
1123
+ ] });
1124
+ };
1125
+
1126
+ // src/Checkbox/Checkbox.tsx
1127
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1128
+ var CheckMark = () => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("svg", { viewBox: "0 0 12 10", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1109
1129
  "path",
1110
1130
  {
1111
1131
  fill: "currentColor",
@@ -1113,7 +1133,7 @@ var CheckMark = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { vie
1113
1133
  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"
1114
1134
  }
1115
1135
  ) });
1116
- var IndeterminateMark = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg", { width: "12", height: "3", viewBox: "0 0 12 3", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1136
+ var IndeterminateMark = () => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("svg", { width: "12", height: "3", viewBox: "0 0 12 3", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1117
1137
  "path",
1118
1138
  {
1119
1139
  fill: "currentColor",
@@ -1122,11 +1142,11 @@ var IndeterminateMark = () => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("svg
1122
1142
  }
1123
1143
  ) });
1124
1144
  var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1125
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1145
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1126
1146
  "div",
1127
1147
  {
1128
1148
  "aria-hidden": "true",
1129
- className: (0, import_system24.cn)(
1149
+ className: (0, import_system25.cn)(
1130
1150
  "flex shrink-0 grow-0 basis-4 items-center justify-center",
1131
1151
  "h-4 w-4 p-px",
1132
1152
  "bg-white",
@@ -1134,7 +1154,7 @@ var Icon2 = ({ className, checked, indeterminate, ...props }) => {
1134
1154
  className
1135
1155
  ),
1136
1156
  ...props,
1137
- children: indeterminate ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(IndeterminateMark, {}) : checked ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CheckMark, {}) : null
1157
+ children: indeterminate ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(IndeterminateMark, {}) : checked ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CheckMark, {}) : null
1138
1158
  }
1139
1159
  );
1140
1160
  };
@@ -1163,19 +1183,21 @@ var _Checkbox = (0, import_react18.forwardRef)(
1163
1183
  defaultSelected: defaultChecked,
1164
1184
  ...rest
1165
1185
  };
1166
- const classNames2 = (0, import_system24.useClassNames)({ component: "Checkbox", variant, size });
1167
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1186
+ const { labelWidth } = useFieldGroupContext();
1187
+ const classNames2 = (0, import_system25.useClassNames)({ component: "Checkbox", variant, size });
1188
+ const state = (0, import_react18.useContext)(import_react_aria_components14.CheckboxGroupStateContext);
1189
+ const component = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1168
1190
  import_react_aria_components13.Checkbox,
1169
1191
  {
1170
1192
  ref,
1171
- className: (0, import_system24.cn)(
1193
+ className: (0, import_system25.cn)(
1172
1194
  "group/checkbox flex items-center gap-[0.5rem]",
1173
1195
  "cursor-pointer data-[disabled]:cursor-not-allowed",
1174
1196
  classNames2.container
1175
1197
  ),
1176
1198
  ...props,
1177
- children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
1178
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1199
+ children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
1200
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1179
1201
  Icon2,
1180
1202
  {
1181
1203
  checked: isSelected,
@@ -1183,17 +1205,26 @@ var _Checkbox = (0, import_react18.forwardRef)(
1183
1205
  className: classNames2.checkbox
1184
1206
  }
1185
1207
  ),
1186
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: classNames2.label, children })
1208
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: classNames2.label, children })
1187
1209
  ] })
1188
1210
  }
1189
1211
  );
1212
+ return !state && labelWidth ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CheckboxField, { labelWidth, children: component }) : component;
1190
1213
  }
1191
1214
  );
1192
1215
 
1193
1216
  // src/Checkbox/CheckboxGroup.tsx
1194
- var import_react_aria_components14 = require("react-aria-components");
1195
- var import_system25 = require("@marigold/system");
1196
- var import_jsx_runtime28 = require("react/jsx-runtime");
1217
+ var import_react_aria_components15 = require("react-aria-components");
1218
+ var import_system26 = require("@marigold/system");
1219
+
1220
+ // src/Checkbox/Context.tsx
1221
+ var import_react19 = require("react");
1222
+ var CheckboxGroupContext = (0, import_react19.createContext)(
1223
+ null
1224
+ );
1225
+
1226
+ // src/Checkbox/CheckboxGroup.tsx
1227
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1197
1228
  var _CheckboxGroup = ({
1198
1229
  children,
1199
1230
  variant,
@@ -1202,13 +1233,15 @@ var _CheckboxGroup = ({
1202
1233
  disabled,
1203
1234
  readOnly,
1204
1235
  error,
1236
+ width,
1237
+ orientation = "vertical",
1205
1238
  ...rest
1206
1239
  }) => {
1207
- const classNames2 = (0, import_system25.useClassNames)({
1240
+ const classNames2 = (0, import_system26.useClassNames)({
1208
1241
  component: "Checkbox",
1209
1242
  variant,
1210
1243
  size,
1211
- className: { group: "flex flex-col items-start gap-[0.5ch]" }
1244
+ className: { group: "gap-x-2" }
1212
1245
  });
1213
1246
  const props = {
1214
1247
  className: classNames2.group,
@@ -1218,13 +1251,25 @@ var _CheckboxGroup = ({
1218
1251
  isInvalid: error,
1219
1252
  ...rest
1220
1253
  };
1221
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(FieldBase, { as: import_react_aria_components14.CheckboxGroup, ...props, children });
1254
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FieldBase, { as: import_react_aria_components15.CheckboxGroup, width, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1255
+ "div",
1256
+ {
1257
+ role: "presentation",
1258
+ "data-orientation": orientation,
1259
+ className: (0, import_system26.cn)(
1260
+ classNames2.group,
1261
+ "flex items-start",
1262
+ orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
1263
+ ),
1264
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CheckboxGroupContext.Provider, { value: { width, variant, size }, children })
1265
+ }
1266
+ ) });
1222
1267
  };
1223
1268
 
1224
1269
  // src/Columns/Columns.tsx
1225
- var import_react19 = require("react");
1226
- var import_system26 = require("@marigold/system");
1227
- var import_jsx_runtime29 = require("react/jsx-runtime");
1270
+ var import_react20 = require("react");
1271
+ var import_system27 = require("@marigold/system");
1272
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1228
1273
  var Columns = ({
1229
1274
  space = 0,
1230
1275
  columns,
@@ -1233,29 +1278,33 @@ var Columns = ({
1233
1278
  children,
1234
1279
  ...props
1235
1280
  }) => {
1236
- if (import_react19.Children.count(children) !== columns.length) {
1281
+ if (import_react20.Children.count(children) !== columns.length) {
1237
1282
  throw new Error(
1238
- `Columns: expected ${columns.length} children, got ${import_react19.Children.count(
1283
+ `Columns: expected ${columns.length} children, got ${import_react20.Children.count(
1239
1284
  children
1240
1285
  )}`
1241
1286
  );
1242
1287
  }
1243
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1288
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1244
1289
  "div",
1245
1290
  {
1246
- className: (0, import_system26.cn)(
1291
+ className: (0, import_system27.cn)(
1247
1292
  "flex flex-wrap items-stretch",
1248
1293
  stretch && "h-full",
1249
- import_system26.gapSpace[space]
1294
+ import_system27.gapSpace[space]
1250
1295
  ),
1251
1296
  ...props,
1252
- children: import_react19.Children.map(children, (child, idx) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1297
+ children: import_react20.Children.map(children, (child, idx) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1253
1298
  "div",
1254
1299
  {
1255
- className: (0, import_system26.cn)(
1256
- "grow-[--columnSize] basis-[calc((var(--collapseAt)_-_100%)_*_999)]"
1300
+ className: (0, import_system27.cn)(
1301
+ columns[idx] === "fit" ? "flex h-fit w-fit" : "flex-[--columnSize]",
1302
+ "basis-[calc((var(--collapseAt)_-_100%)_*_999)]"
1257
1303
  ),
1258
- style: (0, import_system26.createVar)({ collapseAt, columnSize: columns[idx] }),
1304
+ style: (0, import_system27.createVar)({
1305
+ collapseAt,
1306
+ columnSize: columns[idx]
1307
+ }),
1259
1308
  children: child
1260
1309
  }
1261
1310
  ))
@@ -1264,8 +1313,8 @@ var Columns = ({
1264
1313
  };
1265
1314
 
1266
1315
  // src/Container/Container.tsx
1267
- var import_system27 = require("@marigold/system");
1268
- var import_jsx_runtime30 = require("react/jsx-runtime");
1316
+ var import_system28 = require("@marigold/system");
1317
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1269
1318
  var content = {
1270
1319
  small: "20ch",
1271
1320
  medium: "45ch",
@@ -1285,31 +1334,31 @@ var Container = ({
1285
1334
  ...props
1286
1335
  }) => {
1287
1336
  const maxWidth = contentType === "content" ? content[size] : header[size];
1288
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1337
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1289
1338
  "div",
1290
1339
  {
1291
1340
  ...props,
1292
- className: (0, import_system27.cn)(
1341
+ className: (0, import_system28.cn)(
1293
1342
  "grid",
1294
- import_system27.placeItems[alignItems],
1295
- import_system27.gridColsAlign[align],
1296
- import_system27.gridColumn[align]
1343
+ import_system28.placeItems[alignItems],
1344
+ import_system28.gridColsAlign[align],
1345
+ import_system28.gridColumn[align]
1297
1346
  ),
1298
- style: (0, import_system27.createVar)({ maxWidth }),
1347
+ style: (0, import_system28.createVar)({ maxWidth }),
1299
1348
  children
1300
1349
  }
1301
1350
  );
1302
1351
  };
1303
1352
 
1304
1353
  // src/Dialog/Dialog.tsx
1305
- var import_react22 = require("react");
1306
- var import_react_aria_components18 = require("react-aria-components");
1307
- var import_system29 = require("@marigold/system");
1354
+ var import_react23 = require("react");
1355
+ var import_react_aria_components19 = require("react-aria-components");
1356
+ var import_system30 = require("@marigold/system");
1308
1357
 
1309
1358
  // src/Headline/Headline.tsx
1310
- var import_react_aria_components15 = require("react-aria-components");
1311
- var import_system28 = require("@marigold/system");
1312
- var import_jsx_runtime31 = require("react/jsx-runtime");
1359
+ var import_react_aria_components16 = require("react-aria-components");
1360
+ var import_system29 = require("@marigold/system");
1361
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1313
1362
  var _Headline = ({
1314
1363
  variant,
1315
1364
  size,
@@ -1319,20 +1368,20 @@ var _Headline = ({
1319
1368
  level = 1,
1320
1369
  ...props
1321
1370
  }) => {
1322
- const theme = (0, import_system28.useTheme)();
1323
- const classNames2 = (0, import_system28.useClassNames)({
1371
+ const theme = (0, import_system29.useTheme)();
1372
+ const classNames2 = (0, import_system29.useClassNames)({
1324
1373
  component: "Headline",
1325
1374
  variant,
1326
1375
  size: size != null ? size : `level-${level}`
1327
1376
  });
1328
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1329
- import_react_aria_components15.Heading,
1377
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1378
+ import_react_aria_components16.Heading,
1330
1379
  {
1331
1380
  level: Number(level),
1332
1381
  ...props,
1333
- className: (0, import_system28.cn)(classNames2, "text-[--color]", import_system28.textAlign[align]),
1334
- style: (0, import_system28.createVar)({
1335
- color: color && (0, import_system28.getColor)(
1382
+ className: (0, import_system29.cn)(classNames2, "text-[--color]", import_system29.textAlign[align]),
1383
+ style: (0, import_system29.createVar)({
1384
+ color: color && (0, import_system29.getColor)(
1336
1385
  theme,
1337
1386
  color,
1338
1387
  color
@@ -1345,34 +1394,34 @@ var _Headline = ({
1345
1394
  };
1346
1395
 
1347
1396
  // src/Dialog/DialogTrigger.tsx
1348
- var import_react21 = require("react");
1349
- var import_react_aria_components17 = require("react-aria-components");
1397
+ var import_react22 = require("react");
1398
+ var import_react_aria_components18 = require("react-aria-components");
1350
1399
 
1351
1400
  // src/Overlay/Modal.tsx
1352
- var import_react20 = require("react");
1353
- var import_react_aria_components16 = require("react-aria-components");
1354
- var import_jsx_runtime32 = require("react/jsx-runtime");
1355
- var _Modal = (0, import_react20.forwardRef)(({ open, dismissable, keyboardDismissable, ...rest }, ref) => {
1401
+ var import_react21 = require("react");
1402
+ var import_react_aria_components17 = require("react-aria-components");
1403
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1404
+ var _Modal = (0, import_react21.forwardRef)(({ open, dismissable, keyboardDismissable, ...rest }, ref) => {
1356
1405
  const props = {
1357
1406
  isOpen: open,
1358
1407
  isDismissable: dismissable,
1359
1408
  isKeyboardDismissDisabled: keyboardDismissable,
1360
1409
  ...rest
1361
1410
  };
1362
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1411
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1363
1412
  Underlay,
1364
1413
  {
1365
1414
  dismissable,
1366
1415
  keyboardDismissable,
1367
1416
  open,
1368
1417
  variant: "modal",
1369
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_aria_components16.Modal, { ref, ...props, children: props.children })
1418
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_aria_components17.Modal, { ref, ...props, children: props.children })
1370
1419
  }
1371
1420
  );
1372
1421
  });
1373
1422
 
1374
1423
  // src/Dialog/DialogTrigger.tsx
1375
- var import_jsx_runtime33 = require("react/jsx-runtime");
1424
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1376
1425
  var _DialogTrigger = ({
1377
1426
  open,
1378
1427
  dismissable,
@@ -1384,15 +1433,15 @@ var _DialogTrigger = ({
1384
1433
  isOpen: open,
1385
1434
  ...rest
1386
1435
  };
1387
- const children = import_react21.Children.toArray(props.children);
1436
+ const children = import_react22.Children.toArray(props.children);
1388
1437
  const [dialogTrigger, dialog] = children;
1389
1438
  const hasDialogTrigger = dialogTrigger.type !== _Dialog;
1390
1439
  const currentDialog = children.length < 2 ? !hasDialogTrigger && dialogTrigger : dialog;
1391
1440
  if (isNonModal)
1392
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_aria_components17.DialogTrigger, { ...props, children: props.children });
1393
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react_aria_components17.DialogTrigger, { ...props, children: [
1441
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_aria_components18.DialogTrigger, { ...props, children: props.children });
1442
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react_aria_components18.DialogTrigger, { ...props, children: [
1394
1443
  hasDialogTrigger && dialogTrigger,
1395
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1444
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1396
1445
  _Modal,
1397
1446
  {
1398
1447
  dismissable,
@@ -1404,18 +1453,18 @@ var _DialogTrigger = ({
1404
1453
  };
1405
1454
 
1406
1455
  // src/Dialog/Dialog.tsx
1407
- var import_jsx_runtime34 = require("react/jsx-runtime");
1456
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1408
1457
  var CloseButton = ({ className }) => {
1409
- const { close } = (0, import_react22.useContext)(import_react_aria_components18.OverlayTriggerStateContext);
1410
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1458
+ const { close } = (0, import_react23.useContext)(import_react_aria_components19.OverlayTriggerStateContext);
1459
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1411
1460
  "button",
1412
1461
  {
1413
- className: (0, import_system29.cn)(
1462
+ className: (0, import_system30.cn)(
1414
1463
  "h-4 w-4 cursor-pointer border-none p-0 leading-normal outline-0",
1415
1464
  className
1416
1465
  ),
1417
1466
  onClick: close,
1418
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1467
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1419
1468
  "path",
1420
1469
  {
1421
1470
  fillRule: "evenodd",
@@ -1426,7 +1475,7 @@ var CloseButton = ({ className }) => {
1426
1475
  }
1427
1476
  ) });
1428
1477
  };
1429
- var DialogHeadline = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(_Headline, { slot: "title", children });
1478
+ var DialogHeadline = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(_Headline, { slot: "title", children });
1430
1479
  var _Dialog = ({
1431
1480
  variant,
1432
1481
  size,
@@ -1434,8 +1483,8 @@ var _Dialog = ({
1434
1483
  isNonModal,
1435
1484
  ...props
1436
1485
  }) => {
1437
- const classNames2 = (0, import_system29.useClassNames)({ component: "Dialog", variant, size });
1438
- let state = (0, import_react22.useContext)(import_react_aria_components18.OverlayTriggerStateContext);
1486
+ const classNames2 = (0, import_system30.useClassNames)({ component: "Dialog", variant, size });
1487
+ let state = (0, import_react23.useContext)(import_react_aria_components19.OverlayTriggerStateContext);
1439
1488
  let children = props.children;
1440
1489
  if (typeof children === "function") {
1441
1490
  children = children({
@@ -1443,13 +1492,13 @@ var _Dialog = ({
1443
1492
  })
1444
1493
  });
1445
1494
  }
1446
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1447
- import_react_aria_components18.Dialog,
1495
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1496
+ import_react_aria_components19.Dialog,
1448
1497
  {
1449
1498
  ...props,
1450
- className: (0, import_system29.cn)("relative outline-none", classNames2.container),
1451
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
1452
- closeButton && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CloseButton, { className: classNames2.closeButton }),
1499
+ className: (0, import_system30.cn)("relative outline-none", classNames2.container),
1500
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
1501
+ closeButton && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CloseButton, { className: classNames2.closeButton }),
1453
1502
  children
1454
1503
  ] })
1455
1504
  }
@@ -1459,41 +1508,41 @@ _Dialog.Trigger = _DialogTrigger;
1459
1508
  _Dialog.Headline = DialogHeadline;
1460
1509
 
1461
1510
  // src/Divider/Divider.tsx
1462
- var import_react_aria_components19 = require("react-aria-components");
1463
- var import_system30 = require("@marigold/system");
1464
- var import_jsx_runtime35 = require("react/jsx-runtime");
1511
+ var import_react_aria_components20 = require("react-aria-components");
1512
+ var import_system31 = require("@marigold/system");
1513
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1465
1514
  var _Divider = ({ variant, ...props }) => {
1466
- const classNames2 = (0, import_system30.useClassNames)({ component: "Divider", variant });
1467
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_aria_components19.Separator, { className: classNames2, ...props });
1515
+ const classNames2 = (0, import_system31.useClassNames)({ component: "Divider", variant });
1516
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_aria_components20.Separator, { className: classNames2, ...props });
1468
1517
  };
1469
1518
 
1470
1519
  // src/Footer/Footer.tsx
1471
- var import_system31 = require("@marigold/system");
1472
- var import_jsx_runtime36 = require("react/jsx-runtime");
1520
+ var import_system32 = require("@marigold/system");
1521
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1473
1522
  var Footer = ({ children, variant, size, ...props }) => {
1474
- const classNames2 = (0, import_system31.useClassNames)({ component: "Footer", variant, size });
1475
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("footer", { ...props, className: classNames2, children });
1523
+ const classNames2 = (0, import_system32.useClassNames)({ component: "Footer", variant, size });
1524
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("footer", { ...props, className: classNames2, children });
1476
1525
  };
1477
1526
 
1478
1527
  // src/Form/Form.tsx
1479
- var import_react_aria_components20 = require("react-aria-components");
1528
+ var import_react_aria_components21 = require("react-aria-components");
1480
1529
 
1481
1530
  // src/Header/Header.tsx
1482
- var import_react_aria_components21 = require("react-aria-components");
1483
- var import_system32 = require("@marigold/system");
1484
- var import_jsx_runtime37 = require("react/jsx-runtime");
1531
+ var import_react_aria_components22 = require("react-aria-components");
1532
+ var import_system33 = require("@marigold/system");
1533
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1485
1534
  var _Header = ({ variant, size, ...props }) => {
1486
- const classNames2 = (0, import_system32.useClassNames)({
1535
+ const classNames2 = (0, import_system33.useClassNames)({
1487
1536
  component: "Header",
1488
1537
  variant,
1489
1538
  size
1490
1539
  });
1491
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_aria_components21.Header, { className: classNames2, ...props, children: props.children });
1540
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_aria_components22.Header, { className: classNames2, ...props, children: props.children });
1492
1541
  };
1493
1542
 
1494
1543
  // src/Image/Image.tsx
1495
- var import_system33 = require("@marigold/system");
1496
- var import_jsx_runtime38 = require("react/jsx-runtime");
1544
+ var import_system34 = require("@marigold/system");
1545
+ var import_jsx_runtime39 = require("react/jsx-runtime");
1497
1546
  var Image = ({
1498
1547
  variant,
1499
1548
  size,
@@ -1501,25 +1550,25 @@ var Image = ({
1501
1550
  position = "none",
1502
1551
  ...props
1503
1552
  }) => {
1504
- const classNames2 = (0, import_system33.useClassNames)({ component: "Image", variant, size });
1505
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1553
+ const classNames2 = (0, import_system34.useClassNames)({ component: "Image", variant, size });
1554
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1506
1555
  "img",
1507
1556
  {
1508
1557
  ...props,
1509
1558
  alt: props.alt,
1510
- className: (0, import_system33.cn)(
1559
+ className: (0, import_system34.cn)(
1511
1560
  fit !== "none" && "h-full w-full",
1512
1561
  classNames2,
1513
- import_system33.objectFit[fit],
1514
- import_system33.objectPosition[position]
1562
+ import_system34.objectFit[fit],
1563
+ import_system34.objectPosition[position]
1515
1564
  )
1516
1565
  }
1517
1566
  );
1518
1567
  };
1519
1568
 
1520
1569
  // src/Inline/Inline.tsx
1521
- var import_system34 = require("@marigold/system");
1522
- var import_jsx_runtime39 = require("react/jsx-runtime");
1570
+ var import_system35 = require("@marigold/system");
1571
+ var import_jsx_runtime40 = require("react/jsx-runtime");
1523
1572
  var Inline = ({
1524
1573
  space = 0,
1525
1574
  orientation,
@@ -1529,15 +1578,15 @@ var Inline = ({
1529
1578
  ...props
1530
1579
  }) => {
1531
1580
  var _a2, _b2, _c, _d;
1532
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1581
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1533
1582
  "div",
1534
1583
  {
1535
1584
  ...props,
1536
- className: (0, import_system34.cn)(
1585
+ className: (0, import_system35.cn)(
1537
1586
  "flex flex-wrap",
1538
- import_system34.gapSpace[space],
1539
- alignX && ((_b2 = (_a2 = import_system34.alignment) == null ? void 0 : _a2.horizontal) == null ? void 0 : _b2.alignmentX[alignX]),
1540
- alignY && ((_d = (_c = import_system34.alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
1587
+ import_system35.gapSpace[space],
1588
+ alignX && ((_b2 = (_a2 = import_system35.alignment) == null ? void 0 : _a2.horizontal) == null ? void 0 : _b2.alignmentX[alignX]),
1589
+ alignY && ((_d = (_c = import_system35.alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
1541
1590
  ),
1542
1591
  children
1543
1592
  }
@@ -1545,51 +1594,51 @@ var Inline = ({
1545
1594
  };
1546
1595
 
1547
1596
  // src/DateField/DateField.tsx
1548
- var import_react23 = require("react");
1549
- var import_react_aria_components24 = require("react-aria-components");
1597
+ var import_react24 = require("react");
1598
+ var import_react_aria_components25 = require("react-aria-components");
1550
1599
 
1551
1600
  // src/DateField/DateInput.tsx
1552
- var import_react_aria_components23 = require("react-aria-components");
1553
- var import_system36 = require("@marigold/system");
1601
+ var import_react_aria_components24 = require("react-aria-components");
1602
+ var import_system37 = require("@marigold/system");
1554
1603
 
1555
1604
  // src/DateField/DateSegment.tsx
1556
- var import_react_aria_components22 = require("react-aria-components");
1557
- var import_system35 = require("@marigold/system");
1558
- var import_jsx_runtime40 = require("react/jsx-runtime");
1605
+ var import_react_aria_components23 = require("react-aria-components");
1606
+ var import_system36 = require("@marigold/system");
1607
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1559
1608
  var _DateSegment = ({ segment, ...props }) => {
1560
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1561
- import_react_aria_components22.DateSegment,
1609
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1610
+ import_react_aria_components23.DateSegment,
1562
1611
  {
1563
1612
  ...props,
1564
1613
  segment,
1565
1614
  style: {
1566
1615
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
1567
1616
  },
1568
- children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
1569
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1617
+ children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
1618
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1570
1619
  "span",
1571
1620
  {
1572
1621
  "aria-hidden": "true",
1573
- className: (0, import_system35.cn)(
1622
+ className: (0, import_system36.cn)(
1574
1623
  isPlaceholder ? "visible block" : "invisible hidden",
1575
1624
  "pointer-events-none w-full text-center"
1576
1625
  ),
1577
1626
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
1578
1627
  }
1579
1628
  ),
1580
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1629
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1581
1630
  ] })
1582
1631
  }
1583
1632
  );
1584
1633
  };
1585
1634
 
1586
1635
  // src/DateField/DateInput.tsx
1587
- var import_jsx_runtime41 = require("react/jsx-runtime");
1636
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1588
1637
  var _DateInput = ({ variant, size, action, ...props }) => {
1589
- const classNames2 = (0, import_system36.useClassNames)({ component: "DateField", variant, size });
1590
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_react_aria_components23.Group, { className: classNames2.field, children: [
1591
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_aria_components23.DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(_DateSegment, { className: classNames2.segment, segment }) }),
1592
- action ? action : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1638
+ const classNames2 = (0, import_system37.useClassNames)({ component: "DateField", variant, size });
1639
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_react_aria_components24.Group, { className: classNames2.field, children: [
1640
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_aria_components24.DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(_DateSegment, { className: classNames2.segment, segment }) }),
1641
+ action ? action : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1593
1642
  "svg",
1594
1643
  {
1595
1644
  "data-testid": "action",
@@ -1597,15 +1646,15 @@ var _DateInput = ({ variant, size, action, ...props }) => {
1597
1646
  viewBox: "0 0 24 24",
1598
1647
  width: 24,
1599
1648
  height: 24,
1600
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("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" })
1649
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("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" })
1601
1650
  }
1602
1651
  ) })
1603
1652
  ] });
1604
1653
  };
1605
1654
 
1606
1655
  // src/DateField/DateField.tsx
1607
- var import_jsx_runtime42 = require("react/jsx-runtime");
1608
- var _DateField = (0, import_react23.forwardRef)(
1656
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1657
+ var _DateField = (0, import_react24.forwardRef)(
1609
1658
  ({
1610
1659
  variant,
1611
1660
  size,
@@ -1623,46 +1672,46 @@ var _DateField = (0, import_react23.forwardRef)(
1623
1672
  isRequired: required,
1624
1673
  ...rest
1625
1674
  };
1626
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1675
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1627
1676
  FieldBase,
1628
1677
  {
1629
- as: import_react_aria_components24.DateField,
1678
+ as: import_react_aria_components25.DateField,
1630
1679
  variant,
1631
1680
  size,
1632
1681
  ref,
1633
1682
  ...props,
1634
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(_DateInput, { action })
1683
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(_DateInput, { action })
1635
1684
  }
1636
1685
  );
1637
1686
  }
1638
1687
  );
1639
1688
 
1640
1689
  // src/Calendar/Calendar.tsx
1641
- var import_react28 = require("react");
1642
- var import_react_aria_components31 = require("react-aria-components");
1643
- var import_system41 = require("@marigold/system");
1690
+ var import_react29 = require("react");
1691
+ var import_react_aria_components32 = require("react-aria-components");
1692
+ var import_system42 = require("@marigold/system");
1644
1693
 
1645
1694
  // src/Calendar/CalendarGrid.tsx
1646
- var import_react_aria_components26 = require("react-aria-components");
1647
- var import_system38 = require("@marigold/system");
1695
+ var import_react_aria_components27 = require("react-aria-components");
1696
+ var import_system39 = require("@marigold/system");
1648
1697
 
1649
1698
  // src/Calendar/CalendarGridHeader.tsx
1650
1699
  var import_date = require("@internationalized/date");
1651
- var import_react24 = require("react");
1652
- var import_react_aria_components25 = require("react-aria-components");
1700
+ var import_react25 = require("react");
1701
+ var import_react_aria_components26 = require("react-aria-components");
1653
1702
  var import_calendar = require("@react-aria/calendar");
1654
1703
  var import_i18n3 = require("@react-aria/i18n");
1655
- var import_system37 = require("@marigold/system");
1656
- var import_jsx_runtime43 = require("react/jsx-runtime");
1704
+ var import_system38 = require("@marigold/system");
1705
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1657
1706
  function CalendarGridHeader(props) {
1658
- const state = (0, import_react24.useContext)(import_react_aria_components25.CalendarStateContext);
1707
+ const state = (0, import_react25.useContext)(import_react_aria_components26.CalendarStateContext);
1659
1708
  const { headerProps } = (0, import_calendar.useCalendarGrid)(props, state);
1660
1709
  const { locale } = (0, import_i18n3.useLocale)();
1661
1710
  const dayFormatter = (0, import_i18n3.useDateFormatter)({
1662
1711
  weekday: "short",
1663
1712
  timeZone: state.timeZone
1664
1713
  });
1665
- const weekDays = (0, import_react24.useMemo)(() => {
1714
+ const weekDays = (0, import_react25.useMemo)(() => {
1666
1715
  const weekStart = (0, import_date.startOfWeek)((0, import_date.today)(state.timeZone), locale);
1667
1716
  return [...new Array(7).keys()].map((index) => {
1668
1717
  const date = weekStart.add({ days: index });
@@ -1670,21 +1719,21 @@ function CalendarGridHeader(props) {
1670
1719
  return dayFormatter.format(dateDay);
1671
1720
  });
1672
1721
  }, [locale, state.timeZone, dayFormatter]);
1673
- const classNames2 = (0, import_system37.useClassNames)({ component: "Calendar" });
1674
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1722
+ const classNames2 = (0, import_system38.useClassNames)({ component: "Calendar" });
1723
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1675
1724
  }
1676
1725
 
1677
1726
  // src/Calendar/CalendarGrid.tsx
1678
- var import_jsx_runtime44 = require("react/jsx-runtime");
1727
+ var import_jsx_runtime45 = require("react/jsx-runtime");
1679
1728
  var _CalendarGrid = () => {
1680
- const classNames2 = (0, import_system38.useClassNames)({ component: "Calendar" });
1681
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_react_aria_components26.CalendarGrid, { className: classNames2.calendarGrid, children: [
1682
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CalendarGridHeader, {}),
1683
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_aria_components26.CalendarGridBody, { children: (date) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1684
- import_react_aria_components26.CalendarCell,
1729
+ const classNames2 = (0, import_system39.useClassNames)({ component: "Calendar" });
1730
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_react_aria_components27.CalendarGrid, { className: classNames2.calendarGrid, children: [
1731
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarGridHeader, {}),
1732
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_aria_components27.CalendarGridBody, { children: (date) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1733
+ import_react_aria_components27.CalendarCell,
1685
1734
  {
1686
1735
  date,
1687
- className: (0, import_system38.cn)(
1736
+ className: (0, import_system39.cn)(
1688
1737
  "flex h-[30px] w-[30px] cursor-pointer items-center justify-center rounded-full p-[5.3px] text-sm font-normal aria-disabled:cursor-default",
1689
1738
  classNames2.calendarCell
1690
1739
  )
@@ -1694,10 +1743,10 @@ var _CalendarGrid = () => {
1694
1743
  };
1695
1744
 
1696
1745
  // src/Calendar/CalendarListBox.tsx
1697
- var import_react25 = require("react");
1698
- var import_react_aria_components27 = require("react-aria-components");
1746
+ var import_react26 = require("react");
1747
+ var import_react_aria_components28 = require("react-aria-components");
1699
1748
  var import_icons = require("@marigold/icons");
1700
- var import_system39 = require("@marigold/system");
1749
+ var import_system40 = require("@marigold/system");
1701
1750
 
1702
1751
  // src/Calendar/useFormattedMonths.tsx
1703
1752
  var import_i18n4 = require("@react-aria/i18n");
@@ -1716,67 +1765,67 @@ function useFormattedMonths(timeZone, focusedDate) {
1716
1765
  }
1717
1766
 
1718
1767
  // src/Calendar/CalendarListBox.tsx
1719
- var import_jsx_runtime45 = require("react/jsx-runtime");
1768
+ var import_jsx_runtime46 = require("react/jsx-runtime");
1720
1769
  function CalendarListBox({
1721
1770
  type,
1722
1771
  isDisabled,
1723
1772
  setSelectedDropdown
1724
1773
  }) {
1725
- const state = (0, import_react25.useContext)(import_react_aria_components27.CalendarStateContext);
1774
+ const state = (0, import_react26.useContext)(import_react_aria_components28.CalendarStateContext);
1726
1775
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
1727
1776
  const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
1728
- const { select: selectClassNames } = (0, import_system39.useClassNames)({ component: "Select" });
1729
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
1777
+ const { select: selectClassNames } = (0, import_system40.useClassNames)({ component: "Select" });
1778
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
1730
1779
  "button",
1731
1780
  {
1732
1781
  disabled: isDisabled,
1733
1782
  onClick: () => setSelectedDropdown(type),
1734
- className: (0, import_system39.cn)(buttonStyles, selectClassNames),
1783
+ className: (0, import_system40.cn)(buttonStyles, selectClassNames),
1735
1784
  "data-testid": type,
1736
1785
  children: [
1737
1786
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
1738
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_icons.ChevronDown, {})
1787
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons.ChevronDown, {})
1739
1788
  ]
1740
1789
  }
1741
1790
  );
1742
1791
  }
1743
1792
 
1744
1793
  // src/Calendar/MonthControls.tsx
1745
- var import_react_aria_components28 = require("react-aria-components");
1794
+ var import_react_aria_components29 = require("react-aria-components");
1746
1795
  var import_icons2 = require("@marigold/icons");
1747
- var import_system40 = require("@marigold/system");
1748
- var import_jsx_runtime46 = require("react/jsx-runtime");
1796
+ var import_system41 = require("@marigold/system");
1797
+ var import_jsx_runtime47 = require("react/jsx-runtime");
1749
1798
  function MonthControls() {
1750
- const classNames2 = (0, import_system40.useClassNames)({ component: "Calendar" });
1751
- const buttonClassNames = (0, import_system40.useClassNames)({ component: "Button" });
1752
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
1799
+ const classNames2 = (0, import_system41.useClassNames)({ component: "Calendar" });
1800
+ const buttonClassNames = (0, import_system41.useClassNames)({ component: "Button" });
1801
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
1753
1802
  "div",
1754
1803
  {
1755
- className: (0, import_system40.cn)(
1804
+ className: (0, import_system41.cn)(
1756
1805
  "flex w-full flex-nowrap justify-end gap-[10px] [&_button:disabled]:cursor-not-allowed [&_button]:px-2 [&_button]:py-1",
1757
1806
  classNames2.calendarControllers
1758
1807
  ),
1759
1808
  children: [
1760
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1761
- import_react_aria_components28.Button,
1809
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1810
+ import_react_aria_components29.Button,
1762
1811
  {
1763
- className: (0, import_system40.cn)(
1812
+ className: (0, import_system41.cn)(
1764
1813
  "inline-flex items-center justify-center gap-[0.5ch]",
1765
1814
  buttonClassNames
1766
1815
  ),
1767
1816
  slot: "previous",
1768
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons2.ChevronLeft, {})
1817
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_icons2.ChevronLeft, {})
1769
1818
  }
1770
1819
  ),
1771
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1772
- import_react_aria_components28.Button,
1820
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1821
+ import_react_aria_components29.Button,
1773
1822
  {
1774
- className: (0, import_system40.cn)(
1823
+ className: (0, import_system41.cn)(
1775
1824
  "inline-flex items-center justify-center gap-[0.5ch]",
1776
1825
  buttonClassNames
1777
1826
  ),
1778
1827
  slot: "next",
1779
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons2.ChevronRight, {})
1828
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_icons2.ChevronRight, {})
1780
1829
  }
1781
1830
  )
1782
1831
  ]
@@ -1786,24 +1835,24 @@ function MonthControls() {
1786
1835
  var MonthControls_default = MonthControls;
1787
1836
 
1788
1837
  // src/Calendar/MonthListBox.tsx
1789
- var import_react26 = require("react");
1790
- var import_react_aria_components29 = require("react-aria-components");
1791
- var import_jsx_runtime47 = require("react/jsx-runtime");
1838
+ var import_react27 = require("react");
1839
+ var import_react_aria_components30 = require("react-aria-components");
1840
+ var import_jsx_runtime48 = require("react/jsx-runtime");
1792
1841
  var MonthListBox = ({ setSelectedDropdown }) => {
1793
- const state = (0, import_react26.useContext)(import_react_aria_components29.CalendarStateContext);
1842
+ const state = (0, import_react27.useContext)(import_react_aria_components30.CalendarStateContext);
1794
1843
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
1795
1844
  let onChange = (index) => {
1796
1845
  let value = Number(index) + 1;
1797
1846
  let date = state.focusedDate.set({ month: value });
1798
1847
  state.setFocusedDate(date);
1799
1848
  };
1800
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1849
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1801
1850
  "ul",
1802
1851
  {
1803
1852
  "data-testid": "monthOptions",
1804
1853
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1805
1854
  children: months.map((month, index) => {
1806
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1855
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1807
1856
  _Button,
1808
1857
  {
1809
1858
  slot: "previous",
@@ -1824,12 +1873,12 @@ var MonthListBox = ({ setSelectedDropdown }) => {
1824
1873
  var MonthListBox_default = MonthListBox;
1825
1874
 
1826
1875
  // src/Calendar/YearListBox.tsx
1827
- var import_react27 = require("react");
1828
- var import_react_aria_components30 = require("react-aria-components");
1876
+ var import_react28 = require("react");
1877
+ var import_react_aria_components31 = require("react-aria-components");
1829
1878
  var import_i18n5 = require("@react-aria/i18n");
1830
- var import_jsx_runtime48 = require("react/jsx-runtime");
1879
+ var import_jsx_runtime49 = require("react/jsx-runtime");
1831
1880
  var YearListBox = ({ setSelectedDropdown }) => {
1832
- const state = (0, import_react27.useContext)(import_react_aria_components30.CalendarStateContext);
1881
+ const state = (0, import_react28.useContext)(import_react_aria_components31.CalendarStateContext);
1833
1882
  const years = [];
1834
1883
  let formatter = (0, import_i18n5.useDateFormatter)({
1835
1884
  year: "numeric",
@@ -1842,8 +1891,8 @@ var YearListBox = ({ setSelectedDropdown }) => {
1842
1891
  formatted: formatter.format(date.toDate(state.timeZone))
1843
1892
  });
1844
1893
  }
1845
- const activeButtonRef = (0, import_react27.useRef)(null);
1846
- (0, import_react27.useEffect)(() => {
1894
+ const activeButtonRef = (0, import_react28.useRef)(null);
1895
+ (0, import_react28.useEffect)(() => {
1847
1896
  if (activeButtonRef.current) {
1848
1897
  const activeButton = activeButtonRef.current;
1849
1898
  activeButton == null ? void 0 : activeButton.scrollIntoView({
@@ -1857,19 +1906,19 @@ var YearListBox = ({ setSelectedDropdown }) => {
1857
1906
  let date = years[index].value;
1858
1907
  state.setFocusedDate(date);
1859
1908
  };
1860
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1909
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1861
1910
  "ul",
1862
1911
  {
1863
1912
  "data-testid": "yearOptions",
1864
1913
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1865
1914
  children: years.map((year, index) => {
1866
1915
  const isActive = +year.formatted === state.focusedDate.year;
1867
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1916
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1868
1917
  "div",
1869
1918
  {
1870
1919
  ref: isActive ? activeButtonRef : null,
1871
1920
  style: { height: "100%", width: "100%" },
1872
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1921
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1873
1922
  _Button,
1874
1923
  {
1875
1924
  slot: "previous",
@@ -1894,7 +1943,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
1894
1943
  var YearListBox_default = YearListBox;
1895
1944
 
1896
1945
  // src/Calendar/Calendar.tsx
1897
- var import_jsx_runtime49 = require("react/jsx-runtime");
1946
+ var import_jsx_runtime50 = require("react/jsx-runtime");
1898
1947
  var _Calendar = ({
1899
1948
  disabled,
1900
1949
  readOnly,
@@ -1907,24 +1956,24 @@ var _Calendar = ({
1907
1956
  isReadOnly: readOnly,
1908
1957
  ...rest
1909
1958
  };
1910
- const classNames2 = (0, import_system41.useClassNames)({ component: "Calendar" });
1911
- const [selectedDropdown, setSelectedDropdown] = (0, import_react28.useState)();
1959
+ const classNames2 = (0, import_system42.useClassNames)({ component: "Calendar" });
1960
+ const [selectedDropdown, setSelectedDropdown] = (0, import_react29.useState)();
1912
1961
  const ViewMap = {
1913
- month: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(MonthListBox_default, { setSelectedDropdown }),
1914
- year: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(YearListBox_default, { setSelectedDropdown })
1962
+ month: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(MonthListBox_default, { setSelectedDropdown }),
1963
+ year: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(YearListBox_default, { setSelectedDropdown })
1915
1964
  };
1916
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1917
- import_react_aria_components31.Calendar,
1965
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
1966
+ import_react_aria_components32.Calendar,
1918
1967
  {
1919
- className: (0, import_system41.cn)(
1968
+ className: (0, import_system42.cn)(
1920
1969
  "flex min-h-[350px] w-[360px] flex-col rounded-sm p-4",
1921
1970
  classNames2.calendar
1922
1971
  ),
1923
1972
  ...props,
1924
- children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
1925
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
1926
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex w-full gap-4", children: [
1927
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1973
+ children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
1974
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
1975
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex w-full gap-4", children: [
1976
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
1928
1977
  CalendarListBox,
1929
1978
  {
1930
1979
  type: "month",
@@ -1932,7 +1981,7 @@ var _Calendar = ({
1932
1981
  setSelectedDropdown
1933
1982
  }
1934
1983
  ),
1935
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
1984
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
1936
1985
  CalendarListBox,
1937
1986
  {
1938
1987
  type: "year",
@@ -1941,18 +1990,18 @@ var _Calendar = ({
1941
1990
  }
1942
1991
  )
1943
1992
  ] }),
1944
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(MonthControls_default, {})
1993
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(MonthControls_default, {})
1945
1994
  ] }),
1946
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(_CalendarGrid, {})
1995
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(_CalendarGrid, {})
1947
1996
  ] })
1948
1997
  }
1949
1998
  );
1950
1999
  };
1951
2000
 
1952
2001
  // src/DatePicker/DatePicker.tsx
1953
- var import_react_aria_components32 = require("react-aria-components");
1954
- var import_system42 = require("@marigold/system");
1955
- var import_jsx_runtime50 = require("react/jsx-runtime");
2002
+ var import_react_aria_components33 = require("react-aria-components");
2003
+ var import_system43 = require("@marigold/system");
2004
+ var import_jsx_runtime51 = require("react/jsx-runtime");
1956
2005
  var _DatePicker = ({
1957
2006
  disabled,
1958
2007
  required,
@@ -1971,22 +2020,22 @@ var _DatePicker = ({
1971
2020
  isOpen: open,
1972
2021
  ...rest
1973
2022
  };
1974
- const classNames2 = (0, import_system42.useClassNames)({
2023
+ const classNames2 = (0, import_system43.useClassNames)({
1975
2024
  component: "DatePicker",
1976
2025
  size,
1977
2026
  variant
1978
2027
  });
1979
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(FieldBase, { as: import_react_aria_components32.DatePicker, variant, size, ...props, children: [
1980
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2028
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(FieldBase, { as: import_react_aria_components33.DatePicker, variant, size, ...props, children: [
2029
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1981
2030
  _DateInput,
1982
2031
  {
1983
- action: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: classNames2.container, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2032
+ action: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: classNames2.container, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1984
2033
  _Button,
1985
2034
  {
1986
2035
  size: "small",
1987
2036
  disabled,
1988
2037
  className: classNames2.button,
1989
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2038
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1990
2039
  "svg",
1991
2040
  {
1992
2041
  "data-testid": "action",
@@ -1994,65 +2043,65 @@ var _DatePicker = ({
1994
2043
  width: 24,
1995
2044
  height: 24,
1996
2045
  fill: "currentColor",
1997
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("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" })
2046
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("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" })
1998
2047
  }
1999
2048
  )
2000
2049
  }
2001
2050
  ) })
2002
2051
  }
2003
2052
  ),
2004
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(_Calendar, { disabled }) })
2053
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(_Calendar, { disabled }) })
2005
2054
  ] });
2006
2055
  };
2007
2056
 
2008
2057
  // src/Inset/Inset.tsx
2009
- var import_system43 = require("@marigold/system");
2010
- var import_jsx_runtime51 = require("react/jsx-runtime");
2011
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2058
+ var import_system44 = require("@marigold/system");
2059
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2060
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2012
2061
  "div",
2013
2062
  {
2014
- className: (0, import_system43.cn)(
2015
- space && import_system43.paddingSpace[space],
2016
- !space && spaceX && import_system43.paddingSpaceX[spaceX],
2017
- !space && spaceY && import_system43.paddingSpaceY[spaceY]
2063
+ className: (0, import_system44.cn)(
2064
+ space && import_system44.paddingSpace[space],
2065
+ !space && spaceX && import_system44.paddingSpaceX[spaceX],
2066
+ !space && spaceY && import_system44.paddingSpaceY[spaceY]
2018
2067
  ),
2019
2068
  children
2020
2069
  }
2021
2070
  );
2022
2071
 
2023
2072
  // src/Link/Link.tsx
2024
- var import_react29 = require("react");
2025
- var import_react_aria_components33 = require("react-aria-components");
2026
- var import_system44 = require("@marigold/system");
2027
- var import_jsx_runtime52 = require("react/jsx-runtime");
2028
- var _Link = (0, import_react29.forwardRef)(
2073
+ var import_react30 = require("react");
2074
+ var import_react_aria_components34 = require("react-aria-components");
2075
+ var import_system45 = require("@marigold/system");
2076
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2077
+ var _Link = (0, import_react30.forwardRef)(
2029
2078
  ({ variant, size, disabled, children, ...props }, ref) => {
2030
- const classNames2 = (0, import_system44.useClassNames)({
2079
+ const classNames2 = (0, import_system45.useClassNames)({
2031
2080
  component: "Link",
2032
2081
  variant,
2033
2082
  size
2034
2083
  });
2035
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react_aria_components33.Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2084
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_aria_components34.Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2036
2085
  }
2037
2086
  );
2038
2087
 
2039
2088
  // src/List/List.tsx
2040
- var import_system45 = require("@marigold/system");
2089
+ var import_system46 = require("@marigold/system");
2041
2090
 
2042
2091
  // src/List/Context.ts
2043
- var import_react30 = require("react");
2044
- var ListContext = (0, import_react30.createContext)({});
2045
- var useListContext = () => (0, import_react30.useContext)(ListContext);
2092
+ var import_react31 = require("react");
2093
+ var ListContext = (0, import_react31.createContext)({});
2094
+ var useListContext = () => (0, import_react31.useContext)(ListContext);
2046
2095
 
2047
2096
  // src/List/ListItem.tsx
2048
- var import_jsx_runtime53 = require("react/jsx-runtime");
2097
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2049
2098
  var ListItem = ({ children, ...props }) => {
2050
2099
  const { classNames: classNames2 } = useListContext();
2051
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { ...props, className: classNames2, children });
2100
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("li", { ...props, className: classNames2, children });
2052
2101
  };
2053
2102
 
2054
2103
  // src/List/List.tsx
2055
- var import_jsx_runtime54 = require("react/jsx-runtime");
2104
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2056
2105
  var List = ({
2057
2106
  as = "ul",
2058
2107
  children,
@@ -2061,38 +2110,38 @@ var List = ({
2061
2110
  ...props
2062
2111
  }) => {
2063
2112
  const Component = as;
2064
- const classNames2 = (0, import_system45.useClassNames)({ component: "List", variant, size });
2065
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2113
+ const classNames2 = (0, import_system46.useClassNames)({ component: "List", variant, size });
2114
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2066
2115
  };
2067
2116
  List.Item = ListItem;
2068
2117
 
2069
2118
  // src/Menu/Menu.tsx
2070
- var import_react_aria_components36 = require("react-aria-components");
2071
- var import_system48 = require("@marigold/system");
2119
+ var import_react_aria_components37 = require("react-aria-components");
2120
+ var import_system49 = require("@marigold/system");
2072
2121
 
2073
2122
  // src/Menu/MenuItem.tsx
2074
- var import_react_aria_components34 = require("react-aria-components");
2075
- var import_system46 = require("@marigold/system");
2076
- var import_jsx_runtime55 = require("react/jsx-runtime");
2123
+ var import_react_aria_components35 = require("react-aria-components");
2124
+ var import_system47 = require("@marigold/system");
2125
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2077
2126
  var _MenuItem = ({ children, ...props }) => {
2078
- const classNames2 = (0, import_system46.useClassNames)({ component: "Menu" });
2079
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_aria_components34.MenuItem, { ...props, className: classNames2.item, children });
2127
+ const classNames2 = (0, import_system47.useClassNames)({ component: "Menu" });
2128
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react_aria_components35.MenuItem, { ...props, className: classNames2.item, children });
2080
2129
  };
2081
2130
 
2082
2131
  // src/Menu/MenuSection.tsx
2083
- var import_react_aria_components35 = require("react-aria-components");
2084
- var import_system47 = require("@marigold/system");
2085
- var import_jsx_runtime56 = require("react/jsx-runtime");
2132
+ var import_react_aria_components36 = require("react-aria-components");
2133
+ var import_system48 = require("@marigold/system");
2134
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2086
2135
  var _MenuSection = ({ children, title, ...props }) => {
2087
- const className = (0, import_system47.useClassNames)({ component: "Menu" });
2088
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react_aria_components35.Section, { ...props, children: [
2089
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(_Header, { className: className.section, children: title }),
2136
+ const className = (0, import_system48.useClassNames)({ component: "Menu" });
2137
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react_aria_components36.Section, { ...props, children: [
2138
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(_Header, { className: className.section, children: title }),
2090
2139
  children
2091
2140
  ] });
2092
2141
  };
2093
2142
 
2094
2143
  // src/Menu/Menu.tsx
2095
- var import_jsx_runtime57 = require("react/jsx-runtime");
2144
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2096
2145
  var _Menu = ({
2097
2146
  children,
2098
2147
  label,
@@ -2102,44 +2151,44 @@ var _Menu = ({
2102
2151
  open,
2103
2152
  ...props
2104
2153
  }) => {
2105
- const classNames2 = (0, import_system48.useClassNames)({ component: "Menu", variant, size });
2106
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react_aria_components36.MenuTrigger, { ...props, children: [
2107
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(_Button, { variant: "menu", disabled, children: label }),
2108
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(_Popover, { open, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_aria_components36.Menu, { ...props, className: classNames2.container, children }) })
2154
+ const classNames2 = (0, import_system49.useClassNames)({ component: "Menu", variant, size });
2155
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react_aria_components37.MenuTrigger, { ...props, children: [
2156
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Button, { variant: "menu", disabled, children: label }),
2157
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Popover, { open, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_aria_components37.Menu, { ...props, className: classNames2.container, children }) })
2109
2158
  ] });
2110
2159
  };
2111
2160
  _Menu.Item = _MenuItem;
2112
2161
  _Menu.Section = _MenuSection;
2113
2162
 
2114
2163
  // src/Menu/ActionMenu.tsx
2115
- var import_react_aria_components37 = require("react-aria-components");
2116
- var import_system49 = require("@marigold/system");
2117
- var import_jsx_runtime58 = require("react/jsx-runtime");
2164
+ var import_react_aria_components38 = require("react-aria-components");
2165
+ var import_system50 = require("@marigold/system");
2166
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2118
2167
  var ActionMenu = ({
2119
2168
  variant,
2120
2169
  size,
2121
2170
  disabled,
2122
2171
  ...props
2123
2172
  }) => {
2124
- const classNames2 = (0, import_system49.useClassNames)({ component: "Menu", variant, size });
2125
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react_aria_components37.MenuTrigger, { children: [
2126
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_system49.SVG, { viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2127
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_aria_components37.Menu, { ...props, className: classNames2.container, children: props.children }) })
2173
+ const classNames2 = (0, import_system50.useClassNames)({ component: "Menu", variant, size });
2174
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react_aria_components38.MenuTrigger, { children: [
2175
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_system50.SVG, { viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2176
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_aria_components38.Menu, { ...props, className: classNames2.container, children: props.children }) })
2128
2177
  ] });
2129
2178
  };
2130
2179
 
2131
2180
  // src/Message/Message.tsx
2132
- var import_react31 = require("react");
2133
- var import_system50 = require("@marigold/system");
2134
- var import_jsx_runtime59 = require("react/jsx-runtime");
2181
+ var import_react32 = require("react");
2182
+ var import_system51 = require("@marigold/system");
2183
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2135
2184
  var icons = {
2136
- success: () => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2185
+ success: () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2137
2186
  "svg",
2138
2187
  {
2139
2188
  xmlns: "http://www.w3.org/2000/svg",
2140
2189
  viewBox: "0 0 24 24",
2141
2190
  fill: "currentColor",
2142
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2191
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2143
2192
  "path",
2144
2193
  {
2145
2194
  fillRule: "evenodd",
@@ -2149,13 +2198,13 @@ var icons = {
2149
2198
  )
2150
2199
  }
2151
2200
  ),
2152
- info: () => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2201
+ info: () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2153
2202
  "svg",
2154
2203
  {
2155
2204
  xmlns: "http://www.w3.org/2000/svg",
2156
2205
  viewBox: "0 0 24 24",
2157
2206
  fill: "currentColor",
2158
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2207
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2159
2208
  "path",
2160
2209
  {
2161
2210
  fillRule: "evenodd",
@@ -2165,13 +2214,13 @@ var icons = {
2165
2214
  )
2166
2215
  }
2167
2216
  ),
2168
- warning: () => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2217
+ warning: () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2169
2218
  "svg",
2170
2219
  {
2171
2220
  xmlns: "http://www.w3.org/2000/svg",
2172
2221
  viewBox: "0 0 24 24",
2173
2222
  fill: "currentColor",
2174
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2223
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2175
2224
  "path",
2176
2225
  {
2177
2226
  fillRule: "evenodd",
@@ -2181,13 +2230,13 @@ var icons = {
2181
2230
  )
2182
2231
  }
2183
2232
  ),
2184
- error: () => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2233
+ error: () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2185
2234
  "svg",
2186
2235
  {
2187
2236
  xmlns: "http://www.w3.org/2000/svg",
2188
2237
  viewBox: "0 0 24 24",
2189
2238
  fill: "currentColor",
2190
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2239
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2191
2240
  "path",
2192
2241
  {
2193
2242
  fillRule: "evenodd",
@@ -2198,32 +2247,32 @@ var icons = {
2198
2247
  }
2199
2248
  )
2200
2249
  };
2201
- var Message = (0, import_react31.forwardRef)(
2250
+ var Message = (0, import_react32.forwardRef)(
2202
2251
  ({ messageTitle, variant = "info", size, children, ...props }, ref) => {
2203
- const classNames2 = (0, import_system50.useClassNames)({ component: "Message", variant, size });
2252
+ const classNames2 = (0, import_system51.useClassNames)({ component: "Message", variant, size });
2204
2253
  const Icon4 = icons[variant];
2205
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2254
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
2206
2255
  "div",
2207
2256
  {
2208
- className: (0, import_system50.cn)(
2257
+ className: (0, import_system51.cn)(
2209
2258
  "grid auto-rows-min grid-cols-[min-content_auto] gap-1",
2210
2259
  classNames2.container
2211
2260
  ),
2212
2261
  ref,
2213
2262
  ...props,
2214
2263
  children: [
2215
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: (0, import_system50.cn)("col-span-1 h-5 w-5 self-center", classNames2.icon), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon4, {}) }),
2216
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2264
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: (0, import_system51.cn)("col-span-1 h-5 w-5 self-center", classNames2.icon), children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon4, {}) }),
2265
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2217
2266
  "div",
2218
2267
  {
2219
- className: (0, import_system50.cn)(
2268
+ className: (0, import_system51.cn)(
2220
2269
  "col-start-2 row-start-1 self-center",
2221
2270
  classNames2.title
2222
2271
  ),
2223
2272
  children: messageTitle
2224
2273
  }
2225
2274
  ),
2226
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: (0, import_system50.cn)("col-start-2", classNames2.content), children })
2275
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: (0, import_system51.cn)("col-start-2", classNames2.content), children })
2227
2276
  ]
2228
2277
  }
2229
2278
  );
@@ -2231,15 +2280,15 @@ var Message = (0, import_react31.forwardRef)(
2231
2280
  );
2232
2281
 
2233
2282
  // src/NumberField/NumberField.tsx
2234
- var import_react32 = require("react");
2235
- var import_react_aria_components39 = require("react-aria-components");
2236
- var import_system52 = require("@marigold/system");
2283
+ var import_react33 = require("react");
2284
+ var import_react_aria_components40 = require("react-aria-components");
2285
+ var import_system53 = require("@marigold/system");
2237
2286
 
2238
2287
  // src/NumberField/StepButton.tsx
2239
- var import_react_aria_components38 = require("react-aria-components");
2240
- var import_system51 = require("@marigold/system");
2241
- var import_jsx_runtime60 = require("react/jsx-runtime");
2242
- var Plus = () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2288
+ var import_react_aria_components39 = require("react-aria-components");
2289
+ var import_system52 = require("@marigold/system");
2290
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2291
+ var Plus = () => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2243
2292
  "path",
2244
2293
  {
2245
2294
  fillRule: "evenodd",
@@ -2247,7 +2296,7 @@ var Plus = () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { width: 1
2247
2296
  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"
2248
2297
  }
2249
2298
  ) });
2250
- var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2299
+ var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2251
2300
  "path",
2252
2301
  {
2253
2302
  fillRule: "evenodd",
@@ -2257,10 +2306,10 @@ var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("svg", { width:
2257
2306
  ) });
2258
2307
  var _StepButton = ({ direction, className, ...props }) => {
2259
2308
  const Icon4 = direction === "up" ? Plus : Minus;
2260
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2261
- import_react_aria_components38.Button,
2309
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2310
+ import_react_aria_components39.Button,
2262
2311
  {
2263
- className: (0, import_system51.cn)(
2312
+ className: (0, import_system52.cn)(
2264
2313
  [
2265
2314
  "flex items-center justify-center",
2266
2315
  "cursor-pointer data-[disabled]:cursor-not-allowed"
@@ -2268,14 +2317,14 @@ var _StepButton = ({ direction, className, ...props }) => {
2268
2317
  className
2269
2318
  ),
2270
2319
  ...props,
2271
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon4, {})
2320
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon4, {})
2272
2321
  }
2273
2322
  );
2274
2323
  };
2275
2324
 
2276
2325
  // src/NumberField/NumberField.tsx
2277
- var import_jsx_runtime61 = require("react/jsx-runtime");
2278
- var _NumberField = (0, import_react32.forwardRef)(
2326
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2327
+ var _NumberField = (0, import_react33.forwardRef)(
2279
2328
  ({
2280
2329
  variant,
2281
2330
  size,
@@ -2286,7 +2335,7 @@ var _NumberField = (0, import_react32.forwardRef)(
2286
2335
  hideStepper,
2287
2336
  ...rest
2288
2337
  }, ref) => {
2289
- const classNames2 = (0, import_system52.useClassNames)({
2338
+ const classNames2 = (0, import_system53.useClassNames)({
2290
2339
  component: "NumberField",
2291
2340
  size,
2292
2341
  variant
@@ -2299,8 +2348,8 @@ var _NumberField = (0, import_react32.forwardRef)(
2299
2348
  ...rest
2300
2349
  };
2301
2350
  const showStepper = !hideStepper;
2302
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FieldBase, { as: import_react_aria_components39.NumberField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react_aria_components39.Group, { className: (0, import_system52.cn)("flex items-stretch", classNames2.group), children: [
2303
- showStepper && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2351
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(FieldBase, { as: import_react_aria_components40.NumberField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_react_aria_components40.Group, { className: (0, import_system53.cn)("flex items-stretch", classNames2.group), children: [
2352
+ showStepper && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2304
2353
  _StepButton,
2305
2354
  {
2306
2355
  className: classNames2.stepper,
@@ -2308,7 +2357,7 @@ var _NumberField = (0, import_react32.forwardRef)(
2308
2357
  slot: "decrement"
2309
2358
  }
2310
2359
  ),
2311
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2360
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2312
2361
  _Input,
2313
2362
  {
2314
2363
  ref,
@@ -2317,7 +2366,7 @@ var _NumberField = (0, import_react32.forwardRef)(
2317
2366
  className: classNames2.input
2318
2367
  }
2319
2368
  ) }),
2320
- showStepper && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2369
+ showStepper && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2321
2370
  _StepButton,
2322
2371
  {
2323
2372
  className: classNames2.stepper,
@@ -2330,21 +2379,21 @@ var _NumberField = (0, import_react32.forwardRef)(
2330
2379
  );
2331
2380
 
2332
2381
  // src/Radio/Radio.tsx
2333
- var import_react34 = require("react");
2334
- var import_react_aria_components41 = require("react-aria-components");
2335
- var import_system54 = require("@marigold/system");
2382
+ var import_react35 = require("react");
2383
+ var import_react_aria_components42 = require("react-aria-components");
2384
+ var import_system55 = require("@marigold/system");
2336
2385
 
2337
2386
  // src/Radio/Context.ts
2338
- var import_react33 = require("react");
2339
- var RadioGroupContext = (0, import_react33.createContext)(
2387
+ var import_react34 = require("react");
2388
+ var RadioGroupContext = (0, import_react34.createContext)(
2340
2389
  null
2341
2390
  );
2342
- var useRadioGroupContext = () => (0, import_react33.useContext)(RadioGroupContext);
2391
+ var useRadioGroupContext = () => (0, import_react34.useContext)(RadioGroupContext);
2343
2392
 
2344
2393
  // src/Radio/RadioGroup.tsx
2345
- var import_react_aria_components40 = require("react-aria-components");
2346
- var import_system53 = require("@marigold/system");
2347
- var import_jsx_runtime62 = require("react/jsx-runtime");
2394
+ var import_react_aria_components41 = require("react-aria-components");
2395
+ var import_system54 = require("@marigold/system");
2396
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2348
2397
  var _RadioGroup = ({
2349
2398
  variant,
2350
2399
  size,
@@ -2360,7 +2409,7 @@ var _RadioGroup = ({
2360
2409
  width,
2361
2410
  ...rest
2362
2411
  }) => {
2363
- const classNames2 = (0, import_system53.useClassNames)({ component: "Radio", variant, size });
2412
+ const classNames2 = (0, import_system54.useClassNames)({ component: "Radio", variant, size });
2364
2413
  const props = {
2365
2414
  isDisabled: disabled,
2366
2415
  isReadOnly: readOnly,
@@ -2368,10 +2417,10 @@ var _RadioGroup = ({
2368
2417
  isInvalid: error,
2369
2418
  ...rest
2370
2419
  };
2371
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2420
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2372
2421
  FieldBase,
2373
2422
  {
2374
- as: import_react_aria_components40.RadioGroup,
2423
+ as: import_react_aria_components41.RadioGroup,
2375
2424
  width,
2376
2425
  label,
2377
2426
  description,
@@ -2379,18 +2428,18 @@ var _RadioGroup = ({
2379
2428
  variant,
2380
2429
  size,
2381
2430
  ...props,
2382
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2431
+ children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2383
2432
  "div",
2384
2433
  {
2385
2434
  role: "presentation",
2386
2435
  "data-testid": "group",
2387
2436
  "data-orientation": orientation,
2388
- className: (0, import_system53.cn)(
2437
+ className: (0, import_system54.cn)(
2389
2438
  classNames2.group,
2390
2439
  "flex items-start",
2391
2440
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
2392
2441
  ),
2393
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2442
+ children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2394
2443
  }
2395
2444
  )
2396
2445
  }
@@ -2398,33 +2447,33 @@ var _RadioGroup = ({
2398
2447
  };
2399
2448
 
2400
2449
  // src/Radio/Radio.tsx
2401
- var import_jsx_runtime63 = require("react/jsx-runtime");
2402
- var Dot = () => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2403
- var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2450
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2451
+ var Dot = () => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2452
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2404
2453
  "div",
2405
2454
  {
2406
- className: (0, import_system54.cn)(
2455
+ className: (0, import_system55.cn)(
2407
2456
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
2408
2457
  className
2409
2458
  ),
2410
2459
  "aria-hidden": "true",
2411
2460
  ...props,
2412
- children: checked ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Dot, {}) : null
2461
+ children: checked ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Dot, {}) : null
2413
2462
  }
2414
2463
  );
2415
- var _Radio = (0, import_react34.forwardRef)(
2464
+ var _Radio = (0, import_react35.forwardRef)(
2416
2465
  ({ value, disabled, width, children, ...props }, ref) => {
2417
2466
  const { variant, size, width: groupWidth } = useRadioGroupContext();
2418
- const classNames2 = (0, import_system54.useClassNames)({
2467
+ const classNames2 = (0, import_system55.useClassNames)({
2419
2468
  component: "Radio",
2420
2469
  variant: variant || props.variant,
2421
2470
  size: size || props.size
2422
2471
  });
2423
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2424
- import_react_aria_components41.Radio,
2472
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2473
+ import_react_aria_components42.Radio,
2425
2474
  {
2426
2475
  ref,
2427
- className: (0, import_system54.cn)(
2476
+ className: (0, import_system55.cn)(
2428
2477
  "group/radio",
2429
2478
  "relative flex items-center gap-[1ch]",
2430
2479
  width || groupWidth || "w-full",
@@ -2433,18 +2482,18 @@ var _Radio = (0, import_react34.forwardRef)(
2433
2482
  value,
2434
2483
  isDisabled: disabled,
2435
2484
  ...props,
2436
- children: ({ isSelected }) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
2437
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2485
+ children: ({ isSelected }) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
2486
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2438
2487
  Icon3,
2439
2488
  {
2440
2489
  checked: isSelected,
2441
- className: (0, import_system54.cn)(
2490
+ className: (0, import_system55.cn)(
2442
2491
  disabled ? "cursor-not-allowed" : "cursor-pointer",
2443
2492
  classNames2.radio
2444
2493
  )
2445
2494
  }
2446
2495
  ),
2447
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: classNames2.label, children })
2496
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: classNames2.label, children })
2448
2497
  ] })
2449
2498
  }
2450
2499
  );
@@ -2453,10 +2502,10 @@ var _Radio = (0, import_react34.forwardRef)(
2453
2502
  _Radio.Group = _RadioGroup;
2454
2503
 
2455
2504
  // src/SearchField/SearchField.tsx
2456
- var import_react35 = require("react");
2457
- var import_react_aria_components42 = require("react-aria-components");
2458
- var import_jsx_runtime64 = require("react/jsx-runtime");
2459
- var _SearchField = (0, import_react35.forwardRef)(
2505
+ var import_react36 = require("react");
2506
+ var import_react_aria_components43 = require("react-aria-components");
2507
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2508
+ var _SearchField = (0, import_react36.forwardRef)(
2460
2509
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
2461
2510
  const props = {
2462
2511
  ...rest,
@@ -2465,7 +2514,7 @@ var _SearchField = (0, import_react35.forwardRef)(
2465
2514
  isReadOnly: readOnly,
2466
2515
  isInvalid: error
2467
2516
  };
2468
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(FieldBase, { as: import_react_aria_components42.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2517
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(FieldBase, { as: import_react_aria_components43.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
2469
2518
  SearchInput,
2470
2519
  {
2471
2520
  ref,
@@ -2476,11 +2525,11 @@ var _SearchField = (0, import_react35.forwardRef)(
2476
2525
  );
2477
2526
 
2478
2527
  // src/Select/Select.tsx
2479
- var import_react36 = require("react");
2480
- var import_react_aria_components43 = require("react-aria-components");
2481
- var import_system55 = require("@marigold/system");
2482
- var import_jsx_runtime65 = require("react/jsx-runtime");
2483
- var _Select = (0, import_react36.forwardRef)(
2528
+ var import_react37 = require("react");
2529
+ var import_react_aria_components44 = require("react-aria-components");
2530
+ var import_system56 = require("@marigold/system");
2531
+ var import_jsx_runtime66 = require("react/jsx-runtime");
2532
+ var _Select = (0, import_react37.forwardRef)(
2484
2533
  ({
2485
2534
  disabled,
2486
2535
  required,
@@ -2500,22 +2549,22 @@ var _Select = (0, import_react36.forwardRef)(
2500
2549
  onSelectionChange: onChange,
2501
2550
  ...rest
2502
2551
  };
2503
- const classNames2 = (0, import_system55.useClassNames)({ component: "Select", variant, size });
2504
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(FieldBase, { isOpen: true, as: import_react_aria_components43.Select, ref, ...props, children: [
2505
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
2506
- import_react_aria_components43.Button,
2552
+ const classNames2 = (0, import_system56.useClassNames)({ component: "Select", variant, size });
2553
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(FieldBase, { isOpen: true, as: import_react_aria_components44.Select, ref, ...props, children: [
2554
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
2555
+ import_react_aria_components44.Button,
2507
2556
  {
2508
- className: (0, import_system55.cn)(
2557
+ className: (0, import_system56.cn)(
2509
2558
  "flex w-full items-center justify-between gap-1 overflow-hidden",
2510
2559
  classNames2.select
2511
2560
  ),
2512
2561
  children: [
2513
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_aria_components43.SelectValue, {}),
2514
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChevronDown, { className: "size-4" })
2562
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_aria_components44.SelectValue, {}),
2563
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ChevronDown, { className: "size-4" })
2515
2564
  ]
2516
2565
  }
2517
2566
  ),
2518
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(_ListBox, { items, children: props.children }) })
2567
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(_ListBox, { items, children: props.children }) })
2519
2568
  ] });
2520
2569
  }
2521
2570
  );
@@ -2523,29 +2572,29 @@ _Select.Option = _ListBox.Item;
2523
2572
  _Select.Section = _ListBox.Section;
2524
2573
 
2525
2574
  // src/Scrollable/Scrollable.tsx
2526
- var import_system56 = require("@marigold/system");
2527
- var import_jsx_runtime66 = require("react/jsx-runtime");
2575
+ var import_system57 = require("@marigold/system");
2576
+ var import_jsx_runtime67 = require("react/jsx-runtime");
2528
2577
  var Scrollable = ({
2529
2578
  children,
2530
2579
  width = "full",
2531
2580
  height,
2532
2581
  ...props
2533
- }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
2582
+ }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
2534
2583
  "div",
2535
2584
  {
2536
2585
  ...props,
2537
- className: (0, import_system56.cn)(["sticky h-[--height] overflow-auto", import_system56.width[width]]),
2538
- style: (0, import_system56.createVar)({ height }),
2586
+ className: (0, import_system57.cn)(["sticky h-[--height] overflow-auto", import_system57.width[width]]),
2587
+ style: (0, import_system57.createVar)({ height }),
2539
2588
  children
2540
2589
  }
2541
2590
  );
2542
2591
 
2543
2592
  // src/Slider/Slider.tsx
2544
- var import_react37 = require("react");
2545
- var import_react_aria_components44 = require("react-aria-components");
2546
- var import_system57 = require("@marigold/system");
2547
- var import_jsx_runtime67 = require("react/jsx-runtime");
2548
- var _Slider = (0, import_react37.forwardRef)(
2593
+ var import_react38 = require("react");
2594
+ var import_react_aria_components45 = require("react-aria-components");
2595
+ var import_system58 = require("@marigold/system");
2596
+ var import_jsx_runtime68 = require("react/jsx-runtime");
2597
+ var _Slider = (0, import_react38.forwardRef)(
2549
2598
  ({
2550
2599
  thumbLabels,
2551
2600
  variant,
@@ -2554,7 +2603,7 @@ var _Slider = (0, import_react37.forwardRef)(
2554
2603
  disabled,
2555
2604
  ...rest
2556
2605
  }, ref) => {
2557
- const classNames2 = (0, import_system57.useClassNames)({
2606
+ const classNames2 = (0, import_system58.useClassNames)({
2558
2607
  component: "Slider",
2559
2608
  variant,
2560
2609
  size
@@ -2563,27 +2612,27 @@ var _Slider = (0, import_react37.forwardRef)(
2563
2612
  isDisabled: disabled,
2564
2613
  ...rest
2565
2614
  };
2566
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
2567
- import_react_aria_components44.Slider,
2615
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
2616
+ import_react_aria_components45.Slider,
2568
2617
  {
2569
- className: (0, import_system57.cn)(
2618
+ className: (0, import_system58.cn)(
2570
2619
  "grid grid-cols-[auto_1fr] gap-y-1",
2571
2620
  classNames2.container,
2572
- import_system57.width[width]
2621
+ import_system58.width[width]
2573
2622
  ),
2574
2623
  ref,
2575
2624
  ...props,
2576
2625
  children: [
2577
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(_Label, { children: props.children }),
2578
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_aria_components44.SliderOutput, { className: (0, import_system57.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2579
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
2580
- import_react_aria_components44.SliderTrack,
2626
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(_Label, { children: props.children }),
2627
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_aria_components45.SliderOutput, { className: (0, import_system58.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2628
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
2629
+ import_react_aria_components45.SliderTrack,
2581
2630
  {
2582
- className: (0, import_system57.cn)("relative col-span-2 h-2 w-full", classNames2.track),
2583
- children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
2584
- import_react_aria_components44.SliderThumb,
2631
+ className: (0, import_system58.cn)("relative col-span-2 h-2 w-full", classNames2.track),
2632
+ children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
2633
+ import_react_aria_components45.SliderThumb,
2585
2634
  {
2586
- className: (0, import_system57.cn)("top-1/2 cursor-pointer", classNames2.thumb),
2635
+ className: (0, import_system58.cn)("top-1/2 cursor-pointer", classNames2.thumb),
2587
2636
  index: i,
2588
2637
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i]
2589
2638
  },
@@ -2598,12 +2647,12 @@ var _Slider = (0, import_react37.forwardRef)(
2598
2647
  );
2599
2648
 
2600
2649
  // src/Split/Split.tsx
2601
- var import_jsx_runtime68 = require("react/jsx-runtime");
2602
- var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ...props, role: "separator", className: "grow" });
2650
+ var import_jsx_runtime69 = require("react/jsx-runtime");
2651
+ var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { ...props, role: "separator", className: "grow" });
2603
2652
 
2604
2653
  // src/Stack/Stack.tsx
2605
- var import_system58 = require("@marigold/system");
2606
- var import_jsx_runtime69 = require("react/jsx-runtime");
2654
+ var import_system59 = require("@marigold/system");
2655
+ var import_jsx_runtime70 = require("react/jsx-runtime");
2607
2656
  var Stack = ({
2608
2657
  children,
2609
2658
  space = 0,
@@ -2614,14 +2663,14 @@ var Stack = ({
2614
2663
  ...props
2615
2664
  }) => {
2616
2665
  var _a, _b, _c, _d;
2617
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
2666
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
2618
2667
  "div",
2619
2668
  {
2620
- className: (0, import_system58.cn)(
2669
+ className: (0, import_system59.cn)(
2621
2670
  "flex flex-col",
2622
- import_system58.gapSpace[space],
2623
- alignX && ((_b = (_a = import_system58.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
2624
- alignY && ((_d = (_c = import_system58.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
2671
+ import_system59.gapSpace[space],
2672
+ alignX && ((_b = (_a = import_system59.alignment) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
2673
+ alignY && ((_d = (_c = import_system59.alignment) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
2625
2674
  stretch && "h-full w-full"
2626
2675
  ),
2627
2676
  ...props,
@@ -2631,11 +2680,11 @@ var Stack = ({
2631
2680
  };
2632
2681
 
2633
2682
  // src/Switch/Switch.tsx
2634
- var import_react38 = require("react");
2635
- var import_react_aria_components45 = require("react-aria-components");
2636
- var import_system59 = require("@marigold/system");
2637
- var import_jsx_runtime70 = require("react/jsx-runtime");
2638
- var _Switch = (0, import_react38.forwardRef)(
2683
+ var import_react39 = require("react");
2684
+ var import_react_aria_components46 = require("react-aria-components");
2685
+ var import_system60 = require("@marigold/system");
2686
+ var import_jsx_runtime71 = require("react/jsx-runtime");
2687
+ var _Switch = (0, import_react39.forwardRef)(
2639
2688
  ({
2640
2689
  variant,
2641
2690
  size,
@@ -2646,37 +2695,37 @@ var _Switch = (0, import_react38.forwardRef)(
2646
2695
  readOnly,
2647
2696
  ...rest
2648
2697
  }, ref) => {
2649
- const classNames2 = (0, import_system59.useClassNames)({ component: "Switch", size, variant });
2698
+ const classNames2 = (0, import_system60.useClassNames)({ component: "Switch", size, variant });
2650
2699
  const props = {
2651
2700
  isDisabled: disabled,
2652
2701
  isReadOnly: readOnly,
2653
2702
  isSelected: selected,
2654
2703
  ...rest
2655
2704
  };
2656
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
2657
- import_react_aria_components45.Switch,
2705
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
2706
+ import_react_aria_components46.Switch,
2658
2707
  {
2659
2708
  ...props,
2660
2709
  ref,
2661
- className: (0, import_system59.cn)(
2662
- import_system59.width[width],
2710
+ className: (0, import_system60.cn)(
2711
+ import_system60.width[width],
2663
2712
  "group/switch",
2664
2713
  "flex items-center gap-[1ch]",
2665
2714
  classNames2.container
2666
2715
  ),
2667
2716
  children: [
2668
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(_Label, { elementType: "span", children }),
2669
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
2717
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(_Label, { elementType: "span", children }),
2718
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
2670
2719
  "div",
2671
2720
  {
2672
- className: (0, import_system59.cn)(
2721
+ className: (0, import_system60.cn)(
2673
2722
  "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed ",
2674
2723
  classNames2.track
2675
2724
  ),
2676
- children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
2725
+ children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
2677
2726
  "div",
2678
2727
  {
2679
- className: (0, import_system59.cn)(
2728
+ className: (0, import_system60.cn)(
2680
2729
  "h-[22px] w-[22px]",
2681
2730
  "cubic-bezier(.7,0,.3,1)",
2682
2731
  "absolute left-0 top-px",
@@ -2695,33 +2744,33 @@ var _Switch = (0, import_react38.forwardRef)(
2695
2744
  );
2696
2745
 
2697
2746
  // src/Table/Table.tsx
2698
- var import_react46 = require("react");
2747
+ var import_react47 = require("react");
2699
2748
  var import_table9 = require("@react-aria/table");
2700
2749
  var import_table10 = require("@react-stately/table");
2701
- var import_system66 = require("@marigold/system");
2750
+ var import_system67 = require("@marigold/system");
2702
2751
 
2703
2752
  // src/Table/Context.tsx
2704
- var import_react39 = require("react");
2705
- var TableContext = (0, import_react39.createContext)({});
2706
- var useTableContext = () => (0, import_react39.useContext)(TableContext);
2753
+ var import_react40 = require("react");
2754
+ var TableContext = (0, import_react40.createContext)({});
2755
+ var useTableContext = () => (0, import_react40.useContext)(TableContext);
2707
2756
 
2708
2757
  // src/Table/TableBody.tsx
2709
2758
  var import_table = require("@react-aria/table");
2710
- var import_jsx_runtime71 = require("react/jsx-runtime");
2759
+ var import_jsx_runtime72 = require("react/jsx-runtime");
2711
2760
  var TableBody = ({ children }) => {
2712
2761
  const { rowGroupProps } = (0, import_table.useTableRowGroup)();
2713
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("tbody", { ...rowGroupProps, children });
2762
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("tbody", { ...rowGroupProps, children });
2714
2763
  };
2715
2764
 
2716
2765
  // src/Table/TableCell.tsx
2717
- var import_react40 = require("react");
2766
+ var import_react41 = require("react");
2718
2767
  var import_focus2 = require("@react-aria/focus");
2719
2768
  var import_table2 = require("@react-aria/table");
2720
2769
  var import_utils3 = require("@react-aria/utils");
2721
- var import_system60 = require("@marigold/system");
2722
- var import_jsx_runtime72 = require("react/jsx-runtime");
2770
+ var import_system61 = require("@marigold/system");
2771
+ var import_jsx_runtime73 = require("react/jsx-runtime");
2723
2772
  var TableCell = ({ cell, align = "left" }) => {
2724
- const ref = (0, import_react40.useRef)(null);
2773
+ const ref = (0, import_react41.useRef)(null);
2725
2774
  const { interactive, state, classNames: classNames2 } = useTableContext();
2726
2775
  const disabled = state.disabledKeys.has(cell.parentKey);
2727
2776
  const { gridCellProps } = (0, import_table2.useTableCell)(
@@ -2741,12 +2790,12 @@ var TableCell = ({ cell, align = "left" }) => {
2741
2790
  onPointerDown: (e) => e.stopPropagation()
2742
2791
  };
2743
2792
  const { focusProps, isFocusVisible } = (0, import_focus2.useFocusRing)();
2744
- const stateProps = (0, import_system60.useStateProps)({ disabled, focusVisible: isFocusVisible });
2745
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
2793
+ const stateProps = (0, import_system61.useStateProps)({ disabled, focusVisible: isFocusVisible });
2794
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
2746
2795
  "td",
2747
2796
  {
2748
2797
  ref,
2749
- className: (0, import_system60.cn)(classNames2 == null ? void 0 : classNames2.cell),
2798
+ className: (0, import_system61.cn)(classNames2 == null ? void 0 : classNames2.cell),
2750
2799
  ...(0, import_utils3.mergeProps)(cellProps, focusProps),
2751
2800
  ...stateProps,
2752
2801
  align,
@@ -2756,11 +2805,11 @@ var TableCell = ({ cell, align = "left" }) => {
2756
2805
  };
2757
2806
 
2758
2807
  // src/Table/TableCheckboxCell.tsx
2759
- var import_react41 = require("react");
2808
+ var import_react42 = require("react");
2760
2809
  var import_focus3 = require("@react-aria/focus");
2761
2810
  var import_table3 = require("@react-aria/table");
2762
2811
  var import_utils4 = require("@react-aria/utils");
2763
- var import_system61 = require("@marigold/system");
2812
+ var import_system62 = require("@marigold/system");
2764
2813
 
2765
2814
  // src/Table/utils.ts
2766
2815
  var mapCheckboxProps = ({
@@ -2783,9 +2832,9 @@ var mapCheckboxProps = ({
2783
2832
  };
2784
2833
 
2785
2834
  // src/Table/TableCheckboxCell.tsx
2786
- var import_jsx_runtime73 = require("react/jsx-runtime");
2835
+ var import_jsx_runtime74 = require("react/jsx-runtime");
2787
2836
  var TableCheckboxCell = ({ cell }) => {
2788
- const ref = (0, import_react41.useRef)(null);
2837
+ const ref = (0, import_react42.useRef)(null);
2789
2838
  const { state, classNames: classNames2 } = useTableContext();
2790
2839
  const disabled = state.disabledKeys.has(cell.parentKey);
2791
2840
  const { gridCellProps } = (0, import_table3.useTableCell)(
@@ -2799,36 +2848,36 @@ var TableCheckboxCell = ({ cell }) => {
2799
2848
  (0, import_table3.useTableSelectionCheckbox)({ key: cell.parentKey }, state)
2800
2849
  );
2801
2850
  const { focusProps, isFocusVisible } = (0, import_focus3.useFocusRing)();
2802
- const stateProps = (0, import_system61.useStateProps)({ disabled, focusVisible: isFocusVisible });
2803
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
2851
+ const stateProps = (0, import_system62.useStateProps)({ disabled, focusVisible: isFocusVisible });
2852
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
2804
2853
  "td",
2805
2854
  {
2806
2855
  ref,
2807
- className: (0, import_system61.cn)("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
2856
+ className: (0, import_system62.cn)("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
2808
2857
  ...(0, import_utils4.mergeProps)(gridCellProps, focusProps),
2809
2858
  ...stateProps,
2810
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(_Checkbox, { ...checkboxProps })
2859
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(_Checkbox, { ...checkboxProps })
2811
2860
  }
2812
2861
  );
2813
2862
  };
2814
2863
 
2815
2864
  // src/Table/TableColumnHeader.tsx
2816
- var import_react42 = require("react");
2865
+ var import_react43 = require("react");
2817
2866
  var import_focus4 = require("@react-aria/focus");
2818
2867
  var import_interactions = require("@react-aria/interactions");
2819
2868
  var import_table4 = require("@react-aria/table");
2820
2869
  var import_utils6 = require("@react-aria/utils");
2821
2870
  var import_icons3 = require("@marigold/icons");
2822
- var import_system62 = require("@marigold/system");
2823
2871
  var import_system63 = require("@marigold/system");
2824
- var import_jsx_runtime74 = require("react/jsx-runtime");
2872
+ var import_system64 = require("@marigold/system");
2873
+ var import_jsx_runtime75 = require("react/jsx-runtime");
2825
2874
  var TableColumnHeader = ({
2826
2875
  column,
2827
2876
  width = "auto",
2828
2877
  align = "left"
2829
2878
  }) => {
2830
2879
  var _a, _b;
2831
- const ref = (0, import_react42.useRef)(null);
2880
+ const ref = (0, import_react43.useRef)(null);
2832
2881
  const { state, classNames: classNames2 } = useTableContext();
2833
2882
  const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
2834
2883
  {
@@ -2839,22 +2888,22 @@ var TableColumnHeader = ({
2839
2888
  );
2840
2889
  const { hoverProps, isHovered } = (0, import_interactions.useHover)({});
2841
2890
  const { focusProps, isFocusVisible } = (0, import_focus4.useFocusRing)();
2842
- const stateProps = (0, import_system62.useStateProps)({
2891
+ const stateProps = (0, import_system63.useStateProps)({
2843
2892
  hover: isHovered,
2844
2893
  focusVisible: isFocusVisible
2845
2894
  });
2846
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
2895
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
2847
2896
  "th",
2848
2897
  {
2849
2898
  colSpan: column.colspan,
2850
2899
  ref,
2851
- className: (0, import_system62.cn)("cursor-default", import_system63.width[width], classNames2 == null ? void 0 : classNames2.header),
2900
+ className: (0, import_system63.cn)("cursor-default", import_system64.width[width], classNames2 == null ? void 0 : classNames2.header),
2852
2901
  ...(0, import_utils6.mergeProps)(columnHeaderProps, hoverProps, focusProps),
2853
2902
  ...stateProps,
2854
2903
  align,
2855
2904
  children: [
2856
2905
  column.rendered,
2857
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_icons3.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_icons3.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_icons3.SortDown, { className: "inline-block" }))
2906
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons3.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons3.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons3.SortDown, { className: "inline-block" }))
2858
2907
  ]
2859
2908
  }
2860
2909
  );
@@ -2862,10 +2911,10 @@ var TableColumnHeader = ({
2862
2911
 
2863
2912
  // src/Table/TableHeader.tsx
2864
2913
  var import_table5 = require("@react-aria/table");
2865
- var import_jsx_runtime75 = require("react/jsx-runtime");
2914
+ var import_jsx_runtime76 = require("react/jsx-runtime");
2866
2915
  var TableHeader = ({ stickyHeader, children }) => {
2867
2916
  const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
2868
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
2917
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
2869
2918
  "thead",
2870
2919
  {
2871
2920
  ...rowGroupProps,
@@ -2876,29 +2925,29 @@ var TableHeader = ({ stickyHeader, children }) => {
2876
2925
  };
2877
2926
 
2878
2927
  // src/Table/TableHeaderRow.tsx
2879
- var import_react43 = require("react");
2928
+ var import_react44 = require("react");
2880
2929
  var import_table6 = require("@react-aria/table");
2881
- var import_jsx_runtime76 = require("react/jsx-runtime");
2930
+ var import_jsx_runtime77 = require("react/jsx-runtime");
2882
2931
  var TableHeaderRow = ({ item, children }) => {
2883
2932
  const { state } = useTableContext();
2884
- const ref = (0, import_react43.useRef)(null);
2933
+ const ref = (0, import_react44.useRef)(null);
2885
2934
  const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
2886
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("tr", { ...rowProps, ref, children });
2935
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tr", { ...rowProps, ref, children });
2887
2936
  };
2888
2937
 
2889
2938
  // src/Table/TableRow.tsx
2890
- var import_react44 = require("react");
2939
+ var import_react45 = require("react");
2891
2940
  var import_focus5 = require("@react-aria/focus");
2892
2941
  var import_interactions2 = require("@react-aria/interactions");
2893
2942
  var import_table7 = require("@react-aria/table");
2894
2943
  var import_utils7 = require("@react-aria/utils");
2895
- var import_system64 = require("@marigold/system");
2896
- var import_jsx_runtime77 = require("react/jsx-runtime");
2944
+ var import_system65 = require("@marigold/system");
2945
+ var import_jsx_runtime78 = require("react/jsx-runtime");
2897
2946
  var TableRow = ({ children, row }) => {
2898
- const ref = (0, import_react44.useRef)(null);
2947
+ const ref = (0, import_react45.useRef)(null);
2899
2948
  const { interactive, state, ...ctx } = useTableContext();
2900
2949
  const { variant, size } = row.props;
2901
- const classNames2 = (0, import_system64.useClassNames)({
2950
+ const classNames2 = (0, import_system65.useClassNames)({
2902
2951
  component: "Table",
2903
2952
  variant: variant || ctx.variant,
2904
2953
  size: size || ctx.size
@@ -2916,18 +2965,18 @@ var TableRow = ({ children, row }) => {
2916
2965
  const { hoverProps, isHovered } = (0, import_interactions2.useHover)({
2917
2966
  isDisabled: disabled || !interactive
2918
2967
  });
2919
- const stateProps = (0, import_system64.useStateProps)({
2968
+ const stateProps = (0, import_system65.useStateProps)({
2920
2969
  disabled,
2921
2970
  selected,
2922
2971
  hover: isHovered,
2923
2972
  focusVisible: isFocusVisible,
2924
2973
  active: isPressed
2925
2974
  });
2926
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
2975
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
2927
2976
  "tr",
2928
2977
  {
2929
2978
  ref,
2930
- className: (0, import_system64.cn)(
2979
+ className: (0, import_system65.cn)(
2931
2980
  [
2932
2981
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
2933
2982
  ],
@@ -2941,19 +2990,19 @@ var TableRow = ({ children, row }) => {
2941
2990
  };
2942
2991
 
2943
2992
  // src/Table/TableSelectAllCell.tsx
2944
- var import_react45 = require("react");
2993
+ var import_react46 = require("react");
2945
2994
  var import_focus6 = require("@react-aria/focus");
2946
2995
  var import_interactions3 = require("@react-aria/interactions");
2947
2996
  var import_table8 = require("@react-aria/table");
2948
2997
  var import_utils8 = require("@react-aria/utils");
2949
- var import_system65 = require("@marigold/system");
2950
- var import_jsx_runtime78 = require("react/jsx-runtime");
2998
+ var import_system66 = require("@marigold/system");
2999
+ var import_jsx_runtime79 = require("react/jsx-runtime");
2951
3000
  var TableSelectAllCell = ({
2952
3001
  column,
2953
3002
  width = "auto",
2954
3003
  align = "left"
2955
3004
  }) => {
2956
- const ref = (0, import_react45.useRef)(null);
3005
+ const ref = (0, import_react46.useRef)(null);
2957
3006
  const { state, classNames: classNames2 } = useTableContext();
2958
3007
  const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
2959
3008
  {
@@ -2965,25 +3014,25 @@ var TableSelectAllCell = ({
2965
3014
  const { checkboxProps } = mapCheckboxProps((0, import_table8.useTableSelectAllCheckbox)(state));
2966
3015
  const { hoverProps, isHovered } = (0, import_interactions3.useHover)({});
2967
3016
  const { focusProps, isFocusVisible } = (0, import_focus6.useFocusRing)();
2968
- const stateProps = (0, import_system65.useStateProps)({
3017
+ const stateProps = (0, import_system66.useStateProps)({
2969
3018
  hover: isHovered,
2970
3019
  focusVisible: isFocusVisible
2971
3020
  });
2972
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
3021
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
2973
3022
  "th",
2974
3023
  {
2975
3024
  ref,
2976
- className: (0, import_system65.cn)(import_system65.width[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
3025
+ className: (0, import_system66.cn)(import_system66.width[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
2977
3026
  ...(0, import_utils8.mergeProps)(columnHeaderProps, hoverProps, focusProps),
2978
3027
  ...stateProps,
2979
3028
  align,
2980
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(_Checkbox, { ...checkboxProps })
3029
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(_Checkbox, { ...checkboxProps })
2981
3030
  }
2982
3031
  );
2983
3032
  };
2984
3033
 
2985
3034
  // src/Table/Table.tsx
2986
- var import_jsx_runtime79 = require("react/jsx-runtime");
3035
+ var import_jsx_runtime80 = require("react/jsx-runtime");
2987
3036
  var Table = ({
2988
3037
  variant,
2989
3038
  size,
@@ -2993,7 +3042,7 @@ var Table = ({
2993
3042
  ...props
2994
3043
  }) => {
2995
3044
  const interactive = selectionMode !== "none";
2996
- const tableRef = (0, import_react46.useRef)(null);
3045
+ const tableRef = (0, import_react47.useRef)(null);
2997
3046
  const state = (0, import_table10.useTableState)({
2998
3047
  ...props,
2999
3048
  selectionMode,
@@ -3001,21 +3050,21 @@ var Table = ({
3001
3050
  props.selectionBehavior !== "replace"
3002
3051
  });
3003
3052
  const { gridProps } = (0, import_table9.useTable)(props, state, tableRef);
3004
- const classNames2 = (0, import_system66.useClassNames)({
3053
+ const classNames2 = (0, import_system67.useClassNames)({
3005
3054
  component: "Table",
3006
3055
  variant,
3007
3056
  size
3008
3057
  });
3009
3058
  const { collection } = state;
3010
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3059
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3011
3060
  TableContext.Provider,
3012
3061
  {
3013
3062
  value: { state, interactive, classNames: classNames2, variant, size },
3014
- children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
3063
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
3015
3064
  "table",
3016
3065
  {
3017
3066
  ref: tableRef,
3018
- className: (0, import_system66.cn)(
3067
+ className: (0, import_system67.cn)(
3019
3068
  "group/table",
3020
3069
  "border-collapse whitespace-nowrap",
3021
3070
  stretch ? "table w-full" : "block",
@@ -3023,10 +3072,10 @@ var Table = ({
3023
3072
  ),
3024
3073
  ...gridProps,
3025
3074
  children: [
3026
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3075
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3027
3076
  (column) => {
3028
3077
  var _a, _b, _c, _d, _e;
3029
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3078
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3030
3079
  TableSelectAllCell,
3031
3080
  {
3032
3081
  width: (_b = column.props) == null ? void 0 : _b.width,
@@ -3034,7 +3083,7 @@ var Table = ({
3034
3083
  align: (_c = column.props) == null ? void 0 : _c.align
3035
3084
  },
3036
3085
  column.key
3037
- ) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3086
+ ) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3038
3087
  TableColumnHeader,
3039
3088
  {
3040
3089
  width: (_d = column.props) == null ? void 0 : _d.width,
@@ -3045,12 +3094,12 @@ var Table = ({
3045
3094
  );
3046
3095
  }
3047
3096
  ) }, headerRow.key)) }),
3048
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(TableBody, { children: [
3097
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(TableBody, { children: [
3049
3098
  ...collection.rows.map(
3050
- (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3099
+ (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3051
3100
  var _a, _b;
3052
3101
  const currentColumn = collection.columns[index];
3053
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3102
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3054
3103
  TableCell,
3055
3104
  {
3056
3105
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -3074,8 +3123,8 @@ Table.Header = import_table10.TableHeader;
3074
3123
  Table.Row = import_table10.Row;
3075
3124
 
3076
3125
  // src/Text/Text.tsx
3077
- var import_system67 = require("@marigold/system");
3078
- var import_jsx_runtime80 = require("react/jsx-runtime");
3126
+ var import_system68 = require("@marigold/system");
3127
+ var import_jsx_runtime81 = require("react/jsx-runtime");
3079
3128
  var Text2 = ({
3080
3129
  variant,
3081
3130
  size,
@@ -3088,27 +3137,27 @@ var Text2 = ({
3088
3137
  children,
3089
3138
  ...props
3090
3139
  }) => {
3091
- const theme = (0, import_system67.useTheme)();
3092
- const classNames2 = (0, import_system67.useClassNames)({
3140
+ const theme = (0, import_system68.useTheme)();
3141
+ const classNames2 = (0, import_system68.useClassNames)({
3093
3142
  component: "Text",
3094
3143
  variant,
3095
3144
  size
3096
3145
  });
3097
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3146
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3098
3147
  "p",
3099
3148
  {
3100
3149
  ...props,
3101
- className: (0, import_system67.cn)(
3150
+ className: (0, import_system68.cn)(
3102
3151
  "text-[--color] outline-[--outline]",
3103
3152
  classNames2,
3104
- fontStyle && import_system67.textStyle[fontStyle],
3105
- align && import_system67.textAlign[align],
3106
- cursor && import_system67.cursorStyle[cursor],
3107
- weight && import_system67.fontWeight[weight],
3108
- fontSize && import_system67.textSize[fontSize]
3153
+ fontStyle && import_system68.textStyle[fontStyle],
3154
+ align && import_system68.textAlign[align],
3155
+ cursor && import_system68.cursorStyle[cursor],
3156
+ weight && import_system68.fontWeight[weight],
3157
+ fontSize && import_system68.textSize[fontSize]
3109
3158
  ),
3110
- style: (0, import_system67.createVar)({
3111
- color: color && (0, import_system67.getColor)(
3159
+ style: (0, import_system68.createVar)({
3160
+ color: color && (0, import_system68.getColor)(
3112
3161
  theme,
3113
3162
  color,
3114
3163
  color
@@ -3121,11 +3170,11 @@ var Text2 = ({
3121
3170
  };
3122
3171
 
3123
3172
  // src/TextArea/TextArea.tsx
3124
- var import_react47 = require("react");
3125
- var import_react_aria_components46 = require("react-aria-components");
3126
- var import_system68 = require("@marigold/system");
3127
- var import_jsx_runtime81 = require("react/jsx-runtime");
3128
- var _TextArea = (0, import_react47.forwardRef)(
3173
+ var import_react48 = require("react");
3174
+ var import_react_aria_components47 = require("react-aria-components");
3175
+ var import_system69 = require("@marigold/system");
3176
+ var import_jsx_runtime82 = require("react/jsx-runtime");
3177
+ var _TextArea = (0, import_react48.forwardRef)(
3129
3178
  ({
3130
3179
  variant,
3131
3180
  size,
@@ -3136,7 +3185,7 @@ var _TextArea = (0, import_react47.forwardRef)(
3136
3185
  rows,
3137
3186
  ...rest
3138
3187
  }, ref) => {
3139
- const classNames2 = (0, import_system68.useClassNames)({ component: "TextArea", variant, size });
3188
+ const classNames2 = (0, import_system69.useClassNames)({ component: "TextArea", variant, size });
3140
3189
  const props = {
3141
3190
  isDisabled: disabled,
3142
3191
  isReadOnly: readOnly,
@@ -3144,15 +3193,15 @@ var _TextArea = (0, import_react47.forwardRef)(
3144
3193
  isRequired: required,
3145
3194
  ...rest
3146
3195
  };
3147
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(FieldBase, { as: import_react_aria_components46.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_react_aria_components46.TextArea, { className: classNames2, ref, rows }) });
3196
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(FieldBase, { as: import_react_aria_components47.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_react_aria_components47.TextArea, { className: classNames2, ref, rows }) });
3148
3197
  }
3149
3198
  );
3150
3199
 
3151
3200
  // src/TextField/TextField.tsx
3152
- var import_react48 = require("react");
3153
- var import_react_aria_components47 = require("react-aria-components");
3154
- var import_jsx_runtime82 = require("react/jsx-runtime");
3155
- var _TextField = (0, import_react48.forwardRef)(
3201
+ var import_react49 = require("react");
3202
+ var import_react_aria_components48 = require("react-aria-components");
3203
+ var import_jsx_runtime83 = require("react/jsx-runtime");
3204
+ var _TextField = (0, import_react49.forwardRef)(
3156
3205
  ({
3157
3206
  variant,
3158
3207
  size,
@@ -3169,13 +3218,13 @@ var _TextField = (0, import_react48.forwardRef)(
3169
3218
  isRequired: required,
3170
3219
  ...rest
3171
3220
  };
3172
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(FieldBase, { as: import_react_aria_components47.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(_Input, { ref }) });
3221
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(FieldBase, { as: import_react_aria_components48.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(_Input, { ref }) });
3173
3222
  }
3174
3223
  );
3175
3224
 
3176
3225
  // src/Tiles/Tiles.tsx
3177
- var import_system69 = require("@marigold/system");
3178
- var import_jsx_runtime83 = require("react/jsx-runtime");
3226
+ var import_system70 = require("@marigold/system");
3227
+ var import_jsx_runtime84 = require("react/jsx-runtime");
3179
3228
  var Tiles = ({
3180
3229
  space = 0,
3181
3230
  stretch = false,
@@ -3188,29 +3237,29 @@ var Tiles = ({
3188
3237
  if (stretch) {
3189
3238
  column = `minmax(${column}, 1fr)`;
3190
3239
  }
3191
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3240
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3192
3241
  "div",
3193
3242
  {
3194
3243
  ...props,
3195
- className: (0, import_system69.cn)(
3244
+ className: (0, import_system70.cn)(
3196
3245
  "grid",
3197
- import_system69.gapSpace[space],
3246
+ import_system70.gapSpace[space],
3198
3247
  "grid-cols-[repeat(auto-fit,var(--column))]",
3199
3248
  equalHeight && "auto-rows-[1fr]"
3200
3249
  ),
3201
- style: (0, import_system69.createVar)({ column, tilesWidth }),
3250
+ style: (0, import_system70.createVar)({ column, tilesWidth }),
3202
3251
  children
3203
3252
  }
3204
3253
  );
3205
3254
  };
3206
3255
 
3207
3256
  // src/Tooltip/Tooltip.tsx
3208
- var import_react_aria_components49 = require("react-aria-components");
3209
- var import_system70 = require("@marigold/system");
3257
+ var import_react_aria_components50 = require("react-aria-components");
3258
+ var import_system71 = require("@marigold/system");
3210
3259
 
3211
3260
  // src/Tooltip/TooltipTrigger.tsx
3212
- var import_react_aria_components48 = require("react-aria-components");
3213
- var import_jsx_runtime84 = require("react/jsx-runtime");
3261
+ var import_react_aria_components49 = require("react-aria-components");
3262
+ var import_jsx_runtime85 = require("react/jsx-runtime");
3214
3263
  var _TooltipTrigger = ({
3215
3264
  delay = 1e3,
3216
3265
  children,
@@ -3224,32 +3273,32 @@ var _TooltipTrigger = ({
3224
3273
  isOpen: open,
3225
3274
  delay
3226
3275
  };
3227
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_aria_components48.TooltipTrigger, { ...props, children });
3276
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_aria_components49.TooltipTrigger, { ...props, children });
3228
3277
  };
3229
3278
 
3230
3279
  // src/Tooltip/Tooltip.tsx
3231
- var import_jsx_runtime85 = require("react/jsx-runtime");
3280
+ var import_jsx_runtime86 = require("react/jsx-runtime");
3232
3281
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3233
3282
  const props = {
3234
3283
  ...rest,
3235
3284
  isOpen: open
3236
3285
  };
3237
- const classNames2 = (0, import_system70.useClassNames)({ component: "Tooltip", variant, size });
3238
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_react_aria_components49.Tooltip, { ...props, className: (0, import_system70.cn)("group/tooltip", classNames2.container), children: [
3239
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_aria_components49.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3286
+ const classNames2 = (0, import_system71.useClassNames)({ component: "Tooltip", variant, size });
3287
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_react_aria_components50.Tooltip, { ...props, className: (0, import_system71.cn)("group/tooltip", classNames2.container), children: [
3288
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_aria_components50.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3240
3289
  children
3241
3290
  ] });
3242
3291
  };
3243
3292
  _Tooltip.Trigger = _TooltipTrigger;
3244
3293
 
3245
3294
  // src/TagGroup/Tag.tsx
3246
- var import_react_aria_components51 = require("react-aria-components");
3247
- var import_system72 = require("@marigold/system");
3295
+ var import_react_aria_components52 = require("react-aria-components");
3296
+ var import_system73 = require("@marigold/system");
3248
3297
 
3249
3298
  // src/TagGroup/TagGroup.tsx
3250
- var import_react_aria_components50 = require("react-aria-components");
3251
- var import_system71 = require("@marigold/system");
3252
- var import_jsx_runtime86 = require("react/jsx-runtime");
3299
+ var import_react_aria_components51 = require("react-aria-components");
3300
+ var import_system72 = require("@marigold/system");
3301
+ var import_jsx_runtime87 = require("react/jsx-runtime");
3253
3302
  var _TagGroup = ({
3254
3303
  width,
3255
3304
  items,
@@ -3259,9 +3308,9 @@ var _TagGroup = ({
3259
3308
  size,
3260
3309
  ...rest
3261
3310
  }) => {
3262
- const classNames2 = (0, import_system71.useClassNames)({ component: "Tag", variant, size });
3263
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(FieldBase, { as: import_react_aria_components50.TagGroup, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
3264
- import_react_aria_components50.TagList,
3311
+ const classNames2 = (0, import_system72.useClassNames)({ component: "Tag", variant, size });
3312
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(FieldBase, { as: import_react_aria_components51.TagGroup, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
3313
+ import_react_aria_components51.TagList,
3265
3314
  {
3266
3315
  items,
3267
3316
  className: classNames2.listItems,
@@ -3272,19 +3321,19 @@ var _TagGroup = ({
3272
3321
  };
3273
3322
 
3274
3323
  // src/TagGroup/Tag.tsx
3275
- var import_jsx_runtime87 = require("react/jsx-runtime");
3324
+ var import_jsx_runtime88 = require("react/jsx-runtime");
3276
3325
  var CloseButton2 = ({ className }) => {
3277
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_aria_components51.Button, { slot: "remove", className, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
3326
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria_components52.Button, { slot: "remove", className, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
3278
3327
  };
3279
3328
  var _Tag = ({ variant, size, children, ...props }) => {
3280
3329
  let textValue = typeof children === "string" ? children : void 0;
3281
- const classNames2 = (0, import_system72.useClassNames)({ component: "Tag", variant, size });
3282
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_aria_components51.Tag, { textValue, ...props, className: classNames2.tag, children: ({ allowsRemoving }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
3330
+ const classNames2 = (0, import_system73.useClassNames)({ component: "Tag", variant, size });
3331
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria_components52.Tag, { textValue, ...props, className: classNames2.tag, children: ({ allowsRemoving }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
3283
3332
  children,
3284
- allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
3333
+ allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3285
3334
  CloseButton2,
3286
3335
  {
3287
- className: (0, import_system72.cn)("flex items-center", classNames2.closeButton)
3336
+ className: (0, import_system73.cn)("flex items-center", classNames2.closeButton)
3288
3337
  }
3289
3338
  )
3290
3339
  ] }) });
@@ -3295,11 +3344,11 @@ _Tag.Group = _TagGroup;
3295
3344
  var import_visually_hidden = require("@react-aria/visually-hidden");
3296
3345
 
3297
3346
  // src/XLoader/XLoader.tsx
3298
- var import_react49 = require("react");
3299
- var import_system73 = require("@marigold/system");
3300
- var import_jsx_runtime88 = require("react/jsx-runtime");
3301
- var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
3302
- import_system73.SVG,
3347
+ var import_react50 = require("react");
3348
+ var import_system74 = require("@marigold/system");
3349
+ var import_jsx_runtime89 = require("react/jsx-runtime");
3350
+ var XLoader = (0, import_react50.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
3351
+ import_system74.SVG,
3303
3352
  {
3304
3353
  id: "XLoader",
3305
3354
  xmlns: "http://www.w3.org/2000/svg",
@@ -3308,13 +3357,13 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3308
3357
  ...props,
3309
3358
  ...ref,
3310
3359
  children: [
3311
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3312
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3360
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3361
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3313
3362
  "path",
3314
3363
  {
3315
3364
  id: "XMLID_5_",
3316
3365
  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",
3317
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3366
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3318
3367
  "animate",
3319
3368
  {
3320
3369
  attributeName: "opacity",
@@ -3327,12 +3376,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3327
3376
  )
3328
3377
  }
3329
3378
  ),
3330
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3379
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3331
3380
  "path",
3332
3381
  {
3333
3382
  id: "XMLID_18_",
3334
3383
  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",
3335
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3384
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3336
3385
  "animate",
3337
3386
  {
3338
3387
  attributeName: "opacity",
@@ -3345,12 +3394,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3345
3394
  )
3346
3395
  }
3347
3396
  ),
3348
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3397
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3349
3398
  "path",
3350
3399
  {
3351
3400
  id: "XMLID_19_",
3352
3401
  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",
3353
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3402
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3354
3403
  "animate",
3355
3404
  {
3356
3405
  attributeName: "opacity",
@@ -3363,12 +3412,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3363
3412
  )
3364
3413
  }
3365
3414
  ),
3366
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3415
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3367
3416
  "path",
3368
3417
  {
3369
3418
  id: "XMLID_20_",
3370
3419
  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",
3371
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3420
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3372
3421
  "animate",
3373
3422
  {
3374
3423
  attributeName: "opacity",
@@ -3381,12 +3430,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3381
3430
  )
3382
3431
  }
3383
3432
  ),
3384
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3433
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3385
3434
  "path",
3386
3435
  {
3387
3436
  id: "XMLID_21_",
3388
3437
  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",
3389
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3438
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3390
3439
  "animate",
3391
3440
  {
3392
3441
  attributeName: "opacity",
@@ -3399,12 +3448,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3399
3448
  )
3400
3449
  }
3401
3450
  ),
3402
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3451
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3403
3452
  "path",
3404
3453
  {
3405
3454
  id: "XMLID_22_",
3406
3455
  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",
3407
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3456
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3408
3457
  "animate",
3409
3458
  {
3410
3459
  attributeName: "opacity",
@@ -3417,12 +3466,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3417
3466
  )
3418
3467
  }
3419
3468
  ),
3420
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3469
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3421
3470
  "path",
3422
3471
  {
3423
3472
  id: "XMLID_23_",
3424
3473
  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",
3425
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3474
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3426
3475
  "animate",
3427
3476
  {
3428
3477
  attributeName: "opacity",
@@ -3435,12 +3484,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3435
3484
  )
3436
3485
  }
3437
3486
  ),
3438
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3487
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3439
3488
  "path",
3440
3489
  {
3441
3490
  id: "XMLID_24_",
3442
3491
  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",
3443
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3492
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3444
3493
  "animate",
3445
3494
  {
3446
3495
  attributeName: "opacity",
@@ -3453,12 +3502,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3453
3502
  )
3454
3503
  }
3455
3504
  ),
3456
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3505
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3457
3506
  "path",
3458
3507
  {
3459
3508
  id: "XMLID_25_",
3460
3509
  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",
3461
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3510
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3462
3511
  "animate",
3463
3512
  {
3464
3513
  attributeName: "opacity",
@@ -3471,12 +3520,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3471
3520
  )
3472
3521
  }
3473
3522
  ),
3474
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3523
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3475
3524
  "path",
3476
3525
  {
3477
3526
  id: "XMLID_26_",
3478
3527
  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",
3479
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3528
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3480
3529
  "animate",
3481
3530
  {
3482
3531
  attributeName: "opacity",
@@ -3489,12 +3538,12 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3489
3538
  )
3490
3539
  }
3491
3540
  ),
3492
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3541
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3493
3542
  "path",
3494
3543
  {
3495
3544
  id: "XMLID_27_",
3496
3545
  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",
3497
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3546
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3498
3547
  "animate",
3499
3548
  {
3500
3549
  attributeName: "opacity",
@@ -3512,25 +3561,25 @@ var XLoader = (0, import_react49.forwardRef)((props, ref) => /* @__PURE__ */ (0,
3512
3561
  ));
3513
3562
 
3514
3563
  // src/Tabs/Tabs.tsx
3515
- var import_react_aria_components55 = require("react-aria-components");
3516
- var import_system76 = require("@marigold/system");
3564
+ var import_react_aria_components56 = require("react-aria-components");
3565
+ var import_system77 = require("@marigold/system");
3517
3566
 
3518
3567
  // src/Tabs/Context.ts
3519
- var import_react50 = require("react");
3520
- var TabContext = (0, import_react50.createContext)({});
3521
- var useTabContext = () => (0, import_react50.useContext)(TabContext);
3568
+ var import_react51 = require("react");
3569
+ var TabContext = (0, import_react51.createContext)({});
3570
+ var useTabContext = () => (0, import_react51.useContext)(TabContext);
3522
3571
 
3523
3572
  // src/Tabs/Tab.tsx
3524
- var import_react_aria_components52 = require("react-aria-components");
3525
- var import_system74 = require("@marigold/system");
3526
- var import_jsx_runtime89 = require("react/jsx-runtime");
3573
+ var import_react_aria_components53 = require("react-aria-components");
3574
+ var import_system75 = require("@marigold/system");
3575
+ var import_jsx_runtime90 = require("react/jsx-runtime");
3527
3576
  var _Tab = (props) => {
3528
3577
  const { classNames: classNames2 } = useTabContext();
3529
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3530
- import_react_aria_components52.Tab,
3578
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3579
+ import_react_aria_components53.Tab,
3531
3580
  {
3532
3581
  ...props,
3533
- className: (0, import_system74.cn)(
3582
+ className: (0, import_system75.cn)(
3534
3583
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
3535
3584
  classNames2.tab
3536
3585
  ),
@@ -3540,46 +3589,49 @@ var _Tab = (props) => {
3540
3589
  };
3541
3590
 
3542
3591
  // src/Tabs/TabList.tsx
3543
- var import_react_aria_components53 = require("react-aria-components");
3544
- var import_system75 = require("@marigold/system");
3545
- var import_jsx_runtime90 = require("react/jsx-runtime");
3592
+ var import_react_aria_components54 = require("react-aria-components");
3593
+ var import_system76 = require("@marigold/system");
3594
+ var import_jsx_runtime91 = require("react/jsx-runtime");
3546
3595
  var _TabList = ({ space = 2, ...props }) => {
3547
3596
  const { classNames: classNames2 } = useTabContext();
3548
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3549
- import_react_aria_components53.TabList,
3597
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
3598
+ import_react_aria_components54.TabList,
3550
3599
  {
3551
3600
  ...props,
3552
- className: (0, import_system75.cn)("flex", import_system75.gapSpace[space], classNames2.tabsList),
3601
+ className: (0, import_system76.cn)("flex", import_system76.gapSpace[space], classNames2.tabsList),
3553
3602
  children: props.children
3554
3603
  }
3555
3604
  );
3556
3605
  };
3557
3606
 
3558
3607
  // src/Tabs/TabPanel.tsx
3559
- var import_react_aria_components54 = require("react-aria-components");
3560
- var import_jsx_runtime91 = require("react/jsx-runtime");
3608
+ var import_react_aria_components55 = require("react-aria-components");
3609
+ var import_jsx_runtime92 = require("react/jsx-runtime");
3561
3610
  var _TabPanel = (props) => {
3562
3611
  const { classNames: classNames2 } = useTabContext();
3563
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_aria_components54.TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3612
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_aria_components55.TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3564
3613
  };
3565
3614
 
3566
3615
  // src/Tabs/Tabs.tsx
3567
- var import_jsx_runtime92 = require("react/jsx-runtime");
3616
+ var import_jsx_runtime93 = require("react/jsx-runtime");
3568
3617
  var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3569
3618
  const props = {
3570
3619
  isDisabled: disabled,
3571
3620
  ...rest
3572
3621
  };
3573
- const classNames2 = (0, import_system76.useClassNames)({
3622
+ const classNames2 = (0, import_system77.useClassNames)({
3574
3623
  component: "Tabs",
3575
3624
  size,
3576
3625
  variant
3577
3626
  });
3578
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_react_aria_components55.Tabs, { ...props, className: classNames2.container, children: props.children }) });
3627
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_aria_components56.Tabs, { ...props, className: classNames2.container, children: props.children }) });
3579
3628
  };
3580
3629
  _Tabs.List = _TabList;
3581
3630
  _Tabs.TabPanel = _TabPanel;
3582
3631
  _Tabs.Item = _Tab;
3632
+
3633
+ // src/RouterProvider/RouterProvider.tsx
3634
+ var import_react_aria_components57 = require("react-aria-components");
3583
3635
  // Annotate the CommonJS export names for ESM import in node:
3584
3636
  0 && (module.exports = {
3585
3637
  Accordion,
@@ -3629,6 +3681,7 @@ _Tabs.Item = _Tab;
3629
3681
  Popover,
3630
3682
  Radio,
3631
3683
  RadioGroup,
3684
+ RouterProvider,
3632
3685
  Scrollable,
3633
3686
  SearchField,
3634
3687
  Select,