@sanity/ui 3.1.14 → 3.3.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.
Files changed (78) hide show
  1. package/dist/_chunks-cjs/_visual-editing.js +323 -292
  2. package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
  3. package/dist/_chunks-es/_visual-editing.mjs +323 -292
  4. package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
  5. package/dist/_visual-editing.d.mts +195 -76
  6. package/dist/_visual-editing.d.ts +195 -76
  7. package/dist/index.d.mts +308 -140
  8. package/dist/index.d.ts +308 -140
  9. package/dist/index.js +97 -93
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +97 -93
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/theme.d.mts +10 -4
  14. package/dist/theme.d.ts +10 -4
  15. package/package.json +1 -1
  16. package/src/core/components/autocomplete/autocomplete.tsx +1 -1
  17. package/src/core/components/autocomplete/types.ts +2 -2
  18. package/src/core/components/breadcrumbs/breadcrumbs.test.tsx +51 -0
  19. package/src/core/components/breadcrumbs/breadcrumbs.tsx +7 -3
  20. package/src/core/components/hotkeys/hotkeys.test.tsx +42 -0
  21. package/src/core/components/hotkeys/hotkeys.tsx +7 -3
  22. package/src/core/components/menu/__workshop__/asComponent.tsx +1 -1
  23. package/src/core/components/menu/menu.spacing.test.tsx +63 -0
  24. package/src/core/components/menu/menu.tsx +8 -2
  25. package/src/core/components/menu/menuDivider.ts +16 -5
  26. package/src/core/components/menu/menuGroup.spacing.test.tsx +63 -0
  27. package/src/core/components/menu/menuGroup.tsx +22 -8
  28. package/src/core/components/menu/menuItem.spacing.test.tsx +59 -0
  29. package/src/core/components/menu/menuItem.tsx +25 -8
  30. package/src/core/components/skeleton/skeleton.tsx +2 -2
  31. package/src/core/components/tab/tabList.test.tsx +48 -0
  32. package/src/core/components/tab/tabList.tsx +2 -2
  33. package/src/core/components/tab/tabPanel.tsx +2 -2
  34. package/src/core/components/toast/styles.ts +2 -2
  35. package/src/core/components/tree/__workshop__/basic.perf.ts +1 -1
  36. package/src/core/components/tree/__workshop__/tabFromElement.tsx +1 -1
  37. package/src/core/components/tree/tree.test.tsx +55 -0
  38. package/src/core/components/tree/tree.tsx +19 -10
  39. package/src/core/components/tree/treeGroup.tsx +3 -3
  40. package/src/core/components/tree/treeItem.test.tsx +65 -0
  41. package/src/core/components/tree/treeItem.tsx +11 -4
  42. package/src/core/components/tree/types.ts +4 -0
  43. package/src/core/primitives/avatar/avatar.tsx +19 -11
  44. package/src/core/primitives/badge/badge.tsx +20 -12
  45. package/src/core/primitives/box/__workshop__/asComponent.tsx +31 -0
  46. package/src/core/primitives/box/__workshop__/index.ts +5 -0
  47. package/src/core/primitives/box/box.test.tsx +142 -0
  48. package/src/core/primitives/box/box.tsx +41 -18
  49. package/src/core/primitives/button/__workshop__/disabled.tsx +2 -2
  50. package/src/core/primitives/button/__workshop__/sanityUploadButton.tsx +1 -1
  51. package/src/core/primitives/button/__workshop__/uploadButton.tsx +1 -1
  52. package/src/core/primitives/button/button.test.tsx +41 -3
  53. package/src/core/primitives/button/button.tsx +36 -12
  54. package/src/core/primitives/card/__workshop__/asComponent.tsx +1 -1
  55. package/src/core/primitives/card/card.tsx +24 -13
  56. package/src/core/primitives/code/code.tsx +16 -7
  57. package/src/core/primitives/container/container.tsx +23 -10
  58. package/src/core/primitives/flex/flex.tsx +21 -11
  59. package/src/core/primitives/grid/grid.test.tsx +80 -0
  60. package/src/core/primitives/grid/grid.tsx +39 -13
  61. package/src/core/primitives/heading/heading.tsx +19 -11
  62. package/src/core/primitives/inline/inline.test.tsx +51 -0
  63. package/src/core/primitives/inline/inline.tsx +28 -12
  64. package/src/core/primitives/kbd/kbd.tsx +19 -11
  65. package/src/core/primitives/label/label.tsx +19 -11
  66. package/src/core/primitives/popover/__workshop__/SidePanelStory.tsx +1 -1
  67. package/src/core/primitives/select/select.test.tsx +52 -0
  68. package/src/core/primitives/select/select.tsx +8 -2
  69. package/src/core/primitives/stack/stack.test.tsx +57 -0
  70. package/src/core/primitives/stack/stack.tsx +27 -13
  71. package/src/core/primitives/text/text.tsx +19 -11
  72. package/src/core/primitives/textInput/textInput.test.tsx +48 -0
  73. package/src/core/primitives/textInput/textInput.tsx +9 -4
  74. package/src/core/primitives/types.ts +33 -0
  75. package/src/core/types/component.ts +32 -0
  76. package/src/core/types/index.ts +1 -0
  77. package/src/core/utils/virtualList/virtualList.tsx +2 -2
  78. package/src/theme/system/css.ts +10 -4
@@ -987,7 +987,7 @@ function labelBaseStyle(props) {
987
987
  const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
988
988
  displayName: "StyledLabel",
989
989
  componentId: "sc-1luap7z-0"
990
- })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), Label = forwardRef(function(props, ref) {
990
+ })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), LabelComponent = forwardRef(function(props, ref) {
991
991
  const $ = c(26);
992
992
  let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
993
993
  $[0] !== props ? ({
@@ -1016,8 +1016,8 @@ const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
1016
1016
  let t4;
1017
1017
  return $[17] !== accent || $[18] !== children || $[19] !== muted || $[20] !== ref || $[21] !== restProps || $[22] !== t2 || $[23] !== t3 || $[24] !== weight ? (t4 = /* @__PURE__ */ jsx(StyledLabel, { "data-ui": "Label", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[17] = accent, $[18] = children, $[19] = muted, $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3, $[24] = weight, $[25] = t4) : t4 = $[25], t4;
1018
1018
  });
1019
- Label.displayName = "ForwardRef(Label)";
1020
- const avatarStyle = {
1019
+ LabelComponent.displayName = "ForwardRef(Label)";
1020
+ const Label = LabelComponent, avatarStyle = {
1021
1021
  root: avatarRootStyle,
1022
1022
  arrow: avatarArrowStyle,
1023
1023
  bgStroke: avatarBgStrokeStyle,
@@ -1183,7 +1183,7 @@ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
1183
1183
  }), AvatarImage = /* @__PURE__ */ styled.svg.withConfig({
1184
1184
  displayName: "AvatarImage",
1185
1185
  componentId: "sc-1rj7kl0-6"
1186
- })(avatarStyle.image), Avatar = forwardRef(function(props, ref) {
1186
+ })(avatarStyle.image), AvatarComponent = forwardRef(function(props, ref) {
1187
1187
  const $ = c(46);
1188
1188
  let __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
1189
1189
  $[0] !== props ? ({
@@ -1236,7 +1236,8 @@ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
1236
1236
  t12
1237
1237
  ] }), $[32] = T0, $[33] = arrowPosition, $[34] = as, $[35] = color, $[36] = ref, $[37] = restProps, $[38] = size2, $[39] = status, $[40] = t10, $[41] = t11, $[42] = t12, $[43] = t8, $[44] = title, $[45] = t13) : t13 = $[45], t13;
1238
1238
  });
1239
- Avatar.displayName = "ForwardRef(Avatar)";
1239
+ AvatarComponent.displayName = "ForwardRef(Avatar)";
1240
+ const Avatar = AvatarComponent;
1240
1241
  function _temp$a(s) {
1241
1242
  return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;
1242
1243
  }
@@ -1364,14 +1365,17 @@ AvatarStack.displayName = "ForwardRef(AvatarStack)";
1364
1365
  const StyledBox = /* @__PURE__ */ styled.div.withConfig({
1365
1366
  displayName: "StyledBox",
1366
1367
  componentId: "sc-1hhky9f-0"
1367
- })(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {
1368
- const $ = c(109);
1369
- let column, columnEnd, columnStart, flex, height, marginBottom, marginLeft, marginRight, marginTop, marginX, marginY, overflow, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, restProps, row, rowEnd, rowStart, sizing, t0, t1, t2, t3;
1368
+ })(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), BoxComponent = forwardRef(function(props, ref) {
1369
+ const $ = c(115);
1370
+ let deprecated_column, deprecated_columnEnd, deprecated_columnStart, deprecated_row, deprecated_rowEnd, deprecated_rowStart, flex, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, height, marginBottom, marginLeft, marginRight, marginTop, marginX, marginY, overflow, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, restProps, sizing, t0, t1, t2, t3;
1370
1371
  $[0] !== props ? ({
1371
1372
  as: t0,
1372
- column,
1373
- columnStart,
1374
- columnEnd,
1373
+ gridColumn,
1374
+ column: deprecated_column,
1375
+ gridColumnStart,
1376
+ columnStart: deprecated_columnStart,
1377
+ gridColumnEnd,
1378
+ columnEnd: deprecated_columnEnd,
1375
1379
  display: t1,
1376
1380
  flex,
1377
1381
  height,
@@ -1390,67 +1394,71 @@ const StyledBox = /* @__PURE__ */ styled.div.withConfig({
1390
1394
  paddingRight,
1391
1395
  paddingBottom,
1392
1396
  paddingLeft,
1393
- row,
1394
- rowStart,
1395
- rowEnd,
1397
+ gridRow,
1398
+ row: deprecated_row,
1399
+ gridRowStart,
1400
+ rowStart: deprecated_rowStart,
1401
+ gridRowEnd,
1402
+ rowEnd: deprecated_rowEnd,
1396
1403
  sizing,
1397
1404
  ...restProps
1398
- } = props, $[0] = props, $[1] = column, $[2] = columnEnd, $[3] = columnStart, $[4] = flex, $[5] = height, $[6] = marginBottom, $[7] = marginLeft, $[8] = marginRight, $[9] = marginTop, $[10] = marginX, $[11] = marginY, $[12] = overflow, $[13] = paddingBottom, $[14] = paddingLeft, $[15] = paddingRight, $[16] = paddingTop, $[17] = paddingX, $[18] = paddingY, $[19] = restProps, $[20] = row, $[21] = rowEnd, $[22] = rowStart, $[23] = sizing, $[24] = t0, $[25] = t1, $[26] = t2, $[27] = t3) : (column = $[1], columnEnd = $[2], columnStart = $[3], flex = $[4], height = $[5], marginBottom = $[6], marginLeft = $[7], marginRight = $[8], marginTop = $[9], marginX = $[10], marginY = $[11], overflow = $[12], paddingBottom = $[13], paddingLeft = $[14], paddingRight = $[15], paddingTop = $[16], paddingX = $[17], paddingY = $[18], restProps = $[19], row = $[20], rowEnd = $[21], rowStart = $[22], sizing = $[23], t0 = $[24], t1 = $[25], t2 = $[26], t3 = $[27]);
1399
- const asProp = t0 === void 0 ? "div" : t0, display = t1 === void 0 ? "block" : t1, margin = t2 === void 0 ? 0 : t2, padding = t3 === void 0 ? 0 : t3, t4 = typeof asProp == "string" ? asProp : void 0;
1405
+ } = props, $[0] = props, $[1] = deprecated_column, $[2] = deprecated_columnEnd, $[3] = deprecated_columnStart, $[4] = deprecated_row, $[5] = deprecated_rowEnd, $[6] = deprecated_rowStart, $[7] = flex, $[8] = gridColumn, $[9] = gridColumnEnd, $[10] = gridColumnStart, $[11] = gridRow, $[12] = gridRowEnd, $[13] = gridRowStart, $[14] = height, $[15] = marginBottom, $[16] = marginLeft, $[17] = marginRight, $[18] = marginTop, $[19] = marginX, $[20] = marginY, $[21] = overflow, $[22] = paddingBottom, $[23] = paddingLeft, $[24] = paddingRight, $[25] = paddingTop, $[26] = paddingX, $[27] = paddingY, $[28] = restProps, $[29] = sizing, $[30] = t0, $[31] = t1, $[32] = t2, $[33] = t3) : (deprecated_column = $[1], deprecated_columnEnd = $[2], deprecated_columnStart = $[3], deprecated_row = $[4], deprecated_rowEnd = $[5], deprecated_rowStart = $[6], flex = $[7], gridColumn = $[8], gridColumnEnd = $[9], gridColumnStart = $[10], gridRow = $[11], gridRowEnd = $[12], gridRowStart = $[13], height = $[14], marginBottom = $[15], marginLeft = $[16], marginRight = $[17], marginTop = $[18], marginX = $[19], marginY = $[20], overflow = $[21], paddingBottom = $[22], paddingLeft = $[23], paddingRight = $[24], paddingTop = $[25], paddingX = $[26], paddingY = $[27], restProps = $[28], sizing = $[29], t0 = $[30], t1 = $[31], t2 = $[32], t3 = $[33]);
1406
+ const asProp = t0 === void 0 ? "div" : t0, display = t1 === void 0 ? "block" : t1, margin = t2 === void 0 ? 0 : t2, padding = t3 === void 0 ? 0 : t3, column = gridColumn === void 0 ? deprecated_column : gridColumn, columnStart = gridColumnStart === void 0 ? deprecated_columnStart : gridColumnStart, columnEnd = gridColumnEnd === void 0 ? deprecated_columnEnd : gridColumnEnd, row = gridRow === void 0 ? deprecated_row : gridRow, rowStart = gridRowStart === void 0 ? deprecated_rowStart : gridRowStart, rowEnd = gridRowEnd === void 0 ? deprecated_rowEnd : gridRowEnd, t4 = typeof asProp == "string" ? asProp : void 0;
1400
1407
  let t5;
1401
- $[28] !== column ? (t5 = _getArrayProp(column), $[28] = column, $[29] = t5) : t5 = $[29];
1408
+ $[34] !== column ? (t5 = _getArrayProp(column), $[34] = column, $[35] = t5) : t5 = $[35];
1402
1409
  let t6;
1403
- $[30] !== columnStart ? (t6 = _getArrayProp(columnStart), $[30] = columnStart, $[31] = t6) : t6 = $[31];
1410
+ $[36] !== columnStart ? (t6 = _getArrayProp(columnStart), $[36] = columnStart, $[37] = t6) : t6 = $[37];
1404
1411
  let t7;
1405
- $[32] !== columnEnd ? (t7 = _getArrayProp(columnEnd), $[32] = columnEnd, $[33] = t7) : t7 = $[33];
1412
+ $[38] !== columnEnd ? (t7 = _getArrayProp(columnEnd), $[38] = columnEnd, $[39] = t7) : t7 = $[39];
1406
1413
  let t8;
1407
- $[34] !== display ? (t8 = _getArrayProp(display), $[34] = display, $[35] = t8) : t8 = $[35];
1414
+ $[40] !== display ? (t8 = _getArrayProp(display), $[40] = display, $[41] = t8) : t8 = $[41];
1408
1415
  let t9;
1409
- $[36] !== flex ? (t9 = _getArrayProp(flex), $[36] = flex, $[37] = t9) : t9 = $[37];
1416
+ $[42] !== flex ? (t9 = _getArrayProp(flex), $[42] = flex, $[43] = t9) : t9 = $[43];
1410
1417
  let t10;
1411
- $[38] !== height ? (t10 = _getArrayProp(height), $[38] = height, $[39] = t10) : t10 = $[39];
1418
+ $[44] !== height ? (t10 = _getArrayProp(height), $[44] = height, $[45] = t10) : t10 = $[45];
1412
1419
  let t11;
1413
- $[40] !== margin ? (t11 = _getArrayProp(margin), $[40] = margin, $[41] = t11) : t11 = $[41];
1420
+ $[46] !== margin ? (t11 = _getArrayProp(margin), $[46] = margin, $[47] = t11) : t11 = $[47];
1414
1421
  let t12;
1415
- $[42] !== marginX ? (t12 = _getArrayProp(marginX), $[42] = marginX, $[43] = t12) : t12 = $[43];
1422
+ $[48] !== marginX ? (t12 = _getArrayProp(marginX), $[48] = marginX, $[49] = t12) : t12 = $[49];
1416
1423
  let t13;
1417
- $[44] !== marginY ? (t13 = _getArrayProp(marginY), $[44] = marginY, $[45] = t13) : t13 = $[45];
1424
+ $[50] !== marginY ? (t13 = _getArrayProp(marginY), $[50] = marginY, $[51] = t13) : t13 = $[51];
1418
1425
  let t14;
1419
- $[46] !== marginTop ? (t14 = _getArrayProp(marginTop), $[46] = marginTop, $[47] = t14) : t14 = $[47];
1426
+ $[52] !== marginTop ? (t14 = _getArrayProp(marginTop), $[52] = marginTop, $[53] = t14) : t14 = $[53];
1420
1427
  let t15;
1421
- $[48] !== marginRight ? (t15 = _getArrayProp(marginRight), $[48] = marginRight, $[49] = t15) : t15 = $[49];
1428
+ $[54] !== marginRight ? (t15 = _getArrayProp(marginRight), $[54] = marginRight, $[55] = t15) : t15 = $[55];
1422
1429
  let t16;
1423
- $[50] !== marginBottom ? (t16 = _getArrayProp(marginBottom), $[50] = marginBottom, $[51] = t16) : t16 = $[51];
1430
+ $[56] !== marginBottom ? (t16 = _getArrayProp(marginBottom), $[56] = marginBottom, $[57] = t16) : t16 = $[57];
1424
1431
  let t17;
1425
- $[52] !== marginLeft ? (t17 = _getArrayProp(marginLeft), $[52] = marginLeft, $[53] = t17) : t17 = $[53];
1432
+ $[58] !== marginLeft ? (t17 = _getArrayProp(marginLeft), $[58] = marginLeft, $[59] = t17) : t17 = $[59];
1426
1433
  let t18;
1427
- $[54] !== overflow ? (t18 = _getArrayProp(overflow), $[54] = overflow, $[55] = t18) : t18 = $[55];
1434
+ $[60] !== overflow ? (t18 = _getArrayProp(overflow), $[60] = overflow, $[61] = t18) : t18 = $[61];
1428
1435
  let t19;
1429
- $[56] !== padding ? (t19 = _getArrayProp(padding), $[56] = padding, $[57] = t19) : t19 = $[57];
1436
+ $[62] !== padding ? (t19 = _getArrayProp(padding), $[62] = padding, $[63] = t19) : t19 = $[63];
1430
1437
  let t20;
1431
- $[58] !== paddingX ? (t20 = _getArrayProp(paddingX), $[58] = paddingX, $[59] = t20) : t20 = $[59];
1438
+ $[64] !== paddingX ? (t20 = _getArrayProp(paddingX), $[64] = paddingX, $[65] = t20) : t20 = $[65];
1432
1439
  let t21;
1433
- $[60] !== paddingY ? (t21 = _getArrayProp(paddingY), $[60] = paddingY, $[61] = t21) : t21 = $[61];
1440
+ $[66] !== paddingY ? (t21 = _getArrayProp(paddingY), $[66] = paddingY, $[67] = t21) : t21 = $[67];
1434
1441
  let t22;
1435
- $[62] !== paddingTop ? (t22 = _getArrayProp(paddingTop), $[62] = paddingTop, $[63] = t22) : t22 = $[63];
1442
+ $[68] !== paddingTop ? (t22 = _getArrayProp(paddingTop), $[68] = paddingTop, $[69] = t22) : t22 = $[69];
1436
1443
  let t23;
1437
- $[64] !== paddingRight ? (t23 = _getArrayProp(paddingRight), $[64] = paddingRight, $[65] = t23) : t23 = $[65];
1444
+ $[70] !== paddingRight ? (t23 = _getArrayProp(paddingRight), $[70] = paddingRight, $[71] = t23) : t23 = $[71];
1438
1445
  let t24;
1439
- $[66] !== paddingBottom ? (t24 = _getArrayProp(paddingBottom), $[66] = paddingBottom, $[67] = t24) : t24 = $[67];
1446
+ $[72] !== paddingBottom ? (t24 = _getArrayProp(paddingBottom), $[72] = paddingBottom, $[73] = t24) : t24 = $[73];
1440
1447
  let t25;
1441
- $[68] !== paddingLeft ? (t25 = _getArrayProp(paddingLeft), $[68] = paddingLeft, $[69] = t25) : t25 = $[69];
1448
+ $[74] !== paddingLeft ? (t25 = _getArrayProp(paddingLeft), $[74] = paddingLeft, $[75] = t25) : t25 = $[75];
1442
1449
  let t26;
1443
- $[70] !== row ? (t26 = _getArrayProp(row), $[70] = row, $[71] = t26) : t26 = $[71];
1450
+ $[76] !== row ? (t26 = _getArrayProp(row), $[76] = row, $[77] = t26) : t26 = $[77];
1444
1451
  let t27;
1445
- $[72] !== rowStart ? (t27 = _getArrayProp(rowStart), $[72] = rowStart, $[73] = t27) : t27 = $[73];
1452
+ $[78] !== rowStart ? (t27 = _getArrayProp(rowStart), $[78] = rowStart, $[79] = t27) : t27 = $[79];
1446
1453
  let t28;
1447
- $[74] !== rowEnd ? (t28 = _getArrayProp(rowEnd), $[74] = rowEnd, $[75] = t28) : t28 = $[75];
1454
+ $[80] !== rowEnd ? (t28 = _getArrayProp(rowEnd), $[80] = rowEnd, $[81] = t28) : t28 = $[81];
1448
1455
  let t29;
1449
- $[76] !== sizing ? (t29 = _getArrayProp(sizing), $[76] = sizing, $[77] = t29) : t29 = $[77];
1456
+ $[82] !== sizing ? (t29 = _getArrayProp(sizing), $[82] = sizing, $[83] = t29) : t29 = $[83];
1450
1457
  let t30;
1451
- return $[78] !== asProp || $[79] !== props.children || $[80] !== ref || $[81] !== restProps || $[82] !== t10 || $[83] !== t11 || $[84] !== t12 || $[85] !== t13 || $[86] !== t14 || $[87] !== t15 || $[88] !== t16 || $[89] !== t17 || $[90] !== t18 || $[91] !== t19 || $[92] !== t20 || $[93] !== t21 || $[94] !== t22 || $[95] !== t23 || $[96] !== t24 || $[97] !== t25 || $[98] !== t26 || $[99] !== t27 || $[100] !== t28 || $[101] !== t29 || $[102] !== t4 || $[103] !== t5 || $[104] !== t6 || $[105] !== t7 || $[106] !== t8 || $[107] !== t9 ? (t30 = /* @__PURE__ */ jsx(StyledBox, { "data-as": t4, "data-ui": "Box", ...restProps, $column: t5, $columnStart: t6, $columnEnd: t7, $display: t8, $flex: t9, $height: t10, $margin: t11, $marginX: t12, $marginY: t13, $marginTop: t14, $marginRight: t15, $marginBottom: t16, $marginLeft: t17, $overflow: t18, $padding: t19, $paddingX: t20, $paddingY: t21, $paddingTop: t22, $paddingRight: t23, $paddingBottom: t24, $paddingLeft: t25, $row: t26, $rowStart: t27, $rowEnd: t28, $sizing: t29, as: asProp, ref, children: props.children }), $[78] = asProp, $[79] = props.children, $[80] = ref, $[81] = restProps, $[82] = t10, $[83] = t11, $[84] = t12, $[85] = t13, $[86] = t14, $[87] = t15, $[88] = t16, $[89] = t17, $[90] = t18, $[91] = t19, $[92] = t20, $[93] = t21, $[94] = t22, $[95] = t23, $[96] = t24, $[97] = t25, $[98] = t26, $[99] = t27, $[100] = t28, $[101] = t29, $[102] = t4, $[103] = t5, $[104] = t6, $[105] = t7, $[106] = t8, $[107] = t9, $[108] = t30) : t30 = $[108], t30;
1458
+ return $[84] !== asProp || $[85] !== props.children || $[86] !== ref || $[87] !== restProps || $[88] !== t10 || $[89] !== t11 || $[90] !== t12 || $[91] !== t13 || $[92] !== t14 || $[93] !== t15 || $[94] !== t16 || $[95] !== t17 || $[96] !== t18 || $[97] !== t19 || $[98] !== t20 || $[99] !== t21 || $[100] !== t22 || $[101] !== t23 || $[102] !== t24 || $[103] !== t25 || $[104] !== t26 || $[105] !== t27 || $[106] !== t28 || $[107] !== t29 || $[108] !== t4 || $[109] !== t5 || $[110] !== t6 || $[111] !== t7 || $[112] !== t8 || $[113] !== t9 ? (t30 = /* @__PURE__ */ jsx(StyledBox, { "data-as": t4, "data-ui": "Box", ...restProps, $column: t5, $columnStart: t6, $columnEnd: t7, $display: t8, $flex: t9, $height: t10, $margin: t11, $marginX: t12, $marginY: t13, $marginTop: t14, $marginRight: t15, $marginBottom: t16, $marginLeft: t17, $overflow: t18, $padding: t19, $paddingX: t20, $paddingY: t21, $paddingTop: t22, $paddingRight: t23, $paddingBottom: t24, $paddingLeft: t25, $row: t26, $rowStart: t27, $rowEnd: t28, $sizing: t29, as: asProp, ref, children: props.children }), $[84] = asProp, $[85] = props.children, $[86] = ref, $[87] = restProps, $[88] = t10, $[89] = t11, $[90] = t12, $[91] = t13, $[92] = t14, $[93] = t15, $[94] = t16, $[95] = t17, $[96] = t18, $[97] = t19, $[98] = t20, $[99] = t21, $[100] = t22, $[101] = t23, $[102] = t24, $[103] = t25, $[104] = t26, $[105] = t27, $[106] = t28, $[107] = t29, $[108] = t4, $[109] = t5, $[110] = t6, $[111] = t7, $[112] = t8, $[113] = t9, $[114] = t30) : t30 = $[114], t30;
1452
1459
  });
1453
- Box.displayName = "ForwardRef(Box)";
1460
+ BoxComponent.displayName = "ForwardRef(Box)";
1461
+ const Box = BoxComponent;
1454
1462
  function textBaseStyle(props) {
1455
1463
  const {
1456
1464
  $accent,
@@ -1522,7 +1530,7 @@ function textBaseStyle(props) {
1522
1530
  const StyledText = /* @__PURE__ */ styled.div.withConfig({
1523
1531
  displayName: "StyledText",
1524
1532
  componentId: "sc-11ov82j-0"
1525
- })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), Text = forwardRef(function(props, ref) {
1533
+ })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), TextComponent = forwardRef(function(props, ref) {
1526
1534
  const $ = c(26);
1527
1535
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
1528
1536
  $[0] !== props ? ({
@@ -1550,7 +1558,8 @@ const StyledText = /* @__PURE__ */ styled.div.withConfig({
1550
1558
  let t6;
1551
1559
  return $[17] !== accent || $[18] !== muted || $[19] !== ref || $[20] !== restProps || $[21] !== t3 || $[22] !== t4 || $[23] !== t5 || $[24] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledText, { "data-ui": "Text", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[17] = accent, $[18] = muted, $[19] = ref, $[20] = restProps, $[21] = t3, $[22] = t4, $[23] = t5, $[24] = weight, $[25] = t6) : t6 = $[25], t6;
1552
1560
  });
1553
- Text.displayName = "ForwardRef(Text)";
1561
+ TextComponent.displayName = "ForwardRef(Text)";
1562
+ const Text = TextComponent;
1554
1563
  function badgeStyle(props) {
1555
1564
  const {
1556
1565
  $tone
@@ -1569,7 +1578,7 @@ function badgeStyle(props) {
1569
1578
  const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
1570
1579
  displayName: "StyledBadge",
1571
1580
  componentId: "sc-5u140l-0"
1572
- })(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {
1581
+ })(responsiveRadiusStyle, badgeStyle), BadgeComponent = forwardRef(function(props, ref) {
1573
1582
  const $ = c(21);
1574
1583
  let children, restProps, t0, t1, t2, t3;
1575
1584
  if ($[0] !== props) {
@@ -1595,11 +1604,11 @@ const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
1595
1604
  let t7;
1596
1605
  return $[14] !== ref || $[15] !== restProps || $[16] !== t4 || $[17] !== t5 || $[18] !== t6 || $[19] !== tone ? (t7 = /* @__PURE__ */ jsx(StyledBadge, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[14] = ref, $[15] = restProps, $[16] = t4, $[17] = t5, $[18] = t6, $[19] = tone, $[20] = t7) : t7 = $[20], t7;
1597
1606
  });
1598
- Badge.displayName = "ForwardRef(Badge)";
1599
- const StyledFlex = /* @__PURE__ */ styled(Box).withConfig({
1607
+ BadgeComponent.displayName = "ForwardRef(Badge)";
1608
+ const Badge = BadgeComponent, StyledFlex = /* @__PURE__ */ styled(Box).withConfig({
1600
1609
  displayName: "StyledFlex",
1601
1610
  componentId: "sc-oxesg3-0"
1602
- })(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {
1611
+ })(flexItemStyle, responsiveFlexStyle), FlexComponent = forwardRef(function(props, ref) {
1603
1612
  const $ = c(27);
1604
1613
  let align, as, gap, justify, restProps, t0, wrap;
1605
1614
  $[0] !== props ? ({
@@ -1625,8 +1634,8 @@ const StyledFlex = /* @__PURE__ */ styled(Box).withConfig({
1625
1634
  let t6;
1626
1635
  return $[18] !== as || $[19] !== ref || $[20] !== restProps || $[21] !== t1 || $[22] !== t2 || $[23] !== t3 || $[24] !== t4 || $[25] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledFlex, { "data-ui": "Flex", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[18] = as, $[19] = ref, $[20] = restProps, $[21] = t1, $[22] = t2, $[23] = t3, $[24] = t4, $[25] = t5, $[26] = t6) : t6 = $[26], t6;
1627
1636
  });
1628
- Flex.displayName = "ForwardRef(Flex)";
1629
- const rotate = keyframes`
1637
+ FlexComponent.displayName = "ForwardRef(Flex)";
1638
+ const Flex = FlexComponent, rotate = keyframes`
1630
1639
  from {
1631
1640
  transform: rotate(0deg);
1632
1641
  }
@@ -1819,9 +1828,9 @@ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
1819
1828
  })(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div.withConfig({
1820
1829
  displayName: "LoadingBox",
1821
1830
  componentId: "sc-aaekt4-1"
1822
- })`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`, Button = forwardRef(function(props, ref) {
1823
- const $ = c(86);
1824
- let IconComponent, IconRightComponent, children, disabled, loading, paddingBottomProp, paddingLeftProp, paddingRightProp, paddingTopProp, paddingXProp, paddingYProp, restProps, selected, t0, t1, t2, t3, t4, t5, t6, t7, t8, text, textAlign, textWeight, width;
1831
+ })`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`, ButtonComponent = forwardRef(function(props, ref) {
1832
+ const $ = c(87);
1833
+ let IconComponent, IconRightComponent, children, disabled, gap, loading, paddingBottomProp, paddingLeftProp, paddingRightProp, paddingTopProp, paddingXProp, paddingYProp, restProps, selected, t0, t1, t2, t3, t4, t5, t6, t7, t8, text, textAlign, textWeight, width;
1825
1834
  $[0] !== props ? ({
1826
1835
  children,
1827
1836
  disabled,
@@ -1840,6 +1849,7 @@ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
1840
1849
  paddingRight: paddingRightProp,
1841
1850
  radius: t4,
1842
1851
  selected,
1852
+ gap,
1843
1853
  space: t5,
1844
1854
  text,
1845
1855
  textAlign,
@@ -1849,42 +1859,42 @@ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
1849
1859
  muted: t8,
1850
1860
  width,
1851
1861
  ...restProps
1852
- } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = loading, $[6] = paddingBottomProp, $[7] = paddingLeftProp, $[8] = paddingRightProp, $[9] = paddingTopProp, $[10] = paddingXProp, $[11] = paddingYProp, $[12] = restProps, $[13] = selected, $[14] = t0, $[15] = t1, $[16] = t2, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = t6, $[21] = t7, $[22] = t8, $[23] = text, $[24] = textAlign, $[25] = textWeight, $[26] = width) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], loading = $[5], paddingBottomProp = $[6], paddingLeftProp = $[7], paddingRightProp = $[8], paddingTopProp = $[9], paddingXProp = $[10], paddingYProp = $[11], restProps = $[12], selected = $[13], t0 = $[14], t1 = $[15], t2 = $[16], t3 = $[17], t4 = $[18], t5 = $[19], t6 = $[20], t7 = $[21], t8 = $[22], text = $[23], textAlign = $[24], textWeight = $[25], width = $[26]);
1853
- const fontSize2 = t0 === void 0 ? 1 : t0, justifyProp = t1 === void 0 ? "center" : t1, mode = t2 === void 0 ? "default" : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, spaceProp = t5 === void 0 ? 3 : t5, tone = t6 === void 0 ? "default" : t6, type = t7 === void 0 ? "button" : t7, muted = t8 === void 0 ? !1 : t8, {
1862
+ } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = gap, $[6] = loading, $[7] = paddingBottomProp, $[8] = paddingLeftProp, $[9] = paddingRightProp, $[10] = paddingTopProp, $[11] = paddingXProp, $[12] = paddingYProp, $[13] = restProps, $[14] = selected, $[15] = t0, $[16] = t1, $[17] = t2, $[18] = t3, $[19] = t4, $[20] = t5, $[21] = t6, $[22] = t7, $[23] = t8, $[24] = text, $[25] = textAlign, $[26] = textWeight, $[27] = width) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], gap = $[5], loading = $[6], paddingBottomProp = $[7], paddingLeftProp = $[8], paddingRightProp = $[9], paddingTopProp = $[10], paddingXProp = $[11], paddingYProp = $[12], restProps = $[13], selected = $[14], t0 = $[15], t1 = $[16], t2 = $[17], t3 = $[18], t4 = $[19], t5 = $[20], t6 = $[21], t7 = $[22], t8 = $[23], text = $[24], textAlign = $[25], textWeight = $[26], width = $[27]);
1863
+ const fontSize2 = t0 === void 0 ? 1 : t0, justifyProp = t1 === void 0 ? "center" : t1, mode = t2 === void 0 ? "default" : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, deprecated_space = t5 === void 0 ? 3 : t5, tone = t6 === void 0 ? "default" : t6, type = t7 === void 0 ? "button" : t7, muted = t8 === void 0 ? !1 : t8, {
1854
1864
  button
1855
1865
  } = useTheme_v2();
1856
1866
  let t9;
1857
- $[27] !== justifyProp ? (t9 = _getArrayProp(justifyProp), $[27] = justifyProp, $[28] = t9) : t9 = $[28];
1867
+ $[28] !== justifyProp ? (t9 = _getArrayProp(justifyProp), $[28] = justifyProp, $[29] = t9) : t9 = $[29];
1858
1868
  const justify = t9;
1859
1869
  let t10;
1860
- $[29] !== paddingProp ? (t10 = _getArrayProp(paddingProp), $[29] = paddingProp, $[30] = t10) : t10 = $[30];
1870
+ $[30] !== paddingProp ? (t10 = _getArrayProp(paddingProp), $[30] = paddingProp, $[31] = t10) : t10 = $[31];
1861
1871
  const padding = t10;
1862
1872
  let t11;
1863
- $[31] !== paddingXProp ? (t11 = _getArrayProp(paddingXProp), $[31] = paddingXProp, $[32] = t11) : t11 = $[32];
1873
+ $[32] !== paddingXProp ? (t11 = _getArrayProp(paddingXProp), $[32] = paddingXProp, $[33] = t11) : t11 = $[33];
1864
1874
  const paddingX = t11;
1865
1875
  let t12;
1866
- $[33] !== paddingYProp ? (t12 = _getArrayProp(paddingYProp), $[33] = paddingYProp, $[34] = t12) : t12 = $[34];
1876
+ $[34] !== paddingYProp ? (t12 = _getArrayProp(paddingYProp), $[34] = paddingYProp, $[35] = t12) : t12 = $[35];
1867
1877
  const paddingY = t12;
1868
1878
  let t13;
1869
- $[35] !== paddingTopProp ? (t13 = _getArrayProp(paddingTopProp), $[35] = paddingTopProp, $[36] = t13) : t13 = $[36];
1879
+ $[36] !== paddingTopProp ? (t13 = _getArrayProp(paddingTopProp), $[36] = paddingTopProp, $[37] = t13) : t13 = $[37];
1870
1880
  const paddingTop = t13;
1871
1881
  let t14;
1872
- $[37] !== paddingBottomProp ? (t14 = _getArrayProp(paddingBottomProp), $[37] = paddingBottomProp, $[38] = t14) : t14 = $[38];
1882
+ $[38] !== paddingBottomProp ? (t14 = _getArrayProp(paddingBottomProp), $[38] = paddingBottomProp, $[39] = t14) : t14 = $[39];
1873
1883
  const paddingBottom = t14;
1874
1884
  let t15;
1875
- $[39] !== paddingLeftProp ? (t15 = _getArrayProp(paddingLeftProp), $[39] = paddingLeftProp, $[40] = t15) : t15 = $[40];
1885
+ $[40] !== paddingLeftProp ? (t15 = _getArrayProp(paddingLeftProp), $[40] = paddingLeftProp, $[41] = t15) : t15 = $[41];
1876
1886
  const paddingLeft = t15;
1877
1887
  let t16;
1878
- $[41] !== paddingRightProp ? (t16 = _getArrayProp(paddingRightProp), $[41] = paddingRightProp, $[42] = t16) : t16 = $[42];
1888
+ $[42] !== paddingRightProp ? (t16 = _getArrayProp(paddingRightProp), $[42] = paddingRightProp, $[43] = t16) : t16 = $[43];
1879
1889
  const paddingRight = t16;
1880
1890
  let t17;
1881
- $[43] !== radiusProp ? (t17 = _getArrayProp(radiusProp), $[43] = radiusProp, $[44] = t17) : t17 = $[44];
1882
- const radius = t17;
1883
- let t18;
1884
- $[45] !== spaceProp ? (t18 = _getArrayProp(spaceProp), $[45] = spaceProp, $[46] = t18) : t18 = $[46];
1885
- const space = t18;
1891
+ $[44] !== radiusProp ? (t17 = _getArrayProp(radiusProp), $[44] = radiusProp, $[45] = t17) : t17 = $[45];
1892
+ const radius = t17, t18 = gap === void 0 ? deprecated_space : gap;
1886
1893
  let t19;
1887
- $[47] !== padding || $[48] !== paddingBottom || $[49] !== paddingLeft || $[50] !== paddingRight || $[51] !== paddingTop || $[52] !== paddingX || $[53] !== paddingY ? (t19 = {
1894
+ $[46] !== t18 ? (t19 = _getArrayProp(t18), $[46] = t18, $[47] = t19) : t19 = $[47];
1895
+ const spacing = t19;
1896
+ let t20;
1897
+ $[48] !== padding || $[49] !== paddingBottom || $[50] !== paddingLeft || $[51] !== paddingRight || $[52] !== paddingTop || $[53] !== paddingX || $[54] !== paddingY ? (t20 = {
1888
1898
  padding,
1889
1899
  paddingX,
1890
1900
  paddingY,
@@ -1892,12 +1902,12 @@ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
1892
1902
  paddingBottom,
1893
1903
  paddingLeft,
1894
1904
  paddingRight
1895
- }, $[47] = padding, $[48] = paddingBottom, $[49] = paddingLeft, $[50] = paddingRight, $[51] = paddingTop, $[52] = paddingX, $[53] = paddingY, $[54] = t19) : t19 = $[54];
1896
- const boxProps = t19, t20 = !!(loading || disabled), t21 = selected ? "" : void 0, t22 = !!(loading || disabled);
1897
- let t23;
1898
- $[55] !== loading ? (t23 = !!loading && /* @__PURE__ */ jsx(LoadingBox, { children: /* @__PURE__ */ jsx(Spinner, {}) }), $[55] = loading, $[56] = t23) : t23 = $[56];
1905
+ }, $[48] = padding, $[49] = paddingBottom, $[50] = paddingLeft, $[51] = paddingRight, $[52] = paddingTop, $[53] = paddingX, $[54] = paddingY, $[55] = t20) : t20 = $[55];
1906
+ const boxProps = t20, t21 = !!(loading || disabled), t22 = selected ? "" : void 0, t23 = !!(loading || disabled);
1899
1907
  let t24;
1900
- $[57] !== IconComponent || $[58] !== IconRightComponent || $[59] !== boxProps || $[60] !== button || $[61] !== fontSize2 || $[62] !== justify || $[63] !== muted || $[64] !== space || $[65] !== text || $[66] !== textAlign || $[67] !== textWeight ? (t24 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children: /* @__PURE__ */ jsxs(Flex, { as: "span", justify, gap: space, children: [
1908
+ $[56] !== loading ? (t24 = !!loading && /* @__PURE__ */ jsx(LoadingBox, { children: /* @__PURE__ */ jsx(Spinner, {}) }), $[56] = loading, $[57] = t24) : t24 = $[57];
1909
+ let t25;
1910
+ $[58] !== IconComponent || $[59] !== IconRightComponent || $[60] !== boxProps || $[61] !== button || $[62] !== fontSize2 || $[63] !== justify || $[64] !== muted || $[65] !== spacing || $[66] !== text || $[67] !== textAlign || $[68] !== textWeight ? (t25 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children: /* @__PURE__ */ jsxs(Flex, { as: "span", justify, gap: spacing, children: [
1901
1911
  IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
1902
1912
  isValidElement(IconComponent) && IconComponent,
1903
1913
  isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})
@@ -1907,17 +1917,18 @@ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
1907
1917
  isValidElement(IconRightComponent) && IconRightComponent,
1908
1918
  isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})
1909
1919
  ] })
1910
- ] }) }), $[57] = IconComponent, $[58] = IconRightComponent, $[59] = boxProps, $[60] = button, $[61] = fontSize2, $[62] = justify, $[63] = muted, $[64] = space, $[65] = text, $[66] = textAlign, $[67] = textWeight, $[68] = t24) : t24 = $[68];
1911
- let t25;
1912
- $[69] !== boxProps || $[70] !== children ? (t25 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children }), $[69] = boxProps, $[70] = children, $[71] = t25) : t25 = $[71];
1920
+ ] }) }), $[58] = IconComponent, $[59] = IconRightComponent, $[60] = boxProps, $[61] = button, $[62] = fontSize2, $[63] = justify, $[64] = muted, $[65] = spacing, $[66] = text, $[67] = textAlign, $[68] = textWeight, $[69] = t25) : t25 = $[69];
1913
1921
  let t26;
1914
- return $[72] !== mode || $[73] !== radius || $[74] !== ref || $[75] !== restProps || $[76] !== t20 || $[77] !== t21 || $[78] !== t22 || $[79] !== t23 || $[80] !== t24 || $[81] !== t25 || $[82] !== tone || $[83] !== type || $[84] !== width ? (t26 = /* @__PURE__ */ jsxs(StyledButton, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t20, "data-selected": t21, disabled: t22, ref, type, $width: width, children: [
1915
- t23,
1922
+ $[70] !== boxProps || $[71] !== children ? (t26 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children }), $[70] = boxProps, $[71] = children, $[72] = t26) : t26 = $[72];
1923
+ let t27;
1924
+ return $[73] !== mode || $[74] !== radius || $[75] !== ref || $[76] !== restProps || $[77] !== t21 || $[78] !== t22 || $[79] !== t23 || $[80] !== t24 || $[81] !== t25 || $[82] !== t26 || $[83] !== tone || $[84] !== type || $[85] !== width ? (t27 = /* @__PURE__ */ jsxs(StyledButton, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t21, "data-selected": t22, disabled: t23, ref, type, $width: width, children: [
1916
1925
  t24,
1917
- t25
1918
- ] }), $[72] = mode, $[73] = radius, $[74] = ref, $[75] = restProps, $[76] = t20, $[77] = t21, $[78] = t22, $[79] = t23, $[80] = t24, $[81] = t25, $[82] = tone, $[83] = type, $[84] = width, $[85] = t26) : t26 = $[85], t26;
1926
+ t25,
1927
+ t26
1928
+ ] }), $[73] = mode, $[74] = radius, $[75] = ref, $[76] = restProps, $[77] = t21, $[78] = t22, $[79] = t23, $[80] = t24, $[81] = t25, $[82] = t26, $[83] = tone, $[84] = type, $[85] = width, $[86] = t27) : t27 = $[86], t27;
1919
1929
  });
1920
- Button.displayName = "ForwardRef(Button)";
1930
+ ButtonComponent.displayName = "ForwardRef(Button)";
1931
+ const Button = ButtonComponent;
1921
1932
  function cardStyle(props) {
1922
1933
  return [cardBaseStyle(props), cardColorStyle(props)];
1923
1934
  }
@@ -2069,7 +2080,7 @@ function cardColorStyle(props) {
2069
2080
  const StyledCard = /* @__PURE__ */ styled(Box).withConfig({
2070
2081
  displayName: "StyledCard",
2071
2082
  componentId: "sc-osnro2-0"
2072
- })(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {
2083
+ })(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), CardComponent = forwardRef(function(props, ref) {
2073
2084
  const $ = c(56);
2074
2085
  let asProp, border2, borderBottom2, borderLeft2, borderRight2, borderTop2, muted, pressed, restProps, scheme, selected, shadow, t0, t1, t2, t3;
2075
2086
  $[0] !== props ? ({
@@ -2111,7 +2122,8 @@ const StyledCard = /* @__PURE__ */ styled(Box).withConfig({
2111
2122
  let t17;
2112
2123
  return $[52] !== scheme || $[53] !== t16 || $[54] !== tone ? (t17 = /* @__PURE__ */ jsx(ThemeColorProvider, { scheme, tone, children: t16 }), $[52] = scheme, $[53] = t16, $[54] = tone, $[55] = t17) : t17 = $[55], t17;
2113
2124
  });
2114
- Card.displayName = "ForwardRef(Card)";
2125
+ CardComponent.displayName = "ForwardRef(Card)";
2126
+ const Card = CardComponent;
2115
2127
  function useClickOutsideEvent(listener, t0, boundaryElement) {
2116
2128
  const $ = c(9), elementsArg = t0 === void 0 ? _temp$8 : t0;
2117
2129
  let t1;
@@ -2623,7 +2635,7 @@ function codeBaseStyle() {
2623
2635
  const LazyRefractor = lazy(() => import("./refractor.mjs")), StyledCode = /* @__PURE__ */ styled.pre.withConfig({
2624
2636
  displayName: "StyledCode",
2625
2637
  componentId: "sc-4dymyn-0"
2626
- })(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {
2638
+ })(codeBaseStyle, responsiveCodeFontStyle), CodeComponent = forwardRef(function(props, ref) {
2627
2639
  const $ = c(22);
2628
2640
  let children, language, restProps, t0, weight;
2629
2641
  $[0] !== props ? ({
@@ -2645,8 +2657,8 @@ const LazyRefractor = lazy(() => import("./refractor.mjs")), StyledCode = /* @__
2645
2657
  let t5;
2646
2658
  return $[16] !== ref || $[17] !== restProps || $[18] !== t1 || $[19] !== t4 || $[20] !== weight ? (t5 = /* @__PURE__ */ jsx(StyledCode, { "data-ui": "Code", ...restProps, $size: t1, $weight: weight, ref, children: t4 }), $[16] = ref, $[17] = restProps, $[18] = t1, $[19] = t4, $[20] = weight, $[21] = t5) : t5 = $[21], t5;
2647
2659
  });
2648
- Code.displayName = "ForwardRef(Code)";
2649
- const BASE_STYLE$1 = {
2660
+ CodeComponent.displayName = "ForwardRef(Code)";
2661
+ const Code = CodeComponent, BASE_STYLE$1 = {
2650
2662
  width: "100%",
2651
2663
  margin: "0 auto"
2652
2664
  };
@@ -2665,7 +2677,7 @@ function responsiveContainerWidthStyle(props) {
2665
2677
  const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
2666
2678
  displayName: "StyledContainer",
2667
2679
  componentId: "sc-wyroop-0"
2668
- })(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {
2680
+ })(containerBaseStyle, responsiveContainerWidthStyle), ContainerComponent = forwardRef(function(props, ref) {
2669
2681
  const $ = c(11);
2670
2682
  let as, restProps, t0;
2671
2683
  $[0] !== props ? ({
@@ -2679,47 +2691,52 @@ const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
2679
2691
  let t2;
2680
2692
  return $[6] !== as || $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledContainer, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[6] = as, $[7] = ref, $[8] = restProps, $[9] = t1, $[10] = t2) : t2 = $[10], t2;
2681
2693
  });
2682
- Container.displayName = "ForwardRef(Container)";
2683
- const StyledGrid = /* @__PURE__ */ styled(Box).withConfig({
2694
+ ContainerComponent.displayName = "ForwardRef(Container)";
2695
+ const Container = ContainerComponent, StyledGrid = /* @__PURE__ */ styled(Box).withConfig({
2684
2696
  displayName: "StyledGrid",
2685
2697
  componentId: "sc-v8t8oz-0"
2686
- })(responsiveGridStyle), Grid = forwardRef(function(props, ref) {
2687
- const $ = c(42);
2688
- let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, restProps, rows;
2698
+ })(responsiveGridStyle), GridComponent = forwardRef(function(props, ref) {
2699
+ const $ = c(44);
2700
+ let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, gridTemplateColumns, gridTemplateRows, restProps, rows;
2689
2701
  $[0] !== props ? ({
2690
2702
  as,
2691
2703
  autoRows,
2692
2704
  autoCols,
2693
2705
  autoFlow,
2694
2706
  columns,
2707
+ gridTemplateColumns,
2695
2708
  gap,
2696
2709
  gapX,
2697
2710
  gapY,
2698
2711
  rows,
2712
+ gridTemplateRows,
2699
2713
  children,
2700
2714
  ...restProps
2701
- } = props, $[0] = props, $[1] = as, $[2] = autoCols, $[3] = autoFlow, $[4] = autoRows, $[5] = children, $[6] = columns, $[7] = gap, $[8] = gapX, $[9] = gapY, $[10] = restProps, $[11] = rows) : (as = $[1], autoCols = $[2], autoFlow = $[3], autoRows = $[4], children = $[5], columns = $[6], gap = $[7], gapX = $[8], gapY = $[9], restProps = $[10], rows = $[11]);
2715
+ } = props, $[0] = props, $[1] = as, $[2] = autoCols, $[3] = autoFlow, $[4] = autoRows, $[5] = children, $[6] = columns, $[7] = gap, $[8] = gapX, $[9] = gapY, $[10] = gridTemplateColumns, $[11] = gridTemplateRows, $[12] = restProps, $[13] = rows) : (as = $[1], autoCols = $[2], autoFlow = $[3], autoRows = $[4], children = $[5], columns = $[6], gap = $[7], gapX = $[8], gapY = $[9], gridTemplateColumns = $[10], gridTemplateRows = $[11], restProps = $[12], rows = $[13]);
2702
2716
  const t0 = typeof as == "string" ? as : void 0;
2703
2717
  let t1;
2704
- $[12] !== autoRows ? (t1 = _getArrayProp(autoRows), $[12] = autoRows, $[13] = t1) : t1 = $[13];
2718
+ $[14] !== autoRows ? (t1 = _getArrayProp(autoRows), $[14] = autoRows, $[15] = t1) : t1 = $[15];
2705
2719
  let t2;
2706
- $[14] !== autoCols ? (t2 = _getArrayProp(autoCols), $[14] = autoCols, $[15] = t2) : t2 = $[15];
2720
+ $[16] !== autoCols ? (t2 = _getArrayProp(autoCols), $[16] = autoCols, $[17] = t2) : t2 = $[17];
2707
2721
  let t3;
2708
- $[16] !== autoFlow ? (t3 = _getArrayProp(autoFlow), $[16] = autoFlow, $[17] = t3) : t3 = $[17];
2709
- let t4;
2710
- $[18] !== columns ? (t4 = _getArrayProp(columns), $[18] = columns, $[19] = t4) : t4 = $[19];
2722
+ $[18] !== autoFlow ? (t3 = _getArrayProp(autoFlow), $[18] = autoFlow, $[19] = t3) : t3 = $[19];
2723
+ const t4 = gridTemplateColumns === void 0 ? columns : gridTemplateColumns;
2711
2724
  let t5;
2712
- $[20] !== gap ? (t5 = _getArrayProp(gap), $[20] = gap, $[21] = t5) : t5 = $[21];
2725
+ $[20] !== t4 ? (t5 = _getArrayProp(t4), $[20] = t4, $[21] = t5) : t5 = $[21];
2713
2726
  let t6;
2714
- $[22] !== gapX ? (t6 = _getArrayProp(gapX), $[22] = gapX, $[23] = t6) : t6 = $[23];
2727
+ $[22] !== gap ? (t6 = _getArrayProp(gap), $[22] = gap, $[23] = t6) : t6 = $[23];
2715
2728
  let t7;
2716
- $[24] !== gapY ? (t7 = _getArrayProp(gapY), $[24] = gapY, $[25] = t7) : t7 = $[25];
2729
+ $[24] !== gapX ? (t7 = _getArrayProp(gapX), $[24] = gapX, $[25] = t7) : t7 = $[25];
2717
2730
  let t8;
2718
- $[26] !== rows ? (t8 = _getArrayProp(rows), $[26] = rows, $[27] = t8) : t8 = $[27];
2719
- let t9;
2720
- return $[28] !== as || $[29] !== children || $[30] !== ref || $[31] !== restProps || $[32] !== t0 || $[33] !== t1 || $[34] !== t2 || $[35] !== t3 || $[36] !== t4 || $[37] !== t5 || $[38] !== t6 || $[39] !== t7 || $[40] !== t8 ? (t9 = /* @__PURE__ */ jsx(StyledGrid, { "data-as": t0, "data-ui": "Grid", ...restProps, $autoRows: t1, $autoCols: t2, $autoFlow: t3, $columns: t4, $gap: t5, $gapX: t6, $gapY: t7, $rows: t8, forwardedAs: as, ref, children }), $[28] = as, $[29] = children, $[30] = ref, $[31] = restProps, $[32] = t0, $[33] = t1, $[34] = t2, $[35] = t3, $[36] = t4, $[37] = t5, $[38] = t6, $[39] = t7, $[40] = t8, $[41] = t9) : t9 = $[41], t9;
2731
+ $[26] !== gapY ? (t8 = _getArrayProp(gapY), $[26] = gapY, $[27] = t8) : t8 = $[27];
2732
+ const t9 = gridTemplateRows === void 0 ? rows : gridTemplateRows;
2733
+ let t10;
2734
+ $[28] !== t9 ? (t10 = _getArrayProp(t9), $[28] = t9, $[29] = t10) : t10 = $[29];
2735
+ let t11;
2736
+ return $[30] !== as || $[31] !== children || $[32] !== ref || $[33] !== restProps || $[34] !== t0 || $[35] !== t1 || $[36] !== t10 || $[37] !== t2 || $[38] !== t3 || $[39] !== t5 || $[40] !== t6 || $[41] !== t7 || $[42] !== t8 ? (t11 = /* @__PURE__ */ jsx(StyledGrid, { "data-as": t0, "data-ui": "Grid", ...restProps, $autoRows: t1, $autoCols: t2, $autoFlow: t3, $columns: t5, $gap: t6, $gapX: t7, $gapY: t8, $rows: t10, forwardedAs: as, ref, children }), $[30] = as, $[31] = children, $[32] = ref, $[33] = restProps, $[34] = t0, $[35] = t1, $[36] = t10, $[37] = t2, $[38] = t3, $[39] = t5, $[40] = t6, $[41] = t7, $[42] = t8, $[43] = t11) : t11 = $[43], t11;
2721
2737
  });
2722
- Grid.displayName = "ForwardRef(Grid)";
2738
+ GridComponent.displayName = "ForwardRef(Grid)";
2739
+ const Grid = GridComponent;
2723
2740
  function headingBaseStyle(props) {
2724
2741
  const {
2725
2742
  $accent,
@@ -2782,7 +2799,7 @@ function headingBaseStyle(props) {
2782
2799
  const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
2783
2800
  displayName: "StyledHeading",
2784
2801
  componentId: "sc-137lwim-0"
2785
- })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), Heading = forwardRef(function(props, ref) {
2802
+ })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), HeadingComponent = forwardRef(function(props, ref) {
2786
2803
  const $ = c(26);
2787
2804
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
2788
2805
  $[0] !== props ? ({
@@ -2810,7 +2827,8 @@ const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
2810
2827
  let t6;
2811
2828
  return $[17] !== accent || $[18] !== muted || $[19] !== ref || $[20] !== restProps || $[21] !== t3 || $[22] !== t4 || $[23] !== t5 || $[24] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledHeading, { "data-ui": "Heading", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[17] = accent, $[18] = muted, $[19] = ref, $[20] = restProps, $[21] = t3, $[22] = t4, $[23] = t5, $[24] = weight, $[25] = t6) : t6 = $[25], t6;
2812
2829
  });
2813
- Heading.displayName = "ForwardRef(Heading)";
2830
+ HeadingComponent.displayName = "ForwardRef(Heading)";
2831
+ const Heading = HeadingComponent;
2814
2832
  function inlineBaseStyle() {
2815
2833
  return {
2816
2834
  lineHeight: "0",
@@ -2841,25 +2859,28 @@ function inlineSpaceStyle(props) {
2841
2859
  const StyledInline = /* @__PURE__ */ styled(Box).withConfig({
2842
2860
  displayName: "StyledInline",
2843
2861
  componentId: "sc-1pkiy6j-0"
2844
- })(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {
2845
- const $ = c(15);
2846
- let as, childrenProp, restProps, space;
2862
+ })(inlineBaseStyle, inlineSpaceStyle), InlineComponent = forwardRef(function(props, ref) {
2863
+ const $ = c(16);
2864
+ let as, childrenProp, deprecated_space, gap, restProps;
2847
2865
  $[0] !== props ? ({
2848
2866
  as,
2849
2867
  children: childrenProp,
2850
- space,
2868
+ gap,
2869
+ space: deprecated_space,
2851
2870
  ...restProps
2852
- } = props, $[0] = props, $[1] = as, $[2] = childrenProp, $[3] = restProps, $[4] = space) : (as = $[1], childrenProp = $[2], restProps = $[3], space = $[4]);
2871
+ } = props, $[0] = props, $[1] = as, $[2] = childrenProp, $[3] = deprecated_space, $[4] = gap, $[5] = restProps) : (as = $[1], childrenProp = $[2], deprecated_space = $[3], gap = $[4], restProps = $[5]);
2872
+ const spacing = gap === void 0 ? deprecated_space : gap;
2853
2873
  let t0;
2854
- $[5] !== childrenProp ? (t0 = Children.map(childrenProp, _temp$5), $[5] = childrenProp, $[6] = t0) : t0 = $[6];
2874
+ $[6] !== childrenProp ? (t0 = Children.map(childrenProp, _temp$5), $[6] = childrenProp, $[7] = t0) : t0 = $[7];
2855
2875
  const children = t0;
2856
2876
  let t1;
2857
- $[7] !== space ? (t1 = _getArrayProp(space), $[7] = space, $[8] = t1) : t1 = $[8];
2877
+ $[8] !== spacing ? (t1 = _getArrayProp(spacing), $[8] = spacing, $[9] = t1) : t1 = $[9];
2858
2878
  const t2 = ref;
2859
2879
  let t3;
2860
- return $[9] !== as || $[10] !== children || $[11] !== restProps || $[12] !== t1 || $[13] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledInline, { "data-ui": "Inline", ...restProps, $space: t1, forwardedAs: as, ref: t2, children }), $[9] = as, $[10] = children, $[11] = restProps, $[12] = t1, $[13] = t2, $[14] = t3) : t3 = $[14], t3;
2880
+ return $[10] !== as || $[11] !== children || $[12] !== restProps || $[13] !== t1 || $[14] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledInline, { "data-ui": "Inline", ...restProps, $space: t1, forwardedAs: as, ref: t2, children }), $[10] = as, $[11] = children, $[12] = restProps, $[13] = t1, $[14] = t2, $[15] = t3) : t3 = $[15], t3;
2861
2881
  });
2862
- Inline.displayName = "ForwardRef(Inline)";
2882
+ InlineComponent.displayName = "ForwardRef(Inline)";
2883
+ const Inline = InlineComponent;
2863
2884
  function _temp$5(child) {
2864
2885
  return child && /* @__PURE__ */ jsx("div", { children: child });
2865
2886
  }
@@ -2883,7 +2904,7 @@ function kbdStyle() {
2883
2904
  const StyledKBD = /* @__PURE__ */ styled.kbd.withConfig({
2884
2905
  displayName: "StyledKBD",
2885
2906
  componentId: "sc-1w7yd8w-0"
2886
- })(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {
2907
+ })(responsiveRadiusStyle, kbdStyle), KBDComponent = forwardRef(function(props, ref) {
2887
2908
  const $ = c(19);
2888
2909
  let children, restProps, t0, t1, t2;
2889
2910
  $[0] !== props ? ({
@@ -2903,8 +2924,8 @@ const StyledKBD = /* @__PURE__ */ styled.kbd.withConfig({
2903
2924
  let t6;
2904
2925
  return $[14] !== ref || $[15] !== restProps || $[16] !== t3 || $[17] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledKBD, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[14] = ref, $[15] = restProps, $[16] = t3, $[17] = t5, $[18] = t6) : t6 = $[18], t6;
2905
2926
  });
2906
- KBD.displayName = "ForwardRef(KBD)";
2907
- const origin = {
2927
+ KBDComponent.displayName = "ForwardRef(KBD)";
2928
+ const KBD = KBDComponent, origin = {
2908
2929
  name: "@sanity/ui/origin",
2909
2930
  fn({
2910
2931
  middlewareData,
@@ -4230,45 +4251,46 @@ const selectStyle = {
4230
4251
  displayName: "IconBox",
4231
4252
  componentId: "sc-5mxno7-2"
4232
4253
  })(selectStyle.iconBox), Select = forwardRef(function(props, forwardedRef) {
4233
- const $ = c(37);
4234
- let children, customValidity, disabled, readOnly, restProps, t0, t1, t2, t3;
4254
+ const $ = c(38);
4255
+ let children, customValidity, disabled, gap, readOnly, restProps, t0, t1, t2, t3;
4235
4256
  $[0] !== props ? ({
4236
4257
  children,
4237
4258
  customValidity,
4238
4259
  disabled,
4239
4260
  fontSize: t0,
4261
+ gap,
4240
4262
  padding: t1,
4241
4263
  radius: t2,
4242
4264
  readOnly,
4243
4265
  space: t3,
4244
4266
  ...restProps
4245
- } = props, $[0] = props, $[1] = children, $[2] = customValidity, $[3] = disabled, $[4] = readOnly, $[5] = restProps, $[6] = t0, $[7] = t1, $[8] = t2, $[9] = t3) : (children = $[1], customValidity = $[2], disabled = $[3], readOnly = $[4], restProps = $[5], t0 = $[6], t1 = $[7], t2 = $[8], t3 = $[9]);
4246
- const fontSize2 = t0 === void 0 ? 2 : t0, padding = t1 === void 0 ? 3 : t1, radius = t2 === void 0 ? 2 : t2, space = t3 === void 0 ? 3 : t3, ref = useRef(null);
4267
+ } = props, $[0] = props, $[1] = children, $[2] = customValidity, $[3] = disabled, $[4] = gap, $[5] = readOnly, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2, $[10] = t3) : (children = $[1], customValidity = $[2], disabled = $[3], gap = $[4], readOnly = $[5], restProps = $[6], t0 = $[7], t1 = $[8], t2 = $[9], t3 = $[10]);
4268
+ const fontSize2 = t0 === void 0 ? 2 : t0, padding = t1 === void 0 ? 3 : t1, radius = t2 === void 0 ? 2 : t2, spacing = gap === void 0 ? t3 === void 0 ? 3 : t3 : gap, ref = useRef(null);
4247
4269
  let t4;
4248
- $[10] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[10] = t4) : t4 = $[10], useImperativeHandle(forwardedRef, t4), useCustomValidity(ref, customValidity);
4270
+ $[11] === Symbol.for("react.memo_cache_sentinel") ? (t4 = () => ref.current, $[11] = t4) : t4 = $[11], useImperativeHandle(forwardedRef, t4), useCustomValidity(ref, customValidity);
4249
4271
  const t5 = !disabled && readOnly ? "" : void 0;
4250
4272
  let t6;
4251
- $[11] !== fontSize2 ? (t6 = _getArrayProp(fontSize2), $[11] = fontSize2, $[12] = t6) : t6 = $[12];
4273
+ $[12] !== fontSize2 ? (t6 = _getArrayProp(fontSize2), $[12] = fontSize2, $[13] = t6) : t6 = $[13];
4252
4274
  let t7;
4253
- $[13] !== padding ? (t7 = _getArrayProp(padding), $[13] = padding, $[14] = t7) : t7 = $[14];
4275
+ $[14] !== padding ? (t7 = _getArrayProp(padding), $[14] = padding, $[15] = t7) : t7 = $[15];
4254
4276
  let t8;
4255
- $[15] !== radius ? (t8 = _getArrayProp(radius), $[15] = radius, $[16] = t8) : t8 = $[16];
4277
+ $[16] !== radius ? (t8 = _getArrayProp(radius), $[16] = radius, $[17] = t8) : t8 = $[17];
4256
4278
  let t9;
4257
- $[17] !== space ? (t9 = _getArrayProp(space), $[17] = space, $[18] = t9) : t9 = $[18];
4279
+ $[18] !== spacing ? (t9 = _getArrayProp(spacing), $[18] = spacing, $[19] = t9) : t9 = $[19];
4258
4280
  const t10 = disabled || readOnly;
4259
4281
  let t11;
4260
- $[19] !== children || $[20] !== restProps || $[21] !== t10 || $[22] !== t5 || $[23] !== t6 || $[24] !== t7 || $[25] !== t8 || $[26] !== t9 ? (t11 = /* @__PURE__ */ jsx(Input$3, { "data-read-only": t5, "data-ui": "Select", ...restProps, $fontSize: t6, $padding: t7, $radius: t8, $space: t9, disabled: t10, ref, children }), $[19] = children, $[20] = restProps, $[21] = t10, $[22] = t5, $[23] = t6, $[24] = t7, $[25] = t8, $[26] = t9, $[27] = t11) : t11 = $[27];
4282
+ $[20] !== children || $[21] !== restProps || $[22] !== t10 || $[23] !== t5 || $[24] !== t6 || $[25] !== t7 || $[26] !== t8 || $[27] !== t9 ? (t11 = /* @__PURE__ */ jsx(Input$3, { "data-read-only": t5, "data-ui": "Select", ...restProps, $fontSize: t6, $padding: t7, $radius: t8, $space: t9, disabled: t10, ref, children }), $[20] = children, $[21] = restProps, $[22] = t10, $[23] = t5, $[24] = t6, $[25] = t7, $[26] = t8, $[27] = t9, $[28] = t11) : t11 = $[28];
4261
4283
  let t12;
4262
- $[28] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ jsx(ChevronDownIcon, {}), $[28] = t12) : t12 = $[28];
4284
+ $[29] === Symbol.for("react.memo_cache_sentinel") ? (t12 = /* @__PURE__ */ jsx(ChevronDownIcon, {}), $[29] = t12) : t12 = $[29];
4263
4285
  let t13;
4264
- $[29] !== fontSize2 ? (t13 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t12 }), $[29] = fontSize2, $[30] = t13) : t13 = $[30];
4286
+ $[30] !== fontSize2 ? (t13 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t12 }), $[30] = fontSize2, $[31] = t13) : t13 = $[31];
4265
4287
  let t14;
4266
- $[31] !== padding || $[32] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, { padding, children: t13 }), $[31] = padding, $[32] = t13, $[33] = t14) : t14 = $[33];
4288
+ $[32] !== padding || $[33] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, { padding, children: t13 }), $[32] = padding, $[33] = t13, $[34] = t14) : t14 = $[34];
4267
4289
  let t15;
4268
- return $[34] !== t11 || $[35] !== t14 ? (t15 = /* @__PURE__ */ jsxs(StyledSelect, { "data-ui": "Select", children: [
4290
+ return $[35] !== t11 || $[36] !== t14 ? (t15 = /* @__PURE__ */ jsxs(StyledSelect, { "data-ui": "Select", children: [
4269
4291
  t11,
4270
4292
  t14
4271
- ] }), $[34] = t11, $[35] = t14, $[36] = t15) : t15 = $[36], t15;
4293
+ ] }), $[35] = t11, $[36] = t14, $[37] = t15) : t15 = $[37], t15;
4272
4294
  });
4273
4295
  Select.displayName = "ForwardRef(Select)";
4274
4296
  const BASE_STYLE = {
@@ -4296,21 +4318,23 @@ function responsiveStackSpaceStyle(props) {
4296
4318
  const StyledStack = /* @__PURE__ */ styled(Box).withConfig({
4297
4319
  displayName: "StyledStack",
4298
4320
  componentId: "sc-8dpfq2-0"
4299
- })(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {
4300
- const $ = c(12);
4301
- let as, restProps, space;
4321
+ })(stackBaseStyle, responsiveStackSpaceStyle), StackComponent = forwardRef(function(props, ref) {
4322
+ const $ = c(13);
4323
+ let as, deprecated_space, gap, restProps;
4302
4324
  $[0] !== props ? ({
4303
4325
  as,
4304
- space,
4326
+ gap,
4327
+ space: deprecated_space,
4305
4328
  ...restProps
4306
- } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = space) : (as = $[1], restProps = $[2], space = $[3]);
4307
- const t0 = typeof as == "string" ? as : void 0;
4329
+ } = props, $[0] = props, $[1] = as, $[2] = deprecated_space, $[3] = gap, $[4] = restProps) : (as = $[1], deprecated_space = $[2], gap = $[3], restProps = $[4]);
4330
+ const spacing = gap === void 0 ? deprecated_space : gap, t0 = typeof as == "string" ? as : void 0;
4308
4331
  let t1;
4309
- $[4] !== space ? (t1 = _getArrayProp(space), $[4] = space, $[5] = t1) : t1 = $[5];
4332
+ $[5] !== spacing ? (t1 = _getArrayProp(spacing), $[5] = spacing, $[6] = t1) : t1 = $[6];
4310
4333
  let t2;
4311
- return $[6] !== as || $[7] !== ref || $[8] !== restProps || $[9] !== t0 || $[10] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledStack, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[6] = as, $[7] = ref, $[8] = restProps, $[9] = t0, $[10] = t1, $[11] = t2) : t2 = $[11], t2;
4334
+ return $[7] !== as || $[8] !== ref || $[9] !== restProps || $[10] !== t0 || $[11] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledStack, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[7] = as, $[8] = ref, $[9] = restProps, $[10] = t0, $[11] = t1, $[12] = t2) : t2 = $[12], t2;
4312
4335
  });
4313
- Stack.displayName = "ForwardRef(Stack)";
4336
+ StackComponent.displayName = "ForwardRef(Stack)";
4337
+ const Stack = StackComponent;
4314
4338
  function switchBaseStyles() {
4315
4339
  return css`
4316
4340
  position: relative;
@@ -4609,14 +4633,15 @@ const CLEAR_BUTTON_BOX_STYLE = {
4609
4633
  display: "block"
4610
4634
  }
4611
4635
  }), TextInput = forwardRef(function(props, forwardedRef) {
4612
- const $ = c(92);
4613
- let IconComponent, IconRightComponent, __unstable_disableFocusRing, clearButton, customValidity, onClear, prefix, readOnly, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, weight;
4636
+ const $ = c(93);
4637
+ let IconComponent, IconRightComponent, __unstable_disableFocusRing, clearButton, customValidity, gap, onClear, prefix, readOnly, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, weight;
4614
4638
  $[0] !== props ? ({
4615
4639
  __unstable_disableFocusRing,
4616
4640
  border: t0,
4617
4641
  clearButton,
4618
4642
  disabled: t1,
4619
4643
  fontSize: t2,
4644
+ gap,
4620
4645
  icon: IconComponent,
4621
4646
  iconRight: IconRightComponent,
4622
4647
  onClear,
@@ -4630,73 +4655,73 @@ const CLEAR_BUTTON_BOX_STYLE = {
4630
4655
  type: t6,
4631
4656
  weight,
4632
4657
  ...restProps
4633
- } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = __unstable_disableFocusRing, $[4] = clearButton, $[5] = customValidity, $[6] = onClear, $[7] = prefix, $[8] = readOnly, $[9] = restProps, $[10] = suffix, $[11] = t0, $[12] = t1, $[13] = t2, $[14] = t3, $[15] = t4, $[16] = t5, $[17] = t6, $[18] = weight) : (IconComponent = $[1], IconRightComponent = $[2], __unstable_disableFocusRing = $[3], clearButton = $[4], customValidity = $[5], onClear = $[6], prefix = $[7], readOnly = $[8], restProps = $[9], suffix = $[10], t0 = $[11], t1 = $[12], t2 = $[13], t3 = $[14], t4 = $[15], t5 = $[16], t6 = $[17], weight = $[18]);
4634
- const border2 = t0 === void 0 ? !0 : t0, disabled = t1 === void 0 ? !1 : t1, fontSizeProp = t2 === void 0 ? 2 : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, spaceProp = t5 === void 0 ? 3 : t5, type = t6 === void 0 ? "text" : t6, ref = useRef(null), rootTheme = useRootTheme();
4658
+ } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = __unstable_disableFocusRing, $[4] = clearButton, $[5] = customValidity, $[6] = gap, $[7] = onClear, $[8] = prefix, $[9] = readOnly, $[10] = restProps, $[11] = suffix, $[12] = t0, $[13] = t1, $[14] = t2, $[15] = t3, $[16] = t4, $[17] = t5, $[18] = t6, $[19] = weight) : (IconComponent = $[1], IconRightComponent = $[2], __unstable_disableFocusRing = $[3], clearButton = $[4], customValidity = $[5], gap = $[6], onClear = $[7], prefix = $[8], readOnly = $[9], restProps = $[10], suffix = $[11], t0 = $[12], t1 = $[13], t2 = $[14], t3 = $[15], t4 = $[16], t5 = $[17], t6 = $[18], weight = $[19]);
4659
+ const border2 = t0 === void 0 ? !0 : t0, disabled = t1 === void 0 ? !1 : t1, fontSizeProp = t2 === void 0 ? 2 : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, deprecated_space = t5 === void 0 ? 3 : t5, type = t6 === void 0 ? "text" : t6, ref = useRef(null), rootTheme = useRootTheme();
4635
4660
  let t7;
4636
- $[19] !== fontSizeProp ? (t7 = _getArrayProp(fontSizeProp), $[19] = fontSizeProp, $[20] = t7) : t7 = $[20];
4661
+ $[20] !== fontSizeProp ? (t7 = _getArrayProp(fontSizeProp), $[20] = fontSizeProp, $[21] = t7) : t7 = $[21];
4637
4662
  const fontSize2 = t7;
4638
4663
  let t8;
4639
- $[21] !== paddingProp ? (t8 = _getArrayProp(paddingProp), $[21] = paddingProp, $[22] = t8) : t8 = $[22];
4664
+ $[22] !== paddingProp ? (t8 = _getArrayProp(paddingProp), $[22] = paddingProp, $[23] = t8) : t8 = $[23];
4640
4665
  const padding = t8;
4641
4666
  let t9;
4642
- $[23] !== radiusProp ? (t9 = _getArrayProp(radiusProp), $[23] = radiusProp, $[24] = t9) : t9 = $[24];
4643
- const radius = t9;
4644
- let t10;
4645
- $[25] !== spaceProp ? (t10 = _getArrayProp(spaceProp), $[25] = spaceProp, $[26] = t10) : t10 = $[26];
4646
- const space = t10, $hasClearButton = !!clearButton, $hasIcon = !!IconComponent, $hasIconRight = !!IconRightComponent, $hasSuffix = !!suffix, $hasPrefix = !!prefix;
4667
+ $[24] !== radiusProp ? (t9 = _getArrayProp(radiusProp), $[24] = radiusProp, $[25] = t9) : t9 = $[25];
4668
+ const radius = t9, t10 = gap === void 0 ? deprecated_space : gap;
4647
4669
  let t11;
4648
- $[27] === Symbol.for("react.memo_cache_sentinel") ? (t11 = () => ref.current, $[27] = t11) : t11 = $[27], useImperativeHandle(forwardedRef, t11), useCustomValidity(ref, customValidity);
4649
- const handleClearMouseDown = _temp$2;
4670
+ $[26] !== t10 ? (t11 = _getArrayProp(t10), $[26] = t10, $[27] = t11) : t11 = $[27];
4671
+ const space = t11, $hasClearButton = !!clearButton, $hasIcon = !!IconComponent, $hasIconRight = !!IconRightComponent, $hasSuffix = !!suffix, $hasPrefix = !!prefix;
4650
4672
  let t12;
4651
- $[28] !== onClear ? (t12 = (event_0) => {
4652
- event_0.preventDefault(), event_0.stopPropagation(), onClear && onClear(), ref.current?.focus();
4653
- }, $[28] = onClear, $[29] = t12) : t12 = $[29];
4654
- const handleClearClick = t12;
4673
+ $[28] === Symbol.for("react.memo_cache_sentinel") ? (t12 = () => ref.current, $[28] = t12) : t12 = $[28], useImperativeHandle(forwardedRef, t12), useCustomValidity(ref, customValidity);
4674
+ const handleClearMouseDown = _temp$2;
4655
4675
  let t13;
4656
- $[30] !== prefix || $[31] !== radius ? (t13 = prefix && /* @__PURE__ */ jsx(Prefix, { borderTop: !0, borderLeft: !0, borderBottom: !0, radius, sizing: "border", tone: "inherit", children: /* @__PURE__ */ jsx("span", { children: prefix }) }), $[30] = prefix, $[31] = radius, $[32] = t13) : t13 = $[32];
4657
- const prefixNode = t13, t14 = border2 ? "" : void 0;
4658
- let t15;
4659
- $[33] !== IconComponent || $[34] !== fontSize2 || $[35] !== padding ? (t15 = IconComponent && /* @__PURE__ */ jsx(LeftBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
4676
+ $[29] !== onClear ? (t13 = (event_0) => {
4677
+ event_0.preventDefault(), event_0.stopPropagation(), onClear && onClear(), ref.current?.focus();
4678
+ }, $[29] = onClear, $[30] = t13) : t13 = $[30];
4679
+ const handleClearClick = t13;
4680
+ let t14;
4681
+ $[31] !== prefix || $[32] !== radius ? (t14 = prefix && /* @__PURE__ */ jsx(Prefix, { borderTop: !0, borderLeft: !0, borderBottom: !0, radius, sizing: "border", tone: "inherit", children: /* @__PURE__ */ jsx("span", { children: prefix }) }), $[31] = prefix, $[32] = radius, $[33] = t14) : t14 = $[33];
4682
+ const prefixNode = t14, t15 = border2 ? "" : void 0;
4683
+ let t16;
4684
+ $[34] !== IconComponent || $[35] !== fontSize2 || $[36] !== padding ? (t16 = IconComponent && /* @__PURE__ */ jsx(LeftBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
4660
4685
  isValidElement(IconComponent) && IconComponent,
4661
4686
  isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})
4662
- ] }) }), $[33] = IconComponent, $[34] = fontSize2, $[35] = padding, $[36] = t15) : t15 = $[36];
4663
- let t16;
4664
- $[37] !== $hasClearButton || $[38] !== IconRightComponent || $[39] !== fontSize2 || $[40] !== padding ? (t16 = !$hasClearButton && IconRightComponent && /* @__PURE__ */ jsx(RightBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
4687
+ ] }) }), $[34] = IconComponent, $[35] = fontSize2, $[36] = padding, $[37] = t16) : t16 = $[37];
4688
+ let t17;
4689
+ $[38] !== $hasClearButton || $[39] !== IconRightComponent || $[40] !== fontSize2 || $[41] !== padding ? (t17 = !$hasClearButton && IconRightComponent && /* @__PURE__ */ jsx(RightBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
4665
4690
  isValidElement(IconRightComponent) && IconRightComponent,
4666
4691
  isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})
4667
- ] }) }), $[37] = $hasClearButton, $[38] = IconRightComponent, $[39] = fontSize2, $[40] = padding, $[41] = t16) : t16 = $[41];
4668
- let t17;
4669
- $[42] !== $hasPrefix || $[43] !== $hasSuffix || $[44] !== __unstable_disableFocusRing || $[45] !== radius || $[46] !== rootTheme.scheme || $[47] !== rootTheme.tone || $[48] !== t14 || $[49] !== t15 || $[50] !== t16 ? (t17 = /* @__PURE__ */ jsxs(Presentation, { $hasPrefix, $unstableDisableFocusRing: __unstable_disableFocusRing, $hasSuffix, $radius: radius, $scheme: rootTheme.scheme, $tone: rootTheme.tone, "data-border": t14, "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone, children: [
4670
- t15,
4671
- t16
4672
- ] }), $[42] = $hasPrefix, $[43] = $hasSuffix, $[44] = __unstable_disableFocusRing, $[45] = radius, $[46] = rootTheme.scheme, $[47] = rootTheme.tone, $[48] = t14, $[49] = t15, $[50] = t16, $[51] = t17) : t17 = $[51];
4673
- const presentationNode = t17;
4692
+ ] }) }), $[38] = $hasClearButton, $[39] = IconRightComponent, $[40] = fontSize2, $[41] = padding, $[42] = t17) : t17 = $[42];
4674
4693
  let t18;
4675
- $[52] !== padding ? (t18 = padding.map(_temp2), $[52] = padding, $[53] = t18) : t18 = $[53];
4676
- const clearButtonBoxPadding = t18;
4694
+ $[43] !== $hasPrefix || $[44] !== $hasSuffix || $[45] !== __unstable_disableFocusRing || $[46] !== radius || $[47] !== rootTheme.scheme || $[48] !== rootTheme.tone || $[49] !== t15 || $[50] !== t16 || $[51] !== t17 ? (t18 = /* @__PURE__ */ jsxs(Presentation, { $hasPrefix, $unstableDisableFocusRing: __unstable_disableFocusRing, $hasSuffix, $radius: radius, $scheme: rootTheme.scheme, $tone: rootTheme.tone, "data-border": t15, "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone, children: [
4695
+ t16,
4696
+ t17
4697
+ ] }), $[43] = $hasPrefix, $[44] = $hasSuffix, $[45] = __unstable_disableFocusRing, $[46] = radius, $[47] = rootTheme.scheme, $[48] = rootTheme.tone, $[49] = t15, $[50] = t16, $[51] = t17, $[52] = t18) : t18 = $[52];
4698
+ const presentationNode = t18;
4677
4699
  let t19;
4678
- $[54] !== padding ? (t19 = padding.map(_temp3), $[54] = padding, $[55] = t19) : t19 = $[55];
4679
- const clearButtonPadding = t19, clearButtonProps = typeof clearButton == "object" ? clearButton : EMPTY_RECORD;
4700
+ $[53] !== padding ? (t19 = padding.map(_temp2), $[53] = padding, $[54] = t19) : t19 = $[54];
4701
+ const clearButtonBoxPadding = t19;
4680
4702
  let t20;
4681
- $[56] !== clearButton || $[57] !== clearButtonBoxPadding || $[58] !== clearButtonPadding || $[59] !== clearButtonProps || $[60] !== customValidity || $[61] !== disabled || $[62] !== fontSize2 || $[63] !== handleClearClick || $[64] !== radius || $[65] !== readOnly ? (t20 = !disabled && !readOnly && clearButton && /* @__PURE__ */ jsx(RightCard, { forwardedAs: "span", padding: clearButtonBoxPadding, style: CLEAR_BUTTON_BOX_STYLE, tone: customValidity ? "critical" : "inherit", children: /* @__PURE__ */ jsx(TextInputClearButton, { "aria-label": "Clear", "data-qa": "clear-button", fontSize: fontSize2, icon: CloseIcon, mode: "bleed", padding: clearButtonPadding, radius, ...clearButtonProps, onClick: handleClearClick, onMouseDown: handleClearMouseDown }) }), $[56] = clearButton, $[57] = clearButtonBoxPadding, $[58] = clearButtonPadding, $[59] = clearButtonProps, $[60] = customValidity, $[61] = disabled, $[62] = fontSize2, $[63] = handleClearClick, $[64] = radius, $[65] = readOnly, $[66] = t20) : t20 = $[66];
4682
- const clearButtonNode = t20;
4703
+ $[55] !== padding ? (t20 = padding.map(_temp3), $[55] = padding, $[56] = t20) : t20 = $[56];
4704
+ const clearButtonPadding = t20, clearButtonProps = typeof clearButton == "object" ? clearButton : EMPTY_RECORD;
4683
4705
  let t21;
4684
- $[67] !== radius || $[68] !== suffix ? (t21 = suffix && /* @__PURE__ */ jsx(Suffix, { borderTop: !0, borderRight: !0, borderBottom: !0, radius, sizing: "border", tone: "inherit", children: /* @__PURE__ */ jsx("span", { children: suffix }) }), $[67] = radius, $[68] = suffix, $[69] = t21) : t21 = $[69];
4685
- const suffixNode = t21, t22 = $hasIconRight || $hasClearButton;
4686
- let t23;
4687
- $[70] !== $hasIcon || $[71] !== disabled || $[72] !== fontSize2 || $[73] !== padding || $[74] !== readOnly || $[75] !== restProps || $[76] !== rootTheme.scheme || $[77] !== rootTheme.tone || $[78] !== space || $[79] !== t22 || $[80] !== type || $[81] !== weight ? (t23 = /* @__PURE__ */ jsx(Input, { "data-as": "input", "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone, ...restProps, $fontSize: fontSize2, $iconLeft: $hasIcon, $iconRight: t22, $padding: padding, $scheme: rootTheme.scheme, $space: space, $tone: rootTheme.tone, $weight: weight, disabled, readOnly, ref, type }), $[70] = $hasIcon, $[71] = disabled, $[72] = fontSize2, $[73] = padding, $[74] = readOnly, $[75] = restProps, $[76] = rootTheme.scheme, $[77] = rootTheme.tone, $[78] = space, $[79] = t22, $[80] = type, $[81] = weight, $[82] = t23) : t23 = $[82];
4706
+ $[57] !== clearButton || $[58] !== clearButtonBoxPadding || $[59] !== clearButtonPadding || $[60] !== clearButtonProps || $[61] !== customValidity || $[62] !== disabled || $[63] !== fontSize2 || $[64] !== handleClearClick || $[65] !== radius || $[66] !== readOnly ? (t21 = !disabled && !readOnly && clearButton && /* @__PURE__ */ jsx(RightCard, { forwardedAs: "span", padding: clearButtonBoxPadding, style: CLEAR_BUTTON_BOX_STYLE, tone: customValidity ? "critical" : "inherit", children: /* @__PURE__ */ jsx(TextInputClearButton, { "aria-label": "Clear", "data-qa": "clear-button", fontSize: fontSize2, icon: CloseIcon, mode: "bleed", padding: clearButtonPadding, radius, ...clearButtonProps, onClick: handleClearClick, onMouseDown: handleClearMouseDown }) }), $[57] = clearButton, $[58] = clearButtonBoxPadding, $[59] = clearButtonPadding, $[60] = clearButtonProps, $[61] = customValidity, $[62] = disabled, $[63] = fontSize2, $[64] = handleClearClick, $[65] = radius, $[66] = readOnly, $[67] = t21) : t21 = $[67];
4707
+ const clearButtonNode = t21;
4708
+ let t22;
4709
+ $[68] !== radius || $[69] !== suffix ? (t22 = suffix && /* @__PURE__ */ jsx(Suffix, { borderTop: !0, borderRight: !0, borderBottom: !0, radius, sizing: "border", tone: "inherit", children: /* @__PURE__ */ jsx("span", { children: suffix }) }), $[68] = radius, $[69] = suffix, $[70] = t22) : t22 = $[70];
4710
+ const suffixNode = t22, t23 = $hasIconRight || $hasClearButton;
4688
4711
  let t24;
4689
- $[83] !== clearButtonNode || $[84] !== presentationNode || $[85] !== t23 ? (t24 = /* @__PURE__ */ jsxs(InputRoot, { children: [
4690
- t23,
4712
+ $[71] !== $hasIcon || $[72] !== disabled || $[73] !== fontSize2 || $[74] !== padding || $[75] !== readOnly || $[76] !== restProps || $[77] !== rootTheme.scheme || $[78] !== rootTheme.tone || $[79] !== space || $[80] !== t23 || $[81] !== type || $[82] !== weight ? (t24 = /* @__PURE__ */ jsx(Input, { "data-as": "input", "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone, ...restProps, $fontSize: fontSize2, $iconLeft: $hasIcon, $iconRight: t23, $padding: padding, $scheme: rootTheme.scheme, $space: space, $tone: rootTheme.tone, $weight: weight, disabled, readOnly, ref, type }), $[71] = $hasIcon, $[72] = disabled, $[73] = fontSize2, $[74] = padding, $[75] = readOnly, $[76] = restProps, $[77] = rootTheme.scheme, $[78] = rootTheme.tone, $[79] = space, $[80] = t23, $[81] = type, $[82] = weight, $[83] = t24) : t24 = $[83];
4713
+ let t25;
4714
+ $[84] !== clearButtonNode || $[85] !== presentationNode || $[86] !== t24 ? (t25 = /* @__PURE__ */ jsxs(InputRoot, { children: [
4715
+ t24,
4691
4716
  presentationNode,
4692
4717
  clearButtonNode
4693
- ] }), $[83] = clearButtonNode, $[84] = presentationNode, $[85] = t23, $[86] = t24) : t24 = $[86];
4694
- let t25;
4695
- return $[87] !== prefixNode || $[88] !== rootTheme.tone || $[89] !== suffixNode || $[90] !== t24 ? (t25 = /* @__PURE__ */ jsxs(StyledTextInput, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4718
+ ] }), $[84] = clearButtonNode, $[85] = presentationNode, $[86] = t24, $[87] = t25) : t25 = $[87];
4719
+ let t26;
4720
+ return $[88] !== prefixNode || $[89] !== rootTheme.tone || $[90] !== suffixNode || $[91] !== t25 ? (t26 = /* @__PURE__ */ jsxs(StyledTextInput, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4696
4721
  prefixNode,
4697
- t24,
4722
+ t25,
4698
4723
  suffixNode
4699
- ] }), $[87] = prefixNode, $[88] = rootTheme.tone, $[89] = suffixNode, $[90] = t24, $[91] = t25) : t25 = $[91], t25;
4724
+ ] }), $[88] = prefixNode, $[89] = rootTheme.tone, $[90] = suffixNode, $[91] = t25, $[92] = t26) : t26 = $[92], t26;
4700
4725
  });
4701
4726
  TextInput.displayName = "ForwardRef(TextInput)";
4702
4727
  function _temp$2(event) {
@@ -5094,34 +5119,35 @@ const StyledHotkeys = styled.kbd.withConfig({
5094
5119
  displayName: "Key",
5095
5120
  componentId: "sc-b37mge-1"
5096
5121
  })`&:not([hidden]){display:block;}`, Hotkeys = forwardRef(function(props, ref) {
5097
- const $ = c(26);
5098
- let fontSize2, keys, padding, radius, restProps, t0;
5122
+ const $ = c(27);
5123
+ let fontSize2, gap, keys, padding, radius, restProps, t0;
5099
5124
  $[0] !== props ? ({
5100
5125
  fontSize: fontSize2,
5126
+ gap,
5101
5127
  keys,
5102
5128
  padding,
5103
5129
  radius,
5104
5130
  space: t0,
5105
5131
  ...restProps
5106
- } = props, $[0] = props, $[1] = fontSize2, $[2] = keys, $[3] = padding, $[4] = radius, $[5] = restProps, $[6] = t0) : (fontSize2 = $[1], keys = $[2], padding = $[3], radius = $[4], restProps = $[5], t0 = $[6]);
5107
- const spaceProp = t0 === void 0 ? 0.5 : t0;
5108
- let t1;
5109
- $[7] !== spaceProp ? (t1 = _getArrayProp(spaceProp), $[7] = spaceProp, $[8] = t1) : t1 = $[8];
5110
- const space = t1;
5111
- if (!keys || keys.length === 0) {
5112
- let t22;
5113
- return $[9] === Symbol.for("react.memo_cache_sentinel") ? (t22 = /* @__PURE__ */ jsx(Fragment, {}), $[9] = t22) : t22 = $[9], t22;
5114
- }
5132
+ } = props, $[0] = props, $[1] = fontSize2, $[2] = gap, $[3] = keys, $[4] = padding, $[5] = radius, $[6] = restProps, $[7] = t0) : (fontSize2 = $[1], gap = $[2], keys = $[3], padding = $[4], radius = $[5], restProps = $[6], t0 = $[7]);
5133
+ const t1 = gap === void 0 ? t0 === void 0 ? 0.5 : t0 : gap;
5115
5134
  let t2;
5116
- if ($[10] !== fontSize2 || $[11] !== keys || $[12] !== padding || $[13] !== radius) {
5135
+ $[8] !== t1 ? (t2 = _getArrayProp(t1), $[8] = t1, $[9] = t2) : t2 = $[9];
5136
+ const spacing = t2;
5137
+ if (!keys || keys.length === 0) {
5117
5138
  let t32;
5118
- $[15] !== fontSize2 || $[16] !== padding || $[17] !== radius ? (t32 = (key2, i) => /* @__PURE__ */ jsx(Key, { fontSize: fontSize2, padding, radius, children: key2 }, i), $[15] = fontSize2, $[16] = padding, $[17] = radius, $[18] = t32) : t32 = $[18], t2 = keys.map(t32), $[10] = fontSize2, $[11] = keys, $[12] = padding, $[13] = radius, $[14] = t2;
5119
- } else
5120
- t2 = $[14];
5139
+ return $[10] === Symbol.for("react.memo_cache_sentinel") ? (t32 = /* @__PURE__ */ jsx(Fragment, {}), $[10] = t32) : t32 = $[10], t32;
5140
+ }
5121
5141
  let t3;
5122
- $[19] !== space || $[20] !== t2 ? (t3 = /* @__PURE__ */ jsx(Inline, { as: "span", space, children: t2 }), $[19] = space, $[20] = t2, $[21] = t3) : t3 = $[21];
5142
+ if ($[11] !== fontSize2 || $[12] !== keys || $[13] !== padding || $[14] !== radius) {
5143
+ let t42;
5144
+ $[16] !== fontSize2 || $[17] !== padding || $[18] !== radius ? (t42 = (key2, i) => /* @__PURE__ */ jsx(Key, { fontSize: fontSize2, padding, radius, children: key2 }, i), $[16] = fontSize2, $[17] = padding, $[18] = radius, $[19] = t42) : t42 = $[19], t3 = keys.map(t42), $[11] = fontSize2, $[12] = keys, $[13] = padding, $[14] = radius, $[15] = t3;
5145
+ } else
5146
+ t3 = $[15];
5123
5147
  let t4;
5124
- return $[22] !== ref || $[23] !== restProps || $[24] !== t3 ? (t4 = /* @__PURE__ */ jsx(StyledHotkeys, { "data-ui": "Hotkeys", ...restProps, ref, children: t3 }), $[22] = ref, $[23] = restProps, $[24] = t3, $[25] = t4) : t4 = $[25], t4;
5148
+ $[20] !== spacing || $[21] !== t3 ? (t4 = /* @__PURE__ */ jsx(Inline, { as: "span", gap: spacing, children: t3 }), $[20] = spacing, $[21] = t3, $[22] = t4) : t4 = $[22];
5149
+ let t5;
5150
+ return $[23] !== ref || $[24] !== restProps || $[25] !== t4 ? (t5 = /* @__PURE__ */ jsx(StyledHotkeys, { "data-ui": "Hotkeys", ...restProps, ref, children: t4 }), $[23] = ref, $[24] = restProps, $[25] = t4, $[26] = t5) : t5 = $[26], t5;
5125
5151
  });
5126
5152
  Hotkeys.displayName = "ForwardRef(Hotkeys)";
5127
5153
  const MenuContext = createGlobalScopedContext("@sanity/ui/context/menu", null);
@@ -5294,8 +5320,8 @@ const StyledMenu = styled(Box).withConfig({
5294
5320
  displayName: "StyledMenu",
5295
5321
  componentId: "sc-xt0tnv-0"
5296
5322
  })`outline:none;overflow:auto;`, Menu = forwardRef(function(props, forwardedRef) {
5297
- const $ = c(49);
5298
- let _shouldFocus, children, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;
5323
+ const $ = c(50);
5324
+ let _shouldFocus, children, gap, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;
5299
5325
  if ($[0] !== props) {
5300
5326
  const {
5301
5327
  children: t22,
@@ -5310,25 +5336,26 @@ const StyledMenu = styled(Box).withConfig({
5310
5336
  padding: t92,
5311
5337
  registerElement: t102,
5312
5338
  shouldFocus: t112,
5313
- space: t122,
5314
- ...t13
5339
+ gap: t122,
5340
+ space: t13,
5341
+ ...t14
5315
5342
  } = props;
5316
- children = t22, onClickOutside = t32, onEscape = t42, onItemClick = t52, onItemSelect = t62, onKeyDown = t72, originElement = t82, t0 = t92, registerElement = t102, _shouldFocus = t112, t1 = t122, restProps = t13, $[0] = props, $[1] = _shouldFocus, $[2] = children, $[3] = onClickOutside, $[4] = onEscape, $[5] = onItemClick, $[6] = onItemSelect, $[7] = onKeyDown, $[8] = originElement, $[9] = registerElement, $[10] = restProps, $[11] = t0, $[12] = t1;
5343
+ children = t22, onClickOutside = t32, onEscape = t42, onItemClick = t52, onItemSelect = t62, onKeyDown = t72, originElement = t82, t0 = t92, registerElement = t102, _shouldFocus = t112, gap = t122, t1 = t13, restProps = t14, $[0] = props, $[1] = _shouldFocus, $[2] = children, $[3] = gap, $[4] = onClickOutside, $[5] = onEscape, $[6] = onItemClick, $[7] = onItemSelect, $[8] = onKeyDown, $[9] = originElement, $[10] = registerElement, $[11] = restProps, $[12] = t0, $[13] = t1;
5317
5344
  } else
5318
- _shouldFocus = $[1], children = $[2], onClickOutside = $[3], onEscape = $[4], onItemClick = $[5], onItemSelect = $[6], onKeyDown = $[7], originElement = $[8], registerElement = $[9], restProps = $[10], t0 = $[11], t1 = $[12];
5319
- const padding = t0 === void 0 ? 1 : t0, space = t1 === void 0 ? 1 : t1, shouldFocus = _shouldFocus ?? (props.focusFirst && "first" || props.focusLast && "last" || null), ref = useRef(null);
5345
+ _shouldFocus = $[1], children = $[2], gap = $[3], onClickOutside = $[4], onEscape = $[5], onItemClick = $[6], onItemSelect = $[7], onKeyDown = $[8], originElement = $[9], registerElement = $[10], restProps = $[11], t0 = $[12], t1 = $[13];
5346
+ const padding = t0 === void 0 ? 1 : t0, spacing = gap === void 0 ? t1 === void 0 ? 1 : t1 : gap, shouldFocus = _shouldFocus ?? (props.focusFirst && "first" || props.focusLast && "last" || null), ref = useRef(null);
5320
5347
  let t2;
5321
- $[13] === Symbol.for("react.memo_cache_sentinel") ? (t2 = () => ref.current, $[13] = t2) : t2 = $[13], useImperativeHandle(forwardedRef, t2);
5348
+ $[14] === Symbol.for("react.memo_cache_sentinel") ? (t2 = () => ref.current, $[14] = t2) : t2 = $[14], useImperativeHandle(forwardedRef, t2);
5322
5349
  const {
5323
5350
  isTopLayer
5324
5351
  } = useLayer();
5325
5352
  let t3;
5326
- $[14] !== onKeyDown || $[15] !== originElement || $[16] !== shouldFocus ? (t3 = {
5353
+ $[15] !== onKeyDown || $[16] !== originElement || $[17] !== shouldFocus ? (t3 = {
5327
5354
  onKeyDown,
5328
5355
  originElement,
5329
5356
  shouldFocus,
5330
5357
  rootElementRef: ref
5331
- }, $[14] = onKeyDown, $[15] = originElement, $[16] = shouldFocus, $[17] = t3) : t3 = $[17];
5358
+ }, $[15] = onKeyDown, $[16] = originElement, $[17] = shouldFocus, $[18] = t3) : t3 = $[18];
5332
5359
  const {
5333
5360
  activeElement,
5334
5361
  activeIndex,
@@ -5338,22 +5365,22 @@ const StyledMenu = styled(Box).withConfig({
5338
5365
  mount
5339
5366
  } = useMenuController(t3), unregisterElementRef = useRef(null);
5340
5367
  let t4;
5341
- $[18] !== registerElement ? (t4 = (el) => {
5368
+ $[19] !== registerElement ? (t4 = (el) => {
5342
5369
  unregisterElementRef.current && (unregisterElementRef.current(), unregisterElementRef.current = null), ref.current = el, ref.current && registerElement && (unregisterElementRef.current = registerElement(ref.current));
5343
- }, $[18] = registerElement, $[19] = t4) : t4 = $[19];
5370
+ }, $[19] = registerElement, $[20] = t4) : t4 = $[20];
5344
5371
  const handleRefChange = t4;
5345
5372
  let t5, t6;
5346
- $[20] !== activeIndex || $[21] !== onItemSelect ? (t5 = () => {
5373
+ $[21] !== activeIndex || $[22] !== onItemSelect ? (t5 = () => {
5347
5374
  onItemSelect && onItemSelect(activeIndex);
5348
- }, t6 = [activeIndex, onItemSelect], $[20] = activeIndex, $[21] = onItemSelect, $[22] = t5, $[23] = t6) : (t5 = $[22], t6 = $[23]), useEffect(t5, t6);
5375
+ }, t6 = [activeIndex, onItemSelect], $[21] = activeIndex, $[22] = onItemSelect, $[23] = t5, $[24] = t6) : (t5 = $[23], t6 = $[24]), useEffect(t5, t6);
5349
5376
  let t7;
5350
- $[24] === Symbol.for("react.memo_cache_sentinel") ? (t7 = () => [ref.current], $[24] = t7) : t7 = $[24], useClickOutsideEvent(isTopLayer && onClickOutside, t7);
5377
+ $[25] === Symbol.for("react.memo_cache_sentinel") ? (t7 = () => [ref.current], $[25] = t7) : t7 = $[25], useClickOutsideEvent(isTopLayer && onClickOutside, t7);
5351
5378
  let t8;
5352
- $[25] !== isTopLayer || $[26] !== onEscape ? (t8 = (event) => {
5379
+ $[26] !== isTopLayer || $[27] !== onEscape ? (t8 = (event) => {
5353
5380
  isTopLayer && event.key === "Escape" && (event.stopPropagation(), onEscape && onEscape());
5354
- }, $[25] = isTopLayer, $[26] = onEscape, $[27] = t8) : t8 = $[27], useGlobalKeyDown(t8);
5381
+ }, $[26] = isTopLayer, $[27] = onEscape, $[28] = t8) : t8 = $[28], useGlobalKeyDown(t8);
5355
5382
  let t9;
5356
- $[28] !== activeElement || $[29] !== handleItemMouseEnter || $[30] !== handleItemMouseLeave || $[31] !== mount || $[32] !== onClickOutside || $[33] !== onEscape || $[34] !== onItemClick || $[35] !== registerElement ? (t9 = {
5383
+ $[29] !== activeElement || $[30] !== handleItemMouseEnter || $[31] !== handleItemMouseLeave || $[32] !== mount || $[33] !== onClickOutside || $[34] !== onEscape || $[35] !== onItemClick || $[36] !== registerElement ? (t9 = {
5357
5384
  version: 2,
5358
5385
  activeElement,
5359
5386
  mount,
@@ -5363,21 +5390,22 @@ const StyledMenu = styled(Box).withConfig({
5363
5390
  onItemMouseEnter: handleItemMouseEnter,
5364
5391
  onItemMouseLeave: handleItemMouseLeave,
5365
5392
  registerElement
5366
- }, $[28] = activeElement, $[29] = handleItemMouseEnter, $[30] = handleItemMouseLeave, $[31] = mount, $[32] = onClickOutside, $[33] = onEscape, $[34] = onItemClick, $[35] = registerElement, $[36] = t9) : t9 = $[36];
5393
+ }, $[29] = activeElement, $[30] = handleItemMouseEnter, $[31] = handleItemMouseLeave, $[32] = mount, $[33] = onClickOutside, $[34] = onEscape, $[35] = onItemClick, $[36] = registerElement, $[37] = t9) : t9 = $[37];
5367
5394
  const value = t9;
5368
5395
  let t10;
5369
- $[37] !== children || $[38] !== space ? (t10 = /* @__PURE__ */ jsx(Stack, { space, children }), $[37] = children, $[38] = space, $[39] = t10) : t10 = $[39];
5396
+ $[38] !== children || $[39] !== spacing ? (t10 = /* @__PURE__ */ jsx(Stack, { gap: spacing, children }), $[38] = children, $[39] = spacing, $[40] = t10) : t10 = $[40];
5370
5397
  let t11;
5371
- $[40] !== handleKeyDown || $[41] !== handleRefChange || $[42] !== padding || $[43] !== restProps || $[44] !== t10 ? (t11 = /* @__PURE__ */ jsx(StyledMenu, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t10 }), $[40] = handleKeyDown, $[41] = handleRefChange, $[42] = padding, $[43] = restProps, $[44] = t10, $[45] = t11) : t11 = $[45];
5398
+ $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t10 ? (t11 = /* @__PURE__ */ jsx(StyledMenu, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t10 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t10, $[46] = t11) : t11 = $[46];
5372
5399
  let t12;
5373
- return $[46] !== t11 || $[47] !== value ? (t12 = /* @__PURE__ */ jsx(MenuContext.Provider, { value, children: t11 }), $[46] = t11, $[47] = value, $[48] = t12) : t12 = $[48], t12;
5400
+ return $[47] !== t11 || $[48] !== value ? (t12 = /* @__PURE__ */ jsx(MenuContext.Provider, { value, children: t11 }), $[47] = t11, $[48] = value, $[49] = t12) : t12 = $[49], t12;
5374
5401
  });
5375
5402
  Menu.displayName = "ForwardRef(Menu)";
5376
- const MenuDivider = styled.hr.withConfig({
5377
- displayName: "MenuDivider",
5403
+ const StyledMenuDivider = styled.hr.withConfig({
5404
+ displayName: "StyledMenuDivider",
5378
5405
  componentId: "sc-uhoxwu-0"
5379
5406
  })`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;
5380
- MenuDivider.displayName = "MenuDivider";
5407
+ StyledMenuDivider.displayName = "MenuDivider";
5408
+ const MenuDivider = StyledMenuDivider;
5381
5409
  function selectableBaseStyle() {
5382
5410
  return css`
5383
5411
  background-color: inherit;
@@ -5491,9 +5519,9 @@ function useMenu() {
5491
5519
  throw new Error("useMenu(): the context value is not compatible");
5492
5520
  return value;
5493
5521
  }
5494
- function MenuGroup(props) {
5495
- const $ = c(81);
5496
- let IconComponent, children, menuProps, onClick, popover, restProps, t0, t1, t2, t3, t4, t5, text;
5522
+ function MenuGroupComponent(props) {
5523
+ const $ = c(82);
5524
+ let IconComponent, children, gap, menuProps, onClick, popover, restProps, t0, t1, t2, t3, t4, t5, text;
5497
5525
  $[0] !== props ? ({
5498
5526
  as: t0,
5499
5527
  children,
@@ -5504,12 +5532,13 @@ function MenuGroup(props) {
5504
5532
  padding: t2,
5505
5533
  popover,
5506
5534
  radius: t3,
5535
+ gap,
5507
5536
  space: t4,
5508
5537
  text,
5509
5538
  tone: t5,
5510
5539
  ...restProps
5511
- } = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = menuProps, $[4] = onClick, $[5] = popover, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2, $[10] = t3, $[11] = t4, $[12] = t5, $[13] = text) : (IconComponent = $[1], children = $[2], menuProps = $[3], onClick = $[4], popover = $[5], restProps = $[6], t0 = $[7], t1 = $[8], t2 = $[9], t3 = $[10], t4 = $[11], t5 = $[12], text = $[13]);
5512
- const as = t0 === void 0 ? "button" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? "default" : t5, menu = useMenu(), {
5540
+ } = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = gap, $[4] = menuProps, $[5] = onClick, $[6] = popover, $[7] = restProps, $[8] = t0, $[9] = t1, $[10] = t2, $[11] = t3, $[12] = t4, $[13] = t5, $[14] = text) : (IconComponent = $[1], children = $[2], gap = $[3], menuProps = $[4], onClick = $[5], popover = $[6], restProps = $[7], t0 = $[8], t1 = $[9], t2 = $[10], t3 = $[11], t4 = $[12], t5 = $[13], text = $[14]);
5541
+ const as = t0 === void 0 ? "button" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, deprecated_space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? "default" : t5, spacing = gap === void 0 ? deprecated_space : gap, menu = useMenu(), {
5513
5542
  scheme
5514
5543
  } = useRootTheme(), {
5515
5544
  activeElement,
@@ -5521,88 +5550,88 @@ function MenuGroup(props) {
5521
5550
  registerElement
5522
5551
  } = menu, onItemMouseEnter = _onItemMouseEnter ?? menu.onItemMouseEnter, [rootElement, setRootElement] = useState(null), [open, setOpen] = useState(!1), [shouldFocus, setShouldFocus] = useState(null), active = !!activeElement && activeElement === rootElement, [withinMenu, setWithinMenu] = useState(!1);
5523
5552
  let t6;
5524
- $[14] !== onItemMouseEnter ? (t6 = (event) => {
5553
+ $[15] !== onItemMouseEnter ? (t6 = (event) => {
5525
5554
  setWithinMenu(!1), onItemMouseEnter(event), setOpen(!0);
5526
- }, $[14] = onItemMouseEnter, $[15] = t6) : t6 = $[15];
5555
+ }, $[15] = onItemMouseEnter, $[16] = t6) : t6 = $[16];
5527
5556
  const handleMouseEnter = t6;
5528
5557
  let t7;
5529
- $[16] !== rootElement ? (t7 = (event_0) => {
5558
+ $[17] !== rootElement ? (t7 = (event_0) => {
5530
5559
  event_0.key === "ArrowLeft" && (event_0.stopPropagation(), setOpen(!1), requestAnimationFrame(() => {
5531
5560
  rootElement?.focus();
5532
5561
  }));
5533
- }, $[16] = rootElement, $[17] = t7) : t7 = $[17];
5562
+ }, $[17] = rootElement, $[18] = t7) : t7 = $[18];
5534
5563
  const handleMenuKeyDown = t7;
5535
5564
  let t8;
5536
- $[18] !== onClick ? (t8 = (event_1) => {
5565
+ $[19] !== onClick ? (t8 = (event_1) => {
5537
5566
  onClick?.(event_1), setShouldFocus("first"), setOpen(!0);
5538
- }, $[18] = onClick, $[19] = t8) : t8 = $[19];
5567
+ }, $[19] = onClick, $[20] = t8) : t8 = $[20];
5539
5568
  const handleClick = t8;
5540
5569
  let t9;
5541
- $[20] !== onItemClick ? (t9 = () => {
5570
+ $[21] !== onItemClick ? (t9 = () => {
5542
5571
  setOpen(!1), onItemClick?.();
5543
- }, $[20] = onItemClick, $[21] = t9) : t9 = $[21];
5572
+ }, $[21] = onItemClick, $[22] = t9) : t9 = $[22];
5544
5573
  const handleChildItemClick = t9;
5545
5574
  let t10;
5546
- $[22] === Symbol.for("react.memo_cache_sentinel") ? (t10 = () => setWithinMenu(!0), $[22] = t10) : t10 = $[22];
5575
+ $[23] === Symbol.for("react.memo_cache_sentinel") ? (t10 = () => setWithinMenu(!0), $[23] = t10) : t10 = $[23];
5547
5576
  const handleMenuMouseEnter = t10;
5548
5577
  let t11, t12;
5549
- $[23] !== mount || $[24] !== rootElement ? (t11 = () => mount(rootElement), t12 = [mount, rootElement], $[23] = mount, $[24] = rootElement, $[25] = t11, $[26] = t12) : (t11 = $[25], t12 = $[26]), useEffect(t11, t12);
5578
+ $[24] !== mount || $[25] !== rootElement ? (t11 = () => mount(rootElement), t12 = [mount, rootElement], $[24] = mount, $[25] = rootElement, $[26] = t11, $[27] = t12) : (t11 = $[26], t12 = $[27]), useEffect(t11, t12);
5550
5579
  let t13, t14;
5551
- $[27] !== active ? (t13 = () => {
5580
+ $[28] !== active ? (t13 = () => {
5552
5581
  active || setOpen(!1);
5553
- }, t14 = [active], $[27] = active, $[28] = t13, $[29] = t14) : (t13 = $[28], t14 = $[29]), useEffect(t13, t14);
5582
+ }, t14 = [active], $[28] = active, $[29] = t13, $[30] = t14) : (t13 = $[29], t14 = $[30]), useEffect(t13, t14);
5554
5583
  let t15, t16;
5555
- $[30] !== open ? (t15 = () => {
5584
+ $[31] !== open ? (t15 = () => {
5556
5585
  open || setWithinMenu(!1);
5557
- }, t16 = [open], $[30] = open, $[31] = t15, $[32] = t16) : (t15 = $[31], t16 = $[32]), useEffect(t15, t16);
5586
+ }, t16 = [open], $[31] = open, $[32] = t15, $[33] = t16) : (t15 = $[32], t16 = $[33]), useEffect(t15, t16);
5558
5587
  let t17, t18;
5559
- $[33] !== shouldFocus ? (t17 = () => {
5588
+ $[34] !== shouldFocus ? (t17 = () => {
5560
5589
  if (!shouldFocus)
5561
5590
  return;
5562
5591
  const rafId = requestAnimationFrame(() => setShouldFocus(null));
5563
5592
  return () => cancelAnimationFrame(rafId);
5564
- }, t18 = [shouldFocus], $[33] = shouldFocus, $[34] = t17, $[35] = t18) : (t17 = $[34], t18 = $[35]), useEffect(t17, t18);
5593
+ }, t18 = [shouldFocus], $[34] = shouldFocus, $[35] = t17, $[36] = t18) : (t17 = $[35], t18 = $[36]), useEffect(t17, t18);
5565
5594
  let t19;
5566
- $[36] !== children || $[37] !== handleChildItemClick || $[38] !== handleMenuKeyDown || $[39] !== menuProps || $[40] !== onClickOutside || $[41] !== onEscape || $[42] !== registerElement || $[43] !== shouldFocus ? (t19 = /* @__PURE__ */ jsx(Menu, { ...menuProps, onClickOutside, onEscape, onItemClick: handleChildItemClick, onKeyDown: handleMenuKeyDown, onMouseEnter: handleMenuMouseEnter, registerElement, shouldFocus, children }), $[36] = children, $[37] = handleChildItemClick, $[38] = handleMenuKeyDown, $[39] = menuProps, $[40] = onClickOutside, $[41] = onEscape, $[42] = registerElement, $[43] = shouldFocus, $[44] = t19) : t19 = $[44];
5595
+ $[37] !== children || $[38] !== handleChildItemClick || $[39] !== handleMenuKeyDown || $[40] !== menuProps || $[41] !== onClickOutside || $[42] !== onEscape || $[43] !== registerElement || $[44] !== shouldFocus ? (t19 = /* @__PURE__ */ jsx(Menu, { ...menuProps, onClickOutside, onEscape, onItemClick: handleChildItemClick, onKeyDown: handleMenuKeyDown, onMouseEnter: handleMenuMouseEnter, registerElement, shouldFocus, children }), $[37] = children, $[38] = handleChildItemClick, $[39] = handleMenuKeyDown, $[40] = menuProps, $[41] = onClickOutside, $[42] = onEscape, $[43] = registerElement, $[44] = shouldFocus, $[45] = t19) : t19 = $[45];
5567
5596
  const childMenu = t19;
5568
5597
  let t20;
5569
- $[45] === Symbol.for("react.memo_cache_sentinel") ? (t20 = (event_2) => {
5598
+ $[46] === Symbol.for("react.memo_cache_sentinel") ? (t20 = (event_2) => {
5570
5599
  const target = event_2.currentTarget;
5571
5600
  if (document.activeElement === target && event_2.key === "ArrowRight") {
5572
5601
  setShouldFocus("first"), setOpen(!0), setWithinMenu(!0);
5573
5602
  return;
5574
5603
  }
5575
- }, $[45] = t20) : t20 = $[45];
5604
+ }, $[46] = t20) : t20 = $[46];
5576
5605
  const handleKeyDown = t20, t21 = as === "button" ? withinMenu : void 0, t22 = as !== "button" ? withinMenu : void 0, t23 = !withinMenu && active ? "" : void 0;
5577
5606
  let t24;
5578
- $[46] !== radius ? (t24 = _getArrayProp(radius), $[46] = radius, $[47] = t24) : t24 = $[47];
5607
+ $[47] !== radius ? (t24 = _getArrayProp(radius), $[47] = radius, $[48] = t24) : t24 = $[48];
5579
5608
  const t25 = as === "button" ? "button" : void 0;
5580
5609
  let t26;
5581
- $[48] !== IconComponent || $[49] !== fontSize2 ? (t26 = IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
5610
+ $[49] !== IconComponent || $[50] !== fontSize2 ? (t26 = IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
5582
5611
  isValidElement(IconComponent) && IconComponent,
5583
5612
  isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})
5584
- ] }), $[48] = IconComponent, $[49] = fontSize2, $[50] = t26) : t26 = $[50];
5613
+ ] }), $[49] = IconComponent, $[50] = fontSize2, $[51] = t26) : t26 = $[51];
5585
5614
  let t27;
5586
- $[51] !== fontSize2 || $[52] !== text ? (t27 = /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { size: fontSize2, textOverflow: "ellipsis", weight: "medium", children: text }) }), $[51] = fontSize2, $[52] = text, $[53] = t27) : t27 = $[53];
5615
+ $[52] !== fontSize2 || $[53] !== text ? (t27 = /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { size: fontSize2, textOverflow: "ellipsis", weight: "medium", children: text }) }), $[52] = fontSize2, $[53] = text, $[54] = t27) : t27 = $[54];
5587
5616
  let t28;
5588
- $[54] === Symbol.for("react.memo_cache_sentinel") ? (t28 = /* @__PURE__ */ jsx(ChevronRightIcon, {}), $[54] = t28) : t28 = $[54];
5617
+ $[55] === Symbol.for("react.memo_cache_sentinel") ? (t28 = /* @__PURE__ */ jsx(ChevronRightIcon, {}), $[55] = t28) : t28 = $[55];
5589
5618
  let t29;
5590
- $[55] !== fontSize2 ? (t29 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t28 }), $[55] = fontSize2, $[56] = t29) : t29 = $[56];
5619
+ $[56] !== fontSize2 ? (t29 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t28 }), $[56] = fontSize2, $[57] = t29) : t29 = $[57];
5591
5620
  let t30;
5592
- $[57] !== padding || $[58] !== space || $[59] !== t26 || $[60] !== t27 || $[61] !== t29 ? (t30 = /* @__PURE__ */ jsxs(Flex, { gap: space, padding, children: [
5621
+ $[58] !== padding || $[59] !== spacing || $[60] !== t26 || $[61] !== t27 || $[62] !== t29 ? (t30 = /* @__PURE__ */ jsxs(Flex, { gap: spacing, padding, children: [
5593
5622
  t26,
5594
5623
  t27,
5595
5624
  t29
5596
- ] }), $[57] = padding, $[58] = space, $[59] = t26, $[60] = t27, $[61] = t29, $[62] = t30) : t30 = $[62];
5625
+ ] }), $[58] = padding, $[59] = spacing, $[60] = t26, $[61] = t27, $[62] = t29, $[63] = t30) : t30 = $[63];
5597
5626
  let t31;
5598
- $[63] !== as || $[64] !== handleClick || $[65] !== handleMouseEnter || $[66] !== restProps || $[67] !== scheme || $[68] !== t21 || $[69] !== t22 || $[70] !== t23 || $[71] !== t24 || $[72] !== t25 || $[73] !== t30 || $[74] !== tone ? (t31 = /* @__PURE__ */ jsx(Selectable, { "data-as": as, "data-ui": "MenuGroup", forwardedAs: as, ...restProps, "aria-pressed": t21, "data-pressed": t22, "data-selected": t23, $radius: t24, $tone: tone, $scheme: scheme, onClick: handleClick, onKeyDown: handleKeyDown, onMouseEnter: handleMouseEnter, ref: setRootElement, tabIndex: -1, type: t25, children: t30 }), $[63] = as, $[64] = handleClick, $[65] = handleMouseEnter, $[66] = restProps, $[67] = scheme, $[68] = t21, $[69] = t22, $[70] = t23, $[71] = t24, $[72] = t25, $[73] = t30, $[74] = tone, $[75] = t31) : t31 = $[75];
5627
+ $[64] !== as || $[65] !== handleClick || $[66] !== handleMouseEnter || $[67] !== restProps || $[68] !== scheme || $[69] !== t21 || $[70] !== t22 || $[71] !== t23 || $[72] !== t24 || $[73] !== t25 || $[74] !== t30 || $[75] !== tone ? (t31 = /* @__PURE__ */ jsx(Selectable, { "data-as": as, "data-ui": "MenuGroup", forwardedAs: as, ...restProps, "aria-pressed": t21, "data-pressed": t22, "data-selected": t23, $radius: t24, $tone: tone, $scheme: scheme, onClick: handleClick, onKeyDown: handleKeyDown, onMouseEnter: handleMouseEnter, ref: setRootElement, tabIndex: -1, type: t25, children: t30 }), $[64] = as, $[65] = handleClick, $[66] = handleMouseEnter, $[67] = restProps, $[68] = scheme, $[69] = t21, $[70] = t22, $[71] = t23, $[72] = t24, $[73] = t25, $[74] = t30, $[75] = tone, $[76] = t31) : t31 = $[76];
5599
5628
  let t32;
5600
- return $[76] !== childMenu || $[77] !== open || $[78] !== popover || $[79] !== t31 ? (t32 = /* @__PURE__ */ jsx(Popover, { ...popover, content: childMenu, "data-ui": "MenuGroup__popover", open, children: t31 }), $[76] = childMenu, $[77] = open, $[78] = popover, $[79] = t31, $[80] = t32) : t32 = $[80], t32;
5629
+ return $[77] !== childMenu || $[78] !== open || $[79] !== popover || $[80] !== t31 ? (t32 = /* @__PURE__ */ jsx(Popover, { ...popover, content: childMenu, "data-ui": "MenuGroup__popover", open, children: t31 }), $[77] = childMenu, $[78] = open, $[79] = popover, $[80] = t31, $[81] = t32) : t32 = $[81], t32;
5601
5630
  }
5602
- MenuGroup.displayName = "MenuGroup";
5603
- const MenuItem = forwardRef(function(props, forwardedRef) {
5604
- const $ = c(75);
5605
- let IconComponent, IconRightComponent, children, disabled, hotkeys, onClick, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, pressed, restProps, selectedProp, t0, t1, t2, t3, t4, t5, text;
5631
+ MenuGroupComponent.displayName = "MenuGroup";
5632
+ const MenuGroup = MenuGroupComponent, MenuItemComponent = forwardRef(function(props, forwardedRef) {
5633
+ const $ = c(76);
5634
+ let IconComponent, IconRightComponent, children, disabled, gap, hotkeys, onClick, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, pressed, restProps, selectedProp, t0, t1, t2, t3, t4, t5, text;
5606
5635
  $[0] !== props ? ({
5607
5636
  as: t0,
5608
5637
  children,
@@ -5622,12 +5651,13 @@ const MenuItem = forwardRef(function(props, forwardedRef) {
5622
5651
  pressed,
5623
5652
  radius: t3,
5624
5653
  selected: selectedProp,
5654
+ gap,
5625
5655
  space: t4,
5626
5656
  text,
5627
5657
  tone: t5,
5628
5658
  ...restProps
5629
- } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = hotkeys, $[6] = onClick, $[7] = paddingBottom, $[8] = paddingLeft, $[9] = paddingRight, $[10] = paddingTop, $[11] = paddingX, $[12] = paddingY, $[13] = pressed, $[14] = restProps, $[15] = selectedProp, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = text) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], hotkeys = $[5], onClick = $[6], paddingBottom = $[7], paddingLeft = $[8], paddingRight = $[9], paddingTop = $[10], paddingX = $[11], paddingY = $[12], pressed = $[13], restProps = $[14], selectedProp = $[15], t0 = $[16], t1 = $[17], t2 = $[18], t3 = $[19], t4 = $[20], t5 = $[21], text = $[22]);
5630
- const as = t0 === void 0 ? "button" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? "default" : t5, {
5659
+ } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = gap, $[6] = hotkeys, $[7] = onClick, $[8] = paddingBottom, $[9] = paddingLeft, $[10] = paddingRight, $[11] = paddingTop, $[12] = paddingX, $[13] = paddingY, $[14] = pressed, $[15] = restProps, $[16] = selectedProp, $[17] = t0, $[18] = t1, $[19] = t2, $[20] = t3, $[21] = t4, $[22] = t5, $[23] = text) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], gap = $[5], hotkeys = $[6], onClick = $[7], paddingBottom = $[8], paddingLeft = $[9], paddingRight = $[10], paddingTop = $[11], paddingX = $[12], paddingY = $[13], pressed = $[14], restProps = $[15], selectedProp = $[16], t0 = $[17], t1 = $[18], t2 = $[19], t3 = $[20], t4 = $[21], t5 = $[22], text = $[23]);
5660
+ const as = t0 === void 0 ? "button" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, deprecated_space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? "default" : t5, spacing = gap === void 0 ? deprecated_space : gap, {
5631
5661
  scheme
5632
5662
  } = useRootTheme(), menu = useMenu(), {
5633
5663
  activeElement,
@@ -5637,16 +5667,16 @@ const MenuItem = forwardRef(function(props, forwardedRef) {
5637
5667
  onItemMouseLeave: _onItemMouseLeave
5638
5668
  } = menu, onItemMouseEnter = _onItemMouseEnter ?? menu.onItemMouseEnter, onItemMouseLeave = _onItemMouseLeave ?? menu.onItemMouseLeave, [rootElement, setRootElement] = useState(null), active = !!activeElement && activeElement === rootElement, ref = useRef(null);
5639
5669
  let t6;
5640
- $[23] === Symbol.for("react.memo_cache_sentinel") ? (t6 = () => ref.current, $[23] = t6) : t6 = $[23], useImperativeHandle(forwardedRef, t6);
5670
+ $[24] === Symbol.for("react.memo_cache_sentinel") ? (t6 = () => ref.current, $[24] = t6) : t6 = $[24], useImperativeHandle(forwardedRef, t6);
5641
5671
  let t7, t8;
5642
- $[24] !== mount || $[25] !== rootElement || $[26] !== selectedProp ? (t7 = () => mount(rootElement, selectedProp), t8 = [mount, rootElement, selectedProp], $[24] = mount, $[25] = rootElement, $[26] = selectedProp, $[27] = t7, $[28] = t8) : (t7 = $[27], t8 = $[28]), useEffect(t7, t8);
5672
+ $[25] !== mount || $[26] !== rootElement || $[27] !== selectedProp ? (t7 = () => mount(rootElement, selectedProp), t8 = [mount, rootElement, selectedProp], $[25] = mount, $[26] = rootElement, $[27] = selectedProp, $[28] = t7, $[29] = t8) : (t7 = $[28], t8 = $[29]), useEffect(t7, t8);
5643
5673
  let t9;
5644
- $[29] !== disabled || $[30] !== onClick || $[31] !== onItemClick ? (t9 = (event) => {
5674
+ $[30] !== disabled || $[31] !== onClick || $[32] !== onItemClick ? (t9 = (event) => {
5645
5675
  disabled || (onClick && onClick(event), onItemClick && onItemClick());
5646
- }, $[29] = disabled, $[30] = onClick, $[31] = onItemClick, $[32] = t9) : t9 = $[32];
5676
+ }, $[30] = disabled, $[31] = onClick, $[32] = onItemClick, $[33] = t9) : t9 = $[33];
5647
5677
  const handleClick = t9;
5648
5678
  let t10;
5649
- $[33] !== padding || $[34] !== paddingBottom || $[35] !== paddingLeft || $[36] !== paddingRight || $[37] !== paddingTop || $[38] !== paddingX || $[39] !== paddingY ? (t10 = {
5679
+ $[34] !== padding || $[35] !== paddingBottom || $[36] !== paddingLeft || $[37] !== paddingRight || $[38] !== paddingTop || $[39] !== paddingX || $[40] !== paddingY ? (t10 = {
5650
5680
  padding,
5651
5681
  paddingX,
5652
5682
  paddingY,
@@ -5654,23 +5684,23 @@ const MenuItem = forwardRef(function(props, forwardedRef) {
5654
5684
  paddingRight,
5655
5685
  paddingBottom,
5656
5686
  paddingLeft
5657
- }, $[33] = padding, $[34] = paddingBottom, $[35] = paddingLeft, $[36] = paddingRight, $[37] = paddingTop, $[38] = paddingX, $[39] = paddingY, $[40] = t10) : t10 = $[40];
5687
+ }, $[34] = padding, $[35] = paddingBottom, $[36] = paddingLeft, $[37] = paddingRight, $[38] = paddingTop, $[39] = paddingX, $[40] = paddingY, $[41] = t10) : t10 = $[41];
5658
5688
  const paddingProps = t10;
5659
5689
  let t11;
5660
- $[41] !== fontSize2 ? (t11 = _getArrayProp(fontSize2).map(_temp), $[41] = fontSize2, $[42] = t11) : t11 = $[42];
5690
+ $[42] !== fontSize2 ? (t11 = _getArrayProp(fontSize2).map(_temp), $[42] = fontSize2, $[43] = t11) : t11 = $[43];
5661
5691
  const hotkeysFontSize = t11;
5662
5692
  let t12;
5663
- $[43] === Symbol.for("react.memo_cache_sentinel") ? (t12 = (el) => {
5693
+ $[44] === Symbol.for("react.memo_cache_sentinel") ? (t12 = (el) => {
5664
5694
  ref.current = el, setRootElement(el);
5665
- }, $[43] = t12) : t12 = $[43];
5695
+ }, $[44] = t12) : t12 = $[44];
5666
5696
  const setRef = t12, t13 = as !== "button" && pressed ? "" : void 0, t14 = active ? "" : void 0, t15 = disabled ? "" : void 0;
5667
5697
  let t16;
5668
- $[44] !== radius ? (t16 = _getArrayProp(radius), $[44] = radius, $[45] = t16) : t16 = $[45];
5698
+ $[45] !== radius ? (t16 = _getArrayProp(radius), $[45] = radius, $[46] = t16) : t16 = $[46];
5669
5699
  let t17;
5670
- $[46] === Symbol.for("react.memo_cache_sentinel") ? (t17 = _getArrayProp(0), $[46] = t17) : t17 = $[46];
5700
+ $[47] === Symbol.for("react.memo_cache_sentinel") ? (t17 = _getArrayProp(0), $[47] = t17) : t17 = $[47];
5671
5701
  const t18 = disabled ? "default" : tone, t19 = as === "button" ? "button" : void 0;
5672
5702
  let t20;
5673
- $[47] !== IconComponent || $[48] !== IconRightComponent || $[49] !== fontSize2 || $[50] !== hotkeys || $[51] !== hotkeysFontSize || $[52] !== paddingProps || $[53] !== space || $[54] !== text ? (t20 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsxs(Flex, { as: "span", gap: space, align: "center", ...paddingProps, children: [
5703
+ $[48] !== IconComponent || $[49] !== IconRightComponent || $[50] !== fontSize2 || $[51] !== hotkeys || $[52] !== hotkeysFontSize || $[53] !== paddingProps || $[54] !== spacing || $[55] !== text ? (t20 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsxs(Flex, { as: "span", gap: spacing, align: "center", ...paddingProps, children: [
5674
5704
  IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
5675
5705
  isValidElement(IconComponent) && IconComponent,
5676
5706
  isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})
@@ -5684,16 +5714,17 @@ const MenuItem = forwardRef(function(props, forwardedRef) {
5684
5714
  isValidElement(IconRightComponent) && IconRightComponent,
5685
5715
  isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})
5686
5716
  ] })
5687
- ] }), $[47] = IconComponent, $[48] = IconRightComponent, $[49] = fontSize2, $[50] = hotkeys, $[51] = hotkeysFontSize, $[52] = paddingProps, $[53] = space, $[54] = text, $[55] = t20) : t20 = $[55];
5717
+ ] }), $[48] = IconComponent, $[49] = IconRightComponent, $[50] = fontSize2, $[51] = hotkeys, $[52] = hotkeysFontSize, $[53] = paddingProps, $[54] = spacing, $[55] = text, $[56] = t20) : t20 = $[56];
5688
5718
  let t21;
5689
- $[56] !== children || $[57] !== paddingProps ? (t21 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...paddingProps, children }), $[56] = children, $[57] = paddingProps, $[58] = t21) : t21 = $[58];
5719
+ $[57] !== children || $[58] !== paddingProps ? (t21 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...paddingProps, children }), $[57] = children, $[58] = paddingProps, $[59] = t21) : t21 = $[59];
5690
5720
  let t22;
5691
- return $[59] !== as || $[60] !== disabled || $[61] !== handleClick || $[62] !== onItemMouseEnter || $[63] !== onItemMouseLeave || $[64] !== restProps || $[65] !== scheme || $[66] !== t13 || $[67] !== t14 || $[68] !== t15 || $[69] !== t16 || $[70] !== t18 || $[71] !== t19 || $[72] !== t20 || $[73] !== t21 ? (t22 = /* @__PURE__ */ jsxs(Selectable, { "data-ui": "MenuItem", role: "menuitem", ...restProps, "data-pressed": t13, "data-selected": t14, "data-disabled": t15, forwardedAs: as, $radius: t16, $padding: t17, $tone: t18, $scheme: scheme, disabled, onClick: handleClick, onMouseEnter: onItemMouseEnter, onMouseLeave: onItemMouseLeave, ref: setRef, tabIndex: -1, type: t19, children: [
5721
+ return $[60] !== as || $[61] !== disabled || $[62] !== handleClick || $[63] !== onItemMouseEnter || $[64] !== onItemMouseLeave || $[65] !== restProps || $[66] !== scheme || $[67] !== t13 || $[68] !== t14 || $[69] !== t15 || $[70] !== t16 || $[71] !== t18 || $[72] !== t19 || $[73] !== t20 || $[74] !== t21 ? (t22 = /* @__PURE__ */ jsxs(Selectable, { "data-ui": "MenuItem", role: "menuitem", ...restProps, "data-pressed": t13, "data-selected": t14, "data-disabled": t15, forwardedAs: as, $radius: t16, $padding: t17, $tone: t18, $scheme: scheme, disabled, onClick: handleClick, onMouseEnter: onItemMouseEnter, onMouseLeave: onItemMouseLeave, ref: setRef, tabIndex: -1, type: t19, children: [
5692
5722
  t20,
5693
5723
  t21
5694
- ] }), $[59] = as, $[60] = disabled, $[61] = handleClick, $[62] = onItemMouseEnter, $[63] = onItemMouseLeave, $[64] = restProps, $[65] = scheme, $[66] = t13, $[67] = t14, $[68] = t15, $[69] = t16, $[70] = t18, $[71] = t19, $[72] = t20, $[73] = t21, $[74] = t22) : t22 = $[74], t22;
5724
+ ] }), $[60] = as, $[61] = disabled, $[62] = handleClick, $[63] = onItemMouseEnter, $[64] = onItemMouseLeave, $[65] = restProps, $[66] = scheme, $[67] = t13, $[68] = t14, $[69] = t15, $[70] = t16, $[71] = t18, $[72] = t19, $[73] = t20, $[74] = t21, $[75] = t22) : t22 = $[75], t22;
5695
5725
  });
5696
- MenuItem.displayName = "ForwardRef(MenuItem)";
5726
+ MenuItemComponent.displayName = "ForwardRef(MenuItem)";
5727
+ const MenuItem = MenuItemComponent;
5697
5728
  function _temp(s) {
5698
5729
  return s - 1;
5699
5730
  }