@sanity/ui 2.10.18-canary.0 → 2.10.18

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 (49) hide show
  1. package/dist/index.esm.js +133 -138
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +133 -138
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +133 -138
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +40 -26
  8. package/src/core/components/autocomplete/autocomplete.styles.tsx +1 -1
  9. package/src/core/components/autocomplete/autocomplete.tsx +3 -3
  10. package/src/core/components/breadcrumbs/breadcrumbs.styles.ts +1 -1
  11. package/src/core/components/breadcrumbs/breadcrumbs.tsx +3 -3
  12. package/src/core/components/dialog/dialog.tsx +3 -3
  13. package/src/core/components/hotkeys/hotkeys.tsx +3 -3
  14. package/src/core/components/menu/menu.tsx +3 -3
  15. package/src/core/components/skeleton/skeleton.tsx +4 -5
  16. package/src/core/components/skeleton/textSkeleton.tsx +5 -5
  17. package/src/core/components/toast/toast.tsx +3 -3
  18. package/src/core/components/toast/toastProvider.tsx +3 -3
  19. package/src/core/components/tree/treeItem.tsx +5 -5
  20. package/src/core/primitives/avatar/avatar.tsx +6 -6
  21. package/src/core/primitives/avatar/avatarCounter.tsx +3 -3
  22. package/src/core/primitives/avatar/avatarStack.tsx +6 -3
  23. package/src/core/primitives/badge/badge.tsx +3 -3
  24. package/src/core/primitives/box/box.tsx +3 -3
  25. package/src/core/primitives/button/button.tsx +3 -3
  26. package/src/core/primitives/card/card.tsx +2 -2
  27. package/src/core/primitives/checkbox/checkbox.tsx +3 -3
  28. package/src/core/primitives/code/code.tsx +3 -3
  29. package/src/core/primitives/container/container.tsx +2 -2
  30. package/src/core/primitives/flex/flex.tsx +2 -2
  31. package/src/core/primitives/grid/grid.tsx +3 -3
  32. package/src/core/primitives/heading/heading.tsx +4 -11
  33. package/src/core/primitives/inline/inline.tsx +3 -3
  34. package/src/core/primitives/kbd/kbd.tsx +3 -3
  35. package/src/core/primitives/label/label.tsx +4 -11
  36. package/src/core/primitives/radio/radio.tsx +3 -3
  37. package/src/core/primitives/select/select.tsx +3 -3
  38. package/src/core/primitives/spinner/spinner.tsx +3 -3
  39. package/src/core/primitives/stack/stack.tsx +5 -2
  40. package/src/core/primitives/switch/switch.tsx +3 -3
  41. package/src/core/primitives/text/text.tsx +4 -11
  42. package/src/core/primitives/textArea/textArea.tsx +3 -3
  43. package/src/core/primitives/textInput/textInput.tsx +3 -3
  44. package/src/core/primitives/tooltip/tooltip.tsx +3 -3
  45. package/src/core/utils/arrow/arrow.tsx +3 -3
  46. package/src/core/utils/layer/layer.tsx +9 -3
  47. package/src/core/utils/spanWithTextOverflow.tsx +10 -0
  48. package/src/core/utils/srOnly/srOnly.tsx +3 -3
  49. package/src/core/utils/virtualList/virtualList.tsx +3 -3
package/dist/index.esm.js CHANGED
@@ -1426,6 +1426,10 @@ function responsiveShadowStyle(props) {
1426
1426
  } = getTheme_v2(props.theme);
1427
1427
  return _responsive(media, props.$shadow, (index) => shadowStyle(shadow[index], card.shadow.outline));
1428
1428
  }
1429
+ const SpanWithTextOverflow = styled.span.withConfig({
1430
+ displayName: "SpanWithTextOverflow",
1431
+ componentId: "sc-ol2i3b-0"
1432
+ })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`;
1429
1433
  function labelBaseStyle(props) {
1430
1434
  const {
1431
1435
  $accent,
@@ -1465,13 +1469,10 @@ function labelBaseStyle(props) {
1465
1469
  }
1466
1470
  `;
1467
1471
  }
1468
- const Root$C = /* @__PURE__ */ styled.div.withConfig({
1469
- displayName: "Root",
1472
+ const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
1473
+ displayName: "StyledLabel",
1470
1474
  componentId: "sc-1luap7z-0"
1471
- })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styled.span.withConfig({
1472
- displayName: "SpanWithTextOverflow",
1473
- componentId: "sc-1luap7z-1"
1474
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Label = forwardRef(function(props, ref) {
1475
+ })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), Label = forwardRef(function(props, ref) {
1475
1476
  const $ = c(22);
1476
1477
  let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
1477
1478
  $[0] !== props ? ({
@@ -1488,14 +1489,14 @@ const Root$C = /* @__PURE__ */ styled.div.withConfig({
1488
1489
  let children = childrenProp;
1489
1490
  if (textOverflow === "ellipsis") {
1490
1491
  let t22;
1491
- $[9] !== children ? (t22 = /* @__PURE__ */ jsx(SpanWithTextOverflow$2, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1492
+ $[9] !== children ? (t22 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1492
1493
  } else {
1493
1494
  let t22;
1494
1495
  $[11] !== children ? (t22 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t22) : t22 = $[12], children = t22;
1495
1496
  }
1496
1497
  const t2 = useArrayProp(align), t3 = useArrayProp(size2);
1497
1498
  let t4;
1498
- return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsx(Root$C, { "data-ui": "Label", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[13] = accent, $[14] = children, $[15] = muted, $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = weight, $[21] = t4) : t4 = $[21], t4;
1499
+ return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsx(StyledLabel, { "data-ui": "Label", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[13] = accent, $[14] = children, $[15] = muted, $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = weight, $[21] = t4) : t4 = $[21], t4;
1499
1500
  });
1500
1501
  Label.displayName = "ForwardRef(Label)";
1501
1502
  const avatarStyle = {
@@ -1641,8 +1642,8 @@ function avatarStrokeStyle() {
1641
1642
  }
1642
1643
  };
1643
1644
  }
1644
- const Root$B = /* @__PURE__ */ styled.div.withConfig({
1645
- displayName: "Root",
1645
+ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
1646
+ displayName: "StyledAvatar",
1646
1647
  componentId: "sc-1rj7kl0-0"
1647
1648
  })(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled.div.withConfig({
1648
1649
  displayName: "Arrow",
@@ -1661,8 +1662,8 @@ const Root$B = /* @__PURE__ */ styled.div.withConfig({
1661
1662
  componentId: "sc-1rj7kl0-5"
1662
1663
  })({
1663
1664
  color: "inherit"
1664
- }), Image = /* @__PURE__ */ styled.svg.withConfig({
1665
- displayName: "Image",
1665
+ }), AvatarImage = /* @__PURE__ */ styled.svg.withConfig({
1666
+ displayName: "AvatarImage",
1666
1667
  componentId: "sc-1rj7kl0-6"
1667
1668
  })(avatarStyle.image), Avatar = forwardRef(function(props, ref) {
1668
1669
  const $ = c(52);
@@ -1706,7 +1707,7 @@ const Root$B = /* @__PURE__ */ styled.div.withConfig({
1706
1707
  let t11;
1707
1708
  $[24] !== color ? (t11 = /* @__PURE__ */ jsx(Arrow$1, { children: /* @__PURE__ */ jsx("svg", { width: "11", height: "7", viewBox: "0 0 11 7", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z", fill: color }) }) }), $[24] = color, $[25] = t11) : t11 = $[25];
1708
1709
  let t12;
1709
- $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxs(Image, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1710
+ $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxs(AvatarImage, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1710
1711
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: imageId, patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx("image", { href: src, width: "1", height: "1", onError: handleImageError }) }) }),
1711
1712
  /* @__PURE__ */ jsx("circle", { cx: _radius, cy: _radius, r: _radius, fill: `url(#${imageId})` }),
1712
1713
  !__unstable_hideInnerStroke && /* @__PURE__ */ jsx(BgStroke, { cx: _radius, cy: _radius, rx: _radius, ry: _radius, vectorEffect: "non-scaling-stroke" }),
@@ -1715,7 +1716,7 @@ const Root$B = /* @__PURE__ */ styled.div.withConfig({
1715
1716
  let t13;
1716
1717
  $[34] !== imageFailed || $[35] !== initials || $[36] !== initialsSize || $[37] !== src ? (t13 = (imageFailed || !src) && initials && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Initials, { children: /* @__PURE__ */ jsx(InitialsLabel, { forwardedAs: "span", size: initialsSize, weight: "medium", children: initials }) }) }), $[34] = imageFailed, $[35] = initials, $[36] = initialsSize, $[37] = src, $[38] = t13) : t13 = $[38];
1717
1718
  let t14;
1718
- return $[39] !== arrowPosition || $[40] !== as || $[41] !== color || $[42] !== ref || $[43] !== restProps || $[44] !== size2 || $[45] !== status || $[46] !== t10 || $[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== title ? (t14 = /* @__PURE__ */ jsxs(Root$B, { as, "data-as": t10, "data-ui": "Avatar", ...restProps, $color: color, $size: size2, "aria-label": title, "data-arrow-position": arrowPosition, "data-status": status, ref, title, children: [
1719
+ return $[39] !== arrowPosition || $[40] !== as || $[41] !== color || $[42] !== ref || $[43] !== restProps || $[44] !== size2 || $[45] !== status || $[46] !== t10 || $[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== title ? (t14 = /* @__PURE__ */ jsxs(StyledAvatar, { as, "data-as": t10, "data-ui": "Avatar", ...restProps, $color: color, $size: size2, "aria-label": title, "data-arrow-position": arrowPosition, "data-status": status, ref, title, children: [
1719
1720
  t11,
1720
1721
  t12,
1721
1722
  t13
@@ -1761,8 +1762,8 @@ function _avatarCounterBaseStyle(props) {
1761
1762
  }
1762
1763
  `;
1763
1764
  }
1764
- const Root$A = /* @__PURE__ */ styled.div.withConfig({
1765
- displayName: "Root",
1765
+ const StyledAvatarCounter = /* @__PURE__ */ styled.div.withConfig({
1766
+ displayName: "StyledAvatarCounter",
1766
1767
  componentId: "sc-1ydx86y-0"
1767
1768
  })(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function(props, ref) {
1768
1769
  const $ = c(9), {
@@ -1775,7 +1776,7 @@ const Root$A = /* @__PURE__ */ styled.div.withConfig({
1775
1776
  let t3;
1776
1777
  $[2] !== count || $[3] !== fontSize2 ? (t3 = /* @__PURE__ */ jsx(Label, { as: "span", size: fontSize2, weight: "medium", children: count }), $[2] = count, $[3] = fontSize2, $[4] = t3) : t3 = $[4];
1777
1778
  let t4;
1778
- return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsx(Root$A, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1779
+ return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsx(StyledAvatarCounter, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1779
1780
  });
1780
1781
  AvatarCounter.displayName = "ForwardRef(AvatarCounter)";
1781
1782
  function _temp$7(s) {
@@ -1809,8 +1810,8 @@ function responsiveAvatarStackSizeStyle(props) {
1809
1810
  } : EMPTY_RECORD;
1810
1811
  });
1811
1812
  }
1812
- const Root$z = /* @__PURE__ */ styled.div.withConfig({
1813
- displayName: "Root",
1813
+ const StyledAvatarStack = /* @__PURE__ */ styled.div.withConfig({
1814
+ displayName: "StyledAvatarStack",
1814
1815
  componentId: "sc-cysmbb-0"
1815
1816
  })(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function(props, ref) {
1816
1817
  const $ = c(15);
@@ -1821,7 +1822,7 @@ const Root$z = /* @__PURE__ */ styled.div.withConfig({
1821
1822
  size: t1,
1822
1823
  ...restProps
1823
1824
  } = props, $[0] = props, $[1] = childrenProp, $[2] = restProps, $[3] = t0, $[4] = t1) : (childrenProp = $[1], restProps = $[2], t0 = $[3], t1 = $[4]);
1824
- const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), size2 = useArrayProp(sizeProp), len = children.length, visibleCount = maxLength - 1, extraCount = len - visibleCount, visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children, T0 = Root$z, t2 = "AvatarStack", t3 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1825
+ const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), size2 = useArrayProp(sizeProp), len = children.length, visibleCount = maxLength - 1, extraCount = len - visibleCount, visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children, T0 = StyledAvatarStack, t2 = "AvatarStack", t3 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1825
1826
  let t5;
1826
1827
  $[5] !== size2 ? (t5 = (child, childIndex) => /* @__PURE__ */ jsx("div", { children: cloneElement(child, {
1827
1828
  size: size2
@@ -1835,8 +1836,8 @@ const Root$z = /* @__PURE__ */ styled.div.withConfig({
1835
1836
  ] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
1836
1837
  });
1837
1838
  AvatarStack.displayName = "ForwardRef(AvatarStack)";
1838
- const Root$y = /* @__PURE__ */ styled.div.withConfig({
1839
- displayName: "Root",
1839
+ const StyledBox = /* @__PURE__ */ styled.div.withConfig({
1840
+ displayName: "StyledBox",
1840
1841
  componentId: "sc-1hhky9f-0"
1841
1842
  })(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {
1842
1843
  const $ = c(59);
@@ -1872,7 +1873,7 @@ const Root$y = /* @__PURE__ */ styled.div.withConfig({
1872
1873
  } = 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]);
1873
1874
  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, t5 = useArrayProp(column), t6 = useArrayProp(columnStart), t7 = useArrayProp(columnEnd), t8 = useArrayProp(display), t9 = useArrayProp(flex), t10 = useArrayProp(height), t11 = useArrayProp(margin), t12 = useArrayProp(marginX), t13 = useArrayProp(marginY), t14 = useArrayProp(marginTop), t15 = useArrayProp(marginRight), t16 = useArrayProp(marginBottom), t17 = useArrayProp(marginLeft), t18 = useArrayProp(overflow), t19 = useArrayProp(padding), t20 = useArrayProp(paddingX), t21 = useArrayProp(paddingY), t22 = useArrayProp(paddingTop), t23 = useArrayProp(paddingRight), t24 = useArrayProp(paddingBottom), t25 = useArrayProp(paddingLeft), t26 = useArrayProp(row), t27 = useArrayProp(rowStart), t28 = useArrayProp(rowEnd), t29 = useArrayProp(sizing);
1874
1875
  let t30;
1875
- return $[28] !== asProp || $[29] !== props.children || $[30] !== ref || $[31] !== restProps || $[32] !== t10 || $[33] !== t11 || $[34] !== t12 || $[35] !== t13 || $[36] !== t14 || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18 || $[41] !== t19 || $[42] !== t20 || $[43] !== t21 || $[44] !== t22 || $[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6 || $[55] !== t7 || $[56] !== t8 || $[57] !== t9 ? (t30 = /* @__PURE__ */ jsx(Root$y, { "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 }), $[28] = asProp, $[29] = props.children, $[30] = ref, $[31] = restProps, $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13, $[36] = t14, $[37] = t15, $[38] = t16, $[39] = t17, $[40] = t18, $[41] = t19, $[42] = t20, $[43] = t21, $[44] = t22, $[45] = t23, $[46] = t24, $[47] = t25, $[48] = t26, $[49] = t27, $[50] = t28, $[51] = t29, $[52] = t4, $[53] = t5, $[54] = t6, $[55] = t7, $[56] = t8, $[57] = t9, $[58] = t30) : t30 = $[58], t30;
1876
+ return $[28] !== asProp || $[29] !== props.children || $[30] !== ref || $[31] !== restProps || $[32] !== t10 || $[33] !== t11 || $[34] !== t12 || $[35] !== t13 || $[36] !== t14 || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18 || $[41] !== t19 || $[42] !== t20 || $[43] !== t21 || $[44] !== t22 || $[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6 || $[55] !== t7 || $[56] !== t8 || $[57] !== 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 }), $[28] = asProp, $[29] = props.children, $[30] = ref, $[31] = restProps, $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13, $[36] = t14, $[37] = t15, $[38] = t16, $[39] = t17, $[40] = t18, $[41] = t19, $[42] = t20, $[43] = t21, $[44] = t22, $[45] = t23, $[46] = t24, $[47] = t25, $[48] = t26, $[49] = t27, $[50] = t28, $[51] = t29, $[52] = t4, $[53] = t5, $[54] = t6, $[55] = t7, $[56] = t8, $[57] = t9, $[58] = t30) : t30 = $[58], t30;
1876
1877
  });
1877
1878
  Box.displayName = "ForwardRef(Box)";
1878
1879
  function textBaseStyle(props) {
@@ -1943,13 +1944,10 @@ function textBaseStyle(props) {
1943
1944
  }
1944
1945
  `;
1945
1946
  }
1946
- const Root$x = /* @__PURE__ */ styled.div.withConfig({
1947
- displayName: "Root",
1947
+ const StyledText = /* @__PURE__ */ styled.div.withConfig({
1948
+ displayName: "StyledText",
1948
1949
  componentId: "sc-11ov82j-0"
1949
- })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styled.span.withConfig({
1950
- displayName: "SpanWithTextOverflow",
1951
- componentId: "sc-11ov82j-1"
1952
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Text = forwardRef(function(props, ref) {
1950
+ })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), Text = forwardRef(function(props, ref) {
1953
1951
  const $ = c(22);
1954
1952
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
1955
1953
  $[0] !== props ? ({
@@ -1966,13 +1964,13 @@ const Root$x = /* @__PURE__ */ styled.div.withConfig({
1966
1964
  let children = childrenProp;
1967
1965
  if (textOverflow === "ellipsis") {
1968
1966
  let t32;
1969
- $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow$1, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1967
+ $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1970
1968
  }
1971
1969
  const t3 = useArrayProp(align), t4 = useArrayProp(size2);
1972
1970
  let t5;
1973
1971
  $[11] !== children ? (t5 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
1974
1972
  let t6;
1975
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$x, { "data-ui": "Text", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
1973
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledText, { "data-ui": "Text", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
1976
1974
  });
1977
1975
  Text.displayName = "ForwardRef(Text)";
1978
1976
  function badgeStyle(props) {
@@ -1990,8 +1988,8 @@ function badgeStyle(props) {
1990
1988
  }
1991
1989
  };
1992
1990
  }
1993
- const Root$w = /* @__PURE__ */ styled(Box).withConfig({
1994
- displayName: "Root",
1991
+ const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
1992
+ displayName: "StyledBadge",
1995
1993
  componentId: "sc-5u140l-0"
1996
1994
  })(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {
1997
1995
  const $ = c(17);
@@ -2013,11 +2011,11 @@ const Root$w = /* @__PURE__ */ styled(Box).withConfig({
2013
2011
  let t6;
2014
2012
  $[7] !== children || $[8] !== fontSize2 ? (t6 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children }), $[7] = children, $[8] = fontSize2, $[9] = t6) : t6 = $[9];
2015
2013
  let t7;
2016
- return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsx(Root$w, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;
2014
+ return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsx(StyledBadge, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;
2017
2015
  });
2018
2016
  Badge.displayName = "ForwardRef(Badge)";
2019
- const Root$v = /* @__PURE__ */ styled(Box).withConfig({
2020
- displayName: "Root",
2017
+ const StyledFlex = /* @__PURE__ */ styled(Box).withConfig({
2018
+ displayName: "StyledFlex",
2021
2019
  componentId: "sc-oxesg3-0"
2022
2020
  })(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {
2023
2021
  const $ = c(17);
@@ -2033,7 +2031,7 @@ const Root$v = /* @__PURE__ */ styled(Box).withConfig({
2033
2031
  } = props, $[0] = props, $[1] = align, $[2] = as, $[3] = gap, $[4] = justify, $[5] = restProps, $[6] = t0, $[7] = wrap) : (align = $[1], as = $[2], gap = $[3], justify = $[4], restProps = $[5], t0 = $[6], wrap = $[7]);
2034
2032
  const direction = t0 === void 0 ? "row" : t0, t1 = useArrayProp(align), t2 = useArrayProp(direction), t3 = useArrayProp(gap), t4 = useArrayProp(justify), t5 = useArrayProp(wrap);
2035
2033
  let t6;
2036
- return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$v, { "data-ui": "Flex", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[8] = as, $[9] = ref, $[10] = restProps, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
2034
+ return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledFlex, { "data-ui": "Flex", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[8] = as, $[9] = ref, $[10] = restProps, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
2037
2035
  });
2038
2036
  Flex.displayName = "ForwardRef(Flex)";
2039
2037
  const rotate$1 = keyframes`
@@ -2044,15 +2042,15 @@ const rotate$1 = keyframes`
2044
2042
  to {
2045
2043
  transform: rotate(360deg);
2046
2044
  }
2047
- `, Root$u = styled(Text).withConfig({
2048
- displayName: "Root",
2045
+ `, StyledSpinner = styled(Text).withConfig({
2046
+ displayName: "StyledSpinner",
2049
2047
  componentId: "sc-124hnd0-0"
2050
2048
  })`& > span > svg{animation:${rotate$1} 500ms linear infinite;}`, Spinner = forwardRef(function(props, ref) {
2051
2049
  const $ = c(4);
2052
2050
  let t0;
2053
2051
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsx(SpinnerIcon, {}), $[0] = t0) : t0 = $[0];
2054
2052
  let t1;
2055
- return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(Root$u, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2053
+ return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(StyledSpinner, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2056
2054
  });
2057
2055
  Spinner.displayName = "ForwardRef(Spinner)";
2058
2056
  function _cardColorStyle(base, color, checkered = !1) {
@@ -2223,8 +2221,8 @@ function buttonColorStyles(props) {
2223
2221
  }
2224
2222
  }, style?.button?.root].filter(Boolean);
2225
2223
  }
2226
- const Root$t = /* @__PURE__ */ styled.button.withConfig({
2227
- displayName: "Root",
2224
+ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
2225
+ displayName: "StyledButton",
2228
2226
  componentId: "sc-aaekt4-0"
2229
2227
  })(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div.withConfig({
2230
2228
  displayName: "LoadingBox",
@@ -2290,7 +2288,7 @@ const Root$t = /* @__PURE__ */ styled.button.withConfig({
2290
2288
  let t16;
2291
2289
  $[47] !== boxProps || $[48] !== children ? (t16 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children }), $[47] = boxProps, $[48] = children, $[49] = t16) : t16 = $[49];
2292
2290
  let t17;
2293
- return $[50] !== mode || $[51] !== radius || $[52] !== ref || $[53] !== restProps || $[54] !== t11 || $[55] !== t12 || $[56] !== t13 || $[57] !== t14 || $[58] !== t15 || $[59] !== t16 || $[60] !== tone || $[61] !== type || $[62] !== width ? (t17 = /* @__PURE__ */ jsxs(Root$t, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t11, "data-selected": t12, disabled: t13, ref, type, $width: width, children: [
2291
+ return $[50] !== mode || $[51] !== radius || $[52] !== ref || $[53] !== restProps || $[54] !== t11 || $[55] !== t12 || $[56] !== t13 || $[57] !== t14 || $[58] !== t15 || $[59] !== t16 || $[60] !== tone || $[61] !== type || $[62] !== width ? (t17 = /* @__PURE__ */ jsxs(StyledButton, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t11, "data-selected": t12, disabled: t13, ref, type, $width: width, children: [
2294
2292
  t14,
2295
2293
  t15,
2296
2294
  t16
@@ -2445,8 +2443,8 @@ function cardColorStyle(props) {
2445
2443
  ${style?.card?.root}
2446
2444
  `;
2447
2445
  }
2448
- const Root$s = /* @__PURE__ */ styled(Box).withConfig({
2449
- displayName: "Root",
2446
+ const StyledCard = /* @__PURE__ */ styled(Box).withConfig({
2447
+ displayName: "StyledCard",
2450
2448
  componentId: "sc-osnro2-0"
2451
2449
  })(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {
2452
2450
  const $ = c(42);
@@ -2471,7 +2469,7 @@ const Root$s = /* @__PURE__ */ styled(Box).withConfig({
2471
2469
  } = props, $[0] = props, $[1] = asProp, $[2] = border2, $[3] = borderBottom2, $[4] = borderLeft2, $[5] = borderRight2, $[6] = borderTop2, $[7] = muted, $[8] = pressed, $[9] = restProps, $[10] = scheme, $[11] = selected, $[12] = shadow, $[13] = t0, $[14] = t1, $[15] = t2, $[16] = t3) : (asProp = $[1], border2 = $[2], borderBottom2 = $[3], borderLeft2 = $[4], borderRight2 = $[5], borderTop2 = $[6], muted = $[7], pressed = $[8], restProps = $[9], scheme = $[10], selected = $[11], shadow = $[12], t0 = $[13], t1 = $[14], t2 = $[15], t3 = $[16]);
2472
2470
  const checkered = t0 === void 0 ? !1 : t0, focusRing = t1 === void 0 ? !1 : t1, radius = t2 === void 0 ? 0 : t2, toneProp = t3 === void 0 ? "default" : t3, as = isValidElementType(asProp) ? asProp : "div", rootTheme = useRootTheme(), tone = toneProp === "inherit" ? rootTheme.tone : toneProp, t4 = typeof as == "string" ? as : void 0, t5 = rootTheme.scheme, t6 = useArrayProp(border2), t7 = useArrayProp(borderTop2), t8 = useArrayProp(borderRight2), t9 = useArrayProp(borderBottom2), t10 = useArrayProp(borderLeft2), t11 = useArrayProp(radius), t12 = useArrayProp(shadow), t13 = checkered ? "" : void 0, t14 = pressed ? "" : void 0, t15 = selected ? "" : void 0;
2473
2471
  let t16;
2474
- $[17] !== as || $[18] !== checkered || $[19] !== focusRing || $[20] !== muted || $[21] !== ref || $[22] !== restProps || $[23] !== rootTheme.scheme || $[24] !== selected || $[25] !== t10 || $[26] !== t11 || $[27] !== t12 || $[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== t4 || $[32] !== t6 || $[33] !== t7 || $[34] !== t8 || $[35] !== t9 || $[36] !== tone ? (t16 = /* @__PURE__ */ jsx(Root$s, { "data-as": t4, "data-scheme": t5, "data-ui": "Card", "data-tone": tone, ...restProps, $border: t6, $borderTop: t7, $borderRight: t8, $borderBottom: t9, $borderLeft: t10, $checkered: checkered, $focusRing: focusRing, $muted: muted, $radius: t11, $shadow: t12, $tone: tone, "data-checkered": t13, "data-pressed": t14, "data-selected": t15, forwardedAs: as, ref, selected }), $[17] = as, $[18] = checkered, $[19] = focusRing, $[20] = muted, $[21] = ref, $[22] = restProps, $[23] = rootTheme.scheme, $[24] = selected, $[25] = t10, $[26] = t11, $[27] = t12, $[28] = t13, $[29] = t14, $[30] = t15, $[31] = t4, $[32] = t6, $[33] = t7, $[34] = t8, $[35] = t9, $[36] = tone, $[37] = t16) : t16 = $[37];
2472
+ $[17] !== as || $[18] !== checkered || $[19] !== focusRing || $[20] !== muted || $[21] !== ref || $[22] !== restProps || $[23] !== rootTheme.scheme || $[24] !== selected || $[25] !== t10 || $[26] !== t11 || $[27] !== t12 || $[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== t4 || $[32] !== t6 || $[33] !== t7 || $[34] !== t8 || $[35] !== t9 || $[36] !== tone ? (t16 = /* @__PURE__ */ jsx(StyledCard, { "data-as": t4, "data-scheme": t5, "data-ui": "Card", "data-tone": tone, ...restProps, $border: t6, $borderTop: t7, $borderRight: t8, $borderBottom: t9, $borderLeft: t10, $checkered: checkered, $focusRing: focusRing, $muted: muted, $radius: t11, $shadow: t12, $tone: tone, "data-checkered": t13, "data-pressed": t14, "data-selected": t15, forwardedAs: as, ref, selected }), $[17] = as, $[18] = checkered, $[19] = focusRing, $[20] = muted, $[21] = ref, $[22] = restProps, $[23] = rootTheme.scheme, $[24] = selected, $[25] = t10, $[26] = t11, $[27] = t12, $[28] = t13, $[29] = t14, $[30] = t15, $[31] = t4, $[32] = t6, $[33] = t7, $[34] = t8, $[35] = t9, $[36] = tone, $[37] = t16) : t16 = $[37];
2475
2473
  let t17;
2476
2474
  return $[38] !== scheme || $[39] !== t16 || $[40] !== tone ? (t17 = /* @__PURE__ */ jsx(ThemeColorProvider, { scheme, tone, children: t16 }), $[38] = scheme, $[39] = t16, $[40] = tone, $[41] = t17) : t17 = $[41], t17;
2477
2475
  });
@@ -2614,8 +2612,8 @@ function inputElementStyles(props) {
2614
2612
  }
2615
2613
  `;
2616
2614
  }
2617
- const Root$r = /* @__PURE__ */ styled.div.withConfig({
2618
- displayName: "Root",
2615
+ const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
2616
+ displayName: "StyledCheckbox",
2619
2617
  componentId: "sc-1l5mt2l-0"
2620
2618
  })(checkboxBaseStyles), Input$5 = /* @__PURE__ */ styled.input.withConfig({
2621
2619
  displayName: "Input",
@@ -2649,7 +2647,7 @@ const Root$r = /* @__PURE__ */ styled.div.withConfig({
2649
2647
  /* @__PURE__ */ jsx(RemoveIcon, {})
2650
2648
  ] }), $[20] = t7) : t7 = $[20];
2651
2649
  let t8;
2652
- return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(Root$r, { className, "data-ui": "Checkbox", style, children: [
2650
+ return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(StyledCheckbox, { className, "data-ui": "Checkbox", style, children: [
2653
2651
  t6,
2654
2652
  t7
2655
2653
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8) : t8 = $[24], t8;
@@ -2803,8 +2801,8 @@ function codeBaseStyle() {
2803
2801
  }
2804
2802
  `;
2805
2803
  }
2806
- const Root$q = /* @__PURE__ */ styled.pre.withConfig({
2807
- displayName: "Root",
2804
+ const StyledCode = /* @__PURE__ */ styled.pre.withConfig({
2805
+ displayName: "StyledCode",
2808
2806
  componentId: "sc-4dymyn-0"
2809
2807
  })(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {
2810
2808
  const $ = c(23);
@@ -2825,7 +2823,7 @@ const Root$q = /* @__PURE__ */ styled.pre.withConfig({
2825
2823
  let t4;
2826
2824
  $[12] !== children || $[13] !== language || $[14] !== registered ? (t4 = language && registered && /* @__PURE__ */ jsx(Refractor, { inline: !0, language, value: String(children) }), $[12] = children, $[13] = language, $[14] = registered, $[15] = t4) : t4 = $[15];
2827
2825
  let t5;
2828
- return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxs(Root$q, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2826
+ return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxs(StyledCode, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2829
2827
  t3,
2830
2828
  t4
2831
2829
  ] }), $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = weight, $[22] = t5) : t5 = $[22], t5;
@@ -2847,8 +2845,8 @@ function responsiveContainerWidthStyle(props) {
2847
2845
  maxWidth: val === "auto" ? "none" : rem(container[val])
2848
2846
  }));
2849
2847
  }
2850
- const Root$p = /* @__PURE__ */ styled(Box).withConfig({
2851
- displayName: "Root",
2848
+ const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
2849
+ displayName: "StyledContainer",
2852
2850
  componentId: "sc-wyroop-0"
2853
2851
  })(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {
2854
2852
  const $ = c(9);
@@ -2860,11 +2858,11 @@ const Root$p = /* @__PURE__ */ styled(Box).withConfig({
2860
2858
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = t0) : (as = $[1], restProps = $[2], t0 = $[3]);
2861
2859
  const t1 = useArrayProp(t0 === void 0 ? 2 : t0);
2862
2860
  let t2;
2863
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$p, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
2861
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledContainer, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
2864
2862
  });
2865
2863
  Container.displayName = "ForwardRef(Container)";
2866
- const Root$o = /* @__PURE__ */ styled(Box).withConfig({
2867
- displayName: "Root",
2864
+ const StyledGrid = /* @__PURE__ */ styled(Box).withConfig({
2865
+ displayName: "StyledGrid",
2868
2866
  componentId: "sc-v8t8oz-0"
2869
2867
  })(responsiveGridStyle), Grid = forwardRef(function(props, ref) {
2870
2868
  const $ = c(26);
@@ -2884,7 +2882,7 @@ const Root$o = /* @__PURE__ */ styled(Box).withConfig({
2884
2882
  } = 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]);
2885
2883
  const t0 = typeof as == "string" ? as : void 0, t1 = useArrayProp(autoRows), t2 = useArrayProp(autoCols), t3 = useArrayProp(autoFlow), t4 = useArrayProp(columns), t5 = useArrayProp(gap), t6 = useArrayProp(gapX), t7 = useArrayProp(gapY), t8 = useArrayProp(rows);
2886
2884
  let t9;
2887
- return $[12] !== as || $[13] !== children || $[14] !== ref || $[15] !== restProps || $[16] !== t0 || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsx(Root$o, { "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 }), $[12] = as, $[13] = children, $[14] = ref, $[15] = restProps, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2885
+ return $[12] !== as || $[13] !== children || $[14] !== ref || $[15] !== restProps || $[16] !== t0 || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== 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 }), $[12] = as, $[13] = children, $[14] = ref, $[15] = restProps, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2888
2886
  });
2889
2887
  Grid.displayName = "ForwardRef(Grid)";
2890
2888
  function headingBaseStyle(props) {
@@ -2946,13 +2944,10 @@ function headingBaseStyle(props) {
2946
2944
  }
2947
2945
  `;
2948
2946
  }
2949
- const Root$n = /* @__PURE__ */ styled.div.withConfig({
2950
- displayName: "Root",
2947
+ const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
2948
+ displayName: "StyledHeading",
2951
2949
  componentId: "sc-137lwim-0"
2952
- })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styled.span.withConfig({
2953
- displayName: "SpanWithTextOverflow",
2954
- componentId: "sc-137lwim-1"
2955
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Heading = forwardRef(function(props, ref) {
2950
+ })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), Heading = forwardRef(function(props, ref) {
2956
2951
  const $ = c(22);
2957
2952
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
2958
2953
  $[0] !== props ? ({
@@ -2975,7 +2970,7 @@ const Root$n = /* @__PURE__ */ styled.div.withConfig({
2975
2970
  let t5;
2976
2971
  $[11] !== children ? (t5 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
2977
2972
  let t6;
2978
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$n, { "data-ui": "Heading", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
2973
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledHeading, { "data-ui": "Heading", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
2979
2974
  });
2980
2975
  Heading.displayName = "ForwardRef(Heading)";
2981
2976
  function inlineBaseStyle() {
@@ -3005,8 +3000,8 @@ function inlineSpaceStyle(props) {
3005
3000
  };
3006
3001
  });
3007
3002
  }
3008
- const Root$m = /* @__PURE__ */ styled(Box).withConfig({
3009
- displayName: "Root",
3003
+ const StyledInline = /* @__PURE__ */ styled(Box).withConfig({
3004
+ displayName: "StyledInline",
3010
3005
  componentId: "sc-1pkiy6j-0"
3011
3006
  })(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {
3012
3007
  const $ = c(12);
@@ -3021,7 +3016,7 @@ const Root$m = /* @__PURE__ */ styled(Box).withConfig({
3021
3016
  $[5] !== childrenProp ? (t1 = Children.map(childrenProp, _temp$6), $[5] = childrenProp, $[6] = t1) : t1 = $[6], t0 = t1;
3022
3017
  const children = t0, t2 = useArrayProp(space);
3023
3018
  let t3;
3024
- return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$m, { "data-ui": "Inline", ...restProps, $space: t2, forwardedAs: as, ref, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3) : t3 = $[11], t3;
3019
+ return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledInline, { "data-ui": "Inline", ...restProps, $space: t2, forwardedAs: as, ref, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3) : t3 = $[11], t3;
3025
3020
  });
3026
3021
  Inline.displayName = "ForwardRef(Inline)";
3027
3022
  function _temp$6(child) {
@@ -3044,8 +3039,8 @@ function kbdStyle() {
3044
3039
  }
3045
3040
  `;
3046
3041
  }
3047
- const Root$l = /* @__PURE__ */ styled.kbd.withConfig({
3048
- displayName: "Root",
3042
+ const StyledKBD = /* @__PURE__ */ styled.kbd.withConfig({
3043
+ displayName: "StyledKBD",
3049
3044
  componentId: "sc-1w7yd8w-0"
3050
3045
  })(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {
3051
3046
  const $ = c(17);
@@ -3063,7 +3058,7 @@ const Root$l = /* @__PURE__ */ styled.kbd.withConfig({
3063
3058
  let t5;
3064
3059
  $[9] !== padding || $[10] !== t4 ? (t5 = /* @__PURE__ */ jsx(Box, { as: "span", padding, children: t4 }), $[9] = padding, $[10] = t4, $[11] = t5) : t5 = $[11];
3065
3060
  let t6;
3066
- return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$l, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
3061
+ return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledKBD, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
3067
3062
  });
3068
3063
  KBD.displayName = "ForwardRef(KBD)";
3069
3064
  const origin = {
@@ -3133,8 +3128,8 @@ function getRoundedCommands(points) {
3133
3128
  function compileCommands(cmds) {
3134
3129
  return cmds.map((n, idx) => n.type === "point" ? `${idx === 0 ? "M" : "L"} ${n.x} ${n.y}` : n.type === "curve" ? `C ${n.startControl.x} ${n.startControl.y} ${n.endControl.x} ${n.endControl.y} ${n.curveEnd.x} ${n.curveEnd.y}` : "").join(" ");
3135
3130
  }
3136
- const Root$k = /* @__PURE__ */ styled.div.withConfig({
3137
- displayName: "Root",
3131
+ const StyledArrow = /* @__PURE__ */ styled.div.withConfig({
3132
+ displayName: "StyledArrow",
3138
3133
  componentId: "sc-12vzy6c-0"
3139
3134
  })(({
3140
3135
  $w: w
@@ -3234,7 +3229,7 @@ const Root$k = /* @__PURE__ */ styled.div.withConfig({
3234
3229
  t5
3235
3230
  ] }), $[13] = t1, $[14] = t2, $[15] = t4, $[16] = t5, $[17] = w, $[18] = t6) : t6 = $[18];
3236
3231
  let t7;
3237
- return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsx(Root$k, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3232
+ return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsx(StyledArrow, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3238
3233
  });
3239
3234
  Arrow.displayName = "ForwardRef(Arrow)";
3240
3235
  const BoundaryElementContext = createGlobalScopedContext("@sanity/ui/context/boundaryElement", null);
@@ -3495,8 +3490,8 @@ function _temp$5(v) {
3495
3490
  return v + 1;
3496
3491
  }
3497
3492
  LayerProvider.displayName = "LayerProvider";
3498
- const Root$j = /* @__PURE__ */ styled.div.withConfig({
3499
- displayName: "Root",
3493
+ const StyledLayer = /* @__PURE__ */ styled.div.withConfig({
3494
+ displayName: "StyledLayer",
3500
3495
  componentId: "sc-16kojrv-0"
3501
3496
  })({
3502
3497
  position: "relative"
@@ -3535,7 +3530,7 @@ const Root$j = /* @__PURE__ */ styled.div.withConfig({
3535
3530
  zIndex
3536
3531
  }, $[14] = style, $[15] = zIndex, $[16] = t5) : t5 = $[16];
3537
3532
  let t6;
3538
- return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$j, { ...restProps, "data-ui": "Layer", onFocus: handleFocus, ref, style: t5, children }), $[17] = children, $[18] = handleFocus, $[19] = restProps, $[20] = t5, $[21] = t6) : t6 = $[21], t6;
3533
+ return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledLayer, { ...restProps, "data-ui": "Layer", onFocus: handleFocus, ref, style: t5, children }), $[17] = children, $[18] = handleFocus, $[19] = restProps, $[20] = t5, $[21] = t6) : t6 = $[21], t6;
3539
3534
  }), Layer = forwardRef(function(props, ref) {
3540
3535
  const $ = c(11);
3541
3536
  let children, restProps, t0;
@@ -3618,8 +3613,8 @@ function _isEqual(objA, objB) {
3618
3613
  const keysA = Object.keys(objA), keysB = Object.keys(objB);
3619
3614
  return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);
3620
3615
  }
3621
- const Root$i = styled.div.withConfig({
3622
- displayName: "Root",
3616
+ const StyledSrOnly = styled.div.withConfig({
3617
+ displayName: "StyledSrOnly",
3623
3618
  componentId: "sc-mubr0c-0"
3624
3619
  })`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = forwardRef(function(props, ref) {
3625
3620
  const $ = c(4), {
@@ -3627,11 +3622,11 @@ const Root$i = styled.div.withConfig({
3627
3622
  children
3628
3623
  } = props;
3629
3624
  let t0;
3630
- return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(Root$i, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3625
+ return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(StyledSrOnly, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3631
3626
  });
3632
3627
  SrOnly.displayName = "ForwardRef(SrOnly)";
3633
- const Root$h = styled.div.withConfig({
3634
- displayName: "Root",
3628
+ const StyledVirtualList = styled.div.withConfig({
3629
+ displayName: "StyledVirtualList",
3635
3630
  componentId: "sc-dlqsj4-0"
3636
3631
  })`position:relative;`, ItemWrapper = styled.div.withConfig({
3637
3632
  displayName: "ItemWrapper",
@@ -3748,7 +3743,7 @@ const Root$h = styled.div.withConfig({
3748
3743
  let t14;
3749
3744
  $[49] !== children || $[50] !== wrapperStyle ? (t14 = /* @__PURE__ */ jsx("div", { ref: wrapperRef, style: wrapperStyle, children }), $[49] = children, $[50] = wrapperStyle, $[51] = t14) : t14 = $[51];
3750
3745
  let t15;
3751
- return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsx(Root$h, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3746
+ return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsx(StyledVirtualList, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3752
3747
  });
3753
3748
  VirtualList.displayName = "ForwardRef(VirtualList)";
3754
3749
  const DEFAULT_POPOVER_DISTANCE = 4, DEFAULT_POPOVER_PADDING = 4, DEFAULT_POPOVER_ARROW_WIDTH = 19, DEFAULT_POPOVER_ARROW_HEIGHT = 8, DEFAULT_POPOVER_ARROW_RADIUS = 2, DEFAULT_POPOVER_MARGINS = [0, 0, 0, 0], DEFAULT_FALLBACK_PLACEMENTS$1 = {
@@ -4148,8 +4143,8 @@ function inputElementStyle(props) {
4148
4143
  }
4149
4144
  `;
4150
4145
  }
4151
- const Root$g = /* @__PURE__ */ styled.div.withConfig({
4152
- displayName: "Root",
4146
+ const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
4147
+ displayName: "StyledRadio",
4153
4148
  componentId: "sc-ccrwkf-0"
4154
4149
  })(radioBaseStyle), Input$4 = /* @__PURE__ */ styled.input.withConfig({
4155
4150
  displayName: "Input",
@@ -4174,7 +4169,7 @@ const Root$g = /* @__PURE__ */ styled.div.withConfig({
4174
4169
  let t5;
4175
4170
  $[14] === Symbol.for("react.memo_cache_sentinel") ? (t5 = /* @__PURE__ */ jsx("span", {}), $[14] = t5) : t5 = $[14];
4176
4171
  let t6;
4177
- return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(Root$g, { className, "data-ui": "Radio", style, children: [
4172
+ return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(StyledRadio, { className, "data-ui": "Radio", style, children: [
4178
4173
  t4,
4179
4174
  t5
4180
4175
  ] }), $[15] = className, $[16] = style, $[17] = t4, $[18] = t6) : t6 = $[18], t6;
@@ -4322,8 +4317,8 @@ const selectStyle = {
4322
4317
  root: rootStyle,
4323
4318
  input: inputStyle,
4324
4319
  iconBox: iconBoxStyle
4325
- }, Root$f = /* @__PURE__ */ styled.div.withConfig({
4326
- displayName: "Root",
4320
+ }, StyledSelect = /* @__PURE__ */ styled.div.withConfig({
4321
+ displayName: "StyledSelect",
4327
4322
  componentId: "sc-5mxno7-0"
4328
4323
  })(selectStyle.root), Input$3 = /* @__PURE__ */ styled.select.withConfig({
4329
4324
  displayName: "Input",
@@ -4358,7 +4353,7 @@ const selectStyle = {
4358
4353
  let t14;
4359
4354
  $[23] !== padding || $[24] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, { padding, children: t13 }), $[23] = padding, $[24] = t13, $[25] = t14) : t14 = $[25];
4360
4355
  let t15;
4361
- return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxs(Root$f, { "data-ui": "Select", children: [
4356
+ return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxs(StyledSelect, { "data-ui": "Select", children: [
4362
4357
  t11,
4363
4358
  t14
4364
4359
  ] }), $[26] = t11, $[27] = t14, $[28] = t15) : t15 = $[28], t15;
@@ -4386,8 +4381,8 @@ function responsiveStackSpaceStyle(props) {
4386
4381
  gridGap: rem(space[spaceIndex])
4387
4382
  }));
4388
4383
  }
4389
- const Root$e = /* @__PURE__ */ styled(Box).withConfig({
4390
- displayName: "Root",
4384
+ const StyledStack = /* @__PURE__ */ styled(Box).withConfig({
4385
+ displayName: "StyledStack",
4391
4386
  componentId: "sc-8dpfq2-0"
4392
4387
  })(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {
4393
4388
  const $ = c(10);
@@ -4399,7 +4394,7 @@ const Root$e = /* @__PURE__ */ styled(Box).withConfig({
4399
4394
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = space) : (as = $[1], restProps = $[2], space = $[3]);
4400
4395
  const t0 = typeof as == "string" ? as : void 0, t1 = useArrayProp(space);
4401
4396
  let t2;
4402
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$e, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2) : t2 = $[9], t2;
4397
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledStack, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2) : t2 = $[9], t2;
4403
4398
  });
4404
4399
  Stack.displayName = "ForwardRef(Stack)";
4405
4400
  function switchBaseStyles() {
@@ -4555,8 +4550,8 @@ function switchThumbStyles(props) {
4555
4550
  `}
4556
4551
  `;
4557
4552
  }
4558
- const Root$d = /* @__PURE__ */ styled.span.withConfig({
4559
- displayName: "Root",
4553
+ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
4554
+ displayName: "StyledSwitch",
4560
4555
  componentId: "sc-dw1foe-0"
4561
4556
  })(switchBaseStyles), Input$2 = /* @__PURE__ */ styled.input.withConfig({
4562
4557
  displayName: "Input",
@@ -4600,14 +4595,14 @@ const Root$d = /* @__PURE__ */ styled.span.withConfig({
4600
4595
  /* @__PURE__ */ jsx(Thumb, { $checked: checked, $indeterminate: indeterminate })
4601
4596
  ] }), $[18] = checked, $[19] = indeterminate, $[20] = t8) : t8 = $[20];
4602
4597
  let t9;
4603
- return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Root$d, { className, "data-ui": "Switch", style, children: [
4598
+ return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(StyledSwitch, { className, "data-ui": "Switch", style, children: [
4604
4599
  t6,
4605
4600
  t8
4606
4601
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
4607
4602
  });
4608
4603
  Switch.displayName = "ForwardRef(Switch)";
4609
- const Root$c = /* @__PURE__ */ styled.span.withConfig({
4610
- displayName: "Root",
4604
+ const StyledTextArea = /* @__PURE__ */ styled.span.withConfig({
4605
+ displayName: "StyledTextArea",
4611
4606
  componentId: "sc-1d6h1o8-0"
4612
4607
  })(textInputRootStyle), InputRoot$1 = styled.span.withConfig({
4613
4608
  displayName: "InputRoot",
@@ -4642,7 +4637,7 @@ const Root$c = /* @__PURE__ */ styled.span.withConfig({
4642
4637
  let t15;
4643
4638
  $[20] !== __unstable_disableFocusRing || $[21] !== rootTheme.scheme || $[22] !== rootTheme.tone || $[23] !== t13 || $[24] !== t14 ? (t15 = /* @__PURE__ */ jsx(Presentation$1, { $radius: t13, $unstableDisableFocusRing: __unstable_disableFocusRing, $scheme: rootTheme.scheme, $tone: rootTheme.tone, "data-border": t14, "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone }), $[20] = __unstable_disableFocusRing, $[21] = rootTheme.scheme, $[22] = rootTheme.tone, $[23] = t13, $[24] = t14, $[25] = t15) : t15 = $[25];
4644
4639
  let t16;
4645
- return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsx(Root$c, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxs(InputRoot$1, { children: [
4640
+ return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsx(StyledTextArea, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxs(InputRoot$1, { children: [
4646
4641
  t12,
4647
4642
  t15
4648
4643
  ] }) }), $[26] = t12, $[27] = t15, $[28] = t16) : t16 = $[28], t16;
@@ -4650,10 +4645,10 @@ const Root$c = /* @__PURE__ */ styled.span.withConfig({
4650
4645
  TextArea.displayName = "ForwardRef(TextArea)";
4651
4646
  const CLEAR_BUTTON_BOX_STYLE = {
4652
4647
  zIndex: 2
4653
- }, Root$b = /* @__PURE__ */ styled(Card).attrs({
4648
+ }, StyledTextInput = /* @__PURE__ */ styled(Card).attrs({
4654
4649
  forwardedAs: "span"
4655
4650
  }).withConfig({
4656
- displayName: "Root",
4651
+ displayName: "StyledTextInput",
4657
4652
  componentId: "sc-h62wco-0"
4658
4653
  })(textInputRootStyle), InputRoot = styled.span.withConfig({
4659
4654
  displayName: "InputRoot",
@@ -4767,7 +4762,7 @@ const CLEAR_BUTTON_BOX_STYLE = {
4767
4762
  clearButtonNode
4768
4763
  ] }), $[75] = clearButtonNode, $[76] = presentationNode, $[77] = t26, $[78] = t27) : t27 = $[78];
4769
4764
  let t28;
4770
- return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxs(Root$b, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4765
+ return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxs(StyledTextInput, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4771
4766
  prefixNode,
4772
4767
  t27,
4773
4768
  suffixNode
@@ -4890,8 +4885,8 @@ function TooltipDelayGroupProvider(props) {
4890
4885
  return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;
4891
4886
  }
4892
4887
  TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
4893
- const Root$a = styled(Layer).withConfig({
4894
- displayName: "Root",
4888
+ const StyledTooltip = styled(Layer).withConfig({
4889
+ displayName: "StyledTooltip",
4895
4890
  componentId: "sc-13f2zvh-0"
4896
4891
  })`pointer-events:none;`, Tooltip = forwardRef(function(props, forwardedRef) {
4897
4892
  const boundaryElementContext = useBoundaryElement(), {
@@ -5009,7 +5004,7 @@ const Root$a = styled(Layer).withConfig({
5009
5004
  return setReferenceElement(childRef.current), () => setReferenceElement(null);
5010
5005
  }, [child]), !child) return /* @__PURE__ */ jsx(Fragment, {});
5011
5006
  if (disabled) return child;
5012
- const tooltip = /* @__PURE__ */ jsx(Root$a, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
5007
+ const tooltip = /* @__PURE__ */ jsx(StyledTooltip, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
5013
5008
  ...floatingStyles,
5014
5009
  maxWidth: tooltipMaxWidth > 0 ? `${tooltipMaxWidth}px` : void 0
5015
5010
  }, zOffset, children: /* @__PURE__ */ jsx(TooltipCard, { ...restProps, animate, arrow: arrowProp, arrowRef: setArrow, arrowX, arrowY, originX, originY, padding, placement, radius, ref: setFloating, scheme, shadow, children: content }) }), children = showTooltip && (portalProp ? /* @__PURE__ */ jsx(Portal, { __unstable_name: typeof portalProp == "string" ? portalProp : void 0, children: tooltip }) : tooltip);
@@ -5040,8 +5035,8 @@ function useCloseOnMouseLeave(t0) {
5040
5035
  return window.addEventListener("mousemove", handleMouseMove), () => window.removeEventListener("mousemove", handleMouseMove);
5041
5036
  }, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), useEffect(t2, t3);
5042
5037
  }
5043
- const Root$9 = styled.div.withConfig({
5044
- displayName: "Root",
5038
+ const StyledAutocomplete = styled.div.withConfig({
5039
+ displayName: "StyledAutocomplete",
5045
5040
  componentId: "sc-1igauft-0"
5046
5041
  })`line-height:0;`, ListBox = styled(Box).withConfig({
5047
5042
  displayName: "ListBox",
@@ -5309,14 +5304,14 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = ["Control", "Shift", "Alt", "Enter", "H
5309
5304
  onMouseEnter: handlePopoverMouseEnter,
5310
5305
  onMouseLeave: handlePopoverMouseLeave
5311
5306
  }, resultsPopoverElementRef) : filteredOptionsLen === 0 ? null : /* @__PURE__ */ jsx(Popover, { arrow: !1, constrainSize: !0, content, fallbackPlacements: AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS, matchReferenceWidth: !0, onMouseEnter: handlePopoverMouseEnter, onMouseLeave: handlePopoverMouseLeave, open: expanded, overflow: "auto", placement: AUTOCOMPLETE_POPOVER_PLACEMENT, portal: !0, radius, ref: resultsPopoverElementRef, referenceElement: inputElementRef.current, ...popover }), [content, expanded, filteredOptionsLen, handlePopoverMouseEnter, handlePopoverMouseLeave, popover, radius, renderPopover]);
5312
- return /* @__PURE__ */ jsxs(Root$9, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5307
+ return /* @__PURE__ */ jsxs(StyledAutocomplete, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5313
5308
  input,
5314
5309
  results
5315
5310
  ] });
5316
5311
  });
5317
5312
  InnerAutocomplete.displayName = "ForwardRef(Autocomplete)";
5318
- const Autocomplete = InnerAutocomplete, Root$8 = styled.ol.withConfig({
5319
- displayName: "Root",
5313
+ const Autocomplete = InnerAutocomplete, StyledBreadcrumbs = styled.ol.withConfig({
5314
+ displayName: "StyledBreadcrumbs",
5320
5315
  componentId: "sc-1es8h8q-0"
5321
5316
  })`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styled(Button).withConfig({
5322
5317
  displayName: "ExpandButton",
@@ -5338,7 +5333,7 @@ const Autocomplete = InnerAutocomplete, Root$8 = styled.ol.withConfig({
5338
5333
  }
5339
5334
  return rawItems;
5340
5335
  }, [collapse, expand, maxLength, open, rawItems, space]);
5341
- return /* @__PURE__ */ jsx(Root$8, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
5336
+ return /* @__PURE__ */ jsx(StyledBreadcrumbs, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
5342
5337
  itemIndex > 0 && /* @__PURE__ */ jsx(Box, { "aria-hidden": !0, as: "li", paddingX: space, children: separator || /* @__PURE__ */ jsx(Text, { muted: !0, children: "/" }) }),
5343
5338
  /* @__PURE__ */ jsx(Box, { as: "li", children: item })
5344
5339
  ] }, itemIndex)) });
@@ -5411,8 +5406,8 @@ function useDialog() {
5411
5406
  function isTargetWithinScope(boundaryElement, portalElement, target) {
5412
5407
  return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
5413
5408
  }
5414
- const Root$7 = /* @__PURE__ */ styled(Layer).withConfig({
5415
- displayName: "Root",
5409
+ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
5410
+ displayName: "StyledDialog",
5416
5411
  componentId: "sc-4n4xb3-0"
5417
5412
  })(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container).withConfig({
5418
5413
  displayName: "DialogContainer",
@@ -5561,7 +5556,7 @@ const Dialog = forwardRef(function(props, ref) {
5561
5556
  let t11;
5562
5557
  $[43] === Symbol.for("react.memo_cache_sentinel") ? (t11 = /* @__PURE__ */ jsx("div", { ref: postDivRef, tabIndex: 0 }), $[43] = t11) : t11 = $[43];
5563
5558
  let t12;
5564
- $[44] !== animate || $[45] !== handleFocus || $[46] !== handleRootClick || $[47] !== id || $[48] !== labelId || $[49] !== onActivate || $[50] !== padding || $[51] !== position || $[52] !== ref || $[53] !== restProps || $[54] !== t10 || $[55] !== zOffset ? (t12 = /* @__PURE__ */ jsxs(Root$7, { ...restProps, $animate: animate, $padding: padding, $position: position, "aria-labelledby": labelId, "aria-modal": !0, "data-ui": "Dialog", id, onActivate, onClick: handleRootClick, onFocus: handleFocus, ref, role: "dialog", zOffset, children: [
5559
+ $[44] !== animate || $[45] !== handleFocus || $[46] !== handleRootClick || $[47] !== id || $[48] !== labelId || $[49] !== onActivate || $[50] !== padding || $[51] !== position || $[52] !== ref || $[53] !== restProps || $[54] !== t10 || $[55] !== zOffset ? (t12 = /* @__PURE__ */ jsxs(StyledDialog, { ...restProps, $animate: animate, $padding: padding, $position: position, "aria-labelledby": labelId, "aria-modal": !0, "data-ui": "Dialog", id, onActivate, onClick: handleRootClick, onFocus: handleFocus, ref, role: "dialog", zOffset, children: [
5565
5560
  t9,
5566
5561
  t10,
5567
5562
  t11
@@ -5587,8 +5582,8 @@ function DialogProvider(props) {
5587
5582
  return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;
5588
5583
  }
5589
5584
  DialogProvider.displayName = "DialogProvider";
5590
- const Root$6 = styled.kbd.withConfig({
5591
- displayName: "Root",
5585
+ const StyledHotkeys = styled.kbd.withConfig({
5586
+ displayName: "StyledHotkeys",
5592
5587
  componentId: "sc-b37mge-0"
5593
5588
  })`font:inherit;padding:1px;&:not([hidden]){display:block;}`, Key = styled(KBD).withConfig({
5594
5589
  displayName: "Key",
@@ -5618,7 +5613,7 @@ const Root$6 = styled.kbd.withConfig({
5618
5613
  let t2;
5619
5614
  $[17] !== space || $[18] !== t1 ? (t2 = /* @__PURE__ */ jsx(Inline, { as: "span", space, children: t1 }), $[17] = space, $[18] = t1, $[19] = t2) : t2 = $[19];
5620
5615
  let t3;
5621
- return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$6, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5616
+ return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledHotkeys, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5622
5617
  });
5623
5618
  Hotkeys.displayName = "ForwardRef(Hotkeys)";
5624
5619
  const MenuContext = createGlobalScopedContext("@sanity/ui/context/menu", null);
@@ -5759,8 +5754,8 @@ function useMenuController(props) {
5759
5754
  mount
5760
5755
  };
5761
5756
  }
5762
- const Root$5 = styled(Box).withConfig({
5763
- displayName: "Root",
5757
+ const StyledMenu = styled(Box).withConfig({
5758
+ displayName: "StyledMenu",
5764
5759
  componentId: "sc-xt0tnv-0"
5765
5760
  })`outline:none;overflow:auto;`, Menu = forwardRef(function(props, forwardedRef) {
5766
5761
  const $ = c(50);
@@ -5840,7 +5835,7 @@ const Root$5 = styled(Box).withConfig({
5840
5835
  let t11;
5841
5836
  $[38] !== children || $[39] !== space ? (t11 = /* @__PURE__ */ jsx(Stack, { space, children }), $[38] = children, $[39] = space, $[40] = t11) : t11 = $[40];
5842
5837
  let t12;
5843
- $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsx(Root$5, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t11 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t11, $[46] = t12) : t12 = $[46];
5838
+ $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsx(StyledMenu, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t11 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t11, $[46] = t12) : t12 = $[46];
5844
5839
  let t13;
5845
5840
  return $[47] !== t12 || $[48] !== value ? (t13 = /* @__PURE__ */ jsx(MenuContext.Provider, { value, children: t12 }), $[47] = t12, $[48] = value, $[49] = t13) : t13 = $[49], t13;
5846
5841
  });
@@ -6338,8 +6333,8 @@ const keyframe = keyframes`
6338
6333
  @media screen and (prefers-reduced-motion: reduce) {
6339
6334
  background-color: var(--card-skeleton-color-from);
6340
6335
  }
6341
- `, Root$4 = /* @__PURE__ */ styled(Box).withConfig({
6342
- displayName: "Root",
6336
+ `, StyledSkeleton$1 = /* @__PURE__ */ styled(Box).withConfig({
6337
+ displayName: "StyledSkeleton",
6343
6338
  componentId: "sc-ebtpni-0"
6344
6339
  })(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function(props, ref) {
6345
6340
  const $ = c(14);
@@ -6364,11 +6359,11 @@ const keyframe = keyframes`
6364
6359
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), useEffect(t1, t2);
6365
6360
  const t3 = useArrayProp(radius);
6366
6361
  let t4;
6367
- return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsx(Root$4, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
6362
+ return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsx(StyledSkeleton$1, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
6368
6363
  });
6369
6364
  Skeleton.displayName = "ForwardRef(Skeleton)";
6370
- const Root$3 = /* @__PURE__ */ styled(Skeleton).withConfig({
6371
- displayName: "Root",
6365
+ const StyledSkeleton = /* @__PURE__ */ styled(Skeleton).withConfig({
6366
+ displayName: "StyledSkeleton",
6372
6367
  componentId: "sc-2p7a1v-0"
6373
6368
  })((props) => {
6374
6369
  const {
@@ -6393,7 +6388,7 @@ const Root$3 = /* @__PURE__ */ styled(Skeleton).withConfig({
6393
6388
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6394
6389
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6395
6390
  let t1;
6396
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6391
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6397
6392
  });
6398
6393
  TextSkeleton.displayName = "ForwardRef(TextSkeleton)";
6399
6394
  const LabelSkeleton = forwardRef(function(props, ref) {
@@ -6405,7 +6400,7 @@ const LabelSkeleton = forwardRef(function(props, ref) {
6405
6400
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6406
6401
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6407
6402
  let t1;
6408
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6403
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6409
6404
  });
6410
6405
  LabelSkeleton.displayName = "ForwardRef(LabelSkeleton)";
6411
6406
  const HeadingSkeleton = forwardRef(function(props, ref) {
@@ -6417,7 +6412,7 @@ const HeadingSkeleton = forwardRef(function(props, ref) {
6417
6412
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6418
6413
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6419
6414
  let t1;
6420
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6415
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6421
6416
  });
6422
6417
  HeadingSkeleton.displayName = "ForwardRef(HeadingSkeleton)";
6423
6418
  const CodeSkeleton = forwardRef(function(props, ref) {
@@ -6429,7 +6424,7 @@ const CodeSkeleton = forwardRef(function(props, ref) {
6429
6424
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6430
6425
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6431
6426
  let t1;
6432
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6427
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6433
6428
  });
6434
6429
  CodeSkeleton.displayName = "ForwardRef(CodeSkeleton)";
6435
6430
  const CustomButton = styled(Button).withConfig({
@@ -6576,8 +6571,8 @@ const STATUS_CARD_TONE = {
6576
6571
  warning: "alert",
6577
6572
  success: "alert",
6578
6573
  info: "alert"
6579
- }, Root$2 = /* @__PURE__ */ styled(Card).withConfig({
6580
- displayName: "Root",
6574
+ }, StyledToast = /* @__PURE__ */ styled(Card).withConfig({
6575
+ displayName: "StyledToast",
6581
6576
  componentId: "sc-1icz8ea-0"
6582
6577
  })(rootStyles);
6583
6578
  function Toast(props) {
@@ -6613,7 +6608,7 @@ function Toast(props) {
6613
6608
  t4
6614
6609
  ] }), $[20] = t3, $[21] = t4, $[22] = t5) : t5 = $[22];
6615
6610
  let t6;
6616
- return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$2, { "data-ui": "Toast", role, ...restProps, marginTop: 3, radius, shadow: 2, tone: cardTone, $duration: duration, children: t5 }), $[23] = cardTone, $[24] = duration, $[25] = radius, $[26] = restProps, $[27] = role, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
6611
+ return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledToast, { "data-ui": "Toast", role, ...restProps, marginTop: 3, radius, shadow: 2, tone: cardTone, $duration: duration, children: t5 }), $[23] = cardTone, $[24] = duration, $[25] = radius, $[26] = restProps, $[27] = role, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
6617
6612
  }
6618
6613
  Toast.displayName = "Toast";
6619
6614
  function useMounted() {
@@ -6631,8 +6626,8 @@ let toastId = 0;
6631
6626
  function generateToastId() {
6632
6627
  return String(toastId++);
6633
6628
  }
6634
- const Root$1 = styled(Layer).withConfig({
6635
- displayName: "Root",
6629
+ const StyledToastProvider = styled(Layer).withConfig({
6630
+ displayName: "StyledToastProvider",
6636
6631
  componentId: "sc-17mn6j-0"
6637
6632
  })`position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;`, ToastContainer = styled.div.withConfig({
6638
6633
  displayName: "ToastContainer",
@@ -6721,7 +6716,7 @@ function ToastProvider(props) {
6721
6716
  toastsRef.current = {};
6722
6717
  }, t14 = [], $[10] = t13, $[11] = t14) : (t13 = $[10], t14 = $[11]), useEffect(t13, t14);
6723
6718
  let t15;
6724
- $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsx(Root$1, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsx(ToastContainer, { children: /* @__PURE__ */ jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsx(AnimatePresence, { initial: !1, children: state.map((t162) => {
6719
+ $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsx(StyledToastProvider, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsx(ToastContainer, { children: /* @__PURE__ */ jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsx(AnimatePresence, { initial: !1, children: state.map((t162) => {
6725
6720
  const {
6726
6721
  dismiss: dismiss_0,
6727
6722
  id: id_0,
@@ -7069,8 +7064,8 @@ const TreeGroup = memo(function(props) {
7069
7064
  const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;
7070
7065
  let t2;
7071
7066
  return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ jsx(Stack, { as: "ul", "data-ui": "TreeGroup", ...restProps, hidden: t1, marginTop: tree.space, role: "group", space: tree.space, children }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.space, $[8] = t2) : t2 = $[8], t2;
7072
- }), Root = memo(styled.li.withConfig({
7073
- displayName: "Root",
7067
+ }), StyledTreeItem = memo(styled.li.withConfig({
7068
+ displayName: "StyledTreeItem",
7074
7069
  componentId: "sc-iiskig-0"
7075
7070
  })(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = /* @__PURE__ */ styled(Box).attrs({
7076
7071
  forwardedAs: "a"
@@ -7129,10 +7124,10 @@ const TreeGroup = memo(function(props) {
7129
7124
  ] }),
7130
7125
  /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { muted, size: fontSize2, textOverflow: "ellipsis", weight, children: text }) })
7131
7126
  ] });
7132
- return href ? /* @__PURE__ */ jsxs(Root, { "data-selected": selected ? "" : void 0, "data-tree-id": id, "data-tree-key": itemKey, "data-ui": "TreeItem", ...restProps, onClick: handleClick, ref: rootRef, role: "none", children: [
7127
+ return href ? /* @__PURE__ */ jsxs(StyledTreeItem, { "data-selected": selected ? "" : void 0, "data-tree-id": id, "data-tree-key": itemKey, "data-ui": "TreeItem", ...restProps, onClick: handleClick, ref: rootRef, role: "none", children: [
7133
7128
  /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, "aria-expanded": expanded, as: linkAs, "data-ui": "TreeItem__box", href, ref: treeitemRef, role: "treeitem", tabIndex, children: content }),
7134
7129
  /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { hidden: !expanded, children }) })
7135
- ] }) : /* @__PURE__ */ jsxs(Root, { "data-selected": selected ? "" : void 0, "data-ui": "TreeItem", "data-tree-id": id, "data-tree-key": itemKey, ...restProps, "aria-expanded": expanded, onClick: handleClick, onKeyDown: handleKeyDown, ref: rootRef, role: "treeitem", tabIndex, children: [
7130
+ ] }) : /* @__PURE__ */ jsxs(StyledTreeItem, { "data-selected": selected ? "" : void 0, "data-ui": "TreeItem", "data-tree-id": id, "data-tree-key": itemKey, ...restProps, "aria-expanded": expanded, onClick: handleClick, onKeyDown: handleKeyDown, ref: rootRef, role: "treeitem", tabIndex, children: [
7136
7131
  /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, as: "div", "data-ui": "TreeItem__box", children: content }),
7137
7132
  /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { expanded, children }) })
7138
7133
  ] });