@marigold/components 4.2.2 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -93,12 +93,12 @@ var Breakout = ({
93
93
  const alignItems = useAlignment(alignY);
94
94
  const justifyContent = useAlignment(alignX);
95
95
  return /* @__PURE__ */ React4.createElement(Box, {
96
- alignItems,
97
- justifyContent,
98
- width: "100%",
99
- height,
100
- display: alignY || alignX ? "flex" : "block",
101
- __baseCSS: {
96
+ css: {
97
+ alignItems,
98
+ justifyContent,
99
+ height,
100
+ width: "100%",
101
+ display: alignY || alignX ? "flex" : "block",
102
102
  gridColumn: "1 / -1 !important"
103
103
  },
104
104
  ...props
@@ -662,8 +662,8 @@ var Container = ({
662
662
  }) => {
663
663
  const maxWidth = tokenSize[contentType][size];
664
664
  return /* @__PURE__ */ React16.createElement(Box, {
665
- display: "grid",
666
665
  css: {
666
+ display: "grid",
667
667
  gridTemplateColumns: ALIGN[align](maxWidth).gridTemplateColumns,
668
668
  placeItems: ALIGN_ITEMS[alignItems],
669
669
  "> *": {
@@ -675,7 +675,7 @@ var Container = ({
675
675
  };
676
676
 
677
677
  // src/Dialog/Dialog.tsx
678
- import React25, { useRef as useRef3 } from "react";
678
+ import React26, { useRef as useRef3 } from "react";
679
679
  import { useButton as useButton2 } from "@react-aria/button";
680
680
  import { useDialog } from "@react-aria/dialog";
681
681
  import {
@@ -973,6 +973,33 @@ var DialogTrigger = ({
973
973
  }, dialog)));
974
974
  };
975
975
 
976
+ // src/Dialog/DialogController.tsx
977
+ import { useOverlayTriggerState as useOverlayTriggerState2 } from "@react-stately/overlays";
978
+ import React25 from "react";
979
+ var DialogController = ({
980
+ children,
981
+ dismissable = true,
982
+ keyboardDismissable = true,
983
+ open,
984
+ onOpenChange
985
+ }) => {
986
+ const state = useOverlayTriggerState2({
987
+ isOpen: open,
988
+ onOpenChange
989
+ });
990
+ const ctx = { open: state.isOpen, close: state.close };
991
+ return /* @__PURE__ */ React25.createElement(DialogContext.Provider, {
992
+ value: ctx
993
+ }, /* @__PURE__ */ React25.createElement(Overlay, {
994
+ open: state.isOpen
995
+ }, /* @__PURE__ */ React25.createElement(Modal, {
996
+ open: state.isOpen,
997
+ onClose: state.close,
998
+ dismissable,
999
+ keyboardDismissable
1000
+ }, children)));
1001
+ };
1002
+
976
1003
  // src/Dialog/Dialog.tsx
977
1004
  var CloseButton = ({ css }) => {
978
1005
  const ref = useRef3(null);
@@ -983,9 +1010,9 @@ var CloseButton = ({ css }) => {
983
1010
  },
984
1011
  ref
985
1012
  );
986
- return /* @__PURE__ */ React25.createElement(Box13, {
1013
+ return /* @__PURE__ */ React26.createElement(Box13, {
987
1014
  css: { display: "flex", justifyContent: "flex-end" }
988
- }, /* @__PURE__ */ React25.createElement(Box13, {
1015
+ }, /* @__PURE__ */ React26.createElement(Box13, {
989
1016
  as: "button",
990
1017
  __baseCSS: {
991
1018
  outline: "none",
@@ -999,19 +1026,19 @@ var CloseButton = ({ css }) => {
999
1026
  css,
1000
1027
  ref,
1001
1028
  ...buttonProps
1002
- }, /* @__PURE__ */ React25.createElement("svg", {
1029
+ }, /* @__PURE__ */ React26.createElement("svg", {
1003
1030
  viewBox: "0 0 20 20",
1004
1031
  fill: "currentColor"
1005
- }, /* @__PURE__ */ React25.createElement("path", {
1032
+ }, /* @__PURE__ */ React26.createElement("path", {
1006
1033
  fillRule: "evenodd",
1007
1034
  clipRule: "evenodd",
1008
1035
  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"
1009
1036
  }))));
1010
1037
  };
1011
1038
  var addTitleProps = (children, titleProps) => {
1012
- const childs = React25.Children.toArray(children);
1039
+ const childs = React26.Children.toArray(children);
1013
1040
  const titleIndex = childs.findIndex(
1014
- (child) => React25.isValidElement(child) && (child.type === Header || child.type === Headline)
1041
+ (child) => React26.isValidElement(child) && (child.type === Header || child.type === Headline)
1015
1042
  );
1016
1043
  if (titleIndex < 0) {
1017
1044
  console.warn(
@@ -1019,7 +1046,7 @@ var addTitleProps = (children, titleProps) => {
1019
1046
  );
1020
1047
  return children;
1021
1048
  }
1022
- const titleChild = React25.cloneElement(
1049
+ const titleChild = React26.cloneElement(
1023
1050
  childs[titleIndex],
1024
1051
  titleProps
1025
1052
  );
@@ -1041,24 +1068,25 @@ var Dialog = ({
1041
1068
  { variant, size },
1042
1069
  { parts: ["container", "closeButton"] }
1043
1070
  );
1044
- return /* @__PURE__ */ React25.createElement(Box13, {
1071
+ return /* @__PURE__ */ React26.createElement(Box13, {
1045
1072
  __baseCSS: { bg: "#fff" },
1046
1073
  css: styles.container,
1047
1074
  ...dialogProps
1048
- }, closeButton && /* @__PURE__ */ React25.createElement(CloseButton, {
1075
+ }, closeButton && /* @__PURE__ */ React26.createElement(CloseButton, {
1049
1076
  css: styles.closeButton
1050
1077
  }), typeof children === "function" ? children({ close, titleProps }) : props["aria-labelledby"] ? children : addTitleProps(children, titleProps));
1051
1078
  };
1052
1079
  Dialog.Trigger = DialogTrigger;
1080
+ Dialog.Controller = DialogController;
1053
1081
 
1054
1082
  // src/Divider/Divider.tsx
1055
- import React26 from "react";
1083
+ import React27 from "react";
1056
1084
  import { useSeparator } from "@react-aria/separator";
1057
1085
  import { Box as Box14, useComponentStyles as useComponentStyles13 } from "@marigold/system";
1058
1086
  var Divider = ({ variant, ...props }) => {
1059
1087
  const { separatorProps } = useSeparator(props);
1060
1088
  const styles = useComponentStyles13("Divider", { variant });
1061
- return /* @__PURE__ */ React26.createElement(Box14, {
1089
+ return /* @__PURE__ */ React27.createElement(Box14, {
1062
1090
  css: styles,
1063
1091
  ...props,
1064
1092
  ...separatorProps
@@ -1066,13 +1094,13 @@ var Divider = ({ variant, ...props }) => {
1066
1094
  };
1067
1095
 
1068
1096
  // src/Footer/Footer.tsx
1069
- import React27 from "react";
1097
+ import React28 from "react";
1070
1098
  import {
1071
1099
  useComponentStyles as useComponentStyles14
1072
1100
  } from "@marigold/system";
1073
1101
  var Footer = ({ children, variant, size, ...props }) => {
1074
1102
  const styles = useComponentStyles14("Footer", { variant, size });
1075
- return /* @__PURE__ */ React27.createElement(Box, {
1103
+ return /* @__PURE__ */ React28.createElement(Box, {
1076
1104
  as: "footer",
1077
1105
  ...props,
1078
1106
  css: styles
@@ -1080,7 +1108,7 @@ var Footer = ({ children, variant, size, ...props }) => {
1080
1108
  };
1081
1109
 
1082
1110
  // src/Image/Image.tsx
1083
- import React28 from "react";
1111
+ import React29 from "react";
1084
1112
  import { Box as Box15 } from "@marigold/system";
1085
1113
  import { useComponentStyles as useComponentStyles15 } from "@marigold/system";
1086
1114
  var Image = ({
@@ -1096,7 +1124,7 @@ var Image = ({
1096
1124
  objectFit: fit,
1097
1125
  objectPosition: position
1098
1126
  };
1099
- return /* @__PURE__ */ React28.createElement(Box15, {
1127
+ return /* @__PURE__ */ React29.createElement(Box15, {
1100
1128
  ...props,
1101
1129
  as: "img",
1102
1130
  __baseCSS: fit ? { width: " 100%", height: "100%" } : {},
@@ -1105,7 +1133,7 @@ var Image = ({
1105
1133
  };
1106
1134
 
1107
1135
  // src/Inline/Inline.tsx
1108
- import React29 from "react";
1136
+ import React30 from "react";
1109
1137
  var ALIGNMENT_X = {
1110
1138
  left: "flex-start",
1111
1139
  center: "center",
@@ -1122,7 +1150,7 @@ var Inline = ({
1122
1150
  alignY = "center",
1123
1151
  children,
1124
1152
  ...props
1125
- }) => /* @__PURE__ */ React29.createElement(Box, {
1153
+ }) => /* @__PURE__ */ React30.createElement(Box, {
1126
1154
  css: {
1127
1155
  display: "flex",
1128
1156
  flexWrap: "wrap",
@@ -1134,12 +1162,12 @@ var Inline = ({
1134
1162
  }, children);
1135
1163
 
1136
1164
  // src/Input/Input.tsx
1137
- import React30, { forwardRef as forwardRef6 } from "react";
1165
+ import React31, { forwardRef as forwardRef6 } from "react";
1138
1166
  import { Box as Box16, useComponentStyles as useComponentStyles16 } from "@marigold/system";
1139
1167
  var Input = forwardRef6(
1140
1168
  ({ variant, size, type = "text", ...props }, ref) => {
1141
1169
  const styles = useComponentStyles16("Input", { variant, size });
1142
- return /* @__PURE__ */ React30.createElement(Box16, {
1170
+ return /* @__PURE__ */ React31.createElement(Box16, {
1143
1171
  ...props,
1144
1172
  ref,
1145
1173
  as: "input",
@@ -1150,7 +1178,7 @@ var Input = forwardRef6(
1150
1178
  );
1151
1179
 
1152
1180
  // src/Link/Link.tsx
1153
- import React31, { forwardRef as forwardRef7 } from "react";
1181
+ import React32, { forwardRef as forwardRef7 } from "react";
1154
1182
  import { useLink } from "@react-aria/link";
1155
1183
  import { useComponentStyles as useComponentStyles17 } from "@marigold/system";
1156
1184
  import { useObjectRef as useObjectRef6 } from "@react-aria/utils";
@@ -1175,19 +1203,19 @@ var Link = forwardRef7(
1175
1203
  linkRef
1176
1204
  );
1177
1205
  const styles = useComponentStyles17("Link", { variant, size });
1178
- return /* @__PURE__ */ React31.createElement(React31.Fragment, null, " ", /* @__PURE__ */ React31.createElement(Box, {
1206
+ return /* @__PURE__ */ React32.createElement(Box, {
1179
1207
  as,
1180
1208
  role: "link",
1181
1209
  css: styles,
1182
1210
  ref: linkRef,
1183
1211
  ...props,
1184
1212
  ...linkProps
1185
- }, children), " ");
1213
+ }, children);
1186
1214
  }
1187
1215
  );
1188
1216
 
1189
1217
  // src/List/List.tsx
1190
- import React33 from "react";
1218
+ import React34 from "react";
1191
1219
  import {
1192
1220
  Box as Box18,
1193
1221
  useComponentStyles as useComponentStyles18
@@ -1199,11 +1227,11 @@ var ListContext = createContext4({});
1199
1227
  var useListContext = () => useContext4(ListContext);
1200
1228
 
1201
1229
  // src/List/ListItem.tsx
1202
- import React32 from "react";
1230
+ import React33 from "react";
1203
1231
  import { Box as Box17 } from "@marigold/system";
1204
1232
  var ListItem = ({ children, ...props }) => {
1205
1233
  const { styles } = useListContext();
1206
- return /* @__PURE__ */ React32.createElement(Box17, {
1234
+ return /* @__PURE__ */ React33.createElement(Box17, {
1207
1235
  ...props,
1208
1236
  as: "li",
1209
1237
  css: styles
@@ -1223,18 +1251,18 @@ var List = ({
1223
1251
  { variant, size },
1224
1252
  { parts: ["ul", "ol", "item"] }
1225
1253
  );
1226
- return /* @__PURE__ */ React33.createElement(Box18, {
1254
+ return /* @__PURE__ */ React34.createElement(Box18, {
1227
1255
  ...props,
1228
1256
  as,
1229
1257
  css: styles[as]
1230
- }, /* @__PURE__ */ React33.createElement(ListContext.Provider, {
1258
+ }, /* @__PURE__ */ React34.createElement(ListContext.Provider, {
1231
1259
  value: { styles: styles.item }
1232
1260
  }, children));
1233
1261
  };
1234
1262
  List.Item = ListItem;
1235
1263
 
1236
1264
  // src/Menu/Menu.tsx
1237
- import React36, { useRef as useRef6 } from "react";
1265
+ import React37, { useRef as useRef6 } from "react";
1238
1266
  import { useMenu } from "@react-aria/menu";
1239
1267
  import { Item } from "@react-stately/collections";
1240
1268
  import { useTreeState } from "@react-stately/tree";
@@ -1252,17 +1280,25 @@ var MenuContext = createContext5({});
1252
1280
  var useMenuContext = () => useContext5(MenuContext);
1253
1281
 
1254
1282
  // src/Menu/MenuTrigger.tsx
1255
- import React34, { useRef as useRef4 } from "react";
1283
+ import React35, { useRef as useRef4 } from "react";
1256
1284
  import { useMenuTriggerState } from "@react-stately/menu";
1257
1285
  import { PressResponder as PressResponder2 } from "@react-aria/interactions";
1258
1286
  import { useMenuTrigger } from "@react-aria/menu";
1259
1287
  import { useObjectRef as useObjectRef7 } from "@react-aria/utils";
1260
1288
  import { useResponsiveValue } from "@marigold/system";
1261
- var MenuTrigger = ({ disabled, children }) => {
1262
- const [menuTrigger, menu] = React34.Children.toArray(children);
1289
+ var MenuTrigger = ({
1290
+ disabled,
1291
+ open,
1292
+ onOpenChange,
1293
+ children
1294
+ }) => {
1295
+ const [menuTrigger, menu] = React35.Children.toArray(children);
1263
1296
  const menuTriggerRef = useRef4(null);
1264
1297
  const menuRef = useObjectRef7();
1265
- const state = useMenuTriggerState({});
1298
+ const state = useMenuTriggerState({
1299
+ isOpen: open,
1300
+ onOpenChange
1301
+ });
1266
1302
  const { menuTriggerProps, menuProps } = useMenuTrigger(
1267
1303
  { trigger: "press", isDisabled: disabled },
1268
1304
  state,
@@ -1276,15 +1312,15 @@ var MenuTrigger = ({ disabled, children }) => {
1276
1312
  autoFocus: state.focusStrategy
1277
1313
  };
1278
1314
  const isSmallScreen = useResponsiveValue([true, false, false], 2);
1279
- return /* @__PURE__ */ React34.createElement(MenuContext.Provider, {
1315
+ return /* @__PURE__ */ React35.createElement(MenuContext.Provider, {
1280
1316
  value: menuContext
1281
- }, /* @__PURE__ */ React34.createElement(PressResponder2, {
1317
+ }, /* @__PURE__ */ React35.createElement(PressResponder2, {
1282
1318
  ...menuTriggerProps,
1283
1319
  ref: menuTriggerRef,
1284
1320
  isPressed: state.isOpen
1285
- }, menuTrigger), isSmallScreen ? /* @__PURE__ */ React34.createElement(Tray, {
1321
+ }, menuTrigger), isSmallScreen ? /* @__PURE__ */ React35.createElement(Tray, {
1286
1322
  state
1287
- }, menu) : /* @__PURE__ */ React34.createElement(Popover, {
1323
+ }, menu) : /* @__PURE__ */ React35.createElement(Popover, {
1288
1324
  triggerRef: menuTriggerRef,
1289
1325
  scrollRef: menuRef,
1290
1326
  state
@@ -1292,7 +1328,7 @@ var MenuTrigger = ({ disabled, children }) => {
1292
1328
  };
1293
1329
 
1294
1330
  // src/Menu/MenuItem.tsx
1295
- import React35, { useRef as useRef5 } from "react";
1331
+ import React36, { useRef as useRef5 } from "react";
1296
1332
  import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
1297
1333
  import { useMenuItem } from "@react-aria/menu";
1298
1334
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
@@ -1314,7 +1350,7 @@ var MenuItem = ({ item, state, onAction, css }) => {
1314
1350
  focus: isFocusVisible
1315
1351
  });
1316
1352
  const { onPointerUp, ...props } = menuItemProps;
1317
- return /* @__PURE__ */ React35.createElement(Box19, {
1353
+ return /* @__PURE__ */ React36.createElement(Box19, {
1318
1354
  as: "li",
1319
1355
  ref,
1320
1356
  __baseCSS: {
@@ -1342,7 +1378,7 @@ var Menu = ({ variant, size, ...props }) => {
1342
1378
  { variant, size },
1343
1379
  { parts: ["container", "item"] }
1344
1380
  );
1345
- return /* @__PURE__ */ React36.createElement(Box20, {
1381
+ return /* @__PURE__ */ React37.createElement(Box20, {
1346
1382
  as: "ul",
1347
1383
  ref,
1348
1384
  __baseCSS: {
@@ -1352,19 +1388,35 @@ var Menu = ({ variant, size, ...props }) => {
1352
1388
  },
1353
1389
  css: styles.container,
1354
1390
  ...menuProps
1355
- }, [...state.collection].map((item) => /* @__PURE__ */ React36.createElement(MenuItem, {
1391
+ }, [...state.collection].map((item) => /* @__PURE__ */ React37.createElement(MenuItem, {
1356
1392
  key: item.key,
1357
1393
  item,
1358
1394
  state,
1359
- onAction: props.onSelect,
1395
+ onAction: props.onAction,
1360
1396
  css: styles.item
1361
1397
  })));
1362
1398
  };
1363
1399
  Menu.Trigger = MenuTrigger;
1364
1400
  Menu.Item = Item;
1365
1401
 
1402
+ // src/Menu/ActionMenu.tsx
1403
+ import React38 from "react";
1404
+ import { SVG as SVG3 } from "@marigold/system";
1405
+ var ActionMenu = (props) => {
1406
+ return /* @__PURE__ */ React38.createElement(Menu.Trigger, null, /* @__PURE__ */ React38.createElement(Button, {
1407
+ variant: "menu",
1408
+ size: "small"
1409
+ }, /* @__PURE__ */ React38.createElement(SVG3, {
1410
+ viewBox: "0 0 24 24"
1411
+ }, /* @__PURE__ */ React38.createElement("path", {
1412
+ 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"
1413
+ }))), /* @__PURE__ */ React38.createElement(Menu, {
1414
+ ...props
1415
+ }));
1416
+ };
1417
+
1366
1418
  // src/Message/Message.tsx
1367
- import React37 from "react";
1419
+ import React39 from "react";
1368
1420
  import { useComponentStyles as useComponentStyles20 } from "@marigold/system";
1369
1421
  var Message = ({
1370
1422
  messageTitle,
@@ -1381,43 +1433,43 @@ var Message = ({
1381
1433
  },
1382
1434
  { parts: ["container", "icon", "title", "content"] }
1383
1435
  );
1384
- var icon = /* @__PURE__ */ React37.createElement("svg", {
1436
+ var icon = /* @__PURE__ */ React39.createElement("svg", {
1385
1437
  viewBox: "0 0 24 24"
1386
- }, /* @__PURE__ */ React37.createElement("path", {
1438
+ }, /* @__PURE__ */ React39.createElement("path", {
1387
1439
  d: "M12 2.85938C6.95437 2.85938 2.85938 6.95437 2.85938 12C2.85938 17.0456 6.95437 21.1406 12 21.1406C17.0456 21.1406 21.1406 17.0456 21.1406 12C21.1406 6.95437 17.0456 2.85938 12 2.85938ZM12.7875 15.9374H11.2125V11.2124H12.7875V15.9374ZM12.7875 9.6375H11.2125V8.0625H12.7875V9.6375Z"
1388
1440
  }));
1389
1441
  if (variant === "warning") {
1390
- icon = /* @__PURE__ */ React37.createElement("svg", {
1442
+ icon = /* @__PURE__ */ React39.createElement("svg", {
1391
1443
  viewBox: "0 0 24 24"
1392
- }, /* @__PURE__ */ React37.createElement("path", {
1444
+ }, /* @__PURE__ */ React39.createElement("path", {
1393
1445
  d: "M19.2 3H4.8C3.81 3 3.009 3.81 3.009 4.8L3 21L6.6 17.4H19.2C20.19 17.4 21 16.59 21 15.6V4.8C21 3.81 20.19 3 19.2 3ZM12.9 13.8H11.1V12H12.9V13.8ZM12.9 10.2001H11.1V6.60008H12.9V10.2001Z"
1394
1446
  }));
1395
1447
  }
1396
1448
  if (variant === "error") {
1397
- icon = /* @__PURE__ */ React37.createElement("svg", {
1449
+ icon = /* @__PURE__ */ React39.createElement("svg", {
1398
1450
  viewBox: "0 0 24 24"
1399
- }, /* @__PURE__ */ React37.createElement("path", {
1451
+ }, /* @__PURE__ */ React39.createElement("path", {
1400
1452
  d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z"
1401
1453
  }));
1402
1454
  }
1403
- return /* @__PURE__ */ React37.createElement(Box, {
1455
+ return /* @__PURE__ */ React39.createElement(Box, {
1404
1456
  css: styles.container,
1405
1457
  ...props
1406
- }, /* @__PURE__ */ React37.createElement(Box, {
1458
+ }, /* @__PURE__ */ React39.createElement(Box, {
1407
1459
  __baseCSS: { display: "flex", alignItems: "top", gap: 4 }
1408
- }, /* @__PURE__ */ React37.createElement(Box, {
1460
+ }, /* @__PURE__ */ React39.createElement(Box, {
1409
1461
  role: "presentation",
1410
1462
  __baseCSS: { flex: "0 0 16px" },
1411
1463
  css: styles.icon
1412
- }, icon), /* @__PURE__ */ React37.createElement(Box, {
1464
+ }, icon), /* @__PURE__ */ React39.createElement(Box, {
1413
1465
  css: styles.title
1414
- }, messageTitle)), /* @__PURE__ */ React37.createElement(Box, {
1466
+ }, messageTitle)), /* @__PURE__ */ React39.createElement(Box, {
1415
1467
  css: styles.content
1416
1468
  }, children));
1417
1469
  };
1418
1470
 
1419
1471
  // src/NumberField/NumberField.tsx
1420
- import React39, { forwardRef as forwardRef8 } from "react";
1472
+ import React41, { forwardRef as forwardRef8 } from "react";
1421
1473
  import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
1422
1474
  import { useHover as useHover4 } from "@react-aria/interactions";
1423
1475
  import { useLocale } from "@react-aria/i18n";
@@ -1431,27 +1483,27 @@ import {
1431
1483
  } from "@marigold/system";
1432
1484
 
1433
1485
  // src/NumberField/StepButton.tsx
1434
- import React38, { useRef as useRef7 } from "react";
1486
+ import React40, { useRef as useRef7 } from "react";
1435
1487
  import { useButton as useButton3 } from "@react-aria/button";
1436
1488
  import { useHover as useHover3 } from "@react-aria/interactions";
1437
1489
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
1438
1490
  import { Box as Box21, useStateProps as useStateProps5 } from "@marigold/system";
1439
- var Plus = () => /* @__PURE__ */ React38.createElement(Box21, {
1491
+ var Plus = () => /* @__PURE__ */ React40.createElement(Box21, {
1440
1492
  as: "svg",
1441
1493
  __baseCSS: { width: 16, height: 16 },
1442
1494
  viewBox: "0 0 20 20",
1443
1495
  fill: "currentColor"
1444
- }, /* @__PURE__ */ React38.createElement("path", {
1496
+ }, /* @__PURE__ */ React40.createElement("path", {
1445
1497
  fillRule: "evenodd",
1446
1498
  clipRule: "evenodd",
1447
1499
  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"
1448
1500
  }));
1449
- var Minus = () => /* @__PURE__ */ React38.createElement(Box21, {
1501
+ var Minus = () => /* @__PURE__ */ React40.createElement(Box21, {
1450
1502
  as: "svg",
1451
1503
  __baseCSS: { width: 16, height: 16 },
1452
1504
  viewBox: "0 0 20 20",
1453
1505
  fill: "currentColor"
1454
- }, /* @__PURE__ */ React38.createElement("path", {
1506
+ }, /* @__PURE__ */ React40.createElement("path", {
1455
1507
  fillRule: "evenodd",
1456
1508
  clipRule: "evenodd",
1457
1509
  d: "M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
@@ -1469,7 +1521,7 @@ var StepButton = ({ direction, css, ...props }) => {
1469
1521
  disabled: props.isDisabled
1470
1522
  });
1471
1523
  const Icon3 = direction === "up" ? Plus : Minus;
1472
- return /* @__PURE__ */ React38.createElement(Box21, {
1524
+ return /* @__PURE__ */ React40.createElement(Box21, {
1473
1525
  __baseCSS: {
1474
1526
  display: "flex",
1475
1527
  alignItems: "center",
@@ -1479,7 +1531,7 @@ var StepButton = ({ direction, css, ...props }) => {
1479
1531
  css,
1480
1532
  ...mergeProps4(buttonProps, hoverProps),
1481
1533
  ...stateProps
1482
- }, /* @__PURE__ */ React38.createElement(Icon3, null));
1534
+ }, /* @__PURE__ */ React40.createElement(Icon3, null));
1483
1535
  };
1484
1536
 
1485
1537
  // src/NumberField/NumberField.tsx
@@ -1533,7 +1585,7 @@ var NumberField = forwardRef8(
1533
1585
  readOnly,
1534
1586
  error
1535
1587
  });
1536
- return /* @__PURE__ */ React39.createElement(FieldBase, {
1588
+ return /* @__PURE__ */ React41.createElement(FieldBase, {
1537
1589
  label: props.label,
1538
1590
  labelProps,
1539
1591
  required,
@@ -1546,7 +1598,7 @@ var NumberField = forwardRef8(
1546
1598
  variant,
1547
1599
  size,
1548
1600
  width
1549
- }, /* @__PURE__ */ React39.createElement(Box22, {
1601
+ }, /* @__PURE__ */ React41.createElement(Box22, {
1550
1602
  "data-group": true,
1551
1603
  __baseCSS: {
1552
1604
  display: "flex",
@@ -1559,17 +1611,17 @@ var NumberField = forwardRef8(
1559
1611
  css: styles.group,
1560
1612
  ...mergeProps5(groupProps, focusProps, hoverProps),
1561
1613
  ...stateProps
1562
- }, showStepper && /* @__PURE__ */ React39.createElement(StepButton, {
1614
+ }, showStepper && /* @__PURE__ */ React41.createElement(StepButton, {
1563
1615
  direction: "down",
1564
1616
  css: styles.stepper,
1565
1617
  ...decrementButtonProps
1566
- }), /* @__PURE__ */ React39.createElement(Input, {
1618
+ }), /* @__PURE__ */ React41.createElement(Input, {
1567
1619
  ref: inputRef,
1568
1620
  variant,
1569
1621
  size,
1570
1622
  ...inputProps,
1571
1623
  ...stateProps
1572
- }), showStepper && /* @__PURE__ */ React39.createElement(StepButton, {
1624
+ }), showStepper && /* @__PURE__ */ React41.createElement(StepButton, {
1573
1625
  direction: "up",
1574
1626
  css: styles.stepper,
1575
1627
  ...incrementButtonProps
@@ -1582,7 +1634,7 @@ import { useTheme as useTheme2, ThemeProvider as ThemeProvider2 } from "@marigol
1582
1634
  import { SSRProvider } from "@react-aria/ssr";
1583
1635
 
1584
1636
  // src/Provider/MarigoldProvider.tsx
1585
- import React40 from "react";
1637
+ import React42 from "react";
1586
1638
  import { OverlayProvider } from "@react-aria/overlays";
1587
1639
  import {
1588
1640
  Global,
@@ -1605,16 +1657,16 @@ function MarigoldProvider({
1605
1657
  Nested themes with a "root" property must specify a "selector" to prevent accidentally overriding global CSS`
1606
1658
  );
1607
1659
  }
1608
- return /* @__PURE__ */ React40.createElement(ThemeProvider, {
1660
+ return /* @__PURE__ */ React42.createElement(ThemeProvider, {
1609
1661
  theme
1610
- }, /* @__PURE__ */ React40.createElement(Global, {
1662
+ }, /* @__PURE__ */ React42.createElement(Global, {
1611
1663
  normalizeDocument: isTopLevel && normalizeDocument,
1612
1664
  selector
1613
- }), isTopLevel ? /* @__PURE__ */ React40.createElement(OverlayProvider, null, children) : children);
1665
+ }), isTopLevel ? /* @__PURE__ */ React42.createElement(OverlayProvider, null, children) : children);
1614
1666
  }
1615
1667
 
1616
1668
  // src/Radio/Radio.tsx
1617
- import React42, {
1669
+ import React44, {
1618
1670
  forwardRef as forwardRef9
1619
1671
  } from "react";
1620
1672
  import { useHover as useHover5 } from "@react-aria/interactions";
@@ -1635,7 +1687,7 @@ var RadioGroupContext = createContext6(
1635
1687
  var useRadioGroupContext = () => useContext6(RadioGroupContext);
1636
1688
 
1637
1689
  // src/Radio/RadioGroup.tsx
1638
- import React41 from "react";
1690
+ import React43 from "react";
1639
1691
  import { useRadioGroup } from "@react-aria/radio";
1640
1692
  import { useRadioGroupState } from "@react-stately/radio";
1641
1693
  import { Box as Box23, useStateProps as useStateProps7 } from "@marigold/system";
@@ -1663,7 +1715,7 @@ var RadioGroup = ({
1663
1715
  readOnly,
1664
1716
  error
1665
1717
  });
1666
- return /* @__PURE__ */ React41.createElement(FieldBase, {
1718
+ return /* @__PURE__ */ React43.createElement(FieldBase, {
1667
1719
  width,
1668
1720
  label: props.label,
1669
1721
  labelProps: { as: "span", ...labelProps },
@@ -1676,7 +1728,7 @@ var RadioGroup = ({
1676
1728
  stateProps,
1677
1729
  required,
1678
1730
  ...radioGroupProps
1679
- }, /* @__PURE__ */ React41.createElement(Box23, {
1731
+ }, /* @__PURE__ */ React43.createElement(Box23, {
1680
1732
  role: "presentation",
1681
1733
  "data-orientation": orientation,
1682
1734
  __baseCSS: {
@@ -1685,21 +1737,21 @@ var RadioGroup = ({
1685
1737
  alignItems: "start",
1686
1738
  gap: orientation === "vertical" ? "0.5ch" : "1.5ch"
1687
1739
  }
1688
- }, /* @__PURE__ */ React41.createElement(RadioGroupContext.Provider, {
1740
+ }, /* @__PURE__ */ React43.createElement(RadioGroupContext.Provider, {
1689
1741
  value: { width, error, state }
1690
1742
  }, children)));
1691
1743
  };
1692
1744
 
1693
1745
  // src/Radio/Radio.tsx
1694
- var Dot = () => /* @__PURE__ */ React42.createElement("svg", {
1746
+ var Dot = () => /* @__PURE__ */ React44.createElement("svg", {
1695
1747
  viewBox: "0 0 6 6"
1696
- }, /* @__PURE__ */ React42.createElement("circle", {
1748
+ }, /* @__PURE__ */ React44.createElement("circle", {
1697
1749
  fill: "currentColor",
1698
1750
  cx: "3",
1699
1751
  cy: "3",
1700
1752
  r: "3"
1701
1753
  }));
1702
- var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React42.createElement(Box24, {
1754
+ var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React44.createElement(Box24, {
1703
1755
  "aria-hidden": "true",
1704
1756
  __baseCSS: {
1705
1757
  width: 16,
@@ -1714,7 +1766,7 @@ var Icon2 = ({ checked, css, ...props }) => /* @__PURE__ */ React42.createElemen
1714
1766
  },
1715
1767
  css,
1716
1768
  ...props
1717
- }, checked ? /* @__PURE__ */ React42.createElement(Dot, null) : null);
1769
+ }, checked ? /* @__PURE__ */ React44.createElement(Dot, null) : null);
1718
1770
  var Radio = forwardRef9(
1719
1771
  ({ width, disabled, ...props }, ref) => {
1720
1772
  const {
@@ -1745,7 +1797,7 @@ var Radio = forwardRef9(
1745
1797
  readOnly: props.readOnly,
1746
1798
  error
1747
1799
  });
1748
- return /* @__PURE__ */ React42.createElement(Box24, {
1800
+ return /* @__PURE__ */ React44.createElement(Box24, {
1749
1801
  as: "label",
1750
1802
  __baseCSS: {
1751
1803
  display: "flex",
@@ -1756,7 +1808,7 @@ var Radio = forwardRef9(
1756
1808
  },
1757
1809
  css: styles.container,
1758
1810
  ...mergeProps6(hoverProps, stateProps)
1759
- }, /* @__PURE__ */ React42.createElement(Box24, {
1811
+ }, /* @__PURE__ */ React44.createElement(Box24, {
1760
1812
  as: "input",
1761
1813
  ref: inputRef,
1762
1814
  css: {
@@ -1770,11 +1822,11 @@ var Radio = forwardRef9(
1770
1822
  cursor: inputProps.disabled ? "not-allowed" : "pointer"
1771
1823
  },
1772
1824
  ...mergeProps6(inputProps, focusProps)
1773
- }), /* @__PURE__ */ React42.createElement(Icon2, {
1825
+ }), /* @__PURE__ */ React44.createElement(Icon2, {
1774
1826
  checked: inputProps.checked,
1775
1827
  css: styles.radio,
1776
1828
  ...stateProps
1777
- }), /* @__PURE__ */ React42.createElement(Box24, {
1829
+ }), /* @__PURE__ */ React44.createElement(Box24, {
1778
1830
  css: styles.label,
1779
1831
  ...stateProps
1780
1832
  }, props.children));
@@ -1783,7 +1835,7 @@ var Radio = forwardRef9(
1783
1835
  Radio.Group = RadioGroup;
1784
1836
 
1785
1837
  // src/Select/Select.tsx
1786
- import React46, {
1838
+ import React48, {
1787
1839
  forwardRef as forwardRef11,
1788
1840
  useRef as useRef9
1789
1841
  } from "react";
@@ -1802,7 +1854,7 @@ import {
1802
1854
  } from "@marigold/system";
1803
1855
 
1804
1856
  // src/ListBox/ListBox.tsx
1805
- import React45, { forwardRef as forwardRef10 } from "react";
1857
+ import React47, { forwardRef as forwardRef10 } from "react";
1806
1858
  import { useObjectRef as useObjectRef10 } from "@react-aria/utils";
1807
1859
  import {
1808
1860
  Box as Box27,
@@ -1816,12 +1868,12 @@ var ListBoxContext = createContext7({});
1816
1868
  var useListBoxContext = () => useContext7(ListBoxContext);
1817
1869
 
1818
1870
  // src/ListBox/ListBoxSection.tsx
1819
- import React44 from "react";
1871
+ import React46 from "react";
1820
1872
  import { useListBoxSection } from "@react-aria/listbox";
1821
1873
  import { Box as Box26 } from "@marigold/system";
1822
1874
 
1823
1875
  // src/ListBox/ListBoxOption.tsx
1824
- import React43, { useRef as useRef8 } from "react";
1876
+ import React45, { useRef as useRef8 } from "react";
1825
1877
  import { useOption } from "@react-aria/listbox";
1826
1878
  import { mergeProps as mergeProps7 } from "@react-aria/utils";
1827
1879
  import { Box as Box25, useStateProps as useStateProps9 } from "@marigold/system";
@@ -1841,7 +1893,7 @@ var ListBoxOption = ({ item, state }) => {
1841
1893
  disabled: isDisabled,
1842
1894
  focusVisible: isFocused
1843
1895
  });
1844
- return /* @__PURE__ */ React43.createElement(Box25, {
1896
+ return /* @__PURE__ */ React45.createElement(Box25, {
1845
1897
  as: "li",
1846
1898
  ref,
1847
1899
  css: styles.option,
@@ -1856,19 +1908,19 @@ var ListBoxSection = ({ section, state }) => {
1856
1908
  "aria-label": section["aria-label"]
1857
1909
  });
1858
1910
  const { styles } = useListBoxContext();
1859
- return /* @__PURE__ */ React44.createElement(Box26, {
1911
+ return /* @__PURE__ */ React46.createElement(Box26, {
1860
1912
  as: "li",
1861
1913
  css: styles.section,
1862
1914
  ...itemProps
1863
- }, section.rendered && /* @__PURE__ */ React44.createElement(Box26, {
1915
+ }, section.rendered && /* @__PURE__ */ React46.createElement(Box26, {
1864
1916
  css: styles.sectionTitle,
1865
1917
  ...headingProps
1866
- }, section.rendered), /* @__PURE__ */ React44.createElement(Box26, {
1918
+ }, section.rendered), /* @__PURE__ */ React46.createElement(Box26, {
1867
1919
  as: "ul",
1868
1920
  __baseCSS: { listStyle: "none", p: 0 },
1869
1921
  css: styles.list,
1870
1922
  ...groupProps
1871
- }, [...section.childNodes].map((node) => /* @__PURE__ */ React44.createElement(ListBoxOption, {
1923
+ }, [...section.childNodes].map((node) => /* @__PURE__ */ React46.createElement(ListBoxOption, {
1872
1924
  key: node.key,
1873
1925
  item: node,
1874
1926
  state
@@ -1885,22 +1937,22 @@ var ListBox = forwardRef10(
1885
1937
  { variant, size },
1886
1938
  { parts: ["container", "list", "option", "section", "sectionTitle"] }
1887
1939
  );
1888
- return /* @__PURE__ */ React45.createElement(ListBoxContext.Provider, {
1940
+ return /* @__PURE__ */ React47.createElement(ListBoxContext.Provider, {
1889
1941
  value: { styles }
1890
- }, /* @__PURE__ */ React45.createElement(Box27, {
1942
+ }, /* @__PURE__ */ React47.createElement(Box27, {
1891
1943
  css: styles.container
1892
- }, /* @__PURE__ */ React45.createElement(Box27, {
1944
+ }, /* @__PURE__ */ React47.createElement(Box27, {
1893
1945
  as: "ul",
1894
1946
  ref: innerRef,
1895
1947
  __baseCSS: { listStyle: "none", p: 0 },
1896
1948
  css: styles.list,
1897
1949
  ...listBoxProps
1898
1950
  }, [...state.collection].map(
1899
- (item) => item.type === "section" ? /* @__PURE__ */ React45.createElement(ListBoxSection, {
1951
+ (item) => item.type === "section" ? /* @__PURE__ */ React47.createElement(ListBoxSection, {
1900
1952
  key: item.key,
1901
1953
  section: item,
1902
1954
  state
1903
- }) : /* @__PURE__ */ React45.createElement(ListBoxOption, {
1955
+ }) : /* @__PURE__ */ React47.createElement(ListBoxOption, {
1904
1956
  key: item.key,
1905
1957
  item,
1906
1958
  state
@@ -1920,20 +1972,30 @@ var messages = {
1920
1972
  };
1921
1973
 
1922
1974
  // src/Select/Select.tsx
1923
- var Chevron = ({ css }) => /* @__PURE__ */ React46.createElement(Box28, {
1975
+ var Chevron = ({ css }) => /* @__PURE__ */ React48.createElement(Box28, {
1924
1976
  as: "svg",
1925
1977
  __baseCSS: { width: 16, height: 16, fill: "none" },
1926
1978
  css,
1927
1979
  viewBox: "0 0 24 24",
1928
1980
  stroke: "currentColor",
1929
1981
  strokeWidth: 2
1930
- }, /* @__PURE__ */ React46.createElement("path", {
1982
+ }, /* @__PURE__ */ React48.createElement("path", {
1931
1983
  strokeLinecap: "round",
1932
1984
  strokeLinejoin: "round",
1933
1985
  d: "M19 9l-7 7-7-7"
1934
1986
  }));
1935
1987
  var Select = forwardRef11(
1936
- ({ variant, size, width, open, disabled, required, error, ...rest }, ref) => {
1988
+ ({
1989
+ variant,
1990
+ size,
1991
+ width,
1992
+ open,
1993
+ disabled,
1994
+ required,
1995
+ error,
1996
+ onChange,
1997
+ ...rest
1998
+ }, ref) => {
1937
1999
  const formatMessage = useLocalizedStringFormatter(messages);
1938
2000
  const props = {
1939
2001
  isOpen: open,
@@ -1941,6 +2003,7 @@ var Select = forwardRef11(
1941
2003
  isRequired: required,
1942
2004
  validationState: error ? "invalid" : "valid",
1943
2005
  placeholder: rest.placeholder || formatMessage.format("placeholder"),
2006
+ onSelectionChange: onChange,
1944
2007
  ...rest
1945
2008
  };
1946
2009
  const state = useSelectState(props);
@@ -1971,7 +2034,7 @@ var Select = forwardRef11(
1971
2034
  focusVisible: isFocusVisible,
1972
2035
  expanded: state.isOpen
1973
2036
  });
1974
- return /* @__PURE__ */ React46.createElement(FieldBase, {
2037
+ return /* @__PURE__ */ React48.createElement(FieldBase, {
1975
2038
  variant,
1976
2039
  size,
1977
2040
  width,
@@ -1985,13 +2048,13 @@ var Select = forwardRef11(
1985
2048
  stateProps,
1986
2049
  disabled,
1987
2050
  required
1988
- }, /* @__PURE__ */ React46.createElement(HiddenSelect, {
2051
+ }, /* @__PURE__ */ React48.createElement(HiddenSelect, {
1989
2052
  state,
1990
2053
  triggerRef: buttonRef,
1991
2054
  label: props.label,
1992
2055
  name: props.name,
1993
2056
  isDisabled: disabled
1994
- }), /* @__PURE__ */ React46.createElement(Box28, {
2057
+ }), /* @__PURE__ */ React48.createElement(Box28, {
1995
2058
  as: "button",
1996
2059
  __baseCSS: {
1997
2060
  display: "flex",
@@ -2004,27 +2067,27 @@ var Select = forwardRef11(
2004
2067
  ref: buttonRef,
2005
2068
  ...mergeProps8(buttonProps, focusProps),
2006
2069
  ...stateProps
2007
- }, /* @__PURE__ */ React46.createElement(Box28, {
2070
+ }, /* @__PURE__ */ React48.createElement(Box28, {
2008
2071
  css: {
2009
2072
  overflow: "hidden",
2010
2073
  whiteSpace: "nowrap"
2011
2074
  },
2012
2075
  ...valueProps
2013
- }, state.selectedItem ? state.selectedItem.rendered : props.placeholder), /* @__PURE__ */ React46.createElement(Chevron, {
2076
+ }, state.selectedItem ? state.selectedItem.rendered : props.placeholder), /* @__PURE__ */ React48.createElement(Chevron, {
2014
2077
  css: styles.icon
2015
- })), isSmallScreen ? /* @__PURE__ */ React46.createElement(Tray, {
2078
+ })), isSmallScreen ? /* @__PURE__ */ React48.createElement(Tray, {
2016
2079
  state
2017
- }, /* @__PURE__ */ React46.createElement(ListBox, {
2080
+ }, /* @__PURE__ */ React48.createElement(ListBox, {
2018
2081
  ref: listboxRef,
2019
2082
  state,
2020
2083
  variant,
2021
2084
  size,
2022
2085
  ...menuProps
2023
- })) : /* @__PURE__ */ React46.createElement(Popover, {
2086
+ })) : /* @__PURE__ */ React48.createElement(Popover, {
2024
2087
  state,
2025
2088
  triggerRef: buttonRef,
2026
2089
  scrollRef: listboxRef
2027
- }, /* @__PURE__ */ React46.createElement(ListBox, {
2090
+ }, /* @__PURE__ */ React48.createElement(ListBox, {
2028
2091
  ref: listboxRef,
2029
2092
  state,
2030
2093
  variant,
@@ -2037,7 +2100,7 @@ Select.Option = Item2;
2037
2100
  Select.Section = Section;
2038
2101
 
2039
2102
  // src/Slider/Slider.tsx
2040
- import React48, { forwardRef as forwardRef12 } from "react";
2103
+ import React50, { forwardRef as forwardRef12 } from "react";
2041
2104
  import { useSlider } from "@react-aria/slider";
2042
2105
  import { useSliderState } from "@react-stately/slider";
2043
2106
  import { useNumberFormatter } from "@react-aria/i18n";
@@ -2045,7 +2108,7 @@ import { useObjectRef as useObjectRef12 } from "@react-aria/utils";
2045
2108
  import { useComponentStyles as useComponentStyles25 } from "@marigold/system";
2046
2109
 
2047
2110
  // src/Slider/Thumb.tsx
2048
- import React47, { useEffect } from "react";
2111
+ import React49, { useEffect } from "react";
2049
2112
  import { useSliderThumb } from "@react-aria/slider";
2050
2113
  import { mergeProps as mergeProps9 } from "@react-aria/utils";
2051
2114
  import { useStateProps as useStateProps11 } from "@marigold/system";
@@ -2057,7 +2120,7 @@ import { VisuallyHidden } from "@react-aria/visually-hidden";
2057
2120
  import { useFocusRing as useFocusRing7 } from "@react-aria/focus";
2058
2121
  var Thumb = ({ state, trackRef, styles, ...props }) => {
2059
2122
  const { disabled } = props;
2060
- const inputRef = React47.useRef(null);
2123
+ const inputRef = React49.useRef(null);
2061
2124
  const { isFocusVisible, focusProps, isFocused } = useFocusRing7();
2062
2125
  const focused = isFocused || isFocusVisible || state.isThumbDragging(0);
2063
2126
  const stateProps = useStateProps11({
@@ -2076,12 +2139,12 @@ var Thumb = ({ state, trackRef, styles, ...props }) => {
2076
2139
  useEffect(() => {
2077
2140
  state.setThumbEditable(0, !disabled);
2078
2141
  }, [disabled, state]);
2079
- return /* @__PURE__ */ React47.createElement(Box, {
2142
+ return /* @__PURE__ */ React49.createElement(Box, {
2080
2143
  __baseCSS: { top: "50%" },
2081
2144
  css: styles,
2082
2145
  ...thumbProps,
2083
2146
  ...stateProps
2084
- }, /* @__PURE__ */ React47.createElement(VisuallyHidden, null, /* @__PURE__ */ React47.createElement(Box, {
2147
+ }, /* @__PURE__ */ React49.createElement(VisuallyHidden, null, /* @__PURE__ */ React49.createElement(Box, {
2085
2148
  as: "input",
2086
2149
  type: "range",
2087
2150
  ref: inputRef,
@@ -2109,7 +2172,7 @@ var Slider = forwardRef12(
2109
2172
  { variant, size },
2110
2173
  { parts: ["track", "thumb", "label", "output"] }
2111
2174
  );
2112
- return /* @__PURE__ */ React48.createElement(Box, {
2175
+ return /* @__PURE__ */ React50.createElement(Box, {
2113
2176
  __baseCSS: {
2114
2177
  display: "flex",
2115
2178
  flexDirection: "column",
@@ -2117,18 +2180,18 @@ var Slider = forwardRef12(
2117
2180
  width
2118
2181
  },
2119
2182
  ...groupProps
2120
- }, /* @__PURE__ */ React48.createElement(Box, {
2183
+ }, /* @__PURE__ */ React50.createElement(Box, {
2121
2184
  __baseCSS: { display: "flex", alignSelf: "stretch" }
2122
- }, props.children && /* @__PURE__ */ React48.createElement(Box, {
2185
+ }, props.children && /* @__PURE__ */ React50.createElement(Box, {
2123
2186
  as: "label",
2124
2187
  __baseCSS: styles.label,
2125
2188
  ...labelProps
2126
- }, props.children), /* @__PURE__ */ React48.createElement(Box, {
2189
+ }, props.children), /* @__PURE__ */ React50.createElement(Box, {
2127
2190
  as: "output",
2128
2191
  ...outputProps,
2129
2192
  __baseCSS: { flex: "1 0 auto", textAlign: "end" },
2130
2193
  css: styles.output
2131
- }, state.getThumbValueLabel(0))), /* @__PURE__ */ React48.createElement(Box, {
2194
+ }, state.getThumbValueLabel(0))), /* @__PURE__ */ React50.createElement(Box, {
2132
2195
  ...trackProps,
2133
2196
  ref: trackRef,
2134
2197
  __baseCSS: {
@@ -2136,13 +2199,13 @@ var Slider = forwardRef12(
2136
2199
  width: "100%",
2137
2200
  cursor: props.disabled ? "not-allowed" : "pointer"
2138
2201
  }
2139
- }, /* @__PURE__ */ React48.createElement(Box, {
2202
+ }, /* @__PURE__ */ React50.createElement(Box, {
2140
2203
  __baseCSS: {
2141
2204
  top: "50%",
2142
2205
  transform: "translateY(-50%)"
2143
2206
  },
2144
2207
  css: styles.track
2145
- }), /* @__PURE__ */ React48.createElement(Thumb, {
2208
+ }), /* @__PURE__ */ React50.createElement(Thumb, {
2146
2209
  state,
2147
2210
  trackRef,
2148
2211
  disabled: props.disabled,
@@ -2152,16 +2215,16 @@ var Slider = forwardRef12(
2152
2215
  );
2153
2216
 
2154
2217
  // src/Split/Split.tsx
2155
- import React49 from "react";
2218
+ import React51 from "react";
2156
2219
  import { Box as Box29 } from "@marigold/system";
2157
- var Split = (props) => /* @__PURE__ */ React49.createElement(Box29, {
2220
+ var Split = (props) => /* @__PURE__ */ React51.createElement(Box29, {
2158
2221
  ...props,
2159
2222
  role: "separator",
2160
2223
  css: { flexGrow: 1 }
2161
2224
  });
2162
2225
 
2163
2226
  // src/Stack/Stack.tsx
2164
- import React50 from "react";
2227
+ import React52 from "react";
2165
2228
  var ALIGNMENT_X2 = {
2166
2229
  none: "initial",
2167
2230
  left: "flex-start",
@@ -2181,7 +2244,7 @@ var Stack = ({
2181
2244
  alignY = "none",
2182
2245
  stretch = false,
2183
2246
  ...props
2184
- }) => /* @__PURE__ */ React50.createElement(Box, {
2247
+ }) => /* @__PURE__ */ React52.createElement(Box, {
2185
2248
  css: {
2186
2249
  display: "flex",
2187
2250
  flexDirection: "column",
@@ -2195,7 +2258,7 @@ var Stack = ({
2195
2258
  }, children);
2196
2259
 
2197
2260
  // src/Switch/Switch.tsx
2198
- import React51, { forwardRef as forwardRef13 } from "react";
2261
+ import React53, { forwardRef as forwardRef13 } from "react";
2199
2262
  import { useFocusRing as useFocusRing8 } from "@react-aria/focus";
2200
2263
  import { useSwitch } from "@react-aria/switch";
2201
2264
  import { useObjectRef as useObjectRef13 } from "@react-aria/utils";
@@ -2237,7 +2300,7 @@ var Switch = forwardRef13(
2237
2300
  { variant, size },
2238
2301
  { parts: ["container", "label", "track", "thumb"] }
2239
2302
  );
2240
- return /* @__PURE__ */ React51.createElement(Box, {
2303
+ return /* @__PURE__ */ React53.createElement(Box, {
2241
2304
  as: "label",
2242
2305
  __baseCSS: {
2243
2306
  display: "flex",
@@ -2248,7 +2311,7 @@ var Switch = forwardRef13(
2248
2311
  width
2249
2312
  },
2250
2313
  css: styles.container
2251
- }, /* @__PURE__ */ React51.createElement(Box, {
2314
+ }, /* @__PURE__ */ React53.createElement(Box, {
2252
2315
  as: "input",
2253
2316
  ref: inputRef,
2254
2317
  css: {
@@ -2263,9 +2326,9 @@ var Switch = forwardRef13(
2263
2326
  },
2264
2327
  ...inputProps,
2265
2328
  ...focusProps
2266
- }), props.children && /* @__PURE__ */ React51.createElement(Box, {
2329
+ }), props.children && /* @__PURE__ */ React53.createElement(Box, {
2267
2330
  css: styles.label
2268
- }, props.children), /* @__PURE__ */ React51.createElement(Box, {
2331
+ }, props.children), /* @__PURE__ */ React53.createElement(Box, {
2269
2332
  __baseCSS: {
2270
2333
  position: "relative",
2271
2334
  width: 48,
@@ -2276,7 +2339,7 @@ var Switch = forwardRef13(
2276
2339
  },
2277
2340
  css: styles.track,
2278
2341
  ...stateProps
2279
- }, /* @__PURE__ */ React51.createElement(Box, {
2342
+ }, /* @__PURE__ */ React53.createElement(Box, {
2280
2343
  __baseCSS: {
2281
2344
  display: "block",
2282
2345
  position: "absolute",
@@ -2300,7 +2363,7 @@ var Switch = forwardRef13(
2300
2363
  );
2301
2364
 
2302
2365
  // src/Table/Table.tsx
2303
- import React60, { useRef as useRef16 } from "react";
2366
+ import React62, { useRef as useRef16 } from "react";
2304
2367
  import { useTable } from "@react-aria/table";
2305
2368
  import {
2306
2369
  Cell,
@@ -2321,17 +2384,17 @@ var TableContext = createContext8({});
2321
2384
  var useTableContext = () => useContext8(TableContext);
2322
2385
 
2323
2386
  // src/Table/TableBody.tsx
2324
- import React52 from "react";
2387
+ import React54 from "react";
2325
2388
  import { useTableRowGroup } from "@react-aria/table";
2326
2389
  var TableBody = ({ children }) => {
2327
2390
  const { rowGroupProps } = useTableRowGroup();
2328
- return /* @__PURE__ */ React52.createElement("tbody", {
2391
+ return /* @__PURE__ */ React54.createElement("tbody", {
2329
2392
  ...rowGroupProps
2330
2393
  }, children);
2331
2394
  };
2332
2395
 
2333
2396
  // src/Table/TableCell.tsx
2334
- import React53, { useRef as useRef10 } from "react";
2397
+ import React55, { useRef as useRef10 } from "react";
2335
2398
  import { useTableCell } from "@react-aria/table";
2336
2399
  import { useFocusRing as useFocusRing9 } from "@react-aria/focus";
2337
2400
  import { mergeProps as mergeProps10 } from "@react-aria/utils";
@@ -2354,7 +2417,7 @@ var TableCell = ({ cell }) => {
2354
2417
  };
2355
2418
  const { focusProps, isFocusVisible } = useFocusRing9();
2356
2419
  const stateProps = useStateProps13({ disabled, focusVisible: isFocusVisible });
2357
- return /* @__PURE__ */ React53.createElement(Box30, {
2420
+ return /* @__PURE__ */ React55.createElement(Box30, {
2358
2421
  as: "td",
2359
2422
  ref,
2360
2423
  css: styles.cell,
@@ -2364,7 +2427,7 @@ var TableCell = ({ cell }) => {
2364
2427
  };
2365
2428
 
2366
2429
  // src/Table/TableCheckboxCell.tsx
2367
- import React54, { useRef as useRef11 } from "react";
2430
+ import React56, { useRef as useRef11 } from "react";
2368
2431
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
2369
2432
  import { useFocusRing as useFocusRing10 } from "@react-aria/focus";
2370
2433
  import { mergeProps as mergeProps11 } from "@react-aria/utils";
@@ -2407,7 +2470,7 @@ var TableCheckboxCell = ({ cell }) => {
2407
2470
  );
2408
2471
  const { focusProps, isFocusVisible } = useFocusRing10();
2409
2472
  const stateProps = useStateProps14({ disabled, focusVisible: isFocusVisible });
2410
- return /* @__PURE__ */ React54.createElement(Box31, {
2473
+ return /* @__PURE__ */ React56.createElement(Box31, {
2411
2474
  as: "td",
2412
2475
  ref,
2413
2476
  __baseCSS: {
@@ -2418,13 +2481,13 @@ var TableCheckboxCell = ({ cell }) => {
2418
2481
  css: styles.cell,
2419
2482
  ...mergeProps11(gridCellProps, focusProps),
2420
2483
  ...stateProps
2421
- }, /* @__PURE__ */ React54.createElement(Checkbox, {
2484
+ }, /* @__PURE__ */ React56.createElement(Checkbox, {
2422
2485
  ...checkboxProps
2423
2486
  }));
2424
2487
  };
2425
2488
 
2426
2489
  // src/Table/TableColumnHeader.tsx
2427
- import React55, { useRef as useRef12 } from "react";
2490
+ import React57, { useRef as useRef12 } from "react";
2428
2491
  import { useFocusRing as useFocusRing11 } from "@react-aria/focus";
2429
2492
  import { useHover as useHover6 } from "@react-aria/interactions";
2430
2493
  import { useTableColumnHeader } from "@react-aria/table";
@@ -2433,7 +2496,7 @@ import { Box as Box32, useStateProps as useStateProps15 } from "@marigold/system
2433
2496
  var SortIndicator = ({
2434
2497
  direction = "ascending",
2435
2498
  visible
2436
- }) => /* @__PURE__ */ React55.createElement(Box32, {
2499
+ }) => /* @__PURE__ */ React57.createElement(Box32, {
2437
2500
  as: "span",
2438
2501
  role: "presentation",
2439
2502
  "aria-hidden": "true",
@@ -2460,7 +2523,7 @@ var TableColumnHeader = ({ column }) => {
2460
2523
  hover: isHovered,
2461
2524
  focusVisible: isFocusVisible
2462
2525
  });
2463
- return /* @__PURE__ */ React55.createElement(Box32, {
2526
+ return /* @__PURE__ */ React57.createElement(Box32, {
2464
2527
  as: "th",
2465
2528
  colSpan: column.colspan,
2466
2529
  ref,
@@ -2468,37 +2531,37 @@ var TableColumnHeader = ({ column }) => {
2468
2531
  css: styles.header,
2469
2532
  ...mergeProps12(columnHeaderProps, hoverProps, focusProps),
2470
2533
  ...stateProps
2471
- }, column.rendered, column.props.allowsSorting && /* @__PURE__ */ React55.createElement(SortIndicator, {
2534
+ }, column.rendered, column.props.allowsSorting && /* @__PURE__ */ React57.createElement(SortIndicator, {
2472
2535
  direction: (_a = state.sortDescriptor) == null ? void 0 : _a.direction,
2473
2536
  visible: ((_b = state.sortDescriptor) == null ? void 0 : _b.column) === column.key
2474
2537
  }));
2475
2538
  };
2476
2539
 
2477
2540
  // src/Table/TableHeader.tsx
2478
- import React56 from "react";
2541
+ import React58 from "react";
2479
2542
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
2480
2543
  var TableHeader = ({ children }) => {
2481
2544
  const { rowGroupProps } = useTableRowGroup2();
2482
- return /* @__PURE__ */ React56.createElement("thead", {
2545
+ return /* @__PURE__ */ React58.createElement("thead", {
2483
2546
  ...rowGroupProps
2484
2547
  }, children);
2485
2548
  };
2486
2549
 
2487
2550
  // src/Table/TableHeaderRow.tsx
2488
- import React57, { useRef as useRef13 } from "react";
2551
+ import React59, { useRef as useRef13 } from "react";
2489
2552
  import { useTableHeaderRow } from "@react-aria/table";
2490
2553
  var TableHeaderRow = ({ item, children }) => {
2491
2554
  const { state } = useTableContext();
2492
2555
  const ref = useRef13(null);
2493
2556
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
2494
- return /* @__PURE__ */ React57.createElement("tr", {
2557
+ return /* @__PURE__ */ React59.createElement("tr", {
2495
2558
  ...rowProps,
2496
2559
  ref
2497
2560
  }, children);
2498
2561
  };
2499
2562
 
2500
2563
  // src/Table/TableRow.tsx
2501
- import React58, { useRef as useRef14 } from "react";
2564
+ import React60, { useRef as useRef14 } from "react";
2502
2565
  import { useFocusRing as useFocusRing12 } from "@react-aria/focus";
2503
2566
  import { useHover as useHover7 } from "@react-aria/interactions";
2504
2567
  import { useTableRow } from "@react-aria/table";
@@ -2533,7 +2596,7 @@ var TableRow = ({ children, row }) => {
2533
2596
  focusVisible: isFocusVisible,
2534
2597
  active: isPressed
2535
2598
  });
2536
- return /* @__PURE__ */ React58.createElement(Box33, {
2599
+ return /* @__PURE__ */ React60.createElement(Box33, {
2537
2600
  as: "tr",
2538
2601
  ref,
2539
2602
  __baseCSS: {
@@ -2546,7 +2609,7 @@ var TableRow = ({ children, row }) => {
2546
2609
  };
2547
2610
 
2548
2611
  // src/Table/TableSelectAllCell.tsx
2549
- import React59, { useRef as useRef15 } from "react";
2612
+ import React61, { useRef as useRef15 } from "react";
2550
2613
  import { useFocusRing as useFocusRing13 } from "@react-aria/focus";
2551
2614
  import { useHover as useHover8 } from "@react-aria/interactions";
2552
2615
  import {
@@ -2572,7 +2635,7 @@ var TableSelectAllCell = ({ column }) => {
2572
2635
  hover: isHovered,
2573
2636
  focusVisible: isFocusVisible
2574
2637
  });
2575
- return /* @__PURE__ */ React59.createElement(Box34, {
2638
+ return /* @__PURE__ */ React61.createElement(Box34, {
2576
2639
  as: "th",
2577
2640
  ref,
2578
2641
  __baseCSS: {
@@ -2583,7 +2646,7 @@ var TableSelectAllCell = ({ column }) => {
2583
2646
  css: styles.header,
2584
2647
  ...mergeProps14(columnHeaderProps, hoverProps, focusProps),
2585
2648
  ...stateProps
2586
- }, /* @__PURE__ */ React59.createElement(Checkbox, {
2649
+ }, /* @__PURE__ */ React61.createElement(Checkbox, {
2587
2650
  ...checkboxProps
2588
2651
  }));
2589
2652
  };
@@ -2610,9 +2673,9 @@ var Table = ({
2610
2673
  { parts: ["table", "header", "row", "cell"] }
2611
2674
  );
2612
2675
  const { collection } = state;
2613
- return /* @__PURE__ */ React60.createElement(TableContext.Provider, {
2676
+ return /* @__PURE__ */ React62.createElement(TableContext.Provider, {
2614
2677
  value: { state, interactive, styles }
2615
- }, /* @__PURE__ */ React60.createElement(Box35, {
2678
+ }, /* @__PURE__ */ React62.createElement(Box35, {
2616
2679
  as: "table",
2617
2680
  ref: tableRef,
2618
2681
  __baseCSS: {
@@ -2624,30 +2687,30 @@ var Table = ({
2624
2687
  },
2625
2688
  css: styles.table,
2626
2689
  ...gridProps
2627
- }, /* @__PURE__ */ React60.createElement(TableHeader, null, collection.headerRows.map((headerRow) => /* @__PURE__ */ React60.createElement(TableHeaderRow, {
2690
+ }, /* @__PURE__ */ React62.createElement(TableHeader, null, collection.headerRows.map((headerRow) => /* @__PURE__ */ React62.createElement(TableHeaderRow, {
2628
2691
  key: headerRow.key,
2629
2692
  item: headerRow
2630
2693
  }, [...headerRow.childNodes].map(
2631
2694
  (column) => {
2632
2695
  var _a;
2633
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React60.createElement(TableSelectAllCell, {
2696
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React62.createElement(TableSelectAllCell, {
2634
2697
  key: column.key,
2635
2698
  column
2636
- }) : /* @__PURE__ */ React60.createElement(TableColumnHeader, {
2699
+ }) : /* @__PURE__ */ React62.createElement(TableColumnHeader, {
2637
2700
  key: column.key,
2638
2701
  column
2639
2702
  });
2640
2703
  }
2641
- )))), /* @__PURE__ */ React60.createElement(TableBody, null, [...collection.body.childNodes].map((row) => /* @__PURE__ */ React60.createElement(TableRow, {
2704
+ )))), /* @__PURE__ */ React62.createElement(TableBody, null, [...collection.body.childNodes].map((row) => /* @__PURE__ */ React62.createElement(TableRow, {
2642
2705
  key: row.key,
2643
2706
  row
2644
2707
  }, [...row.childNodes].map(
2645
2708
  (cell) => {
2646
2709
  var _a;
2647
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React60.createElement(TableCheckboxCell, {
2710
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ React62.createElement(TableCheckboxCell, {
2648
2711
  key: cell.key,
2649
2712
  cell
2650
- }) : /* @__PURE__ */ React60.createElement(TableCell, {
2713
+ }) : /* @__PURE__ */ React62.createElement(TableCell, {
2651
2714
  key: cell.key,
2652
2715
  cell
2653
2716
  });
@@ -2661,7 +2724,7 @@ Table.Header = Header2;
2661
2724
  Table.Row = Row;
2662
2725
 
2663
2726
  // src/Text/Text.tsx
2664
- import React61 from "react";
2727
+ import React63 from "react";
2665
2728
  import {
2666
2729
  useComponentStyles as useComponentStyles29
2667
2730
  } from "@marigold/system";
@@ -2669,6 +2732,7 @@ import { Box as Box36 } from "@marigold/system";
2669
2732
  var Text = ({
2670
2733
  variant,
2671
2734
  size,
2735
+ display,
2672
2736
  align,
2673
2737
  color,
2674
2738
  fontSize,
@@ -2682,18 +2746,26 @@ var Text = ({
2682
2746
  variant,
2683
2747
  size
2684
2748
  });
2685
- return /* @__PURE__ */ React61.createElement(Box36, {
2749
+ return /* @__PURE__ */ React63.createElement(Box36, {
2686
2750
  as: "p",
2687
2751
  ...props,
2688
2752
  css: [
2689
2753
  styles,
2690
- { color, cursor, outline, fontSize, fontWeight, textAlign: align }
2754
+ {
2755
+ display,
2756
+ color,
2757
+ cursor,
2758
+ outline,
2759
+ fontSize,
2760
+ fontWeight,
2761
+ textAlign: align
2762
+ }
2691
2763
  ]
2692
2764
  }, children);
2693
2765
  };
2694
2766
 
2695
2767
  // src/TextArea/TextArea.tsx
2696
- import React62, { forwardRef as forwardRef14 } from "react";
2768
+ import React64, { forwardRef as forwardRef14 } from "react";
2697
2769
  import { useHover as useHover9 } from "@react-aria/interactions";
2698
2770
  import { useFocusRing as useFocusRing14 } from "@react-aria/focus";
2699
2771
  import { useTextField } from "@react-aria/textfield";
@@ -2738,7 +2810,7 @@ var TextArea = forwardRef14(
2738
2810
  error
2739
2811
  });
2740
2812
  const styles = useComponentStyles30("TextArea", { variant, size });
2741
- return /* @__PURE__ */ React62.createElement(FieldBase, {
2813
+ return /* @__PURE__ */ React64.createElement(FieldBase, {
2742
2814
  label,
2743
2815
  labelProps,
2744
2816
  required,
@@ -2751,7 +2823,7 @@ var TextArea = forwardRef14(
2751
2823
  variant,
2752
2824
  size,
2753
2825
  width
2754
- }, /* @__PURE__ */ React62.createElement(Box37, {
2826
+ }, /* @__PURE__ */ React64.createElement(Box37, {
2755
2827
  as: "textarea",
2756
2828
  css: styles,
2757
2829
  ref: textAreaRef,
@@ -2765,7 +2837,7 @@ var TextArea = forwardRef14(
2765
2837
  );
2766
2838
 
2767
2839
  // src/TextField/TextField.tsx
2768
- import React63, { forwardRef as forwardRef15 } from "react";
2840
+ import React65, { forwardRef as forwardRef15 } from "react";
2769
2841
  import { useHover as useHover10 } from "@react-aria/interactions";
2770
2842
  import { useFocusRing as useFocusRing15 } from "@react-aria/focus";
2771
2843
  import { useTextField as useTextField2 } from "@react-aria/textfield";
@@ -2797,7 +2869,7 @@ var TextField = forwardRef15(
2797
2869
  readOnly,
2798
2870
  error
2799
2871
  });
2800
- return /* @__PURE__ */ React63.createElement(FieldBase, {
2872
+ return /* @__PURE__ */ React65.createElement(FieldBase, {
2801
2873
  label,
2802
2874
  labelProps,
2803
2875
  required,
@@ -2810,7 +2882,7 @@ var TextField = forwardRef15(
2810
2882
  variant,
2811
2883
  size,
2812
2884
  width
2813
- }, /* @__PURE__ */ React63.createElement(Input, {
2885
+ }, /* @__PURE__ */ React65.createElement(Input, {
2814
2886
  ref: inputRef,
2815
2887
  variant,
2816
2888
  size,
@@ -2823,7 +2895,7 @@ var TextField = forwardRef15(
2823
2895
  );
2824
2896
 
2825
2897
  // src/Tiles/Tiles.tsx
2826
- import React64 from "react";
2898
+ import React66 from "react";
2827
2899
  import { useTheme as useTheme3 } from "@marigold/system";
2828
2900
  var Tiles = ({
2829
2901
  space = "none",
@@ -2839,7 +2911,7 @@ var Tiles = ({
2839
2911
  if (stretch) {
2840
2912
  column = `minmax(${column}, 1fr)`;
2841
2913
  }
2842
- return /* @__PURE__ */ React64.createElement(Box, {
2914
+ return /* @__PURE__ */ React66.createElement(Box, {
2843
2915
  ...props,
2844
2916
  css: {
2845
2917
  display: "grid",
@@ -2851,7 +2923,7 @@ var Tiles = ({
2851
2923
  };
2852
2924
 
2853
2925
  // src/Tooltip/Tooltip.tsx
2854
- import React66 from "react";
2926
+ import React68 from "react";
2855
2927
  import { useTooltip } from "@react-aria/tooltip";
2856
2928
  import {
2857
2929
  Box as Box38,
@@ -2864,7 +2936,7 @@ var TooltipContext = createContext9({});
2864
2936
  var useTooltipContext = () => useContext9(TooltipContext);
2865
2937
 
2866
2938
  // src/Tooltip/TooltipTrigger.tsx
2867
- import React65, { useRef as useRef17 } from "react";
2939
+ import React67, { useRef as useRef17 } from "react";
2868
2940
  import { FocusableProvider } from "@react-aria/focus";
2869
2941
  import { useOverlayPosition } from "@react-aria/overlays";
2870
2942
  import { useTooltipTrigger } from "@react-aria/tooltip";
@@ -2877,7 +2949,7 @@ var TooltipTrigger = ({
2877
2949
  children,
2878
2950
  ...rest
2879
2951
  }) => {
2880
- const [tooltipTrigger, tooltip] = React65.Children.toArray(children);
2952
+ const [tooltipTrigger, tooltip] = React67.Children.toArray(children);
2881
2953
  const props = {
2882
2954
  ...rest,
2883
2955
  isDisabled: disabled,
@@ -2905,10 +2977,10 @@ var TooltipTrigger = ({
2905
2977
  isOpen: state.isOpen,
2906
2978
  overlayRef
2907
2979
  });
2908
- return /* @__PURE__ */ React65.createElement(FocusableProvider, {
2980
+ return /* @__PURE__ */ React67.createElement(FocusableProvider, {
2909
2981
  ref: tooltipTriggerRef,
2910
2982
  ...triggerProps
2911
- }, tooltipTrigger, /* @__PURE__ */ React65.createElement(TooltipContext.Provider, {
2983
+ }, tooltipTrigger, /* @__PURE__ */ React67.createElement(TooltipContext.Provider, {
2912
2984
  value: {
2913
2985
  state,
2914
2986
  overlayRef,
@@ -2917,7 +2989,7 @@ var TooltipTrigger = ({
2917
2989
  ...tooltipProps,
2918
2990
  ...positionProps
2919
2991
  }
2920
- }, /* @__PURE__ */ React65.createElement(Overlay, {
2992
+ }, /* @__PURE__ */ React67.createElement(Overlay, {
2921
2993
  open: state.isOpen
2922
2994
  }, tooltip)));
2923
2995
  };
@@ -2931,13 +3003,13 @@ var Tooltip = ({ children, variant, size }) => {
2931
3003
  { variant, size },
2932
3004
  { parts: ["container", "arrow"] }
2933
3005
  );
2934
- return /* @__PURE__ */ React66.createElement(Box38, {
3006
+ return /* @__PURE__ */ React68.createElement(Box38, {
2935
3007
  ...tooltipProps,
2936
3008
  ...rest,
2937
3009
  ref: overlayRef,
2938
3010
  css: styles.container,
2939
3011
  "data-placement": placement
2940
- }, /* @__PURE__ */ React66.createElement("div", null, children), /* @__PURE__ */ React66.createElement(Box38, {
3012
+ }, /* @__PURE__ */ React68.createElement("div", null, children), /* @__PURE__ */ React68.createElement(Box38, {
2941
3013
  ...arrowProps,
2942
3014
  __baseCSS: {
2943
3015
  position: "absolute",
@@ -2954,122 +3026,122 @@ var Tooltip = ({ children, variant, size }) => {
2954
3026
  Tooltip.Trigger = TooltipTrigger;
2955
3027
 
2956
3028
  // src/XLoader/XLoader.tsx
2957
- import { SVG as SVG3 } from "@marigold/system";
2958
- import React67, { forwardRef as forwardRef16 } from "react";
2959
- var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React67.createElement(SVG3, {
3029
+ import { SVG as SVG4 } from "@marigold/system";
3030
+ import React69, { forwardRef as forwardRef16 } from "react";
3031
+ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React69.createElement(SVG4, {
2960
3032
  id: "XLoader",
2961
3033
  xmlns: "http://www.w3.org/2000/svg",
2962
3034
  size: 150,
2963
3035
  viewBox: "0 0 150 150",
2964
3036
  ...props,
2965
3037
  ...ref
2966
- }, /* @__PURE__ */ React67.createElement("path", {
3038
+ }, /* @__PURE__ */ React69.createElement("path", {
2967
3039
  id: "XMLID_1_",
2968
3040
  d: "M35.3 27h26.5l54 74.1H88.7z"
2969
- }), /* @__PURE__ */ React67.createElement("path", {
3041
+ }), /* @__PURE__ */ React69.createElement("path", {
2970
3042
  id: "XMLID_5_",
2971
3043
  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"
2972
- }, /* @__PURE__ */ React67.createElement("animate", {
3044
+ }, /* @__PURE__ */ React69.createElement("animate", {
2973
3045
  attributeName: "opacity",
2974
3046
  attributeType: "XML",
2975
3047
  values: "1; .01; 1; 1; 1;",
2976
3048
  begin: "1.0s",
2977
3049
  dur: "2.5s",
2978
3050
  repeatCount: "indefinite"
2979
- })), /* @__PURE__ */ React67.createElement("path", {
3051
+ })), /* @__PURE__ */ React69.createElement("path", {
2980
3052
  id: "XMLID_18_",
2981
3053
  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"
2982
- }, /* @__PURE__ */ React67.createElement("animate", {
3054
+ }, /* @__PURE__ */ React69.createElement("animate", {
2983
3055
  attributeName: "opacity",
2984
3056
  attributeType: "XML",
2985
3057
  values: "1; .01; 1; 1; 1;",
2986
3058
  begin: "0.9s",
2987
3059
  dur: "2.5s",
2988
3060
  repeatCount: "indefinite"
2989
- })), /* @__PURE__ */ React67.createElement("path", {
3061
+ })), /* @__PURE__ */ React69.createElement("path", {
2990
3062
  id: "XMLID_19_",
2991
3063
  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"
2992
- }, /* @__PURE__ */ React67.createElement("animate", {
3064
+ }, /* @__PURE__ */ React69.createElement("animate", {
2993
3065
  attributeName: "opacity",
2994
3066
  attributeType: "XML",
2995
3067
  values: "1; .01; 1; 1; 1;",
2996
3068
  begin: "0.8s",
2997
3069
  dur: "2.5s",
2998
3070
  repeatCount: "indefinite"
2999
- })), /* @__PURE__ */ React67.createElement("path", {
3071
+ })), /* @__PURE__ */ React69.createElement("path", {
3000
3072
  id: "XMLID_20_",
3001
3073
  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"
3002
- }, /* @__PURE__ */ React67.createElement("animate", {
3074
+ }, /* @__PURE__ */ React69.createElement("animate", {
3003
3075
  attributeName: "opacity",
3004
3076
  attributeType: "XML",
3005
3077
  values: "1; .01; 1; 1; 1;",
3006
3078
  begin: "0.7s",
3007
3079
  dur: "2.5s",
3008
3080
  repeatCount: "indefinite"
3009
- })), /* @__PURE__ */ React67.createElement("path", {
3081
+ })), /* @__PURE__ */ React69.createElement("path", {
3010
3082
  id: "XMLID_21_",
3011
3083
  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"
3012
- }, /* @__PURE__ */ React67.createElement("animate", {
3084
+ }, /* @__PURE__ */ React69.createElement("animate", {
3013
3085
  attributeName: "opacity",
3014
3086
  attributeType: "XML",
3015
3087
  values: "1; .01; 1; 1; 1;",
3016
3088
  begin: "0.6s",
3017
3089
  dur: "2.5s",
3018
3090
  repeatCount: "indefinite"
3019
- })), /* @__PURE__ */ React67.createElement("path", {
3091
+ })), /* @__PURE__ */ React69.createElement("path", {
3020
3092
  id: "XMLID_22_",
3021
3093
  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"
3022
- }, /* @__PURE__ */ React67.createElement("animate", {
3094
+ }, /* @__PURE__ */ React69.createElement("animate", {
3023
3095
  attributeName: "opacity",
3024
3096
  attributeType: "XML",
3025
3097
  values: "1; .01; 1; 1; 1;",
3026
3098
  begin: "0.5s",
3027
3099
  dur: "2.5s",
3028
3100
  repeatCount: "indefinite"
3029
- })), /* @__PURE__ */ React67.createElement("path", {
3101
+ })), /* @__PURE__ */ React69.createElement("path", {
3030
3102
  id: "XMLID_23_",
3031
3103
  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"
3032
- }, /* @__PURE__ */ React67.createElement("animate", {
3104
+ }, /* @__PURE__ */ React69.createElement("animate", {
3033
3105
  attributeName: "opacity",
3034
3106
  attributeType: "XML",
3035
3107
  values: "1; .01; 1; 1; 1;",
3036
3108
  begin: "0.4s",
3037
3109
  dur: "2.5s",
3038
3110
  repeatCount: "indefinite"
3039
- })), /* @__PURE__ */ React67.createElement("path", {
3111
+ })), /* @__PURE__ */ React69.createElement("path", {
3040
3112
  id: "XMLID_24_",
3041
3113
  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"
3042
- }, /* @__PURE__ */ React67.createElement("animate", {
3114
+ }, /* @__PURE__ */ React69.createElement("animate", {
3043
3115
  attributeName: "opacity",
3044
3116
  attributeType: "XML",
3045
3117
  values: "1; .01; 1; 1; 1;",
3046
3118
  begin: "0.3s",
3047
3119
  dur: "2.5s",
3048
3120
  repeatCount: "indefinite"
3049
- })), /* @__PURE__ */ React67.createElement("path", {
3121
+ })), /* @__PURE__ */ React69.createElement("path", {
3050
3122
  id: "XMLID_25_",
3051
3123
  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"
3052
- }, /* @__PURE__ */ React67.createElement("animate", {
3124
+ }, /* @__PURE__ */ React69.createElement("animate", {
3053
3125
  attributeName: "opacity",
3054
3126
  attributeType: "XML",
3055
3127
  values: "1; .01; 1; 1; 1;",
3056
3128
  begin: "0.2s",
3057
3129
  dur: "2.5s",
3058
3130
  repeatCount: "indefinite"
3059
- })), /* @__PURE__ */ React67.createElement("path", {
3131
+ })), /* @__PURE__ */ React69.createElement("path", {
3060
3132
  id: "XMLID_26_",
3061
3133
  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"
3062
- }, /* @__PURE__ */ React67.createElement("animate", {
3134
+ }, /* @__PURE__ */ React69.createElement("animate", {
3063
3135
  attributeName: "opacity",
3064
3136
  attributeType: "XML",
3065
3137
  values: "1; .01; 1; 1; 1;",
3066
3138
  begin: "0.1s",
3067
3139
  dur: "2.5s",
3068
3140
  repeatCount: "indefinite"
3069
- })), /* @__PURE__ */ React67.createElement("path", {
3141
+ })), /* @__PURE__ */ React69.createElement("path", {
3070
3142
  id: "XMLID_27_",
3071
3143
  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"
3072
- }, /* @__PURE__ */ React67.createElement("animate", {
3144
+ }, /* @__PURE__ */ React69.createElement("animate", {
3073
3145
  attributeName: "opacity",
3074
3146
  attributeType: "XML",
3075
3147
  values: "1; .01; 1; 1; 1;",
@@ -3078,6 +3150,7 @@ var XLoader = forwardRef16((props, ref) => /* @__PURE__ */ React67.createElement
3078
3150
  repeatCount: "indefinite"
3079
3151
  }))));
3080
3152
  export {
3153
+ ActionMenu,
3081
3154
  Aside,
3082
3155
  Aspect,
3083
3156
  Badge,