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