@marigold/components 7.4.0 → 7.5.1

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